@univerjs-pro/engine-formula 0.15.3 → 0.15.4

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3b7171=_0xa750;(function(_0x43e022,_0x296029){const _0x27c62b=_0xa750,_0x517cd1=_0x43e022();while(!![]){try{const _0x445769=-parseInt(_0x27c62b(0x16b))/0x1+parseInt(_0x27c62b(0x18f))/0x2*(parseInt(_0x27c62b(0x1ca))/0x3)+parseInt(_0x27c62b(0x17d))/0x4+parseInt(_0x27c62b(0x187))/0x5*(parseInt(_0x27c62b(0x15f))/0x6)+-parseInt(_0x27c62b(0x1e2))/0x7+-parseInt(_0x27c62b(0x1b3))/0x8*(-parseInt(_0x27c62b(0x160))/0x9)+-parseInt(_0x27c62b(0x170))/0xa*(-parseInt(_0x27c62b(0x16f))/0xb);if(_0x445769===_0x296029)break;else _0x517cd1['push'](_0x517cd1['shift']());}catch(_0x557f9b){_0x517cd1['push'](_0x517cd1['shift']());}}}(_0x469f,0x538c1));var se=Object[_0x3b7171(0x1c0)],ae=(_0xa977b8,_0x1118d3,_0x225f0b)=>_0x1118d3 in _0xa977b8?se(_0xa977b8,_0x1118d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225f0b}):_0xa977b8[_0x1118d3]=_0x225f0b,R=(_0x33d329,_0x5c6a3f,_0x4517c8)=>ae(_0x33d329,typeof _0x5c6a3f!=_0x3b7171(0x1c5)?_0x5c6a3f+'':_0x5c6a3f,_0x4517c8);import{LexerTreeBuilder as _0x35cde1,ErrorType as _0x4e0214,DEFAULT_TOKEN_TYPE_ROOT as _0xd1f1c9,DEFAULT_TOKEN_TYPE_PARAMETER as _0x10f2d2,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3fa491,NEW_EXCEL_FUNCTIONS as _0x453ace,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13a2f1,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x177c16,matchToken as _0x422006,SUFFIX_TOKEN_SET as _0x3d773e,prefixToken as _0x295481,LexerNode as _0x5a7194,OPERATOR_TOKEN_SET as _0x275386,isReferenceString as _0x50ffb1,splitTableStructuredRef as _0x306d2d,FormulaDependencyGenerator as _0x3a778c,generateRandomDependencyTreeId as _0x441375,FormulaDependencyTree as _0x5fb721,FormulaDependencyTreeType as _0x31bf64,FormulaDependencyTreeVirtual as _0x112f86,generateAstNode as _0xd66bc,CalculateFormulaService as _0x1b5a01,FormulaExecuteStageType as _0x25b66f,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x534be7,DEFAULT_INTERVAL_COUNT as _0xb2c5e1,DependencyManagerBaseService as _0x38c21d,UniverFormulaEnginePlugin as _0xdbd3ae,ICalculateFormulaService as _0x49a66a,IDependencyManagerService as _0x2992e0,IFormulaDependencyGenerator as _0x3af20c,DependencyManagerService as _0x2af0a6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0xa750(_0x4947d4,_0x99bac7){_0x4947d4=_0x4947d4-0x140;const _0x469fcd=_0x469f();let _0xa7508=_0x469fcd[_0x4947d4];return _0xa7508;}import{UniverLicensePlugin as _0x4663c3,LS_CONFIG_KEY as _0x5e4a49,unshiftString as _0x2df6c9,isFeatureAuthorizedWithinTime as _0x2e7448,getSheetFeatureLimit as _0x44add5}from'@univerjs-pro/license';import{ObjectMatrix as _0x17396b,requestImmediateMacroTask as _0x2c2b32,RTree as _0x1c1cad,DependentOn as _0x4b2943}from'@univerjs/core';class De extends _0x35cde1{constructor(){const _0x19df81=_0x3b7171;super(...arguments),R(this,'_hasNewExcelFunction',!0x1),R(this,_0x19df81(0x17a),new Set()),R(this,_0x19df81(0x1e6),_0x19df81(0x16d)),R(this,_0x19df81(0x1d9),_0x19df81(0x1ce)),R(this,'_currentUnitId','');}[_0x3b7171(0x19f)](){const _0x15bc76=_0x3b7171;this[_0x15bc76(0x1e6)]=_0x15bc76(0x16d),this['_xlfnPrefix']=_0x15bc76(0x1ce);}[_0x3b7171(0x140)](){const _0x1165cd=_0x3b7171;this[_0x1165cd(0x1e6)]='',this[_0x1165cd(0x1d9)]='';}[_0x3b7171(0x148)](_0x1ef22e,_0x34f785){const _0x311387=_0x3b7171,_0x367adc=this[_0x311387(0x1b1)](_0x1ef22e,!0x1);if(!_0x367adc||_0x367adc===_0x4e0214[_0x311387(0x1a1)]||Array[_0x311387(0x1f0)](_0x367adc))return null;const _0x3c7962=[];return this[_0x311387(0x1de)]=!0x1,this[_0x311387(0x1cf)](_0x367adc,_0x3c7962,_0x34f785),this[_0x311387(0x1de)]?'='+_0x3c7962[_0x311387(0x161)](''):null;}[_0x3b7171(0x1cf)](_0x29d16c,_0x661bc0,_0x5c09dc){const _0x3d880b=_0x3b7171,_0x11d12e=_0x29d16c[_0x3d880b(0x158)](),_0x7d7b21=_0x11d12e['trim'](),_0x4dc8a1=_0x7d7b21[_0x3d880b(0x20a)](),_0x18ed5d=this[_0x3d880b(0x192)](_0x4dc8a1),_0x313474=_0x5c09dc(_0x18ed5d);let _0xc025f2=0x0;_0x11d12e===_0xd1f1c9?_0xc025f2=0x3:_0x11d12e===_0x10f2d2?_0xc025f2=0x4:_0x11d12e===_0x3fa491?_0xc025f2=0x5:_0x453ace[_0x3d880b(0x209)](_0x18ed5d)?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this['_hasNewExcelFunction']=!0x0):_0x4dc8a1===_0x13a2f1?(_0x661bc0['push'](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x2):_0x4dc8a1===_0x177c16?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x1):_0x4dc8a1===_0x422006[_0x3d880b(0x1dd)]?_0xc025f2=0x8:_0x3d773e['has'](_0x4dc8a1)?_0xc025f2=0x7:_0x4dc8a1===_0x295481[_0x3d880b(0x215)]?(this[_0x3d880b(0x145)](_0x29d16c)&&(_0xc025f2=0x9),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e)):(_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),_0xc025f2=0xa),_0x313474?(_0xc025f2!==0x2&&_0xc025f2!==0x1&&(_0xc025f2=0x6),_0x661bc0[_0x3d880b(0x1ee)]('(')):_0xc025f2===0x9&&_0x661bc0[_0x3d880b(0x1ee)]('(');const _0x5af79a=_0x29d16c[_0x3d880b(0x194)](),_0xf45120=_0x5af79a[_0x3d880b(0x186)];if(_0xc025f2===0x2){const _0x3d012f=_0x5af79a[0x0];let _0x1b3b94=0x0;_0x3d012f instanceof _0x5a7194&&_0x3d012f['getToken']()===_0x3fa491&&(_0x1b3b94=0x1);for(let _0x42fc1d=_0x1b3b94;_0x42fc1d<_0xf45120-0x1;_0x42fc1d++){const _0x5b6c83=_0x5af79a[_0x42fc1d];if(_0x5b6c83 instanceof _0x5a7194){const _0x290bd9=_0x5b6c83[_0x3d880b(0x194)]()[0x0];typeof _0x290bd9==_0x3d880b(0x212)&&(this['_lambdaFunctionParameterSet'][_0x3d880b(0x209)](_0x290bd9)&&console[_0x3d880b(0x193)]('Lambda\x20parameter\x20name\x20\x22'+_0x290bd9+'\x22\x20is\x20duplicated.'),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x290bd9),_0x661bc0['push'](''+this[_0x3d880b(0x1e6)]+_0x290bd9),this['_hasNewExcelFunction']=!0x0);}_0x661bc0[_0x3d880b(0x1ee)](',');}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x1b3b94===0x1&&(_0x661bc0[_0x3d880b(0x1ee)](')'),_0x661bc0[_0x3d880b(0x1ee)]('('),this['_generateNewFunctionString'](_0x3d012f,_0x661bc0,_0x5c09dc)),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x1){for(let _0x4fce7d=0x0;_0x4fce7d<_0xf45120-0x1;_0x4fce7d++){const _0x49bc6b=_0x5af79a[_0x4fce7d];if(_0x49bc6b instanceof _0x5a7194&&_0x4fce7d%0x2===0x0){const _0x22d032=_0x49bc6b[_0x3d880b(0x194)]()[0x0];if(typeof _0x22d032=='string'){this[_0x3d880b(0x17a)]['has'](_0x22d032)&&console[_0x3d880b(0x193)](_0x3d880b(0x202)+_0x22d032+_0x3d880b(0x171)),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x22d032),_0x661bc0[_0x3d880b(0x1ee)](''+this['_xlpmPrefix']+_0x22d032),this[_0x3d880b(0x1de)]=!0x0,_0x661bc0[_0x3d880b(0x1ee)](',');continue;}}if(this[_0x3d880b(0x210)](_0x49bc6b,_0x661bc0,_0x5c09dc),_0x49bc6b instanceof _0x5a7194){const _0x6a5158=_0x5af79a[_0x4fce7d+0x1];_0x6a5158&&_0x6a5158 instanceof _0x5a7194&&_0x661bc0['push'](',');}}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x8){const _0xe8ee21=_0x5af79a[0x0],_0x1514ed=_0x5af79a[0x1];this[_0x3d880b(0x210)](_0xe8ee21,_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),this[_0x3d880b(0x210)](_0x1514ed,_0x661bc0,_0x5c09dc);return;}}}for(let _0x16d732=0x0;_0x16d732<_0xf45120;_0x16d732++){const _0xded915=_0x5af79a[_0x16d732];if(this[_0x3d880b(0x210)](_0xded915,_0x661bc0,_0x5c09dc),_0xded915 instanceof _0x5a7194){const _0x3fa6f1=_0x5af79a[_0x16d732+0x1];_0x3fa6f1&&_0x3fa6f1 instanceof _0x5a7194&&_0x661bc0[_0x3d880b(0x1ee)](',');}}_0xc025f2===0x7&&_0x661bc0['push'](_0x11d12e),(_0x313474||_0xc025f2===0x9)&&_0x661bc0[_0x3d880b(0x1ee)](')');}['_handleNewFunctionChild'](_0x51cf54,_0x1d15f8,_0xddea91){const _0x1bdafd=_0x3b7171;_0x51cf54 instanceof _0x5a7194?this[_0x1bdafd(0x1cf)](_0x51cf54,_0x1d15f8,_0xddea91):this[_0x1bdafd(0x17a)][_0x1bdafd(0x209)](_0x51cf54)?(_0x1d15f8['push'](''+this['_xlpmPrefix']+_0x51cf54),this[_0x1bdafd(0x1de)]=!0x0):_0x1d15f8[_0x1bdafd(0x1ee)](_0x51cf54);}['_clearFunctionString'](_0x52075e){const _0x4624c8=_0x3b7171;let _0x4a7a71=_0x52075e[_0x4624c8(0x16a)]();if(!_0x4a7a71)return _0x4a7a71;const _0xc09178=_0x4a7a71[0x0];if((_0xc09178===_0x295481['AT']||_0xc09178===_0x295481[_0x4624c8(0x215)]||_0xc09178===_0x295481[_0x4624c8(0x174)])&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x1)),!_0x4a7a71)return _0x4a7a71;const _0x2d48e1=_0x4a7a71[_0x4a7a71[_0x4624c8(0x186)]-0x1];return _0x3d773e[_0x4624c8(0x209)](_0x2d48e1)&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x0,-0x1)),_0x4a7a71;}[_0x3b7171(0x145)](_0x43c62c){const _0x114d8e=_0x3b7171,_0x555fbe=_0x43c62c[_0x114d8e(0x194)]()[0x0];if(!_0x555fbe||!(_0x555fbe instanceof _0x5a7194)||_0x43c62c[_0x114d8e(0x194)]()[_0x114d8e(0x186)]>0x1)return!0x1;const _0x201f46=_0x555fbe[_0x114d8e(0x194)](),_0x48ce31=_0x201f46['length'];if(_0x48ce31===0x1)return!0x1;for(let _0x2de34f=0x0;_0x2de34f<_0x48ce31;_0x2de34f++){const _0x4be642=_0x201f46[_0x2de34f];if(!(_0x4be642 instanceof _0x5a7194)&&_0x275386[_0x114d8e(0x209)](_0x4be642))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x445d1e,_0x1f4e04,_0x20a710,_0x2b13e5,_0x270242){const _0x51cb66=_0x3b7171,_0x3170d1=this[_0x51cb66(0x1b1)](_0x445d1e,!0x1);if(!_0x3170d1||_0x3170d1===_0x4e0214['VALUE']||Array['isArray'](_0x3170d1))return null;this[_0x51cb66(0x140)](),this[_0x51cb66(0x1db)]=_0x1f4e04;const _0x129d2f=this[_0x51cb66(0x20d)](_0x3170d1,_0x20a710,_0x2b13e5,_0x270242);return this['_currentUnitId']='',this[_0x51cb66(0x19f)](),_0x129d2f;}['_generateExprTree'](_0x3d458d,_0xf3de29,_0x29ef1b,_0x437592){const _0x1bfb21=_0x3b7171,_0x14900f={'value':'','children':[],'startIndex':0x0};let _0x108d77=_0x3d458d;if(_0x108d77 instanceof _0x5a7194&&(_0x108d77[_0x1bfb21(0x158)]()===_0xd1f1c9||_0x108d77['getToken']()===_0x10f2d2)&&_0x108d77[_0x1bfb21(0x194)]()[_0x1bfb21(0x186)]===0x1&&(_0x108d77=_0x108d77[_0x1bfb21(0x194)]()[0x0]),!(_0x108d77 instanceof _0x5a7194))return this[_0x1bfb21(0x1d3)](_0x108d77,_0x29ef1b,_0x437592);const _0x2974d2=_0x108d77[_0x1bfb21(0x194)](),_0x4d05fb=_0x2974d2['length'],_0xe0edc3=[];this[_0x1bfb21(0x1cf)](_0x108d77,_0xe0edc3,_0xf3de29),_0x14900f[_0x1bfb21(0x203)]=_0xe0edc3['join'](''),_0x14900f[_0x1bfb21(0x1b5)]=_0x108d77[_0x1bfb21(0x1e7)]();const _0x14d661=this[_0x1bfb21(0x1a3)](_0x108d77);if(_0x14d661===0x2){const _0x5061eb=_0x2974d2[0x0];if(_0x5061eb instanceof _0x5a7194){if(_0x5061eb[_0x1bfb21(0x158)]()['trim']()!==_0x3fa491)return _0x14900f;this['_handleLambdaForExprTree'](_0x5061eb,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592);}return _0x14900f;}else{if(_0x14d661===0x1){for(let _0x52ed41=0x0;_0x52ed41<_0x4d05fb-0x1;_0x52ed41++){const _0x5a674d=_0x2974d2[_0x52ed41];if(_0x5a674d instanceof _0x5a7194&&_0x52ed41%0x2===0x1){const _0x344311=_0x5a674d['getChildren']();if(_0x344311[_0x1bfb21(0x186)]===0x1&&!(_0x344311[0x0]instanceof _0x5a7194))continue;const _0x5a8499=this[_0x1bfb21(0x20d)](_0x5a674d,_0xf3de29,_0x29ef1b,_0x437592);_0x5a8499&&_0x14900f[_0x1bfb21(0x1b8)][_0x1bfb21(0x1ee)](_0x5a8499);}}return _0x14900f;}else{if(_0x14d661===0x8){const _0x573266=_0x2974d2[0x0];if(_0x573266 instanceof _0x5a7194){const _0x3d0b1b=_0x573266[_0x1bfb21(0x194)]()[0x0];_0x3d0b1b instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x3d0b1b[_0x1bfb21(0x1e7)]());}if(this[_0x1bfb21(0x191)](_0x108d77))return _0x14900f;}else{if(_0x14d661===0x7){const _0x3e312d=_0x2974d2[0x0];if(_0x3e312d instanceof _0x5a7194){const _0x5eddcd=_0x3e312d[_0x1bfb21(0x194)]()[0x0];_0x5eddcd instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x5eddcd[_0x1bfb21(0x1e7)]());}}}}}return this['_handleChildrenForExprTree'](_0x2974d2,_0x14d661,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592),_0x14900f;}[_0x3b7171(0x20b)](_0x4a2bdf,_0x4be348,_0x2cfb5e,_0x40eb0b,_0x3b5816,_0x17ef8e){const _0x3451ef=_0x3b7171;for(let _0x151256=0x0;_0x151256<_0x4a2bdf[_0x3451ef(0x186)];_0x151256++){let _0x40331d=_0x4a2bdf[_0x151256];if(!(_0x40331d instanceof _0x5a7194)){const _0x302218=this[_0x3451ef(0x1d3)](_0x40331d,_0x3b5816,_0x17ef8e);_0x302218&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x302218);continue;}const _0x3d5e77=_0x40331d[_0x3451ef(0x194)]();if(_0x3d5e77['length']===0x1&&!(_0x3d5e77[0x0]instanceof _0x5a7194)){const _0x1b57ad=_0x3d5e77[0x0];if(!_0x3b5816(this[_0x3451ef(0x1db)],_0x1b57ad)&&!this[_0x3451ef(0x173)](_0x1b57ad,_0x17ef8e)&&!_0x50ffb1(_0x1b57ad))continue;}if(_0x4be348===0x8){const _0x3c1ecc=_0x3d5e77[0x0];if(_0x3c1ecc instanceof _0x5a7194){const _0x5f470b=_0x3c1ecc[_0x3451ef(0x158)]()['trim']();if(_0x50ffb1(_0x5f470b))continue;_0x40331d=_0x3c1ecc;}}const _0x55263b=this[_0x3451ef(0x20d)](_0x40331d,_0x40eb0b,_0x3b5816,_0x17ef8e);_0x55263b&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x55263b);}}[_0x3b7171(0x191)](_0x3d53fe){const _0x537d5d=_0x3b7171,_0x1f859e=_0x3d53fe[_0x537d5d(0x194)]();if(_0x1f859e['length']<0x2)return!0x1;const _0x49aeb2=_0x1f859e[0x0],_0x18404e=_0x1f859e[0x1];if(!(_0x49aeb2 instanceof _0x5a7194)||!(_0x18404e instanceof _0x5a7194))return!0x1;const _0x49ab77=_0x49aeb2[_0x537d5d(0x194)]()[0x0],_0x1aeffd=_0x18404e[_0x537d5d(0x194)]()[0x0];if(!(_0x49ab77 instanceof _0x5a7194)||!(_0x1aeffd instanceof _0x5a7194))return!0x1;const _0xc3de9a=_0x49ab77[_0x537d5d(0x158)]()[_0x537d5d(0x16a)](),_0x375bd0=_0x1aeffd[_0x537d5d(0x158)]()[_0x537d5d(0x16a)]();return!!_0x50ffb1(''+_0xc3de9a+_0x422006[_0x537d5d(0x1dd)]+_0x375bd0);}[_0x3b7171(0x1d3)](_0x28d286,_0x2bcb05,_0x3eb7b2){const _0x1f616b=_0x3b7171,_0x408afa=_0x28d286[_0x1f616b(0x16a)]();return _0x408afa[_0x1f616b(0x1d2)]('{')&&_0x408afa[_0x1f616b(0x164)]('}')||_0x2bcb05(this[_0x1f616b(0x1db)],_0x408afa)||this['_getTableNameFromStructuredRef'](_0x408afa,_0x3eb7b2)||_0x50ffb1(_0x408afa)?{'value':_0x408afa,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x296022,_0x2855ca){const {tableName:_0xdce46e}=_0x306d2d(_0x296022);return _0x2855ca(this['_currentUnitId'],_0xdce46e)?_0xdce46e:null;}['_handleLambdaForExprTree'](_0x5ea45a,_0x491eaf,_0x49c890,_0x480386,_0x20a0ab){const _0x18cfed=_0x3b7171,_0x514958=_0x5ea45a['getChildren']();for(let _0x3a663d=0x0;_0x3a663d<_0x514958[_0x18cfed(0x186)];_0x3a663d++){const _0x21a274=_0x514958[_0x3a663d];if(!(_0x21a274 instanceof _0x5a7194))continue;const _0xc624fb=_0x21a274[_0x18cfed(0x194)]();if(_0xc624fb['length']===0x1&&!(_0xc624fb[0x0]instanceof _0x5a7194))continue;const _0x1a7c34=this[_0x18cfed(0x20d)](_0x21a274,_0x49c890,_0x480386,_0x20a0ab);_0x1a7c34&&_0x491eaf[_0x18cfed(0x1b8)]['push'](_0x1a7c34);}}[_0x3b7171(0x1a3)](_0x31468e){const _0x2da2e1=_0x3b7171,_0x29a03f=_0x31468e['getToken'](),_0x35bd66=_0x29a03f[_0x2da2e1(0x16a)]()[_0x2da2e1(0x20a)]();let _0x9ed5a5=0x0;return _0x29a03f===_0xd1f1c9?_0x9ed5a5=0x3:_0x29a03f===_0x10f2d2?_0x9ed5a5=0x4:_0x29a03f===_0x3fa491?_0x9ed5a5=0x5:_0x35bd66===_0x13a2f1?_0x9ed5a5=0x2:_0x35bd66===_0x177c16?_0x9ed5a5=0x1:_0x35bd66===_0x422006[_0x2da2e1(0x1dd)]?_0x9ed5a5=0x8:_0x3d773e['has'](_0x35bd66)?_0x9ed5a5=0x7:_0x35bd66===_0x295481[_0x2da2e1(0x215)]?this[_0x2da2e1(0x145)](_0x31468e)&&(_0x9ed5a5=0x9):_0x9ed5a5=0xa,_0x9ed5a5;}}const we={0x0:'S',0x1:'d',0x2:'W',0x3:'T',0x4:'2',0x5:'G',0x6:'z',0x7:'x',0x8:'Y',0x9:'V','g':'0','l':'1','c':'3','E':'4','k':'5','q':'6','T':'7','j':'8','y':'9','C':'a','o':'b','N':'c','z':'e','d':'f','J':'g','r':'h','w':'i','v':'j','S':'k','f':'l','B':'m','b':'n','R':'o','a':'p','G':'q','K':'r','m':'s','H':'t','W':'u','A':'v','L':'w','h':'y','p':'A','e':'B','X':'C','I':'D','n':'E','\x20':'F','x':'H','M':'I','P':'J','F':'K','s':'L','U':'M','u':'N','t':'O','D':'P','Y':'Q','O':'R','V':'U','i':'X','Q':'Z','Z':'\x20'},Ne=_0x3b7171(0x14b);function _0x469f(){const _0x14e3f2=['START_DEPENDENCY_ARRAY_FORMULA','clear','setCompletedArrayFormulasCount','_isCyclicUtilMap','setRuntimeFeatureRange','treeBuilder','_otherFormulaDataMainData','1208TagvYx','column','startIndex','_checkIsCycleDependency','_registerOtherFormulas','children','set','addFeatureFormulaDependency','setRuntimeFeatureCellData','delete','getRuntimeState','_updateRangeFlatten','refOffsetY','defineProperty','clearFormulaDependency','_getTreeNode','isDirty','startRow','symbol','closeKdTree','_getFeatureFormulaTree','_getDependencyTreeChildrenIds','_removeAllTreeMap','403659rbmIXr','max','_config','getDirtyData','_xlfn.','_generateNewFunctionString','_initializeGenerateTreeList','FEATURE_FORMULA','startsWith','_handleTextNodeForExprTree','forEach','addFormulaDependencyByDefinedName','setSkip','rangeList','_definedNameMap','_xlfnPrefix','markedAsNoFunctionsExecuted','_currentUnitId','forValue','COLON','_hasNewExcelFunction','treeId','pop','_removeDependencyRTreeCacheById','2056348ULlaaM','realDeleteValue','notExecuteFormula','_dependencyRTreeCache','_xlpmPrefix','getStartIndex','removeFeatureFormulaDependency','_removeDependencyRTreeCache','slice','_dependencyRTreeCacheForAddressFunction','bulkRemove','subUnitId','push','addFormulaDependency','isArray','toRTreeItem','_executionCompleteListener$','clearFeatureFormulaDependency','OTHER_FORMULA','rowCount','featureId','removeOtherFormulaDependency','range','valid','execute','addOtherFormulaDependency','_initializeWithOverride','_getUpdateTreeListAndMakeDependency','formula','type','endColumn','isSkip','Let\x20variable\x20name\x20\x22','value','getDirtyNameMap','keys','_otherFormulaData','_dependencyTreeCache','_injector','has','toUpperCase','_handleChildrenForExprTree','isAdded','_generateExprTree','getOtherFormulaData','getValue','_handleNewFunctionChild','_addAllTreeMap','string','row','getOwnPropertyDescriptor','MINUS','setTotalArrayFormulasToCalculate','_clearPrefix','START_CALCULATION_ARRAY_FORMULA','setCompletedFormulasCount','_featureFormulaData','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_checkAddBracketForMinus','get','_getFirstCellOfRange','getNewFormulaWithPrefix','refOffsetX','removeFormulaDependency','/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH(\x27-\x27);ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z\x27Wb1zdwbz1\x27Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z\x27Wb1zdwbz1\x27Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z\x27Wb1zdwbz1\x27;ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr(\x27*.\x27))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr(\x27.\x27)Z&&ZrRmH.zb1m2wHr(\x27.\x27Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z\x27fRNCfrRmH\x27)Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}','isForceCalculate','setFormulaExecuteStage','getFormulaDependency','_lexer','setRuntimeOtherData','hasOtherFormulaDataMainData','_createFDtree','searchDependency','_runtimeService','add','parseInt','_createVirtualFDtree','getToken','bulkSearch','setCurrent','next','getConfig','_currentConfigService','markedAsStopFunctionsExecuted','42246TuGxzb','9981VCYvNQ','join','getOtherFormulaDependency','generate','endsWith','sheetId','_astTreeBuilder','intervalCount','_interpreter','openKdTree','trim','265690JXEoGA','setValue','_xlpm.','_traverse','752081avjCyN','10OeNMvs','\x22\x20is\x20duplicated.','getClearDependencyTreeCache','_getTableNameFromStructuredRef','PLUS','isCache','getAllRuntimeData','return\x20','setRuntimeData','startColumn','_lambdaFunctionParameterSet','inRangeData','_calculateRunList','1590004eSyHus','reset','refTree','getDirtyRanges','setAdded','CURRENTLY_CALCULATING','dispose','endRow','START_DEPENDENCY','length','95dBUavg','_getTreeById','_dependencyManagerService','_endFormulaDependencyTreeModel','node','_convertDirtyRangesToUnitRange','START_CALCULATION','getFormulaData','2zssJdG','getUnitData','_checkColonNodeForExprTree','_clearFunctionString','error','getChildren','unitId','columnCount','IDLE','_formulaData','isStopExecution','dependencySheetName','size','formulaId','_startFormulaDependencyTreeModel','isExcludeRange','_resetPrefix','min','VALUE','checkAsyncNode','_getCurNodeTypeForExprTree','_allTreeMap','setDependencyTreeModelData','_configService','resolve','_initLicenseValid','CURRENTLY_CALCULATING_ARRAY_FORMULA','values','_executionInProgressListener$'];_0x469f=function(){return _0x14e3f2;};return _0x469f();}class Me extends _0x3a778c{constructor(){const _0x5de802=_0x3b7171;super(...arguments),R(this,_0x5de802(0x207),new Map());}['dispose'](){const _0x1bdadc=_0x3b7171;super[_0x1bdadc(0x183)](),this[_0x1bdadc(0x207)][_0x1bdadc(0x1ad)]();}async[_0x3b7171(0x163)](_0x4e072e=!0x1){const _0x312465=_0x3b7171;this[_0x312465(0x1be)]();const _0x3167e8=this[_0x312465(0x15d)][_0x312465(0x18e)](),_0x220bde=this['_otherFormulaManagerService'][_0x312465(0x20e)](),_0x21efed=this[_0x312465(0x15d)][_0x312465(0x172)]();_0x21efed!=null&&Object[_0x312465(0x205)](_0x21efed)['forEach'](_0x501c33=>{const _0x5a5612=_0x312465;_0x501c33!=null&&Object['keys'](_0x21efed[_0x501c33])[_0x5a5612(0x1d4)](_0x216972=>{const _0x5e6fc3=_0x5a5612;_0x216972!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)][_0x5e6fc3(0x1f3)](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)]['clearFormulaDependency'](_0x501c33,_0x216972));});});const _0x200191=this[_0x312465(0x15d)][_0x312465(0x190)]();await this['_generateTreeList'](_0x3167e8,_0x220bde,_0x200191),this['_dependencyManagerService'][_0x312465(0x169)]();const _0x416f64=this['_getUpdateTreeListAndMakeDependency'](),_0x511d8e=this[_0x312465(0x17c)](_0x416f64);return this[_0x312465(0x1b6)](_0x511d8e)&&this['_runtimeService']['enableCycleDependency'](),_0x4e072e&&this[_0x312465(0x154)][_0x312465(0x1a5)](this['_getAllDependencyJson'](Array['from'](this[_0x312465(0x207)]['values']()))),this[_0x312465(0x207)][_0x312465(0x1ad)](),this[_0x312465(0x1eb)][_0x312465(0x1ad)](),this[_0x312465(0x189)][_0x312465(0x1c6)](),this['_runtimeService']['clearArrayObjectCache'](),Promise[_0x312465(0x1a7)](_0x511d8e);}[_0x3b7171(0x1af)](_0x25ff35,_0x8691c4){const _0x22a4b8=_0x3b7171,_0x3c9d4f=[_0x25ff35];for(;_0x3c9d4f[_0x22a4b8(0x186)]>0x0;){const _0x14988f=_0x3c9d4f[_0x3c9d4f[_0x22a4b8(0x186)]-0x1];if((_0x8691c4[_0x22a4b8(0x146)](_0x14988f)||0x0)===0x0){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x1);const _0x34dcc3=this[_0x22a4b8(0x207)][_0x22a4b8(0x146)](_0x14988f);if(_0x34dcc3==null){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x2),_0x3c9d4f['pop']();continue;}const _0x329585=this[_0x22a4b8(0x189)]['searchDependency'](_0x34dcc3[_0x22a4b8(0x1f1)]());for(const _0x4b33b3 of _0x329585){const _0x34b688=_0x8691c4[_0x22a4b8(0x146)](_0x4b33b3)||0x0;if(_0x34b688===0x1)return!0x0;_0x34b688===0x0&&_0x3c9d4f[_0x22a4b8(0x1ee)](_0x4b33b3);}}else _0x8691c4['set'](_0x14988f,0x2),_0x3c9d4f['pop']();}return!0x1;}[_0x3b7171(0x1b6)](_0x5baf71){const _0x182a77=_0x3b7171,_0x115b07=new Map();for(const _0x3dc597 of _0x5baf71)if(!_0x115b07[_0x182a77(0x209)](_0x3dc597[_0x182a77(0x1df)])&&this[_0x182a77(0x1af)](_0x3dc597[_0x182a77(0x1df)],_0x115b07))return!0x0;return _0x115b07[_0x182a77(0x1ad)](),!0x1;}[_0x3b7171(0x1c7)](_0x23246a,_0x28842e,_0x953448){const _0x39ffdc=_0x3b7171,{unitId:_0x156192,subUnitId:_0xb93b75,dependencyRanges:_0x3455ba,getDirtyData:_0x52710e}=_0x953448,_0x56cc7a=_0x28842e||_0x441375(this[_0x39ffdc(0x189)]),_0x522489=new _0x5fb721(_0x56cc7a);_0x522489[_0x39ffdc(0x195)]=_0x156192,_0x522489[_0x39ffdc(0x1ed)]=_0xb93b75,_0x522489[_0x39ffdc(0x1d7)]=_0x3455ba,_0x522489[_0x39ffdc(0x1cd)]=_0x52710e;const _0x8d376f=_0x52710e(this['_currentConfigService']['getDirtyData'](),this[_0x39ffdc(0x154)]['getAllRuntimeData']()),_0x333bad=this[_0x39ffdc(0x18c)](_0x8d376f['dirtyRanges']);return _0x522489['featureDirtyRanges']=_0x333bad,_0x522489[_0x39ffdc(0x1f6)]=_0x23246a,_0x522489[_0x39ffdc(0x1ff)]=_0x31bf64[_0x39ffdc(0x1d1)],this[_0x39ffdc(0x189)][_0x39ffdc(0x1ba)](_0x156192,_0xb93b75,_0x23246a,_0x522489),this[_0x39ffdc(0x207)][_0x39ffdc(0x1b9)](_0x522489[_0x39ffdc(0x1df)],_0x522489),this[_0x39ffdc(0x189)]['getFeatureFormulaDependency'](_0x953448[_0x39ffdc(0x195)],_0x953448[_0x39ffdc(0x1ed)],_0x23246a)&&(_0x522489[_0x39ffdc(0x175)]=!0x0),_0x522489;}[_0x3b7171(0x1b7)](_0x5e1515,_0x472b46,_0x50ddb5){const _0x1f6582=_0x3b7171;var _0x1b622d;for(const _0x1efbaf of _0x472b46){const _0x195eda=_0x5e1515[_0x1efbaf];if(_0x195eda==null)continue;const _0x346aef=Object['keys'](_0x195eda);for(const _0x1aca86 of _0x346aef){const _0x2771c8=_0x195eda[_0x1aca86];if(_0x2771c8==null)continue;const _0x42fed6=Object[_0x1f6582(0x205)](_0x2771c8);for(const _0x25e518 of _0x42fed6){const _0x50331a=this[_0x1f6582(0x189)][_0x1f6582(0x151)](_0x25e518),_0x59307a=_0x2771c8[_0x25e518],{f:_0x1665bc,ranges:_0x36a987}=_0x59307a;let _0x492562=!0x1;_0x50331a&&(_0x492562=!0x0);const {firstRow:_0x42ea30,firstColumn:_0x4201ec}=this[_0x1f6582(0x147)](_0x36a987),_0x423755=this['_dependencyManagerService'][_0x1f6582(0x162)](_0x1efbaf,_0x1aca86,_0x25e518),_0x13ffa2=(_0x1b622d=_0x423755==null?void 0x0:_0x423755[_0x1f6582(0x20f)](0x0,0x0))!=null?_0x1b622d:_0x441375(this['_dependencyManagerService']),_0x5e95c9=new _0x5fb721(_0x13ffa2);for(let _0xf169c8=0x0;_0xf169c8<_0x36a987[_0x1f6582(0x186)];_0xf169c8++){const _0xfe47d4=_0x36a987[_0xf169c8],{startRow:_0x139993,startColumn:_0x50eb12,endRow:_0x187f2a,endColumn:_0x124ea9}=_0xfe47d4;for(let _0x5b64b4=_0x139993;_0x5b64b4<=_0x187f2a;_0x5b64b4++)for(let _0x84a4e7=_0x50eb12;_0x84a4e7<=_0x124ea9;_0x84a4e7++){const _0x1d48e1=_0x84a4e7-_0x4201ec,_0x27c5fe=_0x5b64b4-_0x42ea30;if(_0x1d48e1===0x0&&_0x27c5fe===0x0){_0x5e95c9[_0x1f6582(0x1fe)]=_0x1665bc,_0x5e95c9[_0x1f6582(0x195)]=_0x1efbaf,_0x5e95c9[_0x1f6582(0x1ed)]=_0x1aca86,_0x5e95c9[_0x1f6582(0x19c)]=_0x25e518,_0x5e95c9[_0x1f6582(0x1ff)]=_0x31bf64[_0x1f6582(0x1f4)],_0x5e95c9[_0x1f6582(0x175)]=_0x492562,_0x50ddb5[_0x1f6582(0x1ee)](_0x5e95c9),this[_0x1f6582(0x207)][_0x1f6582(0x1b9)](_0x5e95c9['treeId'],_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x5e95c9);continue;}const _0x2290db=new _0x112f86();_0x2290db[_0x1f6582(0x1df)]=(_0x423755==null?void 0x0:_0x423755['getValue'](_0x1d48e1,_0x27c5fe))||_0x441375(this['_dependencyManagerService']),_0x2290db[_0x1f6582(0x17f)]=_0x5e95c9,_0x2290db[_0x1f6582(0x149)]=_0x1d48e1,_0x2290db[_0x1f6582(0x1bf)]=_0x27c5fe,_0x2290db[_0x1f6582(0x175)]=_0x492562,_0x2290db['type']=_0x31bf64['OTHER_FORMULA'],this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x2290db),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x2290db),_0x50ddb5['push'](_0x2290db),this[_0x1f6582(0x207)]['set'](_0x2290db[_0x1f6582(0x1df)],_0x2290db);}}this[_0x1f6582(0x189)]['addOtherFormulaDependencyMainData'](_0x25e518);}}}}['_registerFormulas'](_0x47a680,_0x5ce7ef,_0x3c4003,_0x32ddf7){const _0x32bc65=_0x3b7171;for(const _0x2eb987 of _0x47a680){const _0x5ed5de=_0x5ce7ef[_0x2eb987];if(_0x5ed5de==null)continue;const _0x28345c=Object['keys'](_0x5ed5de);for(const _0x43f097 of _0x28345c){const _0x36d5f0=new _0x17396b(_0x5ed5de[_0x43f097]||{}),_0x189708=new Map();_0x36d5f0[_0x32bc65(0x1dc)]((_0x59d7a7,_0x3d0475,_0x36d7e1)=>{const _0x27d7f9=_0x32bc65;if(_0x36d7e1==null)return!0x0;const {x:_0x130451=0x0,y:y=0x0,si:_0x461cb8}=_0x36d7e1;if(!(_0x130451===0x0&&y===0x0&&_0x461cb8!=null))return!0x0;const _0x197507=this[_0x27d7f9(0x152)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x3c4003,_0x36d7e1),_0xc4526f=this[_0x27d7f9(0x189)][_0x27d7f9(0x14e)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475);_0xc4526f!=null?_0x197507[_0x27d7f9(0x1df)]=_0xc4526f:(this[_0x27d7f9(0x189)][_0x27d7f9(0x1ef)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x197507),this[_0x27d7f9(0x189)][_0x27d7f9(0x1d5)](_0x197507)),_0x189708['set'](_0x461cb8,_0x197507),_0x32ddf7['push'](_0x197507),this[_0x27d7f9(0x207)]['set'](_0x197507[_0x27d7f9(0x1df)],_0x197507);}),_0x36d5f0[_0x32bc65(0x1dc)]((_0x1cc92b,_0x47b7f4,_0x375456)=>{const _0x53efe7=_0x32bc65;if(_0x375456==null)return!0x0;const {x:_0x26781d=0x0,y:y=0x0,si:_0x5642e9}=_0x375456;if(_0x26781d===0x0&&y===0x0&&_0x5642e9!=null)return!0x0;let _0x262260;if(_0x5642e9&&_0x189708['has'](_0x5642e9)){const _0x38da90=_0x189708[_0x53efe7(0x146)](_0x5642e9);_0x262260=this[_0x53efe7(0x157)](_0x38da90,_0x375456);}else _0x262260=this[_0x53efe7(0x152)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x3c4003,_0x375456);const _0x555289=this[_0x53efe7(0x189)][_0x53efe7(0x14e)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4);_0x555289!=null?_0x262260[_0x53efe7(0x1df)]=_0x555289:(this['_dependencyManagerService'][_0x53efe7(0x1ef)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x262260),this[_0x53efe7(0x189)][_0x53efe7(0x1d5)](_0x262260)),_0x32ddf7[_0x53efe7(0x1ee)](_0x262260),this['_dependencyTreeCache'][_0x53efe7(0x1b9)](_0x262260['treeId'],_0x262260);}),_0x189708['clear']();}}}[_0x3b7171(0x152)](_0x872ffe,_0x1aa471,_0x8e1a3a,_0x1ed729,_0x7377b0,_0x372482){const _0x248e89=_0x3b7171,{f:_0x2c6b17,x:_0x3a966e=0x0,y:_0x2f72ca=0x0}=_0x372482,_0x584ee9=new _0x5fb721(_0x441375(this[_0x248e89(0x189)])),_0x4746b1=_0x7377b0[_0x872ffe][_0x1aa471];return _0x584ee9[_0x248e89(0x1fe)]=_0x2c6b17,_0x584ee9['unitId']=_0x872ffe,_0x584ee9[_0x248e89(0x1ed)]=_0x1aa471,_0x584ee9[_0x248e89(0x213)]=_0x8e1a3a,_0x584ee9[_0x248e89(0x1b4)]=_0x1ed729,_0x584ee9[_0x248e89(0x1f5)]=_0x4746b1[_0x248e89(0x1f5)],_0x584ee9[_0x248e89(0x196)]=_0x4746b1['columnCount'],_0x584ee9;}[_0x3b7171(0x1fd)](){const _0x423300=_0x3b7171,_0x30a51a=[],_0x4aa0f2=new Set(),_0x35a8f9=this[_0x423300(0x15d)][_0x423300(0x14c)](),_0x19297c=this[_0x423300(0x15d)][_0x423300(0x180)](),_0x46b2ce=this['_dependencyManagerService']['searchDependency'](_0x19297c),_0x5010c7=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x19297c);for(const _0x2ba849 of _0x5010c7)_0x46b2ce[_0x423300(0x155)](_0x2ba849);for(const [_0x103374,_0x2948ad]of this[_0x423300(0x207)])(_0x35a8f9||_0x2948ad[_0x423300(0x1c3)]||_0x2948ad[_0x423300(0x19a)](this[_0x423300(0x15d)][_0x423300(0x204)]())||_0x46b2ce[_0x423300(0x209)](_0x103374)&&!_0x2948ad[_0x423300(0x19e)](this[_0x423300(0x15d)]['getExcludedRange']()))&&!_0x4aa0f2[_0x423300(0x209)](_0x103374)&&(_0x30a51a[_0x423300(0x1ee)](_0x2948ad),_0x4aa0f2[_0x423300(0x155)](_0x103374));for(const [_0x370069,_0x5f0186]of this[_0x423300(0x207)])_0x5f0186['isVirtual']||(_0x5f0186[_0x423300(0x1d7)]['length']=0x0);return _0x30a51a;}[_0x3b7171(0x188)](_0x5e3336){const _0x343500=_0x3b7171;return this[_0x343500(0x207)]['get'](_0x5e3336);}[_0x3b7171(0x1c2)](_0xf9b77b){const _0x5b8cb8=_0x3b7171;return _0xd66bc(_0xf9b77b[_0x5b8cb8(0x195)],_0xf9b77b[_0x5b8cb8(0x1fe)],this[_0x5b8cb8(0x14f)],this[_0x5b8cb8(0x166)],this['_currentConfigService']);}*[_0x3b7171(0x16e)](_0x2e0870,_0x4ce4e4){const _0x2b2219=_0x3b7171,_0x50a7f7=_0x2e0870,_0x21ff4d=new Set();for(;_0x50a7f7['length']>0x0;){const _0x569643=_0x50a7f7['pop']();if(_0x21ff4d[_0x2b2219(0x1ad)](),_0x569643===void 0x0||_0x569643[_0x2b2219(0x201)]())continue;if(_0x569643['isAdded']()){yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);continue;}const _0x2ee11a=this[_0x2b2219(0x189)][_0x2b2219(0x153)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4),_0xac6854=this[_0x2b2219(0x1eb)][_0x2b2219(0x159)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4);for(const _0x9405a5 of _0xac6854)_0x2ee11a[_0x2b2219(0x155)](_0x9405a5);for(const _0xc0b1fc of _0x2ee11a){const _0x19ead3=this[_0x2b2219(0x207)][_0x2b2219(0x146)](_0xc0b1fc);if(!_0x19ead3){console[_0x2b2219(0x193)](_0x2b2219(0x144),_0xc0b1fc);continue;}_0x19ead3[_0x2b2219(0x20c)]()||_0x569643[_0x2b2219(0x201)]()||_0x21ff4d[_0x2b2219(0x155)](_0x19ead3);}if(_0x2ee11a[_0x2b2219(0x1ad)](),_0x21ff4d[_0x2b2219(0x19b)]===0x0)yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);else{_0x569643[_0x2b2219(0x181)](),_0x50a7f7[_0x2b2219(0x1ee)](_0x569643);for(const _0x4835e9 of _0x21ff4d)_0x50a7f7['push'](_0x4835e9);}}_0x50a7f7[_0x2b2219(0x186)]=0x0,_0x21ff4d[_0x2b2219(0x1ad)]();}[_0x3b7171(0x17c)](_0x383f8b){const _0x3f171d=_0x3b7171,_0x22a3fe=[],_0xb965=new Set();for(const _0x4c1088 of this[_0x3f171d(0x16e)](_0x383f8b,_0xb965))_0x22a3fe[_0x3f171d(0x1ee)](_0x4c1088);return _0x22a3fe;}async['_getAllTreeList'](){const _0x401dec=_0x3b7171;return await this[_0x401dec(0x1d0)](),Array['from'](this[_0x401dec(0x207)][_0x401dec(0x1aa)]());}['_getDependencyTreeParenIds'](_0x503e8b){const _0x3388ee=_0x3b7171;return this['_dependencyManagerService'][_0x3388ee(0x153)](_0x503e8b[_0x3388ee(0x1f1)]());}[_0x3b7171(0x1c8)](_0x16ecd8){const _0x5357c0=_0x3b7171,_0xcf2045=new Set(),_0x525185=_0x16ecd8['rangeList'];for(const [_0x43aeba,_0x582262]of this[_0x5357c0(0x207)])for(const _0x40ea8a of _0x525185){const _0x494d25=_0x40ea8a['unitId'],_0x4d832b=_0x40ea8a[_0x5357c0(0x165)];if(_0x582262[_0x5357c0(0x195)]!==_0x494d25||_0x582262[_0x5357c0(0x1ed)]!==_0x4d832b)continue;const _0x380cf0=_0x40ea8a[_0x5357c0(0x1f8)];if(_0x582262[_0x5357c0(0x17b)](_0x380cf0)){_0xcf2045[_0x5357c0(0x155)](_0x43aeba);break;}}return _0xcf2045;}[_0x3b7171(0x19d)](){const _0x40210c=_0x3b7171;this['_dependencyManagerService'][_0x40210c(0x169)]();}[_0x3b7171(0x18a)](){const _0x453f13=_0x3b7171;this['_formulaDependencyTreeModel'][_0x453f13(0x1ad)](),this[_0x453f13(0x207)]['clear'](),this[_0x453f13(0x189)]['closeKdTree']();}}class ve extends _0x1b5a01{async['_apply'](_0x1eb543=!0x1){const _0x4d531f=_0x3b7171;_0x1eb543?this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x1ac)]):this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x185)]),this['_executionInProgressListener$']['next'](this[_0x4d531f(0x154)]['getRuntimeState']());const _0x531d72=await this['_formulaDependencyGenerator'][_0x4d531f(0x163)](this['_isCalculateTreeModel']),_0x2055da=this[_0x4d531f(0x168)];_0x1eb543?(this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x141)]),this[_0x4d531f(0x154)][_0x4d531f(0x216)](_0x531d72[_0x4d531f(0x186)])):(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x18d)]),this[_0x4d531f(0x154)]['setTotalFormulasToCalculate'](_0x531d72[_0x4d531f(0x186)])),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this['_runtimeService']['getRuntimeState']());let _0x77a161=[];const _0x434afe=this[_0x4d531f(0x1a6)][_0x4d531f(0x15c)](_0x534be7),_0x1f706e=(_0x434afe==null?void 0x0:_0x434afe[_0x4d531f(0x167)])||_0xb2c5e1;let _0x46bf9f=0x0;const _0x50a5a7=_0x531d72[_0x4d531f(0x186)];for(;_0x531d72[_0x4d531f(0x186)]>0x0;){const _0x18f18e=_0x531d72[_0x4d531f(0x1e0)](),_0x5b698e=_0xd66bc(_0x18f18e['unitId'],_0x18f18e[_0x4d531f(0x1fe)],this[_0x4d531f(0x14f)],this[_0x4d531f(0x166)],this[_0x4d531f(0x15d)]),_0x2a7fdc={'node':_0x5b698e,'refOffsetX':_0x18f18e['refOffsetX'],'refOffsetY':_0x18f18e[_0x4d531f(0x1bf)]},_0x3630cb=_0x18f18e['getDirtyData'];if(_0x46bf9f%_0x1f706e===0x0&&(await new Promise(_0x5d66f7=>{const _0x486791=_0x2c2b32(_0x5d66f7);_0x77a161['push'](_0x486791);}),_0x1eb543?(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x1a9)]),this[_0x4d531f(0x154)][_0x4d531f(0x1ae)](_0x46bf9f+0x1)):(this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x182)]),this[_0x4d531f(0x154)][_0x4d531f(0x142)](_0x46bf9f+0x1)),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this[_0x4d531f(0x154)][_0x4d531f(0x1bd)]()),this[_0x4d531f(0x154)][_0x4d531f(0x199)]()||_0x2a7fdc==null&&_0x3630cb==null)){this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x197)]),this['_runtimeService'][_0x4d531f(0x15e)](),this[_0x4d531f(0x1f2)]['next'](this[_0x4d531f(0x154)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4d531f(0x15a)](_0x18f18e[_0x4d531f(0x213)],_0x18f18e[_0x4d531f(0x1b4)],_0x18f18e[_0x4d531f(0x1f5)],_0x18f18e['columnCount'],_0x18f18e['subUnitId'],_0x18f18e[_0x4d531f(0x195)]);let _0x57dd34;if(_0x3630cb!=null&&_0x18f18e['featureId']!=null){const {runtimeCellData:_0x569543,dirtyRanges:_0x12f133}=_0x3630cb(this[_0x4d531f(0x15d)][_0x4d531f(0x1cd)](),this['_runtimeService'][_0x4d531f(0x176)]());this[_0x4d531f(0x154)][_0x4d531f(0x1bb)](_0x18f18e[_0x4d531f(0x1f6)],_0x569543),this[_0x4d531f(0x154)][_0x4d531f(0x1b0)](_0x18f18e[_0x4d531f(0x1f6)],_0x12f133);}else _0x2a7fdc!=null&&(_0x2055da[_0x4d531f(0x1a2)](_0x2a7fdc[_0x4d531f(0x18b)])?_0x57dd34=await _0x2055da['executeAsync'](_0x2a7fdc):_0x57dd34=_0x2055da[_0x4d531f(0x1fa)](_0x2a7fdc),_0x18f18e[_0x4d531f(0x19c)]!=null?this['_runtimeService'][_0x4d531f(0x150)](_0x18f18e[_0x4d531f(0x19c)],_0x18f18e[_0x4d531f(0x149)],_0x18f18e[_0x4d531f(0x1bf)],_0x57dd34):this[_0x4d531f(0x154)][_0x4d531f(0x178)](_0x57dd34));_0x5b698e['resetCalculationState'](),_0x46bf9f++;}return _0x77a161['forEach'](_0xe64f49=>_0xe64f49()),_0x77a161=[],_0x50a5a7>0x0?this[_0x4d531f(0x154)]['markedAsSuccessfullyExecuted']():_0x1eb543||this[_0x4d531f(0x154)][_0x4d531f(0x1da)](),this['_runtimeService'][_0x4d531f(0x176)]();}}class Se extends _0x38c21d{constructor(){super(...arguments),R(this,'_allTreeMap',new Map()),R(this,'_dependencyRTreeCache',new _0x1c1cad(!0x0));}['reset'](){const _0x16a167=_0x3b7171;this[_0x16a167(0x206)][_0x16a167(0x1ad)](),this[_0x16a167(0x143)][_0x16a167(0x1ad)](),this[_0x16a167(0x198)][_0x16a167(0x1ad)](),this['_dependencyRTreeCache'][_0x16a167(0x1ad)](),this['_allTreeMap'][_0x16a167(0x1ad)](),this['_restDependencyTreeId'](),this[_0x16a167(0x1b2)]['clear']();}[_0x3b7171(0x1fb)](_0x348be3,_0x524f2f,_0x2bc486,_0x5953ba){const _0x9705af=_0x3b7171;this[_0x9705af(0x206)][_0x9705af(0x209)](_0x348be3)||this['_otherFormulaData'][_0x9705af(0x1b9)](_0x348be3,new Map());const _0x11e029=this[_0x9705af(0x206)]['get'](_0x348be3);_0x11e029[_0x9705af(0x209)](_0x524f2f)||_0x11e029['set'](_0x524f2f,new Map());const _0x3f16ca=_0x11e029[_0x9705af(0x146)](_0x524f2f);_0x3f16ca[_0x9705af(0x209)](_0x2bc486)||_0x3f16ca[_0x9705af(0x1b9)](_0x2bc486,new _0x17396b()),_0x3f16ca[_0x9705af(0x146)](_0x2bc486)[_0x9705af(0x16c)](_0x5953ba[_0x9705af(0x149)],_0x5953ba[_0x9705af(0x1bf)],_0x5953ba[_0x9705af(0x1df)]);}[_0x3b7171(0x1f7)](_0x27899e,_0x50a4cc,_0x100850){const _0x15fb6c=_0x3b7171,_0x39189c=this[_0x15fb6c(0x206)][_0x15fb6c(0x146)](_0x27899e);if(_0x39189c&&_0x39189c[_0x15fb6c(0x209)](_0x50a4cc)){const _0x30124e=_0x39189c[_0x15fb6c(0x146)](_0x50a4cc);_0x100850['forEach'](_0x4c0f82=>{const _0x251609=_0x15fb6c,_0x3aeb25=_0x30124e[_0x251609(0x146)](_0x4c0f82);_0x3aeb25!=null&&(_0x3aeb25[_0x251609(0x1dc)]((_0x4dcb23,_0x803c24,_0x24d4cb)=>{const _0x35e8d4=_0x251609;this[_0x35e8d4(0x1e9)](_0x24d4cb),this['_removeAllTreeMap'](_0x24d4cb);}),_0x30124e[_0x251609(0x1bc)](_0x4c0f82),this[_0x251609(0x1b2)][_0x251609(0x1bc)](_0x4c0f82));}),_0x30124e[_0x15fb6c(0x19b)]===0x0&&_0x39189c['delete'](_0x50a4cc),_0x39189c[_0x15fb6c(0x19b)]===0x0&&this[_0x15fb6c(0x206)][_0x15fb6c(0x1bc)](_0x27899e);}}['clearOtherFormulaDependency'](_0x178ac8,_0x115a74){const _0x586920=_0x3b7171,_0x49baee=this[_0x586920(0x206)][_0x586920(0x146)](_0x178ac8);if(_0x115a74&&_0x49baee&&_0x49baee[_0x586920(0x209)](_0x115a74)){const _0x4c50ad=_0x49baee[_0x586920(0x146)](_0x115a74);this[_0x586920(0x1e1)](_0x178ac8,_0x115a74);for(const _0x16edb7 of _0x4c50ad['keys']()){const _0xe85da5=_0x4c50ad[_0x586920(0x146)](_0x16edb7);_0xe85da5!=null&&(_0xe85da5[_0x586920(0x1dc)]((_0xdf8400,_0x4b3187,_0x595d89)=>{const _0x531de9=_0x586920;this['_allTreeMap'][_0x531de9(0x146)](_0x595d89)&&this[_0x531de9(0x1c9)](_0x595d89);}),this['_otherFormulaDataMainData'][_0x586920(0x1bc)](_0x16edb7));}_0x4c50ad[_0x586920(0x1ad)]();}else{if(_0x49baee){for(const _0x3742a0 of _0x49baee[_0x586920(0x205)]()){const _0x59fdbe=_0x49baee[_0x586920(0x146)](_0x3742a0);this[_0x586920(0x1e1)](_0x178ac8,_0x3742a0);for(const _0x9e6f38 of _0x59fdbe[_0x586920(0x205)]()){const _0x5db415=_0x59fdbe[_0x586920(0x146)](_0x9e6f38);_0x5db415!=null&&(_0x5db415[_0x586920(0x1dc)]((_0x28d775,_0x400e94,_0x4d14dd)=>{const _0x4ef77b=_0x586920;this['_allTreeMap'][_0x4ef77b(0x146)](_0x4d14dd)&&this[_0x4ef77b(0x1c9)](_0x4d14dd);}),this[_0x586920(0x1b2)][_0x586920(0x1bc)](_0x9e6f38));}}this['_otherFormulaData']['delete'](_0x178ac8);}}}[_0x3b7171(0x1ba)](_0x5b68e1,_0xc896f6,_0x470e3,_0x71f844){const _0x22ca2c=_0x3b7171;this[_0x22ca2c(0x143)][_0x22ca2c(0x209)](_0x5b68e1)||this[_0x22ca2c(0x143)]['set'](_0x5b68e1,new Map());const _0xc11eff=this[_0x22ca2c(0x143)][_0x22ca2c(0x146)](_0x5b68e1);_0xc11eff['has'](_0xc896f6)||_0xc11eff[_0x22ca2c(0x1b9)](_0xc896f6,new Map()),_0xc11eff[_0x22ca2c(0x146)](_0xc896f6)['set'](_0x470e3,_0x71f844[_0x22ca2c(0x1df)]);}[_0x3b7171(0x1e8)](_0x1778f3,_0x29bfc2,_0x460294){const _0x18f384=_0x3b7171,_0x3c7e54=this[_0x18f384(0x143)]['get'](_0x1778f3);if(_0x3c7e54&&_0x3c7e54[_0x18f384(0x209)](_0x29bfc2)){const _0x3b9171=_0x3c7e54['get'](_0x29bfc2);_0x460294[_0x18f384(0x1d4)](_0x30ce90=>{const _0x1730a0=_0x18f384,_0x22c73a=_0x3b9171[_0x1730a0(0x146)](_0x30ce90);_0x22c73a!=null&&(this[_0x1730a0(0x1e9)](_0x22c73a),_0x3b9171['delete'](_0x30ce90),this[_0x1730a0(0x1c9)](_0x22c73a));});}}[_0x3b7171(0x1f3)](_0x2c0669,_0xfbfa92){const _0x4c5798=_0x3b7171,_0x19a91b=this[_0x4c5798(0x143)][_0x4c5798(0x146)](_0x2c0669);if(_0xfbfa92&&_0x19a91b&&_0x19a91b[_0x4c5798(0x209)](_0xfbfa92)){const _0x1e7bf1=_0x19a91b[_0x4c5798(0x146)](_0xfbfa92);this['_removeDependencyRTreeCacheById'](_0x2c0669,_0xfbfa92),_0x1e7bf1[_0x4c5798(0x1d4)](_0x45f73e=>{const _0x3df409=_0x4c5798;_0x45f73e!=null&&this[_0x3df409(0x1c9)](_0x45f73e);}),_0x1e7bf1[_0x4c5798(0x1ad)]();}else _0x19a91b&&(_0x19a91b[_0x4c5798(0x1d4)]((_0xe67035,_0x4a895c)=>{const _0xbf89cb=_0x4c5798;this[_0xbf89cb(0x1e1)](_0x2c0669,_0x4a895c),_0xe67035[_0xbf89cb(0x1d4)](_0x345615=>{_0x345615!=null&&this['_removeAllTreeMap'](_0x345615);});}),this[_0x4c5798(0x143)][_0x4c5798(0x1bc)](_0x2c0669));}[_0x3b7171(0x1ef)](_0x37fc5d,_0x39e1cd,_0x4194b4,_0x582725,_0x35a4eb){const _0x3b0129=_0x3b7171;this[_0x3b0129(0x198)][_0x3b0129(0x209)](_0x37fc5d)||this['_formulaData'][_0x3b0129(0x1b9)](_0x37fc5d,new Map());const _0x159f13=this[_0x3b0129(0x198)][_0x3b0129(0x146)](_0x37fc5d);_0x159f13[_0x3b0129(0x209)](_0x39e1cd)||_0x159f13[_0x3b0129(0x1b9)](_0x39e1cd,new _0x17396b()),_0x159f13[_0x3b0129(0x146)](_0x39e1cd)['setValue'](_0x4194b4,_0x582725,_0x35a4eb[_0x3b0129(0x1df)]);}[_0x3b7171(0x14a)](_0x39ba30,_0x5ee614,_0x1176c5,_0x1ba167){const _0xd897c=_0x3b7171,_0x1c6311=this[_0xd897c(0x198)][_0xd897c(0x146)](_0x39ba30);if(_0x1c6311&&_0x1c6311[_0xd897c(0x209)](_0x5ee614)){const _0x5626e5=_0x1c6311['get'](_0x5ee614),_0x5f6e96=_0x5626e5[_0xd897c(0x20f)](_0x1176c5,_0x1ba167);if(_0x5f6e96==null)return;this[_0xd897c(0x1e9)](_0x5f6e96),_0x5626e5[_0xd897c(0x1e3)](_0x1176c5,_0x1ba167),this['_removeAllTreeMap'](_0x5f6e96);}}[_0x3b7171(0x1c1)](_0x47652e,_0x3465a4){const _0x466907=_0x3b7171,_0x11958d=this[_0x466907(0x198)][_0x466907(0x146)](_0x47652e);if(_0x3465a4&&_0x11958d&&_0x11958d[_0x466907(0x209)](_0x3465a4)){const _0x4a540b=_0x11958d[_0x466907(0x146)](_0x3465a4);this['_removeDependencyRTreeCacheById'](_0x47652e,_0x3465a4),_0x4a540b[_0x466907(0x1dc)]((_0x4a7c10,_0xf93c12,_0x5bfce4)=>{const _0x336ecf=_0x466907;if(_0x5bfce4==null)return!0x0;this[_0x336ecf(0x1c9)](_0x5bfce4);}),_0x4a540b[_0x466907(0x17e)]();}else _0x11958d&&(_0x11958d[_0x466907(0x1d4)]((_0x216ce9,_0x3f163c)=>{const _0x436dd9=_0x466907;this[_0x436dd9(0x1e1)](_0x47652e,_0x3f163c),_0x216ce9[_0x436dd9(0x1dc)]((_0x52b3e3,_0x2db695,_0x1338f4)=>{const _0x46d886=_0x436dd9;if(_0x1338f4==null)return!0x0;this[_0x46d886(0x1c9)](_0x1338f4);});}),this[_0x466907(0x198)]['delete'](_0x47652e));}[_0x3b7171(0x1e9)](_0x1c8eb2){const _0x1a7bd7=_0x3b7171;if(_0x1c8eb2==null)return;const _0x50c256=this[_0x1a7bd7(0x1a4)][_0x1a7bd7(0x146)](_0x1c8eb2);if(_0x50c256){const _0x594a54=[];for(const [_0x4e1db2,_0x2b8313]of _0x50c256)for(const [_0x1d1cae,_0x545fb4]of _0x2b8313)_0x594a54[_0x1a7bd7(0x1ee)]({'unitId':_0x4e1db2,'sheetId':_0x1d1cae,'range':_0x545fb4,'id':_0x1c8eb2});this[_0x1a7bd7(0x1e5)][_0x1a7bd7(0x1ec)](_0x594a54);}}['removeFormulaDependencyByDefinedName'](_0x4a699a,_0x42e1c6){const _0x45bc92=_0x3b7171,_0x5743c1=this[_0x45bc92(0x1d8)][_0x45bc92(0x146)](_0x4a699a);if(_0x5743c1){const _0x49dad8=_0x5743c1[_0x45bc92(0x146)](_0x42e1c6);if(_0x49dad8){for(const _0x318d43 of _0x49dad8)this['_removeDependencyRTreeCache'](_0x318d43),this['_removeAllTreeMap'](_0x318d43);_0x49dad8[_0x45bc92(0x1ad)]();}}}[_0x3b7171(0x169)](){const _0x559e1e=_0x3b7171;this[_0x559e1e(0x1e5)]['openKdTree']();}[_0x3b7171(0x1c6)](){const _0x48897d=_0x3b7171;this['_dependencyRTreeCache'][_0x48897d(0x1c6)]();}['_removeAllTreeMap'](_0x581360){const _0x2ee5d2=_0x3b7171;_0x581360!=null&&this[_0x2ee5d2(0x1a4)][_0x2ee5d2(0x1bc)](_0x581360);}[_0x3b7171(0x211)](_0x4dd7a0){const _0x16c36d=_0x3b7171;var _0x4c2ab2,_0x181169;const _0x4fc2c7=_0x4dd7a0[_0x16c36d(0x1d7)];let _0x53a51f=this[_0x16c36d(0x1a4)][_0x16c36d(0x146)](_0x4dd7a0['treeId']);for(let _0x301571=0x0;_0x301571<_0x4fc2c7['length'];_0x301571++){const _0x87df20=_0x4fc2c7[_0x301571];let {unitId:_0xd87b1c,sheetId:_0x105a6a,range:_0x4b76cd}=_0x87df20;_0x53a51f||(_0x53a51f=new Map(),this[_0x16c36d(0x1a4)][_0x16c36d(0x1b9)](_0x4dd7a0[_0x16c36d(0x1df)],_0x53a51f)),_0x53a51f[_0x16c36d(0x209)](_0xd87b1c)||_0x53a51f[_0x16c36d(0x1b9)](_0xd87b1c,new Map());const _0x329785=(_0x4c2ab2=_0x53a51f==null?void 0x0:_0x53a51f['get'](_0xd87b1c))==null?void 0x0:_0x4c2ab2[_0x16c36d(0x146)](_0x105a6a);_0x329785&&(_0x4b76cd={'startRow':Math['min'](_0x4b76cd['startRow'],_0x329785[_0x16c36d(0x1c4)]),'startColumn':Math[_0x16c36d(0x1a0)](_0x4b76cd[_0x16c36d(0x179)],_0x329785['startColumn']),'endRow':Math[_0x16c36d(0x1cb)](_0x4b76cd['endRow'],_0x329785[_0x16c36d(0x184)]),'endColumn':Math[_0x16c36d(0x1cb)](_0x4b76cd['endColumn'],_0x329785[_0x16c36d(0x200)])}),(_0x181169=_0x53a51f[_0x16c36d(0x146)](_0xd87b1c))==null||_0x181169['set'](_0x105a6a,_0x4b76cd);}}}var be=Object[_0x3b7171(0x214)],xe=(_0x2d2b31,_0x396284,_0x4353cb,_0x107f71)=>{const _0x221920=_0x3b7171;for(var _0x184a83=_0x107f71>0x1?void 0x0:_0x107f71?be(_0x396284,_0x4353cb):_0x396284,_0x2218c2=_0x2d2b31[_0x221920(0x186)]-0x1,_0x5e679a;_0x2218c2>=0x0;_0x2218c2--)(_0x5e679a=_0x2d2b31[_0x2218c2])&&(_0x184a83=_0x5e679a(_0x184a83)||_0x184a83);return _0x184a83;};const ze=Number[_0x3b7171(0x156)](0x6974714d);let G=class extends _0xdbd3ae{[_0x3b7171(0x1fc)](){const _0x49dbbd=_0x3b7171;var _0x12bd1f,_0x1837e7;this[_0x49dbbd(0x1a8)]()?(this[_0x49dbbd(0x208)]['add']([_0x35cde1,{'useClass':De}]),(_0x12bd1f=this[_0x49dbbd(0x1cc)])!=null&&_0x12bd1f[_0x49dbbd(0x1e4)]||[[_0x49a66a,{'useClass':ve}],[_0x2992e0,{'useClass':Se}],[_0x3af20c,{'useClass':Me}]]['forEach'](_0x458696=>this['_injector'][_0x49dbbd(0x155)](_0x458696))):(this[_0x49dbbd(0x208)][_0x49dbbd(0x155)]([_0x35cde1,{'useClass':_0x35cde1}]),(_0x1837e7=this[_0x49dbbd(0x1cc)])!=null&&_0x1837e7['notExecuteFormula']||[[_0x49a66a,{'useClass':_0x1b5a01}],[_0x2992e0,{'useClass':_0x2af0a6}],[_0x3af20c,{'useClass':_0x3a778c}]]['forEach'](_0x3d577b=>this[_0x49dbbd(0x208)]['add'](_0x3d577b)));}['_initLicenseValid'](){const _0x19c906=_0x3b7171;var _0x5a72b6;const _0x335cca=(_0x5a72b6=this[_0x19c906(0x1a6)][_0x19c906(0x15c)](_0x5e4a49))!=null?_0x5a72b6:{},{ls:_0x3a63d6,pbk:_0x4f0caa}=_0x335cca;if(!_0x3a63d6||!_0x4f0caa)return!0x1;const _0x512542=_0x2df6c9(Ne,we),_0x2b1202=new Function(_0x19c906(0x177)+_0x512542)()(_0x3a63d6,_0x4f0caa),_0x29fc4e=_0x2b1202['message'];return _0x2b1202[_0x19c906(0x1f9)]&&_0x2e7448(_0x29fc4e,'sf',ze)?_0x44add5(_0x29fc4e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};G=xe([_0x4b2943(_0x4663c3)],G);export{De as LexerTreeProBuilder,G as UniverProFormulaEnginePlugin};
1
+ const _0x2faf6f=_0x13f4;(function(_0xd1558e,_0x520a2d){const _0x5473ad=_0x13f4,_0x4d3eb4=_0xd1558e();while(!![]){try{const _0xcc40da=parseInt(_0x5473ad(0x1d5))/0x1+parseInt(_0x5473ad(0x18a))/0x2*(-parseInt(_0x5473ad(0x18b))/0x3)+-parseInt(_0x5473ad(0x1f2))/0x4+parseInt(_0x5473ad(0x1e3))/0x5*(parseInt(_0x5473ad(0x1da))/0x6)+-parseInt(_0x5473ad(0x1fe))/0x7+parseInt(_0x5473ad(0x220))/0x8+-parseInt(_0x5473ad(0x1b7))/0x9*(parseInt(_0x5473ad(0x21d))/0xa);if(_0xcc40da===_0x520a2d)break;else _0x4d3eb4['push'](_0x4d3eb4['shift']());}catch(_0x4f577f){_0x4d3eb4['push'](_0x4d3eb4['shift']());}}}(_0x1033,0x753d8));var se=Object[_0x2faf6f(0x196)],ae=(_0x5a2e2b,_0x1938eb,_0xa5cea9)=>_0x1938eb in _0x5a2e2b?se(_0x5a2e2b,_0x1938eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa5cea9}):_0x5a2e2b[_0x1938eb]=_0xa5cea9,F=(_0xee2e06,_0x13a787,_0x95cea4)=>ae(_0xee2e06,typeof _0x13a787!=_0x2faf6f(0x1ce)?_0x13a787+'':_0x13a787,_0x95cea4);import{LexerTreeBuilder as _0x51cb98,ErrorType as _0x59d9d7,DEFAULT_TOKEN_TYPE_ROOT as _0x172a27,DEFAULT_TOKEN_TYPE_PARAMETER as _0x31d647,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x222285,NEW_EXCEL_FUNCTIONS as _0x3e34a9,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3e8f8e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x43dd4a,matchToken as _0x423da6,SUFFIX_TOKEN_SET as _0x31a8de,prefixToken as _0x555e8b,LexerNode as _0x31addc,OPERATOR_TOKEN_SET as _0x3a6523,isReferenceString as _0x5b76da,splitTableStructuredRef as _0x24a1cb,FormulaDependencyGenerator as _0x4e8178,generateRandomDependencyTreeId as _0xe2bb4f,FormulaDependencyTree as _0x4e5f65,FormulaDependencyTreeType as _0x579e0e,FormulaDependencyTreeVirtual as _0x508250,generateAstNode as _0x27483d,CalculateFormulaService as _0x8d38eb,FormulaExecuteStageType as _0x95ddaf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x397b70,DEFAULT_INTERVAL_COUNT as _0x4c9502,DependencyManagerBaseService as _0x4c6215,UniverFormulaEnginePlugin as _0x13bfd3,ICalculateFormulaService as _0x54d125,IDependencyManagerService as _0x3e9e29,IFormulaDependencyGenerator as _0x39bdd9,DependencyManagerService as _0x304c91}from'@univerjs/engine-formula';function _0x13f4(_0x506231,_0xcb8a09){_0x506231=_0x506231-0x15b;const _0x1033ca=_0x1033();let _0x13f4a8=_0x1033ca[_0x506231];return _0x13f4a8;}function _0x1033(){const _0x2eb356=['_getDependencyTreeParenIds','removeOtherFormulaDependency','438280tOxsxI','getChildren','_getUpdateTreeListAndMakeDependency','_startFormulaDependencyTreeModel','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_createVirtualFDtree','getValue','_xlfnPrefix','setCompletedArrayFormulasCount','getUnitData','values','setFormulaExecuteStage','6715548aNiYKn','string','_dependencyTreeCache','node','_lexer','getFormulaExprTree','setRuntimeData','getOtherFormulaDependency','treeBuilder','setAdded','markedAsStopFunctionsExecuted','formula','columnCount','max','MINUS','_otherFormulaDataMainData','\x22\x20is\x20duplicated.','getFormulaData','_formulaDependencyGenerator','children','getNewFormulaWithPrefix','_hasNewExcelFunction','generate','join','addFormulaDependencyByDefinedName','add','message','startIndex','_formulaDependencyTreeModel','_xlfn.','rangeList','226090RxCpTZ','_restDependencyTreeId','_xlpmPrefix','5145136cUSxSU','_config','_getCurNodeTypeForExprTree','_handleLambdaForExprTree','forValue','featureId','_handleNewFunctionChild','_resetPrefix','COLON','_traverse','getFormulaDependency','_isCyclicUtilMap','getToken','refOffsetX','min','START_CALCULATION_ARRAY_FORMULA','getFeatureFormulaDependency','_lambdaFunctionParameterSet','isSkip','openKdTree','_formulaData','_calculateRunList','clearFormulaDependency','_handleTextNodeForExprTree','setRuntimeFeatureRange','startColumn','realDeleteValue','startsWith','push','clear','clearFeatureFormulaDependency','value','executeAsync','_isCalculateTreeModel','_handleChildrenForExprTree','markedAsSuccessfullyExecuted','_initLicenseValid','removeFormulaDependencyByDefinedName','_runtimeService','forEach','type','dependencySheetName','_interpreter','column','clearOtherFormulaDependency','toUpperCase','_addAllTreeMap','getOwnPropertyDescriptor','bulkRemove','formulaId','_executionInProgressListener$','_astTreeBuilder','setValue','has','_checkAddBracketForMinus','bulkSearch','CURRENTLY_CALCULATING_ARRAY_FORMULA','parseInt','getDirtyNameMap','_getFeatureFormulaTree','Lambda\x20parameter\x20name\x20\x22','_updateRangeFlatten','_dependencyManagerService','next','hasOtherFormulaDataMainData','clearArrayObjectCache','4oocjYA','195513qzNKWA','pop','getExcludedRange','_getFirstCellOfRange','_apply','isForceCalculate','searchDependency','_checkIsCycleDependency','setSkip','execute','dirtyRanges','defineProperty','delete','_featureFormulaData','_initializeWithOverride','getDirtyData','notExecuteFormula','getOtherFormulaData','setTotalFormulasToCalculate','getRuntimeState','_getTableNameFromStructuredRef','_currentUnitId','_getTreeById','isStopExecution','range','resetCalculationState','_otherFormulaManagerService','_injector','_currentConfigService','_clearPrefix','inRangeData','size','_otherFormulaData','enableCycleDependency','valid','_removeDependencyRTreeCache','addOtherFormulaDependency','keys','_removeAllTreeMap','_getAllDependencyJson','_configService','_generateExprTree','setRuntimeOtherData','subUnitId','36cIcwLv','isCache','getAllRuntimeData','getDirtyRanges','unitId','row','addOtherFormulaDependencyMainData','addFeatureFormulaDependency','_convertDirtyRangesToUnitRange','isAdded','trim','error','isArray','set','featureDirtyRanges','refOffsetY','endRow','toRTreeItem','_allTreeMap','_getDependencyTreeChildrenIds','markedAsNoFunctionsExecuted','_dependencyRTreeCacheForAddressFunction','addFormulaDependency','symbol','_clearFunctionString','_createFDtree','treeId','_generateNewFunctionString','reset','getStartIndex','254652aDvogD','_getTreeNode','_removeDependencyRTreeCacheById','Let\x20variable\x20name\x20\x22','_dependencyRTreeCache','102xGUrxt','_executionCompleteListener$','from','_checkColonNodeForExprTree','resolve','removeFormulaDependency','dispose','checkAsyncNode','slice','256510igvswS','endColumn','closeKdTree','getConfig','_getAllTreeList','getClearDependencyTreeCache','setTotalArrayFormulasToCalculate','endsWith','get','length','intervalCount','isExcludeRange','_registerFormulas'];_0x1033=function(){return _0x2eb356;};return _0x1033();}export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x139e3c,LS_CONFIG_KEY as _0x2faaf1,unshiftString as _0x555187,isFeatureAuthorizedWithinTime as _0xf0b4b6,getSheetFeatureLimit as _0x5e7690}from'@univerjs-pro/license';import{ObjectMatrix as _0x5f421e,requestImmediateMacroTask as _0x387a0b,RTree as _0x402c74,DependentOn as _0x402cb6}from'@univerjs/core';class De extends _0x51cb98{constructor(){const _0x33ab9f=_0x2faf6f;super(...arguments),F(this,_0x33ab9f(0x213),!0x1),F(this,_0x33ab9f(0x231),new Set()),F(this,'_xlpmPrefix','_xlpm.'),F(this,_0x33ab9f(0x1f9),_0x33ab9f(0x21b)),F(this,_0x33ab9f(0x1a0),'');}[_0x2faf6f(0x227)](){const _0x1676bc=_0x2faf6f;this[_0x1676bc(0x21f)]='_xlpm.',this[_0x1676bc(0x1f9)]='_xlfn.';}[_0x2faf6f(0x1a8)](){const _0x439900=_0x2faf6f;this['_xlpmPrefix']='',this[_0x439900(0x1f9)]='';}[_0x2faf6f(0x212)](_0x51b75c,_0x10dcf7){const _0xb3bd17=_0x2faf6f,_0x41b393=this['treeBuilder'](_0x51b75c,!0x1);if(!_0x41b393||_0x41b393===_0x59d9d7['VALUE']||Array[_0xb3bd17(0x1c3)](_0x41b393))return null;const _0x2cd7ac=[];return this['_hasNewExcelFunction']=!0x1,this[_0xb3bd17(0x1d2)](_0x41b393,_0x2cd7ac,_0x10dcf7),this[_0xb3bd17(0x213)]?'='+_0x2cd7ac[_0xb3bd17(0x215)](''):null;}[_0x2faf6f(0x1d2)](_0x59d8ea,_0x3a2e57,_0x18f5e9){const _0x5f31eb=_0x2faf6f,_0x5be7fe=_0x59d8ea['getToken'](),_0x380710=_0x5be7fe[_0x5f31eb(0x1c1)](),_0x1efadf=_0x380710[_0x5f31eb(0x175)](),_0x271bc0=this['_clearFunctionString'](_0x1efadf),_0x3f14a3=_0x18f5e9(_0x271bc0);let _0x1d9997=0x0;_0x5be7fe===_0x172a27?_0x1d9997=0x3:_0x5be7fe===_0x31d647?_0x1d9997=0x4:_0x5be7fe===_0x222285?_0x1d9997=0x5:_0x3e34a9[_0x5f31eb(0x17d)](_0x271bc0)?(_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x1f9)]+_0x380710),this[_0x5f31eb(0x213)]=!0x0):_0x1efadf===_0x3e8f8e?(_0x3a2e57[_0x5f31eb(0x164)](''+this['_xlfnPrefix']+_0x380710),this[_0x5f31eb(0x213)]=!0x0,_0x1d9997=0x2):_0x1efadf===_0x43dd4a?(_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x1f9)]+_0x380710),this['_hasNewExcelFunction']=!0x0,_0x1d9997=0x1):_0x1efadf===_0x423da6[_0x5f31eb(0x228)]?_0x1d9997=0x8:_0x31a8de[_0x5f31eb(0x17d)](_0x1efadf)?_0x1d9997=0x7:_0x1efadf===_0x555e8b[_0x5f31eb(0x20c)]?(this[_0x5f31eb(0x17e)](_0x59d8ea)&&(_0x1d9997=0x9),_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe)):(_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),_0x1d9997=0xa),_0x3f14a3?(_0x1d9997!==0x2&&_0x1d9997!==0x1&&(_0x1d9997=0x6),_0x3a2e57['push']('(')):_0x1d9997===0x9&&_0x3a2e57[_0x5f31eb(0x164)]('(');const _0x115e1f=_0x59d8ea[_0x5f31eb(0x1f3)](),_0x509edd=_0x115e1f['length'];if(_0x1d9997===0x2){const _0x98da41=_0x115e1f[0x0];let _0x196c5d=0x0;_0x98da41 instanceof _0x31addc&&_0x98da41[_0x5f31eb(0x22c)]()===_0x222285&&(_0x196c5d=0x1);for(let _0x2cee7b=_0x196c5d;_0x2cee7b<_0x509edd-0x1;_0x2cee7b++){const _0x3f2c81=_0x115e1f[_0x2cee7b];if(_0x3f2c81 instanceof _0x31addc){const _0x238bb3=_0x3f2c81[_0x5f31eb(0x1f3)]()[0x0];typeof _0x238bb3==_0x5f31eb(0x1ff)&&(this['_lambdaFunctionParameterSet'][_0x5f31eb(0x17d)](_0x238bb3)&&console['error'](_0x5f31eb(0x184)+_0x238bb3+_0x5f31eb(0x20e)),this[_0x5f31eb(0x231)][_0x5f31eb(0x217)](_0x238bb3),_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x21f)]+_0x238bb3),this[_0x5f31eb(0x213)]=!0x0);}_0x3a2e57[_0x5f31eb(0x164)](',');}this[_0x5f31eb(0x226)](_0x115e1f[_0x509edd-0x1],_0x3a2e57,_0x18f5e9),_0x196c5d===0x1&&(_0x3a2e57['push'](')'),_0x3a2e57[_0x5f31eb(0x164)]('('),this[_0x5f31eb(0x1d2)](_0x98da41,_0x3a2e57,_0x18f5e9)),_0x3a2e57['push'](')');return;}else{if(_0x1d9997===0x1){for(let _0x4b9fec=0x0;_0x4b9fec<_0x509edd-0x1;_0x4b9fec++){const _0x45f22e=_0x115e1f[_0x4b9fec];if(_0x45f22e instanceof _0x31addc&&_0x4b9fec%0x2===0x0){const _0x4a6793=_0x45f22e[_0x5f31eb(0x1f3)]()[0x0];if(typeof _0x4a6793==_0x5f31eb(0x1ff)){this[_0x5f31eb(0x231)][_0x5f31eb(0x17d)](_0x4a6793)&&console[_0x5f31eb(0x1c2)](_0x5f31eb(0x1d8)+_0x4a6793+'\x22\x20is\x20duplicated.'),this[_0x5f31eb(0x231)]['add'](_0x4a6793),_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x21f)]+_0x4a6793),this[_0x5f31eb(0x213)]=!0x0,_0x3a2e57['push'](',');continue;}}if(this[_0x5f31eb(0x226)](_0x45f22e,_0x3a2e57,_0x18f5e9),_0x45f22e instanceof _0x31addc){const _0x129934=_0x115e1f[_0x4b9fec+0x1];_0x129934&&_0x129934 instanceof _0x31addc&&_0x3a2e57[_0x5f31eb(0x164)](',');}}this[_0x5f31eb(0x226)](_0x115e1f[_0x509edd-0x1],_0x3a2e57,_0x18f5e9),_0x3a2e57[_0x5f31eb(0x164)](')');return;}else{if(_0x1d9997===0x8){const _0x2938ea=_0x115e1f[0x0],_0x1442d4=_0x115e1f[0x1];this['_handleNewFunctionChild'](_0x2938ea,_0x3a2e57,_0x18f5e9),_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),this[_0x5f31eb(0x226)](_0x1442d4,_0x3a2e57,_0x18f5e9);return;}}}for(let _0x3670ed=0x0;_0x3670ed<_0x509edd;_0x3670ed++){const _0x2745d3=_0x115e1f[_0x3670ed];if(this['_handleNewFunctionChild'](_0x2745d3,_0x3a2e57,_0x18f5e9),_0x2745d3 instanceof _0x31addc){const _0x421149=_0x115e1f[_0x3670ed+0x1];_0x421149&&_0x421149 instanceof _0x31addc&&_0x3a2e57['push'](',');}}_0x1d9997===0x7&&_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),(_0x3f14a3||_0x1d9997===0x9)&&_0x3a2e57[_0x5f31eb(0x164)](')');}[_0x2faf6f(0x226)](_0x46a9c8,_0x46b403,_0x5bc51f){const _0x1df16b=_0x2faf6f;_0x46a9c8 instanceof _0x31addc?this[_0x1df16b(0x1d2)](_0x46a9c8,_0x46b403,_0x5bc51f):this[_0x1df16b(0x231)][_0x1df16b(0x17d)](_0x46a9c8)?(_0x46b403[_0x1df16b(0x164)](''+this[_0x1df16b(0x21f)]+_0x46a9c8),this[_0x1df16b(0x213)]=!0x0):_0x46b403[_0x1df16b(0x164)](_0x46a9c8);}[_0x2faf6f(0x1cf)](_0x302b1f){const _0x17f7ab=_0x2faf6f;let _0x4e3146=_0x302b1f['trim']();if(!_0x4e3146)return _0x4e3146;const _0x44a947=_0x4e3146[0x0];if((_0x44a947===_0x555e8b['AT']||_0x44a947===_0x555e8b[_0x17f7ab(0x20c)]||_0x44a947===_0x555e8b['PLUS'])&&(_0x4e3146=_0x4e3146[_0x17f7ab(0x1e2)](0x1)),!_0x4e3146)return _0x4e3146;const _0x2030da=_0x4e3146[_0x4e3146[_0x17f7ab(0x1ec)]-0x1];return _0x31a8de[_0x17f7ab(0x17d)](_0x2030da)&&(_0x4e3146=_0x4e3146['slice'](0x0,-0x1)),_0x4e3146;}[_0x2faf6f(0x17e)](_0x561df3){const _0x295a0c=_0x2faf6f,_0x3c8ba5=_0x561df3[_0x295a0c(0x1f3)]()[0x0];if(!_0x3c8ba5||!(_0x3c8ba5 instanceof _0x31addc)||_0x561df3[_0x295a0c(0x1f3)]()[_0x295a0c(0x1ec)]>0x1)return!0x1;const _0x5a9a5e=_0x3c8ba5[_0x295a0c(0x1f3)](),_0x11aab0=_0x5a9a5e['length'];if(_0x11aab0===0x1)return!0x1;for(let _0x375c3a=0x0;_0x375c3a<_0x11aab0;_0x375c3a++){const _0x4a8adf=_0x5a9a5e[_0x375c3a];if(!(_0x4a8adf instanceof _0x31addc)&&_0x3a6523[_0x295a0c(0x17d)](_0x4a8adf))return!0x0;}return!0x1;}[_0x2faf6f(0x203)](_0x186896,_0x54d837,_0x5d4310,_0x374165,_0x6708d5){const _0x164e28=_0x2faf6f,_0xb066fb=this[_0x164e28(0x206)](_0x186896,!0x1);if(!_0xb066fb||_0xb066fb===_0x59d9d7['VALUE']||Array[_0x164e28(0x1c3)](_0xb066fb))return null;this['_clearPrefix'](),this[_0x164e28(0x1a0)]=_0x54d837;const _0x3bb524=this[_0x164e28(0x1b4)](_0xb066fb,_0x5d4310,_0x374165,_0x6708d5);return this[_0x164e28(0x1a0)]='',this[_0x164e28(0x227)](),_0x3bb524;}[_0x2faf6f(0x1b4)](_0x365f74,_0x4cc7cb,_0x1fd0c6,_0x2e063f){const _0x4914c4=_0x2faf6f,_0x7f75c7={'value':'','children':[],'startIndex':0x0};let _0x4a2bda=_0x365f74;if(_0x4a2bda instanceof _0x31addc&&(_0x4a2bda[_0x4914c4(0x22c)]()===_0x172a27||_0x4a2bda[_0x4914c4(0x22c)]()===_0x31d647)&&_0x4a2bda['getChildren']()[_0x4914c4(0x1ec)]===0x1&&(_0x4a2bda=_0x4a2bda[_0x4914c4(0x1f3)]()[0x0]),!(_0x4a2bda instanceof _0x31addc))return this[_0x4914c4(0x15f)](_0x4a2bda,_0x1fd0c6,_0x2e063f);const _0x4acc18=_0x4a2bda[_0x4914c4(0x1f3)](),_0x2d0231=_0x4acc18[_0x4914c4(0x1ec)],_0x22d9a7=[];this['_generateNewFunctionString'](_0x4a2bda,_0x22d9a7,_0x4cc7cb),_0x7f75c7[_0x4914c4(0x167)]=_0x22d9a7[_0x4914c4(0x215)](''),_0x7f75c7[_0x4914c4(0x219)]=_0x4a2bda[_0x4914c4(0x1d4)]();const _0x575ab4=this[_0x4914c4(0x222)](_0x4a2bda);if(_0x575ab4===0x2){const _0x3d9afd=_0x4acc18[0x0];if(_0x3d9afd instanceof _0x31addc){if(_0x3d9afd[_0x4914c4(0x22c)]()[_0x4914c4(0x1c1)]()!==_0x222285)return _0x7f75c7;this[_0x4914c4(0x223)](_0x3d9afd,_0x7f75c7,_0x4cc7cb,_0x1fd0c6,_0x2e063f);}return _0x7f75c7;}else{if(_0x575ab4===0x1){for(let _0x5851a2=0x0;_0x5851a2<_0x2d0231-0x1;_0x5851a2++){const _0x1dfa17=_0x4acc18[_0x5851a2];if(_0x1dfa17 instanceof _0x31addc&&_0x5851a2%0x2===0x1){const _0x46964d=_0x1dfa17['getChildren']();if(_0x46964d[_0x4914c4(0x1ec)]===0x1&&!(_0x46964d[0x0]instanceof _0x31addc))continue;const _0x1b7ee3=this[_0x4914c4(0x1b4)](_0x1dfa17,_0x4cc7cb,_0x1fd0c6,_0x2e063f);_0x1b7ee3&&_0x7f75c7['children'][_0x4914c4(0x164)](_0x1b7ee3);}}return _0x7f75c7;}else{if(_0x575ab4===0x8){const _0xa6b1f5=_0x4acc18[0x0];if(_0xa6b1f5 instanceof _0x31addc){const _0x33d774=_0xa6b1f5[_0x4914c4(0x1f3)]()[0x0];_0x33d774 instanceof _0x31addc&&(_0x7f75c7['startIndex']=_0x33d774[_0x4914c4(0x1d4)]());}if(this[_0x4914c4(0x1dd)](_0x4a2bda))return _0x7f75c7;}else{if(_0x575ab4===0x7){const _0x551eb2=_0x4acc18[0x0];if(_0x551eb2 instanceof _0x31addc){const _0x4c6cb4=_0x551eb2[_0x4914c4(0x1f3)]()[0x0];_0x4c6cb4 instanceof _0x31addc&&(_0x7f75c7[_0x4914c4(0x219)]=_0x4c6cb4[_0x4914c4(0x1d4)]());}}}}}return this[_0x4914c4(0x16a)](_0x4acc18,_0x575ab4,_0x7f75c7,_0x4cc7cb,_0x1fd0c6,_0x2e063f),_0x7f75c7;}[_0x2faf6f(0x16a)](_0x302157,_0x528fe1,_0x44849b,_0x377949,_0x1a518a,_0x3daca8){const _0x38420f=_0x2faf6f;for(let _0x13ae2b=0x0;_0x13ae2b<_0x302157[_0x38420f(0x1ec)];_0x13ae2b++){let _0x3cd20d=_0x302157[_0x13ae2b];if(!(_0x3cd20d instanceof _0x31addc)){const _0x506c7c=this[_0x38420f(0x15f)](_0x3cd20d,_0x1a518a,_0x3daca8);_0x506c7c&&_0x44849b[_0x38420f(0x211)][_0x38420f(0x164)](_0x506c7c);continue;}const _0x33842e=_0x3cd20d['getChildren']();if(_0x33842e[_0x38420f(0x1ec)]===0x1&&!(_0x33842e[0x0]instanceof _0x31addc)){const _0x182928=_0x33842e[0x0];if(!_0x1a518a(this[_0x38420f(0x1a0)],_0x182928)&&!this['_getTableNameFromStructuredRef'](_0x182928,_0x3daca8)&&!_0x5b76da(_0x182928))continue;}if(_0x528fe1===0x8){const _0x33c26e=_0x33842e[0x0];if(_0x33c26e instanceof _0x31addc){const _0x4a1730=_0x33c26e[_0x38420f(0x22c)]()['trim']();if(_0x5b76da(_0x4a1730))continue;_0x3cd20d=_0x33c26e;}}const _0x2ad4d5=this['_generateExprTree'](_0x3cd20d,_0x377949,_0x1a518a,_0x3daca8);_0x2ad4d5&&_0x44849b[_0x38420f(0x211)][_0x38420f(0x164)](_0x2ad4d5);}}[_0x2faf6f(0x1dd)](_0x4745b0){const _0x5f2a83=_0x2faf6f,_0x56516c=_0x4745b0[_0x5f2a83(0x1f3)]();if(_0x56516c[_0x5f2a83(0x1ec)]<0x2)return!0x1;const _0x35f76c=_0x56516c[0x0],_0xdd7acd=_0x56516c[0x1];if(!(_0x35f76c instanceof _0x31addc)||!(_0xdd7acd instanceof _0x31addc))return!0x1;const _0x8838f9=_0x35f76c[_0x5f2a83(0x1f3)]()[0x0],_0x50da94=_0xdd7acd[_0x5f2a83(0x1f3)]()[0x0];if(!(_0x8838f9 instanceof _0x31addc)||!(_0x50da94 instanceof _0x31addc))return!0x1;const _0x1a2ee6=_0x8838f9[_0x5f2a83(0x22c)]()[_0x5f2a83(0x1c1)](),_0x51c7b5=_0x50da94[_0x5f2a83(0x22c)]()[_0x5f2a83(0x1c1)]();return!!_0x5b76da(''+_0x1a2ee6+_0x423da6[_0x5f2a83(0x228)]+_0x51c7b5);}[_0x2faf6f(0x15f)](_0x263658,_0x2a09ba,_0x28a798){const _0x20ac43=_0x2faf6f,_0x3e4274=_0x263658[_0x20ac43(0x1c1)]();return _0x3e4274[_0x20ac43(0x163)]('{')&&_0x3e4274[_0x20ac43(0x1ea)]('}')||_0x2a09ba(this[_0x20ac43(0x1a0)],_0x3e4274)||this[_0x20ac43(0x19f)](_0x3e4274,_0x28a798)||_0x5b76da(_0x3e4274)?{'value':_0x3e4274,'children':[],'startIndex':-0x1}:null;}[_0x2faf6f(0x19f)](_0x4cf819,_0x32f401){const {tableName:_0x214c1d}=_0x24a1cb(_0x4cf819);return _0x32f401(this['_currentUnitId'],_0x214c1d)?_0x214c1d:null;}[_0x2faf6f(0x223)](_0x5100d8,_0x3e70ba,_0x573a01,_0x170a90,_0xe036cf){const _0x4216a9=_0x2faf6f,_0x4766d1=_0x5100d8[_0x4216a9(0x1f3)]();for(let _0x17510e=0x0;_0x17510e<_0x4766d1[_0x4216a9(0x1ec)];_0x17510e++){const _0xabde93=_0x4766d1[_0x17510e];if(!(_0xabde93 instanceof _0x31addc))continue;const _0x8b3fb4=_0xabde93[_0x4216a9(0x1f3)]();if(_0x8b3fb4['length']===0x1&&!(_0x8b3fb4[0x0]instanceof _0x31addc))continue;const _0x4664e0=this[_0x4216a9(0x1b4)](_0xabde93,_0x573a01,_0x170a90,_0xe036cf);_0x4664e0&&_0x3e70ba[_0x4216a9(0x211)][_0x4216a9(0x164)](_0x4664e0);}}[_0x2faf6f(0x222)](_0x3ac5d2){const _0x315df2=_0x2faf6f,_0x27cd5d=_0x3ac5d2[_0x315df2(0x22c)](),_0x2b6b37=_0x27cd5d['trim']()[_0x315df2(0x175)]();let _0x11681e=0x0;return _0x27cd5d===_0x172a27?_0x11681e=0x3:_0x27cd5d===_0x31d647?_0x11681e=0x4:_0x27cd5d===_0x222285?_0x11681e=0x5:_0x2b6b37===_0x3e8f8e?_0x11681e=0x2:_0x2b6b37===_0x43dd4a?_0x11681e=0x1:_0x2b6b37===_0x423da6[_0x315df2(0x228)]?_0x11681e=0x8:_0x31a8de['has'](_0x2b6b37)?_0x11681e=0x7:_0x2b6b37===_0x555e8b[_0x315df2(0x20c)]?this[_0x315df2(0x17e)](_0x3ac5d2)&&(_0x11681e=0x9):_0x11681e=0xa,_0x11681e;}}class xe extends _0x4e8178{constructor(){const _0x32bdd2=_0x2faf6f;super(...arguments),F(this,_0x32bdd2(0x200),new Map());}[_0x2faf6f(0x1e0)](){const _0x4f8d95=_0x2faf6f;super[_0x4f8d95(0x1e0)](),this[_0x4f8d95(0x200)][_0x4f8d95(0x165)]();}async[_0x2faf6f(0x214)](_0xa2c7af=!0x1){const _0x91daa6=_0x2faf6f;this[_0x91daa6(0x185)]();const _0x4a0e93=this['_currentConfigService'][_0x91daa6(0x20f)](),_0x177222=this[_0x91daa6(0x1a5)][_0x91daa6(0x19c)](),_0x2cb054=this[_0x91daa6(0x1a7)][_0x91daa6(0x1e8)]();_0x2cb054!=null&&Object[_0x91daa6(0x1b0)](_0x2cb054)[_0x91daa6(0x16f)](_0x3a3bca=>{const _0x390ad7=_0x91daa6;_0x3a3bca!=null&&Object[_0x390ad7(0x1b0)](_0x2cb054[_0x3a3bca])['forEach'](_0x297232=>{const _0x8bc1bd=_0x390ad7;_0x297232!=null&&(this[_0x8bc1bd(0x186)][_0x8bc1bd(0x174)](_0x3a3bca,_0x297232),this[_0x8bc1bd(0x186)][_0x8bc1bd(0x166)](_0x3a3bca,_0x297232),this[_0x8bc1bd(0x186)]['clearFormulaDependency'](_0x3a3bca,_0x297232));});});const _0x4f8d1e=this['_currentConfigService'][_0x91daa6(0x1fb)]();await this['_generateTreeList'](_0x4a0e93,_0x177222,_0x4f8d1e),this[_0x91daa6(0x186)]['openKdTree']();const _0x5c7755=this[_0x91daa6(0x1f4)](),_0x47812a=this[_0x91daa6(0x15d)](_0x5c7755);return this[_0x91daa6(0x192)](_0x47812a)&&this[_0x91daa6(0x16e)][_0x91daa6(0x1ac)](),_0xa2c7af&&this[_0x91daa6(0x16e)]['setDependencyTreeModelData'](this[_0x91daa6(0x1b2)](Array['from'](this[_0x91daa6(0x200)][_0x91daa6(0x1fc)]()))),this['_dependencyTreeCache'][_0x91daa6(0x165)](),this['_dependencyRTreeCacheForAddressFunction'][_0x91daa6(0x165)](),this[_0x91daa6(0x186)][_0x91daa6(0x1e5)](),this[_0x91daa6(0x16e)][_0x91daa6(0x189)](),Promise[_0x91daa6(0x1de)](_0x47812a);}[_0x2faf6f(0x22b)](_0x31a6d8,_0xb542eb){const _0x1fa4e0=_0x2faf6f,_0x1a1589=[_0x31a6d8];for(;_0x1a1589[_0x1fa4e0(0x1ec)]>0x0;){const _0x5a1a25=_0x1a1589[_0x1a1589[_0x1fa4e0(0x1ec)]-0x1];if((_0xb542eb[_0x1fa4e0(0x1eb)](_0x5a1a25)||0x0)===0x0){_0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x1);const _0x2b2c44=this['_dependencyTreeCache'][_0x1fa4e0(0x1eb)](_0x5a1a25);if(_0x2b2c44==null){_0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x2),_0x1a1589['pop']();continue;}const _0x1d414a=this['_dependencyManagerService'][_0x1fa4e0(0x191)](_0x2b2c44['toRTreeItem']());for(const _0xd56a6d of _0x1d414a){const _0x5cf103=_0xb542eb[_0x1fa4e0(0x1eb)](_0xd56a6d)||0x0;if(_0x5cf103===0x1)return!0x0;_0x5cf103===0x0&&_0x1a1589[_0x1fa4e0(0x164)](_0xd56a6d);}}else _0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x2),_0x1a1589[_0x1fa4e0(0x18c)]();}return!0x1;}[_0x2faf6f(0x192)](_0x4d86ee){const _0x376ed0=_0x2faf6f,_0x3adab0=new Map();for(const _0x497c6d of _0x4d86ee)if(!_0x3adab0[_0x376ed0(0x17d)](_0x497c6d['treeId'])&&this[_0x376ed0(0x22b)](_0x497c6d[_0x376ed0(0x1d1)],_0x3adab0))return!0x0;return _0x3adab0[_0x376ed0(0x165)](),!0x1;}[_0x2faf6f(0x183)](_0x55b759,_0x5f0a83,_0x55b7b2){const _0x593d76=_0x2faf6f,{unitId:_0x566de0,subUnitId:_0x3c1304,dependencyRanges:_0x34f5e4,getDirtyData:_0x2fd767}=_0x55b7b2,_0x56571f=_0x5f0a83||_0xe2bb4f(this['_dependencyManagerService']),_0x4cc99a=new _0x4e5f65(_0x56571f);_0x4cc99a[_0x593d76(0x1bb)]=_0x566de0,_0x4cc99a[_0x593d76(0x1b6)]=_0x3c1304,_0x4cc99a['rangeList']=_0x34f5e4,_0x4cc99a[_0x593d76(0x19a)]=_0x2fd767;const _0x23abc0=_0x2fd767(this[_0x593d76(0x1a7)]['getDirtyData'](),this[_0x593d76(0x16e)][_0x593d76(0x1b9)]()),_0x2b1f90=this[_0x593d76(0x1bf)](_0x23abc0[_0x593d76(0x195)]);return _0x4cc99a[_0x593d76(0x1c5)]=_0x2b1f90,_0x4cc99a[_0x593d76(0x225)]=_0x55b759,_0x4cc99a[_0x593d76(0x170)]=_0x579e0e['FEATURE_FORMULA'],this[_0x593d76(0x186)]['addFeatureFormulaDependency'](_0x566de0,_0x3c1304,_0x55b759,_0x4cc99a),this[_0x593d76(0x200)][_0x593d76(0x1c4)](_0x4cc99a[_0x593d76(0x1d1)],_0x4cc99a),this[_0x593d76(0x186)][_0x593d76(0x230)](_0x55b7b2[_0x593d76(0x1bb)],_0x55b7b2[_0x593d76(0x1b6)],_0x55b759)&&(_0x4cc99a[_0x593d76(0x1b8)]=!0x0),_0x4cc99a;}['_registerOtherFormulas'](_0x3dc4af,_0xc1a2b3,_0x227b35){const _0x5b1253=_0x2faf6f;var _0x105ebc;for(const _0x2d444d of _0xc1a2b3){const _0x2f9d04=_0x3dc4af[_0x2d444d];if(_0x2f9d04==null)continue;const _0x285ea0=Object['keys'](_0x2f9d04);for(const _0x202459 of _0x285ea0){const _0x3c7275=_0x2f9d04[_0x202459];if(_0x3c7275==null)continue;const _0x758264=Object[_0x5b1253(0x1b0)](_0x3c7275);for(const _0x420642 of _0x758264){const _0x20f544=this[_0x5b1253(0x186)][_0x5b1253(0x188)](_0x420642),_0x11ef8c=_0x3c7275[_0x420642],{f:_0x28163c,ranges:_0x542a60}=_0x11ef8c;let _0x466260=!0x1;_0x20f544&&(_0x466260=!0x0);const {firstRow:_0x36a4f1,firstColumn:_0x543568}=this[_0x5b1253(0x18e)](_0x542a60),_0x617d16=this[_0x5b1253(0x186)][_0x5b1253(0x205)](_0x2d444d,_0x202459,_0x420642),_0x272208=(_0x105ebc=_0x617d16==null?void 0x0:_0x617d16[_0x5b1253(0x1f8)](0x0,0x0))!=null?_0x105ebc:_0xe2bb4f(this[_0x5b1253(0x186)]),_0x3ff7b2=new _0x4e5f65(_0x272208);for(let _0xed1473=0x0;_0xed1473<_0x542a60['length'];_0xed1473++){const _0x2136b8=_0x542a60[_0xed1473],{startRow:_0x542f68,startColumn:_0x7da2bc,endRow:_0x31c41d,endColumn:_0x4ecfe7}=_0x2136b8;for(let _0x2be50a=_0x542f68;_0x2be50a<=_0x31c41d;_0x2be50a++)for(let _0x4f0aa7=_0x7da2bc;_0x4f0aa7<=_0x4ecfe7;_0x4f0aa7++){const _0x581da9=_0x4f0aa7-_0x543568,_0x103a7f=_0x2be50a-_0x36a4f1;if(_0x581da9===0x0&&_0x103a7f===0x0){_0x3ff7b2['formula']=_0x28163c,_0x3ff7b2[_0x5b1253(0x1bb)]=_0x2d444d,_0x3ff7b2['subUnitId']=_0x202459,_0x3ff7b2[_0x5b1253(0x179)]=_0x420642,_0x3ff7b2[_0x5b1253(0x170)]=_0x579e0e['OTHER_FORMULA'],_0x3ff7b2[_0x5b1253(0x1b8)]=_0x466260,_0x227b35[_0x5b1253(0x164)](_0x3ff7b2),this[_0x5b1253(0x200)][_0x5b1253(0x1c4)](_0x3ff7b2[_0x5b1253(0x1d1)],_0x3ff7b2),this[_0x5b1253(0x186)][_0x5b1253(0x1af)](_0x2d444d,_0x202459,_0x420642,_0x3ff7b2),this[_0x5b1253(0x186)]['addFormulaDependencyByDefinedName'](_0x3ff7b2);continue;}const _0x251a1b=new _0x508250();_0x251a1b[_0x5b1253(0x1d1)]=(_0x617d16==null?void 0x0:_0x617d16[_0x5b1253(0x1f8)](_0x581da9,_0x103a7f))||_0xe2bb4f(this[_0x5b1253(0x186)]),_0x251a1b['refTree']=_0x3ff7b2,_0x251a1b[_0x5b1253(0x22d)]=_0x581da9,_0x251a1b['refOffsetY']=_0x103a7f,_0x251a1b[_0x5b1253(0x1b8)]=_0x466260,_0x251a1b[_0x5b1253(0x170)]=_0x579e0e['OTHER_FORMULA'],this['_dependencyManagerService'][_0x5b1253(0x1af)](_0x2d444d,_0x202459,_0x420642,_0x251a1b),this[_0x5b1253(0x186)]['addFormulaDependencyByDefinedName'](_0x251a1b),_0x227b35['push'](_0x251a1b),this[_0x5b1253(0x200)][_0x5b1253(0x1c4)](_0x251a1b[_0x5b1253(0x1d1)],_0x251a1b);}}this['_dependencyManagerService'][_0x5b1253(0x1bd)](_0x420642);}}}}[_0x2faf6f(0x1ef)](_0x4cfc40,_0x842bd4,_0x2e30c3,_0x11c0b3){const _0x12cafd=_0x2faf6f;for(const _0x43b2ac of _0x4cfc40){const _0x24f3e4=_0x842bd4[_0x43b2ac];if(_0x24f3e4==null)continue;const _0x3f7e6b=Object[_0x12cafd(0x1b0)](_0x24f3e4);for(const _0x1499aa of _0x3f7e6b){const _0xd34ac3=new _0x5f421e(_0x24f3e4[_0x1499aa]||{}),_0x566d07=new Map();_0xd34ac3[_0x12cafd(0x224)]((_0x46455c,_0x505727,_0x58069e)=>{const _0x16d919=_0x12cafd;if(_0x58069e==null)return!0x0;const {x:_0x1e8b4a=0x0,y:_0x3e21bd=0x0,si:_0x5a279e}=_0x58069e;if(!(_0x1e8b4a===0x0&&_0x3e21bd===0x0&&_0x5a279e!=null))return!0x0;const _0xd651e=this[_0x16d919(0x1d0)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727,_0x2e30c3,_0x58069e),_0xdc571d=this['_dependencyManagerService'][_0x16d919(0x22a)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727);_0xdc571d!=null?_0xd651e[_0x16d919(0x1d1)]=_0xdc571d:(this[_0x16d919(0x186)][_0x16d919(0x1cd)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727,_0xd651e),this[_0x16d919(0x186)][_0x16d919(0x216)](_0xd651e)),_0x566d07['set'](_0x5a279e,_0xd651e),_0x11c0b3[_0x16d919(0x164)](_0xd651e),this[_0x16d919(0x200)]['set'](_0xd651e[_0x16d919(0x1d1)],_0xd651e);}),_0xd34ac3['forValue']((_0x2f5b6d,_0x20188a,_0x2986ff)=>{const _0x605d48=_0x12cafd;if(_0x2986ff==null)return!0x0;const {x:_0x36e7bc=0x0,y:_0x3a59ed=0x0,si:_0x49d34c}=_0x2986ff;if(_0x36e7bc===0x0&&_0x3a59ed===0x0&&_0x49d34c!=null)return!0x0;let _0x53ac46;if(_0x49d34c&&_0x566d07[_0x605d48(0x17d)](_0x49d34c)){const _0x2db719=_0x566d07[_0x605d48(0x1eb)](_0x49d34c);_0x53ac46=this[_0x605d48(0x1f7)](_0x2db719,_0x2986ff);}else _0x53ac46=this[_0x605d48(0x1d0)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a,_0x2e30c3,_0x2986ff);const _0x3dbaa4=this['_dependencyManagerService'][_0x605d48(0x22a)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a);_0x3dbaa4!=null?_0x53ac46[_0x605d48(0x1d1)]=_0x3dbaa4:(this[_0x605d48(0x186)][_0x605d48(0x1cd)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a,_0x53ac46),this[_0x605d48(0x186)][_0x605d48(0x216)](_0x53ac46)),_0x11c0b3[_0x605d48(0x164)](_0x53ac46),this[_0x605d48(0x200)][_0x605d48(0x1c4)](_0x53ac46[_0x605d48(0x1d1)],_0x53ac46);}),_0x566d07[_0x12cafd(0x165)]();}}}[_0x2faf6f(0x1d0)](_0x449e0a,_0x190972,_0x3b0269,_0x40eb07,_0x1a94db,_0x13ca82){const _0x39b930=_0x2faf6f,{f:_0x5253b5,x:_0x79702b=0x0,y:_0xcfc848=0x0}=_0x13ca82,_0xcc90e1=new _0x4e5f65(_0xe2bb4f(this[_0x39b930(0x186)])),_0x23301b=_0x1a94db[_0x449e0a][_0x190972];return _0xcc90e1[_0x39b930(0x209)]=_0x5253b5,_0xcc90e1['unitId']=_0x449e0a,_0xcc90e1[_0x39b930(0x1b6)]=_0x190972,_0xcc90e1[_0x39b930(0x1bc)]=_0x3b0269,_0xcc90e1[_0x39b930(0x173)]=_0x40eb07,_0xcc90e1['rowCount']=_0x23301b['rowCount'],_0xcc90e1['columnCount']=_0x23301b[_0x39b930(0x20a)],_0xcc90e1;}[_0x2faf6f(0x1f4)](){const _0x5987c9=_0x2faf6f,_0x63da31=[],_0x33cfdb=new Set(),_0x3e696c=this[_0x5987c9(0x1a7)][_0x5987c9(0x190)](),_0x220074=this[_0x5987c9(0x1a7)][_0x5987c9(0x1ba)](),_0x2727ea=this['_dependencyManagerService'][_0x5987c9(0x191)](_0x220074),_0x156ca2=this[_0x5987c9(0x1cc)][_0x5987c9(0x17f)](_0x220074);for(const _0x4a936a of _0x156ca2)_0x2727ea[_0x5987c9(0x217)](_0x4a936a);for(const [_0x1bd5c8,_0x473775]of this['_dependencyTreeCache'])(_0x3e696c||_0x473775['isDirty']||_0x473775[_0x5987c9(0x171)](this[_0x5987c9(0x1a7)][_0x5987c9(0x182)]())||_0x2727ea[_0x5987c9(0x17d)](_0x1bd5c8)&&!_0x473775[_0x5987c9(0x1ee)](this[_0x5987c9(0x1a7)][_0x5987c9(0x18d)]()))&&!_0x33cfdb[_0x5987c9(0x17d)](_0x1bd5c8)&&(_0x63da31[_0x5987c9(0x164)](_0x473775),_0x33cfdb['add'](_0x1bd5c8));for(const [_0x4ebd76,_0x5a6dac]of this['_dependencyTreeCache'])_0x5a6dac['isVirtual']||(_0x5a6dac[_0x5987c9(0x21c)][_0x5987c9(0x1ec)]=0x0);return _0x63da31;}[_0x2faf6f(0x1a1)](_0x3de88d){const _0x51e3d9=_0x2faf6f;return this[_0x51e3d9(0x200)][_0x51e3d9(0x1eb)](_0x3de88d);}[_0x2faf6f(0x1d6)](_0x379973){const _0x2f5921=_0x2faf6f;return _0x27483d(_0x379973[_0x2f5921(0x1bb)],_0x379973[_0x2f5921(0x209)],this[_0x2f5921(0x202)],this['_astTreeBuilder'],this[_0x2f5921(0x1a7)]);}*['_traverse'](_0x4e0f2d,_0x2b3acb){const _0x3f55a5=_0x2faf6f,_0x498232=_0x4e0f2d,_0x1d0614=new Set();for(;_0x498232[_0x3f55a5(0x1ec)]>0x0;){const _0x5c8764=_0x498232[_0x3f55a5(0x18c)]();if(_0x1d0614[_0x3f55a5(0x165)](),_0x5c8764===void 0x0||_0x5c8764[_0x3f55a5(0x232)]())continue;if(_0x5c8764[_0x3f55a5(0x1c0)]()){yield _0x5c8764,_0x5c8764[_0x3f55a5(0x193)](),_0x2b3acb[_0x3f55a5(0x217)](_0x5c8764[_0x3f55a5(0x1d1)]);continue;}const _0x30341a=this[_0x3f55a5(0x186)][_0x3f55a5(0x191)](_0x5c8764[_0x3f55a5(0x1c8)](),_0x2b3acb),_0x153c48=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x5c8764[_0x3f55a5(0x1c8)](),_0x2b3acb);for(const _0x36a502 of _0x153c48)_0x30341a[_0x3f55a5(0x217)](_0x36a502);for(const _0x50f6ef of _0x30341a){const _0x29632f=this[_0x3f55a5(0x200)][_0x3f55a5(0x1eb)](_0x50f6ef);if(!_0x29632f){console[_0x3f55a5(0x1c2)](_0x3f55a5(0x1f6),_0x50f6ef);continue;}_0x29632f[_0x3f55a5(0x1c0)]()||_0x5c8764[_0x3f55a5(0x232)]()||_0x1d0614[_0x3f55a5(0x217)](_0x29632f);}if(_0x30341a['clear'](),_0x1d0614[_0x3f55a5(0x1aa)]===0x0)yield _0x5c8764,_0x5c8764[_0x3f55a5(0x193)](),_0x2b3acb[_0x3f55a5(0x217)](_0x5c8764[_0x3f55a5(0x1d1)]);else{_0x5c8764[_0x3f55a5(0x207)](),_0x498232['push'](_0x5c8764);for(const _0x598a0c of _0x1d0614)_0x498232[_0x3f55a5(0x164)](_0x598a0c);}}_0x498232[_0x3f55a5(0x1ec)]=0x0,_0x1d0614[_0x3f55a5(0x165)]();}[_0x2faf6f(0x15d)](_0xc21a81){const _0x235ebf=_0x2faf6f,_0x1dec4f=[],_0x307aaa=new Set();for(const _0x536e1f of this[_0x235ebf(0x229)](_0xc21a81,_0x307aaa))_0x1dec4f[_0x235ebf(0x164)](_0x536e1f);return _0x1dec4f;}async[_0x2faf6f(0x1e7)](){const _0x402dc6=_0x2faf6f;return await this['_initializeGenerateTreeList'](),Array[_0x402dc6(0x1dc)](this[_0x402dc6(0x200)][_0x402dc6(0x1fc)]());}[_0x2faf6f(0x1f0)](_0x569076){const _0x4a9781=_0x2faf6f;return this[_0x4a9781(0x186)][_0x4a9781(0x191)](_0x569076[_0x4a9781(0x1c8)]());}[_0x2faf6f(0x1ca)](_0x6c32ea){const _0x588565=_0x2faf6f,_0x2919ef=new Set(),_0x44fd5c=_0x6c32ea[_0x588565(0x21c)];for(const [_0x5ca160,_0x3175b5]of this[_0x588565(0x200)])for(const _0x3afd10 of _0x44fd5c){const _0x141087=_0x3afd10[_0x588565(0x1bb)],_0x43351b=_0x3afd10['sheetId'];if(_0x3175b5[_0x588565(0x1bb)]!==_0x141087||_0x3175b5[_0x588565(0x1b6)]!==_0x43351b)continue;const _0x49a25d=_0x3afd10[_0x588565(0x1a3)];if(_0x3175b5[_0x588565(0x1a9)](_0x49a25d)){_0x2919ef[_0x588565(0x217)](_0x5ca160);break;}}return _0x2919ef;}[_0x2faf6f(0x1f5)](){const _0x562e78=_0x2faf6f;this[_0x562e78(0x186)][_0x562e78(0x15b)]();}['_endFormulaDependencyTreeModel'](){const _0x767537=_0x2faf6f;this[_0x767537(0x21a)][_0x767537(0x165)](),this[_0x767537(0x200)][_0x767537(0x165)](),this[_0x767537(0x186)][_0x767537(0x1e5)]();}}const Ke='/*tKg\x20JiR-AJgqa\x20KtpEKBKE-RKhp\x20qRKt*/BfixRJmitAKxEypRJmi(\x20JxKigK,tpfa\x20JxNKy)t{ttttREyt{ttttttttxmigRt\x20JxKigKniBmrqERUEEqyt=t\x20JxKigK.gp\x20JR(\x27-\x27);ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma(\x20JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE(\x20JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH\x20maq\x20kxmpKt!==t\x27fiAKBJiKA\x27t&&tgK\x20BtJigRqixKmBt6mEjKEH\x20maq\x20kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t\x27fiAKBJiKA\x27t&&tRypKmBtuJiAmu.\x20mxqRJmit!==t\x27fiAKBJiKA\x27;ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK\x20Bt:t(JgbEmugKEt?tuJiAmut:to\x20maq\x20QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq\x20JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa\x20JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF(\x27*.\x27))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g\x20JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF(\x27.\x27)t&&tFmgR.KiAg6JRF(\x27.\x27t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq\x20gK;tttttttt}tttttttt\x20KRtAmhqJiDq\x20JAt=tBq\x20gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq\x20JAt=t(AmhqJit&&tAmhqJi.\x20KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t\x20mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt(\x20mxqRJmi.FmgRiqhKt===t\x27\x20mxq\x20FmgR\x27)t{ttttttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttttttt}tttttttt}tK\x20gKt{ttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttt}ttttttttxmigRtPq\x20JAt=tgJoiDq\x20JAt&&tAmhqJiDq\x20JA;ttttttttEKRfEit{ttttttttttttPq\x20JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq\x20JA:tBq\x20gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}',ve={0x0:'z',0x1:'6',0x2:'x',0x3:'N',0x4:'L',0x5:'1',0x6:'W',0x7:'J',0x8:'9',0x9:'R','L':'0','V':'2','I':'3','M':'4','s':'5','C':'7','S':'8','q':'a','a':'b','x':'c','A':'d','K':'e','B':'f','o':'g','F':'h','J':'i','X':'j','j':'k','\x20':'l','h':'m','i':'n','m':'o','p':'p','w':'q','E':'r','g':'s','R':'t','f':'u','P':'v','u':'w','y':'y','U':'A','b':'B','Z':'C','v':'D','G':'E','T':'F','H':'G','c':'H','n':'I','N':'K','d':'M','e':'O','r':'P','W':'Q','k':'S','Q':'T','Y':'U','D':'V','z':'X','l':'Y','O':'Z','t':'\x20'};class Ae extends _0x8d38eb{async[_0x2faf6f(0x18f)](_0x34d4c5=!0x1){const _0x475810=_0x2faf6f;_0x34d4c5?this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['START_DEPENDENCY']),this[_0x475810(0x17a)][_0x475810(0x187)](this['_runtimeService'][_0x475810(0x19e)]());const _0x8d0222=await this[_0x475810(0x210)][_0x475810(0x214)](this[_0x475810(0x169)]),_0x5a5eca=this[_0x475810(0x172)];_0x34d4c5?(this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf[_0x475810(0x22f)]),this[_0x475810(0x16e)][_0x475810(0x1e9)](_0x8d0222[_0x475810(0x1ec)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x95ddaf['START_CALCULATION']),this[_0x475810(0x16e)][_0x475810(0x19d)](_0x8d0222['length'])),this[_0x475810(0x17a)][_0x475810(0x187)](this[_0x475810(0x16e)][_0x475810(0x19e)]());let _0x36abc2=[];const _0x3c07e1=this[_0x475810(0x1b3)]['getConfig'](_0x397b70),_0x37f484=(_0x3c07e1==null?void 0x0:_0x3c07e1[_0x475810(0x1ed)])||_0x4c9502;let _0x5999bd=0x0;const _0x53a100=_0x8d0222[_0x475810(0x1ec)];for(;_0x8d0222[_0x475810(0x1ec)]>0x0;){const _0x590013=_0x8d0222[_0x475810(0x18c)](),_0x1f2e8d=_0x27483d(_0x590013[_0x475810(0x1bb)],_0x590013[_0x475810(0x209)],this[_0x475810(0x202)],this[_0x475810(0x17b)],this[_0x475810(0x1a7)]),_0x2baa0c={'node':_0x1f2e8d,'refOffsetX':_0x590013[_0x475810(0x22d)],'refOffsetY':_0x590013[_0x475810(0x1c6)]},_0x538bf9=_0x590013[_0x475810(0x19a)];if(_0x5999bd%_0x37f484===0x0&&(await new Promise(_0x58f926=>{const _0x335e37=_0x387a0b(_0x58f926);_0x36abc2['push'](_0x335e37);}),_0x34d4c5?(this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf[_0x475810(0x180)]),this[_0x475810(0x16e)][_0x475810(0x1fa)](_0x5999bd+0x1)):(this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['CURRENTLY_CALCULATING']),this[_0x475810(0x16e)]['setCompletedFormulasCount'](_0x5999bd+0x1)),this[_0x475810(0x17a)]['next'](this[_0x475810(0x16e)][_0x475810(0x19e)]()),this[_0x475810(0x16e)][_0x475810(0x1a2)]()||_0x2baa0c==null&&_0x538bf9==null)){this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf['IDLE']),this['_runtimeService'][_0x475810(0x208)](),this[_0x475810(0x1db)]['next'](this[_0x475810(0x16e)][_0x475810(0x1b9)]());return;}this[_0x475810(0x16e)]['setCurrent'](_0x590013[_0x475810(0x1bc)],_0x590013[_0x475810(0x173)],_0x590013['rowCount'],_0x590013[_0x475810(0x20a)],_0x590013[_0x475810(0x1b6)],_0x590013['unitId']);let _0x3e714e;if(_0x538bf9!=null&&_0x590013[_0x475810(0x225)]!=null){const {runtimeCellData:_0x169ca7,dirtyRanges:_0x10cbac}=_0x538bf9(this[_0x475810(0x1a7)][_0x475810(0x19a)](),this['_runtimeService'][_0x475810(0x1b9)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x590013[_0x475810(0x225)],_0x169ca7),this['_runtimeService'][_0x475810(0x160)](_0x590013[_0x475810(0x225)],_0x10cbac);}else _0x2baa0c!=null&&(_0x5a5eca[_0x475810(0x1e1)](_0x2baa0c[_0x475810(0x201)])?_0x3e714e=await _0x5a5eca[_0x475810(0x168)](_0x2baa0c):_0x3e714e=_0x5a5eca[_0x475810(0x194)](_0x2baa0c),_0x590013['formulaId']!=null?this[_0x475810(0x16e)][_0x475810(0x1b5)](_0x590013[_0x475810(0x179)],_0x590013[_0x475810(0x22d)],_0x590013['refOffsetY'],_0x3e714e):this['_runtimeService'][_0x475810(0x204)](_0x3e714e));_0x1f2e8d[_0x475810(0x1a4)](),_0x5999bd++;}return _0x36abc2[_0x475810(0x16f)](_0x29d894=>_0x29d894()),_0x36abc2=[],_0x53a100>0x0?this[_0x475810(0x16e)][_0x475810(0x16b)]():_0x34d4c5||this[_0x475810(0x16e)][_0x475810(0x1cb)](),this[_0x475810(0x16e)]['getAllRuntimeData']();}}class Me extends _0x4c6215{constructor(){const _0x3c9e7b=_0x2faf6f;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x3c9e7b(0x1d9),new _0x402c74(!0x0));}[_0x2faf6f(0x1d3)](){const _0x3a5921=_0x2faf6f;this['_otherFormulaData'][_0x3a5921(0x165)](),this[_0x3a5921(0x198)][_0x3a5921(0x165)](),this[_0x3a5921(0x15c)]['clear'](),this[_0x3a5921(0x1d9)][_0x3a5921(0x165)](),this['_allTreeMap'][_0x3a5921(0x165)](),this[_0x3a5921(0x21e)](),this['_otherFormulaDataMainData'][_0x3a5921(0x165)]();}[_0x2faf6f(0x1af)](_0x54f0a0,_0x1331af,_0x105c6b,_0x39c179){const _0x59b152=_0x2faf6f;this[_0x59b152(0x1ab)]['has'](_0x54f0a0)||this[_0x59b152(0x1ab)][_0x59b152(0x1c4)](_0x54f0a0,new Map());const _0x5acc76=this['_otherFormulaData'][_0x59b152(0x1eb)](_0x54f0a0);_0x5acc76[_0x59b152(0x17d)](_0x1331af)||_0x5acc76['set'](_0x1331af,new Map());const _0x38fc42=_0x5acc76[_0x59b152(0x1eb)](_0x1331af);_0x38fc42['has'](_0x105c6b)||_0x38fc42['set'](_0x105c6b,new _0x5f421e()),_0x38fc42[_0x59b152(0x1eb)](_0x105c6b)[_0x59b152(0x17c)](_0x39c179['refOffsetX'],_0x39c179[_0x59b152(0x1c6)],_0x39c179[_0x59b152(0x1d1)]);}[_0x2faf6f(0x1f1)](_0x1857ef,_0x318b4a,_0x5b33e6){const _0xcc0d35=_0x2faf6f,_0x30389e=this['_otherFormulaData'][_0xcc0d35(0x1eb)](_0x1857ef);if(_0x30389e&&_0x30389e[_0xcc0d35(0x17d)](_0x318b4a)){const _0x2a3cf8=_0x30389e[_0xcc0d35(0x1eb)](_0x318b4a);_0x5b33e6[_0xcc0d35(0x16f)](_0x46ee58=>{const _0x8babc6=_0xcc0d35,_0x1b6fc7=_0x2a3cf8[_0x8babc6(0x1eb)](_0x46ee58);_0x1b6fc7!=null&&(_0x1b6fc7['forValue']((_0x3778b9,_0x34157e,_0x20c06e)=>{const _0x2e4712=_0x8babc6;this[_0x2e4712(0x1ae)](_0x20c06e),this[_0x2e4712(0x1b1)](_0x20c06e);}),_0x2a3cf8[_0x8babc6(0x197)](_0x46ee58),this[_0x8babc6(0x20d)][_0x8babc6(0x197)](_0x46ee58));}),_0x2a3cf8[_0xcc0d35(0x1aa)]===0x0&&_0x30389e[_0xcc0d35(0x197)](_0x318b4a),_0x30389e[_0xcc0d35(0x1aa)]===0x0&&this['_otherFormulaData'][_0xcc0d35(0x197)](_0x1857ef);}}[_0x2faf6f(0x174)](_0x310c4f,_0x2c0fb1){const _0x4e6cf6=_0x2faf6f,_0x3e11d6=this['_otherFormulaData'][_0x4e6cf6(0x1eb)](_0x310c4f);if(_0x2c0fb1&&_0x3e11d6&&_0x3e11d6['has'](_0x2c0fb1)){const _0x3cc389=_0x3e11d6[_0x4e6cf6(0x1eb)](_0x2c0fb1);this[_0x4e6cf6(0x1d7)](_0x310c4f,_0x2c0fb1);for(const _0x5ae4d6 of _0x3cc389[_0x4e6cf6(0x1b0)]()){const _0x4a32e7=_0x3cc389[_0x4e6cf6(0x1eb)](_0x5ae4d6);_0x4a32e7!=null&&(_0x4a32e7[_0x4e6cf6(0x224)]((_0x44ea85,_0x23c352,_0x1425e6)=>{const _0x7f442b=_0x4e6cf6;this[_0x7f442b(0x1c9)]['get'](_0x1425e6)&&this[_0x7f442b(0x1b1)](_0x1425e6);}),this[_0x4e6cf6(0x20d)][_0x4e6cf6(0x197)](_0x5ae4d6));}_0x3cc389[_0x4e6cf6(0x165)]();}else{if(_0x3e11d6){for(const _0x597853 of _0x3e11d6[_0x4e6cf6(0x1b0)]()){const _0x2ad069=_0x3e11d6['get'](_0x597853);this[_0x4e6cf6(0x1d7)](_0x310c4f,_0x597853);for(const _0x4528ee of _0x2ad069[_0x4e6cf6(0x1b0)]()){const _0x3d4044=_0x2ad069[_0x4e6cf6(0x1eb)](_0x4528ee);_0x3d4044!=null&&(_0x3d4044[_0x4e6cf6(0x224)]((_0x3c2b7b,_0x20c0b1,_0x3e65d0)=>{const _0x50234e=_0x4e6cf6;this[_0x50234e(0x1c9)]['get'](_0x3e65d0)&&this[_0x50234e(0x1b1)](_0x3e65d0);}),this[_0x4e6cf6(0x20d)][_0x4e6cf6(0x197)](_0x4528ee));}}this[_0x4e6cf6(0x1ab)][_0x4e6cf6(0x197)](_0x310c4f);}}}[_0x2faf6f(0x1be)](_0x30b144,_0x357896,_0x8e65b3,_0x19e626){const _0x29d13f=_0x2faf6f;this[_0x29d13f(0x198)][_0x29d13f(0x17d)](_0x30b144)||this['_featureFormulaData']['set'](_0x30b144,new Map());const _0x136a1b=this[_0x29d13f(0x198)][_0x29d13f(0x1eb)](_0x30b144);_0x136a1b['has'](_0x357896)||_0x136a1b['set'](_0x357896,new Map()),_0x136a1b[_0x29d13f(0x1eb)](_0x357896)[_0x29d13f(0x1c4)](_0x8e65b3,_0x19e626[_0x29d13f(0x1d1)]);}['removeFeatureFormulaDependency'](_0x19df5b,_0xa92cf1,_0x17403b){const _0x5e9b6e=_0x2faf6f,_0x43d3cc=this[_0x5e9b6e(0x198)][_0x5e9b6e(0x1eb)](_0x19df5b);if(_0x43d3cc&&_0x43d3cc[_0x5e9b6e(0x17d)](_0xa92cf1)){const _0x1a2950=_0x43d3cc[_0x5e9b6e(0x1eb)](_0xa92cf1);_0x17403b[_0x5e9b6e(0x16f)](_0x120b3f=>{const _0x3951c5=_0x5e9b6e,_0xeee7f3=_0x1a2950[_0x3951c5(0x1eb)](_0x120b3f);_0xeee7f3!=null&&(this[_0x3951c5(0x1ae)](_0xeee7f3),_0x1a2950['delete'](_0x120b3f),this[_0x3951c5(0x1b1)](_0xeee7f3));});}}['clearFeatureFormulaDependency'](_0x42324f,_0x2a6fcd){const _0x3e3547=_0x2faf6f,_0xc544be=this[_0x3e3547(0x198)]['get'](_0x42324f);if(_0x2a6fcd&&_0xc544be&&_0xc544be[_0x3e3547(0x17d)](_0x2a6fcd)){const _0x3669e5=_0xc544be[_0x3e3547(0x1eb)](_0x2a6fcd);this[_0x3e3547(0x1d7)](_0x42324f,_0x2a6fcd),_0x3669e5[_0x3e3547(0x16f)](_0x21ed21=>{_0x21ed21!=null&&this['_removeAllTreeMap'](_0x21ed21);}),_0x3669e5[_0x3e3547(0x165)]();}else _0xc544be&&(_0xc544be[_0x3e3547(0x16f)]((_0x2ec03a,_0x18f601)=>{this['_removeDependencyRTreeCacheById'](_0x42324f,_0x18f601),_0x2ec03a['forEach'](_0x3c5a69=>{const _0x3dc51f=_0x13f4;_0x3c5a69!=null&&this[_0x3dc51f(0x1b1)](_0x3c5a69);});}),this[_0x3e3547(0x198)][_0x3e3547(0x197)](_0x42324f));}[_0x2faf6f(0x1cd)](_0xee7ee4,_0x1d4863,_0x4480a9,_0xdbb3ce,_0x4e5552){const _0x2e3945=_0x2faf6f;this[_0x2e3945(0x15c)][_0x2e3945(0x17d)](_0xee7ee4)||this['_formulaData'][_0x2e3945(0x1c4)](_0xee7ee4,new Map());const _0x5119ca=this[_0x2e3945(0x15c)][_0x2e3945(0x1eb)](_0xee7ee4);_0x5119ca[_0x2e3945(0x17d)](_0x1d4863)||_0x5119ca[_0x2e3945(0x1c4)](_0x1d4863,new _0x5f421e()),_0x5119ca['get'](_0x1d4863)[_0x2e3945(0x17c)](_0x4480a9,_0xdbb3ce,_0x4e5552[_0x2e3945(0x1d1)]);}[_0x2faf6f(0x1df)](_0x1c4923,_0x2d7c26,_0x46b9f2,_0x41bf35){const _0x4385b5=_0x2faf6f,_0x129368=this[_0x4385b5(0x15c)][_0x4385b5(0x1eb)](_0x1c4923);if(_0x129368&&_0x129368['has'](_0x2d7c26)){const _0x226d8d=_0x129368[_0x4385b5(0x1eb)](_0x2d7c26),_0x4182eb=_0x226d8d[_0x4385b5(0x1f8)](_0x46b9f2,_0x41bf35);if(_0x4182eb==null)return;this['_removeDependencyRTreeCache'](_0x4182eb),_0x226d8d[_0x4385b5(0x162)](_0x46b9f2,_0x41bf35),this[_0x4385b5(0x1b1)](_0x4182eb);}}[_0x2faf6f(0x15e)](_0x5a3858,_0x77188e){const _0x14512c=_0x2faf6f,_0x1c742d=this[_0x14512c(0x15c)][_0x14512c(0x1eb)](_0x5a3858);if(_0x77188e&&_0x1c742d&&_0x1c742d[_0x14512c(0x17d)](_0x77188e)){const _0x23de03=_0x1c742d[_0x14512c(0x1eb)](_0x77188e);this[_0x14512c(0x1d7)](_0x5a3858,_0x77188e),_0x23de03['forValue']((_0x267d33,_0x2b0833,_0x2df55f)=>{const _0x552756=_0x14512c;if(_0x2df55f==null)return!0x0;this[_0x552756(0x1b1)](_0x2df55f);}),_0x23de03['reset']();}else _0x1c742d&&(_0x1c742d[_0x14512c(0x16f)]((_0x14f4b1,_0x41cc80)=>{const _0x411f7c=_0x14512c;this[_0x411f7c(0x1d7)](_0x5a3858,_0x41cc80),_0x14f4b1[_0x411f7c(0x224)]((_0x89b959,_0x3daede,_0x26719a)=>{if(_0x26719a==null)return!0x0;this['_removeAllTreeMap'](_0x26719a);});}),this[_0x14512c(0x15c)]['delete'](_0x5a3858));}['_removeDependencyRTreeCache'](_0x4cf78f){const _0x3efd21=_0x2faf6f;if(_0x4cf78f==null)return;const _0x50bbea=this[_0x3efd21(0x1c9)][_0x3efd21(0x1eb)](_0x4cf78f);if(_0x50bbea){const _0x47278a=[];for(const [_0x4bc7ee,_0x2a049f]of _0x50bbea)for(const [_0x10423c,_0x30736c]of _0x2a049f)_0x47278a[_0x3efd21(0x164)]({'unitId':_0x4bc7ee,'sheetId':_0x10423c,'range':_0x30736c,'id':_0x4cf78f});this[_0x3efd21(0x1d9)][_0x3efd21(0x178)](_0x47278a);}}[_0x2faf6f(0x16d)](_0x2b737f,_0x3ec03d){const _0x2635f9=_0x2faf6f,_0x1979d9=this['_definedNameMap'][_0x2635f9(0x1eb)](_0x2b737f);if(_0x1979d9){const _0x10aadf=_0x1979d9[_0x2635f9(0x1eb)](_0x3ec03d);if(_0x10aadf){for(const _0x5db3de of _0x10aadf)this[_0x2635f9(0x1ae)](_0x5db3de),this[_0x2635f9(0x1b1)](_0x5db3de);_0x10aadf[_0x2635f9(0x165)]();}}}[_0x2faf6f(0x15b)](){const _0x478257=_0x2faf6f;this[_0x478257(0x1d9)][_0x478257(0x15b)]();}[_0x2faf6f(0x1e5)](){const _0x40fb2f=_0x2faf6f;this[_0x40fb2f(0x1d9)]['closeKdTree']();}[_0x2faf6f(0x1b1)](_0x5eede2){const _0x1d24fe=_0x2faf6f;_0x5eede2!=null&&this[_0x1d24fe(0x1c9)][_0x1d24fe(0x197)](_0x5eede2);}[_0x2faf6f(0x176)](_0x2ce7cf){const _0x1a005a=_0x2faf6f;var _0x5c2c59,_0x433860;const _0x16895c=_0x2ce7cf['rangeList'];let _0x32cb28=this[_0x1a005a(0x1c9)][_0x1a005a(0x1eb)](_0x2ce7cf[_0x1a005a(0x1d1)]);for(let _0x55a092=0x0;_0x55a092<_0x16895c[_0x1a005a(0x1ec)];_0x55a092++){const _0x3b7b1f=_0x16895c[_0x55a092];let {unitId:_0x25c36e,sheetId:_0x5a19d2,range:_0x2b5bd1}=_0x3b7b1f;_0x32cb28||(_0x32cb28=new Map(),this['_allTreeMap'][_0x1a005a(0x1c4)](_0x2ce7cf['treeId'],_0x32cb28)),_0x32cb28[_0x1a005a(0x17d)](_0x25c36e)||_0x32cb28[_0x1a005a(0x1c4)](_0x25c36e,new Map());const _0x10d536=(_0x5c2c59=_0x32cb28==null?void 0x0:_0x32cb28['get'](_0x25c36e))==null?void 0x0:_0x5c2c59[_0x1a005a(0x1eb)](_0x5a19d2);_0x10d536&&(_0x2b5bd1={'startRow':Math[_0x1a005a(0x22e)](_0x2b5bd1['startRow'],_0x10d536['startRow']),'startColumn':Math[_0x1a005a(0x22e)](_0x2b5bd1[_0x1a005a(0x161)],_0x10d536[_0x1a005a(0x161)]),'endRow':Math[_0x1a005a(0x20b)](_0x2b5bd1[_0x1a005a(0x1c7)],_0x10d536['endRow']),'endColumn':Math[_0x1a005a(0x20b)](_0x2b5bd1['endColumn'],_0x10d536[_0x1a005a(0x1e4)])}),(_0x433860=_0x32cb28[_0x1a005a(0x1eb)](_0x25c36e))==null||_0x433860['set'](_0x5a19d2,_0x2b5bd1);}}}var Se=Object[_0x2faf6f(0x177)],Ne=(_0x3ca938,_0x4fd00d,_0x2a1825,_0x31bd59)=>{const _0x5ea22c=_0x2faf6f;for(var _0xb3adf9=_0x31bd59>0x1?void 0x0:_0x31bd59?Se(_0x4fd00d,_0x2a1825):_0x4fd00d,_0x11dd1b=_0x3ca938[_0x5ea22c(0x1ec)]-0x1,_0x42bf20;_0x11dd1b>=0x0;_0x11dd1b--)(_0x42bf20=_0x3ca938[_0x11dd1b])&&(_0xb3adf9=_0x42bf20(_0xb3adf9)||_0xb3adf9);return _0xb3adf9;};const Je=Number[_0x2faf6f(0x181)](0x697db262);let H=class extends _0x13bfd3{[_0x2faf6f(0x199)](){const _0x28c02b=_0x2faf6f;var _0x2a09c0,_0x9329a7;this['_initLicenseValid']()?(this[_0x28c02b(0x1a6)]['add']([_0x51cb98,{'useClass':De}]),(_0x2a09c0=this[_0x28c02b(0x221)])!=null&&_0x2a09c0[_0x28c02b(0x19b)]||[[_0x54d125,{'useClass':Ae}],[_0x3e9e29,{'useClass':Me}],[_0x39bdd9,{'useClass':xe}]][_0x28c02b(0x16f)](_0x595f49=>this['_injector'][_0x28c02b(0x217)](_0x595f49))):(this['_injector'][_0x28c02b(0x217)]([_0x51cb98,{'useClass':_0x51cb98}]),(_0x9329a7=this[_0x28c02b(0x221)])!=null&&_0x9329a7['notExecuteFormula']||[[_0x54d125,{'useClass':_0x8d38eb}],[_0x3e9e29,{'useClass':_0x304c91}],[_0x39bdd9,{'useClass':_0x4e8178}]][_0x28c02b(0x16f)](_0x1dbd3d=>this['_injector']['add'](_0x1dbd3d)));}[_0x2faf6f(0x16c)](){const _0x18b4af=_0x2faf6f;var _0x58718c;const _0x35e681=(_0x58718c=this[_0x18b4af(0x1b3)][_0x18b4af(0x1e6)](_0x2faaf1))!=null?_0x58718c:{},{ls:_0x128c05,pbk:_0x2a857a}=_0x35e681;if(!_0x128c05||!_0x2a857a)return!0x1;const _0xe2b9d4=_0x555187(Ke,ve),_0x321184=new Function('return\x20'+_0xe2b9d4)()(_0x128c05,_0x2a857a),_0x3d0090=_0x321184[_0x18b4af(0x218)];return _0x321184[_0x18b4af(0x1ad)]&&_0xf0b4b6(_0x3d0090,'sf',Je)?_0x5e7690(_0x3d0090,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=Ne([_0x402cb6(_0x139e3c)],H);export{De as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
@@ -0,0 +1 @@
1
+ export declare const getLsInfoFuncStr = "/*tKg JiR-AJgqa KtpEKBKE-RKhp qRKt*/BfixRJmitAKxEypRJmi( JxKigK,tpfa JxNKy)t{ttttREyt{ttttttttxmigRt JxKigKniBmrqERUEEqyt=t JxKigK.gp JR('-');ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma( JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE( JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH maq kxmpKt!==t'fiAKBJiKA't&&tgK BtJigRqixKmBt6mEjKEH maq kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t'fiAKBJiKA't&&tRypKmBtuJiAmu. mxqRJmit!==t'fiAKBJiKA';ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK Bt:t(JgbEmugKEt?tuJiAmut:to maq QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK( JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK( JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF('*.'))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF('.')t&&tFmgR.KiAg6JRF('.'t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq gK;tttttttt}tttttttt KRtAmhqJiDq JAt=tBq gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq JAt=t(AmhqJit&&tAmhqJi. KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt( mxqRJmi.FmgRiqhKt===t' mxq FmgR')t{ttttttttttttttttAmhqJiDq JAt=tREfK;tttttttttttt}tttttttt}tK gKt{ttttttttttttAmhqJiDq JAt=tREfK;tttttttt}ttttttttxmigRtPq JAt=tgJoiDq JAt&&tAmhqJiDq JA;ttttttttEKRfEit{ttttttttttttPq JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq JA:tBq gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x3b33(_0x3640b9,_0x3cc4c3){_0x3640b9=_0x3640b9-0x110;var _0x20e3a3=_0x20e3();var _0x3b339a=_0x20e3a3[_0x3640b9];return _0x3b339a;}(function(_0x23f309,_0x2be687){var _0x37f03b=_0x3b33,_0x98d078=_0x23f309();while(!![]){try{var _0x313dad=parseInt(_0x37f03b(0x11a))/0x1*(parseInt(_0x37f03b(0x11d))/0x2)+parseInt(_0x37f03b(0x116))/0x3+parseInt(_0x37f03b(0x11e))/0x4+-parseInt(_0x37f03b(0x113))/0x5+parseInt(_0x37f03b(0x123))/0x6+parseInt(_0x37f03b(0x117))/0x7+parseInt(_0x37f03b(0x114))/0x8*(-parseInt(_0x37f03b(0x11b))/0x9);if(_0x313dad===_0x2be687)break;else _0x98d078['push'](_0x98d078['shift']());}catch(_0x28709a){_0x98d078['push'](_0x98d078['shift']());}}}(_0x20e3,0xc9e12),function(_0x29cec1,_0x39ffb8){var _0x4eee65=_0x3b33;typeof exports==_0x4eee65(0x119)&&typeof module<'u'?_0x39ffb8(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x4eee65(0x121)&&define[_0x4eee65(0x122)]?define([_0x4eee65(0x11c),'@univerjs/engine-formula/facade'],_0x39ffb8):(_0x29cec1=typeof globalThis<'u'?globalThis:_0x29cec1||self,_0x39ffb8(_0x29cec1['UniverProEngineFormulaFacade']={},_0x29cec1[_0x4eee65(0x118)]));}(this,function(_0x584611,_0x3c1d38){'use strict';var _0x55447c=_0x3b33;Object['keys'](_0x3c1d38)[_0x55447c(0x120)](_0x1d0f11=>{var _0x21cc72=_0x55447c;_0x1d0f11!==_0x21cc72(0x112)&&!Object['prototype']['hasOwnProperty'][_0x21cc72(0x110)](_0x584611,_0x1d0f11)&&Object[_0x21cc72(0x11f)](_0x584611,_0x1d0f11,{'enumerable':!0x0,'get':()=>_0x3c1d38[_0x1d0f11]});}),Object['defineProperty'](_0x584611,Symbol[_0x55447c(0x111)],{'value':_0x55447c(0x115)});}));function _0x20e3(){var _0x417eb1=['23QvHZXR','39870bpGCxW','exports','64046vBgLub','1241348qhbDeQ','defineProperty','forEach','function','amd','1802184clHals','call','toStringTag','default','6344330HgwXYs','584dtqXMR','Module','934362ybFSIj','5323290cNeOSu','UniverEngineFormulaFacade','object'];_0x20e3=function(){return _0x417eb1;};return _0x20e3();}
1
+ function _0x5c82(_0x3a1ed8,_0x5adaf9){_0x3a1ed8=_0x3a1ed8-0x89;var _0x44449b=_0x4444();var _0x5c8248=_0x44449b[_0x3a1ed8];return _0x5c8248;}function _0x4444(){var _0xf1bad1=['2886012CRaAQn','3650170xeaACN','16CkVVDK','UniverProEngineFormulaFacade','1622178MJMPlq','default','4382700SGUMBs','@univerjs/engine-formula/facade','call','exports','object','683TtxWXI','3314pUKXFt','hasOwnProperty','204pFvBEo','prototype','forEach','3656992YFaENq','keys','defineProperty','amd','Module','toStringTag','function','49763fdRAra'];_0x4444=function(){return _0xf1bad1;};return _0x4444();}(function(_0x3bfb16,_0x220ece){var _0x477305=_0x5c82,_0x70deb0=_0x3bfb16();while(!![]){try{var _0x1fb638=parseInt(_0x477305(0x8d))/0x1*(-parseInt(_0x477305(0x8e))/0x2)+parseInt(_0x477305(0x9b))/0x3+parseInt(_0x477305(0x93))/0x4+parseInt(_0x477305(0xa1))/0x5+parseInt(_0x477305(0x90))/0x6*(-parseInt(_0x477305(0x9a))/0x7)+parseInt(_0x477305(0x9d))/0x8*(-parseInt(_0x477305(0x9f))/0x9)+-parseInt(_0x477305(0x9c))/0xa;if(_0x1fb638===_0x220ece)break;else _0x70deb0['push'](_0x70deb0['shift']());}catch(_0x135d33){_0x70deb0['push'](_0x70deb0['shift']());}}}(_0x4444,0x9fa1e),function(_0x8758f0,_0x1b8b28){var _0x18ebe7=_0x5c82;typeof exports==_0x18ebe7(0x8c)&&typeof module<'u'?_0x1b8b28(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x18ebe7(0x99)&&define[_0x18ebe7(0x96)]?define([_0x18ebe7(0x8b),_0x18ebe7(0x89)],_0x1b8b28):(_0x8758f0=typeof globalThis<'u'?globalThis:_0x8758f0||self,_0x1b8b28(_0x8758f0[_0x18ebe7(0x9e)]={},_0x8758f0['UniverEngineFormulaFacade']));}(this,function(_0x569f9b,_0x1fef49){'use strict';var _0x2054c7=_0x5c82;Object[_0x2054c7(0x94)](_0x1fef49)[_0x2054c7(0x92)](_0x38eb70=>{var _0x502e6e=_0x2054c7;_0x38eb70!==_0x502e6e(0xa0)&&!Object[_0x502e6e(0x91)][_0x502e6e(0x8f)][_0x502e6e(0x8a)](_0x569f9b,_0x38eb70)&&Object['defineProperty'](_0x569f9b,_0x38eb70,{'enumerable':!0x0,'get':()=>_0x1fef49[_0x38eb70]});}),Object[_0x2054c7(0x95)](_0x569f9b,Symbol[_0x2054c7(0x98)],{'value':_0x2054c7(0x97)});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x29f6(){const _0x3ac19b=['toStringTag','delete','_getDependencyTreeParenIds','_generateNewFunctionString','setRuntimeFeatureRange','getChildren','_checkColonNodeForExprTree','DEFAULT_INTERVAL_COUNT','isFeatureAuthorizedWithinTime','\x22\x20is\x20duplicated.','type','bulkSearch','inRangeData','LexerNode','isForceCalculate','FormulaExecuteStageType','max','refTree','addFeatureFormulaDependency','join','treeId','ICalculateFormulaService','subUnitId','removeFormulaDependencyByDefinedName','_getTableNameFromStructuredRef','CalculateFormulaService','_endFormulaDependencyTreeModel','refOffsetX','_initializeWithOverride','call','getAllRuntimeData','_injector','_xlpmPrefix','LS_CONFIG_KEY','_removeDependencyRTreeCache','_configService','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','resolve','getFormulaDependency','default','/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH(\x27-\x27);ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z\x27Wb1zdwbz1\x27Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z\x27Wb1zdwbz1\x27Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z\x27Wb1zdwbz1\x27;ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr(\x27*.\x27))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr(\x27.\x27)Z&&ZrRmH.zb1m2wHr(\x27.\x27Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z\x27fRNCfrRmH\x27)Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}','endsWith','realDeleteValue','removeOtherFormulaDependency','_xlfnPrefix','parseInt','error','string','rangeList','toUpperCase','min','1330600elcujV','getStartIndex','_handleNewFunctionChild','markedAsStopFunctionsExecuted','_getUpdateTreeListAndMakeDependency','_addAllTreeMap','prefixToken','_definedNameMap','_interpreter','NEW_EXCEL_FUNCTIONS','notExecuteFormula','_lexer','_getTreeById','_allTreeMap','UniverProEngineFormula','_otherFormulaData','isStopExecution','_traverse','_config','_resetPrefix','_getFeatureFormulaTree','UniverProLicense','_runtimeService','searchDependency','isAdded','matchToken','LexerTreeProBuilder','enableCycleDependency','setCurrent','_clearFunctionString','_getDependencyTreeChildrenIds','_getTreeNode','column','getFeatureFormulaDependency','rowCount','16vGPIVZ','getToken','length','_getCurNodeTypeForExprTree','_isCyclicUtilMap','FormulaDependencyGenerator','ErrorType','_currentConfigService','unitId','isExcludeRange','_clearPrefix','getOtherFormulaData','MINUS','clear','closeKdTree','row','_initLicenseValid','getFormulaExprTree','getOtherFormulaDependency','getUnitData','_dependencyRTreeCache','_restDependencyTreeId','add','removeFormulaDependency','setRuntimeFeatureCellData','openKdTree','set','DEFAULT_TOKEN_TYPE_ROOT','UniverFormulaEnginePlugin','_removeDependencyRTreeCacheById','_hasNewExcelFunction','slice','isVirtual','Lambda\x20parameter\x20name\x20\x22','isSkip','_lambdaFunctionParameterSet','_createFDtree','_calculateRunList','UniverProFormulaEnginePlugin','_executionCompleteListener$','reset','setCompletedFormulasCount','_dependencyRTreeCacheForAddressFunction','generateAstNode','isCache','getConfig','refOffsetY','getDirtyNameMap','forValue','formulaId','isDirty','_dependencyTreeCache','addFormulaDependency','_handleTextNodeForExprTree','getSheetFeatureLimit','bulkRemove','414572nkASbT','addFormulaDependencyByDefinedName','setFormulaExecuteStage','@univerjs/core','Module','_featureFormulaData','_getAllTreeList','_xlpm.','getExcludedRange','START_DEPENDENCY','startsWith','DependencyManagerBaseService','7654184taFGqK','next','isReferenceString','splitTableStructuredRef','CURRENTLY_CALCULATING_ARRAY_FORMULA','DependencyManagerService','getRuntimeState','OPERATOR_TOKEN_SET','amd','trim','clearArrayObjectCache','sheetId','resetCalculationState','from','_removeAllTreeMap','symbol','size','children','hasOwnProperty','_formulaDependencyGenerator','setValue','START_DEPENDENCY_ARRAY_FORMULA','pop','_updateRangeFlatten','addOtherFormulaDependency','_executionInProgressListener$','CURRENTLY_CALCULATING','columnCount','_dependencyManagerService','toRTreeItem','ObjectMatrix','LexerTreeBuilder','FormulaDependencyTree','forEach','3810rCDoyk','_otherFormulaManagerService','VALUE','DEFAULT_TOKEN_LET_FUNCTION_NAME','_checkAddBracketForMinus','_generateExprTree','65214tAcJZQ','2605740bXKkZo','endColumn','exports','SUFFIX_TOKEN_SET','startColumn','intervalCount','_otherFormulaDataMainData','IFormulaDependencyGenerator','FormulaDependencyTreeType','featureDirtyRanges','_handleChildrenForExprTree','_formulaData','endRow','@univerjs/engine-formula','_xlfn.','has','push','DEFAULT_TOKEN_TYPE_PARAMETER','UniverCore','setSkip','_startFormulaDependencyTreeModel','prototype','defineProperty','isArray','dependencySheetName','keys','featureId','startIndex','addOtherFormulaDependencyMainData','UniverLicensePlugin','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','removeFeatureFormulaDependency','startRow','formula','_currentUnitId','7fLEEsl','getDirtyData','get','RTree','generateRandomDependencyTreeId','UniverEngineFormula','_registerOtherFormulas','clearOtherFormulaDependency','PLUS','function','COLON','getOwnPropertyDescriptor','OTHER_FORMULA','getValue','generate','3791270KDrJvG','executeAsync','420081OroXtb','clearFeatureFormulaDependency','_checkIsCycleDependency','getClearDependencyTreeCache','_convertDirtyRangesToUnitRange','_registerFormulas','DependentOn','_getFirstCellOfRange','treeBuilder','valid','setRuntimeOtherData','START_CALCULATION_ARRAY_FORMULA','values','_handleLambdaForExprTree','dispose','FEATURE_FORMULA'];_0x29f6=function(){return _0x3ac19b;};return _0x29f6();}function _0x4722(_0x356f27,_0x4726bf){_0x356f27=_0x356f27-0x69;const _0x29f60b=_0x29f6();let _0x47226e=_0x29f60b[_0x356f27];return _0x47226e;}(function(_0x5d3cff,_0x392f77){const _0x37f6b6=_0x4722,_0x2fb517=_0x5d3cff();while(!![]){try{const _0x38cf2a=-parseInt(_0x37f6b6(0xfb))/0x1+-parseInt(_0x37f6b6(0xa0))/0x2+-parseInt(_0x37f6b6(0x164))/0x3*(parseInt(_0x37f6b6(0xc3))/0x4)+parseInt(_0x37f6b6(0x162))/0x5+-parseInt(_0x37f6b6(0x130))/0x6*(parseInt(_0x37f6b6(0x153))/0x7)+-parseInt(_0x37f6b6(0x107))/0x8+parseInt(_0x37f6b6(0x12f))/0x9*(parseInt(_0x37f6b6(0x129))/0xa);if(_0x38cf2a===_0x392f77)break;else _0x2fb517['push'](_0x2fb517['shift']());}catch(_0x11fdc3){_0x2fb517['push'](_0x2fb517['shift']());}}}(_0x29f6,0x77201),function(_0x3d8e7d,_0xda2e62){const _0x4c0b75=_0x4722;typeof exports=='object'&&typeof module<'u'?_0xda2e62(exports,require('@univerjs/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x4c0b75(0x15c)&&define[_0x4c0b75(0x10f)]?define([_0x4c0b75(0x132),_0x4c0b75(0x13d),'@univerjs-pro/license',_0x4c0b75(0xfe)],_0xda2e62):(_0x3d8e7d=typeof globalThis<'u'?globalThis:_0x3d8e7d||self,_0xda2e62(_0x3d8e7d[_0x4c0b75(0xae)]={},_0x3d8e7d[_0x4c0b75(0x158)],_0x3d8e7d[_0x4c0b75(0xb5)],_0x3d8e7d[_0x4c0b75(0x142)]));}(this,function(_0x196c4f,_0x16dfbe,_0x54c006,_0x189be3){'use strict';const _0x2f8d3e=_0x4722;var _0x1bbc8a=Object[_0x2f8d3e(0x146)],_0x1c04a3=(_0x5f42df,_0x1d3688,_0x4945d7)=>_0x1d3688 in _0x5f42df?_0x1bbc8a(_0x5f42df,_0x1d3688,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4945d7}):_0x5f42df[_0x1d3688]=_0x4945d7,_0x1f791d=(_0x34c075,_0x27866c,_0x143d15)=>_0x1c04a3(_0x34c075,typeof _0x27866c!=_0x2f8d3e(0x116)?_0x27866c+'':_0x27866c,_0x143d15);class _0x4d5974 extends _0x16dfbe[_0x2f8d3e(0x126)]{constructor(){const _0x19c1b3=_0x2f8d3e;super(...arguments),_0x1f791d(this,_0x19c1b3(0xe1),!0x1),_0x1f791d(this,_0x19c1b3(0xe6),new Set()),_0x1f791d(this,_0x19c1b3(0x8d),_0x19c1b3(0x102)),_0x1f791d(this,_0x19c1b3(0x99),_0x19c1b3(0x13e)),_0x1f791d(this,'_currentUnitId','');}[_0x2f8d3e(0xb3)](){const _0x3ef6fa=_0x2f8d3e;this['_xlpmPrefix']=_0x3ef6fa(0x102),this[_0x3ef6fa(0x99)]=_0x3ef6fa(0x13e);}[_0x2f8d3e(0xcd)](){const _0x39327e=_0x2f8d3e;this[_0x39327e(0x8d)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x5ee2d0,_0xc2a02a){const _0x5eb7d4=_0x2f8d3e,_0x4da256=this[_0x5eb7d4(0x16c)](_0x5ee2d0,!0x1);if(!_0x4da256||_0x4da256===_0x16dfbe[_0x5eb7d4(0xc9)]['VALUE']||Array[_0x5eb7d4(0x147)](_0x4da256))return null;const _0x54e2e3=[];return this[_0x5eb7d4(0xe1)]=!0x1,this[_0x5eb7d4(0x70)](_0x4da256,_0x54e2e3,_0xc2a02a),this[_0x5eb7d4(0xe1)]?'='+_0x54e2e3[_0x5eb7d4(0x80)](''):null;}[_0x2f8d3e(0x70)](_0x12df54,_0x19d164,_0x4c2c03){const _0x27f9ef=_0x2f8d3e,_0x32f36b=_0x12df54['getToken'](),_0x218052=_0x32f36b['trim'](),_0x561e24=_0x218052[_0x27f9ef(0x9e)](),_0x39f1f2=this[_0x27f9ef(0xbd)](_0x561e24),_0x441090=_0x4c2c03(_0x39f1f2);let _0x33d418=0x0;_0x32f36b===_0x16dfbe[_0x27f9ef(0xde)]?_0x33d418=0x3:_0x32f36b===_0x16dfbe[_0x27f9ef(0x141)]?_0x33d418=0x4:_0x32f36b===_0x16dfbe[_0x27f9ef(0x91)]?_0x33d418=0x5:_0x16dfbe[_0x27f9ef(0xa9)]['has'](_0x39f1f2)?(_0x19d164['push'](''+this[_0x27f9ef(0x99)]+_0x218052),this[_0x27f9ef(0xe1)]=!0x0):_0x561e24===_0x16dfbe[_0x27f9ef(0x14e)]?(_0x19d164[_0x27f9ef(0x140)](''+this[_0x27f9ef(0x99)]+_0x218052),this[_0x27f9ef(0xe1)]=!0x0,_0x33d418=0x2):_0x561e24===_0x16dfbe[_0x27f9ef(0x12c)]?(_0x19d164[_0x27f9ef(0x140)](''+this[_0x27f9ef(0x99)]+_0x218052),this['_hasNewExcelFunction']=!0x0,_0x33d418=0x1):_0x561e24===_0x16dfbe[_0x27f9ef(0xb9)]['COLON']?_0x33d418=0x8:_0x16dfbe[_0x27f9ef(0x133)][_0x27f9ef(0x13f)](_0x561e24)?_0x33d418=0x7:_0x561e24===_0x16dfbe[_0x27f9ef(0xa6)][_0x27f9ef(0xcf)]?(this['_checkAddBracketForMinus'](_0x12df54)&&(_0x33d418=0x9),_0x19d164[_0x27f9ef(0x140)](_0x32f36b)):(_0x19d164[_0x27f9ef(0x140)](_0x32f36b),_0x33d418=0xa),_0x441090?(_0x33d418!==0x2&&_0x33d418!==0x1&&(_0x33d418=0x6),_0x19d164['push']('(')):_0x33d418===0x9&&_0x19d164[_0x27f9ef(0x140)]('(');const _0x113d0a=_0x12df54[_0x27f9ef(0x72)](),_0x333f29=_0x113d0a['length'];if(_0x33d418===0x2){const _0x293210=_0x113d0a[0x0];let _0x2135f5=0x0;_0x293210 instanceof _0x16dfbe[_0x27f9ef(0x7a)]&&_0x293210[_0x27f9ef(0xc4)]()===_0x16dfbe[_0x27f9ef(0x91)]&&(_0x2135f5=0x1);for(let _0x55bd1f=_0x2135f5;_0x55bd1f<_0x333f29-0x1;_0x55bd1f++){const _0x59c62a=_0x113d0a[_0x55bd1f];if(_0x59c62a instanceof _0x16dfbe[_0x27f9ef(0x7a)]){const _0x5f4f0b=_0x59c62a['getChildren']()[0x0];typeof _0x5f4f0b==_0x27f9ef(0x9c)&&(this[_0x27f9ef(0xe6)]['has'](_0x5f4f0b)&&console[_0x27f9ef(0x9b)](_0x27f9ef(0xe4)+_0x5f4f0b+'\x22\x20is\x20duplicated.'),this[_0x27f9ef(0xe6)][_0x27f9ef(0xd9)](_0x5f4f0b),_0x19d164[_0x27f9ef(0x140)](''+this['_xlpmPrefix']+_0x5f4f0b),this[_0x27f9ef(0xe1)]=!0x0);}_0x19d164['push'](',');}this[_0x27f9ef(0xa2)](_0x113d0a[_0x333f29-0x1],_0x19d164,_0x4c2c03),_0x2135f5===0x1&&(_0x19d164[_0x27f9ef(0x140)](')'),_0x19d164[_0x27f9ef(0x140)]('('),this[_0x27f9ef(0x70)](_0x293210,_0x19d164,_0x4c2c03)),_0x19d164[_0x27f9ef(0x140)](')');return;}else{if(_0x33d418===0x1){for(let _0x29cd78=0x0;_0x29cd78<_0x333f29-0x1;_0x29cd78++){const _0x588337=_0x113d0a[_0x29cd78];if(_0x588337 instanceof _0x16dfbe[_0x27f9ef(0x7a)]&&_0x29cd78%0x2===0x0){const _0x1c53b9=_0x588337['getChildren']()[0x0];if(typeof _0x1c53b9==_0x27f9ef(0x9c)){this[_0x27f9ef(0xe6)]['has'](_0x1c53b9)&&console[_0x27f9ef(0x9b)]('Let\x20variable\x20name\x20\x22'+_0x1c53b9+_0x27f9ef(0x76)),this[_0x27f9ef(0xe6)][_0x27f9ef(0xd9)](_0x1c53b9),_0x19d164[_0x27f9ef(0x140)](''+this['_xlpmPrefix']+_0x1c53b9),this[_0x27f9ef(0xe1)]=!0x0,_0x19d164[_0x27f9ef(0x140)](',');continue;}}if(this['_handleNewFunctionChild'](_0x588337,_0x19d164,_0x4c2c03),_0x588337 instanceof _0x16dfbe[_0x27f9ef(0x7a)]){const _0x1584ce=_0x113d0a[_0x29cd78+0x1];_0x1584ce&&_0x1584ce instanceof _0x16dfbe[_0x27f9ef(0x7a)]&&_0x19d164['push'](',');}}this['_handleNewFunctionChild'](_0x113d0a[_0x333f29-0x1],_0x19d164,_0x4c2c03),_0x19d164[_0x27f9ef(0x140)](')');return;}else{if(_0x33d418===0x8){const _0x536612=_0x113d0a[0x0],_0x55b546=_0x113d0a[0x1];this[_0x27f9ef(0xa2)](_0x536612,_0x19d164,_0x4c2c03),_0x19d164['push'](_0x32f36b),this['_handleNewFunctionChild'](_0x55b546,_0x19d164,_0x4c2c03);return;}}}for(let _0x3d9a9e=0x0;_0x3d9a9e<_0x333f29;_0x3d9a9e++){const _0x2561b7=_0x113d0a[_0x3d9a9e];if(this[_0x27f9ef(0xa2)](_0x2561b7,_0x19d164,_0x4c2c03),_0x2561b7 instanceof _0x16dfbe[_0x27f9ef(0x7a)]){const _0x17ccfe=_0x113d0a[_0x3d9a9e+0x1];_0x17ccfe&&_0x17ccfe instanceof _0x16dfbe[_0x27f9ef(0x7a)]&&_0x19d164['push'](',');}}_0x33d418===0x7&&_0x19d164['push'](_0x32f36b),(_0x441090||_0x33d418===0x9)&&_0x19d164[_0x27f9ef(0x140)](')');}['_handleNewFunctionChild'](_0x5573ab,_0x1db42e,_0x25c2b4){const _0x28926d=_0x2f8d3e;_0x5573ab instanceof _0x16dfbe[_0x28926d(0x7a)]?this[_0x28926d(0x70)](_0x5573ab,_0x1db42e,_0x25c2b4):this[_0x28926d(0xe6)][_0x28926d(0x13f)](_0x5573ab)?(_0x1db42e['push'](''+this[_0x28926d(0x8d)]+_0x5573ab),this[_0x28926d(0xe1)]=!0x0):_0x1db42e[_0x28926d(0x140)](_0x5573ab);}[_0x2f8d3e(0xbd)](_0xa88ec0){const _0x523f94=_0x2f8d3e;let _0x137cea=_0xa88ec0[_0x523f94(0x110)]();if(!_0x137cea)return _0x137cea;const _0x111541=_0x137cea[0x0];if((_0x111541===_0x16dfbe['prefixToken']['AT']||_0x111541===_0x16dfbe[_0x523f94(0xa6)][_0x523f94(0xcf)]||_0x111541===_0x16dfbe[_0x523f94(0xa6)][_0x523f94(0x15b)])&&(_0x137cea=_0x137cea[_0x523f94(0xe2)](0x1)),!_0x137cea)return _0x137cea;const _0xb0ba75=_0x137cea[_0x137cea[_0x523f94(0xc5)]-0x1];return _0x16dfbe[_0x523f94(0x133)]['has'](_0xb0ba75)&&(_0x137cea=_0x137cea['slice'](0x0,-0x1)),_0x137cea;}[_0x2f8d3e(0x12d)](_0x59e35b){const _0x5790f1=_0x2f8d3e,_0x12511a=_0x59e35b[_0x5790f1(0x72)]()[0x0];if(!_0x12511a||!(_0x12511a instanceof _0x16dfbe[_0x5790f1(0x7a)])||_0x59e35b['getChildren']()[_0x5790f1(0xc5)]>0x1)return!0x1;const _0x4b95e2=_0x12511a[_0x5790f1(0x72)](),_0xba7194=_0x4b95e2['length'];if(_0xba7194===0x1)return!0x1;for(let _0x279031=0x0;_0x279031<_0xba7194;_0x279031++){const _0x2f2fd5=_0x4b95e2[_0x279031];if(!(_0x2f2fd5 instanceof _0x16dfbe['LexerNode'])&&_0x16dfbe[_0x5790f1(0x10e)]['has'](_0x2f2fd5))return!0x0;}return!0x1;}[_0x2f8d3e(0xd4)](_0x19caa9,_0x2aa18d,_0x445e8e,_0x16b3d0,_0x16694e){const _0x513846=_0x2f8d3e,_0x49dd7d=this['treeBuilder'](_0x19caa9,!0x1);if(!_0x49dd7d||_0x49dd7d===_0x16dfbe[_0x513846(0xc9)][_0x513846(0x12b)]||Array[_0x513846(0x147)](_0x49dd7d))return null;this['_clearPrefix'](),this[_0x513846(0x152)]=_0x2aa18d;const _0x1eed53=this[_0x513846(0x12e)](_0x49dd7d,_0x445e8e,_0x16b3d0,_0x16694e);return this[_0x513846(0x152)]='',this['_resetPrefix'](),_0x1eed53;}['_generateExprTree'](_0x7f07a1,_0x25aeb0,_0x30b738,_0x32b444){const _0x454c97=_0x2f8d3e,_0x3bd382={'value':'','children':[],'startIndex':0x0};let _0x2e825f=_0x7f07a1;if(_0x2e825f instanceof _0x16dfbe[_0x454c97(0x7a)]&&(_0x2e825f[_0x454c97(0xc4)]()===_0x16dfbe[_0x454c97(0xde)]||_0x2e825f['getToken']()===_0x16dfbe['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x2e825f['getChildren']()[_0x454c97(0xc5)]===0x1&&(_0x2e825f=_0x2e825f[_0x454c97(0x72)]()[0x0]),!(_0x2e825f instanceof _0x16dfbe[_0x454c97(0x7a)]))return this[_0x454c97(0xf8)](_0x2e825f,_0x30b738,_0x32b444);const _0x15e382=_0x2e825f['getChildren'](),_0x2c41e8=_0x15e382[_0x454c97(0xc5)],_0x16126d=[];this[_0x454c97(0x70)](_0x2e825f,_0x16126d,_0x25aeb0),_0x3bd382['value']=_0x16126d[_0x454c97(0x80)](''),_0x3bd382['startIndex']=_0x2e825f['getStartIndex']();const _0x72e95d=this[_0x454c97(0xc6)](_0x2e825f);if(_0x72e95d===0x2){const _0x354f0a=_0x15e382[0x0];if(_0x354f0a instanceof _0x16dfbe['LexerNode']){if(_0x354f0a[_0x454c97(0xc4)]()[_0x454c97(0x110)]()!==_0x16dfbe[_0x454c97(0x91)])return _0x3bd382;this[_0x454c97(0x6a)](_0x354f0a,_0x3bd382,_0x25aeb0,_0x30b738,_0x32b444);}return _0x3bd382;}else{if(_0x72e95d===0x1){for(let _0xb63078=0x0;_0xb63078<_0x2c41e8-0x1;_0xb63078++){const _0x1f1a92=_0x15e382[_0xb63078];if(_0x1f1a92 instanceof _0x16dfbe[_0x454c97(0x7a)]&&_0xb63078%0x2===0x1){const _0x31d670=_0x1f1a92[_0x454c97(0x72)]();if(_0x31d670[_0x454c97(0xc5)]===0x1&&!(_0x31d670[0x0]instanceof _0x16dfbe['LexerNode']))continue;const _0x151cbe=this[_0x454c97(0x12e)](_0x1f1a92,_0x25aeb0,_0x30b738,_0x32b444);_0x151cbe&&_0x3bd382[_0x454c97(0x118)][_0x454c97(0x140)](_0x151cbe);}}return _0x3bd382;}else{if(_0x72e95d===0x8){const _0x7f0aa9=_0x15e382[0x0];if(_0x7f0aa9 instanceof _0x16dfbe['LexerNode']){const _0x3e6409=_0x7f0aa9[_0x454c97(0x72)]()[0x0];_0x3e6409 instanceof _0x16dfbe[_0x454c97(0x7a)]&&(_0x3bd382[_0x454c97(0x14b)]=_0x3e6409[_0x454c97(0xa1)]());}if(this[_0x454c97(0x73)](_0x2e825f))return _0x3bd382;}else{if(_0x72e95d===0x7){const _0x3f53b5=_0x15e382[0x0];if(_0x3f53b5 instanceof _0x16dfbe[_0x454c97(0x7a)]){const _0x5b25b4=_0x3f53b5[_0x454c97(0x72)]()[0x0];_0x5b25b4 instanceof _0x16dfbe[_0x454c97(0x7a)]&&(_0x3bd382[_0x454c97(0x14b)]=_0x5b25b4[_0x454c97(0xa1)]());}}}}}return this['_handleChildrenForExprTree'](_0x15e382,_0x72e95d,_0x3bd382,_0x25aeb0,_0x30b738,_0x32b444),_0x3bd382;}[_0x2f8d3e(0x13a)](_0x4e4744,_0x3ca1dc,_0x2f3a8e,_0x577add,_0x22fa9e,_0x1b5ba1){const _0x1c3874=_0x2f8d3e;for(let _0x4a3834=0x0;_0x4a3834<_0x4e4744[_0x1c3874(0xc5)];_0x4a3834++){let _0x5f099c=_0x4e4744[_0x4a3834];if(!(_0x5f099c instanceof _0x16dfbe['LexerNode'])){const _0x1f3c6d=this['_handleTextNodeForExprTree'](_0x5f099c,_0x22fa9e,_0x1b5ba1);_0x1f3c6d&&_0x2f3a8e['children'][_0x1c3874(0x140)](_0x1f3c6d);continue;}const _0x1c7732=_0x5f099c[_0x1c3874(0x72)]();if(_0x1c7732[_0x1c3874(0xc5)]===0x1&&!(_0x1c7732[0x0]instanceof _0x16dfbe[_0x1c3874(0x7a)])){const _0x4d5828=_0x1c7732[0x0];if(!_0x22fa9e(this[_0x1c3874(0x152)],_0x4d5828)&&!this[_0x1c3874(0x85)](_0x4d5828,_0x1b5ba1)&&!_0x16dfbe[_0x1c3874(0x109)](_0x4d5828))continue;}if(_0x3ca1dc===0x8){const _0x49df10=_0x1c7732[0x0];if(_0x49df10 instanceof _0x16dfbe[_0x1c3874(0x7a)]){const _0x4c71b3=_0x49df10[_0x1c3874(0xc4)]()[_0x1c3874(0x110)]();if(_0x16dfbe[_0x1c3874(0x109)](_0x4c71b3))continue;_0x5f099c=_0x49df10;}}const _0x477cca=this['_generateExprTree'](_0x5f099c,_0x577add,_0x22fa9e,_0x1b5ba1);_0x477cca&&_0x2f3a8e[_0x1c3874(0x118)]['push'](_0x477cca);}}[_0x2f8d3e(0x73)](_0x311072){const _0x599678=_0x2f8d3e,_0x1883dd=_0x311072[_0x599678(0x72)]();if(_0x1883dd['length']<0x2)return!0x1;const _0x1426bf=_0x1883dd[0x0],_0x282ba3=_0x1883dd[0x1];if(!(_0x1426bf instanceof _0x16dfbe['LexerNode'])||!(_0x282ba3 instanceof _0x16dfbe[_0x599678(0x7a)]))return!0x1;const _0x345da3=_0x1426bf[_0x599678(0x72)]()[0x0],_0x74f551=_0x282ba3['getChildren']()[0x0];if(!(_0x345da3 instanceof _0x16dfbe['LexerNode'])||!(_0x74f551 instanceof _0x16dfbe[_0x599678(0x7a)]))return!0x1;const _0x3d5b97=_0x345da3[_0x599678(0xc4)]()[_0x599678(0x110)](),_0x4aaacc=_0x74f551[_0x599678(0xc4)]()[_0x599678(0x110)]();return!!_0x16dfbe[_0x599678(0x109)](''+_0x3d5b97+_0x16dfbe[_0x599678(0xb9)][_0x599678(0x15d)]+_0x4aaacc);}['_handleTextNodeForExprTree'](_0x66c7b5,_0x51a422,_0x3d383a){const _0x3ac677=_0x2f8d3e,_0x4a3137=_0x66c7b5[_0x3ac677(0x110)]();return _0x4a3137[_0x3ac677(0x105)]('{')&&_0x4a3137[_0x3ac677(0x96)]('}')||_0x51a422(this[_0x3ac677(0x152)],_0x4a3137)||this['_getTableNameFromStructuredRef'](_0x4a3137,_0x3d383a)||_0x16dfbe[_0x3ac677(0x109)](_0x4a3137)?{'value':_0x4a3137,'children':[],'startIndex':-0x1}:null;}[_0x2f8d3e(0x85)](_0x5cc4ed,_0xa822ac){const _0xbc6feb=_0x2f8d3e,{tableName:_0x530f0d}=_0x16dfbe[_0xbc6feb(0x10a)](_0x5cc4ed);return _0xa822ac(this[_0xbc6feb(0x152)],_0x530f0d)?_0x530f0d:null;}[_0x2f8d3e(0x6a)](_0x3807c4,_0x100031,_0xda57f7,_0x9f6d0f,_0x85a900){const _0xcf3ef4=_0x2f8d3e,_0x3a14b2=_0x3807c4[_0xcf3ef4(0x72)]();for(let _0x2726d0=0x0;_0x2726d0<_0x3a14b2[_0xcf3ef4(0xc5)];_0x2726d0++){const _0x142c27=_0x3a14b2[_0x2726d0];if(!(_0x142c27 instanceof _0x16dfbe[_0xcf3ef4(0x7a)]))continue;const _0x10753d=_0x142c27['getChildren']();if(_0x10753d[_0xcf3ef4(0xc5)]===0x1&&!(_0x10753d[0x0]instanceof _0x16dfbe[_0xcf3ef4(0x7a)]))continue;const _0x243cae=this[_0xcf3ef4(0x12e)](_0x142c27,_0xda57f7,_0x9f6d0f,_0x85a900);_0x243cae&&_0x100031[_0xcf3ef4(0x118)][_0xcf3ef4(0x140)](_0x243cae);}}['_getCurNodeTypeForExprTree'](_0x429c9c){const _0x5f452a=_0x2f8d3e,_0x1c571a=_0x429c9c['getToken'](),_0x29d292=_0x1c571a[_0x5f452a(0x110)]()[_0x5f452a(0x9e)]();let _0x35f503=0x0;return _0x1c571a===_0x16dfbe[_0x5f452a(0xde)]?_0x35f503=0x3:_0x1c571a===_0x16dfbe[_0x5f452a(0x141)]?_0x35f503=0x4:_0x1c571a===_0x16dfbe[_0x5f452a(0x91)]?_0x35f503=0x5:_0x29d292===_0x16dfbe[_0x5f452a(0x14e)]?_0x35f503=0x2:_0x29d292===_0x16dfbe[_0x5f452a(0x12c)]?_0x35f503=0x1:_0x29d292===_0x16dfbe[_0x5f452a(0xb9)]['COLON']?_0x35f503=0x8:_0x16dfbe[_0x5f452a(0x133)]['has'](_0x29d292)?_0x35f503=0x7:_0x29d292===_0x16dfbe[_0x5f452a(0xa6)][_0x5f452a(0xcf)]?this[_0x5f452a(0x12d)](_0x429c9c)&&(_0x35f503=0x9):_0x35f503=0xa,_0x35f503;}}const _0x24f8e8={0x0:'S',0x1:'d',0x2:'W',0x3:'T',0x4:'2',0x5:'G',0x6:'z',0x7:'x',0x8:'Y',0x9:'V','g':'0','l':'1','c':'3','E':'4','k':'5','q':'6','T':'7','j':'8','y':'9','C':'a','o':'b','N':'c','z':'e','d':'f','J':'g','r':'h','w':'i','v':'j','S':'k','f':'l','B':'m','b':'n','R':'o','a':'p','G':'q','K':'r','m':'s','H':'t','W':'u','A':'v','L':'w','h':'y','p':'A','e':'B','X':'C','I':'D','n':'E','\x20':'F','x':'H','M':'I','P':'J','F':'K','s':'L','U':'M','u':'N','t':'O','D':'P','Y':'Q','O':'R','V':'U','i':'X','Q':'Z','Z':'\x20'},_0x494df9=_0x2f8d3e(0x95);class _0x3c576b extends _0x16dfbe[_0x2f8d3e(0xc8)]{constructor(){super(...arguments),_0x1f791d(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x33600a=_0x2f8d3e;super[_0x33600a(0x6b)](),this['_dependencyTreeCache'][_0x33600a(0xd0)]();}async[_0x2f8d3e(0x161)](_0x3fbd61=!0x1){const _0x47e724=_0x2f8d3e;this[_0x47e724(0x11e)]();const _0x1a6bb4=this[_0x47e724(0xca)]['getFormulaData'](),_0x3e90f6=this[_0x47e724(0x12a)][_0x47e724(0xce)](),_0x5bcfc7=this['_currentConfigService'][_0x47e724(0x167)]();_0x5bcfc7!=null&&Object['keys'](_0x5bcfc7)[_0x47e724(0x128)](_0x1a90c6=>{const _0x114d18=_0x47e724;_0x1a90c6!=null&&Object[_0x114d18(0x149)](_0x5bcfc7[_0x1a90c6])['forEach'](_0x1baf05=>{const _0x54d1e4=_0x114d18;_0x1baf05!=null&&(this[_0x54d1e4(0x123)][_0x54d1e4(0x15a)](_0x1a90c6,_0x1baf05),this[_0x54d1e4(0x123)]['clearFeatureFormulaDependency'](_0x1a90c6,_0x1baf05),this[_0x54d1e4(0x123)]['clearFormulaDependency'](_0x1a90c6,_0x1baf05));});});const _0x2ac33d=this[_0x47e724(0xca)][_0x47e724(0xd6)]();await this['_generateTreeList'](_0x1a6bb4,_0x3e90f6,_0x2ac33d),this[_0x47e724(0x123)][_0x47e724(0xdc)]();const _0x122028=this[_0x47e724(0xa4)](),_0x418d32=this[_0x47e724(0xe8)](_0x122028);return this[_0x47e724(0x166)](_0x418d32)&&this[_0x47e724(0xb6)][_0x47e724(0xbb)](),_0x3fbd61&&this['_runtimeService']['setDependencyTreeModelData'](this['_getAllDependencyJson'](Array['from'](this[_0x47e724(0xf6)][_0x47e724(0x69)]()))),this[_0x47e724(0xf6)][_0x47e724(0xd0)](),this[_0x47e724(0xed)]['clear'](),this[_0x47e724(0x123)][_0x47e724(0xd1)](),this[_0x47e724(0xb6)][_0x47e724(0x111)](),Promise[_0x47e724(0x92)](_0x418d32);}[_0x2f8d3e(0xc7)](_0xbdb817,_0x430400){const _0x27d9f6=_0x2f8d3e,_0x5cf528=[_0xbdb817];for(;_0x5cf528[_0x27d9f6(0xc5)]>0x0;){const _0x40b48c=_0x5cf528[_0x5cf528[_0x27d9f6(0xc5)]-0x1];if((_0x430400[_0x27d9f6(0x155)](_0x40b48c)||0x0)===0x0){_0x430400['set'](_0x40b48c,0x1);const _0x5cb376=this[_0x27d9f6(0xf6)]['get'](_0x40b48c);if(_0x5cb376==null){_0x430400['set'](_0x40b48c,0x2),_0x5cf528['pop']();continue;}const _0x2ab179=this[_0x27d9f6(0x123)]['searchDependency'](_0x5cb376['toRTreeItem']());for(const _0x18f2f8 of _0x2ab179){const _0x395dc2=_0x430400[_0x27d9f6(0x155)](_0x18f2f8)||0x0;if(_0x395dc2===0x1)return!0x0;_0x395dc2===0x0&&_0x5cf528['push'](_0x18f2f8);}}else _0x430400[_0x27d9f6(0xdd)](_0x40b48c,0x2),_0x5cf528['pop']();}return!0x1;}[_0x2f8d3e(0x166)](_0x2b7dad){const _0x2f26fa=_0x2f8d3e,_0x1ec8be=new Map();for(const _0x21f88c of _0x2b7dad)if(!_0x1ec8be[_0x2f26fa(0x13f)](_0x21f88c[_0x2f26fa(0x81)])&&this[_0x2f26fa(0xc7)](_0x21f88c['treeId'],_0x1ec8be))return!0x0;return _0x1ec8be['clear'](),!0x1;}[_0x2f8d3e(0xb4)](_0x2bb82d,_0x1ade23,_0x49f51d){const _0x383a9d=_0x2f8d3e,{unitId:_0x4817bf,subUnitId:_0x25490a,dependencyRanges:_0x5eebcf,getDirtyData:_0x1c9a3d}=_0x49f51d,_0x32178a=_0x1ade23||_0x16dfbe[_0x383a9d(0x157)](this[_0x383a9d(0x123)]),_0x30566c=new _0x16dfbe[(_0x383a9d(0x127))](_0x32178a);_0x30566c[_0x383a9d(0xcb)]=_0x4817bf,_0x30566c[_0x383a9d(0x83)]=_0x25490a,_0x30566c[_0x383a9d(0x9d)]=_0x5eebcf,_0x30566c[_0x383a9d(0x154)]=_0x1c9a3d;const _0x30dcd7=_0x1c9a3d(this[_0x383a9d(0xca)][_0x383a9d(0x154)](),this[_0x383a9d(0xb6)][_0x383a9d(0x8b)]()),_0x1c60a8=this[_0x383a9d(0x168)](_0x30dcd7['dirtyRanges']);return _0x30566c[_0x383a9d(0x139)]=_0x1c60a8,_0x30566c[_0x383a9d(0x14a)]=_0x2bb82d,_0x30566c[_0x383a9d(0x77)]=_0x16dfbe[_0x383a9d(0x138)][_0x383a9d(0x6c)],this['_dependencyManagerService'][_0x383a9d(0x7f)](_0x4817bf,_0x25490a,_0x2bb82d,_0x30566c),this[_0x383a9d(0xf6)][_0x383a9d(0xdd)](_0x30566c[_0x383a9d(0x81)],_0x30566c),this[_0x383a9d(0x123)][_0x383a9d(0xc1)](_0x49f51d[_0x383a9d(0xcb)],_0x49f51d['subUnitId'],_0x2bb82d)&&(_0x30566c[_0x383a9d(0xef)]=!0x0),_0x30566c;}[_0x2f8d3e(0x159)](_0x39ba9e,_0x488c46,_0x2e1eeb){const _0x54b667=_0x2f8d3e;var _0x7f0609;for(const _0x54a5f8 of _0x488c46){const _0x6a0e5e=_0x39ba9e[_0x54a5f8];if(_0x6a0e5e==null)continue;const _0x537d0c=Object['keys'](_0x6a0e5e);for(const _0x3e4513 of _0x537d0c){const _0x1d66bd=_0x6a0e5e[_0x3e4513];if(_0x1d66bd==null)continue;const _0x48c1dc=Object[_0x54b667(0x149)](_0x1d66bd);for(const _0x14ba69 of _0x48c1dc){const _0x13b1e2=this[_0x54b667(0x123)]['hasOtherFormulaDataMainData'](_0x14ba69),_0x2a3e81=_0x1d66bd[_0x14ba69],{f:_0x1a473a,ranges:_0x4cf78a}=_0x2a3e81;let _0x5cc0dc=!0x1;_0x13b1e2&&(_0x5cc0dc=!0x0);const {firstRow:_0x383603,firstColumn:_0x143a9d}=this[_0x54b667(0x16b)](_0x4cf78a),_0x532dc4=this['_dependencyManagerService'][_0x54b667(0xd5)](_0x54a5f8,_0x3e4513,_0x14ba69),_0x474d8b=(_0x7f0609=_0x532dc4==null?void 0x0:_0x532dc4[_0x54b667(0x160)](0x0,0x0))!=null?_0x7f0609:_0x16dfbe[_0x54b667(0x157)](this[_0x54b667(0x123)]),_0x1196dc=new _0x16dfbe[(_0x54b667(0x127))](_0x474d8b);for(let _0x395fe3=0x0;_0x395fe3<_0x4cf78a[_0x54b667(0xc5)];_0x395fe3++){const _0x14e7bd=_0x4cf78a[_0x395fe3],{startRow:_0x5f29e5,startColumn:_0x1936ac,endRow:_0x35b9d0,endColumn:_0x513de8}=_0x14e7bd;for(let _0x4b2280=_0x5f29e5;_0x4b2280<=_0x35b9d0;_0x4b2280++)for(let _0x29acad=_0x1936ac;_0x29acad<=_0x513de8;_0x29acad++){const _0x2e51ac=_0x29acad-_0x143a9d,_0x426d4b=_0x4b2280-_0x383603;if(_0x2e51ac===0x0&&_0x426d4b===0x0){_0x1196dc[_0x54b667(0x151)]=_0x1a473a,_0x1196dc[_0x54b667(0xcb)]=_0x54a5f8,_0x1196dc[_0x54b667(0x83)]=_0x3e4513,_0x1196dc[_0x54b667(0xf4)]=_0x14ba69,_0x1196dc[_0x54b667(0x77)]=_0x16dfbe[_0x54b667(0x138)][_0x54b667(0x15f)],_0x1196dc[_0x54b667(0xef)]=_0x5cc0dc,_0x2e1eeb[_0x54b667(0x140)](_0x1196dc),this[_0x54b667(0xf6)][_0x54b667(0xdd)](_0x1196dc[_0x54b667(0x81)],_0x1196dc),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x54a5f8,_0x3e4513,_0x14ba69,_0x1196dc),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1196dc);continue;}const _0x5e273e=new _0x16dfbe['FormulaDependencyTreeVirtual']();_0x5e273e[_0x54b667(0x81)]=(_0x532dc4==null?void 0x0:_0x532dc4[_0x54b667(0x160)](_0x2e51ac,_0x426d4b))||_0x16dfbe[_0x54b667(0x157)](this[_0x54b667(0x123)]),_0x5e273e[_0x54b667(0x7e)]=_0x1196dc,_0x5e273e[_0x54b667(0x88)]=_0x2e51ac,_0x5e273e[_0x54b667(0xf1)]=_0x426d4b,_0x5e273e[_0x54b667(0xef)]=_0x5cc0dc,_0x5e273e[_0x54b667(0x77)]=_0x16dfbe['FormulaDependencyTreeType']['OTHER_FORMULA'],this[_0x54b667(0x123)][_0x54b667(0x11f)](_0x54a5f8,_0x3e4513,_0x14ba69,_0x5e273e),this[_0x54b667(0x123)]['addFormulaDependencyByDefinedName'](_0x5e273e),_0x2e1eeb['push'](_0x5e273e),this[_0x54b667(0xf6)][_0x54b667(0xdd)](_0x5e273e[_0x54b667(0x81)],_0x5e273e);}}this[_0x54b667(0x123)][_0x54b667(0x14c)](_0x14ba69);}}}}[_0x2f8d3e(0x169)](_0x1eb04f,_0x5e2f56,_0x2783ff,_0x9b930f){const _0x539cb2=_0x2f8d3e;for(const _0x2cdacd of _0x1eb04f){const _0x42105d=_0x5e2f56[_0x2cdacd];if(_0x42105d==null)continue;const _0x23c260=Object['keys'](_0x42105d);for(const _0x2b2fc1 of _0x23c260){const _0x184314=new _0x189be3[(_0x539cb2(0x125))](_0x42105d[_0x2b2fc1]||{}),_0x2e7b2b=new Map();_0x184314['forValue']((_0x359b07,_0x56a403,_0x539781)=>{const _0x4b2937=_0x539cb2;if(_0x539781==null)return!0x0;const {x:_0x99286d=0x0,y:_0x5aac97=0x0,si:_0x1c235e}=_0x539781;if(!(_0x99286d===0x0&&_0x5aac97===0x0&&_0x1c235e!=null))return!0x0;const _0x47e47a=this[_0x4b2937(0xe7)](_0x2cdacd,_0x2b2fc1,_0x359b07,_0x56a403,_0x2783ff,_0x539781),_0x3153bc=this['_dependencyManagerService'][_0x4b2937(0x93)](_0x2cdacd,_0x2b2fc1,_0x359b07,_0x56a403);_0x3153bc!=null?_0x47e47a['treeId']=_0x3153bc:(this['_dependencyManagerService'][_0x4b2937(0xf7)](_0x2cdacd,_0x2b2fc1,_0x359b07,_0x56a403,_0x47e47a),this[_0x4b2937(0x123)][_0x4b2937(0xfc)](_0x47e47a)),_0x2e7b2b['set'](_0x1c235e,_0x47e47a),_0x9b930f['push'](_0x47e47a),this[_0x4b2937(0xf6)][_0x4b2937(0xdd)](_0x47e47a[_0x4b2937(0x81)],_0x47e47a);}),_0x184314[_0x539cb2(0xf3)]((_0x59ea9f,_0x134b4e,_0x295a2b)=>{const _0x593fd8=_0x539cb2;if(_0x295a2b==null)return!0x0;const {x:_0x2464fb=0x0,y:_0x170e06=0x0,si:_0x2d4dcd}=_0x295a2b;if(_0x2464fb===0x0&&_0x170e06===0x0&&_0x2d4dcd!=null)return!0x0;let _0x477ca0;if(_0x2d4dcd&&_0x2e7b2b[_0x593fd8(0x13f)](_0x2d4dcd)){const _0x42d0c4=_0x2e7b2b[_0x593fd8(0x155)](_0x2d4dcd);_0x477ca0=this['_createVirtualFDtree'](_0x42d0c4,_0x295a2b);}else _0x477ca0=this[_0x593fd8(0xe7)](_0x2cdacd,_0x2b2fc1,_0x59ea9f,_0x134b4e,_0x2783ff,_0x295a2b);const _0xdf63dd=this[_0x593fd8(0x123)][_0x593fd8(0x93)](_0x2cdacd,_0x2b2fc1,_0x59ea9f,_0x134b4e);_0xdf63dd!=null?_0x477ca0['treeId']=_0xdf63dd:(this['_dependencyManagerService'][_0x593fd8(0xf7)](_0x2cdacd,_0x2b2fc1,_0x59ea9f,_0x134b4e,_0x477ca0),this[_0x593fd8(0x123)][_0x593fd8(0xfc)](_0x477ca0)),_0x9b930f[_0x593fd8(0x140)](_0x477ca0),this[_0x593fd8(0xf6)]['set'](_0x477ca0[_0x593fd8(0x81)],_0x477ca0);}),_0x2e7b2b[_0x539cb2(0xd0)]();}}}['_createFDtree'](_0x20e4db,_0x2229bb,_0x6e2d8f,_0x848d7a,_0x4b2ba3,_0x542089){const _0x312c4d=_0x2f8d3e,{f:_0x53eb54,x:_0x1016db=0x0,y:_0x12098c=0x0}=_0x542089,_0x2b337c=new _0x16dfbe[(_0x312c4d(0x127))](_0x16dfbe[_0x312c4d(0x157)](this[_0x312c4d(0x123)])),_0x4e459f=_0x4b2ba3[_0x20e4db][_0x2229bb];return _0x2b337c[_0x312c4d(0x151)]=_0x53eb54,_0x2b337c[_0x312c4d(0xcb)]=_0x20e4db,_0x2b337c[_0x312c4d(0x83)]=_0x2229bb,_0x2b337c[_0x312c4d(0xd2)]=_0x6e2d8f,_0x2b337c[_0x312c4d(0xc0)]=_0x848d7a,_0x2b337c[_0x312c4d(0xc2)]=_0x4e459f[_0x312c4d(0xc2)],_0x2b337c[_0x312c4d(0x122)]=_0x4e459f[_0x312c4d(0x122)],_0x2b337c;}[_0x2f8d3e(0xa4)](){const _0xda8844=_0x2f8d3e,_0x346af=[],_0x481632=new Set(),_0x41474e=this[_0xda8844(0xca)][_0xda8844(0x7b)](),_0x5b94a7=this['_currentConfigService']['getDirtyRanges'](),_0x3c518b=this[_0xda8844(0x123)]['searchDependency'](_0x5b94a7),_0x574877=this[_0xda8844(0xed)][_0xda8844(0x78)](_0x5b94a7);for(const _0x19bd28 of _0x574877)_0x3c518b[_0xda8844(0xd9)](_0x19bd28);for(const [_0x52f96c,_0x219544]of this['_dependencyTreeCache'])(_0x41474e||_0x219544[_0xda8844(0xf5)]||_0x219544[_0xda8844(0x148)](this['_currentConfigService'][_0xda8844(0xf2)]())||_0x3c518b['has'](_0x52f96c)&&!_0x219544[_0xda8844(0xcc)](this[_0xda8844(0xca)][_0xda8844(0x103)]()))&&!_0x481632[_0xda8844(0x13f)](_0x52f96c)&&(_0x346af[_0xda8844(0x140)](_0x219544),_0x481632[_0xda8844(0xd9)](_0x52f96c));for(const [_0x190ce5,_0x5aabea]of this[_0xda8844(0xf6)])_0x5aabea[_0xda8844(0xe3)]||(_0x5aabea['rangeList']['length']=0x0);return _0x346af;}[_0x2f8d3e(0xac)](_0x416e81){const _0xaf44ab=_0x2f8d3e;return this[_0xaf44ab(0xf6)]['get'](_0x416e81);}[_0x2f8d3e(0xbf)](_0x35d4fd){const _0x213a42=_0x2f8d3e;return _0x16dfbe[_0x213a42(0xee)](_0x35d4fd[_0x213a42(0xcb)],_0x35d4fd[_0x213a42(0x151)],this['_lexer'],this['_astTreeBuilder'],this[_0x213a42(0xca)]);}*[_0x2f8d3e(0xb1)](_0x25fe19,_0x27837b){const _0x146c20=_0x2f8d3e,_0x1de4e2=_0x25fe19,_0x3a2fd4=new Set();for(;_0x1de4e2[_0x146c20(0xc5)]>0x0;){const _0x2dbcd4=_0x1de4e2[_0x146c20(0x11d)]();if(_0x3a2fd4[_0x146c20(0xd0)](),_0x2dbcd4===void 0x0||_0x2dbcd4[_0x146c20(0xe5)]())continue;if(_0x2dbcd4[_0x146c20(0xb8)]()){yield _0x2dbcd4,_0x2dbcd4[_0x146c20(0x143)](),_0x27837b['add'](_0x2dbcd4[_0x146c20(0x81)]);continue;}const _0x1b1f95=this[_0x146c20(0x123)][_0x146c20(0xb7)](_0x2dbcd4[_0x146c20(0x124)](),_0x27837b),_0x425449=this[_0x146c20(0xed)][_0x146c20(0x78)](_0x2dbcd4[_0x146c20(0x124)](),_0x27837b);for(const _0x117ca7 of _0x425449)_0x1b1f95[_0x146c20(0xd9)](_0x117ca7);for(const _0x488be3 of _0x1b1f95){const _0x5042d1=this[_0x146c20(0xf6)][_0x146c20(0x155)](_0x488be3);if(!_0x5042d1){console[_0x146c20(0x9b)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x488be3);continue;}_0x5042d1['isAdded']()||_0x2dbcd4['isSkip']()||_0x3a2fd4['add'](_0x5042d1);}if(_0x1b1f95[_0x146c20(0xd0)](),_0x3a2fd4['size']===0x0)yield _0x2dbcd4,_0x2dbcd4[_0x146c20(0x143)](),_0x27837b['add'](_0x2dbcd4[_0x146c20(0x81)]);else{_0x2dbcd4['setAdded'](),_0x1de4e2['push'](_0x2dbcd4);for(const _0x525910 of _0x3a2fd4)_0x1de4e2[_0x146c20(0x140)](_0x525910);}}_0x1de4e2['length']=0x0,_0x3a2fd4[_0x146c20(0xd0)]();}[_0x2f8d3e(0xe8)](_0x594ba5){const _0x3c972b=_0x2f8d3e,_0x5432ed=[],_0x2cf0ef=new Set();for(const _0x1a77ef of this[_0x3c972b(0xb1)](_0x594ba5,_0x2cf0ef))_0x5432ed['push'](_0x1a77ef);return _0x5432ed;}async[_0x2f8d3e(0x101)](){const _0x269f88=_0x2f8d3e;return await this['_initializeGenerateTreeList'](),Array[_0x269f88(0x114)](this[_0x269f88(0xf6)][_0x269f88(0x69)]());}[_0x2f8d3e(0x6f)](_0x15230d){const _0x250159=_0x2f8d3e;return this['_dependencyManagerService'][_0x250159(0xb7)](_0x15230d[_0x250159(0x124)]());}[_0x2f8d3e(0xbe)](_0x2a6c53){const _0x390c0e=_0x2f8d3e,_0x44628c=new Set(),_0x9f61f3=_0x2a6c53[_0x390c0e(0x9d)];for(const [_0x59983f,_0x1bc204]of this[_0x390c0e(0xf6)])for(const _0x389669 of _0x9f61f3){const _0x31ec78=_0x389669[_0x390c0e(0xcb)],_0x38f74e=_0x389669[_0x390c0e(0x112)];if(_0x1bc204[_0x390c0e(0xcb)]!==_0x31ec78||_0x1bc204[_0x390c0e(0x83)]!==_0x38f74e)continue;const _0x243f1e=_0x389669['range'];if(_0x1bc204[_0x390c0e(0x79)](_0x243f1e)){_0x44628c[_0x390c0e(0xd9)](_0x59983f);break;}}return _0x44628c;}[_0x2f8d3e(0x144)](){this['_dependencyManagerService']['openKdTree']();}[_0x2f8d3e(0x87)](){const _0x419633=_0x2f8d3e;this['_formulaDependencyTreeModel'][_0x419633(0xd0)](),this['_dependencyTreeCache']['clear'](),this[_0x419633(0x123)][_0x419633(0xd1)]();}}class _0x21c7c4 extends _0x16dfbe[_0x2f8d3e(0x86)]{async['_apply'](_0x371342=!0x1){const _0x1667e5=_0x2f8d3e;_0x371342?this[_0x1667e5(0xb6)][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)][_0x1667e5(0x11c)]):this[_0x1667e5(0xb6)][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)][_0x1667e5(0x104)]),this[_0x1667e5(0x120)][_0x1667e5(0x108)](this[_0x1667e5(0xb6)][_0x1667e5(0x10d)]());const _0x1fad2e=await this[_0x1667e5(0x11a)]['generate'](this['_isCalculateTreeModel']),_0x5ed3c7=this[_0x1667e5(0xa8)];_0x371342?(this[_0x1667e5(0xb6)][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)][_0x1667e5(0x16f)]),this[_0x1667e5(0xb6)]['setTotalArrayFormulasToCalculate'](_0x1fad2e[_0x1667e5(0xc5)])):(this[_0x1667e5(0xb6)][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)]['START_CALCULATION']),this[_0x1667e5(0xb6)]['setTotalFormulasToCalculate'](_0x1fad2e[_0x1667e5(0xc5)])),this[_0x1667e5(0x120)][_0x1667e5(0x108)](this['_runtimeService'][_0x1667e5(0x10d)]());let _0x1be120=[];const _0x47528d=this[_0x1667e5(0x90)][_0x1667e5(0xf0)](_0x16dfbe['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x41da13=(_0x47528d==null?void 0x0:_0x47528d[_0x1667e5(0x135)])||_0x16dfbe[_0x1667e5(0x74)];let _0x5ba90d=0x0;const _0x2d7de5=_0x1fad2e[_0x1667e5(0xc5)];for(;_0x1fad2e[_0x1667e5(0xc5)]>0x0;){const _0xf38ae=_0x1fad2e[_0x1667e5(0x11d)](),_0x14d2be=_0x16dfbe[_0x1667e5(0xee)](_0xf38ae[_0x1667e5(0xcb)],_0xf38ae[_0x1667e5(0x151)],this[_0x1667e5(0xab)],this['_astTreeBuilder'],this[_0x1667e5(0xca)]),_0x17bb61={'node':_0x14d2be,'refOffsetX':_0xf38ae[_0x1667e5(0x88)],'refOffsetY':_0xf38ae[_0x1667e5(0xf1)]},_0x3a2b09=_0xf38ae[_0x1667e5(0x154)];if(_0x5ba90d%_0x41da13===0x0&&(await new Promise(_0x2f4119=>{const _0x481276=_0x1667e5,_0x42e9ae=_0x189be3['requestImmediateMacroTask'](_0x2f4119);_0x1be120[_0x481276(0x140)](_0x42e9ae);}),_0x371342?(this['_runtimeService'][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)][_0x1667e5(0x10b)]),this[_0x1667e5(0xb6)]['setCompletedArrayFormulasCount'](_0x5ba90d+0x1)):(this[_0x1667e5(0xb6)][_0x1667e5(0xfd)](_0x16dfbe[_0x1667e5(0x7c)][_0x1667e5(0x121)]),this[_0x1667e5(0xb6)][_0x1667e5(0xec)](_0x5ba90d+0x1)),this[_0x1667e5(0x120)][_0x1667e5(0x108)](this['_runtimeService'][_0x1667e5(0x10d)]()),this[_0x1667e5(0xb6)][_0x1667e5(0xb0)]()||_0x17bb61==null&&_0x3a2b09==null)){this['_runtimeService'][_0x1667e5(0xfd)](_0x16dfbe['FormulaExecuteStageType']['IDLE']),this['_runtimeService'][_0x1667e5(0xa3)](),this[_0x1667e5(0xea)][_0x1667e5(0x108)](this[_0x1667e5(0xb6)][_0x1667e5(0x8b)]());return;}this[_0x1667e5(0xb6)][_0x1667e5(0xbc)](_0xf38ae[_0x1667e5(0xd2)],_0xf38ae[_0x1667e5(0xc0)],_0xf38ae[_0x1667e5(0xc2)],_0xf38ae[_0x1667e5(0x122)],_0xf38ae[_0x1667e5(0x83)],_0xf38ae[_0x1667e5(0xcb)]);let _0x3c57d4;if(_0x3a2b09!=null&&_0xf38ae[_0x1667e5(0x14a)]!=null){const {runtimeCellData:_0x2e0d6d,dirtyRanges:_0x573495}=_0x3a2b09(this[_0x1667e5(0xca)][_0x1667e5(0x154)](),this[_0x1667e5(0xb6)][_0x1667e5(0x8b)]());this[_0x1667e5(0xb6)][_0x1667e5(0xdb)](_0xf38ae[_0x1667e5(0x14a)],_0x2e0d6d),this['_runtimeService'][_0x1667e5(0x71)](_0xf38ae[_0x1667e5(0x14a)],_0x573495);}else _0x17bb61!=null&&(_0x5ed3c7['checkAsyncNode'](_0x17bb61['node'])?_0x3c57d4=await _0x5ed3c7[_0x1667e5(0x163)](_0x17bb61):_0x3c57d4=_0x5ed3c7['execute'](_0x17bb61),_0xf38ae[_0x1667e5(0xf4)]!=null?this['_runtimeService'][_0x1667e5(0x16e)](_0xf38ae[_0x1667e5(0xf4)],_0xf38ae[_0x1667e5(0x88)],_0xf38ae[_0x1667e5(0xf1)],_0x3c57d4):this[_0x1667e5(0xb6)]['setRuntimeData'](_0x3c57d4));_0x14d2be[_0x1667e5(0x113)](),_0x5ba90d++;}return _0x1be120['forEach'](_0x59ad1b=>_0x59ad1b()),_0x1be120=[],_0x2d7de5>0x0?this[_0x1667e5(0xb6)]['markedAsSuccessfullyExecuted']():_0x371342||this[_0x1667e5(0xb6)]['markedAsNoFunctionsExecuted'](),this[_0x1667e5(0xb6)]['getAllRuntimeData']();}}class _0x593a78 extends _0x16dfbe[_0x2f8d3e(0x106)]{constructor(){const _0x5a50e8=_0x2f8d3e;super(...arguments),_0x1f791d(this,_0x5a50e8(0xad),new Map()),_0x1f791d(this,_0x5a50e8(0xd7),new _0x189be3[(_0x5a50e8(0x156))](!0x0));}[_0x2f8d3e(0xeb)](){const _0x11560d=_0x2f8d3e;this[_0x11560d(0xaf)][_0x11560d(0xd0)](),this[_0x11560d(0x100)][_0x11560d(0xd0)](),this[_0x11560d(0x13b)][_0x11560d(0xd0)](),this[_0x11560d(0xd7)][_0x11560d(0xd0)](),this[_0x11560d(0xad)]['clear'](),this[_0x11560d(0xd8)](),this[_0x11560d(0x136)][_0x11560d(0xd0)]();}[_0x2f8d3e(0x11f)](_0x276e45,_0xf1be76,_0x5142a5,_0x27e1fa){const _0x232440=_0x2f8d3e;this[_0x232440(0xaf)][_0x232440(0x13f)](_0x276e45)||this[_0x232440(0xaf)][_0x232440(0xdd)](_0x276e45,new Map());const _0x561a56=this['_otherFormulaData']['get'](_0x276e45);_0x561a56[_0x232440(0x13f)](_0xf1be76)||_0x561a56[_0x232440(0xdd)](_0xf1be76,new Map());const _0x5698f9=_0x561a56[_0x232440(0x155)](_0xf1be76);_0x5698f9[_0x232440(0x13f)](_0x5142a5)||_0x5698f9['set'](_0x5142a5,new _0x189be3[(_0x232440(0x125))]()),_0x5698f9[_0x232440(0x155)](_0x5142a5)[_0x232440(0x11b)](_0x27e1fa[_0x232440(0x88)],_0x27e1fa[_0x232440(0xf1)],_0x27e1fa['treeId']);}[_0x2f8d3e(0x98)](_0x526c17,_0x33b146,_0x3944db){const _0x15f635=_0x2f8d3e,_0x30d97a=this[_0x15f635(0xaf)][_0x15f635(0x155)](_0x526c17);if(_0x30d97a&&_0x30d97a[_0x15f635(0x13f)](_0x33b146)){const _0x5c3078=_0x30d97a[_0x15f635(0x155)](_0x33b146);_0x3944db['forEach'](_0x20b1b9=>{const _0x1a5c19=_0x15f635,_0x582fb4=_0x5c3078[_0x1a5c19(0x155)](_0x20b1b9);_0x582fb4!=null&&(_0x582fb4[_0x1a5c19(0xf3)]((_0x246158,_0x424f16,_0x167301)=>{const _0xeabd20=_0x1a5c19;this[_0xeabd20(0x8f)](_0x167301),this[_0xeabd20(0x115)](_0x167301);}),_0x5c3078[_0x1a5c19(0x6e)](_0x20b1b9),this[_0x1a5c19(0x136)]['delete'](_0x20b1b9));}),_0x5c3078[_0x15f635(0x117)]===0x0&&_0x30d97a['delete'](_0x33b146),_0x30d97a[_0x15f635(0x117)]===0x0&&this['_otherFormulaData'][_0x15f635(0x6e)](_0x526c17);}}[_0x2f8d3e(0x15a)](_0xd97cc7,_0x2b541c){const _0x1870d6=_0x2f8d3e,_0x76fd54=this[_0x1870d6(0xaf)][_0x1870d6(0x155)](_0xd97cc7);if(_0x2b541c&&_0x76fd54&&_0x76fd54[_0x1870d6(0x13f)](_0x2b541c)){const _0x346bdb=_0x76fd54['get'](_0x2b541c);this[_0x1870d6(0xe0)](_0xd97cc7,_0x2b541c);for(const _0x3aad63 of _0x346bdb[_0x1870d6(0x149)]()){const _0x1d0114=_0x346bdb[_0x1870d6(0x155)](_0x3aad63);_0x1d0114!=null&&(_0x1d0114[_0x1870d6(0xf3)]((_0x1b0aee,_0x36c734,_0x5cefa2)=>{const _0x3fef41=_0x1870d6;this[_0x3fef41(0xad)][_0x3fef41(0x155)](_0x5cefa2)&&this[_0x3fef41(0x115)](_0x5cefa2);}),this[_0x1870d6(0x136)][_0x1870d6(0x6e)](_0x3aad63));}_0x346bdb['clear']();}else{if(_0x76fd54){for(const _0xbe395d of _0x76fd54[_0x1870d6(0x149)]()){const _0xc2ea1b=_0x76fd54[_0x1870d6(0x155)](_0xbe395d);this['_removeDependencyRTreeCacheById'](_0xd97cc7,_0xbe395d);for(const _0x43a991 of _0xc2ea1b[_0x1870d6(0x149)]()){const _0x21cd6b=_0xc2ea1b[_0x1870d6(0x155)](_0x43a991);_0x21cd6b!=null&&(_0x21cd6b[_0x1870d6(0xf3)]((_0x46e3cd,_0x1832b3,_0x9e0689)=>{const _0x483d22=_0x1870d6;this[_0x483d22(0xad)][_0x483d22(0x155)](_0x9e0689)&&this['_removeAllTreeMap'](_0x9e0689);}),this['_otherFormulaDataMainData'][_0x1870d6(0x6e)](_0x43a991));}}this[_0x1870d6(0xaf)][_0x1870d6(0x6e)](_0xd97cc7);}}}[_0x2f8d3e(0x7f)](_0x14569f,_0x238c10,_0x52f914,_0x3738e3){const _0x12270a=_0x2f8d3e;this[_0x12270a(0x100)]['has'](_0x14569f)||this['_featureFormulaData']['set'](_0x14569f,new Map());const _0x1cd7a1=this[_0x12270a(0x100)][_0x12270a(0x155)](_0x14569f);_0x1cd7a1['has'](_0x238c10)||_0x1cd7a1[_0x12270a(0xdd)](_0x238c10,new Map()),_0x1cd7a1['get'](_0x238c10)['set'](_0x52f914,_0x3738e3[_0x12270a(0x81)]);}[_0x2f8d3e(0x14f)](_0x53752c,_0x3fa9cb,_0x4afd31){const _0x580348=_0x2f8d3e,_0x3406fd=this[_0x580348(0x100)]['get'](_0x53752c);if(_0x3406fd&&_0x3406fd[_0x580348(0x13f)](_0x3fa9cb)){const _0x3963bb=_0x3406fd[_0x580348(0x155)](_0x3fa9cb);_0x4afd31[_0x580348(0x128)](_0x597f3a=>{const _0x2d82fa=_0x580348,_0x49d9f0=_0x3963bb['get'](_0x597f3a);_0x49d9f0!=null&&(this[_0x2d82fa(0x8f)](_0x49d9f0),_0x3963bb[_0x2d82fa(0x6e)](_0x597f3a),this[_0x2d82fa(0x115)](_0x49d9f0));});}}[_0x2f8d3e(0x165)](_0x52a6a3,_0x554d5b){const _0x50ebc5=_0x2f8d3e,_0x534b39=this[_0x50ebc5(0x100)][_0x50ebc5(0x155)](_0x52a6a3);if(_0x554d5b&&_0x534b39&&_0x534b39[_0x50ebc5(0x13f)](_0x554d5b)){const _0x38a6ac=_0x534b39['get'](_0x554d5b);this['_removeDependencyRTreeCacheById'](_0x52a6a3,_0x554d5b),_0x38a6ac['forEach'](_0x2b9d8d=>{const _0x875699=_0x50ebc5;_0x2b9d8d!=null&&this[_0x875699(0x115)](_0x2b9d8d);}),_0x38a6ac[_0x50ebc5(0xd0)]();}else _0x534b39&&(_0x534b39['forEach']((_0x165757,_0x4268a5)=>{const _0x8fc258=_0x50ebc5;this[_0x8fc258(0xe0)](_0x52a6a3,_0x4268a5),_0x165757[_0x8fc258(0x128)](_0x4a9a63=>{_0x4a9a63!=null&&this['_removeAllTreeMap'](_0x4a9a63);});}),this[_0x50ebc5(0x100)][_0x50ebc5(0x6e)](_0x52a6a3));}[_0x2f8d3e(0xf7)](_0x4389ac,_0x3ea2db,_0x110172,_0x1b2caa,_0x5c4b84){const _0x515451=_0x2f8d3e;this['_formulaData']['has'](_0x4389ac)||this[_0x515451(0x13b)][_0x515451(0xdd)](_0x4389ac,new Map());const _0x459c1a=this[_0x515451(0x13b)][_0x515451(0x155)](_0x4389ac);_0x459c1a['has'](_0x3ea2db)||_0x459c1a[_0x515451(0xdd)](_0x3ea2db,new _0x189be3[(_0x515451(0x125))]()),_0x459c1a[_0x515451(0x155)](_0x3ea2db)[_0x515451(0x11b)](_0x110172,_0x1b2caa,_0x5c4b84[_0x515451(0x81)]);}[_0x2f8d3e(0xda)](_0xe868eb,_0x3dc824,_0x2f3d14,_0x55710c){const _0x111527=_0x2f8d3e,_0x4c8ea6=this[_0x111527(0x13b)][_0x111527(0x155)](_0xe868eb);if(_0x4c8ea6&&_0x4c8ea6['has'](_0x3dc824)){const _0x290724=_0x4c8ea6[_0x111527(0x155)](_0x3dc824),_0x229f27=_0x290724[_0x111527(0x160)](_0x2f3d14,_0x55710c);if(_0x229f27==null)return;this[_0x111527(0x8f)](_0x229f27),_0x290724[_0x111527(0x97)](_0x2f3d14,_0x55710c),this[_0x111527(0x115)](_0x229f27);}}['clearFormulaDependency'](_0x54b10b,_0x72df00){const _0x467d2=_0x2f8d3e,_0x7a81a1=this['_formulaData'][_0x467d2(0x155)](_0x54b10b);if(_0x72df00&&_0x7a81a1&&_0x7a81a1['has'](_0x72df00)){const _0x385cbb=_0x7a81a1[_0x467d2(0x155)](_0x72df00);this[_0x467d2(0xe0)](_0x54b10b,_0x72df00),_0x385cbb[_0x467d2(0xf3)]((_0x3a08a7,_0xacf657,_0x3d8153)=>{const _0x69171=_0x467d2;if(_0x3d8153==null)return!0x0;this[_0x69171(0x115)](_0x3d8153);}),_0x385cbb[_0x467d2(0xeb)]();}else _0x7a81a1&&(_0x7a81a1[_0x467d2(0x128)]((_0x37f1ce,_0x1a18d1)=>{const _0x373940=_0x467d2;this[_0x373940(0xe0)](_0x54b10b,_0x1a18d1),_0x37f1ce[_0x373940(0xf3)]((_0x29ec7c,_0x5d690d,_0x5b3efa)=>{const _0x4684a2=_0x373940;if(_0x5b3efa==null)return!0x0;this[_0x4684a2(0x115)](_0x5b3efa);});}),this[_0x467d2(0x13b)][_0x467d2(0x6e)](_0x54b10b));}[_0x2f8d3e(0x8f)](_0x599fc2){const _0xf79fb=_0x2f8d3e;if(_0x599fc2==null)return;const _0x4d3935=this[_0xf79fb(0xad)]['get'](_0x599fc2);if(_0x4d3935){const _0x366765=[];for(const [_0x2fc8f0,_0x1268a3]of _0x4d3935)for(const [_0x27f8a3,_0x120c6f]of _0x1268a3)_0x366765[_0xf79fb(0x140)]({'unitId':_0x2fc8f0,'sheetId':_0x27f8a3,'range':_0x120c6f,'id':_0x599fc2});this[_0xf79fb(0xd7)][_0xf79fb(0xfa)](_0x366765);}}[_0x2f8d3e(0x84)](_0x311fc8,_0x24952c){const _0x11c47d=_0x2f8d3e,_0x3f56c3=this[_0x11c47d(0xa7)][_0x11c47d(0x155)](_0x311fc8);if(_0x3f56c3){const _0x29172f=_0x3f56c3[_0x11c47d(0x155)](_0x24952c);if(_0x29172f){for(const _0x2a9c54 of _0x29172f)this['_removeDependencyRTreeCache'](_0x2a9c54),this[_0x11c47d(0x115)](_0x2a9c54);_0x29172f[_0x11c47d(0xd0)]();}}}['openKdTree'](){const _0x49093b=_0x2f8d3e;this['_dependencyRTreeCache'][_0x49093b(0xdc)]();}['closeKdTree'](){const _0x531643=_0x2f8d3e;this[_0x531643(0xd7)][_0x531643(0xd1)]();}[_0x2f8d3e(0x115)](_0x283f84){const _0x1d2c0f=_0x2f8d3e;_0x283f84!=null&&this[_0x1d2c0f(0xad)][_0x1d2c0f(0x6e)](_0x283f84);}[_0x2f8d3e(0xa5)](_0x198676){const _0x1920a3=_0x2f8d3e;var _0x8ce1e3,_0x48e8a6;const _0x45f517=_0x198676['rangeList'];let _0x4363d6=this[_0x1920a3(0xad)][_0x1920a3(0x155)](_0x198676[_0x1920a3(0x81)]);for(let _0x2b2298=0x0;_0x2b2298<_0x45f517[_0x1920a3(0xc5)];_0x2b2298++){const _0x456a0a=_0x45f517[_0x2b2298];let {unitId:_0x206876,sheetId:_0x5d3ebf,range:_0x4b5f99}=_0x456a0a;_0x4363d6||(_0x4363d6=new Map(),this[_0x1920a3(0xad)][_0x1920a3(0xdd)](_0x198676['treeId'],_0x4363d6)),_0x4363d6['has'](_0x206876)||_0x4363d6['set'](_0x206876,new Map());const _0x61e332=(_0x8ce1e3=_0x4363d6==null?void 0x0:_0x4363d6[_0x1920a3(0x155)](_0x206876))==null?void 0x0:_0x8ce1e3['get'](_0x5d3ebf);_0x61e332&&(_0x4b5f99={'startRow':Math['min'](_0x4b5f99[_0x1920a3(0x150)],_0x61e332[_0x1920a3(0x150)]),'startColumn':Math[_0x1920a3(0x9f)](_0x4b5f99[_0x1920a3(0x134)],_0x61e332['startColumn']),'endRow':Math[_0x1920a3(0x7d)](_0x4b5f99['endRow'],_0x61e332[_0x1920a3(0x13c)]),'endColumn':Math[_0x1920a3(0x7d)](_0x4b5f99['endColumn'],_0x61e332[_0x1920a3(0x131)])}),(_0x48e8a6=_0x4363d6['get'](_0x206876))==null||_0x48e8a6['set'](_0x5d3ebf,_0x4b5f99);}}}var _0x5a2c9c=Object[_0x2f8d3e(0x15e)],_0xb24095=(_0x188cd3,_0x23ee21,_0x4201ec,_0x43eb0c)=>{const _0x3ec1e4=_0x2f8d3e;for(var _0x42e4ae=_0x43eb0c>0x1?void 0x0:_0x43eb0c?_0x5a2c9c(_0x23ee21,_0x4201ec):_0x23ee21,_0x32da6c=_0x188cd3[_0x3ec1e4(0xc5)]-0x1,_0x1822a8;_0x32da6c>=0x0;_0x32da6c--)(_0x1822a8=_0x188cd3[_0x32da6c])&&(_0x42e4ae=_0x1822a8(_0x42e4ae)||_0x42e4ae);return _0x42e4ae;};const _0x2a7477=Number[_0x2f8d3e(0x9a)](0x6974714d);_0x196c4f[_0x2f8d3e(0xe9)]=class extends _0x16dfbe[_0x2f8d3e(0xdf)]{[_0x2f8d3e(0x89)](){const _0x5abc60=_0x2f8d3e;var _0x2f1a4f,_0x329fb6;this[_0x5abc60(0xd3)]()?(this['_injector'][_0x5abc60(0xd9)]([_0x16dfbe[_0x5abc60(0x126)],{'useClass':_0x4d5974}]),(_0x2f1a4f=this[_0x5abc60(0xb2)])!=null&&_0x2f1a4f[_0x5abc60(0xaa)]||[[_0x16dfbe[_0x5abc60(0x82)],{'useClass':_0x21c7c4}],[_0x16dfbe['IDependencyManagerService'],{'useClass':_0x593a78}],[_0x16dfbe[_0x5abc60(0x137)],{'useClass':_0x3c576b}]][_0x5abc60(0x128)](_0x653f10=>this[_0x5abc60(0x8c)][_0x5abc60(0xd9)](_0x653f10))):(this['_injector'][_0x5abc60(0xd9)]([_0x16dfbe[_0x5abc60(0x126)],{'useClass':_0x16dfbe['LexerTreeBuilder']}]),(_0x329fb6=this[_0x5abc60(0xb2)])!=null&&_0x329fb6['notExecuteFormula']||[[_0x16dfbe['ICalculateFormulaService'],{'useClass':_0x16dfbe['CalculateFormulaService']}],[_0x16dfbe['IDependencyManagerService'],{'useClass':_0x16dfbe[_0x5abc60(0x10c)]}],[_0x16dfbe[_0x5abc60(0x137)],{'useClass':_0x16dfbe[_0x5abc60(0xc8)]}]][_0x5abc60(0x128)](_0x702cef=>this['_injector']['add'](_0x702cef)));}[_0x2f8d3e(0xd3)](){const _0x108fcf=_0x2f8d3e;var _0x557492;const _0x30bdf4=(_0x557492=this[_0x108fcf(0x90)]['getConfig'](_0x54c006[_0x108fcf(0x8e)]))!=null?_0x557492:{},{ls:_0x229284,pbk:_0x451e27}=_0x30bdf4;if(!_0x229284||!_0x451e27)return!0x1;const _0x1ca1ec=_0x54c006['unshiftString'](_0x494df9,_0x24f8e8),_0x38fdcd=new Function('return\x20'+_0x1ca1ec)()(_0x229284,_0x451e27),_0xabfe8e=_0x38fdcd['message'];return _0x38fdcd[_0x108fcf(0x16d)]&&_0x54c006[_0x108fcf(0x75)](_0xabfe8e,'sf',_0x2a7477)?_0x54c006[_0x108fcf(0xf9)](_0xabfe8e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x196c4f[_0x2f8d3e(0xe9)]=_0xb24095([_0x189be3[_0x2f8d3e(0x16a)](_0x54c006[_0x2f8d3e(0x14d)])],_0x196c4f[_0x2f8d3e(0xe9)]),_0x196c4f[_0x2f8d3e(0xba)]=_0x4d5974,Object[_0x2f8d3e(0x149)](_0x16dfbe)[_0x2f8d3e(0x128)](_0x2fea14=>{const _0x485a2b=_0x2f8d3e;_0x2fea14!==_0x485a2b(0x94)&&!Object[_0x485a2b(0x145)][_0x485a2b(0x119)][_0x485a2b(0x8a)](_0x196c4f,_0x2fea14)&&Object[_0x485a2b(0x146)](_0x196c4f,_0x2fea14,{'enumerable':!0x0,'get':()=>_0x16dfbe[_0x2fea14]});}),Object[_0x2f8d3e(0x146)](_0x196c4f,Symbol[_0x2f8d3e(0x6d)],{'value':_0x2f8d3e(0xff)});}));
1
+ function _0x4394(_0x54ab58,_0x54dde6){_0x54ab58=_0x54ab58-0x90;const _0x462cab=_0x462c();let _0x43940a=_0x462cab[_0x54ab58];return _0x43940a;}(function(_0x4fce84,_0x3df794){const _0x3493b4=_0x4394,_0x38bfc7=_0x4fce84();while(!![]){try{const _0x2e81e9=-parseInt(_0x3493b4(0x112))/0x1*(parseInt(_0x3493b4(0xd5))/0x2)+-parseInt(_0x3493b4(0x10b))/0x3+parseInt(_0x3493b4(0x131))/0x4*(parseInt(_0x3493b4(0x14a))/0x5)+-parseInt(_0x3493b4(0x122))/0x6+parseInt(_0x3493b4(0x17d))/0x7+parseInt(_0x3493b4(0x117))/0x8+parseInt(_0x3493b4(0x195))/0x9*(-parseInt(_0x3493b4(0xd4))/0xa);if(_0x2e81e9===_0x3df794)break;else _0x38bfc7['push'](_0x38bfc7['shift']());}catch(_0x39d2dc){_0x38bfc7['push'](_0x38bfc7['shift']());}}}(_0x462c,0x978c3),function(_0x2094e0,_0x54b1cb){const _0x5f21a8=_0x4394;typeof exports==_0x5f21a8(0xae)&&typeof module<'u'?_0x54b1cb(exports,require('@univerjs/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x5f21a8(0x111)&&define[_0x5f21a8(0x15c)]?define([_0x5f21a8(0x105),_0x5f21a8(0xee),_0x5f21a8(0xe5),_0x5f21a8(0x137)],_0x54b1cb):(_0x2094e0=typeof globalThis<'u'?globalThis:_0x2094e0||self,_0x54b1cb(_0x2094e0['UniverProEngineFormula']={},_0x2094e0['UniverEngineFormula'],_0x2094e0[_0x5f21a8(0xc1)],_0x2094e0[_0x5f21a8(0xea)]));}(this,function(_0x305b8d,_0xf65b16,_0x68c09b,_0x368c08){'use strict';const _0x29bc89=_0x4394;var _0x3884ca=Object[_0x29bc89(0x155)],_0xc8b394=(_0xdf63aa,_0x5a26c2,_0x117ea7)=>_0x5a26c2 in _0xdf63aa?_0x3884ca(_0xdf63aa,_0x5a26c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x117ea7}):_0xdf63aa[_0x5a26c2]=_0x117ea7,_0x55d84e=(_0x180533,_0x676278,_0x370fb1)=>_0xc8b394(_0x180533,typeof _0x676278!=_0x29bc89(0x15e)?_0x676278+'':_0x676278,_0x370fb1);class _0x5c3850 extends _0xf65b16[_0x29bc89(0xa2)]{constructor(){const _0x54c271=_0x29bc89;super(...arguments),_0x55d84e(this,'_hasNewExcelFunction',!0x1),_0x55d84e(this,_0x54c271(0x19f),new Set()),_0x55d84e(this,_0x54c271(0x100),_0x54c271(0xc4)),_0x55d84e(this,_0x54c271(0x151),_0x54c271(0xa0)),_0x55d84e(this,_0x54c271(0x124),'');}[_0x29bc89(0x184)](){const _0x1c7252=_0x29bc89;this[_0x1c7252(0x100)]='_xlpm.',this[_0x1c7252(0x151)]=_0x1c7252(0xa0);}[_0x29bc89(0xc3)](){const _0x56a51c=_0x29bc89;this[_0x56a51c(0x100)]='',this[_0x56a51c(0x151)]='';}[_0x29bc89(0xb4)](_0x1bb677,_0xbb132e){const _0x5ed964=_0x29bc89,_0x4639d9=this['treeBuilder'](_0x1bb677,!0x1);if(!_0x4639d9||_0x4639d9===_0xf65b16[_0x5ed964(0x106)]['VALUE']||Array[_0x5ed964(0x9e)](_0x4639d9))return null;const _0x5802d3=[];return this['_hasNewExcelFunction']=!0x1,this[_0x5ed964(0x17a)](_0x4639d9,_0x5802d3,_0xbb132e),this[_0x5ed964(0xd6)]?'='+_0x5802d3[_0x5ed964(0xa1)](''):null;}[_0x29bc89(0x17a)](_0x1f883d,_0x1cd616,_0x357174){const _0x593e4c=_0x29bc89,_0x530e93=_0x1f883d['getToken'](),_0x11a66e=_0x530e93[_0x593e4c(0xad)](),_0x16752e=_0x11a66e['toUpperCase'](),_0x31a2ec=this['_clearFunctionString'](_0x16752e),_0x1e9edc=_0x357174(_0x31a2ec);let _0x377d5e=0x0;_0x530e93===_0xf65b16[_0x593e4c(0xcf)]?_0x377d5e=0x3:_0x530e93===_0xf65b16[_0x593e4c(0x118)]?_0x377d5e=0x4:_0x530e93===_0xf65b16[_0x593e4c(0x199)]?_0x377d5e=0x5:_0xf65b16[_0x593e4c(0x10e)][_0x593e4c(0xb5)](_0x31a2ec)?(_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0):_0x16752e===_0xf65b16[_0x593e4c(0x11b)]?(_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0,_0x377d5e=0x2):_0x16752e===_0xf65b16[_0x593e4c(0xd9)]?(_0x1cd616['push'](''+this[_0x593e4c(0x151)]+_0x11a66e),this[_0x593e4c(0xd6)]=!0x0,_0x377d5e=0x1):_0x16752e===_0xf65b16[_0x593e4c(0xfd)][_0x593e4c(0xf8)]?_0x377d5e=0x8:_0xf65b16[_0x593e4c(0xcc)][_0x593e4c(0xb5)](_0x16752e)?_0x377d5e=0x7:_0x16752e===_0xf65b16[_0x593e4c(0x13c)][_0x593e4c(0x156)]?(this[_0x593e4c(0x139)](_0x1f883d)&&(_0x377d5e=0x9),_0x1cd616[_0x593e4c(0x98)](_0x530e93)):(_0x1cd616[_0x593e4c(0x98)](_0x530e93),_0x377d5e=0xa),_0x1e9edc?(_0x377d5e!==0x2&&_0x377d5e!==0x1&&(_0x377d5e=0x6),_0x1cd616['push']('(')):_0x377d5e===0x9&&_0x1cd616[_0x593e4c(0x98)]('(');const _0x432970=_0x1f883d[_0x593e4c(0xcd)](),_0x47f1e7=_0x432970[_0x593e4c(0x12d)];if(_0x377d5e===0x2){const _0x4e472b=_0x432970[0x0];let _0x389895=0x0;_0x4e472b instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x4e472b[_0x593e4c(0xc5)]()===_0xf65b16[_0x593e4c(0x199)]&&(_0x389895=0x1);for(let _0x54a4b7=_0x389895;_0x54a4b7<_0x47f1e7-0x1;_0x54a4b7++){const _0x54a13d=_0x432970[_0x54a4b7];if(_0x54a13d instanceof _0xf65b16['LexerNode']){const _0x367b69=_0x54a13d[_0x593e4c(0xcd)]()[0x0];typeof _0x367b69=='string'&&(this[_0x593e4c(0x19f)][_0x593e4c(0xb5)](_0x367b69)&&console[_0x593e4c(0x12a)](_0x593e4c(0xaa)+_0x367b69+_0x593e4c(0x19a)),this[_0x593e4c(0x19f)]['add'](_0x367b69),_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x100)]+_0x367b69),this[_0x593e4c(0xd6)]=!0x0);}_0x1cd616['push'](',');}this[_0x593e4c(0x16e)](_0x432970[_0x47f1e7-0x1],_0x1cd616,_0x357174),_0x389895===0x1&&(_0x1cd616[_0x593e4c(0x98)](')'),_0x1cd616[_0x593e4c(0x98)]('('),this['_generateNewFunctionString'](_0x4e472b,_0x1cd616,_0x357174)),_0x1cd616[_0x593e4c(0x98)](')');return;}else{if(_0x377d5e===0x1){for(let _0x14a5c1=0x0;_0x14a5c1<_0x47f1e7-0x1;_0x14a5c1++){const _0x10f1ef=_0x432970[_0x14a5c1];if(_0x10f1ef instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x14a5c1%0x2===0x0){const _0x46897d=_0x10f1ef['getChildren']()[0x0];if(typeof _0x46897d=='string'){this[_0x593e4c(0x19f)][_0x593e4c(0xb5)](_0x46897d)&&console[_0x593e4c(0x12a)](_0x593e4c(0x192)+_0x46897d+_0x593e4c(0x19a)),this[_0x593e4c(0x19f)][_0x593e4c(0x11e)](_0x46897d),_0x1cd616[_0x593e4c(0x98)](''+this[_0x593e4c(0x100)]+_0x46897d),this[_0x593e4c(0xd6)]=!0x0,_0x1cd616['push'](',');continue;}}if(this[_0x593e4c(0x16e)](_0x10f1ef,_0x1cd616,_0x357174),_0x10f1ef instanceof _0xf65b16[_0x593e4c(0x18d)]){const _0x5be894=_0x432970[_0x14a5c1+0x1];_0x5be894&&_0x5be894 instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x1cd616[_0x593e4c(0x98)](',');}}this[_0x593e4c(0x16e)](_0x432970[_0x47f1e7-0x1],_0x1cd616,_0x357174),_0x1cd616['push'](')');return;}else{if(_0x377d5e===0x8){const _0x534bee=_0x432970[0x0],_0x134bf0=_0x432970[0x1];this['_handleNewFunctionChild'](_0x534bee,_0x1cd616,_0x357174),_0x1cd616[_0x593e4c(0x98)](_0x530e93),this[_0x593e4c(0x16e)](_0x134bf0,_0x1cd616,_0x357174);return;}}}for(let _0x3c57a3=0x0;_0x3c57a3<_0x47f1e7;_0x3c57a3++){const _0x10766e=_0x432970[_0x3c57a3];if(this[_0x593e4c(0x16e)](_0x10766e,_0x1cd616,_0x357174),_0x10766e instanceof _0xf65b16[_0x593e4c(0x18d)]){const _0x2311bc=_0x432970[_0x3c57a3+0x1];_0x2311bc&&_0x2311bc instanceof _0xf65b16[_0x593e4c(0x18d)]&&_0x1cd616[_0x593e4c(0x98)](',');}}_0x377d5e===0x7&&_0x1cd616[_0x593e4c(0x98)](_0x530e93),(_0x1e9edc||_0x377d5e===0x9)&&_0x1cd616[_0x593e4c(0x98)](')');}[_0x29bc89(0x16e)](_0x1d194a,_0x20d84c,_0x5a45f2){const _0x4c7ae5=_0x29bc89;_0x1d194a instanceof _0xf65b16[_0x4c7ae5(0x18d)]?this[_0x4c7ae5(0x17a)](_0x1d194a,_0x20d84c,_0x5a45f2):this[_0x4c7ae5(0x19f)]['has'](_0x1d194a)?(_0x20d84c[_0x4c7ae5(0x98)](''+this[_0x4c7ae5(0x100)]+_0x1d194a),this[_0x4c7ae5(0xd6)]=!0x0):_0x20d84c[_0x4c7ae5(0x98)](_0x1d194a);}[_0x29bc89(0x121)](_0x41398b){const _0x1b0ada=_0x29bc89;let _0x3b3c27=_0x41398b['trim']();if(!_0x3b3c27)return _0x3b3c27;const _0x49fb7b=_0x3b3c27[0x0];if((_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)]['AT']||_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)]['MINUS']||_0x49fb7b===_0xf65b16[_0x1b0ada(0x13c)][_0x1b0ada(0x108)])&&(_0x3b3c27=_0x3b3c27[_0x1b0ada(0x136)](0x1)),!_0x3b3c27)return _0x3b3c27;const _0x10733f=_0x3b3c27[_0x3b3c27[_0x1b0ada(0x12d)]-0x1];return _0xf65b16[_0x1b0ada(0xcc)][_0x1b0ada(0xb5)](_0x10733f)&&(_0x3b3c27=_0x3b3c27['slice'](0x0,-0x1)),_0x3b3c27;}[_0x29bc89(0x139)](_0x1e4b42){const _0x138d3c=_0x29bc89,_0x45e6e9=_0x1e4b42[_0x138d3c(0xcd)]()[0x0];if(!_0x45e6e9||!(_0x45e6e9 instanceof _0xf65b16[_0x138d3c(0x18d)])||_0x1e4b42[_0x138d3c(0xcd)]()[_0x138d3c(0x12d)]>0x1)return!0x1;const _0x492acf=_0x45e6e9['getChildren'](),_0x17a477=_0x492acf[_0x138d3c(0x12d)];if(_0x17a477===0x1)return!0x1;for(let _0xd6b87b=0x0;_0xd6b87b<_0x17a477;_0xd6b87b++){const _0x477704=_0x492acf[_0xd6b87b];if(!(_0x477704 instanceof _0xf65b16[_0x138d3c(0x18d)])&&_0xf65b16['OPERATOR_TOKEN_SET'][_0x138d3c(0xb5)](_0x477704))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x10da07,_0x3f7fa3,_0x9ed8a2,_0x37bb6f,_0x252603){const _0x375e7b=_0x29bc89,_0x37e9d2=this[_0x375e7b(0x175)](_0x10da07,!0x1);if(!_0x37e9d2||_0x37e9d2===_0xf65b16['ErrorType'][_0x375e7b(0xc0)]||Array[_0x375e7b(0x9e)](_0x37e9d2))return null;this['_clearPrefix'](),this[_0x375e7b(0x124)]=_0x3f7fa3;const _0x2f5a41=this[_0x375e7b(0x152)](_0x37e9d2,_0x9ed8a2,_0x37bb6f,_0x252603);return this['_currentUnitId']='',this['_resetPrefix'](),_0x2f5a41;}[_0x29bc89(0x152)](_0x51d542,_0x9a10c8,_0x2308ee,_0x2de345){const _0x2c4a51=_0x29bc89,_0x4804ca={'value':'','children':[],'startIndex':0x0};let _0x32d8ba=_0x51d542;if(_0x32d8ba instanceof _0xf65b16[_0x2c4a51(0x18d)]&&(_0x32d8ba[_0x2c4a51(0xc5)]()===_0xf65b16[_0x2c4a51(0xcf)]||_0x32d8ba[_0x2c4a51(0xc5)]()===_0xf65b16[_0x2c4a51(0x118)])&&_0x32d8ba[_0x2c4a51(0xcd)]()[_0x2c4a51(0x12d)]===0x1&&(_0x32d8ba=_0x32d8ba[_0x2c4a51(0xcd)]()[0x0]),!(_0x32d8ba instanceof _0xf65b16['LexerNode']))return this['_handleTextNodeForExprTree'](_0x32d8ba,_0x2308ee,_0x2de345);const _0x16e881=_0x32d8ba[_0x2c4a51(0xcd)](),_0x5082d9=_0x16e881[_0x2c4a51(0x12d)],_0x4b44bb=[];this['_generateNewFunctionString'](_0x32d8ba,_0x4b44bb,_0x9a10c8),_0x4804ca[_0x2c4a51(0x9a)]=_0x4b44bb['join'](''),_0x4804ca[_0x2c4a51(0x120)]=_0x32d8ba[_0x2c4a51(0xfb)]();const _0x548a28=this[_0x2c4a51(0xd2)](_0x32d8ba);if(_0x548a28===0x2){const _0x160bdc=_0x16e881[0x0];if(_0x160bdc instanceof _0xf65b16[_0x2c4a51(0x18d)]){if(_0x160bdc[_0x2c4a51(0xc5)]()[_0x2c4a51(0xad)]()!==_0xf65b16[_0x2c4a51(0x199)])return _0x4804ca;this[_0x2c4a51(0x9c)](_0x160bdc,_0x4804ca,_0x9a10c8,_0x2308ee,_0x2de345);}return _0x4804ca;}else{if(_0x548a28===0x1){for(let _0x302f9e=0x0;_0x302f9e<_0x5082d9-0x1;_0x302f9e++){const _0x595cbc=_0x16e881[_0x302f9e];if(_0x595cbc instanceof _0xf65b16[_0x2c4a51(0x18d)]&&_0x302f9e%0x2===0x1){const _0x53840c=_0x595cbc[_0x2c4a51(0xcd)]();if(_0x53840c[_0x2c4a51(0x12d)]===0x1&&!(_0x53840c[0x0]instanceof _0xf65b16['LexerNode']))continue;const _0x4e0118=this['_generateExprTree'](_0x595cbc,_0x9a10c8,_0x2308ee,_0x2de345);_0x4e0118&&_0x4804ca[_0x2c4a51(0xfe)][_0x2c4a51(0x98)](_0x4e0118);}}return _0x4804ca;}else{if(_0x548a28===0x8){const _0x5f538a=_0x16e881[0x0];if(_0x5f538a instanceof _0xf65b16[_0x2c4a51(0x18d)]){const _0x110e69=_0x5f538a[_0x2c4a51(0xcd)]()[0x0];_0x110e69 instanceof _0xf65b16['LexerNode']&&(_0x4804ca[_0x2c4a51(0x120)]=_0x110e69['getStartIndex']());}if(this[_0x2c4a51(0x10d)](_0x32d8ba))return _0x4804ca;}else{if(_0x548a28===0x7){const _0x162942=_0x16e881[0x0];if(_0x162942 instanceof _0xf65b16[_0x2c4a51(0x18d)]){const _0x492e66=_0x162942['getChildren']()[0x0];_0x492e66 instanceof _0xf65b16['LexerNode']&&(_0x4804ca[_0x2c4a51(0x120)]=_0x492e66[_0x2c4a51(0xfb)]());}}}}}return this[_0x2c4a51(0x13d)](_0x16e881,_0x548a28,_0x4804ca,_0x9a10c8,_0x2308ee,_0x2de345),_0x4804ca;}[_0x29bc89(0x13d)](_0x4012b2,_0x77adcd,_0x3ec95b,_0x2eb5a5,_0x2d95f5,_0x2500ad){const _0x1c7091=_0x29bc89;for(let _0x1eb71c=0x0;_0x1eb71c<_0x4012b2[_0x1c7091(0x12d)];_0x1eb71c++){let _0xae6041=_0x4012b2[_0x1eb71c];if(!(_0xae6041 instanceof _0xf65b16[_0x1c7091(0x18d)])){const _0x5e1635=this[_0x1c7091(0x11f)](_0xae6041,_0x2d95f5,_0x2500ad);_0x5e1635&&_0x3ec95b['children'][_0x1c7091(0x98)](_0x5e1635);continue;}const _0x4af480=_0xae6041[_0x1c7091(0xcd)]();if(_0x4af480[_0x1c7091(0x12d)]===0x1&&!(_0x4af480[0x0]instanceof _0xf65b16[_0x1c7091(0x18d)])){const _0x394813=_0x4af480[0x0];if(!_0x2d95f5(this[_0x1c7091(0x124)],_0x394813)&&!this[_0x1c7091(0x12b)](_0x394813,_0x2500ad)&&!_0xf65b16[_0x1c7091(0x11c)](_0x394813))continue;}if(_0x77adcd===0x8){const _0x20bf0e=_0x4af480[0x0];if(_0x20bf0e instanceof _0xf65b16[_0x1c7091(0x18d)]){const _0x42a219=_0x20bf0e[_0x1c7091(0xc5)]()['trim']();if(_0xf65b16['isReferenceString'](_0x42a219))continue;_0xae6041=_0x20bf0e;}}const _0x10815a=this[_0x1c7091(0x152)](_0xae6041,_0x2eb5a5,_0x2d95f5,_0x2500ad);_0x10815a&&_0x3ec95b[_0x1c7091(0xfe)]['push'](_0x10815a);}}[_0x29bc89(0x10d)](_0x58a57e){const _0x5b9cd7=_0x29bc89,_0x356edd=_0x58a57e[_0x5b9cd7(0xcd)]();if(_0x356edd[_0x5b9cd7(0x12d)]<0x2)return!0x1;const _0x3f2cf1=_0x356edd[0x0],_0xb09f45=_0x356edd[0x1];if(!(_0x3f2cf1 instanceof _0xf65b16[_0x5b9cd7(0x18d)])||!(_0xb09f45 instanceof _0xf65b16['LexerNode']))return!0x1;const _0x2a48ba=_0x3f2cf1['getChildren']()[0x0],_0x1a6d07=_0xb09f45[_0x5b9cd7(0xcd)]()[0x0];if(!(_0x2a48ba instanceof _0xf65b16[_0x5b9cd7(0x18d)])||!(_0x1a6d07 instanceof _0xf65b16[_0x5b9cd7(0x18d)]))return!0x1;const _0x167407=_0x2a48ba[_0x5b9cd7(0xc5)]()[_0x5b9cd7(0xad)](),_0x2add43=_0x1a6d07[_0x5b9cd7(0xc5)]()[_0x5b9cd7(0xad)]();return!!_0xf65b16[_0x5b9cd7(0x11c)](''+_0x167407+_0xf65b16[_0x5b9cd7(0xfd)][_0x5b9cd7(0xf8)]+_0x2add43);}[_0x29bc89(0x11f)](_0x37d89e,_0x1dec58,_0x5bce85){const _0x282c50=_0x29bc89,_0x3ac587=_0x37d89e[_0x282c50(0xad)]();return _0x3ac587['startsWith']('{')&&_0x3ac587[_0x282c50(0x178)]('}')||_0x1dec58(this[_0x282c50(0x124)],_0x3ac587)||this[_0x282c50(0x12b)](_0x3ac587,_0x5bce85)||_0xf65b16['isReferenceString'](_0x3ac587)?{'value':_0x3ac587,'children':[],'startIndex':-0x1}:null;}[_0x29bc89(0x12b)](_0x245ea1,_0xec2309){const _0x2b5043=_0x29bc89,{tableName:_0x375ebd}=_0xf65b16[_0x2b5043(0xdb)](_0x245ea1);return _0xec2309(this[_0x2b5043(0x124)],_0x375ebd)?_0x375ebd:null;}[_0x29bc89(0x9c)](_0x18e57c,_0x1e9f78,_0x509a08,_0x55d1c4,_0x32f2aa){const _0x2589fa=_0x29bc89,_0x2ee953=_0x18e57c[_0x2589fa(0xcd)]();for(let _0x25fb66=0x0;_0x25fb66<_0x2ee953[_0x2589fa(0x12d)];_0x25fb66++){const _0x3824b9=_0x2ee953[_0x25fb66];if(!(_0x3824b9 instanceof _0xf65b16[_0x2589fa(0x18d)]))continue;const _0x514e13=_0x3824b9[_0x2589fa(0xcd)]();if(_0x514e13['length']===0x1&&!(_0x514e13[0x0]instanceof _0xf65b16[_0x2589fa(0x18d)]))continue;const _0x8896c=this[_0x2589fa(0x152)](_0x3824b9,_0x509a08,_0x55d1c4,_0x32f2aa);_0x8896c&&_0x1e9f78[_0x2589fa(0xfe)][_0x2589fa(0x98)](_0x8896c);}}['_getCurNodeTypeForExprTree'](_0x255299){const _0x453b63=_0x29bc89,_0x12cfd5=_0x255299[_0x453b63(0xc5)](),_0x5c8587=_0x12cfd5[_0x453b63(0xad)]()['toUpperCase']();let _0x3fc838=0x0;return _0x12cfd5===_0xf65b16[_0x453b63(0xcf)]?_0x3fc838=0x3:_0x12cfd5===_0xf65b16['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x3fc838=0x4:_0x12cfd5===_0xf65b16['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x3fc838=0x5:_0x5c8587===_0xf65b16[_0x453b63(0x11b)]?_0x3fc838=0x2:_0x5c8587===_0xf65b16['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x3fc838=0x1:_0x5c8587===_0xf65b16[_0x453b63(0xfd)][_0x453b63(0xf8)]?_0x3fc838=0x8:_0xf65b16[_0x453b63(0xcc)][_0x453b63(0xb5)](_0x5c8587)?_0x3fc838=0x7:_0x5c8587===_0xf65b16[_0x453b63(0x13c)][_0x453b63(0x156)]?this['_checkAddBracketForMinus'](_0x255299)&&(_0x3fc838=0x9):_0x3fc838=0xa,_0x3fc838;}}class _0x36933d extends _0xf65b16[_0x29bc89(0xe3)]{constructor(){super(...arguments),_0x55d84e(this,'_dependencyTreeCache',new Map());}[_0x29bc89(0xdf)](){const _0x1d752a=_0x29bc89;super['dispose'](),this[_0x1d752a(0x153)][_0x1d752a(0x149)]();}async[_0x29bc89(0xb6)](_0x1a4963=!0x1){const _0x2f7f06=_0x29bc89;this[_0x2f7f06(0xca)]();const _0x321687=this[_0x2f7f06(0x1a1)][_0x2f7f06(0x92)](),_0x4019d1=this[_0x2f7f06(0x141)][_0x2f7f06(0x16b)](),_0x11c4c6=this[_0x2f7f06(0x1a1)][_0x2f7f06(0xef)]();_0x11c4c6!=null&&Object[_0x2f7f06(0x160)](_0x11c4c6)[_0x2f7f06(0x13b)](_0x36323e=>{const _0xc53642=_0x2f7f06;_0x36323e!=null&&Object[_0xc53642(0x160)](_0x11c4c6[_0x36323e])[_0xc53642(0x13b)](_0x1198da=>{const _0x2625a1=_0xc53642;_0x1198da!=null&&(this['_dependencyManagerService'][_0x2625a1(0x166)](_0x36323e,_0x1198da),this[_0x2625a1(0x19d)][_0x2625a1(0x177)](_0x36323e,_0x1198da),this[_0x2625a1(0x19d)][_0x2625a1(0x13e)](_0x36323e,_0x1198da));});});const _0xbd47bf=this['_currentConfigService'][_0x2f7f06(0x18f)]();await this[_0x2f7f06(0x168)](_0x321687,_0x4019d1,_0xbd47bf),this[_0x2f7f06(0x19d)][_0x2f7f06(0x16d)]();const _0x581947=this['_getUpdateTreeListAndMakeDependency'](),_0xec4fbd=this[_0x2f7f06(0x19e)](_0x581947);return this[_0x2f7f06(0x17e)](_0xec4fbd)&&this[_0x2f7f06(0xba)][_0x2f7f06(0xe0)](),_0x1a4963&&this[_0x2f7f06(0xba)][_0x2f7f06(0x18c)](this[_0x2f7f06(0x135)](Array[_0x2f7f06(0x134)](this[_0x2f7f06(0x153)][_0x2f7f06(0x126)]()))),this[_0x2f7f06(0x153)][_0x2f7f06(0x149)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2f7f06(0x149)](),this[_0x2f7f06(0x19d)][_0x2f7f06(0x14d)](),this[_0x2f7f06(0xba)][_0x2f7f06(0xfc)](),Promise[_0x2f7f06(0x132)](_0xec4fbd);}[_0x29bc89(0x114)](_0x5a406b,_0x1fa526){const _0x2ddc9f=_0x29bc89,_0x8e0e1=[_0x5a406b];for(;_0x8e0e1['length']>0x0;){const _0x3392e2=_0x8e0e1[_0x8e0e1[_0x2ddc9f(0x12d)]-0x1];if((_0x1fa526[_0x2ddc9f(0x10f)](_0x3392e2)||0x0)===0x0){_0x1fa526[_0x2ddc9f(0xf1)](_0x3392e2,0x1);const _0x2b3100=this[_0x2ddc9f(0x153)]['get'](_0x3392e2);if(_0x2b3100==null){_0x1fa526[_0x2ddc9f(0xf1)](_0x3392e2,0x2),_0x8e0e1[_0x2ddc9f(0xc6)]();continue;}const _0x4c6cb5=this[_0x2ddc9f(0x19d)][_0x2ddc9f(0xb8)](_0x2b3100[_0x2ddc9f(0x9d)]());for(const _0x360c0d of _0x4c6cb5){const _0x8dc962=_0x1fa526[_0x2ddc9f(0x10f)](_0x360c0d)||0x0;if(_0x8dc962===0x1)return!0x0;_0x8dc962===0x0&&_0x8e0e1[_0x2ddc9f(0x98)](_0x360c0d);}}else _0x1fa526['set'](_0x3392e2,0x2),_0x8e0e1[_0x2ddc9f(0xc6)]();}return!0x1;}[_0x29bc89(0x17e)](_0x11d248){const _0x143d42=_0x29bc89,_0x319113=new Map();for(const _0x5566a4 of _0x11d248)if(!_0x319113['has'](_0x5566a4[_0x143d42(0xd7)])&&this[_0x143d42(0x114)](_0x5566a4[_0x143d42(0xd7)],_0x319113))return!0x0;return _0x319113[_0x143d42(0x149)](),!0x1;}[_0x29bc89(0xe9)](_0x4a3884,_0xf03ad4,_0x53dd88){const _0x366fca=_0x29bc89,{unitId:_0x186d0,subUnitId:_0x381cfc,dependencyRanges:_0xdcf757,getDirtyData:_0x2a7780}=_0x53dd88,_0x293e1c=_0xf03ad4||_0xf65b16[_0x366fca(0x109)](this[_0x366fca(0x19d)]),_0x4045e3=new _0xf65b16[(_0x366fca(0x133))](_0x293e1c);_0x4045e3[_0x366fca(0x14c)]=_0x186d0,_0x4045e3[_0x366fca(0xec)]=_0x381cfc,_0x4045e3[_0x366fca(0x13a)]=_0xdcf757,_0x4045e3[_0x366fca(0xf9)]=_0x2a7780;const _0x3e6505=_0x2a7780(this['_currentConfigService']['getDirtyData'](),this['_runtimeService']['getAllRuntimeData']()),_0x420f6b=this[_0x366fca(0x13f)](_0x3e6505[_0x366fca(0x173)]);return _0x4045e3[_0x366fca(0xf6)]=_0x420f6b,_0x4045e3[_0x366fca(0x93)]=_0x4a3884,_0x4045e3[_0x366fca(0xf5)]=_0xf65b16[_0x366fca(0x19b)][_0x366fca(0xe2)],this[_0x366fca(0x19d)][_0x366fca(0x18b)](_0x186d0,_0x381cfc,_0x4a3884,_0x4045e3),this[_0x366fca(0x153)][_0x366fca(0xf1)](_0x4045e3[_0x366fca(0xd7)],_0x4045e3),this['_dependencyManagerService'][_0x366fca(0x193)](_0x53dd88[_0x366fca(0x14c)],_0x53dd88[_0x366fca(0xec)],_0x4a3884)&&(_0x4045e3[_0x366fca(0x99)]=!0x0),_0x4045e3;}[_0x29bc89(0x154)](_0x35ed06,_0x4c7347,_0x2f3877){const _0x480448=_0x29bc89;var _0x12b660;for(const _0x135672 of _0x4c7347){const _0x2f1c4c=_0x35ed06[_0x135672];if(_0x2f1c4c==null)continue;const _0x329adc=Object['keys'](_0x2f1c4c);for(const _0x4fe794 of _0x329adc){const _0x239bf4=_0x2f1c4c[_0x4fe794];if(_0x239bf4==null)continue;const _0x5d622d=Object[_0x480448(0x160)](_0x239bf4);for(const _0x21d0b1 of _0x5d622d){const _0x43a372=this[_0x480448(0x19d)][_0x480448(0xd1)](_0x21d0b1),_0x304aaa=_0x239bf4[_0x21d0b1],{f:_0x4269e2,ranges:_0x56b1f3}=_0x304aaa;let _0xe2680c=!0x1;_0x43a372&&(_0xe2680c=!0x0);const {firstRow:_0x250a99,firstColumn:_0x1ced5d}=this[_0x480448(0xcb)](_0x56b1f3),_0x43ade8=this['_dependencyManagerService'][_0x480448(0x119)](_0x135672,_0x4fe794,_0x21d0b1),_0x201e2d=(_0x12b660=_0x43ade8==null?void 0x0:_0x43ade8[_0x480448(0x165)](0x0,0x0))!=null?_0x12b660:_0xf65b16[_0x480448(0x109)](this[_0x480448(0x19d)]),_0x1a36da=new _0xf65b16[(_0x480448(0x133))](_0x201e2d);for(let _0x2f3119=0x0;_0x2f3119<_0x56b1f3[_0x480448(0x12d)];_0x2f3119++){const _0x2967c6=_0x56b1f3[_0x2f3119],{startRow:_0xa1e6d7,startColumn:_0x518fb5,endRow:_0x47d556,endColumn:_0x13bc6b}=_0x2967c6;for(let _0x5d0a22=_0xa1e6d7;_0x5d0a22<=_0x47d556;_0x5d0a22++)for(let _0x5cb008=_0x518fb5;_0x5cb008<=_0x13bc6b;_0x5cb008++){const _0x230a50=_0x5cb008-_0x1ced5d,_0x4835c4=_0x5d0a22-_0x250a99;if(_0x230a50===0x0&&_0x4835c4===0x0){_0x1a36da[_0x480448(0xbf)]=_0x4269e2,_0x1a36da[_0x480448(0x14c)]=_0x135672,_0x1a36da[_0x480448(0xec)]=_0x4fe794,_0x1a36da['formulaId']=_0x21d0b1,_0x1a36da[_0x480448(0xf5)]=_0xf65b16[_0x480448(0x19b)][_0x480448(0xfa)],_0x1a36da['isCache']=_0xe2680c,_0x2f3877[_0x480448(0x98)](_0x1a36da),this['_dependencyTreeCache'][_0x480448(0xf1)](_0x1a36da[_0x480448(0xd7)],_0x1a36da),this['_dependencyManagerService'][_0x480448(0x11a)](_0x135672,_0x4fe794,_0x21d0b1,_0x1a36da),this['_dependencyManagerService'][_0x480448(0xeb)](_0x1a36da);continue;}const _0x39f573=new _0xf65b16[(_0x480448(0x174))]();_0x39f573[_0x480448(0xd7)]=(_0x43ade8==null?void 0x0:_0x43ade8[_0x480448(0x165)](_0x230a50,_0x4835c4))||_0xf65b16['generateRandomDependencyTreeId'](this[_0x480448(0x19d)]),_0x39f573['refTree']=_0x1a36da,_0x39f573[_0x480448(0x197)]=_0x230a50,_0x39f573[_0x480448(0x163)]=_0x4835c4,_0x39f573['isCache']=_0xe2680c,_0x39f573[_0x480448(0xf5)]=_0xf65b16[_0x480448(0x19b)][_0x480448(0xfa)],this[_0x480448(0x19d)]['addOtherFormulaDependency'](_0x135672,_0x4fe794,_0x21d0b1,_0x39f573),this['_dependencyManagerService'][_0x480448(0xeb)](_0x39f573),_0x2f3877[_0x480448(0x98)](_0x39f573),this[_0x480448(0x153)][_0x480448(0xf1)](_0x39f573['treeId'],_0x39f573);}}this[_0x480448(0x19d)][_0x480448(0x113)](_0x21d0b1);}}}}[_0x29bc89(0x17b)](_0x5c154d,_0x430d10,_0x1ff354,_0x17debc){const _0x159d16=_0x29bc89;for(const _0x36bfa9 of _0x5c154d){const _0x319dd1=_0x430d10[_0x36bfa9];if(_0x319dd1==null)continue;const _0x10b958=Object[_0x159d16(0x160)](_0x319dd1);for(const _0x2421c6 of _0x10b958){const _0x4ea762=new _0x368c08['ObjectMatrix'](_0x319dd1[_0x2421c6]||{}),_0x3b03ba=new Map();_0x4ea762[_0x159d16(0x15a)]((_0x4807f6,_0x4704bd,_0x596cd6)=>{const _0x135e64=_0x159d16;if(_0x596cd6==null)return!0x0;const {x:_0x1bb2a4=0x0,y:_0x3583ab=0x0,si:_0x559843}=_0x596cd6;if(!(_0x1bb2a4===0x0&&_0x3583ab===0x0&&_0x559843!=null))return!0x0;const _0x41d386=this[_0x135e64(0x9f)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd,_0x1ff354,_0x596cd6),_0x403e52=this['_dependencyManagerService'][_0x135e64(0xdc)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd);_0x403e52!=null?_0x41d386['treeId']=_0x403e52:(this[_0x135e64(0x19d)][_0x135e64(0xd3)](_0x36bfa9,_0x2421c6,_0x4807f6,_0x4704bd,_0x41d386),this[_0x135e64(0x19d)]['addFormulaDependencyByDefinedName'](_0x41d386)),_0x3b03ba[_0x135e64(0xf1)](_0x559843,_0x41d386),_0x17debc[_0x135e64(0x98)](_0x41d386),this[_0x135e64(0x153)][_0x135e64(0xf1)](_0x41d386['treeId'],_0x41d386);}),_0x4ea762[_0x159d16(0x15a)]((_0x32f8de,_0x3b8ca9,_0xdae524)=>{const _0x1cd729=_0x159d16;if(_0xdae524==null)return!0x0;const {x:_0x54171f=0x0,y:_0x5698c2=0x0,si:_0x46a5b0}=_0xdae524;if(_0x54171f===0x0&&_0x5698c2===0x0&&_0x46a5b0!=null)return!0x0;let _0x34a1cc;if(_0x46a5b0&&_0x3b03ba[_0x1cd729(0xb5)](_0x46a5b0)){const _0x5eb13b=_0x3b03ba[_0x1cd729(0x10f)](_0x46a5b0);_0x34a1cc=this[_0x1cd729(0x11d)](_0x5eb13b,_0xdae524);}else _0x34a1cc=this[_0x1cd729(0x9f)](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9,_0x1ff354,_0xdae524);const _0x51988c=this['_dependencyManagerService']['getFormulaDependency'](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9);_0x51988c!=null?_0x34a1cc['treeId']=_0x51988c:(this[_0x1cd729(0x19d)][_0x1cd729(0xd3)](_0x36bfa9,_0x2421c6,_0x32f8de,_0x3b8ca9,_0x34a1cc),this[_0x1cd729(0x19d)][_0x1cd729(0xeb)](_0x34a1cc)),_0x17debc[_0x1cd729(0x98)](_0x34a1cc),this['_dependencyTreeCache']['set'](_0x34a1cc[_0x1cd729(0xd7)],_0x34a1cc);}),_0x3b03ba['clear']();}}}[_0x29bc89(0x9f)](_0x215423,_0x1319bf,_0x35224b,_0x55bc04,_0x1dd61c,_0x5f14f2){const _0x2d1d99=_0x29bc89,{f:_0x5f2a7a,x:_0x3ce3f8=0x0,y:_0x4ab40a=0x0}=_0x5f14f2,_0x4a53bd=new _0xf65b16['FormulaDependencyTree'](_0xf65b16[_0x2d1d99(0x109)](this['_dependencyManagerService'])),_0x4fb012=_0x1dd61c[_0x215423][_0x1319bf];return _0x4a53bd[_0x2d1d99(0xbf)]=_0x5f2a7a,_0x4a53bd[_0x2d1d99(0x14c)]=_0x215423,_0x4a53bd[_0x2d1d99(0xec)]=_0x1319bf,_0x4a53bd[_0x2d1d99(0x167)]=_0x35224b,_0x4a53bd[_0x2d1d99(0x14b)]=_0x55bc04,_0x4a53bd[_0x2d1d99(0x95)]=_0x4fb012['rowCount'],_0x4a53bd[_0x2d1d99(0x16a)]=_0x4fb012[_0x2d1d99(0x16a)],_0x4a53bd;}[_0x29bc89(0xf4)](){const _0x5d3f7a=_0x29bc89,_0x4d9432=[],_0x91a053=new Set(),_0x224f97=this[_0x5d3f7a(0x1a1)][_0x5d3f7a(0xe7)](),_0x3cfb04=this['_currentConfigService'][_0x5d3f7a(0x10c)](),_0x323eeb=this[_0x5d3f7a(0x19d)]['searchDependency'](_0x3cfb04),_0x321b80=this[_0x5d3f7a(0xe6)][_0x5d3f7a(0xf0)](_0x3cfb04);for(const _0x5b273d of _0x321b80)_0x323eeb[_0x5d3f7a(0x11e)](_0x5b273d);for(const [_0xd870e1,_0x6fb6]of this[_0x5d3f7a(0x153)])(_0x224f97||_0x6fb6[_0x5d3f7a(0x158)]||_0x6fb6[_0x5d3f7a(0xbb)](this['_currentConfigService']['getDirtyNameMap']())||_0x323eeb[_0x5d3f7a(0xb5)](_0xd870e1)&&!_0x6fb6[_0x5d3f7a(0x150)](this[_0x5d3f7a(0x1a1)][_0x5d3f7a(0x18e)]()))&&!_0x91a053[_0x5d3f7a(0xb5)](_0xd870e1)&&(_0x4d9432[_0x5d3f7a(0x98)](_0x6fb6),_0x91a053[_0x5d3f7a(0x11e)](_0xd870e1));for(const [_0x3c9969,_0x45ed4d]of this[_0x5d3f7a(0x153)])_0x45ed4d[_0x5d3f7a(0x157)]||(_0x45ed4d[_0x5d3f7a(0x13a)]['length']=0x0);return _0x4d9432;}['_getTreeById'](_0xf8aa70){const _0x44b850=_0x29bc89;return this[_0x44b850(0x153)][_0x44b850(0x10f)](_0xf8aa70);}['_getTreeNode'](_0x109f23){const _0x55d5bd=_0x29bc89;return _0xf65b16[_0x55d5bd(0x102)](_0x109f23[_0x55d5bd(0x14c)],_0x109f23['formula'],this[_0x55d5bd(0x123)],this[_0x55d5bd(0xa3)],this[_0x55d5bd(0x1a1)]);}*[_0x29bc89(0x10a)](_0x23b407,_0x55b313){const _0x2162a3=_0x29bc89,_0x535bc8=_0x23b407,_0x32f130=new Set();for(;_0x535bc8[_0x2162a3(0x12d)]>0x0;){const _0x5a3829=_0x535bc8[_0x2162a3(0xc6)]();if(_0x32f130[_0x2162a3(0x149)](),_0x5a3829===void 0x0||_0x5a3829[_0x2162a3(0xb3)]())continue;if(_0x5a3829[_0x2162a3(0xa4)]()){yield _0x5a3829,_0x5a3829[_0x2162a3(0x96)](),_0x55b313[_0x2162a3(0x11e)](_0x5a3829[_0x2162a3(0xd7)]);continue;}const _0x2bd732=this[_0x2162a3(0x19d)][_0x2162a3(0xb8)](_0x5a3829[_0x2162a3(0x9d)](),_0x55b313),_0x224192=this[_0x2162a3(0xe6)][_0x2162a3(0xf0)](_0x5a3829[_0x2162a3(0x9d)](),_0x55b313);for(const _0x30cd2e of _0x224192)_0x2bd732[_0x2162a3(0x11e)](_0x30cd2e);for(const _0x4b0cb3 of _0x2bd732){const _0x1bfb10=this[_0x2162a3(0x153)][_0x2162a3(0x10f)](_0x4b0cb3);if(!_0x1bfb10){console['error'](_0x2162a3(0x103),_0x4b0cb3);continue;}_0x1bfb10[_0x2162a3(0xa4)]()||_0x5a3829['isSkip']()||_0x32f130['add'](_0x1bfb10);}if(_0x2bd732[_0x2162a3(0x149)](),_0x32f130[_0x2162a3(0xb1)]===0x0)yield _0x5a3829,_0x5a3829[_0x2162a3(0x96)](),_0x55b313['add'](_0x5a3829[_0x2162a3(0xd7)]);else{_0x5a3829[_0x2162a3(0xce)](),_0x535bc8[_0x2162a3(0x98)](_0x5a3829);for(const _0xccac40 of _0x32f130)_0x535bc8[_0x2162a3(0x98)](_0xccac40);}}_0x535bc8[_0x2162a3(0x12d)]=0x0,_0x32f130[_0x2162a3(0x149)]();}[_0x29bc89(0x19e)](_0x4fd29e){const _0x5a3302=_0x29bc89,_0x119275=[],_0x50dbb0=new Set();for(const _0x533aba of this['_traverse'](_0x4fd29e,_0x50dbb0))_0x119275[_0x5a3302(0x98)](_0x533aba);return _0x119275;}async[_0x29bc89(0xb2)](){const _0x32dd44=_0x29bc89;return await this[_0x32dd44(0x16c)](),Array[_0x32dd44(0x134)](this['_dependencyTreeCache']['values']());}[_0x29bc89(0xf2)](_0x298c2b){const _0x1b5138=_0x29bc89;return this['_dependencyManagerService'][_0x1b5138(0xb8)](_0x298c2b[_0x1b5138(0x9d)]());}[_0x29bc89(0x194)](_0x384fab){const _0x18af6e=_0x29bc89,_0x4e895a=new Set(),_0x289a42=_0x384fab[_0x18af6e(0x13a)];for(const [_0x1c85ba,_0x2547c0]of this[_0x18af6e(0x153)])for(const _0x3ece63 of _0x289a42){const _0x1ffe54=_0x3ece63[_0x18af6e(0x14c)],_0x1a160a=_0x3ece63['sheetId'];if(_0x2547c0['unitId']!==_0x1ffe54||_0x2547c0[_0x18af6e(0xec)]!==_0x1a160a)continue;const _0x5742da=_0x3ece63[_0x18af6e(0x162)];if(_0x2547c0[_0x18af6e(0x127)](_0x5742da)){_0x4e895a['add'](_0x1c85ba);break;}}return _0x4e895a;}[_0x29bc89(0xf7)](){const _0x1b2592=_0x29bc89;this[_0x1b2592(0x19d)][_0x1b2592(0x16d)]();}[_0x29bc89(0x17c)](){const _0x1787f8=_0x29bc89;this[_0x1787f8(0x142)][_0x1787f8(0x149)](),this['_dependencyTreeCache']['clear'](),this[_0x1787f8(0x19d)][_0x1787f8(0x14d)]();}}const _0x4d2de1=_0x29bc89(0xa7),_0x1e18b5={0x0:'z',0x1:'6',0x2:'x',0x3:'N',0x4:'L',0x5:'1',0x6:'W',0x7:'J',0x8:'9',0x9:'R','L':'0','V':'2','I':'3','M':'4','s':'5','C':'7','S':'8','q':'a','a':'b','x':'c','A':'d','K':'e','B':'f','o':'g','F':'h','J':'i','X':'j','j':'k','\x20':'l','h':'m','i':'n','m':'o','p':'p','w':'q','E':'r','g':'s','R':'t','f':'u','P':'v','u':'w','y':'y','U':'A','b':'B','Z':'C','v':'D','G':'E','T':'F','H':'G','c':'H','n':'I','N':'K','d':'M','e':'O','r':'P','W':'Q','k':'S','Q':'T','Y':'U','D':'V','z':'X','l':'Y','O':'Z','t':'\x20'};class _0x41cd79 extends _0xf65b16[_0x29bc89(0xe1)]{async[_0x29bc89(0xe4)](_0x2e94b6=!0x1){const _0x56791a=_0x29bc89;_0x2e94b6?this['_runtimeService'][_0x56791a(0x97)](_0xf65b16['FormulaExecuteStageType'][_0x56791a(0x143)]):this[_0x56791a(0xba)]['setFormulaExecuteStage'](_0xf65b16[_0x56791a(0x115)][_0x56791a(0xa8)]),this[_0x56791a(0x101)][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xb0)]());const _0x357399=await this[_0x56791a(0xf3)][_0x56791a(0xb6)](this[_0x56791a(0x9b)]),_0x3eece0=this[_0x56791a(0x182)];_0x2e94b6?(this[_0x56791a(0xba)][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x12c)]),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x357399['length'])):(this['_runtimeService'][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x180)]),this[_0x56791a(0xba)][_0x56791a(0xc8)](_0x357399['length'])),this[_0x56791a(0x101)][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xb0)]());let _0x2bb0c7=[];const _0x1d803e=this['_configService'][_0x56791a(0x189)](_0xf65b16[_0x56791a(0xb7)]),_0x33b106=(_0x1d803e==null?void 0x0:_0x1d803e[_0x56791a(0x91)])||_0xf65b16[_0x56791a(0xac)];let _0x28c86c=0x0;const _0x3df3b8=_0x357399[_0x56791a(0x12d)];for(;_0x357399[_0x56791a(0x12d)]>0x0;){const _0x869d9c=_0x357399[_0x56791a(0xc6)](),_0x5a409a=_0xf65b16[_0x56791a(0x102)](_0x869d9c[_0x56791a(0x14c)],_0x869d9c['formula'],this['_lexer'],this[_0x56791a(0xa3)],this[_0x56791a(0x1a1)]),_0x1a88ba={'node':_0x5a409a,'refOffsetX':_0x869d9c['refOffsetX'],'refOffsetY':_0x869d9c['refOffsetY']},_0x3d4dd5=_0x869d9c['getDirtyData'];if(_0x28c86c%_0x33b106===0x0&&(await new Promise(_0x49a9d6=>{const _0x55a666=_0x56791a,_0x507125=_0x368c08[_0x55a666(0xaf)](_0x49a9d6);_0x2bb0c7['push'](_0x507125);}),_0x2e94b6?(this[_0x56791a(0xba)]['setFormulaExecuteStage'](_0xf65b16[_0x56791a(0x115)][_0x56791a(0xab)]),this[_0x56791a(0xba)]['setCompletedArrayFormulasCount'](_0x28c86c+0x1)):(this['_runtimeService'][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)][_0x56791a(0x129)]),this[_0x56791a(0xba)]['setCompletedFormulasCount'](_0x28c86c+0x1)),this['_executionInProgressListener$'][_0x56791a(0x187)](this['_runtimeService'][_0x56791a(0xb0)]()),this[_0x56791a(0xba)][_0x56791a(0x14e)]()||_0x1a88ba==null&&_0x3d4dd5==null)){this[_0x56791a(0xba)][_0x56791a(0x97)](_0xf65b16[_0x56791a(0x115)]['IDLE']),this[_0x56791a(0xba)][_0x56791a(0x170)](),this['_executionCompleteListener$'][_0x56791a(0x187)](this[_0x56791a(0xba)][_0x56791a(0xda)]());return;}this['_runtimeService']['setCurrent'](_0x869d9c['row'],_0x869d9c['column'],_0x869d9c[_0x56791a(0x95)],_0x869d9c[_0x56791a(0x16a)],_0x869d9c[_0x56791a(0xec)],_0x869d9c[_0x56791a(0x14c)]);let _0x5c9d92;if(_0x3d4dd5!=null&&_0x869d9c[_0x56791a(0x93)]!=null){const {runtimeCellData:_0x53fd97,dirtyRanges:_0x1a2e76}=_0x3d4dd5(this['_currentConfigService']['getDirtyData'](),this[_0x56791a(0xba)][_0x56791a(0xda)]());this[_0x56791a(0xba)][_0x56791a(0x169)](_0x869d9c[_0x56791a(0x93)],_0x53fd97),this['_runtimeService']['setRuntimeFeatureRange'](_0x869d9c[_0x56791a(0x93)],_0x1a2e76);}else _0x1a88ba!=null&&(_0x3eece0[_0x56791a(0x144)](_0x1a88ba['node'])?_0x5c9d92=await _0x3eece0[_0x56791a(0x104)](_0x1a88ba):_0x5c9d92=_0x3eece0[_0x56791a(0xc7)](_0x1a88ba),_0x869d9c['formulaId']!=null?this['_runtimeService'][_0x56791a(0x159)](_0x869d9c[_0x56791a(0x94)],_0x869d9c[_0x56791a(0x197)],_0x869d9c[_0x56791a(0x163)],_0x5c9d92):this[_0x56791a(0xba)][_0x56791a(0xd8)](_0x5c9d92));_0x5a409a['resetCalculationState'](),_0x28c86c++;}return _0x2bb0c7[_0x56791a(0x13b)](_0x443d2e=>_0x443d2e()),_0x2bb0c7=[],_0x3df3b8>0x0?this[_0x56791a(0xba)][_0x56791a(0x140)]():_0x2e94b6||this[_0x56791a(0xba)][_0x56791a(0x164)](),this['_runtimeService'][_0x56791a(0xda)]();}}class _0x2d635f extends _0xf65b16[_0x29bc89(0x185)]{constructor(){const _0x2bba08=_0x29bc89;super(...arguments),_0x55d84e(this,_0x2bba08(0x14f),new Map()),_0x55d84e(this,_0x2bba08(0xe8),new _0x368c08[(_0x2bba08(0xa6))](!0x0));}[_0x29bc89(0x107)](){const _0x49f9a4=_0x29bc89;this['_otherFormulaData'][_0x49f9a4(0x149)](),this[_0x49f9a4(0x171)][_0x49f9a4(0x149)](),this[_0x49f9a4(0x15b)][_0x49f9a4(0x149)](),this[_0x49f9a4(0xe8)]['clear'](),this[_0x49f9a4(0x14f)]['clear'](),this[_0x49f9a4(0xa5)](),this['_otherFormulaDataMainData'][_0x49f9a4(0x149)]();}[_0x29bc89(0x11a)](_0x122846,_0x3826f4,_0x5253b1,_0x5d4af9){const _0x5a0719=_0x29bc89;this[_0x5a0719(0xbc)][_0x5a0719(0xb5)](_0x122846)||this[_0x5a0719(0xbc)][_0x5a0719(0xf1)](_0x122846,new Map());const _0x2ce12a=this[_0x5a0719(0xbc)]['get'](_0x122846);_0x2ce12a['has'](_0x3826f4)||_0x2ce12a[_0x5a0719(0xf1)](_0x3826f4,new Map());const _0x3cf5a0=_0x2ce12a[_0x5a0719(0x10f)](_0x3826f4);_0x3cf5a0[_0x5a0719(0xb5)](_0x5253b1)||_0x3cf5a0['set'](_0x5253b1,new _0x368c08[(_0x5a0719(0xb9))]()),_0x3cf5a0[_0x5a0719(0x10f)](_0x5253b1)[_0x5a0719(0xd0)](_0x5d4af9[_0x5a0719(0x197)],_0x5d4af9[_0x5a0719(0x163)],_0x5d4af9[_0x5a0719(0xd7)]);}[_0x29bc89(0xbd)](_0x10aadd,_0xf0981c,_0xe31143){const _0x20251d=_0x29bc89,_0xf575a7=this[_0x20251d(0xbc)][_0x20251d(0x10f)](_0x10aadd);if(_0xf575a7&&_0xf575a7['has'](_0xf0981c)){const _0xe5e629=_0xf575a7[_0x20251d(0x10f)](_0xf0981c);_0xe31143[_0x20251d(0x13b)](_0x2bfa24=>{const _0x164ad2=_0x20251d,_0x3e349a=_0xe5e629[_0x164ad2(0x10f)](_0x2bfa24);_0x3e349a!=null&&(_0x3e349a[_0x164ad2(0x15a)]((_0x4728e1,_0x1fb5e1,_0x28c798)=>{const _0x594e28=_0x164ad2;this[_0x594e28(0x179)](_0x28c798),this[_0x594e28(0x12e)](_0x28c798);}),_0xe5e629['delete'](_0x2bfa24),this[_0x164ad2(0x18a)][_0x164ad2(0x128)](_0x2bfa24));}),_0xe5e629['size']===0x0&&_0xf575a7[_0x20251d(0x128)](_0xf0981c),_0xf575a7[_0x20251d(0xb1)]===0x0&&this['_otherFormulaData'][_0x20251d(0x128)](_0x10aadd);}}[_0x29bc89(0x166)](_0x4f5f87,_0x2054d5){const _0x5bd323=_0x29bc89,_0x50c623=this[_0x5bd323(0xbc)][_0x5bd323(0x10f)](_0x4f5f87);if(_0x2054d5&&_0x50c623&&_0x50c623['has'](_0x2054d5)){const _0x168e2c=_0x50c623['get'](_0x2054d5);this[_0x5bd323(0x138)](_0x4f5f87,_0x2054d5);for(const _0x207280 of _0x168e2c[_0x5bd323(0x160)]()){const _0x32cfac=_0x168e2c[_0x5bd323(0x10f)](_0x207280);_0x32cfac!=null&&(_0x32cfac[_0x5bd323(0x15a)]((_0x2cff4e,_0x35fc42,_0x5a5e63)=>{const _0x226f2f=_0x5bd323;this[_0x226f2f(0x14f)][_0x226f2f(0x10f)](_0x5a5e63)&&this[_0x226f2f(0x12e)](_0x5a5e63);}),this[_0x5bd323(0x18a)][_0x5bd323(0x128)](_0x207280));}_0x168e2c[_0x5bd323(0x149)]();}else{if(_0x50c623){for(const _0x1fc0f9 of _0x50c623[_0x5bd323(0x160)]()){const _0x110d5e=_0x50c623[_0x5bd323(0x10f)](_0x1fc0f9);this[_0x5bd323(0x138)](_0x4f5f87,_0x1fc0f9);for(const _0x2319b4 of _0x110d5e[_0x5bd323(0x160)]()){const _0x4f3e14=_0x110d5e['get'](_0x2319b4);_0x4f3e14!=null&&(_0x4f3e14['forValue']((_0x921031,_0x2b1dad,_0x1f079f)=>{const _0x350069=_0x5bd323;this[_0x350069(0x14f)]['get'](_0x1f079f)&&this[_0x350069(0x12e)](_0x1f079f);}),this[_0x5bd323(0x18a)][_0x5bd323(0x128)](_0x2319b4));}}this['_otherFormulaData'][_0x5bd323(0x128)](_0x4f5f87);}}}[_0x29bc89(0x18b)](_0x3aa55b,_0x15d993,_0x20f2db,_0x5b4360){const _0x3c1b48=_0x29bc89;this['_featureFormulaData'][_0x3c1b48(0xb5)](_0x3aa55b)||this[_0x3c1b48(0x171)]['set'](_0x3aa55b,new Map());const _0x21d3cf=this[_0x3c1b48(0x171)]['get'](_0x3aa55b);_0x21d3cf[_0x3c1b48(0xb5)](_0x15d993)||_0x21d3cf['set'](_0x15d993,new Map()),_0x21d3cf[_0x3c1b48(0x10f)](_0x15d993)[_0x3c1b48(0xf1)](_0x20f2db,_0x5b4360[_0x3c1b48(0xd7)]);}[_0x29bc89(0x125)](_0x5c530d,_0x1855a9,_0x42bbca){const _0x24e522=_0x29bc89,_0x2a0dfc=this['_featureFormulaData'][_0x24e522(0x10f)](_0x5c530d);if(_0x2a0dfc&&_0x2a0dfc['has'](_0x1855a9)){const _0x179625=_0x2a0dfc['get'](_0x1855a9);_0x42bbca[_0x24e522(0x13b)](_0x4ba9bc=>{const _0x1e16f7=_0x24e522,_0x4aff57=_0x179625[_0x1e16f7(0x10f)](_0x4ba9bc);_0x4aff57!=null&&(this['_removeDependencyRTreeCache'](_0x4aff57),_0x179625['delete'](_0x4ba9bc),this[_0x1e16f7(0x12e)](_0x4aff57));});}}['clearFeatureFormulaDependency'](_0x2d3e5d,_0x9fe898){const _0x251a1a=_0x29bc89,_0x146bfe=this['_featureFormulaData'][_0x251a1a(0x10f)](_0x2d3e5d);if(_0x9fe898&&_0x146bfe&&_0x146bfe['has'](_0x9fe898)){const _0x4be644=_0x146bfe[_0x251a1a(0x10f)](_0x9fe898);this[_0x251a1a(0x138)](_0x2d3e5d,_0x9fe898),_0x4be644['forEach'](_0x1d164e=>{_0x1d164e!=null&&this['_removeAllTreeMap'](_0x1d164e);}),_0x4be644['clear']();}else _0x146bfe&&(_0x146bfe[_0x251a1a(0x13b)]((_0x1ac00e,_0xfc642d)=>{const _0x46fb6c=_0x251a1a;this[_0x46fb6c(0x138)](_0x2d3e5d,_0xfc642d),_0x1ac00e[_0x46fb6c(0x13b)](_0x305ab7=>{_0x305ab7!=null&&this['_removeAllTreeMap'](_0x305ab7);});}),this[_0x251a1a(0x171)][_0x251a1a(0x128)](_0x2d3e5d));}['addFormulaDependency'](_0x560a82,_0x13f4cf,_0xf5a9c5,_0x55ab2e,_0x2606d0){const _0x4c095e=_0x29bc89;this[_0x4c095e(0x15b)][_0x4c095e(0xb5)](_0x560a82)||this['_formulaData'][_0x4c095e(0xf1)](_0x560a82,new Map());const _0x58dbaa=this[_0x4c095e(0x15b)][_0x4c095e(0x10f)](_0x560a82);_0x58dbaa[_0x4c095e(0xb5)](_0x13f4cf)||_0x58dbaa['set'](_0x13f4cf,new _0x368c08['ObjectMatrix']()),_0x58dbaa[_0x4c095e(0x10f)](_0x13f4cf)[_0x4c095e(0xd0)](_0xf5a9c5,_0x55ab2e,_0x2606d0[_0x4c095e(0xd7)]);}[_0x29bc89(0x145)](_0x428c6c,_0x386a76,_0x463a2d,_0x338d23){const _0x47dba5=_0x29bc89,_0x1a8196=this['_formulaData'][_0x47dba5(0x10f)](_0x428c6c);if(_0x1a8196&&_0x1a8196[_0x47dba5(0xb5)](_0x386a76)){const _0x435a75=_0x1a8196[_0x47dba5(0x10f)](_0x386a76),_0xc509f=_0x435a75[_0x47dba5(0x165)](_0x463a2d,_0x338d23);if(_0xc509f==null)return;this[_0x47dba5(0x179)](_0xc509f),_0x435a75[_0x47dba5(0x1a0)](_0x463a2d,_0x338d23),this[_0x47dba5(0x12e)](_0xc509f);}}[_0x29bc89(0x13e)](_0x44149b,_0x2b7744){const _0x125f1c=_0x29bc89,_0x1a3d4b=this['_formulaData'][_0x125f1c(0x10f)](_0x44149b);if(_0x2b7744&&_0x1a3d4b&&_0x1a3d4b[_0x125f1c(0xb5)](_0x2b7744)){const _0x4957c4=_0x1a3d4b['get'](_0x2b7744);this[_0x125f1c(0x138)](_0x44149b,_0x2b7744),_0x4957c4[_0x125f1c(0x15a)]((_0x11733a,_0x405278,_0x3086ca)=>{const _0x3dc805=_0x125f1c;if(_0x3086ca==null)return!0x0;this[_0x3dc805(0x12e)](_0x3086ca);}),_0x4957c4[_0x125f1c(0x107)]();}else _0x1a3d4b&&(_0x1a3d4b[_0x125f1c(0x13b)]((_0x24e9b2,_0x335391)=>{const _0x1c01ba=_0x125f1c;this[_0x1c01ba(0x138)](_0x44149b,_0x335391),_0x24e9b2[_0x1c01ba(0x15a)]((_0x3bba66,_0x2e56a9,_0x5caf5c)=>{const _0xef5ab=_0x1c01ba;if(_0x5caf5c==null)return!0x0;this[_0xef5ab(0x12e)](_0x5caf5c);});}),this[_0x125f1c(0x15b)][_0x125f1c(0x128)](_0x44149b));}[_0x29bc89(0x179)](_0x2f5876){const _0x1d4db5=_0x29bc89;if(_0x2f5876==null)return;const _0x50c7d1=this[_0x1d4db5(0x14f)][_0x1d4db5(0x10f)](_0x2f5876);if(_0x50c7d1){const _0x1dc4e4=[];for(const [_0xc7ba45,_0x25af98]of _0x50c7d1)for(const [_0x2e341d,_0x3ddd19]of _0x25af98)_0x1dc4e4[_0x1d4db5(0x98)]({'unitId':_0xc7ba45,'sheetId':_0x2e341d,'range':_0x3ddd19,'id':_0x2f5876});this[_0x1d4db5(0xe8)][_0x1d4db5(0x16f)](_0x1dc4e4);}}[_0x29bc89(0xc9)](_0x976797,_0x39c4e5){const _0x29948a=_0x29bc89,_0x43e287=this[_0x29948a(0x17f)][_0x29948a(0x10f)](_0x976797);if(_0x43e287){const _0x45a7ef=_0x43e287['get'](_0x39c4e5);if(_0x45a7ef){for(const _0x584cfa of _0x45a7ef)this['_removeDependencyRTreeCache'](_0x584cfa),this['_removeAllTreeMap'](_0x584cfa);_0x45a7ef[_0x29948a(0x149)]();}}}[_0x29bc89(0x16d)](){const _0x1b6368=_0x29bc89;this[_0x1b6368(0xe8)]['openKdTree']();}['closeKdTree'](){const _0x1c987e=_0x29bc89;this[_0x1c987e(0xe8)]['closeKdTree']();}[_0x29bc89(0x12e)](_0x17d5d9){const _0x31cdcf=_0x29bc89;_0x17d5d9!=null&&this[_0x31cdcf(0x14f)][_0x31cdcf(0x128)](_0x17d5d9);}['_addAllTreeMap'](_0x5ec00c){const _0x5a6fef=_0x29bc89;var _0x4b83ef,_0x59791c;const _0x315c5f=_0x5ec00c[_0x5a6fef(0x13a)];let _0x5c18de=this[_0x5a6fef(0x14f)][_0x5a6fef(0x10f)](_0x5ec00c[_0x5a6fef(0xd7)]);for(let _0x8488a5=0x0;_0x8488a5<_0x315c5f[_0x5a6fef(0x12d)];_0x8488a5++){const _0x471cb0=_0x315c5f[_0x8488a5];let {unitId:_0xfc70ff,sheetId:_0x9ef6c6,range:_0x4d0f75}=_0x471cb0;_0x5c18de||(_0x5c18de=new Map(),this[_0x5a6fef(0x14f)][_0x5a6fef(0xf1)](_0x5ec00c[_0x5a6fef(0xd7)],_0x5c18de)),_0x5c18de[_0x5a6fef(0xb5)](_0xfc70ff)||_0x5c18de['set'](_0xfc70ff,new Map());const _0x2be520=(_0x4b83ef=_0x5c18de==null?void 0x0:_0x5c18de['get'](_0xfc70ff))==null?void 0x0:_0x4b83ef[_0x5a6fef(0x10f)](_0x9ef6c6);_0x2be520&&(_0x4d0f75={'startRow':Math[_0x5a6fef(0x15f)](_0x4d0f75[_0x5a6fef(0x196)],_0x2be520[_0x5a6fef(0x196)]),'startColumn':Math[_0x5a6fef(0x15f)](_0x4d0f75[_0x5a6fef(0x19c)],_0x2be520['startColumn']),'endRow':Math['max'](_0x4d0f75[_0x5a6fef(0x172)],_0x2be520[_0x5a6fef(0x172)]),'endColumn':Math[_0x5a6fef(0xc2)](_0x4d0f75[_0x5a6fef(0x90)],_0x2be520[_0x5a6fef(0x90)])}),(_0x59791c=_0x5c18de[_0x5a6fef(0x10f)](_0xfc70ff))==null||_0x59791c[_0x5a6fef(0xf1)](_0x9ef6c6,_0x4d0f75);}}}var _0x3cb81b=Object[_0x29bc89(0x130)],_0x32e5b9=(_0x23c12d,_0x49fe9f,_0x22ed61,_0x3a1461)=>{for(var _0x1e49ad=_0x3a1461>0x1?void 0x0:_0x3a1461?_0x3cb81b(_0x49fe9f,_0x22ed61):_0x49fe9f,_0x3b44d1=_0x23c12d['length']-0x1,_0x2f31dd;_0x3b44d1>=0x0;_0x3b44d1--)(_0x2f31dd=_0x23c12d[_0x3b44d1])&&(_0x1e49ad=_0x2f31dd(_0x1e49ad)||_0x1e49ad);return _0x1e49ad;};const _0x56975f=Number['parseInt'](0x697db262);_0x305b8d[_0x29bc89(0x116)]=class extends _0xf65b16[_0x29bc89(0x183)]{[_0x29bc89(0xdd)](){const _0x3c4b3d=_0x29bc89;var _0x444adb,_0x21b38e;this[_0x3c4b3d(0xed)]()?(this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)]([_0xf65b16[_0x3c4b3d(0xa2)],{'useClass':_0x5c3850}]),(_0x444adb=this[_0x3c4b3d(0x146)])!=null&&_0x444adb['notExecuteFormula']||[[_0xf65b16[_0x3c4b3d(0x110)],{'useClass':_0x41cd79}],[_0xf65b16[_0x3c4b3d(0x190)],{'useClass':_0x2d635f}],[_0xf65b16[_0x3c4b3d(0x181)],{'useClass':_0x36933d}]][_0x3c4b3d(0x13b)](_0x4fec35=>this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)](_0x4fec35))):(this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)]([_0xf65b16['LexerTreeBuilder'],{'useClass':_0xf65b16[_0x3c4b3d(0xa2)]}]),(_0x21b38e=this[_0x3c4b3d(0x146)])!=null&&_0x21b38e[_0x3c4b3d(0xa9)]||[[_0xf65b16[_0x3c4b3d(0x110)],{'useClass':_0xf65b16[_0x3c4b3d(0xe1)]}],[_0xf65b16[_0x3c4b3d(0x190)],{'useClass':_0xf65b16[_0x3c4b3d(0xde)]}],[_0xf65b16[_0x3c4b3d(0x181)],{'useClass':_0xf65b16['FormulaDependencyGenerator']}]][_0x3c4b3d(0x13b)](_0x247f28=>this[_0x3c4b3d(0xff)][_0x3c4b3d(0x11e)](_0x247f28)));}[_0x29bc89(0xed)](){const _0x4ca5af=_0x29bc89;var _0x3b3413;const _0x5d762a=(_0x3b3413=this[_0x4ca5af(0x161)][_0x4ca5af(0x189)](_0x68c09b[_0x4ca5af(0x191)]))!=null?_0x3b3413:{},{ls:_0x58526c,pbk:_0x5095ae}=_0x5d762a;if(!_0x58526c||!_0x5095ae)return!0x1;const _0x1f5c6f=_0x68c09b[_0x4ca5af(0x12f)](_0x4d2de1,_0x1e18b5),_0x23ec0f=new Function('return\x20'+_0x1f5c6f)()(_0x58526c,_0x5095ae),_0x206102=_0x23ec0f[_0x4ca5af(0x176)];return _0x23ec0f['valid']&&_0x68c09b[_0x4ca5af(0x147)](_0x206102,'sf',_0x56975f)?_0x68c09b['getSheetFeatureLimit'](_0x206102,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x305b8d[_0x29bc89(0x116)]=_0x32e5b9([_0x368c08['DependentOn'](_0x68c09b[_0x29bc89(0x188)])],_0x305b8d['UniverProFormulaEnginePlugin']),_0x305b8d['LexerTreeProBuilder']=_0x5c3850,Object[_0x29bc89(0x160)](_0xf65b16)['forEach'](_0x194bb6=>{const _0x8871f7=_0x29bc89;_0x194bb6!==_0x8871f7(0x186)&&!Object[_0x8871f7(0x198)][_0x8871f7(0xbe)]['call'](_0x305b8d,_0x194bb6)&&Object[_0x8871f7(0x155)](_0x305b8d,_0x194bb6,{'enumerable':!0x0,'get':()=>_0xf65b16[_0x194bb6]});}),Object[_0x29bc89(0x155)](_0x305b8d,Symbol[_0x29bc89(0x15d)],{'value':_0x29bc89(0x148)});}));function _0x462c(){const _0x721669=['_getUpdateTreeListAndMakeDependency','type','featureDirtyRanges','_startFormulaDependencyTreeModel','COLON','getDirtyData','OTHER_FORMULA','getStartIndex','clearArrayObjectCache','matchToken','children','_injector','_xlpmPrefix','_executionInProgressListener$','generateAstNode','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','executeAsync','exports','ErrorType','reset','PLUS','generateRandomDependencyTreeId','_traverse','597483bANFqH','getDirtyRanges','_checkColonNodeForExprTree','NEW_EXCEL_FUNCTIONS','get','ICalculateFormulaService','function','4YfOQEv','addOtherFormulaDependencyMainData','_isCyclicUtilMap','FormulaExecuteStageType','UniverProFormulaEnginePlugin','6090688QgosHo','DEFAULT_TOKEN_TYPE_PARAMETER','getOtherFormulaDependency','addOtherFormulaDependency','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','isReferenceString','_createVirtualFDtree','add','_handleTextNodeForExprTree','startIndex','_clearFunctionString','2905134imMaBc','_lexer','_currentUnitId','removeFeatureFormulaDependency','values','inRangeData','delete','CURRENTLY_CALCULATING','error','_getTableNameFromStructuredRef','START_CALCULATION_ARRAY_FORMULA','length','_removeAllTreeMap','unshiftString','getOwnPropertyDescriptor','1593552YGJnsx','resolve','FormulaDependencyTree','from','_getAllDependencyJson','slice','@univerjs/core','_removeDependencyRTreeCacheById','_checkAddBracketForMinus','rangeList','forEach','prefixToken','_handleChildrenForExprTree','clearFormulaDependency','_convertDirtyRangesToUnitRange','markedAsSuccessfullyExecuted','_otherFormulaManagerService','_formulaDependencyTreeModel','START_DEPENDENCY_ARRAY_FORMULA','checkAsyncNode','removeFormulaDependency','_config','isFeatureAuthorizedWithinTime','Module','clear','15CzfsgT','column','unitId','closeKdTree','isStopExecution','_allTreeMap','isExcludeRange','_xlfnPrefix','_generateExprTree','_dependencyTreeCache','_registerOtherFormulas','defineProperty','MINUS','isVirtual','isDirty','setRuntimeOtherData','forValue','_formulaData','amd','toStringTag','symbol','min','keys','_configService','range','refOffsetY','markedAsNoFunctionsExecuted','getValue','clearOtherFormulaDependency','row','_generateTreeList','setRuntimeFeatureCellData','columnCount','getOtherFormulaData','_initializeGenerateTreeList','openKdTree','_handleNewFunctionChild','bulkRemove','markedAsStopFunctionsExecuted','_featureFormulaData','endRow','dirtyRanges','FormulaDependencyTreeVirtual','treeBuilder','message','clearFeatureFormulaDependency','endsWith','_removeDependencyRTreeCache','_generateNewFunctionString','_registerFormulas','_endFormulaDependencyTreeModel','4527271IsuEWO','_checkIsCycleDependency','_definedNameMap','START_CALCULATION','IFormulaDependencyGenerator','_interpreter','UniverFormulaEnginePlugin','_resetPrefix','DependencyManagerBaseService','default','next','UniverLicensePlugin','getConfig','_otherFormulaDataMainData','addFeatureFormulaDependency','setDependencyTreeModelData','LexerNode','getExcludedRange','getUnitData','IDependencyManagerService','LS_CONFIG_KEY','Let\x20variable\x20name\x20\x22','getFeatureFormulaDependency','_getDependencyTreeChildrenIds','36IZEyZr','startRow','refOffsetX','prototype','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','\x22\x20is\x20duplicated.','FormulaDependencyTreeType','startColumn','_dependencyManagerService','_calculateRunList','_lambdaFunctionParameterSet','realDeleteValue','_currentConfigService','endColumn','intervalCount','getFormulaData','featureId','formulaId','rowCount','setSkip','setFormulaExecuteStage','push','isCache','value','_isCalculateTreeModel','_handleLambdaForExprTree','toRTreeItem','isArray','_createFDtree','_xlfn.','join','LexerTreeBuilder','_astTreeBuilder','isAdded','_restDependencyTreeId','RTree','/*tKg\x20JiR-AJgqa\x20KtpEKBKE-RKhp\x20qRKt*/BfixRJmitAKxEypRJmi(\x20JxKigK,tpfa\x20JxNKy)t{ttttREyt{ttttttttxmigRt\x20JxKigKniBmrqERUEEqyt=t\x20JxKigK.gp\x20JR(\x27-\x27);ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma(\x20JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE(\x20JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH\x20maq\x20kxmpKt!==t\x27fiAKBJiKA\x27t&&tgK\x20BtJigRqixKmBt6mEjKEH\x20maq\x20kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t\x27fiAKBJiKA\x27t&&tRypKmBtuJiAmu.\x20mxqRJmit!==t\x27fiAKBJiKA\x27;ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK\x20Bt:t(JgbEmugKEt?tuJiAmut:to\x20maq\x20QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq\x20JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa\x20JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF(\x27*.\x27))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g\x20JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF(\x27.\x27)t&&tFmgR.KiAg6JRF(\x27.\x27t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq\x20gK;tttttttt}tttttttt\x20KRtAmhqJiDq\x20JAt=tBq\x20gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq\x20JAt=t(AmhqJit&&tAmhqJi.\x20KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t\x20mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt(\x20mxqRJmi.FmgRiqhKt===t\x27\x20mxq\x20FmgR\x27)t{ttttttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttttttt}tttttttt}tK\x20gKt{ttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttt}ttttttttxmigRtPq\x20JAt=tgJoiDq\x20JAt&&tAmhqJiDq\x20JA;ttttttttEKRfEit{ttttttttttttPq\x20JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq\x20JA:tBq\x20gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}','START_DEPENDENCY','notExecuteFormula','Lambda\x20parameter\x20name\x20\x22','CURRENTLY_CALCULATING_ARRAY_FORMULA','DEFAULT_INTERVAL_COUNT','trim','object','requestImmediateMacroTask','getRuntimeState','size','_getAllTreeList','isSkip','getNewFormulaWithPrefix','has','generate','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','searchDependency','ObjectMatrix','_runtimeService','dependencySheetName','_otherFormulaData','removeOtherFormulaDependency','hasOwnProperty','formula','VALUE','UniverProLicense','max','_clearPrefix','_xlpm.','getToken','pop','execute','setTotalFormulasToCalculate','removeFormulaDependencyByDefinedName','_updateRangeFlatten','_getFirstCellOfRange','SUFFIX_TOKEN_SET','getChildren','setAdded','DEFAULT_TOKEN_TYPE_ROOT','setValue','hasOtherFormulaDataMainData','_getCurNodeTypeForExprTree','addFormulaDependency','266370vjCSoS','596308SZqhlL','_hasNewExcelFunction','treeId','setRuntimeData','DEFAULT_TOKEN_LET_FUNCTION_NAME','getAllRuntimeData','splitTableStructuredRef','getFormulaDependency','_initializeWithOverride','DependencyManagerService','dispose','enableCycleDependency','CalculateFormulaService','FEATURE_FORMULA','FormulaDependencyGenerator','_apply','@univerjs-pro/license','_dependencyRTreeCacheForAddressFunction','isForceCalculate','_dependencyRTreeCache','_getFeatureFormulaTree','UniverCore','addFormulaDependencyByDefinedName','subUnitId','_initLicenseValid','@univerjs/engine-formula','getClearDependencyTreeCache','bulkSearch','set','_getDependencyTreeParenIds','_formulaDependencyGenerator'];_0x462c=function(){return _0x721669;};return _0x462c();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
4
4
  "private": false,
5
5
  "description": "UniverSheet pro base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,16 +57,16 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/license": "0.15.3",
61
- "@univerjs/core": "0.15.3",
62
- "@univerjs/engine-formula": "0.15.3"
60
+ "@univerjs/engine-formula": "0.15.4",
61
+ "@univerjs-pro/license": "0.15.4",
62
+ "@univerjs/core": "0.15.4"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "^5.9.3",
67
67
  "vite": "^7.3.1",
68
- "vitest": "^4.0.16",
69
- "@univerjs-infra/shared": "0.15.3"
68
+ "vitest": "^4.0.18",
69
+ "@univerjs-infra/shared": "0.15.4"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",
@@ -1 +0,0 @@
1
- export declare const getLsInfoFuncStr = "/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH('-');ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z'Wb1zdwbz1'Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z'Wb1zdwbz1'Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z'Wb1zdwbz1';ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr('*.'))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr('.')Z&&ZrRmH.zb1m2wHr('.'Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z'fRNCfrRmH')Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}";