@univerjs-pro/engine-formula 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/license/encrypted-func.d.ts +1 -1
- package/lib/types/license/reverse-mapping.d.ts +41 -41
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x56db(){const _0x2740f6=['15413922VHXjWU','1BSIEqX','toStringTag','2228960IPqFtL','call','6167590nKjlUb','36492JRsTxH','3463958NkqSGG','29037410jgLrPY','76iHNzHq','hasOwnProperty','forEach','defineProperty','Module','prototype','175998oKcFuz','70OneOIk'];_0x56db=function(){return _0x2740f6;};return _0x56db();}const _0x42cc53=_0x5846;(function(_0x5bf4c3,_0x520d69){const _0x125f53=_0x5846,_0x38ef58=_0x5bf4c3();while(!![]){try{const _0x550014=-parseInt(_0x125f53(0x1f7))/0x1*(-parseInt(_0x125f53(0x1fd))/0x2)+-parseInt(_0x125f53(0x1f4))/0x3*(parseInt(_0x125f53(0x1ee))/0x4)+-parseInt(_0x125f53(0x1fb))/0x5+-parseInt(_0x125f53(0x1fc))/0x6*(-parseInt(_0x125f53(0x1f5))/0x7)+parseInt(_0x125f53(0x1f9))/0x8+-parseInt(_0x125f53(0x1f6))/0x9+parseInt(_0x125f53(0x1fe))/0xa;if(_0x550014===_0x520d69)break;else _0x38ef58['push'](_0x38ef58['shift']());}catch(_0x5388a8){_0x38ef58['push'](_0x38ef58['shift']());}}}(_0x56db,0xdf39a));function _0x5846(_0x4317ac,_0x1c1504){_0x4317ac=_0x4317ac-0x1ee;const _0x56db9c=_0x56db();let _0x584669=_0x56db9c[_0x4317ac];return _0x584669;}Object[_0x42cc53(0x1f1)](exports,Symbol[_0x42cc53(0x1f8)],{'value':_0x42cc53(0x1f2)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x42cc53(0x1f0)](_0x463595=>{const _0x3eed16=_0x42cc53;_0x463595!=='default'&&!Object[_0x3eed16(0x1f3)][_0x3eed16(0x1ef)][_0x3eed16(0x1fa)](exports,_0x463595)&&Object[_0x3eed16(0x1f1)](exports,_0x463595,{'enumerable':!0x0,'get':()=>t[_0x463595]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x7ae8(){const _0x519397=['return\x20','RTree','forValue','hasOwnProperty','clearArrayObjectCache','generateAstNode','_getTreeById','_dependencyRTreeCacheForAddressFunction','endsWith','_getCurNodeTypeForExprTree','_getFirstCellOfRange','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_getAllDependencyJson','refTree','getToken','FormulaDependencyTreeType','generateRandomDependencyTreeId','14988AuRiNO','setRuntimeData','startColumn','searchDependency','FormulaDependencyGenerator','setRuntimeFeatureRange','_getDependencyTreeParenIds','prefixToken','_removeDependencyRTreeCache','IFormulaDependencyGenerator','getFormulaDependency','isSkip','parseInt','_dependencyRTreeCache','_lambdaFunctionParameterSet','Module','values','addFormulaDependencyByDefinedName','_currentUnitId','ErrorType','unitId','setDependencyTreeModelData','DependentOn','16965xDyvCp','toStringTag','DependencyManagerBaseService','LexerNode','string','setFormulaExecuteStage','getDirtyData','_checkColonNodeForExprTree','dirtyRanges','isReferenceString','960TMuFeS','resolve','getExcludedRange','reset','setValue','columnCount','getFormulaData','dependencySheetName','FormulaExecuteStageType','_apply','message','realDeleteValue','notExecuteFormula','DependencyManagerService','getDirtyRanges','featureDirtyRanges','_generateTreeList','enableCycleDependency','push','_getTableNameFromStructuredRef','FormulaDependencyTree','pop','_isCalculateTreeModel','isAdded','set','generate','OTHER_FORMULA','_checkIsCycleDependency','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','closeKdTree','_xlfnPrefix','addOtherFormulaDependency','getRuntimeState','toUpperCase','_clearFunctionString','getConfig','setCompletedFormulasCount','_dependencyTreeCache','531140xqWXnu','isExcludeRange','get','clearOtherFormulaDependency','_lexer','getStartIndex','row','symbol','DEFAULT_TOKEN_TYPE_ROOT','clearFeatureFormulaDependency','LS_CONFIG_KEY','getChildren','DEFAULT_TOKEN_TYPE_PARAMETER','openKdTree','FEATURE_FORMULA','_otherFormulaData','subUnitId','min','3249LSAkgb','sheetId','_checkAddBracketForMinus','36XVNfWm','type','_restDependencyTreeId','toRTreeItem','DEFAULT_INTERVAL_COUNT','value','resetCalculationState','getValue','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','splitTableStructuredRef','_getDependencyTreeChildrenIds','treeBuilder','_removeDependencyRTreeCacheById','getOwnPropertyDescriptor','inRangeData','startIndex','markedAsStopFunctionsExecuted','isDirty','COLON','addFormulaDependency','setCurrent','_injector','column','isFeatureAuthorizedWithinTime','SUFFIX_TOKEN_SET','_handleTextNodeForExprTree','_astTreeBuilder','setAdded','max','/*1Jtyl5B-6lt4oyJ1bWJAJW-BJLby4BJ1*/AI5aBlz516JaWwbBlz5(ylaJ5tJ,1bIoylaFJw)1{1111BWw1{11111111az5tB1ylaJ5tJD5AzR4WBmWW4w1=1ylaJ5tJ.tbylB(\x27-\x27);11111111az5tB1zWlvl5CJtt4vJ1=18EGO.b4WtJ(4Bzo(ylaJ5tJD5AzR4WBmWW4w[P]));11111111lA1(!zWlvl5CJtt4vJ.I6)1{111111111111zWlvl5CJtt4vJ.I61=1OILoJW(ylaJ5tJD5AzR4WBmWW4w[x]);11111111}11111111az5tB1ltezWNJW1=1BwbJzA1ezWNJWdyzo4yEazbJ1!==1\x27I56JAl5J6\x271&&1tJyA1l5tB45aJzA1ezWNJWdyzo4yEazbJ;11111111az5tB1ltSWzXtJW1=1BwbJzA1Xl56zX1!==1\x27I56JAl5J6\x271&&1BwbJzA1Xl56zX.yza4Blz51!==1\x27I56JAl5J6\x27;11111111az5tB1az5BJsB1=1ltezWNJW1?1tJyA1:1(ltSWzXtJW1?1Xl56zX1:1vyzo4yrklt);11111111az5tB1LJtt4vJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[P]);11111111az5tB1LJtt4vJ1=1az5BJsB.__iJs__.tBWl5vlAw(LJtt4vJezW6);11111111az5tB1tlv54BIWJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[q]);11111111az5tB1tlv54BIWJ1=1az5BJsB.__iJs__.tBWl5vlAw(tlv54BIWJezW6);11111111az5tB1tlv5p4yl61=1az5BJsB.__QJWlAw__(tlv54BIWJ,1LJtt4vJ,1bIoylaFJw);11111111az5tB16zL4l51=1zWlvl5CJtt4vJ.6L;11111111AI5aBlz51lt2zL4l5C4Bakl5v(b4BBJW5,1kztB)1{111111111111lA1(b4BBJW51===1kztB)1WJBIW51BWIJ;111111111111lA1(b4BBJW5.tB4WBtelBk(\x27*.\x27))1{1111111111111111az5tB1tIAAls1=1b4BBJW5.tylaJ(P);1111111111111111lA1(tIAAls1&&1tIAAls1===1kztB)1{11111111111111111111WJBIW51BWIJ;1111111111111111}1111111111111111lA1(tIAAls1&&1!kztB.tB4WBtelBk(\x27.\x27)1&&1kztB.J56telBk(\x27.\x271+1tIAAls))1{11111111111111111111WJBIW51BWIJ;1111111111111111}111111111111}111111111111WJBIW51A4ytJ;11111111}11111111yJB16zL4l5p4yl61=1A4ytJ;11111111lA1(ltSWzXtJW)1{1111111111116zL4l5p4yl61=1(6zL4l51&&16zL4l5.yJ5vBk)1?16zL4l5.tzLJ((6LDBJL)1=>1lt2zL4l5C4Bakl5v(6LDBJL,1yza4Blz5.kztB54LJ))1:1BWIJ;111111111111lA1(yza4Blz5.kztB54LJ1===1\x27yza4ykztB\x27)1{11111111111111116zL4l5p4yl61=1BWIJ;111111111111}11111111}1JytJ1{1111111111116zL4l5p4yl61=1BWIJ;11111111}11111111az5tB1Q4yl61=1tlv5p4yl61&&16zL4l5p4yl6;11111111WJBIW51{111111111111Q4yl6,111111111111LJtt4vJ:1zWlvl5CJtt4vJ,11111111};1111}1a4Bak1(JWWzW)1{11111111WJBIW51{111111111111Q4yl6:1A4ytJ,111111111111LJtt4vJ:1{},11111111};1111}}','markedAsNoFunctionsExecuted','UniverFormulaEnginePlugin','execute','slice','clearFormulaDependency','_resetPrefix','forEach','154pPevuM','OPERATOR_TOKEN_SET','endColumn','_handleNewFunctionChild','_runtimeService','length','6695hQMMgC','getSheetFeatureLimit','_xlfn.','error','removeFeatureFormulaDependency','UniverLicensePlugin','DEFAULT_TOKEN_LET_FUNCTION_NAME','isStopExecution','_featureFormulaData','_dependencyManagerService','IDependencyManagerService','_configService','_removeAllTreeMap','_traverse','CURRENTLY_CALCULATING_ARRAY_FORMULA','call','getUnitData','bulkSearch','removeOtherFormulaDependency','175494YjLATP','7884NFDCpt','_isCyclicUtilMap','ObjectMatrix','CURRENTLY_CALCULATING','START_CALCULATION','_currentConfigService','startRow','_config','_generateExprTree','_clearPrefix','join','add','_generateNewFunctionString','Lambda\x20parameter\x20name\x20\x22','isArray','_calculateRunList','_formulaDependencyGenerator','_handleChildrenForExprTree','MINUS','keys','setTotalFormulasToCalculate','UniverProFormulaEnginePlugin','addFeatureFormulaDependency','_handleLambdaForExprTree','children','has','node','129PGxPpR','_formulaData','START_CALCULATION_ARRAY_FORMULA','getClearDependencyTreeCache','FormulaDependencyTreeVirtual','_xlpmPrefix','defineProperty','\x22\x20is\x20duplicated.','prototype','NEW_EXCEL_FUNCTIONS','rangeList','getAllRuntimeData','formulaId','_getUpdateTreeListAndMakeDependency','1864LHWyuY','markedAsSuccessfullyExecuted','_endFormulaDependencyTreeModel','getDirtyNameMap','next','executeAsync','VALUE','_registerOtherFormulas','isCache','dispose','trim','hasOtherFormulaDataMainData','bulkRemove','matchToken','refOffsetX','_allTreeMap','checkAsyncNode','_createVirtualFDtree','_initLicenseValid','getNewFormulaWithPrefix','clear','size','featureId','formula','rowCount','refOffsetY','_createFDtree','_hasNewExcelFunction','LexerTreeBuilder','treeId','_executionInProgressListener$','delete','_otherFormulaDataMainData','addOtherFormulaDependencyMainData','_formulaDependencyTreeModel','_startFormulaDependencyTreeModel','CalculateFormulaService','_updateRangeFlatten','346598hxtlGy','removeFormulaDependency','_otherFormulaManagerService','IDLE','_addAllTreeMap'];_0x7ae8=function(){return _0x519397;};return _0x7ae8();}const _0x50446b=_0xd772;(function(_0x595bdf,_0x111daa){const _0x167b3c=_0xd772,_0x2cc4cb=_0x595bdf();while(!![]){try{const _0x42aeaa=-parseInt(_0x167b3c(0x150))/0x1*(-parseInt(_0x167b3c(0x19a))/0x2)+parseInt(_0x167b3c(0x134))/0x3*(parseInt(_0x167b3c(0x1f6))/0x4)+-parseInt(_0x167b3c(0x1b1))/0x5*(-parseInt(_0x167b3c(0x1bb))/0x6)+-parseInt(_0x167b3c(0x184))/0x7+-parseInt(_0x167b3c(0x15e))/0x8*(parseInt(_0x167b3c(0x1f3))/0x9)+parseInt(_0x167b3c(0x1e1))/0xa*(-parseInt(_0x167b3c(0x11b))/0xb)+parseInt(_0x167b3c(0x135))/0xc*(-parseInt(_0x167b3c(0x121))/0xd);if(_0x42aeaa===_0x111daa)break;else _0x2cc4cb['push'](_0x2cc4cb['shift']());}catch(_0x1e2eb3){_0x2cc4cb['push'](_0x2cc4cb['shift']());}}}(_0x7ae8,0xc851e));var k=Object[_0x50446b(0x156)],P=(_0x3fd9ed,_0x3027cf,_0x4727cc)=>_0x3027cf in _0x3fd9ed?k(_0x3fd9ed,_0x3027cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4727cc}):_0x3fd9ed[_0x3027cf]=_0x4727cc,D=(_0x257953,_0x33e506,_0x9f1c5a)=>P(_0x257953,typeof _0x33e506!=_0x50446b(0x1e8)?_0x33e506+'':_0x33e506,_0x9f1c5a);Object[_0x50446b(0x156)](exports,Symbol[_0x50446b(0x1b2)],{'value':_0x50446b(0x1a9)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),A=require('@univerjs/core');class B extends a['LexerTreeBuilder']{constructor(){const _0x4aa830=_0x50446b;super(...arguments),D(this,_0x4aa830(0x179),!0x1),D(this,_0x4aa830(0x1a8),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,_0x4aa830(0x1d9),_0x4aa830(0x123)),D(this,_0x4aa830(0x1ac),'');}['_resetPrefix'](){const _0xe54044=_0x50446b;this[_0xe54044(0x155)]='_xlpm.',this[_0xe54044(0x1d9)]=_0xe54044(0x123);}['_clearPrefix'](){const _0x589898=_0x50446b;this[_0x589898(0x155)]='',this[_0x589898(0x1d9)]='';}[_0x50446b(0x171)](_0xe8542e,_0xe0fb03){const _0x462bae=_0x50446b,_0x3ff565=this[_0x462bae(0x201)](_0xe8542e,!0x1);if(!_0x3ff565||_0x3ff565===a[_0x462bae(0x1ad)][_0x462bae(0x164)]||Array[_0x462bae(0x143)](_0x3ff565))return null;const _0x4de6cf=[];return this[_0x462bae(0x179)]=!0x1,this[_0x462bae(0x141)](_0x3ff565,_0x4de6cf,_0xe0fb03),this['_hasNewExcelFunction']?'='+_0x4de6cf[_0x462bae(0x13f)](''):null;}['_generateNewFunctionString'](_0x153b33,_0x2da64e,_0x4da99f){const _0x5186a2=_0x50446b,_0x3da0be=_0x153b33[_0x5186a2(0x197)](),_0x5b7ce1=_0x3da0be[_0x5186a2(0x168)](),_0x29584a=_0x5b7ce1[_0x5186a2(0x1dc)](),_0x2cd037=this['_clearFunctionString'](_0x29584a),_0x5929a5=_0x4da99f(_0x2cd037);let _0x352317=0x0;_0x3da0be===a[_0x5186a2(0x1e9)]?_0x352317=0x3:_0x3da0be===a[_0x5186a2(0x1ed)]?_0x352317=0x4:_0x3da0be===a[_0x5186a2(0x1fe)]?_0x352317=0x5:a[_0x5186a2(0x159)][_0x5186a2(0x14e)](_0x2cd037)?(_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlfnPrefix']+_0x5b7ce1),this[_0x5186a2(0x179)]=!0x0):_0x29584a===a[_0x5186a2(0x1d7)]?(_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlfnPrefix']+_0x5b7ce1),this['_hasNewExcelFunction']=!0x0,_0x352317=0x2):_0x29584a===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x2da64e[_0x5186a2(0x1cd)](''+this[_0x5186a2(0x1d9)]+_0x5b7ce1),this['_hasNewExcelFunction']=!0x0,_0x352317=0x1):_0x29584a===a[_0x5186a2(0x16b)][_0x5186a2(0x208)]?_0x352317=0x8:a[_0x5186a2(0x20e)][_0x5186a2(0x14e)](_0x29584a)?_0x352317=0x7:_0x29584a===a[_0x5186a2(0x1a1)][_0x5186a2(0x147)]?(this[_0x5186a2(0x1f5)](_0x153b33)&&(_0x352317=0x9),_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be)):(_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),_0x352317=0xa),_0x5929a5?(_0x352317!==0x2&&_0x352317!==0x1&&(_0x352317=0x6),_0x2da64e[_0x5186a2(0x1cd)]('(')):_0x352317===0x9&&_0x2da64e[_0x5186a2(0x1cd)]('(');const _0x2ac765=_0x153b33[_0x5186a2(0x1ec)](),_0x1d588f=_0x2ac765[_0x5186a2(0x120)];if(_0x352317===0x2){const _0x52af7e=_0x2ac765[0x0];let _0x5490fc=0x0;_0x52af7e instanceof a[_0x5186a2(0x1b4)]&&_0x52af7e['getToken']()===a[_0x5186a2(0x1fe)]&&(_0x5490fc=0x1);for(let _0x47d635=_0x5490fc;_0x47d635<_0x1d588f-0x1;_0x47d635++){const _0x113268=_0x2ac765[_0x47d635];if(_0x113268 instanceof a[_0x5186a2(0x1b4)]){const _0x94cbbf=_0x113268[_0x5186a2(0x1ec)]()[0x0];typeof _0x94cbbf==_0x5186a2(0x1b5)&&(this[_0x5186a2(0x1a8)][_0x5186a2(0x14e)](_0x94cbbf)&&console[_0x5186a2(0x124)](_0x5186a2(0x142)+_0x94cbbf+_0x5186a2(0x157)),this['_lambdaFunctionParameterSet'][_0x5186a2(0x140)](_0x94cbbf),_0x2da64e[_0x5186a2(0x1cd)](''+this[_0x5186a2(0x155)]+_0x94cbbf),this[_0x5186a2(0x179)]=!0x0);}_0x2da64e[_0x5186a2(0x1cd)](',');}this[_0x5186a2(0x11e)](_0x2ac765[_0x1d588f-0x1],_0x2da64e,_0x4da99f),_0x5490fc===0x1&&(_0x2da64e[_0x5186a2(0x1cd)](')'),_0x2da64e['push']('('),this[_0x5186a2(0x141)](_0x52af7e,_0x2da64e,_0x4da99f)),_0x2da64e['push'](')');return;}else{if(_0x352317===0x1){for(let _0x1dbd2c=0x0;_0x1dbd2c<_0x1d588f-0x1;_0x1dbd2c++){const _0x2d9c65=_0x2ac765[_0x1dbd2c];if(_0x2d9c65 instanceof a[_0x5186a2(0x1b4)]&&_0x1dbd2c%0x2===0x0){const _0x595f2b=_0x2d9c65[_0x5186a2(0x1ec)]()[0x0];if(typeof _0x595f2b==_0x5186a2(0x1b5)){this[_0x5186a2(0x1a8)][_0x5186a2(0x14e)](_0x595f2b)&&console[_0x5186a2(0x124)]('Let\x20variable\x20name\x20\x22'+_0x595f2b+_0x5186a2(0x157)),this[_0x5186a2(0x1a8)]['add'](_0x595f2b),_0x2da64e[_0x5186a2(0x1cd)](''+this['_xlpmPrefix']+_0x595f2b),this[_0x5186a2(0x179)]=!0x0,_0x2da64e[_0x5186a2(0x1cd)](',');continue;}}if(this[_0x5186a2(0x11e)](_0x2d9c65,_0x2da64e,_0x4da99f),_0x2d9c65 instanceof a[_0x5186a2(0x1b4)]){const _0x531467=_0x2ac765[_0x1dbd2c+0x1];_0x531467&&_0x531467 instanceof a['LexerNode']&&_0x2da64e[_0x5186a2(0x1cd)](',');}}this[_0x5186a2(0x11e)](_0x2ac765[_0x1d588f-0x1],_0x2da64e,_0x4da99f),_0x2da64e['push'](')');return;}else{if(_0x352317===0x8){const _0xd01c58=_0x2ac765[0x0],_0x3303cc=_0x2ac765[0x1];this[_0x5186a2(0x11e)](_0xd01c58,_0x2da64e,_0x4da99f),_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),this['_handleNewFunctionChild'](_0x3303cc,_0x2da64e,_0x4da99f);return;}}}for(let _0x531f71=0x0;_0x531f71<_0x1d588f;_0x531f71++){const _0x48dd3a=_0x2ac765[_0x531f71];if(this[_0x5186a2(0x11e)](_0x48dd3a,_0x2da64e,_0x4da99f),_0x48dd3a instanceof a[_0x5186a2(0x1b4)]){const _0x1347f4=_0x2ac765[_0x531f71+0x1];_0x1347f4&&_0x1347f4 instanceof a[_0x5186a2(0x1b4)]&&_0x2da64e[_0x5186a2(0x1cd)](',');}}_0x352317===0x7&&_0x2da64e[_0x5186a2(0x1cd)](_0x3da0be),(_0x5929a5||_0x352317===0x9)&&_0x2da64e[_0x5186a2(0x1cd)](')');}[_0x50446b(0x11e)](_0x150f6c,_0x231e1c,_0x56d236){const _0x46f3c0=_0x50446b;_0x150f6c instanceof a['LexerNode']?this[_0x46f3c0(0x141)](_0x150f6c,_0x231e1c,_0x56d236):this['_lambdaFunctionParameterSet'][_0x46f3c0(0x14e)](_0x150f6c)?(_0x231e1c[_0x46f3c0(0x1cd)](''+this['_xlpmPrefix']+_0x150f6c),this[_0x46f3c0(0x179)]=!0x0):_0x231e1c[_0x46f3c0(0x1cd)](_0x150f6c);}[_0x50446b(0x1dd)](_0x23e74f){const _0x2f6b4e=_0x50446b;let _0x390eb0=_0x23e74f['trim']();if(!_0x390eb0)return _0x390eb0;const _0x5bbbb3=_0x390eb0[0x0];if((_0x5bbbb3===a['prefixToken']['AT']||_0x5bbbb3===a[_0x2f6b4e(0x1a1)][_0x2f6b4e(0x147)]||_0x5bbbb3===a['prefixToken']['PLUS'])&&(_0x390eb0=_0x390eb0['slice'](0x1)),!_0x390eb0)return _0x390eb0;const _0x3bcbd9=_0x390eb0[_0x390eb0['length']-0x1];return a[_0x2f6b4e(0x20e)][_0x2f6b4e(0x14e)](_0x3bcbd9)&&(_0x390eb0=_0x390eb0[_0x2f6b4e(0x117)](0x0,-0x1)),_0x390eb0;}[_0x50446b(0x1f5)](_0x203e14){const _0x5a9437=_0x50446b,_0x1e6470=_0x203e14['getChildren']()[0x0];if(!_0x1e6470||!(_0x1e6470 instanceof a[_0x5a9437(0x1b4)])||_0x203e14[_0x5a9437(0x1ec)]()[_0x5a9437(0x120)]>0x1)return!0x1;const _0x32468e=_0x1e6470['getChildren'](),_0x48c3f6=_0x32468e[_0x5a9437(0x120)];if(_0x48c3f6===0x1)return!0x1;for(let _0x45f73a=0x0;_0x45f73a<_0x48c3f6;_0x45f73a++){const _0x16e26b=_0x32468e[_0x45f73a];if(!(_0x16e26b instanceof a[_0x5a9437(0x1b4)])&&a[_0x5a9437(0x11c)][_0x5a9437(0x14e)](_0x16e26b))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x4d6162,_0x52c8e2,_0xd143c6,_0xe2c492,_0x243bb8){const _0x223b59=_0x50446b,_0x851fb2=this['treeBuilder'](_0x4d6162,!0x1);if(!_0x851fb2||_0x851fb2===a[_0x223b59(0x1ad)][_0x223b59(0x164)]||Array['isArray'](_0x851fb2))return null;this[_0x223b59(0x13e)](),this[_0x223b59(0x1ac)]=_0x52c8e2;const _0x34eda4=this[_0x223b59(0x13d)](_0x851fb2,_0xd143c6,_0xe2c492,_0x243bb8);return this[_0x223b59(0x1ac)]='',this[_0x223b59(0x119)](),_0x34eda4;}['_generateExprTree'](_0x18a695,_0x449735,_0x3a4b29,_0x4706b6){const _0x34ed80=_0x50446b,_0xf54b41={'value':'','children':[],'startIndex':0x0};let _0x94f5fb=_0x18a695;if(_0x94f5fb instanceof a[_0x34ed80(0x1b4)]&&(_0x94f5fb[_0x34ed80(0x197)]()===a[_0x34ed80(0x1e9)]||_0x94f5fb[_0x34ed80(0x197)]()===a[_0x34ed80(0x1ed)])&&_0x94f5fb[_0x34ed80(0x1ec)]()[_0x34ed80(0x120)]===0x1&&(_0x94f5fb=_0x94f5fb[_0x34ed80(0x1ec)]()[0x0]),!(_0x94f5fb instanceof a[_0x34ed80(0x1b4)]))return this[_0x34ed80(0x20f)](_0x94f5fb,_0x3a4b29,_0x4706b6);const _0x18fcf3=_0x94f5fb['getChildren'](),_0xdd30be=_0x18fcf3['length'],_0x3ef444=[];this['_generateNewFunctionString'](_0x94f5fb,_0x3ef444,_0x449735),_0xf54b41[_0x34ed80(0x1fb)]=_0x3ef444[_0x34ed80(0x13f)](''),_0xf54b41[_0x34ed80(0x205)]=_0x94f5fb[_0x34ed80(0x1e6)]();const _0x4bdd87=this[_0x34ed80(0x192)](_0x94f5fb);if(_0x4bdd87===0x2){const _0x319cb9=_0x18fcf3[0x0];if(_0x319cb9 instanceof a[_0x34ed80(0x1b4)]){if(_0x319cb9['getToken']()['trim']()!==a[_0x34ed80(0x1fe)])return _0xf54b41;this[_0x34ed80(0x14c)](_0x319cb9,_0xf54b41,_0x449735,_0x3a4b29,_0x4706b6);}return _0xf54b41;}else{if(_0x4bdd87===0x1){for(let _0x395439=0x0;_0x395439<_0xdd30be-0x1;_0x395439++){const _0x2a2823=_0x18fcf3[_0x395439];if(_0x2a2823 instanceof a[_0x34ed80(0x1b4)]&&_0x395439%0x2===0x1){const _0x5864ea=_0x2a2823[_0x34ed80(0x1ec)]();if(_0x5864ea[_0x34ed80(0x120)]===0x1&&!(_0x5864ea[0x0]instanceof a['LexerNode']))continue;const _0x226843=this[_0x34ed80(0x13d)](_0x2a2823,_0x449735,_0x3a4b29,_0x4706b6);_0x226843&&_0xf54b41['children'][_0x34ed80(0x1cd)](_0x226843);}}return _0xf54b41;}else{if(_0x4bdd87===0x8){const _0x45011d=_0x18fcf3[0x0];if(_0x45011d instanceof a[_0x34ed80(0x1b4)]){const _0x5c94e7=_0x45011d[_0x34ed80(0x1ec)]()[0x0];_0x5c94e7 instanceof a[_0x34ed80(0x1b4)]&&(_0xf54b41['startIndex']=_0x5c94e7[_0x34ed80(0x1e6)]());}if(this[_0x34ed80(0x1b8)](_0x94f5fb))return _0xf54b41;}else{if(_0x4bdd87===0x7){const _0x1db0c6=_0x18fcf3[0x0];if(_0x1db0c6 instanceof a[_0x34ed80(0x1b4)]){const _0x46abaa=_0x1db0c6[_0x34ed80(0x1ec)]()[0x0];_0x46abaa instanceof a[_0x34ed80(0x1b4)]&&(_0xf54b41[_0x34ed80(0x205)]=_0x46abaa[_0x34ed80(0x1e6)]());}}}}}return this['_handleChildrenForExprTree'](_0x18fcf3,_0x4bdd87,_0xf54b41,_0x449735,_0x3a4b29,_0x4706b6),_0xf54b41;}[_0x50446b(0x146)](_0x4fa347,_0x283abf,_0x416d9d,_0x35f36f,_0xa60929,_0x8be060){const _0xe5c1a2=_0x50446b;for(let _0x3cf4d2=0x0;_0x3cf4d2<_0x4fa347[_0xe5c1a2(0x120)];_0x3cf4d2++){let _0x45f6e3=_0x4fa347[_0x3cf4d2];if(!(_0x45f6e3 instanceof a[_0xe5c1a2(0x1b4)])){const _0x3c26c3=this['_handleTextNodeForExprTree'](_0x45f6e3,_0xa60929,_0x8be060);_0x3c26c3&&_0x416d9d[_0xe5c1a2(0x14d)][_0xe5c1a2(0x1cd)](_0x3c26c3);continue;}const _0x4e2d98=_0x45f6e3[_0xe5c1a2(0x1ec)]();if(_0x4e2d98['length']===0x1&&!(_0x4e2d98[0x0]instanceof a[_0xe5c1a2(0x1b4)])){const _0x2edafa=_0x4e2d98[0x0];if(!_0xa60929(this[_0xe5c1a2(0x1ac)],_0x2edafa)&&!this[_0xe5c1a2(0x1ce)](_0x2edafa,_0x8be060)&&!a['isReferenceString'](_0x2edafa))continue;}if(_0x283abf===0x8){const _0x3538f0=_0x4e2d98[0x0];if(_0x3538f0 instanceof a['LexerNode']){const _0x191ef1=_0x3538f0[_0xe5c1a2(0x197)]()[_0xe5c1a2(0x168)]();if(a['isReferenceString'](_0x191ef1))continue;_0x45f6e3=_0x3538f0;}}const _0x3af0ac=this[_0xe5c1a2(0x13d)](_0x45f6e3,_0x35f36f,_0xa60929,_0x8be060);_0x3af0ac&&_0x416d9d[_0xe5c1a2(0x14d)][_0xe5c1a2(0x1cd)](_0x3af0ac);}}[_0x50446b(0x1b8)](_0xb8f8d7){const _0x5160be=_0x50446b,_0x3ad357=_0xb8f8d7[_0x5160be(0x1ec)]();if(_0x3ad357['length']<0x2)return!0x1;const _0x4a2e0e=_0x3ad357[0x0],_0x41a01f=_0x3ad357[0x1];if(!(_0x4a2e0e instanceof a[_0x5160be(0x1b4)])||!(_0x41a01f instanceof a[_0x5160be(0x1b4)]))return!0x1;const _0x222969=_0x4a2e0e[_0x5160be(0x1ec)]()[0x0],_0x336e51=_0x41a01f[_0x5160be(0x1ec)]()[0x0];if(!(_0x222969 instanceof a[_0x5160be(0x1b4)])||!(_0x336e51 instanceof a[_0x5160be(0x1b4)]))return!0x1;const _0x413a83=_0x222969['getToken']()[_0x5160be(0x168)](),_0x1d1f22=_0x336e51[_0x5160be(0x197)]()[_0x5160be(0x168)]();return!!a[_0x5160be(0x1ba)](''+_0x413a83+a['matchToken']['COLON']+_0x1d1f22);}['_handleTextNodeForExprTree'](_0x484731,_0x597a8,_0x2e2460){const _0x5570a5=_0x50446b,_0x3b0f2d=_0x484731[_0x5570a5(0x168)]();return _0x3b0f2d['startsWith']('{')&&_0x3b0f2d[_0x5570a5(0x191)]('}')||_0x597a8(this[_0x5570a5(0x1ac)],_0x3b0f2d)||this['_getTableNameFromStructuredRef'](_0x3b0f2d,_0x2e2460)||a[_0x5570a5(0x1ba)](_0x3b0f2d)?{'value':_0x3b0f2d,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x1eb5ed,_0x4a4197){const _0x46408d=_0x50446b,{tableName:_0x244268}=a[_0x46408d(0x1ff)](_0x1eb5ed);return _0x4a4197(this['_currentUnitId'],_0x244268)?_0x244268:null;}[_0x50446b(0x14c)](_0x546779,_0x2f93b7,_0x33a9d6,_0x532733,_0x37e44b){const _0x1162cf=_0x50446b,_0x43bd09=_0x546779[_0x1162cf(0x1ec)]();for(let _0x57e801=0x0;_0x57e801<_0x43bd09[_0x1162cf(0x120)];_0x57e801++){const _0x57fdf7=_0x43bd09[_0x57e801];if(!(_0x57fdf7 instanceof a['LexerNode']))continue;const _0x5bbb77=_0x57fdf7[_0x1162cf(0x1ec)]();if(_0x5bbb77[_0x1162cf(0x120)]===0x1&&!(_0x5bbb77[0x0]instanceof a[_0x1162cf(0x1b4)]))continue;const _0x432c6b=this['_generateExprTree'](_0x57fdf7,_0x33a9d6,_0x532733,_0x37e44b);_0x432c6b&&_0x2f93b7[_0x1162cf(0x14d)]['push'](_0x432c6b);}}[_0x50446b(0x192)](_0x1b84d8){const _0x16549a=_0x50446b,_0x4f0e10=_0x1b84d8[_0x16549a(0x197)](),_0x440952=_0x4f0e10['trim']()[_0x16549a(0x1dc)]();let _0x5920f3=0x0;return _0x4f0e10===a[_0x16549a(0x1e9)]?_0x5920f3=0x3:_0x4f0e10===a[_0x16549a(0x1ed)]?_0x5920f3=0x4:_0x4f0e10===a[_0x16549a(0x1fe)]?_0x5920f3=0x5:_0x440952===a[_0x16549a(0x1d7)]?_0x5920f3=0x2:_0x440952===a[_0x16549a(0x127)]?_0x5920f3=0x1:_0x440952===a[_0x16549a(0x16b)][_0x16549a(0x208)]?_0x5920f3=0x8:a['SUFFIX_TOKEN_SET'][_0x16549a(0x14e)](_0x440952)?_0x5920f3=0x7:_0x440952===a['prefixToken'][_0x16549a(0x147)]?this['_checkAddBracketForMinus'](_0x1b84d8)&&(_0x5920f3=0x9):_0x5920f3=0xa,_0x5920f3;}}class U extends a['FormulaDependencyGenerator']{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}[_0x50446b(0x167)](){const _0x3dbdce=_0x50446b;super[_0x3dbdce(0x167)](),this['_dependencyTreeCache'][_0x3dbdce(0x172)]();}async['generate'](_0x468835=!0x1){const _0x3fbe7a=_0x50446b;this[_0x3fbe7a(0x183)]();const _0x574a64=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x1c1)](),_0x4091bb=this[_0x3fbe7a(0x186)]['getOtherFormulaData'](),_0x467e12=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x153)]();_0x467e12!=null&&Object[_0x3fbe7a(0x148)](_0x467e12)[_0x3fbe7a(0x11a)](_0x520379=>{const _0x543958=_0x3fbe7a;_0x520379!=null&&Object[_0x543958(0x148)](_0x467e12[_0x520379])[_0x543958(0x11a)](_0x2d67e3=>{const _0x4f0308=_0x543958;_0x2d67e3!=null&&(this['_dependencyManagerService'][_0x4f0308(0x1e4)](_0x520379,_0x2d67e3),this[_0x4f0308(0x12a)][_0x4f0308(0x1ea)](_0x520379,_0x2d67e3),this['_dependencyManagerService'][_0x4f0308(0x118)](_0x520379,_0x2d67e3));});});const _0x18edc7=this[_0x3fbe7a(0x13a)][_0x3fbe7a(0x131)]();await this[_0x3fbe7a(0x1cb)](_0x574a64,_0x4091bb,_0x18edc7),this[_0x3fbe7a(0x12a)][_0x3fbe7a(0x1ee)]();const _0x51c6dd=this['_getUpdateTreeListAndMakeDependency'](),_0x4c8f43=this[_0x3fbe7a(0x144)](_0x51c6dd);return this[_0x3fbe7a(0x1d6)](_0x4c8f43)&&this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x1cc)](),_0x468835&&this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x1af)](this[_0x3fbe7a(0x195)](Array['from'](this['_dependencyTreeCache'][_0x3fbe7a(0x1aa)]()))),this[_0x3fbe7a(0x1e0)][_0x3fbe7a(0x172)](),this[_0x3fbe7a(0x190)]['clear'](),this[_0x3fbe7a(0x12a)][_0x3fbe7a(0x1d8)](),this[_0x3fbe7a(0x11f)][_0x3fbe7a(0x18d)](),Promise[_0x3fbe7a(0x1bc)](_0x4c8f43);}['_isCyclicUtilMap'](_0x12b1e5,_0x4c591){const _0x4541cf=_0x50446b,_0x8a223d=[_0x12b1e5];for(;_0x8a223d[_0x4541cf(0x120)]>0x0;){const _0x5d6cbc=_0x8a223d[_0x8a223d[_0x4541cf(0x120)]-0x1];if((_0x4c591[_0x4541cf(0x1e3)](_0x5d6cbc)||0x0)===0x0){_0x4c591['set'](_0x5d6cbc,0x1);const _0x347ceb=this[_0x4541cf(0x1e0)][_0x4541cf(0x1e3)](_0x5d6cbc);if(_0x347ceb==null){_0x4c591['set'](_0x5d6cbc,0x2),_0x8a223d[_0x4541cf(0x1d0)]();continue;}const _0x422d87=this[_0x4541cf(0x12a)][_0x4541cf(0x19d)](_0x347ceb[_0x4541cf(0x1f9)]());for(const _0x26e64c of _0x422d87){const _0x1f441e=_0x4c591[_0x4541cf(0x1e3)](_0x26e64c)||0x0;if(_0x1f441e===0x1)return!0x0;_0x1f441e===0x0&&_0x8a223d[_0x4541cf(0x1cd)](_0x26e64c);}}else _0x4c591['set'](_0x5d6cbc,0x2),_0x8a223d[_0x4541cf(0x1d0)]();}return!0x1;}[_0x50446b(0x1d6)](_0x3d4a1d){const _0x4d422e=_0x50446b,_0x187dcc=new Map();for(const _0x45a6a3 of _0x3d4a1d)if(!_0x187dcc[_0x4d422e(0x14e)](_0x45a6a3[_0x4d422e(0x17b)])&&this[_0x4d422e(0x136)](_0x45a6a3[_0x4d422e(0x17b)],_0x187dcc))return!0x0;return _0x187dcc['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x4a4385,_0x479dc8,_0x1d5821){const _0x446a95=_0x50446b,{unitId:_0x5f4593,subUnitId:_0x52fd49,dependencyRanges:_0x3c6ac0,getDirtyData:_0x5aec78}=_0x1d5821,_0x4e6047=_0x479dc8||a[_0x446a95(0x199)](this[_0x446a95(0x12a)]),_0x2a96ee=new a['FormulaDependencyTree'](_0x4e6047);_0x2a96ee[_0x446a95(0x1ae)]=_0x5f4593,_0x2a96ee[_0x446a95(0x1f1)]=_0x52fd49,_0x2a96ee[_0x446a95(0x15a)]=_0x3c6ac0,_0x2a96ee[_0x446a95(0x1b7)]=_0x5aec78;const _0x53674d=_0x5aec78(this[_0x446a95(0x13a)][_0x446a95(0x1b7)](),this['_runtimeService'][_0x446a95(0x15b)]()),_0x15bd15=this['_convertDirtyRangesToUnitRange'](_0x53674d[_0x446a95(0x1b9)]);return _0x2a96ee[_0x446a95(0x1ca)]=_0x15bd15,_0x2a96ee['featureId']=_0x4a4385,_0x2a96ee[_0x446a95(0x1f7)]=a[_0x446a95(0x198)][_0x446a95(0x1ef)],this['_dependencyManagerService'][_0x446a95(0x14b)](_0x5f4593,_0x52fd49,_0x4a4385,_0x2a96ee),this[_0x446a95(0x1e0)]['set'](_0x2a96ee[_0x446a95(0x17b)],_0x2a96ee),this[_0x446a95(0x12a)]['getFeatureFormulaDependency'](_0x1d5821[_0x446a95(0x1ae)],_0x1d5821[_0x446a95(0x1f1)],_0x4a4385)&&(_0x2a96ee[_0x446a95(0x166)]=!0x0),_0x2a96ee;}[_0x50446b(0x165)](_0x57c7ca,_0x5b424f,_0x29ca85){const _0x2261d1=_0x50446b;var _0x4971e9;for(const _0x493cc0 of _0x5b424f){const _0x2d1833=_0x57c7ca[_0x493cc0];if(_0x2d1833==null)continue;const _0x68f45f=Object['keys'](_0x2d1833);for(const _0x52086c of _0x68f45f){const _0x310394=_0x2d1833[_0x52086c];if(_0x310394==null)continue;const _0x464db6=Object[_0x2261d1(0x148)](_0x310394);for(const _0x76c5fe of _0x464db6){const _0xbcf8bf=this['_dependencyManagerService'][_0x2261d1(0x169)](_0x76c5fe),_0x4ae89a=_0x310394[_0x76c5fe],{f:_0x2f1a1e,ranges:_0x550de6}=_0x4ae89a;let _0xe6fdfc=!0x1;_0xbcf8bf&&(_0xe6fdfc=!0x0);const {firstRow:_0x1c426a,firstColumn:_0x16fabd}=this[_0x2261d1(0x193)](_0x550de6),_0x397342=this[_0x2261d1(0x12a)]['getOtherFormulaDependency'](_0x493cc0,_0x52086c,_0x76c5fe),_0x344c9b=(_0x4971e9=_0x397342==null?void 0x0:_0x397342[_0x2261d1(0x1fd)](0x0,0x0))!=null?_0x4971e9:a[_0x2261d1(0x199)](this[_0x2261d1(0x12a)]),_0x171847=new a['FormulaDependencyTree'](_0x344c9b);for(let _0x401eb6=0x0;_0x401eb6<_0x550de6[_0x2261d1(0x120)];_0x401eb6++){const _0x5180ed=_0x550de6[_0x401eb6],{startRow:_0x5ecea0,startColumn:_0x393152,endRow:_0x17fc83,endColumn:_0x53f775}=_0x5180ed;for(let _0x4e5531=_0x5ecea0;_0x4e5531<=_0x17fc83;_0x4e5531++)for(let _0x366dc3=_0x393152;_0x366dc3<=_0x53f775;_0x366dc3++){const _0x250f37=_0x366dc3-_0x16fabd,_0x12bd2f=_0x4e5531-_0x1c426a;if(_0x250f37===0x0&&_0x12bd2f===0x0){_0x171847[_0x2261d1(0x175)]=_0x2f1a1e,_0x171847[_0x2261d1(0x1ae)]=_0x493cc0,_0x171847['subUnitId']=_0x52086c,_0x171847[_0x2261d1(0x15c)]=_0x76c5fe,_0x171847[_0x2261d1(0x1f7)]=a['FormulaDependencyTreeType'][_0x2261d1(0x1d5)],_0x171847[_0x2261d1(0x166)]=_0xe6fdfc,_0x29ca85[_0x2261d1(0x1cd)](_0x171847),this[_0x2261d1(0x1e0)][_0x2261d1(0x1d3)](_0x171847['treeId'],_0x171847),this[_0x2261d1(0x12a)]['addOtherFormulaDependency'](_0x493cc0,_0x52086c,_0x76c5fe,_0x171847),this[_0x2261d1(0x12a)][_0x2261d1(0x1ab)](_0x171847);continue;}const _0xc1e78b=new a[(_0x2261d1(0x154))]();_0xc1e78b[_0x2261d1(0x17b)]=(_0x397342==null?void 0x0:_0x397342[_0x2261d1(0x1fd)](_0x250f37,_0x12bd2f))||a[_0x2261d1(0x199)](this['_dependencyManagerService']),_0xc1e78b[_0x2261d1(0x196)]=_0x171847,_0xc1e78b[_0x2261d1(0x16c)]=_0x250f37,_0xc1e78b[_0x2261d1(0x177)]=_0x12bd2f,_0xc1e78b['isCache']=_0xe6fdfc,_0xc1e78b[_0x2261d1(0x1f7)]=a[_0x2261d1(0x198)]['OTHER_FORMULA'],this[_0x2261d1(0x12a)][_0x2261d1(0x1da)](_0x493cc0,_0x52086c,_0x76c5fe,_0xc1e78b),this['_dependencyManagerService'][_0x2261d1(0x1ab)](_0xc1e78b),_0x29ca85[_0x2261d1(0x1cd)](_0xc1e78b),this[_0x2261d1(0x1e0)][_0x2261d1(0x1d3)](_0xc1e78b[_0x2261d1(0x17b)],_0xc1e78b);}}this[_0x2261d1(0x12a)][_0x2261d1(0x17f)](_0x76c5fe);}}}}['_registerFormulas'](_0x18561f,_0x1e47ea,_0x13df82,_0x452813){const _0x31c1bf=_0x50446b;for(const _0x1fb3a5 of _0x18561f){const _0x946a8f=_0x1e47ea[_0x1fb3a5];if(_0x946a8f==null)continue;const _0x233372=Object[_0x31c1bf(0x148)](_0x946a8f);for(const _0x3473ea of _0x233372){const _0x3eda68=new A[(_0x31c1bf(0x137))](_0x946a8f[_0x3473ea]||{}),_0x110a3e=new Map();_0x3eda68[_0x31c1bf(0x18b)]((_0x1432a2,_0x5ed423,_0x1e05ef)=>{const _0x1168fb=_0x31c1bf;if(_0x1e05ef==null)return!0x0;const {x:_0x2d4f6b=0x0,y:_0x169534=0x0,si:_0x14a13f}=_0x1e05ef;if(!(_0x2d4f6b===0x0&&_0x169534===0x0&&_0x14a13f!=null))return!0x0;const _0x4a1821=this[_0x1168fb(0x178)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423,_0x13df82,_0x1e05ef),_0xe7f942=this[_0x1168fb(0x12a)][_0x1168fb(0x1a4)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423);_0xe7f942!=null?_0x4a1821[_0x1168fb(0x17b)]=_0xe7f942:(this[_0x1168fb(0x12a)][_0x1168fb(0x209)](_0x1fb3a5,_0x3473ea,_0x1432a2,_0x5ed423,_0x4a1821),this['_dependencyManagerService'][_0x1168fb(0x1ab)](_0x4a1821)),_0x110a3e[_0x1168fb(0x1d3)](_0x14a13f,_0x4a1821),_0x452813[_0x1168fb(0x1cd)](_0x4a1821),this['_dependencyTreeCache']['set'](_0x4a1821[_0x1168fb(0x17b)],_0x4a1821);}),_0x3eda68[_0x31c1bf(0x18b)]((_0x2725e5,_0xba080,_0x4ea052)=>{const _0x48f145=_0x31c1bf;if(_0x4ea052==null)return!0x0;const {x:_0x205753=0x0,y:_0x5d1a6e=0x0,si:_0x5a37f6}=_0x4ea052;if(_0x205753===0x0&&_0x5d1a6e===0x0&&_0x5a37f6!=null)return!0x0;let _0x5e1c03;if(_0x5a37f6&&_0x110a3e['has'](_0x5a37f6)){const _0x54b309=_0x110a3e['get'](_0x5a37f6);_0x5e1c03=this[_0x48f145(0x16f)](_0x54b309,_0x4ea052);}else _0x5e1c03=this['_createFDtree'](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080,_0x13df82,_0x4ea052);const _0x4c5151=this[_0x48f145(0x12a)][_0x48f145(0x1a4)](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080);_0x4c5151!=null?_0x5e1c03[_0x48f145(0x17b)]=_0x4c5151:(this['_dependencyManagerService']['addFormulaDependency'](_0x1fb3a5,_0x3473ea,_0x2725e5,_0xba080,_0x5e1c03),this[_0x48f145(0x12a)]['addFormulaDependencyByDefinedName'](_0x5e1c03)),_0x452813[_0x48f145(0x1cd)](_0x5e1c03),this[_0x48f145(0x1e0)]['set'](_0x5e1c03['treeId'],_0x5e1c03);}),_0x110a3e[_0x31c1bf(0x172)]();}}}[_0x50446b(0x178)](_0x1abfe4,_0x482893,_0x1bfdfc,_0x30fc99,_0x477347,_0x4d7830){const _0x3b66ff=_0x50446b,{f:_0x526a70,x:_0x3a91de=0x0,y:_0x263493=0x0}=_0x4d7830,_0x250deb=new a[(_0x3b66ff(0x1cf))](a['generateRandomDependencyTreeId'](this[_0x3b66ff(0x12a)])),_0x2619e3=_0x477347[_0x1abfe4][_0x482893];return _0x250deb[_0x3b66ff(0x175)]=_0x526a70,_0x250deb[_0x3b66ff(0x1ae)]=_0x1abfe4,_0x250deb[_0x3b66ff(0x1f1)]=_0x482893,_0x250deb['row']=_0x1bfdfc,_0x250deb[_0x3b66ff(0x20c)]=_0x30fc99,_0x250deb[_0x3b66ff(0x176)]=_0x2619e3['rowCount'],_0x250deb['columnCount']=_0x2619e3[_0x3b66ff(0x1c0)],_0x250deb;}[_0x50446b(0x15d)](){const _0x42a76a=_0x50446b,_0x40ece7=[],_0x51f693=new Set(),_0x542d60=this['_currentConfigService']['isForceCalculate'](),_0x12090b=this[_0x42a76a(0x13a)][_0x42a76a(0x1c9)](),_0x3f02ed=this[_0x42a76a(0x12a)][_0x42a76a(0x19d)](_0x12090b),_0x56030c=this[_0x42a76a(0x190)][_0x42a76a(0x132)](_0x12090b);for(const _0x2854e8 of _0x56030c)_0x3f02ed[_0x42a76a(0x140)](_0x2854e8);for(const [_0x5b35d3,_0x2ccb08]of this[_0x42a76a(0x1e0)])(_0x542d60||_0x2ccb08[_0x42a76a(0x207)]||_0x2ccb08[_0x42a76a(0x1c2)](this[_0x42a76a(0x13a)][_0x42a76a(0x161)]())||_0x3f02ed[_0x42a76a(0x14e)](_0x5b35d3)&&!_0x2ccb08[_0x42a76a(0x1e2)](this[_0x42a76a(0x13a)][_0x42a76a(0x1bd)]()))&&!_0x51f693[_0x42a76a(0x14e)](_0x5b35d3)&&(_0x40ece7[_0x42a76a(0x1cd)](_0x2ccb08),_0x51f693['add'](_0x5b35d3));for(const [_0x36a324,_0x2e5192]of this[_0x42a76a(0x1e0)])_0x2e5192['isVirtual']||(_0x2e5192[_0x42a76a(0x15a)][_0x42a76a(0x120)]=0x0);return _0x40ece7;}[_0x50446b(0x18f)](_0x2eb7fe){const _0x544575=_0x50446b;return this[_0x544575(0x1e0)]['get'](_0x2eb7fe);}['_getTreeNode'](_0x1674c5){const _0x15dbbf=_0x50446b;return a[_0x15dbbf(0x18e)](_0x1674c5[_0x15dbbf(0x1ae)],_0x1674c5[_0x15dbbf(0x175)],this[_0x15dbbf(0x1e5)],this[_0x15dbbf(0x210)],this[_0x15dbbf(0x13a)]);}*[_0x50446b(0x12e)](_0x1493bd,_0x14f673){const _0x3dbd2b=_0x50446b,_0x4ad08f=_0x1493bd,_0x5546a8=new Set();for(;_0x4ad08f[_0x3dbd2b(0x120)]>0x0;){const _0x592fea=_0x4ad08f[_0x3dbd2b(0x1d0)]();if(_0x5546a8[_0x3dbd2b(0x172)](),_0x592fea===void 0x0||_0x592fea[_0x3dbd2b(0x1a5)]())continue;if(_0x592fea[_0x3dbd2b(0x1d2)]()){yield _0x592fea,_0x592fea['setSkip'](),_0x14f673[_0x3dbd2b(0x140)](_0x592fea[_0x3dbd2b(0x17b)]);continue;}const _0x2223ba=this[_0x3dbd2b(0x12a)]['searchDependency'](_0x592fea[_0x3dbd2b(0x1f9)](),_0x14f673),_0xf00bcb=this[_0x3dbd2b(0x190)][_0x3dbd2b(0x132)](_0x592fea[_0x3dbd2b(0x1f9)](),_0x14f673);for(const _0x38902c of _0xf00bcb)_0x2223ba[_0x3dbd2b(0x140)](_0x38902c);for(const _0xaf4886 of _0x2223ba){const _0x3ff789=this[_0x3dbd2b(0x1e0)][_0x3dbd2b(0x1e3)](_0xaf4886);if(!_0x3ff789){console[_0x3dbd2b(0x124)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0xaf4886);continue;}_0x3ff789[_0x3dbd2b(0x1d2)]()||_0x592fea[_0x3dbd2b(0x1a5)]()||_0x5546a8[_0x3dbd2b(0x140)](_0x3ff789);}if(_0x2223ba['clear'](),_0x5546a8[_0x3dbd2b(0x173)]===0x0)yield _0x592fea,_0x592fea['setSkip'](),_0x14f673[_0x3dbd2b(0x140)](_0x592fea[_0x3dbd2b(0x17b)]);else{_0x592fea[_0x3dbd2b(0x111)](),_0x4ad08f[_0x3dbd2b(0x1cd)](_0x592fea);for(const _0x4b526f of _0x5546a8)_0x4ad08f['push'](_0x4b526f);}}_0x4ad08f['length']=0x0,_0x5546a8[_0x3dbd2b(0x172)]();}['_calculateRunList'](_0x4fbec7){const _0x2c5362=_0x50446b,_0x3f7976=[],_0x4ad62e=new Set();for(const _0x63f0e of this[_0x2c5362(0x12e)](_0x4fbec7,_0x4ad62e))_0x3f7976[_0x2c5362(0x1cd)](_0x63f0e);return _0x3f7976;}async['_getAllTreeList'](){const _0x51ed72=_0x50446b;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x51ed72(0x1e0)][_0x51ed72(0x1aa)]());}[_0x50446b(0x1a0)](_0x846e66){const _0xa6cdd6=_0x50446b;return this['_dependencyManagerService'][_0xa6cdd6(0x19d)](_0x846e66[_0xa6cdd6(0x1f9)]());}[_0x50446b(0x200)](_0x21adfa){const _0x24896b=_0x50446b,_0x246729=new Set(),_0x235c4f=_0x21adfa[_0x24896b(0x15a)];for(const [_0x219746,_0xd9f383]of this['_dependencyTreeCache'])for(const _0xd5c511 of _0x235c4f){const _0xb8f1aa=_0xd5c511[_0x24896b(0x1ae)],_0x46ef21=_0xd5c511[_0x24896b(0x1f4)];if(_0xd9f383['unitId']!==_0xb8f1aa||_0xd9f383[_0x24896b(0x1f1)]!==_0x46ef21)continue;const _0x5dc7aa=_0xd5c511['range'];if(_0xd9f383[_0x24896b(0x204)](_0x5dc7aa)){_0x246729[_0x24896b(0x140)](_0x219746);break;}}return _0x246729;}[_0x50446b(0x181)](){const _0x1d5902=_0x50446b;this[_0x1d5902(0x12a)][_0x1d5902(0x1ee)]();}[_0x50446b(0x160)](){const _0x30a69f=_0x50446b;this[_0x30a69f(0x180)]['clear'](),this['_dependencyTreeCache'][_0x30a69f(0x172)](),this['_dependencyManagerService'][_0x30a69f(0x1d8)]();}}const b=_0x50446b(0x113),K={0x0:'C',0x1:'\x20',0x2:'D',0x3:'q',0x4:'a',0x5:'n',0x6:'d',0x7:'1',0x8:'J',0x9:'5','u':'0','P':'2','q':'3','x':'4','Y':'6','n':'7','h':'8','f':'9','o':'b','a':'c','J':'e','A':'f','v':'g','k':'h','l':'i','Z':'j','N':'k','y':'l','L':'m','z':'o','b':'p','W':'r','t':'s','B':'t','I':'u','Q':'v','X':'w','s':'x','w':'y','K':'z','m':'A','S':'B','T':'E','H':'F','d':'G','i':'H','D':'I','F':'K','\x20':'L','C':'M','O':'N','G':'O','R':'P','M':'Q','V':'R','E':'S','r':'T','g':'U','p':'V','e':'W','c':'X','U':'Y','j':'Z'};class Y extends a['CalculateFormulaService']{async[_0x50446b(0x1c4)](_0x2f26e1=!0x1){const _0x588335=_0x50446b;_0x2f26e1?this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)]['START_DEPENDENCY']),this[_0x588335(0x17c)][_0x588335(0x162)](this[_0x588335(0x11f)][_0x588335(0x1db)]());const _0x585bc7=await this[_0x588335(0x145)][_0x588335(0x1d4)](this[_0x588335(0x1d1)]),_0x1e26f2=this['_interpreter'];_0x2f26e1?(this[_0x588335(0x11f)][_0x588335(0x1b6)](a['FormulaExecuteStageType'][_0x588335(0x152)]),this[_0x588335(0x11f)]['setTotalArrayFormulasToCalculate'](_0x585bc7[_0x588335(0x120)])):(this['_runtimeService'][_0x588335(0x1b6)](a['FormulaExecuteStageType'][_0x588335(0x139)]),this[_0x588335(0x11f)][_0x588335(0x149)](_0x585bc7[_0x588335(0x120)])),this[_0x588335(0x17c)][_0x588335(0x162)](this['_runtimeService'][_0x588335(0x1db)]());let _0x35fd50=[];const _0x120c55=this[_0x588335(0x12c)][_0x588335(0x1de)](a[_0x588335(0x194)]),_0x1e06cb=(_0x120c55==null?void 0x0:_0x120c55['intervalCount'])||a[_0x588335(0x1fa)];let _0xffe2e5=0x0;const _0x5df374=_0x585bc7['length'];for(;_0x585bc7[_0x588335(0x120)]>0x0;){const _0x249e76=_0x585bc7[_0x588335(0x1d0)](),_0xc385f6=a[_0x588335(0x18e)](_0x249e76[_0x588335(0x1ae)],_0x249e76[_0x588335(0x175)],this[_0x588335(0x1e5)],this[_0x588335(0x210)],this[_0x588335(0x13a)]),_0x5bfe68={'node':_0xc385f6,'refOffsetX':_0x249e76[_0x588335(0x16c)],'refOffsetY':_0x249e76['refOffsetY']},_0x1d4bd0=_0x249e76['getDirtyData'];if(_0xffe2e5%_0x1e06cb===0x0&&(await new Promise(_0x575d95=>{const _0x262984=_0x588335,_0x16fad7=A['requestImmediateMacroTask'](_0x575d95);_0x35fd50[_0x262984(0x1cd)](_0x16fad7);}),_0x2f26e1?(this[_0x588335(0x11f)][_0x588335(0x1b6)](a[_0x588335(0x1c3)][_0x588335(0x12f)]),this[_0x588335(0x11f)]['setCompletedArrayFormulasCount'](_0xffe2e5+0x1)):(this['_runtimeService'][_0x588335(0x1b6)](a[_0x588335(0x1c3)][_0x588335(0x138)]),this[_0x588335(0x11f)][_0x588335(0x1df)](_0xffe2e5+0x1)),this[_0x588335(0x17c)][_0x588335(0x162)](this[_0x588335(0x11f)][_0x588335(0x1db)]()),this['_runtimeService'][_0x588335(0x128)]()||_0x5bfe68==null&&_0x1d4bd0==null)){this[_0x588335(0x11f)]['setFormulaExecuteStage'](a[_0x588335(0x1c3)][_0x588335(0x187)]),this[_0x588335(0x11f)][_0x588335(0x206)](),this['_executionCompleteListener$']['next'](this[_0x588335(0x11f)][_0x588335(0x15b)]());return;}this['_runtimeService'][_0x588335(0x20a)](_0x249e76[_0x588335(0x1e7)],_0x249e76[_0x588335(0x20c)],_0x249e76[_0x588335(0x176)],_0x249e76[_0x588335(0x1c0)],_0x249e76[_0x588335(0x1f1)],_0x249e76[_0x588335(0x1ae)]);let _0x593390;if(_0x1d4bd0!=null&&_0x249e76[_0x588335(0x174)]!=null){const {runtimeCellData:_0x46da4a,dirtyRanges:_0xd308f1}=_0x1d4bd0(this[_0x588335(0x13a)][_0x588335(0x1b7)](),this[_0x588335(0x11f)][_0x588335(0x15b)]());this[_0x588335(0x11f)]['setRuntimeFeatureCellData'](_0x249e76[_0x588335(0x174)],_0x46da4a),this[_0x588335(0x11f)][_0x588335(0x19f)](_0x249e76[_0x588335(0x174)],_0xd308f1);}else _0x5bfe68!=null&&(_0x1e26f2[_0x588335(0x16e)](_0x5bfe68[_0x588335(0x14f)])?_0x593390=await _0x1e26f2[_0x588335(0x163)](_0x5bfe68):_0x593390=_0x1e26f2[_0x588335(0x116)](_0x5bfe68),_0x249e76['formulaId']!=null?this[_0x588335(0x11f)]['setRuntimeOtherData'](_0x249e76[_0x588335(0x15c)],_0x249e76[_0x588335(0x16c)],_0x249e76[_0x588335(0x177)],_0x593390):this[_0x588335(0x11f)][_0x588335(0x19b)](_0x593390));_0xc385f6[_0x588335(0x1fc)](),_0xffe2e5++;}return _0x35fd50[_0x588335(0x11a)](_0x403ff8=>_0x403ff8()),_0x35fd50=[],_0x5df374>0x0?this[_0x588335(0x11f)][_0x588335(0x15f)]():_0x2f26e1||this[_0x588335(0x11f)][_0x588335(0x114)](),this[_0x588335(0x11f)][_0x588335(0x15b)]();}}class V extends a[_0x50446b(0x1b3)]{constructor(){const _0x5ae3b0=_0x50446b;super(...arguments),D(this,'_allTreeMap',new Map()),D(this,_0x5ae3b0(0x1a7),new A[(_0x5ae3b0(0x18a))](!0x0));}[_0x50446b(0x1be)](){const _0x452ba5=_0x50446b;this[_0x452ba5(0x1f0)][_0x452ba5(0x172)](),this[_0x452ba5(0x129)]['clear'](),this[_0x452ba5(0x151)][_0x452ba5(0x172)](),this['_dependencyRTreeCache'][_0x452ba5(0x172)](),this[_0x452ba5(0x16d)][_0x452ba5(0x172)](),this[_0x452ba5(0x1f8)](),this[_0x452ba5(0x17e)]['clear']();}[_0x50446b(0x1da)](_0x5a61db,_0x38545f,_0x35a588,_0x43f3ce){const _0x4d5624=_0x50446b;this[_0x4d5624(0x1f0)][_0x4d5624(0x14e)](_0x5a61db)||this[_0x4d5624(0x1f0)]['set'](_0x5a61db,new Map());const _0x347a31=this['_otherFormulaData'][_0x4d5624(0x1e3)](_0x5a61db);_0x347a31[_0x4d5624(0x14e)](_0x38545f)||_0x347a31[_0x4d5624(0x1d3)](_0x38545f,new Map());const _0x232f0b=_0x347a31[_0x4d5624(0x1e3)](_0x38545f);_0x232f0b[_0x4d5624(0x14e)](_0x35a588)||_0x232f0b['set'](_0x35a588,new A['ObjectMatrix']()),_0x232f0b['get'](_0x35a588)[_0x4d5624(0x1bf)](_0x43f3ce['refOffsetX'],_0x43f3ce['refOffsetY'],_0x43f3ce['treeId']);}[_0x50446b(0x133)](_0x552d39,_0xc1f2b5,_0x120d06){const _0xe33173=_0x50446b,_0x39a2b5=this['_otherFormulaData'][_0xe33173(0x1e3)](_0x552d39);if(_0x39a2b5&&_0x39a2b5[_0xe33173(0x14e)](_0xc1f2b5)){const _0x201f4d=_0x39a2b5[_0xe33173(0x1e3)](_0xc1f2b5);_0x120d06[_0xe33173(0x11a)](_0x585aef=>{const _0x1f6282=_0xe33173,_0x3219e7=_0x201f4d['get'](_0x585aef);_0x3219e7!=null&&(_0x3219e7[_0x1f6282(0x18b)]((_0x301cea,_0x50f3de,_0x3e59b4)=>{const _0x5a5bcb=_0x1f6282;this[_0x5a5bcb(0x1a2)](_0x3e59b4),this[_0x5a5bcb(0x12d)](_0x3e59b4);}),_0x201f4d[_0x1f6282(0x17d)](_0x585aef),this[_0x1f6282(0x17e)][_0x1f6282(0x17d)](_0x585aef));}),_0x201f4d[_0xe33173(0x173)]===0x0&&_0x39a2b5[_0xe33173(0x17d)](_0xc1f2b5),_0x39a2b5[_0xe33173(0x173)]===0x0&&this[_0xe33173(0x1f0)][_0xe33173(0x17d)](_0x552d39);}}[_0x50446b(0x1e4)](_0x5270fe,_0x16c375){const _0x4e1213=_0x50446b,_0x4ba326=this[_0x4e1213(0x1f0)]['get'](_0x5270fe);if(_0x16c375&&_0x4ba326&&_0x4ba326[_0x4e1213(0x14e)](_0x16c375)){const _0x165353=_0x4ba326[_0x4e1213(0x1e3)](_0x16c375);this[_0x4e1213(0x202)](_0x5270fe,_0x16c375);for(const _0xc92f91 of _0x165353[_0x4e1213(0x148)]()){const _0x996cf6=_0x165353[_0x4e1213(0x1e3)](_0xc92f91);_0x996cf6!=null&&(_0x996cf6['forValue']((_0x13a703,_0x3edbe7,_0xe5d146)=>{const _0x57aa67=_0x4e1213;this[_0x57aa67(0x16d)][_0x57aa67(0x1e3)](_0xe5d146)&&this[_0x57aa67(0x12d)](_0xe5d146);}),this['_otherFormulaDataMainData'][_0x4e1213(0x17d)](_0xc92f91));}_0x165353['clear']();}else{if(_0x4ba326){for(const _0x4f2b20 of _0x4ba326[_0x4e1213(0x148)]()){const _0x488f6e=_0x4ba326['get'](_0x4f2b20);this[_0x4e1213(0x202)](_0x5270fe,_0x4f2b20);for(const _0x1128b9 of _0x488f6e[_0x4e1213(0x148)]()){const _0x5ae670=_0x488f6e[_0x4e1213(0x1e3)](_0x1128b9);_0x5ae670!=null&&(_0x5ae670[_0x4e1213(0x18b)]((_0x1d9c59,_0x2d882a,_0x32237b)=>{const _0x48f723=_0x4e1213;this[_0x48f723(0x16d)][_0x48f723(0x1e3)](_0x32237b)&&this['_removeAllTreeMap'](_0x32237b);}),this[_0x4e1213(0x17e)]['delete'](_0x1128b9));}}this[_0x4e1213(0x1f0)][_0x4e1213(0x17d)](_0x5270fe);}}}[_0x50446b(0x14b)](_0x539020,_0x41a4bd,_0x563923,_0x1ee398){const _0x59edc2=_0x50446b;this[_0x59edc2(0x129)][_0x59edc2(0x14e)](_0x539020)||this[_0x59edc2(0x129)][_0x59edc2(0x1d3)](_0x539020,new Map());const _0x5ea0ec=this[_0x59edc2(0x129)]['get'](_0x539020);_0x5ea0ec[_0x59edc2(0x14e)](_0x41a4bd)||_0x5ea0ec[_0x59edc2(0x1d3)](_0x41a4bd,new Map()),_0x5ea0ec['get'](_0x41a4bd)[_0x59edc2(0x1d3)](_0x563923,_0x1ee398[_0x59edc2(0x17b)]);}[_0x50446b(0x125)](_0x3fd367,_0x5af354,_0x1727da){const _0x5632d0=_0x50446b,_0x47a430=this[_0x5632d0(0x129)][_0x5632d0(0x1e3)](_0x3fd367);if(_0x47a430&&_0x47a430['has'](_0x5af354)){const _0xc88d9c=_0x47a430[_0x5632d0(0x1e3)](_0x5af354);_0x1727da[_0x5632d0(0x11a)](_0x47b743=>{const _0x1e21c2=_0x5632d0,_0xf2eb89=_0xc88d9c[_0x1e21c2(0x1e3)](_0x47b743);_0xf2eb89!=null&&(this[_0x1e21c2(0x1a2)](_0xf2eb89),_0xc88d9c[_0x1e21c2(0x17d)](_0x47b743),this['_removeAllTreeMap'](_0xf2eb89));});}}[_0x50446b(0x1ea)](_0x214ff1,_0x251b4c){const _0x5edd12=_0x50446b,_0x2778c5=this[_0x5edd12(0x129)][_0x5edd12(0x1e3)](_0x214ff1);if(_0x251b4c&&_0x2778c5&&_0x2778c5[_0x5edd12(0x14e)](_0x251b4c)){const _0xc3240=_0x2778c5[_0x5edd12(0x1e3)](_0x251b4c);this['_removeDependencyRTreeCacheById'](_0x214ff1,_0x251b4c),_0xc3240[_0x5edd12(0x11a)](_0x4c5ffb=>{_0x4c5ffb!=null&&this['_removeAllTreeMap'](_0x4c5ffb);}),_0xc3240[_0x5edd12(0x172)]();}else _0x2778c5&&(_0x2778c5[_0x5edd12(0x11a)]((_0x909fb2,_0x267761)=>{const _0x5874f5=_0x5edd12;this[_0x5874f5(0x202)](_0x214ff1,_0x267761),_0x909fb2['forEach'](_0x35c079=>{const _0x3de6b3=_0x5874f5;_0x35c079!=null&&this[_0x3de6b3(0x12d)](_0x35c079);});}),this[_0x5edd12(0x129)][_0x5edd12(0x17d)](_0x214ff1));}[_0x50446b(0x209)](_0x1b00ca,_0x2485a5,_0x2965fd,_0x141e3e,_0x3f05d2){const _0x5dec8d=_0x50446b;this[_0x5dec8d(0x151)][_0x5dec8d(0x14e)](_0x1b00ca)||this[_0x5dec8d(0x151)][_0x5dec8d(0x1d3)](_0x1b00ca,new Map());const _0x1a8d55=this[_0x5dec8d(0x151)]['get'](_0x1b00ca);_0x1a8d55[_0x5dec8d(0x14e)](_0x2485a5)||_0x1a8d55[_0x5dec8d(0x1d3)](_0x2485a5,new A['ObjectMatrix']()),_0x1a8d55[_0x5dec8d(0x1e3)](_0x2485a5)['setValue'](_0x2965fd,_0x141e3e,_0x3f05d2[_0x5dec8d(0x17b)]);}[_0x50446b(0x185)](_0x5e2dad,_0x1232d7,_0x43a2e3,_0x3a72b4){const _0x289b6a=_0x50446b,_0x327dc2=this[_0x289b6a(0x151)]['get'](_0x5e2dad);if(_0x327dc2&&_0x327dc2['has'](_0x1232d7)){const _0x46e59a=_0x327dc2[_0x289b6a(0x1e3)](_0x1232d7),_0x40fe4f=_0x46e59a['getValue'](_0x43a2e3,_0x3a72b4);if(_0x40fe4f==null)return;this[_0x289b6a(0x1a2)](_0x40fe4f),_0x46e59a[_0x289b6a(0x1c6)](_0x43a2e3,_0x3a72b4),this['_removeAllTreeMap'](_0x40fe4f);}}[_0x50446b(0x118)](_0xe3bac5,_0x298ddf){const _0x1188d1=_0x50446b,_0x58c8c5=this[_0x1188d1(0x151)][_0x1188d1(0x1e3)](_0xe3bac5);if(_0x298ddf&&_0x58c8c5&&_0x58c8c5[_0x1188d1(0x14e)](_0x298ddf)){const _0x87d097=_0x58c8c5[_0x1188d1(0x1e3)](_0x298ddf);this[_0x1188d1(0x202)](_0xe3bac5,_0x298ddf),_0x87d097['forValue']((_0x307773,_0x2ccbe4,_0x5bc8af)=>{const _0x9c6ceb=_0x1188d1;if(_0x5bc8af==null)return!0x0;this[_0x9c6ceb(0x12d)](_0x5bc8af);}),_0x87d097[_0x1188d1(0x1be)]();}else _0x58c8c5&&(_0x58c8c5[_0x1188d1(0x11a)]((_0x18b740,_0x54f38d)=>{const _0x79a3f8=_0x1188d1;this['_removeDependencyRTreeCacheById'](_0xe3bac5,_0x54f38d),_0x18b740[_0x79a3f8(0x18b)]((_0xf4363f,_0x41b2bf,_0x3b7b6c)=>{const _0x1b7786=_0x79a3f8;if(_0x3b7b6c==null)return!0x0;this[_0x1b7786(0x12d)](_0x3b7b6c);});}),this[_0x1188d1(0x151)][_0x1188d1(0x17d)](_0xe3bac5));}['_removeDependencyRTreeCache'](_0x10ebde){const _0x583138=_0x50446b;if(_0x10ebde==null)return;const _0x5c584b=this[_0x583138(0x16d)]['get'](_0x10ebde);if(_0x5c584b){const _0x5f3953=[];for(const [_0x4f98eb,_0x2663bd]of _0x5c584b)for(const [_0x597da8,_0xd72926]of _0x2663bd)_0x5f3953['push']({'unitId':_0x4f98eb,'sheetId':_0x597da8,'range':_0xd72926,'id':_0x10ebde});this['_dependencyRTreeCache'][_0x583138(0x16a)](_0x5f3953);}}['removeFormulaDependencyByDefinedName'](_0x52a95d,_0x3ec90f){const _0x47f1a3=_0x50446b,_0x131a9f=this['_definedNameMap']['get'](_0x52a95d);if(_0x131a9f){const _0xd97016=_0x131a9f['get'](_0x3ec90f);if(_0xd97016){for(const _0x590834 of _0xd97016)this[_0x47f1a3(0x1a2)](_0x590834),this[_0x47f1a3(0x12d)](_0x590834);_0xd97016[_0x47f1a3(0x172)]();}}}[_0x50446b(0x1ee)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x50446b(0x1d8)](){const _0xe8df0c=_0x50446b;this[_0xe8df0c(0x1a7)][_0xe8df0c(0x1d8)]();}[_0x50446b(0x12d)](_0x4518fd){const _0x1f9980=_0x50446b;_0x4518fd!=null&&this[_0x1f9980(0x16d)]['delete'](_0x4518fd);}[_0x50446b(0x188)](_0x273560){const _0x11337b=_0x50446b;var _0x2d4893,_0x2d068f;const _0x29571b=_0x273560[_0x11337b(0x15a)];let _0x9bb3a=this[_0x11337b(0x16d)][_0x11337b(0x1e3)](_0x273560[_0x11337b(0x17b)]);for(let _0x4acde5=0x0;_0x4acde5<_0x29571b[_0x11337b(0x120)];_0x4acde5++){const _0x479e10=_0x29571b[_0x4acde5];let {unitId:_0x8f0eb9,sheetId:_0x829f7a,range:_0x641714}=_0x479e10;_0x9bb3a||(_0x9bb3a=new Map(),this[_0x11337b(0x16d)]['set'](_0x273560[_0x11337b(0x17b)],_0x9bb3a)),_0x9bb3a[_0x11337b(0x14e)](_0x8f0eb9)||_0x9bb3a[_0x11337b(0x1d3)](_0x8f0eb9,new Map());const _0x26ae44=(_0x2d4893=_0x9bb3a==null?void 0x0:_0x9bb3a[_0x11337b(0x1e3)](_0x8f0eb9))==null?void 0x0:_0x2d4893[_0x11337b(0x1e3)](_0x829f7a);_0x26ae44&&(_0x641714={'startRow':Math[_0x11337b(0x1f2)](_0x641714[_0x11337b(0x13b)],_0x26ae44[_0x11337b(0x13b)]),'startColumn':Math[_0x11337b(0x1f2)](_0x641714[_0x11337b(0x19c)],_0x26ae44[_0x11337b(0x19c)]),'endRow':Math[_0x11337b(0x112)](_0x641714['endRow'],_0x26ae44['endRow']),'endColumn':Math['max'](_0x641714[_0x11337b(0x11d)],_0x26ae44['endColumn'])}),(_0x2d068f=_0x9bb3a[_0x11337b(0x1e3)](_0x8f0eb9))==null||_0x2d068f[_0x11337b(0x1d3)](_0x829f7a,_0x641714);}}}var $=Object[_0x50446b(0x203)],j=(_0x3df5cd,_0x4636c4,_0x34151f,_0x1d6804)=>{const _0x19e44b=_0x50446b;for(var _0x5bbb06=_0x1d6804>0x1?void 0x0:_0x1d6804?$(_0x4636c4,_0x34151f):_0x4636c4,_0x106e72=_0x3df5cd[_0x19e44b(0x120)]-0x1,_0x1d2d8b;_0x106e72>=0x0;_0x106e72--)(_0x1d2d8b=_0x3df5cd[_0x106e72])&&(_0x5bbb06=_0x1d2d8b(_0x5bbb06)||_0x5bbb06);return _0x5bbb06;};function _0xd772(_0x14f27c,_0x93c387){_0x14f27c=_0x14f27c-0x111;const _0x7ae88=_0x7ae8();let _0xd77233=_0x7ae88[_0x14f27c];return _0xd77233;}const G=Number[_0x50446b(0x1a6)](0x69a2984e);exports['UniverProFormulaEnginePlugin']=class extends a[_0x50446b(0x115)]{['_initializeWithOverride'](){const _0x456a9d=_0x50446b;var _0x59d14f,_0xe663be;this[_0x456a9d(0x170)]()?(this[_0x456a9d(0x20b)][_0x456a9d(0x140)]([a['LexerTreeBuilder'],{'useClass':B}]),(_0x59d14f=this['_config'])!=null&&_0x59d14f[_0x456a9d(0x1c7)]||[[a['ICalculateFormulaService'],{'useClass':Y}],[a[_0x456a9d(0x12b)],{'useClass':V}],[a[_0x456a9d(0x1a3)],{'useClass':U}]]['forEach'](_0x474989=>this[_0x456a9d(0x20b)][_0x456a9d(0x140)](_0x474989))):(this['_injector']['add']([a[_0x456a9d(0x17a)],{'useClass':a[_0x456a9d(0x17a)]}]),(_0xe663be=this[_0x456a9d(0x13c)])!=null&&_0xe663be[_0x456a9d(0x1c7)]||[[a['ICalculateFormulaService'],{'useClass':a[_0x456a9d(0x182)]}],[a[_0x456a9d(0x12b)],{'useClass':a[_0x456a9d(0x1c8)]}],[a['IFormulaDependencyGenerator'],{'useClass':a[_0x456a9d(0x19e)]}]]['forEach'](_0x4d38d0=>this[_0x456a9d(0x20b)][_0x456a9d(0x140)](_0x4d38d0)));}[_0x50446b(0x170)](){const _0x2ff680=_0x50446b;var _0x4a15f9;const _0x35197c=(_0x4a15f9=this['_configService']['getConfig'](E[_0x2ff680(0x1eb)]))!=null?_0x4a15f9:{},{ls:_0x1a5121,pbk:_0x484a6e}=_0x35197c;if(!_0x1a5121||!_0x484a6e)return!0x1;const _0x957272=E['unshiftString'](b,K),_0x55d09a=new Function(_0x2ff680(0x189)+_0x957272)()(_0x1a5121,_0x484a6e),_0x2c5705=_0x55d09a[_0x2ff680(0x1c5)];return _0x55d09a['valid']&&E[_0x2ff680(0x20d)](_0x2c5705,'sf',G)?E[_0x2ff680(0x122)](_0x2c5705,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x50446b(0x14a)]=j([A[_0x50446b(0x1b0)](E[_0x50446b(0x126)])],exports[_0x50446b(0x14a)]),exports['LexerTreeProBuilder']=B,Object[_0x50446b(0x148)](a)[_0x50446b(0x11a)](_0x3da028=>{const _0x276614=_0x50446b;_0x3da028!=='default'&&!Object[_0x276614(0x158)][_0x276614(0x18c)][_0x276614(0x130)](exports,_0x3da028)&&Object[_0x276614(0x156)](exports,_0x3da028,{'enumerable':!0x0,'get':()=>a[_0x3da028]});});
|
|
1
|
+
'use strict';const _0x3effb3=_0x4e15;(function(_0xea422,_0xb987cd){const _0x562577=_0x4e15,_0x4a1fd9=_0xea422();while(!![]){try{const _0x375d74=-parseInt(_0x562577(0x11f))/0x1*(parseInt(_0x562577(0x168))/0x2)+parseInt(_0x562577(0x121))/0x3*(-parseInt(_0x562577(0xe9))/0x4)+-parseInt(_0x562577(0xe4))/0x5*(-parseInt(_0x562577(0x18d))/0x6)+parseInt(_0x562577(0x18c))/0x7+parseInt(_0x562577(0xfd))/0x8+parseInt(_0x562577(0xfc))/0x9+-parseInt(_0x562577(0xc8))/0xa*(parseInt(_0x562577(0xd1))/0xb);if(_0x375d74===_0xb987cd)break;else _0x4a1fd9['push'](_0x4a1fd9['shift']());}catch(_0x403ea5){_0x4a1fd9['push'](_0x4a1fd9['shift']());}}}(_0x70ce,0xdc2db));var O=Object['defineProperty'],P=(_0x1b5691,_0x1233ef,_0x4bfd95)=>_0x1233ef in _0x1b5691?O(_0x1b5691,_0x1233ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bfd95}):_0x1b5691[_0x1233ef]=_0x4bfd95,y=(_0x2f1153,_0x4ecb91,_0x42b72e)=>P(_0x2f1153,typeof _0x4ecb91!=_0x3effb3(0xc1)?_0x4ecb91+'':_0x4ecb91,_0x42b72e);Object['defineProperty'](exports,Symbol[_0x3effb3(0xc5)],{'value':_0x3effb3(0x117)});function _0x70ce(){const _0x15c4cf=['getUnitData','setRuntimeData','bulkRemove','13004IfbRkc','setRuntimeOtherData','setDependencyTreeModelData','_xlpmPrefix','CURRENTLY_CALCULATING_ARRAY_FORMULA','DEFAULT_TOKEN_TYPE_ROOT','splitTableStructuredRef','_interpreter','isSkip','getClearDependencyTreeCache','getNewFormulaWithPrefix','markedAsStopFunctionsExecuted','endColumn','clearFormulaDependency','_featureFormulaData','LexerTreeBuilder','setTotalFormulasToCalculate','clearFeatureFormulaDependency','_executionInProgressListener$','matchToken','slice','next','featureId','_restDependencyTreeId','getStartIndex','removeFormulaDependency','bulkSearch','START_CALCULATION','addFeatureFormulaDependency','getConfig','openKdTree','_getDependencyTreeChildrenIds','removeOtherFormulaDependency','FormulaDependencyGenerator','IDependencyManagerService','_checkIsCycleDependency','1308867TCQpjd','34176kwdSFv','FormulaExecuteStageType','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getFormulaDependency','clearOtherFormulaDependency','getToken','_hasNewExcelFunction','ErrorType','_registerFormulas','_initializeWithOverride','DependentOn','_calculateRunList','prefixToken','_getTreeNode','_removeDependencyRTreeCache','getDirtyNameMap','_injector','CalculateFormulaService','PLUS','setCompletedFormulasCount','getChildren','formulaId','_endFormulaDependencyTreeModel','isExcludeRange','prototype','setFormulaExecuteStage','_lambdaFunctionParameterSet','valid','set','_runtimeService','from','_clearPrefix','inRangeData','_generateTreeList','treeBuilder','node','_generateNewFunctionString','addOtherFormulaDependency','rowCount','setAdded','DependencyManagerBaseService','sheetId','FormulaDependencyTree','VALUE','DependencyManagerService','_otherFormulaData','size','_config','refOffsetY','markedAsSuccessfullyExecuted','generate','getDirtyData','_startFormulaDependencyTreeModel','FEATURE_FORMULA','_xlfnPrefix','resolve','symbol','FormulaDependencyTreeVirtual','_removeDependencyRTreeCacheById','unshiftString','toStringTag','featureDirtyRanges','column','590570IVhANs','children','_handleTextNodeForExprTree','_astTreeBuilder','addFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','_handleNewFunctionChild','setSkip','generateAstNode','22DONhLE','requestImmediateMacroTask','_currentUnitId','_formulaData','_definedNameMap','subUnitId','hasOtherFormulaDataMainData','parseInt','_configService','endsWith','isCache','_initLicenseValid','START_DEPENDENCY','isAdded','type','get','_generateExprTree','refTree','LexerTreeProBuilder','830FCcixf','isFeatureAuthorizedWithinTime','\x22\x20is\x20duplicated.','startColumn','clear','3212ubBFxS','startIndex','removeFeatureFormulaDependency','_dependencyRTreeCacheForAddressFunction','startRow','_apply','row','notExecuteFormula','_getCurNodeTypeForExprTree','setValue','closeKdTree','getOtherFormulaData','_otherFormulaDataMainData','_getAllTreeList','pop','getDirtyRanges','_createVirtualFDtree','_getTableNameFromStructuredRef','_getAllDependencyJson','1904625JZqApe','12812760gXSpsH','CURRENTLY_CALCULATING','isDirty','forEach','trim','dependencySheetName','isReferenceString','isVirtual','return\x20','unitId','_initializeGenerateTreeList','execute','_isCyclicUtilMap','UniverProFormulaEnginePlugin','has','_removeAllTreeMap','push','getRuntimeState','getValue','join','formula','SUFFIX_TOKEN_SET','_checkAddBracketForMinus','_getUpdateTreeListAndMakeDependency','_dependencyManagerService','_xlpm.','Module','min','getFeatureFormulaDependency','endRow','dirtyRanges','_otherFormulaManagerService','getExcludedRange','error','167fwpYps','getAllRuntimeData','3138wSLevt','_checkColonNodeForExprTree','refOffsetX','_addAllTreeMap','COLON','_getDependencyTreeParenIds','reset','length','_allTreeMap','value','NEW_EXCEL_FUNCTIONS','string','isArray','_dependencyRTreeCache','resetCalculationState','getOwnPropertyDescriptor','_traverse','ICalculateFormulaService','checkAsyncNode','toUpperCase','treeId','_getTreeById','_handleChildrenForExprTree','getFormulaExprTree','setCurrent','_handleLambdaForExprTree','DEFAULT_TOKEN_LET_FUNCTION_NAME','forValue','setTotalArrayFormulasToCalculate','columnCount','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','getSheetFeatureLimit','searchDependency','_registerOtherFormulas','toRTreeItem','setRuntimeFeatureRange','markedAsNoFunctionsExecuted','_dependencyTreeCache','LexerNode','enableCycleDependency','add','generateRandomDependencyTreeId','default','_formulaDependencyGenerator','values','keys','_xlfn.','rangeList','_updateRangeFlatten','ObjectMatrix','_resetPrefix','delete','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_createFDtree','RTree','OTHER_FORMULA','_currentConfigService','addFormulaDependencyByDefinedName','dispose','FormulaDependencyTreeType','DEFAULT_TOKEN_TYPE_PARAMETER','realDeleteValue','getOtherFormulaDependency','Let\x20variable\x20name\x20\x22','hasOwnProperty','IFormulaDependencyGenerator','setRuntimeFeatureCellData','MINUS'];_0x70ce=function(){return _0x15c4cf;};return _0x70ce();}const a=require('@univerjs/engine-formula'),k=require('@univerjs-pro/license'),E=require('@univerjs/core');class A extends a[_0x3effb3(0x177)]{constructor(){const _0x465da0=_0x3effb3;super(...arguments),y(this,_0x465da0(0x193),!0x1),y(this,_0x465da0(0x1a7),new Set()),y(this,_0x465da0(0x16b),_0x465da0(0x116)),y(this,_0x465da0(0xbf),_0x465da0(0x14f)),y(this,_0x465da0(0xd3),'');}[_0x3effb3(0x153)](){const _0x1f9786=_0x3effb3;this[_0x1f9786(0x16b)]=_0x1f9786(0x116),this[_0x1f9786(0xbf)]=_0x1f9786(0x14f);}[_0x3effb3(0x1ac)](){const _0x13f3d2=_0x3effb3;this['_xlpmPrefix']='',this[_0x13f3d2(0xbf)]='';}[_0x3effb3(0x172)](_0x27c84b,_0x193a41){const _0x57bcf2=_0x3effb3,_0x56307e=this[_0x57bcf2(0x1af)](_0x27c84b,!0x1);if(!_0x56307e||_0x56307e===a['ErrorType']['VALUE']||Array[_0x57bcf2(0x12d)](_0x56307e))return null;const _0x39943c=[];return this[_0x57bcf2(0x193)]=!0x1,this[_0x57bcf2(0x1b1)](_0x56307e,_0x39943c,_0x193a41),this[_0x57bcf2(0x193)]?'='+_0x39943c['join'](''):null;}[_0x3effb3(0x1b1)](_0xd020a8,_0x403799,_0x522fad){const _0x95791=_0x3effb3,_0x448a44=_0xd020a8[_0x95791(0x192)](),_0x584b8e=_0x448a44[_0x95791(0x101)](),_0x464b5e=_0x584b8e[_0x95791(0x134)](),_0xdbaeb5=this['_clearFunctionString'](_0x464b5e),_0x111a73=_0x522fad(_0xdbaeb5);let _0x58eab7=0x0;_0x448a44===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x58eab7=0x3:_0x448a44===a[_0x95791(0x15d)]?_0x58eab7=0x4:_0x448a44===a[_0x95791(0x13f)]?_0x58eab7=0x5:a[_0x95791(0x12b)]['has'](_0xdbaeb5)?(_0x403799[_0x95791(0x10d)](''+this[_0x95791(0xbf)]+_0x584b8e),this[_0x95791(0x193)]=!0x0):_0x464b5e===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x403799['push'](''+this[_0x95791(0xbf)]+_0x584b8e),this[_0x95791(0x193)]=!0x0,_0x58eab7=0x2):_0x464b5e===a[_0x95791(0x13b)]?(_0x403799[_0x95791(0x10d)](''+this[_0x95791(0xbf)]+_0x584b8e),this[_0x95791(0x193)]=!0x0,_0x58eab7=0x1):_0x464b5e===a[_0x95791(0x17b)][_0x95791(0x125)]?_0x58eab7=0x8:a[_0x95791(0x112)]['has'](_0x464b5e)?_0x58eab7=0x7:_0x464b5e===a['prefixToken'][_0x95791(0x164)]?(this[_0x95791(0x113)](_0xd020a8)&&(_0x58eab7=0x9),_0x403799['push'](_0x448a44)):(_0x403799[_0x95791(0x10d)](_0x448a44),_0x58eab7=0xa),_0x111a73?(_0x58eab7!==0x2&&_0x58eab7!==0x1&&(_0x58eab7=0x6),_0x403799[_0x95791(0x10d)]('(')):_0x58eab7===0x9&&_0x403799['push']('(');const _0xf9c076=_0xd020a8['getChildren'](),_0x13e0d8=_0xf9c076[_0x95791(0x128)];if(_0x58eab7===0x2){const _0x3dfd33=_0xf9c076[0x0];let _0x27902e=0x0;_0x3dfd33 instanceof a[_0x95791(0x147)]&&_0x3dfd33['getToken']()===a[_0x95791(0x13f)]&&(_0x27902e=0x1);for(let _0x36958e=_0x27902e;_0x36958e<_0x13e0d8-0x1;_0x36958e++){const _0x23c14b=_0xf9c076[_0x36958e];if(_0x23c14b instanceof a[_0x95791(0x147)]){const _0x44d518=_0x23c14b[_0x95791(0x1a1)]()[0x0];typeof _0x44d518=='string'&&(this['_lambdaFunctionParameterSet']['has'](_0x44d518)&&console[_0x95791(0x11e)]('Lambda\x20parameter\x20name\x20\x22'+_0x44d518+_0x95791(0xe6)),this[_0x95791(0x1a7)][_0x95791(0x149)](_0x44d518),_0x403799[_0x95791(0x10d)](''+this[_0x95791(0x16b)]+_0x44d518),this[_0x95791(0x193)]=!0x0);}_0x403799[_0x95791(0x10d)](',');}this[_0x95791(0xce)](_0xf9c076[_0x13e0d8-0x1],_0x403799,_0x522fad),_0x27902e===0x1&&(_0x403799[_0x95791(0x10d)](')'),_0x403799['push']('('),this[_0x95791(0x1b1)](_0x3dfd33,_0x403799,_0x522fad)),_0x403799['push'](')');return;}else{if(_0x58eab7===0x1){for(let _0x28de80=0x0;_0x28de80<_0x13e0d8-0x1;_0x28de80++){const _0x2d7898=_0xf9c076[_0x28de80];if(_0x2d7898 instanceof a[_0x95791(0x147)]&&_0x28de80%0x2===0x0){const _0x4437aa=_0x2d7898['getChildren']()[0x0];if(typeof _0x4437aa==_0x95791(0x12c)){this[_0x95791(0x1a7)][_0x95791(0x10b)](_0x4437aa)&&console['error'](_0x95791(0x160)+_0x4437aa+_0x95791(0xe6)),this[_0x95791(0x1a7)][_0x95791(0x149)](_0x4437aa),_0x403799[_0x95791(0x10d)](''+this['_xlpmPrefix']+_0x4437aa),this[_0x95791(0x193)]=!0x0,_0x403799[_0x95791(0x10d)](',');continue;}}if(this[_0x95791(0xce)](_0x2d7898,_0x403799,_0x522fad),_0x2d7898 instanceof a[_0x95791(0x147)]){const _0x4ca294=_0xf9c076[_0x28de80+0x1];_0x4ca294&&_0x4ca294 instanceof a[_0x95791(0x147)]&&_0x403799['push'](',');}}this[_0x95791(0xce)](_0xf9c076[_0x13e0d8-0x1],_0x403799,_0x522fad),_0x403799[_0x95791(0x10d)](')');return;}else{if(_0x58eab7===0x8){const _0x4daa0c=_0xf9c076[0x0],_0x532a51=_0xf9c076[0x1];this[_0x95791(0xce)](_0x4daa0c,_0x403799,_0x522fad),_0x403799[_0x95791(0x10d)](_0x448a44),this[_0x95791(0xce)](_0x532a51,_0x403799,_0x522fad);return;}}}for(let _0x31a3f8=0x0;_0x31a3f8<_0x13e0d8;_0x31a3f8++){const _0x119bb9=_0xf9c076[_0x31a3f8];if(this[_0x95791(0xce)](_0x119bb9,_0x403799,_0x522fad),_0x119bb9 instanceof a[_0x95791(0x147)]){const _0x28baec=_0xf9c076[_0x31a3f8+0x1];_0x28baec&&_0x28baec instanceof a[_0x95791(0x147)]&&_0x403799['push'](',');}}_0x58eab7===0x7&&_0x403799[_0x95791(0x10d)](_0x448a44),(_0x111a73||_0x58eab7===0x9)&&_0x403799[_0x95791(0x10d)](')');}['_handleNewFunctionChild'](_0x3b102f,_0x5c2a2a,_0x4af97f){const _0x3eb14a=_0x3effb3;_0x3b102f instanceof a[_0x3eb14a(0x147)]?this['_generateNewFunctionString'](_0x3b102f,_0x5c2a2a,_0x4af97f):this['_lambdaFunctionParameterSet'][_0x3eb14a(0x10b)](_0x3b102f)?(_0x5c2a2a[_0x3eb14a(0x10d)](''+this[_0x3eb14a(0x16b)]+_0x3b102f),this['_hasNewExcelFunction']=!0x0):_0x5c2a2a[_0x3eb14a(0x10d)](_0x3b102f);}['_clearFunctionString'](_0x2c6b91){const _0x287831=_0x3effb3;let _0x2631c7=_0x2c6b91['trim']();if(!_0x2631c7)return _0x2631c7;const _0xa5cc43=_0x2631c7[0x0];if((_0xa5cc43===a[_0x287831(0x199)]['AT']||_0xa5cc43===a[_0x287831(0x199)][_0x287831(0x164)]||_0xa5cc43===a[_0x287831(0x199)][_0x287831(0x19f)])&&(_0x2631c7=_0x2631c7[_0x287831(0x17c)](0x1)),!_0x2631c7)return _0x2631c7;const _0x2c78ea=_0x2631c7[_0x2631c7['length']-0x1];return a['SUFFIX_TOKEN_SET'][_0x287831(0x10b)](_0x2c78ea)&&(_0x2631c7=_0x2631c7[_0x287831(0x17c)](0x0,-0x1)),_0x2631c7;}['_checkAddBracketForMinus'](_0x23508f){const _0x7b843c=_0x3effb3,_0x192f0c=_0x23508f[_0x7b843c(0x1a1)]()[0x0];if(!_0x192f0c||!(_0x192f0c instanceof a[_0x7b843c(0x147)])||_0x23508f[_0x7b843c(0x1a1)]()[_0x7b843c(0x128)]>0x1)return!0x1;const _0x1cecfa=_0x192f0c[_0x7b843c(0x1a1)](),_0x181666=_0x1cecfa['length'];if(_0x181666===0x1)return!0x1;for(let _0x2d5d2a=0x0;_0x2d5d2a<_0x181666;_0x2d5d2a++){const _0x25abdf=_0x1cecfa[_0x2d5d2a];if(!(_0x25abdf instanceof a['LexerNode'])&&a['OPERATOR_TOKEN_SET']['has'](_0x25abdf))return!0x0;}return!0x1;}[_0x3effb3(0x138)](_0x54040e,_0x36629e,_0x47afd9,_0x287ea7,_0x38caa5){const _0xbd555=_0x3effb3,_0x4c2c3f=this['treeBuilder'](_0x54040e,!0x1);if(!_0x4c2c3f||_0x4c2c3f===a[_0xbd555(0x194)][_0xbd555(0x1b8)]||Array[_0xbd555(0x12d)](_0x4c2c3f))return null;this[_0xbd555(0x1ac)](),this[_0xbd555(0xd3)]=_0x36629e;const _0x960817=this['_generateExprTree'](_0x4c2c3f,_0x47afd9,_0x287ea7,_0x38caa5);return this[_0xbd555(0xd3)]='',this[_0xbd555(0x153)](),_0x960817;}[_0x3effb3(0xe1)](_0x589da9,_0x5f018b,_0x2c7067,_0x290d32){const _0x1a4be8=_0x3effb3,_0x18a1bc={'value':'','children':[],'startIndex':0x0};let _0x2948f1=_0x589da9;if(_0x2948f1 instanceof a[_0x1a4be8(0x147)]&&(_0x2948f1[_0x1a4be8(0x192)]()===a[_0x1a4be8(0x16d)]||_0x2948f1[_0x1a4be8(0x192)]()===a[_0x1a4be8(0x15d)])&&_0x2948f1[_0x1a4be8(0x1a1)]()[_0x1a4be8(0x128)]===0x1&&(_0x2948f1=_0x2948f1['getChildren']()[0x0]),!(_0x2948f1 instanceof a[_0x1a4be8(0x147)]))return this[_0x1a4be8(0xca)](_0x2948f1,_0x2c7067,_0x290d32);const _0x1d16d8=_0x2948f1[_0x1a4be8(0x1a1)](),_0x46f0ee=_0x1d16d8[_0x1a4be8(0x128)],_0x544b19=[];this[_0x1a4be8(0x1b1)](_0x2948f1,_0x544b19,_0x5f018b),_0x18a1bc[_0x1a4be8(0x12a)]=_0x544b19[_0x1a4be8(0x110)](''),_0x18a1bc[_0x1a4be8(0xea)]=_0x2948f1[_0x1a4be8(0x180)]();const _0x3371a8=this[_0x1a4be8(0xf1)](_0x2948f1);if(_0x3371a8===0x2){const _0x1fb472=_0x1d16d8[0x0];if(_0x1fb472 instanceof a[_0x1a4be8(0x147)]){if(_0x1fb472[_0x1a4be8(0x192)]()[_0x1a4be8(0x101)]()!==a[_0x1a4be8(0x13f)])return _0x18a1bc;this[_0x1a4be8(0x13a)](_0x1fb472,_0x18a1bc,_0x5f018b,_0x2c7067,_0x290d32);}return _0x18a1bc;}else{if(_0x3371a8===0x1){for(let _0x22490d=0x0;_0x22490d<_0x46f0ee-0x1;_0x22490d++){const _0x270784=_0x1d16d8[_0x22490d];if(_0x270784 instanceof a[_0x1a4be8(0x147)]&&_0x22490d%0x2===0x1){const _0x39352b=_0x270784[_0x1a4be8(0x1a1)]();if(_0x39352b[_0x1a4be8(0x128)]===0x1&&!(_0x39352b[0x0]instanceof a[_0x1a4be8(0x147)]))continue;const _0x4b6278=this[_0x1a4be8(0xe1)](_0x270784,_0x5f018b,_0x2c7067,_0x290d32);_0x4b6278&&_0x18a1bc[_0x1a4be8(0xc9)]['push'](_0x4b6278);}}return _0x18a1bc;}else{if(_0x3371a8===0x8){const _0x401b9f=_0x1d16d8[0x0];if(_0x401b9f instanceof a[_0x1a4be8(0x147)]){const _0x3e9718=_0x401b9f[_0x1a4be8(0x1a1)]()[0x0];_0x3e9718 instanceof a[_0x1a4be8(0x147)]&&(_0x18a1bc[_0x1a4be8(0xea)]=_0x3e9718[_0x1a4be8(0x180)]());}if(this[_0x1a4be8(0x122)](_0x2948f1))return _0x18a1bc;}else{if(_0x3371a8===0x7){const _0x286f19=_0x1d16d8[0x0];if(_0x286f19 instanceof a[_0x1a4be8(0x147)]){const _0x406a34=_0x286f19['getChildren']()[0x0];_0x406a34 instanceof a[_0x1a4be8(0x147)]&&(_0x18a1bc[_0x1a4be8(0xea)]=_0x406a34[_0x1a4be8(0x180)]());}}}}}return this['_handleChildrenForExprTree'](_0x1d16d8,_0x3371a8,_0x18a1bc,_0x5f018b,_0x2c7067,_0x290d32),_0x18a1bc;}[_0x3effb3(0x137)](_0x344613,_0x2602c6,_0x4d7e06,_0xae6464,_0x285be6,_0x2ccf54){const _0x130a28=_0x3effb3;for(let _0x2e17be=0x0;_0x2e17be<_0x344613[_0x130a28(0x128)];_0x2e17be++){let _0x4c48b8=_0x344613[_0x2e17be];if(!(_0x4c48b8 instanceof a['LexerNode'])){const _0xfda7a4=this['_handleTextNodeForExprTree'](_0x4c48b8,_0x285be6,_0x2ccf54);_0xfda7a4&&_0x4d7e06[_0x130a28(0xc9)]['push'](_0xfda7a4);continue;}const _0x2b32f4=_0x4c48b8[_0x130a28(0x1a1)]();if(_0x2b32f4[_0x130a28(0x128)]===0x1&&!(_0x2b32f4[0x0]instanceof a[_0x130a28(0x147)])){const _0x96aa6b=_0x2b32f4[0x0];if(!_0x285be6(this[_0x130a28(0xd3)],_0x96aa6b)&&!this[_0x130a28(0xfa)](_0x96aa6b,_0x2ccf54)&&!a[_0x130a28(0x103)](_0x96aa6b))continue;}if(_0x2602c6===0x8){const _0xb80ace=_0x2b32f4[0x0];if(_0xb80ace instanceof a[_0x130a28(0x147)]){const _0x459205=_0xb80ace[_0x130a28(0x192)]()['trim']();if(a[_0x130a28(0x103)](_0x459205))continue;_0x4c48b8=_0xb80ace;}}const _0x265690=this[_0x130a28(0xe1)](_0x4c48b8,_0xae6464,_0x285be6,_0x2ccf54);_0x265690&&_0x4d7e06[_0x130a28(0xc9)][_0x130a28(0x10d)](_0x265690);}}['_checkColonNodeForExprTree'](_0x4d5c4d){const _0x3f469c=_0x3effb3,_0x36b089=_0x4d5c4d[_0x3f469c(0x1a1)]();if(_0x36b089[_0x3f469c(0x128)]<0x2)return!0x1;const _0x2d5075=_0x36b089[0x0],_0x3636de=_0x36b089[0x1];if(!(_0x2d5075 instanceof a[_0x3f469c(0x147)])||!(_0x3636de instanceof a[_0x3f469c(0x147)]))return!0x1;const _0x20ca42=_0x2d5075[_0x3f469c(0x1a1)]()[0x0],_0x46a549=_0x3636de['getChildren']()[0x0];if(!(_0x20ca42 instanceof a[_0x3f469c(0x147)])||!(_0x46a549 instanceof a['LexerNode']))return!0x1;const _0x1e4362=_0x20ca42['getToken']()[_0x3f469c(0x101)](),_0x5389fd=_0x46a549['getToken']()[_0x3f469c(0x101)]();return!!a[_0x3f469c(0x103)](''+_0x1e4362+a['matchToken'][_0x3f469c(0x125)]+_0x5389fd);}[_0x3effb3(0xca)](_0x395020,_0x11b42c,_0x1141e9){const _0x53c35c=_0x3effb3,_0x218e6b=_0x395020['trim']();return _0x218e6b['startsWith']('{')&&_0x218e6b[_0x53c35c(0xda)]('}')||_0x11b42c(this['_currentUnitId'],_0x218e6b)||this[_0x53c35c(0xfa)](_0x218e6b,_0x1141e9)||a[_0x53c35c(0x103)](_0x218e6b)?{'value':_0x218e6b,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x4d6d70,_0x554a19){const _0x1e5260=_0x3effb3,{tableName:_0x2f1c9b}=a[_0x1e5260(0x16e)](_0x4d6d70);return _0x554a19(this[_0x1e5260(0xd3)],_0x2f1c9b)?_0x2f1c9b:null;}[_0x3effb3(0x13a)](_0x5d30c7,_0x24d122,_0x3491f4,_0x10ab08,_0x51c728){const _0xe60cc3=_0x3effb3,_0x291a53=_0x5d30c7['getChildren']();for(let _0x334735=0x0;_0x334735<_0x291a53[_0xe60cc3(0x128)];_0x334735++){const _0x122edd=_0x291a53[_0x334735];if(!(_0x122edd instanceof a[_0xe60cc3(0x147)]))continue;const _0x15cbe0=_0x122edd[_0xe60cc3(0x1a1)]();if(_0x15cbe0['length']===0x1&&!(_0x15cbe0[0x0]instanceof a['LexerNode']))continue;const _0x2898b0=this[_0xe60cc3(0xe1)](_0x122edd,_0x3491f4,_0x10ab08,_0x51c728);_0x2898b0&&_0x24d122['children'][_0xe60cc3(0x10d)](_0x2898b0);}}[_0x3effb3(0xf1)](_0x56ac41){const _0xd9e20a=_0x3effb3,_0x2ea745=_0x56ac41[_0xd9e20a(0x192)](),_0x4e1116=_0x2ea745[_0xd9e20a(0x101)]()[_0xd9e20a(0x134)]();let _0x44bb09=0x0;return _0x2ea745===a[_0xd9e20a(0x16d)]?_0x44bb09=0x3:_0x2ea745===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x44bb09=0x4:_0x2ea745===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x44bb09=0x5:_0x4e1116===a[_0xd9e20a(0x18f)]?_0x44bb09=0x2:_0x4e1116===a[_0xd9e20a(0x13b)]?_0x44bb09=0x1:_0x4e1116===a['matchToken'][_0xd9e20a(0x125)]?_0x44bb09=0x8:a['SUFFIX_TOKEN_SET'][_0xd9e20a(0x10b)](_0x4e1116)?_0x44bb09=0x7:_0x4e1116===a[_0xd9e20a(0x199)][_0xd9e20a(0x164)]?this[_0xd9e20a(0x113)](_0x56ac41)&&(_0x44bb09=0x9):_0x44bb09=0xa,_0x44bb09;}}class U extends a[_0x3effb3(0x189)]{constructor(){const _0x27bb43=_0x3effb3;super(...arguments),y(this,_0x27bb43(0x146),new Map());}[_0x3effb3(0x15b)](){const _0x22b42e=_0x3effb3;super[_0x22b42e(0x15b)](),this[_0x22b42e(0x146)][_0x22b42e(0xe8)]();}async[_0x3effb3(0xbb)](_0x261e5b=!0x1){const _0x1f19c0=_0x3effb3;this[_0x1f19c0(0x151)]();const _0x55ab73=this[_0x1f19c0(0x159)]['getFormulaData'](),_0x1b3d32=this[_0x1f19c0(0x11c)][_0x1f19c0(0xf4)](),_0x3f814e=this[_0x1f19c0(0x159)][_0x1f19c0(0x171)]();_0x3f814e!=null&&Object[_0x1f19c0(0x14e)](_0x3f814e)[_0x1f19c0(0x100)](_0x32714e=>{const _0xccea5b=_0x1f19c0;_0x32714e!=null&&Object[_0xccea5b(0x14e)](_0x3f814e[_0x32714e])[_0xccea5b(0x100)](_0x2a700d=>{const _0x4b35b3=_0xccea5b;_0x2a700d!=null&&(this[_0x4b35b3(0x115)]['clearOtherFormulaDependency'](_0x32714e,_0x2a700d),this[_0x4b35b3(0x115)][_0x4b35b3(0x179)](_0x32714e,_0x2a700d),this[_0x4b35b3(0x115)][_0x4b35b3(0x175)](_0x32714e,_0x2a700d));});});const _0x50e308=this['_currentConfigService'][_0x1f19c0(0x165)]();await this[_0x1f19c0(0x1ae)](_0x55ab73,_0x1b3d32,_0x50e308),this['_dependencyManagerService'][_0x1f19c0(0x186)]();const _0x1cd98b=this[_0x1f19c0(0x114)](),_0x2160e3=this['_calculateRunList'](_0x1cd98b);return this[_0x1f19c0(0x18b)](_0x2160e3)&&this[_0x1f19c0(0x1aa)][_0x1f19c0(0x148)](),_0x261e5b&&this[_0x1f19c0(0x1aa)][_0x1f19c0(0x16a)](this[_0x1f19c0(0xfb)](Array[_0x1f19c0(0x1ab)](this[_0x1f19c0(0x146)][_0x1f19c0(0x14d)]()))),this[_0x1f19c0(0x146)]['clear'](),this[_0x1f19c0(0xec)][_0x1f19c0(0xe8)](),this[_0x1f19c0(0x115)][_0x1f19c0(0xf3)](),this[_0x1f19c0(0x1aa)]['clearArrayObjectCache'](),Promise[_0x1f19c0(0xc0)](_0x2160e3);}['_isCyclicUtilMap'](_0x412a8e,_0x11c828){const _0x57f44f=_0x3effb3,_0x197e6f=[_0x412a8e];for(;_0x197e6f[_0x57f44f(0x128)]>0x0;){const _0x5c06e7=_0x197e6f[_0x197e6f[_0x57f44f(0x128)]-0x1];if((_0x11c828[_0x57f44f(0xe0)](_0x5c06e7)||0x0)===0x0){_0x11c828[_0x57f44f(0x1a9)](_0x5c06e7,0x1);const _0x399724=this[_0x57f44f(0x146)][_0x57f44f(0xe0)](_0x5c06e7);if(_0x399724==null){_0x11c828['set'](_0x5c06e7,0x2),_0x197e6f[_0x57f44f(0xf7)]();continue;}const _0x442d76=this[_0x57f44f(0x115)]['searchDependency'](_0x399724[_0x57f44f(0x143)]());for(const _0x37cc6d of _0x442d76){const _0x45a010=_0x11c828[_0x57f44f(0xe0)](_0x37cc6d)||0x0;if(_0x45a010===0x1)return!0x0;_0x45a010===0x0&&_0x197e6f[_0x57f44f(0x10d)](_0x37cc6d);}}else _0x11c828[_0x57f44f(0x1a9)](_0x5c06e7,0x2),_0x197e6f[_0x57f44f(0xf7)]();}return!0x1;}[_0x3effb3(0x18b)](_0x49d472){const _0x3b1fa6=_0x3effb3,_0x31cc27=new Map();for(const _0x42c7de of _0x49d472)if(!_0x31cc27[_0x3b1fa6(0x10b)](_0x42c7de['treeId'])&&this[_0x3b1fa6(0x109)](_0x42c7de[_0x3b1fa6(0x135)],_0x31cc27))return!0x0;return _0x31cc27[_0x3b1fa6(0xe8)](),!0x1;}['_getFeatureFormulaTree'](_0x28f3e5,_0x4f033c,_0xc19d6a){const _0xd5ba2a=_0x3effb3,{unitId:_0x507b6f,subUnitId:_0x47ad12,dependencyRanges:_0x4a2144,getDirtyData:_0x1d71be}=_0xc19d6a,_0x1e54d4=_0x4f033c||a['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x1d0362=new a[(_0xd5ba2a(0x1b7))](_0x1e54d4);_0x1d0362['unitId']=_0x507b6f,_0x1d0362[_0xd5ba2a(0xd6)]=_0x47ad12,_0x1d0362['rangeList']=_0x4a2144,_0x1d0362[_0xd5ba2a(0xbc)]=_0x1d71be;const _0x40a54d=_0x1d71be(this[_0xd5ba2a(0x159)][_0xd5ba2a(0xbc)](),this[_0xd5ba2a(0x1aa)][_0xd5ba2a(0x120)]()),_0xd24765=this['_convertDirtyRangesToUnitRange'](_0x40a54d[_0xd5ba2a(0x11b)]);return _0x1d0362[_0xd5ba2a(0xc6)]=_0xd24765,_0x1d0362[_0xd5ba2a(0x17e)]=_0x28f3e5,_0x1d0362['type']=a[_0xd5ba2a(0x15c)][_0xd5ba2a(0xbe)],this['_dependencyManagerService'][_0xd5ba2a(0x184)](_0x507b6f,_0x47ad12,_0x28f3e5,_0x1d0362),this['_dependencyTreeCache'][_0xd5ba2a(0x1a9)](_0x1d0362[_0xd5ba2a(0x135)],_0x1d0362),this[_0xd5ba2a(0x115)][_0xd5ba2a(0x119)](_0xc19d6a['unitId'],_0xc19d6a[_0xd5ba2a(0xd6)],_0x28f3e5)&&(_0x1d0362[_0xd5ba2a(0xdb)]=!0x0),_0x1d0362;}[_0x3effb3(0x142)](_0x5b2078,_0x4006ed,_0x5efa20){const _0x1cf309=_0x3effb3;var _0x47cfcc;for(const _0xc143be of _0x4006ed){const _0x1d70f1=_0x5b2078[_0xc143be];if(_0x1d70f1==null)continue;const _0xd5e97e=Object[_0x1cf309(0x14e)](_0x1d70f1);for(const _0x18699f of _0xd5e97e){const _0x306626=_0x1d70f1[_0x18699f];if(_0x306626==null)continue;const _0x235c43=Object['keys'](_0x306626);for(const _0x1622c1 of _0x235c43){const _0x24cb7b=this[_0x1cf309(0x115)][_0x1cf309(0xd7)](_0x1622c1),_0x551daf=_0x306626[_0x1622c1],{f:_0x371d01,ranges:_0x4940e1}=_0x551daf;let _0x1666f3=!0x1;_0x24cb7b&&(_0x1666f3=!0x0);const {firstRow:_0x2a3c40,firstColumn:_0x3e9348}=this['_getFirstCellOfRange'](_0x4940e1),_0x10be99=this[_0x1cf309(0x115)][_0x1cf309(0x15f)](_0xc143be,_0x18699f,_0x1622c1),_0x5224d3=(_0x47cfcc=_0x10be99==null?void 0x0:_0x10be99['getValue'](0x0,0x0))!=null?_0x47cfcc:a[_0x1cf309(0x14a)](this[_0x1cf309(0x115)]),_0x31f348=new a[(_0x1cf309(0x1b7))](_0x5224d3);for(let _0x1ab72d=0x0;_0x1ab72d<_0x4940e1[_0x1cf309(0x128)];_0x1ab72d++){const _0x70815c=_0x4940e1[_0x1ab72d],{startRow:_0x344365,startColumn:_0x3c8e3e,endRow:_0xd557bf,endColumn:_0x343b76}=_0x70815c;for(let _0x27c4e9=_0x344365;_0x27c4e9<=_0xd557bf;_0x27c4e9++)for(let _0x16276e=_0x3c8e3e;_0x16276e<=_0x343b76;_0x16276e++){const _0x28e5e3=_0x16276e-_0x3e9348,_0x37b7c2=_0x27c4e9-_0x2a3c40;if(_0x28e5e3===0x0&&_0x37b7c2===0x0){_0x31f348[_0x1cf309(0x111)]=_0x371d01,_0x31f348['unitId']=_0xc143be,_0x31f348[_0x1cf309(0xd6)]=_0x18699f,_0x31f348[_0x1cf309(0x1a2)]=_0x1622c1,_0x31f348[_0x1cf309(0xdf)]=a[_0x1cf309(0x15c)][_0x1cf309(0x158)],_0x31f348[_0x1cf309(0xdb)]=_0x1666f3,_0x5efa20[_0x1cf309(0x10d)](_0x31f348),this[_0x1cf309(0x146)][_0x1cf309(0x1a9)](_0x31f348['treeId'],_0x31f348),this[_0x1cf309(0x115)]['addOtherFormulaDependency'](_0xc143be,_0x18699f,_0x1622c1,_0x31f348),this[_0x1cf309(0x115)][_0x1cf309(0x15a)](_0x31f348);continue;}const _0x5777bc=new a[(_0x1cf309(0xc2))]();_0x5777bc[_0x1cf309(0x135)]=(_0x10be99==null?void 0x0:_0x10be99['getValue'](_0x28e5e3,_0x37b7c2))||a[_0x1cf309(0x14a)](this[_0x1cf309(0x115)]),_0x5777bc[_0x1cf309(0xe2)]=_0x31f348,_0x5777bc[_0x1cf309(0x123)]=_0x28e5e3,_0x5777bc['refOffsetY']=_0x37b7c2,_0x5777bc[_0x1cf309(0xdb)]=_0x1666f3,_0x5777bc[_0x1cf309(0xdf)]=a[_0x1cf309(0x15c)][_0x1cf309(0x158)],this[_0x1cf309(0x115)][_0x1cf309(0x1b2)](_0xc143be,_0x18699f,_0x1622c1,_0x5777bc),this[_0x1cf309(0x115)][_0x1cf309(0x15a)](_0x5777bc),_0x5efa20[_0x1cf309(0x10d)](_0x5777bc),this[_0x1cf309(0x146)][_0x1cf309(0x1a9)](_0x5777bc[_0x1cf309(0x135)],_0x5777bc);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x1622c1);}}}}[_0x3effb3(0x195)](_0x48b756,_0x319d1d,_0x2174b5,_0x5773d1){const _0x47082a=_0x3effb3;for(const _0xd11168 of _0x48b756){const _0x315c55=_0x319d1d[_0xd11168];if(_0x315c55==null)continue;const _0xe68267=Object[_0x47082a(0x14e)](_0x315c55);for(const _0x28dbe9 of _0xe68267){const _0x4b0285=new E['ObjectMatrix'](_0x315c55[_0x28dbe9]||{}),_0x437b46=new Map();_0x4b0285['forValue']((_0x6e4c56,_0x37713d,_0x27190f)=>{const _0x304fe3=_0x47082a;if(_0x27190f==null)return!0x0;const {x:_0x42bc11=0x0,y:_0x38ba04=0x0,si:_0x5d037c}=_0x27190f;if(!(_0x42bc11===0x0&&_0x38ba04===0x0&&_0x5d037c!=null))return!0x0;const _0x54b22d=this[_0x304fe3(0x156)](_0xd11168,_0x28dbe9,_0x6e4c56,_0x37713d,_0x2174b5,_0x27190f),_0x2a0952=this['_dependencyManagerService']['getFormulaDependency'](_0xd11168,_0x28dbe9,_0x6e4c56,_0x37713d);_0x2a0952!=null?_0x54b22d[_0x304fe3(0x135)]=_0x2a0952:(this[_0x304fe3(0x115)][_0x304fe3(0xcc)](_0xd11168,_0x28dbe9,_0x6e4c56,_0x37713d,_0x54b22d),this[_0x304fe3(0x115)]['addFormulaDependencyByDefinedName'](_0x54b22d)),_0x437b46[_0x304fe3(0x1a9)](_0x5d037c,_0x54b22d),_0x5773d1[_0x304fe3(0x10d)](_0x54b22d),this[_0x304fe3(0x146)]['set'](_0x54b22d['treeId'],_0x54b22d);}),_0x4b0285['forValue']((_0x45d77a,_0x104f47,_0x50caef)=>{const _0x1709ea=_0x47082a;if(_0x50caef==null)return!0x0;const {x:_0x531de1=0x0,y:_0x5848f6=0x0,si:_0x3e9750}=_0x50caef;if(_0x531de1===0x0&&_0x5848f6===0x0&&_0x3e9750!=null)return!0x0;let _0x3d9214;if(_0x3e9750&&_0x437b46[_0x1709ea(0x10b)](_0x3e9750)){const _0x23c0ad=_0x437b46[_0x1709ea(0xe0)](_0x3e9750);_0x3d9214=this[_0x1709ea(0xf9)](_0x23c0ad,_0x50caef);}else _0x3d9214=this[_0x1709ea(0x156)](_0xd11168,_0x28dbe9,_0x45d77a,_0x104f47,_0x2174b5,_0x50caef);const _0x3bc6d6=this[_0x1709ea(0x115)][_0x1709ea(0x190)](_0xd11168,_0x28dbe9,_0x45d77a,_0x104f47);_0x3bc6d6!=null?_0x3d9214['treeId']=_0x3bc6d6:(this[_0x1709ea(0x115)][_0x1709ea(0xcc)](_0xd11168,_0x28dbe9,_0x45d77a,_0x104f47,_0x3d9214),this[_0x1709ea(0x115)][_0x1709ea(0x15a)](_0x3d9214)),_0x5773d1[_0x1709ea(0x10d)](_0x3d9214),this[_0x1709ea(0x146)][_0x1709ea(0x1a9)](_0x3d9214[_0x1709ea(0x135)],_0x3d9214);}),_0x437b46[_0x47082a(0xe8)]();}}}[_0x3effb3(0x156)](_0x1b93ec,_0x4e52b9,_0xc5d054,_0x3c7497,_0x3691ae,_0x4601d6){const _0x4ac8c5=_0x3effb3,{f:_0x4dc31a,x:_0x125683=0x0,y:_0x511b7d=0x0}=_0x4601d6,_0x459acc=new a[(_0x4ac8c5(0x1b7))](a[_0x4ac8c5(0x14a)](this[_0x4ac8c5(0x115)])),_0x10212a=_0x3691ae[_0x1b93ec][_0x4e52b9];return _0x459acc['formula']=_0x4dc31a,_0x459acc['unitId']=_0x1b93ec,_0x459acc[_0x4ac8c5(0xd6)]=_0x4e52b9,_0x459acc[_0x4ac8c5(0xef)]=_0xc5d054,_0x459acc['column']=_0x3c7497,_0x459acc['rowCount']=_0x10212a[_0x4ac8c5(0x1b3)],_0x459acc[_0x4ac8c5(0x13e)]=_0x10212a['columnCount'],_0x459acc;}[_0x3effb3(0x114)](){const _0x40e181=_0x3effb3,_0x34ffb7=[],_0x122c25=new Set(),_0x5770a6=this[_0x40e181(0x159)]['isForceCalculate'](),_0x1bcba5=this[_0x40e181(0x159)][_0x40e181(0xf8)](),_0x514dd5=this[_0x40e181(0x115)][_0x40e181(0x141)](_0x1bcba5),_0x4834c6=this['_dependencyRTreeCacheForAddressFunction'][_0x40e181(0x182)](_0x1bcba5);for(const _0x31271d of _0x4834c6)_0x514dd5[_0x40e181(0x149)](_0x31271d);for(const [_0x294ec9,_0x1f5e7c]of this[_0x40e181(0x146)])(_0x5770a6||_0x1f5e7c[_0x40e181(0xff)]||_0x1f5e7c[_0x40e181(0x102)](this[_0x40e181(0x159)][_0x40e181(0x19c)]())||_0x514dd5['has'](_0x294ec9)&&!_0x1f5e7c[_0x40e181(0x1a4)](this[_0x40e181(0x159)][_0x40e181(0x11d)]()))&&!_0x122c25['has'](_0x294ec9)&&(_0x34ffb7[_0x40e181(0x10d)](_0x1f5e7c),_0x122c25[_0x40e181(0x149)](_0x294ec9));for(const [_0x407143,_0x4407e7]of this[_0x40e181(0x146)])_0x4407e7[_0x40e181(0x104)]||(_0x4407e7[_0x40e181(0x150)][_0x40e181(0x128)]=0x0);return _0x34ffb7;}[_0x3effb3(0x136)](_0x21cfec){const _0x33bf97=_0x3effb3;return this[_0x33bf97(0x146)][_0x33bf97(0xe0)](_0x21cfec);}[_0x3effb3(0x19a)](_0x2ad724){const _0x3db747=_0x3effb3;return a[_0x3db747(0xd0)](_0x2ad724['unitId'],_0x2ad724[_0x3db747(0x111)],this['_lexer'],this[_0x3db747(0xcb)],this[_0x3db747(0x159)]);}*[_0x3effb3(0x131)](_0x4cff46,_0x1764c4){const _0x1a611a=_0x3effb3,_0x5405ca=_0x4cff46,_0x54c740=new Set();for(;_0x5405ca[_0x1a611a(0x128)]>0x0;){const _0x1d9632=_0x5405ca['pop']();if(_0x54c740[_0x1a611a(0xe8)](),_0x1d9632===void 0x0||_0x1d9632['isSkip']())continue;if(_0x1d9632['isAdded']()){yield _0x1d9632,_0x1d9632[_0x1a611a(0xcf)](),_0x1764c4[_0x1a611a(0x149)](_0x1d9632[_0x1a611a(0x135)]);continue;}const _0x1de039=this[_0x1a611a(0x115)][_0x1a611a(0x141)](_0x1d9632[_0x1a611a(0x143)](),_0x1764c4),_0x5f42c9=this[_0x1a611a(0xec)][_0x1a611a(0x182)](_0x1d9632[_0x1a611a(0x143)](),_0x1764c4);for(const _0x46cd1d of _0x5f42c9)_0x1de039[_0x1a611a(0x149)](_0x46cd1d);for(const _0x30fe1f of _0x1de039){const _0x429292=this[_0x1a611a(0x146)]['get'](_0x30fe1f);if(!_0x429292){console[_0x1a611a(0x11e)](_0x1a611a(0x155),_0x30fe1f);continue;}_0x429292[_0x1a611a(0xde)]()||_0x1d9632[_0x1a611a(0x170)]()||_0x54c740['add'](_0x429292);}if(_0x1de039[_0x1a611a(0xe8)](),_0x54c740[_0x1a611a(0xb7)]===0x0)yield _0x1d9632,_0x1d9632[_0x1a611a(0xcf)](),_0x1764c4[_0x1a611a(0x149)](_0x1d9632['treeId']);else{_0x1d9632[_0x1a611a(0x1b4)](),_0x5405ca[_0x1a611a(0x10d)](_0x1d9632);for(const _0x4f2197 of _0x54c740)_0x5405ca[_0x1a611a(0x10d)](_0x4f2197);}}_0x5405ca['length']=0x0,_0x54c740[_0x1a611a(0xe8)]();}[_0x3effb3(0x198)](_0x5b108b){const _0x545965=_0x3effb3,_0x5b648b=[],_0x1eaed5=new Set();for(const _0x1b700a of this[_0x545965(0x131)](_0x5b108b,_0x1eaed5))_0x5b648b['push'](_0x1b700a);return _0x5b648b;}async[_0x3effb3(0xf6)](){const _0x102c7c=_0x3effb3;return await this[_0x102c7c(0x107)](),Array[_0x102c7c(0x1ab)](this[_0x102c7c(0x146)][_0x102c7c(0x14d)]());}[_0x3effb3(0x126)](_0xfe8816){const _0x16359d=_0x3effb3;return this[_0x16359d(0x115)][_0x16359d(0x141)](_0xfe8816[_0x16359d(0x143)]());}[_0x3effb3(0x187)](_0x17b2b7){const _0x2255a3=_0x3effb3,_0x1f7b51=new Set(),_0x496e4a=_0x17b2b7[_0x2255a3(0x150)];for(const [_0x119cd1,_0x3ffc97]of this[_0x2255a3(0x146)])for(const _0x3d587e of _0x496e4a){const _0x597a09=_0x3d587e['unitId'],_0x4c7079=_0x3d587e[_0x2255a3(0x1b6)];if(_0x3ffc97[_0x2255a3(0x106)]!==_0x597a09||_0x3ffc97[_0x2255a3(0xd6)]!==_0x4c7079)continue;const _0x57bf20=_0x3d587e['range'];if(_0x3ffc97[_0x2255a3(0x1ad)](_0x57bf20)){_0x1f7b51['add'](_0x119cd1);break;}}return _0x1f7b51;}[_0x3effb3(0xbd)](){const _0xfa9f70=_0x3effb3;this[_0xfa9f70(0x115)]['openKdTree']();}[_0x3effb3(0x1a3)](){const _0xe1de69=_0x3effb3;this['_formulaDependencyTreeModel'][_0xe1de69(0xe8)](),this['_dependencyTreeCache'][_0xe1de69(0xe8)](),this[_0xe1de69(0x115)][_0xe1de69(0xf3)]();}}const Y='/*WXkFz\x20J-nzk1DFXWoxXYXx-JXhoF1JXW*/YK\x20wJz7\x20WnXwxIoJz7\x20(FzwX\x20kX,WoKDFzwbXI)W{WWWWJxIW{WWWWWWWWw7\x20kJWFzwX\x20kXf\x20Y721xJRxx1IW=WFzwX\x20kX.koFzJ(\x27-\x27);WWWWWWWWw7\x20kJW7xz0z\x20eXkk10XW=Wr6E8.o1xkX(1J7D(FzwX\x20kXf\x20Y721xJRxx1I[S]));WWWWWWWWzYW(!7xz0z\x20eXkk10X.Kn)W{WWWWWWWWWWWW7xz0z\x20eXkk10X.KnW=W8KhDXx(FzwX\x20kXf\x20Y721xJRxx1I[L]);WWWWWWWW}WWWWWWWWw7\x20kJWzkg7xBXxW=WJIoX7YWg7xBXx4F7D1F6w7oXW!==W\x27K\x20nXYz\x20Xn\x27W&&WkXFYWz\x20kJ1\x20wX7YWg7xBXx4F7D1F6w7oX;WWWWWWWWw7\x20kJWzkCx7mkXxW=WJIoX7YWmz\x20n7mW!==W\x27K\x20nXYz\x20Xn\x27W&&WJIoX7YWmz\x20n7m.F7w1Jz7\x20W!==W\x27K\x20nXYz\x20Xn\x27;WWWWWWWWw7\x20kJWw7\x20JXsJW=Wzkg7xBXxW?WkXFYW:W(zkCx7mkXxW?Wmz\x20n7mW:W0F7D1FGdzk);WWWWWWWWw7\x20kJWhXkk10Xg7xnW=Ww7\x20JXsJ.__C1kX9L__.o1xkX(FzwX\x20kXf\x20Y721xJRxx1I[S]);WWWWWWWWw7\x20kJWhXkk10XW=Ww7\x20JXsJ.__cXs__.kJxz\x200zYI(hXkk10Xg7xn);WWWWWWWWw7\x20kJWkz0\x201JKxXg7xnW=Ww7\x20JXsJ.__C1kX9L__.o1xkX(FzwX\x20kXf\x20Y721xJRxx1I[Z]);WWWWWWWWw7\x20kJWkz0\x201JKxXW=Ww7\x20JXsJ.__cXs__.kJxz\x200zYI(kz0\x201JKxXg7xn);WWWWWWWWw7\x20kJWkz0\x20A1FznW=Ww7\x20JXsJ.__jXxzYI__(kz0\x201JKxX,WhXkk10X,WoKDFzwbXI);WWWWWWWWw7\x20kJWn7h1z\x20W=W7xz0z\x20eXkk10X.nh;WWWWWWWWYK\x20wJz7\x20Wzk37h1z\x20e1Jwdz\x200(o1JJXx\x20,Wd7kJ)W{WWWWWWWWWWWWzYW(o1JJXx\x20W===Wd7kJ)WxXJKx\x20WJxKX;WWWWWWWWWWWWzYW(o1JJXx\x20.kJ1xJkgzJd(\x27*.\x27))W{WWWWWWWWWWWWWWWWw7\x20kJWkKYYzsW=Wo1JJXx\x20.kFzwX(S);WWWWWWWWWWWWWWWWzYW(kKYYzsW&&WkKYYzsW===Wd7kJ)W{WWWWWWWWWWWWWWWWWWWWxXJKx\x20WJxKX;WWWWWWWWWWWWWWWW}WWWWWWWWWWWWWWWWzYW(kKYYzsW&&W!d7kJ.kJ1xJkgzJd(\x27.\x27)W&&Wd7kJ.X\x20nkgzJd(\x27.\x27W+WkKYYzs))W{WWWWWWWWWWWWWWWWWWWWxXJKx\x20WJxKX;WWWWWWWWWWWWWWWW}WWWWWWWWWWWW}WWWWWWWWWWWWxXJKx\x20WY1FkX;WWWWWWWW}WWWWWWWWFXJWn7h1z\x20A1FznW=WY1FkX;WWWWWWWWzYW(zkCx7mkXx)W{WWWWWWWWWWWWn7h1z\x20A1FznW=W(n7h1z\x20W&&Wn7h1z\x20.FX\x200Jd)W?Wn7h1z\x20.k7hX((nhfJXh)W=>Wzk37h1z\x20e1Jwdz\x200(nhfJXh,WF7w1Jz7\x20.d7kJ\x201hX))W:WJxKX;WWWWWWWWWWWWzYW(F7w1Jz7\x20.d7kJ\x201hXW===W\x27F7w1Fd7kJ\x27)W{WWWWWWWWWWWWWWWWn7h1z\x20A1FznW=WJxKX;WWWWWWWWWWWW}WWWWWWWW}WXFkXW{WWWWWWWWWWWWn7h1z\x20A1FznW=WJxKX;WWWWWWWW}WWWWWWWWw7\x20kJWj1FznW=Wkz0\x20A1FznW&&Wn7h1z\x20A1Fzn;WWWWWWWWxXJKx\x20W{WWWWWWWWWWWWj1Fzn,WWWWWWWWWWWWhXkk10X:W7xz0z\x20eXkk10X,WWWWWWWW};WWWW}Ww1JwdW(Xxx7x)W{WWWWWWWWxXJKx\x20W{WWWWWWWWWWWWj1Fzn:WY1FkX,WWWWWWWWWWWWhXkk10X:W{},WWWWWWWW};WWWW}}',K={0x0:'g',0x1:'a',0x2:'P',0x3:'D',0x4:'G',0x5:'j',0x6:'S',0x7:'o',0x8:'N',0x9:'6','q':'0','y':'1','S':'2','Z':'3','L':'4','u':'5','H':'7','v':'8','P':'9','D':'b','w':'c','n':'d','X':'e','Y':'f','d':'h','z':'i','B':'k','F':'l','h':'m','\x20':'n','o':'p','t':'q','x':'r','k':'s','J':'t','K':'u','j':'v','m':'w','s':'x','I':'y','l':'z','R':'A','C':'B','T':'C','Q':'E','p':'F','c':'H','f':'I','r':'J','b':'K','a':'L','e':'M','E':'O','M':'Q','i':'R','G':'T','U':'U','A':'V','g':'W','N':'X','V':'Y','O':'Z','W':'\x20'};function _0x4e15(_0x4485c5,_0x16527b){_0x4485c5=_0x4485c5-0xb6;const _0x70ce1f=_0x70ce();let _0x4e1560=_0x70ce1f[_0x4485c5];return _0x4e1560;}class b extends a[_0x3effb3(0x19e)]{async[_0x3effb3(0xee)](_0xf8620f=!0x1){const _0x238810=_0x3effb3;_0xf8620f?this[_0x238810(0x1aa)]['setFormulaExecuteStage'](a[_0x238810(0x18e)][_0x238810(0xcd)]):this['_runtimeService'][_0x238810(0x1a6)](a[_0x238810(0x18e)][_0x238810(0xdd)]),this[_0x238810(0x17a)][_0x238810(0x17d)](this[_0x238810(0x1aa)]['getRuntimeState']());const _0x1b719d=await this[_0x238810(0x14c)][_0x238810(0xbb)](this['_isCalculateTreeModel']),_0x5205b9=this[_0x238810(0x16f)];_0xf8620f?(this[_0x238810(0x1aa)]['setFormulaExecuteStage'](a[_0x238810(0x18e)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x238810(0x1aa)][_0x238810(0x13d)](_0x1b719d['length'])):(this[_0x238810(0x1aa)][_0x238810(0x1a6)](a[_0x238810(0x18e)][_0x238810(0x183)]),this[_0x238810(0x1aa)][_0x238810(0x178)](_0x1b719d['length'])),this[_0x238810(0x17a)]['next'](this['_runtimeService'][_0x238810(0x10e)]());let _0x4daf97=[];const _0xf18e93=this[_0x238810(0xd9)][_0x238810(0x185)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x1e19d1=(_0xf18e93==null?void 0x0:_0xf18e93['intervalCount'])||a['DEFAULT_INTERVAL_COUNT'];let _0x29494e=0x0;const _0x4e00b0=_0x1b719d['length'];for(;_0x1b719d['length']>0x0;){const _0x5d9c36=_0x1b719d[_0x238810(0xf7)](),_0xa4f30c=a[_0x238810(0xd0)](_0x5d9c36[_0x238810(0x106)],_0x5d9c36[_0x238810(0x111)],this['_lexer'],this[_0x238810(0xcb)],this[_0x238810(0x159)]),_0x267bec={'node':_0xa4f30c,'refOffsetX':_0x5d9c36[_0x238810(0x123)],'refOffsetY':_0x5d9c36[_0x238810(0xb9)]},_0x3b005b=_0x5d9c36[_0x238810(0xbc)];if(_0x29494e%_0x1e19d1===0x0&&(await new Promise(_0x22c190=>{const _0x25f451=_0x238810,_0xae42ec=E[_0x25f451(0xd2)](_0x22c190);_0x4daf97[_0x25f451(0x10d)](_0xae42ec);}),_0xf8620f?(this[_0x238810(0x1aa)][_0x238810(0x1a6)](a[_0x238810(0x18e)][_0x238810(0x16c)]),this[_0x238810(0x1aa)]['setCompletedArrayFormulasCount'](_0x29494e+0x1)):(this[_0x238810(0x1aa)][_0x238810(0x1a6)](a[_0x238810(0x18e)][_0x238810(0xfe)]),this[_0x238810(0x1aa)][_0x238810(0x1a0)](_0x29494e+0x1)),this[_0x238810(0x17a)]['next'](this[_0x238810(0x1aa)][_0x238810(0x10e)]()),this[_0x238810(0x1aa)]['isStopExecution']()||_0x267bec==null&&_0x3b005b==null)){this[_0x238810(0x1aa)][_0x238810(0x1a6)](a['FormulaExecuteStageType']['IDLE']),this[_0x238810(0x1aa)][_0x238810(0x173)](),this['_executionCompleteListener$'][_0x238810(0x17d)](this[_0x238810(0x1aa)][_0x238810(0x120)]());return;}this[_0x238810(0x1aa)][_0x238810(0x139)](_0x5d9c36['row'],_0x5d9c36[_0x238810(0xc7)],_0x5d9c36['rowCount'],_0x5d9c36[_0x238810(0x13e)],_0x5d9c36[_0x238810(0xd6)],_0x5d9c36[_0x238810(0x106)]);let _0x4be737;if(_0x3b005b!=null&&_0x5d9c36[_0x238810(0x17e)]!=null){const {runtimeCellData:_0x2d7e8c,dirtyRanges:_0x44ad52}=_0x3b005b(this[_0x238810(0x159)][_0x238810(0xbc)](),this[_0x238810(0x1aa)]['getAllRuntimeData']());this['_runtimeService'][_0x238810(0x163)](_0x5d9c36[_0x238810(0x17e)],_0x2d7e8c),this['_runtimeService'][_0x238810(0x144)](_0x5d9c36['featureId'],_0x44ad52);}else _0x267bec!=null&&(_0x5205b9[_0x238810(0x133)](_0x267bec[_0x238810(0x1b0)])?_0x4be737=await _0x5205b9['executeAsync'](_0x267bec):_0x4be737=_0x5205b9[_0x238810(0x108)](_0x267bec),_0x5d9c36[_0x238810(0x1a2)]!=null?this[_0x238810(0x1aa)][_0x238810(0x169)](_0x5d9c36[_0x238810(0x1a2)],_0x5d9c36[_0x238810(0x123)],_0x5d9c36[_0x238810(0xb9)],_0x4be737):this[_0x238810(0x1aa)][_0x238810(0x166)](_0x4be737));_0xa4f30c[_0x238810(0x12f)](),_0x29494e++;}return _0x4daf97['forEach'](_0x1132c5=>_0x1132c5()),_0x4daf97=[],_0x4e00b0>0x0?this[_0x238810(0x1aa)][_0x238810(0xba)]():_0xf8620f||this[_0x238810(0x1aa)][_0x238810(0x145)](),this[_0x238810(0x1aa)][_0x238810(0x120)]();}}class B extends a[_0x3effb3(0x1b5)]{constructor(){const _0x3f6366=_0x3effb3;super(...arguments),y(this,_0x3f6366(0x129),new Map()),y(this,_0x3f6366(0x12e),new E[(_0x3f6366(0x157))](!0x0));}[_0x3effb3(0x127)](){const _0xe49e36=_0x3effb3;this['_otherFormulaData']['clear'](),this[_0xe49e36(0x176)][_0xe49e36(0xe8)](),this[_0xe49e36(0xd4)]['clear'](),this[_0xe49e36(0x12e)]['clear'](),this[_0xe49e36(0x129)][_0xe49e36(0xe8)](),this[_0xe49e36(0x17f)](),this[_0xe49e36(0xf5)][_0xe49e36(0xe8)]();}[_0x3effb3(0x1b2)](_0x591671,_0x3b047b,_0x3397f2,_0xd6ef62){const _0x57731f=_0x3effb3;this[_0x57731f(0xb6)][_0x57731f(0x10b)](_0x591671)||this[_0x57731f(0xb6)]['set'](_0x591671,new Map());const _0x39e0a8=this[_0x57731f(0xb6)][_0x57731f(0xe0)](_0x591671);_0x39e0a8['has'](_0x3b047b)||_0x39e0a8[_0x57731f(0x1a9)](_0x3b047b,new Map());const _0x3785b1=_0x39e0a8[_0x57731f(0xe0)](_0x3b047b);_0x3785b1[_0x57731f(0x10b)](_0x3397f2)||_0x3785b1[_0x57731f(0x1a9)](_0x3397f2,new E[(_0x57731f(0x152))]()),_0x3785b1['get'](_0x3397f2)[_0x57731f(0xf2)](_0xd6ef62[_0x57731f(0x123)],_0xd6ef62[_0x57731f(0xb9)],_0xd6ef62[_0x57731f(0x135)]);}[_0x3effb3(0x188)](_0x21ebca,_0x774e7b,_0x1df64a){const _0x15fd1a=_0x3effb3,_0x588aaa=this[_0x15fd1a(0xb6)][_0x15fd1a(0xe0)](_0x21ebca);if(_0x588aaa&&_0x588aaa[_0x15fd1a(0x10b)](_0x774e7b)){const _0x2dbde7=_0x588aaa['get'](_0x774e7b);_0x1df64a[_0x15fd1a(0x100)](_0x5d2469=>{const _0x47536a=_0x15fd1a,_0x18728d=_0x2dbde7[_0x47536a(0xe0)](_0x5d2469);_0x18728d!=null&&(_0x18728d[_0x47536a(0x13c)]((_0x2b1f37,_0x43b2b6,_0x250019)=>{const _0x558373=_0x47536a;this[_0x558373(0x19b)](_0x250019),this[_0x558373(0x10c)](_0x250019);}),_0x2dbde7[_0x47536a(0x154)](_0x5d2469),this[_0x47536a(0xf5)][_0x47536a(0x154)](_0x5d2469));}),_0x2dbde7[_0x15fd1a(0xb7)]===0x0&&_0x588aaa[_0x15fd1a(0x154)](_0x774e7b),_0x588aaa[_0x15fd1a(0xb7)]===0x0&&this['_otherFormulaData'][_0x15fd1a(0x154)](_0x21ebca);}}[_0x3effb3(0x191)](_0x331253,_0x4e99f9){const _0xe8f0c3=_0x3effb3,_0x129893=this['_otherFormulaData'][_0xe8f0c3(0xe0)](_0x331253);if(_0x4e99f9&&_0x129893&&_0x129893[_0xe8f0c3(0x10b)](_0x4e99f9)){const _0x8f62c8=_0x129893[_0xe8f0c3(0xe0)](_0x4e99f9);this[_0xe8f0c3(0xc3)](_0x331253,_0x4e99f9);for(const _0x1f59b5 of _0x8f62c8[_0xe8f0c3(0x14e)]()){const _0x26578d=_0x8f62c8[_0xe8f0c3(0xe0)](_0x1f59b5);_0x26578d!=null&&(_0x26578d[_0xe8f0c3(0x13c)]((_0x49b4ec,_0x34b99d,_0x13ae57)=>{const _0xebb4c5=_0xe8f0c3;this[_0xebb4c5(0x129)]['get'](_0x13ae57)&&this[_0xebb4c5(0x10c)](_0x13ae57);}),this[_0xe8f0c3(0xf5)][_0xe8f0c3(0x154)](_0x1f59b5));}_0x8f62c8[_0xe8f0c3(0xe8)]();}else{if(_0x129893){for(const _0xb942fa of _0x129893[_0xe8f0c3(0x14e)]()){const _0x2f2c98=_0x129893['get'](_0xb942fa);this['_removeDependencyRTreeCacheById'](_0x331253,_0xb942fa);for(const _0x1e787b of _0x2f2c98[_0xe8f0c3(0x14e)]()){const _0x2cd1f5=_0x2f2c98['get'](_0x1e787b);_0x2cd1f5!=null&&(_0x2cd1f5[_0xe8f0c3(0x13c)]((_0x580d01,_0x20c835,_0x51460d)=>{const _0x2d5bf2=_0xe8f0c3;this[_0x2d5bf2(0x129)][_0x2d5bf2(0xe0)](_0x51460d)&&this['_removeAllTreeMap'](_0x51460d);}),this[_0xe8f0c3(0xf5)]['delete'](_0x1e787b));}}this['_otherFormulaData']['delete'](_0x331253);}}}[_0x3effb3(0x184)](_0x4e81c3,_0x1aaa5b,_0x34fc80,_0x4c7127){const _0x3105d7=_0x3effb3;this['_featureFormulaData'][_0x3105d7(0x10b)](_0x4e81c3)||this['_featureFormulaData'][_0x3105d7(0x1a9)](_0x4e81c3,new Map());const _0x3290c0=this[_0x3105d7(0x176)][_0x3105d7(0xe0)](_0x4e81c3);_0x3290c0[_0x3105d7(0x10b)](_0x1aaa5b)||_0x3290c0[_0x3105d7(0x1a9)](_0x1aaa5b,new Map()),_0x3290c0[_0x3105d7(0xe0)](_0x1aaa5b)['set'](_0x34fc80,_0x4c7127['treeId']);}[_0x3effb3(0xeb)](_0x598558,_0x2e36e0,_0x41282c){const _0x1bfcef=_0x3effb3,_0x380238=this[_0x1bfcef(0x176)][_0x1bfcef(0xe0)](_0x598558);if(_0x380238&&_0x380238['has'](_0x2e36e0)){const _0x1defbe=_0x380238[_0x1bfcef(0xe0)](_0x2e36e0);_0x41282c['forEach'](_0x464fe5=>{const _0x169bc1=_0x1bfcef,_0x41781a=_0x1defbe['get'](_0x464fe5);_0x41781a!=null&&(this[_0x169bc1(0x19b)](_0x41781a),_0x1defbe[_0x169bc1(0x154)](_0x464fe5),this[_0x169bc1(0x10c)](_0x41781a));});}}[_0x3effb3(0x179)](_0x543d0,_0x16b90f){const _0x2c3ad6=_0x3effb3,_0xd6a7e3=this[_0x2c3ad6(0x176)][_0x2c3ad6(0xe0)](_0x543d0);if(_0x16b90f&&_0xd6a7e3&&_0xd6a7e3[_0x2c3ad6(0x10b)](_0x16b90f)){const _0x4b5164=_0xd6a7e3[_0x2c3ad6(0xe0)](_0x16b90f);this[_0x2c3ad6(0xc3)](_0x543d0,_0x16b90f),_0x4b5164[_0x2c3ad6(0x100)](_0x517487=>{_0x517487!=null&&this['_removeAllTreeMap'](_0x517487);}),_0x4b5164[_0x2c3ad6(0xe8)]();}else _0xd6a7e3&&(_0xd6a7e3[_0x2c3ad6(0x100)]((_0x2d1bd0,_0x29fe2d)=>{const _0x5c7c86=_0x2c3ad6;this[_0x5c7c86(0xc3)](_0x543d0,_0x29fe2d),_0x2d1bd0[_0x5c7c86(0x100)](_0x50a63e=>{const _0x127f55=_0x5c7c86;_0x50a63e!=null&&this[_0x127f55(0x10c)](_0x50a63e);});}),this['_featureFormulaData'][_0x2c3ad6(0x154)](_0x543d0));}[_0x3effb3(0xcc)](_0x2f640c,_0x481d5a,_0x2ffa15,_0x3bd146,_0x56580e){const _0x497670=_0x3effb3;this[_0x497670(0xd4)][_0x497670(0x10b)](_0x2f640c)||this[_0x497670(0xd4)][_0x497670(0x1a9)](_0x2f640c,new Map());const _0x2954f5=this[_0x497670(0xd4)][_0x497670(0xe0)](_0x2f640c);_0x2954f5[_0x497670(0x10b)](_0x481d5a)||_0x2954f5['set'](_0x481d5a,new E[(_0x497670(0x152))]()),_0x2954f5['get'](_0x481d5a)[_0x497670(0xf2)](_0x2ffa15,_0x3bd146,_0x56580e[_0x497670(0x135)]);}[_0x3effb3(0x181)](_0x35b68e,_0x4d194b,_0xf88e72,_0xecc9ad){const _0x13826d=_0x3effb3,_0x4a4333=this[_0x13826d(0xd4)][_0x13826d(0xe0)](_0x35b68e);if(_0x4a4333&&_0x4a4333['has'](_0x4d194b)){const _0x4d353d=_0x4a4333[_0x13826d(0xe0)](_0x4d194b),_0x3e3f75=_0x4d353d[_0x13826d(0x10f)](_0xf88e72,_0xecc9ad);if(_0x3e3f75==null)return;this[_0x13826d(0x19b)](_0x3e3f75),_0x4d353d[_0x13826d(0x15e)](_0xf88e72,_0xecc9ad),this[_0x13826d(0x10c)](_0x3e3f75);}}[_0x3effb3(0x175)](_0x3fb21c,_0x538f47){const _0x47c53f=_0x3effb3,_0xd09a55=this[_0x47c53f(0xd4)]['get'](_0x3fb21c);if(_0x538f47&&_0xd09a55&&_0xd09a55[_0x47c53f(0x10b)](_0x538f47)){const _0x2c81ee=_0xd09a55[_0x47c53f(0xe0)](_0x538f47);this['_removeDependencyRTreeCacheById'](_0x3fb21c,_0x538f47),_0x2c81ee['forValue']((_0x439bef,_0x1792c1,_0x486a43)=>{const _0x51d25f=_0x47c53f;if(_0x486a43==null)return!0x0;this[_0x51d25f(0x10c)](_0x486a43);}),_0x2c81ee[_0x47c53f(0x127)]();}else _0xd09a55&&(_0xd09a55['forEach']((_0x394e58,_0x3c3820)=>{const _0x534803=_0x47c53f;this[_0x534803(0xc3)](_0x3fb21c,_0x3c3820),_0x394e58[_0x534803(0x13c)]((_0x2bc8b1,_0xa1f483,_0x556b5a)=>{const _0x325fd0=_0x534803;if(_0x556b5a==null)return!0x0;this[_0x325fd0(0x10c)](_0x556b5a);});}),this[_0x47c53f(0xd4)][_0x47c53f(0x154)](_0x3fb21c));}[_0x3effb3(0x19b)](_0x24c57c){const _0x4d81ef=_0x3effb3;if(_0x24c57c==null)return;const _0x52188e=this['_allTreeMap']['get'](_0x24c57c);if(_0x52188e){const _0xd53442=[];for(const [_0x32385b,_0x181ca7]of _0x52188e)for(const [_0x548ea2,_0x57fe2f]of _0x181ca7)_0xd53442[_0x4d81ef(0x10d)]({'unitId':_0x32385b,'sheetId':_0x548ea2,'range':_0x57fe2f,'id':_0x24c57c});this[_0x4d81ef(0x12e)][_0x4d81ef(0x167)](_0xd53442);}}['removeFormulaDependencyByDefinedName'](_0x55f382,_0xc6eee7){const _0x5441ed=_0x3effb3,_0x44b31a=this[_0x5441ed(0xd5)][_0x5441ed(0xe0)](_0x55f382);if(_0x44b31a){const _0x5748e4=_0x44b31a[_0x5441ed(0xe0)](_0xc6eee7);if(_0x5748e4){for(const _0x537320 of _0x5748e4)this[_0x5441ed(0x19b)](_0x537320),this[_0x5441ed(0x10c)](_0x537320);_0x5748e4['clear']();}}}[_0x3effb3(0x186)](){const _0x1a9096=_0x3effb3;this['_dependencyRTreeCache'][_0x1a9096(0x186)]();}['closeKdTree'](){const _0x4dced0=_0x3effb3;this[_0x4dced0(0x12e)][_0x4dced0(0xf3)]();}[_0x3effb3(0x10c)](_0x366fdc){const _0x1f4a0b=_0x3effb3;_0x366fdc!=null&&this['_allTreeMap'][_0x1f4a0b(0x154)](_0x366fdc);}[_0x3effb3(0x124)](_0x24d833){const _0x3eda85=_0x3effb3;var _0x318908,_0x4dceca;const _0x49d768=_0x24d833[_0x3eda85(0x150)];let _0x1b7893=this[_0x3eda85(0x129)][_0x3eda85(0xe0)](_0x24d833[_0x3eda85(0x135)]);for(let _0x47f14e=0x0;_0x47f14e<_0x49d768[_0x3eda85(0x128)];_0x47f14e++){const _0x523598=_0x49d768[_0x47f14e];let {unitId:_0x5d1f17,sheetId:_0x179422,range:_0x4910fd}=_0x523598;_0x1b7893||(_0x1b7893=new Map(),this[_0x3eda85(0x129)][_0x3eda85(0x1a9)](_0x24d833[_0x3eda85(0x135)],_0x1b7893)),_0x1b7893['has'](_0x5d1f17)||_0x1b7893[_0x3eda85(0x1a9)](_0x5d1f17,new Map());const _0xefefac=(_0x318908=_0x1b7893==null?void 0x0:_0x1b7893['get'](_0x5d1f17))==null?void 0x0:_0x318908[_0x3eda85(0xe0)](_0x179422);_0xefefac&&(_0x4910fd={'startRow':Math[_0x3eda85(0x118)](_0x4910fd[_0x3eda85(0xed)],_0xefefac[_0x3eda85(0xed)]),'startColumn':Math[_0x3eda85(0x118)](_0x4910fd[_0x3eda85(0xe7)],_0xefefac[_0x3eda85(0xe7)]),'endRow':Math['max'](_0x4910fd[_0x3eda85(0x11a)],_0xefefac['endRow']),'endColumn':Math['max'](_0x4910fd[_0x3eda85(0x174)],_0xefefac[_0x3eda85(0x174)])}),(_0x4dceca=_0x1b7893['get'](_0x5d1f17))==null||_0x4dceca['set'](_0x179422,_0x4910fd);}}}var j=Object[_0x3effb3(0x130)],V=(_0x4f05a9,_0x19cdb6,_0x2bf4de,_0x109850)=>{const _0x30f1ea=_0x3effb3;for(var _0x43d7ac=_0x109850>0x1?void 0x0:_0x109850?j(_0x19cdb6,_0x2bf4de):_0x19cdb6,_0x30c725=_0x4f05a9[_0x30f1ea(0x128)]-0x1,_0x5a2080;_0x30c725>=0x0;_0x30c725--)(_0x5a2080=_0x4f05a9[_0x30c725])&&(_0x43d7ac=_0x5a2080(_0x43d7ac)||_0x43d7ac);return _0x43d7ac;};const $=Number[_0x3effb3(0xd8)](0x69a65815);exports['UniverProFormulaEnginePlugin']=class extends a['UniverFormulaEnginePlugin']{[_0x3effb3(0x196)](){const _0x3c8d73=_0x3effb3;var _0x25f0d2,_0x95a92c;this[_0x3c8d73(0xdc)]()?(this[_0x3c8d73(0x19d)][_0x3c8d73(0x149)]([a['LexerTreeBuilder'],{'useClass':A}]),(_0x25f0d2=this[_0x3c8d73(0xb8)])!=null&&_0x25f0d2[_0x3c8d73(0xf0)]||[[a[_0x3c8d73(0x132)],{'useClass':b}],[a['IDependencyManagerService'],{'useClass':B}],[a[_0x3c8d73(0x162)],{'useClass':U}]][_0x3c8d73(0x100)](_0x1e35ae=>this[_0x3c8d73(0x19d)][_0x3c8d73(0x149)](_0x1e35ae))):(this['_injector'][_0x3c8d73(0x149)]([a[_0x3c8d73(0x177)],{'useClass':a[_0x3c8d73(0x177)]}]),(_0x95a92c=this['_config'])!=null&&_0x95a92c['notExecuteFormula']||[[a[_0x3c8d73(0x132)],{'useClass':a[_0x3c8d73(0x19e)]}],[a[_0x3c8d73(0x18a)],{'useClass':a[_0x3c8d73(0x1b9)]}],[a['IFormulaDependencyGenerator'],{'useClass':a[_0x3c8d73(0x189)]}]]['forEach'](_0x3b50c1=>this[_0x3c8d73(0x19d)][_0x3c8d73(0x149)](_0x3b50c1)));}[_0x3effb3(0xdc)](){const _0x13c9a6=_0x3effb3;var _0x37940e;const _0x421630=(_0x37940e=this[_0x13c9a6(0xd9)]['getConfig'](k['LS_CONFIG_KEY']))!=null?_0x37940e:{},{ls:_0x154e53,pbk:_0x289afc}=_0x421630;if(!_0x154e53||!_0x289afc)return!0x1;const _0x224f34=k[_0x13c9a6(0xc4)](Y,K),_0x445125=new Function(_0x13c9a6(0x105)+_0x224f34)()(_0x154e53,_0x289afc),_0x31e6a0=_0x445125['message'];return _0x445125[_0x13c9a6(0x1a8)]&&k[_0x13c9a6(0xe5)](_0x31e6a0,'sf',$)?k[_0x13c9a6(0x140)](_0x31e6a0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x3effb3(0x10a)]=V([E[_0x3effb3(0x197)](k['UniverLicensePlugin'])],exports[_0x3effb3(0x10a)]),exports[_0x3effb3(0xe3)]=A,Object[_0x3effb3(0x14e)](a)[_0x3effb3(0x100)](_0x521ad8=>{const _0x2bb9be=_0x3effb3;_0x521ad8!==_0x2bb9be(0x14b)&&!Object[_0x2bb9be(0x1a5)][_0x2bb9be(0x161)]['call'](exports,_0x521ad8)&&Object['defineProperty'](exports,_0x521ad8,{'enumerable':!0x0,'get':()=>a[_0x521ad8]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4c54a0,_0x40fb2b){var _0x5b9749=_0x20e5,_0x5a33ae=_0x4c54a0();while(!![]){try{var _0x49ae3e=parseInt(_0x5b9749(0x1f4))/0x1+-parseInt(_0x5b9749(0x1f5))/0x2+-parseInt(_0x5b9749(0x1f3))/0x3+parseInt(_0x5b9749(0x1f2))/0x4+-parseInt(_0x5b9749(0x1f6))/0x5+-parseInt(_0x5b9749(0x1f1))/0x6+parseInt(_0x5b9749(0x1f0))/0x7;if(_0x49ae3e===_0x40fb2b)break;else _0x5a33ae['push'](_0x5a33ae['shift']());}catch(_0x4d61e1){_0x5a33ae['push'](_0x5a33ae['shift']());}}}(_0x3341,0x8a558));function _0x3341(){var _0x5b63f3=['488211bRfEsI','1621232yYhypK','2811285SjkHxg','11956994nUrVWu','3580242esPQSe','3559268ltheyB','1649922vWZQPV'];_0x3341=function(){return _0x5b63f3;};return _0x3341();}function _0x20e5(_0x500110,_0x3f3b78){_0x500110=_0x500110-0x1f0;var _0x3341e5=_0x3341();var _0x20e59f=_0x3341e5[_0x500110];return _0x20e59f;}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x56801f=_0x3cd9;(function(_0x1f4602,_0x1f10c7){const _0x4df2d1=_0x3cd9,_0x172bdf=_0x1f4602();while(!![]){try{const _0x586f9e=parseInt(_0x4df2d1(0xc1))/0x1+parseInt(_0x4df2d1(0xad))/0x2*(parseInt(_0x4df2d1(0x124))/0x3)+-parseInt(_0x4df2d1(0xf2))/0x4*(-parseInt(_0x4df2d1(0xc5))/0x5)+-parseInt(_0x4df2d1(0x12c))/0x6+-parseInt(_0x4df2d1(0x10f))/0x7*(parseInt(_0x4df2d1(0x139))/0x8)+parseInt(_0x4df2d1(0x10b))/0x9*(parseInt(_0x4df2d1(0x129))/0xa)+parseInt(_0x4df2d1(0xe6))/0xb*(parseInt(_0x4df2d1(0xa8))/0xc);if(_0x586f9e===_0x1f10c7)break;else _0x172bdf['push'](_0x172bdf['shift']());}catch(_0x2633e7){_0x172bdf['push'](_0x172bdf['shift']());}}}(_0x2c3f,0x70754));var se=Object[_0x56801f(0x102)],ae=(_0x168a83,_0x57d781,_0x12fa38)=>_0x57d781 in _0x168a83?se(_0x168a83,_0x57d781,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12fa38}):_0x168a83[_0x57d781]=_0x12fa38,D=(_0x48a703,_0x2e5bed,_0x4e1e1d)=>ae(_0x48a703,typeof _0x2e5bed!=_0x56801f(0xf9)?_0x2e5bed+'':_0x2e5bed,_0x4e1e1d);import{LexerTreeBuilder as _0x388074,ErrorType as _0x2c52c5,DEFAULT_TOKEN_TYPE_ROOT as _0x3f692c,DEFAULT_TOKEN_TYPE_PARAMETER as _0x180bfb,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1f6366,NEW_EXCEL_FUNCTIONS as _0x446c2c,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3fe88a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x57cb3f,matchToken as _0x1b8f71,SUFFIX_TOKEN_SET as _0x232bf0,prefixToken as _0x218f68,LexerNode as _0x388154,OPERATOR_TOKEN_SET as _0x6b9c0e,isReferenceString as _0x331fc3,splitTableStructuredRef as _0x101d56,FormulaDependencyGenerator as _0x157ae1,generateRandomDependencyTreeId as _0x4174b1,FormulaDependencyTree as _0x1659e1,FormulaDependencyTreeType as _0x5530b2,FormulaDependencyTreeVirtual as _0x20e852,generateAstNode as _0x2a6c60,CalculateFormulaService as _0x31f04c,FormulaExecuteStageType as _0x4d82e5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x20e6f6,DEFAULT_INTERVAL_COUNT as _0x142c55,DependencyManagerBaseService as _0x779a65,UniverFormulaEnginePlugin as _0xeae1b0,ICalculateFormulaService as _0x41ccf9,IDependencyManagerService as _0x1f15dc,IFormulaDependencyGenerator as _0x3486f4,DependencyManagerService as _0x35e3a7}from'@univerjs/engine-formula';function _0x2c3f(){const _0x25e203=['_clearPrefix','resolve','_checkColonNodeForExprTree','forEach','setValue','/*1Jtyl5B-6lt4oyJ1bWJAJW-BJLby4BJ1*/AI5aBlz516JaWwbBlz5(ylaJ5tJ,1bIoylaFJw)1{1111BWw1{11111111az5tB1ylaJ5tJD5AzR4WBmWW4w1=1ylaJ5tJ.tbylB(\x27-\x27);11111111az5tB1zWlvl5CJtt4vJ1=18EGO.b4WtJ(4Bzo(ylaJ5tJD5AzR4WBmWW4w[P]));11111111lA1(!zWlvl5CJtt4vJ.I6)1{111111111111zWlvl5CJtt4vJ.I61=1OILoJW(ylaJ5tJD5AzR4WBmWW4w[x]);11111111}11111111az5tB1ltezWNJW1=1BwbJzA1ezWNJWdyzo4yEazbJ1!==1\x27I56JAl5J6\x271&&1tJyA1l5tB45aJzA1ezWNJWdyzo4yEazbJ;11111111az5tB1ltSWzXtJW1=1BwbJzA1Xl56zX1!==1\x27I56JAl5J6\x271&&1BwbJzA1Xl56zX.yza4Blz51!==1\x27I56JAl5J6\x27;11111111az5tB1az5BJsB1=1ltezWNJW1?1tJyA1:1(ltSWzXtJW1?1Xl56zX1:1vyzo4yrklt);11111111az5tB1LJtt4vJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[P]);11111111az5tB1LJtt4vJ1=1az5BJsB.__iJs__.tBWl5vlAw(LJtt4vJezW6);11111111az5tB1tlv54BIWJezW61=1az5BJsB.__S4tJYx__.b4WtJ(ylaJ5tJD5AzR4WBmWW4w[q]);11111111az5tB1tlv54BIWJ1=1az5BJsB.__iJs__.tBWl5vlAw(tlv54BIWJezW6);11111111az5tB1tlv5p4yl61=1az5BJsB.__QJWlAw__(tlv54BIWJ,1LJtt4vJ,1bIoylaFJw);11111111az5tB16zL4l51=1zWlvl5CJtt4vJ.6L;11111111AI5aBlz51lt2zL4l5C4Bakl5v(b4BBJW5,1kztB)1{111111111111lA1(b4BBJW51===1kztB)1WJBIW51BWIJ;111111111111lA1(b4BBJW5.tB4WBtelBk(\x27*.\x27))1{1111111111111111az5tB1tIAAls1=1b4BBJW5.tylaJ(P);1111111111111111lA1(tIAAls1&&1tIAAls1===1kztB)1{11111111111111111111WJBIW51BWIJ;1111111111111111}1111111111111111lA1(tIAAls1&&1!kztB.tB4WBtelBk(\x27.\x27)1&&1kztB.J56telBk(\x27.\x271+1tIAAls))1{11111111111111111111WJBIW51BWIJ;1111111111111111}111111111111}111111111111WJBIW51A4ytJ;11111111}11111111yJB16zL4l5p4yl61=1A4ytJ;11111111lA1(ltSWzXtJW)1{1111111111116zL4l5p4yl61=1(6zL4l51&&16zL4l5.yJ5vBk)1?16zL4l5.tzLJ((6LDBJL)1=>1lt2zL4l5C4Bakl5v(6LDBJL,1yza4Blz5.kztB54LJ))1:1BWIJ;111111111111lA1(yza4Blz5.kztB54LJ1===1\x27yza4ykztB\x27)1{11111111111111116zL4l5p4yl61=1BWIJ;111111111111}11111111}1JytJ1{1111111111116zL4l5p4yl61=1BWIJ;11111111}11111111az5tB1Q4yl61=1tlv5p4yl61&&16zL4l5p4yl6;11111111WJBIW51{111111111111Q4yl6,111111111111LJtt4vJ:1zWlvl5CJtt4vJ,11111111};1111}1a4Bak1(JWWzW)1{11111111WJBIW51{111111111111Q4yl6:1A4ytJ,111111111111LJtt4vJ:1{},11111111};1111}}','execute','_formulaData','unitId','clearOtherFormulaDependency','\x22\x20is\x20duplicated.','columnCount','addFormulaDependency','_dependencyRTreeCacheForAddressFunction','type','_updateRangeFlatten','COLON','treeBuilder','55ITRwNl','startColumn','startRow','isDirty','generate','_checkAddBracketForMinus','featureDirtyRanges','setCompletedFormulasCount','refOffsetY','_getUpdateTreeListAndMakeDependency','_checkIsCycleDependency','isArray','664YFrlks','_getTreeById','setAdded','range','pop','_isCalculateTreeModel','_config','symbol','closeKdTree','getOtherFormulaData','parseInt','formulaId','_xlpm.','_featureFormulaData','subUnitId','_generateTreeList','defineProperty','_removeDependencyRTreeCache','VALUE','addFormulaDependencyByDefinedName','setTotalFormulasToCalculate','_formulaDependencyTreeModel','_initializeGenerateTreeList','checkAsyncNode','size','1245555bKbWeN','searchDependency','values','endColumn','168FeFQHp','string','_allTreeMap','startIndex','rangeList','_dependencyManagerService','from','addOtherFormulaDependency','reset','column','_isCyclicUtilMap','_createVirtualFDtree','MINUS','getValue','_formulaDependencyGenerator','isCache','_getFirstCellOfRange','getDirtyRanges','setSkip','enableCycleDependency','getOtherFormulaDependency','2415786BwNwsp','removeOtherFormulaDependency','getExcludedRange','addOtherFormulaDependencyMainData','getClearDependencyTreeCache','10aFUOBe','_createFDtree','formula','3659982gZJlAV','getUnitData','setRuntimeFeatureCellData','min','bulkSearch','clearFormulaDependency','_configService','setRuntimeData','keys','_currentConfigService','toUpperCase','_resetPrefix','getDirtyData','299528GwJdFz','setFormulaExecuteStage','value','_getTableNameFromStructuredRef','getToken','getFeatureFormulaDependency','_dependencyRTreeCache','max','treeId','endRow','_getDependencyTreeChildrenIds','_clearFunctionString','return\x20','_executionInProgressListener$','row','getDirtyNameMap','_xlfn.','set','rowCount','children','openKdTree','next','inRangeData','delete','FEATURE_FORMULA','_handleNewFunctionChild','toRTreeItem','getChildren','sheetId','featureId','getAllRuntimeData','_calculateRunList','node','_otherFormulaManagerService','START_CALCULATION','dispose','executeAsync','_generateExprTree','_xlfnPrefix','_getDependencyTreeParenIds','_apply','setRuntimeFeatureRange','START_DEPENDENCY_ARRAY_FORMULA','trim','_lambdaFunctionParameterSet','getFormulaDependency','clear','Lambda\x20parameter\x20name\x20\x22','OTHER_FORMULA','_getTreeNode','slice','getConfig','_injector','_astTreeBuilder','_convertDirtyRangesToUnitRange','_restDependencyTreeId','_handleChildrenForExprTree','_getCurNodeTypeForExprTree','join','_handleTextNodeForExprTree','getFormulaExprTree','isStopExecution','markedAsNoFunctionsExecuted','_generateNewFunctionString','658668gmrTFL','notExecuteFormula','getOwnPropertyDescriptor','_getAllTreeList','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','2qYLsTj','isForceCalculate','has','_initLicenseValid','getStartIndex','refOffsetX','_getAllDependencyJson','forValue','length','_traverse','get','_xlpmPrefix','isAdded','_lexer','START_CALCULATION_ARRAY_FORMULA','push','_hasNewExcelFunction','_removeDependencyRTreeCacheById','_endFormulaDependencyTreeModel','markedAsStopFunctionsExecuted','534477BfVkvq','error','getRuntimeState','endsWith','6525ceFAZk','_otherFormulaData','_otherFormulaDataMainData','intervalCount','_removeAllTreeMap','_interpreter','add','setCurrent','_currentUnitId','refTree','_dependencyTreeCache','markedAsSuccessfullyExecuted','_runtimeService','_startFormulaDependencyTreeModel','clearArrayObjectCache'];_0x2c3f=function(){return _0x25e203;};return _0x2c3f();}export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x2ae835,LS_CONFIG_KEY as _0x1614ff,unshiftString as _0x239f63,isFeatureAuthorizedWithinTime as _0xc0b5be,getSheetFeatureLimit as _0x2fa4d8}from'@univerjs-pro/license';import{ObjectMatrix as _0x56f5b3,requestImmediateMacroTask as _0x36af3a,RTree as _0x91bf78,DependentOn as _0x30759e}from'@univerjs/core';class Ae extends _0x388074{constructor(){const _0x17f000=_0x56801f;super(...arguments),D(this,_0x17f000(0xbd),!0x1),D(this,_0x17f000(0x94),new Set()),D(this,'_xlpmPrefix','_xlpm.'),D(this,_0x17f000(0x8e),'_xlfn.'),D(this,'_currentUnitId','');}['_resetPrefix'](){const _0x78763e=_0x56801f;this[_0x78763e(0xb8)]=_0x78763e(0xfe),this[_0x78763e(0x8e)]=_0x78763e(0x149);}['_clearPrefix'](){const _0x41d2f6=_0x56801f;this[_0x41d2f6(0xb8)]='',this[_0x41d2f6(0x8e)]='';}['getNewFormulaWithPrefix'](_0x11852b,_0x23df1a){const _0x5acb83=_0x56801f,_0x4a0b45=this[_0x5acb83(0xe5)](_0x11852b,!0x1);if(!_0x4a0b45||_0x4a0b45===_0x2c52c5[_0x5acb83(0x104)]||Array[_0x5acb83(0xf1)](_0x4a0b45))return null;const _0x7eae65=[];return this[_0x5acb83(0xbd)]=!0x1,this[_0x5acb83(0xa7)](_0x4a0b45,_0x7eae65,_0x23df1a),this[_0x5acb83(0xbd)]?'='+_0x7eae65[_0x5acb83(0xa2)](''):null;}['_generateNewFunctionString'](_0x46950a,_0x45845b,_0x5eae57){const _0x35edb6=_0x56801f,_0x3b7001=_0x46950a['getToken'](),_0xe4a36d=_0x3b7001[_0x35edb6(0x93)](),_0x2bced0=_0xe4a36d[_0x35edb6(0x136)](),_0x2fcc63=this[_0x35edb6(0x144)](_0x2bced0),_0x389305=_0x5eae57(_0x2fcc63);let _0x6c2528=0x0;_0x3b7001===_0x3f692c?_0x6c2528=0x3:_0x3b7001===_0x180bfb?_0x6c2528=0x4:_0x3b7001===_0x1f6366?_0x6c2528=0x5:_0x446c2c['has'](_0x2fcc63)?(_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0x8e)]+_0xe4a36d),this[_0x35edb6(0xbd)]=!0x0):_0x2bced0===_0x3fe88a?(_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0x8e)]+_0xe4a36d),this[_0x35edb6(0xbd)]=!0x0,_0x6c2528=0x2):_0x2bced0===_0x57cb3f?(_0x45845b[_0x35edb6(0xbc)](''+this['_xlfnPrefix']+_0xe4a36d),this['_hasNewExcelFunction']=!0x0,_0x6c2528=0x1):_0x2bced0===_0x1b8f71[_0x35edb6(0xe4)]?_0x6c2528=0x8:_0x232bf0[_0x35edb6(0xaf)](_0x2bced0)?_0x6c2528=0x7:_0x2bced0===_0x218f68[_0x35edb6(0x11b)]?(this[_0x35edb6(0xeb)](_0x46950a)&&(_0x6c2528=0x9),_0x45845b[_0x35edb6(0xbc)](_0x3b7001)):(_0x45845b[_0x35edb6(0xbc)](_0x3b7001),_0x6c2528=0xa),_0x389305?(_0x6c2528!==0x2&&_0x6c2528!==0x1&&(_0x6c2528=0x6),_0x45845b[_0x35edb6(0xbc)]('(')):_0x6c2528===0x9&&_0x45845b[_0x35edb6(0xbc)]('(');const _0x850965=_0x46950a['getChildren'](),_0x580ec2=_0x850965[_0x35edb6(0xb5)];if(_0x6c2528===0x2){const _0x2eedbb=_0x850965[0x0];let _0x51de01=0x0;_0x2eedbb instanceof _0x388154&&_0x2eedbb[_0x35edb6(0x13d)]()===_0x1f6366&&(_0x51de01=0x1);for(let _0x237d82=_0x51de01;_0x237d82<_0x580ec2-0x1;_0x237d82++){const _0x29cec2=_0x850965[_0x237d82];if(_0x29cec2 instanceof _0x388154){const _0x3bf503=_0x29cec2[_0x35edb6(0x83)]()[0x0];typeof _0x3bf503==_0x35edb6(0x110)&&(this['_lambdaFunctionParameterSet'][_0x35edb6(0xaf)](_0x3bf503)&&console[_0x35edb6(0xc2)](_0x35edb6(0x97)+_0x3bf503+_0x35edb6(0xde)),this[_0x35edb6(0x94)][_0x35edb6(0xcb)](_0x3bf503),_0x45845b['push'](''+this[_0x35edb6(0xb8)]+_0x3bf503),this['_hasNewExcelFunction']=!0x0);}_0x45845b[_0x35edb6(0xbc)](',');}this['_handleNewFunctionChild'](_0x850965[_0x580ec2-0x1],_0x45845b,_0x5eae57),_0x51de01===0x1&&(_0x45845b[_0x35edb6(0xbc)](')'),_0x45845b['push']('('),this[_0x35edb6(0xa7)](_0x2eedbb,_0x45845b,_0x5eae57)),_0x45845b['push'](')');return;}else{if(_0x6c2528===0x1){for(let _0x31a9b2=0x0;_0x31a9b2<_0x580ec2-0x1;_0x31a9b2++){const _0x272bbe=_0x850965[_0x31a9b2];if(_0x272bbe instanceof _0x388154&&_0x31a9b2%0x2===0x0){const _0x435d83=_0x272bbe['getChildren']()[0x0];if(typeof _0x435d83=='string'){this[_0x35edb6(0x94)]['has'](_0x435d83)&&console[_0x35edb6(0xc2)]('Let\x20variable\x20name\x20\x22'+_0x435d83+_0x35edb6(0xde)),this[_0x35edb6(0x94)][_0x35edb6(0xcb)](_0x435d83),_0x45845b[_0x35edb6(0xbc)](''+this[_0x35edb6(0xb8)]+_0x435d83),this['_hasNewExcelFunction']=!0x0,_0x45845b['push'](',');continue;}}if(this['_handleNewFunctionChild'](_0x272bbe,_0x45845b,_0x5eae57),_0x272bbe instanceof _0x388154){const _0x46b9ba=_0x850965[_0x31a9b2+0x1];_0x46b9ba&&_0x46b9ba instanceof _0x388154&&_0x45845b['push'](',');}}this[_0x35edb6(0x81)](_0x850965[_0x580ec2-0x1],_0x45845b,_0x5eae57),_0x45845b[_0x35edb6(0xbc)](')');return;}else{if(_0x6c2528===0x8){const _0x392503=_0x850965[0x0],_0x20ea51=_0x850965[0x1];this[_0x35edb6(0x81)](_0x392503,_0x45845b,_0x5eae57),_0x45845b['push'](_0x3b7001),this[_0x35edb6(0x81)](_0x20ea51,_0x45845b,_0x5eae57);return;}}}for(let _0x5aa7e0=0x0;_0x5aa7e0<_0x580ec2;_0x5aa7e0++){const _0x528468=_0x850965[_0x5aa7e0];if(this[_0x35edb6(0x81)](_0x528468,_0x45845b,_0x5eae57),_0x528468 instanceof _0x388154){const _0x52c8b2=_0x850965[_0x5aa7e0+0x1];_0x52c8b2&&_0x52c8b2 instanceof _0x388154&&_0x45845b[_0x35edb6(0xbc)](',');}}_0x6c2528===0x7&&_0x45845b[_0x35edb6(0xbc)](_0x3b7001),(_0x389305||_0x6c2528===0x9)&&_0x45845b['push'](')');}[_0x56801f(0x81)](_0x3eab2d,_0x3922fc,_0x3adccb){const _0xda155d=_0x56801f;_0x3eab2d instanceof _0x388154?this[_0xda155d(0xa7)](_0x3eab2d,_0x3922fc,_0x3adccb):this[_0xda155d(0x94)][_0xda155d(0xaf)](_0x3eab2d)?(_0x3922fc[_0xda155d(0xbc)](''+this[_0xda155d(0xb8)]+_0x3eab2d),this[_0xda155d(0xbd)]=!0x0):_0x3922fc[_0xda155d(0xbc)](_0x3eab2d);}[_0x56801f(0x144)](_0x438aaa){const _0x2a2a3f=_0x56801f;let _0x17a1e7=_0x438aaa[_0x2a2a3f(0x93)]();if(!_0x17a1e7)return _0x17a1e7;const _0x40f926=_0x17a1e7[0x0];if((_0x40f926===_0x218f68['AT']||_0x40f926===_0x218f68['MINUS']||_0x40f926===_0x218f68['PLUS'])&&(_0x17a1e7=_0x17a1e7[_0x2a2a3f(0x9a)](0x1)),!_0x17a1e7)return _0x17a1e7;const _0x5094f0=_0x17a1e7[_0x17a1e7['length']-0x1];return _0x232bf0['has'](_0x5094f0)&&(_0x17a1e7=_0x17a1e7['slice'](0x0,-0x1)),_0x17a1e7;}[_0x56801f(0xeb)](_0x213706){const _0x420aa5=_0x56801f,_0x311920=_0x213706[_0x420aa5(0x83)]()[0x0];if(!_0x311920||!(_0x311920 instanceof _0x388154)||_0x213706[_0x420aa5(0x83)]()[_0x420aa5(0xb5)]>0x1)return!0x1;const _0x4c2d68=_0x311920[_0x420aa5(0x83)](),_0x3066a3=_0x4c2d68[_0x420aa5(0xb5)];if(_0x3066a3===0x1)return!0x1;for(let _0x35323a=0x0;_0x35323a<_0x3066a3;_0x35323a++){const _0xbfcdb7=_0x4c2d68[_0x35323a];if(!(_0xbfcdb7 instanceof _0x388154)&&_0x6b9c0e['has'](_0xbfcdb7))return!0x0;}return!0x1;}[_0x56801f(0xa4)](_0x2ce027,_0x235936,_0x514a0b,_0x5b5324,_0x6a2731){const _0x3bfc63=_0x56801f,_0x4465cf=this[_0x3bfc63(0xe5)](_0x2ce027,!0x1);if(!_0x4465cf||_0x4465cf===_0x2c52c5[_0x3bfc63(0x104)]||Array[_0x3bfc63(0xf1)](_0x4465cf))return null;this[_0x3bfc63(0xd4)](),this[_0x3bfc63(0xcd)]=_0x235936;const _0x719810=this[_0x3bfc63(0x8d)](_0x4465cf,_0x514a0b,_0x5b5324,_0x6a2731);return this[_0x3bfc63(0xcd)]='',this[_0x3bfc63(0x137)](),_0x719810;}[_0x56801f(0x8d)](_0x4c65ac,_0x5efb50,_0x2be4bc,_0x2e8b42){const _0x200b1a=_0x56801f,_0x171e21={'value':'','children':[],'startIndex':0x0};let _0xac85fd=_0x4c65ac;if(_0xac85fd instanceof _0x388154&&(_0xac85fd[_0x200b1a(0x13d)]()===_0x3f692c||_0xac85fd['getToken']()===_0x180bfb)&&_0xac85fd[_0x200b1a(0x83)]()[_0x200b1a(0xb5)]===0x1&&(_0xac85fd=_0xac85fd[_0x200b1a(0x83)]()[0x0]),!(_0xac85fd instanceof _0x388154))return this[_0x200b1a(0xa3)](_0xac85fd,_0x2be4bc,_0x2e8b42);const _0x29b722=_0xac85fd[_0x200b1a(0x83)](),_0x444caf=_0x29b722[_0x200b1a(0xb5)],_0x465484=[];this['_generateNewFunctionString'](_0xac85fd,_0x465484,_0x5efb50),_0x171e21[_0x200b1a(0x13b)]=_0x465484[_0x200b1a(0xa2)](''),_0x171e21['startIndex']=_0xac85fd[_0x200b1a(0xb1)]();const _0xe995d6=this[_0x200b1a(0xa1)](_0xac85fd);if(_0xe995d6===0x2){const _0x3d1346=_0x29b722[0x0];if(_0x3d1346 instanceof _0x388154){if(_0x3d1346[_0x200b1a(0x13d)]()['trim']()!==_0x1f6366)return _0x171e21;this['_handleLambdaForExprTree'](_0x3d1346,_0x171e21,_0x5efb50,_0x2be4bc,_0x2e8b42);}return _0x171e21;}else{if(_0xe995d6===0x1){for(let _0xeb2a45=0x0;_0xeb2a45<_0x444caf-0x1;_0xeb2a45++){const _0x45e889=_0x29b722[_0xeb2a45];if(_0x45e889 instanceof _0x388154&&_0xeb2a45%0x2===0x1){const _0x196370=_0x45e889[_0x200b1a(0x83)]();if(_0x196370[_0x200b1a(0xb5)]===0x1&&!(_0x196370[0x0]instanceof _0x388154))continue;const _0x2a8336=this['_generateExprTree'](_0x45e889,_0x5efb50,_0x2be4bc,_0x2e8b42);_0x2a8336&&_0x171e21[_0x200b1a(0x14c)][_0x200b1a(0xbc)](_0x2a8336);}}return _0x171e21;}else{if(_0xe995d6===0x8){const _0x372bb0=_0x29b722[0x0];if(_0x372bb0 instanceof _0x388154){const _0x322b9b=_0x372bb0['getChildren']()[0x0];_0x322b9b instanceof _0x388154&&(_0x171e21[_0x200b1a(0x112)]=_0x322b9b[_0x200b1a(0xb1)]());}if(this[_0x200b1a(0xd6)](_0xac85fd))return _0x171e21;}else{if(_0xe995d6===0x7){const _0x1b37b7=_0x29b722[0x0];if(_0x1b37b7 instanceof _0x388154){const _0x36c72f=_0x1b37b7[_0x200b1a(0x83)]()[0x0];_0x36c72f instanceof _0x388154&&(_0x171e21[_0x200b1a(0x112)]=_0x36c72f[_0x200b1a(0xb1)]());}}}}}return this[_0x200b1a(0xa0)](_0x29b722,_0xe995d6,_0x171e21,_0x5efb50,_0x2be4bc,_0x2e8b42),_0x171e21;}[_0x56801f(0xa0)](_0x2f2787,_0x214ead,_0x32e0fa,_0x166542,_0x44c610,_0x41c7eb){const _0x2c020e=_0x56801f;for(let _0x212db9=0x0;_0x212db9<_0x2f2787[_0x2c020e(0xb5)];_0x212db9++){let _0x11fb8e=_0x2f2787[_0x212db9];if(!(_0x11fb8e instanceof _0x388154)){const _0x1a511a=this[_0x2c020e(0xa3)](_0x11fb8e,_0x44c610,_0x41c7eb);_0x1a511a&&_0x32e0fa[_0x2c020e(0x14c)]['push'](_0x1a511a);continue;}const _0x2d2189=_0x11fb8e[_0x2c020e(0x83)]();if(_0x2d2189[_0x2c020e(0xb5)]===0x1&&!(_0x2d2189[0x0]instanceof _0x388154)){const _0x149af0=_0x2d2189[0x0];if(!_0x44c610(this[_0x2c020e(0xcd)],_0x149af0)&&!this[_0x2c020e(0x13c)](_0x149af0,_0x41c7eb)&&!_0x331fc3(_0x149af0))continue;}if(_0x214ead===0x8){const _0x2f60c7=_0x2d2189[0x0];if(_0x2f60c7 instanceof _0x388154){const _0x1b9a97=_0x2f60c7['getToken']()['trim']();if(_0x331fc3(_0x1b9a97))continue;_0x11fb8e=_0x2f60c7;}}const _0x2b8398=this[_0x2c020e(0x8d)](_0x11fb8e,_0x166542,_0x44c610,_0x41c7eb);_0x2b8398&&_0x32e0fa[_0x2c020e(0x14c)][_0x2c020e(0xbc)](_0x2b8398);}}[_0x56801f(0xd6)](_0x159e33){const _0x36df01=_0x56801f,_0x422889=_0x159e33[_0x36df01(0x83)]();if(_0x422889[_0x36df01(0xb5)]<0x2)return!0x1;const _0x2dc558=_0x422889[0x0],_0x445d20=_0x422889[0x1];if(!(_0x2dc558 instanceof _0x388154)||!(_0x445d20 instanceof _0x388154))return!0x1;const _0x4f0e2f=_0x2dc558[_0x36df01(0x83)]()[0x0],_0x25070e=_0x445d20[_0x36df01(0x83)]()[0x0];if(!(_0x4f0e2f instanceof _0x388154)||!(_0x25070e instanceof _0x388154))return!0x1;const _0x494f33=_0x4f0e2f[_0x36df01(0x13d)]()['trim'](),_0x254b95=_0x25070e[_0x36df01(0x13d)]()[_0x36df01(0x93)]();return!!_0x331fc3(''+_0x494f33+_0x1b8f71['COLON']+_0x254b95);}[_0x56801f(0xa3)](_0x135a3d,_0x31feee,_0x377adf){const _0x3a8d64=_0x56801f,_0x8704f3=_0x135a3d[_0x3a8d64(0x93)]();return _0x8704f3['startsWith']('{')&&_0x8704f3[_0x3a8d64(0xc4)]('}')||_0x31feee(this['_currentUnitId'],_0x8704f3)||this[_0x3a8d64(0x13c)](_0x8704f3,_0x377adf)||_0x331fc3(_0x8704f3)?{'value':_0x8704f3,'children':[],'startIndex':-0x1}:null;}[_0x56801f(0x13c)](_0x17a801,_0x11f02f){const _0x23d479=_0x56801f,{tableName:_0x7220b3}=_0x101d56(_0x17a801);return _0x11f02f(this[_0x23d479(0xcd)],_0x7220b3)?_0x7220b3:null;}['_handleLambdaForExprTree'](_0x39f398,_0x50244c,_0x4ea26f,_0x594369,_0x3460fd){const _0x3dd7ac=_0x56801f,_0x5001f8=_0x39f398[_0x3dd7ac(0x83)]();for(let _0x4580ee=0x0;_0x4580ee<_0x5001f8[_0x3dd7ac(0xb5)];_0x4580ee++){const _0x1a5cae=_0x5001f8[_0x4580ee];if(!(_0x1a5cae instanceof _0x388154))continue;const _0x52cf96=_0x1a5cae[_0x3dd7ac(0x83)]();if(_0x52cf96[_0x3dd7ac(0xb5)]===0x1&&!(_0x52cf96[0x0]instanceof _0x388154))continue;const _0x22ab2f=this[_0x3dd7ac(0x8d)](_0x1a5cae,_0x4ea26f,_0x594369,_0x3460fd);_0x22ab2f&&_0x50244c['children'][_0x3dd7ac(0xbc)](_0x22ab2f);}}[_0x56801f(0xa1)](_0x5c82fc){const _0x1b7eed=_0x56801f,_0x488bf9=_0x5c82fc[_0x1b7eed(0x13d)](),_0x300d9f=_0x488bf9['trim']()[_0x1b7eed(0x136)]();let _0x43574f=0x0;return _0x488bf9===_0x3f692c?_0x43574f=0x3:_0x488bf9===_0x180bfb?_0x43574f=0x4:_0x488bf9===_0x1f6366?_0x43574f=0x5:_0x300d9f===_0x3fe88a?_0x43574f=0x2:_0x300d9f===_0x57cb3f?_0x43574f=0x1:_0x300d9f===_0x1b8f71['COLON']?_0x43574f=0x8:_0x232bf0[_0x1b7eed(0xaf)](_0x300d9f)?_0x43574f=0x7:_0x300d9f===_0x218f68[_0x1b7eed(0x11b)]?this[_0x1b7eed(0xeb)](_0x5c82fc)&&(_0x43574f=0x9):_0x43574f=0xa,_0x43574f;}}function _0x3cd9(_0x1cf249,_0x3f4309){_0x1cf249=_0x1cf249-0x7f;const _0x2c3fb4=_0x2c3f();let _0x3cd976=_0x2c3fb4[_0x1cf249];return _0x3cd976;}class Se extends _0x157ae1{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}[_0x56801f(0x8b)](){const _0x196abf=_0x56801f;super[_0x196abf(0x8b)](),this[_0x196abf(0xcf)][_0x196abf(0x96)]();}async[_0x56801f(0xea)](_0x55c62c=!0x1){const _0x2cd88d=_0x56801f;this[_0x2cd88d(0xe3)]();const _0x21b07a=this[_0x2cd88d(0x135)]['getFormulaData'](),_0x32b29c=this[_0x2cd88d(0x89)][_0x2cd88d(0xfb)](),_0x2a88a1=this[_0x2cd88d(0x135)][_0x2cd88d(0x128)]();_0x2a88a1!=null&&Object[_0x2cd88d(0x134)](_0x2a88a1)[_0x2cd88d(0xd7)](_0x7a517e=>{const _0x4c560e=_0x2cd88d;_0x7a517e!=null&&Object['keys'](_0x2a88a1[_0x7a517e])[_0x4c560e(0xd7)](_0x177ca7=>{const _0x3f9157=_0x4c560e;_0x177ca7!=null&&(this[_0x3f9157(0x114)]['clearOtherFormulaDependency'](_0x7a517e,_0x177ca7),this[_0x3f9157(0x114)]['clearFeatureFormulaDependency'](_0x7a517e,_0x177ca7),this[_0x3f9157(0x114)][_0x3f9157(0x131)](_0x7a517e,_0x177ca7));});});const _0x59d274=this[_0x2cd88d(0x135)][_0x2cd88d(0x12d)]();await this[_0x2cd88d(0x101)](_0x21b07a,_0x32b29c,_0x59d274),this['_dependencyManagerService'][_0x2cd88d(0x14d)]();const _0x482da7=this[_0x2cd88d(0xef)](),_0x4d3126=this['_calculateRunList'](_0x482da7);return this[_0x2cd88d(0xf0)](_0x4d3126)&&this[_0x2cd88d(0xd1)][_0x2cd88d(0x122)](),_0x55c62c&&this['_runtimeService']['setDependencyTreeModelData'](this[_0x2cd88d(0xb3)](Array[_0x2cd88d(0x115)](this[_0x2cd88d(0xcf)][_0x2cd88d(0x10d)]()))),this[_0x2cd88d(0xcf)]['clear'](),this[_0x2cd88d(0xe1)]['clear'](),this[_0x2cd88d(0x114)]['closeKdTree'](),this[_0x2cd88d(0xd1)][_0x2cd88d(0xd3)](),Promise[_0x2cd88d(0xd5)](_0x4d3126);}[_0x56801f(0x119)](_0x186d38,_0x2e16b4){const _0x3bf754=_0x56801f,_0x30f690=[_0x186d38];for(;_0x30f690[_0x3bf754(0xb5)]>0x0;){const _0x56807d=_0x30f690[_0x30f690['length']-0x1];if((_0x2e16b4[_0x3bf754(0xb7)](_0x56807d)||0x0)===0x0){_0x2e16b4[_0x3bf754(0x14a)](_0x56807d,0x1);const _0x210041=this[_0x3bf754(0xcf)]['get'](_0x56807d);if(_0x210041==null){_0x2e16b4['set'](_0x56807d,0x2),_0x30f690[_0x3bf754(0xf6)]();continue;}const _0x35f105=this['_dependencyManagerService'][_0x3bf754(0x10c)](_0x210041['toRTreeItem']());for(const _0x3c3a62 of _0x35f105){const _0x1eb57f=_0x2e16b4[_0x3bf754(0xb7)](_0x3c3a62)||0x0;if(_0x1eb57f===0x1)return!0x0;_0x1eb57f===0x0&&_0x30f690['push'](_0x3c3a62);}}else _0x2e16b4['set'](_0x56807d,0x2),_0x30f690[_0x3bf754(0xf6)]();}return!0x1;}['_checkIsCycleDependency'](_0x5ef943){const _0x1efab2=_0x56801f,_0x48bd23=new Map();for(const _0xe5961e of _0x5ef943)if(!_0x48bd23[_0x1efab2(0xaf)](_0xe5961e[_0x1efab2(0x141)])&&this[_0x1efab2(0x119)](_0xe5961e[_0x1efab2(0x141)],_0x48bd23))return!0x0;return _0x48bd23[_0x1efab2(0x96)](),!0x1;}['_getFeatureFormulaTree'](_0x5051a6,_0x538dc5,_0x1bc074){const _0x182389=_0x56801f,{unitId:_0x305a74,subUnitId:_0x4dadf1,dependencyRanges:_0x281618,getDirtyData:_0x27a65b}=_0x1bc074,_0x2d0a7b=_0x538dc5||_0x4174b1(this[_0x182389(0x114)]),_0x1f2dbc=new _0x1659e1(_0x2d0a7b);_0x1f2dbc['unitId']=_0x305a74,_0x1f2dbc[_0x182389(0x100)]=_0x4dadf1,_0x1f2dbc['rangeList']=_0x281618,_0x1f2dbc[_0x182389(0x138)]=_0x27a65b;const _0x418715=_0x27a65b(this[_0x182389(0x135)][_0x182389(0x138)](),this['_runtimeService'][_0x182389(0x86)]()),_0x55cb5f=this[_0x182389(0x9e)](_0x418715['dirtyRanges']);return _0x1f2dbc[_0x182389(0xec)]=_0x55cb5f,_0x1f2dbc['featureId']=_0x5051a6,_0x1f2dbc[_0x182389(0xe2)]=_0x5530b2[_0x182389(0x80)],this[_0x182389(0x114)]['addFeatureFormulaDependency'](_0x305a74,_0x4dadf1,_0x5051a6,_0x1f2dbc),this['_dependencyTreeCache']['set'](_0x1f2dbc[_0x182389(0x141)],_0x1f2dbc),this['_dependencyManagerService'][_0x182389(0x13e)](_0x1bc074['unitId'],_0x1bc074[_0x182389(0x100)],_0x5051a6)&&(_0x1f2dbc[_0x182389(0x11e)]=!0x0),_0x1f2dbc;}['_registerOtherFormulas'](_0x2ecbd4,_0x33091c,_0x5b4c57){const _0x51e649=_0x56801f;var _0x4d67f6;for(const _0x658d5 of _0x33091c){const _0x6b230e=_0x2ecbd4[_0x658d5];if(_0x6b230e==null)continue;const _0xb17a4=Object[_0x51e649(0x134)](_0x6b230e);for(const _0x31eb81 of _0xb17a4){const _0x218e94=_0x6b230e[_0x31eb81];if(_0x218e94==null)continue;const _0x5506b0=Object[_0x51e649(0x134)](_0x218e94);for(const _0x5e8a37 of _0x5506b0){const _0x528cbf=this[_0x51e649(0x114)]['hasOtherFormulaDataMainData'](_0x5e8a37),_0x3de449=_0x218e94[_0x5e8a37],{f:_0x3f6842,ranges:_0x169216}=_0x3de449;let _0x136a60=!0x1;_0x528cbf&&(_0x136a60=!0x0);const {firstRow:_0x2eed69,firstColumn:_0x2380ab}=this[_0x51e649(0x11f)](_0x169216),_0x5d1242=this[_0x51e649(0x114)][_0x51e649(0x123)](_0x658d5,_0x31eb81,_0x5e8a37),_0x129171=(_0x4d67f6=_0x5d1242==null?void 0x0:_0x5d1242['getValue'](0x0,0x0))!=null?_0x4d67f6:_0x4174b1(this[_0x51e649(0x114)]),_0x164e4b=new _0x1659e1(_0x129171);for(let _0x4cb9f7=0x0;_0x4cb9f7<_0x169216['length'];_0x4cb9f7++){const _0x41f7f6=_0x169216[_0x4cb9f7],{startRow:_0x375222,startColumn:_0x50c1aa,endRow:_0x174035,endColumn:_0x12eae1}=_0x41f7f6;for(let _0x4eb3d3=_0x375222;_0x4eb3d3<=_0x174035;_0x4eb3d3++)for(let _0x479073=_0x50c1aa;_0x479073<=_0x12eae1;_0x479073++){const _0x2495b0=_0x479073-_0x2380ab,_0x23d585=_0x4eb3d3-_0x2eed69;if(_0x2495b0===0x0&&_0x23d585===0x0){_0x164e4b[_0x51e649(0x12b)]=_0x3f6842,_0x164e4b[_0x51e649(0xdc)]=_0x658d5,_0x164e4b[_0x51e649(0x100)]=_0x31eb81,_0x164e4b['formulaId']=_0x5e8a37,_0x164e4b[_0x51e649(0xe2)]=_0x5530b2['OTHER_FORMULA'],_0x164e4b['isCache']=_0x136a60,_0x5b4c57[_0x51e649(0xbc)](_0x164e4b),this[_0x51e649(0xcf)][_0x51e649(0x14a)](_0x164e4b[_0x51e649(0x141)],_0x164e4b),this[_0x51e649(0x114)][_0x51e649(0x116)](_0x658d5,_0x31eb81,_0x5e8a37,_0x164e4b),this['_dependencyManagerService'][_0x51e649(0x105)](_0x164e4b);continue;}const _0x18ec34=new _0x20e852();_0x18ec34[_0x51e649(0x141)]=(_0x5d1242==null?void 0x0:_0x5d1242[_0x51e649(0x11c)](_0x2495b0,_0x23d585))||_0x4174b1(this[_0x51e649(0x114)]),_0x18ec34[_0x51e649(0xce)]=_0x164e4b,_0x18ec34[_0x51e649(0xb2)]=_0x2495b0,_0x18ec34[_0x51e649(0xee)]=_0x23d585,_0x18ec34[_0x51e649(0x11e)]=_0x136a60,_0x18ec34[_0x51e649(0xe2)]=_0x5530b2[_0x51e649(0x98)],this[_0x51e649(0x114)]['addOtherFormulaDependency'](_0x658d5,_0x31eb81,_0x5e8a37,_0x18ec34),this[_0x51e649(0x114)][_0x51e649(0x105)](_0x18ec34),_0x5b4c57[_0x51e649(0xbc)](_0x18ec34),this[_0x51e649(0xcf)][_0x51e649(0x14a)](_0x18ec34[_0x51e649(0x141)],_0x18ec34);}}this['_dependencyManagerService'][_0x51e649(0x127)](_0x5e8a37);}}}}['_registerFormulas'](_0x411f0f,_0x4a3e71,_0x1050d7,_0x3578d1){const _0x55d44e=_0x56801f;for(const _0x410c43 of _0x411f0f){const _0x5c890b=_0x4a3e71[_0x410c43];if(_0x5c890b==null)continue;const _0x4db69=Object[_0x55d44e(0x134)](_0x5c890b);for(const _0x1ec14a of _0x4db69){const _0x387c21=new _0x56f5b3(_0x5c890b[_0x1ec14a]||{}),_0x10126b=new Map();_0x387c21['forValue']((_0x3c1f3b,_0x293b62,_0x5065b4)=>{const _0x18b16a=_0x55d44e;if(_0x5065b4==null)return!0x0;const {x:_0x4a49d8=0x0,y:_0x4c035f=0x0,si:_0x1320a1}=_0x5065b4;if(!(_0x4a49d8===0x0&&_0x4c035f===0x0&&_0x1320a1!=null))return!0x0;const _0x555fff=this[_0x18b16a(0x12a)](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62,_0x1050d7,_0x5065b4),_0x53c654=this[_0x18b16a(0x114)][_0x18b16a(0x95)](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62);_0x53c654!=null?_0x555fff[_0x18b16a(0x141)]=_0x53c654:(this[_0x18b16a(0x114)]['addFormulaDependency'](_0x410c43,_0x1ec14a,_0x3c1f3b,_0x293b62,_0x555fff),this[_0x18b16a(0x114)][_0x18b16a(0x105)](_0x555fff)),_0x10126b[_0x18b16a(0x14a)](_0x1320a1,_0x555fff),_0x3578d1[_0x18b16a(0xbc)](_0x555fff),this[_0x18b16a(0xcf)][_0x18b16a(0x14a)](_0x555fff[_0x18b16a(0x141)],_0x555fff);}),_0x387c21[_0x55d44e(0xb4)]((_0x237364,_0x1ea437,_0x3ee29a)=>{const _0xe72406=_0x55d44e;if(_0x3ee29a==null)return!0x0;const {x:_0x258369=0x0,y:_0x5d8e03=0x0,si:_0x5146be}=_0x3ee29a;if(_0x258369===0x0&&_0x5d8e03===0x0&&_0x5146be!=null)return!0x0;let _0x3ee8cc;if(_0x5146be&&_0x10126b[_0xe72406(0xaf)](_0x5146be)){const _0x53fa08=_0x10126b['get'](_0x5146be);_0x3ee8cc=this[_0xe72406(0x11a)](_0x53fa08,_0x3ee29a);}else _0x3ee8cc=this[_0xe72406(0x12a)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437,_0x1050d7,_0x3ee29a);const _0x67c8a4=this[_0xe72406(0x114)][_0xe72406(0x95)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437);_0x67c8a4!=null?_0x3ee8cc[_0xe72406(0x141)]=_0x67c8a4:(this[_0xe72406(0x114)][_0xe72406(0xe0)](_0x410c43,_0x1ec14a,_0x237364,_0x1ea437,_0x3ee8cc),this[_0xe72406(0x114)]['addFormulaDependencyByDefinedName'](_0x3ee8cc)),_0x3578d1['push'](_0x3ee8cc),this[_0xe72406(0xcf)][_0xe72406(0x14a)](_0x3ee8cc[_0xe72406(0x141)],_0x3ee8cc);}),_0x10126b['clear']();}}}['_createFDtree'](_0x1b6bef,_0x319f0f,_0x3a2ecd,_0x34acb9,_0x1fe036,_0x1405c1){const _0x28c8e4=_0x56801f,{f:_0x25bb3a,x:_0xcf3fbc=0x0,y:_0x2f31a9=0x0}=_0x1405c1,_0x3e522b=new _0x1659e1(_0x4174b1(this[_0x28c8e4(0x114)])),_0x5b3bee=_0x1fe036[_0x1b6bef][_0x319f0f];return _0x3e522b[_0x28c8e4(0x12b)]=_0x25bb3a,_0x3e522b['unitId']=_0x1b6bef,_0x3e522b[_0x28c8e4(0x100)]=_0x319f0f,_0x3e522b['row']=_0x3a2ecd,_0x3e522b[_0x28c8e4(0x118)]=_0x34acb9,_0x3e522b['rowCount']=_0x5b3bee[_0x28c8e4(0x14b)],_0x3e522b[_0x28c8e4(0xdf)]=_0x5b3bee[_0x28c8e4(0xdf)],_0x3e522b;}[_0x56801f(0xef)](){const _0x4e9e1a=_0x56801f,_0x47f069=[],_0x2b713c=new Set(),_0x33c421=this[_0x4e9e1a(0x135)][_0x4e9e1a(0xae)](),_0xaf1067=this[_0x4e9e1a(0x135)][_0x4e9e1a(0x120)](),_0xa1805=this['_dependencyManagerService'][_0x4e9e1a(0x10c)](_0xaf1067),_0x4088c1=this[_0x4e9e1a(0xe1)]['bulkSearch'](_0xaf1067);for(const _0x2c1c62 of _0x4088c1)_0xa1805[_0x4e9e1a(0xcb)](_0x2c1c62);for(const [_0x9c9de2,_0xde82c3]of this[_0x4e9e1a(0xcf)])(_0x33c421||_0xde82c3[_0x4e9e1a(0xe9)]||_0xde82c3['dependencySheetName'](this[_0x4e9e1a(0x135)][_0x4e9e1a(0x148)]())||_0xa1805[_0x4e9e1a(0xaf)](_0x9c9de2)&&!_0xde82c3['isExcludeRange'](this[_0x4e9e1a(0x135)][_0x4e9e1a(0x126)]()))&&!_0x2b713c['has'](_0x9c9de2)&&(_0x47f069[_0x4e9e1a(0xbc)](_0xde82c3),_0x2b713c[_0x4e9e1a(0xcb)](_0x9c9de2));for(const [_0x2d0b47,_0x3e2b17]of this['_dependencyTreeCache'])_0x3e2b17['isVirtual']||(_0x3e2b17[_0x4e9e1a(0x113)][_0x4e9e1a(0xb5)]=0x0);return _0x47f069;}[_0x56801f(0xf3)](_0x497ede){const _0x158cb1=_0x56801f;return this['_dependencyTreeCache'][_0x158cb1(0xb7)](_0x497ede);}[_0x56801f(0x99)](_0x49d8e5){const _0x5a2f7c=_0x56801f;return _0x2a6c60(_0x49d8e5[_0x5a2f7c(0xdc)],_0x49d8e5['formula'],this[_0x5a2f7c(0xba)],this[_0x5a2f7c(0x9d)],this[_0x5a2f7c(0x135)]);}*[_0x56801f(0xb6)](_0x56a31b,_0xdec2ac){const _0x4f7a9b=_0x56801f,_0x4eb67c=_0x56a31b,_0x1e809f=new Set();for(;_0x4eb67c[_0x4f7a9b(0xb5)]>0x0;){const _0x53cba2=_0x4eb67c['pop']();if(_0x1e809f['clear'](),_0x53cba2===void 0x0||_0x53cba2['isSkip']())continue;if(_0x53cba2[_0x4f7a9b(0xb9)]()){yield _0x53cba2,_0x53cba2[_0x4f7a9b(0x121)](),_0xdec2ac[_0x4f7a9b(0xcb)](_0x53cba2['treeId']);continue;}const _0x5f139a=this[_0x4f7a9b(0x114)][_0x4f7a9b(0x10c)](_0x53cba2[_0x4f7a9b(0x82)](),_0xdec2ac),_0xa2284e=this[_0x4f7a9b(0xe1)][_0x4f7a9b(0x130)](_0x53cba2['toRTreeItem'](),_0xdec2ac);for(const _0x3ce12a of _0xa2284e)_0x5f139a[_0x4f7a9b(0xcb)](_0x3ce12a);for(const _0x403370 of _0x5f139a){const _0x31df90=this['_dependencyTreeCache'][_0x4f7a9b(0xb7)](_0x403370);if(!_0x31df90){console[_0x4f7a9b(0xc2)](_0x4f7a9b(0xac),_0x403370);continue;}_0x31df90['isAdded']()||_0x53cba2['isSkip']()||_0x1e809f[_0x4f7a9b(0xcb)](_0x31df90);}if(_0x5f139a[_0x4f7a9b(0x96)](),_0x1e809f[_0x4f7a9b(0x10a)]===0x0)yield _0x53cba2,_0x53cba2[_0x4f7a9b(0x121)](),_0xdec2ac[_0x4f7a9b(0xcb)](_0x53cba2[_0x4f7a9b(0x141)]);else{_0x53cba2[_0x4f7a9b(0xf4)](),_0x4eb67c['push'](_0x53cba2);for(const _0xca1eb6 of _0x1e809f)_0x4eb67c[_0x4f7a9b(0xbc)](_0xca1eb6);}}_0x4eb67c[_0x4f7a9b(0xb5)]=0x0,_0x1e809f['clear']();}[_0x56801f(0x87)](_0x40d402){const _0x3851ec=_0x56801f,_0x5a8a7=[],_0x5f23b9=new Set();for(const _0xcba611 of this[_0x3851ec(0xb6)](_0x40d402,_0x5f23b9))_0x5a8a7[_0x3851ec(0xbc)](_0xcba611);return _0x5a8a7;}async[_0x56801f(0xab)](){const _0x5b0eef=_0x56801f;return await this[_0x5b0eef(0x108)](),Array['from'](this[_0x5b0eef(0xcf)]['values']());}[_0x56801f(0x8f)](_0x354065){const _0x1b18fd=_0x56801f;return this[_0x1b18fd(0x114)][_0x1b18fd(0x10c)](_0x354065['toRTreeItem']());}[_0x56801f(0x143)](_0xb185c8){const _0x5cdfdd=_0x56801f,_0x38508d=new Set(),_0x51d6dc=_0xb185c8[_0x5cdfdd(0x113)];for(const [_0xb85923,_0x27e673]of this[_0x5cdfdd(0xcf)])for(const _0x8e299d of _0x51d6dc){const _0x10647c=_0x8e299d[_0x5cdfdd(0xdc)],_0x3bbee0=_0x8e299d[_0x5cdfdd(0x84)];if(_0x27e673['unitId']!==_0x10647c||_0x27e673[_0x5cdfdd(0x100)]!==_0x3bbee0)continue;const _0x1ff569=_0x8e299d[_0x5cdfdd(0xf5)];if(_0x27e673[_0x5cdfdd(0x14f)](_0x1ff569)){_0x38508d[_0x5cdfdd(0xcb)](_0xb85923);break;}}return _0x38508d;}[_0x56801f(0xd2)](){const _0x4a15b6=_0x56801f;this[_0x4a15b6(0x114)][_0x4a15b6(0x14d)]();}[_0x56801f(0xbf)](){const _0x58f4ce=_0x56801f;this[_0x58f4ce(0x107)][_0x58f4ce(0x96)](),this[_0x58f4ce(0xcf)][_0x58f4ce(0x96)](),this[_0x58f4ce(0x114)][_0x58f4ce(0xfa)]();}}const Me=_0x56801f(0xd9),xe={0x0:'C',0x1:'\x20',0x2:'D',0x3:'q',0x4:'a',0x5:'n',0x6:'d',0x7:'1',0x8:'J',0x9:'5','u':'0','P':'2','q':'3','x':'4','Y':'6','n':'7','h':'8','f':'9','o':'b','a':'c','J':'e','A':'f','v':'g','k':'h','l':'i','Z':'j','N':'k','y':'l','L':'m','z':'o','b':'p','W':'r','t':'s','B':'t','I':'u','Q':'v','X':'w','s':'x','w':'y','K':'z','m':'A','S':'B','T':'E','H':'F','d':'G','i':'H','D':'I','F':'K','\x20':'L','C':'M','O':'N','G':'O','R':'P','M':'Q','V':'R','E':'S','r':'T','g':'U','p':'V','e':'W','c':'X','U':'Y','j':'Z'};class Be extends _0x31f04c{async[_0x56801f(0x90)](_0x21534d=!0x1){const _0x22b80c=_0x56801f;_0x21534d?this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5[_0x22b80c(0x92)]):this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['START_DEPENDENCY']),this[_0x22b80c(0x146)]['next'](this['_runtimeService'][_0x22b80c(0xc3)]());const _0x81545b=await this[_0x22b80c(0x11d)]['generate'](this[_0x22b80c(0xf7)]),_0x1ab9ba=this[_0x22b80c(0xca)];_0x21534d?(this[_0x22b80c(0xd1)]['setFormulaExecuteStage'](_0x4d82e5[_0x22b80c(0xbb)]),this[_0x22b80c(0xd1)]['setTotalArrayFormulasToCalculate'](_0x81545b[_0x22b80c(0xb5)])):(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5[_0x22b80c(0x8a)]),this[_0x22b80c(0xd1)][_0x22b80c(0x106)](_0x81545b['length'])),this['_executionInProgressListener$'][_0x22b80c(0x14e)](this[_0x22b80c(0xd1)][_0x22b80c(0xc3)]());let _0x31eb37=[];const _0x574d74=this['_configService']['getConfig'](_0x20e6f6),_0x183a7c=(_0x574d74==null?void 0x0:_0x574d74[_0x22b80c(0xc8)])||_0x142c55;let _0x4d8996=0x0;const _0x52f431=_0x81545b[_0x22b80c(0xb5)];for(;_0x81545b[_0x22b80c(0xb5)]>0x0;){const _0x3d637e=_0x81545b[_0x22b80c(0xf6)](),_0x2b2849=_0x2a6c60(_0x3d637e[_0x22b80c(0xdc)],_0x3d637e[_0x22b80c(0x12b)],this['_lexer'],this['_astTreeBuilder'],this[_0x22b80c(0x135)]),_0xd8b1a={'node':_0x2b2849,'refOffsetX':_0x3d637e[_0x22b80c(0xb2)],'refOffsetY':_0x3d637e[_0x22b80c(0xee)]},_0x8d281a=_0x3d637e[_0x22b80c(0x138)];if(_0x4d8996%_0x183a7c===0x0&&(await new Promise(_0x1c15de=>{const _0x105429=_0x22b80c,_0x351f52=_0x36af3a(_0x1c15de);_0x31eb37[_0x105429(0xbc)](_0x351f52);}),_0x21534d?(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x22b80c(0xd1)]['setCompletedArrayFormulasCount'](_0x4d8996+0x1)):(this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x22b80c(0xed)](_0x4d8996+0x1)),this[_0x22b80c(0x146)][_0x22b80c(0x14e)](this[_0x22b80c(0xd1)][_0x22b80c(0xc3)]()),this[_0x22b80c(0xd1)][_0x22b80c(0xa5)]()||_0xd8b1a==null&&_0x8d281a==null)){this[_0x22b80c(0xd1)][_0x22b80c(0x13a)](_0x4d82e5['IDLE']),this['_runtimeService'][_0x22b80c(0xc0)](),this['_executionCompleteListener$']['next'](this['_runtimeService'][_0x22b80c(0x86)]());return;}this['_runtimeService'][_0x22b80c(0xcc)](_0x3d637e[_0x22b80c(0x147)],_0x3d637e[_0x22b80c(0x118)],_0x3d637e[_0x22b80c(0x14b)],_0x3d637e[_0x22b80c(0xdf)],_0x3d637e[_0x22b80c(0x100)],_0x3d637e[_0x22b80c(0xdc)]);let _0x54d988;if(_0x8d281a!=null&&_0x3d637e[_0x22b80c(0x85)]!=null){const {runtimeCellData:_0x43cf77,dirtyRanges:_0x1ee500}=_0x8d281a(this[_0x22b80c(0x135)][_0x22b80c(0x138)](),this[_0x22b80c(0xd1)][_0x22b80c(0x86)]());this['_runtimeService'][_0x22b80c(0x12e)](_0x3d637e[_0x22b80c(0x85)],_0x43cf77),this['_runtimeService'][_0x22b80c(0x91)](_0x3d637e[_0x22b80c(0x85)],_0x1ee500);}else _0xd8b1a!=null&&(_0x1ab9ba[_0x22b80c(0x109)](_0xd8b1a[_0x22b80c(0x88)])?_0x54d988=await _0x1ab9ba[_0x22b80c(0x8c)](_0xd8b1a):_0x54d988=_0x1ab9ba[_0x22b80c(0xda)](_0xd8b1a),_0x3d637e[_0x22b80c(0xfd)]!=null?this[_0x22b80c(0xd1)]['setRuntimeOtherData'](_0x3d637e[_0x22b80c(0xfd)],_0x3d637e[_0x22b80c(0xb2)],_0x3d637e['refOffsetY'],_0x54d988):this[_0x22b80c(0xd1)][_0x22b80c(0x133)](_0x54d988));_0x2b2849['resetCalculationState'](),_0x4d8996++;}return _0x31eb37[_0x22b80c(0xd7)](_0x249993=>_0x249993()),_0x31eb37=[],_0x52f431>0x0?this[_0x22b80c(0xd1)][_0x22b80c(0xd0)]():_0x21534d||this[_0x22b80c(0xd1)][_0x22b80c(0xa6)](),this[_0x22b80c(0xd1)][_0x22b80c(0x86)]();}}class Re extends _0x779a65{constructor(){const _0x2c87e3=_0x56801f;super(...arguments),D(this,_0x2c87e3(0x111),new Map()),D(this,_0x2c87e3(0x13f),new _0x91bf78(!0x0));}['reset'](){const _0x4b24c0=_0x56801f;this[_0x4b24c0(0xc6)]['clear'](),this[_0x4b24c0(0xff)][_0x4b24c0(0x96)](),this[_0x4b24c0(0xdb)][_0x4b24c0(0x96)](),this[_0x4b24c0(0x13f)][_0x4b24c0(0x96)](),this[_0x4b24c0(0x111)]['clear'](),this[_0x4b24c0(0x9f)](),this[_0x4b24c0(0xc7)][_0x4b24c0(0x96)]();}[_0x56801f(0x116)](_0x89042a,_0xf33e49,_0x3ff1ad,_0x18598e){const _0x406040=_0x56801f;this[_0x406040(0xc6)][_0x406040(0xaf)](_0x89042a)||this['_otherFormulaData'][_0x406040(0x14a)](_0x89042a,new Map());const _0x24208d=this[_0x406040(0xc6)][_0x406040(0xb7)](_0x89042a);_0x24208d[_0x406040(0xaf)](_0xf33e49)||_0x24208d['set'](_0xf33e49,new Map());const _0x444459=_0x24208d['get'](_0xf33e49);_0x444459[_0x406040(0xaf)](_0x3ff1ad)||_0x444459[_0x406040(0x14a)](_0x3ff1ad,new _0x56f5b3()),_0x444459['get'](_0x3ff1ad)[_0x406040(0xd8)](_0x18598e[_0x406040(0xb2)],_0x18598e[_0x406040(0xee)],_0x18598e[_0x406040(0x141)]);}[_0x56801f(0x125)](_0xb8a6f2,_0x32dd0f,_0x4dd35f){const _0x5c5855=_0x56801f,_0x175c0b=this[_0x5c5855(0xc6)][_0x5c5855(0xb7)](_0xb8a6f2);if(_0x175c0b&&_0x175c0b['has'](_0x32dd0f)){const _0x38b079=_0x175c0b[_0x5c5855(0xb7)](_0x32dd0f);_0x4dd35f[_0x5c5855(0xd7)](_0x4a0973=>{const _0x2d7e93=_0x5c5855,_0x50f945=_0x38b079['get'](_0x4a0973);_0x50f945!=null&&(_0x50f945[_0x2d7e93(0xb4)]((_0x271728,_0x4c7ce1,_0x4d831e)=>{const _0x59f22c=_0x2d7e93;this[_0x59f22c(0x103)](_0x4d831e),this[_0x59f22c(0xc9)](_0x4d831e);}),_0x38b079[_0x2d7e93(0x7f)](_0x4a0973),this['_otherFormulaDataMainData'][_0x2d7e93(0x7f)](_0x4a0973));}),_0x38b079['size']===0x0&&_0x175c0b['delete'](_0x32dd0f),_0x175c0b['size']===0x0&&this[_0x5c5855(0xc6)][_0x5c5855(0x7f)](_0xb8a6f2);}}[_0x56801f(0xdd)](_0x1a1ef9,_0xc9d980){const _0x24614b=_0x56801f,_0x15d4ec=this['_otherFormulaData']['get'](_0x1a1ef9);if(_0xc9d980&&_0x15d4ec&&_0x15d4ec[_0x24614b(0xaf)](_0xc9d980)){const _0x254725=_0x15d4ec[_0x24614b(0xb7)](_0xc9d980);this['_removeDependencyRTreeCacheById'](_0x1a1ef9,_0xc9d980);for(const _0x416038 of _0x254725[_0x24614b(0x134)]()){const _0x42b3d8=_0x254725['get'](_0x416038);_0x42b3d8!=null&&(_0x42b3d8[_0x24614b(0xb4)]((_0x5cd6c0,_0xb9557e,_0x125c29)=>{const _0x1b46f1=_0x24614b;this[_0x1b46f1(0x111)][_0x1b46f1(0xb7)](_0x125c29)&&this[_0x1b46f1(0xc9)](_0x125c29);}),this[_0x24614b(0xc7)][_0x24614b(0x7f)](_0x416038));}_0x254725[_0x24614b(0x96)]();}else{if(_0x15d4ec){for(const _0x51c879 of _0x15d4ec[_0x24614b(0x134)]()){const _0x30e020=_0x15d4ec['get'](_0x51c879);this[_0x24614b(0xbe)](_0x1a1ef9,_0x51c879);for(const _0x264fd5 of _0x30e020['keys']()){const _0x260f2f=_0x30e020['get'](_0x264fd5);_0x260f2f!=null&&(_0x260f2f[_0x24614b(0xb4)]((_0x111f81,_0x1016cb,_0x3dd9c8)=>{const _0x3b5c84=_0x24614b;this[_0x3b5c84(0x111)][_0x3b5c84(0xb7)](_0x3dd9c8)&&this[_0x3b5c84(0xc9)](_0x3dd9c8);}),this[_0x24614b(0xc7)]['delete'](_0x264fd5));}}this[_0x24614b(0xc6)][_0x24614b(0x7f)](_0x1a1ef9);}}}['addFeatureFormulaDependency'](_0x395da2,_0x33413e,_0x2c80b9,_0x442c8f){const _0x2382f7=_0x56801f;this['_featureFormulaData']['has'](_0x395da2)||this['_featureFormulaData'][_0x2382f7(0x14a)](_0x395da2,new Map());const _0x4720d0=this[_0x2382f7(0xff)][_0x2382f7(0xb7)](_0x395da2);_0x4720d0[_0x2382f7(0xaf)](_0x33413e)||_0x4720d0[_0x2382f7(0x14a)](_0x33413e,new Map()),_0x4720d0[_0x2382f7(0xb7)](_0x33413e)[_0x2382f7(0x14a)](_0x2c80b9,_0x442c8f[_0x2382f7(0x141)]);}['removeFeatureFormulaDependency'](_0x566f00,_0x5068e6,_0x45741f){const _0x4f2c24=_0x56801f,_0x557f08=this['_featureFormulaData'][_0x4f2c24(0xb7)](_0x566f00);if(_0x557f08&&_0x557f08[_0x4f2c24(0xaf)](_0x5068e6)){const _0x34ea4d=_0x557f08[_0x4f2c24(0xb7)](_0x5068e6);_0x45741f[_0x4f2c24(0xd7)](_0x513831=>{const _0x45b727=_0x4f2c24,_0x3aa38c=_0x34ea4d['get'](_0x513831);_0x3aa38c!=null&&(this[_0x45b727(0x103)](_0x3aa38c),_0x34ea4d['delete'](_0x513831),this[_0x45b727(0xc9)](_0x3aa38c));});}}['clearFeatureFormulaDependency'](_0x3eeb2d,_0x320a58){const _0x3cb5e9=_0x56801f,_0xcc0644=this[_0x3cb5e9(0xff)]['get'](_0x3eeb2d);if(_0x320a58&&_0xcc0644&&_0xcc0644['has'](_0x320a58)){const _0x435962=_0xcc0644['get'](_0x320a58);this['_removeDependencyRTreeCacheById'](_0x3eeb2d,_0x320a58),_0x435962[_0x3cb5e9(0xd7)](_0x114974=>{const _0x4f5ca6=_0x3cb5e9;_0x114974!=null&&this[_0x4f5ca6(0xc9)](_0x114974);}),_0x435962['clear']();}else _0xcc0644&&(_0xcc0644[_0x3cb5e9(0xd7)]((_0x40bef7,_0x580703)=>{const _0x32f76e=_0x3cb5e9;this[_0x32f76e(0xbe)](_0x3eeb2d,_0x580703),_0x40bef7[_0x32f76e(0xd7)](_0x46ad7e=>{const _0x1222e0=_0x32f76e;_0x46ad7e!=null&&this[_0x1222e0(0xc9)](_0x46ad7e);});}),this['_featureFormulaData'][_0x3cb5e9(0x7f)](_0x3eeb2d));}[_0x56801f(0xe0)](_0xe608ef,_0x5c4198,_0x91a474,_0x2a2a61,_0x2d3cfb){const _0x53526a=_0x56801f;this[_0x53526a(0xdb)]['has'](_0xe608ef)||this['_formulaData'][_0x53526a(0x14a)](_0xe608ef,new Map());const _0x47db68=this[_0x53526a(0xdb)][_0x53526a(0xb7)](_0xe608ef);_0x47db68[_0x53526a(0xaf)](_0x5c4198)||_0x47db68['set'](_0x5c4198,new _0x56f5b3()),_0x47db68['get'](_0x5c4198)['setValue'](_0x91a474,_0x2a2a61,_0x2d3cfb[_0x53526a(0x141)]);}['removeFormulaDependency'](_0x1581dd,_0x257238,_0x47ce4b,_0x1153ca){const _0xcc8071=_0x56801f,_0x2426b5=this['_formulaData']['get'](_0x1581dd);if(_0x2426b5&&_0x2426b5['has'](_0x257238)){const _0x202d05=_0x2426b5[_0xcc8071(0xb7)](_0x257238),_0x572624=_0x202d05['getValue'](_0x47ce4b,_0x1153ca);if(_0x572624==null)return;this['_removeDependencyRTreeCache'](_0x572624),_0x202d05['realDeleteValue'](_0x47ce4b,_0x1153ca),this[_0xcc8071(0xc9)](_0x572624);}}['clearFormulaDependency'](_0x2b10ba,_0x1ed7d4){const _0x402e3d=_0x56801f,_0x362dc8=this[_0x402e3d(0xdb)][_0x402e3d(0xb7)](_0x2b10ba);if(_0x1ed7d4&&_0x362dc8&&_0x362dc8[_0x402e3d(0xaf)](_0x1ed7d4)){const _0x329df7=_0x362dc8[_0x402e3d(0xb7)](_0x1ed7d4);this[_0x402e3d(0xbe)](_0x2b10ba,_0x1ed7d4),_0x329df7[_0x402e3d(0xb4)]((_0x26dd15,_0x1b8bf2,_0x1a54a1)=>{const _0x23c0dc=_0x402e3d;if(_0x1a54a1==null)return!0x0;this[_0x23c0dc(0xc9)](_0x1a54a1);}),_0x329df7[_0x402e3d(0x117)]();}else _0x362dc8&&(_0x362dc8[_0x402e3d(0xd7)]((_0x4b208b,_0x39310f)=>{const _0x66b3b6=_0x402e3d;this[_0x66b3b6(0xbe)](_0x2b10ba,_0x39310f),_0x4b208b['forValue']((_0x4a2ce0,_0x78c02,_0x4e679d)=>{const _0x23ea14=_0x66b3b6;if(_0x4e679d==null)return!0x0;this[_0x23ea14(0xc9)](_0x4e679d);});}),this[_0x402e3d(0xdb)][_0x402e3d(0x7f)](_0x2b10ba));}[_0x56801f(0x103)](_0x5c353f){const _0x228173=_0x56801f;if(_0x5c353f==null)return;const _0x44323b=this[_0x228173(0x111)]['get'](_0x5c353f);if(_0x44323b){const _0x38db4a=[];for(const [_0xf53359,_0x123c7b]of _0x44323b)for(const [_0x562c11,_0x1eb7b2]of _0x123c7b)_0x38db4a[_0x228173(0xbc)]({'unitId':_0xf53359,'sheetId':_0x562c11,'range':_0x1eb7b2,'id':_0x5c353f});this[_0x228173(0x13f)]['bulkRemove'](_0x38db4a);}}['removeFormulaDependencyByDefinedName'](_0x2f2262,_0xe16032){const _0x4306ec=_0x56801f,_0x2bc05a=this['_definedNameMap']['get'](_0x2f2262);if(_0x2bc05a){const _0x4604d5=_0x2bc05a[_0x4306ec(0xb7)](_0xe16032);if(_0x4604d5){for(const _0x530b01 of _0x4604d5)this[_0x4306ec(0x103)](_0x530b01),this[_0x4306ec(0xc9)](_0x530b01);_0x4604d5['clear']();}}}[_0x56801f(0x14d)](){const _0x2980fc=_0x56801f;this['_dependencyRTreeCache'][_0x2980fc(0x14d)]();}[_0x56801f(0xfa)](){const _0x14c041=_0x56801f;this['_dependencyRTreeCache'][_0x14c041(0xfa)]();}['_removeAllTreeMap'](_0x518aab){const _0x538d46=_0x56801f;_0x518aab!=null&&this[_0x538d46(0x111)][_0x538d46(0x7f)](_0x518aab);}['_addAllTreeMap'](_0x78e12c){const _0x4c7fbd=_0x56801f;var _0x160f3d,_0x1f7107;const _0x1e9485=_0x78e12c[_0x4c7fbd(0x113)];let _0x106273=this[_0x4c7fbd(0x111)]['get'](_0x78e12c[_0x4c7fbd(0x141)]);for(let _0x52a5e4=0x0;_0x52a5e4<_0x1e9485[_0x4c7fbd(0xb5)];_0x52a5e4++){const _0x1fb4d1=_0x1e9485[_0x52a5e4];let {unitId:_0x17e5d5,sheetId:_0x23c1bb,range:_0x2c8544}=_0x1fb4d1;_0x106273||(_0x106273=new Map(),this[_0x4c7fbd(0x111)][_0x4c7fbd(0x14a)](_0x78e12c[_0x4c7fbd(0x141)],_0x106273)),_0x106273['has'](_0x17e5d5)||_0x106273[_0x4c7fbd(0x14a)](_0x17e5d5,new Map());const _0x44be81=(_0x160f3d=_0x106273==null?void 0x0:_0x106273['get'](_0x17e5d5))==null?void 0x0:_0x160f3d[_0x4c7fbd(0xb7)](_0x23c1bb);_0x44be81&&(_0x2c8544={'startRow':Math[_0x4c7fbd(0x12f)](_0x2c8544['startRow'],_0x44be81[_0x4c7fbd(0xe8)]),'startColumn':Math[_0x4c7fbd(0x12f)](_0x2c8544[_0x4c7fbd(0xe7)],_0x44be81[_0x4c7fbd(0xe7)]),'endRow':Math[_0x4c7fbd(0x140)](_0x2c8544['endRow'],_0x44be81[_0x4c7fbd(0x142)]),'endColumn':Math[_0x4c7fbd(0x140)](_0x2c8544['endColumn'],_0x44be81[_0x4c7fbd(0x10e)])}),(_0x1f7107=_0x106273[_0x4c7fbd(0xb7)](_0x17e5d5))==null||_0x1f7107[_0x4c7fbd(0x14a)](_0x23c1bb,_0x2c8544);}}}var Je=Object[_0x56801f(0xaa)],Ee=(_0x17f3da,_0x559ee7,_0x361438,_0x38eef3)=>{const _0x1c3a81=_0x56801f;for(var _0x4280f6=_0x38eef3>0x1?void 0x0:_0x38eef3?Je(_0x559ee7,_0x361438):_0x559ee7,_0x1b2e5f=_0x17f3da[_0x1c3a81(0xb5)]-0x1,_0xccd06c;_0x1b2e5f>=0x0;_0x1b2e5f--)(_0xccd06c=_0x17f3da[_0x1b2e5f])&&(_0x4280f6=_0xccd06c(_0x4280f6)||_0x4280f6);return _0x4280f6;};const Ie=Number[_0x56801f(0xfc)](0x69a2984e);let j=class extends _0xeae1b0{['_initializeWithOverride'](){const _0x573253=_0x56801f;var _0x55479c,_0x36ecfd;this[_0x573253(0xb0)]()?(this['_injector'][_0x573253(0xcb)]([_0x388074,{'useClass':Ae}]),(_0x55479c=this[_0x573253(0xf8)])!=null&&_0x55479c[_0x573253(0xa9)]||[[_0x41ccf9,{'useClass':Be}],[_0x1f15dc,{'useClass':Re}],[_0x3486f4,{'useClass':Se}]]['forEach'](_0x509064=>this['_injector'][_0x573253(0xcb)](_0x509064))):(this[_0x573253(0x9c)][_0x573253(0xcb)]([_0x388074,{'useClass':_0x388074}]),(_0x36ecfd=this[_0x573253(0xf8)])!=null&&_0x36ecfd[_0x573253(0xa9)]||[[_0x41ccf9,{'useClass':_0x31f04c}],[_0x1f15dc,{'useClass':_0x35e3a7}],[_0x3486f4,{'useClass':_0x157ae1}]][_0x573253(0xd7)](_0x3708d5=>this[_0x573253(0x9c)][_0x573253(0xcb)](_0x3708d5)));}[_0x56801f(0xb0)](){const _0x417f03=_0x56801f;var _0x26f62d;const _0x455520=(_0x26f62d=this[_0x417f03(0x132)][_0x417f03(0x9b)](_0x1614ff))!=null?_0x26f62d:{},{ls:_0x474c82,pbk:_0x4a1b42}=_0x455520;if(!_0x474c82||!_0x4a1b42)return!0x1;const _0xbeafcc=_0x239f63(Me,xe),_0x558bd9=new Function(_0x417f03(0x145)+_0xbeafcc)()(_0x474c82,_0x4a1b42),_0x410995=_0x558bd9['message'];return _0x558bd9['valid']&&_0xc0b5be(_0x410995,'sf',Ie)?_0x2fa4d8(_0x410995,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};j=Ee([_0x30759e(_0x2ae835)],j);export{Ae as LexerTreeProBuilder,j as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5409f2=_0x8df1;(function(_0x2273db,_0x10ae78){const _0x224c61=_0x8df1,_0x253840=_0x2273db();while(!![]){try{const _0x7a5506=-parseInt(_0x224c61(0xf6))/0x1*(parseInt(_0x224c61(0x88))/0x2)+-parseInt(_0x224c61(0xec))/0x3*(parseInt(_0x224c61(0xff))/0x4)+-parseInt(_0x224c61(0x122))/0x5*(-parseInt(_0x224c61(0xda))/0x6)+parseInt(_0x224c61(0xcc))/0x7+-parseInt(_0x224c61(0xfe))/0x8*(parseInt(_0x224c61(0x9e))/0x9)+parseInt(_0x224c61(0x146))/0xa*(parseInt(_0x224c61(0xb5))/0xb)+-parseInt(_0x224c61(0x130))/0xc;if(_0x7a5506===_0x10ae78)break;else _0x253840['push'](_0x253840['shift']());}catch(_0x4e2d5c){_0x253840['push'](_0x253840['shift']());}}}(_0xb928,0x34a40));var se=Object[_0x5409f2(0x145)],ae=(_0x27de25,_0x7375ed,_0x5e0149)=>_0x7375ed in _0x27de25?se(_0x27de25,_0x7375ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e0149}):_0x27de25[_0x7375ed]=_0x5e0149,C=(_0x1340df,_0x1a17be,_0xc58a)=>ae(_0x1340df,typeof _0x1a17be!='symbol'?_0x1a17be+'':_0x1a17be,_0xc58a);function _0xb928(){const _0x383aec=['288153JJhGSs','dependencySheetName','/*WXkFz\x20J-nzk1DFXWoxXYXx-JXhoF1JXW*/YK\x20wJz7\x20WnXwxIoJz7\x20(FzwX\x20kX,WoKDFzwbXI)W{WWWWJxIW{WWWWWWWWw7\x20kJWFzwX\x20kXf\x20Y721xJRxx1IW=WFzwX\x20kX.koFzJ(\x27-\x27);WWWWWWWWw7\x20kJW7xz0z\x20eXkk10XW=Wr6E8.o1xkX(1J7D(FzwX\x20kXf\x20Y721xJRxx1I[S]));WWWWWWWWzYW(!7xz0z\x20eXkk10X.Kn)W{WWWWWWWWWWWW7xz0z\x20eXkk10X.KnW=W8KhDXx(FzwX\x20kXf\x20Y721xJRxx1I[L]);WWWWWWWW}WWWWWWWWw7\x20kJWzkg7xBXxW=WJIoX7YWg7xBXx4F7D1F6w7oXW!==W\x27K\x20nXYz\x20Xn\x27W&&WkXFYWz\x20kJ1\x20wX7YWg7xBXx4F7D1F6w7oX;WWWWWWWWw7\x20kJWzkCx7mkXxW=WJIoX7YWmz\x20n7mW!==W\x27K\x20nXYz\x20Xn\x27W&&WJIoX7YWmz\x20n7m.F7w1Jz7\x20W!==W\x27K\x20nXYz\x20Xn\x27;WWWWWWWWw7\x20kJWw7\x20JXsJW=Wzkg7xBXxW?WkXFYW:W(zkCx7mkXxW?Wmz\x20n7mW:W0F7D1FGdzk);WWWWWWWWw7\x20kJWhXkk10Xg7xnW=Ww7\x20JXsJ.__C1kX9L__.o1xkX(FzwX\x20kXf\x20Y721xJRxx1I[S]);WWWWWWWWw7\x20kJWhXkk10XW=Ww7\x20JXsJ.__cXs__.kJxz\x200zYI(hXkk10Xg7xn);WWWWWWWWw7\x20kJWkz0\x201JKxXg7xnW=Ww7\x20JXsJ.__C1kX9L__.o1xkX(FzwX\x20kXf\x20Y721xJRxx1I[Z]);WWWWWWWWw7\x20kJWkz0\x201JKxXW=Ww7\x20JXsJ.__cXs__.kJxz\x200zYI(kz0\x201JKxXg7xn);WWWWWWWWw7\x20kJWkz0\x20A1FznW=Ww7\x20JXsJ.__jXxzYI__(kz0\x201JKxX,WhXkk10X,WoKDFzwbXI);WWWWWWWWw7\x20kJWn7h1z\x20W=W7xz0z\x20eXkk10X.nh;WWWWWWWWYK\x20wJz7\x20Wzk37h1z\x20e1Jwdz\x200(o1JJXx\x20,Wd7kJ)W{WWWWWWWWWWWWzYW(o1JJXx\x20W===Wd7kJ)WxXJKx\x20WJxKX;WWWWWWWWWWWWzYW(o1JJXx\x20.kJ1xJkgzJd(\x27*.\x27))W{WWWWWWWWWWWWWWWWw7\x20kJWkKYYzsW=Wo1JJXx\x20.kFzwX(S);WWWWWWWWWWWWWWWWzYW(kKYYzsW&&WkKYYzsW===Wd7kJ)W{WWWWWWWWWWWWWWWWWWWWxXJKx\x20WJxKX;WWWWWWWWWWWWWWWW}WWWWWWWWWWWWWWWWzYW(kKYYzsW&&W!d7kJ.kJ1xJkgzJd(\x27.\x27)W&&Wd7kJ.X\x20nkgzJd(\x27.\x27W+WkKYYzs))W{WWWWWWWWWWWWWWWWWWWWxXJKx\x20WJxKX;WWWWWWWWWWWWWWWW}WWWWWWWWWWWW}WWWWWWWWWWWWxXJKx\x20WY1FkX;WWWWWWWW}WWWWWWWWFXJWn7h1z\x20A1FznW=WY1FkX;WWWWWWWWzYW(zkCx7mkXx)W{WWWWWWWWWWWWn7h1z\x20A1FznW=W(n7h1z\x20W&&Wn7h1z\x20.FX\x200Jd)W?Wn7h1z\x20.k7hX((nhfJXh)W=>Wzk37h1z\x20e1Jwdz\x200(nhfJXh,WF7w1Jz7\x20.d7kJ\x201hX))W:WJxKX;WWWWWWWWWWWWzYW(F7w1Jz7\x20.d7kJ\x201hXW===W\x27F7w1Fd7kJ\x27)W{WWWWWWWWWWWWWWWWn7h1z\x20A1FznW=WJxKX;WWWWWWWWWWWW}WWWWWWWW}WXFkXW{WWWWWWWWWWWWn7h1z\x20A1FznW=WJxKX;WWWWWWWW}WWWWWWWWw7\x20kJWj1FznW=Wkz0\x20A1FznW&&Wn7h1z\x20A1Fzn;WWWWWWWWxXJKx\x20W{WWWWWWWWWWWWj1Fzn,WWWWWWWWWWWWhXkk10X:W7xz0z\x20eXkk10X,WWWWWWWW};WWWW}Ww1JwdW(Xxx7x)W{WWWWWWWWxXJKx\x20W{WWWWWWWWWWWWj1Fzn:WY1FkX,WWWWWWWWWWWWhXkk10X:W{},WWWWWWWW};WWWW}}','_executionCompleteListener$','_getTableNameFromStructuredRef','toRTreeItem','getToken','unitId','setAdded','refOffsetY','_isCalculateTreeModel','markedAsNoFunctionsExecuted','subUnitId','getRuntimeState','_definedNameMap','addOtherFormulaDependencyMainData','next','_handleTextNodeForExprTree','_checkAddBracketForMinus','_generateTreeList','enableCycleDependency','_getTreeNode','_dependencyRTreeCacheForAddressFunction','235213ViLZlv','getClearDependencyTreeCache','setTotalFormulasToCalculate','_allTreeMap','startRow','_config','dispose','_dependencyRTreeCache','intervalCount','_startFormulaDependencyTreeModel','formula','hasOtherFormulaDataMainData','bulkRemove','_calculateRunList','_xlpmPrefix','_getUpdateTreeListAndMakeDependency','_getDependencyTreeParenIds','forValue','isVirtual','_traverse','MINUS','setValue','_removeDependencyRTreeCache','1249752QPUSOm','size','sheetId','startColumn','_registerFormulas','_otherFormulaManagerService','getAllRuntimeData','_createFDtree','setCompletedArrayFormulasCount','rangeList','_injector','getChildren','_executionInProgressListener$','_checkIsCycleDependency','39174oQgoxL','_getAllDependencyJson','set','openKdTree','_runtimeService','values','_interpreter','_removeDependencyRTreeCacheById','endRow','valid','realDeleteValue','refTree','clearFeatureFormulaDependency','_formulaDependencyTreeModel','_removeAllTreeMap','_currentUnitId','endsWith','getExcludedRange','14646oqNOuF','getDirtyData','_getCurNodeTypeForExprTree','checkAsyncNode','_clearPrefix','refOffsetX','formulaId','rowCount','\x22\x20is\x20duplicated.','setDependencyTreeModelData','739BpUwlI','pop','setRuntimeFeatureCellData','isForceCalculate','forEach','_otherFormulaDataMainData','execute','markedAsStopFunctionsExecuted','32iPcNrB','16NhVfYs','type','VALUE','keys','_dependencyManagerService','IDLE','from','isArray','removeFeatureFormulaDependency','removeFormulaDependencyByDefinedName','_handleChildrenForExprTree','_lambdaFunctionParameterSet','getDirtyNameMap','slice','_xlpm.','executeAsync','getStartIndex','START_CALCULATION','generate','length','endColumn','getValue','getFormulaData','_configService','addFormulaDependency','dirtyRanges','_featureFormulaData','isAdded','_formulaData','FEATURE_FORMULA','_handleNewFunctionChild','error','searchDependency','addFeatureFormulaDependency','CURRENTLY_CALCULATING','225uApwgb','add','min','_convertDirtyRangesToUnitRange','_initializeGenerateTreeList','get','treeId','message','addFormulaDependencyByDefinedName','_generateExprTree','isExcludeRange','row','startIndex','setFormulaExecuteStage','198744KxkAfR','_astTreeBuilder','isCache','children','getFormulaDependency','_xlfnPrefix','getFormulaExprTree','_otherFormulaData','_resetPrefix','setRuntimeFeatureRange','startsWith','getConfig','_getFirstCellOfRange','_endFormulaDependencyTreeModel','closeKdTree','_xlfn.','columnCount','_checkColonNodeForExprTree','addOtherFormulaDependency','reset','_hasNewExcelFunction','defineProperty','40LTEkPw','Let\x20variable\x20name\x20\x22','clearOtherFormulaDependency','treeBuilder','removeFormulaDependency','clearFormulaDependency','setTotalArrayFormulasToCalculate','range','_getFeatureFormulaTree','OTHER_FORMULA','_getDependencyTreeChildrenIds','_dependencyTreeCache','setRuntimeData','Lambda\x20parameter\x20name\x20\x22','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','getNewFormulaWithPrefix','_currentConfigService','bulkSearch','isStopExecution','clearArrayObjectCache','getDirtyRanges','COLON','isSkip','featureId','node','482oUkDzO','isDirty','_createVirtualFDtree','_addAllTreeMap','push','return\x20','delete','_lexer','has','getUnitData','_handleLambdaForExprTree','inRangeData','parseInt','max','_isCyclicUtilMap','START_DEPENDENCY_ARRAY_FORMULA','getOwnPropertyDescriptor','setCompletedFormulasCount','trim','_getTreeById','clear','_generateNewFunctionString'];_0xb928=function(){return _0x383aec;};return _0xb928();}import{LexerTreeBuilder as _0x385b82,ErrorType as _0x37c0da,DEFAULT_TOKEN_TYPE_ROOT as _0x3379c7,DEFAULT_TOKEN_TYPE_PARAMETER as _0x2f0506,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x35a387,NEW_EXCEL_FUNCTIONS as _0x31b96e,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x378596,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x409bf7,matchToken as _0xbe225,SUFFIX_TOKEN_SET as _0x2a7354,prefixToken as _0x2ec27d,LexerNode as _0x13970e,OPERATOR_TOKEN_SET as _0x5196db,isReferenceString as _0x139dc2,splitTableStructuredRef as _0x188933,FormulaDependencyGenerator as _0x2bebee,generateRandomDependencyTreeId as _0x49b136,FormulaDependencyTree as _0x417608,FormulaDependencyTreeType as _0x3490a6,FormulaDependencyTreeVirtual as _0x30bd94,generateAstNode as _0x1aedb1,CalculateFormulaService as _0x16e7be,FormulaExecuteStageType as _0x347fc8,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xa85ed5,DEFAULT_INTERVAL_COUNT as _0x51c3c7,DependencyManagerBaseService as _0x2e7e17,UniverFormulaEnginePlugin as _0x21317f,ICalculateFormulaService as _0xbf84b9,IDependencyManagerService as _0x4831b9,IFormulaDependencyGenerator as _0x3628e4,DependencyManagerService as _0x2b0e57}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x43b18b,LS_CONFIG_KEY as _0x21456b,unshiftString as _0x2a875e,isFeatureAuthorizedWithinTime as _0x3a0a21,getSheetFeatureLimit as _0x55b5ae}from'@univerjs-pro/license';import{ObjectMatrix as _0x48d1ef,requestImmediateMacroTask as _0x11472e,RTree as _0x42041c,DependentOn as _0x2b26ac}from'@univerjs/core';class De extends _0x385b82{constructor(){const _0x1d96fe=_0x5409f2;super(...arguments),C(this,_0x1d96fe(0x144),!0x1),C(this,_0x1d96fe(0x10a),new Set()),C(this,_0x1d96fe(0xc3),_0x1d96fe(0x10d)),C(this,_0x1d96fe(0x135),'_xlfn.'),C(this,_0x1d96fe(0xe9),'');}['_resetPrefix'](){const _0x2a46fc=_0x5409f2;this[_0x2a46fc(0xc3)]=_0x2a46fc(0x10d),this[_0x2a46fc(0x135)]=_0x2a46fc(0x13f);}[_0x5409f2(0xf0)](){const _0x1133f1=_0x5409f2;this[_0x1133f1(0xc3)]='',this[_0x1133f1(0x135)]='';}[_0x5409f2(0x155)](_0x201c5a,_0x17007a){const _0xbaaae1=_0x5409f2,_0x28d491=this[_0xbaaae1(0x149)](_0x201c5a,!0x1);if(!_0x28d491||_0x28d491===_0x37c0da['VALUE']||Array['isArray'](_0x28d491))return null;const _0x4816f2=[];return this['_hasNewExcelFunction']=!0x1,this[_0xbaaae1(0x9d)](_0x28d491,_0x4816f2,_0x17007a),this[_0xbaaae1(0x144)]?'='+_0x4816f2['join'](''):null;}[_0x5409f2(0x9d)](_0x53677c,_0x33237b,_0x134f70){const _0x5302b2=_0x5409f2,_0x46dd13=_0x53677c[_0x5302b2(0xa4)](),_0x27a50b=_0x46dd13['trim'](),_0x244dbf=_0x27a50b['toUpperCase'](),_0x1df4e8=this['_clearFunctionString'](_0x244dbf),_0x3ea5b2=_0x134f70(_0x1df4e8);let _0x5e4313=0x0;_0x46dd13===_0x3379c7?_0x5e4313=0x3:_0x46dd13===_0x2f0506?_0x5e4313=0x4:_0x46dd13===_0x35a387?_0x5e4313=0x5:_0x31b96e['has'](_0x1df4e8)?(_0x33237b['push'](''+this[_0x5302b2(0x135)]+_0x27a50b),this['_hasNewExcelFunction']=!0x0):_0x244dbf===_0x378596?(_0x33237b['push'](''+this[_0x5302b2(0x135)]+_0x27a50b),this[_0x5302b2(0x144)]=!0x0,_0x5e4313=0x2):_0x244dbf===_0x409bf7?(_0x33237b[_0x5302b2(0x8c)](''+this[_0x5302b2(0x135)]+_0x27a50b),this[_0x5302b2(0x144)]=!0x0,_0x5e4313=0x1):_0x244dbf===_0xbe225[_0x5302b2(0x15b)]?_0x5e4313=0x8:_0x2a7354[_0x5302b2(0x90)](_0x244dbf)?_0x5e4313=0x7:_0x244dbf===_0x2ec27d[_0x5302b2(0xc9)]?(this['_checkAddBracketForMinus'](_0x53677c)&&(_0x5e4313=0x9),_0x33237b[_0x5302b2(0x8c)](_0x46dd13)):(_0x33237b['push'](_0x46dd13),_0x5e4313=0xa),_0x3ea5b2?(_0x5e4313!==0x2&&_0x5e4313!==0x1&&(_0x5e4313=0x6),_0x33237b[_0x5302b2(0x8c)]('(')):_0x5e4313===0x9&&_0x33237b[_0x5302b2(0x8c)]('(');const _0xeccea9=_0x53677c[_0x5302b2(0xd7)](),_0x2f072f=_0xeccea9[_0x5302b2(0x112)];if(_0x5e4313===0x2){const _0x85e1c5=_0xeccea9[0x0];let _0x261b30=0x0;_0x85e1c5 instanceof _0x13970e&&_0x85e1c5[_0x5302b2(0xa4)]()===_0x35a387&&(_0x261b30=0x1);for(let _0x59d9cb=_0x261b30;_0x59d9cb<_0x2f072f-0x1;_0x59d9cb++){const _0x2ccaa5=_0xeccea9[_0x59d9cb];if(_0x2ccaa5 instanceof _0x13970e){const _0x47c5ea=_0x2ccaa5['getChildren']()[0x0];typeof _0x47c5ea=='string'&&(this['_lambdaFunctionParameterSet'][_0x5302b2(0x90)](_0x47c5ea)&&console[_0x5302b2(0x11e)](_0x5302b2(0x153)+_0x47c5ea+_0x5302b2(0xf4)),this['_lambdaFunctionParameterSet'][_0x5302b2(0x123)](_0x47c5ea),_0x33237b['push'](''+this['_xlpmPrefix']+_0x47c5ea),this[_0x5302b2(0x144)]=!0x0);}_0x33237b[_0x5302b2(0x8c)](',');}this[_0x5302b2(0x11d)](_0xeccea9[_0x2f072f-0x1],_0x33237b,_0x134f70),_0x261b30===0x1&&(_0x33237b[_0x5302b2(0x8c)](')'),_0x33237b[_0x5302b2(0x8c)]('('),this[_0x5302b2(0x9d)](_0x85e1c5,_0x33237b,_0x134f70)),_0x33237b[_0x5302b2(0x8c)](')');return;}else{if(_0x5e4313===0x1){for(let _0x5bc1ca=0x0;_0x5bc1ca<_0x2f072f-0x1;_0x5bc1ca++){const _0x5073ed=_0xeccea9[_0x5bc1ca];if(_0x5073ed instanceof _0x13970e&&_0x5bc1ca%0x2===0x0){const _0x36d28e=_0x5073ed['getChildren']()[0x0];if(typeof _0x36d28e=='string'){this[_0x5302b2(0x10a)]['has'](_0x36d28e)&&console['error'](_0x5302b2(0x147)+_0x36d28e+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x5302b2(0x123)](_0x36d28e),_0x33237b[_0x5302b2(0x8c)](''+this['_xlpmPrefix']+_0x36d28e),this[_0x5302b2(0x144)]=!0x0,_0x33237b[_0x5302b2(0x8c)](',');continue;}}if(this[_0x5302b2(0x11d)](_0x5073ed,_0x33237b,_0x134f70),_0x5073ed instanceof _0x13970e){const _0x384458=_0xeccea9[_0x5bc1ca+0x1];_0x384458&&_0x384458 instanceof _0x13970e&&_0x33237b['push'](',');}}this[_0x5302b2(0x11d)](_0xeccea9[_0x2f072f-0x1],_0x33237b,_0x134f70),_0x33237b[_0x5302b2(0x8c)](')');return;}else{if(_0x5e4313===0x8){const _0x2f3331=_0xeccea9[0x0],_0xc13357=_0xeccea9[0x1];this['_handleNewFunctionChild'](_0x2f3331,_0x33237b,_0x134f70),_0x33237b[_0x5302b2(0x8c)](_0x46dd13),this[_0x5302b2(0x11d)](_0xc13357,_0x33237b,_0x134f70);return;}}}for(let _0x5d3597=0x0;_0x5d3597<_0x2f072f;_0x5d3597++){const _0x450416=_0xeccea9[_0x5d3597];if(this[_0x5302b2(0x11d)](_0x450416,_0x33237b,_0x134f70),_0x450416 instanceof _0x13970e){const _0x45e18a=_0xeccea9[_0x5d3597+0x1];_0x45e18a&&_0x45e18a instanceof _0x13970e&&_0x33237b[_0x5302b2(0x8c)](',');}}_0x5e4313===0x7&&_0x33237b[_0x5302b2(0x8c)](_0x46dd13),(_0x3ea5b2||_0x5e4313===0x9)&&_0x33237b['push'](')');}['_handleNewFunctionChild'](_0x2b378f,_0x450e2f,_0x5221c6){const _0x463c18=_0x5409f2;_0x2b378f instanceof _0x13970e?this[_0x463c18(0x9d)](_0x2b378f,_0x450e2f,_0x5221c6):this[_0x463c18(0x10a)][_0x463c18(0x90)](_0x2b378f)?(_0x450e2f[_0x463c18(0x8c)](''+this[_0x463c18(0xc3)]+_0x2b378f),this[_0x463c18(0x144)]=!0x0):_0x450e2f[_0x463c18(0x8c)](_0x2b378f);}['_clearFunctionString'](_0x5a7bc8){const _0x2f0561=_0x5409f2;let _0x30692b=_0x5a7bc8[_0x2f0561(0x9a)]();if(!_0x30692b)return _0x30692b;const _0x256d38=_0x30692b[0x0];if((_0x256d38===_0x2ec27d['AT']||_0x256d38===_0x2ec27d[_0x2f0561(0xc9)]||_0x256d38===_0x2ec27d['PLUS'])&&(_0x30692b=_0x30692b[_0x2f0561(0x10c)](0x1)),!_0x30692b)return _0x30692b;const _0x3d51b9=_0x30692b[_0x30692b[_0x2f0561(0x112)]-0x1];return _0x2a7354[_0x2f0561(0x90)](_0x3d51b9)&&(_0x30692b=_0x30692b[_0x2f0561(0x10c)](0x0,-0x1)),_0x30692b;}[_0x5409f2(0xb0)](_0x2714d8){const _0x59bef3=_0x5409f2,_0x353a7c=_0x2714d8['getChildren']()[0x0];if(!_0x353a7c||!(_0x353a7c instanceof _0x13970e)||_0x2714d8[_0x59bef3(0xd7)]()['length']>0x1)return!0x1;const _0x4b50a9=_0x353a7c[_0x59bef3(0xd7)](),_0x40f81d=_0x4b50a9[_0x59bef3(0x112)];if(_0x40f81d===0x1)return!0x1;for(let _0xbca23e=0x0;_0xbca23e<_0x40f81d;_0xbca23e++){const _0x4bd802=_0x4b50a9[_0xbca23e];if(!(_0x4bd802 instanceof _0x13970e)&&_0x5196db[_0x59bef3(0x90)](_0x4bd802))return!0x0;}return!0x1;}[_0x5409f2(0x136)](_0x7e5cb6,_0x586fbc,_0x5dfb86,_0xdf614,_0x1c707d){const _0x1fd38e=_0x5409f2,_0x564784=this['treeBuilder'](_0x7e5cb6,!0x1);if(!_0x564784||_0x564784===_0x37c0da[_0x1fd38e(0x101)]||Array[_0x1fd38e(0x106)](_0x564784))return null;this[_0x1fd38e(0xf0)](),this[_0x1fd38e(0xe9)]=_0x586fbc;const _0x49fd24=this[_0x1fd38e(0x12b)](_0x564784,_0x5dfb86,_0xdf614,_0x1c707d);return this[_0x1fd38e(0xe9)]='',this[_0x1fd38e(0x138)](),_0x49fd24;}['_generateExprTree'](_0x4a918e,_0x551a27,_0xf57628,_0x327ea7){const _0x481e60=_0x5409f2,_0x5e4bd9={'value':'','children':[],'startIndex':0x0};let _0x2ea355=_0x4a918e;if(_0x2ea355 instanceof _0x13970e&&(_0x2ea355[_0x481e60(0xa4)]()===_0x3379c7||_0x2ea355[_0x481e60(0xa4)]()===_0x2f0506)&&_0x2ea355['getChildren']()['length']===0x1&&(_0x2ea355=_0x2ea355['getChildren']()[0x0]),!(_0x2ea355 instanceof _0x13970e))return this[_0x481e60(0xaf)](_0x2ea355,_0xf57628,_0x327ea7);const _0x594bcb=_0x2ea355[_0x481e60(0xd7)](),_0x35bad4=_0x594bcb[_0x481e60(0x112)],_0xcb7c2b=[];this['_generateNewFunctionString'](_0x2ea355,_0xcb7c2b,_0x551a27),_0x5e4bd9['value']=_0xcb7c2b['join'](''),_0x5e4bd9[_0x481e60(0x12e)]=_0x2ea355[_0x481e60(0x10f)]();const _0x21179c=this[_0x481e60(0xee)](_0x2ea355);if(_0x21179c===0x2){const _0x57f056=_0x594bcb[0x0];if(_0x57f056 instanceof _0x13970e){if(_0x57f056[_0x481e60(0xa4)]()['trim']()!==_0x35a387)return _0x5e4bd9;this[_0x481e60(0x92)](_0x57f056,_0x5e4bd9,_0x551a27,_0xf57628,_0x327ea7);}return _0x5e4bd9;}else{if(_0x21179c===0x1){for(let _0x3022a8=0x0;_0x3022a8<_0x35bad4-0x1;_0x3022a8++){const _0x12ac7c=_0x594bcb[_0x3022a8];if(_0x12ac7c instanceof _0x13970e&&_0x3022a8%0x2===0x1){const _0x5bd619=_0x12ac7c['getChildren']();if(_0x5bd619[_0x481e60(0x112)]===0x1&&!(_0x5bd619[0x0]instanceof _0x13970e))continue;const _0x4bc403=this[_0x481e60(0x12b)](_0x12ac7c,_0x551a27,_0xf57628,_0x327ea7);_0x4bc403&&_0x5e4bd9['children'][_0x481e60(0x8c)](_0x4bc403);}}return _0x5e4bd9;}else{if(_0x21179c===0x8){const _0x9acadc=_0x594bcb[0x0];if(_0x9acadc instanceof _0x13970e){const _0x1880b2=_0x9acadc[_0x481e60(0xd7)]()[0x0];_0x1880b2 instanceof _0x13970e&&(_0x5e4bd9['startIndex']=_0x1880b2[_0x481e60(0x10f)]());}if(this['_checkColonNodeForExprTree'](_0x2ea355))return _0x5e4bd9;}else{if(_0x21179c===0x7){const _0x1d4d7c=_0x594bcb[0x0];if(_0x1d4d7c instanceof _0x13970e){const _0x129fc4=_0x1d4d7c['getChildren']()[0x0];_0x129fc4 instanceof _0x13970e&&(_0x5e4bd9[_0x481e60(0x12e)]=_0x129fc4[_0x481e60(0x10f)]());}}}}}return this[_0x481e60(0x109)](_0x594bcb,_0x21179c,_0x5e4bd9,_0x551a27,_0xf57628,_0x327ea7),_0x5e4bd9;}[_0x5409f2(0x109)](_0x337b87,_0xcf9a69,_0x3227e4,_0x5e015a,_0x2b3c8c,_0x59853c){const _0x351b7f=_0x5409f2;for(let _0x4df1bc=0x0;_0x4df1bc<_0x337b87[_0x351b7f(0x112)];_0x4df1bc++){let _0x4d2607=_0x337b87[_0x4df1bc];if(!(_0x4d2607 instanceof _0x13970e)){const _0x4e2c3a=this['_handleTextNodeForExprTree'](_0x4d2607,_0x2b3c8c,_0x59853c);_0x4e2c3a&&_0x3227e4[_0x351b7f(0x133)][_0x351b7f(0x8c)](_0x4e2c3a);continue;}const _0x27269c=_0x4d2607[_0x351b7f(0xd7)]();if(_0x27269c[_0x351b7f(0x112)]===0x1&&!(_0x27269c[0x0]instanceof _0x13970e)){const _0x5b1975=_0x27269c[0x0];if(!_0x2b3c8c(this[_0x351b7f(0xe9)],_0x5b1975)&&!this['_getTableNameFromStructuredRef'](_0x5b1975,_0x59853c)&&!_0x139dc2(_0x5b1975))continue;}if(_0xcf9a69===0x8){const _0x14255d=_0x27269c[0x0];if(_0x14255d instanceof _0x13970e){const _0x621145=_0x14255d[_0x351b7f(0xa4)]()[_0x351b7f(0x9a)]();if(_0x139dc2(_0x621145))continue;_0x4d2607=_0x14255d;}}const _0x4906eb=this['_generateExprTree'](_0x4d2607,_0x5e015a,_0x2b3c8c,_0x59853c);_0x4906eb&&_0x3227e4[_0x351b7f(0x133)]['push'](_0x4906eb);}}[_0x5409f2(0x141)](_0x58d24f){const _0x4448e9=_0x5409f2,_0x358f58=_0x58d24f[_0x4448e9(0xd7)]();if(_0x358f58[_0x4448e9(0x112)]<0x2)return!0x1;const _0x3c5cf2=_0x358f58[0x0],_0x3b46f9=_0x358f58[0x1];if(!(_0x3c5cf2 instanceof _0x13970e)||!(_0x3b46f9 instanceof _0x13970e))return!0x1;const _0x113b50=_0x3c5cf2[_0x4448e9(0xd7)]()[0x0],_0x1f666f=_0x3b46f9['getChildren']()[0x0];if(!(_0x113b50 instanceof _0x13970e)||!(_0x1f666f instanceof _0x13970e))return!0x1;const _0x1bbe2d=_0x113b50[_0x4448e9(0xa4)]()[_0x4448e9(0x9a)](),_0x4a37da=_0x1f666f[_0x4448e9(0xa4)]()[_0x4448e9(0x9a)]();return!!_0x139dc2(''+_0x1bbe2d+_0xbe225[_0x4448e9(0x15b)]+_0x4a37da);}['_handleTextNodeForExprTree'](_0x23ebe4,_0x24d8a9,_0x4c84f2){const _0x4211a1=_0x5409f2,_0x2ae13d=_0x23ebe4[_0x4211a1(0x9a)]();return _0x2ae13d[_0x4211a1(0x13a)]('{')&&_0x2ae13d[_0x4211a1(0xea)]('}')||_0x24d8a9(this['_currentUnitId'],_0x2ae13d)||this[_0x4211a1(0xa2)](_0x2ae13d,_0x4c84f2)||_0x139dc2(_0x2ae13d)?{'value':_0x2ae13d,'children':[],'startIndex':-0x1}:null;}[_0x5409f2(0xa2)](_0xf5c4f3,_0x23e9d2){const {tableName:_0x4519d7}=_0x188933(_0xf5c4f3);return _0x23e9d2(this['_currentUnitId'],_0x4519d7)?_0x4519d7:null;}['_handleLambdaForExprTree'](_0x19538e,_0x58d9c5,_0x5be8cc,_0x3f7719,_0x563417){const _0x2088f9=_0x5409f2,_0x38457c=_0x19538e['getChildren']();for(let _0x7090e2=0x0;_0x7090e2<_0x38457c['length'];_0x7090e2++){const _0x575d57=_0x38457c[_0x7090e2];if(!(_0x575d57 instanceof _0x13970e))continue;const _0x409dfd=_0x575d57['getChildren']();if(_0x409dfd[_0x2088f9(0x112)]===0x1&&!(_0x409dfd[0x0]instanceof _0x13970e))continue;const _0x36771e=this[_0x2088f9(0x12b)](_0x575d57,_0x5be8cc,_0x3f7719,_0x563417);_0x36771e&&_0x58d9c5[_0x2088f9(0x133)][_0x2088f9(0x8c)](_0x36771e);}}[_0x5409f2(0xee)](_0x9f0c17){const _0x496e8e=_0x5409f2,_0x46d42d=_0x9f0c17[_0x496e8e(0xa4)](),_0x1773a9=_0x46d42d[_0x496e8e(0x9a)]()['toUpperCase']();let _0x40cb84=0x0;return _0x46d42d===_0x3379c7?_0x40cb84=0x3:_0x46d42d===_0x2f0506?_0x40cb84=0x4:_0x46d42d===_0x35a387?_0x40cb84=0x5:_0x1773a9===_0x378596?_0x40cb84=0x2:_0x1773a9===_0x409bf7?_0x40cb84=0x1:_0x1773a9===_0xbe225[_0x496e8e(0x15b)]?_0x40cb84=0x8:_0x2a7354[_0x496e8e(0x90)](_0x1773a9)?_0x40cb84=0x7:_0x1773a9===_0x2ec27d[_0x496e8e(0xc9)]?this['_checkAddBracketForMinus'](_0x9f0c17)&&(_0x40cb84=0x9):_0x40cb84=0xa,_0x40cb84;}}class ke extends _0x2bebee{constructor(){const _0x760153=_0x5409f2;super(...arguments),C(this,_0x760153(0x151),new Map());}[_0x5409f2(0xbb)](){const _0x2e147c=_0x5409f2;super[_0x2e147c(0xbb)](),this['_dependencyTreeCache'][_0x2e147c(0x9c)]();}async[_0x5409f2(0x111)](_0x5bbfca=!0x1){const _0x30a335=_0x5409f2;this['_updateRangeFlatten']();const _0x59d815=this[_0x30a335(0x156)][_0x30a335(0x115)](),_0x1865a9=this[_0x30a335(0xd1)]['getOtherFormulaData'](),_0x1d5162=this[_0x30a335(0x156)][_0x30a335(0xb6)]();_0x1d5162!=null&&Object[_0x30a335(0x102)](_0x1d5162)[_0x30a335(0xfa)](_0x3e491c=>{const _0x49db91=_0x30a335;_0x3e491c!=null&&Object['keys'](_0x1d5162[_0x3e491c])[_0x49db91(0xfa)](_0x315184=>{const _0x4ec8df=_0x49db91;_0x315184!=null&&(this[_0x4ec8df(0x103)][_0x4ec8df(0x148)](_0x3e491c,_0x315184),this['_dependencyManagerService'][_0x4ec8df(0xe6)](_0x3e491c,_0x315184),this['_dependencyManagerService'][_0x4ec8df(0x14b)](_0x3e491c,_0x315184));});});const _0x41a8eb=this[_0x30a335(0x156)][_0x30a335(0x91)]();await this[_0x30a335(0xb1)](_0x59d815,_0x1865a9,_0x41a8eb),this[_0x30a335(0x103)][_0x30a335(0xdd)]();const _0x6b8fb1=this[_0x30a335(0xc4)](),_0x61e690=this[_0x30a335(0xc2)](_0x6b8fb1);return this['_checkIsCycleDependency'](_0x61e690)&&this[_0x30a335(0xde)][_0x30a335(0xb2)](),_0x5bbfca&&this[_0x30a335(0xde)][_0x30a335(0xf5)](this[_0x30a335(0xdb)](Array[_0x30a335(0x105)](this[_0x30a335(0x151)][_0x30a335(0xdf)]()))),this['_dependencyTreeCache'][_0x30a335(0x9c)](),this[_0x30a335(0xb4)]['clear'](),this[_0x30a335(0x103)][_0x30a335(0x13e)](),this[_0x30a335(0xde)][_0x30a335(0x159)](),Promise['resolve'](_0x61e690);}[_0x5409f2(0x96)](_0x5bee9a,_0x30605e){const _0x1a8b58=_0x5409f2,_0x25564d=[_0x5bee9a];for(;_0x25564d[_0x1a8b58(0x112)]>0x0;){const _0x50e904=_0x25564d[_0x25564d[_0x1a8b58(0x112)]-0x1];if((_0x30605e[_0x1a8b58(0x127)](_0x50e904)||0x0)===0x0){_0x30605e[_0x1a8b58(0xdc)](_0x50e904,0x1);const _0x3e9c28=this[_0x1a8b58(0x151)]['get'](_0x50e904);if(_0x3e9c28==null){_0x30605e[_0x1a8b58(0xdc)](_0x50e904,0x2),_0x25564d['pop']();continue;}const _0x4e7bb6=this['_dependencyManagerService'][_0x1a8b58(0x11f)](_0x3e9c28['toRTreeItem']());for(const _0x193333 of _0x4e7bb6){const _0x45c83e=_0x30605e[_0x1a8b58(0x127)](_0x193333)||0x0;if(_0x45c83e===0x1)return!0x0;_0x45c83e===0x0&&_0x25564d[_0x1a8b58(0x8c)](_0x193333);}}else _0x30605e[_0x1a8b58(0xdc)](_0x50e904,0x2),_0x25564d[_0x1a8b58(0xf7)]();}return!0x1;}[_0x5409f2(0xd9)](_0x58708a){const _0xe23531=_0x5409f2,_0x4eb61a=new Map();for(const _0x35fc4a of _0x58708a)if(!_0x4eb61a[_0xe23531(0x90)](_0x35fc4a['treeId'])&&this[_0xe23531(0x96)](_0x35fc4a[_0xe23531(0x128)],_0x4eb61a))return!0x0;return _0x4eb61a[_0xe23531(0x9c)](),!0x1;}[_0x5409f2(0x14e)](_0x3d9835,_0x534830,_0x500dcd){const _0x5c0d19=_0x5409f2,{unitId:_0x1743e1,subUnitId:_0x8df7a1,dependencyRanges:_0xc4ed55,getDirtyData:_0x3d7efd}=_0x500dcd,_0x4ef5c4=_0x534830||_0x49b136(this[_0x5c0d19(0x103)]),_0x40192b=new _0x417608(_0x4ef5c4);_0x40192b[_0x5c0d19(0xa5)]=_0x1743e1,_0x40192b['subUnitId']=_0x8df7a1,_0x40192b['rangeList']=_0xc4ed55,_0x40192b['getDirtyData']=_0x3d7efd;const _0x4afd8c=_0x3d7efd(this[_0x5c0d19(0x156)][_0x5c0d19(0xed)](),this[_0x5c0d19(0xde)][_0x5c0d19(0xd2)]()),_0x20da93=this[_0x5c0d19(0x125)](_0x4afd8c[_0x5c0d19(0x118)]);return _0x40192b['featureDirtyRanges']=_0x20da93,_0x40192b['featureId']=_0x3d9835,_0x40192b[_0x5c0d19(0x100)]=_0x3490a6[_0x5c0d19(0x11c)],this[_0x5c0d19(0x103)][_0x5c0d19(0x120)](_0x1743e1,_0x8df7a1,_0x3d9835,_0x40192b),this['_dependencyTreeCache'][_0x5c0d19(0xdc)](_0x40192b[_0x5c0d19(0x128)],_0x40192b),this[_0x5c0d19(0x103)]['getFeatureFormulaDependency'](_0x500dcd[_0x5c0d19(0xa5)],_0x500dcd['subUnitId'],_0x3d9835)&&(_0x40192b[_0x5c0d19(0x132)]=!0x0),_0x40192b;}['_registerOtherFormulas'](_0x1a9143,_0x4e94cd,_0x245660){const _0x114af7=_0x5409f2;var _0x4a6f15;for(const _0x228038 of _0x4e94cd){const _0x2d04ed=_0x1a9143[_0x228038];if(_0x2d04ed==null)continue;const _0x52b917=Object[_0x114af7(0x102)](_0x2d04ed);for(const _0x4b5177 of _0x52b917){const _0x12ca06=_0x2d04ed[_0x4b5177];if(_0x12ca06==null)continue;const _0x1da9ff=Object[_0x114af7(0x102)](_0x12ca06);for(const _0x449ec4 of _0x1da9ff){const _0x357016=this[_0x114af7(0x103)][_0x114af7(0xc0)](_0x449ec4),_0x48de60=_0x12ca06[_0x449ec4],{f:_0x440766,ranges:_0x842dfa}=_0x48de60;let _0x4dd16c=!0x1;_0x357016&&(_0x4dd16c=!0x0);const {firstRow:_0x127543,firstColumn:_0x276665}=this[_0x114af7(0x13c)](_0x842dfa),_0x1205da=this[_0x114af7(0x103)]['getOtherFormulaDependency'](_0x228038,_0x4b5177,_0x449ec4),_0x295e3c=(_0x4a6f15=_0x1205da==null?void 0x0:_0x1205da[_0x114af7(0x114)](0x0,0x0))!=null?_0x4a6f15:_0x49b136(this[_0x114af7(0x103)]),_0x45aaa5=new _0x417608(_0x295e3c);for(let _0x4b5eee=0x0;_0x4b5eee<_0x842dfa['length'];_0x4b5eee++){const _0x3f3ba1=_0x842dfa[_0x4b5eee],{startRow:_0x526a9c,startColumn:_0x3cf6f6,endRow:_0x292be1,endColumn:_0x123e2a}=_0x3f3ba1;for(let _0x45e8be=_0x526a9c;_0x45e8be<=_0x292be1;_0x45e8be++)for(let _0x15cc9f=_0x3cf6f6;_0x15cc9f<=_0x123e2a;_0x15cc9f++){const _0x1cdd85=_0x15cc9f-_0x276665,_0x2d44bd=_0x45e8be-_0x127543;if(_0x1cdd85===0x0&&_0x2d44bd===0x0){_0x45aaa5[_0x114af7(0xbf)]=_0x440766,_0x45aaa5['unitId']=_0x228038,_0x45aaa5[_0x114af7(0xaa)]=_0x4b5177,_0x45aaa5['formulaId']=_0x449ec4,_0x45aaa5['type']=_0x3490a6[_0x114af7(0x14f)],_0x45aaa5[_0x114af7(0x132)]=_0x4dd16c,_0x245660[_0x114af7(0x8c)](_0x45aaa5),this['_dependencyTreeCache'][_0x114af7(0xdc)](_0x45aaa5[_0x114af7(0x128)],_0x45aaa5),this[_0x114af7(0x103)][_0x114af7(0x142)](_0x228038,_0x4b5177,_0x449ec4,_0x45aaa5),this[_0x114af7(0x103)][_0x114af7(0x12a)](_0x45aaa5);continue;}const _0x55111a=new _0x30bd94();_0x55111a[_0x114af7(0x128)]=(_0x1205da==null?void 0x0:_0x1205da[_0x114af7(0x114)](_0x1cdd85,_0x2d44bd))||_0x49b136(this[_0x114af7(0x103)]),_0x55111a[_0x114af7(0xe5)]=_0x45aaa5,_0x55111a[_0x114af7(0xf1)]=_0x1cdd85,_0x55111a[_0x114af7(0xa7)]=_0x2d44bd,_0x55111a[_0x114af7(0x132)]=_0x4dd16c,_0x55111a['type']=_0x3490a6['OTHER_FORMULA'],this[_0x114af7(0x103)][_0x114af7(0x142)](_0x228038,_0x4b5177,_0x449ec4,_0x55111a),this[_0x114af7(0x103)][_0x114af7(0x12a)](_0x55111a),_0x245660['push'](_0x55111a),this['_dependencyTreeCache'][_0x114af7(0xdc)](_0x55111a[_0x114af7(0x128)],_0x55111a);}}this[_0x114af7(0x103)][_0x114af7(0xad)](_0x449ec4);}}}}[_0x5409f2(0xd0)](_0x32dccf,_0x39ec23,_0x56a12a,_0x34a440){const _0x55d6c6=_0x5409f2;for(const _0x220ce4 of _0x32dccf){const _0x474dfe=_0x39ec23[_0x220ce4];if(_0x474dfe==null)continue;const _0x53cbb3=Object[_0x55d6c6(0x102)](_0x474dfe);for(const _0x3ba7ab of _0x53cbb3){const _0x4bd510=new _0x48d1ef(_0x474dfe[_0x3ba7ab]||{}),_0x375559=new Map();_0x4bd510['forValue']((_0x41d150,_0x106a0d,_0x576858)=>{const _0x4827f3=_0x55d6c6;if(_0x576858==null)return!0x0;const {x:_0x52c932=0x0,y:y=0x0,si:_0x3f93c7}=_0x576858;if(!(_0x52c932===0x0&&y===0x0&&_0x3f93c7!=null))return!0x0;const _0x4feecb=this[_0x4827f3(0xd3)](_0x220ce4,_0x3ba7ab,_0x41d150,_0x106a0d,_0x56a12a,_0x576858),_0x436ddd=this[_0x4827f3(0x103)][_0x4827f3(0x134)](_0x220ce4,_0x3ba7ab,_0x41d150,_0x106a0d);_0x436ddd!=null?_0x4feecb[_0x4827f3(0x128)]=_0x436ddd:(this[_0x4827f3(0x103)][_0x4827f3(0x117)](_0x220ce4,_0x3ba7ab,_0x41d150,_0x106a0d,_0x4feecb),this['_dependencyManagerService'][_0x4827f3(0x12a)](_0x4feecb)),_0x375559[_0x4827f3(0xdc)](_0x3f93c7,_0x4feecb),_0x34a440[_0x4827f3(0x8c)](_0x4feecb),this[_0x4827f3(0x151)][_0x4827f3(0xdc)](_0x4feecb[_0x4827f3(0x128)],_0x4feecb);}),_0x4bd510[_0x55d6c6(0xc6)]((_0x440f32,_0x1ebf3c,_0x356a08)=>{const _0x256802=_0x55d6c6;if(_0x356a08==null)return!0x0;const {x:_0x4c1521=0x0,y:y=0x0,si:_0x31017d}=_0x356a08;if(_0x4c1521===0x0&&y===0x0&&_0x31017d!=null)return!0x0;let _0x46c40e;if(_0x31017d&&_0x375559['has'](_0x31017d)){const _0x3f069b=_0x375559[_0x256802(0x127)](_0x31017d);_0x46c40e=this[_0x256802(0x8a)](_0x3f069b,_0x356a08);}else _0x46c40e=this[_0x256802(0xd3)](_0x220ce4,_0x3ba7ab,_0x440f32,_0x1ebf3c,_0x56a12a,_0x356a08);const _0x15518b=this['_dependencyManagerService'][_0x256802(0x134)](_0x220ce4,_0x3ba7ab,_0x440f32,_0x1ebf3c);_0x15518b!=null?_0x46c40e[_0x256802(0x128)]=_0x15518b:(this['_dependencyManagerService'][_0x256802(0x117)](_0x220ce4,_0x3ba7ab,_0x440f32,_0x1ebf3c,_0x46c40e),this[_0x256802(0x103)][_0x256802(0x12a)](_0x46c40e)),_0x34a440['push'](_0x46c40e),this[_0x256802(0x151)]['set'](_0x46c40e[_0x256802(0x128)],_0x46c40e);}),_0x375559[_0x55d6c6(0x9c)]();}}}['_createFDtree'](_0x19f93c,_0x1527ff,_0x231256,_0xaf0590,_0x4e3acc,_0x68e924){const _0x1347a0=_0x5409f2,{f:_0x427918,x:_0x3d37a5=0x0,y:_0x2bf9be=0x0}=_0x68e924,_0x562432=new _0x417608(_0x49b136(this[_0x1347a0(0x103)])),_0x6c77f9=_0x4e3acc[_0x19f93c][_0x1527ff];return _0x562432[_0x1347a0(0xbf)]=_0x427918,_0x562432[_0x1347a0(0xa5)]=_0x19f93c,_0x562432['subUnitId']=_0x1527ff,_0x562432[_0x1347a0(0x12d)]=_0x231256,_0x562432['column']=_0xaf0590,_0x562432[_0x1347a0(0xf3)]=_0x6c77f9[_0x1347a0(0xf3)],_0x562432[_0x1347a0(0x140)]=_0x6c77f9['columnCount'],_0x562432;}[_0x5409f2(0xc4)](){const _0x122bf9=_0x5409f2,_0xb26043=[],_0x161ae7=new Set(),_0x179d6b=this[_0x122bf9(0x156)][_0x122bf9(0xf9)](),_0x461dd1=this[_0x122bf9(0x156)][_0x122bf9(0x15a)](),_0x98c054=this[_0x122bf9(0x103)][_0x122bf9(0x11f)](_0x461dd1),_0x147186=this['_dependencyRTreeCacheForAddressFunction'][_0x122bf9(0x157)](_0x461dd1);for(const _0x138572 of _0x147186)_0x98c054[_0x122bf9(0x123)](_0x138572);for(const [_0xe00bbe,_0xa33a5a]of this[_0x122bf9(0x151)])(_0x179d6b||_0xa33a5a[_0x122bf9(0x89)]||_0xa33a5a[_0x122bf9(0x9f)](this[_0x122bf9(0x156)][_0x122bf9(0x10b)]())||_0x98c054[_0x122bf9(0x90)](_0xe00bbe)&&!_0xa33a5a[_0x122bf9(0x12c)](this['_currentConfigService'][_0x122bf9(0xeb)]()))&&!_0x161ae7[_0x122bf9(0x90)](_0xe00bbe)&&(_0xb26043[_0x122bf9(0x8c)](_0xa33a5a),_0x161ae7['add'](_0xe00bbe));for(const [_0x27f7a9,_0x1af3ea]of this[_0x122bf9(0x151)])_0x1af3ea[_0x122bf9(0xc7)]||(_0x1af3ea[_0x122bf9(0xd5)][_0x122bf9(0x112)]=0x0);return _0xb26043;}[_0x5409f2(0x9b)](_0x4b380b){const _0x2887ef=_0x5409f2;return this[_0x2887ef(0x151)][_0x2887ef(0x127)](_0x4b380b);}[_0x5409f2(0xb3)](_0x3ce60b){const _0x5c86de=_0x5409f2;return _0x1aedb1(_0x3ce60b[_0x5c86de(0xa5)],_0x3ce60b['formula'],this[_0x5c86de(0x8f)],this[_0x5c86de(0x131)],this['_currentConfigService']);}*[_0x5409f2(0xc8)](_0x2a8d8c,_0x5a05c7){const _0x471115=_0x5409f2,_0x453a8f=_0x2a8d8c,_0x2c83e3=new Set();for(;_0x453a8f[_0x471115(0x112)]>0x0;){const _0x4a2f1c=_0x453a8f[_0x471115(0xf7)]();if(_0x2c83e3[_0x471115(0x9c)](),_0x4a2f1c===void 0x0||_0x4a2f1c[_0x471115(0x15c)]())continue;if(_0x4a2f1c[_0x471115(0x11a)]()){yield _0x4a2f1c,_0x4a2f1c['setSkip'](),_0x5a05c7[_0x471115(0x123)](_0x4a2f1c[_0x471115(0x128)]);continue;}const _0x347b27=this[_0x471115(0x103)][_0x471115(0x11f)](_0x4a2f1c[_0x471115(0xa3)](),_0x5a05c7),_0x41b090=this[_0x471115(0xb4)]['bulkSearch'](_0x4a2f1c[_0x471115(0xa3)](),_0x5a05c7);for(const _0x2eb81e of _0x41b090)_0x347b27['add'](_0x2eb81e);for(const _0x38842a of _0x347b27){const _0x3c1900=this[_0x471115(0x151)][_0x471115(0x127)](_0x38842a);if(!_0x3c1900){console[_0x471115(0x11e)](_0x471115(0x154),_0x38842a);continue;}_0x3c1900[_0x471115(0x11a)]()||_0x4a2f1c[_0x471115(0x15c)]()||_0x2c83e3[_0x471115(0x123)](_0x3c1900);}if(_0x347b27[_0x471115(0x9c)](),_0x2c83e3[_0x471115(0xcd)]===0x0)yield _0x4a2f1c,_0x4a2f1c['setSkip'](),_0x5a05c7['add'](_0x4a2f1c[_0x471115(0x128)]);else{_0x4a2f1c[_0x471115(0xa6)](),_0x453a8f[_0x471115(0x8c)](_0x4a2f1c);for(const _0x35df39 of _0x2c83e3)_0x453a8f[_0x471115(0x8c)](_0x35df39);}}_0x453a8f[_0x471115(0x112)]=0x0,_0x2c83e3['clear']();}[_0x5409f2(0xc2)](_0x43aab1){const _0xb39f3b=_0x5409f2,_0x5138f3=[],_0x2d9518=new Set();for(const _0x161cad of this[_0xb39f3b(0xc8)](_0x43aab1,_0x2d9518))_0x5138f3[_0xb39f3b(0x8c)](_0x161cad);return _0x5138f3;}async['_getAllTreeList'](){const _0xff7105=_0x5409f2;return await this[_0xff7105(0x126)](),Array[_0xff7105(0x105)](this[_0xff7105(0x151)][_0xff7105(0xdf)]());}[_0x5409f2(0xc5)](_0x412daa){const _0x272381=_0x5409f2;return this[_0x272381(0x103)][_0x272381(0x11f)](_0x412daa[_0x272381(0xa3)]());}[_0x5409f2(0x150)](_0x5b1dd9){const _0x5c081a=_0x5409f2,_0xd5bd0a=new Set(),_0x371e1a=_0x5b1dd9[_0x5c081a(0xd5)];for(const [_0x257bbf,_0x1a22d4]of this['_dependencyTreeCache'])for(const _0xf1367b of _0x371e1a){const _0x3f2fa2=_0xf1367b[_0x5c081a(0xa5)],_0x5a84c0=_0xf1367b[_0x5c081a(0xce)];if(_0x1a22d4[_0x5c081a(0xa5)]!==_0x3f2fa2||_0x1a22d4['subUnitId']!==_0x5a84c0)continue;const _0x4d93e2=_0xf1367b[_0x5c081a(0x14d)];if(_0x1a22d4[_0x5c081a(0x93)](_0x4d93e2)){_0xd5bd0a[_0x5c081a(0x123)](_0x257bbf);break;}}return _0xd5bd0a;}[_0x5409f2(0xbe)](){const _0x4c3dfa=_0x5409f2;this[_0x4c3dfa(0x103)]['openKdTree']();}[_0x5409f2(0x13d)](){const _0x44d454=_0x5409f2;this[_0x44d454(0xe7)][_0x44d454(0x9c)](),this['_dependencyTreeCache'][_0x44d454(0x9c)](),this[_0x44d454(0x103)][_0x44d454(0x13e)]();}}const ve=_0x5409f2(0xa0),Me={0x0:'g',0x1:'a',0x2:'P',0x3:'D',0x4:'G',0x5:'j',0x6:'S',0x7:'o',0x8:'N',0x9:'6','q':'0','y':'1','S':'2','Z':'3','L':'4','u':'5','H':'7','v':'8','P':'9','D':'b','w':'c','n':'d','X':'e','Y':'f','d':'h','z':'i','B':'k','F':'l','h':'m','\x20':'n','o':'p','t':'q','x':'r','k':'s','J':'t','K':'u','j':'v','m':'w','s':'x','I':'y','l':'z','R':'A','C':'B','T':'C','Q':'E','p':'F','c':'H','f':'I','r':'J','b':'K','a':'L','e':'M','E':'O','M':'Q','i':'R','G':'T','U':'U','A':'V','g':'W','N':'X','V':'Y','O':'Z','W':'\x20'};class Se extends _0x16e7be{async['_apply'](_0x20b004=!0x1){const _0x1562b2=_0x5409f2;_0x20b004?this[_0x1562b2(0xde)][_0x1562b2(0x12f)](_0x347fc8[_0x1562b2(0x97)]):this[_0x1562b2(0xde)][_0x1562b2(0x12f)](_0x347fc8['START_DEPENDENCY']),this[_0x1562b2(0xd8)][_0x1562b2(0xae)](this['_runtimeService'][_0x1562b2(0xab)]());const _0x680f99=await this['_formulaDependencyGenerator'][_0x1562b2(0x111)](this[_0x1562b2(0xa8)]),_0x4a9b28=this[_0x1562b2(0xe0)];_0x20b004?(this[_0x1562b2(0xde)][_0x1562b2(0x12f)](_0x347fc8['START_CALCULATION_ARRAY_FORMULA']),this[_0x1562b2(0xde)][_0x1562b2(0x14c)](_0x680f99[_0x1562b2(0x112)])):(this['_runtimeService'][_0x1562b2(0x12f)](_0x347fc8[_0x1562b2(0x110)]),this[_0x1562b2(0xde)][_0x1562b2(0xb7)](_0x680f99[_0x1562b2(0x112)])),this[_0x1562b2(0xd8)]['next'](this[_0x1562b2(0xde)][_0x1562b2(0xab)]());let _0x331f43=[];const _0x2a99c1=this[_0x1562b2(0x116)][_0x1562b2(0x13b)](_0xa85ed5),_0x1173cf=(_0x2a99c1==null?void 0x0:_0x2a99c1[_0x1562b2(0xbd)])||_0x51c3c7;let _0x201cdd=0x0;const _0x475303=_0x680f99['length'];for(;_0x680f99[_0x1562b2(0x112)]>0x0;){const _0x4b3dfc=_0x680f99['pop'](),_0x5bf6fe=_0x1aedb1(_0x4b3dfc[_0x1562b2(0xa5)],_0x4b3dfc['formula'],this['_lexer'],this[_0x1562b2(0x131)],this[_0x1562b2(0x156)]),_0x3482ab={'node':_0x5bf6fe,'refOffsetX':_0x4b3dfc[_0x1562b2(0xf1)],'refOffsetY':_0x4b3dfc[_0x1562b2(0xa7)]},_0x39c4bd=_0x4b3dfc['getDirtyData'];if(_0x201cdd%_0x1173cf===0x0&&(await new Promise(_0x334911=>{const _0x279346=_0x11472e(_0x334911);_0x331f43['push'](_0x279346);}),_0x20b004?(this[_0x1562b2(0xde)][_0x1562b2(0x12f)](_0x347fc8['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x1562b2(0xd4)](_0x201cdd+0x1)):(this[_0x1562b2(0xde)][_0x1562b2(0x12f)](_0x347fc8[_0x1562b2(0x121)]),this['_runtimeService'][_0x1562b2(0x99)](_0x201cdd+0x1)),this[_0x1562b2(0xd8)][_0x1562b2(0xae)](this[_0x1562b2(0xde)][_0x1562b2(0xab)]()),this['_runtimeService'][_0x1562b2(0x158)]()||_0x3482ab==null&&_0x39c4bd==null)){this['_runtimeService'][_0x1562b2(0x12f)](_0x347fc8[_0x1562b2(0x104)]),this['_runtimeService'][_0x1562b2(0xfd)](),this[_0x1562b2(0xa1)]['next'](this[_0x1562b2(0xde)][_0x1562b2(0xd2)]());return;}this[_0x1562b2(0xde)]['setCurrent'](_0x4b3dfc[_0x1562b2(0x12d)],_0x4b3dfc['column'],_0x4b3dfc['rowCount'],_0x4b3dfc['columnCount'],_0x4b3dfc['subUnitId'],_0x4b3dfc[_0x1562b2(0xa5)]);let _0x14343e;if(_0x39c4bd!=null&&_0x4b3dfc['featureId']!=null){const {runtimeCellData:_0x3e65af,dirtyRanges:_0x34349e}=_0x39c4bd(this[_0x1562b2(0x156)][_0x1562b2(0xed)](),this['_runtimeService']['getAllRuntimeData']());this['_runtimeService'][_0x1562b2(0xf8)](_0x4b3dfc[_0x1562b2(0x15d)],_0x3e65af),this[_0x1562b2(0xde)][_0x1562b2(0x139)](_0x4b3dfc[_0x1562b2(0x15d)],_0x34349e);}else _0x3482ab!=null&&(_0x4a9b28[_0x1562b2(0xef)](_0x3482ab[_0x1562b2(0x15e)])?_0x14343e=await _0x4a9b28[_0x1562b2(0x10e)](_0x3482ab):_0x14343e=_0x4a9b28[_0x1562b2(0xfc)](_0x3482ab),_0x4b3dfc[_0x1562b2(0xf2)]!=null?this[_0x1562b2(0xde)]['setRuntimeOtherData'](_0x4b3dfc[_0x1562b2(0xf2)],_0x4b3dfc[_0x1562b2(0xf1)],_0x4b3dfc['refOffsetY'],_0x14343e):this[_0x1562b2(0xde)][_0x1562b2(0x152)](_0x14343e));_0x5bf6fe['resetCalculationState'](),_0x201cdd++;}return _0x331f43[_0x1562b2(0xfa)](_0x597dd9=>_0x597dd9()),_0x331f43=[],_0x475303>0x0?this[_0x1562b2(0xde)]['markedAsSuccessfullyExecuted']():_0x20b004||this[_0x1562b2(0xde)][_0x1562b2(0xa9)](),this[_0x1562b2(0xde)]['getAllRuntimeData']();}}class Xe extends _0x2e7e17{constructor(){const _0x18b32f=_0x5409f2;super(...arguments),C(this,_0x18b32f(0xb8),new Map()),C(this,_0x18b32f(0xbc),new _0x42041c(!0x0));}['reset'](){const _0x48b163=_0x5409f2;this[_0x48b163(0x137)][_0x48b163(0x9c)](),this[_0x48b163(0x119)][_0x48b163(0x9c)](),this['_formulaData']['clear'](),this[_0x48b163(0xbc)]['clear'](),this[_0x48b163(0xb8)][_0x48b163(0x9c)](),this['_restDependencyTreeId'](),this[_0x48b163(0xfb)][_0x48b163(0x9c)]();}[_0x5409f2(0x142)](_0x32e0d7,_0x2deedc,_0x1a2985,_0x4367fe){const _0x36635e=_0x5409f2;this[_0x36635e(0x137)][_0x36635e(0x90)](_0x32e0d7)||this['_otherFormulaData']['set'](_0x32e0d7,new Map());const _0x542683=this[_0x36635e(0x137)][_0x36635e(0x127)](_0x32e0d7);_0x542683[_0x36635e(0x90)](_0x2deedc)||_0x542683[_0x36635e(0xdc)](_0x2deedc,new Map());const _0x7dcd35=_0x542683[_0x36635e(0x127)](_0x2deedc);_0x7dcd35[_0x36635e(0x90)](_0x1a2985)||_0x7dcd35[_0x36635e(0xdc)](_0x1a2985,new _0x48d1ef()),_0x7dcd35[_0x36635e(0x127)](_0x1a2985)[_0x36635e(0xca)](_0x4367fe[_0x36635e(0xf1)],_0x4367fe['refOffsetY'],_0x4367fe['treeId']);}['removeOtherFormulaDependency'](_0x2c192b,_0x8efe9e,_0x8d320f){const _0x2fdc44=_0x5409f2,_0x3f12bf=this[_0x2fdc44(0x137)][_0x2fdc44(0x127)](_0x2c192b);if(_0x3f12bf&&_0x3f12bf[_0x2fdc44(0x90)](_0x8efe9e)){const _0x152af4=_0x3f12bf[_0x2fdc44(0x127)](_0x8efe9e);_0x8d320f[_0x2fdc44(0xfa)](_0xd24d05=>{const _0x5ba0ad=_0x2fdc44,_0x1e4df5=_0x152af4[_0x5ba0ad(0x127)](_0xd24d05);_0x1e4df5!=null&&(_0x1e4df5[_0x5ba0ad(0xc6)]((_0x2d3647,_0x2d9cc8,_0x484cee)=>{const _0x4d1df4=_0x5ba0ad;this[_0x4d1df4(0xcb)](_0x484cee),this['_removeAllTreeMap'](_0x484cee);}),_0x152af4[_0x5ba0ad(0x8e)](_0xd24d05),this[_0x5ba0ad(0xfb)][_0x5ba0ad(0x8e)](_0xd24d05));}),_0x152af4[_0x2fdc44(0xcd)]===0x0&&_0x3f12bf[_0x2fdc44(0x8e)](_0x8efe9e),_0x3f12bf[_0x2fdc44(0xcd)]===0x0&&this[_0x2fdc44(0x137)][_0x2fdc44(0x8e)](_0x2c192b);}}[_0x5409f2(0x148)](_0x8a8fce,_0xc09ce7){const _0x39d003=_0x5409f2,_0x115bc9=this[_0x39d003(0x137)][_0x39d003(0x127)](_0x8a8fce);if(_0xc09ce7&&_0x115bc9&&_0x115bc9[_0x39d003(0x90)](_0xc09ce7)){const _0x49886c=_0x115bc9[_0x39d003(0x127)](_0xc09ce7);this[_0x39d003(0xe1)](_0x8a8fce,_0xc09ce7);for(const _0x11928c of _0x49886c['keys']()){const _0x44ddcd=_0x49886c[_0x39d003(0x127)](_0x11928c);_0x44ddcd!=null&&(_0x44ddcd[_0x39d003(0xc6)]((_0x254240,_0x1ad70e,_0x29336f)=>{const _0x3417d1=_0x39d003;this[_0x3417d1(0xb8)][_0x3417d1(0x127)](_0x29336f)&&this[_0x3417d1(0xe8)](_0x29336f);}),this['_otherFormulaDataMainData'][_0x39d003(0x8e)](_0x11928c));}_0x49886c[_0x39d003(0x9c)]();}else{if(_0x115bc9){for(const _0x5dbdc7 of _0x115bc9[_0x39d003(0x102)]()){const _0x1ef448=_0x115bc9[_0x39d003(0x127)](_0x5dbdc7);this[_0x39d003(0xe1)](_0x8a8fce,_0x5dbdc7);for(const _0x50330a of _0x1ef448[_0x39d003(0x102)]()){const _0x19bae2=_0x1ef448[_0x39d003(0x127)](_0x50330a);_0x19bae2!=null&&(_0x19bae2['forValue']((_0x218df6,_0x3dc5c9,_0x21f630)=>{this['_allTreeMap']['get'](_0x21f630)&&this['_removeAllTreeMap'](_0x21f630);}),this[_0x39d003(0xfb)][_0x39d003(0x8e)](_0x50330a));}}this[_0x39d003(0x137)]['delete'](_0x8a8fce);}}}['addFeatureFormulaDependency'](_0x100eae,_0x40997e,_0x178dcb,_0x5c7463){const _0x2f1d03=_0x5409f2;this[_0x2f1d03(0x119)][_0x2f1d03(0x90)](_0x100eae)||this[_0x2f1d03(0x119)][_0x2f1d03(0xdc)](_0x100eae,new Map());const _0x282f66=this[_0x2f1d03(0x119)][_0x2f1d03(0x127)](_0x100eae);_0x282f66['has'](_0x40997e)||_0x282f66['set'](_0x40997e,new Map()),_0x282f66[_0x2f1d03(0x127)](_0x40997e)['set'](_0x178dcb,_0x5c7463['treeId']);}[_0x5409f2(0x107)](_0x2ca090,_0x1d257a,_0x4e3998){const _0x22fbbb=_0x5409f2,_0x4c07eb=this['_featureFormulaData'][_0x22fbbb(0x127)](_0x2ca090);if(_0x4c07eb&&_0x4c07eb[_0x22fbbb(0x90)](_0x1d257a)){const _0x5c23b6=_0x4c07eb[_0x22fbbb(0x127)](_0x1d257a);_0x4e3998[_0x22fbbb(0xfa)](_0x159301=>{const _0x309901=_0x22fbbb,_0x3fffa4=_0x5c23b6[_0x309901(0x127)](_0x159301);_0x3fffa4!=null&&(this['_removeDependencyRTreeCache'](_0x3fffa4),_0x5c23b6[_0x309901(0x8e)](_0x159301),this['_removeAllTreeMap'](_0x3fffa4));});}}['clearFeatureFormulaDependency'](_0x358347,_0x1fc50b){const _0x24854c=_0x5409f2,_0x54ea6a=this[_0x24854c(0x119)]['get'](_0x358347);if(_0x1fc50b&&_0x54ea6a&&_0x54ea6a[_0x24854c(0x90)](_0x1fc50b)){const _0x33cd5e=_0x54ea6a[_0x24854c(0x127)](_0x1fc50b);this['_removeDependencyRTreeCacheById'](_0x358347,_0x1fc50b),_0x33cd5e[_0x24854c(0xfa)](_0x3c41d0=>{_0x3c41d0!=null&&this['_removeAllTreeMap'](_0x3c41d0);}),_0x33cd5e[_0x24854c(0x9c)]();}else _0x54ea6a&&(_0x54ea6a[_0x24854c(0xfa)]((_0x27a91a,_0x4081a8)=>{const _0x3b329a=_0x24854c;this[_0x3b329a(0xe1)](_0x358347,_0x4081a8),_0x27a91a[_0x3b329a(0xfa)](_0x1bd6f3=>{const _0x452b47=_0x3b329a;_0x1bd6f3!=null&&this[_0x452b47(0xe8)](_0x1bd6f3);});}),this[_0x24854c(0x119)]['delete'](_0x358347));}[_0x5409f2(0x117)](_0x442e78,_0x300e45,_0x27f1b3,_0x5a3aa2,_0x36a8df){const _0x3c3dcf=_0x5409f2;this[_0x3c3dcf(0x11b)]['has'](_0x442e78)||this[_0x3c3dcf(0x11b)]['set'](_0x442e78,new Map());const _0x2c87ee=this[_0x3c3dcf(0x11b)][_0x3c3dcf(0x127)](_0x442e78);_0x2c87ee[_0x3c3dcf(0x90)](_0x300e45)||_0x2c87ee[_0x3c3dcf(0xdc)](_0x300e45,new _0x48d1ef()),_0x2c87ee['get'](_0x300e45)[_0x3c3dcf(0xca)](_0x27f1b3,_0x5a3aa2,_0x36a8df[_0x3c3dcf(0x128)]);}[_0x5409f2(0x14a)](_0x3cecdb,_0x211b7e,_0x26895a,_0xc6e374){const _0x2c4e73=_0x5409f2,_0x5a524f=this[_0x2c4e73(0x11b)][_0x2c4e73(0x127)](_0x3cecdb);if(_0x5a524f&&_0x5a524f['has'](_0x211b7e)){const _0x84d928=_0x5a524f[_0x2c4e73(0x127)](_0x211b7e),_0x3a2d75=_0x84d928['getValue'](_0x26895a,_0xc6e374);if(_0x3a2d75==null)return;this[_0x2c4e73(0xcb)](_0x3a2d75),_0x84d928[_0x2c4e73(0xe4)](_0x26895a,_0xc6e374),this['_removeAllTreeMap'](_0x3a2d75);}}[_0x5409f2(0x14b)](_0x390675,_0x16aeb2){const _0x1b75b4=_0x5409f2,_0x20d8b9=this[_0x1b75b4(0x11b)][_0x1b75b4(0x127)](_0x390675);if(_0x16aeb2&&_0x20d8b9&&_0x20d8b9[_0x1b75b4(0x90)](_0x16aeb2)){const _0x2cbb4f=_0x20d8b9['get'](_0x16aeb2);this['_removeDependencyRTreeCacheById'](_0x390675,_0x16aeb2),_0x2cbb4f[_0x1b75b4(0xc6)]((_0x220959,_0xc6255e,_0x1ef7ae)=>{const _0x460383=_0x1b75b4;if(_0x1ef7ae==null)return!0x0;this[_0x460383(0xe8)](_0x1ef7ae);}),_0x2cbb4f[_0x1b75b4(0x143)]();}else _0x20d8b9&&(_0x20d8b9['forEach']((_0x1fd4e6,_0xfed24c)=>{const _0x22df37=_0x1b75b4;this['_removeDependencyRTreeCacheById'](_0x390675,_0xfed24c),_0x1fd4e6[_0x22df37(0xc6)]((_0x19b484,_0x56d4a9,_0xcf103e)=>{if(_0xcf103e==null)return!0x0;this['_removeAllTreeMap'](_0xcf103e);});}),this['_formulaData'][_0x1b75b4(0x8e)](_0x390675));}[_0x5409f2(0xcb)](_0x3d3bf5){const _0x5ca103=_0x5409f2;if(_0x3d3bf5==null)return;const _0x1a0a9f=this[_0x5ca103(0xb8)][_0x5ca103(0x127)](_0x3d3bf5);if(_0x1a0a9f){const _0x3a7d8f=[];for(const [_0x540ee5,_0x6b8f92]of _0x1a0a9f)for(const [_0x151203,_0xec25b0]of _0x6b8f92)_0x3a7d8f[_0x5ca103(0x8c)]({'unitId':_0x540ee5,'sheetId':_0x151203,'range':_0xec25b0,'id':_0x3d3bf5});this[_0x5ca103(0xbc)][_0x5ca103(0xc1)](_0x3a7d8f);}}[_0x5409f2(0x108)](_0x3bb9af,_0x5d86e6){const _0x8803bc=_0x5409f2,_0xfbb1c4=this[_0x8803bc(0xac)][_0x8803bc(0x127)](_0x3bb9af);if(_0xfbb1c4){const _0x30e32e=_0xfbb1c4['get'](_0x5d86e6);if(_0x30e32e){for(const _0x29bad4 of _0x30e32e)this[_0x8803bc(0xcb)](_0x29bad4),this[_0x8803bc(0xe8)](_0x29bad4);_0x30e32e[_0x8803bc(0x9c)]();}}}[_0x5409f2(0xdd)](){const _0x1d4678=_0x5409f2;this[_0x1d4678(0xbc)][_0x1d4678(0xdd)]();}['closeKdTree'](){const _0xe7ee19=_0x5409f2;this['_dependencyRTreeCache'][_0xe7ee19(0x13e)]();}[_0x5409f2(0xe8)](_0x5c7bad){const _0x507603=_0x5409f2;_0x5c7bad!=null&&this[_0x507603(0xb8)]['delete'](_0x5c7bad);}[_0x5409f2(0x8b)](_0x56d8da){const _0x1fd531=_0x5409f2;var _0x2ed3d6,_0x3bedcc;const _0x1a667c=_0x56d8da[_0x1fd531(0xd5)];let _0xda4433=this[_0x1fd531(0xb8)]['get'](_0x56d8da[_0x1fd531(0x128)]);for(let _0x3a2f3f=0x0;_0x3a2f3f<_0x1a667c[_0x1fd531(0x112)];_0x3a2f3f++){const _0x5b23c1=_0x1a667c[_0x3a2f3f];let {unitId:_0x21fdd6,sheetId:_0xe22913,range:_0x34c4c2}=_0x5b23c1;_0xda4433||(_0xda4433=new Map(),this[_0x1fd531(0xb8)][_0x1fd531(0xdc)](_0x56d8da['treeId'],_0xda4433)),_0xda4433['has'](_0x21fdd6)||_0xda4433[_0x1fd531(0xdc)](_0x21fdd6,new Map());const _0x481bb8=(_0x2ed3d6=_0xda4433==null?void 0x0:_0xda4433[_0x1fd531(0x127)](_0x21fdd6))==null?void 0x0:_0x2ed3d6[_0x1fd531(0x127)](_0xe22913);_0x481bb8&&(_0x34c4c2={'startRow':Math[_0x1fd531(0x124)](_0x34c4c2[_0x1fd531(0xb9)],_0x481bb8['startRow']),'startColumn':Math[_0x1fd531(0x124)](_0x34c4c2[_0x1fd531(0xcf)],_0x481bb8[_0x1fd531(0xcf)]),'endRow':Math[_0x1fd531(0x95)](_0x34c4c2[_0x1fd531(0xe2)],_0x481bb8[_0x1fd531(0xe2)]),'endColumn':Math[_0x1fd531(0x95)](_0x34c4c2[_0x1fd531(0x113)],_0x481bb8[_0x1fd531(0x113)])}),(_0x3bedcc=_0xda4433[_0x1fd531(0x127)](_0x21fdd6))==null||_0x3bedcc[_0x1fd531(0xdc)](_0xe22913,_0x34c4c2);}}}var Re=Object[_0x5409f2(0x98)],we=(_0x4a16b0,_0x357e59,_0x357094,_0x300c42)=>{const _0x55a6d1=_0x5409f2;for(var _0x5c8d3a=_0x300c42>0x1?void 0x0:_0x300c42?Re(_0x357e59,_0x357094):_0x357e59,_0x1ece5d=_0x4a16b0[_0x55a6d1(0x112)]-0x1,_0x454d5a;_0x1ece5d>=0x0;_0x1ece5d--)(_0x454d5a=_0x4a16b0[_0x1ece5d])&&(_0x5c8d3a=_0x454d5a(_0x5c8d3a)||_0x5c8d3a);return _0x5c8d3a;};function _0x8df1(_0x1727e9,_0x4a1f4c){_0x1727e9=_0x1727e9-0x88;const _0xb9287f=_0xb928();let _0x8df198=_0xb9287f[_0x1727e9];return _0x8df198;}const Ee=Number[_0x5409f2(0x94)](0x69a65815);let G=class extends _0x21317f{['_initializeWithOverride'](){const _0x2ca9a6=_0x5409f2;var _0x52f534,_0x2753b7;this['_initLicenseValid']()?(this[_0x2ca9a6(0xd6)][_0x2ca9a6(0x123)]([_0x385b82,{'useClass':De}]),(_0x52f534=this[_0x2ca9a6(0xba)])!=null&&_0x52f534['notExecuteFormula']||[[_0xbf84b9,{'useClass':Se}],[_0x4831b9,{'useClass':Xe}],[_0x3628e4,{'useClass':ke}]][_0x2ca9a6(0xfa)](_0xb9708f=>this['_injector']['add'](_0xb9708f))):(this[_0x2ca9a6(0xd6)][_0x2ca9a6(0x123)]([_0x385b82,{'useClass':_0x385b82}]),(_0x2753b7=this[_0x2ca9a6(0xba)])!=null&&_0x2753b7['notExecuteFormula']||[[_0xbf84b9,{'useClass':_0x16e7be}],[_0x4831b9,{'useClass':_0x2b0e57}],[_0x3628e4,{'useClass':_0x2bebee}]][_0x2ca9a6(0xfa)](_0x51ab11=>this[_0x2ca9a6(0xd6)][_0x2ca9a6(0x123)](_0x51ab11)));}['_initLicenseValid'](){const _0x3f09db=_0x5409f2;var _0x46a086;const _0x463e33=(_0x46a086=this[_0x3f09db(0x116)][_0x3f09db(0x13b)](_0x21456b))!=null?_0x46a086:{},{ls:_0x1edf4e,pbk:_0x3c889e}=_0x463e33;if(!_0x1edf4e||!_0x3c889e)return!0x1;const _0x4c36cc=_0x2a875e(ve,Me),_0x358758=new Function(_0x3f09db(0x8d)+_0x4c36cc)()(_0x1edf4e,_0x3c889e),_0xd1ee67=_0x358758[_0x3f09db(0x129)];return _0x358758[_0x3f09db(0xe3)]&&_0x3a0a21(_0xd1ee67,'sf',Ee)?_0x55b5ae(_0xd1ee67,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};G=we([_0x2b26ac(_0x43b18b)],G);export{De as LexerTreeProBuilder,G as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4c54a0,_0x40fb2b){var _0x5b9749=_0x20e5,_0x5a33ae=_0x4c54a0();while(!![]){try{var _0x49ae3e=parseInt(_0x5b9749(0x1f4))/0x1+-parseInt(_0x5b9749(0x1f5))/0x2+-parseInt(_0x5b9749(0x1f3))/0x3+parseInt(_0x5b9749(0x1f2))/0x4+-parseInt(_0x5b9749(0x1f6))/0x5+-parseInt(_0x5b9749(0x1f1))/0x6+parseInt(_0x5b9749(0x1f0))/0x7;if(_0x49ae3e===_0x40fb2b)break;else _0x5a33ae['push'](_0x5a33ae['shift']());}catch(_0x4d61e1){_0x5a33ae['push'](_0x5a33ae['shift']());}}}(_0x3341,0x8a558));function _0x3341(){var _0x5b63f3=['488211bRfEsI','1621232yYhypK','2811285SjkHxg','11956994nUrVWu','3580242esPQSe','3559268ltheyB','1649922vWZQPV'];_0x3341=function(){return _0x5b63f3;};return _0x3341();}function _0x20e5(_0x500110,_0x3f3b78){_0x500110=_0x500110-0x1f0;var _0x3341e5=_0x3341();var _0x20e59f=_0x3341e5[_0x500110];return _0x20e59f;}export*from'@univerjs/engine-formula/facade';
|