@univerjs-pro/engine-formula 0.12.1 → 0.12.2-experimental.20251129-0fa20cd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x377a32=_0x1fc7;(function(_0x50148d,_0x5bc83c){const _0x42b59e=_0x1fc7,_0x441e40=_0x50148d();while(!![]){try{const _0x1cdaa5=parseInt(_0x42b59e(0x87))/0x1*(-parseInt(_0x42b59e(0x85))/0x2)+-parseInt(_0x42b59e(0x84))/0x3+parseInt(_0x42b59e(0x8f))/0x4+parseInt(_0x42b59e(0x91))/0x5+-parseInt(_0x42b59e(0x8d))/0x6*(parseInt(_0x42b59e(0x88))/0x7)+parseInt(_0x42b59e(0x86))/0x8*(-parseInt(_0x42b59e(0x83))/0x9)+-parseInt(_0x42b59e(0x89))/0xa*(-parseInt(_0x42b59e(0x8e))/0xb);if(_0x1cdaa5===_0x5bc83c)break;else _0x441e40['push'](_0x441e40['shift']());}catch(_0x27a230){_0x441e40['push'](_0x441e40['shift']());}}}(_0x488f,0x2df7c));function _0x1fc7(_0x317f56,_0x2782d5){const _0x488f25=_0x488f();return _0x1fc7=function(_0x1fc75b,_0x27aef8){_0x1fc75b=_0x1fc75b-0x80;let _0x1b3edf=_0x488f25[_0x1fc75b];return _0x1b3edf;},_0x1fc7(_0x317f56,_0x2782d5);}Object[_0x377a32(0x8b)](exports,Symbol[_0x377a32(0x90)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x377a32(0x8a)](t)[_0x377a32(0x82)](_0x53758c=>{const _0x57e895=_0x377a32;_0x53758c!==_0x57e895(0x81)&&!Object[_0x57e895(0x8c)][_0x57e895(0x80)][_0x57e895(0x92)](exports,_0x53758c)&&Object[_0x57e895(0x8b)](exports,_0x53758c,{'enumerable':!0x0,'get':()=>t[_0x53758c]});});function _0x488f(){const _0x4738a8=['1140llhfxc','98VPUTOH','20ZJhNgU','keys','defineProperty','prototype','147672tSaoFv','1751222bCIVdo','653736zCptDT','toStringTag','1498215uGpwQc','call','hasOwnProperty','default','forEach','18ommmlt','177pmqHoY','88etNWst','793640RLoiMl'];_0x488f=function(){return _0x4738a8;};return _0x488f();}
1
+ 'use strict';const _0x49bf1a=_0x404c;function _0x404c(_0x234a59,_0x4a44c4){const _0x4abefa=_0x4abe();return _0x404c=function(_0x404c6b,_0x22fd95){_0x404c6b=_0x404c6b-0x119;let _0x446d54=_0x4abefa[_0x404c6b];return _0x446d54;},_0x404c(_0x234a59,_0x4a44c4);}(function(_0x9e4363,_0x52bb75){const _0x488bef=_0x404c,_0x59449d=_0x9e4363();while(!![]){try{const _0x30616=-parseInt(_0x488bef(0x128))/0x1*(parseInt(_0x488bef(0x120))/0x2)+parseInt(_0x488bef(0x12a))/0x3*(parseInt(_0x488bef(0x121))/0x4)+-parseInt(_0x488bef(0x119))/0x5+-parseInt(_0x488bef(0x11d))/0x6+parseInt(_0x488bef(0x125))/0x7*(parseInt(_0x488bef(0x123))/0x8)+parseInt(_0x488bef(0x11e))/0x9*(parseInt(_0x488bef(0x11b))/0xa)+parseInt(_0x488bef(0x122))/0xb;if(_0x30616===_0x52bb75)break;else _0x59449d['push'](_0x59449d['shift']());}catch(_0x3f4f18){_0x59449d['push'](_0x59449d['shift']());}}}(_0x4abe,0x2d4b0));function _0x4abe(){const _0x3c83f2=['call','800cJIZVn','hasOwnProperty','260838TUAvLo','34227gnAUtb','toStringTag','556fRIKHa','356VEloyH','2929542HxlvIB','54296AWxJmK','defineProperty','91cDapTE','forEach','default','883XEqOOP','keys','5391sNyBpH','1721295tkIUei'];_0x4abe=function(){return _0x3c83f2;};return _0x4abe();}Object[_0x49bf1a(0x124)](exports,Symbol[_0x49bf1a(0x11f)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x49bf1a(0x129)](t)[_0x49bf1a(0x126)](_0x31fce5=>{const _0x196f69=_0x49bf1a;_0x31fce5!==_0x196f69(0x127)&&!Object['prototype'][_0x196f69(0x11c)][_0x196f69(0x11a)](exports,_0x31fce5)&&Object[_0x196f69(0x124)](exports,_0x31fce5,{'enumerable':!0x0,'get':()=>t[_0x31fce5]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x17d5b2=_0x52b3;(function(_0x5b69a4,_0x555927){const _0x480186=_0x52b3,_0x1fe754=_0x5b69a4();while(!![]){try{const _0x52e469=parseInt(_0x480186(0x1c1))/0x1*(parseInt(_0x480186(0x179))/0x2)+-parseInt(_0x480186(0x1f5))/0x3+-parseInt(_0x480186(0x19e))/0x4*(parseInt(_0x480186(0x169))/0x5)+parseInt(_0x480186(0x16f))/0x6*(parseInt(_0x480186(0x202))/0x7)+-parseInt(_0x480186(0x1d8))/0x8+parseInt(_0x480186(0x1a6))/0x9+parseInt(_0x480186(0x1fd))/0xa;if(_0x52e469===_0x555927)break;else _0x1fe754['push'](_0x1fe754['shift']());}catch(_0x388e3b){_0x1fe754['push'](_0x1fe754['shift']());}}}(_0x3281,0x768fa));var O=Object['defineProperty'],U=(_0x1477b7,_0x455cac,_0x16fafe)=>_0x455cac in _0x1477b7?O(_0x1477b7,_0x455cac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16fafe}):_0x1477b7[_0x455cac]=_0x16fafe,b=(_0x512d1d,_0x44ef2f,_0x1502bf)=>U(_0x512d1d,typeof _0x44ef2f!='symbol'?_0x44ef2f+'':_0x44ef2f,_0x1502bf);Object[_0x17d5b2(0x17d)](exports,Symbol[_0x17d5b2(0x167)],{'value':_0x17d5b2(0x172)});function _0x52b3(_0x22886c,_0x1f33c3){const _0x328195=_0x3281();return _0x52b3=function(_0x52b371,_0x8cb5ac){_0x52b371=_0x52b371-0x12c;let _0x4ee186=_0x328195[_0x52b371];return _0x4ee186;},_0x52b3(_0x22886c,_0x1f33c3);}const v=require('@univerjs-pro/license'),N=require('@univerjs/core'),i=require('@univerjs/engine-formula'),k={0x0:'k',0x1:'Z',0x2:'p',0x3:'G',0x4:'U',0x5:'X',0x6:'y',0x7:'b',0x8:'E',0x9:'P','z':'0','P':'1','t':'2','W':'3','g':'4','r':'5','C':'6','O':'7','A':'8','R':'9','a':'a','N':'c','u':'d','L':'e','o':'f','I':'g','D':'h','Y':'i','n':'j','Q':'l','y':'m','c':'n','f':'o','G':'q','B':'r','b':'s','j':'t','w':'u','e':'v','E':'w','x':'x','T':'z','J':'A','v':'B','F':'C','p':'D','H':'F','U':'H','m':'I','K':'J','q':'K','M':'L','Z':'M','i':'N','l':'O','d':'Q','V':'R','S':'S','X':'T','s':'V','k':'W','h':'Y'},P=_0x17d5b2(0x1e9);function _0x3281(){const _0xb3fa74=['VALUE','1089nJRPUb','bulkRemove','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_calculateRunList','SUFFIX_TOKEN_SET','setAdded','isSkip','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_dependencyRTreeCacheForAddressFunction','startColumn','refTree','endRow','_injector','setCompletedFormulasCount','max','_getUpdateTreeListAndMakeDependency','LS_CONFIG_KEY','_otherFormulaData','formulaId','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','openKdTree','getDirtyData','isVirtual','6124568xStVvR','isDirty','_otherFormulaManagerService','delete','subUnitId','bulkSearch','_removeDependencyRTreeCacheById','_clearFunctionString','isAdded','MINUS','IDependencyManagerService','removeOtherFormulaDependency','getOtherFormulaDependency','IDLE','add','clearFormulaDependency','type','owcNjYfc\x20uLNB62jYfc(QYNLcbL,\x202w7QYNqL6)\x20{\x20\x20\x20\x20jB6\x20{\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20QYNLcbLmcof9aBjJBBa6\x20=\x20QYNLcbL.b2QYj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20fBYIYcZLbbaIL\x20=\x20KSli.2aBbL(ajf7(QYNLcbLmcof9aBjJBBa6[t]));\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!fBYIYcZLbbaIL.wu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fBYIYcZLbbaIL.wu\x20=\x20iwy7LB(QYNLcbLmcof9aBjJBBa6[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbkfB0LB\x20=\x20j62Lfo\x20kfB0LB3Qf7aQSNf2L\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20bLQo\x20YcbjacNLfo\x20kfB0LB3Qf7aQSNf2L;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbvBfEbLB\x20=\x20j62Lfo\x20EYcufE\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20j62Lfo\x20EYcufE.QfNajYfc\x20!==\x20\x27wcuLoYcLu\x27;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20NfcjLxj\x20=\x20YbkfB0LB\x20?\x20bLQo\x20:\x20(YbvBfEbLB\x20?\x20EYcufE\x20:\x20IQf7aQXDYb);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaILkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[t]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaIL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(yLbbaILkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBLkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[W]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(bYIcajwBLkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcsaQYu\x20=\x20NfcjLxj.__eLBYo6__(bYIcajwBL,\x20yLbbaIL,\x202w7QYNqL6);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20ufyaYc\x20=\x20fBYIYcZLbbaIL.uy;\x20\x20\x20\x20\x20\x20\x20\x20owcNjYfc\x20YbpfyaYcZajNDYcI(f9ajjLBc,\x20fUfbj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc\x20=\x20f9ajjLBc.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj\x20=\x20fUfbj.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc9aBjb\x20=\x202ajjLBc.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj9aBjb\x20=\x20Dfbj.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!2ajjLBc.YcNQwuLb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBc\x20===\x20Dfbj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(2ajjLBc9aBjb.QLcIjD\x20<\x20t\x20||\x202ajjLBc9aBjb[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBcSwooYx\x20=\x202ajjLBc9aBjb.bQYNL(P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20DfbjSwooYx\x20=\x20Dfbj9aBjb.bQYNL(-2ajjLBc9aBjb.QLcIjD\x20+\x20P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBcSwooYx\x20===\x20DfbjSwooYx;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QLj\x20ufyaYcsaQYu\x20=\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(YbvBfEbLB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20(ufyaYc\x20&&\x20ufyaYc.QLcIjD)\x20?\x20ufyaYc.bfyL((uymjLy)\x20=>\x20YbpfyaYcZajNDYcI(uymjLy,\x20QfNajYfc.DfbjcayL))\x20:\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(QfNajYfc.DfbjcayL\x20===\x20\x27QfNaQDfbj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20LQbL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20eaQYu\x20=\x20bYIcsaQYu\x20&&\x20ufyaYcsaQYu;\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20fBYIYcZLbbaIL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20NajND\x20(LBBfB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu:\x20oaQbL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','realDeleteValue','markedAsSuccessfullyExecuted','FEATURE_FORMULA','_definedNameMap','notExecuteFormula','startRow','node','getFormulaDependency','setCompletedArrayFormulasCount','Let\x20variable\x20name\x20\x22','getOtherFormulaData','2717397uAmevW','_registerOtherFormulas','LexerNode','hasOtherFormulaDataMainData','_restDependencyTreeId','_currentConfigService','keys','unshiftString','21771780mubcLF','_interpreter','treeBuilder','_xlfn.','trim','2655905SWkyFg','removeFormulaDependency','markedAsStopFunctionsExecuted','columnCount','_initializeWithOverride','dependencySheetName','treeId','_xlpm.','forEach','execute','START_CALCULATION','clearFeatureFormulaDependency','closeKdTree','unitId','default','CURRENTLY_CALCULATING','set','return\x20','generateRandomDependencyTreeId','\x22\x20is\x20duplicated.','dispose','isCache','setRuntimeOtherData','RTree','isFeatureAuthorizedWithinTime','next','_formulaData','getAllRuntimeData','getExcludedRange','getToken','_removeAllTreeMap','FormulaExecuteStageType','ErrorType','_hasNewExcelFunction','DEFAULT_INTERVAL_COUNT','FormulaDependencyTreeVirtual','ObjectMatrix','_dependencyTreeCache','getChildren','getDirtyRanges','PLUS','error','FormulaDependencyTreeType','setFormulaExecuteStage','generateAstNode','rangeList','parseInt','_getTreeById','length','rowCount','getNewFormulaWithPrefix','_featureFormulaData','featureDirtyRanges','resolve','call','_getTreeNode','isStopExecution','_getFeatureFormulaTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','CalculateFormulaService','clearOtherFormulaDependency','UniverProFormulaEnginePlugin','size','_handleNewFunctionChild','getConfig','toStringTag','START_DEPENDENCY_ARRAY_FORMULA','1683865MJBWBV','_checkIsCycleDependency','_updateRangeFlatten','setCurrent','get','setValue','6KrKbMw','message','refOffsetY','Module','refOffsetX','reset','ICalculateFormulaService','COLON','FormulaDependencyGenerator','setTotalFormulasToCalculate','146DABbgV','_generateNewFunctionString','has','_traverse','defineProperty','DependencyManagerService','setRuntimeData','prefixToken','DEFAULT_TOKEN_TYPE_PARAMETER','removeFeatureFormulaDependency','addFormulaDependency','searchDependency','_dependencyManagerService','_createFDtree','_executionInProgressListener$','join','getFeatureFormulaDependency','row','_lexer','_dependencyRTreeCache','_configService','START_DEPENDENCY','getClearDependencyTreeCache','push','featureId','isArray','UniverLicensePlugin','_isCyclicUtilMap','endColumn','_initLicenseValid','_allTreeMap','_otherFormulaDataMainData','setSkip','prototype','_removeDependencyRTreeCache','_checkAddBracketForMinus','requestImmediateMacroTask','8lidcgH','string','_getFirstCellOfRange','formula','getRuntimeState','markedAsNoFunctionsExecuted','toRTreeItem','matchToken','1750068GuMtND','addOtherFormulaDependency','_runtimeService','column','_lambdaFunctionParameterSet','min','_formulaDependencyGenerator','getUnitData','pop','slice','IFormulaDependencyGenerator','_convertDirtyRangesToUnitRange','generate','DEFAULT_TOKEN_LET_FUNCTION_NAME','setRuntimeFeatureCellData','_astTreeBuilder','isExcludeRange','clear','LexerTreeBuilder','FormulaDependencyTree','forValue','addFeatureFormulaDependency','getValue','_config','UniverFormulaEnginePlugin','OPERATOR_TOKEN_SET'];_0x3281=function(){return _0xb3fa74;};return _0x3281();}class Q extends i[_0x17d5b2(0x177)]{constructor(){const _0x10e5ee=_0x17d5b2;super(...arguments),b(this,_0x10e5ee(0x14b),new Map());}[_0x17d5b2(0x13a)](){const _0x3588bb=_0x17d5b2;super['dispose'](),this[_0x3588bb(0x14b)]['clear']();}async[_0x17d5b2(0x1b2)](){const _0x23a988=_0x17d5b2;this[_0x23a988(0x16b)]();const _0x3d102c=this[_0x23a988(0x1fa)]['getFormulaData'](),_0x106c4f=this[_0x23a988(0x1da)][_0x23a988(0x1f4)](),_0x2d2305=this['_currentConfigService'][_0x23a988(0x18f)]();_0x2d2305!=null&&Object['keys'](_0x2d2305)['forEach'](_0x48635d=>{const _0x9579bb=_0x23a988;_0x48635d!=null&&Object[_0x9579bb(0x1fb)](_0x2d2305[_0x48635d])[_0x9579bb(0x12e)](_0x2efc34=>{const _0x49b108=_0x9579bb;_0x2efc34!=null&&(this[_0x49b108(0x185)][_0x49b108(0x162)](_0x48635d,_0x2efc34),this['_dependencyManagerService'][_0x49b108(0x131)](_0x48635d,_0x2efc34),this[_0x49b108(0x185)][_0x49b108(0x1e7)](_0x48635d,_0x2efc34));});});const _0xc62e6f=this[_0x23a988(0x1fa)][_0x23a988(0x1ad)]();await this['_generateTreeList'](_0x3d102c,_0x106c4f,_0xc62e6f),this[_0x23a988(0x185)][_0x23a988(0x1d5)]();const _0x490aae=this[_0x23a988(0x1d0)](),_0x565443=this[_0x23a988(0x1c4)](_0x490aae);return this['_checkIsCycleDependency'](_0x565443)&&this[_0x23a988(0x1a8)]['enableCycleDependency'](),this[_0x23a988(0x14b)][_0x23a988(0x1b7)](),this[_0x23a988(0x1c9)][_0x23a988(0x1b7)](),this[_0x23a988(0x185)][_0x23a988(0x132)](),this['_runtimeService']['clearArrayObjectCache'](),Promise[_0x23a988(0x15b)](_0x565443);}[_0x17d5b2(0x194)](_0x3f7108,_0x9c1092){const _0x409e46=_0x17d5b2,_0x2f4127=[_0x3f7108];for(;_0x2f4127['length']>0x0;){const _0x16ffd4=_0x2f4127[_0x2f4127[_0x409e46(0x156)]-0x1];if((_0x9c1092[_0x409e46(0x16d)](_0x16ffd4)||0x0)===0x0){_0x9c1092[_0x409e46(0x136)](_0x16ffd4,0x1);const _0x1e2527=this[_0x409e46(0x14b)]['get'](_0x16ffd4);if(_0x1e2527==null){_0x9c1092[_0x409e46(0x136)](_0x16ffd4,0x2),_0x2f4127[_0x409e46(0x1ae)]();continue;}const _0x4806f1=this['_dependencyManagerService'][_0x409e46(0x184)](_0x1e2527[_0x409e46(0x1a4)]());for(const _0x3b5e5d of _0x4806f1){const _0x51aeb=_0x9c1092[_0x409e46(0x16d)](_0x3b5e5d)||0x0;if(_0x51aeb===0x1)return!0x0;_0x51aeb===0x0&&_0x2f4127[_0x409e46(0x190)](_0x3b5e5d);}}else _0x9c1092[_0x409e46(0x136)](_0x16ffd4,0x2),_0x2f4127[_0x409e46(0x1ae)]();}return!0x1;}[_0x17d5b2(0x16a)](_0x276ff6){const _0x556eea=_0x17d5b2,_0x30e786=new Map();for(const _0x547643 of _0x276ff6)if(!_0x30e786[_0x556eea(0x17b)](_0x547643[_0x556eea(0x12c)])&&this['_isCyclicUtilMap'](_0x547643[_0x556eea(0x12c)],_0x30e786))return!0x0;return _0x30e786[_0x556eea(0x1b7)](),!0x1;}[_0x17d5b2(0x15f)](_0x472b51,_0x859352,_0x2a983e){const _0xb133a2=_0x17d5b2,{unitId:_0x489f3c,subUnitId:_0x200794,dependencyRanges:_0x5f039d,getDirtyData:_0x46b8b0}=_0x2a983e,_0x1b9ef7=_0x859352||i[_0xb133a2(0x138)](this[_0xb133a2(0x185)]),_0x403e40=new i[(_0xb133a2(0x1b9))](_0x1b9ef7);_0x403e40[_0xb133a2(0x133)]=_0x489f3c,_0x403e40['subUnitId']=_0x200794,_0x403e40[_0xb133a2(0x153)]=_0x5f039d,_0x403e40[_0xb133a2(0x1d6)]=_0x46b8b0;const _0x5eba2d=_0x46b8b0(this['_currentConfigService'][_0xb133a2(0x1d6)](),this[_0xb133a2(0x1a8)][_0xb133a2(0x141)]()),_0x538202=this[_0xb133a2(0x1b1)](_0x5eba2d['dirtyRanges']);return _0x403e40[_0xb133a2(0x15a)]=_0x538202,_0x403e40[_0xb133a2(0x191)]=_0x472b51,_0x403e40[_0xb133a2(0x1e8)]=i[_0xb133a2(0x150)][_0xb133a2(0x1ec)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x489f3c,_0x200794,_0x472b51,_0x403e40),this[_0xb133a2(0x14b)][_0xb133a2(0x136)](_0x403e40['treeId'],_0x403e40),this[_0xb133a2(0x185)][_0xb133a2(0x189)](_0x2a983e[_0xb133a2(0x133)],_0x2a983e['subUnitId'],_0x472b51)&&(_0x403e40[_0xb133a2(0x13b)]=!0x0),_0x403e40;}[_0x17d5b2(0x1f6)](_0x51738e,_0x3084ce,_0x2d906a){const _0x3dcf55=_0x17d5b2;var _0xb60bed;for(const _0x1de06c of _0x3084ce){const _0x48f0de=_0x51738e[_0x1de06c];if(_0x48f0de==null)continue;const _0x560b40=Object[_0x3dcf55(0x1fb)](_0x48f0de);for(const _0x5388c7 of _0x560b40){const _0x477a84=_0x48f0de[_0x5388c7];if(_0x477a84==null)continue;const _0x25e92b=Object['keys'](_0x477a84);for(const _0x2d3043 of _0x25e92b){const _0x2b038f=this[_0x3dcf55(0x185)][_0x3dcf55(0x1f8)](_0x2d3043),_0x5ac011=_0x477a84[_0x2d3043],{f:_0x2f27c0,ranges:_0x2f51d8}=_0x5ac011;let _0x20eb6e=!0x1;_0x2b038f&&(_0x20eb6e=!0x0);const {firstRow:_0x5534c8,firstColumn:_0xb6c33e}=this[_0x3dcf55(0x1a0)](_0x2f51d8),_0x13df03=this['_dependencyManagerService'][_0x3dcf55(0x1e4)](_0x1de06c,_0x5388c7,_0x2d3043),_0x4974ad=(_0xb60bed=_0x13df03==null?void 0x0:_0x13df03[_0x3dcf55(0x1bc)](0x0,0x0))!=null?_0xb60bed:i[_0x3dcf55(0x138)](this['_dependencyManagerService']),_0x1824a9=new i['FormulaDependencyTree'](_0x4974ad);for(let _0x427b54=0x0;_0x427b54<_0x2f51d8['length'];_0x427b54++){const _0x503f24=_0x2f51d8[_0x427b54],{startRow:_0x31b30f,startColumn:_0x1de887,endRow:_0x1c5a18,endColumn:_0x473ea1}=_0x503f24;for(let _0x2ab32d=_0x31b30f;_0x2ab32d<=_0x1c5a18;_0x2ab32d++)for(let _0x4f2718=_0x1de887;_0x4f2718<=_0x473ea1;_0x4f2718++){const _0x474814=_0x4f2718-_0xb6c33e,_0xd4e022=_0x2ab32d-_0x5534c8;if(_0x474814===0x0&&_0xd4e022===0x0){_0x1824a9[_0x3dcf55(0x1a1)]=_0x2f27c0,_0x1824a9[_0x3dcf55(0x133)]=_0x1de06c,_0x1824a9[_0x3dcf55(0x1dc)]=_0x5388c7,_0x1824a9[_0x3dcf55(0x1d3)]=_0x2d3043,_0x1824a9['type']=i[_0x3dcf55(0x150)]['OTHER_FORMULA'],_0x1824a9[_0x3dcf55(0x13b)]=_0x20eb6e,_0x2d906a[_0x3dcf55(0x190)](_0x1824a9),this['_dependencyTreeCache'][_0x3dcf55(0x136)](_0x1824a9[_0x3dcf55(0x12c)],_0x1824a9),this[_0x3dcf55(0x185)][_0x3dcf55(0x1a7)](_0x1de06c,_0x5388c7,_0x2d3043,_0x1824a9),this[_0x3dcf55(0x185)]['addFormulaDependencyByDefinedName'](_0x1824a9);continue;}const _0xc4d431=new i[(_0x3dcf55(0x149))]();_0xc4d431['treeId']=(_0x13df03==null?void 0x0:_0x13df03[_0x3dcf55(0x1bc)](_0x474814,_0xd4e022))||i['generateRandomDependencyTreeId'](this[_0x3dcf55(0x185)]),_0xc4d431[_0x3dcf55(0x1cb)]=_0x1824a9,_0xc4d431[_0x3dcf55(0x173)]=_0x474814,_0xc4d431[_0x3dcf55(0x171)]=_0xd4e022,_0xc4d431[_0x3dcf55(0x13b)]=_0x20eb6e,this[_0x3dcf55(0x185)][_0x3dcf55(0x1a7)](_0x1de06c,_0x5388c7,_0x2d3043,_0xc4d431),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0xc4d431),_0x2d906a['push'](_0xc4d431),this[_0x3dcf55(0x14b)][_0x3dcf55(0x136)](_0xc4d431[_0x3dcf55(0x12c)],_0xc4d431);}}this[_0x3dcf55(0x185)]['addOtherFormulaDependencyMainData'](_0x2d3043);}}}}['_registerFormulas'](_0x37cbeb,_0x5a63c0,_0x5364db,_0x21cd46){const _0x3f4ef4=_0x17d5b2;for(const _0x2ba9cb of _0x37cbeb){const _0x5eafaa=_0x5a63c0[_0x2ba9cb];if(_0x5eafaa==null)continue;const _0x3607ee=Object[_0x3f4ef4(0x1fb)](_0x5eafaa);for(const _0x3785c1 of _0x3607ee){const _0x2993e4=new N[(_0x3f4ef4(0x14a))](_0x5eafaa[_0x3785c1]||{}),_0x5ea53e=new Map();_0x2993e4[_0x3f4ef4(0x1ba)]((_0x59e080,_0x30f54d,_0x3bb11b)=>{const _0xa7505a=_0x3f4ef4;if(_0x3bb11b==null)return!0x0;const {x:_0x311575=0x0,y:_0x2a34a9=0x0,si:_0x24ef24}=_0x3bb11b;if(!(_0x311575===0x0&&_0x2a34a9===0x0&&_0x24ef24!=null))return!0x0;const _0x153bf3=this[_0xa7505a(0x186)](_0x2ba9cb,_0x3785c1,_0x59e080,_0x30f54d,_0x5364db,_0x3bb11b),_0x494a7d=this[_0xa7505a(0x185)]['getFormulaDependency'](_0x2ba9cb,_0x3785c1,_0x59e080,_0x30f54d);_0x494a7d!=null?_0x153bf3[_0xa7505a(0x12c)]=_0x494a7d:(this[_0xa7505a(0x185)][_0xa7505a(0x183)](_0x2ba9cb,_0x3785c1,_0x59e080,_0x30f54d,_0x153bf3),this[_0xa7505a(0x185)]['addFormulaDependencyByDefinedName'](_0x153bf3)),_0x5ea53e[_0xa7505a(0x136)](_0x24ef24,_0x153bf3),_0x21cd46['push'](_0x153bf3),this[_0xa7505a(0x14b)][_0xa7505a(0x136)](_0x153bf3[_0xa7505a(0x12c)],_0x153bf3);}),_0x2993e4[_0x3f4ef4(0x1ba)]((_0x2b5e03,_0x5edc31,_0x3bd7aa)=>{const _0x2a38f0=_0x3f4ef4;if(_0x3bd7aa==null)return!0x0;const {x:_0x18443a=0x0,y:_0x1f56ff=0x0,si:_0x3f9bc7}=_0x3bd7aa;if(_0x18443a===0x0&&_0x1f56ff===0x0&&_0x3f9bc7!=null)return!0x0;let _0xc5a3a0;if(_0x3f9bc7&&_0x5ea53e[_0x2a38f0(0x17b)](_0x3f9bc7)){const _0x79e243=_0x5ea53e[_0x2a38f0(0x16d)](_0x3f9bc7);_0xc5a3a0=this['_createVirtualFDtree'](_0x79e243,_0x3bd7aa);}else _0xc5a3a0=this[_0x2a38f0(0x186)](_0x2ba9cb,_0x3785c1,_0x2b5e03,_0x5edc31,_0x5364db,_0x3bd7aa);const _0x135445=this['_dependencyManagerService'][_0x2a38f0(0x1f1)](_0x2ba9cb,_0x3785c1,_0x2b5e03,_0x5edc31);_0x135445!=null?_0xc5a3a0[_0x2a38f0(0x12c)]=_0x135445:(this['_dependencyManagerService'][_0x2a38f0(0x183)](_0x2ba9cb,_0x3785c1,_0x2b5e03,_0x5edc31,_0xc5a3a0),this[_0x2a38f0(0x185)]['addFormulaDependencyByDefinedName'](_0xc5a3a0)),_0x21cd46['push'](_0xc5a3a0),this[_0x2a38f0(0x14b)]['set'](_0xc5a3a0[_0x2a38f0(0x12c)],_0xc5a3a0);}),_0x5ea53e[_0x3f4ef4(0x1b7)]();}}}[_0x17d5b2(0x186)](_0x5a4396,_0x560396,_0x501bcd,_0x96880,_0xcf788f,_0x28a01e){const _0x1a3f86=_0x17d5b2,{f:_0x10a7bc,x:_0x4f98d8=0x0,y:_0x305784=0x0}=_0x28a01e,_0x2019e5=new i['FormulaDependencyTree'](i[_0x1a3f86(0x138)](this['_dependencyManagerService'])),_0x1ce8a2=_0xcf788f[_0x5a4396][_0x560396];return _0x2019e5[_0x1a3f86(0x1a1)]=_0x10a7bc,_0x2019e5[_0x1a3f86(0x133)]=_0x5a4396,_0x2019e5[_0x1a3f86(0x1dc)]=_0x560396,_0x2019e5[_0x1a3f86(0x18a)]=_0x501bcd,_0x2019e5[_0x1a3f86(0x1a9)]=_0x96880,_0x2019e5[_0x1a3f86(0x157)]=_0x1ce8a2[_0x1a3f86(0x157)],_0x2019e5[_0x1a3f86(0x205)]=_0x1ce8a2[_0x1a3f86(0x205)],_0x2019e5;}[_0x17d5b2(0x1d0)](){const _0x13fa58=_0x17d5b2,_0x107e12=[],_0x481eba=new Set(),_0x33004d=this[_0x13fa58(0x1fa)]['isForceCalculate'](),_0x4e3165=this['_currentConfigService'][_0x13fa58(0x14d)](),_0x5f3022=this['_dependencyManagerService'][_0x13fa58(0x184)](_0x4e3165),_0x17ea0c=this[_0x13fa58(0x1c9)][_0x13fa58(0x1dd)](_0x4e3165);for(const _0x688667 of _0x17ea0c)_0x5f3022[_0x13fa58(0x1e6)](_0x688667);for(const [_0x5f3b1f,_0x2852f5]of this['_dependencyTreeCache'])(_0x33004d||_0x2852f5[_0x13fa58(0x1d9)]||_0x2852f5[_0x13fa58(0x207)](this[_0x13fa58(0x1fa)]['getDirtyNameMap']())||_0x5f3022['has'](_0x5f3b1f)&&!_0x2852f5[_0x13fa58(0x1b6)](this[_0x13fa58(0x1fa)][_0x13fa58(0x142)]()))&&!_0x481eba['has'](_0x5f3b1f)&&(_0x107e12['push'](_0x2852f5),_0x481eba[_0x13fa58(0x1e6)](_0x5f3b1f));for(const [_0x5ba5d9,_0x4e453e]of this[_0x13fa58(0x14b)])_0x4e453e[_0x13fa58(0x1d7)]||(_0x4e453e[_0x13fa58(0x153)][_0x13fa58(0x156)]=0x0);return _0x107e12;}[_0x17d5b2(0x155)](_0x28b190){const _0x869553=_0x17d5b2;return this['_dependencyTreeCache'][_0x869553(0x16d)](_0x28b190);}[_0x17d5b2(0x15d)](_0x1cce3b){const _0x52f89d=_0x17d5b2;return i[_0x52f89d(0x152)](_0x1cce3b[_0x52f89d(0x133)],_0x1cce3b['formula'],this[_0x52f89d(0x18b)],this[_0x52f89d(0x1b5)],this[_0x52f89d(0x1fa)]);}*[_0x17d5b2(0x17c)](_0x583e66,_0x137ac0){const _0x44123d=_0x17d5b2,_0x4ff7f8=_0x583e66,_0x6b0302=new Set();for(;_0x4ff7f8[_0x44123d(0x156)]>0x0;){const _0x2859b0=_0x4ff7f8[_0x44123d(0x1ae)]();if(_0x6b0302[_0x44123d(0x1b7)](),_0x2859b0===void 0x0||_0x2859b0['isSkip']())continue;if(_0x2859b0['isAdded']()){yield _0x2859b0,_0x2859b0[_0x44123d(0x199)](),_0x137ac0[_0x44123d(0x1e6)](_0x2859b0['treeId']);continue;}const _0x40427a=this['_dependencyManagerService'][_0x44123d(0x184)](_0x2859b0[_0x44123d(0x1a4)](),_0x137ac0),_0x38940b=this[_0x44123d(0x1c9)][_0x44123d(0x1dd)](_0x2859b0['toRTreeItem'](),_0x137ac0);for(const _0x198829 of _0x38940b)_0x40427a['add'](_0x198829);for(const _0x56a8cb of _0x40427a){const _0x244318=this[_0x44123d(0x14b)][_0x44123d(0x16d)](_0x56a8cb);if(!_0x244318)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x244318[_0x44123d(0x1e0)]()||_0x2859b0[_0x44123d(0x1c7)]()||_0x6b0302[_0x44123d(0x1e6)](_0x244318);}if(_0x40427a[_0x44123d(0x1b7)](),_0x6b0302[_0x44123d(0x164)]===0x0)yield _0x2859b0,_0x2859b0['setSkip'](),_0x137ac0['add'](_0x2859b0[_0x44123d(0x12c)]);else{_0x2859b0[_0x44123d(0x1c6)](),_0x4ff7f8[_0x44123d(0x190)](_0x2859b0);for(const _0xfe4db4 of _0x6b0302)_0x4ff7f8[_0x44123d(0x190)](_0xfe4db4);}}_0x4ff7f8[_0x44123d(0x156)]=0x0,_0x6b0302[_0x44123d(0x1b7)]();}[_0x17d5b2(0x1c4)](_0x56d978){const _0x4b6c5e=_0x17d5b2,_0x43457f=[],_0x4fd16f=new Set();for(const _0x4b830a of this[_0x4b6c5e(0x17c)](_0x56d978,_0x4fd16f))_0x43457f['push'](_0x4b830a);return _0x43457f;}}class K extends i['LexerTreeBuilder']{constructor(){const _0x26abd4=_0x17d5b2;super(...arguments),b(this,_0x26abd4(0x147),!0x1),b(this,_0x26abd4(0x1aa),new Set());}[_0x17d5b2(0x158)](_0x43da96,_0x246570){const _0x121710=_0x17d5b2,_0x5e0ebb=this[_0x121710(0x1ff)](_0x43da96,!0x1);if(!_0x5e0ebb||_0x5e0ebb===i[_0x121710(0x146)][_0x121710(0x1c0)]||Array[_0x121710(0x192)](_0x5e0ebb))return null;const _0x4e5747=[];return this[_0x121710(0x147)]=!0x1,this['_generateNewFunctionString'](_0x5e0ebb,_0x4e5747,_0x246570),this['_hasNewExcelFunction']?'='+_0x4e5747[_0x121710(0x188)](''):null;}[_0x17d5b2(0x17a)](_0x2e1928,_0x5babd7,_0x4c6f17){const _0x2a5acd=_0x17d5b2,_0x3b0005=_0x2e1928[_0x2a5acd(0x143)](),_0x91a46d=_0x3b0005['trim'](),_0x59c6ff=_0x91a46d['toUpperCase'](),_0x525516=this[_0x2a5acd(0x1df)](_0x59c6ff),_0x48f353=_0x4c6f17(_0x525516);let _0x3d278b=0x0;_0x3b0005===i['DEFAULT_TOKEN_TYPE_ROOT']?_0x3d278b=0x3:_0x3b0005===i[_0x2a5acd(0x181)]?_0x3d278b=0x4:_0x3b0005===i[_0x2a5acd(0x1c3)]?_0x3d278b=0x5:i['NEW_EXCEL_FUNCTIONS'][_0x2a5acd(0x17b)](_0x525516)?(_0x5babd7[_0x2a5acd(0x190)](_0x2a5acd(0x200)+_0x91a46d),this[_0x2a5acd(0x147)]=!0x0):_0x59c6ff===i[_0x2a5acd(0x1d4)]?(_0x5babd7[_0x2a5acd(0x190)](_0x2a5acd(0x200)+_0x91a46d),this[_0x2a5acd(0x147)]=!0x0,_0x3d278b=0x2):_0x59c6ff===i[_0x2a5acd(0x1b3)]?(_0x5babd7[_0x2a5acd(0x190)](_0x2a5acd(0x200)+_0x91a46d),this[_0x2a5acd(0x147)]=!0x0,_0x3d278b=0x1):_0x59c6ff===i[_0x2a5acd(0x1a5)][_0x2a5acd(0x176)]?_0x3d278b=0x8:i[_0x2a5acd(0x1c5)]['has'](_0x59c6ff)?_0x3d278b=0x7:_0x59c6ff===i[_0x2a5acd(0x180)][_0x2a5acd(0x1e1)]?(this[_0x2a5acd(0x19c)](_0x2e1928)&&(_0x3d278b=0x9),_0x5babd7['push'](_0x3b0005)):(_0x5babd7['push'](_0x3b0005),_0x3d278b=0xa),_0x48f353?(_0x3d278b!==0x2&&_0x3d278b!==0x1&&(_0x3d278b=0x6),_0x5babd7['push']('(')):_0x3d278b===0x9&&_0x5babd7[_0x2a5acd(0x190)]('(');const _0x533739=_0x2e1928['getChildren'](),_0x16e86d=_0x533739[_0x2a5acd(0x156)];if(_0x3d278b===0x2){const _0x2136b7=_0x533739[0x0];let _0x506374=0x0;_0x2136b7 instanceof i['LexerNode']&&_0x2136b7[_0x2a5acd(0x143)]()===i[_0x2a5acd(0x1c3)]&&(_0x506374=0x1);for(let _0x1c899a=_0x506374;_0x1c899a<_0x16e86d-0x1;_0x1c899a++){const _0x5df7ad=_0x533739[_0x1c899a];if(_0x5df7ad instanceof i[_0x2a5acd(0x1f7)]){const _0x13cd76=_0x5df7ad[_0x2a5acd(0x14c)]()[0x0];typeof _0x13cd76==_0x2a5acd(0x19f)&&(this[_0x2a5acd(0x1aa)]['has'](_0x13cd76)&&console[_0x2a5acd(0x14f)]('Lambda\x20parameter\x20name\x20\x22'+_0x13cd76+_0x2a5acd(0x139)),this[_0x2a5acd(0x1aa)][_0x2a5acd(0x1e6)](_0x13cd76),_0x5babd7[_0x2a5acd(0x190)](_0x2a5acd(0x12d)+_0x13cd76),this[_0x2a5acd(0x147)]=!0x0);}_0x5babd7[_0x2a5acd(0x190)](',');}this[_0x2a5acd(0x165)](_0x533739[_0x16e86d-0x1],_0x5babd7,_0x4c6f17),_0x506374===0x1&&(_0x5babd7[_0x2a5acd(0x190)](')'),_0x5babd7['push']('('),this[_0x2a5acd(0x17a)](_0x2136b7,_0x5babd7,_0x4c6f17)),_0x5babd7[_0x2a5acd(0x190)](')');return;}else{if(_0x3d278b===0x1){for(let _0x3964aa=0x0;_0x3964aa<_0x16e86d-0x1;_0x3964aa++){const _0x35b3fd=_0x533739[_0x3964aa];if(_0x35b3fd instanceof i['LexerNode']&&_0x3964aa%0x2===0x0){const _0x1362d2=_0x35b3fd[_0x2a5acd(0x14c)]()[0x0];if(typeof _0x1362d2==_0x2a5acd(0x19f)){this[_0x2a5acd(0x1aa)][_0x2a5acd(0x17b)](_0x1362d2)&&console[_0x2a5acd(0x14f)](_0x2a5acd(0x1f3)+_0x1362d2+_0x2a5acd(0x139)),this[_0x2a5acd(0x1aa)][_0x2a5acd(0x1e6)](_0x1362d2),_0x5babd7['push'](_0x2a5acd(0x12d)+_0x1362d2),this[_0x2a5acd(0x147)]=!0x0,_0x5babd7[_0x2a5acd(0x190)](',');continue;}}if(this[_0x2a5acd(0x165)](_0x35b3fd,_0x5babd7,_0x4c6f17),_0x35b3fd instanceof i[_0x2a5acd(0x1f7)]){const _0x298f45=_0x533739[_0x3964aa+0x1];_0x298f45&&_0x298f45 instanceof i[_0x2a5acd(0x1f7)]&&_0x5babd7[_0x2a5acd(0x190)](',');}}this[_0x2a5acd(0x165)](_0x533739[_0x16e86d-0x1],_0x5babd7,_0x4c6f17),_0x5babd7['push'](')');return;}else{if(_0x3d278b===0x8){const _0x102856=_0x533739[0x0],_0x5aaf71=_0x533739[0x1];this[_0x2a5acd(0x165)](_0x102856,_0x5babd7,_0x4c6f17),_0x5babd7[_0x2a5acd(0x190)](_0x3b0005),this[_0x2a5acd(0x165)](_0x5aaf71,_0x5babd7,_0x4c6f17);return;}}}for(let _0x22506b=0x0;_0x22506b<_0x16e86d;_0x22506b++){const _0x1aa01d=_0x533739[_0x22506b];if(this[_0x2a5acd(0x165)](_0x1aa01d,_0x5babd7,_0x4c6f17),_0x1aa01d instanceof i[_0x2a5acd(0x1f7)]){const _0x4e1cbc=_0x533739[_0x22506b+0x1];_0x4e1cbc&&_0x4e1cbc instanceof i[_0x2a5acd(0x1f7)]&&_0x5babd7[_0x2a5acd(0x190)](',');}}_0x3d278b===0x7&&_0x5babd7['push'](_0x3b0005),(_0x48f353||_0x3d278b===0x9)&&_0x5babd7[_0x2a5acd(0x190)](')');}[_0x17d5b2(0x165)](_0x1fb8ba,_0x5aa157,_0x3069e8){const _0x58facd=_0x17d5b2;_0x1fb8ba instanceof i[_0x58facd(0x1f7)]?this[_0x58facd(0x17a)](_0x1fb8ba,_0x5aa157,_0x3069e8):this['_lambdaFunctionParameterSet'][_0x58facd(0x17b)](_0x1fb8ba)?(_0x5aa157[_0x58facd(0x190)](_0x58facd(0x12d)+_0x1fb8ba),this['_hasNewExcelFunction']=!0x0):_0x5aa157['push'](_0x1fb8ba);}['_clearFunctionString'](_0x201b0c){const _0x28f13a=_0x17d5b2;let _0x31a802=_0x201b0c[_0x28f13a(0x201)]();if(!_0x31a802)return _0x31a802;const _0x5a030b=_0x31a802[0x0];if((_0x5a030b===i[_0x28f13a(0x180)]['AT']||_0x5a030b===i[_0x28f13a(0x180)]['MINUS']||_0x5a030b===i[_0x28f13a(0x180)][_0x28f13a(0x14e)])&&(_0x31a802=_0x31a802[_0x28f13a(0x1af)](0x1)),!_0x31a802)return _0x31a802;const _0x4b92a5=_0x31a802[_0x31a802[_0x28f13a(0x156)]-0x1];return i['SUFFIX_TOKEN_SET'][_0x28f13a(0x17b)](_0x4b92a5)&&(_0x31a802=_0x31a802[_0x28f13a(0x1af)](0x0,-0x1)),_0x31a802;}['_checkAddBracketForMinus'](_0x3bbdbd){const _0x1d5d4e=_0x17d5b2,_0x59a245=_0x3bbdbd[_0x1d5d4e(0x14c)]()[0x0];if(!_0x59a245||!(_0x59a245 instanceof i[_0x1d5d4e(0x1f7)])||_0x3bbdbd[_0x1d5d4e(0x14c)]()[_0x1d5d4e(0x156)]>0x1)return!0x1;const _0x4058b1=_0x59a245[_0x1d5d4e(0x14c)](),_0x2a5c39=_0x4058b1[_0x1d5d4e(0x156)];if(_0x2a5c39===0x1)return!0x1;for(let _0x45b99b=0x0;_0x45b99b<_0x2a5c39;_0x45b99b++){const _0x66ed30=_0x4058b1[_0x45b99b];if(!(_0x66ed30 instanceof i['LexerNode'])&&i[_0x1d5d4e(0x1bf)][_0x1d5d4e(0x17b)](_0x66ed30))return!0x0;}return!0x1;}}class V extends i[_0x17d5b2(0x161)]{async['_apply'](_0x4dce2f=!0x1){const _0x46d7ee=_0x17d5b2;_0x4dce2f?this['_runtimeService'][_0x46d7ee(0x151)](i['FormulaExecuteStageType'][_0x46d7ee(0x168)]):this[_0x46d7ee(0x1a8)][_0x46d7ee(0x151)](i['FormulaExecuteStageType'][_0x46d7ee(0x18e)]),this[_0x46d7ee(0x187)][_0x46d7ee(0x13f)](this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1a2)]());const _0x2dbeb3=await this[_0x46d7ee(0x1ac)]['generate'](),_0x4490ee=this[_0x46d7ee(0x1fe)];_0x4dce2f?(this[_0x46d7ee(0x1a8)][_0x46d7ee(0x151)](i['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this[_0x46d7ee(0x1a8)]['setTotalArrayFormulasToCalculate'](_0x2dbeb3['length'])):(this['_runtimeService'][_0x46d7ee(0x151)](i[_0x46d7ee(0x145)][_0x46d7ee(0x130)]),this[_0x46d7ee(0x1a8)][_0x46d7ee(0x178)](_0x2dbeb3[_0x46d7ee(0x156)])),this[_0x46d7ee(0x187)][_0x46d7ee(0x13f)](this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1a2)]());let _0x48d584=[];const _0xbf7ea1=this[_0x46d7ee(0x18d)][_0x46d7ee(0x166)](i[_0x46d7ee(0x1c8)]),_0xae26de=(_0xbf7ea1==null?void 0x0:_0xbf7ea1['intervalCount'])||i[_0x46d7ee(0x148)];let _0x57bcdc=0x0;const _0x3689d9=_0x2dbeb3[_0x46d7ee(0x156)];for(;_0x2dbeb3[_0x46d7ee(0x156)]>0x0;){const _0x364616=_0x2dbeb3[_0x46d7ee(0x1ae)](),_0x1083d9=i[_0x46d7ee(0x152)](_0x364616[_0x46d7ee(0x133)],_0x364616[_0x46d7ee(0x1a1)],this['_lexer'],this[_0x46d7ee(0x1b5)],this[_0x46d7ee(0x1fa)]),_0x35580f={'node':_0x1083d9,'refOffsetX':_0x364616[_0x46d7ee(0x173)],'refOffsetY':_0x364616[_0x46d7ee(0x171)]},_0x333a91=_0x364616[_0x46d7ee(0x1d6)];if(_0x57bcdc%_0xae26de===0x0&&(await new Promise(_0x710c75=>{const _0x359bad=_0x46d7ee,_0x4a206a=N[_0x359bad(0x19d)](_0x710c75);_0x48d584[_0x359bad(0x190)](_0x4a206a);}),_0x4dce2f?(this[_0x46d7ee(0x1a8)][_0x46d7ee(0x151)](i['FormulaExecuteStageType'][_0x46d7ee(0x160)]),this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1f2)](_0x57bcdc+0x1)):(this[_0x46d7ee(0x1a8)]['setFormulaExecuteStage'](i['FormulaExecuteStageType'][_0x46d7ee(0x135)]),this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1ce)](_0x57bcdc+0x1)),this[_0x46d7ee(0x187)][_0x46d7ee(0x13f)](this['_runtimeService'][_0x46d7ee(0x1a2)]()),this[_0x46d7ee(0x1a8)][_0x46d7ee(0x15e)]()||_0x35580f==null&&_0x333a91==null)){this[_0x46d7ee(0x1a8)][_0x46d7ee(0x151)](i[_0x46d7ee(0x145)][_0x46d7ee(0x1e5)]),this[_0x46d7ee(0x1a8)][_0x46d7ee(0x204)](),this['_executionCompleteListener$'][_0x46d7ee(0x13f)](this[_0x46d7ee(0x1a8)][_0x46d7ee(0x141)]());return;}this[_0x46d7ee(0x1a8)][_0x46d7ee(0x16c)](_0x364616['row'],_0x364616[_0x46d7ee(0x1a9)],_0x364616['rowCount'],_0x364616[_0x46d7ee(0x205)],_0x364616['subUnitId'],_0x364616[_0x46d7ee(0x133)]);let _0x1488cf;if(_0x333a91!=null&&_0x364616[_0x46d7ee(0x191)]!=null){const {runtimeCellData:_0xea8833,dirtyRanges:_0xda7232}=_0x333a91(this['_currentConfigService']['getDirtyData'](),this['_runtimeService'][_0x46d7ee(0x141)]());this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1b4)](_0x364616[_0x46d7ee(0x191)],_0xea8833),this[_0x46d7ee(0x1a8)]['setRuntimeFeatureRange'](_0x364616['featureId'],_0xda7232);}else _0x35580f!=null&&(_0x4490ee['checkAsyncNode'](_0x35580f[_0x46d7ee(0x1f0)])?_0x1488cf=await _0x4490ee['executeAsync'](_0x35580f):_0x1488cf=_0x4490ee[_0x46d7ee(0x12f)](_0x35580f),_0x364616['formulaId']!=null?this[_0x46d7ee(0x1a8)][_0x46d7ee(0x13c)](_0x364616[_0x46d7ee(0x1d3)],_0x364616[_0x46d7ee(0x173)],_0x364616[_0x46d7ee(0x171)],_0x1488cf):this['_runtimeService'][_0x46d7ee(0x17f)](_0x1488cf));_0x1083d9['resetCalculationState'](),_0x57bcdc++;}return _0x48d584['forEach'](_0x3f3e29=>_0x3f3e29()),_0x48d584=[],_0x3689d9>0x0?this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1eb)]():_0x4dce2f||this[_0x46d7ee(0x1a8)][_0x46d7ee(0x1a3)](),this[_0x46d7ee(0x1a8)]['getAllRuntimeData']();}}class G extends i['DependencyManagerBaseService']{constructor(){const _0x58a3ef=_0x17d5b2;super(...arguments),b(this,'_allTreeMap',new Map()),b(this,_0x58a3ef(0x18c),new N[(_0x58a3ef(0x13d))](!0x0));}[_0x17d5b2(0x174)](){const _0x1f35b0=_0x17d5b2;this[_0x1f35b0(0x1d2)][_0x1f35b0(0x1b7)](),this[_0x1f35b0(0x159)][_0x1f35b0(0x1b7)](),this[_0x1f35b0(0x140)]['clear'](),this[_0x1f35b0(0x18c)][_0x1f35b0(0x1b7)](),this[_0x1f35b0(0x197)]['clear'](),this[_0x1f35b0(0x1f9)](),this[_0x1f35b0(0x198)][_0x1f35b0(0x1b7)]();}[_0x17d5b2(0x1a7)](_0x5e8dfb,_0x1b0c4e,_0x519ada,_0x16e230){const _0x12036e=_0x17d5b2;this['_otherFormulaData'][_0x12036e(0x17b)](_0x5e8dfb)||this[_0x12036e(0x1d2)][_0x12036e(0x136)](_0x5e8dfb,new Map());const _0x35548b=this[_0x12036e(0x1d2)][_0x12036e(0x16d)](_0x5e8dfb);_0x35548b[_0x12036e(0x17b)](_0x1b0c4e)||_0x35548b['set'](_0x1b0c4e,new Map());const _0x4d9656=_0x35548b[_0x12036e(0x16d)](_0x1b0c4e);_0x4d9656[_0x12036e(0x17b)](_0x519ada)||_0x4d9656['set'](_0x519ada,new N[(_0x12036e(0x14a))]()),_0x4d9656['get'](_0x519ada)[_0x12036e(0x16e)](_0x16e230['refOffsetX'],_0x16e230[_0x12036e(0x171)],_0x16e230[_0x12036e(0x12c)]);}[_0x17d5b2(0x1e3)](_0x38f6fd,_0x1ab848,_0x1a958b){const _0x3c8355=_0x17d5b2,_0x4c3744=this[_0x3c8355(0x1d2)][_0x3c8355(0x16d)](_0x38f6fd);if(_0x4c3744&&_0x4c3744[_0x3c8355(0x17b)](_0x1ab848)){const _0x41cce5=_0x4c3744[_0x3c8355(0x16d)](_0x1ab848);_0x1a958b[_0x3c8355(0x12e)](_0x21db44=>{const _0x20870e=_0x3c8355,_0x2a38d3=_0x41cce5['get'](_0x21db44);_0x2a38d3!=null&&(_0x2a38d3['forValue']((_0x27802d,_0x5c8650,_0x5f10c6)=>{const _0x26802=_0x52b3;this[_0x26802(0x19b)](_0x5f10c6),this[_0x26802(0x144)](_0x5f10c6);}),_0x41cce5['delete'](_0x21db44),this[_0x20870e(0x198)]['delete'](_0x21db44));}),_0x41cce5[_0x3c8355(0x164)]===0x0&&_0x4c3744[_0x3c8355(0x1db)](_0x1ab848),_0x4c3744[_0x3c8355(0x164)]===0x0&&this[_0x3c8355(0x1d2)][_0x3c8355(0x1db)](_0x38f6fd);}}[_0x17d5b2(0x162)](_0x49de7e,_0x194806){const _0x5e0f0b=_0x17d5b2,_0xdf9f3d=this[_0x5e0f0b(0x1d2)][_0x5e0f0b(0x16d)](_0x49de7e);if(_0x194806&&_0xdf9f3d&&_0xdf9f3d[_0x5e0f0b(0x17b)](_0x194806)){const _0x39da8c=_0xdf9f3d[_0x5e0f0b(0x16d)](_0x194806);this[_0x5e0f0b(0x1de)](_0x49de7e,_0x194806);for(const _0x278f41 of _0x39da8c[_0x5e0f0b(0x1fb)]()){const _0x5c943d=_0x39da8c['get'](_0x278f41);_0x5c943d!=null&&(_0x5c943d[_0x5e0f0b(0x1ba)]((_0x5b3ef3,_0x905067,_0xa5c2d7)=>{const _0x2a60ee=_0x5e0f0b;this[_0x2a60ee(0x197)][_0x2a60ee(0x16d)](_0xa5c2d7)&&this[_0x2a60ee(0x144)](_0xa5c2d7);}),this['_otherFormulaDataMainData'][_0x5e0f0b(0x1db)](_0x278f41));}_0x39da8c['clear']();}else{if(_0xdf9f3d){for(const _0xac31d5 of _0xdf9f3d['keys']()){const _0x1e2250=_0xdf9f3d[_0x5e0f0b(0x16d)](_0xac31d5);this['_removeDependencyRTreeCacheById'](_0x49de7e,_0xac31d5);for(const _0x1a78a0 of _0x1e2250[_0x5e0f0b(0x1fb)]()){const _0xd956c5=_0x1e2250['get'](_0x1a78a0);_0xd956c5!=null&&(_0xd956c5[_0x5e0f0b(0x1ba)]((_0x5427b6,_0x548395,_0x545d35)=>{const _0x22756a=_0x5e0f0b;this[_0x22756a(0x197)][_0x22756a(0x16d)](_0x545d35)&&this[_0x22756a(0x144)](_0x545d35);}),this['_otherFormulaDataMainData'][_0x5e0f0b(0x1db)](_0x1a78a0));}}this[_0x5e0f0b(0x1d2)][_0x5e0f0b(0x1db)](_0x49de7e);}}}[_0x17d5b2(0x1bb)](_0x26db5d,_0x55302e,_0x39ddc1,_0x3afee9){const _0x2a42ba=_0x17d5b2;this[_0x2a42ba(0x159)][_0x2a42ba(0x17b)](_0x26db5d)||this[_0x2a42ba(0x159)][_0x2a42ba(0x136)](_0x26db5d,new Map());const _0x1fee1e=this[_0x2a42ba(0x159)]['get'](_0x26db5d);_0x1fee1e[_0x2a42ba(0x17b)](_0x55302e)||_0x1fee1e[_0x2a42ba(0x136)](_0x55302e,new Map()),_0x1fee1e['get'](_0x55302e)[_0x2a42ba(0x136)](_0x39ddc1,_0x3afee9[_0x2a42ba(0x12c)]);}[_0x17d5b2(0x182)](_0x57da38,_0xf5cbf9,_0x3795a2){const _0x5d704e=_0x17d5b2,_0x4da847=this[_0x5d704e(0x159)][_0x5d704e(0x16d)](_0x57da38);if(_0x4da847&&_0x4da847[_0x5d704e(0x17b)](_0xf5cbf9)){const _0x2c9de1=_0x4da847['get'](_0xf5cbf9);_0x3795a2[_0x5d704e(0x12e)](_0x325268=>{const _0x404d19=_0x5d704e,_0x28604b=_0x2c9de1['get'](_0x325268);_0x28604b!=null&&(this[_0x404d19(0x19b)](_0x28604b),_0x2c9de1['delete'](_0x325268),this[_0x404d19(0x144)](_0x28604b));});}}[_0x17d5b2(0x131)](_0x3d7745,_0x4f024b){const _0x4a7d59=_0x17d5b2,_0xc58b6a=this[_0x4a7d59(0x159)][_0x4a7d59(0x16d)](_0x3d7745);if(_0x4f024b&&_0xc58b6a&&_0xc58b6a[_0x4a7d59(0x17b)](_0x4f024b)){const _0x9bc0ac=_0xc58b6a['get'](_0x4f024b);this[_0x4a7d59(0x1de)](_0x3d7745,_0x4f024b),_0x9bc0ac[_0x4a7d59(0x12e)](_0x49d59e=>{const _0x44c58a=_0x4a7d59;_0x49d59e!=null&&this[_0x44c58a(0x144)](_0x49d59e);}),_0x9bc0ac['clear']();}else _0xc58b6a&&(_0xc58b6a['forEach']((_0x1c14a5,_0x42d2ea)=>{const _0x42f9cc=_0x4a7d59;this[_0x42f9cc(0x1de)](_0x3d7745,_0x42d2ea),_0x1c14a5[_0x42f9cc(0x12e)](_0x2ab2f5=>{_0x2ab2f5!=null&&this['_removeAllTreeMap'](_0x2ab2f5);});}),this[_0x4a7d59(0x159)][_0x4a7d59(0x1db)](_0x3d7745));}[_0x17d5b2(0x183)](_0x5f03d6,_0x36d97c,_0x5c931f,_0x41ad91,_0xdd1aea){const _0x16ab5a=_0x17d5b2;this['_formulaData'][_0x16ab5a(0x17b)](_0x5f03d6)||this[_0x16ab5a(0x140)][_0x16ab5a(0x136)](_0x5f03d6,new Map());const _0x23ab6b=this['_formulaData'][_0x16ab5a(0x16d)](_0x5f03d6);_0x23ab6b[_0x16ab5a(0x17b)](_0x36d97c)||_0x23ab6b[_0x16ab5a(0x136)](_0x36d97c,new N['ObjectMatrix']()),_0x23ab6b[_0x16ab5a(0x16d)](_0x36d97c)[_0x16ab5a(0x16e)](_0x5c931f,_0x41ad91,_0xdd1aea['treeId']);}[_0x17d5b2(0x203)](_0x2f67b0,_0x15d445,_0x948720,_0x49bc67){const _0xb13d2b=_0x17d5b2,_0x128cc4=this[_0xb13d2b(0x140)]['get'](_0x2f67b0);if(_0x128cc4&&_0x128cc4[_0xb13d2b(0x17b)](_0x15d445)){const _0x18c21c=_0x128cc4[_0xb13d2b(0x16d)](_0x15d445),_0x434bcd=_0x18c21c[_0xb13d2b(0x1bc)](_0x948720,_0x49bc67);if(_0x434bcd==null)return;this['_removeDependencyRTreeCache'](_0x434bcd),_0x18c21c[_0xb13d2b(0x1ea)](_0x948720,_0x49bc67),this[_0xb13d2b(0x144)](_0x434bcd);}}[_0x17d5b2(0x1e7)](_0x390bf5,_0x7e6370){const _0x22584b=_0x17d5b2,_0x481459=this[_0x22584b(0x140)][_0x22584b(0x16d)](_0x390bf5);if(_0x7e6370&&_0x481459&&_0x481459[_0x22584b(0x17b)](_0x7e6370)){const _0x377d15=_0x481459['get'](_0x7e6370);this[_0x22584b(0x1de)](_0x390bf5,_0x7e6370),_0x377d15[_0x22584b(0x1ba)]((_0x115929,_0x2d0f6d,_0xa94e36)=>{if(_0xa94e36==null)return!0x0;this['_removeAllTreeMap'](_0xa94e36);}),_0x377d15['reset']();}else _0x481459&&(_0x481459[_0x22584b(0x12e)]((_0x34fb64,_0x45997f)=>{const _0x1ebcb7=_0x22584b;this[_0x1ebcb7(0x1de)](_0x390bf5,_0x45997f),_0x34fb64[_0x1ebcb7(0x1ba)]((_0x15cfb6,_0x4f6788,_0x40bf9a)=>{const _0x60d0bb=_0x1ebcb7;if(_0x40bf9a==null)return!0x0;this[_0x60d0bb(0x144)](_0x40bf9a);});}),this[_0x22584b(0x140)]['delete'](_0x390bf5));}[_0x17d5b2(0x19b)](_0x338bae){const _0x1cd1ea=_0x17d5b2;if(_0x338bae==null)return;const _0x2e511b=this['_allTreeMap'][_0x1cd1ea(0x16d)](_0x338bae);if(_0x2e511b){const _0x298dc8=[];for(const [_0x5cc3e3,_0x637f89]of _0x2e511b)for(const [_0x2ed61a,_0x3f58fb]of _0x637f89)_0x298dc8[_0x1cd1ea(0x190)]({'unitId':_0x5cc3e3,'sheetId':_0x2ed61a,'range':_0x3f58fb,'id':_0x338bae});this[_0x1cd1ea(0x18c)][_0x1cd1ea(0x1c2)](_0x298dc8);}}['removeFormulaDependencyByDefinedName'](_0x2bf4d5,_0x30eef0){const _0x4c3948=_0x17d5b2,_0x1d2cc4=this[_0x4c3948(0x1ed)][_0x4c3948(0x16d)](_0x2bf4d5);if(_0x1d2cc4){const _0x546a35=_0x1d2cc4[_0x4c3948(0x16d)](_0x30eef0);if(_0x546a35){for(const _0x15bda3 of _0x546a35)this[_0x4c3948(0x19b)](_0x15bda3),this[_0x4c3948(0x144)](_0x15bda3);_0x546a35[_0x4c3948(0x1b7)]();}}}['openKdTree'](){const _0x23f0e5=_0x17d5b2;this['_dependencyRTreeCache'][_0x23f0e5(0x1d5)]();}['closeKdTree'](){const _0x5efd96=_0x17d5b2;this['_dependencyRTreeCache'][_0x5efd96(0x132)]();}['_removeAllTreeMap'](_0x4b0c6d){const _0x4706d4=_0x17d5b2;_0x4b0c6d!=null&&this[_0x4706d4(0x197)][_0x4706d4(0x1db)](_0x4b0c6d);}['_addAllTreeMap'](_0x3d3e6e){const _0x1c8e08=_0x17d5b2;var _0x2c1eb8,_0x2c0583;const _0x24df5d=_0x3d3e6e[_0x1c8e08(0x153)];let _0x558af6=this['_allTreeMap'][_0x1c8e08(0x16d)](_0x3d3e6e[_0x1c8e08(0x12c)]);for(let _0x288fd9=0x0;_0x288fd9<_0x24df5d[_0x1c8e08(0x156)];_0x288fd9++){const _0x3af549=_0x24df5d[_0x288fd9];let {unitId:_0x65d8bc,sheetId:_0x2141f5,range:_0x1b88cf}=_0x3af549;_0x558af6||(_0x558af6=new Map(),this[_0x1c8e08(0x197)]['set'](_0x3d3e6e[_0x1c8e08(0x12c)],_0x558af6)),_0x558af6[_0x1c8e08(0x17b)](_0x65d8bc)||_0x558af6[_0x1c8e08(0x136)](_0x65d8bc,new Map());const _0x2c1655=(_0x2c1eb8=_0x558af6==null?void 0x0:_0x558af6['get'](_0x65d8bc))==null?void 0x0:_0x2c1eb8[_0x1c8e08(0x16d)](_0x2141f5);_0x2c1655&&(_0x1b88cf={'startRow':Math['min'](_0x1b88cf[_0x1c8e08(0x1ef)],_0x2c1655[_0x1c8e08(0x1ef)]),'startColumn':Math[_0x1c8e08(0x1ab)](_0x1b88cf[_0x1c8e08(0x1ca)],_0x2c1655[_0x1c8e08(0x1ca)]),'endRow':Math['max'](_0x1b88cf[_0x1c8e08(0x1cc)],_0x2c1655[_0x1c8e08(0x1cc)]),'endColumn':Math[_0x1c8e08(0x1cf)](_0x1b88cf[_0x1c8e08(0x195)],_0x2c1655['endColumn'])}),(_0x2c0583=_0x558af6[_0x1c8e08(0x16d)](_0x65d8bc))==null||_0x2c0583[_0x1c8e08(0x136)](_0x2141f5,_0x1b88cf);}}}var $=Object['getOwnPropertyDescriptor'],W=(_0x46d828,_0x35a7b0,_0x1b379d,_0x2bc807)=>{const _0x1440ac=_0x17d5b2;for(var _0x29cbd8=_0x2bc807>0x1?void 0x0:_0x2bc807?$(_0x35a7b0,_0x1b379d):_0x35a7b0,_0x55a19d=_0x46d828[_0x1440ac(0x156)]-0x1,_0x3923e4;_0x55a19d>=0x0;_0x55a19d--)(_0x3923e4=_0x46d828[_0x55a19d])&&(_0x29cbd8=_0x3923e4(_0x29cbd8)||_0x29cbd8);return _0x29cbd8;};const X=Number[_0x17d5b2(0x154)](0x69216394);exports[_0x17d5b2(0x163)]=class extends i[_0x17d5b2(0x1be)]{[_0x17d5b2(0x206)](){const _0x2a39f1=_0x17d5b2;var _0x79198b,_0x5d5eee;this['_initLicenseValid']()?(this[_0x2a39f1(0x1cd)]['add']([i[_0x2a39f1(0x1b8)],{'useClass':K}]),(_0x79198b=this[_0x2a39f1(0x1bd)])!=null&&_0x79198b[_0x2a39f1(0x1ee)]||[[i[_0x2a39f1(0x175)],{'useClass':V}],[i[_0x2a39f1(0x1e2)],{'useClass':G}],[i[_0x2a39f1(0x1b0)],{'useClass':Q}]]['forEach'](_0x4b9afb=>this[_0x2a39f1(0x1cd)][_0x2a39f1(0x1e6)](_0x4b9afb))):(this[_0x2a39f1(0x1cd)][_0x2a39f1(0x1e6)]([i[_0x2a39f1(0x1b8)],{'useClass':i['LexerTreeBuilder']}]),(_0x5d5eee=this[_0x2a39f1(0x1bd)])!=null&&_0x5d5eee[_0x2a39f1(0x1ee)]||[[i[_0x2a39f1(0x175)],{'useClass':i[_0x2a39f1(0x161)]}],[i[_0x2a39f1(0x1e2)],{'useClass':i[_0x2a39f1(0x17e)]}],[i[_0x2a39f1(0x1b0)],{'useClass':i['FormulaDependencyGenerator']}]][_0x2a39f1(0x12e)](_0x4c96b0=>this[_0x2a39f1(0x1cd)][_0x2a39f1(0x1e6)](_0x4c96b0)));}[_0x17d5b2(0x196)](){const _0x47bb5b=_0x17d5b2;var _0x515c8a;const _0x3bad43=(_0x515c8a=this[_0x47bb5b(0x18d)][_0x47bb5b(0x166)](v[_0x47bb5b(0x1d1)]))!=null?_0x515c8a:{},{ls:_0x401c17,pbk:_0x4df08d}=_0x3bad43;if(!_0x401c17||!_0x4df08d)return!0x1;const _0x292caf=v[_0x47bb5b(0x1fc)](P,k),_0x4b58e5=new Function(_0x47bb5b(0x137)+_0x292caf)()(_0x401c17,_0x4df08d),_0x585df9=_0x4b58e5[_0x47bb5b(0x170)];return _0x4b58e5['valid']&&v[_0x47bb5b(0x13e)](_0x585df9,'sf',X)?v['getSheetFeatureLimit'](_0x585df9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=W([N['DependentOn'](v[_0x17d5b2(0x193)])],exports[_0x17d5b2(0x163)]),Object['keys'](i)[_0x17d5b2(0x12e)](_0x23b569=>{const _0x57788f=_0x17d5b2;_0x23b569!==_0x57788f(0x134)&&!Object[_0x57788f(0x19a)]['hasOwnProperty'][_0x57788f(0x15c)](exports,_0x23b569)&&Object[_0x57788f(0x17d)](exports,_0x23b569,{'enumerable':!0x0,'get':()=>i[_0x23b569]});});
1
+ 'use strict';const _0x572099=_0x5dff;(function(_0x41c083,_0x5f01e1){const _0x5eefac=_0x5dff,_0x516ae8=_0x41c083();while(!![]){try{const _0x405feb=-parseInt(_0x5eefac(0x22f))/0x1*(parseInt(_0x5eefac(0x1e7))/0x2)+-parseInt(_0x5eefac(0x1af))/0x3+parseInt(_0x5eefac(0x1cf))/0x4*(parseInt(_0x5eefac(0x16c))/0x5)+parseInt(_0x5eefac(0x1eb))/0x6+-parseInt(_0x5eefac(0x231))/0x7+-parseInt(_0x5eefac(0x202))/0x8+-parseInt(_0x5eefac(0x19b))/0x9*(-parseInt(_0x5eefac(0x211))/0xa);if(_0x405feb===_0x5f01e1)break;else _0x516ae8['push'](_0x516ae8['shift']());}catch(_0x34d33e){_0x516ae8['push'](_0x516ae8['shift']());}}}(_0x4928,0x89078));function _0x5dff(_0x506a1f,_0x153ecf){const _0x4928bd=_0x4928();return _0x5dff=function(_0x5dff0f,_0x4982e9){_0x5dff0f=_0x5dff0f-0x161;let _0x106076=_0x4928bd[_0x5dff0f];return _0x106076;},_0x5dff(_0x506a1f,_0x153ecf);}var I=Object[_0x572099(0x186)],P=(_0x2a2988,_0x32412c,_0x14d934)=>_0x32412c in _0x2a2988?I(_0x2a2988,_0x32412c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14d934}):_0x2a2988[_0x32412c]=_0x14d934,A=(_0x250bda,_0x1cec41,_0x289920)=>P(_0x250bda,typeof _0x1cec41!='symbol'?_0x1cec41+'':_0x1cec41,_0x289920);Object[_0x572099(0x186)](exports,Symbol[_0x572099(0x1b5)],{'value':_0x572099(0x218)});const U=require('@univerjs-pro/license'),D=require('@univerjs/core'),c=require('@univerjs/engine-formula'),k={0x0:'3',0x1:'A',0x2:'y',0x3:'V',0x4:'z',0x5:'i',0x6:'w',0x7:'E',0x8:'c',0x9:'M','f':'0','d':'1','e':'2','u':'4','y':'5','r':'6','a':'7','m':'8','N':'9','A':'a','h':'b','C':'d','n':'e','L':'f','H':'g','F':'h','B':'j','g':'k','K':'l','G':'m','U':'n','v':'o','t':'p','R':'q','W':'r','V':'s','x':'t','S':'u','O':'v','z':'x','k':'B','Z':'C','w':'D','s':'F','p':'G','I':'H','J':'I','l':'J','P':'K','j':'L','X':'N','i':'O','c':'P','T':'Q','E':'R','Q':'S','q':'T','Y':'U','M':'W','b':'X','D':'Y','o':'Z'},G=_0x572099(0x234);function _0x4928(){const _0x45c8e9=['resetCalculationState','20500Ejvvrb','isAdded','_currentConfigService','_dependencyRTreeCacheForAddressFunction','_generateTreeList','getToken','ParentDependencyTree\x20object\x20is\x20null','Module','getConfig','resolve','_getUpdateTreeListAndMakeDependency','generateAstNode','formulaId','_xlpm.','_formulaDependencyGenerator','_getFirstCellOfRange','push','ErrorType','closeKdTree','_checkAddBracketForMinus','_checkIsCycleDependency','_executionCompleteListener$','_dependencyTreeCache','addOtherFormulaDependency','refTree','VALUE','treeBuilder','error','LexerNode','addFormulaDependency','2KASKrr','getFormulaDependency','4354112IjjsLP','_hasNewExcelFunction','startRow','LSU8x5vU\x20Cn8W2tx5vU(K58nUVn,\x20tShK58Pn2)\x20{\x20\x20\x20\x20xW2\x20{\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20K58nUVnJULvcAWx1WWA2\x20=\x20K58nUVn.VtK5x(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20vW5H5U9nVVAHn\x20=\x20lQiX.tAWVn(Axvh(K58nUVnJULvcAWx1WWA2[e]));\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!vW5H5U9nVVAHn.SC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vW5H5U9nVVAHn.SC\x20=\x20XSGhnW(K58nUVnJULvcAWx1WWA2[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VMvWgnW\x20=\x20x2tnvL\x20MvWgnWpKvhAKQ8vtn\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20VnKL\x205UVxAU8nvL\x20MvWgnWpKvhAKQ8vtn;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VkWv6VnW\x20=\x20x2tnvL\x2065UCv6\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20x2tnvL\x2065UCv6.Kv8Ax5vU\x20!==\x20\x27SUCnL5UnC\x27;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x208vUxnzx\x20=\x205VMvWgnW\x20?\x20VnKL\x20:\x20(5VkWv6VnW\x20?\x2065UCv6\x20:\x20HKvhAKqF5V);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[e]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(GnVVAHnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[0]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(V5HUAxSWnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HU3AK5C\x20=\x208vUxnzx.__OnW5L2__(V5HUAxSWn,\x20GnVVAHn,\x20tShK58Pn2);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20CvGA5U\x20=\x20vW5H5U9nVVAHn.CG;\x20\x20\x20\x20\x20\x20\x20\x20LSU8x5vU\x205VwvGA5U9Ax8F5UH(vcAxxnWU,\x20vIvVx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWU\x20=\x20vcAxxnWU.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVx\x20=\x20vIvVx.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUcAWxV\x20=\x20tAxxnWU.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxcAWxV\x20=\x20FvVx.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!tAxxnWU.5U8KSCnV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWU\x20===\x20FvVx;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(tAxxnWUcAWxV.KnUHxF\x20<\x20e\x20||\x20tAxxnWUcAWxV[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUQSLL5z\x20=\x20tAxxnWUcAWxV.VK58n(d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxQSLL5z\x20=\x20FvVxcAWxV.VK58n(-tAxxnWUcAWxV.KnUHxF\x20+\x20d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWUQSLL5z\x20===\x20FvVxQSLL5z;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Knx\x20CvGA5U3AK5C\x20=\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x205L\x20(5VkWv6VnW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20(CvGA5U\x20&&\x20CvGA5U.KnUHxF)\x20?\x20CvGA5U.VvGn((CGJxnG)\x20=>\x205VwvGA5U9Ax8F5UH(CGJxnG,\x20Kv8Ax5vU.FvVxUAGn))\x20:\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(Kv8Ax5vU.FvVxUAGn\x20===\x20\x27Kv8AKFvVx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20nKVn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20OAK5C\x20=\x20V5HU3AK5C\x20&&\x20CvGA5U3AK5C;\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20vW5H5U9nVVAHn,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Ax8F\x20(nWWvW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C:\x20LAKVn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','isArray','isForceCalculate','forValue','_registerFormulas','getFeatureFormulaDependency','markedAsStopFunctionsExecuted','call','has','FormulaExecuteStageType','isStopExecution','_injector','CURRENTLY_CALCULATING_ARRAY_FORMULA','_restDependencyTreeId','isDirty','_generateNewFunctionString','START_DEPENDENCY_ARRAY_FORMULA','matchToken','type','410SBXDvM','_initLicenseValid','default','_traverse','bulkRemove','size','getUnitData','_initializeWithOverride','slice','treeId','_addAllTreeMap','_getTreeById','CalculateFormulaService','_dependencyRTreeCache','FormulaDependencyGenerator','startColumn','START_CALCULATION','refOffsetY','unshiftString','endRow','_astTreeBuilder','clearOtherFormulaDependency','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','get','FEATURE_FORMULA','_otherFormulaData','defineProperty','_featureFormulaData','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','addFeatureFormulaDependency','set','unitId','ObjectMatrix','openKdTree','length','prototype','enableCycleDependency','MINUS','clearFeatureFormulaDependency','setValue','_dependencyManagerService','_clearFunctionString','getOwnPropertyDescriptor','_executionInProgressListener$','prefixToken','_config','OPERATOR_TOKEN_SET','5598DNfzBz','isFeatureAuthorizedWithinTime','dependencySheetName','UniverFormulaEnginePlugin','refOffsetX','featureDirtyRanges','_formulaData','keys','DEFAULT_INTERVAL_COUNT','rangeList','columnCount','setRuntimeData','checkAsyncNode','isSkip','DEFAULT_TOKEN_LET_FUNCTION_NAME','CURRENTLY_CALCULATING','FormulaDependencyTree','_definedNameMap','delete','getDirtyRanges','1941801HoTxsu','setRuntimeFeatureCellData','DEFAULT_TOKEN_TYPE_PARAMETER','clearFormulaDependency','IFormulaDependencyGenerator','hasOtherFormulaDataMainData','toStringTag','_isCyclicUtilMap','PLUS','getSheetFeatureLimit','SUFFIX_TOKEN_SET','getAllRuntimeData','dispose','_removeDependencyRTreeCache','_createVirtualFDtree','valid','Let\x20variable\x20name\x20\x22','message','removeOtherFormulaDependency','UniverProFormulaEnginePlugin','_updateRangeFlatten','setCompletedFormulasCount','getDirtyData','markedAsNoFunctionsExecuted','isExcludeRange','notExecuteFormula','_removeAllTreeMap','markedAsSuccessfullyExecuted','max','getValue','_getFeatureFormulaTree','START_CALCULATION_ARRAY_FORMULA','29360xOGTLZ','clear','setSkip','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','setTotalArrayFormulasToCalculate','_convertDirtyRangesToUnitRange','generateRandomDependencyTreeId','formula','RTree','FormulaDependencyTreeType','_runtimeService','_calculateRunList','_interpreter','_configService','join','requestImmediateMacroTask','setAdded','generate','FormulaDependencyTreeVirtual','IDependencyManagerService','row','getChildren','getExcludedRange','pop','110438pcyiLO','forEach','NEW_EXCEL_FUNCTIONS','_otherFormulaDataMainData','730782oKMJJX','toUpperCase','isCache','searchDependency','reset','getOtherFormulaData','min','OTHER_FORMULA','Lambda\x20parameter\x20name\x20\x22','_allTreeMap','\x22\x20is\x20duplicated.','IDLE','removeFormulaDependency','ICalculateFormulaService','toRTreeItem','getClearDependencyTreeCache','removeFeatureFormulaDependency','featureId','next','endColumn','_removeDependencyRTreeCacheById','LexerTreeBuilder','rowCount','462272NBlSdr','LS_CONFIG_KEY','add','_xlfn.','_createFDtree','subUnitId','addFormulaDependencyByDefinedName','trim','setFormulaExecuteStage','_lambdaFunctionParameterSet','UniverLicensePlugin','_lexer','_handleNewFunctionChild','execute'];_0x4928=function(){return _0x45c8e9;};return _0x4928();}class b extends c[_0x572099(0x17a)]{constructor(){super(...arguments),A(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x4a8057=_0x572099;super[_0x4a8057(0x1bb)](),this[_0x4a8057(0x227)][_0x4a8057(0x1d0)]();}async[_0x572099(0x1e0)](){const _0xd8bd6d=_0x572099;this[_0xd8bd6d(0x1c3)]();const _0x1bca33=this[_0xd8bd6d(0x213)]['getFormulaData'](),_0x2579ab=this['_otherFormulaManagerService'][_0xd8bd6d(0x1f0)](),_0x5783f7=this[_0xd8bd6d(0x213)][_0xd8bd6d(0x1fa)]();_0x5783f7!=null&&Object[_0xd8bd6d(0x1a2)](_0x5783f7)[_0xd8bd6d(0x1e8)](_0x1fb63c=>{const _0x4d5db5=_0xd8bd6d;_0x1fb63c!=null&&Object['keys'](_0x5783f7[_0x1fb63c])[_0x4d5db5(0x1e8)](_0x3e1313=>{const _0x23fe6c=_0x4d5db5;_0x3e1313!=null&&(this[_0x23fe6c(0x194)]['clearOtherFormulaDependency'](_0x1fb63c,_0x3e1313),this[_0x23fe6c(0x194)][_0x23fe6c(0x192)](_0x1fb63c,_0x3e1313),this['_dependencyManagerService'][_0x23fe6c(0x1b2)](_0x1fb63c,_0x3e1313));});});const _0x5e6b43=this[_0xd8bd6d(0x213)][_0xd8bd6d(0x172)]();await this[_0xd8bd6d(0x215)](_0x1bca33,_0x2579ab,_0x5e6b43),this[_0xd8bd6d(0x194)][_0xd8bd6d(0x18d)]();const _0x160abd=this[_0xd8bd6d(0x21b)](),_0x3cc594=this[_0xd8bd6d(0x1da)](_0x160abd);return this[_0xd8bd6d(0x225)](_0x3cc594)&&this['_runtimeService'][_0xd8bd6d(0x190)](),this[_0xd8bd6d(0x227)][_0xd8bd6d(0x1d0)](),this[_0xd8bd6d(0x214)][_0xd8bd6d(0x1d0)](),this[_0xd8bd6d(0x194)][_0xd8bd6d(0x223)](),this[_0xd8bd6d(0x1d9)]['clearArrayObjectCache'](),Promise[_0xd8bd6d(0x21a)](_0x3cc594);}[_0x572099(0x1b6)](_0x145499,_0x42167c){const _0x306ea8=_0x572099,_0xea95e4=[_0x145499];for(;_0xea95e4[_0x306ea8(0x18e)]>0x0;){const _0x148b94=_0xea95e4[_0xea95e4[_0x306ea8(0x18e)]-0x1];if((_0x42167c[_0x306ea8(0x183)](_0x148b94)||0x0)===0x0){_0x42167c[_0x306ea8(0x18a)](_0x148b94,0x1);const _0x422bec=this[_0x306ea8(0x227)][_0x306ea8(0x183)](_0x148b94);if(_0x422bec==null){_0x42167c[_0x306ea8(0x18a)](_0x148b94,0x2),_0xea95e4[_0x306ea8(0x1e6)]();continue;}const _0x5d3c52=this[_0x306ea8(0x194)]['searchDependency'](_0x422bec[_0x306ea8(0x1f9)]());for(const _0x32611a of _0x5d3c52){const _0x12a63c=_0x42167c['get'](_0x32611a)||0x0;if(_0x12a63c===0x1)return!0x0;_0x12a63c===0x0&&_0xea95e4[_0x306ea8(0x221)](_0x32611a);}}else _0x42167c['set'](_0x148b94,0x2),_0xea95e4[_0x306ea8(0x1e6)]();}return!0x1;}[_0x572099(0x225)](_0x1aa852){const _0x5607de=_0x572099,_0x544138=new Map();for(const _0x1bb820 of _0x1aa852)if(!_0x544138[_0x5607de(0x161)](_0x1bb820[_0x5607de(0x175)])&&this[_0x5607de(0x1b6)](_0x1bb820[_0x5607de(0x175)],_0x544138))return!0x0;return _0x544138['clear'](),!0x1;}[_0x572099(0x1cd)](_0x1ca949,_0x117ab6,_0x513f6b){const _0x35ea10=_0x572099,{unitId:_0x18d625,subUnitId:_0x21405d,dependencyRanges:_0x198763,getDirtyData:_0x317464}=_0x513f6b,_0x1b1571=_0x117ab6||c[_0x35ea10(0x1d5)](this[_0x35ea10(0x194)]),_0x5ecb9a=new c[(_0x35ea10(0x1ab))](_0x1b1571);_0x5ecb9a[_0x35ea10(0x18b)]=_0x18d625,_0x5ecb9a[_0x35ea10(0x207)]=_0x21405d,_0x5ecb9a[_0x35ea10(0x1a4)]=_0x198763,_0x5ecb9a[_0x35ea10(0x1c5)]=_0x317464;const _0x26de95=_0x317464(this['_currentConfigService'][_0x35ea10(0x1c5)](),this[_0x35ea10(0x1d9)][_0x35ea10(0x1ba)]()),_0x586c19=this[_0x35ea10(0x1d4)](_0x26de95['dirtyRanges']);return _0x5ecb9a[_0x35ea10(0x1a0)]=_0x586c19,_0x5ecb9a[_0x35ea10(0x1fc)]=_0x1ca949,_0x5ecb9a[_0x35ea10(0x16b)]=c[_0x35ea10(0x1d8)][_0x35ea10(0x184)],this[_0x35ea10(0x194)][_0x35ea10(0x189)](_0x18d625,_0x21405d,_0x1ca949,_0x5ecb9a),this[_0x35ea10(0x227)][_0x35ea10(0x18a)](_0x5ecb9a['treeId'],_0x5ecb9a),this[_0x35ea10(0x194)][_0x35ea10(0x239)](_0x513f6b[_0x35ea10(0x18b)],_0x513f6b[_0x35ea10(0x207)],_0x1ca949)&&(_0x5ecb9a[_0x35ea10(0x1ed)]=!0x0),_0x5ecb9a;}['_registerOtherFormulas'](_0x3c5da2,_0xd3a781,_0x10530e){const _0x14a8f6=_0x572099;var _0xedea2e;for(const _0x1f64be of _0xd3a781){const _0x581947=_0x3c5da2[_0x1f64be];if(_0x581947==null)continue;const _0xc73e99=Object[_0x14a8f6(0x1a2)](_0x581947);for(const _0x3ec3e6 of _0xc73e99){const _0x17ddf1=_0x581947[_0x3ec3e6];if(_0x17ddf1==null)continue;const _0x34b830=Object['keys'](_0x17ddf1);for(const _0x4d9de3 of _0x34b830){const _0x7937ab=this[_0x14a8f6(0x194)][_0x14a8f6(0x1b4)](_0x4d9de3),_0x205770=_0x17ddf1[_0x4d9de3],{f:_0x2bceb6,ranges:_0x593600}=_0x205770;let _0x19665c=!0x1;_0x7937ab&&(_0x19665c=!0x0);const {firstRow:_0x2eb685,firstColumn:_0x1869fd}=this[_0x14a8f6(0x220)](_0x593600),_0x53002b=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x1f64be,_0x3ec3e6,_0x4d9de3),_0x40c204=(_0xedea2e=_0x53002b==null?void 0x0:_0x53002b[_0x14a8f6(0x1cc)](0x0,0x0))!=null?_0xedea2e:c['generateRandomDependencyTreeId'](this[_0x14a8f6(0x194)]),_0x1507eb=new c['FormulaDependencyTree'](_0x40c204);for(let _0x408e77=0x0;_0x408e77<_0x593600[_0x14a8f6(0x18e)];_0x408e77++){const _0x430214=_0x593600[_0x408e77],{startRow:_0x38525b,startColumn:_0x7159e9,endRow:_0x2279cd,endColumn:_0x457574}=_0x430214;for(let _0x32388d=_0x38525b;_0x32388d<=_0x2279cd;_0x32388d++)for(let _0x590d0a=_0x7159e9;_0x590d0a<=_0x457574;_0x590d0a++){const _0x1650c8=_0x590d0a-_0x1869fd,_0x445ece=_0x32388d-_0x2eb685;if(_0x1650c8===0x0&&_0x445ece===0x0){_0x1507eb[_0x14a8f6(0x1d6)]=_0x2bceb6,_0x1507eb[_0x14a8f6(0x18b)]=_0x1f64be,_0x1507eb[_0x14a8f6(0x207)]=_0x3ec3e6,_0x1507eb['formulaId']=_0x4d9de3,_0x1507eb[_0x14a8f6(0x16b)]=c['FormulaDependencyTreeType'][_0x14a8f6(0x1f2)],_0x1507eb[_0x14a8f6(0x1ed)]=_0x19665c,_0x10530e[_0x14a8f6(0x221)](_0x1507eb),this['_dependencyTreeCache'][_0x14a8f6(0x18a)](_0x1507eb[_0x14a8f6(0x175)],_0x1507eb),this[_0x14a8f6(0x194)][_0x14a8f6(0x228)](_0x1f64be,_0x3ec3e6,_0x4d9de3,_0x1507eb),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1507eb);continue;}const _0x192e52=new c[(_0x14a8f6(0x1e1))]();_0x192e52[_0x14a8f6(0x175)]=(_0x53002b==null?void 0x0:_0x53002b[_0x14a8f6(0x1cc)](_0x1650c8,_0x445ece))||c[_0x14a8f6(0x1d5)](this[_0x14a8f6(0x194)]),_0x192e52[_0x14a8f6(0x229)]=_0x1507eb,_0x192e52[_0x14a8f6(0x19f)]=_0x1650c8,_0x192e52['refOffsetY']=_0x445ece,_0x192e52[_0x14a8f6(0x1ed)]=_0x19665c,this[_0x14a8f6(0x194)][_0x14a8f6(0x228)](_0x1f64be,_0x3ec3e6,_0x4d9de3,_0x192e52),this[_0x14a8f6(0x194)][_0x14a8f6(0x208)](_0x192e52),_0x10530e[_0x14a8f6(0x221)](_0x192e52),this[_0x14a8f6(0x227)][_0x14a8f6(0x18a)](_0x192e52['treeId'],_0x192e52);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x4d9de3);}}}}[_0x572099(0x238)](_0x1374e4,_0x5e77dc,_0x3436df,_0x3620fa){const _0x57ab21=_0x572099;for(const _0x1c68c3 of _0x1374e4){const _0x19ada8=_0x5e77dc[_0x1c68c3];if(_0x19ada8==null)continue;const _0x33f4f8=Object[_0x57ab21(0x1a2)](_0x19ada8);for(const _0x302761 of _0x33f4f8){const _0x20039a=new D[(_0x57ab21(0x18c))](_0x19ada8[_0x302761]||{}),_0x44cec0=new Map();_0x20039a[_0x57ab21(0x237)]((_0x1f0f44,_0x34be3d,_0x1281ac)=>{const _0x534787=_0x57ab21;if(_0x1281ac==null)return!0x0;const {x:_0x2bce72=0x0,y:y=0x0,si:_0x56f2a3}=_0x1281ac;if(!(_0x2bce72===0x0&&y===0x0&&_0x56f2a3!=null))return!0x0;const _0x3ac361=this[_0x534787(0x206)](_0x1c68c3,_0x302761,_0x1f0f44,_0x34be3d,_0x3436df,_0x1281ac),_0x3481cc=this[_0x534787(0x194)][_0x534787(0x230)](_0x1c68c3,_0x302761,_0x1f0f44,_0x34be3d);_0x3481cc!=null?_0x3ac361[_0x534787(0x175)]=_0x3481cc:(this[_0x534787(0x194)][_0x534787(0x22e)](_0x1c68c3,_0x302761,_0x1f0f44,_0x34be3d,_0x3ac361),this[_0x534787(0x194)]['addFormulaDependencyByDefinedName'](_0x3ac361)),_0x44cec0['set'](_0x56f2a3,_0x3ac361),_0x3620fa[_0x534787(0x221)](_0x3ac361),this[_0x534787(0x227)][_0x534787(0x18a)](_0x3ac361['treeId'],_0x3ac361);}),_0x20039a['forValue']((_0x80b6bf,_0x42b16b,_0xc86a0d)=>{const _0x244eaa=_0x57ab21;if(_0xc86a0d==null)return!0x0;const {x:_0x5af15f=0x0,y:y=0x0,si:_0x3b18be}=_0xc86a0d;if(_0x5af15f===0x0&&y===0x0&&_0x3b18be!=null)return!0x0;let _0x1ea2a1;if(_0x3b18be&&_0x44cec0[_0x244eaa(0x161)](_0x3b18be)){const _0x58baf8=_0x44cec0['get'](_0x3b18be);_0x1ea2a1=this[_0x244eaa(0x1bd)](_0x58baf8,_0xc86a0d);}else _0x1ea2a1=this[_0x244eaa(0x206)](_0x1c68c3,_0x302761,_0x80b6bf,_0x42b16b,_0x3436df,_0xc86a0d);const _0x2c434b=this[_0x244eaa(0x194)][_0x244eaa(0x230)](_0x1c68c3,_0x302761,_0x80b6bf,_0x42b16b);_0x2c434b!=null?_0x1ea2a1[_0x244eaa(0x175)]=_0x2c434b:(this[_0x244eaa(0x194)][_0x244eaa(0x22e)](_0x1c68c3,_0x302761,_0x80b6bf,_0x42b16b,_0x1ea2a1),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1ea2a1)),_0x3620fa[_0x244eaa(0x221)](_0x1ea2a1),this['_dependencyTreeCache']['set'](_0x1ea2a1[_0x244eaa(0x175)],_0x1ea2a1);}),_0x44cec0['clear']();}}}[_0x572099(0x206)](_0x272822,_0x138aae,_0x4ccefd,_0x496b0c,_0x20b329,_0x3e29b6){const _0x3586f7=_0x572099,{f:_0x5118f9,x:_0x8acc3=0x0,y:_0x136092=0x0}=_0x3e29b6,_0x307bd0=new c[(_0x3586f7(0x1ab))](c[_0x3586f7(0x1d5)](this[_0x3586f7(0x194)])),_0x10cb6e=_0x20b329[_0x272822][_0x138aae];return _0x307bd0[_0x3586f7(0x1d6)]=_0x5118f9,_0x307bd0[_0x3586f7(0x18b)]=_0x272822,_0x307bd0[_0x3586f7(0x207)]=_0x138aae,_0x307bd0[_0x3586f7(0x1e3)]=_0x4ccefd,_0x307bd0['column']=_0x496b0c,_0x307bd0[_0x3586f7(0x201)]=_0x10cb6e[_0x3586f7(0x201)],_0x307bd0[_0x3586f7(0x1a5)]=_0x10cb6e['columnCount'],_0x307bd0;}[_0x572099(0x21b)](){const _0x3d3f3d=_0x572099,_0x36d814=[],_0x5647f9=new Set(),_0x2e3d85=this[_0x3d3f3d(0x213)][_0x3d3f3d(0x236)](),_0x528ce7=this[_0x3d3f3d(0x213)][_0x3d3f3d(0x1ae)](),_0x263109=this['_dependencyManagerService']['searchDependency'](_0x528ce7),_0xf42076=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x528ce7);for(const _0x41940b of _0xf42076)_0x263109[_0x3d3f3d(0x204)](_0x41940b);for(const [_0x45471a,_0x12b093]of this['_dependencyTreeCache'])(_0x2e3d85||_0x12b093[_0x3d3f3d(0x167)]||_0x12b093[_0x3d3f3d(0x19d)](this[_0x3d3f3d(0x213)]['getDirtyNameMap']())||_0x263109[_0x3d3f3d(0x161)](_0x45471a)&&!_0x12b093[_0x3d3f3d(0x1c7)](this[_0x3d3f3d(0x213)][_0x3d3f3d(0x1e5)]()))&&!_0x5647f9[_0x3d3f3d(0x161)](_0x45471a)&&(_0x36d814[_0x3d3f3d(0x221)](_0x12b093),_0x5647f9['add'](_0x45471a));for(const [_0x412130,_0x8d8256]of this[_0x3d3f3d(0x227)])_0x8d8256['isVirtual']||(_0x8d8256[_0x3d3f3d(0x1a4)][_0x3d3f3d(0x18e)]=0x0);return _0x36d814;}[_0x572099(0x177)](_0x190e4d){const _0x180d5f=_0x572099;return this[_0x180d5f(0x227)][_0x180d5f(0x183)](_0x190e4d);}['_getTreeNode'](_0x1c1bf7){const _0x28e2a5=_0x572099;return c[_0x28e2a5(0x21c)](_0x1c1bf7[_0x28e2a5(0x18b)],_0x1c1bf7[_0x28e2a5(0x1d6)],this[_0x28e2a5(0x20d)],this[_0x28e2a5(0x180)],this[_0x28e2a5(0x213)]);}*[_0x572099(0x16f)](_0x25c27f,_0x241a28){const _0x3f0da3=_0x572099,_0x24685c=_0x25c27f,_0xeee17=new Set();for(;_0x24685c[_0x3f0da3(0x18e)]>0x0;){const _0x580c5a=_0x24685c['pop']();if(_0xeee17[_0x3f0da3(0x1d0)](),_0x580c5a===void 0x0||_0x580c5a['isSkip']())continue;if(_0x580c5a['isAdded']()){yield _0x580c5a,_0x580c5a[_0x3f0da3(0x1d1)](),_0x241a28[_0x3f0da3(0x204)](_0x580c5a['treeId']);continue;}const _0x5e4f66=this[_0x3f0da3(0x194)][_0x3f0da3(0x1ee)](_0x580c5a[_0x3f0da3(0x1f9)](),_0x241a28),_0x5536d3=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x580c5a[_0x3f0da3(0x1f9)](),_0x241a28);for(const _0x1812dc of _0x5536d3)_0x5e4f66['add'](_0x1812dc);for(const _0x4c62f6 of _0x5e4f66){const _0x162bb5=this[_0x3f0da3(0x227)]['get'](_0x4c62f6);if(!_0x162bb5)throw new Error(_0x3f0da3(0x217));_0x162bb5[_0x3f0da3(0x212)]()||_0x580c5a[_0x3f0da3(0x1a8)]()||_0xeee17[_0x3f0da3(0x204)](_0x162bb5);}if(_0x5e4f66[_0x3f0da3(0x1d0)](),_0xeee17['size']===0x0)yield _0x580c5a,_0x580c5a[_0x3f0da3(0x1d1)](),_0x241a28['add'](_0x580c5a[_0x3f0da3(0x175)]);else{_0x580c5a[_0x3f0da3(0x1df)](),_0x24685c[_0x3f0da3(0x221)](_0x580c5a);for(const _0x597c64 of _0xeee17)_0x24685c['push'](_0x597c64);}}_0x24685c['length']=0x0,_0xeee17[_0x3f0da3(0x1d0)]();}[_0x572099(0x1da)](_0x8a38f8){const _0x2b66ef=_0x572099,_0x1bc396=[],_0x3860aa=new Set();for(const _0x1f8b5a of this[_0x2b66ef(0x16f)](_0x8a38f8,_0x3860aa))_0x1bc396['push'](_0x1f8b5a);return _0x1bc396;}}class H extends c[_0x572099(0x200)]{constructor(){const _0x45313b=_0x572099;super(...arguments),A(this,_0x45313b(0x232),!0x1),A(this,_0x45313b(0x20b),new Set());}['getNewFormulaWithPrefix'](_0x4bcf8,_0x33a7cf){const _0x499c63=_0x572099,_0x748e2b=this[_0x499c63(0x22b)](_0x4bcf8,!0x1);if(!_0x748e2b||_0x748e2b===c[_0x499c63(0x222)][_0x499c63(0x22a)]||Array[_0x499c63(0x235)](_0x748e2b))return null;const _0x5084f5=[];return this[_0x499c63(0x232)]=!0x1,this['_generateNewFunctionString'](_0x748e2b,_0x5084f5,_0x33a7cf),this[_0x499c63(0x232)]?'='+_0x5084f5[_0x499c63(0x1dd)](''):null;}[_0x572099(0x168)](_0x197fd1,_0x3204df,_0x41f60e){const _0x2ccfe1=_0x572099,_0x2e9f49=_0x197fd1[_0x2ccfe1(0x216)](),_0x589ac6=_0x2e9f49[_0x2ccfe1(0x209)](),_0x1a540f=_0x589ac6[_0x2ccfe1(0x1ec)](),_0x3289cb=this[_0x2ccfe1(0x195)](_0x1a540f),_0x57c928=_0x41f60e(_0x3289cb);let _0x509877=0x0;_0x2e9f49===c['DEFAULT_TOKEN_TYPE_ROOT']?_0x509877=0x3:_0x2e9f49===c[_0x2ccfe1(0x1b1)]?_0x509877=0x4:_0x2e9f49===c[_0x2ccfe1(0x182)]?_0x509877=0x5:c[_0x2ccfe1(0x1e9)][_0x2ccfe1(0x161)](_0x3289cb)?(_0x3204df[_0x2ccfe1(0x221)](_0x2ccfe1(0x205)+_0x589ac6),this[_0x2ccfe1(0x232)]=!0x0):_0x1a540f===c[_0x2ccfe1(0x1d2)]?(_0x3204df[_0x2ccfe1(0x221)]('_xlfn.'+_0x589ac6),this['_hasNewExcelFunction']=!0x0,_0x509877=0x2):_0x1a540f===c[_0x2ccfe1(0x1a9)]?(_0x3204df[_0x2ccfe1(0x221)]('_xlfn.'+_0x589ac6),this['_hasNewExcelFunction']=!0x0,_0x509877=0x1):_0x1a540f===c[_0x2ccfe1(0x16a)]['COLON']?_0x509877=0x8:c[_0x2ccfe1(0x1b9)][_0x2ccfe1(0x161)](_0x1a540f)?_0x509877=0x7:_0x1a540f===c[_0x2ccfe1(0x198)][_0x2ccfe1(0x191)]?(this[_0x2ccfe1(0x224)](_0x197fd1)&&(_0x509877=0x9),_0x3204df[_0x2ccfe1(0x221)](_0x2e9f49)):(_0x3204df['push'](_0x2e9f49),_0x509877=0xa),_0x57c928?(_0x509877!==0x2&&_0x509877!==0x1&&(_0x509877=0x6),_0x3204df[_0x2ccfe1(0x221)]('(')):_0x509877===0x9&&_0x3204df[_0x2ccfe1(0x221)]('(');const _0x2087e6=_0x197fd1[_0x2ccfe1(0x1e4)](),_0x2bb121=_0x2087e6[_0x2ccfe1(0x18e)];if(_0x509877===0x2){const _0x5dbf4c=_0x2087e6[0x0];let _0x4a91ab=0x0;_0x5dbf4c instanceof c[_0x2ccfe1(0x22d)]&&_0x5dbf4c[_0x2ccfe1(0x216)]()===c[_0x2ccfe1(0x182)]&&(_0x4a91ab=0x1);for(let _0x46f504=_0x4a91ab;_0x46f504<_0x2bb121-0x1;_0x46f504++){const _0x101086=_0x2087e6[_0x46f504];if(_0x101086 instanceof c[_0x2ccfe1(0x22d)]){const _0x2d9f4f=_0x101086[_0x2ccfe1(0x1e4)]()[0x0];typeof _0x2d9f4f=='string'&&(this['_lambdaFunctionParameterSet'][_0x2ccfe1(0x161)](_0x2d9f4f)&&console[_0x2ccfe1(0x22c)](_0x2ccfe1(0x1f3)+_0x2d9f4f+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x2ccfe1(0x204)](_0x2d9f4f),_0x3204df[_0x2ccfe1(0x221)]('_xlpm.'+_0x2d9f4f),this[_0x2ccfe1(0x232)]=!0x0);}_0x3204df[_0x2ccfe1(0x221)](',');}this[_0x2ccfe1(0x20e)](_0x2087e6[_0x2bb121-0x1],_0x3204df,_0x41f60e),_0x4a91ab===0x1&&(_0x3204df[_0x2ccfe1(0x221)](')'),_0x3204df[_0x2ccfe1(0x221)]('('),this['_generateNewFunctionString'](_0x5dbf4c,_0x3204df,_0x41f60e)),_0x3204df[_0x2ccfe1(0x221)](')');return;}else{if(_0x509877===0x1){for(let _0x585b33=0x0;_0x585b33<_0x2bb121-0x1;_0x585b33++){const _0x3c9afd=_0x2087e6[_0x585b33];if(_0x3c9afd instanceof c['LexerNode']&&_0x585b33%0x2===0x0){const _0x2ef1b2=_0x3c9afd['getChildren']()[0x0];if(typeof _0x2ef1b2=='string'){this[_0x2ccfe1(0x20b)]['has'](_0x2ef1b2)&&console[_0x2ccfe1(0x22c)](_0x2ccfe1(0x1bf)+_0x2ef1b2+_0x2ccfe1(0x1f5)),this['_lambdaFunctionParameterSet']['add'](_0x2ef1b2),_0x3204df[_0x2ccfe1(0x221)]('_xlpm.'+_0x2ef1b2),this[_0x2ccfe1(0x232)]=!0x0,_0x3204df[_0x2ccfe1(0x221)](',');continue;}}if(this['_handleNewFunctionChild'](_0x3c9afd,_0x3204df,_0x41f60e),_0x3c9afd instanceof c[_0x2ccfe1(0x22d)]){const _0x20a160=_0x2087e6[_0x585b33+0x1];_0x20a160&&_0x20a160 instanceof c['LexerNode']&&_0x3204df[_0x2ccfe1(0x221)](',');}}this[_0x2ccfe1(0x20e)](_0x2087e6[_0x2bb121-0x1],_0x3204df,_0x41f60e),_0x3204df[_0x2ccfe1(0x221)](')');return;}else{if(_0x509877===0x8){const _0x393b59=_0x2087e6[0x0],_0x3a014f=_0x2087e6[0x1];this[_0x2ccfe1(0x20e)](_0x393b59,_0x3204df,_0x41f60e),_0x3204df[_0x2ccfe1(0x221)](_0x2e9f49),this['_handleNewFunctionChild'](_0x3a014f,_0x3204df,_0x41f60e);return;}}}for(let _0x125a02=0x0;_0x125a02<_0x2bb121;_0x125a02++){const _0x56f493=_0x2087e6[_0x125a02];if(this[_0x2ccfe1(0x20e)](_0x56f493,_0x3204df,_0x41f60e),_0x56f493 instanceof c[_0x2ccfe1(0x22d)]){const _0x2dfe77=_0x2087e6[_0x125a02+0x1];_0x2dfe77&&_0x2dfe77 instanceof c['LexerNode']&&_0x3204df[_0x2ccfe1(0x221)](',');}}_0x509877===0x7&&_0x3204df[_0x2ccfe1(0x221)](_0x2e9f49),(_0x57c928||_0x509877===0x9)&&_0x3204df[_0x2ccfe1(0x221)](')');}[_0x572099(0x20e)](_0x270bb2,_0x445f32,_0x3ae9c7){const _0x32b8e9=_0x572099;_0x270bb2 instanceof c[_0x32b8e9(0x22d)]?this['_generateNewFunctionString'](_0x270bb2,_0x445f32,_0x3ae9c7):this[_0x32b8e9(0x20b)][_0x32b8e9(0x161)](_0x270bb2)?(_0x445f32[_0x32b8e9(0x221)](_0x32b8e9(0x21e)+_0x270bb2),this['_hasNewExcelFunction']=!0x0):_0x445f32[_0x32b8e9(0x221)](_0x270bb2);}[_0x572099(0x195)](_0x147f72){const _0xed8907=_0x572099;let _0x27a5c4=_0x147f72[_0xed8907(0x209)]();if(!_0x27a5c4)return _0x27a5c4;const _0x1733cd=_0x27a5c4[0x0];if((_0x1733cd===c[_0xed8907(0x198)]['AT']||_0x1733cd===c[_0xed8907(0x198)]['MINUS']||_0x1733cd===c[_0xed8907(0x198)][_0xed8907(0x1b7)])&&(_0x27a5c4=_0x27a5c4[_0xed8907(0x174)](0x1)),!_0x27a5c4)return _0x27a5c4;const _0x12f3e7=_0x27a5c4[_0x27a5c4['length']-0x1];return c[_0xed8907(0x1b9)][_0xed8907(0x161)](_0x12f3e7)&&(_0x27a5c4=_0x27a5c4[_0xed8907(0x174)](0x0,-0x1)),_0x27a5c4;}[_0x572099(0x224)](_0xe2f7bc){const _0x5121df=_0x572099,_0x5a564c=_0xe2f7bc[_0x5121df(0x1e4)]()[0x0];if(!_0x5a564c||!(_0x5a564c instanceof c[_0x5121df(0x22d)])||_0xe2f7bc[_0x5121df(0x1e4)]()[_0x5121df(0x18e)]>0x1)return!0x1;const _0x47c950=_0x5a564c[_0x5121df(0x1e4)](),_0x3b5281=_0x47c950['length'];if(_0x3b5281===0x1)return!0x1;for(let _0x933707=0x0;_0x933707<_0x3b5281;_0x933707++){const _0x3619c5=_0x47c950[_0x933707];if(!(_0x3619c5 instanceof c['LexerNode'])&&c[_0x5121df(0x19a)][_0x5121df(0x161)](_0x3619c5))return!0x0;}return!0x1;}}class B extends c[_0x572099(0x178)]{async['_apply'](_0x111eac=!0x1){const _0x5798e4=_0x572099;_0x111eac?this[_0x5798e4(0x1d9)]['setFormulaExecuteStage'](c[_0x5798e4(0x162)][_0x5798e4(0x169)]):this['_runtimeService'][_0x5798e4(0x20a)](c['FormulaExecuteStageType']['START_DEPENDENCY']),this[_0x5798e4(0x197)]['next'](this['_runtimeService']['getRuntimeState']());const _0x56ac36=await this[_0x5798e4(0x21f)][_0x5798e4(0x1e0)](),_0x3343f5=this[_0x5798e4(0x1db)];_0x111eac?(this['_runtimeService'][_0x5798e4(0x20a)](c[_0x5798e4(0x162)][_0x5798e4(0x1ce)]),this[_0x5798e4(0x1d9)][_0x5798e4(0x1d3)](_0x56ac36['length'])):(this['_runtimeService'][_0x5798e4(0x20a)](c[_0x5798e4(0x162)][_0x5798e4(0x17c)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x56ac36[_0x5798e4(0x18e)])),this[_0x5798e4(0x197)][_0x5798e4(0x1fd)](this['_runtimeService']['getRuntimeState']());let _0x2a147d=[];const _0x14b98a=this[_0x5798e4(0x1dc)][_0x5798e4(0x219)](c[_0x5798e4(0x188)]),_0x56272e=(_0x14b98a==null?void 0x0:_0x14b98a['intervalCount'])||c[_0x5798e4(0x1a3)];let _0x7649a4=0x0;const _0x17be49=_0x56ac36[_0x5798e4(0x18e)];for(;_0x56ac36[_0x5798e4(0x18e)]>0x0;){const _0x88e6cf=_0x56ac36[_0x5798e4(0x1e6)](),_0x3433b9=c[_0x5798e4(0x21c)](_0x88e6cf[_0x5798e4(0x18b)],_0x88e6cf[_0x5798e4(0x1d6)],this[_0x5798e4(0x20d)],this[_0x5798e4(0x180)],this[_0x5798e4(0x213)]),_0x1661d5={'node':_0x3433b9,'refOffsetX':_0x88e6cf[_0x5798e4(0x19f)],'refOffsetY':_0x88e6cf[_0x5798e4(0x17d)]},_0x30ccf5=_0x88e6cf[_0x5798e4(0x1c5)];if(_0x7649a4%_0x56272e===0x0&&(await new Promise(_0x2a77e7=>{const _0xd1662e=_0x5798e4,_0x5a462e=D[_0xd1662e(0x1de)](_0x2a77e7);_0x2a147d['push'](_0x5a462e);}),_0x111eac?(this[_0x5798e4(0x1d9)][_0x5798e4(0x20a)](c[_0x5798e4(0x162)][_0x5798e4(0x165)]),this[_0x5798e4(0x1d9)]['setCompletedArrayFormulasCount'](_0x7649a4+0x1)):(this[_0x5798e4(0x1d9)]['setFormulaExecuteStage'](c[_0x5798e4(0x162)][_0x5798e4(0x1aa)]),this['_runtimeService'][_0x5798e4(0x1c4)](_0x7649a4+0x1)),this[_0x5798e4(0x197)][_0x5798e4(0x1fd)](this[_0x5798e4(0x1d9)]['getRuntimeState']()),this[_0x5798e4(0x1d9)][_0x5798e4(0x163)]()||_0x1661d5==null&&_0x30ccf5==null)){this[_0x5798e4(0x1d9)][_0x5798e4(0x20a)](c[_0x5798e4(0x162)][_0x5798e4(0x1f6)]),this[_0x5798e4(0x1d9)][_0x5798e4(0x23a)](),this[_0x5798e4(0x226)][_0x5798e4(0x1fd)](this['_runtimeService'][_0x5798e4(0x1ba)]());return;}this[_0x5798e4(0x1d9)]['setCurrent'](_0x88e6cf[_0x5798e4(0x1e3)],_0x88e6cf['column'],_0x88e6cf[_0x5798e4(0x201)],_0x88e6cf[_0x5798e4(0x1a5)],_0x88e6cf[_0x5798e4(0x207)],_0x88e6cf[_0x5798e4(0x18b)]);let _0x358802;if(_0x30ccf5!=null&&_0x88e6cf['featureId']!=null){const {runtimeCellData:_0x12a082,dirtyRanges:_0x415f4d}=_0x30ccf5(this[_0x5798e4(0x213)]['getDirtyData'](),this[_0x5798e4(0x1d9)][_0x5798e4(0x1ba)]());this['_runtimeService'][_0x5798e4(0x1b0)](_0x88e6cf[_0x5798e4(0x1fc)],_0x12a082),this[_0x5798e4(0x1d9)]['setRuntimeFeatureRange'](_0x88e6cf[_0x5798e4(0x1fc)],_0x415f4d);}else _0x1661d5!=null&&(_0x3343f5[_0x5798e4(0x1a7)](_0x1661d5['node'])?_0x358802=await _0x3343f5['executeAsync'](_0x1661d5):_0x358802=_0x3343f5[_0x5798e4(0x20f)](_0x1661d5),_0x88e6cf['formulaId']!=null?this[_0x5798e4(0x1d9)]['setRuntimeOtherData'](_0x88e6cf[_0x5798e4(0x21d)],_0x88e6cf[_0x5798e4(0x19f)],_0x88e6cf[_0x5798e4(0x17d)],_0x358802):this[_0x5798e4(0x1d9)][_0x5798e4(0x1a6)](_0x358802));_0x3433b9[_0x5798e4(0x210)](),_0x7649a4++;}return _0x2a147d[_0x5798e4(0x1e8)](_0x3e383b=>_0x3e383b()),_0x2a147d=[],_0x17be49>0x0?this[_0x5798e4(0x1d9)][_0x5798e4(0x1ca)]():_0x111eac||this[_0x5798e4(0x1d9)][_0x5798e4(0x1c6)](),this[_0x5798e4(0x1d9)][_0x5798e4(0x1ba)]();}}class Y extends c['DependencyManagerBaseService']{constructor(){const _0x196cbb=_0x572099;super(...arguments),A(this,_0x196cbb(0x1f4),new Map()),A(this,_0x196cbb(0x179),new D[(_0x196cbb(0x1d7))](!0x0));}[_0x572099(0x1ef)](){const _0x5ea7f3=_0x572099;this[_0x5ea7f3(0x185)][_0x5ea7f3(0x1d0)](),this[_0x5ea7f3(0x187)][_0x5ea7f3(0x1d0)](),this[_0x5ea7f3(0x1a1)][_0x5ea7f3(0x1d0)](),this[_0x5ea7f3(0x179)][_0x5ea7f3(0x1d0)](),this[_0x5ea7f3(0x1f4)][_0x5ea7f3(0x1d0)](),this[_0x5ea7f3(0x166)](),this[_0x5ea7f3(0x1ea)]['clear']();}['addOtherFormulaDependency'](_0x5bf699,_0x3031fe,_0x1e416b,_0x26c2c9){const _0x528387=_0x572099;this[_0x528387(0x185)][_0x528387(0x161)](_0x5bf699)||this['_otherFormulaData'][_0x528387(0x18a)](_0x5bf699,new Map());const _0x1c9748=this[_0x528387(0x185)][_0x528387(0x183)](_0x5bf699);_0x1c9748[_0x528387(0x161)](_0x3031fe)||_0x1c9748[_0x528387(0x18a)](_0x3031fe,new Map());const _0x35d594=_0x1c9748[_0x528387(0x183)](_0x3031fe);_0x35d594['has'](_0x1e416b)||_0x35d594[_0x528387(0x18a)](_0x1e416b,new D[(_0x528387(0x18c))]()),_0x35d594['get'](_0x1e416b)[_0x528387(0x193)](_0x26c2c9[_0x528387(0x19f)],_0x26c2c9['refOffsetY'],_0x26c2c9[_0x528387(0x175)]);}[_0x572099(0x1c1)](_0x40ab42,_0x532935,_0x1374eb){const _0x2148ce=_0x572099,_0xb44ba=this[_0x2148ce(0x185)][_0x2148ce(0x183)](_0x40ab42);if(_0xb44ba&&_0xb44ba[_0x2148ce(0x161)](_0x532935)){const _0x2a49a5=_0xb44ba['get'](_0x532935);_0x1374eb[_0x2148ce(0x1e8)](_0x15a11a=>{const _0x2be81c=_0x2148ce,_0x562b94=_0x2a49a5[_0x2be81c(0x183)](_0x15a11a);_0x562b94!=null&&(_0x562b94['forValue']((_0x4d59de,_0x49fd9b,_0x409318)=>{const _0x20d6e4=_0x2be81c;this[_0x20d6e4(0x1bc)](_0x409318),this[_0x20d6e4(0x1c9)](_0x409318);}),_0x2a49a5['delete'](_0x15a11a),this[_0x2be81c(0x1ea)][_0x2be81c(0x1ad)](_0x15a11a));}),_0x2a49a5[_0x2148ce(0x171)]===0x0&&_0xb44ba[_0x2148ce(0x1ad)](_0x532935),_0xb44ba[_0x2148ce(0x171)]===0x0&&this[_0x2148ce(0x185)][_0x2148ce(0x1ad)](_0x40ab42);}}[_0x572099(0x181)](_0x44424f,_0x2ab8b5){const _0x5390f9=_0x572099,_0x46a0e0=this[_0x5390f9(0x185)]['get'](_0x44424f);if(_0x2ab8b5&&_0x46a0e0&&_0x46a0e0[_0x5390f9(0x161)](_0x2ab8b5)){const _0x5b62ed=_0x46a0e0[_0x5390f9(0x183)](_0x2ab8b5);this[_0x5390f9(0x1ff)](_0x44424f,_0x2ab8b5);for(const _0x1c739d of _0x5b62ed['keys']()){const _0x4252ec=_0x5b62ed['get'](_0x1c739d);_0x4252ec!=null&&(_0x4252ec[_0x5390f9(0x237)]((_0x6702fe,_0xa0599b,_0x1d08b1)=>{const _0xd77170=_0x5390f9;this['_allTreeMap'][_0xd77170(0x183)](_0x1d08b1)&&this['_removeAllTreeMap'](_0x1d08b1);}),this['_otherFormulaDataMainData'][_0x5390f9(0x1ad)](_0x1c739d));}_0x5b62ed[_0x5390f9(0x1d0)]();}else{if(_0x46a0e0){for(const _0x145fff of _0x46a0e0[_0x5390f9(0x1a2)]()){const _0x3b7cbe=_0x46a0e0[_0x5390f9(0x183)](_0x145fff);this[_0x5390f9(0x1ff)](_0x44424f,_0x145fff);for(const _0x3f79c0 of _0x3b7cbe[_0x5390f9(0x1a2)]()){const _0x13fb3b=_0x3b7cbe[_0x5390f9(0x183)](_0x3f79c0);_0x13fb3b!=null&&(_0x13fb3b[_0x5390f9(0x237)]((_0x2c359d,_0x445320,_0x17bbd8)=>{const _0x5307bd=_0x5390f9;this[_0x5307bd(0x1f4)][_0x5307bd(0x183)](_0x17bbd8)&&this[_0x5307bd(0x1c9)](_0x17bbd8);}),this[_0x5390f9(0x1ea)][_0x5390f9(0x1ad)](_0x3f79c0));}}this[_0x5390f9(0x185)][_0x5390f9(0x1ad)](_0x44424f);}}}['addFeatureFormulaDependency'](_0xb0232f,_0x1cb702,_0x2b6196,_0x51b48e){const _0x314ae6=_0x572099;this[_0x314ae6(0x187)]['has'](_0xb0232f)||this[_0x314ae6(0x187)][_0x314ae6(0x18a)](_0xb0232f,new Map());const _0x5b65c9=this[_0x314ae6(0x187)][_0x314ae6(0x183)](_0xb0232f);_0x5b65c9[_0x314ae6(0x161)](_0x1cb702)||_0x5b65c9[_0x314ae6(0x18a)](_0x1cb702,new Map()),_0x5b65c9[_0x314ae6(0x183)](_0x1cb702)[_0x314ae6(0x18a)](_0x2b6196,_0x51b48e[_0x314ae6(0x175)]);}[_0x572099(0x1fb)](_0x565eb7,_0x11f024,_0x1f4efa){const _0x43b1de=_0x572099,_0x38d61d=this['_featureFormulaData'][_0x43b1de(0x183)](_0x565eb7);if(_0x38d61d&&_0x38d61d[_0x43b1de(0x161)](_0x11f024)){const _0x1321a8=_0x38d61d[_0x43b1de(0x183)](_0x11f024);_0x1f4efa[_0x43b1de(0x1e8)](_0x284a8e=>{const _0x5e309a=_0x43b1de,_0x2ef4b2=_0x1321a8['get'](_0x284a8e);_0x2ef4b2!=null&&(this['_removeDependencyRTreeCache'](_0x2ef4b2),_0x1321a8[_0x5e309a(0x1ad)](_0x284a8e),this[_0x5e309a(0x1c9)](_0x2ef4b2));});}}[_0x572099(0x192)](_0x1d79d0,_0x11cd2c){const _0x40335f=_0x572099,_0x7ba858=this[_0x40335f(0x187)][_0x40335f(0x183)](_0x1d79d0);if(_0x11cd2c&&_0x7ba858&&_0x7ba858[_0x40335f(0x161)](_0x11cd2c)){const _0x4b77f2=_0x7ba858[_0x40335f(0x183)](_0x11cd2c);this[_0x40335f(0x1ff)](_0x1d79d0,_0x11cd2c),_0x4b77f2[_0x40335f(0x1e8)](_0x14597f=>{const _0x561951=_0x40335f;_0x14597f!=null&&this[_0x561951(0x1c9)](_0x14597f);}),_0x4b77f2['clear']();}else _0x7ba858&&(_0x7ba858['forEach']((_0x3ab20a,_0x2b737d)=>{const _0x13df45=_0x40335f;this['_removeDependencyRTreeCacheById'](_0x1d79d0,_0x2b737d),_0x3ab20a[_0x13df45(0x1e8)](_0x1b4855=>{const _0x32a3b5=_0x13df45;_0x1b4855!=null&&this[_0x32a3b5(0x1c9)](_0x1b4855);});}),this[_0x40335f(0x187)][_0x40335f(0x1ad)](_0x1d79d0));}[_0x572099(0x22e)](_0xb2e0e7,_0x154556,_0x130810,_0x78d30e,_0x9a1790){const _0x432668=_0x572099;this[_0x432668(0x1a1)][_0x432668(0x161)](_0xb2e0e7)||this[_0x432668(0x1a1)][_0x432668(0x18a)](_0xb2e0e7,new Map());const _0x3ebcb9=this[_0x432668(0x1a1)]['get'](_0xb2e0e7);_0x3ebcb9[_0x432668(0x161)](_0x154556)||_0x3ebcb9['set'](_0x154556,new D['ObjectMatrix']()),_0x3ebcb9['get'](_0x154556)[_0x432668(0x193)](_0x130810,_0x78d30e,_0x9a1790[_0x432668(0x175)]);}[_0x572099(0x1f7)](_0x38a996,_0x24512b,_0x2e597d,_0x2f11f5){const _0x569f95=_0x572099,_0x1c0f41=this['_formulaData'][_0x569f95(0x183)](_0x38a996);if(_0x1c0f41&&_0x1c0f41['has'](_0x24512b)){const _0x6b2ff6=_0x1c0f41['get'](_0x24512b),_0x51d552=_0x6b2ff6['getValue'](_0x2e597d,_0x2f11f5);if(_0x51d552==null)return;this[_0x569f95(0x1bc)](_0x51d552),_0x6b2ff6['realDeleteValue'](_0x2e597d,_0x2f11f5),this[_0x569f95(0x1c9)](_0x51d552);}}[_0x572099(0x1b2)](_0x57510f,_0x9c8d27){const _0x4685dc=_0x572099,_0x1f364b=this['_formulaData']['get'](_0x57510f);if(_0x9c8d27&&_0x1f364b&&_0x1f364b[_0x4685dc(0x161)](_0x9c8d27)){const _0xc0a85d=_0x1f364b[_0x4685dc(0x183)](_0x9c8d27);this[_0x4685dc(0x1ff)](_0x57510f,_0x9c8d27),_0xc0a85d[_0x4685dc(0x237)]((_0x3fd0ea,_0x13686e,_0x2b8733)=>{const _0x4ea529=_0x4685dc;if(_0x2b8733==null)return!0x0;this[_0x4ea529(0x1c9)](_0x2b8733);}),_0xc0a85d[_0x4685dc(0x1ef)]();}else _0x1f364b&&(_0x1f364b['forEach']((_0x421e55,_0x146990)=>{const _0x2e1e24=_0x4685dc;this[_0x2e1e24(0x1ff)](_0x57510f,_0x146990),_0x421e55[_0x2e1e24(0x237)]((_0x4244ac,_0x4814cb,_0x29478c)=>{const _0xd04942=_0x2e1e24;if(_0x29478c==null)return!0x0;this[_0xd04942(0x1c9)](_0x29478c);});}),this[_0x4685dc(0x1a1)][_0x4685dc(0x1ad)](_0x57510f));}[_0x572099(0x1bc)](_0x4ee119){const _0x4df078=_0x572099;if(_0x4ee119==null)return;const _0x19477c=this['_allTreeMap']['get'](_0x4ee119);if(_0x19477c){const _0x253cb5=[];for(const [_0x5b4064,_0x3aeaab]of _0x19477c)for(const [_0x320753,_0x3852b2]of _0x3aeaab)_0x253cb5[_0x4df078(0x221)]({'unitId':_0x5b4064,'sheetId':_0x320753,'range':_0x3852b2,'id':_0x4ee119});this['_dependencyRTreeCache'][_0x4df078(0x170)](_0x253cb5);}}['removeFormulaDependencyByDefinedName'](_0x57fc08,_0xb46893){const _0x58ed24=_0x572099,_0x22576c=this[_0x58ed24(0x1ac)][_0x58ed24(0x183)](_0x57fc08);if(_0x22576c){const _0x4c70c2=_0x22576c[_0x58ed24(0x183)](_0xb46893);if(_0x4c70c2){for(const _0x349883 of _0x4c70c2)this['_removeDependencyRTreeCache'](_0x349883),this[_0x58ed24(0x1c9)](_0x349883);_0x4c70c2['clear']();}}}[_0x572099(0x18d)](){const _0x534c9c=_0x572099;this['_dependencyRTreeCache'][_0x534c9c(0x18d)]();}[_0x572099(0x223)](){this['_dependencyRTreeCache']['closeKdTree']();}[_0x572099(0x1c9)](_0x339c8a){const _0x1a7489=_0x572099;_0x339c8a!=null&&this['_allTreeMap'][_0x1a7489(0x1ad)](_0x339c8a);}[_0x572099(0x176)](_0x1c35f0){const _0x345b69=_0x572099;var _0xd903c9,_0x18a494;const _0x56b352=_0x1c35f0[_0x345b69(0x1a4)];let _0x51ec1f=this[_0x345b69(0x1f4)][_0x345b69(0x183)](_0x1c35f0['treeId']);for(let _0x1948ea=0x0;_0x1948ea<_0x56b352[_0x345b69(0x18e)];_0x1948ea++){const _0x25777a=_0x56b352[_0x1948ea];let {unitId:_0x948875,sheetId:_0xb08fde,range:_0x20f111}=_0x25777a;_0x51ec1f||(_0x51ec1f=new Map(),this[_0x345b69(0x1f4)]['set'](_0x1c35f0[_0x345b69(0x175)],_0x51ec1f)),_0x51ec1f[_0x345b69(0x161)](_0x948875)||_0x51ec1f[_0x345b69(0x18a)](_0x948875,new Map());const _0x57ddaa=(_0xd903c9=_0x51ec1f==null?void 0x0:_0x51ec1f[_0x345b69(0x183)](_0x948875))==null?void 0x0:_0xd903c9[_0x345b69(0x183)](_0xb08fde);_0x57ddaa&&(_0x20f111={'startRow':Math['min'](_0x20f111['startRow'],_0x57ddaa[_0x345b69(0x233)]),'startColumn':Math[_0x345b69(0x1f1)](_0x20f111[_0x345b69(0x17b)],_0x57ddaa[_0x345b69(0x17b)]),'endRow':Math['max'](_0x20f111[_0x345b69(0x17f)],_0x57ddaa['endRow']),'endColumn':Math[_0x345b69(0x1cb)](_0x20f111[_0x345b69(0x1fe)],_0x57ddaa['endColumn'])}),(_0x18a494=_0x51ec1f[_0x345b69(0x183)](_0x948875))==null||_0x18a494[_0x345b69(0x18a)](_0xb08fde,_0x20f111);}}}var j=Object[_0x572099(0x196)],z=(_0x4a374e,_0x353dfe,_0x499d01,_0x2e3759)=>{for(var _0x702f1e=_0x2e3759>0x1?void 0x0:_0x2e3759?j(_0x353dfe,_0x499d01):_0x353dfe,_0x518641=_0x4a374e['length']-0x1,_0x29667a;_0x518641>=0x0;_0x518641--)(_0x29667a=_0x4a374e[_0x518641])&&(_0x702f1e=_0x29667a(_0x702f1e)||_0x702f1e);return _0x702f1e;};const $=Number['parseInt'](0x692ab7b9);exports[_0x572099(0x1c2)]=class extends c[_0x572099(0x19e)]{[_0x572099(0x173)](){const _0x32b6f6=_0x572099;var _0x4e3242,_0x42c02a;this[_0x32b6f6(0x16d)]()?(this[_0x32b6f6(0x164)]['add']([c[_0x32b6f6(0x200)],{'useClass':H}]),(_0x4e3242=this[_0x32b6f6(0x199)])!=null&&_0x4e3242[_0x32b6f6(0x1c8)]||[[c['ICalculateFormulaService'],{'useClass':B}],[c[_0x32b6f6(0x1e2)],{'useClass':Y}],[c[_0x32b6f6(0x1b3)],{'useClass':b}]][_0x32b6f6(0x1e8)](_0x284783=>this[_0x32b6f6(0x164)]['add'](_0x284783))):(this[_0x32b6f6(0x164)]['add']([c[_0x32b6f6(0x200)],{'useClass':c[_0x32b6f6(0x200)]}]),(_0x42c02a=this[_0x32b6f6(0x199)])!=null&&_0x42c02a['notExecuteFormula']||[[c[_0x32b6f6(0x1f8)],{'useClass':c[_0x32b6f6(0x178)]}],[c[_0x32b6f6(0x1e2)],{'useClass':c['DependencyManagerService']}],[c['IFormulaDependencyGenerator'],{'useClass':c[_0x32b6f6(0x17a)]}]][_0x32b6f6(0x1e8)](_0x83ae40=>this[_0x32b6f6(0x164)][_0x32b6f6(0x204)](_0x83ae40)));}[_0x572099(0x16d)](){const _0x1cbc7b=_0x572099;var _0xc50e62;const _0x4eb5c7=(_0xc50e62=this['_configService'][_0x1cbc7b(0x219)](U[_0x1cbc7b(0x203)]))!=null?_0xc50e62:{},{ls:_0x50a00e,pbk:_0x8ee3a9}=_0x4eb5c7;if(!_0x50a00e||!_0x8ee3a9)return!0x1;const _0x1d5b38=U[_0x1cbc7b(0x17e)](G,k),_0x55786b=new Function('return\x20'+_0x1d5b38)()(_0x50a00e,_0x8ee3a9),_0x861f8d=_0x55786b[_0x1cbc7b(0x1c0)];return _0x55786b[_0x1cbc7b(0x1be)]&&U[_0x1cbc7b(0x19c)](_0x861f8d,'sf',$)?U[_0x1cbc7b(0x1b8)](_0x861f8d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=z([D['DependentOn'](U[_0x572099(0x20c)])],exports['UniverProFormulaEnginePlugin']),Object[_0x572099(0x1a2)](c)[_0x572099(0x1e8)](_0x35f196=>{const _0x1d583c=_0x572099;_0x35f196!==_0x1d583c(0x16e)&&!Object[_0x1d583c(0x18f)]['hasOwnProperty'][_0x1d583c(0x23b)](exports,_0x35f196)&&Object[_0x1d583c(0x186)](exports,_0x35f196,{'enumerable':!0x0,'get':()=>c[_0x35f196]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x588a(_0x189e8b,_0x5ecb5e){var _0xeea23a=_0xeea2();return _0x588a=function(_0x588a30,_0x109f67){_0x588a30=_0x588a30-0x17a;var _0x464790=_0xeea23a[_0x588a30];return _0x464790;},_0x588a(_0x189e8b,_0x5ecb5e);}function _0xeea2(){var _0x2a1ee6=['6178zdPsoW','718128XuPoRp','1573seJAHv','7USDFFr','225uyjibh','4530TUvuJF','47tSTWCx','516tasZGj','2171040sNVpGi','1020UqFyhg','4616SgJVoH','479646teTUrJ'];_0xeea2=function(){return _0x2a1ee6;};return _0xeea2();}(function(_0x1f831c,_0x48e765){var _0x40053a=_0x588a,_0xcbf75f=_0x1f831c();while(!![]){try{var _0x572cd3=-parseInt(_0x40053a(0x17a))/0x1*(-parseInt(_0x40053a(0x180))/0x2)+parseInt(_0x40053a(0x181))/0x3+-parseInt(_0x40053a(0x17b))/0x4*(parseInt(_0x40053a(0x17d))/0x5)+parseInt(_0x40053a(0x17f))/0x6*(-parseInt(_0x40053a(0x183))/0x7)+-parseInt(_0x40053a(0x17e))/0x8*(parseInt(_0x40053a(0x184))/0x9)+-parseInt(_0x40053a(0x185))/0xa*(-parseInt(_0x40053a(0x182))/0xb)+-parseInt(_0x40053a(0x17c))/0xc;if(_0x572cd3===_0x48e765)break;else _0xcbf75f['push'](_0xcbf75f['shift']());}catch(_0x23e5e3){_0xcbf75f['push'](_0xcbf75f['shift']());}}}(_0xeea2,0x24118));export*from'@univerjs/engine-formula/facade';
1
+ (function(_0x2d5b79,_0x15214b){var _0x3f4d71=_0x49f9,_0x3503ec=_0x2d5b79();while(!![]){try{var _0x3df30b=-parseInt(_0x3f4d71(0xb8))/0x1*(parseInt(_0x3f4d71(0xb0))/0x2)+-parseInt(_0x3f4d71(0xba))/0x3*(parseInt(_0x3f4d71(0xb2))/0x4)+parseInt(_0x3f4d71(0xb1))/0x5*(-parseInt(_0x3f4d71(0xb3))/0x6)+parseInt(_0x3f4d71(0xbb))/0x7*(parseInt(_0x3f4d71(0xb5))/0x8)+parseInt(_0x3f4d71(0xbd))/0x9*(parseInt(_0x3f4d71(0xb9))/0xa)+-parseInt(_0x3f4d71(0xb7))/0xb*(-parseInt(_0x3f4d71(0xbc))/0xc)+parseInt(_0x3f4d71(0xb4))/0xd*(parseInt(_0x3f4d71(0xb6))/0xe);if(_0x3df30b===_0x15214b)break;else _0x3503ec['push'](_0x3503ec['shift']());}catch(_0x182118){_0x3503ec['push'](_0x3503ec['shift']());}}}(_0x1a88,0x59889));function _0x1a88(){var _0x448b01=['7rDZfzK','3804516vvJvgf','5754393YAmicE','340598kRLQDd','24165zSekas','124QPHfuk','468izqLSZ','4543669MQKLOU','660568OiGLtv','14caaLdL','11aweeMS','2CtpfJR','10YtyKWW','29439NRAtEd'];_0x1a88=function(){return _0x448b01;};return _0x1a88();}function _0x49f9(_0x344870,_0x135fbd){var _0x1a880c=_0x1a88();return _0x49f9=function(_0x49f9d0,_0x2f009e){_0x49f9d0=_0x49f9d0-0xb0;var _0x4cf651=_0x1a880c[_0x49f9d0];return _0x4cf651;},_0x49f9(_0x344870,_0x135fbd);}export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4744ad=_0x410e;(function(_0xce3116,_0x1f4670){const _0x451f40=_0x410e,_0x346a24=_0xce3116();while(!![]){try{const _0xd4c3b7=parseInt(_0x451f40(0x16e))/0x1+-parseInt(_0x451f40(0x178))/0x2+parseInt(_0x451f40(0x1d1))/0x3+parseInt(_0x451f40(0x160))/0x4+-parseInt(_0x451f40(0x1dd))/0x5*(-parseInt(_0x451f40(0x1e4))/0x6)+parseInt(_0x451f40(0x157))/0x7*(-parseInt(_0x451f40(0x191))/0x8)+-parseInt(_0x451f40(0x1c8))/0x9;if(_0xd4c3b7===_0x1f4670)break;else _0x346a24['push'](_0x346a24['shift']());}catch(_0x40f57b){_0x346a24['push'](_0x346a24['shift']());}}}(_0xc20b,0xd5214));var J=Object[_0x4744ad(0x17f)],q=(_0x6ecde1,_0x1f769d,_0x37c863)=>_0x1f769d in _0x6ecde1?J(_0x6ecde1,_0x1f769d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37c863}):_0x6ecde1[_0x1f769d]=_0x37c863,j=(_0xf69383,_0xb9add8,_0x3da35f)=>q(_0xf69383,typeof _0xb9add8!='symbol'?_0xb9add8+'':_0xb9add8,_0x3da35f);import{UniverLicensePlugin as _0x30a96a,LS_CONFIG_KEY as _0x3c6c79,unshiftString as _0x11cd8f,isFeatureAuthorizedWithinTime as _0x21237d,getSheetFeatureLimit as _0x5bceeb}from'@univerjs-pro/license';import{ObjectMatrix as _0x221da8,requestImmediateMacroTask as _0x2b1edc,RTree as _0x3b3d81,DependentOn as _0x199b11}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1df8c4,generateRandomDependencyTreeId as _0x777f8b,FormulaDependencyTree as _0xe3e367,FormulaDependencyTreeType as _0x5ec92b,FormulaDependencyTreeVirtual as _0x414b6c,generateAstNode as _0x233825,LexerTreeBuilder as _0x242423,ErrorType as _0x1433d0,DEFAULT_TOKEN_TYPE_ROOT as _0x26a0bc,DEFAULT_TOKEN_TYPE_PARAMETER as _0x4cab01,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4a9c57,NEW_EXCEL_FUNCTIONS as _0x217369,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x5cc0c0,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x586751,matchToken as _0xbc6c48,SUFFIX_TOKEN_SET as _0x9980be,prefixToken as _0x3faa38,LexerNode as _0x2fd889,OPERATOR_TOKEN_SET as _0x4ac640,CalculateFormulaService as _0x11bc9d,FormulaExecuteStageType as _0x45f46d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3103a2,DEFAULT_INTERVAL_COUNT as _0x4ae180,DependencyManagerBaseService as _0x56c72f,UniverFormulaEnginePlugin as _0x59cb2f,ICalculateFormulaService as _0x208c10,IDependencyManagerService as _0x5a02c4,IFormulaDependencyGenerator as _0x42fc7b,DependencyManagerService as _0x2df86a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'k',0x1:'Z',0x2:'p',0x3:'G',0x4:'U',0x5:'X',0x6:'y',0x7:'b',0x8:'E',0x9:'P','z':'0','P':'1','t':'2','W':'3','g':'4','r':'5','C':'6','O':'7','A':'8','R':'9','a':'a','N':'c','u':'d','L':'e','o':'f','I':'g','D':'h','Y':'i','n':'j','Q':'l','y':'m','c':'n','f':'o','G':'q','B':'r','b':'s','j':'t','w':'u','e':'v','E':'w','x':'x','T':'z','J':'A','v':'B','F':'C','p':'D','H':'F','U':'H','m':'I','K':'J','q':'K','M':'L','Z':'M','i':'N','l':'O','d':'Q','V':'R','S':'S','X':'T','s':'V','k':'W','h':'Y'},Ce='owcNjYfc\x20uLNB62jYfc(QYNLcbL,\x202w7QYNqL6)\x20{\x20\x20\x20\x20jB6\x20{\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20QYNLcbLmcof9aBjJBBa6\x20=\x20QYNLcbL.b2QYj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20fBYIYcZLbbaIL\x20=\x20KSli.2aBbL(ajf7(QYNLcbLmcof9aBjJBBa6[t]));\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!fBYIYcZLbbaIL.wu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fBYIYcZLbbaIL.wu\x20=\x20iwy7LB(QYNLcbLmcof9aBjJBBa6[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbkfB0LB\x20=\x20j62Lfo\x20kfB0LB3Qf7aQSNf2L\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20bLQo\x20YcbjacNLfo\x20kfB0LB3Qf7aQSNf2L;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbvBfEbLB\x20=\x20j62Lfo\x20EYcufE\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20j62Lfo\x20EYcufE.QfNajYfc\x20!==\x20\x27wcuLoYcLu\x27;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20NfcjLxj\x20=\x20YbkfB0LB\x20?\x20bLQo\x20:\x20(YbvBfEbLB\x20?\x20EYcufE\x20:\x20IQf7aQXDYb);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaILkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[t]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaIL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(yLbbaILkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBLkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[W]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(bYIcajwBLkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcsaQYu\x20=\x20NfcjLxj.__eLBYo6__(bYIcajwBL,\x20yLbbaIL,\x202w7QYNqL6);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20ufyaYc\x20=\x20fBYIYcZLbbaIL.uy;\x20\x20\x20\x20\x20\x20\x20\x20owcNjYfc\x20YbpfyaYcZajNDYcI(f9ajjLBc,\x20fUfbj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc\x20=\x20f9ajjLBc.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj\x20=\x20fUfbj.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc9aBjb\x20=\x202ajjLBc.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj9aBjb\x20=\x20Dfbj.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!2ajjLBc.YcNQwuLb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBc\x20===\x20Dfbj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(2ajjLBc9aBjb.QLcIjD\x20<\x20t\x20||\x202ajjLBc9aBjb[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBcSwooYx\x20=\x202ajjLBc9aBjb.bQYNL(P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20DfbjSwooYx\x20=\x20Dfbj9aBjb.bQYNL(-2ajjLBc9aBjb.QLcIjD\x20+\x20P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBcSwooYx\x20===\x20DfbjSwooYx;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QLj\x20ufyaYcsaQYu\x20=\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(YbvBfEbLB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20(ufyaYc\x20&&\x20ufyaYc.QLcIjD)\x20?\x20ufyaYc.bfyL((uymjLy)\x20=>\x20YbpfyaYcZajNDYcI(uymjLy,\x20QfNajYfc.DfbjcayL))\x20:\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(QfNajYfc.DfbjcayL\x20===\x20\x27QfNaQDfbj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20LQbL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20eaQYu\x20=\x20bYIcsaQYu\x20&&\x20ufyaYcsaQYu;\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20fBYIYcZLbbaIL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20NajND\x20(LBBfB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu:\x20oaQbL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class be extends _0x1df8c4{constructor(){const _0x525003=_0x4744ad;super(...arguments),j(this,_0x525003(0x1d0),new Map());}['dispose'](){const _0x10a881=_0x4744ad;super[_0x10a881(0x1a9)](),this['_dependencyTreeCache'][_0x10a881(0x1f6)]();}async[_0x4744ad(0x164)](){const _0x8229b1=_0x4744ad;this[_0x8229b1(0x1b3)]();const _0x1f68bd=this[_0x8229b1(0x15c)][_0x8229b1(0x18c)](),_0x180df5=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x59d5aa=this['_currentConfigService'][_0x8229b1(0x20a)]();_0x59d5aa!=null&&Object[_0x8229b1(0x181)](_0x59d5aa)[_0x8229b1(0x15a)](_0x5e5afe=>{const _0x44d625=_0x8229b1;_0x5e5afe!=null&&Object[_0x44d625(0x181)](_0x59d5aa[_0x5e5afe])[_0x44d625(0x15a)](_0x3b59c7=>{const _0x464d43=_0x44d625;_0x3b59c7!=null&&(this['_dependencyManagerService'][_0x464d43(0x165)](_0x5e5afe,_0x3b59c7),this[_0x464d43(0x1f5)][_0x464d43(0x1cd)](_0x5e5afe,_0x3b59c7),this[_0x464d43(0x1f5)][_0x464d43(0x1ae)](_0x5e5afe,_0x3b59c7));});});const _0x2c93f1=this[_0x8229b1(0x15c)][_0x8229b1(0x1f2)]();await this[_0x8229b1(0x1a5)](_0x1f68bd,_0x180df5,_0x2c93f1),this[_0x8229b1(0x1f5)][_0x8229b1(0x1ba)]();const _0x35ed8b=this[_0x8229b1(0x161)](),_0xc6758c=this[_0x8229b1(0x1e2)](_0x35ed8b);return this[_0x8229b1(0x169)](_0xc6758c)&&this[_0x8229b1(0x1a6)]['enableCycleDependency'](),this[_0x8229b1(0x1d0)][_0x8229b1(0x1f6)](),this[_0x8229b1(0x188)][_0x8229b1(0x1f6)](),this[_0x8229b1(0x1f5)][_0x8229b1(0x201)](),this[_0x8229b1(0x1a6)][_0x8229b1(0x192)](),Promise[_0x8229b1(0x1ed)](_0xc6758c);}[_0x4744ad(0x1aa)](_0x3dc562,_0x11be27){const _0x133f5c=_0x4744ad,_0x25ba70=[_0x3dc562];for(;_0x25ba70['length']>0x0;){const _0x3e3217=_0x25ba70[_0x25ba70['length']-0x1];if((_0x11be27[_0x133f5c(0x177)](_0x3e3217)||0x0)===0x0){_0x11be27[_0x133f5c(0x1ea)](_0x3e3217,0x1);const _0x58c3d5=this[_0x133f5c(0x1d0)][_0x133f5c(0x177)](_0x3e3217);if(_0x58c3d5==null){_0x11be27[_0x133f5c(0x1ea)](_0x3e3217,0x2),_0x25ba70[_0x133f5c(0x1c5)]();continue;}const _0x834cdf=this[_0x133f5c(0x1f5)]['searchDependency'](_0x58c3d5[_0x133f5c(0x1ff)]());for(const _0x59f06f of _0x834cdf){const _0x1208c7=_0x11be27[_0x133f5c(0x177)](_0x59f06f)||0x0;if(_0x1208c7===0x1)return!0x0;_0x1208c7===0x0&&_0x25ba70[_0x133f5c(0x1e8)](_0x59f06f);}}else _0x11be27['set'](_0x3e3217,0x2),_0x25ba70[_0x133f5c(0x1c5)]();}return!0x1;}[_0x4744ad(0x169)](_0x29e6eb){const _0x4d508d=_0x4744ad,_0x2cc65c=new Map();for(const _0x79bbd1 of _0x29e6eb)if(!_0x2cc65c[_0x4d508d(0x189)](_0x79bbd1['treeId'])&&this['_isCyclicUtilMap'](_0x79bbd1[_0x4d508d(0x187)],_0x2cc65c))return!0x0;return _0x2cc65c['clear'](),!0x1;}[_0x4744ad(0x204)](_0x2b58fd,_0x7a5f57,_0x5d93d7){const _0x3115ef=_0x4744ad,{unitId:_0x47d382,subUnitId:_0x2acf30,dependencyRanges:_0x201d44,getDirtyData:_0x1726ce}=_0x5d93d7,_0x46207b=_0x7a5f57||_0x777f8b(this[_0x3115ef(0x1f5)]),_0x4b2c46=new _0xe3e367(_0x46207b);_0x4b2c46[_0x3115ef(0x1ad)]=_0x47d382,_0x4b2c46[_0x3115ef(0x179)]=_0x2acf30,_0x4b2c46[_0x3115ef(0x208)]=_0x201d44,_0x4b2c46['getDirtyData']=_0x1726ce;const _0x2fd9d2=_0x1726ce(this[_0x3115ef(0x15c)][_0x3115ef(0x1be)](),this[_0x3115ef(0x1a6)][_0x3115ef(0x18e)]()),_0x5192b5=this[_0x3115ef(0x1e1)](_0x2fd9d2[_0x3115ef(0x1d9)]);return _0x4b2c46[_0x3115ef(0x1fb)]=_0x5192b5,_0x4b2c46[_0x3115ef(0x1c4)]=_0x2b58fd,_0x4b2c46[_0x3115ef(0x1c2)]=_0x5ec92b[_0x3115ef(0x18d)],this[_0x3115ef(0x1f5)][_0x3115ef(0x182)](_0x47d382,_0x2acf30,_0x2b58fd,_0x4b2c46),this[_0x3115ef(0x1d0)][_0x3115ef(0x1ea)](_0x4b2c46['treeId'],_0x4b2c46),this['_dependencyManagerService'][_0x3115ef(0x1e3)](_0x5d93d7['unitId'],_0x5d93d7[_0x3115ef(0x179)],_0x2b58fd)&&(_0x4b2c46[_0x3115ef(0x1d8)]=!0x0),_0x4b2c46;}[_0x4744ad(0x1bf)](_0x40f8f5,_0x43a641,_0x258238){const _0x469594=_0x4744ad;var _0x2cfdb0;for(const _0x297a50 of _0x43a641){const _0x3c5e78=_0x40f8f5[_0x297a50];if(_0x3c5e78==null)continue;const _0x5f4c84=Object[_0x469594(0x181)](_0x3c5e78);for(const _0x3d5638 of _0x5f4c84){const _0x390271=_0x3c5e78[_0x3d5638];if(_0x390271==null)continue;const _0x12c072=Object[_0x469594(0x181)](_0x390271);for(const _0x392a1b of _0x12c072){const _0x3b8796=this[_0x469594(0x1f5)][_0x469594(0x1fd)](_0x392a1b),_0x36d480=_0x390271[_0x392a1b],{f:_0x349739,ranges:_0x274c73}=_0x36d480;let _0x4ad881=!0x1;_0x3b8796&&(_0x4ad881=!0x0);const {firstRow:_0x38aa89,firstColumn:_0x213fa5}=this[_0x469594(0x205)](_0x274c73),_0x16e786=this[_0x469594(0x1f5)][_0x469594(0x158)](_0x297a50,_0x3d5638,_0x392a1b),_0x3bb78f=(_0x2cfdb0=_0x16e786==null?void 0x0:_0x16e786[_0x469594(0x1f0)](0x0,0x0))!=null?_0x2cfdb0:_0x777f8b(this['_dependencyManagerService']),_0x50c972=new _0xe3e367(_0x3bb78f);for(let _0x1f2de0=0x0;_0x1f2de0<_0x274c73[_0x469594(0x1a3)];_0x1f2de0++){const _0x5399d8=_0x274c73[_0x1f2de0],{startRow:_0x2b866b,startColumn:_0x3af4fd,endRow:_0x2f6687,endColumn:_0x57deee}=_0x5399d8;for(let _0x7b04d5=_0x2b866b;_0x7b04d5<=_0x2f6687;_0x7b04d5++)for(let _0x399428=_0x3af4fd;_0x399428<=_0x57deee;_0x399428++){const _0x362e4f=_0x399428-_0x213fa5,_0x2e201a=_0x7b04d5-_0x38aa89;if(_0x362e4f===0x0&&_0x2e201a===0x0){_0x50c972[_0x469594(0x197)]=_0x349739,_0x50c972[_0x469594(0x1ad)]=_0x297a50,_0x50c972[_0x469594(0x179)]=_0x3d5638,_0x50c972[_0x469594(0x1e7)]=_0x392a1b,_0x50c972['type']=_0x5ec92b[_0x469594(0x1b8)],_0x50c972['isCache']=_0x4ad881,_0x258238[_0x469594(0x1e8)](_0x50c972),this['_dependencyTreeCache'][_0x469594(0x1ea)](_0x50c972[_0x469594(0x187)],_0x50c972),this[_0x469594(0x1f5)][_0x469594(0x1df)](_0x297a50,_0x3d5638,_0x392a1b,_0x50c972),this[_0x469594(0x1f5)][_0x469594(0x1c7)](_0x50c972);continue;}const _0x2a3d32=new _0x414b6c();_0x2a3d32[_0x469594(0x187)]=(_0x16e786==null?void 0x0:_0x16e786[_0x469594(0x1f0)](_0x362e4f,_0x2e201a))||_0x777f8b(this['_dependencyManagerService']),_0x2a3d32[_0x469594(0x1d4)]=_0x50c972,_0x2a3d32[_0x469594(0x1d7)]=_0x362e4f,_0x2a3d32['refOffsetY']=_0x2e201a,_0x2a3d32[_0x469594(0x1d8)]=_0x4ad881,this[_0x469594(0x1f5)][_0x469594(0x1df)](_0x297a50,_0x3d5638,_0x392a1b,_0x2a3d32),this[_0x469594(0x1f5)]['addFormulaDependencyByDefinedName'](_0x2a3d32),_0x258238['push'](_0x2a3d32),this[_0x469594(0x1d0)][_0x469594(0x1ea)](_0x2a3d32[_0x469594(0x187)],_0x2a3d32);}}this[_0x469594(0x1f5)][_0x469594(0x190)](_0x392a1b);}}}}[_0x4744ad(0x1a2)](_0x4c9c0a,_0x3760b4,_0x44be5d,_0x2512de){const _0x582afb=_0x4744ad;for(const _0x58874e of _0x4c9c0a){const _0xaf3a1c=_0x3760b4[_0x58874e];if(_0xaf3a1c==null)continue;const _0xde19ae=Object['keys'](_0xaf3a1c);for(const _0x35d6e3 of _0xde19ae){const _0x21c3b0=new _0x221da8(_0xaf3a1c[_0x35d6e3]||{}),_0x3338e5=new Map();_0x21c3b0[_0x582afb(0x18a)]((_0x55927e,_0x6438da,_0x30d174)=>{const _0xe4ba06=_0x582afb;if(_0x30d174==null)return!0x0;const {x:_0x17d362=0x0,y:_0xa514bb=0x0,si:_0x1595f6}=_0x30d174;if(!(_0x17d362===0x0&&_0xa514bb===0x0&&_0x1595f6!=null))return!0x0;const _0x30a955=this[_0xe4ba06(0x1de)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da,_0x44be5d,_0x30d174),_0x191410=this[_0xe4ba06(0x1f5)][_0xe4ba06(0x19e)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da);_0x191410!=null?_0x30a955[_0xe4ba06(0x187)]=_0x191410:(this['_dependencyManagerService'][_0xe4ba06(0x1eb)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da,_0x30a955),this[_0xe4ba06(0x1f5)][_0xe4ba06(0x1c7)](_0x30a955)),_0x3338e5['set'](_0x1595f6,_0x30a955),_0x2512de[_0xe4ba06(0x1e8)](_0x30a955),this[_0xe4ba06(0x1d0)]['set'](_0x30a955[_0xe4ba06(0x187)],_0x30a955);}),_0x21c3b0[_0x582afb(0x18a)]((_0x46cc14,_0x169497,_0x173460)=>{const _0x1f048f=_0x582afb;if(_0x173460==null)return!0x0;const {x:_0x214a93=0x0,y:_0x3bba14=0x0,si:_0x3ff5ba}=_0x173460;if(_0x214a93===0x0&&_0x3bba14===0x0&&_0x3ff5ba!=null)return!0x0;let _0x1e9174;if(_0x3ff5ba&&_0x3338e5[_0x1f048f(0x189)](_0x3ff5ba)){const _0x5d2ff2=_0x3338e5[_0x1f048f(0x177)](_0x3ff5ba);_0x1e9174=this['_createVirtualFDtree'](_0x5d2ff2,_0x173460);}else _0x1e9174=this[_0x1f048f(0x1de)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497,_0x44be5d,_0x173460);const _0x14f521=this[_0x1f048f(0x1f5)][_0x1f048f(0x19e)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497);_0x14f521!=null?_0x1e9174[_0x1f048f(0x187)]=_0x14f521:(this[_0x1f048f(0x1f5)][_0x1f048f(0x1eb)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497,_0x1e9174),this[_0x1f048f(0x1f5)][_0x1f048f(0x1c7)](_0x1e9174)),_0x2512de[_0x1f048f(0x1e8)](_0x1e9174),this['_dependencyTreeCache'][_0x1f048f(0x1ea)](_0x1e9174[_0x1f048f(0x187)],_0x1e9174);}),_0x3338e5[_0x582afb(0x1f6)]();}}}[_0x4744ad(0x1de)](_0x29f934,_0x181e82,_0x1f2d6b,_0x254467,_0x28fafc,_0x5c0f6c){const _0x37f472=_0x4744ad,{f:_0xc8475c,x:_0x386b30=0x0,y:_0x1587db=0x0}=_0x5c0f6c,_0x3203d3=new _0xe3e367(_0x777f8b(this['_dependencyManagerService'])),_0x2d7bc1=_0x28fafc[_0x29f934][_0x181e82];return _0x3203d3[_0x37f472(0x197)]=_0xc8475c,_0x3203d3[_0x37f472(0x1ad)]=_0x29f934,_0x3203d3['subUnitId']=_0x181e82,_0x3203d3['row']=_0x1f2d6b,_0x3203d3['column']=_0x254467,_0x3203d3[_0x37f472(0x203)]=_0x2d7bc1[_0x37f472(0x203)],_0x3203d3[_0x37f472(0x1fa)]=_0x2d7bc1[_0x37f472(0x1fa)],_0x3203d3;}[_0x4744ad(0x161)](){const _0x5362af=_0x4744ad,_0x647c4b=[],_0x1c9f5e=new Set(),_0x33d7b6=this[_0x5362af(0x15c)][_0x5362af(0x198)](),_0x2ae816=this[_0x5362af(0x15c)][_0x5362af(0x194)](),_0x5662b0=this['_dependencyManagerService'][_0x5362af(0x1f8)](_0x2ae816),_0x2bfa72=this['_dependencyRTreeCacheForAddressFunction'][_0x5362af(0x1e6)](_0x2ae816);for(const _0x51abd0 of _0x2bfa72)_0x5662b0['add'](_0x51abd0);for(const [_0x1632eb,_0x1ae3f5]of this[_0x5362af(0x1d0)])(_0x33d7b6||_0x1ae3f5[_0x5362af(0x17e)]||_0x1ae3f5[_0x5362af(0x20b)](this['_currentConfigService'][_0x5362af(0x184)]())||_0x5662b0['has'](_0x1632eb)&&!_0x1ae3f5[_0x5362af(0x17c)](this['_currentConfigService']['getExcludedRange']()))&&!_0x1c9f5e[_0x5362af(0x189)](_0x1632eb)&&(_0x647c4b[_0x5362af(0x1e8)](_0x1ae3f5),_0x1c9f5e['add'](_0x1632eb));for(const [_0x22ff97,_0x35ee72]of this[_0x5362af(0x1d0)])_0x35ee72['isVirtual']||(_0x35ee72['rangeList']['length']=0x0);return _0x647c4b;}[_0x4744ad(0x1b5)](_0x3e2d10){return this['_dependencyTreeCache']['get'](_0x3e2d10);}['_getTreeNode'](_0x13069e){const _0x2e6813=_0x4744ad;return _0x233825(_0x13069e[_0x2e6813(0x1ad)],_0x13069e[_0x2e6813(0x197)],this[_0x2e6813(0x1d6)],this[_0x2e6813(0x175)],this[_0x2e6813(0x15c)]);}*[_0x4744ad(0x15b)](_0x427a01,_0x2d2680){const _0x57678c=_0x4744ad,_0x11318f=_0x427a01,_0x2cef57=new Set();for(;_0x11318f[_0x57678c(0x1a3)]>0x0;){const _0x1a9ebc=_0x11318f['pop']();if(_0x2cef57[_0x57678c(0x1f6)](),_0x1a9ebc===void 0x0||_0x1a9ebc[_0x57678c(0x1ab)]())continue;if(_0x1a9ebc['isAdded']()){yield _0x1a9ebc,_0x1a9ebc[_0x57678c(0x171)](),_0x2d2680[_0x57678c(0x17a)](_0x1a9ebc['treeId']);continue;}const _0x10fddf=this[_0x57678c(0x1f5)][_0x57678c(0x1f8)](_0x1a9ebc[_0x57678c(0x1ff)](),_0x2d2680),_0x223705=this[_0x57678c(0x188)][_0x57678c(0x1e6)](_0x1a9ebc[_0x57678c(0x1ff)](),_0x2d2680);for(const _0x8bb479 of _0x223705)_0x10fddf[_0x57678c(0x17a)](_0x8bb479);for(const _0x2196c8 of _0x10fddf){const _0x5ee4e0=this[_0x57678c(0x1d0)]['get'](_0x2196c8);if(!_0x5ee4e0)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5ee4e0[_0x57678c(0x156)]()||_0x1a9ebc[_0x57678c(0x1ab)]()||_0x2cef57[_0x57678c(0x17a)](_0x5ee4e0);}if(_0x10fddf['clear'](),_0x2cef57[_0x57678c(0x1da)]===0x0)yield _0x1a9ebc,_0x1a9ebc['setSkip'](),_0x2d2680['add'](_0x1a9ebc['treeId']);else{_0x1a9ebc[_0x57678c(0x1a0)](),_0x11318f[_0x57678c(0x1e8)](_0x1a9ebc);for(const _0x2e67be of _0x2cef57)_0x11318f[_0x57678c(0x1e8)](_0x2e67be);}}_0x11318f[_0x57678c(0x1a3)]=0x0,_0x2cef57[_0x57678c(0x1f6)]();}[_0x4744ad(0x1e2)](_0x2f6ee5){const _0x564ab6=_0x4744ad,_0x168cce=[],_0x265154=new Set();for(const _0x14b138 of this[_0x564ab6(0x15b)](_0x2f6ee5,_0x265154))_0x168cce[_0x564ab6(0x1e8)](_0x14b138);return _0x168cce;}}function _0xc20b(){const _0x27757a=['resolve','setCurrent','getNewFormulaWithPrefix','getValue','treeBuilder','getUnitData','_initializeWithOverride','_removeAllTreeMap','_dependencyManagerService','clear','\x22\x20is\x20duplicated.','searchDependency','setTotalFormulasToCalculate','columnCount','featureDirtyRanges','COLON','hasOtherFormulaDataMainData','error','toRTreeItem','_xlfn.','closeKdTree','string','rowCount','_getFeatureFormulaTree','_getFirstCellOfRange','node','_otherFormulaDataMainData','rangeList','getChildren','getClearDependencyTreeCache','dependencySheetName','isAdded','63ZCMbop','getOtherFormulaDependency','removeFeatureFormulaDependency','forEach','_traverse','_currentConfigService','setFormulaExecuteStage','setTotalArrayFormulasToCalculate','return\x20','6841688BvferI','_getUpdateTreeListAndMakeDependency','setRuntimeFeatureCellData','_definedNameMap','generate','clearOtherFormulaDependency','_interpreter','endColumn','markedAsNoFunctionsExecuted','_checkIsCycleDependency','delete','refOffsetY','intervalCount','_executionInProgressListener$','1584877GxyrDv','setRuntimeData','executeAsync','setSkip','_restDependencyTreeId','reset','MINUS','_astTreeBuilder','removeFormulaDependencyByDefinedName','get','1452036QXUxzO','subUnitId','add','message','isExcludeRange','START_CALCULATION_ARRAY_FORMULA','isDirty','defineProperty','PLUS','keys','addFeatureFormulaDependency','valid','getDirtyNameMap','getRuntimeState','_config','treeId','_dependencyRTreeCacheForAddressFunction','has','forValue','next','getFormulaData','FEATURE_FORMULA','getAllRuntimeData','_xlpm.','addOtherFormulaDependencyMainData','460368ZJPDux','clearArrayObjectCache','notExecuteFormula','getDirtyRanges','_formulaDependencyGenerator','_injector','formula','isForceCalculate','CURRENTLY_CALCULATING','realDeleteValue','_removeDependencyRTreeCache','_initLicenseValid','_clearFunctionString','getFormulaDependency','min','setAdded','_dependencyRTreeCache','_registerFormulas','length','Lambda\x20parameter\x20name\x20\x22','_generateTreeList','_runtimeService','startRow','_handleNewFunctionChild','dispose','_isCyclicUtilMap','isSkip','_checkAddBracketForMinus','unitId','clearFormulaDependency','slice','getConfig','_lambdaFunctionParameterSet','resetCalculationState','_updateRangeFlatten','removeFormulaDependency','_getTreeById','setRuntimeOtherData','_featureFormulaData','OTHER_FORMULA','removeOtherFormulaDependency','openKdTree','VALUE','_removeDependencyRTreeCacheById','setRuntimeFeatureRange','getDirtyData','_registerOtherFormulas','START_DEPENDENCY','markedAsStopFunctionsExecuted','type','_configService','featureId','pop','setValue','addFormulaDependencyByDefinedName','34722891BkBHam','bulkRemove','_generateNewFunctionString','endRow','getToken','clearFeatureFormulaDependency','_hasNewExcelFunction','_apply','_dependencyTreeCache','4664559lDPAgh','_formulaData','_allTreeMap','refTree','_otherFormulaData','_lexer','refOffsetX','isCache','dirtyRanges','size','startColumn','setCompletedArrayFormulasCount','15lDnawj','_createFDtree','addOtherFormulaDependency','START_CALCULATION','_convertDirtyRangesToUnitRange','_calculateRunList','getFeatureFormulaDependency','2249718YJAlyl','IDLE','bulkSearch','formulaId','push','setCompletedFormulasCount','set','addFormulaDependency','_addAllTreeMap'];_0xc20b=function(){return _0x27757a;};return _0xc20b();}class je extends _0x242423{constructor(){const _0x3f3f89=_0x4744ad;super(...arguments),j(this,'_hasNewExcelFunction',!0x1),j(this,_0x3f3f89(0x1b1),new Set());}[_0x4744ad(0x1ef)](_0xf1f514,_0x18b485){const _0x318b83=_0x4744ad,_0x3491f3=this[_0x318b83(0x1f1)](_0xf1f514,!0x1);if(!_0x3491f3||_0x3491f3===_0x1433d0[_0x318b83(0x1bb)]||Array['isArray'](_0x3491f3))return null;const _0x234b24=[];return this[_0x318b83(0x1ce)]=!0x1,this['_generateNewFunctionString'](_0x3491f3,_0x234b24,_0x18b485),this['_hasNewExcelFunction']?'='+_0x234b24['join'](''):null;}['_generateNewFunctionString'](_0x2c54fb,_0x45f9d0,_0x378a9b){const _0x463f0f=_0x4744ad,_0x3eb362=_0x2c54fb[_0x463f0f(0x1cc)](),_0x4e06c1=_0x3eb362['trim'](),_0x12ffe4=_0x4e06c1['toUpperCase'](),_0x561120=this[_0x463f0f(0x19d)](_0x12ffe4),_0x46f2df=_0x378a9b(_0x561120);let _0x3eb715=0x0;_0x3eb362===_0x26a0bc?_0x3eb715=0x3:_0x3eb362===_0x4cab01?_0x3eb715=0x4:_0x3eb362===_0x4a9c57?_0x3eb715=0x5:_0x217369[_0x463f0f(0x189)](_0x561120)?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0):_0x12ffe4===_0x5cc0c0?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0,_0x3eb715=0x2):_0x12ffe4===_0x586751?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0,_0x3eb715=0x1):_0x12ffe4===_0xbc6c48[_0x463f0f(0x1fc)]?_0x3eb715=0x8:_0x9980be[_0x463f0f(0x189)](_0x12ffe4)?_0x3eb715=0x7:_0x12ffe4===_0x3faa38[_0x463f0f(0x174)]?(this[_0x463f0f(0x1ac)](_0x2c54fb)&&(_0x3eb715=0x9),_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362)):(_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),_0x3eb715=0xa),_0x46f2df?(_0x3eb715!==0x2&&_0x3eb715!==0x1&&(_0x3eb715=0x6),_0x45f9d0[_0x463f0f(0x1e8)]('(')):_0x3eb715===0x9&&_0x45f9d0['push']('(');const _0x5d56b9=_0x2c54fb['getChildren'](),_0x3e7f39=_0x5d56b9['length'];if(_0x3eb715===0x2){const _0x30fadc=_0x5d56b9[0x0];let _0x1371a8=0x0;_0x30fadc instanceof _0x2fd889&&_0x30fadc[_0x463f0f(0x1cc)]()===_0x4a9c57&&(_0x1371a8=0x1);for(let _0x2ededb=_0x1371a8;_0x2ededb<_0x3e7f39-0x1;_0x2ededb++){const _0x33eee1=_0x5d56b9[_0x2ededb];if(_0x33eee1 instanceof _0x2fd889){const _0x39cc6d=_0x33eee1[_0x463f0f(0x209)]()[0x0];typeof _0x39cc6d==_0x463f0f(0x202)&&(this[_0x463f0f(0x1b1)][_0x463f0f(0x189)](_0x39cc6d)&&console[_0x463f0f(0x1fe)](_0x463f0f(0x1a4)+_0x39cc6d+_0x463f0f(0x1f7)),this[_0x463f0f(0x1b1)]['add'](_0x39cc6d),_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x18f)+_0x39cc6d),this[_0x463f0f(0x1ce)]=!0x0);}_0x45f9d0['push'](',');}this[_0x463f0f(0x1a8)](_0x5d56b9[_0x3e7f39-0x1],_0x45f9d0,_0x378a9b),_0x1371a8===0x1&&(_0x45f9d0[_0x463f0f(0x1e8)](')'),_0x45f9d0[_0x463f0f(0x1e8)]('('),this[_0x463f0f(0x1ca)](_0x30fadc,_0x45f9d0,_0x378a9b)),_0x45f9d0['push'](')');return;}else{if(_0x3eb715===0x1){for(let _0x2701f3=0x0;_0x2701f3<_0x3e7f39-0x1;_0x2701f3++){const _0x3df9e3=_0x5d56b9[_0x2701f3];if(_0x3df9e3 instanceof _0x2fd889&&_0x2701f3%0x2===0x0){const _0x32fdc1=_0x3df9e3['getChildren']()[0x0];if(typeof _0x32fdc1==_0x463f0f(0x202)){this[_0x463f0f(0x1b1)]['has'](_0x32fdc1)&&console[_0x463f0f(0x1fe)]('Let\x20variable\x20name\x20\x22'+_0x32fdc1+_0x463f0f(0x1f7)),this[_0x463f0f(0x1b1)]['add'](_0x32fdc1),_0x45f9d0['push'](_0x463f0f(0x18f)+_0x32fdc1),this[_0x463f0f(0x1ce)]=!0x0,_0x45f9d0[_0x463f0f(0x1e8)](',');continue;}}if(this[_0x463f0f(0x1a8)](_0x3df9e3,_0x45f9d0,_0x378a9b),_0x3df9e3 instanceof _0x2fd889){const _0x2b42cb=_0x5d56b9[_0x2701f3+0x1];_0x2b42cb&&_0x2b42cb instanceof _0x2fd889&&_0x45f9d0['push'](',');}}this[_0x463f0f(0x1a8)](_0x5d56b9[_0x3e7f39-0x1],_0x45f9d0,_0x378a9b),_0x45f9d0[_0x463f0f(0x1e8)](')');return;}else{if(_0x3eb715===0x8){const _0x39e35a=_0x5d56b9[0x0],_0x3d0eff=_0x5d56b9[0x1];this[_0x463f0f(0x1a8)](_0x39e35a,_0x45f9d0,_0x378a9b),_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),this[_0x463f0f(0x1a8)](_0x3d0eff,_0x45f9d0,_0x378a9b);return;}}}for(let _0x4e3430=0x0;_0x4e3430<_0x3e7f39;_0x4e3430++){const _0x4483b2=_0x5d56b9[_0x4e3430];if(this[_0x463f0f(0x1a8)](_0x4483b2,_0x45f9d0,_0x378a9b),_0x4483b2 instanceof _0x2fd889){const _0x3467bc=_0x5d56b9[_0x4e3430+0x1];_0x3467bc&&_0x3467bc instanceof _0x2fd889&&_0x45f9d0[_0x463f0f(0x1e8)](',');}}_0x3eb715===0x7&&_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),(_0x46f2df||_0x3eb715===0x9)&&_0x45f9d0[_0x463f0f(0x1e8)](')');}[_0x4744ad(0x1a8)](_0x128794,_0x4718ff,_0x13e0c4){const _0x4e2bf8=_0x4744ad;_0x128794 instanceof _0x2fd889?this[_0x4e2bf8(0x1ca)](_0x128794,_0x4718ff,_0x13e0c4):this[_0x4e2bf8(0x1b1)]['has'](_0x128794)?(_0x4718ff[_0x4e2bf8(0x1e8)]('_xlpm.'+_0x128794),this[_0x4e2bf8(0x1ce)]=!0x0):_0x4718ff[_0x4e2bf8(0x1e8)](_0x128794);}[_0x4744ad(0x19d)](_0x3c0434){const _0x1cb2e1=_0x4744ad;let _0x18e0fb=_0x3c0434['trim']();if(!_0x18e0fb)return _0x18e0fb;const _0x11abc9=_0x18e0fb[0x0];if((_0x11abc9===_0x3faa38['AT']||_0x11abc9===_0x3faa38[_0x1cb2e1(0x174)]||_0x11abc9===_0x3faa38[_0x1cb2e1(0x180)])&&(_0x18e0fb=_0x18e0fb[_0x1cb2e1(0x1af)](0x1)),!_0x18e0fb)return _0x18e0fb;const _0x46aaf7=_0x18e0fb[_0x18e0fb[_0x1cb2e1(0x1a3)]-0x1];return _0x9980be[_0x1cb2e1(0x189)](_0x46aaf7)&&(_0x18e0fb=_0x18e0fb[_0x1cb2e1(0x1af)](0x0,-0x1)),_0x18e0fb;}['_checkAddBracketForMinus'](_0x286574){const _0x452a40=_0x4744ad,_0x3094aa=_0x286574['getChildren']()[0x0];if(!_0x3094aa||!(_0x3094aa instanceof _0x2fd889)||_0x286574[_0x452a40(0x209)]()[_0x452a40(0x1a3)]>0x1)return!0x1;const _0x3e0fc7=_0x3094aa[_0x452a40(0x209)](),_0x3fae26=_0x3e0fc7[_0x452a40(0x1a3)];if(_0x3fae26===0x1)return!0x1;for(let _0x5fcd6c=0x0;_0x5fcd6c<_0x3fae26;_0x5fcd6c++){const _0x180d58=_0x3e0fc7[_0x5fcd6c];if(!(_0x180d58 instanceof _0x2fd889)&&_0x4ac640[_0x452a40(0x189)](_0x180d58))return!0x0;}return!0x1;}}class ve extends _0x11bc9d{async[_0x4744ad(0x1cf)](_0x576413=!0x1){const _0x45e21b=_0x4744ad;_0x576413?this['_runtimeService'][_0x45e21b(0x15d)](_0x45f46d['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x1c0)]),this[_0x45e21b(0x16d)][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)]['getRuntimeState']());const _0x3c4ac3=await this[_0x45e21b(0x195)][_0x45e21b(0x164)](),_0x38e826=this[_0x45e21b(0x166)];_0x576413?(this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x17d)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x15e)](_0x3c4ac3[_0x45e21b(0x1a3)])):(this[_0x45e21b(0x1a6)]['setFormulaExecuteStage'](_0x45f46d[_0x45e21b(0x1e0)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x1f9)](_0x3c4ac3[_0x45e21b(0x1a3)])),this[_0x45e21b(0x16d)][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)]['getRuntimeState']());let _0x225946=[];const _0x4e2b42=this[_0x45e21b(0x1c3)][_0x45e21b(0x1b0)](_0x3103a2),_0x447d6e=(_0x4e2b42==null?void 0x0:_0x4e2b42[_0x45e21b(0x16c)])||_0x4ae180;let _0x5cea81=0x0;const _0x50d4e9=_0x3c4ac3[_0x45e21b(0x1a3)];for(;_0x3c4ac3[_0x45e21b(0x1a3)]>0x0;){const _0x9a52cc=_0x3c4ac3[_0x45e21b(0x1c5)](),_0x5e5d2d=_0x233825(_0x9a52cc[_0x45e21b(0x1ad)],_0x9a52cc[_0x45e21b(0x197)],this[_0x45e21b(0x1d6)],this[_0x45e21b(0x175)],this[_0x45e21b(0x15c)]),_0x2fcf2f={'node':_0x5e5d2d,'refOffsetX':_0x9a52cc[_0x45e21b(0x1d7)],'refOffsetY':_0x9a52cc[_0x45e21b(0x16b)]},_0x14b5fe=_0x9a52cc[_0x45e21b(0x1be)];if(_0x5cea81%_0x447d6e===0x0&&(await new Promise(_0x3ab093=>{const _0x2aa174=_0x45e21b,_0x2e89a9=_0x2b1edc(_0x3ab093);_0x225946[_0x2aa174(0x1e8)](_0x2e89a9);}),_0x576413?(this[_0x45e21b(0x1a6)]['setFormulaExecuteStage'](_0x45f46d['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x45e21b(0x1a6)][_0x45e21b(0x1dc)](_0x5cea81+0x1)):(this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x199)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x1e9)](_0x5cea81+0x1)),this['_executionInProgressListener$'][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)][_0x45e21b(0x185)]()),this[_0x45e21b(0x1a6)]['isStopExecution']()||_0x2fcf2f==null&&_0x14b5fe==null)){this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x1e5)]),this['_runtimeService'][_0x45e21b(0x1c1)](),this['_executionCompleteListener$'][_0x45e21b(0x18b)](this['_runtimeService'][_0x45e21b(0x18e)]());return;}this[_0x45e21b(0x1a6)][_0x45e21b(0x1ee)](_0x9a52cc['row'],_0x9a52cc['column'],_0x9a52cc[_0x45e21b(0x203)],_0x9a52cc[_0x45e21b(0x1fa)],_0x9a52cc['subUnitId'],_0x9a52cc[_0x45e21b(0x1ad)]);let _0x1de3bc;if(_0x14b5fe!=null&&_0x9a52cc[_0x45e21b(0x1c4)]!=null){const {runtimeCellData:_0x12d568,dirtyRanges:_0x412d70}=_0x14b5fe(this['_currentConfigService'][_0x45e21b(0x1be)](),this['_runtimeService']['getAllRuntimeData']());this[_0x45e21b(0x1a6)][_0x45e21b(0x162)](_0x9a52cc[_0x45e21b(0x1c4)],_0x12d568),this[_0x45e21b(0x1a6)][_0x45e21b(0x1bd)](_0x9a52cc[_0x45e21b(0x1c4)],_0x412d70);}else _0x2fcf2f!=null&&(_0x38e826['checkAsyncNode'](_0x2fcf2f[_0x45e21b(0x206)])?_0x1de3bc=await _0x38e826[_0x45e21b(0x170)](_0x2fcf2f):_0x1de3bc=_0x38e826['execute'](_0x2fcf2f),_0x9a52cc[_0x45e21b(0x1e7)]!=null?this[_0x45e21b(0x1a6)][_0x45e21b(0x1b6)](_0x9a52cc[_0x45e21b(0x1e7)],_0x9a52cc[_0x45e21b(0x1d7)],_0x9a52cc[_0x45e21b(0x16b)],_0x1de3bc):this['_runtimeService'][_0x45e21b(0x16f)](_0x1de3bc));_0x5e5d2d[_0x45e21b(0x1b2)](),_0x5cea81++;}return _0x225946['forEach'](_0x228d27=>_0x228d27()),_0x225946=[],_0x50d4e9>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x576413||this[_0x45e21b(0x1a6)][_0x45e21b(0x168)](),this[_0x45e21b(0x1a6)]['getAllRuntimeData']();}}class Ne extends _0x56c72f{constructor(){const _0x36ae4b=_0x4744ad;super(...arguments),j(this,_0x36ae4b(0x1d3),new Map()),j(this,'_dependencyRTreeCache',new _0x3b3d81(!0x0));}[_0x4744ad(0x173)](){const _0x1c1c9b=_0x4744ad;this[_0x1c1c9b(0x1d5)]['clear'](),this[_0x1c1c9b(0x1b7)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1d2)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1a1)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1d3)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x172)](),this[_0x1c1c9b(0x207)]['clear']();}[_0x4744ad(0x1df)](_0x300a42,_0x398bb1,_0x414cd6,_0x3dcc7d){const _0x3a8b58=_0x4744ad;this['_otherFormulaData']['has'](_0x300a42)||this[_0x3a8b58(0x1d5)][_0x3a8b58(0x1ea)](_0x300a42,new Map());const _0x105b46=this[_0x3a8b58(0x1d5)][_0x3a8b58(0x177)](_0x300a42);_0x105b46[_0x3a8b58(0x189)](_0x398bb1)||_0x105b46['set'](_0x398bb1,new Map());const _0x5690bd=_0x105b46['get'](_0x398bb1);_0x5690bd[_0x3a8b58(0x189)](_0x414cd6)||_0x5690bd[_0x3a8b58(0x1ea)](_0x414cd6,new _0x221da8()),_0x5690bd[_0x3a8b58(0x177)](_0x414cd6)[_0x3a8b58(0x1c6)](_0x3dcc7d[_0x3a8b58(0x1d7)],_0x3dcc7d[_0x3a8b58(0x16b)],_0x3dcc7d['treeId']);}[_0x4744ad(0x1b9)](_0x154c60,_0x35dc98,_0x3d23a7){const _0x15e980=_0x4744ad,_0x4c516b=this['_otherFormulaData'][_0x15e980(0x177)](_0x154c60);if(_0x4c516b&&_0x4c516b[_0x15e980(0x189)](_0x35dc98)){const _0x963f9=_0x4c516b[_0x15e980(0x177)](_0x35dc98);_0x3d23a7['forEach'](_0x131ecc=>{const _0x4f2e00=_0x15e980,_0x539c63=_0x963f9[_0x4f2e00(0x177)](_0x131ecc);_0x539c63!=null&&(_0x539c63[_0x4f2e00(0x18a)]((_0x37a198,_0x2e94dd,_0x74a19e)=>{const _0x8cd8c4=_0x4f2e00;this[_0x8cd8c4(0x19b)](_0x74a19e),this[_0x8cd8c4(0x1f4)](_0x74a19e);}),_0x963f9['delete'](_0x131ecc),this[_0x4f2e00(0x207)]['delete'](_0x131ecc));}),_0x963f9['size']===0x0&&_0x4c516b[_0x15e980(0x16a)](_0x35dc98),_0x4c516b['size']===0x0&&this['_otherFormulaData'][_0x15e980(0x16a)](_0x154c60);}}[_0x4744ad(0x165)](_0x26315a,_0x562de3){const _0x4abe1d=_0x4744ad,_0x69cc38=this[_0x4abe1d(0x1d5)]['get'](_0x26315a);if(_0x562de3&&_0x69cc38&&_0x69cc38['has'](_0x562de3)){const _0x2483ee=_0x69cc38['get'](_0x562de3);this[_0x4abe1d(0x1bc)](_0x26315a,_0x562de3);for(const _0x3c6e9c of _0x2483ee[_0x4abe1d(0x181)]()){const _0xb0b677=_0x2483ee[_0x4abe1d(0x177)](_0x3c6e9c);_0xb0b677!=null&&(_0xb0b677['forValue']((_0x1ac79e,_0x3c6534,_0x114ba3)=>{const _0x21214b=_0x4abe1d;this['_allTreeMap'][_0x21214b(0x177)](_0x114ba3)&&this[_0x21214b(0x1f4)](_0x114ba3);}),this[_0x4abe1d(0x207)]['delete'](_0x3c6e9c));}_0x2483ee['clear']();}else{if(_0x69cc38){for(const _0x5ca486 of _0x69cc38[_0x4abe1d(0x181)]()){const _0x5d37c1=_0x69cc38['get'](_0x5ca486);this[_0x4abe1d(0x1bc)](_0x26315a,_0x5ca486);for(const _0x43702d of _0x5d37c1[_0x4abe1d(0x181)]()){const _0x169ac5=_0x5d37c1['get'](_0x43702d);_0x169ac5!=null&&(_0x169ac5['forValue']((_0x2a2301,_0x4f57d2,_0x4ceee7)=>{const _0x14cbfc=_0x4abe1d;this[_0x14cbfc(0x1d3)][_0x14cbfc(0x177)](_0x4ceee7)&&this[_0x14cbfc(0x1f4)](_0x4ceee7);}),this['_otherFormulaDataMainData']['delete'](_0x43702d));}}this[_0x4abe1d(0x1d5)][_0x4abe1d(0x16a)](_0x26315a);}}}['addFeatureFormulaDependency'](_0x307a00,_0x512a5b,_0x30a44d,_0x2d911f){const _0x3290aa=_0x4744ad;this[_0x3290aa(0x1b7)][_0x3290aa(0x189)](_0x307a00)||this[_0x3290aa(0x1b7)][_0x3290aa(0x1ea)](_0x307a00,new Map());const _0x4cc442=this[_0x3290aa(0x1b7)][_0x3290aa(0x177)](_0x307a00);_0x4cc442['has'](_0x512a5b)||_0x4cc442[_0x3290aa(0x1ea)](_0x512a5b,new Map()),_0x4cc442[_0x3290aa(0x177)](_0x512a5b)[_0x3290aa(0x1ea)](_0x30a44d,_0x2d911f[_0x3290aa(0x187)]);}[_0x4744ad(0x159)](_0x50a8e7,_0x343d52,_0x5d0655){const _0x2a1ed4=_0x4744ad,_0x525ac3=this['_featureFormulaData'][_0x2a1ed4(0x177)](_0x50a8e7);if(_0x525ac3&&_0x525ac3[_0x2a1ed4(0x189)](_0x343d52)){const _0x5da1a7=_0x525ac3[_0x2a1ed4(0x177)](_0x343d52);_0x5d0655[_0x2a1ed4(0x15a)](_0x170868=>{const _0x450fa3=_0x2a1ed4,_0x5a649b=_0x5da1a7[_0x450fa3(0x177)](_0x170868);_0x5a649b!=null&&(this['_removeDependencyRTreeCache'](_0x5a649b),_0x5da1a7[_0x450fa3(0x16a)](_0x170868),this[_0x450fa3(0x1f4)](_0x5a649b));});}}[_0x4744ad(0x1cd)](_0x26bba0,_0x46cff3){const _0x2dc906=_0x4744ad,_0x3fec27=this[_0x2dc906(0x1b7)][_0x2dc906(0x177)](_0x26bba0);if(_0x46cff3&&_0x3fec27&&_0x3fec27[_0x2dc906(0x189)](_0x46cff3)){const _0xd6842e=_0x3fec27[_0x2dc906(0x177)](_0x46cff3);this[_0x2dc906(0x1bc)](_0x26bba0,_0x46cff3),_0xd6842e[_0x2dc906(0x15a)](_0x5271e7=>{_0x5271e7!=null&&this['_removeAllTreeMap'](_0x5271e7);}),_0xd6842e[_0x2dc906(0x1f6)]();}else _0x3fec27&&(_0x3fec27[_0x2dc906(0x15a)]((_0x5ea8e9,_0xbdaec6)=>{const _0x23a47d=_0x2dc906;this['_removeDependencyRTreeCacheById'](_0x26bba0,_0xbdaec6),_0x5ea8e9[_0x23a47d(0x15a)](_0x46070a=>{const _0x17d385=_0x23a47d;_0x46070a!=null&&this[_0x17d385(0x1f4)](_0x46070a);});}),this['_featureFormulaData']['delete'](_0x26bba0));}[_0x4744ad(0x1eb)](_0x3b74a9,_0x53e60f,_0x3324a8,_0x2d8dcc,_0x5e54f1){const _0x31b058=_0x4744ad;this[_0x31b058(0x1d2)]['has'](_0x3b74a9)||this['_formulaData'][_0x31b058(0x1ea)](_0x3b74a9,new Map());const _0x513001=this['_formulaData'][_0x31b058(0x177)](_0x3b74a9);_0x513001[_0x31b058(0x189)](_0x53e60f)||_0x513001[_0x31b058(0x1ea)](_0x53e60f,new _0x221da8()),_0x513001[_0x31b058(0x177)](_0x53e60f)[_0x31b058(0x1c6)](_0x3324a8,_0x2d8dcc,_0x5e54f1['treeId']);}[_0x4744ad(0x1b4)](_0x40da5f,_0x20ffd1,_0x3dd7c5,_0x1b7224){const _0x33ec50=_0x4744ad,_0x1d5741=this[_0x33ec50(0x1d2)][_0x33ec50(0x177)](_0x40da5f);if(_0x1d5741&&_0x1d5741['has'](_0x20ffd1)){const _0x391889=_0x1d5741[_0x33ec50(0x177)](_0x20ffd1),_0x13d9d5=_0x391889[_0x33ec50(0x1f0)](_0x3dd7c5,_0x1b7224);if(_0x13d9d5==null)return;this['_removeDependencyRTreeCache'](_0x13d9d5),_0x391889[_0x33ec50(0x19a)](_0x3dd7c5,_0x1b7224),this['_removeAllTreeMap'](_0x13d9d5);}}['clearFormulaDependency'](_0xcbace7,_0x1e2252){const _0x76bc15=_0x4744ad,_0x786829=this[_0x76bc15(0x1d2)][_0x76bc15(0x177)](_0xcbace7);if(_0x1e2252&&_0x786829&&_0x786829['has'](_0x1e2252)){const _0x4559f2=_0x786829['get'](_0x1e2252);this[_0x76bc15(0x1bc)](_0xcbace7,_0x1e2252),_0x4559f2[_0x76bc15(0x18a)]((_0xcf3366,_0x30169d,_0x1cb543)=>{const _0x4b0966=_0x76bc15;if(_0x1cb543==null)return!0x0;this[_0x4b0966(0x1f4)](_0x1cb543);}),_0x4559f2[_0x76bc15(0x173)]();}else _0x786829&&(_0x786829[_0x76bc15(0x15a)]((_0x4466fa,_0x55d96b)=>{const _0x4a7377=_0x76bc15;this[_0x4a7377(0x1bc)](_0xcbace7,_0x55d96b),_0x4466fa['forValue']((_0x43a7a9,_0x203464,_0x39e0e7)=>{const _0x23662e=_0x4a7377;if(_0x39e0e7==null)return!0x0;this[_0x23662e(0x1f4)](_0x39e0e7);});}),this[_0x76bc15(0x1d2)]['delete'](_0xcbace7));}[_0x4744ad(0x19b)](_0x54a345){const _0x1122ce=_0x4744ad;if(_0x54a345==null)return;const _0x54571a=this['_allTreeMap'][_0x1122ce(0x177)](_0x54a345);if(_0x54571a){const _0x31ef48=[];for(const [_0x6c8b68,_0x3ad345]of _0x54571a)for(const [_0x43316f,_0x18af7d]of _0x3ad345)_0x31ef48['push']({'unitId':_0x6c8b68,'sheetId':_0x43316f,'range':_0x18af7d,'id':_0x54a345});this['_dependencyRTreeCache'][_0x1122ce(0x1c9)](_0x31ef48);}}[_0x4744ad(0x176)](_0x30b3cb,_0x14e6c7){const _0x6361de=_0x4744ad,_0x307658=this[_0x6361de(0x163)]['get'](_0x30b3cb);if(_0x307658){const _0x4554dd=_0x307658[_0x6361de(0x177)](_0x14e6c7);if(_0x4554dd){for(const _0x82f23f of _0x4554dd)this['_removeDependencyRTreeCache'](_0x82f23f),this[_0x6361de(0x1f4)](_0x82f23f);_0x4554dd[_0x6361de(0x1f6)]();}}}['openKdTree'](){const _0x2e6db9=_0x4744ad;this[_0x2e6db9(0x1a1)][_0x2e6db9(0x1ba)]();}[_0x4744ad(0x201)](){const _0x3166b0=_0x4744ad;this[_0x3166b0(0x1a1)][_0x3166b0(0x201)]();}[_0x4744ad(0x1f4)](_0x93a363){const _0xae21d5=_0x4744ad;_0x93a363!=null&&this[_0xae21d5(0x1d3)][_0xae21d5(0x16a)](_0x93a363);}[_0x4744ad(0x1ec)](_0x4918b5){const _0x29ec91=_0x4744ad;var _0x499000,_0x1bffa0;const _0x64bc24=_0x4918b5[_0x29ec91(0x208)];let _0x3fa775=this['_allTreeMap']['get'](_0x4918b5[_0x29ec91(0x187)]);for(let _0x495e47=0x0;_0x495e47<_0x64bc24[_0x29ec91(0x1a3)];_0x495e47++){const _0x571582=_0x64bc24[_0x495e47];let {unitId:_0x6a9f9d,sheetId:_0x427c9b,range:_0x9e1cad}=_0x571582;_0x3fa775||(_0x3fa775=new Map(),this['_allTreeMap'][_0x29ec91(0x1ea)](_0x4918b5['treeId'],_0x3fa775)),_0x3fa775[_0x29ec91(0x189)](_0x6a9f9d)||_0x3fa775[_0x29ec91(0x1ea)](_0x6a9f9d,new Map());const _0x4cd12e=(_0x499000=_0x3fa775==null?void 0x0:_0x3fa775[_0x29ec91(0x177)](_0x6a9f9d))==null?void 0x0:_0x499000[_0x29ec91(0x177)](_0x427c9b);_0x4cd12e&&(_0x9e1cad={'startRow':Math[_0x29ec91(0x19f)](_0x9e1cad[_0x29ec91(0x1a7)],_0x4cd12e['startRow']),'startColumn':Math[_0x29ec91(0x19f)](_0x9e1cad[_0x29ec91(0x1db)],_0x4cd12e[_0x29ec91(0x1db)]),'endRow':Math['max'](_0x9e1cad[_0x29ec91(0x1cb)],_0x4cd12e[_0x29ec91(0x1cb)]),'endColumn':Math['max'](_0x9e1cad[_0x29ec91(0x167)],_0x4cd12e[_0x29ec91(0x167)])}),(_0x1bffa0=_0x3fa775[_0x29ec91(0x177)](_0x6a9f9d))==null||_0x1bffa0[_0x29ec91(0x1ea)](_0x427c9b,_0x9e1cad);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x28e4f3,_0xe68433,_0x548c,_0x1bf645)=>{for(var _0x19ec50=_0x1bf645>0x1?void 0x0:_0x1bf645?Me(_0xe68433,_0x548c):_0xe68433,_0x33c1e0=_0x28e4f3['length']-0x1,_0x596a76;_0x33c1e0>=0x0;_0x33c1e0--)(_0x596a76=_0x28e4f3[_0x33c1e0])&&(_0x19ec50=_0x596a76(_0x19ec50)||_0x19ec50);return _0x19ec50;};const Be=Number['parseInt'](0x69216394);let P=class extends _0x59cb2f{[_0x4744ad(0x1f3)](){const _0x5bc2b1=_0x4744ad;var _0x39973c,_0x54b318;this[_0x5bc2b1(0x19c)]()?(this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)]([_0x242423,{'useClass':je}]),(_0x39973c=this[_0x5bc2b1(0x186)])!=null&&_0x39973c[_0x5bc2b1(0x193)]||[[_0x208c10,{'useClass':ve}],[_0x5a02c4,{'useClass':Ne}],[_0x42fc7b,{'useClass':be}]][_0x5bc2b1(0x15a)](_0x3d5cae=>this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)](_0x3d5cae))):(this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)]([_0x242423,{'useClass':_0x242423}]),(_0x54b318=this[_0x5bc2b1(0x186)])!=null&&_0x54b318['notExecuteFormula']||[[_0x208c10,{'useClass':_0x11bc9d}],[_0x5a02c4,{'useClass':_0x2df86a}],[_0x42fc7b,{'useClass':_0x1df8c4}]][_0x5bc2b1(0x15a)](_0x44ae15=>this[_0x5bc2b1(0x196)]['add'](_0x44ae15)));}[_0x4744ad(0x19c)](){const _0x1a3aa1=_0x4744ad;var _0x43fd97;const _0x17fd01=(_0x43fd97=this['_configService'][_0x1a3aa1(0x1b0)](_0x3c6c79))!=null?_0x43fd97:{},{ls:_0x4aa114,pbk:_0x36de72}=_0x17fd01;if(!_0x4aa114||!_0x36de72)return!0x1;const _0x4a154f=_0x11cd8f(Ce,Te),_0x59ea17=new Function(_0x1a3aa1(0x15f)+_0x4a154f)()(_0x4aa114,_0x36de72),_0x2d1739=_0x59ea17[_0x1a3aa1(0x17b)];return _0x59ea17[_0x1a3aa1(0x183)]&&_0x21237d(_0x2d1739,'sf',Be)?_0x5bceeb(_0x2d1739,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=Se([_0x199b11(_0x30a96a)],P);function _0x410e(_0x14431c,_0x2ba9b5){const _0xc20be7=_0xc20b();return _0x410e=function(_0x410ee0,_0x4432e2){_0x410ee0=_0x410ee0-0x156;let _0x57d84a=_0xc20be7[_0x410ee0];return _0x57d84a;},_0x410e(_0x14431c,_0x2ba9b5);}export{P as UniverProFormulaEnginePlugin};
1
+ const _0x4300fb=_0x5640;function _0x5640(_0x77d172,_0x729436){const _0x17a9c1=_0x17a9();return _0x5640=function(_0x564033,_0x355d88){_0x564033=_0x564033-0xcd;let _0x34ae95=_0x17a9c1[_0x564033];return _0x34ae95;},_0x5640(_0x77d172,_0x729436);}(function(_0x41564e,_0x3a4ad3){const _0x458810=_0x5640,_0x4d3248=_0x41564e();while(!![]){try{const _0x3e5a23=-parseInt(_0x458810(0x108))/0x1+parseInt(_0x458810(0x157))/0x2*(parseInt(_0x458810(0xee))/0x3)+-parseInt(_0x458810(0x165))/0x4*(parseInt(_0x458810(0x11b))/0x5)+parseInt(_0x458810(0xfc))/0x6+-parseInt(_0x458810(0x11c))/0x7+-parseInt(_0x458810(0x116))/0x8+parseInt(_0x458810(0x106))/0x9*(parseInt(_0x458810(0xf5))/0xa);if(_0x3e5a23===_0x3a4ad3)break;else _0x4d3248['push'](_0x4d3248['shift']());}catch(_0x30bee2){_0x4d3248['push'](_0x4d3248['shift']());}}}(_0x17a9,0xbe3bb));var q=Object[_0x4300fb(0xf7)],Z=(_0x3611b5,_0x32cecc,_0x17370d)=>_0x32cecc in _0x3611b5?q(_0x3611b5,_0x32cecc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17370d}):_0x3611b5[_0x32cecc]=_0x17370d,T=(_0x4cb13e,_0x4e5e,_0x5befea)=>Z(_0x4cb13e,typeof _0x4e5e!=_0x4300fb(0xce)?_0x4e5e+'':_0x4e5e,_0x5befea);import{UniverLicensePlugin as _0x4fcdac,LS_CONFIG_KEY as _0x1ada57,unshiftString as _0x3e0abd,isFeatureAuthorizedWithinTime as _0x3cd5c1,getSheetFeatureLimit as _0x494a70}from'@univerjs-pro/license';import{ObjectMatrix as _0x1ca750,requestImmediateMacroTask as _0x3572dc,RTree as _0x4dbad3,DependentOn as _0x463b6b}from'@univerjs/core';import{FormulaDependencyGenerator as _0x59c733,generateRandomDependencyTreeId as _0x1ce91c,FormulaDependencyTree as _0x1bad38,FormulaDependencyTreeType as _0x160341,FormulaDependencyTreeVirtual as _0x276636,generateAstNode as _0x1354b2,LexerTreeBuilder as _0xe22dbc,ErrorType as _0x4662f6,DEFAULT_TOKEN_TYPE_ROOT as _0x255cf0,DEFAULT_TOKEN_TYPE_PARAMETER as _0x220bf1,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x17212a,NEW_EXCEL_FUNCTIONS as _0x5a59f4,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x41c2cc,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x3fafb9,matchToken as _0x3fbc01,SUFFIX_TOKEN_SET as _0x5d4baa,prefixToken as _0x35d308,LexerNode as _0x1e5ada,OPERATOR_TOKEN_SET as _0x2f264c,CalculateFormulaService as _0x5d342a,FormulaExecuteStageType as _0xd376f3,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4e9f21,DEFAULT_INTERVAL_COUNT as _0x178db0,DependencyManagerBaseService as _0x2ad6bd,UniverFormulaEnginePlugin as _0x5402f8,ICalculateFormulaService as _0x2f95ad,IDependencyManagerService as _0x14e916,IFormulaDependencyGenerator as _0x594ae4,DependencyManagerService as _0x53617d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Fe={0x0:'3',0x1:'A',0x2:'y',0x3:'V',0x4:'z',0x5:'i',0x6:'w',0x7:'E',0x8:'c',0x9:'M','f':'0','d':'1','e':'2','u':'4','y':'5','r':'6','a':'7','m':'8','N':'9','A':'a','h':'b','C':'d','n':'e','L':'f','H':'g','F':'h','B':'j','g':'k','K':'l','G':'m','U':'n','v':'o','t':'p','R':'q','W':'r','V':'s','x':'t','S':'u','O':'v','z':'x','k':'B','Z':'C','w':'D','s':'F','p':'G','I':'H','J':'I','l':'J','P':'K','j':'L','X':'N','i':'O','c':'P','T':'Q','E':'R','Q':'S','q':'T','Y':'U','M':'W','b':'X','D':'Y','o':'Z'},Ae='LSU8x5vU\x20Cn8W2tx5vU(K58nUVn,\x20tShK58Pn2)\x20{\x20\x20\x20\x20xW2\x20{\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20K58nUVnJULvcAWx1WWA2\x20=\x20K58nUVn.VtK5x(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20vW5H5U9nVVAHn\x20=\x20lQiX.tAWVn(Axvh(K58nUVnJULvcAWx1WWA2[e]));\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!vW5H5U9nVVAHn.SC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vW5H5U9nVVAHn.SC\x20=\x20XSGhnW(K58nUVnJULvcAWx1WWA2[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VMvWgnW\x20=\x20x2tnvL\x20MvWgnWpKvhAKQ8vtn\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20VnKL\x205UVxAU8nvL\x20MvWgnWpKvhAKQ8vtn;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VkWv6VnW\x20=\x20x2tnvL\x2065UCv6\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20x2tnvL\x2065UCv6.Kv8Ax5vU\x20!==\x20\x27SUCnL5UnC\x27;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x208vUxnzx\x20=\x205VMvWgnW\x20?\x20VnKL\x20:\x20(5VkWv6VnW\x20?\x2065UCv6\x20:\x20HKvhAKqF5V);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[e]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(GnVVAHnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[0]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(V5HUAxSWnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HU3AK5C\x20=\x208vUxnzx.__OnW5L2__(V5HUAxSWn,\x20GnVVAHn,\x20tShK58Pn2);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20CvGA5U\x20=\x20vW5H5U9nVVAHn.CG;\x20\x20\x20\x20\x20\x20\x20\x20LSU8x5vU\x205VwvGA5U9Ax8F5UH(vcAxxnWU,\x20vIvVx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWU\x20=\x20vcAxxnWU.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVx\x20=\x20vIvVx.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUcAWxV\x20=\x20tAxxnWU.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxcAWxV\x20=\x20FvVx.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!tAxxnWU.5U8KSCnV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWU\x20===\x20FvVx;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(tAxxnWUcAWxV.KnUHxF\x20<\x20e\x20||\x20tAxxnWUcAWxV[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUQSLL5z\x20=\x20tAxxnWUcAWxV.VK58n(d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxQSLL5z\x20=\x20FvVxcAWxV.VK58n(-tAxxnWUcAWxV.KnUHxF\x20+\x20d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWUQSLL5z\x20===\x20FvVxQSLL5z;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Knx\x20CvGA5U3AK5C\x20=\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x205L\x20(5VkWv6VnW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20(CvGA5U\x20&&\x20CvGA5U.KnUHxF)\x20?\x20CvGA5U.VvGn((CGJxnG)\x20=>\x205VwvGA5U9Ax8F5UH(CGJxnG,\x20Kv8Ax5vU.FvVxUAGn))\x20:\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(Kv8Ax5vU.FvVxUAGn\x20===\x20\x27Kv8AKFvVx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20nKVn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20OAK5C\x20=\x20V5HU3AK5C\x20&&\x20CvGA5U3AK5C;\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20vW5H5U9nVVAHn,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Ax8F\x20(nWWvW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C:\x20LAKVn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class De extends _0x59c733{constructor(){const _0x2679cc=_0x4300fb;super(...arguments),T(this,_0x2679cc(0x109),new Map());}[_0x4300fb(0xe4)](){const _0x5a1dfb=_0x4300fb;super['dispose'](),this[_0x5a1dfb(0x109)][_0x5a1dfb(0x133)]();}async[_0x4300fb(0x153)](){const _0x5a8f61=_0x4300fb;this[_0x5a8f61(0x15d)]();const _0x165232=this[_0x5a8f61(0x159)]['getFormulaData'](),_0xd212=this[_0x5a8f61(0x172)][_0x5a8f61(0x10f)](),_0x32cc38=this[_0x5a8f61(0x159)][_0x5a8f61(0x10a)]();_0x32cc38!=null&&Object[_0x5a8f61(0x16a)](_0x32cc38)[_0x5a8f61(0x11a)](_0x10412b=>{const _0x309b88=_0x5a8f61;_0x10412b!=null&&Object[_0x309b88(0x16a)](_0x32cc38[_0x10412b])[_0x309b88(0x11a)](_0x176803=>{const _0x2c0e26=_0x309b88;_0x176803!=null&&(this['_dependencyManagerService'][_0x2c0e26(0x14e)](_0x10412b,_0x176803),this[_0x2c0e26(0x138)][_0x2c0e26(0x10d)](_0x10412b,_0x176803),this['_dependencyManagerService'][_0x2c0e26(0x181)](_0x10412b,_0x176803));});});const _0x290b03=this['_currentConfigService'][_0x5a8f61(0x130)]();await this[_0x5a8f61(0xfb)](_0x165232,_0xd212,_0x290b03),this[_0x5a8f61(0x138)][_0x5a8f61(0x11e)]();const _0x2c6203=this[_0x5a8f61(0x160)](),_0x9bf899=this[_0x5a8f61(0x147)](_0x2c6203);return this[_0x5a8f61(0xcf)](_0x9bf899)&&this[_0x5a8f61(0x16d)][_0x5a8f61(0xda)](),this['_dependencyTreeCache'][_0x5a8f61(0x133)](),this[_0x5a8f61(0x174)]['clear'](),this[_0x5a8f61(0x138)][_0x5a8f61(0xdd)](),this[_0x5a8f61(0x16d)][_0x5a8f61(0x111)](),Promise[_0x5a8f61(0x180)](_0x9bf899);}[_0x4300fb(0x13f)](_0xe8b32e,_0x42a5fb){const _0x335d8d=_0x4300fb,_0x24029a=[_0xe8b32e];for(;_0x24029a[_0x335d8d(0x158)]>0x0;){const _0xac2fad=_0x24029a[_0x24029a[_0x335d8d(0x158)]-0x1];if((_0x42a5fb['get'](_0xac2fad)||0x0)===0x0){_0x42a5fb['set'](_0xac2fad,0x1);const _0x56a787=this[_0x335d8d(0x109)][_0x335d8d(0x136)](_0xac2fad);if(_0x56a787==null){_0x42a5fb[_0x335d8d(0x13c)](_0xac2fad,0x2),_0x24029a['pop']();continue;}const _0x1201e5=this[_0x335d8d(0x138)][_0x335d8d(0x13d)](_0x56a787[_0x335d8d(0x188)]());for(const _0x2b835b of _0x1201e5){const _0x31e7bd=_0x42a5fb['get'](_0x2b835b)||0x0;if(_0x31e7bd===0x1)return!0x0;_0x31e7bd===0x0&&_0x24029a['push'](_0x2b835b);}}else _0x42a5fb[_0x335d8d(0x13c)](_0xac2fad,0x2),_0x24029a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x2299ff){const _0x5c1396=_0x4300fb,_0xcca4d5=new Map();for(const _0x1463ff of _0x2299ff)if(!_0xcca4d5['has'](_0x1463ff['treeId'])&&this[_0x5c1396(0x13f)](_0x1463ff[_0x5c1396(0x184)],_0xcca4d5))return!0x0;return _0xcca4d5['clear'](),!0x1;}[_0x4300fb(0x16e)](_0x2eaaa9,_0x79620a,_0x36c153){const _0x379260=_0x4300fb,{unitId:_0x26ea29,subUnitId:_0x58dbba,dependencyRanges:_0x33bdff,getDirtyData:_0x205d4b}=_0x36c153,_0xb77333=_0x79620a||_0x1ce91c(this['_dependencyManagerService']),_0x498bea=new _0x1bad38(_0xb77333);_0x498bea[_0x379260(0x167)]=_0x26ea29,_0x498bea[_0x379260(0x112)]=_0x58dbba,_0x498bea['rangeList']=_0x33bdff,_0x498bea[_0x379260(0x12a)]=_0x205d4b;const _0x2dd7b5=_0x205d4b(this[_0x379260(0x159)][_0x379260(0x12a)](),this[_0x379260(0x16d)][_0x379260(0x151)]()),_0x243b98=this[_0x379260(0xec)](_0x2dd7b5[_0x379260(0x121)]);return _0x498bea['featureDirtyRanges']=_0x243b98,_0x498bea[_0x379260(0x175)]=_0x2eaaa9,_0x498bea[_0x379260(0x143)]=_0x160341[_0x379260(0x101)],this['_dependencyManagerService'][_0x379260(0x186)](_0x26ea29,_0x58dbba,_0x2eaaa9,_0x498bea),this[_0x379260(0x109)][_0x379260(0x13c)](_0x498bea[_0x379260(0x184)],_0x498bea),this[_0x379260(0x138)][_0x379260(0x16f)](_0x36c153[_0x379260(0x167)],_0x36c153['subUnitId'],_0x2eaaa9)&&(_0x498bea[_0x379260(0x10e)]=!0x0),_0x498bea;}[_0x4300fb(0x134)](_0x5828aa,_0xe9690e,_0x5ac6d4){const _0xc2c26e=_0x4300fb;var _0xb6ff9a;for(const _0x188629 of _0xe9690e){const _0x35d8db=_0x5828aa[_0x188629];if(_0x35d8db==null)continue;const _0x1a6be2=Object[_0xc2c26e(0x16a)](_0x35d8db);for(const _0x2e1baa of _0x1a6be2){const _0x3e986c=_0x35d8db[_0x2e1baa];if(_0x3e986c==null)continue;const _0x36d686=Object[_0xc2c26e(0x16a)](_0x3e986c);for(const _0x3ca35a of _0x36d686){const _0x48a07a=this[_0xc2c26e(0x138)][_0xc2c26e(0x17d)](_0x3ca35a),_0x187288=_0x3e986c[_0x3ca35a],{f:_0x5242cf,ranges:_0x5805ad}=_0x187288;let _0x4237f9=!0x1;_0x48a07a&&(_0x4237f9=!0x0);const {firstRow:_0x40a6ec,firstColumn:_0x1d2486}=this['_getFirstCellOfRange'](_0x5805ad),_0xb15a09=this['_dependencyManagerService'][_0xc2c26e(0x17b)](_0x188629,_0x2e1baa,_0x3ca35a),_0x2f0bc9=(_0xb6ff9a=_0xb15a09==null?void 0x0:_0xb15a09[_0xc2c26e(0xd5)](0x0,0x0))!=null?_0xb6ff9a:_0x1ce91c(this['_dependencyManagerService']),_0x2544dc=new _0x1bad38(_0x2f0bc9);for(let _0x2da9f3=0x0;_0x2da9f3<_0x5805ad[_0xc2c26e(0x158)];_0x2da9f3++){const _0xb6dd4d=_0x5805ad[_0x2da9f3],{startRow:_0x370a4a,startColumn:_0xc30f67,endRow:_0x2f6c43,endColumn:_0x50b1e2}=_0xb6dd4d;for(let _0x569522=_0x370a4a;_0x569522<=_0x2f6c43;_0x569522++)for(let _0x29afa4=_0xc30f67;_0x29afa4<=_0x50b1e2;_0x29afa4++){const _0x2f3dc2=_0x29afa4-_0x1d2486,_0x4b0e83=_0x569522-_0x40a6ec;if(_0x2f3dc2===0x0&&_0x4b0e83===0x0){_0x2544dc[_0xc2c26e(0x187)]=_0x5242cf,_0x2544dc[_0xc2c26e(0x167)]=_0x188629,_0x2544dc[_0xc2c26e(0x112)]=_0x2e1baa,_0x2544dc[_0xc2c26e(0xe6)]=_0x3ca35a,_0x2544dc[_0xc2c26e(0x143)]=_0x160341[_0xc2c26e(0x10c)],_0x2544dc['isCache']=_0x4237f9,_0x5ac6d4[_0xc2c26e(0xff)](_0x2544dc),this['_dependencyTreeCache'][_0xc2c26e(0x13c)](_0x2544dc[_0xc2c26e(0x184)],_0x2544dc),this[_0xc2c26e(0x138)][_0xc2c26e(0x169)](_0x188629,_0x2e1baa,_0x3ca35a,_0x2544dc),this['_dependencyManagerService'][_0xc2c26e(0xf4)](_0x2544dc);continue;}const _0x5905fa=new _0x276636();_0x5905fa[_0xc2c26e(0x184)]=(_0xb15a09==null?void 0x0:_0xb15a09[_0xc2c26e(0xd5)](_0x2f3dc2,_0x4b0e83))||_0x1ce91c(this[_0xc2c26e(0x138)]),_0x5905fa[_0xc2c26e(0x185)]=_0x2544dc,_0x5905fa[_0xc2c26e(0xd3)]=_0x2f3dc2,_0x5905fa[_0xc2c26e(0x139)]=_0x4b0e83,_0x5905fa[_0xc2c26e(0x10e)]=_0x4237f9,this[_0xc2c26e(0x138)][_0xc2c26e(0x169)](_0x188629,_0x2e1baa,_0x3ca35a,_0x5905fa),this[_0xc2c26e(0x138)]['addFormulaDependencyByDefinedName'](_0x5905fa),_0x5ac6d4[_0xc2c26e(0xff)](_0x5905fa),this[_0xc2c26e(0x109)][_0xc2c26e(0x13c)](_0x5905fa[_0xc2c26e(0x184)],_0x5905fa);}}this[_0xc2c26e(0x138)][_0xc2c26e(0x10b)](_0x3ca35a);}}}}['_registerFormulas'](_0x4ffe1d,_0x26d0f1,_0xe2ad4a,_0x5100c3){const _0x498709=_0x4300fb;for(const _0x43812a of _0x4ffe1d){const _0x3e651d=_0x26d0f1[_0x43812a];if(_0x3e651d==null)continue;const _0x102fb3=Object[_0x498709(0x16a)](_0x3e651d);for(const _0x4362d8 of _0x102fb3){const _0x2c82ac=new _0x1ca750(_0x3e651d[_0x4362d8]||{}),_0x42da07=new Map();_0x2c82ac[_0x498709(0xe2)]((_0x89ab00,_0x439288,_0xfcc23a)=>{const _0x3f0736=_0x498709;if(_0xfcc23a==null)return!0x0;const {x:_0x240808=0x0,y:_0x3f3d25=0x0,si:_0x42fcf6}=_0xfcc23a;if(!(_0x240808===0x0&&_0x3f3d25===0x0&&_0x42fcf6!=null))return!0x0;const _0x27de2b=this[_0x3f0736(0x15c)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288,_0xe2ad4a,_0xfcc23a),_0x265aa1=this[_0x3f0736(0x138)][_0x3f0736(0x168)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288);_0x265aa1!=null?_0x27de2b[_0x3f0736(0x184)]=_0x265aa1:(this[_0x3f0736(0x138)][_0x3f0736(0xe1)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288,_0x27de2b),this[_0x3f0736(0x138)]['addFormulaDependencyByDefinedName'](_0x27de2b)),_0x42da07[_0x3f0736(0x13c)](_0x42fcf6,_0x27de2b),_0x5100c3[_0x3f0736(0xff)](_0x27de2b),this['_dependencyTreeCache'][_0x3f0736(0x13c)](_0x27de2b['treeId'],_0x27de2b);}),_0x2c82ac['forValue']((_0x39693d,_0x4dade7,_0x3b2bf0)=>{const _0x3ccb4e=_0x498709;if(_0x3b2bf0==null)return!0x0;const {x:_0x8f2b9c=0x0,y:_0x79420d=0x0,si:_0x458d44}=_0x3b2bf0;if(_0x8f2b9c===0x0&&_0x79420d===0x0&&_0x458d44!=null)return!0x0;let _0x3a7436;if(_0x458d44&&_0x42da07[_0x3ccb4e(0xd1)](_0x458d44)){const _0x1e66fe=_0x42da07[_0x3ccb4e(0x136)](_0x458d44);_0x3a7436=this[_0x3ccb4e(0xe3)](_0x1e66fe,_0x3b2bf0);}else _0x3a7436=this['_createFDtree'](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7,_0xe2ad4a,_0x3b2bf0);const _0x2517c5=this[_0x3ccb4e(0x138)]['getFormulaDependency'](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7);_0x2517c5!=null?_0x3a7436['treeId']=_0x2517c5:(this[_0x3ccb4e(0x138)][_0x3ccb4e(0xe1)](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7,_0x3a7436),this[_0x3ccb4e(0x138)]['addFormulaDependencyByDefinedName'](_0x3a7436)),_0x5100c3[_0x3ccb4e(0xff)](_0x3a7436),this[_0x3ccb4e(0x109)]['set'](_0x3a7436[_0x3ccb4e(0x184)],_0x3a7436);}),_0x42da07[_0x498709(0x133)]();}}}[_0x4300fb(0x15c)](_0x36495f,_0x76815b,_0x412bc3,_0x54ed6c,_0x3f164f,_0x1df663){const _0x147c74=_0x4300fb,{f:_0x2271ac,x:_0x3a84f9=0x0,y:_0x54e4b6=0x0}=_0x1df663,_0x416744=new _0x1bad38(_0x1ce91c(this[_0x147c74(0x138)])),_0x5a7a7c=_0x3f164f[_0x36495f][_0x76815b];return _0x416744[_0x147c74(0x187)]=_0x2271ac,_0x416744[_0x147c74(0x167)]=_0x36495f,_0x416744['subUnitId']=_0x76815b,_0x416744['row']=_0x412bc3,_0x416744[_0x147c74(0x140)]=_0x54ed6c,_0x416744[_0x147c74(0x12f)]=_0x5a7a7c[_0x147c74(0x12f)],_0x416744[_0x147c74(0x12c)]=_0x5a7a7c[_0x147c74(0x12c)],_0x416744;}[_0x4300fb(0x160)](){const _0x4f4152=_0x4300fb,_0x51ff92=[],_0x4351ac=new Set(),_0x418a4b=this['_currentConfigService'][_0x4f4152(0x117)](),_0x5c4d20=this[_0x4f4152(0x159)][_0x4f4152(0x146)](),_0x3e2523=this[_0x4f4152(0x138)]['searchDependency'](_0x5c4d20),_0xd3747e=this[_0x4f4152(0x174)][_0x4f4152(0x166)](_0x5c4d20);for(const _0x443b58 of _0xd3747e)_0x3e2523['add'](_0x443b58);for(const [_0x5dd282,_0x4c795f]of this['_dependencyTreeCache'])(_0x418a4b||_0x4c795f[_0x4f4152(0x131)]||_0x4c795f['dependencySheetName'](this[_0x4f4152(0x159)][_0x4f4152(0x14c)]())||_0x3e2523[_0x4f4152(0xd1)](_0x5dd282)&&!_0x4c795f[_0x4f4152(0x103)](this[_0x4f4152(0x159)][_0x4f4152(0x150)]()))&&!_0x4351ac[_0x4f4152(0xd1)](_0x5dd282)&&(_0x51ff92[_0x4f4152(0xff)](_0x4c795f),_0x4351ac[_0x4f4152(0x105)](_0x5dd282));for(const [_0x3b8db4,_0x11d156]of this['_dependencyTreeCache'])_0x11d156[_0x4f4152(0x182)]||(_0x11d156[_0x4f4152(0x12b)][_0x4f4152(0x158)]=0x0);return _0x51ff92;}[_0x4300fb(0x156)](_0xdfb298){const _0x54c76b=_0x4300fb;return this[_0x54c76b(0x109)][_0x54c76b(0x136)](_0xdfb298);}[_0x4300fb(0x124)](_0xece2f2){const _0xb48403=_0x4300fb;return _0x1354b2(_0xece2f2['unitId'],_0xece2f2[_0xb48403(0x187)],this[_0xb48403(0x107)],this[_0xb48403(0x145)],this[_0xb48403(0x159)]);}*[_0x4300fb(0xe0)](_0x8d6ffc,_0x96f6fe){const _0x391436=_0x4300fb,_0x3dc81e=_0x8d6ffc,_0x2b0db0=new Set();for(;_0x3dc81e['length']>0x0;){const _0x150994=_0x3dc81e[_0x391436(0x14d)]();if(_0x2b0db0[_0x391436(0x133)](),_0x150994===void 0x0||_0x150994[_0x391436(0xcd)]())continue;if(_0x150994['isAdded']()){yield _0x150994,_0x150994[_0x391436(0xe8)](),_0x96f6fe['add'](_0x150994[_0x391436(0x184)]);continue;}const _0xf32e84=this[_0x391436(0x138)][_0x391436(0x13d)](_0x150994[_0x391436(0x188)](),_0x96f6fe),_0xf60c0d=this[_0x391436(0x174)][_0x391436(0x166)](_0x150994[_0x391436(0x188)](),_0x96f6fe);for(const _0x4e003c of _0xf60c0d)_0xf32e84[_0x391436(0x105)](_0x4e003c);for(const _0x4ed9a5 of _0xf32e84){const _0x20d6f3=this[_0x391436(0x109)][_0x391436(0x136)](_0x4ed9a5);if(!_0x20d6f3)throw new Error(_0x391436(0x135));_0x20d6f3[_0x391436(0xf1)]()||_0x150994['isSkip']()||_0x2b0db0['add'](_0x20d6f3);}if(_0xf32e84['clear'](),_0x2b0db0[_0x391436(0xd9)]===0x0)yield _0x150994,_0x150994[_0x391436(0xe8)](),_0x96f6fe[_0x391436(0x105)](_0x150994[_0x391436(0x184)]);else{_0x150994[_0x391436(0xfa)](),_0x3dc81e[_0x391436(0xff)](_0x150994);for(const _0x21d8f1 of _0x2b0db0)_0x3dc81e[_0x391436(0xff)](_0x21d8f1);}}_0x3dc81e[_0x391436(0x158)]=0x0,_0x2b0db0[_0x391436(0x133)]();}['_calculateRunList'](_0x2fcd1f){const _0x4edbd0=_0x4300fb,_0x1e5c27=[],_0x220462=new Set();for(const _0x219308 of this[_0x4edbd0(0xe0)](_0x2fcd1f,_0x220462))_0x1e5c27[_0x4edbd0(0xff)](_0x219308);return _0x1e5c27;}}class Te extends _0xe22dbc{constructor(){const _0xa1a123=_0x4300fb;super(...arguments),T(this,_0xa1a123(0x137),!0x1),T(this,'_lambdaFunctionParameterSet',new Set());}[_0x4300fb(0x144)](_0x2a400f,_0x451df7){const _0x5ca9ce=_0x4300fb,_0xcd0329=this[_0x5ca9ce(0xf2)](_0x2a400f,!0x1);if(!_0xcd0329||_0xcd0329===_0x4662f6[_0x5ca9ce(0x17c)]||Array[_0x5ca9ce(0x14f)](_0xcd0329))return null;const _0x5a3a5a=[];return this[_0x5ca9ce(0x137)]=!0x1,this[_0x5ca9ce(0x14a)](_0xcd0329,_0x5a3a5a,_0x451df7),this[_0x5ca9ce(0x137)]?'='+_0x5a3a5a[_0x5ca9ce(0x149)](''):null;}[_0x4300fb(0x14a)](_0x3a3c63,_0xf42f7a,_0x363ad9){const _0x897fa4=_0x4300fb,_0x561485=_0x3a3c63[_0x897fa4(0x162)](),_0x35e69e=_0x561485[_0x897fa4(0x114)](),_0xf854ee=_0x35e69e[_0x897fa4(0xe9)](),_0x7e54f9=this[_0x897fa4(0xde)](_0xf854ee),_0x2c6a90=_0x363ad9(_0x7e54f9);let _0xbd93cc=0x0;_0x561485===_0x255cf0?_0xbd93cc=0x3:_0x561485===_0x220bf1?_0xbd93cc=0x4:_0x561485===_0x17212a?_0xbd93cc=0x5:_0x5a59f4[_0x897fa4(0xd1)](_0x7e54f9)?(_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0xd2)+_0x35e69e),this[_0x897fa4(0x137)]=!0x0):_0xf854ee===_0x41c2cc?(_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0xd2)+_0x35e69e),this[_0x897fa4(0x137)]=!0x0,_0xbd93cc=0x2):_0xf854ee===_0x3fafb9?(_0xf42f7a[_0x897fa4(0xff)]('_xlfn.'+_0x35e69e),this[_0x897fa4(0x137)]=!0x0,_0xbd93cc=0x1):_0xf854ee===_0x3fbc01['COLON']?_0xbd93cc=0x8:_0x5d4baa['has'](_0xf854ee)?_0xbd93cc=0x7:_0xf854ee===_0x35d308['MINUS']?(this[_0x897fa4(0x15a)](_0x3a3c63)&&(_0xbd93cc=0x9),_0xf42f7a[_0x897fa4(0xff)](_0x561485)):(_0xf42f7a['push'](_0x561485),_0xbd93cc=0xa),_0x2c6a90?(_0xbd93cc!==0x2&&_0xbd93cc!==0x1&&(_0xbd93cc=0x6),_0xf42f7a[_0x897fa4(0xff)]('(')):_0xbd93cc===0x9&&_0xf42f7a[_0x897fa4(0xff)]('(');const _0x260f82=_0x3a3c63[_0x897fa4(0x118)](),_0x2d1685=_0x260f82[_0x897fa4(0x158)];if(_0xbd93cc===0x2){const _0x605ca8=_0x260f82[0x0];let _0x192be3=0x0;_0x605ca8 instanceof _0x1e5ada&&_0x605ca8['getToken']()===_0x17212a&&(_0x192be3=0x1);for(let _0x213e6f=_0x192be3;_0x213e6f<_0x2d1685-0x1;_0x213e6f++){const _0x32e22a=_0x260f82[_0x213e6f];if(_0x32e22a instanceof _0x1e5ada){const _0x1c10db=_0x32e22a[_0x897fa4(0x118)]()[0x0];typeof _0x1c10db=='string'&&(this[_0x897fa4(0x141)][_0x897fa4(0xd1)](_0x1c10db)&&console[_0x897fa4(0xe7)]('Lambda\x20parameter\x20name\x20\x22'+_0x1c10db+_0x897fa4(0xea)),this[_0x897fa4(0x141)]['add'](_0x1c10db),_0xf42f7a[_0x897fa4(0xff)]('_xlpm.'+_0x1c10db),this[_0x897fa4(0x137)]=!0x0);}_0xf42f7a[_0x897fa4(0xff)](',');}this[_0x897fa4(0xd8)](_0x260f82[_0x2d1685-0x1],_0xf42f7a,_0x363ad9),_0x192be3===0x1&&(_0xf42f7a[_0x897fa4(0xff)](')'),_0xf42f7a[_0x897fa4(0xff)]('('),this[_0x897fa4(0x14a)](_0x605ca8,_0xf42f7a,_0x363ad9)),_0xf42f7a['push'](')');return;}else{if(_0xbd93cc===0x1){for(let _0x451a7c=0x0;_0x451a7c<_0x2d1685-0x1;_0x451a7c++){const _0x848e27=_0x260f82[_0x451a7c];if(_0x848e27 instanceof _0x1e5ada&&_0x451a7c%0x2===0x0){const _0x55e93e=_0x848e27[_0x897fa4(0x118)]()[0x0];if(typeof _0x55e93e==_0x897fa4(0x115)){this['_lambdaFunctionParameterSet'][_0x897fa4(0xd1)](_0x55e93e)&&console['error'](_0x897fa4(0x120)+_0x55e93e+_0x897fa4(0xea)),this[_0x897fa4(0x141)]['add'](_0x55e93e),_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0x13b)+_0x55e93e),this['_hasNewExcelFunction']=!0x0,_0xf42f7a[_0x897fa4(0xff)](',');continue;}}if(this[_0x897fa4(0xd8)](_0x848e27,_0xf42f7a,_0x363ad9),_0x848e27 instanceof _0x1e5ada){const _0x422af4=_0x260f82[_0x451a7c+0x1];_0x422af4&&_0x422af4 instanceof _0x1e5ada&&_0xf42f7a[_0x897fa4(0xff)](',');}}this[_0x897fa4(0xd8)](_0x260f82[_0x2d1685-0x1],_0xf42f7a,_0x363ad9),_0xf42f7a[_0x897fa4(0xff)](')');return;}else{if(_0xbd93cc===0x8){const _0x4024af=_0x260f82[0x0],_0x9605f9=_0x260f82[0x1];this[_0x897fa4(0xd8)](_0x4024af,_0xf42f7a,_0x363ad9),_0xf42f7a['push'](_0x561485),this[_0x897fa4(0xd8)](_0x9605f9,_0xf42f7a,_0x363ad9);return;}}}for(let _0x2b0d0a=0x0;_0x2b0d0a<_0x2d1685;_0x2b0d0a++){const _0x443431=_0x260f82[_0x2b0d0a];if(this[_0x897fa4(0xd8)](_0x443431,_0xf42f7a,_0x363ad9),_0x443431 instanceof _0x1e5ada){const _0x1401f5=_0x260f82[_0x2b0d0a+0x1];_0x1401f5&&_0x1401f5 instanceof _0x1e5ada&&_0xf42f7a[_0x897fa4(0xff)](',');}}_0xbd93cc===0x7&&_0xf42f7a[_0x897fa4(0xff)](_0x561485),(_0x2c6a90||_0xbd93cc===0x9)&&_0xf42f7a[_0x897fa4(0xff)](')');}[_0x4300fb(0xd8)](_0x440283,_0x2210ba,_0x515036){const _0x50db66=_0x4300fb;_0x440283 instanceof _0x1e5ada?this['_generateNewFunctionString'](_0x440283,_0x2210ba,_0x515036):this['_lambdaFunctionParameterSet'][_0x50db66(0xd1)](_0x440283)?(_0x2210ba[_0x50db66(0xff)](_0x50db66(0x13b)+_0x440283),this[_0x50db66(0x137)]=!0x0):_0x2210ba[_0x50db66(0xff)](_0x440283);}[_0x4300fb(0xde)](_0x26a585){const _0x4e4a2a=_0x4300fb;let _0x251f05=_0x26a585['trim']();if(!_0x251f05)return _0x251f05;const _0x2cadd4=_0x251f05[0x0];if((_0x2cadd4===_0x35d308['AT']||_0x2cadd4===_0x35d308[_0x4e4a2a(0x176)]||_0x2cadd4===_0x35d308[_0x4e4a2a(0xfd)])&&(_0x251f05=_0x251f05[_0x4e4a2a(0x163)](0x1)),!_0x251f05)return _0x251f05;const _0x443102=_0x251f05[_0x251f05[_0x4e4a2a(0x158)]-0x1];return _0x5d4baa['has'](_0x443102)&&(_0x251f05=_0x251f05[_0x4e4a2a(0x163)](0x0,-0x1)),_0x251f05;}[_0x4300fb(0x15a)](_0x18fe46){const _0x2db5f0=_0x4300fb,_0x282d57=_0x18fe46[_0x2db5f0(0x118)]()[0x0];if(!_0x282d57||!(_0x282d57 instanceof _0x1e5ada)||_0x18fe46['getChildren']()[_0x2db5f0(0x158)]>0x1)return!0x1;const _0x26801b=_0x282d57[_0x2db5f0(0x118)](),_0x1a441d=_0x26801b[_0x2db5f0(0x158)];if(_0x1a441d===0x1)return!0x1;for(let _0x1f9713=0x0;_0x1f9713<_0x1a441d;_0x1f9713++){const _0x3cba6a=_0x26801b[_0x1f9713];if(!(_0x3cba6a instanceof _0x1e5ada)&&_0x2f264c['has'](_0x3cba6a))return!0x0;}return!0x1;}}class Ue extends _0x5d342a{async[_0x4300fb(0x13a)](_0x217545=!0x1){const _0x12a0cf=_0x4300fb;_0x217545?this['_runtimeService'][_0x12a0cf(0x17e)](_0xd376f3[_0x12a0cf(0x171)]):this[_0x12a0cf(0x16d)][_0x12a0cf(0x17e)](_0xd376f3['START_DEPENDENCY']),this[_0x12a0cf(0x16b)][_0x12a0cf(0xdb)](this[_0x12a0cf(0x16d)][_0x12a0cf(0x129)]());const _0x2a7b28=await this[_0x12a0cf(0xf8)][_0x12a0cf(0x153)](),_0xb17824=this['_interpreter'];_0x217545?(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0xd6)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x142)](_0x2a7b28['length'])):(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0xd0)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x127)](_0x2a7b28['length'])),this[_0x12a0cf(0x16b)][_0x12a0cf(0xdb)](this[_0x12a0cf(0x16d)][_0x12a0cf(0x129)]());let _0x945a76=[];const _0x53248e=this[_0x12a0cf(0x15e)]['getConfig'](_0x4e9f21),_0x4b0c1b=(_0x53248e==null?void 0x0:_0x53248e[_0x12a0cf(0x17a)])||_0x178db0;let _0x54409c=0x0;const _0x40607d=_0x2a7b28[_0x12a0cf(0x158)];for(;_0x2a7b28['length']>0x0;){const _0xadd6c6=_0x2a7b28[_0x12a0cf(0x14d)](),_0x240666=_0x1354b2(_0xadd6c6[_0x12a0cf(0x167)],_0xadd6c6[_0x12a0cf(0x187)],this[_0x12a0cf(0x107)],this[_0x12a0cf(0x145)],this['_currentConfigService']),_0x85adbb={'node':_0x240666,'refOffsetX':_0xadd6c6['refOffsetX'],'refOffsetY':_0xadd6c6[_0x12a0cf(0x139)]},_0x4e453b=_0xadd6c6[_0x12a0cf(0x12a)];if(_0x54409c%_0x4b0c1b===0x0&&(await new Promise(_0x369a69=>{const _0x3c0ee6=_0x12a0cf,_0x1c15a2=_0x3572dc(_0x369a69);_0x945a76[_0x3c0ee6(0xff)](_0x1c15a2);}),_0x217545?(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x12a0cf(0x16d)][_0x12a0cf(0xd4)](_0x54409c+0x1)):(this[_0x12a0cf(0x16d)][_0x12a0cf(0x17e)](_0xd376f3[_0x12a0cf(0x119)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x152)](_0x54409c+0x1)),this[_0x12a0cf(0x16b)]['next'](this['_runtimeService']['getRuntimeState']()),this[_0x12a0cf(0x16d)]['isStopExecution']()||_0x85adbb==null&&_0x4e453b==null)){this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0x14b)]),this[_0x12a0cf(0x16d)]['markedAsStopFunctionsExecuted'](),this[_0x12a0cf(0x126)]['next'](this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]());return;}this['_runtimeService'][_0x12a0cf(0x178)](_0xadd6c6[_0x12a0cf(0x164)],_0xadd6c6['column'],_0xadd6c6['rowCount'],_0xadd6c6[_0x12a0cf(0x12c)],_0xadd6c6['subUnitId'],_0xadd6c6[_0x12a0cf(0x167)]);let _0x579d26;if(_0x4e453b!=null&&_0xadd6c6['featureId']!=null){const {runtimeCellData:_0x4de021,dirtyRanges:_0x3ea0dd}=_0x4e453b(this[_0x12a0cf(0x159)]['getDirtyData'](),this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]());this[_0x12a0cf(0x16d)][_0x12a0cf(0x11f)](_0xadd6c6['featureId'],_0x4de021),this[_0x12a0cf(0x16d)]['setRuntimeFeatureRange'](_0xadd6c6['featureId'],_0x3ea0dd);}else _0x85adbb!=null&&(_0xb17824['checkAsyncNode'](_0x85adbb[_0x12a0cf(0x17f)])?_0x579d26=await _0xb17824['executeAsync'](_0x85adbb):_0x579d26=_0xb17824[_0x12a0cf(0x170)](_0x85adbb),_0xadd6c6['formulaId']!=null?this['_runtimeService'][_0x12a0cf(0x179)](_0xadd6c6[_0x12a0cf(0xe6)],_0xadd6c6[_0x12a0cf(0xd3)],_0xadd6c6[_0x12a0cf(0x139)],_0x579d26):this[_0x12a0cf(0x16d)][_0x12a0cf(0x15b)](_0x579d26));_0x240666[_0x12a0cf(0x183)](),_0x54409c++;}return _0x945a76[_0x12a0cf(0x11a)](_0x36b1e0=>_0x36b1e0()),_0x945a76=[],_0x40607d>0x0?this[_0x12a0cf(0x16d)]['markedAsSuccessfullyExecuted']():_0x217545||this[_0x12a0cf(0x16d)][_0x12a0cf(0xdc)](),this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]();}}function _0x17a9(){const _0x19df78=['formulaId','error','setSkip','toUpperCase','\x22\x20is\x20duplicated.','_config','_convertDirtyRangesToUnitRange','realDeleteValue','633CgwubG','removeFormulaDependencyByDefinedName','_initLicenseValid','isAdded','treeBuilder','_formulaData','addFormulaDependencyByDefinedName','90nwtCmY','getOwnPropertyDescriptor','defineProperty','_formulaDependencyGenerator','endColumn','setAdded','_generateTreeList','2451540nKIVtJ','PLUS','removeOtherFormulaDependency','push','notExecuteFormula','FEATURE_FORMULA','delete','isExcludeRange','setValue','add','1635255TqlMwJ','_lexer','564311xRdlsX','_dependencyTreeCache','getClearDependencyTreeCache','addOtherFormulaDependencyMainData','OTHER_FORMULA','clearFeatureFormulaDependency','isCache','getOtherFormulaData','_removeDependencyRTreeCache','clearArrayObjectCache','subUnitId','bulkRemove','trim','string','682048RgjGVj','isForceCalculate','getChildren','CURRENTLY_CALCULATING','forEach','1403995MgxgpQ','5793214MReMfw','_addAllTreeMap','openKdTree','setRuntimeFeatureCellData','Let\x20variable\x20name\x20\x22','dirtyRanges','_removeAllTreeMap','_restDependencyTreeId','_getTreeNode','message','_executionCompleteListener$','setTotalFormulasToCalculate','_injector','getRuntimeState','getDirtyData','rangeList','columnCount','_featureFormulaData','endRow','rowCount','getUnitData','isDirty','reset','clear','_registerOtherFormulas','ParentDependencyTree\x20object\x20is\x20null','get','_hasNewExcelFunction','_dependencyManagerService','refOffsetY','_apply','_xlpm.','set','searchDependency','_dependencyRTreeCache','_isCyclicUtilMap','column','_lambdaFunctionParameterSet','setTotalArrayFormulasToCalculate','type','getNewFormulaWithPrefix','_astTreeBuilder','getDirtyRanges','_calculateRunList','_otherFormulaData','join','_generateNewFunctionString','IDLE','getDirtyNameMap','pop','clearOtherFormulaDependency','isArray','getExcludedRange','getAllRuntimeData','setCompletedFormulasCount','generate','removeFeatureFormulaDependency','_removeDependencyRTreeCacheById','_getTreeById','4676fxkHAf','length','_currentConfigService','_checkAddBracketForMinus','setRuntimeData','_createFDtree','_updateRangeFlatten','_configService','return\x20','_getUpdateTreeListAndMakeDependency','_otherFormulaDataMainData','getToken','slice','row','4zOHYZH','bulkSearch','unitId','getFormulaDependency','addOtherFormulaDependency','keys','_executionInProgressListener$','min','_runtimeService','_getFeatureFormulaTree','getFeatureFormulaDependency','execute','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService','removeFormulaDependency','_dependencyRTreeCacheForAddressFunction','featureId','MINUS','startRow','setCurrent','setRuntimeOtherData','intervalCount','getOtherFormulaDependency','VALUE','hasOtherFormulaDataMainData','setFormulaExecuteStage','node','resolve','clearFormulaDependency','isVirtual','resetCalculationState','treeId','refTree','addFeatureFormulaDependency','formula','toRTreeItem','startColumn','isSkip','symbol','_checkIsCycleDependency','START_CALCULATION','has','_xlfn.','refOffsetX','setCompletedArrayFormulasCount','getValue','START_CALCULATION_ARRAY_FORMULA','_allTreeMap','_handleNewFunctionChild','size','enableCycleDependency','next','markedAsNoFunctionsExecuted','closeKdTree','_clearFunctionString','_definedNameMap','_traverse','addFormulaDependency','forValue','_createVirtualFDtree','dispose','_initializeWithOverride'];_0x17a9=function(){return _0x19df78;};return _0x17a9();}class Se extends _0x2ad6bd{constructor(){const _0x494a00=_0x4300fb;super(...arguments),T(this,_0x494a00(0xd7),new Map()),T(this,'_dependencyRTreeCache',new _0x4dbad3(!0x0));}[_0x4300fb(0x132)](){const _0x3a7e7e=_0x4300fb;this[_0x3a7e7e(0x148)][_0x3a7e7e(0x133)](),this[_0x3a7e7e(0x12d)][_0x3a7e7e(0x133)](),this[_0x3a7e7e(0xf3)]['clear'](),this[_0x3a7e7e(0x13e)]['clear'](),this[_0x3a7e7e(0xd7)]['clear'](),this[_0x3a7e7e(0x123)](),this[_0x3a7e7e(0x161)][_0x3a7e7e(0x133)]();}[_0x4300fb(0x169)](_0x51d836,_0x30d196,_0x47ab39,_0x1b63a0){const _0x142d7a=_0x4300fb;this['_otherFormulaData']['has'](_0x51d836)||this[_0x142d7a(0x148)][_0x142d7a(0x13c)](_0x51d836,new Map());const _0x4796e0=this['_otherFormulaData'][_0x142d7a(0x136)](_0x51d836);_0x4796e0['has'](_0x30d196)||_0x4796e0[_0x142d7a(0x13c)](_0x30d196,new Map());const _0x3d3c68=_0x4796e0[_0x142d7a(0x136)](_0x30d196);_0x3d3c68[_0x142d7a(0xd1)](_0x47ab39)||_0x3d3c68[_0x142d7a(0x13c)](_0x47ab39,new _0x1ca750()),_0x3d3c68[_0x142d7a(0x136)](_0x47ab39)['setValue'](_0x1b63a0[_0x142d7a(0xd3)],_0x1b63a0['refOffsetY'],_0x1b63a0['treeId']);}[_0x4300fb(0xfe)](_0x3359a3,_0x3c9a35,_0x378feb){const _0x4b0368=_0x4300fb,_0x27f312=this['_otherFormulaData'][_0x4b0368(0x136)](_0x3359a3);if(_0x27f312&&_0x27f312[_0x4b0368(0xd1)](_0x3c9a35)){const _0x3a62a6=_0x27f312[_0x4b0368(0x136)](_0x3c9a35);_0x378feb[_0x4b0368(0x11a)](_0x51a818=>{const _0x344d00=_0x4b0368,_0x52d98a=_0x3a62a6[_0x344d00(0x136)](_0x51a818);_0x52d98a!=null&&(_0x52d98a[_0x344d00(0xe2)]((_0x324510,_0x30ea60,_0x1698d4)=>{const _0x40fd38=_0x344d00;this['_removeDependencyRTreeCache'](_0x1698d4),this[_0x40fd38(0x122)](_0x1698d4);}),_0x3a62a6[_0x344d00(0x102)](_0x51a818),this[_0x344d00(0x161)][_0x344d00(0x102)](_0x51a818));}),_0x3a62a6[_0x4b0368(0xd9)]===0x0&&_0x27f312[_0x4b0368(0x102)](_0x3c9a35),_0x27f312[_0x4b0368(0xd9)]===0x0&&this[_0x4b0368(0x148)]['delete'](_0x3359a3);}}[_0x4300fb(0x14e)](_0x43105f,_0x4e43d0){const _0x4c6911=_0x4300fb,_0x1bf900=this[_0x4c6911(0x148)][_0x4c6911(0x136)](_0x43105f);if(_0x4e43d0&&_0x1bf900&&_0x1bf900[_0x4c6911(0xd1)](_0x4e43d0)){const _0x5953d1=_0x1bf900[_0x4c6911(0x136)](_0x4e43d0);this[_0x4c6911(0x155)](_0x43105f,_0x4e43d0);for(const _0x396477 of _0x5953d1[_0x4c6911(0x16a)]()){const _0x442cbc=_0x5953d1['get'](_0x396477);_0x442cbc!=null&&(_0x442cbc[_0x4c6911(0xe2)]((_0xcf8b11,_0x598ade,_0x1868ac)=>{const _0x599079=_0x4c6911;this[_0x599079(0xd7)][_0x599079(0x136)](_0x1868ac)&&this[_0x599079(0x122)](_0x1868ac);}),this[_0x4c6911(0x161)][_0x4c6911(0x102)](_0x396477));}_0x5953d1[_0x4c6911(0x133)]();}else{if(_0x1bf900){for(const _0x1c7abd of _0x1bf900[_0x4c6911(0x16a)]()){const _0x215401=_0x1bf900[_0x4c6911(0x136)](_0x1c7abd);this[_0x4c6911(0x155)](_0x43105f,_0x1c7abd);for(const _0x5a2976 of _0x215401[_0x4c6911(0x16a)]()){const _0x4126af=_0x215401['get'](_0x5a2976);_0x4126af!=null&&(_0x4126af['forValue']((_0x2c0c28,_0x42ae7c,_0x105456)=>{const _0x1a26ec=_0x4c6911;this[_0x1a26ec(0xd7)]['get'](_0x105456)&&this[_0x1a26ec(0x122)](_0x105456);}),this[_0x4c6911(0x161)][_0x4c6911(0x102)](_0x5a2976));}}this[_0x4c6911(0x148)]['delete'](_0x43105f);}}}[_0x4300fb(0x186)](_0x16386d,_0x972c8e,_0x45b2b6,_0x58f953){const _0x5ee57a=_0x4300fb;this['_featureFormulaData'][_0x5ee57a(0xd1)](_0x16386d)||this[_0x5ee57a(0x12d)][_0x5ee57a(0x13c)](_0x16386d,new Map());const _0x3c91fc=this[_0x5ee57a(0x12d)][_0x5ee57a(0x136)](_0x16386d);_0x3c91fc['has'](_0x972c8e)||_0x3c91fc[_0x5ee57a(0x13c)](_0x972c8e,new Map()),_0x3c91fc['get'](_0x972c8e)['set'](_0x45b2b6,_0x58f953[_0x5ee57a(0x184)]);}[_0x4300fb(0x154)](_0x4453ab,_0x1c003a,_0x5d54a9){const _0x385c2c=_0x4300fb,_0x4e0613=this[_0x385c2c(0x12d)][_0x385c2c(0x136)](_0x4453ab);if(_0x4e0613&&_0x4e0613[_0x385c2c(0xd1)](_0x1c003a)){const _0x4f8b67=_0x4e0613[_0x385c2c(0x136)](_0x1c003a);_0x5d54a9[_0x385c2c(0x11a)](_0x56747c=>{const _0x4fb330=_0x385c2c,_0x10ba9f=_0x4f8b67[_0x4fb330(0x136)](_0x56747c);_0x10ba9f!=null&&(this[_0x4fb330(0x110)](_0x10ba9f),_0x4f8b67[_0x4fb330(0x102)](_0x56747c),this['_removeAllTreeMap'](_0x10ba9f));});}}['clearFeatureFormulaDependency'](_0x37cfa0,_0x2d32aa){const _0x2c726f=_0x4300fb,_0x361d71=this[_0x2c726f(0x12d)][_0x2c726f(0x136)](_0x37cfa0);if(_0x2d32aa&&_0x361d71&&_0x361d71[_0x2c726f(0xd1)](_0x2d32aa)){const _0x57ecc0=_0x361d71[_0x2c726f(0x136)](_0x2d32aa);this[_0x2c726f(0x155)](_0x37cfa0,_0x2d32aa),_0x57ecc0['forEach'](_0x4ae361=>{const _0x2eab0c=_0x2c726f;_0x4ae361!=null&&this[_0x2eab0c(0x122)](_0x4ae361);}),_0x57ecc0['clear']();}else _0x361d71&&(_0x361d71['forEach']((_0x48db13,_0xda201e)=>{const _0x1f55d0=_0x2c726f;this[_0x1f55d0(0x155)](_0x37cfa0,_0xda201e),_0x48db13[_0x1f55d0(0x11a)](_0x35d602=>{const _0x195ec1=_0x1f55d0;_0x35d602!=null&&this[_0x195ec1(0x122)](_0x35d602);});}),this[_0x2c726f(0x12d)][_0x2c726f(0x102)](_0x37cfa0));}[_0x4300fb(0xe1)](_0x483351,_0x198a85,_0x44846c,_0x949e97,_0x1cc3ca){const _0x5893e0=_0x4300fb;this['_formulaData'][_0x5893e0(0xd1)](_0x483351)||this[_0x5893e0(0xf3)][_0x5893e0(0x13c)](_0x483351,new Map());const _0xf1cece=this[_0x5893e0(0xf3)][_0x5893e0(0x136)](_0x483351);_0xf1cece[_0x5893e0(0xd1)](_0x198a85)||_0xf1cece[_0x5893e0(0x13c)](_0x198a85,new _0x1ca750()),_0xf1cece[_0x5893e0(0x136)](_0x198a85)[_0x5893e0(0x104)](_0x44846c,_0x949e97,_0x1cc3ca[_0x5893e0(0x184)]);}[_0x4300fb(0x173)](_0xce36d5,_0x2e4f6a,_0xc0487,_0x48faa2){const _0x5bf12e=_0x4300fb,_0x693205=this[_0x5bf12e(0xf3)][_0x5bf12e(0x136)](_0xce36d5);if(_0x693205&&_0x693205[_0x5bf12e(0xd1)](_0x2e4f6a)){const _0x10e308=_0x693205[_0x5bf12e(0x136)](_0x2e4f6a),_0x34c04d=_0x10e308[_0x5bf12e(0xd5)](_0xc0487,_0x48faa2);if(_0x34c04d==null)return;this['_removeDependencyRTreeCache'](_0x34c04d),_0x10e308[_0x5bf12e(0xed)](_0xc0487,_0x48faa2),this[_0x5bf12e(0x122)](_0x34c04d);}}[_0x4300fb(0x181)](_0x55988f,_0x132471){const _0x765213=_0x4300fb,_0x2a1687=this[_0x765213(0xf3)]['get'](_0x55988f);if(_0x132471&&_0x2a1687&&_0x2a1687[_0x765213(0xd1)](_0x132471)){const _0x2ff61b=_0x2a1687['get'](_0x132471);this[_0x765213(0x155)](_0x55988f,_0x132471),_0x2ff61b[_0x765213(0xe2)]((_0x14ff22,_0x3784ac,_0x396f5e)=>{if(_0x396f5e==null)return!0x0;this['_removeAllTreeMap'](_0x396f5e);}),_0x2ff61b[_0x765213(0x132)]();}else _0x2a1687&&(_0x2a1687[_0x765213(0x11a)]((_0x4eebbf,_0x2a13a5)=>{const _0x371655=_0x765213;this[_0x371655(0x155)](_0x55988f,_0x2a13a5),_0x4eebbf['forValue']((_0x3eb3f5,_0x392ff1,_0x22c500)=>{const _0x146c7e=_0x371655;if(_0x22c500==null)return!0x0;this[_0x146c7e(0x122)](_0x22c500);});}),this['_formulaData'][_0x765213(0x102)](_0x55988f));}[_0x4300fb(0x110)](_0x30828f){const _0x1eb667=_0x4300fb;if(_0x30828f==null)return;const _0x135190=this[_0x1eb667(0xd7)][_0x1eb667(0x136)](_0x30828f);if(_0x135190){const _0x1fefee=[];for(const [_0x5e609a,_0x68fcd4]of _0x135190)for(const [_0x417772,_0x1a3dcf]of _0x68fcd4)_0x1fefee[_0x1eb667(0xff)]({'unitId':_0x5e609a,'sheetId':_0x417772,'range':_0x1a3dcf,'id':_0x30828f});this[_0x1eb667(0x13e)][_0x1eb667(0x113)](_0x1fefee);}}[_0x4300fb(0xef)](_0x2257af,_0x41f92a){const _0x5ee25b=_0x4300fb,_0x5bb8b4=this[_0x5ee25b(0xdf)]['get'](_0x2257af);if(_0x5bb8b4){const _0x4a09d7=_0x5bb8b4[_0x5ee25b(0x136)](_0x41f92a);if(_0x4a09d7){for(const _0xb79705 of _0x4a09d7)this['_removeDependencyRTreeCache'](_0xb79705),this['_removeAllTreeMap'](_0xb79705);_0x4a09d7['clear']();}}}['openKdTree'](){const _0x15f55b=_0x4300fb;this[_0x15f55b(0x13e)][_0x15f55b(0x11e)]();}['closeKdTree'](){const _0x2189d7=_0x4300fb;this['_dependencyRTreeCache'][_0x2189d7(0xdd)]();}[_0x4300fb(0x122)](_0x53bb29){const _0x2d4eda=_0x4300fb;_0x53bb29!=null&&this[_0x2d4eda(0xd7)][_0x2d4eda(0x102)](_0x53bb29);}[_0x4300fb(0x11d)](_0x584f26){const _0x295a4c=_0x4300fb;var _0xcd60f7,_0x570af5;const _0x530b32=_0x584f26[_0x295a4c(0x12b)];let _0x7bc632=this[_0x295a4c(0xd7)][_0x295a4c(0x136)](_0x584f26['treeId']);for(let _0x4638ed=0x0;_0x4638ed<_0x530b32[_0x295a4c(0x158)];_0x4638ed++){const _0x155ec4=_0x530b32[_0x4638ed];let {unitId:_0xd3341b,sheetId:_0x547f72,range:_0x4d8ad8}=_0x155ec4;_0x7bc632||(_0x7bc632=new Map(),this[_0x295a4c(0xd7)]['set'](_0x584f26[_0x295a4c(0x184)],_0x7bc632)),_0x7bc632['has'](_0xd3341b)||_0x7bc632[_0x295a4c(0x13c)](_0xd3341b,new Map());const _0x29084f=(_0xcd60f7=_0x7bc632==null?void 0x0:_0x7bc632[_0x295a4c(0x136)](_0xd3341b))==null?void 0x0:_0xcd60f7[_0x295a4c(0x136)](_0x547f72);_0x29084f&&(_0x4d8ad8={'startRow':Math[_0x295a4c(0x16c)](_0x4d8ad8[_0x295a4c(0x177)],_0x29084f[_0x295a4c(0x177)]),'startColumn':Math[_0x295a4c(0x16c)](_0x4d8ad8[_0x295a4c(0x189)],_0x29084f[_0x295a4c(0x189)]),'endRow':Math['max'](_0x4d8ad8[_0x295a4c(0x12e)],_0x29084f['endRow']),'endColumn':Math['max'](_0x4d8ad8[_0x295a4c(0xf9)],_0x29084f['endColumn'])}),(_0x570af5=_0x7bc632[_0x295a4c(0x136)](_0xd3341b))==null||_0x570af5[_0x295a4c(0x13c)](_0x547f72,_0x4d8ad8);}}}var Me=Object[_0x4300fb(0xf6)],Ve=(_0xada7b0,_0x850a4a,_0x33ecc2,_0x2f26a6)=>{for(var _0xd03e7a=_0x2f26a6>0x1?void 0x0:_0x2f26a6?Me(_0x850a4a,_0x33ecc2):_0x850a4a,_0xf9ef5c=_0xada7b0['length']-0x1,_0x329240;_0xf9ef5c>=0x0;_0xf9ef5c--)(_0x329240=_0xada7b0[_0xf9ef5c])&&(_0xd03e7a=_0x329240(_0xd03e7a)||_0xd03e7a);return _0xd03e7a;};const Re=Number['parseInt'](0x692ab7b9);let H=class extends _0x5402f8{[_0x4300fb(0xe5)](){const _0x59d9a2=_0x4300fb;var _0x7ae32d,_0x13ae48;this[_0x59d9a2(0xf0)]()?(this['_injector']['add']([_0xe22dbc,{'useClass':Te}]),(_0x7ae32d=this['_config'])!=null&&_0x7ae32d[_0x59d9a2(0x100)]||[[_0x2f95ad,{'useClass':Ue}],[_0x14e916,{'useClass':Se}],[_0x594ae4,{'useClass':De}]]['forEach'](_0x4b439c=>this[_0x59d9a2(0x128)][_0x59d9a2(0x105)](_0x4b439c))):(this[_0x59d9a2(0x128)][_0x59d9a2(0x105)]([_0xe22dbc,{'useClass':_0xe22dbc}]),(_0x13ae48=this[_0x59d9a2(0xeb)])!=null&&_0x13ae48[_0x59d9a2(0x100)]||[[_0x2f95ad,{'useClass':_0x5d342a}],[_0x14e916,{'useClass':_0x53617d}],[_0x594ae4,{'useClass':_0x59c733}]][_0x59d9a2(0x11a)](_0x52d394=>this[_0x59d9a2(0x128)][_0x59d9a2(0x105)](_0x52d394)));}[_0x4300fb(0xf0)](){const _0x26f936=_0x4300fb;var _0x4046b0;const _0x277514=(_0x4046b0=this['_configService']['getConfig'](_0x1ada57))!=null?_0x4046b0:{},{ls:_0x2e1410,pbk:_0x5334c9}=_0x277514;if(!_0x2e1410||!_0x5334c9)return!0x1;const _0x9d831f=_0x3e0abd(Ae,Fe),_0x1725dc=new Function(_0x26f936(0x15f)+_0x9d831f)()(_0x2e1410,_0x5334c9),_0xdb03c2=_0x1725dc[_0x26f936(0x125)];return _0x1725dc['valid']&&_0x3cd5c1(_0xdb03c2,'sf',Re)?_0x494a70(_0xdb03c2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=Ve([_0x463b6b(_0x4fcdac)],H);export{H as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x588a(_0x189e8b,_0x5ecb5e){var _0xeea23a=_0xeea2();return _0x588a=function(_0x588a30,_0x109f67){_0x588a30=_0x588a30-0x17a;var _0x464790=_0xeea23a[_0x588a30];return _0x464790;},_0x588a(_0x189e8b,_0x5ecb5e);}function _0xeea2(){var _0x2a1ee6=['6178zdPsoW','718128XuPoRp','1573seJAHv','7USDFFr','225uyjibh','4530TUvuJF','47tSTWCx','516tasZGj','2171040sNVpGi','1020UqFyhg','4616SgJVoH','479646teTUrJ'];_0xeea2=function(){return _0x2a1ee6;};return _0xeea2();}(function(_0x1f831c,_0x48e765){var _0x40053a=_0x588a,_0xcbf75f=_0x1f831c();while(!![]){try{var _0x572cd3=-parseInt(_0x40053a(0x17a))/0x1*(-parseInt(_0x40053a(0x180))/0x2)+parseInt(_0x40053a(0x181))/0x3+-parseInt(_0x40053a(0x17b))/0x4*(parseInt(_0x40053a(0x17d))/0x5)+parseInt(_0x40053a(0x17f))/0x6*(-parseInt(_0x40053a(0x183))/0x7)+-parseInt(_0x40053a(0x17e))/0x8*(parseInt(_0x40053a(0x184))/0x9)+-parseInt(_0x40053a(0x185))/0xa*(-parseInt(_0x40053a(0x182))/0xb)+-parseInt(_0x40053a(0x17c))/0xc;if(_0x572cd3===_0x48e765)break;else _0xcbf75f['push'](_0xcbf75f['shift']());}catch(_0x23e5e3){_0xcbf75f['push'](_0xcbf75f['shift']());}}}(_0xeea2,0x24118));export*from'@univerjs/engine-formula/facade';
1
+ (function(_0x2d5b79,_0x15214b){var _0x3f4d71=_0x49f9,_0x3503ec=_0x2d5b79();while(!![]){try{var _0x3df30b=-parseInt(_0x3f4d71(0xb8))/0x1*(parseInt(_0x3f4d71(0xb0))/0x2)+-parseInt(_0x3f4d71(0xba))/0x3*(parseInt(_0x3f4d71(0xb2))/0x4)+parseInt(_0x3f4d71(0xb1))/0x5*(-parseInt(_0x3f4d71(0xb3))/0x6)+parseInt(_0x3f4d71(0xbb))/0x7*(parseInt(_0x3f4d71(0xb5))/0x8)+parseInt(_0x3f4d71(0xbd))/0x9*(parseInt(_0x3f4d71(0xb9))/0xa)+-parseInt(_0x3f4d71(0xb7))/0xb*(-parseInt(_0x3f4d71(0xbc))/0xc)+parseInt(_0x3f4d71(0xb4))/0xd*(parseInt(_0x3f4d71(0xb6))/0xe);if(_0x3df30b===_0x15214b)break;else _0x3503ec['push'](_0x3503ec['shift']());}catch(_0x182118){_0x3503ec['push'](_0x3503ec['shift']());}}}(_0x1a88,0x59889));function _0x1a88(){var _0x448b01=['7rDZfzK','3804516vvJvgf','5754393YAmicE','340598kRLQDd','24165zSekas','124QPHfuk','468izqLSZ','4543669MQKLOU','660568OiGLtv','14caaLdL','11aweeMS','2CtpfJR','10YtyKWW','29439NRAtEd'];_0x1a88=function(){return _0x448b01;};return _0x1a88();}function _0x49f9(_0x344870,_0x135fbd){var _0x1a880c=_0x1a88();return _0x49f9=function(_0x49f9d0,_0x2f009e){_0x49f9d0=_0x49f9d0-0xb0;var _0x4cf651=_0x1a880c[_0x49f9d0];return _0x4cf651;},_0x49f9(_0x344870,_0x135fbd);}export*from'@univerjs/engine-formula/facade';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4744ad=_0x410e;(function(_0xce3116,_0x1f4670){const _0x451f40=_0x410e,_0x346a24=_0xce3116();while(!![]){try{const _0xd4c3b7=parseInt(_0x451f40(0x16e))/0x1+-parseInt(_0x451f40(0x178))/0x2+parseInt(_0x451f40(0x1d1))/0x3+parseInt(_0x451f40(0x160))/0x4+-parseInt(_0x451f40(0x1dd))/0x5*(-parseInt(_0x451f40(0x1e4))/0x6)+parseInt(_0x451f40(0x157))/0x7*(-parseInt(_0x451f40(0x191))/0x8)+-parseInt(_0x451f40(0x1c8))/0x9;if(_0xd4c3b7===_0x1f4670)break;else _0x346a24['push'](_0x346a24['shift']());}catch(_0x40f57b){_0x346a24['push'](_0x346a24['shift']());}}}(_0xc20b,0xd5214));var J=Object[_0x4744ad(0x17f)],q=(_0x6ecde1,_0x1f769d,_0x37c863)=>_0x1f769d in _0x6ecde1?J(_0x6ecde1,_0x1f769d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37c863}):_0x6ecde1[_0x1f769d]=_0x37c863,j=(_0xf69383,_0xb9add8,_0x3da35f)=>q(_0xf69383,typeof _0xb9add8!='symbol'?_0xb9add8+'':_0xb9add8,_0x3da35f);import{UniverLicensePlugin as _0x30a96a,LS_CONFIG_KEY as _0x3c6c79,unshiftString as _0x11cd8f,isFeatureAuthorizedWithinTime as _0x21237d,getSheetFeatureLimit as _0x5bceeb}from'@univerjs-pro/license';import{ObjectMatrix as _0x221da8,requestImmediateMacroTask as _0x2b1edc,RTree as _0x3b3d81,DependentOn as _0x199b11}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1df8c4,generateRandomDependencyTreeId as _0x777f8b,FormulaDependencyTree as _0xe3e367,FormulaDependencyTreeType as _0x5ec92b,FormulaDependencyTreeVirtual as _0x414b6c,generateAstNode as _0x233825,LexerTreeBuilder as _0x242423,ErrorType as _0x1433d0,DEFAULT_TOKEN_TYPE_ROOT as _0x26a0bc,DEFAULT_TOKEN_TYPE_PARAMETER as _0x4cab01,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4a9c57,NEW_EXCEL_FUNCTIONS as _0x217369,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x5cc0c0,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x586751,matchToken as _0xbc6c48,SUFFIX_TOKEN_SET as _0x9980be,prefixToken as _0x3faa38,LexerNode as _0x2fd889,OPERATOR_TOKEN_SET as _0x4ac640,CalculateFormulaService as _0x11bc9d,FormulaExecuteStageType as _0x45f46d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3103a2,DEFAULT_INTERVAL_COUNT as _0x4ae180,DependencyManagerBaseService as _0x56c72f,UniverFormulaEnginePlugin as _0x59cb2f,ICalculateFormulaService as _0x208c10,IDependencyManagerService as _0x5a02c4,IFormulaDependencyGenerator as _0x42fc7b,DependencyManagerService as _0x2df86a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'k',0x1:'Z',0x2:'p',0x3:'G',0x4:'U',0x5:'X',0x6:'y',0x7:'b',0x8:'E',0x9:'P','z':'0','P':'1','t':'2','W':'3','g':'4','r':'5','C':'6','O':'7','A':'8','R':'9','a':'a','N':'c','u':'d','L':'e','o':'f','I':'g','D':'h','Y':'i','n':'j','Q':'l','y':'m','c':'n','f':'o','G':'q','B':'r','b':'s','j':'t','w':'u','e':'v','E':'w','x':'x','T':'z','J':'A','v':'B','F':'C','p':'D','H':'F','U':'H','m':'I','K':'J','q':'K','M':'L','Z':'M','i':'N','l':'O','d':'Q','V':'R','S':'S','X':'T','s':'V','k':'W','h':'Y'},Ce='owcNjYfc\x20uLNB62jYfc(QYNLcbL,\x202w7QYNqL6)\x20{\x20\x20\x20\x20jB6\x20{\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20QYNLcbLmcof9aBjJBBa6\x20=\x20QYNLcbL.b2QYj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20fBYIYcZLbbaIL\x20=\x20KSli.2aBbL(ajf7(QYNLcbLmcof9aBjJBBa6[t]));\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!fBYIYcZLbbaIL.wu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fBYIYcZLbbaIL.wu\x20=\x20iwy7LB(QYNLcbLmcof9aBjJBBa6[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbkfB0LB\x20=\x20j62Lfo\x20kfB0LB3Qf7aQSNf2L\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20bLQo\x20YcbjacNLfo\x20kfB0LB3Qf7aQSNf2L;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbvBfEbLB\x20=\x20j62Lfo\x20EYcufE\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20j62Lfo\x20EYcufE.QfNajYfc\x20!==\x20\x27wcuLoYcLu\x27;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20NfcjLxj\x20=\x20YbkfB0LB\x20?\x20bLQo\x20:\x20(YbvBfEbLB\x20?\x20EYcufE\x20:\x20IQf7aQXDYb);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaILkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[t]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaIL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(yLbbaILkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBLkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[W]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(bYIcajwBLkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcsaQYu\x20=\x20NfcjLxj.__eLBYo6__(bYIcajwBL,\x20yLbbaIL,\x202w7QYNqL6);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20ufyaYc\x20=\x20fBYIYcZLbbaIL.uy;\x20\x20\x20\x20\x20\x20\x20\x20owcNjYfc\x20YbpfyaYcZajNDYcI(f9ajjLBc,\x20fUfbj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc\x20=\x20f9ajjLBc.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj\x20=\x20fUfbj.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc9aBjb\x20=\x202ajjLBc.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj9aBjb\x20=\x20Dfbj.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!2ajjLBc.YcNQwuLb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBc\x20===\x20Dfbj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(2ajjLBc9aBjb.QLcIjD\x20<\x20t\x20||\x202ajjLBc9aBjb[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBcSwooYx\x20=\x202ajjLBc9aBjb.bQYNL(P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20DfbjSwooYx\x20=\x20Dfbj9aBjb.bQYNL(-2ajjLBc9aBjb.QLcIjD\x20+\x20P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBcSwooYx\x20===\x20DfbjSwooYx;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QLj\x20ufyaYcsaQYu\x20=\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(YbvBfEbLB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20(ufyaYc\x20&&\x20ufyaYc.QLcIjD)\x20?\x20ufyaYc.bfyL((uymjLy)\x20=>\x20YbpfyaYcZajNDYcI(uymjLy,\x20QfNajYfc.DfbjcayL))\x20:\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(QfNajYfc.DfbjcayL\x20===\x20\x27QfNaQDfbj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20LQbL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20eaQYu\x20=\x20bYIcsaQYu\x20&&\x20ufyaYcsaQYu;\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20fBYIYcZLbbaIL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20NajND\x20(LBBfB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu:\x20oaQbL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class be extends _0x1df8c4{constructor(){const _0x525003=_0x4744ad;super(...arguments),j(this,_0x525003(0x1d0),new Map());}['dispose'](){const _0x10a881=_0x4744ad;super[_0x10a881(0x1a9)](),this['_dependencyTreeCache'][_0x10a881(0x1f6)]();}async[_0x4744ad(0x164)](){const _0x8229b1=_0x4744ad;this[_0x8229b1(0x1b3)]();const _0x1f68bd=this[_0x8229b1(0x15c)][_0x8229b1(0x18c)](),_0x180df5=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x59d5aa=this['_currentConfigService'][_0x8229b1(0x20a)]();_0x59d5aa!=null&&Object[_0x8229b1(0x181)](_0x59d5aa)[_0x8229b1(0x15a)](_0x5e5afe=>{const _0x44d625=_0x8229b1;_0x5e5afe!=null&&Object[_0x44d625(0x181)](_0x59d5aa[_0x5e5afe])[_0x44d625(0x15a)](_0x3b59c7=>{const _0x464d43=_0x44d625;_0x3b59c7!=null&&(this['_dependencyManagerService'][_0x464d43(0x165)](_0x5e5afe,_0x3b59c7),this[_0x464d43(0x1f5)][_0x464d43(0x1cd)](_0x5e5afe,_0x3b59c7),this[_0x464d43(0x1f5)][_0x464d43(0x1ae)](_0x5e5afe,_0x3b59c7));});});const _0x2c93f1=this[_0x8229b1(0x15c)][_0x8229b1(0x1f2)]();await this[_0x8229b1(0x1a5)](_0x1f68bd,_0x180df5,_0x2c93f1),this[_0x8229b1(0x1f5)][_0x8229b1(0x1ba)]();const _0x35ed8b=this[_0x8229b1(0x161)](),_0xc6758c=this[_0x8229b1(0x1e2)](_0x35ed8b);return this[_0x8229b1(0x169)](_0xc6758c)&&this[_0x8229b1(0x1a6)]['enableCycleDependency'](),this[_0x8229b1(0x1d0)][_0x8229b1(0x1f6)](),this[_0x8229b1(0x188)][_0x8229b1(0x1f6)](),this[_0x8229b1(0x1f5)][_0x8229b1(0x201)](),this[_0x8229b1(0x1a6)][_0x8229b1(0x192)](),Promise[_0x8229b1(0x1ed)](_0xc6758c);}[_0x4744ad(0x1aa)](_0x3dc562,_0x11be27){const _0x133f5c=_0x4744ad,_0x25ba70=[_0x3dc562];for(;_0x25ba70['length']>0x0;){const _0x3e3217=_0x25ba70[_0x25ba70['length']-0x1];if((_0x11be27[_0x133f5c(0x177)](_0x3e3217)||0x0)===0x0){_0x11be27[_0x133f5c(0x1ea)](_0x3e3217,0x1);const _0x58c3d5=this[_0x133f5c(0x1d0)][_0x133f5c(0x177)](_0x3e3217);if(_0x58c3d5==null){_0x11be27[_0x133f5c(0x1ea)](_0x3e3217,0x2),_0x25ba70[_0x133f5c(0x1c5)]();continue;}const _0x834cdf=this[_0x133f5c(0x1f5)]['searchDependency'](_0x58c3d5[_0x133f5c(0x1ff)]());for(const _0x59f06f of _0x834cdf){const _0x1208c7=_0x11be27[_0x133f5c(0x177)](_0x59f06f)||0x0;if(_0x1208c7===0x1)return!0x0;_0x1208c7===0x0&&_0x25ba70[_0x133f5c(0x1e8)](_0x59f06f);}}else _0x11be27['set'](_0x3e3217,0x2),_0x25ba70[_0x133f5c(0x1c5)]();}return!0x1;}[_0x4744ad(0x169)](_0x29e6eb){const _0x4d508d=_0x4744ad,_0x2cc65c=new Map();for(const _0x79bbd1 of _0x29e6eb)if(!_0x2cc65c[_0x4d508d(0x189)](_0x79bbd1['treeId'])&&this['_isCyclicUtilMap'](_0x79bbd1[_0x4d508d(0x187)],_0x2cc65c))return!0x0;return _0x2cc65c['clear'](),!0x1;}[_0x4744ad(0x204)](_0x2b58fd,_0x7a5f57,_0x5d93d7){const _0x3115ef=_0x4744ad,{unitId:_0x47d382,subUnitId:_0x2acf30,dependencyRanges:_0x201d44,getDirtyData:_0x1726ce}=_0x5d93d7,_0x46207b=_0x7a5f57||_0x777f8b(this[_0x3115ef(0x1f5)]),_0x4b2c46=new _0xe3e367(_0x46207b);_0x4b2c46[_0x3115ef(0x1ad)]=_0x47d382,_0x4b2c46[_0x3115ef(0x179)]=_0x2acf30,_0x4b2c46[_0x3115ef(0x208)]=_0x201d44,_0x4b2c46['getDirtyData']=_0x1726ce;const _0x2fd9d2=_0x1726ce(this[_0x3115ef(0x15c)][_0x3115ef(0x1be)](),this[_0x3115ef(0x1a6)][_0x3115ef(0x18e)]()),_0x5192b5=this[_0x3115ef(0x1e1)](_0x2fd9d2[_0x3115ef(0x1d9)]);return _0x4b2c46[_0x3115ef(0x1fb)]=_0x5192b5,_0x4b2c46[_0x3115ef(0x1c4)]=_0x2b58fd,_0x4b2c46[_0x3115ef(0x1c2)]=_0x5ec92b[_0x3115ef(0x18d)],this[_0x3115ef(0x1f5)][_0x3115ef(0x182)](_0x47d382,_0x2acf30,_0x2b58fd,_0x4b2c46),this[_0x3115ef(0x1d0)][_0x3115ef(0x1ea)](_0x4b2c46['treeId'],_0x4b2c46),this['_dependencyManagerService'][_0x3115ef(0x1e3)](_0x5d93d7['unitId'],_0x5d93d7[_0x3115ef(0x179)],_0x2b58fd)&&(_0x4b2c46[_0x3115ef(0x1d8)]=!0x0),_0x4b2c46;}[_0x4744ad(0x1bf)](_0x40f8f5,_0x43a641,_0x258238){const _0x469594=_0x4744ad;var _0x2cfdb0;for(const _0x297a50 of _0x43a641){const _0x3c5e78=_0x40f8f5[_0x297a50];if(_0x3c5e78==null)continue;const _0x5f4c84=Object[_0x469594(0x181)](_0x3c5e78);for(const _0x3d5638 of _0x5f4c84){const _0x390271=_0x3c5e78[_0x3d5638];if(_0x390271==null)continue;const _0x12c072=Object[_0x469594(0x181)](_0x390271);for(const _0x392a1b of _0x12c072){const _0x3b8796=this[_0x469594(0x1f5)][_0x469594(0x1fd)](_0x392a1b),_0x36d480=_0x390271[_0x392a1b],{f:_0x349739,ranges:_0x274c73}=_0x36d480;let _0x4ad881=!0x1;_0x3b8796&&(_0x4ad881=!0x0);const {firstRow:_0x38aa89,firstColumn:_0x213fa5}=this[_0x469594(0x205)](_0x274c73),_0x16e786=this[_0x469594(0x1f5)][_0x469594(0x158)](_0x297a50,_0x3d5638,_0x392a1b),_0x3bb78f=(_0x2cfdb0=_0x16e786==null?void 0x0:_0x16e786[_0x469594(0x1f0)](0x0,0x0))!=null?_0x2cfdb0:_0x777f8b(this['_dependencyManagerService']),_0x50c972=new _0xe3e367(_0x3bb78f);for(let _0x1f2de0=0x0;_0x1f2de0<_0x274c73[_0x469594(0x1a3)];_0x1f2de0++){const _0x5399d8=_0x274c73[_0x1f2de0],{startRow:_0x2b866b,startColumn:_0x3af4fd,endRow:_0x2f6687,endColumn:_0x57deee}=_0x5399d8;for(let _0x7b04d5=_0x2b866b;_0x7b04d5<=_0x2f6687;_0x7b04d5++)for(let _0x399428=_0x3af4fd;_0x399428<=_0x57deee;_0x399428++){const _0x362e4f=_0x399428-_0x213fa5,_0x2e201a=_0x7b04d5-_0x38aa89;if(_0x362e4f===0x0&&_0x2e201a===0x0){_0x50c972[_0x469594(0x197)]=_0x349739,_0x50c972[_0x469594(0x1ad)]=_0x297a50,_0x50c972[_0x469594(0x179)]=_0x3d5638,_0x50c972[_0x469594(0x1e7)]=_0x392a1b,_0x50c972['type']=_0x5ec92b[_0x469594(0x1b8)],_0x50c972['isCache']=_0x4ad881,_0x258238[_0x469594(0x1e8)](_0x50c972),this['_dependencyTreeCache'][_0x469594(0x1ea)](_0x50c972[_0x469594(0x187)],_0x50c972),this[_0x469594(0x1f5)][_0x469594(0x1df)](_0x297a50,_0x3d5638,_0x392a1b,_0x50c972),this[_0x469594(0x1f5)][_0x469594(0x1c7)](_0x50c972);continue;}const _0x2a3d32=new _0x414b6c();_0x2a3d32[_0x469594(0x187)]=(_0x16e786==null?void 0x0:_0x16e786[_0x469594(0x1f0)](_0x362e4f,_0x2e201a))||_0x777f8b(this['_dependencyManagerService']),_0x2a3d32[_0x469594(0x1d4)]=_0x50c972,_0x2a3d32[_0x469594(0x1d7)]=_0x362e4f,_0x2a3d32['refOffsetY']=_0x2e201a,_0x2a3d32[_0x469594(0x1d8)]=_0x4ad881,this[_0x469594(0x1f5)][_0x469594(0x1df)](_0x297a50,_0x3d5638,_0x392a1b,_0x2a3d32),this[_0x469594(0x1f5)]['addFormulaDependencyByDefinedName'](_0x2a3d32),_0x258238['push'](_0x2a3d32),this[_0x469594(0x1d0)][_0x469594(0x1ea)](_0x2a3d32[_0x469594(0x187)],_0x2a3d32);}}this[_0x469594(0x1f5)][_0x469594(0x190)](_0x392a1b);}}}}[_0x4744ad(0x1a2)](_0x4c9c0a,_0x3760b4,_0x44be5d,_0x2512de){const _0x582afb=_0x4744ad;for(const _0x58874e of _0x4c9c0a){const _0xaf3a1c=_0x3760b4[_0x58874e];if(_0xaf3a1c==null)continue;const _0xde19ae=Object['keys'](_0xaf3a1c);for(const _0x35d6e3 of _0xde19ae){const _0x21c3b0=new _0x221da8(_0xaf3a1c[_0x35d6e3]||{}),_0x3338e5=new Map();_0x21c3b0[_0x582afb(0x18a)]((_0x55927e,_0x6438da,_0x30d174)=>{const _0xe4ba06=_0x582afb;if(_0x30d174==null)return!0x0;const {x:_0x17d362=0x0,y:_0xa514bb=0x0,si:_0x1595f6}=_0x30d174;if(!(_0x17d362===0x0&&_0xa514bb===0x0&&_0x1595f6!=null))return!0x0;const _0x30a955=this[_0xe4ba06(0x1de)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da,_0x44be5d,_0x30d174),_0x191410=this[_0xe4ba06(0x1f5)][_0xe4ba06(0x19e)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da);_0x191410!=null?_0x30a955[_0xe4ba06(0x187)]=_0x191410:(this['_dependencyManagerService'][_0xe4ba06(0x1eb)](_0x58874e,_0x35d6e3,_0x55927e,_0x6438da,_0x30a955),this[_0xe4ba06(0x1f5)][_0xe4ba06(0x1c7)](_0x30a955)),_0x3338e5['set'](_0x1595f6,_0x30a955),_0x2512de[_0xe4ba06(0x1e8)](_0x30a955),this[_0xe4ba06(0x1d0)]['set'](_0x30a955[_0xe4ba06(0x187)],_0x30a955);}),_0x21c3b0[_0x582afb(0x18a)]((_0x46cc14,_0x169497,_0x173460)=>{const _0x1f048f=_0x582afb;if(_0x173460==null)return!0x0;const {x:_0x214a93=0x0,y:_0x3bba14=0x0,si:_0x3ff5ba}=_0x173460;if(_0x214a93===0x0&&_0x3bba14===0x0&&_0x3ff5ba!=null)return!0x0;let _0x1e9174;if(_0x3ff5ba&&_0x3338e5[_0x1f048f(0x189)](_0x3ff5ba)){const _0x5d2ff2=_0x3338e5[_0x1f048f(0x177)](_0x3ff5ba);_0x1e9174=this['_createVirtualFDtree'](_0x5d2ff2,_0x173460);}else _0x1e9174=this[_0x1f048f(0x1de)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497,_0x44be5d,_0x173460);const _0x14f521=this[_0x1f048f(0x1f5)][_0x1f048f(0x19e)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497);_0x14f521!=null?_0x1e9174[_0x1f048f(0x187)]=_0x14f521:(this[_0x1f048f(0x1f5)][_0x1f048f(0x1eb)](_0x58874e,_0x35d6e3,_0x46cc14,_0x169497,_0x1e9174),this[_0x1f048f(0x1f5)][_0x1f048f(0x1c7)](_0x1e9174)),_0x2512de[_0x1f048f(0x1e8)](_0x1e9174),this['_dependencyTreeCache'][_0x1f048f(0x1ea)](_0x1e9174[_0x1f048f(0x187)],_0x1e9174);}),_0x3338e5[_0x582afb(0x1f6)]();}}}[_0x4744ad(0x1de)](_0x29f934,_0x181e82,_0x1f2d6b,_0x254467,_0x28fafc,_0x5c0f6c){const _0x37f472=_0x4744ad,{f:_0xc8475c,x:_0x386b30=0x0,y:_0x1587db=0x0}=_0x5c0f6c,_0x3203d3=new _0xe3e367(_0x777f8b(this['_dependencyManagerService'])),_0x2d7bc1=_0x28fafc[_0x29f934][_0x181e82];return _0x3203d3[_0x37f472(0x197)]=_0xc8475c,_0x3203d3[_0x37f472(0x1ad)]=_0x29f934,_0x3203d3['subUnitId']=_0x181e82,_0x3203d3['row']=_0x1f2d6b,_0x3203d3['column']=_0x254467,_0x3203d3[_0x37f472(0x203)]=_0x2d7bc1[_0x37f472(0x203)],_0x3203d3[_0x37f472(0x1fa)]=_0x2d7bc1[_0x37f472(0x1fa)],_0x3203d3;}[_0x4744ad(0x161)](){const _0x5362af=_0x4744ad,_0x647c4b=[],_0x1c9f5e=new Set(),_0x33d7b6=this[_0x5362af(0x15c)][_0x5362af(0x198)](),_0x2ae816=this[_0x5362af(0x15c)][_0x5362af(0x194)](),_0x5662b0=this['_dependencyManagerService'][_0x5362af(0x1f8)](_0x2ae816),_0x2bfa72=this['_dependencyRTreeCacheForAddressFunction'][_0x5362af(0x1e6)](_0x2ae816);for(const _0x51abd0 of _0x2bfa72)_0x5662b0['add'](_0x51abd0);for(const [_0x1632eb,_0x1ae3f5]of this[_0x5362af(0x1d0)])(_0x33d7b6||_0x1ae3f5[_0x5362af(0x17e)]||_0x1ae3f5[_0x5362af(0x20b)](this['_currentConfigService'][_0x5362af(0x184)]())||_0x5662b0['has'](_0x1632eb)&&!_0x1ae3f5[_0x5362af(0x17c)](this['_currentConfigService']['getExcludedRange']()))&&!_0x1c9f5e[_0x5362af(0x189)](_0x1632eb)&&(_0x647c4b[_0x5362af(0x1e8)](_0x1ae3f5),_0x1c9f5e['add'](_0x1632eb));for(const [_0x22ff97,_0x35ee72]of this[_0x5362af(0x1d0)])_0x35ee72['isVirtual']||(_0x35ee72['rangeList']['length']=0x0);return _0x647c4b;}[_0x4744ad(0x1b5)](_0x3e2d10){return this['_dependencyTreeCache']['get'](_0x3e2d10);}['_getTreeNode'](_0x13069e){const _0x2e6813=_0x4744ad;return _0x233825(_0x13069e[_0x2e6813(0x1ad)],_0x13069e[_0x2e6813(0x197)],this[_0x2e6813(0x1d6)],this[_0x2e6813(0x175)],this[_0x2e6813(0x15c)]);}*[_0x4744ad(0x15b)](_0x427a01,_0x2d2680){const _0x57678c=_0x4744ad,_0x11318f=_0x427a01,_0x2cef57=new Set();for(;_0x11318f[_0x57678c(0x1a3)]>0x0;){const _0x1a9ebc=_0x11318f['pop']();if(_0x2cef57[_0x57678c(0x1f6)](),_0x1a9ebc===void 0x0||_0x1a9ebc[_0x57678c(0x1ab)]())continue;if(_0x1a9ebc['isAdded']()){yield _0x1a9ebc,_0x1a9ebc[_0x57678c(0x171)](),_0x2d2680[_0x57678c(0x17a)](_0x1a9ebc['treeId']);continue;}const _0x10fddf=this[_0x57678c(0x1f5)][_0x57678c(0x1f8)](_0x1a9ebc[_0x57678c(0x1ff)](),_0x2d2680),_0x223705=this[_0x57678c(0x188)][_0x57678c(0x1e6)](_0x1a9ebc[_0x57678c(0x1ff)](),_0x2d2680);for(const _0x8bb479 of _0x223705)_0x10fddf[_0x57678c(0x17a)](_0x8bb479);for(const _0x2196c8 of _0x10fddf){const _0x5ee4e0=this[_0x57678c(0x1d0)]['get'](_0x2196c8);if(!_0x5ee4e0)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5ee4e0[_0x57678c(0x156)]()||_0x1a9ebc[_0x57678c(0x1ab)]()||_0x2cef57[_0x57678c(0x17a)](_0x5ee4e0);}if(_0x10fddf['clear'](),_0x2cef57[_0x57678c(0x1da)]===0x0)yield _0x1a9ebc,_0x1a9ebc['setSkip'](),_0x2d2680['add'](_0x1a9ebc['treeId']);else{_0x1a9ebc[_0x57678c(0x1a0)](),_0x11318f[_0x57678c(0x1e8)](_0x1a9ebc);for(const _0x2e67be of _0x2cef57)_0x11318f[_0x57678c(0x1e8)](_0x2e67be);}}_0x11318f[_0x57678c(0x1a3)]=0x0,_0x2cef57[_0x57678c(0x1f6)]();}[_0x4744ad(0x1e2)](_0x2f6ee5){const _0x564ab6=_0x4744ad,_0x168cce=[],_0x265154=new Set();for(const _0x14b138 of this[_0x564ab6(0x15b)](_0x2f6ee5,_0x265154))_0x168cce[_0x564ab6(0x1e8)](_0x14b138);return _0x168cce;}}function _0xc20b(){const _0x27757a=['resolve','setCurrent','getNewFormulaWithPrefix','getValue','treeBuilder','getUnitData','_initializeWithOverride','_removeAllTreeMap','_dependencyManagerService','clear','\x22\x20is\x20duplicated.','searchDependency','setTotalFormulasToCalculate','columnCount','featureDirtyRanges','COLON','hasOtherFormulaDataMainData','error','toRTreeItem','_xlfn.','closeKdTree','string','rowCount','_getFeatureFormulaTree','_getFirstCellOfRange','node','_otherFormulaDataMainData','rangeList','getChildren','getClearDependencyTreeCache','dependencySheetName','isAdded','63ZCMbop','getOtherFormulaDependency','removeFeatureFormulaDependency','forEach','_traverse','_currentConfigService','setFormulaExecuteStage','setTotalArrayFormulasToCalculate','return\x20','6841688BvferI','_getUpdateTreeListAndMakeDependency','setRuntimeFeatureCellData','_definedNameMap','generate','clearOtherFormulaDependency','_interpreter','endColumn','markedAsNoFunctionsExecuted','_checkIsCycleDependency','delete','refOffsetY','intervalCount','_executionInProgressListener$','1584877GxyrDv','setRuntimeData','executeAsync','setSkip','_restDependencyTreeId','reset','MINUS','_astTreeBuilder','removeFormulaDependencyByDefinedName','get','1452036QXUxzO','subUnitId','add','message','isExcludeRange','START_CALCULATION_ARRAY_FORMULA','isDirty','defineProperty','PLUS','keys','addFeatureFormulaDependency','valid','getDirtyNameMap','getRuntimeState','_config','treeId','_dependencyRTreeCacheForAddressFunction','has','forValue','next','getFormulaData','FEATURE_FORMULA','getAllRuntimeData','_xlpm.','addOtherFormulaDependencyMainData','460368ZJPDux','clearArrayObjectCache','notExecuteFormula','getDirtyRanges','_formulaDependencyGenerator','_injector','formula','isForceCalculate','CURRENTLY_CALCULATING','realDeleteValue','_removeDependencyRTreeCache','_initLicenseValid','_clearFunctionString','getFormulaDependency','min','setAdded','_dependencyRTreeCache','_registerFormulas','length','Lambda\x20parameter\x20name\x20\x22','_generateTreeList','_runtimeService','startRow','_handleNewFunctionChild','dispose','_isCyclicUtilMap','isSkip','_checkAddBracketForMinus','unitId','clearFormulaDependency','slice','getConfig','_lambdaFunctionParameterSet','resetCalculationState','_updateRangeFlatten','removeFormulaDependency','_getTreeById','setRuntimeOtherData','_featureFormulaData','OTHER_FORMULA','removeOtherFormulaDependency','openKdTree','VALUE','_removeDependencyRTreeCacheById','setRuntimeFeatureRange','getDirtyData','_registerOtherFormulas','START_DEPENDENCY','markedAsStopFunctionsExecuted','type','_configService','featureId','pop','setValue','addFormulaDependencyByDefinedName','34722891BkBHam','bulkRemove','_generateNewFunctionString','endRow','getToken','clearFeatureFormulaDependency','_hasNewExcelFunction','_apply','_dependencyTreeCache','4664559lDPAgh','_formulaData','_allTreeMap','refTree','_otherFormulaData','_lexer','refOffsetX','isCache','dirtyRanges','size','startColumn','setCompletedArrayFormulasCount','15lDnawj','_createFDtree','addOtherFormulaDependency','START_CALCULATION','_convertDirtyRangesToUnitRange','_calculateRunList','getFeatureFormulaDependency','2249718YJAlyl','IDLE','bulkSearch','formulaId','push','setCompletedFormulasCount','set','addFormulaDependency','_addAllTreeMap'];_0xc20b=function(){return _0x27757a;};return _0xc20b();}class je extends _0x242423{constructor(){const _0x3f3f89=_0x4744ad;super(...arguments),j(this,'_hasNewExcelFunction',!0x1),j(this,_0x3f3f89(0x1b1),new Set());}[_0x4744ad(0x1ef)](_0xf1f514,_0x18b485){const _0x318b83=_0x4744ad,_0x3491f3=this[_0x318b83(0x1f1)](_0xf1f514,!0x1);if(!_0x3491f3||_0x3491f3===_0x1433d0[_0x318b83(0x1bb)]||Array['isArray'](_0x3491f3))return null;const _0x234b24=[];return this[_0x318b83(0x1ce)]=!0x1,this['_generateNewFunctionString'](_0x3491f3,_0x234b24,_0x18b485),this['_hasNewExcelFunction']?'='+_0x234b24['join'](''):null;}['_generateNewFunctionString'](_0x2c54fb,_0x45f9d0,_0x378a9b){const _0x463f0f=_0x4744ad,_0x3eb362=_0x2c54fb[_0x463f0f(0x1cc)](),_0x4e06c1=_0x3eb362['trim'](),_0x12ffe4=_0x4e06c1['toUpperCase'](),_0x561120=this[_0x463f0f(0x19d)](_0x12ffe4),_0x46f2df=_0x378a9b(_0x561120);let _0x3eb715=0x0;_0x3eb362===_0x26a0bc?_0x3eb715=0x3:_0x3eb362===_0x4cab01?_0x3eb715=0x4:_0x3eb362===_0x4a9c57?_0x3eb715=0x5:_0x217369[_0x463f0f(0x189)](_0x561120)?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0):_0x12ffe4===_0x5cc0c0?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0,_0x3eb715=0x2):_0x12ffe4===_0x586751?(_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x200)+_0x4e06c1),this[_0x463f0f(0x1ce)]=!0x0,_0x3eb715=0x1):_0x12ffe4===_0xbc6c48[_0x463f0f(0x1fc)]?_0x3eb715=0x8:_0x9980be[_0x463f0f(0x189)](_0x12ffe4)?_0x3eb715=0x7:_0x12ffe4===_0x3faa38[_0x463f0f(0x174)]?(this[_0x463f0f(0x1ac)](_0x2c54fb)&&(_0x3eb715=0x9),_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362)):(_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),_0x3eb715=0xa),_0x46f2df?(_0x3eb715!==0x2&&_0x3eb715!==0x1&&(_0x3eb715=0x6),_0x45f9d0[_0x463f0f(0x1e8)]('(')):_0x3eb715===0x9&&_0x45f9d0['push']('(');const _0x5d56b9=_0x2c54fb['getChildren'](),_0x3e7f39=_0x5d56b9['length'];if(_0x3eb715===0x2){const _0x30fadc=_0x5d56b9[0x0];let _0x1371a8=0x0;_0x30fadc instanceof _0x2fd889&&_0x30fadc[_0x463f0f(0x1cc)]()===_0x4a9c57&&(_0x1371a8=0x1);for(let _0x2ededb=_0x1371a8;_0x2ededb<_0x3e7f39-0x1;_0x2ededb++){const _0x33eee1=_0x5d56b9[_0x2ededb];if(_0x33eee1 instanceof _0x2fd889){const _0x39cc6d=_0x33eee1[_0x463f0f(0x209)]()[0x0];typeof _0x39cc6d==_0x463f0f(0x202)&&(this[_0x463f0f(0x1b1)][_0x463f0f(0x189)](_0x39cc6d)&&console[_0x463f0f(0x1fe)](_0x463f0f(0x1a4)+_0x39cc6d+_0x463f0f(0x1f7)),this[_0x463f0f(0x1b1)]['add'](_0x39cc6d),_0x45f9d0[_0x463f0f(0x1e8)](_0x463f0f(0x18f)+_0x39cc6d),this[_0x463f0f(0x1ce)]=!0x0);}_0x45f9d0['push'](',');}this[_0x463f0f(0x1a8)](_0x5d56b9[_0x3e7f39-0x1],_0x45f9d0,_0x378a9b),_0x1371a8===0x1&&(_0x45f9d0[_0x463f0f(0x1e8)](')'),_0x45f9d0[_0x463f0f(0x1e8)]('('),this[_0x463f0f(0x1ca)](_0x30fadc,_0x45f9d0,_0x378a9b)),_0x45f9d0['push'](')');return;}else{if(_0x3eb715===0x1){for(let _0x2701f3=0x0;_0x2701f3<_0x3e7f39-0x1;_0x2701f3++){const _0x3df9e3=_0x5d56b9[_0x2701f3];if(_0x3df9e3 instanceof _0x2fd889&&_0x2701f3%0x2===0x0){const _0x32fdc1=_0x3df9e3['getChildren']()[0x0];if(typeof _0x32fdc1==_0x463f0f(0x202)){this[_0x463f0f(0x1b1)]['has'](_0x32fdc1)&&console[_0x463f0f(0x1fe)]('Let\x20variable\x20name\x20\x22'+_0x32fdc1+_0x463f0f(0x1f7)),this[_0x463f0f(0x1b1)]['add'](_0x32fdc1),_0x45f9d0['push'](_0x463f0f(0x18f)+_0x32fdc1),this[_0x463f0f(0x1ce)]=!0x0,_0x45f9d0[_0x463f0f(0x1e8)](',');continue;}}if(this[_0x463f0f(0x1a8)](_0x3df9e3,_0x45f9d0,_0x378a9b),_0x3df9e3 instanceof _0x2fd889){const _0x2b42cb=_0x5d56b9[_0x2701f3+0x1];_0x2b42cb&&_0x2b42cb instanceof _0x2fd889&&_0x45f9d0['push'](',');}}this[_0x463f0f(0x1a8)](_0x5d56b9[_0x3e7f39-0x1],_0x45f9d0,_0x378a9b),_0x45f9d0[_0x463f0f(0x1e8)](')');return;}else{if(_0x3eb715===0x8){const _0x39e35a=_0x5d56b9[0x0],_0x3d0eff=_0x5d56b9[0x1];this[_0x463f0f(0x1a8)](_0x39e35a,_0x45f9d0,_0x378a9b),_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),this[_0x463f0f(0x1a8)](_0x3d0eff,_0x45f9d0,_0x378a9b);return;}}}for(let _0x4e3430=0x0;_0x4e3430<_0x3e7f39;_0x4e3430++){const _0x4483b2=_0x5d56b9[_0x4e3430];if(this[_0x463f0f(0x1a8)](_0x4483b2,_0x45f9d0,_0x378a9b),_0x4483b2 instanceof _0x2fd889){const _0x3467bc=_0x5d56b9[_0x4e3430+0x1];_0x3467bc&&_0x3467bc instanceof _0x2fd889&&_0x45f9d0[_0x463f0f(0x1e8)](',');}}_0x3eb715===0x7&&_0x45f9d0[_0x463f0f(0x1e8)](_0x3eb362),(_0x46f2df||_0x3eb715===0x9)&&_0x45f9d0[_0x463f0f(0x1e8)](')');}[_0x4744ad(0x1a8)](_0x128794,_0x4718ff,_0x13e0c4){const _0x4e2bf8=_0x4744ad;_0x128794 instanceof _0x2fd889?this[_0x4e2bf8(0x1ca)](_0x128794,_0x4718ff,_0x13e0c4):this[_0x4e2bf8(0x1b1)]['has'](_0x128794)?(_0x4718ff[_0x4e2bf8(0x1e8)]('_xlpm.'+_0x128794),this[_0x4e2bf8(0x1ce)]=!0x0):_0x4718ff[_0x4e2bf8(0x1e8)](_0x128794);}[_0x4744ad(0x19d)](_0x3c0434){const _0x1cb2e1=_0x4744ad;let _0x18e0fb=_0x3c0434['trim']();if(!_0x18e0fb)return _0x18e0fb;const _0x11abc9=_0x18e0fb[0x0];if((_0x11abc9===_0x3faa38['AT']||_0x11abc9===_0x3faa38[_0x1cb2e1(0x174)]||_0x11abc9===_0x3faa38[_0x1cb2e1(0x180)])&&(_0x18e0fb=_0x18e0fb[_0x1cb2e1(0x1af)](0x1)),!_0x18e0fb)return _0x18e0fb;const _0x46aaf7=_0x18e0fb[_0x18e0fb[_0x1cb2e1(0x1a3)]-0x1];return _0x9980be[_0x1cb2e1(0x189)](_0x46aaf7)&&(_0x18e0fb=_0x18e0fb[_0x1cb2e1(0x1af)](0x0,-0x1)),_0x18e0fb;}['_checkAddBracketForMinus'](_0x286574){const _0x452a40=_0x4744ad,_0x3094aa=_0x286574['getChildren']()[0x0];if(!_0x3094aa||!(_0x3094aa instanceof _0x2fd889)||_0x286574[_0x452a40(0x209)]()[_0x452a40(0x1a3)]>0x1)return!0x1;const _0x3e0fc7=_0x3094aa[_0x452a40(0x209)](),_0x3fae26=_0x3e0fc7[_0x452a40(0x1a3)];if(_0x3fae26===0x1)return!0x1;for(let _0x5fcd6c=0x0;_0x5fcd6c<_0x3fae26;_0x5fcd6c++){const _0x180d58=_0x3e0fc7[_0x5fcd6c];if(!(_0x180d58 instanceof _0x2fd889)&&_0x4ac640[_0x452a40(0x189)](_0x180d58))return!0x0;}return!0x1;}}class ve extends _0x11bc9d{async[_0x4744ad(0x1cf)](_0x576413=!0x1){const _0x45e21b=_0x4744ad;_0x576413?this['_runtimeService'][_0x45e21b(0x15d)](_0x45f46d['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x1c0)]),this[_0x45e21b(0x16d)][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)]['getRuntimeState']());const _0x3c4ac3=await this[_0x45e21b(0x195)][_0x45e21b(0x164)](),_0x38e826=this[_0x45e21b(0x166)];_0x576413?(this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x17d)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x15e)](_0x3c4ac3[_0x45e21b(0x1a3)])):(this[_0x45e21b(0x1a6)]['setFormulaExecuteStage'](_0x45f46d[_0x45e21b(0x1e0)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x1f9)](_0x3c4ac3[_0x45e21b(0x1a3)])),this[_0x45e21b(0x16d)][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)]['getRuntimeState']());let _0x225946=[];const _0x4e2b42=this[_0x45e21b(0x1c3)][_0x45e21b(0x1b0)](_0x3103a2),_0x447d6e=(_0x4e2b42==null?void 0x0:_0x4e2b42[_0x45e21b(0x16c)])||_0x4ae180;let _0x5cea81=0x0;const _0x50d4e9=_0x3c4ac3[_0x45e21b(0x1a3)];for(;_0x3c4ac3[_0x45e21b(0x1a3)]>0x0;){const _0x9a52cc=_0x3c4ac3[_0x45e21b(0x1c5)](),_0x5e5d2d=_0x233825(_0x9a52cc[_0x45e21b(0x1ad)],_0x9a52cc[_0x45e21b(0x197)],this[_0x45e21b(0x1d6)],this[_0x45e21b(0x175)],this[_0x45e21b(0x15c)]),_0x2fcf2f={'node':_0x5e5d2d,'refOffsetX':_0x9a52cc[_0x45e21b(0x1d7)],'refOffsetY':_0x9a52cc[_0x45e21b(0x16b)]},_0x14b5fe=_0x9a52cc[_0x45e21b(0x1be)];if(_0x5cea81%_0x447d6e===0x0&&(await new Promise(_0x3ab093=>{const _0x2aa174=_0x45e21b,_0x2e89a9=_0x2b1edc(_0x3ab093);_0x225946[_0x2aa174(0x1e8)](_0x2e89a9);}),_0x576413?(this[_0x45e21b(0x1a6)]['setFormulaExecuteStage'](_0x45f46d['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x45e21b(0x1a6)][_0x45e21b(0x1dc)](_0x5cea81+0x1)):(this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x199)]),this[_0x45e21b(0x1a6)][_0x45e21b(0x1e9)](_0x5cea81+0x1)),this['_executionInProgressListener$'][_0x45e21b(0x18b)](this[_0x45e21b(0x1a6)][_0x45e21b(0x185)]()),this[_0x45e21b(0x1a6)]['isStopExecution']()||_0x2fcf2f==null&&_0x14b5fe==null)){this[_0x45e21b(0x1a6)][_0x45e21b(0x15d)](_0x45f46d[_0x45e21b(0x1e5)]),this['_runtimeService'][_0x45e21b(0x1c1)](),this['_executionCompleteListener$'][_0x45e21b(0x18b)](this['_runtimeService'][_0x45e21b(0x18e)]());return;}this[_0x45e21b(0x1a6)][_0x45e21b(0x1ee)](_0x9a52cc['row'],_0x9a52cc['column'],_0x9a52cc[_0x45e21b(0x203)],_0x9a52cc[_0x45e21b(0x1fa)],_0x9a52cc['subUnitId'],_0x9a52cc[_0x45e21b(0x1ad)]);let _0x1de3bc;if(_0x14b5fe!=null&&_0x9a52cc[_0x45e21b(0x1c4)]!=null){const {runtimeCellData:_0x12d568,dirtyRanges:_0x412d70}=_0x14b5fe(this['_currentConfigService'][_0x45e21b(0x1be)](),this['_runtimeService']['getAllRuntimeData']());this[_0x45e21b(0x1a6)][_0x45e21b(0x162)](_0x9a52cc[_0x45e21b(0x1c4)],_0x12d568),this[_0x45e21b(0x1a6)][_0x45e21b(0x1bd)](_0x9a52cc[_0x45e21b(0x1c4)],_0x412d70);}else _0x2fcf2f!=null&&(_0x38e826['checkAsyncNode'](_0x2fcf2f[_0x45e21b(0x206)])?_0x1de3bc=await _0x38e826[_0x45e21b(0x170)](_0x2fcf2f):_0x1de3bc=_0x38e826['execute'](_0x2fcf2f),_0x9a52cc[_0x45e21b(0x1e7)]!=null?this[_0x45e21b(0x1a6)][_0x45e21b(0x1b6)](_0x9a52cc[_0x45e21b(0x1e7)],_0x9a52cc[_0x45e21b(0x1d7)],_0x9a52cc[_0x45e21b(0x16b)],_0x1de3bc):this['_runtimeService'][_0x45e21b(0x16f)](_0x1de3bc));_0x5e5d2d[_0x45e21b(0x1b2)](),_0x5cea81++;}return _0x225946['forEach'](_0x228d27=>_0x228d27()),_0x225946=[],_0x50d4e9>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x576413||this[_0x45e21b(0x1a6)][_0x45e21b(0x168)](),this[_0x45e21b(0x1a6)]['getAllRuntimeData']();}}class Ne extends _0x56c72f{constructor(){const _0x36ae4b=_0x4744ad;super(...arguments),j(this,_0x36ae4b(0x1d3),new Map()),j(this,'_dependencyRTreeCache',new _0x3b3d81(!0x0));}[_0x4744ad(0x173)](){const _0x1c1c9b=_0x4744ad;this[_0x1c1c9b(0x1d5)]['clear'](),this[_0x1c1c9b(0x1b7)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1d2)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1a1)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x1d3)][_0x1c1c9b(0x1f6)](),this[_0x1c1c9b(0x172)](),this[_0x1c1c9b(0x207)]['clear']();}[_0x4744ad(0x1df)](_0x300a42,_0x398bb1,_0x414cd6,_0x3dcc7d){const _0x3a8b58=_0x4744ad;this['_otherFormulaData']['has'](_0x300a42)||this[_0x3a8b58(0x1d5)][_0x3a8b58(0x1ea)](_0x300a42,new Map());const _0x105b46=this[_0x3a8b58(0x1d5)][_0x3a8b58(0x177)](_0x300a42);_0x105b46[_0x3a8b58(0x189)](_0x398bb1)||_0x105b46['set'](_0x398bb1,new Map());const _0x5690bd=_0x105b46['get'](_0x398bb1);_0x5690bd[_0x3a8b58(0x189)](_0x414cd6)||_0x5690bd[_0x3a8b58(0x1ea)](_0x414cd6,new _0x221da8()),_0x5690bd[_0x3a8b58(0x177)](_0x414cd6)[_0x3a8b58(0x1c6)](_0x3dcc7d[_0x3a8b58(0x1d7)],_0x3dcc7d[_0x3a8b58(0x16b)],_0x3dcc7d['treeId']);}[_0x4744ad(0x1b9)](_0x154c60,_0x35dc98,_0x3d23a7){const _0x15e980=_0x4744ad,_0x4c516b=this['_otherFormulaData'][_0x15e980(0x177)](_0x154c60);if(_0x4c516b&&_0x4c516b[_0x15e980(0x189)](_0x35dc98)){const _0x963f9=_0x4c516b[_0x15e980(0x177)](_0x35dc98);_0x3d23a7['forEach'](_0x131ecc=>{const _0x4f2e00=_0x15e980,_0x539c63=_0x963f9[_0x4f2e00(0x177)](_0x131ecc);_0x539c63!=null&&(_0x539c63[_0x4f2e00(0x18a)]((_0x37a198,_0x2e94dd,_0x74a19e)=>{const _0x8cd8c4=_0x4f2e00;this[_0x8cd8c4(0x19b)](_0x74a19e),this[_0x8cd8c4(0x1f4)](_0x74a19e);}),_0x963f9['delete'](_0x131ecc),this[_0x4f2e00(0x207)]['delete'](_0x131ecc));}),_0x963f9['size']===0x0&&_0x4c516b[_0x15e980(0x16a)](_0x35dc98),_0x4c516b['size']===0x0&&this['_otherFormulaData'][_0x15e980(0x16a)](_0x154c60);}}[_0x4744ad(0x165)](_0x26315a,_0x562de3){const _0x4abe1d=_0x4744ad,_0x69cc38=this[_0x4abe1d(0x1d5)]['get'](_0x26315a);if(_0x562de3&&_0x69cc38&&_0x69cc38['has'](_0x562de3)){const _0x2483ee=_0x69cc38['get'](_0x562de3);this[_0x4abe1d(0x1bc)](_0x26315a,_0x562de3);for(const _0x3c6e9c of _0x2483ee[_0x4abe1d(0x181)]()){const _0xb0b677=_0x2483ee[_0x4abe1d(0x177)](_0x3c6e9c);_0xb0b677!=null&&(_0xb0b677['forValue']((_0x1ac79e,_0x3c6534,_0x114ba3)=>{const _0x21214b=_0x4abe1d;this['_allTreeMap'][_0x21214b(0x177)](_0x114ba3)&&this[_0x21214b(0x1f4)](_0x114ba3);}),this[_0x4abe1d(0x207)]['delete'](_0x3c6e9c));}_0x2483ee['clear']();}else{if(_0x69cc38){for(const _0x5ca486 of _0x69cc38[_0x4abe1d(0x181)]()){const _0x5d37c1=_0x69cc38['get'](_0x5ca486);this[_0x4abe1d(0x1bc)](_0x26315a,_0x5ca486);for(const _0x43702d of _0x5d37c1[_0x4abe1d(0x181)]()){const _0x169ac5=_0x5d37c1['get'](_0x43702d);_0x169ac5!=null&&(_0x169ac5['forValue']((_0x2a2301,_0x4f57d2,_0x4ceee7)=>{const _0x14cbfc=_0x4abe1d;this[_0x14cbfc(0x1d3)][_0x14cbfc(0x177)](_0x4ceee7)&&this[_0x14cbfc(0x1f4)](_0x4ceee7);}),this['_otherFormulaDataMainData']['delete'](_0x43702d));}}this[_0x4abe1d(0x1d5)][_0x4abe1d(0x16a)](_0x26315a);}}}['addFeatureFormulaDependency'](_0x307a00,_0x512a5b,_0x30a44d,_0x2d911f){const _0x3290aa=_0x4744ad;this[_0x3290aa(0x1b7)][_0x3290aa(0x189)](_0x307a00)||this[_0x3290aa(0x1b7)][_0x3290aa(0x1ea)](_0x307a00,new Map());const _0x4cc442=this[_0x3290aa(0x1b7)][_0x3290aa(0x177)](_0x307a00);_0x4cc442['has'](_0x512a5b)||_0x4cc442[_0x3290aa(0x1ea)](_0x512a5b,new Map()),_0x4cc442[_0x3290aa(0x177)](_0x512a5b)[_0x3290aa(0x1ea)](_0x30a44d,_0x2d911f[_0x3290aa(0x187)]);}[_0x4744ad(0x159)](_0x50a8e7,_0x343d52,_0x5d0655){const _0x2a1ed4=_0x4744ad,_0x525ac3=this['_featureFormulaData'][_0x2a1ed4(0x177)](_0x50a8e7);if(_0x525ac3&&_0x525ac3[_0x2a1ed4(0x189)](_0x343d52)){const _0x5da1a7=_0x525ac3[_0x2a1ed4(0x177)](_0x343d52);_0x5d0655[_0x2a1ed4(0x15a)](_0x170868=>{const _0x450fa3=_0x2a1ed4,_0x5a649b=_0x5da1a7[_0x450fa3(0x177)](_0x170868);_0x5a649b!=null&&(this['_removeDependencyRTreeCache'](_0x5a649b),_0x5da1a7[_0x450fa3(0x16a)](_0x170868),this[_0x450fa3(0x1f4)](_0x5a649b));});}}[_0x4744ad(0x1cd)](_0x26bba0,_0x46cff3){const _0x2dc906=_0x4744ad,_0x3fec27=this[_0x2dc906(0x1b7)][_0x2dc906(0x177)](_0x26bba0);if(_0x46cff3&&_0x3fec27&&_0x3fec27[_0x2dc906(0x189)](_0x46cff3)){const _0xd6842e=_0x3fec27[_0x2dc906(0x177)](_0x46cff3);this[_0x2dc906(0x1bc)](_0x26bba0,_0x46cff3),_0xd6842e[_0x2dc906(0x15a)](_0x5271e7=>{_0x5271e7!=null&&this['_removeAllTreeMap'](_0x5271e7);}),_0xd6842e[_0x2dc906(0x1f6)]();}else _0x3fec27&&(_0x3fec27[_0x2dc906(0x15a)]((_0x5ea8e9,_0xbdaec6)=>{const _0x23a47d=_0x2dc906;this['_removeDependencyRTreeCacheById'](_0x26bba0,_0xbdaec6),_0x5ea8e9[_0x23a47d(0x15a)](_0x46070a=>{const _0x17d385=_0x23a47d;_0x46070a!=null&&this[_0x17d385(0x1f4)](_0x46070a);});}),this['_featureFormulaData']['delete'](_0x26bba0));}[_0x4744ad(0x1eb)](_0x3b74a9,_0x53e60f,_0x3324a8,_0x2d8dcc,_0x5e54f1){const _0x31b058=_0x4744ad;this[_0x31b058(0x1d2)]['has'](_0x3b74a9)||this['_formulaData'][_0x31b058(0x1ea)](_0x3b74a9,new Map());const _0x513001=this['_formulaData'][_0x31b058(0x177)](_0x3b74a9);_0x513001[_0x31b058(0x189)](_0x53e60f)||_0x513001[_0x31b058(0x1ea)](_0x53e60f,new _0x221da8()),_0x513001[_0x31b058(0x177)](_0x53e60f)[_0x31b058(0x1c6)](_0x3324a8,_0x2d8dcc,_0x5e54f1['treeId']);}[_0x4744ad(0x1b4)](_0x40da5f,_0x20ffd1,_0x3dd7c5,_0x1b7224){const _0x33ec50=_0x4744ad,_0x1d5741=this[_0x33ec50(0x1d2)][_0x33ec50(0x177)](_0x40da5f);if(_0x1d5741&&_0x1d5741['has'](_0x20ffd1)){const _0x391889=_0x1d5741[_0x33ec50(0x177)](_0x20ffd1),_0x13d9d5=_0x391889[_0x33ec50(0x1f0)](_0x3dd7c5,_0x1b7224);if(_0x13d9d5==null)return;this['_removeDependencyRTreeCache'](_0x13d9d5),_0x391889[_0x33ec50(0x19a)](_0x3dd7c5,_0x1b7224),this['_removeAllTreeMap'](_0x13d9d5);}}['clearFormulaDependency'](_0xcbace7,_0x1e2252){const _0x76bc15=_0x4744ad,_0x786829=this[_0x76bc15(0x1d2)][_0x76bc15(0x177)](_0xcbace7);if(_0x1e2252&&_0x786829&&_0x786829['has'](_0x1e2252)){const _0x4559f2=_0x786829['get'](_0x1e2252);this[_0x76bc15(0x1bc)](_0xcbace7,_0x1e2252),_0x4559f2[_0x76bc15(0x18a)]((_0xcf3366,_0x30169d,_0x1cb543)=>{const _0x4b0966=_0x76bc15;if(_0x1cb543==null)return!0x0;this[_0x4b0966(0x1f4)](_0x1cb543);}),_0x4559f2[_0x76bc15(0x173)]();}else _0x786829&&(_0x786829[_0x76bc15(0x15a)]((_0x4466fa,_0x55d96b)=>{const _0x4a7377=_0x76bc15;this[_0x4a7377(0x1bc)](_0xcbace7,_0x55d96b),_0x4466fa['forValue']((_0x43a7a9,_0x203464,_0x39e0e7)=>{const _0x23662e=_0x4a7377;if(_0x39e0e7==null)return!0x0;this[_0x23662e(0x1f4)](_0x39e0e7);});}),this[_0x76bc15(0x1d2)]['delete'](_0xcbace7));}[_0x4744ad(0x19b)](_0x54a345){const _0x1122ce=_0x4744ad;if(_0x54a345==null)return;const _0x54571a=this['_allTreeMap'][_0x1122ce(0x177)](_0x54a345);if(_0x54571a){const _0x31ef48=[];for(const [_0x6c8b68,_0x3ad345]of _0x54571a)for(const [_0x43316f,_0x18af7d]of _0x3ad345)_0x31ef48['push']({'unitId':_0x6c8b68,'sheetId':_0x43316f,'range':_0x18af7d,'id':_0x54a345});this['_dependencyRTreeCache'][_0x1122ce(0x1c9)](_0x31ef48);}}[_0x4744ad(0x176)](_0x30b3cb,_0x14e6c7){const _0x6361de=_0x4744ad,_0x307658=this[_0x6361de(0x163)]['get'](_0x30b3cb);if(_0x307658){const _0x4554dd=_0x307658[_0x6361de(0x177)](_0x14e6c7);if(_0x4554dd){for(const _0x82f23f of _0x4554dd)this['_removeDependencyRTreeCache'](_0x82f23f),this[_0x6361de(0x1f4)](_0x82f23f);_0x4554dd[_0x6361de(0x1f6)]();}}}['openKdTree'](){const _0x2e6db9=_0x4744ad;this[_0x2e6db9(0x1a1)][_0x2e6db9(0x1ba)]();}[_0x4744ad(0x201)](){const _0x3166b0=_0x4744ad;this[_0x3166b0(0x1a1)][_0x3166b0(0x201)]();}[_0x4744ad(0x1f4)](_0x93a363){const _0xae21d5=_0x4744ad;_0x93a363!=null&&this[_0xae21d5(0x1d3)][_0xae21d5(0x16a)](_0x93a363);}[_0x4744ad(0x1ec)](_0x4918b5){const _0x29ec91=_0x4744ad;var _0x499000,_0x1bffa0;const _0x64bc24=_0x4918b5[_0x29ec91(0x208)];let _0x3fa775=this['_allTreeMap']['get'](_0x4918b5[_0x29ec91(0x187)]);for(let _0x495e47=0x0;_0x495e47<_0x64bc24[_0x29ec91(0x1a3)];_0x495e47++){const _0x571582=_0x64bc24[_0x495e47];let {unitId:_0x6a9f9d,sheetId:_0x427c9b,range:_0x9e1cad}=_0x571582;_0x3fa775||(_0x3fa775=new Map(),this['_allTreeMap'][_0x29ec91(0x1ea)](_0x4918b5['treeId'],_0x3fa775)),_0x3fa775[_0x29ec91(0x189)](_0x6a9f9d)||_0x3fa775[_0x29ec91(0x1ea)](_0x6a9f9d,new Map());const _0x4cd12e=(_0x499000=_0x3fa775==null?void 0x0:_0x3fa775[_0x29ec91(0x177)](_0x6a9f9d))==null?void 0x0:_0x499000[_0x29ec91(0x177)](_0x427c9b);_0x4cd12e&&(_0x9e1cad={'startRow':Math[_0x29ec91(0x19f)](_0x9e1cad[_0x29ec91(0x1a7)],_0x4cd12e['startRow']),'startColumn':Math[_0x29ec91(0x19f)](_0x9e1cad[_0x29ec91(0x1db)],_0x4cd12e[_0x29ec91(0x1db)]),'endRow':Math['max'](_0x9e1cad[_0x29ec91(0x1cb)],_0x4cd12e[_0x29ec91(0x1cb)]),'endColumn':Math['max'](_0x9e1cad[_0x29ec91(0x167)],_0x4cd12e[_0x29ec91(0x167)])}),(_0x1bffa0=_0x3fa775[_0x29ec91(0x177)](_0x6a9f9d))==null||_0x1bffa0[_0x29ec91(0x1ea)](_0x427c9b,_0x9e1cad);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x28e4f3,_0xe68433,_0x548c,_0x1bf645)=>{for(var _0x19ec50=_0x1bf645>0x1?void 0x0:_0x1bf645?Me(_0xe68433,_0x548c):_0xe68433,_0x33c1e0=_0x28e4f3['length']-0x1,_0x596a76;_0x33c1e0>=0x0;_0x33c1e0--)(_0x596a76=_0x28e4f3[_0x33c1e0])&&(_0x19ec50=_0x596a76(_0x19ec50)||_0x19ec50);return _0x19ec50;};const Be=Number['parseInt'](0x69216394);let P=class extends _0x59cb2f{[_0x4744ad(0x1f3)](){const _0x5bc2b1=_0x4744ad;var _0x39973c,_0x54b318;this[_0x5bc2b1(0x19c)]()?(this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)]([_0x242423,{'useClass':je}]),(_0x39973c=this[_0x5bc2b1(0x186)])!=null&&_0x39973c[_0x5bc2b1(0x193)]||[[_0x208c10,{'useClass':ve}],[_0x5a02c4,{'useClass':Ne}],[_0x42fc7b,{'useClass':be}]][_0x5bc2b1(0x15a)](_0x3d5cae=>this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)](_0x3d5cae))):(this[_0x5bc2b1(0x196)][_0x5bc2b1(0x17a)]([_0x242423,{'useClass':_0x242423}]),(_0x54b318=this[_0x5bc2b1(0x186)])!=null&&_0x54b318['notExecuteFormula']||[[_0x208c10,{'useClass':_0x11bc9d}],[_0x5a02c4,{'useClass':_0x2df86a}],[_0x42fc7b,{'useClass':_0x1df8c4}]][_0x5bc2b1(0x15a)](_0x44ae15=>this[_0x5bc2b1(0x196)]['add'](_0x44ae15)));}[_0x4744ad(0x19c)](){const _0x1a3aa1=_0x4744ad;var _0x43fd97;const _0x17fd01=(_0x43fd97=this['_configService'][_0x1a3aa1(0x1b0)](_0x3c6c79))!=null?_0x43fd97:{},{ls:_0x4aa114,pbk:_0x36de72}=_0x17fd01;if(!_0x4aa114||!_0x36de72)return!0x1;const _0x4a154f=_0x11cd8f(Ce,Te),_0x59ea17=new Function(_0x1a3aa1(0x15f)+_0x4a154f)()(_0x4aa114,_0x36de72),_0x2d1739=_0x59ea17[_0x1a3aa1(0x17b)];return _0x59ea17[_0x1a3aa1(0x183)]&&_0x21237d(_0x2d1739,'sf',Be)?_0x5bceeb(_0x2d1739,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=Se([_0x199b11(_0x30a96a)],P);function _0x410e(_0x14431c,_0x2ba9b5){const _0xc20be7=_0xc20b();return _0x410e=function(_0x410ee0,_0x4432e2){_0x410ee0=_0x410ee0-0x156;let _0x57d84a=_0xc20be7[_0x410ee0];return _0x57d84a;},_0x410e(_0x14431c,_0x2ba9b5);}export{P as UniverProFormulaEnginePlugin};
1
+ const _0x4300fb=_0x5640;function _0x5640(_0x77d172,_0x729436){const _0x17a9c1=_0x17a9();return _0x5640=function(_0x564033,_0x355d88){_0x564033=_0x564033-0xcd;let _0x34ae95=_0x17a9c1[_0x564033];return _0x34ae95;},_0x5640(_0x77d172,_0x729436);}(function(_0x41564e,_0x3a4ad3){const _0x458810=_0x5640,_0x4d3248=_0x41564e();while(!![]){try{const _0x3e5a23=-parseInt(_0x458810(0x108))/0x1+parseInt(_0x458810(0x157))/0x2*(parseInt(_0x458810(0xee))/0x3)+-parseInt(_0x458810(0x165))/0x4*(parseInt(_0x458810(0x11b))/0x5)+parseInt(_0x458810(0xfc))/0x6+-parseInt(_0x458810(0x11c))/0x7+-parseInt(_0x458810(0x116))/0x8+parseInt(_0x458810(0x106))/0x9*(parseInt(_0x458810(0xf5))/0xa);if(_0x3e5a23===_0x3a4ad3)break;else _0x4d3248['push'](_0x4d3248['shift']());}catch(_0x30bee2){_0x4d3248['push'](_0x4d3248['shift']());}}}(_0x17a9,0xbe3bb));var q=Object[_0x4300fb(0xf7)],Z=(_0x3611b5,_0x32cecc,_0x17370d)=>_0x32cecc in _0x3611b5?q(_0x3611b5,_0x32cecc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17370d}):_0x3611b5[_0x32cecc]=_0x17370d,T=(_0x4cb13e,_0x4e5e,_0x5befea)=>Z(_0x4cb13e,typeof _0x4e5e!=_0x4300fb(0xce)?_0x4e5e+'':_0x4e5e,_0x5befea);import{UniverLicensePlugin as _0x4fcdac,LS_CONFIG_KEY as _0x1ada57,unshiftString as _0x3e0abd,isFeatureAuthorizedWithinTime as _0x3cd5c1,getSheetFeatureLimit as _0x494a70}from'@univerjs-pro/license';import{ObjectMatrix as _0x1ca750,requestImmediateMacroTask as _0x3572dc,RTree as _0x4dbad3,DependentOn as _0x463b6b}from'@univerjs/core';import{FormulaDependencyGenerator as _0x59c733,generateRandomDependencyTreeId as _0x1ce91c,FormulaDependencyTree as _0x1bad38,FormulaDependencyTreeType as _0x160341,FormulaDependencyTreeVirtual as _0x276636,generateAstNode as _0x1354b2,LexerTreeBuilder as _0xe22dbc,ErrorType as _0x4662f6,DEFAULT_TOKEN_TYPE_ROOT as _0x255cf0,DEFAULT_TOKEN_TYPE_PARAMETER as _0x220bf1,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x17212a,NEW_EXCEL_FUNCTIONS as _0x5a59f4,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x41c2cc,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x3fafb9,matchToken as _0x3fbc01,SUFFIX_TOKEN_SET as _0x5d4baa,prefixToken as _0x35d308,LexerNode as _0x1e5ada,OPERATOR_TOKEN_SET as _0x2f264c,CalculateFormulaService as _0x5d342a,FormulaExecuteStageType as _0xd376f3,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4e9f21,DEFAULT_INTERVAL_COUNT as _0x178db0,DependencyManagerBaseService as _0x2ad6bd,UniverFormulaEnginePlugin as _0x5402f8,ICalculateFormulaService as _0x2f95ad,IDependencyManagerService as _0x14e916,IFormulaDependencyGenerator as _0x594ae4,DependencyManagerService as _0x53617d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Fe={0x0:'3',0x1:'A',0x2:'y',0x3:'V',0x4:'z',0x5:'i',0x6:'w',0x7:'E',0x8:'c',0x9:'M','f':'0','d':'1','e':'2','u':'4','y':'5','r':'6','a':'7','m':'8','N':'9','A':'a','h':'b','C':'d','n':'e','L':'f','H':'g','F':'h','B':'j','g':'k','K':'l','G':'m','U':'n','v':'o','t':'p','R':'q','W':'r','V':'s','x':'t','S':'u','O':'v','z':'x','k':'B','Z':'C','w':'D','s':'F','p':'G','I':'H','J':'I','l':'J','P':'K','j':'L','X':'N','i':'O','c':'P','T':'Q','E':'R','Q':'S','q':'T','Y':'U','M':'W','b':'X','D':'Y','o':'Z'},Ae='LSU8x5vU\x20Cn8W2tx5vU(K58nUVn,\x20tShK58Pn2)\x20{\x20\x20\x20\x20xW2\x20{\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20K58nUVnJULvcAWx1WWA2\x20=\x20K58nUVn.VtK5x(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20vW5H5U9nVVAHn\x20=\x20lQiX.tAWVn(Axvh(K58nUVnJULvcAWx1WWA2[e]));\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!vW5H5U9nVVAHn.SC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vW5H5U9nVVAHn.SC\x20=\x20XSGhnW(K58nUVnJULvcAWx1WWA2[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VMvWgnW\x20=\x20x2tnvL\x20MvWgnWpKvhAKQ8vtn\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20VnKL\x205UVxAU8nvL\x20MvWgnWpKvhAKQ8vtn;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VkWv6VnW\x20=\x20x2tnvL\x2065UCv6\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20x2tnvL\x2065UCv6.Kv8Ax5vU\x20!==\x20\x27SUCnL5UnC\x27;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x208vUxnzx\x20=\x205VMvWgnW\x20?\x20VnKL\x20:\x20(5VkWv6VnW\x20?\x2065UCv6\x20:\x20HKvhAKqF5V);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[e]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(GnVVAHnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[0]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(V5HUAxSWnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HU3AK5C\x20=\x208vUxnzx.__OnW5L2__(V5HUAxSWn,\x20GnVVAHn,\x20tShK58Pn2);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20CvGA5U\x20=\x20vW5H5U9nVVAHn.CG;\x20\x20\x20\x20\x20\x20\x20\x20LSU8x5vU\x205VwvGA5U9Ax8F5UH(vcAxxnWU,\x20vIvVx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWU\x20=\x20vcAxxnWU.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVx\x20=\x20vIvVx.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUcAWxV\x20=\x20tAxxnWU.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxcAWxV\x20=\x20FvVx.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!tAxxnWU.5U8KSCnV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWU\x20===\x20FvVx;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(tAxxnWUcAWxV.KnUHxF\x20<\x20e\x20||\x20tAxxnWUcAWxV[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUQSLL5z\x20=\x20tAxxnWUcAWxV.VK58n(d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxQSLL5z\x20=\x20FvVxcAWxV.VK58n(-tAxxnWUcAWxV.KnUHxF\x20+\x20d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWUQSLL5z\x20===\x20FvVxQSLL5z;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Knx\x20CvGA5U3AK5C\x20=\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x205L\x20(5VkWv6VnW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20(CvGA5U\x20&&\x20CvGA5U.KnUHxF)\x20?\x20CvGA5U.VvGn((CGJxnG)\x20=>\x205VwvGA5U9Ax8F5UH(CGJxnG,\x20Kv8Ax5vU.FvVxUAGn))\x20:\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(Kv8Ax5vU.FvVxUAGn\x20===\x20\x27Kv8AKFvVx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20nKVn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20OAK5C\x20=\x20V5HU3AK5C\x20&&\x20CvGA5U3AK5C;\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20vW5H5U9nVVAHn,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Ax8F\x20(nWWvW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C:\x20LAKVn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class De extends _0x59c733{constructor(){const _0x2679cc=_0x4300fb;super(...arguments),T(this,_0x2679cc(0x109),new Map());}[_0x4300fb(0xe4)](){const _0x5a1dfb=_0x4300fb;super['dispose'](),this[_0x5a1dfb(0x109)][_0x5a1dfb(0x133)]();}async[_0x4300fb(0x153)](){const _0x5a8f61=_0x4300fb;this[_0x5a8f61(0x15d)]();const _0x165232=this[_0x5a8f61(0x159)]['getFormulaData'](),_0xd212=this[_0x5a8f61(0x172)][_0x5a8f61(0x10f)](),_0x32cc38=this[_0x5a8f61(0x159)][_0x5a8f61(0x10a)]();_0x32cc38!=null&&Object[_0x5a8f61(0x16a)](_0x32cc38)[_0x5a8f61(0x11a)](_0x10412b=>{const _0x309b88=_0x5a8f61;_0x10412b!=null&&Object[_0x309b88(0x16a)](_0x32cc38[_0x10412b])[_0x309b88(0x11a)](_0x176803=>{const _0x2c0e26=_0x309b88;_0x176803!=null&&(this['_dependencyManagerService'][_0x2c0e26(0x14e)](_0x10412b,_0x176803),this[_0x2c0e26(0x138)][_0x2c0e26(0x10d)](_0x10412b,_0x176803),this['_dependencyManagerService'][_0x2c0e26(0x181)](_0x10412b,_0x176803));});});const _0x290b03=this['_currentConfigService'][_0x5a8f61(0x130)]();await this[_0x5a8f61(0xfb)](_0x165232,_0xd212,_0x290b03),this[_0x5a8f61(0x138)][_0x5a8f61(0x11e)]();const _0x2c6203=this[_0x5a8f61(0x160)](),_0x9bf899=this[_0x5a8f61(0x147)](_0x2c6203);return this[_0x5a8f61(0xcf)](_0x9bf899)&&this[_0x5a8f61(0x16d)][_0x5a8f61(0xda)](),this['_dependencyTreeCache'][_0x5a8f61(0x133)](),this[_0x5a8f61(0x174)]['clear'](),this[_0x5a8f61(0x138)][_0x5a8f61(0xdd)](),this[_0x5a8f61(0x16d)][_0x5a8f61(0x111)](),Promise[_0x5a8f61(0x180)](_0x9bf899);}[_0x4300fb(0x13f)](_0xe8b32e,_0x42a5fb){const _0x335d8d=_0x4300fb,_0x24029a=[_0xe8b32e];for(;_0x24029a[_0x335d8d(0x158)]>0x0;){const _0xac2fad=_0x24029a[_0x24029a[_0x335d8d(0x158)]-0x1];if((_0x42a5fb['get'](_0xac2fad)||0x0)===0x0){_0x42a5fb['set'](_0xac2fad,0x1);const _0x56a787=this[_0x335d8d(0x109)][_0x335d8d(0x136)](_0xac2fad);if(_0x56a787==null){_0x42a5fb[_0x335d8d(0x13c)](_0xac2fad,0x2),_0x24029a['pop']();continue;}const _0x1201e5=this[_0x335d8d(0x138)][_0x335d8d(0x13d)](_0x56a787[_0x335d8d(0x188)]());for(const _0x2b835b of _0x1201e5){const _0x31e7bd=_0x42a5fb['get'](_0x2b835b)||0x0;if(_0x31e7bd===0x1)return!0x0;_0x31e7bd===0x0&&_0x24029a['push'](_0x2b835b);}}else _0x42a5fb[_0x335d8d(0x13c)](_0xac2fad,0x2),_0x24029a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x2299ff){const _0x5c1396=_0x4300fb,_0xcca4d5=new Map();for(const _0x1463ff of _0x2299ff)if(!_0xcca4d5['has'](_0x1463ff['treeId'])&&this[_0x5c1396(0x13f)](_0x1463ff[_0x5c1396(0x184)],_0xcca4d5))return!0x0;return _0xcca4d5['clear'](),!0x1;}[_0x4300fb(0x16e)](_0x2eaaa9,_0x79620a,_0x36c153){const _0x379260=_0x4300fb,{unitId:_0x26ea29,subUnitId:_0x58dbba,dependencyRanges:_0x33bdff,getDirtyData:_0x205d4b}=_0x36c153,_0xb77333=_0x79620a||_0x1ce91c(this['_dependencyManagerService']),_0x498bea=new _0x1bad38(_0xb77333);_0x498bea[_0x379260(0x167)]=_0x26ea29,_0x498bea[_0x379260(0x112)]=_0x58dbba,_0x498bea['rangeList']=_0x33bdff,_0x498bea[_0x379260(0x12a)]=_0x205d4b;const _0x2dd7b5=_0x205d4b(this[_0x379260(0x159)][_0x379260(0x12a)](),this[_0x379260(0x16d)][_0x379260(0x151)]()),_0x243b98=this[_0x379260(0xec)](_0x2dd7b5[_0x379260(0x121)]);return _0x498bea['featureDirtyRanges']=_0x243b98,_0x498bea[_0x379260(0x175)]=_0x2eaaa9,_0x498bea[_0x379260(0x143)]=_0x160341[_0x379260(0x101)],this['_dependencyManagerService'][_0x379260(0x186)](_0x26ea29,_0x58dbba,_0x2eaaa9,_0x498bea),this[_0x379260(0x109)][_0x379260(0x13c)](_0x498bea[_0x379260(0x184)],_0x498bea),this[_0x379260(0x138)][_0x379260(0x16f)](_0x36c153[_0x379260(0x167)],_0x36c153['subUnitId'],_0x2eaaa9)&&(_0x498bea[_0x379260(0x10e)]=!0x0),_0x498bea;}[_0x4300fb(0x134)](_0x5828aa,_0xe9690e,_0x5ac6d4){const _0xc2c26e=_0x4300fb;var _0xb6ff9a;for(const _0x188629 of _0xe9690e){const _0x35d8db=_0x5828aa[_0x188629];if(_0x35d8db==null)continue;const _0x1a6be2=Object[_0xc2c26e(0x16a)](_0x35d8db);for(const _0x2e1baa of _0x1a6be2){const _0x3e986c=_0x35d8db[_0x2e1baa];if(_0x3e986c==null)continue;const _0x36d686=Object[_0xc2c26e(0x16a)](_0x3e986c);for(const _0x3ca35a of _0x36d686){const _0x48a07a=this[_0xc2c26e(0x138)][_0xc2c26e(0x17d)](_0x3ca35a),_0x187288=_0x3e986c[_0x3ca35a],{f:_0x5242cf,ranges:_0x5805ad}=_0x187288;let _0x4237f9=!0x1;_0x48a07a&&(_0x4237f9=!0x0);const {firstRow:_0x40a6ec,firstColumn:_0x1d2486}=this['_getFirstCellOfRange'](_0x5805ad),_0xb15a09=this['_dependencyManagerService'][_0xc2c26e(0x17b)](_0x188629,_0x2e1baa,_0x3ca35a),_0x2f0bc9=(_0xb6ff9a=_0xb15a09==null?void 0x0:_0xb15a09[_0xc2c26e(0xd5)](0x0,0x0))!=null?_0xb6ff9a:_0x1ce91c(this['_dependencyManagerService']),_0x2544dc=new _0x1bad38(_0x2f0bc9);for(let _0x2da9f3=0x0;_0x2da9f3<_0x5805ad[_0xc2c26e(0x158)];_0x2da9f3++){const _0xb6dd4d=_0x5805ad[_0x2da9f3],{startRow:_0x370a4a,startColumn:_0xc30f67,endRow:_0x2f6c43,endColumn:_0x50b1e2}=_0xb6dd4d;for(let _0x569522=_0x370a4a;_0x569522<=_0x2f6c43;_0x569522++)for(let _0x29afa4=_0xc30f67;_0x29afa4<=_0x50b1e2;_0x29afa4++){const _0x2f3dc2=_0x29afa4-_0x1d2486,_0x4b0e83=_0x569522-_0x40a6ec;if(_0x2f3dc2===0x0&&_0x4b0e83===0x0){_0x2544dc[_0xc2c26e(0x187)]=_0x5242cf,_0x2544dc[_0xc2c26e(0x167)]=_0x188629,_0x2544dc[_0xc2c26e(0x112)]=_0x2e1baa,_0x2544dc[_0xc2c26e(0xe6)]=_0x3ca35a,_0x2544dc[_0xc2c26e(0x143)]=_0x160341[_0xc2c26e(0x10c)],_0x2544dc['isCache']=_0x4237f9,_0x5ac6d4[_0xc2c26e(0xff)](_0x2544dc),this['_dependencyTreeCache'][_0xc2c26e(0x13c)](_0x2544dc[_0xc2c26e(0x184)],_0x2544dc),this[_0xc2c26e(0x138)][_0xc2c26e(0x169)](_0x188629,_0x2e1baa,_0x3ca35a,_0x2544dc),this['_dependencyManagerService'][_0xc2c26e(0xf4)](_0x2544dc);continue;}const _0x5905fa=new _0x276636();_0x5905fa[_0xc2c26e(0x184)]=(_0xb15a09==null?void 0x0:_0xb15a09[_0xc2c26e(0xd5)](_0x2f3dc2,_0x4b0e83))||_0x1ce91c(this[_0xc2c26e(0x138)]),_0x5905fa[_0xc2c26e(0x185)]=_0x2544dc,_0x5905fa[_0xc2c26e(0xd3)]=_0x2f3dc2,_0x5905fa[_0xc2c26e(0x139)]=_0x4b0e83,_0x5905fa[_0xc2c26e(0x10e)]=_0x4237f9,this[_0xc2c26e(0x138)][_0xc2c26e(0x169)](_0x188629,_0x2e1baa,_0x3ca35a,_0x5905fa),this[_0xc2c26e(0x138)]['addFormulaDependencyByDefinedName'](_0x5905fa),_0x5ac6d4[_0xc2c26e(0xff)](_0x5905fa),this[_0xc2c26e(0x109)][_0xc2c26e(0x13c)](_0x5905fa[_0xc2c26e(0x184)],_0x5905fa);}}this[_0xc2c26e(0x138)][_0xc2c26e(0x10b)](_0x3ca35a);}}}}['_registerFormulas'](_0x4ffe1d,_0x26d0f1,_0xe2ad4a,_0x5100c3){const _0x498709=_0x4300fb;for(const _0x43812a of _0x4ffe1d){const _0x3e651d=_0x26d0f1[_0x43812a];if(_0x3e651d==null)continue;const _0x102fb3=Object[_0x498709(0x16a)](_0x3e651d);for(const _0x4362d8 of _0x102fb3){const _0x2c82ac=new _0x1ca750(_0x3e651d[_0x4362d8]||{}),_0x42da07=new Map();_0x2c82ac[_0x498709(0xe2)]((_0x89ab00,_0x439288,_0xfcc23a)=>{const _0x3f0736=_0x498709;if(_0xfcc23a==null)return!0x0;const {x:_0x240808=0x0,y:_0x3f3d25=0x0,si:_0x42fcf6}=_0xfcc23a;if(!(_0x240808===0x0&&_0x3f3d25===0x0&&_0x42fcf6!=null))return!0x0;const _0x27de2b=this[_0x3f0736(0x15c)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288,_0xe2ad4a,_0xfcc23a),_0x265aa1=this[_0x3f0736(0x138)][_0x3f0736(0x168)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288);_0x265aa1!=null?_0x27de2b[_0x3f0736(0x184)]=_0x265aa1:(this[_0x3f0736(0x138)][_0x3f0736(0xe1)](_0x43812a,_0x4362d8,_0x89ab00,_0x439288,_0x27de2b),this[_0x3f0736(0x138)]['addFormulaDependencyByDefinedName'](_0x27de2b)),_0x42da07[_0x3f0736(0x13c)](_0x42fcf6,_0x27de2b),_0x5100c3[_0x3f0736(0xff)](_0x27de2b),this['_dependencyTreeCache'][_0x3f0736(0x13c)](_0x27de2b['treeId'],_0x27de2b);}),_0x2c82ac['forValue']((_0x39693d,_0x4dade7,_0x3b2bf0)=>{const _0x3ccb4e=_0x498709;if(_0x3b2bf0==null)return!0x0;const {x:_0x8f2b9c=0x0,y:_0x79420d=0x0,si:_0x458d44}=_0x3b2bf0;if(_0x8f2b9c===0x0&&_0x79420d===0x0&&_0x458d44!=null)return!0x0;let _0x3a7436;if(_0x458d44&&_0x42da07[_0x3ccb4e(0xd1)](_0x458d44)){const _0x1e66fe=_0x42da07[_0x3ccb4e(0x136)](_0x458d44);_0x3a7436=this[_0x3ccb4e(0xe3)](_0x1e66fe,_0x3b2bf0);}else _0x3a7436=this['_createFDtree'](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7,_0xe2ad4a,_0x3b2bf0);const _0x2517c5=this[_0x3ccb4e(0x138)]['getFormulaDependency'](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7);_0x2517c5!=null?_0x3a7436['treeId']=_0x2517c5:(this[_0x3ccb4e(0x138)][_0x3ccb4e(0xe1)](_0x43812a,_0x4362d8,_0x39693d,_0x4dade7,_0x3a7436),this[_0x3ccb4e(0x138)]['addFormulaDependencyByDefinedName'](_0x3a7436)),_0x5100c3[_0x3ccb4e(0xff)](_0x3a7436),this[_0x3ccb4e(0x109)]['set'](_0x3a7436[_0x3ccb4e(0x184)],_0x3a7436);}),_0x42da07[_0x498709(0x133)]();}}}[_0x4300fb(0x15c)](_0x36495f,_0x76815b,_0x412bc3,_0x54ed6c,_0x3f164f,_0x1df663){const _0x147c74=_0x4300fb,{f:_0x2271ac,x:_0x3a84f9=0x0,y:_0x54e4b6=0x0}=_0x1df663,_0x416744=new _0x1bad38(_0x1ce91c(this[_0x147c74(0x138)])),_0x5a7a7c=_0x3f164f[_0x36495f][_0x76815b];return _0x416744[_0x147c74(0x187)]=_0x2271ac,_0x416744[_0x147c74(0x167)]=_0x36495f,_0x416744['subUnitId']=_0x76815b,_0x416744['row']=_0x412bc3,_0x416744[_0x147c74(0x140)]=_0x54ed6c,_0x416744[_0x147c74(0x12f)]=_0x5a7a7c[_0x147c74(0x12f)],_0x416744[_0x147c74(0x12c)]=_0x5a7a7c[_0x147c74(0x12c)],_0x416744;}[_0x4300fb(0x160)](){const _0x4f4152=_0x4300fb,_0x51ff92=[],_0x4351ac=new Set(),_0x418a4b=this['_currentConfigService'][_0x4f4152(0x117)](),_0x5c4d20=this[_0x4f4152(0x159)][_0x4f4152(0x146)](),_0x3e2523=this[_0x4f4152(0x138)]['searchDependency'](_0x5c4d20),_0xd3747e=this[_0x4f4152(0x174)][_0x4f4152(0x166)](_0x5c4d20);for(const _0x443b58 of _0xd3747e)_0x3e2523['add'](_0x443b58);for(const [_0x5dd282,_0x4c795f]of this['_dependencyTreeCache'])(_0x418a4b||_0x4c795f[_0x4f4152(0x131)]||_0x4c795f['dependencySheetName'](this[_0x4f4152(0x159)][_0x4f4152(0x14c)]())||_0x3e2523[_0x4f4152(0xd1)](_0x5dd282)&&!_0x4c795f[_0x4f4152(0x103)](this[_0x4f4152(0x159)][_0x4f4152(0x150)]()))&&!_0x4351ac[_0x4f4152(0xd1)](_0x5dd282)&&(_0x51ff92[_0x4f4152(0xff)](_0x4c795f),_0x4351ac[_0x4f4152(0x105)](_0x5dd282));for(const [_0x3b8db4,_0x11d156]of this['_dependencyTreeCache'])_0x11d156[_0x4f4152(0x182)]||(_0x11d156[_0x4f4152(0x12b)][_0x4f4152(0x158)]=0x0);return _0x51ff92;}[_0x4300fb(0x156)](_0xdfb298){const _0x54c76b=_0x4300fb;return this[_0x54c76b(0x109)][_0x54c76b(0x136)](_0xdfb298);}[_0x4300fb(0x124)](_0xece2f2){const _0xb48403=_0x4300fb;return _0x1354b2(_0xece2f2['unitId'],_0xece2f2[_0xb48403(0x187)],this[_0xb48403(0x107)],this[_0xb48403(0x145)],this[_0xb48403(0x159)]);}*[_0x4300fb(0xe0)](_0x8d6ffc,_0x96f6fe){const _0x391436=_0x4300fb,_0x3dc81e=_0x8d6ffc,_0x2b0db0=new Set();for(;_0x3dc81e['length']>0x0;){const _0x150994=_0x3dc81e[_0x391436(0x14d)]();if(_0x2b0db0[_0x391436(0x133)](),_0x150994===void 0x0||_0x150994[_0x391436(0xcd)]())continue;if(_0x150994['isAdded']()){yield _0x150994,_0x150994[_0x391436(0xe8)](),_0x96f6fe['add'](_0x150994[_0x391436(0x184)]);continue;}const _0xf32e84=this[_0x391436(0x138)][_0x391436(0x13d)](_0x150994[_0x391436(0x188)](),_0x96f6fe),_0xf60c0d=this[_0x391436(0x174)][_0x391436(0x166)](_0x150994[_0x391436(0x188)](),_0x96f6fe);for(const _0x4e003c of _0xf60c0d)_0xf32e84[_0x391436(0x105)](_0x4e003c);for(const _0x4ed9a5 of _0xf32e84){const _0x20d6f3=this[_0x391436(0x109)][_0x391436(0x136)](_0x4ed9a5);if(!_0x20d6f3)throw new Error(_0x391436(0x135));_0x20d6f3[_0x391436(0xf1)]()||_0x150994['isSkip']()||_0x2b0db0['add'](_0x20d6f3);}if(_0xf32e84['clear'](),_0x2b0db0[_0x391436(0xd9)]===0x0)yield _0x150994,_0x150994[_0x391436(0xe8)](),_0x96f6fe[_0x391436(0x105)](_0x150994[_0x391436(0x184)]);else{_0x150994[_0x391436(0xfa)](),_0x3dc81e[_0x391436(0xff)](_0x150994);for(const _0x21d8f1 of _0x2b0db0)_0x3dc81e[_0x391436(0xff)](_0x21d8f1);}}_0x3dc81e[_0x391436(0x158)]=0x0,_0x2b0db0[_0x391436(0x133)]();}['_calculateRunList'](_0x2fcd1f){const _0x4edbd0=_0x4300fb,_0x1e5c27=[],_0x220462=new Set();for(const _0x219308 of this[_0x4edbd0(0xe0)](_0x2fcd1f,_0x220462))_0x1e5c27[_0x4edbd0(0xff)](_0x219308);return _0x1e5c27;}}class Te extends _0xe22dbc{constructor(){const _0xa1a123=_0x4300fb;super(...arguments),T(this,_0xa1a123(0x137),!0x1),T(this,'_lambdaFunctionParameterSet',new Set());}[_0x4300fb(0x144)](_0x2a400f,_0x451df7){const _0x5ca9ce=_0x4300fb,_0xcd0329=this[_0x5ca9ce(0xf2)](_0x2a400f,!0x1);if(!_0xcd0329||_0xcd0329===_0x4662f6[_0x5ca9ce(0x17c)]||Array[_0x5ca9ce(0x14f)](_0xcd0329))return null;const _0x5a3a5a=[];return this[_0x5ca9ce(0x137)]=!0x1,this[_0x5ca9ce(0x14a)](_0xcd0329,_0x5a3a5a,_0x451df7),this[_0x5ca9ce(0x137)]?'='+_0x5a3a5a[_0x5ca9ce(0x149)](''):null;}[_0x4300fb(0x14a)](_0x3a3c63,_0xf42f7a,_0x363ad9){const _0x897fa4=_0x4300fb,_0x561485=_0x3a3c63[_0x897fa4(0x162)](),_0x35e69e=_0x561485[_0x897fa4(0x114)](),_0xf854ee=_0x35e69e[_0x897fa4(0xe9)](),_0x7e54f9=this[_0x897fa4(0xde)](_0xf854ee),_0x2c6a90=_0x363ad9(_0x7e54f9);let _0xbd93cc=0x0;_0x561485===_0x255cf0?_0xbd93cc=0x3:_0x561485===_0x220bf1?_0xbd93cc=0x4:_0x561485===_0x17212a?_0xbd93cc=0x5:_0x5a59f4[_0x897fa4(0xd1)](_0x7e54f9)?(_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0xd2)+_0x35e69e),this[_0x897fa4(0x137)]=!0x0):_0xf854ee===_0x41c2cc?(_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0xd2)+_0x35e69e),this[_0x897fa4(0x137)]=!0x0,_0xbd93cc=0x2):_0xf854ee===_0x3fafb9?(_0xf42f7a[_0x897fa4(0xff)]('_xlfn.'+_0x35e69e),this[_0x897fa4(0x137)]=!0x0,_0xbd93cc=0x1):_0xf854ee===_0x3fbc01['COLON']?_0xbd93cc=0x8:_0x5d4baa['has'](_0xf854ee)?_0xbd93cc=0x7:_0xf854ee===_0x35d308['MINUS']?(this[_0x897fa4(0x15a)](_0x3a3c63)&&(_0xbd93cc=0x9),_0xf42f7a[_0x897fa4(0xff)](_0x561485)):(_0xf42f7a['push'](_0x561485),_0xbd93cc=0xa),_0x2c6a90?(_0xbd93cc!==0x2&&_0xbd93cc!==0x1&&(_0xbd93cc=0x6),_0xf42f7a[_0x897fa4(0xff)]('(')):_0xbd93cc===0x9&&_0xf42f7a[_0x897fa4(0xff)]('(');const _0x260f82=_0x3a3c63[_0x897fa4(0x118)](),_0x2d1685=_0x260f82[_0x897fa4(0x158)];if(_0xbd93cc===0x2){const _0x605ca8=_0x260f82[0x0];let _0x192be3=0x0;_0x605ca8 instanceof _0x1e5ada&&_0x605ca8['getToken']()===_0x17212a&&(_0x192be3=0x1);for(let _0x213e6f=_0x192be3;_0x213e6f<_0x2d1685-0x1;_0x213e6f++){const _0x32e22a=_0x260f82[_0x213e6f];if(_0x32e22a instanceof _0x1e5ada){const _0x1c10db=_0x32e22a[_0x897fa4(0x118)]()[0x0];typeof _0x1c10db=='string'&&(this[_0x897fa4(0x141)][_0x897fa4(0xd1)](_0x1c10db)&&console[_0x897fa4(0xe7)]('Lambda\x20parameter\x20name\x20\x22'+_0x1c10db+_0x897fa4(0xea)),this[_0x897fa4(0x141)]['add'](_0x1c10db),_0xf42f7a[_0x897fa4(0xff)]('_xlpm.'+_0x1c10db),this[_0x897fa4(0x137)]=!0x0);}_0xf42f7a[_0x897fa4(0xff)](',');}this[_0x897fa4(0xd8)](_0x260f82[_0x2d1685-0x1],_0xf42f7a,_0x363ad9),_0x192be3===0x1&&(_0xf42f7a[_0x897fa4(0xff)](')'),_0xf42f7a[_0x897fa4(0xff)]('('),this[_0x897fa4(0x14a)](_0x605ca8,_0xf42f7a,_0x363ad9)),_0xf42f7a['push'](')');return;}else{if(_0xbd93cc===0x1){for(let _0x451a7c=0x0;_0x451a7c<_0x2d1685-0x1;_0x451a7c++){const _0x848e27=_0x260f82[_0x451a7c];if(_0x848e27 instanceof _0x1e5ada&&_0x451a7c%0x2===0x0){const _0x55e93e=_0x848e27[_0x897fa4(0x118)]()[0x0];if(typeof _0x55e93e==_0x897fa4(0x115)){this['_lambdaFunctionParameterSet'][_0x897fa4(0xd1)](_0x55e93e)&&console['error'](_0x897fa4(0x120)+_0x55e93e+_0x897fa4(0xea)),this[_0x897fa4(0x141)]['add'](_0x55e93e),_0xf42f7a[_0x897fa4(0xff)](_0x897fa4(0x13b)+_0x55e93e),this['_hasNewExcelFunction']=!0x0,_0xf42f7a[_0x897fa4(0xff)](',');continue;}}if(this[_0x897fa4(0xd8)](_0x848e27,_0xf42f7a,_0x363ad9),_0x848e27 instanceof _0x1e5ada){const _0x422af4=_0x260f82[_0x451a7c+0x1];_0x422af4&&_0x422af4 instanceof _0x1e5ada&&_0xf42f7a[_0x897fa4(0xff)](',');}}this[_0x897fa4(0xd8)](_0x260f82[_0x2d1685-0x1],_0xf42f7a,_0x363ad9),_0xf42f7a[_0x897fa4(0xff)](')');return;}else{if(_0xbd93cc===0x8){const _0x4024af=_0x260f82[0x0],_0x9605f9=_0x260f82[0x1];this[_0x897fa4(0xd8)](_0x4024af,_0xf42f7a,_0x363ad9),_0xf42f7a['push'](_0x561485),this[_0x897fa4(0xd8)](_0x9605f9,_0xf42f7a,_0x363ad9);return;}}}for(let _0x2b0d0a=0x0;_0x2b0d0a<_0x2d1685;_0x2b0d0a++){const _0x443431=_0x260f82[_0x2b0d0a];if(this[_0x897fa4(0xd8)](_0x443431,_0xf42f7a,_0x363ad9),_0x443431 instanceof _0x1e5ada){const _0x1401f5=_0x260f82[_0x2b0d0a+0x1];_0x1401f5&&_0x1401f5 instanceof _0x1e5ada&&_0xf42f7a[_0x897fa4(0xff)](',');}}_0xbd93cc===0x7&&_0xf42f7a[_0x897fa4(0xff)](_0x561485),(_0x2c6a90||_0xbd93cc===0x9)&&_0xf42f7a[_0x897fa4(0xff)](')');}[_0x4300fb(0xd8)](_0x440283,_0x2210ba,_0x515036){const _0x50db66=_0x4300fb;_0x440283 instanceof _0x1e5ada?this['_generateNewFunctionString'](_0x440283,_0x2210ba,_0x515036):this['_lambdaFunctionParameterSet'][_0x50db66(0xd1)](_0x440283)?(_0x2210ba[_0x50db66(0xff)](_0x50db66(0x13b)+_0x440283),this[_0x50db66(0x137)]=!0x0):_0x2210ba[_0x50db66(0xff)](_0x440283);}[_0x4300fb(0xde)](_0x26a585){const _0x4e4a2a=_0x4300fb;let _0x251f05=_0x26a585['trim']();if(!_0x251f05)return _0x251f05;const _0x2cadd4=_0x251f05[0x0];if((_0x2cadd4===_0x35d308['AT']||_0x2cadd4===_0x35d308[_0x4e4a2a(0x176)]||_0x2cadd4===_0x35d308[_0x4e4a2a(0xfd)])&&(_0x251f05=_0x251f05[_0x4e4a2a(0x163)](0x1)),!_0x251f05)return _0x251f05;const _0x443102=_0x251f05[_0x251f05[_0x4e4a2a(0x158)]-0x1];return _0x5d4baa['has'](_0x443102)&&(_0x251f05=_0x251f05[_0x4e4a2a(0x163)](0x0,-0x1)),_0x251f05;}[_0x4300fb(0x15a)](_0x18fe46){const _0x2db5f0=_0x4300fb,_0x282d57=_0x18fe46[_0x2db5f0(0x118)]()[0x0];if(!_0x282d57||!(_0x282d57 instanceof _0x1e5ada)||_0x18fe46['getChildren']()[_0x2db5f0(0x158)]>0x1)return!0x1;const _0x26801b=_0x282d57[_0x2db5f0(0x118)](),_0x1a441d=_0x26801b[_0x2db5f0(0x158)];if(_0x1a441d===0x1)return!0x1;for(let _0x1f9713=0x0;_0x1f9713<_0x1a441d;_0x1f9713++){const _0x3cba6a=_0x26801b[_0x1f9713];if(!(_0x3cba6a instanceof _0x1e5ada)&&_0x2f264c['has'](_0x3cba6a))return!0x0;}return!0x1;}}class Ue extends _0x5d342a{async[_0x4300fb(0x13a)](_0x217545=!0x1){const _0x12a0cf=_0x4300fb;_0x217545?this['_runtimeService'][_0x12a0cf(0x17e)](_0xd376f3[_0x12a0cf(0x171)]):this[_0x12a0cf(0x16d)][_0x12a0cf(0x17e)](_0xd376f3['START_DEPENDENCY']),this[_0x12a0cf(0x16b)][_0x12a0cf(0xdb)](this[_0x12a0cf(0x16d)][_0x12a0cf(0x129)]());const _0x2a7b28=await this[_0x12a0cf(0xf8)][_0x12a0cf(0x153)](),_0xb17824=this['_interpreter'];_0x217545?(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0xd6)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x142)](_0x2a7b28['length'])):(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0xd0)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x127)](_0x2a7b28['length'])),this[_0x12a0cf(0x16b)][_0x12a0cf(0xdb)](this[_0x12a0cf(0x16d)][_0x12a0cf(0x129)]());let _0x945a76=[];const _0x53248e=this[_0x12a0cf(0x15e)]['getConfig'](_0x4e9f21),_0x4b0c1b=(_0x53248e==null?void 0x0:_0x53248e[_0x12a0cf(0x17a)])||_0x178db0;let _0x54409c=0x0;const _0x40607d=_0x2a7b28[_0x12a0cf(0x158)];for(;_0x2a7b28['length']>0x0;){const _0xadd6c6=_0x2a7b28[_0x12a0cf(0x14d)](),_0x240666=_0x1354b2(_0xadd6c6[_0x12a0cf(0x167)],_0xadd6c6[_0x12a0cf(0x187)],this[_0x12a0cf(0x107)],this[_0x12a0cf(0x145)],this['_currentConfigService']),_0x85adbb={'node':_0x240666,'refOffsetX':_0xadd6c6['refOffsetX'],'refOffsetY':_0xadd6c6[_0x12a0cf(0x139)]},_0x4e453b=_0xadd6c6[_0x12a0cf(0x12a)];if(_0x54409c%_0x4b0c1b===0x0&&(await new Promise(_0x369a69=>{const _0x3c0ee6=_0x12a0cf,_0x1c15a2=_0x3572dc(_0x369a69);_0x945a76[_0x3c0ee6(0xff)](_0x1c15a2);}),_0x217545?(this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x12a0cf(0x16d)][_0x12a0cf(0xd4)](_0x54409c+0x1)):(this[_0x12a0cf(0x16d)][_0x12a0cf(0x17e)](_0xd376f3[_0x12a0cf(0x119)]),this[_0x12a0cf(0x16d)][_0x12a0cf(0x152)](_0x54409c+0x1)),this[_0x12a0cf(0x16b)]['next'](this['_runtimeService']['getRuntimeState']()),this[_0x12a0cf(0x16d)]['isStopExecution']()||_0x85adbb==null&&_0x4e453b==null)){this[_0x12a0cf(0x16d)]['setFormulaExecuteStage'](_0xd376f3[_0x12a0cf(0x14b)]),this[_0x12a0cf(0x16d)]['markedAsStopFunctionsExecuted'](),this[_0x12a0cf(0x126)]['next'](this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]());return;}this['_runtimeService'][_0x12a0cf(0x178)](_0xadd6c6[_0x12a0cf(0x164)],_0xadd6c6['column'],_0xadd6c6['rowCount'],_0xadd6c6[_0x12a0cf(0x12c)],_0xadd6c6['subUnitId'],_0xadd6c6[_0x12a0cf(0x167)]);let _0x579d26;if(_0x4e453b!=null&&_0xadd6c6['featureId']!=null){const {runtimeCellData:_0x4de021,dirtyRanges:_0x3ea0dd}=_0x4e453b(this[_0x12a0cf(0x159)]['getDirtyData'](),this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]());this[_0x12a0cf(0x16d)][_0x12a0cf(0x11f)](_0xadd6c6['featureId'],_0x4de021),this[_0x12a0cf(0x16d)]['setRuntimeFeatureRange'](_0xadd6c6['featureId'],_0x3ea0dd);}else _0x85adbb!=null&&(_0xb17824['checkAsyncNode'](_0x85adbb[_0x12a0cf(0x17f)])?_0x579d26=await _0xb17824['executeAsync'](_0x85adbb):_0x579d26=_0xb17824[_0x12a0cf(0x170)](_0x85adbb),_0xadd6c6['formulaId']!=null?this['_runtimeService'][_0x12a0cf(0x179)](_0xadd6c6[_0x12a0cf(0xe6)],_0xadd6c6[_0x12a0cf(0xd3)],_0xadd6c6[_0x12a0cf(0x139)],_0x579d26):this[_0x12a0cf(0x16d)][_0x12a0cf(0x15b)](_0x579d26));_0x240666[_0x12a0cf(0x183)](),_0x54409c++;}return _0x945a76[_0x12a0cf(0x11a)](_0x36b1e0=>_0x36b1e0()),_0x945a76=[],_0x40607d>0x0?this[_0x12a0cf(0x16d)]['markedAsSuccessfullyExecuted']():_0x217545||this[_0x12a0cf(0x16d)][_0x12a0cf(0xdc)](),this[_0x12a0cf(0x16d)][_0x12a0cf(0x151)]();}}function _0x17a9(){const _0x19df78=['formulaId','error','setSkip','toUpperCase','\x22\x20is\x20duplicated.','_config','_convertDirtyRangesToUnitRange','realDeleteValue','633CgwubG','removeFormulaDependencyByDefinedName','_initLicenseValid','isAdded','treeBuilder','_formulaData','addFormulaDependencyByDefinedName','90nwtCmY','getOwnPropertyDescriptor','defineProperty','_formulaDependencyGenerator','endColumn','setAdded','_generateTreeList','2451540nKIVtJ','PLUS','removeOtherFormulaDependency','push','notExecuteFormula','FEATURE_FORMULA','delete','isExcludeRange','setValue','add','1635255TqlMwJ','_lexer','564311xRdlsX','_dependencyTreeCache','getClearDependencyTreeCache','addOtherFormulaDependencyMainData','OTHER_FORMULA','clearFeatureFormulaDependency','isCache','getOtherFormulaData','_removeDependencyRTreeCache','clearArrayObjectCache','subUnitId','bulkRemove','trim','string','682048RgjGVj','isForceCalculate','getChildren','CURRENTLY_CALCULATING','forEach','1403995MgxgpQ','5793214MReMfw','_addAllTreeMap','openKdTree','setRuntimeFeatureCellData','Let\x20variable\x20name\x20\x22','dirtyRanges','_removeAllTreeMap','_restDependencyTreeId','_getTreeNode','message','_executionCompleteListener$','setTotalFormulasToCalculate','_injector','getRuntimeState','getDirtyData','rangeList','columnCount','_featureFormulaData','endRow','rowCount','getUnitData','isDirty','reset','clear','_registerOtherFormulas','ParentDependencyTree\x20object\x20is\x20null','get','_hasNewExcelFunction','_dependencyManagerService','refOffsetY','_apply','_xlpm.','set','searchDependency','_dependencyRTreeCache','_isCyclicUtilMap','column','_lambdaFunctionParameterSet','setTotalArrayFormulasToCalculate','type','getNewFormulaWithPrefix','_astTreeBuilder','getDirtyRanges','_calculateRunList','_otherFormulaData','join','_generateNewFunctionString','IDLE','getDirtyNameMap','pop','clearOtherFormulaDependency','isArray','getExcludedRange','getAllRuntimeData','setCompletedFormulasCount','generate','removeFeatureFormulaDependency','_removeDependencyRTreeCacheById','_getTreeById','4676fxkHAf','length','_currentConfigService','_checkAddBracketForMinus','setRuntimeData','_createFDtree','_updateRangeFlatten','_configService','return\x20','_getUpdateTreeListAndMakeDependency','_otherFormulaDataMainData','getToken','slice','row','4zOHYZH','bulkSearch','unitId','getFormulaDependency','addOtherFormulaDependency','keys','_executionInProgressListener$','min','_runtimeService','_getFeatureFormulaTree','getFeatureFormulaDependency','execute','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService','removeFormulaDependency','_dependencyRTreeCacheForAddressFunction','featureId','MINUS','startRow','setCurrent','setRuntimeOtherData','intervalCount','getOtherFormulaDependency','VALUE','hasOtherFormulaDataMainData','setFormulaExecuteStage','node','resolve','clearFormulaDependency','isVirtual','resetCalculationState','treeId','refTree','addFeatureFormulaDependency','formula','toRTreeItem','startColumn','isSkip','symbol','_checkIsCycleDependency','START_CALCULATION','has','_xlfn.','refOffsetX','setCompletedArrayFormulasCount','getValue','START_CALCULATION_ARRAY_FORMULA','_allTreeMap','_handleNewFunctionChild','size','enableCycleDependency','next','markedAsNoFunctionsExecuted','closeKdTree','_clearFunctionString','_definedNameMap','_traverse','addFormulaDependency','forValue','_createVirtualFDtree','dispose','_initializeWithOverride'];_0x17a9=function(){return _0x19df78;};return _0x17a9();}class Se extends _0x2ad6bd{constructor(){const _0x494a00=_0x4300fb;super(...arguments),T(this,_0x494a00(0xd7),new Map()),T(this,'_dependencyRTreeCache',new _0x4dbad3(!0x0));}[_0x4300fb(0x132)](){const _0x3a7e7e=_0x4300fb;this[_0x3a7e7e(0x148)][_0x3a7e7e(0x133)](),this[_0x3a7e7e(0x12d)][_0x3a7e7e(0x133)](),this[_0x3a7e7e(0xf3)]['clear'](),this[_0x3a7e7e(0x13e)]['clear'](),this[_0x3a7e7e(0xd7)]['clear'](),this[_0x3a7e7e(0x123)](),this[_0x3a7e7e(0x161)][_0x3a7e7e(0x133)]();}[_0x4300fb(0x169)](_0x51d836,_0x30d196,_0x47ab39,_0x1b63a0){const _0x142d7a=_0x4300fb;this['_otherFormulaData']['has'](_0x51d836)||this[_0x142d7a(0x148)][_0x142d7a(0x13c)](_0x51d836,new Map());const _0x4796e0=this['_otherFormulaData'][_0x142d7a(0x136)](_0x51d836);_0x4796e0['has'](_0x30d196)||_0x4796e0[_0x142d7a(0x13c)](_0x30d196,new Map());const _0x3d3c68=_0x4796e0[_0x142d7a(0x136)](_0x30d196);_0x3d3c68[_0x142d7a(0xd1)](_0x47ab39)||_0x3d3c68[_0x142d7a(0x13c)](_0x47ab39,new _0x1ca750()),_0x3d3c68[_0x142d7a(0x136)](_0x47ab39)['setValue'](_0x1b63a0[_0x142d7a(0xd3)],_0x1b63a0['refOffsetY'],_0x1b63a0['treeId']);}[_0x4300fb(0xfe)](_0x3359a3,_0x3c9a35,_0x378feb){const _0x4b0368=_0x4300fb,_0x27f312=this['_otherFormulaData'][_0x4b0368(0x136)](_0x3359a3);if(_0x27f312&&_0x27f312[_0x4b0368(0xd1)](_0x3c9a35)){const _0x3a62a6=_0x27f312[_0x4b0368(0x136)](_0x3c9a35);_0x378feb[_0x4b0368(0x11a)](_0x51a818=>{const _0x344d00=_0x4b0368,_0x52d98a=_0x3a62a6[_0x344d00(0x136)](_0x51a818);_0x52d98a!=null&&(_0x52d98a[_0x344d00(0xe2)]((_0x324510,_0x30ea60,_0x1698d4)=>{const _0x40fd38=_0x344d00;this['_removeDependencyRTreeCache'](_0x1698d4),this[_0x40fd38(0x122)](_0x1698d4);}),_0x3a62a6[_0x344d00(0x102)](_0x51a818),this[_0x344d00(0x161)][_0x344d00(0x102)](_0x51a818));}),_0x3a62a6[_0x4b0368(0xd9)]===0x0&&_0x27f312[_0x4b0368(0x102)](_0x3c9a35),_0x27f312[_0x4b0368(0xd9)]===0x0&&this[_0x4b0368(0x148)]['delete'](_0x3359a3);}}[_0x4300fb(0x14e)](_0x43105f,_0x4e43d0){const _0x4c6911=_0x4300fb,_0x1bf900=this[_0x4c6911(0x148)][_0x4c6911(0x136)](_0x43105f);if(_0x4e43d0&&_0x1bf900&&_0x1bf900[_0x4c6911(0xd1)](_0x4e43d0)){const _0x5953d1=_0x1bf900[_0x4c6911(0x136)](_0x4e43d0);this[_0x4c6911(0x155)](_0x43105f,_0x4e43d0);for(const _0x396477 of _0x5953d1[_0x4c6911(0x16a)]()){const _0x442cbc=_0x5953d1['get'](_0x396477);_0x442cbc!=null&&(_0x442cbc[_0x4c6911(0xe2)]((_0xcf8b11,_0x598ade,_0x1868ac)=>{const _0x599079=_0x4c6911;this[_0x599079(0xd7)][_0x599079(0x136)](_0x1868ac)&&this[_0x599079(0x122)](_0x1868ac);}),this[_0x4c6911(0x161)][_0x4c6911(0x102)](_0x396477));}_0x5953d1[_0x4c6911(0x133)]();}else{if(_0x1bf900){for(const _0x1c7abd of _0x1bf900[_0x4c6911(0x16a)]()){const _0x215401=_0x1bf900[_0x4c6911(0x136)](_0x1c7abd);this[_0x4c6911(0x155)](_0x43105f,_0x1c7abd);for(const _0x5a2976 of _0x215401[_0x4c6911(0x16a)]()){const _0x4126af=_0x215401['get'](_0x5a2976);_0x4126af!=null&&(_0x4126af['forValue']((_0x2c0c28,_0x42ae7c,_0x105456)=>{const _0x1a26ec=_0x4c6911;this[_0x1a26ec(0xd7)]['get'](_0x105456)&&this[_0x1a26ec(0x122)](_0x105456);}),this[_0x4c6911(0x161)][_0x4c6911(0x102)](_0x5a2976));}}this[_0x4c6911(0x148)]['delete'](_0x43105f);}}}[_0x4300fb(0x186)](_0x16386d,_0x972c8e,_0x45b2b6,_0x58f953){const _0x5ee57a=_0x4300fb;this['_featureFormulaData'][_0x5ee57a(0xd1)](_0x16386d)||this[_0x5ee57a(0x12d)][_0x5ee57a(0x13c)](_0x16386d,new Map());const _0x3c91fc=this[_0x5ee57a(0x12d)][_0x5ee57a(0x136)](_0x16386d);_0x3c91fc['has'](_0x972c8e)||_0x3c91fc[_0x5ee57a(0x13c)](_0x972c8e,new Map()),_0x3c91fc['get'](_0x972c8e)['set'](_0x45b2b6,_0x58f953[_0x5ee57a(0x184)]);}[_0x4300fb(0x154)](_0x4453ab,_0x1c003a,_0x5d54a9){const _0x385c2c=_0x4300fb,_0x4e0613=this[_0x385c2c(0x12d)][_0x385c2c(0x136)](_0x4453ab);if(_0x4e0613&&_0x4e0613[_0x385c2c(0xd1)](_0x1c003a)){const _0x4f8b67=_0x4e0613[_0x385c2c(0x136)](_0x1c003a);_0x5d54a9[_0x385c2c(0x11a)](_0x56747c=>{const _0x4fb330=_0x385c2c,_0x10ba9f=_0x4f8b67[_0x4fb330(0x136)](_0x56747c);_0x10ba9f!=null&&(this[_0x4fb330(0x110)](_0x10ba9f),_0x4f8b67[_0x4fb330(0x102)](_0x56747c),this['_removeAllTreeMap'](_0x10ba9f));});}}['clearFeatureFormulaDependency'](_0x37cfa0,_0x2d32aa){const _0x2c726f=_0x4300fb,_0x361d71=this[_0x2c726f(0x12d)][_0x2c726f(0x136)](_0x37cfa0);if(_0x2d32aa&&_0x361d71&&_0x361d71[_0x2c726f(0xd1)](_0x2d32aa)){const _0x57ecc0=_0x361d71[_0x2c726f(0x136)](_0x2d32aa);this[_0x2c726f(0x155)](_0x37cfa0,_0x2d32aa),_0x57ecc0['forEach'](_0x4ae361=>{const _0x2eab0c=_0x2c726f;_0x4ae361!=null&&this[_0x2eab0c(0x122)](_0x4ae361);}),_0x57ecc0['clear']();}else _0x361d71&&(_0x361d71['forEach']((_0x48db13,_0xda201e)=>{const _0x1f55d0=_0x2c726f;this[_0x1f55d0(0x155)](_0x37cfa0,_0xda201e),_0x48db13[_0x1f55d0(0x11a)](_0x35d602=>{const _0x195ec1=_0x1f55d0;_0x35d602!=null&&this[_0x195ec1(0x122)](_0x35d602);});}),this[_0x2c726f(0x12d)][_0x2c726f(0x102)](_0x37cfa0));}[_0x4300fb(0xe1)](_0x483351,_0x198a85,_0x44846c,_0x949e97,_0x1cc3ca){const _0x5893e0=_0x4300fb;this['_formulaData'][_0x5893e0(0xd1)](_0x483351)||this[_0x5893e0(0xf3)][_0x5893e0(0x13c)](_0x483351,new Map());const _0xf1cece=this[_0x5893e0(0xf3)][_0x5893e0(0x136)](_0x483351);_0xf1cece[_0x5893e0(0xd1)](_0x198a85)||_0xf1cece[_0x5893e0(0x13c)](_0x198a85,new _0x1ca750()),_0xf1cece[_0x5893e0(0x136)](_0x198a85)[_0x5893e0(0x104)](_0x44846c,_0x949e97,_0x1cc3ca[_0x5893e0(0x184)]);}[_0x4300fb(0x173)](_0xce36d5,_0x2e4f6a,_0xc0487,_0x48faa2){const _0x5bf12e=_0x4300fb,_0x693205=this[_0x5bf12e(0xf3)][_0x5bf12e(0x136)](_0xce36d5);if(_0x693205&&_0x693205[_0x5bf12e(0xd1)](_0x2e4f6a)){const _0x10e308=_0x693205[_0x5bf12e(0x136)](_0x2e4f6a),_0x34c04d=_0x10e308[_0x5bf12e(0xd5)](_0xc0487,_0x48faa2);if(_0x34c04d==null)return;this['_removeDependencyRTreeCache'](_0x34c04d),_0x10e308[_0x5bf12e(0xed)](_0xc0487,_0x48faa2),this[_0x5bf12e(0x122)](_0x34c04d);}}[_0x4300fb(0x181)](_0x55988f,_0x132471){const _0x765213=_0x4300fb,_0x2a1687=this[_0x765213(0xf3)]['get'](_0x55988f);if(_0x132471&&_0x2a1687&&_0x2a1687[_0x765213(0xd1)](_0x132471)){const _0x2ff61b=_0x2a1687['get'](_0x132471);this[_0x765213(0x155)](_0x55988f,_0x132471),_0x2ff61b[_0x765213(0xe2)]((_0x14ff22,_0x3784ac,_0x396f5e)=>{if(_0x396f5e==null)return!0x0;this['_removeAllTreeMap'](_0x396f5e);}),_0x2ff61b[_0x765213(0x132)]();}else _0x2a1687&&(_0x2a1687[_0x765213(0x11a)]((_0x4eebbf,_0x2a13a5)=>{const _0x371655=_0x765213;this[_0x371655(0x155)](_0x55988f,_0x2a13a5),_0x4eebbf['forValue']((_0x3eb3f5,_0x392ff1,_0x22c500)=>{const _0x146c7e=_0x371655;if(_0x22c500==null)return!0x0;this[_0x146c7e(0x122)](_0x22c500);});}),this['_formulaData'][_0x765213(0x102)](_0x55988f));}[_0x4300fb(0x110)](_0x30828f){const _0x1eb667=_0x4300fb;if(_0x30828f==null)return;const _0x135190=this[_0x1eb667(0xd7)][_0x1eb667(0x136)](_0x30828f);if(_0x135190){const _0x1fefee=[];for(const [_0x5e609a,_0x68fcd4]of _0x135190)for(const [_0x417772,_0x1a3dcf]of _0x68fcd4)_0x1fefee[_0x1eb667(0xff)]({'unitId':_0x5e609a,'sheetId':_0x417772,'range':_0x1a3dcf,'id':_0x30828f});this[_0x1eb667(0x13e)][_0x1eb667(0x113)](_0x1fefee);}}[_0x4300fb(0xef)](_0x2257af,_0x41f92a){const _0x5ee25b=_0x4300fb,_0x5bb8b4=this[_0x5ee25b(0xdf)]['get'](_0x2257af);if(_0x5bb8b4){const _0x4a09d7=_0x5bb8b4[_0x5ee25b(0x136)](_0x41f92a);if(_0x4a09d7){for(const _0xb79705 of _0x4a09d7)this['_removeDependencyRTreeCache'](_0xb79705),this['_removeAllTreeMap'](_0xb79705);_0x4a09d7['clear']();}}}['openKdTree'](){const _0x15f55b=_0x4300fb;this[_0x15f55b(0x13e)][_0x15f55b(0x11e)]();}['closeKdTree'](){const _0x2189d7=_0x4300fb;this['_dependencyRTreeCache'][_0x2189d7(0xdd)]();}[_0x4300fb(0x122)](_0x53bb29){const _0x2d4eda=_0x4300fb;_0x53bb29!=null&&this[_0x2d4eda(0xd7)][_0x2d4eda(0x102)](_0x53bb29);}[_0x4300fb(0x11d)](_0x584f26){const _0x295a4c=_0x4300fb;var _0xcd60f7,_0x570af5;const _0x530b32=_0x584f26[_0x295a4c(0x12b)];let _0x7bc632=this[_0x295a4c(0xd7)][_0x295a4c(0x136)](_0x584f26['treeId']);for(let _0x4638ed=0x0;_0x4638ed<_0x530b32[_0x295a4c(0x158)];_0x4638ed++){const _0x155ec4=_0x530b32[_0x4638ed];let {unitId:_0xd3341b,sheetId:_0x547f72,range:_0x4d8ad8}=_0x155ec4;_0x7bc632||(_0x7bc632=new Map(),this[_0x295a4c(0xd7)]['set'](_0x584f26[_0x295a4c(0x184)],_0x7bc632)),_0x7bc632['has'](_0xd3341b)||_0x7bc632[_0x295a4c(0x13c)](_0xd3341b,new Map());const _0x29084f=(_0xcd60f7=_0x7bc632==null?void 0x0:_0x7bc632[_0x295a4c(0x136)](_0xd3341b))==null?void 0x0:_0xcd60f7[_0x295a4c(0x136)](_0x547f72);_0x29084f&&(_0x4d8ad8={'startRow':Math[_0x295a4c(0x16c)](_0x4d8ad8[_0x295a4c(0x177)],_0x29084f[_0x295a4c(0x177)]),'startColumn':Math[_0x295a4c(0x16c)](_0x4d8ad8[_0x295a4c(0x189)],_0x29084f[_0x295a4c(0x189)]),'endRow':Math['max'](_0x4d8ad8[_0x295a4c(0x12e)],_0x29084f['endRow']),'endColumn':Math['max'](_0x4d8ad8[_0x295a4c(0xf9)],_0x29084f['endColumn'])}),(_0x570af5=_0x7bc632[_0x295a4c(0x136)](_0xd3341b))==null||_0x570af5[_0x295a4c(0x13c)](_0x547f72,_0x4d8ad8);}}}var Me=Object[_0x4300fb(0xf6)],Ve=(_0xada7b0,_0x850a4a,_0x33ecc2,_0x2f26a6)=>{for(var _0xd03e7a=_0x2f26a6>0x1?void 0x0:_0x2f26a6?Me(_0x850a4a,_0x33ecc2):_0x850a4a,_0xf9ef5c=_0xada7b0['length']-0x1,_0x329240;_0xf9ef5c>=0x0;_0xf9ef5c--)(_0x329240=_0xada7b0[_0xf9ef5c])&&(_0xd03e7a=_0x329240(_0xd03e7a)||_0xd03e7a);return _0xd03e7a;};const Re=Number['parseInt'](0x692ab7b9);let H=class extends _0x5402f8{[_0x4300fb(0xe5)](){const _0x59d9a2=_0x4300fb;var _0x7ae32d,_0x13ae48;this[_0x59d9a2(0xf0)]()?(this['_injector']['add']([_0xe22dbc,{'useClass':Te}]),(_0x7ae32d=this['_config'])!=null&&_0x7ae32d[_0x59d9a2(0x100)]||[[_0x2f95ad,{'useClass':Ue}],[_0x14e916,{'useClass':Se}],[_0x594ae4,{'useClass':De}]]['forEach'](_0x4b439c=>this[_0x59d9a2(0x128)][_0x59d9a2(0x105)](_0x4b439c))):(this[_0x59d9a2(0x128)][_0x59d9a2(0x105)]([_0xe22dbc,{'useClass':_0xe22dbc}]),(_0x13ae48=this[_0x59d9a2(0xeb)])!=null&&_0x13ae48[_0x59d9a2(0x100)]||[[_0x2f95ad,{'useClass':_0x5d342a}],[_0x14e916,{'useClass':_0x53617d}],[_0x594ae4,{'useClass':_0x59c733}]][_0x59d9a2(0x11a)](_0x52d394=>this[_0x59d9a2(0x128)][_0x59d9a2(0x105)](_0x52d394)));}[_0x4300fb(0xf0)](){const _0x26f936=_0x4300fb;var _0x4046b0;const _0x277514=(_0x4046b0=this['_configService']['getConfig'](_0x1ada57))!=null?_0x4046b0:{},{ls:_0x2e1410,pbk:_0x5334c9}=_0x277514;if(!_0x2e1410||!_0x5334c9)return!0x1;const _0x9d831f=_0x3e0abd(Ae,Fe),_0x1725dc=new Function(_0x26f936(0x15f)+_0x9d831f)()(_0x2e1410,_0x5334c9),_0xdb03c2=_0x1725dc[_0x26f936(0x125)];return _0x1725dc['valid']&&_0x3cd5c1(_0xdb03c2,'sf',Re)?_0x494a70(_0xdb03c2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=Ve([_0x463b6b(_0x4fcdac)],H);export{H as UniverProFormulaEnginePlugin};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- z: string;
13
- P: string;
14
- t: string;
15
- W: string;
16
- g: string;
12
+ f: string;
13
+ d: string;
14
+ e: string;
15
+ u: string;
16
+ y: string;
17
17
  r: string;
18
- C: string;
19
- O: string;
20
- A: string;
21
- R: string;
22
18
  a: string;
19
+ m: string;
23
20
  N: string;
24
- u: string;
25
- L: string;
26
- o: string;
27
- I: string;
28
- D: string;
29
- Y: string;
21
+ A: string;
22
+ h: string;
23
+ C: string;
30
24
  n: string;
31
- Q: string;
32
- y: string;
33
- c: string;
34
- f: string;
35
- G: string;
36
- B: string;
37
- b: string;
38
- j: string;
39
- w: string;
40
- e: string;
41
- E: string;
42
- x: string;
43
- T: string;
44
- J: string;
45
- v: string;
46
- F: string;
47
- p: string;
25
+ L: string;
48
26
  H: string;
49
- U: string;
50
- m: string;
27
+ F: string;
28
+ B: string;
29
+ g: string;
51
30
  K: string;
52
- q: string;
53
- M: string;
54
- Z: string;
55
- i: string;
56
- l: string;
57
- d: string;
31
+ G: string;
32
+ U: string;
33
+ v: string;
34
+ t: string;
35
+ R: string;
36
+ W: string;
58
37
  V: string;
38
+ x: string;
59
39
  S: string;
60
- X: string;
61
- s: string;
40
+ O: string;
41
+ z: string;
62
42
  k: string;
63
- h: string;
43
+ Z: string;
44
+ w: string;
45
+ s: string;
46
+ p: string;
47
+ I: string;
48
+ J: string;
49
+ l: string;
50
+ P: string;
51
+ j: string;
52
+ X: string;
53
+ i: string;
54
+ c: string;
55
+ T: string;
56
+ E: string;
57
+ Q: string;
58
+ q: string;
59
+ Y: string;
60
+ M: string;
61
+ b: string;
62
+ D: string;
63
+ o: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "owcNjYfc uLNB62jYfc(QYNLcbL, 2w7QYNqL6) { jB6 { Nfcbj QYNLcbLmcof9aBjJBBa6 = QYNLcbL.b2QYj('-'); Nfcbj fBYIYcZLbbaIL = KSli.2aBbL(ajf7(QYNLcbLmcof9aBjJBBa6[t])); Yo (!fBYIYcZLbbaIL.wu) { fBYIYcZLbbaIL.wu = iwy7LB(QYNLcbLmcof9aBjJBBa6[g]); } Nfcbj YbkfB0LB = j62Lfo kfB0LB3Qf7aQSNf2L !== 'wcuLoYcLu' && bLQo YcbjacNLfo kfB0LB3Qf7aQSNf2L; Nfcbj YbvBfEbLB = j62Lfo EYcufE !== 'wcuLoYcLu' && j62Lfo EYcufE.QfNajYfc !== 'wcuLoYcLu'; Nfcbj NfcjLxj = YbkfB0LB ? bLQo : (YbvBfEbLB ? EYcufE : IQf7aQXDYb); Nfcbj yLbbaILkfBu = NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[t]); Nfcbj yLbbaIL = NfcjLxj.__ULx__.bjBYcIYo6(yLbbaILkfBu); Nfcbj bYIcajwBLkfBu = NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[W]); Nfcbj bYIcajwBL = NfcjLxj.__ULx__.bjBYcIYo6(bYIcajwBLkfBu); Nfcbj bYIcsaQYu = NfcjLxj.__eLBYo6__(bYIcajwBL, yLbbaIL, 2w7QYNqL6); Nfcbj ufyaYc = fBYIYcZLbbaIL.uy; owcNjYfc YbpfyaYcZajNDYcI(f9ajjLBc, fUfbj) { Nfcbj 2ajjLBc = f9ajjLBc.BL2QaNL(/^.+/, ''); Nfcbj Dfbj = fUfbj.BL2QaNL(/^.+/, ''); Nfcbj 2ajjLBc9aBjb = 2ajjLBc.b2QYj('.'); Nfcbj Dfbj9aBjb = Dfbj.b2QYj('.'); Yo (!2ajjLBc.YcNQwuLb('*')) { BLjwBc 2ajjLBc === Dfbj; } Yo (2ajjLBc9aBjb.QLcIjD < t || 2ajjLBc9aBjb[z] !== '*') { BLjwBc oaQbL; } Nfcbj 2ajjLBcSwooYx = 2ajjLBc9aBjb.bQYNL(P).nfYc('.'); Nfcbj DfbjSwooYx = Dfbj9aBjb.bQYNL(-2ajjLBc9aBjb.QLcIjD + P).nfYc('.'); BLjwBc 2ajjLBcSwooYx === DfbjSwooYx; } QLj ufyaYcsaQYu = oaQbL; Yo (YbvBfEbLB) { ufyaYcsaQYu = (ufyaYc && ufyaYc.QLcIjD) ? ufyaYc.bfyL((uymjLy) => YbpfyaYcZajNDYcI(uymjLy, QfNajYfc.DfbjcayL)) : jBwL; Yo (QfNajYfc.DfbjcayL === 'QfNaQDfbj') { ufyaYcsaQYu = jBwL; } } LQbL { ufyaYcsaQYu = jBwL; } Nfcbj eaQYu = bYIcsaQYu && ufyaYcsaQYu; BLjwBc { eaQYu, yLbbaIL: fBYIYcZLbbaIL, }; } NajND (LBBfB) { BLjwBc { eaQYu: oaQbL, yLbbaIL: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "LSU8x5vU Cn8W2tx5vU(K58nUVn, tShK58Pn2) { xW2 { 8vUVx K58nUVnJULvcAWx1WWA2 = K58nUVn.VtK5x('-'); 8vUVx vW5H5U9nVVAHn = lQiX.tAWVn(Axvh(K58nUVnJULvcAWx1WWA2[e])); 5L (!vW5H5U9nVVAHn.SC) { vW5H5U9nVVAHn.SC = XSGhnW(K58nUVnJULvcAWx1WWA2[u]); } 8vUVx 5VMvWgnW = x2tnvL MvWgnWpKvhAKQ8vtn !== 'SUCnL5UnC' && VnKL 5UVxAU8nvL MvWgnWpKvhAKQ8vtn; 8vUVx 5VkWv6VnW = x2tnvL 65UCv6 !== 'SUCnL5UnC' && x2tnvL 65UCv6.Kv8Ax5vU !== 'SUCnL5UnC'; 8vUVx 8vUxnzx = 5VMvWgnW ? VnKL : (5VkWv6VnW ? 65UCv6 : HKvhAKqF5V); 8vUVx GnVVAHnMvWC = 8vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[e]); 8vUVx GnVVAHn = 8vUxnzx.__Inz__.VxW5UH5L2(GnVVAHnMvWC); 8vUVx V5HUAxSWnMvWC = 8vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[0]); 8vUVx V5HUAxSWn = 8vUxnzx.__Inz__.VxW5UH5L2(V5HUAxSWnMvWC); 8vUVx V5HU3AK5C = 8vUxnzx.__OnW5L2__(V5HUAxSWn, GnVVAHn, tShK58Pn2); 8vUVx CvGA5U = vW5H5U9nVVAHn.CG; LSU8x5vU 5VwvGA5U9Ax8F5UH(vcAxxnWU, vIvVx) { 8vUVx tAxxnWU = vcAxxnWU.WntKA8n(/^.+/, ''); 8vUVx FvVx = vIvVx.WntKA8n(/^.+/, ''); 8vUVx tAxxnWUcAWxV = tAxxnWU.VtK5x('.'); 8vUVx FvVxcAWxV = FvVx.VtK5x('.'); 5L (!tAxxnWU.5U8KSCnV('*')) { WnxSWU tAxxnWU === FvVx; } 5L (tAxxnWUcAWxV.KnUHxF < e || tAxxnWUcAWxV[f] !== '*') { WnxSWU LAKVn; } 8vUVx tAxxnWUQSLL5z = tAxxnWUcAWxV.VK58n(d).Bv5U('.'); 8vUVx FvVxQSLL5z = FvVxcAWxV.VK58n(-tAxxnWUcAWxV.KnUHxF + d).Bv5U('.'); WnxSWU tAxxnWUQSLL5z === FvVxQSLL5z; } Knx CvGA5U3AK5C = LAKVn; 5L (5VkWv6VnW) { CvGA5U3AK5C = (CvGA5U && CvGA5U.KnUHxF) ? CvGA5U.VvGn((CGJxnG) => 5VwvGA5U9Ax8F5UH(CGJxnG, Kv8Ax5vU.FvVxUAGn)) : xWSn; 5L (Kv8Ax5vU.FvVxUAGn === 'Kv8AKFvVx') { CvGA5U3AK5C = xWSn; } } nKVn { CvGA5U3AK5C = xWSn; } 8vUVx OAK5C = V5HU3AK5C && CvGA5U3AK5C; WnxSWU { OAK5C, GnVVAHn: vW5H5U9nVVAHn, }; } 8Ax8F (nWWvW) { WnxSWU { OAK5C: LAKVn, GnVVAHn: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x470e35,_0x3bc643){var _0x157fb1=_0x24fd,_0x5aaf5e=_0x470e35();while(!![]){try{var _0x1ceb82=parseInt(_0x157fb1(0x1f7))/0x1*(-parseInt(_0x157fb1(0x1fa))/0x2)+-parseInt(_0x157fb1(0x1e9))/0x3+-parseInt(_0x157fb1(0x1ee))/0x4+parseInt(_0x157fb1(0x1f2))/0x5+-parseInt(_0x157fb1(0x1f4))/0x6+-parseInt(_0x157fb1(0x1ea))/0x7+parseInt(_0x157fb1(0x1eb))/0x8*(parseInt(_0x157fb1(0x1f1))/0x9);if(_0x1ceb82===_0x3bc643)break;else _0x5aaf5e['push'](_0x5aaf5e['shift']());}catch(_0x507737){_0x5aaf5e['push'](_0x5aaf5e['shift']());}}}(_0x8d1e,0xb3114),function(_0x83e2c8,_0x13fde7){var _0x4dfdd9=_0x24fd;typeof exports=='object'&&typeof module<'u'?_0x13fde7(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x4dfdd9(0x1f8)&&define[_0x4dfdd9(0x1f5)]?define([_0x4dfdd9(0x1ed),'@univerjs/engine-formula/facade'],_0x13fde7):(_0x83e2c8=typeof globalThis<'u'?globalThis:_0x83e2c8||self,_0x13fde7(_0x83e2c8['UniverProEngineFormulaFacade']={},_0x83e2c8[_0x4dfdd9(0x1f6)]));}(this,function(_0x40cb89,_0x5d0471){'use strict';var _0xc5efcc=_0x24fd;Object[_0xc5efcc(0x1f3)](_0x5d0471)[_0xc5efcc(0x1ef)](_0x6260c2=>{var _0x1bf549=_0xc5efcc;_0x6260c2!==_0x1bf549(0x1fb)&&!Object[_0x1bf549(0x1f0)][_0x1bf549(0x1fc)][_0x1bf549(0x1f9)](_0x40cb89,_0x6260c2)&&Object[_0x1bf549(0x1e8)](_0x40cb89,_0x6260c2,{'enumerable':!0x0,'get':()=>_0x5d0471[_0x6260c2]});}),Object[_0xc5efcc(0x1e8)](_0x40cb89,Symbol[_0xc5efcc(0x1ec)],{'value':'Module'});}));function _0x24fd(_0x55c8b0,_0xf9a2f4){var _0x8d1e56=_0x8d1e();return _0x24fd=function(_0x24fd6e,_0x4e1513){_0x24fd6e=_0x24fd6e-0x1e8;var _0x22757e=_0x8d1e56[_0x24fd6e];return _0x22757e;},_0x24fd(_0x55c8b0,_0xf9a2f4);}function _0x8d1e(){var _0x2ef058=['2025882XpRvgB','6527325iBIvDi','216dVtyxT','toStringTag','exports','2036652YRsGKY','forEach','prototype','811827alIdMZ','5407320PWQldL','keys','3405558zhsFnh','amd','UniverEngineFormulaFacade','1237lcbMCR','function','call','160AAFCnu','default','hasOwnProperty','defineProperty'];_0x8d1e=function(){return _0x2ef058;};return _0x8d1e();}
1
+ (function(_0x460772,_0x292efd){var _0x431b05=_0x54af,_0x17ac68=_0x460772();while(!![]){try{var _0x6822a6=parseInt(_0x431b05(0x1bc))/0x1+-parseInt(_0x431b05(0x1b8))/0x2+parseInt(_0x431b05(0x1bd))/0x3*(-parseInt(_0x431b05(0x1c2))/0x4)+-parseInt(_0x431b05(0x1c9))/0x5+parseInt(_0x431b05(0x1c1))/0x6+parseInt(_0x431b05(0x1c7))/0x7+parseInt(_0x431b05(0x1c6))/0x8;if(_0x6822a6===_0x292efd)break;else _0x17ac68['push'](_0x17ac68['shift']());}catch(_0x19b496){_0x17ac68['push'](_0x17ac68['shift']());}}}(_0x1db6,0xda818),function(_0x160e40,_0x43dca3){var _0x2abc6e=_0x54af;typeof exports==_0x2abc6e(0x1c8)&&typeof module<'u'?_0x43dca3(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x2abc6e(0x1b7)&&define[_0x2abc6e(0x1ca)]?define([_0x2abc6e(0x1b6),_0x2abc6e(0x1c0)],_0x43dca3):(_0x160e40=typeof globalThis<'u'?globalThis:_0x160e40||self,_0x43dca3(_0x160e40[_0x2abc6e(0x1cb)]={},_0x160e40[_0x2abc6e(0x1bf)]));}(this,function(_0x1c1500,_0x4da8fc){'use strict';var _0x3de858=_0x54af;Object[_0x3de858(0x1c5)](_0x4da8fc)[_0x3de858(0x1c3)](_0x5e862f=>{var _0x2388e1=_0x3de858;_0x5e862f!=='default'&&!Object[_0x2388e1(0x1bb)][_0x2388e1(0x1cc)][_0x2388e1(0x1be)](_0x1c1500,_0x5e862f)&&Object[_0x2388e1(0x1ba)](_0x1c1500,_0x5e862f,{'enumerable':!0x0,'get':()=>_0x4da8fc[_0x5e862f]});}),Object[_0x3de858(0x1ba)](_0x1c1500,Symbol[_0x3de858(0x1c4)],{'value':_0x3de858(0x1b9)});}));function _0x54af(_0x26d1e6,_0x4cd087){var _0x1db636=_0x1db6();return _0x54af=function(_0x54afab,_0x5b0319){_0x54afab=_0x54afab-0x1b6;var _0x2e7881=_0x1db636[_0x54afab];return _0x2e7881;},_0x54af(_0x26d1e6,_0x4cd087);}function _0x1db6(){var _0x947e7a=['2456UNCIqa','forEach','toStringTag','keys','4132664jPWFXR','1431367MMGabv','object','8205070DVNDyQ','amd','UniverProEngineFormulaFacade','hasOwnProperty','exports','function','278464OkaYgK','Module','defineProperty','prototype','1400621gLZnTh','3894wiQiOB','call','UniverEngineFormulaFacade','@univerjs/engine-formula/facade','8103198NNtgub'];_0x1db6=function(){return _0x947e7a;};return _0x1db6();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2b22(_0x388dbf,_0x357b12){const _0x5d4918=_0x5d49();return _0x2b22=function(_0x2b2215,_0x2add6d){_0x2b2215=_0x2b2215-0x10a;let _0xa3d92b=_0x5d4918[_0x2b2215];return _0xa3d92b;},_0x2b22(_0x388dbf,_0x357b12);}(function(_0x1c7192,_0x137738){const _0x19ae7a=_0x2b22,_0x3c70b6=_0x1c7192();while(!![]){try{const _0x5953af=parseInt(_0x19ae7a(0x122))/0x1+-parseInt(_0x19ae7a(0x135))/0x2+parseInt(_0x19ae7a(0x128))/0x3*(-parseInt(_0x19ae7a(0x174))/0x4)+parseInt(_0x19ae7a(0x1e7))/0x5+parseInt(_0x19ae7a(0x164))/0x6*(parseInt(_0x19ae7a(0x126))/0x7)+-parseInt(_0x19ae7a(0x134))/0x8*(-parseInt(_0x19ae7a(0x16c))/0x9)+-parseInt(_0x19ae7a(0x119))/0xa;if(_0x5953af===_0x137738)break;else _0x3c70b6['push'](_0x3c70b6['shift']());}catch(_0xe4cd0f){_0x3c70b6['push'](_0x3c70b6['shift']());}}}(_0x5d49,0x414af),function(_0x30a2ee,_0x2ca991){const _0x41fa7=_0x2b22;typeof exports==_0x41fa7(0x182)&&typeof module<'u'?_0x2ca991(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define=='function'&&define['amd']?define([_0x41fa7(0x145),'@univerjs-pro/license',_0x41fa7(0x1cd),_0x41fa7(0x1e8)],_0x2ca991):(_0x30a2ee=typeof globalThis<'u'?globalThis:_0x30a2ee||self,_0x2ca991(_0x30a2ee['UniverProEngineFormula']={},_0x30a2ee['UniverProLicense'],_0x30a2ee[_0x41fa7(0x13f)],_0x30a2ee[_0x41fa7(0x149)]));}(this,function(_0x19b94a,_0x40ad59,_0x228d1a,_0x43e897){'use strict';const _0x19da9a=_0x2b22;var _0x2372e2=Object[_0x19da9a(0x1bd)],_0xc7e907=(_0x5331ae,_0x19398c,_0x17c935)=>_0x19398c in _0x5331ae?_0x2372e2(_0x5331ae,_0x19398c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c935}):_0x5331ae[_0x19398c]=_0x17c935,_0x283905=(_0xc923fe,_0xdc9a4d,_0x3ff214)=>_0xc7e907(_0xc923fe,typeof _0xdc9a4d!=_0x19da9a(0x112)?_0xdc9a4d+'':_0xdc9a4d,_0x3ff214);const _0x2ffec3={0x0:'k',0x1:'Z',0x2:'p',0x3:'G',0x4:'U',0x5:'X',0x6:'y',0x7:'b',0x8:'E',0x9:'P','z':'0','P':'1','t':'2','W':'3','g':'4','r':'5','C':'6','O':'7','A':'8','R':'9','a':'a','N':'c','u':'d','L':'e','o':'f','I':'g','D':'h','Y':'i','n':'j','Q':'l','y':'m','c':'n','f':'o','G':'q','B':'r','b':'s','j':'t','w':'u','e':'v','E':'w','x':'x','T':'z','J':'A','v':'B','F':'C','p':'D','H':'F','U':'H','m':'I','K':'J','q':'K','M':'L','Z':'M','i':'N','l':'O','d':'Q','V':'R','S':'S','X':'T','s':'V','k':'W','h':'Y'},_0x4722a6='owcNjYfc\x20uLNB62jYfc(QYNLcbL,\x202w7QYNqL6)\x20{\x20\x20\x20\x20jB6\x20{\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20QYNLcbLmcof9aBjJBBa6\x20=\x20QYNLcbL.b2QYj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20fBYIYcZLbbaIL\x20=\x20KSli.2aBbL(ajf7(QYNLcbLmcof9aBjJBBa6[t]));\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!fBYIYcZLbbaIL.wu)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fBYIYcZLbbaIL.wu\x20=\x20iwy7LB(QYNLcbLmcof9aBjJBBa6[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbkfB0LB\x20=\x20j62Lfo\x20kfB0LB3Qf7aQSNf2L\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20bLQo\x20YcbjacNLfo\x20kfB0LB3Qf7aQSNf2L;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20YbvBfEbLB\x20=\x20j62Lfo\x20EYcufE\x20!==\x20\x27wcuLoYcLu\x27\x20&&\x20j62Lfo\x20EYcufE.QfNajYfc\x20!==\x20\x27wcuLoYcLu\x27;\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20NfcjLxj\x20=\x20YbkfB0LB\x20?\x20bLQo\x20:\x20(YbvBfEbLB\x20?\x20EYcufE\x20:\x20IQf7aQXDYb);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaILkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[t]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20yLbbaIL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(yLbbaILkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBLkfBu\x20=\x20NfcjLxj.__vabLCg__.2aBbL(QYNLcbLmcof9aBjJBBa6[W]);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcajwBL\x20=\x20NfcjLxj.__ULx__.bjBYcIYo6(bYIcajwBLkfBu);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20bYIcsaQYu\x20=\x20NfcjLxj.__eLBYo6__(bYIcajwBL,\x20yLbbaIL,\x202w7QYNqL6);\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20ufyaYc\x20=\x20fBYIYcZLbbaIL.uy;\x20\x20\x20\x20\x20\x20\x20\x20owcNjYfc\x20YbpfyaYcZajNDYcI(f9ajjLBc,\x20fUfbj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc\x20=\x20f9ajjLBc.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj\x20=\x20fUfbj.BL2QaNL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBc9aBjb\x20=\x202ajjLBc.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20Dfbj9aBjb\x20=\x20Dfbj.b2QYj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(!2ajjLBc.YcNQwuLb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBc\x20===\x20Dfbj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(2ajjLBc9aBjb.QLcIjD\x20<\x20t\x20||\x202ajjLBc9aBjb[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x202ajjLBcSwooYx\x20=\x202ajjLBc9aBjb.bQYNL(P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20DfbjSwooYx\x20=\x20Dfbj9aBjb.bQYNL(-2ajjLBc9aBjb.QLcIjD\x20+\x20P).nfYc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x202ajjLBcSwooYx\x20===\x20DfbjSwooYx;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QLj\x20ufyaYcsaQYu\x20=\x20oaQbL;\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(YbvBfEbLB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20(ufyaYc\x20&&\x20ufyaYc.QLcIjD)\x20?\x20ufyaYc.bfyL((uymjLy)\x20=>\x20YbpfyaYcZajNDYcI(uymjLy,\x20QfNajYfc.DfbjcayL))\x20:\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Yo\x20(QfNajYfc.DfbjcayL\x20===\x20\x27QfNaQDfbj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20LQbL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ufyaYcsaQYu\x20=\x20jBwL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfcbj\x20eaQYu\x20=\x20bYIcsaQYu\x20&&\x20ufyaYcsaQYu;\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20fBYIYcZLbbaIL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20NajND\x20(LBBfB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BLjwBc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eaQYu:\x20oaQbL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLbbaIL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x19d386 extends _0x43e897[_0x19da9a(0x10c)]{constructor(){const _0x59ea9e=_0x19da9a;super(...arguments),_0x283905(this,_0x59ea9e(0x117),new Map());}['dispose'](){const _0x34c7a1=_0x19da9a;super[_0x34c7a1(0x124)](),this[_0x34c7a1(0x117)][_0x34c7a1(0x158)]();}async[_0x19da9a(0x1c5)](){const _0xa65b67=_0x19da9a;this['_updateRangeFlatten']();const _0x160593=this['_currentConfigService']['getFormulaData'](),_0x77d777=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x3d7926=this[_0xa65b67(0x1be)][_0xa65b67(0x11d)]();_0x3d7926!=null&&Object[_0xa65b67(0x16d)](_0x3d7926)[_0xa65b67(0x1bc)](_0x26d519=>{_0x26d519!=null&&Object['keys'](_0x3d7926[_0x26d519])['forEach'](_0x27f5e0=>{const _0x1cc8cb=_0x2b22;_0x27f5e0!=null&&(this[_0x1cc8cb(0x129)][_0x1cc8cb(0x1ba)](_0x26d519,_0x27f5e0),this[_0x1cc8cb(0x129)][_0x1cc8cb(0x19d)](_0x26d519,_0x27f5e0),this[_0x1cc8cb(0x129)]['clearFormulaDependency'](_0x26d519,_0x27f5e0));});});const _0xb630df=this[_0xa65b67(0x1be)][_0xa65b67(0x14b)]();await this[_0xa65b67(0x16f)](_0x160593,_0x77d777,_0xb630df),this[_0xa65b67(0x129)][_0xa65b67(0x1c0)]();const _0x5d92ae=this['_getUpdateTreeListAndMakeDependency'](),_0x353985=this[_0xa65b67(0x1a3)](_0x5d92ae);return this[_0xa65b67(0x115)](_0x353985)&&this[_0xa65b67(0x192)]['enableCycleDependency'](),this[_0xa65b67(0x117)][_0xa65b67(0x158)](),this['_dependencyRTreeCacheForAddressFunction'][_0xa65b67(0x158)](),this['_dependencyManagerService'][_0xa65b67(0x16a)](),this[_0xa65b67(0x192)][_0xa65b67(0x150)](),Promise[_0xa65b67(0x1a4)](_0x353985);}['_isCyclicUtilMap'](_0x1682f7,_0x2e8c80){const _0x4a0beb=_0x19da9a,_0x143a7d=[_0x1682f7];for(;_0x143a7d[_0x4a0beb(0x132)]>0x0;){const _0x21393f=_0x143a7d[_0x143a7d[_0x4a0beb(0x132)]-0x1];if((_0x2e8c80[_0x4a0beb(0x131)](_0x21393f)||0x0)===0x0){_0x2e8c80[_0x4a0beb(0x1b6)](_0x21393f,0x1);const _0xdf4729=this[_0x4a0beb(0x117)][_0x4a0beb(0x131)](_0x21393f);if(_0xdf4729==null){_0x2e8c80[_0x4a0beb(0x1b6)](_0x21393f,0x2),_0x143a7d['pop']();continue;}const _0x927955=this[_0x4a0beb(0x129)][_0x4a0beb(0x180)](_0xdf4729[_0x4a0beb(0x17a)]());for(const _0xfb19cd of _0x927955){const _0x47d6fe=_0x2e8c80[_0x4a0beb(0x131)](_0xfb19cd)||0x0;if(_0x47d6fe===0x1)return!0x0;_0x47d6fe===0x0&&_0x143a7d[_0x4a0beb(0x1d5)](_0xfb19cd);}}else _0x2e8c80['set'](_0x21393f,0x2),_0x143a7d[_0x4a0beb(0x10e)]();}return!0x1;}[_0x19da9a(0x115)](_0x1cc191){const _0x4aec9f=_0x19da9a,_0x5aa63a=new Map();for(const _0x576130 of _0x1cc191)if(!_0x5aa63a[_0x4aec9f(0x15b)](_0x576130[_0x4aec9f(0x18e)])&&this[_0x4aec9f(0x154)](_0x576130['treeId'],_0x5aa63a))return!0x0;return _0x5aa63a['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x85525,_0x1ae022,_0x37a7e5){const _0x337c5d=_0x19da9a,{unitId:_0x31fca0,subUnitId:_0x5aaf07,dependencyRanges:_0x1e502b,getDirtyData:_0x338594}=_0x37a7e5,_0x2da843=_0x1ae022||_0x43e897[_0x337c5d(0x1ab)](this[_0x337c5d(0x129)]),_0x2fcfcb=new _0x43e897[(_0x337c5d(0x17f))](_0x2da843);_0x2fcfcb['unitId']=_0x31fca0,_0x2fcfcb[_0x337c5d(0x18b)]=_0x5aaf07,_0x2fcfcb[_0x337c5d(0x19f)]=_0x1e502b,_0x2fcfcb['getDirtyData']=_0x338594;const _0xd644ef=_0x338594(this[_0x337c5d(0x1be)][_0x337c5d(0x16b)](),this[_0x337c5d(0x192)][_0x337c5d(0x10a)]()),_0x2b13db=this['_convertDirtyRangesToUnitRange'](_0xd644ef['dirtyRanges']);return _0x2fcfcb['featureDirtyRanges']=_0x2b13db,_0x2fcfcb[_0x337c5d(0x172)]=_0x85525,_0x2fcfcb[_0x337c5d(0x1d6)]=_0x43e897['FormulaDependencyTreeType'][_0x337c5d(0x18c)],this[_0x337c5d(0x129)][_0x337c5d(0x1c2)](_0x31fca0,_0x5aaf07,_0x85525,_0x2fcfcb),this[_0x337c5d(0x117)][_0x337c5d(0x1b6)](_0x2fcfcb['treeId'],_0x2fcfcb),this['_dependencyManagerService'][_0x337c5d(0x113)](_0x37a7e5['unitId'],_0x37a7e5['subUnitId'],_0x85525)&&(_0x2fcfcb[_0x337c5d(0x1bb)]=!0x0),_0x2fcfcb;}[_0x19da9a(0x197)](_0x41d31b,_0x3393a1,_0x38f2ff){const _0x3258a3=_0x19da9a;var _0x1cae4b;for(const _0x175b6c of _0x3393a1){const _0x3e851a=_0x41d31b[_0x175b6c];if(_0x3e851a==null)continue;const _0x21fd4c=Object[_0x3258a3(0x16d)](_0x3e851a);for(const _0x514105 of _0x21fd4c){const _0x615bb1=_0x3e851a[_0x514105];if(_0x615bb1==null)continue;const _0x2e6acb=Object[_0x3258a3(0x16d)](_0x615bb1);for(const _0x2b30bc of _0x2e6acb){const _0x1bf51e=this['_dependencyManagerService'][_0x3258a3(0x1ac)](_0x2b30bc),_0x2dae75=_0x615bb1[_0x2b30bc],{f:_0x3774ac,ranges:_0x5c344d}=_0x2dae75;let _0x7b6155=!0x1;_0x1bf51e&&(_0x7b6155=!0x0);const {firstRow:_0x10cd97,firstColumn:_0x9a96ef}=this['_getFirstCellOfRange'](_0x5c344d),_0x54d6f1=this[_0x3258a3(0x129)][_0x3258a3(0x114)](_0x175b6c,_0x514105,_0x2b30bc),_0xad2ef7=(_0x1cae4b=_0x54d6f1==null?void 0x0:_0x54d6f1[_0x3258a3(0x1db)](0x0,0x0))!=null?_0x1cae4b:_0x43e897[_0x3258a3(0x1ab)](this[_0x3258a3(0x129)]),_0x4375a0=new _0x43e897[(_0x3258a3(0x17f))](_0xad2ef7);for(let _0x1086be=0x0;_0x1086be<_0x5c344d[_0x3258a3(0x132)];_0x1086be++){const _0x14cf9d=_0x5c344d[_0x1086be],{startRow:_0x31266e,startColumn:_0x2f1d9b,endRow:_0x34882c,endColumn:_0x3243e0}=_0x14cf9d;for(let _0x5066f0=_0x31266e;_0x5066f0<=_0x34882c;_0x5066f0++)for(let _0x1fd4d6=_0x2f1d9b;_0x1fd4d6<=_0x3243e0;_0x1fd4d6++){const _0xa6bad1=_0x1fd4d6-_0x9a96ef,_0x21630c=_0x5066f0-_0x10cd97;if(_0xa6bad1===0x0&&_0x21630c===0x0){_0x4375a0[_0x3258a3(0x1dd)]=_0x3774ac,_0x4375a0[_0x3258a3(0x176)]=_0x175b6c,_0x4375a0[_0x3258a3(0x18b)]=_0x514105,_0x4375a0[_0x3258a3(0x1c6)]=_0x2b30bc,_0x4375a0[_0x3258a3(0x1d6)]=_0x43e897[_0x3258a3(0x161)][_0x3258a3(0x10f)],_0x4375a0[_0x3258a3(0x1bb)]=_0x7b6155,_0x38f2ff[_0x3258a3(0x1d5)](_0x4375a0),this[_0x3258a3(0x117)]['set'](_0x4375a0[_0x3258a3(0x18e)],_0x4375a0),this['_dependencyManagerService'][_0x3258a3(0x143)](_0x175b6c,_0x514105,_0x2b30bc,_0x4375a0),this[_0x3258a3(0x129)]['addFormulaDependencyByDefinedName'](_0x4375a0);continue;}const _0x4e6057=new _0x43e897[(_0x3258a3(0x140))]();_0x4e6057[_0x3258a3(0x18e)]=(_0x54d6f1==null?void 0x0:_0x54d6f1[_0x3258a3(0x1db)](_0xa6bad1,_0x21630c))||_0x43e897[_0x3258a3(0x1ab)](this['_dependencyManagerService']),_0x4e6057[_0x3258a3(0x1cf)]=_0x4375a0,_0x4e6057['refOffsetX']=_0xa6bad1,_0x4e6057['refOffsetY']=_0x21630c,_0x4e6057[_0x3258a3(0x1bb)]=_0x7b6155,this[_0x3258a3(0x129)][_0x3258a3(0x143)](_0x175b6c,_0x514105,_0x2b30bc,_0x4e6057),this['_dependencyManagerService'][_0x3258a3(0x181)](_0x4e6057),_0x38f2ff[_0x3258a3(0x1d5)](_0x4e6057),this['_dependencyTreeCache'][_0x3258a3(0x1b6)](_0x4e6057[_0x3258a3(0x18e)],_0x4e6057);}}this[_0x3258a3(0x129)][_0x3258a3(0x19e)](_0x2b30bc);}}}}[_0x19da9a(0x162)](_0x594aad,_0xc13a65,_0x52ee09,_0x3d49d7){const _0x56f6b5=_0x19da9a;for(const _0x2b0b9c of _0x594aad){const _0x57f31e=_0xc13a65[_0x2b0b9c];if(_0x57f31e==null)continue;const _0x4b093d=Object[_0x56f6b5(0x16d)](_0x57f31e);for(const _0x382daf of _0x4b093d){const _0x291db6=new _0x228d1a['ObjectMatrix'](_0x57f31e[_0x382daf]||{}),_0x2481c2=new Map();_0x291db6[_0x56f6b5(0x151)]((_0x32af97,_0x48e276,_0x1ac371)=>{const _0x53a633=_0x56f6b5;if(_0x1ac371==null)return!0x0;const {x:_0x25477f=0x0,y:_0x39aef0=0x0,si:_0x498781}=_0x1ac371;if(!(_0x25477f===0x0&&_0x39aef0===0x0&&_0x498781!=null))return!0x0;const _0x4508cf=this[_0x53a633(0x13d)](_0x2b0b9c,_0x382daf,_0x32af97,_0x48e276,_0x52ee09,_0x1ac371),_0x5c8fb0=this[_0x53a633(0x129)][_0x53a633(0x17c)](_0x2b0b9c,_0x382daf,_0x32af97,_0x48e276);_0x5c8fb0!=null?_0x4508cf['treeId']=_0x5c8fb0:(this['_dependencyManagerService'][_0x53a633(0x1e0)](_0x2b0b9c,_0x382daf,_0x32af97,_0x48e276,_0x4508cf),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4508cf)),_0x2481c2['set'](_0x498781,_0x4508cf),_0x3d49d7[_0x53a633(0x1d5)](_0x4508cf),this['_dependencyTreeCache'][_0x53a633(0x1b6)](_0x4508cf[_0x53a633(0x18e)],_0x4508cf);}),_0x291db6[_0x56f6b5(0x151)]((_0x58b039,_0x441997,_0x5c640e)=>{const _0x27612c=_0x56f6b5;if(_0x5c640e==null)return!0x0;const {x:_0x30160a=0x0,y:_0x2992b4=0x0,si:_0x3f4801}=_0x5c640e;if(_0x30160a===0x0&&_0x2992b4===0x0&&_0x3f4801!=null)return!0x0;let _0x44bfd3;if(_0x3f4801&&_0x2481c2[_0x27612c(0x15b)](_0x3f4801)){const _0x3f4880=_0x2481c2[_0x27612c(0x131)](_0x3f4801);_0x44bfd3=this[_0x27612c(0x148)](_0x3f4880,_0x5c640e);}else _0x44bfd3=this[_0x27612c(0x13d)](_0x2b0b9c,_0x382daf,_0x58b039,_0x441997,_0x52ee09,_0x5c640e);const _0xf5a81c=this[_0x27612c(0x129)]['getFormulaDependency'](_0x2b0b9c,_0x382daf,_0x58b039,_0x441997);_0xf5a81c!=null?_0x44bfd3['treeId']=_0xf5a81c:(this[_0x27612c(0x129)][_0x27612c(0x1e0)](_0x2b0b9c,_0x382daf,_0x58b039,_0x441997,_0x44bfd3),this['_dependencyManagerService'][_0x27612c(0x181)](_0x44bfd3)),_0x3d49d7['push'](_0x44bfd3),this[_0x27612c(0x117)][_0x27612c(0x1b6)](_0x44bfd3[_0x27612c(0x18e)],_0x44bfd3);}),_0x2481c2[_0x56f6b5(0x158)]();}}}['_createFDtree'](_0x55d4e5,_0x299cf4,_0x254b74,_0x5a7464,_0x5291f7,_0x6624c5){const _0x5f31f0=_0x19da9a,{f:_0x111ba4,x:_0x42c4b7=0x0,y:_0x1464ac=0x0}=_0x6624c5,_0x9bd371=new _0x43e897[(_0x5f31f0(0x17f))](_0x43e897[_0x5f31f0(0x1ab)](this[_0x5f31f0(0x129)])),_0x4db83d=_0x5291f7[_0x55d4e5][_0x299cf4];return _0x9bd371['formula']=_0x111ba4,_0x9bd371['unitId']=_0x55d4e5,_0x9bd371[_0x5f31f0(0x18b)]=_0x299cf4,_0x9bd371['row']=_0x254b74,_0x9bd371['column']=_0x5a7464,_0x9bd371[_0x5f31f0(0x159)]=_0x4db83d['rowCount'],_0x9bd371[_0x5f31f0(0x183)]=_0x4db83d[_0x5f31f0(0x183)],_0x9bd371;}[_0x19da9a(0x1a0)](){const _0x2af854=_0x19da9a,_0x1d0c43=[],_0x3bbbb1=new Set(),_0x414a0d=this['_currentConfigService'][_0x2af854(0x166)](),_0x169a25=this[_0x2af854(0x1be)]['getDirtyRanges'](),_0x464f83=this[_0x2af854(0x129)][_0x2af854(0x180)](_0x169a25),_0x24efee=this['_dependencyRTreeCacheForAddressFunction'][_0x2af854(0x163)](_0x169a25);for(const _0x340a96 of _0x24efee)_0x464f83[_0x2af854(0x187)](_0x340a96);for(const [_0x3eb981,_0x394d3f]of this[_0x2af854(0x117)])(_0x414a0d||_0x394d3f[_0x2af854(0x1af)]||_0x394d3f['dependencySheetName'](this[_0x2af854(0x1be)][_0x2af854(0x1e3)]())||_0x464f83['has'](_0x3eb981)&&!_0x394d3f[_0x2af854(0x11f)](this['_currentConfigService'][_0x2af854(0x15e)]()))&&!_0x3bbbb1[_0x2af854(0x15b)](_0x3eb981)&&(_0x1d0c43[_0x2af854(0x1d5)](_0x394d3f),_0x3bbbb1['add'](_0x3eb981));for(const [_0x569b88,_0x38cc21]of this[_0x2af854(0x117)])_0x38cc21[_0x2af854(0x1c3)]||(_0x38cc21[_0x2af854(0x19f)][_0x2af854(0x132)]=0x0);return _0x1d0c43;}[_0x19da9a(0x1d2)](_0x5eb6cb){const _0x389e58=_0x19da9a;return this[_0x389e58(0x117)][_0x389e58(0x131)](_0x5eb6cb);}[_0x19da9a(0x165)](_0x4ef2cb){const _0x233c12=_0x19da9a;return _0x43e897['generateAstNode'](_0x4ef2cb[_0x233c12(0x176)],_0x4ef2cb['formula'],this['_lexer'],this[_0x233c12(0x1a7)],this[_0x233c12(0x1be)]);}*['_traverse'](_0x275413,_0x7af9e6){const _0x4b83c0=_0x19da9a,_0x5c5489=_0x275413,_0x2de546=new Set();for(;_0x5c5489[_0x4b83c0(0x132)]>0x0;){const _0x5a535b=_0x5c5489[_0x4b83c0(0x10e)]();if(_0x2de546[_0x4b83c0(0x158)](),_0x5a535b===void 0x0||_0x5a535b[_0x4b83c0(0x1e6)]())continue;if(_0x5a535b['isAdded']()){yield _0x5a535b,_0x5a535b[_0x4b83c0(0x1aa)](),_0x7af9e6['add'](_0x5a535b[_0x4b83c0(0x18e)]);continue;}const _0x3844a4=this[_0x4b83c0(0x129)]['searchDependency'](_0x5a535b[_0x4b83c0(0x17a)](),_0x7af9e6),_0xf43ad3=this[_0x4b83c0(0x118)]['bulkSearch'](_0x5a535b[_0x4b83c0(0x17a)](),_0x7af9e6);for(const _0x4666b8 of _0xf43ad3)_0x3844a4[_0x4b83c0(0x187)](_0x4666b8);for(const _0x5f5450 of _0x3844a4){const _0x53a0a0=this['_dependencyTreeCache'][_0x4b83c0(0x131)](_0x5f5450);if(!_0x53a0a0)throw new Error(_0x4b83c0(0x18d));_0x53a0a0['isAdded']()||_0x5a535b[_0x4b83c0(0x1e6)]()||_0x2de546['add'](_0x53a0a0);}if(_0x3844a4[_0x4b83c0(0x158)](),_0x2de546[_0x4b83c0(0x1cc)]===0x0)yield _0x5a535b,_0x5a535b[_0x4b83c0(0x1aa)](),_0x7af9e6[_0x4b83c0(0x187)](_0x5a535b[_0x4b83c0(0x18e)]);else{_0x5a535b[_0x4b83c0(0x186)](),_0x5c5489[_0x4b83c0(0x1d5)](_0x5a535b);for(const _0x5b88bc of _0x2de546)_0x5c5489[_0x4b83c0(0x1d5)](_0x5b88bc);}}_0x5c5489[_0x4b83c0(0x132)]=0x0,_0x2de546[_0x4b83c0(0x158)]();}[_0x19da9a(0x1a3)](_0x345574){const _0x5ca103=_0x19da9a,_0x2d0489=[],_0x412c3d=new Set();for(const _0x5d4e85 of this[_0x5ca103(0x17e)](_0x345574,_0x412c3d))_0x2d0489[_0x5ca103(0x1d5)](_0x5d4e85);return _0x2d0489;}}class _0x236530 extends _0x43e897['LexerTreeBuilder']{constructor(){const _0x50eb31=_0x19da9a;super(...arguments),_0x283905(this,_0x50eb31(0x1b4),!0x1),_0x283905(this,'_lambdaFunctionParameterSet',new Set());}[_0x19da9a(0x1ae)](_0xd4e438,_0x3146bf){const _0x186de7=_0x19da9a,_0x58b680=this[_0x186de7(0x1c9)](_0xd4e438,!0x1);if(!_0x58b680||_0x58b680===_0x43e897[_0x186de7(0x1e9)][_0x186de7(0x1ca)]||Array[_0x186de7(0x12b)](_0x58b680))return null;const _0x1c5a53=[];return this['_hasNewExcelFunction']=!0x1,this['_generateNewFunctionString'](_0x58b680,_0x1c5a53,_0x3146bf),this[_0x186de7(0x1b4)]?'='+_0x1c5a53[_0x186de7(0x15f)](''):null;}[_0x19da9a(0x175)](_0x803462,_0x252842,_0x5c807e){const _0x519677=_0x19da9a,_0x250152=_0x803462[_0x519677(0x1dc)](),_0x5a0789=_0x250152[_0x519677(0x156)](),_0x4a29d7=_0x5a0789['toUpperCase'](),_0x2f0cb4=this[_0x519677(0x185)](_0x4a29d7),_0x5677ec=_0x5c807e(_0x2f0cb4);let _0x294a98=0x0;_0x250152===_0x43e897['DEFAULT_TOKEN_TYPE_ROOT']?_0x294a98=0x3:_0x250152===_0x43e897['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x294a98=0x4:_0x250152===_0x43e897[_0x519677(0x12d)]?_0x294a98=0x5:_0x43e897[_0x519677(0x120)][_0x519677(0x15b)](_0x2f0cb4)?(_0x252842['push'](_0x519677(0x1b5)+_0x5a0789),this[_0x519677(0x1b4)]=!0x0):_0x4a29d7===_0x43e897[_0x519677(0x1da)]?(_0x252842[_0x519677(0x1d5)]('_xlfn.'+_0x5a0789),this[_0x519677(0x1b4)]=!0x0,_0x294a98=0x2):_0x4a29d7===_0x43e897[_0x519677(0x144)]?(_0x252842[_0x519677(0x1d5)]('_xlfn.'+_0x5a0789),this['_hasNewExcelFunction']=!0x0,_0x294a98=0x1):_0x4a29d7===_0x43e897[_0x519677(0x137)][_0x519677(0x10d)]?_0x294a98=0x8:_0x43e897[_0x519677(0x1d0)][_0x519677(0x15b)](_0x4a29d7)?_0x294a98=0x7:_0x4a29d7===_0x43e897[_0x519677(0x10b)][_0x519677(0x1de)]?(this[_0x519677(0x195)](_0x803462)&&(_0x294a98=0x9),_0x252842[_0x519677(0x1d5)](_0x250152)):(_0x252842[_0x519677(0x1d5)](_0x250152),_0x294a98=0xa),_0x5677ec?(_0x294a98!==0x2&&_0x294a98!==0x1&&(_0x294a98=0x6),_0x252842[_0x519677(0x1d5)]('(')):_0x294a98===0x9&&_0x252842[_0x519677(0x1d5)]('(');const _0x47bde8=_0x803462[_0x519677(0x146)](),_0x15d225=_0x47bde8[_0x519677(0x132)];if(_0x294a98===0x2){const _0x99e2d9=_0x47bde8[0x0];let _0x55b195=0x0;_0x99e2d9 instanceof _0x43e897['LexerNode']&&_0x99e2d9[_0x519677(0x1dc)]()===_0x43e897['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']&&(_0x55b195=0x1);for(let _0x2e17b2=_0x55b195;_0x2e17b2<_0x15d225-0x1;_0x2e17b2++){const _0x49de7b=_0x47bde8[_0x2e17b2];if(_0x49de7b instanceof _0x43e897['LexerNode']){const _0x52a325=_0x49de7b['getChildren']()[0x0];typeof _0x52a325=='string'&&(this['_lambdaFunctionParameterSet']['has'](_0x52a325)&&console[_0x519677(0x1d1)]('Lambda\x20parameter\x20name\x20\x22'+_0x52a325+_0x519677(0x191)),this[_0x519677(0x1e2)][_0x519677(0x187)](_0x52a325),_0x252842['push'](_0x519677(0x19c)+_0x52a325),this[_0x519677(0x1b4)]=!0x0);}_0x252842[_0x519677(0x1d5)](',');}this[_0x519677(0x138)](_0x47bde8[_0x15d225-0x1],_0x252842,_0x5c807e),_0x55b195===0x1&&(_0x252842[_0x519677(0x1d5)](')'),_0x252842[_0x519677(0x1d5)]('('),this[_0x519677(0x175)](_0x99e2d9,_0x252842,_0x5c807e)),_0x252842['push'](')');return;}else{if(_0x294a98===0x1){for(let _0x685aa3=0x0;_0x685aa3<_0x15d225-0x1;_0x685aa3++){const _0x487bf0=_0x47bde8[_0x685aa3];if(_0x487bf0 instanceof _0x43e897[_0x519677(0x188)]&&_0x685aa3%0x2===0x0){const _0xd713dc=_0x487bf0[_0x519677(0x146)]()[0x0];if(typeof _0xd713dc==_0x519677(0x142)){this[_0x519677(0x1e2)][_0x519677(0x15b)](_0xd713dc)&&console[_0x519677(0x1d1)](_0x519677(0x14d)+_0xd713dc+_0x519677(0x191)),this[_0x519677(0x1e2)][_0x519677(0x187)](_0xd713dc),_0x252842[_0x519677(0x1d5)](_0x519677(0x19c)+_0xd713dc),this[_0x519677(0x1b4)]=!0x0,_0x252842[_0x519677(0x1d5)](',');continue;}}if(this[_0x519677(0x138)](_0x487bf0,_0x252842,_0x5c807e),_0x487bf0 instanceof _0x43e897[_0x519677(0x188)]){const _0x3c5b62=_0x47bde8[_0x685aa3+0x1];_0x3c5b62&&_0x3c5b62 instanceof _0x43e897[_0x519677(0x188)]&&_0x252842[_0x519677(0x1d5)](',');}}this['_handleNewFunctionChild'](_0x47bde8[_0x15d225-0x1],_0x252842,_0x5c807e),_0x252842[_0x519677(0x1d5)](')');return;}else{if(_0x294a98===0x8){const _0x17eb4d=_0x47bde8[0x0],_0x565798=_0x47bde8[0x1];this['_handleNewFunctionChild'](_0x17eb4d,_0x252842,_0x5c807e),_0x252842['push'](_0x250152),this['_handleNewFunctionChild'](_0x565798,_0x252842,_0x5c807e);return;}}}for(let _0x4f5d4d=0x0;_0x4f5d4d<_0x15d225;_0x4f5d4d++){const _0x29fa53=_0x47bde8[_0x4f5d4d];if(this['_handleNewFunctionChild'](_0x29fa53,_0x252842,_0x5c807e),_0x29fa53 instanceof _0x43e897[_0x519677(0x188)]){const _0x3e6110=_0x47bde8[_0x4f5d4d+0x1];_0x3e6110&&_0x3e6110 instanceof _0x43e897[_0x519677(0x188)]&&_0x252842[_0x519677(0x1d5)](',');}}_0x294a98===0x7&&_0x252842['push'](_0x250152),(_0x5677ec||_0x294a98===0x9)&&_0x252842['push'](')');}[_0x19da9a(0x138)](_0x19390c,_0x3e44b4,_0xd578b5){const _0xf109d4=_0x19da9a;_0x19390c instanceof _0x43e897[_0xf109d4(0x188)]?this['_generateNewFunctionString'](_0x19390c,_0x3e44b4,_0xd578b5):this[_0xf109d4(0x1e2)]['has'](_0x19390c)?(_0x3e44b4['push'](_0xf109d4(0x19c)+_0x19390c),this['_hasNewExcelFunction']=!0x0):_0x3e44b4[_0xf109d4(0x1d5)](_0x19390c);}['_clearFunctionString'](_0x283ab9){const _0x58f6e5=_0x19da9a;let _0x194315=_0x283ab9[_0x58f6e5(0x156)]();if(!_0x194315)return _0x194315;const _0x5b0dd6=_0x194315[0x0];if((_0x5b0dd6===_0x43e897[_0x58f6e5(0x10b)]['AT']||_0x5b0dd6===_0x43e897[_0x58f6e5(0x10b)][_0x58f6e5(0x1de)]||_0x5b0dd6===_0x43e897['prefixToken']['PLUS'])&&(_0x194315=_0x194315[_0x58f6e5(0x157)](0x1)),!_0x194315)return _0x194315;const _0x1ed222=_0x194315[_0x194315[_0x58f6e5(0x132)]-0x1];return _0x43e897['SUFFIX_TOKEN_SET'][_0x58f6e5(0x15b)](_0x1ed222)&&(_0x194315=_0x194315[_0x58f6e5(0x157)](0x0,-0x1)),_0x194315;}[_0x19da9a(0x195)](_0x1f7dee){const _0x399744=_0x19da9a,_0x438d64=_0x1f7dee[_0x399744(0x146)]()[0x0];if(!_0x438d64||!(_0x438d64 instanceof _0x43e897['LexerNode'])||_0x1f7dee[_0x399744(0x146)]()[_0x399744(0x132)]>0x1)return!0x1;const _0x24cf5f=_0x438d64[_0x399744(0x146)](),_0x385c58=_0x24cf5f[_0x399744(0x132)];if(_0x385c58===0x1)return!0x1;for(let _0x15556f=0x0;_0x15556f<_0x385c58;_0x15556f++){const _0x1d8b14=_0x24cf5f[_0x15556f];if(!(_0x1d8b14 instanceof _0x43e897[_0x399744(0x188)])&&_0x43e897[_0x399744(0x1df)]['has'](_0x1d8b14))return!0x0;}return!0x1;}}class _0x41d7e1 extends _0x43e897[_0x19da9a(0x1cb)]{async[_0x19da9a(0x18f)](_0x5d3bbf=!0x1){const _0x2c89b7=_0x19da9a;_0x5d3bbf?this[_0x2c89b7(0x192)]['setFormulaExecuteStage'](_0x43e897['FormulaExecuteStageType'][_0x2c89b7(0x141)]):this[_0x2c89b7(0x192)][_0x2c89b7(0x194)](_0x43e897[_0x2c89b7(0x1d9)][_0x2c89b7(0x1e4)]),this[_0x2c89b7(0x184)][_0x2c89b7(0x1c1)](this['_runtimeService'][_0x2c89b7(0x1a8)]());const _0x1d2a6c=await this[_0x2c89b7(0x11a)]['generate'](),_0x11594c=this[_0x2c89b7(0x15c)];_0x5d3bbf?(this['_runtimeService']['setFormulaExecuteStage'](_0x43e897[_0x2c89b7(0x1d9)]['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x2c89b7(0x199)](_0x1d2a6c[_0x2c89b7(0x132)])):(this[_0x2c89b7(0x192)][_0x2c89b7(0x194)](_0x43e897['FormulaExecuteStageType']['START_CALCULATION']),this[_0x2c89b7(0x192)][_0x2c89b7(0x169)](_0x1d2a6c['length'])),this[_0x2c89b7(0x184)]['next'](this[_0x2c89b7(0x192)][_0x2c89b7(0x1a8)]());let _0x83e434=[];const _0x55c90a=this['_configService'][_0x2c89b7(0x139)](_0x43e897['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x301b7b=(_0x55c90a==null?void 0x0:_0x55c90a[_0x2c89b7(0x1e5)])||_0x43e897['DEFAULT_INTERVAL_COUNT'];let _0x361892=0x0;const _0x560c2d=_0x1d2a6c['length'];for(;_0x1d2a6c[_0x2c89b7(0x132)]>0x0;){const _0x409875=_0x1d2a6c[_0x2c89b7(0x10e)](),_0x355aa2=_0x43e897[_0x2c89b7(0x121)](_0x409875[_0x2c89b7(0x176)],_0x409875['formula'],this[_0x2c89b7(0x1d7)],this[_0x2c89b7(0x1a7)],this[_0x2c89b7(0x1be)]),_0xcddcf5={'node':_0x355aa2,'refOffsetX':_0x409875[_0x2c89b7(0x147)],'refOffsetY':_0x409875[_0x2c89b7(0x160)]},_0x2f53f8=_0x409875[_0x2c89b7(0x16b)];if(_0x361892%_0x301b7b===0x0&&(await new Promise(_0x47a855=>{const _0xde9bbd=_0x2c89b7,_0x312735=_0x228d1a[_0xde9bbd(0x1b7)](_0x47a855);_0x83e434[_0xde9bbd(0x1d5)](_0x312735);}),_0x5d3bbf?(this['_runtimeService'][_0x2c89b7(0x194)](_0x43e897[_0x2c89b7(0x1d9)][_0x2c89b7(0x14f)]),this[_0x2c89b7(0x192)][_0x2c89b7(0x196)](_0x361892+0x1)):(this[_0x2c89b7(0x192)][_0x2c89b7(0x194)](_0x43e897[_0x2c89b7(0x1d9)][_0x2c89b7(0x14a)]),this[_0x2c89b7(0x192)]['setCompletedFormulasCount'](_0x361892+0x1)),this[_0x2c89b7(0x184)][_0x2c89b7(0x1c1)](this[_0x2c89b7(0x192)]['getRuntimeState']()),this[_0x2c89b7(0x192)][_0x2c89b7(0x17b)]()||_0xcddcf5==null&&_0x2f53f8==null)){this['_runtimeService'][_0x2c89b7(0x194)](_0x43e897['FormulaExecuteStageType'][_0x2c89b7(0x152)]),this[_0x2c89b7(0x192)][_0x2c89b7(0x1e1)](),this['_executionCompleteListener$'][_0x2c89b7(0x1c1)](this[_0x2c89b7(0x192)][_0x2c89b7(0x10a)]());return;}this[_0x2c89b7(0x192)][_0x2c89b7(0x19a)](_0x409875[_0x2c89b7(0x12c)],_0x409875['column'],_0x409875[_0x2c89b7(0x159)],_0x409875[_0x2c89b7(0x183)],_0x409875[_0x2c89b7(0x18b)],_0x409875['unitId']);let _0x43660e;if(_0x2f53f8!=null&&_0x409875[_0x2c89b7(0x172)]!=null){const {runtimeCellData:_0x16e88a,dirtyRanges:_0x13218d}=_0x2f53f8(this['_currentConfigService'][_0x2c89b7(0x16b)](),this[_0x2c89b7(0x192)][_0x2c89b7(0x10a)]());this[_0x2c89b7(0x192)][_0x2c89b7(0x11e)](_0x409875[_0x2c89b7(0x172)],_0x16e88a),this['_runtimeService'][_0x2c89b7(0x110)](_0x409875[_0x2c89b7(0x172)],_0x13218d);}else _0xcddcf5!=null&&(_0x11594c['checkAsyncNode'](_0xcddcf5[_0x2c89b7(0x193)])?_0x43660e=await _0x11594c[_0x2c89b7(0x190)](_0xcddcf5):_0x43660e=_0x11594c[_0x2c89b7(0x1b2)](_0xcddcf5),_0x409875['formulaId']!=null?this[_0x2c89b7(0x192)][_0x2c89b7(0x12e)](_0x409875[_0x2c89b7(0x1c6)],_0x409875[_0x2c89b7(0x147)],_0x409875[_0x2c89b7(0x160)],_0x43660e):this['_runtimeService']['setRuntimeData'](_0x43660e));_0x355aa2[_0x2c89b7(0x18a)](),_0x361892++;}return _0x83e434['forEach'](_0x496ac8=>_0x496ac8()),_0x83e434=[],_0x560c2d>0x0?this[_0x2c89b7(0x192)][_0x2c89b7(0x1d8)]():_0x5d3bbf||this['_runtimeService'][_0x2c89b7(0x130)](),this[_0x2c89b7(0x192)][_0x2c89b7(0x10a)]();}}class _0x3314b4 extends _0x43e897['DependencyManagerBaseService']{constructor(){const _0x574367=_0x19da9a;super(...arguments),_0x283905(this,'_allTreeMap',new Map()),_0x283905(this,_0x574367(0x11b),new _0x228d1a[(_0x574367(0x1a6))](!0x0));}[_0x19da9a(0x1d3)](){const _0x2021e6=_0x19da9a;this[_0x2021e6(0x1ad)]['clear'](),this[_0x2021e6(0x1b9)][_0x2021e6(0x158)](),this[_0x2021e6(0x1c8)][_0x2021e6(0x158)](),this['_dependencyRTreeCache']['clear'](),this[_0x2021e6(0x171)]['clear'](),this[_0x2021e6(0x155)](),this[_0x2021e6(0x1b8)][_0x2021e6(0x158)]();}[_0x19da9a(0x143)](_0x498486,_0x21937e,_0x15480,_0x2cd54d){const _0x1744aa=_0x19da9a;this[_0x1744aa(0x1ad)][_0x1744aa(0x15b)](_0x498486)||this[_0x1744aa(0x1ad)]['set'](_0x498486,new Map());const _0xcb4fbe=this[_0x1744aa(0x1ad)][_0x1744aa(0x131)](_0x498486);_0xcb4fbe[_0x1744aa(0x15b)](_0x21937e)||_0xcb4fbe[_0x1744aa(0x1b6)](_0x21937e,new Map());const _0x112ff8=_0xcb4fbe['get'](_0x21937e);_0x112ff8[_0x1744aa(0x15b)](_0x15480)||_0x112ff8[_0x1744aa(0x1b6)](_0x15480,new _0x228d1a[(_0x1744aa(0x189))]()),_0x112ff8[_0x1744aa(0x131)](_0x15480)[_0x1744aa(0x136)](_0x2cd54d['refOffsetX'],_0x2cd54d[_0x1744aa(0x160)],_0x2cd54d[_0x1744aa(0x18e)]);}[_0x19da9a(0x179)](_0x39d55f,_0x4226c2,_0x4e9374){const _0x4fcc18=_0x19da9a,_0x1ace62=this[_0x4fcc18(0x1ad)][_0x4fcc18(0x131)](_0x39d55f);if(_0x1ace62&&_0x1ace62['has'](_0x4226c2)){const _0x8410ff=_0x1ace62[_0x4fcc18(0x131)](_0x4226c2);_0x4e9374['forEach'](_0x3e66db=>{const _0x1a0782=_0x4fcc18,_0x2c0a21=_0x8410ff[_0x1a0782(0x131)](_0x3e66db);_0x2c0a21!=null&&(_0x2c0a21[_0x1a0782(0x151)]((_0xbcff82,_0x10e281,_0x5afd5f)=>{const _0x2caabf=_0x1a0782;this[_0x2caabf(0x16e)](_0x5afd5f),this[_0x2caabf(0x15d)](_0x5afd5f);}),_0x8410ff[_0x1a0782(0x1b1)](_0x3e66db),this[_0x1a0782(0x1b8)][_0x1a0782(0x1b1)](_0x3e66db));}),_0x8410ff[_0x4fcc18(0x1cc)]===0x0&&_0x1ace62[_0x4fcc18(0x1b1)](_0x4226c2),_0x1ace62['size']===0x0&&this[_0x4fcc18(0x1ad)][_0x4fcc18(0x1b1)](_0x39d55f);}}[_0x19da9a(0x1ba)](_0x3be9ee,_0x14f0b5){const _0x3ba987=_0x19da9a,_0xc76984=this[_0x3ba987(0x1ad)][_0x3ba987(0x131)](_0x3be9ee);if(_0x14f0b5&&_0xc76984&&_0xc76984[_0x3ba987(0x15b)](_0x14f0b5)){const _0x340f9e=_0xc76984[_0x3ba987(0x131)](_0x14f0b5);this['_removeDependencyRTreeCacheById'](_0x3be9ee,_0x14f0b5);for(const _0x212e10 of _0x340f9e[_0x3ba987(0x16d)]()){const _0x4a5da4=_0x340f9e['get'](_0x212e10);_0x4a5da4!=null&&(_0x4a5da4[_0x3ba987(0x151)]((_0x5a8527,_0x1cfaf2,_0x5721c9)=>{const _0x2646f7=_0x3ba987;this['_allTreeMap'][_0x2646f7(0x131)](_0x5721c9)&&this['_removeAllTreeMap'](_0x5721c9);}),this['_otherFormulaDataMainData'][_0x3ba987(0x1b1)](_0x212e10));}_0x340f9e['clear']();}else{if(_0xc76984){for(const _0x21ef85 of _0xc76984[_0x3ba987(0x16d)]()){const _0x2a66b2=_0xc76984['get'](_0x21ef85);this['_removeDependencyRTreeCacheById'](_0x3be9ee,_0x21ef85);for(const _0x39f36e of _0x2a66b2[_0x3ba987(0x16d)]()){const _0x8e2aec=_0x2a66b2[_0x3ba987(0x131)](_0x39f36e);_0x8e2aec!=null&&(_0x8e2aec[_0x3ba987(0x151)]((_0x220e02,_0x58dad9,_0x35b6c4)=>{const _0x3402b3=_0x3ba987;this['_allTreeMap'][_0x3402b3(0x131)](_0x35b6c4)&&this[_0x3402b3(0x15d)](_0x35b6c4);}),this[_0x3ba987(0x1b8)][_0x3ba987(0x1b1)](_0x39f36e));}}this['_otherFormulaData'][_0x3ba987(0x1b1)](_0x3be9ee);}}}[_0x19da9a(0x1c2)](_0x41d3a4,_0x49af7e,_0x350738,_0x1ca659){const _0x58a636=_0x19da9a;this['_featureFormulaData'][_0x58a636(0x15b)](_0x41d3a4)||this['_featureFormulaData'][_0x58a636(0x1b6)](_0x41d3a4,new Map());const _0x4e239c=this[_0x58a636(0x1b9)]['get'](_0x41d3a4);_0x4e239c['has'](_0x49af7e)||_0x4e239c[_0x58a636(0x1b6)](_0x49af7e,new Map()),_0x4e239c[_0x58a636(0x131)](_0x49af7e)[_0x58a636(0x1b6)](_0x350738,_0x1ca659[_0x58a636(0x18e)]);}[_0x19da9a(0x1d4)](_0x2b3275,_0x26c12e,_0x48b9bf){const _0x35bb8d=_0x19da9a,_0x59144a=this[_0x35bb8d(0x1b9)][_0x35bb8d(0x131)](_0x2b3275);if(_0x59144a&&_0x59144a[_0x35bb8d(0x15b)](_0x26c12e)){const _0x35292d=_0x59144a['get'](_0x26c12e);_0x48b9bf[_0x35bb8d(0x1bc)](_0x18834c=>{const _0x5ef767=_0x35bb8d,_0x5e801a=_0x35292d[_0x5ef767(0x131)](_0x18834c);_0x5e801a!=null&&(this[_0x5ef767(0x16e)](_0x5e801a),_0x35292d[_0x5ef767(0x1b1)](_0x18834c),this['_removeAllTreeMap'](_0x5e801a));});}}[_0x19da9a(0x19d)](_0x9c205d,_0x51f7b2){const _0x8816e2=_0x19da9a,_0x364a8b=this['_featureFormulaData'][_0x8816e2(0x131)](_0x9c205d);if(_0x51f7b2&&_0x364a8b&&_0x364a8b[_0x8816e2(0x15b)](_0x51f7b2)){const _0x41b287=_0x364a8b[_0x8816e2(0x131)](_0x51f7b2);this[_0x8816e2(0x17d)](_0x9c205d,_0x51f7b2),_0x41b287[_0x8816e2(0x1bc)](_0xe0fab8=>{_0xe0fab8!=null&&this['_removeAllTreeMap'](_0xe0fab8);}),_0x41b287[_0x8816e2(0x158)]();}else _0x364a8b&&(_0x364a8b['forEach']((_0x29abc6,_0x2466d7)=>{const _0x2ca562=_0x8816e2;this[_0x2ca562(0x17d)](_0x9c205d,_0x2466d7),_0x29abc6['forEach'](_0x123eb5=>{const _0x3964b0=_0x2ca562;_0x123eb5!=null&&this[_0x3964b0(0x15d)](_0x123eb5);});}),this[_0x8816e2(0x1b9)][_0x8816e2(0x1b1)](_0x9c205d));}['addFormulaDependency'](_0x2cc41d,_0x43b768,_0x30842a,_0x20f3ab,_0x5ab800){const _0x37dab3=_0x19da9a;this[_0x37dab3(0x1c8)][_0x37dab3(0x15b)](_0x2cc41d)||this[_0x37dab3(0x1c8)][_0x37dab3(0x1b6)](_0x2cc41d,new Map());const _0x30f4a2=this[_0x37dab3(0x1c8)][_0x37dab3(0x131)](_0x2cc41d);_0x30f4a2[_0x37dab3(0x15b)](_0x43b768)||_0x30f4a2['set'](_0x43b768,new _0x228d1a[(_0x37dab3(0x189))]()),_0x30f4a2[_0x37dab3(0x131)](_0x43b768)[_0x37dab3(0x136)](_0x30842a,_0x20f3ab,_0x5ab800[_0x37dab3(0x18e)]);}[_0x19da9a(0x13c)](_0x4cb832,_0x16f309,_0x2f35fe,_0x528216){const _0x3fb3ae=_0x19da9a,_0x4fcc73=this[_0x3fb3ae(0x1c8)][_0x3fb3ae(0x131)](_0x4cb832);if(_0x4fcc73&&_0x4fcc73[_0x3fb3ae(0x15b)](_0x16f309)){const _0x40dc40=_0x4fcc73[_0x3fb3ae(0x131)](_0x16f309),_0x4595b6=_0x40dc40[_0x3fb3ae(0x1db)](_0x2f35fe,_0x528216);if(_0x4595b6==null)return;this[_0x3fb3ae(0x16e)](_0x4595b6),_0x40dc40['realDeleteValue'](_0x2f35fe,_0x528216),this[_0x3fb3ae(0x15d)](_0x4595b6);}}[_0x19da9a(0x11c)](_0x28c8a7,_0x3d5fe4){const _0x58fce2=_0x19da9a,_0x42ef72=this['_formulaData'][_0x58fce2(0x131)](_0x28c8a7);if(_0x3d5fe4&&_0x42ef72&&_0x42ef72['has'](_0x3d5fe4)){const _0x465546=_0x42ef72[_0x58fce2(0x131)](_0x3d5fe4);this[_0x58fce2(0x17d)](_0x28c8a7,_0x3d5fe4),_0x465546['forValue']((_0x348a1a,_0x3bb3ea,_0x453765)=>{if(_0x453765==null)return!0x0;this['_removeAllTreeMap'](_0x453765);}),_0x465546[_0x58fce2(0x1d3)]();}else _0x42ef72&&(_0x42ef72[_0x58fce2(0x1bc)]((_0x2cf02a,_0x442ea3)=>{const _0x44b83d=_0x58fce2;this[_0x44b83d(0x17d)](_0x28c8a7,_0x442ea3),_0x2cf02a[_0x44b83d(0x151)]((_0x1ae916,_0x55ddeb,_0x436774)=>{const _0x323927=_0x44b83d;if(_0x436774==null)return!0x0;this[_0x323927(0x15d)](_0x436774);});}),this['_formulaData'][_0x58fce2(0x1b1)](_0x28c8a7));}[_0x19da9a(0x16e)](_0x3d77b1){const _0x4866e2=_0x19da9a;if(_0x3d77b1==null)return;const _0x5bb83a=this[_0x4866e2(0x171)][_0x4866e2(0x131)](_0x3d77b1);if(_0x5bb83a){const _0x5c1cea=[];for(const [_0x440187,_0xdcd9df]of _0x5bb83a)for(const [_0x1d5cd9,_0x4e615a]of _0xdcd9df)_0x5c1cea[_0x4866e2(0x1d5)]({'unitId':_0x440187,'sheetId':_0x1d5cd9,'range':_0x4e615a,'id':_0x3d77b1});this[_0x4866e2(0x11b)]['bulkRemove'](_0x5c1cea);}}['removeFormulaDependencyByDefinedName'](_0x317f01,_0x3e34c3){const _0x549603=_0x19da9a,_0x148de9=this[_0x549603(0x1a1)][_0x549603(0x131)](_0x317f01);if(_0x148de9){const _0x19c508=_0x148de9[_0x549603(0x131)](_0x3e34c3);if(_0x19c508){for(const _0x36fa0c of _0x19c508)this[_0x549603(0x16e)](_0x36fa0c),this[_0x549603(0x15d)](_0x36fa0c);_0x19c508['clear']();}}}['openKdTree'](){const _0x37756e=_0x19da9a;this['_dependencyRTreeCache'][_0x37756e(0x1c0)]();}['closeKdTree'](){const _0x25363a=_0x19da9a;this['_dependencyRTreeCache'][_0x25363a(0x16a)]();}[_0x19da9a(0x15d)](_0x4c8928){const _0x42cab0=_0x19da9a;_0x4c8928!=null&&this[_0x42cab0(0x171)][_0x42cab0(0x1b1)](_0x4c8928);}[_0x19da9a(0x14c)](_0x3e885f){const _0x176076=_0x19da9a;var _0x2ca11f,_0x590bb4;const _0x21da36=_0x3e885f['rangeList'];let _0x138bc2=this['_allTreeMap'][_0x176076(0x131)](_0x3e885f['treeId']);for(let _0x399db7=0x0;_0x399db7<_0x21da36['length'];_0x399db7++){const _0x515af9=_0x21da36[_0x399db7];let {unitId:_0x42b70f,sheetId:_0x42f57f,range:_0x3559c8}=_0x515af9;_0x138bc2||(_0x138bc2=new Map(),this[_0x176076(0x171)][_0x176076(0x1b6)](_0x3e885f[_0x176076(0x18e)],_0x138bc2)),_0x138bc2[_0x176076(0x15b)](_0x42b70f)||_0x138bc2['set'](_0x42b70f,new Map());const _0x317e0d=(_0x2ca11f=_0x138bc2==null?void 0x0:_0x138bc2[_0x176076(0x131)](_0x42b70f))==null?void 0x0:_0x2ca11f['get'](_0x42f57f);_0x317e0d&&(_0x3559c8={'startRow':Math[_0x176076(0x123)](_0x3559c8[_0x176076(0x111)],_0x317e0d[_0x176076(0x111)]),'startColumn':Math[_0x176076(0x123)](_0x3559c8[_0x176076(0x170)],_0x317e0d['startColumn']),'endRow':Math[_0x176076(0x168)](_0x3559c8[_0x176076(0x198)],_0x317e0d[_0x176076(0x198)]),'endColumn':Math[_0x176076(0x168)](_0x3559c8[_0x176076(0x1b0)],_0x317e0d[_0x176076(0x1b0)])}),(_0x590bb4=_0x138bc2['get'](_0x42b70f))==null||_0x590bb4[_0x176076(0x1b6)](_0x42f57f,_0x3559c8);}}}var _0x182218=Object[_0x19da9a(0x1a5)],_0x50a5cb=(_0x84074d,_0x41fb13,_0x57c87f,_0x25149c)=>{const _0x5995ff=_0x19da9a;for(var _0x32b635=_0x25149c>0x1?void 0x0:_0x25149c?_0x182218(_0x41fb13,_0x57c87f):_0x41fb13,_0x339762=_0x84074d[_0x5995ff(0x132)]-0x1,_0x12cda0;_0x339762>=0x0;_0x339762--)(_0x12cda0=_0x84074d[_0x339762])&&(_0x32b635=_0x12cda0(_0x32b635)||_0x32b635);return _0x32b635;};const _0x33d395=Number['parseInt'](0x69216394);_0x19b94a[_0x19da9a(0x1ce)]=class extends _0x43e897[_0x19da9a(0x153)]{[_0x19da9a(0x12f)](){const _0x3b3ef0=_0x19da9a;var _0x8686d,_0xe77d32;this['_initLicenseValid']()?(this[_0x3b3ef0(0x14e)][_0x3b3ef0(0x187)]([_0x43e897[_0x3b3ef0(0x133)],{'useClass':_0x236530}]),(_0x8686d=this['_config'])!=null&&_0x8686d[_0x3b3ef0(0x116)]||[[_0x43e897['ICalculateFormulaService'],{'useClass':_0x41d7e1}],[_0x43e897['IDependencyManagerService'],{'useClass':_0x3314b4}],[_0x43e897['IFormulaDependencyGenerator'],{'useClass':_0x19d386}]][_0x3b3ef0(0x1bc)](_0x478e25=>this[_0x3b3ef0(0x14e)][_0x3b3ef0(0x187)](_0x478e25))):(this['_injector']['add']([_0x43e897[_0x3b3ef0(0x133)],{'useClass':_0x43e897[_0x3b3ef0(0x133)]}]),(_0xe77d32=this[_0x3b3ef0(0x1c4)])!=null&&_0xe77d32[_0x3b3ef0(0x116)]||[[_0x43e897[_0x3b3ef0(0x13b)],{'useClass':_0x43e897['CalculateFormulaService']}],[_0x43e897[_0x3b3ef0(0x13a)],{'useClass':_0x43e897[_0x3b3ef0(0x15a)]}],[_0x43e897['IFormulaDependencyGenerator'],{'useClass':_0x43e897[_0x3b3ef0(0x10c)]}]][_0x3b3ef0(0x1bc)](_0x21c7bb=>this[_0x3b3ef0(0x14e)][_0x3b3ef0(0x187)](_0x21c7bb)));}[_0x19da9a(0x13e)](){const _0x3b490a=_0x19da9a;var _0x4614ce;const _0x47d819=(_0x4614ce=this[_0x3b490a(0x1a2)][_0x3b490a(0x139)](_0x40ad59['LS_CONFIG_KEY']))!=null?_0x4614ce:{},{ls:_0xcafebf,pbk:_0x33fac2}=_0x47d819;if(!_0xcafebf||!_0x33fac2)return!0x1;const _0x4c0cfa=_0x40ad59[_0x3b490a(0x1bf)](_0x4722a6,_0x2ffec3),_0x12f7bb=new Function(_0x3b490a(0x173)+_0x4c0cfa)()(_0xcafebf,_0x33fac2),_0x334ad7=_0x12f7bb['message'];return _0x12f7bb[_0x3b490a(0x177)]&&_0x40ad59[_0x3b490a(0x178)](_0x334ad7,'sf',_0x33d395)?_0x40ad59[_0x3b490a(0x1b3)](_0x334ad7,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x19b94a[_0x19da9a(0x1ce)]=_0x50a5cb([_0x228d1a[_0x19da9a(0x12a)](_0x40ad59[_0x19da9a(0x19b)])],_0x19b94a[_0x19da9a(0x1ce)]),Object[_0x19da9a(0x16d)](_0x43e897)[_0x19da9a(0x1bc)](_0x272af0=>{const _0x2b9aa3=_0x19da9a;_0x272af0!==_0x2b9aa3(0x125)&&!Object[_0x2b9aa3(0x1c7)]['hasOwnProperty'][_0x2b9aa3(0x167)](_0x19b94a,_0x272af0)&&Object['defineProperty'](_0x19b94a,_0x272af0,{'enumerable':!0x0,'get':()=>_0x43e897[_0x272af0]});}),Object['defineProperty'](_0x19b94a,Symbol[_0x19da9a(0x1a9)],{'value':_0x19da9a(0x127)});}));function _0x5d49(){const _0x30ccd0=['getFormulaDependency','_removeDependencyRTreeCacheById','_traverse','FormulaDependencyTree','searchDependency','addFormulaDependencyByDefinedName','object','columnCount','_executionInProgressListener$','_clearFunctionString','setAdded','add','LexerNode','ObjectMatrix','resetCalculationState','subUnitId','FEATURE_FORMULA','ParentDependencyTree\x20object\x20is\x20null','treeId','_apply','executeAsync','\x22\x20is\x20duplicated.','_runtimeService','node','setFormulaExecuteStage','_checkAddBracketForMinus','setCompletedArrayFormulasCount','_registerOtherFormulas','endRow','setTotalArrayFormulasToCalculate','setCurrent','UniverLicensePlugin','_xlpm.','clearFeatureFormulaDependency','addOtherFormulaDependencyMainData','rangeList','_getUpdateTreeListAndMakeDependency','_definedNameMap','_configService','_calculateRunList','resolve','getOwnPropertyDescriptor','RTree','_astTreeBuilder','getRuntimeState','toStringTag','setSkip','generateRandomDependencyTreeId','hasOtherFormulaDataMainData','_otherFormulaData','getNewFormulaWithPrefix','isDirty','endColumn','delete','execute','getSheetFeatureLimit','_hasNewExcelFunction','_xlfn.','set','requestImmediateMacroTask','_otherFormulaDataMainData','_featureFormulaData','clearOtherFormulaDependency','isCache','forEach','defineProperty','_currentConfigService','unshiftString','openKdTree','next','addFeatureFormulaDependency','isVirtual','_config','generate','formulaId','prototype','_formulaData','treeBuilder','VALUE','CalculateFormulaService','size','@univerjs/core','UniverProFormulaEnginePlugin','refTree','SUFFIX_TOKEN_SET','error','_getTreeById','reset','removeFeatureFormulaDependency','push','type','_lexer','markedAsSuccessfullyExecuted','FormulaExecuteStageType','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getValue','getToken','formula','MINUS','OPERATOR_TOKEN_SET','addFormulaDependency','markedAsStopFunctionsExecuted','_lambdaFunctionParameterSet','getDirtyNameMap','START_DEPENDENCY','intervalCount','isSkip','1084215ivgKfm','@univerjs/engine-formula','ErrorType','getAllRuntimeData','prefixToken','FormulaDependencyGenerator','COLON','pop','OTHER_FORMULA','setRuntimeFeatureRange','startRow','symbol','getFeatureFormulaDependency','getOtherFormulaDependency','_checkIsCycleDependency','notExecuteFormula','_dependencyTreeCache','_dependencyRTreeCacheForAddressFunction','2752010rNUaMJ','_formulaDependencyGenerator','_dependencyRTreeCache','clearFormulaDependency','getClearDependencyTreeCache','setRuntimeFeatureCellData','isExcludeRange','NEW_EXCEL_FUNCTIONS','generateAstNode','520087gFSKrS','min','dispose','default','21MigPEo','Module','66WqwuBj','_dependencyManagerService','DependentOn','isArray','row','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','setRuntimeOtherData','_initializeWithOverride','markedAsNoFunctionsExecuted','get','length','LexerTreeBuilder','6184fHdMAR','132544qWSEaW','setValue','matchToken','_handleNewFunctionChild','getConfig','IDependencyManagerService','ICalculateFormulaService','removeFormulaDependency','_createFDtree','_initLicenseValid','UniverCore','FormulaDependencyTreeVirtual','START_DEPENDENCY_ARRAY_FORMULA','string','addOtherFormulaDependency','DEFAULT_TOKEN_LET_FUNCTION_NAME','exports','getChildren','refOffsetX','_createVirtualFDtree','UniverEngineFormula','CURRENTLY_CALCULATING','getUnitData','_addAllTreeMap','Let\x20variable\x20name\x20\x22','_injector','CURRENTLY_CALCULATING_ARRAY_FORMULA','clearArrayObjectCache','forValue','IDLE','UniverFormulaEnginePlugin','_isCyclicUtilMap','_restDependencyTreeId','trim','slice','clear','rowCount','DependencyManagerService','has','_interpreter','_removeAllTreeMap','getExcludedRange','join','refOffsetY','FormulaDependencyTreeType','_registerFormulas','bulkSearch','338334uJENBD','_getTreeNode','isForceCalculate','call','max','setTotalFormulasToCalculate','closeKdTree','getDirtyData','171VkXmJo','keys','_removeDependencyRTreeCache','_generateTreeList','startColumn','_allTreeMap','featureId','return\x20','56704tfoMOs','_generateNewFunctionString','unitId','valid','isFeatureAuthorizedWithinTime','removeOtherFormulaDependency','toRTreeItem','isStopExecution'];_0x5d49=function(){return _0x30ccd0;};return _0x5d49();}
1
+ (function(_0x467305,_0x2b6e3a){const _0x18f362=_0x16cd,_0x1eebaa=_0x467305();while(!![]){try{const _0x61c7a=-parseInt(_0x18f362(0x12a))/0x1+-parseInt(_0x18f362(0xaf))/0x2*(parseInt(_0x18f362(0x108))/0x3)+parseInt(_0x18f362(0x110))/0x4+parseInt(_0x18f362(0xa0))/0x5*(-parseInt(_0x18f362(0xb8))/0x6)+-parseInt(_0x18f362(0xbe))/0x7+-parseInt(_0x18f362(0x116))/0x8*(-parseInt(_0x18f362(0x9c))/0x9)+-parseInt(_0x18f362(0x167))/0xa*(-parseInt(_0x18f362(0x123))/0xb);if(_0x61c7a===_0x2b6e3a)break;else _0x1eebaa['push'](_0x1eebaa['shift']());}catch(_0x4e1ee9){_0x1eebaa['push'](_0x1eebaa['shift']());}}}(_0x4966,0x29e09),function(_0x366846,_0x19a7d1){const _0x42cabb=_0x16cd;typeof exports==_0x42cabb(0x141)&&typeof module<'u'?_0x19a7d1(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x42cabb(0x13d)&&define['amd']?define([_0x42cabb(0x14e),'@univerjs-pro/license','@univerjs/core','@univerjs/engine-formula'],_0x19a7d1):(_0x366846=typeof globalThis<'u'?globalThis:_0x366846||self,_0x19a7d1(_0x366846[_0x42cabb(0x16c)]={},_0x366846['UniverProLicense'],_0x366846['UniverCore'],_0x366846['UniverEngineFormula']));}(this,function(_0x52f3d3,_0x5bbc5c,_0x4358b1,_0x2be79e){'use strict';const _0x124b41=_0x16cd;var _0x24d20c=Object[_0x124b41(0x12e)],_0x3d08be=(_0x373649,_0x3f910f,_0x1e4d1d)=>_0x3f910f in _0x373649?_0x24d20c(_0x373649,_0x3f910f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e4d1d}):_0x373649[_0x3f910f]=_0x1e4d1d,_0x4cd62f=(_0x16e973,_0x4577f7,_0x3c0aa8)=>_0x3d08be(_0x16e973,typeof _0x4577f7!=_0x124b41(0x16e)?_0x4577f7+'':_0x4577f7,_0x3c0aa8);const _0x11cd9c={0x0:'3',0x1:'A',0x2:'y',0x3:'V',0x4:'z',0x5:'i',0x6:'w',0x7:'E',0x8:'c',0x9:'M','f':'0','d':'1','e':'2','u':'4','y':'5','r':'6','a':'7','m':'8','N':'9','A':'a','h':'b','C':'d','n':'e','L':'f','H':'g','F':'h','B':'j','g':'k','K':'l','G':'m','U':'n','v':'o','t':'p','R':'q','W':'r','V':'s','x':'t','S':'u','O':'v','z':'x','k':'B','Z':'C','w':'D','s':'F','p':'G','I':'H','J':'I','l':'J','P':'K','j':'L','X':'N','i':'O','c':'P','T':'Q','E':'R','Q':'S','q':'T','Y':'U','M':'W','b':'X','D':'Y','o':'Z'},_0x4a38b1=_0x124b41(0x9a);class _0x563c12 extends _0x2be79e[_0x124b41(0x169)]{constructor(){const _0x444fb7=_0x124b41;super(...arguments),_0x4cd62f(this,_0x444fb7(0xed),new Map());}[_0x124b41(0x9b)](){const _0x2554ec=_0x124b41;super['dispose'](),this[_0x2554ec(0xed)]['clear']();}async[_0x124b41(0x150)](){const _0x1cff33=_0x124b41;this['_updateRangeFlatten']();const _0x1a369e=this[_0x1cff33(0x15c)][_0x1cff33(0xbc)](),_0x1739a0=this[_0x1cff33(0xce)][_0x1cff33(0xdd)](),_0x594e7b=this[_0x1cff33(0x15c)][_0x1cff33(0x15b)]();_0x594e7b!=null&&Object[_0x1cff33(0xd0)](_0x594e7b)[_0x1cff33(0xca)](_0x28d068=>{const _0x3c36d4=_0x1cff33;_0x28d068!=null&&Object[_0x3c36d4(0xd0)](_0x594e7b[_0x28d068])['forEach'](_0x196505=>{const _0x38410c=_0x3c36d4;_0x196505!=null&&(this[_0x38410c(0xee)][_0x38410c(0x96)](_0x28d068,_0x196505),this['_dependencyManagerService'][_0x38410c(0x11d)](_0x28d068,_0x196505),this[_0x38410c(0xee)]['clearFormulaDependency'](_0x28d068,_0x196505));});});const _0xae05ca=this[_0x1cff33(0x15c)]['getUnitData']();await this[_0x1cff33(0xe3)](_0x1a369e,_0x1739a0,_0xae05ca),this[_0x1cff33(0xee)]['openKdTree']();const _0xc35bd1=this[_0x1cff33(0xb5)](),_0x31a174=this['_calculateRunList'](_0xc35bd1);return this[_0x1cff33(0xd4)](_0x31a174)&&this[_0x1cff33(0xc1)][_0x1cff33(0xd9)](),this['_dependencyTreeCache'][_0x1cff33(0xf8)](),this[_0x1cff33(0x100)]['clear'](),this['_dependencyManagerService'][_0x1cff33(0x14f)](),this[_0x1cff33(0xc1)]['clearArrayObjectCache'](),Promise[_0x1cff33(0x120)](_0x31a174);}[_0x124b41(0x14c)](_0x563eb1,_0xf7fccb){const _0x192214=_0x124b41,_0x12dd43=[_0x563eb1];for(;_0x12dd43[_0x192214(0xcb)]>0x0;){const _0x27fd9e=_0x12dd43[_0x12dd43[_0x192214(0xcb)]-0x1];if((_0xf7fccb[_0x192214(0x144)](_0x27fd9e)||0x0)===0x0){_0xf7fccb[_0x192214(0xa7)](_0x27fd9e,0x1);const _0x675dd8=this['_dependencyTreeCache'][_0x192214(0x144)](_0x27fd9e);if(_0x675dd8==null){_0xf7fccb[_0x192214(0xa7)](_0x27fd9e,0x2),_0x12dd43[_0x192214(0x160)]();continue;}const _0x318b13=this[_0x192214(0xee)][_0x192214(0xa3)](_0x675dd8[_0x192214(0x13c)]());for(const _0x333cf4 of _0x318b13){const _0x47573a=_0xf7fccb[_0x192214(0x144)](_0x333cf4)||0x0;if(_0x47573a===0x1)return!0x0;_0x47573a===0x0&&_0x12dd43['push'](_0x333cf4);}}else _0xf7fccb[_0x192214(0xa7)](_0x27fd9e,0x2),_0x12dd43[_0x192214(0x160)]();}return!0x1;}[_0x124b41(0xd4)](_0x488228){const _0xccf63=_0x124b41,_0x1cf052=new Map();for(const _0x3fc2d4 of _0x488228)if(!_0x1cf052[_0xccf63(0x147)](_0x3fc2d4[_0xccf63(0xc8)])&&this[_0xccf63(0x14c)](_0x3fc2d4[_0xccf63(0xc8)],_0x1cf052))return!0x0;return _0x1cf052[_0xccf63(0xf8)](),!0x1;}[_0x124b41(0x157)](_0x4a2fc0,_0xc6eb1b,_0x56c995){const _0x471f16=_0x124b41,{unitId:_0xc4a2ce,subUnitId:_0x5a0c93,dependencyRanges:_0x5a60ae,getDirtyData:_0x1c3d8c}=_0x56c995,_0x3f95ae=_0xc6eb1b||_0x2be79e['generateRandomDependencyTreeId'](this[_0x471f16(0xee)]),_0x6cfb62=new _0x2be79e[(_0x471f16(0xa2))](_0x3f95ae);_0x6cfb62[_0x471f16(0x9f)]=_0xc4a2ce,_0x6cfb62[_0x471f16(0xcc)]=_0x5a0c93,_0x6cfb62[_0x471f16(0x99)]=_0x5a60ae,_0x6cfb62[_0x471f16(0x13b)]=_0x1c3d8c;const _0x4dbeb6=_0x1c3d8c(this['_currentConfigService']['getDirtyData'](),this[_0x471f16(0xc1)][_0x471f16(0x11f)]()),_0x404831=this['_convertDirtyRangesToUnitRange'](_0x4dbeb6['dirtyRanges']);return _0x6cfb62[_0x471f16(0x136)]=_0x404831,_0x6cfb62[_0x471f16(0x15d)]=_0x4a2fc0,_0x6cfb62[_0x471f16(0xf3)]=_0x2be79e[_0x471f16(0x112)][_0x471f16(0xbf)],this[_0x471f16(0xee)]['addFeatureFormulaDependency'](_0xc4a2ce,_0x5a0c93,_0x4a2fc0,_0x6cfb62),this[_0x471f16(0xed)][_0x471f16(0xa7)](_0x6cfb62[_0x471f16(0xc8)],_0x6cfb62),this[_0x471f16(0xee)][_0x471f16(0x171)](_0x56c995[_0x471f16(0x9f)],_0x56c995[_0x471f16(0xcc)],_0x4a2fc0)&&(_0x6cfb62[_0x471f16(0x13a)]=!0x0),_0x6cfb62;}['_registerOtherFormulas'](_0xc7d09a,_0x160125,_0x2ca9da){const _0x3a709d=_0x124b41;var _0x2b650b;for(const _0x5b00b5 of _0x160125){const _0x57ada9=_0xc7d09a[_0x5b00b5];if(_0x57ada9==null)continue;const _0x33463f=Object[_0x3a709d(0xd0)](_0x57ada9);for(const _0x508bd0 of _0x33463f){const _0x2e9f38=_0x57ada9[_0x508bd0];if(_0x2e9f38==null)continue;const _0x4aa179=Object[_0x3a709d(0xd0)](_0x2e9f38);for(const _0x328153 of _0x4aa179){const _0x1ecd07=this[_0x3a709d(0xee)]['hasOtherFormulaDataMainData'](_0x328153),_0x31d42b=_0x2e9f38[_0x328153],{f:_0x4e7c52,ranges:_0x32a47e}=_0x31d42b;let _0x8426e6=!0x1;_0x1ecd07&&(_0x8426e6=!0x0);const {firstRow:_0x2cf2aa,firstColumn:_0xf00c8e}=this['_getFirstCellOfRange'](_0x32a47e),_0x2d6c3a=this[_0x3a709d(0xee)][_0x3a709d(0x101)](_0x5b00b5,_0x508bd0,_0x328153),_0x23ff89=(_0x2b650b=_0x2d6c3a==null?void 0x0:_0x2d6c3a[_0x3a709d(0x130)](0x0,0x0))!=null?_0x2b650b:_0x2be79e[_0x3a709d(0xf4)](this[_0x3a709d(0xee)]),_0x66407f=new _0x2be79e[(_0x3a709d(0xa2))](_0x23ff89);for(let _0x530da7=0x0;_0x530da7<_0x32a47e[_0x3a709d(0xcb)];_0x530da7++){const _0x2d5ff4=_0x32a47e[_0x530da7],{startRow:_0xb3369c,startColumn:_0x59fb4f,endRow:_0x265a01,endColumn:_0x36c518}=_0x2d5ff4;for(let _0x2fa768=_0xb3369c;_0x2fa768<=_0x265a01;_0x2fa768++)for(let _0x1a1646=_0x59fb4f;_0x1a1646<=_0x36c518;_0x1a1646++){const _0x5bca64=_0x1a1646-_0xf00c8e,_0x3bfe05=_0x2fa768-_0x2cf2aa;if(_0x5bca64===0x0&&_0x3bfe05===0x0){_0x66407f[_0x3a709d(0x172)]=_0x4e7c52,_0x66407f[_0x3a709d(0x9f)]=_0x5b00b5,_0x66407f[_0x3a709d(0xcc)]=_0x508bd0,_0x66407f[_0x3a709d(0x131)]=_0x328153,_0x66407f[_0x3a709d(0xf3)]=_0x2be79e[_0x3a709d(0x112)][_0x3a709d(0x102)],_0x66407f[_0x3a709d(0x13a)]=_0x8426e6,_0x2ca9da[_0x3a709d(0x106)](_0x66407f),this[_0x3a709d(0xed)][_0x3a709d(0xa7)](_0x66407f[_0x3a709d(0xc8)],_0x66407f),this[_0x3a709d(0xee)][_0x3a709d(0x9d)](_0x5b00b5,_0x508bd0,_0x328153,_0x66407f),this[_0x3a709d(0xee)]['addFormulaDependencyByDefinedName'](_0x66407f);continue;}const _0x5cfed4=new _0x2be79e[(_0x3a709d(0x16f))]();_0x5cfed4[_0x3a709d(0xc8)]=(_0x2d6c3a==null?void 0x0:_0x2d6c3a['getValue'](_0x5bca64,_0x3bfe05))||_0x2be79e[_0x3a709d(0xf4)](this[_0x3a709d(0xee)]),_0x5cfed4[_0x3a709d(0x152)]=_0x66407f,_0x5cfed4[_0x3a709d(0x151)]=_0x5bca64,_0x5cfed4[_0x3a709d(0x14d)]=_0x3bfe05,_0x5cfed4[_0x3a709d(0x13a)]=_0x8426e6,this['_dependencyManagerService'][_0x3a709d(0x9d)](_0x5b00b5,_0x508bd0,_0x328153,_0x5cfed4),this['_dependencyManagerService'][_0x3a709d(0xe2)](_0x5cfed4),_0x2ca9da[_0x3a709d(0x106)](_0x5cfed4),this[_0x3a709d(0xed)]['set'](_0x5cfed4[_0x3a709d(0xc8)],_0x5cfed4);}}this[_0x3a709d(0xee)][_0x3a709d(0x10f)](_0x328153);}}}}[_0x124b41(0x149)](_0x452e59,_0x467a8d,_0x18e9bb,_0x439d0c){const _0x498df0=_0x124b41;for(const _0x64759e of _0x452e59){const _0x5b5ef4=_0x467a8d[_0x64759e];if(_0x5b5ef4==null)continue;const _0x1cf013=Object[_0x498df0(0xd0)](_0x5b5ef4);for(const _0x30da0f of _0x1cf013){const _0x311d24=new _0x4358b1['ObjectMatrix'](_0x5b5ef4[_0x30da0f]||{}),_0x25fa7f=new Map();_0x311d24[_0x498df0(0xfd)]((_0x4f3775,_0xf0c742,_0x33ecae)=>{const _0x10a920=_0x498df0;if(_0x33ecae==null)return!0x0;const {x:_0x1ca567=0x0,y:_0x131099=0x0,si:_0x809bd7}=_0x33ecae;if(!(_0x1ca567===0x0&&_0x131099===0x0&&_0x809bd7!=null))return!0x0;const _0x390dee=this[_0x10a920(0x140)](_0x64759e,_0x30da0f,_0x4f3775,_0xf0c742,_0x18e9bb,_0x33ecae),_0x33135c=this['_dependencyManagerService'][_0x10a920(0xd6)](_0x64759e,_0x30da0f,_0x4f3775,_0xf0c742);_0x33135c!=null?_0x390dee[_0x10a920(0xc8)]=_0x33135c:(this[_0x10a920(0xee)][_0x10a920(0x164)](_0x64759e,_0x30da0f,_0x4f3775,_0xf0c742,_0x390dee),this[_0x10a920(0xee)][_0x10a920(0xe2)](_0x390dee)),_0x25fa7f[_0x10a920(0xa7)](_0x809bd7,_0x390dee),_0x439d0c['push'](_0x390dee),this[_0x10a920(0xed)]['set'](_0x390dee[_0x10a920(0xc8)],_0x390dee);}),_0x311d24[_0x498df0(0xfd)]((_0x4e0811,_0x4d643b,_0x22eee6)=>{const _0x563ac9=_0x498df0;if(_0x22eee6==null)return!0x0;const {x:_0x261ffd=0x0,y:_0x2666f2=0x0,si:_0x1fae2d}=_0x22eee6;if(_0x261ffd===0x0&&_0x2666f2===0x0&&_0x1fae2d!=null)return!0x0;let _0x54a02d;if(_0x1fae2d&&_0x25fa7f['has'](_0x1fae2d)){const _0x262cba=_0x25fa7f[_0x563ac9(0x144)](_0x1fae2d);_0x54a02d=this['_createVirtualFDtree'](_0x262cba,_0x22eee6);}else _0x54a02d=this[_0x563ac9(0x140)](_0x64759e,_0x30da0f,_0x4e0811,_0x4d643b,_0x18e9bb,_0x22eee6);const _0x494400=this['_dependencyManagerService'][_0x563ac9(0xd6)](_0x64759e,_0x30da0f,_0x4e0811,_0x4d643b);_0x494400!=null?_0x54a02d[_0x563ac9(0xc8)]=_0x494400:(this[_0x563ac9(0xee)][_0x563ac9(0x164)](_0x64759e,_0x30da0f,_0x4e0811,_0x4d643b,_0x54a02d),this[_0x563ac9(0xee)][_0x563ac9(0xe2)](_0x54a02d)),_0x439d0c[_0x563ac9(0x106)](_0x54a02d),this[_0x563ac9(0xed)][_0x563ac9(0xa7)](_0x54a02d[_0x563ac9(0xc8)],_0x54a02d);}),_0x25fa7f['clear']();}}}[_0x124b41(0x140)](_0x2f0a48,_0x65c3f3,_0x346c8e,_0x339108,_0x44d0c0,_0x168a8c){const _0x3e7171=_0x124b41,{f:_0x48335f,x:_0x269607=0x0,y:_0x28d027=0x0}=_0x168a8c,_0x1d40c0=new _0x2be79e[(_0x3e7171(0xa2))](_0x2be79e[_0x3e7171(0xf4)](this[_0x3e7171(0xee)])),_0x42d87f=_0x44d0c0[_0x2f0a48][_0x65c3f3];return _0x1d40c0[_0x3e7171(0x172)]=_0x48335f,_0x1d40c0['unitId']=_0x2f0a48,_0x1d40c0[_0x3e7171(0xcc)]=_0x65c3f3,_0x1d40c0['row']=_0x346c8e,_0x1d40c0[_0x3e7171(0x170)]=_0x339108,_0x1d40c0[_0x3e7171(0x105)]=_0x42d87f['rowCount'],_0x1d40c0['columnCount']=_0x42d87f[_0x3e7171(0x154)],_0x1d40c0;}['_getUpdateTreeListAndMakeDependency'](){const _0xcdce14=_0x124b41,_0xf20280=[],_0x89cd4a=new Set(),_0x166a22=this[_0xcdce14(0x15c)][_0xcdce14(0xc9)](),_0x240dbd=this[_0xcdce14(0x15c)][_0xcdce14(0x93)](),_0x2d129f=this[_0xcdce14(0xee)][_0xcdce14(0xa3)](_0x240dbd),_0x355aa6=this[_0xcdce14(0x100)][_0xcdce14(0xb7)](_0x240dbd);for(const _0xe2c77d of _0x355aa6)_0x2d129f[_0xcdce14(0x127)](_0xe2c77d);for(const [_0x452a88,_0x166b76]of this[_0xcdce14(0xed)])(_0x166a22||_0x166b76['isDirty']||_0x166b76[_0xcdce14(0x10a)](this[_0xcdce14(0x15c)][_0xcdce14(0x124)]())||_0x2d129f[_0xcdce14(0x147)](_0x452a88)&&!_0x166b76[_0xcdce14(0xeb)](this[_0xcdce14(0x15c)]['getExcludedRange']()))&&!_0x89cd4a['has'](_0x452a88)&&(_0xf20280[_0xcdce14(0x106)](_0x166b76),_0x89cd4a[_0xcdce14(0x127)](_0x452a88));for(const [_0x395f51,_0x4dad91]of this['_dependencyTreeCache'])_0x4dad91[_0xcdce14(0x15e)]||(_0x4dad91[_0xcdce14(0x99)][_0xcdce14(0xcb)]=0x0);return _0xf20280;}[_0x124b41(0x12f)](_0x31f54d){const _0x9101e4=_0x124b41;return this[_0x9101e4(0xed)][_0x9101e4(0x144)](_0x31f54d);}[_0x124b41(0xc3)](_0x375953){const _0x2b9464=_0x124b41;return _0x2be79e[_0x2b9464(0x97)](_0x375953[_0x2b9464(0x9f)],_0x375953['formula'],this[_0x2b9464(0xda)],this[_0x2b9464(0xfe)],this[_0x2b9464(0x15c)]);}*['_traverse'](_0x3dda75,_0x28de7b){const _0x31a2cf=_0x124b41,_0x29bf97=_0x3dda75,_0x37cf7d=new Set();for(;_0x29bf97[_0x31a2cf(0xcb)]>0x0;){const _0x356135=_0x29bf97[_0x31a2cf(0x160)]();if(_0x37cf7d[_0x31a2cf(0xf8)](),_0x356135===void 0x0||_0x356135[_0x31a2cf(0x133)]())continue;if(_0x356135[_0x31a2cf(0x137)]()){yield _0x356135,_0x356135[_0x31a2cf(0x95)](),_0x28de7b[_0x31a2cf(0x127)](_0x356135['treeId']);continue;}const _0x3b2571=this['_dependencyManagerService'][_0x31a2cf(0xa3)](_0x356135[_0x31a2cf(0x13c)](),_0x28de7b),_0x2912a5=this[_0x31a2cf(0x100)][_0x31a2cf(0xb7)](_0x356135[_0x31a2cf(0x13c)](),_0x28de7b);for(const _0x393a8 of _0x2912a5)_0x3b2571[_0x31a2cf(0x127)](_0x393a8);for(const _0x4584fb of _0x3b2571){const _0x9ba0e1=this['_dependencyTreeCache'][_0x31a2cf(0x144)](_0x4584fb);if(!_0x9ba0e1)throw new Error(_0x31a2cf(0x128));_0x9ba0e1[_0x31a2cf(0x137)]()||_0x356135['isSkip']()||_0x37cf7d['add'](_0x9ba0e1);}if(_0x3b2571[_0x31a2cf(0xf8)](),_0x37cf7d[_0x31a2cf(0x117)]===0x0)yield _0x356135,_0x356135[_0x31a2cf(0x95)](),_0x28de7b[_0x31a2cf(0x127)](_0x356135[_0x31a2cf(0xc8)]);else{_0x356135[_0x31a2cf(0xa9)](),_0x29bf97[_0x31a2cf(0x106)](_0x356135);for(const _0x36278b of _0x37cf7d)_0x29bf97['push'](_0x36278b);}}_0x29bf97[_0x31a2cf(0xcb)]=0x0,_0x37cf7d[_0x31a2cf(0xf8)]();}[_0x124b41(0x107)](_0x5ddaba){const _0xb5d361=_0x124b41,_0x1fe355=[],_0x59c89b=new Set();for(const _0x2fe33b of this[_0xb5d361(0xc5)](_0x5ddaba,_0x59c89b))_0x1fe355['push'](_0x2fe33b);return _0x1fe355;}}class _0x4786c7 extends _0x2be79e[_0x124b41(0xc7)]{constructor(){const _0x51243d=_0x124b41;super(...arguments),_0x4cd62f(this,_0x51243d(0xe5),!0x1),_0x4cd62f(this,_0x51243d(0x16b),new Set());}['getNewFormulaWithPrefix'](_0x4185ce,_0x537ec6){const _0x28b121=_0x124b41,_0x578eb9=this[_0x28b121(0xb4)](_0x4185ce,!0x1);if(!_0x578eb9||_0x578eb9===_0x2be79e[_0x28b121(0xf6)][_0x28b121(0x159)]||Array[_0x28b121(0x114)](_0x578eb9))return null;const _0x284d07=[];return this['_hasNewExcelFunction']=!0x1,this[_0x28b121(0x175)](_0x578eb9,_0x284d07,_0x537ec6),this[_0x28b121(0xe5)]?'='+_0x284d07[_0x28b121(0xf0)](''):null;}[_0x124b41(0x175)](_0x2a0523,_0xf8301,_0x5764c6){const _0x336b16=_0x124b41,_0x165c80=_0x2a0523[_0x336b16(0x11b)](),_0x3fcd9b=_0x165c80[_0x336b16(0x148)](),_0x2e954c=_0x3fcd9b[_0x336b16(0xdc)](),_0x1f5926=this[_0x336b16(0xe9)](_0x2e954c),_0x2b47ac=_0x5764c6(_0x1f5926);let _0x1b8bf=0x0;_0x165c80===_0x2be79e[_0x336b16(0xbb)]?_0x1b8bf=0x3:_0x165c80===_0x2be79e[_0x336b16(0xd5)]?_0x1b8bf=0x4:_0x165c80===_0x2be79e[_0x336b16(0xae)]?_0x1b8bf=0x5:_0x2be79e[_0x336b16(0xcf)][_0x336b16(0x147)](_0x1f5926)?(_0xf8301[_0x336b16(0x106)](_0x336b16(0x122)+_0x3fcd9b),this['_hasNewExcelFunction']=!0x0):_0x2e954c===_0x2be79e[_0x336b16(0x142)]?(_0xf8301['push']('_xlfn.'+_0x3fcd9b),this[_0x336b16(0xe5)]=!0x0,_0x1b8bf=0x2):_0x2e954c===_0x2be79e[_0x336b16(0x135)]?(_0xf8301[_0x336b16(0x106)]('_xlfn.'+_0x3fcd9b),this['_hasNewExcelFunction']=!0x0,_0x1b8bf=0x1):_0x2e954c===_0x2be79e['matchToken'][_0x336b16(0xb0)]?_0x1b8bf=0x8:_0x2be79e[_0x336b16(0x146)][_0x336b16(0x147)](_0x2e954c)?_0x1b8bf=0x7:_0x2e954c===_0x2be79e['prefixToken'][_0x336b16(0x10e)]?(this[_0x336b16(0x15a)](_0x2a0523)&&(_0x1b8bf=0x9),_0xf8301[_0x336b16(0x106)](_0x165c80)):(_0xf8301[_0x336b16(0x106)](_0x165c80),_0x1b8bf=0xa),_0x2b47ac?(_0x1b8bf!==0x2&&_0x1b8bf!==0x1&&(_0x1b8bf=0x6),_0xf8301[_0x336b16(0x106)]('(')):_0x1b8bf===0x9&&_0xf8301['push']('(');const _0x19f686=_0x2a0523['getChildren'](),_0x2b9897=_0x19f686[_0x336b16(0xcb)];if(_0x1b8bf===0x2){const _0x443d4e=_0x19f686[0x0];let _0x43e567=0x0;_0x443d4e instanceof _0x2be79e[_0x336b16(0xb1)]&&_0x443d4e[_0x336b16(0x11b)]()===_0x2be79e[_0x336b16(0xae)]&&(_0x43e567=0x1);for(let _0xb50554=_0x43e567;_0xb50554<_0x2b9897-0x1;_0xb50554++){const _0x4dc884=_0x19f686[_0xb50554];if(_0x4dc884 instanceof _0x2be79e[_0x336b16(0xb1)]){const _0x56ebda=_0x4dc884[_0x336b16(0x111)]()[0x0];typeof _0x56ebda==_0x336b16(0x168)&&(this[_0x336b16(0x16b)][_0x336b16(0x147)](_0x56ebda)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x56ebda+'\x22\x20is\x20duplicated.'),this[_0x336b16(0x16b)]['add'](_0x56ebda),_0xf8301[_0x336b16(0x106)](_0x336b16(0xc6)+_0x56ebda),this[_0x336b16(0xe5)]=!0x0);}_0xf8301[_0x336b16(0x106)](',');}this[_0x336b16(0xfc)](_0x19f686[_0x2b9897-0x1],_0xf8301,_0x5764c6),_0x43e567===0x1&&(_0xf8301[_0x336b16(0x106)](')'),_0xf8301[_0x336b16(0x106)]('('),this[_0x336b16(0x175)](_0x443d4e,_0xf8301,_0x5764c6)),_0xf8301[_0x336b16(0x106)](')');return;}else{if(_0x1b8bf===0x1){for(let _0x41ba56=0x0;_0x41ba56<_0x2b9897-0x1;_0x41ba56++){const _0x1f45dd=_0x19f686[_0x41ba56];if(_0x1f45dd instanceof _0x2be79e[_0x336b16(0xb1)]&&_0x41ba56%0x2===0x0){const _0x13641a=_0x1f45dd['getChildren']()[0x0];if(typeof _0x13641a==_0x336b16(0x168)){this['_lambdaFunctionParameterSet'][_0x336b16(0x147)](_0x13641a)&&console[_0x336b16(0xa4)](_0x336b16(0x12b)+_0x13641a+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x336b16(0x127)](_0x13641a),_0xf8301[_0x336b16(0x106)](_0x336b16(0xc6)+_0x13641a),this[_0x336b16(0xe5)]=!0x0,_0xf8301[_0x336b16(0x106)](',');continue;}}if(this['_handleNewFunctionChild'](_0x1f45dd,_0xf8301,_0x5764c6),_0x1f45dd instanceof _0x2be79e[_0x336b16(0xb1)]){const _0x405dc0=_0x19f686[_0x41ba56+0x1];_0x405dc0&&_0x405dc0 instanceof _0x2be79e['LexerNode']&&_0xf8301[_0x336b16(0x106)](',');}}this['_handleNewFunctionChild'](_0x19f686[_0x2b9897-0x1],_0xf8301,_0x5764c6),_0xf8301['push'](')');return;}else{if(_0x1b8bf===0x8){const _0x3b7edf=_0x19f686[0x0],_0x1110fc=_0x19f686[0x1];this[_0x336b16(0xfc)](_0x3b7edf,_0xf8301,_0x5764c6),_0xf8301[_0x336b16(0x106)](_0x165c80),this[_0x336b16(0xfc)](_0x1110fc,_0xf8301,_0x5764c6);return;}}}for(let _0x4eb052=0x0;_0x4eb052<_0x2b9897;_0x4eb052++){const _0x210983=_0x19f686[_0x4eb052];if(this[_0x336b16(0xfc)](_0x210983,_0xf8301,_0x5764c6),_0x210983 instanceof _0x2be79e[_0x336b16(0xb1)]){const _0x1e288e=_0x19f686[_0x4eb052+0x1];_0x1e288e&&_0x1e288e instanceof _0x2be79e[_0x336b16(0xb1)]&&_0xf8301[_0x336b16(0x106)](',');}}_0x1b8bf===0x7&&_0xf8301[_0x336b16(0x106)](_0x165c80),(_0x2b47ac||_0x1b8bf===0x9)&&_0xf8301[_0x336b16(0x106)](')');}['_handleNewFunctionChild'](_0x2102f5,_0x4e91cb,_0x277db8){const _0x15d725=_0x124b41;_0x2102f5 instanceof _0x2be79e[_0x15d725(0xb1)]?this[_0x15d725(0x175)](_0x2102f5,_0x4e91cb,_0x277db8):this['_lambdaFunctionParameterSet']['has'](_0x2102f5)?(_0x4e91cb[_0x15d725(0x106)](_0x15d725(0xc6)+_0x2102f5),this[_0x15d725(0xe5)]=!0x0):_0x4e91cb[_0x15d725(0x106)](_0x2102f5);}[_0x124b41(0xe9)](_0x21d0cd){const _0x2c1c7a=_0x124b41;let _0x2c630a=_0x21d0cd[_0x2c1c7a(0x148)]();if(!_0x2c630a)return _0x2c630a;const _0x3a7241=_0x2c630a[0x0];if((_0x3a7241===_0x2be79e['prefixToken']['AT']||_0x3a7241===_0x2be79e[_0x2c1c7a(0x11c)]['MINUS']||_0x3a7241===_0x2be79e[_0x2c1c7a(0x11c)]['PLUS'])&&(_0x2c630a=_0x2c630a[_0x2c1c7a(0xe7)](0x1)),!_0x2c630a)return _0x2c630a;const _0x26185f=_0x2c630a[_0x2c630a[_0x2c1c7a(0xcb)]-0x1];return _0x2be79e[_0x2c1c7a(0x146)][_0x2c1c7a(0x147)](_0x26185f)&&(_0x2c630a=_0x2c630a[_0x2c1c7a(0xe7)](0x0,-0x1)),_0x2c630a;}[_0x124b41(0x15a)](_0xa8d86e){const _0x1c2f0f=_0x124b41,_0x290c95=_0xa8d86e['getChildren']()[0x0];if(!_0x290c95||!(_0x290c95 instanceof _0x2be79e[_0x1c2f0f(0xb1)])||_0xa8d86e['getChildren']()[_0x1c2f0f(0xcb)]>0x1)return!0x1;const _0x14221f=_0x290c95[_0x1c2f0f(0x111)](),_0x118e28=_0x14221f[_0x1c2f0f(0xcb)];if(_0x118e28===0x1)return!0x1;for(let _0x41306a=0x0;_0x41306a<_0x118e28;_0x41306a++){const _0x17da91=_0x14221f[_0x41306a];if(!(_0x17da91 instanceof _0x2be79e[_0x1c2f0f(0xb1)])&&_0x2be79e[_0x1c2f0f(0x12c)][_0x1c2f0f(0x147)](_0x17da91))return!0x0;}return!0x1;}}class _0x16e72d extends _0x2be79e[_0x124b41(0x174)]{async[_0x124b41(0xde)](_0xbf76d5=!0x1){const _0xc2ae17=_0x124b41;_0xbf76d5?this[_0xc2ae17(0xc1)][_0xc2ae17(0x158)](_0x2be79e[_0xc2ae17(0xdf)][_0xc2ae17(0x176)]):this[_0xc2ae17(0xc1)][_0xc2ae17(0x158)](_0x2be79e['FormulaExecuteStageType'][_0xc2ae17(0xf5)]),this[_0xc2ae17(0xac)]['next'](this[_0xc2ae17(0xc1)][_0xc2ae17(0xfa)]());const _0x110c4d=await this['_formulaDependencyGenerator'][_0xc2ae17(0x150)](),_0x3d64ed=this[_0xc2ae17(0xa1)];_0xbf76d5?(this[_0xc2ae17(0xc1)][_0xc2ae17(0x158)](_0x2be79e[_0xc2ae17(0xdf)][_0xc2ae17(0x10c)]),this[_0xc2ae17(0xc1)][_0xc2ae17(0xe1)](_0x110c4d['length'])):(this[_0xc2ae17(0xc1)][_0xc2ae17(0x158)](_0x2be79e[_0xc2ae17(0xdf)][_0xc2ae17(0x13f)]),this[_0xc2ae17(0xc1)][_0xc2ae17(0xd2)](_0x110c4d[_0xc2ae17(0xcb)])),this['_executionInProgressListener$'][_0xc2ae17(0xad)](this[_0xc2ae17(0xc1)][_0xc2ae17(0xfa)]());let _0x3c2743=[];const _0x338a59=this['_configService'][_0xc2ae17(0xb9)](_0x2be79e[_0xc2ae17(0x156)]),_0x8dd85f=(_0x338a59==null?void 0x0:_0x338a59[_0xc2ae17(0x109)])||_0x2be79e['DEFAULT_INTERVAL_COUNT'];let _0x20e2ae=0x0;const _0x2c6552=_0x110c4d[_0xc2ae17(0xcb)];for(;_0x110c4d[_0xc2ae17(0xcb)]>0x0;){const _0x20f824=_0x110c4d[_0xc2ae17(0x160)](),_0xdf4be0=_0x2be79e[_0xc2ae17(0x97)](_0x20f824[_0xc2ae17(0x9f)],_0x20f824[_0xc2ae17(0x172)],this['_lexer'],this[_0xc2ae17(0xfe)],this[_0xc2ae17(0x15c)]),_0xc25470={'node':_0xdf4be0,'refOffsetX':_0x20f824[_0xc2ae17(0x151)],'refOffsetY':_0x20f824[_0xc2ae17(0x14d)]},_0x5f399c=_0x20f824[_0xc2ae17(0x13b)];if(_0x20e2ae%_0x8dd85f===0x0&&(await new Promise(_0x1d3ea9=>{const _0x4862e4=_0xc2ae17,_0x49a9b5=_0x4358b1[_0x4862e4(0xbd)](_0x1d3ea9);_0x3c2743['push'](_0x49a9b5);}),_0xbf76d5?(this[_0xc2ae17(0xc1)]['setFormulaExecuteStage'](_0x2be79e['FormulaExecuteStageType'][_0xc2ae17(0xc0)]),this[_0xc2ae17(0xc1)][_0xc2ae17(0x15f)](_0x20e2ae+0x1)):(this[_0xc2ae17(0xc1)][_0xc2ae17(0x158)](_0x2be79e[_0xc2ae17(0xdf)][_0xc2ae17(0xc2)]),this[_0xc2ae17(0xc1)][_0xc2ae17(0xec)](_0x20e2ae+0x1)),this[_0xc2ae17(0xac)][_0xc2ae17(0xad)](this['_runtimeService'][_0xc2ae17(0xfa)]()),this['_runtimeService'][_0xc2ae17(0xb3)]()||_0xc25470==null&&_0x5f399c==null)){this[_0xc2ae17(0xc1)]['setFormulaExecuteStage'](_0x2be79e[_0xc2ae17(0xdf)][_0xc2ae17(0x161)]),this[_0xc2ae17(0xc1)][_0xc2ae17(0xc4)](),this[_0xc2ae17(0x162)]['next'](this[_0xc2ae17(0xc1)]['getAllRuntimeData']());return;}this[_0xc2ae17(0xc1)][_0xc2ae17(0x163)](_0x20f824[_0xc2ae17(0xb6)],_0x20f824[_0xc2ae17(0x170)],_0x20f824['rowCount'],_0x20f824[_0xc2ae17(0x154)],_0x20f824[_0xc2ae17(0xcc)],_0x20f824[_0xc2ae17(0x9f)]);let _0x5e01cd;if(_0x5f399c!=null&&_0x20f824[_0xc2ae17(0x15d)]!=null){const {runtimeCellData:_0x4a6c52,dirtyRanges:_0x5a8291}=_0x5f399c(this['_currentConfigService'][_0xc2ae17(0x13b)](),this[_0xc2ae17(0xc1)]['getAllRuntimeData']());this[_0xc2ae17(0xc1)][_0xc2ae17(0x153)](_0x20f824['featureId'],_0x4a6c52),this['_runtimeService']['setRuntimeFeatureRange'](_0x20f824[_0xc2ae17(0x15d)],_0x5a8291);}else _0xc25470!=null&&(_0x3d64ed[_0xc2ae17(0x129)](_0xc25470[_0xc2ae17(0x9e)])?_0x5e01cd=await _0x3d64ed[_0xc2ae17(0xb2)](_0xc25470):_0x5e01cd=_0x3d64ed[_0xc2ae17(0xcd)](_0xc25470),_0x20f824[_0xc2ae17(0x131)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x20f824['formulaId'],_0x20f824[_0xc2ae17(0x151)],_0x20f824[_0xc2ae17(0x14d)],_0x5e01cd):this['_runtimeService']['setRuntimeData'](_0x5e01cd));_0xdf4be0['resetCalculationState'](),_0x20e2ae++;}return _0x3c2743['forEach'](_0x2ca7ac=>_0x2ca7ac()),_0x3c2743=[],_0x2c6552>0x0?this['_runtimeService'][_0xc2ae17(0x165)]():_0xbf76d5||this[_0xc2ae17(0xc1)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0xc2ae17(0x11f)]();}}class _0x5da6b0 extends _0x2be79e[_0x124b41(0xaa)]{constructor(){const _0x55cc27=_0x124b41;super(...arguments),_0x4cd62f(this,_0x55cc27(0xd7),new Map()),_0x4cd62f(this,_0x55cc27(0xab),new _0x4358b1[(_0x55cc27(0xe6))](!0x0));}[_0x124b41(0x92)](){const _0x54b1ef=_0x124b41;this[_0x54b1ef(0x13e)][_0x54b1ef(0xf8)](),this[_0x54b1ef(0xe8)][_0x54b1ef(0xf8)](),this['_formulaData'][_0x54b1ef(0xf8)](),this[_0x54b1ef(0xab)][_0x54b1ef(0xf8)](),this[_0x54b1ef(0xd7)]['clear'](),this[_0x54b1ef(0x14a)](),this[_0x54b1ef(0xf1)][_0x54b1ef(0xf8)]();}[_0x124b41(0x9d)](_0x4c6326,_0x5e2aeb,_0x4acb5e,_0x4dcd1f){const _0x166345=_0x124b41;this['_otherFormulaData']['has'](_0x4c6326)||this[_0x166345(0x13e)][_0x166345(0xa7)](_0x4c6326,new Map());const _0x5ce522=this[_0x166345(0x13e)][_0x166345(0x144)](_0x4c6326);_0x5ce522[_0x166345(0x147)](_0x5e2aeb)||_0x5ce522[_0x166345(0xa7)](_0x5e2aeb,new Map());const _0x1c4a51=_0x5ce522[_0x166345(0x144)](_0x5e2aeb);_0x1c4a51[_0x166345(0x147)](_0x4acb5e)||_0x1c4a51[_0x166345(0xa7)](_0x4acb5e,new _0x4358b1['ObjectMatrix']()),_0x1c4a51[_0x166345(0x144)](_0x4acb5e)[_0x166345(0xd8)](_0x4dcd1f[_0x166345(0x151)],_0x4dcd1f[_0x166345(0x14d)],_0x4dcd1f[_0x166345(0xc8)]);}['removeOtherFormulaDependency'](_0x57185e,_0x2a61cd,_0x3f30d6){const _0x4455a3=_0x124b41,_0x726400=this[_0x4455a3(0x13e)]['get'](_0x57185e);if(_0x726400&&_0x726400[_0x4455a3(0x147)](_0x2a61cd)){const _0x473104=_0x726400[_0x4455a3(0x144)](_0x2a61cd);_0x3f30d6[_0x4455a3(0xca)](_0x34b437=>{const _0x5ba4b7=_0x4455a3,_0x3bf51f=_0x473104[_0x5ba4b7(0x144)](_0x34b437);_0x3bf51f!=null&&(_0x3bf51f[_0x5ba4b7(0xfd)]((_0x448f7a,_0x9e59c3,_0x96f356)=>{const _0x3b0a11=_0x5ba4b7;this[_0x3b0a11(0x145)](_0x96f356),this[_0x3b0a11(0x119)](_0x96f356);}),_0x473104['delete'](_0x34b437),this[_0x5ba4b7(0xf1)][_0x5ba4b7(0x166)](_0x34b437));}),_0x473104[_0x4455a3(0x117)]===0x0&&_0x726400[_0x4455a3(0x166)](_0x2a61cd),_0x726400[_0x4455a3(0x117)]===0x0&&this[_0x4455a3(0x13e)][_0x4455a3(0x166)](_0x57185e);}}[_0x124b41(0x96)](_0x15790d,_0x2da73b){const _0x774f1f=_0x124b41,_0x193440=this[_0x774f1f(0x13e)][_0x774f1f(0x144)](_0x15790d);if(_0x2da73b&&_0x193440&&_0x193440[_0x774f1f(0x147)](_0x2da73b)){const _0x4ea077=_0x193440[_0x774f1f(0x144)](_0x2da73b);this['_removeDependencyRTreeCacheById'](_0x15790d,_0x2da73b);for(const _0x16891a of _0x4ea077['keys']()){const _0x182571=_0x4ea077[_0x774f1f(0x144)](_0x16891a);_0x182571!=null&&(_0x182571['forValue']((_0x4628ec,_0x22afac,_0x290fad)=>{const _0x59b4eb=_0x774f1f;this[_0x59b4eb(0xd7)][_0x59b4eb(0x144)](_0x290fad)&&this[_0x59b4eb(0x119)](_0x290fad);}),this['_otherFormulaDataMainData'][_0x774f1f(0x166)](_0x16891a));}_0x4ea077[_0x774f1f(0xf8)]();}else{if(_0x193440){for(const _0x280df6 of _0x193440[_0x774f1f(0xd0)]()){const _0x2b7015=_0x193440[_0x774f1f(0x144)](_0x280df6);this[_0x774f1f(0xe4)](_0x15790d,_0x280df6);for(const _0x6c3e04 of _0x2b7015[_0x774f1f(0xd0)]()){const _0x3dbccc=_0x2b7015[_0x774f1f(0x144)](_0x6c3e04);_0x3dbccc!=null&&(_0x3dbccc[_0x774f1f(0xfd)]((_0x37b997,_0x3b6d82,_0x141e51)=>{const _0x3411fe=_0x774f1f;this['_allTreeMap'][_0x3411fe(0x144)](_0x141e51)&&this[_0x3411fe(0x119)](_0x141e51);}),this[_0x774f1f(0xf1)][_0x774f1f(0x166)](_0x6c3e04));}}this[_0x774f1f(0x13e)][_0x774f1f(0x166)](_0x15790d);}}}[_0x124b41(0x10b)](_0x28d21c,_0x5503ca,_0x3dc68c,_0x532a3f){const _0x4502b6=_0x124b41;this[_0x4502b6(0xe8)][_0x4502b6(0x147)](_0x28d21c)||this[_0x4502b6(0xe8)]['set'](_0x28d21c,new Map());const _0x4357aa=this[_0x4502b6(0xe8)][_0x4502b6(0x144)](_0x28d21c);_0x4357aa[_0x4502b6(0x147)](_0x5503ca)||_0x4357aa[_0x4502b6(0xa7)](_0x5503ca,new Map()),_0x4357aa[_0x4502b6(0x144)](_0x5503ca)[_0x4502b6(0xa7)](_0x3dc68c,_0x532a3f[_0x4502b6(0xc8)]);}[_0x124b41(0x10d)](_0x42fdca,_0x277188,_0x929697){const _0x3e27dc=_0x124b41,_0x4e4922=this[_0x3e27dc(0xe8)]['get'](_0x42fdca);if(_0x4e4922&&_0x4e4922[_0x3e27dc(0x147)](_0x277188)){const _0x35ba90=_0x4e4922[_0x3e27dc(0x144)](_0x277188);_0x929697['forEach'](_0x6bef47=>{const _0x3463e4=_0x3e27dc,_0x726e6a=_0x35ba90[_0x3463e4(0x144)](_0x6bef47);_0x726e6a!=null&&(this['_removeDependencyRTreeCache'](_0x726e6a),_0x35ba90[_0x3463e4(0x166)](_0x6bef47),this[_0x3463e4(0x119)](_0x726e6a));});}}['clearFeatureFormulaDependency'](_0x3fffd7,_0x399e80){const _0x158211=_0x124b41,_0x1ce21d=this[_0x158211(0xe8)]['get'](_0x3fffd7);if(_0x399e80&&_0x1ce21d&&_0x1ce21d[_0x158211(0x147)](_0x399e80)){const _0x42d834=_0x1ce21d[_0x158211(0x144)](_0x399e80);this[_0x158211(0xe4)](_0x3fffd7,_0x399e80),_0x42d834[_0x158211(0xca)](_0x597982=>{const _0x3685a6=_0x158211;_0x597982!=null&&this[_0x3685a6(0x119)](_0x597982);}),_0x42d834[_0x158211(0xf8)]();}else _0x1ce21d&&(_0x1ce21d[_0x158211(0xca)]((_0x15c3e4,_0x284878)=>{const _0x17b164=_0x158211;this['_removeDependencyRTreeCacheById'](_0x3fffd7,_0x284878),_0x15c3e4[_0x17b164(0xca)](_0xb7cde6=>{const _0x236551=_0x17b164;_0xb7cde6!=null&&this[_0x236551(0x119)](_0xb7cde6);});}),this[_0x158211(0xe8)][_0x158211(0x166)](_0x3fffd7));}['addFormulaDependency'](_0x41cfe8,_0x5d1d10,_0xcd7ae7,_0x4ea26e,_0x4016c7){const _0x4fbf48=_0x124b41;this[_0x4fbf48(0x16a)]['has'](_0x41cfe8)||this[_0x4fbf48(0x16a)][_0x4fbf48(0xa7)](_0x41cfe8,new Map());const _0x5d0989=this['_formulaData'][_0x4fbf48(0x144)](_0x41cfe8);_0x5d0989['has'](_0x5d1d10)||_0x5d0989[_0x4fbf48(0xa7)](_0x5d1d10,new _0x4358b1[(_0x4fbf48(0x134))]()),_0x5d0989[_0x4fbf48(0x144)](_0x5d1d10)[_0x4fbf48(0xd8)](_0xcd7ae7,_0x4ea26e,_0x4016c7[_0x4fbf48(0xc8)]);}[_0x124b41(0x98)](_0xaf936b,_0x2d5858,_0x4d879d,_0x43a6f3){const _0x557fa8=_0x124b41,_0x3f7e44=this[_0x557fa8(0x16a)]['get'](_0xaf936b);if(_0x3f7e44&&_0x3f7e44[_0x557fa8(0x147)](_0x2d5858)){const _0x48e0ea=_0x3f7e44[_0x557fa8(0x144)](_0x2d5858),_0x3a2ff6=_0x48e0ea[_0x557fa8(0x130)](_0x4d879d,_0x43a6f3);if(_0x3a2ff6==null)return;this[_0x557fa8(0x145)](_0x3a2ff6),_0x48e0ea[_0x557fa8(0xfb)](_0x4d879d,_0x43a6f3),this[_0x557fa8(0x119)](_0x3a2ff6);}}[_0x124b41(0x118)](_0x42eac1,_0xc6ddc3){const _0x2bd787=_0x124b41,_0x5b60f9=this['_formulaData'][_0x2bd787(0x144)](_0x42eac1);if(_0xc6ddc3&&_0x5b60f9&&_0x5b60f9[_0x2bd787(0x147)](_0xc6ddc3)){const _0x131fee=_0x5b60f9['get'](_0xc6ddc3);this['_removeDependencyRTreeCacheById'](_0x42eac1,_0xc6ddc3),_0x131fee['forValue']((_0x1b0f50,_0x1cb8e0,_0x1cd1a9)=>{if(_0x1cd1a9==null)return!0x0;this['_removeAllTreeMap'](_0x1cd1a9);}),_0x131fee[_0x2bd787(0x92)]();}else _0x5b60f9&&(_0x5b60f9[_0x2bd787(0xca)]((_0x4c0021,_0xc36f93)=>{const _0x13c198=_0x2bd787;this[_0x13c198(0xe4)](_0x42eac1,_0xc36f93),_0x4c0021[_0x13c198(0xfd)]((_0x32bd86,_0xf47248,_0x2371dd)=>{if(_0x2371dd==null)return!0x0;this['_removeAllTreeMap'](_0x2371dd);});}),this[_0x2bd787(0x16a)]['delete'](_0x42eac1));}['_removeDependencyRTreeCache'](_0x5395e2){const _0x5abb6c=_0x124b41;if(_0x5395e2==null)return;const _0x26148f=this[_0x5abb6c(0xd7)][_0x5abb6c(0x144)](_0x5395e2);if(_0x26148f){const _0x41260a=[];for(const [_0xc1eee1,_0x1c23b7]of _0x26148f)for(const [_0xa1e834,_0x3ab30e]of _0x1c23b7)_0x41260a[_0x5abb6c(0x106)]({'unitId':_0xc1eee1,'sheetId':_0xa1e834,'range':_0x3ab30e,'id':_0x5395e2});this['_dependencyRTreeCache'][_0x5abb6c(0x104)](_0x41260a);}}['removeFormulaDependencyByDefinedName'](_0x4c9144,_0x3ff81c){const _0x4b54a8=_0x124b41,_0x455003=this['_definedNameMap'][_0x4b54a8(0x144)](_0x4c9144);if(_0x455003){const _0x5bc24e=_0x455003[_0x4b54a8(0x144)](_0x3ff81c);if(_0x5bc24e){for(const _0x60e699 of _0x5bc24e)this[_0x4b54a8(0x145)](_0x60e699),this[_0x4b54a8(0x119)](_0x60e699);_0x5bc24e[_0x4b54a8(0xf8)]();}}}['openKdTree'](){const _0xe15995=_0x124b41;this[_0xe15995(0xab)][_0xe15995(0xe0)]();}[_0x124b41(0x14f)](){const _0x325523=_0x124b41;this['_dependencyRTreeCache'][_0x325523(0x14f)]();}[_0x124b41(0x119)](_0x4e812a){const _0x5c13e2=_0x124b41;_0x4e812a!=null&&this[_0x5c13e2(0xd7)][_0x5c13e2(0x166)](_0x4e812a);}['_addAllTreeMap'](_0x258438){const _0x239109=_0x124b41;var _0x1a08b8,_0x397097;const _0x460c22=_0x258438[_0x239109(0x99)];let _0x481743=this[_0x239109(0xd7)][_0x239109(0x144)](_0x258438[_0x239109(0xc8)]);for(let _0x2b8a1a=0x0;_0x2b8a1a<_0x460c22[_0x239109(0xcb)];_0x2b8a1a++){const _0x4b972e=_0x460c22[_0x2b8a1a];let {unitId:_0x13877d,sheetId:_0x576978,range:_0x282256}=_0x4b972e;_0x481743||(_0x481743=new Map(),this[_0x239109(0xd7)][_0x239109(0xa7)](_0x258438['treeId'],_0x481743)),_0x481743[_0x239109(0x147)](_0x13877d)||_0x481743['set'](_0x13877d,new Map());const _0x1bffc1=(_0x1a08b8=_0x481743==null?void 0x0:_0x481743[_0x239109(0x144)](_0x13877d))==null?void 0x0:_0x1a08b8[_0x239109(0x144)](_0x576978);_0x1bffc1&&(_0x282256={'startRow':Math['min'](_0x282256['startRow'],_0x1bffc1[_0x239109(0xf7)]),'startColumn':Math['min'](_0x282256['startColumn'],_0x1bffc1[_0x239109(0x155)]),'endRow':Math[_0x239109(0x11a)](_0x282256[_0x239109(0x115)],_0x1bffc1['endRow']),'endColumn':Math[_0x239109(0x11a)](_0x282256[_0x239109(0x14b)],_0x1bffc1[_0x239109(0x14b)])}),(_0x397097=_0x481743[_0x239109(0x144)](_0x13877d))==null||_0x397097['set'](_0x576978,_0x282256);}}}var _0x991185=Object[_0x124b41(0xea)],_0x27e90b=(_0x34ea78,_0x54dc2f,_0x5bdf51,_0x448427)=>{const _0x225b77=_0x124b41;for(var _0x1a9184=_0x448427>0x1?void 0x0:_0x448427?_0x991185(_0x54dc2f,_0x5bdf51):_0x54dc2f,_0x13cedf=_0x34ea78[_0x225b77(0xcb)]-0x1,_0x1978b5;_0x13cedf>=0x0;_0x13cedf--)(_0x1978b5=_0x34ea78[_0x13cedf])&&(_0x1a9184=_0x1978b5(_0x1a9184)||_0x1a9184);return _0x1a9184;};const _0x5e0aeb=Number[_0x124b41(0x139)](0x692ab7b9);_0x52f3d3[_0x124b41(0xa6)]=class extends _0x2be79e[_0x124b41(0xff)]{[_0x124b41(0x132)](){const _0x1f3c9d=_0x124b41;var _0x21daab,_0x3374f9;this['_initLicenseValid']()?(this[_0x1f3c9d(0xdb)][_0x1f3c9d(0x127)]([_0x2be79e[_0x1f3c9d(0xc7)],{'useClass':_0x4786c7}]),(_0x21daab=this['_config'])!=null&&_0x21daab[_0x1f3c9d(0xef)]||[[_0x2be79e[_0x1f3c9d(0xd1)],{'useClass':_0x16e72d}],[_0x2be79e['IDependencyManagerService'],{'useClass':_0x5da6b0}],[_0x2be79e[_0x1f3c9d(0x143)],{'useClass':_0x563c12}]]['forEach'](_0x37906e=>this[_0x1f3c9d(0xdb)][_0x1f3c9d(0x127)](_0x37906e))):(this[_0x1f3c9d(0xdb)][_0x1f3c9d(0x127)]([_0x2be79e[_0x1f3c9d(0xc7)],{'useClass':_0x2be79e[_0x1f3c9d(0xc7)]}]),(_0x3374f9=this[_0x1f3c9d(0x113)])!=null&&_0x3374f9[_0x1f3c9d(0xef)]||[[_0x2be79e[_0x1f3c9d(0xd1)],{'useClass':_0x2be79e['CalculateFormulaService']}],[_0x2be79e[_0x1f3c9d(0xd3)],{'useClass':_0x2be79e[_0x1f3c9d(0xa5)]}],[_0x2be79e[_0x1f3c9d(0x143)],{'useClass':_0x2be79e[_0x1f3c9d(0x169)]}]][_0x1f3c9d(0xca)](_0x5d1518=>this[_0x1f3c9d(0xdb)]['add'](_0x5d1518)));}[_0x124b41(0x126)](){const _0x122a9c=_0x124b41;var _0x140b18;const _0x32a973=(_0x140b18=this['_configService']['getConfig'](_0x5bbc5c[_0x122a9c(0x11e)]))!=null?_0x140b18:{},{ls:_0x5c52c5,pbk:_0x3a9909}=_0x32a973;if(!_0x5c52c5||!_0x3a9909)return!0x1;const _0x4a2be1=_0x5bbc5c[_0x122a9c(0x12d)](_0x4a38b1,_0x11cd9c),_0x49caf8=new Function(_0x122a9c(0xf2)+_0x4a2be1)()(_0x5c52c5,_0x3a9909),_0x3372ba=_0x49caf8['message'];return _0x49caf8['valid']&&_0x5bbc5c[_0x122a9c(0x138)](_0x3372ba,'sf',_0x5e0aeb)?_0x5bbc5c[_0x122a9c(0xa8)](_0x3372ba,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x52f3d3[_0x124b41(0xa6)]=_0x27e90b([_0x4358b1[_0x124b41(0x94)](_0x5bbc5c[_0x124b41(0xf9)])],_0x52f3d3[_0x124b41(0xa6)]),Object['keys'](_0x2be79e)[_0x124b41(0xca)](_0x7bda12=>{const _0x2a9720=_0x124b41;_0x7bda12!==_0x2a9720(0xba)&&!Object[_0x2a9720(0x103)][_0x2a9720(0x121)][_0x2a9720(0x16d)](_0x52f3d3,_0x7bda12)&&Object[_0x2a9720(0x12e)](_0x52f3d3,_0x7bda12,{'enumerable':!0x0,'get':()=>_0x2be79e[_0x7bda12]});}),Object[_0x124b41(0x12e)](_0x52f3d3,Symbol[_0x124b41(0x125)],{'value':_0x124b41(0x173)});}));function _0x16cd(_0x2f3590,_0x4bff24){const _0x4966ff=_0x4966();return _0x16cd=function(_0x16cd45,_0xb9bcae){_0x16cd45=_0x16cd45-0x92;let _0x539713=_0x4966ff[_0x16cd45];return _0x539713;},_0x16cd(_0x2f3590,_0x4bff24);}function _0x4966(){const _0x3ce37e=['START_DEPENDENCY_ARRAY_FORMULA','reset','getDirtyRanges','DependentOn','setSkip','clearOtherFormulaDependency','generateAstNode','removeFormulaDependency','rangeList','LSU8x5vU\x20Cn8W2tx5vU(K58nUVn,\x20tShK58Pn2)\x20{\x20\x20\x20\x20xW2\x20{\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20K58nUVnJULvcAWx1WWA2\x20=\x20K58nUVn.VtK5x(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20vW5H5U9nVVAHn\x20=\x20lQiX.tAWVn(Axvh(K58nUVnJULvcAWx1WWA2[e]));\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!vW5H5U9nVVAHn.SC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vW5H5U9nVVAHn.SC\x20=\x20XSGhnW(K58nUVnJULvcAWx1WWA2[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VMvWgnW\x20=\x20x2tnvL\x20MvWgnWpKvhAKQ8vtn\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20VnKL\x205UVxAU8nvL\x20MvWgnWpKvhAKQ8vtn;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x205VkWv6VnW\x20=\x20x2tnvL\x2065UCv6\x20!==\x20\x27SUCnL5UnC\x27\x20&&\x20x2tnvL\x2065UCv6.Kv8Ax5vU\x20!==\x20\x27SUCnL5UnC\x27;\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x208vUxnzx\x20=\x205VMvWgnW\x20?\x20VnKL\x20:\x20(5VkWv6VnW\x20?\x2065UCv6\x20:\x20HKvhAKqF5V);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[e]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20GnVVAHn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(GnVVAHnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWnMvWC\x20=\x208vUxnzx.__kAVnru__.tAWVn(K58nUVnJULvcAWx1WWA2[0]);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HUAxSWn\x20=\x208vUxnzx.__Inz__.VxW5UH5L2(V5HUAxSWnMvWC);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20V5HU3AK5C\x20=\x208vUxnzx.__OnW5L2__(V5HUAxSWn,\x20GnVVAHn,\x20tShK58Pn2);\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20CvGA5U\x20=\x20vW5H5U9nVVAHn.CG;\x20\x20\x20\x20\x20\x20\x20\x20LSU8x5vU\x205VwvGA5U9Ax8F5UH(vcAxxnWU,\x20vIvVx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWU\x20=\x20vcAxxnWU.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVx\x20=\x20vIvVx.WntKA8n(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUcAWxV\x20=\x20tAxxnWU.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxcAWxV\x20=\x20FvVx.VtK5x(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(!tAxxnWU.5U8KSCnV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWU\x20===\x20FvVx;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(tAxxnWUcAWxV.KnUHxF\x20<\x20e\x20||\x20tAxxnWUcAWxV[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20tAxxnWUQSLL5z\x20=\x20tAxxnWUcAWxV.VK58n(d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20FvVxQSLL5z\x20=\x20FvVxcAWxV.VK58n(-tAxxnWUcAWxV.KnUHxF\x20+\x20d).Bv5U(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20tAxxnWUQSLL5z\x20===\x20FvVxQSLL5z;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Knx\x20CvGA5U3AK5C\x20=\x20LAKVn;\x20\x20\x20\x20\x20\x20\x20\x205L\x20(5VkWv6VnW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20(CvGA5U\x20&&\x20CvGA5U.KnUHxF)\x20?\x20CvGA5U.VvGn((CGJxnG)\x20=>\x205VwvGA5U9Ax8F5UH(CGJxnG,\x20Kv8Ax5vU.FvVxUAGn))\x20:\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205L\x20(Kv8Ax5vU.FvVxUAGn\x20===\x20\x27Kv8AKFvVx\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20nKVn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CvGA5U3AK5C\x20=\x20xWSn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208vUVx\x20OAK5C\x20=\x20V5HU3AK5C\x20&&\x20CvGA5U3AK5C;\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20vW5H5U9nVVAHn,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Ax8F\x20(nWWvW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WnxSWU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OAK5C:\x20LAKVn,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GnVVAHn:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','dispose','2616309qYJnSL','addOtherFormulaDependency','node','unitId','304050cISKzy','_interpreter','FormulaDependencyTree','searchDependency','error','DependencyManagerService','UniverProFormulaEnginePlugin','set','getSheetFeatureLimit','setAdded','DependencyManagerBaseService','_dependencyRTreeCache','_executionInProgressListener$','next','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','12682owYpYP','COLON','LexerNode','executeAsync','isStopExecution','treeBuilder','_getUpdateTreeListAndMakeDependency','row','bulkSearch','12XBWFAM','getConfig','default','DEFAULT_TOKEN_TYPE_ROOT','getFormulaData','requestImmediateMacroTask','867797NUMood','FEATURE_FORMULA','CURRENTLY_CALCULATING_ARRAY_FORMULA','_runtimeService','CURRENTLY_CALCULATING','_getTreeNode','markedAsStopFunctionsExecuted','_traverse','_xlpm.','LexerTreeBuilder','treeId','isForceCalculate','forEach','length','subUnitId','execute','_otherFormulaManagerService','NEW_EXCEL_FUNCTIONS','keys','ICalculateFormulaService','setTotalFormulasToCalculate','IDependencyManagerService','_checkIsCycleDependency','DEFAULT_TOKEN_TYPE_PARAMETER','getFormulaDependency','_allTreeMap','setValue','enableCycleDependency','_lexer','_injector','toUpperCase','getOtherFormulaData','_apply','FormulaExecuteStageType','openKdTree','setTotalArrayFormulasToCalculate','addFormulaDependencyByDefinedName','_generateTreeList','_removeDependencyRTreeCacheById','_hasNewExcelFunction','RTree','slice','_featureFormulaData','_clearFunctionString','getOwnPropertyDescriptor','isExcludeRange','setCompletedFormulasCount','_dependencyTreeCache','_dependencyManagerService','notExecuteFormula','join','_otherFormulaDataMainData','return\x20','type','generateRandomDependencyTreeId','START_DEPENDENCY','ErrorType','startRow','clear','UniverLicensePlugin','getRuntimeState','realDeleteValue','_handleNewFunctionChild','forValue','_astTreeBuilder','UniverFormulaEnginePlugin','_dependencyRTreeCacheForAddressFunction','getOtherFormulaDependency','OTHER_FORMULA','prototype','bulkRemove','rowCount','push','_calculateRunList','153QMISir','intervalCount','dependencySheetName','addFeatureFormulaDependency','START_CALCULATION_ARRAY_FORMULA','removeFeatureFormulaDependency','MINUS','addOtherFormulaDependencyMainData','459256FxyeAO','getChildren','FormulaDependencyTreeType','_config','isArray','endRow','8JoRlXg','size','clearFormulaDependency','_removeAllTreeMap','max','getToken','prefixToken','clearFeatureFormulaDependency','LS_CONFIG_KEY','getAllRuntimeData','resolve','hasOwnProperty','_xlfn.','946XfcoSS','getDirtyNameMap','toStringTag','_initLicenseValid','add','ParentDependencyTree\x20object\x20is\x20null','checkAsyncNode','9606DbcfTC','Let\x20variable\x20name\x20\x22','OPERATOR_TOKEN_SET','unshiftString','defineProperty','_getTreeById','getValue','formulaId','_initializeWithOverride','isSkip','ObjectMatrix','DEFAULT_TOKEN_LET_FUNCTION_NAME','featureDirtyRanges','isAdded','isFeatureAuthorizedWithinTime','parseInt','isCache','getDirtyData','toRTreeItem','function','_otherFormulaData','START_CALCULATION','_createFDtree','object','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','IFormulaDependencyGenerator','get','_removeDependencyRTreeCache','SUFFIX_TOKEN_SET','has','trim','_registerFormulas','_restDependencyTreeId','endColumn','_isCyclicUtilMap','refOffsetY','exports','closeKdTree','generate','refOffsetX','refTree','setRuntimeFeatureCellData','columnCount','startColumn','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_getFeatureFormulaTree','setFormulaExecuteStage','VALUE','_checkAddBracketForMinus','getClearDependencyTreeCache','_currentConfigService','featureId','isVirtual','setCompletedArrayFormulasCount','pop','IDLE','_executionCompleteListener$','setCurrent','addFormulaDependency','markedAsSuccessfullyExecuted','delete','40070HSMbtO','string','FormulaDependencyGenerator','_formulaData','_lambdaFunctionParameterSet','UniverProEngineFormula','call','symbol','FormulaDependencyTreeVirtual','column','getFeatureFormulaDependency','formula','Module','CalculateFormulaService','_generateNewFunctionString'];_0x4966=function(){return _0x3ce37e;};return _0x4966();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.12.1",
3
+ "version": "0.12.2-experimental.20251129-0fa20cd",
4
4
  "private": false,
5
5
  "description": "UniverSheet pro base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,16 +57,16 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/license": "0.12.1",
61
- "@univerjs/core": "0.12.1",
62
- "@univerjs/engine-formula": "0.12.1"
60
+ "@univerjs-pro/license": "0.12.2-experimental.20251129-0fa20cd",
61
+ "@univerjs/core": "0.12.2-experimental.20251129-0fa20cd",
62
+ "@univerjs/engine-formula": "0.12.2-experimental.20251129-0fa20cd"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "^5.9.3",
67
- "vite": "^7.2.2",
68
- "vitest": "^3.2.4",
69
- "@univerjs-infra/shared": "0.12.1"
67
+ "vite": "^7.2.4",
68
+ "vitest": "^4.0.14",
69
+ "@univerjs-infra/shared": "0.12.2"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",