@univerjs-pro/engine-formula 0.13.0 → 0.14.0-insiders.20251222-4efcfbb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1c4ee4=_0x59a6;(function(_0x267035,_0x41ee1c){const _0x4b5271=_0x59a6,_0x231053=_0x267035();while(!![]){try{const _0x3818c9=-parseInt(_0x4b5271(0x198))/0x1*(parseInt(_0x4b5271(0x16f))/0x2)+parseInt(_0x4b5271(0x110))/0x3+parseInt(_0x4b5271(0x1ad))/0x4+parseInt(_0x4b5271(0x148))/0x5*(-parseInt(_0x4b5271(0x153))/0x6)+parseInt(_0x4b5271(0x11e))/0x7+parseInt(_0x4b5271(0x194))/0x8+-parseInt(_0x4b5271(0x147))/0x9;if(_0x3818c9===_0x41ee1c)break;else _0x231053['push'](_0x231053['shift']());}catch(_0x528d7a){_0x231053['push'](_0x231053['shift']());}}}(_0x5cdc,0xf2879));function _0x5cdc(){const _0x381f58=['COLON','startColumn','getFormulaDependency','searchDependency','_interpreter','toRTreeItem','_configService','setCompletedFormulasCount','getAllRuntimeData','OTHER_FORMULA','addFormulaDependency','_getDependencyTreeChildrenIds','getClearDependencyTreeCache','_generateNewFunctionString','_formulaDependencyGenerator','_handleNewFunctionChild','columnCount','_executionInProgressListener$','clearFormulaDependency','row','_astTreeBuilder','_otherFormulaData','_otherFormulaManagerService','_generateTreeList','_initLicenseValid','getFeatureFormulaDependency','unitId','_registerFormulas','_definedNameMap','PLUS','clear','removeFormulaDependency','MINUS','join','addFeatureFormulaDependency','openKdTree','3049024CarvKv','getDirtyData','bulkSearch','addOtherFormulaDependency','1544xuUtAL','_getUpdateTreeListAndMakeDependency','treeId','get','parseInt','_checkAddBracketForMinus','dirtyRanges','_apply','keys','_xlfn.','_startFormulaDependencyTreeModel','_dependencyTreeCache','getToken','rangeList','setAdded','markedAsSuccessfullyExecuted','markedAsNoFunctionsExecuted','rowCount','checkAsyncNode','_initializeWithOverride','resolve','6766520bqrZUm','_removeAllTreeMap','symbol','_initializeGenerateTreeList','toUpperCase','_addAllTreeMap','getRuntimeState','clearOtherFormulaDependency','isDirty','execute','START_DEPENDENCY_ARRAY_FORMULA','_lambdaFunctionParameterSet','_allTreeMap','_removeDependencyRTreeCacheById','bulkRemove','forValue','_calculateRunList','forEach','push','set','length','getValue','generate','featureId','startRow','START_DEPENDENCY','_runtimeService','_getTreeNode','isForceCalculate','hasOtherFormulaDataMainData','node','setValue','trim','5869860FOwmTz','CURRENTLY_CALCULATING','getConfig','setTotalArrayFormulasToCalculate','enableCycleDependency','isStopExecution','_getFirstCellOfRange','getDirtyRanges','resetCalculationState','removeFormulaDependencyByDefinedName','_dependencyManagerService','CURRENTLY_CALCULATING_ARRAY_FORMULA','values','return\x20','2054220aVwQtf','executeAsync','_lexer','min','setSkip','_endFormulaDependencyTreeModel','add','_hasNewExcelFunction','START_CALCULATION','_clearFunctionString','_otherFormulaDataMainData','_xlpm.','getChildren','_dependencyRTreeCache','setCompletedArrayFormulasCount','featureDirtyRanges','isArray','_currentConfigService','endRow','clearFeatureFormulaDependency','realDeleteValue','START_CALCULATION_ARRAY_FORMULA','addFormulaDependencyByDefinedName','isCache','_traverse','size','_getFeatureFormulaTree','_formulaData','isSkip','getFormulaData','setRuntimeFeatureRange','isVirtual','_createFDtree','getOtherFormulaDependency','getNewFormulaWithPrefix','dispose','setTotalFormulasToCalculate','refOffsetY','_formulaDependencyTreeModel','Let\x20variable\x20name\x20\x22','range','16463673ShKlXA','10wqjOoh','_injector','slice','_registerOtherFormulas','endColumn','max','_dependencyRTreeCacheForAddressFunction','next','valid','refOffsetX','defineProperty','2748LolfZM','error','subUnitId','closeKdTree','reset','column','setFormulaExecuteStage','delete','removeOtherFormulaDependency','Lambda\x20parameter\x20name\x20\x22','_checkIsCycleDependency','VALUE','has','_featureFormulaData','LOSsCyQS\x20tbsWTVCyQS(7ysbSnb,\x20VOF7yskbT)\x20{\x20\x20\x20\x20CWT\x20{\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x207ysbSnbrSLQmEWC0WWET\x20=\x207ysbSnb.nV7yC(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20QWypySebnnEpb\x20=\x20XcIK.VEWnb(ECQF(7ysbSnbrSLQmEWC0WWET[M]));\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(!QWypySebnnEpb.Ot)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QWypySebnnEpb.Ot\x20=\x20KOdFbW(7ysbSnbrSLQmEWC0WWET[6]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20yniQWUbW\x20=\x20CTVbQL\x20iQWUbWf7QFE7csQVb\x20!==\x20\x27OStbLySbt\x27\x20&&\x20nb7L\x20ySnCESsbQL\x20iQWUbWf7QFE7csQVb;\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20ynjWQNnbW\x20=\x20CTVbQL\x20NyStQN\x20!==\x20\x27OStbLySbt\x27\x20&&\x20CTVbQL\x20NyStQN.7QsECyQS\x20!==\x20\x27OStbLySbt\x27;\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20sQSCbDC\x20=\x20yniQWUbW\x20?\x20nb7L\x20:\x20(ynjWQNnbW\x20?\x20NyStQN\x20:\x20p7QFE7uRyn);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20dbnnEpbiQWt\x20=\x20sQSCbDC.__jEnbg6__.VEWnb(7ysbSnbrSLQmEWC0WWET[M]);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20dbnnEpb\x20=\x20sQSCbDC.__qbD__.nCWySpyLT(dbnnEpbiQWt);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20nypSECOWbiQWt\x20=\x20sQSCbDC.__jEnbg6__.VEWnb(7ysbSnbrSLQmEWC0WWET[A]);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20nypSECOWb\x20=\x20sQSCbDC.__qbD__.nCWySpyLT(nypSECOWbiQWt);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20nypSBE7yt\x20=\x20sQSCbDC.__ZbWyLT__(nypSECOWb,\x20dbnnEpb,\x20VOF7yskbT);\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20tQdEyS\x20=\x20QWypySebnnEpb.td;\x20\x20\x20\x20\x20\x20\x20\x20LOSsCyQS\x20yn8QdEySeECsRySp(QmECCbWS,\x20QqQnC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20VECCbWS\x20=\x20QmECCbWS.WbV7Esb(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20RQnC\x20=\x20QqQnC.WbV7Esb(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20VECCbWSmEWCn\x20=\x20VECCbWS.nV7yC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20RQnCmEWCn\x20=\x20RQnC.nV7yC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(!VECCbWS.ySs7Otbn(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WbCOWS\x20VECCbWS\x20===\x20RQnC;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(VECCbWSmEWCn.7bSpCR\x20<\x20M\x20||\x20VECCbWSmEWCn[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WbCOWS\x20LE7nb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20VECCbWScOLLyD\x20=\x20VECCbWSmEWCn.n7ysb(5).oQyS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20RQnCcOLLyD\x20=\x20RQnCmEWCn.n7ysb(-VECCbWSmEWCn.7bSpCR\x20+\x205).oQyS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WbCOWS\x20VECCbWScOLLyD\x20===\x20RQnCcOLLyD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207bC\x20tQdEySBE7yt\x20=\x20LE7nb;\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(ynjWQNnbW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tQdEySBE7yt\x20=\x20(tQdEyS\x20&&\x20tQdEyS.7bSpCR)\x20?\x20tQdEyS.nQdb((tdrCbd)\x20=>\x20yn8QdEySeECsRySp(tdrCbd,\x207QsECyQS.RQnCSEdb))\x20:\x20CWOb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yL\x20(7QsECyQS.RQnCSEdb\x20===\x20\x277QsE7RQnC\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tQdEySBE7yt\x20=\x20CWOb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20b7nb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tQdEySBE7yt\x20=\x20CWOb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20sQSnC\x20ZE7yt\x20=\x20nypSBE7yt\x20&&\x20tQdEySBE7yt;\x20\x20\x20\x20\x20\x20\x20\x20WbCOWS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZE7yt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbnnEpb:\x20QWypySebnnEpb,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20sECsR\x20(bWWQW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WbCOWS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZE7yt:\x20LE7nb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbnnEpb:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_removeDependencyRTreeCache','addOtherFormulaDependencyMainData','pop','_isCyclicUtilMap','from','_config','_restDependencyTreeId','getUnitData','_getTreeById','getExcludedRange','formulaId','formula','clearArrayObjectCache','1942vvIjPm'];_0x5cdc=function(){return _0x381f58;};return _0x5cdc();}var Z=Object[_0x1c4ee4(0x152)],J=(_0x2903d8,_0x1aa49f,_0x300539)=>_0x1aa49f in _0x2903d8?Z(_0x2903d8,_0x1aa49f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x300539}):_0x2903d8[_0x1aa49f]=_0x300539,b=(_0x3ad068,_0xc8f948,_0x2a73ff)=>J(_0x3ad068,typeof _0xc8f948!=_0x1c4ee4(0x1af)?_0xc8f948+'':_0xc8f948,_0x2a73ff);import{UniverLicensePlugin as _0x108924,LS_CONFIG_KEY as _0x14e3e3,unshiftString as _0x3c9c05,isFeatureAuthorizedWithinTime as _0x6f3e61,getSheetFeatureLimit as _0x35be25}from'@univerjs-pro/license';import{ObjectMatrix as _0x55d10f,requestImmediateMacroTask as _0xd75a4d,RTree as _0x10da3c,DependentOn as _0x179539}from'@univerjs/core';import{FormulaDependencyGenerator as _0x2e2fd9,generateRandomDependencyTreeId as _0x50a502,FormulaDependencyTree as _0x268a77,FormulaDependencyTreeType as _0x2be523,FormulaDependencyTreeVirtual as _0x36f1c0,generateAstNode as _0x42231d,LexerTreeBuilder as _0x3d3e0a,ErrorType as _0x3fbd7a,DEFAULT_TOKEN_TYPE_ROOT as _0x49e67e,DEFAULT_TOKEN_TYPE_PARAMETER as _0xa3d67a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0xeedba8,NEW_EXCEL_FUNCTIONS as _0x356d01,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4d1f1c,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1b2350,matchToken as _0x2fb2a6,SUFFIX_TOKEN_SET as _0x394fab,prefixToken as _0x3fcdfa,LexerNode as _0x4ae017,OPERATOR_TOKEN_SET as _0x3a07a5,CalculateFormulaService as _0x4d816c,FormulaExecuteStageType as _0x4312b9,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x17d854,DEFAULT_INTERVAL_COUNT as _0x2b3114,DependencyManagerBaseService as _0x109025,UniverFormulaEnginePlugin as _0x133c37,ICalculateFormulaService as _0x8b94d4,IDependencyManagerService as _0x12fecc,IFormulaDependencyGenerator as _0x2bbd72,DependencyManagerService as _0xc0b1de}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const De={0x0:'A',0x1:'5',0x2:'0',0x3:'q',0x4:'Q',0x5:'1',0x6:'4',0x7:'l',0x8:'D',0x9:'Z','M':'2','A':'3','g':'6','w':'7','G':'8','l':'9','E':'a','F':'b','s':'c','t':'d','b':'e','L':'f','p':'g','R':'h','y':'i','o':'j','U':'k','d':'m','S':'n','Q':'o','V':'p','W':'r','n':'s','C':'t','O':'u','Z':'v','N':'w','D':'x','T':'y','P':'z','j':'B','Y':'C','h':'E','v':'F','f':'G','q':'H','r':'I','X':'J','k':'K','J':'L','e':'M','K':'N','I':'O','m':'P','z':'R','c':'S','u':'T','a':'U','B':'V','i':'W','H':'X','x':'Y'},Ee=_0x1c4ee4(0x161);class Fe extends _0x2e2fd9{constructor(){const _0x20ae97=_0x1c4ee4;super(...arguments),b(this,_0x20ae97(0x1a3),new Map());}[_0x1c4ee4(0x141)](){const _0x5eb24=_0x1c4ee4;super[_0x5eb24(0x141)](),this[_0x5eb24(0x1a3)]['clear']();}async[_0x1c4ee4(0x105)](){const _0x288f93=_0x1c4ee4;this['_updateRangeFlatten']();const _0x13d040=this[_0x288f93(0x12f)][_0x288f93(0x13b)](),_0x1e464c=this[_0x288f93(0x186)]['getOtherFormulaData'](),_0x3dd73e=this[_0x288f93(0x12f)][_0x288f93(0x17c)]();_0x3dd73e!=null&&Object['keys'](_0x3dd73e)[_0x288f93(0x100)](_0x32df8c=>{const _0x20e15b=_0x288f93;_0x32df8c!=null&&Object[_0x20e15b(0x1a0)](_0x3dd73e[_0x32df8c])['forEach'](_0x83999f=>{const _0xcdfbe6=_0x20e15b;_0x83999f!=null&&(this[_0xcdfbe6(0x11a)]['clearOtherFormulaDependency'](_0x32df8c,_0x83999f),this[_0xcdfbe6(0x11a)]['clearFeatureFormulaDependency'](_0x32df8c,_0x83999f),this[_0xcdfbe6(0x11a)][_0xcdfbe6(0x182)](_0x32df8c,_0x83999f));});});const _0x2293c1=this[_0x288f93(0x12f)][_0x288f93(0x169)]();await this[_0x288f93(0x187)](_0x13d040,_0x1e464c,_0x2293c1),this['_dependencyManagerService']['openKdTree']();const _0x30f587=this[_0x288f93(0x199)](),_0x45f97a=this[_0x288f93(0xff)](_0x30f587);return this[_0x288f93(0x15d)](_0x45f97a)&&this[_0x288f93(0x109)][_0x288f93(0x114)](),this[_0x288f93(0x1a3)][_0x288f93(0x18e)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x288f93(0x11a)]['closeKdTree'](),this['_runtimeService'][_0x288f93(0x16e)](),Promise[_0x288f93(0x1ac)](_0x45f97a);}[_0x1c4ee4(0x165)](_0x15a0f3,_0x3196dd){const _0x27707d=_0x1c4ee4,_0x1ea665=[_0x15a0f3];for(;_0x1ea665[_0x27707d(0x103)]>0x0;){const _0xf97bfe=_0x1ea665[_0x1ea665['length']-0x1];if((_0x3196dd[_0x27707d(0x19b)](_0xf97bfe)||0x0)===0x0){_0x3196dd[_0x27707d(0x102)](_0xf97bfe,0x1);const _0x1e5345=this[_0x27707d(0x1a3)][_0x27707d(0x19b)](_0xf97bfe);if(_0x1e5345==null){_0x3196dd[_0x27707d(0x102)](_0xf97bfe,0x2),_0x1ea665[_0x27707d(0x164)]();continue;}const _0x248919=this[_0x27707d(0x11a)][_0x27707d(0x173)](_0x1e5345[_0x27707d(0x175)]());for(const _0x65b394 of _0x248919){const _0x4f0154=_0x3196dd[_0x27707d(0x19b)](_0x65b394)||0x0;if(_0x4f0154===0x1)return!0x0;_0x4f0154===0x0&&_0x1ea665['push'](_0x65b394);}}else _0x3196dd[_0x27707d(0x102)](_0xf97bfe,0x2),_0x1ea665['pop']();}return!0x1;}[_0x1c4ee4(0x15d)](_0x13ac53){const _0x1063b1=_0x1c4ee4,_0x2a275e=new Map();for(const _0x5e6850 of _0x13ac53)if(!_0x2a275e[_0x1063b1(0x15f)](_0x5e6850[_0x1063b1(0x19a)])&&this[_0x1063b1(0x165)](_0x5e6850[_0x1063b1(0x19a)],_0x2a275e))return!0x0;return _0x2a275e['clear'](),!0x1;}[_0x1c4ee4(0x138)](_0x5beb06,_0x47c302,_0x25139b){const _0x5d17ac=_0x1c4ee4,{unitId:_0x2059d1,subUnitId:_0x2c13c7,dependencyRanges:_0xfdcab6,getDirtyData:_0x233896}=_0x25139b,_0x4c658b=_0x47c302||_0x50a502(this[_0x5d17ac(0x11a)]),_0x450471=new _0x268a77(_0x4c658b);_0x450471[_0x5d17ac(0x18a)]=_0x2059d1,_0x450471['subUnitId']=_0x2c13c7,_0x450471[_0x5d17ac(0x1a5)]=_0xfdcab6,_0x450471[_0x5d17ac(0x195)]=_0x233896;const _0x2f8b1d=_0x233896(this[_0x5d17ac(0x12f)][_0x5d17ac(0x195)](),this[_0x5d17ac(0x109)][_0x5d17ac(0x178)]()),_0x2fda37=this['_convertDirtyRangesToUnitRange'](_0x2f8b1d[_0x5d17ac(0x19e)]);return _0x450471[_0x5d17ac(0x12d)]=_0x2fda37,_0x450471[_0x5d17ac(0x106)]=_0x5beb06,_0x450471['type']=_0x2be523['FEATURE_FORMULA'],this[_0x5d17ac(0x11a)][_0x5d17ac(0x192)](_0x2059d1,_0x2c13c7,_0x5beb06,_0x450471),this[_0x5d17ac(0x1a3)][_0x5d17ac(0x102)](_0x450471[_0x5d17ac(0x19a)],_0x450471),this[_0x5d17ac(0x11a)][_0x5d17ac(0x189)](_0x25139b[_0x5d17ac(0x18a)],_0x25139b['subUnitId'],_0x5beb06)&&(_0x450471[_0x5d17ac(0x135)]=!0x0),_0x450471;}[_0x1c4ee4(0x14b)](_0x549192,_0x5b7c18,_0x2774a8){const _0x210004=_0x1c4ee4;var _0x32a5c7;for(const _0x39d1d0 of _0x5b7c18){const _0x4fb1e0=_0x549192[_0x39d1d0];if(_0x4fb1e0==null)continue;const _0x411dff=Object[_0x210004(0x1a0)](_0x4fb1e0);for(const _0x1602eb of _0x411dff){const _0x3c8895=_0x4fb1e0[_0x1602eb];if(_0x3c8895==null)continue;const _0x29a0ca=Object[_0x210004(0x1a0)](_0x3c8895);for(const _0x32e584 of _0x29a0ca){const _0x335505=this['_dependencyManagerService'][_0x210004(0x10c)](_0x32e584),_0x5157a9=_0x3c8895[_0x32e584],{f:_0x151949,ranges:_0x1fccbf}=_0x5157a9;let _0x28cb01=!0x1;_0x335505&&(_0x28cb01=!0x0);const {firstRow:_0xd09394,firstColumn:_0x4b68a4}=this[_0x210004(0x116)](_0x1fccbf),_0x4c5c3f=this[_0x210004(0x11a)][_0x210004(0x13f)](_0x39d1d0,_0x1602eb,_0x32e584),_0x513f85=(_0x32a5c7=_0x4c5c3f==null?void 0x0:_0x4c5c3f[_0x210004(0x104)](0x0,0x0))!=null?_0x32a5c7:_0x50a502(this['_dependencyManagerService']),_0x589cfa=new _0x268a77(_0x513f85);for(let _0x244a53=0x0;_0x244a53<_0x1fccbf['length'];_0x244a53++){const _0x8b9391=_0x1fccbf[_0x244a53],{startRow:_0x53d724,startColumn:_0x3c24df,endRow:_0x34b149,endColumn:_0xdf9c2b}=_0x8b9391;for(let _0x2a3bfc=_0x53d724;_0x2a3bfc<=_0x34b149;_0x2a3bfc++)for(let _0x273082=_0x3c24df;_0x273082<=_0xdf9c2b;_0x273082++){const _0x43db23=_0x273082-_0x4b68a4,_0x3f002e=_0x2a3bfc-_0xd09394;if(_0x43db23===0x0&&_0x3f002e===0x0){_0x589cfa[_0x210004(0x16d)]=_0x151949,_0x589cfa['unitId']=_0x39d1d0,_0x589cfa['subUnitId']=_0x1602eb,_0x589cfa['formulaId']=_0x32e584,_0x589cfa['type']=_0x2be523[_0x210004(0x179)],_0x589cfa[_0x210004(0x135)]=_0x28cb01,_0x2774a8[_0x210004(0x101)](_0x589cfa),this[_0x210004(0x1a3)][_0x210004(0x102)](_0x589cfa[_0x210004(0x19a)],_0x589cfa),this[_0x210004(0x11a)][_0x210004(0x197)](_0x39d1d0,_0x1602eb,_0x32e584,_0x589cfa),this[_0x210004(0x11a)][_0x210004(0x134)](_0x589cfa);continue;}const _0x5a62e1=new _0x36f1c0();_0x5a62e1[_0x210004(0x19a)]=(_0x4c5c3f==null?void 0x0:_0x4c5c3f['getValue'](_0x43db23,_0x3f002e))||_0x50a502(this['_dependencyManagerService']),_0x5a62e1['refTree']=_0x589cfa,_0x5a62e1[_0x210004(0x151)]=_0x43db23,_0x5a62e1[_0x210004(0x143)]=_0x3f002e,_0x5a62e1[_0x210004(0x135)]=_0x28cb01,this[_0x210004(0x11a)]['addOtherFormulaDependency'](_0x39d1d0,_0x1602eb,_0x32e584,_0x5a62e1),this[_0x210004(0x11a)]['addFormulaDependencyByDefinedName'](_0x5a62e1),_0x2774a8[_0x210004(0x101)](_0x5a62e1),this[_0x210004(0x1a3)]['set'](_0x5a62e1[_0x210004(0x19a)],_0x5a62e1);}}this[_0x210004(0x11a)][_0x210004(0x163)](_0x32e584);}}}}[_0x1c4ee4(0x18b)](_0x5ead40,_0xd6068,_0x449ec5,_0x566122){const _0x2ed0e2=_0x1c4ee4;for(const _0x815e32 of _0x5ead40){const _0x2c1451=_0xd6068[_0x815e32];if(_0x2c1451==null)continue;const _0x57a1d7=Object[_0x2ed0e2(0x1a0)](_0x2c1451);for(const _0x3b3848 of _0x57a1d7){const _0x1b43af=new _0x55d10f(_0x2c1451[_0x3b3848]||{}),_0x57f7ff=new Map();_0x1b43af[_0x2ed0e2(0xfe)]((_0x30e61e,_0x5c9102,_0x16f5e4)=>{const _0x18aab1=_0x2ed0e2;if(_0x16f5e4==null)return!0x0;const {x:_0x411b1a=0x0,y:_0x3ba981=0x0,si:_0x5eee80}=_0x16f5e4;if(!(_0x411b1a===0x0&&_0x3ba981===0x0&&_0x5eee80!=null))return!0x0;const _0x12c821=this[_0x18aab1(0x13e)](_0x815e32,_0x3b3848,_0x30e61e,_0x5c9102,_0x449ec5,_0x16f5e4),_0x56bc11=this[_0x18aab1(0x11a)]['getFormulaDependency'](_0x815e32,_0x3b3848,_0x30e61e,_0x5c9102);_0x56bc11!=null?_0x12c821[_0x18aab1(0x19a)]=_0x56bc11:(this[_0x18aab1(0x11a)][_0x18aab1(0x17a)](_0x815e32,_0x3b3848,_0x30e61e,_0x5c9102,_0x12c821),this['_dependencyManagerService'][_0x18aab1(0x134)](_0x12c821)),_0x57f7ff[_0x18aab1(0x102)](_0x5eee80,_0x12c821),_0x566122[_0x18aab1(0x101)](_0x12c821),this[_0x18aab1(0x1a3)]['set'](_0x12c821[_0x18aab1(0x19a)],_0x12c821);}),_0x1b43af[_0x2ed0e2(0xfe)]((_0xa40b5f,_0x28589c,_0x5d8235)=>{const _0xa1d827=_0x2ed0e2;if(_0x5d8235==null)return!0x0;const {x:_0x277327=0x0,y:_0x360063=0x0,si:_0x4c394f}=_0x5d8235;if(_0x277327===0x0&&_0x360063===0x0&&_0x4c394f!=null)return!0x0;let _0x158082;if(_0x4c394f&&_0x57f7ff['has'](_0x4c394f)){const _0x2707b4=_0x57f7ff[_0xa1d827(0x19b)](_0x4c394f);_0x158082=this['_createVirtualFDtree'](_0x2707b4,_0x5d8235);}else _0x158082=this[_0xa1d827(0x13e)](_0x815e32,_0x3b3848,_0xa40b5f,_0x28589c,_0x449ec5,_0x5d8235);const _0xf1f416=this[_0xa1d827(0x11a)][_0xa1d827(0x172)](_0x815e32,_0x3b3848,_0xa40b5f,_0x28589c);_0xf1f416!=null?_0x158082[_0xa1d827(0x19a)]=_0xf1f416:(this['_dependencyManagerService'][_0xa1d827(0x17a)](_0x815e32,_0x3b3848,_0xa40b5f,_0x28589c,_0x158082),this[_0xa1d827(0x11a)]['addFormulaDependencyByDefinedName'](_0x158082)),_0x566122[_0xa1d827(0x101)](_0x158082),this['_dependencyTreeCache']['set'](_0x158082[_0xa1d827(0x19a)],_0x158082);}),_0x57f7ff[_0x2ed0e2(0x18e)]();}}}[_0x1c4ee4(0x13e)](_0x537bba,_0x1b4443,_0x3d5eef,_0x3dce4f,_0x2fc50c,_0x2cb56f){const _0x1314a7=_0x1c4ee4,{f:_0x4cf65d,x:_0xb2b867=0x0,y:_0x5bb36b=0x0}=_0x2cb56f,_0x5162c7=new _0x268a77(_0x50a502(this['_dependencyManagerService'])),_0x3bcfc1=_0x2fc50c[_0x537bba][_0x1b4443];return _0x5162c7[_0x1314a7(0x16d)]=_0x4cf65d,_0x5162c7['unitId']=_0x537bba,_0x5162c7[_0x1314a7(0x155)]=_0x1b4443,_0x5162c7[_0x1314a7(0x183)]=_0x3d5eef,_0x5162c7[_0x1314a7(0x158)]=_0x3dce4f,_0x5162c7[_0x1314a7(0x1a9)]=_0x3bcfc1[_0x1314a7(0x1a9)],_0x5162c7[_0x1314a7(0x180)]=_0x3bcfc1['columnCount'],_0x5162c7;}['_getUpdateTreeListAndMakeDependency'](){const _0x5589a1=_0x1c4ee4,_0x1a42af=[],_0x42556c=new Set(),_0x471dbc=this[_0x5589a1(0x12f)][_0x5589a1(0x10b)](),_0x1ceb4b=this[_0x5589a1(0x12f)][_0x5589a1(0x117)](),_0x1ea998=this['_dependencyManagerService'][_0x5589a1(0x173)](_0x1ceb4b),_0x5dfef8=this[_0x5589a1(0x14e)][_0x5589a1(0x196)](_0x1ceb4b);for(const _0x283b98 of _0x5dfef8)_0x1ea998[_0x5589a1(0x124)](_0x283b98);for(const [_0x3fa275,_0x5c50b3]of this[_0x5589a1(0x1a3)])(_0x471dbc||_0x5c50b3[_0x5589a1(0x1b5)]||_0x5c50b3['dependencySheetName'](this[_0x5589a1(0x12f)]['getDirtyNameMap']())||_0x1ea998['has'](_0x3fa275)&&!_0x5c50b3['isExcludeRange'](this[_0x5589a1(0x12f)][_0x5589a1(0x16b)]()))&&!_0x42556c[_0x5589a1(0x15f)](_0x3fa275)&&(_0x1a42af[_0x5589a1(0x101)](_0x5c50b3),_0x42556c[_0x5589a1(0x124)](_0x3fa275));for(const [_0x30df19,_0x34c2ed]of this[_0x5589a1(0x1a3)])_0x34c2ed[_0x5589a1(0x13d)]||(_0x34c2ed['rangeList']['length']=0x0);return _0x1a42af;}[_0x1c4ee4(0x16a)](_0x167792){const _0x39be56=_0x1c4ee4;return this[_0x39be56(0x1a3)]['get'](_0x167792);}[_0x1c4ee4(0x10a)](_0x118287){const _0x1a1c54=_0x1c4ee4;return _0x42231d(_0x118287['unitId'],_0x118287[_0x1a1c54(0x16d)],this[_0x1a1c54(0x120)],this[_0x1a1c54(0x184)],this[_0x1a1c54(0x12f)]);}*['_traverse'](_0x21268d,_0x12d48a){const _0x24c24d=_0x1c4ee4,_0x36bdd5=_0x21268d,_0x2ec69c=new Set();for(;_0x36bdd5['length']>0x0;){const _0x398284=_0x36bdd5[_0x24c24d(0x164)]();if(_0x2ec69c[_0x24c24d(0x18e)](),_0x398284===void 0x0||_0x398284[_0x24c24d(0x13a)]())continue;if(_0x398284['isAdded']()){yield _0x398284,_0x398284['setSkip'](),_0x12d48a[_0x24c24d(0x124)](_0x398284[_0x24c24d(0x19a)]);continue;}const _0x42cef8=this[_0x24c24d(0x11a)]['searchDependency'](_0x398284['toRTreeItem'](),_0x12d48a),_0x5f52e1=this[_0x24c24d(0x14e)][_0x24c24d(0x196)](_0x398284[_0x24c24d(0x175)](),_0x12d48a);for(const _0xaac245 of _0x5f52e1)_0x42cef8[_0x24c24d(0x124)](_0xaac245);for(const _0x37e1d0 of _0x42cef8){const _0x1e812=this[_0x24c24d(0x1a3)]['get'](_0x37e1d0);if(!_0x1e812)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x1e812['isAdded']()||_0x398284[_0x24c24d(0x13a)]()||_0x2ec69c[_0x24c24d(0x124)](_0x1e812);}if(_0x42cef8['clear'](),_0x2ec69c[_0x24c24d(0x137)]===0x0)yield _0x398284,_0x398284[_0x24c24d(0x122)](),_0x12d48a[_0x24c24d(0x124)](_0x398284[_0x24c24d(0x19a)]);else{_0x398284[_0x24c24d(0x1a6)](),_0x36bdd5[_0x24c24d(0x101)](_0x398284);for(const _0x504789 of _0x2ec69c)_0x36bdd5[_0x24c24d(0x101)](_0x504789);}}_0x36bdd5[_0x24c24d(0x103)]=0x0,_0x2ec69c[_0x24c24d(0x18e)]();}[_0x1c4ee4(0xff)](_0x428d5c){const _0x427216=_0x1c4ee4,_0x330d79=[],_0x4f3b52=new Set();for(const _0x4ea179 of this[_0x427216(0x136)](_0x428d5c,_0x4f3b52))_0x330d79['push'](_0x4ea179);return _0x330d79;}async['_getAllTreeList'](){const _0x2aa0c0=_0x1c4ee4;return await this[_0x2aa0c0(0x1b0)](),Array[_0x2aa0c0(0x166)](this['_dependencyTreeCache'][_0x2aa0c0(0x11c)]());}['_getDependencyTreeParenIds'](_0x24b72f){const _0x54164e=_0x1c4ee4;return this[_0x54164e(0x11a)][_0x54164e(0x173)](_0x24b72f['toRTreeItem']());}[_0x1c4ee4(0x17b)](_0x159375){const _0x46f2d7=_0x1c4ee4,_0x515188=new Set(),_0x42b61b=_0x159375['rangeList'];for(const [_0x483465,_0x198fda]of this['_dependencyTreeCache'])for(const _0x15095f of _0x42b61b){const _0x213e4e=_0x15095f[_0x46f2d7(0x18a)],_0x1d0ab2=_0x15095f['sheetId'];if(_0x198fda['unitId']!==_0x213e4e||_0x198fda[_0x46f2d7(0x155)]!==_0x1d0ab2)continue;const _0x33d434=_0x15095f[_0x46f2d7(0x146)];if(_0x198fda['inRangeData'](_0x33d434)){_0x515188[_0x46f2d7(0x124)](_0x483465);break;}}return _0x515188;}[_0x1c4ee4(0x1a2)](){const _0x5bb92f=_0x1c4ee4;this[_0x5bb92f(0x11a)][_0x5bb92f(0x193)]();}[_0x1c4ee4(0x123)](){const _0x10e9e9=_0x1c4ee4;this[_0x10e9e9(0x144)][_0x10e9e9(0x18e)](),this[_0x10e9e9(0x1a3)][_0x10e9e9(0x18e)](),this['_dependencyManagerService'][_0x10e9e9(0x156)]();}}class be extends _0x3d3e0a{constructor(){super(...arguments),b(this,'_hasNewExcelFunction',!0x1),b(this,'_lambdaFunctionParameterSet',new Set());}[_0x1c4ee4(0x140)](_0x5bf707,_0x463a88){const _0x3e82df=_0x1c4ee4,_0x2f8761=this['treeBuilder'](_0x5bf707,!0x1);if(!_0x2f8761||_0x2f8761===_0x3fbd7a[_0x3e82df(0x15e)]||Array[_0x3e82df(0x12e)](_0x2f8761))return null;const _0x5d93c3=[];return this[_0x3e82df(0x125)]=!0x1,this[_0x3e82df(0x17d)](_0x2f8761,_0x5d93c3,_0x463a88),this[_0x3e82df(0x125)]?'='+_0x5d93c3[_0x3e82df(0x191)](''):null;}[_0x1c4ee4(0x17d)](_0x140497,_0x3cb7af,_0x1d4b5a){const _0x25354a=_0x1c4ee4,_0x4c8dc9=_0x140497[_0x25354a(0x1a4)](),_0x1be2b9=_0x4c8dc9[_0x25354a(0x10f)](),_0x2aa57f=_0x1be2b9[_0x25354a(0x1b1)](),_0x53e3af=this[_0x25354a(0x127)](_0x2aa57f),_0x2d7fa6=_0x1d4b5a(_0x53e3af);let _0x5c88f2=0x0;_0x4c8dc9===_0x49e67e?_0x5c88f2=0x3:_0x4c8dc9===_0xa3d67a?_0x5c88f2=0x4:_0x4c8dc9===_0xeedba8?_0x5c88f2=0x5:_0x356d01[_0x25354a(0x15f)](_0x53e3af)?(_0x3cb7af['push'](_0x25354a(0x1a1)+_0x1be2b9),this[_0x25354a(0x125)]=!0x0):_0x2aa57f===_0x4d1f1c?(_0x3cb7af[_0x25354a(0x101)](_0x25354a(0x1a1)+_0x1be2b9),this[_0x25354a(0x125)]=!0x0,_0x5c88f2=0x2):_0x2aa57f===_0x1b2350?(_0x3cb7af[_0x25354a(0x101)](_0x25354a(0x1a1)+_0x1be2b9),this[_0x25354a(0x125)]=!0x0,_0x5c88f2=0x1):_0x2aa57f===_0x2fb2a6[_0x25354a(0x170)]?_0x5c88f2=0x8:_0x394fab[_0x25354a(0x15f)](_0x2aa57f)?_0x5c88f2=0x7:_0x2aa57f===_0x3fcdfa[_0x25354a(0x190)]?(this[_0x25354a(0x19d)](_0x140497)&&(_0x5c88f2=0x9),_0x3cb7af[_0x25354a(0x101)](_0x4c8dc9)):(_0x3cb7af[_0x25354a(0x101)](_0x4c8dc9),_0x5c88f2=0xa),_0x2d7fa6?(_0x5c88f2!==0x2&&_0x5c88f2!==0x1&&(_0x5c88f2=0x6),_0x3cb7af[_0x25354a(0x101)]('(')):_0x5c88f2===0x9&&_0x3cb7af[_0x25354a(0x101)]('(');const _0x50a2a2=_0x140497['getChildren'](),_0xcb7975=_0x50a2a2[_0x25354a(0x103)];if(_0x5c88f2===0x2){const _0x1269d2=_0x50a2a2[0x0];let _0x30ff79=0x0;_0x1269d2 instanceof _0x4ae017&&_0x1269d2['getToken']()===_0xeedba8&&(_0x30ff79=0x1);for(let _0x4c28e2=_0x30ff79;_0x4c28e2<_0xcb7975-0x1;_0x4c28e2++){const _0x51b536=_0x50a2a2[_0x4c28e2];if(_0x51b536 instanceof _0x4ae017){const _0x15cedf=_0x51b536[_0x25354a(0x12a)]()[0x0];typeof _0x15cedf=='string'&&(this[_0x25354a(0xfa)][_0x25354a(0x15f)](_0x15cedf)&&console[_0x25354a(0x154)](_0x25354a(0x15c)+_0x15cedf+'\x22\x20is\x20duplicated.'),this[_0x25354a(0xfa)][_0x25354a(0x124)](_0x15cedf),_0x3cb7af['push'](_0x25354a(0x129)+_0x15cedf),this['_hasNewExcelFunction']=!0x0);}_0x3cb7af['push'](',');}this[_0x25354a(0x17f)](_0x50a2a2[_0xcb7975-0x1],_0x3cb7af,_0x1d4b5a),_0x30ff79===0x1&&(_0x3cb7af[_0x25354a(0x101)](')'),_0x3cb7af[_0x25354a(0x101)]('('),this[_0x25354a(0x17d)](_0x1269d2,_0x3cb7af,_0x1d4b5a)),_0x3cb7af['push'](')');return;}else{if(_0x5c88f2===0x1){for(let _0x3d38d7=0x0;_0x3d38d7<_0xcb7975-0x1;_0x3d38d7++){const _0x591112=_0x50a2a2[_0x3d38d7];if(_0x591112 instanceof _0x4ae017&&_0x3d38d7%0x2===0x0){const _0x3c8230=_0x591112[_0x25354a(0x12a)]()[0x0];if(typeof _0x3c8230=='string'){this[_0x25354a(0xfa)][_0x25354a(0x15f)](_0x3c8230)&&console[_0x25354a(0x154)](_0x25354a(0x145)+_0x3c8230+'\x22\x20is\x20duplicated.'),this[_0x25354a(0xfa)][_0x25354a(0x124)](_0x3c8230),_0x3cb7af['push'](_0x25354a(0x129)+_0x3c8230),this['_hasNewExcelFunction']=!0x0,_0x3cb7af['push'](',');continue;}}if(this[_0x25354a(0x17f)](_0x591112,_0x3cb7af,_0x1d4b5a),_0x591112 instanceof _0x4ae017){const _0x5781ab=_0x50a2a2[_0x3d38d7+0x1];_0x5781ab&&_0x5781ab instanceof _0x4ae017&&_0x3cb7af[_0x25354a(0x101)](',');}}this['_handleNewFunctionChild'](_0x50a2a2[_0xcb7975-0x1],_0x3cb7af,_0x1d4b5a),_0x3cb7af[_0x25354a(0x101)](')');return;}else{if(_0x5c88f2===0x8){const _0x29d371=_0x50a2a2[0x0],_0x5632c8=_0x50a2a2[0x1];this[_0x25354a(0x17f)](_0x29d371,_0x3cb7af,_0x1d4b5a),_0x3cb7af[_0x25354a(0x101)](_0x4c8dc9),this[_0x25354a(0x17f)](_0x5632c8,_0x3cb7af,_0x1d4b5a);return;}}}for(let _0x49e313=0x0;_0x49e313<_0xcb7975;_0x49e313++){const _0x1c7dc9=_0x50a2a2[_0x49e313];if(this['_handleNewFunctionChild'](_0x1c7dc9,_0x3cb7af,_0x1d4b5a),_0x1c7dc9 instanceof _0x4ae017){const _0xf01382=_0x50a2a2[_0x49e313+0x1];_0xf01382&&_0xf01382 instanceof _0x4ae017&&_0x3cb7af['push'](',');}}_0x5c88f2===0x7&&_0x3cb7af['push'](_0x4c8dc9),(_0x2d7fa6||_0x5c88f2===0x9)&&_0x3cb7af[_0x25354a(0x101)](')');}[_0x1c4ee4(0x17f)](_0x4b3528,_0x44782b,_0x2cc6ee){const _0x179b52=_0x1c4ee4;_0x4b3528 instanceof _0x4ae017?this[_0x179b52(0x17d)](_0x4b3528,_0x44782b,_0x2cc6ee):this[_0x179b52(0xfa)][_0x179b52(0x15f)](_0x4b3528)?(_0x44782b['push'](_0x179b52(0x129)+_0x4b3528),this[_0x179b52(0x125)]=!0x0):_0x44782b[_0x179b52(0x101)](_0x4b3528);}[_0x1c4ee4(0x127)](_0x2ce220){const _0x4dc4c3=_0x1c4ee4;let _0xc25e8=_0x2ce220[_0x4dc4c3(0x10f)]();if(!_0xc25e8)return _0xc25e8;const _0x448273=_0xc25e8[0x0];if((_0x448273===_0x3fcdfa['AT']||_0x448273===_0x3fcdfa[_0x4dc4c3(0x190)]||_0x448273===_0x3fcdfa[_0x4dc4c3(0x18d)])&&(_0xc25e8=_0xc25e8[_0x4dc4c3(0x14a)](0x1)),!_0xc25e8)return _0xc25e8;const _0x5e485c=_0xc25e8[_0xc25e8[_0x4dc4c3(0x103)]-0x1];return _0x394fab[_0x4dc4c3(0x15f)](_0x5e485c)&&(_0xc25e8=_0xc25e8['slice'](0x0,-0x1)),_0xc25e8;}['_checkAddBracketForMinus'](_0x11496f){const _0x1dfbec=_0x1c4ee4,_0x151545=_0x11496f[_0x1dfbec(0x12a)]()[0x0];if(!_0x151545||!(_0x151545 instanceof _0x4ae017)||_0x11496f['getChildren']()[_0x1dfbec(0x103)]>0x1)return!0x1;const _0x1c2d32=_0x151545['getChildren'](),_0x546c67=_0x1c2d32['length'];if(_0x546c67===0x1)return!0x1;for(let _0x4426b5=0x0;_0x4426b5<_0x546c67;_0x4426b5++){const _0x275b52=_0x1c2d32[_0x4426b5];if(!(_0x275b52 instanceof _0x4ae017)&&_0x3a07a5[_0x1dfbec(0x15f)](_0x275b52))return!0x0;}return!0x1;}}class ve extends _0x4d816c{async[_0x1c4ee4(0x19f)](_0x489c13=!0x1){const _0x452627=_0x1c4ee4;_0x489c13?this[_0x452627(0x109)]['setFormulaExecuteStage'](_0x4312b9[_0x452627(0xf9)]):this[_0x452627(0x109)][_0x452627(0x159)](_0x4312b9[_0x452627(0x108)]),this[_0x452627(0x181)][_0x452627(0x14f)](this[_0x452627(0x109)][_0x452627(0x1b3)]());const _0x18136d=await this[_0x452627(0x17e)][_0x452627(0x105)](),_0x253957=this[_0x452627(0x174)];_0x489c13?(this[_0x452627(0x109)][_0x452627(0x159)](_0x4312b9[_0x452627(0x133)]),this['_runtimeService'][_0x452627(0x113)](_0x18136d['length'])):(this[_0x452627(0x109)][_0x452627(0x159)](_0x4312b9[_0x452627(0x126)]),this['_runtimeService'][_0x452627(0x142)](_0x18136d[_0x452627(0x103)])),this[_0x452627(0x181)][_0x452627(0x14f)](this[_0x452627(0x109)][_0x452627(0x1b3)]());let _0x2ec830=[];const _0x4acbb9=this[_0x452627(0x176)][_0x452627(0x112)](_0x17d854),_0x562df8=(_0x4acbb9==null?void 0x0:_0x4acbb9['intervalCount'])||_0x2b3114;let _0x51c423=0x0;const _0x259337=_0x18136d[_0x452627(0x103)];for(;_0x18136d[_0x452627(0x103)]>0x0;){const _0x1dfcea=_0x18136d['pop'](),_0x2ad1af=_0x42231d(_0x1dfcea[_0x452627(0x18a)],_0x1dfcea[_0x452627(0x16d)],this[_0x452627(0x120)],this['_astTreeBuilder'],this[_0x452627(0x12f)]),_0x40bade={'node':_0x2ad1af,'refOffsetX':_0x1dfcea['refOffsetX'],'refOffsetY':_0x1dfcea[_0x452627(0x143)]},_0x3864a3=_0x1dfcea[_0x452627(0x195)];if(_0x51c423%_0x562df8===0x0&&(await new Promise(_0x3a3f13=>{const _0x3c3053=_0x452627,_0x140f14=_0xd75a4d(_0x3a3f13);_0x2ec830[_0x3c3053(0x101)](_0x140f14);}),_0x489c13?(this[_0x452627(0x109)]['setFormulaExecuteStage'](_0x4312b9[_0x452627(0x11b)]),this[_0x452627(0x109)][_0x452627(0x12c)](_0x51c423+0x1)):(this[_0x452627(0x109)][_0x452627(0x159)](_0x4312b9[_0x452627(0x111)]),this[_0x452627(0x109)][_0x452627(0x177)](_0x51c423+0x1)),this[_0x452627(0x181)][_0x452627(0x14f)](this[_0x452627(0x109)][_0x452627(0x1b3)]()),this[_0x452627(0x109)][_0x452627(0x115)]()||_0x40bade==null&&_0x3864a3==null)){this[_0x452627(0x109)][_0x452627(0x159)](_0x4312b9['IDLE']),this[_0x452627(0x109)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x452627(0x14f)](this[_0x452627(0x109)][_0x452627(0x178)]());return;}this['_runtimeService']['setCurrent'](_0x1dfcea['row'],_0x1dfcea['column'],_0x1dfcea[_0x452627(0x1a9)],_0x1dfcea['columnCount'],_0x1dfcea['subUnitId'],_0x1dfcea[_0x452627(0x18a)]);let _0x34f9fa;if(_0x3864a3!=null&&_0x1dfcea[_0x452627(0x106)]!=null){const {runtimeCellData:_0x50b166,dirtyRanges:_0x3817fa}=_0x3864a3(this[_0x452627(0x12f)]['getDirtyData'](),this[_0x452627(0x109)][_0x452627(0x178)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x1dfcea['featureId'],_0x50b166),this[_0x452627(0x109)][_0x452627(0x13c)](_0x1dfcea['featureId'],_0x3817fa);}else _0x40bade!=null&&(_0x253957[_0x452627(0x1aa)](_0x40bade[_0x452627(0x10d)])?_0x34f9fa=await _0x253957[_0x452627(0x11f)](_0x40bade):_0x34f9fa=_0x253957[_0x452627(0xf8)](_0x40bade),_0x1dfcea[_0x452627(0x16c)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x1dfcea[_0x452627(0x16c)],_0x1dfcea[_0x452627(0x151)],_0x1dfcea[_0x452627(0x143)],_0x34f9fa):this[_0x452627(0x109)]['setRuntimeData'](_0x34f9fa));_0x2ad1af[_0x452627(0x118)](),_0x51c423++;}return _0x2ec830[_0x452627(0x100)](_0x1e1914=>_0x1e1914()),_0x2ec830=[],_0x259337>0x0?this[_0x452627(0x109)][_0x452627(0x1a7)]():_0x489c13||this[_0x452627(0x109)][_0x452627(0x1a8)](),this[_0x452627(0x109)][_0x452627(0x178)]();}}class Me extends _0x109025{constructor(){const _0x5a2f27=_0x1c4ee4;super(...arguments),b(this,_0x5a2f27(0xfb),new Map()),b(this,_0x5a2f27(0x12b),new _0x10da3c(!0x0));}['reset'](){const _0xd486ee=_0x1c4ee4;this['_otherFormulaData']['clear'](),this[_0xd486ee(0x160)][_0xd486ee(0x18e)](),this['_formulaData']['clear'](),this['_dependencyRTreeCache'][_0xd486ee(0x18e)](),this[_0xd486ee(0xfb)][_0xd486ee(0x18e)](),this[_0xd486ee(0x168)](),this[_0xd486ee(0x128)][_0xd486ee(0x18e)]();}['addOtherFormulaDependency'](_0x35138f,_0x1ed24a,_0x23c08f,_0x16d13b){const _0xbd44f6=_0x1c4ee4;this[_0xbd44f6(0x185)]['has'](_0x35138f)||this[_0xbd44f6(0x185)][_0xbd44f6(0x102)](_0x35138f,new Map());const _0x5bd46e=this['_otherFormulaData'][_0xbd44f6(0x19b)](_0x35138f);_0x5bd46e['has'](_0x1ed24a)||_0x5bd46e['set'](_0x1ed24a,new Map());const _0x161479=_0x5bd46e[_0xbd44f6(0x19b)](_0x1ed24a);_0x161479[_0xbd44f6(0x15f)](_0x23c08f)||_0x161479['set'](_0x23c08f,new _0x55d10f()),_0x161479[_0xbd44f6(0x19b)](_0x23c08f)['setValue'](_0x16d13b[_0xbd44f6(0x151)],_0x16d13b[_0xbd44f6(0x143)],_0x16d13b[_0xbd44f6(0x19a)]);}[_0x1c4ee4(0x15b)](_0x131734,_0x1286eb,_0xcfea6){const _0x5c3c3f=_0x1c4ee4,_0x267465=this[_0x5c3c3f(0x185)][_0x5c3c3f(0x19b)](_0x131734);if(_0x267465&&_0x267465[_0x5c3c3f(0x15f)](_0x1286eb)){const _0x4d30d8=_0x267465[_0x5c3c3f(0x19b)](_0x1286eb);_0xcfea6[_0x5c3c3f(0x100)](_0x191251=>{const _0x391431=_0x5c3c3f,_0x5c4df3=_0x4d30d8[_0x391431(0x19b)](_0x191251);_0x5c4df3!=null&&(_0x5c4df3[_0x391431(0xfe)]((_0x443e43,_0x20cd31,_0x2e5641)=>{const _0x36d4db=_0x391431;this[_0x36d4db(0x162)](_0x2e5641),this[_0x36d4db(0x1ae)](_0x2e5641);}),_0x4d30d8[_0x391431(0x15a)](_0x191251),this[_0x391431(0x128)][_0x391431(0x15a)](_0x191251));}),_0x4d30d8[_0x5c3c3f(0x137)]===0x0&&_0x267465[_0x5c3c3f(0x15a)](_0x1286eb),_0x267465['size']===0x0&&this['_otherFormulaData'][_0x5c3c3f(0x15a)](_0x131734);}}[_0x1c4ee4(0x1b4)](_0x2aca2d,_0x172029){const _0x1a4e9f=_0x1c4ee4,_0x37f48b=this['_otherFormulaData'][_0x1a4e9f(0x19b)](_0x2aca2d);if(_0x172029&&_0x37f48b&&_0x37f48b[_0x1a4e9f(0x15f)](_0x172029)){const _0x543217=_0x37f48b[_0x1a4e9f(0x19b)](_0x172029);this[_0x1a4e9f(0xfc)](_0x2aca2d,_0x172029);for(const _0x5b9113 of _0x543217[_0x1a4e9f(0x1a0)]()){const _0x389284=_0x543217['get'](_0x5b9113);_0x389284!=null&&(_0x389284[_0x1a4e9f(0xfe)]((_0x247a90,_0x2b6d6b,_0x3d15f4)=>{const _0x2ea4be=_0x1a4e9f;this['_allTreeMap'][_0x2ea4be(0x19b)](_0x3d15f4)&&this[_0x2ea4be(0x1ae)](_0x3d15f4);}),this[_0x1a4e9f(0x128)]['delete'](_0x5b9113));}_0x543217[_0x1a4e9f(0x18e)]();}else{if(_0x37f48b){for(const _0x496410 of _0x37f48b['keys']()){const _0x3ca885=_0x37f48b[_0x1a4e9f(0x19b)](_0x496410);this['_removeDependencyRTreeCacheById'](_0x2aca2d,_0x496410);for(const _0x20f29a of _0x3ca885[_0x1a4e9f(0x1a0)]()){const _0x195484=_0x3ca885[_0x1a4e9f(0x19b)](_0x20f29a);_0x195484!=null&&(_0x195484['forValue']((_0x16556b,_0x4c1fec,_0x23ade7)=>{const _0x2ae8bd=_0x1a4e9f;this[_0x2ae8bd(0xfb)]['get'](_0x23ade7)&&this[_0x2ae8bd(0x1ae)](_0x23ade7);}),this[_0x1a4e9f(0x128)][_0x1a4e9f(0x15a)](_0x20f29a));}}this[_0x1a4e9f(0x185)][_0x1a4e9f(0x15a)](_0x2aca2d);}}}[_0x1c4ee4(0x192)](_0x8a3bd4,_0x12532c,_0x1e3d57,_0x44972a){const _0x2f1902=_0x1c4ee4;this[_0x2f1902(0x160)][_0x2f1902(0x15f)](_0x8a3bd4)||this[_0x2f1902(0x160)][_0x2f1902(0x102)](_0x8a3bd4,new Map());const _0x352175=this[_0x2f1902(0x160)][_0x2f1902(0x19b)](_0x8a3bd4);_0x352175[_0x2f1902(0x15f)](_0x12532c)||_0x352175[_0x2f1902(0x102)](_0x12532c,new Map()),_0x352175[_0x2f1902(0x19b)](_0x12532c)[_0x2f1902(0x102)](_0x1e3d57,_0x44972a[_0x2f1902(0x19a)]);}['removeFeatureFormulaDependency'](_0xca3946,_0xf16757,_0x19c2e8){const _0x6e545d=_0x1c4ee4,_0x534b40=this[_0x6e545d(0x160)]['get'](_0xca3946);if(_0x534b40&&_0x534b40[_0x6e545d(0x15f)](_0xf16757)){const _0x1ccffa=_0x534b40[_0x6e545d(0x19b)](_0xf16757);_0x19c2e8[_0x6e545d(0x100)](_0x5a6c5a=>{const _0x35cedd=_0x6e545d,_0x273483=_0x1ccffa[_0x35cedd(0x19b)](_0x5a6c5a);_0x273483!=null&&(this[_0x35cedd(0x162)](_0x273483),_0x1ccffa[_0x35cedd(0x15a)](_0x5a6c5a),this['_removeAllTreeMap'](_0x273483));});}}[_0x1c4ee4(0x131)](_0xbc23b3,_0x402df8){const _0x37fadf=_0x1c4ee4,_0x10484a=this[_0x37fadf(0x160)][_0x37fadf(0x19b)](_0xbc23b3);if(_0x402df8&&_0x10484a&&_0x10484a[_0x37fadf(0x15f)](_0x402df8)){const _0x2e390b=_0x10484a[_0x37fadf(0x19b)](_0x402df8);this[_0x37fadf(0xfc)](_0xbc23b3,_0x402df8),_0x2e390b[_0x37fadf(0x100)](_0x2a1f07=>{_0x2a1f07!=null&&this['_removeAllTreeMap'](_0x2a1f07);}),_0x2e390b[_0x37fadf(0x18e)]();}else _0x10484a&&(_0x10484a[_0x37fadf(0x100)]((_0x2385bc,_0x28f0e6)=>{const _0x3c83f7=_0x37fadf;this[_0x3c83f7(0xfc)](_0xbc23b3,_0x28f0e6),_0x2385bc[_0x3c83f7(0x100)](_0xc3ec21=>{const _0x540379=_0x3c83f7;_0xc3ec21!=null&&this[_0x540379(0x1ae)](_0xc3ec21);});}),this[_0x37fadf(0x160)][_0x37fadf(0x15a)](_0xbc23b3));}[_0x1c4ee4(0x17a)](_0x35e471,_0x10416b,_0x45adb5,_0x5625d1,_0x18491d){const _0xcee942=_0x1c4ee4;this[_0xcee942(0x139)][_0xcee942(0x15f)](_0x35e471)||this[_0xcee942(0x139)][_0xcee942(0x102)](_0x35e471,new Map());const _0x342ada=this[_0xcee942(0x139)][_0xcee942(0x19b)](_0x35e471);_0x342ada['has'](_0x10416b)||_0x342ada['set'](_0x10416b,new _0x55d10f()),_0x342ada[_0xcee942(0x19b)](_0x10416b)[_0xcee942(0x10e)](_0x45adb5,_0x5625d1,_0x18491d[_0xcee942(0x19a)]);}[_0x1c4ee4(0x18f)](_0xf1106a,_0x2a2683,_0x448255,_0x5cb405){const _0x3f025e=_0x1c4ee4,_0xd9d995=this[_0x3f025e(0x139)][_0x3f025e(0x19b)](_0xf1106a);if(_0xd9d995&&_0xd9d995[_0x3f025e(0x15f)](_0x2a2683)){const _0x5453a1=_0xd9d995[_0x3f025e(0x19b)](_0x2a2683),_0x25f69c=_0x5453a1[_0x3f025e(0x104)](_0x448255,_0x5cb405);if(_0x25f69c==null)return;this[_0x3f025e(0x162)](_0x25f69c),_0x5453a1[_0x3f025e(0x132)](_0x448255,_0x5cb405),this['_removeAllTreeMap'](_0x25f69c);}}[_0x1c4ee4(0x182)](_0x249232,_0x50fffd){const _0x409b94=_0x1c4ee4,_0x5634da=this[_0x409b94(0x139)][_0x409b94(0x19b)](_0x249232);if(_0x50fffd&&_0x5634da&&_0x5634da[_0x409b94(0x15f)](_0x50fffd)){const _0x287b6a=_0x5634da['get'](_0x50fffd);this['_removeDependencyRTreeCacheById'](_0x249232,_0x50fffd),_0x287b6a[_0x409b94(0xfe)]((_0xc53bee,_0xc60f1c,_0x14457c)=>{const _0x2b9f09=_0x409b94;if(_0x14457c==null)return!0x0;this[_0x2b9f09(0x1ae)](_0x14457c);}),_0x287b6a[_0x409b94(0x157)]();}else _0x5634da&&(_0x5634da['forEach']((_0x422577,_0x4b149c)=>{const _0x12f362=_0x409b94;this['_removeDependencyRTreeCacheById'](_0x249232,_0x4b149c),_0x422577[_0x12f362(0xfe)]((_0x2a2c55,_0x2647c8,_0x1518ae)=>{const _0x401768=_0x12f362;if(_0x1518ae==null)return!0x0;this[_0x401768(0x1ae)](_0x1518ae);});}),this['_formulaData']['delete'](_0x249232));}[_0x1c4ee4(0x162)](_0x1b2294){const _0x34c4e0=_0x1c4ee4;if(_0x1b2294==null)return;const _0x1846f3=this[_0x34c4e0(0xfb)]['get'](_0x1b2294);if(_0x1846f3){const _0x8f9e6=[];for(const [_0x49dfd6,_0x404307]of _0x1846f3)for(const [_0x2a4289,_0xca3e95]of _0x404307)_0x8f9e6[_0x34c4e0(0x101)]({'unitId':_0x49dfd6,'sheetId':_0x2a4289,'range':_0xca3e95,'id':_0x1b2294});this[_0x34c4e0(0x12b)][_0x34c4e0(0xfd)](_0x8f9e6);}}[_0x1c4ee4(0x119)](_0x5e89e6,_0x508702){const _0xd18ab3=_0x1c4ee4,_0x33abf6=this[_0xd18ab3(0x18c)]['get'](_0x5e89e6);if(_0x33abf6){const _0x563111=_0x33abf6['get'](_0x508702);if(_0x563111){for(const _0xf348cd of _0x563111)this[_0xd18ab3(0x162)](_0xf348cd),this['_removeAllTreeMap'](_0xf348cd);_0x563111[_0xd18ab3(0x18e)]();}}}[_0x1c4ee4(0x193)](){const _0x1375a7=_0x1c4ee4;this[_0x1375a7(0x12b)][_0x1375a7(0x193)]();}['closeKdTree'](){const _0x82648d=_0x1c4ee4;this[_0x82648d(0x12b)][_0x82648d(0x156)]();}['_removeAllTreeMap'](_0x1549d2){const _0x15f416=_0x1c4ee4;_0x1549d2!=null&&this[_0x15f416(0xfb)][_0x15f416(0x15a)](_0x1549d2);}[_0x1c4ee4(0x1b2)](_0x374425){const _0x130e09=_0x1c4ee4;var _0x4c3cee,_0x402d28;const _0x2b4f93=_0x374425[_0x130e09(0x1a5)];let _0x543f41=this['_allTreeMap'][_0x130e09(0x19b)](_0x374425[_0x130e09(0x19a)]);for(let _0x5d589e=0x0;_0x5d589e<_0x2b4f93[_0x130e09(0x103)];_0x5d589e++){const _0x307c2c=_0x2b4f93[_0x5d589e];let {unitId:_0x526997,sheetId:_0x2cf6a7,range:_0x4e9920}=_0x307c2c;_0x543f41||(_0x543f41=new Map(),this[_0x130e09(0xfb)][_0x130e09(0x102)](_0x374425[_0x130e09(0x19a)],_0x543f41)),_0x543f41['has'](_0x526997)||_0x543f41[_0x130e09(0x102)](_0x526997,new Map());const _0xaf8d3f=(_0x4c3cee=_0x543f41==null?void 0x0:_0x543f41[_0x130e09(0x19b)](_0x526997))==null?void 0x0:_0x4c3cee['get'](_0x2cf6a7);_0xaf8d3f&&(_0x4e9920={'startRow':Math[_0x130e09(0x121)](_0x4e9920[_0x130e09(0x107)],_0xaf8d3f[_0x130e09(0x107)]),'startColumn':Math[_0x130e09(0x121)](_0x4e9920['startColumn'],_0xaf8d3f[_0x130e09(0x171)]),'endRow':Math['max'](_0x4e9920[_0x130e09(0x130)],_0xaf8d3f[_0x130e09(0x130)]),'endColumn':Math[_0x130e09(0x14d)](_0x4e9920[_0x130e09(0x14c)],_0xaf8d3f['endColumn'])}),(_0x402d28=_0x543f41[_0x130e09(0x19b)](_0x526997))==null||_0x402d28[_0x130e09(0x102)](_0x2cf6a7,_0x4e9920);}}}var Re=Object['getOwnPropertyDescriptor'],Le=(_0xb2fd36,_0x13b1bb,_0x5957b4,_0x49ae1e)=>{const _0x1c5e8c=_0x1c4ee4;for(var _0x564ac3=_0x49ae1e>0x1?void 0x0:_0x49ae1e?Re(_0x13b1bb,_0x5957b4):_0x13b1bb,_0x269d3=_0xb2fd36[_0x1c5e8c(0x103)]-0x1,_0x5ab588;_0x269d3>=0x0;_0x269d3--)(_0x5ab588=_0xb2fd36[_0x269d3])&&(_0x564ac3=_0x5ab588(_0x564ac3)||_0x564ac3);return _0x564ac3;};const Qe=Number[_0x1c4ee4(0x19c)](0x693d2125);function _0x59a6(_0x3505a1,_0x195842){_0x3505a1=_0x3505a1-0xf8;const _0x5cdc8f=_0x5cdc();let _0x59a6cc=_0x5cdc8f[_0x3505a1];return _0x59a6cc;}let B=class extends _0x133c37{[_0x1c4ee4(0x1ab)](){const _0x4fa631=_0x1c4ee4;var _0x4361a7,_0xe773dd;this[_0x4fa631(0x188)]()?(this[_0x4fa631(0x149)]['add']([_0x3d3e0a,{'useClass':be}]),(_0x4361a7=this[_0x4fa631(0x167)])!=null&&_0x4361a7['notExecuteFormula']||[[_0x8b94d4,{'useClass':ve}],[_0x12fecc,{'useClass':Me}],[_0x2bbd72,{'useClass':Fe}]]['forEach'](_0x95597e=>this[_0x4fa631(0x149)][_0x4fa631(0x124)](_0x95597e))):(this[_0x4fa631(0x149)][_0x4fa631(0x124)]([_0x3d3e0a,{'useClass':_0x3d3e0a}]),(_0xe773dd=this[_0x4fa631(0x167)])!=null&&_0xe773dd['notExecuteFormula']||[[_0x8b94d4,{'useClass':_0x4d816c}],[_0x12fecc,{'useClass':_0xc0b1de}],[_0x2bbd72,{'useClass':_0x2e2fd9}]][_0x4fa631(0x100)](_0xdb1270=>this[_0x4fa631(0x149)]['add'](_0xdb1270)));}[_0x1c4ee4(0x188)](){const _0x30372a=_0x1c4ee4;var _0x38da9a;const _0x43a371=(_0x38da9a=this[_0x30372a(0x176)]['getConfig'](_0x14e3e3))!=null?_0x38da9a:{},{ls:_0xdecb49,pbk:_0x1ddc49}=_0x43a371;if(!_0xdecb49||!_0x1ddc49)return!0x1;const _0x223b1a=_0x3c9c05(Ee,De),_0x4d64f8=new Function(_0x30372a(0x11d)+_0x223b1a)()(_0xdecb49,_0x1ddc49),_0x3aad92=_0x4d64f8['message'];return _0x4d64f8[_0x30372a(0x150)]&&_0x6f3e61(_0x3aad92,'sf',Qe)?_0x35be25(_0x3aad92,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};B=Le([_0x179539(_0x108924)],B);export{B as UniverProFormulaEnginePlugin};
1
+ const _0x29b4c8=_0x368b;(function(_0xab1096,_0x2c1fcb){const _0x3fb3c7=_0x368b,_0x1f08b9=_0xab1096();while(!![]){try{const _0x5bc894=parseInt(_0x3fb3c7(0x282))/0x1*(-parseInt(_0x3fb3c7(0x1f2))/0x2)+parseInt(_0x3fb3c7(0x212))/0x3*(parseInt(_0x3fb3c7(0x255))/0x4)+-parseInt(_0x3fb3c7(0x20c))/0x5+-parseInt(_0x3fb3c7(0x226))/0x6*(-parseInt(_0x3fb3c7(0x296))/0x7)+-parseInt(_0x3fb3c7(0x27d))/0x8*(-parseInt(_0x3fb3c7(0x294))/0x9)+parseInt(_0x3fb3c7(0x1f5))/0xa*(-parseInt(_0x3fb3c7(0x239))/0xb)+parseInt(_0x3fb3c7(0x23e))/0xc*(parseInt(_0x3fb3c7(0x210))/0xd);if(_0x5bc894===_0x2c1fcb)break;else _0x1f08b9['push'](_0x1f08b9['shift']());}catch(_0x2d2936){_0x1f08b9['push'](_0x1f08b9['shift']());}}}(_0x3810,0xd82c6));var ie=Object[_0x29b4c8(0x25e)],ae=(_0x239363,_0xcf662a,_0x40bebc)=>_0xcf662a in _0x239363?ie(_0x239363,_0xcf662a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40bebc}):_0x239363[_0xcf662a]=_0x40bebc,F=(_0xe46c09,_0x1f891f,_0x5d4251)=>ae(_0xe46c09,typeof _0x1f891f!=_0x29b4c8(0x25c)?_0x1f891f+'':_0x1f891f,_0x5d4251);import{LexerTreeBuilder as _0x4b7217,ErrorType as _0xd983d7,DEFAULT_TOKEN_TYPE_ROOT as _0x450065,DEFAULT_TOKEN_TYPE_PARAMETER as _0x8838b,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1671b4,NEW_EXCEL_FUNCTIONS as _0x3090af,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4020dc,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x506a69,matchToken as _0x2171d8,SUFFIX_TOKEN_SET as _0x5b7a3f,prefixToken as _0x1f7334,LexerNode as _0x5da704,OPERATOR_TOKEN_SET as _0x4b0ac6,isReferenceString as _0x25e1aa,splitTableStructuredRef as _0x50abce,FormulaDependencyGenerator as _0x550165,generateRandomDependencyTreeId as _0x20416a,FormulaDependencyTree as _0x226bc5,FormulaDependencyTreeType as _0x328b07,FormulaDependencyTreeVirtual as _0x39c044,generateAstNode as _0x34fc2b,CalculateFormulaService as _0x568062,FormulaExecuteStageType as _0x4ba948,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x5da8fa,DEFAULT_INTERVAL_COUNT as _0x4b3620,DependencyManagerBaseService as _0x361ffe,UniverFormulaEnginePlugin as _0xe50935,ICalculateFormulaService as _0x5e6c41,IDependencyManagerService as _0x3682ab,IFormulaDependencyGenerator as _0x5a436b,DependencyManagerService as _0x4c8992}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3aab21,LS_CONFIG_KEY as _0x54b1ec,unshiftString as _0x4e5dfe,isFeatureAuthorizedWithinTime as _0x1d44f5,getSheetFeatureLimit as _0x13ebcc}from'@univerjs-pro/license';import{ObjectMatrix as _0x43ae67,requestImmediateMacroTask as _0x5efc10,RTree as _0x3d3bdd,DependentOn as _0x5df92f}from'@univerjs/core';class De extends _0x4b7217{constructor(){const _0x43ef39=_0x29b4c8;super(...arguments),F(this,_0x43ef39(0x1d3),!0x1),F(this,_0x43ef39(0x281),new Set()),F(this,_0x43ef39(0x237),_0x43ef39(0x27f)),F(this,_0x43ef39(0x221),_0x43ef39(0x22c)),F(this,_0x43ef39(0x225),'');}[_0x29b4c8(0x231)](){const _0x3538a8=_0x29b4c8;this['_xlpmPrefix']='_xlpm.',this[_0x3538a8(0x221)]=_0x3538a8(0x22c);}[_0x29b4c8(0x290)](){const _0x27a857=_0x29b4c8;this[_0x27a857(0x237)]='',this[_0x27a857(0x221)]='';}[_0x29b4c8(0x208)](_0x3043d3,_0x411c8e){const _0x52cc93=_0x29b4c8,_0x331ac1=this[_0x52cc93(0x22f)](_0x3043d3,!0x1);if(!_0x331ac1||_0x331ac1===_0xd983d7[_0x52cc93(0x209)]||Array[_0x52cc93(0x297)](_0x331ac1))return null;const _0x341f8f=[];return this[_0x52cc93(0x1d3)]=!0x1,this[_0x52cc93(0x25b)](_0x331ac1,_0x341f8f,_0x411c8e),this[_0x52cc93(0x1d3)]?'='+_0x341f8f[_0x52cc93(0x270)](''):null;}['_generateNewFunctionString'](_0x4a3e11,_0xe0e5ef,_0x1fed71){const _0x4b6c3f=_0x29b4c8,_0x4a58ae=_0x4a3e11[_0x4b6c3f(0x1cc)](),_0x2f5e92=_0x4a58ae[_0x4b6c3f(0x2a1)](),_0x50aa1f=_0x2f5e92[_0x4b6c3f(0x26f)](),_0x2da31b=this[_0x4b6c3f(0x2a0)](_0x50aa1f),_0x3623a4=_0x1fed71(_0x2da31b);let _0x3267a2=0x0;_0x4a58ae===_0x450065?_0x3267a2=0x3:_0x4a58ae===_0x8838b?_0x3267a2=0x4:_0x4a58ae===_0x1671b4?_0x3267a2=0x5:_0x3090af[_0x4b6c3f(0x241)](_0x2da31b)?(_0xe0e5ef['push'](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0):_0x50aa1f===_0x4020dc?(_0xe0e5ef['push'](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0,_0x3267a2=0x2):_0x50aa1f===_0x506a69?(_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0,_0x3267a2=0x1):_0x50aa1f===_0x2171d8[_0x4b6c3f(0x264)]?_0x3267a2=0x8:_0x5b7a3f[_0x4b6c3f(0x241)](_0x50aa1f)?_0x3267a2=0x7:_0x50aa1f===_0x1f7334[_0x4b6c3f(0x266)]?(this[_0x4b6c3f(0x252)](_0x4a3e11)&&(_0x3267a2=0x9),_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae)):(_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),_0x3267a2=0xa),_0x3623a4?(_0x3267a2!==0x2&&_0x3267a2!==0x1&&(_0x3267a2=0x6),_0xe0e5ef[_0x4b6c3f(0x1cf)]('(')):_0x3267a2===0x9&&_0xe0e5ef[_0x4b6c3f(0x1cf)]('(');const _0x46049b=_0x4a3e11[_0x4b6c3f(0x269)](),_0x568f99=_0x46049b[_0x4b6c3f(0x220)];if(_0x3267a2===0x2){const _0x25d32d=_0x46049b[0x0];let _0x4d96f6=0x0;_0x25d32d instanceof _0x5da704&&_0x25d32d['getToken']()===_0x1671b4&&(_0x4d96f6=0x1);for(let _0x3bfc5e=_0x4d96f6;_0x3bfc5e<_0x568f99-0x1;_0x3bfc5e++){const _0x5db319=_0x46049b[_0x3bfc5e];if(_0x5db319 instanceof _0x5da704){const _0x357d26=_0x5db319[_0x4b6c3f(0x269)]()[0x0];typeof _0x357d26==_0x4b6c3f(0x214)&&(this[_0x4b6c3f(0x281)][_0x4b6c3f(0x241)](_0x357d26)&&console[_0x4b6c3f(0x23f)]('Lambda\x20parameter\x20name\x20\x22'+_0x357d26+_0x4b6c3f(0x24a)),this[_0x4b6c3f(0x281)][_0x4b6c3f(0x277)](_0x357d26),_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x237)]+_0x357d26),this[_0x4b6c3f(0x1d3)]=!0x0);}_0xe0e5ef['push'](',');}this[_0x4b6c3f(0x204)](_0x46049b[_0x568f99-0x1],_0xe0e5ef,_0x1fed71),_0x4d96f6===0x1&&(_0xe0e5ef['push'](')'),_0xe0e5ef['push']('('),this[_0x4b6c3f(0x25b)](_0x25d32d,_0xe0e5ef,_0x1fed71)),_0xe0e5ef[_0x4b6c3f(0x1cf)](')');return;}else{if(_0x3267a2===0x1){for(let _0x30bd7a=0x0;_0x30bd7a<_0x568f99-0x1;_0x30bd7a++){const _0x2caa2a=_0x46049b[_0x30bd7a];if(_0x2caa2a instanceof _0x5da704&&_0x30bd7a%0x2===0x0){const _0x31feb3=_0x2caa2a[_0x4b6c3f(0x269)]()[0x0];if(typeof _0x31feb3==_0x4b6c3f(0x214)){this[_0x4b6c3f(0x281)][_0x4b6c3f(0x241)](_0x31feb3)&&console[_0x4b6c3f(0x23f)](_0x4b6c3f(0x218)+_0x31feb3+'\x22\x20is\x20duplicated.'),this[_0x4b6c3f(0x281)]['add'](_0x31feb3),_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x237)]+_0x31feb3),this[_0x4b6c3f(0x1d3)]=!0x0,_0xe0e5ef[_0x4b6c3f(0x1cf)](',');continue;}}if(this[_0x4b6c3f(0x204)](_0x2caa2a,_0xe0e5ef,_0x1fed71),_0x2caa2a instanceof _0x5da704){const _0x58787c=_0x46049b[_0x30bd7a+0x1];_0x58787c&&_0x58787c instanceof _0x5da704&&_0xe0e5ef[_0x4b6c3f(0x1cf)](',');}}this[_0x4b6c3f(0x204)](_0x46049b[_0x568f99-0x1],_0xe0e5ef,_0x1fed71),_0xe0e5ef['push'](')');return;}else{if(_0x3267a2===0x8){const _0x1382e1=_0x46049b[0x0],_0x1fe0b5=_0x46049b[0x1];this[_0x4b6c3f(0x204)](_0x1382e1,_0xe0e5ef,_0x1fed71),_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),this['_handleNewFunctionChild'](_0x1fe0b5,_0xe0e5ef,_0x1fed71);return;}}}for(let _0x33c4d6=0x0;_0x33c4d6<_0x568f99;_0x33c4d6++){const _0x4e6e95=_0x46049b[_0x33c4d6];if(this[_0x4b6c3f(0x204)](_0x4e6e95,_0xe0e5ef,_0x1fed71),_0x4e6e95 instanceof _0x5da704){const _0x5c40aa=_0x46049b[_0x33c4d6+0x1];_0x5c40aa&&_0x5c40aa instanceof _0x5da704&&_0xe0e5ef[_0x4b6c3f(0x1cf)](',');}}_0x3267a2===0x7&&_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),(_0x3623a4||_0x3267a2===0x9)&&_0xe0e5ef[_0x4b6c3f(0x1cf)](')');}[_0x29b4c8(0x204)](_0xc5ac7a,_0x234ca5,_0x1596aa){const _0x1443dd=_0x29b4c8;_0xc5ac7a instanceof _0x5da704?this[_0x1443dd(0x25b)](_0xc5ac7a,_0x234ca5,_0x1596aa):this['_lambdaFunctionParameterSet'][_0x1443dd(0x241)](_0xc5ac7a)?(_0x234ca5[_0x1443dd(0x1cf)](''+this[_0x1443dd(0x237)]+_0xc5ac7a),this['_hasNewExcelFunction']=!0x0):_0x234ca5[_0x1443dd(0x1cf)](_0xc5ac7a);}['_clearFunctionString'](_0x20fa76){const _0x3a9627=_0x29b4c8;let _0x2de866=_0x20fa76[_0x3a9627(0x2a1)]();if(!_0x2de866)return _0x2de866;const _0x1a1f85=_0x2de866[0x0];if((_0x1a1f85===_0x1f7334['AT']||_0x1a1f85===_0x1f7334[_0x3a9627(0x266)]||_0x1a1f85===_0x1f7334[_0x3a9627(0x234)])&&(_0x2de866=_0x2de866[_0x3a9627(0x247)](0x1)),!_0x2de866)return _0x2de866;const _0x54dd24=_0x2de866[_0x2de866[_0x3a9627(0x220)]-0x1];return _0x5b7a3f['has'](_0x54dd24)&&(_0x2de866=_0x2de866['slice'](0x0,-0x1)),_0x2de866;}[_0x29b4c8(0x252)](_0x47b3bd){const _0x32b9fe=_0x29b4c8,_0x246efe=_0x47b3bd[_0x32b9fe(0x269)]()[0x0];if(!_0x246efe||!(_0x246efe instanceof _0x5da704)||_0x47b3bd[_0x32b9fe(0x269)]()['length']>0x1)return!0x1;const _0x49183a=_0x246efe[_0x32b9fe(0x269)](),_0x5bb51a=_0x49183a['length'];if(_0x5bb51a===0x1)return!0x1;for(let _0x858b3d=0x0;_0x858b3d<_0x5bb51a;_0x858b3d++){const _0x59cf80=_0x49183a[_0x858b3d];if(!(_0x59cf80 instanceof _0x5da704)&&_0x4b0ac6[_0x32b9fe(0x241)](_0x59cf80))return!0x0;}return!0x1;}[_0x29b4c8(0x21d)](_0x33b1ca,_0x4faa77,_0x3b6c63,_0x4b27dc,_0x19d1ac){const _0x226ee2=_0x29b4c8,_0x21a4e3=this[_0x226ee2(0x22f)](_0x33b1ca,!0x1);if(!_0x21a4e3||_0x21a4e3===_0xd983d7['VALUE']||Array[_0x226ee2(0x297)](_0x21a4e3))return null;this[_0x226ee2(0x290)](),this['_currentUnitId']=_0x4faa77;const _0x2709b5=this[_0x226ee2(0x23c)](_0x21a4e3,_0x3b6c63,_0x4b27dc,_0x19d1ac);return this[_0x226ee2(0x225)]='',this['_resetPrefix'](),_0x2709b5;}[_0x29b4c8(0x23c)](_0x5589c,_0x35e293,_0x1ef94d,_0x2f4ee9){const _0x154a75=_0x29b4c8,_0xab9dfc={'value':'','children':[],'startIndex':0x0};let _0x22c086=_0x5589c;if(_0x22c086 instanceof _0x5da704&&(_0x22c086['getToken']()===_0x450065||_0x22c086[_0x154a75(0x1cc)]()===_0x8838b)&&_0x22c086[_0x154a75(0x269)]()[_0x154a75(0x220)]===0x1&&(_0x22c086=_0x22c086[_0x154a75(0x269)]()[0x0]),!(_0x22c086 instanceof _0x5da704))return this['_handleTextNodeForExprTree'](_0x22c086,_0x1ef94d,_0x2f4ee9);const _0x2f8cac=_0x22c086['getChildren'](),_0x247c8e=_0x2f8cac[_0x154a75(0x220)],_0x3407ee=[];this[_0x154a75(0x25b)](_0x22c086,_0x3407ee,_0x35e293),_0xab9dfc[_0x154a75(0x25a)]=_0x3407ee[_0x154a75(0x270)](''),_0xab9dfc[_0x154a75(0x206)]=_0x22c086[_0x154a75(0x1d1)]();const _0x572216=this[_0x154a75(0x1f9)](_0x22c086);if(_0x572216===0x2){const _0x10b1dc=_0x2f8cac[0x0];if(_0x10b1dc instanceof _0x5da704){if(_0x10b1dc['getToken']()['trim']()!==_0x1671b4)return _0xab9dfc;this[_0x154a75(0x29b)](_0x10b1dc,_0xab9dfc,_0x35e293,_0x1ef94d,_0x2f4ee9);}return _0xab9dfc;}else{if(_0x572216===0x1){for(let _0x532efe=0x0;_0x532efe<_0x247c8e-0x1;_0x532efe++){const _0xe73b74=_0x2f8cac[_0x532efe];if(_0xe73b74 instanceof _0x5da704&&_0x532efe%0x2===0x1){const _0x3f6029=_0xe73b74['getChildren']();if(_0x3f6029['length']===0x1&&!(_0x3f6029[0x0]instanceof _0x5da704))continue;const _0x2fa2cb=this[_0x154a75(0x23c)](_0xe73b74,_0x35e293,_0x1ef94d,_0x2f4ee9);_0x2fa2cb&&_0xab9dfc[_0x154a75(0x22d)][_0x154a75(0x1cf)](_0x2fa2cb);}}return _0xab9dfc;}else{if(_0x572216===0x8){const _0x14de87=_0x2f8cac[0x0];if(_0x14de87 instanceof _0x5da704){const _0x4e8f2e=_0x14de87['getChildren']()[0x0];_0x4e8f2e instanceof _0x5da704&&(_0xab9dfc[_0x154a75(0x206)]=_0x4e8f2e['getStartIndex']());}if(this[_0x154a75(0x202)](_0x22c086))return _0xab9dfc;}else{if(_0x572216===0x7){const _0x360f87=_0x2f8cac[0x0];if(_0x360f87 instanceof _0x5da704){const _0x107cc9=_0x360f87[_0x154a75(0x269)]()[0x0];_0x107cc9 instanceof _0x5da704&&(_0xab9dfc['startIndex']=_0x107cc9[_0x154a75(0x1d1)]());}}}}}return this['_handleChildrenForExprTree'](_0x2f8cac,_0x572216,_0xab9dfc,_0x35e293,_0x1ef94d,_0x2f4ee9),_0xab9dfc;}[_0x29b4c8(0x224)](_0xe91896,_0x403fc7,_0x8f9d9e,_0x141a21,_0x198404,_0x1a0f0d){const _0x37fbcf=_0x29b4c8;for(let _0x4e590d=0x0;_0x4e590d<_0xe91896[_0x37fbcf(0x220)];_0x4e590d++){let _0x2ce461=_0xe91896[_0x4e590d];if(!(_0x2ce461 instanceof _0x5da704)){const _0x5c90e7=this[_0x37fbcf(0x276)](_0x2ce461,_0x198404,_0x1a0f0d);_0x5c90e7&&_0x8f9d9e[_0x37fbcf(0x22d)][_0x37fbcf(0x1cf)](_0x5c90e7);continue;}const _0x3bcc49=_0x2ce461[_0x37fbcf(0x269)]();if(_0x3bcc49[_0x37fbcf(0x220)]===0x1&&!(_0x3bcc49[0x0]instanceof _0x5da704)){const _0x2e3a46=_0x3bcc49[0x0];if(!_0x198404(this[_0x37fbcf(0x225)],_0x2e3a46)&&!this[_0x37fbcf(0x274)](_0x2e3a46,_0x1a0f0d)&&!_0x25e1aa(_0x2e3a46))continue;}if(_0x403fc7===0x8){const _0x34cbd1=_0x3bcc49[0x0];if(_0x34cbd1 instanceof _0x5da704){const _0x4476ef=_0x34cbd1[_0x37fbcf(0x1cc)]()[_0x37fbcf(0x2a1)]();if(_0x25e1aa(_0x4476ef))continue;_0x2ce461=_0x34cbd1;}}const _0x312f48=this['_generateExprTree'](_0x2ce461,_0x141a21,_0x198404,_0x1a0f0d);_0x312f48&&_0x8f9d9e[_0x37fbcf(0x22d)]['push'](_0x312f48);}}[_0x29b4c8(0x202)](_0x5733fa){const _0x205f54=_0x29b4c8,_0x362cd8=_0x5733fa[_0x205f54(0x269)]();if(_0x362cd8[_0x205f54(0x220)]<0x2)return!0x1;const _0x20749e=_0x362cd8[0x0],_0x26e6b3=_0x362cd8[0x1];if(!(_0x20749e instanceof _0x5da704)||!(_0x26e6b3 instanceof _0x5da704))return!0x1;const _0x33f51a=_0x20749e[_0x205f54(0x269)]()[0x0],_0x122c91=_0x26e6b3[_0x205f54(0x269)]()[0x0];if(!(_0x33f51a instanceof _0x5da704)||!(_0x122c91 instanceof _0x5da704))return!0x1;const _0x4b0469=_0x33f51a[_0x205f54(0x1cc)]()['trim'](),_0xe6abd6=_0x122c91['getToken']()[_0x205f54(0x2a1)]();return!!_0x25e1aa(''+_0x4b0469+_0x2171d8['COLON']+_0xe6abd6);}[_0x29b4c8(0x276)](_0x4aa922,_0x42c169,_0x1e7c4c){const _0x23182f=_0x29b4c8,_0xc64692=_0x4aa922[_0x23182f(0x2a1)]();return _0xc64692[_0x23182f(0x24d)]('{')&&_0xc64692[_0x23182f(0x265)]('}')||_0x42c169(this[_0x23182f(0x225)],_0xc64692)||this[_0x23182f(0x274)](_0xc64692,_0x1e7c4c)||_0x25e1aa(_0xc64692)?{'value':_0xc64692,'children':[],'startIndex':-0x1}:null;}[_0x29b4c8(0x274)](_0x4ecd62,_0x192e6f){const _0x11da70=_0x29b4c8,{tableName:_0x294918}=_0x50abce(_0x4ecd62);return _0x192e6f(this[_0x11da70(0x225)],_0x294918)?_0x294918:null;}[_0x29b4c8(0x29b)](_0x5b121d,_0x2fd4f0,_0x322f0d,_0x27c76d,_0x1f1f0e){const _0x28b570=_0x29b4c8,_0x4d8f87=_0x5b121d[_0x28b570(0x269)]();for(let _0x3cb521=0x0;_0x3cb521<_0x4d8f87[_0x28b570(0x220)];_0x3cb521++){const _0x55da05=_0x4d8f87[_0x3cb521];if(!(_0x55da05 instanceof _0x5da704))continue;const _0x52d853=_0x55da05['getChildren']();if(_0x52d853['length']===0x1&&!(_0x52d853[0x0]instanceof _0x5da704))continue;const _0x444029=this[_0x28b570(0x23c)](_0x55da05,_0x322f0d,_0x27c76d,_0x1f1f0e);_0x444029&&_0x2fd4f0[_0x28b570(0x22d)][_0x28b570(0x1cf)](_0x444029);}}[_0x29b4c8(0x1f9)](_0x1fd649){const _0x5b51dd=_0x29b4c8,_0x1ae2bd=_0x1fd649[_0x5b51dd(0x1cc)](),_0x56b1db=_0x1ae2bd[_0x5b51dd(0x2a1)]()[_0x5b51dd(0x26f)]();let _0x10e278=0x0;return _0x1ae2bd===_0x450065?_0x10e278=0x3:_0x1ae2bd===_0x8838b?_0x10e278=0x4:_0x1ae2bd===_0x1671b4?_0x10e278=0x5:_0x56b1db===_0x4020dc?_0x10e278=0x2:_0x56b1db===_0x506a69?_0x10e278=0x1:_0x56b1db===_0x2171d8[_0x5b51dd(0x264)]?_0x10e278=0x8:_0x5b7a3f[_0x5b51dd(0x241)](_0x56b1db)?_0x10e278=0x7:_0x56b1db===_0x1f7334[_0x5b51dd(0x266)]?this[_0x5b51dd(0x252)](_0x1fd649)&&(_0x10e278=0x9):_0x10e278=0xa,_0x10e278;}}const Re={0x0:'Y',0x1:'9',0x2:'Q',0x3:'d',0x4:'8',0x5:'0',0x6:'i',0x7:'3',0x8:'y',0x9:'s','S':'1','J':'2','d':'4','n':'5','P':'6','m':'7','x':'a','B':'b','U':'c','s':'e','e':'f','y':'g','f':'h','L':'j','h':'k','R':'l','i':'m','W':'n','V':'o','c':'p','b':'q','N':'r','l':'t','O':'u','F':'v','I':'w','K':'x','M':'z','Z':'A','a':'B','Y':'C','G':'D','r':'E','j':'F','E':'G','o':'H','T':'I','w':'J','Q':'K','u':'L','z':'M','v':'N','H':'O','t':'P','A':'R','k':'S','q':'T','p':'U','X':'V','C':'W','D':'X','g':'Z'},ve='/*\x20s9R6Wl-369xBRs\x20cNsesN-lsicRxls\x20*/eOWUl6VW\x203sUN8cl6VW(R6UsW9s,\x20cOBR6UQs8)\x20{\x20\x20\x20\x20lN8\x20{\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20R6UsW9sTWeVtxNlZNNx8\x20=\x20R6UsW9s.9cR6l(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20VN6y6Wzs99xys\x20=\x20wkHv.cxN9s(xlVB(R6UsW9sTWeVtxNlZNNx8[J]));\x20\x20\x20\x20\x20\x20\x20\x206e\x20(!VN6y6Wzs99xys.O3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VN6y6Wzs99xys.O3\x20=\x20vOiBsN(R6UsW9sTWeVtxNlZNNx8[d]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069CVNhsN\x20=\x20l8csVe\x20CVNhsNERVBxRkUVcs\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x209sRe\x206W9lxWUsVe\x20CVNhsNERVBxRkUVcs;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069aNVI9sN\x20=\x20l8csVe\x20I6W3VI\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x20l8csVe\x20I6W3VI.RVUxl6VW\x20!==\x20\x27OW3se6Ws3\x27;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20UVWlsKl\x20=\x2069CVNhsN\x20?\x209sRe\x20:\x20(69aNVI9sN\x20?\x20I6W3VI\x20:\x20yRVBxRqf69);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xysCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[J]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xys\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(is99xysCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONsCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[7]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONs\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(96yWxlONsCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWXxR63\x20=\x20UVWlsKl.__FsN6e8__(96yWxlONs,\x20is99xys,\x20cOBR6UQs8);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x203Vix6W\x20=\x20VN6y6Wzs99xys.3i;\x20\x20\x20\x20\x20\x20\x20\x20eOWUl6VW\x2069GVix6WzxlUf6Wy(cxllsNW,\x20fV9l)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW\x20===\x20fV9l)\x20NslONW\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW.9lxNl9C6lf(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x209Oee6K\x20=\x20cxllsNW.9R6Us(J);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(9Oee6K\x20&&\x20!fV9l.9lxNl9C6lf(\x27.\x27)\x20&&\x20fV9l\x20!==\x209Oee6K\x20&&\x20fV9l.sW39C6lf(\x27.\x27\x20+\x209Oee6K))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20lNOs;\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\x20NslONW\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Rsl\x203Vix6WXxR63\x20=\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x206e\x20(69aNVI9sN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20(3Vix6W\x20&&\x203Vix6W.RsWylf)\x20?\x203Vix6W.9Vis((3iTlsi)\x20=>\x2069GVix6WzxlUf6Wy(3iTlsi,\x20RVUxl6VW.fV9lWxis))\x20:\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(RVUxl6VW.fV9lWxis\x20===\x20\x27RVUxRfV9l\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20sR9s\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20FxR63\x20=\x2096yWXxR63\x20&&\x203Vix6WXxR63;\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20VN6y6Wzs99xys,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20UxlUf\x20(sNNVN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63:\x20exR9s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Me extends _0x550165{constructor(){const _0x702e2b=_0x29b4c8;super(...arguments),F(this,_0x702e2b(0x1ea),new Map());}[_0x29b4c8(0x1fa)](){const _0x35fdad=_0x29b4c8;super['dispose'](),this[_0x35fdad(0x1ea)]['clear']();}async[_0x29b4c8(0x25f)](_0x2a7d1b=!0x1){const _0x37e6d6=_0x29b4c8;this[_0x37e6d6(0x207)]();const _0x2ee06c=this['_currentConfigService'][_0x37e6d6(0x26d)](),_0x2aeb16=this[_0x37e6d6(0x24f)][_0x37e6d6(0x21f)](),_0x32fb66=this[_0x37e6d6(0x216)][_0x37e6d6(0x27b)]();_0x32fb66!=null&&Object['keys'](_0x32fb66)[_0x37e6d6(0x20f)](_0x391a7e=>{const _0x3b70a7=_0x37e6d6;_0x391a7e!=null&&Object[_0x3b70a7(0x1d7)](_0x32fb66[_0x391a7e])[_0x3b70a7(0x20f)](_0x3eb551=>{const _0x394a80=_0x3b70a7;_0x3eb551!=null&&(this[_0x394a80(0x1e4)][_0x394a80(0x1ca)](_0x391a7e,_0x3eb551),this[_0x394a80(0x1e4)][_0x394a80(0x259)](_0x391a7e,_0x3eb551),this[_0x394a80(0x1e4)]['clearFormulaDependency'](_0x391a7e,_0x3eb551));});});const _0x4c106a=this[_0x37e6d6(0x216)][_0x37e6d6(0x222)]();await this['_generateTreeList'](_0x2ee06c,_0x2aeb16,_0x4c106a),this['_dependencyManagerService'][_0x37e6d6(0x219)]();const _0x5dd5e2=this[_0x37e6d6(0x1d8)](),_0x1836f9=this[_0x37e6d6(0x295)](_0x5dd5e2);return this[_0x37e6d6(0x256)](_0x1836f9)&&this[_0x37e6d6(0x243)][_0x37e6d6(0x1dc)](),_0x2a7d1b&&this['_runtimeService']['setDependencyTreeModelData'](this[_0x37e6d6(0x257)](Array[_0x37e6d6(0x291)](this[_0x37e6d6(0x1ea)][_0x37e6d6(0x1d6)]()))),this[_0x37e6d6(0x1ea)]['clear'](),this[_0x37e6d6(0x268)][_0x37e6d6(0x1f1)](),this[_0x37e6d6(0x1e4)][_0x37e6d6(0x1ff)](),this[_0x37e6d6(0x243)][_0x37e6d6(0x283)](),Promise['resolve'](_0x1836f9);}[_0x29b4c8(0x1eb)](_0x129d3e,_0x2acdb3){const _0x59ecf0=_0x29b4c8,_0x155780=[_0x129d3e];for(;_0x155780[_0x59ecf0(0x220)]>0x0;){const _0x14bb1d=_0x155780[_0x155780[_0x59ecf0(0x220)]-0x1];if((_0x2acdb3[_0x59ecf0(0x1fc)](_0x14bb1d)||0x0)===0x0){_0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x1);const _0x2038fc=this[_0x59ecf0(0x1ea)][_0x59ecf0(0x1fc)](_0x14bb1d);if(_0x2038fc==null){_0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x2),_0x155780[_0x59ecf0(0x1fb)]();continue;}const _0x4fee9f=this[_0x59ecf0(0x1e4)][_0x59ecf0(0x261)](_0x2038fc[_0x59ecf0(0x1ec)]());for(const _0x361dbc of _0x4fee9f){const _0x17a494=_0x2acdb3['get'](_0x361dbc)||0x0;if(_0x17a494===0x1)return!0x0;_0x17a494===0x0&&_0x155780['push'](_0x361dbc);}}else _0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x2),_0x155780[_0x59ecf0(0x1fb)]();}return!0x1;}[_0x29b4c8(0x256)](_0x375e2b){const _0x147d9c=_0x29b4c8,_0x4a26a1=new Map();for(const _0x22d692 of _0x375e2b)if(!_0x4a26a1[_0x147d9c(0x241)](_0x22d692[_0x147d9c(0x1cb)])&&this['_isCyclicUtilMap'](_0x22d692['treeId'],_0x4a26a1))return!0x0;return _0x4a26a1['clear'](),!0x1;}[_0x29b4c8(0x1f6)](_0x39b560,_0x1f105d,_0x2a3bbc){const _0x2eaae7=_0x29b4c8,{unitId:_0x5705a1,subUnitId:_0x4bd946,dependencyRanges:_0x203cdf,getDirtyData:_0x429a5e}=_0x2a3bbc,_0x301e3c=_0x1f105d||_0x20416a(this[_0x2eaae7(0x1e4)]),_0x1e1b19=new _0x226bc5(_0x301e3c);_0x1e1b19['unitId']=_0x5705a1,_0x1e1b19[_0x2eaae7(0x1f3)]=_0x4bd946,_0x1e1b19['rangeList']=_0x203cdf,_0x1e1b19[_0x2eaae7(0x205)]=_0x429a5e;const _0x1da537=_0x429a5e(this[_0x2eaae7(0x216)][_0x2eaae7(0x205)](),this[_0x2eaae7(0x243)][_0x2eaae7(0x238)]()),_0x1c38bf=this['_convertDirtyRangesToUnitRange'](_0x1da537[_0x2eaae7(0x293)]);return _0x1e1b19['featureDirtyRanges']=_0x1c38bf,_0x1e1b19['featureId']=_0x39b560,_0x1e1b19['type']=_0x328b07[_0x2eaae7(0x27a)],this[_0x2eaae7(0x1e4)][_0x2eaae7(0x1e7)](_0x5705a1,_0x4bd946,_0x39b560,_0x1e1b19),this[_0x2eaae7(0x1ea)][_0x2eaae7(0x1d2)](_0x1e1b19[_0x2eaae7(0x1cb)],_0x1e1b19),this[_0x2eaae7(0x1e4)][_0x2eaae7(0x1ce)](_0x2a3bbc['unitId'],_0x2a3bbc[_0x2eaae7(0x1f3)],_0x39b560)&&(_0x1e1b19[_0x2eaae7(0x1ed)]=!0x0),_0x1e1b19;}[_0x29b4c8(0x26e)](_0x1fc859,_0x3a0a4a,_0x33cda0){const _0x368a4d=_0x29b4c8;var _0x556103;for(const _0x823be8 of _0x3a0a4a){const _0x37ac65=_0x1fc859[_0x823be8];if(_0x37ac65==null)continue;const _0x3d8bfa=Object['keys'](_0x37ac65);for(const _0x400fd8 of _0x3d8bfa){const _0x5cd92b=_0x37ac65[_0x400fd8];if(_0x5cd92b==null)continue;const _0x2d661c=Object['keys'](_0x5cd92b);for(const _0x4bcd31 of _0x2d661c){const _0x4f3a36=this[_0x368a4d(0x1e4)]['hasOtherFormulaDataMainData'](_0x4bcd31),_0x6de8e9=_0x5cd92b[_0x4bcd31],{f:_0x192c96,ranges:_0x1b82ea}=_0x6de8e9;let _0x18ed4d=!0x1;_0x4f3a36&&(_0x18ed4d=!0x0);const {firstRow:_0x127e70,firstColumn:_0x1b0bca}=this['_getFirstCellOfRange'](_0x1b82ea),_0x31dd32=this[_0x368a4d(0x1e4)]['getOtherFormulaDependency'](_0x823be8,_0x400fd8,_0x4bcd31),_0x2b895a=(_0x556103=_0x31dd32==null?void 0x0:_0x31dd32[_0x368a4d(0x21a)](0x0,0x0))!=null?_0x556103:_0x20416a(this[_0x368a4d(0x1e4)]),_0x22db32=new _0x226bc5(_0x2b895a);for(let _0x2ddc35=0x0;_0x2ddc35<_0x1b82ea[_0x368a4d(0x220)];_0x2ddc35++){const _0x1d4bed=_0x1b82ea[_0x2ddc35],{startRow:_0x1ebffb,startColumn:_0x8dee95,endRow:_0x36eebd,endColumn:_0x65b9de}=_0x1d4bed;for(let _0x1628ce=_0x1ebffb;_0x1628ce<=_0x36eebd;_0x1628ce++)for(let _0x5a1381=_0x8dee95;_0x5a1381<=_0x65b9de;_0x5a1381++){const _0x41269a=_0x5a1381-_0x1b0bca,_0x2f08c4=_0x1628ce-_0x127e70;if(_0x41269a===0x0&&_0x2f08c4===0x0){_0x22db32[_0x368a4d(0x1db)]=_0x192c96,_0x22db32['unitId']=_0x823be8,_0x22db32[_0x368a4d(0x1f3)]=_0x400fd8,_0x22db32['formulaId']=_0x4bcd31,_0x22db32[_0x368a4d(0x229)]=_0x328b07['OTHER_FORMULA'],_0x22db32[_0x368a4d(0x1ed)]=_0x18ed4d,_0x33cda0['push'](_0x22db32),this[_0x368a4d(0x1ea)][_0x368a4d(0x1d2)](_0x22db32[_0x368a4d(0x1cb)],_0x22db32),this[_0x368a4d(0x1e4)][_0x368a4d(0x254)](_0x823be8,_0x400fd8,_0x4bcd31,_0x22db32),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x22db32);continue;}const _0x27c810=new _0x39c044();_0x27c810[_0x368a4d(0x1cb)]=(_0x31dd32==null?void 0x0:_0x31dd32[_0x368a4d(0x21a)](_0x41269a,_0x2f08c4))||_0x20416a(this[_0x368a4d(0x1e4)]),_0x27c810[_0x368a4d(0x246)]=_0x22db32,_0x27c810['refOffsetX']=_0x41269a,_0x27c810[_0x368a4d(0x1e9)]=_0x2f08c4,_0x27c810[_0x368a4d(0x1ed)]=_0x18ed4d,_0x27c810[_0x368a4d(0x229)]=_0x328b07[_0x368a4d(0x1f7)],this[_0x368a4d(0x1e4)][_0x368a4d(0x254)](_0x823be8,_0x400fd8,_0x4bcd31,_0x27c810),this[_0x368a4d(0x1e4)][_0x368a4d(0x245)](_0x27c810),_0x33cda0[_0x368a4d(0x1cf)](_0x27c810),this[_0x368a4d(0x1ea)]['set'](_0x27c810[_0x368a4d(0x1cb)],_0x27c810);}}this[_0x368a4d(0x1e4)][_0x368a4d(0x1e0)](_0x4bcd31);}}}}['_registerFormulas'](_0x1a6939,_0xc977ea,_0x65b196,_0x2167cc){const _0x3b3450=_0x29b4c8;for(const _0xe36282 of _0x1a6939){const _0xc5a842=_0xc977ea[_0xe36282];if(_0xc5a842==null)continue;const _0x4b6c11=Object[_0x3b3450(0x1d7)](_0xc5a842);for(const _0x5eb6cc of _0x4b6c11){const _0x137754=new _0x43ae67(_0xc5a842[_0x5eb6cc]||{}),_0x44019f=new Map();_0x137754[_0x3b3450(0x1de)]((_0x4cfb59,_0x397a24,_0x4c5b0f)=>{const _0x3274bc=_0x3b3450;if(_0x4c5b0f==null)return!0x0;const {x:_0x223c74=0x0,y:_0x479eba=0x0,si:_0x23ab58}=_0x4c5b0f;if(!(_0x223c74===0x0&&_0x479eba===0x0&&_0x23ab58!=null))return!0x0;const _0x4bcb30=this['_createFDtree'](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24,_0x65b196,_0x4c5b0f),_0x17fc46=this[_0x3274bc(0x1e4)][_0x3274bc(0x28f)](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24);_0x17fc46!=null?_0x4bcb30[_0x3274bc(0x1cb)]=_0x17fc46:(this['_dependencyManagerService'][_0x3274bc(0x1ef)](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24,_0x4bcb30),this[_0x3274bc(0x1e4)][_0x3274bc(0x245)](_0x4bcb30)),_0x44019f[_0x3274bc(0x1d2)](_0x23ab58,_0x4bcb30),_0x2167cc[_0x3274bc(0x1cf)](_0x4bcb30),this[_0x3274bc(0x1ea)][_0x3274bc(0x1d2)](_0x4bcb30[_0x3274bc(0x1cb)],_0x4bcb30);}),_0x137754['forValue']((_0x3b595a,_0x5425c5,_0x364463)=>{const _0x130f28=_0x3b3450;if(_0x364463==null)return!0x0;const {x:_0x57a471=0x0,y:_0x3c9fe0=0x0,si:_0x2bbd8f}=_0x364463;if(_0x57a471===0x0&&_0x3c9fe0===0x0&&_0x2bbd8f!=null)return!0x0;let _0x4958b8;if(_0x2bbd8f&&_0x44019f[_0x130f28(0x241)](_0x2bbd8f)){const _0x44e506=_0x44019f[_0x130f28(0x1fc)](_0x2bbd8f);_0x4958b8=this['_createVirtualFDtree'](_0x44e506,_0x364463);}else _0x4958b8=this[_0x130f28(0x1cd)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5,_0x65b196,_0x364463);const _0x57a517=this['_dependencyManagerService'][_0x130f28(0x28f)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5);_0x57a517!=null?_0x4958b8[_0x130f28(0x1cb)]=_0x57a517:(this[_0x130f28(0x1e4)][_0x130f28(0x1ef)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5,_0x4958b8),this[_0x130f28(0x1e4)][_0x130f28(0x245)](_0x4958b8)),_0x2167cc[_0x130f28(0x1cf)](_0x4958b8),this['_dependencyTreeCache'][_0x130f28(0x1d2)](_0x4958b8[_0x130f28(0x1cb)],_0x4958b8);}),_0x44019f['clear']();}}}['_createFDtree'](_0x2be2d8,_0x239268,_0x190600,_0x478d26,_0x4d5a0f,_0x2f2fbb){const _0x4e415c=_0x29b4c8,{f:_0x15ea5d,x:_0x538ce5=0x0,y:_0x5b4f10=0x0}=_0x2f2fbb,_0x7be274=new _0x226bc5(_0x20416a(this[_0x4e415c(0x1e4)])),_0x5490db=_0x4d5a0f[_0x2be2d8][_0x239268];return _0x7be274[_0x4e415c(0x1db)]=_0x15ea5d,_0x7be274[_0x4e415c(0x232)]=_0x2be2d8,_0x7be274['subUnitId']=_0x239268,_0x7be274[_0x4e415c(0x27e)]=_0x190600,_0x7be274['column']=_0x478d26,_0x7be274[_0x4e415c(0x1e6)]=_0x5490db[_0x4e415c(0x1e6)],_0x7be274['columnCount']=_0x5490db['columnCount'],_0x7be274;}[_0x29b4c8(0x1d8)](){const _0x13469f=_0x29b4c8,_0x3067e3=[],_0x3e9597=new Set(),_0x4fe170=this[_0x13469f(0x216)]['isForceCalculate'](),_0x5896b2=this[_0x13469f(0x216)][_0x13469f(0x299)](),_0x5986a8=this[_0x13469f(0x1e4)][_0x13469f(0x261)](_0x5896b2),_0x1da4e8=this[_0x13469f(0x268)][_0x13469f(0x29c)](_0x5896b2);for(const _0x2f8866 of _0x1da4e8)_0x5986a8[_0x13469f(0x277)](_0x2f8866);for(const [_0x4e30d5,_0x29c210]of this['_dependencyTreeCache'])(_0x4fe170||_0x29c210[_0x13469f(0x267)]||_0x29c210[_0x13469f(0x203)](this[_0x13469f(0x216)][_0x13469f(0x26c)]())||_0x5986a8['has'](_0x4e30d5)&&!_0x29c210[_0x13469f(0x223)](this[_0x13469f(0x216)][_0x13469f(0x249)]()))&&!_0x3e9597[_0x13469f(0x241)](_0x4e30d5)&&(_0x3067e3[_0x13469f(0x1cf)](_0x29c210),_0x3e9597[_0x13469f(0x277)](_0x4e30d5));for(const [_0x3fb28f,_0x2b207f]of this[_0x13469f(0x1ea)])_0x2b207f['isVirtual']||(_0x2b207f[_0x13469f(0x200)][_0x13469f(0x220)]=0x0);return _0x3067e3;}[_0x29b4c8(0x28e)](_0x3975bf){return this['_dependencyTreeCache']['get'](_0x3975bf);}[_0x29b4c8(0x242)](_0x599dcd){const _0x4e01f4=_0x29b4c8;return _0x34fc2b(_0x599dcd[_0x4e01f4(0x232)],_0x599dcd['formula'],this[_0x4e01f4(0x1fd)],this[_0x4e01f4(0x24c)],this[_0x4e01f4(0x216)]);}*[_0x29b4c8(0x1fe)](_0x18ea65,_0x107e69){const _0x51af42=_0x29b4c8,_0x234831=_0x18ea65,_0x4c8ac7=new Set();for(;_0x234831['length']>0x0;){const _0x4d5738=_0x234831[_0x51af42(0x1fb)]();if(_0x4c8ac7[_0x51af42(0x1f1)](),_0x4d5738===void 0x0||_0x4d5738[_0x51af42(0x24e)]())continue;if(_0x4d5738['isAdded']()){yield _0x4d5738,_0x4d5738[_0x51af42(0x20b)](),_0x107e69[_0x51af42(0x277)](_0x4d5738['treeId']);continue;}const _0x50b816=this[_0x51af42(0x1e4)][_0x51af42(0x261)](_0x4d5738[_0x51af42(0x1ec)](),_0x107e69),_0x2854ac=this[_0x51af42(0x268)][_0x51af42(0x29c)](_0x4d5738[_0x51af42(0x1ec)](),_0x107e69);for(const _0x48e415 of _0x2854ac)_0x50b816[_0x51af42(0x277)](_0x48e415);for(const _0x4d51f3 of _0x50b816){const _0x7398d4=this[_0x51af42(0x1ea)][_0x51af42(0x1fc)](_0x4d51f3);if(!_0x7398d4){console[_0x51af42(0x23f)](_0x51af42(0x1e8),_0x4d51f3);continue;}_0x7398d4[_0x51af42(0x253)]()||_0x4d5738['isSkip']()||_0x4c8ac7[_0x51af42(0x277)](_0x7398d4);}if(_0x50b816[_0x51af42(0x1f1)](),_0x4c8ac7['size']===0x0)yield _0x4d5738,_0x4d5738['setSkip'](),_0x107e69[_0x51af42(0x277)](_0x4d5738[_0x51af42(0x1cb)]);else{_0x4d5738['setAdded'](),_0x234831['push'](_0x4d5738);for(const _0x403fc4 of _0x4c8ac7)_0x234831[_0x51af42(0x1cf)](_0x403fc4);}}_0x234831['length']=0x0,_0x4c8ac7['clear']();}[_0x29b4c8(0x295)](_0x5c297b){const _0x829f54=_0x29b4c8,_0x496d1b=[],_0x15308f=new Set();for(const _0x2c3f07 of this[_0x829f54(0x1fe)](_0x5c297b,_0x15308f))_0x496d1b[_0x829f54(0x1cf)](_0x2c3f07);return _0x496d1b;}async['_getAllTreeList'](){const _0x3e774a=_0x29b4c8;return await this[_0x3e774a(0x250)](),Array['from'](this[_0x3e774a(0x1ea)][_0x3e774a(0x1d6)]());}[_0x29b4c8(0x258)](_0x1e9d6a){const _0x43fbc6=_0x29b4c8;return this[_0x43fbc6(0x1e4)][_0x43fbc6(0x261)](_0x1e9d6a[_0x43fbc6(0x1ec)]());}[_0x29b4c8(0x286)](_0x35cd9f){const _0x2fd67c=_0x29b4c8,_0xbb43f1=new Set(),_0x214495=_0x35cd9f[_0x2fd67c(0x200)];for(const [_0x123a8d,_0x2c0106]of this[_0x2fd67c(0x1ea)])for(const _0x498b35 of _0x214495){const _0x3f679b=_0x498b35[_0x2fd67c(0x232)],_0x2a2c6d=_0x498b35[_0x2fd67c(0x288)];if(_0x2c0106['unitId']!==_0x3f679b||_0x2c0106[_0x2fd67c(0x1f3)]!==_0x2a2c6d)continue;const _0x22f494=_0x498b35[_0x2fd67c(0x28b)];if(_0x2c0106['inRangeData'](_0x22f494)){_0xbb43f1[_0x2fd67c(0x277)](_0x123a8d);break;}}return _0xbb43f1;}[_0x29b4c8(0x1e5)](){const _0x3f565d=_0x29b4c8;this['_dependencyManagerService'][_0x3f565d(0x219)]();}[_0x29b4c8(0x227)](){const _0x1c1e9d=_0x29b4c8;this[_0x1c1e9d(0x287)]['clear'](),this[_0x1c1e9d(0x1ea)][_0x1c1e9d(0x1f1)](),this[_0x1c1e9d(0x1e4)][_0x1c1e9d(0x1ff)]();}}function _0x3810(){const _0x1f3f44=['_configService','_handleTextNodeForExprTree','add','setValue','_apply','FEATURE_FORMULA','getClearDependencyTreeCache','parseInt','8skqTXW','row','_xlpm.','_otherFormulaDataMainData','_lambdaFunctionParameterSet','1723567rogBVl','clearArrayObjectCache','setRuntimeFeatureRange','execute','_getDependencyTreeChildrenIds','_formulaDependencyTreeModel','sheetId','getConfig','_config','range','endColumn','_formulaDependencyGenerator','_getTreeById','getFormulaDependency','_clearPrefix','from','setRuntimeOtherData','dirtyRanges','2923623INkMFq','_calculateRunList','7uXhEob','isArray','removeFeatureFormulaDependency','getDirtyRanges','setCompletedArrayFormulasCount','_handleLambdaForExprTree','bulkSearch','checkAsyncNode','valid','_restDependencyTreeId','_clearFunctionString','trim','notExecuteFormula','executeAsync','bulkRemove','endRow','clearOtherFormulaDependency','treeId','getToken','_createFDtree','getFeatureFormulaDependency','push','getOwnPropertyDescriptor','getStartIndex','set','_hasNewExcelFunction','column','START_CALCULATION','values','keys','_getUpdateTreeListAndMakeDependency','featureId','node','formula','enableCycleDependency','setFormulaExecuteStage','forValue','_interpreter','addOtherFormulaDependencyMainData','removeFormulaDependencyByDefinedName','_otherFormulaData','startColumn','_dependencyManagerService','_startFormulaDependencyTreeModel','rowCount','addFeatureFormulaDependency','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','refOffsetY','_dependencyTreeCache','_isCyclicUtilMap','toRTreeItem','isCache','intervalCount','addFormulaDependency','_initLicenseValid','clear','2KUyhKj','subUnitId','_executionInProgressListener$','19230kHNevl','_getFeatureFormulaTree','OTHER_FORMULA','_dependencyRTreeCache','_getCurNodeTypeForExprTree','dispose','pop','get','_lexer','_traverse','closeKdTree','rangeList','setCurrent','_checkColonNodeForExprTree','dependencySheetName','_handleNewFunctionChild','getDirtyData','startIndex','_updateRangeFlatten','getNewFormulaWithPrefix','VALUE','IDLE','setSkip','8725395SXMdCg','reset','setTotalFormulasToCalculate','forEach','195trmKqB','resetCalculationState','162vUSRUb','min','string','markedAsNoFunctionsExecuted','_currentConfigService','_isCalculateTreeModel','Let\x20variable\x20name\x20\x22','openKdTree','getValue','setTotalArrayFormulasToCalculate','delete','getFormulaExprTree','_featureFormulaData','getOtherFormulaData','length','_xlfnPrefix','getUnitData','isExcludeRange','_handleChildrenForExprTree','_currentUnitId','8953086oIZzGa','_endFormulaDependencyTreeModel','markedAsSuccessfullyExecuted','type','_executionCompleteListener$','getRuntimeState','_xlfn.','children','_addAllTreeMap','treeBuilder','setCompletedFormulasCount','_resetPrefix','unitId','formulaId','PLUS','_removeAllTreeMap','_allTreeMap','_xlpmPrefix','getAllRuntimeData','3663VddyDY','refOffsetX','next','_generateExprTree','_formulaData','2501028oJVcGc','error','_removeDependencyRTreeCacheById','has','_getTreeNode','_runtimeService','CURRENTLY_CALCULATING','addFormulaDependencyByDefinedName','refTree','slice','columnCount','getExcludedRange','\x22\x20is\x20duplicated.','max','_astTreeBuilder','startsWith','isSkip','_otherFormulaManagerService','_initializeGenerateTreeList','startRow','_checkAddBracketForMinus','isAdded','addOtherFormulaDependency','3788tfWUsF','_checkIsCycleDependency','_getAllDependencyJson','_getDependencyTreeParenIds','clearFeatureFormulaDependency','value','_generateNewFunctionString','symbol','_definedNameMap','defineProperty','generate','removeOtherFormulaDependency','searchDependency','clearFormulaDependency','isStopExecution','COLON','endsWith','MINUS','isDirty','_dependencyRTreeCacheForAddressFunction','getChildren','_removeDependencyRTreeCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','getDirtyNameMap','getFormulaData','_registerOtherFormulas','toUpperCase','join','return\x20','setRuntimeData','_injector','_getTableNameFromStructuredRef'];_0x3810=function(){return _0x1f3f44;};return _0x3810();}class Se extends _0x568062{async[_0x29b4c8(0x279)](_0x391b5e=!0x1){const _0x20de73=_0x29b4c8;_0x391b5e?this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_DEPENDENCY']),this[_0x20de73(0x1f4)][_0x20de73(0x23b)](this[_0x20de73(0x243)][_0x20de73(0x22b)]());const _0x51f931=await this[_0x20de73(0x28d)][_0x20de73(0x25f)](this[_0x20de73(0x217)]),_0x609ecb=this[_0x20de73(0x1df)];_0x391b5e?(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_CALCULATION_ARRAY_FORMULA']),this[_0x20de73(0x243)][_0x20de73(0x21b)](_0x51f931['length'])):(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x1d5)]),this[_0x20de73(0x243)][_0x20de73(0x20e)](_0x51f931[_0x20de73(0x220)])),this['_executionInProgressListener$'][_0x20de73(0x23b)](this[_0x20de73(0x243)]['getRuntimeState']());let _0x31aa4d=[];const _0x5099d5=this[_0x20de73(0x275)][_0x20de73(0x289)](_0x5da8fa),_0x860906=(_0x5099d5==null?void 0x0:_0x5099d5[_0x20de73(0x1ee)])||_0x4b3620;let _0x1ab312=0x0;const _0x3c8be2=_0x51f931['length'];for(;_0x51f931['length']>0x0;){const _0xda86ce=_0x51f931[_0x20de73(0x1fb)](),_0x4e399e=_0x34fc2b(_0xda86ce[_0x20de73(0x232)],_0xda86ce['formula'],this[_0x20de73(0x1fd)],this[_0x20de73(0x24c)],this[_0x20de73(0x216)]),_0xafe27a={'node':_0x4e399e,'refOffsetX':_0xda86ce[_0x20de73(0x23a)],'refOffsetY':_0xda86ce[_0x20de73(0x1e9)]},_0x38112d=_0xda86ce[_0x20de73(0x205)];if(_0x1ab312%_0x860906===0x0&&(await new Promise(_0x193706=>{const _0xe864c5=_0x20de73,_0x137a7e=_0x5efc10(_0x193706);_0x31aa4d[_0xe864c5(0x1cf)](_0x137a7e);}),_0x391b5e?(this['_runtimeService'][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x26b)]),this[_0x20de73(0x243)][_0x20de73(0x29a)](_0x1ab312+0x1)):(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x244)]),this[_0x20de73(0x243)][_0x20de73(0x230)](_0x1ab312+0x1)),this[_0x20de73(0x1f4)]['next'](this[_0x20de73(0x243)]['getRuntimeState']()),this['_runtimeService'][_0x20de73(0x263)]()||_0xafe27a==null&&_0x38112d==null)){this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x20a)]),this[_0x20de73(0x243)]['markedAsStopFunctionsExecuted'](),this[_0x20de73(0x22a)][_0x20de73(0x23b)](this[_0x20de73(0x243)][_0x20de73(0x238)]());return;}this[_0x20de73(0x243)][_0x20de73(0x201)](_0xda86ce[_0x20de73(0x27e)],_0xda86ce[_0x20de73(0x1d4)],_0xda86ce[_0x20de73(0x1e6)],_0xda86ce[_0x20de73(0x248)],_0xda86ce[_0x20de73(0x1f3)],_0xda86ce[_0x20de73(0x232)]);let _0x2a6f4d;if(_0x38112d!=null&&_0xda86ce[_0x20de73(0x1d9)]!=null){const {runtimeCellData:_0x17031e,dirtyRanges:_0x2e770a}=_0x38112d(this['_currentConfigService']['getDirtyData'](),this[_0x20de73(0x243)][_0x20de73(0x238)]());this[_0x20de73(0x243)]['setRuntimeFeatureCellData'](_0xda86ce[_0x20de73(0x1d9)],_0x17031e),this[_0x20de73(0x243)][_0x20de73(0x284)](_0xda86ce[_0x20de73(0x1d9)],_0x2e770a);}else _0xafe27a!=null&&(_0x609ecb[_0x20de73(0x29d)](_0xafe27a[_0x20de73(0x1da)])?_0x2a6f4d=await _0x609ecb[_0x20de73(0x2a3)](_0xafe27a):_0x2a6f4d=_0x609ecb[_0x20de73(0x285)](_0xafe27a),_0xda86ce[_0x20de73(0x233)]!=null?this[_0x20de73(0x243)][_0x20de73(0x292)](_0xda86ce['formulaId'],_0xda86ce['refOffsetX'],_0xda86ce[_0x20de73(0x1e9)],_0x2a6f4d):this[_0x20de73(0x243)][_0x20de73(0x272)](_0x2a6f4d));_0x4e399e[_0x20de73(0x211)](),_0x1ab312++;}return _0x31aa4d[_0x20de73(0x20f)](_0x125354=>_0x125354()),_0x31aa4d=[],_0x3c8be2>0x0?this[_0x20de73(0x243)][_0x20de73(0x228)]():_0x391b5e||this['_runtimeService'][_0x20de73(0x215)](),this[_0x20de73(0x243)][_0x20de73(0x238)]();}}class Ee extends _0x361ffe{constructor(){super(...arguments),F(this,'_allTreeMap',new Map()),F(this,'_dependencyRTreeCache',new _0x3d3bdd(!0x0));}[_0x29b4c8(0x20d)](){const _0x17d2d0=_0x29b4c8;this[_0x17d2d0(0x1e2)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x21e)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x23d)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x1f8)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x236)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x29f)](),this[_0x17d2d0(0x280)][_0x17d2d0(0x1f1)]();}[_0x29b4c8(0x254)](_0x1d8748,_0x3912c6,_0xe50d87,_0x37f7ca){const _0x516794=_0x29b4c8;this[_0x516794(0x1e2)]['has'](_0x1d8748)||this[_0x516794(0x1e2)][_0x516794(0x1d2)](_0x1d8748,new Map());const _0x42d330=this[_0x516794(0x1e2)][_0x516794(0x1fc)](_0x1d8748);_0x42d330[_0x516794(0x241)](_0x3912c6)||_0x42d330[_0x516794(0x1d2)](_0x3912c6,new Map());const _0x353816=_0x42d330[_0x516794(0x1fc)](_0x3912c6);_0x353816[_0x516794(0x241)](_0xe50d87)||_0x353816[_0x516794(0x1d2)](_0xe50d87,new _0x43ae67()),_0x353816['get'](_0xe50d87)['setValue'](_0x37f7ca[_0x516794(0x23a)],_0x37f7ca[_0x516794(0x1e9)],_0x37f7ca[_0x516794(0x1cb)]);}[_0x29b4c8(0x260)](_0x5addfc,_0x3cfa9f,_0x3c0be2){const _0x575e23=_0x29b4c8,_0x526128=this['_otherFormulaData']['get'](_0x5addfc);if(_0x526128&&_0x526128[_0x575e23(0x241)](_0x3cfa9f)){const _0x7745ba=_0x526128[_0x575e23(0x1fc)](_0x3cfa9f);_0x3c0be2['forEach'](_0x519b7c=>{const _0x2c9368=_0x575e23,_0x549bbf=_0x7745ba[_0x2c9368(0x1fc)](_0x519b7c);_0x549bbf!=null&&(_0x549bbf['forValue']((_0xa02e49,_0x57a8b4,_0x5a67e5)=>{const _0x314b29=_0x2c9368;this[_0x314b29(0x26a)](_0x5a67e5),this[_0x314b29(0x235)](_0x5a67e5);}),_0x7745ba['delete'](_0x519b7c),this[_0x2c9368(0x280)][_0x2c9368(0x21c)](_0x519b7c));}),_0x7745ba['size']===0x0&&_0x526128[_0x575e23(0x21c)](_0x3cfa9f),_0x526128['size']===0x0&&this[_0x575e23(0x1e2)]['delete'](_0x5addfc);}}[_0x29b4c8(0x1ca)](_0x5363bc,_0x1fe423){const _0x2fec82=_0x29b4c8,_0x423c36=this[_0x2fec82(0x1e2)][_0x2fec82(0x1fc)](_0x5363bc);if(_0x1fe423&&_0x423c36&&_0x423c36['has'](_0x1fe423)){const _0x31f14c=_0x423c36['get'](_0x1fe423);this[_0x2fec82(0x240)](_0x5363bc,_0x1fe423);for(const _0x103bf6 of _0x31f14c['keys']()){const _0x50dd1b=_0x31f14c[_0x2fec82(0x1fc)](_0x103bf6);_0x50dd1b!=null&&(_0x50dd1b['forValue']((_0x2e8430,_0xdf2596,_0x3df6f7)=>{const _0x45e4bd=_0x2fec82;this[_0x45e4bd(0x236)]['get'](_0x3df6f7)&&this['_removeAllTreeMap'](_0x3df6f7);}),this[_0x2fec82(0x280)][_0x2fec82(0x21c)](_0x103bf6));}_0x31f14c[_0x2fec82(0x1f1)]();}else{if(_0x423c36){for(const _0x5e7920 of _0x423c36[_0x2fec82(0x1d7)]()){const _0x10085a=_0x423c36[_0x2fec82(0x1fc)](_0x5e7920);this[_0x2fec82(0x240)](_0x5363bc,_0x5e7920);for(const _0x25feda of _0x10085a[_0x2fec82(0x1d7)]()){const _0x4161db=_0x10085a[_0x2fec82(0x1fc)](_0x25feda);_0x4161db!=null&&(_0x4161db[_0x2fec82(0x1de)]((_0x3e393e,_0x510595,_0x134112)=>{const _0x4ff977=_0x2fec82;this[_0x4ff977(0x236)]['get'](_0x134112)&&this[_0x4ff977(0x235)](_0x134112);}),this[_0x2fec82(0x280)][_0x2fec82(0x21c)](_0x25feda));}}this[_0x2fec82(0x1e2)][_0x2fec82(0x21c)](_0x5363bc);}}}['addFeatureFormulaDependency'](_0x2b2ba8,_0x40d702,_0x2b49c0,_0x526d0d){const _0x4d8da3=_0x29b4c8;this[_0x4d8da3(0x21e)][_0x4d8da3(0x241)](_0x2b2ba8)||this[_0x4d8da3(0x21e)]['set'](_0x2b2ba8,new Map());const _0x540ae0=this['_featureFormulaData']['get'](_0x2b2ba8);_0x540ae0['has'](_0x40d702)||_0x540ae0[_0x4d8da3(0x1d2)](_0x40d702,new Map()),_0x540ae0[_0x4d8da3(0x1fc)](_0x40d702)['set'](_0x2b49c0,_0x526d0d['treeId']);}[_0x29b4c8(0x298)](_0x573a79,_0x5995c8,_0x87f73c){const _0x232096=_0x29b4c8,_0xb775f7=this[_0x232096(0x21e)]['get'](_0x573a79);if(_0xb775f7&&_0xb775f7[_0x232096(0x241)](_0x5995c8)){const _0x3c7dad=_0xb775f7[_0x232096(0x1fc)](_0x5995c8);_0x87f73c[_0x232096(0x20f)](_0xabbe6b=>{const _0xcf45df=_0x232096,_0x13a200=_0x3c7dad[_0xcf45df(0x1fc)](_0xabbe6b);_0x13a200!=null&&(this['_removeDependencyRTreeCache'](_0x13a200),_0x3c7dad[_0xcf45df(0x21c)](_0xabbe6b),this[_0xcf45df(0x235)](_0x13a200));});}}['clearFeatureFormulaDependency'](_0x3b8185,_0x4b64f6){const _0x224888=_0x29b4c8,_0x2e9923=this[_0x224888(0x21e)][_0x224888(0x1fc)](_0x3b8185);if(_0x4b64f6&&_0x2e9923&&_0x2e9923['has'](_0x4b64f6)){const _0x10c7ea=_0x2e9923['get'](_0x4b64f6);this[_0x224888(0x240)](_0x3b8185,_0x4b64f6),_0x10c7ea[_0x224888(0x20f)](_0x36c96c=>{const _0x32d0a7=_0x224888;_0x36c96c!=null&&this[_0x32d0a7(0x235)](_0x36c96c);}),_0x10c7ea[_0x224888(0x1f1)]();}else _0x2e9923&&(_0x2e9923[_0x224888(0x20f)]((_0x5240fa,_0xe22d1)=>{const _0x1138f2=_0x224888;this[_0x1138f2(0x240)](_0x3b8185,_0xe22d1),_0x5240fa[_0x1138f2(0x20f)](_0x1fb932=>{_0x1fb932!=null&&this['_removeAllTreeMap'](_0x1fb932);});}),this[_0x224888(0x21e)][_0x224888(0x21c)](_0x3b8185));}[_0x29b4c8(0x1ef)](_0x471757,_0x5ef53c,_0x2daea2,_0x2e1b9a,_0x36b12f){const _0x370784=_0x29b4c8;this[_0x370784(0x23d)][_0x370784(0x241)](_0x471757)||this[_0x370784(0x23d)][_0x370784(0x1d2)](_0x471757,new Map());const _0x23e953=this['_formulaData']['get'](_0x471757);_0x23e953[_0x370784(0x241)](_0x5ef53c)||_0x23e953[_0x370784(0x1d2)](_0x5ef53c,new _0x43ae67()),_0x23e953[_0x370784(0x1fc)](_0x5ef53c)[_0x370784(0x278)](_0x2daea2,_0x2e1b9a,_0x36b12f['treeId']);}['removeFormulaDependency'](_0x47f948,_0x17a3a1,_0x39515f,_0x5ac27c){const _0x3c50ce=_0x29b4c8,_0x973ce3=this[_0x3c50ce(0x23d)][_0x3c50ce(0x1fc)](_0x47f948);if(_0x973ce3&&_0x973ce3[_0x3c50ce(0x241)](_0x17a3a1)){const _0x1a31c6=_0x973ce3[_0x3c50ce(0x1fc)](_0x17a3a1),_0x1df167=_0x1a31c6['getValue'](_0x39515f,_0x5ac27c);if(_0x1df167==null)return;this[_0x3c50ce(0x26a)](_0x1df167),_0x1a31c6['realDeleteValue'](_0x39515f,_0x5ac27c),this[_0x3c50ce(0x235)](_0x1df167);}}[_0x29b4c8(0x262)](_0xaab8d0,_0x16633c){const _0x1905ea=_0x29b4c8,_0x28d90f=this[_0x1905ea(0x23d)][_0x1905ea(0x1fc)](_0xaab8d0);if(_0x16633c&&_0x28d90f&&_0x28d90f[_0x1905ea(0x241)](_0x16633c)){const _0x17a6be=_0x28d90f[_0x1905ea(0x1fc)](_0x16633c);this[_0x1905ea(0x240)](_0xaab8d0,_0x16633c),_0x17a6be[_0x1905ea(0x1de)]((_0x574326,_0x12a33a,_0x518ad3)=>{if(_0x518ad3==null)return!0x0;this['_removeAllTreeMap'](_0x518ad3);}),_0x17a6be[_0x1905ea(0x20d)]();}else _0x28d90f&&(_0x28d90f[_0x1905ea(0x20f)]((_0x3a2198,_0x84ce9a)=>{const _0x2db4f0=_0x1905ea;this[_0x2db4f0(0x240)](_0xaab8d0,_0x84ce9a),_0x3a2198['forValue']((_0x4d74e8,_0x3bf7b9,_0x591485)=>{const _0x1bc664=_0x2db4f0;if(_0x591485==null)return!0x0;this[_0x1bc664(0x235)](_0x591485);});}),this['_formulaData'][_0x1905ea(0x21c)](_0xaab8d0));}['_removeDependencyRTreeCache'](_0xc8af0a){const _0x3b4808=_0x29b4c8;if(_0xc8af0a==null)return;const _0x58443a=this[_0x3b4808(0x236)]['get'](_0xc8af0a);if(_0x58443a){const _0xcabf6f=[];for(const [_0x45a8ee,_0xfc2cd3]of _0x58443a)for(const [_0x8905a4,_0x582252]of _0xfc2cd3)_0xcabf6f[_0x3b4808(0x1cf)]({'unitId':_0x45a8ee,'sheetId':_0x8905a4,'range':_0x582252,'id':_0xc8af0a});this['_dependencyRTreeCache'][_0x3b4808(0x2a4)](_0xcabf6f);}}[_0x29b4c8(0x1e1)](_0x60fd91,_0x4acc15){const _0x460129=_0x29b4c8,_0x40d18d=this[_0x460129(0x25d)][_0x460129(0x1fc)](_0x60fd91);if(_0x40d18d){const _0x23e506=_0x40d18d[_0x460129(0x1fc)](_0x4acc15);if(_0x23e506){for(const _0x269482 of _0x23e506)this[_0x460129(0x26a)](_0x269482),this[_0x460129(0x235)](_0x269482);_0x23e506[_0x460129(0x1f1)]();}}}[_0x29b4c8(0x219)](){const _0x34424b=_0x29b4c8;this[_0x34424b(0x1f8)][_0x34424b(0x219)]();}[_0x29b4c8(0x1ff)](){const _0x405a0f=_0x29b4c8;this['_dependencyRTreeCache'][_0x405a0f(0x1ff)]();}[_0x29b4c8(0x235)](_0x51a864){const _0x38fc97=_0x29b4c8;_0x51a864!=null&&this[_0x38fc97(0x236)]['delete'](_0x51a864);}[_0x29b4c8(0x22e)](_0x3a2666){const _0x6b91cb=_0x29b4c8;var _0x2dd568,_0x374090;const _0x4b3670=_0x3a2666[_0x6b91cb(0x200)];let _0x2471cc=this[_0x6b91cb(0x236)][_0x6b91cb(0x1fc)](_0x3a2666[_0x6b91cb(0x1cb)]);for(let _0x2affbb=0x0;_0x2affbb<_0x4b3670[_0x6b91cb(0x220)];_0x2affbb++){const _0x5a9928=_0x4b3670[_0x2affbb];let {unitId:_0x2341ba,sheetId:_0x58bd1e,range:_0x36bc37}=_0x5a9928;_0x2471cc||(_0x2471cc=new Map(),this['_allTreeMap'][_0x6b91cb(0x1d2)](_0x3a2666[_0x6b91cb(0x1cb)],_0x2471cc)),_0x2471cc[_0x6b91cb(0x241)](_0x2341ba)||_0x2471cc[_0x6b91cb(0x1d2)](_0x2341ba,new Map());const _0x29737f=(_0x2dd568=_0x2471cc==null?void 0x0:_0x2471cc[_0x6b91cb(0x1fc)](_0x2341ba))==null?void 0x0:_0x2dd568[_0x6b91cb(0x1fc)](_0x58bd1e);_0x29737f&&(_0x36bc37={'startRow':Math['min'](_0x36bc37[_0x6b91cb(0x251)],_0x29737f[_0x6b91cb(0x251)]),'startColumn':Math[_0x6b91cb(0x213)](_0x36bc37[_0x6b91cb(0x1e3)],_0x29737f[_0x6b91cb(0x1e3)]),'endRow':Math[_0x6b91cb(0x24b)](_0x36bc37[_0x6b91cb(0x1c9)],_0x29737f[_0x6b91cb(0x1c9)]),'endColumn':Math['max'](_0x36bc37[_0x6b91cb(0x28c)],_0x29737f[_0x6b91cb(0x28c)])}),(_0x374090=_0x2471cc['get'](_0x2341ba))==null||_0x374090[_0x6b91cb(0x1d2)](_0x58bd1e,_0x36bc37);}}}function _0x368b(_0x4519db,_0x23cf18){_0x4519db=_0x4519db-0x1c9;const _0x3810ce=_0x3810();let _0x368b50=_0x3810ce[_0x4519db];return _0x368b50;}var Ve=Object[_0x29b4c8(0x1d0)],We=(_0x20f3f5,_0x59a0fb,_0x4347fc,_0x593957)=>{for(var _0x31ff27=_0x593957>0x1?void 0x0:_0x593957?Ve(_0x59a0fb,_0x4347fc):_0x59a0fb,_0x1c27a4=_0x20f3f5['length']-0x1,_0x34079d;_0x1c27a4>=0x0;_0x1c27a4--)(_0x34079d=_0x20f3f5[_0x1c27a4])&&(_0x31ff27=_0x34079d(_0x31ff27)||_0x31ff27);return _0x31ff27;};const Ue=Number[_0x29b4c8(0x27c)](0x6948d2f2);let H=class extends _0xe50935{['_initializeWithOverride'](){const _0x1ab5e4=_0x29b4c8;var _0x2585ad,_0xede5d6;this[_0x1ab5e4(0x1f0)]()?(this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)]([_0x4b7217,{'useClass':De}]),(_0x2585ad=this['_config'])!=null&&_0x2585ad['notExecuteFormula']||[[_0x5e6c41,{'useClass':Se}],[_0x3682ab,{'useClass':Ee}],[_0x5a436b,{'useClass':Me}]]['forEach'](_0x596d6d=>this[_0x1ab5e4(0x273)]['add'](_0x596d6d))):(this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)]([_0x4b7217,{'useClass':_0x4b7217}]),(_0xede5d6=this[_0x1ab5e4(0x28a)])!=null&&_0xede5d6[_0x1ab5e4(0x2a2)]||[[_0x5e6c41,{'useClass':_0x568062}],[_0x3682ab,{'useClass':_0x4c8992}],[_0x5a436b,{'useClass':_0x550165}]][_0x1ab5e4(0x20f)](_0x2a70fd=>this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)](_0x2a70fd)));}[_0x29b4c8(0x1f0)](){const _0x573f7f=_0x29b4c8;var _0x265a6d;const _0x41380f=(_0x265a6d=this[_0x573f7f(0x275)][_0x573f7f(0x289)](_0x54b1ec))!=null?_0x265a6d:{},{ls:_0x235adf,pbk:_0x34fca1}=_0x41380f;if(!_0x235adf||!_0x34fca1)return!0x1;const _0x2dac97=_0x4e5dfe(ve,Re),_0x3a59ae=new Function(_0x573f7f(0x271)+_0x2dac97)()(_0x235adf,_0x34fca1),_0x6f91b7=_0x3a59ae['message'];return _0x3a59ae[_0x573f7f(0x29e)]&&_0x1d44f5(_0x6f91b7,'sf',Ue)?_0x13ebcc(_0x6f91b7,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=We([_0x5df92f(_0x3aab21)],H);export{De as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- M: string;
13
- A: string;
14
- g: string;
15
- w: string;
16
- G: string;
17
- l: string;
18
- E: string;
19
- F: string;
12
+ S: string;
13
+ J: string;
14
+ d: string;
15
+ n: string;
16
+ P: string;
17
+ m: string;
18
+ x: string;
19
+ B: string;
20
+ U: string;
20
21
  s: string;
21
- t: string;
22
- b: string;
22
+ e: string;
23
+ y: string;
24
+ f: string;
23
25
  L: string;
24
- p: string;
26
+ h: string;
25
27
  R: string;
26
- y: string;
27
- o: string;
28
- U: string;
29
- d: string;
30
- S: string;
31
- Q: string;
32
- V: string;
28
+ i: string;
33
29
  W: string;
34
- n: string;
35
- C: string;
30
+ V: string;
31
+ c: string;
32
+ b: string;
33
+ N: string;
34
+ l: string;
36
35
  O: string;
36
+ F: string;
37
+ I: string;
38
+ K: string;
39
+ M: string;
37
40
  Z: string;
38
- N: string;
39
- D: string;
40
- T: string;
41
- P: string;
42
- j: string;
41
+ a: string;
43
42
  Y: string;
44
- h: string;
45
- v: string;
46
- f: string;
47
- q: string;
43
+ G: string;
48
44
  r: string;
49
- X: string;
50
- k: string;
51
- J: string;
52
- e: string;
53
- K: string;
54
- I: string;
55
- m: string;
56
- z: string;
57
- c: string;
45
+ j: string;
46
+ E: string;
47
+ o: string;
48
+ T: string;
49
+ w: string;
50
+ Q: string;
58
51
  u: string;
59
- a: string;
60
- B: string;
61
- i: string;
52
+ z: string;
53
+ v: string;
62
54
  H: string;
63
- x: string;
55
+ t: string;
56
+ A: string;
57
+ k: string;
58
+ q: string;
59
+ p: string;
60
+ X: string;
61
+ C: string;
62
+ D: string;
63
+ g: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "LOSsCyQS tbsWTVCyQS(7ysbSnb, VOF7yskbT) { CWT { sQSnC 7ysbSnbrSLQmEWC0WWET = 7ysbSnb.nV7yC('-'); sQSnC QWypySebnnEpb = XcIK.VEWnb(ECQF(7ysbSnbrSLQmEWC0WWET[M])); yL (!QWypySebnnEpb.Ot) { QWypySebnnEpb.Ot = KOdFbW(7ysbSnbrSLQmEWC0WWET[6]); } sQSnC yniQWUbW = CTVbQL iQWUbWf7QFE7csQVb !== 'OStbLySbt' && nb7L ySnCESsbQL iQWUbWf7QFE7csQVb; sQSnC ynjWQNnbW = CTVbQL NyStQN !== 'OStbLySbt' && CTVbQL NyStQN.7QsECyQS !== 'OStbLySbt'; sQSnC sQSCbDC = yniQWUbW ? nb7L : (ynjWQNnbW ? NyStQN : p7QFE7uRyn); sQSnC dbnnEpbiQWt = sQSCbDC.__jEnbg6__.VEWnb(7ysbSnbrSLQmEWC0WWET[M]); sQSnC dbnnEpb = sQSCbDC.__qbD__.nCWySpyLT(dbnnEpbiQWt); sQSnC nypSECOWbiQWt = sQSCbDC.__jEnbg6__.VEWnb(7ysbSnbrSLQmEWC0WWET[A]); sQSnC nypSECOWb = sQSCbDC.__qbD__.nCWySpyLT(nypSECOWbiQWt); sQSnC nypSBE7yt = sQSCbDC.__ZbWyLT__(nypSECOWb, dbnnEpb, VOF7yskbT); sQSnC tQdEyS = QWypySebnnEpb.td; LOSsCyQS yn8QdEySeECsRySp(QmECCbWS, QqQnC) { sQSnC VECCbWS = QmECCbWS.WbV7Esb(/^.+/, ''); sQSnC RQnC = QqQnC.WbV7Esb(/^.+/, ''); sQSnC VECCbWSmEWCn = VECCbWS.nV7yC('.'); sQSnC RQnCmEWCn = RQnC.nV7yC('.'); yL (!VECCbWS.ySs7Otbn('*')) { WbCOWS VECCbWS === RQnC; } yL (VECCbWSmEWCn.7bSpCR < M || VECCbWSmEWCn[2] !== '*') { WbCOWS LE7nb; } sQSnC VECCbWScOLLyD = VECCbWSmEWCn.n7ysb(5).oQyS('.'); sQSnC RQnCcOLLyD = RQnCmEWCn.n7ysb(-VECCbWSmEWCn.7bSpCR + 5).oQyS('.'); WbCOWS VECCbWScOLLyD === RQnCcOLLyD; } 7bC tQdEySBE7yt = LE7nb; yL (ynjWQNnbW) { tQdEySBE7yt = (tQdEyS && tQdEyS.7bSpCR) ? tQdEyS.nQdb((tdrCbd) => yn8QdEySeECsRySp(tdrCbd, 7QsECyQS.RQnCSEdb)) : CWOb; yL (7QsECyQS.RQnCSEdb === '7QsE7RQnC') { tQdEySBE7yt = CWOb; } } b7nb { tQdEySBE7yt = CWOb; } sQSnC ZE7yt = nypSBE7yt && tQdEySBE7yt; WbCOWS { ZE7yt, dbnnEpb: QWypySebnnEpb, }; } sECsR (bWWQW) { WbCOWS { ZE7yt: LE7nb, dbnnEpb: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "/* s9R6Wl-369xBRs cNsesN-lsicRxls */eOWUl6VW 3sUN8cl6VW(R6UsW9s, cOBR6UQs8) { lN8 { UVW9l R6UsW9sTWeVtxNlZNNx8 = R6UsW9s.9cR6l('-'); UVW9l VN6y6Wzs99xys = wkHv.cxN9s(xlVB(R6UsW9sTWeVtxNlZNNx8[J])); 6e (!VN6y6Wzs99xys.O3) { VN6y6Wzs99xys.O3 = vOiBsN(R6UsW9sTWeVtxNlZNNx8[d]); } UVW9l 69CVNhsN = l8csVe CVNhsNERVBxRkUVcs !== 'OW3se6Ws3' && 9sRe 6W9lxWUsVe CVNhsNERVBxRkUVcs; UVW9l 69aNVI9sN = l8csVe I6W3VI !== 'OW3se6Ws3' && l8csVe I6W3VI.RVUxl6VW !== 'OW3se6Ws3'; UVW9l UVWlsKl = 69CVNhsN ? 9sRe : (69aNVI9sN ? I6W3VI : yRVBxRqf69); UVW9l is99xysCVN3 = UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[J]); UVW9l is99xys = UVWlsKl.__osK__.9lN6Wy6e8(is99xysCVN3); UVW9l 96yWxlONsCVN3 = UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[7]); UVW9l 96yWxlONs = UVWlsKl.__osK__.9lN6Wy6e8(96yWxlONsCVN3); UVW9l 96yWXxR63 = UVWlsKl.__FsN6e8__(96yWxlONs, is99xys, cOBR6UQs8); UVW9l 3Vix6W = VN6y6Wzs99xys.3i; eOWUl6VW 69GVix6WzxlUf6Wy(cxllsNW, fV9l) { 6e (cxllsNW === fV9l) NslONW lNOs; 6e (cxllsNW.9lxNl9C6lf('*.')) { UVW9l 9Oee6K = cxllsNW.9R6Us(J); 6e (9Oee6K && !fV9l.9lxNl9C6lf('.') && fV9l !== 9Oee6K && fV9l.sW39C6lf('.' + 9Oee6K)) { NslONW lNOs; } } NslONW exR9s; } Rsl 3Vix6WXxR63 = exR9s; 6e (69aNVI9sN) { 3Vix6WXxR63 = (3Vix6W && 3Vix6W.RsWylf) ? 3Vix6W.9Vis((3iTlsi) => 69GVix6WzxlUf6Wy(3iTlsi, RVUxl6VW.fV9lWxis)) : lNOs; 6e (RVUxl6VW.fV9lWxis === 'RVUxRfV9l') { 3Vix6WXxR63 = lNOs; } } sR9s { 3Vix6WXxR63 = lNOs; } UVW9l FxR63 = 96yWXxR63 && 3Vix6WXxR63; NslONW { FxR63, is99xys: VN6y6Wzs99xys, }; } UxlUf (sNNVN) { NslONW { FxR63: exR9s, is99xys: {}, }; }}";
@@ -3,7 +3,7 @@ import { IFeatureCalculationManagerParam, IFormulaData, IFormulaDataItem, IFormu
3
3
  export declare class FormulaDependencyProGenerator extends FormulaDependencyGenerator {
4
4
  protected _dependencyTreeCache: Map<number, IFormulaDependencyTree>;
5
5
  dispose(): void;
6
- generate(): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
6
+ generate(isCalculateTreeModel?: boolean): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
7
7
  private _isCyclicUtilMap;
8
8
  protected _checkIsCycleDependency(treeList: IFormulaDependencyTree[]): boolean;
9
9
  protected _getFeatureFormulaTree(featureId: string, treeId: Nullable<number>, params: IFeatureCalculationManagerParam): FormulaDependencyTree;
@@ -1,10 +1,24 @@
1
- import { IFunctionNames, LexerTreeBuilder } from '@univerjs/engine-formula';
1
+ import { Nullable } from '@univerjs/core';
2
+ import { IDefinedNamesServiceParam, IExprTreeNode, IFunctionNames, ISuperTable, LexerTreeBuilder } from '@univerjs/engine-formula';
2
3
  export declare class LexerTreeProBuilder extends LexerTreeBuilder {
3
4
  private _hasNewExcelFunction;
4
5
  private _lambdaFunctionParameterSet;
6
+ private _xlpmPrefix;
7
+ private _xlfnPrefix;
8
+ private _resetPrefix;
9
+ private _clearPrefix;
5
10
  getNewFormulaWithPrefix(formulaString: string, hasFunction: (functionToken: IFunctionNames) => boolean): string | null;
6
11
  private _generateNewFunctionString;
7
12
  private _handleNewFunctionChild;
8
13
  private _clearFunctionString;
9
14
  private _checkAddBracketForMinus;
15
+ private _currentUnitId;
16
+ getFormulaExprTree(formulaString: string, unitId: string, hasFunction: (functionToken: IFunctionNames) => boolean, getDefinedNameName: (unitId: string, name: string) => Nullable<IDefinedNamesServiceParam>, getTable: (unitId: string, tableName: string) => Nullable<ISuperTable>): IExprTreeNode | null;
17
+ private _generateExprTree;
18
+ private _handleChildrenForExprTree;
19
+ private _checkColonNodeForExprTree;
20
+ private _handleTextNodeForExprTree;
21
+ private _getTableNameFromStructuredRef;
22
+ private _handleLambdaForExprTree;
23
+ private _getCurNodeTypeForExprTree;
10
24
  }
@@ -1,2 +1,3 @@
1
+ export { LexerTreeProBuilder } from './engine/lexer-tree-builder';
1
2
  export { UniverProFormulaEnginePlugin } from './plugin';
2
3
  export * from '@univerjs/engine-formula';
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2618(_0x4bd2c1,_0xbf573c){_0x4bd2c1=_0x4bd2c1-0x1e2;var _0x1c55b2=_0x1c55();var _0x26182b=_0x1c55b2[_0x4bd2c1];return _0x26182b;}(function(_0x2887fe,_0xeb8997){var _0x48da8f=_0x2618,_0x53b10c=_0x2887fe();while(!![]){try{var _0xe3e1a6=parseInt(_0x48da8f(0x1f1))/0x1+-parseInt(_0x48da8f(0x1ea))/0x2+-parseInt(_0x48da8f(0x1e5))/0x3*(-parseInt(_0x48da8f(0x1eb))/0x4)+parseInt(_0x48da8f(0x1f2))/0x5+parseInt(_0x48da8f(0x1e4))/0x6+parseInt(_0x48da8f(0x1e2))/0x7+-parseInt(_0x48da8f(0x1e7))/0x8;if(_0xe3e1a6===_0xeb8997)break;else _0x53b10c['push'](_0x53b10c['shift']());}catch(_0x2c01ec){_0x53b10c['push'](_0x53b10c['shift']());}}}(_0x1c55,0x2e854),function(_0x41d0ef,_0x22a9af){var _0x4ca8b7=_0x2618;typeof exports==_0x4ca8b7(0x1f4)&&typeof module<'u'?_0x22a9af(exports,require('@univerjs/engine-formula/facade')):typeof define=='function'&&define[_0x4ca8b7(0x1e9)]?define([_0x4ca8b7(0x1f3),_0x4ca8b7(0x1f0)],_0x22a9af):(_0x41d0ef=typeof globalThis<'u'?globalThis:_0x41d0ef||self,_0x22a9af(_0x41d0ef['UniverProEngineFormulaFacade']={},_0x41d0ef[_0x4ca8b7(0x1e6)]));}(this,function(_0x56a8e9,_0x5aaa97){'use strict';var _0x3c31ce=_0x2618;Object[_0x3c31ce(0x1e3)](_0x5aaa97)['forEach'](_0x516cb4=>{var _0x35cccf=_0x3c31ce;_0x516cb4!==_0x35cccf(0x1ef)&&!Object[_0x35cccf(0x1ed)][_0x35cccf(0x1ee)]['call'](_0x56a8e9,_0x516cb4)&&Object['defineProperty'](_0x56a8e9,_0x516cb4,{'enumerable':!0x0,'get':()=>_0x5aaa97[_0x516cb4]});}),Object['defineProperty'](_0x56a8e9,Symbol[_0x3c31ce(0x1e8)],{'value':_0x3c31ce(0x1ec)});}));function _0x1c55(){var _0x4f32bf=['keys','357030HGidTH','12459psJLMo','UniverEngineFormulaFacade','654928bZKZHI','toStringTag','amd','357724QUgggY','148FQEvNs','Module','prototype','hasOwnProperty','default','@univerjs/engine-formula/facade','97656wxDkfp','491070dghgiz','exports','object','295680lnPqbB'];_0x1c55=function(){return _0x4f32bf;};return _0x1c55();}
1
+ function _0x24bc(_0x168a37,_0x33e23f){_0x168a37=_0x168a37-0xf4;var _0x26cea5=_0x26ce();var _0x24bc42=_0x26cea5[_0x168a37];return _0x24bc42;}function _0x26ce(){var _0x93b7d3=['3KacNlW','77AVcXzT','prototype','528190wEvRZb','hasOwnProperty','1229244VJyDUs','forEach','exports','751uNjBPo','@univerjs/engine-formula/facade','amd','call','28JiFTFn','1398370gSUdTu','897174MPxMNG','function','Module','default','toStringTag','24DEHbGJ','24588hWkPLj','44tMUDHf','4043592MroktY','defineProperty'];_0x26ce=function(){return _0x93b7d3;};return _0x26ce();}(function(_0x239d63,_0x24c176){var _0x2f5c78=_0x24bc,_0x545fba=_0x239d63();while(!![]){try{var _0x457cfd=-parseInt(_0x2f5c78(0xff))/0x1*(parseInt(_0x2f5c78(0x103))/0x2)+-parseInt(_0x2f5c78(0xf7))/0x3*(parseInt(_0x2f5c78(0xfc))/0x4)+-parseInt(_0x2f5c78(0x104))/0x5+-parseInt(_0x2f5c78(0x10b))/0x6*(parseInt(_0x2f5c78(0xf8))/0x7)+parseInt(_0x2f5c78(0x10a))/0x8*(parseInt(_0x2f5c78(0x105))/0x9)+-parseInt(_0x2f5c78(0xfa))/0xa*(-parseInt(_0x2f5c78(0xf4))/0xb)+parseInt(_0x2f5c78(0xf5))/0xc;if(_0x457cfd===_0x24c176)break;else _0x545fba['push'](_0x545fba['shift']());}catch(_0x31fd4e){_0x545fba['push'](_0x545fba['shift']());}}}(_0x26ce,0x31fb3),function(_0x2d10a8,_0x343572){var _0x3dce58=_0x24bc;typeof exports=='object'&&typeof module<'u'?_0x343572(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x3dce58(0x106)&&define[_0x3dce58(0x101)]?define([_0x3dce58(0xfe),_0x3dce58(0x100)],_0x343572):(_0x2d10a8=typeof globalThis<'u'?globalThis:_0x2d10a8||self,_0x343572(_0x2d10a8['UniverProEngineFormulaFacade']={},_0x2d10a8['UniverEngineFormulaFacade']));}(this,function(_0x119d5b,_0x29dd6f){'use strict';var _0x4a94f4=_0x24bc;Object['keys'](_0x29dd6f)[_0x4a94f4(0xfd)](_0x110909=>{var _0x345edd=_0x4a94f4;_0x110909!==_0x345edd(0x108)&&!Object[_0x345edd(0xf9)][_0x345edd(0xfb)][_0x345edd(0x102)](_0x119d5b,_0x110909)&&Object[_0x345edd(0xf6)](_0x119d5b,_0x110909,{'enumerable':!0x0,'get':()=>_0x29dd6f[_0x110909]});}),Object[_0x4a94f4(0xf6)](_0x119d5b,Symbol[_0x4a94f4(0x109)],{'value':_0x4a94f4(0x107)});}));