@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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/engine/formula-dependency.d.ts +1 -1
- package/lib/types/engine/lexer-tree-builder.d.ts +15 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x11f1d3=_0x45c2;(function(_0x1b6655,_0x1be1bf){const _0x57d8ae=_0x45c2,_0x3f1c00=_0x1b6655();while(!![]){try{const _0x403ee4=parseInt(_0x57d8ae(0x149))/0x1+-parseInt(_0x57d8ae(0x14c))/0x2+parseInt(_0x57d8ae(0x148))/0x3+-parseInt(_0x57d8ae(0x145))/0x4+-parseInt(_0x57d8ae(0x152))/0x5*(-parseInt(_0x57d8ae(0x151))/0x6)+-parseInt(_0x57d8ae(0x14e))/0x7*(parseInt(_0x57d8ae(0x146))/0x8)+parseInt(_0x57d8ae(0x14d))/0x9;if(_0x403ee4===_0x1be1bf)break;else _0x3f1c00['push'](_0x3f1c00['shift']());}catch(_0x3cb78b){_0x3f1c00['push'](_0x3f1c00['shift']());}}}(_0x329d,0x62311));Object[_0x11f1d3(0x14a)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x45c2(_0x578b5f,_0x363169){_0x578b5f=_0x578b5f-0x144;const _0x329dd1=_0x329d();let _0x45c2bc=_0x329dd1[_0x578b5f];return _0x45c2bc;}function _0x329d(){const _0x4ca719=['2761736Yyefbi','5969248vjwZrL','keys','401886GopjLF','190969AgDvYY','defineProperty','forEach','251086tUSmlz','12722229qGEzVe','7kDQAAN','prototype','default','29454TXAcLu','230yvGVhj','hasOwnProperty'];_0x329d=function(){return _0x4ca719;};return _0x329d();}const t=require('@univerjs/engine-formula/facade');Object[_0x11f1d3(0x147)](t)[_0x11f1d3(0x14b)](_0x65912d=>{const _0x694bb=_0x11f1d3;_0x65912d!==_0x694bb(0x150)&&!Object[_0x694bb(0x14f)][_0x694bb(0x144)]['call'](exports,_0x65912d)&&Object['defineProperty'](exports,_0x65912d,{'enumerable':!0x0,'get':()=>t[_0x65912d]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x2dc47c=_0x2356;function _0x2696(){const _0x551460=['UniverLicensePlugin','notExecuteFormula','sheetId','\x22\x20is\x20duplicated.','LS_CONFIG_KEY','FormulaDependencyTreeType','_registerFormulas','UniverProFormulaEnginePlugin','554234AmLDFb','searchDependency','setSkip','ObjectMatrix','LexerNode','formula','getAllRuntimeData','setCurrent','unitId','markedAsNoFunctionsExecuted','getUnitData','_removeDependencyRTreeCacheById','_injector','_dependencyManagerService','parseInt','dispose','max','START_DEPENDENCY','addFormulaDependency','range','slice','getConfig','rowCount','_generateNewFunctionString','resolve','length','_traverse','ErrorType','_formulaDependencyGenerator','getFormulaData','isFeatureAuthorizedWithinTime','Let\x20variable\x20name\x20\x22','getDirtyNameMap','getFeatureFormulaDependency','clearFeatureFormulaDependency','addFormulaDependencyByDefinedName','FormulaDependencyTree','getOtherFormulaDependency','size','removeFeatureFormulaDependency','addOtherFormulaDependency','has','from','markedAsStopFunctionsExecuted','removeFormulaDependencyByDefinedName','_checkIsCycleDependency','isDirty','_astTreeBuilder','toRTreeItem','column','430018gVFZaU','bulkSearch','SUFFIX_TOKEN_SET','error','_startFormulaDependencyTreeModel','_getTreeNode','setAdded','4898896TStPWs','valid','_hasNewExcelFunction','matchToken','_dependencyRTreeCacheForAddressFunction','_addAllTreeMap','join','_getFirstCellOfRange','rangeList','_endFormulaDependencyTreeModel','_initLicenseValid','generateRandomDependencyTreeId','generate','_handleNewFunctionChild','CURRENTLY_CALCULATING_ARRAY_FORMULA','START_CALCULATION_ARRAY_FORMULA','_lexer','trim','isExcludeRange','_runtimeService','_checkAddBracketForMinus','IDependencyManagerService','6889169wzMwwk','_executionInProgressListener$','DEFAULT_TOKEN_TYPE_ROOT','isStopExecution','isSkip','getValue','forEach','setCompletedArrayFormulasCount','_config','LexerTreeBuilder','refTree','_xlfn.','setRuntimeOtherData','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','DependencyManagerBaseService','_getUpdateTreeListAndMakeDependency','_otherFormulaDataMainData','type','getSheetFeatureLimit','default','call','_getAllTreeList','realDeleteValue','push','_dependencyRTreeCache','row','CalculateFormulaService','IDLE','_currentConfigService','UniverFormulaEnginePlugin','columnCount','isAdded','message','_removeAllTreeMap','_formulaDependencyTreeModel','_lambdaFunctionParameterSet','Lambda\x20parameter\x20name\x20\x22','startRow','return\x20','getClearDependencyTreeCache','addOtherFormulaDependencyMainData','_getDependencyTreeChildrenIds','setRuntimeFeatureRange','forValue','DependencyManagerService','_otherFormulaData','removeFormulaDependency','_clearFunctionString','hasOtherFormulaDataMainData','_generateTreeList','toStringTag','IFormulaDependencyGenerator','_executionCompleteListener$','_getTreeById','endRow','add','CURRENTLY_CALCULATING','_initializeGenerateTreeList','dirtyRanges','inRangeData','dependencySheetName','_getFeatureFormulaTree','clearOtherFormulaDependency','treeId','addFeatureFormulaDependency','next','_convertDirtyRangesToUnitRange','subUnitId','setFormulaExecuteStage','defineProperty','removeOtherFormulaDependency','getFormulaDependency','getNewFormulaWithPrefix','MINUS','isArray','_removeDependencyRTreeCache','ParentDependencyTree\x20object\x20is\x20null','_calculateRunList','values','_createVirtualFDtree','pop','setValue','generateAstNode','string','OTHER_FORMULA','_featureFormulaData','getDirtyData','treeBuilder','get','refOffsetY','setTotalArrayFormulasToCalculate','8420784YuEChN','keys','getDirtyRanges','FormulaDependencyTreeVirtual','clearArrayObjectCache','clear','prototype','FormulaDependencyGenerator','refOffsetX','_initializeWithOverride','FEATURE_FORMULA','prefixToken','node','getChildren','2189718RoIKCW','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','hasOwnProperty','_isCyclicUtilMap','DEFAULT_INTERVAL_COUNT','resetCalculationState','_registerOtherFormulas','_createFDtree','_otherFormulaManagerService','openKdTree','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','START_CALCULATION','_restDependencyTreeId','getToken','setTotalFormulasToCalculate','RTree','reset','isForceCalculate','setRuntimeData','delete','172720damUlO','bulkRemove','markedAsSuccessfullyExecuted','DEFAULT_TOKEN_TYPE_PARAMETER','ICalculateFormulaService','_apply','_formulaData','startColumn','_allTreeMap','_xlpm.','getRuntimeState','symbol','closeKdTree','FormulaExecuteStageType','set','isCache','DEFAULT_TOKEN_LET_FUNCTION_NAME','START_DEPENDENCY_ARRAY_FORMULA','_dependencyTreeCache','toUpperCase','execute','_interpreter'];_0x2696=function(){return _0x551460;};return _0x2696();}(function(_0x12038c,_0x5dc6ca){const _0x21d78d=_0x2356,_0x296865=_0x12038c();while(!![]){try{const _0x4c0cf8=-parseInt(_0x21d78d(0x176))/0x1+-parseInt(_0x21d78d(0x144))/0x2+parseInt(_0x21d78d(0x112))/0x3+parseInt(_0x21d78d(0x17d))/0x4+-parseInt(_0x21d78d(0x126))/0x5+-parseInt(_0x21d78d(0x104))/0x6+parseInt(_0x21d78d(0x193))/0x7;if(_0x4c0cf8===_0x5dc6ca)break;else _0x296865['push'](_0x296865['shift']());}catch(_0x44b643){_0x296865['push'](_0x296865['shift']());}}}(_0x2696,0xc1c36));var U=Object[_0x2dc47c(0x1d8)],V=(_0x3bdc30,_0x5e68c3,_0x25d01d)=>_0x5e68c3 in _0x3bdc30?U(_0x3bdc30,_0x5e68c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25d01d}):_0x3bdc30[_0x5e68c3]=_0x25d01d,F=(_0x168eae,_0x268e0b,_0x41c93d)=>V(_0x168eae,typeof _0x268e0b!=_0x2dc47c(0x131)?_0x268e0b+'':_0x268e0b,_0x41c93d);Object[_0x2dc47c(0x1d8)](exports,Symbol[_0x2dc47c(0x1c5)],{'value':'Module'});function _0x2356(_0x513ebc,_0x388fc5){_0x513ebc=_0x513ebc-0xfc;const _0x269617=_0x2696();let _0x235679=_0x269617[_0x513ebc];return _0x235679;}const v=require('@univerjs-pro/license'),b=require('@univerjs/core'),c=require('@univerjs/engine-formula'),P={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'},k='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}}';class B extends c[_0x2dc47c(0x10b)]{constructor(){const _0x5411e0=_0x2dc47c;super(...arguments),F(this,_0x5411e0(0x138),new Map());}[_0x2dc47c(0x153)](){const _0x38c266=_0x2dc47c;super[_0x38c266(0x153)](),this[_0x38c266(0x138)][_0x38c266(0x109)]();}async[_0x2dc47c(0x189)](){const _0x310003=_0x2dc47c;this['_updateRangeFlatten']();const _0x4394c8=this[_0x310003(0x1af)][_0x310003(0x161)](),_0x361e8a=this[_0x310003(0x11a)]['getOtherFormulaData'](),_0x13eacf=this[_0x310003(0x1af)][_0x310003(0x1ba)]();_0x13eacf!=null&&Object[_0x310003(0x105)](_0x13eacf)[_0x310003(0x199)](_0x98bbd3=>{const _0x14677c=_0x310003;_0x98bbd3!=null&&Object[_0x14677c(0x105)](_0x13eacf[_0x98bbd3])['forEach'](_0x4ee1a9=>{const _0x5e7503=_0x14677c;_0x4ee1a9!=null&&(this['_dependencyManagerService'][_0x5e7503(0x1d1)](_0x98bbd3,_0x4ee1a9),this['_dependencyManagerService'][_0x5e7503(0x166)](_0x98bbd3,_0x4ee1a9),this[_0x5e7503(0x151)]['clearFormulaDependency'](_0x98bbd3,_0x4ee1a9));});});const _0x3f6765=this[_0x310003(0x1af)][_0x310003(0x14e)]();await this[_0x310003(0x1c4)](_0x4394c8,_0x361e8a,_0x3f6765),this[_0x310003(0x151)][_0x310003(0x11b)]();const _0x41a5b4=this[_0x310003(0x1a2)](),_0x224c8a=this[_0x310003(0x1e0)](_0x41a5b4);return this[_0x310003(0x171)](_0x224c8a)&&this[_0x310003(0x190)]['enableCycleDependency'](),this[_0x310003(0x138)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x310003(0x109)](),this['_dependencyManagerService'][_0x310003(0x132)](),this[_0x310003(0x190)][_0x310003(0x108)](),Promise[_0x310003(0x15c)](_0x224c8a);}[_0x2dc47c(0x115)](_0x2216d9,_0x529bf3){const _0x298ffd=_0x2dc47c,_0xb3ab5e=[_0x2216d9];for(;_0xb3ab5e[_0x298ffd(0x15d)]>0x0;){const _0x29cf03=_0xb3ab5e[_0xb3ab5e[_0x298ffd(0x15d)]-0x1];if((_0x529bf3['get'](_0x29cf03)||0x0)===0x0){_0x529bf3[_0x298ffd(0x134)](_0x29cf03,0x1);const _0x1563bd=this[_0x298ffd(0x138)][_0x298ffd(0x101)](_0x29cf03);if(_0x1563bd==null){_0x529bf3[_0x298ffd(0x134)](_0x29cf03,0x2),_0xb3ab5e[_0x298ffd(0x1e3)]();continue;}const _0x12b985=this[_0x298ffd(0x151)][_0x298ffd(0x145)](_0x1563bd[_0x298ffd(0x174)]());for(const _0x41ee43 of _0x12b985){const _0x347833=_0x529bf3[_0x298ffd(0x101)](_0x41ee43)||0x0;if(_0x347833===0x1)return!0x0;_0x347833===0x0&&_0xb3ab5e[_0x298ffd(0x1aa)](_0x41ee43);}}else _0x529bf3[_0x298ffd(0x134)](_0x29cf03,0x2),_0xb3ab5e[_0x298ffd(0x1e3)]();}return!0x1;}[_0x2dc47c(0x171)](_0x5cd60b){const _0xc70ef1=_0x2dc47c,_0x5c871b=new Map();for(const _0x40dd80 of _0x5cd60b)if(!_0x5c871b[_0xc70ef1(0x16d)](_0x40dd80[_0xc70ef1(0x1d2)])&&this[_0xc70ef1(0x115)](_0x40dd80[_0xc70ef1(0x1d2)],_0x5c871b))return!0x0;return _0x5c871b[_0xc70ef1(0x109)](),!0x1;}[_0x2dc47c(0x1d0)](_0x49b204,_0x87c4dd,_0x1de8e2){const _0x30e79d=_0x2dc47c,{unitId:_0x549633,subUnitId:_0x2e894b,dependencyRanges:_0x22a254,getDirtyData:_0x24700b}=_0x1de8e2,_0x20fe54=_0x87c4dd||c[_0x30e79d(0x188)](this[_0x30e79d(0x151)]),_0x12c046=new c[(_0x30e79d(0x168))](_0x20fe54);_0x12c046[_0x30e79d(0x14c)]=_0x549633,_0x12c046[_0x30e79d(0x1d6)]=_0x2e894b,_0x12c046['rangeList']=_0x22a254,_0x12c046['getDirtyData']=_0x24700b;const _0x1303b7=_0x24700b(this[_0x30e79d(0x1af)][_0x30e79d(0xff)](),this[_0x30e79d(0x190)][_0x30e79d(0x14a)]()),_0x5d5187=this[_0x30e79d(0x1d5)](_0x1303b7[_0x30e79d(0x1cd)]);return _0x12c046['featureDirtyRanges']=_0x5d5187,_0x12c046['featureId']=_0x49b204,_0x12c046[_0x30e79d(0x1a4)]=c[_0x30e79d(0x141)][_0x30e79d(0x10e)],this[_0x30e79d(0x151)][_0x30e79d(0x1d3)](_0x549633,_0x2e894b,_0x49b204,_0x12c046),this[_0x30e79d(0x138)][_0x30e79d(0x134)](_0x12c046['treeId'],_0x12c046),this['_dependencyManagerService'][_0x30e79d(0x165)](_0x1de8e2[_0x30e79d(0x14c)],_0x1de8e2['subUnitId'],_0x49b204)&&(_0x12c046[_0x30e79d(0x135)]=!0x0),_0x12c046;}[_0x2dc47c(0x118)](_0x9d6493,_0x1b7750,_0x242880){const _0x235e17=_0x2dc47c;var _0x591768;for(const _0xc59973 of _0x1b7750){const _0x46d734=_0x9d6493[_0xc59973];if(_0x46d734==null)continue;const _0x4b712f=Object[_0x235e17(0x105)](_0x46d734);for(const _0x511cdf of _0x4b712f){const _0x34c1d8=_0x46d734[_0x511cdf];if(_0x34c1d8==null)continue;const _0x4907c4=Object[_0x235e17(0x105)](_0x34c1d8);for(const _0x14d04c of _0x4907c4){const _0x125605=this[_0x235e17(0x151)][_0x235e17(0x1c3)](_0x14d04c),_0x4a17d3=_0x34c1d8[_0x14d04c],{f:_0x1a5283,ranges:_0x4d6933}=_0x4a17d3;let _0x1cefa7=!0x1;_0x125605&&(_0x1cefa7=!0x0);const {firstRow:_0x5f504f,firstColumn:_0x4033e1}=this[_0x235e17(0x184)](_0x4d6933),_0x1faafc=this[_0x235e17(0x151)][_0x235e17(0x169)](_0xc59973,_0x511cdf,_0x14d04c),_0x1c6b26=(_0x591768=_0x1faafc==null?void 0x0:_0x1faafc['getValue'](0x0,0x0))!=null?_0x591768:c[_0x235e17(0x188)](this['_dependencyManagerService']),_0x27b8a2=new c[(_0x235e17(0x168))](_0x1c6b26);for(let _0x71cb42=0x0;_0x71cb42<_0x4d6933[_0x235e17(0x15d)];_0x71cb42++){const _0x18286d=_0x4d6933[_0x71cb42],{startRow:_0x4bd25e,startColumn:_0x3fcb63,endRow:_0x232078,endColumn:_0x3f605a}=_0x18286d;for(let _0x21b00b=_0x4bd25e;_0x21b00b<=_0x232078;_0x21b00b++)for(let _0x48b997=_0x3fcb63;_0x48b997<=_0x3f605a;_0x48b997++){const _0x154af0=_0x48b997-_0x4033e1,_0x2c6f01=_0x21b00b-_0x5f504f;if(_0x154af0===0x0&&_0x2c6f01===0x0){_0x27b8a2['formula']=_0x1a5283,_0x27b8a2[_0x235e17(0x14c)]=_0xc59973,_0x27b8a2[_0x235e17(0x1d6)]=_0x511cdf,_0x27b8a2['formulaId']=_0x14d04c,_0x27b8a2[_0x235e17(0x1a4)]=c['FormulaDependencyTreeType'][_0x235e17(0xfd)],_0x27b8a2['isCache']=_0x1cefa7,_0x242880['push'](_0x27b8a2),this[_0x235e17(0x138)][_0x235e17(0x134)](_0x27b8a2[_0x235e17(0x1d2)],_0x27b8a2),this[_0x235e17(0x151)][_0x235e17(0x16c)](_0xc59973,_0x511cdf,_0x14d04c,_0x27b8a2),this['_dependencyManagerService'][_0x235e17(0x167)](_0x27b8a2);continue;}const _0x1b124a=new c[(_0x235e17(0x107))]();_0x1b124a[_0x235e17(0x1d2)]=(_0x1faafc==null?void 0x0:_0x1faafc['getValue'](_0x154af0,_0x2c6f01))||c[_0x235e17(0x188)](this[_0x235e17(0x151)]),_0x1b124a[_0x235e17(0x19d)]=_0x27b8a2,_0x1b124a['refOffsetX']=_0x154af0,_0x1b124a[_0x235e17(0x102)]=_0x2c6f01,_0x1b124a[_0x235e17(0x135)]=_0x1cefa7,this[_0x235e17(0x151)][_0x235e17(0x16c)](_0xc59973,_0x511cdf,_0x14d04c,_0x1b124a),this[_0x235e17(0x151)][_0x235e17(0x167)](_0x1b124a),_0x242880['push'](_0x1b124a),this[_0x235e17(0x138)]['set'](_0x1b124a[_0x235e17(0x1d2)],_0x1b124a);}}this[_0x235e17(0x151)][_0x235e17(0x1bb)](_0x14d04c);}}}}[_0x2dc47c(0x142)](_0x1d8e24,_0x2d64d6,_0x2cafc6,_0xdd5bd8){const _0x5306ba=_0x2dc47c;for(const _0x1c9d32 of _0x1d8e24){const _0x170d23=_0x2d64d6[_0x1c9d32];if(_0x170d23==null)continue;const _0x4fa698=Object[_0x5306ba(0x105)](_0x170d23);for(const _0x2d3e20 of _0x4fa698){const _0x391b47=new b[(_0x5306ba(0x147))](_0x170d23[_0x2d3e20]||{}),_0xd33a4=new Map();_0x391b47[_0x5306ba(0x1be)]((_0x531957,_0x36d37d,_0xe601b9)=>{const _0xede664=_0x5306ba;if(_0xe601b9==null)return!0x0;const {x:_0x222106=0x0,y:_0x381576=0x0,si:_0x24653d}=_0xe601b9;if(!(_0x222106===0x0&&_0x381576===0x0&&_0x24653d!=null))return!0x0;const _0xa13d0f=this['_createFDtree'](_0x1c9d32,_0x2d3e20,_0x531957,_0x36d37d,_0x2cafc6,_0xe601b9),_0x148227=this[_0xede664(0x151)]['getFormulaDependency'](_0x1c9d32,_0x2d3e20,_0x531957,_0x36d37d);_0x148227!=null?_0xa13d0f[_0xede664(0x1d2)]=_0x148227:(this[_0xede664(0x151)][_0xede664(0x156)](_0x1c9d32,_0x2d3e20,_0x531957,_0x36d37d,_0xa13d0f),this[_0xede664(0x151)][_0xede664(0x167)](_0xa13d0f)),_0xd33a4[_0xede664(0x134)](_0x24653d,_0xa13d0f),_0xdd5bd8[_0xede664(0x1aa)](_0xa13d0f),this[_0xede664(0x138)][_0xede664(0x134)](_0xa13d0f[_0xede664(0x1d2)],_0xa13d0f);}),_0x391b47[_0x5306ba(0x1be)]((_0x365e7c,_0x42551f,_0x394f82)=>{const _0x56fa62=_0x5306ba;if(_0x394f82==null)return!0x0;const {x:_0x2a9a8a=0x0,y:_0x41dc8e=0x0,si:_0x27f0b2}=_0x394f82;if(_0x2a9a8a===0x0&&_0x41dc8e===0x0&&_0x27f0b2!=null)return!0x0;let _0x2e9747;if(_0x27f0b2&&_0xd33a4[_0x56fa62(0x16d)](_0x27f0b2)){const _0x2ba484=_0xd33a4[_0x56fa62(0x101)](_0x27f0b2);_0x2e9747=this[_0x56fa62(0x1e2)](_0x2ba484,_0x394f82);}else _0x2e9747=this[_0x56fa62(0x119)](_0x1c9d32,_0x2d3e20,_0x365e7c,_0x42551f,_0x2cafc6,_0x394f82);const _0x2da816=this[_0x56fa62(0x151)][_0x56fa62(0x1da)](_0x1c9d32,_0x2d3e20,_0x365e7c,_0x42551f);_0x2da816!=null?_0x2e9747[_0x56fa62(0x1d2)]=_0x2da816:(this[_0x56fa62(0x151)]['addFormulaDependency'](_0x1c9d32,_0x2d3e20,_0x365e7c,_0x42551f,_0x2e9747),this[_0x56fa62(0x151)][_0x56fa62(0x167)](_0x2e9747)),_0xdd5bd8[_0x56fa62(0x1aa)](_0x2e9747),this['_dependencyTreeCache']['set'](_0x2e9747[_0x56fa62(0x1d2)],_0x2e9747);}),_0xd33a4[_0x5306ba(0x109)]();}}}[_0x2dc47c(0x119)](_0xb343d7,_0x4e036c,_0x39cefb,_0x29d2ff,_0x5cba27,_0x33d89b){const _0x574b2f=_0x2dc47c,{f:_0xb4c64e,x:_0x3ddfb0=0x0,y:_0x254ffb=0x0}=_0x33d89b,_0x2e9198=new c[(_0x574b2f(0x168))](c[_0x574b2f(0x188)](this[_0x574b2f(0x151)])),_0x5bf77f=_0x5cba27[_0xb343d7][_0x4e036c];return _0x2e9198[_0x574b2f(0x149)]=_0xb4c64e,_0x2e9198['unitId']=_0xb343d7,_0x2e9198['subUnitId']=_0x4e036c,_0x2e9198[_0x574b2f(0x1ac)]=_0x39cefb,_0x2e9198[_0x574b2f(0x175)]=_0x29d2ff,_0x2e9198[_0x574b2f(0x15a)]=_0x5bf77f[_0x574b2f(0x15a)],_0x2e9198[_0x574b2f(0x1b1)]=_0x5bf77f[_0x574b2f(0x1b1)],_0x2e9198;}['_getUpdateTreeListAndMakeDependency'](){const _0x344dc0=_0x2dc47c,_0x54ee11=[],_0x49fd4b=new Set(),_0x3bc26e=this['_currentConfigService'][_0x344dc0(0x123)](),_0x55794f=this[_0x344dc0(0x1af)][_0x344dc0(0x106)](),_0x4985b8=this['_dependencyManagerService'][_0x344dc0(0x145)](_0x55794f),_0x123a79=this[_0x344dc0(0x181)][_0x344dc0(0x177)](_0x55794f);for(const _0x3b2d32 of _0x123a79)_0x4985b8[_0x344dc0(0x1ca)](_0x3b2d32);for(const [_0x605722,_0x3b4a35]of this[_0x344dc0(0x138)])(_0x3bc26e||_0x3b4a35[_0x344dc0(0x172)]||_0x3b4a35[_0x344dc0(0x1cf)](this['_currentConfigService'][_0x344dc0(0x164)]())||_0x4985b8[_0x344dc0(0x16d)](_0x605722)&&!_0x3b4a35[_0x344dc0(0x18f)](this[_0x344dc0(0x1af)]['getExcludedRange']()))&&!_0x49fd4b['has'](_0x605722)&&(_0x54ee11[_0x344dc0(0x1aa)](_0x3b4a35),_0x49fd4b[_0x344dc0(0x1ca)](_0x605722));for(const [_0x5f0faa,_0x78f9c0]of this['_dependencyTreeCache'])_0x78f9c0['isVirtual']||(_0x78f9c0[_0x344dc0(0x185)][_0x344dc0(0x15d)]=0x0);return _0x54ee11;}[_0x2dc47c(0x1c8)](_0x1fe54e){const _0x4d0291=_0x2dc47c;return this[_0x4d0291(0x138)][_0x4d0291(0x101)](_0x1fe54e);}[_0x2dc47c(0x17b)](_0x3afd55){const _0x5576d5=_0x2dc47c;return c[_0x5576d5(0x1e5)](_0x3afd55[_0x5576d5(0x14c)],_0x3afd55['formula'],this['_lexer'],this[_0x5576d5(0x173)],this[_0x5576d5(0x1af)]);}*[_0x2dc47c(0x15e)](_0xd454cb,_0x5cdad1){const _0x26466d=_0x2dc47c,_0x5b84f0=_0xd454cb,_0x44fcc3=new Set();for(;_0x5b84f0[_0x26466d(0x15d)]>0x0;){const _0xe333f9=_0x5b84f0[_0x26466d(0x1e3)]();if(_0x44fcc3['clear'](),_0xe333f9===void 0x0||_0xe333f9['isSkip']())continue;if(_0xe333f9[_0x26466d(0x1b2)]()){yield _0xe333f9,_0xe333f9['setSkip'](),_0x5cdad1[_0x26466d(0x1ca)](_0xe333f9[_0x26466d(0x1d2)]);continue;}const _0x129bc5=this[_0x26466d(0x151)][_0x26466d(0x145)](_0xe333f9[_0x26466d(0x174)](),_0x5cdad1),_0x2b611c=this[_0x26466d(0x181)]['bulkSearch'](_0xe333f9[_0x26466d(0x174)](),_0x5cdad1);for(const _0x3de334 of _0x2b611c)_0x129bc5[_0x26466d(0x1ca)](_0x3de334);for(const _0x517c00 of _0x129bc5){const _0x206ac1=this[_0x26466d(0x138)]['get'](_0x517c00);if(!_0x206ac1)throw new Error(_0x26466d(0x1df));_0x206ac1[_0x26466d(0x1b2)]()||_0xe333f9[_0x26466d(0x197)]()||_0x44fcc3['add'](_0x206ac1);}if(_0x129bc5[_0x26466d(0x109)](),_0x44fcc3[_0x26466d(0x16a)]===0x0)yield _0xe333f9,_0xe333f9[_0x26466d(0x146)](),_0x5cdad1[_0x26466d(0x1ca)](_0xe333f9[_0x26466d(0x1d2)]);else{_0xe333f9[_0x26466d(0x17c)](),_0x5b84f0['push'](_0xe333f9);for(const _0xe7f395 of _0x44fcc3)_0x5b84f0[_0x26466d(0x1aa)](_0xe7f395);}}_0x5b84f0[_0x26466d(0x15d)]=0x0,_0x44fcc3['clear']();}[_0x2dc47c(0x1e0)](_0xd16241){const _0x1c230b=_0x2dc47c,_0x8e4330=[],_0x41b5ac=new Set();for(const _0x25ac5e of this[_0x1c230b(0x15e)](_0xd16241,_0x41b5ac))_0x8e4330[_0x1c230b(0x1aa)](_0x25ac5e);return _0x8e4330;}async[_0x2dc47c(0x1a8)](){const _0x271c45=_0x2dc47c;return await this[_0x271c45(0x1cc)](),Array[_0x271c45(0x16e)](this['_dependencyTreeCache'][_0x271c45(0x1e1)]());}['_getDependencyTreeParenIds'](_0x335e59){const _0x3f5f3e=_0x2dc47c;return this[_0x3f5f3e(0x151)][_0x3f5f3e(0x145)](_0x335e59[_0x3f5f3e(0x174)]());}[_0x2dc47c(0x1bc)](_0x2ec5ac){const _0x92d0b=_0x2dc47c,_0x51c1e2=new Set(),_0x11eec3=_0x2ec5ac['rangeList'];for(const [_0x199dc2,_0x47eaae]of this[_0x92d0b(0x138)])for(const _0x483977 of _0x11eec3){const _0x254265=_0x483977[_0x92d0b(0x14c)],_0x21d0ed=_0x483977[_0x92d0b(0x13e)];if(_0x47eaae['unitId']!==_0x254265||_0x47eaae[_0x92d0b(0x1d6)]!==_0x21d0ed)continue;const _0x22a9a6=_0x483977[_0x92d0b(0x157)];if(_0x47eaae[_0x92d0b(0x1ce)](_0x22a9a6)){_0x51c1e2[_0x92d0b(0x1ca)](_0x199dc2);break;}}return _0x51c1e2;}[_0x2dc47c(0x17a)](){const _0x7c0a59=_0x2dc47c;this[_0x7c0a59(0x151)][_0x7c0a59(0x11b)]();}[_0x2dc47c(0x186)](){const _0x3acfb6=_0x2dc47c;this[_0x3acfb6(0x1b5)][_0x3acfb6(0x109)](),this['_dependencyTreeCache'][_0x3acfb6(0x109)](),this[_0x3acfb6(0x151)][_0x3acfb6(0x132)]();}}class K extends c[_0x2dc47c(0x19c)]{constructor(){const _0x4dc72c=_0x2dc47c;super(...arguments),F(this,_0x4dc72c(0x17f),!0x1),F(this,_0x4dc72c(0x1b6),new Set());}[_0x2dc47c(0x1db)](_0x1a7f2d,_0x45641e){const _0x412770=_0x2dc47c,_0x411d47=this[_0x412770(0x100)](_0x1a7f2d,!0x1);if(!_0x411d47||_0x411d47===c[_0x412770(0x15f)]['VALUE']||Array[_0x412770(0x1dd)](_0x411d47))return null;const _0x5b0b65=[];return this[_0x412770(0x17f)]=!0x1,this['_generateNewFunctionString'](_0x411d47,_0x5b0b65,_0x45641e),this['_hasNewExcelFunction']?'='+_0x5b0b65[_0x412770(0x183)](''):null;}['_generateNewFunctionString'](_0x8a9e4b,_0x4994b8,_0x1f5c22){const _0x268f6c=_0x2dc47c,_0x5b89c2=_0x8a9e4b[_0x268f6c(0x11f)](),_0x368e89=_0x5b89c2[_0x268f6c(0x18e)](),_0x31f687=_0x368e89[_0x268f6c(0x139)](),_0x2272bc=this[_0x268f6c(0x1c2)](_0x31f687),_0x2d745f=_0x1f5c22(_0x2272bc);let _0x53b212=0x0;_0x5b89c2===c[_0x268f6c(0x195)]?_0x53b212=0x3:_0x5b89c2===c[_0x268f6c(0x129)]?_0x53b212=0x4:_0x5b89c2===c[_0x268f6c(0x113)]?_0x53b212=0x5:c['NEW_EXCEL_FUNCTIONS'][_0x268f6c(0x16d)](_0x2272bc)?(_0x4994b8[_0x268f6c(0x1aa)](_0x268f6c(0x19e)+_0x368e89),this[_0x268f6c(0x17f)]=!0x0):_0x31f687===c[_0x268f6c(0x1a0)]?(_0x4994b8[_0x268f6c(0x1aa)](_0x268f6c(0x19e)+_0x368e89),this['_hasNewExcelFunction']=!0x0,_0x53b212=0x2):_0x31f687===c[_0x268f6c(0x136)]?(_0x4994b8[_0x268f6c(0x1aa)](_0x268f6c(0x19e)+_0x368e89),this[_0x268f6c(0x17f)]=!0x0,_0x53b212=0x1):_0x31f687===c[_0x268f6c(0x180)]['COLON']?_0x53b212=0x8:c[_0x268f6c(0x178)][_0x268f6c(0x16d)](_0x31f687)?_0x53b212=0x7:_0x31f687===c[_0x268f6c(0x10f)]['MINUS']?(this[_0x268f6c(0x191)](_0x8a9e4b)&&(_0x53b212=0x9),_0x4994b8[_0x268f6c(0x1aa)](_0x5b89c2)):(_0x4994b8['push'](_0x5b89c2),_0x53b212=0xa),_0x2d745f?(_0x53b212!==0x2&&_0x53b212!==0x1&&(_0x53b212=0x6),_0x4994b8[_0x268f6c(0x1aa)]('(')):_0x53b212===0x9&&_0x4994b8['push']('(');const _0x516a51=_0x8a9e4b[_0x268f6c(0x111)](),_0x97f180=_0x516a51[_0x268f6c(0x15d)];if(_0x53b212===0x2){const _0x3d03eb=_0x516a51[0x0];let _0x4450cd=0x0;_0x3d03eb instanceof c[_0x268f6c(0x148)]&&_0x3d03eb[_0x268f6c(0x11f)]()===c[_0x268f6c(0x113)]&&(_0x4450cd=0x1);for(let _0x3def15=_0x4450cd;_0x3def15<_0x97f180-0x1;_0x3def15++){const _0x182b96=_0x516a51[_0x3def15];if(_0x182b96 instanceof c[_0x268f6c(0x148)]){const _0x1acc8a=_0x182b96[_0x268f6c(0x111)]()[0x0];typeof _0x1acc8a==_0x268f6c(0xfc)&&(this[_0x268f6c(0x1b6)]['has'](_0x1acc8a)&&console[_0x268f6c(0x179)](_0x268f6c(0x1b7)+_0x1acc8a+_0x268f6c(0x13f)),this[_0x268f6c(0x1b6)][_0x268f6c(0x1ca)](_0x1acc8a),_0x4994b8[_0x268f6c(0x1aa)]('_xlpm.'+_0x1acc8a),this[_0x268f6c(0x17f)]=!0x0);}_0x4994b8[_0x268f6c(0x1aa)](',');}this[_0x268f6c(0x18a)](_0x516a51[_0x97f180-0x1],_0x4994b8,_0x1f5c22),_0x4450cd===0x1&&(_0x4994b8['push'](')'),_0x4994b8[_0x268f6c(0x1aa)]('('),this[_0x268f6c(0x15b)](_0x3d03eb,_0x4994b8,_0x1f5c22)),_0x4994b8['push'](')');return;}else{if(_0x53b212===0x1){for(let _0x3c13df=0x0;_0x3c13df<_0x97f180-0x1;_0x3c13df++){const _0x45f08b=_0x516a51[_0x3c13df];if(_0x45f08b instanceof c[_0x268f6c(0x148)]&&_0x3c13df%0x2===0x0){const _0x5a176e=_0x45f08b[_0x268f6c(0x111)]()[0x0];if(typeof _0x5a176e==_0x268f6c(0xfc)){this[_0x268f6c(0x1b6)][_0x268f6c(0x16d)](_0x5a176e)&&console['error'](_0x268f6c(0x163)+_0x5a176e+'\x22\x20is\x20duplicated.'),this[_0x268f6c(0x1b6)][_0x268f6c(0x1ca)](_0x5a176e),_0x4994b8[_0x268f6c(0x1aa)](_0x268f6c(0x12f)+_0x5a176e),this[_0x268f6c(0x17f)]=!0x0,_0x4994b8[_0x268f6c(0x1aa)](',');continue;}}if(this[_0x268f6c(0x18a)](_0x45f08b,_0x4994b8,_0x1f5c22),_0x45f08b instanceof c[_0x268f6c(0x148)]){const _0x201ead=_0x516a51[_0x3c13df+0x1];_0x201ead&&_0x201ead instanceof c['LexerNode']&&_0x4994b8[_0x268f6c(0x1aa)](',');}}this[_0x268f6c(0x18a)](_0x516a51[_0x97f180-0x1],_0x4994b8,_0x1f5c22),_0x4994b8[_0x268f6c(0x1aa)](')');return;}else{if(_0x53b212===0x8){const _0x45b6e5=_0x516a51[0x0],_0x459309=_0x516a51[0x1];this['_handleNewFunctionChild'](_0x45b6e5,_0x4994b8,_0x1f5c22),_0x4994b8[_0x268f6c(0x1aa)](_0x5b89c2),this[_0x268f6c(0x18a)](_0x459309,_0x4994b8,_0x1f5c22);return;}}}for(let _0x165dcf=0x0;_0x165dcf<_0x97f180;_0x165dcf++){const _0x40bc8b=_0x516a51[_0x165dcf];if(this[_0x268f6c(0x18a)](_0x40bc8b,_0x4994b8,_0x1f5c22),_0x40bc8b instanceof c['LexerNode']){const _0x1ac8e7=_0x516a51[_0x165dcf+0x1];_0x1ac8e7&&_0x1ac8e7 instanceof c[_0x268f6c(0x148)]&&_0x4994b8[_0x268f6c(0x1aa)](',');}}_0x53b212===0x7&&_0x4994b8['push'](_0x5b89c2),(_0x2d745f||_0x53b212===0x9)&&_0x4994b8[_0x268f6c(0x1aa)](')');}['_handleNewFunctionChild'](_0x5ecade,_0x2174df,_0x4f9642){const _0x55bafc=_0x2dc47c;_0x5ecade instanceof c['LexerNode']?this[_0x55bafc(0x15b)](_0x5ecade,_0x2174df,_0x4f9642):this['_lambdaFunctionParameterSet'][_0x55bafc(0x16d)](_0x5ecade)?(_0x2174df[_0x55bafc(0x1aa)](_0x55bafc(0x12f)+_0x5ecade),this[_0x55bafc(0x17f)]=!0x0):_0x2174df['push'](_0x5ecade);}[_0x2dc47c(0x1c2)](_0x54994d){const _0xafbeaf=_0x2dc47c;let _0x11e868=_0x54994d[_0xafbeaf(0x18e)]();if(!_0x11e868)return _0x11e868;const _0x5f2ebd=_0x11e868[0x0];if((_0x5f2ebd===c[_0xafbeaf(0x10f)]['AT']||_0x5f2ebd===c['prefixToken'][_0xafbeaf(0x1dc)]||_0x5f2ebd===c[_0xafbeaf(0x10f)]['PLUS'])&&(_0x11e868=_0x11e868[_0xafbeaf(0x158)](0x1)),!_0x11e868)return _0x11e868;const _0x33a08b=_0x11e868[_0x11e868[_0xafbeaf(0x15d)]-0x1];return c[_0xafbeaf(0x178)][_0xafbeaf(0x16d)](_0x33a08b)&&(_0x11e868=_0x11e868[_0xafbeaf(0x158)](0x0,-0x1)),_0x11e868;}[_0x2dc47c(0x191)](_0x459829){const _0x11cb6b=_0x2dc47c,_0x3d1f3e=_0x459829[_0x11cb6b(0x111)]()[0x0];if(!_0x3d1f3e||!(_0x3d1f3e instanceof c[_0x11cb6b(0x148)])||_0x459829[_0x11cb6b(0x111)]()[_0x11cb6b(0x15d)]>0x1)return!0x1;const _0xb1422b=_0x3d1f3e[_0x11cb6b(0x111)](),_0x441e79=_0xb1422b[_0x11cb6b(0x15d)];if(_0x441e79===0x1)return!0x1;for(let _0xf1c92a=0x0;_0xf1c92a<_0x441e79;_0xf1c92a++){const _0x5ef4e6=_0xb1422b[_0xf1c92a];if(!(_0x5ef4e6 instanceof c[_0x11cb6b(0x148)])&&c['OPERATOR_TOKEN_SET'][_0x11cb6b(0x16d)](_0x5ef4e6))return!0x0;}return!0x1;}}class j extends c['CalculateFormulaService']{async[_0x2dc47c(0x12b)](_0x4f3429=!0x1){const _0x198a2b=_0x2dc47c;_0x4f3429?this[_0x198a2b(0x190)][_0x198a2b(0x1d7)](c[_0x198a2b(0x133)][_0x198a2b(0x137)]):this['_runtimeService'][_0x198a2b(0x1d7)](c[_0x198a2b(0x133)][_0x198a2b(0x155)]),this[_0x198a2b(0x194)][_0x198a2b(0x1d4)](this['_runtimeService'][_0x198a2b(0x130)]());const _0x574bca=await this[_0x198a2b(0x160)]['generate'](),_0x11f8b1=this[_0x198a2b(0x13b)];_0x4f3429?(this[_0x198a2b(0x190)][_0x198a2b(0x1d7)](c['FormulaExecuteStageType'][_0x198a2b(0x18c)]),this[_0x198a2b(0x190)][_0x198a2b(0x103)](_0x574bca[_0x198a2b(0x15d)])):(this[_0x198a2b(0x190)][_0x198a2b(0x1d7)](c['FormulaExecuteStageType'][_0x198a2b(0x11d)]),this[_0x198a2b(0x190)][_0x198a2b(0x120)](_0x574bca[_0x198a2b(0x15d)])),this['_executionInProgressListener$']['next'](this[_0x198a2b(0x190)][_0x198a2b(0x130)]());let _0x1e8a1a=[];const _0x5bbb68=this['_configService'][_0x198a2b(0x159)](c[_0x198a2b(0x11c)]),_0x261ec5=(_0x5bbb68==null?void 0x0:_0x5bbb68['intervalCount'])||c[_0x198a2b(0x116)];let _0x31d997=0x0;const _0x37287f=_0x574bca[_0x198a2b(0x15d)];for(;_0x574bca[_0x198a2b(0x15d)]>0x0;){const _0x531f9d=_0x574bca[_0x198a2b(0x1e3)](),_0x5b2db7=c[_0x198a2b(0x1e5)](_0x531f9d[_0x198a2b(0x14c)],_0x531f9d[_0x198a2b(0x149)],this[_0x198a2b(0x18d)],this[_0x198a2b(0x173)],this[_0x198a2b(0x1af)]),_0x4a2ea8={'node':_0x5b2db7,'refOffsetX':_0x531f9d[_0x198a2b(0x10c)],'refOffsetY':_0x531f9d['refOffsetY']},_0xbad5bd=_0x531f9d[_0x198a2b(0xff)];if(_0x31d997%_0x261ec5===0x0&&(await new Promise(_0x374273=>{const _0x5f051f=_0x198a2b,_0x2294e9=b['requestImmediateMacroTask'](_0x374273);_0x1e8a1a[_0x5f051f(0x1aa)](_0x2294e9);}),_0x4f3429?(this[_0x198a2b(0x190)][_0x198a2b(0x1d7)](c[_0x198a2b(0x133)][_0x198a2b(0x18b)]),this[_0x198a2b(0x190)][_0x198a2b(0x19a)](_0x31d997+0x1)):(this[_0x198a2b(0x190)][_0x198a2b(0x1d7)](c['FormulaExecuteStageType'][_0x198a2b(0x1cb)]),this['_runtimeService']['setCompletedFormulasCount'](_0x31d997+0x1)),this['_executionInProgressListener$'][_0x198a2b(0x1d4)](this[_0x198a2b(0x190)]['getRuntimeState']()),this[_0x198a2b(0x190)][_0x198a2b(0x196)]()||_0x4a2ea8==null&&_0xbad5bd==null)){this['_runtimeService']['setFormulaExecuteStage'](c['FormulaExecuteStageType'][_0x198a2b(0x1ae)]),this['_runtimeService'][_0x198a2b(0x16f)](),this[_0x198a2b(0x1c7)][_0x198a2b(0x1d4)](this[_0x198a2b(0x190)]['getAllRuntimeData']());return;}this[_0x198a2b(0x190)][_0x198a2b(0x14b)](_0x531f9d[_0x198a2b(0x1ac)],_0x531f9d['column'],_0x531f9d['rowCount'],_0x531f9d[_0x198a2b(0x1b1)],_0x531f9d['subUnitId'],_0x531f9d[_0x198a2b(0x14c)]);let _0x25d2db;if(_0xbad5bd!=null&&_0x531f9d['featureId']!=null){const {runtimeCellData:_0x39d80c,dirtyRanges:_0x1d406c}=_0xbad5bd(this[_0x198a2b(0x1af)]['getDirtyData'](),this[_0x198a2b(0x190)][_0x198a2b(0x14a)]());this[_0x198a2b(0x190)]['setRuntimeFeatureCellData'](_0x531f9d['featureId'],_0x39d80c),this[_0x198a2b(0x190)][_0x198a2b(0x1bd)](_0x531f9d['featureId'],_0x1d406c);}else _0x4a2ea8!=null&&(_0x11f8b1['checkAsyncNode'](_0x4a2ea8[_0x198a2b(0x110)])?_0x25d2db=await _0x11f8b1['executeAsync'](_0x4a2ea8):_0x25d2db=_0x11f8b1[_0x198a2b(0x13a)](_0x4a2ea8),_0x531f9d['formulaId']!=null?this['_runtimeService'][_0x198a2b(0x19f)](_0x531f9d['formulaId'],_0x531f9d[_0x198a2b(0x10c)],_0x531f9d[_0x198a2b(0x102)],_0x25d2db):this[_0x198a2b(0x190)][_0x198a2b(0x124)](_0x25d2db));_0x5b2db7[_0x198a2b(0x117)](),_0x31d997++;}return _0x1e8a1a[_0x198a2b(0x199)](_0x569864=>_0x569864()),_0x1e8a1a=[],_0x37287f>0x0?this['_runtimeService'][_0x198a2b(0x128)]():_0x4f3429||this[_0x198a2b(0x190)][_0x198a2b(0x14d)](),this['_runtimeService']['getAllRuntimeData']();}}class Y extends c[_0x2dc47c(0x1a1)]{constructor(){const _0x56d347=_0x2dc47c;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x56d347(0x1ab),new b[(_0x56d347(0x121))](!0x0));}[_0x2dc47c(0x122)](){const _0x5816e9=_0x2dc47c;this[_0x5816e9(0x1c0)]['clear'](),this[_0x5816e9(0xfe)][_0x5816e9(0x109)](),this[_0x5816e9(0x12c)][_0x5816e9(0x109)](),this[_0x5816e9(0x1ab)]['clear'](),this[_0x5816e9(0x12e)][_0x5816e9(0x109)](),this[_0x5816e9(0x11e)](),this[_0x5816e9(0x1a3)]['clear']();}['addOtherFormulaDependency'](_0x226026,_0x3ae040,_0x1254d6,_0x54635d){const _0xa0f76a=_0x2dc47c;this['_otherFormulaData'][_0xa0f76a(0x16d)](_0x226026)||this[_0xa0f76a(0x1c0)]['set'](_0x226026,new Map());const _0x22ae3a=this[_0xa0f76a(0x1c0)][_0xa0f76a(0x101)](_0x226026);_0x22ae3a[_0xa0f76a(0x16d)](_0x3ae040)||_0x22ae3a[_0xa0f76a(0x134)](_0x3ae040,new Map());const _0x4f56d7=_0x22ae3a[_0xa0f76a(0x101)](_0x3ae040);_0x4f56d7[_0xa0f76a(0x16d)](_0x1254d6)||_0x4f56d7[_0xa0f76a(0x134)](_0x1254d6,new b[(_0xa0f76a(0x147))]()),_0x4f56d7[_0xa0f76a(0x101)](_0x1254d6)[_0xa0f76a(0x1e4)](_0x54635d[_0xa0f76a(0x10c)],_0x54635d[_0xa0f76a(0x102)],_0x54635d[_0xa0f76a(0x1d2)]);}[_0x2dc47c(0x1d9)](_0x11f54b,_0xf1c432,_0x51e768){const _0x23c9fb=_0x2dc47c,_0x387da7=this[_0x23c9fb(0x1c0)][_0x23c9fb(0x101)](_0x11f54b);if(_0x387da7&&_0x387da7[_0x23c9fb(0x16d)](_0xf1c432)){const _0x21e41c=_0x387da7[_0x23c9fb(0x101)](_0xf1c432);_0x51e768['forEach'](_0x4ea251=>{const _0x2b1f7f=_0x23c9fb,_0x33b2de=_0x21e41c[_0x2b1f7f(0x101)](_0x4ea251);_0x33b2de!=null&&(_0x33b2de['forValue']((_0x5be8f4,_0x2cd522,_0x4660f6)=>{const _0x415d27=_0x2b1f7f;this[_0x415d27(0x1de)](_0x4660f6),this[_0x415d27(0x1b4)](_0x4660f6);}),_0x21e41c[_0x2b1f7f(0x125)](_0x4ea251),this[_0x2b1f7f(0x1a3)][_0x2b1f7f(0x125)](_0x4ea251));}),_0x21e41c[_0x23c9fb(0x16a)]===0x0&&_0x387da7[_0x23c9fb(0x125)](_0xf1c432),_0x387da7[_0x23c9fb(0x16a)]===0x0&&this[_0x23c9fb(0x1c0)][_0x23c9fb(0x125)](_0x11f54b);}}[_0x2dc47c(0x1d1)](_0x2b7de3,_0x5d7fc1){const _0x4e62e8=_0x2dc47c,_0x1fced5=this[_0x4e62e8(0x1c0)][_0x4e62e8(0x101)](_0x2b7de3);if(_0x5d7fc1&&_0x1fced5&&_0x1fced5[_0x4e62e8(0x16d)](_0x5d7fc1)){const _0x5bb297=_0x1fced5['get'](_0x5d7fc1);this[_0x4e62e8(0x14f)](_0x2b7de3,_0x5d7fc1);for(const _0x4c3186 of _0x5bb297[_0x4e62e8(0x105)]()){const _0x584854=_0x5bb297[_0x4e62e8(0x101)](_0x4c3186);_0x584854!=null&&(_0x584854[_0x4e62e8(0x1be)]((_0x3dbd6f,_0x3a3965,_0x2bc835)=>{const _0x51628c=_0x4e62e8;this[_0x51628c(0x12e)][_0x51628c(0x101)](_0x2bc835)&&this[_0x51628c(0x1b4)](_0x2bc835);}),this['_otherFormulaDataMainData'][_0x4e62e8(0x125)](_0x4c3186));}_0x5bb297[_0x4e62e8(0x109)]();}else{if(_0x1fced5){for(const _0x5284a4 of _0x1fced5[_0x4e62e8(0x105)]()){const _0x53630b=_0x1fced5['get'](_0x5284a4);this[_0x4e62e8(0x14f)](_0x2b7de3,_0x5284a4);for(const _0x4c3876 of _0x53630b[_0x4e62e8(0x105)]()){const _0x2bb42c=_0x53630b['get'](_0x4c3876);_0x2bb42c!=null&&(_0x2bb42c[_0x4e62e8(0x1be)]((_0x2338b4,_0xb31f99,_0x3efa7e)=>{const _0x12ab89=_0x4e62e8;this[_0x12ab89(0x12e)][_0x12ab89(0x101)](_0x3efa7e)&&this[_0x12ab89(0x1b4)](_0x3efa7e);}),this[_0x4e62e8(0x1a3)]['delete'](_0x4c3876));}}this[_0x4e62e8(0x1c0)][_0x4e62e8(0x125)](_0x2b7de3);}}}['addFeatureFormulaDependency'](_0x5800e1,_0x1e455a,_0x543523,_0xe6dd16){const _0x59223d=_0x2dc47c;this['_featureFormulaData']['has'](_0x5800e1)||this['_featureFormulaData'][_0x59223d(0x134)](_0x5800e1,new Map());const _0x46aa2c=this[_0x59223d(0xfe)][_0x59223d(0x101)](_0x5800e1);_0x46aa2c[_0x59223d(0x16d)](_0x1e455a)||_0x46aa2c[_0x59223d(0x134)](_0x1e455a,new Map()),_0x46aa2c[_0x59223d(0x101)](_0x1e455a)[_0x59223d(0x134)](_0x543523,_0xe6dd16[_0x59223d(0x1d2)]);}[_0x2dc47c(0x16b)](_0x2fbea4,_0x592b23,_0x206d73){const _0x155a18=_0x2dc47c,_0xaec33a=this[_0x155a18(0xfe)][_0x155a18(0x101)](_0x2fbea4);if(_0xaec33a&&_0xaec33a['has'](_0x592b23)){const _0x193be8=_0xaec33a[_0x155a18(0x101)](_0x592b23);_0x206d73[_0x155a18(0x199)](_0x148689=>{const _0x298cfe=_0x155a18,_0x4863a1=_0x193be8[_0x298cfe(0x101)](_0x148689);_0x4863a1!=null&&(this[_0x298cfe(0x1de)](_0x4863a1),_0x193be8[_0x298cfe(0x125)](_0x148689),this[_0x298cfe(0x1b4)](_0x4863a1));});}}[_0x2dc47c(0x166)](_0x28ea03,_0x10a45c){const _0x1ecb7d=_0x2dc47c,_0x1515fb=this['_featureFormulaData'][_0x1ecb7d(0x101)](_0x28ea03);if(_0x10a45c&&_0x1515fb&&_0x1515fb[_0x1ecb7d(0x16d)](_0x10a45c)){const _0x2a3160=_0x1515fb[_0x1ecb7d(0x101)](_0x10a45c);this[_0x1ecb7d(0x14f)](_0x28ea03,_0x10a45c),_0x2a3160['forEach'](_0x4e15e9=>{const _0x2188f6=_0x1ecb7d;_0x4e15e9!=null&&this[_0x2188f6(0x1b4)](_0x4e15e9);}),_0x2a3160[_0x1ecb7d(0x109)]();}else _0x1515fb&&(_0x1515fb[_0x1ecb7d(0x199)]((_0x54e74e,_0x3a014e)=>{const _0x3caaa8=_0x1ecb7d;this['_removeDependencyRTreeCacheById'](_0x28ea03,_0x3a014e),_0x54e74e[_0x3caaa8(0x199)](_0x75e05b=>{const _0x7d182f=_0x3caaa8;_0x75e05b!=null&&this[_0x7d182f(0x1b4)](_0x75e05b);});}),this['_featureFormulaData']['delete'](_0x28ea03));}[_0x2dc47c(0x156)](_0xc15cc4,_0x264e64,_0x4ffd2a,_0x1317f3,_0x151033){const _0x2ba506=_0x2dc47c;this[_0x2ba506(0x12c)]['has'](_0xc15cc4)||this[_0x2ba506(0x12c)][_0x2ba506(0x134)](_0xc15cc4,new Map());const _0x115b2c=this[_0x2ba506(0x12c)][_0x2ba506(0x101)](_0xc15cc4);_0x115b2c[_0x2ba506(0x16d)](_0x264e64)||_0x115b2c[_0x2ba506(0x134)](_0x264e64,new b[(_0x2ba506(0x147))]()),_0x115b2c[_0x2ba506(0x101)](_0x264e64)[_0x2ba506(0x1e4)](_0x4ffd2a,_0x1317f3,_0x151033[_0x2ba506(0x1d2)]);}[_0x2dc47c(0x1c1)](_0x4bb00d,_0x19db87,_0x2a48fb,_0x1dde85){const _0x34233a=_0x2dc47c,_0x2ccaa6=this['_formulaData'][_0x34233a(0x101)](_0x4bb00d);if(_0x2ccaa6&&_0x2ccaa6[_0x34233a(0x16d)](_0x19db87)){const _0x591b7d=_0x2ccaa6['get'](_0x19db87),_0x54e74d=_0x591b7d[_0x34233a(0x198)](_0x2a48fb,_0x1dde85);if(_0x54e74d==null)return;this['_removeDependencyRTreeCache'](_0x54e74d),_0x591b7d[_0x34233a(0x1a9)](_0x2a48fb,_0x1dde85),this[_0x34233a(0x1b4)](_0x54e74d);}}['clearFormulaDependency'](_0x1438e3,_0x3b4cae){const _0x34a6d7=_0x2dc47c,_0x5ccebe=this[_0x34a6d7(0x12c)]['get'](_0x1438e3);if(_0x3b4cae&&_0x5ccebe&&_0x5ccebe[_0x34a6d7(0x16d)](_0x3b4cae)){const _0x4bb484=_0x5ccebe[_0x34a6d7(0x101)](_0x3b4cae);this['_removeDependencyRTreeCacheById'](_0x1438e3,_0x3b4cae),_0x4bb484['forValue']((_0x2cb010,_0x53fe5f,_0x4701dd)=>{const _0x1c241d=_0x34a6d7;if(_0x4701dd==null)return!0x0;this[_0x1c241d(0x1b4)](_0x4701dd);}),_0x4bb484['reset']();}else _0x5ccebe&&(_0x5ccebe['forEach']((_0x493599,_0x2c1e04)=>{const _0x33143f=_0x34a6d7;this['_removeDependencyRTreeCacheById'](_0x1438e3,_0x2c1e04),_0x493599[_0x33143f(0x1be)]((_0x360338,_0xc2c9e,_0x131e09)=>{const _0x578506=_0x33143f;if(_0x131e09==null)return!0x0;this[_0x578506(0x1b4)](_0x131e09);});}),this['_formulaData'][_0x34a6d7(0x125)](_0x1438e3));}[_0x2dc47c(0x1de)](_0x9e2523){const _0xf6676e=_0x2dc47c;if(_0x9e2523==null)return;const _0x1db581=this[_0xf6676e(0x12e)][_0xf6676e(0x101)](_0x9e2523);if(_0x1db581){const _0x4e1a7b=[];for(const [_0x58e4c7,_0x1776f8]of _0x1db581)for(const [_0x5d02e9,_0x4df70a]of _0x1776f8)_0x4e1a7b['push']({'unitId':_0x58e4c7,'sheetId':_0x5d02e9,'range':_0x4df70a,'id':_0x9e2523});this[_0xf6676e(0x1ab)][_0xf6676e(0x127)](_0x4e1a7b);}}[_0x2dc47c(0x170)](_0x458497,_0x4e8073){const _0x2438d2=_0x2dc47c,_0x29c043=this['_definedNameMap'][_0x2438d2(0x101)](_0x458497);if(_0x29c043){const _0x4724ae=_0x29c043[_0x2438d2(0x101)](_0x4e8073);if(_0x4724ae){for(const _0x259e29 of _0x4724ae)this['_removeDependencyRTreeCache'](_0x259e29),this['_removeAllTreeMap'](_0x259e29);_0x4724ae[_0x2438d2(0x109)]();}}}[_0x2dc47c(0x11b)](){const _0x1ce1ca=_0x2dc47c;this[_0x1ce1ca(0x1ab)][_0x1ce1ca(0x11b)]();}['closeKdTree'](){const _0xe16e9e=_0x2dc47c;this[_0xe16e9e(0x1ab)]['closeKdTree']();}['_removeAllTreeMap'](_0x583299){const _0x82edb9=_0x2dc47c;_0x583299!=null&&this[_0x82edb9(0x12e)][_0x82edb9(0x125)](_0x583299);}[_0x2dc47c(0x182)](_0x5b8113){const _0x24e9db=_0x2dc47c;var _0x25bded,_0x754125;const _0x473b6d=_0x5b8113[_0x24e9db(0x185)];let _0xcadffb=this['_allTreeMap'][_0x24e9db(0x101)](_0x5b8113['treeId']);for(let _0x3d2c6a=0x0;_0x3d2c6a<_0x473b6d[_0x24e9db(0x15d)];_0x3d2c6a++){const _0x5b40ad=_0x473b6d[_0x3d2c6a];let {unitId:_0x279fc2,sheetId:_0x4e4d41,range:_0x54de04}=_0x5b40ad;_0xcadffb||(_0xcadffb=new Map(),this[_0x24e9db(0x12e)][_0x24e9db(0x134)](_0x5b8113[_0x24e9db(0x1d2)],_0xcadffb)),_0xcadffb[_0x24e9db(0x16d)](_0x279fc2)||_0xcadffb[_0x24e9db(0x134)](_0x279fc2,new Map());const _0x595411=(_0x25bded=_0xcadffb==null?void 0x0:_0xcadffb['get'](_0x279fc2))==null?void 0x0:_0x25bded[_0x24e9db(0x101)](_0x4e4d41);_0x595411&&(_0x54de04={'startRow':Math['min'](_0x54de04[_0x24e9db(0x1b8)],_0x595411[_0x24e9db(0x1b8)]),'startColumn':Math['min'](_0x54de04[_0x24e9db(0x12d)],_0x595411[_0x24e9db(0x12d)]),'endRow':Math[_0x24e9db(0x154)](_0x54de04[_0x24e9db(0x1c9)],_0x595411[_0x24e9db(0x1c9)]),'endColumn':Math[_0x24e9db(0x154)](_0x54de04['endColumn'],_0x595411['endColumn'])}),(_0x754125=_0xcadffb[_0x24e9db(0x101)](_0x279fc2))==null||_0x754125[_0x24e9db(0x134)](_0x4e4d41,_0x54de04);}}}var G=Object['getOwnPropertyDescriptor'],$=(_0x171b78,_0x1d821d,_0x1b2a0b,_0x29f210)=>{const _0xcb9762=_0x2dc47c;for(var _0x31b2de=_0x29f210>0x1?void 0x0:_0x29f210?G(_0x1d821d,_0x1b2a0b):_0x1d821d,_0x2ab9e6=_0x171b78[_0xcb9762(0x15d)]-0x1,_0x1d610;_0x2ab9e6>=0x0;_0x2ab9e6--)(_0x1d610=_0x171b78[_0x2ab9e6])&&(_0x31b2de=_0x1d610(_0x31b2de)||_0x31b2de);return _0x31b2de;};const X=Number[_0x2dc47c(0x152)](0x693d2125);exports[_0x2dc47c(0x143)]=class extends c[_0x2dc47c(0x1b0)]{[_0x2dc47c(0x10d)](){const _0x5a38bb=_0x2dc47c;var _0x3697dd,_0x16428f;this[_0x5a38bb(0x187)]()?(this[_0x5a38bb(0x150)][_0x5a38bb(0x1ca)]([c[_0x5a38bb(0x19c)],{'useClass':K}]),(_0x3697dd=this[_0x5a38bb(0x19b)])!=null&&_0x3697dd[_0x5a38bb(0x13d)]||[[c[_0x5a38bb(0x12a)],{'useClass':j}],[c['IDependencyManagerService'],{'useClass':Y}],[c[_0x5a38bb(0x1c6)],{'useClass':B}]][_0x5a38bb(0x199)](_0x257b92=>this[_0x5a38bb(0x150)][_0x5a38bb(0x1ca)](_0x257b92))):(this[_0x5a38bb(0x150)][_0x5a38bb(0x1ca)]([c['LexerTreeBuilder'],{'useClass':c[_0x5a38bb(0x19c)]}]),(_0x16428f=this[_0x5a38bb(0x19b)])!=null&&_0x16428f[_0x5a38bb(0x13d)]||[[c[_0x5a38bb(0x12a)],{'useClass':c[_0x5a38bb(0x1ad)]}],[c[_0x5a38bb(0x192)],{'useClass':c[_0x5a38bb(0x1bf)]}],[c[_0x5a38bb(0x1c6)],{'useClass':c[_0x5a38bb(0x10b)]}]][_0x5a38bb(0x199)](_0x16fa3a=>this[_0x5a38bb(0x150)]['add'](_0x16fa3a)));}[_0x2dc47c(0x187)](){const _0x444e40=_0x2dc47c;var _0x3391d1;const _0x164496=(_0x3391d1=this['_configService']['getConfig'](v[_0x444e40(0x140)]))!=null?_0x3391d1:{},{ls:_0x1d4a58,pbk:_0x4cab74}=_0x164496;if(!_0x1d4a58||!_0x4cab74)return!0x1;const _0x2b6d8b=v['unshiftString'](k,P),_0x4462f9=new Function(_0x444e40(0x1b9)+_0x2b6d8b)()(_0x1d4a58,_0x4cab74),_0x2c0dbd=_0x4462f9[_0x444e40(0x1b3)];return _0x4462f9[_0x444e40(0x17e)]&&v[_0x444e40(0x162)](_0x2c0dbd,'sf',X)?v[_0x444e40(0x1a5)](_0x2c0dbd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x2dc47c(0x143)]=$([b['DependentOn'](v[_0x2dc47c(0x13c)])],exports['UniverProFormulaEnginePlugin']),Object[_0x2dc47c(0x105)](c)['forEach'](_0x326329=>{const _0x2e261c=_0x2dc47c;_0x326329!==_0x2e261c(0x1a6)&&!Object[_0x2e261c(0x10a)][_0x2e261c(0x114)][_0x2e261c(0x1a7)](exports,_0x326329)&&Object[_0x2e261c(0x1d8)](exports,_0x326329,{'enumerable':!0x0,'get':()=>c[_0x326329]});});
|
|
1
|
+
'use strict';const _0x176749=_0x43e7;function _0x43e7(_0x1aa694,_0x5c8f1d){_0x1aa694=_0x1aa694-0xe6;const _0x477537=_0x4775();let _0x43e778=_0x477537[_0x1aa694];return _0x43e778;}(function(_0x1fab25,_0x222ec7){const _0x1068f9=_0x43e7,_0x3d5257=_0x1fab25();while(!![]){try{const _0x2adef3=-parseInt(_0x1068f9(0x1d3))/0x1*(-parseInt(_0x1068f9(0x141))/0x2)+-parseInt(_0x1068f9(0x14d))/0x3*(-parseInt(_0x1068f9(0x1e8))/0x4)+-parseInt(_0x1068f9(0x186))/0x5*(-parseInt(_0x1068f9(0x189))/0x6)+-parseInt(_0x1068f9(0x144))/0x7+parseInt(_0x1068f9(0x145))/0x8+-parseInt(_0x1068f9(0x16c))/0x9*(parseInt(_0x1068f9(0x192))/0xa)+-parseInt(_0x1068f9(0x1a7))/0xb;if(_0x2adef3===_0x222ec7)break;else _0x3d5257['push'](_0x3d5257['shift']());}catch(_0x4895cc){_0x3d5257['push'](_0x3d5257['shift']());}}}(_0x4775,0x39c1d));var k=Object[_0x176749(0x129)],K=(_0x317c87,_0x5d60f2,_0x1abe27)=>_0x5d60f2 in _0x317c87?k(_0x317c87,_0x5d60f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1abe27}):_0x317c87[_0x5d60f2]=_0x1abe27,F=(_0x491147,_0xda1b53,_0x1ac1d7)=>K(_0x491147,typeof _0xda1b53!=_0x176749(0xfd)?_0xda1b53+'':_0xda1b53,_0x1ac1d7);Object[_0x176749(0x129)](exports,Symbol['toStringTag'],{'value':_0x176749(0x1d2)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),R=require('@univerjs/core');class L extends a['LexerTreeBuilder']{constructor(){const _0x4e541e=_0x176749;super(...arguments),F(this,_0x4e541e(0xf3),!0x1),F(this,'_lambdaFunctionParameterSet',new Set()),F(this,_0x4e541e(0x188),_0x4e541e(0x155)),F(this,_0x4e541e(0x148),_0x4e541e(0x1df)),F(this,_0x4e541e(0xf8),'');}[_0x176749(0x1b9)](){const _0x51a351=_0x176749;this[_0x51a351(0x188)]=_0x51a351(0x155),this[_0x51a351(0x148)]=_0x51a351(0x1df);}[_0x176749(0x150)](){const _0x54d7cc=_0x176749;this[_0x54d7cc(0x188)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x5ced78,_0x4103d1){const _0x2271cb=_0x176749,_0x4624b3=this[_0x2271cb(0x1a4)](_0x5ced78,!0x1);if(!_0x4624b3||_0x4624b3===a['ErrorType']['VALUE']||Array[_0x2271cb(0x187)](_0x4624b3))return null;const _0x2d53a=[];return this[_0x2271cb(0xf3)]=!0x1,this[_0x2271cb(0x153)](_0x4624b3,_0x2d53a,_0x4103d1),this[_0x2271cb(0xf3)]?'='+_0x2d53a['join'](''):null;}[_0x176749(0x153)](_0x209331,_0x2a4b34,_0x182bd9){const _0x57e2f9=_0x176749,_0x3961c7=_0x209331['getToken'](),_0x180a13=_0x3961c7[_0x57e2f9(0x1c0)](),_0x4a4f43=_0x180a13[_0x57e2f9(0x135)](),_0x365f95=this['_clearFunctionString'](_0x4a4f43),_0x3b6abf=_0x182bd9(_0x365f95);let _0x5e0289=0x0;_0x3961c7===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x5e0289=0x3:_0x3961c7===a[_0x57e2f9(0x18d)]?_0x5e0289=0x4:_0x3961c7===a[_0x57e2f9(0x14b)]?_0x5e0289=0x5:a[_0x57e2f9(0x111)][_0x57e2f9(0x1d4)](_0x365f95)?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0):_0x4a4f43===a[_0x57e2f9(0x110)]?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0,_0x5e0289=0x2):_0x4a4f43===a[_0x57e2f9(0x1ce)]?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0,_0x5e0289=0x1):_0x4a4f43===a[_0x57e2f9(0x198)]['COLON']?_0x5e0289=0x8:a[_0x57e2f9(0x1e7)]['has'](_0x4a4f43)?_0x5e0289=0x7:_0x4a4f43===a[_0x57e2f9(0x12f)][_0x57e2f9(0x114)]?(this[_0x57e2f9(0x195)](_0x209331)&&(_0x5e0289=0x9),_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7)):(_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7),_0x5e0289=0xa),_0x3b6abf?(_0x5e0289!==0x2&&_0x5e0289!==0x1&&(_0x5e0289=0x6),_0x2a4b34[_0x57e2f9(0x136)]('(')):_0x5e0289===0x9&&_0x2a4b34['push']('(');const _0x598480=_0x209331[_0x57e2f9(0x10b)](),_0x471280=_0x598480[_0x57e2f9(0x1ba)];if(_0x5e0289===0x2){const _0x440196=_0x598480[0x0];let _0x382418=0x0;_0x440196 instanceof a['LexerNode']&&_0x440196[_0x57e2f9(0x182)]()===a[_0x57e2f9(0x14b)]&&(_0x382418=0x1);for(let _0x3d44bc=_0x382418;_0x3d44bc<_0x471280-0x1;_0x3d44bc++){const _0x397515=_0x598480[_0x3d44bc];if(_0x397515 instanceof a['LexerNode']){const _0x6052cf=_0x397515[_0x57e2f9(0x10b)]()[0x0];typeof _0x6052cf==_0x57e2f9(0x19c)&&(this[_0x57e2f9(0x193)][_0x57e2f9(0x1d4)](_0x6052cf)&&console[_0x57e2f9(0x123)](_0x57e2f9(0x1ab)+_0x6052cf+_0x57e2f9(0x12a)),this['_lambdaFunctionParameterSet'][_0x57e2f9(0x1d9)](_0x6052cf),_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x188)]+_0x6052cf),this[_0x57e2f9(0xf3)]=!0x0);}_0x2a4b34['push'](',');}this[_0x57e2f9(0x185)](_0x598480[_0x471280-0x1],_0x2a4b34,_0x182bd9),_0x382418===0x1&&(_0x2a4b34[_0x57e2f9(0x136)](')'),_0x2a4b34[_0x57e2f9(0x136)]('('),this[_0x57e2f9(0x153)](_0x440196,_0x2a4b34,_0x182bd9)),_0x2a4b34[_0x57e2f9(0x136)](')');return;}else{if(_0x5e0289===0x1){for(let _0x21d61a=0x0;_0x21d61a<_0x471280-0x1;_0x21d61a++){const _0x5bf0ff=_0x598480[_0x21d61a];if(_0x5bf0ff instanceof a[_0x57e2f9(0x116)]&&_0x21d61a%0x2===0x0){const _0x130068=_0x5bf0ff[_0x57e2f9(0x10b)]()[0x0];if(typeof _0x130068==_0x57e2f9(0x19c)){this[_0x57e2f9(0x193)][_0x57e2f9(0x1d4)](_0x130068)&&console[_0x57e2f9(0x123)](_0x57e2f9(0xef)+_0x130068+_0x57e2f9(0x12a)),this[_0x57e2f9(0x193)][_0x57e2f9(0x1d9)](_0x130068),_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x188)]+_0x130068),this['_hasNewExcelFunction']=!0x0,_0x2a4b34[_0x57e2f9(0x136)](',');continue;}}if(this[_0x57e2f9(0x185)](_0x5bf0ff,_0x2a4b34,_0x182bd9),_0x5bf0ff instanceof a[_0x57e2f9(0x116)]){const _0x3a697b=_0x598480[_0x21d61a+0x1];_0x3a697b&&_0x3a697b instanceof a[_0x57e2f9(0x116)]&&_0x2a4b34[_0x57e2f9(0x136)](',');}}this[_0x57e2f9(0x185)](_0x598480[_0x471280-0x1],_0x2a4b34,_0x182bd9),_0x2a4b34[_0x57e2f9(0x136)](')');return;}else{if(_0x5e0289===0x8){const _0x2b36d6=_0x598480[0x0],_0x25826f=_0x598480[0x1];this[_0x57e2f9(0x185)](_0x2b36d6,_0x2a4b34,_0x182bd9),_0x2a4b34['push'](_0x3961c7),this['_handleNewFunctionChild'](_0x25826f,_0x2a4b34,_0x182bd9);return;}}}for(let _0x5b2a1f=0x0;_0x5b2a1f<_0x471280;_0x5b2a1f++){const _0x33921c=_0x598480[_0x5b2a1f];if(this[_0x57e2f9(0x185)](_0x33921c,_0x2a4b34,_0x182bd9),_0x33921c instanceof a[_0x57e2f9(0x116)]){const _0x414820=_0x598480[_0x5b2a1f+0x1];_0x414820&&_0x414820 instanceof a['LexerNode']&&_0x2a4b34[_0x57e2f9(0x136)](',');}}_0x5e0289===0x7&&_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7),(_0x3b6abf||_0x5e0289===0x9)&&_0x2a4b34['push'](')');}['_handleNewFunctionChild'](_0x27d216,_0x1ec122,_0x3e6521){const _0x1b5e50=_0x176749;_0x27d216 instanceof a[_0x1b5e50(0x116)]?this[_0x1b5e50(0x153)](_0x27d216,_0x1ec122,_0x3e6521):this['_lambdaFunctionParameterSet'][_0x1b5e50(0x1d4)](_0x27d216)?(_0x1ec122[_0x1b5e50(0x136)](''+this[_0x1b5e50(0x188)]+_0x27d216),this[_0x1b5e50(0xf3)]=!0x0):_0x1ec122[_0x1b5e50(0x136)](_0x27d216);}['_clearFunctionString'](_0x53d8c2){const _0x4340a8=_0x176749;let _0x1c2769=_0x53d8c2['trim']();if(!_0x1c2769)return _0x1c2769;const _0x270cf7=_0x1c2769[0x0];if((_0x270cf7===a[_0x4340a8(0x12f)]['AT']||_0x270cf7===a['prefixToken']['MINUS']||_0x270cf7===a[_0x4340a8(0x12f)][_0x4340a8(0x140)])&&(_0x1c2769=_0x1c2769[_0x4340a8(0x17e)](0x1)),!_0x1c2769)return _0x1c2769;const _0x2c29b9=_0x1c2769[_0x1c2769[_0x4340a8(0x1ba)]-0x1];return a[_0x4340a8(0x1e7)][_0x4340a8(0x1d4)](_0x2c29b9)&&(_0x1c2769=_0x1c2769[_0x4340a8(0x17e)](0x0,-0x1)),_0x1c2769;}['_checkAddBracketForMinus'](_0x842896){const _0x8dd6e7=_0x176749,_0x25ff00=_0x842896['getChildren']()[0x0];if(!_0x25ff00||!(_0x25ff00 instanceof a[_0x8dd6e7(0x116)])||_0x842896[_0x8dd6e7(0x10b)]()[_0x8dd6e7(0x1ba)]>0x1)return!0x1;const _0x190167=_0x25ff00[_0x8dd6e7(0x10b)](),_0x3ca5d9=_0x190167[_0x8dd6e7(0x1ba)];if(_0x3ca5d9===0x1)return!0x1;for(let _0x4ca4d8=0x0;_0x4ca4d8<_0x3ca5d9;_0x4ca4d8++){const _0x11c70=_0x190167[_0x4ca4d8];if(!(_0x11c70 instanceof a[_0x8dd6e7(0x116)])&&a[_0x8dd6e7(0x100)]['has'](_0x11c70))return!0x0;}return!0x1;}[_0x176749(0x18a)](_0x2952fc,_0x26fb29,_0x42f385,_0x353505,_0x287bdd){const _0x5a7c5b=_0x176749,_0x19a6bb=this['treeBuilder'](_0x2952fc,!0x1);if(!_0x19a6bb||_0x19a6bb===a[_0x5a7c5b(0x1de)][_0x5a7c5b(0x13d)]||Array[_0x5a7c5b(0x187)](_0x19a6bb))return null;this[_0x5a7c5b(0x150)](),this[_0x5a7c5b(0xf8)]=_0x26fb29;const _0x5aa0b6=this['_generateExprTree'](_0x19a6bb,_0x42f385,_0x353505,_0x287bdd);return this[_0x5a7c5b(0xf8)]='',this[_0x5a7c5b(0x1b9)](),_0x5aa0b6;}['_generateExprTree'](_0x277bcb,_0x7c43da,_0x2f137f,_0x5668bc){const _0x5398d9=_0x176749,_0x3808df={'value':'','children':[],'startIndex':0x0};let _0x40d762=_0x277bcb;if(_0x40d762 instanceof a[_0x5398d9(0x116)]&&(_0x40d762[_0x5398d9(0x182)]()===a[_0x5398d9(0x152)]||_0x40d762[_0x5398d9(0x182)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x40d762[_0x5398d9(0x10b)]()[_0x5398d9(0x1ba)]===0x1&&(_0x40d762=_0x40d762[_0x5398d9(0x10b)]()[0x0]),!(_0x40d762 instanceof a[_0x5398d9(0x116)]))return this['_handleTextNodeForExprTree'](_0x40d762,_0x2f137f,_0x5668bc);const _0x26ab5e=_0x40d762[_0x5398d9(0x10b)](),_0x1ec9b9=_0x26ab5e[_0x5398d9(0x1ba)],_0x1ceca4=[];this[_0x5398d9(0x153)](_0x40d762,_0x1ceca4,_0x7c43da),_0x3808df[_0x5398d9(0x16f)]=_0x1ceca4[_0x5398d9(0x113)](''),_0x3808df[_0x5398d9(0x137)]=_0x40d762[_0x5398d9(0x1aa)]();const _0x57eabb=this[_0x5398d9(0x179)](_0x40d762);if(_0x57eabb===0x2){const _0x5a271d=_0x26ab5e[0x0];if(_0x5a271d instanceof a[_0x5398d9(0x116)]){if(_0x5a271d[_0x5398d9(0x182)]()['trim']()!==a[_0x5398d9(0x14b)])return _0x3808df;this[_0x5398d9(0x161)](_0x5a271d,_0x3808df,_0x7c43da,_0x2f137f,_0x5668bc);}return _0x3808df;}else{if(_0x57eabb===0x1){for(let _0x50624a=0x0;_0x50624a<_0x1ec9b9-0x1;_0x50624a++){const _0x51f717=_0x26ab5e[_0x50624a];if(_0x51f717 instanceof a['LexerNode']&&_0x50624a%0x2===0x1){const _0x245315=_0x51f717[_0x5398d9(0x10b)]();if(_0x245315[_0x5398d9(0x1ba)]===0x1&&!(_0x245315[0x0]instanceof a['LexerNode']))continue;const _0x55cdd3=this[_0x5398d9(0xee)](_0x51f717,_0x7c43da,_0x2f137f,_0x5668bc);_0x55cdd3&&_0x3808df['children'][_0x5398d9(0x136)](_0x55cdd3);}}return _0x3808df;}else{if(_0x57eabb===0x8){const _0x5734a9=_0x26ab5e[0x0];if(_0x5734a9 instanceof a[_0x5398d9(0x116)]){const _0x4ca6ad=_0x5734a9[_0x5398d9(0x10b)]()[0x0];_0x4ca6ad instanceof a['LexerNode']&&(_0x3808df[_0x5398d9(0x137)]=_0x4ca6ad[_0x5398d9(0x1aa)]());}if(this[_0x5398d9(0x1cb)](_0x40d762))return _0x3808df;}else{if(_0x57eabb===0x7){const _0x218c26=_0x26ab5e[0x0];if(_0x218c26 instanceof a[_0x5398d9(0x116)]){const _0x457b48=_0x218c26[_0x5398d9(0x10b)]()[0x0];_0x457b48 instanceof a[_0x5398d9(0x116)]&&(_0x3808df[_0x5398d9(0x137)]=_0x457b48[_0x5398d9(0x1aa)]());}}}}}return this[_0x5398d9(0x17b)](_0x26ab5e,_0x57eabb,_0x3808df,_0x7c43da,_0x2f137f,_0x5668bc),_0x3808df;}[_0x176749(0x17b)](_0x20c2d6,_0x388276,_0x1eac53,_0x3940a9,_0x29b7c,_0x509dbb){const _0x4319ab=_0x176749;for(let _0x1e7ab0=0x0;_0x1e7ab0<_0x20c2d6[_0x4319ab(0x1ba)];_0x1e7ab0++){let _0x68edd9=_0x20c2d6[_0x1e7ab0];if(!(_0x68edd9 instanceof a['LexerNode'])){const _0x268679=this[_0x4319ab(0x16e)](_0x68edd9,_0x29b7c,_0x509dbb);_0x268679&&_0x1eac53[_0x4319ab(0x1bd)][_0x4319ab(0x136)](_0x268679);continue;}const _0x45962b=_0x68edd9['getChildren']();if(_0x45962b[_0x4319ab(0x1ba)]===0x1&&!(_0x45962b[0x0]instanceof a[_0x4319ab(0x116)])){const _0x19f647=_0x45962b[0x0];if(!_0x29b7c(this[_0x4319ab(0xf8)],_0x19f647)&&!this[_0x4319ab(0x108)](_0x19f647,_0x509dbb)&&!a[_0x4319ab(0x194)](_0x19f647))continue;}if(_0x388276===0x8){const _0x81b1ae=_0x45962b[0x0];if(_0x81b1ae instanceof a[_0x4319ab(0x116)]){const _0xc808c4=_0x81b1ae['getToken']()['trim']();if(a[_0x4319ab(0x194)](_0xc808c4))continue;_0x68edd9=_0x81b1ae;}}const _0x46dd41=this['_generateExprTree'](_0x68edd9,_0x3940a9,_0x29b7c,_0x509dbb);_0x46dd41&&_0x1eac53[_0x4319ab(0x1bd)]['push'](_0x46dd41);}}[_0x176749(0x1cb)](_0x87da74){const _0x1ef21c=_0x176749,_0x354c18=_0x87da74['getChildren']();if(_0x354c18[_0x1ef21c(0x1ba)]<0x2)return!0x1;const _0x495e0e=_0x354c18[0x0],_0x1919f0=_0x354c18[0x1];if(!(_0x495e0e instanceof a[_0x1ef21c(0x116)])||!(_0x1919f0 instanceof a[_0x1ef21c(0x116)]))return!0x1;const _0x372253=_0x495e0e['getChildren']()[0x0],_0x31ff0e=_0x1919f0[_0x1ef21c(0x10b)]()[0x0];if(!(_0x372253 instanceof a[_0x1ef21c(0x116)])||!(_0x31ff0e instanceof a[_0x1ef21c(0x116)]))return!0x1;const _0x111c64=_0x372253['getToken']()[_0x1ef21c(0x1c0)](),_0x33047f=_0x31ff0e[_0x1ef21c(0x182)]()[_0x1ef21c(0x1c0)]();return!!a[_0x1ef21c(0x194)](''+_0x111c64+a['matchToken'][_0x1ef21c(0x12d)]+_0x33047f);}['_handleTextNodeForExprTree'](_0x3c7fd6,_0x379dd3,_0x2b7865){const _0x5a82d7=_0x176749,_0x13952a=_0x3c7fd6[_0x5a82d7(0x1c0)]();return _0x13952a[_0x5a82d7(0x15f)]('{')&&_0x13952a[_0x5a82d7(0x1af)]('}')||_0x379dd3(this[_0x5a82d7(0xf8)],_0x13952a)||this[_0x5a82d7(0x108)](_0x13952a,_0x2b7865)||a[_0x5a82d7(0x194)](_0x13952a)?{'value':_0x13952a,'children':[],'startIndex':-0x1}:null;}[_0x176749(0x108)](_0x32c9d7,_0x1a16f5){const _0x369d2e=_0x176749,{tableName:_0x1b244b}=a[_0x369d2e(0x15c)](_0x32c9d7);return _0x1a16f5(this[_0x369d2e(0xf8)],_0x1b244b)?_0x1b244b:null;}['_handleLambdaForExprTree'](_0x482ed2,_0x3a4c3f,_0x28242f,_0x56d4f4,_0x540241){const _0x1f0044=_0x176749,_0x4d44c6=_0x482ed2[_0x1f0044(0x10b)]();for(let _0x571e76=0x0;_0x571e76<_0x4d44c6['length'];_0x571e76++){const _0x55933e=_0x4d44c6[_0x571e76];if(!(_0x55933e instanceof a[_0x1f0044(0x116)]))continue;const _0x7f0e38=_0x55933e[_0x1f0044(0x10b)]();if(_0x7f0e38[_0x1f0044(0x1ba)]===0x1&&!(_0x7f0e38[0x0]instanceof a[_0x1f0044(0x116)]))continue;const _0x1f6f3e=this['_generateExprTree'](_0x55933e,_0x28242f,_0x56d4f4,_0x540241);_0x1f6f3e&&_0x3a4c3f[_0x1f0044(0x1bd)]['push'](_0x1f6f3e);}}['_getCurNodeTypeForExprTree'](_0x285b59){const _0xca841f=_0x176749,_0x4599f6=_0x285b59[_0xca841f(0x182)](),_0x56379a=_0x4599f6[_0xca841f(0x1c0)]()['toUpperCase']();let _0x12a1f4=0x0;return _0x4599f6===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x12a1f4=0x3:_0x4599f6===a[_0xca841f(0x18d)]?_0x12a1f4=0x4:_0x4599f6===a[_0xca841f(0x14b)]?_0x12a1f4=0x5:_0x56379a===a[_0xca841f(0x110)]?_0x12a1f4=0x2:_0x56379a===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x12a1f4=0x1:_0x56379a===a[_0xca841f(0x198)][_0xca841f(0x12d)]?_0x12a1f4=0x8:a[_0xca841f(0x1e7)]['has'](_0x56379a)?_0x12a1f4=0x7:_0x56379a===a[_0xca841f(0x12f)][_0xca841f(0x114)]?this[_0xca841f(0x195)](_0x285b59)&&(_0x12a1f4=0x9):_0x12a1f4=0xa,_0x12a1f4;}}const B={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'},b=_0x176749(0x19d);class Y extends a[_0x176749(0x1a0)]{constructor(){const _0x32b281=_0x176749;super(...arguments),F(this,_0x32b281(0x11c),new Map());}[_0x176749(0x138)](){const _0x5a4378=_0x176749;super[_0x5a4378(0x138)](),this[_0x5a4378(0x11c)][_0x5a4378(0x11d)]();}async[_0x176749(0x1e5)](_0x17331d=!0x1){const _0x44a295=_0x176749;this[_0x44a295(0x109)]();const _0x223c3e=this[_0x44a295(0x168)][_0x44a295(0x158)](),_0x2e3cd5=this[_0x44a295(0x1cd)][_0x44a295(0x119)](),_0x445d32=this[_0x44a295(0x168)][_0x44a295(0x1b8)]();_0x445d32!=null&&Object[_0x44a295(0x105)](_0x445d32)[_0x44a295(0x165)](_0x2890a2=>{const _0x2e2cf9=_0x44a295;_0x2890a2!=null&&Object[_0x2e2cf9(0x105)](_0x445d32[_0x2890a2])[_0x2e2cf9(0x165)](_0x131e9d=>{const _0x5c7e01=_0x2e2cf9;_0x131e9d!=null&&(this[_0x5c7e01(0x1a9)]['clearOtherFormulaDependency'](_0x2890a2,_0x131e9d),this[_0x5c7e01(0x1a9)][_0x5c7e01(0xeb)](_0x2890a2,_0x131e9d),this[_0x5c7e01(0x1a9)][_0x5c7e01(0x12b)](_0x2890a2,_0x131e9d));});});const _0x1cf7ed=this['_currentConfigService'][_0x44a295(0x13b)]();await this[_0x44a295(0x1c4)](_0x223c3e,_0x2e3cd5,_0x1cf7ed),this[_0x44a295(0x1a9)][_0x44a295(0x1e4)]();const _0x263af5=this['_getUpdateTreeListAndMakeDependency'](),_0x264cbf=this[_0x44a295(0x12c)](_0x263af5);return this[_0x44a295(0x170)](_0x264cbf)&&this[_0x44a295(0xff)][_0x44a295(0xec)](),_0x17331d&&this[_0x44a295(0xff)][_0x44a295(0x1c2)](this[_0x44a295(0x1ac)](Array[_0x44a295(0x1be)](this[_0x44a295(0x11c)]['values']()))),this[_0x44a295(0x11c)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x44a295(0x11d)](),this[_0x44a295(0x1a9)][_0x44a295(0xfe)](),this[_0x44a295(0xff)]['clearArrayObjectCache'](),Promise[_0x44a295(0x122)](_0x264cbf);}[_0x176749(0x106)](_0x52b468,_0x27d5df){const _0x224bc4=_0x176749,_0x2520c1=[_0x52b468];for(;_0x2520c1[_0x224bc4(0x1ba)]>0x0;){const _0x2fc7d9=_0x2520c1[_0x2520c1[_0x224bc4(0x1ba)]-0x1];if((_0x27d5df['get'](_0x2fc7d9)||0x0)===0x0){_0x27d5df['set'](_0x2fc7d9,0x1);const _0xbee0f9=this[_0x224bc4(0x11c)][_0x224bc4(0x175)](_0x2fc7d9);if(_0xbee0f9==null){_0x27d5df[_0x224bc4(0x190)](_0x2fc7d9,0x2),_0x2520c1[_0x224bc4(0x166)]();continue;}const _0x303217=this[_0x224bc4(0x1a9)][_0x224bc4(0x1d0)](_0xbee0f9['toRTreeItem']());for(const _0x51f379 of _0x303217){const _0x5919aa=_0x27d5df['get'](_0x51f379)||0x0;if(_0x5919aa===0x1)return!0x0;_0x5919aa===0x0&&_0x2520c1[_0x224bc4(0x136)](_0x51f379);}}else _0x27d5df[_0x224bc4(0x190)](_0x2fc7d9,0x2),_0x2520c1[_0x224bc4(0x166)]();}return!0x1;}['_checkIsCycleDependency'](_0x1a443d){const _0x4508fc=_0x176749,_0x841256=new Map();for(const _0x155e29 of _0x1a443d)if(!_0x841256['has'](_0x155e29[_0x4508fc(0x191)])&&this[_0x4508fc(0x106)](_0x155e29[_0x4508fc(0x191)],_0x841256))return!0x0;return _0x841256[_0x4508fc(0x11d)](),!0x1;}['_getFeatureFormulaTree'](_0x1a61a1,_0x2dee93,_0x5be2cf){const _0x59ff00=_0x176749,{unitId:_0x3df4b1,subUnitId:_0x3928f7,dependencyRanges:_0x2a563e,getDirtyData:_0x521c4d}=_0x5be2cf,_0x1276cf=_0x2dee93||a[_0x59ff00(0x1a3)](this[_0x59ff00(0x1a9)]),_0x1430b1=new a[(_0x59ff00(0x1b0))](_0x1276cf);_0x1430b1[_0x59ff00(0x120)]=_0x3df4b1,_0x1430b1[_0x59ff00(0x197)]=_0x3928f7,_0x1430b1[_0x59ff00(0x162)]=_0x2a563e,_0x1430b1[_0x59ff00(0x1a6)]=_0x521c4d;const _0x1530cb=_0x521c4d(this[_0x59ff00(0x168)]['getDirtyData'](),this['_runtimeService'][_0x59ff00(0x172)]()),_0x2c00d5=this[_0x59ff00(0x18f)](_0x1530cb[_0x59ff00(0x1bf)]);return _0x1430b1[_0x59ff00(0x11e)]=_0x2c00d5,_0x1430b1['featureId']=_0x1a61a1,_0x1430b1[_0x59ff00(0x10e)]=a[_0x59ff00(0x15e)]['FEATURE_FORMULA'],this[_0x59ff00(0x1a9)][_0x59ff00(0xf4)](_0x3df4b1,_0x3928f7,_0x1a61a1,_0x1430b1),this[_0x59ff00(0x11c)][_0x59ff00(0x190)](_0x1430b1[_0x59ff00(0x191)],_0x1430b1),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x5be2cf[_0x59ff00(0x120)],_0x5be2cf['subUnitId'],_0x1a61a1)&&(_0x1430b1[_0x59ff00(0x130)]=!0x0),_0x1430b1;}['_registerOtherFormulas'](_0x59089c,_0xf745ba,_0x198090){const _0x4dde36=_0x176749;var _0x3e27cd;for(const _0x42723d of _0xf745ba){const _0x47529d=_0x59089c[_0x42723d];if(_0x47529d==null)continue;const _0x4b8a66=Object[_0x4dde36(0x105)](_0x47529d);for(const _0x5b527d of _0x4b8a66){const _0x41c0d4=_0x47529d[_0x5b527d];if(_0x41c0d4==null)continue;const _0x2d22a1=Object['keys'](_0x41c0d4);for(const _0x308519 of _0x2d22a1){const _0x107f30=this['_dependencyManagerService'][_0x4dde36(0x19e)](_0x308519),_0x2a861e=_0x41c0d4[_0x308519],{f:_0x48f6fd,ranges:_0x2e892a}=_0x2a861e;let _0x392783=!0x1;_0x107f30&&(_0x392783=!0x0);const {firstRow:_0x4807df,firstColumn:_0x41780f}=this[_0x4dde36(0xf5)](_0x2e892a),_0x314bd9=this[_0x4dde36(0x1a9)][_0x4dde36(0xf1)](_0x42723d,_0x5b527d,_0x308519),_0x154bc4=(_0x3e27cd=_0x314bd9==null?void 0x0:_0x314bd9[_0x4dde36(0x151)](0x0,0x0))!=null?_0x3e27cd:a[_0x4dde36(0x1a3)](this[_0x4dde36(0x1a9)]),_0x845a4c=new a[(_0x4dde36(0x1b0))](_0x154bc4);for(let _0x2304e2=0x0;_0x2304e2<_0x2e892a[_0x4dde36(0x1ba)];_0x2304e2++){const _0xa4bd03=_0x2e892a[_0x2304e2],{startRow:_0x5ecbcf,startColumn:_0x34101b,endRow:_0xab3548,endColumn:_0x401f06}=_0xa4bd03;for(let _0x16b9ce=_0x5ecbcf;_0x16b9ce<=_0xab3548;_0x16b9ce++)for(let _0x4c92e7=_0x34101b;_0x4c92e7<=_0x401f06;_0x4c92e7++){const _0x167356=_0x4c92e7-_0x41780f,_0x4427cf=_0x16b9ce-_0x4807df;if(_0x167356===0x0&&_0x4427cf===0x0){_0x845a4c[_0x4dde36(0xf6)]=_0x48f6fd,_0x845a4c[_0x4dde36(0x120)]=_0x42723d,_0x845a4c[_0x4dde36(0x197)]=_0x5b527d,_0x845a4c[_0x4dde36(0x133)]=_0x308519,_0x845a4c[_0x4dde36(0x10e)]=a[_0x4dde36(0x15e)][_0x4dde36(0xea)],_0x845a4c[_0x4dde36(0x130)]=_0x392783,_0x198090[_0x4dde36(0x136)](_0x845a4c),this['_dependencyTreeCache']['set'](_0x845a4c[_0x4dde36(0x191)],_0x845a4c),this[_0x4dde36(0x1a9)][_0x4dde36(0x17c)](_0x42723d,_0x5b527d,_0x308519,_0x845a4c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x845a4c);continue;}const _0x7611a=new a['FormulaDependencyTreeVirtual']();_0x7611a[_0x4dde36(0x191)]=(_0x314bd9==null?void 0x0:_0x314bd9[_0x4dde36(0x151)](_0x167356,_0x4427cf))||a[_0x4dde36(0x1a3)](this[_0x4dde36(0x1a9)]),_0x7611a[_0x4dde36(0x143)]=_0x845a4c,_0x7611a[_0x4dde36(0x1dd)]=_0x167356,_0x7611a['refOffsetY']=_0x4427cf,_0x7611a[_0x4dde36(0x130)]=_0x392783,_0x7611a[_0x4dde36(0x10e)]=a['FormulaDependencyTreeType'][_0x4dde36(0xea)],this[_0x4dde36(0x1a9)]['addOtherFormulaDependency'](_0x42723d,_0x5b527d,_0x308519,_0x7611a),this[_0x4dde36(0x1a9)]['addFormulaDependencyByDefinedName'](_0x7611a),_0x198090[_0x4dde36(0x136)](_0x7611a),this[_0x4dde36(0x11c)][_0x4dde36(0x190)](_0x7611a[_0x4dde36(0x191)],_0x7611a);}}this[_0x4dde36(0x1a9)]['addOtherFormulaDependencyMainData'](_0x308519);}}}}[_0x176749(0x176)](_0x208749,_0x362b80,_0x1ab491,_0x17e112){const _0x325157=_0x176749;for(const _0x20e0f6 of _0x208749){const _0x1436b7=_0x362b80[_0x20e0f6];if(_0x1436b7==null)continue;const _0x5c456f=Object[_0x325157(0x105)](_0x1436b7);for(const _0x5cc0ae of _0x5c456f){const _0x4758e0=new R[(_0x325157(0xfa))](_0x1436b7[_0x5cc0ae]||{}),_0x671d9e=new Map();_0x4758e0[_0x325157(0x142)]((_0x17cbf8,_0x5aa132,_0x12a36d)=>{const _0x2b1e8e=_0x325157;if(_0x12a36d==null)return!0x0;const {x:_0x238cc5=0x0,y:_0x37de3a=0x0,si:_0x411b29}=_0x12a36d;if(!(_0x238cc5===0x0&&_0x37de3a===0x0&&_0x411b29!=null))return!0x0;const _0x195522=this[_0x2b1e8e(0x1d5)](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132,_0x1ab491,_0x12a36d),_0x3399ef=this[_0x2b1e8e(0x1a9)]['getFormulaDependency'](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132);_0x3399ef!=null?_0x195522[_0x2b1e8e(0x191)]=_0x3399ef:(this[_0x2b1e8e(0x1a9)]['addFormulaDependency'](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132,_0x195522),this[_0x2b1e8e(0x1a9)][_0x2b1e8e(0x164)](_0x195522)),_0x671d9e['set'](_0x411b29,_0x195522),_0x17e112[_0x2b1e8e(0x136)](_0x195522),this[_0x2b1e8e(0x11c)]['set'](_0x195522['treeId'],_0x195522);}),_0x4758e0['forValue']((_0x4d0e3e,_0x465080,_0x44ca17)=>{const _0x519526=_0x325157;if(_0x44ca17==null)return!0x0;const {x:_0x39d0ce=0x0,y:_0x7df717=0x0,si:_0x487549}=_0x44ca17;if(_0x39d0ce===0x0&&_0x7df717===0x0&&_0x487549!=null)return!0x0;let _0x41abc9;if(_0x487549&&_0x671d9e[_0x519526(0x1d4)](_0x487549)){const _0x2c22a4=_0x671d9e['get'](_0x487549);_0x41abc9=this[_0x519526(0x102)](_0x2c22a4,_0x44ca17);}else _0x41abc9=this[_0x519526(0x1d5)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080,_0x1ab491,_0x44ca17);const _0x44cf39=this[_0x519526(0x1a9)][_0x519526(0x13e)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080);_0x44cf39!=null?_0x41abc9[_0x519526(0x191)]=_0x44cf39:(this['_dependencyManagerService'][_0x519526(0x173)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080,_0x41abc9),this[_0x519526(0x1a9)][_0x519526(0x164)](_0x41abc9)),_0x17e112[_0x519526(0x136)](_0x41abc9),this[_0x519526(0x11c)][_0x519526(0x190)](_0x41abc9['treeId'],_0x41abc9);}),_0x671d9e[_0x325157(0x11d)]();}}}[_0x176749(0x1d5)](_0x3f86da,_0x2e812d,_0x10fb4b,_0x32c8fc,_0x548b4d,_0x13e2d3){const _0x302b27=_0x176749,{f:_0x326afa,x:_0x4baa5c=0x0,y:_0x5a0f90=0x0}=_0x13e2d3,_0xe741f1=new a[(_0x302b27(0x1b0))](a['generateRandomDependencyTreeId'](this[_0x302b27(0x1a9)])),_0x40852f=_0x548b4d[_0x3f86da][_0x2e812d];return _0xe741f1[_0x302b27(0xf6)]=_0x326afa,_0xe741f1[_0x302b27(0x120)]=_0x3f86da,_0xe741f1[_0x302b27(0x197)]=_0x2e812d,_0xe741f1[_0x302b27(0x139)]=_0x10fb4b,_0xe741f1[_0x302b27(0x1b4)]=_0x32c8fc,_0xe741f1[_0x302b27(0xfc)]=_0x40852f[_0x302b27(0xfc)],_0xe741f1['columnCount']=_0x40852f[_0x302b27(0xe7)],_0xe741f1;}[_0x176749(0x149)](){const _0x4bf928=_0x176749,_0xc688da=[],_0x142cad=new Set(),_0x263398=this[_0x4bf928(0x168)]['isForceCalculate'](),_0x289aa9=this[_0x4bf928(0x168)][_0x4bf928(0x18c)](),_0x5c21af=this[_0x4bf928(0x1a9)][_0x4bf928(0x1d0)](_0x289aa9),_0x4bfb1a=this[_0x4bf928(0x178)][_0x4bf928(0x1e2)](_0x289aa9);for(const _0x3b37be of _0x4bfb1a)_0x5c21af[_0x4bf928(0x1d9)](_0x3b37be);for(const [_0xf671c8,_0x575e51]of this[_0x4bf928(0x11c)])(_0x263398||_0x575e51[_0x4bf928(0x11f)]||_0x575e51[_0x4bf928(0x10d)](this[_0x4bf928(0x168)][_0x4bf928(0x1c3)]())||_0x5c21af[_0x4bf928(0x1d4)](_0xf671c8)&&!_0x575e51[_0x4bf928(0x18e)](this['_currentConfigService'][_0x4bf928(0x14f)]()))&&!_0x142cad['has'](_0xf671c8)&&(_0xc688da[_0x4bf928(0x136)](_0x575e51),_0x142cad['add'](_0xf671c8));for(const [_0x381403,_0x5db157]of this[_0x4bf928(0x11c)])_0x5db157['isVirtual']||(_0x5db157[_0x4bf928(0x162)][_0x4bf928(0x1ba)]=0x0);return _0xc688da;}[_0x176749(0x1e6)](_0x6d5430){const _0x201968=_0x176749;return this[_0x201968(0x11c)][_0x201968(0x175)](_0x6d5430);}['_getTreeNode'](_0x3c00c0){const _0x5c50e3=_0x176749;return a['generateAstNode'](_0x3c00c0[_0x5c50e3(0x120)],_0x3c00c0[_0x5c50e3(0xf6)],this['_lexer'],this[_0x5c50e3(0x19a)],this[_0x5c50e3(0x168)]);}*[_0x176749(0x104)](_0xbee054,_0x17e3a1){const _0x1c67ec=_0x176749,_0x18aea2=_0xbee054,_0x462851=new Set();for(;_0x18aea2[_0x1c67ec(0x1ba)]>0x0;){const _0x304b3d=_0x18aea2['pop']();if(_0x462851[_0x1c67ec(0x11d)](),_0x304b3d===void 0x0||_0x304b3d[_0x1c67ec(0x1b5)]())continue;if(_0x304b3d[_0x1c67ec(0x1d7)]()){yield _0x304b3d,_0x304b3d[_0x1c67ec(0x1a5)](),_0x17e3a1[_0x1c67ec(0x1d9)](_0x304b3d[_0x1c67ec(0x191)]);continue;}const _0x424487=this['_dependencyManagerService'][_0x1c67ec(0x1d0)](_0x304b3d[_0x1c67ec(0x1b1)](),_0x17e3a1),_0x2902a0=this[_0x1c67ec(0x178)][_0x1c67ec(0x1e2)](_0x304b3d[_0x1c67ec(0x1b1)](),_0x17e3a1);for(const _0x509d3e of _0x2902a0)_0x424487[_0x1c67ec(0x1d9)](_0x509d3e);for(const _0x5a55ce of _0x424487){const _0x7d0e26=this['_dependencyTreeCache'][_0x1c67ec(0x175)](_0x5a55ce);if(!_0x7d0e26){console[_0x1c67ec(0x123)](_0x1c67ec(0x10c),_0x5a55ce);continue;}_0x7d0e26[_0x1c67ec(0x1d7)]()||_0x304b3d[_0x1c67ec(0x1b5)]()||_0x462851['add'](_0x7d0e26);}if(_0x424487[_0x1c67ec(0x11d)](),_0x462851[_0x1c67ec(0x1e1)]===0x0)yield _0x304b3d,_0x304b3d[_0x1c67ec(0x1a5)](),_0x17e3a1[_0x1c67ec(0x1d9)](_0x304b3d[_0x1c67ec(0x191)]);else{_0x304b3d[_0x1c67ec(0x16b)](),_0x18aea2[_0x1c67ec(0x136)](_0x304b3d);for(const _0x1bba85 of _0x462851)_0x18aea2[_0x1c67ec(0x136)](_0x1bba85);}}_0x18aea2[_0x1c67ec(0x1ba)]=0x0,_0x462851[_0x1c67ec(0x11d)]();}[_0x176749(0x12c)](_0x277f52){const _0x434bc5=_0x176749,_0x3021b1=[],_0x31a80c=new Set();for(const _0x1bfa7d of this[_0x434bc5(0x104)](_0x277f52,_0x31a80c))_0x3021b1[_0x434bc5(0x136)](_0x1bfa7d);return _0x3021b1;}async[_0x176749(0x14c)](){const _0x375558=_0x176749;return await this[_0x375558(0xfb)](),Array['from'](this['_dependencyTreeCache'][_0x375558(0x134)]());}[_0x176749(0x10a)](_0x37c0bc){const _0x44e1ed=_0x176749;return this['_dependencyManagerService'][_0x44e1ed(0x1d0)](_0x37c0bc[_0x44e1ed(0x1b1)]());}['_getDependencyTreeChildrenIds'](_0x36ed37){const _0x40af4f=_0x176749,_0x5b5ab0=new Set(),_0x3515d7=_0x36ed37['rangeList'];for(const [_0x125c74,_0x442eec]of this[_0x40af4f(0x11c)])for(const _0xb6bb9 of _0x3515d7){const _0x567878=_0xb6bb9[_0x40af4f(0x120)],_0x15b959=_0xb6bb9['sheetId'];if(_0x442eec[_0x40af4f(0x120)]!==_0x567878||_0x442eec[_0x40af4f(0x197)]!==_0x15b959)continue;const _0x43cc54=_0xb6bb9[_0x40af4f(0x1c5)];if(_0x442eec[_0x40af4f(0x1cf)](_0x43cc54)){_0x5b5ab0[_0x40af4f(0x1d9)](_0x125c74);break;}}return _0x5b5ab0;}[_0x176749(0xf2)](){const _0x31ba5e=_0x176749;this[_0x31ba5e(0x1a9)][_0x31ba5e(0x1e4)]();}[_0x176749(0x157)](){const _0x59cf1c=_0x176749;this[_0x59cf1c(0x1b6)]['clear'](),this['_dependencyTreeCache'][_0x59cf1c(0x11d)](),this[_0x59cf1c(0x1a9)][_0x59cf1c(0xfe)]();}}class G extends a['CalculateFormulaService']{async['_apply'](_0x10d8f4=!0x1){const _0x32c640=_0x176749;_0x10d8f4?this[_0x32c640(0xff)]['setFormulaExecuteStage'](a['FormulaExecuteStageType'][_0x32c640(0x103)]):this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)]['START_DEPENDENCY']),this['_executionInProgressListener$']['next'](this['_runtimeService'][_0x32c640(0x132)]());const _0x55407e=await this['_formulaDependencyGenerator'][_0x32c640(0x1e5)](this[_0x32c640(0x124)]),_0x458f48=this[_0x32c640(0x171)];_0x10d8f4?(this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)][_0x32c640(0xe8)]),this[_0x32c640(0xff)]['setTotalArrayFormulasToCalculate'](_0x55407e[_0x32c640(0x1ba)])):(this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)]['START_CALCULATION']),this[_0x32c640(0xff)]['setTotalFormulasToCalculate'](_0x55407e[_0x32c640(0x1ba)])),this['_executionInProgressListener$']['next'](this[_0x32c640(0xff)][_0x32c640(0x132)]());let _0x33ec37=[];const _0x3de543=this[_0x32c640(0x1c6)][_0x32c640(0x196)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x42c164=(_0x3de543==null?void 0x0:_0x3de543[_0x32c640(0x1bb)])||a[_0x32c640(0x1bc)];let _0x1acc3e=0x0;const _0x38da6b=_0x55407e['length'];for(;_0x55407e[_0x32c640(0x1ba)]>0x0;){const _0x42d18c=_0x55407e[_0x32c640(0x166)](),_0x371e2e=a['generateAstNode'](_0x42d18c['unitId'],_0x42d18c['formula'],this[_0x32c640(0x181)],this[_0x32c640(0x19a)],this[_0x32c640(0x168)]),_0x444df5={'node':_0x371e2e,'refOffsetX':_0x42d18c[_0x32c640(0x1dd)],'refOffsetY':_0x42d18c['refOffsetY']},_0x2c2094=_0x42d18c[_0x32c640(0x1a6)];if(_0x1acc3e%_0x42c164===0x0&&(await new Promise(_0x23f7cc=>{const _0x439cda=_0x32c640,_0x902644=R[_0x439cda(0x115)](_0x23f7cc);_0x33ec37[_0x439cda(0x136)](_0x902644);}),_0x10d8f4?(this['_runtimeService'][_0x32c640(0x112)](a['FormulaExecuteStageType'][_0x32c640(0x147)]),this[_0x32c640(0xff)][_0x32c640(0x17a)](_0x1acc3e+0x1)):(this['_runtimeService'][_0x32c640(0x112)](a[_0x32c640(0x16a)]['CURRENTLY_CALCULATING']),this[_0x32c640(0xff)][_0x32c640(0x1d6)](_0x1acc3e+0x1)),this[_0x32c640(0x13a)][_0x32c640(0x128)](this[_0x32c640(0xff)]['getRuntimeState']()),this[_0x32c640(0xff)][_0x32c640(0x180)]()||_0x444df5==null&&_0x2c2094==null)){this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)][_0x32c640(0x15b)]),this[_0x32c640(0xff)][_0x32c640(0x1c1)](),this[_0x32c640(0x177)][_0x32c640(0x128)](this['_runtimeService'][_0x32c640(0x172)]());return;}this['_runtimeService']['setCurrent'](_0x42d18c[_0x32c640(0x139)],_0x42d18c[_0x32c640(0x1b4)],_0x42d18c['rowCount'],_0x42d18c[_0x32c640(0xe7)],_0x42d18c['subUnitId'],_0x42d18c['unitId']);let _0x1e5650;if(_0x2c2094!=null&&_0x42d18c[_0x32c640(0x1db)]!=null){const {runtimeCellData:_0x49c459,dirtyRanges:_0x53ad19}=_0x2c2094(this[_0x32c640(0x168)]['getDirtyData'](),this[_0x32c640(0xff)][_0x32c640(0x172)]());this[_0x32c640(0xff)][_0x32c640(0x127)](_0x42d18c['featureId'],_0x49c459),this[_0x32c640(0xff)][_0x32c640(0x131)](_0x42d18c[_0x32c640(0x1db)],_0x53ad19);}else _0x444df5!=null&&(_0x458f48[_0x32c640(0x14a)](_0x444df5[_0x32c640(0x159)])?_0x1e5650=await _0x458f48[_0x32c640(0x19b)](_0x444df5):_0x1e5650=_0x458f48[_0x32c640(0x1da)](_0x444df5),_0x42d18c['formulaId']!=null?this[_0x32c640(0xff)]['setRuntimeOtherData'](_0x42d18c[_0x32c640(0x133)],_0x42d18c[_0x32c640(0x1dd)],_0x42d18c['refOffsetY'],_0x1e5650):this[_0x32c640(0xff)]['setRuntimeData'](_0x1e5650));_0x371e2e['resetCalculationState'](),_0x1acc3e++;}return _0x33ec37[_0x32c640(0x165)](_0x3db3ef=>_0x3db3ef()),_0x33ec37=[],_0x38da6b>0x0?this[_0x32c640(0xff)][_0x32c640(0x1ca)]():_0x10d8f4||this[_0x32c640(0xff)][_0x32c640(0x11a)](),this[_0x32c640(0xff)][_0x32c640(0x172)]();}}class $ extends a[_0x176749(0x1cc)]{constructor(){const _0x1b4ee9=_0x176749;super(...arguments),F(this,_0x1b4ee9(0xf7),new Map()),F(this,_0x1b4ee9(0x15a),new R[(_0x1b4ee9(0x156))](!0x0));}[_0x176749(0x12e)](){const _0x517c5e=_0x176749;this['_otherFormulaData']['clear'](),this[_0x517c5e(0x13c)]['clear'](),this[_0x517c5e(0x13f)]['clear'](),this['_dependencyRTreeCache'][_0x517c5e(0x11d)](),this[_0x517c5e(0xf7)][_0x517c5e(0x11d)](),this[_0x517c5e(0x1c7)](),this[_0x517c5e(0x1dc)]['clear']();}['addOtherFormulaDependency'](_0x23bd2c,_0x460ddf,_0x96a636,_0x523781){const _0x578e27=_0x176749;this[_0x578e27(0x117)][_0x578e27(0x1d4)](_0x23bd2c)||this['_otherFormulaData']['set'](_0x23bd2c,new Map());const _0x12e879=this['_otherFormulaData'][_0x578e27(0x175)](_0x23bd2c);_0x12e879[_0x578e27(0x1d4)](_0x460ddf)||_0x12e879[_0x578e27(0x190)](_0x460ddf,new Map());const _0x868c2=_0x12e879[_0x578e27(0x175)](_0x460ddf);_0x868c2['has'](_0x96a636)||_0x868c2[_0x578e27(0x190)](_0x96a636,new R[(_0x578e27(0xfa))]()),_0x868c2[_0x578e27(0x175)](_0x96a636)[_0x578e27(0x199)](_0x523781[_0x578e27(0x1dd)],_0x523781['refOffsetY'],_0x523781[_0x578e27(0x191)]);}[_0x176749(0x184)](_0x3f67da,_0x44b57e,_0x8d671b){const _0x486a4f=_0x176749,_0xcbd521=this[_0x486a4f(0x117)][_0x486a4f(0x175)](_0x3f67da);if(_0xcbd521&&_0xcbd521[_0x486a4f(0x1d4)](_0x44b57e)){const _0x335113=_0xcbd521[_0x486a4f(0x175)](_0x44b57e);_0x8d671b[_0x486a4f(0x165)](_0x4860eb=>{const _0x465a2f=_0x486a4f,_0xc96a90=_0x335113[_0x465a2f(0x175)](_0x4860eb);_0xc96a90!=null&&(_0xc96a90[_0x465a2f(0x142)]((_0x5a77b0,_0x814091,_0x14cbf0)=>{const _0x19c52d=_0x465a2f;this[_0x19c52d(0x121)](_0x14cbf0),this[_0x19c52d(0x19f)](_0x14cbf0);}),_0x335113[_0x465a2f(0x167)](_0x4860eb),this[_0x465a2f(0x1dc)]['delete'](_0x4860eb));}),_0x335113['size']===0x0&&_0xcbd521[_0x486a4f(0x167)](_0x44b57e),_0xcbd521[_0x486a4f(0x1e1)]===0x0&&this[_0x486a4f(0x117)][_0x486a4f(0x167)](_0x3f67da);}}['clearOtherFormulaDependency'](_0x30183f,_0x42841a){const _0x176f68=_0x176749,_0x4ee6ad=this[_0x176f68(0x117)]['get'](_0x30183f);if(_0x42841a&&_0x4ee6ad&&_0x4ee6ad[_0x176f68(0x1d4)](_0x42841a)){const _0x3577dd=_0x4ee6ad['get'](_0x42841a);this['_removeDependencyRTreeCacheById'](_0x30183f,_0x42841a);for(const _0xa498a6 of _0x3577dd[_0x176f68(0x105)]()){const _0x59e912=_0x3577dd[_0x176f68(0x175)](_0xa498a6);_0x59e912!=null&&(_0x59e912[_0x176f68(0x142)]((_0x177d8b,_0xb1cc35,_0x58229c)=>{const _0xde545d=_0x176f68;this[_0xde545d(0xf7)]['get'](_0x58229c)&&this[_0xde545d(0x19f)](_0x58229c);}),this[_0x176f68(0x1dc)][_0x176f68(0x167)](_0xa498a6));}_0x3577dd['clear']();}else{if(_0x4ee6ad){for(const _0x52818b of _0x4ee6ad[_0x176f68(0x105)]()){const _0x228ff1=_0x4ee6ad[_0x176f68(0x175)](_0x52818b);this['_removeDependencyRTreeCacheById'](_0x30183f,_0x52818b);for(const _0xa25db0 of _0x228ff1[_0x176f68(0x105)]()){const _0x5f07d0=_0x228ff1[_0x176f68(0x175)](_0xa25db0);_0x5f07d0!=null&&(_0x5f07d0[_0x176f68(0x142)]((_0x13bb17,_0x37c771,_0x1de863)=>{const _0x5730c7=_0x176f68;this[_0x5730c7(0xf7)][_0x5730c7(0x175)](_0x1de863)&&this[_0x5730c7(0x19f)](_0x1de863);}),this[_0x176f68(0x1dc)][_0x176f68(0x167)](_0xa25db0));}}this[_0x176f68(0x117)][_0x176f68(0x167)](_0x30183f);}}}[_0x176749(0xf4)](_0x2a3d1c,_0x5fc788,_0x2159a1,_0x4fffc0){const _0x1801c8=_0x176749;this['_featureFormulaData'][_0x1801c8(0x1d4)](_0x2a3d1c)||this['_featureFormulaData'][_0x1801c8(0x190)](_0x2a3d1c,new Map());const _0x3daf23=this[_0x1801c8(0x13c)][_0x1801c8(0x175)](_0x2a3d1c);_0x3daf23[_0x1801c8(0x1d4)](_0x5fc788)||_0x3daf23[_0x1801c8(0x190)](_0x5fc788,new Map()),_0x3daf23[_0x1801c8(0x175)](_0x5fc788)[_0x1801c8(0x190)](_0x2159a1,_0x4fffc0[_0x1801c8(0x191)]);}[_0x176749(0xf9)](_0x4eb38b,_0x4c9aec,_0x21c6fc){const _0x405921=_0x176749,_0x41aaa1=this[_0x405921(0x13c)][_0x405921(0x175)](_0x4eb38b);if(_0x41aaa1&&_0x41aaa1['has'](_0x4c9aec)){const _0x5f8e8e=_0x41aaa1['get'](_0x4c9aec);_0x21c6fc[_0x405921(0x165)](_0x27c7b0=>{const _0x3b9edf=_0x405921,_0x2d127a=_0x5f8e8e[_0x3b9edf(0x175)](_0x27c7b0);_0x2d127a!=null&&(this[_0x3b9edf(0x121)](_0x2d127a),_0x5f8e8e['delete'](_0x27c7b0),this[_0x3b9edf(0x19f)](_0x2d127a));});}}[_0x176749(0xeb)](_0xfa44f4,_0x4ecfb8){const _0xc8d1c7=_0x176749,_0x39afee=this[_0xc8d1c7(0x13c)]['get'](_0xfa44f4);if(_0x4ecfb8&&_0x39afee&&_0x39afee['has'](_0x4ecfb8)){const _0x1f9329=_0x39afee[_0xc8d1c7(0x175)](_0x4ecfb8);this['_removeDependencyRTreeCacheById'](_0xfa44f4,_0x4ecfb8),_0x1f9329['forEach'](_0x5f0177=>{const _0x206ad7=_0xc8d1c7;_0x5f0177!=null&&this[_0x206ad7(0x19f)](_0x5f0177);}),_0x1f9329[_0xc8d1c7(0x11d)]();}else _0x39afee&&(_0x39afee['forEach']((_0x498340,_0x165db6)=>{const _0x36d85f=_0xc8d1c7;this[_0x36d85f(0x101)](_0xfa44f4,_0x165db6),_0x498340[_0x36d85f(0x165)](_0xf8ba3c=>{const _0x36358a=_0x36d85f;_0xf8ba3c!=null&&this[_0x36358a(0x19f)](_0xf8ba3c);});}),this[_0xc8d1c7(0x13c)][_0xc8d1c7(0x167)](_0xfa44f4));}[_0x176749(0x173)](_0x11100d,_0x55dc0f,_0x346614,_0x235570,_0x51050f){const _0x264d55=_0x176749;this[_0x264d55(0x13f)][_0x264d55(0x1d4)](_0x11100d)||this['_formulaData'][_0x264d55(0x190)](_0x11100d,new Map());const _0x24a048=this[_0x264d55(0x13f)]['get'](_0x11100d);_0x24a048[_0x264d55(0x1d4)](_0x55dc0f)||_0x24a048[_0x264d55(0x190)](_0x55dc0f,new R[(_0x264d55(0xfa))]()),_0x24a048[_0x264d55(0x175)](_0x55dc0f)[_0x264d55(0x199)](_0x346614,_0x235570,_0x51050f[_0x264d55(0x191)]);}[_0x176749(0x169)](_0x88671,_0x327814,_0x35591c,_0x19a0e5){const _0x535fce=_0x176749,_0x4b9f11=this[_0x535fce(0x13f)]['get'](_0x88671);if(_0x4b9f11&&_0x4b9f11[_0x535fce(0x1d4)](_0x327814)){const _0x47fda0=_0x4b9f11[_0x535fce(0x175)](_0x327814),_0x93caa5=_0x47fda0[_0x535fce(0x151)](_0x35591c,_0x19a0e5);if(_0x93caa5==null)return;this[_0x535fce(0x121)](_0x93caa5),_0x47fda0[_0x535fce(0x154)](_0x35591c,_0x19a0e5),this['_removeAllTreeMap'](_0x93caa5);}}['clearFormulaDependency'](_0x14d907,_0x4f334b){const _0x27278a=_0x176749,_0x39f9c2=this[_0x27278a(0x13f)]['get'](_0x14d907);if(_0x4f334b&&_0x39f9c2&&_0x39f9c2['has'](_0x4f334b)){const _0x3d2214=_0x39f9c2[_0x27278a(0x175)](_0x4f334b);this[_0x27278a(0x101)](_0x14d907,_0x4f334b),_0x3d2214[_0x27278a(0x142)]((_0x24b632,_0x55f580,_0x4c7735)=>{if(_0x4c7735==null)return!0x0;this['_removeAllTreeMap'](_0x4c7735);}),_0x3d2214['reset']();}else _0x39f9c2&&(_0x39f9c2[_0x27278a(0x165)]((_0xe4d0cc,_0x3e2b5a)=>{const _0x1c950f=_0x27278a;this['_removeDependencyRTreeCacheById'](_0x14d907,_0x3e2b5a),_0xe4d0cc[_0x1c950f(0x142)]((_0x2f7ecc,_0x3b8fb7,_0x5228c7)=>{const _0x5be23e=_0x1c950f;if(_0x5228c7==null)return!0x0;this[_0x5be23e(0x19f)](_0x5228c7);});}),this['_formulaData']['delete'](_0x14d907));}[_0x176749(0x121)](_0x42eec6){const _0x201597=_0x176749;if(_0x42eec6==null)return;const _0x5c93df=this['_allTreeMap']['get'](_0x42eec6);if(_0x5c93df){const _0x508d7f=[];for(const [_0x58c4a1,_0x511214]of _0x5c93df)for(const [_0x248b5b,_0x235f37]of _0x511214)_0x508d7f[_0x201597(0x136)]({'unitId':_0x58c4a1,'sheetId':_0x248b5b,'range':_0x235f37,'id':_0x42eec6});this[_0x201597(0x15a)]['bulkRemove'](_0x508d7f);}}[_0x176749(0xed)](_0x1e68b0,_0x35feba){const _0x11ac2a=_0x176749,_0x1c28fd=this[_0x11ac2a(0x1d8)]['get'](_0x1e68b0);if(_0x1c28fd){const _0x1f9313=_0x1c28fd[_0x11ac2a(0x175)](_0x35feba);if(_0x1f9313){for(const _0xfdda07 of _0x1f9313)this[_0x11ac2a(0x121)](_0xfdda07),this[_0x11ac2a(0x19f)](_0xfdda07);_0x1f9313[_0x11ac2a(0x11d)]();}}}[_0x176749(0x1e4)](){const _0x13c861=_0x176749;this[_0x13c861(0x15a)][_0x13c861(0x1e4)]();}[_0x176749(0xfe)](){const _0x2d722e=_0x176749;this[_0x2d722e(0x15a)][_0x2d722e(0xfe)]();}[_0x176749(0x19f)](_0x30c09b){const _0x12fd67=_0x176749;_0x30c09b!=null&&this[_0x12fd67(0xf7)][_0x12fd67(0x167)](_0x30c09b);}[_0x176749(0x1a8)](_0xc3b82){const _0x47adf6=_0x176749;var _0x3a7d01,_0x12d826;const _0x4975f6=_0xc3b82[_0x47adf6(0x162)];let _0x2927a3=this[_0x47adf6(0xf7)][_0x47adf6(0x175)](_0xc3b82[_0x47adf6(0x191)]);for(let _0x5d0267=0x0;_0x5d0267<_0x4975f6[_0x47adf6(0x1ba)];_0x5d0267++){const _0x52a96c=_0x4975f6[_0x5d0267];let {unitId:_0x3f8815,sheetId:_0x3662f0,range:_0x4091dc}=_0x52a96c;_0x2927a3||(_0x2927a3=new Map(),this[_0x47adf6(0xf7)][_0x47adf6(0x190)](_0xc3b82[_0x47adf6(0x191)],_0x2927a3)),_0x2927a3[_0x47adf6(0x1d4)](_0x3f8815)||_0x2927a3[_0x47adf6(0x190)](_0x3f8815,new Map());const _0x3bdb3a=(_0x3a7d01=_0x2927a3==null?void 0x0:_0x2927a3[_0x47adf6(0x175)](_0x3f8815))==null?void 0x0:_0x3a7d01[_0x47adf6(0x175)](_0x3662f0);_0x3bdb3a&&(_0x4091dc={'startRow':Math[_0x47adf6(0x1c8)](_0x4091dc[_0x47adf6(0x125)],_0x3bdb3a[_0x47adf6(0x125)]),'startColumn':Math[_0x47adf6(0x1c8)](_0x4091dc[_0x47adf6(0x163)],_0x3bdb3a[_0x47adf6(0x163)]),'endRow':Math[_0x47adf6(0x1ae)](_0x4091dc[_0x47adf6(0x1a2)],_0x3bdb3a['endRow']),'endColumn':Math[_0x47adf6(0x1ae)](_0x4091dc['endColumn'],_0x3bdb3a['endColumn'])}),(_0x12d826=_0x2927a3['get'](_0x3f8815))==null||_0x12d826[_0x47adf6(0x190)](_0x3662f0,_0x4091dc);}}}var j=Object['getOwnPropertyDescriptor'],X=(_0x5d2d1e,_0x694dc1,_0x4fcc0c,_0x5f0237)=>{const _0x8f42e2=_0x176749;for(var _0x2081a9=_0x5f0237>0x1?void 0x0:_0x5f0237?j(_0x694dc1,_0x4fcc0c):_0x694dc1,_0x5baccd=_0x5d2d1e[_0x8f42e2(0x1ba)]-0x1,_0x38eb91;_0x5baccd>=0x0;_0x5baccd--)(_0x38eb91=_0x5d2d1e[_0x5baccd])&&(_0x2081a9=_0x38eb91(_0x2081a9)||_0x2081a9);return _0x2081a9;};const z=Number[_0x176749(0x10f)](0x6948d2f2);function _0x4775(){const _0x2230aa=['checkAsyncNode','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getAllTreeList','6393dCsAjK','notExecuteFormula','getExcludedRange','_clearPrefix','getValue','DEFAULT_TOKEN_TYPE_ROOT','_generateNewFunctionString','realDeleteValue','_xlpm.','RTree','_endFormulaDependencyTreeModel','getFormulaData','node','_dependencyRTreeCache','IDLE','splitTableStructuredRef','return\x20','FormulaDependencyTreeType','startsWith','ICalculateFormulaService','_handleLambdaForExprTree','rangeList','startColumn','addFormulaDependencyByDefinedName','forEach','pop','delete','_currentConfigService','removeFormulaDependency','FormulaExecuteStageType','setAdded','18PCSjvx','hasOwnProperty','_handleTextNodeForExprTree','value','_checkIsCycleDependency','_interpreter','getAllRuntimeData','addFormulaDependency','prototype','get','_registerFormulas','_executionCompleteListener$','_dependencyRTreeCacheForAddressFunction','_getCurNodeTypeForExprTree','setCompletedArrayFormulasCount','_handleChildrenForExprTree','addOtherFormulaDependency','UniverFormulaEnginePlugin','slice','LexerTreeBuilder','isStopExecution','_lexer','getToken','_injector','removeOtherFormulaDependency','_handleNewFunctionChild','755YRLzth','isArray','_xlpmPrefix','16662Ronscu','getFormulaExprTree','LexerTreeProBuilder','getDirtyRanges','DEFAULT_TOKEN_TYPE_PARAMETER','isExcludeRange','_convertDirtyRangesToUnitRange','set','treeId','1413430rnmTAk','_lambdaFunctionParameterSet','isReferenceString','_checkAddBracketForMinus','getConfig','subUnitId','matchToken','setValue','_astTreeBuilder','executeAsync','string','/*\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}}','hasOtherFormulaDataMainData','_removeAllTreeMap','FormulaDependencyGenerator','LS_CONFIG_KEY','endRow','generateRandomDependencyTreeId','treeBuilder','setSkip','getDirtyData','8976616dBkcux','_addAllTreeMap','_dependencyManagerService','getStartIndex','Lambda\x20parameter\x20name\x20\x22','_getAllDependencyJson','default','max','endsWith','FormulaDependencyTree','toRTreeItem','_initLicenseValid','DependencyManagerService','column','isSkip','_formulaDependencyTreeModel','UniverProFormulaEnginePlugin','getClearDependencyTreeCache','_resetPrefix','length','intervalCount','DEFAULT_INTERVAL_COUNT','children','from','dirtyRanges','trim','markedAsStopFunctionsExecuted','setDependencyTreeModelData','getDirtyNameMap','_generateTreeList','range','_configService','_restDependencyTreeId','min','message','markedAsSuccessfullyExecuted','_checkColonNodeForExprTree','DependencyManagerBaseService','_otherFormulaManagerService','DEFAULT_TOKEN_LET_FUNCTION_NAME','inRangeData','searchDependency','IFormulaDependencyGenerator','Module','1POVszi','has','_createFDtree','setCompletedFormulasCount','isAdded','_definedNameMap','add','execute','featureId','_otherFormulaDataMainData','refOffsetX','ErrorType','_xlfn.','_initializeWithOverride','size','bulkSearch','unshiftString','openKdTree','generate','_getTreeById','SUFFIX_TOKEN_SET','596ACOaIj','IDependencyManagerService','columnCount','START_CALCULATION_ARRAY_FORMULA','call','OTHER_FORMULA','clearFeatureFormulaDependency','enableCycleDependency','removeFormulaDependencyByDefinedName','_generateExprTree','Let\x20variable\x20name\x20\x22','UniverLicensePlugin','getOtherFormulaDependency','_startFormulaDependencyTreeModel','_hasNewExcelFunction','addFeatureFormulaDependency','_getFirstCellOfRange','formula','_allTreeMap','_currentUnitId','removeFeatureFormulaDependency','ObjectMatrix','_initializeGenerateTreeList','rowCount','symbol','closeKdTree','_runtimeService','OPERATOR_TOKEN_SET','_removeDependencyRTreeCacheById','_createVirtualFDtree','START_DEPENDENCY_ARRAY_FORMULA','_traverse','keys','_isCyclicUtilMap','isFeatureAuthorizedWithinTime','_getTableNameFromStructuredRef','_updateRangeFlatten','_getDependencyTreeParenIds','getChildren','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','dependencySheetName','type','parseInt','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','NEW_EXCEL_FUNCTIONS','setFormulaExecuteStage','join','MINUS','requestImmediateMacroTask','LexerNode','_otherFormulaData','_config','getOtherFormulaData','markedAsNoFunctionsExecuted','CalculateFormulaService','_dependencyTreeCache','clear','featureDirtyRanges','isDirty','unitId','_removeDependencyRTreeCache','resolve','error','_isCalculateTreeModel','startRow','DependentOn','setRuntimeFeatureCellData','next','defineProperty','\x22\x20is\x20duplicated.','clearFormulaDependency','_calculateRunList','COLON','reset','prefixToken','isCache','setRuntimeFeatureRange','getRuntimeState','formulaId','values','toUpperCase','push','startIndex','dispose','row','_executionInProgressListener$','getUnitData','_featureFormulaData','VALUE','getFormulaDependency','_formulaData','PLUS','934986xQjdjG','forValue','refTree','856527aAWfOU','2026696UHjMED','valid','CURRENTLY_CALCULATING_ARRAY_FORMULA','_xlfnPrefix','_getUpdateTreeListAndMakeDependency'];_0x4775=function(){return _0x2230aa;};return _0x4775();}exports[_0x176749(0x1b7)]=class extends a[_0x176749(0x17d)]{[_0x176749(0x1e0)](){const _0x329eb2=_0x176749;var _0x3fa402,_0x5b2770;this['_initLicenseValid']()?(this[_0x329eb2(0x183)]['add']([a['LexerTreeBuilder'],{'useClass':L}]),(_0x3fa402=this[_0x329eb2(0x118)])!=null&&_0x3fa402[_0x329eb2(0x14e)]||[[a[_0x329eb2(0x160)],{'useClass':G}],[a['IDependencyManagerService'],{'useClass':$}],[a[_0x329eb2(0x1d1)],{'useClass':Y}]]['forEach'](_0x2828b9=>this[_0x329eb2(0x183)]['add'](_0x2828b9))):(this[_0x329eb2(0x183)]['add']([a[_0x329eb2(0x17f)],{'useClass':a[_0x329eb2(0x17f)]}]),(_0x5b2770=this[_0x329eb2(0x118)])!=null&&_0x5b2770[_0x329eb2(0x14e)]||[[a[_0x329eb2(0x160)],{'useClass':a[_0x329eb2(0x11b)]}],[a[_0x329eb2(0xe6)],{'useClass':a[_0x329eb2(0x1b3)]}],[a['IFormulaDependencyGenerator'],{'useClass':a['FormulaDependencyGenerator']}]][_0x329eb2(0x165)](_0xdaead8=>this[_0x329eb2(0x183)][_0x329eb2(0x1d9)](_0xdaead8)));}[_0x176749(0x1b2)](){const _0x3cc420=_0x176749;var _0xcd3b26;const _0x56ffd6=(_0xcd3b26=this[_0x3cc420(0x1c6)][_0x3cc420(0x196)](E[_0x3cc420(0x1a1)]))!=null?_0xcd3b26:{},{ls:_0x1199ee,pbk:_0xf7b0a7}=_0x56ffd6;if(!_0x1199ee||!_0xf7b0a7)return!0x1;const _0x3da36c=E[_0x3cc420(0x1e3)](b,B),_0x288983=new Function(_0x3cc420(0x15d)+_0x3da36c)()(_0x1199ee,_0xf7b0a7),_0x2454a4=_0x288983[_0x3cc420(0x1c9)];return _0x288983[_0x3cc420(0x146)]&&E[_0x3cc420(0x107)](_0x2454a4,'sf',z)?E['getSheetFeatureLimit'](_0x2454a4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x176749(0x1b7)]=X([R[_0x176749(0x126)](E[_0x176749(0xf0)])],exports[_0x176749(0x1b7)]),exports[_0x176749(0x18b)]=L,Object['keys'](a)['forEach'](_0x58c56b=>{const _0x55e9ee=_0x176749;_0x58c56b!==_0x55e9ee(0x1ad)&&!Object[_0x55e9ee(0x174)][_0x55e9ee(0x16d)][_0x55e9ee(0xe9)](exports,_0x58c56b)&&Object[_0x55e9ee(0x129)](exports,_0x58c56b,{'enumerable':!0x0,'get':()=>a[_0x58c56b]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3433d5,_0x31165f){var _0x4a9378=_0x2270,_0x3181d4=_0x3433d5();while(!![]){try{var _0x4d9e63=-parseInt(_0x4a9378(0x1c6))/0x1+-parseInt(_0x4a9378(0x1cc))/0x2+-parseInt(_0x4a9378(0x1c8))/0x3*(-parseInt(_0x4a9378(0x1cf))/0x4)+-parseInt(_0x4a9378(0x1cb))/0x5+parseInt(_0x4a9378(0x1ca))/0x6*(-parseInt(_0x4a9378(0x1ce))/0x7)+-parseInt(_0x4a9378(0x1c7))/0x8*(-parseInt(_0x4a9378(0x1cd))/0x9)+parseInt(_0x4a9378(0x1c9))/0xa;if(_0x4d9e63===_0x31165f)break;else _0x3181d4['push'](_0x3181d4['shift']());}catch(_0x48f7ba){_0x3181d4['push'](_0x3181d4['shift']());}}}(_0xa06c,0xb9474));function _0x2270(_0x1e424c,_0x3fe0e6){_0x1e424c=_0x1e424c-0x1c6;var _0xa06c31=_0xa06c();var _0x227056=_0xa06c31[_0x1e424c];return _0x227056;}function _0xa06c(){var _0x40ed28=['5163903RtIcKE','1237558HAjkni','4LwgsHO','193694MlhEoK','8IcFObZ','3310278GPouVk','12541570TXVjoZ','24IODgvD','1367440fIfXQd','1996184fAjYXv'];_0xa06c=function(){return _0x40ed28;};return _0xa06c();}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/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};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3433d5,_0x31165f){var _0x4a9378=_0x2270,_0x3181d4=_0x3433d5();while(!![]){try{var _0x4d9e63=-parseInt(_0x4a9378(0x1c6))/0x1+-parseInt(_0x4a9378(0x1cc))/0x2+-parseInt(_0x4a9378(0x1c8))/0x3*(-parseInt(_0x4a9378(0x1cf))/0x4)+-parseInt(_0x4a9378(0x1cb))/0x5+parseInt(_0x4a9378(0x1ca))/0x6*(-parseInt(_0x4a9378(0x1ce))/0x7)+-parseInt(_0x4a9378(0x1c7))/0x8*(-parseInt(_0x4a9378(0x1cd))/0x9)+parseInt(_0x4a9378(0x1c9))/0xa;if(_0x4d9e63===_0x31165f)break;else _0x3181d4['push'](_0x3181d4['shift']());}catch(_0x48f7ba){_0x3181d4['push'](_0x3181d4['shift']());}}}(_0xa06c,0xb9474));function _0x2270(_0x1e424c,_0x3fe0e6){_0x1e424c=_0x1e424c-0x1c6;var _0xa06c31=_0xa06c();var _0x227056=_0xa06c31[_0x1e424c];return _0x227056;}function _0xa06c(){var _0x40ed28=['5163903RtIcKE','1237558HAjkni','4LwgsHO','193694MlhEoK','8IcFObZ','3310278GPouVk','12541570TXVjoZ','24IODgvD','1367440fIfXQd','1996184fAjYXv'];_0xa06c=function(){return _0x40ed28;};return _0xa06c();}export*from'@univerjs/engine-formula/facade';
|