@univerjs-pro/engine-formula 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251220-0a5ea4d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x343a(_0x5de859,_0x1c2d1a){_0x5de859=_0x5de859-0x18b;const _0xffa8d=_0xffa8();let _0x343a47=_0xffa8d[_0x5de859];return _0x343a47;}const _0x4c74ac=_0x343a;(function(_0x317174,_0x11e10c){const _0x3c50fc=_0x343a,_0x4a67d9=_0x317174();while(!![]){try{const _0x1971fe=-parseInt(_0x3c50fc(0x19a))/0x1*(-parseInt(_0x3c50fc(0x195))/0x2)+parseInt(_0x3c50fc(0x18f))/0x3*(parseInt(_0x3c50fc(0x19b))/0x4)+-parseInt(_0x3c50fc(0x193))/0x5+parseInt(_0x3c50fc(0x191))/0x6+-parseInt(_0x3c50fc(0x192))/0x7+-parseInt(_0x3c50fc(0x190))/0x8+-parseInt(_0x3c50fc(0x18c))/0x9*(-parseInt(_0x3c50fc(0x194))/0xa);if(_0x1971fe===_0x11e10c)break;else _0x4a67d9['push'](_0x4a67d9['shift']());}catch(_0x23bbba){_0x4a67d9['push'](_0x4a67d9['shift']());}}}(_0xffa8,0x29511));Object[_0x4c74ac(0x197)](exports,Symbol[_0x4c74ac(0x18d)],{'value':_0x4c74ac(0x18e)});function _0xffa8(){const _0x25c86d=['toStringTag','Module','720435cOMRqJ','2167536yjEPBX','1033968brLvoX','2214695whKGyb','140435ZXytoS','1410740Ujafds','115550zTcbZw','call','defineProperty','forEach','hasOwnProperty','4chsLIP','4gDdVcD','default','9aPlYII'];_0xffa8=function(){return _0x25c86d;};return _0xffa8();}const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x4c74ac(0x198)](_0x2b12e0=>{const _0x444f06=_0x4c74ac;_0x2b12e0!==_0x444f06(0x18b)&&!Object['prototype'][_0x444f06(0x199)][_0x444f06(0x196)](exports,_0x2b12e0)&&Object[_0x444f06(0x197)](exports,_0x2b12e0,{'enumerable':!0x0,'get':()=>t[_0x2b12e0]});});
1
+ 'use strict';const _0x6d7c24=_0x3a8c;function _0x3a8c(_0x3213d6,_0x3b1621){_0x3213d6=_0x3213d6-0xf9;const _0xbd925c=_0xbd92();let _0x3a8c0d=_0xbd925c[_0x3213d6];return _0x3a8c0d;}(function(_0x40a559,_0x3878d9){const _0x14292c=_0x3a8c,_0x163c10=_0x40a559();while(!![]){try{const _0x11b479=parseInt(_0x14292c(0x105))/0x1*(parseInt(_0x14292c(0xfd))/0x2)+parseInt(_0x14292c(0xfb))/0x3+-parseInt(_0x14292c(0x101))/0x4+-parseInt(_0x14292c(0x106))/0x5+parseInt(_0x14292c(0x104))/0x6*(parseInt(_0x14292c(0xfc))/0x7)+parseInt(_0x14292c(0x103))/0x8+parseInt(_0x14292c(0xf9))/0x9;if(_0x11b479===_0x3878d9)break;else _0x163c10['push'](_0x163c10['shift']());}catch(_0x57df10){_0x163c10['push'](_0x163c10['shift']());}}}(_0xbd92,0xd775e));Object['defineProperty'](exports,Symbol[_0x6d7c24(0xfa)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x6d7c24(0xfe)](t)['forEach'](_0x493c37=>{const _0x5773c2=_0x6d7c24;_0x493c37!=='default'&&!Object[_0x5773c2(0x102)]['hasOwnProperty'][_0x5773c2(0xff)](exports,_0x493c37)&&Object[_0x5773c2(0x100)](exports,_0x493c37,{'enumerable':!0x0,'get':()=>t[_0x493c37]});});function _0xbd92(){const _0xd9245c=['2483163PaZgqG','toStringTag','5155059PQTKsh','553hvpHVX','3856UBKDvs','keys','call','defineProperty','109520WkRaXZ','prototype','187080fPTyuk','46350sfAIGP','3KIEPlo','8618990oVYECS'];_0xbd92=function(){return _0xd9245c;};return _0xbd92();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x40eb59=_0xf4fc;(function(_0x4d86d0,_0x276018){const _0x4596bd=_0xf4fc,_0x22a790=_0x4d86d0();while(!![]){try{const _0x2140ce=parseInt(_0x4596bd(0x181))/0x1+parseInt(_0x4596bd(0x1ae))/0x2+-parseInt(_0x4596bd(0x197))/0x3+parseInt(_0x4596bd(0x186))/0x4*(parseInt(_0x4596bd(0xda))/0x5)+parseInt(_0x4596bd(0x10b))/0x6*(parseInt(_0x4596bd(0x10a))/0x7)+parseInt(_0x4596bd(0x114))/0x8+-parseInt(_0x4596bd(0x120))/0x9;if(_0x2140ce===_0x276018)break;else _0x22a790['push'](_0x22a790['shift']());}catch(_0x5b2e26){_0x22a790['push'](_0x22a790['shift']());}}}(_0x2417,0xd24db));var b=Object['defineProperty'],W=(_0x4c2120,_0x3e6977,_0x5304ec)=>_0x3e6977 in _0x4c2120?b(_0x4c2120,_0x3e6977,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5304ec}):_0x4c2120[_0x3e6977]=_0x5304ec,D=(_0x5c90c7,_0x54f59c,_0x283362)=>W(_0x5c90c7,typeof _0x54f59c!=_0x40eb59(0x1bf)?_0x54f59c+'':_0x54f59c,_0x283362);function _0x2417(){const _0x521478=['removeOtherFormulaDependency','addFormulaDependency','push','isCache','isSkip','notExecuteFormula','setTotalArrayFormulasToCalculate','Module','isFeatureAuthorizedWithinTime','enableCycleDependency','realDeleteValue','getFormulaDependency','getRuntimeState','startsWith','set','getUnitData','getSheetFeatureLimit','toUpperCase','clear','OTHER_FORMULA','setRuntimeData','unitId','Lambda\x20parameter\x20name\x20\x22','LexerTreeProBuilder','_registerOtherFormulas','value','FormulaDependencyTreeType','treeBuilder','_endFormulaDependencyTreeModel','_checkIsCycleDependency','prefixToken','from','_injector','IFormulaDependencyGenerator','refOffsetX','values','setTotalFormulasToCalculate','featureId','return\x20','ObjectMatrix','ParentDependencyTree\x20object\x20is\x20null','next','_startFormulaDependencyTreeModel','isArray','FormulaDependencyTree','RTree','max','string','featureDirtyRanges','setFormulaExecuteStage','DEFAULT_TOKEN_LET_FUNCTION_NAME','_currentConfigService','checkAsyncNode','getChildren','FormulaDependencyGenerator','isReferenceString','edkhlATk\x20RJhwtnlATk(PAhJkIJ,\x20ndXPAhyJt)\x20{\x20\x20\x20\x20lwt\x20{\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20PAhJkIJEkeT1owlNwwot\x20=\x20PAhJkIJ.InPAl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20TwAWAkYJIIoWJ\x20=\x20zFc5.nowIJ(olTX(PAhJkIJEkeT1owlNwwot[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!TwAWAkYJIIoWJ.dR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TwAWAkYJIIoWJ.dR\x20=\x205dZXJw(PAhJkIJEkeT1owlNwwot[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AIsTwvJw\x20=\x20ltnJTe\x20sTwvJwSPTXoPFhTnJ\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20IJPe\x20AkIlokhJTe\x20sTwvJwSPTXoPFhTnJ;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AI2wTxIJw\x20=\x20ltnJTe\x20xAkRTx\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20ltnJTe\x20xAkRTx.PTholATk\x20!==\x20\x27dkRJeAkJR\x27;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20hTklJul\x20=\x20AIsTwvJw\x20?\x20IJPe\x20:\x20(AI2wTxIJw\x20?\x20xAkRTx\x20:\x20WPTXoP4GAI);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[9]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(ZJIIoWJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[q]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(IAWkoldwJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkVoPAR\x20=\x20hTklJul.__HJwAet__(IAWkoldwJ,\x20ZJIIoWJ,\x20ndXPAhyJt);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20RTZoAk\x20=\x20TwAWAkYJIIoWJ.RZ;\x20\x20\x20\x20\x20\x20\x20\x20edkhlATk\x20AILTZoAkYolhGAkW(T1ollJwk,\x20TDTIl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk\x20=\x20T1ollJwk.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl\x20=\x20TDTIl.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk1owlI\x20=\x20nollJwk.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl1owlI\x20=\x20GTIl.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!nollJwk.AkhPdRJI(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwk\x20===\x20GTIl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(nollJwk1owlI.PJkWlG\x20<\x209\x20||\x20nollJwk1owlI[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwkFdeeAu\x20=\x20nollJwk1owlI.IPAhJ(0).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIlFdeeAu\x20=\x20GTIl1owlI.IPAhJ(-nollJwk1owlI.PJkWlG\x20+\x200).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwkFdeeAu\x20===\x20GTIlFdeeAu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PJl\x20RTZoAkVoPAR\x20=\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(AI2wTxIJw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20(RTZoAk\x20&&\x20RTZoAk.PJkWlG)\x20?\x20RTZoAk.ITZJ((RZElJZ)\x20=>\x20AILTZoAkYolhGAkW(RZElJZ,\x20PTholATk.GTIlkoZJ))\x20:\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(PTholATk.GTIlkoZJ\x20===\x20\x27PThoPGTIl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JPIJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20HoPAR\x20=\x20IAWkVoPAR\x20&&\x20RTZoAkVoPAR;\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20TwAWAkYJIIoWJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20holhG\x20(JwwTw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR:\x20eoPIJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyManagerService','closeKdTree','_generateNewFunctionString','endRow','_xlfnPrefix','setRuntimeFeatureCellData','generateAstNode','get','IDependencyManagerService','_resetPrefix','SUFFIX_TOKEN_SET','_getFeatureFormulaTree','resolve','unshiftString','START_CALCULATION','getToken','DependentOn','startColumn','_configService','_formulaData','_xlpmPrefix','column','_definedNameMap','_restDependencyTreeId','_removeDependencyRTreeCache','_clearPrefix','_apply','1145113WtLgmY','_getDependencyTreeChildrenIds','CalculateFormulaService','DEFAULT_INTERVAL_COUNT','addFormulaDependencyByDefinedName','1228XTpWSm','_featureFormulaData','startIndex','keys','START_CALCULATION_ARRAY_FORMULA','_getTreeById','openKdTree','_lambdaFunctionParameterSet','DEFAULT_TOKEN_TYPE_PARAMETER','PLUS','execute','ICalculateFormulaService','getFeatureFormulaDependency','getStartIndex','type','isStopExecution','parseInt','4061430lJLUHj','_checkAddBracketForMinus','_formulaDependencyTreeModel','getDirtyData','isDirty','splitTableStructuredRef','_getAllTreeList','isAdded','size','slice','FEATURE_FORMULA','IDLE','defineProperty','LexerTreeBuilder','COLON','length','_getFirstCellOfRange','_addAllTreeMap','setSkip','endColumn','forEach','CURRENTLY_CALCULATING_ARRAY_FORMULA','isVirtual','1737194uDclmG','resetCalculationState','_getTableNameFromStructuredRef','_xlpm.','forValue','START_DEPENDENCY','addOtherFormulaDependency','MINUS','isForceCalculate','searchDependency','getOtherFormulaDependency','_handleNewFunctionChild','setValue','subUnitId','rowCount','getValue','_clearFunctionString','symbol','FormulaExecuteStageType','START_DEPENDENCY_ARRAY_FORMULA','FormulaDependencyTreeVirtual','matchToken','markedAsSuccessfullyExecuted','_updateRangeFlatten','_lexer','getNewFormulaWithPrefix','default','setCompletedArrayFormulasCount','formulaId','error','delete','_otherFormulaData','_dependencyTreeCache','_currentUnitId','toRTreeItem','getFormulaData','setRuntimeFeatureRange','join','Let\x20variable\x20name\x20\x22','_createVirtualFDtree','getDirtyRanges','19465GVALiB','_getTreeNode','_otherFormulaDataMainData','_xlfn.','_traverse','setRuntimeOtherData','intervalCount','_handleTextNodeForExprTree','LexerNode','_executionInProgressListener$','_handleChildrenForExprTree','_removeDependencyRTreeCacheById','_initializeWithOverride','dependencySheetName','removeFormulaDependency','generateRandomDependencyTreeId','_initializeGenerateTreeList','trim','valid','_getDependencyTreeParenIds','_runtimeService','prototype','_isCyclicUtilMap','clearOtherFormulaDependency','VALUE','_config','UniverProFormulaEnginePlugin','_executionCompleteListener$','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','message','getAllRuntimeData','columnCount','_createFDtree','markedAsNoFunctionsExecuted','setDependencyTreeModelData','setCompletedFormulasCount','getFormulaExprTree','_dependencyRTreeCache','formula','_isCalculateTreeModel','_dependencyRTreeCacheForAddressFunction','_hasNewExcelFunction','_allTreeMap','node','DependencyManagerService','LS_CONFIG_KEY','rangeList','\x22\x20is\x20duplicated.','413441oFhySz','54MitKAo','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getUpdateTreeListAndMakeDependency','clearFeatureFormulaDependency','dispose','pop','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','reset','DEFAULT_TOKEN_TYPE_ROOT','12709688uHUVNQ','clearFormulaDependency','setAdded','has','children','treeId','_generateExprTree','refOffsetY','_astTreeBuilder','_initLicenseValid','_getCurNodeTypeForExprTree','_handleLambdaForExprTree','28025334zRiAKj','hasOwnProperty','DependencyManagerBaseService','ErrorType','_removeAllTreeMap','getClearDependencyTreeCache','range','markedAsStopFunctionsExecuted','add','endsWith','hasOtherFormulaDataMainData','row','startRow'];_0x2417=function(){return _0x521478;};return _0x2417();}Object[_0x40eb59(0x1a3)](exports,Symbol['toStringTag'],{'value':_0x40eb59(0x134)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),R=require('@univerjs/core');class M extends a[_0x40eb59(0x1a4)]{constructor(){const _0x4e04b7=_0x40eb59;super(...arguments),D(this,_0x4e04b7(0x103),!0x1),D(this,_0x4e04b7(0x18d),new Set()),D(this,'_xlpmPrefix',_0x4e04b7(0x1b1)),D(this,'_xlfnPrefix',_0x4e04b7(0xdd)),D(this,_0x4e04b7(0xd2),'');}[_0x40eb59(0x16f)](){const _0x4889f5=_0x40eb59;this[_0x4889f5(0x17a)]=_0x4889f5(0x1b1),this['_xlfnPrefix']='_xlfn.';}[_0x40eb59(0x17f)](){const _0x21103d=_0x40eb59;this[_0x21103d(0x17a)]='',this[_0x21103d(0x16a)]='';}[_0x40eb59(0xca)](_0x5876e8,_0x8e4c89){const _0x477e0a=_0x40eb59,_0x47bd51=this['treeBuilder'](_0x5876e8,!0x1);if(!_0x47bd51||_0x47bd51===a[_0x477e0a(0x123)][_0x477e0a(0xf2)]||Array[_0x477e0a(0x158)](_0x47bd51))return null;const _0x188439=[];return this[_0x477e0a(0x103)]=!0x1,this['_generateNewFunctionString'](_0x47bd51,_0x188439,_0x8e4c89),this[_0x477e0a(0x103)]?'='+_0x188439[_0x477e0a(0xd6)](''):null;}[_0x40eb59(0x168)](_0x4d7524,_0x27cba9,_0x4c4d5a){const _0x5d42b1=_0x40eb59,_0x17c3cd=_0x4d7524[_0x5d42b1(0x175)](),_0x5b00bc=_0x17c3cd[_0x5d42b1(0xeb)](),_0x505da5=_0x5b00bc[_0x5d42b1(0x13e)](),_0x6356ac=this[_0x5d42b1(0x1be)](_0x505da5),_0x2c992f=_0x4c4d5a(_0x6356ac);let _0xc9a62e=0x0;_0x17c3cd===a['DEFAULT_TOKEN_TYPE_ROOT']?_0xc9a62e=0x3:_0x17c3cd===a[_0x5d42b1(0x18e)]?_0xc9a62e=0x4:_0x17c3cd===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0xc9a62e=0x5:a['NEW_EXCEL_FUNCTIONS'][_0x5d42b1(0x117)](_0x6356ac)?(_0x27cba9[_0x5d42b1(0x12f)](''+this['_xlfnPrefix']+_0x5b00bc),this['_hasNewExcelFunction']=!0x0):_0x505da5===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x16a)]+_0x5b00bc),this['_hasNewExcelFunction']=!0x0,_0xc9a62e=0x2):_0x505da5===a[_0x5d42b1(0x15f)]?(_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x16a)]+_0x5b00bc),this['_hasNewExcelFunction']=!0x0,_0xc9a62e=0x1):_0x505da5===a[_0x5d42b1(0x1c3)]['COLON']?_0xc9a62e=0x8:a[_0x5d42b1(0x170)][_0x5d42b1(0x117)](_0x505da5)?_0xc9a62e=0x7:_0x505da5===a[_0x5d42b1(0x14b)][_0x5d42b1(0x1b5)]?(this[_0x5d42b1(0x198)](_0x4d7524)&&(_0xc9a62e=0x9),_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd)):(_0x27cba9['push'](_0x17c3cd),_0xc9a62e=0xa),_0x2c992f?(_0xc9a62e!==0x2&&_0xc9a62e!==0x1&&(_0xc9a62e=0x6),_0x27cba9['push']('(')):_0xc9a62e===0x9&&_0x27cba9[_0x5d42b1(0x12f)]('(');const _0x52c94b=_0x4d7524[_0x5d42b1(0x162)](),_0x496666=_0x52c94b['length'];if(_0xc9a62e===0x2){const _0x13fcae=_0x52c94b[0x0];let _0x27f37e=0x0;_0x13fcae instanceof a[_0x5d42b1(0xe2)]&&_0x13fcae[_0x5d42b1(0x175)]()===a[_0x5d42b1(0x10c)]&&(_0x27f37e=0x1);for(let _0x1a18b1=_0x27f37e;_0x1a18b1<_0x496666-0x1;_0x1a18b1++){const _0x3e09c8=_0x52c94b[_0x1a18b1];if(_0x3e09c8 instanceof a[_0x5d42b1(0xe2)]){const _0x5edec2=_0x3e09c8[_0x5d42b1(0x162)]()[0x0];typeof _0x5edec2==_0x5d42b1(0x15c)&&(this[_0x5d42b1(0x18d)]['has'](_0x5edec2)&&console[_0x5d42b1(0xce)](_0x5d42b1(0x143)+_0x5edec2+_0x5d42b1(0x109)),this[_0x5d42b1(0x18d)][_0x5d42b1(0x128)](_0x5edec2),_0x27cba9['push'](''+this[_0x5d42b1(0x17a)]+_0x5edec2),this[_0x5d42b1(0x103)]=!0x0);}_0x27cba9['push'](',');}this['_handleNewFunctionChild'](_0x52c94b[_0x496666-0x1],_0x27cba9,_0x4c4d5a),_0x27f37e===0x1&&(_0x27cba9[_0x5d42b1(0x12f)](')'),_0x27cba9[_0x5d42b1(0x12f)]('('),this[_0x5d42b1(0x168)](_0x13fcae,_0x27cba9,_0x4c4d5a)),_0x27cba9['push'](')');return;}else{if(_0xc9a62e===0x1){for(let _0x2e32ce=0x0;_0x2e32ce<_0x496666-0x1;_0x2e32ce++){const _0x4f6067=_0x52c94b[_0x2e32ce];if(_0x4f6067 instanceof a[_0x5d42b1(0xe2)]&&_0x2e32ce%0x2===0x0){const _0x2a3982=_0x4f6067[_0x5d42b1(0x162)]()[0x0];if(typeof _0x2a3982==_0x5d42b1(0x15c)){this[_0x5d42b1(0x18d)]['has'](_0x2a3982)&&console[_0x5d42b1(0xce)](_0x5d42b1(0xd7)+_0x2a3982+_0x5d42b1(0x109)),this[_0x5d42b1(0x18d)][_0x5d42b1(0x128)](_0x2a3982),_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x17a)]+_0x2a3982),this[_0x5d42b1(0x103)]=!0x0,_0x27cba9['push'](',');continue;}}if(this[_0x5d42b1(0x1b9)](_0x4f6067,_0x27cba9,_0x4c4d5a),_0x4f6067 instanceof a[_0x5d42b1(0xe2)]){const _0x1ad5da=_0x52c94b[_0x2e32ce+0x1];_0x1ad5da&&_0x1ad5da instanceof a[_0x5d42b1(0xe2)]&&_0x27cba9[_0x5d42b1(0x12f)](',');}}this[_0x5d42b1(0x1b9)](_0x52c94b[_0x496666-0x1],_0x27cba9,_0x4c4d5a),_0x27cba9[_0x5d42b1(0x12f)](')');return;}else{if(_0xc9a62e===0x8){const _0x35972b=_0x52c94b[0x0],_0x18939e=_0x52c94b[0x1];this[_0x5d42b1(0x1b9)](_0x35972b,_0x27cba9,_0x4c4d5a),_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd),this[_0x5d42b1(0x1b9)](_0x18939e,_0x27cba9,_0x4c4d5a);return;}}}for(let _0x3cc694=0x0;_0x3cc694<_0x496666;_0x3cc694++){const _0x5338e9=_0x52c94b[_0x3cc694];if(this[_0x5d42b1(0x1b9)](_0x5338e9,_0x27cba9,_0x4c4d5a),_0x5338e9 instanceof a[_0x5d42b1(0xe2)]){const _0x23143b=_0x52c94b[_0x3cc694+0x1];_0x23143b&&_0x23143b instanceof a[_0x5d42b1(0xe2)]&&_0x27cba9[_0x5d42b1(0x12f)](',');}}_0xc9a62e===0x7&&_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd),(_0x2c992f||_0xc9a62e===0x9)&&_0x27cba9['push'](')');}['_handleNewFunctionChild'](_0x9903b0,_0x5769d1,_0x3185f1){const _0x22ca4d=_0x40eb59;_0x9903b0 instanceof a[_0x22ca4d(0xe2)]?this[_0x22ca4d(0x168)](_0x9903b0,_0x5769d1,_0x3185f1):this[_0x22ca4d(0x18d)][_0x22ca4d(0x117)](_0x9903b0)?(_0x5769d1[_0x22ca4d(0x12f)](''+this[_0x22ca4d(0x17a)]+_0x9903b0),this[_0x22ca4d(0x103)]=!0x0):_0x5769d1['push'](_0x9903b0);}['_clearFunctionString'](_0x223649){const _0x341b30=_0x40eb59;let _0x551f1a=_0x223649[_0x341b30(0xeb)]();if(!_0x551f1a)return _0x551f1a;const _0x8e7c5a=_0x551f1a[0x0];if((_0x8e7c5a===a[_0x341b30(0x14b)]['AT']||_0x8e7c5a===a['prefixToken'][_0x341b30(0x1b5)]||_0x8e7c5a===a[_0x341b30(0x14b)][_0x341b30(0x18f)])&&(_0x551f1a=_0x551f1a[_0x341b30(0x1a0)](0x1)),!_0x551f1a)return _0x551f1a;const _0x1ad294=_0x551f1a[_0x551f1a[_0x341b30(0x1a6)]-0x1];return a[_0x341b30(0x170)][_0x341b30(0x117)](_0x1ad294)&&(_0x551f1a=_0x551f1a[_0x341b30(0x1a0)](0x0,-0x1)),_0x551f1a;}[_0x40eb59(0x198)](_0x2cb132){const _0x476a7e=_0x40eb59,_0x5cb933=_0x2cb132[_0x476a7e(0x162)]()[0x0];if(!_0x5cb933||!(_0x5cb933 instanceof a[_0x476a7e(0xe2)])||_0x2cb132[_0x476a7e(0x162)]()['length']>0x1)return!0x1;const _0x1d73e8=_0x5cb933['getChildren'](),_0x3bb2c2=_0x1d73e8[_0x476a7e(0x1a6)];if(_0x3bb2c2===0x1)return!0x1;for(let _0x1d746c=0x0;_0x1d746c<_0x3bb2c2;_0x1d746c++){const _0x2bd0f8=_0x1d73e8[_0x1d746c];if(!(_0x2bd0f8 instanceof a['LexerNode'])&&a['OPERATOR_TOKEN_SET'][_0x476a7e(0x117)](_0x2bd0f8))return!0x0;}return!0x1;}[_0x40eb59(0xfe)](_0x5501b7,_0x29b719,_0x47a73f,_0x322708,_0x5e23ff){const _0x39d9a8=_0x40eb59,_0x121cf9=this[_0x39d9a8(0x148)](_0x5501b7,!0x1);if(!_0x121cf9||_0x121cf9===a[_0x39d9a8(0x123)][_0x39d9a8(0xf2)]||Array['isArray'](_0x121cf9))return null;this[_0x39d9a8(0x17f)](),this[_0x39d9a8(0xd2)]=_0x29b719;const _0x1c32d=this[_0x39d9a8(0x11a)](_0x121cf9,_0x47a73f,_0x322708,_0x5e23ff);return this[_0x39d9a8(0xd2)]='',this['_resetPrefix'](),_0x1c32d;}[_0x40eb59(0x11a)](_0x22cb66,_0x204109,_0x170b44,_0xdf0917){const _0x292fc9=_0x40eb59,_0x51b875={'value':'','children':[],'startIndex':0x0};let _0x19e991=_0x22cb66;if(_0x19e991 instanceof a[_0x292fc9(0xe2)]&&(_0x19e991['getToken']()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x19e991[_0x292fc9(0x175)]()===a[_0x292fc9(0x18e)])&&_0x19e991[_0x292fc9(0x162)]()[_0x292fc9(0x1a6)]===0x1&&(_0x19e991=_0x19e991[_0x292fc9(0x162)]()[0x0]),!(_0x19e991 instanceof a['LexerNode']))return this[_0x292fc9(0xe1)](_0x19e991,_0x170b44,_0xdf0917);const _0xc60ee8=_0x19e991['getChildren'](),_0x5aa6ed=_0xc60ee8[_0x292fc9(0x1a6)],_0x20d086=[];this[_0x292fc9(0x168)](_0x19e991,_0x20d086,_0x204109),_0x51b875[_0x292fc9(0x146)]=_0x20d086[_0x292fc9(0xd6)](''),_0x51b875[_0x292fc9(0x188)]=_0x19e991[_0x292fc9(0x193)]();const _0x358d2a=this[_0x292fc9(0x11e)](_0x19e991);if(_0x358d2a===0x2){const _0x1d8faf=_0xc60ee8[0x0];if(_0x1d8faf instanceof a[_0x292fc9(0xe2)]){if(_0x1d8faf[_0x292fc9(0x175)]()[_0x292fc9(0xeb)]()!==a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x51b875;this[_0x292fc9(0x11f)](_0x1d8faf,_0x51b875,_0x204109,_0x170b44,_0xdf0917);}return _0x51b875;}else{if(_0x358d2a===0x1){for(let _0x3beec7=0x0;_0x3beec7<_0x5aa6ed-0x1;_0x3beec7++){const _0x560ff3=_0xc60ee8[_0x3beec7];if(_0x560ff3 instanceof a[_0x292fc9(0xe2)]&&_0x3beec7%0x2===0x1){const _0x58efa5=_0x560ff3[_0x292fc9(0x162)]();if(_0x58efa5[_0x292fc9(0x1a6)]===0x1&&!(_0x58efa5[0x0]instanceof a[_0x292fc9(0xe2)]))continue;const _0x2b6570=this['_generateExprTree'](_0x560ff3,_0x204109,_0x170b44,_0xdf0917);_0x2b6570&&_0x51b875['children']['push'](_0x2b6570);}}return _0x51b875;}else{if(_0x358d2a===0x8){const _0x177dcd=_0xc60ee8[0x0];if(_0x177dcd instanceof a[_0x292fc9(0xe2)]){const _0x53e73a=_0x177dcd[_0x292fc9(0x162)]()[0x0];_0x53e73a instanceof a[_0x292fc9(0xe2)]&&(_0x51b875[_0x292fc9(0x188)]=_0x53e73a[_0x292fc9(0x193)]());}}else{if(_0x358d2a===0x7){const _0x43f54a=_0xc60ee8[0x0];if(_0x43f54a instanceof a[_0x292fc9(0xe2)]){const _0x47d514=_0x43f54a[_0x292fc9(0x162)]()[0x0];_0x47d514 instanceof a['LexerNode']&&(_0x51b875[_0x292fc9(0x188)]=_0x47d514['getStartIndex']());}}}}}return this['_handleChildrenForExprTree'](_0xc60ee8,_0x358d2a,_0x51b875,_0x204109,_0x170b44,_0xdf0917),_0x51b875;}[_0x40eb59(0xe4)](_0x394a71,_0x1e3937,_0x2c031b,_0x249db2,_0x46eaea,_0x393eff){const _0x49989c=_0x40eb59;for(let _0xc0001a=0x0;_0xc0001a<_0x394a71['length'];_0xc0001a++){let _0x49eb09=_0x394a71[_0xc0001a];if(!(_0x49eb09 instanceof a[_0x49989c(0xe2)])){const _0xcbdad4=this['_handleTextNodeForExprTree'](_0x49eb09,_0x46eaea,_0x393eff);_0xcbdad4&&_0x2c031b[_0x49989c(0x118)]['push'](_0xcbdad4);continue;}const _0x562f3e=_0x49eb09[_0x49989c(0x162)]();if(_0x562f3e[_0x49989c(0x1a6)]===0x1&&!(_0x562f3e[0x0]instanceof a[_0x49989c(0xe2)])){const _0x12cc9f=_0x562f3e[0x0];if(!_0x46eaea(this[_0x49989c(0xd2)],_0x12cc9f)&&!this[_0x49989c(0x1b0)](_0x12cc9f,_0x393eff)&&!a[_0x49989c(0x164)](_0x12cc9f))continue;}if(_0x1e3937===0x8){const _0xb7fd28=_0x562f3e[0x0];if(_0xb7fd28 instanceof a['LexerNode']){const _0x32d5e7=_0xb7fd28[_0x49989c(0x175)]()['trim']();if(a[_0x49989c(0x164)](_0x32d5e7))continue;_0x49eb09=_0xb7fd28;}}const _0x1e0937=this[_0x49989c(0x11a)](_0x49eb09,_0x249db2,_0x46eaea,_0x393eff);_0x1e0937&&_0x2c031b['children'][_0x49989c(0x12f)](_0x1e0937);}}['_handleTextNodeForExprTree'](_0x8271bc,_0x450681,_0x28abff){const _0x36d3de=_0x40eb59,_0x71a32=_0x8271bc[_0x36d3de(0xeb)]();return _0x71a32[_0x36d3de(0x13a)]('{')&&_0x71a32[_0x36d3de(0x129)]('}')||_0x450681(this['_currentUnitId'],_0x71a32)||this['_getTableNameFromStructuredRef'](_0x71a32,_0x28abff)||a[_0x36d3de(0x164)](_0x71a32)?{'value':_0x71a32,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x4ebfe3,_0x1daac4){const _0x343f41=_0x40eb59,{tableName:_0x20797a}=a[_0x343f41(0x19c)](_0x4ebfe3);return _0x1daac4(this['_currentUnitId'],_0x20797a)?_0x20797a:null;}[_0x40eb59(0x11f)](_0x36c638,_0x964383,_0x37b6cf,_0x33557e,_0x7db88d){const _0xe3b818=_0x40eb59,_0x228eff=_0x36c638[_0xe3b818(0x162)]();for(let _0x521afd=0x0;_0x521afd<_0x228eff[_0xe3b818(0x1a6)];_0x521afd++){const _0x346634=_0x228eff[_0x521afd];if(!(_0x346634 instanceof a[_0xe3b818(0xe2)]))continue;const _0x2d76f5=_0x346634[_0xe3b818(0x162)]();if(_0x2d76f5[_0xe3b818(0x1a6)]===0x1&&!(_0x2d76f5[0x0]instanceof a[_0xe3b818(0xe2)]))continue;const _0x3229eb=this['_generateExprTree'](_0x346634,_0x37b6cf,_0x33557e,_0x7db88d);_0x3229eb&&_0x964383[_0xe3b818(0x118)][_0xe3b818(0x12f)](_0x3229eb);}}[_0x40eb59(0x11e)](_0x376e6e){const _0x130d37=_0x40eb59,_0x51131c=_0x376e6e[_0x130d37(0x175)](),_0x1a35ce=_0x51131c[_0x130d37(0xeb)]()['toUpperCase']();let _0x40557b=0x0;return _0x51131c===a[_0x130d37(0x113)]?_0x40557b=0x3:_0x51131c===a[_0x130d37(0x18e)]?_0x40557b=0x4:_0x51131c===a[_0x130d37(0x10c)]?_0x40557b=0x5:_0x1a35ce===a[_0x130d37(0xf6)]?_0x40557b=0x2:_0x1a35ce===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x40557b=0x1:_0x1a35ce===a[_0x130d37(0x1c3)][_0x130d37(0x1a5)]?_0x40557b=0x8:a[_0x130d37(0x170)][_0x130d37(0x117)](_0x1a35ce)?_0x40557b=0x7:_0x1a35ce===a['prefixToken'][_0x130d37(0x1b5)]?this[_0x130d37(0x198)](_0x376e6e)&&(_0x40557b=0x9):_0x40557b=0xa,_0x40557b;}}const B={0x0:'1',0x1:'P',0x2:'B',0x3:'5',0x4:'T',0x5:'N',0x6:'7',0x7:'9',0x8:'R',0x9:'2','f':'0','q':'3','p':'4','g':'6','Q':'8','o':'a','X':'b','h':'c','R':'d','J':'e','e':'f','W':'g','G':'h','A':'i','a':'j','v':'k','P':'l','Z':'m','k':'n','T':'o','n':'p','j':'q','w':'r','I':'s','l':'t','d':'u','H':'v','x':'w','u':'x','t':'y','C':'z','N':'A','b':'C','L':'D','U':'E','M':'F','S':'G','D':'H','E':'I','z':'J','y':'K','B':'L','Y':'M','c':'O','i':'Q','F':'S','m':'U','V':'V','s':'W','r':'X','O':'Y','K':'Z'},G=_0x40eb59(0x165);class K extends a[_0x40eb59(0x163)]{constructor(){const _0x5d28df=_0x40eb59;super(...arguments),D(this,_0x5d28df(0xd1),new Map());}[_0x40eb59(0x10f)](){const _0x4c5a24=_0x40eb59;super['dispose'](),this[_0x4c5a24(0xd1)][_0x4c5a24(0x13f)]();}async['generate'](_0x213348=!0x1){const _0x281649=_0x40eb59;this[_0x281649(0x1c5)]();const _0x5ca4c9=this[_0x281649(0x160)][_0x281649(0xd4)](),_0x48bc86=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x31684e=this[_0x281649(0x160)][_0x281649(0x125)]();_0x31684e!=null&&Object[_0x281649(0x189)](_0x31684e)[_0x281649(0x1ab)](_0x482eea=>{const _0x1ef752=_0x281649;_0x482eea!=null&&Object[_0x1ef752(0x189)](_0x31684e[_0x482eea])[_0x1ef752(0x1ab)](_0x1f0d19=>{const _0x3acb43=_0x1ef752;_0x1f0d19!=null&&(this[_0x3acb43(0x166)][_0x3acb43(0xf1)](_0x482eea,_0x1f0d19),this[_0x3acb43(0x166)][_0x3acb43(0x10e)](_0x482eea,_0x1f0d19),this['_dependencyManagerService'][_0x3acb43(0x115)](_0x482eea,_0x1f0d19));});});const _0x3295b6=this[_0x281649(0x160)][_0x281649(0x13c)]();await this['_generateTreeList'](_0x5ca4c9,_0x48bc86,_0x3295b6),this[_0x281649(0x166)][_0x281649(0x18c)]();const _0x2f0b93=this[_0x281649(0x10d)](),_0x5ab187=this['_calculateRunList'](_0x2f0b93);return this[_0x281649(0x14a)](_0x5ab187)&&this['_runtimeService'][_0x281649(0x136)](),_0x213348&&this[_0x281649(0xee)][_0x281649(0xfc)](this['_getAllDependencyJson'](Array[_0x281649(0x14c)](this[_0x281649(0xd1)][_0x281649(0x150)]()))),this['_dependencyTreeCache'][_0x281649(0x13f)](),this[_0x281649(0x102)][_0x281649(0x13f)](),this[_0x281649(0x166)][_0x281649(0x167)](),this[_0x281649(0xee)]['clearArrayObjectCache'](),Promise[_0x281649(0x172)](_0x5ab187);}[_0x40eb59(0xf0)](_0x2efe72,_0x501096){const _0x3d4acb=_0x40eb59,_0x2bc9d4=[_0x2efe72];for(;_0x2bc9d4[_0x3d4acb(0x1a6)]>0x0;){const _0x53cb21=_0x2bc9d4[_0x2bc9d4[_0x3d4acb(0x1a6)]-0x1];if((_0x501096['get'](_0x53cb21)||0x0)===0x0){_0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x1);const _0x51ed4c=this[_0x3d4acb(0xd1)][_0x3d4acb(0x16d)](_0x53cb21);if(_0x51ed4c==null){_0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x2),_0x2bc9d4[_0x3d4acb(0x110)]();continue;}const _0x5b95ba=this[_0x3d4acb(0x166)][_0x3d4acb(0x1b7)](_0x51ed4c[_0x3d4acb(0xd3)]());for(const _0x5c5d39 of _0x5b95ba){const _0xf8ba02=_0x501096[_0x3d4acb(0x16d)](_0x5c5d39)||0x0;if(_0xf8ba02===0x1)return!0x0;_0xf8ba02===0x0&&_0x2bc9d4[_0x3d4acb(0x12f)](_0x5c5d39);}}else _0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x2),_0x2bc9d4['pop']();}return!0x1;}[_0x40eb59(0x14a)](_0x35be16){const _0x2d25f4=_0x40eb59,_0x171e14=new Map();for(const _0x5109eb of _0x35be16)if(!_0x171e14[_0x2d25f4(0x117)](_0x5109eb[_0x2d25f4(0x119)])&&this[_0x2d25f4(0xf0)](_0x5109eb[_0x2d25f4(0x119)],_0x171e14))return!0x0;return _0x171e14['clear'](),!0x1;}[_0x40eb59(0x171)](_0x551a65,_0x520ce5,_0x2353f5){const _0x21c259=_0x40eb59,{unitId:_0x4cece7,subUnitId:_0x4f30b0,dependencyRanges:_0x2abe26,getDirtyData:_0x4b0032}=_0x2353f5,_0x29f72c=_0x520ce5||a['generateRandomDependencyTreeId'](this[_0x21c259(0x166)]),_0x728f79=new a[(_0x21c259(0x159))](_0x29f72c);_0x728f79[_0x21c259(0x142)]=_0x4cece7,_0x728f79[_0x21c259(0x1bb)]=_0x4f30b0,_0x728f79[_0x21c259(0x108)]=_0x2abe26,_0x728f79[_0x21c259(0x19a)]=_0x4b0032;const _0x5bf846=_0x4b0032(this['_currentConfigService']['getDirtyData'](),this[_0x21c259(0xee)]['getAllRuntimeData']()),_0x4dc6ed=this['_convertDirtyRangesToUnitRange'](_0x5bf846['dirtyRanges']);return _0x728f79[_0x21c259(0x15d)]=_0x4dc6ed,_0x728f79['featureId']=_0x551a65,_0x728f79[_0x21c259(0x194)]=a[_0x21c259(0x147)][_0x21c259(0x1a1)],this[_0x21c259(0x166)]['addFeatureFormulaDependency'](_0x4cece7,_0x4f30b0,_0x551a65,_0x728f79),this['_dependencyTreeCache'][_0x21c259(0x13b)](_0x728f79['treeId'],_0x728f79),this[_0x21c259(0x166)][_0x21c259(0x192)](_0x2353f5[_0x21c259(0x142)],_0x2353f5[_0x21c259(0x1bb)],_0x551a65)&&(_0x728f79[_0x21c259(0x130)]=!0x0),_0x728f79;}[_0x40eb59(0x145)](_0x320629,_0x39456d,_0x4dc61d){const _0x851131=_0x40eb59;var _0x1cc246;for(const _0x5ae6da of _0x39456d){const _0x1c92f7=_0x320629[_0x5ae6da];if(_0x1c92f7==null)continue;const _0x27babe=Object['keys'](_0x1c92f7);for(const _0x3bf7f4 of _0x27babe){const _0x306466=_0x1c92f7[_0x3bf7f4];if(_0x306466==null)continue;const _0x433d5d=Object[_0x851131(0x189)](_0x306466);for(const _0x2fcd35 of _0x433d5d){const _0x30a7b5=this[_0x851131(0x166)][_0x851131(0x12a)](_0x2fcd35),_0x30d15e=_0x306466[_0x2fcd35],{f:_0x465032,ranges:_0x3b9a0d}=_0x30d15e;let _0x4b6e74=!0x1;_0x30a7b5&&(_0x4b6e74=!0x0);const {firstRow:_0x168dec,firstColumn:_0x3ac4c4}=this[_0x851131(0x1a7)](_0x3b9a0d),_0x49c0d6=this[_0x851131(0x166)][_0x851131(0x1b8)](_0x5ae6da,_0x3bf7f4,_0x2fcd35),_0x56993b=(_0x1cc246=_0x49c0d6==null?void 0x0:_0x49c0d6[_0x851131(0x1bd)](0x0,0x0))!=null?_0x1cc246:a[_0x851131(0xe9)](this[_0x851131(0x166)]),_0x3eaec9=new a[(_0x851131(0x159))](_0x56993b);for(let _0x49fd75=0x0;_0x49fd75<_0x3b9a0d[_0x851131(0x1a6)];_0x49fd75++){const _0x2300be=_0x3b9a0d[_0x49fd75],{startRow:_0x152df7,startColumn:_0x3339b4,endRow:_0x192950,endColumn:_0x2afae4}=_0x2300be;for(let _0x5ee035=_0x152df7;_0x5ee035<=_0x192950;_0x5ee035++)for(let _0x1f1a5c=_0x3339b4;_0x1f1a5c<=_0x2afae4;_0x1f1a5c++){const _0x3e3241=_0x1f1a5c-_0x3ac4c4,_0xe40cc7=_0x5ee035-_0x168dec;if(_0x3e3241===0x0&&_0xe40cc7===0x0){_0x3eaec9[_0x851131(0x100)]=_0x465032,_0x3eaec9[_0x851131(0x142)]=_0x5ae6da,_0x3eaec9[_0x851131(0x1bb)]=_0x3bf7f4,_0x3eaec9[_0x851131(0xcd)]=_0x2fcd35,_0x3eaec9[_0x851131(0x194)]=a[_0x851131(0x147)][_0x851131(0x140)],_0x3eaec9['isCache']=_0x4b6e74,_0x4dc61d['push'](_0x3eaec9),this[_0x851131(0xd1)][_0x851131(0x13b)](_0x3eaec9[_0x851131(0x119)],_0x3eaec9),this[_0x851131(0x166)][_0x851131(0x1b4)](_0x5ae6da,_0x3bf7f4,_0x2fcd35,_0x3eaec9),this[_0x851131(0x166)][_0x851131(0x185)](_0x3eaec9);continue;}const _0x237c8c=new a[(_0x851131(0x1c2))]();_0x237c8c['treeId']=(_0x49c0d6==null?void 0x0:_0x49c0d6[_0x851131(0x1bd)](_0x3e3241,_0xe40cc7))||a[_0x851131(0xe9)](this[_0x851131(0x166)]),_0x237c8c['refTree']=_0x3eaec9,_0x237c8c['refOffsetX']=_0x3e3241,_0x237c8c[_0x851131(0x11b)]=_0xe40cc7,_0x237c8c[_0x851131(0x130)]=_0x4b6e74,_0x237c8c[_0x851131(0x194)]=a['FormulaDependencyTreeType'][_0x851131(0x140)],this[_0x851131(0x166)]['addOtherFormulaDependency'](_0x5ae6da,_0x3bf7f4,_0x2fcd35,_0x237c8c),this[_0x851131(0x166)][_0x851131(0x185)](_0x237c8c),_0x4dc61d[_0x851131(0x12f)](_0x237c8c),this[_0x851131(0xd1)][_0x851131(0x13b)](_0x237c8c[_0x851131(0x119)],_0x237c8c);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x2fcd35);}}}}['_registerFormulas'](_0x5e43d9,_0x422dbf,_0xdbad84,_0x4e690b){const _0x5057cb=_0x40eb59;for(const _0x223edd of _0x5e43d9){const _0x165769=_0x422dbf[_0x223edd];if(_0x165769==null)continue;const _0x2f5b9c=Object[_0x5057cb(0x189)](_0x165769);for(const _0x18a757 of _0x2f5b9c){const _0x43c071=new R[(_0x5057cb(0x154))](_0x165769[_0x18a757]||{}),_0x190932=new Map();_0x43c071['forValue']((_0x352979,_0x1fdd15,_0x4423a3)=>{const _0x1ddaf2=_0x5057cb;if(_0x4423a3==null)return!0x0;const {x:_0x3d13e8=0x0,y:_0x1cecd2=0x0,si:_0x3bd728}=_0x4423a3;if(!(_0x3d13e8===0x0&&_0x1cecd2===0x0&&_0x3bd728!=null))return!0x0;const _0x42fde0=this[_0x1ddaf2(0xfa)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15,_0xdbad84,_0x4423a3),_0x4513b8=this[_0x1ddaf2(0x166)][_0x1ddaf2(0x138)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15);_0x4513b8!=null?_0x42fde0['treeId']=_0x4513b8:(this[_0x1ddaf2(0x166)][_0x1ddaf2(0x12e)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15,_0x42fde0),this[_0x1ddaf2(0x166)][_0x1ddaf2(0x185)](_0x42fde0)),_0x190932['set'](_0x3bd728,_0x42fde0),_0x4e690b[_0x1ddaf2(0x12f)](_0x42fde0),this[_0x1ddaf2(0xd1)]['set'](_0x42fde0[_0x1ddaf2(0x119)],_0x42fde0);}),_0x43c071['forValue']((_0x5dd14a,_0x4711ca,_0x1da515)=>{const _0x1228df=_0x5057cb;if(_0x1da515==null)return!0x0;const {x:_0x5ce082=0x0,y:_0x2fefee=0x0,si:_0x5e3a7b}=_0x1da515;if(_0x5ce082===0x0&&_0x2fefee===0x0&&_0x5e3a7b!=null)return!0x0;let _0x37d21f;if(_0x5e3a7b&&_0x190932[_0x1228df(0x117)](_0x5e3a7b)){const _0x3d8a7f=_0x190932[_0x1228df(0x16d)](_0x5e3a7b);_0x37d21f=this[_0x1228df(0xd8)](_0x3d8a7f,_0x1da515);}else _0x37d21f=this[_0x1228df(0xfa)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca,_0xdbad84,_0x1da515);const _0x25fd7e=this[_0x1228df(0x166)][_0x1228df(0x138)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca);_0x25fd7e!=null?_0x37d21f['treeId']=_0x25fd7e:(this['_dependencyManagerService'][_0x1228df(0x12e)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca,_0x37d21f),this[_0x1228df(0x166)][_0x1228df(0x185)](_0x37d21f)),_0x4e690b[_0x1228df(0x12f)](_0x37d21f),this['_dependencyTreeCache'][_0x1228df(0x13b)](_0x37d21f[_0x1228df(0x119)],_0x37d21f);}),_0x190932[_0x5057cb(0x13f)]();}}}[_0x40eb59(0xfa)](_0x173f64,_0x4c31f1,_0x461bdf,_0x2e4530,_0x368fcc,_0x59a1f3){const _0x5928f8=_0x40eb59,{f:_0x3bc417,x:_0x256f1b=0x0,y:_0x3d9c6a=0x0}=_0x59a1f3,_0x222bb6=new a[(_0x5928f8(0x159))](a[_0x5928f8(0xe9)](this['_dependencyManagerService'])),_0x569734=_0x368fcc[_0x173f64][_0x4c31f1];return _0x222bb6['formula']=_0x3bc417,_0x222bb6[_0x5928f8(0x142)]=_0x173f64,_0x222bb6[_0x5928f8(0x1bb)]=_0x4c31f1,_0x222bb6[_0x5928f8(0x12b)]=_0x461bdf,_0x222bb6[_0x5928f8(0x17b)]=_0x2e4530,_0x222bb6[_0x5928f8(0x1bc)]=_0x569734[_0x5928f8(0x1bc)],_0x222bb6['columnCount']=_0x569734[_0x5928f8(0xf9)],_0x222bb6;}[_0x40eb59(0x10d)](){const _0x314453=_0x40eb59,_0x59411c=[],_0x127d4f=new Set(),_0x5be1a4=this['_currentConfigService'][_0x314453(0x1b6)](),_0x490271=this['_currentConfigService'][_0x314453(0xd9)](),_0x3986b7=this[_0x314453(0x166)][_0x314453(0x1b7)](_0x490271),_0x27e236=this[_0x314453(0x102)]['bulkSearch'](_0x490271);for(const _0x290fa3 of _0x27e236)_0x3986b7['add'](_0x290fa3);for(const [_0x24e650,_0x48b714]of this['_dependencyTreeCache'])(_0x5be1a4||_0x48b714[_0x314453(0x19b)]||_0x48b714[_0x314453(0xe7)](this[_0x314453(0x160)]['getDirtyNameMap']())||_0x3986b7[_0x314453(0x117)](_0x24e650)&&!_0x48b714['isExcludeRange'](this[_0x314453(0x160)]['getExcludedRange']()))&&!_0x127d4f[_0x314453(0x117)](_0x24e650)&&(_0x59411c[_0x314453(0x12f)](_0x48b714),_0x127d4f[_0x314453(0x128)](_0x24e650));for(const [_0x4733ad,_0x569955]of this[_0x314453(0xd1)])_0x569955[_0x314453(0x1ad)]||(_0x569955[_0x314453(0x108)][_0x314453(0x1a6)]=0x0);return _0x59411c;}[_0x40eb59(0x18b)](_0x295338){const _0x37739a=_0x40eb59;return this[_0x37739a(0xd1)][_0x37739a(0x16d)](_0x295338);}[_0x40eb59(0xdb)](_0x2b20ff){const _0xff9f85=_0x40eb59;return a[_0xff9f85(0x16c)](_0x2b20ff['unitId'],_0x2b20ff['formula'],this[_0xff9f85(0x1c6)],this[_0xff9f85(0x11c)],this[_0xff9f85(0x160)]);}*['_traverse'](_0x108f63,_0x565ab7){const _0x1ae42b=_0x40eb59,_0x5b65e1=_0x108f63,_0x5a621c=new Set();for(;_0x5b65e1['length']>0x0;){const _0x16dd2=_0x5b65e1[_0x1ae42b(0x110)]();if(_0x5a621c[_0x1ae42b(0x13f)](),_0x16dd2===void 0x0||_0x16dd2[_0x1ae42b(0x131)]())continue;if(_0x16dd2['isAdded']()){yield _0x16dd2,_0x16dd2[_0x1ae42b(0x1a9)](),_0x565ab7[_0x1ae42b(0x128)](_0x16dd2['treeId']);continue;}const _0x4439ee=this['_dependencyManagerService'][_0x1ae42b(0x1b7)](_0x16dd2[_0x1ae42b(0xd3)](),_0x565ab7),_0x187944=this[_0x1ae42b(0x102)]['bulkSearch'](_0x16dd2[_0x1ae42b(0xd3)](),_0x565ab7);for(const _0x150770 of _0x187944)_0x4439ee[_0x1ae42b(0x128)](_0x150770);for(const _0x3e60ad of _0x4439ee){const _0xc1769f=this['_dependencyTreeCache']['get'](_0x3e60ad);if(!_0xc1769f)throw new Error(_0x1ae42b(0x155));_0xc1769f[_0x1ae42b(0x19e)]()||_0x16dd2[_0x1ae42b(0x131)]()||_0x5a621c[_0x1ae42b(0x128)](_0xc1769f);}if(_0x4439ee[_0x1ae42b(0x13f)](),_0x5a621c[_0x1ae42b(0x19f)]===0x0)yield _0x16dd2,_0x16dd2[_0x1ae42b(0x1a9)](),_0x565ab7[_0x1ae42b(0x128)](_0x16dd2[_0x1ae42b(0x119)]);else{_0x16dd2[_0x1ae42b(0x116)](),_0x5b65e1[_0x1ae42b(0x12f)](_0x16dd2);for(const _0x27fb02 of _0x5a621c)_0x5b65e1['push'](_0x27fb02);}}_0x5b65e1[_0x1ae42b(0x1a6)]=0x0,_0x5a621c[_0x1ae42b(0x13f)]();}['_calculateRunList'](_0x3879c7){const _0x373984=_0x40eb59,_0x5debac=[],_0x1428ea=new Set();for(const _0x5930c6 of this[_0x373984(0xde)](_0x3879c7,_0x1428ea))_0x5debac[_0x373984(0x12f)](_0x5930c6);return _0x5debac;}async[_0x40eb59(0x19d)](){const _0x47cf8f=_0x40eb59;return await this[_0x47cf8f(0xea)](),Array['from'](this[_0x47cf8f(0xd1)][_0x47cf8f(0x150)]());}[_0x40eb59(0xed)](_0x57df22){const _0x5dbeaa=_0x40eb59;return this[_0x5dbeaa(0x166)][_0x5dbeaa(0x1b7)](_0x57df22[_0x5dbeaa(0xd3)]());}[_0x40eb59(0x182)](_0x1b09c4){const _0x1916d0=_0x40eb59,_0x4a4a0c=new Set(),_0x513740=_0x1b09c4[_0x1916d0(0x108)];for(const [_0x15a2af,_0x1ede16]of this['_dependencyTreeCache'])for(const _0x1aab05 of _0x513740){const _0x5afd04=_0x1aab05[_0x1916d0(0x142)],_0x3d3684=_0x1aab05['sheetId'];if(_0x1ede16['unitId']!==_0x5afd04||_0x1ede16['subUnitId']!==_0x3d3684)continue;const _0x40b975=_0x1aab05[_0x1916d0(0x126)];if(_0x1ede16['inRangeData'](_0x40b975)){_0x4a4a0c[_0x1916d0(0x128)](_0x15a2af);break;}}return _0x4a4a0c;}[_0x40eb59(0x157)](){const _0x418dbb=_0x40eb59;this[_0x418dbb(0x166)][_0x418dbb(0x18c)]();}[_0x40eb59(0x149)](){const _0x350faf=_0x40eb59;this[_0x350faf(0x199)]['clear'](),this[_0x350faf(0xd1)][_0x350faf(0x13f)](),this[_0x350faf(0x166)][_0x350faf(0x167)]();}}class Y extends a[_0x40eb59(0x183)]{async[_0x40eb59(0x180)](_0x1ae186=!0x1){const _0x495873=_0x40eb59;_0x1ae186?this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1c1)]):this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1b3)]),this[_0x495873(0xe3)][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]());const _0x3c056b=await this['_formulaDependencyGenerator']['generate'](this[_0x495873(0x101)]),_0x27784e=this['_interpreter'];_0x1ae186?(this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x18a)]),this[_0x495873(0xee)][_0x495873(0x133)](_0x3c056b[_0x495873(0x1a6)])):(this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x174)]),this['_runtimeService'][_0x495873(0x151)](_0x3c056b[_0x495873(0x1a6)])),this[_0x495873(0xe3)][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]());let _0x37461b=[];const _0x1d5363=this[_0x495873(0x178)]['getConfig'](a[_0x495873(0x111)]),_0x7c1c39=(_0x1d5363==null?void 0x0:_0x1d5363[_0x495873(0xe0)])||a[_0x495873(0x184)];let _0x169ddf=0x0;const _0x316d23=_0x3c056b['length'];for(;_0x3c056b['length']>0x0;){const _0x350e45=_0x3c056b[_0x495873(0x110)](),_0x48b011=a['generateAstNode'](_0x350e45[_0x495873(0x142)],_0x350e45[_0x495873(0x100)],this[_0x495873(0x1c6)],this['_astTreeBuilder'],this[_0x495873(0x160)]),_0x4e82fc={'node':_0x48b011,'refOffsetX':_0x350e45['refOffsetX'],'refOffsetY':_0x350e45[_0x495873(0x11b)]},_0x5bd688=_0x350e45['getDirtyData'];if(_0x169ddf%_0x7c1c39===0x0&&(await new Promise(_0x5d2180=>{const _0x1e5865=R['requestImmediateMacroTask'](_0x5d2180);_0x37461b['push'](_0x1e5865);}),_0x1ae186?(this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1ac)]),this[_0x495873(0xee)][_0x495873(0xcc)](_0x169ddf+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](a[_0x495873(0x1c0)]['CURRENTLY_CALCULATING']),this[_0x495873(0xee)][_0x495873(0xfd)](_0x169ddf+0x1)),this['_executionInProgressListener$'][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]()),this['_runtimeService'][_0x495873(0x195)]()||_0x4e82fc==null&&_0x5bd688==null)){this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1a2)]),this[_0x495873(0xee)][_0x495873(0x127)](),this[_0x495873(0xf5)][_0x495873(0x156)](this['_runtimeService'][_0x495873(0xf8)]());return;}this[_0x495873(0xee)]['setCurrent'](_0x350e45[_0x495873(0x12b)],_0x350e45['column'],_0x350e45['rowCount'],_0x350e45[_0x495873(0xf9)],_0x350e45['subUnitId'],_0x350e45[_0x495873(0x142)]);let _0xfb08a4;if(_0x5bd688!=null&&_0x350e45['featureId']!=null){const {runtimeCellData:_0x13f6f4,dirtyRanges:_0x4a29d2}=_0x5bd688(this['_currentConfigService'][_0x495873(0x19a)](),this[_0x495873(0xee)][_0x495873(0xf8)]());this[_0x495873(0xee)][_0x495873(0x16b)](_0x350e45[_0x495873(0x152)],_0x13f6f4),this[_0x495873(0xee)][_0x495873(0xd5)](_0x350e45['featureId'],_0x4a29d2);}else _0x4e82fc!=null&&(_0x27784e[_0x495873(0x161)](_0x4e82fc[_0x495873(0x105)])?_0xfb08a4=await _0x27784e['executeAsync'](_0x4e82fc):_0xfb08a4=_0x27784e[_0x495873(0x190)](_0x4e82fc),_0x350e45[_0x495873(0xcd)]!=null?this[_0x495873(0xee)][_0x495873(0xdf)](_0x350e45['formulaId'],_0x350e45[_0x495873(0x14f)],_0x350e45[_0x495873(0x11b)],_0xfb08a4):this[_0x495873(0xee)][_0x495873(0x141)](_0xfb08a4));_0x48b011[_0x495873(0x1af)](),_0x169ddf++;}return _0x37461b[_0x495873(0x1ab)](_0x4c97c5=>_0x4c97c5()),_0x37461b=[],_0x316d23>0x0?this[_0x495873(0xee)][_0x495873(0x1c4)]():_0x1ae186||this[_0x495873(0xee)][_0x495873(0xfb)](),this[_0x495873(0xee)]['getAllRuntimeData']();}}class V extends a[_0x40eb59(0x122)]{constructor(){const _0x315b9d=_0x40eb59;super(...arguments),D(this,_0x315b9d(0x104),new Map()),D(this,'_dependencyRTreeCache',new R[(_0x315b9d(0x15a))](!0x0));}[_0x40eb59(0x112)](){const _0x2e8555=_0x40eb59;this[_0x2e8555(0xd0)]['clear'](),this[_0x2e8555(0x187)]['clear'](),this['_formulaData']['clear'](),this[_0x2e8555(0xff)][_0x2e8555(0x13f)](),this['_allTreeMap']['clear'](),this[_0x2e8555(0x17d)](),this['_otherFormulaDataMainData'][_0x2e8555(0x13f)]();}[_0x40eb59(0x1b4)](_0x4b51bb,_0x56b735,_0x40d53a,_0x5184ba){const _0x242aa9=_0x40eb59;this['_otherFormulaData'][_0x242aa9(0x117)](_0x4b51bb)||this[_0x242aa9(0xd0)][_0x242aa9(0x13b)](_0x4b51bb,new Map());const _0xf01183=this['_otherFormulaData'][_0x242aa9(0x16d)](_0x4b51bb);_0xf01183[_0x242aa9(0x117)](_0x56b735)||_0xf01183[_0x242aa9(0x13b)](_0x56b735,new Map());const _0x5a53be=_0xf01183[_0x242aa9(0x16d)](_0x56b735);_0x5a53be[_0x242aa9(0x117)](_0x40d53a)||_0x5a53be[_0x242aa9(0x13b)](_0x40d53a,new R[(_0x242aa9(0x154))]()),_0x5a53be[_0x242aa9(0x16d)](_0x40d53a)[_0x242aa9(0x1ba)](_0x5184ba[_0x242aa9(0x14f)],_0x5184ba[_0x242aa9(0x11b)],_0x5184ba[_0x242aa9(0x119)]);}[_0x40eb59(0x12d)](_0x17e322,_0x10a3c7,_0x319d1b){const _0xae672d=_0x40eb59,_0x2cf2c4=this['_otherFormulaData'][_0xae672d(0x16d)](_0x17e322);if(_0x2cf2c4&&_0x2cf2c4[_0xae672d(0x117)](_0x10a3c7)){const _0x4f756e=_0x2cf2c4[_0xae672d(0x16d)](_0x10a3c7);_0x319d1b[_0xae672d(0x1ab)](_0x1e440f=>{const _0x20fac2=_0xae672d,_0x3800c6=_0x4f756e[_0x20fac2(0x16d)](_0x1e440f);_0x3800c6!=null&&(_0x3800c6[_0x20fac2(0x1b2)]((_0x3c358d,_0x113f16,_0x535e42)=>{const _0x31c264=_0x20fac2;this[_0x31c264(0x17e)](_0x535e42),this[_0x31c264(0x124)](_0x535e42);}),_0x4f756e[_0x20fac2(0xcf)](_0x1e440f),this['_otherFormulaDataMainData'][_0x20fac2(0xcf)](_0x1e440f));}),_0x4f756e[_0xae672d(0x19f)]===0x0&&_0x2cf2c4[_0xae672d(0xcf)](_0x10a3c7),_0x2cf2c4[_0xae672d(0x19f)]===0x0&&this[_0xae672d(0xd0)]['delete'](_0x17e322);}}['clearOtherFormulaDependency'](_0x5382d0,_0x11a110){const _0x4c22e0=_0x40eb59,_0x56b848=this['_otherFormulaData']['get'](_0x5382d0);if(_0x11a110&&_0x56b848&&_0x56b848[_0x4c22e0(0x117)](_0x11a110)){const _0x1014f2=_0x56b848[_0x4c22e0(0x16d)](_0x11a110);this[_0x4c22e0(0xe5)](_0x5382d0,_0x11a110);for(const _0x4a63c6 of _0x1014f2['keys']()){const _0x5285fd=_0x1014f2[_0x4c22e0(0x16d)](_0x4a63c6);_0x5285fd!=null&&(_0x5285fd[_0x4c22e0(0x1b2)]((_0x498940,_0x27e970,_0x8c1613)=>{const _0x30215f=_0x4c22e0;this[_0x30215f(0x104)][_0x30215f(0x16d)](_0x8c1613)&&this['_removeAllTreeMap'](_0x8c1613);}),this[_0x4c22e0(0xdc)]['delete'](_0x4a63c6));}_0x1014f2[_0x4c22e0(0x13f)]();}else{if(_0x56b848){for(const _0x40d05d of _0x56b848['keys']()){const _0x8de50a=_0x56b848[_0x4c22e0(0x16d)](_0x40d05d);this['_removeDependencyRTreeCacheById'](_0x5382d0,_0x40d05d);for(const _0x1d2213 of _0x8de50a[_0x4c22e0(0x189)]()){const _0xf6e685=_0x8de50a['get'](_0x1d2213);_0xf6e685!=null&&(_0xf6e685[_0x4c22e0(0x1b2)]((_0x280f71,_0x472bd0,_0x5e1b28)=>{const _0xf1f340=_0x4c22e0;this[_0xf1f340(0x104)]['get'](_0x5e1b28)&&this[_0xf1f340(0x124)](_0x5e1b28);}),this[_0x4c22e0(0xdc)][_0x4c22e0(0xcf)](_0x1d2213));}}this[_0x4c22e0(0xd0)][_0x4c22e0(0xcf)](_0x5382d0);}}}['addFeatureFormulaDependency'](_0x2b789f,_0x5e3bd7,_0x3b729a,_0x388a95){const _0x37c705=_0x40eb59;this[_0x37c705(0x187)][_0x37c705(0x117)](_0x2b789f)||this['_featureFormulaData'][_0x37c705(0x13b)](_0x2b789f,new Map());const _0x1f6197=this['_featureFormulaData']['get'](_0x2b789f);_0x1f6197[_0x37c705(0x117)](_0x5e3bd7)||_0x1f6197[_0x37c705(0x13b)](_0x5e3bd7,new Map()),_0x1f6197[_0x37c705(0x16d)](_0x5e3bd7)[_0x37c705(0x13b)](_0x3b729a,_0x388a95[_0x37c705(0x119)]);}['removeFeatureFormulaDependency'](_0x1fa5fa,_0x103978,_0x47c13c){const _0x33c340=_0x40eb59,_0x1c3361=this[_0x33c340(0x187)]['get'](_0x1fa5fa);if(_0x1c3361&&_0x1c3361[_0x33c340(0x117)](_0x103978)){const _0x4cb562=_0x1c3361[_0x33c340(0x16d)](_0x103978);_0x47c13c[_0x33c340(0x1ab)](_0x375ffe=>{const _0x441902=_0x33c340,_0x26996f=_0x4cb562[_0x441902(0x16d)](_0x375ffe);_0x26996f!=null&&(this['_removeDependencyRTreeCache'](_0x26996f),_0x4cb562[_0x441902(0xcf)](_0x375ffe),this[_0x441902(0x124)](_0x26996f));});}}['clearFeatureFormulaDependency'](_0x906e52,_0x2ce1fa){const _0x28b7db=_0x40eb59,_0x7bdcd5=this[_0x28b7db(0x187)]['get'](_0x906e52);if(_0x2ce1fa&&_0x7bdcd5&&_0x7bdcd5['has'](_0x2ce1fa)){const _0x41c562=_0x7bdcd5[_0x28b7db(0x16d)](_0x2ce1fa);this[_0x28b7db(0xe5)](_0x906e52,_0x2ce1fa),_0x41c562[_0x28b7db(0x1ab)](_0x3686df=>{_0x3686df!=null&&this['_removeAllTreeMap'](_0x3686df);}),_0x41c562['clear']();}else _0x7bdcd5&&(_0x7bdcd5[_0x28b7db(0x1ab)]((_0xa78beb,_0x3a4bef)=>{const _0x1b8a13=_0x28b7db;this['_removeDependencyRTreeCacheById'](_0x906e52,_0x3a4bef),_0xa78beb[_0x1b8a13(0x1ab)](_0x38edce=>{const _0x4f2a98=_0x1b8a13;_0x38edce!=null&&this[_0x4f2a98(0x124)](_0x38edce);});}),this[_0x28b7db(0x187)][_0x28b7db(0xcf)](_0x906e52));}[_0x40eb59(0x12e)](_0x1d3d6a,_0xd71b09,_0xe16ac4,_0x3a40e4,_0x2e6db9){const _0x3da59b=_0x40eb59;this['_formulaData']['has'](_0x1d3d6a)||this[_0x3da59b(0x179)][_0x3da59b(0x13b)](_0x1d3d6a,new Map());const _0x34616e=this[_0x3da59b(0x179)][_0x3da59b(0x16d)](_0x1d3d6a);_0x34616e['has'](_0xd71b09)||_0x34616e[_0x3da59b(0x13b)](_0xd71b09,new R[(_0x3da59b(0x154))]()),_0x34616e['get'](_0xd71b09)[_0x3da59b(0x1ba)](_0xe16ac4,_0x3a40e4,_0x2e6db9[_0x3da59b(0x119)]);}[_0x40eb59(0xe8)](_0x2175d1,_0x448566,_0x38b58a,_0x162496){const _0x39d6ab=_0x40eb59,_0x50163b=this[_0x39d6ab(0x179)][_0x39d6ab(0x16d)](_0x2175d1);if(_0x50163b&&_0x50163b['has'](_0x448566)){const _0x2d2429=_0x50163b[_0x39d6ab(0x16d)](_0x448566),_0x15ff11=_0x2d2429[_0x39d6ab(0x1bd)](_0x38b58a,_0x162496);if(_0x15ff11==null)return;this[_0x39d6ab(0x17e)](_0x15ff11),_0x2d2429[_0x39d6ab(0x137)](_0x38b58a,_0x162496),this[_0x39d6ab(0x124)](_0x15ff11);}}[_0x40eb59(0x115)](_0x599657,_0x5bbe5a){const _0x2e782a=_0x40eb59,_0x3621d1=this['_formulaData'][_0x2e782a(0x16d)](_0x599657);if(_0x5bbe5a&&_0x3621d1&&_0x3621d1[_0x2e782a(0x117)](_0x5bbe5a)){const _0x18f13a=_0x3621d1[_0x2e782a(0x16d)](_0x5bbe5a);this[_0x2e782a(0xe5)](_0x599657,_0x5bbe5a),_0x18f13a['forValue']((_0x443e45,_0x2f813d,_0x568bfa)=>{if(_0x568bfa==null)return!0x0;this['_removeAllTreeMap'](_0x568bfa);}),_0x18f13a['reset']();}else _0x3621d1&&(_0x3621d1[_0x2e782a(0x1ab)]((_0x4bc881,_0x240332)=>{this['_removeDependencyRTreeCacheById'](_0x599657,_0x240332),_0x4bc881['forValue']((_0x2209dc,_0x5703d9,_0x61aeee)=>{const _0x25d52c=_0xf4fc;if(_0x61aeee==null)return!0x0;this[_0x25d52c(0x124)](_0x61aeee);});}),this[_0x2e782a(0x179)][_0x2e782a(0xcf)](_0x599657));}[_0x40eb59(0x17e)](_0x2847d){const _0x48c65e=_0x40eb59;if(_0x2847d==null)return;const _0x20f356=this[_0x48c65e(0x104)][_0x48c65e(0x16d)](_0x2847d);if(_0x20f356){const _0x63c7d7=[];for(const [_0x202829,_0x7c9ae5]of _0x20f356)for(const [_0x46effc,_0x2e833e]of _0x7c9ae5)_0x63c7d7[_0x48c65e(0x12f)]({'unitId':_0x202829,'sheetId':_0x46effc,'range':_0x2e833e,'id':_0x2847d});this[_0x48c65e(0xff)]['bulkRemove'](_0x63c7d7);}}['removeFormulaDependencyByDefinedName'](_0x155a05,_0x277a10){const _0x527c99=_0x40eb59,_0x12fd5b=this[_0x527c99(0x17c)][_0x527c99(0x16d)](_0x155a05);if(_0x12fd5b){const _0x37505f=_0x12fd5b[_0x527c99(0x16d)](_0x277a10);if(_0x37505f){for(const _0x514371 of _0x37505f)this['_removeDependencyRTreeCache'](_0x514371),this[_0x527c99(0x124)](_0x514371);_0x37505f['clear']();}}}[_0x40eb59(0x18c)](){const _0x105dbf=_0x40eb59;this[_0x105dbf(0xff)][_0x105dbf(0x18c)]();}[_0x40eb59(0x167)](){const _0x3ba190=_0x40eb59;this['_dependencyRTreeCache'][_0x3ba190(0x167)]();}[_0x40eb59(0x124)](_0x44f340){const _0x55d3de=_0x40eb59;_0x44f340!=null&&this['_allTreeMap'][_0x55d3de(0xcf)](_0x44f340);}[_0x40eb59(0x1a8)](_0x368d7a){const _0x368bab=_0x40eb59;var _0x145a64,_0x440d0b;const _0x4f55d8=_0x368d7a[_0x368bab(0x108)];let _0x15dccd=this[_0x368bab(0x104)][_0x368bab(0x16d)](_0x368d7a[_0x368bab(0x119)]);for(let _0x250e30=0x0;_0x250e30<_0x4f55d8['length'];_0x250e30++){const _0x52ce0d=_0x4f55d8[_0x250e30];let {unitId:_0x523d93,sheetId:_0x5a9e7a,range:_0x21097a}=_0x52ce0d;_0x15dccd||(_0x15dccd=new Map(),this['_allTreeMap']['set'](_0x368d7a['treeId'],_0x15dccd)),_0x15dccd[_0x368bab(0x117)](_0x523d93)||_0x15dccd[_0x368bab(0x13b)](_0x523d93,new Map());const _0x59a8aa=(_0x145a64=_0x15dccd==null?void 0x0:_0x15dccd[_0x368bab(0x16d)](_0x523d93))==null?void 0x0:_0x145a64[_0x368bab(0x16d)](_0x5a9e7a);_0x59a8aa&&(_0x21097a={'startRow':Math['min'](_0x21097a[_0x368bab(0x12c)],_0x59a8aa[_0x368bab(0x12c)]),'startColumn':Math['min'](_0x21097a[_0x368bab(0x177)],_0x59a8aa['startColumn']),'endRow':Math[_0x368bab(0x15b)](_0x21097a[_0x368bab(0x169)],_0x59a8aa[_0x368bab(0x169)]),'endColumn':Math[_0x368bab(0x15b)](_0x21097a[_0x368bab(0x1aa)],_0x59a8aa[_0x368bab(0x1aa)])}),(_0x440d0b=_0x15dccd['get'](_0x523d93))==null||_0x440d0b['set'](_0x5a9e7a,_0x21097a);}}}function _0xf4fc(_0x2ed511,_0x524e21){_0x2ed511=_0x2ed511-0xca;const _0x24174d=_0x2417();let _0xf4fcdf=_0x24174d[_0x2ed511];return _0xf4fcdf;}var Z=Object['getOwnPropertyDescriptor'],j=(_0x373d69,_0x4a7215,_0xf0ecfb,_0x3512b9)=>{const _0x1ed1b2=_0x40eb59;for(var _0x274330=_0x3512b9>0x1?void 0x0:_0x3512b9?Z(_0x4a7215,_0xf0ecfb):_0x4a7215,_0x14feb5=_0x373d69[_0x1ed1b2(0x1a6)]-0x1,_0x3c68a8;_0x14feb5>=0x0;_0x14feb5--)(_0x3c68a8=_0x373d69[_0x14feb5])&&(_0x274330=_0x3c68a8(_0x274330)||_0x274330);return _0x274330;};const $=Number[_0x40eb59(0x196)](0x69439b90);exports[_0x40eb59(0xf4)]=class extends a['UniverFormulaEnginePlugin']{[_0x40eb59(0xe6)](){const _0x149b8e=_0x40eb59;var _0x32d78d,_0x3efbf9;this[_0x149b8e(0x11d)]()?(this[_0x149b8e(0x14d)]['add']([a['LexerTreeBuilder'],{'useClass':M}]),(_0x32d78d=this['_config'])!=null&&_0x32d78d['notExecuteFormula']||[[a['ICalculateFormulaService'],{'useClass':Y}],[a[_0x149b8e(0x16e)],{'useClass':V}],[a[_0x149b8e(0x14e)],{'useClass':K}]][_0x149b8e(0x1ab)](_0x1403b3=>this[_0x149b8e(0x14d)][_0x149b8e(0x128)](_0x1403b3))):(this[_0x149b8e(0x14d)][_0x149b8e(0x128)]([a[_0x149b8e(0x1a4)],{'useClass':a['LexerTreeBuilder']}]),(_0x3efbf9=this[_0x149b8e(0xf3)])!=null&&_0x3efbf9[_0x149b8e(0x132)]||[[a[_0x149b8e(0x191)],{'useClass':a[_0x149b8e(0x183)]}],[a[_0x149b8e(0x16e)],{'useClass':a[_0x149b8e(0x106)]}],[a[_0x149b8e(0x14e)],{'useClass':a['FormulaDependencyGenerator']}]]['forEach'](_0x342e98=>this[_0x149b8e(0x14d)]['add'](_0x342e98)));}[_0x40eb59(0x11d)](){const _0x38df05=_0x40eb59;var _0x156f78;const _0x35f05b=(_0x156f78=this[_0x38df05(0x178)]['getConfig'](E[_0x38df05(0x107)]))!=null?_0x156f78:{},{ls:_0x45ef2f,pbk:_0x184294}=_0x35f05b;if(!_0x45ef2f||!_0x184294)return!0x1;const _0x14671a=E[_0x38df05(0x173)](G,B),_0x4c0475=new Function(_0x38df05(0x153)+_0x14671a)()(_0x45ef2f,_0x184294),_0x32b7ed=_0x4c0475[_0x38df05(0xf7)];return _0x4c0475[_0x38df05(0xec)]&&E[_0x38df05(0x135)](_0x32b7ed,'sf',$)?E[_0x38df05(0x13d)](_0x32b7ed,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x40eb59(0xf4)]=j([R[_0x40eb59(0x176)](E['UniverLicensePlugin'])],exports[_0x40eb59(0xf4)]),exports[_0x40eb59(0x144)]=M,Object[_0x40eb59(0x189)](a)['forEach'](_0x4ccc1f=>{const _0x56a04f=_0x40eb59;_0x4ccc1f!==_0x56a04f(0xcb)&&!Object[_0x56a04f(0xef)][_0x56a04f(0x121)]['call'](exports,_0x4ccc1f)&&Object[_0x56a04f(0x1a3)](exports,_0x4ccc1f,{'enumerable':!0x0,'get':()=>a[_0x4ccc1f]});});
1
+ 'use strict';function _0x1579(){const _0x71231e=['_lambdaFunctionParameterSet','enableCycleDependency','executeAsync','getOwnPropertyDescriptor','14vAgtGx','clear','SUFFIX_TOKEN_SET','isFeatureAuthorizedWithinTime','ObjectMatrix','delete','IDependencyManagerService','join','_xlpm.','range','_xlpmPrefix','_xlfnPrefix','resetCalculationState','resolve','requestImmediateMacroTask','_otherFormulaData','FormulaDependencyTree','LexerTreeProBuilder','subUnitId','_dependencyManagerService','error','DependencyManagerService','_createFDtree','NEW_EXCEL_FUNCTIONS','dispose','_dependencyTreeCache','Module','default','clearArrayObjectCache','values','_allTreeMap','searchDependency','_startFormulaDependencyTreeModel','START_DEPENDENCY','treeId','startRow','from','_handleLambdaForExprTree','getOtherFormulaDependency','_astTreeBuilder','refOffsetX','MINUS','_initializeGenerateTreeList','type','getFormulaDependency','clearFormulaDependency','addFeatureFormulaDependency','DEFAULT_TOKEN_TYPE_PARAMETER','dirtyRanges','2040566npgCDo','_removeAllTreeMap','treeBuilder','startColumn','getStartIndex','slice','addOtherFormulaDependency','33170uuDjJO','column','prefixToken','symbol','markedAsNoFunctionsExecuted','_generateNewFunctionString','FormulaDependencyTreeType','_registerOtherFormulas','hasOwnProperty','hasOtherFormulaDataMainData','formulaId','refTree','removeFeatureFormulaDependency','forEach','_getUpdateTreeListAndMakeDependency','_getTreeById','isVirtual','_currentUnitId','501528zrYjJU','_clearFunctionString','isAdded','openKdTree','startsWith','COLON','_updateRangeFlatten','_addAllTreeMap','FormulaDependencyTreeVirtual','getFormulaExprTree','getFeatureFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','CalculateFormulaService','_apply','min','isReferenceString','setCurrent','UniverProFormulaEnginePlugin','ParentDependencyTree\x20object\x20is\x20null','_handleNewFunctionChild','push','size','refOffsetY','DependentOn','_configService','_injector','getConfig','_handleTextNodeForExprTree','children','6TVWABO','DependencyManagerBaseService','matchToken','keys','setRuntimeData','intervalCount','_dependencyRTreeCacheForAddressFunction','isStopExecution','UniverFormulaEnginePlugin','_generateTreeList','START_CALCULATION','START_CALCULATION_ARRAY_FORMULA','/*\x20OuzMIo-4Mu2gzO\x20d3O1O3-oO8dz2oO\x20*/17IaoMqI\x204Oa3CdoMqI(zMaOIuO,\x20d7gzMaTOC)\x20{\x20\x20\x20\x20o3C\x20{\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20zMaOIuONI1qR23oL332C\x20=\x20zMaOIuO.udzMo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20q3MiMIVOuu2iO\x20=\x20Q0xw.d23uO(2oqg(zMaOIuONI1qR23oL332C[F]));\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(!q3MiMIVOuu2iO.74)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20q3MiMIVOuu2iO.74\x20=\x20w78gO3(zMaOIuONI1qR23oL332C[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20MuAq3jO3\x20=\x20oCdOq1\x20Aq3jO3Ezqg2z0aqdO\x20!==\x20\x277I4O1MIO4\x27\x20&&\x20uOz1\x20MIuo2IaOq1\x20Aq3jO3Ezqg2z0aqdO;\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20Muk3qZuO3\x20=\x20oCdOq1\x20ZMI4qZ\x20!==\x20\x277I4O1MIO4\x27\x20&&\x20oCdOq1\x20ZMI4qZ.zqa2oMqI\x20!==\x20\x277I4O1MIO4\x27;\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20aqIoOpo\x20=\x20MuAq3jO3\x20?\x20uOz1\x20:\x20(Muk3qZuO3\x20?\x20ZMI4qZ\x20:\x20izqg2zYfMu);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x208Ouu2iOAq34\x20=\x20aqIoOpo.__k2uOGh__.d23uO(zMaOIuONI1qR23oL332C[F]);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x208Ouu2iO\x20=\x20aqIoOpo.__JOp__.uo3MIiM1C(8Ouu2iOAq34);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiI2o73OAq34\x20=\x20aqIoOpo.__k2uOGh__.d23uO(zMaOIuONI1qR23oL332C[H]);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiI2o73O\x20=\x20aqIoOpo.__JOp__.uo3MIiM1C(uMiI2o73OAq34);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiIS2zM4\x20=\x20aqIoOpo.__bO3M1C__(uMiI2o73O,\x208Ouu2iO,\x20d7gzMaTOC);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x204q82MI\x20=\x20q3MiMIVOuu2iO.48;\x20\x20\x20\x20\x20\x20\x20\x2017IaoMqI\x20Munq82MIV2oafMIi(d2ooO3I,\x20fquo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(d2ooO3I\x20===\x20fquo)\x203Oo73I\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(d2ooO3I.uo23ouAMof(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20u711Mp\x20=\x20d2ooO3I.uzMaO(F);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(u711Mp\x20&&\x20!fquo.uo23ouAMof(\x27.\x27)\x20&&\x20fquo\x20!==\x20u711Mp\x20&&\x20fquo.OI4uAMof(\x27.\x27\x20+\x20u711Mp))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x2012zuO;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zOo\x204q82MIS2zM4\x20=\x2012zuO;\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(Muk3qZuO3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20(4q82MI\x20&&\x204q82MI.zOIiof)\x20?\x204q82MI.uq8O((48NoO8)\x20=>\x20Munq82MIV2oafMIi(48NoO8,\x20zqa2oMqI.fquoI28O))\x20:\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(zqa2oMqI.fquoI28O\x20===\x20\x27zqa2zfquo\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20OzuO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20b2zM4\x20=\x20uMiIS2zM4\x20&&\x204q82MIS2zM4;\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b2zM4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Ouu2iO:\x20q3MiMIVOuu2iO,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a2oaf\x20(O33q3)\x20{\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b2zM4:\x2012zuO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Ouu2iO:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','generateAstNode','valid','_featureFormulaData','_isCyclicUtilMap','set','_registerFormulas','_otherFormulaDataMainData','add','markedAsStopFunctionsExecuted','_getFirstCellOfRange','getNewFormulaWithPrefix','DEFAULT_TOKEN_LET_FUNCTION_NAME','DEFAULT_TOKEN_TYPE_ROOT','max','getFormulaData','clearOtherFormulaDependency','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getSheetFeatureLimit','getExcludedRange','markedAsSuccessfullyExecuted','_getCurNodeTypeForExprTree','_isCalculateTreeModel','FormulaExecuteStageType','defineProperty','CURRENTLY_CALCULATING_ARRAY_FORMULA','toUpperCase','setRuntimeFeatureCellData','\x22\x20is\x20duplicated.','get','rangeList','node','125WGTiDg','63636nwsIKq','_formulaDependencyGenerator','IFormulaDependencyGenerator','setSkip','setCompletedFormulasCount','_formulaDependencyTreeModel','OPERATOR_TOKEN_SET','ErrorType','_clearPrefix','_xlfn.','32efzELN','unshiftString','_calculateRunList','pop','_currentConfigService','getDirtyNameMap','_convertDirtyRangesToUnitRange','prototype','getDirtyRanges','columnCount','endColumn','ICalculateFormulaService','IDLE','_getDependencyTreeParenIds','value','LexerNode','message','Lambda\x20parameter\x20name\x20\x22','setCompletedArrayFormulasCount','_dependencyRTreeCache','_initLicenseValid','dependencySheetName','_config','_getFeatureFormulaTree','setAdded','setValue','getAllRuntimeData','_getTableNameFromStructuredRef','_lexer','bulkSearch','forValue','OTHER_FORMULA','_removeDependencyRTreeCacheById','getOtherFormulaData','_formulaData','trim','formula','getToken','257913tSphff','_restDependencyTreeId','isForceCalculate','_runtimeService','1704120cZAuZP','removeOtherFormulaDependency','_endFormulaDependencyTreeModel','_getTreeNode','_definedNameMap','_interpreter','VALUE','has','_removeDependencyRTreeCache','_traverse','_checkIsCycleDependency','closeKdTree','_executionInProgressListener$','CURRENTLY_CALCULATING','generate','40636eRReGP','FEATURE_FORMULA','isArray','reset','isCache','PLUS','generateRandomDependencyTreeId','getDirtyData','featureId','bulkRemove','notExecuteFormula','length','next','addFormulaDependency','FormulaDependencyGenerator','setTotalArrayFormulasToCalculate','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_checkAddBracketForMinus','getChildren','_generateExprTree','_otherFormulaManagerService','checkAsyncNode','getRuntimeState','clearFeatureFormulaDependency','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','endRow','realDeleteValue','toRTreeItem','toStringTag','addFormulaDependencyByDefinedName','getValue','row','setDependencyTreeModelData','_hasNewExcelFunction','10ZeIouR','rowCount','inRangeData','isDirty','startIndex','isSkip','LexerTreeBuilder','string','setFormulaExecuteStage','_resetPrefix','unitId'];_0x1579=function(){return _0x71231e;};return _0x1579();}const _0x21ad8b=_0x4875;(function(_0x195962,_0x22c30f){const _0x55b5f6=_0x4875,_0x27116d=_0x195962();while(!![]){try{const _0x3d900e=parseInt(_0x55b5f6(0x185))/0x1+parseInt(_0x55b5f6(0x1b4))/0x2*(-parseInt(_0x55b5f6(0x1e1))/0x3)+parseInt(_0x55b5f6(0x224))/0x4*(parseInt(_0x55b5f6(0x1e0))/0x5)+parseInt(_0x55b5f6(0x197))/0x6*(-parseInt(_0x55b5f6(0x255))/0x7)+parseInt(_0x55b5f6(0x1eb))/0x8*(parseInt(_0x55b5f6(0x211))/0x9)+-parseInt(_0x55b5f6(0x246))/0xa*(parseInt(_0x55b5f6(0x17e))/0xb)+parseInt(_0x55b5f6(0x215))/0xc;if(_0x3d900e===_0x22c30f)break;else _0x27116d['push'](_0x27116d['shift']());}catch(_0x1befe4){_0x27116d['push'](_0x27116d['shift']());}}}(_0x1579,0x1f1e9));var z=Object['defineProperty'],b=(_0x362fd5,_0x1f2c45,_0x431730)=>_0x1f2c45 in _0x362fd5?z(_0x362fd5,_0x1f2c45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x431730}):_0x362fd5[_0x1f2c45]=_0x431730,C=(_0x30f44d,_0x48a10f,_0x412e2d)=>b(_0x30f44d,typeof _0x48a10f!=_0x21ad8b(0x188)?_0x48a10f+'':_0x48a10f,_0x412e2d);Object[_0x21ad8b(0x1d8)](exports,Symbol[_0x21ad8b(0x240)],{'value':_0x21ad8b(0x26f)});const s=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),I=require('@univerjs/core');class R extends s[_0x21ad8b(0x24c)]{constructor(){const _0x5efe2c=_0x21ad8b;super(...arguments),C(this,_0x5efe2c(0x245),!0x1),C(this,'_lambdaFunctionParameterSet',new Set()),C(this,_0x5efe2c(0x25f),_0x5efe2c(0x25d)),C(this,_0x5efe2c(0x260),_0x5efe2c(0x1ea)),C(this,'_currentUnitId','');}[_0x21ad8b(0x24f)](){const _0xb74c5e=_0x21ad8b;this[_0xb74c5e(0x25f)]=_0xb74c5e(0x25d),this[_0xb74c5e(0x260)]='_xlfn.';}['_clearPrefix'](){const _0x526db0=_0x21ad8b;this[_0x526db0(0x25f)]='',this['_xlfnPrefix']='';}[_0x21ad8b(0x1cb)](_0xda8162,_0x4ad969){const _0x554163=_0x21ad8b,_0x345223=this[_0x554163(0x180)](_0xda8162,!0x1);if(!_0x345223||_0x345223===s[_0x554163(0x1e8)][_0x554163(0x21b)]||Array[_0x554163(0x226)](_0x345223))return null;const _0x4b2aa5=[];return this['_hasNewExcelFunction']=!0x1,this['_generateNewFunctionString'](_0x345223,_0x4b2aa5,_0x4ad969),this['_hasNewExcelFunction']?'='+_0x4b2aa5[_0x554163(0x25c)](''):null;}[_0x21ad8b(0x18a)](_0x385b43,_0x5d68cd,_0x2e0b2f){const _0x2a2621=_0x21ad8b,_0x555561=_0x385b43[_0x2a2621(0x210)](),_0x26d4ae=_0x555561[_0x2a2621(0x20e)](),_0x46b090=_0x26d4ae[_0x2a2621(0x1da)](),_0x5e2fc8=this['_clearFunctionString'](_0x46b090),_0x4c21d4=_0x2e0b2f(_0x5e2fc8);let _0x26efe6=0x0;_0x555561===s[_0x2a2621(0x1cd)]?_0x26efe6=0x3:_0x555561===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x26efe6=0x4:_0x555561===s[_0x2a2621(0x234)]?_0x26efe6=0x5:s[_0x2a2621(0x26c)][_0x2a2621(0x21c)](_0x5e2fc8)?(_0x5d68cd[_0x2a2621(0x1ab)](''+this['_xlfnPrefix']+_0x26d4ae),this[_0x2a2621(0x245)]=!0x0):_0x46b090===s['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x5d68cd[_0x2a2621(0x1ab)](''+this[_0x2a2621(0x260)]+_0x26d4ae),this[_0x2a2621(0x245)]=!0x0,_0x26efe6=0x2):_0x46b090===s['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x5d68cd['push'](''+this[_0x2a2621(0x260)]+_0x26d4ae),this['_hasNewExcelFunction']=!0x0,_0x26efe6=0x1):_0x46b090===s[_0x2a2621(0x1b6)][_0x2a2621(0x19c)]?_0x26efe6=0x8:s[_0x2a2621(0x257)][_0x2a2621(0x21c)](_0x46b090)?_0x26efe6=0x7:_0x46b090===s[_0x2a2621(0x187)][_0x2a2621(0x27e)]?(this[_0x2a2621(0x235)](_0x385b43)&&(_0x26efe6=0x9),_0x5d68cd[_0x2a2621(0x1ab)](_0x555561)):(_0x5d68cd['push'](_0x555561),_0x26efe6=0xa),_0x4c21d4?(_0x26efe6!==0x2&&_0x26efe6!==0x1&&(_0x26efe6=0x6),_0x5d68cd[_0x2a2621(0x1ab)]('(')):_0x26efe6===0x9&&_0x5d68cd[_0x2a2621(0x1ab)]('(');const _0xddd03e=_0x385b43['getChildren'](),_0x2c9aa2=_0xddd03e[_0x2a2621(0x22f)];if(_0x26efe6===0x2){const _0x38d1a1=_0xddd03e[0x0];let _0x1ddaf4=0x0;_0x38d1a1 instanceof s['LexerNode']&&_0x38d1a1['getToken']()===s[_0x2a2621(0x234)]&&(_0x1ddaf4=0x1);for(let _0x180443=_0x1ddaf4;_0x180443<_0x2c9aa2-0x1;_0x180443++){const _0x567db0=_0xddd03e[_0x180443];if(_0x567db0 instanceof s[_0x2a2621(0x1fa)]){const _0x17a5dc=_0x567db0[_0x2a2621(0x236)]()[0x0];typeof _0x17a5dc=='string'&&(this[_0x2a2621(0x251)][_0x2a2621(0x21c)](_0x17a5dc)&&console[_0x2a2621(0x269)](_0x2a2621(0x1fc)+_0x17a5dc+'\x22\x20is\x20duplicated.'),this[_0x2a2621(0x251)]['add'](_0x17a5dc),_0x5d68cd[_0x2a2621(0x1ab)](''+this['_xlpmPrefix']+_0x17a5dc),this[_0x2a2621(0x245)]=!0x0);}_0x5d68cd[_0x2a2621(0x1ab)](',');}this[_0x2a2621(0x1aa)](_0xddd03e[_0x2c9aa2-0x1],_0x5d68cd,_0x2e0b2f),_0x1ddaf4===0x1&&(_0x5d68cd[_0x2a2621(0x1ab)](')'),_0x5d68cd[_0x2a2621(0x1ab)]('('),this['_generateNewFunctionString'](_0x38d1a1,_0x5d68cd,_0x2e0b2f)),_0x5d68cd['push'](')');return;}else{if(_0x26efe6===0x1){for(let _0x38d14c=0x0;_0x38d14c<_0x2c9aa2-0x1;_0x38d14c++){const _0x4fb152=_0xddd03e[_0x38d14c];if(_0x4fb152 instanceof s[_0x2a2621(0x1fa)]&&_0x38d14c%0x2===0x0){const _0x25ab38=_0x4fb152['getChildren']()[0x0];if(typeof _0x25ab38==_0x2a2621(0x24d)){this[_0x2a2621(0x251)][_0x2a2621(0x21c)](_0x25ab38)&&console['error']('Let\x20variable\x20name\x20\x22'+_0x25ab38+_0x2a2621(0x1dc)),this['_lambdaFunctionParameterSet'][_0x2a2621(0x1c8)](_0x25ab38),_0x5d68cd['push'](''+this['_xlpmPrefix']+_0x25ab38),this[_0x2a2621(0x245)]=!0x0,_0x5d68cd[_0x2a2621(0x1ab)](',');continue;}}if(this[_0x2a2621(0x1aa)](_0x4fb152,_0x5d68cd,_0x2e0b2f),_0x4fb152 instanceof s['LexerNode']){const _0x403eed=_0xddd03e[_0x38d14c+0x1];_0x403eed&&_0x403eed instanceof s[_0x2a2621(0x1fa)]&&_0x5d68cd[_0x2a2621(0x1ab)](',');}}this['_handleNewFunctionChild'](_0xddd03e[_0x2c9aa2-0x1],_0x5d68cd,_0x2e0b2f),_0x5d68cd[_0x2a2621(0x1ab)](')');return;}else{if(_0x26efe6===0x8){const _0x589575=_0xddd03e[0x0],_0x4a695c=_0xddd03e[0x1];this['_handleNewFunctionChild'](_0x589575,_0x5d68cd,_0x2e0b2f),_0x5d68cd[_0x2a2621(0x1ab)](_0x555561),this[_0x2a2621(0x1aa)](_0x4a695c,_0x5d68cd,_0x2e0b2f);return;}}}for(let _0x451994=0x0;_0x451994<_0x2c9aa2;_0x451994++){const _0x58ecb5=_0xddd03e[_0x451994];if(this[_0x2a2621(0x1aa)](_0x58ecb5,_0x5d68cd,_0x2e0b2f),_0x58ecb5 instanceof s[_0x2a2621(0x1fa)]){const _0x3f2929=_0xddd03e[_0x451994+0x1];_0x3f2929&&_0x3f2929 instanceof s['LexerNode']&&_0x5d68cd['push'](',');}}_0x26efe6===0x7&&_0x5d68cd['push'](_0x555561),(_0x4c21d4||_0x26efe6===0x9)&&_0x5d68cd[_0x2a2621(0x1ab)](')');}['_handleNewFunctionChild'](_0xccdf19,_0x4cd075,_0x3b1fee){const _0x352987=_0x21ad8b;_0xccdf19 instanceof s[_0x352987(0x1fa)]?this['_generateNewFunctionString'](_0xccdf19,_0x4cd075,_0x3b1fee):this[_0x352987(0x251)][_0x352987(0x21c)](_0xccdf19)?(_0x4cd075[_0x352987(0x1ab)](''+this[_0x352987(0x25f)]+_0xccdf19),this[_0x352987(0x245)]=!0x0):_0x4cd075[_0x352987(0x1ab)](_0xccdf19);}[_0x21ad8b(0x198)](_0xa2681e){const _0x3b3706=_0x21ad8b;let _0x3f6b06=_0xa2681e['trim']();if(!_0x3f6b06)return _0x3f6b06;const _0x29931c=_0x3f6b06[0x0];if((_0x29931c===s[_0x3b3706(0x187)]['AT']||_0x29931c===s[_0x3b3706(0x187)][_0x3b3706(0x27e)]||_0x29931c===s['prefixToken'][_0x3b3706(0x229)])&&(_0x3f6b06=_0x3f6b06[_0x3b3706(0x183)](0x1)),!_0x3f6b06)return _0x3f6b06;const _0x1da49b=_0x3f6b06[_0x3f6b06[_0x3b3706(0x22f)]-0x1];return s[_0x3b3706(0x257)][_0x3b3706(0x21c)](_0x1da49b)&&(_0x3f6b06=_0x3f6b06['slice'](0x0,-0x1)),_0x3f6b06;}[_0x21ad8b(0x235)](_0x1846ee){const _0x4cda7e=_0x21ad8b,_0x8e175d=_0x1846ee[_0x4cda7e(0x236)]()[0x0];if(!_0x8e175d||!(_0x8e175d instanceof s['LexerNode'])||_0x1846ee[_0x4cda7e(0x236)]()['length']>0x1)return!0x1;const _0x2e5438=_0x8e175d[_0x4cda7e(0x236)](),_0x39683b=_0x2e5438[_0x4cda7e(0x22f)];if(_0x39683b===0x1)return!0x1;for(let _0x66de69=0x0;_0x66de69<_0x39683b;_0x66de69++){const _0x4a9d57=_0x2e5438[_0x66de69];if(!(_0x4a9d57 instanceof s[_0x4cda7e(0x1fa)])&&s[_0x4cda7e(0x1e7)][_0x4cda7e(0x21c)](_0x4a9d57))return!0x0;}return!0x1;}[_0x21ad8b(0x1a0)](_0x44e7d9,_0x5878a7,_0x5d217e,_0x5de1f2,_0x4aa5b1){const _0x2a90e0=_0x21ad8b,_0xe2e4fa=this['treeBuilder'](_0x44e7d9,!0x1);if(!_0xe2e4fa||_0xe2e4fa===s[_0x2a90e0(0x1e8)][_0x2a90e0(0x21b)]||Array['isArray'](_0xe2e4fa))return null;this[_0x2a90e0(0x1e9)](),this[_0x2a90e0(0x196)]=_0x5878a7;const _0x53a6d7=this[_0x2a90e0(0x237)](_0xe2e4fa,_0x5d217e,_0x5de1f2,_0x4aa5b1);return this[_0x2a90e0(0x196)]='',this[_0x2a90e0(0x24f)](),_0x53a6d7;}['_generateExprTree'](_0x2f8ce9,_0x319ebb,_0x4945c5,_0x3ae71e){const _0x111fd7=_0x21ad8b,_0x129696={'value':'','children':[],'startIndex':0x0};let _0x5d9c9d=_0x2f8ce9;if(_0x5d9c9d instanceof s[_0x111fd7(0x1fa)]&&(_0x5d9c9d[_0x111fd7(0x210)]()===s[_0x111fd7(0x1cd)]||_0x5d9c9d['getToken']()===s[_0x111fd7(0x17c)])&&_0x5d9c9d[_0x111fd7(0x236)]()[_0x111fd7(0x22f)]===0x1&&(_0x5d9c9d=_0x5d9c9d[_0x111fd7(0x236)]()[0x0]),!(_0x5d9c9d instanceof s[_0x111fd7(0x1fa)]))return this[_0x111fd7(0x1b2)](_0x5d9c9d,_0x4945c5,_0x3ae71e);const _0x3d3ce9=_0x5d9c9d[_0x111fd7(0x236)](),_0x2b7b65=_0x3d3ce9[_0x111fd7(0x22f)],_0x370941=[];this[_0x111fd7(0x18a)](_0x5d9c9d,_0x370941,_0x319ebb),_0x129696[_0x111fd7(0x1f9)]=_0x370941['join'](''),_0x129696[_0x111fd7(0x24a)]=_0x5d9c9d[_0x111fd7(0x182)]();const _0x17cc01=this[_0x111fd7(0x1d5)](_0x5d9c9d);if(_0x17cc01===0x2){const _0x4db086=_0x3d3ce9[0x0];if(_0x4db086 instanceof s[_0x111fd7(0x1fa)]){if(_0x4db086[_0x111fd7(0x210)]()['trim']()!==s['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x129696;this[_0x111fd7(0x27a)](_0x4db086,_0x129696,_0x319ebb,_0x4945c5,_0x3ae71e);}return _0x129696;}else{if(_0x17cc01===0x1){for(let _0x206562=0x0;_0x206562<_0x2b7b65-0x1;_0x206562++){const _0x23bd2f=_0x3d3ce9[_0x206562];if(_0x23bd2f instanceof s[_0x111fd7(0x1fa)]&&_0x206562%0x2===0x1){const _0x19a442=_0x23bd2f[_0x111fd7(0x236)]();if(_0x19a442[_0x111fd7(0x22f)]===0x1&&!(_0x19a442[0x0]instanceof s[_0x111fd7(0x1fa)]))continue;const _0x293b5d=this['_generateExprTree'](_0x23bd2f,_0x319ebb,_0x4945c5,_0x3ae71e);_0x293b5d&&_0x129696[_0x111fd7(0x1b3)][_0x111fd7(0x1ab)](_0x293b5d);}}return _0x129696;}else{if(_0x17cc01===0x8){const _0x3b99ab=_0x3d3ce9[0x0];if(_0x3b99ab instanceof s['LexerNode']){const _0x3ed733=_0x3b99ab['getChildren']()[0x0];_0x3ed733 instanceof s[_0x111fd7(0x1fa)]&&(_0x129696[_0x111fd7(0x24a)]=_0x3ed733[_0x111fd7(0x182)]());}}else{if(_0x17cc01===0x7){const _0x186f17=_0x3d3ce9[0x0];if(_0x186f17 instanceof s[_0x111fd7(0x1fa)]){const _0x4cfced=_0x186f17[_0x111fd7(0x236)]()[0x0];_0x4cfced instanceof s[_0x111fd7(0x1fa)]&&(_0x129696['startIndex']=_0x4cfced[_0x111fd7(0x182)]());}}}}}return this['_handleChildrenForExprTree'](_0x3d3ce9,_0x17cc01,_0x129696,_0x319ebb,_0x4945c5,_0x3ae71e),_0x129696;}['_handleChildrenForExprTree'](_0x34eca9,_0x4b98e6,_0x51086a,_0x28bf7,_0x321724,_0x65bd9f){const _0x1c97a0=_0x21ad8b;for(let _0xaa4d7b=0x0;_0xaa4d7b<_0x34eca9['length'];_0xaa4d7b++){let _0x202a28=_0x34eca9[_0xaa4d7b];if(!(_0x202a28 instanceof s[_0x1c97a0(0x1fa)])){const _0x5221c3=this[_0x1c97a0(0x1b2)](_0x202a28,_0x321724,_0x65bd9f);_0x5221c3&&_0x51086a[_0x1c97a0(0x1b3)][_0x1c97a0(0x1ab)](_0x5221c3);continue;}const _0x37ec57=_0x202a28[_0x1c97a0(0x236)]();if(_0x37ec57['length']===0x1&&!(_0x37ec57[0x0]instanceof s[_0x1c97a0(0x1fa)])){const _0x2d0fb4=_0x37ec57[0x0];if(!_0x321724(this[_0x1c97a0(0x196)],_0x2d0fb4)&&!this[_0x1c97a0(0x206)](_0x2d0fb4,_0x65bd9f)&&!s[_0x1c97a0(0x1a6)](_0x2d0fb4))continue;}if(_0x4b98e6===0x8){const _0x3daba7=_0x37ec57[0x0];if(_0x3daba7 instanceof s[_0x1c97a0(0x1fa)]){const _0x927eee=_0x3daba7['getToken']()['trim']();if(s['isReferenceString'](_0x927eee))continue;_0x202a28=_0x3daba7;}}const _0x3431e7=this[_0x1c97a0(0x237)](_0x202a28,_0x28bf7,_0x321724,_0x65bd9f);_0x3431e7&&_0x51086a[_0x1c97a0(0x1b3)][_0x1c97a0(0x1ab)](_0x3431e7);}}[_0x21ad8b(0x1b2)](_0x244905,_0x52ca68,_0x21a44b){const _0x6ba6f5=_0x21ad8b,_0x26437e=_0x244905[_0x6ba6f5(0x20e)]();return _0x26437e[_0x6ba6f5(0x19b)]('{')&&_0x26437e['endsWith']('}')||_0x52ca68(this[_0x6ba6f5(0x196)],_0x26437e)||this[_0x6ba6f5(0x206)](_0x26437e,_0x21a44b)||s['isReferenceString'](_0x26437e)?{'value':_0x26437e,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x192a8a,_0x48ccfe){const _0x123558=_0x21ad8b,{tableName:_0xac66a1}=s['splitTableStructuredRef'](_0x192a8a);return _0x48ccfe(this[_0x123558(0x196)],_0xac66a1)?_0xac66a1:null;}[_0x21ad8b(0x27a)](_0x3d0317,_0x4534a8,_0x3a6bdb,_0x49c026,_0x36a6c5){const _0x112277=_0x21ad8b,_0x39e732=_0x3d0317['getChildren']();for(let _0x49de47=0x0;_0x49de47<_0x39e732[_0x112277(0x22f)];_0x49de47++){const _0x23695d=_0x39e732[_0x49de47];if(!(_0x23695d instanceof s[_0x112277(0x1fa)]))continue;const _0x420fdd=_0x23695d[_0x112277(0x236)]();if(_0x420fdd[_0x112277(0x22f)]===0x1&&!(_0x420fdd[0x0]instanceof s[_0x112277(0x1fa)]))continue;const _0x40c871=this['_generateExprTree'](_0x23695d,_0x3a6bdb,_0x49c026,_0x36a6c5);_0x40c871&&_0x4534a8[_0x112277(0x1b3)]['push'](_0x40c871);}}[_0x21ad8b(0x1d5)](_0x3a263c){const _0x5eb140=_0x21ad8b,_0x3bf9f9=_0x3a263c[_0x5eb140(0x210)](),_0x144dd0=_0x3bf9f9['trim']()['toUpperCase']();let _0x156603=0x0;return _0x3bf9f9===s[_0x5eb140(0x1cd)]?_0x156603=0x3:_0x3bf9f9===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x156603=0x4:_0x3bf9f9===s['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x156603=0x5:_0x144dd0===s[_0x5eb140(0x1d1)]?_0x156603=0x2:_0x144dd0===s[_0x5eb140(0x1cc)]?_0x156603=0x1:_0x144dd0===s[_0x5eb140(0x1b6)][_0x5eb140(0x19c)]?_0x156603=0x8:s['SUFFIX_TOKEN_SET'][_0x5eb140(0x21c)](_0x144dd0)?_0x156603=0x7:_0x144dd0===s[_0x5eb140(0x187)][_0x5eb140(0x27e)]?this['_checkAddBracketForMinus'](_0x3a263c)&&(_0x156603=0x9):_0x156603=0xa,_0x156603;}}function _0x4875(_0x3486a6,_0xbc45c4){_0x3486a6=_0x3486a6-0x179;const _0x157990=_0x1579();let _0x487502=_0x157990[_0x3486a6];return _0x487502;}const B={0x0:'S',0x1:'f',0x2:'a',0x3:'r',0x4:'d',0x5:'C',0x6:'9',0x7:'u',0x8:'m',0x9:'L','U':'0','B':'1','F':'2','H':'3','h':'4','y':'5','G':'6','m':'7','X':'8','g':'b','a':'c','O':'e','i':'g','f':'h','M':'i','s':'j','j':'k','z':'l','I':'n','q':'o','d':'p','e':'q','u':'s','o':'t','b':'v','Z':'w','p':'x','C':'y','v':'z','L':'A','k':'B','n':'D','D':'E','t':'F','E':'G','J':'H','N':'I','Q':'J','T':'K','V':'M','w':'N','x':'O','R':'P','c':'Q','P':'R','Y':'T','W':'U','S':'V','A':'W','K':'X','l':'Y','r':'Z'},K=_0x21ad8b(0x1c0);class V extends s[_0x21ad8b(0x232)]{constructor(){const _0x5f6bb2=_0x21ad8b;super(...arguments),C(this,_0x5f6bb2(0x26e),new Map());}[_0x21ad8b(0x26d)](){const _0x44220b=_0x21ad8b;super[_0x44220b(0x26d)](),this[_0x44220b(0x26e)][_0x44220b(0x256)]();}async['generate'](_0x2e5fd6=!0x1){const _0x22dcef=_0x21ad8b;this[_0x22dcef(0x19d)]();const _0x574a8c=this[_0x22dcef(0x1ef)][_0x22dcef(0x1cf)](),_0x35b60c=this[_0x22dcef(0x238)][_0x22dcef(0x20c)](),_0x55e4d7=this[_0x22dcef(0x1ef)]['getClearDependencyTreeCache']();_0x55e4d7!=null&&Object[_0x22dcef(0x1b7)](_0x55e4d7)['forEach'](_0xbbe46b=>{const _0x11335f=_0x22dcef;_0xbbe46b!=null&&Object['keys'](_0x55e4d7[_0xbbe46b])[_0x11335f(0x192)](_0x1e301f=>{const _0x5dab3b=_0x11335f;_0x1e301f!=null&&(this[_0x5dab3b(0x268)][_0x5dab3b(0x1d0)](_0xbbe46b,_0x1e301f),this['_dependencyManagerService'][_0x5dab3b(0x23b)](_0xbbe46b,_0x1e301f),this[_0x5dab3b(0x268)][_0x5dab3b(0x17a)](_0xbbe46b,_0x1e301f));});});const _0x37acfd=this[_0x22dcef(0x1ef)]['getUnitData']();await this[_0x22dcef(0x1bd)](_0x574a8c,_0x35b60c,_0x37acfd),this[_0x22dcef(0x268)][_0x22dcef(0x19a)]();const _0x53e442=this[_0x22dcef(0x193)](),_0x2da080=this[_0x22dcef(0x1ed)](_0x53e442);return this['_checkIsCycleDependency'](_0x2da080)&&this[_0x22dcef(0x214)][_0x22dcef(0x252)](),_0x2e5fd6&&this['_runtimeService'][_0x22dcef(0x244)](this['_getAllDependencyJson'](Array[_0x22dcef(0x279)](this[_0x22dcef(0x26e)][_0x22dcef(0x272)]()))),this[_0x22dcef(0x26e)]['clear'](),this[_0x22dcef(0x1ba)][_0x22dcef(0x256)](),this[_0x22dcef(0x268)][_0x22dcef(0x220)](),this['_runtimeService'][_0x22dcef(0x271)](),Promise[_0x22dcef(0x262)](_0x2da080);}[_0x21ad8b(0x1c4)](_0x22e4d2,_0x3e5eba){const _0x5f2685=_0x21ad8b,_0xa2986f=[_0x22e4d2];for(;_0xa2986f[_0x5f2685(0x22f)]>0x0;){const _0xcfd3da=_0xa2986f[_0xa2986f[_0x5f2685(0x22f)]-0x1];if((_0x3e5eba['get'](_0xcfd3da)||0x0)===0x0){_0x3e5eba[_0x5f2685(0x1c5)](_0xcfd3da,0x1);const _0x18cb9e=this[_0x5f2685(0x26e)][_0x5f2685(0x1dd)](_0xcfd3da);if(_0x18cb9e==null){_0x3e5eba[_0x5f2685(0x1c5)](_0xcfd3da,0x2),_0xa2986f[_0x5f2685(0x1ee)]();continue;}const _0xee54c7=this[_0x5f2685(0x268)][_0x5f2685(0x274)](_0x18cb9e['toRTreeItem']());for(const _0x519fe7 of _0xee54c7){const _0x220148=_0x3e5eba['get'](_0x519fe7)||0x0;if(_0x220148===0x1)return!0x0;_0x220148===0x0&&_0xa2986f['push'](_0x519fe7);}}else _0x3e5eba['set'](_0xcfd3da,0x2),_0xa2986f['pop']();}return!0x1;}[_0x21ad8b(0x21f)](_0x3b3d70){const _0xfc9e5a=_0x21ad8b,_0x532042=new Map();for(const _0x3dab2d of _0x3b3d70)if(!_0x532042[_0xfc9e5a(0x21c)](_0x3dab2d[_0xfc9e5a(0x277)])&&this[_0xfc9e5a(0x1c4)](_0x3dab2d['treeId'],_0x532042))return!0x0;return _0x532042[_0xfc9e5a(0x256)](),!0x1;}[_0x21ad8b(0x202)](_0x309f63,_0x49212d,_0x3db9e5){const _0x428187=_0x21ad8b,{unitId:_0x32ab09,subUnitId:_0x4366c0,dependencyRanges:_0x1dce98,getDirtyData:_0xe05521}=_0x3db9e5,_0xc0c546=_0x49212d||s[_0x428187(0x22a)](this[_0x428187(0x268)]),_0x47b47e=new s[(_0x428187(0x265))](_0xc0c546);_0x47b47e[_0x428187(0x250)]=_0x32ab09,_0x47b47e[_0x428187(0x267)]=_0x4366c0,_0x47b47e['rangeList']=_0x1dce98,_0x47b47e[_0x428187(0x22b)]=_0xe05521;const _0x51575c=_0xe05521(this[_0x428187(0x1ef)]['getDirtyData'](),this[_0x428187(0x214)][_0x428187(0x205)]()),_0x4628e6=this[_0x428187(0x1f1)](_0x51575c[_0x428187(0x17d)]);return _0x47b47e['featureDirtyRanges']=_0x4628e6,_0x47b47e[_0x428187(0x22c)]=_0x309f63,_0x47b47e[_0x428187(0x280)]=s['FormulaDependencyTreeType'][_0x428187(0x225)],this[_0x428187(0x268)][_0x428187(0x17b)](_0x32ab09,_0x4366c0,_0x309f63,_0x47b47e),this[_0x428187(0x26e)]['set'](_0x47b47e[_0x428187(0x277)],_0x47b47e),this[_0x428187(0x268)][_0x428187(0x1a1)](_0x3db9e5[_0x428187(0x250)],_0x3db9e5[_0x428187(0x267)],_0x309f63)&&(_0x47b47e[_0x428187(0x228)]=!0x0),_0x47b47e;}[_0x21ad8b(0x18c)](_0x4b342f,_0x259f97,_0x450646){const _0x1220ed=_0x21ad8b;var _0xe37ca9;for(const _0xd38e6b of _0x259f97){const _0x4a2762=_0x4b342f[_0xd38e6b];if(_0x4a2762==null)continue;const _0x3baef2=Object[_0x1220ed(0x1b7)](_0x4a2762);for(const _0xe38f46 of _0x3baef2){const _0x3ea749=_0x4a2762[_0xe38f46];if(_0x3ea749==null)continue;const _0x4d1b84=Object[_0x1220ed(0x1b7)](_0x3ea749);for(const _0x4295e9 of _0x4d1b84){const _0x5dd33e=this['_dependencyManagerService'][_0x1220ed(0x18e)](_0x4295e9),_0x323a56=_0x3ea749[_0x4295e9],{f:_0x13fc16,ranges:_0x32e9e8}=_0x323a56;let _0xba2210=!0x1;_0x5dd33e&&(_0xba2210=!0x0);const {firstRow:_0x3e0a60,firstColumn:_0x3e8238}=this[_0x1220ed(0x1ca)](_0x32e9e8),_0x4dc451=this['_dependencyManagerService'][_0x1220ed(0x27b)](_0xd38e6b,_0xe38f46,_0x4295e9),_0x4d88d=(_0xe37ca9=_0x4dc451==null?void 0x0:_0x4dc451[_0x1220ed(0x242)](0x0,0x0))!=null?_0xe37ca9:s['generateRandomDependencyTreeId'](this[_0x1220ed(0x268)]),_0x3dc2ac=new s['FormulaDependencyTree'](_0x4d88d);for(let _0x1aa479=0x0;_0x1aa479<_0x32e9e8[_0x1220ed(0x22f)];_0x1aa479++){const _0x2607ab=_0x32e9e8[_0x1aa479],{startRow:_0x515089,startColumn:_0x384d43,endRow:_0xb0ec97,endColumn:_0x3ed50a}=_0x2607ab;for(let _0x5a6466=_0x515089;_0x5a6466<=_0xb0ec97;_0x5a6466++)for(let _0x3fbd05=_0x384d43;_0x3fbd05<=_0x3ed50a;_0x3fbd05++){const _0x5ba879=_0x3fbd05-_0x3e8238,_0x405a38=_0x5a6466-_0x3e0a60;if(_0x5ba879===0x0&&_0x405a38===0x0){_0x3dc2ac['formula']=_0x13fc16,_0x3dc2ac[_0x1220ed(0x250)]=_0xd38e6b,_0x3dc2ac[_0x1220ed(0x267)]=_0xe38f46,_0x3dc2ac['formulaId']=_0x4295e9,_0x3dc2ac[_0x1220ed(0x280)]=s[_0x1220ed(0x18b)][_0x1220ed(0x20a)],_0x3dc2ac['isCache']=_0xba2210,_0x450646[_0x1220ed(0x1ab)](_0x3dc2ac),this[_0x1220ed(0x26e)]['set'](_0x3dc2ac[_0x1220ed(0x277)],_0x3dc2ac),this['_dependencyManagerService'][_0x1220ed(0x184)](_0xd38e6b,_0xe38f46,_0x4295e9,_0x3dc2ac),this[_0x1220ed(0x268)]['addFormulaDependencyByDefinedName'](_0x3dc2ac);continue;}const _0x45feb5=new s[(_0x1220ed(0x19f))]();_0x45feb5[_0x1220ed(0x277)]=(_0x4dc451==null?void 0x0:_0x4dc451[_0x1220ed(0x242)](_0x5ba879,_0x405a38))||s['generateRandomDependencyTreeId'](this[_0x1220ed(0x268)]),_0x45feb5[_0x1220ed(0x190)]=_0x3dc2ac,_0x45feb5[_0x1220ed(0x27d)]=_0x5ba879,_0x45feb5['refOffsetY']=_0x405a38,_0x45feb5[_0x1220ed(0x228)]=_0xba2210,_0x45feb5['type']=s[_0x1220ed(0x18b)][_0x1220ed(0x20a)],this[_0x1220ed(0x268)][_0x1220ed(0x184)](_0xd38e6b,_0xe38f46,_0x4295e9,_0x45feb5),this[_0x1220ed(0x268)][_0x1220ed(0x241)](_0x45feb5),_0x450646[_0x1220ed(0x1ab)](_0x45feb5),this[_0x1220ed(0x26e)][_0x1220ed(0x1c5)](_0x45feb5[_0x1220ed(0x277)],_0x45feb5);}}this[_0x1220ed(0x268)]['addOtherFormulaDependencyMainData'](_0x4295e9);}}}}[_0x21ad8b(0x1c6)](_0x2e27c1,_0x175ffa,_0xd40f17,_0x380d69){const _0x51aa64=_0x21ad8b;for(const _0x5aac3f of _0x2e27c1){const _0x5f31c6=_0x175ffa[_0x5aac3f];if(_0x5f31c6==null)continue;const _0xc7431d=Object['keys'](_0x5f31c6);for(const _0x1512b3 of _0xc7431d){const _0x4cd641=new I['ObjectMatrix'](_0x5f31c6[_0x1512b3]||{}),_0x46fc5c=new Map();_0x4cd641[_0x51aa64(0x209)]((_0x11fb99,_0x17bf80,_0x6992f2)=>{const _0x1d9ad1=_0x51aa64;if(_0x6992f2==null)return!0x0;const {x:_0x1bc3a0=0x0,y:_0x44ffbd=0x0,si:_0x5e68fa}=_0x6992f2;if(!(_0x1bc3a0===0x0&&_0x44ffbd===0x0&&_0x5e68fa!=null))return!0x0;const _0x10e2b0=this[_0x1d9ad1(0x26b)](_0x5aac3f,_0x1512b3,_0x11fb99,_0x17bf80,_0xd40f17,_0x6992f2),_0x1ca08c=this['_dependencyManagerService'][_0x1d9ad1(0x179)](_0x5aac3f,_0x1512b3,_0x11fb99,_0x17bf80);_0x1ca08c!=null?_0x10e2b0[_0x1d9ad1(0x277)]=_0x1ca08c:(this[_0x1d9ad1(0x268)][_0x1d9ad1(0x231)](_0x5aac3f,_0x1512b3,_0x11fb99,_0x17bf80,_0x10e2b0),this[_0x1d9ad1(0x268)]['addFormulaDependencyByDefinedName'](_0x10e2b0)),_0x46fc5c[_0x1d9ad1(0x1c5)](_0x5e68fa,_0x10e2b0),_0x380d69['push'](_0x10e2b0),this[_0x1d9ad1(0x26e)][_0x1d9ad1(0x1c5)](_0x10e2b0[_0x1d9ad1(0x277)],_0x10e2b0);}),_0x4cd641[_0x51aa64(0x209)]((_0x52628d,_0x5bffc4,_0xbc9d59)=>{const _0x16f73b=_0x51aa64;if(_0xbc9d59==null)return!0x0;const {x:_0xf1e14f=0x0,y:_0x419102=0x0,si:_0x355692}=_0xbc9d59;if(_0xf1e14f===0x0&&_0x419102===0x0&&_0x355692!=null)return!0x0;let _0x1c12e3;if(_0x355692&&_0x46fc5c['has'](_0x355692)){const _0x27ab28=_0x46fc5c[_0x16f73b(0x1dd)](_0x355692);_0x1c12e3=this['_createVirtualFDtree'](_0x27ab28,_0xbc9d59);}else _0x1c12e3=this['_createFDtree'](_0x5aac3f,_0x1512b3,_0x52628d,_0x5bffc4,_0xd40f17,_0xbc9d59);const _0x2248f0=this[_0x16f73b(0x268)]['getFormulaDependency'](_0x5aac3f,_0x1512b3,_0x52628d,_0x5bffc4);_0x2248f0!=null?_0x1c12e3[_0x16f73b(0x277)]=_0x2248f0:(this['_dependencyManagerService']['addFormulaDependency'](_0x5aac3f,_0x1512b3,_0x52628d,_0x5bffc4,_0x1c12e3),this[_0x16f73b(0x268)][_0x16f73b(0x241)](_0x1c12e3)),_0x380d69['push'](_0x1c12e3),this[_0x16f73b(0x26e)]['set'](_0x1c12e3[_0x16f73b(0x277)],_0x1c12e3);}),_0x46fc5c['clear']();}}}[_0x21ad8b(0x26b)](_0x326d03,_0x590072,_0x1c0808,_0x31d3b2,_0x5fd3d9,_0xb96c8d){const _0x4855e1=_0x21ad8b,{f:_0x33edf7,x:_0x33b091=0x0,y:_0x67ce61=0x0}=_0xb96c8d,_0x2cfab2=new s['FormulaDependencyTree'](s[_0x4855e1(0x22a)](this[_0x4855e1(0x268)])),_0x2a0097=_0x5fd3d9[_0x326d03][_0x590072];return _0x2cfab2[_0x4855e1(0x20f)]=_0x33edf7,_0x2cfab2[_0x4855e1(0x250)]=_0x326d03,_0x2cfab2['subUnitId']=_0x590072,_0x2cfab2[_0x4855e1(0x243)]=_0x1c0808,_0x2cfab2[_0x4855e1(0x186)]=_0x31d3b2,_0x2cfab2[_0x4855e1(0x247)]=_0x2a0097[_0x4855e1(0x247)],_0x2cfab2[_0x4855e1(0x1f4)]=_0x2a0097['columnCount'],_0x2cfab2;}[_0x21ad8b(0x193)](){const _0x2c5960=_0x21ad8b,_0x3286cd=[],_0xbdaf60=new Set(),_0x35602b=this[_0x2c5960(0x1ef)][_0x2c5960(0x213)](),_0xcf7bf5=this[_0x2c5960(0x1ef)][_0x2c5960(0x1f3)](),_0x553ef6=this[_0x2c5960(0x268)][_0x2c5960(0x274)](_0xcf7bf5),_0x376b95=this[_0x2c5960(0x1ba)]['bulkSearch'](_0xcf7bf5);for(const _0x469a71 of _0x376b95)_0x553ef6[_0x2c5960(0x1c8)](_0x469a71);for(const [_0x196176,_0x511ef8]of this['_dependencyTreeCache'])(_0x35602b||_0x511ef8[_0x2c5960(0x249)]||_0x511ef8[_0x2c5960(0x200)](this[_0x2c5960(0x1ef)][_0x2c5960(0x1f0)]())||_0x553ef6[_0x2c5960(0x21c)](_0x196176)&&!_0x511ef8['isExcludeRange'](this[_0x2c5960(0x1ef)][_0x2c5960(0x1d3)]()))&&!_0xbdaf60['has'](_0x196176)&&(_0x3286cd['push'](_0x511ef8),_0xbdaf60[_0x2c5960(0x1c8)](_0x196176));for(const [_0xc94fcb,_0x521f3b]of this['_dependencyTreeCache'])_0x521f3b[_0x2c5960(0x195)]||(_0x521f3b[_0x2c5960(0x1de)][_0x2c5960(0x22f)]=0x0);return _0x3286cd;}[_0x21ad8b(0x194)](_0x104b32){const _0x658ca6=_0x21ad8b;return this[_0x658ca6(0x26e)][_0x658ca6(0x1dd)](_0x104b32);}[_0x21ad8b(0x218)](_0x204a11){const _0x244bfe=_0x21ad8b;return s[_0x244bfe(0x1c1)](_0x204a11[_0x244bfe(0x250)],_0x204a11['formula'],this[_0x244bfe(0x207)],this[_0x244bfe(0x27c)],this['_currentConfigService']);}*[_0x21ad8b(0x21e)](_0x95e4d5,_0x2de431){const _0x40531c=_0x21ad8b,_0x41ebda=_0x95e4d5,_0x2b639d=new Set();for(;_0x41ebda['length']>0x0;){const _0xc914a9=_0x41ebda['pop']();if(_0x2b639d[_0x40531c(0x256)](),_0xc914a9===void 0x0||_0xc914a9[_0x40531c(0x24b)]())continue;if(_0xc914a9['isAdded']()){yield _0xc914a9,_0xc914a9['setSkip'](),_0x2de431[_0x40531c(0x1c8)](_0xc914a9['treeId']);continue;}const _0x49d7eb=this['_dependencyManagerService'][_0x40531c(0x274)](_0xc914a9[_0x40531c(0x23f)](),_0x2de431),_0x4dfb17=this[_0x40531c(0x1ba)][_0x40531c(0x208)](_0xc914a9[_0x40531c(0x23f)](),_0x2de431);for(const _0x16edf4 of _0x4dfb17)_0x49d7eb['add'](_0x16edf4);for(const _0x1c4278 of _0x49d7eb){const _0x224835=this[_0x40531c(0x26e)][_0x40531c(0x1dd)](_0x1c4278);if(!_0x224835)throw new Error(_0x40531c(0x1a9));_0x224835[_0x40531c(0x199)]()||_0xc914a9[_0x40531c(0x24b)]()||_0x2b639d[_0x40531c(0x1c8)](_0x224835);}if(_0x49d7eb[_0x40531c(0x256)](),_0x2b639d[_0x40531c(0x1ac)]===0x0)yield _0xc914a9,_0xc914a9[_0x40531c(0x1e4)](),_0x2de431[_0x40531c(0x1c8)](_0xc914a9[_0x40531c(0x277)]);else{_0xc914a9[_0x40531c(0x203)](),_0x41ebda[_0x40531c(0x1ab)](_0xc914a9);for(const _0x52d3a8 of _0x2b639d)_0x41ebda[_0x40531c(0x1ab)](_0x52d3a8);}}_0x41ebda[_0x40531c(0x22f)]=0x0,_0x2b639d[_0x40531c(0x256)]();}[_0x21ad8b(0x1ed)](_0x37d2d3){const _0x17c73b=_0x21ad8b,_0x500a22=[],_0x11c954=new Set();for(const _0x59ed13 of this[_0x17c73b(0x21e)](_0x37d2d3,_0x11c954))_0x500a22[_0x17c73b(0x1ab)](_0x59ed13);return _0x500a22;}async['_getAllTreeList'](){const _0x2e1679=_0x21ad8b;return await this[_0x2e1679(0x27f)](),Array[_0x2e1679(0x279)](this['_dependencyTreeCache'][_0x2e1679(0x272)]());}[_0x21ad8b(0x1f8)](_0x93fef9){const _0x5004cb=_0x21ad8b;return this[_0x5004cb(0x268)]['searchDependency'](_0x93fef9['toRTreeItem']());}['_getDependencyTreeChildrenIds'](_0xbfb926){const _0x4e56ff=_0x21ad8b,_0x578f25=new Set(),_0x151fed=_0xbfb926[_0x4e56ff(0x1de)];for(const [_0x51c592,_0x49083b]of this[_0x4e56ff(0x26e)])for(const _0x99355f of _0x151fed){const _0x174314=_0x99355f['unitId'],_0x121e36=_0x99355f['sheetId'];if(_0x49083b[_0x4e56ff(0x250)]!==_0x174314||_0x49083b[_0x4e56ff(0x267)]!==_0x121e36)continue;const _0x145484=_0x99355f[_0x4e56ff(0x25e)];if(_0x49083b[_0x4e56ff(0x248)](_0x145484)){_0x578f25[_0x4e56ff(0x1c8)](_0x51c592);break;}}return _0x578f25;}[_0x21ad8b(0x275)](){const _0x4b895a=_0x21ad8b;this[_0x4b895a(0x268)]['openKdTree']();}[_0x21ad8b(0x217)](){const _0x5b28ce=_0x21ad8b;this[_0x5b28ce(0x1e6)][_0x5b28ce(0x256)](),this[_0x5b28ce(0x26e)][_0x5b28ce(0x256)](),this[_0x5b28ce(0x268)]['closeKdTree']();}}class Y extends s[_0x21ad8b(0x1a3)]{async[_0x21ad8b(0x1a4)](_0x483c25=!0x1){const _0x490a67=_0x21ad8b;_0x483c25?this['_runtimeService']['setFormulaExecuteStage'](s[_0x490a67(0x1d7)][_0x490a67(0x1a2)]):this[_0x490a67(0x214)][_0x490a67(0x24e)](s[_0x490a67(0x1d7)][_0x490a67(0x276)]),this[_0x490a67(0x221)][_0x490a67(0x230)](this['_runtimeService'][_0x490a67(0x23a)]());const _0x274594=await this[_0x490a67(0x1e2)][_0x490a67(0x223)](this[_0x490a67(0x1d6)]),_0x5a41d2=this[_0x490a67(0x21a)];_0x483c25?(this[_0x490a67(0x214)][_0x490a67(0x24e)](s[_0x490a67(0x1d7)][_0x490a67(0x1bf)]),this[_0x490a67(0x214)][_0x490a67(0x233)](_0x274594[_0x490a67(0x22f)])):(this[_0x490a67(0x214)][_0x490a67(0x24e)](s[_0x490a67(0x1d7)][_0x490a67(0x1be)]),this[_0x490a67(0x214)]['setTotalFormulasToCalculate'](_0x274594[_0x490a67(0x22f)])),this[_0x490a67(0x221)][_0x490a67(0x230)](this[_0x490a67(0x214)]['getRuntimeState']());let _0xd9f3b0=[];const _0x23abba=this[_0x490a67(0x1af)][_0x490a67(0x1b1)](s[_0x490a67(0x23c)]),_0x99d80=(_0x23abba==null?void 0x0:_0x23abba[_0x490a67(0x1b9)])||s['DEFAULT_INTERVAL_COUNT'];let _0x2f1cd8=0x0;const _0x336275=_0x274594['length'];for(;_0x274594[_0x490a67(0x22f)]>0x0;){const _0x7fe9f3=_0x274594[_0x490a67(0x1ee)](),_0x77b0eb=s['generateAstNode'](_0x7fe9f3[_0x490a67(0x250)],_0x7fe9f3['formula'],this[_0x490a67(0x207)],this[_0x490a67(0x27c)],this[_0x490a67(0x1ef)]),_0x44f928={'node':_0x77b0eb,'refOffsetX':_0x7fe9f3[_0x490a67(0x27d)],'refOffsetY':_0x7fe9f3[_0x490a67(0x1ad)]},_0x540c9c=_0x7fe9f3['getDirtyData'];if(_0x2f1cd8%_0x99d80===0x0&&(await new Promise(_0x1bd823=>{const _0x2630c3=_0x490a67,_0x398154=I[_0x2630c3(0x263)](_0x1bd823);_0xd9f3b0[_0x2630c3(0x1ab)](_0x398154);}),_0x483c25?(this[_0x490a67(0x214)][_0x490a67(0x24e)](s[_0x490a67(0x1d7)][_0x490a67(0x1d9)]),this[_0x490a67(0x214)][_0x490a67(0x1fd)](_0x2f1cd8+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](s[_0x490a67(0x1d7)][_0x490a67(0x222)]),this[_0x490a67(0x214)][_0x490a67(0x1e5)](_0x2f1cd8+0x1)),this['_executionInProgressListener$'][_0x490a67(0x230)](this[_0x490a67(0x214)][_0x490a67(0x23a)]()),this[_0x490a67(0x214)][_0x490a67(0x1bb)]()||_0x44f928==null&&_0x540c9c==null)){this[_0x490a67(0x214)]['setFormulaExecuteStage'](s[_0x490a67(0x1d7)][_0x490a67(0x1f7)]),this[_0x490a67(0x214)][_0x490a67(0x1c9)](),this['_executionCompleteListener$']['next'](this['_runtimeService'][_0x490a67(0x205)]());return;}this[_0x490a67(0x214)][_0x490a67(0x1a7)](_0x7fe9f3[_0x490a67(0x243)],_0x7fe9f3[_0x490a67(0x186)],_0x7fe9f3['rowCount'],_0x7fe9f3[_0x490a67(0x1f4)],_0x7fe9f3[_0x490a67(0x267)],_0x7fe9f3[_0x490a67(0x250)]);let _0x5977be;if(_0x540c9c!=null&&_0x7fe9f3[_0x490a67(0x22c)]!=null){const {runtimeCellData:_0x113199,dirtyRanges:_0x13eca4}=_0x540c9c(this['_currentConfigService'][_0x490a67(0x22b)](),this[_0x490a67(0x214)][_0x490a67(0x205)]());this[_0x490a67(0x214)][_0x490a67(0x1db)](_0x7fe9f3[_0x490a67(0x22c)],_0x113199),this[_0x490a67(0x214)]['setRuntimeFeatureRange'](_0x7fe9f3['featureId'],_0x13eca4);}else _0x44f928!=null&&(_0x5a41d2[_0x490a67(0x239)](_0x44f928[_0x490a67(0x1df)])?_0x5977be=await _0x5a41d2[_0x490a67(0x253)](_0x44f928):_0x5977be=_0x5a41d2['execute'](_0x44f928),_0x7fe9f3['formulaId']!=null?this[_0x490a67(0x214)]['setRuntimeOtherData'](_0x7fe9f3[_0x490a67(0x18f)],_0x7fe9f3[_0x490a67(0x27d)],_0x7fe9f3['refOffsetY'],_0x5977be):this[_0x490a67(0x214)][_0x490a67(0x1b8)](_0x5977be));_0x77b0eb[_0x490a67(0x261)](),_0x2f1cd8++;}return _0xd9f3b0[_0x490a67(0x192)](_0x430f87=>_0x430f87()),_0xd9f3b0=[],_0x336275>0x0?this['_runtimeService'][_0x490a67(0x1d4)]():_0x483c25||this['_runtimeService'][_0x490a67(0x189)](),this[_0x490a67(0x214)][_0x490a67(0x205)]();}}class j extends s[_0x21ad8b(0x1b5)]{constructor(){const _0x38c092=_0x21ad8b;super(...arguments),C(this,_0x38c092(0x273),new Map()),C(this,'_dependencyRTreeCache',new I['RTree'](!0x0));}[_0x21ad8b(0x227)](){const _0x5c640a=_0x21ad8b;this[_0x5c640a(0x264)][_0x5c640a(0x256)](),this[_0x5c640a(0x1c3)][_0x5c640a(0x256)](),this[_0x5c640a(0x20d)][_0x5c640a(0x256)](),this['_dependencyRTreeCache'][_0x5c640a(0x256)](),this[_0x5c640a(0x273)][_0x5c640a(0x256)](),this[_0x5c640a(0x212)](),this[_0x5c640a(0x1c7)][_0x5c640a(0x256)]();}[_0x21ad8b(0x184)](_0x2f66c4,_0x2b0cb4,_0x5ea611,_0x48d6e9){const _0x1263c3=_0x21ad8b;this[_0x1263c3(0x264)][_0x1263c3(0x21c)](_0x2f66c4)||this[_0x1263c3(0x264)][_0x1263c3(0x1c5)](_0x2f66c4,new Map());const _0x11eb65=this[_0x1263c3(0x264)][_0x1263c3(0x1dd)](_0x2f66c4);_0x11eb65[_0x1263c3(0x21c)](_0x2b0cb4)||_0x11eb65[_0x1263c3(0x1c5)](_0x2b0cb4,new Map());const _0xeaa52e=_0x11eb65[_0x1263c3(0x1dd)](_0x2b0cb4);_0xeaa52e[_0x1263c3(0x21c)](_0x5ea611)||_0xeaa52e['set'](_0x5ea611,new I[(_0x1263c3(0x259))]()),_0xeaa52e[_0x1263c3(0x1dd)](_0x5ea611)[_0x1263c3(0x204)](_0x48d6e9[_0x1263c3(0x27d)],_0x48d6e9[_0x1263c3(0x1ad)],_0x48d6e9[_0x1263c3(0x277)]);}[_0x21ad8b(0x216)](_0x1ad961,_0x2a7d01,_0x290c09){const _0x33f967=_0x21ad8b,_0x1d5f3a=this[_0x33f967(0x264)]['get'](_0x1ad961);if(_0x1d5f3a&&_0x1d5f3a[_0x33f967(0x21c)](_0x2a7d01)){const _0x4a27c4=_0x1d5f3a[_0x33f967(0x1dd)](_0x2a7d01);_0x290c09['forEach'](_0x1066c5=>{const _0x2b7ba8=_0x33f967,_0x18208a=_0x4a27c4[_0x2b7ba8(0x1dd)](_0x1066c5);_0x18208a!=null&&(_0x18208a[_0x2b7ba8(0x209)]((_0x7f08b8,_0x423559,_0x232a4e)=>{const _0x24b770=_0x2b7ba8;this['_removeDependencyRTreeCache'](_0x232a4e),this[_0x24b770(0x17f)](_0x232a4e);}),_0x4a27c4['delete'](_0x1066c5),this[_0x2b7ba8(0x1c7)]['delete'](_0x1066c5));}),_0x4a27c4[_0x33f967(0x1ac)]===0x0&&_0x1d5f3a[_0x33f967(0x25a)](_0x2a7d01),_0x1d5f3a['size']===0x0&&this[_0x33f967(0x264)][_0x33f967(0x25a)](_0x1ad961);}}[_0x21ad8b(0x1d0)](_0x4b302a,_0x2c970c){const _0x85f1c7=_0x21ad8b,_0x5f08c0=this[_0x85f1c7(0x264)][_0x85f1c7(0x1dd)](_0x4b302a);if(_0x2c970c&&_0x5f08c0&&_0x5f08c0[_0x85f1c7(0x21c)](_0x2c970c)){const _0x526dbe=_0x5f08c0['get'](_0x2c970c);this[_0x85f1c7(0x20b)](_0x4b302a,_0x2c970c);for(const _0x241b56 of _0x526dbe[_0x85f1c7(0x1b7)]()){const _0x4de1ea=_0x526dbe[_0x85f1c7(0x1dd)](_0x241b56);_0x4de1ea!=null&&(_0x4de1ea[_0x85f1c7(0x209)]((_0xe08dad,_0x361047,_0x3e6deb)=>{const _0x40a4f3=_0x85f1c7;this[_0x40a4f3(0x273)][_0x40a4f3(0x1dd)](_0x3e6deb)&&this[_0x40a4f3(0x17f)](_0x3e6deb);}),this['_otherFormulaDataMainData'][_0x85f1c7(0x25a)](_0x241b56));}_0x526dbe[_0x85f1c7(0x256)]();}else{if(_0x5f08c0){for(const _0x516080 of _0x5f08c0[_0x85f1c7(0x1b7)]()){const _0x65946d=_0x5f08c0[_0x85f1c7(0x1dd)](_0x516080);this[_0x85f1c7(0x20b)](_0x4b302a,_0x516080);for(const _0x26cc70 of _0x65946d[_0x85f1c7(0x1b7)]()){const _0x2e5695=_0x65946d['get'](_0x26cc70);_0x2e5695!=null&&(_0x2e5695[_0x85f1c7(0x209)]((_0x4fcf57,_0x19e0cb,_0x38b539)=>{const _0x1c662c=_0x85f1c7;this[_0x1c662c(0x273)][_0x1c662c(0x1dd)](_0x38b539)&&this[_0x1c662c(0x17f)](_0x38b539);}),this[_0x85f1c7(0x1c7)][_0x85f1c7(0x25a)](_0x26cc70));}}this[_0x85f1c7(0x264)][_0x85f1c7(0x25a)](_0x4b302a);}}}[_0x21ad8b(0x17b)](_0x436bb3,_0x1359b7,_0x2b77de,_0x15cd22){const _0x3695a8=_0x21ad8b;this['_featureFormulaData'][_0x3695a8(0x21c)](_0x436bb3)||this[_0x3695a8(0x1c3)][_0x3695a8(0x1c5)](_0x436bb3,new Map());const _0x12608d=this['_featureFormulaData'][_0x3695a8(0x1dd)](_0x436bb3);_0x12608d[_0x3695a8(0x21c)](_0x1359b7)||_0x12608d[_0x3695a8(0x1c5)](_0x1359b7,new Map()),_0x12608d[_0x3695a8(0x1dd)](_0x1359b7)[_0x3695a8(0x1c5)](_0x2b77de,_0x15cd22[_0x3695a8(0x277)]);}[_0x21ad8b(0x191)](_0x4e1774,_0x10f545,_0x54e228){const _0x4a4a11=_0x21ad8b,_0x564c2d=this[_0x4a4a11(0x1c3)]['get'](_0x4e1774);if(_0x564c2d&&_0x564c2d[_0x4a4a11(0x21c)](_0x10f545)){const _0x5a914a=_0x564c2d['get'](_0x10f545);_0x54e228[_0x4a4a11(0x192)](_0x333436=>{const _0x69c8=_0x4a4a11,_0x26d0b6=_0x5a914a[_0x69c8(0x1dd)](_0x333436);_0x26d0b6!=null&&(this['_removeDependencyRTreeCache'](_0x26d0b6),_0x5a914a[_0x69c8(0x25a)](_0x333436),this[_0x69c8(0x17f)](_0x26d0b6));});}}[_0x21ad8b(0x23b)](_0x2a3b45,_0x38766a){const _0x179d4a=_0x21ad8b,_0x360306=this[_0x179d4a(0x1c3)][_0x179d4a(0x1dd)](_0x2a3b45);if(_0x38766a&&_0x360306&&_0x360306[_0x179d4a(0x21c)](_0x38766a)){const _0x3b4c94=_0x360306['get'](_0x38766a);this['_removeDependencyRTreeCacheById'](_0x2a3b45,_0x38766a),_0x3b4c94['forEach'](_0x3c5710=>{const _0xf78282=_0x179d4a;_0x3c5710!=null&&this[_0xf78282(0x17f)](_0x3c5710);}),_0x3b4c94['clear']();}else _0x360306&&(_0x360306[_0x179d4a(0x192)]((_0x3414ec,_0x1c6f7a)=>{const _0x3d0b44=_0x179d4a;this[_0x3d0b44(0x20b)](_0x2a3b45,_0x1c6f7a),_0x3414ec['forEach'](_0x2d7eb8=>{_0x2d7eb8!=null&&this['_removeAllTreeMap'](_0x2d7eb8);});}),this[_0x179d4a(0x1c3)][_0x179d4a(0x25a)](_0x2a3b45));}[_0x21ad8b(0x231)](_0x29fc03,_0x46155e,_0xdaae44,_0x4d12a6,_0x352457){const _0x3c79a1=_0x21ad8b;this[_0x3c79a1(0x20d)][_0x3c79a1(0x21c)](_0x29fc03)||this[_0x3c79a1(0x20d)][_0x3c79a1(0x1c5)](_0x29fc03,new Map());const _0x164cfe=this[_0x3c79a1(0x20d)]['get'](_0x29fc03);_0x164cfe[_0x3c79a1(0x21c)](_0x46155e)||_0x164cfe[_0x3c79a1(0x1c5)](_0x46155e,new I['ObjectMatrix']()),_0x164cfe[_0x3c79a1(0x1dd)](_0x46155e)[_0x3c79a1(0x204)](_0xdaae44,_0x4d12a6,_0x352457['treeId']);}['removeFormulaDependency'](_0x5560f2,_0x59af77,_0x2306fc,_0x4b1128){const _0x31ef14=_0x21ad8b,_0x1d20c1=this['_formulaData'][_0x31ef14(0x1dd)](_0x5560f2);if(_0x1d20c1&&_0x1d20c1['has'](_0x59af77)){const _0x2fc09b=_0x1d20c1[_0x31ef14(0x1dd)](_0x59af77),_0x391683=_0x2fc09b[_0x31ef14(0x242)](_0x2306fc,_0x4b1128);if(_0x391683==null)return;this[_0x31ef14(0x21d)](_0x391683),_0x2fc09b[_0x31ef14(0x23e)](_0x2306fc,_0x4b1128),this[_0x31ef14(0x17f)](_0x391683);}}[_0x21ad8b(0x17a)](_0x51e7c4,_0x4a30dd){const _0x3f7cbe=_0x21ad8b,_0x59a2c8=this[_0x3f7cbe(0x20d)][_0x3f7cbe(0x1dd)](_0x51e7c4);if(_0x4a30dd&&_0x59a2c8&&_0x59a2c8['has'](_0x4a30dd)){const _0x61a439=_0x59a2c8[_0x3f7cbe(0x1dd)](_0x4a30dd);this[_0x3f7cbe(0x20b)](_0x51e7c4,_0x4a30dd),_0x61a439[_0x3f7cbe(0x209)]((_0xc01e0f,_0x55e7f5,_0x51952f)=>{if(_0x51952f==null)return!0x0;this['_removeAllTreeMap'](_0x51952f);}),_0x61a439[_0x3f7cbe(0x227)]();}else _0x59a2c8&&(_0x59a2c8[_0x3f7cbe(0x192)]((_0x2a8811,_0x16edb4)=>{const _0x430804=_0x3f7cbe;this[_0x430804(0x20b)](_0x51e7c4,_0x16edb4),_0x2a8811[_0x430804(0x209)]((_0x4c5fe7,_0x2b1d88,_0x7cc18c)=>{const _0x555780=_0x430804;if(_0x7cc18c==null)return!0x0;this[_0x555780(0x17f)](_0x7cc18c);});}),this[_0x3f7cbe(0x20d)]['delete'](_0x51e7c4));}['_removeDependencyRTreeCache'](_0x431278){const _0x43ed07=_0x21ad8b;if(_0x431278==null)return;const _0x422474=this[_0x43ed07(0x273)][_0x43ed07(0x1dd)](_0x431278);if(_0x422474){const _0x1c72a4=[];for(const [_0x34751b,_0x376724]of _0x422474)for(const [_0x3d25ca,_0x3f9c09]of _0x376724)_0x1c72a4[_0x43ed07(0x1ab)]({'unitId':_0x34751b,'sheetId':_0x3d25ca,'range':_0x3f9c09,'id':_0x431278});this[_0x43ed07(0x1fe)][_0x43ed07(0x22d)](_0x1c72a4);}}['removeFormulaDependencyByDefinedName'](_0x97dfae,_0x3f934c){const _0x44b06e=_0x21ad8b,_0x305a35=this[_0x44b06e(0x219)]['get'](_0x97dfae);if(_0x305a35){const _0x476aca=_0x305a35[_0x44b06e(0x1dd)](_0x3f934c);if(_0x476aca){for(const _0x465424 of _0x476aca)this[_0x44b06e(0x21d)](_0x465424),this['_removeAllTreeMap'](_0x465424);_0x476aca[_0x44b06e(0x256)]();}}}['openKdTree'](){const _0x3af4b2=_0x21ad8b;this[_0x3af4b2(0x1fe)]['openKdTree']();}[_0x21ad8b(0x220)](){const _0x3dc0ec=_0x21ad8b;this['_dependencyRTreeCache'][_0x3dc0ec(0x220)]();}['_removeAllTreeMap'](_0x32a1fc){const _0x1695d0=_0x21ad8b;_0x32a1fc!=null&&this[_0x1695d0(0x273)][_0x1695d0(0x25a)](_0x32a1fc);}[_0x21ad8b(0x19e)](_0x3daa97){const _0x20d166=_0x21ad8b;var _0x36fa7e,_0x3aa88c;const _0x24c7d2=_0x3daa97[_0x20d166(0x1de)];let _0x4eca03=this[_0x20d166(0x273)]['get'](_0x3daa97[_0x20d166(0x277)]);for(let _0x9219a0=0x0;_0x9219a0<_0x24c7d2[_0x20d166(0x22f)];_0x9219a0++){const _0x40cf31=_0x24c7d2[_0x9219a0];let {unitId:_0x3b37bf,sheetId:_0x3e9bbb,range:_0x2901dc}=_0x40cf31;_0x4eca03||(_0x4eca03=new Map(),this['_allTreeMap'][_0x20d166(0x1c5)](_0x3daa97[_0x20d166(0x277)],_0x4eca03)),_0x4eca03[_0x20d166(0x21c)](_0x3b37bf)||_0x4eca03[_0x20d166(0x1c5)](_0x3b37bf,new Map());const _0x3d61a4=(_0x36fa7e=_0x4eca03==null?void 0x0:_0x4eca03[_0x20d166(0x1dd)](_0x3b37bf))==null?void 0x0:_0x36fa7e['get'](_0x3e9bbb);_0x3d61a4&&(_0x2901dc={'startRow':Math[_0x20d166(0x1a5)](_0x2901dc['startRow'],_0x3d61a4[_0x20d166(0x278)]),'startColumn':Math[_0x20d166(0x1a5)](_0x2901dc[_0x20d166(0x181)],_0x3d61a4[_0x20d166(0x181)]),'endRow':Math[_0x20d166(0x1ce)](_0x2901dc['endRow'],_0x3d61a4[_0x20d166(0x23d)]),'endColumn':Math[_0x20d166(0x1ce)](_0x2901dc[_0x20d166(0x1f5)],_0x3d61a4[_0x20d166(0x1f5)])}),(_0x3aa88c=_0x4eca03[_0x20d166(0x1dd)](_0x3b37bf))==null||_0x3aa88c['set'](_0x3e9bbb,_0x2901dc);}}}var G=Object[_0x21ad8b(0x254)],$=(_0x57a384,_0x3dbd15,_0x33c4d0,_0x13e08f)=>{for(var _0x3cd707=_0x13e08f>0x1?void 0x0:_0x13e08f?G(_0x3dbd15,_0x33c4d0):_0x3dbd15,_0x30f9be=_0x57a384['length']-0x1,_0x562e8a;_0x30f9be>=0x0;_0x30f9be--)(_0x562e8a=_0x57a384[_0x30f9be])&&(_0x3cd707=_0x562e8a(_0x3cd707)||_0x3cd707);return _0x3cd707;};const W=Number['parseInt'](0x694653ae);exports[_0x21ad8b(0x1a8)]=class extends s[_0x21ad8b(0x1bc)]{['_initializeWithOverride'](){const _0x1c0265=_0x21ad8b;var _0x34c9b2,_0x36a49f;this[_0x1c0265(0x1ff)]()?(this[_0x1c0265(0x1b0)][_0x1c0265(0x1c8)]([s[_0x1c0265(0x24c)],{'useClass':R}]),(_0x34c9b2=this['_config'])!=null&&_0x34c9b2[_0x1c0265(0x22e)]||[[s[_0x1c0265(0x1f6)],{'useClass':Y}],[s[_0x1c0265(0x25b)],{'useClass':j}],[s[_0x1c0265(0x1e3)],{'useClass':V}]]['forEach'](_0x476a4f=>this[_0x1c0265(0x1b0)][_0x1c0265(0x1c8)](_0x476a4f))):(this[_0x1c0265(0x1b0)][_0x1c0265(0x1c8)]([s[_0x1c0265(0x24c)],{'useClass':s[_0x1c0265(0x24c)]}]),(_0x36a49f=this[_0x1c0265(0x201)])!=null&&_0x36a49f['notExecuteFormula']||[[s[_0x1c0265(0x1f6)],{'useClass':s[_0x1c0265(0x1a3)]}],[s[_0x1c0265(0x25b)],{'useClass':s[_0x1c0265(0x26a)]}],[s[_0x1c0265(0x1e3)],{'useClass':s[_0x1c0265(0x232)]}]][_0x1c0265(0x192)](_0xcd1d39=>this[_0x1c0265(0x1b0)][_0x1c0265(0x1c8)](_0xcd1d39)));}['_initLicenseValid'](){const _0x59613d=_0x21ad8b;var _0x1f4084;const _0x3bf950=(_0x1f4084=this[_0x59613d(0x1af)]['getConfig'](E['LS_CONFIG_KEY']))!=null?_0x1f4084:{},{ls:_0x5f1e81,pbk:_0x36244c}=_0x3bf950;if(!_0x5f1e81||!_0x36244c)return!0x1;const _0x10bfb8=E[_0x59613d(0x1ec)](K,B),_0x29e4a4=new Function('return\x20'+_0x10bfb8)()(_0x5f1e81,_0x36244c),_0x5d77ed=_0x29e4a4[_0x59613d(0x1fb)];return _0x29e4a4[_0x59613d(0x1c2)]&&E[_0x59613d(0x258)](_0x5d77ed,'sf',W)?E[_0x59613d(0x1d2)](_0x5d77ed,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x21ad8b(0x1a8)]=$([I[_0x21ad8b(0x1ae)](E['UniverLicensePlugin'])],exports['UniverProFormulaEnginePlugin']),exports[_0x21ad8b(0x266)]=R,Object[_0x21ad8b(0x1b7)](s)[_0x21ad8b(0x192)](_0x196d40=>{const _0x885b1d=_0x21ad8b;_0x196d40!==_0x885b1d(0x270)&&!Object[_0x885b1d(0x1f2)][_0x885b1d(0x18d)]['call'](exports,_0x196d40)&&Object[_0x885b1d(0x1d8)](exports,_0x196d40,{'enumerable':!0x0,'get':()=>s[_0x196d40]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5145(_0x2fdea7,_0x5159d4){_0x2fdea7=_0x2fdea7-0x12b;var _0xdcd642=_0xdcd6();var _0x51453a=_0xdcd642[_0x2fdea7];return _0x51453a;}(function(_0xf593c7,_0x1050a3){var _0x247616=_0x5145,_0xf388aa=_0xf593c7();while(!![]){try{var _0x16037e=parseInt(_0x247616(0x12f))/0x1*(-parseInt(_0x247616(0x12e))/0x2)+-parseInt(_0x247616(0x131))/0x3+parseInt(_0x247616(0x132))/0x4+parseInt(_0x247616(0x134))/0x5+parseInt(_0x247616(0x12b))/0x6*(parseInt(_0x247616(0x130))/0x7)+parseInt(_0x247616(0x12d))/0x8*(parseInt(_0x247616(0x133))/0x9)+-parseInt(_0x247616(0x12c))/0xa;if(_0x16037e===_0x1050a3)break;else _0xf388aa['push'](_0xf388aa['shift']());}catch(_0x1b4522){_0xf388aa['push'](_0xf388aa['shift']());}}}(_0xdcd6,0x197bb));export*from'@univerjs/engine-formula/facade';function _0xdcd6(){var _0x1773ed=['3892xhKOTU','413hyShOy','457884FUlZox','748508FdobCm','171zCnHRz','404765BkxUaT','12954pVkeMC','2546890dDzFAx','55496aGxGGy','8DqmZAw'];_0xdcd6=function(){return _0x1773ed;};return _0xdcd6();}
1
+ function _0x21bc(_0x4a881c,_0x30cb38){_0x4a881c=_0x4a881c-0x177;var _0x51f596=_0x51f5();var _0x21bc3b=_0x51f596[_0x4a881c];return _0x21bc3b;}(function(_0x4d9b2b,_0x58c0fa){var _0x2e221d=_0x21bc,_0x644a80=_0x4d9b2b();while(!![]){try{var _0x307df5=-parseInt(_0x2e221d(0x17f))/0x1*(parseInt(_0x2e221d(0x179))/0x2)+-parseInt(_0x2e221d(0x177))/0x3*(parseInt(_0x2e221d(0x17c))/0x4)+parseInt(_0x2e221d(0x17a))/0x5*(parseInt(_0x2e221d(0x180))/0x6)+parseInt(_0x2e221d(0x17e))/0x7*(parseInt(_0x2e221d(0x178))/0x8)+parseInt(_0x2e221d(0x181))/0x9+-parseInt(_0x2e221d(0x17d))/0xa+-parseInt(_0x2e221d(0x17b))/0xb;if(_0x307df5===_0x58c0fa)break;else _0x644a80['push'](_0x644a80['shift']());}catch(_0x397e39){_0x644a80['push'](_0x644a80['shift']());}}}(_0x51f5,0x5b2f3));function _0x51f5(){var _0x8cf3d=['1209989NqsXda','4MGcKDY','983930rfdtti','2299010MgrgGO','34667glTHQB','3378DBDQeP','1574919hxDLPW','1310766YlUPju','8WSGoDl','2pEIsNE','4885hEeLrS'];_0x51f5=function(){return _0x8cf3d;};return _0x51f5();}export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2c76(_0x55e2ea,_0x260947){_0x55e2ea=_0x55e2ea-0x78;const _0x587d47=_0x587d();let _0x2c7616=_0x587d47[_0x55e2ea];return _0x2c7616;}const _0x34defa=_0x2c76;(function(_0x192ef6,_0x15b4ca){const _0x491eba=_0x2c76,_0x1bb17d=_0x192ef6();while(!![]){try{const _0x4f7db8=-parseInt(_0x491eba(0x114))/0x1*(parseInt(_0x491eba(0x13d))/0x2)+parseInt(_0x491eba(0x7b))/0x3+parseInt(_0x491eba(0xae))/0x4*(-parseInt(_0x491eba(0xb4))/0x5)+parseInt(_0x491eba(0x102))/0x6+parseInt(_0x491eba(0xb3))/0x7*(parseInt(_0x491eba(0x12c))/0x8)+parseInt(_0x491eba(0xe6))/0x9+-parseInt(_0x491eba(0xa8))/0xa;if(_0x4f7db8===_0x15b4ca)break;else _0x1bb17d['push'](_0x1bb17d['shift']());}catch(_0x39a7df){_0x1bb17d['push'](_0x1bb17d['shift']());}}}(_0x587d,0x9f8e2));var se=Object[_0x34defa(0x104)],ae=(_0x570ad8,_0x5477c7,_0x428807)=>_0x5477c7 in _0x570ad8?se(_0x570ad8,_0x5477c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x428807}):_0x570ad8[_0x5477c7]=_0x428807,F=(_0xf87635,_0x36a0e4,_0x278de1)=>ae(_0xf87635,typeof _0x36a0e4!=_0x34defa(0xf0)?_0x36a0e4+'':_0x36a0e4,_0x278de1);import{LexerTreeBuilder as _0x13d74c,ErrorType as _0x3c1977,DEFAULT_TOKEN_TYPE_ROOT as _0x7487a4,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1f7b70,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x247446,NEW_EXCEL_FUNCTIONS as _0x2c387f,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xff3c25,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x339875,matchToken as _0x56a9e4,SUFFIX_TOKEN_SET as _0x516fed,prefixToken as _0x38437f,LexerNode as _0x5503d2,OPERATOR_TOKEN_SET as _0x1dbb8b,isReferenceString as _0x25f043,splitTableStructuredRef as _0x15c896,FormulaDependencyGenerator as _0x16cb4c,generateRandomDependencyTreeId as _0xa2d314,FormulaDependencyTree as _0x6041da,FormulaDependencyTreeType as _0x595298,FormulaDependencyTreeVirtual as _0x1d1b7a,generateAstNode as _0x33c714,CalculateFormulaService as _0x2eca83,FormulaExecuteStageType as _0x154c3d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x42d0a5,DEFAULT_INTERVAL_COUNT as _0x563937,DependencyManagerBaseService as _0x3a580b,UniverFormulaEnginePlugin as _0x2dcfdc,ICalculateFormulaService as _0x2c1a94,IDependencyManagerService as _0x1d4b0e,IFormulaDependencyGenerator as _0x4a6250,DependencyManagerService as _0x40b0cd}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x38e6e5,LS_CONFIG_KEY as _0x53838b,unshiftString as _0x1fd102,isFeatureAuthorizedWithinTime as _0x4d179f,getSheetFeatureLimit as _0x14dda2}from'@univerjs-pro/license';import{ObjectMatrix as _0x2b1b44,requestImmediateMacroTask as _0x1ef183,RTree as _0x217338,DependentOn as _0x362a54}from'@univerjs/core';function _0x587d(){const _0x496f63=['_allTreeMap','_otherFormulaDataMainData','PLUS','_getDependencyTreeChildrenIds','message','setFormulaExecuteStage','edkhlATk\x20RJhwtnlATk(PAhJkIJ,\x20ndXPAhyJt)\x20{\x20\x20\x20\x20lwt\x20{\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20PAhJkIJEkeT1owlNwwot\x20=\x20PAhJkIJ.InPAl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20TwAWAkYJIIoWJ\x20=\x20zFc5.nowIJ(olTX(PAhJkIJEkeT1owlNwwot[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!TwAWAkYJIIoWJ.dR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TwAWAkYJIIoWJ.dR\x20=\x205dZXJw(PAhJkIJEkeT1owlNwwot[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AIsTwvJw\x20=\x20ltnJTe\x20sTwvJwSPTXoPFhTnJ\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20IJPe\x20AkIlokhJTe\x20sTwvJwSPTXoPFhTnJ;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AI2wTxIJw\x20=\x20ltnJTe\x20xAkRTx\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20ltnJTe\x20xAkRTx.PTholATk\x20!==\x20\x27dkRJeAkJR\x27;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20hTklJul\x20=\x20AIsTwvJw\x20?\x20IJPe\x20:\x20(AI2wTxIJw\x20?\x20xAkRTx\x20:\x20WPTXoP4GAI);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[9]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(ZJIIoWJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[q]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(IAWkoldwJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkVoPAR\x20=\x20hTklJul.__HJwAet__(IAWkoldwJ,\x20ZJIIoWJ,\x20ndXPAhyJt);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20RTZoAk\x20=\x20TwAWAkYJIIoWJ.RZ;\x20\x20\x20\x20\x20\x20\x20\x20edkhlATk\x20AILTZoAkYolhGAkW(T1ollJwk,\x20TDTIl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk\x20=\x20T1ollJwk.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl\x20=\x20TDTIl.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk1owlI\x20=\x20nollJwk.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl1owlI\x20=\x20GTIl.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!nollJwk.AkhPdRJI(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwk\x20===\x20GTIl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(nollJwk1owlI.PJkWlG\x20<\x209\x20||\x20nollJwk1owlI[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwkFdeeAu\x20=\x20nollJwk1owlI.IPAhJ(0).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIlFdeeAu\x20=\x20GTIl1owlI.IPAhJ(-nollJwk1owlI.PJkWlG\x20+\x200).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwkFdeeAu\x20===\x20GTIlFdeeAu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PJl\x20RTZoAkVoPAR\x20=\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(AI2wTxIJw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20(RTZoAk\x20&&\x20RTZoAk.PJkWlG)\x20?\x20RTZoAk.ITZJ((RZElJZ)\x20=>\x20AILTZoAkYolhGAkW(RZElJZ,\x20PTholATk.GTIlkoZJ))\x20:\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(PTholATk.GTIlkoZJ\x20===\x20\x27PThoPGTIl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JPIJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20HoPAR\x20=\x20IAWkVoPAR\x20&&\x20RTZoAkVoPAR;\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20TwAWAkYJIIoWJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20holhG\x20(JwwTw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR:\x20eoPIJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clear','values','getOtherFormulaDependency','isExcludeRange','_getFeatureFormulaTree','treeId','endColumn','featureId','_getDependencyTreeParenIds','slice','getDirtyNameMap','ParentDependencyTree\x20object\x20is\x20null','_xlpm.','setValue','markedAsStopFunctionsExecuted','_handleChildrenForExprTree','VALUE','enableCycleDependency','clearFormulaDependency','addFeatureFormulaDependency','addFormulaDependencyByDefinedName','forEach','getConfig','getStartIndex','getNewFormulaWithPrefix','addFormulaDependency','START_DEPENDENCY','IDLE','_otherFormulaData','_dependencyManagerService','getAllRuntimeData','getFormulaExprTree','COLON','toUpperCase','_config','dirtyRanges','endRow','5217381wvEUUs','type','_handleLambdaForExprTree','OTHER_FORMULA','notExecuteFormula','max','intervalCount','dependencySheetName','setRuntimeFeatureCellData','_xlfnPrefix','symbol','_calculateRunList','startIndex','_injector','_startFormulaDependencyTreeModel','_astTreeBuilder','_getUpdateTreeListAndMakeDependency','refOffsetY','_getTreeNode','searchDependency','_currentUnitId','forValue','_generateTreeList','subUnitId','_definedNameMap','refOffsetX','formulaId','removeFeatureFormulaDependency','1672704kzZJTu','_configService','defineProperty','_checkIsCycleDependency','_traverse','getDirtyRanges','_xlpmPrefix','_formulaData','isSkip','addOtherFormulaDependency','_interpreter','has','treeBuilder','START_CALCULATION','closeKdTree','add','featureDirtyRanges','isStopExecution','210818WeBfwH','children','_handleNewFunctionChild','startRow','getChildren','setRuntimeData','resetCalculationState','setCompletedFormulasCount','getOwnPropertyDescriptor','FEATURE_FORMULA','setAdded','_createFDtree','_currentConfigService','_restDependencyTreeId','_removeDependencyRTreeCacheById','isAdded','_registerOtherFormulas','_removeAllTreeMap','valid','keys','_resetPrefix','_xlfn.','_lambdaFunctionParameterSet','_getTableNameFromStructuredRef','1864vEmIlY','removeFormulaDependency','getFormulaData','_hasNewExcelFunction','_executionCompleteListener$','_handleTextNodeForExprTree','_initLicenseValid','clearFeatureFormulaDependency','min','removeFormulaDependencyByDefinedName','row','rangeList','pop','addOtherFormulaDependencyMainData','unitId','isVirtual','isCache','2PCoeGq','column','_formulaDependencyGenerator','trim','_convertDirtyRangesToUnitRange','_getAllDependencyJson','_clearFunctionString','delete','_isCyclicUtilMap','getRuntimeState','dispose','setTotalArrayFormulasToCalculate','_getAllTreeList','isArray','node','string','setSkip','_removeDependencyRTreeCache','_initializeGenerateTreeList','1447203KMYKZx','_updateRangeFlatten','clearOtherFormulaDependency','_dependencyRTreeCacheForAddressFunction','setTotalFormulasToCalculate','getExcludedRange','_getCurNodeTypeForExprTree','START_CALCULATION_ARRAY_FORMULA','return\x20','_getTreeById','_runtimeService','_getFirstCellOfRange','_executionInProgressListener$','setCompletedArrayFormulasCount','rowCount','error','_dependencyRTreeCache','bulkSearch','toRTreeItem','push','getValue','CURRENTLY_CALCULATING_ARRAY_FORMULA','size','getFormulaDependency','from','endsWith','getDirtyData','generate','_generateNewFunctionString','markedAsNoFunctionsExecuted','formula','_generateExprTree','length','_endFormulaDependencyTreeModel','sheetId','_lexer','setRuntimeOtherData','getToken','set','get','_registerFormulas','_initializeWithOverride','_otherFormulaManagerService','_featureFormulaData','checkAsyncNode','8185210rUswXf','clearArrayObjectCache','START_DEPENDENCY_ARRAY_FORMULA','startColumn','_checkAddBracketForMinus','join','41944Kikcai','getClearDependencyTreeCache','openKdTree','parseInt','_isCalculateTreeModel','29491GDGaST','305HWkycf','_dependencyTreeCache','MINUS','\x22\x20is\x20duplicated.','next','columnCount'];_0x587d=function(){return _0x496f63;};return _0x587d();}class De extends _0x13d74c{constructor(){const _0x518306=_0x34defa;super(...arguments),F(this,_0x518306(0x12f),!0x1),F(this,_0x518306(0x12a),new Set()),F(this,_0x518306(0x108),_0x518306(0xcd)),F(this,_0x518306(0xef),_0x518306(0x129)),F(this,_0x518306(0xfa),'');}['_resetPrefix'](){const _0x5241da=_0x34defa;this[_0x5241da(0x108)]=_0x5241da(0xcd),this[_0x5241da(0xef)]=_0x5241da(0x129);}['_clearPrefix'](){const _0xf7ca35=_0x34defa;this[_0xf7ca35(0x108)]='',this[_0xf7ca35(0xef)]='';}[_0x34defa(0xd9)](_0x3d417f,_0x18a32d){const _0x503276=_0x34defa,_0x2048d9=this[_0x503276(0x10e)](_0x3d417f,!0x1);if(!_0x2048d9||_0x2048d9===_0x3c1977[_0x503276(0xd1)]||Array[_0x503276(0x14a)](_0x2048d9))return null;const _0x3fe752=[];return this[_0x503276(0x12f)]=!0x1,this[_0x503276(0x97)](_0x2048d9,_0x3fe752,_0x18a32d),this[_0x503276(0x12f)]?'='+_0x3fe752[_0x503276(0xad)](''):null;}[_0x34defa(0x97)](_0x242f15,_0x1c9e27,_0x35e082){const _0x3f91d7=_0x34defa,_0x27043c=_0x242f15[_0x3f91d7(0xa0)](),_0x2ff0ff=_0x27043c[_0x3f91d7(0x140)](),_0x1dada2=_0x2ff0ff[_0x3f91d7(0xe2)](),_0x5480a3=this[_0x3f91d7(0x143)](_0x1dada2),_0x2d86f9=_0x35e082(_0x5480a3);let _0x15b8e2=0x0;_0x27043c===_0x7487a4?_0x15b8e2=0x3:_0x27043c===_0x1f7b70?_0x15b8e2=0x4:_0x27043c===_0x247446?_0x15b8e2=0x5:_0x2c387f['has'](_0x5480a3)?(_0x1c9e27[_0x3f91d7(0x8e)](''+this['_xlfnPrefix']+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0):_0x1dada2===_0xff3c25?(_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0xef)]+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0,_0x15b8e2=0x2):_0x1dada2===_0x339875?(_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0xef)]+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0,_0x15b8e2=0x1):_0x1dada2===_0x56a9e4[_0x3f91d7(0xe1)]?_0x15b8e2=0x8:_0x516fed[_0x3f91d7(0x10d)](_0x1dada2)?_0x15b8e2=0x7:_0x1dada2===_0x38437f[_0x3f91d7(0xb6)]?(this['_checkAddBracketForMinus'](_0x242f15)&&(_0x15b8e2=0x9),_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c)):(_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),_0x15b8e2=0xa),_0x2d86f9?(_0x15b8e2!==0x2&&_0x15b8e2!==0x1&&(_0x15b8e2=0x6),_0x1c9e27['push']('(')):_0x15b8e2===0x9&&_0x1c9e27[_0x3f91d7(0x8e)]('(');const _0x51572e=_0x242f15['getChildren'](),_0x13aac7=_0x51572e['length'];if(_0x15b8e2===0x2){const _0x207d26=_0x51572e[0x0];let _0x3bac19=0x0;_0x207d26 instanceof _0x5503d2&&_0x207d26[_0x3f91d7(0xa0)]()===_0x247446&&(_0x3bac19=0x1);for(let _0x4d25d5=_0x3bac19;_0x4d25d5<_0x13aac7-0x1;_0x4d25d5++){const _0x2fa081=_0x51572e[_0x4d25d5];if(_0x2fa081 instanceof _0x5503d2){const _0x2fb23e=_0x2fa081[_0x3f91d7(0x118)]()[0x0];typeof _0x2fb23e==_0x3f91d7(0x14c)&&(this[_0x3f91d7(0x12a)][_0x3f91d7(0x10d)](_0x2fb23e)&&console[_0x3f91d7(0x8a)]('Lambda\x20parameter\x20name\x20\x22'+_0x2fb23e+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3f91d7(0x111)](_0x2fb23e),_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0x108)]+_0x2fb23e),this[_0x3f91d7(0x12f)]=!0x0);}_0x1c9e27['push'](',');}this['_handleNewFunctionChild'](_0x51572e[_0x13aac7-0x1],_0x1c9e27,_0x35e082),_0x3bac19===0x1&&(_0x1c9e27[_0x3f91d7(0x8e)](')'),_0x1c9e27[_0x3f91d7(0x8e)]('('),this['_generateNewFunctionString'](_0x207d26,_0x1c9e27,_0x35e082)),_0x1c9e27['push'](')');return;}else{if(_0x15b8e2===0x1){for(let _0x566bb7=0x0;_0x566bb7<_0x13aac7-0x1;_0x566bb7++){const _0x48401a=_0x51572e[_0x566bb7];if(_0x48401a instanceof _0x5503d2&&_0x566bb7%0x2===0x0){const _0x538f8f=_0x48401a[_0x3f91d7(0x118)]()[0x0];if(typeof _0x538f8f==_0x3f91d7(0x14c)){this['_lambdaFunctionParameterSet']['has'](_0x538f8f)&&console[_0x3f91d7(0x8a)]('Let\x20variable\x20name\x20\x22'+_0x538f8f+_0x3f91d7(0xb7)),this['_lambdaFunctionParameterSet']['add'](_0x538f8f),_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0x108)]+_0x538f8f),this[_0x3f91d7(0x12f)]=!0x0,_0x1c9e27[_0x3f91d7(0x8e)](',');continue;}}if(this[_0x3f91d7(0x116)](_0x48401a,_0x1c9e27,_0x35e082),_0x48401a instanceof _0x5503d2){const _0x2062a8=_0x51572e[_0x566bb7+0x1];_0x2062a8&&_0x2062a8 instanceof _0x5503d2&&_0x1c9e27[_0x3f91d7(0x8e)](',');}}this[_0x3f91d7(0x116)](_0x51572e[_0x13aac7-0x1],_0x1c9e27,_0x35e082),_0x1c9e27[_0x3f91d7(0x8e)](')');return;}else{if(_0x15b8e2===0x8){const _0x19b2cf=_0x51572e[0x0],_0xa64226=_0x51572e[0x1];this['_handleNewFunctionChild'](_0x19b2cf,_0x1c9e27,_0x35e082),_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),this[_0x3f91d7(0x116)](_0xa64226,_0x1c9e27,_0x35e082);return;}}}for(let _0x46f84b=0x0;_0x46f84b<_0x13aac7;_0x46f84b++){const _0x4dc179=_0x51572e[_0x46f84b];if(this[_0x3f91d7(0x116)](_0x4dc179,_0x1c9e27,_0x35e082),_0x4dc179 instanceof _0x5503d2){const _0x22b723=_0x51572e[_0x46f84b+0x1];_0x22b723&&_0x22b723 instanceof _0x5503d2&&_0x1c9e27[_0x3f91d7(0x8e)](',');}}_0x15b8e2===0x7&&_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),(_0x2d86f9||_0x15b8e2===0x9)&&_0x1c9e27[_0x3f91d7(0x8e)](')');}[_0x34defa(0x116)](_0x3cd3c9,_0x503125,_0x13e576){const _0x5df0a7=_0x34defa;_0x3cd3c9 instanceof _0x5503d2?this['_generateNewFunctionString'](_0x3cd3c9,_0x503125,_0x13e576):this[_0x5df0a7(0x12a)]['has'](_0x3cd3c9)?(_0x503125[_0x5df0a7(0x8e)](''+this[_0x5df0a7(0x108)]+_0x3cd3c9),this[_0x5df0a7(0x12f)]=!0x0):_0x503125[_0x5df0a7(0x8e)](_0x3cd3c9);}[_0x34defa(0x143)](_0x7651b0){const _0x5d7eb3=_0x34defa;let _0x21c224=_0x7651b0[_0x5d7eb3(0x140)]();if(!_0x21c224)return _0x21c224;const _0x2ff1c4=_0x21c224[0x0];if((_0x2ff1c4===_0x38437f['AT']||_0x2ff1c4===_0x38437f[_0x5d7eb3(0xb6)]||_0x2ff1c4===_0x38437f[_0x5d7eb3(0xbc)])&&(_0x21c224=_0x21c224['slice'](0x1)),!_0x21c224)return _0x21c224;const _0x4c7585=_0x21c224[_0x21c224[_0x5d7eb3(0x9b)]-0x1];return _0x516fed[_0x5d7eb3(0x10d)](_0x4c7585)&&(_0x21c224=_0x21c224[_0x5d7eb3(0xca)](0x0,-0x1)),_0x21c224;}[_0x34defa(0xac)](_0x3adaf8){const _0x57f47a=_0x34defa,_0x5e8489=_0x3adaf8[_0x57f47a(0x118)]()[0x0];if(!_0x5e8489||!(_0x5e8489 instanceof _0x5503d2)||_0x3adaf8[_0x57f47a(0x118)]()[_0x57f47a(0x9b)]>0x1)return!0x1;const _0x50e57f=_0x5e8489[_0x57f47a(0x118)](),_0x45b489=_0x50e57f[_0x57f47a(0x9b)];if(_0x45b489===0x1)return!0x1;for(let _0x3a4383=0x0;_0x3a4383<_0x45b489;_0x3a4383++){const _0x1758af=_0x50e57f[_0x3a4383];if(!(_0x1758af instanceof _0x5503d2)&&_0x1dbb8b[_0x57f47a(0x10d)](_0x1758af))return!0x0;}return!0x1;}[_0x34defa(0xe0)](_0x644265,_0xfee32e,_0x45345e,_0x301ca7,_0x15aef4){const _0x2d1bc4=_0x34defa,_0x2ed576=this[_0x2d1bc4(0x10e)](_0x644265,!0x1);if(!_0x2ed576||_0x2ed576===_0x3c1977[_0x2d1bc4(0xd1)]||Array[_0x2d1bc4(0x14a)](_0x2ed576))return null;this['_clearPrefix'](),this[_0x2d1bc4(0xfa)]=_0xfee32e;const _0x58c704=this[_0x2d1bc4(0x9a)](_0x2ed576,_0x45345e,_0x301ca7,_0x15aef4);return this['_currentUnitId']='',this[_0x2d1bc4(0x128)](),_0x58c704;}['_generateExprTree'](_0x2ca8f9,_0xe5b1e5,_0x21da35,_0x503649){const _0x2aa803=_0x34defa,_0x35687c={'value':'','children':[],'startIndex':0x0};let _0x11c234=_0x2ca8f9;if(_0x11c234 instanceof _0x5503d2&&(_0x11c234['getToken']()===_0x7487a4||_0x11c234[_0x2aa803(0xa0)]()===_0x1f7b70)&&_0x11c234[_0x2aa803(0x118)]()[_0x2aa803(0x9b)]===0x1&&(_0x11c234=_0x11c234[_0x2aa803(0x118)]()[0x0]),!(_0x11c234 instanceof _0x5503d2))return this[_0x2aa803(0x131)](_0x11c234,_0x21da35,_0x503649);const _0x3928a3=_0x11c234[_0x2aa803(0x118)](),_0x53a3a2=_0x3928a3[_0x2aa803(0x9b)],_0x32c731=[];this[_0x2aa803(0x97)](_0x11c234,_0x32c731,_0xe5b1e5),_0x35687c['value']=_0x32c731[_0x2aa803(0xad)](''),_0x35687c[_0x2aa803(0xf2)]=_0x11c234[_0x2aa803(0xd8)]();const _0x39e250=this['_getCurNodeTypeForExprTree'](_0x11c234);if(_0x39e250===0x2){const _0x2d6b36=_0x3928a3[0x0];if(_0x2d6b36 instanceof _0x5503d2){if(_0x2d6b36[_0x2aa803(0xa0)]()[_0x2aa803(0x140)]()!==_0x247446)return _0x35687c;this[_0x2aa803(0xe8)](_0x2d6b36,_0x35687c,_0xe5b1e5,_0x21da35,_0x503649);}return _0x35687c;}else{if(_0x39e250===0x1){for(let _0x406239=0x0;_0x406239<_0x53a3a2-0x1;_0x406239++){const _0x4b16b3=_0x3928a3[_0x406239];if(_0x4b16b3 instanceof _0x5503d2&&_0x406239%0x2===0x1){const _0x2f54cf=_0x4b16b3[_0x2aa803(0x118)]();if(_0x2f54cf['length']===0x1&&!(_0x2f54cf[0x0]instanceof _0x5503d2))continue;const _0x58a67c=this['_generateExprTree'](_0x4b16b3,_0xe5b1e5,_0x21da35,_0x503649);_0x58a67c&&_0x35687c[_0x2aa803(0x115)][_0x2aa803(0x8e)](_0x58a67c);}}return _0x35687c;}else{if(_0x39e250===0x8){const _0x2c6d63=_0x3928a3[0x0];if(_0x2c6d63 instanceof _0x5503d2){const _0x3d3715=_0x2c6d63[_0x2aa803(0x118)]()[0x0];_0x3d3715 instanceof _0x5503d2&&(_0x35687c[_0x2aa803(0xf2)]=_0x3d3715[_0x2aa803(0xd8)]());}}else{if(_0x39e250===0x7){const _0x51031c=_0x3928a3[0x0];if(_0x51031c instanceof _0x5503d2){const _0x4bca5d=_0x51031c[_0x2aa803(0x118)]()[0x0];_0x4bca5d instanceof _0x5503d2&&(_0x35687c['startIndex']=_0x4bca5d['getStartIndex']());}}}}}return this[_0x2aa803(0xd0)](_0x3928a3,_0x39e250,_0x35687c,_0xe5b1e5,_0x21da35,_0x503649),_0x35687c;}[_0x34defa(0xd0)](_0x5c773a,_0x2ce801,_0x2c532a,_0x449a3a,_0x249435,_0x5bebd5){const _0x424011=_0x34defa;for(let _0x92ccfc=0x0;_0x92ccfc<_0x5c773a[_0x424011(0x9b)];_0x92ccfc++){let _0x3b1653=_0x5c773a[_0x92ccfc];if(!(_0x3b1653 instanceof _0x5503d2)){const _0xf47874=this['_handleTextNodeForExprTree'](_0x3b1653,_0x249435,_0x5bebd5);_0xf47874&&_0x2c532a[_0x424011(0x115)][_0x424011(0x8e)](_0xf47874);continue;}const _0x13a1eb=_0x3b1653[_0x424011(0x118)]();if(_0x13a1eb[_0x424011(0x9b)]===0x1&&!(_0x13a1eb[0x0]instanceof _0x5503d2)){const _0x2f6ac5=_0x13a1eb[0x0];if(!_0x249435(this['_currentUnitId'],_0x2f6ac5)&&!this[_0x424011(0x12b)](_0x2f6ac5,_0x5bebd5)&&!_0x25f043(_0x2f6ac5))continue;}if(_0x2ce801===0x8){const _0x2d189f=_0x13a1eb[0x0];if(_0x2d189f instanceof _0x5503d2){const _0x5ea445=_0x2d189f[_0x424011(0xa0)]()[_0x424011(0x140)]();if(_0x25f043(_0x5ea445))continue;_0x3b1653=_0x2d189f;}}const _0x4e05e5=this[_0x424011(0x9a)](_0x3b1653,_0x449a3a,_0x249435,_0x5bebd5);_0x4e05e5&&_0x2c532a[_0x424011(0x115)][_0x424011(0x8e)](_0x4e05e5);}}[_0x34defa(0x131)](_0x56cbc9,_0x5b1267,_0x27c0dd){const _0x44f306=_0x34defa,_0x4f1cae=_0x56cbc9[_0x44f306(0x140)]();return _0x4f1cae['startsWith']('{')&&_0x4f1cae[_0x44f306(0x94)]('}')||_0x5b1267(this[_0x44f306(0xfa)],_0x4f1cae)||this[_0x44f306(0x12b)](_0x4f1cae,_0x27c0dd)||_0x25f043(_0x4f1cae)?{'value':_0x4f1cae,'children':[],'startIndex':-0x1}:null;}[_0x34defa(0x12b)](_0x20f2bb,_0x458cd0){const _0x1e2d71=_0x34defa,{tableName:_0x1913ff}=_0x15c896(_0x20f2bb);return _0x458cd0(this[_0x1e2d71(0xfa)],_0x1913ff)?_0x1913ff:null;}[_0x34defa(0xe8)](_0x14fe07,_0x4b3153,_0x296cfa,_0x45b812,_0x3855f7){const _0x497144=_0x34defa,_0x3e16fc=_0x14fe07[_0x497144(0x118)]();for(let _0x1e50e5=0x0;_0x1e50e5<_0x3e16fc[_0x497144(0x9b)];_0x1e50e5++){const _0x3b99c0=_0x3e16fc[_0x1e50e5];if(!(_0x3b99c0 instanceof _0x5503d2))continue;const _0x1475b4=_0x3b99c0[_0x497144(0x118)]();if(_0x1475b4[_0x497144(0x9b)]===0x1&&!(_0x1475b4[0x0]instanceof _0x5503d2))continue;const _0x4409fe=this[_0x497144(0x9a)](_0x3b99c0,_0x296cfa,_0x45b812,_0x3855f7);_0x4409fe&&_0x4b3153[_0x497144(0x115)]['push'](_0x4409fe);}}[_0x34defa(0x81)](_0x429492){const _0x1914e7=_0x34defa,_0x751e46=_0x429492[_0x1914e7(0xa0)](),_0xfb0106=_0x751e46[_0x1914e7(0x140)]()[_0x1914e7(0xe2)]();let _0x4c564f=0x0;return _0x751e46===_0x7487a4?_0x4c564f=0x3:_0x751e46===_0x1f7b70?_0x4c564f=0x4:_0x751e46===_0x247446?_0x4c564f=0x5:_0xfb0106===_0xff3c25?_0x4c564f=0x2:_0xfb0106===_0x339875?_0x4c564f=0x1:_0xfb0106===_0x56a9e4['COLON']?_0x4c564f=0x8:_0x516fed[_0x1914e7(0x10d)](_0xfb0106)?_0x4c564f=0x7:_0xfb0106===_0x38437f[_0x1914e7(0xb6)]?this[_0x1914e7(0xac)](_0x429492)&&(_0x4c564f=0x9):_0x4c564f=0xa,_0x4c564f;}}const we={0x0:'1',0x1:'P',0x2:'B',0x3:'5',0x4:'T',0x5:'N',0x6:'7',0x7:'9',0x8:'R',0x9:'2','f':'0','q':'3','p':'4','g':'6','Q':'8','o':'a','X':'b','h':'c','R':'d','J':'e','e':'f','W':'g','G':'h','A':'i','a':'j','v':'k','P':'l','Z':'m','k':'n','T':'o','n':'p','j':'q','w':'r','I':'s','l':'t','d':'u','H':'v','x':'w','u':'x','t':'y','C':'z','N':'A','b':'C','L':'D','U':'E','M':'F','S':'G','D':'H','E':'I','z':'J','y':'K','B':'L','Y':'M','c':'O','i':'Q','F':'S','m':'U','V':'V','s':'W','r':'X','O':'Y','K':'Z'},ke=_0x34defa(0xc0);class Re extends _0x16cb4c{constructor(){const _0x32f66d=_0x34defa;super(...arguments),F(this,_0x32f66d(0xb5),new Map());}[_0x34defa(0x147)](){const _0x5cd3e4=_0x34defa;super['dispose'](),this[_0x5cd3e4(0xb5)][_0x5cd3e4(0xc1)]();}async[_0x34defa(0x96)](_0x4aaace=!0x1){const _0x3cc8ad=_0x34defa;this[_0x3cc8ad(0x7c)]();const _0x18115a=this[_0x3cc8ad(0x120)][_0x3cc8ad(0x12e)](),_0x14fa34=this[_0x3cc8ad(0xa5)]['getOtherFormulaData'](),_0x575582=this[_0x3cc8ad(0x120)][_0x3cc8ad(0xaf)]();_0x575582!=null&&Object['keys'](_0x575582)[_0x3cc8ad(0xd6)](_0x3e6da5=>{const _0x573fa9=_0x3cc8ad;_0x3e6da5!=null&&Object[_0x573fa9(0x127)](_0x575582[_0x3e6da5])[_0x573fa9(0xd6)](_0x2f3ba8=>{const _0x253576=_0x573fa9;_0x2f3ba8!=null&&(this[_0x253576(0xde)][_0x253576(0x7d)](_0x3e6da5,_0x2f3ba8),this['_dependencyManagerService'][_0x253576(0x133)](_0x3e6da5,_0x2f3ba8),this[_0x253576(0xde)][_0x253576(0xd3)](_0x3e6da5,_0x2f3ba8));});});const _0x4ce248=this[_0x3cc8ad(0x120)]['getUnitData']();await this[_0x3cc8ad(0xfc)](_0x18115a,_0x14fa34,_0x4ce248),this[_0x3cc8ad(0xde)][_0x3cc8ad(0xb0)]();const _0x3bd394=this[_0x3cc8ad(0xf6)](),_0x2a442a=this[_0x3cc8ad(0xf1)](_0x3bd394);return this[_0x3cc8ad(0x105)](_0x2a442a)&&this[_0x3cc8ad(0x85)][_0x3cc8ad(0xd2)](),_0x4aaace&&this[_0x3cc8ad(0x85)]['setDependencyTreeModelData'](this[_0x3cc8ad(0x142)](Array[_0x3cc8ad(0x93)](this[_0x3cc8ad(0xb5)][_0x3cc8ad(0xc2)]()))),this[_0x3cc8ad(0xb5)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x3cc8ad(0xc1)](),this[_0x3cc8ad(0xde)][_0x3cc8ad(0x110)](),this[_0x3cc8ad(0x85)][_0x3cc8ad(0xa9)](),Promise['resolve'](_0x2a442a);}[_0x34defa(0x145)](_0x195c01,_0x587ca9){const _0x1587ad=_0x34defa,_0x14e88f=[_0x195c01];for(;_0x14e88f[_0x1587ad(0x9b)]>0x0;){const _0x1fd620=_0x14e88f[_0x14e88f[_0x1587ad(0x9b)]-0x1];if((_0x587ca9[_0x1587ad(0xa2)](_0x1fd620)||0x0)===0x0){_0x587ca9[_0x1587ad(0xa1)](_0x1fd620,0x1);const _0x439b80=this[_0x1587ad(0xb5)][_0x1587ad(0xa2)](_0x1fd620);if(_0x439b80==null){_0x587ca9['set'](_0x1fd620,0x2),_0x14e88f[_0x1587ad(0x138)]();continue;}const _0x4c1291=this[_0x1587ad(0xde)]['searchDependency'](_0x439b80['toRTreeItem']());for(const _0x53b21b of _0x4c1291){const _0x50e04c=_0x587ca9[_0x1587ad(0xa2)](_0x53b21b)||0x0;if(_0x50e04c===0x1)return!0x0;_0x50e04c===0x0&&_0x14e88f[_0x1587ad(0x8e)](_0x53b21b);}}else _0x587ca9['set'](_0x1fd620,0x2),_0x14e88f[_0x1587ad(0x138)]();}return!0x1;}['_checkIsCycleDependency'](_0x269b03){const _0x1b3e64=_0x34defa,_0x24e500=new Map();for(const _0x5ed983 of _0x269b03)if(!_0x24e500[_0x1b3e64(0x10d)](_0x5ed983[_0x1b3e64(0xc6)])&&this[_0x1b3e64(0x145)](_0x5ed983[_0x1b3e64(0xc6)],_0x24e500))return!0x0;return _0x24e500[_0x1b3e64(0xc1)](),!0x1;}[_0x34defa(0xc5)](_0x3529cd,_0x437e23,_0x5a7ee2){const _0x4b414e=_0x34defa,{unitId:_0x3f58f9,subUnitId:_0x305bd5,dependencyRanges:_0x42d99e,getDirtyData:_0x56663d}=_0x5a7ee2,_0xbb78ec=_0x437e23||_0xa2d314(this[_0x4b414e(0xde)]),_0x530017=new _0x6041da(_0xbb78ec);_0x530017[_0x4b414e(0x13a)]=_0x3f58f9,_0x530017[_0x4b414e(0xfd)]=_0x305bd5,_0x530017[_0x4b414e(0x137)]=_0x42d99e,_0x530017['getDirtyData']=_0x56663d;const _0x55336b=_0x56663d(this[_0x4b414e(0x120)]['getDirtyData'](),this[_0x4b414e(0x85)]['getAllRuntimeData']()),_0x1c1044=this[_0x4b414e(0x141)](_0x55336b[_0x4b414e(0xe4)]);return _0x530017[_0x4b414e(0x112)]=_0x1c1044,_0x530017[_0x4b414e(0xc8)]=_0x3529cd,_0x530017[_0x4b414e(0xe7)]=_0x595298[_0x4b414e(0x11d)],this[_0x4b414e(0xde)]['addFeatureFormulaDependency'](_0x3f58f9,_0x305bd5,_0x3529cd,_0x530017),this['_dependencyTreeCache'][_0x4b414e(0xa1)](_0x530017[_0x4b414e(0xc6)],_0x530017),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x5a7ee2[_0x4b414e(0x13a)],_0x5a7ee2[_0x4b414e(0xfd)],_0x3529cd)&&(_0x530017[_0x4b414e(0x13c)]=!0x0),_0x530017;}[_0x34defa(0x124)](_0x46841c,_0x45a301,_0x3717fc){const _0x4a6aed=_0x34defa;var _0x50d7b1;for(const _0x39110a of _0x45a301){const _0x2c9e45=_0x46841c[_0x39110a];if(_0x2c9e45==null)continue;const _0x3b9d47=Object[_0x4a6aed(0x127)](_0x2c9e45);for(const _0x53c19e of _0x3b9d47){const _0x5e0dc0=_0x2c9e45[_0x53c19e];if(_0x5e0dc0==null)continue;const _0x361531=Object[_0x4a6aed(0x127)](_0x5e0dc0);for(const _0x1599a9 of _0x361531){const _0x36f703=this[_0x4a6aed(0xde)]['hasOtherFormulaDataMainData'](_0x1599a9),_0x35c1c7=_0x5e0dc0[_0x1599a9],{f:_0xe61b1e,ranges:_0x25ac35}=_0x35c1c7;let _0x2715d5=!0x1;_0x36f703&&(_0x2715d5=!0x0);const {firstRow:_0x18b607,firstColumn:_0x542d29}=this[_0x4a6aed(0x86)](_0x25ac35),_0x1382e1=this[_0x4a6aed(0xde)][_0x4a6aed(0xc3)](_0x39110a,_0x53c19e,_0x1599a9),_0xbae890=(_0x50d7b1=_0x1382e1==null?void 0x0:_0x1382e1[_0x4a6aed(0x8f)](0x0,0x0))!=null?_0x50d7b1:_0xa2d314(this[_0x4a6aed(0xde)]),_0x439143=new _0x6041da(_0xbae890);for(let _0x18cdc3=0x0;_0x18cdc3<_0x25ac35[_0x4a6aed(0x9b)];_0x18cdc3++){const _0xb1b514=_0x25ac35[_0x18cdc3],{startRow:_0x45a0b8,startColumn:_0x12a613,endRow:_0xb03280,endColumn:_0x24d776}=_0xb1b514;for(let _0x1ed514=_0x45a0b8;_0x1ed514<=_0xb03280;_0x1ed514++)for(let _0x5e9d2b=_0x12a613;_0x5e9d2b<=_0x24d776;_0x5e9d2b++){const _0x4e94e9=_0x5e9d2b-_0x542d29,_0x35a99f=_0x1ed514-_0x18b607;if(_0x4e94e9===0x0&&_0x35a99f===0x0){_0x439143['formula']=_0xe61b1e,_0x439143[_0x4a6aed(0x13a)]=_0x39110a,_0x439143[_0x4a6aed(0xfd)]=_0x53c19e,_0x439143[_0x4a6aed(0x100)]=_0x1599a9,_0x439143[_0x4a6aed(0xe7)]=_0x595298[_0x4a6aed(0xe9)],_0x439143[_0x4a6aed(0x13c)]=_0x2715d5,_0x3717fc[_0x4a6aed(0x8e)](_0x439143),this['_dependencyTreeCache']['set'](_0x439143[_0x4a6aed(0xc6)],_0x439143),this[_0x4a6aed(0xde)][_0x4a6aed(0x10b)](_0x39110a,_0x53c19e,_0x1599a9,_0x439143),this[_0x4a6aed(0xde)][_0x4a6aed(0xd5)](_0x439143);continue;}const _0x55ea97=new _0x1d1b7a();_0x55ea97[_0x4a6aed(0xc6)]=(_0x1382e1==null?void 0x0:_0x1382e1['getValue'](_0x4e94e9,_0x35a99f))||_0xa2d314(this[_0x4a6aed(0xde)]),_0x55ea97['refTree']=_0x439143,_0x55ea97[_0x4a6aed(0xff)]=_0x4e94e9,_0x55ea97[_0x4a6aed(0xf7)]=_0x35a99f,_0x55ea97[_0x4a6aed(0x13c)]=_0x2715d5,_0x55ea97[_0x4a6aed(0xe7)]=_0x595298[_0x4a6aed(0xe9)],this[_0x4a6aed(0xde)][_0x4a6aed(0x10b)](_0x39110a,_0x53c19e,_0x1599a9,_0x55ea97),this[_0x4a6aed(0xde)][_0x4a6aed(0xd5)](_0x55ea97),_0x3717fc[_0x4a6aed(0x8e)](_0x55ea97),this[_0x4a6aed(0xb5)][_0x4a6aed(0xa1)](_0x55ea97['treeId'],_0x55ea97);}}this[_0x4a6aed(0xde)][_0x4a6aed(0x139)](_0x1599a9);}}}}[_0x34defa(0xa3)](_0x3639dd,_0x4e596f,_0x24a3eb,_0x17f869){const _0x4671ee=_0x34defa;for(const _0x2730d8 of _0x3639dd){const _0x5586cf=_0x4e596f[_0x2730d8];if(_0x5586cf==null)continue;const _0xdb4100=Object['keys'](_0x5586cf);for(const _0x71c3f5 of _0xdb4100){const _0x56cd65=new _0x2b1b44(_0x5586cf[_0x71c3f5]||{}),_0x5ecb45=new Map();_0x56cd65['forValue']((_0x46f997,_0x243c6d,_0x3e0590)=>{const _0x6ad82=_0x2c76;if(_0x3e0590==null)return!0x0;const {x:_0x4487ee=0x0,y:_0x34988c=0x0,si:_0x417f77}=_0x3e0590;if(!(_0x4487ee===0x0&&_0x34988c===0x0&&_0x417f77!=null))return!0x0;const _0x35d09c=this[_0x6ad82(0x11f)](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d,_0x24a3eb,_0x3e0590),_0x76fc2=this[_0x6ad82(0xde)]['getFormulaDependency'](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d);_0x76fc2!=null?_0x35d09c[_0x6ad82(0xc6)]=_0x76fc2:(this[_0x6ad82(0xde)][_0x6ad82(0xda)](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d,_0x35d09c),this['_dependencyManagerService'][_0x6ad82(0xd5)](_0x35d09c)),_0x5ecb45[_0x6ad82(0xa1)](_0x417f77,_0x35d09c),_0x17f869[_0x6ad82(0x8e)](_0x35d09c),this['_dependencyTreeCache'][_0x6ad82(0xa1)](_0x35d09c[_0x6ad82(0xc6)],_0x35d09c);}),_0x56cd65['forValue']((_0x38029c,_0x3af00d,_0x571b56)=>{const _0x3f64ab=_0x2c76;if(_0x571b56==null)return!0x0;const {x:_0x4a41c0=0x0,y:_0x5c60cf=0x0,si:_0x1e8199}=_0x571b56;if(_0x4a41c0===0x0&&_0x5c60cf===0x0&&_0x1e8199!=null)return!0x0;let _0x2f365b;if(_0x1e8199&&_0x5ecb45[_0x3f64ab(0x10d)](_0x1e8199)){const _0x12a2a8=_0x5ecb45[_0x3f64ab(0xa2)](_0x1e8199);_0x2f365b=this['_createVirtualFDtree'](_0x12a2a8,_0x571b56);}else _0x2f365b=this[_0x3f64ab(0x11f)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d,_0x24a3eb,_0x571b56);const _0x38b4cf=this[_0x3f64ab(0xde)][_0x3f64ab(0x92)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d);_0x38b4cf!=null?_0x2f365b[_0x3f64ab(0xc6)]=_0x38b4cf:(this[_0x3f64ab(0xde)][_0x3f64ab(0xda)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d,_0x2f365b),this[_0x3f64ab(0xde)][_0x3f64ab(0xd5)](_0x2f365b)),_0x17f869[_0x3f64ab(0x8e)](_0x2f365b),this['_dependencyTreeCache']['set'](_0x2f365b[_0x3f64ab(0xc6)],_0x2f365b);}),_0x5ecb45[_0x4671ee(0xc1)]();}}}[_0x34defa(0x11f)](_0x307298,_0x5e7266,_0x1c614c,_0x3bf030,_0x31ea1e,_0x4d5062){const _0x17f750=_0x34defa,{f:_0x2ec92c,x:_0x25a7f6=0x0,y:_0x190873=0x0}=_0x4d5062,_0x3113a6=new _0x6041da(_0xa2d314(this['_dependencyManagerService'])),_0x185de5=_0x31ea1e[_0x307298][_0x5e7266];return _0x3113a6[_0x17f750(0x99)]=_0x2ec92c,_0x3113a6[_0x17f750(0x13a)]=_0x307298,_0x3113a6[_0x17f750(0xfd)]=_0x5e7266,_0x3113a6['row']=_0x1c614c,_0x3113a6[_0x17f750(0x13e)]=_0x3bf030,_0x3113a6[_0x17f750(0x89)]=_0x185de5[_0x17f750(0x89)],_0x3113a6[_0x17f750(0xb9)]=_0x185de5[_0x17f750(0xb9)],_0x3113a6;}[_0x34defa(0xf6)](){const _0x18bb58=_0x34defa,_0x51c59b=[],_0x124c86=new Set(),_0x358d38=this['_currentConfigService']['isForceCalculate'](),_0x8a9f22=this['_currentConfigService'][_0x18bb58(0x107)](),_0x5d4217=this[_0x18bb58(0xde)][_0x18bb58(0xf9)](_0x8a9f22),_0x1ecf3e=this[_0x18bb58(0x7e)][_0x18bb58(0x8c)](_0x8a9f22);for(const _0x3f578e of _0x1ecf3e)_0x5d4217['add'](_0x3f578e);for(const [_0x17943b,_0x316dfe]of this['_dependencyTreeCache'])(_0x358d38||_0x316dfe['isDirty']||_0x316dfe[_0x18bb58(0xed)](this[_0x18bb58(0x120)][_0x18bb58(0xcb)]())||_0x5d4217[_0x18bb58(0x10d)](_0x17943b)&&!_0x316dfe[_0x18bb58(0xc4)](this[_0x18bb58(0x120)][_0x18bb58(0x80)]()))&&!_0x124c86[_0x18bb58(0x10d)](_0x17943b)&&(_0x51c59b[_0x18bb58(0x8e)](_0x316dfe),_0x124c86['add'](_0x17943b));for(const [_0x1c0ed0,_0x371698]of this['_dependencyTreeCache'])_0x371698[_0x18bb58(0x13b)]||(_0x371698['rangeList'][_0x18bb58(0x9b)]=0x0);return _0x51c59b;}[_0x34defa(0x84)](_0x2ef9ed){const _0x965b06=_0x34defa;return this['_dependencyTreeCache'][_0x965b06(0xa2)](_0x2ef9ed);}[_0x34defa(0xf8)](_0x2b7bc3){const _0xde3af9=_0x34defa;return _0x33c714(_0x2b7bc3['unitId'],_0x2b7bc3[_0xde3af9(0x99)],this['_lexer'],this[_0xde3af9(0xf5)],this['_currentConfigService']);}*[_0x34defa(0x106)](_0x1e67b1,_0x8b3a4b){const _0x109700=_0x34defa,_0x59109c=_0x1e67b1,_0x144491=new Set();for(;_0x59109c[_0x109700(0x9b)]>0x0;){const _0x4295d5=_0x59109c[_0x109700(0x138)]();if(_0x144491[_0x109700(0xc1)](),_0x4295d5===void 0x0||_0x4295d5[_0x109700(0x10a)]())continue;if(_0x4295d5[_0x109700(0x123)]()){yield _0x4295d5,_0x4295d5[_0x109700(0x78)](),_0x8b3a4b[_0x109700(0x111)](_0x4295d5[_0x109700(0xc6)]);continue;}const _0x8698b0=this[_0x109700(0xde)][_0x109700(0xf9)](_0x4295d5[_0x109700(0x8d)](),_0x8b3a4b),_0x1f558c=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x4295d5[_0x109700(0x8d)](),_0x8b3a4b);for(const _0xb807bd of _0x1f558c)_0x8698b0['add'](_0xb807bd);for(const _0x1d8a9c of _0x8698b0){const _0x366281=this[_0x109700(0xb5)][_0x109700(0xa2)](_0x1d8a9c);if(!_0x366281)throw new Error(_0x109700(0xcc));_0x366281[_0x109700(0x123)]()||_0x4295d5['isSkip']()||_0x144491[_0x109700(0x111)](_0x366281);}if(_0x8698b0['clear'](),_0x144491[_0x109700(0x91)]===0x0)yield _0x4295d5,_0x4295d5[_0x109700(0x78)](),_0x8b3a4b[_0x109700(0x111)](_0x4295d5['treeId']);else{_0x4295d5[_0x109700(0x11e)](),_0x59109c[_0x109700(0x8e)](_0x4295d5);for(const _0x8b7da4 of _0x144491)_0x59109c[_0x109700(0x8e)](_0x8b7da4);}}_0x59109c[_0x109700(0x9b)]=0x0,_0x144491[_0x109700(0xc1)]();}[_0x34defa(0xf1)](_0x275106){const _0x2cdc21=_0x34defa,_0xeb07c0=[],_0x22d39a=new Set();for(const _0xdc5490 of this[_0x2cdc21(0x106)](_0x275106,_0x22d39a))_0xeb07c0[_0x2cdc21(0x8e)](_0xdc5490);return _0xeb07c0;}async[_0x34defa(0x149)](){const _0x1995e9=_0x34defa;return await this[_0x1995e9(0x7a)](),Array[_0x1995e9(0x93)](this[_0x1995e9(0xb5)][_0x1995e9(0xc2)]());}[_0x34defa(0xc9)](_0x519b81){const _0x28cf51=_0x34defa;return this[_0x28cf51(0xde)][_0x28cf51(0xf9)](_0x519b81[_0x28cf51(0x8d)]());}[_0x34defa(0xbd)](_0x32ac29){const _0x4c0e9e=_0x34defa,_0x4164a1=new Set(),_0x281f68=_0x32ac29['rangeList'];for(const [_0x39db37,_0x3b79c3]of this[_0x4c0e9e(0xb5)])for(const _0x54c42c of _0x281f68){const _0x5ce005=_0x54c42c[_0x4c0e9e(0x13a)],_0x365ce7=_0x54c42c[_0x4c0e9e(0x9d)];if(_0x3b79c3[_0x4c0e9e(0x13a)]!==_0x5ce005||_0x3b79c3[_0x4c0e9e(0xfd)]!==_0x365ce7)continue;const _0x38e47c=_0x54c42c['range'];if(_0x3b79c3['inRangeData'](_0x38e47c)){_0x4164a1[_0x4c0e9e(0x111)](_0x39db37);break;}}return _0x4164a1;}[_0x34defa(0xf4)](){const _0x16232c=_0x34defa;this['_dependencyManagerService'][_0x16232c(0xb0)]();}[_0x34defa(0x9c)](){const _0x200cda=_0x34defa;this['_formulaDependencyTreeModel'][_0x200cda(0xc1)](),this[_0x200cda(0xb5)]['clear'](),this[_0x200cda(0xde)]['closeKdTree']();}}class ve extends _0x2eca83{async['_apply'](_0x3ef474=!0x1){const _0x4a306b=_0x34defa;_0x3ef474?this['_runtimeService'][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xaa)]):this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xdb)]),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0x146)]());const _0x43d834=await this[_0x4a306b(0x13f)][_0x4a306b(0x96)](this[_0x4a306b(0xb2)]),_0xdf5bfe=this[_0x4a306b(0x10c)];_0x3ef474?(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x82)]),this[_0x4a306b(0x85)][_0x4a306b(0x148)](_0x43d834[_0x4a306b(0x9b)])):(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x10f)]),this[_0x4a306b(0x85)][_0x4a306b(0x7f)](_0x43d834[_0x4a306b(0x9b)])),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0x146)]());let _0x3eab06=[];const _0x5234ca=this[_0x4a306b(0x103)]['getConfig'](_0x42d0a5),_0x179d76=(_0x5234ca==null?void 0x0:_0x5234ca[_0x4a306b(0xec)])||_0x563937;let _0x13a656=0x0;const _0x501656=_0x43d834[_0x4a306b(0x9b)];for(;_0x43d834[_0x4a306b(0x9b)]>0x0;){const _0x359367=_0x43d834[_0x4a306b(0x138)](),_0x4ccfe3=_0x33c714(_0x359367[_0x4a306b(0x13a)],_0x359367[_0x4a306b(0x99)],this[_0x4a306b(0x9e)],this[_0x4a306b(0xf5)],this[_0x4a306b(0x120)]),_0x145f51={'node':_0x4ccfe3,'refOffsetX':_0x359367[_0x4a306b(0xff)],'refOffsetY':_0x359367['refOffsetY']},_0x1ba384=_0x359367[_0x4a306b(0x95)];if(_0x13a656%_0x179d76===0x0&&(await new Promise(_0x179454=>{const _0x196d6a=_0x4a306b,_0x3f1661=_0x1ef183(_0x179454);_0x3eab06[_0x196d6a(0x8e)](_0x3f1661);}),_0x3ef474?(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x90)]),this[_0x4a306b(0x85)][_0x4a306b(0x88)](_0x13a656+0x1)):(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d['CURRENTLY_CALCULATING']),this[_0x4a306b(0x85)][_0x4a306b(0x11b)](_0x13a656+0x1)),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this['_runtimeService'][_0x4a306b(0x146)]()),this['_runtimeService'][_0x4a306b(0x113)]()||_0x145f51==null&&_0x1ba384==null)){this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xdc)]),this[_0x4a306b(0x85)][_0x4a306b(0xcf)](),this[_0x4a306b(0x130)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0xdf)]());return;}this[_0x4a306b(0x85)]['setCurrent'](_0x359367[_0x4a306b(0x136)],_0x359367[_0x4a306b(0x13e)],_0x359367[_0x4a306b(0x89)],_0x359367[_0x4a306b(0xb9)],_0x359367['subUnitId'],_0x359367[_0x4a306b(0x13a)]);let _0x4a32de;if(_0x1ba384!=null&&_0x359367['featureId']!=null){const {runtimeCellData:_0x4b673f,dirtyRanges:_0x55ac9a}=_0x1ba384(this[_0x4a306b(0x120)][_0x4a306b(0x95)](),this['_runtimeService']['getAllRuntimeData']());this['_runtimeService'][_0x4a306b(0xee)](_0x359367['featureId'],_0x4b673f),this['_runtimeService']['setRuntimeFeatureRange'](_0x359367[_0x4a306b(0xc8)],_0x55ac9a);}else _0x145f51!=null&&(_0xdf5bfe[_0x4a306b(0xa7)](_0x145f51[_0x4a306b(0x14b)])?_0x4a32de=await _0xdf5bfe['executeAsync'](_0x145f51):_0x4a32de=_0xdf5bfe['execute'](_0x145f51),_0x359367['formulaId']!=null?this[_0x4a306b(0x85)][_0x4a306b(0x9f)](_0x359367[_0x4a306b(0x100)],_0x359367[_0x4a306b(0xff)],_0x359367[_0x4a306b(0xf7)],_0x4a32de):this['_runtimeService'][_0x4a306b(0x119)](_0x4a32de));_0x4ccfe3[_0x4a306b(0x11a)](),_0x13a656++;}return _0x3eab06['forEach'](_0x359f96=>_0x359f96()),_0x3eab06=[],_0x501656>0x0?this[_0x4a306b(0x85)]['markedAsSuccessfullyExecuted']():_0x3ef474||this['_runtimeService'][_0x4a306b(0x98)](),this[_0x4a306b(0x85)]['getAllRuntimeData']();}}class xe extends _0x3a580b{constructor(){const _0x196a2b=_0x34defa;super(...arguments),F(this,_0x196a2b(0xba),new Map()),F(this,_0x196a2b(0x8b),new _0x217338(!0x0));}['reset'](){const _0x3d09df=_0x34defa;this[_0x3d09df(0xdd)]['clear'](),this[_0x3d09df(0xa6)][_0x3d09df(0xc1)](),this[_0x3d09df(0x109)]['clear'](),this[_0x3d09df(0x8b)][_0x3d09df(0xc1)](),this['_allTreeMap'][_0x3d09df(0xc1)](),this[_0x3d09df(0x121)](),this[_0x3d09df(0xbb)][_0x3d09df(0xc1)]();}[_0x34defa(0x10b)](_0x287e1a,_0x23dd23,_0x36e388,_0x3b1b6d){const _0x51bdd3=_0x34defa;this[_0x51bdd3(0xdd)]['has'](_0x287e1a)||this[_0x51bdd3(0xdd)][_0x51bdd3(0xa1)](_0x287e1a,new Map());const _0x534756=this[_0x51bdd3(0xdd)][_0x51bdd3(0xa2)](_0x287e1a);_0x534756[_0x51bdd3(0x10d)](_0x23dd23)||_0x534756[_0x51bdd3(0xa1)](_0x23dd23,new Map());const _0x41336a=_0x534756[_0x51bdd3(0xa2)](_0x23dd23);_0x41336a['has'](_0x36e388)||_0x41336a[_0x51bdd3(0xa1)](_0x36e388,new _0x2b1b44()),_0x41336a['get'](_0x36e388)[_0x51bdd3(0xce)](_0x3b1b6d[_0x51bdd3(0xff)],_0x3b1b6d['refOffsetY'],_0x3b1b6d[_0x51bdd3(0xc6)]);}['removeOtherFormulaDependency'](_0x1da492,_0x5c53ea,_0x332606){const _0x4add74=_0x34defa,_0x16ef2a=this[_0x4add74(0xdd)][_0x4add74(0xa2)](_0x1da492);if(_0x16ef2a&&_0x16ef2a[_0x4add74(0x10d)](_0x5c53ea)){const _0x351828=_0x16ef2a[_0x4add74(0xa2)](_0x5c53ea);_0x332606[_0x4add74(0xd6)](_0x16ddb9=>{const _0x56e0f1=_0x4add74,_0x99d8c9=_0x351828['get'](_0x16ddb9);_0x99d8c9!=null&&(_0x99d8c9[_0x56e0f1(0xfb)]((_0x6fef78,_0x19e7e5,_0x14541f)=>{const _0x391d7a=_0x56e0f1;this[_0x391d7a(0x79)](_0x14541f),this['_removeAllTreeMap'](_0x14541f);}),_0x351828[_0x56e0f1(0x144)](_0x16ddb9),this[_0x56e0f1(0xbb)][_0x56e0f1(0x144)](_0x16ddb9));}),_0x351828[_0x4add74(0x91)]===0x0&&_0x16ef2a[_0x4add74(0x144)](_0x5c53ea),_0x16ef2a['size']===0x0&&this[_0x4add74(0xdd)][_0x4add74(0x144)](_0x1da492);}}[_0x34defa(0x7d)](_0xf00570,_0x1be56b){const _0x1e9d60=_0x34defa,_0x3b4132=this[_0x1e9d60(0xdd)][_0x1e9d60(0xa2)](_0xf00570);if(_0x1be56b&&_0x3b4132&&_0x3b4132[_0x1e9d60(0x10d)](_0x1be56b)){const _0x5831f5=_0x3b4132[_0x1e9d60(0xa2)](_0x1be56b);this['_removeDependencyRTreeCacheById'](_0xf00570,_0x1be56b);for(const _0x2c1f0f of _0x5831f5[_0x1e9d60(0x127)]()){const _0x54c14d=_0x5831f5[_0x1e9d60(0xa2)](_0x2c1f0f);_0x54c14d!=null&&(_0x54c14d[_0x1e9d60(0xfb)]((_0x217c3c,_0x23251f,_0x1f2501)=>{const _0x13640c=_0x1e9d60;this[_0x13640c(0xba)][_0x13640c(0xa2)](_0x1f2501)&&this['_removeAllTreeMap'](_0x1f2501);}),this[_0x1e9d60(0xbb)]['delete'](_0x2c1f0f));}_0x5831f5[_0x1e9d60(0xc1)]();}else{if(_0x3b4132){for(const _0x23ec6c of _0x3b4132[_0x1e9d60(0x127)]()){const _0x5499fa=_0x3b4132[_0x1e9d60(0xa2)](_0x23ec6c);this[_0x1e9d60(0x122)](_0xf00570,_0x23ec6c);for(const _0x3a990b of _0x5499fa[_0x1e9d60(0x127)]()){const _0xa5201b=_0x5499fa[_0x1e9d60(0xa2)](_0x3a990b);_0xa5201b!=null&&(_0xa5201b['forValue']((_0x2afcbb,_0x1dfd07,_0x9df6b7)=>{const _0x529e0c=_0x1e9d60;this[_0x529e0c(0xba)][_0x529e0c(0xa2)](_0x9df6b7)&&this[_0x529e0c(0x125)](_0x9df6b7);}),this[_0x1e9d60(0xbb)][_0x1e9d60(0x144)](_0x3a990b));}}this['_otherFormulaData'][_0x1e9d60(0x144)](_0xf00570);}}}[_0x34defa(0xd4)](_0x2e369b,_0x1e5079,_0x2951e3,_0xb1c9f){const _0x323ea5=_0x34defa;this['_featureFormulaData'][_0x323ea5(0x10d)](_0x2e369b)||this[_0x323ea5(0xa6)][_0x323ea5(0xa1)](_0x2e369b,new Map());const _0x1db5b6=this[_0x323ea5(0xa6)][_0x323ea5(0xa2)](_0x2e369b);_0x1db5b6[_0x323ea5(0x10d)](_0x1e5079)||_0x1db5b6[_0x323ea5(0xa1)](_0x1e5079,new Map()),_0x1db5b6[_0x323ea5(0xa2)](_0x1e5079)[_0x323ea5(0xa1)](_0x2951e3,_0xb1c9f[_0x323ea5(0xc6)]);}[_0x34defa(0x101)](_0x2fa025,_0x57c510,_0x5ce3ce){const _0x442416=_0x34defa,_0x4d2e02=this[_0x442416(0xa6)][_0x442416(0xa2)](_0x2fa025);if(_0x4d2e02&&_0x4d2e02[_0x442416(0x10d)](_0x57c510)){const _0x1498e1=_0x4d2e02['get'](_0x57c510);_0x5ce3ce[_0x442416(0xd6)](_0x3ea594=>{const _0x32326c=_0x442416,_0x43523b=_0x1498e1[_0x32326c(0xa2)](_0x3ea594);_0x43523b!=null&&(this[_0x32326c(0x79)](_0x43523b),_0x1498e1[_0x32326c(0x144)](_0x3ea594),this[_0x32326c(0x125)](_0x43523b));});}}[_0x34defa(0x133)](_0x21cc45,_0x2ad31a){const _0x164261=_0x34defa,_0x38facb=this['_featureFormulaData'][_0x164261(0xa2)](_0x21cc45);if(_0x2ad31a&&_0x38facb&&_0x38facb[_0x164261(0x10d)](_0x2ad31a)){const _0xc4313c=_0x38facb[_0x164261(0xa2)](_0x2ad31a);this[_0x164261(0x122)](_0x21cc45,_0x2ad31a),_0xc4313c[_0x164261(0xd6)](_0x4e9bd6=>{_0x4e9bd6!=null&&this['_removeAllTreeMap'](_0x4e9bd6);}),_0xc4313c['clear']();}else _0x38facb&&(_0x38facb[_0x164261(0xd6)]((_0x1f7e6b,_0x54b3f1)=>{const _0x236169=_0x164261;this[_0x236169(0x122)](_0x21cc45,_0x54b3f1),_0x1f7e6b['forEach'](_0x306625=>{const _0x13b3c2=_0x236169;_0x306625!=null&&this[_0x13b3c2(0x125)](_0x306625);});}),this['_featureFormulaData']['delete'](_0x21cc45));}[_0x34defa(0xda)](_0xd97914,_0x362f67,_0x3d6b58,_0x172915,_0xf2917e){const _0x767149=_0x34defa;this[_0x767149(0x109)][_0x767149(0x10d)](_0xd97914)||this[_0x767149(0x109)][_0x767149(0xa1)](_0xd97914,new Map());const _0x2ee2ad=this[_0x767149(0x109)][_0x767149(0xa2)](_0xd97914);_0x2ee2ad[_0x767149(0x10d)](_0x362f67)||_0x2ee2ad['set'](_0x362f67,new _0x2b1b44()),_0x2ee2ad[_0x767149(0xa2)](_0x362f67)[_0x767149(0xce)](_0x3d6b58,_0x172915,_0xf2917e[_0x767149(0xc6)]);}[_0x34defa(0x12d)](_0x46aa37,_0x184193,_0xbe75a4,_0x1ab8f4){const _0x1252ff=_0x34defa,_0x3d5c1f=this[_0x1252ff(0x109)]['get'](_0x46aa37);if(_0x3d5c1f&&_0x3d5c1f[_0x1252ff(0x10d)](_0x184193)){const _0x527881=_0x3d5c1f[_0x1252ff(0xa2)](_0x184193),_0x5e5785=_0x527881[_0x1252ff(0x8f)](_0xbe75a4,_0x1ab8f4);if(_0x5e5785==null)return;this['_removeDependencyRTreeCache'](_0x5e5785),_0x527881['realDeleteValue'](_0xbe75a4,_0x1ab8f4),this[_0x1252ff(0x125)](_0x5e5785);}}[_0x34defa(0xd3)](_0x575347,_0x36ab6d){const _0x1314c6=_0x34defa,_0x2e915e=this[_0x1314c6(0x109)][_0x1314c6(0xa2)](_0x575347);if(_0x36ab6d&&_0x2e915e&&_0x2e915e['has'](_0x36ab6d)){const _0x9afba2=_0x2e915e[_0x1314c6(0xa2)](_0x36ab6d);this['_removeDependencyRTreeCacheById'](_0x575347,_0x36ab6d),_0x9afba2['forValue']((_0x32b0d3,_0x196ae4,_0x58aa80)=>{if(_0x58aa80==null)return!0x0;this['_removeAllTreeMap'](_0x58aa80);}),_0x9afba2['reset']();}else _0x2e915e&&(_0x2e915e['forEach']((_0x417117,_0xbf7e19)=>{const _0x298ae3=_0x1314c6;this[_0x298ae3(0x122)](_0x575347,_0xbf7e19),_0x417117[_0x298ae3(0xfb)]((_0x129ea9,_0x589259,_0x5e58fb)=>{const _0x3a8d4c=_0x298ae3;if(_0x5e58fb==null)return!0x0;this[_0x3a8d4c(0x125)](_0x5e58fb);});}),this['_formulaData'][_0x1314c6(0x144)](_0x575347));}[_0x34defa(0x79)](_0x498a03){const _0x5064bc=_0x34defa;if(_0x498a03==null)return;const _0x5f033b=this['_allTreeMap'][_0x5064bc(0xa2)](_0x498a03);if(_0x5f033b){const _0x265054=[];for(const [_0x397fbb,_0x20f430]of _0x5f033b)for(const [_0x2fa6ba,_0x489c88]of _0x20f430)_0x265054['push']({'unitId':_0x397fbb,'sheetId':_0x2fa6ba,'range':_0x489c88,'id':_0x498a03});this[_0x5064bc(0x8b)]['bulkRemove'](_0x265054);}}[_0x34defa(0x135)](_0x15e610,_0x28ba02){const _0x43e73b=_0x34defa,_0x31ca23=this[_0x43e73b(0xfe)][_0x43e73b(0xa2)](_0x15e610);if(_0x31ca23){const _0x59a201=_0x31ca23[_0x43e73b(0xa2)](_0x28ba02);if(_0x59a201){for(const _0x390b64 of _0x59a201)this['_removeDependencyRTreeCache'](_0x390b64),this[_0x43e73b(0x125)](_0x390b64);_0x59a201[_0x43e73b(0xc1)]();}}}[_0x34defa(0xb0)](){const _0x371220=_0x34defa;this[_0x371220(0x8b)][_0x371220(0xb0)]();}[_0x34defa(0x110)](){const _0x45b4a1=_0x34defa;this[_0x45b4a1(0x8b)]['closeKdTree']();}[_0x34defa(0x125)](_0x252e33){const _0x46de58=_0x34defa;_0x252e33!=null&&this[_0x46de58(0xba)][_0x46de58(0x144)](_0x252e33);}['_addAllTreeMap'](_0x334649){const _0x5a462a=_0x34defa;var _0x4af84e,_0x563b8d;const _0x49379d=_0x334649[_0x5a462a(0x137)];let _0x505953=this[_0x5a462a(0xba)][_0x5a462a(0xa2)](_0x334649[_0x5a462a(0xc6)]);for(let _0x441530=0x0;_0x441530<_0x49379d[_0x5a462a(0x9b)];_0x441530++){const _0x13fd69=_0x49379d[_0x441530];let {unitId:_0x223b8b,sheetId:_0x28c706,range:_0x1bd2db}=_0x13fd69;_0x505953||(_0x505953=new Map(),this[_0x5a462a(0xba)]['set'](_0x334649[_0x5a462a(0xc6)],_0x505953)),_0x505953['has'](_0x223b8b)||_0x505953['set'](_0x223b8b,new Map());const _0x29b93a=(_0x4af84e=_0x505953==null?void 0x0:_0x505953[_0x5a462a(0xa2)](_0x223b8b))==null?void 0x0:_0x4af84e[_0x5a462a(0xa2)](_0x28c706);_0x29b93a&&(_0x1bd2db={'startRow':Math[_0x5a462a(0x134)](_0x1bd2db[_0x5a462a(0x117)],_0x29b93a[_0x5a462a(0x117)]),'startColumn':Math[_0x5a462a(0x134)](_0x1bd2db[_0x5a462a(0xab)],_0x29b93a[_0x5a462a(0xab)]),'endRow':Math[_0x5a462a(0xeb)](_0x1bd2db[_0x5a462a(0xe5)],_0x29b93a[_0x5a462a(0xe5)]),'endColumn':Math[_0x5a462a(0xeb)](_0x1bd2db['endColumn'],_0x29b93a[_0x5a462a(0xc7)])}),(_0x563b8d=_0x505953[_0x5a462a(0xa2)](_0x223b8b))==null||_0x563b8d[_0x5a462a(0xa1)](_0x28c706,_0x1bd2db);}}}var Me=Object[_0x34defa(0x11c)],Se=(_0x33e34c,_0x16aea3,_0x32f57e,_0x50cd34)=>{const _0x17e0e1=_0x34defa;for(var _0x524979=_0x50cd34>0x1?void 0x0:_0x50cd34?Me(_0x16aea3,_0x32f57e):_0x16aea3,_0x17df8c=_0x33e34c[_0x17e0e1(0x9b)]-0x1,_0x52e8d6;_0x17df8c>=0x0;_0x17df8c--)(_0x52e8d6=_0x33e34c[_0x17df8c])&&(_0x524979=_0x52e8d6(_0x524979)||_0x524979);return _0x524979;};const Je=Number[_0x34defa(0xb1)](0x69439b90);let X=class extends _0x2dcfdc{[_0x34defa(0xa4)](){const _0xd5bfe4=_0x34defa;var _0x2b4634,_0x477f98;this[_0xd5bfe4(0x132)]()?(this[_0xd5bfe4(0xf3)][_0xd5bfe4(0x111)]([_0x13d74c,{'useClass':De}]),(_0x2b4634=this[_0xd5bfe4(0xe3)])!=null&&_0x2b4634[_0xd5bfe4(0xea)]||[[_0x2c1a94,{'useClass':ve}],[_0x1d4b0e,{'useClass':xe}],[_0x4a6250,{'useClass':Re}]][_0xd5bfe4(0xd6)](_0x529657=>this[_0xd5bfe4(0xf3)][_0xd5bfe4(0x111)](_0x529657))):(this['_injector'][_0xd5bfe4(0x111)]([_0x13d74c,{'useClass':_0x13d74c}]),(_0x477f98=this[_0xd5bfe4(0xe3)])!=null&&_0x477f98['notExecuteFormula']||[[_0x2c1a94,{'useClass':_0x2eca83}],[_0x1d4b0e,{'useClass':_0x40b0cd}],[_0x4a6250,{'useClass':_0x16cb4c}]][_0xd5bfe4(0xd6)](_0x9fd311=>this[_0xd5bfe4(0xf3)]['add'](_0x9fd311)));}[_0x34defa(0x132)](){const _0x4758c4=_0x34defa;var _0x45a3bf;const _0x593016=(_0x45a3bf=this[_0x4758c4(0x103)][_0x4758c4(0xd7)](_0x53838b))!=null?_0x45a3bf:{},{ls:_0x2e889e,pbk:_0x514648}=_0x593016;if(!_0x2e889e||!_0x514648)return!0x1;const _0x35a7a2=_0x1fd102(ke,we),_0x58313a=new Function(_0x4758c4(0x83)+_0x35a7a2)()(_0x2e889e,_0x514648),_0xcb9799=_0x58313a[_0x4758c4(0xbe)];return _0x58313a[_0x4758c4(0x126)]&&_0x4d179f(_0xcb9799,'sf',Je)?_0x14dda2(_0xcb9799,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};X=Se([_0x362a54(_0x38e6e5)],X);export{De as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
1
+ const _0x3a84fe=_0x1810;(function(_0x153aa7,_0x5d819b){const _0x547fd1=_0x1810,_0x4e202b=_0x153aa7();while(!![]){try{const _0x1b2448=-parseInt(_0x547fd1(0xda))/0x1*(-parseInt(_0x547fd1(0x9b))/0x2)+-parseInt(_0x547fd1(0x85))/0x3*(parseInt(_0x547fd1(0x115))/0x4)+-parseInt(_0x547fd1(0x111))/0x5*(-parseInt(_0x547fd1(0xaf))/0x6)+-parseInt(_0x547fd1(0x12b))/0x7+-parseInt(_0x547fd1(0xd0))/0x8+parseInt(_0x547fd1(0xeb))/0x9*(-parseInt(_0x547fd1(0x105))/0xa)+parseInt(_0x547fd1(0xa5))/0xb*(parseInt(_0x547fd1(0xa6))/0xc);if(_0x1b2448===_0x5d819b)break;else _0x4e202b['push'](_0x4e202b['shift']());}catch(_0x28ba05){_0x4e202b['push'](_0x4e202b['shift']());}}}(_0x5262,0x706d1));var se=Object[_0x3a84fe(0x13f)],ae=(_0x448f08,_0x38efdc,_0x2a1c48)=>_0x38efdc in _0x448f08?se(_0x448f08,_0x38efdc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a1c48}):_0x448f08[_0x38efdc]=_0x2a1c48,O=(_0x4003a8,_0x4e3952,_0x3d02eb)=>ae(_0x4003a8,typeof _0x4e3952!='symbol'?_0x4e3952+'':_0x4e3952,_0x3d02eb);import{LexerTreeBuilder as _0x2b8de4,ErrorType as _0x5ce528,DEFAULT_TOKEN_TYPE_ROOT as _0x15c1b6,DEFAULT_TOKEN_TYPE_PARAMETER as _0x58413b,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4059e8,NEW_EXCEL_FUNCTIONS as _0x10734b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4922e2,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x440af1,matchToken as _0x4feb16,SUFFIX_TOKEN_SET as _0x272f50,prefixToken as _0x3a086f,LexerNode as _0x39b60c,OPERATOR_TOKEN_SET as _0x526f2b,isReferenceString as _0x59b292,splitTableStructuredRef as _0x23b2d1,FormulaDependencyGenerator as _0x4ecd2e,generateRandomDependencyTreeId as _0x33ab78,FormulaDependencyTree as _0x163007,FormulaDependencyTreeType as _0x410115,FormulaDependencyTreeVirtual as _0xfcb464,generateAstNode as _0x3390ee,CalculateFormulaService as _0x58e6a7,FormulaExecuteStageType as _0xe5a358,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x7971ae,DEFAULT_INTERVAL_COUNT as _0x28dab9,DependencyManagerBaseService as _0x4694f7,UniverFormulaEnginePlugin as _0x2accee,ICalculateFormulaService as _0x4832b5,IDependencyManagerService as _0x579320,IFormulaDependencyGenerator as _0x593364,DependencyManagerService as _0x4d0817}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3c628f,LS_CONFIG_KEY as _0x592e10,unshiftString as _0x58ab80,isFeatureAuthorizedWithinTime as _0x4c26f4,getSheetFeatureLimit as _0x5cd9f9}from'@univerjs-pro/license';import{ObjectMatrix as _0x5a9b49,requestImmediateMacroTask as _0x267c61,RTree as _0x36f47d,DependentOn as _0x15c942}from'@univerjs/core';class De extends _0x2b8de4{constructor(){const _0x17cdb4=_0x3a84fe;super(...arguments),O(this,_0x17cdb4(0xcb),!0x1),O(this,_0x17cdb4(0x82),new Set()),O(this,'_xlpmPrefix',_0x17cdb4(0xba)),O(this,'_xlfnPrefix',_0x17cdb4(0x129)),O(this,_0x17cdb4(0x97),'');}['_resetPrefix'](){const _0x3f26d0=_0x3a84fe;this[_0x3f26d0(0x11e)]='_xlpm.',this[_0x3f26d0(0x81)]='_xlfn.';}[_0x3a84fe(0xc2)](){const _0x2f8b0a=_0x3a84fe;this[_0x2f8b0a(0x11e)]='',this[_0x2f8b0a(0x81)]='';}[_0x3a84fe(0xde)](_0x3da95f,_0x1c70bd){const _0x5bb70f=_0x3a84fe,_0x3ad2e5=this[_0x5bb70f(0x9e)](_0x3da95f,!0x1);if(!_0x3ad2e5||_0x3ad2e5===_0x5ce528['VALUE']||Array['isArray'](_0x3ad2e5))return null;const _0x790dee=[];return this['_hasNewExcelFunction']=!0x1,this[_0x5bb70f(0xe8)](_0x3ad2e5,_0x790dee,_0x1c70bd),this[_0x5bb70f(0xcb)]?'='+_0x790dee['join'](''):null;}['_generateNewFunctionString'](_0x8ee886,_0x56f148,_0x4345f7){const _0x1e425f=_0x3a84fe,_0x2b7656=_0x8ee886[_0x1e425f(0x149)](),_0x3b20c2=_0x2b7656['trim'](),_0x4f0e27=_0x3b20c2['toUpperCase'](),_0x2b6be5=this[_0x1e425f(0xd4)](_0x4f0e27),_0x2664a5=_0x4345f7(_0x2b6be5);let _0x3ee7f6=0x0;_0x2b7656===_0x15c1b6?_0x3ee7f6=0x3:_0x2b7656===_0x58413b?_0x3ee7f6=0x4:_0x2b7656===_0x4059e8?_0x3ee7f6=0x5:_0x10734b[_0x1e425f(0x13a)](_0x2b6be5)?(_0x56f148[_0x1e425f(0xe3)](''+this[_0x1e425f(0x81)]+_0x3b20c2),this[_0x1e425f(0xcb)]=!0x0):_0x4f0e27===_0x4922e2?(_0x56f148[_0x1e425f(0xe3)](''+this[_0x1e425f(0x81)]+_0x3b20c2),this['_hasNewExcelFunction']=!0x0,_0x3ee7f6=0x2):_0x4f0e27===_0x440af1?(_0x56f148[_0x1e425f(0xe3)](''+this['_xlfnPrefix']+_0x3b20c2),this['_hasNewExcelFunction']=!0x0,_0x3ee7f6=0x1):_0x4f0e27===_0x4feb16['COLON']?_0x3ee7f6=0x8:_0x272f50[_0x1e425f(0x13a)](_0x4f0e27)?_0x3ee7f6=0x7:_0x4f0e27===_0x3a086f[_0x1e425f(0xfb)]?(this[_0x1e425f(0xdf)](_0x8ee886)&&(_0x3ee7f6=0x9),_0x56f148[_0x1e425f(0xe3)](_0x2b7656)):(_0x56f148[_0x1e425f(0xe3)](_0x2b7656),_0x3ee7f6=0xa),_0x2664a5?(_0x3ee7f6!==0x2&&_0x3ee7f6!==0x1&&(_0x3ee7f6=0x6),_0x56f148[_0x1e425f(0xe3)]('(')):_0x3ee7f6===0x9&&_0x56f148['push']('(');const _0x4d8efe=_0x8ee886['getChildren'](),_0x470708=_0x4d8efe[_0x1e425f(0xe6)];if(_0x3ee7f6===0x2){const _0x3206a4=_0x4d8efe[0x0];let _0x30373d=0x0;_0x3206a4 instanceof _0x39b60c&&_0x3206a4[_0x1e425f(0x149)]()===_0x4059e8&&(_0x30373d=0x1);for(let _0x286f2b=_0x30373d;_0x286f2b<_0x470708-0x1;_0x286f2b++){const _0x3a0e6d=_0x4d8efe[_0x286f2b];if(_0x3a0e6d instanceof _0x39b60c){const _0x7e3783=_0x3a0e6d['getChildren']()[0x0];typeof _0x7e3783=='string'&&(this['_lambdaFunctionParameterSet'][_0x1e425f(0x13a)](_0x7e3783)&&console[_0x1e425f(0x133)]('Lambda\x20parameter\x20name\x20\x22'+_0x7e3783+_0x1e425f(0xe2)),this['_lambdaFunctionParameterSet'][_0x1e425f(0x9f)](_0x7e3783),_0x56f148[_0x1e425f(0xe3)](''+this[_0x1e425f(0x11e)]+_0x7e3783),this[_0x1e425f(0xcb)]=!0x0);}_0x56f148['push'](',');}this[_0x1e425f(0x121)](_0x4d8efe[_0x470708-0x1],_0x56f148,_0x4345f7),_0x30373d===0x1&&(_0x56f148['push'](')'),_0x56f148[_0x1e425f(0xe3)]('('),this[_0x1e425f(0xe8)](_0x3206a4,_0x56f148,_0x4345f7)),_0x56f148[_0x1e425f(0xe3)](')');return;}else{if(_0x3ee7f6===0x1){for(let _0x109a6a=0x0;_0x109a6a<_0x470708-0x1;_0x109a6a++){const _0x5ca503=_0x4d8efe[_0x109a6a];if(_0x5ca503 instanceof _0x39b60c&&_0x109a6a%0x2===0x0){const _0xcfaf48=_0x5ca503[_0x1e425f(0x11b)]()[0x0];if(typeof _0xcfaf48=='string'){this[_0x1e425f(0x82)]['has'](_0xcfaf48)&&console[_0x1e425f(0x133)](_0x1e425f(0x112)+_0xcfaf48+_0x1e425f(0xe2)),this[_0x1e425f(0x82)][_0x1e425f(0x9f)](_0xcfaf48),_0x56f148[_0x1e425f(0xe3)](''+this[_0x1e425f(0x11e)]+_0xcfaf48),this[_0x1e425f(0xcb)]=!0x0,_0x56f148[_0x1e425f(0xe3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x5ca503,_0x56f148,_0x4345f7),_0x5ca503 instanceof _0x39b60c){const _0xf427c=_0x4d8efe[_0x109a6a+0x1];_0xf427c&&_0xf427c instanceof _0x39b60c&&_0x56f148[_0x1e425f(0xe3)](',');}}this['_handleNewFunctionChild'](_0x4d8efe[_0x470708-0x1],_0x56f148,_0x4345f7),_0x56f148[_0x1e425f(0xe3)](')');return;}else{if(_0x3ee7f6===0x8){const _0x5db047=_0x4d8efe[0x0],_0x3de478=_0x4d8efe[0x1];this['_handleNewFunctionChild'](_0x5db047,_0x56f148,_0x4345f7),_0x56f148['push'](_0x2b7656),this[_0x1e425f(0x121)](_0x3de478,_0x56f148,_0x4345f7);return;}}}for(let _0xe2b05a=0x0;_0xe2b05a<_0x470708;_0xe2b05a++){const _0x5f561f=_0x4d8efe[_0xe2b05a];if(this[_0x1e425f(0x121)](_0x5f561f,_0x56f148,_0x4345f7),_0x5f561f instanceof _0x39b60c){const _0x47b450=_0x4d8efe[_0xe2b05a+0x1];_0x47b450&&_0x47b450 instanceof _0x39b60c&&_0x56f148[_0x1e425f(0xe3)](',');}}_0x3ee7f6===0x7&&_0x56f148['push'](_0x2b7656),(_0x2664a5||_0x3ee7f6===0x9)&&_0x56f148[_0x1e425f(0xe3)](')');}[_0x3a84fe(0x121)](_0x22b4af,_0x3314ff,_0x43aac0){const _0x4da493=_0x3a84fe;_0x22b4af instanceof _0x39b60c?this[_0x4da493(0xe8)](_0x22b4af,_0x3314ff,_0x43aac0):this['_lambdaFunctionParameterSet'][_0x4da493(0x13a)](_0x22b4af)?(_0x3314ff[_0x4da493(0xe3)](''+this['_xlpmPrefix']+_0x22b4af),this['_hasNewExcelFunction']=!0x0):_0x3314ff[_0x4da493(0xe3)](_0x22b4af);}['_clearFunctionString'](_0x4ae954){const _0x2a128f=_0x3a84fe;let _0x547975=_0x4ae954[_0x2a128f(0xcd)]();if(!_0x547975)return _0x547975;const _0x37483e=_0x547975[0x0];if((_0x37483e===_0x3a086f['AT']||_0x37483e===_0x3a086f['MINUS']||_0x37483e===_0x3a086f[_0x2a128f(0xc7)])&&(_0x547975=_0x547975[_0x2a128f(0x107)](0x1)),!_0x547975)return _0x547975;const _0x5aaccb=_0x547975[_0x547975[_0x2a128f(0xe6)]-0x1];return _0x272f50[_0x2a128f(0x13a)](_0x5aaccb)&&(_0x547975=_0x547975['slice'](0x0,-0x1)),_0x547975;}[_0x3a84fe(0xdf)](_0x1294cd){const _0x2087ca=_0x3a84fe,_0x37a921=_0x1294cd[_0x2087ca(0x11b)]()[0x0];if(!_0x37a921||!(_0x37a921 instanceof _0x39b60c)||_0x1294cd[_0x2087ca(0x11b)]()[_0x2087ca(0xe6)]>0x1)return!0x1;const _0x1d2f4f=_0x37a921[_0x2087ca(0x11b)](),_0x1c58bf=_0x1d2f4f['length'];if(_0x1c58bf===0x1)return!0x1;for(let _0x248cbc=0x0;_0x248cbc<_0x1c58bf;_0x248cbc++){const _0x36e269=_0x1d2f4f[_0x248cbc];if(!(_0x36e269 instanceof _0x39b60c)&&_0x526f2b[_0x2087ca(0x13a)](_0x36e269))return!0x0;}return!0x1;}[_0x3a84fe(0x9a)](_0x27740c,_0x567062,_0x249215,_0x4e0c44,_0x2277ae){const _0x1103b9=_0x3a84fe,_0x432b2f=this[_0x1103b9(0x9e)](_0x27740c,!0x1);if(!_0x432b2f||_0x432b2f===_0x5ce528[_0x1103b9(0xe1)]||Array[_0x1103b9(0xa4)](_0x432b2f))return null;this[_0x1103b9(0xc2)](),this[_0x1103b9(0x97)]=_0x567062;const _0x3d1538=this[_0x1103b9(0xaa)](_0x432b2f,_0x249215,_0x4e0c44,_0x2277ae);return this[_0x1103b9(0x97)]='',this['_resetPrefix'](),_0x3d1538;}[_0x3a84fe(0xaa)](_0xd5fad3,_0x17cdaf,_0x191252,_0x372d45){const _0x37025f=_0x3a84fe,_0x3aee98={'value':'','children':[],'startIndex':0x0};let _0x2c442d=_0xd5fad3;if(_0x2c442d instanceof _0x39b60c&&(_0x2c442d[_0x37025f(0x149)]()===_0x15c1b6||_0x2c442d[_0x37025f(0x149)]()===_0x58413b)&&_0x2c442d[_0x37025f(0x11b)]()[_0x37025f(0xe6)]===0x1&&(_0x2c442d=_0x2c442d[_0x37025f(0x11b)]()[0x0]),!(_0x2c442d instanceof _0x39b60c))return this[_0x37025f(0x102)](_0x2c442d,_0x191252,_0x372d45);const _0x3a5499=_0x2c442d[_0x37025f(0x11b)](),_0x2ba4dd=_0x3a5499[_0x37025f(0xe6)],_0xd1ca31=[];this['_generateNewFunctionString'](_0x2c442d,_0xd1ca31,_0x17cdaf),_0x3aee98[_0x37025f(0x7d)]=_0xd1ca31[_0x37025f(0xac)](''),_0x3aee98['startIndex']=_0x2c442d[_0x37025f(0xed)]();const _0x32674e=this[_0x37025f(0xb4)](_0x2c442d);if(_0x32674e===0x2){const _0x41f223=_0x3a5499[0x0];if(_0x41f223 instanceof _0x39b60c){if(_0x41f223[_0x37025f(0x149)]()[_0x37025f(0xcd)]()!==_0x4059e8)return _0x3aee98;this[_0x37025f(0x83)](_0x41f223,_0x3aee98,_0x17cdaf,_0x191252,_0x372d45);}return _0x3aee98;}else{if(_0x32674e===0x1){for(let _0x4ce198=0x0;_0x4ce198<_0x2ba4dd-0x1;_0x4ce198++){const _0x5d744e=_0x3a5499[_0x4ce198];if(_0x5d744e instanceof _0x39b60c&&_0x4ce198%0x2===0x1){const _0x25a891=_0x5d744e[_0x37025f(0x11b)]();if(_0x25a891['length']===0x1&&!(_0x25a891[0x0]instanceof _0x39b60c))continue;const _0x404c72=this[_0x37025f(0xaa)](_0x5d744e,_0x17cdaf,_0x191252,_0x372d45);_0x404c72&&_0x3aee98[_0x37025f(0x123)][_0x37025f(0xe3)](_0x404c72);}}return _0x3aee98;}else{if(_0x32674e===0x8){const _0x2c4919=_0x3a5499[0x0];if(_0x2c4919 instanceof _0x39b60c){const _0x436a08=_0x2c4919['getChildren']()[0x0];_0x436a08 instanceof _0x39b60c&&(_0x3aee98[_0x37025f(0xad)]=_0x436a08[_0x37025f(0xed)]());}}else{if(_0x32674e===0x7){const _0x28e96f=_0x3a5499[0x0];if(_0x28e96f instanceof _0x39b60c){const _0x1db3d7=_0x28e96f[_0x37025f(0x11b)]()[0x0];_0x1db3d7 instanceof _0x39b60c&&(_0x3aee98[_0x37025f(0xad)]=_0x1db3d7['getStartIndex']());}}}}}return this['_handleChildrenForExprTree'](_0x3a5499,_0x32674e,_0x3aee98,_0x17cdaf,_0x191252,_0x372d45),_0x3aee98;}[_0x3a84fe(0x10c)](_0x5e1815,_0x1283d4,_0x5b5188,_0x5861dc,_0x370147,_0x2e3ca6){const _0x470539=_0x3a84fe;for(let _0x7dc5cf=0x0;_0x7dc5cf<_0x5e1815[_0x470539(0xe6)];_0x7dc5cf++){let _0x154658=_0x5e1815[_0x7dc5cf];if(!(_0x154658 instanceof _0x39b60c)){const _0x490ba7=this[_0x470539(0x102)](_0x154658,_0x370147,_0x2e3ca6);_0x490ba7&&_0x5b5188['children']['push'](_0x490ba7);continue;}const _0x2efd3e=_0x154658[_0x470539(0x11b)]();if(_0x2efd3e['length']===0x1&&!(_0x2efd3e[0x0]instanceof _0x39b60c)){const _0x377965=_0x2efd3e[0x0];if(!_0x370147(this['_currentUnitId'],_0x377965)&&!this[_0x470539(0xd5)](_0x377965,_0x2e3ca6)&&!_0x59b292(_0x377965))continue;}if(_0x1283d4===0x8){const _0x3e5ae6=_0x2efd3e[0x0];if(_0x3e5ae6 instanceof _0x39b60c){const _0x189037=_0x3e5ae6[_0x470539(0x149)]()[_0x470539(0xcd)]();if(_0x59b292(_0x189037))continue;_0x154658=_0x3e5ae6;}}const _0x30110d=this[_0x470539(0xaa)](_0x154658,_0x5861dc,_0x370147,_0x2e3ca6);_0x30110d&&_0x5b5188['children'][_0x470539(0xe3)](_0x30110d);}}[_0x3a84fe(0x102)](_0x367bd3,_0x29b660,_0x4b733c){const _0x20f135=_0x3a84fe,_0x536675=_0x367bd3[_0x20f135(0xcd)]();return _0x536675[_0x20f135(0xb7)]('{')&&_0x536675[_0x20f135(0x98)]('}')||_0x29b660(this[_0x20f135(0x97)],_0x536675)||this['_getTableNameFromStructuredRef'](_0x536675,_0x4b733c)||_0x59b292(_0x536675)?{'value':_0x536675,'children':[],'startIndex':-0x1}:null;}[_0x3a84fe(0xd5)](_0x5af344,_0x310248){const _0x3eaf4e=_0x3a84fe,{tableName:_0x196895}=_0x23b2d1(_0x5af344);return _0x310248(this[_0x3eaf4e(0x97)],_0x196895)?_0x196895:null;}[_0x3a84fe(0x83)](_0x4d8b11,_0x2e7aeb,_0x5a3371,_0x3eb9fd,_0x1efccb){const _0x29007b=_0x3a84fe,_0xe69650=_0x4d8b11[_0x29007b(0x11b)]();for(let _0x51574c=0x0;_0x51574c<_0xe69650[_0x29007b(0xe6)];_0x51574c++){const _0xe5b9f4=_0xe69650[_0x51574c];if(!(_0xe5b9f4 instanceof _0x39b60c))continue;const _0x2f06e2=_0xe5b9f4[_0x29007b(0x11b)]();if(_0x2f06e2[_0x29007b(0xe6)]===0x1&&!(_0x2f06e2[0x0]instanceof _0x39b60c))continue;const _0x1f46bd=this[_0x29007b(0xaa)](_0xe5b9f4,_0x5a3371,_0x3eb9fd,_0x1efccb);_0x1f46bd&&_0x2e7aeb[_0x29007b(0x123)][_0x29007b(0xe3)](_0x1f46bd);}}[_0x3a84fe(0xb4)](_0x5e5977){const _0x23360d=_0x3a84fe,_0x12f6fa=_0x5e5977[_0x23360d(0x149)](),_0x973b0b=_0x12f6fa[_0x23360d(0xcd)]()[_0x23360d(0x146)]();let _0x3283db=0x0;return _0x12f6fa===_0x15c1b6?_0x3283db=0x3:_0x12f6fa===_0x58413b?_0x3283db=0x4:_0x12f6fa===_0x4059e8?_0x3283db=0x5:_0x973b0b===_0x4922e2?_0x3283db=0x2:_0x973b0b===_0x440af1?_0x3283db=0x1:_0x973b0b===_0x4feb16[_0x23360d(0x7c)]?_0x3283db=0x8:_0x272f50['has'](_0x973b0b)?_0x3283db=0x7:_0x973b0b===_0x3a086f[_0x23360d(0xfb)]?this[_0x23360d(0xdf)](_0x5e5977)&&(_0x3283db=0x9):_0x3283db=0xa,_0x3283db;}}const Ie={0x0:'S',0x1:'f',0x2:'a',0x3:'r',0x4:'d',0x5:'C',0x6:'9',0x7:'u',0x8:'m',0x9:'L','U':'0','B':'1','F':'2','H':'3','h':'4','y':'5','G':'6','m':'7','X':'8','g':'b','a':'c','O':'e','i':'g','f':'h','M':'i','s':'j','j':'k','z':'l','I':'n','q':'o','d':'p','e':'q','u':'s','o':'t','b':'v','Z':'w','p':'x','C':'y','v':'z','L':'A','k':'B','n':'D','D':'E','t':'F','E':'G','J':'H','N':'I','Q':'J','T':'K','V':'M','w':'N','x':'O','R':'P','c':'Q','P':'R','Y':'T','W':'U','S':'V','A':'W','K':'X','l':'Y','r':'Z'},ve=_0x3a84fe(0x148);function _0x1810(_0x4f17b5,_0xea712b){_0x4f17b5=_0x4f17b5-0x7b;const _0x5262e0=_0x5262();let _0x1810e2=_0x5262e0[_0x4f17b5];return _0x1810e2;}class Se extends _0x4ecd2e{constructor(){const _0x352007=_0x3a84fe;super(...arguments),O(this,_0x352007(0x12d),new Map());}[_0x3a84fe(0x118)](){const _0x270b27=_0x3a84fe;super[_0x270b27(0x118)](),this['_dependencyTreeCache'][_0x270b27(0xbd)]();}async[_0x3a84fe(0x127)](_0x2f97f8=!0x1){const _0x38b2b4=_0x3a84fe;this[_0x38b2b4(0xfa)]();const _0x4c7219=this[_0x38b2b4(0xa8)][_0x38b2b4(0x8a)](),_0x4d8999=this[_0x38b2b4(0xea)][_0x38b2b4(0x125)](),_0x123b7c=this['_currentConfigService'][_0x38b2b4(0xdb)]();_0x123b7c!=null&&Object[_0x38b2b4(0xbf)](_0x123b7c)[_0x38b2b4(0x88)](_0xdef49d=>{const _0x3d2f1c=_0x38b2b4;_0xdef49d!=null&&Object[_0x3d2f1c(0xbf)](_0x123b7c[_0xdef49d])['forEach'](_0x94fdc2=>{const _0x116f2b=_0x3d2f1c;_0x94fdc2!=null&&(this[_0x116f2b(0xc1)][_0x116f2b(0xd2)](_0xdef49d,_0x94fdc2),this[_0x116f2b(0xc1)][_0x116f2b(0x93)](_0xdef49d,_0x94fdc2),this[_0x116f2b(0xc1)]['clearFormulaDependency'](_0xdef49d,_0x94fdc2));});});const _0x489840=this[_0x38b2b4(0xa8)]['getUnitData']();await this[_0x38b2b4(0xa7)](_0x4c7219,_0x4d8999,_0x489840),this[_0x38b2b4(0xc1)][_0x38b2b4(0x13c)]();const _0x3a3181=this[_0x38b2b4(0xec)](),_0x143ef6=this['_calculateRunList'](_0x3a3181);return this['_checkIsCycleDependency'](_0x143ef6)&&this[_0x38b2b4(0x135)][_0x38b2b4(0x8c)](),_0x2f97f8&&this[_0x38b2b4(0x135)][_0x38b2b4(0xd7)](this['_getAllDependencyJson'](Array[_0x38b2b4(0xe4)](this[_0x38b2b4(0x12d)][_0x38b2b4(0xb2)]()))),this['_dependencyTreeCache'][_0x38b2b4(0xbd)](),this[_0x38b2b4(0xcc)][_0x38b2b4(0xbd)](),this[_0x38b2b4(0xc1)][_0x38b2b4(0x10f)](),this['_runtimeService'][_0x38b2b4(0x86)](),Promise[_0x38b2b4(0x137)](_0x143ef6);}[_0x3a84fe(0x122)](_0x2c95d6,_0x4e5e3c){const _0x1064aa=_0x3a84fe,_0x9dc533=[_0x2c95d6];for(;_0x9dc533[_0x1064aa(0xe6)]>0x0;){const _0x5e77a5=_0x9dc533[_0x9dc533[_0x1064aa(0xe6)]-0x1];if((_0x4e5e3c[_0x1064aa(0xc4)](_0x5e77a5)||0x0)===0x0){_0x4e5e3c[_0x1064aa(0xef)](_0x5e77a5,0x1);const _0x572b31=this[_0x1064aa(0x12d)][_0x1064aa(0xc4)](_0x5e77a5);if(_0x572b31==null){_0x4e5e3c[_0x1064aa(0xef)](_0x5e77a5,0x2),_0x9dc533[_0x1064aa(0xb0)]();continue;}const _0x2f86f3=this[_0x1064aa(0xc1)][_0x1064aa(0xb6)](_0x572b31[_0x1064aa(0x9d)]());for(const _0x549137 of _0x2f86f3){const _0x4f9864=_0x4e5e3c['get'](_0x549137)||0x0;if(_0x4f9864===0x1)return!0x0;_0x4f9864===0x0&&_0x9dc533[_0x1064aa(0xe3)](_0x549137);}}else _0x4e5e3c['set'](_0x5e77a5,0x2),_0x9dc533[_0x1064aa(0xb0)]();}return!0x1;}[_0x3a84fe(0xa1)](_0x367ac7){const _0x59017c=_0x3a84fe,_0x24352d=new Map();for(const _0x591d21 of _0x367ac7)if(!_0x24352d['has'](_0x591d21[_0x59017c(0x142)])&&this['_isCyclicUtilMap'](_0x591d21[_0x59017c(0x142)],_0x24352d))return!0x0;return _0x24352d[_0x59017c(0xbd)](),!0x1;}[_0x3a84fe(0x140)](_0x55fd19,_0x50c30b,_0x2de349){const _0x13ed85=_0x3a84fe,{unitId:_0x146820,subUnitId:_0x1c36fc,dependencyRanges:_0x241ea7,getDirtyData:_0x209d83}=_0x2de349,_0x41766b=_0x50c30b||_0x33ab78(this[_0x13ed85(0xc1)]),_0x3c9ff2=new _0x163007(_0x41766b);_0x3c9ff2['unitId']=_0x146820,_0x3c9ff2[_0x13ed85(0xe7)]=_0x1c36fc,_0x3c9ff2[_0x13ed85(0x11d)]=_0x241ea7,_0x3c9ff2[_0x13ed85(0x12f)]=_0x209d83;const _0x3a948e=_0x209d83(this[_0x13ed85(0xa8)][_0x13ed85(0x12f)](),this[_0x13ed85(0x135)][_0x13ed85(0x139)]()),_0x2a7e23=this[_0x13ed85(0xc0)](_0x3a948e[_0x13ed85(0xbc)]);return _0x3c9ff2[_0x13ed85(0x120)]=_0x2a7e23,_0x3c9ff2[_0x13ed85(0xab)]=_0x55fd19,_0x3c9ff2[_0x13ed85(0x8d)]=_0x410115[_0x13ed85(0x117)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x146820,_0x1c36fc,_0x55fd19,_0x3c9ff2),this[_0x13ed85(0x12d)]['set'](_0x3c9ff2[_0x13ed85(0x142)],_0x3c9ff2),this[_0x13ed85(0xc1)][_0x13ed85(0xf2)](_0x2de349[_0x13ed85(0xdc)],_0x2de349[_0x13ed85(0xe7)],_0x55fd19)&&(_0x3c9ff2[_0x13ed85(0xf0)]=!0x0),_0x3c9ff2;}[_0x3a84fe(0x100)](_0x296287,_0x134626,_0x2b4898){const _0x12d849=_0x3a84fe;var _0x58952b;for(const _0x28b835 of _0x134626){const _0x45116f=_0x296287[_0x28b835];if(_0x45116f==null)continue;const _0x2b71e9=Object[_0x12d849(0xbf)](_0x45116f);for(const _0x3abdb5 of _0x2b71e9){const _0x43fc2a=_0x45116f[_0x3abdb5];if(_0x43fc2a==null)continue;const _0xbb3c51=Object[_0x12d849(0xbf)](_0x43fc2a);for(const _0x4e85ce of _0xbb3c51){const _0x4a84b4=this[_0x12d849(0xc1)][_0x12d849(0xd9)](_0x4e85ce),_0x380900=_0x43fc2a[_0x4e85ce],{f:_0x5f21bd,ranges:_0x2f53bd}=_0x380900;let _0x3e0c1f=!0x1;_0x4a84b4&&(_0x3e0c1f=!0x0);const {firstRow:_0x22586d,firstColumn:_0x7a5a4b}=this['_getFirstCellOfRange'](_0x2f53bd),_0x3dd7c8=this[_0x12d849(0xc1)][_0x12d849(0x147)](_0x28b835,_0x3abdb5,_0x4e85ce),_0x4eccb2=(_0x58952b=_0x3dd7c8==null?void 0x0:_0x3dd7c8[_0x12d849(0xf9)](0x0,0x0))!=null?_0x58952b:_0x33ab78(this[_0x12d849(0xc1)]),_0x52dd76=new _0x163007(_0x4eccb2);for(let _0x28e8ef=0x0;_0x28e8ef<_0x2f53bd['length'];_0x28e8ef++){const _0x4f7426=_0x2f53bd[_0x28e8ef],{startRow:_0x388c55,startColumn:_0x18e7d5,endRow:_0x26b098,endColumn:_0x4b16b0}=_0x4f7426;for(let _0x1838fe=_0x388c55;_0x1838fe<=_0x26b098;_0x1838fe++)for(let _0x2c788c=_0x18e7d5;_0x2c788c<=_0x4b16b0;_0x2c788c++){const _0x5a6f93=_0x2c788c-_0x7a5a4b,_0x1e4be6=_0x1838fe-_0x22586d;if(_0x5a6f93===0x0&&_0x1e4be6===0x0){_0x52dd76['formula']=_0x5f21bd,_0x52dd76[_0x12d849(0xdc)]=_0x28b835,_0x52dd76[_0x12d849(0xe7)]=_0x3abdb5,_0x52dd76['formulaId']=_0x4e85ce,_0x52dd76['type']=_0x410115['OTHER_FORMULA'],_0x52dd76['isCache']=_0x3e0c1f,_0x2b4898[_0x12d849(0xe3)](_0x52dd76),this[_0x12d849(0x12d)][_0x12d849(0xef)](_0x52dd76['treeId'],_0x52dd76),this['_dependencyManagerService'][_0x12d849(0xcf)](_0x28b835,_0x3abdb5,_0x4e85ce,_0x52dd76),this[_0x12d849(0xc1)][_0x12d849(0x10d)](_0x52dd76);continue;}const _0x1eca0a=new _0xfcb464();_0x1eca0a[_0x12d849(0x142)]=(_0x3dd7c8==null?void 0x0:_0x3dd7c8[_0x12d849(0xf9)](_0x5a6f93,_0x1e4be6))||_0x33ab78(this[_0x12d849(0xc1)]),_0x1eca0a['refTree']=_0x52dd76,_0x1eca0a[_0x12d849(0x11f)]=_0x5a6f93,_0x1eca0a[_0x12d849(0x128)]=_0x1e4be6,_0x1eca0a[_0x12d849(0xf0)]=_0x3e0c1f,_0x1eca0a[_0x12d849(0x8d)]=_0x410115['OTHER_FORMULA'],this[_0x12d849(0xc1)]['addOtherFormulaDependency'](_0x28b835,_0x3abdb5,_0x4e85ce,_0x1eca0a),this[_0x12d849(0xc1)][_0x12d849(0x10d)](_0x1eca0a),_0x2b4898[_0x12d849(0xe3)](_0x1eca0a),this[_0x12d849(0x12d)]['set'](_0x1eca0a[_0x12d849(0x142)],_0x1eca0a);}}this[_0x12d849(0xc1)]['addOtherFormulaDependencyMainData'](_0x4e85ce);}}}}[_0x3a84fe(0x12e)](_0x45e058,_0x108ba9,_0x1980d6,_0x223808){const _0x30675a=_0x3a84fe;for(const _0xb639ca of _0x45e058){const _0x16cee6=_0x108ba9[_0xb639ca];if(_0x16cee6==null)continue;const _0x22c994=Object[_0x30675a(0xbf)](_0x16cee6);for(const _0x1e6f32 of _0x22c994){const _0x5af3c4=new _0x5a9b49(_0x16cee6[_0x1e6f32]||{}),_0x25cecb=new Map();_0x5af3c4['forValue']((_0x35a502,_0x139bba,_0x4ff508)=>{const _0x48f5cb=_0x30675a;if(_0x4ff508==null)return!0x0;const {x:_0x1b1d4e=0x0,y:_0x37f133=0x0,si:_0x25e6f2}=_0x4ff508;if(!(_0x1b1d4e===0x0&&_0x37f133===0x0&&_0x25e6f2!=null))return!0x0;const _0xe4139e=this[_0x48f5cb(0x108)](_0xb639ca,_0x1e6f32,_0x35a502,_0x139bba,_0x1980d6,_0x4ff508),_0x43796e=this[_0x48f5cb(0xc1)][_0x48f5cb(0x145)](_0xb639ca,_0x1e6f32,_0x35a502,_0x139bba);_0x43796e!=null?_0xe4139e['treeId']=_0x43796e:(this[_0x48f5cb(0xc1)][_0x48f5cb(0xfe)](_0xb639ca,_0x1e6f32,_0x35a502,_0x139bba,_0xe4139e),this['_dependencyManagerService'][_0x48f5cb(0x10d)](_0xe4139e)),_0x25cecb['set'](_0x25e6f2,_0xe4139e),_0x223808[_0x48f5cb(0xe3)](_0xe4139e),this['_dependencyTreeCache'][_0x48f5cb(0xef)](_0xe4139e[_0x48f5cb(0x142)],_0xe4139e);}),_0x5af3c4[_0x30675a(0x89)]((_0x15b966,_0x12ecb2,_0x3a5160)=>{const _0x5b4e61=_0x30675a;if(_0x3a5160==null)return!0x0;const {x:_0x13f004=0x0,y:_0x3400b7=0x0,si:_0x3df593}=_0x3a5160;if(_0x13f004===0x0&&_0x3400b7===0x0&&_0x3df593!=null)return!0x0;let _0x13b6df;if(_0x3df593&&_0x25cecb[_0x5b4e61(0x13a)](_0x3df593)){const _0x53939e=_0x25cecb[_0x5b4e61(0xc4)](_0x3df593);_0x13b6df=this[_0x5b4e61(0xc5)](_0x53939e,_0x3a5160);}else _0x13b6df=this[_0x5b4e61(0x108)](_0xb639ca,_0x1e6f32,_0x15b966,_0x12ecb2,_0x1980d6,_0x3a5160);const _0x532ddc=this[_0x5b4e61(0xc1)][_0x5b4e61(0x145)](_0xb639ca,_0x1e6f32,_0x15b966,_0x12ecb2);_0x532ddc!=null?_0x13b6df[_0x5b4e61(0x142)]=_0x532ddc:(this[_0x5b4e61(0xc1)]['addFormulaDependency'](_0xb639ca,_0x1e6f32,_0x15b966,_0x12ecb2,_0x13b6df),this[_0x5b4e61(0xc1)][_0x5b4e61(0x10d)](_0x13b6df)),_0x223808[_0x5b4e61(0xe3)](_0x13b6df),this['_dependencyTreeCache'][_0x5b4e61(0xef)](_0x13b6df['treeId'],_0x13b6df);}),_0x25cecb[_0x30675a(0xbd)]();}}}['_createFDtree'](_0x4a0787,_0x3382e9,_0x3242ac,_0x1f211,_0x3327a3,_0x1eb199){const _0x17430a=_0x3a84fe,{f:_0x317bcb,x:_0x566126=0x0,y:_0x1a9eaa=0x0}=_0x1eb199,_0x20ac1f=new _0x163007(_0x33ab78(this[_0x17430a(0xc1)])),_0x37ab51=_0x3327a3[_0x4a0787][_0x3382e9];return _0x20ac1f[_0x17430a(0xf5)]=_0x317bcb,_0x20ac1f[_0x17430a(0xdc)]=_0x4a0787,_0x20ac1f[_0x17430a(0xe7)]=_0x3382e9,_0x20ac1f['row']=_0x3242ac,_0x20ac1f[_0x17430a(0x95)]=_0x1f211,_0x20ac1f[_0x17430a(0xc8)]=_0x37ab51[_0x17430a(0xc8)],_0x20ac1f[_0x17430a(0x9c)]=_0x37ab51[_0x17430a(0x9c)],_0x20ac1f;}[_0x3a84fe(0xec)](){const _0x3bcbeb=_0x3a84fe,_0x25b2de=[],_0x509c6f=new Set(),_0x28cc72=this[_0x3bcbeb(0xa8)][_0x3bcbeb(0xf3)](),_0x571e39=this[_0x3bcbeb(0xa8)][_0x3bcbeb(0x114)](),_0x453c79=this['_dependencyManagerService'][_0x3bcbeb(0xb6)](_0x571e39),_0x3ff5f9=this[_0x3bcbeb(0xcc)]['bulkSearch'](_0x571e39);for(const _0x4e5f98 of _0x3ff5f9)_0x453c79[_0x3bcbeb(0x9f)](_0x4e5f98);for(const [_0x36b2de,_0x57b799]of this['_dependencyTreeCache'])(_0x28cc72||_0x57b799['isDirty']||_0x57b799[_0x3bcbeb(0x132)](this[_0x3bcbeb(0xa8)][_0x3bcbeb(0x90)]())||_0x453c79['has'](_0x36b2de)&&!_0x57b799[_0x3bcbeb(0x126)](this['_currentConfigService']['getExcludedRange']()))&&!_0x509c6f[_0x3bcbeb(0x13a)](_0x36b2de)&&(_0x25b2de[_0x3bcbeb(0xe3)](_0x57b799),_0x509c6f[_0x3bcbeb(0x9f)](_0x36b2de));for(const [_0x57af08,_0x5d886e]of this[_0x3bcbeb(0x12d)])_0x5d886e['isVirtual']||(_0x5d886e['rangeList'][_0x3bcbeb(0xe6)]=0x0);return _0x25b2de;}[_0x3a84fe(0x13b)](_0xa14ccd){const _0x3afc35=_0x3a84fe;return this['_dependencyTreeCache'][_0x3afc35(0xc4)](_0xa14ccd);}['_getTreeNode'](_0x2139a3){const _0x3b6c50=_0x3a84fe;return _0x3390ee(_0x2139a3[_0x3b6c50(0xdc)],_0x2139a3[_0x3b6c50(0xf5)],this[_0x3b6c50(0x8f)],this['_astTreeBuilder'],this[_0x3b6c50(0xa8)]);}*[_0x3a84fe(0x138)](_0xfcc591,_0x329063){const _0x493c74=_0x3a84fe,_0x46cf8a=_0xfcc591,_0x22466c=new Set();for(;_0x46cf8a[_0x493c74(0xe6)]>0x0;){const _0xcb97c3=_0x46cf8a[_0x493c74(0xb0)]();if(_0x22466c['clear'](),_0xcb97c3===void 0x0||_0xcb97c3[_0x493c74(0xf8)]())continue;if(_0xcb97c3['isAdded']()){yield _0xcb97c3,_0xcb97c3['setSkip'](),_0x329063[_0x493c74(0x9f)](_0xcb97c3[_0x493c74(0x142)]);continue;}const _0x26f880=this[_0x493c74(0xc1)][_0x493c74(0xb6)](_0xcb97c3[_0x493c74(0x9d)](),_0x329063),_0xcda8cd=this[_0x493c74(0xcc)][_0x493c74(0xce)](_0xcb97c3[_0x493c74(0x9d)](),_0x329063);for(const _0x1ef38d of _0xcda8cd)_0x26f880[_0x493c74(0x9f)](_0x1ef38d);for(const _0x38cce4 of _0x26f880){const _0x1ab3e5=this[_0x493c74(0x12d)][_0x493c74(0xc4)](_0x38cce4);if(!_0x1ab3e5)throw new Error(_0x493c74(0xca));_0x1ab3e5[_0x493c74(0x116)]()||_0xcb97c3[_0x493c74(0xf8)]()||_0x22466c['add'](_0x1ab3e5);}if(_0x26f880['clear'](),_0x22466c[_0x493c74(0xe0)]===0x0)yield _0xcb97c3,_0xcb97c3[_0x493c74(0x7f)](),_0x329063[_0x493c74(0x9f)](_0xcb97c3[_0x493c74(0x142)]);else{_0xcb97c3[_0x493c74(0x134)](),_0x46cf8a[_0x493c74(0xe3)](_0xcb97c3);for(const _0x50759f of _0x22466c)_0x46cf8a[_0x493c74(0xe3)](_0x50759f);}}_0x46cf8a['length']=0x0,_0x22466c[_0x493c74(0xbd)]();}[_0x3a84fe(0xb8)](_0x1cb03f){const _0x1ce94d=_0x3a84fe,_0x1d241e=[],_0x4e0387=new Set();for(const _0x10c892 of this[_0x1ce94d(0x138)](_0x1cb03f,_0x4e0387))_0x1d241e[_0x1ce94d(0xe3)](_0x10c892);return _0x1d241e;}async['_getAllTreeList'](){const _0x1bac2f=_0x3a84fe;return await this['_initializeGenerateTreeList'](),Array[_0x1bac2f(0xe4)](this[_0x1bac2f(0x12d)][_0x1bac2f(0xb2)]());}[_0x3a84fe(0x141)](_0xb97c87){const _0x5a479c=_0x3a84fe;return this[_0x5a479c(0xc1)][_0x5a479c(0xb6)](_0xb97c87['toRTreeItem']());}[_0x3a84fe(0x131)](_0x5d7a2e){const _0x164b4a=_0x3a84fe,_0x3c0f0f=new Set(),_0x55d450=_0x5d7a2e[_0x164b4a(0x11d)];for(const [_0x18cd03,_0x279acb]of this['_dependencyTreeCache'])for(const _0x393a17 of _0x55d450){const _0x1fa795=_0x393a17[_0x164b4a(0xdc)],_0x2e6393=_0x393a17['sheetId'];if(_0x279acb[_0x164b4a(0xdc)]!==_0x1fa795||_0x279acb[_0x164b4a(0xe7)]!==_0x2e6393)continue;const _0x2ad863=_0x393a17['range'];if(_0x279acb[_0x164b4a(0x144)](_0x2ad863)){_0x3c0f0f[_0x164b4a(0x9f)](_0x18cd03);break;}}return _0x3c0f0f;}[_0x3a84fe(0xb1)](){const _0x32e214=_0x3a84fe;this[_0x32e214(0xc1)][_0x32e214(0x13c)]();}['_endFormulaDependencyTreeModel'](){const _0x367c1c=_0x3a84fe;this[_0x367c1c(0x103)]['clear'](),this[_0x367c1c(0x12d)][_0x367c1c(0xbd)](),this[_0x367c1c(0xc1)]['closeKdTree']();}}class xe extends _0x58e6a7{async[_0x3a84fe(0x13d)](_0x488b16=!0x1){const _0x54bc02=_0x3a84fe;_0x488b16?this[_0x54bc02(0x135)][_0x54bc02(0x10b)](_0xe5a358['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x54bc02(0x135)][_0x54bc02(0x10b)](_0xe5a358['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x54bc02(0xdd)](this[_0x54bc02(0x135)][_0x54bc02(0x91)]());const _0x18c568=await this[_0x54bc02(0xbe)][_0x54bc02(0x127)](this[_0x54bc02(0x11a)]),_0x2bc613=this[_0x54bc02(0xbb)];_0x488b16?(this[_0x54bc02(0x135)][_0x54bc02(0x10b)](_0xe5a358[_0x54bc02(0xa9)]),this[_0x54bc02(0x135)]['setTotalArrayFormulasToCalculate'](_0x18c568[_0x54bc02(0xe6)])):(this[_0x54bc02(0x135)][_0x54bc02(0x10b)](_0xe5a358[_0x54bc02(0x110)]),this['_runtimeService'][_0x54bc02(0x104)](_0x18c568[_0x54bc02(0xe6)])),this[_0x54bc02(0x84)][_0x54bc02(0xdd)](this['_runtimeService'][_0x54bc02(0x91)]());let _0xbe3c37=[];const _0x5ab8cd=this[_0x54bc02(0xae)][_0x54bc02(0xd1)](_0x7971ae),_0x1246ae=(_0x5ab8cd==null?void 0x0:_0x5ab8cd[_0x54bc02(0x12a)])||_0x28dab9;let _0x5e28d1=0x0;const _0x3e8bd3=_0x18c568[_0x54bc02(0xe6)];for(;_0x18c568[_0x54bc02(0xe6)]>0x0;){const _0x211a76=_0x18c568['pop'](),_0x22239a=_0x3390ee(_0x211a76[_0x54bc02(0xdc)],_0x211a76['formula'],this[_0x54bc02(0x8f)],this[_0x54bc02(0xc6)],this[_0x54bc02(0xa8)]),_0x514a91={'node':_0x22239a,'refOffsetX':_0x211a76['refOffsetX'],'refOffsetY':_0x211a76[_0x54bc02(0x128)]},_0x328036=_0x211a76[_0x54bc02(0x12f)];if(_0x5e28d1%_0x1246ae===0x0&&(await new Promise(_0x4c411e=>{const _0x96f25c=_0x54bc02,_0x5714bb=_0x267c61(_0x4c411e);_0xbe3c37[_0x96f25c(0xe3)](_0x5714bb);}),_0x488b16?(this[_0x54bc02(0x135)][_0x54bc02(0x10b)](_0xe5a358['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x54bc02(0x135)]['setCompletedArrayFormulasCount'](_0x5e28d1+0x1)):(this[_0x54bc02(0x135)]['setFormulaExecuteStage'](_0xe5a358['CURRENTLY_CALCULATING']),this[_0x54bc02(0x135)]['setCompletedFormulasCount'](_0x5e28d1+0x1)),this[_0x54bc02(0x84)][_0x54bc02(0xdd)](this[_0x54bc02(0x135)]['getRuntimeState']()),this[_0x54bc02(0x135)][_0x54bc02(0x7e)]()||_0x514a91==null&&_0x328036==null)){this[_0x54bc02(0x135)]['setFormulaExecuteStage'](_0xe5a358['IDLE']),this[_0x54bc02(0x135)]['markedAsStopFunctionsExecuted'](),this[_0x54bc02(0xa0)][_0x54bc02(0xdd)](this[_0x54bc02(0x135)][_0x54bc02(0x139)]());return;}this['_runtimeService'][_0x54bc02(0x101)](_0x211a76[_0x54bc02(0xf7)],_0x211a76['column'],_0x211a76[_0x54bc02(0xc8)],_0x211a76[_0x54bc02(0x9c)],_0x211a76[_0x54bc02(0xe7)],_0x211a76[_0x54bc02(0xdc)]);let _0xc3d548;if(_0x328036!=null&&_0x211a76[_0x54bc02(0xab)]!=null){const {runtimeCellData:_0x1ee04f,dirtyRanges:_0x88b724}=_0x328036(this[_0x54bc02(0xa8)][_0x54bc02(0x12f)](),this['_runtimeService'][_0x54bc02(0x139)]());this[_0x54bc02(0x135)][_0x54bc02(0x124)](_0x211a76[_0x54bc02(0xab)],_0x1ee04f),this['_runtimeService'][_0x54bc02(0xd6)](_0x211a76[_0x54bc02(0xab)],_0x88b724);}else _0x514a91!=null&&(_0x2bc613['checkAsyncNode'](_0x514a91[_0x54bc02(0xe9)])?_0xc3d548=await _0x2bc613[_0x54bc02(0xc9)](_0x514a91):_0xc3d548=_0x2bc613[_0x54bc02(0xfd)](_0x514a91),_0x211a76[_0x54bc02(0x92)]!=null?this[_0x54bc02(0x135)][_0x54bc02(0xb5)](_0x211a76['formulaId'],_0x211a76[_0x54bc02(0x11f)],_0x211a76[_0x54bc02(0x128)],_0xc3d548):this[_0x54bc02(0x135)][_0x54bc02(0x13e)](_0xc3d548));_0x22239a['resetCalculationState'](),_0x5e28d1++;}return _0xbe3c37['forEach'](_0x404287=>_0x404287()),_0xbe3c37=[],_0x3e8bd3>0x0?this['_runtimeService'][_0x54bc02(0xf6)]():_0x488b16||this[_0x54bc02(0x135)][_0x54bc02(0xfc)](),this[_0x54bc02(0x135)][_0x54bc02(0x139)]();}}class Re extends _0x4694f7{constructor(){super(...arguments),O(this,'_allTreeMap',new Map()),O(this,'_dependencyRTreeCache',new _0x36f47d(!0x0));}[_0x3a84fe(0x12c)](){const _0x56abf4=_0x3a84fe;this[_0x56abf4(0x113)][_0x56abf4(0xbd)](),this['_featureFormulaData'][_0x56abf4(0xbd)](),this[_0x56abf4(0x96)]['clear'](),this[_0x56abf4(0x130)][_0x56abf4(0xbd)](),this['_allTreeMap'][_0x56abf4(0xbd)](),this[_0x56abf4(0x10e)](),this[_0x56abf4(0x106)][_0x56abf4(0xbd)]();}[_0x3a84fe(0xcf)](_0x964a86,_0x55f1de,_0x370b51,_0x5d08ff){const _0x1167a2=_0x3a84fe;this[_0x1167a2(0x113)]['has'](_0x964a86)||this['_otherFormulaData'][_0x1167a2(0xef)](_0x964a86,new Map());const _0x1c4ca7=this[_0x1167a2(0x113)][_0x1167a2(0xc4)](_0x964a86);_0x1c4ca7[_0x1167a2(0x13a)](_0x55f1de)||_0x1c4ca7[_0x1167a2(0xef)](_0x55f1de,new Map());const _0x21be0a=_0x1c4ca7[_0x1167a2(0xc4)](_0x55f1de);_0x21be0a[_0x1167a2(0x13a)](_0x370b51)||_0x21be0a[_0x1167a2(0xef)](_0x370b51,new _0x5a9b49()),_0x21be0a['get'](_0x370b51)[_0x1167a2(0x119)](_0x5d08ff[_0x1167a2(0x11f)],_0x5d08ff[_0x1167a2(0x128)],_0x5d08ff[_0x1167a2(0x142)]);}[_0x3a84fe(0x8b)](_0x4d457d,_0x194b3b,_0x45c46d){const _0x88d5a9=_0x3a84fe,_0x46348c=this['_otherFormulaData'][_0x88d5a9(0xc4)](_0x4d457d);if(_0x46348c&&_0x46348c['has'](_0x194b3b)){const _0x229716=_0x46348c['get'](_0x194b3b);_0x45c46d[_0x88d5a9(0x88)](_0x4d3b2d=>{const _0x50bf0c=_0x88d5a9,_0x4e7695=_0x229716[_0x50bf0c(0xc4)](_0x4d3b2d);_0x4e7695!=null&&(_0x4e7695[_0x50bf0c(0x89)]((_0x28d329,_0xbadbc2,_0x4df388)=>{const _0x5f0ee7=_0x50bf0c;this[_0x5f0ee7(0x143)](_0x4df388),this[_0x5f0ee7(0x8e)](_0x4df388);}),_0x229716[_0x50bf0c(0xee)](_0x4d3b2d),this[_0x50bf0c(0x106)]['delete'](_0x4d3b2d));}),_0x229716[_0x88d5a9(0xe0)]===0x0&&_0x46348c[_0x88d5a9(0xee)](_0x194b3b),_0x46348c[_0x88d5a9(0xe0)]===0x0&&this[_0x88d5a9(0x113)][_0x88d5a9(0xee)](_0x4d457d);}}['clearOtherFormulaDependency'](_0x1167ef,_0x15260e){const _0x460b01=_0x3a84fe,_0xfa6eb4=this[_0x460b01(0x113)][_0x460b01(0xc4)](_0x1167ef);if(_0x15260e&&_0xfa6eb4&&_0xfa6eb4['has'](_0x15260e)){const _0x1a58a1=_0xfa6eb4[_0x460b01(0xc4)](_0x15260e);this[_0x460b01(0xb3)](_0x1167ef,_0x15260e);for(const _0x3d1f11 of _0x1a58a1['keys']()){const _0x2948e6=_0x1a58a1[_0x460b01(0xc4)](_0x3d1f11);_0x2948e6!=null&&(_0x2948e6['forValue']((_0x3f3104,_0xe7dde7,_0x1c5c16)=>{const _0x16daf1=_0x460b01;this[_0x16daf1(0x10a)][_0x16daf1(0xc4)](_0x1c5c16)&&this[_0x16daf1(0x8e)](_0x1c5c16);}),this['_otherFormulaDataMainData'][_0x460b01(0xee)](_0x3d1f11));}_0x1a58a1['clear']();}else{if(_0xfa6eb4){for(const _0x18e6ad of _0xfa6eb4['keys']()){const _0x1e87f0=_0xfa6eb4[_0x460b01(0xc4)](_0x18e6ad);this[_0x460b01(0xb3)](_0x1167ef,_0x18e6ad);for(const _0x1bb191 of _0x1e87f0[_0x460b01(0xbf)]()){const _0x48425c=_0x1e87f0[_0x460b01(0xc4)](_0x1bb191);_0x48425c!=null&&(_0x48425c[_0x460b01(0x89)]((_0x25f4b0,_0xdc4278,_0x2a7773)=>{const _0x53c6aa=_0x460b01;this[_0x53c6aa(0x10a)][_0x53c6aa(0xc4)](_0x2a7773)&&this[_0x53c6aa(0x8e)](_0x2a7773);}),this['_otherFormulaDataMainData'][_0x460b01(0xee)](_0x1bb191));}}this[_0x460b01(0x113)][_0x460b01(0xee)](_0x1167ef);}}}[_0x3a84fe(0xb9)](_0x447baa,_0x5a92df,_0x5bbd01,_0xdc1312){const _0x375e5d=_0x3a84fe;this[_0x375e5d(0x136)][_0x375e5d(0x13a)](_0x447baa)||this[_0x375e5d(0x136)][_0x375e5d(0xef)](_0x447baa,new Map());const _0x3adbd9=this[_0x375e5d(0x136)][_0x375e5d(0xc4)](_0x447baa);_0x3adbd9['has'](_0x5a92df)||_0x3adbd9[_0x375e5d(0xef)](_0x5a92df,new Map()),_0x3adbd9['get'](_0x5a92df)[_0x375e5d(0xef)](_0x5bbd01,_0xdc1312[_0x375e5d(0x142)]);}[_0x3a84fe(0x7b)](_0x346687,_0x325ab8,_0x2e7828){const _0x16ac03=_0x3a84fe,_0x29aee1=this[_0x16ac03(0x136)]['get'](_0x346687);if(_0x29aee1&&_0x29aee1['has'](_0x325ab8)){const _0x38cad4=_0x29aee1[_0x16ac03(0xc4)](_0x325ab8);_0x2e7828[_0x16ac03(0x88)](_0x514978=>{const _0xcc8680=_0x16ac03,_0x4f2b08=_0x38cad4[_0xcc8680(0xc4)](_0x514978);_0x4f2b08!=null&&(this[_0xcc8680(0x143)](_0x4f2b08),_0x38cad4[_0xcc8680(0xee)](_0x514978),this[_0xcc8680(0x8e)](_0x4f2b08));});}}['clearFeatureFormulaDependency'](_0x56fa1d,_0x54ce8b){const _0xfe3f91=_0x3a84fe,_0x650ed7=this['_featureFormulaData']['get'](_0x56fa1d);if(_0x54ce8b&&_0x650ed7&&_0x650ed7[_0xfe3f91(0x13a)](_0x54ce8b)){const _0x68f06a=_0x650ed7[_0xfe3f91(0xc4)](_0x54ce8b);this['_removeDependencyRTreeCacheById'](_0x56fa1d,_0x54ce8b),_0x68f06a['forEach'](_0x47506f=>{_0x47506f!=null&&this['_removeAllTreeMap'](_0x47506f);}),_0x68f06a[_0xfe3f91(0xbd)]();}else _0x650ed7&&(_0x650ed7['forEach']((_0x553ec0,_0x25346a)=>{const _0x4203fd=_0xfe3f91;this[_0x4203fd(0xb3)](_0x56fa1d,_0x25346a),_0x553ec0[_0x4203fd(0x88)](_0xed4953=>{const _0x45f7af=_0x4203fd;_0xed4953!=null&&this[_0x45f7af(0x8e)](_0xed4953);});}),this[_0xfe3f91(0x136)][_0xfe3f91(0xee)](_0x56fa1d));}['addFormulaDependency'](_0x4729a5,_0x4751f5,_0x23ba1a,_0x233dd1,_0x5dcb7f){const _0xb92096=_0x3a84fe;this[_0xb92096(0x96)]['has'](_0x4729a5)||this[_0xb92096(0x96)]['set'](_0x4729a5,new Map());const _0x4647eb=this[_0xb92096(0x96)][_0xb92096(0xc4)](_0x4729a5);_0x4647eb[_0xb92096(0x13a)](_0x4751f5)||_0x4647eb[_0xb92096(0xef)](_0x4751f5,new _0x5a9b49()),_0x4647eb[_0xb92096(0xc4)](_0x4751f5)['setValue'](_0x23ba1a,_0x233dd1,_0x5dcb7f[_0xb92096(0x142)]);}[_0x3a84fe(0xe5)](_0x1a533f,_0x30c751,_0x56b680,_0x43e03e){const _0x240cf4=_0x3a84fe,_0x5222c0=this[_0x240cf4(0x96)][_0x240cf4(0xc4)](_0x1a533f);if(_0x5222c0&&_0x5222c0['has'](_0x30c751)){const _0x40c0d1=_0x5222c0['get'](_0x30c751),_0x80cd6f=_0x40c0d1['getValue'](_0x56b680,_0x43e03e);if(_0x80cd6f==null)return;this[_0x240cf4(0x143)](_0x80cd6f),_0x40c0d1['realDeleteValue'](_0x56b680,_0x43e03e),this[_0x240cf4(0x8e)](_0x80cd6f);}}[_0x3a84fe(0xd8)](_0x140ee9,_0x8067bf){const _0x519155=_0x3a84fe,_0x6f781d=this[_0x519155(0x96)][_0x519155(0xc4)](_0x140ee9);if(_0x8067bf&&_0x6f781d&&_0x6f781d[_0x519155(0x13a)](_0x8067bf)){const _0x4c6419=_0x6f781d['get'](_0x8067bf);this[_0x519155(0xb3)](_0x140ee9,_0x8067bf),_0x4c6419[_0x519155(0x89)]((_0x11ce92,_0x427d81,_0x365ee5)=>{const _0x24d3ff=_0x519155;if(_0x365ee5==null)return!0x0;this[_0x24d3ff(0x8e)](_0x365ee5);}),_0x4c6419[_0x519155(0x12c)]();}else _0x6f781d&&(_0x6f781d[_0x519155(0x88)]((_0x1f177e,_0x430ee2)=>{const _0x2cd8cf=_0x519155;this[_0x2cd8cf(0xb3)](_0x140ee9,_0x430ee2),_0x1f177e['forValue']((_0x50842b,_0x5262f6,_0x244c05)=>{const _0xcef0de=_0x2cd8cf;if(_0x244c05==null)return!0x0;this[_0xcef0de(0x8e)](_0x244c05);});}),this[_0x519155(0x96)][_0x519155(0xee)](_0x140ee9));}[_0x3a84fe(0x143)](_0x36afeb){const _0x188f83=_0x3a84fe;if(_0x36afeb==null)return;const _0x36bd6e=this[_0x188f83(0x10a)]['get'](_0x36afeb);if(_0x36bd6e){const _0x1dc504=[];for(const [_0xd37067,_0x53181d]of _0x36bd6e)for(const [_0x5b491b,_0x766efc]of _0x53181d)_0x1dc504['push']({'unitId':_0xd37067,'sheetId':_0x5b491b,'range':_0x766efc,'id':_0x36afeb});this['_dependencyRTreeCache'][_0x188f83(0xff)](_0x1dc504);}}['removeFormulaDependencyByDefinedName'](_0x5490d1,_0x270571){const _0x1fdd11=_0x3a84fe,_0xb5e6f=this[_0x1fdd11(0xc3)]['get'](_0x5490d1);if(_0xb5e6f){const _0x290abe=_0xb5e6f['get'](_0x270571);if(_0x290abe){for(const _0x390ecf of _0x290abe)this[_0x1fdd11(0x143)](_0x390ecf),this[_0x1fdd11(0x8e)](_0x390ecf);_0x290abe[_0x1fdd11(0xbd)]();}}}['openKdTree'](){const _0x40c816=_0x3a84fe;this[_0x40c816(0x130)][_0x40c816(0x13c)]();}[_0x3a84fe(0x10f)](){const _0x5d8c0e=_0x3a84fe;this[_0x5d8c0e(0x130)]['closeKdTree']();}[_0x3a84fe(0x8e)](_0x1dca47){const _0x5708b5=_0x3a84fe;_0x1dca47!=null&&this[_0x5708b5(0x10a)][_0x5708b5(0xee)](_0x1dca47);}['_addAllTreeMap'](_0x462487){const _0x5b7c51=_0x3a84fe;var _0x3f5648,_0x2133a5;const _0xd5b03f=_0x462487['rangeList'];let _0x5887d7=this[_0x5b7c51(0x10a)][_0x5b7c51(0xc4)](_0x462487[_0x5b7c51(0x142)]);for(let _0x1ec5c3=0x0;_0x1ec5c3<_0xd5b03f[_0x5b7c51(0xe6)];_0x1ec5c3++){const _0x401eff=_0xd5b03f[_0x1ec5c3];let {unitId:_0x12f04f,sheetId:_0x20e31c,range:_0x4ab3ca}=_0x401eff;_0x5887d7||(_0x5887d7=new Map(),this[_0x5b7c51(0x10a)][_0x5b7c51(0xef)](_0x462487['treeId'],_0x5887d7)),_0x5887d7[_0x5b7c51(0x13a)](_0x12f04f)||_0x5887d7[_0x5b7c51(0xef)](_0x12f04f,new Map());const _0x113835=(_0x3f5648=_0x5887d7==null?void 0x0:_0x5887d7['get'](_0x12f04f))==null?void 0x0:_0x3f5648[_0x5b7c51(0xc4)](_0x20e31c);_0x113835&&(_0x4ab3ca={'startRow':Math[_0x5b7c51(0xa3)](_0x4ab3ca[_0x5b7c51(0x11c)],_0x113835['startRow']),'startColumn':Math[_0x5b7c51(0xa3)](_0x4ab3ca[_0x5b7c51(0x94)],_0x113835[_0x5b7c51(0x94)]),'endRow':Math[_0x5b7c51(0x109)](_0x4ab3ca[_0x5b7c51(0x14a)],_0x113835[_0x5b7c51(0x14a)]),'endColumn':Math[_0x5b7c51(0x109)](_0x4ab3ca[_0x5b7c51(0xf1)],_0x113835[_0x5b7c51(0xf1)])}),(_0x2133a5=_0x5887d7['get'](_0x12f04f))==null||_0x2133a5['set'](_0x20e31c,_0x4ab3ca);}}}function _0x5262(){const _0x20256f=['type','_removeAllTreeMap','_lexer','getDirtyNameMap','getRuntimeState','formulaId','clearFeatureFormulaDependency','startColumn','column','_formulaData','_currentUnitId','endsWith','getOwnPropertyDescriptor','getFormulaExprTree','2OyOCnI','columnCount','toRTreeItem','treeBuilder','add','_executionCompleteListener$','_checkIsCycleDependency','_injector','min','isArray','88LgzMPA','4047552qrSYhW','_generateTreeList','_currentConfigService','START_CALCULATION_ARRAY_FORMULA','_generateExprTree','featureId','join','startIndex','_configService','294DReTEf','pop','_startFormulaDependencyTreeModel','values','_removeDependencyRTreeCacheById','_getCurNodeTypeForExprTree','setRuntimeOtherData','searchDependency','startsWith','_calculateRunList','addFeatureFormulaDependency','_xlpm.','_interpreter','dirtyRanges','clear','_formulaDependencyGenerator','keys','_convertDirtyRangesToUnitRange','_dependencyManagerService','_clearPrefix','_definedNameMap','get','_createVirtualFDtree','_astTreeBuilder','PLUS','rowCount','executeAsync','ParentDependencyTree\x20object\x20is\x20null','_hasNewExcelFunction','_dependencyRTreeCacheForAddressFunction','trim','bulkSearch','addOtherFormulaDependency','5949264yJQckW','getConfig','clearOtherFormulaDependency','notExecuteFormula','_clearFunctionString','_getTableNameFromStructuredRef','setRuntimeFeatureRange','setDependencyTreeModelData','clearFormulaDependency','hasOtherFormulaDataMainData','121402mNnjar','getClearDependencyTreeCache','unitId','next','getNewFormulaWithPrefix','_checkAddBracketForMinus','size','VALUE','\x22\x20is\x20duplicated.','push','from','removeFormulaDependency','length','subUnitId','_generateNewFunctionString','node','_otherFormulaManagerService','39258KZTcum','_getUpdateTreeListAndMakeDependency','getStartIndex','delete','set','isCache','endColumn','getFeatureFormulaDependency','isForceCalculate','message','formula','markedAsSuccessfullyExecuted','row','isSkip','getValue','_updateRangeFlatten','MINUS','markedAsNoFunctionsExecuted','execute','addFormulaDependency','bulkRemove','_registerOtherFormulas','setCurrent','_handleTextNodeForExprTree','_formulaDependencyTreeModel','setTotalFormulasToCalculate','1380gVwotM','_otherFormulaDataMainData','slice','_createFDtree','max','_allTreeMap','setFormulaExecuteStage','_handleChildrenForExprTree','addFormulaDependencyByDefinedName','_restDependencyTreeId','closeKdTree','START_CALCULATION','7155OGxlie','Let\x20variable\x20name\x20\x22','_otherFormulaData','getDirtyRanges','256kPdzXG','isAdded','FEATURE_FORMULA','dispose','setValue','_isCalculateTreeModel','getChildren','startRow','rangeList','_xlpmPrefix','refOffsetX','featureDirtyRanges','_handleNewFunctionChild','_isCyclicUtilMap','children','setRuntimeFeatureCellData','getOtherFormulaData','isExcludeRange','generate','refOffsetY','_xlfn.','intervalCount','2325582iqkHiP','reset','_dependencyTreeCache','_registerFormulas','getDirtyData','_dependencyRTreeCache','_getDependencyTreeChildrenIds','dependencySheetName','error','setAdded','_runtimeService','_featureFormulaData','resolve','_traverse','getAllRuntimeData','has','_getTreeById','openKdTree','_apply','setRuntimeData','defineProperty','_getFeatureFormulaTree','_getDependencyTreeParenIds','treeId','_removeDependencyRTreeCache','inRangeData','getFormulaDependency','toUpperCase','getOtherFormulaDependency','/*\x20OuzMIo-4Mu2gzO\x20d3O1O3-oO8dz2oO\x20*/17IaoMqI\x204Oa3CdoMqI(zMaOIuO,\x20d7gzMaTOC)\x20{\x20\x20\x20\x20o3C\x20{\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20zMaOIuONI1qR23oL332C\x20=\x20zMaOIuO.udzMo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20q3MiMIVOuu2iO\x20=\x20Q0xw.d23uO(2oqg(zMaOIuONI1qR23oL332C[F]));\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(!q3MiMIVOuu2iO.74)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20q3MiMIVOuu2iO.74\x20=\x20w78gO3(zMaOIuONI1qR23oL332C[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20MuAq3jO3\x20=\x20oCdOq1\x20Aq3jO3Ezqg2z0aqdO\x20!==\x20\x277I4O1MIO4\x27\x20&&\x20uOz1\x20MIuo2IaOq1\x20Aq3jO3Ezqg2z0aqdO;\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20Muk3qZuO3\x20=\x20oCdOq1\x20ZMI4qZ\x20!==\x20\x277I4O1MIO4\x27\x20&&\x20oCdOq1\x20ZMI4qZ.zqa2oMqI\x20!==\x20\x277I4O1MIO4\x27;\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20aqIoOpo\x20=\x20MuAq3jO3\x20?\x20uOz1\x20:\x20(Muk3qZuO3\x20?\x20ZMI4qZ\x20:\x20izqg2zYfMu);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x208Ouu2iOAq34\x20=\x20aqIoOpo.__k2uOGh__.d23uO(zMaOIuONI1qR23oL332C[F]);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x208Ouu2iO\x20=\x20aqIoOpo.__JOp__.uo3MIiM1C(8Ouu2iOAq34);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiI2o73OAq34\x20=\x20aqIoOpo.__k2uOGh__.d23uO(zMaOIuONI1qR23oL332C[H]);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiI2o73O\x20=\x20aqIoOpo.__JOp__.uo3MIiM1C(uMiI2o73OAq34);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20uMiIS2zM4\x20=\x20aqIoOpo.__bO3M1C__(uMiI2o73O,\x208Ouu2iO,\x20d7gzMaTOC);\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x204q82MI\x20=\x20q3MiMIVOuu2iO.48;\x20\x20\x20\x20\x20\x20\x20\x2017IaoMqI\x20Munq82MIV2oafMIi(d2ooO3I,\x20fquo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(d2ooO3I\x20===\x20fquo)\x203Oo73I\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(d2ooO3I.uo23ouAMof(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20u711Mp\x20=\x20d2ooO3I.uzMaO(F);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(u711Mp\x20&&\x20!fquo.uo23ouAMof(\x27.\x27)\x20&&\x20fquo\x20!==\x20u711Mp\x20&&\x20fquo.OI4uAMof(\x27.\x27\x20+\x20u711Mp))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x2012zuO;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zOo\x204q82MIS2zM4\x20=\x2012zuO;\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(Muk3qZuO3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20(4q82MI\x20&&\x204q82MI.zOIiof)\x20?\x204q82MI.uq8O((48NoO8)\x20=>\x20Munq82MIV2oafMIi(48NoO8,\x20zqa2oMqI.fquoI28O))\x20:\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M1\x20(zqa2oMqI.fquoI28O\x20===\x20\x27zqa2zfquo\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20OzuO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204q82MIS2zM4\x20=\x20o37O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqIuo\x20b2zM4\x20=\x20uMiIS2zM4\x20&&\x204q82MIS2zM4;\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b2zM4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Ouu2iO:\x20q3MiMIVOuu2iO,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a2oaf\x20(O33q3)\x20{\x20\x20\x20\x20\x20\x20\x20\x203Oo73I\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b2zM4:\x2012zuO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Ouu2iO:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getToken','endRow','removeFeatureFormulaDependency','COLON','value','isStopExecution','setSkip','_config','_xlfnPrefix','_lambdaFunctionParameterSet','_handleLambdaForExprTree','_executionInProgressListener$','35229UnmrSw','clearArrayObjectCache','return\x20','forEach','forValue','getFormulaData','removeOtherFormulaDependency','enableCycleDependency'];_0x5262=function(){return _0x20256f;};return _0x5262();}var Ee=Object[_0x3a84fe(0x99)],Ae=(_0x2d1861,_0x586bf6,_0x1e7cb2,_0xf330c1)=>{for(var _0x45f188=_0xf330c1>0x1?void 0x0:_0xf330c1?Ee(_0x586bf6,_0x1e7cb2):_0x586bf6,_0x1e403d=_0x2d1861['length']-0x1,_0xfcc84e;_0x1e403d>=0x0;_0x1e403d--)(_0xfcc84e=_0x2d1861[_0x1e403d])&&(_0x45f188=_0xfcc84e(_0x45f188)||_0x45f188);return _0x45f188;};const Ne=Number['parseInt'](0x694653ae);let Z=class extends _0x2accee{['_initializeWithOverride'](){const _0x5a72fc=_0x3a84fe;var _0x2627da,_0x58ba00;this['_initLicenseValid']()?(this[_0x5a72fc(0xa2)][_0x5a72fc(0x9f)]([_0x2b8de4,{'useClass':De}]),(_0x2627da=this[_0x5a72fc(0x80)])!=null&&_0x2627da[_0x5a72fc(0xd3)]||[[_0x4832b5,{'useClass':xe}],[_0x579320,{'useClass':Re}],[_0x593364,{'useClass':Se}]]['forEach'](_0x5ccc6b=>this['_injector']['add'](_0x5ccc6b))):(this[_0x5a72fc(0xa2)][_0x5a72fc(0x9f)]([_0x2b8de4,{'useClass':_0x2b8de4}]),(_0x58ba00=this[_0x5a72fc(0x80)])!=null&&_0x58ba00[_0x5a72fc(0xd3)]||[[_0x4832b5,{'useClass':_0x58e6a7}],[_0x579320,{'useClass':_0x4d0817}],[_0x593364,{'useClass':_0x4ecd2e}]][_0x5a72fc(0x88)](_0x3d720a=>this[_0x5a72fc(0xa2)][_0x5a72fc(0x9f)](_0x3d720a)));}['_initLicenseValid'](){const _0x382cf2=_0x3a84fe;var _0x4b72fe;const _0x404c79=(_0x4b72fe=this[_0x382cf2(0xae)][_0x382cf2(0xd1)](_0x592e10))!=null?_0x4b72fe:{},{ls:_0x2e1c66,pbk:_0x2429de}=_0x404c79;if(!_0x2e1c66||!_0x2429de)return!0x1;const _0x169b9c=_0x58ab80(ve,Ie),_0x536a41=new Function(_0x382cf2(0x87)+_0x169b9c)()(_0x2e1c66,_0x2429de),_0x29a916=_0x536a41[_0x382cf2(0xf4)];return _0x536a41['valid']&&_0x4c26f4(_0x29a916,'sf',Ne)?_0x5cd9f9(_0x29a916,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};Z=Ae([_0x15c942(_0x3c628f)],Z);export{De as LexerTreeProBuilder,Z as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5145(_0x2fdea7,_0x5159d4){_0x2fdea7=_0x2fdea7-0x12b;var _0xdcd642=_0xdcd6();var _0x51453a=_0xdcd642[_0x2fdea7];return _0x51453a;}(function(_0xf593c7,_0x1050a3){var _0x247616=_0x5145,_0xf388aa=_0xf593c7();while(!![]){try{var _0x16037e=parseInt(_0x247616(0x12f))/0x1*(-parseInt(_0x247616(0x12e))/0x2)+-parseInt(_0x247616(0x131))/0x3+parseInt(_0x247616(0x132))/0x4+parseInt(_0x247616(0x134))/0x5+parseInt(_0x247616(0x12b))/0x6*(parseInt(_0x247616(0x130))/0x7)+parseInt(_0x247616(0x12d))/0x8*(parseInt(_0x247616(0x133))/0x9)+-parseInt(_0x247616(0x12c))/0xa;if(_0x16037e===_0x1050a3)break;else _0xf388aa['push'](_0xf388aa['shift']());}catch(_0x1b4522){_0xf388aa['push'](_0xf388aa['shift']());}}}(_0xdcd6,0x197bb));export*from'@univerjs/engine-formula/facade';function _0xdcd6(){var _0x1773ed=['3892xhKOTU','413hyShOy','457884FUlZox','748508FdobCm','171zCnHRz','404765BkxUaT','12954pVkeMC','2546890dDzFAx','55496aGxGGy','8DqmZAw'];_0xdcd6=function(){return _0x1773ed;};return _0xdcd6();}
1
+ function _0x21bc(_0x4a881c,_0x30cb38){_0x4a881c=_0x4a881c-0x177;var _0x51f596=_0x51f5();var _0x21bc3b=_0x51f596[_0x4a881c];return _0x21bc3b;}(function(_0x4d9b2b,_0x58c0fa){var _0x2e221d=_0x21bc,_0x644a80=_0x4d9b2b();while(!![]){try{var _0x307df5=-parseInt(_0x2e221d(0x17f))/0x1*(parseInt(_0x2e221d(0x179))/0x2)+-parseInt(_0x2e221d(0x177))/0x3*(parseInt(_0x2e221d(0x17c))/0x4)+parseInt(_0x2e221d(0x17a))/0x5*(parseInt(_0x2e221d(0x180))/0x6)+parseInt(_0x2e221d(0x17e))/0x7*(parseInt(_0x2e221d(0x178))/0x8)+parseInt(_0x2e221d(0x181))/0x9+-parseInt(_0x2e221d(0x17d))/0xa+-parseInt(_0x2e221d(0x17b))/0xb;if(_0x307df5===_0x58c0fa)break;else _0x644a80['push'](_0x644a80['shift']());}catch(_0x397e39){_0x644a80['push'](_0x644a80['shift']());}}}(_0x51f5,0x5b2f3));function _0x51f5(){var _0x8cf3d=['1209989NqsXda','4MGcKDY','983930rfdtti','2299010MgrgGO','34667glTHQB','3378DBDQeP','1574919hxDLPW','1310766YlUPju','8WSGoDl','2pEIsNE','4885hEeLrS'];_0x51f5=function(){return _0x8cf3d;};return _0x51f5();}export*from'@univerjs/engine-formula/facade';