@univerjs-pro/engine-formula 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
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/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1e0d7d=_0x549e;function _0x549e(_0x143621,_0x4d9d12){_0x143621=_0x143621-0x19e;const _0x2add90=_0x2add();let _0x549e39=_0x2add90[_0x143621];return _0x549e39;}(function(_0xecb023,_0x23656b){const _0x3b2333=_0x549e,_0x744469=_0xecb023();while(!![]){try{const _0x1b0384=-parseInt(_0x3b2333(0x1a8))/0x1+parseInt(_0x3b2333(0x1a7))/0x2+parseInt(_0x3b2333(0x1a9))/0x3*(-parseInt(_0x3b2333(0x1a2))/0x4)+parseInt(_0x3b2333(0x1a6))/0x5*(parseInt(_0x3b2333(0x1a4))/0x6)+-parseInt(_0x3b2333(0x1a5))/0x7+-parseInt(_0x3b2333(0x1a3))/0x8*(parseInt(_0x3b2333(0x1a0))/0x9)+parseInt(_0x3b2333(0x19e))/0xa;if(_0x1b0384===_0x23656b)break;else _0x744469['push'](_0x744469['shift']());}catch(_0x233e48){_0x744469['push'](_0x744469['shift']());}}}(_0x2add,0x570a1));Object['defineProperty'](exports,Symbol[_0x1e0d7d(0x19f)],{'value':_0x1e0d7d(0x1ad)});function _0x2add(){const _0x10949f=['2706235zPQWIk','10655EelAUy','382082fLmOat','445248BMliWx','7182oIYjsj','keys','call','prototype','Module','14989130KaSwDY','toStringTag','81fOXXqo','hasOwnProperty','940wDiBAH','31016fExTMM','270qisMFL'];_0x2add=function(){return _0x10949f;};return _0x2add();}const t=require('@univerjs/engine-formula/facade');Object[_0x1e0d7d(0x1aa)](t)['forEach'](_0x351ec8=>{const _0x1190cf=_0x1e0d7d;_0x351ec8!=='default'&&!Object[_0x1190cf(0x1ac)][_0x1190cf(0x1a1)][_0x1190cf(0x1ab)](exports,_0x351ec8)&&Object['defineProperty'](exports,_0x351ec8,{'enumerable':!0x0,'get':()=>t[_0x351ec8]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4cc054=_0x5ddc;(function(_0x239d53,_0x5dbed2){const _0x171692=_0x5ddc,_0x528463=_0x239d53();while(!![]){try{const _0x4a831b=parseInt(_0x171692(0x272))/0x1+-parseInt(_0x171692(0x24f))/0x2+parseInt(_0x171692(0x21b))/0x3+parseInt(_0x171692(0x20a))/0x4*(parseInt(_0x171692(0x2bf))/0x5)+parseInt(_0x171692(0x2ba))/0x6+-parseInt(_0x171692(0x297))/0x7+-parseInt(_0x171692(0x26b))/0x8*(parseInt(_0x171692(0x256))/0x9);if(_0x4a831b===_0x5dbed2)break;else _0x528463['push'](_0x528463['shift']());}catch(_0x23aea1){_0x528463['push'](_0x528463['shift']());}}}(_0x3a10,0x31da2));function _0x5ddc(_0x5e748e,_0x241e93){_0x5e748e=_0x5e748e-0x1e0;const _0x3a1082=_0x3a10();let _0x5ddc96=_0x3a1082[_0x5e748e];return _0x5ddc96;}var j=Object[_0x4cc054(0x220)],b=(_0x51cc0d,_0x23e4f9,_0x20573d)=>_0x23e4f9 in _0x51cc0d?j(_0x51cc0d,_0x23e4f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20573d}):_0x51cc0d[_0x23e4f9]=_0x20573d,N=(_0x4360bf,_0x3e7235,_0x3dc28f)=>b(_0x4360bf,typeof _0x3e7235!=_0x4cc054(0x239)?_0x3e7235+'':_0x3e7235,_0x3dc28f);Object[_0x4cc054(0x220)](exports,Symbol['toStringTag'],{'value':_0x4cc054(0x292)});const s=require('@univerjs/engine-formula'),M=require('@univerjs-pro/license'),I=require('@univerjs/core');class A extends s[_0x4cc054(0x257)]{constructor(){const _0x47c722=_0x4cc054;super(...arguments),N(this,_0x47c722(0x27d),!0x1),N(this,'_lambdaFunctionParameterSet',new Set()),N(this,_0x47c722(0x224),'_xlpm.'),N(this,_0x47c722(0x28d),_0x47c722(0x278)),N(this,_0x47c722(0x285),'');}[_0x4cc054(0x287)](){const _0xc4d226=_0x4cc054;this[_0xc4d226(0x224)]=_0xc4d226(0x244),this[_0xc4d226(0x28d)]=_0xc4d226(0x278);}['_clearPrefix'](){const _0x519a56=_0x4cc054;this[_0x519a56(0x224)]='',this[_0x519a56(0x28d)]='';}[_0x4cc054(0x28c)](_0x332163,_0x1dca58){const _0x15fa7e=_0x4cc054,_0x3eed4b=this['treeBuilder'](_0x332163,!0x1);if(!_0x3eed4b||_0x3eed4b===s[_0x15fa7e(0x1ea)][_0x15fa7e(0x2d5)]||Array[_0x15fa7e(0x286)](_0x3eed4b))return null;const _0x18e413=[];return this[_0x15fa7e(0x27d)]=!0x1,this[_0x15fa7e(0x2de)](_0x3eed4b,_0x18e413,_0x1dca58),this['_hasNewExcelFunction']?'='+_0x18e413[_0x15fa7e(0x217)](''):null;}[_0x4cc054(0x2de)](_0x5b5a50,_0x47984b,_0x2062a4){const _0xdb4326=_0x4cc054,_0x2b7c3d=_0x5b5a50[_0xdb4326(0x29f)](),_0x1159b4=_0x2b7c3d[_0xdb4326(0x21d)](),_0x2c4c27=_0x1159b4[_0xdb4326(0x2b4)](),_0x51ffc0=this[_0xdb4326(0x22d)](_0x2c4c27),_0x4cd659=_0x2062a4(_0x51ffc0);let _0x44368d=0x0;_0x2b7c3d===s[_0xdb4326(0x208)]?_0x44368d=0x3:_0x2b7c3d===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x44368d=0x4:_0x2b7c3d===s['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x44368d=0x5:s[_0xdb4326(0x2a5)]['has'](_0x51ffc0)?(_0x47984b[_0xdb4326(0x274)](''+this[_0xdb4326(0x28d)]+_0x1159b4),this[_0xdb4326(0x27d)]=!0x0):_0x2c4c27===s['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x47984b[_0xdb4326(0x274)](''+this['_xlfnPrefix']+_0x1159b4),this[_0xdb4326(0x27d)]=!0x0,_0x44368d=0x2):_0x2c4c27===s[_0xdb4326(0x2a0)]?(_0x47984b[_0xdb4326(0x274)](''+this[_0xdb4326(0x28d)]+_0x1159b4),this[_0xdb4326(0x27d)]=!0x0,_0x44368d=0x1):_0x2c4c27===s['matchToken'][_0xdb4326(0x201)]?_0x44368d=0x8:s['SUFFIX_TOKEN_SET']['has'](_0x2c4c27)?_0x44368d=0x7:_0x2c4c27===s[_0xdb4326(0x242)]['MINUS']?(this[_0xdb4326(0x2ac)](_0x5b5a50)&&(_0x44368d=0x9),_0x47984b[_0xdb4326(0x274)](_0x2b7c3d)):(_0x47984b[_0xdb4326(0x274)](_0x2b7c3d),_0x44368d=0xa),_0x4cd659?(_0x44368d!==0x2&&_0x44368d!==0x1&&(_0x44368d=0x6),_0x47984b['push']('(')):_0x44368d===0x9&&_0x47984b[_0xdb4326(0x274)]('(');const _0x497e28=_0x5b5a50[_0xdb4326(0x295)](),_0x138139=_0x497e28['length'];if(_0x44368d===0x2){const _0xae452f=_0x497e28[0x0];let _0x288c63=0x0;_0xae452f instanceof s['LexerNode']&&_0xae452f[_0xdb4326(0x29f)]()===s[_0xdb4326(0x25b)]&&(_0x288c63=0x1);for(let _0x193c65=_0x288c63;_0x193c65<_0x138139-0x1;_0x193c65++){const _0x3a4d6f=_0x497e28[_0x193c65];if(_0x3a4d6f instanceof s['LexerNode']){const _0x388a0f=_0x3a4d6f[_0xdb4326(0x295)]()[0x0];typeof _0x388a0f==_0xdb4326(0x2a9)&&(this[_0xdb4326(0x1ee)][_0xdb4326(0x1e8)](_0x388a0f)&&console['error'](_0xdb4326(0x230)+_0x388a0f+_0xdb4326(0x2c0)),this[_0xdb4326(0x1ee)][_0xdb4326(0x25c)](_0x388a0f),_0x47984b['push'](''+this[_0xdb4326(0x224)]+_0x388a0f),this['_hasNewExcelFunction']=!0x0);}_0x47984b['push'](',');}this[_0xdb4326(0x283)](_0x497e28[_0x138139-0x1],_0x47984b,_0x2062a4),_0x288c63===0x1&&(_0x47984b[_0xdb4326(0x274)](')'),_0x47984b[_0xdb4326(0x274)]('('),this[_0xdb4326(0x2de)](_0xae452f,_0x47984b,_0x2062a4)),_0x47984b[_0xdb4326(0x274)](')');return;}else{if(_0x44368d===0x1){for(let _0x1cf37b=0x0;_0x1cf37b<_0x138139-0x1;_0x1cf37b++){const _0x272960=_0x497e28[_0x1cf37b];if(_0x272960 instanceof s[_0xdb4326(0x2ce)]&&_0x1cf37b%0x2===0x0){const _0x2f6e1d=_0x272960['getChildren']()[0x0];if(typeof _0x2f6e1d==_0xdb4326(0x2a9)){this['_lambdaFunctionParameterSet'][_0xdb4326(0x1e8)](_0x2f6e1d)&&console['error'](_0xdb4326(0x245)+_0x2f6e1d+_0xdb4326(0x2c0)),this['_lambdaFunctionParameterSet'][_0xdb4326(0x25c)](_0x2f6e1d),_0x47984b[_0xdb4326(0x274)](''+this['_xlpmPrefix']+_0x2f6e1d),this[_0xdb4326(0x27d)]=!0x0,_0x47984b['push'](',');continue;}}if(this[_0xdb4326(0x283)](_0x272960,_0x47984b,_0x2062a4),_0x272960 instanceof s[_0xdb4326(0x2ce)]){const _0x327c62=_0x497e28[_0x1cf37b+0x1];_0x327c62&&_0x327c62 instanceof s[_0xdb4326(0x2ce)]&&_0x47984b[_0xdb4326(0x274)](',');}}this[_0xdb4326(0x283)](_0x497e28[_0x138139-0x1],_0x47984b,_0x2062a4),_0x47984b['push'](')');return;}else{if(_0x44368d===0x8){const _0x581559=_0x497e28[0x0],_0x1ceb9f=_0x497e28[0x1];this[_0xdb4326(0x283)](_0x581559,_0x47984b,_0x2062a4),_0x47984b['push'](_0x2b7c3d),this[_0xdb4326(0x283)](_0x1ceb9f,_0x47984b,_0x2062a4);return;}}}for(let _0x24a87b=0x0;_0x24a87b<_0x138139;_0x24a87b++){const _0x1ea75c=_0x497e28[_0x24a87b];if(this[_0xdb4326(0x283)](_0x1ea75c,_0x47984b,_0x2062a4),_0x1ea75c instanceof s[_0xdb4326(0x2ce)]){const _0x1049a7=_0x497e28[_0x24a87b+0x1];_0x1049a7&&_0x1049a7 instanceof s[_0xdb4326(0x2ce)]&&_0x47984b[_0xdb4326(0x274)](',');}}_0x44368d===0x7&&_0x47984b[_0xdb4326(0x274)](_0x2b7c3d),(_0x4cd659||_0x44368d===0x9)&&_0x47984b[_0xdb4326(0x274)](')');}['_handleNewFunctionChild'](_0x1645c2,_0x4e2c5a,_0xaf314){const _0x2024ed=_0x4cc054;_0x1645c2 instanceof s[_0x2024ed(0x2ce)]?this['_generateNewFunctionString'](_0x1645c2,_0x4e2c5a,_0xaf314):this['_lambdaFunctionParameterSet'][_0x2024ed(0x1e8)](_0x1645c2)?(_0x4e2c5a[_0x2024ed(0x274)](''+this[_0x2024ed(0x224)]+_0x1645c2),this[_0x2024ed(0x27d)]=!0x0):_0x4e2c5a[_0x2024ed(0x274)](_0x1645c2);}[_0x4cc054(0x22d)](_0x32f43e){const _0x506c73=_0x4cc054;let _0x3c5ff8=_0x32f43e['trim']();if(!_0x3c5ff8)return _0x3c5ff8;const _0x415e86=_0x3c5ff8[0x0];if((_0x415e86===s[_0x506c73(0x242)]['AT']||_0x415e86===s[_0x506c73(0x242)][_0x506c73(0x218)]||_0x415e86===s[_0x506c73(0x242)]['PLUS'])&&(_0x3c5ff8=_0x3c5ff8['slice'](0x1)),!_0x3c5ff8)return _0x3c5ff8;const _0x76f1d3=_0x3c5ff8[_0x3c5ff8[_0x506c73(0x2b8)]-0x1];return s['SUFFIX_TOKEN_SET'][_0x506c73(0x1e8)](_0x76f1d3)&&(_0x3c5ff8=_0x3c5ff8[_0x506c73(0x23d)](0x0,-0x1)),_0x3c5ff8;}['_checkAddBracketForMinus'](_0x310e75){const _0x4283a9=_0x4cc054,_0x10b5b4=_0x310e75[_0x4283a9(0x295)]()[0x0];if(!_0x10b5b4||!(_0x10b5b4 instanceof s['LexerNode'])||_0x310e75[_0x4283a9(0x295)]()[_0x4283a9(0x2b8)]>0x1)return!0x1;const _0x3abe71=_0x10b5b4[_0x4283a9(0x295)](),_0x43c0c9=_0x3abe71[_0x4283a9(0x2b8)];if(_0x43c0c9===0x1)return!0x1;for(let _0x5f12a0=0x0;_0x5f12a0<_0x43c0c9;_0x5f12a0++){const _0x531d2b=_0x3abe71[_0x5f12a0];if(!(_0x531d2b instanceof s[_0x4283a9(0x2ce)])&&s[_0x4283a9(0x232)]['has'](_0x531d2b))return!0x0;}return!0x1;}[_0x4cc054(0x25f)](_0x93fa6d,_0x40ec3e,_0x274088,_0x4c39af,_0x1a3963){const _0x2a75e3=_0x4cc054,_0xbcacf3=this[_0x2a75e3(0x265)](_0x93fa6d,!0x1);if(!_0xbcacf3||_0xbcacf3===s[_0x2a75e3(0x1ea)][_0x2a75e3(0x2d5)]||Array[_0x2a75e3(0x286)](_0xbcacf3))return null;this[_0x2a75e3(0x2a4)](),this[_0x2a75e3(0x285)]=_0x40ec3e;const _0x39f2cb=this['_generateExprTree'](_0xbcacf3,_0x274088,_0x4c39af,_0x1a3963);return this[_0x2a75e3(0x285)]='',this[_0x2a75e3(0x287)](),_0x39f2cb;}[_0x4cc054(0x1fe)](_0x9361fe,_0x56e017,_0x2b01b2,_0x4a1895){const _0x22adeb=_0x4cc054,_0x314a66={'value':'','children':[],'startIndex':0x0};let _0x1e3481=_0x9361fe;if(_0x1e3481 instanceof s[_0x22adeb(0x2ce)]&&(_0x1e3481['getToken']()===s[_0x22adeb(0x208)]||_0x1e3481[_0x22adeb(0x29f)]()===s['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x1e3481[_0x22adeb(0x295)]()[_0x22adeb(0x2b8)]===0x1&&(_0x1e3481=_0x1e3481[_0x22adeb(0x295)]()[0x0]),!(_0x1e3481 instanceof s[_0x22adeb(0x2ce)]))return this['_handleTextNodeForExprTree'](_0x1e3481,_0x2b01b2,_0x4a1895);const _0x4984e3=_0x1e3481[_0x22adeb(0x295)](),_0x4220ee=_0x4984e3[_0x22adeb(0x2b8)],_0x1496cd=[];this[_0x22adeb(0x2de)](_0x1e3481,_0x1496cd,_0x56e017),_0x314a66['value']=_0x1496cd[_0x22adeb(0x217)](''),_0x314a66[_0x22adeb(0x2db)]=_0x1e3481['getStartIndex']();const _0x2202e1=this[_0x22adeb(0x1ec)](_0x1e3481);if(_0x2202e1===0x2){const _0x3e6ee3=_0x4984e3[0x0];if(_0x3e6ee3 instanceof s['LexerNode']){if(_0x3e6ee3['getToken']()[_0x22adeb(0x21d)]()!==s[_0x22adeb(0x25b)])return _0x314a66;this[_0x22adeb(0x211)](_0x3e6ee3,_0x314a66,_0x56e017,_0x2b01b2,_0x4a1895);}return _0x314a66;}else{if(_0x2202e1===0x1){for(let _0x1bdf52=0x0;_0x1bdf52<_0x4220ee-0x1;_0x1bdf52++){const _0x29ea45=_0x4984e3[_0x1bdf52];if(_0x29ea45 instanceof s['LexerNode']&&_0x1bdf52%0x2===0x1){const _0x2095b6=_0x29ea45[_0x22adeb(0x295)]();if(_0x2095b6[_0x22adeb(0x2b8)]===0x1&&!(_0x2095b6[0x0]instanceof s['LexerNode']))continue;const _0x292553=this[_0x22adeb(0x1fe)](_0x29ea45,_0x56e017,_0x2b01b2,_0x4a1895);_0x292553&&_0x314a66[_0x22adeb(0x2e0)][_0x22adeb(0x274)](_0x292553);}}return _0x314a66;}else{if(_0x2202e1===0x8){const _0xd56f67=_0x4984e3[0x0];if(_0xd56f67 instanceof s[_0x22adeb(0x2ce)]){const _0x3bab38=_0xd56f67['getChildren']()[0x0];_0x3bab38 instanceof s['LexerNode']&&(_0x314a66[_0x22adeb(0x2db)]=_0x3bab38[_0x22adeb(0x1f7)]());}if(this['_checkColonNodeForExprTree'](_0x1e3481))return _0x314a66;}else{if(_0x2202e1===0x7){const _0x288120=_0x4984e3[0x0];if(_0x288120 instanceof s[_0x22adeb(0x2ce)]){const _0x46c4f7=_0x288120[_0x22adeb(0x295)]()[0x0];_0x46c4f7 instanceof s[_0x22adeb(0x2ce)]&&(_0x314a66['startIndex']=_0x46c4f7[_0x22adeb(0x1f7)]());}}}}}return this['_handleChildrenForExprTree'](_0x4984e3,_0x2202e1,_0x314a66,_0x56e017,_0x2b01b2,_0x4a1895),_0x314a66;}[_0x4cc054(0x27e)](_0x5e34f3,_0x258d09,_0x4cdb9f,_0x142449,_0x9c1af7,_0x769e7){const _0x1020dc=_0x4cc054;for(let _0x4c4b27=0x0;_0x4c4b27<_0x5e34f3[_0x1020dc(0x2b8)];_0x4c4b27++){let _0x2d3f76=_0x5e34f3[_0x4c4b27];if(!(_0x2d3f76 instanceof s[_0x1020dc(0x2ce)])){const _0x27b44f=this[_0x1020dc(0x2b9)](_0x2d3f76,_0x9c1af7,_0x769e7);_0x27b44f&&_0x4cdb9f['children'][_0x1020dc(0x274)](_0x27b44f);continue;}const _0x441c3d=_0x2d3f76[_0x1020dc(0x295)]();if(_0x441c3d[_0x1020dc(0x2b8)]===0x1&&!(_0x441c3d[0x0]instanceof s[_0x1020dc(0x2ce)])){const _0x5b4461=_0x441c3d[0x0];if(!_0x9c1af7(this['_currentUnitId'],_0x5b4461)&&!this[_0x1020dc(0x1f8)](_0x5b4461,_0x769e7)&&!s['isReferenceString'](_0x5b4461))continue;}if(_0x258d09===0x8){const _0x3f1648=_0x441c3d[0x0];if(_0x3f1648 instanceof s[_0x1020dc(0x2ce)]){const _0x23f583=_0x3f1648[_0x1020dc(0x29f)]()['trim']();if(s[_0x1020dc(0x1f4)](_0x23f583))continue;_0x2d3f76=_0x3f1648;}}const _0x346d13=this[_0x1020dc(0x1fe)](_0x2d3f76,_0x142449,_0x9c1af7,_0x769e7);_0x346d13&&_0x4cdb9f['children'][_0x1020dc(0x274)](_0x346d13);}}[_0x4cc054(0x24e)](_0x485ccc){const _0x15f0de=_0x4cc054,_0x3a0b16=_0x485ccc['getChildren']();if(_0x3a0b16[_0x15f0de(0x2b8)]<0x2)return!0x1;const _0x3ef560=_0x3a0b16[0x0],_0x395468=_0x3a0b16[0x1];if(!(_0x3ef560 instanceof s['LexerNode'])||!(_0x395468 instanceof s['LexerNode']))return!0x1;const _0x5f918d=_0x3ef560[_0x15f0de(0x295)]()[0x0],_0x5bd0a6=_0x395468[_0x15f0de(0x295)]()[0x0];if(!(_0x5f918d instanceof s[_0x15f0de(0x2ce)])||!(_0x5bd0a6 instanceof s[_0x15f0de(0x2ce)]))return!0x1;const _0x1117ad=_0x5f918d[_0x15f0de(0x29f)]()[_0x15f0de(0x21d)](),_0x28e7ab=_0x5bd0a6[_0x15f0de(0x29f)]()[_0x15f0de(0x21d)]();return!!s[_0x15f0de(0x1f4)](''+_0x1117ad+s[_0x15f0de(0x2ca)][_0x15f0de(0x201)]+_0x28e7ab);}[_0x4cc054(0x2b9)](_0x1cb935,_0x1dc0b6,_0x502549){const _0x8b1bc7=_0x4cc054,_0x2f1b21=_0x1cb935[_0x8b1bc7(0x21d)]();return _0x2f1b21[_0x8b1bc7(0x1e6)]('{')&&_0x2f1b21[_0x8b1bc7(0x1f1)]('}')||_0x1dc0b6(this[_0x8b1bc7(0x285)],_0x2f1b21)||this[_0x8b1bc7(0x1f8)](_0x2f1b21,_0x502549)||s[_0x8b1bc7(0x1f4)](_0x2f1b21)?{'value':_0x2f1b21,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x26a3f7,_0x1e3fb6){const _0x4573ec=_0x4cc054,{tableName:_0xa2d14a}=s[_0x4573ec(0x25a)](_0x26a3f7);return _0x1e3fb6(this[_0x4573ec(0x285)],_0xa2d14a)?_0xa2d14a:null;}[_0x4cc054(0x211)](_0x379921,_0x47e27a,_0x263fa5,_0x9210c,_0x3cdad5){const _0x3fc7c9=_0x4cc054,_0x45ac69=_0x379921[_0x3fc7c9(0x295)]();for(let _0x1d2aca=0x0;_0x1d2aca<_0x45ac69['length'];_0x1d2aca++){const _0x263fbc=_0x45ac69[_0x1d2aca];if(!(_0x263fbc instanceof s['LexerNode']))continue;const _0x54e6df=_0x263fbc[_0x3fc7c9(0x295)]();if(_0x54e6df[_0x3fc7c9(0x2b8)]===0x1&&!(_0x54e6df[0x0]instanceof s[_0x3fc7c9(0x2ce)]))continue;const _0x3cbe85=this['_generateExprTree'](_0x263fbc,_0x263fa5,_0x9210c,_0x3cdad5);_0x3cbe85&&_0x47e27a[_0x3fc7c9(0x2e0)]['push'](_0x3cbe85);}}[_0x4cc054(0x1ec)](_0x693cf9){const _0x2dc38a=_0x4cc054,_0x371cc=_0x693cf9[_0x2dc38a(0x29f)](),_0x13ac3c=_0x371cc[_0x2dc38a(0x21d)]()[_0x2dc38a(0x2b4)]();let _0x35291e=0x0;return _0x371cc===s[_0x2dc38a(0x208)]?_0x35291e=0x3:_0x371cc===s[_0x2dc38a(0x238)]?_0x35291e=0x4:_0x371cc===s['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x35291e=0x5:_0x13ac3c===s[_0x2dc38a(0x260)]?_0x35291e=0x2:_0x13ac3c===s['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x35291e=0x1:_0x13ac3c===s[_0x2dc38a(0x2ca)][_0x2dc38a(0x201)]?_0x35291e=0x8:s[_0x2dc38a(0x21a)][_0x2dc38a(0x1e8)](_0x13ac3c)?_0x35291e=0x7:_0x13ac3c===s[_0x2dc38a(0x242)][_0x2dc38a(0x218)]?this[_0x2dc38a(0x2ac)](_0x693cf9)&&(_0x35291e=0x9):_0x35291e=0xa,_0x35291e;}}const K={0x0:'3',0x1:'Y',0x2:'Q',0x3:'S',0x4:'w',0x5:'q',0x6:'N',0x7:'9',0x8:'W',0x9:'2','q':'0','A':'1','u':'4','O':'5','m':'6','l':'7','B':'8','N':'a','t':'b','V':'c','S':'d','r':'e','h':'f','D':'g','L':'h','I':'i','b':'j','v':'k','j':'l','R':'m','a':'n','c':'o','z':'p','n':'r','g':'s','f':'t','M':'u','K':'v','w':'x','P':'y','T':'z','e':'A','p':'B','C':'C','Y':'D','X':'E','Z':'F','E':'G','k':'H','F':'I','d':'J','Q':'K','s':'L','o':'M','i':'O','y':'P','U':'R','x':'T','G':'U','W':'V','H':'X','J':'Z'},B=_0x4cc054(0x2c1);class Y extends s['FormulaDependencyGenerator']{constructor(){const _0x1bbe71=_0x4cc054;super(...arguments),N(this,_0x1bbe71(0x222),new Map());}[_0x4cc054(0x1f6)](){const _0x1401a2=_0x4cc054;super[_0x1401a2(0x1f6)](),this[_0x1401a2(0x222)][_0x1401a2(0x248)]();}async[_0x4cc054(0x2aa)](_0x531fe2=!0x1){const _0x32755f=_0x4cc054;this['_updateRangeFlatten']();const _0xc307da=this[_0x32755f(0x298)]['getFormulaData'](),_0x28aee8=this['_otherFormulaManagerService'][_0x32755f(0x293)](),_0x196904=this[_0x32755f(0x298)][_0x32755f(0x2d9)]();_0x196904!=null&&Object[_0x32755f(0x1f0)](_0x196904)[_0x32755f(0x2cc)](_0x30bf22=>{const _0x38f50a=_0x32755f;_0x30bf22!=null&&Object[_0x38f50a(0x1f0)](_0x196904[_0x30bf22])[_0x38f50a(0x2cc)](_0x8e59dd=>{const _0x472c6f=_0x38f50a;_0x8e59dd!=null&&(this[_0x472c6f(0x2d0)][_0x472c6f(0x1ff)](_0x30bf22,_0x8e59dd),this[_0x472c6f(0x2d0)][_0x472c6f(0x24d)](_0x30bf22,_0x8e59dd),this['_dependencyManagerService'][_0x472c6f(0x29c)](_0x30bf22,_0x8e59dd));});});const _0x3a0bb2=this[_0x32755f(0x298)][_0x32755f(0x209)]();await this['_generateTreeList'](_0xc307da,_0x28aee8,_0x3a0bb2),this[_0x32755f(0x2d0)][_0x32755f(0x2da)]();const _0x12ca33=this[_0x32755f(0x2dc)](),_0x582fc3=this['_calculateRunList'](_0x12ca33);return this[_0x32755f(0x2af)](_0x582fc3)&&this[_0x32755f(0x26a)][_0x32755f(0x2a3)](),_0x531fe2&&this[_0x32755f(0x26a)][_0x32755f(0x1ed)](this[_0x32755f(0x250)](Array[_0x32755f(0x2c9)](this[_0x32755f(0x222)][_0x32755f(0x233)]()))),this[_0x32755f(0x222)][_0x32755f(0x248)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x32755f(0x2d0)][_0x32755f(0x2d1)](),this[_0x32755f(0x26a)][_0x32755f(0x26e)](),Promise[_0x32755f(0x249)](_0x582fc3);}[_0x4cc054(0x2df)](_0x332da0,_0x3492db){const _0x1334d0=_0x4cc054,_0x3bb1d6=[_0x332da0];for(;_0x3bb1d6[_0x1334d0(0x2b8)]>0x0;){const _0x4a73b4=_0x3bb1d6[_0x3bb1d6[_0x1334d0(0x2b8)]-0x1];if((_0x3492db[_0x1334d0(0x207)](_0x4a73b4)||0x0)===0x0){_0x3492db[_0x1334d0(0x1f3)](_0x4a73b4,0x1);const _0x3804a2=this['_dependencyTreeCache'][_0x1334d0(0x207)](_0x4a73b4);if(_0x3804a2==null){_0x3492db[_0x1334d0(0x1f3)](_0x4a73b4,0x2),_0x3bb1d6[_0x1334d0(0x21f)]();continue;}const _0x49f815=this[_0x1334d0(0x2d0)][_0x1334d0(0x254)](_0x3804a2[_0x1334d0(0x2c7)]());for(const _0x66790a of _0x49f815){const _0x3c9f42=_0x3492db[_0x1334d0(0x207)](_0x66790a)||0x0;if(_0x3c9f42===0x1)return!0x0;_0x3c9f42===0x0&&_0x3bb1d6[_0x1334d0(0x274)](_0x66790a);}}else _0x3492db[_0x1334d0(0x1f3)](_0x4a73b4,0x2),_0x3bb1d6[_0x1334d0(0x21f)]();}return!0x1;}[_0x4cc054(0x2af)](_0x136208){const _0x4761de=_0x4cc054,_0x5a41a7=new Map();for(const _0x4d453a of _0x136208)if(!_0x5a41a7[_0x4761de(0x1e8)](_0x4d453a[_0x4761de(0x247)])&&this[_0x4761de(0x2df)](_0x4d453a['treeId'],_0x5a41a7))return!0x0;return _0x5a41a7[_0x4761de(0x248)](),!0x1;}[_0x4cc054(0x1e7)](_0x4f4a86,_0x466e21,_0x2d7601){const _0x2fef77=_0x4cc054,{unitId:_0x5467cf,subUnitId:_0xe9f226,dependencyRanges:_0x548f8c,getDirtyData:_0x21dec3}=_0x2d7601,_0x336a69=_0x466e21||s[_0x2fef77(0x2bc)](this[_0x2fef77(0x2d0)]),_0x2bc1f3=new s['FormulaDependencyTree'](_0x336a69);_0x2bc1f3['unitId']=_0x5467cf,_0x2bc1f3[_0x2fef77(0x23f)]=_0xe9f226,_0x2bc1f3['rangeList']=_0x548f8c,_0x2bc1f3[_0x2fef77(0x240)]=_0x21dec3;const _0x276d50=_0x21dec3(this[_0x2fef77(0x298)][_0x2fef77(0x240)](),this[_0x2fef77(0x26a)]['getAllRuntimeData']()),_0x200c2c=this[_0x2fef77(0x258)](_0x276d50[_0x2fef77(0x2d4)]);return _0x2bc1f3['featureDirtyRanges']=_0x200c2c,_0x2bc1f3[_0x2fef77(0x227)]=_0x4f4a86,_0x2bc1f3[_0x2fef77(0x229)]=s[_0x2fef77(0x267)][_0x2fef77(0x2b3)],this[_0x2fef77(0x2d0)]['addFeatureFormulaDependency'](_0x5467cf,_0xe9f226,_0x4f4a86,_0x2bc1f3),this[_0x2fef77(0x222)][_0x2fef77(0x1f3)](_0x2bc1f3[_0x2fef77(0x247)],_0x2bc1f3),this[_0x2fef77(0x2d0)][_0x2fef77(0x25d)](_0x2d7601[_0x2fef77(0x2a7)],_0x2d7601['subUnitId'],_0x4f4a86)&&(_0x2bc1f3[_0x2fef77(0x235)]=!0x0),_0x2bc1f3;}[_0x4cc054(0x1e4)](_0x21cf33,_0x1f4b54,_0x2ee477){const _0x472a06=_0x4cc054;var _0x17c6c0;for(const _0xf7da35 of _0x1f4b54){const _0x1d7a05=_0x21cf33[_0xf7da35];if(_0x1d7a05==null)continue;const _0x1cc2c7=Object[_0x472a06(0x1f0)](_0x1d7a05);for(const _0x16c7f2 of _0x1cc2c7){const _0x177ff9=_0x1d7a05[_0x16c7f2];if(_0x177ff9==null)continue;const _0x38a7b7=Object[_0x472a06(0x1f0)](_0x177ff9);for(const _0x390c0b of _0x38a7b7){const _0x405f70=this[_0x472a06(0x2d0)][_0x472a06(0x2a1)](_0x390c0b),_0x590c37=_0x177ff9[_0x390c0b],{f:_0x46360f,ranges:_0x64c002}=_0x590c37;let _0x281364=!0x1;_0x405f70&&(_0x281364=!0x0);const {firstRow:_0x16ba08,firstColumn:_0xbc1078}=this['_getFirstCellOfRange'](_0x64c002),_0x54fda0=this['_dependencyManagerService'][_0x472a06(0x280)](_0xf7da35,_0x16c7f2,_0x390c0b),_0x56e6c4=(_0x17c6c0=_0x54fda0==null?void 0x0:_0x54fda0[_0x472a06(0x20f)](0x0,0x0))!=null?_0x17c6c0:s[_0x472a06(0x2bc)](this['_dependencyManagerService']),_0x465231=new s['FormulaDependencyTree'](_0x56e6c4);for(let _0x1a613e=0x0;_0x1a613e<_0x64c002[_0x472a06(0x2b8)];_0x1a613e++){const _0x1eea48=_0x64c002[_0x1a613e],{startRow:_0x567c9b,startColumn:_0xe33ffe,endRow:_0x42cfd2,endColumn:_0x97107c}=_0x1eea48;for(let _0x22df3e=_0x567c9b;_0x22df3e<=_0x42cfd2;_0x22df3e++)for(let _0x306d44=_0xe33ffe;_0x306d44<=_0x97107c;_0x306d44++){const _0x486e24=_0x306d44-_0xbc1078,_0x461ca8=_0x22df3e-_0x16ba08;if(_0x486e24===0x0&&_0x461ca8===0x0){_0x465231['formula']=_0x46360f,_0x465231[_0x472a06(0x2a7)]=_0xf7da35,_0x465231[_0x472a06(0x23f)]=_0x16c7f2,_0x465231[_0x472a06(0x200)]=_0x390c0b,_0x465231[_0x472a06(0x229)]=s[_0x472a06(0x267)][_0x472a06(0x22c)],_0x465231[_0x472a06(0x235)]=_0x281364,_0x2ee477[_0x472a06(0x274)](_0x465231),this['_dependencyTreeCache'][_0x472a06(0x1f3)](_0x465231[_0x472a06(0x247)],_0x465231),this[_0x472a06(0x2d0)][_0x472a06(0x22f)](_0xf7da35,_0x16c7f2,_0x390c0b,_0x465231),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x465231);continue;}const _0x204b8a=new s[(_0x472a06(0x281))]();_0x204b8a[_0x472a06(0x247)]=(_0x54fda0==null?void 0x0:_0x54fda0[_0x472a06(0x20f)](_0x486e24,_0x461ca8))||s[_0x472a06(0x2bc)](this['_dependencyManagerService']),_0x204b8a[_0x472a06(0x203)]=_0x465231,_0x204b8a['refOffsetX']=_0x486e24,_0x204b8a[_0x472a06(0x216)]=_0x461ca8,_0x204b8a['isCache']=_0x281364,_0x204b8a['type']=s[_0x472a06(0x267)][_0x472a06(0x22c)],this[_0x472a06(0x2d0)][_0x472a06(0x22f)](_0xf7da35,_0x16c7f2,_0x390c0b,_0x204b8a),this[_0x472a06(0x2d0)][_0x472a06(0x1f2)](_0x204b8a),_0x2ee477[_0x472a06(0x274)](_0x204b8a),this[_0x472a06(0x222)][_0x472a06(0x1f3)](_0x204b8a[_0x472a06(0x247)],_0x204b8a);}}this[_0x472a06(0x2d0)][_0x472a06(0x214)](_0x390c0b);}}}}['_registerFormulas'](_0x142995,_0x440e5b,_0x5c707b,_0x5093de){const _0x32c22a=_0x4cc054;for(const _0xcedf9a of _0x142995){const _0x4e38ce=_0x440e5b[_0xcedf9a];if(_0x4e38ce==null)continue;const _0x28a558=Object['keys'](_0x4e38ce);for(const _0x28a035 of _0x28a558){const _0x33b18e=new I[(_0x32c22a(0x24b))](_0x4e38ce[_0x28a035]||{}),_0x343f5c=new Map();_0x33b18e[_0x32c22a(0x2ad)]((_0x231bdb,_0x4d114c,_0x4d265c)=>{const _0x55c58c=_0x32c22a;if(_0x4d265c==null)return!0x0;const {x:_0x56689e=0x0,y:_0x5b03b5=0x0,si:_0x207c0f}=_0x4d265c;if(!(_0x56689e===0x0&&_0x5b03b5===0x0&&_0x207c0f!=null))return!0x0;const _0x3fec0c=this['_createFDtree'](_0xcedf9a,_0x28a035,_0x231bdb,_0x4d114c,_0x5c707b,_0x4d265c),_0x459ac1=this['_dependencyManagerService'][_0x55c58c(0x1fa)](_0xcedf9a,_0x28a035,_0x231bdb,_0x4d114c);_0x459ac1!=null?_0x3fec0c[_0x55c58c(0x247)]=_0x459ac1:(this[_0x55c58c(0x2d0)]['addFormulaDependency'](_0xcedf9a,_0x28a035,_0x231bdb,_0x4d114c,_0x3fec0c),this[_0x55c58c(0x2d0)][_0x55c58c(0x1f2)](_0x3fec0c)),_0x343f5c[_0x55c58c(0x1f3)](_0x207c0f,_0x3fec0c),_0x5093de[_0x55c58c(0x274)](_0x3fec0c),this[_0x55c58c(0x222)][_0x55c58c(0x1f3)](_0x3fec0c[_0x55c58c(0x247)],_0x3fec0c);}),_0x33b18e[_0x32c22a(0x2ad)]((_0x6774cd,_0x5dea37,_0x2df0fd)=>{const _0x1137c6=_0x32c22a;if(_0x2df0fd==null)return!0x0;const {x:_0x20dd9a=0x0,y:_0x42a3df=0x0,si:_0x3bdde3}=_0x2df0fd;if(_0x20dd9a===0x0&&_0x42a3df===0x0&&_0x3bdde3!=null)return!0x0;let _0x1dcc00;if(_0x3bdde3&&_0x343f5c['has'](_0x3bdde3)){const _0x5c384a=_0x343f5c[_0x1137c6(0x207)](_0x3bdde3);_0x1dcc00=this['_createVirtualFDtree'](_0x5c384a,_0x2df0fd);}else _0x1dcc00=this[_0x1137c6(0x226)](_0xcedf9a,_0x28a035,_0x6774cd,_0x5dea37,_0x5c707b,_0x2df0fd);const _0x103915=this[_0x1137c6(0x2d0)][_0x1137c6(0x1fa)](_0xcedf9a,_0x28a035,_0x6774cd,_0x5dea37);_0x103915!=null?_0x1dcc00[_0x1137c6(0x247)]=_0x103915:(this[_0x1137c6(0x2d0)][_0x1137c6(0x252)](_0xcedf9a,_0x28a035,_0x6774cd,_0x5dea37,_0x1dcc00),this[_0x1137c6(0x2d0)]['addFormulaDependencyByDefinedName'](_0x1dcc00)),_0x5093de[_0x1137c6(0x274)](_0x1dcc00),this[_0x1137c6(0x222)][_0x1137c6(0x1f3)](_0x1dcc00[_0x1137c6(0x247)],_0x1dcc00);}),_0x343f5c[_0x32c22a(0x248)]();}}}[_0x4cc054(0x226)](_0x53a797,_0x3df820,_0x15126c,_0x1193c1,_0x7e7d53,_0x5ee921){const _0x4c2fc5=_0x4cc054,{f:_0x2a7035,x:_0x500396=0x0,y:_0x42bc2d=0x0}=_0x5ee921,_0x4de3cc=new s[(_0x4c2fc5(0x213))](s[_0x4c2fc5(0x2bc)](this[_0x4c2fc5(0x2d0)])),_0x32001d=_0x7e7d53[_0x53a797][_0x3df820];return _0x4de3cc['formula']=_0x2a7035,_0x4de3cc['unitId']=_0x53a797,_0x4de3cc[_0x4c2fc5(0x23f)]=_0x3df820,_0x4de3cc[_0x4c2fc5(0x204)]=_0x15126c,_0x4de3cc['column']=_0x1193c1,_0x4de3cc[_0x4c2fc5(0x2b0)]=_0x32001d[_0x4c2fc5(0x2b0)],_0x4de3cc['columnCount']=_0x32001d['columnCount'],_0x4de3cc;}[_0x4cc054(0x2dc)](){const _0x3ba8f3=_0x4cc054,_0x30c408=[],_0x190c64=new Set(),_0x402d59=this[_0x3ba8f3(0x298)][_0x3ba8f3(0x27c)](),_0x2e1df9=this['_currentConfigService'][_0x3ba8f3(0x215)](),_0x196180=this['_dependencyManagerService'][_0x3ba8f3(0x254)](_0x2e1df9),_0x16cfc6=this[_0x3ba8f3(0x261)]['bulkSearch'](_0x2e1df9);for(const _0x20f034 of _0x16cfc6)_0x196180[_0x3ba8f3(0x25c)](_0x20f034);for(const [_0x4cb96c,_0xda90ad]of this['_dependencyTreeCache'])(_0x402d59||_0xda90ad[_0x3ba8f3(0x1fb)]||_0xda90ad[_0x3ba8f3(0x2b6)](this['_currentConfigService']['getDirtyNameMap']())||_0x196180[_0x3ba8f3(0x1e8)](_0x4cb96c)&&!_0xda90ad['isExcludeRange'](this['_currentConfigService'][_0x3ba8f3(0x2ae)]()))&&!_0x190c64[_0x3ba8f3(0x1e8)](_0x4cb96c)&&(_0x30c408['push'](_0xda90ad),_0x190c64['add'](_0x4cb96c));for(const [_0x1886bc,_0xae0557]of this[_0x3ba8f3(0x222)])_0xae0557[_0x3ba8f3(0x2be)]||(_0xae0557['rangeList'][_0x3ba8f3(0x2b8)]=0x0);return _0x30c408;}[_0x4cc054(0x2a2)](_0x39f18e){const _0x42152e=_0x4cc054;return this[_0x42152e(0x222)][_0x42152e(0x207)](_0x39f18e);}['_getTreeNode'](_0x28b63f){const _0x57db50=_0x4cc054;return s[_0x57db50(0x2d8)](_0x28b63f[_0x57db50(0x2a7)],_0x28b63f['formula'],this[_0x57db50(0x27f)],this[_0x57db50(0x255)],this['_currentConfigService']);}*[_0x4cc054(0x271)](_0x25c5e6,_0xd20f34){const _0x4cba22=_0x4cc054,_0x30a5f6=_0x25c5e6,_0x11a765=new Set();for(;_0x30a5f6[_0x4cba22(0x2b8)]>0x0;){const _0x4f5dc3=_0x30a5f6['pop']();if(_0x11a765[_0x4cba22(0x248)](),_0x4f5dc3===void 0x0||_0x4f5dc3[_0x4cba22(0x290)]())continue;if(_0x4f5dc3[_0x4cba22(0x219)]()){yield _0x4f5dc3,_0x4f5dc3['setSkip'](),_0xd20f34[_0x4cba22(0x25c)](_0x4f5dc3['treeId']);continue;}const _0x2d8dad=this[_0x4cba22(0x2d0)]['searchDependency'](_0x4f5dc3[_0x4cba22(0x2c7)](),_0xd20f34),_0x51336b=this[_0x4cba22(0x261)][_0x4cba22(0x210)](_0x4f5dc3[_0x4cba22(0x2c7)](),_0xd20f34);for(const _0x912117 of _0x51336b)_0x2d8dad['add'](_0x912117);for(const _0x29d14e of _0x2d8dad){const _0x1ebbb5=this[_0x4cba22(0x222)][_0x4cba22(0x207)](_0x29d14e);if(!_0x1ebbb5){console['error']('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x29d14e);continue;}_0x1ebbb5[_0x4cba22(0x219)]()||_0x4f5dc3['isSkip']()||_0x11a765[_0x4cba22(0x25c)](_0x1ebbb5);}if(_0x2d8dad[_0x4cba22(0x248)](),_0x11a765[_0x4cba22(0x23c)]===0x0)yield _0x4f5dc3,_0x4f5dc3[_0x4cba22(0x282)](),_0xd20f34[_0x4cba22(0x25c)](_0x4f5dc3[_0x4cba22(0x247)]);else{_0x4f5dc3[_0x4cba22(0x2c4)](),_0x30a5f6[_0x4cba22(0x274)](_0x4f5dc3);for(const _0x5190ea of _0x11a765)_0x30a5f6['push'](_0x5190ea);}}_0x30a5f6[_0x4cba22(0x2b8)]=0x0,_0x11a765['clear']();}[_0x4cc054(0x264)](_0x2aa372){const _0x5dae67=[],_0x39184d=new Set();for(const _0x1953a4 of this['_traverse'](_0x2aa372,_0x39184d))_0x5dae67['push'](_0x1953a4);return _0x5dae67;}async[_0x4cc054(0x2c6)](){const _0x279c1e=_0x4cc054;return await this[_0x279c1e(0x28f)](),Array[_0x279c1e(0x2c9)](this['_dependencyTreeCache']['values']());}['_getDependencyTreeParenIds'](_0x1a1427){const _0x15a144=_0x4cc054;return this[_0x15a144(0x2d0)]['searchDependency'](_0x1a1427[_0x15a144(0x2c7)]());}[_0x4cc054(0x294)](_0x254b93){const _0x2e2533=_0x4cc054,_0x24916a=new Set(),_0x4f6bc9=_0x254b93[_0x2e2533(0x212)];for(const [_0x472cfe,_0x5c3e0a]of this[_0x2e2533(0x222)])for(const _0x5de7dc of _0x4f6bc9){const _0x25f1ca=_0x5de7dc[_0x2e2533(0x2a7)],_0x4c0c2a=_0x5de7dc[_0x2e2533(0x22a)];if(_0x5c3e0a['unitId']!==_0x25f1ca||_0x5c3e0a['subUnitId']!==_0x4c0c2a)continue;const _0x3ab1ef=_0x5de7dc[_0x2e2533(0x243)];if(_0x5c3e0a[_0x2e2533(0x2d2)](_0x3ab1ef)){_0x24916a[_0x2e2533(0x25c)](_0x472cfe);break;}}return _0x24916a;}[_0x4cc054(0x1e3)](){const _0x3e4e62=_0x4cc054;this['_dependencyManagerService'][_0x3e4e62(0x2da)]();}['_endFormulaDependencyTreeModel'](){const _0x4bb2d0=_0x4cc054;this[_0x4bb2d0(0x28e)]['clear'](),this[_0x4bb2d0(0x222)]['clear'](),this[_0x4bb2d0(0x2d0)][_0x4bb2d0(0x2d1)]();}}class z extends s[_0x4cc054(0x273)]{async[_0x4cc054(0x20c)](_0x52a7f7=!0x1){const _0x1320c0=_0x4cc054;_0x52a7f7?this[_0x1320c0(0x26a)]['setFormulaExecuteStage'](s['FormulaExecuteStageType'][_0x1320c0(0x1e1)]):this[_0x1320c0(0x26a)][_0x1320c0(0x268)](s[_0x1320c0(0x228)][_0x1320c0(0x270)]),this[_0x1320c0(0x28a)]['next'](this[_0x1320c0(0x26a)][_0x1320c0(0x234)]());const _0x4664fd=await this['_formulaDependencyGenerator']['generate'](this[_0x1320c0(0x27b)]),_0x1ea069=this[_0x1320c0(0x23b)];_0x52a7f7?(this['_runtimeService']['setFormulaExecuteStage'](s['FormulaExecuteStageType'][_0x1320c0(0x221)]),this['_runtimeService'][_0x1320c0(0x1eb)](_0x4664fd[_0x1320c0(0x2b8)])):(this[_0x1320c0(0x26a)][_0x1320c0(0x268)](s[_0x1320c0(0x228)]['START_CALCULATION']),this[_0x1320c0(0x26a)]['setTotalFormulasToCalculate'](_0x4664fd[_0x1320c0(0x2b8)])),this['_executionInProgressListener$'][_0x1320c0(0x291)](this[_0x1320c0(0x26a)][_0x1320c0(0x234)]());let _0x645675=[];const _0x43a9f1=this[_0x1320c0(0x253)][_0x1320c0(0x2a8)](s['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x2c1fce=(_0x43a9f1==null?void 0x0:_0x43a9f1[_0x1320c0(0x1ef)])||s['DEFAULT_INTERVAL_COUNT'];let _0x4dd0df=0x0;const _0x29eb68=_0x4664fd[_0x1320c0(0x2b8)];for(;_0x4664fd[_0x1320c0(0x2b8)]>0x0;){const _0x5b0cea=_0x4664fd[_0x1320c0(0x21f)](),_0xf1277e=s[_0x1320c0(0x2d8)](_0x5b0cea['unitId'],_0x5b0cea[_0x1320c0(0x1e5)],this[_0x1320c0(0x27f)],this[_0x1320c0(0x255)],this[_0x1320c0(0x298)]),_0x15a34f={'node':_0xf1277e,'refOffsetX':_0x5b0cea[_0x1320c0(0x259)],'refOffsetY':_0x5b0cea[_0x1320c0(0x216)]},_0x31937b=_0x5b0cea[_0x1320c0(0x240)];if(_0x4dd0df%_0x2c1fce===0x0&&(await new Promise(_0x411d26=>{const _0x2bfcc6=_0x1320c0,_0x3ccd65=I['requestImmediateMacroTask'](_0x411d26);_0x645675[_0x2bfcc6(0x274)](_0x3ccd65);}),_0x52a7f7?(this[_0x1320c0(0x26a)][_0x1320c0(0x268)](s[_0x1320c0(0x228)][_0x1320c0(0x20e)]),this[_0x1320c0(0x26a)][_0x1320c0(0x262)](_0x4dd0df+0x1)):(this[_0x1320c0(0x26a)]['setFormulaExecuteStage'](s[_0x1320c0(0x228)]['CURRENTLY_CALCULATING']),this[_0x1320c0(0x26a)][_0x1320c0(0x1e2)](_0x4dd0df+0x1)),this[_0x1320c0(0x28a)]['next'](this[_0x1320c0(0x26a)][_0x1320c0(0x234)]()),this['_runtimeService'][_0x1320c0(0x2cd)]()||_0x15a34f==null&&_0x31937b==null)){this[_0x1320c0(0x26a)]['setFormulaExecuteStage'](s['FormulaExecuteStageType'][_0x1320c0(0x2b7)]),this[_0x1320c0(0x26a)][_0x1320c0(0x277)](),this['_executionCompleteListener$'][_0x1320c0(0x291)](this['_runtimeService'][_0x1320c0(0x269)]());return;}this['_runtimeService']['setCurrent'](_0x5b0cea[_0x1320c0(0x204)],_0x5b0cea[_0x1320c0(0x1e0)],_0x5b0cea[_0x1320c0(0x2b0)],_0x5b0cea[_0x1320c0(0x27a)],_0x5b0cea[_0x1320c0(0x23f)],_0x5b0cea['unitId']);let _0x47e357;if(_0x31937b!=null&&_0x5b0cea[_0x1320c0(0x227)]!=null){const {runtimeCellData:_0x2adf30,dirtyRanges:_0x44e164}=_0x31937b(this[_0x1320c0(0x298)][_0x1320c0(0x240)](),this['_runtimeService'][_0x1320c0(0x269)]());this[_0x1320c0(0x26a)][_0x1320c0(0x21c)](_0x5b0cea['featureId'],_0x2adf30),this[_0x1320c0(0x26a)][_0x1320c0(0x289)](_0x5b0cea[_0x1320c0(0x227)],_0x44e164);}else _0x15a34f!=null&&(_0x1ea069[_0x1320c0(0x20d)](_0x15a34f[_0x1320c0(0x20b)])?_0x47e357=await _0x1ea069[_0x1320c0(0x29d)](_0x15a34f):_0x47e357=_0x1ea069[_0x1320c0(0x2c8)](_0x15a34f),_0x5b0cea[_0x1320c0(0x200)]!=null?this[_0x1320c0(0x26a)][_0x1320c0(0x1f9)](_0x5b0cea['formulaId'],_0x5b0cea[_0x1320c0(0x259)],_0x5b0cea[_0x1320c0(0x216)],_0x47e357):this['_runtimeService']['setRuntimeData'](_0x47e357));_0xf1277e[_0x1320c0(0x296)](),_0x4dd0df++;}return _0x645675[_0x1320c0(0x2cc)](_0x42b54c=>_0x42b54c()),_0x645675=[],_0x29eb68>0x0?this[_0x1320c0(0x26a)][_0x1320c0(0x231)]():_0x52a7f7||this['_runtimeService'][_0x1320c0(0x28b)](),this[_0x1320c0(0x26a)]['getAllRuntimeData']();}}class $ extends s[_0x4cc054(0x205)]{constructor(){const _0x22c511=_0x4cc054;super(...arguments),N(this,'_allTreeMap',new Map()),N(this,_0x22c511(0x2cf),new I[(_0x22c511(0x263))](!0x0));}[_0x4cc054(0x2d3)](){const _0x32769e=_0x4cc054;this[_0x32769e(0x225)][_0x32769e(0x248)](),this[_0x32769e(0x2c2)][_0x32769e(0x248)](),this[_0x32769e(0x288)][_0x32769e(0x248)](),this[_0x32769e(0x2cf)][_0x32769e(0x248)](),this['_allTreeMap'][_0x32769e(0x248)](),this[_0x32769e(0x276)](),this[_0x32769e(0x299)][_0x32769e(0x248)]();}['addOtherFormulaDependency'](_0x4cd1ed,_0x5548a2,_0x3f9916,_0x394dda){const _0x34716d=_0x4cc054;this[_0x34716d(0x225)][_0x34716d(0x1e8)](_0x4cd1ed)||this[_0x34716d(0x225)]['set'](_0x4cd1ed,new Map());const _0x3bc19f=this[_0x34716d(0x225)][_0x34716d(0x207)](_0x4cd1ed);_0x3bc19f[_0x34716d(0x1e8)](_0x5548a2)||_0x3bc19f[_0x34716d(0x1f3)](_0x5548a2,new Map());const _0x1eb2f3=_0x3bc19f['get'](_0x5548a2);_0x1eb2f3[_0x34716d(0x1e8)](_0x3f9916)||_0x1eb2f3[_0x34716d(0x1f3)](_0x3f9916,new I[(_0x34716d(0x24b))]()),_0x1eb2f3[_0x34716d(0x207)](_0x3f9916)[_0x34716d(0x2b5)](_0x394dda['refOffsetX'],_0x394dda[_0x34716d(0x216)],_0x394dda[_0x34716d(0x247)]);}[_0x4cc054(0x284)](_0x5b03a6,_0x11ae3e,_0x48b233){const _0x13b77c=_0x4cc054,_0x40b90f=this[_0x13b77c(0x225)][_0x13b77c(0x207)](_0x5b03a6);if(_0x40b90f&&_0x40b90f[_0x13b77c(0x1e8)](_0x11ae3e)){const _0x20279a=_0x40b90f['get'](_0x11ae3e);_0x48b233[_0x13b77c(0x2cc)](_0x552e14=>{const _0x104671=_0x13b77c,_0x1f3289=_0x20279a[_0x104671(0x207)](_0x552e14);_0x1f3289!=null&&(_0x1f3289[_0x104671(0x2ad)]((_0x3e588d,_0xabac3e,_0x172d3a)=>{const _0xed8c2f=_0x104671;this[_0xed8c2f(0x2c3)](_0x172d3a),this[_0xed8c2f(0x26f)](_0x172d3a);}),_0x20279a[_0x104671(0x237)](_0x552e14),this[_0x104671(0x299)][_0x104671(0x237)](_0x552e14));}),_0x20279a[_0x13b77c(0x23c)]===0x0&&_0x40b90f[_0x13b77c(0x237)](_0x11ae3e),_0x40b90f[_0x13b77c(0x23c)]===0x0&&this['_otherFormulaData'][_0x13b77c(0x237)](_0x5b03a6);}}[_0x4cc054(0x1ff)](_0x4ee1de,_0x3348ae){const _0x3ef6f4=_0x4cc054,_0x31c10b=this[_0x3ef6f4(0x225)][_0x3ef6f4(0x207)](_0x4ee1de);if(_0x3348ae&&_0x31c10b&&_0x31c10b[_0x3ef6f4(0x1e8)](_0x3348ae)){const _0x38d02c=_0x31c10b[_0x3ef6f4(0x207)](_0x3348ae);this['_removeDependencyRTreeCacheById'](_0x4ee1de,_0x3348ae);for(const _0x577c27 of _0x38d02c[_0x3ef6f4(0x1f0)]()){const _0x579c5b=_0x38d02c['get'](_0x577c27);_0x579c5b!=null&&(_0x579c5b[_0x3ef6f4(0x2ad)]((_0x30a52a,_0xf53a5e,_0x5b4707)=>{const _0x2d215e=_0x3ef6f4;this[_0x2d215e(0x202)][_0x2d215e(0x207)](_0x5b4707)&&this['_removeAllTreeMap'](_0x5b4707);}),this[_0x3ef6f4(0x299)][_0x3ef6f4(0x237)](_0x577c27));}_0x38d02c[_0x3ef6f4(0x248)]();}else{if(_0x31c10b){for(const _0x5b1a90 of _0x31c10b[_0x3ef6f4(0x1f0)]()){const _0x5a864b=_0x31c10b[_0x3ef6f4(0x207)](_0x5b1a90);this[_0x3ef6f4(0x251)](_0x4ee1de,_0x5b1a90);for(const _0x4fbc09 of _0x5a864b['keys']()){const _0x3499b4=_0x5a864b['get'](_0x4fbc09);_0x3499b4!=null&&(_0x3499b4[_0x3ef6f4(0x2ad)]((_0x55fa8c,_0x53d6ee,_0x1699ef)=>{const _0x54cc92=_0x3ef6f4;this[_0x54cc92(0x202)]['get'](_0x1699ef)&&this[_0x54cc92(0x26f)](_0x1699ef);}),this[_0x3ef6f4(0x299)][_0x3ef6f4(0x237)](_0x4fbc09));}}this['_otherFormulaData']['delete'](_0x4ee1de);}}}[_0x4cc054(0x236)](_0x234c99,_0x5bfbf6,_0x378142,_0x37d8ed){const _0x54e99b=_0x4cc054;this[_0x54e99b(0x2c2)][_0x54e99b(0x1e8)](_0x234c99)||this[_0x54e99b(0x2c2)]['set'](_0x234c99,new Map());const _0x389a19=this[_0x54e99b(0x2c2)][_0x54e99b(0x207)](_0x234c99);_0x389a19[_0x54e99b(0x1e8)](_0x5bfbf6)||_0x389a19[_0x54e99b(0x1f3)](_0x5bfbf6,new Map()),_0x389a19[_0x54e99b(0x207)](_0x5bfbf6)[_0x54e99b(0x1f3)](_0x378142,_0x37d8ed['treeId']);}['removeFeatureFormulaDependency'](_0xf5562,_0x106741,_0xe4c67b){const _0x39eb38=_0x4cc054,_0x52ff55=this[_0x39eb38(0x2c2)][_0x39eb38(0x207)](_0xf5562);if(_0x52ff55&&_0x52ff55['has'](_0x106741)){const _0xd892f6=_0x52ff55['get'](_0x106741);_0xe4c67b['forEach'](_0x209eab=>{const _0x24b313=_0x39eb38,_0x2abda8=_0xd892f6['get'](_0x209eab);_0x2abda8!=null&&(this[_0x24b313(0x2c3)](_0x2abda8),_0xd892f6[_0x24b313(0x237)](_0x209eab),this[_0x24b313(0x26f)](_0x2abda8));});}}[_0x4cc054(0x24d)](_0x340d0a,_0x408c6f){const _0x9a1381=_0x4cc054,_0x5dc272=this[_0x9a1381(0x2c2)][_0x9a1381(0x207)](_0x340d0a);if(_0x408c6f&&_0x5dc272&&_0x5dc272[_0x9a1381(0x1e8)](_0x408c6f)){const _0x25a329=_0x5dc272[_0x9a1381(0x207)](_0x408c6f);this[_0x9a1381(0x251)](_0x340d0a,_0x408c6f),_0x25a329[_0x9a1381(0x2cc)](_0x38f0df=>{_0x38f0df!=null&&this['_removeAllTreeMap'](_0x38f0df);}),_0x25a329[_0x9a1381(0x248)]();}else _0x5dc272&&(_0x5dc272[_0x9a1381(0x2cc)]((_0x34248d,_0x342a73)=>{const _0x494006=_0x9a1381;this[_0x494006(0x251)](_0x340d0a,_0x342a73),_0x34248d[_0x494006(0x2cc)](_0x1b7f39=>{const _0x3d0274=_0x494006;_0x1b7f39!=null&&this[_0x3d0274(0x26f)](_0x1b7f39);});}),this['_featureFormulaData'][_0x9a1381(0x237)](_0x340d0a));}[_0x4cc054(0x252)](_0x2b8f76,_0x5b225a,_0x4019d7,_0x8d60c5,_0x243b09){const _0x1fca2f=_0x4cc054;this[_0x1fca2f(0x288)][_0x1fca2f(0x1e8)](_0x2b8f76)||this[_0x1fca2f(0x288)][_0x1fca2f(0x1f3)](_0x2b8f76,new Map());const _0x3c2d96=this['_formulaData']['get'](_0x2b8f76);_0x3c2d96[_0x1fca2f(0x1e8)](_0x5b225a)||_0x3c2d96[_0x1fca2f(0x1f3)](_0x5b225a,new I[(_0x1fca2f(0x24b))]()),_0x3c2d96[_0x1fca2f(0x207)](_0x5b225a)[_0x1fca2f(0x2b5)](_0x4019d7,_0x8d60c5,_0x243b09[_0x1fca2f(0x247)]);}[_0x4cc054(0x29a)](_0x3eb403,_0x3e223e,_0x288604,_0x35b3c3){const _0x1de698=_0x4cc054,_0x41ef86=this[_0x1de698(0x288)][_0x1de698(0x207)](_0x3eb403);if(_0x41ef86&&_0x41ef86[_0x1de698(0x1e8)](_0x3e223e)){const _0x306515=_0x41ef86[_0x1de698(0x207)](_0x3e223e),_0x441872=_0x306515[_0x1de698(0x20f)](_0x288604,_0x35b3c3);if(_0x441872==null)return;this['_removeDependencyRTreeCache'](_0x441872),_0x306515[_0x1de698(0x223)](_0x288604,_0x35b3c3),this[_0x1de698(0x26f)](_0x441872);}}[_0x4cc054(0x29c)](_0x5b62de,_0x3d1c3a){const _0x2066b5=_0x4cc054,_0x226d84=this[_0x2066b5(0x288)]['get'](_0x5b62de);if(_0x3d1c3a&&_0x226d84&&_0x226d84[_0x2066b5(0x1e8)](_0x3d1c3a)){const _0x123457=_0x226d84[_0x2066b5(0x207)](_0x3d1c3a);this[_0x2066b5(0x251)](_0x5b62de,_0x3d1c3a),_0x123457['forValue']((_0x3759dd,_0x250ede,_0x5dc03e)=>{if(_0x5dc03e==null)return!0x0;this['_removeAllTreeMap'](_0x5dc03e);}),_0x123457[_0x2066b5(0x2d3)]();}else _0x226d84&&(_0x226d84[_0x2066b5(0x2cc)]((_0x250b1a,_0x41d0cf)=>{const _0x273ebc=_0x2066b5;this[_0x273ebc(0x251)](_0x5b62de,_0x41d0cf),_0x250b1a[_0x273ebc(0x2ad)]((_0xc1b5f9,_0x5c26ff,_0x14f96f)=>{const _0xc86f30=_0x273ebc;if(_0x14f96f==null)return!0x0;this[_0xc86f30(0x26f)](_0x14f96f);});}),this[_0x2066b5(0x288)][_0x2066b5(0x237)](_0x5b62de));}[_0x4cc054(0x2c3)](_0x4ebb0a){const _0x5790e3=_0x4cc054;if(_0x4ebb0a==null)return;const _0xd2b3fc=this['_allTreeMap'][_0x5790e3(0x207)](_0x4ebb0a);if(_0xd2b3fc){const _0x1b89d7=[];for(const [_0x22088d,_0x4b082d]of _0xd2b3fc)for(const [_0x4d2aee,_0x328f95]of _0x4b082d)_0x1b89d7['push']({'unitId':_0x22088d,'sheetId':_0x4d2aee,'range':_0x328f95,'id':_0x4ebb0a});this[_0x5790e3(0x2cf)][_0x5790e3(0x24a)](_0x1b89d7);}}[_0x4cc054(0x24c)](_0x2f0b11,_0x1a5e8c){const _0x46d142=_0x4cc054,_0x5e1ad9=this['_definedNameMap']['get'](_0x2f0b11);if(_0x5e1ad9){const _0x308c62=_0x5e1ad9[_0x46d142(0x207)](_0x1a5e8c);if(_0x308c62){for(const _0x1e43f3 of _0x308c62)this['_removeDependencyRTreeCache'](_0x1e43f3),this[_0x46d142(0x26f)](_0x1e43f3);_0x308c62[_0x46d142(0x248)]();}}}['openKdTree'](){const _0x54211f=_0x4cc054;this[_0x54211f(0x2cf)][_0x54211f(0x2da)]();}[_0x4cc054(0x2d1)](){const _0x1ba6a9=_0x4cc054;this['_dependencyRTreeCache'][_0x1ba6a9(0x2d1)]();}[_0x4cc054(0x26f)](_0x5766d6){const _0x436a0a=_0x4cc054;_0x5766d6!=null&&this[_0x436a0a(0x202)][_0x436a0a(0x237)](_0x5766d6);}[_0x4cc054(0x26c)](_0x537eb1){const _0x337c21=_0x4cc054;var _0x211241,_0x2fd1c4;const _0x44e34f=_0x537eb1['rangeList'];let _0x380d4a=this[_0x337c21(0x202)][_0x337c21(0x207)](_0x537eb1[_0x337c21(0x247)]);for(let _0x3ceaad=0x0;_0x3ceaad<_0x44e34f[_0x337c21(0x2b8)];_0x3ceaad++){const _0x28f0d9=_0x44e34f[_0x3ceaad];let {unitId:_0x2d9b72,sheetId:_0x27a1b1,range:_0x5350b0}=_0x28f0d9;_0x380d4a||(_0x380d4a=new Map(),this[_0x337c21(0x202)][_0x337c21(0x1f3)](_0x537eb1['treeId'],_0x380d4a)),_0x380d4a[_0x337c21(0x1e8)](_0x2d9b72)||_0x380d4a[_0x337c21(0x1f3)](_0x2d9b72,new Map());const _0x5a7c16=(_0x211241=_0x380d4a==null?void 0x0:_0x380d4a[_0x337c21(0x207)](_0x2d9b72))==null?void 0x0:_0x211241[_0x337c21(0x207)](_0x27a1b1);_0x5a7c16&&(_0x5350b0={'startRow':Math[_0x337c21(0x2b1)](_0x5350b0[_0x337c21(0x2ab)],_0x5a7c16[_0x337c21(0x2ab)]),'startColumn':Math[_0x337c21(0x2b1)](_0x5350b0[_0x337c21(0x21e)],_0x5a7c16[_0x337c21(0x21e)]),'endRow':Math[_0x337c21(0x2b2)](_0x5350b0['endRow'],_0x5a7c16[_0x337c21(0x2c5)]),'endColumn':Math[_0x337c21(0x2b2)](_0x5350b0['endColumn'],_0x5a7c16['endColumn'])}),(_0x2fd1c4=_0x380d4a[_0x337c21(0x207)](_0x2d9b72))==null||_0x2fd1c4['set'](_0x27a1b1,_0x5350b0);}}}var G=Object[_0x4cc054(0x23e)],W=(_0x4f4268,_0x588c87,_0x58f196,_0x4fb1c9)=>{const _0x13422e=_0x4cc054;for(var _0x16ce1d=_0x4fb1c9>0x1?void 0x0:_0x4fb1c9?G(_0x588c87,_0x58f196):_0x588c87,_0x7a0157=_0x4f4268[_0x13422e(0x2b8)]-0x1,_0x167357;_0x7a0157>=0x0;_0x7a0157--)(_0x167357=_0x4f4268[_0x7a0157])&&(_0x16ce1d=_0x167357(_0x16ce1d)||_0x16ce1d);return _0x16ce1d;};const X=Number[_0x4cc054(0x2d7)](0x695f53f6);exports[_0x4cc054(0x206)]=class extends s[_0x4cc054(0x266)]{[_0x4cc054(0x22e)](){const _0x3f9825=_0x4cc054;var _0x2af761,_0x56cf80;this[_0x3f9825(0x25e)]()?(this['_injector'][_0x3f9825(0x25c)]([s[_0x3f9825(0x257)],{'useClass':A}]),(_0x2af761=this[_0x3f9825(0x2dd)])!=null&&_0x2af761[_0x3f9825(0x22b)]||[[s[_0x3f9825(0x23a)],{'useClass':z}],[s['IDependencyManagerService'],{'useClass':$}],[s[_0x3f9825(0x2bd)],{'useClass':Y}]][_0x3f9825(0x2cc)](_0x49321d=>this[_0x3f9825(0x241)][_0x3f9825(0x25c)](_0x49321d))):(this[_0x3f9825(0x241)][_0x3f9825(0x25c)]([s[_0x3f9825(0x257)],{'useClass':s['LexerTreeBuilder']}]),(_0x56cf80=this['_config'])!=null&&_0x56cf80['notExecuteFormula']||[[s[_0x3f9825(0x23a)],{'useClass':s[_0x3f9825(0x273)]}],[s[_0x3f9825(0x2bb)],{'useClass':s[_0x3f9825(0x1f5)]}],[s['IFormulaDependencyGenerator'],{'useClass':s[_0x3f9825(0x29b)]}]][_0x3f9825(0x2cc)](_0x342817=>this[_0x3f9825(0x241)][_0x3f9825(0x25c)](_0x342817)));}['_initLicenseValid'](){const _0x1650a9=_0x4cc054;var _0x1156a0;const _0x4f5100=(_0x1156a0=this[_0x1650a9(0x253)][_0x1650a9(0x2a8)](M[_0x1650a9(0x1e9)]))!=null?_0x1156a0:{},{ls:_0x59ae1f,pbk:_0x102ffc}=_0x4f5100;if(!_0x59ae1f||!_0x102ffc)return!0x1;const _0x2e13a8=M[_0x1650a9(0x246)](B,K),_0x4427d2=new Function('return\x20'+_0x2e13a8)()(_0x59ae1f,_0x102ffc),_0x36fc4d=_0x4427d2[_0x1650a9(0x279)];return _0x4427d2[_0x1650a9(0x26d)]&&M[_0x1650a9(0x2d6)](_0x36fc4d,'sf',X)?M[_0x1650a9(0x2cb)](_0x36fc4d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=W([I['DependentOn'](M[_0x4cc054(0x2a6)])],exports[_0x4cc054(0x206)]),exports[_0x4cc054(0x1fd)]=A,Object[_0x4cc054(0x1f0)](s)['forEach'](_0x2f8e78=>{const _0x16c83b=_0x4cc054;_0x2f8e78!==_0x16c83b(0x1fc)&&!Object['prototype'][_0x16c83b(0x275)][_0x16c83b(0x29e)](exports,_0x2f8e78)&&Object[_0x16c83b(0x220)](exports,_0x2f8e78,{'enumerable':!0x0,'get':()=>s[_0x2f8e78]});});function _0x3a10(){const _0xb51f51=['2006312MQdlJd','_currentConfigService','_otherFormulaDataMainData','removeFormulaDependency','FormulaDependencyGenerator','clearFormulaDependency','executeAsync','call','getToken','DEFAULT_TOKEN_LET_FUNCTION_NAME','hasOtherFormulaDataMainData','_getTreeById','enableCycleDependency','_clearPrefix','NEW_EXCEL_FUNCTIONS','UniverLicensePlugin','unitId','getConfig','string','generate','startRow','_checkAddBracketForMinus','forValue','getExcludedRange','_checkIsCycleDependency','rowCount','min','max','FEATURE_FORMULA','toUpperCase','setValue','dependencySheetName','IDLE','length','_handleTextNodeForExprTree','1480998dxseTN','IDependencyManagerService','generateRandomDependencyTreeId','IFormulaDependencyGenerator','isVirtual','36370wzedyx','\x22\x20is\x20duplicated.','/*\x20rgjIaf-SIgNtjr\x20znrhrn-frRzjNfr\x20*/hMaVfIca\x20SrVnPzfIca(jIVragr,\x20zMtjIVQrP)\x20{\x20\x20\x20\x20fnP\x20{\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20jIVragrFahcyNnfennNP\x20=\x20jIVragr.gzjIf(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20cnIDIaorggNDr\x20=\x20d3i6.zNngr(Nfct(jIVragrFahcyNnfennNP[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(!cnIDIaorggNDr.MS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cnIDIaorggNDr.MS\x20=\x206MRtrn(jIVragrFahcyNnfennNP[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Ig8cnvrn\x20=\x20fPzrch\x208cnvrnEjctNj3Vczr\x20!==\x20\x27MaSrhIarS\x27\x20&&\x20grjh\x20IagfNaVrch\x208cnvrnEjctNj3Vczr;\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Igpnc4grn\x20=\x20fPzrch\x204IaSc4\x20!==\x20\x27MaSrhIarS\x27\x20&&\x20fPzrch\x204IaSc4.jcVNfIca\x20!==\x20\x27MaSrhIarS\x27;\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Vcafrwf\x20=\x20Ig8cnvrn\x20?\x20grjh\x20:\x20(Igpnc4grn\x20?\x204IaSc4\x20:\x20DjctNjxLIg);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20RrggNDr8cnS\x20=\x20Vcafrwf.__pNgrmu__.zNngr(jIVragrFahcyNnfennNP[9]);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20RrggNDr\x20=\x20Vcafrwf.__krw__.gfnIaDIhP(RrggNDr8cnS);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaNfMnr8cnS\x20=\x20Vcafrwf.__pNgrmu__.zNngr(jIVragrFahcyNnfennNP[0]);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaNfMnr\x20=\x20Vcafrwf.__krw__.gfnIaDIhP(gIDaNfMnr8cnS);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaWNjIS\x20=\x20Vcafrwf.__KrnIhP__(gIDaNfMnr,\x20RrggNDr,\x20zMtjIVQrP);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20ScRNIa\x20=\x20cnIDIaorggNDr.SR;\x20\x20\x20\x20\x20\x20\x20\x20hMaVfIca\x20IgYcRNIaoNfVLIaD(zNffrna,\x20Lcgf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(zNffrna\x20===\x20Lcgf)\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(zNffrna.gfNnfg8IfL(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gMhhIw\x20=\x20zNffrna.gjIVr(9);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(gMhhIw\x20&&\x20gMhhIw\x20===\x20Lcgf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(gMhhIw\x20&&\x20!Lcgf.gfNnfg8IfL(\x27.\x27)\x20&&\x20Lcgf.raSg8IfL(\x27.\x27\x20+\x20gMhhIw))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20hNjgr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jrf\x20ScRNIaWNjIS\x20=\x20hNjgr;\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(Igpnc4grn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20(ScRNIa\x20&&\x20ScRNIa.jraDfL)\x20?\x20ScRNIa.gcRr((SRFfrR)\x20=>\x20IgYcRNIaoNfVLIaD(SRFfrR,\x20jcVNfIca.LcgfaNRr))\x20:\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(jcVNfIca.LcgfaNRr\x20===\x20\x27jcVNjLcgf\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20rjgr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20KNjIS\x20=\x20gIDaWNjIS\x20&&\x20ScRNIaWNjIS;\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KNjIS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RrggNDr:\x20cnIDIaorggNDr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20VNfVL\x20(rnncn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KNjIS:\x20hNjgr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RrggNDr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_featureFormulaData','_removeDependencyRTreeCache','setAdded','endRow','_getAllTreeList','toRTreeItem','execute','from','matchToken','getSheetFeatureLimit','forEach','isStopExecution','LexerNode','_dependencyRTreeCache','_dependencyManagerService','closeKdTree','inRangeData','reset','dirtyRanges','VALUE','isFeatureAuthorizedWithinTime','parseInt','generateAstNode','getClearDependencyTreeCache','openKdTree','startIndex','_getUpdateTreeListAndMakeDependency','_config','_generateNewFunctionString','_isCyclicUtilMap','children','column','START_DEPENDENCY_ARRAY_FORMULA','setCompletedFormulasCount','_startFormulaDependencyTreeModel','_registerOtherFormulas','formula','startsWith','_getFeatureFormulaTree','has','LS_CONFIG_KEY','ErrorType','setTotalArrayFormulasToCalculate','_getCurNodeTypeForExprTree','setDependencyTreeModelData','_lambdaFunctionParameterSet','intervalCount','keys','endsWith','addFormulaDependencyByDefinedName','set','isReferenceString','DependencyManagerService','dispose','getStartIndex','_getTableNameFromStructuredRef','setRuntimeOtherData','getFormulaDependency','isDirty','default','LexerTreeProBuilder','_generateExprTree','clearOtherFormulaDependency','formulaId','COLON','_allTreeMap','refTree','row','DependencyManagerBaseService','UniverProFormulaEnginePlugin','get','DEFAULT_TOKEN_TYPE_ROOT','getUnitData','164lUVYuJ','node','_apply','checkAsyncNode','CURRENTLY_CALCULATING_ARRAY_FORMULA','getValue','bulkSearch','_handleLambdaForExprTree','rangeList','FormulaDependencyTree','addOtherFormulaDependencyMainData','getDirtyRanges','refOffsetY','join','MINUS','isAdded','SUFFIX_TOKEN_SET','1186131AcLYTp','setRuntimeFeatureCellData','trim','startColumn','pop','defineProperty','START_CALCULATION_ARRAY_FORMULA','_dependencyTreeCache','realDeleteValue','_xlpmPrefix','_otherFormulaData','_createFDtree','featureId','FormulaExecuteStageType','type','sheetId','notExecuteFormula','OTHER_FORMULA','_clearFunctionString','_initializeWithOverride','addOtherFormulaDependency','Lambda\x20parameter\x20name\x20\x22','markedAsSuccessfullyExecuted','OPERATOR_TOKEN_SET','values','getRuntimeState','isCache','addFeatureFormulaDependency','delete','DEFAULT_TOKEN_TYPE_PARAMETER','symbol','ICalculateFormulaService','_interpreter','size','slice','getOwnPropertyDescriptor','subUnitId','getDirtyData','_injector','prefixToken','range','_xlpm.','Let\x20variable\x20name\x20\x22','unshiftString','treeId','clear','resolve','bulkRemove','ObjectMatrix','removeFormulaDependencyByDefinedName','clearFeatureFormulaDependency','_checkColonNodeForExprTree','17866SEGYqU','_getAllDependencyJson','_removeDependencyRTreeCacheById','addFormulaDependency','_configService','searchDependency','_astTreeBuilder','6722271SQWmWt','LexerTreeBuilder','_convertDirtyRangesToUnitRange','refOffsetX','splitTableStructuredRef','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','add','getFeatureFormulaDependency','_initLicenseValid','getFormulaExprTree','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_dependencyRTreeCacheForAddressFunction','setCompletedArrayFormulasCount','RTree','_calculateRunList','treeBuilder','UniverFormulaEnginePlugin','FormulaDependencyTreeType','setFormulaExecuteStage','getAllRuntimeData','_runtimeService','8KqThSE','_addAllTreeMap','valid','clearArrayObjectCache','_removeAllTreeMap','START_DEPENDENCY','_traverse','306218QHHImk','CalculateFormulaService','push','hasOwnProperty','_restDependencyTreeId','markedAsStopFunctionsExecuted','_xlfn.','message','columnCount','_isCalculateTreeModel','isForceCalculate','_hasNewExcelFunction','_handleChildrenForExprTree','_lexer','getOtherFormulaDependency','FormulaDependencyTreeVirtual','setSkip','_handleNewFunctionChild','removeOtherFormulaDependency','_currentUnitId','isArray','_resetPrefix','_formulaData','setRuntimeFeatureRange','_executionInProgressListener$','markedAsNoFunctionsExecuted','getNewFormulaWithPrefix','_xlfnPrefix','_formulaDependencyTreeModel','_initializeGenerateTreeList','isSkip','next','Module','getOtherFormulaData','_getDependencyTreeChildrenIds','getChildren','resetCalculationState'];_0x3a10=function(){return _0xb51f51;};return _0x3a10();}
|
|
1
|
+
'use strict';const _0x1b82e2=_0x2657;(function(_0x4649bc,_0xf3fd41){const _0x24426f=_0x2657,_0x1009c8=_0x4649bc();while(!![]){try{const _0x2f4fbd=parseInt(_0x24426f(0xf1))/0x1*(-parseInt(_0x24426f(0x1e1))/0x2)+parseInt(_0x24426f(0x1aa))/0x3+parseInt(_0x24426f(0x129))/0x4+parseInt(_0x24426f(0x173))/0x5*(parseInt(_0x24426f(0x1d9))/0x6)+-parseInt(_0x24426f(0x186))/0x7+parseInt(_0x24426f(0x1ae))/0x8*(parseInt(_0x24426f(0xfe))/0x9)+-parseInt(_0x24426f(0x159))/0xa*(parseInt(_0x24426f(0x154))/0xb);if(_0x2f4fbd===_0xf3fd41)break;else _0x1009c8['push'](_0x1009c8['shift']());}catch(_0x283730){_0x1009c8['push'](_0x1009c8['shift']());}}}(_0x1907,0xd4e65));var U=Object[_0x1b82e2(0x185)],V=(_0xfa02e0,_0x5f1de6,_0x1a7a52)=>_0x5f1de6 in _0xfa02e0?U(_0xfa02e0,_0x5f1de6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a7a52}):_0xfa02e0[_0x5f1de6]=_0x1a7a52,D=(_0x19d3fe,_0x2f7e28,_0xb9fdb5)=>V(_0x19d3fe,typeof _0x2f7e28!='symbol'?_0x2f7e28+'':_0x2f7e28,_0xb9fdb5);Object['defineProperty'](exports,Symbol[_0x1b82e2(0x110)],{'value':_0x1b82e2(0x191)});function _0x1907(){const _0x384418=['_executionInProgressListener$','START_CALCULATION_ARRAY_FORMULA','toUpperCase','markedAsNoFunctionsExecuted','Let\x20variable\x20name\x20\x22','removeFormulaDependency','_astTreeBuilder','153516SGPTKH','range','row','isSkip','next','_runtimeService','_xlfn.','getOtherFormulaDependency','431360gwzAlr','FormulaDependencyTree','FormulaExecuteStageType','min','startRow','DependencyManagerBaseService','_otherFormulaData','startIndex','_checkIsCycleDependency','_config','getToken','4vvzvJK','_createFDtree','prototype','LexerTreeProBuilder','_isCyclicUtilMap','forEach','clear','getRuntimeState','getFormulaDependency','searchDependency','bulkRemove','max','clearArrayObjectCache','31212YrpvYk','removeOtherFormulaDependency','getOwnPropertyDescriptor','isCache','_handleNewFunctionChild','refOffsetX','_apply','_resetPrefix','SUFFIX_TOKEN_SET','removeFeatureFormulaDependency','valid','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setTotalArrayFormulasToCalculate','addFormulaDependency','getAllRuntimeData','_currentUnitId','_clearPrefix','_getUpdateTreeListAndMakeDependency','toStringTag','getOtherFormulaData','setRuntimeFeatureRange','UniverProFormulaEnginePlugin','toRTreeItem','children','setCompletedArrayFormulasCount','_xlpm.','setRuntimeFeatureCellData','isAdded','from','_removeAllTreeMap','_initializeWithOverride','setValue','CalculateFormulaService','COLON','call','isForceCalculate','PLUS','_generateNewFunctionString','getStartIndex','generateRandomDependencyTreeId','getDirtyData','DependentOn','forValue','2634000DiedRa','LS_CONFIG_KEY','IDependencyManagerService','VALUE','_removeDependencyRTreeCache','checkAsyncNode','execute','_formulaDependencyTreeModel','getValue','_createVirtualFDtree','DEFAULT_TOKEN_TYPE_ROOT','clearOtherFormulaDependency','generate','clearFeatureFormulaDependency','_isCalculateTreeModel','addFormulaDependencyByDefinedName','trim','_getTableNameFromStructuredRef','_interpreter','subUnitId','closeKdTree','parseInt','delete','error','_generateExprTree','_getCurNodeTypeForExprTree','DEFAULT_TOKEN_TYPE_PARAMETER','_getTreeNode','_definedNameMap','join','formula','_convertDirtyRangesToUnitRange','pop','START_DEPENDENCY','getClearDependencyTreeCache','getConfig','_dependencyManagerService','splitTableStructuredRef','_initLicenseValid','set','unitId','getFormulaExprTree','_checkAddBracketForMinus','1146178owtGFN','isFeatureAuthorizedWithinTime','ObjectMatrix','setRuntimeOtherData','isStopExecution','50jbfzhe','setDependencyTreeModelData','sheetId','LexerNode','keys','matchToken','_traverse','startsWith','_getAllDependencyJson','setTotalFormulasToCalculate','bulkSearch','string','_formulaData','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','\x22\x20is\x20duplicated.','values','openKdTree','refTree','FormulaDependencyTreeType','getChildren','refOffsetY','_checkColonNodeForExprTree','_hasNewExcelFunction','resetCalculationState','_removeDependencyRTreeCacheById','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','165mCYRdy','executeAsync','_otherFormulaDataMainData','setSkip','generateAstNode','_lexer','MINUS','treeBuilder','setRuntimeData','intervalCount','_executionCompleteListener$','UniverLicensePlugin','ICalculateFormulaService','_startFormulaDependencyTreeModel','_configService','_lambdaFunctionParameterSet','columnCount','featureId','defineProperty','7026145MPcNme','_handleTextNodeForExprTree','notExecuteFormula','getExcludedRange','dirtyRanges','_injector','endColumn','setFormulaExecuteStage','ErrorType','has','_getFeatureFormulaTree','Module','endRow','get','add','_getDependencyTreeParenIds','_handleLambdaForExprTree','isArray','_dependencyRTreeCacheForAddressFunction','_clearFunctionString','message','CURRENTLY_CALCULATING','FormulaDependencyGenerator','length','value','size','_calculateRunList','DEFAULT_INTERVAL_COUNT','addOtherFormulaDependency','column','_dependencyTreeCache','_initializeGenerateTreeList','reset','_dependencyRTreeCache','slice','markedAsSuccessfullyExecuted','5082660kECxot','_currentConfigService','_registerFormulas','getNewFormulaWithPrefix','144aguCBR','formulaId','IDLE','LexerTreeBuilder','rowCount','NEW_EXCEL_FUNCTIONS','_updateRangeFlatten','_formulaDependencyGenerator','isReferenceString','resolve','treeId','_xlfnPrefix','OPERATOR_TOKEN_SET','requestImmediateMacroTask','inRangeData','startColumn','unshiftString','getSheetFeatureLimit','endsWith','_allTreeMap','dispose','addOtherFormulaDependencyMainData','DependencyManagerService','RTree','prefixToken','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','FormulaDependencyTreeVirtual','_featureFormulaData','_xlpmPrefix','push','rangeList','_generateTreeList','_handleChildrenForExprTree','addFeatureFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService'];_0x1907=function(){return _0x384418;};return _0x1907();}const a=require('@univerjs/engine-formula'),M=require('@univerjs-pro/license'),x=require('@univerjs/core');class L extends a[_0x1b82e2(0x1b1)]{constructor(){const _0x191eab=_0x1b82e2;super(...arguments),D(this,_0x191eab(0x16f),!0x1),D(this,'_lambdaFunctionParameterSet',new Set()),D(this,_0x191eab(0x1ca),_0x191eab(0x117)),D(this,_0x191eab(0x1b9),_0x191eab(0x1df)),D(this,_0x191eab(0x10d),'');}[_0x1b82e2(0x105)](){const _0xd05fcf=_0x1b82e2;this[_0xd05fcf(0x1ca)]=_0xd05fcf(0x117),this['_xlfnPrefix']=_0xd05fcf(0x1df);}[_0x1b82e2(0x10e)](){const _0x4fb860=_0x1b82e2;this[_0x4fb860(0x1ca)]='',this[_0x4fb860(0x1b9)]='';}[_0x1b82e2(0x1ad)](_0x593bd0,_0x1dd63f){const _0x464283=_0x1b82e2,_0x4d7b75=this[_0x464283(0x17a)](_0x593bd0,!0x1);if(!_0x4d7b75||_0x4d7b75===a[_0x464283(0x18e)][_0x464283(0x12c)]||Array['isArray'](_0x4d7b75))return null;const _0x5ee8ce=[];return this[_0x464283(0x16f)]=!0x1,this[_0x464283(0x123)](_0x4d7b75,_0x5ee8ce,_0x1dd63f),this['_hasNewExcelFunction']?'='+_0x5ee8ce[_0x464283(0x146)](''):null;}[_0x1b82e2(0x123)](_0x54ff8a,_0x14d5b9,_0x24db2e){const _0x216e7e=_0x1b82e2,_0x484191=_0x54ff8a[_0x216e7e(0xf0)](),_0x577d71=_0x484191[_0x216e7e(0x139)](),_0x4f0ed0=_0x577d71[_0x216e7e(0x1d4)](),_0x3496c1=this[_0x216e7e(0x199)](_0x4f0ed0),_0x5ab99b=_0x24db2e(_0x3496c1);let _0x58323e=0x0;_0x484191===a[_0x216e7e(0x133)]?_0x58323e=0x3:_0x484191===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x58323e=0x4:_0x484191===a[_0x216e7e(0x166)]?_0x58323e=0x5:a[_0x216e7e(0x1b3)]['has'](_0x3496c1)?(_0x14d5b9['push'](''+this[_0x216e7e(0x1b9)]+_0x577d71),this[_0x216e7e(0x16f)]=!0x0):_0x4f0ed0===a[_0x216e7e(0x172)]?(_0x14d5b9[_0x216e7e(0x1cb)](''+this[_0x216e7e(0x1b9)]+_0x577d71),this[_0x216e7e(0x16f)]=!0x0,_0x58323e=0x2):_0x4f0ed0===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x14d5b9[_0x216e7e(0x1cb)](''+this['_xlfnPrefix']+_0x577d71),this[_0x216e7e(0x16f)]=!0x0,_0x58323e=0x1):_0x4f0ed0===a[_0x216e7e(0x15e)][_0x216e7e(0x11f)]?_0x58323e=0x8:a[_0x216e7e(0x106)][_0x216e7e(0x18f)](_0x4f0ed0)?_0x58323e=0x7:_0x4f0ed0===a['prefixToken'][_0x216e7e(0x179)]?(this['_checkAddBracketForMinus'](_0x54ff8a)&&(_0x58323e=0x9),_0x14d5b9[_0x216e7e(0x1cb)](_0x484191)):(_0x14d5b9[_0x216e7e(0x1cb)](_0x484191),_0x58323e=0xa),_0x5ab99b?(_0x58323e!==0x2&&_0x58323e!==0x1&&(_0x58323e=0x6),_0x14d5b9[_0x216e7e(0x1cb)]('(')):_0x58323e===0x9&&_0x14d5b9['push']('(');const _0x4d7162=_0x54ff8a[_0x216e7e(0x16c)](),_0x2610fa=_0x4d7162['length'];if(_0x58323e===0x2){const _0x3b83b8=_0x4d7162[0x0];let _0xddb90d=0x0;_0x3b83b8 instanceof a[_0x216e7e(0x15c)]&&_0x3b83b8[_0x216e7e(0xf0)]()===a[_0x216e7e(0x166)]&&(_0xddb90d=0x1);for(let _0x10bde2=_0xddb90d;_0x10bde2<_0x2610fa-0x1;_0x10bde2++){const _0x2b6bbb=_0x4d7162[_0x10bde2];if(_0x2b6bbb instanceof a['LexerNode']){const _0x47585e=_0x2b6bbb[_0x216e7e(0x16c)]()[0x0];typeof _0x47585e=='string'&&(this[_0x216e7e(0x182)][_0x216e7e(0x18f)](_0x47585e)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x47585e+_0x216e7e(0x167)),this[_0x216e7e(0x182)][_0x216e7e(0x194)](_0x47585e),_0x14d5b9[_0x216e7e(0x1cb)](''+this[_0x216e7e(0x1ca)]+_0x47585e),this[_0x216e7e(0x16f)]=!0x0);}_0x14d5b9['push'](',');}this[_0x216e7e(0x102)](_0x4d7162[_0x2610fa-0x1],_0x14d5b9,_0x24db2e),_0xddb90d===0x1&&(_0x14d5b9[_0x216e7e(0x1cb)](')'),_0x14d5b9[_0x216e7e(0x1cb)]('('),this[_0x216e7e(0x123)](_0x3b83b8,_0x14d5b9,_0x24db2e)),_0x14d5b9[_0x216e7e(0x1cb)](')');return;}else{if(_0x58323e===0x1){for(let _0x48bb67=0x0;_0x48bb67<_0x2610fa-0x1;_0x48bb67++){const _0x2c39c9=_0x4d7162[_0x48bb67];if(_0x2c39c9 instanceof a[_0x216e7e(0x15c)]&&_0x48bb67%0x2===0x0){const _0x204cc0=_0x2c39c9[_0x216e7e(0x16c)]()[0x0];if(typeof _0x204cc0==_0x216e7e(0x164)){this[_0x216e7e(0x182)][_0x216e7e(0x18f)](_0x204cc0)&&console[_0x216e7e(0x140)](_0x216e7e(0x1d6)+_0x204cc0+_0x216e7e(0x167)),this[_0x216e7e(0x182)][_0x216e7e(0x194)](_0x204cc0),_0x14d5b9[_0x216e7e(0x1cb)](''+this['_xlpmPrefix']+_0x204cc0),this[_0x216e7e(0x16f)]=!0x0,_0x14d5b9[_0x216e7e(0x1cb)](',');continue;}}if(this[_0x216e7e(0x102)](_0x2c39c9,_0x14d5b9,_0x24db2e),_0x2c39c9 instanceof a[_0x216e7e(0x15c)]){const _0x5304af=_0x4d7162[_0x48bb67+0x1];_0x5304af&&_0x5304af instanceof a[_0x216e7e(0x15c)]&&_0x14d5b9[_0x216e7e(0x1cb)](',');}}this[_0x216e7e(0x102)](_0x4d7162[_0x2610fa-0x1],_0x14d5b9,_0x24db2e),_0x14d5b9[_0x216e7e(0x1cb)](')');return;}else{if(_0x58323e===0x8){const _0x46fb7e=_0x4d7162[0x0],_0x3d404e=_0x4d7162[0x1];this[_0x216e7e(0x102)](_0x46fb7e,_0x14d5b9,_0x24db2e),_0x14d5b9['push'](_0x484191),this[_0x216e7e(0x102)](_0x3d404e,_0x14d5b9,_0x24db2e);return;}}}for(let _0x20aa10=0x0;_0x20aa10<_0x2610fa;_0x20aa10++){const _0x21094c=_0x4d7162[_0x20aa10];if(this[_0x216e7e(0x102)](_0x21094c,_0x14d5b9,_0x24db2e),_0x21094c instanceof a[_0x216e7e(0x15c)]){const _0xdccd3c=_0x4d7162[_0x20aa10+0x1];_0xdccd3c&&_0xdccd3c instanceof a[_0x216e7e(0x15c)]&&_0x14d5b9['push'](',');}}_0x58323e===0x7&&_0x14d5b9[_0x216e7e(0x1cb)](_0x484191),(_0x5ab99b||_0x58323e===0x9)&&_0x14d5b9[_0x216e7e(0x1cb)](')');}['_handleNewFunctionChild'](_0x5c9ea6,_0x490f85,_0xdf3f9d){const _0x578b9d=_0x1b82e2;_0x5c9ea6 instanceof a['LexerNode']?this[_0x578b9d(0x123)](_0x5c9ea6,_0x490f85,_0xdf3f9d):this[_0x578b9d(0x182)]['has'](_0x5c9ea6)?(_0x490f85[_0x578b9d(0x1cb)](''+this[_0x578b9d(0x1ca)]+_0x5c9ea6),this['_hasNewExcelFunction']=!0x0):_0x490f85[_0x578b9d(0x1cb)](_0x5c9ea6);}['_clearFunctionString'](_0x4567cd){const _0x439995=_0x1b82e2;let _0x1f21a5=_0x4567cd[_0x439995(0x139)]();if(!_0x1f21a5)return _0x1f21a5;const _0xbdbe5b=_0x1f21a5[0x0];if((_0xbdbe5b===a[_0x439995(0x1c6)]['AT']||_0xbdbe5b===a[_0x439995(0x1c6)][_0x439995(0x179)]||_0xbdbe5b===a[_0x439995(0x1c6)][_0x439995(0x122)])&&(_0x1f21a5=_0x1f21a5[_0x439995(0x1a8)](0x1)),!_0x1f21a5)return _0x1f21a5;const _0x2b0b82=_0x1f21a5[_0x1f21a5[_0x439995(0x19d)]-0x1];return a[_0x439995(0x106)][_0x439995(0x18f)](_0x2b0b82)&&(_0x1f21a5=_0x1f21a5[_0x439995(0x1a8)](0x0,-0x1)),_0x1f21a5;}[_0x1b82e2(0x153)](_0x53fca6){const _0x2fb36e=_0x1b82e2,_0x22d956=_0x53fca6[_0x2fb36e(0x16c)]()[0x0];if(!_0x22d956||!(_0x22d956 instanceof a[_0x2fb36e(0x15c)])||_0x53fca6[_0x2fb36e(0x16c)]()[_0x2fb36e(0x19d)]>0x1)return!0x1;const _0x527277=_0x22d956[_0x2fb36e(0x16c)](),_0x539c6b=_0x527277[_0x2fb36e(0x19d)];if(_0x539c6b===0x1)return!0x1;for(let _0x955f59=0x0;_0x955f59<_0x539c6b;_0x955f59++){const _0x22763b=_0x527277[_0x955f59];if(!(_0x22763b instanceof a[_0x2fb36e(0x15c)])&&a[_0x2fb36e(0x1ba)]['has'](_0x22763b))return!0x0;}return!0x1;}[_0x1b82e2(0x152)](_0x55a286,_0x19b3fe,_0x226f46,_0x43c232,_0x3db2ec){const _0x49b050=_0x1b82e2,_0xfc46cf=this[_0x49b050(0x17a)](_0x55a286,!0x1);if(!_0xfc46cf||_0xfc46cf===a[_0x49b050(0x18e)][_0x49b050(0x12c)]||Array[_0x49b050(0x197)](_0xfc46cf))return null;this[_0x49b050(0x10e)](),this[_0x49b050(0x10d)]=_0x19b3fe;const _0xacfd7b=this[_0x49b050(0x141)](_0xfc46cf,_0x226f46,_0x43c232,_0x3db2ec);return this['_currentUnitId']='',this[_0x49b050(0x105)](),_0xacfd7b;}['_generateExprTree'](_0x28e5c7,_0x3e3c67,_0x445ad5,_0x1b4326){const _0x197115=_0x1b82e2,_0x5c987b={'value':'','children':[],'startIndex':0x0};let _0x36e090=_0x28e5c7;if(_0x36e090 instanceof a[_0x197115(0x15c)]&&(_0x36e090[_0x197115(0xf0)]()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x36e090[_0x197115(0xf0)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x36e090[_0x197115(0x16c)]()[_0x197115(0x19d)]===0x1&&(_0x36e090=_0x36e090['getChildren']()[0x0]),!(_0x36e090 instanceof a[_0x197115(0x15c)]))return this[_0x197115(0x187)](_0x36e090,_0x445ad5,_0x1b4326);const _0x417b6f=_0x36e090[_0x197115(0x16c)](),_0x5add23=_0x417b6f[_0x197115(0x19d)],_0x2e2271=[];this[_0x197115(0x123)](_0x36e090,_0x2e2271,_0x3e3c67),_0x5c987b[_0x197115(0x19e)]=_0x2e2271['join'](''),_0x5c987b[_0x197115(0x1e8)]=_0x36e090[_0x197115(0x124)]();const _0x5b1371=this['_getCurNodeTypeForExprTree'](_0x36e090);if(_0x5b1371===0x2){const _0x465313=_0x417b6f[0x0];if(_0x465313 instanceof a[_0x197115(0x15c)]){if(_0x465313['getToken']()[_0x197115(0x139)]()!==a[_0x197115(0x166)])return _0x5c987b;this[_0x197115(0x196)](_0x465313,_0x5c987b,_0x3e3c67,_0x445ad5,_0x1b4326);}return _0x5c987b;}else{if(_0x5b1371===0x1){for(let _0x58a08c=0x0;_0x58a08c<_0x5add23-0x1;_0x58a08c++){const _0x3f6c88=_0x417b6f[_0x58a08c];if(_0x3f6c88 instanceof a['LexerNode']&&_0x58a08c%0x2===0x1){const _0x242ed9=_0x3f6c88[_0x197115(0x16c)]();if(_0x242ed9[_0x197115(0x19d)]===0x1&&!(_0x242ed9[0x0]instanceof a[_0x197115(0x15c)]))continue;const _0x1a45ae=this[_0x197115(0x141)](_0x3f6c88,_0x3e3c67,_0x445ad5,_0x1b4326);_0x1a45ae&&_0x5c987b[_0x197115(0x115)]['push'](_0x1a45ae);}}return _0x5c987b;}else{if(_0x5b1371===0x8){const _0x42aa64=_0x417b6f[0x0];if(_0x42aa64 instanceof a['LexerNode']){const _0x1c8839=_0x42aa64[_0x197115(0x16c)]()[0x0];_0x1c8839 instanceof a[_0x197115(0x15c)]&&(_0x5c987b[_0x197115(0x1e8)]=_0x1c8839[_0x197115(0x124)]());}if(this[_0x197115(0x16e)](_0x36e090))return _0x5c987b;}else{if(_0x5b1371===0x7){const _0x1884d7=_0x417b6f[0x0];if(_0x1884d7 instanceof a['LexerNode']){const _0x42d785=_0x1884d7[_0x197115(0x16c)]()[0x0];_0x42d785 instanceof a[_0x197115(0x15c)]&&(_0x5c987b[_0x197115(0x1e8)]=_0x42d785['getStartIndex']());}}}}}return this[_0x197115(0x1ce)](_0x417b6f,_0x5b1371,_0x5c987b,_0x3e3c67,_0x445ad5,_0x1b4326),_0x5c987b;}[_0x1b82e2(0x1ce)](_0xf56af9,_0x29ae62,_0x57c739,_0x1ee89f,_0x3058ec,_0x191847){const _0x25afb8=_0x1b82e2;for(let _0xe78c43=0x0;_0xe78c43<_0xf56af9[_0x25afb8(0x19d)];_0xe78c43++){let _0x4749d2=_0xf56af9[_0xe78c43];if(!(_0x4749d2 instanceof a[_0x25afb8(0x15c)])){const _0x5e7da1=this[_0x25afb8(0x187)](_0x4749d2,_0x3058ec,_0x191847);_0x5e7da1&&_0x57c739[_0x25afb8(0x115)][_0x25afb8(0x1cb)](_0x5e7da1);continue;}const _0xfecf6f=_0x4749d2[_0x25afb8(0x16c)]();if(_0xfecf6f[_0x25afb8(0x19d)]===0x1&&!(_0xfecf6f[0x0]instanceof a[_0x25afb8(0x15c)])){const _0x50aaba=_0xfecf6f[0x0];if(!_0x3058ec(this['_currentUnitId'],_0x50aaba)&&!this['_getTableNameFromStructuredRef'](_0x50aaba,_0x191847)&&!a['isReferenceString'](_0x50aaba))continue;}if(_0x29ae62===0x8){const _0x186a66=_0xfecf6f[0x0];if(_0x186a66 instanceof a[_0x25afb8(0x15c)]){const _0x227c2f=_0x186a66[_0x25afb8(0xf0)]()['trim']();if(a[_0x25afb8(0x1b6)](_0x227c2f))continue;_0x4749d2=_0x186a66;}}const _0x15b9fe=this[_0x25afb8(0x141)](_0x4749d2,_0x1ee89f,_0x3058ec,_0x191847);_0x15b9fe&&_0x57c739[_0x25afb8(0x115)][_0x25afb8(0x1cb)](_0x15b9fe);}}[_0x1b82e2(0x16e)](_0x3b9fed){const _0xe68e2f=_0x1b82e2,_0x4ccde6=_0x3b9fed[_0xe68e2f(0x16c)]();if(_0x4ccde6[_0xe68e2f(0x19d)]<0x2)return!0x1;const _0x508809=_0x4ccde6[0x0],_0x538d2c=_0x4ccde6[0x1];if(!(_0x508809 instanceof a[_0xe68e2f(0x15c)])||!(_0x538d2c instanceof a[_0xe68e2f(0x15c)]))return!0x1;const _0x134b0d=_0x508809[_0xe68e2f(0x16c)]()[0x0],_0x400d47=_0x538d2c[_0xe68e2f(0x16c)]()[0x0];if(!(_0x134b0d instanceof a[_0xe68e2f(0x15c)])||!(_0x400d47 instanceof a[_0xe68e2f(0x15c)]))return!0x1;const _0x52899f=_0x134b0d['getToken']()[_0xe68e2f(0x139)](),_0x1afc70=_0x400d47[_0xe68e2f(0xf0)]()[_0xe68e2f(0x139)]();return!!a[_0xe68e2f(0x1b6)](''+_0x52899f+a[_0xe68e2f(0x15e)][_0xe68e2f(0x11f)]+_0x1afc70);}[_0x1b82e2(0x187)](_0x18d132,_0x43f61a,_0x5c4c96){const _0x4e9423=_0x1b82e2,_0x1c9106=_0x18d132[_0x4e9423(0x139)]();return _0x1c9106[_0x4e9423(0x160)]('{')&&_0x1c9106[_0x4e9423(0x1c0)]('}')||_0x43f61a(this[_0x4e9423(0x10d)],_0x1c9106)||this[_0x4e9423(0x13a)](_0x1c9106,_0x5c4c96)||a['isReferenceString'](_0x1c9106)?{'value':_0x1c9106,'children':[],'startIndex':-0x1}:null;}[_0x1b82e2(0x13a)](_0x1f2168,_0x424271){const _0x124100=_0x1b82e2,{tableName:_0x46a726}=a[_0x124100(0x14e)](_0x1f2168);return _0x424271(this[_0x124100(0x10d)],_0x46a726)?_0x46a726:null;}[_0x1b82e2(0x196)](_0x183abf,_0x589a5a,_0xb09d54,_0x95a99d,_0x22f93d){const _0x3681ed=_0x1b82e2,_0x3a8bb3=_0x183abf[_0x3681ed(0x16c)]();for(let _0x65017e=0x0;_0x65017e<_0x3a8bb3['length'];_0x65017e++){const _0x1cc26e=_0x3a8bb3[_0x65017e];if(!(_0x1cc26e instanceof a[_0x3681ed(0x15c)]))continue;const _0x3c91d4=_0x1cc26e[_0x3681ed(0x16c)]();if(_0x3c91d4[_0x3681ed(0x19d)]===0x1&&!(_0x3c91d4[0x0]instanceof a['LexerNode']))continue;const _0x3db29c=this[_0x3681ed(0x141)](_0x1cc26e,_0xb09d54,_0x95a99d,_0x22f93d);_0x3db29c&&_0x589a5a[_0x3681ed(0x115)][_0x3681ed(0x1cb)](_0x3db29c);}}[_0x1b82e2(0x142)](_0x2b54a3){const _0x47c3a9=_0x1b82e2,_0x175a02=_0x2b54a3['getToken'](),_0x45a6ab=_0x175a02[_0x47c3a9(0x139)]()[_0x47c3a9(0x1d4)]();let _0x3d6352=0x0;return _0x175a02===a[_0x47c3a9(0x133)]?_0x3d6352=0x3:_0x175a02===a[_0x47c3a9(0x143)]?_0x3d6352=0x4:_0x175a02===a[_0x47c3a9(0x166)]?_0x3d6352=0x5:_0x45a6ab===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x3d6352=0x2:_0x45a6ab===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x3d6352=0x1:_0x45a6ab===a[_0x47c3a9(0x15e)][_0x47c3a9(0x11f)]?_0x3d6352=0x8:a['SUFFIX_TOKEN_SET']['has'](_0x45a6ab)?_0x3d6352=0x7:_0x45a6ab===a[_0x47c3a9(0x1c6)]['MINUS']?this[_0x47c3a9(0x153)](_0x2b54a3)&&(_0x3d6352=0x9):_0x3d6352=0xa,_0x3d6352;}}const b={0x0:'8',0x1:'v',0x2:'s',0x3:'o',0x4:'O',0x5:'Z',0x6:'F',0x7:'1',0x8:'B',0x9:'M','g':'0','Z':'2','H':'3','M':'4','x':'5','I':'6','L':'7','n':'9','z':'a','Q':'b','J':'c','u':'d','C':'e','w':'f','k':'g','G':'h','T':'i','s':'j','r':'k','V':'l','a':'m','O':'n','b':'p','X':'q','W':'r','t':'t','P':'u','D':'w','j':'x','y':'y','F':'z','h':'A','o':'C','q':'D','N':'E','v':'G','S':'H','f':'I','m':'J','c':'K','p':'L','Y':'N','i':'P','B':'Q','K':'R','R':'S','U':'T','A':'U','d':'V','E':'W','l':'X','e':'Y'},J='/*\x20C2VTOt-uT2zQVC\x20bWCwCW-tCabVztC\x20*/wPOJtT3O\x20uCJWybtT3O(VTJCO2C,\x20bPQVTJcCy)\x20{\x20\x20\x20\x20tWy\x20{\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20VTJCO2CfOw3izWthWWzy\x20=\x20VTJCO2C.2bVTt(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x203WTkTO9C22zkC\x20=\x20mR4Y.bzW2C(zt3Q(VTJCO2CfOw3izWthWWzy[Z]));\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(!3WTkTO9C22zkC.Pu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203WTkTO9C22zkC.Pu\x20=\x20YPaQCW(VTJCO2CfOw3izWthWWzy[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T2E3WrCW\x20=\x20tybC3w\x20E3WrCWvV3QzVRJ3bC\x20!==\x20\x27POuCwTOCu\x27\x20&&\x202CVw\x20TO2tzOJC3w\x20E3WrCWvV3QzVRJ3bC;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T28W3D2CW\x20=\x20tybC3w\x20DTOu3D\x20!==\x20\x27POuCwTOCu\x27\x20&&\x20tybC3w\x20DTOu3D.V3JztT3O\x20!==\x20\x27POuCwTOCu\x27;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20J3OtCjt\x20=\x20T2E3WrCW\x20?\x202CVw\x20:\x20(T28W3D2CW\x20?\x20DTOu3D\x20:\x20kV3QzVUGT2);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[Z]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(aC22zkCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[H]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(2TkOztPWCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOdzVTu\x20=\x20J3OtCjt.__1CWTwy__(2TkOztPWC,\x20aC22zkC,\x20bPQVTJcCy);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20u3azTO\x20=\x203WTkTO9C22zkC.ua;\x20\x20\x20\x20\x20\x20\x20\x20wPOJtT3O\x20T2q3azTO9ztJGTOk(bzttCWO,\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO\x20===\x20G32t)\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO.2tzWt2ETtG(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202PwwTj\x20=\x20bzttCWO.2VTJC(Z);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x202PwwTj\x20===\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x20!G32t.2tzWt2ETtG(\x27.\x27)\x20&&\x20G32t.COu2ETtG(\x27.\x27\x20+\x202PwwTj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VCt\x20u3azTOdzVTu\x20=\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(T28W3D2CW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20(u3azTO\x20&&\x20u3azTO.VCOktG)\x20?\x20u3azTO.23aC((uaftCa)\x20=>\x20T2q3azTO9ztJGTOk(uaftCa,\x20V3JztT3O.G32tOzaC))\x20:\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(V3JztT3O.G32tOzaC\x20===\x20\x27V3JzVG32t\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20CV2C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x201zVTu\x20=\x202TkOdzVTu\x20&&\x20u3azTOdzVTu;\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x203WTkTO9C22zkC,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20JztJG\x20(CWW3W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu:\x20wzV2C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class B extends a[_0x1b82e2(0x19c)]{constructor(){const _0x4444d4=_0x1b82e2;super(...arguments),D(this,_0x4444d4(0x1a4),new Map());}['dispose'](){const _0x2ad1bb=_0x1b82e2;super[_0x2ad1bb(0x1c2)](),this['_dependencyTreeCache'][_0x2ad1bb(0xf7)]();}async[_0x1b82e2(0x135)](_0x18681c=!0x1){const _0x45534d=_0x1b82e2;this[_0x45534d(0x1b4)]();const _0x3cfbe8=this['_currentConfigService']['getFormulaData'](),_0x509a18=this[_0x45534d(0x1d1)][_0x45534d(0x111)](),_0x26f90f=this[_0x45534d(0x1ab)][_0x45534d(0x14b)]();_0x26f90f!=null&&Object['keys'](_0x26f90f)['forEach'](_0x199adb=>{const _0x571962=_0x45534d;_0x199adb!=null&&Object[_0x571962(0x15d)](_0x26f90f[_0x199adb])['forEach'](_0x1a8c89=>{const _0x3182d0=_0x571962;_0x1a8c89!=null&&(this[_0x3182d0(0x14d)][_0x3182d0(0x134)](_0x199adb,_0x1a8c89),this[_0x3182d0(0x14d)]['clearFeatureFormulaDependency'](_0x199adb,_0x1a8c89),this[_0x3182d0(0x14d)]['clearFormulaDependency'](_0x199adb,_0x1a8c89));});});const _0x2a3eab=this[_0x45534d(0x1ab)]['getUnitData']();await this[_0x45534d(0x1cd)](_0x3cfbe8,_0x509a18,_0x2a3eab),this[_0x45534d(0x14d)]['openKdTree']();const _0x33cacf=this['_getUpdateTreeListAndMakeDependency'](),_0xc811d8=this[_0x45534d(0x1a0)](_0x33cacf);return this[_0x45534d(0x1e9)](_0xc811d8)&&this[_0x45534d(0x1de)]['enableCycleDependency'](),_0x18681c&&this[_0x45534d(0x1de)][_0x45534d(0x15a)](this[_0x45534d(0x161)](Array[_0x45534d(0x11a)](this[_0x45534d(0x1a4)]['values']()))),this[_0x45534d(0x1a4)][_0x45534d(0xf7)](),this[_0x45534d(0x198)][_0x45534d(0xf7)](),this[_0x45534d(0x14d)][_0x45534d(0x13d)](),this[_0x45534d(0x1de)][_0x45534d(0xfd)](),Promise[_0x45534d(0x1b7)](_0xc811d8);}[_0x1b82e2(0xf5)](_0x1c627b,_0x2c3953){const _0x1b39d9=_0x1b82e2,_0xf1313b=[_0x1c627b];for(;_0xf1313b['length']>0x0;){const _0x3c9530=_0xf1313b[_0xf1313b[_0x1b39d9(0x19d)]-0x1];if((_0x2c3953[_0x1b39d9(0x193)](_0x3c9530)||0x0)===0x0){_0x2c3953['set'](_0x3c9530,0x1);const _0x98368a=this[_0x1b39d9(0x1a4)][_0x1b39d9(0x193)](_0x3c9530);if(_0x98368a==null){_0x2c3953[_0x1b39d9(0x150)](_0x3c9530,0x2),_0xf1313b[_0x1b39d9(0x149)]();continue;}const _0x4c6f3a=this['_dependencyManagerService'][_0x1b39d9(0xfa)](_0x98368a['toRTreeItem']());for(const _0x28d8af of _0x4c6f3a){const _0x4119b8=_0x2c3953['get'](_0x28d8af)||0x0;if(_0x4119b8===0x1)return!0x0;_0x4119b8===0x0&&_0xf1313b[_0x1b39d9(0x1cb)](_0x28d8af);}}else _0x2c3953[_0x1b39d9(0x150)](_0x3c9530,0x2),_0xf1313b['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x18e365){const _0x447f98=_0x1b82e2,_0x34dea0=new Map();for(const _0x139772 of _0x18e365)if(!_0x34dea0[_0x447f98(0x18f)](_0x139772[_0x447f98(0x1b8)])&&this['_isCyclicUtilMap'](_0x139772[_0x447f98(0x1b8)],_0x34dea0))return!0x0;return _0x34dea0[_0x447f98(0xf7)](),!0x1;}[_0x1b82e2(0x190)](_0x163c53,_0x2bf599,_0x2066f8){const _0x501579=_0x1b82e2,{unitId:_0x1b47d5,subUnitId:_0x360530,dependencyRanges:_0x10c521,getDirtyData:_0x3423e3}=_0x2066f8,_0x1d359d=_0x2bf599||a[_0x501579(0x125)](this[_0x501579(0x14d)]),_0x4e2600=new a[(_0x501579(0x1e2))](_0x1d359d);_0x4e2600[_0x501579(0x151)]=_0x1b47d5,_0x4e2600[_0x501579(0x13c)]=_0x360530,_0x4e2600[_0x501579(0x1cc)]=_0x10c521,_0x4e2600[_0x501579(0x126)]=_0x3423e3;const _0x4269ac=_0x3423e3(this[_0x501579(0x1ab)][_0x501579(0x126)](),this[_0x501579(0x1de)][_0x501579(0x10c)]()),_0xff2e76=this[_0x501579(0x148)](_0x4269ac[_0x501579(0x18a)]);return _0x4e2600['featureDirtyRanges']=_0xff2e76,_0x4e2600[_0x501579(0x184)]=_0x163c53,_0x4e2600['type']=a[_0x501579(0x16b)]['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x501579(0x1cf)](_0x1b47d5,_0x360530,_0x163c53,_0x4e2600),this[_0x501579(0x1a4)][_0x501579(0x150)](_0x4e2600[_0x501579(0x1b8)],_0x4e2600),this[_0x501579(0x14d)]['getFeatureFormulaDependency'](_0x2066f8[_0x501579(0x151)],_0x2066f8[_0x501579(0x13c)],_0x163c53)&&(_0x4e2600[_0x501579(0x101)]=!0x0),_0x4e2600;}['_registerOtherFormulas'](_0x139944,_0x5039c5,_0x211b99){const _0x2d9173=_0x1b82e2;var _0x236a41;for(const _0x32e5c1 of _0x5039c5){const _0xcc31eb=_0x139944[_0x32e5c1];if(_0xcc31eb==null)continue;const _0x1e95ae=Object['keys'](_0xcc31eb);for(const _0x25f3a5 of _0x1e95ae){const _0x13afa1=_0xcc31eb[_0x25f3a5];if(_0x13afa1==null)continue;const _0x54aff5=Object[_0x2d9173(0x15d)](_0x13afa1);for(const _0x10046a of _0x54aff5){const _0x44636f=this[_0x2d9173(0x14d)]['hasOtherFormulaDataMainData'](_0x10046a),_0x50b824=_0x13afa1[_0x10046a],{f:_0xe5b519,ranges:_0xb2ab2b}=_0x50b824;let _0x40104e=!0x1;_0x44636f&&(_0x40104e=!0x0);const {firstRow:_0x334422,firstColumn:_0x199bc4}=this['_getFirstCellOfRange'](_0xb2ab2b),_0x254284=this[_0x2d9173(0x14d)][_0x2d9173(0x1e0)](_0x32e5c1,_0x25f3a5,_0x10046a),_0x25052e=(_0x236a41=_0x254284==null?void 0x0:_0x254284[_0x2d9173(0x131)](0x0,0x0))!=null?_0x236a41:a[_0x2d9173(0x125)](this[_0x2d9173(0x14d)]),_0x568e36=new a[(_0x2d9173(0x1e2))](_0x25052e);for(let _0x5f2ebd=0x0;_0x5f2ebd<_0xb2ab2b[_0x2d9173(0x19d)];_0x5f2ebd++){const _0xf32769=_0xb2ab2b[_0x5f2ebd],{startRow:_0x2b6d85,startColumn:_0x1a66cb,endRow:_0x2e66a1,endColumn:_0x40b04e}=_0xf32769;for(let _0x4f1465=_0x2b6d85;_0x4f1465<=_0x2e66a1;_0x4f1465++)for(let _0x4c1768=_0x1a66cb;_0x4c1768<=_0x40b04e;_0x4c1768++){const _0x31e43d=_0x4c1768-_0x199bc4,_0x1fc640=_0x4f1465-_0x334422;if(_0x31e43d===0x0&&_0x1fc640===0x0){_0x568e36[_0x2d9173(0x147)]=_0xe5b519,_0x568e36[_0x2d9173(0x151)]=_0x32e5c1,_0x568e36['subUnitId']=_0x25f3a5,_0x568e36[_0x2d9173(0x1af)]=_0x10046a,_0x568e36['type']=a[_0x2d9173(0x16b)]['OTHER_FORMULA'],_0x568e36['isCache']=_0x40104e,_0x211b99[_0x2d9173(0x1cb)](_0x568e36),this[_0x2d9173(0x1a4)][_0x2d9173(0x150)](_0x568e36[_0x2d9173(0x1b8)],_0x568e36),this['_dependencyManagerService'][_0x2d9173(0x1a2)](_0x32e5c1,_0x25f3a5,_0x10046a,_0x568e36),this['_dependencyManagerService'][_0x2d9173(0x138)](_0x568e36);continue;}const _0x49ac0c=new a[(_0x2d9173(0x1c8))]();_0x49ac0c[_0x2d9173(0x1b8)]=(_0x254284==null?void 0x0:_0x254284['getValue'](_0x31e43d,_0x1fc640))||a[_0x2d9173(0x125)](this[_0x2d9173(0x14d)]),_0x49ac0c[_0x2d9173(0x16a)]=_0x568e36,_0x49ac0c[_0x2d9173(0x103)]=_0x31e43d,_0x49ac0c['refOffsetY']=_0x1fc640,_0x49ac0c[_0x2d9173(0x101)]=_0x40104e,_0x49ac0c['type']=a['FormulaDependencyTreeType']['OTHER_FORMULA'],this[_0x2d9173(0x14d)][_0x2d9173(0x1a2)](_0x32e5c1,_0x25f3a5,_0x10046a,_0x49ac0c),this['_dependencyManagerService'][_0x2d9173(0x138)](_0x49ac0c),_0x211b99[_0x2d9173(0x1cb)](_0x49ac0c),this[_0x2d9173(0x1a4)]['set'](_0x49ac0c[_0x2d9173(0x1b8)],_0x49ac0c);}}this[_0x2d9173(0x14d)][_0x2d9173(0x1c3)](_0x10046a);}}}}[_0x1b82e2(0x1ac)](_0x96c813,_0x5cdd6c,_0x3cc8c5,_0x3c6678){const _0x1fcb01=_0x1b82e2;for(const _0x3c1c81 of _0x96c813){const _0x3478f9=_0x5cdd6c[_0x3c1c81];if(_0x3478f9==null)continue;const _0x442f28=Object[_0x1fcb01(0x15d)](_0x3478f9);for(const _0x505b1f of _0x442f28){const _0xe9f519=new x[(_0x1fcb01(0x156))](_0x3478f9[_0x505b1f]||{}),_0x2994b4=new Map();_0xe9f519[_0x1fcb01(0x128)]((_0x402ab1,_0x44e626,_0x5248cb)=>{const _0x344ba9=_0x1fcb01;if(_0x5248cb==null)return!0x0;const {x:_0x31b99b=0x0,y:_0x4cbd89=0x0,si:_0x1c5552}=_0x5248cb;if(!(_0x31b99b===0x0&&_0x4cbd89===0x0&&_0x1c5552!=null))return!0x0;const _0x5c3601=this['_createFDtree'](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626,_0x3cc8c5,_0x5248cb),_0x3707d0=this[_0x344ba9(0x14d)][_0x344ba9(0xf9)](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626);_0x3707d0!=null?_0x5c3601['treeId']=_0x3707d0:(this['_dependencyManagerService'][_0x344ba9(0x10b)](_0x3c1c81,_0x505b1f,_0x402ab1,_0x44e626,_0x5c3601),this[_0x344ba9(0x14d)][_0x344ba9(0x138)](_0x5c3601)),_0x2994b4[_0x344ba9(0x150)](_0x1c5552,_0x5c3601),_0x3c6678['push'](_0x5c3601),this[_0x344ba9(0x1a4)][_0x344ba9(0x150)](_0x5c3601['treeId'],_0x5c3601);}),_0xe9f519[_0x1fcb01(0x128)]((_0x3a8403,_0x334ab7,_0x2271c4)=>{const _0x34df38=_0x1fcb01;if(_0x2271c4==null)return!0x0;const {x:_0x7becef=0x0,y:_0x543d43=0x0,si:_0x5106fa}=_0x2271c4;if(_0x7becef===0x0&&_0x543d43===0x0&&_0x5106fa!=null)return!0x0;let _0x5c4029;if(_0x5106fa&&_0x2994b4[_0x34df38(0x18f)](_0x5106fa)){const _0x1a98de=_0x2994b4[_0x34df38(0x193)](_0x5106fa);_0x5c4029=this[_0x34df38(0x132)](_0x1a98de,_0x2271c4);}else _0x5c4029=this['_createFDtree'](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7,_0x3cc8c5,_0x2271c4);const _0x18a715=this['_dependencyManagerService']['getFormulaDependency'](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7);_0x18a715!=null?_0x5c4029[_0x34df38(0x1b8)]=_0x18a715:(this[_0x34df38(0x14d)][_0x34df38(0x10b)](_0x3c1c81,_0x505b1f,_0x3a8403,_0x334ab7,_0x5c4029),this['_dependencyManagerService'][_0x34df38(0x138)](_0x5c4029)),_0x3c6678[_0x34df38(0x1cb)](_0x5c4029),this[_0x34df38(0x1a4)][_0x34df38(0x150)](_0x5c4029[_0x34df38(0x1b8)],_0x5c4029);}),_0x2994b4[_0x1fcb01(0xf7)]();}}}[_0x1b82e2(0xf2)](_0x3610bf,_0x52945f,_0x3c3728,_0x213c43,_0x158f1e,_0x2f8268){const _0x424dad=_0x1b82e2,{f:_0x4d72a2,x:_0x191310=0x0,y:_0xaf44a1=0x0}=_0x2f8268,_0x284066=new a[(_0x424dad(0x1e2))](a['generateRandomDependencyTreeId'](this[_0x424dad(0x14d)])),_0x3c729e=_0x158f1e[_0x3610bf][_0x52945f];return _0x284066['formula']=_0x4d72a2,_0x284066[_0x424dad(0x151)]=_0x3610bf,_0x284066[_0x424dad(0x13c)]=_0x52945f,_0x284066[_0x424dad(0x1db)]=_0x3c3728,_0x284066['column']=_0x213c43,_0x284066['rowCount']=_0x3c729e[_0x424dad(0x1b2)],_0x284066[_0x424dad(0x183)]=_0x3c729e['columnCount'],_0x284066;}[_0x1b82e2(0x10f)](){const _0xe606e7=_0x1b82e2,_0x167b91=[],_0xa9d4d7=new Set(),_0x57e862=this[_0xe606e7(0x1ab)][_0xe606e7(0x121)](),_0x5ec174=this[_0xe606e7(0x1ab)]['getDirtyRanges'](),_0x5718d3=this['_dependencyManagerService']['searchDependency'](_0x5ec174),_0x451107=this[_0xe606e7(0x198)]['bulkSearch'](_0x5ec174);for(const _0x7bfdcd of _0x451107)_0x5718d3[_0xe606e7(0x194)](_0x7bfdcd);for(const [_0x58e2ad,_0x47a7f7]of this[_0xe606e7(0x1a4)])(_0x57e862||_0x47a7f7['isDirty']||_0x47a7f7['dependencySheetName'](this[_0xe606e7(0x1ab)]['getDirtyNameMap']())||_0x5718d3[_0xe606e7(0x18f)](_0x58e2ad)&&!_0x47a7f7['isExcludeRange'](this[_0xe606e7(0x1ab)][_0xe606e7(0x189)]()))&&!_0xa9d4d7[_0xe606e7(0x18f)](_0x58e2ad)&&(_0x167b91[_0xe606e7(0x1cb)](_0x47a7f7),_0xa9d4d7['add'](_0x58e2ad));for(const [_0x59a92b,_0x1ae846]of this[_0xe606e7(0x1a4)])_0x1ae846['isVirtual']||(_0x1ae846[_0xe606e7(0x1cc)][_0xe606e7(0x19d)]=0x0);return _0x167b91;}['_getTreeById'](_0x496dd3){const _0x349f18=_0x1b82e2;return this[_0x349f18(0x1a4)][_0x349f18(0x193)](_0x496dd3);}[_0x1b82e2(0x144)](_0x33cf48){const _0xee2747=_0x1b82e2;return a['generateAstNode'](_0x33cf48[_0xee2747(0x151)],_0x33cf48['formula'],this[_0xee2747(0x178)],this[_0xee2747(0x1d8)],this[_0xee2747(0x1ab)]);}*[_0x1b82e2(0x15f)](_0x36a387,_0x41bcb8){const _0x11b481=_0x1b82e2,_0x1b6113=_0x36a387,_0xacaed6=new Set();for(;_0x1b6113[_0x11b481(0x19d)]>0x0;){const _0x185b54=_0x1b6113['pop']();if(_0xacaed6[_0x11b481(0xf7)](),_0x185b54===void 0x0||_0x185b54[_0x11b481(0x1dc)]())continue;if(_0x185b54[_0x11b481(0x119)]()){yield _0x185b54,_0x185b54['setSkip'](),_0x41bcb8[_0x11b481(0x194)](_0x185b54[_0x11b481(0x1b8)]);continue;}const _0x4f254e=this[_0x11b481(0x14d)][_0x11b481(0xfa)](_0x185b54['toRTreeItem'](),_0x41bcb8),_0x45bde3=this[_0x11b481(0x198)][_0x11b481(0x163)](_0x185b54[_0x11b481(0x114)](),_0x41bcb8);for(const _0x2c4e3e of _0x45bde3)_0x4f254e[_0x11b481(0x194)](_0x2c4e3e);for(const _0x52f6ee of _0x4f254e){const _0x254ba8=this[_0x11b481(0x1a4)][_0x11b481(0x193)](_0x52f6ee);if(!_0x254ba8){console[_0x11b481(0x140)](_0x11b481(0x1c7),_0x52f6ee);continue;}_0x254ba8[_0x11b481(0x119)]()||_0x185b54['isSkip']()||_0xacaed6['add'](_0x254ba8);}if(_0x4f254e[_0x11b481(0xf7)](),_0xacaed6['size']===0x0)yield _0x185b54,_0x185b54[_0x11b481(0x176)](),_0x41bcb8['add'](_0x185b54[_0x11b481(0x1b8)]);else{_0x185b54['setAdded'](),_0x1b6113[_0x11b481(0x1cb)](_0x185b54);for(const _0x432f81 of _0xacaed6)_0x1b6113[_0x11b481(0x1cb)](_0x432f81);}}_0x1b6113[_0x11b481(0x19d)]=0x0,_0xacaed6[_0x11b481(0xf7)]();}[_0x1b82e2(0x1a0)](_0x503e0b){const _0x2ec435=_0x1b82e2,_0x2b140=[],_0x103d19=new Set();for(const _0xbb343c of this[_0x2ec435(0x15f)](_0x503e0b,_0x103d19))_0x2b140[_0x2ec435(0x1cb)](_0xbb343c);return _0x2b140;}async['_getAllTreeList'](){const _0x4169f7=_0x1b82e2;return await this[_0x4169f7(0x1a5)](),Array[_0x4169f7(0x11a)](this['_dependencyTreeCache'][_0x4169f7(0x168)]());}[_0x1b82e2(0x195)](_0x4bcebc){const _0xbe72e3=_0x1b82e2;return this[_0xbe72e3(0x14d)][_0xbe72e3(0xfa)](_0x4bcebc[_0xbe72e3(0x114)]());}['_getDependencyTreeChildrenIds'](_0x34ce26){const _0x36def8=_0x1b82e2,_0x435175=new Set(),_0xfa0898=_0x34ce26['rangeList'];for(const [_0x322cb1,_0x5e2d93]of this[_0x36def8(0x1a4)])for(const _0x5c71a6 of _0xfa0898){const _0x5c5a73=_0x5c71a6['unitId'],_0x1e4949=_0x5c71a6[_0x36def8(0x15b)];if(_0x5e2d93[_0x36def8(0x151)]!==_0x5c5a73||_0x5e2d93['subUnitId']!==_0x1e4949)continue;const _0x277bf0=_0x5c71a6[_0x36def8(0x1da)];if(_0x5e2d93[_0x36def8(0x1bc)](_0x277bf0)){_0x435175[_0x36def8(0x194)](_0x322cb1);break;}}return _0x435175;}[_0x1b82e2(0x180)](){const _0x29c6fa=_0x1b82e2;this[_0x29c6fa(0x14d)][_0x29c6fa(0x169)]();}['_endFormulaDependencyTreeModel'](){const _0x5b8e9b=_0x1b82e2;this[_0x5b8e9b(0x130)]['clear'](),this[_0x5b8e9b(0x1a4)][_0x5b8e9b(0xf7)](),this[_0x5b8e9b(0x14d)]['closeKdTree']();}}class G extends a[_0x1b82e2(0x11e)]{async[_0x1b82e2(0x104)](_0x27be7f=!0x1){const _0x539094=_0x1b82e2;_0x27be7f?this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1d0)]):this['_runtimeService'][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x14a)]),this['_executionInProgressListener$'][_0x539094(0x1dd)](this[_0x539094(0x1de)][_0x539094(0xf8)]());const _0x7a0316=await this[_0x539094(0x1b5)]['generate'](this[_0x539094(0x137)]),_0x4ddbfc=this[_0x539094(0x13b)];_0x27be7f?(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1d3)]),this[_0x539094(0x1de)][_0x539094(0x10a)](_0x7a0316['length'])):(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)]['START_CALCULATION']),this[_0x539094(0x1de)][_0x539094(0x162)](_0x7a0316['length'])),this['_executionInProgressListener$']['next'](this[_0x539094(0x1de)][_0x539094(0xf8)]());let _0xa3f127=[];const _0x5451c1=this[_0x539094(0x181)][_0x539094(0x14c)](a[_0x539094(0x109)]),_0x4ea355=(_0x5451c1==null?void 0x0:_0x5451c1[_0x539094(0x17c)])||a[_0x539094(0x1a1)];let _0x166240=0x0;const _0x273f5d=_0x7a0316['length'];for(;_0x7a0316[_0x539094(0x19d)]>0x0;){const _0x194f6f=_0x7a0316[_0x539094(0x149)](),_0x351362=a[_0x539094(0x177)](_0x194f6f['unitId'],_0x194f6f[_0x539094(0x147)],this[_0x539094(0x178)],this[_0x539094(0x1d8)],this['_currentConfigService']),_0x1ac876={'node':_0x351362,'refOffsetX':_0x194f6f[_0x539094(0x103)],'refOffsetY':_0x194f6f['refOffsetY']},_0x2e8f3a=_0x194f6f[_0x539094(0x126)];if(_0x166240%_0x4ea355===0x0&&(await new Promise(_0x356315=>{const _0x1e7a18=_0x539094,_0x15cf8a=x[_0x1e7a18(0x1bb)](_0x356315);_0xa3f127['push'](_0x15cf8a);}),_0x27be7f?(this[_0x539094(0x1de)]['setFormulaExecuteStage'](a[_0x539094(0x1e3)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x539094(0x116)](_0x166240+0x1)):(this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x19b)]),this[_0x539094(0x1de)]['setCompletedFormulasCount'](_0x166240+0x1)),this[_0x539094(0x1d2)][_0x539094(0x1dd)](this['_runtimeService'][_0x539094(0xf8)]()),this[_0x539094(0x1de)][_0x539094(0x158)]()||_0x1ac876==null&&_0x2e8f3a==null)){this[_0x539094(0x1de)][_0x539094(0x18d)](a[_0x539094(0x1e3)][_0x539094(0x1b0)]),this[_0x539094(0x1de)]['markedAsStopFunctionsExecuted'](),this[_0x539094(0x17d)][_0x539094(0x1dd)](this[_0x539094(0x1de)][_0x539094(0x10c)]());return;}this['_runtimeService']['setCurrent'](_0x194f6f[_0x539094(0x1db)],_0x194f6f[_0x539094(0x1a3)],_0x194f6f[_0x539094(0x1b2)],_0x194f6f[_0x539094(0x183)],_0x194f6f[_0x539094(0x13c)],_0x194f6f[_0x539094(0x151)]);let _0x39365a;if(_0x2e8f3a!=null&&_0x194f6f[_0x539094(0x184)]!=null){const {runtimeCellData:_0x156be1,dirtyRanges:_0x59fdae}=_0x2e8f3a(this[_0x539094(0x1ab)][_0x539094(0x126)](),this['_runtimeService'][_0x539094(0x10c)]());this[_0x539094(0x1de)][_0x539094(0x118)](_0x194f6f[_0x539094(0x184)],_0x156be1),this['_runtimeService'][_0x539094(0x112)](_0x194f6f[_0x539094(0x184)],_0x59fdae);}else _0x1ac876!=null&&(_0x4ddbfc[_0x539094(0x12e)](_0x1ac876['node'])?_0x39365a=await _0x4ddbfc[_0x539094(0x174)](_0x1ac876):_0x39365a=_0x4ddbfc[_0x539094(0x12f)](_0x1ac876),_0x194f6f[_0x539094(0x1af)]!=null?this[_0x539094(0x1de)][_0x539094(0x157)](_0x194f6f[_0x539094(0x1af)],_0x194f6f['refOffsetX'],_0x194f6f['refOffsetY'],_0x39365a):this['_runtimeService'][_0x539094(0x17b)](_0x39365a));_0x351362[_0x539094(0x170)](),_0x166240++;}return _0xa3f127[_0x539094(0xf6)](_0x912767=>_0x912767()),_0xa3f127=[],_0x273f5d>0x0?this[_0x539094(0x1de)][_0x539094(0x1a9)]():_0x27be7f||this[_0x539094(0x1de)][_0x539094(0x1d5)](),this[_0x539094(0x1de)]['getAllRuntimeData']();}}function _0x2657(_0x9aaaf9,_0x55bf2c){_0x9aaaf9=_0x9aaaf9-0xf0;const _0x1907d1=_0x1907();let _0x265794=_0x1907d1[_0x9aaaf9];return _0x265794;}class K extends a[_0x1b82e2(0x1e6)]{constructor(){const _0x144ec0=_0x1b82e2;super(...arguments),D(this,_0x144ec0(0x1c1),new Map()),D(this,_0x144ec0(0x1a7),new x[(_0x144ec0(0x1c5))](!0x0));}[_0x1b82e2(0x1a6)](){const _0x4d449e=_0x1b82e2;this[_0x4d449e(0x1e7)][_0x4d449e(0xf7)](),this['_featureFormulaData'][_0x4d449e(0xf7)](),this[_0x4d449e(0x165)][_0x4d449e(0xf7)](),this[_0x4d449e(0x1a7)][_0x4d449e(0xf7)](),this[_0x4d449e(0x1c1)][_0x4d449e(0xf7)](),this['_restDependencyTreeId'](),this[_0x4d449e(0x175)][_0x4d449e(0xf7)]();}['addOtherFormulaDependency'](_0x46fef1,_0x40b0d6,_0x5d97ad,_0x4d451b){const _0x4cfa21=_0x1b82e2;this[_0x4cfa21(0x1e7)]['has'](_0x46fef1)||this[_0x4cfa21(0x1e7)][_0x4cfa21(0x150)](_0x46fef1,new Map());const _0x57cf50=this[_0x4cfa21(0x1e7)][_0x4cfa21(0x193)](_0x46fef1);_0x57cf50[_0x4cfa21(0x18f)](_0x40b0d6)||_0x57cf50['set'](_0x40b0d6,new Map());const _0x5e86ee=_0x57cf50[_0x4cfa21(0x193)](_0x40b0d6);_0x5e86ee[_0x4cfa21(0x18f)](_0x5d97ad)||_0x5e86ee['set'](_0x5d97ad,new x['ObjectMatrix']()),_0x5e86ee[_0x4cfa21(0x193)](_0x5d97ad)['setValue'](_0x4d451b[_0x4cfa21(0x103)],_0x4d451b[_0x4cfa21(0x16d)],_0x4d451b[_0x4cfa21(0x1b8)]);}[_0x1b82e2(0xff)](_0x155011,_0x3df901,_0x171937){const _0x4e2412=_0x1b82e2,_0x2a8e82=this[_0x4e2412(0x1e7)][_0x4e2412(0x193)](_0x155011);if(_0x2a8e82&&_0x2a8e82[_0x4e2412(0x18f)](_0x3df901)){const _0x2e366b=_0x2a8e82['get'](_0x3df901);_0x171937[_0x4e2412(0xf6)](_0x28e963=>{const _0x2597f3=_0x4e2412,_0x42e5a4=_0x2e366b[_0x2597f3(0x193)](_0x28e963);_0x42e5a4!=null&&(_0x42e5a4['forValue']((_0x26c836,_0x3d2400,_0x2a80d9)=>{const _0x136da3=_0x2597f3;this[_0x136da3(0x12d)](_0x2a80d9),this[_0x136da3(0x11b)](_0x2a80d9);}),_0x2e366b['delete'](_0x28e963),this[_0x2597f3(0x175)][_0x2597f3(0x13f)](_0x28e963));}),_0x2e366b[_0x4e2412(0x19f)]===0x0&&_0x2a8e82[_0x4e2412(0x13f)](_0x3df901),_0x2a8e82[_0x4e2412(0x19f)]===0x0&&this['_otherFormulaData'][_0x4e2412(0x13f)](_0x155011);}}[_0x1b82e2(0x134)](_0x329d61,_0x4533a3){const _0x42574d=_0x1b82e2,_0x5a9f6f=this['_otherFormulaData'][_0x42574d(0x193)](_0x329d61);if(_0x4533a3&&_0x5a9f6f&&_0x5a9f6f[_0x42574d(0x18f)](_0x4533a3)){const _0x5845bf=_0x5a9f6f[_0x42574d(0x193)](_0x4533a3);this['_removeDependencyRTreeCacheById'](_0x329d61,_0x4533a3);for(const _0x1a42dd of _0x5845bf[_0x42574d(0x15d)]()){const _0x242238=_0x5845bf[_0x42574d(0x193)](_0x1a42dd);_0x242238!=null&&(_0x242238[_0x42574d(0x128)]((_0x57ef74,_0x2977b9,_0x706566)=>{const _0x178aef=_0x42574d;this[_0x178aef(0x1c1)][_0x178aef(0x193)](_0x706566)&&this[_0x178aef(0x11b)](_0x706566);}),this[_0x42574d(0x175)][_0x42574d(0x13f)](_0x1a42dd));}_0x5845bf[_0x42574d(0xf7)]();}else{if(_0x5a9f6f){for(const _0x330b2a of _0x5a9f6f[_0x42574d(0x15d)]()){const _0x747a8b=_0x5a9f6f[_0x42574d(0x193)](_0x330b2a);this[_0x42574d(0x171)](_0x329d61,_0x330b2a);for(const _0x487db8 of _0x747a8b[_0x42574d(0x15d)]()){const _0x7dda1f=_0x747a8b[_0x42574d(0x193)](_0x487db8);_0x7dda1f!=null&&(_0x7dda1f[_0x42574d(0x128)]((_0x4f0ef4,_0x1bf2a9,_0x437ad0)=>{const _0x347512=_0x42574d;this[_0x347512(0x1c1)][_0x347512(0x193)](_0x437ad0)&&this[_0x347512(0x11b)](_0x437ad0);}),this[_0x42574d(0x175)][_0x42574d(0x13f)](_0x487db8));}}this[_0x42574d(0x1e7)][_0x42574d(0x13f)](_0x329d61);}}}[_0x1b82e2(0x1cf)](_0x362016,_0x3fd19a,_0x5f5a6a,_0x322078){const _0x11e934=_0x1b82e2;this[_0x11e934(0x1c9)][_0x11e934(0x18f)](_0x362016)||this[_0x11e934(0x1c9)]['set'](_0x362016,new Map());const _0x401869=this[_0x11e934(0x1c9)][_0x11e934(0x193)](_0x362016);_0x401869[_0x11e934(0x18f)](_0x3fd19a)||_0x401869[_0x11e934(0x150)](_0x3fd19a,new Map()),_0x401869[_0x11e934(0x193)](_0x3fd19a)['set'](_0x5f5a6a,_0x322078[_0x11e934(0x1b8)]);}[_0x1b82e2(0x107)](_0x4e6093,_0x309a77,_0x15e32c){const _0x24195c=_0x1b82e2,_0x4a7582=this[_0x24195c(0x1c9)][_0x24195c(0x193)](_0x4e6093);if(_0x4a7582&&_0x4a7582[_0x24195c(0x18f)](_0x309a77)){const _0x4f94d3=_0x4a7582[_0x24195c(0x193)](_0x309a77);_0x15e32c[_0x24195c(0xf6)](_0x15ff5c=>{const _0x172c0b=_0x24195c,_0xf50656=_0x4f94d3[_0x172c0b(0x193)](_0x15ff5c);_0xf50656!=null&&(this[_0x172c0b(0x12d)](_0xf50656),_0x4f94d3[_0x172c0b(0x13f)](_0x15ff5c),this[_0x172c0b(0x11b)](_0xf50656));});}}[_0x1b82e2(0x136)](_0x2974c8,_0x3fd1de){const _0x3e4f98=_0x1b82e2,_0x1b0413=this[_0x3e4f98(0x1c9)]['get'](_0x2974c8);if(_0x3fd1de&&_0x1b0413&&_0x1b0413[_0x3e4f98(0x18f)](_0x3fd1de)){const _0x26989d=_0x1b0413[_0x3e4f98(0x193)](_0x3fd1de);this[_0x3e4f98(0x171)](_0x2974c8,_0x3fd1de),_0x26989d[_0x3e4f98(0xf6)](_0x2886ff=>{const _0x4de56b=_0x3e4f98;_0x2886ff!=null&&this[_0x4de56b(0x11b)](_0x2886ff);}),_0x26989d[_0x3e4f98(0xf7)]();}else _0x1b0413&&(_0x1b0413[_0x3e4f98(0xf6)]((_0x517162,_0x595d88)=>{const _0x123e6f=_0x3e4f98;this[_0x123e6f(0x171)](_0x2974c8,_0x595d88),_0x517162[_0x123e6f(0xf6)](_0x5e006c=>{const _0x19fb25=_0x123e6f;_0x5e006c!=null&&this[_0x19fb25(0x11b)](_0x5e006c);});}),this['_featureFormulaData'][_0x3e4f98(0x13f)](_0x2974c8));}[_0x1b82e2(0x10b)](_0x1af196,_0xfbb765,_0x4b5622,_0x2ca9c2,_0x30c4bb){const _0x24dce4=_0x1b82e2;this[_0x24dce4(0x165)]['has'](_0x1af196)||this[_0x24dce4(0x165)][_0x24dce4(0x150)](_0x1af196,new Map());const _0x2caeaa=this['_formulaData'][_0x24dce4(0x193)](_0x1af196);_0x2caeaa[_0x24dce4(0x18f)](_0xfbb765)||_0x2caeaa[_0x24dce4(0x150)](_0xfbb765,new x['ObjectMatrix']()),_0x2caeaa[_0x24dce4(0x193)](_0xfbb765)[_0x24dce4(0x11d)](_0x4b5622,_0x2ca9c2,_0x30c4bb['treeId']);}[_0x1b82e2(0x1d7)](_0x4a0c6a,_0x39ee8b,_0x11fbd4,_0x2f5fb0){const _0x1c2f78=_0x1b82e2,_0x152a3c=this[_0x1c2f78(0x165)]['get'](_0x4a0c6a);if(_0x152a3c&&_0x152a3c['has'](_0x39ee8b)){const _0x2e6c8e=_0x152a3c[_0x1c2f78(0x193)](_0x39ee8b),_0x14dce5=_0x2e6c8e['getValue'](_0x11fbd4,_0x2f5fb0);if(_0x14dce5==null)return;this['_removeDependencyRTreeCache'](_0x14dce5),_0x2e6c8e['realDeleteValue'](_0x11fbd4,_0x2f5fb0),this[_0x1c2f78(0x11b)](_0x14dce5);}}['clearFormulaDependency'](_0x155c1f,_0x4c074f){const _0x5e5e25=_0x1b82e2,_0x5b8cce=this['_formulaData'][_0x5e5e25(0x193)](_0x155c1f);if(_0x4c074f&&_0x5b8cce&&_0x5b8cce[_0x5e5e25(0x18f)](_0x4c074f)){const _0x520162=_0x5b8cce[_0x5e5e25(0x193)](_0x4c074f);this[_0x5e5e25(0x171)](_0x155c1f,_0x4c074f),_0x520162[_0x5e5e25(0x128)]((_0x52a1b2,_0xf0eb4c,_0x170049)=>{const _0xaafdf4=_0x5e5e25;if(_0x170049==null)return!0x0;this[_0xaafdf4(0x11b)](_0x170049);}),_0x520162['reset']();}else _0x5b8cce&&(_0x5b8cce[_0x5e5e25(0xf6)]((_0x33e680,_0x41090b)=>{const _0x482a2f=_0x5e5e25;this[_0x482a2f(0x171)](_0x155c1f,_0x41090b),_0x33e680['forValue']((_0x5ee013,_0x4bd1f0,_0x2f7dc7)=>{const _0x24ee22=_0x482a2f;if(_0x2f7dc7==null)return!0x0;this[_0x24ee22(0x11b)](_0x2f7dc7);});}),this[_0x5e5e25(0x165)][_0x5e5e25(0x13f)](_0x155c1f));}[_0x1b82e2(0x12d)](_0x6eeb7f){const _0x21a02b=_0x1b82e2;if(_0x6eeb7f==null)return;const _0x4edd8c=this[_0x21a02b(0x1c1)][_0x21a02b(0x193)](_0x6eeb7f);if(_0x4edd8c){const _0x985f0c=[];for(const [_0xcb1541,_0x5d97d4]of _0x4edd8c)for(const [_0x4018c7,_0x5c987a]of _0x5d97d4)_0x985f0c[_0x21a02b(0x1cb)]({'unitId':_0xcb1541,'sheetId':_0x4018c7,'range':_0x5c987a,'id':_0x6eeb7f});this['_dependencyRTreeCache'][_0x21a02b(0xfb)](_0x985f0c);}}['removeFormulaDependencyByDefinedName'](_0x4c25ad,_0x5f233a){const _0x1f96bb=_0x1b82e2,_0x13d125=this[_0x1f96bb(0x145)][_0x1f96bb(0x193)](_0x4c25ad);if(_0x13d125){const _0x8f64d=_0x13d125['get'](_0x5f233a);if(_0x8f64d){for(const _0x582281 of _0x8f64d)this[_0x1f96bb(0x12d)](_0x582281),this['_removeAllTreeMap'](_0x582281);_0x8f64d['clear']();}}}[_0x1b82e2(0x169)](){const _0x3892d0=_0x1b82e2;this[_0x3892d0(0x1a7)][_0x3892d0(0x169)]();}[_0x1b82e2(0x13d)](){const _0x56675c=_0x1b82e2;this['_dependencyRTreeCache'][_0x56675c(0x13d)]();}[_0x1b82e2(0x11b)](_0x4ea5bc){const _0x395da7=_0x1b82e2;_0x4ea5bc!=null&&this['_allTreeMap'][_0x395da7(0x13f)](_0x4ea5bc);}['_addAllTreeMap'](_0x5eb1e3){const _0x866a9f=_0x1b82e2;var _0x1fbc91,_0x1ce39f;const _0x3562d5=_0x5eb1e3['rangeList'];let _0x48bee4=this[_0x866a9f(0x1c1)][_0x866a9f(0x193)](_0x5eb1e3[_0x866a9f(0x1b8)]);for(let _0x310d4b=0x0;_0x310d4b<_0x3562d5['length'];_0x310d4b++){const _0x9b2050=_0x3562d5[_0x310d4b];let {unitId:_0x1b7a3a,sheetId:_0x1767bf,range:_0x45e246}=_0x9b2050;_0x48bee4||(_0x48bee4=new Map(),this[_0x866a9f(0x1c1)][_0x866a9f(0x150)](_0x5eb1e3[_0x866a9f(0x1b8)],_0x48bee4)),_0x48bee4[_0x866a9f(0x18f)](_0x1b7a3a)||_0x48bee4[_0x866a9f(0x150)](_0x1b7a3a,new Map());const _0x292efb=(_0x1fbc91=_0x48bee4==null?void 0x0:_0x48bee4[_0x866a9f(0x193)](_0x1b7a3a))==null?void 0x0:_0x1fbc91[_0x866a9f(0x193)](_0x1767bf);_0x292efb&&(_0x45e246={'startRow':Math[_0x866a9f(0x1e4)](_0x45e246[_0x866a9f(0x1e5)],_0x292efb[_0x866a9f(0x1e5)]),'startColumn':Math[_0x866a9f(0x1e4)](_0x45e246[_0x866a9f(0x1bd)],_0x292efb[_0x866a9f(0x1bd)]),'endRow':Math[_0x866a9f(0xfc)](_0x45e246[_0x866a9f(0x192)],_0x292efb['endRow']),'endColumn':Math[_0x866a9f(0xfc)](_0x45e246[_0x866a9f(0x18c)],_0x292efb[_0x866a9f(0x18c)])}),(_0x1ce39f=_0x48bee4['get'](_0x1b7a3a))==null||_0x1ce39f[_0x866a9f(0x150)](_0x1767bf,_0x45e246);}}}var j=Object[_0x1b82e2(0x100)],Y=(_0xb4f727,_0x2fe2a2,_0x1c4a0,_0x218696)=>{const _0x2e2805=_0x1b82e2;for(var _0x5f32c6=_0x218696>0x1?void 0x0:_0x218696?j(_0x2fe2a2,_0x1c4a0):_0x2fe2a2,_0x255e99=_0xb4f727[_0x2e2805(0x19d)]-0x1,_0x24efaf;_0x255e99>=0x0;_0x255e99--)(_0x24efaf=_0xb4f727[_0x255e99])&&(_0x5f32c6=_0x24efaf(_0x5f32c6)||_0x5f32c6);return _0x5f32c6;};const $=Number[_0x1b82e2(0x13e)](0x69621bb5);exports[_0x1b82e2(0x113)]=class extends a['UniverFormulaEnginePlugin']{[_0x1b82e2(0x11c)](){const _0x1654bd=_0x1b82e2;var _0x34060e,_0x60036b;this[_0x1654bd(0x14f)]()?(this['_injector']['add']([a['LexerTreeBuilder'],{'useClass':L}]),(_0x34060e=this['_config'])!=null&&_0x34060e[_0x1654bd(0x188)]||[[a[_0x1654bd(0x17f)],{'useClass':G}],[a[_0x1654bd(0x12b)],{'useClass':K}],[a['IFormulaDependencyGenerator'],{'useClass':B}]][_0x1654bd(0xf6)](_0x13738b=>this[_0x1654bd(0x18b)][_0x1654bd(0x194)](_0x13738b))):(this[_0x1654bd(0x18b)][_0x1654bd(0x194)]([a[_0x1654bd(0x1b1)],{'useClass':a['LexerTreeBuilder']}]),(_0x60036b=this[_0x1654bd(0x1ea)])!=null&&_0x60036b[_0x1654bd(0x188)]||[[a[_0x1654bd(0x17f)],{'useClass':a[_0x1654bd(0x11e)]}],[a['IDependencyManagerService'],{'useClass':a[_0x1654bd(0x1c4)]}],[a['IFormulaDependencyGenerator'],{'useClass':a[_0x1654bd(0x19c)]}]][_0x1654bd(0xf6)](_0x436631=>this[_0x1654bd(0x18b)]['add'](_0x436631)));}['_initLicenseValid'](){const _0x107160=_0x1b82e2;var _0x305468;const _0x373309=(_0x305468=this[_0x107160(0x181)][_0x107160(0x14c)](M[_0x107160(0x12a)]))!=null?_0x305468:{},{ls:_0x17e362,pbk:_0x8f724}=_0x373309;if(!_0x17e362||!_0x8f724)return!0x1;const _0x339906=M[_0x107160(0x1be)](J,b),_0x163ac3=new Function('return\x20'+_0x339906)()(_0x17e362,_0x8f724),_0x5acfd4=_0x163ac3[_0x107160(0x19a)];return _0x163ac3[_0x107160(0x108)]&&M[_0x107160(0x155)](_0x5acfd4,'sf',$)?M[_0x107160(0x1bf)](_0x5acfd4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=Y([x[_0x1b82e2(0x127)](M[_0x1b82e2(0x17e)])],exports[_0x1b82e2(0x113)]),exports[_0x1b82e2(0xf4)]=L,Object[_0x1b82e2(0x15d)](a)[_0x1b82e2(0xf6)](_0x325e01=>{const _0x1dec40=_0x1b82e2;_0x325e01!=='default'&&!Object[_0x1dec40(0xf3)]['hasOwnProperty'][_0x1dec40(0x120)](exports,_0x325e01)&&Object[_0x1dec40(0x185)](exports,_0x325e01,{'enumerable':!0x0,'get':()=>a[_0x325e01]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3d29(){var _0x30a63f=['786zccnuL','6871OZCqav','159824ChqRmD','12103ZDMaeX','174XAdUTP','80OZfygC','38996dGBaAe','272qKtSJI','1992330GAseAC','25315YEecpG','21472qrOehv','6492gDqiIG','105fyYSSL'];_0x3d29=function(){return _0x30a63f;};return _0x3d29();}function _0x5698(_0x1b92ea,_0x4e0e32){_0x1b92ea=_0x1b92ea-0x102;var _0x3d2997=_0x3d29();var _0x56988a=_0x3d2997[_0x1b92ea];return _0x56988a;}(function(_0x1efbb0,_0xec9c70){var _0x28ae4b=_0x5698,_0x568ce0=_0x1efbb0();while(!![]){try{var _0x1a5e9b=-parseInt(_0x28ae4b(0x103))/0x1*(-parseInt(_0x28ae4b(0x106))/0x2)+parseInt(_0x28ae4b(0x10e))/0x3*(parseInt(_0x28ae4b(0x108))/0x4)+-parseInt(_0x28ae4b(0x10b))/0x5*(-parseInt(_0x28ae4b(0x102))/0x6)+-parseInt(_0x28ae4b(0x104))/0x7*(parseInt(_0x28ae4b(0x109))/0x8)+parseInt(_0x28ae4b(0x10a))/0x9+-parseInt(_0x28ae4b(0x107))/0xa*(parseInt(_0x28ae4b(0x10c))/0xb)+-parseInt(_0x28ae4b(0x10d))/0xc*(parseInt(_0x28ae4b(0x105))/0xd);if(_0x1a5e9b===_0xec9c70)break;else _0x568ce0['push'](_0x568ce0['shift']());}catch(_0x40d699){_0x568ce0['push'](_0x568ce0['shift']());}}}(_0x3d29,0x80ea8));export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x600b(_0x20e471,_0x509c69){_0x20e471=_0x20e471-0x1db;const _0x1066db=_0x1066();let _0x600b3d=_0x1066db[_0x20e471];return _0x600b3d;}const _0xf22f78=_0x600b;(function(_0x31cd68,_0xebab00){const _0x2cd000=_0x600b,_0x4ffcd5=_0x31cd68();while(!![]){try{const _0x2ae6de=-parseInt(_0x2cd000(0x210))/0x1+parseInt(_0x2cd000(0x27d))/0x2*(-parseInt(_0x2cd000(0x24f))/0x3)+parseInt(_0x2cd000(0x29f))/0x4+parseInt(_0x2cd000(0x27f))/0x5*(-parseInt(_0x2cd000(0x26b))/0x6)+parseInt(_0x2cd000(0x207))/0x7*(parseInt(_0x2cd000(0x1e4))/0x8)+parseInt(_0x2cd000(0x1f2))/0x9+parseInt(_0x2cd000(0x242))/0xa;if(_0x2ae6de===_0xebab00)break;else _0x4ffcd5['push'](_0x4ffcd5['shift']());}catch(_0x65d5e5){_0x4ffcd5['push'](_0x4ffcd5['shift']());}}}(_0x1066,0x5181c));var ae=Object[_0xf22f78(0x263)],se=(_0x269eef,_0x58ed97,_0x2f225b)=>_0x58ed97 in _0x269eef?ae(_0x269eef,_0x58ed97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f225b}):_0x269eef[_0x58ed97]=_0x2f225b,F=(_0x1fff5d,_0x65baa5,_0xb72f49)=>se(_0x1fff5d,typeof _0x65baa5!=_0xf22f78(0x245)?_0x65baa5+'':_0x65baa5,_0xb72f49);import{LexerTreeBuilder as _0x2a362c,ErrorType as _0x528f40,DEFAULT_TOKEN_TYPE_ROOT as _0x5e7597,DEFAULT_TOKEN_TYPE_PARAMETER as _0x39155f,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x29257a,NEW_EXCEL_FUNCTIONS as _0x5cdfa0,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xeaa7d9,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1e8460,matchToken as _0x433c98,SUFFIX_TOKEN_SET as _0x45ea75,prefixToken as _0x4b1429,LexerNode as _0x5f3b93,OPERATOR_TOKEN_SET as _0x4fe6fe,isReferenceString as _0x4c34a2,splitTableStructuredRef as _0x5486d1,FormulaDependencyGenerator as _0x3204ae,generateRandomDependencyTreeId as _0x26901d,FormulaDependencyTree as _0x327e67,FormulaDependencyTreeType as _0x11e136,FormulaDependencyTreeVirtual as _0x383846,generateAstNode as _0x54d52d,CalculateFormulaService as _0x39cc68,FormulaExecuteStageType as _0x395d60,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x5b514c,DEFAULT_INTERVAL_COUNT as _0x4148fa,DependencyManagerBaseService as _0xc70fdf,UniverFormulaEnginePlugin as _0x37aa81,ICalculateFormulaService as _0x5c89cf,IDependencyManagerService as _0x270fd2,IFormulaDependencyGenerator as _0x4715af,DependencyManagerService as _0x2947cc}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x2a84f5,LS_CONFIG_KEY as _0x5214f3,unshiftString as _0x36e4de,isFeatureAuthorizedWithinTime as _0x444ee2,getSheetFeatureLimit as _0x489bba}from'@univerjs-pro/license';import{ObjectMatrix as _0x3a7b4f,requestImmediateMacroTask as _0x3cbdbd,RTree as _0x492194,DependentOn as _0x1be1c9}from'@univerjs/core';class Ie extends _0x2a362c{constructor(){const _0x4f46bd=_0xf22f78;super(...arguments),F(this,'_hasNewExcelFunction',!0x1),F(this,_0x4f46bd(0x286),new Set()),F(this,_0x4f46bd(0x222),_0x4f46bd(0x26c)),F(this,_0x4f46bd(0x252),_0x4f46bd(0x2ac)),F(this,_0x4f46bd(0x239),'');}[_0xf22f78(0x1e3)](){const _0x3fdae6=_0xf22f78;this[_0x3fdae6(0x222)]='_xlpm.',this[_0x3fdae6(0x252)]=_0x3fdae6(0x2ac);}[_0xf22f78(0x270)](){const _0x35da39=_0xf22f78;this[_0x35da39(0x222)]='',this[_0x35da39(0x252)]='';}[_0xf22f78(0x283)](_0x1eb701,_0x28fe69){const _0x139189=_0xf22f78,_0x112a84=this[_0x139189(0x29a)](_0x1eb701,!0x1);if(!_0x112a84||_0x112a84===_0x528f40['VALUE']||Array[_0x139189(0x285)](_0x112a84))return null;const _0x399ddc=[];return this[_0x139189(0x273)]=!0x1,this[_0x139189(0x243)](_0x112a84,_0x399ddc,_0x28fe69),this['_hasNewExcelFunction']?'='+_0x399ddc[_0x139189(0x2a0)](''):null;}['_generateNewFunctionString'](_0x3b5846,_0x4eaa8a,_0x2c6502){const _0x354d23=_0xf22f78,_0x34d930=_0x3b5846['getToken'](),_0x1b8134=_0x34d930[_0x354d23(0x24e)](),_0x3e18ec=_0x1b8134[_0x354d23(0x22f)](),_0x1401e3=this['_clearFunctionString'](_0x3e18ec),_0x43204c=_0x2c6502(_0x1401e3);let _0x1cc2fa=0x0;_0x34d930===_0x5e7597?_0x1cc2fa=0x3:_0x34d930===_0x39155f?_0x1cc2fa=0x4:_0x34d930===_0x29257a?_0x1cc2fa=0x5:_0x5cdfa0[_0x354d23(0x28c)](_0x1401e3)?(_0x4eaa8a[_0x354d23(0x1e2)](''+this[_0x354d23(0x252)]+_0x1b8134),this[_0x354d23(0x273)]=!0x0):_0x3e18ec===_0xeaa7d9?(_0x4eaa8a[_0x354d23(0x1e2)](''+this[_0x354d23(0x252)]+_0x1b8134),this[_0x354d23(0x273)]=!0x0,_0x1cc2fa=0x2):_0x3e18ec===_0x1e8460?(_0x4eaa8a[_0x354d23(0x1e2)](''+this['_xlfnPrefix']+_0x1b8134),this['_hasNewExcelFunction']=!0x0,_0x1cc2fa=0x1):_0x3e18ec===_0x433c98[_0x354d23(0x240)]?_0x1cc2fa=0x8:_0x45ea75[_0x354d23(0x28c)](_0x3e18ec)?_0x1cc2fa=0x7:_0x3e18ec===_0x4b1429[_0x354d23(0x279)]?(this['_checkAddBracketForMinus'](_0x3b5846)&&(_0x1cc2fa=0x9),_0x4eaa8a[_0x354d23(0x1e2)](_0x34d930)):(_0x4eaa8a[_0x354d23(0x1e2)](_0x34d930),_0x1cc2fa=0xa),_0x43204c?(_0x1cc2fa!==0x2&&_0x1cc2fa!==0x1&&(_0x1cc2fa=0x6),_0x4eaa8a[_0x354d23(0x1e2)]('(')):_0x1cc2fa===0x9&&_0x4eaa8a[_0x354d23(0x1e2)]('(');const _0x3058ae=_0x3b5846[_0x354d23(0x205)](),_0x545588=_0x3058ae[_0x354d23(0x217)];if(_0x1cc2fa===0x2){const _0x34deb3=_0x3058ae[0x0];let _0x4e084f=0x0;_0x34deb3 instanceof _0x5f3b93&&_0x34deb3[_0x354d23(0x1f4)]()===_0x29257a&&(_0x4e084f=0x1);for(let _0x2a080f=_0x4e084f;_0x2a080f<_0x545588-0x1;_0x2a080f++){const _0x5b8bee=_0x3058ae[_0x2a080f];if(_0x5b8bee instanceof _0x5f3b93){const _0x1bdc97=_0x5b8bee[_0x354d23(0x205)]()[0x0];typeof _0x1bdc97==_0x354d23(0x25e)&&(this[_0x354d23(0x286)][_0x354d23(0x28c)](_0x1bdc97)&&console[_0x354d23(0x20e)](_0x354d23(0x269)+_0x1bdc97+_0x354d23(0x248)),this[_0x354d23(0x286)][_0x354d23(0x24b)](_0x1bdc97),_0x4eaa8a[_0x354d23(0x1e2)](''+this['_xlpmPrefix']+_0x1bdc97),this['_hasNewExcelFunction']=!0x0);}_0x4eaa8a[_0x354d23(0x1e2)](',');}this[_0x354d23(0x271)](_0x3058ae[_0x545588-0x1],_0x4eaa8a,_0x2c6502),_0x4e084f===0x1&&(_0x4eaa8a['push'](')'),_0x4eaa8a[_0x354d23(0x1e2)]('('),this['_generateNewFunctionString'](_0x34deb3,_0x4eaa8a,_0x2c6502)),_0x4eaa8a[_0x354d23(0x1e2)](')');return;}else{if(_0x1cc2fa===0x1){for(let _0x5eae97=0x0;_0x5eae97<_0x545588-0x1;_0x5eae97++){const _0x2a853c=_0x3058ae[_0x5eae97];if(_0x2a853c instanceof _0x5f3b93&&_0x5eae97%0x2===0x0){const _0x45513c=_0x2a853c[_0x354d23(0x205)]()[0x0];if(typeof _0x45513c==_0x354d23(0x25e)){this[_0x354d23(0x286)][_0x354d23(0x28c)](_0x45513c)&&console[_0x354d23(0x20e)](_0x354d23(0x291)+_0x45513c+'\x22\x20is\x20duplicated.'),this[_0x354d23(0x286)][_0x354d23(0x24b)](_0x45513c),_0x4eaa8a['push'](''+this[_0x354d23(0x222)]+_0x45513c),this[_0x354d23(0x273)]=!0x0,_0x4eaa8a[_0x354d23(0x1e2)](',');continue;}}if(this[_0x354d23(0x271)](_0x2a853c,_0x4eaa8a,_0x2c6502),_0x2a853c instanceof _0x5f3b93){const _0x50f808=_0x3058ae[_0x5eae97+0x1];_0x50f808&&_0x50f808 instanceof _0x5f3b93&&_0x4eaa8a[_0x354d23(0x1e2)](',');}}this[_0x354d23(0x271)](_0x3058ae[_0x545588-0x1],_0x4eaa8a,_0x2c6502),_0x4eaa8a['push'](')');return;}else{if(_0x1cc2fa===0x8){const _0x3338d0=_0x3058ae[0x0],_0x33d210=_0x3058ae[0x1];this[_0x354d23(0x271)](_0x3338d0,_0x4eaa8a,_0x2c6502),_0x4eaa8a[_0x354d23(0x1e2)](_0x34d930),this[_0x354d23(0x271)](_0x33d210,_0x4eaa8a,_0x2c6502);return;}}}for(let _0x2f057d=0x0;_0x2f057d<_0x545588;_0x2f057d++){const _0x442a71=_0x3058ae[_0x2f057d];if(this[_0x354d23(0x271)](_0x442a71,_0x4eaa8a,_0x2c6502),_0x442a71 instanceof _0x5f3b93){const _0x1a54dd=_0x3058ae[_0x2f057d+0x1];_0x1a54dd&&_0x1a54dd instanceof _0x5f3b93&&_0x4eaa8a[_0x354d23(0x1e2)](',');}}_0x1cc2fa===0x7&&_0x4eaa8a[_0x354d23(0x1e2)](_0x34d930),(_0x43204c||_0x1cc2fa===0x9)&&_0x4eaa8a[_0x354d23(0x1e2)](')');}['_handleNewFunctionChild'](_0x2aeede,_0x223085,_0x5be8c3){const _0x1cbcf8=_0xf22f78;_0x2aeede instanceof _0x5f3b93?this[_0x1cbcf8(0x243)](_0x2aeede,_0x223085,_0x5be8c3):this[_0x1cbcf8(0x286)][_0x1cbcf8(0x28c)](_0x2aeede)?(_0x223085[_0x1cbcf8(0x1e2)](''+this[_0x1cbcf8(0x222)]+_0x2aeede),this[_0x1cbcf8(0x273)]=!0x0):_0x223085[_0x1cbcf8(0x1e2)](_0x2aeede);}[_0xf22f78(0x25b)](_0x438992){const _0x2b9b40=_0xf22f78;let _0x50f9c1=_0x438992[_0x2b9b40(0x24e)]();if(!_0x50f9c1)return _0x50f9c1;const _0xab05cd=_0x50f9c1[0x0];if((_0xab05cd===_0x4b1429['AT']||_0xab05cd===_0x4b1429['MINUS']||_0xab05cd===_0x4b1429[_0x2b9b40(0x223)])&&(_0x50f9c1=_0x50f9c1['slice'](0x1)),!_0x50f9c1)return _0x50f9c1;const _0x4bfa61=_0x50f9c1[_0x50f9c1['length']-0x1];return _0x45ea75[_0x2b9b40(0x28c)](_0x4bfa61)&&(_0x50f9c1=_0x50f9c1['slice'](0x0,-0x1)),_0x50f9c1;}[_0xf22f78(0x1f6)](_0x4ae6f1){const _0x362a59=_0xf22f78,_0x437f48=_0x4ae6f1['getChildren']()[0x0];if(!_0x437f48||!(_0x437f48 instanceof _0x5f3b93)||_0x4ae6f1[_0x362a59(0x205)]()['length']>0x1)return!0x1;const _0x1611a8=_0x437f48['getChildren'](),_0x22c5c8=_0x1611a8[_0x362a59(0x217)];if(_0x22c5c8===0x1)return!0x1;for(let _0x190861=0x0;_0x190861<_0x22c5c8;_0x190861++){const _0x39b342=_0x1611a8[_0x190861];if(!(_0x39b342 instanceof _0x5f3b93)&&_0x4fe6fe[_0x362a59(0x28c)](_0x39b342))return!0x0;}return!0x1;}[_0xf22f78(0x257)](_0x191bbf,_0x1b3c8f,_0x44e00b,_0x2e6e45,_0x4aa12f){const _0x113847=_0xf22f78,_0x24c854=this[_0x113847(0x29a)](_0x191bbf,!0x1);if(!_0x24c854||_0x24c854===_0x528f40['VALUE']||Array[_0x113847(0x285)](_0x24c854))return null;this[_0x113847(0x270)](),this[_0x113847(0x239)]=_0x1b3c8f;const _0x90c5e5=this['_generateExprTree'](_0x24c854,_0x44e00b,_0x2e6e45,_0x4aa12f);return this[_0x113847(0x239)]='',this[_0x113847(0x1e3)](),_0x90c5e5;}[_0xf22f78(0x298)](_0x591051,_0xc11ceb,_0xb0ea3a,_0x1cedee){const _0x2eded6=_0xf22f78,_0x307f7c={'value':'','children':[],'startIndex':0x0};let _0x364fad=_0x591051;if(_0x364fad instanceof _0x5f3b93&&(_0x364fad[_0x2eded6(0x1f4)]()===_0x5e7597||_0x364fad[_0x2eded6(0x1f4)]()===_0x39155f)&&_0x364fad[_0x2eded6(0x205)]()[_0x2eded6(0x217)]===0x1&&(_0x364fad=_0x364fad[_0x2eded6(0x205)]()[0x0]),!(_0x364fad instanceof _0x5f3b93))return this[_0x2eded6(0x1f3)](_0x364fad,_0xb0ea3a,_0x1cedee);const _0x3604ad=_0x364fad[_0x2eded6(0x205)](),_0x49e214=_0x3604ad[_0x2eded6(0x217)],_0x3e6f55=[];this[_0x2eded6(0x243)](_0x364fad,_0x3e6f55,_0xc11ceb),_0x307f7c['value']=_0x3e6f55[_0x2eded6(0x2a0)](''),_0x307f7c['startIndex']=_0x364fad['getStartIndex']();const _0x205a5a=this[_0x2eded6(0x211)](_0x364fad);if(_0x205a5a===0x2){const _0x450d7e=_0x3604ad[0x0];if(_0x450d7e instanceof _0x5f3b93){if(_0x450d7e[_0x2eded6(0x1f4)]()[_0x2eded6(0x24e)]()!==_0x29257a)return _0x307f7c;this['_handleLambdaForExprTree'](_0x450d7e,_0x307f7c,_0xc11ceb,_0xb0ea3a,_0x1cedee);}return _0x307f7c;}else{if(_0x205a5a===0x1){for(let _0x33e396=0x0;_0x33e396<_0x49e214-0x1;_0x33e396++){const _0x4043a7=_0x3604ad[_0x33e396];if(_0x4043a7 instanceof _0x5f3b93&&_0x33e396%0x2===0x1){const _0x54b6eb=_0x4043a7[_0x2eded6(0x205)]();if(_0x54b6eb[_0x2eded6(0x217)]===0x1&&!(_0x54b6eb[0x0]instanceof _0x5f3b93))continue;const _0x5708be=this[_0x2eded6(0x298)](_0x4043a7,_0xc11ceb,_0xb0ea3a,_0x1cedee);_0x5708be&&_0x307f7c[_0x2eded6(0x1fb)]['push'](_0x5708be);}}return _0x307f7c;}else{if(_0x205a5a===0x8){const _0x40b56b=_0x3604ad[0x0];if(_0x40b56b instanceof _0x5f3b93){const _0x5659a8=_0x40b56b[_0x2eded6(0x205)]()[0x0];_0x5659a8 instanceof _0x5f3b93&&(_0x307f7c['startIndex']=_0x5659a8[_0x2eded6(0x28f)]());}if(this[_0x2eded6(0x258)](_0x364fad))return _0x307f7c;}else{if(_0x205a5a===0x7){const _0x572a1b=_0x3604ad[0x0];if(_0x572a1b instanceof _0x5f3b93){const _0x4394c0=_0x572a1b['getChildren']()[0x0];_0x4394c0 instanceof _0x5f3b93&&(_0x307f7c['startIndex']=_0x4394c0[_0x2eded6(0x28f)]());}}}}}return this[_0x2eded6(0x2a5)](_0x3604ad,_0x205a5a,_0x307f7c,_0xc11ceb,_0xb0ea3a,_0x1cedee),_0x307f7c;}[_0xf22f78(0x2a5)](_0xf1462f,_0x47aaea,_0x53bc7e,_0x460f47,_0x108837,_0x46d321){const _0x579782=_0xf22f78;for(let _0x2f0e2e=0x0;_0x2f0e2e<_0xf1462f[_0x579782(0x217)];_0x2f0e2e++){let _0x526d14=_0xf1462f[_0x2f0e2e];if(!(_0x526d14 instanceof _0x5f3b93)){const _0x582f86=this[_0x579782(0x1f3)](_0x526d14,_0x108837,_0x46d321);_0x582f86&&_0x53bc7e['children'][_0x579782(0x1e2)](_0x582f86);continue;}const _0x3a748c=_0x526d14[_0x579782(0x205)]();if(_0x3a748c[_0x579782(0x217)]===0x1&&!(_0x3a748c[0x0]instanceof _0x5f3b93)){const _0x28d3ec=_0x3a748c[0x0];if(!_0x108837(this[_0x579782(0x239)],_0x28d3ec)&&!this[_0x579782(0x294)](_0x28d3ec,_0x46d321)&&!_0x4c34a2(_0x28d3ec))continue;}if(_0x47aaea===0x8){const _0x1cc482=_0x3a748c[0x0];if(_0x1cc482 instanceof _0x5f3b93){const _0x311d12=_0x1cc482[_0x579782(0x1f4)]()['trim']();if(_0x4c34a2(_0x311d12))continue;_0x526d14=_0x1cc482;}}const _0x512b98=this[_0x579782(0x298)](_0x526d14,_0x460f47,_0x108837,_0x46d321);_0x512b98&&_0x53bc7e[_0x579782(0x1fb)][_0x579782(0x1e2)](_0x512b98);}}['_checkColonNodeForExprTree'](_0x3ce326){const _0x4ca880=_0xf22f78,_0xfbe461=_0x3ce326[_0x4ca880(0x205)]();if(_0xfbe461['length']<0x2)return!0x1;const _0x4c20bc=_0xfbe461[0x0],_0x5a9eec=_0xfbe461[0x1];if(!(_0x4c20bc instanceof _0x5f3b93)||!(_0x5a9eec instanceof _0x5f3b93))return!0x1;const _0x25cc38=_0x4c20bc[_0x4ca880(0x205)]()[0x0],_0x3ece6a=_0x5a9eec['getChildren']()[0x0];if(!(_0x25cc38 instanceof _0x5f3b93)||!(_0x3ece6a instanceof _0x5f3b93))return!0x1;const _0x319535=_0x25cc38[_0x4ca880(0x1f4)]()[_0x4ca880(0x24e)](),_0x510710=_0x3ece6a[_0x4ca880(0x1f4)]()[_0x4ca880(0x24e)]();return!!_0x4c34a2(''+_0x319535+_0x433c98[_0x4ca880(0x240)]+_0x510710);}[_0xf22f78(0x1f3)](_0x26f35e,_0x87adf0,_0x20e1c0){const _0x24b976=_0xf22f78,_0x1a9c83=_0x26f35e[_0x24b976(0x24e)]();return _0x1a9c83[_0x24b976(0x29b)]('{')&&_0x1a9c83['endsWith']('}')||_0x87adf0(this[_0x24b976(0x239)],_0x1a9c83)||this[_0x24b976(0x294)](_0x1a9c83,_0x20e1c0)||_0x4c34a2(_0x1a9c83)?{'value':_0x1a9c83,'children':[],'startIndex':-0x1}:null;}[_0xf22f78(0x294)](_0x549707,_0x41f776){const _0x4f2600=_0xf22f78,{tableName:_0x4eeca0}=_0x5486d1(_0x549707);return _0x41f776(this[_0x4f2600(0x239)],_0x4eeca0)?_0x4eeca0:null;}[_0xf22f78(0x20b)](_0x3999a9,_0x3f4fec,_0x337f3a,_0x33cf1c,_0x240f74){const _0x4196e6=_0xf22f78,_0x3dd728=_0x3999a9[_0x4196e6(0x205)]();for(let _0x2595ce=0x0;_0x2595ce<_0x3dd728[_0x4196e6(0x217)];_0x2595ce++){const _0x562d45=_0x3dd728[_0x2595ce];if(!(_0x562d45 instanceof _0x5f3b93))continue;const _0x46b63b=_0x562d45[_0x4196e6(0x205)]();if(_0x46b63b[_0x4196e6(0x217)]===0x1&&!(_0x46b63b[0x0]instanceof _0x5f3b93))continue;const _0x3d4fdb=this[_0x4196e6(0x298)](_0x562d45,_0x337f3a,_0x33cf1c,_0x240f74);_0x3d4fdb&&_0x3f4fec['children'][_0x4196e6(0x1e2)](_0x3d4fdb);}}['_getCurNodeTypeForExprTree'](_0x142dfb){const _0x4d776d=_0xf22f78,_0x5da421=_0x142dfb[_0x4d776d(0x1f4)](),_0x48d559=_0x5da421['trim']()['toUpperCase']();let _0x4d6f0d=0x0;return _0x5da421===_0x5e7597?_0x4d6f0d=0x3:_0x5da421===_0x39155f?_0x4d6f0d=0x4:_0x5da421===_0x29257a?_0x4d6f0d=0x5:_0x48d559===_0xeaa7d9?_0x4d6f0d=0x2:_0x48d559===_0x1e8460?_0x4d6f0d=0x1:_0x48d559===_0x433c98['COLON']?_0x4d6f0d=0x8:_0x45ea75[_0x4d776d(0x28c)](_0x48d559)?_0x4d6f0d=0x7:_0x48d559===_0x4b1429[_0x4d776d(0x279)]?this['_checkAddBracketForMinus'](_0x142dfb)&&(_0x4d6f0d=0x9):_0x4d6f0d=0xa,_0x4d6f0d;}}const Se={0x0:'3',0x1:'Y',0x2:'Q',0x3:'S',0x4:'w',0x5:'q',0x6:'N',0x7:'9',0x8:'W',0x9:'2','q':'0','A':'1','u':'4','O':'5','m':'6','l':'7','B':'8','N':'a','t':'b','V':'c','S':'d','r':'e','h':'f','D':'g','L':'h','I':'i','b':'j','v':'k','j':'l','R':'m','a':'n','c':'o','z':'p','n':'r','g':'s','f':'t','M':'u','K':'v','w':'x','P':'y','T':'z','e':'A','p':'B','C':'C','Y':'D','X':'E','Z':'F','E':'G','k':'H','F':'I','d':'J','Q':'K','s':'L','o':'M','i':'O','y':'P','U':'R','x':'T','G':'U','W':'V','H':'X','J':'Z'},Me=_0xf22f78(0x21d);class Re extends _0x3204ae{constructor(){const _0x2ac8dd=_0xf22f78;super(...arguments),F(this,_0x2ac8dd(0x1fc),new Map());}['dispose'](){const _0x56c4d1=_0xf22f78;super[_0x56c4d1(0x293)](),this['_dependencyTreeCache'][_0x56c4d1(0x24a)]();}async[_0xf22f78(0x281)](_0x2f4686=!0x1){const _0x34557b=_0xf22f78;this[_0x34557b(0x278)]();const _0x3c3f30=this[_0x34557b(0x235)][_0x34557b(0x26d)](),_0xb400d9=this[_0x34557b(0x25f)][_0x34557b(0x29d)](),_0x47b13d=this[_0x34557b(0x235)][_0x34557b(0x201)]();_0x47b13d!=null&&Object[_0x34557b(0x265)](_0x47b13d)['forEach'](_0x202af8=>{const _0x5d921d=_0x34557b;_0x202af8!=null&&Object[_0x5d921d(0x265)](_0x47b13d[_0x202af8])[_0x5d921d(0x1dc)](_0x365856=>{const _0x56871d=_0x5d921d;_0x365856!=null&&(this[_0x56871d(0x267)][_0x56871d(0x1f8)](_0x202af8,_0x365856),this[_0x56871d(0x267)]['clearFeatureFormulaDependency'](_0x202af8,_0x365856),this[_0x56871d(0x267)][_0x56871d(0x20d)](_0x202af8,_0x365856));});});const _0x40a8b6=this[_0x34557b(0x235)][_0x34557b(0x2a1)]();await this[_0x34557b(0x289)](_0x3c3f30,_0xb400d9,_0x40a8b6),this[_0x34557b(0x267)][_0x34557b(0x1e1)]();const _0x2e6cec=this[_0x34557b(0x246)](),_0x4b753f=this[_0x34557b(0x21a)](_0x2e6cec);return this[_0x34557b(0x227)](_0x4b753f)&&this['_runtimeService'][_0x34557b(0x276)](),_0x2f4686&&this[_0x34557b(0x23a)][_0x34557b(0x233)](this[_0x34557b(0x25a)](Array[_0x34557b(0x275)](this[_0x34557b(0x1fc)][_0x34557b(0x23c)]()))),this[_0x34557b(0x1fc)][_0x34557b(0x24a)](),this[_0x34557b(0x256)][_0x34557b(0x24a)](),this['_dependencyManagerService']['closeKdTree'](),this[_0x34557b(0x23a)]['clearArrayObjectCache'](),Promise[_0x34557b(0x22b)](_0x4b753f);}[_0xf22f78(0x1f0)](_0x1bca2e,_0x49a8d8){const _0x55ea1c=_0xf22f78,_0x462198=[_0x1bca2e];for(;_0x462198[_0x55ea1c(0x217)]>0x0;){const _0x390c35=_0x462198[_0x462198['length']-0x1];if((_0x49a8d8[_0x55ea1c(0x1ed)](_0x390c35)||0x0)===0x0){_0x49a8d8['set'](_0x390c35,0x1);const _0x12ea05=this[_0x55ea1c(0x1fc)][_0x55ea1c(0x1ed)](_0x390c35);if(_0x12ea05==null){_0x49a8d8[_0x55ea1c(0x20a)](_0x390c35,0x2),_0x462198[_0x55ea1c(0x221)]();continue;}const _0x341474=this[_0x55ea1c(0x267)][_0x55ea1c(0x1e5)](_0x12ea05[_0x55ea1c(0x1e6)]());for(const _0x107ce1 of _0x341474){const _0x246dfd=_0x49a8d8['get'](_0x107ce1)||0x0;if(_0x246dfd===0x1)return!0x0;_0x246dfd===0x0&&_0x462198['push'](_0x107ce1);}}else _0x49a8d8[_0x55ea1c(0x20a)](_0x390c35,0x2),_0x462198['pop']();}return!0x1;}[_0xf22f78(0x227)](_0x5dc067){const _0x2891c6=_0xf22f78,_0x584fb8=new Map();for(const _0x39cfa1 of _0x5dc067)if(!_0x584fb8['has'](_0x39cfa1[_0x2891c6(0x26f)])&&this[_0x2891c6(0x1f0)](_0x39cfa1['treeId'],_0x584fb8))return!0x0;return _0x584fb8[_0x2891c6(0x24a)](),!0x1;}['_getFeatureFormulaTree'](_0xcf39aa,_0x135030,_0x31f6f1){const _0x4632f0=_0xf22f78,{unitId:_0xadb701,subUnitId:_0x5339a0,dependencyRanges:_0x1361df,getDirtyData:_0x1ac8b7}=_0x31f6f1,_0x4593e2=_0x135030||_0x26901d(this[_0x4632f0(0x267)]),_0xf15f59=new _0x327e67(_0x4593e2);_0xf15f59[_0x4632f0(0x290)]=_0xadb701,_0xf15f59[_0x4632f0(0x296)]=_0x5339a0,_0xf15f59[_0x4632f0(0x25c)]=_0x1361df,_0xf15f59['getDirtyData']=_0x1ac8b7;const _0x1e2384=_0x1ac8b7(this[_0x4632f0(0x235)][_0x4632f0(0x287)](),this[_0x4632f0(0x23a)][_0x4632f0(0x21c)]()),_0x4519a8=this['_convertDirtyRangesToUnitRange'](_0x1e2384[_0x4632f0(0x288)]);return _0xf15f59[_0x4632f0(0x2ad)]=_0x4519a8,_0xf15f59[_0x4632f0(0x1e0)]=_0xcf39aa,_0xf15f59['type']=_0x11e136[_0x4632f0(0x26a)],this[_0x4632f0(0x267)][_0x4632f0(0x22d)](_0xadb701,_0x5339a0,_0xcf39aa,_0xf15f59),this[_0x4632f0(0x1fc)][_0x4632f0(0x20a)](_0xf15f59[_0x4632f0(0x26f)],_0xf15f59),this[_0x4632f0(0x267)][_0x4632f0(0x272)](_0x31f6f1['unitId'],_0x31f6f1[_0x4632f0(0x296)],_0xcf39aa)&&(_0xf15f59['isCache']=!0x0),_0xf15f59;}['_registerOtherFormulas'](_0x4196fb,_0x394124,_0x3fcad1){const _0x1ee172=_0xf22f78;var _0x5f20bc;for(const _0x35fb9f of _0x394124){const _0x560977=_0x4196fb[_0x35fb9f];if(_0x560977==null)continue;const _0x392c8a=Object[_0x1ee172(0x265)](_0x560977);for(const _0x2a337c of _0x392c8a){const _0x3400ac=_0x560977[_0x2a337c];if(_0x3400ac==null)continue;const _0x1d6d01=Object['keys'](_0x3400ac);for(const _0x33c0cb of _0x1d6d01){const _0x26bfac=this['_dependencyManagerService'][_0x1ee172(0x1de)](_0x33c0cb),_0x4730c4=_0x3400ac[_0x33c0cb],{f:_0x271762,ranges:_0x20206d}=_0x4730c4;let _0x5078c8=!0x1;_0x26bfac&&(_0x5078c8=!0x0);const {firstRow:_0x395313,firstColumn:_0x5c3797}=this[_0x1ee172(0x262)](_0x20206d),_0x47d724=this[_0x1ee172(0x267)][_0x1ee172(0x2a6)](_0x35fb9f,_0x2a337c,_0x33c0cb),_0xe104cc=(_0x5f20bc=_0x47d724==null?void 0x0:_0x47d724[_0x1ee172(0x292)](0x0,0x0))!=null?_0x5f20bc:_0x26901d(this[_0x1ee172(0x267)]),_0x2e4390=new _0x327e67(_0xe104cc);for(let _0xfbd21e=0x0;_0xfbd21e<_0x20206d[_0x1ee172(0x217)];_0xfbd21e++){const _0x205a77=_0x20206d[_0xfbd21e],{startRow:_0x4af8c9,startColumn:_0x2bc71a,endRow:_0x543859,endColumn:_0xbd7bbf}=_0x205a77;for(let _0x114e5f=_0x4af8c9;_0x114e5f<=_0x543859;_0x114e5f++)for(let _0x471e4f=_0x2bc71a;_0x471e4f<=_0xbd7bbf;_0x471e4f++){const _0x5da627=_0x471e4f-_0x5c3797,_0x46a40e=_0x114e5f-_0x395313;if(_0x5da627===0x0&&_0x46a40e===0x0){_0x2e4390['formula']=_0x271762,_0x2e4390['unitId']=_0x35fb9f,_0x2e4390[_0x1ee172(0x296)]=_0x2a337c,_0x2e4390[_0x1ee172(0x280)]=_0x33c0cb,_0x2e4390[_0x1ee172(0x259)]=_0x11e136[_0x1ee172(0x2ab)],_0x2e4390[_0x1ee172(0x208)]=_0x5078c8,_0x3fcad1['push'](_0x2e4390),this[_0x1ee172(0x1fc)]['set'](_0x2e4390[_0x1ee172(0x26f)],_0x2e4390),this[_0x1ee172(0x267)][_0x1ee172(0x1ee)](_0x35fb9f,_0x2a337c,_0x33c0cb,_0x2e4390),this[_0x1ee172(0x267)][_0x1ee172(0x253)](_0x2e4390);continue;}const _0x5d48db=new _0x383846();_0x5d48db['treeId']=(_0x47d724==null?void 0x0:_0x47d724[_0x1ee172(0x292)](_0x5da627,_0x46a40e))||_0x26901d(this[_0x1ee172(0x267)]),_0x5d48db['refTree']=_0x2e4390,_0x5d48db['refOffsetX']=_0x5da627,_0x5d48db[_0x1ee172(0x250)]=_0x46a40e,_0x5d48db[_0x1ee172(0x208)]=_0x5078c8,_0x5d48db[_0x1ee172(0x259)]=_0x11e136['OTHER_FORMULA'],this['_dependencyManagerService']['addOtherFormulaDependency'](_0x35fb9f,_0x2a337c,_0x33c0cb,_0x5d48db),this[_0x1ee172(0x267)][_0x1ee172(0x253)](_0x5d48db),_0x3fcad1['push'](_0x5d48db),this[_0x1ee172(0x1fc)][_0x1ee172(0x20a)](_0x5d48db[_0x1ee172(0x26f)],_0x5d48db);}}this[_0x1ee172(0x267)][_0x1ee172(0x24d)](_0x33c0cb);}}}}['_registerFormulas'](_0x35f7fb,_0x21fd16,_0xdae532,_0x1453d7){const _0x1e64f5=_0xf22f78;for(const _0x284662 of _0x35f7fb){const _0xef71aa=_0x21fd16[_0x284662];if(_0xef71aa==null)continue;const _0x1c9256=Object[_0x1e64f5(0x265)](_0xef71aa);for(const _0x2e7d7a of _0x1c9256){const _0x18d62d=new _0x3a7b4f(_0xef71aa[_0x2e7d7a]||{}),_0x127d4a=new Map();_0x18d62d[_0x1e64f5(0x24c)]((_0x2259b5,_0x44f2cb,_0x2db779)=>{const _0x11ea9a=_0x1e64f5;if(_0x2db779==null)return!0x0;const {x:_0x79861=0x0,y:_0x335806=0x0,si:_0xd575a8}=_0x2db779;if(!(_0x79861===0x0&&_0x335806===0x0&&_0xd575a8!=null))return!0x0;const _0x3b7e15=this['_createFDtree'](_0x284662,_0x2e7d7a,_0x2259b5,_0x44f2cb,_0xdae532,_0x2db779),_0x4639e8=this[_0x11ea9a(0x267)][_0x11ea9a(0x241)](_0x284662,_0x2e7d7a,_0x2259b5,_0x44f2cb);_0x4639e8!=null?_0x3b7e15[_0x11ea9a(0x26f)]=_0x4639e8:(this[_0x11ea9a(0x267)]['addFormulaDependency'](_0x284662,_0x2e7d7a,_0x2259b5,_0x44f2cb,_0x3b7e15),this[_0x11ea9a(0x267)][_0x11ea9a(0x253)](_0x3b7e15)),_0x127d4a[_0x11ea9a(0x20a)](_0xd575a8,_0x3b7e15),_0x1453d7[_0x11ea9a(0x1e2)](_0x3b7e15),this['_dependencyTreeCache'][_0x11ea9a(0x20a)](_0x3b7e15[_0x11ea9a(0x26f)],_0x3b7e15);}),_0x18d62d[_0x1e64f5(0x24c)]((_0x299b78,_0x28f96e,_0x400b77)=>{const _0x53ac75=_0x1e64f5;if(_0x400b77==null)return!0x0;const {x:_0xaaf24f=0x0,y:_0x11acc0=0x0,si:_0x27a0ee}=_0x400b77;if(_0xaaf24f===0x0&&_0x11acc0===0x0&&_0x27a0ee!=null)return!0x0;let _0x41b4af;if(_0x27a0ee&&_0x127d4a[_0x53ac75(0x28c)](_0x27a0ee)){const _0x54e25f=_0x127d4a[_0x53ac75(0x1ed)](_0x27a0ee);_0x41b4af=this['_createVirtualFDtree'](_0x54e25f,_0x400b77);}else _0x41b4af=this[_0x53ac75(0x212)](_0x284662,_0x2e7d7a,_0x299b78,_0x28f96e,_0xdae532,_0x400b77);const _0x5ce797=this['_dependencyManagerService'][_0x53ac75(0x241)](_0x284662,_0x2e7d7a,_0x299b78,_0x28f96e);_0x5ce797!=null?_0x41b4af[_0x53ac75(0x26f)]=_0x5ce797:(this[_0x53ac75(0x267)][_0x53ac75(0x1ec)](_0x284662,_0x2e7d7a,_0x299b78,_0x28f96e,_0x41b4af),this[_0x53ac75(0x267)][_0x53ac75(0x253)](_0x41b4af)),_0x1453d7[_0x53ac75(0x1e2)](_0x41b4af),this[_0x53ac75(0x1fc)][_0x53ac75(0x20a)](_0x41b4af[_0x53ac75(0x26f)],_0x41b4af);}),_0x127d4a[_0x1e64f5(0x24a)]();}}}[_0xf22f78(0x212)](_0x56593d,_0x30a36f,_0x4a92cb,_0x14b1de,_0x4ec7b4,_0x1413ec){const _0x4cb993=_0xf22f78,{f:_0x418542,x:_0x225272=0x0,y:_0x4ba756=0x0}=_0x1413ec,_0x34d04a=new _0x327e67(_0x26901d(this[_0x4cb993(0x267)])),_0x165c22=_0x4ec7b4[_0x56593d][_0x30a36f];return _0x34d04a['formula']=_0x418542,_0x34d04a[_0x4cb993(0x290)]=_0x56593d,_0x34d04a[_0x4cb993(0x296)]=_0x30a36f,_0x34d04a[_0x4cb993(0x204)]=_0x4a92cb,_0x34d04a['column']=_0x14b1de,_0x34d04a[_0x4cb993(0x22a)]=_0x165c22[_0x4cb993(0x22a)],_0x34d04a[_0x4cb993(0x1e9)]=_0x165c22[_0x4cb993(0x1e9)],_0x34d04a;}[_0xf22f78(0x246)](){const _0xda3c84=_0xf22f78,_0x55529f=[],_0x389ebf=new Set(),_0x113dd1=this[_0xda3c84(0x235)][_0xda3c84(0x25d)](),_0x307b82=this['_currentConfigService'][_0xda3c84(0x1f7)](),_0x438578=this['_dependencyManagerService'][_0xda3c84(0x1e5)](_0x307b82),_0x1b5462=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x307b82);for(const _0x5acfe2 of _0x1b5462)_0x438578[_0xda3c84(0x24b)](_0x5acfe2);for(const [_0x465d52,_0x3d6c8e]of this[_0xda3c84(0x1fc)])(_0x113dd1||_0x3d6c8e[_0xda3c84(0x1ea)]||_0x3d6c8e['dependencySheetName'](this['_currentConfigService'][_0xda3c84(0x29e)]())||_0x438578[_0xda3c84(0x28c)](_0x465d52)&&!_0x3d6c8e[_0xda3c84(0x260)](this[_0xda3c84(0x235)][_0xda3c84(0x238)]()))&&!_0x389ebf[_0xda3c84(0x28c)](_0x465d52)&&(_0x55529f[_0xda3c84(0x1e2)](_0x3d6c8e),_0x389ebf[_0xda3c84(0x24b)](_0x465d52));for(const [_0x2d3b33,_0x2bc546]of this[_0xda3c84(0x1fc)])_0x2bc546[_0xda3c84(0x247)]||(_0x2bc546['rangeList'][_0xda3c84(0x217)]=0x0);return _0x55529f;}[_0xf22f78(0x244)](_0x5378f8){const _0x3adb63=_0xf22f78;return this[_0x3adb63(0x1fc)]['get'](_0x5378f8);}['_getTreeNode'](_0x3a422c){const _0x39ddaf=_0xf22f78;return _0x54d52d(_0x3a422c['unitId'],_0x3a422c[_0x39ddaf(0x1f5)],this[_0x39ddaf(0x251)],this[_0x39ddaf(0x213)],this[_0x39ddaf(0x235)]);}*[_0xf22f78(0x224)](_0x530726,_0x23219c){const _0x515dca=_0xf22f78,_0x5a78a4=_0x530726,_0x5f5417=new Set();for(;_0x5a78a4['length']>0x0;){const _0x342d96=_0x5a78a4[_0x515dca(0x221)]();if(_0x5f5417[_0x515dca(0x24a)](),_0x342d96===void 0x0||_0x342d96[_0x515dca(0x1ff)]())continue;if(_0x342d96[_0x515dca(0x1fd)]()){yield _0x342d96,_0x342d96['setSkip'](),_0x23219c['add'](_0x342d96[_0x515dca(0x26f)]);continue;}const _0x534ea4=this[_0x515dca(0x267)][_0x515dca(0x1e5)](_0x342d96['toRTreeItem'](),_0x23219c),_0x40aec0=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x342d96['toRTreeItem'](),_0x23219c);for(const _0x570e97 of _0x40aec0)_0x534ea4['add'](_0x570e97);for(const _0x26fd92 of _0x534ea4){const _0x35b353=this[_0x515dca(0x1fc)][_0x515dca(0x1ed)](_0x26fd92);if(!_0x35b353){console['error']('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x26fd92);continue;}_0x35b353[_0x515dca(0x1fd)]()||_0x342d96[_0x515dca(0x1ff)]()||_0x5f5417[_0x515dca(0x24b)](_0x35b353);}if(_0x534ea4[_0x515dca(0x24a)](),_0x5f5417[_0x515dca(0x274)]===0x0)yield _0x342d96,_0x342d96[_0x515dca(0x249)](),_0x23219c[_0x515dca(0x24b)](_0x342d96[_0x515dca(0x26f)]);else{_0x342d96['setAdded'](),_0x5a78a4[_0x515dca(0x1e2)](_0x342d96);for(const _0x2efe5f of _0x5f5417)_0x5a78a4[_0x515dca(0x1e2)](_0x2efe5f);}}_0x5a78a4[_0x515dca(0x217)]=0x0,_0x5f5417[_0x515dca(0x24a)]();}[_0xf22f78(0x21a)](_0x59d060){const _0x4e6462=_0xf22f78,_0x3266c9=[],_0x41ced0=new Set();for(const _0x172c9f of this['_traverse'](_0x59d060,_0x41ced0))_0x3266c9[_0x4e6462(0x1e2)](_0x172c9f);return _0x3266c9;}async[_0xf22f78(0x27c)](){const _0x494d9d=_0xf22f78;return await this['_initializeGenerateTreeList'](),Array[_0x494d9d(0x275)](this['_dependencyTreeCache'][_0x494d9d(0x23c)]());}[_0xf22f78(0x28a)](_0x498c66){const _0x42e553=_0xf22f78;return this[_0x42e553(0x267)][_0x42e553(0x1e5)](_0x498c66[_0x42e553(0x1e6)]());}[_0xf22f78(0x236)](_0xb78631){const _0x4856ee=_0xf22f78,_0x1427f2=new Set(),_0x5175ba=_0xb78631[_0x4856ee(0x25c)];for(const [_0x1c715b,_0x541550]of this['_dependencyTreeCache'])for(const _0x4bff26 of _0x5175ba){const _0x5aaa54=_0x4bff26[_0x4856ee(0x290)],_0x1ebcd5=_0x4bff26[_0x4856ee(0x28d)];if(_0x541550[_0x4856ee(0x290)]!==_0x5aaa54||_0x541550[_0x4856ee(0x296)]!==_0x1ebcd5)continue;const _0x31e349=_0x4bff26[_0x4856ee(0x1dd)];if(_0x541550['inRangeData'](_0x31e349)){_0x1427f2[_0x4856ee(0x24b)](_0x1c715b);break;}}return _0x1427f2;}[_0xf22f78(0x1fe)](){const _0x14c2c4=_0xf22f78;this[_0x14c2c4(0x267)][_0x14c2c4(0x1e1)]();}[_0xf22f78(0x295)](){const _0x5c443d=_0xf22f78;this[_0x5c443d(0x1ef)][_0x5c443d(0x24a)](),this[_0x5c443d(0x1fc)][_0x5c443d(0x24a)](),this[_0x5c443d(0x267)][_0x5c443d(0x2ae)]();}}class ve extends _0x39cc68{async[_0xf22f78(0x2a9)](_0x264e10=!0x1){const _0x34be68=_0xf22f78;_0x264e10?this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60[_0x34be68(0x23b)]),this[_0x34be68(0x23e)][_0x34be68(0x1df)](this[_0x34be68(0x23a)][_0x34be68(0x203)]());const _0x403275=await this[_0x34be68(0x254)][_0x34be68(0x281)](this['_isCalculateTreeModel']),_0x3164ae=this['_interpreter'];_0x264e10?(this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60[_0x34be68(0x21b)]),this[_0x34be68(0x23a)][_0x34be68(0x2a2)](_0x403275[_0x34be68(0x217)])):(this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60[_0x34be68(0x225)]),this['_runtimeService'][_0x34be68(0x220)](_0x403275[_0x34be68(0x217)])),this[_0x34be68(0x23e)]['next'](this[_0x34be68(0x23a)][_0x34be68(0x203)]());let _0x57ca39=[];const _0x2d7b19=this['_configService'][_0x34be68(0x22c)](_0x5b514c),_0x8e9f5a=(_0x2d7b19==null?void 0x0:_0x2d7b19['intervalCount'])||_0x4148fa;let _0x566951=0x0;const _0x198b0c=_0x403275[_0x34be68(0x217)];for(;_0x403275[_0x34be68(0x217)]>0x0;){const _0x271c53=_0x403275[_0x34be68(0x221)](),_0x2457ab=_0x54d52d(_0x271c53[_0x34be68(0x290)],_0x271c53[_0x34be68(0x1f5)],this[_0x34be68(0x251)],this[_0x34be68(0x213)],this['_currentConfigService']),_0x40e7e9={'node':_0x2457ab,'refOffsetX':_0x271c53[_0x34be68(0x230)],'refOffsetY':_0x271c53[_0x34be68(0x250)]},_0x1858ee=_0x271c53[_0x34be68(0x287)];if(_0x566951%_0x8e9f5a===0x0&&(await new Promise(_0xa37109=>{const _0x472e59=_0x34be68,_0x32c751=_0x3cbdbd(_0xa37109);_0x57ca39[_0x472e59(0x1e2)](_0x32c751);}),_0x264e10?(this[_0x34be68(0x23a)]['setFormulaExecuteStage'](_0x395d60[_0x34be68(0x22e)]),this['_runtimeService'][_0x34be68(0x2a7)](_0x566951+0x1)):(this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60[_0x34be68(0x20c)]),this[_0x34be68(0x23a)][_0x34be68(0x1db)](_0x566951+0x1)),this[_0x34be68(0x23e)][_0x34be68(0x1df)](this[_0x34be68(0x23a)]['getRuntimeState']()),this['_runtimeService'][_0x34be68(0x234)]()||_0x40e7e9==null&&_0x1858ee==null)){this[_0x34be68(0x23a)][_0x34be68(0x237)](_0x395d60[_0x34be68(0x215)]),this[_0x34be68(0x23a)]['markedAsStopFunctionsExecuted'](),this[_0x34be68(0x200)][_0x34be68(0x1df)](this[_0x34be68(0x23a)][_0x34be68(0x21c)]());return;}this['_runtimeService'][_0x34be68(0x2a4)](_0x271c53['row'],_0x271c53[_0x34be68(0x26e)],_0x271c53[_0x34be68(0x22a)],_0x271c53['columnCount'],_0x271c53[_0x34be68(0x296)],_0x271c53['unitId']);let _0x36ae43;if(_0x1858ee!=null&&_0x271c53[_0x34be68(0x1e0)]!=null){const {runtimeCellData:_0x518d39,dirtyRanges:_0x427ec1}=_0x1858ee(this[_0x34be68(0x235)][_0x34be68(0x287)](),this[_0x34be68(0x23a)]['getAllRuntimeData']());this[_0x34be68(0x23a)]['setRuntimeFeatureCellData'](_0x271c53[_0x34be68(0x1e0)],_0x518d39),this[_0x34be68(0x23a)]['setRuntimeFeatureRange'](_0x271c53[_0x34be68(0x1e0)],_0x427ec1);}else _0x40e7e9!=null&&(_0x3164ae[_0x34be68(0x1f1)](_0x40e7e9[_0x34be68(0x226)])?_0x36ae43=await _0x3164ae[_0x34be68(0x219)](_0x40e7e9):_0x36ae43=_0x3164ae[_0x34be68(0x202)](_0x40e7e9),_0x271c53['formulaId']!=null?this[_0x34be68(0x23a)][_0x34be68(0x214)](_0x271c53[_0x34be68(0x280)],_0x271c53[_0x34be68(0x230)],_0x271c53[_0x34be68(0x250)],_0x36ae43):this[_0x34be68(0x23a)]['setRuntimeData'](_0x36ae43));_0x2457ab[_0x34be68(0x21e)](),_0x566951++;}return _0x57ca39[_0x34be68(0x1dc)](_0x8d1868=>_0x8d1868()),_0x57ca39=[],_0x198b0c>0x0?this[_0x34be68(0x23a)][_0x34be68(0x1e8)]():_0x264e10||this[_0x34be68(0x23a)][_0x34be68(0x206)](),this[_0x34be68(0x23a)][_0x34be68(0x21c)]();}}class xe extends _0xc70fdf{constructor(){const _0x2670cd=_0xf22f78;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x2670cd(0x277),new _0x492194(!0x0));}[_0xf22f78(0x284)](){const _0x44a134=_0xf22f78;this[_0x44a134(0x266)][_0x44a134(0x24a)](),this[_0x44a134(0x261)][_0x44a134(0x24a)](),this[_0x44a134(0x20f)][_0x44a134(0x24a)](),this[_0x44a134(0x277)][_0x44a134(0x24a)](),this['_allTreeMap'][_0x44a134(0x24a)](),this['_restDependencyTreeId'](),this[_0x44a134(0x28e)][_0x44a134(0x24a)]();}['addOtherFormulaDependency'](_0x1bcc47,_0xca681,_0x16492c,_0x4eb0c9){const _0x11d8f2=_0xf22f78;this['_otherFormulaData'][_0x11d8f2(0x28c)](_0x1bcc47)||this['_otherFormulaData'][_0x11d8f2(0x20a)](_0x1bcc47,new Map());const _0x363219=this[_0x11d8f2(0x266)][_0x11d8f2(0x1ed)](_0x1bcc47);_0x363219[_0x11d8f2(0x28c)](_0xca681)||_0x363219[_0x11d8f2(0x20a)](_0xca681,new Map());const _0x535deb=_0x363219[_0x11d8f2(0x1ed)](_0xca681);_0x535deb[_0x11d8f2(0x28c)](_0x16492c)||_0x535deb[_0x11d8f2(0x20a)](_0x16492c,new _0x3a7b4f()),_0x535deb[_0x11d8f2(0x1ed)](_0x16492c)[_0x11d8f2(0x282)](_0x4eb0c9[_0x11d8f2(0x230)],_0x4eb0c9[_0x11d8f2(0x250)],_0x4eb0c9['treeId']);}[_0xf22f78(0x255)](_0x4201da,_0xe0f80c,_0x5e9633){const _0xf06300=_0xf22f78,_0xb3f941=this[_0xf06300(0x266)][_0xf06300(0x1ed)](_0x4201da);if(_0xb3f941&&_0xb3f941[_0xf06300(0x28c)](_0xe0f80c)){const _0x252d9c=_0xb3f941[_0xf06300(0x1ed)](_0xe0f80c);_0x5e9633[_0xf06300(0x1dc)](_0x2148b6=>{const _0x209d7e=_0xf06300,_0x250254=_0x252d9c[_0x209d7e(0x1ed)](_0x2148b6);_0x250254!=null&&(_0x250254[_0x209d7e(0x24c)]((_0x35c689,_0x9d23dc,_0x589eab)=>{const _0xf6ad16=_0x209d7e;this[_0xf6ad16(0x218)](_0x589eab),this[_0xf6ad16(0x27a)](_0x589eab);}),_0x252d9c[_0x209d7e(0x1e7)](_0x2148b6),this[_0x209d7e(0x28e)][_0x209d7e(0x1e7)](_0x2148b6));}),_0x252d9c['size']===0x0&&_0xb3f941[_0xf06300(0x1e7)](_0xe0f80c),_0xb3f941[_0xf06300(0x274)]===0x0&&this[_0xf06300(0x266)][_0xf06300(0x1e7)](_0x4201da);}}['clearOtherFormulaDependency'](_0x521ceb,_0x303fad){const _0x2b5bc5=_0xf22f78,_0x533ab2=this['_otherFormulaData']['get'](_0x521ceb);if(_0x303fad&&_0x533ab2&&_0x533ab2[_0x2b5bc5(0x28c)](_0x303fad)){const _0x231011=_0x533ab2['get'](_0x303fad);this[_0x2b5bc5(0x2a8)](_0x521ceb,_0x303fad);for(const _0x3b5626 of _0x231011['keys']()){const _0x20a00f=_0x231011[_0x2b5bc5(0x1ed)](_0x3b5626);_0x20a00f!=null&&(_0x20a00f[_0x2b5bc5(0x24c)]((_0x5a5586,_0x2fd72b,_0x7c92a3)=>{const _0x324481=_0x2b5bc5;this[_0x324481(0x216)][_0x324481(0x1ed)](_0x7c92a3)&&this[_0x324481(0x27a)](_0x7c92a3);}),this[_0x2b5bc5(0x28e)][_0x2b5bc5(0x1e7)](_0x3b5626));}_0x231011[_0x2b5bc5(0x24a)]();}else{if(_0x533ab2){for(const _0x5c9ee7 of _0x533ab2['keys']()){const _0x2a92b4=_0x533ab2[_0x2b5bc5(0x1ed)](_0x5c9ee7);this[_0x2b5bc5(0x2a8)](_0x521ceb,_0x5c9ee7);for(const _0x37d722 of _0x2a92b4[_0x2b5bc5(0x265)]()){const _0x4e8dab=_0x2a92b4[_0x2b5bc5(0x1ed)](_0x37d722);_0x4e8dab!=null&&(_0x4e8dab[_0x2b5bc5(0x24c)]((_0x50b35c,_0x3f3bb8,_0x2b0165)=>{const _0x2b07f8=_0x2b5bc5;this[_0x2b07f8(0x216)][_0x2b07f8(0x1ed)](_0x2b0165)&&this[_0x2b07f8(0x27a)](_0x2b0165);}),this[_0x2b5bc5(0x28e)][_0x2b5bc5(0x1e7)](_0x37d722));}}this['_otherFormulaData']['delete'](_0x521ceb);}}}[_0xf22f78(0x22d)](_0x2e329e,_0x2adddc,_0x3edef7,_0x5e3419){const _0xa15e73=_0xf22f78;this[_0xa15e73(0x261)][_0xa15e73(0x28c)](_0x2e329e)||this[_0xa15e73(0x261)][_0xa15e73(0x20a)](_0x2e329e,new Map());const _0x5164fc=this[_0xa15e73(0x261)][_0xa15e73(0x1ed)](_0x2e329e);_0x5164fc[_0xa15e73(0x28c)](_0x2adddc)||_0x5164fc[_0xa15e73(0x20a)](_0x2adddc,new Map()),_0x5164fc['get'](_0x2adddc)[_0xa15e73(0x20a)](_0x3edef7,_0x5e3419[_0xa15e73(0x26f)]);}[_0xf22f78(0x268)](_0x3bfbf0,_0xb27886,_0x21db53){const _0x55d74d=_0xf22f78,_0x264560=this['_featureFormulaData'][_0x55d74d(0x1ed)](_0x3bfbf0);if(_0x264560&&_0x264560[_0x55d74d(0x28c)](_0xb27886)){const _0xd107e7=_0x264560[_0x55d74d(0x1ed)](_0xb27886);_0x21db53[_0x55d74d(0x1dc)](_0x9385f0=>{const _0x319806=_0x55d74d,_0x5b7eb0=_0xd107e7[_0x319806(0x1ed)](_0x9385f0);_0x5b7eb0!=null&&(this['_removeDependencyRTreeCache'](_0x5b7eb0),_0xd107e7['delete'](_0x9385f0),this['_removeAllTreeMap'](_0x5b7eb0));});}}['clearFeatureFormulaDependency'](_0x4dff3c,_0x2855ac){const _0x76ed3=_0xf22f78,_0x1495af=this[_0x76ed3(0x261)]['get'](_0x4dff3c);if(_0x2855ac&&_0x1495af&&_0x1495af[_0x76ed3(0x28c)](_0x2855ac)){const _0x34a6e2=_0x1495af['get'](_0x2855ac);this[_0x76ed3(0x2a8)](_0x4dff3c,_0x2855ac),_0x34a6e2[_0x76ed3(0x1dc)](_0x89bc67=>{const _0x5607f6=_0x76ed3;_0x89bc67!=null&&this[_0x5607f6(0x27a)](_0x89bc67);}),_0x34a6e2[_0x76ed3(0x24a)]();}else _0x1495af&&(_0x1495af[_0x76ed3(0x1dc)]((_0x422db2,_0x2815da)=>{const _0x593cbd=_0x76ed3;this['_removeDependencyRTreeCacheById'](_0x4dff3c,_0x2815da),_0x422db2[_0x593cbd(0x1dc)](_0x437c65=>{const _0x5f18ad=_0x593cbd;_0x437c65!=null&&this[_0x5f18ad(0x27a)](_0x437c65);});}),this[_0x76ed3(0x261)]['delete'](_0x4dff3c));}[_0xf22f78(0x1ec)](_0x2c3741,_0x4044f9,_0x565fee,_0x3c93e4,_0x320c3c){const _0x2104eb=_0xf22f78;this[_0x2104eb(0x20f)][_0x2104eb(0x28c)](_0x2c3741)||this['_formulaData'][_0x2104eb(0x20a)](_0x2c3741,new Map());const _0x2541bc=this[_0x2104eb(0x20f)]['get'](_0x2c3741);_0x2541bc[_0x2104eb(0x28c)](_0x4044f9)||_0x2541bc[_0x2104eb(0x20a)](_0x4044f9,new _0x3a7b4f()),_0x2541bc[_0x2104eb(0x1ed)](_0x4044f9)['setValue'](_0x565fee,_0x3c93e4,_0x320c3c[_0x2104eb(0x26f)]);}[_0xf22f78(0x264)](_0x3d9104,_0x2ae62e,_0x343030,_0x505030){const _0x1b5c8d=_0xf22f78,_0x1ba9fd=this['_formulaData'][_0x1b5c8d(0x1ed)](_0x3d9104);if(_0x1ba9fd&&_0x1ba9fd[_0x1b5c8d(0x28c)](_0x2ae62e)){const _0x45477b=_0x1ba9fd[_0x1b5c8d(0x1ed)](_0x2ae62e),_0x1df19a=_0x45477b[_0x1b5c8d(0x292)](_0x343030,_0x505030);if(_0x1df19a==null)return;this[_0x1b5c8d(0x218)](_0x1df19a),_0x45477b['realDeleteValue'](_0x343030,_0x505030),this[_0x1b5c8d(0x27a)](_0x1df19a);}}[_0xf22f78(0x20d)](_0x4e2ca9,_0x4e3521){const _0x156a22=_0xf22f78,_0x5ef3d7=this['_formulaData']['get'](_0x4e2ca9);if(_0x4e3521&&_0x5ef3d7&&_0x5ef3d7[_0x156a22(0x28c)](_0x4e3521)){const _0x212431=_0x5ef3d7[_0x156a22(0x1ed)](_0x4e3521);this[_0x156a22(0x2a8)](_0x4e2ca9,_0x4e3521),_0x212431['forValue']((_0x2f0fc4,_0x2c0135,_0x3281e6)=>{const _0x8b3905=_0x156a22;if(_0x3281e6==null)return!0x0;this[_0x8b3905(0x27a)](_0x3281e6);}),_0x212431[_0x156a22(0x284)]();}else _0x5ef3d7&&(_0x5ef3d7[_0x156a22(0x1dc)]((_0x7d341b,_0x4450e8)=>{const _0x427ee8=_0x156a22;this[_0x427ee8(0x2a8)](_0x4e2ca9,_0x4450e8),_0x7d341b[_0x427ee8(0x24c)]((_0x452ada,_0x343880,_0xcd1784)=>{if(_0xcd1784==null)return!0x0;this['_removeAllTreeMap'](_0xcd1784);});}),this[_0x156a22(0x20f)]['delete'](_0x4e2ca9));}[_0xf22f78(0x218)](_0x2c785f){const _0x4b4532=_0xf22f78;if(_0x2c785f==null)return;const _0x5a3402=this[_0x4b4532(0x216)][_0x4b4532(0x1ed)](_0x2c785f);if(_0x5a3402){const _0x3e8ce2=[];for(const [_0x3fa09a,_0x20067e]of _0x5a3402)for(const [_0x5cf05a,_0x46c584]of _0x20067e)_0x3e8ce2[_0x4b4532(0x1e2)]({'unitId':_0x3fa09a,'sheetId':_0x5cf05a,'range':_0x46c584,'id':_0x2c785f});this[_0x4b4532(0x277)][_0x4b4532(0x28b)](_0x3e8ce2);}}[_0xf22f78(0x1fa)](_0xa85e95,_0x5b804e){const _0x22637a=_0xf22f78,_0xe5b4db=this[_0x22637a(0x209)]['get'](_0xa85e95);if(_0xe5b4db){const _0x288c35=_0xe5b4db['get'](_0x5b804e);if(_0x288c35){for(const _0xd8de19 of _0x288c35)this[_0x22637a(0x218)](_0xd8de19),this[_0x22637a(0x27a)](_0xd8de19);_0x288c35[_0x22637a(0x24a)]();}}}[_0xf22f78(0x1e1)](){const _0x498918=_0xf22f78;this[_0x498918(0x277)][_0x498918(0x1e1)]();}['closeKdTree'](){const _0x500022=_0xf22f78;this[_0x500022(0x277)][_0x500022(0x2ae)]();}[_0xf22f78(0x27a)](_0x377a0f){const _0x4b5b1a=_0xf22f78;_0x377a0f!=null&&this[_0x4b5b1a(0x216)]['delete'](_0x377a0f);}[_0xf22f78(0x232)](_0x29379a){const _0x2bff69=_0xf22f78;var _0x2b29d0,_0x1f9f3e;const _0x17f6a8=_0x29379a['rangeList'];let _0x4ea86a=this[_0x2bff69(0x216)][_0x2bff69(0x1ed)](_0x29379a[_0x2bff69(0x26f)]);for(let _0xf8035d=0x0;_0xf8035d<_0x17f6a8[_0x2bff69(0x217)];_0xf8035d++){const _0x5e2e01=_0x17f6a8[_0xf8035d];let {unitId:_0x1c9c5e,sheetId:_0x189e00,range:_0x129218}=_0x5e2e01;_0x4ea86a||(_0x4ea86a=new Map(),this['_allTreeMap'][_0x2bff69(0x20a)](_0x29379a['treeId'],_0x4ea86a)),_0x4ea86a['has'](_0x1c9c5e)||_0x4ea86a[_0x2bff69(0x20a)](_0x1c9c5e,new Map());const _0x548512=(_0x2b29d0=_0x4ea86a==null?void 0x0:_0x4ea86a['get'](_0x1c9c5e))==null?void 0x0:_0x2b29d0['get'](_0x189e00);_0x548512&&(_0x129218={'startRow':Math[_0x2bff69(0x1eb)](_0x129218[_0x2bff69(0x2a3)],_0x548512[_0x2bff69(0x2a3)]),'startColumn':Math['min'](_0x129218['startColumn'],_0x548512[_0x2bff69(0x23f)]),'endRow':Math[_0x2bff69(0x23d)](_0x129218[_0x2bff69(0x299)],_0x548512['endRow']),'endColumn':Math[_0x2bff69(0x23d)](_0x129218[_0x2bff69(0x228)],_0x548512[_0x2bff69(0x228)])}),(_0x1f9f3e=_0x4ea86a[_0x2bff69(0x1ed)](_0x1c9c5e))==null||_0x1f9f3e[_0x2bff69(0x20a)](_0x189e00,_0x129218);}}}var Ee=Object[_0xf22f78(0x27e)],Ae=(_0x3b576e,_0x132937,_0x418434,_0x172581)=>{const _0x4564ad=_0xf22f78;for(var _0x2c7988=_0x172581>0x1?void 0x0:_0x172581?Ee(_0x132937,_0x418434):_0x132937,_0x2bff36=_0x3b576e[_0x4564ad(0x217)]-0x1,_0x3459c2;_0x2bff36>=0x0;_0x2bff36--)(_0x3459c2=_0x3b576e[_0x2bff36])&&(_0x2c7988=_0x3459c2(_0x2c7988)||_0x2c7988);return _0x2c7988;};const Le=Number[_0xf22f78(0x27b)](0x695f53f6);let X=class extends _0x37aa81{[_0xf22f78(0x297)](){const _0x379b8b=_0xf22f78;var _0x3eb8b0,_0x4edb6d;this[_0x379b8b(0x1f9)]()?(this[_0x379b8b(0x29c)][_0x379b8b(0x24b)]([_0x2a362c,{'useClass':Ie}]),(_0x3eb8b0=this[_0x379b8b(0x229)])!=null&&_0x3eb8b0['notExecuteFormula']||[[_0x5c89cf,{'useClass':ve}],[_0x270fd2,{'useClass':xe}],[_0x4715af,{'useClass':Re}]][_0x379b8b(0x1dc)](_0x4b6106=>this[_0x379b8b(0x29c)][_0x379b8b(0x24b)](_0x4b6106))):(this[_0x379b8b(0x29c)][_0x379b8b(0x24b)]([_0x2a362c,{'useClass':_0x2a362c}]),(_0x4edb6d=this[_0x379b8b(0x229)])!=null&&_0x4edb6d['notExecuteFormula']||[[_0x5c89cf,{'useClass':_0x39cc68}],[_0x270fd2,{'useClass':_0x2947cc}],[_0x4715af,{'useClass':_0x3204ae}]][_0x379b8b(0x1dc)](_0x1f1b5b=>this[_0x379b8b(0x29c)][_0x379b8b(0x24b)](_0x1f1b5b)));}[_0xf22f78(0x1f9)](){const _0x28b0b1=_0xf22f78;var _0x550ada;const _0x1397fe=(_0x550ada=this['_configService'][_0x28b0b1(0x22c)](_0x5214f3))!=null?_0x550ada:{},{ls:_0x3bbb3e,pbk:_0xaaa4a6}=_0x1397fe;if(!_0x3bbb3e||!_0xaaa4a6)return!0x1;const _0xb269f8=_0x36e4de(Me,Se),_0x28828d=new Function(_0x28b0b1(0x231)+_0xb269f8)()(_0x3bbb3e,_0xaaa4a6),_0x15cb17=_0x28828d[_0x28b0b1(0x21f)];return _0x28828d[_0x28b0b1(0x2aa)]&&_0x444ee2(_0x15cb17,'sf',Le)?_0x489bba(_0x15cb17,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x1066(){const _0x45b141=['add','forValue','addOtherFormulaDependencyMainData','trim','25167TwpZgL','refOffsetY','_lexer','_xlfnPrefix','addFormulaDependencyByDefinedName','_formulaDependencyGenerator','removeOtherFormulaDependency','_dependencyRTreeCacheForAddressFunction','getFormulaExprTree','_checkColonNodeForExprTree','type','_getAllDependencyJson','_clearFunctionString','rangeList','isForceCalculate','string','_otherFormulaManagerService','isExcludeRange','_featureFormulaData','_getFirstCellOfRange','defineProperty','removeFormulaDependency','keys','_otherFormulaData','_dependencyManagerService','removeFeatureFormulaDependency','Lambda\x20parameter\x20name\x20\x22','FEATURE_FORMULA','6ySPEMw','_xlpm.','getFormulaData','column','treeId','_clearPrefix','_handleNewFunctionChild','getFeatureFormulaDependency','_hasNewExcelFunction','size','from','enableCycleDependency','_dependencyRTreeCache','_updateRangeFlatten','MINUS','_removeAllTreeMap','parseInt','_getAllTreeList','6tuyVHa','getOwnPropertyDescriptor','3296870LMDqiI','formulaId','generate','setValue','getNewFormulaWithPrefix','reset','isArray','_lambdaFunctionParameterSet','getDirtyData','dirtyRanges','_generateTreeList','_getDependencyTreeParenIds','bulkRemove','has','sheetId','_otherFormulaDataMainData','getStartIndex','unitId','Let\x20variable\x20name\x20\x22','getValue','dispose','_getTableNameFromStructuredRef','_endFormulaDependencyTreeModel','subUnitId','_initializeWithOverride','_generateExprTree','endRow','treeBuilder','startsWith','_injector','getOtherFormulaData','getDirtyNameMap','168516FEyVfp','join','getUnitData','setTotalArrayFormulasToCalculate','startRow','setCurrent','_handleChildrenForExprTree','getOtherFormulaDependency','setCompletedArrayFormulasCount','_removeDependencyRTreeCacheById','_apply','valid','OTHER_FORMULA','_xlfn.','featureDirtyRanges','closeKdTree','setCompletedFormulasCount','forEach','range','hasOtherFormulaDataMainData','next','featureId','openKdTree','push','_resetPrefix','272GyuJCK','searchDependency','toRTreeItem','delete','markedAsSuccessfullyExecuted','columnCount','isDirty','min','addFormulaDependency','get','addOtherFormulaDependency','_formulaDependencyTreeModel','_isCyclicUtilMap','checkAsyncNode','871749tORjie','_handleTextNodeForExprTree','getToken','formula','_checkAddBracketForMinus','getDirtyRanges','clearOtherFormulaDependency','_initLicenseValid','removeFormulaDependencyByDefinedName','children','_dependencyTreeCache','isAdded','_startFormulaDependencyTreeModel','isSkip','_executionCompleteListener$','getClearDependencyTreeCache','execute','getRuntimeState','row','getChildren','markedAsNoFunctionsExecuted','2996XDIhxQ','isCache','_definedNameMap','set','_handleLambdaForExprTree','CURRENTLY_CALCULATING','clearFormulaDependency','error','_formulaData','252251NENnQE','_getCurNodeTypeForExprTree','_createFDtree','_astTreeBuilder','setRuntimeOtherData','IDLE','_allTreeMap','length','_removeDependencyRTreeCache','executeAsync','_calculateRunList','START_CALCULATION_ARRAY_FORMULA','getAllRuntimeData','/*\x20rgjIaf-SIgNtjr\x20znrhrn-frRzjNfr\x20*/hMaVfIca\x20SrVnPzfIca(jIVragr,\x20zMtjIVQrP)\x20{\x20\x20\x20\x20fnP\x20{\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20jIVragrFahcyNnfennNP\x20=\x20jIVragr.gzjIf(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20cnIDIaorggNDr\x20=\x20d3i6.zNngr(Nfct(jIVragrFahcyNnfennNP[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(!cnIDIaorggNDr.MS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cnIDIaorggNDr.MS\x20=\x206MRtrn(jIVragrFahcyNnfennNP[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Ig8cnvrn\x20=\x20fPzrch\x208cnvrnEjctNj3Vczr\x20!==\x20\x27MaSrhIarS\x27\x20&&\x20grjh\x20IagfNaVrch\x208cnvrnEjctNj3Vczr;\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Igpnc4grn\x20=\x20fPzrch\x204IaSc4\x20!==\x20\x27MaSrhIarS\x27\x20&&\x20fPzrch\x204IaSc4.jcVNfIca\x20!==\x20\x27MaSrhIarS\x27;\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20Vcafrwf\x20=\x20Ig8cnvrn\x20?\x20grjh\x20:\x20(Igpnc4grn\x20?\x204IaSc4\x20:\x20DjctNjxLIg);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20RrggNDr8cnS\x20=\x20Vcafrwf.__pNgrmu__.zNngr(jIVragrFahcyNnfennNP[9]);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20RrggNDr\x20=\x20Vcafrwf.__krw__.gfnIaDIhP(RrggNDr8cnS);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaNfMnr8cnS\x20=\x20Vcafrwf.__pNgrmu__.zNngr(jIVragrFahcyNnfennNP[0]);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaNfMnr\x20=\x20Vcafrwf.__krw__.gfnIaDIhP(gIDaNfMnr8cnS);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gIDaWNjIS\x20=\x20Vcafrwf.__KrnIhP__(gIDaNfMnr,\x20RrggNDr,\x20zMtjIVQrP);\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20ScRNIa\x20=\x20cnIDIaorggNDr.SR;\x20\x20\x20\x20\x20\x20\x20\x20hMaVfIca\x20IgYcRNIaoNfVLIaD(zNffrna,\x20Lcgf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(zNffrna\x20===\x20Lcgf)\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(zNffrna.gfNnfg8IfL(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20gMhhIw\x20=\x20zNffrna.gjIVr(9);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(gMhhIw\x20&&\x20gMhhIw\x20===\x20Lcgf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(gMhhIw\x20&&\x20!Lcgf.gfNnfg8IfL(\x27.\x27)\x20&&\x20Lcgf.raSg8IfL(\x27.\x27\x20+\x20gMhhIw))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20hNjgr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jrf\x20ScRNIaWNjIS\x20=\x20hNjgr;\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(Igpnc4grn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20(ScRNIa\x20&&\x20ScRNIa.jraDfL)\x20?\x20ScRNIa.gcRr((SRFfrR)\x20=>\x20IgYcRNIaoNfVLIaD(SRFfrR,\x20jcVNfIca.LcgfaNRr))\x20:\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ih\x20(jcVNfIca.LcgfaNRr\x20===\x20\x27jcVNjLcgf\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20rjgr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ScRNIaWNjIS\x20=\x20fnMr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Vcagf\x20KNjIS\x20=\x20gIDaWNjIS\x20&&\x20ScRNIaWNjIS;\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KNjIS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RrggNDr:\x20cnIDIaorggNDr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20VNfVL\x20(rnncn)\x20{\x20\x20\x20\x20\x20\x20\x20\x20nrfMna\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KNjIS:\x20hNjgr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RrggNDr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','resetCalculationState','message','setTotalFormulasToCalculate','pop','_xlpmPrefix','PLUS','_traverse','START_CALCULATION','node','_checkIsCycleDependency','endColumn','_config','rowCount','resolve','getConfig','addFeatureFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','toUpperCase','refOffsetX','return\x20','_addAllTreeMap','setDependencyTreeModelData','isStopExecution','_currentConfigService','_getDependencyTreeChildrenIds','setFormulaExecuteStage','getExcludedRange','_currentUnitId','_runtimeService','START_DEPENDENCY','values','max','_executionInProgressListener$','startColumn','COLON','getFormulaDependency','11171020sBLEUF','_generateNewFunctionString','_getTreeById','symbol','_getUpdateTreeListAndMakeDependency','isVirtual','\x22\x20is\x20duplicated.','setSkip','clear'];_0x1066=function(){return _0x45b141;};return _0x1066();}X=Ae([_0x1be1c9(_0x2a84f5)],X);export{Ie as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x113d31=_0xb1d8;(function(_0xada069,_0x34efa5){const _0x5ee205=_0xb1d8,_0x3d57bc=_0xada069();while(!![]){try{const _0x4a9050=-parseInt(_0x5ee205(0x155))/0x1*(parseInt(_0x5ee205(0x1a0))/0x2)+-parseInt(_0x5ee205(0x147))/0x3+parseInt(_0x5ee205(0x16c))/0x4*(parseInt(_0x5ee205(0x148))/0x5)+-parseInt(_0x5ee205(0x18d))/0x6*(-parseInt(_0x5ee205(0x1ef))/0x7)+-parseInt(_0x5ee205(0x1b5))/0x8+-parseInt(_0x5ee205(0x16f))/0x9+parseInt(_0x5ee205(0x1b2))/0xa;if(_0x4a9050===_0x34efa5)break;else _0x3d57bc['push'](_0x3d57bc['shift']());}catch(_0x3b7155){_0x3d57bc['push'](_0x3d57bc['shift']());}}}(_0x4b3f,0x1e121));var se=Object[_0x113d31(0x172)],ae=(_0x4fb667,_0x51644f,_0x57dd23)=>_0x51644f in _0x4fb667?se(_0x4fb667,_0x51644f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57dd23}):_0x4fb667[_0x51644f]=_0x57dd23,D=(_0x1065d7,_0x7fa373,_0x252a5d)=>ae(_0x1065d7,typeof _0x7fa373!='symbol'?_0x7fa373+'':_0x7fa373,_0x252a5d);import{LexerTreeBuilder as _0x53bbbb,ErrorType as _0xaaed4f,DEFAULT_TOKEN_TYPE_ROOT as _0x53737e,DEFAULT_TOKEN_TYPE_PARAMETER as _0x5dfe80,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5b00a0,NEW_EXCEL_FUNCTIONS as _0xcecf28,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x386651,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1867b2,matchToken as _0x588ae3,SUFFIX_TOKEN_SET as _0x3df082,prefixToken as _0x388833,LexerNode as _0x49a9cc,OPERATOR_TOKEN_SET as _0x821b57,isReferenceString as _0x23786b,splitTableStructuredRef as _0x50174f,FormulaDependencyGenerator as _0x475a2e,generateRandomDependencyTreeId as _0x34f452,FormulaDependencyTree as _0x3caecf,FormulaDependencyTreeType as _0x149f95,FormulaDependencyTreeVirtual as _0x39d509,generateAstNode as _0x466c27,CalculateFormulaService as _0x3beda0,FormulaExecuteStageType as _0x549bf6,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1fe111,DEFAULT_INTERVAL_COUNT as _0x3353e2,DependencyManagerBaseService as _0x1415ec,UniverFormulaEnginePlugin as _0x28db59,ICalculateFormulaService as _0x4ebb49,IDependencyManagerService as _0x138ab0,IFormulaDependencyGenerator as _0x51668a,DependencyManagerService as _0x2a0934}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x4cf21,LS_CONFIG_KEY as _0x7015f,unshiftString as _0x390cea,isFeatureAuthorizedWithinTime as _0x1acbf2,getSheetFeatureLimit as _0xa231df}from'@univerjs-pro/license';import{ObjectMatrix as _0xf3817d,requestImmediateMacroTask as _0x272062,RTree as _0x344137,DependentOn as _0x50cda5}from'@univerjs/core';class ve extends _0x53bbbb{constructor(){const _0x3392ae=_0x113d31;super(...arguments),D(this,_0x3392ae(0x156),!0x1),D(this,_0x3392ae(0x19b),new Set()),D(this,_0x3392ae(0x170),_0x3392ae(0x15c)),D(this,_0x3392ae(0x157),_0x3392ae(0x182)),D(this,_0x3392ae(0x1cd),'');}[_0x113d31(0x1d9)](){const _0x41e47c=_0x113d31;this[_0x41e47c(0x170)]='_xlpm.',this[_0x41e47c(0x157)]=_0x41e47c(0x182);}[_0x113d31(0x161)](){const _0x558ca4=_0x113d31;this[_0x558ca4(0x170)]='',this[_0x558ca4(0x157)]='';}[_0x113d31(0x207)](_0x3c912a,_0x51d052){const _0x16ea50=_0x113d31,_0x5e7b02=this[_0x16ea50(0x1c4)](_0x3c912a,!0x1);if(!_0x5e7b02||_0x5e7b02===_0xaaed4f['VALUE']||Array[_0x16ea50(0x14b)](_0x5e7b02))return null;const _0x56aa81=[];return this[_0x16ea50(0x156)]=!0x1,this[_0x16ea50(0x1c8)](_0x5e7b02,_0x56aa81,_0x51d052),this[_0x16ea50(0x156)]?'='+_0x56aa81['join'](''):null;}[_0x113d31(0x1c8)](_0x42c411,_0x19eb80,_0x4a2bdf){const _0xcec7b8=_0x113d31,_0x58ac8a=_0x42c411['getToken'](),_0x13071d=_0x58ac8a[_0xcec7b8(0x19c)](),_0x9763fd=_0x13071d[_0xcec7b8(0x208)](),_0x8c23b6=this['_clearFunctionString'](_0x9763fd),_0x48856a=_0x4a2bdf(_0x8c23b6);let _0x1981af=0x0;_0x58ac8a===_0x53737e?_0x1981af=0x3:_0x58ac8a===_0x5dfe80?_0x1981af=0x4:_0x58ac8a===_0x5b00a0?_0x1981af=0x5:_0xcecf28[_0xcec7b8(0x1be)](_0x8c23b6)?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0):_0x9763fd===_0x386651?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0,_0x1981af=0x2):_0x9763fd===_0x1867b2?(_0x19eb80[_0xcec7b8(0x204)](''+this[_0xcec7b8(0x157)]+_0x13071d),this[_0xcec7b8(0x156)]=!0x0,_0x1981af=0x1):_0x9763fd===_0x588ae3[_0xcec7b8(0x15d)]?_0x1981af=0x8:_0x3df082['has'](_0x9763fd)?_0x1981af=0x7:_0x9763fd===_0x388833[_0xcec7b8(0x1e2)]?(this[_0xcec7b8(0x159)](_0x42c411)&&(_0x1981af=0x9),_0x19eb80['push'](_0x58ac8a)):(_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),_0x1981af=0xa),_0x48856a?(_0x1981af!==0x2&&_0x1981af!==0x1&&(_0x1981af=0x6),_0x19eb80['push']('(')):_0x1981af===0x9&&_0x19eb80[_0xcec7b8(0x204)]('(');const _0x353d98=_0x42c411['getChildren'](),_0x1aec2c=_0x353d98[_0xcec7b8(0x1b3)];if(_0x1981af===0x2){const _0x44ea5d=_0x353d98[0x0];let _0xbd430e=0x0;_0x44ea5d instanceof _0x49a9cc&&_0x44ea5d[_0xcec7b8(0x16b)]()===_0x5b00a0&&(_0xbd430e=0x1);for(let _0x18aa94=_0xbd430e;_0x18aa94<_0x1aec2c-0x1;_0x18aa94++){const _0x1976dc=_0x353d98[_0x18aa94];if(_0x1976dc instanceof _0x49a9cc){const _0x2baa83=_0x1976dc[_0xcec7b8(0x1f6)]()[0x0];typeof _0x2baa83==_0xcec7b8(0x17f)&&(this[_0xcec7b8(0x19b)]['has'](_0x2baa83)&&console[_0xcec7b8(0x163)](_0xcec7b8(0x175)+_0x2baa83+_0xcec7b8(0x1a3)),this[_0xcec7b8(0x19b)]['add'](_0x2baa83),_0x19eb80[_0xcec7b8(0x204)](''+this['_xlpmPrefix']+_0x2baa83),this[_0xcec7b8(0x156)]=!0x0);}_0x19eb80['push'](',');}this[_0xcec7b8(0x1b7)](_0x353d98[_0x1aec2c-0x1],_0x19eb80,_0x4a2bdf),_0xbd430e===0x1&&(_0x19eb80['push'](')'),_0x19eb80[_0xcec7b8(0x204)]('('),this[_0xcec7b8(0x1c8)](_0x44ea5d,_0x19eb80,_0x4a2bdf)),_0x19eb80[_0xcec7b8(0x204)](')');return;}else{if(_0x1981af===0x1){for(let _0x113b5e=0x0;_0x113b5e<_0x1aec2c-0x1;_0x113b5e++){const _0x2d0d0c=_0x353d98[_0x113b5e];if(_0x2d0d0c instanceof _0x49a9cc&&_0x113b5e%0x2===0x0){const _0x2e63ec=_0x2d0d0c['getChildren']()[0x0];if(typeof _0x2e63ec=='string'){this[_0xcec7b8(0x19b)][_0xcec7b8(0x1be)](_0x2e63ec)&&console[_0xcec7b8(0x163)](_0xcec7b8(0x14d)+_0x2e63ec+_0xcec7b8(0x1a3)),this[_0xcec7b8(0x19b)][_0xcec7b8(0x1f1)](_0x2e63ec),_0x19eb80['push'](''+this[_0xcec7b8(0x170)]+_0x2e63ec),this[_0xcec7b8(0x156)]=!0x0,_0x19eb80[_0xcec7b8(0x204)](',');continue;}}if(this[_0xcec7b8(0x1b7)](_0x2d0d0c,_0x19eb80,_0x4a2bdf),_0x2d0d0c instanceof _0x49a9cc){const _0x37651b=_0x353d98[_0x113b5e+0x1];_0x37651b&&_0x37651b instanceof _0x49a9cc&&_0x19eb80['push'](',');}}this[_0xcec7b8(0x1b7)](_0x353d98[_0x1aec2c-0x1],_0x19eb80,_0x4a2bdf),_0x19eb80['push'](')');return;}else{if(_0x1981af===0x8){const _0x2a56db=_0x353d98[0x0],_0x4b5e96=_0x353d98[0x1];this[_0xcec7b8(0x1b7)](_0x2a56db,_0x19eb80,_0x4a2bdf),_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),this['_handleNewFunctionChild'](_0x4b5e96,_0x19eb80,_0x4a2bdf);return;}}}for(let _0x341271=0x0;_0x341271<_0x1aec2c;_0x341271++){const _0x3d65f3=_0x353d98[_0x341271];if(this[_0xcec7b8(0x1b7)](_0x3d65f3,_0x19eb80,_0x4a2bdf),_0x3d65f3 instanceof _0x49a9cc){const _0x41237c=_0x353d98[_0x341271+0x1];_0x41237c&&_0x41237c instanceof _0x49a9cc&&_0x19eb80[_0xcec7b8(0x204)](',');}}_0x1981af===0x7&&_0x19eb80[_0xcec7b8(0x204)](_0x58ac8a),(_0x48856a||_0x1981af===0x9)&&_0x19eb80[_0xcec7b8(0x204)](')');}[_0x113d31(0x1b7)](_0x40d54d,_0x516a24,_0x11bc2a){const _0x442d3d=_0x113d31;_0x40d54d instanceof _0x49a9cc?this['_generateNewFunctionString'](_0x40d54d,_0x516a24,_0x11bc2a):this[_0x442d3d(0x19b)][_0x442d3d(0x1be)](_0x40d54d)?(_0x516a24[_0x442d3d(0x204)](''+this[_0x442d3d(0x170)]+_0x40d54d),this[_0x442d3d(0x156)]=!0x0):_0x516a24[_0x442d3d(0x204)](_0x40d54d);}[_0x113d31(0x1fd)](_0x4e1cbe){const _0x393712=_0x113d31;let _0x5946c0=_0x4e1cbe[_0x393712(0x19c)]();if(!_0x5946c0)return _0x5946c0;const _0xdbcbec=_0x5946c0[0x0];if((_0xdbcbec===_0x388833['AT']||_0xdbcbec===_0x388833['MINUS']||_0xdbcbec===_0x388833[_0x393712(0x166)])&&(_0x5946c0=_0x5946c0[_0x393712(0x1ee)](0x1)),!_0x5946c0)return _0x5946c0;const _0x3fa93b=_0x5946c0[_0x5946c0['length']-0x1];return _0x3df082['has'](_0x3fa93b)&&(_0x5946c0=_0x5946c0[_0x393712(0x1ee)](0x0,-0x1)),_0x5946c0;}[_0x113d31(0x159)](_0x45417c){const _0x4b2fd8=_0x113d31,_0x1a8f60=_0x45417c[_0x4b2fd8(0x1f6)]()[0x0];if(!_0x1a8f60||!(_0x1a8f60 instanceof _0x49a9cc)||_0x45417c[_0x4b2fd8(0x1f6)]()[_0x4b2fd8(0x1b3)]>0x1)return!0x1;const _0x9397db=_0x1a8f60[_0x4b2fd8(0x1f6)](),_0x37f595=_0x9397db[_0x4b2fd8(0x1b3)];if(_0x37f595===0x1)return!0x1;for(let _0x6a1413=0x0;_0x6a1413<_0x37f595;_0x6a1413++){const _0x36987b=_0x9397db[_0x6a1413];if(!(_0x36987b instanceof _0x49a9cc)&&_0x821b57[_0x4b2fd8(0x1be)](_0x36987b))return!0x0;}return!0x1;}[_0x113d31(0x13a)](_0x528fb1,_0x2c50b3,_0x4504d0,_0x1ed05a,_0x22a1de){const _0x244555=_0x113d31,_0x3b82e8=this['treeBuilder'](_0x528fb1,!0x1);if(!_0x3b82e8||_0x3b82e8===_0xaaed4f['VALUE']||Array[_0x244555(0x14b)](_0x3b82e8))return null;this[_0x244555(0x161)](),this['_currentUnitId']=_0x2c50b3;const _0x4b75e3=this[_0x244555(0x205)](_0x3b82e8,_0x4504d0,_0x1ed05a,_0x22a1de);return this[_0x244555(0x1cd)]='',this['_resetPrefix'](),_0x4b75e3;}[_0x113d31(0x205)](_0x47f9d6,_0x2e747d,_0x1b5387,_0x53eee4){const _0x468958=_0x113d31,_0x1b2006={'value':'','children':[],'startIndex':0x0};let _0x37f3a9=_0x47f9d6;if(_0x37f3a9 instanceof _0x49a9cc&&(_0x37f3a9[_0x468958(0x16b)]()===_0x53737e||_0x37f3a9[_0x468958(0x16b)]()===_0x5dfe80)&&_0x37f3a9[_0x468958(0x1f6)]()['length']===0x1&&(_0x37f3a9=_0x37f3a9[_0x468958(0x1f6)]()[0x0]),!(_0x37f3a9 instanceof _0x49a9cc))return this[_0x468958(0x1bb)](_0x37f3a9,_0x1b5387,_0x53eee4);const _0x308ae3=_0x37f3a9[_0x468958(0x1f6)](),_0x2bd50f=_0x308ae3[_0x468958(0x1b3)],_0x43f868=[];this['_generateNewFunctionString'](_0x37f3a9,_0x43f868,_0x2e747d),_0x1b2006[_0x468958(0x1ce)]=_0x43f868[_0x468958(0x15e)](''),_0x1b2006[_0x468958(0x16e)]=_0x37f3a9[_0x468958(0x1dd)]();const _0x576887=this[_0x468958(0x143)](_0x37f3a9);if(_0x576887===0x2){const _0x5bb687=_0x308ae3[0x0];if(_0x5bb687 instanceof _0x49a9cc){if(_0x5bb687['getToken']()[_0x468958(0x19c)]()!==_0x5b00a0)return _0x1b2006;this[_0x468958(0x1a5)](_0x5bb687,_0x1b2006,_0x2e747d,_0x1b5387,_0x53eee4);}return _0x1b2006;}else{if(_0x576887===0x1){for(let _0x1abf04=0x0;_0x1abf04<_0x2bd50f-0x1;_0x1abf04++){const _0x1372be=_0x308ae3[_0x1abf04];if(_0x1372be instanceof _0x49a9cc&&_0x1abf04%0x2===0x1){const _0x33ea7c=_0x1372be[_0x468958(0x1f6)]();if(_0x33ea7c[_0x468958(0x1b3)]===0x1&&!(_0x33ea7c[0x0]instanceof _0x49a9cc))continue;const _0x31b85c=this[_0x468958(0x205)](_0x1372be,_0x2e747d,_0x1b5387,_0x53eee4);_0x31b85c&&_0x1b2006[_0x468958(0x1ae)]['push'](_0x31b85c);}}return _0x1b2006;}else{if(_0x576887===0x8){const _0x5ae651=_0x308ae3[0x0];if(_0x5ae651 instanceof _0x49a9cc){const _0x4aface=_0x5ae651[_0x468958(0x1f6)]()[0x0];_0x4aface instanceof _0x49a9cc&&(_0x1b2006[_0x468958(0x16e)]=_0x4aface[_0x468958(0x1dd)]());}if(this[_0x468958(0x14f)](_0x37f3a9))return _0x1b2006;}else{if(_0x576887===0x7){const _0x274b77=_0x308ae3[0x0];if(_0x274b77 instanceof _0x49a9cc){const _0x57d098=_0x274b77[_0x468958(0x1f6)]()[0x0];_0x57d098 instanceof _0x49a9cc&&(_0x1b2006[_0x468958(0x16e)]=_0x57d098[_0x468958(0x1dd)]());}}}}}return this[_0x468958(0x1f9)](_0x308ae3,_0x576887,_0x1b2006,_0x2e747d,_0x1b5387,_0x53eee4),_0x1b2006;}[_0x113d31(0x1f9)](_0x48dcb1,_0x3cf125,_0x579257,_0x204b42,_0x4434b7,_0x39fd09){const _0x1f97b1=_0x113d31;for(let _0x595ac5=0x0;_0x595ac5<_0x48dcb1[_0x1f97b1(0x1b3)];_0x595ac5++){let _0x15ec23=_0x48dcb1[_0x595ac5];if(!(_0x15ec23 instanceof _0x49a9cc)){const _0x1e6b73=this[_0x1f97b1(0x1bb)](_0x15ec23,_0x4434b7,_0x39fd09);_0x1e6b73&&_0x579257[_0x1f97b1(0x1ae)][_0x1f97b1(0x204)](_0x1e6b73);continue;}const _0x2c217e=_0x15ec23['getChildren']();if(_0x2c217e['length']===0x1&&!(_0x2c217e[0x0]instanceof _0x49a9cc)){const _0x5f2cef=_0x2c217e[0x0];if(!_0x4434b7(this['_currentUnitId'],_0x5f2cef)&&!this[_0x1f97b1(0x158)](_0x5f2cef,_0x39fd09)&&!_0x23786b(_0x5f2cef))continue;}if(_0x3cf125===0x8){const _0x1ce8ee=_0x2c217e[0x0];if(_0x1ce8ee instanceof _0x49a9cc){const _0x226e8f=_0x1ce8ee[_0x1f97b1(0x16b)]()[_0x1f97b1(0x19c)]();if(_0x23786b(_0x226e8f))continue;_0x15ec23=_0x1ce8ee;}}const _0x2c161e=this[_0x1f97b1(0x205)](_0x15ec23,_0x204b42,_0x4434b7,_0x39fd09);_0x2c161e&&_0x579257['children'][_0x1f97b1(0x204)](_0x2c161e);}}[_0x113d31(0x14f)](_0x571c6e){const _0x14a0da=_0x113d31,_0x177ccc=_0x571c6e[_0x14a0da(0x1f6)]();if(_0x177ccc[_0x14a0da(0x1b3)]<0x2)return!0x1;const _0x5107f6=_0x177ccc[0x0],_0x50b1d9=_0x177ccc[0x1];if(!(_0x5107f6 instanceof _0x49a9cc)||!(_0x50b1d9 instanceof _0x49a9cc))return!0x1;const _0x41174d=_0x5107f6[_0x14a0da(0x1f6)]()[0x0],_0x1c6eba=_0x50b1d9[_0x14a0da(0x1f6)]()[0x0];if(!(_0x41174d instanceof _0x49a9cc)||!(_0x1c6eba instanceof _0x49a9cc))return!0x1;const _0x425d54=_0x41174d['getToken']()[_0x14a0da(0x19c)](),_0x59ddc9=_0x1c6eba[_0x14a0da(0x16b)]()['trim']();return!!_0x23786b(''+_0x425d54+_0x588ae3[_0x14a0da(0x15d)]+_0x59ddc9);}['_handleTextNodeForExprTree'](_0x5f2911,_0x3f19bf,_0x3da7c6){const _0x2c7adb=_0x113d31,_0x1186d9=_0x5f2911[_0x2c7adb(0x19c)]();return _0x1186d9[_0x2c7adb(0x1a8)]('{')&&_0x1186d9[_0x2c7adb(0x140)]('}')||_0x3f19bf(this[_0x2c7adb(0x1cd)],_0x1186d9)||this[_0x2c7adb(0x158)](_0x1186d9,_0x3da7c6)||_0x23786b(_0x1186d9)?{'value':_0x1186d9,'children':[],'startIndex':-0x1}:null;}[_0x113d31(0x158)](_0x1d004d,_0x47bf2c){const {tableName:_0x2d33b8}=_0x50174f(_0x1d004d);return _0x47bf2c(this['_currentUnitId'],_0x2d33b8)?_0x2d33b8:null;}[_0x113d31(0x1a5)](_0x146195,_0x2f54df,_0xc4a93f,_0x4bb043,_0x5a4619){const _0x2e3120=_0x113d31,_0x360a5d=_0x146195[_0x2e3120(0x1f6)]();for(let _0x39365a=0x0;_0x39365a<_0x360a5d[_0x2e3120(0x1b3)];_0x39365a++){const _0x4b7f17=_0x360a5d[_0x39365a];if(!(_0x4b7f17 instanceof _0x49a9cc))continue;const _0x8335c0=_0x4b7f17[_0x2e3120(0x1f6)]();if(_0x8335c0[_0x2e3120(0x1b3)]===0x1&&!(_0x8335c0[0x0]instanceof _0x49a9cc))continue;const _0x2ddc57=this[_0x2e3120(0x205)](_0x4b7f17,_0xc4a93f,_0x4bb043,_0x5a4619);_0x2ddc57&&_0x2f54df[_0x2e3120(0x1ae)][_0x2e3120(0x204)](_0x2ddc57);}}[_0x113d31(0x143)](_0x529b77){const _0x2ddcad=_0x113d31,_0x399128=_0x529b77[_0x2ddcad(0x16b)](),_0x5e2723=_0x399128[_0x2ddcad(0x19c)]()[_0x2ddcad(0x208)]();let _0xe0a7b1=0x0;return _0x399128===_0x53737e?_0xe0a7b1=0x3:_0x399128===_0x5dfe80?_0xe0a7b1=0x4:_0x399128===_0x5b00a0?_0xe0a7b1=0x5:_0x5e2723===_0x386651?_0xe0a7b1=0x2:_0x5e2723===_0x1867b2?_0xe0a7b1=0x1:_0x5e2723===_0x588ae3[_0x2ddcad(0x15d)]?_0xe0a7b1=0x8:_0x3df082[_0x2ddcad(0x1be)](_0x5e2723)?_0xe0a7b1=0x7:_0x5e2723===_0x388833[_0x2ddcad(0x1e2)]?this['_checkAddBracketForMinus'](_0x529b77)&&(_0xe0a7b1=0x9):_0xe0a7b1=0xa,_0xe0a7b1;}}function _0xb1d8(_0x236b13,_0x3625af){_0x236b13=_0x236b13-0x134;const _0x4b3f55=_0x4b3f();let _0xb1d8b3=_0x4b3f55[_0x236b13];return _0xb1d8b3;}const Me={0x0:'8',0x1:'v',0x2:'s',0x3:'o',0x4:'O',0x5:'Z',0x6:'F',0x7:'1',0x8:'B',0x9:'M','g':'0','Z':'2','H':'3','M':'4','x':'5','I':'6','L':'7','n':'9','z':'a','Q':'b','J':'c','u':'d','C':'e','w':'f','k':'g','G':'h','T':'i','s':'j','r':'k','V':'l','a':'m','O':'n','b':'p','X':'q','W':'r','t':'t','P':'u','D':'w','j':'x','y':'y','F':'z','h':'A','o':'C','q':'D','N':'E','v':'G','S':'H','f':'I','m':'J','c':'K','p':'L','Y':'N','i':'P','B':'Q','K':'R','R':'S','U':'T','A':'U','d':'V','E':'W','l':'X','e':'Y'},Se=_0x113d31(0x17b);class xe extends _0x475a2e{constructor(){const _0x3c3954=_0x113d31;super(...arguments),D(this,_0x3c3954(0x197),new Map());}[_0x113d31(0x138)](){const _0x422d56=_0x113d31;super['dispose'](),this[_0x422d56(0x197)]['clear']();}async[_0x113d31(0x1c3)](_0xf3f617=!0x1){const _0x41602f=_0x113d31;this[_0x41602f(0x195)]();const _0x2d933b=this[_0x41602f(0x1e8)][_0x41602f(0x167)](),_0x5637f1=this[_0x41602f(0x13b)][_0x41602f(0x1f7)](),_0x4de755=this[_0x41602f(0x1e8)][_0x41602f(0x1b0)]();_0x4de755!=null&&Object[_0x41602f(0x137)](_0x4de755)['forEach'](_0x2dab06=>{const _0x5679ca=_0x41602f;_0x2dab06!=null&&Object[_0x5679ca(0x137)](_0x4de755[_0x2dab06])['forEach'](_0x450d62=>{const _0x3acbfd=_0x5679ca;_0x450d62!=null&&(this[_0x3acbfd(0x152)]['clearOtherFormulaDependency'](_0x2dab06,_0x450d62),this[_0x3acbfd(0x152)][_0x3acbfd(0x141)](_0x2dab06,_0x450d62),this[_0x3acbfd(0x152)][_0x3acbfd(0x1de)](_0x2dab06,_0x450d62));});});const _0x40af58=this[_0x41602f(0x1e8)][_0x41602f(0x16d)]();await this['_generateTreeList'](_0x2d933b,_0x5637f1,_0x40af58),this[_0x41602f(0x152)][_0x41602f(0x200)]();const _0x13af2a=this[_0x41602f(0x16a)](),_0x366418=this[_0x41602f(0x201)](_0x13af2a);return this[_0x41602f(0x1af)](_0x366418)&&this[_0x41602f(0x153)][_0x41602f(0x17c)](),_0xf3f617&&this[_0x41602f(0x153)][_0x41602f(0x1a2)](this['_getAllDependencyJson'](Array[_0x41602f(0x1d7)](this[_0x41602f(0x197)][_0x41602f(0x1b1)]()))),this[_0x41602f(0x197)][_0x41602f(0x18a)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x41602f(0x152)][_0x41602f(0x178)](),this[_0x41602f(0x153)]['clearArrayObjectCache'](),Promise['resolve'](_0x366418);}['_isCyclicUtilMap'](_0x306d7f,_0xf2038f){const _0x25a5db=_0x113d31,_0x19c477=[_0x306d7f];for(;_0x19c477[_0x25a5db(0x1b3)]>0x0;){const _0x13f797=_0x19c477[_0x19c477['length']-0x1];if((_0xf2038f[_0x25a5db(0x1ab)](_0x13f797)||0x0)===0x0){_0xf2038f['set'](_0x13f797,0x1);const _0x589a93=this[_0x25a5db(0x197)][_0x25a5db(0x1ab)](_0x13f797);if(_0x589a93==null){_0xf2038f[_0x25a5db(0x1fc)](_0x13f797,0x2),_0x19c477[_0x25a5db(0x1f3)]();continue;}const _0x11fd76=this[_0x25a5db(0x152)][_0x25a5db(0x1da)](_0x589a93[_0x25a5db(0x1e1)]());for(const _0xed01b1 of _0x11fd76){const _0x2ac0b8=_0xf2038f[_0x25a5db(0x1ab)](_0xed01b1)||0x0;if(_0x2ac0b8===0x1)return!0x0;_0x2ac0b8===0x0&&_0x19c477['push'](_0xed01b1);}}else _0xf2038f[_0x25a5db(0x1fc)](_0x13f797,0x2),_0x19c477[_0x25a5db(0x1f3)]();}return!0x1;}[_0x113d31(0x1af)](_0x11ab04){const _0x5f51a9=_0x113d31,_0x210e58=new Map();for(const _0x5078ab of _0x11ab04)if(!_0x210e58[_0x5f51a9(0x1be)](_0x5078ab[_0x5f51a9(0x191)])&&this[_0x5f51a9(0x14a)](_0x5078ab[_0x5f51a9(0x191)],_0x210e58))return!0x0;return _0x210e58[_0x5f51a9(0x18a)](),!0x1;}[_0x113d31(0x1db)](_0x39bd05,_0x50b83a,_0x5af6c2){const _0x5ee35b=_0x113d31,{unitId:_0x3c3fff,subUnitId:_0x4014be,dependencyRanges:_0x201c21,getDirtyData:_0x924761}=_0x5af6c2,_0x3d2de7=_0x50b83a||_0x34f452(this[_0x5ee35b(0x152)]),_0x42dee3=new _0x3caecf(_0x3d2de7);_0x42dee3[_0x5ee35b(0x13e)]=_0x3c3fff,_0x42dee3[_0x5ee35b(0x174)]=_0x4014be,_0x42dee3[_0x5ee35b(0x1cf)]=_0x201c21,_0x42dee3[_0x5ee35b(0x202)]=_0x924761;const _0x125228=_0x924761(this[_0x5ee35b(0x1e8)][_0x5ee35b(0x202)](),this[_0x5ee35b(0x153)][_0x5ee35b(0x1ac)]()),_0x621982=this[_0x5ee35b(0x173)](_0x125228['dirtyRanges']);return _0x42dee3['featureDirtyRanges']=_0x621982,_0x42dee3[_0x5ee35b(0x14e)]=_0x39bd05,_0x42dee3['type']=_0x149f95[_0x5ee35b(0x1c2)],this[_0x5ee35b(0x152)]['addFeatureFormulaDependency'](_0x3c3fff,_0x4014be,_0x39bd05,_0x42dee3),this[_0x5ee35b(0x197)]['set'](_0x42dee3[_0x5ee35b(0x191)],_0x42dee3),this[_0x5ee35b(0x152)][_0x5ee35b(0x150)](_0x5af6c2[_0x5ee35b(0x13e)],_0x5af6c2[_0x5ee35b(0x174)],_0x39bd05)&&(_0x42dee3[_0x5ee35b(0x1c0)]=!0x0),_0x42dee3;}[_0x113d31(0x162)](_0x264d60,_0x1baab3,_0x1632db){const _0x38aa9c=_0x113d31;var _0x12e928;for(const _0x2616dc of _0x1baab3){const _0x2c270c=_0x264d60[_0x2616dc];if(_0x2c270c==null)continue;const _0x33dc7a=Object[_0x38aa9c(0x137)](_0x2c270c);for(const _0x4ed3ea of _0x33dc7a){const _0x18f3cd=_0x2c270c[_0x4ed3ea];if(_0x18f3cd==null)continue;const _0x260026=Object[_0x38aa9c(0x137)](_0x18f3cd);for(const _0x41d830 of _0x260026){const _0x129832=this[_0x38aa9c(0x152)][_0x38aa9c(0x146)](_0x41d830),_0x2acca7=_0x18f3cd[_0x41d830],{f:_0x50e583,ranges:_0x1df14f}=_0x2acca7;let _0x2a8902=!0x1;_0x129832&&(_0x2a8902=!0x0);const {firstRow:_0xb9e302,firstColumn:_0x5bb227}=this[_0x38aa9c(0x135)](_0x1df14f),_0x297df6=this[_0x38aa9c(0x152)][_0x38aa9c(0x18c)](_0x2616dc,_0x4ed3ea,_0x41d830),_0x128f39=(_0x12e928=_0x297df6==null?void 0x0:_0x297df6[_0x38aa9c(0x1d2)](0x0,0x0))!=null?_0x12e928:_0x34f452(this[_0x38aa9c(0x152)]),_0x396a51=new _0x3caecf(_0x128f39);for(let _0x53cf20=0x0;_0x53cf20<_0x1df14f['length'];_0x53cf20++){const _0x5d04ba=_0x1df14f[_0x53cf20],{startRow:_0x34991e,startColumn:_0x5e6895,endRow:_0x4d1bac,endColumn:_0x23b716}=_0x5d04ba;for(let _0x41a7cb=_0x34991e;_0x41a7cb<=_0x4d1bac;_0x41a7cb++)for(let _0x53a8e5=_0x5e6895;_0x53a8e5<=_0x23b716;_0x53a8e5++){const _0x733358=_0x53a8e5-_0x5bb227,_0x56c755=_0x41a7cb-_0xb9e302;if(_0x733358===0x0&&_0x56c755===0x0){_0x396a51[_0x38aa9c(0x1aa)]=_0x50e583,_0x396a51['unitId']=_0x2616dc,_0x396a51['subUnitId']=_0x4ed3ea,_0x396a51[_0x38aa9c(0x165)]=_0x41d830,_0x396a51[_0x38aa9c(0x209)]=_0x149f95[_0x38aa9c(0x1c5)],_0x396a51[_0x38aa9c(0x1c0)]=_0x2a8902,_0x1632db[_0x38aa9c(0x204)](_0x396a51),this['_dependencyTreeCache'][_0x38aa9c(0x1fc)](_0x396a51['treeId'],_0x396a51),this[_0x38aa9c(0x152)][_0x38aa9c(0x1f8)](_0x2616dc,_0x4ed3ea,_0x41d830,_0x396a51),this[_0x38aa9c(0x152)][_0x38aa9c(0x184)](_0x396a51);continue;}const _0x352cdc=new _0x39d509();_0x352cdc[_0x38aa9c(0x191)]=(_0x297df6==null?void 0x0:_0x297df6[_0x38aa9c(0x1d2)](_0x733358,_0x56c755))||_0x34f452(this[_0x38aa9c(0x152)]),_0x352cdc[_0x38aa9c(0x17a)]=_0x396a51,_0x352cdc[_0x38aa9c(0x1bf)]=_0x733358,_0x352cdc[_0x38aa9c(0x1e4)]=_0x56c755,_0x352cdc['isCache']=_0x2a8902,_0x352cdc['type']=_0x149f95['OTHER_FORMULA'],this['_dependencyManagerService'][_0x38aa9c(0x1f8)](_0x2616dc,_0x4ed3ea,_0x41d830,_0x352cdc),this[_0x38aa9c(0x152)][_0x38aa9c(0x184)](_0x352cdc),_0x1632db[_0x38aa9c(0x204)](_0x352cdc),this[_0x38aa9c(0x197)][_0x38aa9c(0x1fc)](_0x352cdc[_0x38aa9c(0x191)],_0x352cdc);}}this[_0x38aa9c(0x152)][_0x38aa9c(0x1d0)](_0x41d830);}}}}[_0x113d31(0x1a1)](_0x37d5e6,_0x5615d3,_0x45ca41,_0x157b0a){const _0x45eecf=_0x113d31;for(const _0x44f974 of _0x37d5e6){const _0x123d17=_0x5615d3[_0x44f974];if(_0x123d17==null)continue;const _0x41d078=Object[_0x45eecf(0x137)](_0x123d17);for(const _0x57a7e8 of _0x41d078){const _0x1c7d82=new _0xf3817d(_0x123d17[_0x57a7e8]||{}),_0x40c65d=new Map();_0x1c7d82[_0x45eecf(0x164)]((_0x4669a3,_0x5e863c,_0x32cf82)=>{const _0x3324ae=_0x45eecf;if(_0x32cf82==null)return!0x0;const {x:_0xc36bed=0x0,y:_0x407350=0x0,si:_0x4d6238}=_0x32cf82;if(!(_0xc36bed===0x0&&_0x407350===0x0&&_0x4d6238!=null))return!0x0;const _0xeaf84=this[_0x3324ae(0x1e6)](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c,_0x45ca41,_0x32cf82),_0x3b27c5=this[_0x3324ae(0x152)][_0x3324ae(0x189)](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c);_0x3b27c5!=null?_0xeaf84['treeId']=_0x3b27c5:(this[_0x3324ae(0x152)]['addFormulaDependency'](_0x44f974,_0x57a7e8,_0x4669a3,_0x5e863c,_0xeaf84),this[_0x3324ae(0x152)][_0x3324ae(0x184)](_0xeaf84)),_0x40c65d[_0x3324ae(0x1fc)](_0x4d6238,_0xeaf84),_0x157b0a[_0x3324ae(0x204)](_0xeaf84),this[_0x3324ae(0x197)][_0x3324ae(0x1fc)](_0xeaf84[_0x3324ae(0x191)],_0xeaf84);}),_0x1c7d82[_0x45eecf(0x164)]((_0x1756f4,_0xfab40c,_0x30ac2c)=>{const _0x4adb94=_0x45eecf;if(_0x30ac2c==null)return!0x0;const {x:_0x29253d=0x0,y:_0x200938=0x0,si:_0x2d6c3e}=_0x30ac2c;if(_0x29253d===0x0&&_0x200938===0x0&&_0x2d6c3e!=null)return!0x0;let _0x2ed145;if(_0x2d6c3e&&_0x40c65d[_0x4adb94(0x1be)](_0x2d6c3e)){const _0x162212=_0x40c65d[_0x4adb94(0x1ab)](_0x2d6c3e);_0x2ed145=this['_createVirtualFDtree'](_0x162212,_0x30ac2c);}else _0x2ed145=this[_0x4adb94(0x1e6)](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c,_0x45ca41,_0x30ac2c);const _0x19b9de=this[_0x4adb94(0x152)][_0x4adb94(0x189)](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c);_0x19b9de!=null?_0x2ed145[_0x4adb94(0x191)]=_0x19b9de:(this[_0x4adb94(0x152)]['addFormulaDependency'](_0x44f974,_0x57a7e8,_0x1756f4,_0xfab40c,_0x2ed145),this[_0x4adb94(0x152)][_0x4adb94(0x184)](_0x2ed145)),_0x157b0a[_0x4adb94(0x204)](_0x2ed145),this[_0x4adb94(0x197)][_0x4adb94(0x1fc)](_0x2ed145[_0x4adb94(0x191)],_0x2ed145);}),_0x40c65d[_0x45eecf(0x18a)]();}}}[_0x113d31(0x1e6)](_0x5b62a4,_0x1895f8,_0x5a1695,_0x4471b9,_0x6b8c77,_0x47c999){const _0xf981d5=_0x113d31,{f:_0x52aafb,x:_0x13b503=0x0,y:_0x458540=0x0}=_0x47c999,_0x2b6b2d=new _0x3caecf(_0x34f452(this['_dependencyManagerService'])),_0x57c2f0=_0x6b8c77[_0x5b62a4][_0x1895f8];return _0x2b6b2d[_0xf981d5(0x1aa)]=_0x52aafb,_0x2b6b2d['unitId']=_0x5b62a4,_0x2b6b2d['subUnitId']=_0x1895f8,_0x2b6b2d[_0xf981d5(0x1c1)]=_0x5a1695,_0x2b6b2d[_0xf981d5(0x1c7)]=_0x4471b9,_0x2b6b2d[_0xf981d5(0x151)]=_0x57c2f0[_0xf981d5(0x151)],_0x2b6b2d[_0xf981d5(0x134)]=_0x57c2f0[_0xf981d5(0x134)],_0x2b6b2d;}[_0x113d31(0x16a)](){const _0x384e44=_0x113d31,_0x341816=[],_0x22beb1=new Set(),_0x2111f4=this['_currentConfigService'][_0x384e44(0x14c)](),_0xc62ea9=this[_0x384e44(0x1e8)]['getDirtyRanges'](),_0x2e886a=this[_0x384e44(0x152)][_0x384e44(0x1da)](_0xc62ea9),_0x3907b4=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0xc62ea9);for(const _0x4b92ad of _0x3907b4)_0x2e886a['add'](_0x4b92ad);for(const [_0x34ce7d,_0x459869]of this[_0x384e44(0x197)])(_0x2111f4||_0x459869[_0x384e44(0x1e3)]||_0x459869['dependencySheetName'](this[_0x384e44(0x1e8)][_0x384e44(0x1e0)]())||_0x2e886a[_0x384e44(0x1be)](_0x34ce7d)&&!_0x459869['isExcludeRange'](this[_0x384e44(0x1e8)][_0x384e44(0x168)]()))&&!_0x22beb1[_0x384e44(0x1be)](_0x34ce7d)&&(_0x341816[_0x384e44(0x204)](_0x459869),_0x22beb1[_0x384e44(0x1f1)](_0x34ce7d));for(const [_0x4c6162,_0x165a49]of this[_0x384e44(0x197)])_0x165a49[_0x384e44(0x13c)]||(_0x165a49[_0x384e44(0x1cf)]['length']=0x0);return _0x341816;}[_0x113d31(0x1f0)](_0x24fdca){const _0x280fad=_0x113d31;return this[_0x280fad(0x197)][_0x280fad(0x1ab)](_0x24fdca);}[_0x113d31(0x1df)](_0x3474b5){const _0x46ad3a=_0x113d31;return _0x466c27(_0x3474b5[_0x46ad3a(0x13e)],_0x3474b5['formula'],this[_0x46ad3a(0x1fe)],this[_0x46ad3a(0x1fa)],this[_0x46ad3a(0x1e8)]);}*[_0x113d31(0x1a9)](_0x4cd573,_0x5c2cf2){const _0xc665ba=_0x113d31,_0x5e04e5=_0x4cd573,_0x38fd8b=new Set();for(;_0x5e04e5[_0xc665ba(0x1b3)]>0x0;){const _0x5a0c1a=_0x5e04e5[_0xc665ba(0x1f3)]();if(_0x38fd8b[_0xc665ba(0x18a)](),_0x5a0c1a===void 0x0||_0x5a0c1a[_0xc665ba(0x1fb)]())continue;if(_0x5a0c1a[_0xc665ba(0x136)]()){yield _0x5a0c1a,_0x5a0c1a[_0xc665ba(0x1c6)](),_0x5c2cf2[_0xc665ba(0x1f1)](_0x5a0c1a['treeId']);continue;}const _0x2622ce=this[_0xc665ba(0x152)][_0xc665ba(0x1da)](_0x5a0c1a[_0xc665ba(0x1e1)](),_0x5c2cf2),_0x243d33=this[_0xc665ba(0x1c9)][_0xc665ba(0x1d8)](_0x5a0c1a[_0xc665ba(0x1e1)](),_0x5c2cf2);for(const _0x3c8f1f of _0x243d33)_0x2622ce['add'](_0x3c8f1f);for(const _0x5dfa72 of _0x2622ce){const _0x586bf8=this['_dependencyTreeCache']['get'](_0x5dfa72);if(!_0x586bf8){console[_0xc665ba(0x163)](_0xc665ba(0x149),_0x5dfa72);continue;}_0x586bf8['isAdded']()||_0x5a0c1a['isSkip']()||_0x38fd8b[_0xc665ba(0x1f1)](_0x586bf8);}if(_0x2622ce[_0xc665ba(0x18a)](),_0x38fd8b[_0xc665ba(0x1b9)]===0x0)yield _0x5a0c1a,_0x5a0c1a['setSkip'](),_0x5c2cf2[_0xc665ba(0x1f1)](_0x5a0c1a[_0xc665ba(0x191)]);else{_0x5a0c1a[_0xc665ba(0x1b4)](),_0x5e04e5['push'](_0x5a0c1a);for(const _0x1a3f6d of _0x38fd8b)_0x5e04e5[_0xc665ba(0x204)](_0x1a3f6d);}}_0x5e04e5['length']=0x0,_0x38fd8b[_0xc665ba(0x18a)]();}[_0x113d31(0x201)](_0x5af7ce){const _0x27cf2d=_0x113d31,_0x4fde28=[],_0x4e37c7=new Set();for(const _0x20db5c of this[_0x27cf2d(0x1a9)](_0x5af7ce,_0x4e37c7))_0x4fde28[_0x27cf2d(0x204)](_0x20db5c);return _0x4fde28;}async[_0x113d31(0x17e)](){const _0x261c3e=_0x113d31;return await this[_0x261c3e(0x145)](),Array['from'](this[_0x261c3e(0x197)]['values']());}[_0x113d31(0x1b8)](_0x20cb26){const _0x268a23=_0x113d31;return this[_0x268a23(0x152)][_0x268a23(0x1da)](_0x20cb26['toRTreeItem']());}[_0x113d31(0x20c)](_0x2b8c28){const _0x2f2775=_0x113d31,_0x10940b=new Set(),_0x2168c0=_0x2b8c28[_0x2f2775(0x1cf)];for(const [_0x8dde3f,_0x28157f]of this['_dependencyTreeCache'])for(const _0x594fb3 of _0x2168c0){const _0x380825=_0x594fb3[_0x2f2775(0x13e)],_0x267bba=_0x594fb3[_0x2f2775(0x19a)];if(_0x28157f['unitId']!==_0x380825||_0x28157f[_0x2f2775(0x174)]!==_0x267bba)continue;const _0x427a43=_0x594fb3['range'];if(_0x28157f[_0x2f2775(0x1bc)](_0x427a43)){_0x10940b['add'](_0x8dde3f);break;}}return _0x10940b;}[_0x113d31(0x1ec)](){const _0x3c351e=_0x113d31;this[_0x3c351e(0x152)][_0x3c351e(0x200)]();}[_0x113d31(0x203)](){const _0x54f1a4=_0x113d31;this[_0x54f1a4(0x18e)]['clear'](),this[_0x54f1a4(0x197)][_0x54f1a4(0x18a)](),this[_0x54f1a4(0x152)]['closeKdTree']();}}class Ee extends _0x3beda0{async[_0x113d31(0x192)](_0x2bcd96=!0x1){const _0x32a9bf=_0x113d31;_0x2bcd96?this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x1cb)]):this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]());const _0x32a358=await this[_0x32a9bf(0x181)][_0x32a9bf(0x1c3)](this[_0x32a9bf(0x160)]),_0x5e5d23=this[_0x32a9bf(0x180)];_0x2bcd96?(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x20b)]),this[_0x32a9bf(0x153)]['setTotalArrayFormulasToCalculate'](_0x32a358[_0x32a9bf(0x1b3)])):(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x169)]),this[_0x32a9bf(0x153)]['setTotalFormulasToCalculate'](_0x32a358['length'])),this[_0x32a9bf(0x142)][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]());let _0x1c0f08=[];const _0x2fa708=this[_0x32a9bf(0x1bd)][_0x32a9bf(0x1b6)](_0x1fe111),_0x57f301=(_0x2fa708==null?void 0x0:_0x2fa708[_0x32a9bf(0x193)])||_0x3353e2;let _0x45817b=0x0;const _0x6fbb8e=_0x32a358[_0x32a9bf(0x1b3)];for(;_0x32a358['length']>0x0;){const _0x43bfd3=_0x32a358[_0x32a9bf(0x1f3)](),_0x1dd1a8=_0x466c27(_0x43bfd3['unitId'],_0x43bfd3[_0x32a9bf(0x1aa)],this[_0x32a9bf(0x1fe)],this[_0x32a9bf(0x1fa)],this[_0x32a9bf(0x1e8)]),_0x3b8665={'node':_0x1dd1a8,'refOffsetX':_0x43bfd3['refOffsetX'],'refOffsetY':_0x43bfd3['refOffsetY']},_0xecf94f=_0x43bfd3[_0x32a9bf(0x202)];if(_0x45817b%_0x57f301===0x0&&(await new Promise(_0x4761fe=>{const _0x216b24=_0x32a9bf,_0x5f2df5=_0x272062(_0x4761fe);_0x1c0f08[_0x216b24(0x204)](_0x5f2df5);}),_0x2bcd96?(this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x15a)]),this[_0x32a9bf(0x153)]['setCompletedArrayFormulasCount'](_0x45817b+0x1)):(this['_runtimeService'][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x190)]),this[_0x32a9bf(0x153)]['setCompletedFormulasCount'](_0x45817b+0x1)),this[_0x32a9bf(0x142)]['next'](this[_0x32a9bf(0x153)][_0x32a9bf(0x1d6)]()),this['_runtimeService'][_0x32a9bf(0x183)]()||_0x3b8665==null&&_0xecf94f==null)){this[_0x32a9bf(0x153)][_0x32a9bf(0x1d5)](_0x549bf6[_0x32a9bf(0x1a4)]),this[_0x32a9bf(0x153)][_0x32a9bf(0x1a7)](),this[_0x32a9bf(0x18b)][_0x32a9bf(0x19d)](this[_0x32a9bf(0x153)]['getAllRuntimeData']());return;}this[_0x32a9bf(0x153)][_0x32a9bf(0x13d)](_0x43bfd3['row'],_0x43bfd3[_0x32a9bf(0x1c7)],_0x43bfd3[_0x32a9bf(0x151)],_0x43bfd3[_0x32a9bf(0x134)],_0x43bfd3[_0x32a9bf(0x174)],_0x43bfd3[_0x32a9bf(0x13e)]);let _0x440f7f;if(_0xecf94f!=null&&_0x43bfd3[_0x32a9bf(0x14e)]!=null){const {runtimeCellData:_0x3cc8ea,dirtyRanges:_0x1e76ae}=_0xecf94f(this[_0x32a9bf(0x1e8)][_0x32a9bf(0x202)](),this[_0x32a9bf(0x153)]['getAllRuntimeData']());this['_runtimeService'][_0x32a9bf(0x206)](_0x43bfd3[_0x32a9bf(0x14e)],_0x3cc8ea),this[_0x32a9bf(0x153)][_0x32a9bf(0x185)](_0x43bfd3['featureId'],_0x1e76ae);}else _0x3b8665!=null&&(_0x5e5d23['checkAsyncNode'](_0x3b8665['node'])?_0x440f7f=await _0x5e5d23[_0x32a9bf(0x1ba)](_0x3b8665):_0x440f7f=_0x5e5d23[_0x32a9bf(0x1e7)](_0x3b8665),_0x43bfd3[_0x32a9bf(0x165)]!=null?this[_0x32a9bf(0x153)]['setRuntimeOtherData'](_0x43bfd3['formulaId'],_0x43bfd3[_0x32a9bf(0x1bf)],_0x43bfd3[_0x32a9bf(0x1e4)],_0x440f7f):this[_0x32a9bf(0x153)][_0x32a9bf(0x15b)](_0x440f7f));_0x1dd1a8[_0x32a9bf(0x1d1)](),_0x45817b++;}return _0x1c0f08['forEach'](_0x16e407=>_0x16e407()),_0x1c0f08=[],_0x6fbb8e>0x0?this['_runtimeService'][_0x32a9bf(0x199)]():_0x2bcd96||this[_0x32a9bf(0x153)]['markedAsNoFunctionsExecuted'](),this[_0x32a9bf(0x153)][_0x32a9bf(0x1ac)]();}}class Re extends _0x1415ec{constructor(){const _0x328b6f=_0x113d31;super(...arguments),D(this,_0x328b6f(0x1e5),new Map()),D(this,'_dependencyRTreeCache',new _0x344137(!0x0));}[_0x113d31(0x1ca)](){const _0x3140c2=_0x113d31;this[_0x3140c2(0x1cc)][_0x3140c2(0x18a)](),this[_0x3140c2(0x154)][_0x3140c2(0x18a)](),this['_formulaData'][_0x3140c2(0x18a)](),this['_dependencyRTreeCache']['clear'](),this[_0x3140c2(0x1e5)][_0x3140c2(0x18a)](),this[_0x3140c2(0x171)](),this[_0x3140c2(0x13f)][_0x3140c2(0x18a)]();}['addOtherFormulaDependency'](_0x1ff2e8,_0x4df862,_0x4970ac,_0x3f5470){const _0x503ec2=_0x113d31;this[_0x503ec2(0x1cc)][_0x503ec2(0x1be)](_0x1ff2e8)||this[_0x503ec2(0x1cc)][_0x503ec2(0x1fc)](_0x1ff2e8,new Map());const _0x25b679=this['_otherFormulaData'][_0x503ec2(0x1ab)](_0x1ff2e8);_0x25b679[_0x503ec2(0x1be)](_0x4df862)||_0x25b679['set'](_0x4df862,new Map());const _0x222756=_0x25b679['get'](_0x4df862);_0x222756[_0x503ec2(0x1be)](_0x4970ac)||_0x222756[_0x503ec2(0x1fc)](_0x4970ac,new _0xf3817d()),_0x222756[_0x503ec2(0x1ab)](_0x4970ac)[_0x503ec2(0x139)](_0x3f5470['refOffsetX'],_0x3f5470[_0x503ec2(0x1e4)],_0x3f5470['treeId']);}['removeOtherFormulaDependency'](_0x44eb65,_0x25b9e9,_0x3c2ff8){const _0x19088a=_0x113d31,_0x2bdfd5=this['_otherFormulaData'][_0x19088a(0x1ab)](_0x44eb65);if(_0x2bdfd5&&_0x2bdfd5['has'](_0x25b9e9)){const _0x455979=_0x2bdfd5[_0x19088a(0x1ab)](_0x25b9e9);_0x3c2ff8[_0x19088a(0x19f)](_0x1b13ea=>{const _0xb0b8d1=_0x19088a,_0x13b8cd=_0x455979[_0xb0b8d1(0x1ab)](_0x1b13ea);_0x13b8cd!=null&&(_0x13b8cd['forValue']((_0x3707a7,_0x556f0a,_0x1bc74d)=>{const _0x19439b=_0xb0b8d1;this[_0x19439b(0x179)](_0x1bc74d),this[_0x19439b(0x1d3)](_0x1bc74d);}),_0x455979[_0xb0b8d1(0x20a)](_0x1b13ea),this[_0xb0b8d1(0x13f)]['delete'](_0x1b13ea));}),_0x455979[_0x19088a(0x1b9)]===0x0&&_0x2bdfd5[_0x19088a(0x20a)](_0x25b9e9),_0x2bdfd5[_0x19088a(0x1b9)]===0x0&&this['_otherFormulaData'][_0x19088a(0x20a)](_0x44eb65);}}[_0x113d31(0x196)](_0x1a7921,_0x4e1fa0){const _0x53a10c=_0x113d31,_0x56ac68=this[_0x53a10c(0x1cc)][_0x53a10c(0x1ab)](_0x1a7921);if(_0x4e1fa0&&_0x56ac68&&_0x56ac68[_0x53a10c(0x1be)](_0x4e1fa0)){const _0xfccb9=_0x56ac68['get'](_0x4e1fa0);this[_0x53a10c(0x1e9)](_0x1a7921,_0x4e1fa0);for(const _0x3e32f6 of _0xfccb9[_0x53a10c(0x137)]()){const _0x3c977e=_0xfccb9[_0x53a10c(0x1ab)](_0x3e32f6);_0x3c977e!=null&&(_0x3c977e['forValue']((_0x45808f,_0x1c4b10,_0x5c4e03)=>{const _0x3e3d32=_0x53a10c;this[_0x3e3d32(0x1e5)][_0x3e3d32(0x1ab)](_0x5c4e03)&&this[_0x3e3d32(0x1d3)](_0x5c4e03);}),this[_0x53a10c(0x13f)][_0x53a10c(0x20a)](_0x3e32f6));}_0xfccb9[_0x53a10c(0x18a)]();}else{if(_0x56ac68){for(const _0x4243b0 of _0x56ac68[_0x53a10c(0x137)]()){const _0x427eea=_0x56ac68['get'](_0x4243b0);this['_removeDependencyRTreeCacheById'](_0x1a7921,_0x4243b0);for(const _0x2272a9 of _0x427eea['keys']()){const _0x4a59ab=_0x427eea[_0x53a10c(0x1ab)](_0x2272a9);_0x4a59ab!=null&&(_0x4a59ab[_0x53a10c(0x164)]((_0x51246f,_0xeb931d,_0x3c8f1d)=>{const _0x5083f3=_0x53a10c;this['_allTreeMap'][_0x5083f3(0x1ab)](_0x3c8f1d)&&this['_removeAllTreeMap'](_0x3c8f1d);}),this[_0x53a10c(0x13f)]['delete'](_0x2272a9));}}this[_0x53a10c(0x1cc)][_0x53a10c(0x20a)](_0x1a7921);}}}[_0x113d31(0x1ea)](_0x30fb21,_0x36f545,_0x101954,_0x75e328){const _0x27f462=_0x113d31;this['_featureFormulaData']['has'](_0x30fb21)||this[_0x27f462(0x154)][_0x27f462(0x1fc)](_0x30fb21,new Map());const _0x1c90c6=this['_featureFormulaData'][_0x27f462(0x1ab)](_0x30fb21);_0x1c90c6[_0x27f462(0x1be)](_0x36f545)||_0x1c90c6['set'](_0x36f545,new Map()),_0x1c90c6[_0x27f462(0x1ab)](_0x36f545)[_0x27f462(0x1fc)](_0x101954,_0x75e328[_0x27f462(0x191)]);}[_0x113d31(0x144)](_0x1500bc,_0x3bd25f,_0x34d625){const _0x169f78=_0x113d31,_0x335a70=this[_0x169f78(0x154)][_0x169f78(0x1ab)](_0x1500bc);if(_0x335a70&&_0x335a70[_0x169f78(0x1be)](_0x3bd25f)){const _0x3e14a7=_0x335a70[_0x169f78(0x1ab)](_0x3bd25f);_0x34d625[_0x169f78(0x19f)](_0x1aaec1=>{const _0x4d58e5=_0x169f78,_0x58e200=_0x3e14a7['get'](_0x1aaec1);_0x58e200!=null&&(this[_0x4d58e5(0x179)](_0x58e200),_0x3e14a7[_0x4d58e5(0x20a)](_0x1aaec1),this[_0x4d58e5(0x1d3)](_0x58e200));});}}[_0x113d31(0x141)](_0x4ad31a,_0x116697){const _0x1f075e=_0x113d31,_0x5107b=this['_featureFormulaData'][_0x1f075e(0x1ab)](_0x4ad31a);if(_0x116697&&_0x5107b&&_0x5107b['has'](_0x116697)){const _0x39f173=_0x5107b[_0x1f075e(0x1ab)](_0x116697);this[_0x1f075e(0x1e9)](_0x4ad31a,_0x116697),_0x39f173[_0x1f075e(0x19f)](_0x53a892=>{const _0x5e5767=_0x1f075e;_0x53a892!=null&&this[_0x5e5767(0x1d3)](_0x53a892);}),_0x39f173[_0x1f075e(0x18a)]();}else _0x5107b&&(_0x5107b[_0x1f075e(0x19f)]((_0x399b82,_0x323816)=>{this['_removeDependencyRTreeCacheById'](_0x4ad31a,_0x323816),_0x399b82['forEach'](_0x3ea0ea=>{const _0x21d40a=_0xb1d8;_0x3ea0ea!=null&&this[_0x21d40a(0x1d3)](_0x3ea0ea);});}),this[_0x1f075e(0x154)][_0x1f075e(0x20a)](_0x4ad31a));}[_0x113d31(0x15f)](_0x276a3f,_0x1a67d0,_0x1cd82c,_0x32f212,_0x3f7542){const _0xd51832=_0x113d31;this[_0xd51832(0x1f5)][_0xd51832(0x1be)](_0x276a3f)||this['_formulaData']['set'](_0x276a3f,new Map());const _0x2ade61=this[_0xd51832(0x1f5)]['get'](_0x276a3f);_0x2ade61[_0xd51832(0x1be)](_0x1a67d0)||_0x2ade61[_0xd51832(0x1fc)](_0x1a67d0,new _0xf3817d()),_0x2ade61[_0xd51832(0x1ab)](_0x1a67d0)[_0xd51832(0x139)](_0x1cd82c,_0x32f212,_0x3f7542[_0xd51832(0x191)]);}[_0x113d31(0x1ad)](_0x313d9b,_0x40b661,_0xaf5105,_0x964eb1){const _0x24f16d=_0x113d31,_0x367283=this[_0x24f16d(0x1f5)]['get'](_0x313d9b);if(_0x367283&&_0x367283[_0x24f16d(0x1be)](_0x40b661)){const _0xb82d87=_0x367283[_0x24f16d(0x1ab)](_0x40b661),_0x5cd216=_0xb82d87['getValue'](_0xaf5105,_0x964eb1);if(_0x5cd216==null)return;this['_removeDependencyRTreeCache'](_0x5cd216),_0xb82d87['realDeleteValue'](_0xaf5105,_0x964eb1),this[_0x24f16d(0x1d3)](_0x5cd216);}}[_0x113d31(0x1de)](_0x10bc2f,_0x1eb69f){const _0x48f10f=_0x113d31,_0x48f5d7=this[_0x48f10f(0x1f5)]['get'](_0x10bc2f);if(_0x1eb69f&&_0x48f5d7&&_0x48f5d7[_0x48f10f(0x1be)](_0x1eb69f)){const _0x1da16f=_0x48f5d7[_0x48f10f(0x1ab)](_0x1eb69f);this[_0x48f10f(0x1e9)](_0x10bc2f,_0x1eb69f),_0x1da16f['forValue']((_0x48f96f,_0x2a77a0,_0x2c608d)=>{if(_0x2c608d==null)return!0x0;this['_removeAllTreeMap'](_0x2c608d);}),_0x1da16f[_0x48f10f(0x1ca)]();}else _0x48f5d7&&(_0x48f5d7[_0x48f10f(0x19f)]((_0x5ddb66,_0x27afab)=>{const _0xb20325=_0x48f10f;this[_0xb20325(0x1e9)](_0x10bc2f,_0x27afab),_0x5ddb66['forValue']((_0x18857d,_0xf1a4c3,_0x4afbfb)=>{const _0x269fd3=_0xb20325;if(_0x4afbfb==null)return!0x0;this[_0x269fd3(0x1d3)](_0x4afbfb);});}),this[_0x48f10f(0x1f5)][_0x48f10f(0x20a)](_0x10bc2f));}[_0x113d31(0x179)](_0x434c71){const _0x179833=_0x113d31;if(_0x434c71==null)return;const _0x26a4b2=this[_0x179833(0x1e5)][_0x179833(0x1ab)](_0x434c71);if(_0x26a4b2){const _0x148de3=[];for(const [_0x25ac98,_0x90bf38]of _0x26a4b2)for(const [_0x2ca765,_0x4aa493]of _0x90bf38)_0x148de3['push']({'unitId':_0x25ac98,'sheetId':_0x2ca765,'range':_0x4aa493,'id':_0x434c71});this['_dependencyRTreeCache'][_0x179833(0x18f)](_0x148de3);}}[_0x113d31(0x17d)](_0x50b06c,_0x37b7b3){const _0x27abf7=_0x113d31,_0x4c223e=this[_0x27abf7(0x176)][_0x27abf7(0x1ab)](_0x50b06c);if(_0x4c223e){const _0x4cd418=_0x4c223e[_0x27abf7(0x1ab)](_0x37b7b3);if(_0x4cd418){for(const _0x5a1b66 of _0x4cd418)this[_0x27abf7(0x179)](_0x5a1b66),this[_0x27abf7(0x1d3)](_0x5a1b66);_0x4cd418[_0x27abf7(0x18a)]();}}}[_0x113d31(0x200)](){const _0x37c15a=_0x113d31;this[_0x37c15a(0x187)][_0x37c15a(0x200)]();}[_0x113d31(0x178)](){const _0x3c3001=_0x113d31;this[_0x3c3001(0x187)][_0x3c3001(0x178)]();}[_0x113d31(0x1d3)](_0x582684){const _0x2ddb49=_0x113d31;_0x582684!=null&&this[_0x2ddb49(0x1e5)][_0x2ddb49(0x20a)](_0x582684);}[_0x113d31(0x177)](_0x2c5dc6){const _0x19fca9=_0x113d31;var _0x41f1d9,_0x3512c8;const _0x4313af=_0x2c5dc6['rangeList'];let _0x4dfa64=this[_0x19fca9(0x1e5)][_0x19fca9(0x1ab)](_0x2c5dc6[_0x19fca9(0x191)]);for(let _0x3b8959=0x0;_0x3b8959<_0x4313af[_0x19fca9(0x1b3)];_0x3b8959++){const _0x420cb8=_0x4313af[_0x3b8959];let {unitId:_0x2dd6b4,sheetId:_0xbea7eb,range:_0x5bd40f}=_0x420cb8;_0x4dfa64||(_0x4dfa64=new Map(),this[_0x19fca9(0x1e5)][_0x19fca9(0x1fc)](_0x2c5dc6[_0x19fca9(0x191)],_0x4dfa64)),_0x4dfa64[_0x19fca9(0x1be)](_0x2dd6b4)||_0x4dfa64[_0x19fca9(0x1fc)](_0x2dd6b4,new Map());const _0x11b786=(_0x41f1d9=_0x4dfa64==null?void 0x0:_0x4dfa64['get'](_0x2dd6b4))==null?void 0x0:_0x41f1d9[_0x19fca9(0x1ab)](_0xbea7eb);_0x11b786&&(_0x5bd40f={'startRow':Math[_0x19fca9(0x19e)](_0x5bd40f['startRow'],_0x11b786[_0x19fca9(0x194)]),'startColumn':Math[_0x19fca9(0x19e)](_0x5bd40f[_0x19fca9(0x1f4)],_0x11b786[_0x19fca9(0x1f4)]),'endRow':Math['max'](_0x5bd40f[_0x19fca9(0x1d4)],_0x11b786[_0x19fca9(0x1d4)]),'endColumn':Math[_0x19fca9(0x1ed)](_0x5bd40f[_0x19fca9(0x1a6)],_0x11b786[_0x19fca9(0x1a6)])}),(_0x3512c8=_0x4dfa64[_0x19fca9(0x1ab)](_0x2dd6b4))==null||_0x3512c8[_0x19fca9(0x1fc)](_0xbea7eb,_0x5bd40f);}}}var we=Object[_0x113d31(0x198)],Ne=(_0x519ffe,_0x5dce45,_0xda297a,_0x36785a)=>{const _0x53afa0=_0x113d31;for(var _0x3c9c0c=_0x36785a>0x1?void 0x0:_0x36785a?we(_0x5dce45,_0xda297a):_0x5dce45,_0x3bcd5d=_0x519ffe[_0x53afa0(0x1b3)]-0x1,_0x2e952a;_0x3bcd5d>=0x0;_0x3bcd5d--)(_0x2e952a=_0x519ffe[_0x3bcd5d])&&(_0x3c9c0c=_0x2e952a(_0x3c9c0c)||_0x3c9c0c);return _0x3c9c0c;};const Ae=Number[_0x113d31(0x1dc)](0x69621bb5);let H=class extends _0x28db59{[_0x113d31(0x1ff)](){const _0x53d28c=_0x113d31;var _0x3c0bbf,_0xa63b69;this['_initLicenseValid']()?(this['_injector']['add']([_0x53bbbb,{'useClass':ve}]),(_0x3c0bbf=this[_0x53d28c(0x1eb)])!=null&&_0x3c0bbf[_0x53d28c(0x1f2)]||[[_0x4ebb49,{'useClass':Ee}],[_0x138ab0,{'useClass':Re}],[_0x51668a,{'useClass':xe}]]['forEach'](_0x20ddcc=>this[_0x53d28c(0x186)]['add'](_0x20ddcc))):(this[_0x53d28c(0x186)][_0x53d28c(0x1f1)]([_0x53bbbb,{'useClass':_0x53bbbb}]),(_0xa63b69=this[_0x53d28c(0x1eb)])!=null&&_0xa63b69[_0x53d28c(0x1f2)]||[[_0x4ebb49,{'useClass':_0x3beda0}],[_0x138ab0,{'useClass':_0x2a0934}],[_0x51668a,{'useClass':_0x475a2e}]]['forEach'](_0x2e6f18=>this[_0x53d28c(0x186)][_0x53d28c(0x1f1)](_0x2e6f18)));}['_initLicenseValid'](){const _0x37547a=_0x113d31;var _0x72a58;const _0x5e88c7=(_0x72a58=this[_0x37547a(0x1bd)]['getConfig'](_0x7015f))!=null?_0x72a58:{},{ls:_0x26033c,pbk:_0x270dbb}=_0x5e88c7;if(!_0x26033c||!_0x270dbb)return!0x1;const _0x462084=_0x390cea(Se,Me),_0x5b8667=new Function('return\x20'+_0x462084)()(_0x26033c,_0x270dbb),_0x33bb41=_0x5b8667['message'];return _0x5b8667[_0x37547a(0x188)]&&_0x1acbf2(_0x33bb41,'sf',Ae)?_0xa231df(_0x33bb41,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x4b3f(){const _0x235a19=['_lexer','_initializeWithOverride','openKdTree','_calculateRunList','getDirtyData','_endFormulaDependencyTreeModel','push','_generateExprTree','setRuntimeFeatureCellData','getNewFormulaWithPrefix','toUpperCase','type','delete','START_CALCULATION_ARRAY_FORMULA','_getDependencyTreeChildrenIds','columnCount','_getFirstCellOfRange','isAdded','keys','dispose','setValue','getFormulaExprTree','_otherFormulaManagerService','isVirtual','setCurrent','unitId','_otherFormulaDataMainData','endsWith','clearFeatureFormulaDependency','_executionInProgressListener$','_getCurNodeTypeForExprTree','removeFeatureFormulaDependency','_initializeGenerateTreeList','hasOtherFormulaDataMainData','28380zFeOlS','10xXNslW','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_isCyclicUtilMap','isArray','isForceCalculate','Let\x20variable\x20name\x20\x22','featureId','_checkColonNodeForExprTree','getFeatureFormulaDependency','rowCount','_dependencyManagerService','_runtimeService','_featureFormulaData','16899noLduo','_hasNewExcelFunction','_xlfnPrefix','_getTableNameFromStructuredRef','_checkAddBracketForMinus','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeData','_xlpm.','COLON','join','addFormulaDependency','_isCalculateTreeModel','_clearPrefix','_registerOtherFormulas','error','forValue','formulaId','PLUS','getFormulaData','getExcludedRange','START_CALCULATION','_getUpdateTreeListAndMakeDependency','getToken','299576TtxDTp','getUnitData','startIndex','358659ZBLldI','_xlpmPrefix','_restDependencyTreeId','defineProperty','_convertDirtyRangesToUnitRange','subUnitId','Lambda\x20parameter\x20name\x20\x22','_definedNameMap','_addAllTreeMap','closeKdTree','_removeDependencyRTreeCache','refTree','/*\x20C2VTOt-uT2zQVC\x20bWCwCW-tCabVztC\x20*/wPOJtT3O\x20uCJWybtT3O(VTJCO2C,\x20bPQVTJcCy)\x20{\x20\x20\x20\x20tWy\x20{\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20VTJCO2CfOw3izWthWWzy\x20=\x20VTJCO2C.2bVTt(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x203WTkTO9C22zkC\x20=\x20mR4Y.bzW2C(zt3Q(VTJCO2CfOw3izWthWWzy[Z]));\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(!3WTkTO9C22zkC.Pu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203WTkTO9C22zkC.Pu\x20=\x20YPaQCW(VTJCO2CfOw3izWthWWzy[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T2E3WrCW\x20=\x20tybC3w\x20E3WrCWvV3QzVRJ3bC\x20!==\x20\x27POuCwTOCu\x27\x20&&\x202CVw\x20TO2tzOJC3w\x20E3WrCWvV3QzVRJ3bC;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20T28W3D2CW\x20=\x20tybC3w\x20DTOu3D\x20!==\x20\x27POuCwTOCu\x27\x20&&\x20tybC3w\x20DTOu3D.V3JztT3O\x20!==\x20\x27POuCwTOCu\x27;\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20J3OtCjt\x20=\x20T2E3WrCW\x20?\x202CVw\x20:\x20(T28W3D2CW\x20?\x20DTOu3D\x20:\x20kV3QzVUGT2);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[Z]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20aC22zkC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(aC22zkCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWCE3Wu\x20=\x20J3OtCjt.__8z2CIM__.bzW2C(VTJCO2CfOw3izWthWWzy[H]);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOztPWC\x20=\x20J3OtCjt.__SCj__.2tWTOkTwy(2TkOztPWCE3Wu);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202TkOdzVTu\x20=\x20J3OtCjt.__1CWTwy__(2TkOztPWC,\x20aC22zkC,\x20bPQVTJcCy);\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x20u3azTO\x20=\x203WTkTO9C22zkC.ua;\x20\x20\x20\x20\x20\x20\x20\x20wPOJtT3O\x20T2q3azTO9ztJGTOk(bzttCWO,\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO\x20===\x20G32t)\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(bzttCWO.2tzWt2ETtG(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x202PwwTj\x20=\x20bzttCWO.2VTJC(Z);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x202PwwTj\x20===\x20G32t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(2PwwTj\x20&&\x20!G32t.2tzWt2ETtG(\x27.\x27)\x20&&\x20G32t.COu2ETtG(\x27.\x27\x20+\x202PwwTj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VCt\x20u3azTOdzVTu\x20=\x20wzV2C;\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(T28W3D2CW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20(u3azTO\x20&&\x20u3azTO.VCOktG)\x20?\x20u3azTO.23aC((uaftCa)\x20=>\x20T2q3azTO9ztJGTOk(uaftCa,\x20V3JztT3O.G32tOzaC))\x20:\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tw\x20(V3JztT3O.G32tOzaC\x20===\x20\x27V3JzVG32t\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20CV2C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20u3azTOdzVTu\x20=\x20tWPC;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J3O2t\x201zVTu\x20=\x202TkOdzVTu\x20&&\x20u3azTOdzVTu;\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x203WTkTO9C22zkC,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20JztJG\x20(CWW3W)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WCtPWO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201zVTu:\x20wzV2C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC22zkC:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','enableCycleDependency','removeFormulaDependencyByDefinedName','_getAllTreeList','string','_interpreter','_formulaDependencyGenerator','_xlfn.','isStopExecution','addFormulaDependencyByDefinedName','setRuntimeFeatureRange','_injector','_dependencyRTreeCache','valid','getFormulaDependency','clear','_executionCompleteListener$','getOtherFormulaDependency','5844ENkLHw','_formulaDependencyTreeModel','bulkRemove','CURRENTLY_CALCULATING','treeId','_apply','intervalCount','startRow','_updateRangeFlatten','clearOtherFormulaDependency','_dependencyTreeCache','getOwnPropertyDescriptor','markedAsSuccessfullyExecuted','sheetId','_lambdaFunctionParameterSet','trim','next','min','forEach','24BzJSLF','_registerFormulas','setDependencyTreeModelData','\x22\x20is\x20duplicated.','IDLE','_handleLambdaForExprTree','endColumn','markedAsStopFunctionsExecuted','startsWith','_traverse','formula','get','getAllRuntimeData','removeFormulaDependency','children','_checkIsCycleDependency','getClearDependencyTreeCache','values','1685630qgNQkC','length','setAdded','510872AlbCKp','getConfig','_handleNewFunctionChild','_getDependencyTreeParenIds','size','executeAsync','_handleTextNodeForExprTree','inRangeData','_configService','has','refOffsetX','isCache','row','FEATURE_FORMULA','generate','treeBuilder','OTHER_FORMULA','setSkip','column','_generateNewFunctionString','_dependencyRTreeCacheForAddressFunction','reset','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaData','_currentUnitId','value','rangeList','addOtherFormulaDependencyMainData','resetCalculationState','getValue','_removeAllTreeMap','endRow','setFormulaExecuteStage','getRuntimeState','from','bulkSearch','_resetPrefix','searchDependency','_getFeatureFormulaTree','parseInt','getStartIndex','clearFormulaDependency','_getTreeNode','getDirtyNameMap','toRTreeItem','MINUS','isDirty','refOffsetY','_allTreeMap','_createFDtree','execute','_currentConfigService','_removeDependencyRTreeCacheById','addFeatureFormulaDependency','_config','_startFormulaDependencyTreeModel','max','slice','868ufqeVX','_getTreeById','add','notExecuteFormula','pop','startColumn','_formulaData','getChildren','getOtherFormulaData','addOtherFormulaDependency','_handleChildrenForExprTree','_astTreeBuilder','isSkip','set','_clearFunctionString'];_0x4b3f=function(){return _0x235a19;};return _0x4b3f();}H=Ne([_0x50cda5(_0x4cf21)],H);export{ve as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3d29(){var _0x30a63f=['786zccnuL','6871OZCqav','159824ChqRmD','12103ZDMaeX','174XAdUTP','80OZfygC','38996dGBaAe','272qKtSJI','1992330GAseAC','25315YEecpG','21472qrOehv','6492gDqiIG','105fyYSSL'];_0x3d29=function(){return _0x30a63f;};return _0x3d29();}function _0x5698(_0x1b92ea,_0x4e0e32){_0x1b92ea=_0x1b92ea-0x102;var _0x3d2997=_0x3d29();var _0x56988a=_0x3d2997[_0x1b92ea];return _0x56988a;}(function(_0x1efbb0,_0xec9c70){var _0x28ae4b=_0x5698,_0x568ce0=_0x1efbb0();while(!![]){try{var _0x1a5e9b=-parseInt(_0x28ae4b(0x103))/0x1*(-parseInt(_0x28ae4b(0x106))/0x2)+parseInt(_0x28ae4b(0x10e))/0x3*(parseInt(_0x28ae4b(0x108))/0x4)+-parseInt(_0x28ae4b(0x10b))/0x5*(-parseInt(_0x28ae4b(0x102))/0x6)+-parseInt(_0x28ae4b(0x104))/0x7*(parseInt(_0x28ae4b(0x109))/0x8)+parseInt(_0x28ae4b(0x10a))/0x9+-parseInt(_0x28ae4b(0x107))/0xa*(parseInt(_0x28ae4b(0x10c))/0xb)+-parseInt(_0x28ae4b(0x10d))/0xc*(parseInt(_0x28ae4b(0x105))/0xd);if(_0x1a5e9b===_0xec9c70)break;else _0x568ce0['push'](_0x568ce0['shift']());}catch(_0x40d699){_0x568ce0['push'](_0x568ce0['shift']());}}}(_0x3d29,0x80ea8));export*from'@univerjs/engine-formula/facade';
|