@univerjs-pro/engine-formula 0.15.5-insiders.20260228-2d2fc73 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x18095d=_0x496f;function _0x496f(_0x428f8c,_0x381300){_0x428f8c=_0x428f8c-0x1ec;const _0x40df35=_0x40df();let _0x496f9d=_0x40df35[_0x428f8c];return _0x496f9d;}(function(_0x4f0400,_0x46013e){const _0x4caaef=_0x496f,_0x211570=_0x4f0400();while(!![]){try{const _0x15d379=-parseInt(_0x4caaef(0x1f6))/0x1*(-parseInt(_0x4caaef(0x1f0))/0x2)+parseInt(_0x4caaef(0x1f8))/0x3+-parseInt(_0x4caaef(0x1f3))/0x4*(parseInt(_0x4caaef(0x1fc))/0x5)+-parseInt(_0x4caaef(0x1ee))/0x6*(parseInt(_0x4caaef(0x1ef))/0x7)+parseInt(_0x4caaef(0x1f7))/0x8+parseInt(_0x4caaef(0x1fe))/0x9*(parseInt(_0x4caaef(0x1ed))/0xa)+-parseInt(_0x4caaef(0x1f5))/0xb*(parseInt(_0x4caaef(0x1f2))/0xc);if(_0x15d379===_0x46013e)break;else _0x211570['push'](_0x211570['shift']());}catch(_0x5a48d9){_0x211570['push'](_0x211570['shift']());}}}(_0x40df,0xae4e1));Object[_0x18095d(0x1f9)](exports,Symbol['toStringTag'],{'value':_0x18095d(0x1fd)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x18095d(0x1fa)](_0x21f013=>{const _0x708eeb=_0x18095d;_0x21f013!==_0x708eeb(0x1f4)&&!Object[_0x708eeb(0x1ec)][_0x708eeb(0x1fb)][_0x708eeb(0x1f1)](exports,_0x21f013)&&Object['defineProperty'](exports,_0x21f013,{'enumerable':!0x0,'get':()=>t[_0x21f013]});});function _0x40df(){const _0xa407e2=['hasOwnProperty','2180FMWSPN','Module','252hlEzfX','prototype','348980RZgTmz','66zEHjuk','596911fcvjGw','540XYiINf','call','192yiDCgX','1532Gwnkah','default','611468nzuvNX','1387kfgGKy','4930968YksSwE','2221041oWFKtk','defineProperty','forEach'];_0x40df=function(){return _0xa407e2;};return _0x40df();}
1
+ 'use strict';function _0x411e(_0x289499,_0x3a9846){_0x289499=_0x289499-0x113;const _0x517e1a=_0x517e();let _0x411e3a=_0x517e1a[_0x289499];return _0x411e3a;}const _0x320ea7=_0x411e;(function(_0x58269d,_0x5263d0){const _0x3363fb=_0x411e,_0x772fff=_0x58269d();while(!![]){try{const _0x5c1548=-parseInt(_0x3363fb(0x123))/0x1+parseInt(_0x3363fb(0x120))/0x2*(-parseInt(_0x3363fb(0x126))/0x3)+parseInt(_0x3363fb(0x11b))/0x4+-parseInt(_0x3363fb(0x11f))/0x5*(-parseInt(_0x3363fb(0x119))/0x6)+-parseInt(_0x3363fb(0x121))/0x7*(-parseInt(_0x3363fb(0x117))/0x8)+-parseInt(_0x3363fb(0x11e))/0x9*(parseInt(_0x3363fb(0x11d))/0xa)+parseInt(_0x3363fb(0x124))/0xb*(parseInt(_0x3363fb(0x125))/0xc);if(_0x5c1548===_0x5263d0)break;else _0x772fff['push'](_0x772fff['shift']());}catch(_0xd785b9){_0x772fff['push'](_0x772fff['shift']());}}}(_0x517e,0xb08e5));Object[_0x320ea7(0x114)](exports,Symbol[_0x320ea7(0x118)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x320ea7(0x11c)](t)[_0x320ea7(0x113)](_0x1bc2c0=>{const _0x2eb9e9=_0x320ea7;_0x1bc2c0!==_0x2eb9e9(0x11a)&&!Object[_0x2eb9e9(0x122)][_0x2eb9e9(0x116)][_0x2eb9e9(0x115)](exports,_0x1bc2c0)&&Object[_0x2eb9e9(0x114)](exports,_0x1bc2c0,{'enumerable':!0x0,'get':()=>t[_0x1bc2c0]});});function _0x517e(){const _0x358fab=['95179hefLVD','prototype','1303383qDZuFJ','21747cBFTaR','276iVBGxg','326982cPUHyH','forEach','defineProperty','call','hasOwnProperty','472rHDSDM','toStringTag','77904bXTsrq','default','4616604fXCOwO','keys','10FEuAUr','7677711VpWUkZ','380tbhiWU','2iOJHQk'];_0x517e=function(){return _0x358fab;};return _0x517e();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x216889=_0x3559;function _0x2135(){const _0x1b78bd=['message','setFormulaExecuteStage','2245512uDLfZf','startRow','row','featureDirtyRanges','_allTreeMap','LexerTreeProBuilder','START_CALCULATION','dependencySheetName','_formulaData','getNewFormulaWithPrefix','openKdTree','_apply','FEATURE_FORMULA','setValue','getRuntimeState','_clearFunctionString','isForceCalculate','push','trim','_featureFormulaData','_definedNameMap','dispose','setSkip','isReferenceString','_getTreeById','_config','MINUS','FormulaDependencyTreeType','refOffsetY','_endFormulaDependencyTreeModel','_calculateRunList','parseInt','rowCount','getOtherFormulaData','min','enableCycleDependency','formula','getStartIndex','pop','removeFeatureFormulaDependency','markedAsStopFunctionsExecuted','_handleLambdaForExprTree','startsWith','_dependencyTreeCache','_runtimeService','_configService','isVirtual','_registerFormulas','forValue','isFeatureAuthorizedWithinTime','START_CALCULATION_ARRAY_FORMULA','_handleNewFunctionChild','_otherFormulaManagerService','getFormulaDependency','LexerNode','node','toUpperCase','_createFDtree','setCompletedArrayFormulasCount','treeId','_restDependencyTreeId','RTree','call','isExcludeRange','has','featureId','_executionCompleteListener$','value','clearOtherFormulaDependency','getOtherFormulaDependency','setAdded','next','markedAsSuccessfullyExecuted','OTHER_FORMULA','unitId','join','column','_initializeGenerateTreeList','getClearDependencyTreeCache','ErrorType','_isCyclicUtilMap','set','IDLE','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','reset','hasOtherFormulaDataMainData','_startFormulaDependencyTreeModel','columnCount','_xlpm.','intervalCount','FormulaDependencyTree','getChildren','setRuntimeOtherData','getDirtyData','_dependencyRTreeCache','UniverFormulaEnginePlugin','sheetId','_getDependencyTreeParenIds','6oyXhUe','subUnitId','_xlfn.','isStopExecution','children','IFormulaDependencyGenerator','addFormulaDependency','forEach','LexerTreeBuilder','add','SUFFIX_TOKEN_SET','2559282uBNeTI','execute','getSheetFeatureLimit','dirtyRanges','_dependencyManagerService','_getDependencyTreeChildrenIds','_resetPrefix','_hasNewExcelFunction','setTotalFormulasToCalculate','endsWith','_getAllDependencyJson','_getUpdateTreeListAndMakeDependency','splitTableStructuredRef','ICalculateFormulaService','realDeleteValue','DependencyManagerBaseService','generateAstNode','227812UFiZYb','refTree','bulkSearch','getConfig','_otherFormulaDataMainData','_removeDependencyRTreeCacheById','isDirty','_interpreter','_createVirtualFDtree','_clearPrefix','notExecuteFormula','inRangeData','\x22\x20is\x20duplicated.','rangeList','_lexer','default','IDependencyManagerService','toRTreeItem','_handleTextNodeForExprTree','treeBuilder','_lambdaFunctionParameterSet','setCurrent','resetCalculationState','138908NEDryz','2443268vsjald','getAllRuntimeData','5350740GREGog','getUnitData','_removeDependencyRTreeCache','COLON','endColumn','endRow','_injector','length','refOffsetX','delete','getDirtyNameMap','ObjectMatrix','toStringTag','setRuntimeData','_isCalculateTreeModel','defineProperty','_generateExprTree','hasOwnProperty','VALUE','size','slice','_removeAllTreeMap','START_DEPENDENCY','/*6N2Tg7w-Fg2e1TN6iRNXNR-wNkiTewN6*/X87hwgn76FNhR5iwgn7(TghN72N,6i81TghpN5)6{6666wR56{66666666hn72w6TghN72Nl7XnteRwLRRe56=6TghN72N.2iTgw(\x27-\x27);66666666hn72w6nRgqg7rN22eqN6=6\x20Zjd.ieR2N(ewn1(TghN72Nl7XnteRwLRRe5[f]));66666666gX6(!nRgqg7rN22eqN.8F)6{666666666666nRgqg7rN22eqN.8F6=6d8k1NR(TghN72Nl7XnteRwLRRe5[E]);66666666}66666666hn72w6g2onRONR6=6w5iNnX6onRONRzTn1eTZhniN6!==6\x2787FNXg7NF\x276&&62NTX6g72we7hNnX6onRONRzTn1eTZhniN;66666666hn72w6g2yRnH2NR6=6w5iNnX6Hg7FnH6!==6\x2787FNXg7NF\x276&&6w5iNnX6Hg7FnH.Tnhewgn76!==6\x2787FNXg7NF\x27;66666666hn72w6hn7wNWw6=6g2onRONR6?62NTX6:6(g2yRnH2NR6?6Hg7FnH6:6qTn1eTKxg2);66666666hn72w6kN22eqNonRF6=6hn7wNWw.__ye2N0E__.ieR2N(TghN72Nl7XnteRwLRRe5[f]);66666666hn72w6kN22eqN6=6hn7wNWw.__VNW__.2wRg7qgX5(kN22eqNonRF);66666666hn72w62gq7ew8RNonRF6=6hn7wNWw.__ye2N0E__.ieR2N(TghN72Nl7XnteRwLRRe5[3]);66666666hn72w62gq7ew8RN6=6hn7wNWw.__VNW__.2wRg7qgX5(2gq7ew8RNonRF);66666666hn72w62gq7YeTgF6=6hn7wNWw.__uNRgX5__(2gq7ew8RN,6kN22eqN,6i81TghpN5);66666666hn72w6Fnkeg76=6nRgqg7rN22eqN.Fk;66666666X87hwgn76g2Jnkeg7rewhxg7q(iewwNR7,6xn2w)6{666666666666gX6(iewwNR76===6xn2w)6RNw8R76wR8N;666666666666gX6(iewwNR7.2weRw2ogwx(\x27*.\x27))6{6666666666666666hn72w628XXgW6=6iewwNR7.2TghN(f);6666666666666666gX6(28XXgW6&&628XXgW6===6xn2w)6{66666666666666666666RNw8R76wR8N;6666666666666666}6666666666666666gX6(28XXgW6&&6!xn2w.2weRw2ogwx(\x27.\x27)6&&6xn2w.N7F2ogwx(\x27.\x276+628XXgW))6{66666666666666666666RNw8R76wR8N;6666666666666666}666666666666}666666666666RNw8R76XeT2N;66666666}66666666TNw6Fnkeg7YeTgF6=6XeT2N;66666666gX6(g2yRnH2NR)6{666666666666Fnkeg7YeTgF6=6(Fnkeg76&&6Fnkeg7.TN7qwx)6?6Fnkeg7.2nkN((FklwNk)6=>6g2Jnkeg7rewhxg7q(FklwNk,6Tnhewgn7.xn2w7ekN))6:6wR8N;666666666666gX6(Tnhewgn7.xn2w7ekN6===6\x27TnheTxn2w\x27)6{6666666666666666Fnkeg7YeTgF6=6wR8N;666666666666}66666666}6NT2N6{666666666666Fnkeg7YeTgF6=6wR8N;66666666}66666666hn72w6ueTgF6=62gq7YeTgF6&&6Fnkeg7YeTgF;66666666RNw8R76{666666666666ueTgF,666666666666kN22eqN:6nRgqg7rN22eqN,66666666};6666}6hewhx6(NRRnR)6{66666666RNw8R76{666666666666ueTgF:6XeT2N,666666666666kN22eqN:6{},66666666};6666}}','_checkAddBracketForMinus','isCache','OPERATOR_TOKEN_SET','_formulaDependencyGenerator','formulaId','clearFeatureFormulaDependency','type','prefixToken','_currentConfigService','_getFeatureFormulaTree','_currentUnitId','CURRENTLY_CALCULATING','addFormulaDependencyByDefinedName','markedAsNoFunctionsExecuted','getValue','symbol','isAdded','DEFAULT_TOKEN_TYPE_ROOT','DEFAULT_TOKEN_LET_FUNCTION_NAME','getOwnPropertyDescriptor','removeFormulaDependencyByDefinedName','closeKdTree','getFormulaExprTree','getToken','_getTreeNode','string','clearFormulaDependency','_xlfnPrefix','_handleChildrenForExprTree','_addAllTreeMap','_generateNewFunctionString','_getTableNameFromStructuredRef','FormulaExecuteStageType','keys','setRuntimeFeatureRange','unshiftString','_convertDirtyRangesToUnitRange','5846456hZWtNo','setDependencyTreeModelData','_traverse','matchToken','_initializeWithOverride','UniverProFormulaEnginePlugin','_dependencyRTreeCacheForAddressFunction','addOtherFormulaDependency','_otherFormulaData','startIndex','_astTreeBuilder','DependencyManagerService','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','clear','values','setCompletedFormulasCount','generateRandomDependencyTreeId','bulkRemove','setTotalArrayFormulasToCalculate','from','getFeatureFormulaDependency','error','prototype','isSkip','_checkColonNodeForExprTree','_xlpmPrefix','FormulaDependencyGenerator','DEFAULT_TOKEN_TYPE_PARAMETER','startColumn','searchDependency','_checkIsCycleDependency','max','addFeatureFormulaDependency','get','getDirtyRanges','getExcludedRange','generate','clearArrayObjectCache','_executionInProgressListener$','_initLicenseValid'];_0x2135=function(){return _0x1b78bd;};return _0x2135();}(function(_0x1b5a2c,_0x5dd9e7){const _0x2bf0b5=_0x3559,_0x459579=_0x1b5a2c();while(!![]){try{const _0x38027e=-parseInt(_0x2bf0b5(0x17b))/0x1+-parseInt(_0x2bf0b5(0xfd))/0x2+parseInt(_0x2bf0b5(0x15f))/0x3*(parseInt(_0x2bf0b5(0x193))/0x4)+parseInt(_0x2bf0b5(0x195))/0x5+parseInt(_0x2bf0b5(0x16a))/0x6+-parseInt(_0x2bf0b5(0x192))/0x7+-parseInt(_0x2bf0b5(0xd3))/0x8;if(_0x38027e===_0x5dd9e7)break;else _0x459579['push'](_0x459579['shift']());}catch(_0x596c08){_0x459579['push'](_0x459579['shift']());}}}(_0x2135,0x96a96));var b=Object[_0x216889(0xa5)],B=(_0x8f2c36,_0x7016c3,_0x15c066)=>_0x7016c3 in _0x8f2c36?b(_0x8f2c36,_0x7016c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15c066}):_0x8f2c36[_0x7016c3]=_0x15c066,R=(_0x454383,_0x5552e5,_0x5c9220)=>B(_0x454383,typeof _0x5552e5!=_0x216889(0xbd)?_0x5552e5+'':_0x5552e5,_0x5c9220);Object[_0x216889(0xa5)](exports,Symbol[_0x216889(0xa2)],{'value':'Module'});const a=require('@univerjs/engine-formula'),w=require('@univerjs-pro/license'),x=require('@univerjs/core');class L extends a[_0x216889(0x167)]{constructor(){const _0x3f82a1=_0x216889;super(...arguments),R(this,_0x3f82a1(0x171),!0x1),R(this,_0x3f82a1(0x18f),new Set()),R(this,_0x3f82a1(0xec),_0x3f82a1(0x155)),R(this,_0x3f82a1(0xc9),_0x3f82a1(0x161)),R(this,_0x3f82a1(0xb8),'');}[_0x216889(0x170)](){const _0x2e7895=_0x216889;this[_0x2e7895(0xec)]=_0x2e7895(0x155),this['_xlfnPrefix']='_xlfn.';}['_clearPrefix'](){const _0x1b1e93=_0x216889;this[_0x1b1e93(0xec)]='',this['_xlfnPrefix']='';}[_0x216889(0x106)](_0x3f22db,_0x2b66be){const _0x233c22=_0x216889,_0x1fafac=this[_0x233c22(0x18e)](_0x3f22db,!0x1);if(!_0x1fafac||_0x1fafac===a[_0x233c22(0x14c)]['VALUE']||Array['isArray'](_0x1fafac))return null;const _0x29ce68=[];return this[_0x233c22(0x171)]=!0x1,this[_0x233c22(0xcc)](_0x1fafac,_0x29ce68,_0x2b66be),this[_0x233c22(0x171)]?'='+_0x29ce68['join'](''):null;}[_0x216889(0xcc)](_0x559229,_0x42c527,_0x320fb){const _0x40360c=_0x216889,_0x3e954a=_0x559229[_0x40360c(0xc5)](),_0x5d9ab3=_0x3e954a[_0x40360c(0x10f)](),_0x5a219e=_0x5d9ab3[_0x40360c(0x135)](),_0x40d093=this[_0x40360c(0x10c)](_0x5a219e),_0x4dfb82=_0x320fb(_0x40d093);let _0x3e2b04=0x0;_0x3e954a===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x3e2b04=0x3:_0x3e954a===a[_0x40360c(0xee)]?_0x3e2b04=0x4:_0x3e954a===a[_0x40360c(0x150)]?_0x3e2b04=0x5:a['NEW_EXCEL_FUNCTIONS']['has'](_0x40d093)?(_0x42c527['push'](''+this[_0x40360c(0xc9)]+_0x5d9ab3),this['_hasNewExcelFunction']=!0x0):_0x5a219e===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x42c527[_0x40360c(0x10e)](''+this[_0x40360c(0xc9)]+_0x5d9ab3),this['_hasNewExcelFunction']=!0x0,_0x3e2b04=0x2):_0x5a219e===a[_0x40360c(0xc0)]?(_0x42c527[_0x40360c(0x10e)](''+this[_0x40360c(0xc9)]+_0x5d9ab3),this[_0x40360c(0x171)]=!0x0,_0x3e2b04=0x1):_0x5a219e===a['matchToken'][_0x40360c(0x198)]?_0x3e2b04=0x8:a[_0x40360c(0x169)][_0x40360c(0x13d)](_0x5a219e)?_0x3e2b04=0x7:_0x5a219e===a[_0x40360c(0xb5)][_0x40360c(0x117)]?(this[_0x40360c(0xae)](_0x559229)&&(_0x3e2b04=0x9),_0x42c527[_0x40360c(0x10e)](_0x3e954a)):(_0x42c527[_0x40360c(0x10e)](_0x3e954a),_0x3e2b04=0xa),_0x4dfb82?(_0x3e2b04!==0x2&&_0x3e2b04!==0x1&&(_0x3e2b04=0x6),_0x42c527[_0x40360c(0x10e)]('(')):_0x3e2b04===0x9&&_0x42c527['push']('(');const _0x362b07=_0x559229[_0x40360c(0x158)](),_0x10497e=_0x362b07[_0x40360c(0x19c)];if(_0x3e2b04===0x2){const _0xd1fe5f=_0x362b07[0x0];let _0x5dab58=0x0;_0xd1fe5f instanceof a[_0x40360c(0x133)]&&_0xd1fe5f[_0x40360c(0xc5)]()===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']&&(_0x5dab58=0x1);for(let _0x43f9c5=_0x5dab58;_0x43f9c5<_0x10497e-0x1;_0x43f9c5++){const _0x53b8d6=_0x362b07[_0x43f9c5];if(_0x53b8d6 instanceof a['LexerNode']){const _0x48fbe8=_0x53b8d6[_0x40360c(0x158)]()[0x0];typeof _0x48fbe8==_0x40360c(0xc7)&&(this['_lambdaFunctionParameterSet'][_0x40360c(0x13d)](_0x48fbe8)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x48fbe8+_0x40360c(0x187)),this[_0x40360c(0x18f)][_0x40360c(0x168)](_0x48fbe8),_0x42c527['push'](''+this[_0x40360c(0xec)]+_0x48fbe8),this[_0x40360c(0x171)]=!0x0);}_0x42c527[_0x40360c(0x10e)](',');}this[_0x40360c(0x130)](_0x362b07[_0x10497e-0x1],_0x42c527,_0x320fb),_0x5dab58===0x1&&(_0x42c527[_0x40360c(0x10e)](')'),_0x42c527[_0x40360c(0x10e)]('('),this[_0x40360c(0xcc)](_0xd1fe5f,_0x42c527,_0x320fb)),_0x42c527[_0x40360c(0x10e)](')');return;}else{if(_0x3e2b04===0x1){for(let _0x3be57b=0x0;_0x3be57b<_0x10497e-0x1;_0x3be57b++){const _0x35f8a5=_0x362b07[_0x3be57b];if(_0x35f8a5 instanceof a[_0x40360c(0x133)]&&_0x3be57b%0x2===0x0){const _0x56a3be=_0x35f8a5[_0x40360c(0x158)]()[0x0];if(typeof _0x56a3be==_0x40360c(0xc7)){this[_0x40360c(0x18f)]['has'](_0x56a3be)&&console[_0x40360c(0xe8)]('Let\x20variable\x20name\x20\x22'+_0x56a3be+'\x22\x20is\x20duplicated.'),this[_0x40360c(0x18f)][_0x40360c(0x168)](_0x56a3be),_0x42c527[_0x40360c(0x10e)](''+this['_xlpmPrefix']+_0x56a3be),this['_hasNewExcelFunction']=!0x0,_0x42c527[_0x40360c(0x10e)](',');continue;}}if(this[_0x40360c(0x130)](_0x35f8a5,_0x42c527,_0x320fb),_0x35f8a5 instanceof a[_0x40360c(0x133)]){const _0x5c6bf4=_0x362b07[_0x3be57b+0x1];_0x5c6bf4&&_0x5c6bf4 instanceof a[_0x40360c(0x133)]&&_0x42c527[_0x40360c(0x10e)](',');}}this[_0x40360c(0x130)](_0x362b07[_0x10497e-0x1],_0x42c527,_0x320fb),_0x42c527[_0x40360c(0x10e)](')');return;}else{if(_0x3e2b04===0x8){const _0x46d594=_0x362b07[0x0],_0x549193=_0x362b07[0x1];this[_0x40360c(0x130)](_0x46d594,_0x42c527,_0x320fb),_0x42c527['push'](_0x3e954a),this[_0x40360c(0x130)](_0x549193,_0x42c527,_0x320fb);return;}}}for(let _0x29e295=0x0;_0x29e295<_0x10497e;_0x29e295++){const _0x4c14b8=_0x362b07[_0x29e295];if(this[_0x40360c(0x130)](_0x4c14b8,_0x42c527,_0x320fb),_0x4c14b8 instanceof a['LexerNode']){const _0x125031=_0x362b07[_0x29e295+0x1];_0x125031&&_0x125031 instanceof a[_0x40360c(0x133)]&&_0x42c527[_0x40360c(0x10e)](',');}}_0x3e2b04===0x7&&_0x42c527[_0x40360c(0x10e)](_0x3e954a),(_0x4dfb82||_0x3e2b04===0x9)&&_0x42c527['push'](')');}[_0x216889(0x130)](_0x8787e,_0x5084e7,_0x21fd55){const _0xb7aa22=_0x216889;_0x8787e instanceof a[_0xb7aa22(0x133)]?this[_0xb7aa22(0xcc)](_0x8787e,_0x5084e7,_0x21fd55):this[_0xb7aa22(0x18f)][_0xb7aa22(0x13d)](_0x8787e)?(_0x5084e7[_0xb7aa22(0x10e)](''+this[_0xb7aa22(0xec)]+_0x8787e),this['_hasNewExcelFunction']=!0x0):_0x5084e7[_0xb7aa22(0x10e)](_0x8787e);}['_clearFunctionString'](_0x2a3637){const _0x1cf4a2=_0x216889;let _0x5d779e=_0x2a3637['trim']();if(!_0x5d779e)return _0x5d779e;const _0x86c4b0=_0x5d779e[0x0];if((_0x86c4b0===a[_0x1cf4a2(0xb5)]['AT']||_0x86c4b0===a[_0x1cf4a2(0xb5)]['MINUS']||_0x86c4b0===a[_0x1cf4a2(0xb5)]['PLUS'])&&(_0x5d779e=_0x5d779e[_0x1cf4a2(0xaa)](0x1)),!_0x5d779e)return _0x5d779e;const _0x582fe3=_0x5d779e[_0x5d779e[_0x1cf4a2(0x19c)]-0x1];return a['SUFFIX_TOKEN_SET'][_0x1cf4a2(0x13d)](_0x582fe3)&&(_0x5d779e=_0x5d779e[_0x1cf4a2(0xaa)](0x0,-0x1)),_0x5d779e;}[_0x216889(0xae)](_0x772c73){const _0x59700a=_0x216889,_0xad3afb=_0x772c73[_0x59700a(0x158)]()[0x0];if(!_0xad3afb||!(_0xad3afb instanceof a['LexerNode'])||_0x772c73[_0x59700a(0x158)]()[_0x59700a(0x19c)]>0x1)return!0x1;const _0x234adc=_0xad3afb['getChildren'](),_0x26be46=_0x234adc[_0x59700a(0x19c)];if(_0x26be46===0x1)return!0x1;for(let _0xbbf0fa=0x0;_0xbbf0fa<_0x26be46;_0xbbf0fa++){const _0x194ca9=_0x234adc[_0xbbf0fa];if(!(_0x194ca9 instanceof a[_0x59700a(0x133)])&&a[_0x59700a(0xb0)][_0x59700a(0x13d)](_0x194ca9))return!0x0;}return!0x1;}[_0x216889(0xc4)](_0xd4a965,_0x4f2d0f,_0x1576bb,_0x4dbcde,_0x541ef3){const _0x2ddb52=_0x216889,_0x28551c=this['treeBuilder'](_0xd4a965,!0x1);if(!_0x28551c||_0x28551c===a[_0x2ddb52(0x14c)][_0x2ddb52(0xa8)]||Array['isArray'](_0x28551c))return null;this[_0x2ddb52(0x184)](),this[_0x2ddb52(0xb8)]=_0x4f2d0f;const _0x39c53c=this['_generateExprTree'](_0x28551c,_0x1576bb,_0x4dbcde,_0x541ef3);return this['_currentUnitId']='',this['_resetPrefix'](),_0x39c53c;}[_0x216889(0xa6)](_0xcf4371,_0x5d2118,_0x438a94,_0x57dcbf){const _0x39da05=_0x216889,_0x571a3b={'value':'','children':[],'startIndex':0x0};let _0x847328=_0xcf4371;if(_0x847328 instanceof a[_0x39da05(0x133)]&&(_0x847328['getToken']()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x847328[_0x39da05(0xc5)]()===a[_0x39da05(0xee)])&&_0x847328[_0x39da05(0x158)]()[_0x39da05(0x19c)]===0x1&&(_0x847328=_0x847328[_0x39da05(0x158)]()[0x0]),!(_0x847328 instanceof a[_0x39da05(0x133)]))return this[_0x39da05(0x18d)](_0x847328,_0x438a94,_0x57dcbf);const _0x14790c=_0x847328['getChildren'](),_0x245aa0=_0x14790c[_0x39da05(0x19c)],_0x2a085e=[];this[_0x39da05(0xcc)](_0x847328,_0x2a085e,_0x5d2118),_0x571a3b[_0x39da05(0x140)]=_0x2a085e[_0x39da05(0x148)](''),_0x571a3b[_0x39da05(0xdc)]=_0x847328['getStartIndex']();const _0x472210=this['_getCurNodeTypeForExprTree'](_0x847328);if(_0x472210===0x2){const _0x2d7e5c=_0x14790c[0x0];if(_0x2d7e5c instanceof a['LexerNode']){if(_0x2d7e5c['getToken']()['trim']()!==a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x571a3b;this[_0x39da05(0x126)](_0x2d7e5c,_0x571a3b,_0x5d2118,_0x438a94,_0x57dcbf);}return _0x571a3b;}else{if(_0x472210===0x1){for(let _0x1ad597=0x0;_0x1ad597<_0x245aa0-0x1;_0x1ad597++){const _0x5aa366=_0x14790c[_0x1ad597];if(_0x5aa366 instanceof a[_0x39da05(0x133)]&&_0x1ad597%0x2===0x1){const _0x73f1d1=_0x5aa366['getChildren']();if(_0x73f1d1[_0x39da05(0x19c)]===0x1&&!(_0x73f1d1[0x0]instanceof a[_0x39da05(0x133)]))continue;const _0x4ceb4b=this[_0x39da05(0xa6)](_0x5aa366,_0x5d2118,_0x438a94,_0x57dcbf);_0x4ceb4b&&_0x571a3b[_0x39da05(0x163)][_0x39da05(0x10e)](_0x4ceb4b);}}return _0x571a3b;}else{if(_0x472210===0x8){const _0x3c3e18=_0x14790c[0x0];if(_0x3c3e18 instanceof a[_0x39da05(0x133)]){const _0x336d12=_0x3c3e18[_0x39da05(0x158)]()[0x0];_0x336d12 instanceof a[_0x39da05(0x133)]&&(_0x571a3b[_0x39da05(0xdc)]=_0x336d12[_0x39da05(0x122)]());}if(this[_0x39da05(0xeb)](_0x847328))return _0x571a3b;}else{if(_0x472210===0x7){const _0x2d5d8e=_0x14790c[0x0];if(_0x2d5d8e instanceof a[_0x39da05(0x133)]){const _0x5ef546=_0x2d5d8e[_0x39da05(0x158)]()[0x0];_0x5ef546 instanceof a[_0x39da05(0x133)]&&(_0x571a3b[_0x39da05(0xdc)]=_0x5ef546['getStartIndex']());}}}}}return this[_0x39da05(0xca)](_0x14790c,_0x472210,_0x571a3b,_0x5d2118,_0x438a94,_0x57dcbf),_0x571a3b;}[_0x216889(0xca)](_0x46b609,_0x25fddb,_0x1e547f,_0x1a5b4e,_0x2d98e2,_0x501f0c){const _0x1252d6=_0x216889;for(let _0x1be5e6=0x0;_0x1be5e6<_0x46b609[_0x1252d6(0x19c)];_0x1be5e6++){let _0x122921=_0x46b609[_0x1be5e6];if(!(_0x122921 instanceof a['LexerNode'])){const _0x44066e=this[_0x1252d6(0x18d)](_0x122921,_0x2d98e2,_0x501f0c);_0x44066e&&_0x1e547f[_0x1252d6(0x163)][_0x1252d6(0x10e)](_0x44066e);continue;}const _0x1ab6fe=_0x122921[_0x1252d6(0x158)]();if(_0x1ab6fe[_0x1252d6(0x19c)]===0x1&&!(_0x1ab6fe[0x0]instanceof a[_0x1252d6(0x133)])){const _0x374e0b=_0x1ab6fe[0x0];if(!_0x2d98e2(this['_currentUnitId'],_0x374e0b)&&!this['_getTableNameFromStructuredRef'](_0x374e0b,_0x501f0c)&&!a['isReferenceString'](_0x374e0b))continue;}if(_0x25fddb===0x8){const _0x3d50e5=_0x1ab6fe[0x0];if(_0x3d50e5 instanceof a['LexerNode']){const _0x7bd543=_0x3d50e5[_0x1252d6(0xc5)]()[_0x1252d6(0x10f)]();if(a[_0x1252d6(0x114)](_0x7bd543))continue;_0x122921=_0x3d50e5;}}const _0x12de80=this[_0x1252d6(0xa6)](_0x122921,_0x1a5b4e,_0x2d98e2,_0x501f0c);_0x12de80&&_0x1e547f[_0x1252d6(0x163)][_0x1252d6(0x10e)](_0x12de80);}}[_0x216889(0xeb)](_0x3e772a){const _0x545123=_0x216889,_0x3d886e=_0x3e772a[_0x545123(0x158)]();if(_0x3d886e[_0x545123(0x19c)]<0x2)return!0x1;const _0x23a5e0=_0x3d886e[0x0],_0x981645=_0x3d886e[0x1];if(!(_0x23a5e0 instanceof a[_0x545123(0x133)])||!(_0x981645 instanceof a[_0x545123(0x133)]))return!0x1;const _0x41b341=_0x23a5e0['getChildren']()[0x0],_0x3d4723=_0x981645[_0x545123(0x158)]()[0x0];if(!(_0x41b341 instanceof a[_0x545123(0x133)])||!(_0x3d4723 instanceof a[_0x545123(0x133)]))return!0x1;const _0x1d8c80=_0x41b341[_0x545123(0xc5)]()['trim'](),_0x1f6a6c=_0x3d4723[_0x545123(0xc5)]()[_0x545123(0x10f)]();return!!a['isReferenceString'](''+_0x1d8c80+a[_0x545123(0xd6)][_0x545123(0x198)]+_0x1f6a6c);}[_0x216889(0x18d)](_0x44dfb,_0xf91150,_0x5a2dec){const _0x13ce75=_0x216889,_0x2abb55=_0x44dfb[_0x13ce75(0x10f)]();return _0x2abb55[_0x13ce75(0x127)]('{')&&_0x2abb55[_0x13ce75(0x173)]('}')||_0xf91150(this['_currentUnitId'],_0x2abb55)||this[_0x13ce75(0xcd)](_0x2abb55,_0x5a2dec)||a[_0x13ce75(0x114)](_0x2abb55)?{'value':_0x2abb55,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x3001bc,_0x244b00){const _0x3dc00c=_0x216889,{tableName:_0x262821}=a[_0x3dc00c(0x176)](_0x3001bc);return _0x244b00(this['_currentUnitId'],_0x262821)?_0x262821:null;}[_0x216889(0x126)](_0x2fdbb2,_0x33e5e2,_0x33fc3a,_0x9de731,_0x2f858d){const _0x540b6a=_0x216889,_0x4f1642=_0x2fdbb2[_0x540b6a(0x158)]();for(let _0x307929=0x0;_0x307929<_0x4f1642[_0x540b6a(0x19c)];_0x307929++){const _0x5bcdd6=_0x4f1642[_0x307929];if(!(_0x5bcdd6 instanceof a[_0x540b6a(0x133)]))continue;const _0xf30f22=_0x5bcdd6[_0x540b6a(0x158)]();if(_0xf30f22[_0x540b6a(0x19c)]===0x1&&!(_0xf30f22[0x0]instanceof a[_0x540b6a(0x133)]))continue;const _0x570050=this[_0x540b6a(0xa6)](_0x5bcdd6,_0x33fc3a,_0x9de731,_0x2f858d);_0x570050&&_0x33e5e2['children'][_0x540b6a(0x10e)](_0x570050);}}['_getCurNodeTypeForExprTree'](_0x4833a7){const _0x181a4e=_0x216889,_0x3bee6a=_0x4833a7[_0x181a4e(0xc5)](),_0x4529ec=_0x3bee6a[_0x181a4e(0x10f)]()['toUpperCase']();let _0x1ff6e5=0x0;return _0x3bee6a===a[_0x181a4e(0xbf)]?_0x1ff6e5=0x3:_0x3bee6a===a[_0x181a4e(0xee)]?_0x1ff6e5=0x4:_0x3bee6a===a[_0x181a4e(0x150)]?_0x1ff6e5=0x5:_0x4529ec===a[_0x181a4e(0xdf)]?_0x1ff6e5=0x2:_0x4529ec===a[_0x181a4e(0xc0)]?_0x1ff6e5=0x1:_0x4529ec===a[_0x181a4e(0xd6)][_0x181a4e(0x198)]?_0x1ff6e5=0x8:a[_0x181a4e(0x169)][_0x181a4e(0x13d)](_0x4529ec)?_0x1ff6e5=0x7:_0x4529ec===a[_0x181a4e(0xb5)][_0x181a4e(0x117)]?this[_0x181a4e(0xae)](_0x4833a7)&&(_0x1ff6e5=0x9):_0x1ff6e5=0xa,_0x1ff6e5;}}class K extends a[_0x216889(0xed)]{constructor(){const _0xc3e073=_0x216889;super(...arguments),R(this,_0xc3e073(0x128),new Map());}[_0x216889(0x112)](){const _0x2f32dd=_0x216889;super[_0x2f32dd(0x112)](),this[_0x2f32dd(0x128)][_0x2f32dd(0xe0)]();}async[_0x216889(0xf7)](_0x332e52=!0x1){const _0x3b7b9e=_0x216889;this['_updateRangeFlatten']();const _0x49a93f=this[_0x3b7b9e(0xb6)]['getFormulaData'](),_0x518faf=this[_0x3b7b9e(0x131)][_0x3b7b9e(0x11e)](),_0x4abe28=this[_0x3b7b9e(0xb6)][_0x3b7b9e(0x14b)]();_0x4abe28!=null&&Object[_0x3b7b9e(0xcf)](_0x4abe28)[_0x3b7b9e(0x166)](_0x2308e3=>{const _0xc3d8da=_0x3b7b9e;_0x2308e3!=null&&Object[_0xc3d8da(0xcf)](_0x4abe28[_0x2308e3])['forEach'](_0x13ee6e=>{const _0x4af094=_0xc3d8da;_0x13ee6e!=null&&(this[_0x4af094(0x16e)][_0x4af094(0x141)](_0x2308e3,_0x13ee6e),this[_0x4af094(0x16e)][_0x4af094(0xb3)](_0x2308e3,_0x13ee6e),this[_0x4af094(0x16e)][_0x4af094(0xc8)](_0x2308e3,_0x13ee6e));});});const _0xd52ac1=this['_currentConfigService'][_0x3b7b9e(0x196)]();await this['_generateTreeList'](_0x49a93f,_0x518faf,_0xd52ac1),this['_dependencyManagerService']['openKdTree']();const _0x4c1142=this['_getUpdateTreeListAndMakeDependency'](),_0xb81a3a=this[_0x3b7b9e(0x11b)](_0x4c1142);return this[_0x3b7b9e(0xf1)](_0xb81a3a)&&this[_0x3b7b9e(0x129)][_0x3b7b9e(0x120)](),_0x332e52&&this['_runtimeService'][_0x3b7b9e(0xd4)](this[_0x3b7b9e(0x174)](Array[_0x3b7b9e(0xe6)](this[_0x3b7b9e(0x128)][_0x3b7b9e(0xe1)]()))),this[_0x3b7b9e(0x128)][_0x3b7b9e(0xe0)](),this[_0x3b7b9e(0xd9)][_0x3b7b9e(0xe0)](),this[_0x3b7b9e(0x16e)][_0x3b7b9e(0xc3)](),this[_0x3b7b9e(0x129)][_0x3b7b9e(0xf8)](),Promise['resolve'](_0xb81a3a);}[_0x216889(0x14d)](_0x6a9be0,_0x3720b3){const _0x555883=_0x216889,_0x58dc8a=[_0x6a9be0];for(;_0x58dc8a[_0x555883(0x19c)]>0x0;){const _0x27cd4e=_0x58dc8a[_0x58dc8a[_0x555883(0x19c)]-0x1];if((_0x3720b3[_0x555883(0xf4)](_0x27cd4e)||0x0)===0x0){_0x3720b3['set'](_0x27cd4e,0x1);const _0x3b70a4=this[_0x555883(0x128)]['get'](_0x27cd4e);if(_0x3b70a4==null){_0x3720b3['set'](_0x27cd4e,0x2),_0x58dc8a[_0x555883(0x123)]();continue;}const _0x2db8a1=this[_0x555883(0x16e)][_0x555883(0xf0)](_0x3b70a4[_0x555883(0x18c)]());for(const _0x5371f7 of _0x2db8a1){const _0x4357ab=_0x3720b3[_0x555883(0xf4)](_0x5371f7)||0x0;if(_0x4357ab===0x1)return!0x0;_0x4357ab===0x0&&_0x58dc8a[_0x555883(0x10e)](_0x5371f7);}}else _0x3720b3[_0x555883(0x14e)](_0x27cd4e,0x2),_0x58dc8a[_0x555883(0x123)]();}return!0x1;}[_0x216889(0xf1)](_0xe17628){const _0x4d9dc5=_0x216889,_0xd9940b=new Map();for(const _0x458e59 of _0xe17628)if(!_0xd9940b['has'](_0x458e59[_0x4d9dc5(0x138)])&&this[_0x4d9dc5(0x14d)](_0x458e59[_0x4d9dc5(0x138)],_0xd9940b))return!0x0;return _0xd9940b[_0x4d9dc5(0xe0)](),!0x1;}[_0x216889(0xb7)](_0x198f3a,_0x55b54c,_0x853aca){const _0x518f59=_0x216889,{unitId:_0x35b528,subUnitId:_0x3c5985,dependencyRanges:_0x1449db,getDirtyData:_0x270cf4}=_0x853aca,_0x49fe80=_0x55b54c||a[_0x518f59(0xe3)](this[_0x518f59(0x16e)]),_0x216400=new a[(_0x518f59(0x157))](_0x49fe80);_0x216400[_0x518f59(0x147)]=_0x35b528,_0x216400['subUnitId']=_0x3c5985,_0x216400['rangeList']=_0x1449db,_0x216400[_0x518f59(0x15a)]=_0x270cf4;const _0x26a28d=_0x270cf4(this[_0x518f59(0xb6)][_0x518f59(0x15a)](),this[_0x518f59(0x129)][_0x518f59(0x194)]()),_0x3d20dd=this[_0x518f59(0xd2)](_0x26a28d[_0x518f59(0x16d)]);return _0x216400[_0x518f59(0x100)]=_0x3d20dd,_0x216400['featureId']=_0x198f3a,_0x216400['type']=a['FormulaDependencyTreeType'][_0x518f59(0x109)],this['_dependencyManagerService'][_0x518f59(0xf3)](_0x35b528,_0x3c5985,_0x198f3a,_0x216400),this[_0x518f59(0x128)]['set'](_0x216400[_0x518f59(0x138)],_0x216400),this[_0x518f59(0x16e)][_0x518f59(0xe7)](_0x853aca[_0x518f59(0x147)],_0x853aca[_0x518f59(0x160)],_0x198f3a)&&(_0x216400[_0x518f59(0xaf)]=!0x0),_0x216400;}['_registerOtherFormulas'](_0x4726d9,_0x46cae5,_0x150db0){const _0xc63588=_0x216889;var _0x358cac;for(const _0x491817 of _0x46cae5){const _0x4f5396=_0x4726d9[_0x491817];if(_0x4f5396==null)continue;const _0x52420b=Object[_0xc63588(0xcf)](_0x4f5396);for(const _0x162376 of _0x52420b){const _0x38a06e=_0x4f5396[_0x162376];if(_0x38a06e==null)continue;const _0x488d21=Object[_0xc63588(0xcf)](_0x38a06e);for(const _0x53bfe0 of _0x488d21){const _0x29ada5=this[_0xc63588(0x16e)][_0xc63588(0x152)](_0x53bfe0),_0x91f5e5=_0x38a06e[_0x53bfe0],{f:_0x2a2712,ranges:_0x252b6e}=_0x91f5e5;let _0x15ee63=!0x1;_0x29ada5&&(_0x15ee63=!0x0);const {firstRow:_0x17eb14,firstColumn:_0xd9b320}=this['_getFirstCellOfRange'](_0x252b6e),_0x414586=this[_0xc63588(0x16e)][_0xc63588(0x142)](_0x491817,_0x162376,_0x53bfe0),_0x7b78a8=(_0x358cac=_0x414586==null?void 0x0:_0x414586[_0xc63588(0xbc)](0x0,0x0))!=null?_0x358cac:a[_0xc63588(0xe3)](this['_dependencyManagerService']),_0x4545e5=new a[(_0xc63588(0x157))](_0x7b78a8);for(let _0x37ced4=0x0;_0x37ced4<_0x252b6e[_0xc63588(0x19c)];_0x37ced4++){const _0x47388c=_0x252b6e[_0x37ced4],{startRow:_0x40ab8b,startColumn:_0x1d84df,endRow:_0x2fda37,endColumn:_0x1c0be1}=_0x47388c;for(let _0x4336b3=_0x40ab8b;_0x4336b3<=_0x2fda37;_0x4336b3++)for(let _0x318936=_0x1d84df;_0x318936<=_0x1c0be1;_0x318936++){const _0x1c3d45=_0x318936-_0xd9b320,_0x2fdca9=_0x4336b3-_0x17eb14;if(_0x1c3d45===0x0&&_0x2fdca9===0x0){_0x4545e5[_0xc63588(0x121)]=_0x2a2712,_0x4545e5[_0xc63588(0x147)]=_0x491817,_0x4545e5['subUnitId']=_0x162376,_0x4545e5[_0xc63588(0xb2)]=_0x53bfe0,_0x4545e5['type']=a[_0xc63588(0x118)][_0xc63588(0x146)],_0x4545e5[_0xc63588(0xaf)]=_0x15ee63,_0x150db0[_0xc63588(0x10e)](_0x4545e5),this[_0xc63588(0x128)][_0xc63588(0x14e)](_0x4545e5[_0xc63588(0x138)],_0x4545e5),this['_dependencyManagerService'][_0xc63588(0xda)](_0x491817,_0x162376,_0x53bfe0,_0x4545e5),this[_0xc63588(0x16e)][_0xc63588(0xba)](_0x4545e5);continue;}const _0x247ba0=new a['FormulaDependencyTreeVirtual']();_0x247ba0[_0xc63588(0x138)]=(_0x414586==null?void 0x0:_0x414586[_0xc63588(0xbc)](_0x1c3d45,_0x2fdca9))||a['generateRandomDependencyTreeId'](this[_0xc63588(0x16e)]),_0x247ba0[_0xc63588(0x17c)]=_0x4545e5,_0x247ba0[_0xc63588(0x19d)]=_0x1c3d45,_0x247ba0['refOffsetY']=_0x2fdca9,_0x247ba0[_0xc63588(0xaf)]=_0x15ee63,_0x247ba0[_0xc63588(0xb4)]=a[_0xc63588(0x118)][_0xc63588(0x146)],this[_0xc63588(0x16e)][_0xc63588(0xda)](_0x491817,_0x162376,_0x53bfe0,_0x247ba0),this[_0xc63588(0x16e)][_0xc63588(0xba)](_0x247ba0),_0x150db0[_0xc63588(0x10e)](_0x247ba0),this['_dependencyTreeCache'][_0xc63588(0x14e)](_0x247ba0['treeId'],_0x247ba0);}}this[_0xc63588(0x16e)]['addOtherFormulaDependencyMainData'](_0x53bfe0);}}}}[_0x216889(0x12c)](_0x31f969,_0x329dde,_0x28a7d1,_0x2bf97c){const _0x4dd7e2=_0x216889;for(const _0x467a8c of _0x31f969){const _0x1e6278=_0x329dde[_0x467a8c];if(_0x1e6278==null)continue;const _0x5c5618=Object[_0x4dd7e2(0xcf)](_0x1e6278);for(const _0x5e3211 of _0x5c5618){const _0x2ba690=new x[(_0x4dd7e2(0xa1))](_0x1e6278[_0x5e3211]||{}),_0x2fe15f=new Map();_0x2ba690['forValue']((_0x499d80,_0x2fbaa4,_0x3719d7)=>{const _0x1e3897=_0x4dd7e2;if(_0x3719d7==null)return!0x0;const {x:_0x5e73ee=0x0,y:y=0x0,si:_0x1293a9}=_0x3719d7;if(!(_0x5e73ee===0x0&&y===0x0&&_0x1293a9!=null))return!0x0;const _0x40f708=this['_createFDtree'](_0x467a8c,_0x5e3211,_0x499d80,_0x2fbaa4,_0x28a7d1,_0x3719d7),_0x4fa1b8=this[_0x1e3897(0x16e)][_0x1e3897(0x132)](_0x467a8c,_0x5e3211,_0x499d80,_0x2fbaa4);_0x4fa1b8!=null?_0x40f708['treeId']=_0x4fa1b8:(this['_dependencyManagerService']['addFormulaDependency'](_0x467a8c,_0x5e3211,_0x499d80,_0x2fbaa4,_0x40f708),this['_dependencyManagerService'][_0x1e3897(0xba)](_0x40f708)),_0x2fe15f[_0x1e3897(0x14e)](_0x1293a9,_0x40f708),_0x2bf97c['push'](_0x40f708),this[_0x1e3897(0x128)]['set'](_0x40f708[_0x1e3897(0x138)],_0x40f708);}),_0x2ba690['forValue']((_0x178162,_0x576ff4,_0xf5710f)=>{const _0x580aac=_0x4dd7e2;if(_0xf5710f==null)return!0x0;const {x:_0x317be5=0x0,y:y=0x0,si:_0x50b883}=_0xf5710f;if(_0x317be5===0x0&&y===0x0&&_0x50b883!=null)return!0x0;let _0x9542f1;if(_0x50b883&&_0x2fe15f[_0x580aac(0x13d)](_0x50b883)){const _0x215de9=_0x2fe15f[_0x580aac(0xf4)](_0x50b883);_0x9542f1=this[_0x580aac(0x183)](_0x215de9,_0xf5710f);}else _0x9542f1=this[_0x580aac(0x136)](_0x467a8c,_0x5e3211,_0x178162,_0x576ff4,_0x28a7d1,_0xf5710f);const _0x4d0c86=this['_dependencyManagerService'][_0x580aac(0x132)](_0x467a8c,_0x5e3211,_0x178162,_0x576ff4);_0x4d0c86!=null?_0x9542f1[_0x580aac(0x138)]=_0x4d0c86:(this[_0x580aac(0x16e)][_0x580aac(0x165)](_0x467a8c,_0x5e3211,_0x178162,_0x576ff4,_0x9542f1),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x9542f1)),_0x2bf97c[_0x580aac(0x10e)](_0x9542f1),this['_dependencyTreeCache'][_0x580aac(0x14e)](_0x9542f1[_0x580aac(0x138)],_0x9542f1);}),_0x2fe15f[_0x4dd7e2(0xe0)]();}}}[_0x216889(0x136)](_0x1c439d,_0x43f74b,_0x65c2ca,_0x2c3b4c,_0x262f5e,_0x5486c1){const _0x2bde1a=_0x216889,{f:_0x36e396,x:_0x5b6596=0x0,y:_0x594383=0x0}=_0x5486c1,_0x2f689c=new a[(_0x2bde1a(0x157))](a[_0x2bde1a(0xe3)](this[_0x2bde1a(0x16e)])),_0x3a0374=_0x262f5e[_0x1c439d][_0x43f74b];return _0x2f689c[_0x2bde1a(0x121)]=_0x36e396,_0x2f689c[_0x2bde1a(0x147)]=_0x1c439d,_0x2f689c['subUnitId']=_0x43f74b,_0x2f689c[_0x2bde1a(0xff)]=_0x65c2ca,_0x2f689c['column']=_0x2c3b4c,_0x2f689c[_0x2bde1a(0x11d)]=_0x3a0374[_0x2bde1a(0x11d)],_0x2f689c[_0x2bde1a(0x154)]=_0x3a0374['columnCount'],_0x2f689c;}[_0x216889(0x175)](){const _0x1802db=_0x216889,_0x3eb2c8=[],_0x5267b7=new Set(),_0xbe472c=this[_0x1802db(0xb6)][_0x1802db(0x10d)](),_0x13601a=this['_currentConfigService'][_0x1802db(0xf5)](),_0x1db314=this['_dependencyManagerService'][_0x1802db(0xf0)](_0x13601a),_0x334406=this[_0x1802db(0xd9)][_0x1802db(0x17d)](_0x13601a);for(const _0x4ad4d6 of _0x334406)_0x1db314[_0x1802db(0x168)](_0x4ad4d6);for(const [_0x24fd0f,_0x1f4a5c]of this[_0x1802db(0x128)])(_0xbe472c||_0x1f4a5c[_0x1802db(0x181)]||_0x1f4a5c[_0x1802db(0x104)](this[_0x1802db(0xb6)][_0x1802db(0xa0)]())||_0x1db314[_0x1802db(0x13d)](_0x24fd0f)&&!_0x1f4a5c[_0x1802db(0x13c)](this[_0x1802db(0xb6)][_0x1802db(0xf6)]()))&&!_0x5267b7['has'](_0x24fd0f)&&(_0x3eb2c8[_0x1802db(0x10e)](_0x1f4a5c),_0x5267b7[_0x1802db(0x168)](_0x24fd0f));for(const [_0x3298ff,_0x280299]of this[_0x1802db(0x128)])_0x280299[_0x1802db(0x12b)]||(_0x280299[_0x1802db(0x188)][_0x1802db(0x19c)]=0x0);return _0x3eb2c8;}[_0x216889(0x115)](_0x3312de){const _0x454d37=_0x216889;return this['_dependencyTreeCache'][_0x454d37(0xf4)](_0x3312de);}[_0x216889(0xc6)](_0x12a16e){const _0x1b33f5=_0x216889;return a[_0x1b33f5(0x17a)](_0x12a16e[_0x1b33f5(0x147)],_0x12a16e[_0x1b33f5(0x121)],this[_0x1b33f5(0x189)],this[_0x1b33f5(0xdd)],this[_0x1b33f5(0xb6)]);}*[_0x216889(0xd5)](_0x3740e1,_0x2a8e5f){const _0x5d0d08=_0x216889,_0x3578a5=_0x3740e1,_0x1d0081=new Set();for(;_0x3578a5[_0x5d0d08(0x19c)]>0x0;){const _0x55e2a9=_0x3578a5[_0x5d0d08(0x123)]();if(_0x1d0081[_0x5d0d08(0xe0)](),_0x55e2a9===void 0x0||_0x55e2a9[_0x5d0d08(0xea)]())continue;if(_0x55e2a9['isAdded']()){yield _0x55e2a9,_0x55e2a9['setSkip'](),_0x2a8e5f[_0x5d0d08(0x168)](_0x55e2a9[_0x5d0d08(0x138)]);continue;}const _0x5c73f4=this[_0x5d0d08(0x16e)][_0x5d0d08(0xf0)](_0x55e2a9['toRTreeItem'](),_0x2a8e5f),_0x22dcb5=this[_0x5d0d08(0xd9)][_0x5d0d08(0x17d)](_0x55e2a9['toRTreeItem'](),_0x2a8e5f);for(const _0x4ff6bf of _0x22dcb5)_0x5c73f4[_0x5d0d08(0x168)](_0x4ff6bf);for(const _0x30b790 of _0x5c73f4){const _0x35aeae=this['_dependencyTreeCache']['get'](_0x30b790);if(!_0x35aeae){console[_0x5d0d08(0xe8)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x30b790);continue;}_0x35aeae[_0x5d0d08(0xbe)]()||_0x55e2a9[_0x5d0d08(0xea)]()||_0x1d0081[_0x5d0d08(0x168)](_0x35aeae);}if(_0x5c73f4[_0x5d0d08(0xe0)](),_0x1d0081[_0x5d0d08(0xa9)]===0x0)yield _0x55e2a9,_0x55e2a9[_0x5d0d08(0x113)](),_0x2a8e5f['add'](_0x55e2a9[_0x5d0d08(0x138)]);else{_0x55e2a9[_0x5d0d08(0x143)](),_0x3578a5[_0x5d0d08(0x10e)](_0x55e2a9);for(const _0x208c19 of _0x1d0081)_0x3578a5['push'](_0x208c19);}}_0x3578a5[_0x5d0d08(0x19c)]=0x0,_0x1d0081[_0x5d0d08(0xe0)]();}[_0x216889(0x11b)](_0xc036f0){const _0x30d924=_0x216889,_0x3ac30e=[],_0x31ccea=new Set();for(const _0x100a8a of this[_0x30d924(0xd5)](_0xc036f0,_0x31ccea))_0x3ac30e[_0x30d924(0x10e)](_0x100a8a);return _0x3ac30e;}async['_getAllTreeList'](){const _0x58d4a5=_0x216889;return await this[_0x58d4a5(0x14a)](),Array['from'](this[_0x58d4a5(0x128)][_0x58d4a5(0xe1)]());}[_0x216889(0x15e)](_0x1b6b11){const _0x48a50c=_0x216889;return this[_0x48a50c(0x16e)][_0x48a50c(0xf0)](_0x1b6b11['toRTreeItem']());}[_0x216889(0x16f)](_0x37c534){const _0x42348a=_0x216889,_0xbe6e2b=new Set(),_0x3a3bbf=_0x37c534['rangeList'];for(const [_0x441ffd,_0x4b56ea]of this[_0x42348a(0x128)])for(const _0x3cdcb5 of _0x3a3bbf){const _0x44c526=_0x3cdcb5[_0x42348a(0x147)],_0x3c46ab=_0x3cdcb5[_0x42348a(0x15d)];if(_0x4b56ea[_0x42348a(0x147)]!==_0x44c526||_0x4b56ea[_0x42348a(0x160)]!==_0x3c46ab)continue;const _0x3500ce=_0x3cdcb5['range'];if(_0x4b56ea[_0x42348a(0x186)](_0x3500ce)){_0xbe6e2b[_0x42348a(0x168)](_0x441ffd);break;}}return _0xbe6e2b;}[_0x216889(0x153)](){const _0x438b56=_0x216889;this[_0x438b56(0x16e)][_0x438b56(0x107)]();}[_0x216889(0x11a)](){const _0x1c6fe2=_0x216889;this['_formulaDependencyTreeModel'][_0x1c6fe2(0xe0)](),this[_0x1c6fe2(0x128)][_0x1c6fe2(0xe0)](),this[_0x1c6fe2(0x16e)]['closeKdTree']();}}const Y=_0x216889(0xad),q={0x0:'6',0x1:'b',0x2:'s',0x3:'3',0x4:'Z',0x5:'y',0x6:'\x20',0x7:'n',0x8:'u',0x9:'7','M':'0','D':'1','f':'2','E':'4','I':'5','B':'8','S':'9','e':'a','h':'c','F':'d','N':'e','X':'f','q':'g','x':'h','g':'i','a':'j','O':'k','T':'l','k':'m','n':'o','i':'p','m':'q','R':'r','w':'t','u':'v','H':'w','W':'x','C':'z','L':'A','y':'B','b':'C','J':'D','U':'E','c':'F','z':'G','V':'H','l':'I','\x20':'J','p':'K','A':'L','r':'M','d':'N','j':'O','t':'P','v':'Q','G':'R','Z':'S','K':'T','s':'U','Y':'V','o':'W','P':'X','Q':'Y'};class V extends a['CalculateFormulaService']{async[_0x216889(0x108)](_0x9c3dcf=!0x1){const _0xb69db=_0x216889;_0x9c3dcf?this[_0xb69db(0x129)][_0xb69db(0xfc)](a[_0xb69db(0xce)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xb69db(0x129)][_0xb69db(0xfc)](a['FormulaExecuteStageType'][_0xb69db(0xac)]),this['_executionInProgressListener$']['next'](this['_runtimeService'][_0xb69db(0x10b)]());const _0x11484b=await this[_0xb69db(0xb1)][_0xb69db(0xf7)](this[_0xb69db(0xa4)]),_0x4523be=this[_0xb69db(0x182)];_0x9c3dcf?(this[_0xb69db(0x129)][_0xb69db(0xfc)](a['FormulaExecuteStageType'][_0xb69db(0x12f)]),this['_runtimeService'][_0xb69db(0xe5)](_0x11484b[_0xb69db(0x19c)])):(this[_0xb69db(0x129)]['setFormulaExecuteStage'](a[_0xb69db(0xce)][_0xb69db(0x103)]),this[_0xb69db(0x129)][_0xb69db(0x172)](_0x11484b['length'])),this[_0xb69db(0xf9)][_0xb69db(0x144)](this[_0xb69db(0x129)][_0xb69db(0x10b)]());let _0x579ea9=[];const _0x892dc7=this[_0xb69db(0x12a)][_0xb69db(0x17e)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x5b6c0a=(_0x892dc7==null?void 0x0:_0x892dc7[_0xb69db(0x156)])||a['DEFAULT_INTERVAL_COUNT'];let _0x35b3c7=0x0;const _0x35b0bc=_0x11484b[_0xb69db(0x19c)];for(;_0x11484b['length']>0x0;){const _0x1199f9=_0x11484b[_0xb69db(0x123)](),_0xfd7151=a[_0xb69db(0x17a)](_0x1199f9[_0xb69db(0x147)],_0x1199f9['formula'],this[_0xb69db(0x189)],this['_astTreeBuilder'],this[_0xb69db(0xb6)]),_0x794666={'node':_0xfd7151,'refOffsetX':_0x1199f9[_0xb69db(0x19d)],'refOffsetY':_0x1199f9[_0xb69db(0x119)]},_0x1f24c4=_0x1199f9[_0xb69db(0x15a)];if(_0x35b3c7%_0x5b6c0a===0x0&&(await new Promise(_0x20be0a=>{const _0x2622f7=_0xb69db,_0x1d2ba5=x['requestImmediateMacroTask'](_0x20be0a);_0x579ea9[_0x2622f7(0x10e)](_0x1d2ba5);}),_0x9c3dcf?(this['_runtimeService']['setFormulaExecuteStage'](a['FormulaExecuteStageType']['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0xb69db(0x137)](_0x35b3c7+0x1)):(this[_0xb69db(0x129)][_0xb69db(0xfc)](a['FormulaExecuteStageType'][_0xb69db(0xb9)]),this[_0xb69db(0x129)][_0xb69db(0xe2)](_0x35b3c7+0x1)),this[_0xb69db(0xf9)]['next'](this[_0xb69db(0x129)]['getRuntimeState']()),this[_0xb69db(0x129)][_0xb69db(0x162)]()||_0x794666==null&&_0x1f24c4==null)){this[_0xb69db(0x129)][_0xb69db(0xfc)](a[_0xb69db(0xce)][_0xb69db(0x14f)]),this[_0xb69db(0x129)][_0xb69db(0x125)](),this[_0xb69db(0x13f)][_0xb69db(0x144)](this['_runtimeService']['getAllRuntimeData']());return;}this['_runtimeService'][_0xb69db(0x190)](_0x1199f9[_0xb69db(0xff)],_0x1199f9[_0xb69db(0x149)],_0x1199f9[_0xb69db(0x11d)],_0x1199f9[_0xb69db(0x154)],_0x1199f9['subUnitId'],_0x1199f9['unitId']);let _0x38c20c;if(_0x1f24c4!=null&&_0x1199f9['featureId']!=null){const {runtimeCellData:_0x1545d8,dirtyRanges:_0x263a27}=_0x1f24c4(this[_0xb69db(0xb6)][_0xb69db(0x15a)](),this['_runtimeService'][_0xb69db(0x194)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x1199f9[_0xb69db(0x13e)],_0x1545d8),this[_0xb69db(0x129)][_0xb69db(0xd0)](_0x1199f9['featureId'],_0x263a27);}else _0x794666!=null&&(_0x4523be['checkAsyncNode'](_0x794666[_0xb69db(0x134)])?_0x38c20c=await _0x4523be['executeAsync'](_0x794666):_0x38c20c=_0x4523be[_0xb69db(0x16b)](_0x794666),_0x1199f9[_0xb69db(0xb2)]!=null?this['_runtimeService'][_0xb69db(0x159)](_0x1199f9[_0xb69db(0xb2)],_0x1199f9[_0xb69db(0x19d)],_0x1199f9['refOffsetY'],_0x38c20c):this[_0xb69db(0x129)][_0xb69db(0xa3)](_0x38c20c));_0xfd7151[_0xb69db(0x191)](),_0x35b3c7++;}return _0x579ea9[_0xb69db(0x166)](_0x4e04c8=>_0x4e04c8()),_0x579ea9=[],_0x35b0bc>0x0?this['_runtimeService'][_0xb69db(0x145)]():_0x9c3dcf||this[_0xb69db(0x129)][_0xb69db(0xbb)](),this[_0xb69db(0x129)][_0xb69db(0x194)]();}}class W extends a[_0x216889(0x179)]{constructor(){const _0x15a120=_0x216889;super(...arguments),R(this,_0x15a120(0x101),new Map()),R(this,_0x15a120(0x15b),new x[(_0x15a120(0x13a))](!0x0));}[_0x216889(0x151)](){const _0x55d30b=_0x216889;this['_otherFormulaData']['clear'](),this[_0x55d30b(0x110)][_0x55d30b(0xe0)](),this[_0x55d30b(0x105)]['clear'](),this[_0x55d30b(0x15b)][_0x55d30b(0xe0)](),this[_0x55d30b(0x101)][_0x55d30b(0xe0)](),this[_0x55d30b(0x139)](),this[_0x55d30b(0x17f)][_0x55d30b(0xe0)]();}[_0x216889(0xda)](_0x5d22d5,_0x3ed9f2,_0x5b15f6,_0x1be7bc){const _0x1a8fb0=_0x216889;this[_0x1a8fb0(0xdb)][_0x1a8fb0(0x13d)](_0x5d22d5)||this[_0x1a8fb0(0xdb)][_0x1a8fb0(0x14e)](_0x5d22d5,new Map());const _0x39b560=this['_otherFormulaData'][_0x1a8fb0(0xf4)](_0x5d22d5);_0x39b560[_0x1a8fb0(0x13d)](_0x3ed9f2)||_0x39b560['set'](_0x3ed9f2,new Map());const _0x611243=_0x39b560[_0x1a8fb0(0xf4)](_0x3ed9f2);_0x611243[_0x1a8fb0(0x13d)](_0x5b15f6)||_0x611243['set'](_0x5b15f6,new x['ObjectMatrix']()),_0x611243[_0x1a8fb0(0xf4)](_0x5b15f6)[_0x1a8fb0(0x10a)](_0x1be7bc[_0x1a8fb0(0x19d)],_0x1be7bc[_0x1a8fb0(0x119)],_0x1be7bc['treeId']);}['removeOtherFormulaDependency'](_0xb999db,_0x190265,_0x2dbf89){const _0x304c12=_0x216889,_0x3f9b71=this[_0x304c12(0xdb)]['get'](_0xb999db);if(_0x3f9b71&&_0x3f9b71[_0x304c12(0x13d)](_0x190265)){const _0x265bd6=_0x3f9b71[_0x304c12(0xf4)](_0x190265);_0x2dbf89[_0x304c12(0x166)](_0x413162=>{const _0x3c5a5d=_0x304c12,_0x2c2ce1=_0x265bd6[_0x3c5a5d(0xf4)](_0x413162);_0x2c2ce1!=null&&(_0x2c2ce1[_0x3c5a5d(0x12d)]((_0x443b6e,_0x2f0b18,_0x1c9e34)=>{const _0x504e1e=_0x3c5a5d;this['_removeDependencyRTreeCache'](_0x1c9e34),this[_0x504e1e(0xab)](_0x1c9e34);}),_0x265bd6[_0x3c5a5d(0x9f)](_0x413162),this[_0x3c5a5d(0x17f)][_0x3c5a5d(0x9f)](_0x413162));}),_0x265bd6[_0x304c12(0xa9)]===0x0&&_0x3f9b71[_0x304c12(0x9f)](_0x190265),_0x3f9b71[_0x304c12(0xa9)]===0x0&&this['_otherFormulaData'][_0x304c12(0x9f)](_0xb999db);}}['clearOtherFormulaDependency'](_0x3134e4,_0xbb9c19){const _0x25f47e=_0x216889,_0x23b5bc=this[_0x25f47e(0xdb)]['get'](_0x3134e4);if(_0xbb9c19&&_0x23b5bc&&_0x23b5bc['has'](_0xbb9c19)){const _0x5ac386=_0x23b5bc['get'](_0xbb9c19);this['_removeDependencyRTreeCacheById'](_0x3134e4,_0xbb9c19);for(const _0x29f04e of _0x5ac386[_0x25f47e(0xcf)]()){const _0x38118f=_0x5ac386[_0x25f47e(0xf4)](_0x29f04e);_0x38118f!=null&&(_0x38118f[_0x25f47e(0x12d)]((_0x2b730f,_0x3d8cb2,_0xe84fd)=>{const _0x25b40f=_0x25f47e;this['_allTreeMap']['get'](_0xe84fd)&&this[_0x25b40f(0xab)](_0xe84fd);}),this[_0x25f47e(0x17f)][_0x25f47e(0x9f)](_0x29f04e));}_0x5ac386[_0x25f47e(0xe0)]();}else{if(_0x23b5bc){for(const _0x19aea2 of _0x23b5bc[_0x25f47e(0xcf)]()){const _0x82a242=_0x23b5bc[_0x25f47e(0xf4)](_0x19aea2);this[_0x25f47e(0x180)](_0x3134e4,_0x19aea2);for(const _0x5180f4 of _0x82a242[_0x25f47e(0xcf)]()){const _0x2ebdb4=_0x82a242['get'](_0x5180f4);_0x2ebdb4!=null&&(_0x2ebdb4['forValue']((_0x3729fd,_0x376264,_0x532d68)=>{const _0x5d6fd7=_0x25f47e;this[_0x5d6fd7(0x101)][_0x5d6fd7(0xf4)](_0x532d68)&&this['_removeAllTreeMap'](_0x532d68);}),this[_0x25f47e(0x17f)][_0x25f47e(0x9f)](_0x5180f4));}}this[_0x25f47e(0xdb)][_0x25f47e(0x9f)](_0x3134e4);}}}[_0x216889(0xf3)](_0x3c6b38,_0x3d6457,_0x2c9d7e,_0x2bad95){const _0x599bff=_0x216889;this[_0x599bff(0x110)][_0x599bff(0x13d)](_0x3c6b38)||this[_0x599bff(0x110)][_0x599bff(0x14e)](_0x3c6b38,new Map());const _0x4b64fd=this['_featureFormulaData'][_0x599bff(0xf4)](_0x3c6b38);_0x4b64fd[_0x599bff(0x13d)](_0x3d6457)||_0x4b64fd[_0x599bff(0x14e)](_0x3d6457,new Map()),_0x4b64fd[_0x599bff(0xf4)](_0x3d6457)[_0x599bff(0x14e)](_0x2c9d7e,_0x2bad95[_0x599bff(0x138)]);}[_0x216889(0x124)](_0x20e554,_0x2cddbf,_0x39d74e){const _0x2400c9=_0x216889,_0x4f9457=this[_0x2400c9(0x110)][_0x2400c9(0xf4)](_0x20e554);if(_0x4f9457&&_0x4f9457[_0x2400c9(0x13d)](_0x2cddbf)){const _0x2fd2a0=_0x4f9457[_0x2400c9(0xf4)](_0x2cddbf);_0x39d74e[_0x2400c9(0x166)](_0x5353a7=>{const _0x252abb=_0x2400c9,_0x3a6ad2=_0x2fd2a0[_0x252abb(0xf4)](_0x5353a7);_0x3a6ad2!=null&&(this[_0x252abb(0x197)](_0x3a6ad2),_0x2fd2a0[_0x252abb(0x9f)](_0x5353a7),this[_0x252abb(0xab)](_0x3a6ad2));});}}[_0x216889(0xb3)](_0x57c3d8,_0x38fb5d){const _0x363e35=_0x216889,_0x5eb457=this['_featureFormulaData'][_0x363e35(0xf4)](_0x57c3d8);if(_0x38fb5d&&_0x5eb457&&_0x5eb457[_0x363e35(0x13d)](_0x38fb5d)){const _0xad671e=_0x5eb457[_0x363e35(0xf4)](_0x38fb5d);this[_0x363e35(0x180)](_0x57c3d8,_0x38fb5d),_0xad671e['forEach'](_0x3b24ee=>{const _0x2e2894=_0x363e35;_0x3b24ee!=null&&this[_0x2e2894(0xab)](_0x3b24ee);}),_0xad671e['clear']();}else _0x5eb457&&(_0x5eb457[_0x363e35(0x166)]((_0x5eb1a9,_0x366af4)=>{this['_removeDependencyRTreeCacheById'](_0x57c3d8,_0x366af4),_0x5eb1a9['forEach'](_0x19b9b9=>{_0x19b9b9!=null&&this['_removeAllTreeMap'](_0x19b9b9);});}),this[_0x363e35(0x110)]['delete'](_0x57c3d8));}[_0x216889(0x165)](_0x80c6df,_0x434de0,_0x36e210,_0x351600,_0x174c62){const _0x18919b=_0x216889;this[_0x18919b(0x105)][_0x18919b(0x13d)](_0x80c6df)||this[_0x18919b(0x105)][_0x18919b(0x14e)](_0x80c6df,new Map());const _0x591125=this[_0x18919b(0x105)]['get'](_0x80c6df);_0x591125[_0x18919b(0x13d)](_0x434de0)||_0x591125[_0x18919b(0x14e)](_0x434de0,new x[(_0x18919b(0xa1))]()),_0x591125['get'](_0x434de0)[_0x18919b(0x10a)](_0x36e210,_0x351600,_0x174c62[_0x18919b(0x138)]);}['removeFormulaDependency'](_0x46ac1c,_0x144892,_0x1a91c0,_0x25c289){const _0x27e965=_0x216889,_0x5c8cb1=this[_0x27e965(0x105)]['get'](_0x46ac1c);if(_0x5c8cb1&&_0x5c8cb1[_0x27e965(0x13d)](_0x144892)){const _0x6982d6=_0x5c8cb1[_0x27e965(0xf4)](_0x144892),_0x569a3f=_0x6982d6[_0x27e965(0xbc)](_0x1a91c0,_0x25c289);if(_0x569a3f==null)return;this[_0x27e965(0x197)](_0x569a3f),_0x6982d6[_0x27e965(0x178)](_0x1a91c0,_0x25c289),this['_removeAllTreeMap'](_0x569a3f);}}[_0x216889(0xc8)](_0x55dba4,_0x5e3ba0){const _0x178024=_0x216889,_0x139123=this[_0x178024(0x105)][_0x178024(0xf4)](_0x55dba4);if(_0x5e3ba0&&_0x139123&&_0x139123[_0x178024(0x13d)](_0x5e3ba0)){const _0x2a453b=_0x139123['get'](_0x5e3ba0);this['_removeDependencyRTreeCacheById'](_0x55dba4,_0x5e3ba0),_0x2a453b[_0x178024(0x12d)]((_0x5f0959,_0x254ac9,_0x506299)=>{if(_0x506299==null)return!0x0;this['_removeAllTreeMap'](_0x506299);}),_0x2a453b[_0x178024(0x151)]();}else _0x139123&&(_0x139123['forEach']((_0x398804,_0x5d2ad1)=>{const _0x3b18e0=_0x178024;this[_0x3b18e0(0x180)](_0x55dba4,_0x5d2ad1),_0x398804['forValue']((_0x3de21b,_0x53a975,_0x3ae6e5)=>{if(_0x3ae6e5==null)return!0x0;this['_removeAllTreeMap'](_0x3ae6e5);});}),this[_0x178024(0x105)][_0x178024(0x9f)](_0x55dba4));}[_0x216889(0x197)](_0x332af2){const _0x590047=_0x216889;if(_0x332af2==null)return;const _0x42c570=this[_0x590047(0x101)]['get'](_0x332af2);if(_0x42c570){const _0x24f4f5=[];for(const [_0x3c8479,_0x52f787]of _0x42c570)for(const [_0x4d6768,_0x3691f2]of _0x52f787)_0x24f4f5[_0x590047(0x10e)]({'unitId':_0x3c8479,'sheetId':_0x4d6768,'range':_0x3691f2,'id':_0x332af2});this[_0x590047(0x15b)][_0x590047(0xe4)](_0x24f4f5);}}[_0x216889(0xc2)](_0x167eaa,_0x1a167c){const _0xa9f754=_0x216889,_0x238e58=this[_0xa9f754(0x111)][_0xa9f754(0xf4)](_0x167eaa);if(_0x238e58){const _0x3293d3=_0x238e58[_0xa9f754(0xf4)](_0x1a167c);if(_0x3293d3){for(const _0x236c23 of _0x3293d3)this[_0xa9f754(0x197)](_0x236c23),this[_0xa9f754(0xab)](_0x236c23);_0x3293d3[_0xa9f754(0xe0)]();}}}[_0x216889(0x107)](){const _0x44dc1b=_0x216889;this['_dependencyRTreeCache'][_0x44dc1b(0x107)]();}[_0x216889(0xc3)](){const _0x2f9be8=_0x216889;this[_0x2f9be8(0x15b)]['closeKdTree']();}[_0x216889(0xab)](_0x350dba){const _0x549311=_0x216889;_0x350dba!=null&&this['_allTreeMap'][_0x549311(0x9f)](_0x350dba);}[_0x216889(0xcb)](_0x215788){const _0x3b6fe7=_0x216889;var _0xfde2c6,_0x302351;const _0xfeb51a=_0x215788['rangeList'];let _0x2dcb29=this[_0x3b6fe7(0x101)][_0x3b6fe7(0xf4)](_0x215788[_0x3b6fe7(0x138)]);for(let _0xaf0c10=0x0;_0xaf0c10<_0xfeb51a[_0x3b6fe7(0x19c)];_0xaf0c10++){const _0x11746c=_0xfeb51a[_0xaf0c10];let {unitId:_0x2415c8,sheetId:_0xab83dd,range:_0x4ab08b}=_0x11746c;_0x2dcb29||(_0x2dcb29=new Map(),this[_0x3b6fe7(0x101)][_0x3b6fe7(0x14e)](_0x215788[_0x3b6fe7(0x138)],_0x2dcb29)),_0x2dcb29[_0x3b6fe7(0x13d)](_0x2415c8)||_0x2dcb29[_0x3b6fe7(0x14e)](_0x2415c8,new Map());const _0x38fd1f=(_0xfde2c6=_0x2dcb29==null?void 0x0:_0x2dcb29[_0x3b6fe7(0xf4)](_0x2415c8))==null?void 0x0:_0xfde2c6[_0x3b6fe7(0xf4)](_0xab83dd);_0x38fd1f&&(_0x4ab08b={'startRow':Math[_0x3b6fe7(0x11f)](_0x4ab08b[_0x3b6fe7(0xfe)],_0x38fd1f[_0x3b6fe7(0xfe)]),'startColumn':Math[_0x3b6fe7(0x11f)](_0x4ab08b[_0x3b6fe7(0xef)],_0x38fd1f[_0x3b6fe7(0xef)]),'endRow':Math['max'](_0x4ab08b['endRow'],_0x38fd1f[_0x3b6fe7(0x19a)]),'endColumn':Math[_0x3b6fe7(0xf2)](_0x4ab08b['endColumn'],_0x38fd1f[_0x3b6fe7(0x199)])}),(_0x302351=_0x2dcb29[_0x3b6fe7(0xf4)](_0x2415c8))==null||_0x302351[_0x3b6fe7(0x14e)](_0xab83dd,_0x4ab08b);}}}var j=Object[_0x216889(0xc1)],$=(_0x2606d1,_0x5e6ed1,_0x5cdd48,_0x630f09)=>{const _0x313e3d=_0x216889;for(var _0xebf029=_0x630f09>0x1?void 0x0:_0x630f09?j(_0x5e6ed1,_0x5cdd48):_0x5e6ed1,_0x30cab0=_0x2606d1[_0x313e3d(0x19c)]-0x1,_0x50070a;_0x30cab0>=0x0;_0x30cab0--)(_0x50070a=_0x2606d1[_0x30cab0])&&(_0xebf029=_0x50070a(_0xebf029)||_0xebf029);return _0xebf029;};const G=Number[_0x216889(0x11c)](0x69a28918);function _0x3559(_0x2580a8,_0x1300c8){_0x2580a8=_0x2580a8-0x9f;const _0x21357b=_0x2135();let _0x355908=_0x21357b[_0x2580a8];return _0x355908;}exports['UniverProFormulaEnginePlugin']=class extends a[_0x216889(0x15c)]{[_0x216889(0xd7)](){const _0x3c0c42=_0x216889;var _0x337ff4,_0x10c310;this['_initLicenseValid']()?(this[_0x3c0c42(0x19b)][_0x3c0c42(0x168)]([a[_0x3c0c42(0x167)],{'useClass':L}]),(_0x337ff4=this['_config'])!=null&&_0x337ff4[_0x3c0c42(0x185)]||[[a[_0x3c0c42(0x177)],{'useClass':V}],[a['IDependencyManagerService'],{'useClass':W}],[a[_0x3c0c42(0x164)],{'useClass':K}]]['forEach'](_0x3d5d81=>this['_injector'][_0x3c0c42(0x168)](_0x3d5d81))):(this[_0x3c0c42(0x19b)][_0x3c0c42(0x168)]([a[_0x3c0c42(0x167)],{'useClass':a[_0x3c0c42(0x167)]}]),(_0x10c310=this[_0x3c0c42(0x116)])!=null&&_0x10c310[_0x3c0c42(0x185)]||[[a[_0x3c0c42(0x177)],{'useClass':a['CalculateFormulaService']}],[a[_0x3c0c42(0x18b)],{'useClass':a[_0x3c0c42(0xde)]}],[a[_0x3c0c42(0x164)],{'useClass':a[_0x3c0c42(0xed)]}]]['forEach'](_0x50e4c1=>this['_injector']['add'](_0x50e4c1)));}[_0x216889(0xfa)](){const _0x28e8e8=_0x216889;var _0x3cd85b;const _0x890b9a=(_0x3cd85b=this[_0x28e8e8(0x12a)][_0x28e8e8(0x17e)](w['LS_CONFIG_KEY']))!=null?_0x3cd85b:{},{ls:_0x3cdbdd,pbk:_0x36c531}=_0x890b9a;if(!_0x3cdbdd||!_0x36c531)return!0x1;const _0x59c370=w[_0x28e8e8(0xd1)](Y,q),_0x31f657=new Function('return\x20'+_0x59c370)()(_0x3cdbdd,_0x36c531),_0xad8985=_0x31f657[_0x28e8e8(0xfb)];return _0x31f657['valid']&&w[_0x28e8e8(0x12e)](_0xad8985,'sf',G)?w[_0x28e8e8(0x16c)](_0xad8985,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x216889(0xd8)]=$([x['DependentOn'](w['UniverLicensePlugin'])],exports[_0x216889(0xd8)]),exports[_0x216889(0x102)]=L,Object['keys'](a)[_0x216889(0x166)](_0x229d47=>{const _0x34b8fd=_0x216889;_0x229d47!==_0x34b8fd(0x18a)&&!Object[_0x34b8fd(0xe9)][_0x34b8fd(0xa7)][_0x34b8fd(0x13b)](exports,_0x229d47)&&Object[_0x34b8fd(0xa5)](exports,_0x229d47,{'enumerable':!0x0,'get':()=>a[_0x229d47]});});
1
+ 'use strict';function _0x7ae8(){const _0x519397=['return\x20','RTree','forValue','hasOwnProperty','clearArrayObjectCache','generateAstNode','_getTreeById','_dependencyRTreeCacheForAddressFunction','endsWith','_getCurNodeTypeForExprTree','_getFirstCellOfRange','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_getAllDependencyJson','refTree','getToken','FormulaDependencyTreeType','generateRandomDependencyTreeId','14988AuRiNO','setRuntimeData','startColumn','searchDependency','FormulaDependencyGenerator','setRuntimeFeatureRange','_getDependencyTreeParenIds','prefixToken','_removeDependencyRTreeCache','IFormulaDependencyGenerator','getFormulaDependency','isSkip','parseInt','_dependencyRTreeCache','_lambdaFunctionParameterSet','Module','values','addFormulaDependencyByDefinedName','_currentUnitId','ErrorType','unitId','setDependencyTreeModelData','DependentOn','16965xDyvCp','toStringTag','DependencyManagerBaseService','LexerNode','string','setFormulaExecuteStage','getDirtyData','_checkColonNodeForExprTree','dirtyRanges','isReferenceString','960TMuFeS','resolve','getExcludedRange','reset','setValue','columnCount','getFormulaData','dependencySheetName','FormulaExecuteStageType','_apply','message','realDeleteValue','notExecuteFormula','DependencyManagerService','getDirtyRanges','featureDirtyRanges','_generateTreeList','enableCycleDependency','push','_getTableNameFromStructuredRef','FormulaDependencyTree','pop','_isCalculateTreeModel','isAdded','set','generate','OTHER_FORMULA','_checkIsCycleDependency','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','closeKdTree','_xlfnPrefix','addOtherFormulaDependency','getRuntimeState','toUpperCase','_clearFunctionString','getConfig','setCompletedFormulasCount','_dependencyTreeCache','531140xqWXnu','isExcludeRange','get','clearOtherFormulaDependency','_lexer','getStartIndex','row','symbol','DEFAULT_TOKEN_TYPE_ROOT','clearFeatureFormulaDependency','LS_CONFIG_KEY','getChildren','DEFAULT_TOKEN_TYPE_PARAMETER','openKdTree','FEATURE_FORMULA','_otherFormulaData','subUnitId','min','3249LSAkgb','sheetId','_checkAddBracketForMinus','36XVNfWm','type','_restDependencyTreeId','toRTreeItem','DEFAULT_INTERVAL_COUNT','value','resetCalculationState','getValue','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','splitTableStructuredRef','_getDependencyTreeChildrenIds','treeBuilder','_removeDependencyRTreeCacheById','getOwnPropertyDescriptor','inRangeData','startIndex','markedAsStopFunctionsExecuted','isDirty','COLON','addFormulaDependency','setCurrent','_injector','column','isFeatureAuthorizedWithinTime','SUFFIX_TOKEN_SET','_handleTextNodeForExprTree','_astTreeBuilder','setAdded','max','/*1Jtyl5B-6lt4oyJ1bWJAJW-BJLby4BJ1*/AI5aBlz516JaWwbBlz5(ylaJ5tJ,1bIoylaFJw)1{1111BWw1{11111111az5tB1ylaJ5tJD5AzR4WBmWW4w1=1ylaJ5tJ.tbylB(\x27-\x27);11111111az5tB1zWlvl5CJtt4vJ1=18EGO.b4WtJ(4Bzo(ylaJ5tJD5AzR4WBmWW4w[P]));11111111lA1(!zWlvl5CJtt4vJ.I6)1{111111111111zWlvl5CJtt4vJ.I61=1OILoJW(ylaJ5tJD5AzR4WBmWW4w[x]);11111111}11111111az5tB1ltezWNJW1=1BwbJzA1ezWNJWdyzo4yEazbJ1!==1\x27I56JAl5J6\x271&&1tJyA1l5tB45aJzA1ezWNJWdyzo4yEazbJ;11111111az5tB1ltSWzXtJW1=1BwbJzA1Xl56zX1!==1\x27I56JAl5J6\x271&&1BwbJzA1Xl56zX.yza4Blz51!==1\x27I56JAl5J6\x27;11111111az5tB1az5BJsB1=1ltezWNJW1?1tJyA1:1(ltSWzXtJW1?1Xl56zX1:1vyzo4yrklt);11111111az5tB1LJtt4vJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[P]);11111111az5tB1LJtt4vJ1=1az5BJsB.__iJs__.tBWl5vlAw(LJtt4vJezW6);11111111az5tB1tlv54BIWJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[q]);11111111az5tB1tlv54BIWJ1=1az5BJsB.__iJs__.tBWl5vlAw(tlv54BIWJezW6);11111111az5tB1tlv5p4yl61=1az5BJsB.__QJWlAw__(tlv54BIWJ,1LJtt4vJ,1bIoylaFJw);11111111az5tB16zL4l51=1zWlvl5CJtt4vJ.6L;11111111AI5aBlz51lt2zL4l5C4Bakl5v(b4BBJW5,1kztB)1{111111111111lA1(b4BBJW51===1kztB)1WJBIW51BWIJ;111111111111lA1(b4BBJW5.tB4WBtelBk(\x27*.\x27))1{1111111111111111az5tB1tIAAls1=1b4BBJW5.tylaJ(P);1111111111111111lA1(tIAAls1&&1tIAAls1===1kztB)1{11111111111111111111WJBIW51BWIJ;1111111111111111}1111111111111111lA1(tIAAls1&&1!kztB.tB4WBtelBk(\x27.\x27)1&&1kztB.J56telBk(\x27.\x271+1tIAAls))1{11111111111111111111WJBIW51BWIJ;1111111111111111}111111111111}111111111111WJBIW51A4ytJ;11111111}11111111yJB16zL4l5p4yl61=1A4ytJ;11111111lA1(ltSWzXtJW)1{1111111111116zL4l5p4yl61=1(6zL4l51&&16zL4l5.yJ5vBk)1?16zL4l5.tzLJ((6LDBJL)1=>1lt2zL4l5C4Bakl5v(6LDBJL,1yza4Blz5.kztB54LJ))1:1BWIJ;111111111111lA1(yza4Blz5.kztB54LJ1===1\x27yza4ykztB\x27)1{11111111111111116zL4l5p4yl61=1BWIJ;111111111111}11111111}1JytJ1{1111111111116zL4l5p4yl61=1BWIJ;11111111}11111111az5tB1Q4yl61=1tlv5p4yl61&&16zL4l5p4yl6;11111111WJBIW51{111111111111Q4yl6,111111111111LJtt4vJ:1zWlvl5CJtt4vJ,11111111};1111}1a4Bak1(JWWzW)1{11111111WJBIW51{111111111111Q4yl6:1A4ytJ,111111111111LJtt4vJ:1{},11111111};1111}}','markedAsNoFunctionsExecuted','UniverFormulaEnginePlugin','execute','slice','clearFormulaDependency','_resetPrefix','forEach','154pPevuM','OPERATOR_TOKEN_SET','endColumn','_handleNewFunctionChild','_runtimeService','length','6695hQMMgC','getSheetFeatureLimit','_xlfn.','error','removeFeatureFormulaDependency','UniverLicensePlugin','DEFAULT_TOKEN_LET_FUNCTION_NAME','isStopExecution','_featureFormulaData','_dependencyManagerService','IDependencyManagerService','_configService','_removeAllTreeMap','_traverse','CURRENTLY_CALCULATING_ARRAY_FORMULA','call','getUnitData','bulkSearch','removeOtherFormulaDependency','175494YjLATP','7884NFDCpt','_isCyclicUtilMap','ObjectMatrix','CURRENTLY_CALCULATING','START_CALCULATION','_currentConfigService','startRow','_config','_generateExprTree','_clearPrefix','join','add','_generateNewFunctionString','Lambda\x20parameter\x20name\x20\x22','isArray','_calculateRunList','_formulaDependencyGenerator','_handleChildrenForExprTree','MINUS','keys','setTotalFormulasToCalculate','UniverProFormulaEnginePlugin','addFeatureFormulaDependency','_handleLambdaForExprTree','children','has','node','129PGxPpR','_formulaData','START_CALCULATION_ARRAY_FORMULA','getClearDependencyTreeCache','FormulaDependencyTreeVirtual','_xlpmPrefix','defineProperty','\x22\x20is\x20duplicated.','prototype','NEW_EXCEL_FUNCTIONS','rangeList','getAllRuntimeData','formulaId','_getUpdateTreeListAndMakeDependency','1864LHWyuY','markedAsSuccessfullyExecuted','_endFormulaDependencyTreeModel','getDirtyNameMap','next','executeAsync','VALUE','_registerOtherFormulas','isCache','dispose','trim','hasOtherFormulaDataMainData','bulkRemove','matchToken','refOffsetX','_allTreeMap','checkAsyncNode','_createVirtualFDtree','_initLicenseValid','getNewFormulaWithPrefix','clear','size','featureId','formula','rowCount','refOffsetY','_createFDtree','_hasNewExcelFunction','LexerTreeBuilder','treeId','_executionInProgressListener$','delete','_otherFormulaDataMainData','addOtherFormulaDependencyMainData','_formulaDependencyTreeModel','_startFormulaDependencyTreeModel','CalculateFormulaService','_updateRangeFlatten','346598hxtlGy','removeFormulaDependency','_otherFormulaManagerService','IDLE','_addAllTreeMap'];_0x7ae8=function(){return _0x519397;};return _0x7ae8();}const _0x50446b=_0xd772;(function(_0x595bdf,_0x111daa){const _0x167b3c=_0xd772,_0x2cc4cb=_0x595bdf();while(!![]){try{const _0x42aeaa=-parseInt(_0x167b3c(0x150))/0x1*(-parseInt(_0x167b3c(0x19a))/0x2)+parseInt(_0x167b3c(0x134))/0x3*(parseInt(_0x167b3c(0x1f6))/0x4)+-parseInt(_0x167b3c(0x1b1))/0x5*(-parseInt(_0x167b3c(0x1bb))/0x6)+-parseInt(_0x167b3c(0x184))/0x7+-parseInt(_0x167b3c(0x15e))/0x8*(parseInt(_0x167b3c(0x1f3))/0x9)+parseInt(_0x167b3c(0x1e1))/0xa*(-parseInt(_0x167b3c(0x11b))/0xb)+parseInt(_0x167b3c(0x135))/0xc*(-parseInt(_0x167b3c(0x121))/0xd);if(_0x42aeaa===_0x111daa)break;else _0x2cc4cb['push'](_0x2cc4cb['shift']());}catch(_0x1e2eb3){_0x2cc4cb['push'](_0x2cc4cb['shift']());}}}(_0x7ae8,0xc851e));var k=Object[_0x50446b(0x156)],P=(_0x3fd9ed,_0x3027cf,_0x4727cc)=>_0x3027cf in _0x3fd9ed?k(_0x3fd9ed,_0x3027cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4727cc}):_0x3fd9ed[_0x3027cf]=_0x4727cc,D=(_0x257953,_0x33e506,_0x9f1c5a)=>P(_0x257953,typeof _0x33e506!=_0x50446b(0x1e8)?_0x33e506+'':_0x33e506,_0x9f1c5a);Object[_0x50446b(0x156)](exports,Symbol[_0x50446b(0x1b2)],{'value':_0x50446b(0x1a9)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),A=require('@univerjs/core');class B extends a['LexerTreeBuilder']{constructor(){const _0x4aa830=_0x50446b;super(...arguments),D(this,_0x4aa830(0x179),!0x1),D(this,_0x4aa830(0x1a8),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,_0x4aa830(0x1d9),_0x4aa830(0x123)),D(this,_0x4aa830(0x1ac),'');}['_resetPrefix'](){const _0xe54044=_0x50446b;this[_0xe54044(0x155)]='_xlpm.',this[_0xe54044(0x1d9)]=_0xe54044(0x123);}['_clearPrefix'](){const _0x589898=_0x50446b;this[_0x589898(0x155)]='',this[_0x589898(0x1d9)]='';}[_0x50446b(0x171)](_0xe8542e,_0xe0fb03){const _0x462bae=_0x50446b,_0x3ff565=this[_0x462bae(0x201)](_0xe8542e,!0x1);if(!_0x3ff565||_0x3ff565===a[_0x462bae(0x1ad)][_0x462bae(0x164)]||Array[_0x462bae(0x143)](_0x3ff565))return null;const _0x4de6cf=[];return this[_0x462bae(0x179)]=!0x1,this[_0x462bae(0x141)](_0x3ff565,_0x4de6cf,_0xe0fb03),this['_hasNewExcelFunction']?'='+_0x4de6cf[_0x462bae(0x13f)](''):null;}['_generateNewFunctionString'](_0x153b33,_0x2da64e,_0x4da99f){const _0x5186a2=_0x50446b,_0x3da0be=_0x153b33[_0x5186a2(0x197)](),_0x5b7ce1=_0x3da0be[_0x5186a2(0x168)](),_0x29584a=_0x5b7ce1[_0x5186a2(0x1dc)](),_0x2cd037=this['_clearFunctionString'](_0x29584a),_0x5929a5=_0x4da99f(_0x2cd037);let _0x352317=0x0;_0x3da0be===a[_0x5186a2(0x1e9)]?_0x352317=0x3:_0x3da0be===a[_0x5186a2(0x1ed)]?_0x352317=0x4:_0x3da0be===a[_0x5186a2(0x1fe)]?_0x352317=0x5:a[_0x5186a2(0x159)][_0x5186a2(0x14e)](_0x2cd037)?(_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlfnPrefix']+_0x5b7ce1),this[_0x5186a2(0x179)]=!0x0):_0x29584a===a[_0x5186a2(0x1d7)]?(_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlfnPrefix']+_0x5b7ce1),this['_hasNewExcelFunction']=!0x0,_0x352317=0x2):_0x29584a===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x2da64e[_0x5186a2(0x1cd)](''+this[_0x5186a2(0x1d9)]+_0x5b7ce1),this['_hasNewExcelFunction']=!0x0,_0x352317=0x1):_0x29584a===a[_0x5186a2(0x16b)][_0x5186a2(0x208)]?_0x352317=0x8:a[_0x5186a2(0x20e)][_0x5186a2(0x14e)](_0x29584a)?_0x352317=0x7:_0x29584a===a[_0x5186a2(0x1a1)][_0x5186a2(0x147)]?(this[_0x5186a2(0x1f5)](_0x153b33)&&(_0x352317=0x9),_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be)):(_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),_0x352317=0xa),_0x5929a5?(_0x352317!==0x2&&_0x352317!==0x1&&(_0x352317=0x6),_0x2da64e[_0x5186a2(0x1cd)]('(')):_0x352317===0x9&&_0x2da64e[_0x5186a2(0x1cd)]('(');const _0x2ac765=_0x153b33[_0x5186a2(0x1ec)](),_0x1d588f=_0x2ac765[_0x5186a2(0x120)];if(_0x352317===0x2){const _0x52af7e=_0x2ac765[0x0];let _0x5490fc=0x0;_0x52af7e instanceof a[_0x5186a2(0x1b4)]&&_0x52af7e['getToken']()===a[_0x5186a2(0x1fe)]&&(_0x5490fc=0x1);for(let _0x47d635=_0x5490fc;_0x47d635<_0x1d588f-0x1;_0x47d635++){const _0x113268=_0x2ac765[_0x47d635];if(_0x113268 instanceof a[_0x5186a2(0x1b4)]){const _0x94cbbf=_0x113268[_0x5186a2(0x1ec)]()[0x0];typeof _0x94cbbf==_0x5186a2(0x1b5)&&(this[_0x5186a2(0x1a8)][_0x5186a2(0x14e)](_0x94cbbf)&&console[_0x5186a2(0x124)](_0x5186a2(0x142)+_0x94cbbf+_0x5186a2(0x157)),this['_lambdaFunctionParameterSet'][_0x5186a2(0x140)](_0x94cbbf),_0x2da64e[_0x5186a2(0x1cd)](''+this[_0x5186a2(0x155)]+_0x94cbbf),this[_0x5186a2(0x179)]=!0x0);}_0x2da64e[_0x5186a2(0x1cd)](',');}this[_0x5186a2(0x11e)](_0x2ac765[_0x1d588f-0x1],_0x2da64e,_0x4da99f),_0x5490fc===0x1&&(_0x2da64e[_0x5186a2(0x1cd)](')'),_0x2da64e['push']('('),this[_0x5186a2(0x141)](_0x52af7e,_0x2da64e,_0x4da99f)),_0x2da64e['push'](')');return;}else{if(_0x352317===0x1){for(let _0x1dbd2c=0x0;_0x1dbd2c<_0x1d588f-0x1;_0x1dbd2c++){const _0x2d9c65=_0x2ac765[_0x1dbd2c];if(_0x2d9c65 instanceof a[_0x5186a2(0x1b4)]&&_0x1dbd2c%0x2===0x0){const _0x595f2b=_0x2d9c65[_0x5186a2(0x1ec)]()[0x0];if(typeof _0x595f2b==_0x5186a2(0x1b5)){this[_0x5186a2(0x1a8)][_0x5186a2(0x14e)](_0x595f2b)&&console[_0x5186a2(0x124)]('Let\x20variable\x20name\x20\x22'+_0x595f2b+_0x5186a2(0x157)),this[_0x5186a2(0x1a8)]['add'](_0x595f2b),_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlpmPrefix']+_0x595f2b),this[_0x5186a2(0x179)]=!0x0,_0x2da64e[_0x5186a2(0x1cd)](',');continue;}}if(this[_0x5186a2(0x11e)](_0x2d9c65,_0x2da64e,_0x4da99f),_0x2d9c65 instanceof a[_0x5186a2(0x1b4)]){const _0x531467=_0x2ac765[_0x1dbd2c+0x1];_0x531467&&_0x531467 instanceof a['LexerNode']&&_0x2da64e[_0x5186a2(0x1cd)](',');}}this[_0x5186a2(0x11e)](_0x2ac765[_0x1d588f-0x1],_0x2da64e,_0x4da99f),_0x2da64e['push'](')');return;}else{if(_0x352317===0x8){const _0xd01c58=_0x2ac765[0x0],_0x3303cc=_0x2ac765[0x1];this[_0x5186a2(0x11e)](_0xd01c58,_0x2da64e,_0x4da99f),_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),this['_handleNewFunctionChild'](_0x3303cc,_0x2da64e,_0x4da99f);return;}}}for(let _0x531f71=0x0;_0x531f71<_0x1d588f;_0x531f71++){const _0x48dd3a=_0x2ac765[_0x531f71];if(this[_0x5186a2(0x11e)](_0x48dd3a,_0x2da64e,_0x4da99f),_0x48dd3a instanceof a[_0x5186a2(0x1b4)]){const _0x1347f4=_0x2ac765[_0x531f71+0x1];_0x1347f4&&_0x1347f4 instanceof a[_0x5186a2(0x1b4)]&&_0x2da64e[_0x5186a2(0x1cd)](',');}}_0x352317===0x7&&_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),(_0x5929a5||_0x352317===0x9)&&_0x2da64e[_0x5186a2(0x1cd)](')');}[_0x50446b(0x11e)](_0x150f6c,_0x231e1c,_0x56d236){const _0x46f3c0=_0x50446b;_0x150f6c instanceof a['LexerNode']?this[_0x46f3c0(0x141)](_0x150f6c,_0x231e1c,_0x56d236):this['_lambdaFunctionParameterSet'][_0x46f3c0(0x14e)](_0x150f6c)?(_0x231e1c[_0x46f3c0(0x1cd)](''+this['_xlpmPrefix']+_0x150f6c),this[_0x46f3c0(0x179)]=!0x0):_0x231e1c[_0x46f3c0(0x1cd)](_0x150f6c);}[_0x50446b(0x1dd)](_0x23e74f){const _0x2f6b4e=_0x50446b;let _0x390eb0=_0x23e74f['trim']();if(!_0x390eb0)return _0x390eb0;const _0x5bbbb3=_0x390eb0[0x0];if((_0x5bbbb3===a['prefixToken']['AT']||_0x5bbbb3===a[_0x2f6b4e(0x1a1)][_0x2f6b4e(0x147)]||_0x5bbbb3===a['prefixToken']['PLUS'])&&(_0x390eb0=_0x390eb0['slice'](0x1)),!_0x390eb0)return _0x390eb0;const _0x3bcbd9=_0x390eb0[_0x390eb0['length']-0x1];return a[_0x2f6b4e(0x20e)][_0x2f6b4e(0x14e)](_0x3bcbd9)&&(_0x390eb0=_0x390eb0[_0x2f6b4e(0x117)](0x0,-0x1)),_0x390eb0;}[_0x50446b(0x1f5)](_0x203e14){const _0x5a9437=_0x50446b,_0x1e6470=_0x203e14['getChildren']()[0x0];if(!_0x1e6470||!(_0x1e6470 instanceof a[_0x5a9437(0x1b4)])||_0x203e14[_0x5a9437(0x1ec)]()[_0x5a9437(0x120)]>0x1)return!0x1;const _0x32468e=_0x1e6470['getChildren'](),_0x48c3f6=_0x32468e[_0x5a9437(0x120)];if(_0x48c3f6===0x1)return!0x1;for(let _0x45f73a=0x0;_0x45f73a<_0x48c3f6;_0x45f73a++){const _0x16e26b=_0x32468e[_0x45f73a];if(!(_0x16e26b instanceof a[_0x5a9437(0x1b4)])&&a[_0x5a9437(0x11c)][_0x5a9437(0x14e)](_0x16e26b))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x4d6162,_0x52c8e2,_0xd143c6,_0xe2c492,_0x243bb8){const _0x223b59=_0x50446b,_0x851fb2=this['treeBuilder'](_0x4d6162,!0x1);if(!_0x851fb2||_0x851fb2===a[_0x223b59(0x1ad)][_0x223b59(0x164)]||Array['isArray'](_0x851fb2))return null;this[_0x223b59(0x13e)](),this[_0x223b59(0x1ac)]=_0x52c8e2;const _0x34eda4=this[_0x223b59(0x13d)](_0x851fb2,_0xd143c6,_0xe2c492,_0x243bb8);return this[_0x223b59(0x1ac)]='',this[_0x223b59(0x119)](),_0x34eda4;}['_generateExprTree'](_0x18a695,_0x449735,_0x3a4b29,_0x4706b6){const _0x34ed80=_0x50446b,_0xf54b41={'value':'','children':[],'startIndex':0x0};let _0x94f5fb=_0x18a695;if(_0x94f5fb instanceof a[_0x34ed80(0x1b4)]&&(_0x94f5fb[_0x34ed80(0x197)]()===a[_0x34ed80(0x1e9)]||_0x94f5fb[_0x34ed80(0x197)]()===a[_0x34ed80(0x1ed)])&&_0x94f5fb[_0x34ed80(0x1ec)]()[_0x34ed80(0x120)]===0x1&&(_0x94f5fb=_0x94f5fb[_0x34ed80(0x1ec)]()[0x0]),!(_0x94f5fb instanceof a[_0x34ed80(0x1b4)]))return this[_0x34ed80(0x20f)](_0x94f5fb,_0x3a4b29,_0x4706b6);const _0x18fcf3=_0x94f5fb['getChildren'](),_0xdd30be=_0x18fcf3['length'],_0x3ef444=[];this['_generateNewFunctionString'](_0x94f5fb,_0x3ef444,_0x449735),_0xf54b41[_0x34ed80(0x1fb)]=_0x3ef444[_0x34ed80(0x13f)](''),_0xf54b41[_0x34ed80(0x205)]=_0x94f5fb[_0x34ed80(0x1e6)]();const _0x4bdd87=this[_0x34ed80(0x192)](_0x94f5fb);if(_0x4bdd87===0x2){const _0x319cb9=_0x18fcf3[0x0];if(_0x319cb9 instanceof a[_0x34ed80(0x1b4)]){if(_0x319cb9['getToken']()['trim']()!==a[_0x34ed80(0x1fe)])return _0xf54b41;this[_0x34ed80(0x14c)](_0x319cb9,_0xf54b41,_0x449735,_0x3a4b29,_0x4706b6);}return _0xf54b41;}else{if(_0x4bdd87===0x1){for(let _0x395439=0x0;_0x395439<_0xdd30be-0x1;_0x395439++){const _0x2a2823=_0x18fcf3[_0x395439];if(_0x2a2823 instanceof a[_0x34ed80(0x1b4)]&&_0x395439%0x2===0x1){const _0x5864ea=_0x2a2823[_0x34ed80(0x1ec)]();if(_0x5864ea[_0x34ed80(0x120)]===0x1&&!(_0x5864ea[0x0]instanceof a['LexerNode']))continue;const _0x226843=this[_0x34ed80(0x13d)](_0x2a2823,_0x449735,_0x3a4b29,_0x4706b6);_0x226843&&_0xf54b41['children'][_0x34ed80(0x1cd)](_0x226843);}}return _0xf54b41;}else{if(_0x4bdd87===0x8){const _0x45011d=_0x18fcf3[0x0];if(_0x45011d instanceof a[_0x34ed80(0x1b4)]){const _0x5c94e7=_0x45011d[_0x34ed80(0x1ec)]()[0x0];_0x5c94e7 instanceof a[_0x34ed80(0x1b4)]&&(_0xf54b41['startIndex']=_0x5c94e7[_0x34ed80(0x1e6)]());}if(this[_0x34ed80(0x1b8)](_0x94f5fb))return _0xf54b41;}else{if(_0x4bdd87===0x7){const _0x1db0c6=_0x18fcf3[0x0];if(_0x1db0c6 instanceof a[_0x34ed80(0x1b4)]){const _0x46abaa=_0x1db0c6[_0x34ed80(0x1ec)]()[0x0];_0x46abaa instanceof a[_0x34ed80(0x1b4)]&&(_0xf54b41[_0x34ed80(0x205)]=_0x46abaa[_0x34ed80(0x1e6)]());}}}}}return this['_handleChildrenForExprTree'](_0x18fcf3,_0x4bdd87,_0xf54b41,_0x449735,_0x3a4b29,_0x4706b6),_0xf54b41;}[_0x50446b(0x146)](_0x4fa347,_0x283abf,_0x416d9d,_0x35f36f,_0xa60929,_0x8be060){const _0xe5c1a2=_0x50446b;for(let _0x3cf4d2=0x0;_0x3cf4d2<_0x4fa347[_0xe5c1a2(0x120)];_0x3cf4d2++){let _0x45f6e3=_0x4fa347[_0x3cf4d2];if(!(_0x45f6e3 instanceof a[_0xe5c1a2(0x1b4)])){const _0x3c26c3=this['_handleTextNodeForExprTree'](_0x45f6e3,_0xa60929,_0x8be060);_0x3c26c3&&_0x416d9d[_0xe5c1a2(0x14d)][_0xe5c1a2(0x1cd)](_0x3c26c3);continue;}const _0x4e2d98=_0x45f6e3[_0xe5c1a2(0x1ec)]();if(_0x4e2d98['length']===0x1&&!(_0x4e2d98[0x0]instanceof a[_0xe5c1a2(0x1b4)])){const _0x2edafa=_0x4e2d98[0x0];if(!_0xa60929(this[_0xe5c1a2(0x1ac)],_0x2edafa)&&!this[_0xe5c1a2(0x1ce)](_0x2edafa,_0x8be060)&&!a['isReferenceString'](_0x2edafa))continue;}if(_0x283abf===0x8){const _0x3538f0=_0x4e2d98[0x0];if(_0x3538f0 instanceof a['LexerNode']){const _0x191ef1=_0x3538f0[_0xe5c1a2(0x197)]()[_0xe5c1a2(0x168)]();if(a['isReferenceString'](_0x191ef1))continue;_0x45f6e3=_0x3538f0;}}const _0x3af0ac=this[_0xe5c1a2(0x13d)](_0x45f6e3,_0x35f36f,_0xa60929,_0x8be060);_0x3af0ac&&_0x416d9d[_0xe5c1a2(0x14d)][_0xe5c1a2(0x1cd)](_0x3af0ac);}}[_0x50446b(0x1b8)](_0xb8f8d7){const _0x5160be=_0x50446b,_0x3ad357=_0xb8f8d7[_0x5160be(0x1ec)]();if(_0x3ad357['length']<0x2)return!0x1;const _0x4a2e0e=_0x3ad357[0x0],_0x41a01f=_0x3ad357[0x1];if(!(_0x4a2e0e instanceof a[_0x5160be(0x1b4)])||!(_0x41a01f instanceof a[_0x5160be(0x1b4)]))return!0x1;const _0x222969=_0x4a2e0e[_0x5160be(0x1ec)]()[0x0],_0x336e51=_0x41a01f[_0x5160be(0x1ec)]()[0x0];if(!(_0x222969 instanceof a[_0x5160be(0x1b4)])||!(_0x336e51 instanceof a[_0x5160be(0x1b4)]))return!0x1;const _0x413a83=_0x222969['getToken']()[_0x5160be(0x168)](),_0x1d1f22=_0x336e51[_0x5160be(0x197)]()[_0x5160be(0x168)]();return!!a[_0x5160be(0x1ba)](''+_0x413a83+a['matchToken']['COLON']+_0x1d1f22);}['_handleTextNodeForExprTree'](_0x484731,_0x597a8,_0x2e2460){const _0x5570a5=_0x50446b,_0x3b0f2d=_0x484731[_0x5570a5(0x168)]();return _0x3b0f2d['startsWith']('{')&&_0x3b0f2d[_0x5570a5(0x191)]('}')||_0x597a8(this[_0x5570a5(0x1ac)],_0x3b0f2d)||this['_getTableNameFromStructuredRef'](_0x3b0f2d,_0x2e2460)||a[_0x5570a5(0x1ba)](_0x3b0f2d)?{'value':_0x3b0f2d,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x1eb5ed,_0x4a4197){const _0x46408d=_0x50446b,{tableName:_0x244268}=a[_0x46408d(0x1ff)](_0x1eb5ed);return _0x4a4197(this['_currentUnitId'],_0x244268)?_0x244268:null;}[_0x50446b(0x14c)](_0x546779,_0x2f93b7,_0x33a9d6,_0x532733,_0x37e44b){const _0x1162cf=_0x50446b,_0x43bd09=_0x546779[_0x1162cf(0x1ec)]();for(let _0x57e801=0x0;_0x57e801<_0x43bd09[_0x1162cf(0x120)];_0x57e801++){const _0x57fdf7=_0x43bd09[_0x57e801];if(!(_0x57fdf7 instanceof a['LexerNode']))continue;const _0x5bbb77=_0x57fdf7[_0x1162cf(0x1ec)]();if(_0x5bbb77[_0x1162cf(0x120)]===0x1&&!(_0x5bbb77[0x0]instanceof a[_0x1162cf(0x1b4)]))continue;const _0x432c6b=this['_generateExprTree'](_0x57fdf7,_0x33a9d6,_0x532733,_0x37e44b);_0x432c6b&&_0x2f93b7[_0x1162cf(0x14d)]['push'](_0x432c6b);}}[_0x50446b(0x192)](_0x1b84d8){const _0x16549a=_0x50446b,_0x4f0e10=_0x1b84d8[_0x16549a(0x197)](),_0x440952=_0x4f0e10['trim']()[_0x16549a(0x1dc)]();let _0x5920f3=0x0;return _0x4f0e10===a[_0x16549a(0x1e9)]?_0x5920f3=0x3:_0x4f0e10===a[_0x16549a(0x1ed)]?_0x5920f3=0x4:_0x4f0e10===a[_0x16549a(0x1fe)]?_0x5920f3=0x5:_0x440952===a[_0x16549a(0x1d7)]?_0x5920f3=0x2:_0x440952===a[_0x16549a(0x127)]?_0x5920f3=0x1:_0x440952===a[_0x16549a(0x16b)][_0x16549a(0x208)]?_0x5920f3=0x8:a['SUFFIX_TOKEN_SET'][_0x16549a(0x14e)](_0x440952)?_0x5920f3=0x7:_0x440952===a['prefixToken'][_0x16549a(0x147)]?this['_checkAddBracketForMinus'](_0x1b84d8)&&(_0x5920f3=0x9):_0x5920f3=0xa,_0x5920f3;}}class U extends a['FormulaDependencyGenerator']{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}[_0x50446b(0x167)](){const _0x3dbdce=_0x50446b;super[_0x3dbdce(0x167)](),this['_dependencyTreeCache'][_0x3dbdce(0x172)]();}async['generate'](_0x468835=!0x1){const _0x3fbe7a=_0x50446b;this[_0x3fbe7a(0x183)]();const _0x574a64=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x1c1)](),_0x4091bb=this[_0x3fbe7a(0x186)]['getOtherFormulaData'](),_0x467e12=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x153)]();_0x467e12!=null&&Object[_0x3fbe7a(0x148)](_0x467e12)[_0x3fbe7a(0x11a)](_0x520379=>{const _0x543958=_0x3fbe7a;_0x520379!=null&&Object[_0x543958(0x148)](_0x467e12[_0x520379])[_0x543958(0x11a)](_0x2d67e3=>{const _0x4f0308=_0x543958;_0x2d67e3!=null&&(this['_dependencyManagerService'][_0x4f0308(0x1e4)](_0x520379,_0x2d67e3),this[_0x4f0308(0x12a)][_0x4f0308(0x1ea)](_0x520379,_0x2d67e3),this['_dependencyManagerService'][_0x4f0308(0x118)](_0x520379,_0x2d67e3));});});const _0x18edc7=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x131)]();await this[_0x3fbe7a(0x1cb)](_0x574a64,_0x4091bb,_0x18edc7),this[_0x3fbe7a(0x12a)][_0x3fbe7a(0x1ee)]();const _0x51c6dd=this['_getUpdateTreeListAndMakeDependency'](),_0x4c8f43=this[_0x3fbe7a(0x144)](_0x51c6dd);return this[_0x3fbe7a(0x1d6)](_0x4c8f43)&&this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x1cc)](),_0x468835&&this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x1af)](this[_0x3fbe7a(0x195)](Array['from'](this['_dependencyTreeCache'][_0x3fbe7a(0x1aa)]()))),this[_0x3fbe7a(0x1e0)][_0x3fbe7a(0x172)](),this[_0x3fbe7a(0x190)]['clear'](),this[_0x3fbe7a(0x12a)][_0x3fbe7a(0x1d8)](),this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x18d)](),Promise[_0x3fbe7a(0x1bc)](_0x4c8f43);}['_isCyclicUtilMap'](_0x12b1e5,_0x4c591){const _0x4541cf=_0x50446b,_0x8a223d=[_0x12b1e5];for(;_0x8a223d[_0x4541cf(0x120)]>0x0;){const _0x5d6cbc=_0x8a223d[_0x8a223d[_0x4541cf(0x120)]-0x1];if((_0x4c591[_0x4541cf(0x1e3)](_0x5d6cbc)||0x0)===0x0){_0x4c591['set'](_0x5d6cbc,0x1);const _0x347ceb=this[_0x4541cf(0x1e0)][_0x4541cf(0x1e3)](_0x5d6cbc);if(_0x347ceb==null){_0x4c591['set'](_0x5d6cbc,0x2),_0x8a223d[_0x4541cf(0x1d0)]();continue;}const _0x422d87=this[_0x4541cf(0x12a)][_0x4541cf(0x19d)](_0x347ceb[_0x4541cf(0x1f9)]());for(const _0x26e64c of _0x422d87){const _0x1f441e=_0x4c591[_0x4541cf(0x1e3)](_0x26e64c)||0x0;if(_0x1f441e===0x1)return!0x0;_0x1f441e===0x0&&_0x8a223d[_0x4541cf(0x1cd)](_0x26e64c);}}else _0x4c591['set'](_0x5d6cbc,0x2),_0x8a223d[_0x4541cf(0x1d0)]();}return!0x1;}[_0x50446b(0x1d6)](_0x3d4a1d){const _0x4d422e=_0x50446b,_0x187dcc=new Map();for(const _0x45a6a3 of _0x3d4a1d)if(!_0x187dcc[_0x4d422e(0x14e)](_0x45a6a3[_0x4d422e(0x17b)])&&this[_0x4d422e(0x136)](_0x45a6a3[_0x4d422e(0x17b)],_0x187dcc))return!0x0;return _0x187dcc['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x4a4385,_0x479dc8,_0x1d5821){const _0x446a95=_0x50446b,{unitId:_0x5f4593,subUnitId:_0x52fd49,dependencyRanges:_0x3c6ac0,getDirtyData:_0x5aec78}=_0x1d5821,_0x4e6047=_0x479dc8||a[_0x446a95(0x199)](this[_0x446a95(0x12a)]),_0x2a96ee=new a['FormulaDependencyTree'](_0x4e6047);_0x2a96ee[_0x446a95(0x1ae)]=_0x5f4593,_0x2a96ee[_0x446a95(0x1f1)]=_0x52fd49,_0x2a96ee[_0x446a95(0x15a)]=_0x3c6ac0,_0x2a96ee[_0x446a95(0x1b7)]=_0x5aec78;const _0x53674d=_0x5aec78(this[_0x446a95(0x13a)][_0x446a95(0x1b7)](),this['_runtimeService'][_0x446a95(0x15b)]()),_0x15bd15=this['_convertDirtyRangesToUnitRange'](_0x53674d[_0x446a95(0x1b9)]);return _0x2a96ee[_0x446a95(0x1ca)]=_0x15bd15,_0x2a96ee['featureId']=_0x4a4385,_0x2a96ee[_0x446a95(0x1f7)]=a[_0x446a95(0x198)][_0x446a95(0x1ef)],this['_dependencyManagerService'][_0x446a95(0x14b)](_0x5f4593,_0x52fd49,_0x4a4385,_0x2a96ee),this[_0x446a95(0x1e0)]['set'](_0x2a96ee[_0x446a95(0x17b)],_0x2a96ee),this[_0x446a95(0x12a)]['getFeatureFormulaDependency'](_0x1d5821[_0x446a95(0x1ae)],_0x1d5821[_0x446a95(0x1f1)],_0x4a4385)&&(_0x2a96ee[_0x446a95(0x166)]=!0x0),_0x2a96ee;}[_0x50446b(0x165)](_0x57c7ca,_0x5b424f,_0x29ca85){const _0x2261d1=_0x50446b;var _0x4971e9;for(const _0x493cc0 of _0x5b424f){const _0x2d1833=_0x57c7ca[_0x493cc0];if(_0x2d1833==null)continue;const _0x68f45f=Object['keys'](_0x2d1833);for(const _0x52086c of _0x68f45f){const _0x310394=_0x2d1833[_0x52086c];if(_0x310394==null)continue;const _0x464db6=Object[_0x2261d1(0x148)](_0x310394);for(const _0x76c5fe of _0x464db6){const _0xbcf8bf=this['_dependencyManagerService'][_0x2261d1(0x169)](_0x76c5fe),_0x4ae89a=_0x310394[_0x76c5fe],{f:_0x2f1a1e,ranges:_0x550de6}=_0x4ae89a;let _0xe6fdfc=!0x1;_0xbcf8bf&&(_0xe6fdfc=!0x0);const {firstRow:_0x1c426a,firstColumn:_0x16fabd}=this[_0x2261d1(0x193)](_0x550de6),_0x397342=this[_0x2261d1(0x12a)]['getOtherFormulaDependency'](_0x493cc0,_0x52086c,_0x76c5fe),_0x344c9b=(_0x4971e9=_0x397342==null?void 0x0:_0x397342[_0x2261d1(0x1fd)](0x0,0x0))!=null?_0x4971e9:a[_0x2261d1(0x199)](this[_0x2261d1(0x12a)]),_0x171847=new a['FormulaDependencyTree'](_0x344c9b);for(let _0x401eb6=0x0;_0x401eb6<_0x550de6[_0x2261d1(0x120)];_0x401eb6++){const _0x5180ed=_0x550de6[_0x401eb6],{startRow:_0x5ecea0,startColumn:_0x393152,endRow:_0x17fc83,endColumn:_0x53f775}=_0x5180ed;for(let _0x4e5531=_0x5ecea0;_0x4e5531<=_0x17fc83;_0x4e5531++)for(let _0x366dc3=_0x393152;_0x366dc3<=_0x53f775;_0x366dc3++){const _0x250f37=_0x366dc3-_0x16fabd,_0x12bd2f=_0x4e5531-_0x1c426a;if(_0x250f37===0x0&&_0x12bd2f===0x0){_0x171847[_0x2261d1(0x175)]=_0x2f1a1e,_0x171847[_0x2261d1(0x1ae)]=_0x493cc0,_0x171847['subUnitId']=_0x52086c,_0x171847[_0x2261d1(0x15c)]=_0x76c5fe,_0x171847[_0x2261d1(0x1f7)]=a['FormulaDependencyTreeType'][_0x2261d1(0x1d5)],_0x171847[_0x2261d1(0x166)]=_0xe6fdfc,_0x29ca85[_0x2261d1(0x1cd)](_0x171847),this[_0x2261d1(0x1e0)][_0x2261d1(0x1d3)](_0x171847['treeId'],_0x171847),this[_0x2261d1(0x12a)]['addOtherFormulaDependency'](_0x493cc0,_0x52086c,_0x76c5fe,_0x171847),this[_0x2261d1(0x12a)][_0x2261d1(0x1ab)](_0x171847);continue;}const _0xc1e78b=new a[(_0x2261d1(0x154))]();_0xc1e78b[_0x2261d1(0x17b)]=(_0x397342==null?void 0x0:_0x397342[_0x2261d1(0x1fd)](_0x250f37,_0x12bd2f))||a[_0x2261d1(0x199)](this['_dependencyManagerService']),_0xc1e78b[_0x2261d1(0x196)]=_0x171847,_0xc1e78b[_0x2261d1(0x16c)]=_0x250f37,_0xc1e78b[_0x2261d1(0x177)]=_0x12bd2f,_0xc1e78b['isCache']=_0xe6fdfc,_0xc1e78b[_0x2261d1(0x1f7)]=a[_0x2261d1(0x198)]['OTHER_FORMULA'],this[_0x2261d1(0x12a)][_0x2261d1(0x1da)](_0x493cc0,_0x52086c,_0x76c5fe,_0xc1e78b),this['_dependencyManagerService'][_0x2261d1(0x1ab)](_0xc1e78b),_0x29ca85[_0x2261d1(0x1cd)](_0xc1e78b),this[_0x2261d1(0x1e0)][_0x2261d1(0x1d3)](_0xc1e78b[_0x2261d1(0x17b)],_0xc1e78b);}}this[_0x2261d1(0x12a)][_0x2261d1(0x17f)](_0x76c5fe);}}}}['_registerFormulas'](_0x18561f,_0x1e47ea,_0x13df82,_0x452813){const _0x31c1bf=_0x50446b;for(const _0x1fb3a5 of _0x18561f){const _0x946a8f=_0x1e47ea[_0x1fb3a5];if(_0x946a8f==null)continue;const _0x233372=Object[_0x31c1bf(0x148)](_0x946a8f);for(const _0x3473ea of _0x233372){const _0x3eda68=new A[(_0x31c1bf(0x137))](_0x946a8f[_0x3473ea]||{}),_0x110a3e=new Map();_0x3eda68[_0x31c1bf(0x18b)]((_0x1432a2,_0x5ed423,_0x1e05ef)=>{const _0x1168fb=_0x31c1bf;if(_0x1e05ef==null)return!0x0;const {x:_0x2d4f6b=0x0,y:_0x169534=0x0,si:_0x14a13f}=_0x1e05ef;if(!(_0x2d4f6b===0x0&&_0x169534===0x0&&_0x14a13f!=null))return!0x0;const _0x4a1821=this[_0x1168fb(0x178)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423,_0x13df82,_0x1e05ef),_0xe7f942=this[_0x1168fb(0x12a)][_0x1168fb(0x1a4)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423);_0xe7f942!=null?_0x4a1821[_0x1168fb(0x17b)]=_0xe7f942:(this[_0x1168fb(0x12a)][_0x1168fb(0x209)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423,_0x4a1821),this['_dependencyManagerService'][_0x1168fb(0x1ab)](_0x4a1821)),_0x110a3e[_0x1168fb(0x1d3)](_0x14a13f,_0x4a1821),_0x452813[_0x1168fb(0x1cd)](_0x4a1821),this['_dependencyTreeCache']['set'](_0x4a1821[_0x1168fb(0x17b)],_0x4a1821);}),_0x3eda68[_0x31c1bf(0x18b)]((_0x2725e5,_0xba080,_0x4ea052)=>{const _0x48f145=_0x31c1bf;if(_0x4ea052==null)return!0x0;const {x:_0x205753=0x0,y:_0x5d1a6e=0x0,si:_0x5a37f6}=_0x4ea052;if(_0x205753===0x0&&_0x5d1a6e===0x0&&_0x5a37f6!=null)return!0x0;let _0x5e1c03;if(_0x5a37f6&&_0x110a3e['has'](_0x5a37f6)){const _0x54b309=_0x110a3e['get'](_0x5a37f6);_0x5e1c03=this[_0x48f145(0x16f)](_0x54b309,_0x4ea052);}else _0x5e1c03=this['_createFDtree'](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080,_0x13df82,_0x4ea052);const _0x4c5151=this[_0x48f145(0x12a)][_0x48f145(0x1a4)](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080);_0x4c5151!=null?_0x5e1c03[_0x48f145(0x17b)]=_0x4c5151:(this['_dependencyManagerService']['addFormulaDependency'](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080,_0x5e1c03),this[_0x48f145(0x12a)]['addFormulaDependencyByDefinedName'](_0x5e1c03)),_0x452813[_0x48f145(0x1cd)](_0x5e1c03),this[_0x48f145(0x1e0)]['set'](_0x5e1c03['treeId'],_0x5e1c03);}),_0x110a3e[_0x31c1bf(0x172)]();}}}[_0x50446b(0x178)](_0x1abfe4,_0x482893,_0x1bfdfc,_0x30fc99,_0x477347,_0x4d7830){const _0x3b66ff=_0x50446b,{f:_0x526a70,x:_0x3a91de=0x0,y:_0x263493=0x0}=_0x4d7830,_0x250deb=new a[(_0x3b66ff(0x1cf))](a['generateRandomDependencyTreeId'](this[_0x3b66ff(0x12a)])),_0x2619e3=_0x477347[_0x1abfe4][_0x482893];return _0x250deb[_0x3b66ff(0x175)]=_0x526a70,_0x250deb[_0x3b66ff(0x1ae)]=_0x1abfe4,_0x250deb[_0x3b66ff(0x1f1)]=_0x482893,_0x250deb['row']=_0x1bfdfc,_0x250deb[_0x3b66ff(0x20c)]=_0x30fc99,_0x250deb[_0x3b66ff(0x176)]=_0x2619e3['rowCount'],_0x250deb['columnCount']=_0x2619e3[_0x3b66ff(0x1c0)],_0x250deb;}[_0x50446b(0x15d)](){const _0x42a76a=_0x50446b,_0x40ece7=[],_0x51f693=new Set(),_0x542d60=this['_currentConfigService']['isForceCalculate'](),_0x12090b=this[_0x42a76a(0x13a)][_0x42a76a(0x1c9)](),_0x3f02ed=this[_0x42a76a(0x12a)][_0x42a76a(0x19d)](_0x12090b),_0x56030c=this[_0x42a76a(0x190)][_0x42a76a(0x132)](_0x12090b);for(const _0x2854e8 of _0x56030c)_0x3f02ed[_0x42a76a(0x140)](_0x2854e8);for(const [_0x5b35d3,_0x2ccb08]of this[_0x42a76a(0x1e0)])(_0x542d60||_0x2ccb08[_0x42a76a(0x207)]||_0x2ccb08[_0x42a76a(0x1c2)](this[_0x42a76a(0x13a)][_0x42a76a(0x161)]())||_0x3f02ed[_0x42a76a(0x14e)](_0x5b35d3)&&!_0x2ccb08[_0x42a76a(0x1e2)](this[_0x42a76a(0x13a)][_0x42a76a(0x1bd)]()))&&!_0x51f693[_0x42a76a(0x14e)](_0x5b35d3)&&(_0x40ece7[_0x42a76a(0x1cd)](_0x2ccb08),_0x51f693['add'](_0x5b35d3));for(const [_0x36a324,_0x2e5192]of this[_0x42a76a(0x1e0)])_0x2e5192['isVirtual']||(_0x2e5192[_0x42a76a(0x15a)][_0x42a76a(0x120)]=0x0);return _0x40ece7;}[_0x50446b(0x18f)](_0x2eb7fe){const _0x544575=_0x50446b;return this[_0x544575(0x1e0)]['get'](_0x2eb7fe);}['_getTreeNode'](_0x1674c5){const _0x15dbbf=_0x50446b;return a[_0x15dbbf(0x18e)](_0x1674c5[_0x15dbbf(0x1ae)],_0x1674c5[_0x15dbbf(0x175)],this[_0x15dbbf(0x1e5)],this[_0x15dbbf(0x210)],this[_0x15dbbf(0x13a)]);}*[_0x50446b(0x12e)](_0x1493bd,_0x14f673){const _0x3dbd2b=_0x50446b,_0x4ad08f=_0x1493bd,_0x5546a8=new Set();for(;_0x4ad08f[_0x3dbd2b(0x120)]>0x0;){const _0x592fea=_0x4ad08f[_0x3dbd2b(0x1d0)]();if(_0x5546a8[_0x3dbd2b(0x172)](),_0x592fea===void 0x0||_0x592fea[_0x3dbd2b(0x1a5)]())continue;if(_0x592fea[_0x3dbd2b(0x1d2)]()){yield _0x592fea,_0x592fea['setSkip'](),_0x14f673[_0x3dbd2b(0x140)](_0x592fea[_0x3dbd2b(0x17b)]);continue;}const _0x2223ba=this[_0x3dbd2b(0x12a)]['searchDependency'](_0x592fea[_0x3dbd2b(0x1f9)](),_0x14f673),_0xf00bcb=this[_0x3dbd2b(0x190)][_0x3dbd2b(0x132)](_0x592fea[_0x3dbd2b(0x1f9)](),_0x14f673);for(const _0x38902c of _0xf00bcb)_0x2223ba[_0x3dbd2b(0x140)](_0x38902c);for(const _0xaf4886 of _0x2223ba){const _0x3ff789=this[_0x3dbd2b(0x1e0)][_0x3dbd2b(0x1e3)](_0xaf4886);if(!_0x3ff789){console[_0x3dbd2b(0x124)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0xaf4886);continue;}_0x3ff789[_0x3dbd2b(0x1d2)]()||_0x592fea[_0x3dbd2b(0x1a5)]()||_0x5546a8[_0x3dbd2b(0x140)](_0x3ff789);}if(_0x2223ba['clear'](),_0x5546a8[_0x3dbd2b(0x173)]===0x0)yield _0x592fea,_0x592fea['setSkip'](),_0x14f673[_0x3dbd2b(0x140)](_0x592fea[_0x3dbd2b(0x17b)]);else{_0x592fea[_0x3dbd2b(0x111)](),_0x4ad08f[_0x3dbd2b(0x1cd)](_0x592fea);for(const _0x4b526f of _0x5546a8)_0x4ad08f['push'](_0x4b526f);}}_0x4ad08f['length']=0x0,_0x5546a8[_0x3dbd2b(0x172)]();}['_calculateRunList'](_0x4fbec7){const _0x2c5362=_0x50446b,_0x3f7976=[],_0x4ad62e=new Set();for(const _0x63f0e of this[_0x2c5362(0x12e)](_0x4fbec7,_0x4ad62e))_0x3f7976[_0x2c5362(0x1cd)](_0x63f0e);return _0x3f7976;}async['_getAllTreeList'](){const _0x51ed72=_0x50446b;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x51ed72(0x1e0)][_0x51ed72(0x1aa)]());}[_0x50446b(0x1a0)](_0x846e66){const _0xa6cdd6=_0x50446b;return this['_dependencyManagerService'][_0xa6cdd6(0x19d)](_0x846e66[_0xa6cdd6(0x1f9)]());}[_0x50446b(0x200)](_0x21adfa){const _0x24896b=_0x50446b,_0x246729=new Set(),_0x235c4f=_0x21adfa[_0x24896b(0x15a)];for(const [_0x219746,_0xd9f383]of this['_dependencyTreeCache'])for(const _0xd5c511 of _0x235c4f){const _0xb8f1aa=_0xd5c511[_0x24896b(0x1ae)],_0x46ef21=_0xd5c511[_0x24896b(0x1f4)];if(_0xd9f383['unitId']!==_0xb8f1aa||_0xd9f383[_0x24896b(0x1f1)]!==_0x46ef21)continue;const _0x5dc7aa=_0xd5c511['range'];if(_0xd9f383[_0x24896b(0x204)](_0x5dc7aa)){_0x246729[_0x24896b(0x140)](_0x219746);break;}}return _0x246729;}[_0x50446b(0x181)](){const _0x1d5902=_0x50446b;this[_0x1d5902(0x12a)][_0x1d5902(0x1ee)]();}[_0x50446b(0x160)](){const _0x30a69f=_0x50446b;this[_0x30a69f(0x180)]['clear'](),this['_dependencyTreeCache'][_0x30a69f(0x172)](),this['_dependencyManagerService'][_0x30a69f(0x1d8)]();}}const b=_0x50446b(0x113),K={0x0:'C',0x1:'\x20',0x2:'D',0x3:'q',0x4:'a',0x5:'n',0x6:'d',0x7:'1',0x8:'J',0x9:'5','u':'0','P':'2','q':'3','x':'4','Y':'6','n':'7','h':'8','f':'9','o':'b','a':'c','J':'e','A':'f','v':'g','k':'h','l':'i','Z':'j','N':'k','y':'l','L':'m','z':'o','b':'p','W':'r','t':'s','B':'t','I':'u','Q':'v','X':'w','s':'x','w':'y','K':'z','m':'A','S':'B','T':'E','H':'F','d':'G','i':'H','D':'I','F':'K','\x20':'L','C':'M','O':'N','G':'O','R':'P','M':'Q','V':'R','E':'S','r':'T','g':'U','p':'V','e':'W','c':'X','U':'Y','j':'Z'};class Y extends a['CalculateFormulaService']{async[_0x50446b(0x1c4)](_0x2f26e1=!0x1){const _0x588335=_0x50446b;_0x2f26e1?this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)]['START_DEPENDENCY']),this[_0x588335(0x17c)][_0x588335(0x162)](this[_0x588335(0x11f)][_0x588335(0x1db)]());const _0x585bc7=await this[_0x588335(0x145)][_0x588335(0x1d4)](this[_0x588335(0x1d1)]),_0x1e26f2=this['_interpreter'];_0x2f26e1?(this[_0x588335(0x11f)][_0x588335(0x1b6)](a['FormulaExecuteStageType'][_0x588335(0x152)]),this[_0x588335(0x11f)]['setTotalArrayFormulasToCalculate'](_0x585bc7[_0x588335(0x120)])):(this['_runtimeService'][_0x588335(0x1b6)](a['FormulaExecuteStageType'][_0x588335(0x139)]),this[_0x588335(0x11f)][_0x588335(0x149)](_0x585bc7[_0x588335(0x120)])),this[_0x588335(0x17c)][_0x588335(0x162)](this['_runtimeService'][_0x588335(0x1db)]());let _0x35fd50=[];const _0x120c55=this[_0x588335(0x12c)][_0x588335(0x1de)](a[_0x588335(0x194)]),_0x1e06cb=(_0x120c55==null?void 0x0:_0x120c55['intervalCount'])||a[_0x588335(0x1fa)];let _0xffe2e5=0x0;const _0x5df374=_0x585bc7['length'];for(;_0x585bc7[_0x588335(0x120)]>0x0;){const _0x249e76=_0x585bc7[_0x588335(0x1d0)](),_0xc385f6=a[_0x588335(0x18e)](_0x249e76[_0x588335(0x1ae)],_0x249e76[_0x588335(0x175)],this[_0x588335(0x1e5)],this[_0x588335(0x210)],this[_0x588335(0x13a)]),_0x5bfe68={'node':_0xc385f6,'refOffsetX':_0x249e76[_0x588335(0x16c)],'refOffsetY':_0x249e76['refOffsetY']},_0x1d4bd0=_0x249e76['getDirtyData'];if(_0xffe2e5%_0x1e06cb===0x0&&(await new Promise(_0x575d95=>{const _0x262984=_0x588335,_0x16fad7=A['requestImmediateMacroTask'](_0x575d95);_0x35fd50[_0x262984(0x1cd)](_0x16fad7);}),_0x2f26e1?(this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)][_0x588335(0x12f)]),this[_0x588335(0x11f)]['setCompletedArrayFormulasCount'](_0xffe2e5+0x1)):(this['_runtimeService'][_0x588335(0x1b6)](a[_0x588335(0x1c3)][_0x588335(0x138)]),this[_0x588335(0x11f)][_0x588335(0x1df)](_0xffe2e5+0x1)),this[_0x588335(0x17c)][_0x588335(0x162)](this[_0x588335(0x11f)][_0x588335(0x1db)]()),this['_runtimeService'][_0x588335(0x128)]()||_0x5bfe68==null&&_0x1d4bd0==null)){this[_0x588335(0x11f)]['setFormulaExecuteStage'](a[_0x588335(0x1c3)][_0x588335(0x187)]),this[_0x588335(0x11f)][_0x588335(0x206)](),this['_executionCompleteListener$']['next'](this[_0x588335(0x11f)][_0x588335(0x15b)]());return;}this['_runtimeService'][_0x588335(0x20a)](_0x249e76[_0x588335(0x1e7)],_0x249e76[_0x588335(0x20c)],_0x249e76[_0x588335(0x176)],_0x249e76[_0x588335(0x1c0)],_0x249e76[_0x588335(0x1f1)],_0x249e76[_0x588335(0x1ae)]);let _0x593390;if(_0x1d4bd0!=null&&_0x249e76[_0x588335(0x174)]!=null){const {runtimeCellData:_0x46da4a,dirtyRanges:_0xd308f1}=_0x1d4bd0(this[_0x588335(0x13a)][_0x588335(0x1b7)](),this[_0x588335(0x11f)][_0x588335(0x15b)]());this[_0x588335(0x11f)]['setRuntimeFeatureCellData'](_0x249e76[_0x588335(0x174)],_0x46da4a),this[_0x588335(0x11f)][_0x588335(0x19f)](_0x249e76[_0x588335(0x174)],_0xd308f1);}else _0x5bfe68!=null&&(_0x1e26f2[_0x588335(0x16e)](_0x5bfe68[_0x588335(0x14f)])?_0x593390=await _0x1e26f2[_0x588335(0x163)](_0x5bfe68):_0x593390=_0x1e26f2[_0x588335(0x116)](_0x5bfe68),_0x249e76['formulaId']!=null?this[_0x588335(0x11f)]['setRuntimeOtherData'](_0x249e76[_0x588335(0x15c)],_0x249e76[_0x588335(0x16c)],_0x249e76[_0x588335(0x177)],_0x593390):this[_0x588335(0x11f)][_0x588335(0x19b)](_0x593390));_0xc385f6[_0x588335(0x1fc)](),_0xffe2e5++;}return _0x35fd50[_0x588335(0x11a)](_0x403ff8=>_0x403ff8()),_0x35fd50=[],_0x5df374>0x0?this[_0x588335(0x11f)][_0x588335(0x15f)]():_0x2f26e1||this[_0x588335(0x11f)][_0x588335(0x114)](),this[_0x588335(0x11f)][_0x588335(0x15b)]();}}class V extends a[_0x50446b(0x1b3)]{constructor(){const _0x5ae3b0=_0x50446b;super(...arguments),D(this,'_allTreeMap',new Map()),D(this,_0x5ae3b0(0x1a7),new A[(_0x5ae3b0(0x18a))](!0x0));}[_0x50446b(0x1be)](){const _0x452ba5=_0x50446b;this[_0x452ba5(0x1f0)][_0x452ba5(0x172)](),this[_0x452ba5(0x129)]['clear'](),this[_0x452ba5(0x151)][_0x452ba5(0x172)](),this['_dependencyRTreeCache'][_0x452ba5(0x172)](),this[_0x452ba5(0x16d)][_0x452ba5(0x172)](),this[_0x452ba5(0x1f8)](),this[_0x452ba5(0x17e)]['clear']();}[_0x50446b(0x1da)](_0x5a61db,_0x38545f,_0x35a588,_0x43f3ce){const _0x4d5624=_0x50446b;this[_0x4d5624(0x1f0)][_0x4d5624(0x14e)](_0x5a61db)||this[_0x4d5624(0x1f0)]['set'](_0x5a61db,new Map());const _0x347a31=this['_otherFormulaData'][_0x4d5624(0x1e3)](_0x5a61db);_0x347a31[_0x4d5624(0x14e)](_0x38545f)||_0x347a31[_0x4d5624(0x1d3)](_0x38545f,new Map());const _0x232f0b=_0x347a31[_0x4d5624(0x1e3)](_0x38545f);_0x232f0b[_0x4d5624(0x14e)](_0x35a588)||_0x232f0b['set'](_0x35a588,new A['ObjectMatrix']()),_0x232f0b['get'](_0x35a588)[_0x4d5624(0x1bf)](_0x43f3ce['refOffsetX'],_0x43f3ce['refOffsetY'],_0x43f3ce['treeId']);}[_0x50446b(0x133)](_0x552d39,_0xc1f2b5,_0x120d06){const _0xe33173=_0x50446b,_0x39a2b5=this['_otherFormulaData'][_0xe33173(0x1e3)](_0x552d39);if(_0x39a2b5&&_0x39a2b5[_0xe33173(0x14e)](_0xc1f2b5)){const _0x201f4d=_0x39a2b5[_0xe33173(0x1e3)](_0xc1f2b5);_0x120d06[_0xe33173(0x11a)](_0x585aef=>{const _0x1f6282=_0xe33173,_0x3219e7=_0x201f4d['get'](_0x585aef);_0x3219e7!=null&&(_0x3219e7[_0x1f6282(0x18b)]((_0x301cea,_0x50f3de,_0x3e59b4)=>{const _0x5a5bcb=_0x1f6282;this[_0x5a5bcb(0x1a2)](_0x3e59b4),this[_0x5a5bcb(0x12d)](_0x3e59b4);}),_0x201f4d[_0x1f6282(0x17d)](_0x585aef),this[_0x1f6282(0x17e)][_0x1f6282(0x17d)](_0x585aef));}),_0x201f4d[_0xe33173(0x173)]===0x0&&_0x39a2b5[_0xe33173(0x17d)](_0xc1f2b5),_0x39a2b5[_0xe33173(0x173)]===0x0&&this[_0xe33173(0x1f0)][_0xe33173(0x17d)](_0x552d39);}}[_0x50446b(0x1e4)](_0x5270fe,_0x16c375){const _0x4e1213=_0x50446b,_0x4ba326=this[_0x4e1213(0x1f0)]['get'](_0x5270fe);if(_0x16c375&&_0x4ba326&&_0x4ba326[_0x4e1213(0x14e)](_0x16c375)){const _0x165353=_0x4ba326[_0x4e1213(0x1e3)](_0x16c375);this[_0x4e1213(0x202)](_0x5270fe,_0x16c375);for(const _0xc92f91 of _0x165353[_0x4e1213(0x148)]()){const _0x996cf6=_0x165353[_0x4e1213(0x1e3)](_0xc92f91);_0x996cf6!=null&&(_0x996cf6['forValue']((_0x13a703,_0x3edbe7,_0xe5d146)=>{const _0x57aa67=_0x4e1213;this[_0x57aa67(0x16d)][_0x57aa67(0x1e3)](_0xe5d146)&&this[_0x57aa67(0x12d)](_0xe5d146);}),this['_otherFormulaDataMainData'][_0x4e1213(0x17d)](_0xc92f91));}_0x165353['clear']();}else{if(_0x4ba326){for(const _0x4f2b20 of _0x4ba326[_0x4e1213(0x148)]()){const _0x488f6e=_0x4ba326['get'](_0x4f2b20);this[_0x4e1213(0x202)](_0x5270fe,_0x4f2b20);for(const _0x1128b9 of _0x488f6e[_0x4e1213(0x148)]()){const _0x5ae670=_0x488f6e[_0x4e1213(0x1e3)](_0x1128b9);_0x5ae670!=null&&(_0x5ae670[_0x4e1213(0x18b)]((_0x1d9c59,_0x2d882a,_0x32237b)=>{const _0x48f723=_0x4e1213;this[_0x48f723(0x16d)][_0x48f723(0x1e3)](_0x32237b)&&this['_removeAllTreeMap'](_0x32237b);}),this[_0x4e1213(0x17e)]['delete'](_0x1128b9));}}this[_0x4e1213(0x1f0)][_0x4e1213(0x17d)](_0x5270fe);}}}[_0x50446b(0x14b)](_0x539020,_0x41a4bd,_0x563923,_0x1ee398){const _0x59edc2=_0x50446b;this[_0x59edc2(0x129)][_0x59edc2(0x14e)](_0x539020)||this[_0x59edc2(0x129)][_0x59edc2(0x1d3)](_0x539020,new Map());const _0x5ea0ec=this[_0x59edc2(0x129)]['get'](_0x539020);_0x5ea0ec[_0x59edc2(0x14e)](_0x41a4bd)||_0x5ea0ec[_0x59edc2(0x1d3)](_0x41a4bd,new Map()),_0x5ea0ec['get'](_0x41a4bd)[_0x59edc2(0x1d3)](_0x563923,_0x1ee398[_0x59edc2(0x17b)]);}[_0x50446b(0x125)](_0x3fd367,_0x5af354,_0x1727da){const _0x5632d0=_0x50446b,_0x47a430=this[_0x5632d0(0x129)][_0x5632d0(0x1e3)](_0x3fd367);if(_0x47a430&&_0x47a430['has'](_0x5af354)){const _0xc88d9c=_0x47a430[_0x5632d0(0x1e3)](_0x5af354);_0x1727da[_0x5632d0(0x11a)](_0x47b743=>{const _0x1e21c2=_0x5632d0,_0xf2eb89=_0xc88d9c[_0x1e21c2(0x1e3)](_0x47b743);_0xf2eb89!=null&&(this[_0x1e21c2(0x1a2)](_0xf2eb89),_0xc88d9c[_0x1e21c2(0x17d)](_0x47b743),this['_removeAllTreeMap'](_0xf2eb89));});}}[_0x50446b(0x1ea)](_0x214ff1,_0x251b4c){const _0x5edd12=_0x50446b,_0x2778c5=this[_0x5edd12(0x129)][_0x5edd12(0x1e3)](_0x214ff1);if(_0x251b4c&&_0x2778c5&&_0x2778c5[_0x5edd12(0x14e)](_0x251b4c)){const _0xc3240=_0x2778c5[_0x5edd12(0x1e3)](_0x251b4c);this['_removeDependencyRTreeCacheById'](_0x214ff1,_0x251b4c),_0xc3240[_0x5edd12(0x11a)](_0x4c5ffb=>{_0x4c5ffb!=null&&this['_removeAllTreeMap'](_0x4c5ffb);}),_0xc3240[_0x5edd12(0x172)]();}else _0x2778c5&&(_0x2778c5[_0x5edd12(0x11a)]((_0x909fb2,_0x267761)=>{const _0x5874f5=_0x5edd12;this[_0x5874f5(0x202)](_0x214ff1,_0x267761),_0x909fb2['forEach'](_0x35c079=>{const _0x3de6b3=_0x5874f5;_0x35c079!=null&&this[_0x3de6b3(0x12d)](_0x35c079);});}),this[_0x5edd12(0x129)][_0x5edd12(0x17d)](_0x214ff1));}[_0x50446b(0x209)](_0x1b00ca,_0x2485a5,_0x2965fd,_0x141e3e,_0x3f05d2){const _0x5dec8d=_0x50446b;this[_0x5dec8d(0x151)][_0x5dec8d(0x14e)](_0x1b00ca)||this[_0x5dec8d(0x151)][_0x5dec8d(0x1d3)](_0x1b00ca,new Map());const _0x1a8d55=this[_0x5dec8d(0x151)]['get'](_0x1b00ca);_0x1a8d55[_0x5dec8d(0x14e)](_0x2485a5)||_0x1a8d55[_0x5dec8d(0x1d3)](_0x2485a5,new A['ObjectMatrix']()),_0x1a8d55[_0x5dec8d(0x1e3)](_0x2485a5)['setValue'](_0x2965fd,_0x141e3e,_0x3f05d2[_0x5dec8d(0x17b)]);}[_0x50446b(0x185)](_0x5e2dad,_0x1232d7,_0x43a2e3,_0x3a72b4){const _0x289b6a=_0x50446b,_0x327dc2=this[_0x289b6a(0x151)]['get'](_0x5e2dad);if(_0x327dc2&&_0x327dc2['has'](_0x1232d7)){const _0x46e59a=_0x327dc2[_0x289b6a(0x1e3)](_0x1232d7),_0x40fe4f=_0x46e59a['getValue'](_0x43a2e3,_0x3a72b4);if(_0x40fe4f==null)return;this[_0x289b6a(0x1a2)](_0x40fe4f),_0x46e59a[_0x289b6a(0x1c6)](_0x43a2e3,_0x3a72b4),this['_removeAllTreeMap'](_0x40fe4f);}}[_0x50446b(0x118)](_0xe3bac5,_0x298ddf){const _0x1188d1=_0x50446b,_0x58c8c5=this[_0x1188d1(0x151)][_0x1188d1(0x1e3)](_0xe3bac5);if(_0x298ddf&&_0x58c8c5&&_0x58c8c5[_0x1188d1(0x14e)](_0x298ddf)){const _0x87d097=_0x58c8c5[_0x1188d1(0x1e3)](_0x298ddf);this[_0x1188d1(0x202)](_0xe3bac5,_0x298ddf),_0x87d097['forValue']((_0x307773,_0x2ccbe4,_0x5bc8af)=>{const _0x9c6ceb=_0x1188d1;if(_0x5bc8af==null)return!0x0;this[_0x9c6ceb(0x12d)](_0x5bc8af);}),_0x87d097[_0x1188d1(0x1be)]();}else _0x58c8c5&&(_0x58c8c5[_0x1188d1(0x11a)]((_0x18b740,_0x54f38d)=>{const _0x79a3f8=_0x1188d1;this['_removeDependencyRTreeCacheById'](_0xe3bac5,_0x54f38d),_0x18b740[_0x79a3f8(0x18b)]((_0xf4363f,_0x41b2bf,_0x3b7b6c)=>{const _0x1b7786=_0x79a3f8;if(_0x3b7b6c==null)return!0x0;this[_0x1b7786(0x12d)](_0x3b7b6c);});}),this[_0x1188d1(0x151)][_0x1188d1(0x17d)](_0xe3bac5));}['_removeDependencyRTreeCache'](_0x10ebde){const _0x583138=_0x50446b;if(_0x10ebde==null)return;const _0x5c584b=this[_0x583138(0x16d)]['get'](_0x10ebde);if(_0x5c584b){const _0x5f3953=[];for(const [_0x4f98eb,_0x2663bd]of _0x5c584b)for(const [_0x597da8,_0xd72926]of _0x2663bd)_0x5f3953['push']({'unitId':_0x4f98eb,'sheetId':_0x597da8,'range':_0xd72926,'id':_0x10ebde});this['_dependencyRTreeCache'][_0x583138(0x16a)](_0x5f3953);}}['removeFormulaDependencyByDefinedName'](_0x52a95d,_0x3ec90f){const _0x47f1a3=_0x50446b,_0x131a9f=this['_definedNameMap']['get'](_0x52a95d);if(_0x131a9f){const _0xd97016=_0x131a9f['get'](_0x3ec90f);if(_0xd97016){for(const _0x590834 of _0xd97016)this[_0x47f1a3(0x1a2)](_0x590834),this[_0x47f1a3(0x12d)](_0x590834);_0xd97016[_0x47f1a3(0x172)]();}}}[_0x50446b(0x1ee)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x50446b(0x1d8)](){const _0xe8df0c=_0x50446b;this[_0xe8df0c(0x1a7)][_0xe8df0c(0x1d8)]();}[_0x50446b(0x12d)](_0x4518fd){const _0x1f9980=_0x50446b;_0x4518fd!=null&&this[_0x1f9980(0x16d)]['delete'](_0x4518fd);}[_0x50446b(0x188)](_0x273560){const _0x11337b=_0x50446b;var _0x2d4893,_0x2d068f;const _0x29571b=_0x273560[_0x11337b(0x15a)];let _0x9bb3a=this[_0x11337b(0x16d)][_0x11337b(0x1e3)](_0x273560[_0x11337b(0x17b)]);for(let _0x4acde5=0x0;_0x4acde5<_0x29571b[_0x11337b(0x120)];_0x4acde5++){const _0x479e10=_0x29571b[_0x4acde5];let {unitId:_0x8f0eb9,sheetId:_0x829f7a,range:_0x641714}=_0x479e10;_0x9bb3a||(_0x9bb3a=new Map(),this[_0x11337b(0x16d)]['set'](_0x273560[_0x11337b(0x17b)],_0x9bb3a)),_0x9bb3a[_0x11337b(0x14e)](_0x8f0eb9)||_0x9bb3a[_0x11337b(0x1d3)](_0x8f0eb9,new Map());const _0x26ae44=(_0x2d4893=_0x9bb3a==null?void 0x0:_0x9bb3a[_0x11337b(0x1e3)](_0x8f0eb9))==null?void 0x0:_0x2d4893[_0x11337b(0x1e3)](_0x829f7a);_0x26ae44&&(_0x641714={'startRow':Math[_0x11337b(0x1f2)](_0x641714[_0x11337b(0x13b)],_0x26ae44[_0x11337b(0x13b)]),'startColumn':Math[_0x11337b(0x1f2)](_0x641714[_0x11337b(0x19c)],_0x26ae44[_0x11337b(0x19c)]),'endRow':Math[_0x11337b(0x112)](_0x641714['endRow'],_0x26ae44['endRow']),'endColumn':Math['max'](_0x641714[_0x11337b(0x11d)],_0x26ae44['endColumn'])}),(_0x2d068f=_0x9bb3a[_0x11337b(0x1e3)](_0x8f0eb9))==null||_0x2d068f[_0x11337b(0x1d3)](_0x829f7a,_0x641714);}}}var $=Object[_0x50446b(0x203)],j=(_0x3df5cd,_0x4636c4,_0x34151f,_0x1d6804)=>{const _0x19e44b=_0x50446b;for(var _0x5bbb06=_0x1d6804>0x1?void 0x0:_0x1d6804?$(_0x4636c4,_0x34151f):_0x4636c4,_0x106e72=_0x3df5cd[_0x19e44b(0x120)]-0x1,_0x1d2d8b;_0x106e72>=0x0;_0x106e72--)(_0x1d2d8b=_0x3df5cd[_0x106e72])&&(_0x5bbb06=_0x1d2d8b(_0x5bbb06)||_0x5bbb06);return _0x5bbb06;};function _0xd772(_0x14f27c,_0x93c387){_0x14f27c=_0x14f27c-0x111;const _0x7ae88=_0x7ae8();let _0xd77233=_0x7ae88[_0x14f27c];return _0xd77233;}const G=Number[_0x50446b(0x1a6)](0x69a2984e);exports['UniverProFormulaEnginePlugin']=class extends a[_0x50446b(0x115)]{['_initializeWithOverride'](){const _0x456a9d=_0x50446b;var _0x59d14f,_0xe663be;this[_0x456a9d(0x170)]()?(this[_0x456a9d(0x20b)][_0x456a9d(0x140)]([a['LexerTreeBuilder'],{'useClass':B}]),(_0x59d14f=this['_config'])!=null&&_0x59d14f[_0x456a9d(0x1c7)]||[[a['ICalculateFormulaService'],{'useClass':Y}],[a[_0x456a9d(0x12b)],{'useClass':V}],[a[_0x456a9d(0x1a3)],{'useClass':U}]]['forEach'](_0x474989=>this[_0x456a9d(0x20b)][_0x456a9d(0x140)](_0x474989))):(this['_injector']['add']([a[_0x456a9d(0x17a)],{'useClass':a[_0x456a9d(0x17a)]}]),(_0xe663be=this[_0x456a9d(0x13c)])!=null&&_0xe663be[_0x456a9d(0x1c7)]||[[a['ICalculateFormulaService'],{'useClass':a[_0x456a9d(0x182)]}],[a[_0x456a9d(0x12b)],{'useClass':a[_0x456a9d(0x1c8)]}],[a['IFormulaDependencyGenerator'],{'useClass':a[_0x456a9d(0x19e)]}]]['forEach'](_0x4d38d0=>this[_0x456a9d(0x20b)][_0x456a9d(0x140)](_0x4d38d0)));}[_0x50446b(0x170)](){const _0x2ff680=_0x50446b;var _0x4a15f9;const _0x35197c=(_0x4a15f9=this['_configService']['getConfig'](E[_0x2ff680(0x1eb)]))!=null?_0x4a15f9:{},{ls:_0x1a5121,pbk:_0x484a6e}=_0x35197c;if(!_0x1a5121||!_0x484a6e)return!0x1;const _0x957272=E['unshiftString'](b,K),_0x55d09a=new Function(_0x2ff680(0x189)+_0x957272)()(_0x1a5121,_0x484a6e),_0x2c5705=_0x55d09a[_0x2ff680(0x1c5)];return _0x55d09a['valid']&&E[_0x2ff680(0x20d)](_0x2c5705,'sf',G)?E[_0x2ff680(0x122)](_0x2c5705,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x50446b(0x14a)]=j([A[_0x50446b(0x1b0)](E[_0x50446b(0x126)])],exports[_0x50446b(0x14a)]),exports['LexerTreeProBuilder']=B,Object[_0x50446b(0x148)](a)[_0x50446b(0x11a)](_0x3da028=>{const _0x276614=_0x50446b;_0x3da028!=='default'&&!Object[_0x276614(0x158)][_0x276614(0x18c)][_0x276614(0x130)](exports,_0x3da028)&&Object[_0x276614(0x156)](exports,_0x3da028,{'enumerable':!0x0,'get':()=>a[_0x3da028]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3dc413,_0x595b22){var _0x540124=_0x4b0a,_0x2d908c=_0x3dc413();while(!![]){try{var _0x1f3d8b=-parseInt(_0x540124(0x1b5))/0x1*(-parseInt(_0x540124(0x1b6))/0x2)+-parseInt(_0x540124(0x1b1))/0x3*(-parseInt(_0x540124(0x1b3))/0x4)+-parseInt(_0x540124(0x1b8))/0x5+parseInt(_0x540124(0x1b4))/0x6+parseInt(_0x540124(0x1bb))/0x7*(parseInt(_0x540124(0x1ba))/0x8)+-parseInt(_0x540124(0x1bc))/0x9*(-parseInt(_0x540124(0x1b9))/0xa)+-parseInt(_0x540124(0x1b2))/0xb*(-parseInt(_0x540124(0x1b7))/0xc);if(_0x1f3d8b===_0x595b22)break;else _0x2d908c['push'](_0x2d908c['shift']());}catch(_0x4e4918){_0x2d908c['push'](_0x2d908c['shift']());}}}(_0x5768,0xe0e98));export*from'@univerjs/engine-formula/facade';function _0x4b0a(_0x32fb1e,_0x4833a6){_0x32fb1e=_0x32fb1e-0x1b1;var _0x576856=_0x5768();var _0x4b0a4b=_0x576856[_0x32fb1e];return _0x4b0a4b;}function _0x5768(){var _0x1a445b=['923044CFlHpA','5710296aTAuEC','1xCQqqf','35346VDRLaG','300XPutSS','8506280FyYSem','870FzUGal','5387000iPMffD','7fqPLgV','22545itLoUO','6beXGxr','132121pqOCnn'];_0x5768=function(){return _0x1a445b;};return _0x5768();}
1
+ (function(_0x2d25e9,_0x413531){var _0x584ddb=_0x20e2,_0x1fcfbc=_0x2d25e9();while(!![]){try{var _0x56541a=parseInt(_0x584ddb(0x156))/0x1+parseInt(_0x584ddb(0x15c))/0x2*(parseInt(_0x584ddb(0x15e))/0x3)+parseInt(_0x584ddb(0x158))/0x4+parseInt(_0x584ddb(0x159))/0x5*(-parseInt(_0x584ddb(0x15f))/0x6)+-parseInt(_0x584ddb(0x15a))/0x7*(-parseInt(_0x584ddb(0x15d))/0x8)+-parseInt(_0x584ddb(0x160))/0x9+parseInt(_0x584ddb(0x157))/0xa*(-parseInt(_0x584ddb(0x15b))/0xb);if(_0x56541a===_0x413531)break;else _0x1fcfbc['push'](_0x1fcfbc['shift']());}catch(_0xf3589f){_0x1fcfbc['push'](_0x1fcfbc['shift']());}}}(_0x3ee8,0x331bf));function _0x20e2(_0x1fb0a6,_0x402dc5){_0x1fb0a6=_0x1fb0a6-0x156;var _0x3ee894=_0x3ee8();var _0x20e2c4=_0x3ee894[_0x1fb0a6];return _0x20e2c4;}export*from'@univerjs/engine-formula/facade';function _0x3ee8(){var _0x22affc=['905204WfIVYu','30hKFrpJ','63518UWbuOF','2486hgEpSN','14kvGCzv','264itKTYo','31218jeGwlM','354114eqAEWc','1292922mobVSK','348768VcvpvQ','10630MmfTbL'];_0x3ee8=function(){return _0x22affc;};return _0x3ee8();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x55718c=_0x48cd;(function(_0xda57c2,_0x49c050){const _0x1102c6=_0x48cd,_0x1f5fb1=_0xda57c2();while(!![]){try{const _0x2e49d2=-parseInt(_0x1102c6(0x1d7))/0x1*(parseInt(_0x1102c6(0x133))/0x2)+-parseInt(_0x1102c6(0x196))/0x3*(-parseInt(_0x1102c6(0x174))/0x4)+parseInt(_0x1102c6(0x19f))/0x5+parseInt(_0x1102c6(0x124))/0x6*(parseInt(_0x1102c6(0x12c))/0x7)+parseInt(_0x1102c6(0x1cd))/0x8+-parseInt(_0x1102c6(0x158))/0x9+-parseInt(_0x1102c6(0x1c9))/0xa;if(_0x2e49d2===_0x49c050)break;else _0x1f5fb1['push'](_0x1f5fb1['shift']());}catch(_0x5e9eed){_0x1f5fb1['push'](_0x1f5fb1['shift']());}}}(_0x2d38,0xcd3ce));var se=Object[_0x55718c(0x18e)],ae=(_0x162a42,_0x4fb6d4,_0x4401a6)=>_0x4fb6d4 in _0x162a42?se(_0x162a42,_0x4fb6d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4401a6}):_0x162a42[_0x4fb6d4]=_0x4401a6,C=(_0x149af3,_0x1e3c43,_0x3923b8)=>ae(_0x149af3,typeof _0x1e3c43!=_0x55718c(0x131)?_0x1e3c43+'':_0x1e3c43,_0x3923b8);import{LexerTreeBuilder as _0x26f5cf,ErrorType as _0x7d5aa4,DEFAULT_TOKEN_TYPE_ROOT as _0x5c45bb,DEFAULT_TOKEN_TYPE_PARAMETER as _0xa42b15,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3e2988,NEW_EXCEL_FUNCTIONS as _0x20713c,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x47070e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x4f548d,matchToken as _0x4ceacf,SUFFIX_TOKEN_SET as _0x31c80,prefixToken as _0x211d84,LexerNode as _0x39bae8,OPERATOR_TOKEN_SET as _0x388e00,isReferenceString as _0x8f835e,splitTableStructuredRef as _0x48a017,FormulaDependencyGenerator as _0x5114bf,generateRandomDependencyTreeId as _0x4384e5,FormulaDependencyTree as _0x2e80ae,FormulaDependencyTreeType as _0x3cd72f,FormulaDependencyTreeVirtual as _0x17672b,generateAstNode as _0x397537,CalculateFormulaService as _0x41e39f,FormulaExecuteStageType as _0x21cace,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3e62aa,DEFAULT_INTERVAL_COUNT as _0x328aa1,DependencyManagerBaseService as _0x5e1ad3,UniverFormulaEnginePlugin as _0x4dd84e,ICalculateFormulaService as _0x377b81,IDependencyManagerService as _0x1f24cc,IFormulaDependencyGenerator as _0x1fd19a,DependencyManagerService as _0x1477ac}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x22064a,LS_CONFIG_KEY as _0x485df4,unshiftString as _0x51bc49,isFeatureAuthorizedWithinTime as _0x446529,getSheetFeatureLimit as _0x4486e8}from'@univerjs-pro/license';function _0x2d38(){const _0x5b3f82=['keys','getToken','column','_clearFunctionString','string','removeFormulaDependency','_xlfnPrefix','_dependencyRTreeCache','delete','_calculateRunList','_endFormulaDependencyTreeModel','getChildren','_getCurNodeTypeForExprTree','startIndex','addFormulaDependencyByDefinedName','columnCount','endRow','getValue','_checkAddBracketForMinus','setDependencyTreeModelData','_isCyclicUtilMap','_lambdaFunctionParameterSet','defineProperty','getOtherFormulaData','getDirtyNameMap','_getTableNameFromStructuredRef','openKdTree','COLON','isArray','_dependencyTreeCache','3825366HYIlsu','hasOtherFormulaDataMainData','setRuntimeFeatureCellData','clear','_checkColonNodeForExprTree','setAdded','isStopExecution','dispose','_currentConfigService','3447405SDXTcs','checkAsyncNode','node','setCompletedArrayFormulasCount','subUnitId','_formulaData','_injector','isForceCalculate','isExcludeRange','rangeList','execute','getConfig','getRuntimeState','_generateTreeList','reset','trim','rowCount','setTotalFormulasToCalculate','value','type','getStartIndex','parseInt','dirtyRanges','formula','_currentUnitId','_handleLambdaForExprTree','refOffsetY','set','clearArrayObjectCache','size','START_DEPENDENCY','getClearDependencyTreeCache','children','_traverse','getFormulaExprTree','addOtherFormulaDependency','setSkip','setTotalArrayFormulasToCalculate','removeFormulaDependencyByDefinedName','_runtimeService','bulkRemove','getOtherFormulaDependency','14874260HjEBCw','_otherFormulaData','addOtherFormulaDependencyMainData','OTHER_FORMULA','6621376zbQWlx','_interpreter','clearFeatureFormulaDependency','_xlfn.','forEach','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','toRTreeItem','setCompletedFormulasCount','addFeatureFormulaDependency','getFormulaDependency','226133MMdCGJ','featureId','_definedNameMap','removeFeatureFormulaDependency','bulkSearch','_otherFormulaDataMainData','startsWith','_handleChildrenForExprTree','getDirtyData','row','_removeDependencyRTreeCacheById','_xlpm.','error','featureDirtyRanges','IDLE','getOwnPropertyDescriptor','Lambda\x20parameter\x20name\x20\x22','clearOtherFormulaDependency','isAdded','Let\x20variable\x20name\x20\x22','_getAllTreeList','markedAsSuccessfullyExecuted','_clearPrefix','getFeatureFormulaDependency','getExcludedRange','has','6mLFUZb','_removeAllTreeMap','slice','refOffsetX','MINUS','from','_initLicenseValid','closeKdTree','4976517eTIQvN','unitId','next','VALUE','_executionInProgressListener$','symbol','isDirty','10QrQkuW','message','/*6N2Tg7w-Fg2e1TN6iRNXNR-wNkiTewN6*/X87hwgn76FNhR5iwgn7(TghN72N,6i81TghpN5)6{6666wR56{66666666hn72w6TghN72Nl7XnteRwLRRe56=6TghN72N.2iTgw(\x27-\x27);66666666hn72w6nRgqg7rN22eqN6=6\x20Zjd.ieR2N(ewn1(TghN72Nl7XnteRwLRRe5[f]));66666666gX6(!nRgqg7rN22eqN.8F)6{666666666666nRgqg7rN22eqN.8F6=6d8k1NR(TghN72Nl7XnteRwLRRe5[E]);66666666}66666666hn72w6g2onRONR6=6w5iNnX6onRONRzTn1eTZhniN6!==6\x2787FNXg7NF\x276&&62NTX6g72we7hNnX6onRONRzTn1eTZhniN;66666666hn72w6g2yRnH2NR6=6w5iNnX6Hg7FnH6!==6\x2787FNXg7NF\x276&&6w5iNnX6Hg7FnH.Tnhewgn76!==6\x2787FNXg7NF\x27;66666666hn72w6hn7wNWw6=6g2onRONR6?62NTX6:6(g2yRnH2NR6?6Hg7FnH6:6qTn1eTKxg2);66666666hn72w6kN22eqNonRF6=6hn7wNWw.__ye2N0E__.ieR2N(TghN72Nl7XnteRwLRRe5[f]);66666666hn72w6kN22eqN6=6hn7wNWw.__VNW__.2wRg7qgX5(kN22eqNonRF);66666666hn72w62gq7ew8RNonRF6=6hn7wNWw.__ye2N0E__.ieR2N(TghN72Nl7XnteRwLRRe5[3]);66666666hn72w62gq7ew8RN6=6hn7wNWw.__VNW__.2wRg7qgX5(2gq7ew8RNonRF);66666666hn72w62gq7YeTgF6=6hn7wNWw.__uNRgX5__(2gq7ew8RN,6kN22eqN,6i81TghpN5);66666666hn72w6Fnkeg76=6nRgqg7rN22eqN.Fk;66666666X87hwgn76g2Jnkeg7rewhxg7q(iewwNR7,6xn2w)6{666666666666gX6(iewwNR76===6xn2w)6RNw8R76wR8N;666666666666gX6(iewwNR7.2weRw2ogwx(\x27*.\x27))6{6666666666666666hn72w628XXgW6=6iewwNR7.2TghN(f);6666666666666666gX6(28XXgW6&&628XXgW6===6xn2w)6{66666666666666666666RNw8R76wR8N;6666666666666666}6666666666666666gX6(28XXgW6&&6!xn2w.2weRw2ogwx(\x27.\x27)6&&6xn2w.N7F2ogwx(\x27.\x276+628XXgW))6{66666666666666666666RNw8R76wR8N;6666666666666666}666666666666}666666666666RNw8R76XeT2N;66666666}66666666TNw6Fnkeg7YeTgF6=6XeT2N;66666666gX6(g2yRnH2NR)6{666666666666Fnkeg7YeTgF6=6(Fnkeg76&&6Fnkeg7.TN7qwx)6?6Fnkeg7.2nkN((FklwNk)6=>6g2Jnkeg7rewhxg7q(FklwNk,6Tnhewgn7.xn2w7ekN))6:6wR8N;666666666666gX6(Tnhewgn7.xn2w7ekN6===6\x27TnheTxn2w\x27)6{6666666666666666Fnkeg7YeTgF6=6wR8N;666666666666}66666666}6NT2N6{666666666666Fnkeg7YeTgF6=6wR8N;66666666}66666666hn72w6ueTgF6=62gq7YeTgF6&&6Fnkeg7YeTgF;66666666RNw8R76{666666666666ueTgF,666666666666kN22eqN:6nRgqg7rN22eqN,66666666};6666}6hewhx6(NRRnR)6{66666666RNw8R76{666666666666ueTgF:6XeT2N,666666666666kN22eqN:6{},66666666};6666}}','getFormulaData','_createFDtree','\x22\x20is\x20duplicated.','_generateExprTree','_configService','endColumn','endsWith','START_DEPENDENCY_ARRAY_FORMULA','clearFormulaDependency','toUpperCase','length','addFormulaDependency','_xlpmPrefix','_astTreeBuilder','FEATURE_FORMULA','notExecuteFormula','_getDependencyTreeChildrenIds','join','startColumn','treeId','markedAsNoFunctionsExecuted','searchDependency','getAllRuntimeData','_dependencyManagerService','setValue','_getFirstCellOfRange','isCache','_getDependencyTreeParenIds','_executionCompleteListener$','_startFormulaDependencyTreeModel','setFormulaExecuteStage','_getUpdateTreeListAndMakeDependency','_handleTextNodeForExprTree','_hasNewExcelFunction','400149afIure','_checkIsCycleDependency','_getTreeNode','_allTreeMap','_initializeWithOverride','pop','_generateNewFunctionString','push','generate','_config','setCurrent','max','_featureFormulaData','_removeDependencyRTreeCache','_otherFormulaManagerService','formulaId','forValue','removeOtherFormulaDependency','get','_isCalculateTreeModel','setRuntimeData','_formulaDependencyGenerator','_lexer','_resetPrefix','_handleNewFunctionChild','add','min','_getAllDependencyJson','4aLZOTZ','intervalCount','return\x20','startRow'];_0x2d38=function(){return _0x5b3f82;};return _0x2d38();}import{ObjectMatrix as _0x3b0c18,requestImmediateMacroTask as _0x3b5b57,RTree as _0x29d3ab,DependentOn as _0x17231a}from'@univerjs/core';function _0x48cd(_0x194fc6,_0x18aad4){_0x194fc6=_0x194fc6-0x111;const _0x2d38b2=_0x2d38();let _0x48cda6=_0x2d38b2[_0x194fc6];return _0x48cda6;}class De extends _0x26f5cf{constructor(){const _0x4e7442=_0x55718c;super(...arguments),C(this,_0x4e7442(0x157),!0x1),C(this,_0x4e7442(0x18d),new Set()),C(this,_0x4e7442(0x142),_0x4e7442(0x115)),C(this,'_xlfnPrefix',_0x4e7442(0x1d0)),C(this,'_currentUnitId','');}[_0x55718c(0x16f)](){const _0x4d805b=_0x55718c;this['_xlpmPrefix']=_0x4d805b(0x115),this['_xlfnPrefix']=_0x4d805b(0x1d0);}[_0x55718c(0x120)](){const _0x15511b=_0x55718c;this[_0x15511b(0x142)]='',this[_0x15511b(0x17e)]='';}['getNewFormulaWithPrefix'](_0x31ae2d,_0x716907){const _0x1ad9c0=_0x55718c,_0x433bcd=this['treeBuilder'](_0x31ae2d,!0x1);if(!_0x433bcd||_0x433bcd===_0x7d5aa4['VALUE']||Array[_0x1ad9c0(0x194)](_0x433bcd))return null;const _0xc2b2bd=[];return this[_0x1ad9c0(0x157)]=!0x1,this[_0x1ad9c0(0x15e)](_0x433bcd,_0xc2b2bd,_0x716907),this[_0x1ad9c0(0x157)]?'='+_0xc2b2bd[_0x1ad9c0(0x147)](''):null;}[_0x55718c(0x15e)](_0x16ff96,_0x52fc0a,_0x39af73){const _0x5be26e=_0x55718c,_0x16320b=_0x16ff96[_0x5be26e(0x179)](),_0x1b1534=_0x16320b['trim'](),_0x3038b4=_0x1b1534[_0x5be26e(0x13f)](),_0x3c562d=this[_0x5be26e(0x17b)](_0x3038b4),_0x127c75=_0x39af73(_0x3c562d);let _0x46732b=0x0;_0x16320b===_0x5c45bb?_0x46732b=0x3:_0x16320b===_0xa42b15?_0x46732b=0x4:_0x16320b===_0x3e2988?_0x46732b=0x5:_0x20713c['has'](_0x3c562d)?(_0x52fc0a['push'](''+this['_xlfnPrefix']+_0x1b1534),this[_0x5be26e(0x157)]=!0x0):_0x3038b4===_0x47070e?(_0x52fc0a['push'](''+this[_0x5be26e(0x17e)]+_0x1b1534),this['_hasNewExcelFunction']=!0x0,_0x46732b=0x2):_0x3038b4===_0x4f548d?(_0x52fc0a[_0x5be26e(0x15f)](''+this[_0x5be26e(0x17e)]+_0x1b1534),this[_0x5be26e(0x157)]=!0x0,_0x46732b=0x1):_0x3038b4===_0x4ceacf[_0x5be26e(0x193)]?_0x46732b=0x8:_0x31c80[_0x5be26e(0x123)](_0x3038b4)?_0x46732b=0x7:_0x3038b4===_0x211d84[_0x5be26e(0x128)]?(this['_checkAddBracketForMinus'](_0x16ff96)&&(_0x46732b=0x9),_0x52fc0a[_0x5be26e(0x15f)](_0x16320b)):(_0x52fc0a[_0x5be26e(0x15f)](_0x16320b),_0x46732b=0xa),_0x127c75?(_0x46732b!==0x2&&_0x46732b!==0x1&&(_0x46732b=0x6),_0x52fc0a[_0x5be26e(0x15f)]('(')):_0x46732b===0x9&&_0x52fc0a[_0x5be26e(0x15f)]('(');const _0x5625c7=_0x16ff96[_0x5be26e(0x183)](),_0x24b8ec=_0x5625c7[_0x5be26e(0x140)];if(_0x46732b===0x2){const _0xf0de25=_0x5625c7[0x0];let _0x3540c5=0x0;_0xf0de25 instanceof _0x39bae8&&_0xf0de25[_0x5be26e(0x179)]()===_0x3e2988&&(_0x3540c5=0x1);for(let _0x2dd4d2=_0x3540c5;_0x2dd4d2<_0x24b8ec-0x1;_0x2dd4d2++){const _0x45c861=_0x5625c7[_0x2dd4d2];if(_0x45c861 instanceof _0x39bae8){const _0x54ac0e=_0x45c861[_0x5be26e(0x183)]()[0x0];typeof _0x54ac0e==_0x5be26e(0x17c)&&(this['_lambdaFunctionParameterSet'][_0x5be26e(0x123)](_0x54ac0e)&&console[_0x5be26e(0x116)](_0x5be26e(0x11a)+_0x54ac0e+_0x5be26e(0x138)),this[_0x5be26e(0x18d)][_0x5be26e(0x171)](_0x54ac0e),_0x52fc0a['push'](''+this[_0x5be26e(0x142)]+_0x54ac0e),this[_0x5be26e(0x157)]=!0x0);}_0x52fc0a['push'](',');}this[_0x5be26e(0x170)](_0x5625c7[_0x24b8ec-0x1],_0x52fc0a,_0x39af73),_0x3540c5===0x1&&(_0x52fc0a[_0x5be26e(0x15f)](')'),_0x52fc0a['push']('('),this[_0x5be26e(0x15e)](_0xf0de25,_0x52fc0a,_0x39af73)),_0x52fc0a[_0x5be26e(0x15f)](')');return;}else{if(_0x46732b===0x1){for(let _0x4ca4a4=0x0;_0x4ca4a4<_0x24b8ec-0x1;_0x4ca4a4++){const _0x3cf352=_0x5625c7[_0x4ca4a4];if(_0x3cf352 instanceof _0x39bae8&&_0x4ca4a4%0x2===0x0){const _0xaea50c=_0x3cf352[_0x5be26e(0x183)]()[0x0];if(typeof _0xaea50c==_0x5be26e(0x17c)){this[_0x5be26e(0x18d)]['has'](_0xaea50c)&&console['error'](_0x5be26e(0x11d)+_0xaea50c+_0x5be26e(0x138)),this['_lambdaFunctionParameterSet'][_0x5be26e(0x171)](_0xaea50c),_0x52fc0a[_0x5be26e(0x15f)](''+this['_xlpmPrefix']+_0xaea50c),this[_0x5be26e(0x157)]=!0x0,_0x52fc0a['push'](',');continue;}}if(this[_0x5be26e(0x170)](_0x3cf352,_0x52fc0a,_0x39af73),_0x3cf352 instanceof _0x39bae8){const _0x3a24fc=_0x5625c7[_0x4ca4a4+0x1];_0x3a24fc&&_0x3a24fc instanceof _0x39bae8&&_0x52fc0a[_0x5be26e(0x15f)](',');}}this[_0x5be26e(0x170)](_0x5625c7[_0x24b8ec-0x1],_0x52fc0a,_0x39af73),_0x52fc0a['push'](')');return;}else{if(_0x46732b===0x8){const _0x3e5dcc=_0x5625c7[0x0],_0x4848a4=_0x5625c7[0x1];this[_0x5be26e(0x170)](_0x3e5dcc,_0x52fc0a,_0x39af73),_0x52fc0a[_0x5be26e(0x15f)](_0x16320b),this['_handleNewFunctionChild'](_0x4848a4,_0x52fc0a,_0x39af73);return;}}}for(let _0x399021=0x0;_0x399021<_0x24b8ec;_0x399021++){const _0xaea122=_0x5625c7[_0x399021];if(this[_0x5be26e(0x170)](_0xaea122,_0x52fc0a,_0x39af73),_0xaea122 instanceof _0x39bae8){const _0x1ba136=_0x5625c7[_0x399021+0x1];_0x1ba136&&_0x1ba136 instanceof _0x39bae8&&_0x52fc0a[_0x5be26e(0x15f)](',');}}_0x46732b===0x7&&_0x52fc0a[_0x5be26e(0x15f)](_0x16320b),(_0x127c75||_0x46732b===0x9)&&_0x52fc0a[_0x5be26e(0x15f)](')');}[_0x55718c(0x170)](_0x53adbe,_0x445450,_0x24f12c){const _0x11a778=_0x55718c;_0x53adbe instanceof _0x39bae8?this[_0x11a778(0x15e)](_0x53adbe,_0x445450,_0x24f12c):this[_0x11a778(0x18d)]['has'](_0x53adbe)?(_0x445450[_0x11a778(0x15f)](''+this[_0x11a778(0x142)]+_0x53adbe),this[_0x11a778(0x157)]=!0x0):_0x445450[_0x11a778(0x15f)](_0x53adbe);}[_0x55718c(0x17b)](_0x52fb80){const _0xac073e=_0x55718c;let _0x14407c=_0x52fb80[_0xac073e(0x1ae)]();if(!_0x14407c)return _0x14407c;const _0x2c58c5=_0x14407c[0x0];if((_0x2c58c5===_0x211d84['AT']||_0x2c58c5===_0x211d84['MINUS']||_0x2c58c5===_0x211d84['PLUS'])&&(_0x14407c=_0x14407c[_0xac073e(0x126)](0x1)),!_0x14407c)return _0x14407c;const _0xee12d0=_0x14407c[_0x14407c['length']-0x1];return _0x31c80[_0xac073e(0x123)](_0xee12d0)&&(_0x14407c=_0x14407c['slice'](0x0,-0x1)),_0x14407c;}['_checkAddBracketForMinus'](_0x2b917b){const _0x53c051=_0x55718c,_0x3760ab=_0x2b917b[_0x53c051(0x183)]()[0x0];if(!_0x3760ab||!(_0x3760ab instanceof _0x39bae8)||_0x2b917b['getChildren']()[_0x53c051(0x140)]>0x1)return!0x1;const _0x5031e1=_0x3760ab[_0x53c051(0x183)](),_0x2ea399=_0x5031e1[_0x53c051(0x140)];if(_0x2ea399===0x1)return!0x1;for(let _0x3b7e63=0x0;_0x3b7e63<_0x2ea399;_0x3b7e63++){const _0x19d17b=_0x5031e1[_0x3b7e63];if(!(_0x19d17b instanceof _0x39bae8)&&_0x388e00['has'](_0x19d17b))return!0x0;}return!0x1;}[_0x55718c(0x1c1)](_0x5cf947,_0x883efd,_0x3162cb,_0x54bf48,_0x454ee6){const _0x3629de=_0x55718c,_0x3b241a=this['treeBuilder'](_0x5cf947,!0x1);if(!_0x3b241a||_0x3b241a===_0x7d5aa4[_0x3629de(0x12f)]||Array[_0x3629de(0x194)](_0x3b241a))return null;this[_0x3629de(0x120)](),this[_0x3629de(0x1b7)]=_0x883efd;const _0x39eb50=this[_0x3629de(0x139)](_0x3b241a,_0x3162cb,_0x54bf48,_0x454ee6);return this['_currentUnitId']='',this[_0x3629de(0x16f)](),_0x39eb50;}[_0x55718c(0x139)](_0x2506dc,_0x25bfc1,_0x3fc8a6,_0x4549a0){const _0x2276c4=_0x55718c,_0x483a8d={'value':'','children':[],'startIndex':0x0};let _0x1a89e1=_0x2506dc;if(_0x1a89e1 instanceof _0x39bae8&&(_0x1a89e1[_0x2276c4(0x179)]()===_0x5c45bb||_0x1a89e1['getToken']()===_0xa42b15)&&_0x1a89e1[_0x2276c4(0x183)]()['length']===0x1&&(_0x1a89e1=_0x1a89e1[_0x2276c4(0x183)]()[0x0]),!(_0x1a89e1 instanceof _0x39bae8))return this[_0x2276c4(0x156)](_0x1a89e1,_0x3fc8a6,_0x4549a0);const _0x152b24=_0x1a89e1[_0x2276c4(0x183)](),_0x3e9221=_0x152b24['length'],_0x3300b3=[];this[_0x2276c4(0x15e)](_0x1a89e1,_0x3300b3,_0x25bfc1),_0x483a8d[_0x2276c4(0x1b1)]=_0x3300b3['join'](''),_0x483a8d[_0x2276c4(0x185)]=_0x1a89e1['getStartIndex']();const _0x32b501=this[_0x2276c4(0x184)](_0x1a89e1);if(_0x32b501===0x2){const _0x2b4a10=_0x152b24[0x0];if(_0x2b4a10 instanceof _0x39bae8){if(_0x2b4a10[_0x2276c4(0x179)]()[_0x2276c4(0x1ae)]()!==_0x3e2988)return _0x483a8d;this[_0x2276c4(0x1b8)](_0x2b4a10,_0x483a8d,_0x25bfc1,_0x3fc8a6,_0x4549a0);}return _0x483a8d;}else{if(_0x32b501===0x1){for(let _0x5471b0=0x0;_0x5471b0<_0x3e9221-0x1;_0x5471b0++){const _0x1750be=_0x152b24[_0x5471b0];if(_0x1750be instanceof _0x39bae8&&_0x5471b0%0x2===0x1){const _0x26938f=_0x1750be[_0x2276c4(0x183)]();if(_0x26938f[_0x2276c4(0x140)]===0x1&&!(_0x26938f[0x0]instanceof _0x39bae8))continue;const _0x325be4=this[_0x2276c4(0x139)](_0x1750be,_0x25bfc1,_0x3fc8a6,_0x4549a0);_0x325be4&&_0x483a8d['children']['push'](_0x325be4);}}return _0x483a8d;}else{if(_0x32b501===0x8){const _0x19169b=_0x152b24[0x0];if(_0x19169b instanceof _0x39bae8){const _0x56fa53=_0x19169b[_0x2276c4(0x183)]()[0x0];_0x56fa53 instanceof _0x39bae8&&(_0x483a8d[_0x2276c4(0x185)]=_0x56fa53['getStartIndex']());}if(this[_0x2276c4(0x19a)](_0x1a89e1))return _0x483a8d;}else{if(_0x32b501===0x7){const _0x499c59=_0x152b24[0x0];if(_0x499c59 instanceof _0x39bae8){const _0x1d7b89=_0x499c59[_0x2276c4(0x183)]()[0x0];_0x1d7b89 instanceof _0x39bae8&&(_0x483a8d['startIndex']=_0x1d7b89[_0x2276c4(0x1b3)]());}}}}}return this[_0x2276c4(0x111)](_0x152b24,_0x32b501,_0x483a8d,_0x25bfc1,_0x3fc8a6,_0x4549a0),_0x483a8d;}[_0x55718c(0x111)](_0x561740,_0x1c1521,_0x3e0ea2,_0x4cce14,_0x51fd2d,_0x123cba){const _0x3680d5=_0x55718c;for(let _0x4e68e0=0x0;_0x4e68e0<_0x561740[_0x3680d5(0x140)];_0x4e68e0++){let _0x3fda8a=_0x561740[_0x4e68e0];if(!(_0x3fda8a instanceof _0x39bae8)){const _0x4199fe=this[_0x3680d5(0x156)](_0x3fda8a,_0x51fd2d,_0x123cba);_0x4199fe&&_0x3e0ea2[_0x3680d5(0x1bf)][_0x3680d5(0x15f)](_0x4199fe);continue;}const _0x12ad8e=_0x3fda8a[_0x3680d5(0x183)]();if(_0x12ad8e[_0x3680d5(0x140)]===0x1&&!(_0x12ad8e[0x0]instanceof _0x39bae8)){const _0x350c4f=_0x12ad8e[0x0];if(!_0x51fd2d(this[_0x3680d5(0x1b7)],_0x350c4f)&&!this[_0x3680d5(0x191)](_0x350c4f,_0x123cba)&&!_0x8f835e(_0x350c4f))continue;}if(_0x1c1521===0x8){const _0x4542ec=_0x12ad8e[0x0];if(_0x4542ec instanceof _0x39bae8){const _0x36b513=_0x4542ec[_0x3680d5(0x179)]()[_0x3680d5(0x1ae)]();if(_0x8f835e(_0x36b513))continue;_0x3fda8a=_0x4542ec;}}const _0x40db37=this[_0x3680d5(0x139)](_0x3fda8a,_0x4cce14,_0x51fd2d,_0x123cba);_0x40db37&&_0x3e0ea2[_0x3680d5(0x1bf)]['push'](_0x40db37);}}[_0x55718c(0x19a)](_0x2310f5){const _0x5ef981=_0x55718c,_0x3ad1cd=_0x2310f5[_0x5ef981(0x183)]();if(_0x3ad1cd[_0x5ef981(0x140)]<0x2)return!0x1;const _0x3a326e=_0x3ad1cd[0x0],_0x5357ad=_0x3ad1cd[0x1];if(!(_0x3a326e instanceof _0x39bae8)||!(_0x5357ad instanceof _0x39bae8))return!0x1;const _0x503203=_0x3a326e[_0x5ef981(0x183)]()[0x0],_0x58ceb1=_0x5357ad['getChildren']()[0x0];if(!(_0x503203 instanceof _0x39bae8)||!(_0x58ceb1 instanceof _0x39bae8))return!0x1;const _0x5cfa51=_0x503203[_0x5ef981(0x179)]()[_0x5ef981(0x1ae)](),_0x1df100=_0x58ceb1[_0x5ef981(0x179)]()[_0x5ef981(0x1ae)]();return!!_0x8f835e(''+_0x5cfa51+_0x4ceacf[_0x5ef981(0x193)]+_0x1df100);}[_0x55718c(0x156)](_0x184923,_0x479bf2,_0x3d6cc8){const _0x6221ed=_0x55718c,_0x22c220=_0x184923[_0x6221ed(0x1ae)]();return _0x22c220[_0x6221ed(0x1dd)]('{')&&_0x22c220[_0x6221ed(0x13c)]('}')||_0x479bf2(this[_0x6221ed(0x1b7)],_0x22c220)||this[_0x6221ed(0x191)](_0x22c220,_0x3d6cc8)||_0x8f835e(_0x22c220)?{'value':_0x22c220,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x1c27ec,_0x582067){const {tableName:_0xcc5195}=_0x48a017(_0x1c27ec);return _0x582067(this['_currentUnitId'],_0xcc5195)?_0xcc5195:null;}[_0x55718c(0x1b8)](_0x33e138,_0x572462,_0x58db78,_0x4d0ac0,_0x373b9b){const _0x21ea31=_0x55718c,_0x1fbf1a=_0x33e138[_0x21ea31(0x183)]();for(let _0x1a1ce4=0x0;_0x1a1ce4<_0x1fbf1a['length'];_0x1a1ce4++){const _0x18dbd3=_0x1fbf1a[_0x1a1ce4];if(!(_0x18dbd3 instanceof _0x39bae8))continue;const _0x4920ea=_0x18dbd3['getChildren']();if(_0x4920ea[_0x21ea31(0x140)]===0x1&&!(_0x4920ea[0x0]instanceof _0x39bae8))continue;const _0x32510a=this[_0x21ea31(0x139)](_0x18dbd3,_0x58db78,_0x4d0ac0,_0x373b9b);_0x32510a&&_0x572462[_0x21ea31(0x1bf)][_0x21ea31(0x15f)](_0x32510a);}}['_getCurNodeTypeForExprTree'](_0x4d0d2b){const _0x3b275f=_0x55718c,_0x18581a=_0x4d0d2b[_0x3b275f(0x179)](),_0x1504a8=_0x18581a['trim']()[_0x3b275f(0x13f)]();let _0x57bb0c=0x0;return _0x18581a===_0x5c45bb?_0x57bb0c=0x3:_0x18581a===_0xa42b15?_0x57bb0c=0x4:_0x18581a===_0x3e2988?_0x57bb0c=0x5:_0x1504a8===_0x47070e?_0x57bb0c=0x2:_0x1504a8===_0x4f548d?_0x57bb0c=0x1:_0x1504a8===_0x4ceacf['COLON']?_0x57bb0c=0x8:_0x31c80[_0x3b275f(0x123)](_0x1504a8)?_0x57bb0c=0x7:_0x1504a8===_0x211d84['MINUS']?this[_0x3b275f(0x18a)](_0x4d0d2b)&&(_0x57bb0c=0x9):_0x57bb0c=0xa,_0x57bb0c;}}class we extends _0x5114bf{constructor(){super(...arguments),C(this,'_dependencyTreeCache',new Map());}[_0x55718c(0x19d)](){const _0x187511=_0x55718c;super[_0x187511(0x19d)](),this[_0x187511(0x195)]['clear']();}async[_0x55718c(0x160)](_0x437088=!0x1){const _0x5af6ab=_0x55718c;this['_updateRangeFlatten']();const _0x56ba3e=this[_0x5af6ab(0x19e)][_0x5af6ab(0x136)](),_0x50e770=this[_0x5af6ab(0x166)][_0x5af6ab(0x18f)](),_0x25fcb0=this['_currentConfigService'][_0x5af6ab(0x1be)]();_0x25fcb0!=null&&Object['keys'](_0x25fcb0)[_0x5af6ab(0x1d1)](_0x33449b=>{const _0x4de455=_0x5af6ab;_0x33449b!=null&&Object[_0x4de455(0x178)](_0x25fcb0[_0x33449b])[_0x4de455(0x1d1)](_0x4e4787=>{const _0x590fb4=_0x4de455;_0x4e4787!=null&&(this[_0x590fb4(0x14d)][_0x590fb4(0x11b)](_0x33449b,_0x4e4787),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x33449b,_0x4e4787),this[_0x590fb4(0x14d)][_0x590fb4(0x13e)](_0x33449b,_0x4e4787));});});const _0x53bfa7=this[_0x5af6ab(0x19e)]['getUnitData']();await this[_0x5af6ab(0x1ac)](_0x56ba3e,_0x50e770,_0x53bfa7),this[_0x5af6ab(0x14d)][_0x5af6ab(0x192)]();const _0x3888c1=this[_0x5af6ab(0x155)](),_0x9191fe=this['_calculateRunList'](_0x3888c1);return this[_0x5af6ab(0x159)](_0x9191fe)&&this['_runtimeService']['enableCycleDependency'](),_0x437088&&this[_0x5af6ab(0x1c6)][_0x5af6ab(0x18b)](this[_0x5af6ab(0x173)](Array[_0x5af6ab(0x129)](this[_0x5af6ab(0x195)]['values']()))),this[_0x5af6ab(0x195)][_0x5af6ab(0x199)](),this['_dependencyRTreeCacheForAddressFunction'][_0x5af6ab(0x199)](),this[_0x5af6ab(0x14d)]['closeKdTree'](),this[_0x5af6ab(0x1c6)][_0x5af6ab(0x1bb)](),Promise['resolve'](_0x9191fe);}['_isCyclicUtilMap'](_0x35f739,_0x4ad39a){const _0x345b49=_0x55718c,_0x2515ab=[_0x35f739];for(;_0x2515ab['length']>0x0;){const _0x259091=_0x2515ab[_0x2515ab[_0x345b49(0x140)]-0x1];if((_0x4ad39a[_0x345b49(0x16a)](_0x259091)||0x0)===0x0){_0x4ad39a[_0x345b49(0x1ba)](_0x259091,0x1);const _0x42d136=this['_dependencyTreeCache'][_0x345b49(0x16a)](_0x259091);if(_0x42d136==null){_0x4ad39a[_0x345b49(0x1ba)](_0x259091,0x2),_0x2515ab[_0x345b49(0x15d)]();continue;}const _0x505ee4=this[_0x345b49(0x14d)][_0x345b49(0x14b)](_0x42d136[_0x345b49(0x1d3)]());for(const _0x1e18ea of _0x505ee4){const _0xba585a=_0x4ad39a['get'](_0x1e18ea)||0x0;if(_0xba585a===0x1)return!0x0;_0xba585a===0x0&&_0x2515ab[_0x345b49(0x15f)](_0x1e18ea);}}else _0x4ad39a['set'](_0x259091,0x2),_0x2515ab[_0x345b49(0x15d)]();}return!0x1;}[_0x55718c(0x159)](_0x4ecc8f){const _0x16d8d7=_0x55718c,_0x58f4bd=new Map();for(const _0xb819c1 of _0x4ecc8f)if(!_0x58f4bd[_0x16d8d7(0x123)](_0xb819c1[_0x16d8d7(0x149)])&&this[_0x16d8d7(0x18c)](_0xb819c1[_0x16d8d7(0x149)],_0x58f4bd))return!0x0;return _0x58f4bd[_0x16d8d7(0x199)](),!0x1;}['_getFeatureFormulaTree'](_0x421242,_0x557504,_0x3a2185){const _0x334fce=_0x55718c,{unitId:_0x3dcdd7,subUnitId:_0x4c1f80,dependencyRanges:_0x24625f,getDirtyData:_0x20f6d4}=_0x3a2185,_0x1ce3a0=_0x557504||_0x4384e5(this[_0x334fce(0x14d)]),_0x3e169d=new _0x2e80ae(_0x1ce3a0);_0x3e169d[_0x334fce(0x12d)]=_0x3dcdd7,_0x3e169d['subUnitId']=_0x4c1f80,_0x3e169d['rangeList']=_0x24625f,_0x3e169d[_0x334fce(0x112)]=_0x20f6d4;const _0x334717=_0x20f6d4(this[_0x334fce(0x19e)][_0x334fce(0x112)](),this[_0x334fce(0x1c6)][_0x334fce(0x14c)]()),_0x359feb=this['_convertDirtyRangesToUnitRange'](_0x334717[_0x334fce(0x1b5)]);return _0x3e169d[_0x334fce(0x117)]=_0x359feb,_0x3e169d[_0x334fce(0x1d8)]=_0x421242,_0x3e169d[_0x334fce(0x1b2)]=_0x3cd72f[_0x334fce(0x144)],this[_0x334fce(0x14d)][_0x334fce(0x1d5)](_0x3dcdd7,_0x4c1f80,_0x421242,_0x3e169d),this[_0x334fce(0x195)][_0x334fce(0x1ba)](_0x3e169d[_0x334fce(0x149)],_0x3e169d),this[_0x334fce(0x14d)][_0x334fce(0x121)](_0x3a2185[_0x334fce(0x12d)],_0x3a2185[_0x334fce(0x1a3)],_0x421242)&&(_0x3e169d[_0x334fce(0x150)]=!0x0),_0x3e169d;}['_registerOtherFormulas'](_0x161cbe,_0x4e2338,_0x1d1dc0){const _0x46e92c=_0x55718c;var _0xb4752c;for(const _0x4cf063 of _0x4e2338){const _0x1da47a=_0x161cbe[_0x4cf063];if(_0x1da47a==null)continue;const _0x5c7b43=Object[_0x46e92c(0x178)](_0x1da47a);for(const _0x28bd5e of _0x5c7b43){const _0x54fb6d=_0x1da47a[_0x28bd5e];if(_0x54fb6d==null)continue;const _0x484703=Object[_0x46e92c(0x178)](_0x54fb6d);for(const _0xef08e2 of _0x484703){const _0x481c3c=this[_0x46e92c(0x14d)][_0x46e92c(0x197)](_0xef08e2),_0x348ef1=_0x54fb6d[_0xef08e2],{f:_0x1284e6,ranges:_0x5423fc}=_0x348ef1;let _0x5bade4=!0x1;_0x481c3c&&(_0x5bade4=!0x0);const {firstRow:_0x5aca80,firstColumn:_0x4a15e3}=this[_0x46e92c(0x14f)](_0x5423fc),_0x54f638=this[_0x46e92c(0x14d)][_0x46e92c(0x1c8)](_0x4cf063,_0x28bd5e,_0xef08e2),_0xd118f7=(_0xb4752c=_0x54f638==null?void 0x0:_0x54f638[_0x46e92c(0x189)](0x0,0x0))!=null?_0xb4752c:_0x4384e5(this[_0x46e92c(0x14d)]),_0x8ba6ff=new _0x2e80ae(_0xd118f7);for(let _0x52c14b=0x0;_0x52c14b<_0x5423fc['length'];_0x52c14b++){const _0x2a5844=_0x5423fc[_0x52c14b],{startRow:_0x603de5,startColumn:_0x3ff2b3,endRow:_0x4d8b3b,endColumn:_0x23dd1e}=_0x2a5844;for(let _0x34f0ad=_0x603de5;_0x34f0ad<=_0x4d8b3b;_0x34f0ad++)for(let _0xd0f45a=_0x3ff2b3;_0xd0f45a<=_0x23dd1e;_0xd0f45a++){const _0x37d3cf=_0xd0f45a-_0x4a15e3,_0x2dd6a0=_0x34f0ad-_0x5aca80;if(_0x37d3cf===0x0&&_0x2dd6a0===0x0){_0x8ba6ff[_0x46e92c(0x1b6)]=_0x1284e6,_0x8ba6ff['unitId']=_0x4cf063,_0x8ba6ff['subUnitId']=_0x28bd5e,_0x8ba6ff[_0x46e92c(0x167)]=_0xef08e2,_0x8ba6ff[_0x46e92c(0x1b2)]=_0x3cd72f[_0x46e92c(0x1cc)],_0x8ba6ff['isCache']=_0x5bade4,_0x1d1dc0[_0x46e92c(0x15f)](_0x8ba6ff),this[_0x46e92c(0x195)][_0x46e92c(0x1ba)](_0x8ba6ff['treeId'],_0x8ba6ff),this['_dependencyManagerService'][_0x46e92c(0x1c2)](_0x4cf063,_0x28bd5e,_0xef08e2,_0x8ba6ff),this[_0x46e92c(0x14d)][_0x46e92c(0x186)](_0x8ba6ff);continue;}const _0x53fb79=new _0x17672b();_0x53fb79[_0x46e92c(0x149)]=(_0x54f638==null?void 0x0:_0x54f638[_0x46e92c(0x189)](_0x37d3cf,_0x2dd6a0))||_0x4384e5(this[_0x46e92c(0x14d)]),_0x53fb79['refTree']=_0x8ba6ff,_0x53fb79[_0x46e92c(0x127)]=_0x37d3cf,_0x53fb79['refOffsetY']=_0x2dd6a0,_0x53fb79[_0x46e92c(0x150)]=_0x5bade4,_0x53fb79[_0x46e92c(0x1b2)]=_0x3cd72f[_0x46e92c(0x1cc)],this['_dependencyManagerService'][_0x46e92c(0x1c2)](_0x4cf063,_0x28bd5e,_0xef08e2,_0x53fb79),this[_0x46e92c(0x14d)][_0x46e92c(0x186)](_0x53fb79),_0x1d1dc0[_0x46e92c(0x15f)](_0x53fb79),this[_0x46e92c(0x195)]['set'](_0x53fb79['treeId'],_0x53fb79);}}this[_0x46e92c(0x14d)][_0x46e92c(0x1cb)](_0xef08e2);}}}}['_registerFormulas'](_0x528fb2,_0x432dde,_0x457ab7,_0x1ae615){const _0x1974a2=_0x55718c;for(const _0x2f8d05 of _0x528fb2){const _0x2c19ed=_0x432dde[_0x2f8d05];if(_0x2c19ed==null)continue;const _0x37da04=Object[_0x1974a2(0x178)](_0x2c19ed);for(const _0x54e62d of _0x37da04){const _0x433d75=new _0x3b0c18(_0x2c19ed[_0x54e62d]||{}),_0x577df0=new Map();_0x433d75['forValue']((_0x247f83,_0x2425cc,_0x339a50)=>{const _0x3d5e4f=_0x1974a2;if(_0x339a50==null)return!0x0;const {x:_0x26bf9a=0x0,y:y=0x0,si:_0x34bd36}=_0x339a50;if(!(_0x26bf9a===0x0&&y===0x0&&_0x34bd36!=null))return!0x0;const _0x1df9fb=this['_createFDtree'](_0x2f8d05,_0x54e62d,_0x247f83,_0x2425cc,_0x457ab7,_0x339a50),_0x15a70a=this['_dependencyManagerService']['getFormulaDependency'](_0x2f8d05,_0x54e62d,_0x247f83,_0x2425cc);_0x15a70a!=null?_0x1df9fb['treeId']=_0x15a70a:(this['_dependencyManagerService']['addFormulaDependency'](_0x2f8d05,_0x54e62d,_0x247f83,_0x2425cc,_0x1df9fb),this['_dependencyManagerService'][_0x3d5e4f(0x186)](_0x1df9fb)),_0x577df0[_0x3d5e4f(0x1ba)](_0x34bd36,_0x1df9fb),_0x1ae615[_0x3d5e4f(0x15f)](_0x1df9fb),this[_0x3d5e4f(0x195)]['set'](_0x1df9fb[_0x3d5e4f(0x149)],_0x1df9fb);}),_0x433d75[_0x1974a2(0x168)]((_0x54da4a,_0x2c4532,_0x2f2ae0)=>{const _0x221ca8=_0x1974a2;if(_0x2f2ae0==null)return!0x0;const {x:_0x5524bd=0x0,y:y=0x0,si:_0x1cf1e8}=_0x2f2ae0;if(_0x5524bd===0x0&&y===0x0&&_0x1cf1e8!=null)return!0x0;let _0x360038;if(_0x1cf1e8&&_0x577df0[_0x221ca8(0x123)](_0x1cf1e8)){const _0x5a4193=_0x577df0[_0x221ca8(0x16a)](_0x1cf1e8);_0x360038=this['_createVirtualFDtree'](_0x5a4193,_0x2f2ae0);}else _0x360038=this['_createFDtree'](_0x2f8d05,_0x54e62d,_0x54da4a,_0x2c4532,_0x457ab7,_0x2f2ae0);const _0xc4352=this[_0x221ca8(0x14d)][_0x221ca8(0x1d6)](_0x2f8d05,_0x54e62d,_0x54da4a,_0x2c4532);_0xc4352!=null?_0x360038[_0x221ca8(0x149)]=_0xc4352:(this[_0x221ca8(0x14d)][_0x221ca8(0x141)](_0x2f8d05,_0x54e62d,_0x54da4a,_0x2c4532,_0x360038),this[_0x221ca8(0x14d)]['addFormulaDependencyByDefinedName'](_0x360038)),_0x1ae615[_0x221ca8(0x15f)](_0x360038),this[_0x221ca8(0x195)][_0x221ca8(0x1ba)](_0x360038['treeId'],_0x360038);}),_0x577df0[_0x1974a2(0x199)]();}}}[_0x55718c(0x137)](_0x35d38f,_0x10e8a8,_0x316c7b,_0x28f841,_0x465fa5,_0x1f8923){const _0x497542=_0x55718c,{f:_0x12e040,x:_0x59b6e0=0x0,y:_0x5d462f=0x0}=_0x1f8923,_0x11f709=new _0x2e80ae(_0x4384e5(this[_0x497542(0x14d)])),_0x35323a=_0x465fa5[_0x35d38f][_0x10e8a8];return _0x11f709[_0x497542(0x1b6)]=_0x12e040,_0x11f709['unitId']=_0x35d38f,_0x11f709[_0x497542(0x1a3)]=_0x10e8a8,_0x11f709[_0x497542(0x113)]=_0x316c7b,_0x11f709[_0x497542(0x17a)]=_0x28f841,_0x11f709[_0x497542(0x1af)]=_0x35323a[_0x497542(0x1af)],_0x11f709[_0x497542(0x187)]=_0x35323a[_0x497542(0x187)],_0x11f709;}[_0x55718c(0x155)](){const _0x3040f0=_0x55718c,_0xb459ea=[],_0x499dd6=new Set(),_0xace994=this['_currentConfigService'][_0x3040f0(0x1a6)](),_0x3de092=this['_currentConfigService']['getDirtyRanges'](),_0x6045bb=this[_0x3040f0(0x14d)]['searchDependency'](_0x3de092),_0x1684da=this['_dependencyRTreeCacheForAddressFunction'][_0x3040f0(0x1db)](_0x3de092);for(const _0x15554e of _0x1684da)_0x6045bb['add'](_0x15554e);for(const [_0x2f6ecb,_0x4730d5]of this[_0x3040f0(0x195)])(_0xace994||_0x4730d5[_0x3040f0(0x132)]||_0x4730d5['dependencySheetName'](this[_0x3040f0(0x19e)][_0x3040f0(0x190)]())||_0x6045bb[_0x3040f0(0x123)](_0x2f6ecb)&&!_0x4730d5[_0x3040f0(0x1a7)](this[_0x3040f0(0x19e)][_0x3040f0(0x122)]()))&&!_0x499dd6[_0x3040f0(0x123)](_0x2f6ecb)&&(_0xb459ea['push'](_0x4730d5),_0x499dd6[_0x3040f0(0x171)](_0x2f6ecb));for(const [_0x28e52f,_0x4a579a]of this[_0x3040f0(0x195)])_0x4a579a['isVirtual']||(_0x4a579a['rangeList']['length']=0x0);return _0xb459ea;}['_getTreeById'](_0x452777){const _0x51e489=_0x55718c;return this['_dependencyTreeCache'][_0x51e489(0x16a)](_0x452777);}[_0x55718c(0x15a)](_0x4606bf){const _0x3b6f27=_0x55718c;return _0x397537(_0x4606bf[_0x3b6f27(0x12d)],_0x4606bf[_0x3b6f27(0x1b6)],this[_0x3b6f27(0x16e)],this['_astTreeBuilder'],this[_0x3b6f27(0x19e)]);}*[_0x55718c(0x1c0)](_0x3f0500,_0x7f8c5e){const _0x384b6e=_0x55718c,_0xba07dc=_0x3f0500,_0x12c551=new Set();for(;_0xba07dc['length']>0x0;){const _0x92a920=_0xba07dc[_0x384b6e(0x15d)]();if(_0x12c551[_0x384b6e(0x199)](),_0x92a920===void 0x0||_0x92a920['isSkip']())continue;if(_0x92a920[_0x384b6e(0x11c)]()){yield _0x92a920,_0x92a920[_0x384b6e(0x1c3)](),_0x7f8c5e[_0x384b6e(0x171)](_0x92a920[_0x384b6e(0x149)]);continue;}const _0x4dca05=this[_0x384b6e(0x14d)]['searchDependency'](_0x92a920['toRTreeItem'](),_0x7f8c5e),_0x186721=this['_dependencyRTreeCacheForAddressFunction'][_0x384b6e(0x1db)](_0x92a920[_0x384b6e(0x1d3)](),_0x7f8c5e);for(const _0x807b07 of _0x186721)_0x4dca05[_0x384b6e(0x171)](_0x807b07);for(const _0x4ca612 of _0x4dca05){const _0x2e735e=this['_dependencyTreeCache'][_0x384b6e(0x16a)](_0x4ca612);if(!_0x2e735e){console['error'](_0x384b6e(0x1d2),_0x4ca612);continue;}_0x2e735e[_0x384b6e(0x11c)]()||_0x92a920['isSkip']()||_0x12c551[_0x384b6e(0x171)](_0x2e735e);}if(_0x4dca05['clear'](),_0x12c551[_0x384b6e(0x1bc)]===0x0)yield _0x92a920,_0x92a920[_0x384b6e(0x1c3)](),_0x7f8c5e[_0x384b6e(0x171)](_0x92a920[_0x384b6e(0x149)]);else{_0x92a920[_0x384b6e(0x19b)](),_0xba07dc[_0x384b6e(0x15f)](_0x92a920);for(const _0x37781e of _0x12c551)_0xba07dc[_0x384b6e(0x15f)](_0x37781e);}}_0xba07dc[_0x384b6e(0x140)]=0x0,_0x12c551[_0x384b6e(0x199)]();}[_0x55718c(0x181)](_0x10465f){const _0x45ed26=_0x55718c,_0x282cbb=[],_0x3bdfa8=new Set();for(const _0x4c5431 of this[_0x45ed26(0x1c0)](_0x10465f,_0x3bdfa8))_0x282cbb[_0x45ed26(0x15f)](_0x4c5431);return _0x282cbb;}async[_0x55718c(0x11e)](){const _0x45c2c5=_0x55718c;return await this['_initializeGenerateTreeList'](),Array[_0x45c2c5(0x129)](this[_0x45c2c5(0x195)]['values']());}[_0x55718c(0x151)](_0x44694c){const _0x58f51d=_0x55718c;return this[_0x58f51d(0x14d)][_0x58f51d(0x14b)](_0x44694c[_0x58f51d(0x1d3)]());}[_0x55718c(0x146)](_0x179c77){const _0xb23bb3=_0x55718c,_0x4a08c5=new Set(),_0x329e40=_0x179c77['rangeList'];for(const [_0xc0618f,_0x57d47d]of this[_0xb23bb3(0x195)])for(const _0x16a9c4 of _0x329e40){const _0x44b4b4=_0x16a9c4['unitId'],_0x2761f4=_0x16a9c4['sheetId'];if(_0x57d47d['unitId']!==_0x44b4b4||_0x57d47d['subUnitId']!==_0x2761f4)continue;const _0x2d7f97=_0x16a9c4['range'];if(_0x57d47d['inRangeData'](_0x2d7f97)){_0x4a08c5[_0xb23bb3(0x171)](_0xc0618f);break;}}return _0x4a08c5;}[_0x55718c(0x153)](){const _0x42ea50=_0x55718c;this['_dependencyManagerService'][_0x42ea50(0x192)]();}[_0x55718c(0x182)](){const _0x4182a7=_0x55718c;this['_formulaDependencyTreeModel']['clear'](),this['_dependencyTreeCache'][_0x4182a7(0x199)](),this['_dependencyManagerService']['closeKdTree']();}}const xe=_0x55718c(0x135),ve={0x0:'6',0x1:'b',0x2:'s',0x3:'3',0x4:'Z',0x5:'y',0x6:'\x20',0x7:'n',0x8:'u',0x9:'7','M':'0','D':'1','f':'2','E':'4','I':'5','B':'8','S':'9','e':'a','h':'c','F':'d','N':'e','X':'f','q':'g','x':'h','g':'i','a':'j','O':'k','T':'l','k':'m','n':'o','i':'p','m':'q','R':'r','w':'t','u':'v','H':'w','W':'x','C':'z','L':'A','y':'B','b':'C','J':'D','U':'E','c':'F','z':'G','V':'H','l':'I','\x20':'J','p':'K','A':'L','r':'M','d':'N','j':'O','t':'P','v':'Q','G':'R','Z':'S','K':'T','s':'U','Y':'V','o':'W','P':'X','Q':'Y'};class Me extends _0x41e39f{async['_apply'](_0x14636d=!0x1){const _0x36aaac=_0x55718c;_0x14636d?this[_0x36aaac(0x1c6)][_0x36aaac(0x154)](_0x21cace[_0x36aaac(0x13d)]):this[_0x36aaac(0x1c6)][_0x36aaac(0x154)](_0x21cace[_0x36aaac(0x1bd)]),this[_0x36aaac(0x130)][_0x36aaac(0x12e)](this[_0x36aaac(0x1c6)]['getRuntimeState']());const _0x101cb0=await this[_0x36aaac(0x16d)]['generate'](this[_0x36aaac(0x16b)]),_0x55657c=this[_0x36aaac(0x1ce)];_0x14636d?(this[_0x36aaac(0x1c6)][_0x36aaac(0x154)](_0x21cace['START_CALCULATION_ARRAY_FORMULA']),this[_0x36aaac(0x1c6)][_0x36aaac(0x1c4)](_0x101cb0['length'])):(this['_runtimeService']['setFormulaExecuteStage'](_0x21cace['START_CALCULATION']),this[_0x36aaac(0x1c6)][_0x36aaac(0x1b0)](_0x101cb0['length'])),this[_0x36aaac(0x130)][_0x36aaac(0x12e)](this[_0x36aaac(0x1c6)]['getRuntimeState']());let _0x45bd50=[];const _0x220095=this[_0x36aaac(0x13a)][_0x36aaac(0x1aa)](_0x3e62aa),_0x137dff=(_0x220095==null?void 0x0:_0x220095[_0x36aaac(0x175)])||_0x328aa1;let _0x33b2dc=0x0;const _0x268db1=_0x101cb0['length'];for(;_0x101cb0[_0x36aaac(0x140)]>0x0;){const _0x3aba13=_0x101cb0[_0x36aaac(0x15d)](),_0x27732d=_0x397537(_0x3aba13[_0x36aaac(0x12d)],_0x3aba13[_0x36aaac(0x1b6)],this[_0x36aaac(0x16e)],this[_0x36aaac(0x143)],this['_currentConfigService']),_0x5d2ea9={'node':_0x27732d,'refOffsetX':_0x3aba13[_0x36aaac(0x127)],'refOffsetY':_0x3aba13[_0x36aaac(0x1b9)]},_0x862890=_0x3aba13[_0x36aaac(0x112)];if(_0x33b2dc%_0x137dff===0x0&&(await new Promise(_0x363c6b=>{const _0x2835dd=_0x3b5b57(_0x363c6b);_0x45bd50['push'](_0x2835dd);}),_0x14636d?(this['_runtimeService'][_0x36aaac(0x154)](_0x21cace['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x36aaac(0x1c6)][_0x36aaac(0x1a2)](_0x33b2dc+0x1)):(this[_0x36aaac(0x1c6)][_0x36aaac(0x154)](_0x21cace['CURRENTLY_CALCULATING']),this[_0x36aaac(0x1c6)][_0x36aaac(0x1d4)](_0x33b2dc+0x1)),this[_0x36aaac(0x130)][_0x36aaac(0x12e)](this[_0x36aaac(0x1c6)][_0x36aaac(0x1ab)]()),this[_0x36aaac(0x1c6)][_0x36aaac(0x19c)]()||_0x5d2ea9==null&&_0x862890==null)){this[_0x36aaac(0x1c6)][_0x36aaac(0x154)](_0x21cace[_0x36aaac(0x118)]),this[_0x36aaac(0x1c6)]['markedAsStopFunctionsExecuted'](),this[_0x36aaac(0x152)][_0x36aaac(0x12e)](this[_0x36aaac(0x1c6)][_0x36aaac(0x14c)]());return;}this['_runtimeService'][_0x36aaac(0x162)](_0x3aba13[_0x36aaac(0x113)],_0x3aba13['column'],_0x3aba13[_0x36aaac(0x1af)],_0x3aba13[_0x36aaac(0x187)],_0x3aba13[_0x36aaac(0x1a3)],_0x3aba13[_0x36aaac(0x12d)]);let _0x29dce0;if(_0x862890!=null&&_0x3aba13[_0x36aaac(0x1d8)]!=null){const {runtimeCellData:_0x5215ec,dirtyRanges:_0x48d9fa}=_0x862890(this['_currentConfigService'][_0x36aaac(0x112)](),this['_runtimeService'][_0x36aaac(0x14c)]());this[_0x36aaac(0x1c6)][_0x36aaac(0x198)](_0x3aba13['featureId'],_0x5215ec),this[_0x36aaac(0x1c6)]['setRuntimeFeatureRange'](_0x3aba13[_0x36aaac(0x1d8)],_0x48d9fa);}else _0x5d2ea9!=null&&(_0x55657c[_0x36aaac(0x1a0)](_0x5d2ea9[_0x36aaac(0x1a1)])?_0x29dce0=await _0x55657c['executeAsync'](_0x5d2ea9):_0x29dce0=_0x55657c[_0x36aaac(0x1a9)](_0x5d2ea9),_0x3aba13[_0x36aaac(0x167)]!=null?this[_0x36aaac(0x1c6)]['setRuntimeOtherData'](_0x3aba13[_0x36aaac(0x167)],_0x3aba13[_0x36aaac(0x127)],_0x3aba13[_0x36aaac(0x1b9)],_0x29dce0):this[_0x36aaac(0x1c6)][_0x36aaac(0x16c)](_0x29dce0));_0x27732d['resetCalculationState'](),_0x33b2dc++;}return _0x45bd50[_0x36aaac(0x1d1)](_0x426bfa=>_0x426bfa()),_0x45bd50=[],_0x268db1>0x0?this['_runtimeService'][_0x36aaac(0x11f)]():_0x14636d||this[_0x36aaac(0x1c6)][_0x36aaac(0x14a)](),this[_0x36aaac(0x1c6)]['getAllRuntimeData']();}}class Se extends _0x5e1ad3{constructor(){const _0x67a791=_0x55718c;super(...arguments),C(this,'_allTreeMap',new Map()),C(this,_0x67a791(0x17f),new _0x29d3ab(!0x0));}['reset'](){const _0x554e92=_0x55718c;this[_0x554e92(0x1ca)]['clear'](),this[_0x554e92(0x164)][_0x554e92(0x199)](),this[_0x554e92(0x1a4)][_0x554e92(0x199)](),this[_0x554e92(0x17f)][_0x554e92(0x199)](),this['_allTreeMap'][_0x554e92(0x199)](),this['_restDependencyTreeId'](),this[_0x554e92(0x1dc)][_0x554e92(0x199)]();}['addOtherFormulaDependency'](_0x3ae026,_0x181536,_0x4a3bbb,_0x30f2e8){const _0x2fc1cf=_0x55718c;this[_0x2fc1cf(0x1ca)][_0x2fc1cf(0x123)](_0x3ae026)||this['_otherFormulaData'][_0x2fc1cf(0x1ba)](_0x3ae026,new Map());const _0x2de4de=this[_0x2fc1cf(0x1ca)][_0x2fc1cf(0x16a)](_0x3ae026);_0x2de4de[_0x2fc1cf(0x123)](_0x181536)||_0x2de4de['set'](_0x181536,new Map());const _0x1a83ad=_0x2de4de[_0x2fc1cf(0x16a)](_0x181536);_0x1a83ad[_0x2fc1cf(0x123)](_0x4a3bbb)||_0x1a83ad[_0x2fc1cf(0x1ba)](_0x4a3bbb,new _0x3b0c18()),_0x1a83ad[_0x2fc1cf(0x16a)](_0x4a3bbb)[_0x2fc1cf(0x14e)](_0x30f2e8[_0x2fc1cf(0x127)],_0x30f2e8[_0x2fc1cf(0x1b9)],_0x30f2e8[_0x2fc1cf(0x149)]);}[_0x55718c(0x169)](_0x5d0f7c,_0x12b56b,_0xee0e45){const _0x3eacc5=_0x55718c,_0x835f8a=this['_otherFormulaData'][_0x3eacc5(0x16a)](_0x5d0f7c);if(_0x835f8a&&_0x835f8a['has'](_0x12b56b)){const _0x148fcf=_0x835f8a[_0x3eacc5(0x16a)](_0x12b56b);_0xee0e45[_0x3eacc5(0x1d1)](_0x12b219=>{const _0x3e9fa5=_0x3eacc5,_0x150292=_0x148fcf[_0x3e9fa5(0x16a)](_0x12b219);_0x150292!=null&&(_0x150292[_0x3e9fa5(0x168)]((_0x214f65,_0x2a3b71,_0x4a5b4f)=>{const _0x43c3d3=_0x3e9fa5;this[_0x43c3d3(0x165)](_0x4a5b4f),this['_removeAllTreeMap'](_0x4a5b4f);}),_0x148fcf['delete'](_0x12b219),this[_0x3e9fa5(0x1dc)][_0x3e9fa5(0x180)](_0x12b219));}),_0x148fcf[_0x3eacc5(0x1bc)]===0x0&&_0x835f8a[_0x3eacc5(0x180)](_0x12b56b),_0x835f8a[_0x3eacc5(0x1bc)]===0x0&&this[_0x3eacc5(0x1ca)][_0x3eacc5(0x180)](_0x5d0f7c);}}[_0x55718c(0x11b)](_0x58e231,_0x38ffcc){const _0xdfd617=_0x55718c,_0x449b7d=this[_0xdfd617(0x1ca)][_0xdfd617(0x16a)](_0x58e231);if(_0x38ffcc&&_0x449b7d&&_0x449b7d['has'](_0x38ffcc)){const _0x4f2289=_0x449b7d['get'](_0x38ffcc);this[_0xdfd617(0x114)](_0x58e231,_0x38ffcc);for(const _0x15cbf6 of _0x4f2289[_0xdfd617(0x178)]()){const _0x92fc16=_0x4f2289[_0xdfd617(0x16a)](_0x15cbf6);_0x92fc16!=null&&(_0x92fc16[_0xdfd617(0x168)]((_0x15512b,_0x1ecc3c,_0x2db845)=>{const _0x45fb47=_0xdfd617;this[_0x45fb47(0x15b)][_0x45fb47(0x16a)](_0x2db845)&&this[_0x45fb47(0x125)](_0x2db845);}),this[_0xdfd617(0x1dc)][_0xdfd617(0x180)](_0x15cbf6));}_0x4f2289['clear']();}else{if(_0x449b7d){for(const _0x381b0c of _0x449b7d[_0xdfd617(0x178)]()){const _0x3f95ce=_0x449b7d['get'](_0x381b0c);this[_0xdfd617(0x114)](_0x58e231,_0x381b0c);for(const _0x3dbf80 of _0x3f95ce[_0xdfd617(0x178)]()){const _0x20adc6=_0x3f95ce[_0xdfd617(0x16a)](_0x3dbf80);_0x20adc6!=null&&(_0x20adc6[_0xdfd617(0x168)]((_0x170ee8,_0x47ab11,_0x8f9745)=>{const _0x4c6a06=_0xdfd617;this[_0x4c6a06(0x15b)][_0x4c6a06(0x16a)](_0x8f9745)&&this['_removeAllTreeMap'](_0x8f9745);}),this['_otherFormulaDataMainData']['delete'](_0x3dbf80));}}this['_otherFormulaData'][_0xdfd617(0x180)](_0x58e231);}}}[_0x55718c(0x1d5)](_0x2162a3,_0x59675c,_0x3e5361,_0x4555b1){const _0x487b14=_0x55718c;this[_0x487b14(0x164)][_0x487b14(0x123)](_0x2162a3)||this['_featureFormulaData'][_0x487b14(0x1ba)](_0x2162a3,new Map());const _0x2114c7=this[_0x487b14(0x164)][_0x487b14(0x16a)](_0x2162a3);_0x2114c7[_0x487b14(0x123)](_0x59675c)||_0x2114c7['set'](_0x59675c,new Map()),_0x2114c7[_0x487b14(0x16a)](_0x59675c)['set'](_0x3e5361,_0x4555b1[_0x487b14(0x149)]);}[_0x55718c(0x1da)](_0x5712e0,_0x5c250d,_0x4f6534){const _0x179c43=_0x55718c,_0x598e64=this[_0x179c43(0x164)][_0x179c43(0x16a)](_0x5712e0);if(_0x598e64&&_0x598e64['has'](_0x5c250d)){const _0x5ab65f=_0x598e64[_0x179c43(0x16a)](_0x5c250d);_0x4f6534[_0x179c43(0x1d1)](_0x18f9da=>{const _0x372d91=_0x179c43,_0x29f8de=_0x5ab65f[_0x372d91(0x16a)](_0x18f9da);_0x29f8de!=null&&(this[_0x372d91(0x165)](_0x29f8de),_0x5ab65f[_0x372d91(0x180)](_0x18f9da),this['_removeAllTreeMap'](_0x29f8de));});}}[_0x55718c(0x1cf)](_0x4f272f,_0x1439e5){const _0x274a71=_0x55718c,_0x3bceb8=this['_featureFormulaData']['get'](_0x4f272f);if(_0x1439e5&&_0x3bceb8&&_0x3bceb8[_0x274a71(0x123)](_0x1439e5)){const _0x40c191=_0x3bceb8['get'](_0x1439e5);this[_0x274a71(0x114)](_0x4f272f,_0x1439e5),_0x40c191[_0x274a71(0x1d1)](_0x542c16=>{const _0x4356d9=_0x274a71;_0x542c16!=null&&this[_0x4356d9(0x125)](_0x542c16);}),_0x40c191[_0x274a71(0x199)]();}else _0x3bceb8&&(_0x3bceb8[_0x274a71(0x1d1)]((_0x271cdc,_0x10c960)=>{const _0x28f992=_0x274a71;this[_0x28f992(0x114)](_0x4f272f,_0x10c960),_0x271cdc[_0x28f992(0x1d1)](_0x264c7d=>{const _0x1ec674=_0x28f992;_0x264c7d!=null&&this[_0x1ec674(0x125)](_0x264c7d);});}),this['_featureFormulaData']['delete'](_0x4f272f));}[_0x55718c(0x141)](_0x56c42c,_0x29f922,_0x311a23,_0x229603,_0x584d97){const _0x4274d1=_0x55718c;this[_0x4274d1(0x1a4)][_0x4274d1(0x123)](_0x56c42c)||this[_0x4274d1(0x1a4)][_0x4274d1(0x1ba)](_0x56c42c,new Map());const _0x2e8308=this[_0x4274d1(0x1a4)][_0x4274d1(0x16a)](_0x56c42c);_0x2e8308[_0x4274d1(0x123)](_0x29f922)||_0x2e8308['set'](_0x29f922,new _0x3b0c18()),_0x2e8308[_0x4274d1(0x16a)](_0x29f922)['setValue'](_0x311a23,_0x229603,_0x584d97[_0x4274d1(0x149)]);}[_0x55718c(0x17d)](_0x1bd8d2,_0x28d867,_0x2b2670,_0x191ed3){const _0x48d439=_0x55718c,_0x3a060b=this[_0x48d439(0x1a4)][_0x48d439(0x16a)](_0x1bd8d2);if(_0x3a060b&&_0x3a060b[_0x48d439(0x123)](_0x28d867)){const _0x438fed=_0x3a060b[_0x48d439(0x16a)](_0x28d867),_0x148ab7=_0x438fed['getValue'](_0x2b2670,_0x191ed3);if(_0x148ab7==null)return;this[_0x48d439(0x165)](_0x148ab7),_0x438fed['realDeleteValue'](_0x2b2670,_0x191ed3),this[_0x48d439(0x125)](_0x148ab7);}}[_0x55718c(0x13e)](_0x5f3c85,_0x3031fb){const _0x2001d2=_0x55718c,_0x48470f=this[_0x2001d2(0x1a4)][_0x2001d2(0x16a)](_0x5f3c85);if(_0x3031fb&&_0x48470f&&_0x48470f[_0x2001d2(0x123)](_0x3031fb)){const _0x9ddee7=_0x48470f['get'](_0x3031fb);this['_removeDependencyRTreeCacheById'](_0x5f3c85,_0x3031fb),_0x9ddee7['forValue']((_0x2de09a,_0x4ec37e,_0x161d3e)=>{const _0x24efdc=_0x2001d2;if(_0x161d3e==null)return!0x0;this[_0x24efdc(0x125)](_0x161d3e);}),_0x9ddee7[_0x2001d2(0x1ad)]();}else _0x48470f&&(_0x48470f[_0x2001d2(0x1d1)]((_0x2470a8,_0x19d270)=>{const _0x1ca6b5=_0x2001d2;this[_0x1ca6b5(0x114)](_0x5f3c85,_0x19d270),_0x2470a8[_0x1ca6b5(0x168)]((_0x2b6a2f,_0xe29d16,_0x2a00d6)=>{if(_0x2a00d6==null)return!0x0;this['_removeAllTreeMap'](_0x2a00d6);});}),this['_formulaData'][_0x2001d2(0x180)](_0x5f3c85));}['_removeDependencyRTreeCache'](_0x3262cf){const _0x3a38a7=_0x55718c;if(_0x3262cf==null)return;const _0x59491b=this['_allTreeMap']['get'](_0x3262cf);if(_0x59491b){const _0x4aeb13=[];for(const [_0x311d02,_0x58b061]of _0x59491b)for(const [_0x10fb8d,_0x1b7bc2]of _0x58b061)_0x4aeb13[_0x3a38a7(0x15f)]({'unitId':_0x311d02,'sheetId':_0x10fb8d,'range':_0x1b7bc2,'id':_0x3262cf});this[_0x3a38a7(0x17f)][_0x3a38a7(0x1c7)](_0x4aeb13);}}[_0x55718c(0x1c5)](_0x2a51e1,_0x1617b5){const _0x439cdf=_0x55718c,_0x599693=this[_0x439cdf(0x1d9)][_0x439cdf(0x16a)](_0x2a51e1);if(_0x599693){const _0x52215d=_0x599693[_0x439cdf(0x16a)](_0x1617b5);if(_0x52215d){for(const _0x90ee2d of _0x52215d)this[_0x439cdf(0x165)](_0x90ee2d),this['_removeAllTreeMap'](_0x90ee2d);_0x52215d[_0x439cdf(0x199)]();}}}[_0x55718c(0x192)](){const _0x1c87c6=_0x55718c;this[_0x1c87c6(0x17f)]['openKdTree']();}[_0x55718c(0x12b)](){const _0x307c74=_0x55718c;this[_0x307c74(0x17f)][_0x307c74(0x12b)]();}[_0x55718c(0x125)](_0x1bf532){const _0xc932f2=_0x55718c;_0x1bf532!=null&&this[_0xc932f2(0x15b)][_0xc932f2(0x180)](_0x1bf532);}['_addAllTreeMap'](_0x3739ea){const _0x575237=_0x55718c;var _0x4e9971,_0x5a173a;const _0x3d81a6=_0x3739ea[_0x575237(0x1a8)];let _0x2b42e3=this[_0x575237(0x15b)][_0x575237(0x16a)](_0x3739ea[_0x575237(0x149)]);for(let _0x4733b7=0x0;_0x4733b7<_0x3d81a6[_0x575237(0x140)];_0x4733b7++){const _0x177336=_0x3d81a6[_0x4733b7];let {unitId:_0x2262e2,sheetId:_0x9819c7,range:_0x32c839}=_0x177336;_0x2b42e3||(_0x2b42e3=new Map(),this['_allTreeMap'][_0x575237(0x1ba)](_0x3739ea[_0x575237(0x149)],_0x2b42e3)),_0x2b42e3[_0x575237(0x123)](_0x2262e2)||_0x2b42e3[_0x575237(0x1ba)](_0x2262e2,new Map());const _0x13638b=(_0x4e9971=_0x2b42e3==null?void 0x0:_0x2b42e3['get'](_0x2262e2))==null?void 0x0:_0x4e9971['get'](_0x9819c7);_0x13638b&&(_0x32c839={'startRow':Math['min'](_0x32c839[_0x575237(0x177)],_0x13638b[_0x575237(0x177)]),'startColumn':Math[_0x575237(0x172)](_0x32c839[_0x575237(0x148)],_0x13638b[_0x575237(0x148)]),'endRow':Math['max'](_0x32c839[_0x575237(0x188)],_0x13638b[_0x575237(0x188)]),'endColumn':Math[_0x575237(0x163)](_0x32c839[_0x575237(0x13b)],_0x13638b[_0x575237(0x13b)])}),(_0x5a173a=_0x2b42e3['get'](_0x2262e2))==null||_0x5a173a[_0x575237(0x1ba)](_0x9819c7,_0x32c839);}}}var Ee=Object[_0x55718c(0x119)],Ae=(_0x177b82,_0x4231d9,_0x379e12,_0x527822)=>{const _0x32de7b=_0x55718c;for(var _0xa0c097=_0x527822>0x1?void 0x0:_0x527822?Ee(_0x4231d9,_0x379e12):_0x4231d9,_0x1427ca=_0x177b82[_0x32de7b(0x140)]-0x1,_0x4edd89;_0x1427ca>=0x0;_0x1427ca--)(_0x4edd89=_0x177b82[_0x1427ca])&&(_0xa0c097=_0x4edd89(_0xa0c097)||_0xa0c097);return _0xa0c097;};const ke=Number[_0x55718c(0x1b4)](0x69a28918);let j=class extends _0x4dd84e{[_0x55718c(0x15c)](){const _0xf87463=_0x55718c;var _0x288f69,_0x1c0b8f;this['_initLicenseValid']()?(this['_injector'][_0xf87463(0x171)]([_0x26f5cf,{'useClass':De}]),(_0x288f69=this[_0xf87463(0x161)])!=null&&_0x288f69[_0xf87463(0x145)]||[[_0x377b81,{'useClass':Me}],[_0x1f24cc,{'useClass':Se}],[_0x1fd19a,{'useClass':we}]][_0xf87463(0x1d1)](_0x77ef80=>this[_0xf87463(0x1a5)][_0xf87463(0x171)](_0x77ef80))):(this[_0xf87463(0x1a5)][_0xf87463(0x171)]([_0x26f5cf,{'useClass':_0x26f5cf}]),(_0x1c0b8f=this[_0xf87463(0x161)])!=null&&_0x1c0b8f[_0xf87463(0x145)]||[[_0x377b81,{'useClass':_0x41e39f}],[_0x1f24cc,{'useClass':_0x1477ac}],[_0x1fd19a,{'useClass':_0x5114bf}]][_0xf87463(0x1d1)](_0x12f788=>this[_0xf87463(0x1a5)][_0xf87463(0x171)](_0x12f788)));}[_0x55718c(0x12a)](){const _0x36a46a=_0x55718c;var _0x313533;const _0xb27fa=(_0x313533=this[_0x36a46a(0x13a)][_0x36a46a(0x1aa)](_0x485df4))!=null?_0x313533:{},{ls:_0x3f2bb1,pbk:_0x7ae1d3}=_0xb27fa;if(!_0x3f2bb1||!_0x7ae1d3)return!0x1;const _0x12bcaf=_0x51bc49(xe,ve),_0xe92e3a=new Function(_0x36a46a(0x176)+_0x12bcaf)()(_0x3f2bb1,_0x7ae1d3),_0x18dcf9=_0xe92e3a[_0x36a46a(0x134)];return _0xe92e3a['valid']&&_0x446529(_0x18dcf9,'sf',ke)?_0x4486e8(_0x18dcf9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};j=Ae([_0x17231a(_0x22064a)],j);export{De as LexerTreeProBuilder,j as UniverProFormulaEnginePlugin};
1
+ const _0x56801f=_0x3cd9;(function(_0x1f4602,_0x1f10c7){const _0x4df2d1=_0x3cd9,_0x172bdf=_0x1f4602();while(!![]){try{const _0x586f9e=parseInt(_0x4df2d1(0xc1))/0x1+parseInt(_0x4df2d1(0xad))/0x2*(parseInt(_0x4df2d1(0x124))/0x3)+-parseInt(_0x4df2d1(0xf2))/0x4*(-parseInt(_0x4df2d1(0xc5))/0x5)+-parseInt(_0x4df2d1(0x12c))/0x6+-parseInt(_0x4df2d1(0x10f))/0x7*(parseInt(_0x4df2d1(0x139))/0x8)+parseInt(_0x4df2d1(0x10b))/0x9*(parseInt(_0x4df2d1(0x129))/0xa)+parseInt(_0x4df2d1(0xe6))/0xb*(parseInt(_0x4df2d1(0xa8))/0xc);if(_0x586f9e===_0x1f10c7)break;else _0x172bdf['push'](_0x172bdf['shift']());}catch(_0x2633e7){_0x172bdf['push'](_0x172bdf['shift']());}}}(_0x2c3f,0x70754));var se=Object[_0x56801f(0x102)],ae=(_0x168a83,_0x57d781,_0x12fa38)=>_0x57d781 in _0x168a83?se(_0x168a83,_0x57d781,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12fa38}):_0x168a83[_0x57d781]=_0x12fa38,D=(_0x48a703,_0x2e5bed,_0x4e1e1d)=>ae(_0x48a703,typeof _0x2e5bed!=_0x56801f(0xf9)?_0x2e5bed+'':_0x2e5bed,_0x4e1e1d);import{LexerTreeBuilder as _0x388074,ErrorType as _0x2c52c5,DEFAULT_TOKEN_TYPE_ROOT as _0x3f692c,DEFAULT_TOKEN_TYPE_PARAMETER as _0x180bfb,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1f6366,NEW_EXCEL_FUNCTIONS as _0x446c2c,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3fe88a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x57cb3f,matchToken as _0x1b8f71,SUFFIX_TOKEN_SET as _0x232bf0,prefixToken as _0x218f68,LexerNode as _0x388154,OPERATOR_TOKEN_SET as _0x6b9c0e,isReferenceString as _0x331fc3,splitTableStructuredRef as _0x101d56,FormulaDependencyGenerator as _0x157ae1,generateRandomDependencyTreeId as _0x4174b1,FormulaDependencyTree as _0x1659e1,FormulaDependencyTreeType as _0x5530b2,FormulaDependencyTreeVirtual as _0x20e852,generateAstNode as _0x2a6c60,CalculateFormulaService as _0x31f04c,FormulaExecuteStageType as _0x4d82e5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x20e6f6,DEFAULT_INTERVAL_COUNT as _0x142c55,DependencyManagerBaseService as _0x779a65,UniverFormulaEnginePlugin as _0xeae1b0,ICalculateFormulaService as _0x41ccf9,IDependencyManagerService as _0x1f15dc,IFormulaDependencyGenerator as _0x3486f4,DependencyManagerService as _0x35e3a7}from'@univerjs/engine-formula';function _0x2c3f(){const _0x25e203=['_clearPrefix','resolve','_checkColonNodeForExprTree','forEach','setValue','/*1Jtyl5B-6lt4oyJ1bWJAJW-BJLby4BJ1*/AI5aBlz516JaWwbBlz5(ylaJ5tJ,1bIoylaFJw)1{1111BWw1{11111111az5tB1ylaJ5tJD5AzR4WBmWW4w1=1ylaJ5tJ.tbylB(\x27-\x27);11111111az5tB1zWlvl5CJtt4vJ1=18EGO.b4WtJ(4Bzo(ylaJ5tJD5AzR4WBmWW4w[P]));11111111lA1(!zWlvl5CJtt4vJ.I6)1{111111111111zWlvl5CJtt4vJ.I61=1OILoJW(ylaJ5tJD5AzR4WBmWW4w[x]);11111111}11111111az5tB1ltezWNJW1=1BwbJzA1ezWNJWdyzo4yEazbJ1!==1\x27I56JAl5J6\x271&&1tJyA1l5tB45aJzA1ezWNJWdyzo4yEazbJ;11111111az5tB1ltSWzXtJW1=1BwbJzA1Xl56zX1!==1\x27I56JAl5J6\x271&&1BwbJzA1Xl56zX.yza4Blz51!==1\x27I56JAl5J6\x27;11111111az5tB1az5BJsB1=1ltezWNJW1?1tJyA1:1(ltSWzXtJW1?1Xl56zX1:1vyzo4yrklt);11111111az5tB1LJtt4vJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[P]);11111111az5tB1LJtt4vJ1=1az5BJsB.__iJs__.tBWl5vlAw(LJtt4vJezW6);11111111az5tB1tlv54BIWJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[q]);11111111az5tB1tlv54BIWJ1=1az5BJsB.__iJs__.tBWl5vlAw(tlv54BIWJezW6);11111111az5tB1tlv5p4yl61=1az5BJsB.__QJWlAw__(tlv54BIWJ,1LJtt4vJ,1bIoylaFJw);11111111az5tB16zL4l51=1zWlvl5CJtt4vJ.6L;11111111AI5aBlz51lt2zL4l5C4Bakl5v(b4BBJW5,1kztB)1{111111111111lA1(b4BBJW51===1kztB)1WJBIW51BWIJ;111111111111lA1(b4BBJW5.tB4WBtelBk(\x27*.\x27))1{1111111111111111az5tB1tIAAls1=1b4BBJW5.tylaJ(P);1111111111111111lA1(tIAAls1&&1tIAAls1===1kztB)1{11111111111111111111WJBIW51BWIJ;1111111111111111}1111111111111111lA1(tIAAls1&&1!kztB.tB4WBtelBk(\x27.\x27)1&&1kztB.J56telBk(\x27.\x271+1tIAAls))1{11111111111111111111WJBIW51BWIJ;1111111111111111}111111111111}111111111111WJBIW51A4ytJ;11111111}11111111yJB16zL4l5p4yl61=1A4ytJ;11111111lA1(ltSWzXtJW)1{1111111111116zL4l5p4yl61=1(6zL4l51&&16zL4l5.yJ5vBk)1?16zL4l5.tzLJ((6LDBJL)1=>1lt2zL4l5C4Bakl5v(6LDBJL,1yza4Blz5.kztB54LJ))1:1BWIJ;111111111111lA1(yza4Blz5.kztB54LJ1===1\x27yza4ykztB\x27)1{11111111111111116zL4l5p4yl61=1BWIJ;111111111111}11111111}1JytJ1{1111111111116zL4l5p4yl61=1BWIJ;11111111}11111111az5tB1Q4yl61=1tlv5p4yl61&&16zL4l5p4yl6;11111111WJBIW51{111111111111Q4yl6,111111111111LJtt4vJ:1zWlvl5CJtt4vJ,11111111};1111}1a4Bak1(JWWzW)1{11111111WJBIW51{111111111111Q4yl6:1A4ytJ,111111111111LJtt4vJ:1{},11111111};1111}}','execute','_formulaData','unitId','clearOtherFormulaDependency','\x22\x20is\x20duplicated.','columnCount','addFormulaDependency','_dependencyRTreeCacheForAddressFunction','type','_updateRangeFlatten','COLON','treeBuilder','55ITRwNl','startColumn','startRow','isDirty','generate','_checkAddBracketForMinus','featureDirtyRanges','setCompletedFormulasCount','refOffsetY','_getUpdateTreeListAndMakeDependency','_checkIsCycleDependency','isArray','664YFrlks','_getTreeById','setAdded','range','pop','_isCalculateTreeModel','_config','symbol','closeKdTree','getOtherFormulaData','parseInt','formulaId','_xlpm.','_featureFormulaData','subUnitId','_generateTreeList','defineProperty','_removeDependencyRTreeCache','VALUE','addFormulaDependencyByDefinedName','setTotalFormulasToCalculate','_formulaDependencyTreeModel','_initializeGenerateTreeList','checkAsyncNode','size','1245555bKbWeN','searchDependency','values','endColumn','168FeFQHp','string','_allTreeMap','startIndex','rangeList','_dependencyManagerService','from','addOtherFormulaDependency','reset','column','_isCyclicUtilMap','_createVirtualFDtree','MINUS','getValue','_formulaDependencyGenerator','isCache','_getFirstCellOfRange','getDirtyRanges','setSkip','enableCycleDependency','getOtherFormulaDependency','2415786BwNwsp','removeOtherFormulaDependency','getExcludedRange','addOtherFormulaDependencyMainData','getClearDependencyTreeCache','10aFUOBe','_createFDtree','formula','3659982gZJlAV','getUnitData','setRuntimeFeatureCellData','min','bulkSearch','clearFormulaDependency','_configService','setRuntimeData','keys','_currentConfigService','toUpperCase','_resetPrefix','getDirtyData','299528GwJdFz','setFormulaExecuteStage','value','_getTableNameFromStructuredRef','getToken','getFeatureFormulaDependency','_dependencyRTreeCache','max','treeId','endRow','_getDependencyTreeChildrenIds','_clearFunctionString','return\x20','_executionInProgressListener$','row','getDirtyNameMap','_xlfn.','set','rowCount','children','openKdTree','next','inRangeData','delete','FEATURE_FORMULA','_handleNewFunctionChild','toRTreeItem','getChildren','sheetId','featureId','getAllRuntimeData','_calculateRunList','node','_otherFormulaManagerService','START_CALCULATION','dispose','executeAsync','_generateExprTree','_xlfnPrefix','_getDependencyTreeParenIds','_apply','setRuntimeFeatureRange','START_DEPENDENCY_ARRAY_FORMULA','trim','_lambdaFunctionParameterSet','getFormulaDependency','clear','Lambda\x20parameter\x20name\x20\x22','OTHER_FORMULA','_getTreeNode','slice','getConfig','_injector','_astTreeBuilder','_convertDirtyRangesToUnitRange','_restDependencyTreeId','_handleChildrenForExprTree','_getCurNodeTypeForExprTree','join','_handleTextNodeForExprTree','getFormulaExprTree','isStopExecution','markedAsNoFunctionsExecuted','_generateNewFunctionString','658668gmrTFL','notExecuteFormula','getOwnPropertyDescriptor','_getAllTreeList','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','2qYLsTj','isForceCalculate','has','_initLicenseValid','getStartIndex','refOffsetX','_getAllDependencyJson','forValue','length','_traverse','get','_xlpmPrefix','isAdded','_lexer','START_CALCULATION_ARRAY_FORMULA','push','_hasNewExcelFunction','_removeDependencyRTreeCacheById','_endFormulaDependencyTreeModel','markedAsStopFunctionsExecuted','534477BfVkvq','error','getRuntimeState','endsWith','6525ceFAZk','_otherFormulaData','_otherFormulaDataMainData','intervalCount','_removeAllTreeMap','_interpreter','add','setCurrent','_currentUnitId','refTree','_dependencyTreeCache','markedAsSuccessfullyExecuted','_runtimeService','_startFormulaDependencyTreeModel','clearArrayObjectCache'];_0x2c3f=function(){return _0x25e203;};return _0x2c3f();}export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x2ae835,LS_CONFIG_KEY as _0x1614ff,unshiftString as _0x239f63,isFeatureAuthorizedWithinTime as _0xc0b5be,getSheetFeatureLimit as _0x2fa4d8}from'@univerjs-pro/license';import{ObjectMatrix as _0x56f5b3,requestImmediateMacroTask as _0x36af3a,RTree as _0x91bf78,DependentOn as _0x30759e}from'@univerjs/core';class Ae extends _0x388074{constructor(){const _0x17f000=_0x56801f;super(...arguments),D(this,_0x17f000(0xbd),!0x1),D(this,_0x17f000(0x94),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,_0x17f000(0x8e),'_xlfn.'),D(this,'_currentUnitId','');}['_resetPrefix'](){const _0x78763e=_0x56801f;this[_0x78763e(0xb8)]=_0x78763e(0xfe),this[_0x78763e(0x8e)]=_0x78763e(0x149);}['_clearPrefix'](){const _0x41d2f6=_0x56801f;this[_0x41d2f6(0xb8)]='',this[_0x41d2f6(0x8e)]='';}['getNewFormulaWithPrefix'](_0x11852b,_0x23df1a){const _0x5acb83=_0x56801f,_0x4a0b45=this[_0x5acb83(0xe5)](_0x11852b,!0x1);if(!_0x4a0b45||_0x4a0b45===_0x2c52c5[_0x5acb83(0x104)]||Array[_0x5acb83(0xf1)](_0x4a0b45))return null;const _0x7eae65=[];return this[_0x5acb83(0xbd)]=!0x1,this[_0x5acb83(0xa7)](_0x4a0b45,_0x7eae65,_0x23df1a),this[_0x5acb83(0xbd)]?'='+_0x7eae65[_0x5acb83(0xa2)](''):null;}['_generateNewFunctionString'](_0x46950a,_0x45845b,_0x5eae57){const _0x35edb6=_0x56801f,_0x3b7001=_0x46950a['getToken'](),_0xe4a36d=_0x3b7001[_0x35edb6(0x93)](),_0x2bced0=_0xe4a36d[_0x35edb6(0x136)](),_0x2fcc63=this[_0x35edb6(0x144)](_0x2bced0),_0x389305=_0x5eae57(_0x2fcc63);let _0x6c2528=0x0;_0x3b7001===_0x3f692c?_0x6c2528=0x3:_0x3b7001===_0x180bfb?_0x6c2528=0x4:_0x3b7001===_0x1f6366?_0x6c2528=0x5:_0x446c2c['has'](_0x2fcc63)?(_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0x8e)]+_0xe4a36d),this[_0x35edb6(0xbd)]=!0x0):_0x2bced0===_0x3fe88a?(_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0x8e)]+_0xe4a36d),this[_0x35edb6(0xbd)]=!0x0,_0x6c2528=0x2):_0x2bced0===_0x57cb3f?(_0x45845b[_0x35edb6(0xbc)](''+this['_xlfnPrefix']+_0xe4a36d),this['_hasNewExcelFunction']=!0x0,_0x6c2528=0x1):_0x2bced0===_0x1b8f71[_0x35edb6(0xe4)]?_0x6c2528=0x8:_0x232bf0[_0x35edb6(0xaf)](_0x2bced0)?_0x6c2528=0x7:_0x2bced0===_0x218f68[_0x35edb6(0x11b)]?(this[_0x35edb6(0xeb)](_0x46950a)&&(_0x6c2528=0x9),_0x45845b[_0x35edb6(0xbc)](_0x3b7001)):(_0x45845b[_0x35edb6(0xbc)](_0x3b7001),_0x6c2528=0xa),_0x389305?(_0x6c2528!==0x2&&_0x6c2528!==0x1&&(_0x6c2528=0x6),_0x45845b[_0x35edb6(0xbc)]('(')):_0x6c2528===0x9&&_0x45845b[_0x35edb6(0xbc)]('(');const _0x850965=_0x46950a['getChildren'](),_0x580ec2=_0x850965[_0x35edb6(0xb5)];if(_0x6c2528===0x2){const _0x2eedbb=_0x850965[0x0];let _0x51de01=0x0;_0x2eedbb instanceof _0x388154&&_0x2eedbb[_0x35edb6(0x13d)]()===_0x1f6366&&(_0x51de01=0x1);for(let _0x237d82=_0x51de01;_0x237d82<_0x580ec2-0x1;_0x237d82++){const _0x29cec2=_0x850965[_0x237d82];if(_0x29cec2 instanceof _0x388154){const _0x3bf503=_0x29cec2[_0x35edb6(0x83)]()[0x0];typeof _0x3bf503==_0x35edb6(0x110)&&(this['_lambdaFunctionParameterSet'][_0x35edb6(0xaf)](_0x3bf503)&&console[_0x35edb6(0xc2)](_0x35edb6(0x97)+_0x3bf503+_0x35edb6(0xde)),this[_0x35edb6(0x94)][_0x35edb6(0xcb)](_0x3bf503),_0x45845b['push'](''+this[_0x35edb6(0xb8)]+_0x3bf503),this['_hasNewExcelFunction']=!0x0);}_0x45845b[_0x35edb6(0xbc)](',');}this['_handleNewFunctionChild'](_0x850965[_0x580ec2-0x1],_0x45845b,_0x5eae57),_0x51de01===0x1&&(_0x45845b[_0x35edb6(0xbc)](')'),_0x45845b['push']('('),this[_0x35edb6(0xa7)](_0x2eedbb,_0x45845b,_0x5eae57)),_0x45845b['push'](')');return;}else{if(_0x6c2528===0x1){for(let _0x31a9b2=0x0;_0x31a9b2<_0x580ec2-0x1;_0x31a9b2++){const _0x272bbe=_0x850965[_0x31a9b2];if(_0x272bbe instanceof _0x388154&&_0x31a9b2%0x2===0x0){const _0x435d83=_0x272bbe['getChildren']()[0x0];if(typeof _0x435d83=='string'){this[_0x35edb6(0x94)]['has'](_0x435d83)&&console[_0x35edb6(0xc2)]('Let\x20variable\x20name\x20\x22'+_0x435d83+_0x35edb6(0xde)),this[_0x35edb6(0x94)][_0x35edb6(0xcb)](_0x435d83),_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0xb8)]+_0x435d83),this['_hasNewExcelFunction']=!0x0,_0x45845b['push'](',');continue;}}if(this['_handleNewFunctionChild'](_0x272bbe,_0x45845b,_0x5eae57),_0x272bbe instanceof _0x388154){const _0x46b9ba=_0x850965[_0x31a9b2+0x1];_0x46b9ba&&_0x46b9ba instanceof _0x388154&&_0x45845b['push'](',');}}this[_0x35edb6(0x81)](_0x850965[_0x580ec2-0x1],_0x45845b,_0x5eae57),_0x45845b[_0x35edb6(0xbc)](')');return;}else{if(_0x6c2528===0x8){const _0x392503=_0x850965[0x0],_0x20ea51=_0x850965[0x1];this[_0x35edb6(0x81)](_0x392503,_0x45845b,_0x5eae57),_0x45845b['push'](_0x3b7001),this[_0x35edb6(0x81)](_0x20ea51,_0x45845b,_0x5eae57);return;}}}for(let _0x5aa7e0=0x0;_0x5aa7e0<_0x580ec2;_0x5aa7e0++){const _0x528468=_0x850965[_0x5aa7e0];if(this[_0x35edb6(0x81)](_0x528468,_0x45845b,_0x5eae57),_0x528468 instanceof _0x388154){const _0x52c8b2=_0x850965[_0x5aa7e0+0x1];_0x52c8b2&&_0x52c8b2 instanceof _0x388154&&_0x45845b[_0x35edb6(0xbc)](',');}}_0x6c2528===0x7&&_0x45845b[_0x35edb6(0xbc)](_0x3b7001),(_0x389305||_0x6c2528===0x9)&&_0x45845b['push'](')');}[_0x56801f(0x81)](_0x3eab2d,_0x3922fc,_0x3adccb){const _0xda155d=_0x56801f;_0x3eab2d instanceof _0x388154?this[_0xda155d(0xa7)](_0x3eab2d,_0x3922fc,_0x3adccb):this[_0xda155d(0x94)][_0xda155d(0xaf)](_0x3eab2d)?(_0x3922fc[_0xda155d(0xbc)](''+this[_0xda155d(0xb8)]+_0x3eab2d),this[_0xda155d(0xbd)]=!0x0):_0x3922fc[_0xda155d(0xbc)](_0x3eab2d);}[_0x56801f(0x144)](_0x438aaa){const _0x2a2a3f=_0x56801f;let _0x17a1e7=_0x438aaa[_0x2a2a3f(0x93)]();if(!_0x17a1e7)return _0x17a1e7;const _0x40f926=_0x17a1e7[0x0];if((_0x40f926===_0x218f68['AT']||_0x40f926===_0x218f68['MINUS']||_0x40f926===_0x218f68['PLUS'])&&(_0x17a1e7=_0x17a1e7[_0x2a2a3f(0x9a)](0x1)),!_0x17a1e7)return _0x17a1e7;const _0x5094f0=_0x17a1e7[_0x17a1e7['length']-0x1];return _0x232bf0['has'](_0x5094f0)&&(_0x17a1e7=_0x17a1e7['slice'](0x0,-0x1)),_0x17a1e7;}[_0x56801f(0xeb)](_0x213706){const _0x420aa5=_0x56801f,_0x311920=_0x213706[_0x420aa5(0x83)]()[0x0];if(!_0x311920||!(_0x311920 instanceof _0x388154)||_0x213706[_0x420aa5(0x83)]()[_0x420aa5(0xb5)]>0x1)return!0x1;const _0x4c2d68=_0x311920[_0x420aa5(0x83)](),_0x3066a3=_0x4c2d68[_0x420aa5(0xb5)];if(_0x3066a3===0x1)return!0x1;for(let _0x35323a=0x0;_0x35323a<_0x3066a3;_0x35323a++){const _0xbfcdb7=_0x4c2d68[_0x35323a];if(!(_0xbfcdb7 instanceof _0x388154)&&_0x6b9c0e['has'](_0xbfcdb7))return!0x0;}return!0x1;}[_0x56801f(0xa4)](_0x2ce027,_0x235936,_0x514a0b,_0x5b5324,_0x6a2731){const _0x3bfc63=_0x56801f,_0x4465cf=this[_0x3bfc63(0xe5)](_0x2ce027,!0x1);if(!_0x4465cf||_0x4465cf===_0x2c52c5[_0x3bfc63(0x104)]||Array[_0x3bfc63(0xf1)](_0x4465cf))return null;this[_0x3bfc63(0xd4)](),this[_0x3bfc63(0xcd)]=_0x235936;const _0x719810=this[_0x3bfc63(0x8d)](_0x4465cf,_0x514a0b,_0x5b5324,_0x6a2731);return this[_0x3bfc63(0xcd)]='',this[_0x3bfc63(0x137)](),_0x719810;}[_0x56801f(0x8d)](_0x4c65ac,_0x5efb50,_0x2be4bc,_0x2e8b42){const _0x200b1a=_0x56801f,_0x171e21={'value':'','children':[],'startIndex':0x0};let _0xac85fd=_0x4c65ac;if(_0xac85fd instanceof _0x388154&&(_0xac85fd[_0x200b1a(0x13d)]()===_0x3f692c||_0xac85fd['getToken']()===_0x180bfb)&&_0xac85fd[_0x200b1a(0x83)]()[_0x200b1a(0xb5)]===0x1&&(_0xac85fd=_0xac85fd[_0x200b1a(0x83)]()[0x0]),!(_0xac85fd instanceof _0x388154))return this[_0x200b1a(0xa3)](_0xac85fd,_0x2be4bc,_0x2e8b42);const _0x29b722=_0xac85fd[_0x200b1a(0x83)](),_0x444caf=_0x29b722[_0x200b1a(0xb5)],_0x465484=[];this['_generateNewFunctionString'](_0xac85fd,_0x465484,_0x5efb50),_0x171e21[_0x200b1a(0x13b)]=_0x465484[_0x200b1a(0xa2)](''),_0x171e21['startIndex']=_0xac85fd[_0x200b1a(0xb1)]();const _0xe995d6=this[_0x200b1a(0xa1)](_0xac85fd);if(_0xe995d6===0x2){const _0x3d1346=_0x29b722[0x0];if(_0x3d1346 instanceof _0x388154){if(_0x3d1346[_0x200b1a(0x13d)]()['trim']()!==_0x1f6366)return _0x171e21;this['_handleLambdaForExprTree'](_0x3d1346,_0x171e21,_0x5efb50,_0x2be4bc,_0x2e8b42);}return _0x171e21;}else{if(_0xe995d6===0x1){for(let _0xeb2a45=0x0;_0xeb2a45<_0x444caf-0x1;_0xeb2a45++){const _0x45e889=_0x29b722[_0xeb2a45];if(_0x45e889 instanceof _0x388154&&_0xeb2a45%0x2===0x1){const _0x196370=_0x45e889[_0x200b1a(0x83)]();if(_0x196370[_0x200b1a(0xb5)]===0x1&&!(_0x196370[0x0]instanceof _0x388154))continue;const _0x2a8336=this['_generateExprTree'](_0x45e889,_0x5efb50,_0x2be4bc,_0x2e8b42);_0x2a8336&&_0x171e21[_0x200b1a(0x14c)][_0x200b1a(0xbc)](_0x2a8336);}}return _0x171e21;}else{if(_0xe995d6===0x8){const _0x372bb0=_0x29b722[0x0];if(_0x372bb0 instanceof _0x388154){const _0x322b9b=_0x372bb0['getChildren']()[0x0];_0x322b9b instanceof _0x388154&&(_0x171e21[_0x200b1a(0x112)]=_0x322b9b[_0x200b1a(0xb1)]());}if(this[_0x200b1a(0xd6)](_0xac85fd))return _0x171e21;}else{if(_0xe995d6===0x7){const _0x1b37b7=_0x29b722[0x0];if(_0x1b37b7 instanceof _0x388154){const _0x36c72f=_0x1b37b7[_0x200b1a(0x83)]()[0x0];_0x36c72f instanceof _0x388154&&(_0x171e21[_0x200b1a(0x112)]=_0x36c72f[_0x200b1a(0xb1)]());}}}}}return this[_0x200b1a(0xa0)](_0x29b722,_0xe995d6,_0x171e21,_0x5efb50,_0x2be4bc,_0x2e8b42),_0x171e21;}[_0x56801f(0xa0)](_0x2f2787,_0x214ead,_0x32e0fa,_0x166542,_0x44c610,_0x41c7eb){const _0x2c020e=_0x56801f;for(let _0x212db9=0x0;_0x212db9<_0x2f2787[_0x2c020e(0xb5)];_0x212db9++){let _0x11fb8e=_0x2f2787[_0x212db9];if(!(_0x11fb8e instanceof _0x388154)){const _0x1a511a=this[_0x2c020e(0xa3)](_0x11fb8e,_0x44c610,_0x41c7eb);_0x1a511a&&_0x32e0fa[_0x2c020e(0x14c)]['push'](_0x1a511a);continue;}const _0x2d2189=_0x11fb8e[_0x2c020e(0x83)]();if(_0x2d2189[_0x2c020e(0xb5)]===0x1&&!(_0x2d2189[0x0]instanceof _0x388154)){const _0x149af0=_0x2d2189[0x0];if(!_0x44c610(this[_0x2c020e(0xcd)],_0x149af0)&&!this[_0x2c020e(0x13c)](_0x149af0,_0x41c7eb)&&!_0x331fc3(_0x149af0))continue;}if(_0x214ead===0x8){const _0x2f60c7=_0x2d2189[0x0];if(_0x2f60c7 instanceof _0x388154){const _0x1b9a97=_0x2f60c7['getToken']()['trim']();if(_0x331fc3(_0x1b9a97))continue;_0x11fb8e=_0x2f60c7;}}const _0x2b8398=this[_0x2c020e(0x8d)](_0x11fb8e,_0x166542,_0x44c610,_0x41c7eb);_0x2b8398&&_0x32e0fa[_0x2c020e(0x14c)][_0x2c020e(0xbc)](_0x2b8398);}}[_0x56801f(0xd6)](_0x159e33){const _0x36df01=_0x56801f,_0x422889=_0x159e33[_0x36df01(0x83)]();if(_0x422889[_0x36df01(0xb5)]<0x2)return!0x1;const _0x2dc558=_0x422889[0x0],_0x445d20=_0x422889[0x1];if(!(_0x2dc558 instanceof _0x388154)||!(_0x445d20 instanceof _0x388154))return!0x1;const _0x4f0e2f=_0x2dc558[_0x36df01(0x83)]()[0x0],_0x25070e=_0x445d20[_0x36df01(0x83)]()[0x0];if(!(_0x4f0e2f instanceof _0x388154)||!(_0x25070e instanceof _0x388154))return!0x1;const _0x494f33=_0x4f0e2f[_0x36df01(0x13d)]()['trim'](),_0x254b95=_0x25070e[_0x36df01(0x13d)]()[_0x36df01(0x93)]();return!!_0x331fc3(''+_0x494f33+_0x1b8f71['COLON']+_0x254b95);}[_0x56801f(0xa3)](_0x135a3d,_0x31feee,_0x377adf){const _0x3a8d64=_0x56801f,_0x8704f3=_0x135a3d[_0x3a8d64(0x93)]();return _0x8704f3['startsWith']('{')&&_0x8704f3[_0x3a8d64(0xc4)]('}')||_0x31feee(this['_currentUnitId'],_0x8704f3)||this[_0x3a8d64(0x13c)](_0x8704f3,_0x377adf)||_0x331fc3(_0x8704f3)?{'value':_0x8704f3,'children':[],'startIndex':-0x1}:null;}[_0x56801f(0x13c)](_0x17a801,_0x11f02f){const _0x23d479=_0x56801f,{tableName:_0x7220b3}=_0x101d56(_0x17a801);return _0x11f02f(this[_0x23d479(0xcd)],_0x7220b3)?_0x7220b3:null;}['_handleLambdaForExprTree'](_0x39f398,_0x50244c,_0x4ea26f,_0x594369,_0x3460fd){const _0x3dd7ac=_0x56801f,_0x5001f8=_0x39f398[_0x3dd7ac(0x83)]();for(let _0x4580ee=0x0;_0x4580ee<_0x5001f8[_0x3dd7ac(0xb5)];_0x4580ee++){const _0x1a5cae=_0x5001f8[_0x4580ee];if(!(_0x1a5cae instanceof _0x388154))continue;const _0x52cf96=_0x1a5cae[_0x3dd7ac(0x83)]();if(_0x52cf96[_0x3dd7ac(0xb5)]===0x1&&!(_0x52cf96[0x0]instanceof _0x388154))continue;const _0x22ab2f=this[_0x3dd7ac(0x8d)](_0x1a5cae,_0x4ea26f,_0x594369,_0x3460fd);_0x22ab2f&&_0x50244c['children'][_0x3dd7ac(0xbc)](_0x22ab2f);}}[_0x56801f(0xa1)](_0x5c82fc){const _0x1b7eed=_0x56801f,_0x488bf9=_0x5c82fc[_0x1b7eed(0x13d)](),_0x300d9f=_0x488bf9['trim']()[_0x1b7eed(0x136)]();let _0x43574f=0x0;return _0x488bf9===_0x3f692c?_0x43574f=0x3:_0x488bf9===_0x180bfb?_0x43574f=0x4:_0x488bf9===_0x1f6366?_0x43574f=0x5:_0x300d9f===_0x3fe88a?_0x43574f=0x2:_0x300d9f===_0x57cb3f?_0x43574f=0x1:_0x300d9f===_0x1b8f71['COLON']?_0x43574f=0x8:_0x232bf0[_0x1b7eed(0xaf)](_0x300d9f)?_0x43574f=0x7:_0x300d9f===_0x218f68[_0x1b7eed(0x11b)]?this[_0x1b7eed(0xeb)](_0x5c82fc)&&(_0x43574f=0x9):_0x43574f=0xa,_0x43574f;}}function _0x3cd9(_0x1cf249,_0x3f4309){_0x1cf249=_0x1cf249-0x7f;const _0x2c3fb4=_0x2c3f();let _0x3cd976=_0x2c3fb4[_0x1cf249];return _0x3cd976;}class Se extends _0x157ae1{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}[_0x56801f(0x8b)](){const _0x196abf=_0x56801f;super[_0x196abf(0x8b)](),this[_0x196abf(0xcf)][_0x196abf(0x96)]();}async[_0x56801f(0xea)](_0x55c62c=!0x1){const _0x2cd88d=_0x56801f;this[_0x2cd88d(0xe3)]();const _0x21b07a=this[_0x2cd88d(0x135)]['getFormulaData'](),_0x32b29c=this[_0x2cd88d(0x89)][_0x2cd88d(0xfb)](),_0x2a88a1=this[_0x2cd88d(0x135)][_0x2cd88d(0x128)]();_0x2a88a1!=null&&Object[_0x2cd88d(0x134)](_0x2a88a1)[_0x2cd88d(0xd7)](_0x7a517e=>{const _0x4c560e=_0x2cd88d;_0x7a517e!=null&&Object['keys'](_0x2a88a1[_0x7a517e])[_0x4c560e(0xd7)](_0x177ca7=>{const _0x3f9157=_0x4c560e;_0x177ca7!=null&&(this[_0x3f9157(0x114)]['clearOtherFormulaDependency'](_0x7a517e,_0x177ca7),this[_0x3f9157(0x114)]['clearFeatureFormulaDependency'](_0x7a517e,_0x177ca7),this[_0x3f9157(0x114)][_0x3f9157(0x131)](_0x7a517e,_0x177ca7));});});const _0x59d274=this[_0x2cd88d(0x135)][_0x2cd88d(0x12d)]();await this[_0x2cd88d(0x101)](_0x21b07a,_0x32b29c,_0x59d274),this['_dependencyManagerService'][_0x2cd88d(0x14d)]();const _0x482da7=this[_0x2cd88d(0xef)](),_0x4d3126=this['_calculateRunList'](_0x482da7);return this[_0x2cd88d(0xf0)](_0x4d3126)&&this[_0x2cd88d(0xd1)][_0x2cd88d(0x122)](),_0x55c62c&&this['_runtimeService']['setDependencyTreeModelData'](this[_0x2cd88d(0xb3)](Array[_0x2cd88d(0x115)](this[_0x2cd88d(0xcf)][_0x2cd88d(0x10d)]()))),this[_0x2cd88d(0xcf)]['clear'](),this[_0x2cd88d(0xe1)]['clear'](),this[_0x2cd88d(0x114)]['closeKdTree'](),this[_0x2cd88d(0xd1)][_0x2cd88d(0xd3)](),Promise[_0x2cd88d(0xd5)](_0x4d3126);}[_0x56801f(0x119)](_0x186d38,_0x2e16b4){const _0x3bf754=_0x56801f,_0x30f690=[_0x186d38];for(;_0x30f690[_0x3bf754(0xb5)]>0x0;){const _0x56807d=_0x30f690[_0x30f690['length']-0x1];if((_0x2e16b4[_0x3bf754(0xb7)](_0x56807d)||0x0)===0x0){_0x2e16b4[_0x3bf754(0x14a)](_0x56807d,0x1);const _0x210041=this[_0x3bf754(0xcf)]['get'](_0x56807d);if(_0x210041==null){_0x2e16b4['set'](_0x56807d,0x2),_0x30f690[_0x3bf754(0xf6)]();continue;}const _0x35f105=this['_dependencyManagerService'][_0x3bf754(0x10c)](_0x210041['toRTreeItem']());for(const _0x3c3a62 of _0x35f105){const _0x1eb57f=_0x2e16b4[_0x3bf754(0xb7)](_0x3c3a62)||0x0;if(_0x1eb57f===0x1)return!0x0;_0x1eb57f===0x0&&_0x30f690['push'](_0x3c3a62);}}else _0x2e16b4['set'](_0x56807d,0x2),_0x30f690[_0x3bf754(0xf6)]();}return!0x1;}['_checkIsCycleDependency'](_0x5ef943){const _0x1efab2=_0x56801f,_0x48bd23=new Map();for(const _0xe5961e of _0x5ef943)if(!_0x48bd23[_0x1efab2(0xaf)](_0xe5961e[_0x1efab2(0x141)])&&this[_0x1efab2(0x119)](_0xe5961e[_0x1efab2(0x141)],_0x48bd23))return!0x0;return _0x48bd23[_0x1efab2(0x96)](),!0x1;}['_getFeatureFormulaTree'](_0x5051a6,_0x538dc5,_0x1bc074){const _0x182389=_0x56801f,{unitId:_0x305a74,subUnitId:_0x4dadf1,dependencyRanges:_0x281618,getDirtyData:_0x27a65b}=_0x1bc074,_0x2d0a7b=_0x538dc5||_0x4174b1(this[_0x182389(0x114)]),_0x1f2dbc=new _0x1659e1(_0x2d0a7b);_0x1f2dbc['unitId']=_0x305a74,_0x1f2dbc[_0x182389(0x100)]=_0x4dadf1,_0x1f2dbc['rangeList']=_0x281618,_0x1f2dbc[_0x182389(0x138)]=_0x27a65b;const _0x418715=_0x27a65b(this[_0x182389(0x135)][_0x182389(0x138)](),this['_runtimeService'][_0x182389(0x86)]()),_0x55cb5f=this[_0x182389(0x9e)](_0x418715['dirtyRanges']);return _0x1f2dbc[_0x182389(0xec)]=_0x55cb5f,_0x1f2dbc['featureId']=_0x5051a6,_0x1f2dbc[_0x182389(0xe2)]=_0x5530b2[_0x182389(0x80)],this[_0x182389(0x114)]['addFeatureFormulaDependency'](_0x305a74,_0x4dadf1,_0x5051a6,_0x1f2dbc),this['_dependencyTreeCache']['set'](_0x1f2dbc[_0x182389(0x141)],_0x1f2dbc),this['_dependencyManagerService'][_0x182389(0x13e)](_0x1bc074['unitId'],_0x1bc074[_0x182389(0x100)],_0x5051a6)&&(_0x1f2dbc[_0x182389(0x11e)]=!0x0),_0x1f2dbc;}['_registerOtherFormulas'](_0x2ecbd4,_0x33091c,_0x5b4c57){const _0x51e649=_0x56801f;var _0x4d67f6;for(const _0x658d5 of _0x33091c){const _0x6b230e=_0x2ecbd4[_0x658d5];if(_0x6b230e==null)continue;const _0xb17a4=Object[_0x51e649(0x134)](_0x6b230e);for(const _0x31eb81 of _0xb17a4){const _0x218e94=_0x6b230e[_0x31eb81];if(_0x218e94==null)continue;const _0x5506b0=Object[_0x51e649(0x134)](_0x218e94);for(const _0x5e8a37 of _0x5506b0){const _0x528cbf=this[_0x51e649(0x114)]['hasOtherFormulaDataMainData'](_0x5e8a37),_0x3de449=_0x218e94[_0x5e8a37],{f:_0x3f6842,ranges:_0x169216}=_0x3de449;let _0x136a60=!0x1;_0x528cbf&&(_0x136a60=!0x0);const {firstRow:_0x2eed69,firstColumn:_0x2380ab}=this[_0x51e649(0x11f)](_0x169216),_0x5d1242=this[_0x51e649(0x114)][_0x51e649(0x123)](_0x658d5,_0x31eb81,_0x5e8a37),_0x129171=(_0x4d67f6=_0x5d1242==null?void 0x0:_0x5d1242['getValue'](0x0,0x0))!=null?_0x4d67f6:_0x4174b1(this[_0x51e649(0x114)]),_0x164e4b=new _0x1659e1(_0x129171);for(let _0x4cb9f7=0x0;_0x4cb9f7<_0x169216['length'];_0x4cb9f7++){const _0x41f7f6=_0x169216[_0x4cb9f7],{startRow:_0x375222,startColumn:_0x50c1aa,endRow:_0x174035,endColumn:_0x12eae1}=_0x41f7f6;for(let _0x4eb3d3=_0x375222;_0x4eb3d3<=_0x174035;_0x4eb3d3++)for(let _0x479073=_0x50c1aa;_0x479073<=_0x12eae1;_0x479073++){const _0x2495b0=_0x479073-_0x2380ab,_0x23d585=_0x4eb3d3-_0x2eed69;if(_0x2495b0===0x0&&_0x23d585===0x0){_0x164e4b[_0x51e649(0x12b)]=_0x3f6842,_0x164e4b[_0x51e649(0xdc)]=_0x658d5,_0x164e4b[_0x51e649(0x100)]=_0x31eb81,_0x164e4b['formulaId']=_0x5e8a37,_0x164e4b[_0x51e649(0xe2)]=_0x5530b2['OTHER_FORMULA'],_0x164e4b['isCache']=_0x136a60,_0x5b4c57[_0x51e649(0xbc)](_0x164e4b),this[_0x51e649(0xcf)][_0x51e649(0x14a)](_0x164e4b[_0x51e649(0x141)],_0x164e4b),this[_0x51e649(0x114)][_0x51e649(0x116)](_0x658d5,_0x31eb81,_0x5e8a37,_0x164e4b),this['_dependencyManagerService'][_0x51e649(0x105)](_0x164e4b);continue;}const _0x18ec34=new _0x20e852();_0x18ec34[_0x51e649(0x141)]=(_0x5d1242==null?void 0x0:_0x5d1242[_0x51e649(0x11c)](_0x2495b0,_0x23d585))||_0x4174b1(this[_0x51e649(0x114)]),_0x18ec34[_0x51e649(0xce)]=_0x164e4b,_0x18ec34[_0x51e649(0xb2)]=_0x2495b0,_0x18ec34[_0x51e649(0xee)]=_0x23d585,_0x18ec34[_0x51e649(0x11e)]=_0x136a60,_0x18ec34[_0x51e649(0xe2)]=_0x5530b2[_0x51e649(0x98)],this[_0x51e649(0x114)]['addOtherFormulaDependency'](_0x658d5,_0x31eb81,_0x5e8a37,_0x18ec34),this[_0x51e649(0x114)][_0x51e649(0x105)](_0x18ec34),_0x5b4c57[_0x51e649(0xbc)](_0x18ec34),this[_0x51e649(0xcf)][_0x51e649(0x14a)](_0x18ec34[_0x51e649(0x141)],_0x18ec34);}}this['_dependencyManagerService'][_0x51e649(0x127)](_0x5e8a37);}}}}['_registerFormulas'](_0x411f0f,_0x4a3e71,_0x1050d7,_0x3578d1){const _0x55d44e=_0x56801f;for(const _0x410c43 of _0x411f0f){const _0x5c890b=_0x4a3e71[_0x410c43];if(_0x5c890b==null)continue;const _0x4db69=Object[_0x55d44e(0x134)](_0x5c890b);for(const _0x1ec14a of _0x4db69){const _0x387c21=new _0x56f5b3(_0x5c890b[_0x1ec14a]||{}),_0x10126b=new Map();_0x387c21['forValue']((_0x3c1f3b,_0x293b62,_0x5065b4)=>{const _0x18b16a=_0x55d44e;if(_0x5065b4==null)return!0x0;const {x:_0x4a49d8=0x0,y:_0x4c035f=0x0,si:_0x1320a1}=_0x5065b4;if(!(_0x4a49d8===0x0&&_0x4c035f===0x0&&_0x1320a1!=null))return!0x0;const _0x555fff=this[_0x18b16a(0x12a)](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62,_0x1050d7,_0x5065b4),_0x53c654=this[_0x18b16a(0x114)][_0x18b16a(0x95)](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62);_0x53c654!=null?_0x555fff[_0x18b16a(0x141)]=_0x53c654:(this[_0x18b16a(0x114)]['addFormulaDependency'](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62,_0x555fff),this[_0x18b16a(0x114)][_0x18b16a(0x105)](_0x555fff)),_0x10126b[_0x18b16a(0x14a)](_0x1320a1,_0x555fff),_0x3578d1[_0x18b16a(0xbc)](_0x555fff),this[_0x18b16a(0xcf)][_0x18b16a(0x14a)](_0x555fff[_0x18b16a(0x141)],_0x555fff);}),_0x387c21[_0x55d44e(0xb4)]((_0x237364,_0x1ea437,_0x3ee29a)=>{const _0xe72406=_0x55d44e;if(_0x3ee29a==null)return!0x0;const {x:_0x258369=0x0,y:_0x5d8e03=0x0,si:_0x5146be}=_0x3ee29a;if(_0x258369===0x0&&_0x5d8e03===0x0&&_0x5146be!=null)return!0x0;let _0x3ee8cc;if(_0x5146be&&_0x10126b[_0xe72406(0xaf)](_0x5146be)){const _0x53fa08=_0x10126b['get'](_0x5146be);_0x3ee8cc=this[_0xe72406(0x11a)](_0x53fa08,_0x3ee29a);}else _0x3ee8cc=this[_0xe72406(0x12a)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437,_0x1050d7,_0x3ee29a);const _0x67c8a4=this[_0xe72406(0x114)][_0xe72406(0x95)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437);_0x67c8a4!=null?_0x3ee8cc[_0xe72406(0x141)]=_0x67c8a4:(this[_0xe72406(0x114)][_0xe72406(0xe0)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437,_0x3ee8cc),this[_0xe72406(0x114)]['addFormulaDependencyByDefinedName'](_0x3ee8cc)),_0x3578d1['push'](_0x3ee8cc),this[_0xe72406(0xcf)][_0xe72406(0x14a)](_0x3ee8cc[_0xe72406(0x141)],_0x3ee8cc);}),_0x10126b['clear']();}}}['_createFDtree'](_0x1b6bef,_0x319f0f,_0x3a2ecd,_0x34acb9,_0x1fe036,_0x1405c1){const _0x28c8e4=_0x56801f,{f:_0x25bb3a,x:_0xcf3fbc=0x0,y:_0x2f31a9=0x0}=_0x1405c1,_0x3e522b=new _0x1659e1(_0x4174b1(this[_0x28c8e4(0x114)])),_0x5b3bee=_0x1fe036[_0x1b6bef][_0x319f0f];return _0x3e522b[_0x28c8e4(0x12b)]=_0x25bb3a,_0x3e522b['unitId']=_0x1b6bef,_0x3e522b[_0x28c8e4(0x100)]=_0x319f0f,_0x3e522b['row']=_0x3a2ecd,_0x3e522b[_0x28c8e4(0x118)]=_0x34acb9,_0x3e522b['rowCount']=_0x5b3bee[_0x28c8e4(0x14b)],_0x3e522b[_0x28c8e4(0xdf)]=_0x5b3bee[_0x28c8e4(0xdf)],_0x3e522b;}[_0x56801f(0xef)](){const _0x4e9e1a=_0x56801f,_0x47f069=[],_0x2b713c=new Set(),_0x33c421=this[_0x4e9e1a(0x135)][_0x4e9e1a(0xae)](),_0xaf1067=this[_0x4e9e1a(0x135)][_0x4e9e1a(0x120)](),_0xa1805=this['_dependencyManagerService'][_0x4e9e1a(0x10c)](_0xaf1067),_0x4088c1=this[_0x4e9e1a(0xe1)]['bulkSearch'](_0xaf1067);for(const _0x2c1c62 of _0x4088c1)_0xa1805[_0x4e9e1a(0xcb)](_0x2c1c62);for(const [_0x9c9de2,_0xde82c3]of this[_0x4e9e1a(0xcf)])(_0x33c421||_0xde82c3[_0x4e9e1a(0xe9)]||_0xde82c3['dependencySheetName'](this[_0x4e9e1a(0x135)][_0x4e9e1a(0x148)]())||_0xa1805[_0x4e9e1a(0xaf)](_0x9c9de2)&&!_0xde82c3['isExcludeRange'](this[_0x4e9e1a(0x135)][_0x4e9e1a(0x126)]()))&&!_0x2b713c['has'](_0x9c9de2)&&(_0x47f069[_0x4e9e1a(0xbc)](_0xde82c3),_0x2b713c[_0x4e9e1a(0xcb)](_0x9c9de2));for(const [_0x2d0b47,_0x3e2b17]of this['_dependencyTreeCache'])_0x3e2b17['isVirtual']||(_0x3e2b17[_0x4e9e1a(0x113)][_0x4e9e1a(0xb5)]=0x0);return _0x47f069;}[_0x56801f(0xf3)](_0x497ede){const _0x158cb1=_0x56801f;return this['_dependencyTreeCache'][_0x158cb1(0xb7)](_0x497ede);}[_0x56801f(0x99)](_0x49d8e5){const _0x5a2f7c=_0x56801f;return _0x2a6c60(_0x49d8e5[_0x5a2f7c(0xdc)],_0x49d8e5['formula'],this[_0x5a2f7c(0xba)],this[_0x5a2f7c(0x9d)],this[_0x5a2f7c(0x135)]);}*[_0x56801f(0xb6)](_0x56a31b,_0xdec2ac){const _0x4f7a9b=_0x56801f,_0x4eb67c=_0x56a31b,_0x1e809f=new Set();for(;_0x4eb67c[_0x4f7a9b(0xb5)]>0x0;){const _0x53cba2=_0x4eb67c['pop']();if(_0x1e809f['clear'](),_0x53cba2===void 0x0||_0x53cba2['isSkip']())continue;if(_0x53cba2[_0x4f7a9b(0xb9)]()){yield _0x53cba2,_0x53cba2[_0x4f7a9b(0x121)](),_0xdec2ac[_0x4f7a9b(0xcb)](_0x53cba2['treeId']);continue;}const _0x5f139a=this[_0x4f7a9b(0x114)][_0x4f7a9b(0x10c)](_0x53cba2[_0x4f7a9b(0x82)](),_0xdec2ac),_0xa2284e=this[_0x4f7a9b(0xe1)][_0x4f7a9b(0x130)](_0x53cba2['toRTreeItem'](),_0xdec2ac);for(const _0x3ce12a of _0xa2284e)_0x5f139a[_0x4f7a9b(0xcb)](_0x3ce12a);for(const _0x403370 of _0x5f139a){const _0x31df90=this['_dependencyTreeCache'][_0x4f7a9b(0xb7)](_0x403370);if(!_0x31df90){console[_0x4f7a9b(0xc2)](_0x4f7a9b(0xac),_0x403370);continue;}_0x31df90['isAdded']()||_0x53cba2['isSkip']()||_0x1e809f[_0x4f7a9b(0xcb)](_0x31df90);}if(_0x5f139a[_0x4f7a9b(0x96)](),_0x1e809f[_0x4f7a9b(0x10a)]===0x0)yield _0x53cba2,_0x53cba2[_0x4f7a9b(0x121)](),_0xdec2ac[_0x4f7a9b(0xcb)](_0x53cba2[_0x4f7a9b(0x141)]);else{_0x53cba2[_0x4f7a9b(0xf4)](),_0x4eb67c['push'](_0x53cba2);for(const _0xca1eb6 of _0x1e809f)_0x4eb67c[_0x4f7a9b(0xbc)](_0xca1eb6);}}_0x4eb67c[_0x4f7a9b(0xb5)]=0x0,_0x1e809f['clear']();}[_0x56801f(0x87)](_0x40d402){const _0x3851ec=_0x56801f,_0x5a8a7=[],_0x5f23b9=new Set();for(const _0xcba611 of this[_0x3851ec(0xb6)](_0x40d402,_0x5f23b9))_0x5a8a7[_0x3851ec(0xbc)](_0xcba611);return _0x5a8a7;}async[_0x56801f(0xab)](){const _0x5b0eef=_0x56801f;return await this[_0x5b0eef(0x108)](),Array['from'](this[_0x5b0eef(0xcf)]['values']());}[_0x56801f(0x8f)](_0x354065){const _0x1b18fd=_0x56801f;return this[_0x1b18fd(0x114)][_0x1b18fd(0x10c)](_0x354065['toRTreeItem']());}[_0x56801f(0x143)](_0xb185c8){const _0x5cdfdd=_0x56801f,_0x38508d=new Set(),_0x51d6dc=_0xb185c8[_0x5cdfdd(0x113)];for(const [_0xb85923,_0x27e673]of this[_0x5cdfdd(0xcf)])for(const _0x8e299d of _0x51d6dc){const _0x10647c=_0x8e299d[_0x5cdfdd(0xdc)],_0x3bbee0=_0x8e299d[_0x5cdfdd(0x84)];if(_0x27e673['unitId']!==_0x10647c||_0x27e673[_0x5cdfdd(0x100)]!==_0x3bbee0)continue;const _0x1ff569=_0x8e299d[_0x5cdfdd(0xf5)];if(_0x27e673[_0x5cdfdd(0x14f)](_0x1ff569)){_0x38508d[_0x5cdfdd(0xcb)](_0xb85923);break;}}return _0x38508d;}[_0x56801f(0xd2)](){const _0x4a15b6=_0x56801f;this[_0x4a15b6(0x114)][_0x4a15b6(0x14d)]();}[_0x56801f(0xbf)](){const _0x58f4ce=_0x56801f;this[_0x58f4ce(0x107)][_0x58f4ce(0x96)](),this[_0x58f4ce(0xcf)][_0x58f4ce(0x96)](),this[_0x58f4ce(0x114)][_0x58f4ce(0xfa)]();}}const Me=_0x56801f(0xd9),xe={0x0:'C',0x1:'\x20',0x2:'D',0x3:'q',0x4:'a',0x5:'n',0x6:'d',0x7:'1',0x8:'J',0x9:'5','u':'0','P':'2','q':'3','x':'4','Y':'6','n':'7','h':'8','f':'9','o':'b','a':'c','J':'e','A':'f','v':'g','k':'h','l':'i','Z':'j','N':'k','y':'l','L':'m','z':'o','b':'p','W':'r','t':'s','B':'t','I':'u','Q':'v','X':'w','s':'x','w':'y','K':'z','m':'A','S':'B','T':'E','H':'F','d':'G','i':'H','D':'I','F':'K','\x20':'L','C':'M','O':'N','G':'O','R':'P','M':'Q','V':'R','E':'S','r':'T','g':'U','p':'V','e':'W','c':'X','U':'Y','j':'Z'};class Be extends _0x31f04c{async[_0x56801f(0x90)](_0x21534d=!0x1){const _0x22b80c=_0x56801f;_0x21534d?this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5[_0x22b80c(0x92)]):this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['START_DEPENDENCY']),this[_0x22b80c(0x146)]['next'](this['_runtimeService'][_0x22b80c(0xc3)]());const _0x81545b=await this[_0x22b80c(0x11d)]['generate'](this[_0x22b80c(0xf7)]),_0x1ab9ba=this[_0x22b80c(0xca)];_0x21534d?(this[_0x22b80c(0xd1)]['setFormulaExecuteStage'](_0x4d82e5[_0x22b80c(0xbb)]),this[_0x22b80c(0xd1)]['setTotalArrayFormulasToCalculate'](_0x81545b[_0x22b80c(0xb5)])):(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5[_0x22b80c(0x8a)]),this[_0x22b80c(0xd1)][_0x22b80c(0x106)](_0x81545b['length'])),this['_executionInProgressListener$'][_0x22b80c(0x14e)](this[_0x22b80c(0xd1)][_0x22b80c(0xc3)]());let _0x31eb37=[];const _0x574d74=this['_configService']['getConfig'](_0x20e6f6),_0x183a7c=(_0x574d74==null?void 0x0:_0x574d74[_0x22b80c(0xc8)])||_0x142c55;let _0x4d8996=0x0;const _0x52f431=_0x81545b[_0x22b80c(0xb5)];for(;_0x81545b[_0x22b80c(0xb5)]>0x0;){const _0x3d637e=_0x81545b[_0x22b80c(0xf6)](),_0x2b2849=_0x2a6c60(_0x3d637e[_0x22b80c(0xdc)],_0x3d637e[_0x22b80c(0x12b)],this['_lexer'],this['_astTreeBuilder'],this[_0x22b80c(0x135)]),_0xd8b1a={'node':_0x2b2849,'refOffsetX':_0x3d637e[_0x22b80c(0xb2)],'refOffsetY':_0x3d637e[_0x22b80c(0xee)]},_0x8d281a=_0x3d637e[_0x22b80c(0x138)];if(_0x4d8996%_0x183a7c===0x0&&(await new Promise(_0x1c15de=>{const _0x105429=_0x22b80c,_0x351f52=_0x36af3a(_0x1c15de);_0x31eb37[_0x105429(0xbc)](_0x351f52);}),_0x21534d?(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x22b80c(0xd1)]['setCompletedArrayFormulasCount'](_0x4d8996+0x1)):(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x22b80c(0xed)](_0x4d8996+0x1)),this[_0x22b80c(0x146)][_0x22b80c(0x14e)](this[_0x22b80c(0xd1)][_0x22b80c(0xc3)]()),this[_0x22b80c(0xd1)][_0x22b80c(0xa5)]()||_0xd8b1a==null&&_0x8d281a==null)){this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['IDLE']),this['_runtimeService'][_0x22b80c(0xc0)](),this['_executionCompleteListener$']['next'](this['_runtimeService'][_0x22b80c(0x86)]());return;}this['_runtimeService'][_0x22b80c(0xcc)](_0x3d637e[_0x22b80c(0x147)],_0x3d637e[_0x22b80c(0x118)],_0x3d637e[_0x22b80c(0x14b)],_0x3d637e[_0x22b80c(0xdf)],_0x3d637e[_0x22b80c(0x100)],_0x3d637e[_0x22b80c(0xdc)]);let _0x54d988;if(_0x8d281a!=null&&_0x3d637e[_0x22b80c(0x85)]!=null){const {runtimeCellData:_0x43cf77,dirtyRanges:_0x1ee500}=_0x8d281a(this[_0x22b80c(0x135)][_0x22b80c(0x138)](),this[_0x22b80c(0xd1)][_0x22b80c(0x86)]());this['_runtimeService'][_0x22b80c(0x12e)](_0x3d637e[_0x22b80c(0x85)],_0x43cf77),this['_runtimeService'][_0x22b80c(0x91)](_0x3d637e[_0x22b80c(0x85)],_0x1ee500);}else _0xd8b1a!=null&&(_0x1ab9ba[_0x22b80c(0x109)](_0xd8b1a[_0x22b80c(0x88)])?_0x54d988=await _0x1ab9ba[_0x22b80c(0x8c)](_0xd8b1a):_0x54d988=_0x1ab9ba[_0x22b80c(0xda)](_0xd8b1a),_0x3d637e[_0x22b80c(0xfd)]!=null?this[_0x22b80c(0xd1)]['setRuntimeOtherData'](_0x3d637e[_0x22b80c(0xfd)],_0x3d637e[_0x22b80c(0xb2)],_0x3d637e['refOffsetY'],_0x54d988):this[_0x22b80c(0xd1)][_0x22b80c(0x133)](_0x54d988));_0x2b2849['resetCalculationState'](),_0x4d8996++;}return _0x31eb37[_0x22b80c(0xd7)](_0x249993=>_0x249993()),_0x31eb37=[],_0x52f431>0x0?this[_0x22b80c(0xd1)][_0x22b80c(0xd0)]():_0x21534d||this[_0x22b80c(0xd1)][_0x22b80c(0xa6)](),this[_0x22b80c(0xd1)][_0x22b80c(0x86)]();}}class Re extends _0x779a65{constructor(){const _0x2c87e3=_0x56801f;super(...arguments),D(this,_0x2c87e3(0x111),new Map()),D(this,_0x2c87e3(0x13f),new _0x91bf78(!0x0));}['reset'](){const _0x4b24c0=_0x56801f;this[_0x4b24c0(0xc6)]['clear'](),this[_0x4b24c0(0xff)][_0x4b24c0(0x96)](),this[_0x4b24c0(0xdb)][_0x4b24c0(0x96)](),this[_0x4b24c0(0x13f)][_0x4b24c0(0x96)](),this[_0x4b24c0(0x111)]['clear'](),this[_0x4b24c0(0x9f)](),this[_0x4b24c0(0xc7)][_0x4b24c0(0x96)]();}[_0x56801f(0x116)](_0x89042a,_0xf33e49,_0x3ff1ad,_0x18598e){const _0x406040=_0x56801f;this[_0x406040(0xc6)][_0x406040(0xaf)](_0x89042a)||this['_otherFormulaData'][_0x406040(0x14a)](_0x89042a,new Map());const _0x24208d=this[_0x406040(0xc6)][_0x406040(0xb7)](_0x89042a);_0x24208d[_0x406040(0xaf)](_0xf33e49)||_0x24208d['set'](_0xf33e49,new Map());const _0x444459=_0x24208d['get'](_0xf33e49);_0x444459[_0x406040(0xaf)](_0x3ff1ad)||_0x444459[_0x406040(0x14a)](_0x3ff1ad,new _0x56f5b3()),_0x444459['get'](_0x3ff1ad)[_0x406040(0xd8)](_0x18598e[_0x406040(0xb2)],_0x18598e[_0x406040(0xee)],_0x18598e[_0x406040(0x141)]);}[_0x56801f(0x125)](_0xb8a6f2,_0x32dd0f,_0x4dd35f){const _0x5c5855=_0x56801f,_0x175c0b=this[_0x5c5855(0xc6)][_0x5c5855(0xb7)](_0xb8a6f2);if(_0x175c0b&&_0x175c0b['has'](_0x32dd0f)){const _0x38b079=_0x175c0b[_0x5c5855(0xb7)](_0x32dd0f);_0x4dd35f[_0x5c5855(0xd7)](_0x4a0973=>{const _0x2d7e93=_0x5c5855,_0x50f945=_0x38b079['get'](_0x4a0973);_0x50f945!=null&&(_0x50f945[_0x2d7e93(0xb4)]((_0x271728,_0x4c7ce1,_0x4d831e)=>{const _0x59f22c=_0x2d7e93;this[_0x59f22c(0x103)](_0x4d831e),this[_0x59f22c(0xc9)](_0x4d831e);}),_0x38b079[_0x2d7e93(0x7f)](_0x4a0973),this['_otherFormulaDataMainData'][_0x2d7e93(0x7f)](_0x4a0973));}),_0x38b079['size']===0x0&&_0x175c0b['delete'](_0x32dd0f),_0x175c0b['size']===0x0&&this[_0x5c5855(0xc6)][_0x5c5855(0x7f)](_0xb8a6f2);}}[_0x56801f(0xdd)](_0x1a1ef9,_0xc9d980){const _0x24614b=_0x56801f,_0x15d4ec=this['_otherFormulaData']['get'](_0x1a1ef9);if(_0xc9d980&&_0x15d4ec&&_0x15d4ec[_0x24614b(0xaf)](_0xc9d980)){const _0x254725=_0x15d4ec[_0x24614b(0xb7)](_0xc9d980);this['_removeDependencyRTreeCacheById'](_0x1a1ef9,_0xc9d980);for(const _0x416038 of _0x254725[_0x24614b(0x134)]()){const _0x42b3d8=_0x254725['get'](_0x416038);_0x42b3d8!=null&&(_0x42b3d8[_0x24614b(0xb4)]((_0x5cd6c0,_0xb9557e,_0x125c29)=>{const _0x1b46f1=_0x24614b;this[_0x1b46f1(0x111)][_0x1b46f1(0xb7)](_0x125c29)&&this[_0x1b46f1(0xc9)](_0x125c29);}),this[_0x24614b(0xc7)][_0x24614b(0x7f)](_0x416038));}_0x254725[_0x24614b(0x96)]();}else{if(_0x15d4ec){for(const _0x51c879 of _0x15d4ec[_0x24614b(0x134)]()){const _0x30e020=_0x15d4ec['get'](_0x51c879);this[_0x24614b(0xbe)](_0x1a1ef9,_0x51c879);for(const _0x264fd5 of _0x30e020['keys']()){const _0x260f2f=_0x30e020['get'](_0x264fd5);_0x260f2f!=null&&(_0x260f2f[_0x24614b(0xb4)]((_0x111f81,_0x1016cb,_0x3dd9c8)=>{const _0x3b5c84=_0x24614b;this[_0x3b5c84(0x111)][_0x3b5c84(0xb7)](_0x3dd9c8)&&this[_0x3b5c84(0xc9)](_0x3dd9c8);}),this[_0x24614b(0xc7)]['delete'](_0x264fd5));}}this[_0x24614b(0xc6)][_0x24614b(0x7f)](_0x1a1ef9);}}}['addFeatureFormulaDependency'](_0x395da2,_0x33413e,_0x2c80b9,_0x442c8f){const _0x2382f7=_0x56801f;this['_featureFormulaData']['has'](_0x395da2)||this['_featureFormulaData'][_0x2382f7(0x14a)](_0x395da2,new Map());const _0x4720d0=this[_0x2382f7(0xff)][_0x2382f7(0xb7)](_0x395da2);_0x4720d0[_0x2382f7(0xaf)](_0x33413e)||_0x4720d0[_0x2382f7(0x14a)](_0x33413e,new Map()),_0x4720d0[_0x2382f7(0xb7)](_0x33413e)[_0x2382f7(0x14a)](_0x2c80b9,_0x442c8f[_0x2382f7(0x141)]);}['removeFeatureFormulaDependency'](_0x566f00,_0x5068e6,_0x45741f){const _0x4f2c24=_0x56801f,_0x557f08=this['_featureFormulaData'][_0x4f2c24(0xb7)](_0x566f00);if(_0x557f08&&_0x557f08[_0x4f2c24(0xaf)](_0x5068e6)){const _0x34ea4d=_0x557f08[_0x4f2c24(0xb7)](_0x5068e6);_0x45741f[_0x4f2c24(0xd7)](_0x513831=>{const _0x45b727=_0x4f2c24,_0x3aa38c=_0x34ea4d['get'](_0x513831);_0x3aa38c!=null&&(this[_0x45b727(0x103)](_0x3aa38c),_0x34ea4d['delete'](_0x513831),this[_0x45b727(0xc9)](_0x3aa38c));});}}['clearFeatureFormulaDependency'](_0x3eeb2d,_0x320a58){const _0x3cb5e9=_0x56801f,_0xcc0644=this[_0x3cb5e9(0xff)]['get'](_0x3eeb2d);if(_0x320a58&&_0xcc0644&&_0xcc0644['has'](_0x320a58)){const _0x435962=_0xcc0644['get'](_0x320a58);this['_removeDependencyRTreeCacheById'](_0x3eeb2d,_0x320a58),_0x435962[_0x3cb5e9(0xd7)](_0x114974=>{const _0x4f5ca6=_0x3cb5e9;_0x114974!=null&&this[_0x4f5ca6(0xc9)](_0x114974);}),_0x435962['clear']();}else _0xcc0644&&(_0xcc0644[_0x3cb5e9(0xd7)]((_0x40bef7,_0x580703)=>{const _0x32f76e=_0x3cb5e9;this[_0x32f76e(0xbe)](_0x3eeb2d,_0x580703),_0x40bef7[_0x32f76e(0xd7)](_0x46ad7e=>{const _0x1222e0=_0x32f76e;_0x46ad7e!=null&&this[_0x1222e0(0xc9)](_0x46ad7e);});}),this['_featureFormulaData'][_0x3cb5e9(0x7f)](_0x3eeb2d));}[_0x56801f(0xe0)](_0xe608ef,_0x5c4198,_0x91a474,_0x2a2a61,_0x2d3cfb){const _0x53526a=_0x56801f;this[_0x53526a(0xdb)]['has'](_0xe608ef)||this['_formulaData'][_0x53526a(0x14a)](_0xe608ef,new Map());const _0x47db68=this[_0x53526a(0xdb)][_0x53526a(0xb7)](_0xe608ef);_0x47db68[_0x53526a(0xaf)](_0x5c4198)||_0x47db68['set'](_0x5c4198,new _0x56f5b3()),_0x47db68['get'](_0x5c4198)['setValue'](_0x91a474,_0x2a2a61,_0x2d3cfb[_0x53526a(0x141)]);}['removeFormulaDependency'](_0x1581dd,_0x257238,_0x47ce4b,_0x1153ca){const _0xcc8071=_0x56801f,_0x2426b5=this['_formulaData']['get'](_0x1581dd);if(_0x2426b5&&_0x2426b5['has'](_0x257238)){const _0x202d05=_0x2426b5[_0xcc8071(0xb7)](_0x257238),_0x572624=_0x202d05['getValue'](_0x47ce4b,_0x1153ca);if(_0x572624==null)return;this['_removeDependencyRTreeCache'](_0x572624),_0x202d05['realDeleteValue'](_0x47ce4b,_0x1153ca),this[_0xcc8071(0xc9)](_0x572624);}}['clearFormulaDependency'](_0x2b10ba,_0x1ed7d4){const _0x402e3d=_0x56801f,_0x362dc8=this[_0x402e3d(0xdb)][_0x402e3d(0xb7)](_0x2b10ba);if(_0x1ed7d4&&_0x362dc8&&_0x362dc8[_0x402e3d(0xaf)](_0x1ed7d4)){const _0x329df7=_0x362dc8[_0x402e3d(0xb7)](_0x1ed7d4);this[_0x402e3d(0xbe)](_0x2b10ba,_0x1ed7d4),_0x329df7[_0x402e3d(0xb4)]((_0x26dd15,_0x1b8bf2,_0x1a54a1)=>{const _0x23c0dc=_0x402e3d;if(_0x1a54a1==null)return!0x0;this[_0x23c0dc(0xc9)](_0x1a54a1);}),_0x329df7[_0x402e3d(0x117)]();}else _0x362dc8&&(_0x362dc8[_0x402e3d(0xd7)]((_0x4b208b,_0x39310f)=>{const _0x66b3b6=_0x402e3d;this[_0x66b3b6(0xbe)](_0x2b10ba,_0x39310f),_0x4b208b['forValue']((_0x4a2ce0,_0x78c02,_0x4e679d)=>{const _0x23ea14=_0x66b3b6;if(_0x4e679d==null)return!0x0;this[_0x23ea14(0xc9)](_0x4e679d);});}),this[_0x402e3d(0xdb)][_0x402e3d(0x7f)](_0x2b10ba));}[_0x56801f(0x103)](_0x5c353f){const _0x228173=_0x56801f;if(_0x5c353f==null)return;const _0x44323b=this[_0x228173(0x111)]['get'](_0x5c353f);if(_0x44323b){const _0x38db4a=[];for(const [_0xf53359,_0x123c7b]of _0x44323b)for(const [_0x562c11,_0x1eb7b2]of _0x123c7b)_0x38db4a[_0x228173(0xbc)]({'unitId':_0xf53359,'sheetId':_0x562c11,'range':_0x1eb7b2,'id':_0x5c353f});this[_0x228173(0x13f)]['bulkRemove'](_0x38db4a);}}['removeFormulaDependencyByDefinedName'](_0x2f2262,_0xe16032){const _0x4306ec=_0x56801f,_0x2bc05a=this['_definedNameMap']['get'](_0x2f2262);if(_0x2bc05a){const _0x4604d5=_0x2bc05a[_0x4306ec(0xb7)](_0xe16032);if(_0x4604d5){for(const _0x530b01 of _0x4604d5)this[_0x4306ec(0x103)](_0x530b01),this[_0x4306ec(0xc9)](_0x530b01);_0x4604d5['clear']();}}}[_0x56801f(0x14d)](){const _0x2980fc=_0x56801f;this['_dependencyRTreeCache'][_0x2980fc(0x14d)]();}[_0x56801f(0xfa)](){const _0x14c041=_0x56801f;this['_dependencyRTreeCache'][_0x14c041(0xfa)]();}['_removeAllTreeMap'](_0x518aab){const _0x538d46=_0x56801f;_0x518aab!=null&&this[_0x538d46(0x111)][_0x538d46(0x7f)](_0x518aab);}['_addAllTreeMap'](_0x78e12c){const _0x4c7fbd=_0x56801f;var _0x160f3d,_0x1f7107;const _0x1e9485=_0x78e12c[_0x4c7fbd(0x113)];let _0x106273=this[_0x4c7fbd(0x111)]['get'](_0x78e12c[_0x4c7fbd(0x141)]);for(let _0x52a5e4=0x0;_0x52a5e4<_0x1e9485[_0x4c7fbd(0xb5)];_0x52a5e4++){const _0x1fb4d1=_0x1e9485[_0x52a5e4];let {unitId:_0x17e5d5,sheetId:_0x23c1bb,range:_0x2c8544}=_0x1fb4d1;_0x106273||(_0x106273=new Map(),this[_0x4c7fbd(0x111)][_0x4c7fbd(0x14a)](_0x78e12c[_0x4c7fbd(0x141)],_0x106273)),_0x106273['has'](_0x17e5d5)||_0x106273[_0x4c7fbd(0x14a)](_0x17e5d5,new Map());const _0x44be81=(_0x160f3d=_0x106273==null?void 0x0:_0x106273['get'](_0x17e5d5))==null?void 0x0:_0x160f3d[_0x4c7fbd(0xb7)](_0x23c1bb);_0x44be81&&(_0x2c8544={'startRow':Math[_0x4c7fbd(0x12f)](_0x2c8544['startRow'],_0x44be81[_0x4c7fbd(0xe8)]),'startColumn':Math[_0x4c7fbd(0x12f)](_0x2c8544[_0x4c7fbd(0xe7)],_0x44be81[_0x4c7fbd(0xe7)]),'endRow':Math[_0x4c7fbd(0x140)](_0x2c8544['endRow'],_0x44be81[_0x4c7fbd(0x142)]),'endColumn':Math[_0x4c7fbd(0x140)](_0x2c8544['endColumn'],_0x44be81[_0x4c7fbd(0x10e)])}),(_0x1f7107=_0x106273[_0x4c7fbd(0xb7)](_0x17e5d5))==null||_0x1f7107[_0x4c7fbd(0x14a)](_0x23c1bb,_0x2c8544);}}}var Je=Object[_0x56801f(0xaa)],Ee=(_0x17f3da,_0x559ee7,_0x361438,_0x38eef3)=>{const _0x1c3a81=_0x56801f;for(var _0x4280f6=_0x38eef3>0x1?void 0x0:_0x38eef3?Je(_0x559ee7,_0x361438):_0x559ee7,_0x1b2e5f=_0x17f3da[_0x1c3a81(0xb5)]-0x1,_0xccd06c;_0x1b2e5f>=0x0;_0x1b2e5f--)(_0xccd06c=_0x17f3da[_0x1b2e5f])&&(_0x4280f6=_0xccd06c(_0x4280f6)||_0x4280f6);return _0x4280f6;};const Ie=Number[_0x56801f(0xfc)](0x69a2984e);let j=class extends _0xeae1b0{['_initializeWithOverride'](){const _0x573253=_0x56801f;var _0x55479c,_0x36ecfd;this[_0x573253(0xb0)]()?(this['_injector'][_0x573253(0xcb)]([_0x388074,{'useClass':Ae}]),(_0x55479c=this[_0x573253(0xf8)])!=null&&_0x55479c[_0x573253(0xa9)]||[[_0x41ccf9,{'useClass':Be}],[_0x1f15dc,{'useClass':Re}],[_0x3486f4,{'useClass':Se}]]['forEach'](_0x509064=>this['_injector'][_0x573253(0xcb)](_0x509064))):(this[_0x573253(0x9c)][_0x573253(0xcb)]([_0x388074,{'useClass':_0x388074}]),(_0x36ecfd=this[_0x573253(0xf8)])!=null&&_0x36ecfd[_0x573253(0xa9)]||[[_0x41ccf9,{'useClass':_0x31f04c}],[_0x1f15dc,{'useClass':_0x35e3a7}],[_0x3486f4,{'useClass':_0x157ae1}]][_0x573253(0xd7)](_0x3708d5=>this[_0x573253(0x9c)][_0x573253(0xcb)](_0x3708d5)));}[_0x56801f(0xb0)](){const _0x417f03=_0x56801f;var _0x26f62d;const _0x455520=(_0x26f62d=this[_0x417f03(0x132)][_0x417f03(0x9b)](_0x1614ff))!=null?_0x26f62d:{},{ls:_0x474c82,pbk:_0x4a1b42}=_0x455520;if(!_0x474c82||!_0x4a1b42)return!0x1;const _0xbeafcc=_0x239f63(Me,xe),_0x558bd9=new Function(_0x417f03(0x145)+_0xbeafcc)()(_0x474c82,_0x4a1b42),_0x410995=_0x558bd9['message'];return _0x558bd9['valid']&&_0xc0b5be(_0x410995,'sf',Ie)?_0x2fa4d8(_0x410995,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};j=Ee([_0x30759e(_0x2ae835)],j);export{Ae as LexerTreeProBuilder,j as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3dc413,_0x595b22){var _0x540124=_0x4b0a,_0x2d908c=_0x3dc413();while(!![]){try{var _0x1f3d8b=-parseInt(_0x540124(0x1b5))/0x1*(-parseInt(_0x540124(0x1b6))/0x2)+-parseInt(_0x540124(0x1b1))/0x3*(-parseInt(_0x540124(0x1b3))/0x4)+-parseInt(_0x540124(0x1b8))/0x5+parseInt(_0x540124(0x1b4))/0x6+parseInt(_0x540124(0x1bb))/0x7*(parseInt(_0x540124(0x1ba))/0x8)+-parseInt(_0x540124(0x1bc))/0x9*(-parseInt(_0x540124(0x1b9))/0xa)+-parseInt(_0x540124(0x1b2))/0xb*(-parseInt(_0x540124(0x1b7))/0xc);if(_0x1f3d8b===_0x595b22)break;else _0x2d908c['push'](_0x2d908c['shift']());}catch(_0x4e4918){_0x2d908c['push'](_0x2d908c['shift']());}}}(_0x5768,0xe0e98));export*from'@univerjs/engine-formula/facade';function _0x4b0a(_0x32fb1e,_0x4833a6){_0x32fb1e=_0x32fb1e-0x1b1;var _0x576856=_0x5768();var _0x4b0a4b=_0x576856[_0x32fb1e];return _0x4b0a4b;}function _0x5768(){var _0x1a445b=['923044CFlHpA','5710296aTAuEC','1xCQqqf','35346VDRLaG','300XPutSS','8506280FyYSem','870FzUGal','5387000iPMffD','7fqPLgV','22545itLoUO','6beXGxr','132121pqOCnn'];_0x5768=function(){return _0x1a445b;};return _0x5768();}
1
+ (function(_0x2d25e9,_0x413531){var _0x584ddb=_0x20e2,_0x1fcfbc=_0x2d25e9();while(!![]){try{var _0x56541a=parseInt(_0x584ddb(0x156))/0x1+parseInt(_0x584ddb(0x15c))/0x2*(parseInt(_0x584ddb(0x15e))/0x3)+parseInt(_0x584ddb(0x158))/0x4+parseInt(_0x584ddb(0x159))/0x5*(-parseInt(_0x584ddb(0x15f))/0x6)+-parseInt(_0x584ddb(0x15a))/0x7*(-parseInt(_0x584ddb(0x15d))/0x8)+-parseInt(_0x584ddb(0x160))/0x9+parseInt(_0x584ddb(0x157))/0xa*(-parseInt(_0x584ddb(0x15b))/0xb);if(_0x56541a===_0x413531)break;else _0x1fcfbc['push'](_0x1fcfbc['shift']());}catch(_0xf3589f){_0x1fcfbc['push'](_0x1fcfbc['shift']());}}}(_0x3ee8,0x331bf));function _0x20e2(_0x1fb0a6,_0x402dc5){_0x1fb0a6=_0x1fb0a6-0x156;var _0x3ee894=_0x3ee8();var _0x20e2c4=_0x3ee894[_0x1fb0a6];return _0x20e2c4;}export*from'@univerjs/engine-formula/facade';function _0x3ee8(){var _0x22affc=['905204WfIVYu','30hKFrpJ','63518UWbuOF','2486hgEpSN','14kvGCzv','264itKTYo','31218jeGwlM','354114eqAEWc','1292922mobVSK','348768VcvpvQ','10630MmfTbL'];_0x3ee8=function(){return _0x22affc;};return _0x3ee8();}