@univerjs-pro/engine-formula 0.12.2-experimental.20251129-0fa20cd → 0.12.2-experimental.20251202-45172c6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x400cc4=_0x5a16;(function(_0x453647,_0x4dd6c0){const _0x2dc40d=_0x5a16,_0x5124e3=_0x453647();while(!![]){try{const _0x168fd3=-parseInt(_0x2dc40d(0xbc))/0x1*(parseInt(_0x2dc40d(0xbf))/0x2)+-parseInt(_0x2dc40d(0xb9))/0x3*(-parseInt(_0x2dc40d(0xbe))/0x4)+-parseInt(_0x2dc40d(0xb7))/0x5+parseInt(_0x2dc40d(0xba))/0x6+-parseInt(_0x2dc40d(0xb0))/0x7+-parseInt(_0x2dc40d(0xbd))/0x8+parseInt(_0x2dc40d(0xb4))/0x9;if(_0x168fd3===_0x4dd6c0)break;else _0x5124e3['push'](_0x5124e3['shift']());}catch(_0x16539e){_0x5124e3['push'](_0x5124e3['shift']());}}}(_0xe16e,0x6ba3b));function _0x5a16(_0x223173,_0x2bb67b){const _0xe16e20=_0xe16e();return _0x5a16=function(_0x5a16f0,_0x735e47){_0x5a16f0=_0x5a16f0-0xaf;let _0xe74bd7=_0xe16e20[_0x5a16f0];return _0xe74bd7;},_0x5a16(_0x223173,_0x2bb67b);}function _0xe16e(){const _0x197e6a=['3360322OHKWbV','keys','prototype','defineProperty','6185088TTLTkv','toStringTag','hasOwnProperty','2601550OUDIuA','default','13191oEIbjz','4671282MvHpHJ','call','168778KOyFAX','4368664DjDrof','628okKcKk','2OQulLb','Module'];_0xe16e=function(){return _0x197e6a;};return _0xe16e();}Object[_0x400cc4(0xb3)](exports,Symbol[_0x400cc4(0xb5)],{'value':_0x400cc4(0xaf)});const t=require('@univerjs/engine-formula/facade');Object[_0x400cc4(0xb1)](t)['forEach'](_0x5840a7=>{const _0x17ce97=_0x400cc4;_0x5840a7!==_0x17ce97(0xb8)&&!Object[_0x17ce97(0xb2)][_0x17ce97(0xb6)][_0x17ce97(0xbb)](exports,_0x5840a7)&&Object['defineProperty'](exports,_0x5840a7,{'enumerable':!0x0,'get':()=>t[_0x5840a7]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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]});});
|
|
1
|
+
'use strict';const _0x3773d7=_0xe66d;(function(_0x5c6798,_0x1fe527){const _0x4f8785=_0xe66d,_0x327a62=_0x5c6798();while(!![]){try{const _0x4e16c0=-parseInt(_0x4f8785(0x134))/0x1*(-parseInt(_0x4f8785(0x16c))/0x2)+parseInt(_0x4f8785(0x131))/0x3+parseInt(_0x4f8785(0x9d))/0x4+-parseInt(_0x4f8785(0xf7))/0x5+parseInt(_0x4f8785(0xe3))/0x6*(parseInt(_0x4f8785(0x112))/0x7)+-parseInt(_0x4f8785(0xe6))/0x8+-parseInt(_0x4f8785(0x137))/0x9*(parseInt(_0x4f8785(0x138))/0xa);if(_0x4e16c0===_0x1fe527)break;else _0x327a62['push'](_0x327a62['shift']());}catch(_0x207e73){_0x327a62['push'](_0x327a62['shift']());}}}(_0x4a1e,0xbb986));var P=Object[_0x3773d7(0x136)],B=(_0x2b43ed,_0x1a0804,_0x2653e9)=>_0x1a0804 in _0x2b43ed?P(_0x2b43ed,_0x1a0804,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2653e9}):_0x2b43ed[_0x1a0804]=_0x2653e9,S=(_0x52981c,_0x45d9e9,_0x18a37c)=>B(_0x52981c,typeof _0x45d9e9!=_0x3773d7(0x167)?_0x45d9e9+'':_0x45d9e9,_0x18a37c);Object[_0x3773d7(0x136)](exports,Symbol[_0x3773d7(0x141)],{'value':_0x3773d7(0xce)});const x=require('@univerjs-pro/license'),b=require('@univerjs/core'),c=require('@univerjs/engine-formula'),k={0x0:'K',0x1:'o',0x2:'X',0x3:'1',0x4:'p',0x5:'D',0x6:'E',0x7:'T',0x8:'4',0x9:'m','H':'0','p':'2','v':'3','l':'5','V':'6','T':'7','j':'8','h':'9','M':'a','A':'b','x':'c','a':'d','d':'e','S':'f','e':'g','G':'h','D':'i','y':'j','u':'k','o':'l','b':'n','U':'q','r':'r','Y':'s','s':'t','E':'u','g':'v','W':'w','f':'x','m':'y','C':'z','O':'A','R':'B','K':'C','q':'F','w':'G','Z':'H','c':'I','t':'J','P':'L','L':'M','i':'N','n':'O','B':'P','N':'Q','Q':'R','z':'S','X':'U','J':'V','I':'W','F':'Y','k':'Z'},G=_0x3773d7(0x155);class V extends c[_0x3773d7(0xe8)]{constructor(){const _0x1244c7=_0x3773d7;super(...arguments),S(this,_0x1244c7(0x125),new Map());}[_0x3773d7(0xb4)](){const _0x444423=_0x3773d7;super[_0x444423(0xb4)](),this[_0x444423(0x125)]['clear']();}async[_0x3773d7(0x97)](){const _0x12ebd4=_0x3773d7;this[_0x12ebd4(0xbd)]();const _0x4ae6df=this[_0x12ebd4(0x148)][_0x12ebd4(0x11a)](),_0x3f2b84=this[_0x12ebd4(0x164)]['getOtherFormulaData'](),_0x410ba0=this['_currentConfigService']['getClearDependencyTreeCache']();_0x410ba0!=null&&Object['keys'](_0x410ba0)[_0x12ebd4(0x108)](_0x243822=>{const _0x1edbdd=_0x12ebd4;_0x243822!=null&&Object['keys'](_0x410ba0[_0x243822])[_0x1edbdd(0x108)](_0x4c2189=>{const _0x4d0696=_0x1edbdd;_0x4c2189!=null&&(this['_dependencyManagerService'][_0x4d0696(0x175)](_0x243822,_0x4c2189),this['_dependencyManagerService'][_0x4d0696(0xb3)](_0x243822,_0x4c2189),this[_0x4d0696(0x151)][_0x4d0696(0x107)](_0x243822,_0x4c2189));});});const _0x3d8009=this[_0x12ebd4(0x148)][_0x12ebd4(0x101)]();await this['_generateTreeList'](_0x4ae6df,_0x3f2b84,_0x3d8009),this[_0x12ebd4(0x151)][_0x12ebd4(0xac)]();const _0x1582c7=this[_0x12ebd4(0x13a)](),_0x1cda1e=this[_0x12ebd4(0x113)](_0x1582c7);return this[_0x12ebd4(0x173)](_0x1cda1e)&&this[_0x12ebd4(0xf9)][_0x12ebd4(0x162)](),this[_0x12ebd4(0x125)][_0x12ebd4(0x16a)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x12ebd4(0x151)][_0x12ebd4(0xfd)](),this[_0x12ebd4(0xf9)]['clearArrayObjectCache'](),Promise['resolve'](_0x1cda1e);}[_0x3773d7(0xd1)](_0x3af9b8,_0x4fdca6){const _0x31efe5=_0x3773d7,_0x18fd1b=[_0x3af9b8];for(;_0x18fd1b[_0x31efe5(0x140)]>0x0;){const _0x138ca9=_0x18fd1b[_0x18fd1b[_0x31efe5(0x140)]-0x1];if((_0x4fdca6[_0x31efe5(0x14b)](_0x138ca9)||0x0)===0x0){_0x4fdca6[_0x31efe5(0xa7)](_0x138ca9,0x1);const _0x587d04=this[_0x31efe5(0x125)][_0x31efe5(0x14b)](_0x138ca9);if(_0x587d04==null){_0x4fdca6[_0x31efe5(0xa7)](_0x138ca9,0x2),_0x18fd1b[_0x31efe5(0x15c)]();continue;}const _0x382be7=this['_dependencyManagerService'][_0x31efe5(0xc1)](_0x587d04[_0x31efe5(0x16f)]());for(const _0x243007 of _0x382be7){const _0x47329e=_0x4fdca6[_0x31efe5(0x14b)](_0x243007)||0x0;if(_0x47329e===0x1)return!0x0;_0x47329e===0x0&&_0x18fd1b[_0x31efe5(0x163)](_0x243007);}}else _0x4fdca6[_0x31efe5(0xa7)](_0x138ca9,0x2),_0x18fd1b['pop']();}return!0x1;}[_0x3773d7(0x173)](_0xb0ec3c){const _0x21deb8=_0x3773d7,_0x422707=new Map();for(const _0x260447 of _0xb0ec3c)if(!_0x422707[_0x21deb8(0x144)](_0x260447['treeId'])&&this[_0x21deb8(0xd1)](_0x260447[_0x21deb8(0xe2)],_0x422707))return!0x0;return _0x422707['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x250e7d,_0x564611,_0x21a2f7){const _0x4c765a=_0x3773d7,{unitId:_0x51dca4,subUnitId:_0x2ebfee,dependencyRanges:_0x36a879,getDirtyData:_0x5a9b2e}=_0x21a2f7,_0xb5da31=_0x564611||c[_0x4c765a(0xa4)](this[_0x4c765a(0x151)]),_0x4d6abd=new c['FormulaDependencyTree'](_0xb5da31);_0x4d6abd[_0x4c765a(0xa6)]=_0x51dca4,_0x4d6abd[_0x4c765a(0x9a)]=_0x2ebfee,_0x4d6abd[_0x4c765a(0x149)]=_0x36a879,_0x4d6abd[_0x4c765a(0x9f)]=_0x5a9b2e;const _0x874666=_0x5a9b2e(this[_0x4c765a(0x148)][_0x4c765a(0x9f)](),this[_0x4c765a(0xf9)]['getAllRuntimeData']()),_0x1792e1=this[_0x4c765a(0xa2)](_0x874666['dirtyRanges']);return _0x4d6abd[_0x4c765a(0x105)]=_0x1792e1,_0x4d6abd[_0x4c765a(0xd3)]=_0x250e7d,_0x4d6abd['type']=c[_0x4c765a(0x16b)]['FEATURE_FORMULA'],this[_0x4c765a(0x151)][_0x4c765a(0xec)](_0x51dca4,_0x2ebfee,_0x250e7d,_0x4d6abd),this[_0x4c765a(0x125)]['set'](_0x4d6abd[_0x4c765a(0xe2)],_0x4d6abd),this[_0x4c765a(0x151)][_0x4c765a(0xca)](_0x21a2f7[_0x4c765a(0xa6)],_0x21a2f7[_0x4c765a(0x9a)],_0x250e7d)&&(_0x4d6abd[_0x4c765a(0xc0)]=!0x0),_0x4d6abd;}[_0x3773d7(0x152)](_0x193ca2,_0x174885,_0x31afea){const _0x244eca=_0x3773d7;var _0x2c96ed;for(const _0x5660dc of _0x174885){const _0x1764bd=_0x193ca2[_0x5660dc];if(_0x1764bd==null)continue;const _0x520815=Object[_0x244eca(0x10c)](_0x1764bd);for(const _0x560972 of _0x520815){const _0x2ce289=_0x1764bd[_0x560972];if(_0x2ce289==null)continue;const _0x68abf1=Object[_0x244eca(0x10c)](_0x2ce289);for(const _0x3784b8 of _0x68abf1){const _0x2c7376=this[_0x244eca(0x151)]['hasOtherFormulaDataMainData'](_0x3784b8),_0x3d029e=_0x2ce289[_0x3784b8],{f:_0x161126,ranges:_0x19835f}=_0x3d029e;let _0x5480fb=!0x1;_0x2c7376&&(_0x5480fb=!0x0);const {firstRow:_0x4b65f5,firstColumn:_0x57ffaa}=this[_0x244eca(0xbe)](_0x19835f),_0x4a6aec=this[_0x244eca(0x151)][_0x244eca(0xed)](_0x5660dc,_0x560972,_0x3784b8),_0x5d472d=(_0x2c96ed=_0x4a6aec==null?void 0x0:_0x4a6aec[_0x244eca(0xb5)](0x0,0x0))!=null?_0x2c96ed:c['generateRandomDependencyTreeId'](this[_0x244eca(0x151)]),_0x4ecbba=new c[(_0x244eca(0x15a))](_0x5d472d);for(let _0x55a165=0x0;_0x55a165<_0x19835f[_0x244eca(0x140)];_0x55a165++){const _0x1e4425=_0x19835f[_0x55a165],{startRow:_0x367987,startColumn:_0x33aa7c,endRow:_0x2fb18c,endColumn:_0x2ad05b}=_0x1e4425;for(let _0xe7966a=_0x367987;_0xe7966a<=_0x2fb18c;_0xe7966a++)for(let _0x33c47e=_0x33aa7c;_0x33c47e<=_0x2ad05b;_0x33c47e++){const _0x37a874=_0x33c47e-_0x57ffaa,_0x309918=_0xe7966a-_0x4b65f5;if(_0x37a874===0x0&&_0x309918===0x0){_0x4ecbba[_0x244eca(0xa9)]=_0x161126,_0x4ecbba[_0x244eca(0xa6)]=_0x5660dc,_0x4ecbba[_0x244eca(0x9a)]=_0x560972,_0x4ecbba[_0x244eca(0xeb)]=_0x3784b8,_0x4ecbba[_0x244eca(0xc9)]=c[_0x244eca(0x16b)][_0x244eca(0xd6)],_0x4ecbba[_0x244eca(0xc0)]=_0x5480fb,_0x31afea['push'](_0x4ecbba),this[_0x244eca(0x125)]['set'](_0x4ecbba[_0x244eca(0xe2)],_0x4ecbba),this[_0x244eca(0x151)][_0x244eca(0xf3)](_0x5660dc,_0x560972,_0x3784b8,_0x4ecbba),this[_0x244eca(0x151)][_0x244eca(0xf4)](_0x4ecbba);continue;}const _0xf114cd=new c['FormulaDependencyTreeVirtual']();_0xf114cd[_0x244eca(0xe2)]=(_0x4a6aec==null?void 0x0:_0x4a6aec[_0x244eca(0xb5)](_0x37a874,_0x309918))||c[_0x244eca(0xa4)](this[_0x244eca(0x151)]),_0xf114cd[_0x244eca(0x117)]=_0x4ecbba,_0xf114cd[_0x244eca(0xb1)]=_0x37a874,_0xf114cd[_0x244eca(0xde)]=_0x309918,_0xf114cd[_0x244eca(0xc0)]=_0x5480fb,this[_0x244eca(0x151)][_0x244eca(0xf3)](_0x5660dc,_0x560972,_0x3784b8,_0xf114cd),this[_0x244eca(0x151)][_0x244eca(0xf4)](_0xf114cd),_0x31afea[_0x244eca(0x163)](_0xf114cd),this['_dependencyTreeCache'][_0x244eca(0xa7)](_0xf114cd['treeId'],_0xf114cd);}}this[_0x244eca(0x151)][_0x244eca(0x106)](_0x3784b8);}}}}['_registerFormulas'](_0x68475d,_0x4fbd8a,_0x247d54,_0x331556){const _0x421b2d=_0x3773d7;for(const _0x3c419c of _0x68475d){const _0x22ec46=_0x4fbd8a[_0x3c419c];if(_0x22ec46==null)continue;const _0x1f4029=Object[_0x421b2d(0x10c)](_0x22ec46);for(const _0x218390 of _0x1f4029){const _0x2c44d1=new b[(_0x421b2d(0xc3))](_0x22ec46[_0x218390]||{}),_0x4efd2c=new Map();_0x2c44d1[_0x421b2d(0x128)]((_0x109d9,_0x18058c,_0x153c4c)=>{const _0x39b274=_0x421b2d;if(_0x153c4c==null)return!0x0;const {x:_0x524985=0x0,y:y=0x0,si:_0x31559b}=_0x153c4c;if(!(_0x524985===0x0&&y===0x0&&_0x31559b!=null))return!0x0;const _0x92d5a7=this[_0x39b274(0x10a)](_0x3c419c,_0x218390,_0x109d9,_0x18058c,_0x247d54,_0x153c4c),_0x5a70c6=this['_dependencyManagerService'][_0x39b274(0x99)](_0x3c419c,_0x218390,_0x109d9,_0x18058c);_0x5a70c6!=null?_0x92d5a7[_0x39b274(0xe2)]=_0x5a70c6:(this[_0x39b274(0x151)]['addFormulaDependency'](_0x3c419c,_0x218390,_0x109d9,_0x18058c,_0x92d5a7),this[_0x39b274(0x151)][_0x39b274(0xf4)](_0x92d5a7)),_0x4efd2c[_0x39b274(0xa7)](_0x31559b,_0x92d5a7),_0x331556['push'](_0x92d5a7),this[_0x39b274(0x125)][_0x39b274(0xa7)](_0x92d5a7['treeId'],_0x92d5a7);}),_0x2c44d1[_0x421b2d(0x128)]((_0x2f530b,_0xe3c24,_0xfcfd30)=>{const _0x1540fc=_0x421b2d;if(_0xfcfd30==null)return!0x0;const {x:_0x3292b0=0x0,y:y=0x0,si:_0x4b0cbd}=_0xfcfd30;if(_0x3292b0===0x0&&y===0x0&&_0x4b0cbd!=null)return!0x0;let _0x527f9a;if(_0x4b0cbd&&_0x4efd2c['has'](_0x4b0cbd)){const _0x1ba812=_0x4efd2c[_0x1540fc(0x14b)](_0x4b0cbd);_0x527f9a=this[_0x1540fc(0xb2)](_0x1ba812,_0xfcfd30);}else _0x527f9a=this[_0x1540fc(0x10a)](_0x3c419c,_0x218390,_0x2f530b,_0xe3c24,_0x247d54,_0xfcfd30);const _0x1b09b6=this[_0x1540fc(0x151)][_0x1540fc(0x99)](_0x3c419c,_0x218390,_0x2f530b,_0xe3c24);_0x1b09b6!=null?_0x527f9a['treeId']=_0x1b09b6:(this[_0x1540fc(0x151)][_0x1540fc(0x10d)](_0x3c419c,_0x218390,_0x2f530b,_0xe3c24,_0x527f9a),this[_0x1540fc(0x151)][_0x1540fc(0xf4)](_0x527f9a)),_0x331556[_0x1540fc(0x163)](_0x527f9a),this['_dependencyTreeCache']['set'](_0x527f9a[_0x1540fc(0xe2)],_0x527f9a);}),_0x4efd2c[_0x421b2d(0x16a)]();}}}['_createFDtree'](_0x13d14d,_0x3d5141,_0x48a8c1,_0x21895d,_0x4a6edb,_0x25b2ca){const _0x3f8540=_0x3773d7,{f:_0x121182,x:_0x5f07d2=0x0,y:_0x1e5e52=0x0}=_0x25b2ca,_0x5b1553=new c[(_0x3f8540(0x15a))](c[_0x3f8540(0xa4)](this['_dependencyManagerService'])),_0x2acd25=_0x4a6edb[_0x13d14d][_0x3d5141];return _0x5b1553['formula']=_0x121182,_0x5b1553[_0x3f8540(0xa6)]=_0x13d14d,_0x5b1553['subUnitId']=_0x3d5141,_0x5b1553['row']=_0x48a8c1,_0x5b1553[_0x3f8540(0xdc)]=_0x21895d,_0x5b1553[_0x3f8540(0x12d)]=_0x2acd25[_0x3f8540(0x12d)],_0x5b1553[_0x3f8540(0x114)]=_0x2acd25[_0x3f8540(0x114)],_0x5b1553;}[_0x3773d7(0x13a)](){const _0x304c74=_0x3773d7,_0x1e39a7=[],_0x556fbc=new Set(),_0x36cc7b=this[_0x304c74(0x148)][_0x304c74(0x96)](),_0x5714fc=this[_0x304c74(0x148)][_0x304c74(0x127)](),_0x22ff74=this['_dependencyManagerService']['searchDependency'](_0x5714fc),_0x1241d7=this[_0x304c74(0x146)]['bulkSearch'](_0x5714fc);for(const _0x1c79ca of _0x1241d7)_0x22ff74[_0x304c74(0xcb)](_0x1c79ca);for(const [_0x4a4dbd,_0x4138af]of this[_0x304c74(0x125)])(_0x36cc7b||_0x4138af['isDirty']||_0x4138af[_0x304c74(0x14c)](this[_0x304c74(0x148)][_0x304c74(0x124)]())||_0x22ff74[_0x304c74(0x144)](_0x4a4dbd)&&!_0x4138af[_0x304c74(0x12b)](this[_0x304c74(0x148)][_0x304c74(0x103)]()))&&!_0x556fbc[_0x304c74(0x144)](_0x4a4dbd)&&(_0x1e39a7['push'](_0x4138af),_0x556fbc['add'](_0x4a4dbd));for(const [_0x36e2d6,_0x2a7594]of this[_0x304c74(0x125)])_0x2a7594[_0x304c74(0xab)]||(_0x2a7594[_0x304c74(0x149)][_0x304c74(0x140)]=0x0);return _0x1e39a7;}[_0x3773d7(0xb8)](_0x3358f6){const _0x279d94=_0x3773d7;return this[_0x279d94(0x125)]['get'](_0x3358f6);}[_0x3773d7(0x165)](_0x3e0959){const _0x31e69b=_0x3773d7;return c['generateAstNode'](_0x3e0959[_0x31e69b(0xa6)],_0x3e0959[_0x31e69b(0xa9)],this[_0x31e69b(0x11e)],this[_0x31e69b(0x11f)],this['_currentConfigService']);}*[_0x3773d7(0xd4)](_0x54cdf1,_0x2d761f){const _0x6559a=_0x3773d7,_0x4840c0=_0x54cdf1,_0xf4f474=new Set();for(;_0x4840c0[_0x6559a(0x140)]>0x0;){const _0x1d718b=_0x4840c0[_0x6559a(0x15c)]();if(_0xf4f474['clear'](),_0x1d718b===void 0x0||_0x1d718b[_0x6559a(0x98)]())continue;if(_0x1d718b[_0x6559a(0x118)]()){yield _0x1d718b,_0x1d718b[_0x6559a(0x10b)](),_0x2d761f[_0x6559a(0xcb)](_0x1d718b[_0x6559a(0xe2)]);continue;}const _0x2c4d26=this[_0x6559a(0x151)][_0x6559a(0xc1)](_0x1d718b['toRTreeItem'](),_0x2d761f),_0x1284b0=this[_0x6559a(0x146)]['bulkSearch'](_0x1d718b[_0x6559a(0x16f)](),_0x2d761f);for(const _0x218080 of _0x1284b0)_0x2c4d26['add'](_0x218080);for(const _0x3e71b5 of _0x2c4d26){const _0x2ca9d9=this[_0x6559a(0x125)][_0x6559a(0x14b)](_0x3e71b5);if(!_0x2ca9d9)throw new Error(_0x6559a(0xc5));_0x2ca9d9['isAdded']()||_0x1d718b[_0x6559a(0x98)]()||_0xf4f474[_0x6559a(0xcb)](_0x2ca9d9);}if(_0x2c4d26[_0x6559a(0x16a)](),_0xf4f474[_0x6559a(0xe4)]===0x0)yield _0x1d718b,_0x1d718b[_0x6559a(0x10b)](),_0x2d761f[_0x6559a(0xcb)](_0x1d718b[_0x6559a(0xe2)]);else{_0x1d718b[_0x6559a(0x154)](),_0x4840c0[_0x6559a(0x163)](_0x1d718b);for(const _0x66e425 of _0xf4f474)_0x4840c0[_0x6559a(0x163)](_0x66e425);}}_0x4840c0[_0x6559a(0x140)]=0x0,_0xf4f474['clear']();}[_0x3773d7(0x113)](_0x4f3411){const _0x4ee559=_0x3773d7,_0x25c894=[],_0x4dc580=new Set();for(const _0x114ca6 of this[_0x4ee559(0xd4)](_0x4f3411,_0x4dc580))_0x25c894[_0x4ee559(0x163)](_0x114ca6);return _0x25c894;}}class K extends c[_0x3773d7(0xc8)]{constructor(){const _0x1e6611=_0x3773d7;super(...arguments),S(this,_0x1e6611(0x160),!0x1),S(this,_0x1e6611(0x156),new Set());}[_0x3773d7(0x10f)](_0x25ccda,_0x4e1da7){const _0x3f3e27=_0x3773d7,_0x31db69=this['treeBuilder'](_0x25ccda,!0x1);if(!_0x31db69||_0x31db69===c['ErrorType'][_0x3f3e27(0x13f)]||Array[_0x3f3e27(0x147)](_0x31db69))return null;const _0x37bbb4=[];return this[_0x3f3e27(0x160)]=!0x1,this[_0x3f3e27(0x161)](_0x31db69,_0x37bbb4,_0x4e1da7),this[_0x3f3e27(0x160)]?'='+_0x37bbb4[_0x3f3e27(0xfa)](''):null;}['_generateNewFunctionString'](_0xed5613,_0x5e7a9c,_0x46ec83){const _0x3424e2=_0x3773d7,_0x13c40f=_0xed5613[_0x3424e2(0x12e)](),_0x1a6ec3=_0x13c40f[_0x3424e2(0xc4)](),_0x4f3413=_0x1a6ec3[_0x3424e2(0xfb)](),_0x3bbe63=this['_clearFunctionString'](_0x4f3413),_0x1f46b2=_0x46ec83(_0x3bbe63);let _0xb934fc=0x0;_0x13c40f===c[_0x3424e2(0xee)]?_0xb934fc=0x3:_0x13c40f===c[_0x3424e2(0xe0)]?_0xb934fc=0x4:_0x13c40f===c[_0x3424e2(0x13e)]?_0xb934fc=0x5:c[_0x3424e2(0x145)][_0x3424e2(0x144)](_0x3bbe63)?(_0x5e7a9c['push'](_0x3424e2(0x102)+_0x1a6ec3),this[_0x3424e2(0x160)]=!0x0):_0x4f3413===c[_0x3424e2(0x168)]?(_0x5e7a9c[_0x3424e2(0x163)](_0x3424e2(0x102)+_0x1a6ec3),this['_hasNewExcelFunction']=!0x0,_0xb934fc=0x2):_0x4f3413===c[_0x3424e2(0xcf)]?(_0x5e7a9c[_0x3424e2(0x163)](_0x3424e2(0x102)+_0x1a6ec3),this['_hasNewExcelFunction']=!0x0,_0xb934fc=0x1):_0x4f3413===c[_0x3424e2(0x172)][_0x3424e2(0xea)]?_0xb934fc=0x8:c['SUFFIX_TOKEN_SET']['has'](_0x4f3413)?_0xb934fc=0x7:_0x4f3413===c[_0x3424e2(0x16e)][_0x3424e2(0x132)]?(this[_0x3424e2(0x104)](_0xed5613)&&(_0xb934fc=0x9),_0x5e7a9c[_0x3424e2(0x163)](_0x13c40f)):(_0x5e7a9c['push'](_0x13c40f),_0xb934fc=0xa),_0x1f46b2?(_0xb934fc!==0x2&&_0xb934fc!==0x1&&(_0xb934fc=0x6),_0x5e7a9c['push']('(')):_0xb934fc===0x9&&_0x5e7a9c['push']('(');const _0x406b93=_0xed5613[_0x3424e2(0x130)](),_0x228396=_0x406b93[_0x3424e2(0x140)];if(_0xb934fc===0x2){const _0x1b0b3a=_0x406b93[0x0];let _0x232de9=0x0;_0x1b0b3a instanceof c[_0x3424e2(0x15e)]&&_0x1b0b3a[_0x3424e2(0x12e)]()===c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']&&(_0x232de9=0x1);for(let _0x2b2cff=_0x232de9;_0x2b2cff<_0x228396-0x1;_0x2b2cff++){const _0x887274=_0x406b93[_0x2b2cff];if(_0x887274 instanceof c[_0x3424e2(0x15e)]){const _0x50174d=_0x887274[_0x3424e2(0x130)]()[0x0];typeof _0x50174d==_0x3424e2(0xfe)&&(this['_lambdaFunctionParameterSet'][_0x3424e2(0x144)](_0x50174d)&&console[_0x3424e2(0x142)](_0x3424e2(0xa5)+_0x50174d+'\x22\x20is\x20duplicated.'),this[_0x3424e2(0x156)][_0x3424e2(0xcb)](_0x50174d),_0x5e7a9c['push'](_0x3424e2(0xc7)+_0x50174d),this[_0x3424e2(0x160)]=!0x0);}_0x5e7a9c[_0x3424e2(0x163)](',');}this[_0x3424e2(0x158)](_0x406b93[_0x228396-0x1],_0x5e7a9c,_0x46ec83),_0x232de9===0x1&&(_0x5e7a9c[_0x3424e2(0x163)](')'),_0x5e7a9c[_0x3424e2(0x163)]('('),this[_0x3424e2(0x161)](_0x1b0b3a,_0x5e7a9c,_0x46ec83)),_0x5e7a9c[_0x3424e2(0x163)](')');return;}else{if(_0xb934fc===0x1){for(let _0x5afc36=0x0;_0x5afc36<_0x228396-0x1;_0x5afc36++){const _0xf5156d=_0x406b93[_0x5afc36];if(_0xf5156d instanceof c[_0x3424e2(0x15e)]&&_0x5afc36%0x2===0x0){const _0x361d1d=_0xf5156d[_0x3424e2(0x130)]()[0x0];if(typeof _0x361d1d==_0x3424e2(0xfe)){this['_lambdaFunctionParameterSet'][_0x3424e2(0x144)](_0x361d1d)&&console[_0x3424e2(0x142)](_0x3424e2(0xbb)+_0x361d1d+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet']['add'](_0x361d1d),_0x5e7a9c[_0x3424e2(0x163)](_0x3424e2(0xc7)+_0x361d1d),this[_0x3424e2(0x160)]=!0x0,_0x5e7a9c['push'](',');continue;}}if(this[_0x3424e2(0x158)](_0xf5156d,_0x5e7a9c,_0x46ec83),_0xf5156d instanceof c['LexerNode']){const _0x25f736=_0x406b93[_0x5afc36+0x1];_0x25f736&&_0x25f736 instanceof c[_0x3424e2(0x15e)]&&_0x5e7a9c['push'](',');}}this[_0x3424e2(0x158)](_0x406b93[_0x228396-0x1],_0x5e7a9c,_0x46ec83),_0x5e7a9c[_0x3424e2(0x163)](')');return;}else{if(_0xb934fc===0x8){const _0x2f2943=_0x406b93[0x0],_0x5bee74=_0x406b93[0x1];this[_0x3424e2(0x158)](_0x2f2943,_0x5e7a9c,_0x46ec83),_0x5e7a9c['push'](_0x13c40f),this['_handleNewFunctionChild'](_0x5bee74,_0x5e7a9c,_0x46ec83);return;}}}for(let _0x116956=0x0;_0x116956<_0x228396;_0x116956++){const _0x4e0a2a=_0x406b93[_0x116956];if(this[_0x3424e2(0x158)](_0x4e0a2a,_0x5e7a9c,_0x46ec83),_0x4e0a2a instanceof c['LexerNode']){const _0x2d0f43=_0x406b93[_0x116956+0x1];_0x2d0f43&&_0x2d0f43 instanceof c[_0x3424e2(0x15e)]&&_0x5e7a9c[_0x3424e2(0x163)](',');}}_0xb934fc===0x7&&_0x5e7a9c[_0x3424e2(0x163)](_0x13c40f),(_0x1f46b2||_0xb934fc===0x9)&&_0x5e7a9c[_0x3424e2(0x163)](')');}[_0x3773d7(0x158)](_0x5291ab,_0x4362b9,_0x546d82){const _0x63b359=_0x3773d7;_0x5291ab instanceof c['LexerNode']?this[_0x63b359(0x161)](_0x5291ab,_0x4362b9,_0x546d82):this['_lambdaFunctionParameterSet'][_0x63b359(0x144)](_0x5291ab)?(_0x4362b9['push'](_0x63b359(0xc7)+_0x5291ab),this[_0x63b359(0x160)]=!0x0):_0x4362b9[_0x63b359(0x163)](_0x5291ab);}[_0x3773d7(0x139)](_0x3f8aac){const _0x644ed2=_0x3773d7;let _0x5d37b3=_0x3f8aac[_0x644ed2(0xc4)]();if(!_0x5d37b3)return _0x5d37b3;const _0x5d9ed6=_0x5d37b3[0x0];if((_0x5d9ed6===c[_0x644ed2(0x16e)]['AT']||_0x5d9ed6===c['prefixToken'][_0x644ed2(0x132)]||_0x5d9ed6===c[_0x644ed2(0x16e)][_0x644ed2(0x120)])&&(_0x5d37b3=_0x5d37b3[_0x644ed2(0x129)](0x1)),!_0x5d37b3)return _0x5d37b3;const _0x5af17d=_0x5d37b3[_0x5d37b3[_0x644ed2(0x140)]-0x1];return c[_0x644ed2(0xdb)][_0x644ed2(0x144)](_0x5af17d)&&(_0x5d37b3=_0x5d37b3[_0x644ed2(0x129)](0x0,-0x1)),_0x5d37b3;}[_0x3773d7(0x104)](_0x43f93c){const _0x1d1333=_0x3773d7,_0x2e00d7=_0x43f93c[_0x1d1333(0x130)]()[0x0];if(!_0x2e00d7||!(_0x2e00d7 instanceof c[_0x1d1333(0x15e)])||_0x43f93c[_0x1d1333(0x130)]()[_0x1d1333(0x140)]>0x1)return!0x1;const _0x5b2a69=_0x2e00d7[_0x1d1333(0x130)](),_0x1008ec=_0x5b2a69['length'];if(_0x1008ec===0x1)return!0x1;for(let _0x1671e0=0x0;_0x1671e0<_0x1008ec;_0x1671e0++){const _0x18519f=_0x5b2a69[_0x1671e0];if(!(_0x18519f instanceof c[_0x1d1333(0x15e)])&&c['OPERATOR_TOKEN_SET'][_0x1d1333(0x144)](_0x18519f))return!0x0;}return!0x1;}}class j extends c[_0x3773d7(0x133)]{async['_apply'](_0x3501ff=!0x1){const _0x11c99a=_0x3773d7;_0x3501ff?this[_0x11c99a(0xf9)][_0x11c99a(0x174)](c['FormulaExecuteStageType'][_0x11c99a(0x153)]):this['_runtimeService'][_0x11c99a(0x174)](c[_0x11c99a(0x157)][_0x11c99a(0x119)]),this[_0x11c99a(0xad)][_0x11c99a(0x10e)](this[_0x11c99a(0xf9)][_0x11c99a(0x14f)]());const _0x5aebab=await this[_0x11c99a(0x13c)][_0x11c99a(0x97)](),_0x58dcaf=this[_0x11c99a(0x159)];_0x3501ff?(this[_0x11c99a(0xf9)][_0x11c99a(0x174)](c['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this[_0x11c99a(0xf9)][_0x11c99a(0xe5)](_0x5aebab[_0x11c99a(0x140)])):(this[_0x11c99a(0xf9)][_0x11c99a(0x174)](c[_0x11c99a(0x157)]['START_CALCULATION']),this[_0x11c99a(0xf9)][_0x11c99a(0xae)](_0x5aebab[_0x11c99a(0x140)])),this['_executionInProgressListener$'][_0x11c99a(0x10e)](this[_0x11c99a(0xf9)][_0x11c99a(0x14f)]());let _0x36cbdf=[];const _0x50823e=this[_0x11c99a(0x11b)][_0x11c99a(0x12c)](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x3f5f92=(_0x50823e==null?void 0x0:_0x50823e[_0x11c99a(0xaa)])||c[_0x11c99a(0x170)];let _0x1ba467=0x0;const _0x535e53=_0x5aebab[_0x11c99a(0x140)];for(;_0x5aebab[_0x11c99a(0x140)]>0x0;){const _0x7713eb=_0x5aebab[_0x11c99a(0x15c)](),_0x44be73=c[_0x11c99a(0x123)](_0x7713eb[_0x11c99a(0xa6)],_0x7713eb[_0x11c99a(0xa9)],this[_0x11c99a(0x11e)],this[_0x11c99a(0x11f)],this['_currentConfigService']),_0x423902={'node':_0x44be73,'refOffsetX':_0x7713eb[_0x11c99a(0xb1)],'refOffsetY':_0x7713eb['refOffsetY']},_0x1d13f9=_0x7713eb['getDirtyData'];if(_0x1ba467%_0x3f5f92===0x0&&(await new Promise(_0x4641be=>{const _0x32ebea=_0x11c99a,_0x27f8dc=b[_0x32ebea(0x109)](_0x4641be);_0x36cbdf['push'](_0x27f8dc);}),_0x3501ff?(this['_runtimeService'][_0x11c99a(0x174)](c[_0x11c99a(0x157)][_0x11c99a(0x13b)]),this[_0x11c99a(0xf9)][_0x11c99a(0xb0)](_0x1ba467+0x1)):(this[_0x11c99a(0xf9)][_0x11c99a(0x174)](c[_0x11c99a(0x157)][_0x11c99a(0x135)]),this['_runtimeService'][_0x11c99a(0x169)](_0x1ba467+0x1)),this['_executionInProgressListener$'][_0x11c99a(0x10e)](this[_0x11c99a(0xf9)]['getRuntimeState']()),this[_0x11c99a(0xf9)][_0x11c99a(0xa3)]()||_0x423902==null&&_0x1d13f9==null)){this[_0x11c99a(0xf9)][_0x11c99a(0x174)](c['FormulaExecuteStageType'][_0x11c99a(0xf5)]),this[_0x11c99a(0xf9)][_0x11c99a(0xe1)](),this[_0x11c99a(0x14a)][_0x11c99a(0x10e)](this[_0x11c99a(0xf9)][_0x11c99a(0xf0)]());return;}this['_runtimeService'][_0x11c99a(0xc2)](_0x7713eb[_0x11c99a(0xf1)],_0x7713eb[_0x11c99a(0xdc)],_0x7713eb['rowCount'],_0x7713eb[_0x11c99a(0x114)],_0x7713eb[_0x11c99a(0x9a)],_0x7713eb['unitId']);let _0x435d4a;if(_0x1d13f9!=null&&_0x7713eb[_0x11c99a(0xd3)]!=null){const {runtimeCellData:_0x1ad196,dirtyRanges:_0x22f4b9}=_0x1d13f9(this[_0x11c99a(0x148)][_0x11c99a(0x9f)](),this[_0x11c99a(0xf9)]['getAllRuntimeData']());this[_0x11c99a(0xf9)][_0x11c99a(0xba)](_0x7713eb[_0x11c99a(0xd3)],_0x1ad196),this[_0x11c99a(0xf9)][_0x11c99a(0xd5)](_0x7713eb[_0x11c99a(0xd3)],_0x22f4b9);}else _0x423902!=null&&(_0x58dcaf['checkAsyncNode'](_0x423902[_0x11c99a(0xdd)])?_0x435d4a=await _0x58dcaf[_0x11c99a(0xa1)](_0x423902):_0x435d4a=_0x58dcaf[_0x11c99a(0xd7)](_0x423902),_0x7713eb[_0x11c99a(0xeb)]!=null?this['_runtimeService'][_0x11c99a(0xb6)](_0x7713eb[_0x11c99a(0xeb)],_0x7713eb[_0x11c99a(0xb1)],_0x7713eb[_0x11c99a(0xde)],_0x435d4a):this[_0x11c99a(0xf9)][_0x11c99a(0x166)](_0x435d4a));_0x44be73[_0x11c99a(0xf8)](),_0x1ba467++;}return _0x36cbdf['forEach'](_0x245dd8=>_0x245dd8()),_0x36cbdf=[],_0x535e53>0x0?this[_0x11c99a(0xf9)][_0x11c99a(0xda)]():_0x3501ff||this[_0x11c99a(0xf9)]['markedAsNoFunctionsExecuted'](),this[_0x11c99a(0xf9)][_0x11c99a(0xf0)]();}}function _0x4a1e(){const _0x1877f0=['_registerOtherFormulas','START_DEPENDENCY_ARRAY_FORMULA','setAdded','SEbxsD1b\x20adxrm4sD1b(oDxdbYd,\x204EAoDx0dm)\x20{\x20\x20\x20\x20srm\x20{\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20oDxdbYdcbS1BMrsOrrMm\x20=\x20oDxdbYd.Y4oDs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x201rDeDbLdYYMed\x20=\x20tzni.4MrYd(Ms1A(oDxdbYdcbS1BMrsOrrMm[p]));\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!1rDeDbLdYYMed.Ea)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201rDeDbLdYYMed.Ea\x20=\x20iE9Adr(oDxdbYdcbS1BMrsOrrMm[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYI1rudr\x20=\x20sm4d1S\x20I1rudrwo1AMozx14d\x20!==\x20\x27EbadSDbda\x27\x20&&\x20YdoS\x20DbYsMbxd1S\x20I1rudrwo1AMozx14d;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYRr1WYdr\x20=\x20sm4d1S\x20WDba1W\x20!==\x20\x27EbadSDbda\x27\x20&&\x20sm4d1S\x20WDba1W.o1xMsD1b\x20!==\x20\x27EbadSDbda\x27;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20x1bsdfs\x20=\x20DYI1rudr\x20?\x20YdoS\x20:\x20(DYRr1WYdr\x20?\x20WDba1W\x20:\x20eo1AMo7GDY);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMedI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[p]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMed\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(9dYYMedI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErdI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[v]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErd\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(YDebMsErdI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebJMoDa\x20=\x20x1bsdfs.__gdrDSm__(YDebMsErd,\x209dYYMed,\x204EAoDx0dm);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20a19MDb\x20=\x201rDeDbLdYYMed.a9;\x20\x20\x20\x20\x20\x20\x20\x20SEbxsD1b\x20DY519MDbLMsxGDbe(1BMssdrb,\x201Z1Ys)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204Mssdrb\x20=\x201BMssdrb.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1Ys\x20=\x201Z1Ys.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbBMrsY\x20=\x204Mssdrb.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YsBMrsY\x20=\x20G1Ys.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!4Mssdrb.DbxoEadY(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204Mssdrb\x20===\x20G1Ys;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(4MssdrbBMrsY.odbesG\x20<\x20p\x20||\x204MssdrbBMrsY[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbzESSDf\x20=\x204MssdrbBMrsY.YoDxd(3).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YszESSDf\x20=\x20G1YsBMrsY.YoDxd(-4MssdrbBMrsY.odbesG\x20+\x203).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204MssdrbzESSDf\x20===\x20G1YszESSDf;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ods\x20a19MDbJMoDa\x20=\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(DYRr1WYdr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20(a19MDb\x20&&\x20a19MDb.odbesG)\x20?\x20a19MDb.Y19d((a9csd9)\x20=>\x20DY519MDbLMsxGDbe(a9csd9,\x20o1xMsD1b.G1YsbM9d))\x20:\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(o1xMsD1b.G1YsbM9d\x20===\x20\x27o1xMoG1Ys\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20doYd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20gMoDa\x20=\x20YDebJMoDa\x20&&\x20a19MDbJMoDa;\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x201rDeDbLdYYMed,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xMsxG\x20(drr1r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa:\x20SMoYd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_lambdaFunctionParameterSet','FormulaExecuteStageType','_handleNewFunctionChild','_interpreter','FormulaDependencyTree','unshiftString','pop','removeFeatureFormulaDependency','LexerNode','reset','_hasNewExcelFunction','_generateNewFunctionString','enableCycleDependency','push','_otherFormulaManagerService','_getTreeNode','setRuntimeData','symbol','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','setCompletedFormulasCount','clear','FormulaDependencyTreeType','4UQFUKf','_restDependencyTreeId','prefixToken','toRTreeItem','DEFAULT_INTERVAL_COUNT','DependentOn','matchToken','_checkIsCycleDependency','setFormulaExecuteStage','clearOtherFormulaDependency','isForceCalculate','generate','isSkip','getFormulaDependency','subUnitId','setValue','_allTreeMap','5180072JRNUgp','_addAllTreeMap','getDirtyData','_otherFormulaData','executeAsync','_convertDirtyRangesToUnitRange','isStopExecution','generateRandomDependencyTreeId','Lambda\x20parameter\x20name\x20\x22','unitId','set','_initLicenseValid','formula','intervalCount','isVirtual','openKdTree','_executionInProgressListener$','setTotalFormulasToCalculate','_featureFormulaData','setCompletedArrayFormulasCount','refOffsetX','_createVirtualFDtree','clearFeatureFormulaDependency','dispose','getValue','setRuntimeOtherData','message','_getTreeById','_removeAllTreeMap','setRuntimeFeatureCellData','Let\x20variable\x20name\x20\x22','prototype','_updateRangeFlatten','_getFirstCellOfRange','startColumn','isCache','searchDependency','setCurrent','ObjectMatrix','trim','ParentDependencyTree\x20object\x20is\x20null','_injector','_xlpm.','LexerTreeBuilder','type','getFeatureFormulaDependency','add','UniverFormulaEnginePlugin','hasOwnProperty','Module','DEFAULT_TOKEN_LET_FUNCTION_NAME','removeFormulaDependencyByDefinedName','_isCyclicUtilMap','startRow','featureId','_traverse','setRuntimeFeatureRange','OTHER_FORMULA','execute','_initializeWithOverride','default','markedAsSuccessfullyExecuted','SUFFIX_TOKEN_SET','column','node','refOffsetY','UniverProFormulaEnginePlugin','DEFAULT_TOKEN_TYPE_PARAMETER','markedAsStopFunctionsExecuted','treeId','518352AlxQlv','size','setTotalArrayFormulasToCalculate','4396032LBeEHT','max','FormulaDependencyGenerator','ICalculateFormulaService','COLON','formulaId','addFeatureFormulaDependency','getOtherFormulaDependency','DEFAULT_TOKEN_TYPE_ROOT','bulkRemove','getAllRuntimeData','row','endColumn','addOtherFormulaDependency','addFormulaDependencyByDefinedName','IDLE','_removeDependencyRTreeCache','1037265abzwEl','resetCalculationState','_runtimeService','join','toUpperCase','min','closeKdTree','string','removeOtherFormulaDependency','IDependencyManagerService','getUnitData','_xlfn.','getExcludedRange','_checkAddBracketForMinus','featureDirtyRanges','addOtherFormulaDependencyMainData','clearFormulaDependency','forEach','requestImmediateMacroTask','_createFDtree','setSkip','keys','addFormulaDependency','next','getNewFormulaWithPrefix','valid','_config','98sJuAwr','_calculateRunList','columnCount','removeFormulaDependency','_removeDependencyRTreeCacheById','refTree','isAdded','START_DEPENDENCY','getFormulaData','_configService','return\x20','IFormulaDependencyGenerator','_lexer','_astTreeBuilder','PLUS','_otherFormulaDataMainData','notExecuteFormula','generateAstNode','getDirtyNameMap','_dependencyTreeCache','getSheetFeatureLimit','getDirtyRanges','forValue','slice','_formulaData','isExcludeRange','getConfig','rowCount','getToken','endRow','getChildren','1273134sMartA','MINUS','CalculateFormulaService','704827zLJPpV','CURRENTLY_CALCULATING','defineProperty','9ZShEPx','28131910rKYUNC','_clearFunctionString','_getUpdateTreeListAndMakeDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','_formulaDependencyGenerator','getOwnPropertyDescriptor','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','VALUE','length','toStringTag','error','_definedNameMap','has','NEW_EXCEL_FUNCTIONS','_dependencyRTreeCacheForAddressFunction','isArray','_currentConfigService','rangeList','_executionCompleteListener$','get','dependencySheetName','DependencyManagerService','delete','getRuntimeState','_dependencyRTreeCache','_dependencyManagerService'];_0x4a1e=function(){return _0x1877f0;};return _0x4a1e();}function _0xe66d(_0x5a5f92,_0x49a8e4){const _0x4a1eaa=_0x4a1e();return _0xe66d=function(_0xe66d9e,_0x32169d){_0xe66d9e=_0xe66d9e-0x96;let _0x52731a=_0x4a1eaa[_0xe66d9e];return _0x52731a;},_0xe66d(_0x5a5f92,_0x49a8e4);}class W extends c['DependencyManagerBaseService']{constructor(){const _0xc45966=_0x3773d7;super(...arguments),S(this,_0xc45966(0x9c),new Map()),S(this,'_dependencyRTreeCache',new b['RTree'](!0x0));}[_0x3773d7(0x15f)](){const _0x5bc52a=_0x3773d7;this[_0x5bc52a(0xa0)][_0x5bc52a(0x16a)](),this[_0x5bc52a(0xaf)]['clear'](),this[_0x5bc52a(0x12a)]['clear'](),this[_0x5bc52a(0x150)][_0x5bc52a(0x16a)](),this['_allTreeMap'][_0x5bc52a(0x16a)](),this[_0x5bc52a(0x16d)](),this[_0x5bc52a(0x121)][_0x5bc52a(0x16a)]();}[_0x3773d7(0xf3)](_0x2b4d6d,_0x15e18a,_0x55d368,_0x2f942a){const _0x35c647=_0x3773d7;this[_0x35c647(0xa0)][_0x35c647(0x144)](_0x2b4d6d)||this['_otherFormulaData'][_0x35c647(0xa7)](_0x2b4d6d,new Map());const _0x2b88ad=this['_otherFormulaData'][_0x35c647(0x14b)](_0x2b4d6d);_0x2b88ad[_0x35c647(0x144)](_0x15e18a)||_0x2b88ad['set'](_0x15e18a,new Map());const _0x177130=_0x2b88ad['get'](_0x15e18a);_0x177130[_0x35c647(0x144)](_0x55d368)||_0x177130[_0x35c647(0xa7)](_0x55d368,new b[(_0x35c647(0xc3))]()),_0x177130[_0x35c647(0x14b)](_0x55d368)['setValue'](_0x2f942a[_0x35c647(0xb1)],_0x2f942a[_0x35c647(0xde)],_0x2f942a[_0x35c647(0xe2)]);}[_0x3773d7(0xff)](_0x48fc2c,_0x4189ff,_0x10475a){const _0x5a84b4=_0x3773d7,_0x5c1d07=this[_0x5a84b4(0xa0)][_0x5a84b4(0x14b)](_0x48fc2c);if(_0x5c1d07&&_0x5c1d07[_0x5a84b4(0x144)](_0x4189ff)){const _0x317fdf=_0x5c1d07['get'](_0x4189ff);_0x10475a[_0x5a84b4(0x108)](_0x5c3292=>{const _0x1107e9=_0x5a84b4,_0xefd063=_0x317fdf[_0x1107e9(0x14b)](_0x5c3292);_0xefd063!=null&&(_0xefd063[_0x1107e9(0x128)]((_0x552836,_0x45f17f,_0x7bd5e8)=>{const _0x43e4ed=_0x1107e9;this[_0x43e4ed(0xf6)](_0x7bd5e8),this[_0x43e4ed(0xb9)](_0x7bd5e8);}),_0x317fdf[_0x1107e9(0x14e)](_0x5c3292),this[_0x1107e9(0x121)][_0x1107e9(0x14e)](_0x5c3292));}),_0x317fdf['size']===0x0&&_0x5c1d07['delete'](_0x4189ff),_0x5c1d07[_0x5a84b4(0xe4)]===0x0&&this[_0x5a84b4(0xa0)][_0x5a84b4(0x14e)](_0x48fc2c);}}[_0x3773d7(0x175)](_0x4bc264,_0x5e2fa3){const _0x95a0f5=_0x3773d7,_0x18b7c7=this['_otherFormulaData'][_0x95a0f5(0x14b)](_0x4bc264);if(_0x5e2fa3&&_0x18b7c7&&_0x18b7c7['has'](_0x5e2fa3)){const _0x5737bb=_0x18b7c7[_0x95a0f5(0x14b)](_0x5e2fa3);this[_0x95a0f5(0x116)](_0x4bc264,_0x5e2fa3);for(const _0x503199 of _0x5737bb[_0x95a0f5(0x10c)]()){const _0x7d13e0=_0x5737bb[_0x95a0f5(0x14b)](_0x503199);_0x7d13e0!=null&&(_0x7d13e0['forValue']((_0x1afe6a,_0x403794,_0x2c1597)=>{const _0x2d3233=_0x95a0f5;this[_0x2d3233(0x9c)][_0x2d3233(0x14b)](_0x2c1597)&&this[_0x2d3233(0xb9)](_0x2c1597);}),this[_0x95a0f5(0x121)][_0x95a0f5(0x14e)](_0x503199));}_0x5737bb['clear']();}else{if(_0x18b7c7){for(const _0x494dbf of _0x18b7c7[_0x95a0f5(0x10c)]()){const _0x16c279=_0x18b7c7[_0x95a0f5(0x14b)](_0x494dbf);this[_0x95a0f5(0x116)](_0x4bc264,_0x494dbf);for(const _0x37751e of _0x16c279[_0x95a0f5(0x10c)]()){const _0x12c708=_0x16c279[_0x95a0f5(0x14b)](_0x37751e);_0x12c708!=null&&(_0x12c708[_0x95a0f5(0x128)]((_0x538559,_0x25d121,_0x4b9dc2)=>{const _0x4f35f1=_0x95a0f5;this[_0x4f35f1(0x9c)]['get'](_0x4b9dc2)&&this['_removeAllTreeMap'](_0x4b9dc2);}),this[_0x95a0f5(0x121)]['delete'](_0x37751e));}}this[_0x95a0f5(0xa0)]['delete'](_0x4bc264);}}}[_0x3773d7(0xec)](_0x26d9d7,_0x4a4c27,_0x22bffa,_0x33b37a){const _0x39275f=_0x3773d7;this[_0x39275f(0xaf)][_0x39275f(0x144)](_0x26d9d7)||this['_featureFormulaData'][_0x39275f(0xa7)](_0x26d9d7,new Map());const _0x2d00b3=this[_0x39275f(0xaf)][_0x39275f(0x14b)](_0x26d9d7);_0x2d00b3['has'](_0x4a4c27)||_0x2d00b3[_0x39275f(0xa7)](_0x4a4c27,new Map()),_0x2d00b3[_0x39275f(0x14b)](_0x4a4c27)[_0x39275f(0xa7)](_0x22bffa,_0x33b37a['treeId']);}[_0x3773d7(0x15d)](_0x3349f5,_0x59a838,_0x149b00){const _0x3e4238=_0x3773d7,_0x4c093e=this['_featureFormulaData'][_0x3e4238(0x14b)](_0x3349f5);if(_0x4c093e&&_0x4c093e[_0x3e4238(0x144)](_0x59a838)){const _0x391936=_0x4c093e['get'](_0x59a838);_0x149b00[_0x3e4238(0x108)](_0x10c5d3=>{const _0x187202=_0x3e4238,_0x34a03d=_0x391936['get'](_0x10c5d3);_0x34a03d!=null&&(this['_removeDependencyRTreeCache'](_0x34a03d),_0x391936[_0x187202(0x14e)](_0x10c5d3),this[_0x187202(0xb9)](_0x34a03d));});}}[_0x3773d7(0xb3)](_0x503b6d,_0x50b3d1){const _0x956d4c=_0x3773d7,_0x2c130c=this['_featureFormulaData'][_0x956d4c(0x14b)](_0x503b6d);if(_0x50b3d1&&_0x2c130c&&_0x2c130c[_0x956d4c(0x144)](_0x50b3d1)){const _0x5e6f59=_0x2c130c[_0x956d4c(0x14b)](_0x50b3d1);this[_0x956d4c(0x116)](_0x503b6d,_0x50b3d1),_0x5e6f59['forEach'](_0x5c7bc4=>{_0x5c7bc4!=null&&this['_removeAllTreeMap'](_0x5c7bc4);}),_0x5e6f59[_0x956d4c(0x16a)]();}else _0x2c130c&&(_0x2c130c[_0x956d4c(0x108)]((_0x13a463,_0x31bfbf)=>{const _0x5cc710=_0x956d4c;this[_0x5cc710(0x116)](_0x503b6d,_0x31bfbf),_0x13a463[_0x5cc710(0x108)](_0x8e1e5b=>{const _0x5e0b2e=_0x5cc710;_0x8e1e5b!=null&&this[_0x5e0b2e(0xb9)](_0x8e1e5b);});}),this[_0x956d4c(0xaf)]['delete'](_0x503b6d));}[_0x3773d7(0x10d)](_0xe930e1,_0x470c43,_0x327d3b,_0x36b53e,_0x2eff24){const _0x53795e=_0x3773d7;this[_0x53795e(0x12a)][_0x53795e(0x144)](_0xe930e1)||this[_0x53795e(0x12a)][_0x53795e(0xa7)](_0xe930e1,new Map());const _0xff4d66=this[_0x53795e(0x12a)][_0x53795e(0x14b)](_0xe930e1);_0xff4d66[_0x53795e(0x144)](_0x470c43)||_0xff4d66[_0x53795e(0xa7)](_0x470c43,new b[(_0x53795e(0xc3))]()),_0xff4d66[_0x53795e(0x14b)](_0x470c43)[_0x53795e(0x9b)](_0x327d3b,_0x36b53e,_0x2eff24[_0x53795e(0xe2)]);}[_0x3773d7(0x115)](_0x27dd5e,_0x77cf34,_0x36ae6d,_0x56eb40){const _0x52a312=_0x3773d7,_0x21d552=this[_0x52a312(0x12a)][_0x52a312(0x14b)](_0x27dd5e);if(_0x21d552&&_0x21d552[_0x52a312(0x144)](_0x77cf34)){const _0x3b12db=_0x21d552['get'](_0x77cf34),_0x29486a=_0x3b12db[_0x52a312(0xb5)](_0x36ae6d,_0x56eb40);if(_0x29486a==null)return;this['_removeDependencyRTreeCache'](_0x29486a),_0x3b12db['realDeleteValue'](_0x36ae6d,_0x56eb40),this[_0x52a312(0xb9)](_0x29486a);}}['clearFormulaDependency'](_0x167af9,_0x43e7d2){const _0x250cd6=_0x3773d7,_0x574fd6=this[_0x250cd6(0x12a)]['get'](_0x167af9);if(_0x43e7d2&&_0x574fd6&&_0x574fd6[_0x250cd6(0x144)](_0x43e7d2)){const _0xad6bbf=_0x574fd6[_0x250cd6(0x14b)](_0x43e7d2);this[_0x250cd6(0x116)](_0x167af9,_0x43e7d2),_0xad6bbf[_0x250cd6(0x128)]((_0x2ce170,_0x5b2a7a,_0x3801d9)=>{if(_0x3801d9==null)return!0x0;this['_removeAllTreeMap'](_0x3801d9);}),_0xad6bbf['reset']();}else _0x574fd6&&(_0x574fd6[_0x250cd6(0x108)]((_0x6f360b,_0x1bbd2d)=>{const _0x5b5d01=_0x250cd6;this['_removeDependencyRTreeCacheById'](_0x167af9,_0x1bbd2d),_0x6f360b[_0x5b5d01(0x128)]((_0x2da3b7,_0x277cb8,_0x1b6ef0)=>{const _0x59f5d4=_0x5b5d01;if(_0x1b6ef0==null)return!0x0;this[_0x59f5d4(0xb9)](_0x1b6ef0);});}),this[_0x250cd6(0x12a)][_0x250cd6(0x14e)](_0x167af9));}['_removeDependencyRTreeCache'](_0x478f5d){const _0x59d018=_0x3773d7;if(_0x478f5d==null)return;const _0x2df349=this[_0x59d018(0x9c)][_0x59d018(0x14b)](_0x478f5d);if(_0x2df349){const _0x4d0ba5=[];for(const [_0x9891db,_0x1bf644]of _0x2df349)for(const [_0x2412d6,_0x5f4077]of _0x1bf644)_0x4d0ba5['push']({'unitId':_0x9891db,'sheetId':_0x2412d6,'range':_0x5f4077,'id':_0x478f5d});this[_0x59d018(0x150)][_0x59d018(0xef)](_0x4d0ba5);}}[_0x3773d7(0xd0)](_0x380071,_0x344772){const _0x2eacc3=_0x3773d7,_0x4765d4=this[_0x2eacc3(0x143)][_0x2eacc3(0x14b)](_0x380071);if(_0x4765d4){const _0x51ce74=_0x4765d4[_0x2eacc3(0x14b)](_0x344772);if(_0x51ce74){for(const _0x1f0eab of _0x51ce74)this[_0x2eacc3(0xf6)](_0x1f0eab),this['_removeAllTreeMap'](_0x1f0eab);_0x51ce74[_0x2eacc3(0x16a)]();}}}['openKdTree'](){const _0x560cea=_0x3773d7;this[_0x560cea(0x150)][_0x560cea(0xac)]();}[_0x3773d7(0xfd)](){const _0x267cf7=_0x3773d7;this[_0x267cf7(0x150)][_0x267cf7(0xfd)]();}['_removeAllTreeMap'](_0x33a946){const _0x10e3dd=_0x3773d7;_0x33a946!=null&&this[_0x10e3dd(0x9c)][_0x10e3dd(0x14e)](_0x33a946);}[_0x3773d7(0x9e)](_0x4cf108){const _0x4f8575=_0x3773d7;var _0x2e7e48,_0x25b561;const _0x6afa19=_0x4cf108['rangeList'];let _0x17ab29=this[_0x4f8575(0x9c)][_0x4f8575(0x14b)](_0x4cf108['treeId']);for(let _0x635ec5=0x0;_0x635ec5<_0x6afa19['length'];_0x635ec5++){const _0x145222=_0x6afa19[_0x635ec5];let {unitId:_0x533455,sheetId:_0x55ac36,range:_0x28b9a8}=_0x145222;_0x17ab29||(_0x17ab29=new Map(),this[_0x4f8575(0x9c)][_0x4f8575(0xa7)](_0x4cf108[_0x4f8575(0xe2)],_0x17ab29)),_0x17ab29[_0x4f8575(0x144)](_0x533455)||_0x17ab29['set'](_0x533455,new Map());const _0x140322=(_0x2e7e48=_0x17ab29==null?void 0x0:_0x17ab29[_0x4f8575(0x14b)](_0x533455))==null?void 0x0:_0x2e7e48[_0x4f8575(0x14b)](_0x55ac36);_0x140322&&(_0x28b9a8={'startRow':Math[_0x4f8575(0xfc)](_0x28b9a8[_0x4f8575(0xd2)],_0x140322['startRow']),'startColumn':Math[_0x4f8575(0xfc)](_0x28b9a8[_0x4f8575(0xbf)],_0x140322['startColumn']),'endRow':Math[_0x4f8575(0xe7)](_0x28b9a8[_0x4f8575(0x12f)],_0x140322['endRow']),'endColumn':Math['max'](_0x28b9a8[_0x4f8575(0xf2)],_0x140322['endColumn'])}),(_0x25b561=_0x17ab29[_0x4f8575(0x14b)](_0x533455))==null||_0x25b561[_0x4f8575(0xa7)](_0x55ac36,_0x28b9a8);}}}var z=Object[_0x3773d7(0x13d)],$=(_0x3619c0,_0x54aadb,_0xa95045,_0x25a063)=>{for(var _0xaa2af3=_0x25a063>0x1?void 0x0:_0x25a063?z(_0x54aadb,_0xa95045):_0x54aadb,_0x280472=_0x3619c0['length']-0x1,_0x289f9a;_0x280472>=0x0;_0x280472--)(_0x289f9a=_0x3619c0[_0x280472])&&(_0xaa2af3=_0x289f9a(_0xaa2af3)||_0xaa2af3);return _0xaa2af3;};const X=Number['parseInt'](0x692ea9f2);exports['UniverProFormulaEnginePlugin']=class extends c[_0x3773d7(0xcc)]{[_0x3773d7(0xd8)](){const _0x3cea27=_0x3773d7;var _0x5e3aa1,_0x1e52f6;this['_initLicenseValid']()?(this[_0x3cea27(0xc6)]['add']([c[_0x3cea27(0xc8)],{'useClass':K}]),(_0x5e3aa1=this['_config'])!=null&&_0x5e3aa1[_0x3cea27(0x122)]||[[c[_0x3cea27(0xe9)],{'useClass':j}],[c[_0x3cea27(0x100)],{'useClass':W}],[c['IFormulaDependencyGenerator'],{'useClass':V}]]['forEach'](_0x4d459a=>this[_0x3cea27(0xc6)][_0x3cea27(0xcb)](_0x4d459a))):(this[_0x3cea27(0xc6)][_0x3cea27(0xcb)]([c['LexerTreeBuilder'],{'useClass':c[_0x3cea27(0xc8)]}]),(_0x1e52f6=this[_0x3cea27(0x111)])!=null&&_0x1e52f6[_0x3cea27(0x122)]||[[c[_0x3cea27(0xe9)],{'useClass':c[_0x3cea27(0x133)]}],[c[_0x3cea27(0x100)],{'useClass':c[_0x3cea27(0x14d)]}],[c[_0x3cea27(0x11d)],{'useClass':c['FormulaDependencyGenerator']}]]['forEach'](_0x18c595=>this['_injector'][_0x3cea27(0xcb)](_0x18c595)));}[_0x3773d7(0xa8)](){const _0x2c1851=_0x3773d7;var _0x37229e;const _0xd193f2=(_0x37229e=this[_0x2c1851(0x11b)]['getConfig'](x['LS_CONFIG_KEY']))!=null?_0x37229e:{},{ls:_0x2b8b86,pbk:_0x33fd8b}=_0xd193f2;if(!_0x2b8b86||!_0x33fd8b)return!0x1;const _0x3734d=x[_0x2c1851(0x15b)](G,k),_0xd1fdaa=new Function(_0x2c1851(0x11c)+_0x3734d)()(_0x2b8b86,_0x33fd8b),_0x186fa9=_0xd1fdaa[_0x2c1851(0xb7)];return _0xd1fdaa[_0x2c1851(0x110)]&&x['isFeatureAuthorizedWithinTime'](_0x186fa9,'sf',X)?x[_0x2c1851(0x126)](_0x186fa9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x3773d7(0xdf)]=$([b[_0x3773d7(0x171)](x['UniverLicensePlugin'])],exports[_0x3773d7(0xdf)]),Object['keys'](c)[_0x3773d7(0x108)](_0x2978ff=>{const _0xceae48=_0x3773d7;_0x2978ff!==_0xceae48(0xd9)&&!Object[_0xceae48(0xbc)][_0xceae48(0xcd)]['call'](exports,_0x2978ff)&&Object[_0xceae48(0x136)](exports,_0x2978ff,{'enumerable':!0x0,'get':()=>c[_0x2978ff]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3d10(_0x561cd8,_0xbfb4d5){var _0xa7f48a=_0xa7f4();return _0x3d10=function(_0x3d107f,_0x2060b3){_0x3d107f=_0x3d107f-0x113;var _0x3c628b=_0xa7f48a[_0x3d107f];return _0x3c628b;},_0x3d10(_0x561cd8,_0xbfb4d5);}function _0xa7f4(){var _0x2c6737=['1918140etTMcO','1889262UUaNuM','2pJxjvm','1222701fsFesC','2424785dnZRse','48wTSMAa','2681176ossYaX','609701baPzfo','4091370QeemVI'];_0xa7f4=function(){return _0x2c6737;};return _0xa7f4();}(function(_0x46b1fe,_0x359bee){var _0x3b816b=_0x3d10,_0x5a76e6=_0x46b1fe();while(!![]){try{var _0x3c3fb8=-parseInt(_0x3b816b(0x119))/0x1*(-parseInt(_0x3b816b(0x114))/0x2)+parseInt(_0x3b816b(0x115))/0x3+parseInt(_0x3b816b(0x118))/0x4+-parseInt(_0x3b816b(0x116))/0x5+parseInt(_0x3b816b(0x11a))/0x6+-parseInt(_0x3b816b(0x11b))/0x7+parseInt(_0x3b816b(0x117))/0x8*(-parseInt(_0x3b816b(0x113))/0x9);if(_0x3c3fb8===_0x359bee)break;else _0x5a76e6['push'](_0x5a76e6['shift']());}catch(_0x3c5788){_0x5a76e6['push'](_0x5a76e6['shift']());}}}(_0xa7f4,0x55afc));export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x105c38=_0x4449;(function(_0x32bcaa,_0x247f66){const _0x1376b1=_0x4449,_0x2b3c19=_0x32bcaa();while(!![]){try{const _0x344666=parseInt(_0x1376b1(0xdb))/0x1*(-parseInt(_0x1376b1(0xe0))/0x2)+parseInt(_0x1376b1(0xe8))/0x3+-parseInt(_0x1376b1(0x148))/0x4*(parseInt(_0x1376b1(0x143))/0x5)+parseInt(_0x1376b1(0x144))/0x6+-parseInt(_0x1376b1(0x14b))/0x7+parseInt(_0x1376b1(0x127))/0x8+parseInt(_0x1376b1(0x90))/0x9;if(_0x344666===_0x247f66)break;else _0x2b3c19['push'](_0x2b3c19['shift']());}catch(_0x46cd90){_0x2b3c19['push'](_0x2b3c19['shift']());}}}(_0x4915,0x2cb24));var q=Object[_0x105c38(0xc3)],Q=(_0x31f6c6,_0x384e89,_0x2a634d)=>_0x384e89 in _0x31f6c6?q(_0x31f6c6,_0x384e89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a634d}):_0x31f6c6[_0x384e89]=_0x2a634d,b=(_0x1e0cc4,_0xfdd860,_0xc5a3e1)=>Q(_0x1e0cc4,typeof _0xfdd860!=_0x105c38(0xd7)?_0xfdd860+'':_0xfdd860,_0xc5a3e1);import{UniverLicensePlugin as _0x4c8275,LS_CONFIG_KEY as _0x5075f3,unshiftString as _0x57ad2a,isFeatureAuthorizedWithinTime as _0x216677,getSheetFeatureLimit as _0x4137db}from'@univerjs-pro/license';function _0x4915(){const _0x54897b=['_convertDirtyRangesToUnitRange','valid','addOtherFormulaDependencyMainData','getDirtyRanges','_addAllTreeMap','generate','return\x20','_executionCompleteListener$','startColumn','next','isForceCalculate','dispose','clearFeatureFormulaDependency','getDirtyNameMap','_removeAllTreeMap','formula','setCurrent','_createFDtree','clearArrayObjectCache','_generateNewFunctionString','columnCount','string','_allTreeMap','_clearFunctionString','50655fxSTKH','2095380SsgUOT','ParentDependencyTree\x20object\x20is\x20null','startRow','subUnitId','128thsJeJ','_otherFormulaData','endRow','904736AiaBCH','_dependencyTreeCache','treeBuilder','intervalCount','_calculateRunList','treeId','getNewFormulaWithPrefix','1884996NqPfua','resetCalculationState','dependencySheetName','error','getRuntimeState','bulkRemove','CURRENTLY_CALCULATING','_injector','setCompletedFormulasCount','_removeDependencyRTreeCache','_generateTreeList','addFormulaDependency','setSkip','node','getOtherFormulaDependency','getValue','setTotalFormulasToCalculate','CURRENTLY_CALCULATING_ARRAY_FORMULA','forValue','column','clearFormulaDependency','clear','unitId','setRuntimeFeatureRange','getUnitData','setRuntimeOtherData','isDirty','execute','_checkAddBracketForMinus','_lambdaFunctionParameterSet','_apply','has','refOffsetX','addFormulaDependencyByDefinedName','max','searchDependency','executeAsync','getAllRuntimeData','_hasNewExcelFunction','forEach','getOwnPropertyDescriptor','closeKdTree','row','min','type','trim','MINUS','toUpperCase','_getUpdateTreeListAndMakeDependency','IDLE','getChildren','defineProperty','setCompletedArrayFormulasCount','setRuntimeData','_config','_currentConfigService','_traverse','_restDependencyTreeId','refOffsetY','_definedNameMap','_initializeWithOverride','markedAsNoFunctionsExecuted','Lambda\x20parameter\x20name\x20\x22','_xlfn.','refTree','_xlpm.','endColumn','VALUE','removeFormulaDependencyByDefinedName','OTHER_FORMULA','START_DEPENDENCY','symbol','parseInt','_dependencyRTreeCacheForAddressFunction','START_CALCULATION_ARRAY_FORMULA','26912xtnlTe','formulaId','_featureFormulaData','_registerFormulas','keys','10fKKPVi','getDirtyData','openKdTree','isStopExecution','FEATURE_FORMULA','getToken','setAdded','addFeatureFormulaDependency','308829odcSMd','_checkIsCycleDependency','isAdded','START_DEPENDENCY_ARRAY_FORMULA','isExcludeRange','isVirtual','size','\x22\x20is\x20duplicated.','addOtherFormulaDependency','notExecuteFormula','push','rowCount','_lexer','_getTreeById','setTotalArrayFormulasToCalculate','reset','_executionInProgressListener$','_configService','slice','COLON','hasOtherFormulaDataMainData','_otherFormulaDataMainData','isCache','resolve','_removeDependencyRTreeCacheById','_dependencyManagerService','_otherFormulaManagerService','message','isSkip','setFormulaExecuteStage','bulkSearch','getFormulaData','_formulaDependencyGenerator','set','add','getFormulaDependency','Let\x20variable\x20name\x20\x22','_registerOtherFormulas','_astTreeBuilder','delete','dirtyRanges','_getFirstCellOfRange','setValue','_dependencyRTreeCache','get','getConfig','pop','rangeList','_runtimeService','_createVirtualFDtree','SEbxsD1b\x20adxrm4sD1b(oDxdbYd,\x204EAoDx0dm)\x20{\x20\x20\x20\x20srm\x20{\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20oDxdbYdcbS1BMrsOrrMm\x20=\x20oDxdbYd.Y4oDs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x201rDeDbLdYYMed\x20=\x20tzni.4MrYd(Ms1A(oDxdbYdcbS1BMrsOrrMm[p]));\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!1rDeDbLdYYMed.Ea)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201rDeDbLdYYMed.Ea\x20=\x20iE9Adr(oDxdbYdcbS1BMrsOrrMm[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYI1rudr\x20=\x20sm4d1S\x20I1rudrwo1AMozx14d\x20!==\x20\x27EbadSDbda\x27\x20&&\x20YdoS\x20DbYsMbxd1S\x20I1rudrwo1AMozx14d;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYRr1WYdr\x20=\x20sm4d1S\x20WDba1W\x20!==\x20\x27EbadSDbda\x27\x20&&\x20sm4d1S\x20WDba1W.o1xMsD1b\x20!==\x20\x27EbadSDbda\x27;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20x1bsdfs\x20=\x20DYI1rudr\x20?\x20YdoS\x20:\x20(DYRr1WYdr\x20?\x20WDba1W\x20:\x20eo1AMo7GDY);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMedI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[p]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMed\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(9dYYMedI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErdI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[v]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErd\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(YDebMsErdI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebJMoDa\x20=\x20x1bsdfs.__gdrDSm__(YDebMsErd,\x209dYYMed,\x204EAoDx0dm);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20a19MDb\x20=\x201rDeDbLdYYMed.a9;\x20\x20\x20\x20\x20\x20\x20\x20SEbxsD1b\x20DY519MDbLMsxGDbe(1BMssdrb,\x201Z1Ys)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204Mssdrb\x20=\x201BMssdrb.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1Ys\x20=\x201Z1Ys.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbBMrsY\x20=\x204Mssdrb.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YsBMrsY\x20=\x20G1Ys.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!4Mssdrb.DbxoEadY(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204Mssdrb\x20===\x20G1Ys;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(4MssdrbBMrsY.odbesG\x20<\x20p\x20||\x204MssdrbBMrsY[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbzESSDf\x20=\x204MssdrbBMrsY.YoDxd(3).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YszESSDf\x20=\x20G1YsBMrsY.YoDxd(-4MssdrbBMrsY.odbesG\x20+\x203).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204MssdrbzESSDf\x20===\x20G1YszESSDf;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ods\x20a19MDbJMoDa\x20=\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(DYRr1WYdr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20(a19MDb\x20&&\x20a19MDb.odbesG)\x20?\x20a19MDb.Y19d((a9csd9)\x20=>\x20DY519MDbLMsxGDbe(a9csd9,\x20o1xMsD1b.G1YsbM9d))\x20:\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(o1xMsD1b.G1YsbM9d\x20===\x20\x27o1xMoG1Ys\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20doYd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20gMoDa\x20=\x20YDebJMoDa\x20&&\x20a19MDbJMoDa;\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x201rDeDbLdYYMed,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xMsxG\x20(drr1r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa:\x20SMoYd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getExcludedRange','removeFeatureFormulaDependency','_initLicenseValid','toRTreeItem','_isCyclicUtilMap','length','featureDirtyRanges','_formulaData','_interpreter','markedAsStopFunctionsExecuted','realDeleteValue','setRuntimeFeatureCellData','875672tLzOjB','_handleNewFunctionChild','featureId','START_CALCULATION'];_0x4915=function(){return _0x54897b;};return _0x4915();}import{ObjectMatrix as _0x2b800b,requestImmediateMacroTask as _0x432401,RTree as _0x54743a,DependentOn as _0x111fe0}from'@univerjs/core';import{FormulaDependencyGenerator as _0x301c51,generateRandomDependencyTreeId as _0xe041c9,FormulaDependencyTree as _0x3b53d7,FormulaDependencyTreeType as _0x36f463,FormulaDependencyTreeVirtual as _0x48bc6c,generateAstNode as _0x1a049f,LexerTreeBuilder as _0x1cdf4a,ErrorType as _0x4e46f1,DEFAULT_TOKEN_TYPE_ROOT as _0x7f8cd9,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3bbcfd,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3c09aa,NEW_EXCEL_FUNCTIONS as _0x10982d,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x19dbb4,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x32a16b,matchToken as _0x5cea87,SUFFIX_TOKEN_SET as _0x15f62b,prefixToken as _0x4d4ada,LexerNode as _0xca1ee8,OPERATOR_TOKEN_SET as _0x5ab23c,CalculateFormulaService as _0x4f2af5,FormulaExecuteStageType as _0xdf7c2d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4c215e,DEFAULT_INTERVAL_COUNT as _0x1dd2a7,DependencyManagerBaseService as _0x4ec6e3,UniverFormulaEnginePlugin as _0xd113e5,ICalculateFormulaService as _0x4935a5,IDependencyManagerService as _0x1c31aa,IFormulaDependencyGenerator as _0x28e852,DependencyManagerService as _0x5cc4c4}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'K',0x1:'o',0x2:'X',0x3:'1',0x4:'p',0x5:'D',0x6:'E',0x7:'T',0x8:'4',0x9:'m','H':'0','p':'2','v':'3','l':'5','V':'6','T':'7','j':'8','h':'9','M':'a','A':'b','x':'c','a':'d','d':'e','S':'f','e':'g','G':'h','D':'i','y':'j','u':'k','o':'l','b':'n','U':'q','r':'r','Y':'s','s':'t','E':'u','g':'v','W':'w','f':'x','m':'y','C':'z','O':'A','R':'B','K':'C','q':'F','w':'G','Z':'H','c':'I','t':'J','P':'L','L':'M','i':'N','n':'O','B':'P','N':'Q','Q':'R','z':'S','X':'U','J':'V','I':'W','F':'Y','k':'Z'},Ce=_0x105c38(0x11a);class Se extends _0x301c51{constructor(){const _0xc77237=_0x105c38;super(...arguments),b(this,_0xc77237(0x14c),new Map());}[_0x105c38(0x136)](){const _0xf96e00=_0x105c38;super['dispose'](),this[_0xf96e00(0x14c)][_0xf96e00(0xa5)]();}async[_0x105c38(0x130)](){const _0x320bce=_0x105c38;this['_updateRangeFlatten']();const _0x54124a=this[_0x320bce(0xc7)][_0x320bce(0x107)](),_0x1bb84c=this[_0x320bce(0x102)]['getOtherFormulaData'](),_0x32c84c=this['_currentConfigService']['getClearDependencyTreeCache']();_0x32c84c!=null&&Object[_0x320bce(0xdf)](_0x32c84c)['forEach'](_0x5e6051=>{const _0x5f3d13=_0x320bce;_0x5e6051!=null&&Object['keys'](_0x32c84c[_0x5e6051])[_0x5f3d13(0xb7)](_0x45a42f=>{const _0x1abc72=_0x5f3d13;_0x45a42f!=null&&(this[_0x1abc72(0x101)]['clearOtherFormulaDependency'](_0x5e6051,_0x45a42f),this[_0x1abc72(0x101)][_0x1abc72(0x137)](_0x5e6051,_0x45a42f),this[_0x1abc72(0x101)]['clearFormulaDependency'](_0x5e6051,_0x45a42f));});});const _0x246ead=this[_0x320bce(0xc7)][_0x320bce(0xa8)]();await this[_0x320bce(0x9a)](_0x54124a,_0x1bb84c,_0x246ead),this['_dependencyManagerService']['openKdTree']();const _0x5bf2a0=this[_0x320bce(0xc0)](),_0x3e789d=this[_0x320bce(0x8d)](_0x5bf2a0);return this['_checkIsCycleDependency'](_0x3e789d)&&this['_runtimeService']['enableCycleDependency'](),this[_0x320bce(0x14c)][_0x320bce(0xa5)](),this[_0x320bce(0xd9)][_0x320bce(0xa5)](),this[_0x320bce(0x101)]['closeKdTree'](),this[_0x320bce(0x118)][_0x320bce(0x13d)](),Promise[_0x320bce(0xff)](_0x3e789d);}[_0x105c38(0x11f)](_0x40a9b9,_0x2bd68c){const _0x3d43e8=_0x105c38,_0x281519=[_0x40a9b9];for(;_0x281519[_0x3d43e8(0x120)]>0x0;){const _0x3e1660=_0x281519[_0x281519[_0x3d43e8(0x120)]-0x1];if((_0x2bd68c['get'](_0x3e1660)||0x0)===0x0){_0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x1);const _0x1ac1fb=this['_dependencyTreeCache'][_0x3d43e8(0x114)](_0x3e1660);if(_0x1ac1fb==null){_0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x2),_0x281519[_0x3d43e8(0x116)]();continue;}const _0x3704e1=this[_0x3d43e8(0x101)][_0x3d43e8(0xb3)](_0x1ac1fb[_0x3d43e8(0x11e)]());for(const _0x5a6340 of _0x3704e1){const _0x39fab1=_0x2bd68c[_0x3d43e8(0x114)](_0x5a6340)||0x0;if(_0x39fab1===0x1)return!0x0;_0x39fab1===0x0&&_0x281519[_0x3d43e8(0xf2)](_0x5a6340);}}else _0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x2),_0x281519[_0x3d43e8(0x116)]();}return!0x1;}[_0x105c38(0xe9)](_0x61ff75){const _0x125932=_0x105c38,_0x6ee0d5=new Map();for(const _0x5809d7 of _0x61ff75)if(!_0x6ee0d5[_0x125932(0xaf)](_0x5809d7['treeId'])&&this[_0x125932(0x11f)](_0x5809d7[_0x125932(0x8e)],_0x6ee0d5))return!0x0;return _0x6ee0d5[_0x125932(0xa5)](),!0x1;}['_getFeatureFormulaTree'](_0xa658e5,_0x41b941,_0x172feb){const _0x59c9f8=_0x105c38,{unitId:_0x33bea3,subUnitId:_0x48a454,dependencyRanges:_0x2d1055,getDirtyData:_0x14ccc8}=_0x172feb,_0x2ed0ba=_0x41b941||_0xe041c9(this[_0x59c9f8(0x101)]),_0x742aa2=new _0x3b53d7(_0x2ed0ba);_0x742aa2[_0x59c9f8(0xa6)]=_0x33bea3,_0x742aa2[_0x59c9f8(0x147)]=_0x48a454,_0x742aa2[_0x59c9f8(0x117)]=_0x2d1055,_0x742aa2[_0x59c9f8(0xe1)]=_0x14ccc8;const _0x2f9a7e=_0x14ccc8(this['_currentConfigService'][_0x59c9f8(0xe1)](),this[_0x59c9f8(0x118)]['getAllRuntimeData']()),_0x30074e=this[_0x59c9f8(0x12b)](_0x2f9a7e[_0x59c9f8(0x110)]);return _0x742aa2[_0x59c9f8(0x121)]=_0x30074e,_0x742aa2[_0x59c9f8(0x129)]=_0xa658e5,_0x742aa2[_0x59c9f8(0xbc)]=_0x36f463[_0x59c9f8(0xe4)],this[_0x59c9f8(0x101)][_0x59c9f8(0xe7)](_0x33bea3,_0x48a454,_0xa658e5,_0x742aa2),this[_0x59c9f8(0x14c)][_0x59c9f8(0x109)](_0x742aa2[_0x59c9f8(0x8e)],_0x742aa2),this[_0x59c9f8(0x101)]['getFeatureFormulaDependency'](_0x172feb[_0x59c9f8(0xa6)],_0x172feb[_0x59c9f8(0x147)],_0xa658e5)&&(_0x742aa2[_0x59c9f8(0xfe)]=!0x0),_0x742aa2;}[_0x105c38(0x10d)](_0x122b31,_0x1c213a,_0x3fc67b){const _0x5803bd=_0x105c38;var _0x1557cb;for(const _0x136abd of _0x1c213a){const _0x50d766=_0x122b31[_0x136abd];if(_0x50d766==null)continue;const _0x1fb0b2=Object[_0x5803bd(0xdf)](_0x50d766);for(const _0x4319d6 of _0x1fb0b2){const _0x361965=_0x50d766[_0x4319d6];if(_0x361965==null)continue;const _0x2ffae7=Object[_0x5803bd(0xdf)](_0x361965);for(const _0x517933 of _0x2ffae7){const _0x17f2d0=this[_0x5803bd(0x101)][_0x5803bd(0xfc)](_0x517933),_0x424835=_0x361965[_0x517933],{f:_0x18b44c,ranges:_0x397a82}=_0x424835;let _0x217904=!0x1;_0x17f2d0&&(_0x217904=!0x0);const {firstRow:_0x408745,firstColumn:_0x1157bc}=this[_0x5803bd(0x111)](_0x397a82),_0xbca418=this[_0x5803bd(0x101)][_0x5803bd(0x9e)](_0x136abd,_0x4319d6,_0x517933),_0x211aca=(_0x1557cb=_0xbca418==null?void 0x0:_0xbca418[_0x5803bd(0x9f)](0x0,0x0))!=null?_0x1557cb:_0xe041c9(this['_dependencyManagerService']),_0x4d6131=new _0x3b53d7(_0x211aca);for(let _0x1b0f8a=0x0;_0x1b0f8a<_0x397a82[_0x5803bd(0x120)];_0x1b0f8a++){const _0x616eb8=_0x397a82[_0x1b0f8a],{startRow:_0x6cbe0,startColumn:_0xb07739,endRow:_0x3e02f0,endColumn:_0x434ef4}=_0x616eb8;for(let _0x44024b=_0x6cbe0;_0x44024b<=_0x3e02f0;_0x44024b++)for(let _0x454102=_0xb07739;_0x454102<=_0x434ef4;_0x454102++){const _0x599c7e=_0x454102-_0x1157bc,_0x12a046=_0x44024b-_0x408745;if(_0x599c7e===0x0&&_0x12a046===0x0){_0x4d6131[_0x5803bd(0x13a)]=_0x18b44c,_0x4d6131['unitId']=_0x136abd,_0x4d6131[_0x5803bd(0x147)]=_0x4319d6,_0x4d6131[_0x5803bd(0xdc)]=_0x517933,_0x4d6131['type']=_0x36f463[_0x5803bd(0xd5)],_0x4d6131[_0x5803bd(0xfe)]=_0x217904,_0x3fc67b[_0x5803bd(0xf2)](_0x4d6131),this[_0x5803bd(0x14c)][_0x5803bd(0x109)](_0x4d6131[_0x5803bd(0x8e)],_0x4d6131),this[_0x5803bd(0x101)][_0x5803bd(0xf0)](_0x136abd,_0x4319d6,_0x517933,_0x4d6131),this['_dependencyManagerService'][_0x5803bd(0xb1)](_0x4d6131);continue;}const _0x4da782=new _0x48bc6c();_0x4da782[_0x5803bd(0x8e)]=(_0xbca418==null?void 0x0:_0xbca418[_0x5803bd(0x9f)](_0x599c7e,_0x12a046))||_0xe041c9(this[_0x5803bd(0x101)]),_0x4da782[_0x5803bd(0xd0)]=_0x4d6131,_0x4da782[_0x5803bd(0xb0)]=_0x599c7e,_0x4da782[_0x5803bd(0xca)]=_0x12a046,_0x4da782['isCache']=_0x217904,this[_0x5803bd(0x101)][_0x5803bd(0xf0)](_0x136abd,_0x4319d6,_0x517933,_0x4da782),this[_0x5803bd(0x101)][_0x5803bd(0xb1)](_0x4da782),_0x3fc67b[_0x5803bd(0xf2)](_0x4da782),this[_0x5803bd(0x14c)][_0x5803bd(0x109)](_0x4da782[_0x5803bd(0x8e)],_0x4da782);}}this[_0x5803bd(0x101)][_0x5803bd(0x12d)](_0x517933);}}}}[_0x105c38(0xde)](_0x43d55e,_0xf5d611,_0x52c1a4,_0x1bab42){const _0x460610=_0x105c38;for(const _0x27352b of _0x43d55e){const _0x53c802=_0xf5d611[_0x27352b];if(_0x53c802==null)continue;const _0x271233=Object[_0x460610(0xdf)](_0x53c802);for(const _0x403587 of _0x271233){const _0x1e2673=new _0x2b800b(_0x53c802[_0x403587]||{}),_0x3dc173=new Map();_0x1e2673[_0x460610(0xa2)]((_0x273e7f,_0x20c031,_0x369d85)=>{const _0x54dd7b=_0x460610;if(_0x369d85==null)return!0x0;const {x:_0xe94258=0x0,y:_0x52271a=0x0,si:_0x2b961a}=_0x369d85;if(!(_0xe94258===0x0&&_0x52271a===0x0&&_0x2b961a!=null))return!0x0;const _0x4e2816=this[_0x54dd7b(0x13c)](_0x27352b,_0x403587,_0x273e7f,_0x20c031,_0x52c1a4,_0x369d85),_0x306506=this[_0x54dd7b(0x101)][_0x54dd7b(0x10b)](_0x27352b,_0x403587,_0x273e7f,_0x20c031);_0x306506!=null?_0x4e2816[_0x54dd7b(0x8e)]=_0x306506:(this['_dependencyManagerService'][_0x54dd7b(0x9b)](_0x27352b,_0x403587,_0x273e7f,_0x20c031,_0x4e2816),this[_0x54dd7b(0x101)][_0x54dd7b(0xb1)](_0x4e2816)),_0x3dc173[_0x54dd7b(0x109)](_0x2b961a,_0x4e2816),_0x1bab42[_0x54dd7b(0xf2)](_0x4e2816),this[_0x54dd7b(0x14c)][_0x54dd7b(0x109)](_0x4e2816[_0x54dd7b(0x8e)],_0x4e2816);}),_0x1e2673['forValue']((_0x3b8134,_0x48c71c,_0x48fe40)=>{const _0x10c72f=_0x460610;if(_0x48fe40==null)return!0x0;const {x:_0x55707e=0x0,y:_0x5dc203=0x0,si:_0x5a6ce9}=_0x48fe40;if(_0x55707e===0x0&&_0x5dc203===0x0&&_0x5a6ce9!=null)return!0x0;let _0x1bf0e7;if(_0x5a6ce9&&_0x3dc173[_0x10c72f(0xaf)](_0x5a6ce9)){const _0x4865be=_0x3dc173[_0x10c72f(0x114)](_0x5a6ce9);_0x1bf0e7=this[_0x10c72f(0x119)](_0x4865be,_0x48fe40);}else _0x1bf0e7=this['_createFDtree'](_0x27352b,_0x403587,_0x3b8134,_0x48c71c,_0x52c1a4,_0x48fe40);const _0x5e1884=this['_dependencyManagerService'][_0x10c72f(0x10b)](_0x27352b,_0x403587,_0x3b8134,_0x48c71c);_0x5e1884!=null?_0x1bf0e7[_0x10c72f(0x8e)]=_0x5e1884:(this[_0x10c72f(0x101)][_0x10c72f(0x9b)](_0x27352b,_0x403587,_0x3b8134,_0x48c71c,_0x1bf0e7),this[_0x10c72f(0x101)][_0x10c72f(0xb1)](_0x1bf0e7)),_0x1bab42[_0x10c72f(0xf2)](_0x1bf0e7),this[_0x10c72f(0x14c)][_0x10c72f(0x109)](_0x1bf0e7[_0x10c72f(0x8e)],_0x1bf0e7);}),_0x3dc173['clear']();}}}[_0x105c38(0x13c)](_0x242b1e,_0x10adfd,_0x3c77ad,_0x352abe,_0x46eaea,_0x5171e7){const _0x33cd0d=_0x105c38,{f:_0x20c89d,x:_0x1248e4=0x0,y:_0x143f68=0x0}=_0x5171e7,_0x316084=new _0x3b53d7(_0xe041c9(this[_0x33cd0d(0x101)])),_0x39cc6f=_0x46eaea[_0x242b1e][_0x10adfd];return _0x316084[_0x33cd0d(0x13a)]=_0x20c89d,_0x316084[_0x33cd0d(0xa6)]=_0x242b1e,_0x316084[_0x33cd0d(0x147)]=_0x10adfd,_0x316084[_0x33cd0d(0xba)]=_0x3c77ad,_0x316084[_0x33cd0d(0xa3)]=_0x352abe,_0x316084[_0x33cd0d(0xf3)]=_0x39cc6f[_0x33cd0d(0xf3)],_0x316084[_0x33cd0d(0x13f)]=_0x39cc6f[_0x33cd0d(0x13f)],_0x316084;}[_0x105c38(0xc0)](){const _0x5a412f=_0x105c38,_0x178d56=[],_0xdce982=new Set(),_0xce4bbc=this['_currentConfigService'][_0x5a412f(0x135)](),_0x4a9269=this[_0x5a412f(0xc7)][_0x5a412f(0x12e)](),_0x491404=this[_0x5a412f(0x101)][_0x5a412f(0xb3)](_0x4a9269),_0x17ac86=this[_0x5a412f(0xd9)][_0x5a412f(0x106)](_0x4a9269);for(const _0x23ece8 of _0x17ac86)_0x491404[_0x5a412f(0x10a)](_0x23ece8);for(const [_0x296fc7,_0x305981]of this[_0x5a412f(0x14c)])(_0xce4bbc||_0x305981[_0x5a412f(0xaa)]||_0x305981[_0x5a412f(0x92)](this[_0x5a412f(0xc7)][_0x5a412f(0x138)]())||_0x491404[_0x5a412f(0xaf)](_0x296fc7)&&!_0x305981[_0x5a412f(0xec)](this[_0x5a412f(0xc7)][_0x5a412f(0x11b)]()))&&!_0xdce982[_0x5a412f(0xaf)](_0x296fc7)&&(_0x178d56[_0x5a412f(0xf2)](_0x305981),_0xdce982[_0x5a412f(0x10a)](_0x296fc7));for(const [_0x530e50,_0x1d3e1f]of this[_0x5a412f(0x14c)])_0x1d3e1f[_0x5a412f(0xed)]||(_0x1d3e1f[_0x5a412f(0x117)][_0x5a412f(0x120)]=0x0);return _0x178d56;}[_0x105c38(0xf5)](_0x202f2c){const _0x423a5f=_0x105c38;return this[_0x423a5f(0x14c)]['get'](_0x202f2c);}['_getTreeNode'](_0x1b2d0e){const _0x3e4e88=_0x105c38;return _0x1a049f(_0x1b2d0e['unitId'],_0x1b2d0e[_0x3e4e88(0x13a)],this[_0x3e4e88(0xf4)],this[_0x3e4e88(0x10e)],this[_0x3e4e88(0xc7)]);}*[_0x105c38(0xc8)](_0x564c08,_0x3ce69e){const _0x50c62f=_0x105c38,_0x177a13=_0x564c08,_0x279d92=new Set();for(;_0x177a13[_0x50c62f(0x120)]>0x0;){const _0x1499e4=_0x177a13[_0x50c62f(0x116)]();if(_0x279d92[_0x50c62f(0xa5)](),_0x1499e4===void 0x0||_0x1499e4[_0x50c62f(0x104)]())continue;if(_0x1499e4['isAdded']()){yield _0x1499e4,_0x1499e4[_0x50c62f(0x9c)](),_0x3ce69e[_0x50c62f(0x10a)](_0x1499e4[_0x50c62f(0x8e)]);continue;}const _0x4e89e2=this['_dependencyManagerService'][_0x50c62f(0xb3)](_0x1499e4[_0x50c62f(0x11e)](),_0x3ce69e),_0x29ad8e=this[_0x50c62f(0xd9)]['bulkSearch'](_0x1499e4[_0x50c62f(0x11e)](),_0x3ce69e);for(const _0x3e2b6e of _0x29ad8e)_0x4e89e2[_0x50c62f(0x10a)](_0x3e2b6e);for(const _0x54ce54 of _0x4e89e2){const _0x34c523=this['_dependencyTreeCache'][_0x50c62f(0x114)](_0x54ce54);if(!_0x34c523)throw new Error(_0x50c62f(0x145));_0x34c523[_0x50c62f(0xea)]()||_0x1499e4[_0x50c62f(0x104)]()||_0x279d92['add'](_0x34c523);}if(_0x4e89e2[_0x50c62f(0xa5)](),_0x279d92[_0x50c62f(0xee)]===0x0)yield _0x1499e4,_0x1499e4[_0x50c62f(0x9c)](),_0x3ce69e[_0x50c62f(0x10a)](_0x1499e4['treeId']);else{_0x1499e4[_0x50c62f(0xe6)](),_0x177a13['push'](_0x1499e4);for(const _0x3c9016 of _0x279d92)_0x177a13[_0x50c62f(0xf2)](_0x3c9016);}}_0x177a13['length']=0x0,_0x279d92['clear']();}[_0x105c38(0x8d)](_0x1138ea){const _0x2713eb=_0x105c38,_0x393394=[],_0x28cc0b=new Set();for(const _0x545bc8 of this[_0x2713eb(0xc8)](_0x1138ea,_0x28cc0b))_0x393394[_0x2713eb(0xf2)](_0x545bc8);return _0x393394;}}function _0x4449(_0x22dd88,_0x33f936){const _0x4915af=_0x4915();return _0x4449=function(_0x444906,_0x3142cb){_0x444906=_0x444906-0x8b;let _0x3c5fd0=_0x4915af[_0x444906];return _0x3c5fd0;},_0x4449(_0x22dd88,_0x33f936);}class be extends _0x1cdf4a{constructor(){super(...arguments),b(this,'_hasNewExcelFunction',!0x1),b(this,'_lambdaFunctionParameterSet',new Set());}[_0x105c38(0x8f)](_0x537776,_0x183413){const _0x4ba80e=_0x105c38,_0x48185c=this[_0x4ba80e(0x8b)](_0x537776,!0x1);if(!_0x48185c||_0x48185c===_0x4e46f1[_0x4ba80e(0xd3)]||Array['isArray'](_0x48185c))return null;const _0x447708=[];return this[_0x4ba80e(0xb6)]=!0x1,this[_0x4ba80e(0x13e)](_0x48185c,_0x447708,_0x183413),this[_0x4ba80e(0xb6)]?'='+_0x447708['join'](''):null;}['_generateNewFunctionString'](_0x4376b,_0x1a4ed2,_0x59e623){const _0x175fdc=_0x105c38,_0x463f4d=_0x4376b[_0x175fdc(0xe5)](),_0x578516=_0x463f4d[_0x175fdc(0xbd)](),_0x51ab03=_0x578516[_0x175fdc(0xbf)](),_0x1c3390=this[_0x175fdc(0x142)](_0x51ab03),_0x3e434a=_0x59e623(_0x1c3390);let _0x2d052d=0x0;_0x463f4d===_0x7f8cd9?_0x2d052d=0x3:_0x463f4d===_0x3bbcfd?_0x2d052d=0x4:_0x463f4d===_0x3c09aa?_0x2d052d=0x5:_0x10982d[_0x175fdc(0xaf)](_0x1c3390)?(_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xcf)+_0x578516),this[_0x175fdc(0xb6)]=!0x0):_0x51ab03===_0x19dbb4?(_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xcf)+_0x578516),this[_0x175fdc(0xb6)]=!0x0,_0x2d052d=0x2):_0x51ab03===_0x32a16b?(_0x1a4ed2[_0x175fdc(0xf2)]('_xlfn.'+_0x578516),this[_0x175fdc(0xb6)]=!0x0,_0x2d052d=0x1):_0x51ab03===_0x5cea87[_0x175fdc(0xfb)]?_0x2d052d=0x8:_0x15f62b[_0x175fdc(0xaf)](_0x51ab03)?_0x2d052d=0x7:_0x51ab03===_0x4d4ada[_0x175fdc(0xbe)]?(this[_0x175fdc(0xac)](_0x4376b)&&(_0x2d052d=0x9),_0x1a4ed2['push'](_0x463f4d)):(_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),_0x2d052d=0xa),_0x3e434a?(_0x2d052d!==0x2&&_0x2d052d!==0x1&&(_0x2d052d=0x6),_0x1a4ed2['push']('(')):_0x2d052d===0x9&&_0x1a4ed2[_0x175fdc(0xf2)]('(');const _0x3c4ccd=_0x4376b[_0x175fdc(0xc2)](),_0x19062c=_0x3c4ccd['length'];if(_0x2d052d===0x2){const _0x53285f=_0x3c4ccd[0x0];let _0x5bf88c=0x0;_0x53285f instanceof _0xca1ee8&&_0x53285f[_0x175fdc(0xe5)]()===_0x3c09aa&&(_0x5bf88c=0x1);for(let _0x12cbe6=_0x5bf88c;_0x12cbe6<_0x19062c-0x1;_0x12cbe6++){const _0x2b7519=_0x3c4ccd[_0x12cbe6];if(_0x2b7519 instanceof _0xca1ee8){const _0x499b02=_0x2b7519[_0x175fdc(0xc2)]()[0x0];typeof _0x499b02==_0x175fdc(0x140)&&(this[_0x175fdc(0xad)][_0x175fdc(0xaf)](_0x499b02)&&console['error'](_0x175fdc(0xce)+_0x499b02+_0x175fdc(0xef)),this[_0x175fdc(0xad)][_0x175fdc(0x10a)](_0x499b02),_0x1a4ed2['push'](_0x175fdc(0xd1)+_0x499b02),this[_0x175fdc(0xb6)]=!0x0);}_0x1a4ed2[_0x175fdc(0xf2)](',');}this[_0x175fdc(0x128)](_0x3c4ccd[_0x19062c-0x1],_0x1a4ed2,_0x59e623),_0x5bf88c===0x1&&(_0x1a4ed2[_0x175fdc(0xf2)](')'),_0x1a4ed2[_0x175fdc(0xf2)]('('),this[_0x175fdc(0x13e)](_0x53285f,_0x1a4ed2,_0x59e623)),_0x1a4ed2['push'](')');return;}else{if(_0x2d052d===0x1){for(let _0x2e836d=0x0;_0x2e836d<_0x19062c-0x1;_0x2e836d++){const _0x2129c7=_0x3c4ccd[_0x2e836d];if(_0x2129c7 instanceof _0xca1ee8&&_0x2e836d%0x2===0x0){const _0x5ba1bf=_0x2129c7[_0x175fdc(0xc2)]()[0x0];if(typeof _0x5ba1bf==_0x175fdc(0x140)){this[_0x175fdc(0xad)]['has'](_0x5ba1bf)&&console[_0x175fdc(0x93)](_0x175fdc(0x10c)+_0x5ba1bf+_0x175fdc(0xef)),this[_0x175fdc(0xad)][_0x175fdc(0x10a)](_0x5ba1bf),_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xd1)+_0x5ba1bf),this[_0x175fdc(0xb6)]=!0x0,_0x1a4ed2[_0x175fdc(0xf2)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2129c7,_0x1a4ed2,_0x59e623),_0x2129c7 instanceof _0xca1ee8){const _0x5247db=_0x3c4ccd[_0x2e836d+0x1];_0x5247db&&_0x5247db instanceof _0xca1ee8&&_0x1a4ed2[_0x175fdc(0xf2)](',');}}this[_0x175fdc(0x128)](_0x3c4ccd[_0x19062c-0x1],_0x1a4ed2,_0x59e623),_0x1a4ed2[_0x175fdc(0xf2)](')');return;}else{if(_0x2d052d===0x8){const _0x239c07=_0x3c4ccd[0x0],_0x598a64=_0x3c4ccd[0x1];this['_handleNewFunctionChild'](_0x239c07,_0x1a4ed2,_0x59e623),_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),this['_handleNewFunctionChild'](_0x598a64,_0x1a4ed2,_0x59e623);return;}}}for(let _0x2e335c=0x0;_0x2e335c<_0x19062c;_0x2e335c++){const _0x2e5948=_0x3c4ccd[_0x2e335c];if(this['_handleNewFunctionChild'](_0x2e5948,_0x1a4ed2,_0x59e623),_0x2e5948 instanceof _0xca1ee8){const _0x2247c3=_0x3c4ccd[_0x2e335c+0x1];_0x2247c3&&_0x2247c3 instanceof _0xca1ee8&&_0x1a4ed2['push'](',');}}_0x2d052d===0x7&&_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),(_0x3e434a||_0x2d052d===0x9)&&_0x1a4ed2[_0x175fdc(0xf2)](')');}['_handleNewFunctionChild'](_0x7b02be,_0x4a275d,_0x1b5950){const _0x33d092=_0x105c38;_0x7b02be instanceof _0xca1ee8?this['_generateNewFunctionString'](_0x7b02be,_0x4a275d,_0x1b5950):this[_0x33d092(0xad)][_0x33d092(0xaf)](_0x7b02be)?(_0x4a275d[_0x33d092(0xf2)](_0x33d092(0xd1)+_0x7b02be),this[_0x33d092(0xb6)]=!0x0):_0x4a275d['push'](_0x7b02be);}['_clearFunctionString'](_0x5c7948){const _0x4f1bd0=_0x105c38;let _0x5ea0cb=_0x5c7948[_0x4f1bd0(0xbd)]();if(!_0x5ea0cb)return _0x5ea0cb;const _0xe53cf4=_0x5ea0cb[0x0];if((_0xe53cf4===_0x4d4ada['AT']||_0xe53cf4===_0x4d4ada[_0x4f1bd0(0xbe)]||_0xe53cf4===_0x4d4ada['PLUS'])&&(_0x5ea0cb=_0x5ea0cb['slice'](0x1)),!_0x5ea0cb)return _0x5ea0cb;const _0x4ba7dc=_0x5ea0cb[_0x5ea0cb[_0x4f1bd0(0x120)]-0x1];return _0x15f62b[_0x4f1bd0(0xaf)](_0x4ba7dc)&&(_0x5ea0cb=_0x5ea0cb[_0x4f1bd0(0xfa)](0x0,-0x1)),_0x5ea0cb;}[_0x105c38(0xac)](_0x31b5a1){const _0xa1dadc=_0x105c38,_0x29cbc0=_0x31b5a1[_0xa1dadc(0xc2)]()[0x0];if(!_0x29cbc0||!(_0x29cbc0 instanceof _0xca1ee8)||_0x31b5a1[_0xa1dadc(0xc2)]()['length']>0x1)return!0x1;const _0x37feb0=_0x29cbc0[_0xa1dadc(0xc2)](),_0x39723a=_0x37feb0[_0xa1dadc(0x120)];if(_0x39723a===0x1)return!0x1;for(let _0x4f9a4a=0x0;_0x4f9a4a<_0x39723a;_0x4f9a4a++){const _0xfc8526=_0x37feb0[_0x4f9a4a];if(!(_0xfc8526 instanceof _0xca1ee8)&&_0x5ab23c[_0xa1dadc(0xaf)](_0xfc8526))return!0x0;}return!0x1;}}class ve extends _0x4f2af5{async[_0x105c38(0xae)](_0x1201f8=!0x1){const _0x621ef4=_0x105c38;_0x1201f8?this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xeb)]):this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0xd6)]),this[_0x621ef4(0xf8)][_0x621ef4(0x134)](this[_0x621ef4(0x118)]['getRuntimeState']());const _0x3e8fab=await this[_0x621ef4(0x108)]['generate'](),_0x35c5f4=this[_0x621ef4(0x123)];_0x1201f8?(this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xda)]),this[_0x621ef4(0x118)][_0x621ef4(0xf6)](_0x3e8fab[_0x621ef4(0x120)])):(this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0x12a)]),this[_0x621ef4(0x118)][_0x621ef4(0xa0)](_0x3e8fab[_0x621ef4(0x120)])),this[_0x621ef4(0xf8)]['next'](this[_0x621ef4(0x118)][_0x621ef4(0x94)]());let _0x428c77=[];const _0x693425=this[_0x621ef4(0xf9)][_0x621ef4(0x115)](_0x4c215e),_0x313a28=(_0x693425==null?void 0x0:_0x693425[_0x621ef4(0x8c)])||_0x1dd2a7;let _0x580dc4=0x0;const _0x524751=_0x3e8fab[_0x621ef4(0x120)];for(;_0x3e8fab[_0x621ef4(0x120)]>0x0;){const _0x23462d=_0x3e8fab[_0x621ef4(0x116)](),_0x746176=_0x1a049f(_0x23462d[_0x621ef4(0xa6)],_0x23462d[_0x621ef4(0x13a)],this[_0x621ef4(0xf4)],this[_0x621ef4(0x10e)],this['_currentConfigService']),_0x1a5f1e={'node':_0x746176,'refOffsetX':_0x23462d[_0x621ef4(0xb0)],'refOffsetY':_0x23462d[_0x621ef4(0xca)]},_0x32c95e=_0x23462d[_0x621ef4(0xe1)];if(_0x580dc4%_0x313a28===0x0&&(await new Promise(_0x3c54fe=>{const _0x507c58=_0x621ef4,_0x4b999f=_0x432401(_0x3c54fe);_0x428c77[_0x507c58(0xf2)](_0x4b999f);}),_0x1201f8?(this['_runtimeService'][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0xa1)]),this[_0x621ef4(0x118)][_0x621ef4(0xc4)](_0x580dc4+0x1)):(this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0x96)]),this[_0x621ef4(0x118)][_0x621ef4(0x98)](_0x580dc4+0x1)),this[_0x621ef4(0xf8)][_0x621ef4(0x134)](this[_0x621ef4(0x118)][_0x621ef4(0x94)]()),this['_runtimeService'][_0x621ef4(0xe3)]()||_0x1a5f1e==null&&_0x32c95e==null)){this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xc1)]),this[_0x621ef4(0x118)][_0x621ef4(0x124)](),this[_0x621ef4(0x132)][_0x621ef4(0x134)](this[_0x621ef4(0x118)][_0x621ef4(0xb5)]());return;}this['_runtimeService'][_0x621ef4(0x13b)](_0x23462d[_0x621ef4(0xba)],_0x23462d[_0x621ef4(0xa3)],_0x23462d[_0x621ef4(0xf3)],_0x23462d[_0x621ef4(0x13f)],_0x23462d[_0x621ef4(0x147)],_0x23462d[_0x621ef4(0xa6)]);let _0x33f097;if(_0x32c95e!=null&&_0x23462d['featureId']!=null){const {runtimeCellData:_0x1ada29,dirtyRanges:_0x144d8d}=_0x32c95e(this[_0x621ef4(0xc7)]['getDirtyData'](),this[_0x621ef4(0x118)]['getAllRuntimeData']());this[_0x621ef4(0x118)][_0x621ef4(0x126)](_0x23462d['featureId'],_0x1ada29),this[_0x621ef4(0x118)][_0x621ef4(0xa7)](_0x23462d['featureId'],_0x144d8d);}else _0x1a5f1e!=null&&(_0x35c5f4['checkAsyncNode'](_0x1a5f1e[_0x621ef4(0x9d)])?_0x33f097=await _0x35c5f4[_0x621ef4(0xb4)](_0x1a5f1e):_0x33f097=_0x35c5f4[_0x621ef4(0xab)](_0x1a5f1e),_0x23462d[_0x621ef4(0xdc)]!=null?this[_0x621ef4(0x118)][_0x621ef4(0xa9)](_0x23462d['formulaId'],_0x23462d[_0x621ef4(0xb0)],_0x23462d[_0x621ef4(0xca)],_0x33f097):this[_0x621ef4(0x118)][_0x621ef4(0xc5)](_0x33f097));_0x746176[_0x621ef4(0x91)](),_0x580dc4++;}return _0x428c77[_0x621ef4(0xb7)](_0x228a5d=>_0x228a5d()),_0x428c77=[],_0x524751>0x0?this[_0x621ef4(0x118)]['markedAsSuccessfullyExecuted']():_0x1201f8||this['_runtimeService'][_0x621ef4(0xcd)](),this[_0x621ef4(0x118)][_0x621ef4(0xb5)]();}}class Ye extends _0x4ec6e3{constructor(){const _0x32f79f=_0x105c38;super(...arguments),b(this,_0x32f79f(0x141),new Map()),b(this,_0x32f79f(0x113),new _0x54743a(!0x0));}[_0x105c38(0xf7)](){const _0x4d62e2=_0x105c38;this['_otherFormulaData'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0xdd)]['clear'](),this['_formulaData'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0x113)]['clear'](),this['_allTreeMap'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0xc9)](),this[_0x4d62e2(0xfd)]['clear']();}[_0x105c38(0xf0)](_0x4d478b,_0x517af2,_0x2e3557,_0x5dbb22){const _0x494d44=_0x105c38;this[_0x494d44(0x149)][_0x494d44(0xaf)](_0x4d478b)||this[_0x494d44(0x149)][_0x494d44(0x109)](_0x4d478b,new Map());const _0x33cbf6=this[_0x494d44(0x149)][_0x494d44(0x114)](_0x4d478b);_0x33cbf6[_0x494d44(0xaf)](_0x517af2)||_0x33cbf6['set'](_0x517af2,new Map());const _0x3cc318=_0x33cbf6[_0x494d44(0x114)](_0x517af2);_0x3cc318[_0x494d44(0xaf)](_0x2e3557)||_0x3cc318[_0x494d44(0x109)](_0x2e3557,new _0x2b800b()),_0x3cc318[_0x494d44(0x114)](_0x2e3557)[_0x494d44(0x112)](_0x5dbb22[_0x494d44(0xb0)],_0x5dbb22[_0x494d44(0xca)],_0x5dbb22['treeId']);}['removeOtherFormulaDependency'](_0x478451,_0x1e4eda,_0x3cfa4f){const _0x2eeb69=_0x105c38,_0xfe16a0=this[_0x2eeb69(0x149)][_0x2eeb69(0x114)](_0x478451);if(_0xfe16a0&&_0xfe16a0[_0x2eeb69(0xaf)](_0x1e4eda)){const _0x511a91=_0xfe16a0[_0x2eeb69(0x114)](_0x1e4eda);_0x3cfa4f[_0x2eeb69(0xb7)](_0x3569f0=>{const _0x141d95=_0x2eeb69,_0x35820e=_0x511a91[_0x141d95(0x114)](_0x3569f0);_0x35820e!=null&&(_0x35820e[_0x141d95(0xa2)]((_0x2791e5,_0x4519e4,_0x1723a5)=>{const _0x10d0d3=_0x141d95;this[_0x10d0d3(0x99)](_0x1723a5),this[_0x10d0d3(0x139)](_0x1723a5);}),_0x511a91[_0x141d95(0x10f)](_0x3569f0),this[_0x141d95(0xfd)]['delete'](_0x3569f0));}),_0x511a91[_0x2eeb69(0xee)]===0x0&&_0xfe16a0[_0x2eeb69(0x10f)](_0x1e4eda),_0xfe16a0[_0x2eeb69(0xee)]===0x0&&this['_otherFormulaData']['delete'](_0x478451);}}['clearOtherFormulaDependency'](_0x39fd40,_0x246114){const _0x32372f=_0x105c38,_0x368e8e=this[_0x32372f(0x149)]['get'](_0x39fd40);if(_0x246114&&_0x368e8e&&_0x368e8e[_0x32372f(0xaf)](_0x246114)){const _0x4b34cb=_0x368e8e[_0x32372f(0x114)](_0x246114);this['_removeDependencyRTreeCacheById'](_0x39fd40,_0x246114);for(const _0x4b3d54 of _0x4b34cb[_0x32372f(0xdf)]()){const _0x328329=_0x4b34cb[_0x32372f(0x114)](_0x4b3d54);_0x328329!=null&&(_0x328329['forValue']((_0x1917b4,_0x2961f9,_0x971189)=>{const _0xf4ee1f=_0x32372f;this[_0xf4ee1f(0x141)][_0xf4ee1f(0x114)](_0x971189)&&this[_0xf4ee1f(0x139)](_0x971189);}),this[_0x32372f(0xfd)][_0x32372f(0x10f)](_0x4b3d54));}_0x4b34cb[_0x32372f(0xa5)]();}else{if(_0x368e8e){for(const _0x33e8ee of _0x368e8e[_0x32372f(0xdf)]()){const _0x359ecf=_0x368e8e[_0x32372f(0x114)](_0x33e8ee);this[_0x32372f(0x100)](_0x39fd40,_0x33e8ee);for(const _0x102abf of _0x359ecf[_0x32372f(0xdf)]()){const _0x3861af=_0x359ecf['get'](_0x102abf);_0x3861af!=null&&(_0x3861af[_0x32372f(0xa2)]((_0x2977a5,_0x3aaa03,_0x171894)=>{const _0x465d7b=_0x32372f;this[_0x465d7b(0x141)]['get'](_0x171894)&&this[_0x465d7b(0x139)](_0x171894);}),this[_0x32372f(0xfd)][_0x32372f(0x10f)](_0x102abf));}}this['_otherFormulaData'][_0x32372f(0x10f)](_0x39fd40);}}}['addFeatureFormulaDependency'](_0x407620,_0x3ac52a,_0x43015a,_0x10c747){const _0x266a77=_0x105c38;this[_0x266a77(0xdd)]['has'](_0x407620)||this[_0x266a77(0xdd)][_0x266a77(0x109)](_0x407620,new Map());const _0x2be1dd=this[_0x266a77(0xdd)][_0x266a77(0x114)](_0x407620);_0x2be1dd[_0x266a77(0xaf)](_0x3ac52a)||_0x2be1dd[_0x266a77(0x109)](_0x3ac52a,new Map()),_0x2be1dd['get'](_0x3ac52a)[_0x266a77(0x109)](_0x43015a,_0x10c747[_0x266a77(0x8e)]);}[_0x105c38(0x11c)](_0x25885e,_0x4a5a53,_0x23d55b){const _0x4f8b3a=_0x105c38,_0x25f7f1=this[_0x4f8b3a(0xdd)]['get'](_0x25885e);if(_0x25f7f1&&_0x25f7f1[_0x4f8b3a(0xaf)](_0x4a5a53)){const _0x467d79=_0x25f7f1['get'](_0x4a5a53);_0x23d55b[_0x4f8b3a(0xb7)](_0x15d827=>{const _0x1b8b7a=_0x4f8b3a,_0x222f29=_0x467d79[_0x1b8b7a(0x114)](_0x15d827);_0x222f29!=null&&(this['_removeDependencyRTreeCache'](_0x222f29),_0x467d79[_0x1b8b7a(0x10f)](_0x15d827),this[_0x1b8b7a(0x139)](_0x222f29));});}}[_0x105c38(0x137)](_0x22c250,_0xf5b855){const _0x53583b=_0x105c38,_0x4063fe=this[_0x53583b(0xdd)][_0x53583b(0x114)](_0x22c250);if(_0xf5b855&&_0x4063fe&&_0x4063fe[_0x53583b(0xaf)](_0xf5b855)){const _0x4d4bdb=_0x4063fe[_0x53583b(0x114)](_0xf5b855);this[_0x53583b(0x100)](_0x22c250,_0xf5b855),_0x4d4bdb[_0x53583b(0xb7)](_0x16a8d3=>{const _0x229669=_0x53583b;_0x16a8d3!=null&&this[_0x229669(0x139)](_0x16a8d3);}),_0x4d4bdb['clear']();}else _0x4063fe&&(_0x4063fe['forEach']((_0x5d2196,_0x4cba78)=>{const _0x438a19=_0x53583b;this[_0x438a19(0x100)](_0x22c250,_0x4cba78),_0x5d2196['forEach'](_0x246b62=>{const _0x44ae1d=_0x438a19;_0x246b62!=null&&this[_0x44ae1d(0x139)](_0x246b62);});}),this[_0x53583b(0xdd)][_0x53583b(0x10f)](_0x22c250));}[_0x105c38(0x9b)](_0x9848d7,_0x180e49,_0x176bad,_0x56f1b9,_0x282d2a){const _0x1fa0c4=_0x105c38;this['_formulaData']['has'](_0x9848d7)||this[_0x1fa0c4(0x122)][_0x1fa0c4(0x109)](_0x9848d7,new Map());const _0x147532=this[_0x1fa0c4(0x122)][_0x1fa0c4(0x114)](_0x9848d7);_0x147532[_0x1fa0c4(0xaf)](_0x180e49)||_0x147532[_0x1fa0c4(0x109)](_0x180e49,new _0x2b800b()),_0x147532[_0x1fa0c4(0x114)](_0x180e49)[_0x1fa0c4(0x112)](_0x176bad,_0x56f1b9,_0x282d2a[_0x1fa0c4(0x8e)]);}['removeFormulaDependency'](_0x33a720,_0x4651d4,_0x492d6a,_0x2849ba){const _0x13a083=_0x105c38,_0x13d2ae=this[_0x13a083(0x122)]['get'](_0x33a720);if(_0x13d2ae&&_0x13d2ae[_0x13a083(0xaf)](_0x4651d4)){const _0x2540ce=_0x13d2ae['get'](_0x4651d4),_0x3ef395=_0x2540ce['getValue'](_0x492d6a,_0x2849ba);if(_0x3ef395==null)return;this[_0x13a083(0x99)](_0x3ef395),_0x2540ce[_0x13a083(0x125)](_0x492d6a,_0x2849ba),this['_removeAllTreeMap'](_0x3ef395);}}[_0x105c38(0xa4)](_0x4bc1e7,_0x134aee){const _0x497a1b=_0x105c38,_0xbfa48e=this[_0x497a1b(0x122)][_0x497a1b(0x114)](_0x4bc1e7);if(_0x134aee&&_0xbfa48e&&_0xbfa48e[_0x497a1b(0xaf)](_0x134aee)){const _0x3a46a3=_0xbfa48e['get'](_0x134aee);this[_0x497a1b(0x100)](_0x4bc1e7,_0x134aee),_0x3a46a3[_0x497a1b(0xa2)]((_0x50ebb7,_0x36adb2,_0x77ca64)=>{if(_0x77ca64==null)return!0x0;this['_removeAllTreeMap'](_0x77ca64);}),_0x3a46a3[_0x497a1b(0xf7)]();}else _0xbfa48e&&(_0xbfa48e[_0x497a1b(0xb7)]((_0x27110d,_0x505066)=>{const _0x38538f=_0x497a1b;this[_0x38538f(0x100)](_0x4bc1e7,_0x505066),_0x27110d[_0x38538f(0xa2)]((_0x18b07e,_0x4792f9,_0x2a37d6)=>{const _0x2367ab=_0x38538f;if(_0x2a37d6==null)return!0x0;this[_0x2367ab(0x139)](_0x2a37d6);});}),this['_formulaData'][_0x497a1b(0x10f)](_0x4bc1e7));}[_0x105c38(0x99)](_0x26f1a2){const _0x246a23=_0x105c38;if(_0x26f1a2==null)return;const _0x2bbee5=this[_0x246a23(0x141)]['get'](_0x26f1a2);if(_0x2bbee5){const _0x417049=[];for(const [_0x14c2f9,_0x1c1cd7]of _0x2bbee5)for(const [_0x4d76a9,_0x150b0b]of _0x1c1cd7)_0x417049[_0x246a23(0xf2)]({'unitId':_0x14c2f9,'sheetId':_0x4d76a9,'range':_0x150b0b,'id':_0x26f1a2});this[_0x246a23(0x113)][_0x246a23(0x95)](_0x417049);}}[_0x105c38(0xd4)](_0x215d0c,_0x11dc1a){const _0x42a21b=_0x105c38,_0x3fe2e3=this[_0x42a21b(0xcb)]['get'](_0x215d0c);if(_0x3fe2e3){const _0x3f6004=_0x3fe2e3[_0x42a21b(0x114)](_0x11dc1a);if(_0x3f6004){for(const _0x36d64a of _0x3f6004)this[_0x42a21b(0x99)](_0x36d64a),this['_removeAllTreeMap'](_0x36d64a);_0x3f6004[_0x42a21b(0xa5)]();}}}[_0x105c38(0xe2)](){const _0xabad2f=_0x105c38;this['_dependencyRTreeCache'][_0xabad2f(0xe2)]();}[_0x105c38(0xb9)](){const _0x11554d=_0x105c38;this['_dependencyRTreeCache'][_0x11554d(0xb9)]();}[_0x105c38(0x139)](_0x36006f){const _0x1aced2=_0x105c38;_0x36006f!=null&&this[_0x1aced2(0x141)][_0x1aced2(0x10f)](_0x36006f);}[_0x105c38(0x12f)](_0x5def32){const _0x592c93=_0x105c38;var _0x1361fe,_0x5070df;const _0x510c9a=_0x5def32[_0x592c93(0x117)];let _0x1e8637=this[_0x592c93(0x141)][_0x592c93(0x114)](_0x5def32[_0x592c93(0x8e)]);for(let _0x517c7d=0x0;_0x517c7d<_0x510c9a[_0x592c93(0x120)];_0x517c7d++){const _0xedbd76=_0x510c9a[_0x517c7d];let {unitId:_0x4d59f3,sheetId:_0x2e589b,range:_0xf1f8ef}=_0xedbd76;_0x1e8637||(_0x1e8637=new Map(),this[_0x592c93(0x141)][_0x592c93(0x109)](_0x5def32[_0x592c93(0x8e)],_0x1e8637)),_0x1e8637[_0x592c93(0xaf)](_0x4d59f3)||_0x1e8637[_0x592c93(0x109)](_0x4d59f3,new Map());const _0x20ca4e=(_0x1361fe=_0x1e8637==null?void 0x0:_0x1e8637[_0x592c93(0x114)](_0x4d59f3))==null?void 0x0:_0x1361fe[_0x592c93(0x114)](_0x2e589b);_0x20ca4e&&(_0xf1f8ef={'startRow':Math[_0x592c93(0xbb)](_0xf1f8ef[_0x592c93(0x146)],_0x20ca4e[_0x592c93(0x146)]),'startColumn':Math[_0x592c93(0xbb)](_0xf1f8ef[_0x592c93(0x133)],_0x20ca4e[_0x592c93(0x133)]),'endRow':Math[_0x592c93(0xb2)](_0xf1f8ef[_0x592c93(0x14a)],_0x20ca4e[_0x592c93(0x14a)]),'endColumn':Math[_0x592c93(0xb2)](_0xf1f8ef[_0x592c93(0xd2)],_0x20ca4e[_0x592c93(0xd2)])}),(_0x5070df=_0x1e8637[_0x592c93(0x114)](_0x4d59f3))==null||_0x5070df[_0x592c93(0x109)](_0x2e589b,_0xf1f8ef);}}}var xe=Object[_0x105c38(0xb8)],Ee=(_0x4745ac,_0x5861fd,_0x1ac142,_0x4c6c1b)=>{const _0x5e69c3=_0x105c38;for(var _0x4ed82a=_0x4c6c1b>0x1?void 0x0:_0x4c6c1b?xe(_0x5861fd,_0x1ac142):_0x5861fd,_0x2e30d8=_0x4745ac[_0x5e69c3(0x120)]-0x1,_0x46f660;_0x2e30d8>=0x0;_0x2e30d8--)(_0x46f660=_0x4745ac[_0x2e30d8])&&(_0x4ed82a=_0x46f660(_0x4ed82a)||_0x4ed82a);return _0x4ed82a;};const Re=Number[_0x105c38(0xd8)](0x692ea9f2);let V=class extends _0xd113e5{[_0x105c38(0xcc)](){const _0x27060d=_0x105c38;var _0x5a03c2,_0x5d59d0;this[_0x27060d(0x11d)]()?(this[_0x27060d(0x97)][_0x27060d(0x10a)]([_0x1cdf4a,{'useClass':be}]),(_0x5a03c2=this['_config'])!=null&&_0x5a03c2[_0x27060d(0xf1)]||[[_0x4935a5,{'useClass':ve}],[_0x1c31aa,{'useClass':Ye}],[_0x28e852,{'useClass':Se}]]['forEach'](_0x155da7=>this[_0x27060d(0x97)]['add'](_0x155da7))):(this[_0x27060d(0x97)][_0x27060d(0x10a)]([_0x1cdf4a,{'useClass':_0x1cdf4a}]),(_0x5d59d0=this[_0x27060d(0xc6)])!=null&&_0x5d59d0[_0x27060d(0xf1)]||[[_0x4935a5,{'useClass':_0x4f2af5}],[_0x1c31aa,{'useClass':_0x5cc4c4}],[_0x28e852,{'useClass':_0x301c51}]][_0x27060d(0xb7)](_0x28bc8e=>this[_0x27060d(0x97)][_0x27060d(0x10a)](_0x28bc8e)));}[_0x105c38(0x11d)](){const _0x55b9e5=_0x105c38;var _0xb06256;const _0x298004=(_0xb06256=this[_0x55b9e5(0xf9)][_0x55b9e5(0x115)](_0x5075f3))!=null?_0xb06256:{},{ls:_0x2ab500,pbk:_0x4f4964}=_0x298004;if(!_0x2ab500||!_0x4f4964)return!0x1;const _0x1eca6b=_0x57ad2a(Ce,Te),_0x243c07=new Function(_0x55b9e5(0x131)+_0x1eca6b)()(_0x2ab500,_0x4f4964),_0x553e60=_0x243c07[_0x55b9e5(0x103)];return _0x243c07[_0x55b9e5(0x12c)]&&_0x216677(_0x553e60,'sf',Re)?_0x4137db(_0x553e60,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};V=Ee([_0x111fe0(_0x4c8275)],V);export{V as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3d10(_0x561cd8,_0xbfb4d5){var _0xa7f48a=_0xa7f4();return _0x3d10=function(_0x3d107f,_0x2060b3){_0x3d107f=_0x3d107f-0x113;var _0x3c628b=_0xa7f48a[_0x3d107f];return _0x3c628b;},_0x3d10(_0x561cd8,_0xbfb4d5);}function _0xa7f4(){var _0x2c6737=['1918140etTMcO','1889262UUaNuM','2pJxjvm','1222701fsFesC','2424785dnZRse','48wTSMAa','2681176ossYaX','609701baPzfo','4091370QeemVI'];_0xa7f4=function(){return _0x2c6737;};return _0xa7f4();}(function(_0x46b1fe,_0x359bee){var _0x3b816b=_0x3d10,_0x5a76e6=_0x46b1fe();while(!![]){try{var _0x3c3fb8=-parseInt(_0x3b816b(0x119))/0x1*(-parseInt(_0x3b816b(0x114))/0x2)+parseInt(_0x3b816b(0x115))/0x3+parseInt(_0x3b816b(0x118))/0x4+-parseInt(_0x3b816b(0x116))/0x5+parseInt(_0x3b816b(0x11a))/0x6+-parseInt(_0x3b816b(0x11b))/0x7+parseInt(_0x3b816b(0x117))/0x8*(-parseInt(_0x3b816b(0x113))/0x9);if(_0x3c3fb8===_0x359bee)break;else _0x5a76e6['push'](_0x5a76e6['shift']());}catch(_0x3c5788){_0x5a76e6['push'](_0x5a76e6['shift']());}}}(_0xa7f4,0x55afc));export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x105c38=_0x4449;(function(_0x32bcaa,_0x247f66){const _0x1376b1=_0x4449,_0x2b3c19=_0x32bcaa();while(!![]){try{const _0x344666=parseInt(_0x1376b1(0xdb))/0x1*(-parseInt(_0x1376b1(0xe0))/0x2)+parseInt(_0x1376b1(0xe8))/0x3+-parseInt(_0x1376b1(0x148))/0x4*(parseInt(_0x1376b1(0x143))/0x5)+parseInt(_0x1376b1(0x144))/0x6+-parseInt(_0x1376b1(0x14b))/0x7+parseInt(_0x1376b1(0x127))/0x8+parseInt(_0x1376b1(0x90))/0x9;if(_0x344666===_0x247f66)break;else _0x2b3c19['push'](_0x2b3c19['shift']());}catch(_0x46cd90){_0x2b3c19['push'](_0x2b3c19['shift']());}}}(_0x4915,0x2cb24));var q=Object[_0x105c38(0xc3)],Q=(_0x31f6c6,_0x384e89,_0x2a634d)=>_0x384e89 in _0x31f6c6?q(_0x31f6c6,_0x384e89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a634d}):_0x31f6c6[_0x384e89]=_0x2a634d,b=(_0x1e0cc4,_0xfdd860,_0xc5a3e1)=>Q(_0x1e0cc4,typeof _0xfdd860!=_0x105c38(0xd7)?_0xfdd860+'':_0xfdd860,_0xc5a3e1);import{UniverLicensePlugin as _0x4c8275,LS_CONFIG_KEY as _0x5075f3,unshiftString as _0x57ad2a,isFeatureAuthorizedWithinTime as _0x216677,getSheetFeatureLimit as _0x4137db}from'@univerjs-pro/license';function _0x4915(){const _0x54897b=['_convertDirtyRangesToUnitRange','valid','addOtherFormulaDependencyMainData','getDirtyRanges','_addAllTreeMap','generate','return\x20','_executionCompleteListener$','startColumn','next','isForceCalculate','dispose','clearFeatureFormulaDependency','getDirtyNameMap','_removeAllTreeMap','formula','setCurrent','_createFDtree','clearArrayObjectCache','_generateNewFunctionString','columnCount','string','_allTreeMap','_clearFunctionString','50655fxSTKH','2095380SsgUOT','ParentDependencyTree\x20object\x20is\x20null','startRow','subUnitId','128thsJeJ','_otherFormulaData','endRow','904736AiaBCH','_dependencyTreeCache','treeBuilder','intervalCount','_calculateRunList','treeId','getNewFormulaWithPrefix','1884996NqPfua','resetCalculationState','dependencySheetName','error','getRuntimeState','bulkRemove','CURRENTLY_CALCULATING','_injector','setCompletedFormulasCount','_removeDependencyRTreeCache','_generateTreeList','addFormulaDependency','setSkip','node','getOtherFormulaDependency','getValue','setTotalFormulasToCalculate','CURRENTLY_CALCULATING_ARRAY_FORMULA','forValue','column','clearFormulaDependency','clear','unitId','setRuntimeFeatureRange','getUnitData','setRuntimeOtherData','isDirty','execute','_checkAddBracketForMinus','_lambdaFunctionParameterSet','_apply','has','refOffsetX','addFormulaDependencyByDefinedName','max','searchDependency','executeAsync','getAllRuntimeData','_hasNewExcelFunction','forEach','getOwnPropertyDescriptor','closeKdTree','row','min','type','trim','MINUS','toUpperCase','_getUpdateTreeListAndMakeDependency','IDLE','getChildren','defineProperty','setCompletedArrayFormulasCount','setRuntimeData','_config','_currentConfigService','_traverse','_restDependencyTreeId','refOffsetY','_definedNameMap','_initializeWithOverride','markedAsNoFunctionsExecuted','Lambda\x20parameter\x20name\x20\x22','_xlfn.','refTree','_xlpm.','endColumn','VALUE','removeFormulaDependencyByDefinedName','OTHER_FORMULA','START_DEPENDENCY','symbol','parseInt','_dependencyRTreeCacheForAddressFunction','START_CALCULATION_ARRAY_FORMULA','26912xtnlTe','formulaId','_featureFormulaData','_registerFormulas','keys','10fKKPVi','getDirtyData','openKdTree','isStopExecution','FEATURE_FORMULA','getToken','setAdded','addFeatureFormulaDependency','308829odcSMd','_checkIsCycleDependency','isAdded','START_DEPENDENCY_ARRAY_FORMULA','isExcludeRange','isVirtual','size','\x22\x20is\x20duplicated.','addOtherFormulaDependency','notExecuteFormula','push','rowCount','_lexer','_getTreeById','setTotalArrayFormulasToCalculate','reset','_executionInProgressListener$','_configService','slice','COLON','hasOtherFormulaDataMainData','_otherFormulaDataMainData','isCache','resolve','_removeDependencyRTreeCacheById','_dependencyManagerService','_otherFormulaManagerService','message','isSkip','setFormulaExecuteStage','bulkSearch','getFormulaData','_formulaDependencyGenerator','set','add','getFormulaDependency','Let\x20variable\x20name\x20\x22','_registerOtherFormulas','_astTreeBuilder','delete','dirtyRanges','_getFirstCellOfRange','setValue','_dependencyRTreeCache','get','getConfig','pop','rangeList','_runtimeService','_createVirtualFDtree','SEbxsD1b\x20adxrm4sD1b(oDxdbYd,\x204EAoDx0dm)\x20{\x20\x20\x20\x20srm\x20{\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20oDxdbYdcbS1BMrsOrrMm\x20=\x20oDxdbYd.Y4oDs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x201rDeDbLdYYMed\x20=\x20tzni.4MrYd(Ms1A(oDxdbYdcbS1BMrsOrrMm[p]));\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!1rDeDbLdYYMed.Ea)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201rDeDbLdYYMed.Ea\x20=\x20iE9Adr(oDxdbYdcbS1BMrsOrrMm[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYI1rudr\x20=\x20sm4d1S\x20I1rudrwo1AMozx14d\x20!==\x20\x27EbadSDbda\x27\x20&&\x20YdoS\x20DbYsMbxd1S\x20I1rudrwo1AMozx14d;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYRr1WYdr\x20=\x20sm4d1S\x20WDba1W\x20!==\x20\x27EbadSDbda\x27\x20&&\x20sm4d1S\x20WDba1W.o1xMsD1b\x20!==\x20\x27EbadSDbda\x27;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20x1bsdfs\x20=\x20DYI1rudr\x20?\x20YdoS\x20:\x20(DYRr1WYdr\x20?\x20WDba1W\x20:\x20eo1AMo7GDY);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMedI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[p]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMed\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(9dYYMedI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErdI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[v]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErd\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(YDebMsErdI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebJMoDa\x20=\x20x1bsdfs.__gdrDSm__(YDebMsErd,\x209dYYMed,\x204EAoDx0dm);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20a19MDb\x20=\x201rDeDbLdYYMed.a9;\x20\x20\x20\x20\x20\x20\x20\x20SEbxsD1b\x20DY519MDbLMsxGDbe(1BMssdrb,\x201Z1Ys)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204Mssdrb\x20=\x201BMssdrb.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1Ys\x20=\x201Z1Ys.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbBMrsY\x20=\x204Mssdrb.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YsBMrsY\x20=\x20G1Ys.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!4Mssdrb.DbxoEadY(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204Mssdrb\x20===\x20G1Ys;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(4MssdrbBMrsY.odbesG\x20<\x20p\x20||\x204MssdrbBMrsY[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbzESSDf\x20=\x204MssdrbBMrsY.YoDxd(3).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YszESSDf\x20=\x20G1YsBMrsY.YoDxd(-4MssdrbBMrsY.odbesG\x20+\x203).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204MssdrbzESSDf\x20===\x20G1YszESSDf;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ods\x20a19MDbJMoDa\x20=\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(DYRr1WYdr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20(a19MDb\x20&&\x20a19MDb.odbesG)\x20?\x20a19MDb.Y19d((a9csd9)\x20=>\x20DY519MDbLMsxGDbe(a9csd9,\x20o1xMsD1b.G1YsbM9d))\x20:\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(o1xMsD1b.G1YsbM9d\x20===\x20\x27o1xMoG1Ys\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20doYd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20gMoDa\x20=\x20YDebJMoDa\x20&&\x20a19MDbJMoDa;\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x201rDeDbLdYYMed,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xMsxG\x20(drr1r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa:\x20SMoYd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getExcludedRange','removeFeatureFormulaDependency','_initLicenseValid','toRTreeItem','_isCyclicUtilMap','length','featureDirtyRanges','_formulaData','_interpreter','markedAsStopFunctionsExecuted','realDeleteValue','setRuntimeFeatureCellData','875672tLzOjB','_handleNewFunctionChild','featureId','START_CALCULATION'];_0x4915=function(){return _0x54897b;};return _0x4915();}import{ObjectMatrix as _0x2b800b,requestImmediateMacroTask as _0x432401,RTree as _0x54743a,DependentOn as _0x111fe0}from'@univerjs/core';import{FormulaDependencyGenerator as _0x301c51,generateRandomDependencyTreeId as _0xe041c9,FormulaDependencyTree as _0x3b53d7,FormulaDependencyTreeType as _0x36f463,FormulaDependencyTreeVirtual as _0x48bc6c,generateAstNode as _0x1a049f,LexerTreeBuilder as _0x1cdf4a,ErrorType as _0x4e46f1,DEFAULT_TOKEN_TYPE_ROOT as _0x7f8cd9,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3bbcfd,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3c09aa,NEW_EXCEL_FUNCTIONS as _0x10982d,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x19dbb4,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x32a16b,matchToken as _0x5cea87,SUFFIX_TOKEN_SET as _0x15f62b,prefixToken as _0x4d4ada,LexerNode as _0xca1ee8,OPERATOR_TOKEN_SET as _0x5ab23c,CalculateFormulaService as _0x4f2af5,FormulaExecuteStageType as _0xdf7c2d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4c215e,DEFAULT_INTERVAL_COUNT as _0x1dd2a7,DependencyManagerBaseService as _0x4ec6e3,UniverFormulaEnginePlugin as _0xd113e5,ICalculateFormulaService as _0x4935a5,IDependencyManagerService as _0x1c31aa,IFormulaDependencyGenerator as _0x28e852,DependencyManagerService as _0x5cc4c4}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'K',0x1:'o',0x2:'X',0x3:'1',0x4:'p',0x5:'D',0x6:'E',0x7:'T',0x8:'4',0x9:'m','H':'0','p':'2','v':'3','l':'5','V':'6','T':'7','j':'8','h':'9','M':'a','A':'b','x':'c','a':'d','d':'e','S':'f','e':'g','G':'h','D':'i','y':'j','u':'k','o':'l','b':'n','U':'q','r':'r','Y':'s','s':'t','E':'u','g':'v','W':'w','f':'x','m':'y','C':'z','O':'A','R':'B','K':'C','q':'F','w':'G','Z':'H','c':'I','t':'J','P':'L','L':'M','i':'N','n':'O','B':'P','N':'Q','Q':'R','z':'S','X':'U','J':'V','I':'W','F':'Y','k':'Z'},Ce=_0x105c38(0x11a);class Se extends _0x301c51{constructor(){const _0xc77237=_0x105c38;super(...arguments),b(this,_0xc77237(0x14c),new Map());}[_0x105c38(0x136)](){const _0xf96e00=_0x105c38;super['dispose'](),this[_0xf96e00(0x14c)][_0xf96e00(0xa5)]();}async[_0x105c38(0x130)](){const _0x320bce=_0x105c38;this['_updateRangeFlatten']();const _0x54124a=this[_0x320bce(0xc7)][_0x320bce(0x107)](),_0x1bb84c=this[_0x320bce(0x102)]['getOtherFormulaData'](),_0x32c84c=this['_currentConfigService']['getClearDependencyTreeCache']();_0x32c84c!=null&&Object[_0x320bce(0xdf)](_0x32c84c)['forEach'](_0x5e6051=>{const _0x5f3d13=_0x320bce;_0x5e6051!=null&&Object['keys'](_0x32c84c[_0x5e6051])[_0x5f3d13(0xb7)](_0x45a42f=>{const _0x1abc72=_0x5f3d13;_0x45a42f!=null&&(this[_0x1abc72(0x101)]['clearOtherFormulaDependency'](_0x5e6051,_0x45a42f),this[_0x1abc72(0x101)][_0x1abc72(0x137)](_0x5e6051,_0x45a42f),this[_0x1abc72(0x101)]['clearFormulaDependency'](_0x5e6051,_0x45a42f));});});const _0x246ead=this[_0x320bce(0xc7)][_0x320bce(0xa8)]();await this[_0x320bce(0x9a)](_0x54124a,_0x1bb84c,_0x246ead),this['_dependencyManagerService']['openKdTree']();const _0x5bf2a0=this[_0x320bce(0xc0)](),_0x3e789d=this[_0x320bce(0x8d)](_0x5bf2a0);return this['_checkIsCycleDependency'](_0x3e789d)&&this['_runtimeService']['enableCycleDependency'](),this[_0x320bce(0x14c)][_0x320bce(0xa5)](),this[_0x320bce(0xd9)][_0x320bce(0xa5)](),this[_0x320bce(0x101)]['closeKdTree'](),this[_0x320bce(0x118)][_0x320bce(0x13d)](),Promise[_0x320bce(0xff)](_0x3e789d);}[_0x105c38(0x11f)](_0x40a9b9,_0x2bd68c){const _0x3d43e8=_0x105c38,_0x281519=[_0x40a9b9];for(;_0x281519[_0x3d43e8(0x120)]>0x0;){const _0x3e1660=_0x281519[_0x281519[_0x3d43e8(0x120)]-0x1];if((_0x2bd68c['get'](_0x3e1660)||0x0)===0x0){_0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x1);const _0x1ac1fb=this['_dependencyTreeCache'][_0x3d43e8(0x114)](_0x3e1660);if(_0x1ac1fb==null){_0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x2),_0x281519[_0x3d43e8(0x116)]();continue;}const _0x3704e1=this[_0x3d43e8(0x101)][_0x3d43e8(0xb3)](_0x1ac1fb[_0x3d43e8(0x11e)]());for(const _0x5a6340 of _0x3704e1){const _0x39fab1=_0x2bd68c[_0x3d43e8(0x114)](_0x5a6340)||0x0;if(_0x39fab1===0x1)return!0x0;_0x39fab1===0x0&&_0x281519[_0x3d43e8(0xf2)](_0x5a6340);}}else _0x2bd68c[_0x3d43e8(0x109)](_0x3e1660,0x2),_0x281519[_0x3d43e8(0x116)]();}return!0x1;}[_0x105c38(0xe9)](_0x61ff75){const _0x125932=_0x105c38,_0x6ee0d5=new Map();for(const _0x5809d7 of _0x61ff75)if(!_0x6ee0d5[_0x125932(0xaf)](_0x5809d7['treeId'])&&this[_0x125932(0x11f)](_0x5809d7[_0x125932(0x8e)],_0x6ee0d5))return!0x0;return _0x6ee0d5[_0x125932(0xa5)](),!0x1;}['_getFeatureFormulaTree'](_0xa658e5,_0x41b941,_0x172feb){const _0x59c9f8=_0x105c38,{unitId:_0x33bea3,subUnitId:_0x48a454,dependencyRanges:_0x2d1055,getDirtyData:_0x14ccc8}=_0x172feb,_0x2ed0ba=_0x41b941||_0xe041c9(this[_0x59c9f8(0x101)]),_0x742aa2=new _0x3b53d7(_0x2ed0ba);_0x742aa2[_0x59c9f8(0xa6)]=_0x33bea3,_0x742aa2[_0x59c9f8(0x147)]=_0x48a454,_0x742aa2[_0x59c9f8(0x117)]=_0x2d1055,_0x742aa2[_0x59c9f8(0xe1)]=_0x14ccc8;const _0x2f9a7e=_0x14ccc8(this['_currentConfigService'][_0x59c9f8(0xe1)](),this[_0x59c9f8(0x118)]['getAllRuntimeData']()),_0x30074e=this[_0x59c9f8(0x12b)](_0x2f9a7e[_0x59c9f8(0x110)]);return _0x742aa2[_0x59c9f8(0x121)]=_0x30074e,_0x742aa2[_0x59c9f8(0x129)]=_0xa658e5,_0x742aa2[_0x59c9f8(0xbc)]=_0x36f463[_0x59c9f8(0xe4)],this[_0x59c9f8(0x101)][_0x59c9f8(0xe7)](_0x33bea3,_0x48a454,_0xa658e5,_0x742aa2),this[_0x59c9f8(0x14c)][_0x59c9f8(0x109)](_0x742aa2[_0x59c9f8(0x8e)],_0x742aa2),this[_0x59c9f8(0x101)]['getFeatureFormulaDependency'](_0x172feb[_0x59c9f8(0xa6)],_0x172feb[_0x59c9f8(0x147)],_0xa658e5)&&(_0x742aa2[_0x59c9f8(0xfe)]=!0x0),_0x742aa2;}[_0x105c38(0x10d)](_0x122b31,_0x1c213a,_0x3fc67b){const _0x5803bd=_0x105c38;var _0x1557cb;for(const _0x136abd of _0x1c213a){const _0x50d766=_0x122b31[_0x136abd];if(_0x50d766==null)continue;const _0x1fb0b2=Object[_0x5803bd(0xdf)](_0x50d766);for(const _0x4319d6 of _0x1fb0b2){const _0x361965=_0x50d766[_0x4319d6];if(_0x361965==null)continue;const _0x2ffae7=Object[_0x5803bd(0xdf)](_0x361965);for(const _0x517933 of _0x2ffae7){const _0x17f2d0=this[_0x5803bd(0x101)][_0x5803bd(0xfc)](_0x517933),_0x424835=_0x361965[_0x517933],{f:_0x18b44c,ranges:_0x397a82}=_0x424835;let _0x217904=!0x1;_0x17f2d0&&(_0x217904=!0x0);const {firstRow:_0x408745,firstColumn:_0x1157bc}=this[_0x5803bd(0x111)](_0x397a82),_0xbca418=this[_0x5803bd(0x101)][_0x5803bd(0x9e)](_0x136abd,_0x4319d6,_0x517933),_0x211aca=(_0x1557cb=_0xbca418==null?void 0x0:_0xbca418[_0x5803bd(0x9f)](0x0,0x0))!=null?_0x1557cb:_0xe041c9(this['_dependencyManagerService']),_0x4d6131=new _0x3b53d7(_0x211aca);for(let _0x1b0f8a=0x0;_0x1b0f8a<_0x397a82[_0x5803bd(0x120)];_0x1b0f8a++){const _0x616eb8=_0x397a82[_0x1b0f8a],{startRow:_0x6cbe0,startColumn:_0xb07739,endRow:_0x3e02f0,endColumn:_0x434ef4}=_0x616eb8;for(let _0x44024b=_0x6cbe0;_0x44024b<=_0x3e02f0;_0x44024b++)for(let _0x454102=_0xb07739;_0x454102<=_0x434ef4;_0x454102++){const _0x599c7e=_0x454102-_0x1157bc,_0x12a046=_0x44024b-_0x408745;if(_0x599c7e===0x0&&_0x12a046===0x0){_0x4d6131[_0x5803bd(0x13a)]=_0x18b44c,_0x4d6131['unitId']=_0x136abd,_0x4d6131[_0x5803bd(0x147)]=_0x4319d6,_0x4d6131[_0x5803bd(0xdc)]=_0x517933,_0x4d6131['type']=_0x36f463[_0x5803bd(0xd5)],_0x4d6131[_0x5803bd(0xfe)]=_0x217904,_0x3fc67b[_0x5803bd(0xf2)](_0x4d6131),this[_0x5803bd(0x14c)][_0x5803bd(0x109)](_0x4d6131[_0x5803bd(0x8e)],_0x4d6131),this[_0x5803bd(0x101)][_0x5803bd(0xf0)](_0x136abd,_0x4319d6,_0x517933,_0x4d6131),this['_dependencyManagerService'][_0x5803bd(0xb1)](_0x4d6131);continue;}const _0x4da782=new _0x48bc6c();_0x4da782[_0x5803bd(0x8e)]=(_0xbca418==null?void 0x0:_0xbca418[_0x5803bd(0x9f)](_0x599c7e,_0x12a046))||_0xe041c9(this[_0x5803bd(0x101)]),_0x4da782[_0x5803bd(0xd0)]=_0x4d6131,_0x4da782[_0x5803bd(0xb0)]=_0x599c7e,_0x4da782[_0x5803bd(0xca)]=_0x12a046,_0x4da782['isCache']=_0x217904,this[_0x5803bd(0x101)][_0x5803bd(0xf0)](_0x136abd,_0x4319d6,_0x517933,_0x4da782),this[_0x5803bd(0x101)][_0x5803bd(0xb1)](_0x4da782),_0x3fc67b[_0x5803bd(0xf2)](_0x4da782),this[_0x5803bd(0x14c)][_0x5803bd(0x109)](_0x4da782[_0x5803bd(0x8e)],_0x4da782);}}this[_0x5803bd(0x101)][_0x5803bd(0x12d)](_0x517933);}}}}[_0x105c38(0xde)](_0x43d55e,_0xf5d611,_0x52c1a4,_0x1bab42){const _0x460610=_0x105c38;for(const _0x27352b of _0x43d55e){const _0x53c802=_0xf5d611[_0x27352b];if(_0x53c802==null)continue;const _0x271233=Object[_0x460610(0xdf)](_0x53c802);for(const _0x403587 of _0x271233){const _0x1e2673=new _0x2b800b(_0x53c802[_0x403587]||{}),_0x3dc173=new Map();_0x1e2673[_0x460610(0xa2)]((_0x273e7f,_0x20c031,_0x369d85)=>{const _0x54dd7b=_0x460610;if(_0x369d85==null)return!0x0;const {x:_0xe94258=0x0,y:_0x52271a=0x0,si:_0x2b961a}=_0x369d85;if(!(_0xe94258===0x0&&_0x52271a===0x0&&_0x2b961a!=null))return!0x0;const _0x4e2816=this[_0x54dd7b(0x13c)](_0x27352b,_0x403587,_0x273e7f,_0x20c031,_0x52c1a4,_0x369d85),_0x306506=this[_0x54dd7b(0x101)][_0x54dd7b(0x10b)](_0x27352b,_0x403587,_0x273e7f,_0x20c031);_0x306506!=null?_0x4e2816[_0x54dd7b(0x8e)]=_0x306506:(this['_dependencyManagerService'][_0x54dd7b(0x9b)](_0x27352b,_0x403587,_0x273e7f,_0x20c031,_0x4e2816),this[_0x54dd7b(0x101)][_0x54dd7b(0xb1)](_0x4e2816)),_0x3dc173[_0x54dd7b(0x109)](_0x2b961a,_0x4e2816),_0x1bab42[_0x54dd7b(0xf2)](_0x4e2816),this[_0x54dd7b(0x14c)][_0x54dd7b(0x109)](_0x4e2816[_0x54dd7b(0x8e)],_0x4e2816);}),_0x1e2673['forValue']((_0x3b8134,_0x48c71c,_0x48fe40)=>{const _0x10c72f=_0x460610;if(_0x48fe40==null)return!0x0;const {x:_0x55707e=0x0,y:_0x5dc203=0x0,si:_0x5a6ce9}=_0x48fe40;if(_0x55707e===0x0&&_0x5dc203===0x0&&_0x5a6ce9!=null)return!0x0;let _0x1bf0e7;if(_0x5a6ce9&&_0x3dc173[_0x10c72f(0xaf)](_0x5a6ce9)){const _0x4865be=_0x3dc173[_0x10c72f(0x114)](_0x5a6ce9);_0x1bf0e7=this[_0x10c72f(0x119)](_0x4865be,_0x48fe40);}else _0x1bf0e7=this['_createFDtree'](_0x27352b,_0x403587,_0x3b8134,_0x48c71c,_0x52c1a4,_0x48fe40);const _0x5e1884=this['_dependencyManagerService'][_0x10c72f(0x10b)](_0x27352b,_0x403587,_0x3b8134,_0x48c71c);_0x5e1884!=null?_0x1bf0e7[_0x10c72f(0x8e)]=_0x5e1884:(this[_0x10c72f(0x101)][_0x10c72f(0x9b)](_0x27352b,_0x403587,_0x3b8134,_0x48c71c,_0x1bf0e7),this[_0x10c72f(0x101)][_0x10c72f(0xb1)](_0x1bf0e7)),_0x1bab42[_0x10c72f(0xf2)](_0x1bf0e7),this[_0x10c72f(0x14c)][_0x10c72f(0x109)](_0x1bf0e7[_0x10c72f(0x8e)],_0x1bf0e7);}),_0x3dc173['clear']();}}}[_0x105c38(0x13c)](_0x242b1e,_0x10adfd,_0x3c77ad,_0x352abe,_0x46eaea,_0x5171e7){const _0x33cd0d=_0x105c38,{f:_0x20c89d,x:_0x1248e4=0x0,y:_0x143f68=0x0}=_0x5171e7,_0x316084=new _0x3b53d7(_0xe041c9(this[_0x33cd0d(0x101)])),_0x39cc6f=_0x46eaea[_0x242b1e][_0x10adfd];return _0x316084[_0x33cd0d(0x13a)]=_0x20c89d,_0x316084[_0x33cd0d(0xa6)]=_0x242b1e,_0x316084[_0x33cd0d(0x147)]=_0x10adfd,_0x316084[_0x33cd0d(0xba)]=_0x3c77ad,_0x316084[_0x33cd0d(0xa3)]=_0x352abe,_0x316084[_0x33cd0d(0xf3)]=_0x39cc6f[_0x33cd0d(0xf3)],_0x316084[_0x33cd0d(0x13f)]=_0x39cc6f[_0x33cd0d(0x13f)],_0x316084;}[_0x105c38(0xc0)](){const _0x5a412f=_0x105c38,_0x178d56=[],_0xdce982=new Set(),_0xce4bbc=this['_currentConfigService'][_0x5a412f(0x135)](),_0x4a9269=this[_0x5a412f(0xc7)][_0x5a412f(0x12e)](),_0x491404=this[_0x5a412f(0x101)][_0x5a412f(0xb3)](_0x4a9269),_0x17ac86=this[_0x5a412f(0xd9)][_0x5a412f(0x106)](_0x4a9269);for(const _0x23ece8 of _0x17ac86)_0x491404[_0x5a412f(0x10a)](_0x23ece8);for(const [_0x296fc7,_0x305981]of this[_0x5a412f(0x14c)])(_0xce4bbc||_0x305981[_0x5a412f(0xaa)]||_0x305981[_0x5a412f(0x92)](this[_0x5a412f(0xc7)][_0x5a412f(0x138)]())||_0x491404[_0x5a412f(0xaf)](_0x296fc7)&&!_0x305981[_0x5a412f(0xec)](this[_0x5a412f(0xc7)][_0x5a412f(0x11b)]()))&&!_0xdce982[_0x5a412f(0xaf)](_0x296fc7)&&(_0x178d56[_0x5a412f(0xf2)](_0x305981),_0xdce982[_0x5a412f(0x10a)](_0x296fc7));for(const [_0x530e50,_0x1d3e1f]of this[_0x5a412f(0x14c)])_0x1d3e1f[_0x5a412f(0xed)]||(_0x1d3e1f[_0x5a412f(0x117)][_0x5a412f(0x120)]=0x0);return _0x178d56;}[_0x105c38(0xf5)](_0x202f2c){const _0x423a5f=_0x105c38;return this[_0x423a5f(0x14c)]['get'](_0x202f2c);}['_getTreeNode'](_0x1b2d0e){const _0x3e4e88=_0x105c38;return _0x1a049f(_0x1b2d0e['unitId'],_0x1b2d0e[_0x3e4e88(0x13a)],this[_0x3e4e88(0xf4)],this[_0x3e4e88(0x10e)],this[_0x3e4e88(0xc7)]);}*[_0x105c38(0xc8)](_0x564c08,_0x3ce69e){const _0x50c62f=_0x105c38,_0x177a13=_0x564c08,_0x279d92=new Set();for(;_0x177a13[_0x50c62f(0x120)]>0x0;){const _0x1499e4=_0x177a13[_0x50c62f(0x116)]();if(_0x279d92[_0x50c62f(0xa5)](),_0x1499e4===void 0x0||_0x1499e4[_0x50c62f(0x104)]())continue;if(_0x1499e4['isAdded']()){yield _0x1499e4,_0x1499e4[_0x50c62f(0x9c)](),_0x3ce69e[_0x50c62f(0x10a)](_0x1499e4[_0x50c62f(0x8e)]);continue;}const _0x4e89e2=this['_dependencyManagerService'][_0x50c62f(0xb3)](_0x1499e4[_0x50c62f(0x11e)](),_0x3ce69e),_0x29ad8e=this[_0x50c62f(0xd9)]['bulkSearch'](_0x1499e4[_0x50c62f(0x11e)](),_0x3ce69e);for(const _0x3e2b6e of _0x29ad8e)_0x4e89e2[_0x50c62f(0x10a)](_0x3e2b6e);for(const _0x54ce54 of _0x4e89e2){const _0x34c523=this['_dependencyTreeCache'][_0x50c62f(0x114)](_0x54ce54);if(!_0x34c523)throw new Error(_0x50c62f(0x145));_0x34c523[_0x50c62f(0xea)]()||_0x1499e4[_0x50c62f(0x104)]()||_0x279d92['add'](_0x34c523);}if(_0x4e89e2[_0x50c62f(0xa5)](),_0x279d92[_0x50c62f(0xee)]===0x0)yield _0x1499e4,_0x1499e4[_0x50c62f(0x9c)](),_0x3ce69e[_0x50c62f(0x10a)](_0x1499e4['treeId']);else{_0x1499e4[_0x50c62f(0xe6)](),_0x177a13['push'](_0x1499e4);for(const _0x3c9016 of _0x279d92)_0x177a13[_0x50c62f(0xf2)](_0x3c9016);}}_0x177a13['length']=0x0,_0x279d92['clear']();}[_0x105c38(0x8d)](_0x1138ea){const _0x2713eb=_0x105c38,_0x393394=[],_0x28cc0b=new Set();for(const _0x545bc8 of this[_0x2713eb(0xc8)](_0x1138ea,_0x28cc0b))_0x393394[_0x2713eb(0xf2)](_0x545bc8);return _0x393394;}}function _0x4449(_0x22dd88,_0x33f936){const _0x4915af=_0x4915();return _0x4449=function(_0x444906,_0x3142cb){_0x444906=_0x444906-0x8b;let _0x3c5fd0=_0x4915af[_0x444906];return _0x3c5fd0;},_0x4449(_0x22dd88,_0x33f936);}class be extends _0x1cdf4a{constructor(){super(...arguments),b(this,'_hasNewExcelFunction',!0x1),b(this,'_lambdaFunctionParameterSet',new Set());}[_0x105c38(0x8f)](_0x537776,_0x183413){const _0x4ba80e=_0x105c38,_0x48185c=this[_0x4ba80e(0x8b)](_0x537776,!0x1);if(!_0x48185c||_0x48185c===_0x4e46f1[_0x4ba80e(0xd3)]||Array['isArray'](_0x48185c))return null;const _0x447708=[];return this[_0x4ba80e(0xb6)]=!0x1,this[_0x4ba80e(0x13e)](_0x48185c,_0x447708,_0x183413),this[_0x4ba80e(0xb6)]?'='+_0x447708['join'](''):null;}['_generateNewFunctionString'](_0x4376b,_0x1a4ed2,_0x59e623){const _0x175fdc=_0x105c38,_0x463f4d=_0x4376b[_0x175fdc(0xe5)](),_0x578516=_0x463f4d[_0x175fdc(0xbd)](),_0x51ab03=_0x578516[_0x175fdc(0xbf)](),_0x1c3390=this[_0x175fdc(0x142)](_0x51ab03),_0x3e434a=_0x59e623(_0x1c3390);let _0x2d052d=0x0;_0x463f4d===_0x7f8cd9?_0x2d052d=0x3:_0x463f4d===_0x3bbcfd?_0x2d052d=0x4:_0x463f4d===_0x3c09aa?_0x2d052d=0x5:_0x10982d[_0x175fdc(0xaf)](_0x1c3390)?(_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xcf)+_0x578516),this[_0x175fdc(0xb6)]=!0x0):_0x51ab03===_0x19dbb4?(_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xcf)+_0x578516),this[_0x175fdc(0xb6)]=!0x0,_0x2d052d=0x2):_0x51ab03===_0x32a16b?(_0x1a4ed2[_0x175fdc(0xf2)]('_xlfn.'+_0x578516),this[_0x175fdc(0xb6)]=!0x0,_0x2d052d=0x1):_0x51ab03===_0x5cea87[_0x175fdc(0xfb)]?_0x2d052d=0x8:_0x15f62b[_0x175fdc(0xaf)](_0x51ab03)?_0x2d052d=0x7:_0x51ab03===_0x4d4ada[_0x175fdc(0xbe)]?(this[_0x175fdc(0xac)](_0x4376b)&&(_0x2d052d=0x9),_0x1a4ed2['push'](_0x463f4d)):(_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),_0x2d052d=0xa),_0x3e434a?(_0x2d052d!==0x2&&_0x2d052d!==0x1&&(_0x2d052d=0x6),_0x1a4ed2['push']('(')):_0x2d052d===0x9&&_0x1a4ed2[_0x175fdc(0xf2)]('(');const _0x3c4ccd=_0x4376b[_0x175fdc(0xc2)](),_0x19062c=_0x3c4ccd['length'];if(_0x2d052d===0x2){const _0x53285f=_0x3c4ccd[0x0];let _0x5bf88c=0x0;_0x53285f instanceof _0xca1ee8&&_0x53285f[_0x175fdc(0xe5)]()===_0x3c09aa&&(_0x5bf88c=0x1);for(let _0x12cbe6=_0x5bf88c;_0x12cbe6<_0x19062c-0x1;_0x12cbe6++){const _0x2b7519=_0x3c4ccd[_0x12cbe6];if(_0x2b7519 instanceof _0xca1ee8){const _0x499b02=_0x2b7519[_0x175fdc(0xc2)]()[0x0];typeof _0x499b02==_0x175fdc(0x140)&&(this[_0x175fdc(0xad)][_0x175fdc(0xaf)](_0x499b02)&&console['error'](_0x175fdc(0xce)+_0x499b02+_0x175fdc(0xef)),this[_0x175fdc(0xad)][_0x175fdc(0x10a)](_0x499b02),_0x1a4ed2['push'](_0x175fdc(0xd1)+_0x499b02),this[_0x175fdc(0xb6)]=!0x0);}_0x1a4ed2[_0x175fdc(0xf2)](',');}this[_0x175fdc(0x128)](_0x3c4ccd[_0x19062c-0x1],_0x1a4ed2,_0x59e623),_0x5bf88c===0x1&&(_0x1a4ed2[_0x175fdc(0xf2)](')'),_0x1a4ed2[_0x175fdc(0xf2)]('('),this[_0x175fdc(0x13e)](_0x53285f,_0x1a4ed2,_0x59e623)),_0x1a4ed2['push'](')');return;}else{if(_0x2d052d===0x1){for(let _0x2e836d=0x0;_0x2e836d<_0x19062c-0x1;_0x2e836d++){const _0x2129c7=_0x3c4ccd[_0x2e836d];if(_0x2129c7 instanceof _0xca1ee8&&_0x2e836d%0x2===0x0){const _0x5ba1bf=_0x2129c7[_0x175fdc(0xc2)]()[0x0];if(typeof _0x5ba1bf==_0x175fdc(0x140)){this[_0x175fdc(0xad)]['has'](_0x5ba1bf)&&console[_0x175fdc(0x93)](_0x175fdc(0x10c)+_0x5ba1bf+_0x175fdc(0xef)),this[_0x175fdc(0xad)][_0x175fdc(0x10a)](_0x5ba1bf),_0x1a4ed2[_0x175fdc(0xf2)](_0x175fdc(0xd1)+_0x5ba1bf),this[_0x175fdc(0xb6)]=!0x0,_0x1a4ed2[_0x175fdc(0xf2)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2129c7,_0x1a4ed2,_0x59e623),_0x2129c7 instanceof _0xca1ee8){const _0x5247db=_0x3c4ccd[_0x2e836d+0x1];_0x5247db&&_0x5247db instanceof _0xca1ee8&&_0x1a4ed2[_0x175fdc(0xf2)](',');}}this[_0x175fdc(0x128)](_0x3c4ccd[_0x19062c-0x1],_0x1a4ed2,_0x59e623),_0x1a4ed2[_0x175fdc(0xf2)](')');return;}else{if(_0x2d052d===0x8){const _0x239c07=_0x3c4ccd[0x0],_0x598a64=_0x3c4ccd[0x1];this['_handleNewFunctionChild'](_0x239c07,_0x1a4ed2,_0x59e623),_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),this['_handleNewFunctionChild'](_0x598a64,_0x1a4ed2,_0x59e623);return;}}}for(let _0x2e335c=0x0;_0x2e335c<_0x19062c;_0x2e335c++){const _0x2e5948=_0x3c4ccd[_0x2e335c];if(this['_handleNewFunctionChild'](_0x2e5948,_0x1a4ed2,_0x59e623),_0x2e5948 instanceof _0xca1ee8){const _0x2247c3=_0x3c4ccd[_0x2e335c+0x1];_0x2247c3&&_0x2247c3 instanceof _0xca1ee8&&_0x1a4ed2['push'](',');}}_0x2d052d===0x7&&_0x1a4ed2[_0x175fdc(0xf2)](_0x463f4d),(_0x3e434a||_0x2d052d===0x9)&&_0x1a4ed2[_0x175fdc(0xf2)](')');}['_handleNewFunctionChild'](_0x7b02be,_0x4a275d,_0x1b5950){const _0x33d092=_0x105c38;_0x7b02be instanceof _0xca1ee8?this['_generateNewFunctionString'](_0x7b02be,_0x4a275d,_0x1b5950):this[_0x33d092(0xad)][_0x33d092(0xaf)](_0x7b02be)?(_0x4a275d[_0x33d092(0xf2)](_0x33d092(0xd1)+_0x7b02be),this[_0x33d092(0xb6)]=!0x0):_0x4a275d['push'](_0x7b02be);}['_clearFunctionString'](_0x5c7948){const _0x4f1bd0=_0x105c38;let _0x5ea0cb=_0x5c7948[_0x4f1bd0(0xbd)]();if(!_0x5ea0cb)return _0x5ea0cb;const _0xe53cf4=_0x5ea0cb[0x0];if((_0xe53cf4===_0x4d4ada['AT']||_0xe53cf4===_0x4d4ada[_0x4f1bd0(0xbe)]||_0xe53cf4===_0x4d4ada['PLUS'])&&(_0x5ea0cb=_0x5ea0cb['slice'](0x1)),!_0x5ea0cb)return _0x5ea0cb;const _0x4ba7dc=_0x5ea0cb[_0x5ea0cb[_0x4f1bd0(0x120)]-0x1];return _0x15f62b[_0x4f1bd0(0xaf)](_0x4ba7dc)&&(_0x5ea0cb=_0x5ea0cb[_0x4f1bd0(0xfa)](0x0,-0x1)),_0x5ea0cb;}[_0x105c38(0xac)](_0x31b5a1){const _0xa1dadc=_0x105c38,_0x29cbc0=_0x31b5a1[_0xa1dadc(0xc2)]()[0x0];if(!_0x29cbc0||!(_0x29cbc0 instanceof _0xca1ee8)||_0x31b5a1[_0xa1dadc(0xc2)]()['length']>0x1)return!0x1;const _0x37feb0=_0x29cbc0[_0xa1dadc(0xc2)](),_0x39723a=_0x37feb0[_0xa1dadc(0x120)];if(_0x39723a===0x1)return!0x1;for(let _0x4f9a4a=0x0;_0x4f9a4a<_0x39723a;_0x4f9a4a++){const _0xfc8526=_0x37feb0[_0x4f9a4a];if(!(_0xfc8526 instanceof _0xca1ee8)&&_0x5ab23c[_0xa1dadc(0xaf)](_0xfc8526))return!0x0;}return!0x1;}}class ve extends _0x4f2af5{async[_0x105c38(0xae)](_0x1201f8=!0x1){const _0x621ef4=_0x105c38;_0x1201f8?this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xeb)]):this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0xd6)]),this[_0x621ef4(0xf8)][_0x621ef4(0x134)](this[_0x621ef4(0x118)]['getRuntimeState']());const _0x3e8fab=await this[_0x621ef4(0x108)]['generate'](),_0x35c5f4=this[_0x621ef4(0x123)];_0x1201f8?(this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xda)]),this[_0x621ef4(0x118)][_0x621ef4(0xf6)](_0x3e8fab[_0x621ef4(0x120)])):(this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0x12a)]),this[_0x621ef4(0x118)][_0x621ef4(0xa0)](_0x3e8fab[_0x621ef4(0x120)])),this[_0x621ef4(0xf8)]['next'](this[_0x621ef4(0x118)][_0x621ef4(0x94)]());let _0x428c77=[];const _0x693425=this[_0x621ef4(0xf9)][_0x621ef4(0x115)](_0x4c215e),_0x313a28=(_0x693425==null?void 0x0:_0x693425[_0x621ef4(0x8c)])||_0x1dd2a7;let _0x580dc4=0x0;const _0x524751=_0x3e8fab[_0x621ef4(0x120)];for(;_0x3e8fab[_0x621ef4(0x120)]>0x0;){const _0x23462d=_0x3e8fab[_0x621ef4(0x116)](),_0x746176=_0x1a049f(_0x23462d[_0x621ef4(0xa6)],_0x23462d[_0x621ef4(0x13a)],this[_0x621ef4(0xf4)],this[_0x621ef4(0x10e)],this['_currentConfigService']),_0x1a5f1e={'node':_0x746176,'refOffsetX':_0x23462d[_0x621ef4(0xb0)],'refOffsetY':_0x23462d[_0x621ef4(0xca)]},_0x32c95e=_0x23462d[_0x621ef4(0xe1)];if(_0x580dc4%_0x313a28===0x0&&(await new Promise(_0x3c54fe=>{const _0x507c58=_0x621ef4,_0x4b999f=_0x432401(_0x3c54fe);_0x428c77[_0x507c58(0xf2)](_0x4b999f);}),_0x1201f8?(this['_runtimeService'][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0xa1)]),this[_0x621ef4(0x118)][_0x621ef4(0xc4)](_0x580dc4+0x1)):(this[_0x621ef4(0x118)][_0x621ef4(0x105)](_0xdf7c2d[_0x621ef4(0x96)]),this[_0x621ef4(0x118)][_0x621ef4(0x98)](_0x580dc4+0x1)),this[_0x621ef4(0xf8)][_0x621ef4(0x134)](this[_0x621ef4(0x118)][_0x621ef4(0x94)]()),this['_runtimeService'][_0x621ef4(0xe3)]()||_0x1a5f1e==null&&_0x32c95e==null)){this[_0x621ef4(0x118)]['setFormulaExecuteStage'](_0xdf7c2d[_0x621ef4(0xc1)]),this[_0x621ef4(0x118)][_0x621ef4(0x124)](),this[_0x621ef4(0x132)][_0x621ef4(0x134)](this[_0x621ef4(0x118)][_0x621ef4(0xb5)]());return;}this['_runtimeService'][_0x621ef4(0x13b)](_0x23462d[_0x621ef4(0xba)],_0x23462d[_0x621ef4(0xa3)],_0x23462d[_0x621ef4(0xf3)],_0x23462d[_0x621ef4(0x13f)],_0x23462d[_0x621ef4(0x147)],_0x23462d[_0x621ef4(0xa6)]);let _0x33f097;if(_0x32c95e!=null&&_0x23462d['featureId']!=null){const {runtimeCellData:_0x1ada29,dirtyRanges:_0x144d8d}=_0x32c95e(this[_0x621ef4(0xc7)]['getDirtyData'](),this[_0x621ef4(0x118)]['getAllRuntimeData']());this[_0x621ef4(0x118)][_0x621ef4(0x126)](_0x23462d['featureId'],_0x1ada29),this[_0x621ef4(0x118)][_0x621ef4(0xa7)](_0x23462d['featureId'],_0x144d8d);}else _0x1a5f1e!=null&&(_0x35c5f4['checkAsyncNode'](_0x1a5f1e[_0x621ef4(0x9d)])?_0x33f097=await _0x35c5f4[_0x621ef4(0xb4)](_0x1a5f1e):_0x33f097=_0x35c5f4[_0x621ef4(0xab)](_0x1a5f1e),_0x23462d[_0x621ef4(0xdc)]!=null?this[_0x621ef4(0x118)][_0x621ef4(0xa9)](_0x23462d['formulaId'],_0x23462d[_0x621ef4(0xb0)],_0x23462d[_0x621ef4(0xca)],_0x33f097):this[_0x621ef4(0x118)][_0x621ef4(0xc5)](_0x33f097));_0x746176[_0x621ef4(0x91)](),_0x580dc4++;}return _0x428c77[_0x621ef4(0xb7)](_0x228a5d=>_0x228a5d()),_0x428c77=[],_0x524751>0x0?this[_0x621ef4(0x118)]['markedAsSuccessfullyExecuted']():_0x1201f8||this['_runtimeService'][_0x621ef4(0xcd)](),this[_0x621ef4(0x118)][_0x621ef4(0xb5)]();}}class Ye extends _0x4ec6e3{constructor(){const _0x32f79f=_0x105c38;super(...arguments),b(this,_0x32f79f(0x141),new Map()),b(this,_0x32f79f(0x113),new _0x54743a(!0x0));}[_0x105c38(0xf7)](){const _0x4d62e2=_0x105c38;this['_otherFormulaData'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0xdd)]['clear'](),this['_formulaData'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0x113)]['clear'](),this['_allTreeMap'][_0x4d62e2(0xa5)](),this[_0x4d62e2(0xc9)](),this[_0x4d62e2(0xfd)]['clear']();}[_0x105c38(0xf0)](_0x4d478b,_0x517af2,_0x2e3557,_0x5dbb22){const _0x494d44=_0x105c38;this[_0x494d44(0x149)][_0x494d44(0xaf)](_0x4d478b)||this[_0x494d44(0x149)][_0x494d44(0x109)](_0x4d478b,new Map());const _0x33cbf6=this[_0x494d44(0x149)][_0x494d44(0x114)](_0x4d478b);_0x33cbf6[_0x494d44(0xaf)](_0x517af2)||_0x33cbf6['set'](_0x517af2,new Map());const _0x3cc318=_0x33cbf6[_0x494d44(0x114)](_0x517af2);_0x3cc318[_0x494d44(0xaf)](_0x2e3557)||_0x3cc318[_0x494d44(0x109)](_0x2e3557,new _0x2b800b()),_0x3cc318[_0x494d44(0x114)](_0x2e3557)[_0x494d44(0x112)](_0x5dbb22[_0x494d44(0xb0)],_0x5dbb22[_0x494d44(0xca)],_0x5dbb22['treeId']);}['removeOtherFormulaDependency'](_0x478451,_0x1e4eda,_0x3cfa4f){const _0x2eeb69=_0x105c38,_0xfe16a0=this[_0x2eeb69(0x149)][_0x2eeb69(0x114)](_0x478451);if(_0xfe16a0&&_0xfe16a0[_0x2eeb69(0xaf)](_0x1e4eda)){const _0x511a91=_0xfe16a0[_0x2eeb69(0x114)](_0x1e4eda);_0x3cfa4f[_0x2eeb69(0xb7)](_0x3569f0=>{const _0x141d95=_0x2eeb69,_0x35820e=_0x511a91[_0x141d95(0x114)](_0x3569f0);_0x35820e!=null&&(_0x35820e[_0x141d95(0xa2)]((_0x2791e5,_0x4519e4,_0x1723a5)=>{const _0x10d0d3=_0x141d95;this[_0x10d0d3(0x99)](_0x1723a5),this[_0x10d0d3(0x139)](_0x1723a5);}),_0x511a91[_0x141d95(0x10f)](_0x3569f0),this[_0x141d95(0xfd)]['delete'](_0x3569f0));}),_0x511a91[_0x2eeb69(0xee)]===0x0&&_0xfe16a0[_0x2eeb69(0x10f)](_0x1e4eda),_0xfe16a0[_0x2eeb69(0xee)]===0x0&&this['_otherFormulaData']['delete'](_0x478451);}}['clearOtherFormulaDependency'](_0x39fd40,_0x246114){const _0x32372f=_0x105c38,_0x368e8e=this[_0x32372f(0x149)]['get'](_0x39fd40);if(_0x246114&&_0x368e8e&&_0x368e8e[_0x32372f(0xaf)](_0x246114)){const _0x4b34cb=_0x368e8e[_0x32372f(0x114)](_0x246114);this['_removeDependencyRTreeCacheById'](_0x39fd40,_0x246114);for(const _0x4b3d54 of _0x4b34cb[_0x32372f(0xdf)]()){const _0x328329=_0x4b34cb[_0x32372f(0x114)](_0x4b3d54);_0x328329!=null&&(_0x328329['forValue']((_0x1917b4,_0x2961f9,_0x971189)=>{const _0xf4ee1f=_0x32372f;this[_0xf4ee1f(0x141)][_0xf4ee1f(0x114)](_0x971189)&&this[_0xf4ee1f(0x139)](_0x971189);}),this[_0x32372f(0xfd)][_0x32372f(0x10f)](_0x4b3d54));}_0x4b34cb[_0x32372f(0xa5)]();}else{if(_0x368e8e){for(const _0x33e8ee of _0x368e8e[_0x32372f(0xdf)]()){const _0x359ecf=_0x368e8e[_0x32372f(0x114)](_0x33e8ee);this[_0x32372f(0x100)](_0x39fd40,_0x33e8ee);for(const _0x102abf of _0x359ecf[_0x32372f(0xdf)]()){const _0x3861af=_0x359ecf['get'](_0x102abf);_0x3861af!=null&&(_0x3861af[_0x32372f(0xa2)]((_0x2977a5,_0x3aaa03,_0x171894)=>{const _0x465d7b=_0x32372f;this[_0x465d7b(0x141)]['get'](_0x171894)&&this[_0x465d7b(0x139)](_0x171894);}),this[_0x32372f(0xfd)][_0x32372f(0x10f)](_0x102abf));}}this['_otherFormulaData'][_0x32372f(0x10f)](_0x39fd40);}}}['addFeatureFormulaDependency'](_0x407620,_0x3ac52a,_0x43015a,_0x10c747){const _0x266a77=_0x105c38;this[_0x266a77(0xdd)]['has'](_0x407620)||this[_0x266a77(0xdd)][_0x266a77(0x109)](_0x407620,new Map());const _0x2be1dd=this[_0x266a77(0xdd)][_0x266a77(0x114)](_0x407620);_0x2be1dd[_0x266a77(0xaf)](_0x3ac52a)||_0x2be1dd[_0x266a77(0x109)](_0x3ac52a,new Map()),_0x2be1dd['get'](_0x3ac52a)[_0x266a77(0x109)](_0x43015a,_0x10c747[_0x266a77(0x8e)]);}[_0x105c38(0x11c)](_0x25885e,_0x4a5a53,_0x23d55b){const _0x4f8b3a=_0x105c38,_0x25f7f1=this[_0x4f8b3a(0xdd)]['get'](_0x25885e);if(_0x25f7f1&&_0x25f7f1[_0x4f8b3a(0xaf)](_0x4a5a53)){const _0x467d79=_0x25f7f1['get'](_0x4a5a53);_0x23d55b[_0x4f8b3a(0xb7)](_0x15d827=>{const _0x1b8b7a=_0x4f8b3a,_0x222f29=_0x467d79[_0x1b8b7a(0x114)](_0x15d827);_0x222f29!=null&&(this['_removeDependencyRTreeCache'](_0x222f29),_0x467d79[_0x1b8b7a(0x10f)](_0x15d827),this[_0x1b8b7a(0x139)](_0x222f29));});}}[_0x105c38(0x137)](_0x22c250,_0xf5b855){const _0x53583b=_0x105c38,_0x4063fe=this[_0x53583b(0xdd)][_0x53583b(0x114)](_0x22c250);if(_0xf5b855&&_0x4063fe&&_0x4063fe[_0x53583b(0xaf)](_0xf5b855)){const _0x4d4bdb=_0x4063fe[_0x53583b(0x114)](_0xf5b855);this[_0x53583b(0x100)](_0x22c250,_0xf5b855),_0x4d4bdb[_0x53583b(0xb7)](_0x16a8d3=>{const _0x229669=_0x53583b;_0x16a8d3!=null&&this[_0x229669(0x139)](_0x16a8d3);}),_0x4d4bdb['clear']();}else _0x4063fe&&(_0x4063fe['forEach']((_0x5d2196,_0x4cba78)=>{const _0x438a19=_0x53583b;this[_0x438a19(0x100)](_0x22c250,_0x4cba78),_0x5d2196['forEach'](_0x246b62=>{const _0x44ae1d=_0x438a19;_0x246b62!=null&&this[_0x44ae1d(0x139)](_0x246b62);});}),this[_0x53583b(0xdd)][_0x53583b(0x10f)](_0x22c250));}[_0x105c38(0x9b)](_0x9848d7,_0x180e49,_0x176bad,_0x56f1b9,_0x282d2a){const _0x1fa0c4=_0x105c38;this['_formulaData']['has'](_0x9848d7)||this[_0x1fa0c4(0x122)][_0x1fa0c4(0x109)](_0x9848d7,new Map());const _0x147532=this[_0x1fa0c4(0x122)][_0x1fa0c4(0x114)](_0x9848d7);_0x147532[_0x1fa0c4(0xaf)](_0x180e49)||_0x147532[_0x1fa0c4(0x109)](_0x180e49,new _0x2b800b()),_0x147532[_0x1fa0c4(0x114)](_0x180e49)[_0x1fa0c4(0x112)](_0x176bad,_0x56f1b9,_0x282d2a[_0x1fa0c4(0x8e)]);}['removeFormulaDependency'](_0x33a720,_0x4651d4,_0x492d6a,_0x2849ba){const _0x13a083=_0x105c38,_0x13d2ae=this[_0x13a083(0x122)]['get'](_0x33a720);if(_0x13d2ae&&_0x13d2ae[_0x13a083(0xaf)](_0x4651d4)){const _0x2540ce=_0x13d2ae['get'](_0x4651d4),_0x3ef395=_0x2540ce['getValue'](_0x492d6a,_0x2849ba);if(_0x3ef395==null)return;this[_0x13a083(0x99)](_0x3ef395),_0x2540ce[_0x13a083(0x125)](_0x492d6a,_0x2849ba),this['_removeAllTreeMap'](_0x3ef395);}}[_0x105c38(0xa4)](_0x4bc1e7,_0x134aee){const _0x497a1b=_0x105c38,_0xbfa48e=this[_0x497a1b(0x122)][_0x497a1b(0x114)](_0x4bc1e7);if(_0x134aee&&_0xbfa48e&&_0xbfa48e[_0x497a1b(0xaf)](_0x134aee)){const _0x3a46a3=_0xbfa48e['get'](_0x134aee);this[_0x497a1b(0x100)](_0x4bc1e7,_0x134aee),_0x3a46a3[_0x497a1b(0xa2)]((_0x50ebb7,_0x36adb2,_0x77ca64)=>{if(_0x77ca64==null)return!0x0;this['_removeAllTreeMap'](_0x77ca64);}),_0x3a46a3[_0x497a1b(0xf7)]();}else _0xbfa48e&&(_0xbfa48e[_0x497a1b(0xb7)]((_0x27110d,_0x505066)=>{const _0x38538f=_0x497a1b;this[_0x38538f(0x100)](_0x4bc1e7,_0x505066),_0x27110d[_0x38538f(0xa2)]((_0x18b07e,_0x4792f9,_0x2a37d6)=>{const _0x2367ab=_0x38538f;if(_0x2a37d6==null)return!0x0;this[_0x2367ab(0x139)](_0x2a37d6);});}),this['_formulaData'][_0x497a1b(0x10f)](_0x4bc1e7));}[_0x105c38(0x99)](_0x26f1a2){const _0x246a23=_0x105c38;if(_0x26f1a2==null)return;const _0x2bbee5=this[_0x246a23(0x141)]['get'](_0x26f1a2);if(_0x2bbee5){const _0x417049=[];for(const [_0x14c2f9,_0x1c1cd7]of _0x2bbee5)for(const [_0x4d76a9,_0x150b0b]of _0x1c1cd7)_0x417049[_0x246a23(0xf2)]({'unitId':_0x14c2f9,'sheetId':_0x4d76a9,'range':_0x150b0b,'id':_0x26f1a2});this[_0x246a23(0x113)][_0x246a23(0x95)](_0x417049);}}[_0x105c38(0xd4)](_0x215d0c,_0x11dc1a){const _0x42a21b=_0x105c38,_0x3fe2e3=this[_0x42a21b(0xcb)]['get'](_0x215d0c);if(_0x3fe2e3){const _0x3f6004=_0x3fe2e3[_0x42a21b(0x114)](_0x11dc1a);if(_0x3f6004){for(const _0x36d64a of _0x3f6004)this[_0x42a21b(0x99)](_0x36d64a),this['_removeAllTreeMap'](_0x36d64a);_0x3f6004[_0x42a21b(0xa5)]();}}}[_0x105c38(0xe2)](){const _0xabad2f=_0x105c38;this['_dependencyRTreeCache'][_0xabad2f(0xe2)]();}[_0x105c38(0xb9)](){const _0x11554d=_0x105c38;this['_dependencyRTreeCache'][_0x11554d(0xb9)]();}[_0x105c38(0x139)](_0x36006f){const _0x1aced2=_0x105c38;_0x36006f!=null&&this[_0x1aced2(0x141)][_0x1aced2(0x10f)](_0x36006f);}[_0x105c38(0x12f)](_0x5def32){const _0x592c93=_0x105c38;var _0x1361fe,_0x5070df;const _0x510c9a=_0x5def32[_0x592c93(0x117)];let _0x1e8637=this[_0x592c93(0x141)][_0x592c93(0x114)](_0x5def32[_0x592c93(0x8e)]);for(let _0x517c7d=0x0;_0x517c7d<_0x510c9a[_0x592c93(0x120)];_0x517c7d++){const _0xedbd76=_0x510c9a[_0x517c7d];let {unitId:_0x4d59f3,sheetId:_0x2e589b,range:_0xf1f8ef}=_0xedbd76;_0x1e8637||(_0x1e8637=new Map(),this[_0x592c93(0x141)][_0x592c93(0x109)](_0x5def32[_0x592c93(0x8e)],_0x1e8637)),_0x1e8637[_0x592c93(0xaf)](_0x4d59f3)||_0x1e8637[_0x592c93(0x109)](_0x4d59f3,new Map());const _0x20ca4e=(_0x1361fe=_0x1e8637==null?void 0x0:_0x1e8637[_0x592c93(0x114)](_0x4d59f3))==null?void 0x0:_0x1361fe[_0x592c93(0x114)](_0x2e589b);_0x20ca4e&&(_0xf1f8ef={'startRow':Math[_0x592c93(0xbb)](_0xf1f8ef[_0x592c93(0x146)],_0x20ca4e[_0x592c93(0x146)]),'startColumn':Math[_0x592c93(0xbb)](_0xf1f8ef[_0x592c93(0x133)],_0x20ca4e[_0x592c93(0x133)]),'endRow':Math[_0x592c93(0xb2)](_0xf1f8ef[_0x592c93(0x14a)],_0x20ca4e[_0x592c93(0x14a)]),'endColumn':Math[_0x592c93(0xb2)](_0xf1f8ef[_0x592c93(0xd2)],_0x20ca4e[_0x592c93(0xd2)])}),(_0x5070df=_0x1e8637[_0x592c93(0x114)](_0x4d59f3))==null||_0x5070df[_0x592c93(0x109)](_0x2e589b,_0xf1f8ef);}}}var xe=Object[_0x105c38(0xb8)],Ee=(_0x4745ac,_0x5861fd,_0x1ac142,_0x4c6c1b)=>{const _0x5e69c3=_0x105c38;for(var _0x4ed82a=_0x4c6c1b>0x1?void 0x0:_0x4c6c1b?xe(_0x5861fd,_0x1ac142):_0x5861fd,_0x2e30d8=_0x4745ac[_0x5e69c3(0x120)]-0x1,_0x46f660;_0x2e30d8>=0x0;_0x2e30d8--)(_0x46f660=_0x4745ac[_0x2e30d8])&&(_0x4ed82a=_0x46f660(_0x4ed82a)||_0x4ed82a);return _0x4ed82a;};const Re=Number[_0x105c38(0xd8)](0x692ea9f2);let V=class extends _0xd113e5{[_0x105c38(0xcc)](){const _0x27060d=_0x105c38;var _0x5a03c2,_0x5d59d0;this[_0x27060d(0x11d)]()?(this[_0x27060d(0x97)][_0x27060d(0x10a)]([_0x1cdf4a,{'useClass':be}]),(_0x5a03c2=this['_config'])!=null&&_0x5a03c2[_0x27060d(0xf1)]||[[_0x4935a5,{'useClass':ve}],[_0x1c31aa,{'useClass':Ye}],[_0x28e852,{'useClass':Se}]]['forEach'](_0x155da7=>this[_0x27060d(0x97)]['add'](_0x155da7))):(this[_0x27060d(0x97)][_0x27060d(0x10a)]([_0x1cdf4a,{'useClass':_0x1cdf4a}]),(_0x5d59d0=this[_0x27060d(0xc6)])!=null&&_0x5d59d0[_0x27060d(0xf1)]||[[_0x4935a5,{'useClass':_0x4f2af5}],[_0x1c31aa,{'useClass':_0x5cc4c4}],[_0x28e852,{'useClass':_0x301c51}]][_0x27060d(0xb7)](_0x28bc8e=>this[_0x27060d(0x97)][_0x27060d(0x10a)](_0x28bc8e)));}[_0x105c38(0x11d)](){const _0x55b9e5=_0x105c38;var _0xb06256;const _0x298004=(_0xb06256=this[_0x55b9e5(0xf9)][_0x55b9e5(0x115)](_0x5075f3))!=null?_0xb06256:{},{ls:_0x2ab500,pbk:_0x4f4964}=_0x298004;if(!_0x2ab500||!_0x4f4964)return!0x1;const _0x1eca6b=_0x57ad2a(Ce,Te),_0x243c07=new Function(_0x55b9e5(0x131)+_0x1eca6b)()(_0x2ab500,_0x4f4964),_0x553e60=_0x243c07[_0x55b9e5(0x103)];return _0x243c07[_0x55b9e5(0x12c)]&&_0x216677(_0x553e60,'sf',Re)?_0x4137db(_0x553e60,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};V=Ee([_0x111fe0(_0x4c8275)],V);export{V as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
12
|
+
H: string;
|
|
13
|
+
p: string;
|
|
14
|
+
v: string;
|
|
15
|
+
l: string;
|
|
16
|
+
V: string;
|
|
17
|
+
T: string;
|
|
18
|
+
j: string;
|
|
19
|
+
h: string;
|
|
20
|
+
M: string;
|
|
21
|
+
A: string;
|
|
22
|
+
x: string;
|
|
23
|
+
a: string;
|
|
13
24
|
d: string;
|
|
25
|
+
S: string;
|
|
14
26
|
e: string;
|
|
15
|
-
|
|
27
|
+
G: string;
|
|
28
|
+
D: string;
|
|
16
29
|
y: string;
|
|
30
|
+
u: string;
|
|
31
|
+
o: string;
|
|
32
|
+
b: string;
|
|
33
|
+
U: string;
|
|
17
34
|
r: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
A: string;
|
|
22
|
-
h: string;
|
|
23
|
-
C: string;
|
|
24
|
-
n: string;
|
|
25
|
-
L: string;
|
|
26
|
-
H: string;
|
|
27
|
-
F: string;
|
|
28
|
-
B: string;
|
|
35
|
+
Y: string;
|
|
36
|
+
s: string;
|
|
37
|
+
E: string;
|
|
29
38
|
g: string;
|
|
30
|
-
K: string;
|
|
31
|
-
G: string;
|
|
32
|
-
U: string;
|
|
33
|
-
v: string;
|
|
34
|
-
t: string;
|
|
35
|
-
R: string;
|
|
36
39
|
W: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
f: string;
|
|
41
|
+
m: string;
|
|
42
|
+
C: string;
|
|
40
43
|
O: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
R: string;
|
|
45
|
+
K: string;
|
|
46
|
+
q: string;
|
|
44
47
|
w: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
J: string;
|
|
49
|
-
l: string;
|
|
48
|
+
Z: string;
|
|
49
|
+
c: string;
|
|
50
|
+
t: string;
|
|
50
51
|
P: string;
|
|
51
|
-
|
|
52
|
-
X: string;
|
|
52
|
+
L: string;
|
|
53
53
|
i: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
n: string;
|
|
55
|
+
B: string;
|
|
56
|
+
N: string;
|
|
57
57
|
Q: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
z: string;
|
|
59
|
+
X: string;
|
|
60
|
+
J: string;
|
|
61
|
+
I: string;
|
|
62
|
+
F: string;
|
|
63
|
+
k: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "SEbxsD1b adxrm4sD1b(oDxdbYd, 4EAoDx0dm) { srm { x1bYs oDxdbYdcbS1BMrsOrrMm = oDxdbYd.Y4oDs('-'); x1bYs 1rDeDbLdYYMed = tzni.4MrYd(Ms1A(oDxdbYdcbS1BMrsOrrMm[p])); DS (!1rDeDbLdYYMed.Ea) { 1rDeDbLdYYMed.Ea = iE9Adr(oDxdbYdcbS1BMrsOrrMm[8]); } x1bYs DYI1rudr = sm4d1S I1rudrwo1AMozx14d !== 'EbadSDbda' && YdoS DbYsMbxd1S I1rudrwo1AMozx14d; x1bYs DYRr1WYdr = sm4d1S WDba1W !== 'EbadSDbda' && sm4d1S WDba1W.o1xMsD1b !== 'EbadSDbda'; x1bYs x1bsdfs = DYI1rudr ? YdoS : (DYRr1WYdr ? WDba1W : eo1AMo7GDY); x1bYs 9dYYMedI1ra = x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[p]); x1bYs 9dYYMed = x1bsdfs.__Zdf__.YsrDbeDSm(9dYYMedI1ra); x1bYs YDebMsErdI1ra = x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[v]); x1bYs YDebMsErd = x1bsdfs.__Zdf__.YsrDbeDSm(YDebMsErdI1ra); x1bYs YDebJMoDa = x1bsdfs.__gdrDSm__(YDebMsErd, 9dYYMed, 4EAoDx0dm); x1bYs a19MDb = 1rDeDbLdYYMed.a9; SEbxsD1b DY519MDbLMsxGDbe(1BMssdrb, 1Z1Ys) { x1bYs 4Mssdrb = 1BMssdrb.rd4oMxd(/^.+/, ''); x1bYs G1Ys = 1Z1Ys.rd4oMxd(/^.+/, ''); x1bYs 4MssdrbBMrsY = 4Mssdrb.Y4oDs('.'); x1bYs G1YsBMrsY = G1Ys.Y4oDs('.'); DS (!4Mssdrb.DbxoEadY('*')) { rdsErb 4Mssdrb === G1Ys; } DS (4MssdrbBMrsY.odbesG < p || 4MssdrbBMrsY[H] !== '*') { rdsErb SMoYd; } x1bYs 4MssdrbzESSDf = 4MssdrbBMrsY.YoDxd(3).y1Db('.'); x1bYs G1YszESSDf = G1YsBMrsY.YoDxd(-4MssdrbBMrsY.odbesG + 3).y1Db('.'); rdsErb 4MssdrbzESSDf === G1YszESSDf; } ods a19MDbJMoDa = SMoYd; DS (DYRr1WYdr) { a19MDbJMoDa = (a19MDb && a19MDb.odbesG) ? a19MDb.Y19d((a9csd9) => DY519MDbLMsxGDbe(a9csd9, o1xMsD1b.G1YsbM9d)) : srEd; DS (o1xMsD1b.G1YsbM9d === 'o1xMoG1Ys') { a19MDbJMoDa = srEd; } } doYd { a19MDbJMoDa = srEd; } x1bYs gMoDa = YDebJMoDa && a19MDbJMoDa; rdsErb { gMoDa, 9dYYMed: 1rDeDbLdYYMed, }; } xMsxG (drr1r) { rdsErb { gMoDa: SMoYd, 9dYYMed: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x558095,_0x217c18){var _0x9cbec4=_0x4b6e,_0x55f5d3=_0x558095();while(!![]){try{var _0xee42f0=parseInt(_0x9cbec4(0x1a5))/0x1+-parseInt(_0x9cbec4(0x1aa))/0x2+parseInt(_0x9cbec4(0x1a6))/0x3+parseInt(_0x9cbec4(0x1ae))/0x4+-parseInt(_0x9cbec4(0x1b2))/0x5*(-parseInt(_0x9cbec4(0x1b1))/0x6)+parseInt(_0x9cbec4(0x1af))/0x7+parseInt(_0x9cbec4(0x1b5))/0x8*(-parseInt(_0x9cbec4(0x1ac))/0x9);if(_0xee42f0===_0x217c18)break;else _0x55f5d3['push'](_0x55f5d3['shift']());}catch(_0x45e5d3){_0x55f5d3['push'](_0x55f5d3['shift']());}}}(_0x3ad1,0x45917),function(_0x290b15,_0x51b5fa){var _0x5ece68=_0x4b6e;typeof exports=='object'&&typeof module<'u'?_0x51b5fa(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x5ece68(0x1a3)&&define[_0x5ece68(0x1a7)]?define([_0x5ece68(0x1a2),_0x5ece68(0x1b4)],_0x51b5fa):(_0x290b15=typeof globalThis<'u'?globalThis:_0x290b15||self,_0x51b5fa(_0x290b15[_0x5ece68(0x1b3)]={},_0x290b15[_0x5ece68(0x1b6)]));}(this,function(_0x1715d2,_0x1d8cd6){'use strict';var _0x5dec6e=_0x4b6e;Object[_0x5dec6e(0x1ab)](_0x1d8cd6)[_0x5dec6e(0x1a4)](_0x235572=>{var _0x28f48d=_0x5dec6e;_0x235572!=='default'&&!Object[_0x28f48d(0x1a9)][_0x28f48d(0x1b0)]['call'](_0x1715d2,_0x235572)&&Object['defineProperty'](_0x1715d2,_0x235572,{'enumerable':!0x0,'get':()=>_0x1d8cd6[_0x235572]});}),Object[_0x5dec6e(0x1a8)](_0x1715d2,Symbol[_0x5dec6e(0x1ad)],{'value':'Module'});}));function _0x4b6e(_0x5219ef,_0x15361a){var _0x3ad1c2=_0x3ad1();return _0x4b6e=function(_0x4b6e7e,_0x253b98){_0x4b6e7e=_0x4b6e7e-0x1a2;var _0x532753=_0x3ad1c2[_0x4b6e7e];return _0x532753;},_0x4b6e(_0x5219ef,_0x15361a);}function _0x3ad1(){var _0xd91b87=['686079ZbcojZ','toStringTag','1285044FacXCo','197904blENvk','hasOwnProperty','335706fBSppK','5JhMyUo','UniverProEngineFormulaFacade','@univerjs/engine-formula/facade','24YtMIhF','UniverEngineFormulaFacade','exports','function','forEach','381143aEDusI','806277ToAIXb','amd','defineProperty','prototype','1083484YNurfK','keys'];_0x3ad1=function(){return _0xd91b87;};return _0x3ad1();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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();}
|
|
1
|
+
function _0x67a6(_0x395d9b,_0x42051a){const _0x5115b8=_0x5115();return _0x67a6=function(_0x67a66,_0x279d9d){_0x67a66=_0x67a66-0xad;let _0xcaf10a=_0x5115b8[_0x67a66];return _0xcaf10a;},_0x67a6(_0x395d9b,_0x42051a);}function _0x5115(){const _0xf8f1ed=['isFeatureAuthorizedWithinTime','push','_configService','_handleNewFunctionChild','getFormulaDependency','trim','FormulaDependencyTree','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_calculateRunList','_getFirstCellOfRange','matchToken','_xlfn.','_removeDependencyRTreeCache','CalculateFormulaService','MINUS','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getTreeNode','getDirtyNameMap','UniverLicensePlugin','184233nlsCcG','parseInt','getOtherFormulaDependency','ObjectMatrix','return\x20','checkAsyncNode','isAdded','5290iGcUaN','45mMoioe','subUnitId','@univerjs/core','getNewFormulaWithPrefix','getFeatureFormulaDependency','_generateNewFunctionString','FormulaExecuteStageType','getOtherFormulaData','dirtyRanges','_otherFormulaDataMainData','_traverse','forValue','DEFAULT_INTERVAL_COUNT','toStringTag','getValue','isCache','generateRandomDependencyTreeId','removeFormulaDependency','resetCalculationState','_createFDtree','searchDependency','FEATURE_FORMULA','pop','max','treeId','_formulaData','delete','executeAsync','_isCyclicUtilMap','toUpperCase','CURRENTLY_CALCULATING_ARRAY_FORMULA','closeKdTree','isStopExecution','clearArrayObjectCache','startRow','generate','_clearFunctionString','setCompletedArrayFormulasCount','UniverProFormulaEnginePlugin','_dependencyTreeCache','formula','function','227349whWXzO','addFeatureFormulaDependency','_createVirtualFDtree','row','getChildren','isVirtual','RTree','UniverProEngineFormula','refTree','SUFFIX_TOKEN_SET','_removeDependencyRTreeCacheById','_lambdaFunctionParameterSet','COLON','size','addFormulaDependencyByDefinedName','openKdTree','_convertDirtyRangesToUnitRange','addFormulaDependency','getAllRuntimeData','_addAllTreeMap','UniverFormulaEnginePlugin','_otherFormulaManagerService','addOtherFormulaDependencyMainData','_checkAddBracketForMinus','formulaId','_interpreter','getSheetFeatureLimit','setRuntimeData','clearFeatureFormulaDependency','2204265jfhbPb','prototype','endColumn','isForceCalculate','set','clearFormulaDependency','join','_definedNameMap','generateAstNode','281064HijgTQ','featureId','removeOtherFormulaDependency','setValue','_executionCompleteListener$','featureDirtyRanges','586385SraWSn','_formulaDependencyGenerator','addOtherFormulaDependency','\x22\x20is\x20duplicated.','next','call','_config','dispose','_getFeatureFormulaTree','setRuntimeFeatureCellData','_getTreeById','type','_executionInProgressListener$','FormulaDependencyGenerator','isDirty','columnCount','rangeList','keys','4ywVmLK','resolve','FormulaDependencyTreeVirtual','rowCount','_currentConfigService','reset','Let\x20variable\x20name\x20\x22','getDirtyData','clear','setRuntimeOtherData','_getUpdateTreeListAndMakeDependency','_checkIsCycleDependency','markedAsNoFunctionsExecuted','dependencySheetName','node','UniverProLicense','LexerTreeBuilder','startColumn','amd','UniverEngineFormula','_otherFormulaData','string','prefixToken','has','ICalculateFormulaService','slice','_featureFormulaData','_generateTreeList','1177NKYulG','PLUS','symbol','isExcludeRange','getRuntimeState','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','min','treeBuilder','_injector','_removeAllTreeMap','execute','unitId','6mKukKl','_runtimeService','_lexer','DEFAULT_TOKEN_TYPE_PARAMETER','_allTreeMap','_dependencyRTreeCache','setRuntimeFeatureRange','removeFeatureFormulaDependency','FormulaDependencyTreeType','_xlpm.','defineProperty','NEW_EXCEL_FUNCTIONS','get','endRow','message','getDirtyRanges','IDependencyManagerService','toRTreeItem','CURRENTLY_CALCULATING','refOffsetX','getExcludedRange','markedAsStopFunctionsExecuted','_initLicenseValid','exports','_hasNewExcelFunction','Module','DEFAULT_TOKEN_LET_FUNCTION_NAME','isSkip','_apply','getConfig','_registerOtherFormulas','column','_registerFormulas','forEach','_dependencyManagerService','IFormulaDependencyGenerator','intervalCount','getToken','setSkip','length','_astTreeBuilder','notExecuteFormula','486204kkDrcI','requestImmediateMacroTask','add','LexerNode','setFormulaExecuteStage','_dependencyRTreeCacheForAddressFunction','refOffsetY'];_0x5115=function(){return _0xf8f1ed;};return _0x5115();}(function(_0x537a8b,_0x53d49e){const _0x3231d3=_0x67a6,_0x319b78=_0x537a8b();while(!![]){try{const _0x13bddf=-parseInt(_0x3231d3(0x117))/0x1+-parseInt(_0x3231d3(0xfd))/0x2+-parseInt(_0x3231d3(0x149))/0x3*(parseInt(_0x3231d3(0x187))/0x4)+-parseInt(_0x3231d3(0x175))/0x5*(-parseInt(_0x3231d3(0xd3))/0x6)+parseInt(_0x3231d3(0x166))/0x7+parseInt(_0x3231d3(0x16f))/0x8*(parseInt(_0x3231d3(0x11f))/0x9)+-parseInt(_0x3231d3(0x11e))/0xa*(-parseInt(_0x3231d3(0xc7))/0xb);if(_0x13bddf===_0x53d49e)break;else _0x319b78['push'](_0x319b78['shift']());}catch(_0x5b09d5){_0x319b78['push'](_0x319b78['shift']());}}}(_0x5115,0x2762a),function(_0x3f46eb,_0x3af847){const _0x5dac4e=_0x67a6;typeof exports=='object'&&typeof module<'u'?_0x3af847(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x5dac4e(0x148)&&define[_0x5dac4e(0xbd)]?define([_0x5dac4e(0xea),'@univerjs-pro/license',_0x5dac4e(0x121),'@univerjs/engine-formula'],_0x3af847):(_0x3f46eb=typeof globalThis<'u'?globalThis:_0x3f46eb||self,_0x3af847(_0x3f46eb[_0x5dac4e(0x150)]={},_0x3f46eb[_0x5dac4e(0xba)],_0x3f46eb['UniverCore'],_0x3f46eb[_0x5dac4e(0xbe)]));}(this,function(_0x2caae6,_0x172972,_0x1b62c9,_0x758c25){'use strict';const _0x358d2f=_0x67a6;var _0x3ab229=Object[_0x358d2f(0xdd)],_0x2013ab=(_0x26cbfe,_0x25ddf4,_0x2c45e4)=>_0x25ddf4 in _0x26cbfe?_0x3ab229(_0x26cbfe,_0x25ddf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c45e4}):_0x26cbfe[_0x25ddf4]=_0x2c45e4,_0x49baf5=(_0x14a6f3,_0x26394e,_0x24c449)=>_0x2013ab(_0x14a6f3,typeof _0x26394e!=_0x358d2f(0xc9)?_0x26394e+'':_0x26394e,_0x24c449);const _0x58c26f={0x0:'K',0x1:'o',0x2:'X',0x3:'1',0x4:'p',0x5:'D',0x6:'E',0x7:'T',0x8:'4',0x9:'m','H':'0','p':'2','v':'3','l':'5','V':'6','T':'7','j':'8','h':'9','M':'a','A':'b','x':'c','a':'d','d':'e','S':'f','e':'g','G':'h','D':'i','y':'j','u':'k','o':'l','b':'n','U':'q','r':'r','Y':'s','s':'t','E':'u','g':'v','W':'w','f':'x','m':'y','C':'z','O':'A','R':'B','K':'C','q':'F','w':'G','Z':'H','c':'I','t':'J','P':'L','L':'M','i':'N','n':'O','B':'P','N':'Q','Q':'R','z':'S','X':'U','J':'V','I':'W','F':'Y','k':'Z'},_0xadefe9='SEbxsD1b\x20adxrm4sD1b(oDxdbYd,\x204EAoDx0dm)\x20{\x20\x20\x20\x20srm\x20{\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20oDxdbYdcbS1BMrsOrrMm\x20=\x20oDxdbYd.Y4oDs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x201rDeDbLdYYMed\x20=\x20tzni.4MrYd(Ms1A(oDxdbYdcbS1BMrsOrrMm[p]));\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!1rDeDbLdYYMed.Ea)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201rDeDbLdYYMed.Ea\x20=\x20iE9Adr(oDxdbYdcbS1BMrsOrrMm[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYI1rudr\x20=\x20sm4d1S\x20I1rudrwo1AMozx14d\x20!==\x20\x27EbadSDbda\x27\x20&&\x20YdoS\x20DbYsMbxd1S\x20I1rudrwo1AMozx14d;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20DYRr1WYdr\x20=\x20sm4d1S\x20WDba1W\x20!==\x20\x27EbadSDbda\x27\x20&&\x20sm4d1S\x20WDba1W.o1xMsD1b\x20!==\x20\x27EbadSDbda\x27;\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20x1bsdfs\x20=\x20DYI1rudr\x20?\x20YdoS\x20:\x20(DYRr1WYdr\x20?\x20WDba1W\x20:\x20eo1AMo7GDY);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMedI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[p]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x209dYYMed\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(9dYYMedI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErdI1ra\x20=\x20x1bsdfs.__RMYdV8__.4MrYd(oDxdbYdcbS1BMrsOrrMm[v]);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebMsErd\x20=\x20x1bsdfs.__Zdf__.YsrDbeDSm(YDebMsErdI1ra);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20YDebJMoDa\x20=\x20x1bsdfs.__gdrDSm__(YDebMsErd,\x209dYYMed,\x204EAoDx0dm);\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20a19MDb\x20=\x201rDeDbLdYYMed.a9;\x20\x20\x20\x20\x20\x20\x20\x20SEbxsD1b\x20DY519MDbLMsxGDbe(1BMssdrb,\x201Z1Ys)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204Mssdrb\x20=\x201BMssdrb.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1Ys\x20=\x201Z1Ys.rd4oMxd(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbBMrsY\x20=\x204Mssdrb.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YsBMrsY\x20=\x20G1Ys.Y4oDs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(!4Mssdrb.DbxoEadY(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204Mssdrb\x20===\x20G1Ys;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(4MssdrbBMrsY.odbesG\x20<\x20p\x20||\x204MssdrbBMrsY[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x204MssdrbzESSDf\x20=\x204MssdrbBMrsY.YoDxd(3).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20G1YszESSDf\x20=\x20G1YsBMrsY.YoDxd(-4MssdrbBMrsY.odbesG\x20+\x203).y1Db(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x204MssdrbzESSDf\x20===\x20G1YszESSDf;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ods\x20a19MDbJMoDa\x20=\x20SMoYd;\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(DYRr1WYdr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20(a19MDb\x20&&\x20a19MDb.odbesG)\x20?\x20a19MDb.Y19d((a9csd9)\x20=>\x20DY519MDbLMsxGDbe(a9csd9,\x20o1xMsD1b.G1YsbM9d))\x20:\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DS\x20(o1xMsD1b.G1YsbM9d\x20===\x20\x27o1xMoG1Ys\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20doYd\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a19MDbJMoDa\x20=\x20srEd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20x1bYs\x20gMoDa\x20=\x20YDebJMoDa\x20&&\x20a19MDbJMoDa;\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x201rDeDbLdYYMed,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xMsxG\x20(drr1r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rdsErb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMoDa:\x20SMoYd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209dYYMed:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x18d3f1 extends _0x758c25[_0x358d2f(0x182)]{constructor(){const _0x5b6b36=_0x358d2f;super(...arguments),_0x49baf5(this,_0x5b6b36(0x146),new Map());}[_0x358d2f(0x17c)](){const _0x4141d5=_0x358d2f;super[_0x4141d5(0x17c)](),this[_0x4141d5(0x146)]['clear']();}async[_0x358d2f(0x142)](){const _0x38ebcb=_0x358d2f;this['_updateRangeFlatten']();const _0x1e114d=this[_0x38ebcb(0xaf)]['getFormulaData'](),_0x4e7285=this[_0x38ebcb(0x15e)][_0x38ebcb(0x126)](),_0x411ec6=this['_currentConfigService']['getClearDependencyTreeCache']();_0x411ec6!=null&&Object['keys'](_0x411ec6)[_0x38ebcb(0xf4)](_0x34f03a=>{const _0x162c08=_0x38ebcb;_0x34f03a!=null&&Object[_0x162c08(0x186)](_0x411ec6[_0x34f03a])[_0x162c08(0xf4)](_0x706103=>{const _0x2f10d3=_0x162c08;_0x706103!=null&&(this[_0x2f10d3(0xf5)]['clearOtherFormulaDependency'](_0x34f03a,_0x706103),this[_0x2f10d3(0xf5)][_0x2f10d3(0x165)](_0x34f03a,_0x706103),this[_0x2f10d3(0xf5)]['clearFormulaDependency'](_0x34f03a,_0x706103));});});const _0x45a047=this[_0x38ebcb(0xaf)]['getUnitData']();await this[_0x38ebcb(0xc6)](_0x1e114d,_0x4e7285,_0x45a047),this[_0x38ebcb(0xf5)][_0x38ebcb(0x158)]();const _0x33c93a=this[_0x38ebcb(0xb5)](),_0x52ee38=this['_calculateRunList'](_0x33c93a);return this['_checkIsCycleDependency'](_0x52ee38)&&this[_0x38ebcb(0xd4)]['enableCycleDependency'](),this[_0x38ebcb(0x146)][_0x38ebcb(0xb3)](),this[_0x38ebcb(0x102)][_0x38ebcb(0xb3)](),this['_dependencyManagerService'][_0x38ebcb(0x13e)](),this[_0x38ebcb(0xd4)][_0x38ebcb(0x140)](),Promise[_0x38ebcb(0x188)](_0x52ee38);}[_0x358d2f(0x13b)](_0x44e2a9,_0x199624){const _0x47d3f2=_0x358d2f,_0x1d4d03=[_0x44e2a9];for(;_0x1d4d03['length']>0x0;){const _0x4bf778=_0x1d4d03[_0x1d4d03[_0x47d3f2(0xfa)]-0x1];if((_0x199624['get'](_0x4bf778)||0x0)===0x0){_0x199624[_0x47d3f2(0x16a)](_0x4bf778,0x1);const _0x1ff04d=this[_0x47d3f2(0x146)][_0x47d3f2(0xdf)](_0x4bf778);if(_0x1ff04d==null){_0x199624[_0x47d3f2(0x16a)](_0x4bf778,0x2),_0x1d4d03[_0x47d3f2(0x135)]();continue;}const _0x5b1625=this[_0x47d3f2(0xf5)][_0x47d3f2(0x133)](_0x1ff04d['toRTreeItem']());for(const _0x51ed3c of _0x5b1625){const _0x312c47=_0x199624[_0x47d3f2(0xdf)](_0x51ed3c)||0x0;if(_0x312c47===0x1)return!0x0;_0x312c47===0x0&&_0x1d4d03[_0x47d3f2(0x105)](_0x51ed3c);}}else _0x199624[_0x47d3f2(0x16a)](_0x4bf778,0x2),_0x1d4d03[_0x47d3f2(0x135)]();}return!0x1;}[_0x358d2f(0xb6)](_0x4718b7){const _0x5d0964=_0x358d2f,_0x21b8d1=new Map();for(const _0x3373c5 of _0x4718b7)if(!_0x21b8d1[_0x5d0964(0xc2)](_0x3373c5[_0x5d0964(0x137)])&&this[_0x5d0964(0x13b)](_0x3373c5[_0x5d0964(0x137)],_0x21b8d1))return!0x0;return _0x21b8d1[_0x5d0964(0xb3)](),!0x1;}[_0x358d2f(0x17d)](_0x1de056,_0x3f85db,_0x3ac3b1){const _0x19ac89=_0x358d2f,{unitId:_0x103a83,subUnitId:_0x356397,dependencyRanges:_0x4cc193,getDirtyData:_0x4fb342}=_0x3ac3b1,_0xdaf64e=_0x3f85db||_0x758c25['generateRandomDependencyTreeId'](this[_0x19ac89(0xf5)]),_0xf85f2f=new _0x758c25[(_0x19ac89(0x10a))](_0xdaf64e);_0xf85f2f[_0x19ac89(0xd2)]=_0x103a83,_0xf85f2f[_0x19ac89(0x120)]=_0x356397,_0xf85f2f[_0x19ac89(0x185)]=_0x4cc193,_0xf85f2f[_0x19ac89(0xb2)]=_0x4fb342;const _0x522c88=_0x4fb342(this[_0x19ac89(0xaf)][_0x19ac89(0xb2)](),this[_0x19ac89(0xd4)][_0x19ac89(0x15b)]()),_0x4963c1=this[_0x19ac89(0x159)](_0x522c88[_0x19ac89(0x127)]);return _0xf85f2f[_0x19ac89(0x174)]=_0x4963c1,_0xf85f2f[_0x19ac89(0x170)]=_0x1de056,_0xf85f2f[_0x19ac89(0x180)]=_0x758c25[_0x19ac89(0xdb)][_0x19ac89(0x134)],this[_0x19ac89(0xf5)][_0x19ac89(0x14a)](_0x103a83,_0x356397,_0x1de056,_0xf85f2f),this[_0x19ac89(0x146)][_0x19ac89(0x16a)](_0xf85f2f[_0x19ac89(0x137)],_0xf85f2f),this['_dependencyManagerService'][_0x19ac89(0x123)](_0x3ac3b1[_0x19ac89(0xd2)],_0x3ac3b1[_0x19ac89(0x120)],_0x1de056)&&(_0xf85f2f['isCache']=!0x0),_0xf85f2f;}[_0x358d2f(0xf1)](_0x45cf7f,_0x2ef08d,_0x18fae1){const _0x38d5f0=_0x358d2f;var _0xabf169;for(const _0x380b34 of _0x2ef08d){const _0x7c8e0a=_0x45cf7f[_0x380b34];if(_0x7c8e0a==null)continue;const _0x4bb436=Object[_0x38d5f0(0x186)](_0x7c8e0a);for(const _0x55e073 of _0x4bb436){const _0x5e4df9=_0x7c8e0a[_0x55e073];if(_0x5e4df9==null)continue;const _0x5a9cef=Object[_0x38d5f0(0x186)](_0x5e4df9);for(const _0x2ada63 of _0x5a9cef){const _0x5d179c=this[_0x38d5f0(0xf5)]['hasOtherFormulaDataMainData'](_0x2ada63),_0x7f8ffd=_0x5e4df9[_0x2ada63],{f:_0x5576de,ranges:_0x2d4586}=_0x7f8ffd;let _0x4cc2f4=!0x1;_0x5d179c&&(_0x4cc2f4=!0x0);const {firstRow:_0x3b180a,firstColumn:_0x19feb1}=this[_0x38d5f0(0x10d)](_0x2d4586),_0x1931f9=this[_0x38d5f0(0xf5)][_0x38d5f0(0x119)](_0x380b34,_0x55e073,_0x2ada63),_0x13f4f3=(_0xabf169=_0x1931f9==null?void 0x0:_0x1931f9[_0x38d5f0(0x12d)](0x0,0x0))!=null?_0xabf169:_0x758c25[_0x38d5f0(0x12f)](this[_0x38d5f0(0xf5)]),_0x4a3afb=new _0x758c25['FormulaDependencyTree'](_0x13f4f3);for(let _0x5a8a4c=0x0;_0x5a8a4c<_0x2d4586['length'];_0x5a8a4c++){const _0x1dd2e8=_0x2d4586[_0x5a8a4c],{startRow:_0x643e15,startColumn:_0x2a7588,endRow:_0x2b9fa1,endColumn:_0x3372d0}=_0x1dd2e8;for(let _0x671cea=_0x643e15;_0x671cea<=_0x2b9fa1;_0x671cea++)for(let _0x1275dd=_0x2a7588;_0x1275dd<=_0x3372d0;_0x1275dd++){const _0x3f132d=_0x1275dd-_0x19feb1,_0x3d58b4=_0x671cea-_0x3b180a;if(_0x3f132d===0x0&&_0x3d58b4===0x0){_0x4a3afb[_0x38d5f0(0x147)]=_0x5576de,_0x4a3afb['unitId']=_0x380b34,_0x4a3afb['subUnitId']=_0x55e073,_0x4a3afb['formulaId']=_0x2ada63,_0x4a3afb[_0x38d5f0(0x180)]=_0x758c25[_0x38d5f0(0xdb)]['OTHER_FORMULA'],_0x4a3afb[_0x38d5f0(0x12e)]=_0x4cc2f4,_0x18fae1[_0x38d5f0(0x105)](_0x4a3afb),this[_0x38d5f0(0x146)][_0x38d5f0(0x16a)](_0x4a3afb[_0x38d5f0(0x137)],_0x4a3afb),this['_dependencyManagerService'][_0x38d5f0(0x177)](_0x380b34,_0x55e073,_0x2ada63,_0x4a3afb),this['_dependencyManagerService'][_0x38d5f0(0x157)](_0x4a3afb);continue;}const _0x1d486b=new _0x758c25[(_0x38d5f0(0xad))]();_0x1d486b['treeId']=(_0x1931f9==null?void 0x0:_0x1931f9[_0x38d5f0(0x12d)](_0x3f132d,_0x3d58b4))||_0x758c25[_0x38d5f0(0x12f)](this[_0x38d5f0(0xf5)]),_0x1d486b[_0x38d5f0(0x151)]=_0x4a3afb,_0x1d486b[_0x38d5f0(0xe6)]=_0x3f132d,_0x1d486b[_0x38d5f0(0x103)]=_0x3d58b4,_0x1d486b[_0x38d5f0(0x12e)]=_0x4cc2f4,this[_0x38d5f0(0xf5)][_0x38d5f0(0x177)](_0x380b34,_0x55e073,_0x2ada63,_0x1d486b),this[_0x38d5f0(0xf5)][_0x38d5f0(0x157)](_0x1d486b),_0x18fae1[_0x38d5f0(0x105)](_0x1d486b),this['_dependencyTreeCache'][_0x38d5f0(0x16a)](_0x1d486b[_0x38d5f0(0x137)],_0x1d486b);}}this[_0x38d5f0(0xf5)][_0x38d5f0(0x15f)](_0x2ada63);}}}}[_0x358d2f(0xf3)](_0x493b5d,_0x4046f0,_0x151d86,_0x314346){const _0x114c61=_0x358d2f;for(const _0x48a0bc of _0x493b5d){const _0x2319ff=_0x4046f0[_0x48a0bc];if(_0x2319ff==null)continue;const _0x27e212=Object[_0x114c61(0x186)](_0x2319ff);for(const _0x3f4e5a of _0x27e212){const _0x1d9437=new _0x1b62c9['ObjectMatrix'](_0x2319ff[_0x3f4e5a]||{}),_0x203088=new Map();_0x1d9437[_0x114c61(0x12a)]((_0x4ff4c3,_0x3d7899,_0x420b68)=>{const _0x15aa69=_0x114c61;if(_0x420b68==null)return!0x0;const {x:_0x342ac4=0x0,y:_0x5ba6b9=0x0,si:_0x52ddf3}=_0x420b68;if(!(_0x342ac4===0x0&&_0x5ba6b9===0x0&&_0x52ddf3!=null))return!0x0;const _0x1819f6=this[_0x15aa69(0x132)](_0x48a0bc,_0x3f4e5a,_0x4ff4c3,_0x3d7899,_0x151d86,_0x420b68),_0x281ce2=this[_0x15aa69(0xf5)][_0x15aa69(0x108)](_0x48a0bc,_0x3f4e5a,_0x4ff4c3,_0x3d7899);_0x281ce2!=null?_0x1819f6[_0x15aa69(0x137)]=_0x281ce2:(this['_dependencyManagerService'][_0x15aa69(0x15a)](_0x48a0bc,_0x3f4e5a,_0x4ff4c3,_0x3d7899,_0x1819f6),this[_0x15aa69(0xf5)][_0x15aa69(0x157)](_0x1819f6)),_0x203088[_0x15aa69(0x16a)](_0x52ddf3,_0x1819f6),_0x314346['push'](_0x1819f6),this[_0x15aa69(0x146)][_0x15aa69(0x16a)](_0x1819f6['treeId'],_0x1819f6);}),_0x1d9437[_0x114c61(0x12a)]((_0x489666,_0x1fa0b0,_0x4eb101)=>{const _0x15c87f=_0x114c61;if(_0x4eb101==null)return!0x0;const {x:_0x277832=0x0,y:_0x7f1bd4=0x0,si:_0x438599}=_0x4eb101;if(_0x277832===0x0&&_0x7f1bd4===0x0&&_0x438599!=null)return!0x0;let _0x164a22;if(_0x438599&&_0x203088[_0x15c87f(0xc2)](_0x438599)){const _0x313e31=_0x203088[_0x15c87f(0xdf)](_0x438599);_0x164a22=this[_0x15c87f(0x14b)](_0x313e31,_0x4eb101);}else _0x164a22=this[_0x15c87f(0x132)](_0x48a0bc,_0x3f4e5a,_0x489666,_0x1fa0b0,_0x151d86,_0x4eb101);const _0x25cbcb=this[_0x15c87f(0xf5)]['getFormulaDependency'](_0x48a0bc,_0x3f4e5a,_0x489666,_0x1fa0b0);_0x25cbcb!=null?_0x164a22[_0x15c87f(0x137)]=_0x25cbcb:(this[_0x15c87f(0xf5)][_0x15c87f(0x15a)](_0x48a0bc,_0x3f4e5a,_0x489666,_0x1fa0b0,_0x164a22),this[_0x15c87f(0xf5)]['addFormulaDependencyByDefinedName'](_0x164a22)),_0x314346['push'](_0x164a22),this[_0x15c87f(0x146)][_0x15c87f(0x16a)](_0x164a22[_0x15c87f(0x137)],_0x164a22);}),_0x203088[_0x114c61(0xb3)]();}}}['_createFDtree'](_0x57f0f4,_0x5c92ce,_0x4afcdb,_0x30f520,_0x183a1d,_0x157548){const _0x26d9a8=_0x358d2f,{f:_0x281aca,x:_0x3e9012=0x0,y:_0x583741=0x0}=_0x157548,_0x3de9fb=new _0x758c25[(_0x26d9a8(0x10a))](_0x758c25['generateRandomDependencyTreeId'](this[_0x26d9a8(0xf5)])),_0x3e8935=_0x183a1d[_0x57f0f4][_0x5c92ce];return _0x3de9fb[_0x26d9a8(0x147)]=_0x281aca,_0x3de9fb[_0x26d9a8(0xd2)]=_0x57f0f4,_0x3de9fb['subUnitId']=_0x5c92ce,_0x3de9fb['row']=_0x4afcdb,_0x3de9fb['column']=_0x30f520,_0x3de9fb[_0x26d9a8(0xae)]=_0x3e8935[_0x26d9a8(0xae)],_0x3de9fb[_0x26d9a8(0x184)]=_0x3e8935[_0x26d9a8(0x184)],_0x3de9fb;}[_0x358d2f(0xb5)](){const _0x8254d8=_0x358d2f,_0x147048=[],_0x1f8972=new Set(),_0x22e6e4=this[_0x8254d8(0xaf)][_0x8254d8(0x169)](),_0x28732e=this[_0x8254d8(0xaf)][_0x8254d8(0xe2)](),_0x52c936=this['_dependencyManagerService']['searchDependency'](_0x28732e),_0x15f6d3=this[_0x8254d8(0x102)]['bulkSearch'](_0x28732e);for(const _0x4ebd03 of _0x15f6d3)_0x52c936['add'](_0x4ebd03);for(const [_0x3b6279,_0x642994]of this['_dependencyTreeCache'])(_0x22e6e4||_0x642994[_0x8254d8(0x183)]||_0x642994[_0x8254d8(0xb8)](this[_0x8254d8(0xaf)][_0x8254d8(0x115)]())||_0x52c936[_0x8254d8(0xc2)](_0x3b6279)&&!_0x642994[_0x8254d8(0xca)](this[_0x8254d8(0xaf)][_0x8254d8(0xe7)]()))&&!_0x1f8972[_0x8254d8(0xc2)](_0x3b6279)&&(_0x147048[_0x8254d8(0x105)](_0x642994),_0x1f8972[_0x8254d8(0xff)](_0x3b6279));for(const [_0x44c9bf,_0x5d771e]of this[_0x8254d8(0x146)])_0x5d771e[_0x8254d8(0x14e)]||(_0x5d771e['rangeList'][_0x8254d8(0xfa)]=0x0);return _0x147048;}[_0x358d2f(0x17f)](_0x4cf802){const _0x59608e=_0x358d2f;return this[_0x59608e(0x146)][_0x59608e(0xdf)](_0x4cf802);}[_0x358d2f(0x114)](_0x21644e){const _0x2443e3=_0x358d2f;return _0x758c25['generateAstNode'](_0x21644e[_0x2443e3(0xd2)],_0x21644e[_0x2443e3(0x147)],this[_0x2443e3(0xd5)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x358d2f(0x129)](_0x3d35c3,_0x1f1325){const _0x416b32=_0x358d2f,_0xda6233=_0x3d35c3,_0x2e04a5=new Set();for(;_0xda6233[_0x416b32(0xfa)]>0x0;){const _0x594821=_0xda6233[_0x416b32(0x135)]();if(_0x2e04a5[_0x416b32(0xb3)](),_0x594821===void 0x0||_0x594821[_0x416b32(0xee)]())continue;if(_0x594821['isAdded']()){yield _0x594821,_0x594821[_0x416b32(0xf9)](),_0x1f1325[_0x416b32(0xff)](_0x594821[_0x416b32(0x137)]);continue;}const _0x67302b=this[_0x416b32(0xf5)][_0x416b32(0x133)](_0x594821['toRTreeItem'](),_0x1f1325),_0x10fd9a=this[_0x416b32(0x102)]['bulkSearch'](_0x594821[_0x416b32(0xe4)](),_0x1f1325);for(const _0x435308 of _0x10fd9a)_0x67302b[_0x416b32(0xff)](_0x435308);for(const _0x585ea9 of _0x67302b){const _0x2ddc33=this['_dependencyTreeCache'][_0x416b32(0xdf)](_0x585ea9);if(!_0x2ddc33)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x2ddc33[_0x416b32(0x11d)]()||_0x594821['isSkip']()||_0x2e04a5['add'](_0x2ddc33);}if(_0x67302b[_0x416b32(0xb3)](),_0x2e04a5[_0x416b32(0x156)]===0x0)yield _0x594821,_0x594821['setSkip'](),_0x1f1325[_0x416b32(0xff)](_0x594821[_0x416b32(0x137)]);else{_0x594821['setAdded'](),_0xda6233[_0x416b32(0x105)](_0x594821);for(const _0x275b27 of _0x2e04a5)_0xda6233[_0x416b32(0x105)](_0x275b27);}}_0xda6233[_0x416b32(0xfa)]=0x0,_0x2e04a5[_0x416b32(0xb3)]();}[_0x358d2f(0x10c)](_0x40943a){const _0x3659f3=_0x358d2f,_0x9ff2ab=[],_0x40e240=new Set();for(const _0x8af57e of this[_0x3659f3(0x129)](_0x40943a,_0x40e240))_0x9ff2ab[_0x3659f3(0x105)](_0x8af57e);return _0x9ff2ab;}}class _0x218899 extends _0x758c25['LexerTreeBuilder']{constructor(){const _0x6c7ab3=_0x358d2f;super(...arguments),_0x49baf5(this,_0x6c7ab3(0xeb),!0x1),_0x49baf5(this,_0x6c7ab3(0x154),new Set());}[_0x358d2f(0x122)](_0x351b7e,_0xb8e7e5){const _0x2e1c7d=_0x358d2f,_0x5b7a62=this[_0x2e1c7d(0xce)](_0x351b7e,!0x1);if(!_0x5b7a62||_0x5b7a62===_0x758c25['ErrorType']['VALUE']||Array['isArray'](_0x5b7a62))return null;const _0x251967=[];return this[_0x2e1c7d(0xeb)]=!0x1,this['_generateNewFunctionString'](_0x5b7a62,_0x251967,_0xb8e7e5),this['_hasNewExcelFunction']?'='+_0x251967[_0x2e1c7d(0x16c)](''):null;}[_0x358d2f(0x124)](_0x3bf220,_0x432a44,_0x1cd907){const _0x253a77=_0x358d2f,_0x5f4b86=_0x3bf220[_0x253a77(0xf8)](),_0x18daf5=_0x5f4b86['trim'](),_0x53755b=_0x18daf5[_0x253a77(0x13c)](),_0xdebac4=this[_0x253a77(0x143)](_0x53755b),_0x4c7f45=_0x1cd907(_0xdebac4);let _0x529a3f=0x0;_0x5f4b86===_0x758c25['DEFAULT_TOKEN_TYPE_ROOT']?_0x529a3f=0x3:_0x5f4b86===_0x758c25[_0x253a77(0xd6)]?_0x529a3f=0x4:_0x5f4b86===_0x758c25[_0x253a77(0x113)]?_0x529a3f=0x5:_0x758c25[_0x253a77(0xde)][_0x253a77(0xc2)](_0xdebac4)?(_0x432a44[_0x253a77(0x105)](_0x253a77(0x10f)+_0x18daf5),this['_hasNewExcelFunction']=!0x0):_0x53755b===_0x758c25[_0x253a77(0x10b)]?(_0x432a44[_0x253a77(0x105)](_0x253a77(0x10f)+_0x18daf5),this[_0x253a77(0xeb)]=!0x0,_0x529a3f=0x2):_0x53755b===_0x758c25[_0x253a77(0xed)]?(_0x432a44[_0x253a77(0x105)](_0x253a77(0x10f)+_0x18daf5),this[_0x253a77(0xeb)]=!0x0,_0x529a3f=0x1):_0x53755b===_0x758c25[_0x253a77(0x10e)][_0x253a77(0x155)]?_0x529a3f=0x8:_0x758c25[_0x253a77(0x152)][_0x253a77(0xc2)](_0x53755b)?_0x529a3f=0x7:_0x53755b===_0x758c25[_0x253a77(0xc1)][_0x253a77(0x112)]?(this[_0x253a77(0x160)](_0x3bf220)&&(_0x529a3f=0x9),_0x432a44['push'](_0x5f4b86)):(_0x432a44[_0x253a77(0x105)](_0x5f4b86),_0x529a3f=0xa),_0x4c7f45?(_0x529a3f!==0x2&&_0x529a3f!==0x1&&(_0x529a3f=0x6),_0x432a44[_0x253a77(0x105)]('(')):_0x529a3f===0x9&&_0x432a44[_0x253a77(0x105)]('(');const _0x4c6514=_0x3bf220[_0x253a77(0x14d)](),_0x2d8508=_0x4c6514[_0x253a77(0xfa)];if(_0x529a3f===0x2){const _0x50a6e5=_0x4c6514[0x0];let _0x33f84a=0x0;_0x50a6e5 instanceof _0x758c25[_0x253a77(0x100)]&&_0x50a6e5['getToken']()===_0x758c25[_0x253a77(0x113)]&&(_0x33f84a=0x1);for(let _0x2c55aa=_0x33f84a;_0x2c55aa<_0x2d8508-0x1;_0x2c55aa++){const _0x553714=_0x4c6514[_0x2c55aa];if(_0x553714 instanceof _0x758c25[_0x253a77(0x100)]){const _0x3b0fcc=_0x553714[_0x253a77(0x14d)]()[0x0];typeof _0x3b0fcc==_0x253a77(0xc0)&&(this[_0x253a77(0x154)][_0x253a77(0xc2)](_0x3b0fcc)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x3b0fcc+_0x253a77(0x178)),this['_lambdaFunctionParameterSet'][_0x253a77(0xff)](_0x3b0fcc),_0x432a44[_0x253a77(0x105)](_0x253a77(0xdc)+_0x3b0fcc),this[_0x253a77(0xeb)]=!0x0);}_0x432a44['push'](',');}this[_0x253a77(0x107)](_0x4c6514[_0x2d8508-0x1],_0x432a44,_0x1cd907),_0x33f84a===0x1&&(_0x432a44['push'](')'),_0x432a44[_0x253a77(0x105)]('('),this[_0x253a77(0x124)](_0x50a6e5,_0x432a44,_0x1cd907)),_0x432a44['push'](')');return;}else{if(_0x529a3f===0x1){for(let _0x433a89=0x0;_0x433a89<_0x2d8508-0x1;_0x433a89++){const _0xcfb5f5=_0x4c6514[_0x433a89];if(_0xcfb5f5 instanceof _0x758c25[_0x253a77(0x100)]&&_0x433a89%0x2===0x0){const _0x4ea521=_0xcfb5f5[_0x253a77(0x14d)]()[0x0];if(typeof _0x4ea521==_0x253a77(0xc0)){this[_0x253a77(0x154)][_0x253a77(0xc2)](_0x4ea521)&&console['error'](_0x253a77(0xb1)+_0x4ea521+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet']['add'](_0x4ea521),_0x432a44[_0x253a77(0x105)](_0x253a77(0xdc)+_0x4ea521),this['_hasNewExcelFunction']=!0x0,_0x432a44[_0x253a77(0x105)](',');continue;}}if(this[_0x253a77(0x107)](_0xcfb5f5,_0x432a44,_0x1cd907),_0xcfb5f5 instanceof _0x758c25[_0x253a77(0x100)]){const _0x13d4c1=_0x4c6514[_0x433a89+0x1];_0x13d4c1&&_0x13d4c1 instanceof _0x758c25[_0x253a77(0x100)]&&_0x432a44[_0x253a77(0x105)](',');}}this[_0x253a77(0x107)](_0x4c6514[_0x2d8508-0x1],_0x432a44,_0x1cd907),_0x432a44[_0x253a77(0x105)](')');return;}else{if(_0x529a3f===0x8){const _0xa77a2a=_0x4c6514[0x0],_0x5be3c8=_0x4c6514[0x1];this[_0x253a77(0x107)](_0xa77a2a,_0x432a44,_0x1cd907),_0x432a44[_0x253a77(0x105)](_0x5f4b86),this[_0x253a77(0x107)](_0x5be3c8,_0x432a44,_0x1cd907);return;}}}for(let _0x4025da=0x0;_0x4025da<_0x2d8508;_0x4025da++){const _0x368a9e=_0x4c6514[_0x4025da];if(this['_handleNewFunctionChild'](_0x368a9e,_0x432a44,_0x1cd907),_0x368a9e instanceof _0x758c25[_0x253a77(0x100)]){const _0x544bcd=_0x4c6514[_0x4025da+0x1];_0x544bcd&&_0x544bcd instanceof _0x758c25[_0x253a77(0x100)]&&_0x432a44[_0x253a77(0x105)](',');}}_0x529a3f===0x7&&_0x432a44[_0x253a77(0x105)](_0x5f4b86),(_0x4c7f45||_0x529a3f===0x9)&&_0x432a44[_0x253a77(0x105)](')');}[_0x358d2f(0x107)](_0x26301c,_0x292cdf,_0x40c536){const _0x3ddb9b=_0x358d2f;_0x26301c instanceof _0x758c25[_0x3ddb9b(0x100)]?this[_0x3ddb9b(0x124)](_0x26301c,_0x292cdf,_0x40c536):this['_lambdaFunctionParameterSet'][_0x3ddb9b(0xc2)](_0x26301c)?(_0x292cdf[_0x3ddb9b(0x105)]('_xlpm.'+_0x26301c),this[_0x3ddb9b(0xeb)]=!0x0):_0x292cdf[_0x3ddb9b(0x105)](_0x26301c);}[_0x358d2f(0x143)](_0x469c79){const _0x4cd9c7=_0x358d2f;let _0x517354=_0x469c79[_0x4cd9c7(0x109)]();if(!_0x517354)return _0x517354;const _0x32cb7e=_0x517354[0x0];if((_0x32cb7e===_0x758c25[_0x4cd9c7(0xc1)]['AT']||_0x32cb7e===_0x758c25['prefixToken'][_0x4cd9c7(0x112)]||_0x32cb7e===_0x758c25[_0x4cd9c7(0xc1)][_0x4cd9c7(0xc8)])&&(_0x517354=_0x517354[_0x4cd9c7(0xc4)](0x1)),!_0x517354)return _0x517354;const _0x12d706=_0x517354[_0x517354[_0x4cd9c7(0xfa)]-0x1];return _0x758c25['SUFFIX_TOKEN_SET'][_0x4cd9c7(0xc2)](_0x12d706)&&(_0x517354=_0x517354[_0x4cd9c7(0xc4)](0x0,-0x1)),_0x517354;}['_checkAddBracketForMinus'](_0xe67b01){const _0x2ba272=_0x358d2f,_0x209172=_0xe67b01[_0x2ba272(0x14d)]()[0x0];if(!_0x209172||!(_0x209172 instanceof _0x758c25[_0x2ba272(0x100)])||_0xe67b01['getChildren']()['length']>0x1)return!0x1;const _0x5606d5=_0x209172[_0x2ba272(0x14d)](),_0x233a6a=_0x5606d5[_0x2ba272(0xfa)];if(_0x233a6a===0x1)return!0x1;for(let _0x4dc143=0x0;_0x4dc143<_0x233a6a;_0x4dc143++){const _0x9ad200=_0x5606d5[_0x4dc143];if(!(_0x9ad200 instanceof _0x758c25[_0x2ba272(0x100)])&&_0x758c25['OPERATOR_TOKEN_SET']['has'](_0x9ad200))return!0x0;}return!0x1;}}class _0x504b43 extends _0x758c25[_0x358d2f(0x111)]{async[_0x358d2f(0xef)](_0x14e045=!0x1){const _0x3e9ec0=_0x358d2f;_0x14e045?this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)]['START_DEPENDENCY']),this[_0x3e9ec0(0x181)][_0x3e9ec0(0x179)](this[_0x3e9ec0(0xd4)]['getRuntimeState']());const _0x2d5f1a=await this[_0x3e9ec0(0x176)][_0x3e9ec0(0x142)](),_0x42475b=this[_0x3e9ec0(0x162)];_0x14e045?(this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x3e9ec0(0xd4)]['setTotalArrayFormulasToCalculate'](_0x2d5f1a[_0x3e9ec0(0xfa)])):(this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)]['START_CALCULATION']),this[_0x3e9ec0(0xd4)]['setTotalFormulasToCalculate'](_0x2d5f1a[_0x3e9ec0(0xfa)])),this['_executionInProgressListener$'][_0x3e9ec0(0x179)](this[_0x3e9ec0(0xd4)][_0x3e9ec0(0xcb)]());let _0x5b19ae=[];const _0x354aa1=this[_0x3e9ec0(0x106)]['getConfig'](_0x758c25[_0x3e9ec0(0xcc)]),_0x5c3d6a=(_0x354aa1==null?void 0x0:_0x354aa1[_0x3e9ec0(0xf7)])||_0x758c25[_0x3e9ec0(0x12b)];let _0x3c57f8=0x0;const _0x339061=_0x2d5f1a[_0x3e9ec0(0xfa)];for(;_0x2d5f1a[_0x3e9ec0(0xfa)]>0x0;){const _0x38cebb=_0x2d5f1a[_0x3e9ec0(0x135)](),_0x4ef752=_0x758c25[_0x3e9ec0(0x16e)](_0x38cebb[_0x3e9ec0(0xd2)],_0x38cebb[_0x3e9ec0(0x147)],this[_0x3e9ec0(0xd5)],this[_0x3e9ec0(0xfb)],this[_0x3e9ec0(0xaf)]),_0x291b1d={'node':_0x4ef752,'refOffsetX':_0x38cebb[_0x3e9ec0(0xe6)],'refOffsetY':_0x38cebb['refOffsetY']},_0x373bcd=_0x38cebb[_0x3e9ec0(0xb2)];if(_0x3c57f8%_0x5c3d6a===0x0&&(await new Promise(_0x3e505e=>{const _0x4379ee=_0x3e9ec0,_0x386d6c=_0x1b62c9[_0x4379ee(0xfe)](_0x3e505e);_0x5b19ae[_0x4379ee(0x105)](_0x386d6c);}),_0x14e045?(this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)][_0x3e9ec0(0x13d)]),this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x144)](_0x3c57f8+0x1)):(this['_runtimeService'][_0x3e9ec0(0x101)](_0x758c25[_0x3e9ec0(0x125)][_0x3e9ec0(0xe5)]),this[_0x3e9ec0(0xd4)]['setCompletedFormulasCount'](_0x3c57f8+0x1)),this[_0x3e9ec0(0x181)][_0x3e9ec0(0x179)](this[_0x3e9ec0(0xd4)][_0x3e9ec0(0xcb)]()),this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x13f)]()||_0x291b1d==null&&_0x373bcd==null)){this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x101)](_0x758c25['FormulaExecuteStageType']['IDLE']),this[_0x3e9ec0(0xd4)][_0x3e9ec0(0xe8)](),this[_0x3e9ec0(0x173)]['next'](this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x15b)]());return;}this[_0x3e9ec0(0xd4)]['setCurrent'](_0x38cebb[_0x3e9ec0(0x14c)],_0x38cebb[_0x3e9ec0(0xf2)],_0x38cebb[_0x3e9ec0(0xae)],_0x38cebb[_0x3e9ec0(0x184)],_0x38cebb[_0x3e9ec0(0x120)],_0x38cebb[_0x3e9ec0(0xd2)]);let _0x260ad2;if(_0x373bcd!=null&&_0x38cebb[_0x3e9ec0(0x170)]!=null){const {runtimeCellData:_0x5023c9,dirtyRanges:_0x819c56}=_0x373bcd(this[_0x3e9ec0(0xaf)][_0x3e9ec0(0xb2)](),this['_runtimeService']['getAllRuntimeData']());this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x17e)](_0x38cebb['featureId'],_0x5023c9),this[_0x3e9ec0(0xd4)][_0x3e9ec0(0xd9)](_0x38cebb[_0x3e9ec0(0x170)],_0x819c56);}else _0x291b1d!=null&&(_0x42475b[_0x3e9ec0(0x11c)](_0x291b1d[_0x3e9ec0(0xb9)])?_0x260ad2=await _0x42475b[_0x3e9ec0(0x13a)](_0x291b1d):_0x260ad2=_0x42475b[_0x3e9ec0(0xd1)](_0x291b1d),_0x38cebb[_0x3e9ec0(0x161)]!=null?this['_runtimeService'][_0x3e9ec0(0xb4)](_0x38cebb[_0x3e9ec0(0x161)],_0x38cebb[_0x3e9ec0(0xe6)],_0x38cebb[_0x3e9ec0(0x103)],_0x260ad2):this[_0x3e9ec0(0xd4)][_0x3e9ec0(0x164)](_0x260ad2));_0x4ef752[_0x3e9ec0(0x131)](),_0x3c57f8++;}return _0x5b19ae['forEach'](_0xe4ff0b=>_0xe4ff0b()),_0x5b19ae=[],_0x339061>0x0?this[_0x3e9ec0(0xd4)]['markedAsSuccessfullyExecuted']():_0x14e045||this[_0x3e9ec0(0xd4)][_0x3e9ec0(0xb7)](),this['_runtimeService']['getAllRuntimeData']();}}class _0x5d27f1 extends _0x758c25['DependencyManagerBaseService']{constructor(){const _0x9d55a4=_0x358d2f;super(...arguments),_0x49baf5(this,'_allTreeMap',new Map()),_0x49baf5(this,'_dependencyRTreeCache',new _0x1b62c9[(_0x9d55a4(0x14f))](!0x0));}[_0x358d2f(0xb0)](){const _0x139efc=_0x358d2f;this[_0x139efc(0xbf)]['clear'](),this['_featureFormulaData'][_0x139efc(0xb3)](),this['_formulaData'][_0x139efc(0xb3)](),this['_dependencyRTreeCache'][_0x139efc(0xb3)](),this[_0x139efc(0xd7)][_0x139efc(0xb3)](),this['_restDependencyTreeId'](),this[_0x139efc(0x128)]['clear']();}[_0x358d2f(0x177)](_0x328599,_0x34550f,_0x458ef4,_0xe0ddc8){const _0x2eec0c=_0x358d2f;this[_0x2eec0c(0xbf)][_0x2eec0c(0xc2)](_0x328599)||this[_0x2eec0c(0xbf)]['set'](_0x328599,new Map());const _0x188b6a=this[_0x2eec0c(0xbf)]['get'](_0x328599);_0x188b6a['has'](_0x34550f)||_0x188b6a[_0x2eec0c(0x16a)](_0x34550f,new Map());const _0x399a7d=_0x188b6a[_0x2eec0c(0xdf)](_0x34550f);_0x399a7d[_0x2eec0c(0xc2)](_0x458ef4)||_0x399a7d['set'](_0x458ef4,new _0x1b62c9[(_0x2eec0c(0x11a))]()),_0x399a7d[_0x2eec0c(0xdf)](_0x458ef4)[_0x2eec0c(0x172)](_0xe0ddc8[_0x2eec0c(0xe6)],_0xe0ddc8[_0x2eec0c(0x103)],_0xe0ddc8[_0x2eec0c(0x137)]);}[_0x358d2f(0x171)](_0x30daa8,_0x821ca5,_0x4572f4){const _0x51e727=_0x358d2f,_0x52ddd7=this[_0x51e727(0xbf)][_0x51e727(0xdf)](_0x30daa8);if(_0x52ddd7&&_0x52ddd7[_0x51e727(0xc2)](_0x821ca5)){const _0xe89685=_0x52ddd7['get'](_0x821ca5);_0x4572f4[_0x51e727(0xf4)](_0x1a8095=>{const _0x1a821e=_0x51e727,_0x2a4e5d=_0xe89685['get'](_0x1a8095);_0x2a4e5d!=null&&(_0x2a4e5d[_0x1a821e(0x12a)]((_0x283ef6,_0x4cd261,_0x1418d0)=>{this['_removeDependencyRTreeCache'](_0x1418d0),this['_removeAllTreeMap'](_0x1418d0);}),_0xe89685['delete'](_0x1a8095),this[_0x1a821e(0x128)][_0x1a821e(0x139)](_0x1a8095));}),_0xe89685['size']===0x0&&_0x52ddd7[_0x51e727(0x139)](_0x821ca5),_0x52ddd7[_0x51e727(0x156)]===0x0&&this[_0x51e727(0xbf)][_0x51e727(0x139)](_0x30daa8);}}['clearOtherFormulaDependency'](_0x249237,_0x50057f){const _0x5303a6=_0x358d2f,_0x56366d=this[_0x5303a6(0xbf)]['get'](_0x249237);if(_0x50057f&&_0x56366d&&_0x56366d[_0x5303a6(0xc2)](_0x50057f)){const _0x1f2b63=_0x56366d['get'](_0x50057f);this[_0x5303a6(0x153)](_0x249237,_0x50057f);for(const _0x412d9b of _0x1f2b63['keys']()){const _0x1e37e6=_0x1f2b63[_0x5303a6(0xdf)](_0x412d9b);_0x1e37e6!=null&&(_0x1e37e6[_0x5303a6(0x12a)]((_0x3e76ef,_0x46226d,_0x9f244f)=>{const _0x38fd17=_0x5303a6;this[_0x38fd17(0xd7)][_0x38fd17(0xdf)](_0x9f244f)&&this[_0x38fd17(0xd0)](_0x9f244f);}),this[_0x5303a6(0x128)][_0x5303a6(0x139)](_0x412d9b));}_0x1f2b63['clear']();}else{if(_0x56366d){for(const _0x407aaf of _0x56366d[_0x5303a6(0x186)]()){const _0x47e447=_0x56366d[_0x5303a6(0xdf)](_0x407aaf);this['_removeDependencyRTreeCacheById'](_0x249237,_0x407aaf);for(const _0x1e3288 of _0x47e447[_0x5303a6(0x186)]()){const _0x1d718a=_0x47e447[_0x5303a6(0xdf)](_0x1e3288);_0x1d718a!=null&&(_0x1d718a[_0x5303a6(0x12a)]((_0x4d79d5,_0x59eeb5,_0x28dfb5)=>{const _0x527aca=_0x5303a6;this[_0x527aca(0xd7)]['get'](_0x28dfb5)&&this[_0x527aca(0xd0)](_0x28dfb5);}),this[_0x5303a6(0x128)][_0x5303a6(0x139)](_0x1e3288));}}this[_0x5303a6(0xbf)][_0x5303a6(0x139)](_0x249237);}}}[_0x358d2f(0x14a)](_0x4c5c20,_0x531939,_0x10d91d,_0x5e52e3){const _0x42567f=_0x358d2f;this['_featureFormulaData'][_0x42567f(0xc2)](_0x4c5c20)||this[_0x42567f(0xc5)]['set'](_0x4c5c20,new Map());const _0x3f8715=this[_0x42567f(0xc5)][_0x42567f(0xdf)](_0x4c5c20);_0x3f8715[_0x42567f(0xc2)](_0x531939)||_0x3f8715['set'](_0x531939,new Map()),_0x3f8715['get'](_0x531939)[_0x42567f(0x16a)](_0x10d91d,_0x5e52e3[_0x42567f(0x137)]);}[_0x358d2f(0xda)](_0x5dc28f,_0x1602dc,_0x16baa1){const _0x161e32=_0x358d2f,_0x9bbefc=this[_0x161e32(0xc5)][_0x161e32(0xdf)](_0x5dc28f);if(_0x9bbefc&&_0x9bbefc[_0x161e32(0xc2)](_0x1602dc)){const _0x438b88=_0x9bbefc[_0x161e32(0xdf)](_0x1602dc);_0x16baa1[_0x161e32(0xf4)](_0x9529f2=>{const _0xdc45d4=_0x161e32,_0x371171=_0x438b88[_0xdc45d4(0xdf)](_0x9529f2);_0x371171!=null&&(this[_0xdc45d4(0x110)](_0x371171),_0x438b88['delete'](_0x9529f2),this[_0xdc45d4(0xd0)](_0x371171));});}}[_0x358d2f(0x165)](_0xf12372,_0x4fb55e){const _0x1399ee=_0x358d2f,_0x1416b6=this['_featureFormulaData'][_0x1399ee(0xdf)](_0xf12372);if(_0x4fb55e&&_0x1416b6&&_0x1416b6[_0x1399ee(0xc2)](_0x4fb55e)){const _0x1b663d=_0x1416b6[_0x1399ee(0xdf)](_0x4fb55e);this[_0x1399ee(0x153)](_0xf12372,_0x4fb55e),_0x1b663d['forEach'](_0x571a03=>{_0x571a03!=null&&this['_removeAllTreeMap'](_0x571a03);}),_0x1b663d[_0x1399ee(0xb3)]();}else _0x1416b6&&(_0x1416b6['forEach']((_0x317bf2,_0x37c637)=>{const _0x1b500f=_0x1399ee;this[_0x1b500f(0x153)](_0xf12372,_0x37c637),_0x317bf2[_0x1b500f(0xf4)](_0x16dff1=>{const _0x286372=_0x1b500f;_0x16dff1!=null&&this[_0x286372(0xd0)](_0x16dff1);});}),this[_0x1399ee(0xc5)][_0x1399ee(0x139)](_0xf12372));}[_0x358d2f(0x15a)](_0x197631,_0x2befda,_0x178185,_0x3cc25d,_0x2e66da){const _0x228053=_0x358d2f;this[_0x228053(0x138)][_0x228053(0xc2)](_0x197631)||this[_0x228053(0x138)][_0x228053(0x16a)](_0x197631,new Map());const _0x4c9bb2=this[_0x228053(0x138)][_0x228053(0xdf)](_0x197631);_0x4c9bb2[_0x228053(0xc2)](_0x2befda)||_0x4c9bb2[_0x228053(0x16a)](_0x2befda,new _0x1b62c9['ObjectMatrix']()),_0x4c9bb2[_0x228053(0xdf)](_0x2befda)['setValue'](_0x178185,_0x3cc25d,_0x2e66da[_0x228053(0x137)]);}[_0x358d2f(0x130)](_0x473ba7,_0x3918c5,_0x49861f,_0x5ed5d9){const _0x4c4967=_0x358d2f,_0x6c45e6=this[_0x4c4967(0x138)]['get'](_0x473ba7);if(_0x6c45e6&&_0x6c45e6['has'](_0x3918c5)){const _0x141bca=_0x6c45e6['get'](_0x3918c5),_0x5906c5=_0x141bca[_0x4c4967(0x12d)](_0x49861f,_0x5ed5d9);if(_0x5906c5==null)return;this[_0x4c4967(0x110)](_0x5906c5),_0x141bca['realDeleteValue'](_0x49861f,_0x5ed5d9),this[_0x4c4967(0xd0)](_0x5906c5);}}[_0x358d2f(0x16b)](_0x22ab30,_0x188ba3){const _0x323b33=_0x358d2f,_0x25307b=this[_0x323b33(0x138)][_0x323b33(0xdf)](_0x22ab30);if(_0x188ba3&&_0x25307b&&_0x25307b[_0x323b33(0xc2)](_0x188ba3)){const _0xc8aca=_0x25307b[_0x323b33(0xdf)](_0x188ba3);this[_0x323b33(0x153)](_0x22ab30,_0x188ba3),_0xc8aca['forValue']((_0x3fe04c,_0x2853c5,_0x3f4db4)=>{const _0x370555=_0x323b33;if(_0x3f4db4==null)return!0x0;this[_0x370555(0xd0)](_0x3f4db4);}),_0xc8aca['reset']();}else _0x25307b&&(_0x25307b['forEach']((_0x5b154c,_0x4ca5dd)=>{const _0x2bef84=_0x323b33;this['_removeDependencyRTreeCacheById'](_0x22ab30,_0x4ca5dd),_0x5b154c[_0x2bef84(0x12a)]((_0x345917,_0x3923f9,_0x56f4a7)=>{const _0x3f9216=_0x2bef84;if(_0x56f4a7==null)return!0x0;this[_0x3f9216(0xd0)](_0x56f4a7);});}),this[_0x323b33(0x138)][_0x323b33(0x139)](_0x22ab30));}[_0x358d2f(0x110)](_0x398c53){const _0x5371b5=_0x358d2f;if(_0x398c53==null)return;const _0x1a8d14=this[_0x5371b5(0xd7)][_0x5371b5(0xdf)](_0x398c53);if(_0x1a8d14){const _0x5321ec=[];for(const [_0x3968be,_0xa3569b]of _0x1a8d14)for(const [_0x15563d,_0x6bf064]of _0xa3569b)_0x5321ec[_0x5371b5(0x105)]({'unitId':_0x3968be,'sheetId':_0x15563d,'range':_0x6bf064,'id':_0x398c53});this['_dependencyRTreeCache']['bulkRemove'](_0x5321ec);}}['removeFormulaDependencyByDefinedName'](_0x42500f,_0xfc4440){const _0x5edcf0=_0x358d2f,_0x3a81d0=this[_0x5edcf0(0x16d)]['get'](_0x42500f);if(_0x3a81d0){const _0x1baf17=_0x3a81d0[_0x5edcf0(0xdf)](_0xfc4440);if(_0x1baf17){for(const _0x5c12c7 of _0x1baf17)this[_0x5edcf0(0x110)](_0x5c12c7),this['_removeAllTreeMap'](_0x5c12c7);_0x1baf17['clear']();}}}['openKdTree'](){const _0x244ce6=_0x358d2f;this[_0x244ce6(0xd8)]['openKdTree']();}['closeKdTree'](){this['_dependencyRTreeCache']['closeKdTree']();}[_0x358d2f(0xd0)](_0x9d3a4a){_0x9d3a4a!=null&&this['_allTreeMap']['delete'](_0x9d3a4a);}[_0x358d2f(0x15c)](_0x14b243){const _0x4c4316=_0x358d2f;var _0x1d7880,_0x3da155;const _0x1d0856=_0x14b243['rangeList'];let _0x1142ba=this[_0x4c4316(0xd7)][_0x4c4316(0xdf)](_0x14b243[_0x4c4316(0x137)]);for(let _0x28956c=0x0;_0x28956c<_0x1d0856[_0x4c4316(0xfa)];_0x28956c++){const _0x320666=_0x1d0856[_0x28956c];let {unitId:_0x123ed4,sheetId:_0x2af8db,range:_0x108306}=_0x320666;_0x1142ba||(_0x1142ba=new Map(),this['_allTreeMap'][_0x4c4316(0x16a)](_0x14b243[_0x4c4316(0x137)],_0x1142ba)),_0x1142ba[_0x4c4316(0xc2)](_0x123ed4)||_0x1142ba[_0x4c4316(0x16a)](_0x123ed4,new Map());const _0x2b42ac=(_0x1d7880=_0x1142ba==null?void 0x0:_0x1142ba[_0x4c4316(0xdf)](_0x123ed4))==null?void 0x0:_0x1d7880['get'](_0x2af8db);_0x2b42ac&&(_0x108306={'startRow':Math['min'](_0x108306[_0x4c4316(0x141)],_0x2b42ac[_0x4c4316(0x141)]),'startColumn':Math[_0x4c4316(0xcd)](_0x108306[_0x4c4316(0xbc)],_0x2b42ac[_0x4c4316(0xbc)]),'endRow':Math[_0x4c4316(0x136)](_0x108306[_0x4c4316(0xe0)],_0x2b42ac[_0x4c4316(0xe0)]),'endColumn':Math[_0x4c4316(0x136)](_0x108306['endColumn'],_0x2b42ac[_0x4c4316(0x168)])}),(_0x3da155=_0x1142ba[_0x4c4316(0xdf)](_0x123ed4))==null||_0x3da155[_0x4c4316(0x16a)](_0x2af8db,_0x108306);}}}var _0x468aaf=Object['getOwnPropertyDescriptor'],_0x9b76b7=(_0x3096d2,_0x56b3a7,_0x31a969,_0x35aa1f)=>{const _0xee9659=_0x358d2f;for(var _0x3e5f3b=_0x35aa1f>0x1?void 0x0:_0x35aa1f?_0x468aaf(_0x56b3a7,_0x31a969):_0x56b3a7,_0x5517be=_0x3096d2[_0xee9659(0xfa)]-0x1,_0x4ab4e2;_0x5517be>=0x0;_0x5517be--)(_0x4ab4e2=_0x3096d2[_0x5517be])&&(_0x3e5f3b=_0x4ab4e2(_0x3e5f3b)||_0x3e5f3b);return _0x3e5f3b;};const _0x579b44=Number[_0x358d2f(0x118)](0x692ea9f2);_0x2caae6[_0x358d2f(0x145)]=class extends _0x758c25[_0x358d2f(0x15d)]{['_initializeWithOverride'](){const _0xbe2f94=_0x358d2f;var _0x19021e,_0x1089cc;this[_0xbe2f94(0xe9)]()?(this[_0xbe2f94(0xcf)][_0xbe2f94(0xff)]([_0x758c25['LexerTreeBuilder'],{'useClass':_0x218899}]),(_0x19021e=this[_0xbe2f94(0x17b)])!=null&&_0x19021e[_0xbe2f94(0xfc)]||[[_0x758c25[_0xbe2f94(0xc3)],{'useClass':_0x504b43}],[_0x758c25[_0xbe2f94(0xe3)],{'useClass':_0x5d27f1}],[_0x758c25[_0xbe2f94(0xf6)],{'useClass':_0x18d3f1}]]['forEach'](_0x34cb52=>this['_injector']['add'](_0x34cb52))):(this[_0xbe2f94(0xcf)][_0xbe2f94(0xff)]([_0x758c25[_0xbe2f94(0xbb)],{'useClass':_0x758c25['LexerTreeBuilder']}]),(_0x1089cc=this[_0xbe2f94(0x17b)])!=null&&_0x1089cc[_0xbe2f94(0xfc)]||[[_0x758c25[_0xbe2f94(0xc3)],{'useClass':_0x758c25[_0xbe2f94(0x111)]}],[_0x758c25[_0xbe2f94(0xe3)],{'useClass':_0x758c25['DependencyManagerService']}],[_0x758c25[_0xbe2f94(0xf6)],{'useClass':_0x758c25[_0xbe2f94(0x182)]}]][_0xbe2f94(0xf4)](_0x550778=>this[_0xbe2f94(0xcf)][_0xbe2f94(0xff)](_0x550778)));}[_0x358d2f(0xe9)](){const _0x66397c=_0x358d2f;var _0x1b8192;const _0x543c12=(_0x1b8192=this[_0x66397c(0x106)][_0x66397c(0xf0)](_0x172972['LS_CONFIG_KEY']))!=null?_0x1b8192:{},{ls:_0x3a2684,pbk:_0xef490a}=_0x543c12;if(!_0x3a2684||!_0xef490a)return!0x1;const _0x1d406c=_0x172972['unshiftString'](_0xadefe9,_0x58c26f),_0x21a5b2=new Function(_0x66397c(0x11b)+_0x1d406c)()(_0x3a2684,_0xef490a),_0x23838e=_0x21a5b2[_0x66397c(0xe1)];return _0x21a5b2['valid']&&_0x172972[_0x66397c(0x104)](_0x23838e,'sf',_0x579b44)?_0x172972[_0x66397c(0x163)](_0x23838e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x2caae6[_0x358d2f(0x145)]=_0x9b76b7([_0x1b62c9['DependentOn'](_0x172972[_0x358d2f(0x116)])],_0x2caae6[_0x358d2f(0x145)]),Object[_0x358d2f(0x186)](_0x758c25)[_0x358d2f(0xf4)](_0x5266dd=>{const _0xe7f657=_0x358d2f;_0x5266dd!=='default'&&!Object[_0xe7f657(0x167)]['hasOwnProperty'][_0xe7f657(0x17a)](_0x2caae6,_0x5266dd)&&Object['defineProperty'](_0x2caae6,_0x5266dd,{'enumerable':!0x0,'get':()=>_0x758c25[_0x5266dd]});}),Object[_0x358d2f(0xdd)](_0x2caae6,Symbol[_0x358d2f(0x12c)],{'value':_0x358d2f(0xec)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.12.2-experimental.
|
|
3
|
+
"version": "0.12.2-experimental.20251202-45172c6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs/core": "0.12.2-experimental.20251202-45172c6",
|
|
61
|
+
"@univerjs/engine-formula": "0.12.2-experimental.20251202-45172c6",
|
|
62
|
+
"@univerjs-pro/license": "0.12.2-experimental.20251202-45172c6"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|