@univerjs-pro/engine-formula 0.14.0 → 0.15.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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/engine/lexer-tree-builder.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x124fcf=_0x58c7;(function(_0xad0763,_0x3abf74){const _0x54fb49=_0x58c7,_0x4c45e0=_0xad0763();while(!![]){try{const _0x48c1db=-parseInt(_0x54fb49(0x19e))/0x1+-parseInt(_0x54fb49(0x1a0))/0x2+-parseInt(_0x54fb49(0x1a1))/0x3*(parseInt(_0x54fb49(0x193))/0x4)+parseInt(_0x54fb49(0x192))/0x5*(-parseInt(_0x54fb49(0x19c))/0x6)+-parseInt(_0x54fb49(0x19d))/0x7+-parseInt(_0x54fb49(0x198))/0x8*(-parseInt(_0x54fb49(0x199))/0x9)+parseInt(_0x54fb49(0x19f))/0xa;if(_0x48c1db===_0x3abf74)break;else _0x4c45e0['push'](_0x4c45e0['shift']());}catch(_0x1d89ca){_0x4c45e0['push'](_0x4c45e0['shift']());}}}(_0x4839,0x29dd1));Object[_0x124fcf(0x194)](exports,Symbol[_0x124fcf(0x196)],{'value':'Module'});function _0x58c7(_0xa8dd7e,_0x3a118d){_0xa8dd7e=_0xa8dd7e-0x191;const _0x48390c=_0x4839();let _0x58c746=_0x48390c[_0xa8dd7e];return _0x58c746;}function _0x4839(){const _0xed5153=['default','1430zWQZON','795312JykRGf','defineProperty','keys','toStringTag','hasOwnProperty','88bRMwPm','252981jlVHhZ','call','prototype','3408LWkfyU','2159458Cwpxdq','146016ZIiLgs','8064190vcgvXJ','256718muQZPj','3tccAYR'];_0x4839=function(){return _0xed5153;};return _0x4839();}const t=require('@univerjs/engine-formula/facade');Object[_0x124fcf(0x195)](t)['forEach'](_0x1cdfe4=>{const _0x2c6f36=_0x124fcf;_0x1cdfe4!==_0x2c6f36(0x191)&&!Object[_0x2c6f36(0x19b)][_0x2c6f36(0x197)][_0x2c6f36(0x19a)](exports,_0x1cdfe4)&&Object['defineProperty'](exports,_0x1cdfe4,{'enumerable':!0x0,'get':()=>t[_0x1cdfe4]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x53ae(_0x826080,_0x28041c){_0x826080=_0x826080-0x86;const _0x4882c8=_0x4882();let _0x53ae8d=_0x4882c8[_0x826080];return _0x53ae8d;}const _0x1733f8=_0x53ae;(function(_0x2e1648,_0x76f7e1){const _0x4aae8f=_0x53ae,_0x89957e=_0x2e1648();while(!![]){try{const _0x1b52a9=-parseInt(_0x4aae8f(0x14a))/0x1*(parseInt(_0x4aae8f(0x103))/0x2)+-parseInt(_0x4aae8f(0x131))/0x3+parseInt(_0x4aae8f(0x123))/0x4*(parseInt(_0x4aae8f(0xcc))/0x5)+-parseInt(_0x4aae8f(0x173))/0x6+-parseInt(_0x4aae8f(0x16e))/0x7*(parseInt(_0x4aae8f(0xf1))/0x8)+parseInt(_0x4aae8f(0x130))/0x9*(-parseInt(_0x4aae8f(0x13a))/0xa)+-parseInt(_0x4aae8f(0x15a))/0xb*(-parseInt(_0x4aae8f(0xba))/0xc);if(_0x1b52a9===_0x76f7e1)break;else _0x89957e['push'](_0x89957e['shift']());}catch(_0x13c416){_0x89957e['push'](_0x89957e['shift']());}}}(_0x4882,0xd03cd));function _0x4882(){const _0x2e1315=['searchDependency','_restDependencyTreeId','featureId','setValue','children','addFeatureFormulaDependency','isVirtual','_addAllTreeMap','_getTableNameFromStructuredRef','node','PLUS','_checkIsCycleDependency','START_CALCULATION_ARRAY_FORMULA','UniverLicensePlugin','_getFeatureFormulaTree','_xlpmPrefix','set','getUnitData','_getAllTreeList','bulkRemove','_resetPrefix','pop','row','generateRandomDependencyTreeId','isArray','setCurrent','_featureFormulaData','_calculateRunList','startRow','DependentOn','getConfig','8kXqAZd','resolve','_lambdaFunctionParameterSet','next','setDependencyTreeModelData','FormulaDependencyTreeVirtual','keys','isStopExecution','generateAstNode','CURRENTLY_CALCULATING','treeId','range','getValue','delete','max','removeFormulaDependency','_createFDtree','IDLE','2gMSMzr','return\x20','startIndex','size','FormulaDependencyTreeType','rangeList','getToken','LexerNode','CalculateFormulaService','getOtherFormulaDependency','get','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_generateTreeList','_handleNewFunctionChild','getDirtyNameMap','isCache','checkAsyncNode','isSkip','FormulaDependencyTree','_handleTextNodeForExprTree','getDirtyRanges','clearFeatureFormulaDependency','enableCycleDependency','setCompletedArrayFormulasCount','dependencySheetName','endRow','_configService','_createVirtualFDtree','UniverFormulaEnginePlugin','push','_xlfn.','_config','4DTvFTx','executeAsync','column','string','DEFAULT_TOKEN_LET_FUNCTION_NAME','isFeatureAuthorizedWithinTime','openKdTree','has','getSheetFeatureLimit','setRuntimeFeatureRange','_initializeWithOverride','matchToken','closeKdTree','57645IZXryU','2438076ylxvDK','_generateExprTree','setRuntimeFeatureCellData','values','add','error','setFormulaExecuteStage','_lexer','isExcludeRange','1490MOEXqU','ParentDependencyTree\x20object\x20is\x20null','getRuntimeState','_getDependencyTreeChildrenIds','hasOtherFormulaDataMainData','notExecuteFormula','forEach','unitId','getStartIndex','clearFormulaDependency','addFormulaDependency','refTree','isReferenceString','dirtyRanges','VALUE','rowCount','579085dcHAur','_runtimeService','reset','IDependencyManagerService','_isCyclicUtilMap','refOffsetX','from','_xlfnPrefix','toRTreeItem','getFormulaDependency','inRangeData','_traverse','_otherFormulaDataMainData','formulaId','ObjectMatrix','featureDirtyRanges','22YoEajt','_initLicenseValid','getFeatureFormulaDependency','_hasNewExcelFunction','DEFAULT_TOKEN_TYPE_PARAMETER','markedAsSuccessfullyExecuted','prototype','_updateRangeFlatten','clearOtherFormulaDependency','_getCurNodeTypeForExprTree','Lambda\x20parameter\x20name\x20\x22','min','forValue','parseInt','_currentConfigService','_isCalculateTreeModel','_handleLambdaForExprTree','\x22\x20is\x20duplicated.','clearArrayObjectCache','subUnitId','11008186bRsSiq','isDirty','_interpreter','setTotalFormulasToCalculate','_dependencyRTreeCache','8839038UOgLPn','isAdded','FormulaDependencyGenerator','getExcludedRange','_astTreeBuilder','ICalculateFormulaService','getFormulaExprTree','getNewFormulaWithPrefix','_formulaData','_dependencyTreeCache','DEFAULT_TOKEN_TYPE_ROOT','intervalCount','CURRENTLY_CALCULATING_ARRAY_FORMULA','_otherFormulaData','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','setAdded','_getDependencyTreeParenIds','DEFAULT_INTERVAL_COUNT','FormulaExecuteStageType','symbol','refOffsetY','START_DEPENDENCY_ARRAY_FORMULA','message','_executionCompleteListener$','endColumn','OPERATOR_TOKEN_SET','UniverProFormulaEnginePlugin','LexerTreeBuilder','ErrorType','_handleChildrenForExprTree','length','_injector','treeBuilder','addOtherFormulaDependency','_clearFunctionString','COLON','setSkip','_removeDependencyRTreeCacheById','removeFormulaDependencyByDefinedName','_removeDependencyRTreeCache','toUpperCase','formula','_getFirstCellOfRange','_registerFormulas','LS_CONFIG_KEY','_executionInProgressListener$','join','defineProperty','isForceCalculate','_getUpdateTreeListAndMakeDependency','slice','startColumn','addFormulaDependencyByDefinedName','_checkAddBracketForMinus','type','realDeleteValue','_initializeGenerateTreeList','RTree','getAllRuntimeData','_currentUnitId','default','prefixToken','_xlpm.','_startFormulaDependencyTreeModel','hasOwnProperty','clear','value','startsWith','endsWith','getOwnPropertyDescriptor','addOtherFormulaDependencyMainData','columnCount','28105320IOjVdu','getChildren','trim','toStringTag','_otherFormulaManagerService','FEATURE_FORMULA','_allTreeMap','dispose','getDirtyData','_getAllDependencyJson','getOtherFormulaData','_generateNewFunctionString','SUFFIX_TOKEN_SET','markedAsNoFunctionsExecuted','_apply','_dependencyRTreeCacheForAddressFunction','MINUS','execute','7803070elVOJO','valid','_getTreeNode','IFormulaDependencyGenerator','_dependencyManagerService','_removeAllTreeMap'];_0x4882=function(){return _0x2e1315;};return _0x4882();}var I=Object[_0x1733f8(0xa1)],P=(_0x3e3993,_0x127766,_0x28f86e)=>_0x127766 in _0x3e3993?I(_0x3e3993,_0x127766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28f86e}):_0x3e3993[_0x127766]=_0x28f86e,C=(_0x157e16,_0x2801b3,_0x2f90ea)=>P(_0x157e16,typeof _0x2801b3!=_0x1733f8(0x186)?_0x2801b3+'':_0x2801b3,_0x2f90ea);Object[_0x1733f8(0xa1)](exports,Symbol[_0x1733f8(0xbd)],{'value':'Module'});const a=require('@univerjs/engine-formula'),x=require('@univerjs-pro/license'),w=require('@univerjs/core');class A extends a['LexerTreeBuilder']{constructor(){const _0x211cc8=_0x1733f8;super(...arguments),C(this,'_hasNewExcelFunction',!0x1),C(this,_0x211cc8(0xf3),new Set()),C(this,_0x211cc8(0xe1),_0x211cc8(0xb0)),C(this,_0x211cc8(0x151),_0x211cc8(0x121)),C(this,_0x211cc8(0xad),'');}[_0x1733f8(0xe6)](){const _0x43aa7f=_0x1733f8;this['_xlpmPrefix']=_0x43aa7f(0xb0),this[_0x43aa7f(0x151)]=_0x43aa7f(0x121);}['_clearPrefix'](){const _0x145749=_0x1733f8;this[_0x145749(0xe1)]='',this['_xlfnPrefix']='';}[_0x1733f8(0x17a)](_0xf1c3f3,_0x522a2f){const _0x31b540=_0x1733f8,_0x361c45=this[_0x31b540(0x92)](_0xf1c3f3,!0x1);if(!_0x361c45||_0x361c45===a[_0x31b540(0x8e)][_0x31b540(0x148)]||Array['isArray'](_0x361c45))return null;const _0x21ea75=[];return this[_0x31b540(0x15d)]=!0x1,this[_0x31b540(0xc5)](_0x361c45,_0x21ea75,_0x522a2f),this[_0x31b540(0x15d)]?'='+_0x21ea75[_0x31b540(0xa0)](''):null;}[_0x1733f8(0xc5)](_0x1354d4,_0x480b7b,_0xce60e9){const _0x2324d6=_0x1733f8,_0x445145=_0x1354d4[_0x2324d6(0x109)](),_0x4b3d67=_0x445145[_0x2324d6(0xbc)](),_0x3e96f6=_0x4b3d67[_0x2324d6(0x9a)](),_0x3911cd=this[_0x2324d6(0x94)](_0x3e96f6),_0x53bcc8=_0xce60e9(_0x3911cd);let _0xd411f6=0x0;_0x445145===a[_0x2324d6(0x17d)]?_0xd411f6=0x3:_0x445145===a[_0x2324d6(0x15e)]?_0xd411f6=0x4:_0x445145===a[_0x2324d6(0x10e)]?_0xd411f6=0x5:a['NEW_EXCEL_FUNCTIONS'][_0x2324d6(0x12a)](_0x3911cd)?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0):_0x3e96f6===a[_0x2324d6(0x181)]?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0,_0xd411f6=0x2):_0x3e96f6===a[_0x2324d6(0x127)]?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0,_0xd411f6=0x1):_0x3e96f6===a[_0x2324d6(0x12e)]['COLON']?_0xd411f6=0x8:a[_0x2324d6(0xc6)][_0x2324d6(0x12a)](_0x3e96f6)?_0xd411f6=0x7:_0x3e96f6===a[_0x2324d6(0xaf)]['MINUS']?(this[_0x2324d6(0xa7)](_0x1354d4)&&(_0xd411f6=0x9),_0x480b7b[_0x2324d6(0x120)](_0x445145)):(_0x480b7b[_0x2324d6(0x120)](_0x445145),_0xd411f6=0xa),_0x53bcc8?(_0xd411f6!==0x2&&_0xd411f6!==0x1&&(_0xd411f6=0x6),_0x480b7b[_0x2324d6(0x120)]('(')):_0xd411f6===0x9&&_0x480b7b['push']('(');const _0x3e2065=_0x1354d4[_0x2324d6(0xbb)](),_0x2d5a00=_0x3e2065[_0x2324d6(0x90)];if(_0xd411f6===0x2){const _0x2bbc42=_0x3e2065[0x0];let _0x15b928=0x0;_0x2bbc42 instanceof a['LexerNode']&&_0x2bbc42[_0x2324d6(0x109)]()===a[_0x2324d6(0x10e)]&&(_0x15b928=0x1);for(let _0x25e6d3=_0x15b928;_0x25e6d3<_0x2d5a00-0x1;_0x25e6d3++){const _0x33af14=_0x3e2065[_0x25e6d3];if(_0x33af14 instanceof a[_0x2324d6(0x10a)]){const _0x1fee8e=_0x33af14[_0x2324d6(0xbb)]()[0x0];typeof _0x1fee8e=='string'&&(this[_0x2324d6(0xf3)][_0x2324d6(0x12a)](_0x1fee8e)&&console[_0x2324d6(0x136)](_0x2324d6(0x164)+_0x1fee8e+_0x2324d6(0x16b)),this[_0x2324d6(0xf3)][_0x2324d6(0x135)](_0x1fee8e),_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0xe1)]+_0x1fee8e),this['_hasNewExcelFunction']=!0x0);}_0x480b7b[_0x2324d6(0x120)](',');}this['_handleNewFunctionChild'](_0x3e2065[_0x2d5a00-0x1],_0x480b7b,_0xce60e9),_0x15b928===0x1&&(_0x480b7b[_0x2324d6(0x120)](')'),_0x480b7b[_0x2324d6(0x120)]('('),this[_0x2324d6(0xc5)](_0x2bbc42,_0x480b7b,_0xce60e9)),_0x480b7b[_0x2324d6(0x120)](')');return;}else{if(_0xd411f6===0x1){for(let _0x42b8e0=0x0;_0x42b8e0<_0x2d5a00-0x1;_0x42b8e0++){const _0x1fd564=_0x3e2065[_0x42b8e0];if(_0x1fd564 instanceof a[_0x2324d6(0x10a)]&&_0x42b8e0%0x2===0x0){const _0x36cd4f=_0x1fd564[_0x2324d6(0xbb)]()[0x0];if(typeof _0x36cd4f==_0x2324d6(0x126)){this['_lambdaFunctionParameterSet'][_0x2324d6(0x12a)](_0x36cd4f)&&console[_0x2324d6(0x136)]('Let\x20variable\x20name\x20\x22'+_0x36cd4f+_0x2324d6(0x16b)),this[_0x2324d6(0xf3)]['add'](_0x36cd4f),_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0xe1)]+_0x36cd4f),this[_0x2324d6(0x15d)]=!0x0,_0x480b7b[_0x2324d6(0x120)](',');continue;}}if(this[_0x2324d6(0x110)](_0x1fd564,_0x480b7b,_0xce60e9),_0x1fd564 instanceof a[_0x2324d6(0x10a)]){const _0x15e696=_0x3e2065[_0x42b8e0+0x1];_0x15e696&&_0x15e696 instanceof a['LexerNode']&&_0x480b7b[_0x2324d6(0x120)](',');}}this[_0x2324d6(0x110)](_0x3e2065[_0x2d5a00-0x1],_0x480b7b,_0xce60e9),_0x480b7b[_0x2324d6(0x120)](')');return;}else{if(_0xd411f6===0x8){const _0x104a8a=_0x3e2065[0x0],_0x3e1e2f=_0x3e2065[0x1];this[_0x2324d6(0x110)](_0x104a8a,_0x480b7b,_0xce60e9),_0x480b7b[_0x2324d6(0x120)](_0x445145),this[_0x2324d6(0x110)](_0x3e1e2f,_0x480b7b,_0xce60e9);return;}}}for(let _0x57350b=0x0;_0x57350b<_0x2d5a00;_0x57350b++){const _0x5e7f85=_0x3e2065[_0x57350b];if(this[_0x2324d6(0x110)](_0x5e7f85,_0x480b7b,_0xce60e9),_0x5e7f85 instanceof a[_0x2324d6(0x10a)]){const _0x526cc9=_0x3e2065[_0x57350b+0x1];_0x526cc9&&_0x526cc9 instanceof a[_0x2324d6(0x10a)]&&_0x480b7b[_0x2324d6(0x120)](',');}}_0xd411f6===0x7&&_0x480b7b[_0x2324d6(0x120)](_0x445145),(_0x53bcc8||_0xd411f6===0x9)&&_0x480b7b[_0x2324d6(0x120)](')');}[_0x1733f8(0x110)](_0x13c241,_0x4afe37,_0x4cb5b9){const _0x939f9a=_0x1733f8;_0x13c241 instanceof a[_0x939f9a(0x10a)]?this[_0x939f9a(0xc5)](_0x13c241,_0x4afe37,_0x4cb5b9):this[_0x939f9a(0xf3)][_0x939f9a(0x12a)](_0x13c241)?(_0x4afe37[_0x939f9a(0x120)](''+this['_xlpmPrefix']+_0x13c241),this['_hasNewExcelFunction']=!0x0):_0x4afe37[_0x939f9a(0x120)](_0x13c241);}[_0x1733f8(0x94)](_0x1c101f){const _0x2e8391=_0x1733f8;let _0xdfc0fb=_0x1c101f[_0x2e8391(0xbc)]();if(!_0xdfc0fb)return _0xdfc0fb;const _0x1c5664=_0xdfc0fb[0x0];if((_0x1c5664===a[_0x2e8391(0xaf)]['AT']||_0x1c5664===a[_0x2e8391(0xaf)][_0x2e8391(0xca)]||_0x1c5664===a[_0x2e8391(0xaf)][_0x2e8391(0xdc)])&&(_0xdfc0fb=_0xdfc0fb[_0x2e8391(0xa4)](0x1)),!_0xdfc0fb)return _0xdfc0fb;const _0x9aacec=_0xdfc0fb[_0xdfc0fb['length']-0x1];return a['SUFFIX_TOKEN_SET'][_0x2e8391(0x12a)](_0x9aacec)&&(_0xdfc0fb=_0xdfc0fb[_0x2e8391(0xa4)](0x0,-0x1)),_0xdfc0fb;}[_0x1733f8(0xa7)](_0x1285c1){const _0x2a63f3=_0x1733f8,_0x538173=_0x1285c1[_0x2a63f3(0xbb)]()[0x0];if(!_0x538173||!(_0x538173 instanceof a[_0x2a63f3(0x10a)])||_0x1285c1['getChildren']()['length']>0x1)return!0x1;const _0x433f27=_0x538173['getChildren'](),_0x17cdb2=_0x433f27['length'];if(_0x17cdb2===0x1)return!0x1;for(let _0x3b070a=0x0;_0x3b070a<_0x17cdb2;_0x3b070a++){const _0x48f9db=_0x433f27[_0x3b070a];if(!(_0x48f9db instanceof a[_0x2a63f3(0x10a)])&&a[_0x2a63f3(0x8b)][_0x2a63f3(0x12a)](_0x48f9db))return!0x0;}return!0x1;}[_0x1733f8(0x179)](_0x111369,_0x5daebb,_0x49ff47,_0x583779,_0x7a53a1){const _0x40f9c4=_0x1733f8,_0x17663b=this[_0x40f9c4(0x92)](_0x111369,!0x1);if(!_0x17663b||_0x17663b===a[_0x40f9c4(0x8e)][_0x40f9c4(0x148)]||Array[_0x40f9c4(0xea)](_0x17663b))return null;this['_clearPrefix'](),this[_0x40f9c4(0xad)]=_0x5daebb;const _0x71e355=this['_generateExprTree'](_0x17663b,_0x49ff47,_0x583779,_0x7a53a1);return this[_0x40f9c4(0xad)]='',this['_resetPrefix'](),_0x71e355;}[_0x1733f8(0x132)](_0x46dd26,_0x1ee94a,_0x237e87,_0x585471){const _0xcafc3f=_0x1733f8,_0x38a7b8={'value':'','children':[],'startIndex':0x0};let _0x425615=_0x46dd26;if(_0x425615 instanceof a[_0xcafc3f(0x10a)]&&(_0x425615[_0xcafc3f(0x109)]()===a[_0xcafc3f(0x17d)]||_0x425615[_0xcafc3f(0x109)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x425615[_0xcafc3f(0xbb)]()[_0xcafc3f(0x90)]===0x1&&(_0x425615=_0x425615[_0xcafc3f(0xbb)]()[0x0]),!(_0x425615 instanceof a[_0xcafc3f(0x10a)]))return this['_handleTextNodeForExprTree'](_0x425615,_0x237e87,_0x585471);const _0x2165f4=_0x425615[_0xcafc3f(0xbb)](),_0x3827cc=_0x2165f4['length'],_0x8f8f37=[];this[_0xcafc3f(0xc5)](_0x425615,_0x8f8f37,_0x1ee94a),_0x38a7b8[_0xcafc3f(0xb4)]=_0x8f8f37[_0xcafc3f(0xa0)](''),_0x38a7b8['startIndex']=_0x425615[_0xcafc3f(0x142)]();const _0x3ff87e=this['_getCurNodeTypeForExprTree'](_0x425615);if(_0x3ff87e===0x2){const _0x105e13=_0x2165f4[0x0];if(_0x105e13 instanceof a[_0xcafc3f(0x10a)]){if(_0x105e13[_0xcafc3f(0x109)]()[_0xcafc3f(0xbc)]()!==a[_0xcafc3f(0x10e)])return _0x38a7b8;this[_0xcafc3f(0x16a)](_0x105e13,_0x38a7b8,_0x1ee94a,_0x237e87,_0x585471);}return _0x38a7b8;}else{if(_0x3ff87e===0x1){for(let _0x3a6113=0x0;_0x3a6113<_0x3827cc-0x1;_0x3a6113++){const _0x3e5429=_0x2165f4[_0x3a6113];if(_0x3e5429 instanceof a['LexerNode']&&_0x3a6113%0x2===0x1){const _0x2012e5=_0x3e5429[_0xcafc3f(0xbb)]();if(_0x2012e5[_0xcafc3f(0x90)]===0x1&&!(_0x2012e5[0x0]instanceof a[_0xcafc3f(0x10a)]))continue;const _0x594c38=this[_0xcafc3f(0x132)](_0x3e5429,_0x1ee94a,_0x237e87,_0x585471);_0x594c38&&_0x38a7b8[_0xcafc3f(0xd6)][_0xcafc3f(0x120)](_0x594c38);}}return _0x38a7b8;}else{if(_0x3ff87e===0x8){const _0x11aba4=_0x2165f4[0x0];if(_0x11aba4 instanceof a[_0xcafc3f(0x10a)]){const _0x396f7e=_0x11aba4[_0xcafc3f(0xbb)]()[0x0];_0x396f7e instanceof a['LexerNode']&&(_0x38a7b8[_0xcafc3f(0x105)]=_0x396f7e['getStartIndex']());}}else{if(_0x3ff87e===0x7){const _0x529b9=_0x2165f4[0x0];if(_0x529b9 instanceof a['LexerNode']){const _0x1d815d=_0x529b9[_0xcafc3f(0xbb)]()[0x0];_0x1d815d instanceof a[_0xcafc3f(0x10a)]&&(_0x38a7b8[_0xcafc3f(0x105)]=_0x1d815d[_0xcafc3f(0x142)]());}}}}}return this[_0xcafc3f(0x8f)](_0x2165f4,_0x3ff87e,_0x38a7b8,_0x1ee94a,_0x237e87,_0x585471),_0x38a7b8;}[_0x1733f8(0x8f)](_0x1236b7,_0x494eb9,_0x3be2a1,_0x114083,_0x527af8,_0x2b14b9){const _0xc9fbd0=_0x1733f8;for(let _0x3dfc74=0x0;_0x3dfc74<_0x1236b7['length'];_0x3dfc74++){let _0x5910d8=_0x1236b7[_0x3dfc74];if(!(_0x5910d8 instanceof a[_0xc9fbd0(0x10a)])){const _0x2cfc88=this[_0xc9fbd0(0x116)](_0x5910d8,_0x527af8,_0x2b14b9);_0x2cfc88&&_0x3be2a1[_0xc9fbd0(0xd6)][_0xc9fbd0(0x120)](_0x2cfc88);continue;}const _0x52d0a3=_0x5910d8[_0xc9fbd0(0xbb)]();if(_0x52d0a3[_0xc9fbd0(0x90)]===0x1&&!(_0x52d0a3[0x0]instanceof a['LexerNode'])){const _0x5693b8=_0x52d0a3[0x0];if(!_0x527af8(this['_currentUnitId'],_0x5693b8)&&!this[_0xc9fbd0(0xda)](_0x5693b8,_0x2b14b9)&&!a[_0xc9fbd0(0x146)](_0x5693b8))continue;}if(_0x494eb9===0x8){const _0x4e5d66=_0x52d0a3[0x0];if(_0x4e5d66 instanceof a[_0xc9fbd0(0x10a)]){const _0x340434=_0x4e5d66['getToken']()[_0xc9fbd0(0xbc)]();if(a[_0xc9fbd0(0x146)](_0x340434))continue;_0x5910d8=_0x4e5d66;}}const _0x4d95a7=this['_generateExprTree'](_0x5910d8,_0x114083,_0x527af8,_0x2b14b9);_0x4d95a7&&_0x3be2a1[_0xc9fbd0(0xd6)]['push'](_0x4d95a7);}}[_0x1733f8(0x116)](_0x349e87,_0x4cbd20,_0xf8b49){const _0x26f93e=_0x1733f8,_0x3ae9a5=_0x349e87[_0x26f93e(0xbc)]();return _0x3ae9a5[_0x26f93e(0xb5)]('{')&&_0x3ae9a5[_0x26f93e(0xb6)]('}')||_0x4cbd20(this[_0x26f93e(0xad)],_0x3ae9a5)||this['_getTableNameFromStructuredRef'](_0x3ae9a5,_0xf8b49)||a[_0x26f93e(0x146)](_0x3ae9a5)?{'value':_0x3ae9a5,'children':[],'startIndex':-0x1}:null;}[_0x1733f8(0xda)](_0xec0a4f,_0x4b1545){const {tableName:_0x15d2d8}=a['splitTableStructuredRef'](_0xec0a4f);return _0x4b1545(this['_currentUnitId'],_0x15d2d8)?_0x15d2d8:null;}[_0x1733f8(0x16a)](_0x4905a2,_0x224511,_0x14dfc6,_0x500ab6,_0xe3d54){const _0x1dc2a6=_0x1733f8,_0x359783=_0x4905a2['getChildren']();for(let _0xa15712=0x0;_0xa15712<_0x359783[_0x1dc2a6(0x90)];_0xa15712++){const _0x2148d9=_0x359783[_0xa15712];if(!(_0x2148d9 instanceof a['LexerNode']))continue;const _0xe9fa78=_0x2148d9[_0x1dc2a6(0xbb)]();if(_0xe9fa78['length']===0x1&&!(_0xe9fa78[0x0]instanceof a[_0x1dc2a6(0x10a)]))continue;const _0x40304c=this[_0x1dc2a6(0x132)](_0x2148d9,_0x14dfc6,_0x500ab6,_0xe3d54);_0x40304c&&_0x224511[_0x1dc2a6(0xd6)][_0x1dc2a6(0x120)](_0x40304c);}}[_0x1733f8(0x163)](_0x5723d4){const _0xbf1b55=_0x1733f8,_0xdfeed6=_0x5723d4[_0xbf1b55(0x109)](),_0x4e76b5=_0xdfeed6[_0xbf1b55(0xbc)]()[_0xbf1b55(0x9a)]();let _0x4b5256=0x0;return _0xdfeed6===a[_0xbf1b55(0x17d)]?_0x4b5256=0x3:_0xdfeed6===a[_0xbf1b55(0x15e)]?_0x4b5256=0x4:_0xdfeed6===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x4b5256=0x5:_0x4e76b5===a[_0xbf1b55(0x181)]?_0x4b5256=0x2:_0x4e76b5===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x4b5256=0x1:_0x4e76b5===a[_0xbf1b55(0x12e)][_0xbf1b55(0x95)]?_0x4b5256=0x8:a[_0xbf1b55(0xc6)]['has'](_0x4e76b5)?_0x4b5256=0x7:_0x4e76b5===a[_0xbf1b55(0xaf)][_0xbf1b55(0xca)]?this[_0xbf1b55(0xa7)](_0x5723d4)&&(_0x4b5256=0x9):_0x4b5256=0xa,_0x4b5256;}}const k={0x0:'0',0x1:'8',0x2:'B',0x3:'9',0x4:'C',0x5:'t',0x6:'3',0x7:'L',0x8:'v',0x9:'k','E':'1','y':'2','h':'4','R':'5','O':'6','I':'7','v':'a','f':'b','p':'c','U':'d','g':'e','i':'f','L':'g','a':'h','G':'i','J':'j','r':'l','e':'m','X':'n','w':'o','V':'p','M':'q','W':'r','Q':'s','T':'u','Y':'w','q':'x','t':'y','b':'z','S':'A','F':'D','c':'E','m':'F','x':'G','K':'H','d':'I','Z':'J','u':'K','s':'M','H':'N','C':'O','N':'P','o':'Q','A':'R','z':'S','l':'T','k':'U','P':'V','B':'W','D':'X','j':'Y','n':'Z'},B='/*\x20gQrGX5-UGQvfrg\x20VWgigW-5geVrv5g\x20*/iTXp5GwX\x20UgpWtV5GwX(rGpgXQg,\x20VTfrGpugt)\x20{\x20\x20\x20\x205Wt\x20{\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20rGpgXQgdXiwNvW5SWWvt\x20=\x20rGpgXQg.QVrG5(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20wWGLGXsgQQvLg\x20=\x20ZzCH.VvWQg(v5wf(rGpgXQgdXiwNvW5SWWvt[y]));\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(!wWGLGXsgQQvLg.TU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wWGLGXsgQQvLg.TU\x20=\x20HTefgW(rGpgXQgdXiwNvW5SWWvt[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQBwW9gW\x20=\x205tVgwi\x20BwW9gWxrwfvrzpwVg\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x20Qgri\x20GXQ5vXpgwi\x20BwW9gWxrwfvrzpwVg;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQ2WwYQgW\x20=\x205tVgwi\x20YGXUwY\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x205tVgwi\x20YGXUwY.rwpv5GwX\x20!==\x20\x27TXUgiGXgU\x27;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20pwX5gq5\x20=\x20GQBwW9gW\x20?\x20Qgri\x20:\x20(GQ2WwYQgW\x20?\x20YGXUwY\x20:\x20LrwfvrlaGQ);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[y]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(egQQvLgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[6]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(QGLXv5TWgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXPvrGU\x20=\x20pwX5gq5.__8gWGit__(QGLXv5TWg,\x20egQQvLg,\x20VTfrGpugt);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20UwevGX\x20=\x20wWGLGXsgQQvLg.Ue;\x20\x20\x20\x20\x20\x20\x20\x20iTXp5GwX\x20GQFwevGXsv5paGXL(Vv55gWX,\x20awQ5)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX\x20===\x20awQ5)\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX.Q5vW5QBG5a(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QTiiGq\x20=\x20Vv55gWX.QrGpg(y);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(QTiiGq\x20&&\x20!awQ5.Q5vW5QBG5a(\x27.\x27)\x20&&\x20awQ5\x20!==\x20QTiiGq\x20&&\x20awQ5.gXUQBG5a(\x27.\x27\x20+\x20QTiiGq))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rg5\x20UwevGXPvrGU\x20=\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(GQ2WwYQgW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x20(UwevGX\x20&&\x20UwevGX.rgXL5a)\x20?\x20UwevGX.Qweg((Ued5ge)\x20=>\x20GQFwevGXsv5paGXL(Ued5ge,\x20rwpv5GwX.awQ5Xveg))\x20:\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(rwpv5GwX.awQ5Xveg\x20===\x20\x27rwpvrawQ5\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20grQg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x208vrGU\x20=\x20QGLXPvrGU\x20&&\x20UwevGXPvrGU;\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20wWGLGXsgQQvLg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20pv5pa\x20(gWWwW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU:\x20ivrQg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class b extends a['FormulaDependencyGenerator']{constructor(){const _0x3d1343=_0x1733f8;super(...arguments),C(this,_0x3d1343(0x17c),new Map());}['dispose'](){const _0x5b22f9=_0x1733f8;super[_0x5b22f9(0xc1)](),this[_0x5b22f9(0x17c)][_0x5b22f9(0xb3)]();}async['generate'](_0x2b374d=!0x1){const _0x2fe2fa=_0x1733f8;this[_0x2fe2fa(0x161)]();const _0x303f61=this['_currentConfigService']['getFormulaData'](),_0x280010=this[_0x2fe2fa(0xbe)][_0x2fe2fa(0xc4)](),_0x526073=this[_0x2fe2fa(0x168)]['getClearDependencyTreeCache']();_0x526073!=null&&Object['keys'](_0x526073)[_0x2fe2fa(0x140)](_0x41fd97=>{const _0x224189=_0x2fe2fa;_0x41fd97!=null&&Object[_0x224189(0xf7)](_0x526073[_0x41fd97])[_0x224189(0x140)](_0x574077=>{const _0x50acb2=_0x224189;_0x574077!=null&&(this['_dependencyManagerService'][_0x50acb2(0x162)](_0x41fd97,_0x574077),this['_dependencyManagerService'][_0x50acb2(0x118)](_0x41fd97,_0x574077),this[_0x50acb2(0xd0)][_0x50acb2(0x143)](_0x41fd97,_0x574077));});});const _0x6a6d66=this[_0x2fe2fa(0x168)][_0x2fe2fa(0xe3)]();await this[_0x2fe2fa(0x10f)](_0x303f61,_0x280010,_0x6a6d66),this['_dependencyManagerService'][_0x2fe2fa(0x129)]();const _0x1fc95c=this[_0x2fe2fa(0xa3)](),_0xcb9aa2=this['_calculateRunList'](_0x1fc95c);return this[_0x2fe2fa(0xdd)](_0xcb9aa2)&&this['_runtimeService'][_0x2fe2fa(0x119)](),_0x2b374d&&this[_0x2fe2fa(0x14b)][_0x2fe2fa(0xf5)](this[_0x2fe2fa(0xc3)](Array[_0x2fe2fa(0x150)](this['_dependencyTreeCache'][_0x2fe2fa(0x134)]()))),this[_0x2fe2fa(0x17c)][_0x2fe2fa(0xb3)](),this[_0x2fe2fa(0xc9)]['clear'](),this[_0x2fe2fa(0xd0)][_0x2fe2fa(0x12f)](),this[_0x2fe2fa(0x14b)][_0x2fe2fa(0x16c)](),Promise[_0x2fe2fa(0xf2)](_0xcb9aa2);}[_0x1733f8(0x14e)](_0x1c7208,_0x31b026){const _0x3a826f=_0x1733f8,_0x4478a4=[_0x1c7208];for(;_0x4478a4['length']>0x0;){const _0x5adc66=_0x4478a4[_0x4478a4[_0x3a826f(0x90)]-0x1];if((_0x31b026['get'](_0x5adc66)||0x0)===0x0){_0x31b026['set'](_0x5adc66,0x1);const _0x540e69=this[_0x3a826f(0x17c)]['get'](_0x5adc66);if(_0x540e69==null){_0x31b026[_0x3a826f(0xe2)](_0x5adc66,0x2),_0x4478a4[_0x3a826f(0xe7)]();continue;}const _0x56ecbb=this[_0x3a826f(0xd0)][_0x3a826f(0xd2)](_0x540e69[_0x3a826f(0x152)]());for(const _0x140d8d of _0x56ecbb){const _0x38a571=_0x31b026[_0x3a826f(0x10d)](_0x140d8d)||0x0;if(_0x38a571===0x1)return!0x0;_0x38a571===0x0&&_0x4478a4['push'](_0x140d8d);}}else _0x31b026['set'](_0x5adc66,0x2),_0x4478a4[_0x3a826f(0xe7)]();}return!0x1;}[_0x1733f8(0xdd)](_0x4bb89a){const _0x53f68a=_0x1733f8,_0x2d962b=new Map();for(const _0x2a287e of _0x4bb89a)if(!_0x2d962b[_0x53f68a(0x12a)](_0x2a287e[_0x53f68a(0xfb)])&&this['_isCyclicUtilMap'](_0x2a287e['treeId'],_0x2d962b))return!0x0;return _0x2d962b[_0x53f68a(0xb3)](),!0x1;}[_0x1733f8(0xe0)](_0x1f7e0a,_0x3cefbb,_0x433e86){const _0x551172=_0x1733f8,{unitId:_0x10e00a,subUnitId:_0x5ce60a,dependencyRanges:_0x25f995,getDirtyData:_0x51bdb2}=_0x433e86,_0x5a0f47=_0x3cefbb||a[_0x551172(0xe9)](this['_dependencyManagerService']),_0x5c669a=new a[(_0x551172(0x115))](_0x5a0f47);_0x5c669a[_0x551172(0x141)]=_0x10e00a,_0x5c669a[_0x551172(0x16d)]=_0x5ce60a,_0x5c669a[_0x551172(0x108)]=_0x25f995,_0x5c669a[_0x551172(0xc2)]=_0x51bdb2;const _0x46a5fb=_0x51bdb2(this['_currentConfigService']['getDirtyData'](),this[_0x551172(0x14b)][_0x551172(0xac)]()),_0x2b2f43=this['_convertDirtyRangesToUnitRange'](_0x46a5fb[_0x551172(0x147)]);return _0x5c669a[_0x551172(0x159)]=_0x2b2f43,_0x5c669a[_0x551172(0xd4)]=_0x1f7e0a,_0x5c669a[_0x551172(0xa8)]=a[_0x551172(0x107)][_0x551172(0xbf)],this['_dependencyManagerService'][_0x551172(0xd7)](_0x10e00a,_0x5ce60a,_0x1f7e0a,_0x5c669a),this['_dependencyTreeCache']['set'](_0x5c669a[_0x551172(0xfb)],_0x5c669a),this['_dependencyManagerService'][_0x551172(0x15c)](_0x433e86[_0x551172(0x141)],_0x433e86[_0x551172(0x16d)],_0x1f7e0a)&&(_0x5c669a[_0x551172(0x112)]=!0x0),_0x5c669a;}['_registerOtherFormulas'](_0x41676a,_0x3a4733,_0x261c40){const _0x2842dc=_0x1733f8;var _0x30e6df;for(const _0x447ad2 of _0x3a4733){const _0x661f10=_0x41676a[_0x447ad2];if(_0x661f10==null)continue;const _0x56c63d=Object[_0x2842dc(0xf7)](_0x661f10);for(const _0x1a158f of _0x56c63d){const _0x4ed0a3=_0x661f10[_0x1a158f];if(_0x4ed0a3==null)continue;const _0x4cd65c=Object[_0x2842dc(0xf7)](_0x4ed0a3);for(const _0x4b07f1 of _0x4cd65c){const _0x5112fe=this['_dependencyManagerService'][_0x2842dc(0x13e)](_0x4b07f1),_0x378c56=_0x4ed0a3[_0x4b07f1],{f:_0x1750fd,ranges:_0x51e813}=_0x378c56;let _0x1c3a2a=!0x1;_0x5112fe&&(_0x1c3a2a=!0x0);const {firstRow:_0xcdf8fa,firstColumn:_0x3c62b2}=this[_0x2842dc(0x9c)](_0x51e813),_0x22b0e4=this[_0x2842dc(0xd0)][_0x2842dc(0x10c)](_0x447ad2,_0x1a158f,_0x4b07f1),_0x3b46fd=(_0x30e6df=_0x22b0e4==null?void 0x0:_0x22b0e4[_0x2842dc(0xfd)](0x0,0x0))!=null?_0x30e6df:a[_0x2842dc(0xe9)](this[_0x2842dc(0xd0)]),_0x413b3f=new a['FormulaDependencyTree'](_0x3b46fd);for(let _0x5ab057=0x0;_0x5ab057<_0x51e813[_0x2842dc(0x90)];_0x5ab057++){const _0x2a3235=_0x51e813[_0x5ab057],{startRow:_0x397302,startColumn:_0x2e2dd4,endRow:_0xe2c785,endColumn:_0x6e24c2}=_0x2a3235;for(let _0x10f00e=_0x397302;_0x10f00e<=_0xe2c785;_0x10f00e++)for(let _0x4ae3b6=_0x2e2dd4;_0x4ae3b6<=_0x6e24c2;_0x4ae3b6++){const _0x184709=_0x4ae3b6-_0x3c62b2,_0x4ddf46=_0x10f00e-_0xcdf8fa;if(_0x184709===0x0&&_0x4ddf46===0x0){_0x413b3f[_0x2842dc(0x9b)]=_0x1750fd,_0x413b3f[_0x2842dc(0x141)]=_0x447ad2,_0x413b3f[_0x2842dc(0x16d)]=_0x1a158f,_0x413b3f[_0x2842dc(0x157)]=_0x4b07f1,_0x413b3f['type']=a[_0x2842dc(0x107)]['OTHER_FORMULA'],_0x413b3f[_0x2842dc(0x112)]=_0x1c3a2a,_0x261c40[_0x2842dc(0x120)](_0x413b3f),this[_0x2842dc(0x17c)][_0x2842dc(0xe2)](_0x413b3f[_0x2842dc(0xfb)],_0x413b3f),this['_dependencyManagerService'][_0x2842dc(0x93)](_0x447ad2,_0x1a158f,_0x4b07f1,_0x413b3f),this[_0x2842dc(0xd0)][_0x2842dc(0xa6)](_0x413b3f);continue;}const _0x480355=new a[(_0x2842dc(0xf6))]();_0x480355[_0x2842dc(0xfb)]=(_0x22b0e4==null?void 0x0:_0x22b0e4[_0x2842dc(0xfd)](_0x184709,_0x4ddf46))||a['generateRandomDependencyTreeId'](this[_0x2842dc(0xd0)]),_0x480355[_0x2842dc(0x145)]=_0x413b3f,_0x480355['refOffsetX']=_0x184709,_0x480355[_0x2842dc(0x86)]=_0x4ddf46,_0x480355[_0x2842dc(0x112)]=_0x1c3a2a,_0x480355['type']=a[_0x2842dc(0x107)]['OTHER_FORMULA'],this['_dependencyManagerService'][_0x2842dc(0x93)](_0x447ad2,_0x1a158f,_0x4b07f1,_0x480355),this['_dependencyManagerService'][_0x2842dc(0xa6)](_0x480355),_0x261c40['push'](_0x480355),this[_0x2842dc(0x17c)]['set'](_0x480355[_0x2842dc(0xfb)],_0x480355);}}this['_dependencyManagerService'][_0x2842dc(0xb8)](_0x4b07f1);}}}}[_0x1733f8(0x9d)](_0x420f9e,_0x48f938,_0x1c70e7,_0x4e0909){const _0xdaba2=_0x1733f8;for(const _0x105ece of _0x420f9e){const _0xb5f8bd=_0x48f938[_0x105ece];if(_0xb5f8bd==null)continue;const _0x33980b=Object[_0xdaba2(0xf7)](_0xb5f8bd);for(const _0x2ccae7 of _0x33980b){const _0x42b4d2=new w['ObjectMatrix'](_0xb5f8bd[_0x2ccae7]||{}),_0x2c3a25=new Map();_0x42b4d2[_0xdaba2(0x166)]((_0x2e6006,_0x22e33a,_0xfcc385)=>{const _0x44daa1=_0xdaba2;if(_0xfcc385==null)return!0x0;const {x:_0x3a30bc=0x0,y:_0x2c8b2b=0x0,si:_0x558a9f}=_0xfcc385;if(!(_0x3a30bc===0x0&&_0x2c8b2b===0x0&&_0x558a9f!=null))return!0x0;const _0x4b4646=this['_createFDtree'](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a,_0x1c70e7,_0xfcc385),_0x13f8b0=this[_0x44daa1(0xd0)][_0x44daa1(0x153)](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a);_0x13f8b0!=null?_0x4b4646['treeId']=_0x13f8b0:(this['_dependencyManagerService'][_0x44daa1(0x144)](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a,_0x4b4646),this[_0x44daa1(0xd0)][_0x44daa1(0xa6)](_0x4b4646)),_0x2c3a25['set'](_0x558a9f,_0x4b4646),_0x4e0909['push'](_0x4b4646),this[_0x44daa1(0x17c)]['set'](_0x4b4646[_0x44daa1(0xfb)],_0x4b4646);}),_0x42b4d2[_0xdaba2(0x166)]((_0x1c3ad6,_0x5348ea,_0x10c13c)=>{const _0x48f680=_0xdaba2;if(_0x10c13c==null)return!0x0;const {x:_0x34eb21=0x0,y:_0x255739=0x0,si:_0x275914}=_0x10c13c;if(_0x34eb21===0x0&&_0x255739===0x0&&_0x275914!=null)return!0x0;let _0x4c361e;if(_0x275914&&_0x2c3a25[_0x48f680(0x12a)](_0x275914)){const _0x379387=_0x2c3a25[_0x48f680(0x10d)](_0x275914);_0x4c361e=this[_0x48f680(0x11e)](_0x379387,_0x10c13c);}else _0x4c361e=this[_0x48f680(0x101)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea,_0x1c70e7,_0x10c13c);const _0x42eba4=this[_0x48f680(0xd0)][_0x48f680(0x153)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea);_0x42eba4!=null?_0x4c361e[_0x48f680(0xfb)]=_0x42eba4:(this[_0x48f680(0xd0)][_0x48f680(0x144)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea,_0x4c361e),this[_0x48f680(0xd0)][_0x48f680(0xa6)](_0x4c361e)),_0x4e0909[_0x48f680(0x120)](_0x4c361e),this[_0x48f680(0x17c)][_0x48f680(0xe2)](_0x4c361e[_0x48f680(0xfb)],_0x4c361e);}),_0x2c3a25[_0xdaba2(0xb3)]();}}}[_0x1733f8(0x101)](_0x1843f8,_0x2cba29,_0x2e51ee,_0xca2ac9,_0x145501,_0x4af9b7){const _0x4dcc51=_0x1733f8,{f:_0x582e79,x:_0x15285e=0x0,y:_0x1127b1=0x0}=_0x4af9b7,_0x255706=new a['FormulaDependencyTree'](a[_0x4dcc51(0xe9)](this['_dependencyManagerService'])),_0x4259b5=_0x145501[_0x1843f8][_0x2cba29];return _0x255706[_0x4dcc51(0x9b)]=_0x582e79,_0x255706['unitId']=_0x1843f8,_0x255706[_0x4dcc51(0x16d)]=_0x2cba29,_0x255706[_0x4dcc51(0xe8)]=_0x2e51ee,_0x255706[_0x4dcc51(0x125)]=_0xca2ac9,_0x255706[_0x4dcc51(0x149)]=_0x4259b5[_0x4dcc51(0x149)],_0x255706[_0x4dcc51(0xb9)]=_0x4259b5[_0x4dcc51(0xb9)],_0x255706;}['_getUpdateTreeListAndMakeDependency'](){const _0x1774c3=_0x1733f8,_0x4be38c=[],_0x48f931=new Set(),_0x3f2518=this['_currentConfigService'][_0x1774c3(0xa2)](),_0x4e4cc9=this['_currentConfigService'][_0x1774c3(0x117)](),_0x40f56e=this[_0x1774c3(0xd0)][_0x1774c3(0xd2)](_0x4e4cc9),_0x443dcb=this[_0x1774c3(0xc9)]['bulkSearch'](_0x4e4cc9);for(const _0x1edd49 of _0x443dcb)_0x40f56e['add'](_0x1edd49);for(const [_0x2c527e,_0x2d11f6]of this['_dependencyTreeCache'])(_0x3f2518||_0x2d11f6[_0x1774c3(0x16f)]||_0x2d11f6[_0x1774c3(0x11b)](this[_0x1774c3(0x168)][_0x1774c3(0x111)]())||_0x40f56e[_0x1774c3(0x12a)](_0x2c527e)&&!_0x2d11f6[_0x1774c3(0x139)](this[_0x1774c3(0x168)][_0x1774c3(0x176)]()))&&!_0x48f931[_0x1774c3(0x12a)](_0x2c527e)&&(_0x4be38c[_0x1774c3(0x120)](_0x2d11f6),_0x48f931[_0x1774c3(0x135)](_0x2c527e));for(const [_0x3f5912,_0x4be940]of this['_dependencyTreeCache'])_0x4be940[_0x1774c3(0xd8)]||(_0x4be940[_0x1774c3(0x108)]['length']=0x0);return _0x4be38c;}['_getTreeById'](_0x2d1f7d){const _0x4cc4b5=_0x1733f8;return this[_0x4cc4b5(0x17c)][_0x4cc4b5(0x10d)](_0x2d1f7d);}[_0x1733f8(0xce)](_0x1c0ea6){const _0x2b922a=_0x1733f8;return a[_0x2b922a(0xf9)](_0x1c0ea6[_0x2b922a(0x141)],_0x1c0ea6[_0x2b922a(0x9b)],this[_0x2b922a(0x138)],this[_0x2b922a(0x177)],this[_0x2b922a(0x168)]);}*['_traverse'](_0x22ecde,_0x5c79b0){const _0xc6c8ef=_0x1733f8,_0x152d80=_0x22ecde,_0x3f5633=new Set();for(;_0x152d80[_0xc6c8ef(0x90)]>0x0;){const _0x1a9c3f=_0x152d80['pop']();if(_0x3f5633[_0xc6c8ef(0xb3)](),_0x1a9c3f===void 0x0||_0x1a9c3f['isSkip']())continue;if(_0x1a9c3f[_0xc6c8ef(0x174)]()){yield _0x1a9c3f,_0x1a9c3f[_0xc6c8ef(0x96)](),_0x5c79b0[_0xc6c8ef(0x135)](_0x1a9c3f[_0xc6c8ef(0xfb)]);continue;}const _0x4430b9=this[_0xc6c8ef(0xd0)]['searchDependency'](_0x1a9c3f['toRTreeItem'](),_0x5c79b0),_0x4a5c12=this[_0xc6c8ef(0xc9)]['bulkSearch'](_0x1a9c3f[_0xc6c8ef(0x152)](),_0x5c79b0);for(const _0x5a6df5 of _0x4a5c12)_0x4430b9['add'](_0x5a6df5);for(const _0xad25e9 of _0x4430b9){const _0x274288=this[_0xc6c8ef(0x17c)][_0xc6c8ef(0x10d)](_0xad25e9);if(!_0x274288)throw new Error(_0xc6c8ef(0x13b));_0x274288[_0xc6c8ef(0x174)]()||_0x1a9c3f[_0xc6c8ef(0x114)]()||_0x3f5633[_0xc6c8ef(0x135)](_0x274288);}if(_0x4430b9['clear'](),_0x3f5633[_0xc6c8ef(0x106)]===0x0)yield _0x1a9c3f,_0x1a9c3f['setSkip'](),_0x5c79b0[_0xc6c8ef(0x135)](_0x1a9c3f[_0xc6c8ef(0xfb)]);else{_0x1a9c3f[_0xc6c8ef(0x182)](),_0x152d80[_0xc6c8ef(0x120)](_0x1a9c3f);for(const _0x4b9045 of _0x3f5633)_0x152d80[_0xc6c8ef(0x120)](_0x4b9045);}}_0x152d80[_0xc6c8ef(0x90)]=0x0,_0x3f5633[_0xc6c8ef(0xb3)]();}[_0x1733f8(0xed)](_0x32530c){const _0x5174ad=_0x1733f8,_0x142856=[],_0xdf9b6=new Set();for(const _0x5a70fb of this[_0x5174ad(0x155)](_0x32530c,_0xdf9b6))_0x142856['push'](_0x5a70fb);return _0x142856;}async[_0x1733f8(0xe4)](){const _0x50a725=_0x1733f8;return await this[_0x50a725(0xaa)](),Array[_0x50a725(0x150)](this[_0x50a725(0x17c)][_0x50a725(0x134)]());}[_0x1733f8(0x183)](_0x448a6f){const _0x413541=_0x1733f8;return this[_0x413541(0xd0)][_0x413541(0xd2)](_0x448a6f[_0x413541(0x152)]());}[_0x1733f8(0x13d)](_0x218a7d){const _0x5b7a9e=_0x1733f8,_0x2192b5=new Set(),_0x40bb2b=_0x218a7d[_0x5b7a9e(0x108)];for(const [_0x1c1931,_0x54875a]of this['_dependencyTreeCache'])for(const _0x471f1f of _0x40bb2b){const _0x26d85d=_0x471f1f[_0x5b7a9e(0x141)],_0x1c5322=_0x471f1f['sheetId'];if(_0x54875a['unitId']!==_0x26d85d||_0x54875a[_0x5b7a9e(0x16d)]!==_0x1c5322)continue;const _0x3b4152=_0x471f1f[_0x5b7a9e(0xfc)];if(_0x54875a[_0x5b7a9e(0x154)](_0x3b4152)){_0x2192b5[_0x5b7a9e(0x135)](_0x1c1931);break;}}return _0x2192b5;}[_0x1733f8(0xb1)](){const _0x321509=_0x1733f8;this[_0x321509(0xd0)]['openKdTree']();}['_endFormulaDependencyTreeModel'](){const _0x37e964=_0x1733f8;this['_formulaDependencyTreeModel']['clear'](),this['_dependencyTreeCache'][_0x37e964(0xb3)](),this[_0x37e964(0xd0)]['closeKdTree']();}}class V extends a[_0x1733f8(0x10b)]{async[_0x1733f8(0xc8)](_0x1d7724=!0x1){const _0x1bd45d=_0x1733f8;_0x1d7724?this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0x87)]):this[_0x1bd45d(0x14b)]['setFormulaExecuteStage'](a['FormulaExecuteStageType']['START_DEPENDENCY']),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this['_runtimeService']['getRuntimeState']());const _0x145f76=await this['_formulaDependencyGenerator']['generate'](this[_0x1bd45d(0x169)]),_0x1ccb61=this[_0x1bd45d(0x170)];_0x1d7724?(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a[_0x1bd45d(0x185)][_0x1bd45d(0xde)]),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x145f76[_0x1bd45d(0x90)])):(this['_runtimeService'][_0x1bd45d(0x137)](a['FormulaExecuteStageType']['START_CALCULATION']),this[_0x1bd45d(0x14b)][_0x1bd45d(0x171)](_0x145f76[_0x1bd45d(0x90)])),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this[_0x1bd45d(0x14b)]['getRuntimeState']());let _0x48480f=[];const _0x50de99=this['_configService'][_0x1bd45d(0xf0)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x3b72c6=(_0x50de99==null?void 0x0:_0x50de99[_0x1bd45d(0x17e)])||a[_0x1bd45d(0x184)];let _0x176893=0x0;const _0x476b27=_0x145f76['length'];for(;_0x145f76[_0x1bd45d(0x90)]>0x0;){const _0x296273=_0x145f76[_0x1bd45d(0xe7)](),_0x389ef6=a[_0x1bd45d(0xf9)](_0x296273[_0x1bd45d(0x141)],_0x296273[_0x1bd45d(0x9b)],this[_0x1bd45d(0x138)],this[_0x1bd45d(0x177)],this[_0x1bd45d(0x168)]),_0x473c35={'node':_0x389ef6,'refOffsetX':_0x296273[_0x1bd45d(0x14f)],'refOffsetY':_0x296273[_0x1bd45d(0x86)]},_0x2f0788=_0x296273[_0x1bd45d(0xc2)];if(_0x176893%_0x3b72c6===0x0&&(await new Promise(_0x121c81=>{const _0x27e410=_0x1bd45d,_0x53b3b0=w['requestImmediateMacroTask'](_0x121c81);_0x48480f[_0x27e410(0x120)](_0x53b3b0);}),_0x1d7724?(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0x17f)]),this[_0x1bd45d(0x14b)][_0x1bd45d(0x11a)](_0x176893+0x1)):(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0xfa)]),this[_0x1bd45d(0x14b)]['setCompletedFormulasCount'](_0x176893+0x1)),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this['_runtimeService'][_0x1bd45d(0x13c)]()),this[_0x1bd45d(0x14b)][_0x1bd45d(0xf8)]()||_0x473c35==null&&_0x2f0788==null)){this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a[_0x1bd45d(0x185)][_0x1bd45d(0x102)]),this[_0x1bd45d(0x14b)]['markedAsStopFunctionsExecuted'](),this[_0x1bd45d(0x89)][_0x1bd45d(0xf4)](this[_0x1bd45d(0x14b)][_0x1bd45d(0xac)]());return;}this[_0x1bd45d(0x14b)][_0x1bd45d(0xeb)](_0x296273['row'],_0x296273[_0x1bd45d(0x125)],_0x296273[_0x1bd45d(0x149)],_0x296273[_0x1bd45d(0xb9)],_0x296273[_0x1bd45d(0x16d)],_0x296273[_0x1bd45d(0x141)]);let _0x39a1fe;if(_0x2f0788!=null&&_0x296273[_0x1bd45d(0xd4)]!=null){const {runtimeCellData:_0x220711,dirtyRanges:_0x4095c3}=_0x2f0788(this[_0x1bd45d(0x168)][_0x1bd45d(0xc2)](),this[_0x1bd45d(0x14b)][_0x1bd45d(0xac)]());this[_0x1bd45d(0x14b)][_0x1bd45d(0x133)](_0x296273[_0x1bd45d(0xd4)],_0x220711),this['_runtimeService'][_0x1bd45d(0x12c)](_0x296273[_0x1bd45d(0xd4)],_0x4095c3);}else _0x473c35!=null&&(_0x1ccb61[_0x1bd45d(0x113)](_0x473c35[_0x1bd45d(0xdb)])?_0x39a1fe=await _0x1ccb61[_0x1bd45d(0x124)](_0x473c35):_0x39a1fe=_0x1ccb61[_0x1bd45d(0xcb)](_0x473c35),_0x296273[_0x1bd45d(0x157)]!=null?this[_0x1bd45d(0x14b)]['setRuntimeOtherData'](_0x296273['formulaId'],_0x296273[_0x1bd45d(0x14f)],_0x296273[_0x1bd45d(0x86)],_0x39a1fe):this['_runtimeService']['setRuntimeData'](_0x39a1fe));_0x389ef6['resetCalculationState'](),_0x176893++;}return _0x48480f[_0x1bd45d(0x140)](_0x1bf8ec=>_0x1bf8ec()),_0x48480f=[],_0x476b27>0x0?this[_0x1bd45d(0x14b)][_0x1bd45d(0x15f)]():_0x1d7724||this[_0x1bd45d(0x14b)][_0x1bd45d(0xc7)](),this['_runtimeService'][_0x1bd45d(0xac)]();}}class K extends a['DependencyManagerBaseService']{constructor(){const _0x2ceab6=_0x1733f8;super(...arguments),C(this,'_allTreeMap',new Map()),C(this,'_dependencyRTreeCache',new w[(_0x2ceab6(0xab))](!0x0));}[_0x1733f8(0x14c)](){const _0x159a9d=_0x1733f8;this[_0x159a9d(0x180)][_0x159a9d(0xb3)](),this[_0x159a9d(0xec)]['clear'](),this[_0x159a9d(0x17b)][_0x159a9d(0xb3)](),this['_dependencyRTreeCache'][_0x159a9d(0xb3)](),this[_0x159a9d(0xc0)][_0x159a9d(0xb3)](),this[_0x159a9d(0xd3)](),this['_otherFormulaDataMainData']['clear']();}['addOtherFormulaDependency'](_0x48228d,_0xf526f2,_0x255154,_0x46cb12){const _0x411d05=_0x1733f8;this[_0x411d05(0x180)][_0x411d05(0x12a)](_0x48228d)||this['_otherFormulaData']['set'](_0x48228d,new Map());const _0x287445=this[_0x411d05(0x180)][_0x411d05(0x10d)](_0x48228d);_0x287445['has'](_0xf526f2)||_0x287445[_0x411d05(0xe2)](_0xf526f2,new Map());const _0x37779f=_0x287445[_0x411d05(0x10d)](_0xf526f2);_0x37779f['has'](_0x255154)||_0x37779f['set'](_0x255154,new w[(_0x411d05(0x158))]()),_0x37779f['get'](_0x255154)[_0x411d05(0xd5)](_0x46cb12[_0x411d05(0x14f)],_0x46cb12[_0x411d05(0x86)],_0x46cb12[_0x411d05(0xfb)]);}['removeOtherFormulaDependency'](_0x8c05ba,_0x51b6ca,_0x513133){const _0x4558f8=_0x1733f8,_0x5689cd=this['_otherFormulaData'][_0x4558f8(0x10d)](_0x8c05ba);if(_0x5689cd&&_0x5689cd[_0x4558f8(0x12a)](_0x51b6ca)){const _0x225243=_0x5689cd[_0x4558f8(0x10d)](_0x51b6ca);_0x513133[_0x4558f8(0x140)](_0x512172=>{const _0x4fb16b=_0x4558f8,_0xf6ea5e=_0x225243['get'](_0x512172);_0xf6ea5e!=null&&(_0xf6ea5e[_0x4fb16b(0x166)]((_0x147320,_0x19e1f4,_0x27a351)=>{const _0x15fb7f=_0x4fb16b;this[_0x15fb7f(0x99)](_0x27a351),this[_0x15fb7f(0xd1)](_0x27a351);}),_0x225243[_0x4fb16b(0xfe)](_0x512172),this[_0x4fb16b(0x156)][_0x4fb16b(0xfe)](_0x512172));}),_0x225243[_0x4558f8(0x106)]===0x0&&_0x5689cd[_0x4558f8(0xfe)](_0x51b6ca),_0x5689cd[_0x4558f8(0x106)]===0x0&&this[_0x4558f8(0x180)][_0x4558f8(0xfe)](_0x8c05ba);}}[_0x1733f8(0x162)](_0x3ae87b,_0x499f80){const _0x2fc50c=_0x1733f8,_0x6e2407=this[_0x2fc50c(0x180)]['get'](_0x3ae87b);if(_0x499f80&&_0x6e2407&&_0x6e2407[_0x2fc50c(0x12a)](_0x499f80)){const _0x6acea5=_0x6e2407['get'](_0x499f80);this[_0x2fc50c(0x97)](_0x3ae87b,_0x499f80);for(const _0x5303cb of _0x6acea5[_0x2fc50c(0xf7)]()){const _0x5cd299=_0x6acea5['get'](_0x5303cb);_0x5cd299!=null&&(_0x5cd299[_0x2fc50c(0x166)]((_0x40387b,_0x45252f,_0x2722ac)=>{const _0x5550dc=_0x2fc50c;this[_0x5550dc(0xc0)][_0x5550dc(0x10d)](_0x2722ac)&&this[_0x5550dc(0xd1)](_0x2722ac);}),this[_0x2fc50c(0x156)][_0x2fc50c(0xfe)](_0x5303cb));}_0x6acea5[_0x2fc50c(0xb3)]();}else{if(_0x6e2407){for(const _0x3de0ea of _0x6e2407[_0x2fc50c(0xf7)]()){const _0xbac927=_0x6e2407[_0x2fc50c(0x10d)](_0x3de0ea);this[_0x2fc50c(0x97)](_0x3ae87b,_0x3de0ea);for(const _0xd991ae of _0xbac927[_0x2fc50c(0xf7)]()){const _0x53ef50=_0xbac927[_0x2fc50c(0x10d)](_0xd991ae);_0x53ef50!=null&&(_0x53ef50[_0x2fc50c(0x166)]((_0x3cc336,_0x346276,_0x4a5f87)=>{const _0x3421e7=_0x2fc50c;this['_allTreeMap'][_0x3421e7(0x10d)](_0x4a5f87)&&this['_removeAllTreeMap'](_0x4a5f87);}),this[_0x2fc50c(0x156)][_0x2fc50c(0xfe)](_0xd991ae));}}this['_otherFormulaData'][_0x2fc50c(0xfe)](_0x3ae87b);}}}[_0x1733f8(0xd7)](_0x2f8aed,_0x4d85f4,_0x1d2310,_0x4bd8a8){const _0x1ed1f3=_0x1733f8;this[_0x1ed1f3(0xec)][_0x1ed1f3(0x12a)](_0x2f8aed)||this[_0x1ed1f3(0xec)][_0x1ed1f3(0xe2)](_0x2f8aed,new Map());const _0x3b02ed=this[_0x1ed1f3(0xec)][_0x1ed1f3(0x10d)](_0x2f8aed);_0x3b02ed[_0x1ed1f3(0x12a)](_0x4d85f4)||_0x3b02ed[_0x1ed1f3(0xe2)](_0x4d85f4,new Map()),_0x3b02ed['get'](_0x4d85f4)[_0x1ed1f3(0xe2)](_0x1d2310,_0x4bd8a8[_0x1ed1f3(0xfb)]);}['removeFeatureFormulaDependency'](_0x1dbfcf,_0x54ef8a,_0x1d579b){const _0xf335b0=_0x1733f8,_0x1e9ac4=this['_featureFormulaData'][_0xf335b0(0x10d)](_0x1dbfcf);if(_0x1e9ac4&&_0x1e9ac4['has'](_0x54ef8a)){const _0x5182a4=_0x1e9ac4[_0xf335b0(0x10d)](_0x54ef8a);_0x1d579b['forEach'](_0x376bdc=>{const _0x3fe736=_0xf335b0,_0x468ee9=_0x5182a4[_0x3fe736(0x10d)](_0x376bdc);_0x468ee9!=null&&(this['_removeDependencyRTreeCache'](_0x468ee9),_0x5182a4['delete'](_0x376bdc),this[_0x3fe736(0xd1)](_0x468ee9));});}}['clearFeatureFormulaDependency'](_0x13287b,_0x483b4d){const _0x268186=_0x1733f8,_0xb5233a=this[_0x268186(0xec)]['get'](_0x13287b);if(_0x483b4d&&_0xb5233a&&_0xb5233a['has'](_0x483b4d)){const _0x2459d9=_0xb5233a[_0x268186(0x10d)](_0x483b4d);this[_0x268186(0x97)](_0x13287b,_0x483b4d),_0x2459d9[_0x268186(0x140)](_0x44ff68=>{const _0x42f55e=_0x268186;_0x44ff68!=null&&this[_0x42f55e(0xd1)](_0x44ff68);}),_0x2459d9['clear']();}else _0xb5233a&&(_0xb5233a[_0x268186(0x140)]((_0x38a207,_0x2b66e6)=>{const _0x3522d3=_0x268186;this[_0x3522d3(0x97)](_0x13287b,_0x2b66e6),_0x38a207[_0x3522d3(0x140)](_0x3b2496=>{const _0x13d59a=_0x3522d3;_0x3b2496!=null&&this[_0x13d59a(0xd1)](_0x3b2496);});}),this[_0x268186(0xec)]['delete'](_0x13287b));}['addFormulaDependency'](_0x7e4b93,_0x1be16d,_0x562972,_0x232ca3,_0x2f3d34){const _0x278ac3=_0x1733f8;this['_formulaData'][_0x278ac3(0x12a)](_0x7e4b93)||this[_0x278ac3(0x17b)][_0x278ac3(0xe2)](_0x7e4b93,new Map());const _0xc0d802=this[_0x278ac3(0x17b)][_0x278ac3(0x10d)](_0x7e4b93);_0xc0d802[_0x278ac3(0x12a)](_0x1be16d)||_0xc0d802[_0x278ac3(0xe2)](_0x1be16d,new w[(_0x278ac3(0x158))]()),_0xc0d802[_0x278ac3(0x10d)](_0x1be16d)[_0x278ac3(0xd5)](_0x562972,_0x232ca3,_0x2f3d34[_0x278ac3(0xfb)]);}[_0x1733f8(0x100)](_0x545dc1,_0x543af3,_0xbe5309,_0x3aebea){const _0x249c6c=_0x1733f8,_0x327ff7=this['_formulaData'][_0x249c6c(0x10d)](_0x545dc1);if(_0x327ff7&&_0x327ff7[_0x249c6c(0x12a)](_0x543af3)){const _0x5768a6=_0x327ff7[_0x249c6c(0x10d)](_0x543af3),_0x138acc=_0x5768a6['getValue'](_0xbe5309,_0x3aebea);if(_0x138acc==null)return;this['_removeDependencyRTreeCache'](_0x138acc),_0x5768a6[_0x249c6c(0xa9)](_0xbe5309,_0x3aebea),this[_0x249c6c(0xd1)](_0x138acc);}}[_0x1733f8(0x143)](_0x55859a,_0x2531a3){const _0x1120ca=_0x1733f8,_0xbf1ef4=this[_0x1120ca(0x17b)][_0x1120ca(0x10d)](_0x55859a);if(_0x2531a3&&_0xbf1ef4&&_0xbf1ef4[_0x1120ca(0x12a)](_0x2531a3)){const _0x240ef5=_0xbf1ef4['get'](_0x2531a3);this[_0x1120ca(0x97)](_0x55859a,_0x2531a3),_0x240ef5[_0x1120ca(0x166)]((_0x2d5095,_0x50d3be,_0x59fcdf)=>{const _0x1910d9=_0x1120ca;if(_0x59fcdf==null)return!0x0;this[_0x1910d9(0xd1)](_0x59fcdf);}),_0x240ef5[_0x1120ca(0x14c)]();}else _0xbf1ef4&&(_0xbf1ef4[_0x1120ca(0x140)]((_0x9a339c,_0x3ce6d3)=>{const _0x550fac=_0x1120ca;this[_0x550fac(0x97)](_0x55859a,_0x3ce6d3),_0x9a339c[_0x550fac(0x166)]((_0xb3ad5f,_0x54778e,_0x34785e)=>{if(_0x34785e==null)return!0x0;this['_removeAllTreeMap'](_0x34785e);});}),this[_0x1120ca(0x17b)][_0x1120ca(0xfe)](_0x55859a));}[_0x1733f8(0x99)](_0xf62003){const _0x2d10eb=_0x1733f8;if(_0xf62003==null)return;const _0x4e1d71=this[_0x2d10eb(0xc0)][_0x2d10eb(0x10d)](_0xf62003);if(_0x4e1d71){const _0x138d92=[];for(const [_0x4baa92,_0x36e25b]of _0x4e1d71)for(const [_0x337679,_0x20611e]of _0x36e25b)_0x138d92[_0x2d10eb(0x120)]({'unitId':_0x4baa92,'sheetId':_0x337679,'range':_0x20611e,'id':_0xf62003});this['_dependencyRTreeCache'][_0x2d10eb(0xe5)](_0x138d92);}}[_0x1733f8(0x98)](_0x42cfc9,_0x342c14){const _0x2bb518=_0x1733f8,_0x50f946=this['_definedNameMap'][_0x2bb518(0x10d)](_0x42cfc9);if(_0x50f946){const _0x5005dd=_0x50f946[_0x2bb518(0x10d)](_0x342c14);if(_0x5005dd){for(const _0x410dcc of _0x5005dd)this[_0x2bb518(0x99)](_0x410dcc),this['_removeAllTreeMap'](_0x410dcc);_0x5005dd[_0x2bb518(0xb3)]();}}}['openKdTree'](){const _0x48d12a=_0x1733f8;this[_0x48d12a(0x172)][_0x48d12a(0x129)]();}['closeKdTree'](){const _0x586e3a=_0x1733f8;this[_0x586e3a(0x172)][_0x586e3a(0x12f)]();}[_0x1733f8(0xd1)](_0x279a0d){const _0x333d68=_0x1733f8;_0x279a0d!=null&&this[_0x333d68(0xc0)][_0x333d68(0xfe)](_0x279a0d);}[_0x1733f8(0xd9)](_0x546eb5){const _0x160b36=_0x1733f8;var _0x407166,_0x2ae85f;const _0x35fee1=_0x546eb5[_0x160b36(0x108)];let _0x1ef1bb=this[_0x160b36(0xc0)][_0x160b36(0x10d)](_0x546eb5[_0x160b36(0xfb)]);for(let _0x4e6c3b=0x0;_0x4e6c3b<_0x35fee1[_0x160b36(0x90)];_0x4e6c3b++){const _0x4c8caa=_0x35fee1[_0x4e6c3b];let {unitId:_0x2c5d71,sheetId:_0x133de1,range:_0x266abc}=_0x4c8caa;_0x1ef1bb||(_0x1ef1bb=new Map(),this[_0x160b36(0xc0)][_0x160b36(0xe2)](_0x546eb5[_0x160b36(0xfb)],_0x1ef1bb)),_0x1ef1bb[_0x160b36(0x12a)](_0x2c5d71)||_0x1ef1bb[_0x160b36(0xe2)](_0x2c5d71,new Map());const _0x2de08f=(_0x407166=_0x1ef1bb==null?void 0x0:_0x1ef1bb[_0x160b36(0x10d)](_0x2c5d71))==null?void 0x0:_0x407166[_0x160b36(0x10d)](_0x133de1);_0x2de08f&&(_0x266abc={'startRow':Math[_0x160b36(0x165)](_0x266abc[_0x160b36(0xee)],_0x2de08f['startRow']),'startColumn':Math['min'](_0x266abc['startColumn'],_0x2de08f[_0x160b36(0xa5)]),'endRow':Math[_0x160b36(0xff)](_0x266abc[_0x160b36(0x11c)],_0x2de08f[_0x160b36(0x11c)]),'endColumn':Math[_0x160b36(0xff)](_0x266abc[_0x160b36(0x8a)],_0x2de08f[_0x160b36(0x8a)])}),(_0x2ae85f=_0x1ef1bb['get'](_0x2c5d71))==null||_0x2ae85f[_0x160b36(0xe2)](_0x133de1,_0x266abc);}}}var Y=Object[_0x1733f8(0xb7)],j=(_0x35bbf2,_0x550b35,_0x5d8c5c,_0x5dde9e)=>{const _0x45f229=_0x1733f8;for(var _0x4e0cd6=_0x5dde9e>0x1?void 0x0:_0x5dde9e?Y(_0x550b35,_0x5d8c5c):_0x550b35,_0x41335c=_0x35bbf2[_0x45f229(0x90)]-0x1,_0x29ac17;_0x41335c>=0x0;_0x41335c--)(_0x29ac17=_0x35bbf2[_0x41335c])&&(_0x4e0cd6=_0x29ac17(_0x4e0cd6)||_0x4e0cd6);return _0x4e0cd6;};const $=Number[_0x1733f8(0x167)](0x69465de9);exports[_0x1733f8(0x8c)]=class extends a[_0x1733f8(0x11f)]{[_0x1733f8(0x12d)](){const _0x2ff67c=_0x1733f8;var _0x36f522,_0x334425;this[_0x2ff67c(0x15b)]()?(this[_0x2ff67c(0x91)]['add']([a['LexerTreeBuilder'],{'useClass':A}]),(_0x36f522=this['_config'])!=null&&_0x36f522[_0x2ff67c(0x13f)]||[[a[_0x2ff67c(0x178)],{'useClass':V}],[a[_0x2ff67c(0x14d)],{'useClass':K}],[a[_0x2ff67c(0xcf)],{'useClass':b}]]['forEach'](_0x269a17=>this[_0x2ff67c(0x91)][_0x2ff67c(0x135)](_0x269a17))):(this['_injector'][_0x2ff67c(0x135)]([a['LexerTreeBuilder'],{'useClass':a[_0x2ff67c(0x8d)]}]),(_0x334425=this[_0x2ff67c(0x122)])!=null&&_0x334425[_0x2ff67c(0x13f)]||[[a[_0x2ff67c(0x178)],{'useClass':a[_0x2ff67c(0x10b)]}],[a[_0x2ff67c(0x14d)],{'useClass':a['DependencyManagerService']}],[a[_0x2ff67c(0xcf)],{'useClass':a[_0x2ff67c(0x175)]}]][_0x2ff67c(0x140)](_0x735f48=>this[_0x2ff67c(0x91)][_0x2ff67c(0x135)](_0x735f48)));}[_0x1733f8(0x15b)](){const _0x3fb44b=_0x1733f8;var _0x2b9711;const _0xaf8973=(_0x2b9711=this[_0x3fb44b(0x11d)][_0x3fb44b(0xf0)](x[_0x3fb44b(0x9e)]))!=null?_0x2b9711:{},{ls:_0x4c1955,pbk:_0xdf4cae}=_0xaf8973;if(!_0x4c1955||!_0xdf4cae)return!0x1;const _0x1d4c64=x['unshiftString'](B,k),_0x23a7bd=new Function(_0x3fb44b(0x104)+_0x1d4c64)()(_0x4c1955,_0xdf4cae),_0x2d1521=_0x23a7bd[_0x3fb44b(0x88)];return _0x23a7bd[_0x3fb44b(0xcd)]&&x[_0x3fb44b(0x128)](_0x2d1521,'sf',$)?x[_0x3fb44b(0x12b)](_0x2d1521,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x1733f8(0x8c)]=j([w[_0x1733f8(0xef)](x[_0x1733f8(0xdf)])],exports[_0x1733f8(0x8c)]),exports['LexerTreeProBuilder']=A,Object['keys'](a)[_0x1733f8(0x140)](_0x1baed0=>{const _0x2dcd99=_0x1733f8;_0x1baed0!==_0x2dcd99(0xae)&&!Object[_0x2dcd99(0x160)][_0x2dcd99(0xb2)]['call'](exports,_0x1baed0)&&Object[_0x2dcd99(0xa1)](exports,_0x1baed0,{'enumerable':!0x0,'get':()=>a[_0x1baed0]});});
|
|
1
|
+
'use strict';const _0x5ca26e=_0x2d72;(function(_0x504541,_0x4795ce){const _0x2c5f30=_0x2d72,_0x443b96=_0x504541();while(!![]){try{const _0x3c2fba=-parseInt(_0x2c5f30(0x175))/0x1+parseInt(_0x2c5f30(0x156))/0x2+parseInt(_0x2c5f30(0x1ce))/0x3*(parseInt(_0x2c5f30(0x1d3))/0x4)+-parseInt(_0x2c5f30(0x176))/0x5+parseInt(_0x2c5f30(0xf8))/0x6+-parseInt(_0x2c5f30(0x18f))/0x7*(-parseInt(_0x2c5f30(0x1b6))/0x8)+-parseInt(_0x2c5f30(0x113))/0x9;if(_0x3c2fba===_0x4795ce)break;else _0x443b96['push'](_0x443b96['shift']());}catch(_0x131d1e){_0x443b96['push'](_0x443b96['shift']());}}}(_0x3dd3,0xadc08));var b=Object[_0x5ca26e(0x10a)],J=(_0x11819c,_0x3eb9be,_0xc37cae)=>_0x3eb9be in _0x11819c?b(_0x11819c,_0x3eb9be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc37cae}):_0x11819c[_0x3eb9be]=_0xc37cae,y=(_0x4b2909,_0x179f6e,_0x1941a6)=>J(_0x4b2909,typeof _0x179f6e!=_0x5ca26e(0x133)?_0x179f6e+'':_0x179f6e,_0x1941a6);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const c=require('@univerjs/engine-formula'),N=require('@univerjs-pro/license'),v=require('@univerjs/core');class B extends c[_0x5ca26e(0x1c5)]{constructor(){const _0x99f75=_0x5ca26e;super(...arguments),y(this,'_hasNewExcelFunction',!0x1),y(this,'_lambdaFunctionParameterSet',new Set()),y(this,_0x99f75(0xf6),_0x99f75(0xfe)),y(this,_0x99f75(0x116),_0x99f75(0x191)),y(this,_0x99f75(0x1a4),'');}['_resetPrefix'](){const _0x1d14bf=_0x5ca26e;this[_0x1d14bf(0xf6)]=_0x1d14bf(0xfe),this[_0x1d14bf(0x116)]=_0x1d14bf(0x191);}[_0x5ca26e(0x108)](){const _0x2d0970=_0x5ca26e;this[_0x2d0970(0xf6)]='',this[_0x2d0970(0x116)]='';}[_0x5ca26e(0x15a)](_0x284c4c,_0x43e8bc){const _0x544029=_0x5ca26e,_0x4b0ed6=this['treeBuilder'](_0x284c4c,!0x1);if(!_0x4b0ed6||_0x4b0ed6===c[_0x544029(0x16e)][_0x544029(0x147)]||Array[_0x544029(0x173)](_0x4b0ed6))return null;const _0x39fd51=[];return this['_hasNewExcelFunction']=!0x1,this[_0x544029(0x1bf)](_0x4b0ed6,_0x39fd51,_0x43e8bc),this[_0x544029(0x17b)]?'='+_0x39fd51['join'](''):null;}[_0x5ca26e(0x1bf)](_0x194b4c,_0x28ce82,_0x47ee01){const _0x8dfef5=_0x5ca26e,_0x33285c=_0x194b4c['getToken'](),_0x3840a5=_0x33285c[_0x8dfef5(0x11b)](),_0x68fcc9=_0x3840a5[_0x8dfef5(0x117)](),_0x124cfd=this[_0x8dfef5(0x178)](_0x68fcc9),_0x209617=_0x47ee01(_0x124cfd);let _0x3f571f=0x0;_0x33285c===c['DEFAULT_TOKEN_TYPE_ROOT']?_0x3f571f=0x3:_0x33285c===c[_0x8dfef5(0x13b)]?_0x3f571f=0x4:_0x33285c===c[_0x8dfef5(0x153)]?_0x3f571f=0x5:c[_0x8dfef5(0x19c)]['has'](_0x124cfd)?(_0x28ce82['push'](''+this[_0x8dfef5(0x116)]+_0x3840a5),this[_0x8dfef5(0x17b)]=!0x0):_0x68fcc9===c[_0x8dfef5(0x12f)]?(_0x28ce82[_0x8dfef5(0x189)](''+this[_0x8dfef5(0x116)]+_0x3840a5),this[_0x8dfef5(0x17b)]=!0x0,_0x3f571f=0x2):_0x68fcc9===c[_0x8dfef5(0x182)]?(_0x28ce82[_0x8dfef5(0x189)](''+this[_0x8dfef5(0x116)]+_0x3840a5),this['_hasNewExcelFunction']=!0x0,_0x3f571f=0x1):_0x68fcc9===c[_0x8dfef5(0x16d)][_0x8dfef5(0x10d)]?_0x3f571f=0x8:c[_0x8dfef5(0x150)][_0x8dfef5(0x1bd)](_0x68fcc9)?_0x3f571f=0x7:_0x68fcc9===c[_0x8dfef5(0x126)][_0x8dfef5(0x10b)]?(this[_0x8dfef5(0x1b2)](_0x194b4c)&&(_0x3f571f=0x9),_0x28ce82[_0x8dfef5(0x189)](_0x33285c)):(_0x28ce82[_0x8dfef5(0x189)](_0x33285c),_0x3f571f=0xa),_0x209617?(_0x3f571f!==0x2&&_0x3f571f!==0x1&&(_0x3f571f=0x6),_0x28ce82[_0x8dfef5(0x189)]('(')):_0x3f571f===0x9&&_0x28ce82[_0x8dfef5(0x189)]('(');const _0x35ee7e=_0x194b4c[_0x8dfef5(0x1e4)](),_0x3abbd6=_0x35ee7e[_0x8dfef5(0xf2)];if(_0x3f571f===0x2){const _0x4a142c=_0x35ee7e[0x0];let _0x10b967=0x0;_0x4a142c instanceof c[_0x8dfef5(0x152)]&&_0x4a142c[_0x8dfef5(0xee)]()===c[_0x8dfef5(0x153)]&&(_0x10b967=0x1);for(let _0xdd53e4=_0x10b967;_0xdd53e4<_0x3abbd6-0x1;_0xdd53e4++){const _0x24c369=_0x35ee7e[_0xdd53e4];if(_0x24c369 instanceof c[_0x8dfef5(0x152)]){const _0x694234=_0x24c369['getChildren']()[0x0];typeof _0x694234=='string'&&(this['_lambdaFunctionParameterSet'][_0x8dfef5(0x1bd)](_0x694234)&&console[_0x8dfef5(0x1a6)](_0x8dfef5(0x14e)+_0x694234+'\x22\x20is\x20duplicated.'),this[_0x8dfef5(0x1ab)][_0x8dfef5(0x14f)](_0x694234),_0x28ce82['push'](''+this[_0x8dfef5(0xf6)]+_0x694234),this[_0x8dfef5(0x17b)]=!0x0);}_0x28ce82['push'](',');}this[_0x8dfef5(0x19b)](_0x35ee7e[_0x3abbd6-0x1],_0x28ce82,_0x47ee01),_0x10b967===0x1&&(_0x28ce82[_0x8dfef5(0x189)](')'),_0x28ce82['push']('('),this[_0x8dfef5(0x1bf)](_0x4a142c,_0x28ce82,_0x47ee01)),_0x28ce82[_0x8dfef5(0x189)](')');return;}else{if(_0x3f571f===0x1){for(let _0x5bbf85=0x0;_0x5bbf85<_0x3abbd6-0x1;_0x5bbf85++){const _0x2cec12=_0x35ee7e[_0x5bbf85];if(_0x2cec12 instanceof c[_0x8dfef5(0x152)]&&_0x5bbf85%0x2===0x0){const _0x3e1f0d=_0x2cec12['getChildren']()[0x0];if(typeof _0x3e1f0d==_0x8dfef5(0x141)){this[_0x8dfef5(0x1ab)][_0x8dfef5(0x1bd)](_0x3e1f0d)&&console[_0x8dfef5(0x1a6)]('Let\x20variable\x20name\x20\x22'+_0x3e1f0d+_0x8dfef5(0x1aa)),this[_0x8dfef5(0x1ab)][_0x8dfef5(0x14f)](_0x3e1f0d),_0x28ce82[_0x8dfef5(0x189)](''+this['_xlpmPrefix']+_0x3e1f0d),this[_0x8dfef5(0x17b)]=!0x0,_0x28ce82[_0x8dfef5(0x189)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2cec12,_0x28ce82,_0x47ee01),_0x2cec12 instanceof c[_0x8dfef5(0x152)]){const _0x335a8f=_0x35ee7e[_0x5bbf85+0x1];_0x335a8f&&_0x335a8f instanceof c[_0x8dfef5(0x152)]&&_0x28ce82[_0x8dfef5(0x189)](',');}}this[_0x8dfef5(0x19b)](_0x35ee7e[_0x3abbd6-0x1],_0x28ce82,_0x47ee01),_0x28ce82[_0x8dfef5(0x189)](')');return;}else{if(_0x3f571f===0x8){const _0x4071df=_0x35ee7e[0x0],_0x7bdedf=_0x35ee7e[0x1];this['_handleNewFunctionChild'](_0x4071df,_0x28ce82,_0x47ee01),_0x28ce82[_0x8dfef5(0x189)](_0x33285c),this[_0x8dfef5(0x19b)](_0x7bdedf,_0x28ce82,_0x47ee01);return;}}}for(let _0x505e9a=0x0;_0x505e9a<_0x3abbd6;_0x505e9a++){const _0x5a4d4b=_0x35ee7e[_0x505e9a];if(this['_handleNewFunctionChild'](_0x5a4d4b,_0x28ce82,_0x47ee01),_0x5a4d4b instanceof c[_0x8dfef5(0x152)]){const _0x61d65f=_0x35ee7e[_0x505e9a+0x1];_0x61d65f&&_0x61d65f instanceof c[_0x8dfef5(0x152)]&&_0x28ce82[_0x8dfef5(0x189)](',');}}_0x3f571f===0x7&&_0x28ce82[_0x8dfef5(0x189)](_0x33285c),(_0x209617||_0x3f571f===0x9)&&_0x28ce82[_0x8dfef5(0x189)](')');}[_0x5ca26e(0x19b)](_0x1a6d64,_0x12d54d,_0x38df37){const _0x115369=_0x5ca26e;_0x1a6d64 instanceof c['LexerNode']?this[_0x115369(0x1bf)](_0x1a6d64,_0x12d54d,_0x38df37):this[_0x115369(0x1ab)][_0x115369(0x1bd)](_0x1a6d64)?(_0x12d54d['push'](''+this['_xlpmPrefix']+_0x1a6d64),this[_0x115369(0x17b)]=!0x0):_0x12d54d[_0x115369(0x189)](_0x1a6d64);}[_0x5ca26e(0x178)](_0x1e8bcc){const _0x5bb013=_0x5ca26e;let _0x3f0cae=_0x1e8bcc[_0x5bb013(0x11b)]();if(!_0x3f0cae)return _0x3f0cae;const _0x309470=_0x3f0cae[0x0];if((_0x309470===c['prefixToken']['AT']||_0x309470===c['prefixToken'][_0x5bb013(0x10b)]||_0x309470===c[_0x5bb013(0x126)]['PLUS'])&&(_0x3f0cae=_0x3f0cae['slice'](0x1)),!_0x3f0cae)return _0x3f0cae;const _0x12412e=_0x3f0cae[_0x3f0cae[_0x5bb013(0xf2)]-0x1];return c[_0x5bb013(0x150)]['has'](_0x12412e)&&(_0x3f0cae=_0x3f0cae[_0x5bb013(0x132)](0x0,-0x1)),_0x3f0cae;}[_0x5ca26e(0x1b2)](_0x438183){const _0x590c18=_0x5ca26e,_0x29e661=_0x438183[_0x590c18(0x1e4)]()[0x0];if(!_0x29e661||!(_0x29e661 instanceof c[_0x590c18(0x152)])||_0x438183[_0x590c18(0x1e4)]()[_0x590c18(0xf2)]>0x1)return!0x1;const _0x524a15=_0x29e661['getChildren'](),_0x43dd63=_0x524a15[_0x590c18(0xf2)];if(_0x43dd63===0x1)return!0x1;for(let _0x4e94f0=0x0;_0x4e94f0<_0x43dd63;_0x4e94f0++){const _0x2683d4=_0x524a15[_0x4e94f0];if(!(_0x2683d4 instanceof c[_0x590c18(0x152)])&&c['OPERATOR_TOKEN_SET'][_0x590c18(0x1bd)](_0x2683d4))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x1d7a79,_0x202512,_0x116d66,_0x3e8982,_0x2d9320){const _0x1e8c86=_0x5ca26e,_0x23f1cc=this[_0x1e8c86(0x15c)](_0x1d7a79,!0x1);if(!_0x23f1cc||_0x23f1cc===c[_0x1e8c86(0x16e)][_0x1e8c86(0x147)]||Array[_0x1e8c86(0x173)](_0x23f1cc))return null;this[_0x1e8c86(0x108)](),this[_0x1e8c86(0x1a4)]=_0x202512;const _0x535fd1=this['_generateExprTree'](_0x23f1cc,_0x116d66,_0x3e8982,_0x2d9320);return this[_0x1e8c86(0x1a4)]='',this[_0x1e8c86(0x118)](),_0x535fd1;}[_0x5ca26e(0x15e)](_0x3c45bc,_0x42cec9,_0x39c424,_0x5306e9){const _0x8a4dcf=_0x5ca26e,_0xcb6fd4={'value':'','children':[],'startIndex':0x0};let _0x56357c=_0x3c45bc;if(_0x56357c instanceof c[_0x8a4dcf(0x152)]&&(_0x56357c[_0x8a4dcf(0xee)]()===c['DEFAULT_TOKEN_TYPE_ROOT']||_0x56357c[_0x8a4dcf(0xee)]()===c['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x56357c[_0x8a4dcf(0x1e4)]()['length']===0x1&&(_0x56357c=_0x56357c['getChildren']()[0x0]),!(_0x56357c instanceof c[_0x8a4dcf(0x152)]))return this[_0x8a4dcf(0x1a2)](_0x56357c,_0x39c424,_0x5306e9);const _0x3ca107=_0x56357c['getChildren'](),_0x1bf990=_0x3ca107[_0x8a4dcf(0xf2)],_0x1fb1ba=[];this[_0x8a4dcf(0x1bf)](_0x56357c,_0x1fb1ba,_0x42cec9),_0xcb6fd4[_0x8a4dcf(0x18d)]=_0x1fb1ba['join'](''),_0xcb6fd4[_0x8a4dcf(0xf5)]=_0x56357c[_0x8a4dcf(0x19e)]();const _0x50f835=this[_0x8a4dcf(0x17c)](_0x56357c);if(_0x50f835===0x2){const _0x4dd161=_0x3ca107[0x0];if(_0x4dd161 instanceof c[_0x8a4dcf(0x152)]){if(_0x4dd161[_0x8a4dcf(0xee)]()[_0x8a4dcf(0x11b)]()!==c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0xcb6fd4;this[_0x8a4dcf(0x120)](_0x4dd161,_0xcb6fd4,_0x42cec9,_0x39c424,_0x5306e9);}return _0xcb6fd4;}else{if(_0x50f835===0x1){for(let _0x1537e0=0x0;_0x1537e0<_0x1bf990-0x1;_0x1537e0++){const _0x128e4b=_0x3ca107[_0x1537e0];if(_0x128e4b instanceof c[_0x8a4dcf(0x152)]&&_0x1537e0%0x2===0x1){const _0xcb3081=_0x128e4b[_0x8a4dcf(0x1e4)]();if(_0xcb3081[_0x8a4dcf(0xf2)]===0x1&&!(_0xcb3081[0x0]instanceof c[_0x8a4dcf(0x152)]))continue;const _0x2eb11a=this[_0x8a4dcf(0x15e)](_0x128e4b,_0x42cec9,_0x39c424,_0x5306e9);_0x2eb11a&&_0xcb6fd4[_0x8a4dcf(0x101)][_0x8a4dcf(0x189)](_0x2eb11a);}}return _0xcb6fd4;}else{if(_0x50f835===0x8){const _0x485e78=_0x3ca107[0x0];if(_0x485e78 instanceof c[_0x8a4dcf(0x152)]){const _0x5c0fac=_0x485e78[_0x8a4dcf(0x1e4)]()[0x0];_0x5c0fac instanceof c['LexerNode']&&(_0xcb6fd4['startIndex']=_0x5c0fac[_0x8a4dcf(0x19e)]());}if(this[_0x8a4dcf(0x131)](_0x56357c))return _0xcb6fd4;}else{if(_0x50f835===0x7){const _0x32ba7f=_0x3ca107[0x0];if(_0x32ba7f instanceof c['LexerNode']){const _0x5cc092=_0x32ba7f[_0x8a4dcf(0x1e4)]()[0x0];_0x5cc092 instanceof c[_0x8a4dcf(0x152)]&&(_0xcb6fd4[_0x8a4dcf(0xf5)]=_0x5cc092[_0x8a4dcf(0x19e)]());}}}}}return this['_handleChildrenForExprTree'](_0x3ca107,_0x50f835,_0xcb6fd4,_0x42cec9,_0x39c424,_0x5306e9),_0xcb6fd4;}[_0x5ca26e(0xef)](_0x2dbe6b,_0x14e676,_0x189356,_0x293861,_0x3ffc11,_0xa8d797){const _0x34f353=_0x5ca26e;for(let _0x28e706=0x0;_0x28e706<_0x2dbe6b[_0x34f353(0xf2)];_0x28e706++){let _0x42ab3d=_0x2dbe6b[_0x28e706];if(!(_0x42ab3d instanceof c['LexerNode'])){const _0x229f47=this[_0x34f353(0x1a2)](_0x42ab3d,_0x3ffc11,_0xa8d797);_0x229f47&&_0x189356[_0x34f353(0x101)][_0x34f353(0x189)](_0x229f47);continue;}const _0x527c8a=_0x42ab3d[_0x34f353(0x1e4)]();if(_0x527c8a['length']===0x1&&!(_0x527c8a[0x0]instanceof c[_0x34f353(0x152)])){const _0xa8c84c=_0x527c8a[0x0];if(!_0x3ffc11(this[_0x34f353(0x1a4)],_0xa8c84c)&&!this[_0x34f353(0x11f)](_0xa8c84c,_0xa8d797)&&!c[_0x34f353(0x195)](_0xa8c84c))continue;}if(_0x14e676===0x8){const _0x1b6e76=_0x527c8a[0x0];if(_0x1b6e76 instanceof c[_0x34f353(0x152)]){const _0x3a11ff=_0x1b6e76[_0x34f353(0xee)]()['trim']();if(c[_0x34f353(0x195)](_0x3a11ff))continue;_0x42ab3d=_0x1b6e76;}}const _0x18708a=this[_0x34f353(0x15e)](_0x42ab3d,_0x293861,_0x3ffc11,_0xa8d797);_0x18708a&&_0x189356[_0x34f353(0x101)]['push'](_0x18708a);}}[_0x5ca26e(0x131)](_0x1cbc4d){const _0x2c0b60=_0x5ca26e,_0x2a7771=_0x1cbc4d['getChildren']();if(_0x2a7771[_0x2c0b60(0xf2)]<0x2)return!0x1;const _0x4ff24a=_0x2a7771[0x0],_0x35ae80=_0x2a7771[0x1];if(!(_0x4ff24a instanceof c['LexerNode'])||!(_0x35ae80 instanceof c[_0x2c0b60(0x152)]))return!0x1;const _0xa0f9e5=_0x4ff24a['getChildren']()[0x0],_0x294849=_0x35ae80[_0x2c0b60(0x1e4)]()[0x0];if(!(_0xa0f9e5 instanceof c['LexerNode'])||!(_0x294849 instanceof c[_0x2c0b60(0x152)]))return!0x1;const _0xfec503=_0xa0f9e5[_0x2c0b60(0xee)]()[_0x2c0b60(0x11b)](),_0x44e90b=_0x294849[_0x2c0b60(0xee)]()[_0x2c0b60(0x11b)]();return!!c[_0x2c0b60(0x195)](''+_0xfec503+c[_0x2c0b60(0x16d)][_0x2c0b60(0x10d)]+_0x44e90b);}['_handleTextNodeForExprTree'](_0xc83913,_0x35c9b4,_0x412912){const _0x113c65=_0x5ca26e,_0x2f6f89=_0xc83913[_0x113c65(0x11b)]();return _0x2f6f89['startsWith']('{')&&_0x2f6f89['endsWith']('}')||_0x35c9b4(this[_0x113c65(0x1a4)],_0x2f6f89)||this[_0x113c65(0x11f)](_0x2f6f89,_0x412912)||c[_0x113c65(0x195)](_0x2f6f89)?{'value':_0x2f6f89,'children':[],'startIndex':-0x1}:null;}[_0x5ca26e(0x11f)](_0x3a5dd2,_0x4dffa0){const _0x35d95d=_0x5ca26e,{tableName:_0x4247c8}=c[_0x35d95d(0x1b5)](_0x3a5dd2);return _0x4dffa0(this[_0x35d95d(0x1a4)],_0x4247c8)?_0x4247c8:null;}[_0x5ca26e(0x120)](_0x37bd61,_0x3b2f89,_0x4dc56d,_0x4c932d,_0x3a04b7){const _0x5776f2=_0x5ca26e,_0x455c10=_0x37bd61[_0x5776f2(0x1e4)]();for(let _0x4ae0e6=0x0;_0x4ae0e6<_0x455c10['length'];_0x4ae0e6++){const _0x2e3c9a=_0x455c10[_0x4ae0e6];if(!(_0x2e3c9a instanceof c[_0x5776f2(0x152)]))continue;const _0x16a7f5=_0x2e3c9a['getChildren']();if(_0x16a7f5[_0x5776f2(0xf2)]===0x1&&!(_0x16a7f5[0x0]instanceof c[_0x5776f2(0x152)]))continue;const _0x21f53e=this[_0x5776f2(0x15e)](_0x2e3c9a,_0x4dc56d,_0x4c932d,_0x3a04b7);_0x21f53e&&_0x3b2f89[_0x5776f2(0x101)][_0x5776f2(0x189)](_0x21f53e);}}[_0x5ca26e(0x17c)](_0x482b4c){const _0x453454=_0x5ca26e,_0x490022=_0x482b4c[_0x453454(0xee)](),_0x26dc34=_0x490022['trim']()[_0x453454(0x117)]();let _0x4fe333=0x0;return _0x490022===c[_0x453454(0x1de)]?_0x4fe333=0x3:_0x490022===c['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x4fe333=0x4:_0x490022===c[_0x453454(0x153)]?_0x4fe333=0x5:_0x26dc34===c[_0x453454(0x12f)]?_0x4fe333=0x2:_0x26dc34===c[_0x453454(0x182)]?_0x4fe333=0x1:_0x26dc34===c['matchToken'][_0x453454(0x10d)]?_0x4fe333=0x8:c[_0x453454(0x150)][_0x453454(0x1bd)](_0x26dc34)?_0x4fe333=0x7:_0x26dc34===c[_0x453454(0x126)][_0x453454(0x10b)]?this['_checkAddBracketForMinus'](_0x482b4c)&&(_0x4fe333=0x9):_0x4fe333=0xa,_0x4fe333;}}const K={0x0:'j',0x1:'U',0x2:'V',0x3:'t',0x4:'q',0x5:'l',0x6:'s',0x7:'4',0x8:'H',0x9:'g','u':'0','k':'1','Q':'2','A':'3','W':'5','D':'6','U':'7','M':'8','Y':'9','m':'a','g':'b','C':'c','J':'d','c':'e','F':'f','l':'h','x':'i','r':'k','T':'m','p':'n','s':'o','z':'p','B':'r','q':'u','o':'v','b':'w','v':'x','h':'y','y':'z','f':'A','O':'B','n':'C','i':'D','S':'E','H':'F','G':'G','a':'I','t':'J','d':'K','j':'L','I':'M','V':'N','e':'O','E':'P','R':'Q','Z':'R','K':'S','L':'T','N':'W','X':'X','w':'Y','P':'Z'},q='/*\x20c65xp3-Jx6mg5c\x20zBcFcB-3cTz5m3c\x20*/FqpC3xsp\x20JcCBhz3xsp(5xCcp6c,\x20zqg5xCdch)\x20{\x20\x20\x20\x203Bh\x20{\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x205xCcp6capFsEmB3fBBmh\x20=\x205xCcp6c.6z5x3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20sBx9xpIc66m9c\x20=\x20tKeV.zmB6c(m3sg(5xCcp6capFsEmB3fBBmh[Q]));\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(!sBx9xpIc66m9c.qJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sBx9xpIc66m9c.qJ\x20=\x20VqTgcB(5xCcp6capFsEmB3fBBmh[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6NsBrcB\x20=\x203hzcsF\x20NsBrcBG5sgm5KCszc\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x206c5F\x20xp63mpCcsF\x20NsBrcBG5sgm5KCszc;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6OBsb6cB\x20=\x203hzcsF\x20bxpJsb\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x203hzcsF\x20bxpJsb.5sCm3xsp\x20!==\x20\x27qpJcFxpcJ\x27;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Csp3cv3\x20=\x20x6NsBrcB\x20?\x206c5F\x20:\x20(x6OBsb6cB\x20?\x20bxpJsb\x20:\x2095sgm5Llx6);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9cNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[Q]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9c\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(Tc66m9cNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBcNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[A]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBc\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(6x9pm3qBcNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9p2m5xJ\x20=\x20Csp3cv3.__ocBxFh__(6x9pm3qBc,\x20Tc66m9c,\x20zqg5xCdch);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20JsTmxp\x20=\x20sBx9xpIc66m9c.JT;\x20\x20\x20\x20\x20\x20\x20\x20FqpC3xsp\x20x6isTmxpIm3Clxp9(zm33cBp,\x20ls63)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp\x20===\x20ls63)\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp.63mB36Nx3l(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206qFFxv\x20=\x20zm33cBp.65xCc(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(6qFFxv\x20&&\x20!ls63.63mB36Nx3l(\x27.\x27)\x20&&\x20ls63\x20!==\x206qFFxv\x20&&\x20ls63.cpJ6Nx3l(\x27.\x27\x20+\x206qFFxv))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c3\x20JsTmxp2m5xJ\x20=\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(x6OBsb6cB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x20(JsTmxp\x20&&\x20JsTmxp.5cp93l)\x20?\x20JsTmxp.6sTc((JTa3cT)\x20=>\x20x6isTmxpIm3Clxp9(JTa3cT,\x205sCm3xsp.ls63pmTc))\x20:\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(5sCm3xsp.ls63pmTc\x20===\x20\x275sCm5ls63\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20c56c\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20om5xJ\x20=\x206x9p2m5xJ\x20&&\x20JsTmxp2m5xJ;\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20sBx9xpIc66m9c,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Cm3Cl\x20(cBBsB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ:\x20Fm56c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Y extends c[_0x5ca26e(0xed)]{constructor(){const _0x4c3ecd=_0x5ca26e;super(...arguments),y(this,_0x4c3ecd(0x179),new Map());}[_0x5ca26e(0x15b)](){const _0x47fc87=_0x5ca26e;super['dispose'](),this[_0x47fc87(0x179)][_0x47fc87(0x1dd)]();}async[_0x5ca26e(0x165)](_0x40f252=!0x1){const _0x1376a7=_0x5ca26e;this[_0x1376a7(0x17d)]();const _0xa527d7=this[_0x1376a7(0x186)][_0x1376a7(0x1c8)](),_0x53e0f4=this[_0x1376a7(0x13a)][_0x1376a7(0x17f)](),_0x22f307=this['_currentConfigService']['getClearDependencyTreeCache']();_0x22f307!=null&&Object[_0x1376a7(0x124)](_0x22f307)['forEach'](_0x56d2a3=>{const _0x9783f8=_0x1376a7;_0x56d2a3!=null&&Object[_0x9783f8(0x124)](_0x22f307[_0x56d2a3])['forEach'](_0x3b0d0a=>{const _0x527332=_0x9783f8;_0x3b0d0a!=null&&(this[_0x527332(0x16c)][_0x527332(0x196)](_0x56d2a3,_0x3b0d0a),this[_0x527332(0x16c)][_0x527332(0x157)](_0x56d2a3,_0x3b0d0a),this[_0x527332(0x16c)][_0x527332(0x1a9)](_0x56d2a3,_0x3b0d0a));});});const _0x9759c4=this[_0x1376a7(0x186)]['getUnitData']();await this['_generateTreeList'](_0xa527d7,_0x53e0f4,_0x9759c4),this[_0x1376a7(0x16c)][_0x1376a7(0x11c)]();const _0x2c32fa=this[_0x1376a7(0x10f)](),_0x40cdab=this[_0x1376a7(0x1ae)](_0x2c32fa);return this[_0x1376a7(0x1da)](_0x40cdab)&&this[_0x1376a7(0xf4)][_0x1376a7(0x171)](),_0x40f252&&this['_runtimeService'][_0x1376a7(0x17a)](this[_0x1376a7(0x1a5)](Array['from'](this[_0x1376a7(0x179)][_0x1376a7(0x1e6)]()))),this['_dependencyTreeCache'][_0x1376a7(0x1dd)](),this[_0x1376a7(0x1cd)][_0x1376a7(0x1dd)](),this[_0x1376a7(0x16c)][_0x1376a7(0x164)](),this['_runtimeService'][_0x1376a7(0x1b8)](),Promise[_0x1376a7(0x13e)](_0x40cdab);}[_0x5ca26e(0xfd)](_0x29abaf,_0x2e04c8){const _0x11c742=_0x5ca26e,_0x3b4d99=[_0x29abaf];for(;_0x3b4d99['length']>0x0;){const _0x4788c3=_0x3b4d99[_0x3b4d99['length']-0x1];if((_0x2e04c8[_0x11c742(0x143)](_0x4788c3)||0x0)===0x0){_0x2e04c8['set'](_0x4788c3,0x1);const _0x49d3a9=this['_dependencyTreeCache'][_0x11c742(0x143)](_0x4788c3);if(_0x49d3a9==null){_0x2e04c8[_0x11c742(0x19d)](_0x4788c3,0x2),_0x3b4d99[_0x11c742(0x129)]();continue;}const _0x383cba=this[_0x11c742(0x16c)][_0x11c742(0x18b)](_0x49d3a9['toRTreeItem']());for(const _0x4aab60 of _0x383cba){const _0x1d85a1=_0x2e04c8[_0x11c742(0x143)](_0x4aab60)||0x0;if(_0x1d85a1===0x1)return!0x0;_0x1d85a1===0x0&&_0x3b4d99[_0x11c742(0x189)](_0x4aab60);}}else _0x2e04c8['set'](_0x4788c3,0x2),_0x3b4d99['pop']();}return!0x1;}[_0x5ca26e(0x1da)](_0x8d40e8){const _0x1d50fc=_0x5ca26e,_0x1703f0=new Map();for(const _0x1aa3de of _0x8d40e8)if(!_0x1703f0[_0x1d50fc(0x1bd)](_0x1aa3de[_0x1d50fc(0x139)])&&this[_0x1d50fc(0xfd)](_0x1aa3de[_0x1d50fc(0x139)],_0x1703f0))return!0x0;return _0x1703f0[_0x1d50fc(0x1dd)](),!0x1;}[_0x5ca26e(0x112)](_0x133a34,_0x3ebb2c,_0x1140c3){const _0x4c8487=_0x5ca26e,{unitId:_0x17198e,subUnitId:_0x496c6a,dependencyRanges:_0x26cad4,getDirtyData:_0x2ec87c}=_0x1140c3,_0x45aa5c=_0x3ebb2c||c[_0x4c8487(0x12d)](this[_0x4c8487(0x16c)]),_0x6da15e=new c[(_0x4c8487(0x185))](_0x45aa5c);_0x6da15e['unitId']=_0x17198e,_0x6da15e['subUnitId']=_0x496c6a,_0x6da15e[_0x4c8487(0x174)]=_0x26cad4,_0x6da15e[_0x4c8487(0x15f)]=_0x2ec87c;const _0x75351f=_0x2ec87c(this[_0x4c8487(0x186)][_0x4c8487(0x15f)](),this[_0x4c8487(0xf4)]['getAllRuntimeData']()),_0x25c516=this['_convertDirtyRangesToUnitRange'](_0x75351f[_0x4c8487(0x134)]);return _0x6da15e['featureDirtyRanges']=_0x25c516,_0x6da15e['featureId']=_0x133a34,_0x6da15e[_0x4c8487(0x1a3)]=c[_0x4c8487(0x1e3)][_0x4c8487(0x158)],this[_0x4c8487(0x16c)][_0x4c8487(0x1d0)](_0x17198e,_0x496c6a,_0x133a34,_0x6da15e),this[_0x4c8487(0x179)][_0x4c8487(0x19d)](_0x6da15e[_0x4c8487(0x139)],_0x6da15e),this[_0x4c8487(0x16c)][_0x4c8487(0x1be)](_0x1140c3[_0x4c8487(0x138)],_0x1140c3[_0x4c8487(0x184)],_0x133a34)&&(_0x6da15e[_0x4c8487(0x192)]=!0x0),_0x6da15e;}[_0x5ca26e(0x1a7)](_0x45bdc0,_0x8dc08d,_0x5a16ee){const _0xdb015b=_0x5ca26e;var _0x23ae63;for(const _0x5455dd of _0x8dc08d){const _0x97d0a4=_0x45bdc0[_0x5455dd];if(_0x97d0a4==null)continue;const _0x31d8e8=Object[_0xdb015b(0x124)](_0x97d0a4);for(const _0x4b5c80 of _0x31d8e8){const _0x194823=_0x97d0a4[_0x4b5c80];if(_0x194823==null)continue;const _0x347c07=Object[_0xdb015b(0x124)](_0x194823);for(const _0x1cb843 of _0x347c07){const _0xa0bfeb=this[_0xdb015b(0x16c)]['hasOtherFormulaDataMainData'](_0x1cb843),_0x4316e5=_0x194823[_0x1cb843],{f:_0x507e2b,ranges:_0x5a0a51}=_0x4316e5;let _0x30fd02=!0x1;_0xa0bfeb&&(_0x30fd02=!0x0);const {firstRow:_0x54d772,firstColumn:_0x4be5b}=this[_0xdb015b(0x1e1)](_0x5a0a51),_0x2bbbae=this[_0xdb015b(0x16c)][_0xdb015b(0xf0)](_0x5455dd,_0x4b5c80,_0x1cb843),_0x79e591=(_0x23ae63=_0x2bbbae==null?void 0x0:_0x2bbbae[_0xdb015b(0x16a)](0x0,0x0))!=null?_0x23ae63:c[_0xdb015b(0x12d)](this[_0xdb015b(0x16c)]),_0x2c4b26=new c[(_0xdb015b(0x185))](_0x79e591);for(let _0x1b0192=0x0;_0x1b0192<_0x5a0a51['length'];_0x1b0192++){const _0x4a0861=_0x5a0a51[_0x1b0192],{startRow:_0x1983d5,startColumn:_0x390517,endRow:_0x116d34,endColumn:_0x119e70}=_0x4a0861;for(let _0x2ebdf4=_0x1983d5;_0x2ebdf4<=_0x116d34;_0x2ebdf4++)for(let _0xea1cbf=_0x390517;_0xea1cbf<=_0x119e70;_0xea1cbf++){const _0x1e8430=_0xea1cbf-_0x4be5b,_0x334d79=_0x2ebdf4-_0x54d772;if(_0x1e8430===0x0&&_0x334d79===0x0){_0x2c4b26[_0xdb015b(0x14b)]=_0x507e2b,_0x2c4b26[_0xdb015b(0x138)]=_0x5455dd,_0x2c4b26[_0xdb015b(0x184)]=_0x4b5c80,_0x2c4b26[_0xdb015b(0x1c3)]=_0x1cb843,_0x2c4b26[_0xdb015b(0x1a3)]=c['FormulaDependencyTreeType'][_0xdb015b(0x170)],_0x2c4b26[_0xdb015b(0x192)]=_0x30fd02,_0x5a16ee[_0xdb015b(0x189)](_0x2c4b26),this[_0xdb015b(0x179)][_0xdb015b(0x19d)](_0x2c4b26['treeId'],_0x2c4b26),this[_0xdb015b(0x16c)]['addOtherFormulaDependency'](_0x5455dd,_0x4b5c80,_0x1cb843,_0x2c4b26),this[_0xdb015b(0x16c)][_0xdb015b(0xf1)](_0x2c4b26);continue;}const _0x33cd08=new c[(_0xdb015b(0x18c))]();_0x33cd08[_0xdb015b(0x139)]=(_0x2bbbae==null?void 0x0:_0x2bbbae[_0xdb015b(0x16a)](_0x1e8430,_0x334d79))||c['generateRandomDependencyTreeId'](this[_0xdb015b(0x16c)]),_0x33cd08[_0xdb015b(0x14a)]=_0x2c4b26,_0x33cd08['refOffsetX']=_0x1e8430,_0x33cd08[_0xdb015b(0x144)]=_0x334d79,_0x33cd08[_0xdb015b(0x192)]=_0x30fd02,_0x33cd08[_0xdb015b(0x1a3)]=c[_0xdb015b(0x1e3)][_0xdb015b(0x170)],this[_0xdb015b(0x16c)][_0xdb015b(0x1e5)](_0x5455dd,_0x4b5c80,_0x1cb843,_0x33cd08),this[_0xdb015b(0x16c)][_0xdb015b(0xf1)](_0x33cd08),_0x5a16ee[_0xdb015b(0x189)](_0x33cd08),this[_0xdb015b(0x179)][_0xdb015b(0x19d)](_0x33cd08[_0xdb015b(0x139)],_0x33cd08);}}this['_dependencyManagerService'][_0xdb015b(0x172)](_0x1cb843);}}}}[_0x5ca26e(0x1b1)](_0x48cf17,_0x4ab7ae,_0x3abd27,_0x31a241){const _0x4d4080=_0x5ca26e;for(const _0x3e165e of _0x48cf17){const _0x45a73c=_0x4ab7ae[_0x3e165e];if(_0x45a73c==null)continue;const _0x511a9d=Object['keys'](_0x45a73c);for(const _0x4f53fc of _0x511a9d){const _0x5bd60c=new v[(_0x4d4080(0x11d))](_0x45a73c[_0x4f53fc]||{}),_0x1adac0=new Map();_0x5bd60c[_0x4d4080(0x125)]((_0x19a54b,_0x4b281a,_0x4c6452)=>{const _0x52fc9d=_0x4d4080;if(_0x4c6452==null)return!0x0;const {x:_0x471fdc=0x0,y:_0x1bee1a=0x0,si:_0xf89351}=_0x4c6452;if(!(_0x471fdc===0x0&&_0x1bee1a===0x0&&_0xf89351!=null))return!0x0;const _0x11c557=this[_0x52fc9d(0x177)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a,_0x3abd27,_0x4c6452),_0x5c84b9=this[_0x52fc9d(0x16c)][_0x52fc9d(0x1bc)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a);_0x5c84b9!=null?_0x11c557['treeId']=_0x5c84b9:(this[_0x52fc9d(0x16c)][_0x52fc9d(0x161)](_0x3e165e,_0x4f53fc,_0x19a54b,_0x4b281a,_0x11c557),this['_dependencyManagerService'][_0x52fc9d(0xf1)](_0x11c557)),_0x1adac0[_0x52fc9d(0x19d)](_0xf89351,_0x11c557),_0x31a241[_0x52fc9d(0x189)](_0x11c557),this['_dependencyTreeCache'][_0x52fc9d(0x19d)](_0x11c557[_0x52fc9d(0x139)],_0x11c557);}),_0x5bd60c[_0x4d4080(0x125)]((_0x2a9255,_0x40bfb9,_0x952a7)=>{const _0x44405d=_0x4d4080;if(_0x952a7==null)return!0x0;const {x:_0x1663b2=0x0,y:_0x541964=0x0,si:_0x217c96}=_0x952a7;if(_0x1663b2===0x0&&_0x541964===0x0&&_0x217c96!=null)return!0x0;let _0x50f89d;if(_0x217c96&&_0x1adac0[_0x44405d(0x1bd)](_0x217c96)){const _0xc22580=_0x1adac0[_0x44405d(0x143)](_0x217c96);_0x50f89d=this[_0x44405d(0x1e2)](_0xc22580,_0x952a7);}else _0x50f89d=this[_0x44405d(0x177)](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9,_0x3abd27,_0x952a7);const _0x1fbe49=this[_0x44405d(0x16c)]['getFormulaDependency'](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9);_0x1fbe49!=null?_0x50f89d[_0x44405d(0x139)]=_0x1fbe49:(this[_0x44405d(0x16c)][_0x44405d(0x161)](_0x3e165e,_0x4f53fc,_0x2a9255,_0x40bfb9,_0x50f89d),this[_0x44405d(0x16c)][_0x44405d(0xf1)](_0x50f89d)),_0x31a241[_0x44405d(0x189)](_0x50f89d),this[_0x44405d(0x179)]['set'](_0x50f89d[_0x44405d(0x139)],_0x50f89d);}),_0x1adac0[_0x4d4080(0x1dd)]();}}}[_0x5ca26e(0x177)](_0x4c4b91,_0x480ae2,_0x48c6ce,_0x1ed15f,_0x55ca6b,_0x4fb3cf){const _0x37ea6f=_0x5ca26e,{f:_0x102ff0,x:_0x1c9d3c=0x0,y:_0x3fbffe=0x0}=_0x4fb3cf,_0x5479d4=new c[(_0x37ea6f(0x185))](c[_0x37ea6f(0x12d)](this[_0x37ea6f(0x16c)])),_0x411eb4=_0x55ca6b[_0x4c4b91][_0x480ae2];return _0x5479d4['formula']=_0x102ff0,_0x5479d4[_0x37ea6f(0x138)]=_0x4c4b91,_0x5479d4['subUnitId']=_0x480ae2,_0x5479d4[_0x37ea6f(0x103)]=_0x48c6ce,_0x5479d4[_0x37ea6f(0x1c2)]=_0x1ed15f,_0x5479d4[_0x37ea6f(0x151)]=_0x411eb4[_0x37ea6f(0x151)],_0x5479d4[_0x37ea6f(0x114)]=_0x411eb4['columnCount'],_0x5479d4;}[_0x5ca26e(0x10f)](){const _0x562fed=_0x5ca26e,_0x1d933d=[],_0x1bd421=new Set(),_0x567df3=this[_0x562fed(0x186)][_0x562fed(0x180)](),_0x57f669=this[_0x562fed(0x186)][_0x562fed(0x14d)](),_0xd56ce0=this[_0x562fed(0x16c)][_0x562fed(0x18b)](_0x57f669),_0x11ada9=this[_0x562fed(0x1cd)][_0x562fed(0x123)](_0x57f669);for(const _0x5063fc of _0x11ada9)_0xd56ce0[_0x562fed(0x14f)](_0x5063fc);for(const [_0x1e85dc,_0x26059c]of this[_0x562fed(0x179)])(_0x567df3||_0x26059c[_0x562fed(0x166)]||_0x26059c[_0x562fed(0x193)](this[_0x562fed(0x186)][_0x562fed(0x1e8)]())||_0xd56ce0['has'](_0x1e85dc)&&!_0x26059c[_0x562fed(0x119)](this['_currentConfigService'][_0x562fed(0x127)]()))&&!_0x1bd421[_0x562fed(0x1bd)](_0x1e85dc)&&(_0x1d933d[_0x562fed(0x189)](_0x26059c),_0x1bd421[_0x562fed(0x14f)](_0x1e85dc));for(const [_0x19a725,_0xa81583]of this['_dependencyTreeCache'])_0xa81583['isVirtual']||(_0xa81583[_0x562fed(0x174)][_0x562fed(0xf2)]=0x0);return _0x1d933d;}[_0x5ca26e(0x159)](_0x45718a){const _0xe898fc=_0x5ca26e;return this['_dependencyTreeCache'][_0xe898fc(0x143)](_0x45718a);}['_getTreeNode'](_0x992c8c){const _0x8e8026=_0x5ca26e;return c[_0x8e8026(0x183)](_0x992c8c[_0x8e8026(0x138)],_0x992c8c[_0x8e8026(0x14b)],this[_0x8e8026(0x1af)],this[_0x8e8026(0x135)],this[_0x8e8026(0x186)]);}*[_0x5ca26e(0x106)](_0x1ac2ab,_0x1455eb){const _0x3b0a08=_0x5ca26e,_0x28a6c0=_0x1ac2ab,_0x536588=new Set();for(;_0x28a6c0[_0x3b0a08(0xf2)]>0x0;){const _0x52da85=_0x28a6c0[_0x3b0a08(0x129)]();if(_0x536588[_0x3b0a08(0x1dd)](),_0x52da85===void 0x0||_0x52da85[_0x3b0a08(0x130)]())continue;if(_0x52da85[_0x3b0a08(0x1ad)]()){yield _0x52da85,_0x52da85[_0x3b0a08(0x1c6)](),_0x1455eb['add'](_0x52da85[_0x3b0a08(0x139)]);continue;}const _0xfbf36e=this['_dependencyManagerService'][_0x3b0a08(0x18b)](_0x52da85[_0x3b0a08(0x1bb)](),_0x1455eb),_0x456d0c=this['_dependencyRTreeCacheForAddressFunction'][_0x3b0a08(0x123)](_0x52da85[_0x3b0a08(0x1bb)](),_0x1455eb);for(const _0x16a286 of _0x456d0c)_0xfbf36e[_0x3b0a08(0x14f)](_0x16a286);for(const _0x517bc4 of _0xfbf36e){const _0x5b41ca=this['_dependencyTreeCache'][_0x3b0a08(0x143)](_0x517bc4);if(!_0x5b41ca){console['error'](_0x3b0a08(0xeb),_0x517bc4);continue;}_0x5b41ca[_0x3b0a08(0x1ad)]()||_0x52da85[_0x3b0a08(0x130)]()||_0x536588['add'](_0x5b41ca);}if(_0xfbf36e[_0x3b0a08(0x1dd)](),_0x536588[_0x3b0a08(0x154)]===0x0)yield _0x52da85,_0x52da85[_0x3b0a08(0x1c6)](),_0x1455eb['add'](_0x52da85[_0x3b0a08(0x139)]);else{_0x52da85[_0x3b0a08(0x10c)](),_0x28a6c0['push'](_0x52da85);for(const _0x3c7db9 of _0x536588)_0x28a6c0['push'](_0x3c7db9);}}_0x28a6c0[_0x3b0a08(0xf2)]=0x0,_0x536588[_0x3b0a08(0x1dd)]();}[_0x5ca26e(0x1ae)](_0x17dce0){const _0x4c696f=_0x5ca26e,_0x7c13c4=[],_0x38db87=new Set();for(const _0x1ebe1c of this[_0x4c696f(0x106)](_0x17dce0,_0x38db87))_0x7c13c4[_0x4c696f(0x189)](_0x1ebe1c);return _0x7c13c4;}async[_0x5ca26e(0x1e7)](){const _0x11c19e=_0x5ca26e;return await this[_0x11c19e(0xf7)](),Array[_0x11c19e(0x155)](this[_0x11c19e(0x179)][_0x11c19e(0x1e6)]());}['_getDependencyTreeParenIds'](_0x23945c){const _0x12b264=_0x5ca26e;return this[_0x12b264(0x16c)]['searchDependency'](_0x23945c['toRTreeItem']());}['_getDependencyTreeChildrenIds'](_0x3be0b2){const _0x221f31=_0x5ca26e,_0x493596=new Set(),_0x140ef0=_0x3be0b2[_0x221f31(0x174)];for(const [_0x36c371,_0x33b43a]of this[_0x221f31(0x179)])for(const _0x31b7e0 of _0x140ef0){const _0x12019f=_0x31b7e0[_0x221f31(0x138)],_0xbf2338=_0x31b7e0[_0x221f31(0x12c)];if(_0x33b43a[_0x221f31(0x138)]!==_0x12019f||_0x33b43a[_0x221f31(0x184)]!==_0xbf2338)continue;const _0x382eed=_0x31b7e0[_0x221f31(0x19f)];if(_0x33b43a[_0x221f31(0x194)](_0x382eed)){_0x493596[_0x221f31(0x14f)](_0x36c371);break;}}return _0x493596;}[_0x5ca26e(0x111)](){const _0x2c373f=_0x5ca26e;this[_0x2c373f(0x16c)][_0x2c373f(0x11c)]();}[_0x5ca26e(0x160)](){const _0x58f01c=_0x5ca26e;this['_formulaDependencyTreeModel'][_0x58f01c(0x1dd)](),this[_0x58f01c(0x179)][_0x58f01c(0x1dd)](),this[_0x58f01c(0x16c)][_0x58f01c(0x164)]();}}class V extends c[_0x5ca26e(0x1c1)]{async[_0x5ca26e(0x1e0)](_0x30da72=!0x1){const _0x49abaa=_0x5ca26e;_0x30da72?this['_runtimeService'][_0x49abaa(0x121)](c[_0x49abaa(0x10e)][_0x49abaa(0x149)]):this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c[_0x49abaa(0x10e)]['START_DEPENDENCY']),this[_0x49abaa(0x1d4)][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]());const _0x508341=await this[_0x49abaa(0x167)][_0x49abaa(0x165)](this[_0x49abaa(0x1d7)]),_0x1c2fbc=this[_0x49abaa(0x169)];_0x30da72?(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c['FormulaExecuteStageType'][_0x49abaa(0x16b)]),this['_runtimeService'][_0x49abaa(0xfc)](_0x508341[_0x49abaa(0xf2)])):(this[_0x49abaa(0xf4)]['setFormulaExecuteStage'](c[_0x49abaa(0x10e)][_0x49abaa(0x1b0)]),this[_0x49abaa(0xf4)][_0x49abaa(0x1b7)](_0x508341[_0x49abaa(0xf2)])),this[_0x49abaa(0x1d4)]['next'](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]());let _0x2cc1ae=[];const _0xd27223=this['_configService'][_0x49abaa(0x115)](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x4fbb68=(_0xd27223==null?void 0x0:_0xd27223[_0x49abaa(0xf3)])||c[_0x49abaa(0x122)];let _0x321d4b=0x0;const _0x229504=_0x508341[_0x49abaa(0xf2)];for(;_0x508341['length']>0x0;){const _0x1ce4c4=_0x508341[_0x49abaa(0x129)](),_0x42dea4=c['generateAstNode'](_0x1ce4c4[_0x49abaa(0x138)],_0x1ce4c4['formula'],this[_0x49abaa(0x1af)],this['_astTreeBuilder'],this[_0x49abaa(0x186)]),_0x177dad={'node':_0x42dea4,'refOffsetX':_0x1ce4c4[_0x49abaa(0x13d)],'refOffsetY':_0x1ce4c4['refOffsetY']},_0x276feb=_0x1ce4c4['getDirtyData'];if(_0x321d4b%_0x4fbb68===0x0&&(await new Promise(_0x9815d2=>{const _0x270d20=_0x49abaa,_0x1497f1=v[_0x270d20(0x13c)](_0x9815d2);_0x2cc1ae[_0x270d20(0x189)](_0x1497f1);}),_0x30da72?(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c[_0x49abaa(0x10e)][_0x49abaa(0x146)]),this['_runtimeService'][_0x49abaa(0x1cb)](_0x321d4b+0x1)):(this[_0x49abaa(0xf4)][_0x49abaa(0x121)](c['FormulaExecuteStageType'][_0x49abaa(0x1b4)]),this['_runtimeService'][_0x49abaa(0x13f)](_0x321d4b+0x1)),this['_executionInProgressListener$'][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x198)]()),this['_runtimeService']['isStopExecution']()||_0x177dad==null&&_0x276feb==null)){this['_runtimeService']['setFormulaExecuteStage'](c[_0x49abaa(0x10e)]['IDLE']),this[_0x49abaa(0xf4)][_0x49abaa(0x104)](),this['_executionCompleteListener$'][_0x49abaa(0x11e)](this[_0x49abaa(0xf4)][_0x49abaa(0x187)]());return;}this['_runtimeService'][_0x49abaa(0x1c0)](_0x1ce4c4[_0x49abaa(0x103)],_0x1ce4c4['column'],_0x1ce4c4[_0x49abaa(0x151)],_0x1ce4c4[_0x49abaa(0x114)],_0x1ce4c4[_0x49abaa(0x184)],_0x1ce4c4['unitId']);let _0x313ab5;if(_0x276feb!=null&&_0x1ce4c4[_0x49abaa(0x145)]!=null){const {runtimeCellData:_0x57fff8,dirtyRanges:_0x4e3b08}=_0x276feb(this['_currentConfigService'][_0x49abaa(0x15f)](),this['_runtimeService'][_0x49abaa(0x187)]());this[_0x49abaa(0xf4)][_0x49abaa(0x1db)](_0x1ce4c4[_0x49abaa(0x145)],_0x57fff8),this['_runtimeService'][_0x49abaa(0x1a8)](_0x1ce4c4['featureId'],_0x4e3b08);}else _0x177dad!=null&&(_0x1c2fbc[_0x49abaa(0x1ac)](_0x177dad[_0x49abaa(0x1b9)])?_0x313ab5=await _0x1c2fbc[_0x49abaa(0x15d)](_0x177dad):_0x313ab5=_0x1c2fbc['execute'](_0x177dad),_0x1ce4c4[_0x49abaa(0x1c3)]!=null?this['_runtimeService'][_0x49abaa(0x1d9)](_0x1ce4c4['formulaId'],_0x1ce4c4['refOffsetX'],_0x1ce4c4['refOffsetY'],_0x313ab5):this[_0x49abaa(0xf4)][_0x49abaa(0x1dc)](_0x313ab5));_0x42dea4[_0x49abaa(0x136)](),_0x321d4b++;}return _0x2cc1ae[_0x49abaa(0x18e)](_0x21cc1d=>_0x21cc1d()),_0x2cc1ae=[],_0x229504>0x0?this[_0x49abaa(0xf4)][_0x49abaa(0x12e)]():_0x30da72||this[_0x49abaa(0xf4)]['markedAsNoFunctionsExecuted'](),this[_0x49abaa(0xf4)][_0x49abaa(0x187)]();}}class z extends c['DependencyManagerBaseService']{constructor(){const _0xf2ee68=_0x5ca26e;super(...arguments),y(this,_0xf2ee68(0x1c4),new Map()),y(this,_0xf2ee68(0x1d1),new v[(_0xf2ee68(0x1d6))](!0x0));}[_0x5ca26e(0x197)](){const _0x498873=_0x5ca26e;this[_0x498873(0x11a)][_0x498873(0x1dd)](),this['_featureFormulaData']['clear'](),this[_0x498873(0x1d8)]['clear'](),this['_dependencyRTreeCache'][_0x498873(0x1dd)](),this[_0x498873(0x1c4)]['clear'](),this[_0x498873(0x190)](),this['_otherFormulaDataMainData'][_0x498873(0x1dd)]();}[_0x5ca26e(0x1e5)](_0x2fff61,_0x55ad11,_0x2a2e4c,_0x835876){const _0x2e5b6f=_0x5ca26e;this['_otherFormulaData'][_0x2e5b6f(0x1bd)](_0x2fff61)||this[_0x2e5b6f(0x11a)][_0x2e5b6f(0x19d)](_0x2fff61,new Map());const _0x5556d1=this[_0x2e5b6f(0x11a)][_0x2e5b6f(0x143)](_0x2fff61);_0x5556d1[_0x2e5b6f(0x1bd)](_0x55ad11)||_0x5556d1[_0x2e5b6f(0x19d)](_0x55ad11,new Map());const _0x1ee652=_0x5556d1[_0x2e5b6f(0x143)](_0x55ad11);_0x1ee652[_0x2e5b6f(0x1bd)](_0x2a2e4c)||_0x1ee652[_0x2e5b6f(0x19d)](_0x2a2e4c,new v[(_0x2e5b6f(0x11d))]()),_0x1ee652[_0x2e5b6f(0x143)](_0x2a2e4c)[_0x2e5b6f(0xfb)](_0x835876['refOffsetX'],_0x835876[_0x2e5b6f(0x144)],_0x835876['treeId']);}[_0x5ca26e(0x1cf)](_0x4a9b9d,_0x342845,_0x2d35e1){const _0x8e08a0=_0x5ca26e,_0x27f438=this[_0x8e08a0(0x11a)][_0x8e08a0(0x143)](_0x4a9b9d);if(_0x27f438&&_0x27f438[_0x8e08a0(0x1bd)](_0x342845)){const _0x184c7a=_0x27f438[_0x8e08a0(0x143)](_0x342845);_0x2d35e1[_0x8e08a0(0x18e)](_0x264e0b=>{const _0x3a23a9=_0x8e08a0,_0x403a77=_0x184c7a[_0x3a23a9(0x143)](_0x264e0b);_0x403a77!=null&&(_0x403a77[_0x3a23a9(0x125)]((_0x362fa5,_0x444713,_0x5ecbe2)=>{const _0x3703fc=_0x3a23a9;this[_0x3703fc(0x1d5)](_0x5ecbe2),this[_0x3703fc(0x100)](_0x5ecbe2);}),_0x184c7a[_0x3a23a9(0x137)](_0x264e0b),this[_0x3a23a9(0x19a)][_0x3a23a9(0x137)](_0x264e0b));}),_0x184c7a['size']===0x0&&_0x27f438[_0x8e08a0(0x137)](_0x342845),_0x27f438['size']===0x0&&this[_0x8e08a0(0x11a)][_0x8e08a0(0x137)](_0x4a9b9d);}}[_0x5ca26e(0x196)](_0x1ef997,_0x5e360e){const _0x101d13=_0x5ca26e,_0x909fb1=this[_0x101d13(0x11a)][_0x101d13(0x143)](_0x1ef997);if(_0x5e360e&&_0x909fb1&&_0x909fb1[_0x101d13(0x1bd)](_0x5e360e)){const _0xb8e96f=_0x909fb1['get'](_0x5e360e);this[_0x101d13(0x140)](_0x1ef997,_0x5e360e);for(const _0x26ff29 of _0xb8e96f[_0x101d13(0x124)]()){const _0x3435ba=_0xb8e96f[_0x101d13(0x143)](_0x26ff29);_0x3435ba!=null&&(_0x3435ba[_0x101d13(0x125)]((_0x1b1d63,_0x50d99a,_0x3b8397)=>{const _0x5dfc19=_0x101d13;this[_0x5dfc19(0x1c4)][_0x5dfc19(0x143)](_0x3b8397)&&this[_0x5dfc19(0x100)](_0x3b8397);}),this[_0x101d13(0x19a)][_0x101d13(0x137)](_0x26ff29));}_0xb8e96f[_0x101d13(0x1dd)]();}else{if(_0x909fb1){for(const _0x1e4726 of _0x909fb1[_0x101d13(0x124)]()){const _0x16db83=_0x909fb1[_0x101d13(0x143)](_0x1e4726);this[_0x101d13(0x140)](_0x1ef997,_0x1e4726);for(const _0xfa7fd3 of _0x16db83['keys']()){const _0x329b95=_0x16db83[_0x101d13(0x143)](_0xfa7fd3);_0x329b95!=null&&(_0x329b95[_0x101d13(0x125)]((_0x517d6e,_0x68387f,_0x793a85)=>{const _0x388266=_0x101d13;this[_0x388266(0x1c4)][_0x388266(0x143)](_0x793a85)&&this[_0x388266(0x100)](_0x793a85);}),this['_otherFormulaDataMainData'][_0x101d13(0x137)](_0xfa7fd3));}}this[_0x101d13(0x11a)][_0x101d13(0x137)](_0x1ef997);}}}[_0x5ca26e(0x1d0)](_0x2c262e,_0x52bcce,_0x5ddeb2,_0x1f3179){const _0x321955=_0x5ca26e;this[_0x321955(0x1c7)][_0x321955(0x1bd)](_0x2c262e)||this[_0x321955(0x1c7)][_0x321955(0x19d)](_0x2c262e,new Map());const _0x368391=this[_0x321955(0x1c7)][_0x321955(0x143)](_0x2c262e);_0x368391[_0x321955(0x1bd)](_0x52bcce)||_0x368391[_0x321955(0x19d)](_0x52bcce,new Map()),_0x368391[_0x321955(0x143)](_0x52bcce)[_0x321955(0x19d)](_0x5ddeb2,_0x1f3179['treeId']);}[_0x5ca26e(0x14c)](_0x219d93,_0x5627a5,_0x182e70){const _0x7907f2=_0x5ca26e,_0x313810=this[_0x7907f2(0x1c7)][_0x7907f2(0x143)](_0x219d93);if(_0x313810&&_0x313810[_0x7907f2(0x1bd)](_0x5627a5)){const _0x30ab94=_0x313810[_0x7907f2(0x143)](_0x5627a5);_0x182e70['forEach'](_0xf703a5=>{const _0x4a283b=_0x7907f2,_0x512f39=_0x30ab94[_0x4a283b(0x143)](_0xf703a5);_0x512f39!=null&&(this[_0x4a283b(0x1d5)](_0x512f39),_0x30ab94['delete'](_0xf703a5),this[_0x4a283b(0x100)](_0x512f39));});}}['clearFeatureFormulaDependency'](_0x27000d,_0x3bf956){const _0x2e06fb=_0x5ca26e,_0x1ca442=this[_0x2e06fb(0x1c7)]['get'](_0x27000d);if(_0x3bf956&&_0x1ca442&&_0x1ca442['has'](_0x3bf956)){const _0x91cd7d=_0x1ca442[_0x2e06fb(0x143)](_0x3bf956);this['_removeDependencyRTreeCacheById'](_0x27000d,_0x3bf956),_0x91cd7d[_0x2e06fb(0x18e)](_0x3b789f=>{const _0xacb0a0=_0x2e06fb;_0x3b789f!=null&&this[_0xacb0a0(0x100)](_0x3b789f);}),_0x91cd7d[_0x2e06fb(0x1dd)]();}else _0x1ca442&&(_0x1ca442[_0x2e06fb(0x18e)]((_0x450ab1,_0x3decdc)=>{const _0x1d4d8f=_0x2e06fb;this[_0x1d4d8f(0x140)](_0x27000d,_0x3decdc),_0x450ab1['forEach'](_0x5a3747=>{const _0x3abac2=_0x1d4d8f;_0x5a3747!=null&&this[_0x3abac2(0x100)](_0x5a3747);});}),this[_0x2e06fb(0x1c7)][_0x2e06fb(0x137)](_0x27000d));}[_0x5ca26e(0x161)](_0x2379eb,_0x3e93e4,_0x3ec9a4,_0x16fa74,_0x5eb218){const _0x3f8e54=_0x5ca26e;this['_formulaData'][_0x3f8e54(0x1bd)](_0x2379eb)||this['_formulaData'][_0x3f8e54(0x19d)](_0x2379eb,new Map());const _0x45c1b7=this[_0x3f8e54(0x1d8)][_0x3f8e54(0x143)](_0x2379eb);_0x45c1b7[_0x3f8e54(0x1bd)](_0x3e93e4)||_0x45c1b7[_0x3f8e54(0x19d)](_0x3e93e4,new v[(_0x3f8e54(0x11d))]()),_0x45c1b7[_0x3f8e54(0x143)](_0x3e93e4)[_0x3f8e54(0xfb)](_0x3ec9a4,_0x16fa74,_0x5eb218[_0x3f8e54(0x139)]);}['removeFormulaDependency'](_0x26ef38,_0xd38d37,_0x21eb45,_0x369672){const _0x561d87=_0x5ca26e,_0x404007=this['_formulaData'][_0x561d87(0x143)](_0x26ef38);if(_0x404007&&_0x404007[_0x561d87(0x1bd)](_0xd38d37)){const _0x184044=_0x404007[_0x561d87(0x143)](_0xd38d37),_0x593910=_0x184044[_0x561d87(0x16a)](_0x21eb45,_0x369672);if(_0x593910==null)return;this[_0x561d87(0x1d5)](_0x593910),_0x184044[_0x561d87(0x16f)](_0x21eb45,_0x369672),this[_0x561d87(0x100)](_0x593910);}}['clearFormulaDependency'](_0x55e2b6,_0x4eb134){const _0x4023f8=_0x5ca26e,_0x372dac=this[_0x4023f8(0x1d8)][_0x4023f8(0x143)](_0x55e2b6);if(_0x4eb134&&_0x372dac&&_0x372dac[_0x4023f8(0x1bd)](_0x4eb134)){const _0x291bde=_0x372dac[_0x4023f8(0x143)](_0x4eb134);this[_0x4023f8(0x140)](_0x55e2b6,_0x4eb134),_0x291bde['forValue']((_0x5368c4,_0x48aa4d,_0x26e7a9)=>{if(_0x26e7a9==null)return!0x0;this['_removeAllTreeMap'](_0x26e7a9);}),_0x291bde[_0x4023f8(0x197)]();}else _0x372dac&&(_0x372dac[_0x4023f8(0x18e)]((_0x1310e8,_0x1cdc57)=>{const _0x2f3397=_0x4023f8;this[_0x2f3397(0x140)](_0x55e2b6,_0x1cdc57),_0x1310e8[_0x2f3397(0x125)]((_0x1d8ae0,_0x3ce648,_0x51c5cc)=>{const _0x1d29e8=_0x2f3397;if(_0x51c5cc==null)return!0x0;this[_0x1d29e8(0x100)](_0x51c5cc);});}),this['_formulaData']['delete'](_0x55e2b6));}[_0x5ca26e(0x1d5)](_0x3477ff){const _0x5d68c7=_0x5ca26e;if(_0x3477ff==null)return;const _0x952a4a=this[_0x5d68c7(0x1c4)]['get'](_0x3477ff);if(_0x952a4a){const _0x44de56=[];for(const [_0x5423ca,_0x2864ab]of _0x952a4a)for(const [_0x8cd4f8,_0x32e0f4]of _0x2864ab)_0x44de56['push']({'unitId':_0x5423ca,'sheetId':_0x8cd4f8,'range':_0x32e0f4,'id':_0x3477ff});this[_0x5d68c7(0x1d1)][_0x5d68c7(0x181)](_0x44de56);}}['removeFormulaDependencyByDefinedName'](_0x531db7,_0x330428){const _0x3d0026=_0x5ca26e,_0xfaba82=this[_0x3d0026(0xff)][_0x3d0026(0x143)](_0x531db7);if(_0xfaba82){const _0x2364be=_0xfaba82['get'](_0x330428);if(_0x2364be){for(const _0x5b733d of _0x2364be)this[_0x3d0026(0x1d5)](_0x5b733d),this['_removeAllTreeMap'](_0x5b733d);_0x2364be[_0x3d0026(0x1dd)]();}}}['openKdTree'](){const _0x252b48=_0x5ca26e;this[_0x252b48(0x1d1)][_0x252b48(0x11c)]();}[_0x5ca26e(0x164)](){const _0x3f60eb=_0x5ca26e;this[_0x3f60eb(0x1d1)]['closeKdTree']();}[_0x5ca26e(0x100)](_0x22256d){const _0x413714=_0x5ca26e;_0x22256d!=null&&this[_0x413714(0x1c4)]['delete'](_0x22256d);}[_0x5ca26e(0x107)](_0x513b86){const _0x11b9ea=_0x5ca26e;var _0x45b65e,_0xc27f7b;const _0x1cbc2b=_0x513b86['rangeList'];let _0x2281db=this[_0x11b9ea(0x1c4)]['get'](_0x513b86[_0x11b9ea(0x139)]);for(let _0x5c4422=0x0;_0x5c4422<_0x1cbc2b[_0x11b9ea(0xf2)];_0x5c4422++){const _0x49aff2=_0x1cbc2b[_0x5c4422];let {unitId:_0x54131a,sheetId:_0xd4ca3c,range:_0x3c22c7}=_0x49aff2;_0x2281db||(_0x2281db=new Map(),this[_0x11b9ea(0x1c4)][_0x11b9ea(0x19d)](_0x513b86[_0x11b9ea(0x139)],_0x2281db)),_0x2281db[_0x11b9ea(0x1bd)](_0x54131a)||_0x2281db[_0x11b9ea(0x19d)](_0x54131a,new Map());const _0x450544=(_0x45b65e=_0x2281db==null?void 0x0:_0x2281db['get'](_0x54131a))==null?void 0x0:_0x45b65e[_0x11b9ea(0x143)](_0xd4ca3c);_0x450544&&(_0x3c22c7={'startRow':Math[_0x11b9ea(0x142)](_0x3c22c7[_0x11b9ea(0x105)],_0x450544['startRow']),'startColumn':Math[_0x11b9ea(0x142)](_0x3c22c7['startColumn'],_0x450544['startColumn']),'endRow':Math[_0x11b9ea(0xfa)](_0x3c22c7[_0x11b9ea(0x1ba)],_0x450544[_0x11b9ea(0x1ba)]),'endColumn':Math[_0x11b9ea(0xfa)](_0x3c22c7[_0x11b9ea(0x102)],_0x450544['endColumn'])}),(_0xc27f7b=_0x2281db[_0x11b9ea(0x143)](_0x54131a))==null||_0xc27f7b['set'](_0xd4ca3c,_0x3c22c7);}}}var G=Object[_0x5ca26e(0x110)],$=(_0x184f7a,_0x27dbf0,_0x4e79bb,_0x144430)=>{for(var _0x28ddbd=_0x144430>0x1?void 0x0:_0x144430?G(_0x27dbf0,_0x4e79bb):_0x27dbf0,_0x1b297f=_0x184f7a['length']-0x1,_0x552096;_0x1b297f>=0x0;_0x1b297f--)(_0x552096=_0x184f7a[_0x1b297f])&&(_0x28ddbd=_0x552096(_0x28ddbd)||_0x28ddbd);return _0x28ddbd;};const j=Number[_0x5ca26e(0x1a1)](0x694f8991);function _0x2d72(_0x528d0d,_0x39fb5c){_0x528d0d=_0x528d0d-0xeb;const _0x3dd32c=_0x3dd3();let _0x2d727d=_0x3dd32c[_0x528d0d];return _0x2d727d;}exports[_0x5ca26e(0xf9)]=class extends c[_0x5ca26e(0x12a)]{[_0x5ca26e(0x162)](){const _0x4ec8ad=_0x5ca26e;var _0x327ae5,_0x2d0309;this[_0x4ec8ad(0x17e)]()?(this[_0x4ec8ad(0x128)][_0x4ec8ad(0x14f)]([c[_0x4ec8ad(0x1c5)],{'useClass':B}]),(_0x327ae5=this[_0x4ec8ad(0x199)])!=null&&_0x327ae5['notExecuteFormula']||[[c['ICalculateFormulaService'],{'useClass':V}],[c[_0x4ec8ad(0x1ca)],{'useClass':z}],[c[_0x4ec8ad(0x12b)],{'useClass':Y}]]['forEach'](_0xc5e4e5=>this[_0x4ec8ad(0x128)][_0x4ec8ad(0x14f)](_0xc5e4e5))):(this['_injector'][_0x4ec8ad(0x14f)]([c['LexerTreeBuilder'],{'useClass':c['LexerTreeBuilder']}]),(_0x2d0309=this['_config'])!=null&&_0x2d0309[_0x4ec8ad(0x1cc)]||[[c[_0x4ec8ad(0x163)],{'useClass':c[_0x4ec8ad(0x1c1)]}],[c[_0x4ec8ad(0x1ca)],{'useClass':c[_0x4ec8ad(0x188)]}],[c['IFormulaDependencyGenerator'],{'useClass':c[_0x4ec8ad(0xed)]}]][_0x4ec8ad(0x18e)](_0x3e5fd5=>this[_0x4ec8ad(0x128)]['add'](_0x3e5fd5)));}['_initLicenseValid'](){const _0x34dd68=_0x5ca26e;var _0x5b81ee;const _0x3e4e6d=(_0x5b81ee=this[_0x34dd68(0x1a0)][_0x34dd68(0x115)](N[_0x34dd68(0x148)]))!=null?_0x5b81ee:{},{ls:_0x392e60,pbk:_0x52d3af}=_0x3e4e6d;if(!_0x392e60||!_0x52d3af)return!0x1;const _0x3c9b4d=N[_0x34dd68(0x109)](q,K),_0x3458d9=new Function('return\x20'+_0x3c9b4d)()(_0x392e60,_0x52d3af),_0x13e0b4=_0x3458d9[_0x34dd68(0x1c9)];return _0x3458d9['valid']&&N['isFeatureAuthorizedWithinTime'](_0x13e0b4,'sf',j)?N['getSheetFeatureLimit'](_0x13e0b4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x5ca26e(0xf9)]=$([v[_0x5ca26e(0x168)](N[_0x5ca26e(0x1d2)])],exports[_0x5ca26e(0xf9)]),exports['LexerTreeProBuilder']=B,Object[_0x5ca26e(0x124)](c)['forEach'](_0xf4b63b=>{const _0x583482=_0x5ca26e;_0xf4b63b!==_0x583482(0x18a)&&!Object[_0x583482(0x1df)][_0x583482(0xec)][_0x583482(0x1b3)](exports,_0xf4b63b)&&Object['defineProperty'](exports,_0xf4b63b,{'enumerable':!0x0,'get':()=>c[_0xf4b63b]});});function _0x3dd3(){const _0x4fe246=['requestImmediateMacroTask','refOffsetX','resolve','setCompletedFormulasCount','_removeDependencyRTreeCacheById','string','min','get','refOffsetY','featureId','CURRENTLY_CALCULATING_ARRAY_FORMULA','VALUE','LS_CONFIG_KEY','START_DEPENDENCY_ARRAY_FORMULA','refTree','formula','removeFeatureFormulaDependency','getDirtyRanges','Lambda\x20parameter\x20name\x20\x22','add','SUFFIX_TOKEN_SET','rowCount','LexerNode','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','size','from','2483576HTDjzh','clearFeatureFormulaDependency','FEATURE_FORMULA','_getTreeById','getNewFormulaWithPrefix','dispose','treeBuilder','executeAsync','_generateExprTree','getDirtyData','_endFormulaDependencyTreeModel','addFormulaDependency','_initializeWithOverride','ICalculateFormulaService','closeKdTree','generate','isDirty','_formulaDependencyGenerator','DependentOn','_interpreter','getValue','START_CALCULATION_ARRAY_FORMULA','_dependencyManagerService','matchToken','ErrorType','realDeleteValue','OTHER_FORMULA','enableCycleDependency','addOtherFormulaDependencyMainData','isArray','rangeList','1212245MouqrB','1569905rRRZyI','_createFDtree','_clearFunctionString','_dependencyTreeCache','setDependencyTreeModelData','_hasNewExcelFunction','_getCurNodeTypeForExprTree','_updateRangeFlatten','_initLicenseValid','getOtherFormulaData','isForceCalculate','bulkRemove','DEFAULT_TOKEN_LET_FUNCTION_NAME','generateAstNode','subUnitId','FormulaDependencyTree','_currentConfigService','getAllRuntimeData','DependencyManagerService','push','default','searchDependency','FormulaDependencyTreeVirtual','value','forEach','7feHtdJ','_restDependencyTreeId','_xlfn.','isCache','dependencySheetName','inRangeData','isReferenceString','clearOtherFormulaDependency','reset','getRuntimeState','_config','_otherFormulaDataMainData','_handleNewFunctionChild','NEW_EXCEL_FUNCTIONS','set','getStartIndex','range','_configService','parseInt','_handleTextNodeForExprTree','type','_currentUnitId','_getAllDependencyJson','error','_registerOtherFormulas','setRuntimeFeatureRange','clearFormulaDependency','\x22\x20is\x20duplicated.','_lambdaFunctionParameterSet','checkAsyncNode','isAdded','_calculateRunList','_lexer','START_CALCULATION','_registerFormulas','_checkAddBracketForMinus','call','CURRENTLY_CALCULATING','splitTableStructuredRef','3834944OLfpDN','setTotalFormulasToCalculate','clearArrayObjectCache','node','endRow','toRTreeItem','getFormulaDependency','has','getFeatureFormulaDependency','_generateNewFunctionString','setCurrent','CalculateFormulaService','column','formulaId','_allTreeMap','LexerTreeBuilder','setSkip','_featureFormulaData','getFormulaData','message','IDependencyManagerService','setCompletedArrayFormulasCount','notExecuteFormula','_dependencyRTreeCacheForAddressFunction','388707XHWmWC','removeOtherFormulaDependency','addFeatureFormulaDependency','_dependencyRTreeCache','UniverLicensePlugin','4VVKFeM','_executionInProgressListener$','_removeDependencyRTreeCache','RTree','_isCalculateTreeModel','_formulaData','setRuntimeOtherData','_checkIsCycleDependency','setRuntimeFeatureCellData','setRuntimeData','clear','DEFAULT_TOKEN_TYPE_ROOT','prototype','_apply','_getFirstCellOfRange','_createVirtualFDtree','FormulaDependencyTreeType','getChildren','addOtherFormulaDependency','values','_getAllTreeList','getDirtyNameMap','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','hasOwnProperty','FormulaDependencyGenerator','getToken','_handleChildrenForExprTree','getOtherFormulaDependency','addFormulaDependencyByDefinedName','length','intervalCount','_runtimeService','startIndex','_xlpmPrefix','_initializeGenerateTreeList','5951898YEeKiD','UniverProFormulaEnginePlugin','max','setValue','setTotalArrayFormulasToCalculate','_isCyclicUtilMap','_xlpm.','_definedNameMap','_removeAllTreeMap','children','endColumn','row','markedAsStopFunctionsExecuted','startRow','_traverse','_addAllTreeMap','_clearPrefix','unshiftString','defineProperty','MINUS','setAdded','COLON','FormulaExecuteStageType','_getUpdateTreeListAndMakeDependency','getOwnPropertyDescriptor','_startFormulaDependencyTreeModel','_getFeatureFormulaTree','5443146HpsiqD','columnCount','getConfig','_xlfnPrefix','toUpperCase','_resetPrefix','isExcludeRange','_otherFormulaData','trim','openKdTree','ObjectMatrix','next','_getTableNameFromStructuredRef','_handleLambdaForExprTree','setFormulaExecuteStage','DEFAULT_INTERVAL_COUNT','bulkSearch','keys','forValue','prefixToken','getExcludedRange','_injector','pop','UniverFormulaEnginePlugin','IFormulaDependencyGenerator','sheetId','generateRandomDependencyTreeId','markedAsSuccessfullyExecuted','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','isSkip','_checkColonNodeForExprTree','slice','symbol','dirtyRanges','_astTreeBuilder','resetCalculationState','delete','unitId','treeId','_otherFormulaManagerService','DEFAULT_TOKEN_TYPE_PARAMETER'];_0x3dd3=function(){return _0x4fe246;};return _0x3dd3();}
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1025(){var _0xa864ae=['272188NBrVVt','629366Ecvzdt','9563120UDxySk','1151152vcyPpp','256634ZcTdRN','2641122qfhBZd','12Bbbhdy','16grlQUZ','138995atYROL','3MpHSbT'];_0x1025=function(){return _0xa864ae;};return _0x1025();}(function(_0x17b4b6,_0xb0bd3c){var _0x5d4e56=_0x43af,_0x564540=_0x17b4b6();while(!![]){try{var _0x42ff6a=parseInt(_0x5d4e56(0x192))/0x1+parseInt(_0x5d4e56(0x199))/0x2*(-parseInt(_0x5d4e56(0x197))/0x3)+-parseInt(_0x5d4e56(0x191))/0x4+parseInt(_0x5d4e56(0x196))/0x5*(parseInt(_0x5d4e56(0x194))/0x6)+-parseInt(_0x5d4e56(0x198))/0x7*(parseInt(_0x5d4e56(0x195))/0x8)+-parseInt(_0x5d4e56(0x193))/0x9+parseInt(_0x5d4e56(0x19a))/0xa;if(_0x42ff6a===_0xb0bd3c)break;else _0x564540['push'](_0x564540['shift']());}catch(_0x3fac36){_0x564540['push'](_0x564540['shift']());}}}(_0x1025,0x47fbf));function _0x43af(_0x413e6f,_0xc0030){_0x413e6f=_0x413e6f-0x191;var _0x10256a=_0x1025();var _0x43afec=_0x10256a[_0x413e6f];return _0x43afec;}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x36795d=_0x35ee;(function(_0x414be0,_0x252d3c){const _0x18455c=_0x35ee,_0xc81ef3=_0x414be0();while(!![]){try{const _0x3c02b5=parseInt(_0x18455c(0x96))/0x1+parseInt(_0x18455c(0x94))/0x2*(parseInt(_0x18455c(0xc3))/0x3)+-parseInt(_0x18455c(0xf3))/0x4+parseInt(_0x18455c(0x134))/0x5*(-parseInt(_0x18455c(0x12e))/0x6)+-parseInt(_0x18455c(0xfe))/0x7*(parseInt(_0x18455c(0x9e))/0x8)+-parseInt(_0x18455c(0xdf))/0x9+parseInt(_0x18455c(0xff))/0xa;if(_0x3c02b5===_0x252d3c)break;else _0xc81ef3['push'](_0xc81ef3['shift']());}catch(_0x386a61){_0xc81ef3['push'](_0xc81ef3['shift']());}}}(_0x5691,0x88c22));var se=Object[_0x36795d(0xa2)],ae=(_0x3b320a,_0xeeb43e,_0x2acbc)=>_0xeeb43e in _0x3b320a?se(_0x3b320a,_0xeeb43e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2acbc}):_0x3b320a[_0xeeb43e]=_0x2acbc,F=(_0x4311a0,_0x462d14,_0x333c95)=>ae(_0x4311a0,typeof _0x462d14!=_0x36795d(0x142)?_0x462d14+'':_0x462d14,_0x333c95);import{LexerTreeBuilder as _0x523268,ErrorType as _0x41d5b0,DEFAULT_TOKEN_TYPE_ROOT as _0xbd7c64,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1d6892,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4e1da4,NEW_EXCEL_FUNCTIONS as _0x51470b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3d347e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x578ed6,matchToken as _0x3f1f2e,SUFFIX_TOKEN_SET as _0x2ab198,prefixToken as _0x454018,LexerNode as _0x2d492d,OPERATOR_TOKEN_SET as _0x4aef0f,isReferenceString as _0x165ecb,splitTableStructuredRef as _0x3dfd5d,FormulaDependencyGenerator as _0x489c2d,generateRandomDependencyTreeId as _0x36f4e8,FormulaDependencyTree as _0x1b85f6,FormulaDependencyTreeType as _0x18fbc5,FormulaDependencyTreeVirtual as _0x318f99,generateAstNode as _0x8ed8fb,CalculateFormulaService as _0x40e348,FormulaExecuteStageType as _0x1cd23e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x2cd7f4,DEFAULT_INTERVAL_COUNT as _0x46437c,DependencyManagerBaseService as _0x50d701,UniverFormulaEnginePlugin as _0x5e4a14,ICalculateFormulaService as _0x10352f,IDependencyManagerService as _0x2a6ada,IFormulaDependencyGenerator as _0x452c04,DependencyManagerService as _0xc7b0c8}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x1fe080,LS_CONFIG_KEY as _0x5a3cda,unshiftString as _0x9cb32b,isFeatureAuthorizedWithinTime as _0x49f425,getSheetFeatureLimit as _0x3104e8}from'@univerjs-pro/license';import{ObjectMatrix as _0x3d7146,requestImmediateMacroTask as _0x50f254,RTree as _0x252685,DependentOn as _0x12037c}from'@univerjs/core';class we extends _0x523268{constructor(){const _0x5ed4e2=_0x36795d;super(...arguments),F(this,_0x5ed4e2(0x141),!0x1),F(this,_0x5ed4e2(0xb2),new Set()),F(this,'_xlpmPrefix',_0x5ed4e2(0x11d)),F(this,_0x5ed4e2(0x10c),'_xlfn.'),F(this,_0x5ed4e2(0x12b),'');}['_resetPrefix'](){const _0x40c8d4=_0x36795d;this['_xlpmPrefix']='_xlpm.',this[_0x40c8d4(0x10c)]=_0x40c8d4(0x137);}[_0x36795d(0xa6)](){const _0x2bddb7=_0x36795d;this[_0x2bddb7(0xce)]='',this[_0x2bddb7(0x10c)]='';}[_0x36795d(0xf7)](_0x3c2d36,_0x428659){const _0x4a41b0=_0x36795d,_0x2d4bac=this['treeBuilder'](_0x3c2d36,!0x1);if(!_0x2d4bac||_0x2d4bac===_0x41d5b0[_0x4a41b0(0xe3)]||Array[_0x4a41b0(0xde)](_0x2d4bac))return null;const _0x20eddd=[];return this[_0x4a41b0(0x141)]=!0x1,this[_0x4a41b0(0xcb)](_0x2d4bac,_0x20eddd,_0x428659),this[_0x4a41b0(0x141)]?'='+_0x20eddd[_0x4a41b0(0xb0)](''):null;}[_0x36795d(0xcb)](_0x22e905,_0x1299c7,_0x400166){const _0x538db0=_0x36795d,_0x4cbbc4=_0x22e905['getToken'](),_0x1f902f=_0x4cbbc4[_0x538db0(0x139)](),_0x4cbe80=_0x1f902f[_0x538db0(0x120)](),_0x1fcd40=this[_0x538db0(0x116)](_0x4cbe80),_0x16b27c=_0x400166(_0x1fcd40);let _0x69cbcf=0x0;_0x4cbbc4===_0xbd7c64?_0x69cbcf=0x3:_0x4cbbc4===_0x1d6892?_0x69cbcf=0x4:_0x4cbbc4===_0x4e1da4?_0x69cbcf=0x5:_0x51470b['has'](_0x1fcd40)?(_0x1299c7[_0x538db0(0x114)](''+this['_xlfnPrefix']+_0x1f902f),this[_0x538db0(0x141)]=!0x0):_0x4cbe80===_0x3d347e?(_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0x10c)]+_0x1f902f),this[_0x538db0(0x141)]=!0x0,_0x69cbcf=0x2):_0x4cbe80===_0x578ed6?(_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0x10c)]+_0x1f902f),this['_hasNewExcelFunction']=!0x0,_0x69cbcf=0x1):_0x4cbe80===_0x3f1f2e[_0x538db0(0xaf)]?_0x69cbcf=0x8:_0x2ab198[_0x538db0(0xc5)](_0x4cbe80)?_0x69cbcf=0x7:_0x4cbe80===_0x454018['MINUS']?(this[_0x538db0(0x10d)](_0x22e905)&&(_0x69cbcf=0x9),_0x1299c7[_0x538db0(0x114)](_0x4cbbc4)):(_0x1299c7[_0x538db0(0x114)](_0x4cbbc4),_0x69cbcf=0xa),_0x16b27c?(_0x69cbcf!==0x2&&_0x69cbcf!==0x1&&(_0x69cbcf=0x6),_0x1299c7[_0x538db0(0x114)]('(')):_0x69cbcf===0x9&&_0x1299c7['push']('(');const _0x2ab4cc=_0x22e905[_0x538db0(0x14d)](),_0x6fefa9=_0x2ab4cc[_0x538db0(0x122)];if(_0x69cbcf===0x2){const _0x22de1f=_0x2ab4cc[0x0];let _0x13faba=0x0;_0x22de1f instanceof _0x2d492d&&_0x22de1f['getToken']()===_0x4e1da4&&(_0x13faba=0x1);for(let _0x10213e=_0x13faba;_0x10213e<_0x6fefa9-0x1;_0x10213e++){const _0x36e025=_0x2ab4cc[_0x10213e];if(_0x36e025 instanceof _0x2d492d){const _0x8bf69f=_0x36e025[_0x538db0(0x14d)]()[0x0];typeof _0x8bf69f==_0x538db0(0x133)&&(this[_0x538db0(0xb2)][_0x538db0(0xc5)](_0x8bf69f)&&console[_0x538db0(0x14c)](_0x538db0(0x109)+_0x8bf69f+_0x538db0(0x159)),this[_0x538db0(0xb2)][_0x538db0(0x12c)](_0x8bf69f),_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0xce)]+_0x8bf69f),this[_0x538db0(0x141)]=!0x0);}_0x1299c7[_0x538db0(0x114)](',');}this['_handleNewFunctionChild'](_0x2ab4cc[_0x6fefa9-0x1],_0x1299c7,_0x400166),_0x13faba===0x1&&(_0x1299c7[_0x538db0(0x114)](')'),_0x1299c7[_0x538db0(0x114)]('('),this['_generateNewFunctionString'](_0x22de1f,_0x1299c7,_0x400166)),_0x1299c7[_0x538db0(0x114)](')');return;}else{if(_0x69cbcf===0x1){for(let _0x48d85d=0x0;_0x48d85d<_0x6fefa9-0x1;_0x48d85d++){const _0x3a2f11=_0x2ab4cc[_0x48d85d];if(_0x3a2f11 instanceof _0x2d492d&&_0x48d85d%0x2===0x0){const _0x4e151c=_0x3a2f11[_0x538db0(0x14d)]()[0x0];if(typeof _0x4e151c==_0x538db0(0x133)){this[_0x538db0(0xb2)][_0x538db0(0xc5)](_0x4e151c)&&console[_0x538db0(0x14c)](_0x538db0(0x119)+_0x4e151c+_0x538db0(0x159)),this['_lambdaFunctionParameterSet']['add'](_0x4e151c),_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0xce)]+_0x4e151c),this[_0x538db0(0x141)]=!0x0,_0x1299c7[_0x538db0(0x114)](',');continue;}}if(this[_0x538db0(0xcf)](_0x3a2f11,_0x1299c7,_0x400166),_0x3a2f11 instanceof _0x2d492d){const _0x5c9366=_0x2ab4cc[_0x48d85d+0x1];_0x5c9366&&_0x5c9366 instanceof _0x2d492d&&_0x1299c7[_0x538db0(0x114)](',');}}this[_0x538db0(0xcf)](_0x2ab4cc[_0x6fefa9-0x1],_0x1299c7,_0x400166),_0x1299c7[_0x538db0(0x114)](')');return;}else{if(_0x69cbcf===0x8){const _0x1afed3=_0x2ab4cc[0x0],_0x2fd72c=_0x2ab4cc[0x1];this['_handleNewFunctionChild'](_0x1afed3,_0x1299c7,_0x400166),_0x1299c7[_0x538db0(0x114)](_0x4cbbc4),this[_0x538db0(0xcf)](_0x2fd72c,_0x1299c7,_0x400166);return;}}}for(let _0x5066ad=0x0;_0x5066ad<_0x6fefa9;_0x5066ad++){const _0x2d855f=_0x2ab4cc[_0x5066ad];if(this[_0x538db0(0xcf)](_0x2d855f,_0x1299c7,_0x400166),_0x2d855f instanceof _0x2d492d){const _0x4ead42=_0x2ab4cc[_0x5066ad+0x1];_0x4ead42&&_0x4ead42 instanceof _0x2d492d&&_0x1299c7[_0x538db0(0x114)](',');}}_0x69cbcf===0x7&&_0x1299c7['push'](_0x4cbbc4),(_0x16b27c||_0x69cbcf===0x9)&&_0x1299c7[_0x538db0(0x114)](')');}[_0x36795d(0xcf)](_0x3c9428,_0x437c68,_0x44abdd){const _0x2362a2=_0x36795d;_0x3c9428 instanceof _0x2d492d?this[_0x2362a2(0xcb)](_0x3c9428,_0x437c68,_0x44abdd):this['_lambdaFunctionParameterSet'][_0x2362a2(0xc5)](_0x3c9428)?(_0x437c68[_0x2362a2(0x114)](''+this[_0x2362a2(0xce)]+_0x3c9428),this[_0x2362a2(0x141)]=!0x0):_0x437c68[_0x2362a2(0x114)](_0x3c9428);}['_clearFunctionString'](_0x52c2bf){const _0x27f1a6=_0x36795d;let _0x29ac30=_0x52c2bf['trim']();if(!_0x29ac30)return _0x29ac30;const _0x1126f1=_0x29ac30[0x0];if((_0x1126f1===_0x454018['AT']||_0x1126f1===_0x454018[_0x27f1a6(0xe4)]||_0x1126f1===_0x454018['PLUS'])&&(_0x29ac30=_0x29ac30[_0x27f1a6(0xe9)](0x1)),!_0x29ac30)return _0x29ac30;const _0x56aa67=_0x29ac30[_0x29ac30[_0x27f1a6(0x122)]-0x1];return _0x2ab198[_0x27f1a6(0xc5)](_0x56aa67)&&(_0x29ac30=_0x29ac30[_0x27f1a6(0xe9)](0x0,-0x1)),_0x29ac30;}[_0x36795d(0x10d)](_0x382d96){const _0x79db2d=_0x36795d,_0x18708e=_0x382d96['getChildren']()[0x0];if(!_0x18708e||!(_0x18708e instanceof _0x2d492d)||_0x382d96[_0x79db2d(0x14d)]()['length']>0x1)return!0x1;const _0xdd2773=_0x18708e[_0x79db2d(0x14d)](),_0x5af23a=_0xdd2773[_0x79db2d(0x122)];if(_0x5af23a===0x1)return!0x1;for(let _0x1dd061=0x0;_0x1dd061<_0x5af23a;_0x1dd061++){const _0xc63ef4=_0xdd2773[_0x1dd061];if(!(_0xc63ef4 instanceof _0x2d492d)&&_0x4aef0f['has'](_0xc63ef4))return!0x0;}return!0x1;}[_0x36795d(0xa5)](_0x1de797,_0x4ed4e6,_0x2983ed,_0x2d0949,_0x1342c4){const _0x920a3f=_0x36795d,_0x462dad=this[_0x920a3f(0xd4)](_0x1de797,!0x1);if(!_0x462dad||_0x462dad===_0x41d5b0['VALUE']||Array['isArray'](_0x462dad))return null;this[_0x920a3f(0xa6)](),this[_0x920a3f(0x12b)]=_0x4ed4e6;const _0x53e5f5=this['_generateExprTree'](_0x462dad,_0x2983ed,_0x2d0949,_0x1342c4);return this[_0x920a3f(0x12b)]='',this[_0x920a3f(0x112)](),_0x53e5f5;}[_0x36795d(0x101)](_0x1fb8bb,_0x3254ce,_0x1a619b,_0x2eab68){const _0x1b144c=_0x36795d,_0x560e22={'value':'','children':[],'startIndex':0x0};let _0x4a90d5=_0x1fb8bb;if(_0x4a90d5 instanceof _0x2d492d&&(_0x4a90d5['getToken']()===_0xbd7c64||_0x4a90d5[_0x1b144c(0x126)]()===_0x1d6892)&&_0x4a90d5['getChildren']()['length']===0x1&&(_0x4a90d5=_0x4a90d5['getChildren']()[0x0]),!(_0x4a90d5 instanceof _0x2d492d))return this[_0x1b144c(0x146)](_0x4a90d5,_0x1a619b,_0x2eab68);const _0x84978c=_0x4a90d5['getChildren'](),_0xfe976b=_0x84978c[_0x1b144c(0x122)],_0x19e79e=[];this[_0x1b144c(0xcb)](_0x4a90d5,_0x19e79e,_0x3254ce),_0x560e22[_0x1b144c(0x100)]=_0x19e79e['join'](''),_0x560e22[_0x1b144c(0xd7)]=_0x4a90d5[_0x1b144c(0x144)]();const _0x3b083d=this[_0x1b144c(0x129)](_0x4a90d5);if(_0x3b083d===0x2){const _0x2d6f80=_0x84978c[0x0];if(_0x2d6f80 instanceof _0x2d492d){if(_0x2d6f80[_0x1b144c(0x126)]()[_0x1b144c(0x139)]()!==_0x4e1da4)return _0x560e22;this[_0x1b144c(0x111)](_0x2d6f80,_0x560e22,_0x3254ce,_0x1a619b,_0x2eab68);}return _0x560e22;}else{if(_0x3b083d===0x1){for(let _0x1cf837=0x0;_0x1cf837<_0xfe976b-0x1;_0x1cf837++){const _0x1e79a6=_0x84978c[_0x1cf837];if(_0x1e79a6 instanceof _0x2d492d&&_0x1cf837%0x2===0x1){const _0x25330d=_0x1e79a6[_0x1b144c(0x14d)]();if(_0x25330d[_0x1b144c(0x122)]===0x1&&!(_0x25330d[0x0]instanceof _0x2d492d))continue;const _0x142790=this['_generateExprTree'](_0x1e79a6,_0x3254ce,_0x1a619b,_0x2eab68);_0x142790&&_0x560e22[_0x1b144c(0x107)][_0x1b144c(0x114)](_0x142790);}}return _0x560e22;}else{if(_0x3b083d===0x8){const _0x2b3d00=_0x84978c[0x0];if(_0x2b3d00 instanceof _0x2d492d){const _0x5462be=_0x2b3d00['getChildren']()[0x0];_0x5462be instanceof _0x2d492d&&(_0x560e22['startIndex']=_0x5462be[_0x1b144c(0x144)]());}}else{if(_0x3b083d===0x7){const _0x5b6a63=_0x84978c[0x0];if(_0x5b6a63 instanceof _0x2d492d){const _0x5675bc=_0x5b6a63['getChildren']()[0x0];_0x5675bc instanceof _0x2d492d&&(_0x560e22[_0x1b144c(0xd7)]=_0x5675bc[_0x1b144c(0x144)]());}}}}}return this[_0x1b144c(0xab)](_0x84978c,_0x3b083d,_0x560e22,_0x3254ce,_0x1a619b,_0x2eab68),_0x560e22;}[_0x36795d(0xab)](_0x8347de,_0x287aa1,_0x20348a,_0x43f3d7,_0x41e8e8,_0x2f998b){const _0x1fcf50=_0x36795d;for(let _0x393926=0x0;_0x393926<_0x8347de[_0x1fcf50(0x122)];_0x393926++){let _0x3cef2f=_0x8347de[_0x393926];if(!(_0x3cef2f instanceof _0x2d492d)){const _0x320b8c=this['_handleTextNodeForExprTree'](_0x3cef2f,_0x41e8e8,_0x2f998b);_0x320b8c&&_0x20348a['children'][_0x1fcf50(0x114)](_0x320b8c);continue;}const _0x383369=_0x3cef2f['getChildren']();if(_0x383369['length']===0x1&&!(_0x383369[0x0]instanceof _0x2d492d)){const _0x4e890c=_0x383369[0x0];if(!_0x41e8e8(this[_0x1fcf50(0x12b)],_0x4e890c)&&!this[_0x1fcf50(0xb6)](_0x4e890c,_0x2f998b)&&!_0x165ecb(_0x4e890c))continue;}if(_0x287aa1===0x8){const _0xdd02ef=_0x383369[0x0];if(_0xdd02ef instanceof _0x2d492d){const _0x38cf65=_0xdd02ef[_0x1fcf50(0x126)]()[_0x1fcf50(0x139)]();if(_0x165ecb(_0x38cf65))continue;_0x3cef2f=_0xdd02ef;}}const _0x252787=this[_0x1fcf50(0x101)](_0x3cef2f,_0x43f3d7,_0x41e8e8,_0x2f998b);_0x252787&&_0x20348a[_0x1fcf50(0x107)][_0x1fcf50(0x114)](_0x252787);}}['_handleTextNodeForExprTree'](_0x514060,_0xf43a55,_0x3e990f){const _0x5a4ca6=_0x36795d,_0x3b2742=_0x514060['trim']();return _0x3b2742[_0x5a4ca6(0x12d)]('{')&&_0x3b2742[_0x5a4ca6(0xef)]('}')||_0xf43a55(this['_currentUnitId'],_0x3b2742)||this['_getTableNameFromStructuredRef'](_0x3b2742,_0x3e990f)||_0x165ecb(_0x3b2742)?{'value':_0x3b2742,'children':[],'startIndex':-0x1}:null;}[_0x36795d(0xb6)](_0x49425c,_0x2839a4){const _0x10cf07=_0x36795d,{tableName:_0x378f26}=_0x3dfd5d(_0x49425c);return _0x2839a4(this[_0x10cf07(0x12b)],_0x378f26)?_0x378f26:null;}[_0x36795d(0x111)](_0x1a88d6,_0x38be68,_0x203641,_0x3efb74,_0x2e31df){const _0x2eb701=_0x36795d,_0x1b3b59=_0x1a88d6[_0x2eb701(0x14d)]();for(let _0x42bb61=0x0;_0x42bb61<_0x1b3b59[_0x2eb701(0x122)];_0x42bb61++){const _0x38e1bc=_0x1b3b59[_0x42bb61];if(!(_0x38e1bc instanceof _0x2d492d))continue;const _0x53b0f1=_0x38e1bc[_0x2eb701(0x14d)]();if(_0x53b0f1[_0x2eb701(0x122)]===0x1&&!(_0x53b0f1[0x0]instanceof _0x2d492d))continue;const _0x254f55=this[_0x2eb701(0x101)](_0x38e1bc,_0x203641,_0x3efb74,_0x2e31df);_0x254f55&&_0x38be68['children'][_0x2eb701(0x114)](_0x254f55);}}['_getCurNodeTypeForExprTree'](_0xce7973){const _0x28bf69=_0x36795d,_0x30d3d9=_0xce7973[_0x28bf69(0x126)](),_0x58d4e6=_0x30d3d9[_0x28bf69(0x139)]()[_0x28bf69(0x120)]();let _0x1a35e7=0x0;return _0x30d3d9===_0xbd7c64?_0x1a35e7=0x3:_0x30d3d9===_0x1d6892?_0x1a35e7=0x4:_0x30d3d9===_0x4e1da4?_0x1a35e7=0x5:_0x58d4e6===_0x3d347e?_0x1a35e7=0x2:_0x58d4e6===_0x578ed6?_0x1a35e7=0x1:_0x58d4e6===_0x3f1f2e[_0x28bf69(0xaf)]?_0x1a35e7=0x8:_0x2ab198[_0x28bf69(0xc5)](_0x58d4e6)?_0x1a35e7=0x7:_0x58d4e6===_0x454018[_0x28bf69(0xe4)]?this[_0x28bf69(0x10d)](_0xce7973)&&(_0x1a35e7=0x9):_0x1a35e7=0xa,_0x1a35e7;}}const Se={0x0:'0',0x1:'8',0x2:'B',0x3:'9',0x4:'C',0x5:'t',0x6:'3',0x7:'L',0x8:'v',0x9:'k','E':'1','y':'2','h':'4','R':'5','O':'6','I':'7','v':'a','f':'b','p':'c','U':'d','g':'e','i':'f','L':'g','a':'h','G':'i','J':'j','r':'l','e':'m','X':'n','w':'o','V':'p','M':'q','W':'r','Q':'s','T':'u','Y':'w','q':'x','t':'y','b':'z','S':'A','F':'D','c':'E','m':'F','x':'G','K':'H','d':'I','Z':'J','u':'K','s':'M','H':'N','C':'O','N':'P','o':'Q','A':'R','z':'S','l':'T','k':'U','P':'V','B':'W','D':'X','j':'Y','n':'Z'},Me=_0x36795d(0xf5);class xe extends _0x489c2d{constructor(){const _0x2f4fff=_0x36795d;super(...arguments),F(this,_0x2f4fff(0xec),new Map());}[_0x36795d(0xe2)](){const _0x45dc17=_0x36795d;super[_0x45dc17(0xe2)](),this[_0x45dc17(0xec)]['clear']();}async[_0x36795d(0x125)](_0xbcdba2=!0x1){const _0x2250fd=_0x36795d;this['_updateRangeFlatten']();const _0x3de484=this[_0x2250fd(0x14e)][_0x2250fd(0xdb)](),_0x46c337=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x27895b=this[_0x2250fd(0x14e)][_0x2250fd(0xf0)]();_0x27895b!=null&&Object[_0x2250fd(0xc9)](_0x27895b)[_0x2250fd(0x156)](_0x572b1d=>{const _0x9a563c=_0x2250fd;_0x572b1d!=null&&Object['keys'](_0x27895b[_0x572b1d])[_0x9a563c(0x156)](_0x60abe9=>{const _0x40ec69=_0x9a563c;_0x60abe9!=null&&(this[_0x40ec69(0xfa)][_0x40ec69(0xca)](_0x572b1d,_0x60abe9),this[_0x40ec69(0xfa)][_0x40ec69(0x15b)](_0x572b1d,_0x60abe9),this[_0x40ec69(0xfa)][_0x40ec69(0xd3)](_0x572b1d,_0x60abe9));});});const _0x7825fb=this[_0x2250fd(0x14e)][_0x2250fd(0x97)]();await this[_0x2250fd(0xae)](_0x3de484,_0x46c337,_0x7825fb),this['_dependencyManagerService'][_0x2250fd(0xe7)]();const _0x2ce5a1=this[_0x2250fd(0xd2)](),_0x82126a=this[_0x2250fd(0xfb)](_0x2ce5a1);return this[_0x2250fd(0x9a)](_0x82126a)&&this[_0x2250fd(0x93)][_0x2250fd(0x105)](),_0xbcdba2&&this['_runtimeService']['setDependencyTreeModelData'](this['_getAllDependencyJson'](Array[_0x2250fd(0xc8)](this['_dependencyTreeCache'][_0x2250fd(0x14b)]()))),this[_0x2250fd(0xec)][_0x2250fd(0xa3)](),this[_0x2250fd(0x110)][_0x2250fd(0xa3)](),this[_0x2250fd(0xfa)][_0x2250fd(0x103)](),this[_0x2250fd(0x93)][_0x2250fd(0x153)](),Promise['resolve'](_0x82126a);}[_0x36795d(0x13c)](_0x29f832,_0x3cf43a){const _0x2bd3c6=_0x36795d,_0x48a259=[_0x29f832];for(;_0x48a259[_0x2bd3c6(0x122)]>0x0;){const _0x28917b=_0x48a259[_0x48a259[_0x2bd3c6(0x122)]-0x1];if((_0x3cf43a[_0x2bd3c6(0x9c)](_0x28917b)||0x0)===0x0){_0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x1);const _0x44682c=this[_0x2bd3c6(0xec)]['get'](_0x28917b);if(_0x44682c==null){_0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x2),_0x48a259[_0x2bd3c6(0xaa)]();continue;}const _0x224904=this[_0x2bd3c6(0xfa)][_0x2bd3c6(0xdd)](_0x44682c[_0x2bd3c6(0x150)]());for(const _0x3ef861 of _0x224904){const _0x2d851d=_0x3cf43a['get'](_0x3ef861)||0x0;if(_0x2d851d===0x1)return!0x0;_0x2d851d===0x0&&_0x48a259[_0x2bd3c6(0x114)](_0x3ef861);}}else _0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x2),_0x48a259[_0x2bd3c6(0xaa)]();}return!0x1;}[_0x36795d(0x9a)](_0x275e77){const _0x321adb=_0x36795d,_0x18e0bc=new Map();for(const _0x499bb3 of _0x275e77)if(!_0x18e0bc[_0x321adb(0xc5)](_0x499bb3[_0x321adb(0xb5)])&&this['_isCyclicUtilMap'](_0x499bb3['treeId'],_0x18e0bc))return!0x0;return _0x18e0bc[_0x321adb(0xa3)](),!0x1;}[_0x36795d(0x132)](_0x32d02e,_0x2144aa,_0xc8aec3){const _0x42396a=_0x36795d,{unitId:_0x2d8593,subUnitId:_0x524247,dependencyRanges:_0x253de8,getDirtyData:_0x5518bf}=_0xc8aec3,_0x5a62ed=_0x2144aa||_0x36f4e8(this['_dependencyManagerService']),_0x6c8c3a=new _0x1b85f6(_0x5a62ed);_0x6c8c3a[_0x42396a(0x14f)]=_0x2d8593,_0x6c8c3a[_0x42396a(0x11f)]=_0x524247,_0x6c8c3a['rangeList']=_0x253de8,_0x6c8c3a[_0x42396a(0x12a)]=_0x5518bf;const _0x2f8984=_0x5518bf(this[_0x42396a(0x14e)][_0x42396a(0x12a)](),this['_runtimeService'][_0x42396a(0x149)]()),_0x59881b=this['_convertDirtyRangesToUnitRange'](_0x2f8984[_0x42396a(0x12f)]);return _0x6c8c3a[_0x42396a(0x140)]=_0x59881b,_0x6c8c3a['featureId']=_0x32d02e,_0x6c8c3a[_0x42396a(0x154)]=_0x18fbc5['FEATURE_FORMULA'],this[_0x42396a(0xfa)]['addFeatureFormulaDependency'](_0x2d8593,_0x524247,_0x32d02e,_0x6c8c3a),this[_0x42396a(0xec)]['set'](_0x6c8c3a[_0x42396a(0xb5)],_0x6c8c3a),this[_0x42396a(0xfa)]['getFeatureFormulaDependency'](_0xc8aec3[_0x42396a(0x14f)],_0xc8aec3['subUnitId'],_0x32d02e)&&(_0x6c8c3a[_0x42396a(0x155)]=!0x0),_0x6c8c3a;}[_0x36795d(0xa1)](_0x142945,_0x3cd24a,_0x9bb9a3){const _0x18f108=_0x36795d;var _0x3f5408;for(const _0x2e0151 of _0x3cd24a){const _0x2a97f8=_0x142945[_0x2e0151];if(_0x2a97f8==null)continue;const _0x299e44=Object[_0x18f108(0xc9)](_0x2a97f8);for(const _0x4e5ffa of _0x299e44){const _0x49b1dd=_0x2a97f8[_0x4e5ffa];if(_0x49b1dd==null)continue;const _0x9bf3b9=Object[_0x18f108(0xc9)](_0x49b1dd);for(const _0x47a52d of _0x9bf3b9){const _0x4e0f11=this['_dependencyManagerService'][_0x18f108(0xf1)](_0x47a52d),_0x27e476=_0x49b1dd[_0x47a52d],{f:_0xaf3ebd,ranges:_0x5cf7af}=_0x27e476;let _0x5e01d4=!0x1;_0x4e0f11&&(_0x5e01d4=!0x0);const {firstRow:_0x21b3c4,firstColumn:_0x1e1613}=this[_0x18f108(0xad)](_0x5cf7af),_0x3e18b0=this[_0x18f108(0xfa)][_0x18f108(0x118)](_0x2e0151,_0x4e5ffa,_0x47a52d),_0x33af5a=(_0x3f5408=_0x3e18b0==null?void 0x0:_0x3e18b0[_0x18f108(0x90)](0x0,0x0))!=null?_0x3f5408:_0x36f4e8(this['_dependencyManagerService']),_0x119149=new _0x1b85f6(_0x33af5a);for(let _0x26be4e=0x0;_0x26be4e<_0x5cf7af[_0x18f108(0x122)];_0x26be4e++){const _0xb50102=_0x5cf7af[_0x26be4e],{startRow:_0x2f4e25,startColumn:_0x5bd4a0,endRow:_0x132b54,endColumn:_0x13b91d}=_0xb50102;for(let _0x5d489b=_0x2f4e25;_0x5d489b<=_0x132b54;_0x5d489b++)for(let _0x56794d=_0x5bd4a0;_0x56794d<=_0x13b91d;_0x56794d++){const _0x45d4c8=_0x56794d-_0x1e1613,_0x5cd657=_0x5d489b-_0x21b3c4;if(_0x45d4c8===0x0&&_0x5cd657===0x0){_0x119149['formula']=_0xaf3ebd,_0x119149['unitId']=_0x2e0151,_0x119149[_0x18f108(0x11f)]=_0x4e5ffa,_0x119149['formulaId']=_0x47a52d,_0x119149[_0x18f108(0x154)]=_0x18fbc5[_0x18f108(0xeb)],_0x119149[_0x18f108(0x155)]=_0x5e01d4,_0x9bb9a3[_0x18f108(0x114)](_0x119149),this[_0x18f108(0xec)]['set'](_0x119149[_0x18f108(0xb5)],_0x119149),this[_0x18f108(0xfa)]['addOtherFormulaDependency'](_0x2e0151,_0x4e5ffa,_0x47a52d,_0x119149),this[_0x18f108(0xfa)][_0x18f108(0x131)](_0x119149);continue;}const _0x5b3642=new _0x318f99();_0x5b3642[_0x18f108(0xb5)]=(_0x3e18b0==null?void 0x0:_0x3e18b0[_0x18f108(0x90)](_0x45d4c8,_0x5cd657))||_0x36f4e8(this[_0x18f108(0xfa)]),_0x5b3642[_0x18f108(0x124)]=_0x119149,_0x5b3642[_0x18f108(0x11e)]=_0x45d4c8,_0x5b3642['refOffsetY']=_0x5cd657,_0x5b3642[_0x18f108(0x155)]=_0x5e01d4,_0x5b3642['type']=_0x18fbc5[_0x18f108(0xeb)],this['_dependencyManagerService'][_0x18f108(0x98)](_0x2e0151,_0x4e5ffa,_0x47a52d,_0x5b3642),this[_0x18f108(0xfa)][_0x18f108(0x131)](_0x5b3642),_0x9bb9a3['push'](_0x5b3642),this[_0x18f108(0xec)][_0x18f108(0x91)](_0x5b3642[_0x18f108(0xb5)],_0x5b3642);}}this[_0x18f108(0xfa)][_0x18f108(0xb1)](_0x47a52d);}}}}[_0x36795d(0x10b)](_0x18347a,_0x5f0ede,_0x930ca4,_0xffad6a){const _0x24b2e0=_0x36795d;for(const _0x4a8c9c of _0x18347a){const _0x50a3d5=_0x5f0ede[_0x4a8c9c];if(_0x50a3d5==null)continue;const _0x3f71d6=Object[_0x24b2e0(0xc9)](_0x50a3d5);for(const _0x2d001a of _0x3f71d6){const _0x3426f9=new _0x3d7146(_0x50a3d5[_0x2d001a]||{}),_0x4e0d39=new Map();_0x3426f9[_0x24b2e0(0xd8)]((_0x4f8c9c,_0x24d6e7,_0x2fae84)=>{const _0x467d6b=_0x24b2e0;if(_0x2fae84==null)return!0x0;const {x:_0x5d29c7=0x0,y:_0xd3fc73=0x0,si:_0x13126f}=_0x2fae84;if(!(_0x5d29c7===0x0&&_0xd3fc73===0x0&&_0x13126f!=null))return!0x0;const _0x2f09e9=this[_0x467d6b(0x95)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7,_0x930ca4,_0x2fae84),_0xfa0445=this[_0x467d6b(0xfa)][_0x467d6b(0x13d)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7);_0xfa0445!=null?_0x2f09e9[_0x467d6b(0xb5)]=_0xfa0445:(this[_0x467d6b(0xfa)][_0x467d6b(0x13e)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7,_0x2f09e9),this[_0x467d6b(0xfa)][_0x467d6b(0x131)](_0x2f09e9)),_0x4e0d39['set'](_0x13126f,_0x2f09e9),_0xffad6a['push'](_0x2f09e9),this[_0x467d6b(0xec)][_0x467d6b(0x91)](_0x2f09e9[_0x467d6b(0xb5)],_0x2f09e9);}),_0x3426f9[_0x24b2e0(0xd8)]((_0x4fe159,_0x2dc96e,_0x81e8fd)=>{const _0x19d4ae=_0x24b2e0;if(_0x81e8fd==null)return!0x0;const {x:_0x55bd80=0x0,y:_0x3ebb43=0x0,si:_0x42e360}=_0x81e8fd;if(_0x55bd80===0x0&&_0x3ebb43===0x0&&_0x42e360!=null)return!0x0;let _0x4d8e31;if(_0x42e360&&_0x4e0d39[_0x19d4ae(0xc5)](_0x42e360)){const _0x214243=_0x4e0d39[_0x19d4ae(0x9c)](_0x42e360);_0x4d8e31=this['_createVirtualFDtree'](_0x214243,_0x81e8fd);}else _0x4d8e31=this['_createFDtree'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e,_0x930ca4,_0x81e8fd);const _0x541ab7=this[_0x19d4ae(0xfa)]['getFormulaDependency'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e);_0x541ab7!=null?_0x4d8e31[_0x19d4ae(0xb5)]=_0x541ab7:(this['_dependencyManagerService']['addFormulaDependency'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e,_0x4d8e31),this['_dependencyManagerService'][_0x19d4ae(0x131)](_0x4d8e31)),_0xffad6a[_0x19d4ae(0x114)](_0x4d8e31),this['_dependencyTreeCache'][_0x19d4ae(0x91)](_0x4d8e31[_0x19d4ae(0xb5)],_0x4d8e31);}),_0x4e0d39[_0x24b2e0(0xa3)]();}}}[_0x36795d(0x95)](_0x194f7d,_0x20ca64,_0x488201,_0x5edda2,_0x5c1c32,_0x1a1f5b){const _0x3ec7da=_0x36795d,{f:_0x181a08,x:_0x3ad37e=0x0,y:_0x48f21c=0x0}=_0x1a1f5b,_0x32a12d=new _0x1b85f6(_0x36f4e8(this[_0x3ec7da(0xfa)])),_0x459f0c=_0x5c1c32[_0x194f7d][_0x20ca64];return _0x32a12d[_0x3ec7da(0x102)]=_0x181a08,_0x32a12d[_0x3ec7da(0x14f)]=_0x194f7d,_0x32a12d['subUnitId']=_0x20ca64,_0x32a12d[_0x3ec7da(0xa7)]=_0x488201,_0x32a12d[_0x3ec7da(0xbc)]=_0x5edda2,_0x32a12d[_0x3ec7da(0xf4)]=_0x459f0c[_0x3ec7da(0xf4)],_0x32a12d[_0x3ec7da(0x10a)]=_0x459f0c[_0x3ec7da(0x10a)],_0x32a12d;}[_0x36795d(0xd2)](){const _0x360111=_0x36795d,_0x2bc89e=[],_0x2984f8=new Set(),_0x39f406=this['_currentConfigService']['isForceCalculate'](),_0x10f444=this[_0x360111(0x14e)]['getDirtyRanges'](),_0x2f742c=this[_0x360111(0xfa)]['searchDependency'](_0x10f444),_0x157273=this[_0x360111(0x110)][_0x360111(0x9f)](_0x10f444);for(const _0x26b661 of _0x157273)_0x2f742c[_0x360111(0x12c)](_0x26b661);for(const [_0x2a574a,_0x5461d7]of this['_dependencyTreeCache'])(_0x39f406||_0x5461d7[_0x360111(0xf9)]||_0x5461d7[_0x360111(0x10e)](this[_0x360111(0x14e)][_0x360111(0xa4)]())||_0x2f742c[_0x360111(0xc5)](_0x2a574a)&&!_0x5461d7['isExcludeRange'](this[_0x360111(0x14e)][_0x360111(0x13f)]()))&&!_0x2984f8[_0x360111(0xc5)](_0x2a574a)&&(_0x2bc89e['push'](_0x5461d7),_0x2984f8['add'](_0x2a574a));for(const [_0x284bf6,_0x5d4529]of this[_0x360111(0xec)])_0x5d4529['isVirtual']||(_0x5d4529[_0x360111(0xda)][_0x360111(0x122)]=0x0);return _0x2bc89e;}[_0x36795d(0x135)](_0xb0a1d6){const _0x724718=_0x36795d;return this[_0x724718(0xec)][_0x724718(0x9c)](_0xb0a1d6);}['_getTreeNode'](_0x1c6299){const _0x412c0b=_0x36795d;return _0x8ed8fb(_0x1c6299[_0x412c0b(0x14f)],_0x1c6299['formula'],this[_0x412c0b(0xcc)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x36795d(0xb7)](_0x468c75,_0x367bae){const _0x3aa89b=_0x36795d,_0x49a9ed=_0x468c75,_0x5c3058=new Set();for(;_0x49a9ed[_0x3aa89b(0x122)]>0x0;){const _0x32ed82=_0x49a9ed[_0x3aa89b(0xaa)]();if(_0x5c3058[_0x3aa89b(0xa3)](),_0x32ed82===void 0x0||_0x32ed82['isSkip']())continue;if(_0x32ed82[_0x3aa89b(0xc1)]()){yield _0x32ed82,_0x32ed82[_0x3aa89b(0xed)](),_0x367bae['add'](_0x32ed82[_0x3aa89b(0xb5)]);continue;}const _0x5da1e0=this[_0x3aa89b(0xfa)][_0x3aa89b(0xdd)](_0x32ed82[_0x3aa89b(0x150)](),_0x367bae),_0x8d9034=this[_0x3aa89b(0x110)][_0x3aa89b(0x9f)](_0x32ed82[_0x3aa89b(0x150)](),_0x367bae);for(const _0x510616 of _0x8d9034)_0x5da1e0[_0x3aa89b(0x12c)](_0x510616);for(const _0xf21429 of _0x5da1e0){const _0x25084e=this[_0x3aa89b(0xec)][_0x3aa89b(0x9c)](_0xf21429);if(!_0x25084e)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x25084e[_0x3aa89b(0xc1)]()||_0x32ed82[_0x3aa89b(0x138)]()||_0x5c3058[_0x3aa89b(0x12c)](_0x25084e);}if(_0x5da1e0[_0x3aa89b(0xa3)](),_0x5c3058[_0x3aa89b(0x10f)]===0x0)yield _0x32ed82,_0x32ed82[_0x3aa89b(0xed)](),_0x367bae['add'](_0x32ed82[_0x3aa89b(0xb5)]);else{_0x32ed82[_0x3aa89b(0xb4)](),_0x49a9ed['push'](_0x32ed82);for(const _0x2bf733 of _0x5c3058)_0x49a9ed[_0x3aa89b(0x114)](_0x2bf733);}}_0x49a9ed[_0x3aa89b(0x122)]=0x0,_0x5c3058['clear']();}[_0x36795d(0xfb)](_0x12e05a){const _0x4371f6=_0x36795d,_0x4d73fb=[],_0x483eb4=new Set();for(const _0x343ac0 of this[_0x4371f6(0xb7)](_0x12e05a,_0x483eb4))_0x4d73fb[_0x4371f6(0x114)](_0x343ac0);return _0x4d73fb;}async[_0x36795d(0xc7)](){const _0x2efbb4=_0x36795d;return await this[_0x2efbb4(0xb9)](),Array['from'](this[_0x2efbb4(0xec)]['values']());}['_getDependencyTreeParenIds'](_0x4bd914){const _0x57f389=_0x36795d;return this['_dependencyManagerService'][_0x57f389(0xdd)](_0x4bd914[_0x57f389(0x150)]());}[_0x36795d(0x123)](_0x4f68a3){const _0x15baa=_0x36795d,_0x313a47=new Set(),_0x5b9aaa=_0x4f68a3[_0x15baa(0xda)];for(const [_0x2a864c,_0x2839c2]of this['_dependencyTreeCache'])for(const _0x473a49 of _0x5b9aaa){const _0x501b47=_0x473a49[_0x15baa(0x14f)],_0x4ee7b2=_0x473a49[_0x15baa(0x121)];if(_0x2839c2[_0x15baa(0x14f)]!==_0x501b47||_0x2839c2[_0x15baa(0x11f)]!==_0x4ee7b2)continue;const _0x1b2ed8=_0x473a49[_0x15baa(0x148)];if(_0x2839c2[_0x15baa(0xe0)](_0x1b2ed8)){_0x313a47[_0x15baa(0x12c)](_0x2a864c);break;}}return _0x313a47;}[_0x36795d(0x14a)](){const _0x312236=_0x36795d;this['_dependencyManagerService'][_0x312236(0xe7)]();}[_0x36795d(0xd0)](){const _0x1e1d01=_0x36795d;this['_formulaDependencyTreeModel'][_0x1e1d01(0xa3)](),this[_0x1e1d01(0xec)][_0x1e1d01(0xa3)](),this['_dependencyManagerService'][_0x1e1d01(0x103)]();}}function _0x5691(){const _0x22e02a=['type','isCache','forEach','refOffsetY','_astTreeBuilder','\x22\x20is\x20duplicated.','addFeatureFormulaDependency','clearFeatureFormulaDependency','removeOtherFormulaDependency','getValue','set','message','_runtimeService','14Qqfkfq','_createFDtree','1045364LhzbSa','getUnitData','addOtherFormulaDependency','setCompletedArrayFormulasCount','_checkIsCycleDependency','_otherFormulaData','get','_formulaData','1180192WxfYIT','bulkSearch','_allTreeMap','_registerOtherFormulas','defineProperty','clear','getDirtyNameMap','getFormulaExprTree','_clearPrefix','row','setRuntimeFeatureCellData','_featureFormulaData','pop','_handleChildrenForExprTree','START_DEPENDENCY_ARRAY_FORMULA','_getFirstCellOfRange','_generateTreeList','COLON','join','addOtherFormulaDependencyMainData','_lambdaFunctionParameterSet','IDLE','setAdded','treeId','_getTableNameFromStructuredRef','_traverse','max','_initializeGenerateTreeList','_initLicenseValid','_isCalculateTreeModel','column','intervalCount','_addAllTreeMap','_otherFormulaDataMainData','markedAsStopFunctionsExecuted','isAdded','featureId','233559XlnMhq','markedAsNoFunctionsExecuted','has','START_CALCULATION_ARRAY_FORMULA','_getAllTreeList','from','keys','clearOtherFormulaDependency','_generateNewFunctionString','_lexer','removeFeatureFormulaDependency','_xlpmPrefix','_handleNewFunctionChild','_endFormulaDependencyTreeModel','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','clearFormulaDependency','treeBuilder','_removeDependencyRTreeCacheById','setCurrent','startIndex','forValue','_executionInProgressListener$','rangeList','getFormulaData','START_CALCULATION','searchDependency','isArray','744354OYrdXI','inRangeData','formulaId','dispose','VALUE','MINUS','setFormulaExecuteStage','START_DEPENDENCY','openKdTree','_config','slice','_apply','OTHER_FORMULA','_dependencyTreeCache','setSkip','startRow','endsWith','getClearDependencyTreeCache','hasOtherFormulaDataMainData','setRuntimeFeatureRange','711392ScyDMK','rowCount','/*\x20gQrGX5-UGQvfrg\x20VWgigW-5geVrv5g\x20*/iTXp5GwX\x20UgpWtV5GwX(rGpgXQg,\x20VTfrGpugt)\x20{\x20\x20\x20\x205Wt\x20{\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20rGpgXQgdXiwNvW5SWWvt\x20=\x20rGpgXQg.QVrG5(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20wWGLGXsgQQvLg\x20=\x20ZzCH.VvWQg(v5wf(rGpgXQgdXiwNvW5SWWvt[y]));\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(!wWGLGXsgQQvLg.TU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wWGLGXsgQQvLg.TU\x20=\x20HTefgW(rGpgXQgdXiwNvW5SWWvt[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQBwW9gW\x20=\x205tVgwi\x20BwW9gWxrwfvrzpwVg\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x20Qgri\x20GXQ5vXpgwi\x20BwW9gWxrwfvrzpwVg;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQ2WwYQgW\x20=\x205tVgwi\x20YGXUwY\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x205tVgwi\x20YGXUwY.rwpv5GwX\x20!==\x20\x27TXUgiGXgU\x27;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20pwX5gq5\x20=\x20GQBwW9gW\x20?\x20Qgri\x20:\x20(GQ2WwYQgW\x20?\x20YGXUwY\x20:\x20LrwfvrlaGQ);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[y]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(egQQvLgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[6]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(QGLXv5TWgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXPvrGU\x20=\x20pwX5gq5.__8gWGit__(QGLXv5TWg,\x20egQQvLg,\x20VTfrGpugt);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20UwevGX\x20=\x20wWGLGXsgQQvLg.Ue;\x20\x20\x20\x20\x20\x20\x20\x20iTXp5GwX\x20GQFwevGXsv5paGXL(Vv55gWX,\x20awQ5)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX\x20===\x20awQ5)\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX.Q5vW5QBG5a(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QTiiGq\x20=\x20Vv55gWX.QrGpg(y);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(QTiiGq\x20&&\x20!awQ5.Q5vW5QBG5a(\x27.\x27)\x20&&\x20awQ5\x20!==\x20QTiiGq\x20&&\x20awQ5.gXUQBG5a(\x27.\x27\x20+\x20QTiiGq))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rg5\x20UwevGXPvrGU\x20=\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(GQ2WwYQgW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x20(UwevGX\x20&&\x20UwevGX.rgXL5a)\x20?\x20UwevGX.Qweg((Ued5ge)\x20=>\x20GQFwevGXsv5paGXL(Ued5ge,\x20rwpv5GwX.awQ5Xveg))\x20:\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(rwpv5GwX.awQ5Xveg\x20===\x20\x27rwpvrawQ5\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20grQg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x208vrGU\x20=\x20QGLXPvrGU\x20&&\x20UwevGXPvrGU;\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20wWGLGXsgQQvLg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20pv5pa\x20(gWWwW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU:\x20ivrQg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','resetCalculationState','getNewFormulaWithPrefix','_configService','isDirty','_dependencyManagerService','_calculateRunList','endColumn','realDeleteValue','7zbZoPq','1182140LnWtFz','value','_generateExprTree','formula','closeKdTree','_dependencyRTreeCache','enableCycleDependency','endRow','children','_initializeWithOverride','Lambda\x20parameter\x20name\x20\x22','columnCount','_registerFormulas','_xlfnPrefix','_checkAddBracketForMinus','dependencySheetName','size','_dependencyRTreeCacheForAddressFunction','_handleLambdaForExprTree','_resetPrefix','checkAsyncNode','push','getConfig','_clearFunctionString','delete','getOtherFormulaDependency','Let\x20variable\x20name\x20\x22','notExecuteFormula','setRuntimeData','next','_xlpm.','refOffsetX','subUnitId','toUpperCase','sheetId','length','_getDependencyTreeChildrenIds','refTree','generate','getToken','reset','node','_getCurNodeTypeForExprTree','getDirtyData','_currentUnitId','add','startsWith','6BMhOHD','dirtyRanges','getRuntimeState','addFormulaDependencyByDefinedName','_getFeatureFormulaTree','string','3701545MJuZbA','_getTreeById','min','_xlfn.','isSkip','trim','_removeDependencyRTreeCache','_formulaDependencyGenerator','_isCyclicUtilMap','getFormulaDependency','addFormulaDependency','getExcludedRange','featureDirtyRanges','_hasNewExcelFunction','symbol','setCompletedFormulasCount','getStartIndex','setValue','_handleTextNodeForExprTree','_injector','range','getAllRuntimeData','_startFormulaDependencyTreeModel','values','error','getChildren','_currentConfigService','unitId','toRTreeItem','return\x20','isStopExecution','clearArrayObjectCache'];_0x5691=function(){return _0x22e02a;};return _0x5691();}class Re extends _0x40e348{async[_0x36795d(0xea)](_0x37b9c5=!0x1){const _0x14e054=_0x36795d;_0x37b9c5?this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xac)]):this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xe6)]),this['_executionInProgressListener$'][_0x14e054(0x11c)](this['_runtimeService'][_0x14e054(0x130)]());const _0x2a3927=await this[_0x14e054(0x13b)]['generate'](this[_0x14e054(0xbb)]),_0x271425=this['_interpreter'];_0x37b9c5?(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xc6)]),this[_0x14e054(0x93)]['setTotalArrayFormulasToCalculate'](_0x2a3927['length'])):(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xdc)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x2a3927[_0x14e054(0x122)])),this['_executionInProgressListener$'][_0x14e054(0x11c)](this[_0x14e054(0x93)][_0x14e054(0x130)]());let _0x22b8e6=[];const _0x3e975b=this[_0x14e054(0xf8)][_0x14e054(0x115)](_0x2cd7f4),_0x34f7af=(_0x3e975b==null?void 0x0:_0x3e975b[_0x14e054(0xbd)])||_0x46437c;let _0x5a042f=0x0;const _0x2525ed=_0x2a3927[_0x14e054(0x122)];for(;_0x2a3927[_0x14e054(0x122)]>0x0;){const _0x3cf6a9=_0x2a3927[_0x14e054(0xaa)](),_0x3a4ad4=_0x8ed8fb(_0x3cf6a9[_0x14e054(0x14f)],_0x3cf6a9['formula'],this['_lexer'],this[_0x14e054(0x158)],this[_0x14e054(0x14e)]),_0x14843d={'node':_0x3a4ad4,'refOffsetX':_0x3cf6a9[_0x14e054(0x11e)],'refOffsetY':_0x3cf6a9[_0x14e054(0x157)]},_0x49090f=_0x3cf6a9[_0x14e054(0x12a)];if(_0x5a042f%_0x34f7af===0x0&&(await new Promise(_0x4e5236=>{const _0x11fc11=_0x14e054,_0x562019=_0x50f254(_0x4e5236);_0x22b8e6[_0x11fc11(0x114)](_0x562019);}),_0x37b9c5?(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x14e054(0x93)][_0x14e054(0x99)](_0x5a042f+0x1)):(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x14e054(0x143)](_0x5a042f+0x1)),this[_0x14e054(0xd9)][_0x14e054(0x11c)](this[_0x14e054(0x93)][_0x14e054(0x130)]()),this[_0x14e054(0x93)][_0x14e054(0x152)]()||_0x14843d==null&&_0x49090f==null)){this['_runtimeService'][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xb3)]),this[_0x14e054(0x93)][_0x14e054(0xc0)](),this['_executionCompleteListener$'][_0x14e054(0x11c)](this[_0x14e054(0x93)]['getAllRuntimeData']());return;}this[_0x14e054(0x93)][_0x14e054(0xd6)](_0x3cf6a9[_0x14e054(0xa7)],_0x3cf6a9[_0x14e054(0xbc)],_0x3cf6a9[_0x14e054(0xf4)],_0x3cf6a9[_0x14e054(0x10a)],_0x3cf6a9[_0x14e054(0x11f)],_0x3cf6a9[_0x14e054(0x14f)]);let _0x21b7bd;if(_0x49090f!=null&&_0x3cf6a9[_0x14e054(0xc2)]!=null){const {runtimeCellData:_0x11a47c,dirtyRanges:_0x2d2963}=_0x49090f(this[_0x14e054(0x14e)][_0x14e054(0x12a)](),this[_0x14e054(0x93)][_0x14e054(0x149)]());this['_runtimeService'][_0x14e054(0xa8)](_0x3cf6a9[_0x14e054(0xc2)],_0x11a47c),this['_runtimeService'][_0x14e054(0xf2)](_0x3cf6a9[_0x14e054(0xc2)],_0x2d2963);}else _0x14843d!=null&&(_0x271425[_0x14e054(0x113)](_0x14843d[_0x14e054(0x128)])?_0x21b7bd=await _0x271425['executeAsync'](_0x14843d):_0x21b7bd=_0x271425['execute'](_0x14843d),_0x3cf6a9[_0x14e054(0xe1)]!=null?this[_0x14e054(0x93)]['setRuntimeOtherData'](_0x3cf6a9[_0x14e054(0xe1)],_0x3cf6a9[_0x14e054(0x11e)],_0x3cf6a9[_0x14e054(0x157)],_0x21b7bd):this[_0x14e054(0x93)][_0x14e054(0x11b)](_0x21b7bd));_0x3a4ad4[_0x14e054(0xf6)](),_0x5a042f++;}return _0x22b8e6[_0x14e054(0x156)](_0x443303=>_0x443303()),_0x22b8e6=[],_0x2525ed>0x0?this[_0x14e054(0x93)]['markedAsSuccessfullyExecuted']():_0x37b9c5||this[_0x14e054(0x93)][_0x14e054(0xc4)](),this['_runtimeService']['getAllRuntimeData']();}}class Ee extends _0x50d701{constructor(){const _0x4e2677=_0x36795d;super(...arguments),F(this,_0x4e2677(0xa0),new Map()),F(this,_0x4e2677(0x104),new _0x252685(!0x0));}[_0x36795d(0x127)](){const _0x37f22a=_0x36795d;this[_0x37f22a(0x9b)][_0x37f22a(0xa3)](),this['_featureFormulaData'][_0x37f22a(0xa3)](),this[_0x37f22a(0x9d)][_0x37f22a(0xa3)](),this[_0x37f22a(0x104)]['clear'](),this[_0x37f22a(0xa0)][_0x37f22a(0xa3)](),this['_restDependencyTreeId'](),this[_0x37f22a(0xbf)][_0x37f22a(0xa3)]();}['addOtherFormulaDependency'](_0x44fef3,_0x44dc61,_0x49687e,_0x248c85){const _0x201399=_0x36795d;this[_0x201399(0x9b)][_0x201399(0xc5)](_0x44fef3)||this[_0x201399(0x9b)]['set'](_0x44fef3,new Map());const _0x4abc04=this[_0x201399(0x9b)][_0x201399(0x9c)](_0x44fef3);_0x4abc04[_0x201399(0xc5)](_0x44dc61)||_0x4abc04[_0x201399(0x91)](_0x44dc61,new Map());const _0x24c4f1=_0x4abc04[_0x201399(0x9c)](_0x44dc61);_0x24c4f1[_0x201399(0xc5)](_0x49687e)||_0x24c4f1[_0x201399(0x91)](_0x49687e,new _0x3d7146()),_0x24c4f1[_0x201399(0x9c)](_0x49687e)[_0x201399(0x145)](_0x248c85['refOffsetX'],_0x248c85[_0x201399(0x157)],_0x248c85[_0x201399(0xb5)]);}[_0x36795d(0x15c)](_0x3a4f33,_0x2e8e18,_0x12876a){const _0x3b7acc=_0x36795d,_0x2477ad=this['_otherFormulaData'][_0x3b7acc(0x9c)](_0x3a4f33);if(_0x2477ad&&_0x2477ad[_0x3b7acc(0xc5)](_0x2e8e18)){const _0x14e1a9=_0x2477ad['get'](_0x2e8e18);_0x12876a['forEach'](_0x439e8e=>{const _0x3c4c61=_0x3b7acc,_0x195911=_0x14e1a9['get'](_0x439e8e);_0x195911!=null&&(_0x195911[_0x3c4c61(0xd8)]((_0xc0a091,_0x389b78,_0x2242fc)=>{const _0x5c02da=_0x3c4c61;this[_0x5c02da(0x13a)](_0x2242fc),this[_0x5c02da(0xd1)](_0x2242fc);}),_0x14e1a9['delete'](_0x439e8e),this[_0x3c4c61(0xbf)][_0x3c4c61(0x117)](_0x439e8e));}),_0x14e1a9[_0x3b7acc(0x10f)]===0x0&&_0x2477ad[_0x3b7acc(0x117)](_0x2e8e18),_0x2477ad['size']===0x0&&this[_0x3b7acc(0x9b)][_0x3b7acc(0x117)](_0x3a4f33);}}['clearOtherFormulaDependency'](_0x4febed,_0x24e4c6){const _0x425c47=_0x36795d,_0x62f41c=this[_0x425c47(0x9b)][_0x425c47(0x9c)](_0x4febed);if(_0x24e4c6&&_0x62f41c&&_0x62f41c['has'](_0x24e4c6)){const _0x1eebdd=_0x62f41c[_0x425c47(0x9c)](_0x24e4c6);this['_removeDependencyRTreeCacheById'](_0x4febed,_0x24e4c6);for(const _0x3ea16b of _0x1eebdd['keys']()){const _0x11e050=_0x1eebdd[_0x425c47(0x9c)](_0x3ea16b);_0x11e050!=null&&(_0x11e050[_0x425c47(0xd8)]((_0x4b7eea,_0xa7bbb9,_0x126828)=>{const _0x4e806b=_0x425c47;this[_0x4e806b(0xa0)][_0x4e806b(0x9c)](_0x126828)&&this[_0x4e806b(0xd1)](_0x126828);}),this[_0x425c47(0xbf)][_0x425c47(0x117)](_0x3ea16b));}_0x1eebdd[_0x425c47(0xa3)]();}else{if(_0x62f41c){for(const _0x50162d of _0x62f41c[_0x425c47(0xc9)]()){const _0x436e9a=_0x62f41c[_0x425c47(0x9c)](_0x50162d);this['_removeDependencyRTreeCacheById'](_0x4febed,_0x50162d);for(const _0x5830c2 of _0x436e9a[_0x425c47(0xc9)]()){const _0x467334=_0x436e9a['get'](_0x5830c2);_0x467334!=null&&(_0x467334[_0x425c47(0xd8)]((_0x4c8985,_0x1c84a6,_0x43bf30)=>{const _0x30a370=_0x425c47;this[_0x30a370(0xa0)][_0x30a370(0x9c)](_0x43bf30)&&this[_0x30a370(0xd1)](_0x43bf30);}),this[_0x425c47(0xbf)][_0x425c47(0x117)](_0x5830c2));}}this[_0x425c47(0x9b)][_0x425c47(0x117)](_0x4febed);}}}[_0x36795d(0x15a)](_0x3e2fec,_0x1eb9d4,_0x3cc861,_0x14bee2){const _0x1fd77c=_0x36795d;this[_0x1fd77c(0xa9)][_0x1fd77c(0xc5)](_0x3e2fec)||this[_0x1fd77c(0xa9)]['set'](_0x3e2fec,new Map());const _0x578d26=this['_featureFormulaData'][_0x1fd77c(0x9c)](_0x3e2fec);_0x578d26[_0x1fd77c(0xc5)](_0x1eb9d4)||_0x578d26[_0x1fd77c(0x91)](_0x1eb9d4,new Map()),_0x578d26[_0x1fd77c(0x9c)](_0x1eb9d4)[_0x1fd77c(0x91)](_0x3cc861,_0x14bee2['treeId']);}[_0x36795d(0xcd)](_0x5bd6fa,_0x15f7af,_0x5b26ed){const _0xdede4e=_0x36795d,_0x1da861=this[_0xdede4e(0xa9)][_0xdede4e(0x9c)](_0x5bd6fa);if(_0x1da861&&_0x1da861['has'](_0x15f7af)){const _0x2d7fa0=_0x1da861[_0xdede4e(0x9c)](_0x15f7af);_0x5b26ed['forEach'](_0x363b30=>{const _0x19acdd=_0xdede4e,_0x5bb96d=_0x2d7fa0[_0x19acdd(0x9c)](_0x363b30);_0x5bb96d!=null&&(this[_0x19acdd(0x13a)](_0x5bb96d),_0x2d7fa0['delete'](_0x363b30),this['_removeAllTreeMap'](_0x5bb96d));});}}[_0x36795d(0x15b)](_0x35798c,_0x4409f5){const _0x1515eb=_0x36795d,_0x446117=this['_featureFormulaData'][_0x1515eb(0x9c)](_0x35798c);if(_0x4409f5&&_0x446117&&_0x446117[_0x1515eb(0xc5)](_0x4409f5)){const _0x51e4df=_0x446117[_0x1515eb(0x9c)](_0x4409f5);this[_0x1515eb(0xd5)](_0x35798c,_0x4409f5),_0x51e4df[_0x1515eb(0x156)](_0xcef743=>{_0xcef743!=null&&this['_removeAllTreeMap'](_0xcef743);}),_0x51e4df[_0x1515eb(0xa3)]();}else _0x446117&&(_0x446117[_0x1515eb(0x156)]((_0x2da2cd,_0x229dcb)=>{const _0x41a22a=_0x1515eb;this[_0x41a22a(0xd5)](_0x35798c,_0x229dcb),_0x2da2cd[_0x41a22a(0x156)](_0x1e9ba9=>{const _0x5a4434=_0x41a22a;_0x1e9ba9!=null&&this[_0x5a4434(0xd1)](_0x1e9ba9);});}),this['_featureFormulaData'][_0x1515eb(0x117)](_0x35798c));}[_0x36795d(0x13e)](_0x34f8c2,_0x430dec,_0x118103,_0x4a9b53,_0x5c131f){const _0x140f49=_0x36795d;this[_0x140f49(0x9d)]['has'](_0x34f8c2)||this[_0x140f49(0x9d)][_0x140f49(0x91)](_0x34f8c2,new Map());const _0x484737=this['_formulaData']['get'](_0x34f8c2);_0x484737[_0x140f49(0xc5)](_0x430dec)||_0x484737[_0x140f49(0x91)](_0x430dec,new _0x3d7146()),_0x484737['get'](_0x430dec)[_0x140f49(0x145)](_0x118103,_0x4a9b53,_0x5c131f['treeId']);}['removeFormulaDependency'](_0xe12452,_0x56ee68,_0x40e458,_0x1c4219){const _0x457e65=_0x36795d,_0x3636fe=this[_0x457e65(0x9d)][_0x457e65(0x9c)](_0xe12452);if(_0x3636fe&&_0x3636fe[_0x457e65(0xc5)](_0x56ee68)){const _0x10e4cb=_0x3636fe[_0x457e65(0x9c)](_0x56ee68),_0xb3562a=_0x10e4cb[_0x457e65(0x90)](_0x40e458,_0x1c4219);if(_0xb3562a==null)return;this[_0x457e65(0x13a)](_0xb3562a),_0x10e4cb[_0x457e65(0xfd)](_0x40e458,_0x1c4219),this[_0x457e65(0xd1)](_0xb3562a);}}[_0x36795d(0xd3)](_0x27d6bd,_0x5c5716){const _0x2c1d20=_0x36795d,_0x420836=this[_0x2c1d20(0x9d)]['get'](_0x27d6bd);if(_0x5c5716&&_0x420836&&_0x420836[_0x2c1d20(0xc5)](_0x5c5716)){const _0x36bbc2=_0x420836[_0x2c1d20(0x9c)](_0x5c5716);this[_0x2c1d20(0xd5)](_0x27d6bd,_0x5c5716),_0x36bbc2[_0x2c1d20(0xd8)]((_0xf8673b,_0x197292,_0x377c6d)=>{const _0x4d9435=_0x2c1d20;if(_0x377c6d==null)return!0x0;this[_0x4d9435(0xd1)](_0x377c6d);}),_0x36bbc2[_0x2c1d20(0x127)]();}else _0x420836&&(_0x420836[_0x2c1d20(0x156)]((_0x434434,_0x7c6a50)=>{const _0x2110d1=_0x2c1d20;this['_removeDependencyRTreeCacheById'](_0x27d6bd,_0x7c6a50),_0x434434[_0x2110d1(0xd8)]((_0x4becee,_0x410a7f,_0x33732e)=>{const _0x270120=_0x2110d1;if(_0x33732e==null)return!0x0;this[_0x270120(0xd1)](_0x33732e);});}),this[_0x2c1d20(0x9d)][_0x2c1d20(0x117)](_0x27d6bd));}[_0x36795d(0x13a)](_0x19c0f0){const _0x38e913=_0x36795d;if(_0x19c0f0==null)return;const _0x1e52d1=this[_0x38e913(0xa0)][_0x38e913(0x9c)](_0x19c0f0);if(_0x1e52d1){const _0x420d80=[];for(const [_0x47c946,_0x41a054]of _0x1e52d1)for(const [_0x37db51,_0x1d999c]of _0x41a054)_0x420d80['push']({'unitId':_0x47c946,'sheetId':_0x37db51,'range':_0x1d999c,'id':_0x19c0f0});this[_0x38e913(0x104)]['bulkRemove'](_0x420d80);}}['removeFormulaDependencyByDefinedName'](_0x49096c,_0x4b0062){const _0x39ed5a=_0x36795d,_0x475eed=this['_definedNameMap'][_0x39ed5a(0x9c)](_0x49096c);if(_0x475eed){const _0x52802b=_0x475eed[_0x39ed5a(0x9c)](_0x4b0062);if(_0x52802b){for(const _0x26e3e1 of _0x52802b)this[_0x39ed5a(0x13a)](_0x26e3e1),this[_0x39ed5a(0xd1)](_0x26e3e1);_0x52802b[_0x39ed5a(0xa3)]();}}}['openKdTree'](){const _0x46227d=_0x36795d;this[_0x46227d(0x104)][_0x46227d(0xe7)]();}[_0x36795d(0x103)](){const _0x1096bc=_0x36795d;this['_dependencyRTreeCache'][_0x1096bc(0x103)]();}[_0x36795d(0xd1)](_0x4ec9fc){const _0x1f091c=_0x36795d;_0x4ec9fc!=null&&this[_0x1f091c(0xa0)]['delete'](_0x4ec9fc);}[_0x36795d(0xbe)](_0x393905){const _0x35e2f5=_0x36795d;var _0x1d6c95,_0x45e0e7;const _0x32c22c=_0x393905[_0x35e2f5(0xda)];let _0x2efd62=this[_0x35e2f5(0xa0)][_0x35e2f5(0x9c)](_0x393905['treeId']);for(let _0x2322a8=0x0;_0x2322a8<_0x32c22c[_0x35e2f5(0x122)];_0x2322a8++){const _0x1af99a=_0x32c22c[_0x2322a8];let {unitId:_0x4ce512,sheetId:_0x54e9e5,range:_0x4a0327}=_0x1af99a;_0x2efd62||(_0x2efd62=new Map(),this[_0x35e2f5(0xa0)][_0x35e2f5(0x91)](_0x393905[_0x35e2f5(0xb5)],_0x2efd62)),_0x2efd62[_0x35e2f5(0xc5)](_0x4ce512)||_0x2efd62[_0x35e2f5(0x91)](_0x4ce512,new Map());const _0xe0dec8=(_0x1d6c95=_0x2efd62==null?void 0x0:_0x2efd62[_0x35e2f5(0x9c)](_0x4ce512))==null?void 0x0:_0x1d6c95[_0x35e2f5(0x9c)](_0x54e9e5);_0xe0dec8&&(_0x4a0327={'startRow':Math['min'](_0x4a0327[_0x35e2f5(0xee)],_0xe0dec8[_0x35e2f5(0xee)]),'startColumn':Math[_0x35e2f5(0x136)](_0x4a0327['startColumn'],_0xe0dec8['startColumn']),'endRow':Math[_0x35e2f5(0xb8)](_0x4a0327[_0x35e2f5(0x106)],_0xe0dec8['endRow']),'endColumn':Math[_0x35e2f5(0xb8)](_0x4a0327[_0x35e2f5(0xfc)],_0xe0dec8[_0x35e2f5(0xfc)])}),(_0x45e0e7=_0x2efd62[_0x35e2f5(0x9c)](_0x4ce512))==null||_0x45e0e7['set'](_0x54e9e5,_0x4a0327);}}}var Ge=Object['getOwnPropertyDescriptor'],Le=(_0x4f88eb,_0x3ece44,_0x2b0435,_0x240daa)=>{const _0x2e71cc=_0x36795d;for(var _0x5db8a2=_0x240daa>0x1?void 0x0:_0x240daa?Ge(_0x3ece44,_0x2b0435):_0x3ece44,_0x238990=_0x4f88eb[_0x2e71cc(0x122)]-0x1,_0x3c5048;_0x238990>=0x0;_0x238990--)(_0x3c5048=_0x4f88eb[_0x238990])&&(_0x5db8a2=_0x3c5048(_0x5db8a2)||_0x5db8a2);return _0x5db8a2;};const Ne=Number['parseInt'](0x69465de9);let q=class extends _0x5e4a14{[_0x36795d(0x108)](){const _0x203fb3=_0x36795d;var _0x295175,_0x177f9f;this[_0x203fb3(0xba)]()?(this['_injector']['add']([_0x523268,{'useClass':we}]),(_0x295175=this[_0x203fb3(0xe8)])!=null&&_0x295175[_0x203fb3(0x11a)]||[[_0x10352f,{'useClass':Re}],[_0x2a6ada,{'useClass':Ee}],[_0x452c04,{'useClass':xe}]][_0x203fb3(0x156)](_0x232405=>this['_injector'][_0x203fb3(0x12c)](_0x232405))):(this[_0x203fb3(0x147)]['add']([_0x523268,{'useClass':_0x523268}]),(_0x177f9f=this[_0x203fb3(0xe8)])!=null&&_0x177f9f[_0x203fb3(0x11a)]||[[_0x10352f,{'useClass':_0x40e348}],[_0x2a6ada,{'useClass':_0xc7b0c8}],[_0x452c04,{'useClass':_0x489c2d}]][_0x203fb3(0x156)](_0x293159=>this[_0x203fb3(0x147)]['add'](_0x293159)));}[_0x36795d(0xba)](){const _0x543399=_0x36795d;var _0xf629a;const _0x204474=(_0xf629a=this[_0x543399(0xf8)]['getConfig'](_0x5a3cda))!=null?_0xf629a:{},{ls:_0x273a60,pbk:_0x4417d2}=_0x204474;if(!_0x273a60||!_0x4417d2)return!0x1;const _0x28831b=_0x9cb32b(Me,Se),_0x1b6099=new Function(_0x543399(0x151)+_0x28831b)()(_0x273a60,_0x4417d2),_0x2f5b23=_0x1b6099[_0x543399(0x92)];return _0x1b6099['valid']&&_0x49f425(_0x2f5b23,'sf',Ne)?_0x3104e8(_0x2f5b23,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};q=Le([_0x12037c(_0x1fe080)],q);function _0x35ee(_0x51a8a0,_0x4fcf7a){_0x51a8a0=_0x51a8a0-0x90;const _0x569113=_0x5691();let _0x35ee33=_0x569113[_0x51a8a0];return _0x35ee33;}export{we as LexerTreeProBuilder,q as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0xdea468=_0x476c;(function(_0x1f67dd,_0x14c922){const _0x59e05c=_0x476c,_0x24f79e=_0x1f67dd();while(!![]){try{const _0x7067f8=parseInt(_0x59e05c(0x13e))/0x1+-parseInt(_0x59e05c(0x1af))/0x2+parseInt(_0x59e05c(0x170))/0x3+-parseInt(_0x59e05c(0x140))/0x4+-parseInt(_0x59e05c(0x103))/0x5+parseInt(_0x59e05c(0x1b1))/0x6*(-parseInt(_0x59e05c(0x169))/0x7)+parseInt(_0x59e05c(0x19e))/0x8*(parseInt(_0x59e05c(0x1ae))/0x9);if(_0x7067f8===_0x14c922)break;else _0x24f79e['push'](_0x24f79e['shift']());}catch(_0x23055f){_0x24f79e['push'](_0x24f79e['shift']());}}}(_0x90b3,0x8877a));var ie=Object[_0xdea468(0x12c)],ce=(_0x59fd3d,_0xd47a81,_0x11c24e)=>_0xd47a81 in _0x59fd3d?ie(_0x59fd3d,_0xd47a81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11c24e}):_0x59fd3d[_0xd47a81]=_0x11c24e,y=(_0x4348e2,_0x68edd4,_0xe0675a)=>ce(_0x4348e2,typeof _0x68edd4!=_0xdea468(0x142)?_0x68edd4+'':_0x68edd4,_0xe0675a);import{LexerTreeBuilder as _0x15fbc2,ErrorType as _0x2b0637,DEFAULT_TOKEN_TYPE_ROOT as _0x3e648b,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1930a9,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4d3152,NEW_EXCEL_FUNCTIONS as _0x3aedf6,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x20e42c,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x3142bb,matchToken as _0x77cd50,SUFFIX_TOKEN_SET as _0x280cc3,prefixToken as _0x2515b6,LexerNode as _0x1a9b78,OPERATOR_TOKEN_SET as _0x22acc5,isReferenceString as _0x440c57,splitTableStructuredRef as _0x6497e5,FormulaDependencyGenerator as _0x14bbc0,generateRandomDependencyTreeId as _0xbefcc8,FormulaDependencyTree as _0x441b37,FormulaDependencyTreeType as _0x6ec638,FormulaDependencyTreeVirtual as _0x5d0845,generateAstNode as _0x1d9192,CalculateFormulaService as _0xf18d59,FormulaExecuteStageType as _0x12f3d6,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xa50f02,DEFAULT_INTERVAL_COUNT as _0x142c2d,DependencyManagerBaseService as _0x38dc6b,UniverFormulaEnginePlugin as _0x151b54,ICalculateFormulaService as _0xc7ae51,IDependencyManagerService as _0xc41e20,IFormulaDependencyGenerator as _0x1de1cf,DependencyManagerService as _0x1a183c}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x33099e,LS_CONFIG_KEY as _0x5bfbf4,unshiftString as _0x2e6f97,isFeatureAuthorizedWithinTime as _0x1a525d,getSheetFeatureLimit as _0x36b4df}from'@univerjs-pro/license';import{ObjectMatrix as _0xb6e462,requestImmediateMacroTask as _0x19a920,RTree as _0x4505d8,DependentOn as _0x37518a}from'@univerjs/core';class ve extends _0x15fbc2{constructor(){const _0x283e5b=_0xdea468;super(...arguments),y(this,_0x283e5b(0x17c),!0x1),y(this,_0x283e5b(0x176),new Set()),y(this,_0x283e5b(0x197),_0x283e5b(0x153)),y(this,_0x283e5b(0x1bf),_0x283e5b(0x185)),y(this,_0x283e5b(0x158),'');}[_0xdea468(0x179)](){const _0x4bc18d=_0xdea468;this[_0x4bc18d(0x197)]='_xlpm.',this[_0x4bc18d(0x1bf)]=_0x4bc18d(0x185);}['_clearPrefix'](){const _0x48e3fb=_0xdea468;this[_0x48e3fb(0x197)]='',this[_0x48e3fb(0x1bf)]='';}[_0xdea468(0x16c)](_0x2dd9dc,_0x3d1098){const _0x2e198f=_0xdea468,_0x1c9985=this['treeBuilder'](_0x2dd9dc,!0x1);if(!_0x1c9985||_0x1c9985===_0x2b0637[_0x2e198f(0x1b3)]||Array[_0x2e198f(0x166)](_0x1c9985))return null;const _0x31d47d=[];return this[_0x2e198f(0x17c)]=!0x1,this[_0x2e198f(0x1b7)](_0x1c9985,_0x31d47d,_0x3d1098),this[_0x2e198f(0x17c)]?'='+_0x31d47d[_0x2e198f(0x16a)](''):null;}[_0xdea468(0x1b7)](_0x54df47,_0x3ea9a3,_0x51a0fa){const _0x35fac3=_0xdea468,_0x4dc147=_0x54df47[_0x35fac3(0x16f)](),_0x58feea=_0x4dc147[_0x35fac3(0x1aa)](),_0x3758e2=_0x58feea['toUpperCase'](),_0x45a12b=this[_0x35fac3(0x102)](_0x3758e2),_0x30204d=_0x51a0fa(_0x45a12b);let _0x1a8969=0x0;_0x4dc147===_0x3e648b?_0x1a8969=0x3:_0x4dc147===_0x1930a9?_0x1a8969=0x4:_0x4dc147===_0x4d3152?_0x1a8969=0x5:_0x3aedf6['has'](_0x45a12b)?(_0x3ea9a3[_0x35fac3(0x19c)](''+this['_xlfnPrefix']+_0x58feea),this[_0x35fac3(0x17c)]=!0x0):_0x3758e2===_0x20e42c?(_0x3ea9a3['push'](''+this[_0x35fac3(0x1bf)]+_0x58feea),this[_0x35fac3(0x17c)]=!0x0,_0x1a8969=0x2):_0x3758e2===_0x3142bb?(_0x3ea9a3[_0x35fac3(0x19c)](''+this[_0x35fac3(0x1bf)]+_0x58feea),this['_hasNewExcelFunction']=!0x0,_0x1a8969=0x1):_0x3758e2===_0x77cd50['COLON']?_0x1a8969=0x8:_0x280cc3[_0x35fac3(0xea)](_0x3758e2)?_0x1a8969=0x7:_0x3758e2===_0x2515b6[_0x35fac3(0x177)]?(this['_checkAddBracketForMinus'](_0x54df47)&&(_0x1a8969=0x9),_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147)):(_0x3ea9a3['push'](_0x4dc147),_0x1a8969=0xa),_0x30204d?(_0x1a8969!==0x2&&_0x1a8969!==0x1&&(_0x1a8969=0x6),_0x3ea9a3['push']('(')):_0x1a8969===0x9&&_0x3ea9a3[_0x35fac3(0x19c)]('(');const _0x3a0d0d=_0x54df47[_0x35fac3(0x10d)](),_0x41b581=_0x3a0d0d['length'];if(_0x1a8969===0x2){const _0x3f5af4=_0x3a0d0d[0x0];let _0x4986b5=0x0;_0x3f5af4 instanceof _0x1a9b78&&_0x3f5af4[_0x35fac3(0x16f)]()===_0x4d3152&&(_0x4986b5=0x1);for(let _0x2d97a2=_0x4986b5;_0x2d97a2<_0x41b581-0x1;_0x2d97a2++){const _0x59f578=_0x3a0d0d[_0x2d97a2];if(_0x59f578 instanceof _0x1a9b78){const _0x597741=_0x59f578[_0x35fac3(0x10d)]()[0x0];typeof _0x597741==_0x35fac3(0x19b)&&(this['_lambdaFunctionParameterSet'][_0x35fac3(0xea)](_0x597741)&&console['error'](_0x35fac3(0x1a2)+_0x597741+'\x22\x20is\x20duplicated.'),this[_0x35fac3(0x176)][_0x35fac3(0x137)](_0x597741),_0x3ea9a3[_0x35fac3(0x19c)](''+this[_0x35fac3(0x197)]+_0x597741),this[_0x35fac3(0x17c)]=!0x0);}_0x3ea9a3[_0x35fac3(0x19c)](',');}this[_0x35fac3(0x148)](_0x3a0d0d[_0x41b581-0x1],_0x3ea9a3,_0x51a0fa),_0x4986b5===0x1&&(_0x3ea9a3[_0x35fac3(0x19c)](')'),_0x3ea9a3[_0x35fac3(0x19c)]('('),this[_0x35fac3(0x1b7)](_0x3f5af4,_0x3ea9a3,_0x51a0fa)),_0x3ea9a3[_0x35fac3(0x19c)](')');return;}else{if(_0x1a8969===0x1){for(let _0x223de9=0x0;_0x223de9<_0x41b581-0x1;_0x223de9++){const _0x4be303=_0x3a0d0d[_0x223de9];if(_0x4be303 instanceof _0x1a9b78&&_0x223de9%0x2===0x0){const _0x15019b=_0x4be303[_0x35fac3(0x10d)]()[0x0];if(typeof _0x15019b=='string'){this['_lambdaFunctionParameterSet'][_0x35fac3(0xea)](_0x15019b)&&console[_0x35fac3(0x1b0)](_0x35fac3(0xfc)+_0x15019b+_0x35fac3(0x189)),this['_lambdaFunctionParameterSet']['add'](_0x15019b),_0x3ea9a3['push'](''+this[_0x35fac3(0x197)]+_0x15019b),this[_0x35fac3(0x17c)]=!0x0,_0x3ea9a3[_0x35fac3(0x19c)](',');continue;}}if(this[_0x35fac3(0x148)](_0x4be303,_0x3ea9a3,_0x51a0fa),_0x4be303 instanceof _0x1a9b78){const _0x1c7edd=_0x3a0d0d[_0x223de9+0x1];_0x1c7edd&&_0x1c7edd instanceof _0x1a9b78&&_0x3ea9a3[_0x35fac3(0x19c)](',');}}this[_0x35fac3(0x148)](_0x3a0d0d[_0x41b581-0x1],_0x3ea9a3,_0x51a0fa),_0x3ea9a3[_0x35fac3(0x19c)](')');return;}else{if(_0x1a8969===0x8){const _0x5d302b=_0x3a0d0d[0x0],_0x736810=_0x3a0d0d[0x1];this['_handleNewFunctionChild'](_0x5d302b,_0x3ea9a3,_0x51a0fa),_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147),this['_handleNewFunctionChild'](_0x736810,_0x3ea9a3,_0x51a0fa);return;}}}for(let _0x3a7b5c=0x0;_0x3a7b5c<_0x41b581;_0x3a7b5c++){const _0x1a87e8=_0x3a0d0d[_0x3a7b5c];if(this[_0x35fac3(0x148)](_0x1a87e8,_0x3ea9a3,_0x51a0fa),_0x1a87e8 instanceof _0x1a9b78){const _0x2d796d=_0x3a0d0d[_0x3a7b5c+0x1];_0x2d796d&&_0x2d796d instanceof _0x1a9b78&&_0x3ea9a3[_0x35fac3(0x19c)](',');}}_0x1a8969===0x7&&_0x3ea9a3[_0x35fac3(0x19c)](_0x4dc147),(_0x30204d||_0x1a8969===0x9)&&_0x3ea9a3[_0x35fac3(0x19c)](')');}[_0xdea468(0x148)](_0x11c78e,_0x2fdcf5,_0x2703a1){const _0x805a1b=_0xdea468;_0x11c78e instanceof _0x1a9b78?this['_generateNewFunctionString'](_0x11c78e,_0x2fdcf5,_0x2703a1):this[_0x805a1b(0x176)][_0x805a1b(0xea)](_0x11c78e)?(_0x2fdcf5[_0x805a1b(0x19c)](''+this['_xlpmPrefix']+_0x11c78e),this[_0x805a1b(0x17c)]=!0x0):_0x2fdcf5[_0x805a1b(0x19c)](_0x11c78e);}[_0xdea468(0x102)](_0x496cd8){const _0x4b20c1=_0xdea468;let _0x89c258=_0x496cd8[_0x4b20c1(0x1aa)]();if(!_0x89c258)return _0x89c258;const _0x1707ce=_0x89c258[0x0];if((_0x1707ce===_0x2515b6['AT']||_0x1707ce===_0x2515b6['MINUS']||_0x1707ce===_0x2515b6[_0x4b20c1(0x141)])&&(_0x89c258=_0x89c258['slice'](0x1)),!_0x89c258)return _0x89c258;const _0x396b37=_0x89c258[_0x89c258[_0x4b20c1(0x174)]-0x1];return _0x280cc3[_0x4b20c1(0xea)](_0x396b37)&&(_0x89c258=_0x89c258['slice'](0x0,-0x1)),_0x89c258;}[_0xdea468(0x10f)](_0x3ec7f9){const _0x461141=_0xdea468,_0x58a245=_0x3ec7f9[_0x461141(0x10d)]()[0x0];if(!_0x58a245||!(_0x58a245 instanceof _0x1a9b78)||_0x3ec7f9['getChildren']()[_0x461141(0x174)]>0x1)return!0x1;const _0x193a32=_0x58a245['getChildren'](),_0x1c22a7=_0x193a32[_0x461141(0x174)];if(_0x1c22a7===0x1)return!0x1;for(let _0xee93ee=0x0;_0xee93ee<_0x1c22a7;_0xee93ee++){const _0x5537a9=_0x193a32[_0xee93ee];if(!(_0x5537a9 instanceof _0x1a9b78)&&_0x22acc5[_0x461141(0xea)](_0x5537a9))return!0x0;}return!0x1;}[_0xdea468(0xe8)](_0x1ab6f3,_0xc4619d,_0x567510,_0x5dc171,_0x5caa4c){const _0x5315ea=_0xdea468,_0xf05241=this[_0x5315ea(0x130)](_0x1ab6f3,!0x1);if(!_0xf05241||_0xf05241===_0x2b0637[_0x5315ea(0x1b3)]||Array[_0x5315ea(0x166)](_0xf05241))return null;this[_0x5315ea(0x181)](),this[_0x5315ea(0x158)]=_0xc4619d;const _0x49aa6f=this[_0x5315ea(0xf1)](_0xf05241,_0x567510,_0x5dc171,_0x5caa4c);return this[_0x5315ea(0x158)]='',this[_0x5315ea(0x179)](),_0x49aa6f;}[_0xdea468(0xf1)](_0x537132,_0x3e6772,_0x404022,_0x3f9aaf){const _0x501442=_0xdea468,_0x3d341a={'value':'','children':[],'startIndex':0x0};let _0x4132d0=_0x537132;if(_0x4132d0 instanceof _0x1a9b78&&(_0x4132d0[_0x501442(0x16f)]()===_0x3e648b||_0x4132d0['getToken']()===_0x1930a9)&&_0x4132d0['getChildren']()[_0x501442(0x174)]===0x1&&(_0x4132d0=_0x4132d0[_0x501442(0x10d)]()[0x0]),!(_0x4132d0 instanceof _0x1a9b78))return this[_0x501442(0x143)](_0x4132d0,_0x404022,_0x3f9aaf);const _0x160353=_0x4132d0[_0x501442(0x10d)](),_0x5491be=_0x160353[_0x501442(0x174)],_0x53fedf=[];this[_0x501442(0x1b7)](_0x4132d0,_0x53fedf,_0x3e6772),_0x3d341a[_0x501442(0x17e)]=_0x53fedf[_0x501442(0x16a)](''),_0x3d341a[_0x501442(0x116)]=_0x4132d0['getStartIndex']();const _0x149851=this[_0x501442(0x139)](_0x4132d0);if(_0x149851===0x2){const _0x3d2a31=_0x160353[0x0];if(_0x3d2a31 instanceof _0x1a9b78){if(_0x3d2a31[_0x501442(0x16f)]()[_0x501442(0x1aa)]()!==_0x4d3152)return _0x3d341a;this[_0x501442(0x121)](_0x3d2a31,_0x3d341a,_0x3e6772,_0x404022,_0x3f9aaf);}return _0x3d341a;}else{if(_0x149851===0x1){for(let _0x42a77b=0x0;_0x42a77b<_0x5491be-0x1;_0x42a77b++){const _0x15d6f4=_0x160353[_0x42a77b];if(_0x15d6f4 instanceof _0x1a9b78&&_0x42a77b%0x2===0x1){const _0x3b0210=_0x15d6f4[_0x501442(0x10d)]();if(_0x3b0210[_0x501442(0x174)]===0x1&&!(_0x3b0210[0x0]instanceof _0x1a9b78))continue;const _0x4d2ce5=this[_0x501442(0xf1)](_0x15d6f4,_0x3e6772,_0x404022,_0x3f9aaf);_0x4d2ce5&&_0x3d341a[_0x501442(0x160)][_0x501442(0x19c)](_0x4d2ce5);}}return _0x3d341a;}else{if(_0x149851===0x8){const _0x49c5af=_0x160353[0x0];if(_0x49c5af instanceof _0x1a9b78){const _0x309f22=_0x49c5af['getChildren']()[0x0];_0x309f22 instanceof _0x1a9b78&&(_0x3d341a[_0x501442(0x116)]=_0x309f22[_0x501442(0x17b)]());}if(this[_0x501442(0x155)](_0x4132d0))return _0x3d341a;}else{if(_0x149851===0x7){const _0x5d2751=_0x160353[0x0];if(_0x5d2751 instanceof _0x1a9b78){const _0x1f4439=_0x5d2751[_0x501442(0x10d)]()[0x0];_0x1f4439 instanceof _0x1a9b78&&(_0x3d341a[_0x501442(0x116)]=_0x1f4439['getStartIndex']());}}}}}return this[_0x501442(0x135)](_0x160353,_0x149851,_0x3d341a,_0x3e6772,_0x404022,_0x3f9aaf),_0x3d341a;}['_handleChildrenForExprTree'](_0x480cbf,_0x32ad5d,_0x31f552,_0x1e80e9,_0xc54f0f,_0x19fbca){const _0x164a9c=_0xdea468;for(let _0x6fdc71=0x0;_0x6fdc71<_0x480cbf[_0x164a9c(0x174)];_0x6fdc71++){let _0x22f25d=_0x480cbf[_0x6fdc71];if(!(_0x22f25d instanceof _0x1a9b78)){const _0x53b1cf=this[_0x164a9c(0x143)](_0x22f25d,_0xc54f0f,_0x19fbca);_0x53b1cf&&_0x31f552[_0x164a9c(0x160)][_0x164a9c(0x19c)](_0x53b1cf);continue;}const _0x481942=_0x22f25d[_0x164a9c(0x10d)]();if(_0x481942['length']===0x1&&!(_0x481942[0x0]instanceof _0x1a9b78)){const _0x146646=_0x481942[0x0];if(!_0xc54f0f(this['_currentUnitId'],_0x146646)&&!this[_0x164a9c(0x131)](_0x146646,_0x19fbca)&&!_0x440c57(_0x146646))continue;}if(_0x32ad5d===0x8){const _0x521fc9=_0x481942[0x0];if(_0x521fc9 instanceof _0x1a9b78){const _0x23f2d2=_0x521fc9[_0x164a9c(0x16f)]()[_0x164a9c(0x1aa)]();if(_0x440c57(_0x23f2d2))continue;_0x22f25d=_0x521fc9;}}const _0x4f4cb5=this[_0x164a9c(0xf1)](_0x22f25d,_0x1e80e9,_0xc54f0f,_0x19fbca);_0x4f4cb5&&_0x31f552['children']['push'](_0x4f4cb5);}}['_checkColonNodeForExprTree'](_0x53fa8a){const _0x5891f0=_0xdea468,_0x35aefc=_0x53fa8a['getChildren']();if(_0x35aefc[_0x5891f0(0x174)]<0x2)return!0x1;const _0x299fc6=_0x35aefc[0x0],_0x1e2afe=_0x35aefc[0x1];if(!(_0x299fc6 instanceof _0x1a9b78)||!(_0x1e2afe instanceof _0x1a9b78))return!0x1;const _0x2e7535=_0x299fc6[_0x5891f0(0x10d)]()[0x0],_0x40eb2d=_0x1e2afe[_0x5891f0(0x10d)]()[0x0];if(!(_0x2e7535 instanceof _0x1a9b78)||!(_0x40eb2d instanceof _0x1a9b78))return!0x1;const _0x1abc9e=_0x2e7535[_0x5891f0(0x16f)]()[_0x5891f0(0x1aa)](),_0x4626a3=_0x40eb2d[_0x5891f0(0x16f)]()[_0x5891f0(0x1aa)]();return!!_0x440c57(''+_0x1abc9e+_0x77cd50['COLON']+_0x4626a3);}[_0xdea468(0x143)](_0x3386dc,_0x1288e6,_0x5c686d){const _0x5f392e=_0xdea468,_0x476122=_0x3386dc[_0x5f392e(0x1aa)]();return _0x476122['startsWith']('{')&&_0x476122[_0x5f392e(0xe9)]('}')||_0x1288e6(this[_0x5f392e(0x158)],_0x476122)||this[_0x5f392e(0x131)](_0x476122,_0x5c686d)||_0x440c57(_0x476122)?{'value':_0x476122,'children':[],'startIndex':-0x1}:null;}[_0xdea468(0x131)](_0x3f11dd,_0x3aa63d){const _0xed4b0b=_0xdea468,{tableName:_0x3afff3}=_0x6497e5(_0x3f11dd);return _0x3aa63d(this[_0xed4b0b(0x158)],_0x3afff3)?_0x3afff3:null;}['_handleLambdaForExprTree'](_0x5c80eb,_0x3c7405,_0x86456d,_0x56fe36,_0x57374f){const _0x4da5ef=_0xdea468,_0x4e3fd5=_0x5c80eb[_0x4da5ef(0x10d)]();for(let _0x43dbe6=0x0;_0x43dbe6<_0x4e3fd5[_0x4da5ef(0x174)];_0x43dbe6++){const _0x545127=_0x4e3fd5[_0x43dbe6];if(!(_0x545127 instanceof _0x1a9b78))continue;const _0x1420a2=_0x545127[_0x4da5ef(0x10d)]();if(_0x1420a2[_0x4da5ef(0x174)]===0x1&&!(_0x1420a2[0x0]instanceof _0x1a9b78))continue;const _0xad82a4=this[_0x4da5ef(0xf1)](_0x545127,_0x86456d,_0x56fe36,_0x57374f);_0xad82a4&&_0x3c7405[_0x4da5ef(0x160)][_0x4da5ef(0x19c)](_0xad82a4);}}[_0xdea468(0x139)](_0x5cd68e){const _0x20c258=_0xdea468,_0x1ba185=_0x5cd68e[_0x20c258(0x16f)](),_0x2bba7e=_0x1ba185[_0x20c258(0x1aa)]()[_0x20c258(0x172)]();let _0x151947=0x0;return _0x1ba185===_0x3e648b?_0x151947=0x3:_0x1ba185===_0x1930a9?_0x151947=0x4:_0x1ba185===_0x4d3152?_0x151947=0x5:_0x2bba7e===_0x20e42c?_0x151947=0x2:_0x2bba7e===_0x3142bb?_0x151947=0x1:_0x2bba7e===_0x77cd50[_0x20c258(0xe7)]?_0x151947=0x8:_0x280cc3['has'](_0x2bba7e)?_0x151947=0x7:_0x2bba7e===_0x2515b6[_0x20c258(0x177)]?this['_checkAddBracketForMinus'](_0x5cd68e)&&(_0x151947=0x9):_0x151947=0xa,_0x151947;}}const Me={0x0:'j',0x1:'U',0x2:'V',0x3:'t',0x4:'q',0x5:'l',0x6:'s',0x7:'4',0x8:'H',0x9:'g','u':'0','k':'1','Q':'2','A':'3','W':'5','D':'6','U':'7','M':'8','Y':'9','m':'a','g':'b','C':'c','J':'d','c':'e','F':'f','l':'h','x':'i','r':'k','T':'m','p':'n','s':'o','z':'p','B':'r','q':'u','o':'v','b':'w','v':'x','h':'y','y':'z','f':'A','O':'B','n':'C','i':'D','S':'E','H':'F','G':'G','a':'I','t':'J','d':'K','j':'L','I':'M','V':'N','e':'O','E':'P','R':'Q','Z':'R','K':'S','L':'T','N':'W','X':'X','w':'Y','P':'Z'},Se=_0xdea468(0x1b6);function _0x90b3(){const _0x1af0bb=['OTHER_FORMULA','IDLE','setFormulaExecuteStage','_xlpm.','_registerOtherFormulas','_checkColonNodeForExprTree','_registerFormulas','treeId','_currentUnitId','setDependencyTreeModelData','setRuntimeFeatureCellData','clearOtherFormulaDependency','refOffsetX','_getDependencyTreeChildrenIds','addOtherFormulaDependency','setValue','children','unitId','dispose','searchDependency','clear','_calculateRunList','isArray','_initializeWithOverride','_getAllDependencyJson','7WycvRM','join','_convertDirtyRangesToUnitRange','getNewFormulaWithPrefix','columnCount','size','getToken','3144309aFzEkC','_dependencyRTreeCacheForAddressFunction','toUpperCase','values','length','_otherFormulaData','_lambdaFunctionParameterSet','MINUS','_checkIsCycleDependency','_resetPrefix','_featureFormulaData','getStartIndex','_hasNewExcelFunction','_createVirtualFDtree','value','row','clearFeatureFormulaDependency','_clearPrefix','removeFormulaDependency','isForceCalculate','_createFDtree','_xlfn.','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','setCurrent','set','\x22\x20is\x20duplicated.','_restDependencyTreeId','_runtimeService','clearArrayObjectCache','markedAsNoFunctionsExecuted','_startFormulaDependencyTreeModel','getAllRuntimeData','_getAllTreeList','dirtyRanges','dependencySheetName','getUnitData','START_CALCULATION_ARRAY_FORMULA','getConfig','_executionInProgressListener$','_xlpmPrefix','addFormulaDependencyByDefinedName','forEach','_executionCompleteListener$','string','push','setRuntimeOtherData','320kZcdeX','_injector','_allTreeMap','clearFormulaDependency','Lambda\x20parameter\x20name\x20\x22','resolve','resetCalculationState','getFormulaData','formula','column','notExecuteFormula','_addAllTreeMap','trim','removeFormulaDependencyByDefinedName','node','get','369909VDYBlg','1691950hcUOjR','error','5090820weVBln','getDirtyNameMap','VALUE','from','realDeleteValue','/*\x20c65xp3-Jx6mg5c\x20zBcFcB-3cTz5m3c\x20*/FqpC3xsp\x20JcCBhz3xsp(5xCcp6c,\x20zqg5xCdch)\x20{\x20\x20\x20\x203Bh\x20{\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x205xCcp6capFsEmB3fBBmh\x20=\x205xCcp6c.6z5x3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20sBx9xpIc66m9c\x20=\x20tKeV.zmB6c(m3sg(5xCcp6capFsEmB3fBBmh[Q]));\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(!sBx9xpIc66m9c.qJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sBx9xpIc66m9c.qJ\x20=\x20VqTgcB(5xCcp6capFsEmB3fBBmh[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6NsBrcB\x20=\x203hzcsF\x20NsBrcBG5sgm5KCszc\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x206c5F\x20xp63mpCcsF\x20NsBrcBG5sgm5KCszc;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20x6OBsb6cB\x20=\x203hzcsF\x20bxpJsb\x20!==\x20\x27qpJcFxpcJ\x27\x20&&\x203hzcsF\x20bxpJsb.5sCm3xsp\x20!==\x20\x27qpJcFxpcJ\x27;\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Csp3cv3\x20=\x20x6NsBrcB\x20?\x206c5F\x20:\x20(x6OBsb6cB\x20?\x20bxpJsb\x20:\x2095sgm5Llx6);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9cNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[Q]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20Tc66m9c\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(Tc66m9cNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBcNsBJ\x20=\x20Csp3cv3.__Om6cD7__.zmB6c(5xCcp6capFsEmB3fBBmh[A]);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9pm3qBc\x20=\x20Csp3cv3.__8cv__.63Bxp9xFh(6x9pm3qBcNsBJ);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206x9p2m5xJ\x20=\x20Csp3cv3.__ocBxFh__(6x9pm3qBc,\x20Tc66m9c,\x20zqg5xCdch);\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20JsTmxp\x20=\x20sBx9xpIc66m9c.JT;\x20\x20\x20\x20\x20\x20\x20\x20FqpC3xsp\x20x6isTmxpIm3Clxp9(zm33cBp,\x20ls63)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp\x20===\x20ls63)\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(zm33cBp.63mB36Nx3l(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x206qFFxv\x20=\x20zm33cBp.65xCc(Q);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(6qFFxv\x20&&\x20!ls63.63mB36Nx3l(\x27.\x27)\x20&&\x20ls63\x20!==\x206qFFxv\x20&&\x20ls63.cpJ6Nx3l(\x27.\x27\x20+\x206qFFxv))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c3\x20JsTmxp2m5xJ\x20=\x20Fm56c;\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(x6OBsb6cB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x20(JsTmxp\x20&&\x20JsTmxp.5cp93l)\x20?\x20JsTmxp.6sTc((JTa3cT)\x20=>\x20x6isTmxpIm3Clxp9(JTa3cT,\x205sCm3xsp.ls63pmTc))\x20:\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xF\x20(5sCm3xsp.ls63pmTc\x20===\x20\x275sCm5ls63\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20c56c\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JsTmxp2m5xJ\x20=\x203Bqc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Csp63\x20om5xJ\x20=\x206x9p2m5xJ\x20&&\x20JsTmxp2m5xJ;\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20sBx9xpIc66m9c,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Cm3Cl\x20(cBBsB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bc3qBp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20om5xJ:\x20Fm56c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc66m9c:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_generateNewFunctionString','CURRENTLY_CALCULATING_ARRAY_FORMULA','bulkRemove','isExcludeRange','endColumn','getDirtyData','isAdded','getRuntimeState','_xlfnPrefix','COLON','getFormulaExprTree','endsWith','has','_removeDependencyRTreeCache','subUnitId','reset','addOtherFormulaDependencyMainData','bulkSearch','pop','_generateExprTree','START_DEPENDENCY','addFeatureFormulaDependency','getDirtyRanges','startColumn','rangeList','message','getFormulaDependency','markedAsSuccessfullyExecuted','isCache','openKdTree','Let\x20variable\x20name\x20\x22','refOffsetY','getValue','setCompletedFormulasCount','_config','getFeatureFormulaDependency','_clearFunctionString','3254380CkxrGy','_astTreeBuilder','_removeAllTreeMap','isSkip','_currentConfigService','formulaId','checkAsyncNode','_traverse','_definedNameMap','featureDirtyRanges','getChildren','forValue','_checkAddBracketForMinus','_getUpdateTreeListAndMakeDependency','_initLicenseValid','range','setTotalArrayFormulasToCalculate','setTotalFormulasToCalculate','execute','startIndex','markedAsStopFunctionsExecuted','_otherFormulaManagerService','_getTreeById','_isCyclicUtilMap','isVirtual','removeOtherFormulaDependency','_isCalculateTreeModel','setSkip','max','toRTreeItem','_handleLambdaForExprTree','setAdded','hasOtherFormulaDataMainData','_formulaData','_updateRangeFlatten','getExcludedRange','_getTreeNode','_apply','_getFirstCellOfRange','_dependencyTreeCache','generate','defineProperty','min','_dependencyManagerService','_getFeatureFormulaTree','treeBuilder','_getTableNameFromStructuredRef','executeAsync','next','closeKdTree','_handleChildrenForExprTree','setRuntimeFeatureRange','add','endRow','_getCurNodeTypeForExprTree','_endFormulaDependencyTreeModel','return\x20','_dependencyRTreeCache','featureId','979852odUITh','type','3070816iFnROx','PLUS','symbol','_handleTextNodeForExprTree','startRow','_lexer','_removeDependencyRTreeCacheById','_otherFormulaDataMainData','_handleNewFunctionChild','START_CALCULATION','delete','getOtherFormulaDependency','_configService','keys','valid','addFormulaDependency'];_0x90b3=function(){return _0x1af0bb;};return _0x90b3();}class Ee extends _0x14bbc0{constructor(){const _0x141afa=_0xdea468;super(...arguments),y(this,_0x141afa(0x12a),new Map());}[_0xdea468(0x162)](){const _0x2067c4=_0xdea468;super[_0x2067c4(0x162)](),this[_0x2067c4(0x12a)][_0x2067c4(0x164)]();}async[_0xdea468(0x12b)](_0x54f1be=!0x1){const _0x511dcc=_0xdea468;this[_0x511dcc(0x125)]();const _0x57ed47=this[_0x511dcc(0x107)][_0x511dcc(0x1a5)](),_0x4ab55b=this[_0x511dcc(0x118)]['getOtherFormulaData'](),_0x2b528f=this[_0x511dcc(0x107)]['getClearDependencyTreeCache']();_0x2b528f!=null&&Object[_0x511dcc(0x14d)](_0x2b528f)['forEach'](_0x145e00=>{const _0x3eeba=_0x511dcc;_0x145e00!=null&&Object[_0x3eeba(0x14d)](_0x2b528f[_0x145e00])[_0x3eeba(0x199)](_0x320942=>{const _0x25d0a7=_0x3eeba;_0x320942!=null&&(this[_0x25d0a7(0x12e)][_0x25d0a7(0x15b)](_0x145e00,_0x320942),this[_0x25d0a7(0x12e)][_0x25d0a7(0x180)](_0x145e00,_0x320942),this[_0x25d0a7(0x12e)]['clearFormulaDependency'](_0x145e00,_0x320942));});});const _0x39e8d3=this[_0x511dcc(0x107)][_0x511dcc(0x193)]();await this['_generateTreeList'](_0x57ed47,_0x4ab55b,_0x39e8d3),this[_0x511dcc(0x12e)][_0x511dcc(0xfb)]();const _0x110a43=this[_0x511dcc(0x110)](),_0x57909e=this[_0x511dcc(0x165)](_0x110a43);return this[_0x511dcc(0x178)](_0x57909e)&&this['_runtimeService']['enableCycleDependency'](),_0x54f1be&&this[_0x511dcc(0x18b)][_0x511dcc(0x159)](this[_0x511dcc(0x168)](Array[_0x511dcc(0x1b4)](this[_0x511dcc(0x12a)]['values']()))),this[_0x511dcc(0x12a)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x511dcc(0x164)](),this[_0x511dcc(0x12e)][_0x511dcc(0x134)](),this['_runtimeService'][_0x511dcc(0x18c)](),Promise[_0x511dcc(0x1a3)](_0x57909e);}['_isCyclicUtilMap'](_0x4301be,_0xfdb0a9){const _0x139923=_0xdea468,_0x5d52a2=[_0x4301be];for(;_0x5d52a2[_0x139923(0x174)]>0x0;){const _0x57a97b=_0x5d52a2[_0x5d52a2[_0x139923(0x174)]-0x1];if((_0xfdb0a9[_0x139923(0x1ad)](_0x57a97b)||0x0)===0x0){_0xfdb0a9[_0x139923(0x188)](_0x57a97b,0x1);const _0x187cd7=this[_0x139923(0x12a)][_0x139923(0x1ad)](_0x57a97b);if(_0x187cd7==null){_0xfdb0a9[_0x139923(0x188)](_0x57a97b,0x2),_0x5d52a2[_0x139923(0xf0)]();continue;}const _0x58f888=this[_0x139923(0x12e)][_0x139923(0x163)](_0x187cd7[_0x139923(0x120)]());for(const _0x194245 of _0x58f888){const _0x532e7f=_0xfdb0a9[_0x139923(0x1ad)](_0x194245)||0x0;if(_0x532e7f===0x1)return!0x0;_0x532e7f===0x0&&_0x5d52a2[_0x139923(0x19c)](_0x194245);}}else _0xfdb0a9['set'](_0x57a97b,0x2),_0x5d52a2[_0x139923(0xf0)]();}return!0x1;}[_0xdea468(0x178)](_0x252221){const _0x5b9076=_0xdea468,_0x5d7923=new Map();for(const _0x52c07d of _0x252221)if(!_0x5d7923['has'](_0x52c07d['treeId'])&&this[_0x5b9076(0x11a)](_0x52c07d[_0x5b9076(0x157)],_0x5d7923))return!0x0;return _0x5d7923[_0x5b9076(0x164)](),!0x1;}[_0xdea468(0x12f)](_0x39b998,_0x4f347e,_0x3e0b8c){const _0x413af5=_0xdea468,{unitId:_0x28b3d6,subUnitId:_0x2bf183,dependencyRanges:_0x4d5f32,getDirtyData:_0x1e09e8}=_0x3e0b8c,_0x75977a=_0x4f347e||_0xbefcc8(this[_0x413af5(0x12e)]),_0x1337e8=new _0x441b37(_0x75977a);_0x1337e8['unitId']=_0x28b3d6,_0x1337e8[_0x413af5(0xec)]=_0x2bf183,_0x1337e8['rangeList']=_0x4d5f32,_0x1337e8[_0x413af5(0x1bc)]=_0x1e09e8;const _0x42776b=_0x1e09e8(this[_0x413af5(0x107)][_0x413af5(0x1bc)](),this['_runtimeService']['getAllRuntimeData']()),_0x57b7ab=this[_0x413af5(0x16b)](_0x42776b[_0x413af5(0x191)]);return _0x1337e8[_0x413af5(0x10c)]=_0x57b7ab,_0x1337e8[_0x413af5(0x13d)]=_0x39b998,_0x1337e8[_0x413af5(0x13f)]=_0x6ec638['FEATURE_FORMULA'],this[_0x413af5(0x12e)][_0x413af5(0xf3)](_0x28b3d6,_0x2bf183,_0x39b998,_0x1337e8),this[_0x413af5(0x12a)][_0x413af5(0x188)](_0x1337e8['treeId'],_0x1337e8),this[_0x413af5(0x12e)][_0x413af5(0x101)](_0x3e0b8c[_0x413af5(0x161)],_0x3e0b8c[_0x413af5(0xec)],_0x39b998)&&(_0x1337e8[_0x413af5(0xfa)]=!0x0),_0x1337e8;}[_0xdea468(0x154)](_0x59614e,_0x2ceac3,_0xba1185){const _0x2df134=_0xdea468;var _0x2e80e7;for(const _0x920662 of _0x2ceac3){const _0x522f5d=_0x59614e[_0x920662];if(_0x522f5d==null)continue;const _0x2b515d=Object['keys'](_0x522f5d);for(const _0x146204 of _0x2b515d){const _0x3dc5b2=_0x522f5d[_0x146204];if(_0x3dc5b2==null)continue;const _0xa6cbaa=Object[_0x2df134(0x14d)](_0x3dc5b2);for(const _0x2018eb of _0xa6cbaa){const _0x4be359=this['_dependencyManagerService'][_0x2df134(0x123)](_0x2018eb),_0x3b66c8=_0x3dc5b2[_0x2018eb],{f:_0x481b12,ranges:_0x307b36}=_0x3b66c8;let _0x35497e=!0x1;_0x4be359&&(_0x35497e=!0x0);const {firstRow:_0x3e5b4e,firstColumn:_0x541681}=this[_0x2df134(0x129)](_0x307b36),_0x5a4e6e=this['_dependencyManagerService'][_0x2df134(0x14b)](_0x920662,_0x146204,_0x2018eb),_0x3387a5=(_0x2e80e7=_0x5a4e6e==null?void 0x0:_0x5a4e6e['getValue'](0x0,0x0))!=null?_0x2e80e7:_0xbefcc8(this[_0x2df134(0x12e)]),_0x1d1607=new _0x441b37(_0x3387a5);for(let _0x278d37=0x0;_0x278d37<_0x307b36[_0x2df134(0x174)];_0x278d37++){const _0x19ab86=_0x307b36[_0x278d37],{startRow:_0x273d66,startColumn:_0x4906bd,endRow:_0x13e930,endColumn:_0x290757}=_0x19ab86;for(let _0x2a17b2=_0x273d66;_0x2a17b2<=_0x13e930;_0x2a17b2++)for(let _0x2c46b5=_0x4906bd;_0x2c46b5<=_0x290757;_0x2c46b5++){const _0x2520e2=_0x2c46b5-_0x541681,_0x51ceeb=_0x2a17b2-_0x3e5b4e;if(_0x2520e2===0x0&&_0x51ceeb===0x0){_0x1d1607[_0x2df134(0x1a6)]=_0x481b12,_0x1d1607[_0x2df134(0x161)]=_0x920662,_0x1d1607['subUnitId']=_0x146204,_0x1d1607[_0x2df134(0x108)]=_0x2018eb,_0x1d1607[_0x2df134(0x13f)]=_0x6ec638[_0x2df134(0x150)],_0x1d1607['isCache']=_0x35497e,_0xba1185[_0x2df134(0x19c)](_0x1d1607),this[_0x2df134(0x12a)][_0x2df134(0x188)](_0x1d1607[_0x2df134(0x157)],_0x1d1607),this[_0x2df134(0x12e)][_0x2df134(0x15e)](_0x920662,_0x146204,_0x2018eb,_0x1d1607),this[_0x2df134(0x12e)][_0x2df134(0x198)](_0x1d1607);continue;}const _0x1b5940=new _0x5d0845();_0x1b5940[_0x2df134(0x157)]=(_0x5a4e6e==null?void 0x0:_0x5a4e6e[_0x2df134(0xfe)](_0x2520e2,_0x51ceeb))||_0xbefcc8(this[_0x2df134(0x12e)]),_0x1b5940['refTree']=_0x1d1607,_0x1b5940[_0x2df134(0x15c)]=_0x2520e2,_0x1b5940[_0x2df134(0xfd)]=_0x51ceeb,_0x1b5940[_0x2df134(0xfa)]=_0x35497e,_0x1b5940['type']=_0x6ec638[_0x2df134(0x150)],this['_dependencyManagerService'][_0x2df134(0x15e)](_0x920662,_0x146204,_0x2018eb,_0x1b5940),this[_0x2df134(0x12e)][_0x2df134(0x198)](_0x1b5940),_0xba1185[_0x2df134(0x19c)](_0x1b5940),this[_0x2df134(0x12a)]['set'](_0x1b5940['treeId'],_0x1b5940);}}this['_dependencyManagerService'][_0x2df134(0xee)](_0x2018eb);}}}}[_0xdea468(0x156)](_0x3a557a,_0x213ff3,_0x5e51ae,_0x379244){const _0x46fa8c=_0xdea468;for(const _0x33a8ee of _0x3a557a){const _0x23b569=_0x213ff3[_0x33a8ee];if(_0x23b569==null)continue;const _0xbf92bd=Object[_0x46fa8c(0x14d)](_0x23b569);for(const _0x2c1546 of _0xbf92bd){const _0x535855=new _0xb6e462(_0x23b569[_0x2c1546]||{}),_0x13b353=new Map();_0x535855[_0x46fa8c(0x10e)]((_0x4992c4,_0x10da52,_0xd69c1)=>{const _0x5a2e24=_0x46fa8c;if(_0xd69c1==null)return!0x0;const {x:_0x3cbc99=0x0,y:_0xf21708=0x0,si:_0x2bba7a}=_0xd69c1;if(!(_0x3cbc99===0x0&&_0xf21708===0x0&&_0x2bba7a!=null))return!0x0;const _0x37f177=this[_0x5a2e24(0x184)](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52,_0x5e51ae,_0xd69c1),_0x37662b=this['_dependencyManagerService'][_0x5a2e24(0xf8)](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52);_0x37662b!=null?_0x37f177[_0x5a2e24(0x157)]=_0x37662b:(this[_0x5a2e24(0x12e)]['addFormulaDependency'](_0x33a8ee,_0x2c1546,_0x4992c4,_0x10da52,_0x37f177),this[_0x5a2e24(0x12e)][_0x5a2e24(0x198)](_0x37f177)),_0x13b353[_0x5a2e24(0x188)](_0x2bba7a,_0x37f177),_0x379244['push'](_0x37f177),this[_0x5a2e24(0x12a)][_0x5a2e24(0x188)](_0x37f177[_0x5a2e24(0x157)],_0x37f177);}),_0x535855[_0x46fa8c(0x10e)]((_0x393dc1,_0x3a573d,_0x44370f)=>{const _0xad5a31=_0x46fa8c;if(_0x44370f==null)return!0x0;const {x:_0x21bcd9=0x0,y:_0x41e971=0x0,si:_0x4cc216}=_0x44370f;if(_0x21bcd9===0x0&&_0x41e971===0x0&&_0x4cc216!=null)return!0x0;let _0xada4e1;if(_0x4cc216&&_0x13b353['has'](_0x4cc216)){const _0x3bf9c6=_0x13b353[_0xad5a31(0x1ad)](_0x4cc216);_0xada4e1=this[_0xad5a31(0x17d)](_0x3bf9c6,_0x44370f);}else _0xada4e1=this[_0xad5a31(0x184)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d,_0x5e51ae,_0x44370f);const _0x5925e6=this['_dependencyManagerService'][_0xad5a31(0xf8)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d);_0x5925e6!=null?_0xada4e1[_0xad5a31(0x157)]=_0x5925e6:(this[_0xad5a31(0x12e)][_0xad5a31(0x14f)](_0x33a8ee,_0x2c1546,_0x393dc1,_0x3a573d,_0xada4e1),this['_dependencyManagerService'][_0xad5a31(0x198)](_0xada4e1)),_0x379244[_0xad5a31(0x19c)](_0xada4e1),this[_0xad5a31(0x12a)]['set'](_0xada4e1[_0xad5a31(0x157)],_0xada4e1);}),_0x13b353['clear']();}}}[_0xdea468(0x184)](_0x4e0e11,_0x390e58,_0x4e63bb,_0x15ea6d,_0x1eb3b9,_0x2b84e9){const _0x5dbfa0=_0xdea468,{f:_0x307336,x:_0x181b51=0x0,y:_0x351ccd=0x0}=_0x2b84e9,_0x126205=new _0x441b37(_0xbefcc8(this['_dependencyManagerService'])),_0x36d67f=_0x1eb3b9[_0x4e0e11][_0x390e58];return _0x126205[_0x5dbfa0(0x1a6)]=_0x307336,_0x126205[_0x5dbfa0(0x161)]=_0x4e0e11,_0x126205[_0x5dbfa0(0xec)]=_0x390e58,_0x126205['row']=_0x4e63bb,_0x126205[_0x5dbfa0(0x1a7)]=_0x15ea6d,_0x126205['rowCount']=_0x36d67f['rowCount'],_0x126205['columnCount']=_0x36d67f[_0x5dbfa0(0x16d)],_0x126205;}[_0xdea468(0x110)](){const _0x4a0ac9=_0xdea468,_0x558288=[],_0x5874ad=new Set(),_0x2e77ce=this['_currentConfigService'][_0x4a0ac9(0x183)](),_0x67e9ca=this[_0x4a0ac9(0x107)][_0x4a0ac9(0xf4)](),_0x5c434f=this[_0x4a0ac9(0x12e)]['searchDependency'](_0x67e9ca),_0x3c2108=this[_0x4a0ac9(0x171)][_0x4a0ac9(0xef)](_0x67e9ca);for(const _0x36464d of _0x3c2108)_0x5c434f['add'](_0x36464d);for(const [_0x309411,_0x48bd1b]of this[_0x4a0ac9(0x12a)])(_0x2e77ce||_0x48bd1b['isDirty']||_0x48bd1b[_0x4a0ac9(0x192)](this[_0x4a0ac9(0x107)][_0x4a0ac9(0x1b2)]())||_0x5c434f[_0x4a0ac9(0xea)](_0x309411)&&!_0x48bd1b[_0x4a0ac9(0x1ba)](this[_0x4a0ac9(0x107)][_0x4a0ac9(0x126)]()))&&!_0x5874ad[_0x4a0ac9(0xea)](_0x309411)&&(_0x558288[_0x4a0ac9(0x19c)](_0x48bd1b),_0x5874ad[_0x4a0ac9(0x137)](_0x309411));for(const [_0x57036e,_0x6cde74]of this[_0x4a0ac9(0x12a)])_0x6cde74[_0x4a0ac9(0x11b)]||(_0x6cde74[_0x4a0ac9(0xf6)][_0x4a0ac9(0x174)]=0x0);return _0x558288;}[_0xdea468(0x119)](_0x281524){const _0x3fdd11=_0xdea468;return this[_0x3fdd11(0x12a)][_0x3fdd11(0x1ad)](_0x281524);}[_0xdea468(0x127)](_0x21f9b4){const _0x510756=_0xdea468;return _0x1d9192(_0x21f9b4[_0x510756(0x161)],_0x21f9b4['formula'],this[_0x510756(0x145)],this[_0x510756(0x104)],this[_0x510756(0x107)]);}*['_traverse'](_0x4eca72,_0x45f381){const _0x5eb7de=_0xdea468,_0x47bf45=_0x4eca72,_0x49a977=new Set();for(;_0x47bf45[_0x5eb7de(0x174)]>0x0;){const _0x5fa064=_0x47bf45[_0x5eb7de(0xf0)]();if(_0x49a977[_0x5eb7de(0x164)](),_0x5fa064===void 0x0||_0x5fa064[_0x5eb7de(0x106)]())continue;if(_0x5fa064[_0x5eb7de(0x1bd)]()){yield _0x5fa064,_0x5fa064[_0x5eb7de(0x11e)](),_0x45f381[_0x5eb7de(0x137)](_0x5fa064[_0x5eb7de(0x157)]);continue;}const _0x720c12=this[_0x5eb7de(0x12e)][_0x5eb7de(0x163)](_0x5fa064[_0x5eb7de(0x120)](),_0x45f381),_0x2cfd0e=this[_0x5eb7de(0x171)][_0x5eb7de(0xef)](_0x5fa064[_0x5eb7de(0x120)](),_0x45f381);for(const _0x5f2d12 of _0x2cfd0e)_0x720c12[_0x5eb7de(0x137)](_0x5f2d12);for(const _0x33ad2f of _0x720c12){const _0xedf3e6=this[_0x5eb7de(0x12a)][_0x5eb7de(0x1ad)](_0x33ad2f);if(!_0xedf3e6){console[_0x5eb7de(0x1b0)](_0x5eb7de(0x186),_0x33ad2f);continue;}_0xedf3e6[_0x5eb7de(0x1bd)]()||_0x5fa064[_0x5eb7de(0x106)]()||_0x49a977[_0x5eb7de(0x137)](_0xedf3e6);}if(_0x720c12[_0x5eb7de(0x164)](),_0x49a977[_0x5eb7de(0x16e)]===0x0)yield _0x5fa064,_0x5fa064['setSkip'](),_0x45f381[_0x5eb7de(0x137)](_0x5fa064[_0x5eb7de(0x157)]);else{_0x5fa064[_0x5eb7de(0x122)](),_0x47bf45['push'](_0x5fa064);for(const _0x572ed3 of _0x49a977)_0x47bf45[_0x5eb7de(0x19c)](_0x572ed3);}}_0x47bf45[_0x5eb7de(0x174)]=0x0,_0x49a977[_0x5eb7de(0x164)]();}[_0xdea468(0x165)](_0x107a61){const _0x1f64a4=_0xdea468,_0x53154f=[],_0x1f834f=new Set();for(const _0x2aab06 of this[_0x1f64a4(0x10a)](_0x107a61,_0x1f834f))_0x53154f[_0x1f64a4(0x19c)](_0x2aab06);return _0x53154f;}async[_0xdea468(0x190)](){const _0x4e5400=_0xdea468;return await this['_initializeGenerateTreeList'](),Array[_0x4e5400(0x1b4)](this[_0x4e5400(0x12a)][_0x4e5400(0x173)]());}['_getDependencyTreeParenIds'](_0x1decfc){const _0x59845e=_0xdea468;return this['_dependencyManagerService'][_0x59845e(0x163)](_0x1decfc[_0x59845e(0x120)]());}[_0xdea468(0x15d)](_0x48fcb8){const _0x55af19=_0xdea468,_0x5360c8=new Set(),_0xc05f04=_0x48fcb8[_0x55af19(0xf6)];for(const [_0x3957be,_0x2649f9]of this[_0x55af19(0x12a)])for(const _0x4b0056 of _0xc05f04){const _0x141ca4=_0x4b0056[_0x55af19(0x161)],_0x274344=_0x4b0056['sheetId'];if(_0x2649f9['unitId']!==_0x141ca4||_0x2649f9[_0x55af19(0xec)]!==_0x274344)continue;const _0xe4a3e5=_0x4b0056[_0x55af19(0x112)];if(_0x2649f9['inRangeData'](_0xe4a3e5)){_0x5360c8['add'](_0x3957be);break;}}return _0x5360c8;}[_0xdea468(0x18e)](){const _0x55945f=_0xdea468;this[_0x55945f(0x12e)][_0x55945f(0xfb)]();}[_0xdea468(0x13a)](){const _0x49fcd4=_0xdea468;this['_formulaDependencyTreeModel']['clear'](),this[_0x49fcd4(0x12a)]['clear'](),this[_0x49fcd4(0x12e)][_0x49fcd4(0x134)]();}}class Re extends _0xf18d59{async[_0xdea468(0x128)](_0x20a96e=!0x1){const _0x51e788=_0xdea468;_0x20a96e?this['_runtimeService'][_0x51e788(0x152)](_0x12f3d6['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x51e788(0x18b)]['setFormulaExecuteStage'](_0x12f3d6[_0x51e788(0xf2)]),this[_0x51e788(0x196)][_0x51e788(0x133)](this[_0x51e788(0x18b)]['getRuntimeState']());const _0x32c30d=await this['_formulaDependencyGenerator']['generate'](this[_0x51e788(0x11d)]),_0xe6c8e=this['_interpreter'];_0x20a96e?(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x194)]),this[_0x51e788(0x18b)][_0x51e788(0x113)](_0x32c30d['length'])):(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x149)]),this['_runtimeService'][_0x51e788(0x114)](_0x32c30d['length'])),this[_0x51e788(0x196)][_0x51e788(0x133)](this[_0x51e788(0x18b)][_0x51e788(0x1be)]());let _0x162939=[];const _0x25f4be=this['_configService']['getConfig'](_0xa50f02),_0xd52a06=(_0x25f4be==null?void 0x0:_0x25f4be['intervalCount'])||_0x142c2d;let _0x1e68b7=0x0;const _0x1234b1=_0x32c30d[_0x51e788(0x174)];for(;_0x32c30d[_0x51e788(0x174)]>0x0;){const _0x3e478b=_0x32c30d['pop'](),_0x32aced=_0x1d9192(_0x3e478b[_0x51e788(0x161)],_0x3e478b['formula'],this[_0x51e788(0x145)],this[_0x51e788(0x104)],this[_0x51e788(0x107)]),_0x4e86b4={'node':_0x32aced,'refOffsetX':_0x3e478b['refOffsetX'],'refOffsetY':_0x3e478b['refOffsetY']},_0xb8e1d8=_0x3e478b[_0x51e788(0x1bc)];if(_0x1e68b7%_0xd52a06===0x0&&(await new Promise(_0x3ffbfb=>{const _0x23640d=_0x51e788,_0x58927f=_0x19a920(_0x3ffbfb);_0x162939[_0x23640d(0x19c)](_0x58927f);}),_0x20a96e?(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x1b8)]),this[_0x51e788(0x18b)]['setCompletedArrayFormulasCount'](_0x1e68b7+0x1)):(this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6['CURRENTLY_CALCULATING']),this[_0x51e788(0x18b)][_0x51e788(0xff)](_0x1e68b7+0x1)),this[_0x51e788(0x196)]['next'](this[_0x51e788(0x18b)][_0x51e788(0x1be)]()),this['_runtimeService']['isStopExecution']()||_0x4e86b4==null&&_0xb8e1d8==null)){this[_0x51e788(0x18b)][_0x51e788(0x152)](_0x12f3d6[_0x51e788(0x151)]),this[_0x51e788(0x18b)][_0x51e788(0x117)](),this[_0x51e788(0x19a)][_0x51e788(0x133)](this[_0x51e788(0x18b)][_0x51e788(0x18f)]());return;}this[_0x51e788(0x18b)][_0x51e788(0x187)](_0x3e478b[_0x51e788(0x17f)],_0x3e478b[_0x51e788(0x1a7)],_0x3e478b['rowCount'],_0x3e478b[_0x51e788(0x16d)],_0x3e478b['subUnitId'],_0x3e478b['unitId']);let _0x3f90d9;if(_0xb8e1d8!=null&&_0x3e478b[_0x51e788(0x13d)]!=null){const {runtimeCellData:_0x10c926,dirtyRanges:_0x58c7b9}=_0xb8e1d8(this[_0x51e788(0x107)][_0x51e788(0x1bc)](),this[_0x51e788(0x18b)][_0x51e788(0x18f)]());this['_runtimeService'][_0x51e788(0x15a)](_0x3e478b[_0x51e788(0x13d)],_0x10c926),this[_0x51e788(0x18b)][_0x51e788(0x136)](_0x3e478b[_0x51e788(0x13d)],_0x58c7b9);}else _0x4e86b4!=null&&(_0xe6c8e[_0x51e788(0x109)](_0x4e86b4[_0x51e788(0x1ac)])?_0x3f90d9=await _0xe6c8e[_0x51e788(0x132)](_0x4e86b4):_0x3f90d9=_0xe6c8e[_0x51e788(0x115)](_0x4e86b4),_0x3e478b[_0x51e788(0x108)]!=null?this[_0x51e788(0x18b)][_0x51e788(0x19d)](_0x3e478b[_0x51e788(0x108)],_0x3e478b[_0x51e788(0x15c)],_0x3e478b[_0x51e788(0xfd)],_0x3f90d9):this[_0x51e788(0x18b)]['setRuntimeData'](_0x3f90d9));_0x32aced[_0x51e788(0x1a4)](),_0x1e68b7++;}return _0x162939[_0x51e788(0x199)](_0x397619=>_0x397619()),_0x162939=[],_0x1234b1>0x0?this[_0x51e788(0x18b)][_0x51e788(0xf9)]():_0x20a96e||this[_0x51e788(0x18b)][_0x51e788(0x18d)](),this['_runtimeService'][_0x51e788(0x18f)]();}}class Ne extends _0x38dc6b{constructor(){const _0x2366f7=_0xdea468;super(...arguments),y(this,_0x2366f7(0x1a0),new Map()),y(this,_0x2366f7(0x13c),new _0x4505d8(!0x0));}[_0xdea468(0xed)](){const _0x40c1a4=_0xdea468;this[_0x40c1a4(0x175)]['clear'](),this[_0x40c1a4(0x17a)]['clear'](),this['_formulaData'][_0x40c1a4(0x164)](),this[_0x40c1a4(0x13c)][_0x40c1a4(0x164)](),this['_allTreeMap'][_0x40c1a4(0x164)](),this[_0x40c1a4(0x18a)](),this['_otherFormulaDataMainData'][_0x40c1a4(0x164)]();}['addOtherFormulaDependency'](_0x3681ed,_0x269a5a,_0x12478d,_0x15e95f){const _0x394b50=_0xdea468;this[_0x394b50(0x175)][_0x394b50(0xea)](_0x3681ed)||this[_0x394b50(0x175)][_0x394b50(0x188)](_0x3681ed,new Map());const _0x55b42e=this['_otherFormulaData'][_0x394b50(0x1ad)](_0x3681ed);_0x55b42e['has'](_0x269a5a)||_0x55b42e[_0x394b50(0x188)](_0x269a5a,new Map());const _0x241b96=_0x55b42e[_0x394b50(0x1ad)](_0x269a5a);_0x241b96[_0x394b50(0xea)](_0x12478d)||_0x241b96[_0x394b50(0x188)](_0x12478d,new _0xb6e462()),_0x241b96[_0x394b50(0x1ad)](_0x12478d)[_0x394b50(0x15f)](_0x15e95f[_0x394b50(0x15c)],_0x15e95f['refOffsetY'],_0x15e95f[_0x394b50(0x157)]);}[_0xdea468(0x11c)](_0x3edc14,_0x45ec35,_0x3408e8){const _0x298fee=_0xdea468,_0xe435cc=this['_otherFormulaData'][_0x298fee(0x1ad)](_0x3edc14);if(_0xe435cc&&_0xe435cc[_0x298fee(0xea)](_0x45ec35)){const _0x3bf3fb=_0xe435cc[_0x298fee(0x1ad)](_0x45ec35);_0x3408e8['forEach'](_0x13ede0=>{const _0x525818=_0x298fee,_0x6c4b15=_0x3bf3fb[_0x525818(0x1ad)](_0x13ede0);_0x6c4b15!=null&&(_0x6c4b15['forValue']((_0x2d32f2,_0x132c61,_0x46d813)=>{const _0x5385a6=_0x525818;this[_0x5385a6(0xeb)](_0x46d813),this[_0x5385a6(0x105)](_0x46d813);}),_0x3bf3fb['delete'](_0x13ede0),this[_0x525818(0x147)][_0x525818(0x14a)](_0x13ede0));}),_0x3bf3fb['size']===0x0&&_0xe435cc['delete'](_0x45ec35),_0xe435cc[_0x298fee(0x16e)]===0x0&&this['_otherFormulaData'][_0x298fee(0x14a)](_0x3edc14);}}[_0xdea468(0x15b)](_0x282a44,_0x174a19){const _0x1b1a31=_0xdea468,_0x5647f9=this[_0x1b1a31(0x175)][_0x1b1a31(0x1ad)](_0x282a44);if(_0x174a19&&_0x5647f9&&_0x5647f9[_0x1b1a31(0xea)](_0x174a19)){const _0x2e9737=_0x5647f9['get'](_0x174a19);this[_0x1b1a31(0x146)](_0x282a44,_0x174a19);for(const _0x190af8 of _0x2e9737[_0x1b1a31(0x14d)]()){const _0x4b7da6=_0x2e9737['get'](_0x190af8);_0x4b7da6!=null&&(_0x4b7da6[_0x1b1a31(0x10e)]((_0x344851,_0x320bcb,_0x4e55f6)=>{const _0x196d7d=_0x1b1a31;this[_0x196d7d(0x1a0)][_0x196d7d(0x1ad)](_0x4e55f6)&&this[_0x196d7d(0x105)](_0x4e55f6);}),this[_0x1b1a31(0x147)][_0x1b1a31(0x14a)](_0x190af8));}_0x2e9737['clear']();}else{if(_0x5647f9){for(const _0x2f6fb7 of _0x5647f9[_0x1b1a31(0x14d)]()){const _0x5e248a=_0x5647f9['get'](_0x2f6fb7);this[_0x1b1a31(0x146)](_0x282a44,_0x2f6fb7);for(const _0x2e76a8 of _0x5e248a[_0x1b1a31(0x14d)]()){const _0x1d2f2c=_0x5e248a['get'](_0x2e76a8);_0x1d2f2c!=null&&(_0x1d2f2c[_0x1b1a31(0x10e)]((_0x4de2cf,_0x38929a,_0x3bc696)=>{const _0x3077d1=_0x1b1a31;this[_0x3077d1(0x1a0)]['get'](_0x3bc696)&&this[_0x3077d1(0x105)](_0x3bc696);}),this[_0x1b1a31(0x147)]['delete'](_0x2e76a8));}}this[_0x1b1a31(0x175)][_0x1b1a31(0x14a)](_0x282a44);}}}[_0xdea468(0xf3)](_0x3eeed4,_0x2cb8de,_0x353c5d,_0x4a158e){const _0x226f4e=_0xdea468;this[_0x226f4e(0x17a)][_0x226f4e(0xea)](_0x3eeed4)||this[_0x226f4e(0x17a)]['set'](_0x3eeed4,new Map());const _0x282509=this[_0x226f4e(0x17a)][_0x226f4e(0x1ad)](_0x3eeed4);_0x282509[_0x226f4e(0xea)](_0x2cb8de)||_0x282509['set'](_0x2cb8de,new Map()),_0x282509[_0x226f4e(0x1ad)](_0x2cb8de)[_0x226f4e(0x188)](_0x353c5d,_0x4a158e['treeId']);}['removeFeatureFormulaDependency'](_0x92be0a,_0x2274f1,_0x4d8f91){const _0x181196=_0xdea468,_0xb54597=this[_0x181196(0x17a)][_0x181196(0x1ad)](_0x92be0a);if(_0xb54597&&_0xb54597[_0x181196(0xea)](_0x2274f1)){const _0xc1b32e=_0xb54597[_0x181196(0x1ad)](_0x2274f1);_0x4d8f91['forEach'](_0x414509=>{const _0x33fb80=_0x181196,_0x4f986d=_0xc1b32e[_0x33fb80(0x1ad)](_0x414509);_0x4f986d!=null&&(this['_removeDependencyRTreeCache'](_0x4f986d),_0xc1b32e[_0x33fb80(0x14a)](_0x414509),this[_0x33fb80(0x105)](_0x4f986d));});}}[_0xdea468(0x180)](_0x551a8c,_0x401e47){const _0x4890df=_0xdea468,_0x572a76=this['_featureFormulaData'][_0x4890df(0x1ad)](_0x551a8c);if(_0x401e47&&_0x572a76&&_0x572a76[_0x4890df(0xea)](_0x401e47)){const _0x180ce6=_0x572a76[_0x4890df(0x1ad)](_0x401e47);this[_0x4890df(0x146)](_0x551a8c,_0x401e47),_0x180ce6[_0x4890df(0x199)](_0x33fe77=>{const _0x4e5b13=_0x4890df;_0x33fe77!=null&&this[_0x4e5b13(0x105)](_0x33fe77);}),_0x180ce6[_0x4890df(0x164)]();}else _0x572a76&&(_0x572a76[_0x4890df(0x199)]((_0x8a4d72,_0x43d768)=>{const _0x3abd53=_0x4890df;this['_removeDependencyRTreeCacheById'](_0x551a8c,_0x43d768),_0x8a4d72[_0x3abd53(0x199)](_0x3eb986=>{const _0x548aef=_0x3abd53;_0x3eb986!=null&&this[_0x548aef(0x105)](_0x3eb986);});}),this[_0x4890df(0x17a)][_0x4890df(0x14a)](_0x551a8c));}['addFormulaDependency'](_0xaca672,_0x15954a,_0x55398e,_0x3262fc,_0x472ad7){const _0x1231fc=_0xdea468;this[_0x1231fc(0x124)][_0x1231fc(0xea)](_0xaca672)||this[_0x1231fc(0x124)]['set'](_0xaca672,new Map());const _0x8e0b81=this[_0x1231fc(0x124)][_0x1231fc(0x1ad)](_0xaca672);_0x8e0b81[_0x1231fc(0xea)](_0x15954a)||_0x8e0b81[_0x1231fc(0x188)](_0x15954a,new _0xb6e462()),_0x8e0b81[_0x1231fc(0x1ad)](_0x15954a)[_0x1231fc(0x15f)](_0x55398e,_0x3262fc,_0x472ad7[_0x1231fc(0x157)]);}[_0xdea468(0x182)](_0x40863e,_0x5eabd7,_0x413a3e,_0x400746){const _0x48baaa=_0xdea468,_0x1989e2=this[_0x48baaa(0x124)][_0x48baaa(0x1ad)](_0x40863e);if(_0x1989e2&&_0x1989e2[_0x48baaa(0xea)](_0x5eabd7)){const _0x3cc8d8=_0x1989e2[_0x48baaa(0x1ad)](_0x5eabd7),_0x31a6bd=_0x3cc8d8[_0x48baaa(0xfe)](_0x413a3e,_0x400746);if(_0x31a6bd==null)return;this[_0x48baaa(0xeb)](_0x31a6bd),_0x3cc8d8[_0x48baaa(0x1b5)](_0x413a3e,_0x400746),this['_removeAllTreeMap'](_0x31a6bd);}}[_0xdea468(0x1a1)](_0x458d1e,_0x3eb199){const _0x267b0e=_0xdea468,_0x4d1e95=this[_0x267b0e(0x124)][_0x267b0e(0x1ad)](_0x458d1e);if(_0x3eb199&&_0x4d1e95&&_0x4d1e95[_0x267b0e(0xea)](_0x3eb199)){const _0x54aa8f=_0x4d1e95[_0x267b0e(0x1ad)](_0x3eb199);this[_0x267b0e(0x146)](_0x458d1e,_0x3eb199),_0x54aa8f[_0x267b0e(0x10e)]((_0xfb7798,_0x43094c,_0x1ca2f5)=>{const _0x20e5e8=_0x267b0e;if(_0x1ca2f5==null)return!0x0;this[_0x20e5e8(0x105)](_0x1ca2f5);}),_0x54aa8f[_0x267b0e(0xed)]();}else _0x4d1e95&&(_0x4d1e95['forEach']((_0x3fd186,_0x1a1f8d)=>{const _0x398522=_0x267b0e;this[_0x398522(0x146)](_0x458d1e,_0x1a1f8d),_0x3fd186[_0x398522(0x10e)]((_0x58f4b2,_0x4f60cf,_0x4f9d44)=>{const _0x1e5091=_0x398522;if(_0x4f9d44==null)return!0x0;this[_0x1e5091(0x105)](_0x4f9d44);});}),this[_0x267b0e(0x124)][_0x267b0e(0x14a)](_0x458d1e));}[_0xdea468(0xeb)](_0x56707d){const _0x5bc9bc=_0xdea468;if(_0x56707d==null)return;const _0x2c48ed=this[_0x5bc9bc(0x1a0)][_0x5bc9bc(0x1ad)](_0x56707d);if(_0x2c48ed){const _0xd5e6be=[];for(const [_0x512bd5,_0x172628]of _0x2c48ed)for(const [_0x215162,_0x1a642c]of _0x172628)_0xd5e6be[_0x5bc9bc(0x19c)]({'unitId':_0x512bd5,'sheetId':_0x215162,'range':_0x1a642c,'id':_0x56707d});this[_0x5bc9bc(0x13c)][_0x5bc9bc(0x1b9)](_0xd5e6be);}}[_0xdea468(0x1ab)](_0x1b8797,_0x147684){const _0x2abe04=_0xdea468,_0x221916=this[_0x2abe04(0x10b)][_0x2abe04(0x1ad)](_0x1b8797);if(_0x221916){const _0x5631f5=_0x221916[_0x2abe04(0x1ad)](_0x147684);if(_0x5631f5){for(const _0x20cec1 of _0x5631f5)this[_0x2abe04(0xeb)](_0x20cec1),this['_removeAllTreeMap'](_0x20cec1);_0x5631f5[_0x2abe04(0x164)]();}}}['openKdTree'](){const _0x4eb45c=_0xdea468;this['_dependencyRTreeCache'][_0x4eb45c(0xfb)]();}[_0xdea468(0x134)](){const _0x1f209c=_0xdea468;this[_0x1f209c(0x13c)][_0x1f209c(0x134)]();}[_0xdea468(0x105)](_0x667165){const _0x54cea9=_0xdea468;_0x667165!=null&&this[_0x54cea9(0x1a0)]['delete'](_0x667165);}[_0xdea468(0x1a9)](_0x592377){const _0x118883=_0xdea468;var _0x155f71,_0x414021;const _0x383840=_0x592377[_0x118883(0xf6)];let _0x57547b=this[_0x118883(0x1a0)][_0x118883(0x1ad)](_0x592377[_0x118883(0x157)]);for(let _0x171794=0x0;_0x171794<_0x383840[_0x118883(0x174)];_0x171794++){const _0x15c5f4=_0x383840[_0x171794];let {unitId:_0x54a2a6,sheetId:_0xd6adf5,range:_0x346f34}=_0x15c5f4;_0x57547b||(_0x57547b=new Map(),this[_0x118883(0x1a0)][_0x118883(0x188)](_0x592377[_0x118883(0x157)],_0x57547b)),_0x57547b['has'](_0x54a2a6)||_0x57547b[_0x118883(0x188)](_0x54a2a6,new Map());const _0xcc57f1=(_0x155f71=_0x57547b==null?void 0x0:_0x57547b[_0x118883(0x1ad)](_0x54a2a6))==null?void 0x0:_0x155f71[_0x118883(0x1ad)](_0xd6adf5);_0xcc57f1&&(_0x346f34={'startRow':Math[_0x118883(0x12d)](_0x346f34[_0x118883(0x144)],_0xcc57f1[_0x118883(0x144)]),'startColumn':Math[_0x118883(0x12d)](_0x346f34[_0x118883(0xf5)],_0xcc57f1['startColumn']),'endRow':Math['max'](_0x346f34[_0x118883(0x138)],_0xcc57f1[_0x118883(0x138)]),'endColumn':Math[_0x118883(0x11f)](_0x346f34[_0x118883(0x1bb)],_0xcc57f1[_0x118883(0x1bb)])}),(_0x414021=_0x57547b[_0x118883(0x1ad)](_0x54a2a6))==null||_0x414021[_0x118883(0x188)](_0xd6adf5,_0x346f34);}}}var Be=Object['getOwnPropertyDescriptor'],Ae=(_0x1d4b56,_0x31d847,_0x104cfe,_0x3a3549)=>{const _0x3e44ca=_0xdea468;for(var _0x4d2be4=_0x3a3549>0x1?void 0x0:_0x3a3549?Be(_0x31d847,_0x104cfe):_0x31d847,_0x28eef2=_0x1d4b56[_0x3e44ca(0x174)]-0x1,_0x718b79;_0x28eef2>=0x0;_0x28eef2--)(_0x718b79=_0x1d4b56[_0x28eef2])&&(_0x4d2be4=_0x718b79(_0x4d2be4)||_0x4d2be4);return _0x4d2be4;};const Ie=Number['parseInt'](0x694f8991);let W=class extends _0x151b54{[_0xdea468(0x167)](){const _0x246a0f=_0xdea468;var _0x229ae1,_0x1e5dd2;this[_0x246a0f(0x111)]()?(this['_injector']['add']([_0x15fbc2,{'useClass':ve}]),(_0x229ae1=this[_0x246a0f(0x100)])!=null&&_0x229ae1['notExecuteFormula']||[[_0xc7ae51,{'useClass':Re}],[_0xc41e20,{'useClass':Ne}],[_0x1de1cf,{'useClass':Ee}]][_0x246a0f(0x199)](_0x1eca29=>this[_0x246a0f(0x19f)]['add'](_0x1eca29))):(this[_0x246a0f(0x19f)][_0x246a0f(0x137)]([_0x15fbc2,{'useClass':_0x15fbc2}]),(_0x1e5dd2=this[_0x246a0f(0x100)])!=null&&_0x1e5dd2[_0x246a0f(0x1a8)]||[[_0xc7ae51,{'useClass':_0xf18d59}],[_0xc41e20,{'useClass':_0x1a183c}],[_0x1de1cf,{'useClass':_0x14bbc0}]]['forEach'](_0x236a71=>this['_injector'][_0x246a0f(0x137)](_0x236a71)));}[_0xdea468(0x111)](){const _0x570e6c=_0xdea468;var _0x39524a;const _0x52af49=(_0x39524a=this[_0x570e6c(0x14c)][_0x570e6c(0x195)](_0x5bfbf4))!=null?_0x39524a:{},{ls:_0x112498,pbk:_0x26c225}=_0x52af49;if(!_0x112498||!_0x26c225)return!0x1;const _0xeda727=_0x2e6f97(Se,Me),_0xe72917=new Function(_0x570e6c(0x13b)+_0xeda727)()(_0x112498,_0x26c225),_0x2c642d=_0xe72917[_0x570e6c(0xf7)];return _0xe72917[_0x570e6c(0x14e)]&&_0x1a525d(_0x2c642d,'sf',Ie)?_0x36b4df(_0x2c642d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};W=Ae([_0x37518a(_0x33099e)],W);function _0x476c(_0x3ea5fd,_0x36f1bc){_0x3ea5fd=_0x3ea5fd-0xe7;const _0x90b30d=_0x90b3();let _0x476cfa=_0x90b30d[_0x3ea5fd];return _0x476cfa;}export{ve as LexerTreeProBuilder,W as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1025(){var _0xa864ae=['272188NBrVVt','629366Ecvzdt','9563120UDxySk','1151152vcyPpp','256634ZcTdRN','2641122qfhBZd','12Bbbhdy','16grlQUZ','138995atYROL','3MpHSbT'];_0x1025=function(){return _0xa864ae;};return _0x1025();}(function(_0x17b4b6,_0xb0bd3c){var _0x5d4e56=_0x43af,_0x564540=_0x17b4b6();while(!![]){try{var _0x42ff6a=parseInt(_0x5d4e56(0x192))/0x1+parseInt(_0x5d4e56(0x199))/0x2*(-parseInt(_0x5d4e56(0x197))/0x3)+-parseInt(_0x5d4e56(0x191))/0x4+parseInt(_0x5d4e56(0x196))/0x5*(parseInt(_0x5d4e56(0x194))/0x6)+-parseInt(_0x5d4e56(0x198))/0x7*(parseInt(_0x5d4e56(0x195))/0x8)+-parseInt(_0x5d4e56(0x193))/0x9+parseInt(_0x5d4e56(0x19a))/0xa;if(_0x42ff6a===_0xb0bd3c)break;else _0x564540['push'](_0x564540['shift']());}catch(_0x3fac36){_0x564540['push'](_0x564540['shift']());}}}(_0x1025,0x47fbf));function _0x43af(_0x413e6f,_0xc0030){_0x413e6f=_0x413e6f-0x191;var _0x10256a=_0x1025();var _0x43afec=_0x10256a[_0x413e6f];return _0x43afec;}export*from'@univerjs/engine-formula/facade';
|