@univerjs-pro/engine-formula 0.21.1 → 0.22.0-insiders.20260513-09bbeca
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/README.md +26 -13
- 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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +12 -8
package/README.md
CHANGED
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
# @univerjs-pro/engine-formula
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
4
5
|
|
|
5
|
-
`@univerjs-pro/engine-formula`
|
|
6
|
+
`@univerjs-pro/engine-formula` provides performance-enhanced formula engine plugin for Univer Pro.
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
+
## Package Overview
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
11
|
+
| --- | --- | :---: | :---: | :---: |
|
|
12
|
+
| `@univerjs-pro/engine-formula` | `UniverProEngineFormula` | No | No | Yes |
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
# Using npm
|
|
13
|
-
npm install @univerjs-pro/engine-formula
|
|
14
|
+
## Installation
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
```sh
|
|
16
17
|
pnpm add @univerjs-pro/engine-formula
|
|
18
|
+
# or
|
|
19
|
+
npm install @univerjs-pro/engine-formula
|
|
17
20
|
```
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { UniverProFormulaEnginePlugin } from '@univerjs-pro/engine-formula';
|
|
28
|
+
|
|
29
|
+
univer.registerPlugin(UniverProFormulaEnginePlugin);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Resources
|
|
33
|
+
|
|
34
|
+
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
35
|
+
- [NPM package](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
36
|
+
|
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5d7a8a=_0x1166;function _0xb0e3(){const _0xc314a7=['10097280YjXcZy','Module','7UDGoHA','1176845jCWNYk','toStringTag','1349238qhNSyZ','FFormula','defineProperty','66903smhpub','1284560SMusKk','12YXuOWg','87866EjqCgx','1734032uJRVRK'];_0xb0e3=function(){return _0xc314a7;};return _0xb0e3();}function _0x1166(_0x5b2ebd,_0x4d0054){_0x5b2ebd=_0x5b2ebd-0x131;const _0xb0e30a=_0xb0e3();let _0x116661=_0xb0e30a[_0x5b2ebd];return _0x116661;}(function(_0x247000,_0x438749){const _0x5aa059=_0x1166,_0x42397a=_0x247000();while(!![]){try{const _0x390383=-parseInt(_0x5aa059(0x131))/0x1+-parseInt(_0x5aa059(0x134))/0x2*(parseInt(_0x5aa059(0x133))/0x3)+-parseInt(_0x5aa059(0x132))/0x4+-parseInt(_0x5aa059(0x139))/0x5+parseInt(_0x5aa059(0x13b))/0x6*(parseInt(_0x5aa059(0x138))/0x7)+-parseInt(_0x5aa059(0x135))/0x8+parseInt(_0x5aa059(0x136))/0x9;if(_0x390383===_0x438749)break;else _0x42397a['push'](_0x42397a['shift']());}catch(_0x501931){_0x42397a['push'](_0x42397a['shift']());}}}(_0xb0e3,0x50c8f),Object[_0x5d7a8a(0x13d)](exports,Symbol[_0x5d7a8a(0x13a)],{'value':_0x5d7a8a(0x137)}));let _univerjs_engine_formula_facade=require('@univerjs/engine-formula/facade');Object['defineProperty'](exports,'FFormula',{'enumerable':!![],'get':function(){const _0x128627=_0x5d7a8a;return _univerjs_engine_formula_facade[_0x128627(0x13c)];}});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2a488b=_0xc578;(function(_0x4ec1c0,_0x2bd273){const _0x446a17=_0xc578,_0x1ed0b4=_0x4ec1c0();while(!![]){try{const _0x1e06a0=parseInt(_0x446a17(0x22f))/0x1*(-parseInt(_0x446a17(0x179))/0x2)+parseInt(_0x446a17(0x248))/0x3*(-parseInt(_0x446a17(0x22a))/0x4)+parseInt(_0x446a17(0x256))/0x5+-parseInt(_0x446a17(0x221))/0x6*(parseInt(_0x446a17(0x209))/0x7)+parseInt(_0x446a17(0x229))/0x8+parseInt(_0x446a17(0x1be))/0x9*(-parseInt(_0x446a17(0x1dc))/0xa)+-parseInt(_0x446a17(0x1fb))/0xb*(-parseInt(_0x446a17(0x184))/0xc);if(_0x1e06a0===_0x2bd273)break;else _0x1ed0b4['push'](_0x1ed0b4['shift']());}catch(_0x2282e6){_0x1ed0b4['push'](_0x1ed0b4['shift']());}}}(_0xcf30,0x74600),Object[_0x2a488b(0x1d9)](exports,Symbol['toStringTag'],{'value':_0x2a488b(0x1cd)}));let _univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core');function _typeof(_0x253b50){'@babel/helpers - typeof';const _0x2152e0=_0x2a488b;return _typeof=_0x2152e0(0x1ba)==typeof Symbol&&_0x2152e0(0x187)==typeof Symbol['iterator']?function(_0x1c1086){return typeof _0x1c1086;}:function(_0x22eb8c){const _0x2d1d89=_0x2152e0;return _0x22eb8c&&_0x2d1d89(0x1ba)==typeof Symbol&&_0x22eb8c['constructor']===Symbol&&_0x22eb8c!==Symbol[_0x2d1d89(0x24f)]?_0x2d1d89(0x187):typeof _0x22eb8c;},_typeof(_0x253b50);}function _0xcf30(){const _0x25f850=['FormulaExecuteStageType','ErrorType','subUnitId','_initLicenseValid','markedAsNoFunctionsExecuted','setRuntimeData','setCompletedFormulasCount','_executionInProgressListener$','checkAsyncNode','0.21.1','clear','_getAllDependencyJson','function','isCache','setRuntimeOtherData','removeFormulaDependencyByDefinedName','29025twcNAV','_convertDirtyRangesToUnitRange','_otherFormulaDataMainData','dirtyRanges','keys','decorate','bulkRemove','generateRandomDependencyTreeId','setAdded','_endFormulaDependencyTreeModel','rangeList','getOtherFormulaData','MINUS','inRangeData','START_CALCULATION','Module','getToken','_dependencyRTreeCacheForAddressFunction','bulkSearch','CURRENTLY_CALCULATING_ARRAY_FORMULA','endColumn','_allTreeMap','parseInt','prefixToken','addFeatureFormulaDependency','hasOwnProperty','get','defineProperty','reset','getStartIndex','1830BRWDxU','_getUpdateTreeListAndMakeDependency','isVirtual','clearFormulaDependency','NORMAL','LexerNode','isDirty','add','setFormulaExecuteStage','getFeatureFormulaDependency','OTHER','_generateNewFunctionString','getConfig','markedAsSuccessfullyExecuted','message','toRTreeItem','_createVirtualFDtree','object','_runtimeService','length','setValue','trim','forEach','_removeAllTreeMap','_xlfnPrefix','_dependencyTreeCache','OPERATOR_TOKEN_SET','_isCyclicUtilMap','_xlfn.','from','_getDependencyTreeParenIds','557799tufwqK','addFormulaDependencyByDefinedName','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','startIndex','COLON','join','_interpreter','delete','_registerOtherFormulas','_updateRangeFlatten','_clearPrefix','value','DEFAULT_TOKEN_TYPE_PARAMETER','DependentOn','720664IGvtkS','columnCount','generateAstNode','getValue','unitId','setCompletedArrayFormulasCount','_lexer','setTotalArrayFormulasToCalculate','@univerjs-pro/engine-formula','addOtherFormulaDependency','OTHER_FORMULA','getAllRuntimeData','formulaId','closeKdTree','ObjectMatrix','getDirtyRanges','string','isAdded','refOffsetY','_dependencyRTreeCache','dispose','set','sheetId','has','42QAEttx','_handleLambdaForExprTree','DEFAULT_INTERVAL_COUNT','_hasNewExcelFunction','refOffsetX','refTree','_configService','size','4959192lfXsyK','4LSfNLC','PLUS','notExecuteFormula','slice','values','88257bomxVz','version','removeFeatureFormulaDependency','SUFFIX','_currentUnitId','push','_getTableNameFromStructuredRef','_xlpmPrefix','LexerTreeBuilder','execute','next','UniverFormulaEnginePlugin','LS_CONFIG_KEY','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getRuntimeState','_traverse','_removeDependencyRTreeCache','_checkAddBracketForMinus','_handleChildrenForExprTree','_handleNewFunctionChild','formula','_formulaDependencyGenerator','toPrimitive','_astTreeBuilder','_clearFunctionString','1530702fvZFsF','FEATURE_FORMULA','error','node','clearFeatureFormulaDependency','_currentConfigService','FormulaDependencyTreeType','prototype','startRow','_getAllTreeList','PARAMETER','min','pop','FormulaDependencyTree','3374460LxMPfT','children','_removeDependencyRTreeCacheById','treeId','featureId','rowCount','SUFFIX_TOKEN_SET','IDependencyManagerService','getFormulaDependency','forValue','START_DEPENDENCY','getNewFormulaWithPrefix','getChildren','treeBuilder','CalculateFormulaService','_featureFormulaData','ROOT','FUNCTION','realDeleteValue','_generateExprTree','_generateTreeList','VALUE','_xlpm.','Let\x20variable\x20name\x20\x22','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setCurrent','getSheetRowColumnCount','_getTreeById','IDLE','LexerTreeProBuilder','searchDependency','_formulaData','_getFeatureFormulaTree','_checkIsCycleDependency','isForceCalculate','IFormulaDependencyGenerator','hasOtherFormulaDataMainData','setDependencyTreeModelData','DEFAULT_TOKEN_TYPE_ROOT','6WDGGng','_handleTextNodeForExprTree','_lambdaFunctionParameterSet','generate','_otherFormulaData','isSkip','LAMBDA','_resetPrefix','_definedNameMap','enableCycleDependency','openKdTree','300TvBgja','DEFAULT_TOKEN_LET_FUNCTION_NAME','START_DEPENDENCY_ARRAY_FORMULA','symbol','ICalculateFormulaService','LET','resetCalculationState','isFeatureAuthorizedWithinTime','markedAsStopFunctionsExecuted','getLicenseInfo','getUnitData','DependencyManagerService','splitTableStructuredRef','addOtherFormulaDependencyMainData','packageName','getDirtyData','setTotalFormulasToCalculate','matchToken','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','isArray','_injector','_getTreeNode','isReferenceString','addFormulaDependency','startColumn','CURRENTLY_CALCULATING','max','_dependencyManagerService','setSkip','endRow','endsWith','valid','LAMBDA_PARAMETER','featureDirtyRanges','startsWith','_getDependencyTreeChildrenIds','isExcludeRange','\x22\x20is\x20duplicated.','_restDependencyTreeId','removeFormulaDependency','type','_checkColonNodeForExprTree'];_0xcf30=function(){return _0x25f850;};return _0xcf30();}function toPrimitive(_0x104427,_0x500f29){const _0x37faec=_0x2a488b;if(_0x37faec(0x1ed)!=_typeof(_0x104427)||!_0x104427)return _0x104427;var _0x51f644=_0x104427[Symbol[_0x37faec(0x245)]];if(void 0x0!==_0x51f644){var _0x46369f=_0x51f644['call'](_0x104427,_0x500f29||'default');if('object'!=_typeof(_0x46369f))return _0x46369f;throw new TypeError(_0x37faec(0x16a));}return(_0x37faec(0x219)===_0x500f29?String:Number)(_0x104427);}function toPropertyKey(_0x5e0107){const _0x47c6c9=_0x2a488b;var _0x8f9d01=toPrimitive(_0x5e0107,_0x47c6c9(0x219));return _0x47c6c9(0x187)==_typeof(_0x8f9d01)?_0x8f9d01:_0x8f9d01+'';}function _defineProperty(_0x33b3e5,_0x20c90f,_0x311c89){const _0x5642da=_0x2a488b;return(_0x20c90f=toPropertyKey(_0x20c90f))in _0x33b3e5?Object[_0x5642da(0x1d9)](_0x33b3e5,_0x20c90f,{'value':_0x311c89,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x33b3e5[_0x20c90f]=_0x311c89,_0x33b3e5;}function _0xc578(_0x53881d,_0x2670bf){_0x53881d=_0x53881d-0x15d;const _0xcf3062=_0xcf30();let _0xc57852=_0xcf3062[_0x53881d];return _0xc57852;}var NewExcelFunctionNodeType=function(_0x48519f){const _0x147638=_0x2a488b;return _0x48519f[_0x48519f[_0x147638(0x1e0)]=0x0]='NORMAL',_0x48519f[_0x48519f[_0x147638(0x189)]=0x1]='LET',_0x48519f[_0x48519f[_0x147638(0x17f)]=0x2]=_0x147638(0x17f),_0x48519f[_0x48519f['ROOT']=0x3]=_0x147638(0x162),_0x48519f[_0x48519f[_0x147638(0x252)]=0x4]=_0x147638(0x252),_0x48519f[_0x48519f[_0x147638(0x1a4)]=0x5]=_0x147638(0x1a4),_0x48519f[_0x48519f[_0x147638(0x163)]=0x6]=_0x147638(0x163),_0x48519f[_0x48519f[_0x147638(0x232)]=0x7]=_0x147638(0x232),_0x48519f[_0x48519f[_0x147638(0x1ff)]=0x8]=_0x147638(0x1ff),_0x48519f[_0x48519f[_0x147638(0x1ca)]=0x9]=_0x147638(0x1ca),_0x48519f[_0x48519f[_0x147638(0x1e6)]=0xa]=_0x147638(0x1e6),_0x48519f;}(NewExcelFunctionNodeType||{}),LexerTreeProBuilder=class extends _univerjs_engine_formula[_0x2a488b(0x237)]{constructor(..._0x3f4920){const _0x2a4076=_0x2a488b;super(..._0x3f4920),_defineProperty(this,_0x2a4076(0x224),![]),_defineProperty(this,'_lambdaFunctionParameterSet',new Set()),_defineProperty(this,_0x2a4076(0x236),_0x2a4076(0x168)),_defineProperty(this,_0x2a4076(0x1f4),_0x2a4076(0x1f8)),_defineProperty(this,'_currentUnitId','');}[_0x2a488b(0x180)](){const _0x5b7746=_0x2a488b;this[_0x5b7746(0x236)]='_xlpm.',this[_0x5b7746(0x1f4)]=_0x5b7746(0x1f8);}[_0x2a488b(0x205)](){const _0x340c4f=_0x2a488b;this[_0x340c4f(0x236)]='',this[_0x340c4f(0x1f4)]='';}[_0x2a488b(0x15d)](_0x467fff,_0x447d3a){const _0x260782=_0x2a488b,_0x2a6ee3=this[_0x260782(0x15f)](_0x467fff,![]);if(!_0x2a6ee3||_0x2a6ee3===_univerjs_engine_formula[_0x260782(0x1af)]['VALUE']||Array['isArray'](_0x2a6ee3))return null;const _0x5427d9=[];this[_0x260782(0x224)]=![],this[_0x260782(0x1e7)](_0x2a6ee3,_0x5427d9,_0x447d3a);if(this[_0x260782(0x224)])return'='+_0x5427d9['join']('');return null;}[_0x2a488b(0x1e7)](_0x4e53e0,_0x5978ea,_0x45f49f){const _0x24673c=_0x2a488b,_0x47b565=_0x4e53e0[_0x24673c(0x1ce)](),_0x36c46c=_0x47b565[_0x24673c(0x1f1)](),_0x268320=_0x36c46c['toUpperCase'](),_0x2e3947=this['_clearFunctionString'](_0x268320),_0x233c3c=_0x45f49f(_0x2e3947);let _0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1e0)];if(_0x47b565===_univerjs_engine_formula[_0x24673c(0x178)])_0x42b8d4=NewExcelFunctionNodeType['ROOT'];else{if(_0x47b565===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_PARAMETER'])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x252)];else{if(_0x47b565===_univerjs_engine_formula[_0x24673c(0x1fd)])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1a4)];else{if(_univerjs_engine_formula['NEW_EXCEL_FUNCTIONS'][_0x24673c(0x220)](_0x2e3947))_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x23c)])_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![],_0x42b8d4=NewExcelFunctionNodeType['LAMBDA'];else{if(_0x268320===_univerjs_engine_formula['DEFAULT_TOKEN_LET_FUNCTION_NAME'])_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![],_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x189)];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x195)][_0x24673c(0x1ff)])_0x42b8d4=NewExcelFunctionNodeType['COLON'];else{if(_univerjs_engine_formula[_0x24673c(0x25c)][_0x24673c(0x220)](_0x268320))_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x232)];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x1d5)][_0x24673c(0x1ca)]){if(this['_checkAddBracketForMinus'](_0x4e53e0))_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1ca)];_0x5978ea['push'](_0x47b565);}else _0x5978ea['push'](_0x47b565),_0x42b8d4=NewExcelFunctionNodeType['OTHER'];}}}}}}}}if(_0x233c3c){if(_0x42b8d4!==NewExcelFunctionNodeType['LAMBDA']&&_0x42b8d4!==NewExcelFunctionNodeType[_0x24673c(0x189)])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x163)];_0x5978ea['push']('(');}else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x1ca)])_0x5978ea['push']('(');}const _0x4e98fd=_0x4e53e0[_0x24673c(0x15e)](),_0x25e020=_0x4e98fd[_0x24673c(0x1ef)];if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x17f)]){const _0x227eef=_0x4e98fd[0x0];let _0x348c73=0x0;if(_0x227eef instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){if(_0x227eef['getToken']()===_univerjs_engine_formula[_0x24673c(0x1fd)])_0x348c73=0x1;}for(let _0x4b71aa=_0x348c73;_0x4b71aa<_0x25e020-0x1;_0x4b71aa++){const _0x26d610=_0x4e98fd[_0x4b71aa];if(_0x26d610 instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){const _0x3f2e9c=_0x26d610['getChildren']()[0x0];if(typeof _0x3f2e9c===_0x24673c(0x219)){if(this[_0x24673c(0x17b)][_0x24673c(0x220)](_0x3f2e9c))console[_0x24673c(0x24a)]('Lambda\x20parameter\x20name\x20\x22'+_0x3f2e9c+_0x24673c(0x1a9));this[_0x24673c(0x17b)]['add'](_0x3f2e9c),_0x5978ea['push'](''+this['_xlpmPrefix']+_0x3f2e9c),this[_0x24673c(0x224)]=!![];}}_0x5978ea[_0x24673c(0x234)](',');}this[_0x24673c(0x242)](_0x4e98fd[_0x25e020-0x1],_0x5978ea,_0x45f49f);if(_0x348c73===0x1)_0x5978ea[_0x24673c(0x234)](')'),_0x5978ea[_0x24673c(0x234)]('('),this[_0x24673c(0x1e7)](_0x227eef,_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](')');else _0x5978ea[_0x24673c(0x234)](')');return;}else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x189)]){for(let _0x280ddd=0x0;_0x280ddd<_0x25e020-0x1;_0x280ddd++){const _0x20bd0d=_0x4e98fd[_0x280ddd];if(_0x20bd0d instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]&&_0x280ddd%0x2===0x0){const _0x53f7ad=_0x20bd0d[_0x24673c(0x15e)]()[0x0];if(typeof _0x53f7ad===_0x24673c(0x219)){if(this[_0x24673c(0x17b)][_0x24673c(0x220)](_0x53f7ad))console['error'](_0x24673c(0x169)+_0x53f7ad+'\x22\x20is\x20duplicated.');this[_0x24673c(0x17b)][_0x24673c(0x1e3)](_0x53f7ad),_0x5978ea[_0x24673c(0x234)](''+this['_xlpmPrefix']+_0x53f7ad),this[_0x24673c(0x224)]=!![],_0x5978ea[_0x24673c(0x234)](',');continue;}}this[_0x24673c(0x242)](_0x20bd0d,_0x5978ea,_0x45f49f);if(_0x20bd0d instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){const _0x20f140=_0x4e98fd[_0x280ddd+0x1];if(_0x20f140&&_0x20f140 instanceof _univerjs_engine_formula['LexerNode'])_0x5978ea[_0x24673c(0x234)](',');}}this[_0x24673c(0x242)](_0x4e98fd[_0x25e020-0x1],_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](')');return;}else{if(_0x42b8d4===NewExcelFunctionNodeType['COLON']){const _0x203ec3=_0x4e98fd[0x0],_0xd36824=_0x4e98fd[0x1];this['_handleNewFunctionChild'](_0x203ec3,_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](_0x47b565),this[_0x24673c(0x242)](_0xd36824,_0x5978ea,_0x45f49f);return;}}}for(let _0x11056f=0x0;_0x11056f<_0x25e020;_0x11056f++){const _0x21779a=_0x4e98fd[_0x11056f];this['_handleNewFunctionChild'](_0x21779a,_0x5978ea,_0x45f49f);if(_0x21779a instanceof _univerjs_engine_formula['LexerNode']){const _0x1e1e92=_0x4e98fd[_0x11056f+0x1];if(_0x1e1e92&&_0x1e1e92 instanceof _univerjs_engine_formula['LexerNode'])_0x5978ea['push'](',');}}if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x232)])_0x5978ea[_0x24673c(0x234)](_0x47b565);if(_0x233c3c)_0x5978ea['push'](')');else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x1ca)])_0x5978ea[_0x24673c(0x234)](')');}}['_handleNewFunctionChild'](_0x28b55a,_0x3f435e,_0x15d1ca){const _0x5c0e5d=_0x2a488b;if(_0x28b55a instanceof _univerjs_engine_formula[_0x5c0e5d(0x1e1)])this[_0x5c0e5d(0x1e7)](_0x28b55a,_0x3f435e,_0x15d1ca);else{if(this['_lambdaFunctionParameterSet'][_0x5c0e5d(0x220)](_0x28b55a))_0x3f435e[_0x5c0e5d(0x234)](''+this[_0x5c0e5d(0x236)]+_0x28b55a),this[_0x5c0e5d(0x224)]=!![];else _0x3f435e[_0x5c0e5d(0x234)](_0x28b55a);}}[_0x2a488b(0x247)](_0x1bf2c0){const _0x406f22=_0x2a488b;let _0x25a503=_0x1bf2c0[_0x406f22(0x1f1)]();if(!_0x25a503)return _0x25a503;const _0x4c08c9=_0x25a503[0x0];if(_0x4c08c9===_univerjs_engine_formula[_0x406f22(0x1d5)]['AT']||_0x4c08c9===_univerjs_engine_formula['prefixToken']['MINUS']||_0x4c08c9===_univerjs_engine_formula['prefixToken'][_0x406f22(0x22b)])_0x25a503=_0x25a503[_0x406f22(0x22d)](0x1);if(!_0x25a503)return _0x25a503;const _0x55d127=_0x25a503[_0x25a503[_0x406f22(0x1ef)]-0x1];if(_univerjs_engine_formula[_0x406f22(0x25c)]['has'](_0x55d127))_0x25a503=_0x25a503[_0x406f22(0x22d)](0x0,-0x1);return _0x25a503;}[_0x2a488b(0x240)](_0xbe6fb0){const _0x5194e0=_0x2a488b,_0x16d7df=_0xbe6fb0[_0x5194e0(0x15e)]()[0x0];if(!_0x16d7df||!(_0x16d7df instanceof _univerjs_engine_formula[_0x5194e0(0x1e1)])||_0xbe6fb0[_0x5194e0(0x15e)]()[_0x5194e0(0x1ef)]>0x1)return![];const _0x85ff7f=_0x16d7df[_0x5194e0(0x15e)](),_0x267a39=_0x85ff7f[_0x5194e0(0x1ef)];if(_0x267a39===0x1)return![];for(let _0x1f66df=0x0;_0x1f66df<_0x267a39;_0x1f66df++){const _0x5d6f68=_0x85ff7f[_0x1f66df];if(!(_0x5d6f68 instanceof _univerjs_engine_formula[_0x5194e0(0x1e1)])&&_univerjs_engine_formula[_0x5194e0(0x1f6)]['has'](_0x5d6f68))return!![];}return![];}['getFormulaExprTree'](_0xd012ed,_0x4e5207,_0x4d6d99,_0x51dccd,_0x3c751d){const _0x5581d5=_0x2a488b,_0x4530e6=this[_0x5581d5(0x15f)](_0xd012ed,![]);if(!_0x4530e6||_0x4530e6===_univerjs_engine_formula[_0x5581d5(0x1af)][_0x5581d5(0x167)]||Array[_0x5581d5(0x197)](_0x4530e6))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x4e5207;const _0x558390=this['_generateExprTree'](_0x4530e6,_0x4d6d99,_0x51dccd,_0x3c751d);return this[_0x5581d5(0x233)]='',this[_0x5581d5(0x180)](),_0x558390;}[_0x2a488b(0x165)](_0x3cc487,_0x8aa3f3,_0x3edc95,_0x1f4ebe){const _0x37cfc7=_0x2a488b,_0x36abd0={'value':'','children':[],'startIndex':0x0};let _0x4516d5=_0x3cc487;if(_0x4516d5 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]&&(_0x4516d5[_0x37cfc7(0x1ce)]()===_univerjs_engine_formula[_0x37cfc7(0x178)]||_0x4516d5[_0x37cfc7(0x1ce)]()===_univerjs_engine_formula[_0x37cfc7(0x207)])&&_0x4516d5['getChildren']()['length']===0x1)_0x4516d5=_0x4516d5['getChildren']()[0x0];if(!(_0x4516d5 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]))return this[_0x37cfc7(0x17a)](_0x4516d5,_0x3edc95,_0x1f4ebe);const _0x33a635=_0x4516d5[_0x37cfc7(0x15e)](),_0x620b26=_0x33a635['length'],_0x40f0cf=[];this[_0x37cfc7(0x1e7)](_0x4516d5,_0x40f0cf,_0x8aa3f3),_0x36abd0[_0x37cfc7(0x206)]=_0x40f0cf[_0x37cfc7(0x200)](''),_0x36abd0[_0x37cfc7(0x1fe)]=_0x4516d5[_0x37cfc7(0x1db)]();const _0x68afae=this['_getCurNodeTypeForExprTree'](_0x4516d5);if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x17f)]){const _0x513264=_0x33a635[0x0];if(_0x513264 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]){if(_0x513264[_0x37cfc7(0x1ce)]()[_0x37cfc7(0x1f1)]()!==_univerjs_engine_formula[_0x37cfc7(0x1fd)])return _0x36abd0;this[_0x37cfc7(0x222)](_0x513264,_0x36abd0,_0x8aa3f3,_0x3edc95,_0x1f4ebe);}return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x189)]){for(let _0x29c53d=0x0;_0x29c53d<_0x620b26-0x1;_0x29c53d++){const _0x30673f=_0x33a635[_0x29c53d];if(_0x30673f instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]&&_0x29c53d%0x2===0x1){const _0x10c08f=_0x30673f[_0x37cfc7(0x15e)]();if(_0x10c08f['length']===0x1&&!(_0x10c08f[0x0]instanceof _univerjs_engine_formula['LexerNode']))continue;const _0x51f6a0=this[_0x37cfc7(0x165)](_0x30673f,_0x8aa3f3,_0x3edc95,_0x1f4ebe);_0x51f6a0&&_0x36abd0[_0x37cfc7(0x257)][_0x37cfc7(0x234)](_0x51f6a0);}}return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x1ff)]){const _0x41b69a=_0x33a635[0x0];if(_0x41b69a instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]){const _0x2e6fa0=_0x41b69a[_0x37cfc7(0x15e)]()[0x0];if(_0x2e6fa0 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)])_0x36abd0[_0x37cfc7(0x1fe)]=_0x2e6fa0[_0x37cfc7(0x1db)]();}if(this[_0x37cfc7(0x1ad)](_0x4516d5))return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x232)]){const _0xac9222=_0x33a635[0x0];if(_0xac9222 instanceof _univerjs_engine_formula['LexerNode']){const _0x5b1e22=_0xac9222[_0x37cfc7(0x15e)]()[0x0];if(_0x5b1e22 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)])_0x36abd0[_0x37cfc7(0x1fe)]=_0x5b1e22[_0x37cfc7(0x1db)]();}}}}}return this[_0x37cfc7(0x241)](_0x33a635,_0x68afae,_0x36abd0,_0x8aa3f3,_0x3edc95,_0x1f4ebe),_0x36abd0;}['_handleChildrenForExprTree'](_0x20f710,_0xa828c6,_0x5c807d,_0x370f56,_0x4f82d9,_0x34744f){const _0x39fe81=_0x2a488b;for(let _0xbc376a=0x0;_0xbc376a<_0x20f710[_0x39fe81(0x1ef)];_0xbc376a++){let _0x5e0c8d=_0x20f710[_0xbc376a];if(!(_0x5e0c8d instanceof _univerjs_engine_formula[_0x39fe81(0x1e1)])){const _0x4aa5b5=this[_0x39fe81(0x17a)](_0x5e0c8d,_0x4f82d9,_0x34744f);_0x4aa5b5&&_0x5c807d[_0x39fe81(0x257)][_0x39fe81(0x234)](_0x4aa5b5);continue;}const _0x37a555=_0x5e0c8d[_0x39fe81(0x15e)]();if(_0x37a555[_0x39fe81(0x1ef)]===0x1&&!(_0x37a555[0x0]instanceof _univerjs_engine_formula['LexerNode'])){const _0x17e2db=_0x37a555[0x0];if(!_0x4f82d9(this[_0x39fe81(0x233)],_0x17e2db)&&!this[_0x39fe81(0x235)](_0x17e2db,_0x34744f)&&!(0x0,_univerjs_engine_formula['isReferenceString'])(_0x17e2db))continue;}if(_0xa828c6===NewExcelFunctionNodeType[_0x39fe81(0x1ff)]){const _0x1fc423=_0x37a555[0x0];if(_0x1fc423 instanceof _univerjs_engine_formula[_0x39fe81(0x1e1)]){if((0x0,_univerjs_engine_formula[_0x39fe81(0x19a)])(_0x1fc423[_0x39fe81(0x1ce)]()[_0x39fe81(0x1f1)]()))continue;_0x5e0c8d=_0x1fc423;}}const _0x433d0c=this['_generateExprTree'](_0x5e0c8d,_0x370f56,_0x4f82d9,_0x34744f);_0x433d0c&&_0x5c807d[_0x39fe81(0x257)][_0x39fe81(0x234)](_0x433d0c);}}[_0x2a488b(0x1ad)](_0x1c0fa5){const _0x186738=_0x2a488b,_0x3c134d=_0x1c0fa5[_0x186738(0x15e)]();if(_0x3c134d[_0x186738(0x1ef)]<0x2)return![];const _0x12b2fb=_0x3c134d[0x0],_0x5dc341=_0x3c134d[0x1];if(!(_0x12b2fb instanceof _univerjs_engine_formula[_0x186738(0x1e1)])||!(_0x5dc341 instanceof _univerjs_engine_formula[_0x186738(0x1e1)]))return![];const _0x271e58=_0x12b2fb[_0x186738(0x15e)]()[0x0],_0x11efbe=_0x5dc341['getChildren']()[0x0];if(!(_0x271e58 instanceof _univerjs_engine_formula['LexerNode'])||!(_0x11efbe instanceof _univerjs_engine_formula[_0x186738(0x1e1)]))return![];const _0x4433de=_0x271e58[_0x186738(0x1ce)]()[_0x186738(0x1f1)](),_0x5ce1e3=_0x11efbe['getToken']()[_0x186738(0x1f1)]();if((0x0,_univerjs_engine_formula[_0x186738(0x19a)])(''+_0x4433de+_univerjs_engine_formula['matchToken'][_0x186738(0x1ff)]+_0x5ce1e3))return!![];return![];}[_0x2a488b(0x17a)](_0x481433,_0x44b4b1,_0x4199df){const _0x599807=_0x2a488b,_0x498937=_0x481433['trim']();if(_0x498937[_0x599807(0x1a6)]('{')&&_0x498937[_0x599807(0x1a2)]('}')||_0x44b4b1(this[_0x599807(0x233)],_0x498937)||this[_0x599807(0x235)](_0x498937,_0x4199df)||(0x0,_univerjs_engine_formula[_0x599807(0x19a)])(_0x498937))return{'value':_0x498937,'children':[],'startIndex':-0x1};return null;}['_getTableNameFromStructuredRef'](_0x137bbe,_0x2f53d7){const _0x33fafa=_0x2a488b,{tableName:_0x520f16}=(0x0,_univerjs_engine_formula[_0x33fafa(0x190)])(_0x137bbe);if(_0x2f53d7(this['_currentUnitId'],_0x520f16))return _0x520f16;return null;}[_0x2a488b(0x222)](_0x38bd13,_0x175798,_0x118c5b,_0x2c147a,_0x56cbba){const _0xd94008=_0x2a488b,_0x483c2e=_0x38bd13[_0xd94008(0x15e)]();for(let _0x41c909=0x0;_0x41c909<_0x483c2e[_0xd94008(0x1ef)];_0x41c909++){const _0x23d8b8=_0x483c2e[_0x41c909];if(!(_0x23d8b8 instanceof _univerjs_engine_formula[_0xd94008(0x1e1)]))continue;const _0x5d1849=_0x23d8b8[_0xd94008(0x15e)]();if(_0x5d1849[_0xd94008(0x1ef)]===0x1&&!(_0x5d1849[0x0]instanceof _univerjs_engine_formula[_0xd94008(0x1e1)]))continue;const _0x245189=this[_0xd94008(0x165)](_0x23d8b8,_0x118c5b,_0x2c147a,_0x56cbba);_0x245189&&_0x175798[_0xd94008(0x257)]['push'](_0x245189);}}['_getCurNodeTypeForExprTree'](_0x4a96e4){const _0x500bc7=_0x2a488b,_0x37b1eb=_0x4a96e4['getToken'](),_0x10101f=_0x37b1eb[_0x500bc7(0x1f1)]()['toUpperCase']();let _0x5df02b=NewExcelFunctionNodeType['NORMAL'];if(_0x37b1eb===_univerjs_engine_formula[_0x500bc7(0x178)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x162)];else{if(_0x37b1eb===_univerjs_engine_formula[_0x500bc7(0x207)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x252)];else{if(_0x37b1eb===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1a4)];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x23c)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x17f)];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x185)])_0x5df02b=NewExcelFunctionNodeType['LET'];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x195)]['COLON'])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1ff)];else{if(_univerjs_engine_formula['SUFFIX_TOKEN_SET'][_0x500bc7(0x220)](_0x10101f))_0x5df02b=NewExcelFunctionNodeType['SUFFIX'];else{if(_0x10101f===_univerjs_engine_formula['prefixToken'][_0x500bc7(0x1ca)]){if(this['_checkAddBracketForMinus'](_0x4a96e4))_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1ca)];}else _0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1e6)];}}}}}}}return _0x5df02b;}},name=_0x2a488b(0x211),version=_0x2a488b(0x1b7),FormulaDependencyProGenerator=class extends _univerjs_engine_formula['FormulaDependencyGenerator']{constructor(..._0x446033){const _0x36661c=_0x2a488b;super(..._0x446033),_defineProperty(this,_0x36661c(0x1f5),new Map());}[_0x2a488b(0x21d)](){const _0x3cb1e9=_0x2a488b;super[_0x3cb1e9(0x21d)](),this['_dependencyTreeCache'][_0x3cb1e9(0x1b8)]();}async[_0x2a488b(0x17c)](_0x5563dc=![]){const _0x2ac07b=_0x2a488b;this[_0x2ac07b(0x204)]();const _0x3b972a=this[_0x2ac07b(0x24d)]['getFormulaData'](),_0x131510=this['_otherFormulaManagerService'][_0x2ac07b(0x1c9)](),_0x25c898=this['_currentConfigService']['getClearDependencyTreeCache']();if(_0x25c898!=null)Object[_0x2ac07b(0x1c2)](_0x25c898)[_0x2ac07b(0x1f2)](_0x418f2e=>{if(_0x418f2e==null)return;Object['keys'](_0x25c898[_0x418f2e])['forEach'](_0x4c6313=>{const _0x440762=_0xc578;if(_0x4c6313==null)return;this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x418f2e,_0x4c6313),this['_dependencyManagerService'][_0x440762(0x24c)](_0x418f2e,_0x4c6313),this['_dependencyManagerService'][_0x440762(0x1df)](_0x418f2e,_0x4c6313);});});const _0x2a057d=this[_0x2ac07b(0x24d)][_0x2ac07b(0x18e)]();await this[_0x2ac07b(0x166)](_0x3b972a,_0x131510,_0x2a057d),this[_0x2ac07b(0x19f)][_0x2ac07b(0x183)]();const _0x3fa5d6=this[_0x2ac07b(0x1dd)](),_0x29b10c=this['_calculateRunList'](_0x3fa5d6);if(this[_0x2ac07b(0x173)](_0x29b10c))this[_0x2ac07b(0x1ee)][_0x2ac07b(0x182)]();if(_0x5563dc)this[_0x2ac07b(0x1ee)][_0x2ac07b(0x177)](this[_0x2ac07b(0x1b9)](Array[_0x2ac07b(0x1f9)](this[_0x2ac07b(0x1f5)][_0x2ac07b(0x22e)]())));return this[_0x2ac07b(0x1f5)]['clear'](),this[_0x2ac07b(0x1cf)]['clear'](),this[_0x2ac07b(0x19f)]['closeKdTree'](),this[_0x2ac07b(0x1ee)]['clearArrayObjectCache'](),Promise['resolve'](_0x29b10c);}[_0x2a488b(0x1f7)](_0x39180f,_0x2b21be){const _0x422981=_0x2a488b,_0x4a62ec=0x0,_0x43f2a9=0x1,_0x47b313=0x2,_0x31b19e=[_0x39180f];while(_0x31b19e[_0x422981(0x1ef)]>0x0){const _0x1beb94=_0x31b19e[_0x31b19e[_0x422981(0x1ef)]-0x1];if((_0x2b21be[_0x422981(0x1d8)](_0x1beb94)||_0x4a62ec)===_0x4a62ec){_0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x43f2a9);const _0x24cde5=this['_dependencyTreeCache'][_0x422981(0x1d8)](_0x1beb94);if(_0x24cde5==null){_0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x47b313),_0x31b19e[_0x422981(0x254)]();continue;}const _0x43e3b0=this[_0x422981(0x19f)][_0x422981(0x170)](_0x24cde5[_0x422981(0x1eb)]());for(const _0x234fe7 of _0x43e3b0){const _0x1053a3=_0x2b21be[_0x422981(0x1d8)](_0x234fe7)||_0x4a62ec;if(_0x1053a3===_0x43f2a9)return!![];else{if(_0x1053a3===_0x4a62ec)_0x31b19e[_0x422981(0x234)](_0x234fe7);}}}else _0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x47b313),_0x31b19e[_0x422981(0x254)]();}return![];}[_0x2a488b(0x173)](_0x3d968a){const _0x3f7018=_0x2a488b,_0x41df36=new Map();for(const _0x15a8ae of _0x3d968a)if(!_0x41df36[_0x3f7018(0x220)](_0x15a8ae[_0x3f7018(0x259)])){if(this['_isCyclicUtilMap'](_0x15a8ae[_0x3f7018(0x259)],_0x41df36))return!![];}return _0x41df36['clear'](),![];}[_0x2a488b(0x172)](_0xbaeb15,_0x523116,_0x5e8ed7){const _0x105ae6=_0x2a488b,{unitId:_0x5dd74b,subUnitId:_0x476b61,dependencyRanges:_0x375b33,getDirtyData:_0x1e4f4b}=_0x5e8ed7,_0x2f897e=new _univerjs_engine_formula['FormulaDependencyTree'](_0x523116||(0x0,_univerjs_engine_formula[_0x105ae6(0x1c5)])(this['_dependencyManagerService']));_0x2f897e[_0x105ae6(0x20d)]=_0x5dd74b,_0x2f897e[_0x105ae6(0x1b0)]=_0x476b61,_0x2f897e[_0x105ae6(0x1c8)]=_0x375b33,_0x2f897e[_0x105ae6(0x193)]=_0x1e4f4b;const _0x4cb580=_0x1e4f4b(this[_0x105ae6(0x24d)][_0x105ae6(0x193)](),this[_0x105ae6(0x1ee)][_0x105ae6(0x214)]());_0x2f897e[_0x105ae6(0x1a5)]=this[_0x105ae6(0x1bf)](_0x4cb580[_0x105ae6(0x1c1)]),_0x2f897e[_0x105ae6(0x25a)]=_0xbaeb15,_0x2f897e[_0x105ae6(0x1ac)]=_univerjs_engine_formula[_0x105ae6(0x24e)][_0x105ae6(0x249)],this['_dependencyManagerService'][_0x105ae6(0x1d6)](_0x5dd74b,_0x476b61,_0xbaeb15,_0x2f897e),this['_dependencyTreeCache'][_0x105ae6(0x21e)](_0x2f897e[_0x105ae6(0x259)],_0x2f897e);if(this[_0x105ae6(0x19f)][_0x105ae6(0x1e5)](_0x5e8ed7['unitId'],_0x5e8ed7['subUnitId'],_0xbaeb15))_0x2f897e[_0x105ae6(0x1bb)]=!![];return _0x2f897e;}[_0x2a488b(0x203)](_0x50a665,_0x543601,_0x569cbd){const _0x1e7c59=_0x2a488b;for(const _0x488870 of _0x543601){const _0x124bec=_0x50a665[_0x488870];if(_0x124bec==null)continue;const _0x5bee47=Object[_0x1e7c59(0x1c2)](_0x124bec);for(const _0x4450c7 of _0x5bee47){const _0x4fa009=_0x124bec[_0x4450c7];if(_0x4fa009==null)continue;const {rowCount:rowCount=Infinity,columnCount:columnCount=Infinity}=this[_0x1e7c59(0x24d)][_0x1e7c59(0x16c)](_0x488870,_0x4450c7)||{},_0x42aca1=Object['keys'](_0x4fa009);for(const _0x40820f of _0x42aca1){var _0x8c0284;const _0x200aa5=this[_0x1e7c59(0x19f)][_0x1e7c59(0x176)](_0x40820f),{f:_0x2c03e5,ranges:_0x148b96}=_0x4fa009[_0x40820f];let _0x363ac1=![];if(_0x200aa5)_0x363ac1=!![];const {firstRow:_0x3f0e32,firstColumn:_0x1211de}=this['_getFirstCellOfRange'](_0x148b96),_0x4bb8a7=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x488870,_0x4450c7,_0x40820f),_0x27510b=new _univerjs_engine_formula[(_0x1e7c59(0x255))]((_0x8c0284=_0x4bb8a7===null||_0x4bb8a7===void 0x0?void 0x0:_0x4bb8a7[_0x1e7c59(0x20c)](0x0,0x0))!==null&&_0x8c0284!==void 0x0?_0x8c0284:(0x0,_univerjs_engine_formula[_0x1e7c59(0x1c5)])(this[_0x1e7c59(0x19f)]));for(let _0x3c1df9=0x0;_0x3c1df9<_0x148b96['length'];_0x3c1df9++){const _0x1f0485=_0x148b96[_0x3c1df9],{startRow:_0x25276e,startColumn:_0x53a20a}=_0x1f0485;let {endRow:_0x5e76b9,endColumn:_0x5ccc}=_0x1f0485;_0x5e76b9=Math[_0x1e7c59(0x253)](_0x5e76b9,rowCount-0x1),_0x5ccc=Math[_0x1e7c59(0x253)](_0x5ccc,columnCount-0x1);for(let _0x32407d=_0x25276e;_0x32407d<=_0x5e76b9;_0x32407d++)for(let _0x7a166=_0x53a20a;_0x7a166<=_0x5ccc;_0x7a166++){const _0x56684a=_0x7a166-_0x1211de,_0x36b11a=_0x32407d-_0x3f0e32;if(_0x56684a===0x0&&_0x36b11a===0x0){_0x27510b['formula']=_0x2c03e5,_0x27510b['unitId']=_0x488870,_0x27510b[_0x1e7c59(0x1b0)]=_0x4450c7,_0x27510b['formulaId']=_0x40820f,_0x27510b[_0x1e7c59(0x1ac)]=_univerjs_engine_formula['FormulaDependencyTreeType'][_0x1e7c59(0x213)],_0x27510b['isCache']=_0x363ac1,_0x569cbd[_0x1e7c59(0x234)](_0x27510b),this[_0x1e7c59(0x1f5)][_0x1e7c59(0x21e)](_0x27510b[_0x1e7c59(0x259)],_0x27510b),this[_0x1e7c59(0x19f)][_0x1e7c59(0x212)](_0x488870,_0x4450c7,_0x40820f,_0x27510b),this[_0x1e7c59(0x19f)][_0x1e7c59(0x1fc)](_0x27510b);continue;}const _0xf2438f=new _univerjs_engine_formula['FormulaDependencyTreeVirtual']();_0xf2438f['treeId']=(_0x4bb8a7===null||_0x4bb8a7===void 0x0?void 0x0:_0x4bb8a7[_0x1e7c59(0x20c)](_0x56684a,_0x36b11a))||(0x0,_univerjs_engine_formula[_0x1e7c59(0x1c5)])(this[_0x1e7c59(0x19f)]),_0xf2438f[_0x1e7c59(0x226)]=_0x27510b,_0xf2438f[_0x1e7c59(0x225)]=_0x56684a,_0xf2438f[_0x1e7c59(0x21b)]=_0x36b11a,_0xf2438f[_0x1e7c59(0x1bb)]=_0x363ac1,_0xf2438f[_0x1e7c59(0x1ac)]=_univerjs_engine_formula[_0x1e7c59(0x24e)][_0x1e7c59(0x213)],this[_0x1e7c59(0x19f)]['addOtherFormulaDependency'](_0x488870,_0x4450c7,_0x40820f,_0xf2438f),this[_0x1e7c59(0x19f)]['addFormulaDependencyByDefinedName'](_0xf2438f),_0x569cbd[_0x1e7c59(0x234)](_0xf2438f),this[_0x1e7c59(0x1f5)]['set'](_0xf2438f[_0x1e7c59(0x259)],_0xf2438f);}}this['_dependencyManagerService'][_0x1e7c59(0x191)](_0x40820f);}}}}['_registerFormulas'](_0x20fc15,_0x13219b,_0x3a05d0,_0x189af0){const _0x5d7a45=_0x2a488b;for(const _0x20405b of _0x20fc15){const _0x1d9893=_0x13219b[_0x20405b];if(_0x1d9893==null)continue;const _0x45e5a8=Object['keys'](_0x1d9893);for(const _0x1e80b3 of _0x45e5a8){const _0x4c86d4=new _univerjs_core[(_0x5d7a45(0x217))](_0x1d9893[_0x1e80b3]||{}),_0x35c54c=new Map();_0x4c86d4[_0x5d7a45(0x25f)]((_0x325bc9,_0x24125c,_0x1bade4)=>{const _0x31b828=_0x5d7a45;if(_0x1bade4==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x3d6f9f}=_0x1bade4;if(!(x===0x0&&y===0x0&&_0x3d6f9f!=null))return!![];const _0x18a73f=this['_createFDtree'](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c,_0x3a05d0,_0x1bade4),_0x32bcf9=this['_dependencyManagerService'][_0x31b828(0x25e)](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c);if(_0x32bcf9!=null)_0x18a73f[_0x31b828(0x259)]=_0x32bcf9;else this[_0x31b828(0x19f)][_0x31b828(0x19b)](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c,_0x18a73f),this[_0x31b828(0x19f)]['addFormulaDependencyByDefinedName'](_0x18a73f);_0x35c54c[_0x31b828(0x21e)](_0x3d6f9f,_0x18a73f),_0x189af0['push'](_0x18a73f),this['_dependencyTreeCache'][_0x31b828(0x21e)](_0x18a73f[_0x31b828(0x259)],_0x18a73f);}),_0x4c86d4[_0x5d7a45(0x25f)]((_0x434324,_0x383720,_0x45bf4f)=>{const _0x4398eb=_0x5d7a45;if(_0x45bf4f==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x411c53}=_0x45bf4f;if(x===0x0&&y===0x0&&_0x411c53!=null)return!![];let _0x206ce9;if(_0x411c53&&_0x35c54c[_0x4398eb(0x220)](_0x411c53)){const _0x4a590c=_0x35c54c[_0x4398eb(0x1d8)](_0x411c53);_0x206ce9=this[_0x4398eb(0x1ec)](_0x4a590c,_0x45bf4f);}else _0x206ce9=this['_createFDtree'](_0x20405b,_0x1e80b3,_0x434324,_0x383720,_0x3a05d0,_0x45bf4f);const _0x4e5741=this[_0x4398eb(0x19f)]['getFormulaDependency'](_0x20405b,_0x1e80b3,_0x434324,_0x383720);if(_0x4e5741!=null)_0x206ce9['treeId']=_0x4e5741;else this['_dependencyManagerService']['addFormulaDependency'](_0x20405b,_0x1e80b3,_0x434324,_0x383720,_0x206ce9),this[_0x4398eb(0x19f)]['addFormulaDependencyByDefinedName'](_0x206ce9);_0x189af0[_0x4398eb(0x234)](_0x206ce9),this[_0x4398eb(0x1f5)][_0x4398eb(0x21e)](_0x206ce9[_0x4398eb(0x259)],_0x206ce9);}),_0x35c54c[_0x5d7a45(0x1b8)]();}}}['_createFDtree'](_0x349828,_0xb37e13,_0xecd679,_0x580e1c,_0x1e3533,_0x57b45b){const _0x2402f9=_0x2a488b,{f:_0x5ceee7,x:x=0x0,y:y=0x0}=_0x57b45b,_0x4bec76=new _univerjs_engine_formula['FormulaDependencyTree']((0x0,_univerjs_engine_formula[_0x2402f9(0x1c5)])(this['_dependencyManagerService'])),_0x4b1fca=_0x1e3533[_0x349828][_0xb37e13];return _0x4bec76[_0x2402f9(0x243)]=_0x5ceee7,_0x4bec76['unitId']=_0x349828,_0x4bec76[_0x2402f9(0x1b0)]=_0xb37e13,_0x4bec76['row']=_0xecd679,_0x4bec76['column']=_0x580e1c,_0x4bec76[_0x2402f9(0x25b)]=_0x4b1fca[_0x2402f9(0x25b)],_0x4bec76[_0x2402f9(0x20a)]=_0x4b1fca['columnCount'],_0x4bec76;}[_0x2a488b(0x1dd)](){const _0x1c5f20=_0x2a488b,_0x17b607=[],_0x376ea5=new Set(),_0x5e6f21=this['_currentConfigService'][_0x1c5f20(0x174)](),_0x2fc95d=this[_0x1c5f20(0x24d)][_0x1c5f20(0x218)](),_0x5ab4d9=this[_0x1c5f20(0x19f)][_0x1c5f20(0x170)](_0x2fc95d),_0x26ac1f=this['_dependencyRTreeCacheForAddressFunction'][_0x1c5f20(0x1d0)](_0x2fc95d);for(const _0x17ee91 of _0x26ac1f)_0x5ab4d9[_0x1c5f20(0x1e3)](_0x17ee91);for(const [_0x1b8ff7,_0x3fe927]of this[_0x1c5f20(0x1f5)])(_0x5e6f21||_0x3fe927[_0x1c5f20(0x1e2)]||_0x3fe927['dependencySheetName'](this[_0x1c5f20(0x24d)]['getDirtyNameMap']())||_0x5ab4d9[_0x1c5f20(0x220)](_0x1b8ff7)&&!_0x3fe927[_0x1c5f20(0x1a8)](this[_0x1c5f20(0x24d)]['getExcludedRange']()))&&!_0x376ea5[_0x1c5f20(0x220)](_0x1b8ff7)&&(_0x17b607[_0x1c5f20(0x234)](_0x3fe927),_0x376ea5[_0x1c5f20(0x1e3)](_0x1b8ff7));for(const [_0x16b289,_0x336474]of this[_0x1c5f20(0x1f5)]){if(_0x336474[_0x1c5f20(0x1de)])continue;_0x336474[_0x1c5f20(0x1c8)]['length']=0x0;}return _0x17b607;}[_0x2a488b(0x16d)](_0x701d71){const _0x4912c2=_0x2a488b;return this[_0x4912c2(0x1f5)][_0x4912c2(0x1d8)](_0x701d71);}[_0x2a488b(0x199)](_0x4d01ab){const _0x70e202=_0x2a488b;return(0x0,_univerjs_engine_formula['generateAstNode'])(_0x4d01ab[_0x70e202(0x20d)],_0x4d01ab[_0x70e202(0x243)],this[_0x70e202(0x20f)],this[_0x70e202(0x246)],this[_0x70e202(0x24d)]);}*[_0x2a488b(0x23e)](_0x1e890e,_0x33c215){const _0x3e8e10=_0x2a488b,_0x30bce1=_0x1e890e,_0x5d18b0=new Set();while(_0x30bce1[_0x3e8e10(0x1ef)]>0x0){const _0x443937=_0x30bce1[_0x3e8e10(0x254)]();_0x5d18b0[_0x3e8e10(0x1b8)]();if(_0x443937===void 0x0||_0x443937[_0x3e8e10(0x17e)]())continue;if(_0x443937[_0x3e8e10(0x21a)]()){yield _0x443937,_0x443937[_0x3e8e10(0x1a0)](),_0x33c215[_0x3e8e10(0x1e3)](_0x443937['treeId']);continue;}const _0x2c9522=this[_0x3e8e10(0x19f)][_0x3e8e10(0x170)](_0x443937[_0x3e8e10(0x1eb)](),_0x33c215),_0x4a3fd3=this[_0x3e8e10(0x1cf)][_0x3e8e10(0x1d0)](_0x443937[_0x3e8e10(0x1eb)](),_0x33c215);for(const _0xb5dfc7 of _0x4a3fd3)_0x2c9522[_0x3e8e10(0x1e3)](_0xb5dfc7);for(const _0x57586e of _0x2c9522){const _0x160def=this['_dependencyTreeCache']['get'](_0x57586e);if(!_0x160def){console[_0x3e8e10(0x24a)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x57586e);continue;}if(_0x160def[_0x3e8e10(0x21a)]()||_0x443937['isSkip']())continue;_0x5d18b0[_0x3e8e10(0x1e3)](_0x160def);}_0x2c9522['clear']();if(_0x5d18b0['size']===0x0)yield _0x443937,_0x443937[_0x3e8e10(0x1a0)](),_0x33c215[_0x3e8e10(0x1e3)](_0x443937[_0x3e8e10(0x259)]);else{_0x443937[_0x3e8e10(0x1c6)](),_0x30bce1[_0x3e8e10(0x234)](_0x443937);for(const _0x4f012c of _0x5d18b0)_0x30bce1[_0x3e8e10(0x234)](_0x4f012c);}}_0x30bce1[_0x3e8e10(0x1ef)]=0x0,_0x5d18b0[_0x3e8e10(0x1b8)]();}['_calculateRunList'](_0x2c5b96){const _0x323452=_0x2a488b,_0x12c2b9=[],_0xc07d1=new Set();for(const _0x26312d of this[_0x323452(0x23e)](_0x2c5b96,_0xc07d1))_0x12c2b9['push'](_0x26312d);return _0x12c2b9;}async[_0x2a488b(0x251)](){const _0x2aee47=_0x2a488b;return await this['_initializeGenerateTreeList'](),Array[_0x2aee47(0x1f9)](this[_0x2aee47(0x1f5)][_0x2aee47(0x22e)]());}[_0x2a488b(0x1fa)](_0x3db4c7){const _0x1f7f93=_0x2a488b;return this[_0x1f7f93(0x19f)][_0x1f7f93(0x170)](_0x3db4c7[_0x1f7f93(0x1eb)]());}[_0x2a488b(0x1a7)](_0x1e6dfa){const _0x909aa7=_0x2a488b,_0x11224b=new Set(),_0xb3f7f5=_0x1e6dfa[_0x909aa7(0x1c8)];for(const [_0x3d0c1c,_0x19061e]of this[_0x909aa7(0x1f5)])for(const _0x237e9a of _0xb3f7f5){const _0x491635=_0x237e9a['unitId'],_0x141dfa=_0x237e9a[_0x909aa7(0x21f)];if(_0x19061e[_0x909aa7(0x20d)]!==_0x491635||_0x19061e[_0x909aa7(0x1b0)]!==_0x141dfa)continue;const _0x20c658=_0x237e9a['range'];if(_0x19061e[_0x909aa7(0x1cb)](_0x20c658)){_0x11224b['add'](_0x3d0c1c);break;}}return _0x11224b;}['_startFormulaDependencyTreeModel'](){const _0x3fdfa5=_0x2a488b;this[_0x3fdfa5(0x19f)]['openKdTree']();}[_0x2a488b(0x1c7)](){const _0xe290ae=_0x2a488b;this['_formulaDependencyTreeModel'][_0xe290ae(0x1b8)](),this[_0xe290ae(0x1f5)][_0xe290ae(0x1b8)](),this[_0xe290ae(0x19f)][_0xe290ae(0x216)]();}},CalculateFormulaProService=class extends _univerjs_engine_formula[_0x2a488b(0x160)]{async['_apply'](_0x150295=![]){const _0x5b5ef5=_0x2a488b;if(_0x150295)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x186)]);else this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x260)]);this['_executionInProgressListener$']['next'](this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x23d)]());const _0x240b90=await this[_0x5b5ef5(0x244)][_0x5b5ef5(0x17c)](this['_isCalculateTreeModel']),_0x2efdd3=this[_0x5b5ef5(0x201)];_0x150295?(this['_runtimeService']['setFormulaExecuteStage'](_univerjs_engine_formula[_0x5b5ef5(0x1ae)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x210)](_0x240b90['length'])):(this['_runtimeService']['setFormulaExecuteStage'](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x1cc)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x194)](_0x240b90[_0x5b5ef5(0x1ef)]));this[_0x5b5ef5(0x1b5)][_0x5b5ef5(0x239)](this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x23d)]());let _0x1305e9=[];const _0x41a1d0=this[_0x5b5ef5(0x227)][_0x5b5ef5(0x1e8)](_univerjs_engine_formula[_0x5b5ef5(0x196)]),_0x1dbedf=(_0x41a1d0===null||_0x41a1d0===void 0x0?void 0x0:_0x41a1d0['intervalCount'])||_univerjs_engine_formula[_0x5b5ef5(0x223)];let _0x14e06d=0x0;const _0x73eb02=_0x240b90['length'];while(_0x240b90[_0x5b5ef5(0x1ef)]>0x0){const _0x2f29f7=_0x240b90['pop'](),_0x1419b=(0x0,_univerjs_engine_formula[_0x5b5ef5(0x20b)])(_0x2f29f7[_0x5b5ef5(0x20d)],_0x2f29f7[_0x5b5ef5(0x243)],this[_0x5b5ef5(0x20f)],this[_0x5b5ef5(0x246)],this[_0x5b5ef5(0x24d)]),_0x1d7ccb={'node':_0x1419b,'refOffsetX':_0x2f29f7[_0x5b5ef5(0x225)],'refOffsetY':_0x2f29f7[_0x5b5ef5(0x21b)]},_0x3de555=_0x2f29f7[_0x5b5ef5(0x193)];if(_0x14e06d%_0x1dbedf===0x0){await new Promise(_0x266053=>{const _0x41b2b0=_0x5b5ef5,_0x1abb83=(0x0,_univerjs_core['requestImmediateMacroTask'])(_0x266053);_0x1305e9[_0x41b2b0(0x234)](_0x1abb83);});_0x150295?(this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x1d1)]),this['_runtimeService'][_0x5b5ef5(0x20e)](_0x14e06d+0x1)):(this[_0x5b5ef5(0x1ee)]['setFormulaExecuteStage'](_univerjs_engine_formula['FormulaExecuteStageType'][_0x5b5ef5(0x19d)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b4)](_0x14e06d+0x1));this[_0x5b5ef5(0x1b5)][_0x5b5ef5(0x239)](this['_runtimeService'][_0x5b5ef5(0x23d)]());if(this['_runtimeService']['isStopExecution']()||_0x1d7ccb==null&&_0x3de555==null){this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x16e)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x18c)](),this['_executionCompleteListener$']['next'](this[_0x5b5ef5(0x1ee)]['getAllRuntimeData']());return;}}this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x16b)](_0x2f29f7['row'],_0x2f29f7['column'],_0x2f29f7[_0x5b5ef5(0x25b)],_0x2f29f7[_0x5b5ef5(0x20a)],_0x2f29f7['subUnitId'],_0x2f29f7['unitId']);let _0x5eca57;if(_0x3de555!=null&&_0x2f29f7[_0x5b5ef5(0x25a)]!=null){const {runtimeCellData:_0x51d4d6,dirtyRanges:_0x1b6c9b}=_0x3de555(this[_0x5b5ef5(0x24d)][_0x5b5ef5(0x193)](),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x214)]());this[_0x5b5ef5(0x1ee)]['setRuntimeFeatureCellData'](_0x2f29f7[_0x5b5ef5(0x25a)],_0x51d4d6),this[_0x5b5ef5(0x1ee)]['setRuntimeFeatureRange'](_0x2f29f7[_0x5b5ef5(0x25a)],_0x1b6c9b);}else{if(_0x1d7ccb!=null){if(_0x2efdd3[_0x5b5ef5(0x1b6)](_0x1d7ccb[_0x5b5ef5(0x24b)]))_0x5eca57=await _0x2efdd3['executeAsync'](_0x1d7ccb);else _0x5eca57=_0x2efdd3[_0x5b5ef5(0x238)](_0x1d7ccb);if(_0x2f29f7['formulaId']!=null)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1bc)](_0x2f29f7[_0x5b5ef5(0x215)],_0x2f29f7['refOffsetX'],_0x2f29f7[_0x5b5ef5(0x21b)],_0x5eca57);else this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b3)](_0x5eca57);}}_0x1419b[_0x5b5ef5(0x18a)](),_0x14e06d++;}_0x1305e9[_0x5b5ef5(0x1f2)](_0x50a12f=>_0x50a12f()),_0x1305e9=[];if(_0x73eb02>0x0)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e9)]();else{if(!_0x150295)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b2)]();}return this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x214)]();}},DependencyManagerProService=class extends _univerjs_engine_formula['DependencyManagerBaseService']{constructor(..._0x4e3657){const _0x31c289=_0x2a488b;super(..._0x4e3657),_defineProperty(this,_0x31c289(0x1d3),new Map()),_defineProperty(this,'_dependencyRTreeCache',new _univerjs_core['RTree'](!![]));}[_0x2a488b(0x1da)](){const _0x69456=_0x2a488b;this[_0x69456(0x17d)][_0x69456(0x1b8)](),this[_0x69456(0x161)][_0x69456(0x1b8)](),this['_formulaData'][_0x69456(0x1b8)](),this[_0x69456(0x21c)][_0x69456(0x1b8)](),this[_0x69456(0x1d3)][_0x69456(0x1b8)](),this[_0x69456(0x1aa)](),this[_0x69456(0x1c0)][_0x69456(0x1b8)]();}[_0x2a488b(0x212)](_0x10d98b,_0x32b04e,_0x5d7ca3,_0x24489a){const _0x416ac3=_0x2a488b;if(!this[_0x416ac3(0x17d)]['has'](_0x10d98b))this[_0x416ac3(0x17d)]['set'](_0x10d98b,new Map());const _0x5e6c5d=this[_0x416ac3(0x17d)][_0x416ac3(0x1d8)](_0x10d98b);if(!_0x5e6c5d[_0x416ac3(0x220)](_0x32b04e))_0x5e6c5d[_0x416ac3(0x21e)](_0x32b04e,new Map());const _0x51f8df=_0x5e6c5d[_0x416ac3(0x1d8)](_0x32b04e);if(!_0x51f8df['has'](_0x5d7ca3))_0x51f8df[_0x416ac3(0x21e)](_0x5d7ca3,new _univerjs_core['ObjectMatrix']());_0x51f8df[_0x416ac3(0x1d8)](_0x5d7ca3)[_0x416ac3(0x1f0)](_0x24489a[_0x416ac3(0x225)],_0x24489a['refOffsetY'],_0x24489a[_0x416ac3(0x259)]);}['removeOtherFormulaDependency'](_0x369415,_0x2093e8,_0x2467ac){const _0xaf223=_0x2a488b,_0xe687a4=this[_0xaf223(0x17d)][_0xaf223(0x1d8)](_0x369415);if(_0xe687a4&&_0xe687a4[_0xaf223(0x220)](_0x2093e8)){const _0x4ca361=_0xe687a4['get'](_0x2093e8);_0x2467ac[_0xaf223(0x1f2)](_0x21824d=>{const _0x594f68=_0xaf223,_0x4bfd7f=_0x4ca361[_0x594f68(0x1d8)](_0x21824d);if(_0x4bfd7f==null)return;_0x4bfd7f['forValue']((_0x408db0,_0x180730,_0x54b31b)=>{const _0x427f75=_0x594f68;this[_0x427f75(0x23f)](_0x54b31b),this[_0x427f75(0x1f3)](_0x54b31b);}),_0x4ca361[_0x594f68(0x202)](_0x21824d),this[_0x594f68(0x1c0)][_0x594f68(0x202)](_0x21824d);});if(_0x4ca361[_0xaf223(0x228)]===0x0)_0xe687a4[_0xaf223(0x202)](_0x2093e8);if(_0xe687a4[_0xaf223(0x228)]===0x0)this[_0xaf223(0x17d)][_0xaf223(0x202)](_0x369415);}}['clearOtherFormulaDependency'](_0x1a3863,_0x45c18e){const _0x4f741a=_0x2a488b,_0x3a3e62=this[_0x4f741a(0x17d)][_0x4f741a(0x1d8)](_0x1a3863);if(_0x45c18e&&_0x3a3e62&&_0x3a3e62[_0x4f741a(0x220)](_0x45c18e)){const _0x1a6ae9=_0x3a3e62['get'](_0x45c18e);this[_0x4f741a(0x258)](_0x1a3863,_0x45c18e);for(const _0x54d372 of _0x1a6ae9[_0x4f741a(0x1c2)]()){const _0x2a00bd=_0x1a6ae9[_0x4f741a(0x1d8)](_0x54d372);if(_0x2a00bd==null)continue;_0x2a00bd[_0x4f741a(0x25f)]((_0x1be4e9,_0x38e087,_0x440a41)=>{const _0x50f0e2=_0x4f741a;if(this[_0x50f0e2(0x1d3)]['get'](_0x440a41))this[_0x50f0e2(0x1f3)](_0x440a41);}),this['_otherFormulaDataMainData'][_0x4f741a(0x202)](_0x54d372);}_0x1a6ae9[_0x4f741a(0x1b8)]();}else{if(_0x3a3e62){for(const _0x2e5b63 of _0x3a3e62[_0x4f741a(0x1c2)]()){const _0x57808c=_0x3a3e62[_0x4f741a(0x1d8)](_0x2e5b63);this['_removeDependencyRTreeCacheById'](_0x1a3863,_0x2e5b63);for(const _0x19e759 of _0x57808c['keys']()){const _0x1b7128=_0x57808c[_0x4f741a(0x1d8)](_0x19e759);if(_0x1b7128==null)continue;_0x1b7128['forValue']((_0x1d9b27,_0x534aaa,_0x38031e)=>{const _0x5877b3=_0x4f741a;if(this[_0x5877b3(0x1d3)][_0x5877b3(0x1d8)](_0x38031e))this[_0x5877b3(0x1f3)](_0x38031e);}),this['_otherFormulaDataMainData']['delete'](_0x19e759);}}this['_otherFormulaData'][_0x4f741a(0x202)](_0x1a3863);}}}[_0x2a488b(0x1d6)](_0x3e5225,_0x58f9e0,_0x2cc1b2,_0x361bd5){const _0x2feff8=_0x2a488b;if(!this[_0x2feff8(0x161)][_0x2feff8(0x220)](_0x3e5225))this[_0x2feff8(0x161)][_0x2feff8(0x21e)](_0x3e5225,new Map());const _0x3d8bbc=this['_featureFormulaData'][_0x2feff8(0x1d8)](_0x3e5225);if(!_0x3d8bbc[_0x2feff8(0x220)](_0x58f9e0))_0x3d8bbc[_0x2feff8(0x21e)](_0x58f9e0,new Map());_0x3d8bbc[_0x2feff8(0x1d8)](_0x58f9e0)[_0x2feff8(0x21e)](_0x2cc1b2,_0x361bd5[_0x2feff8(0x259)]);}[_0x2a488b(0x231)](_0x2d509a,_0x1ef8c2,_0x530b53){const _0x1647b2=_0x2a488b,_0x2c777e=this['_featureFormulaData'][_0x1647b2(0x1d8)](_0x2d509a);if(_0x2c777e&&_0x2c777e[_0x1647b2(0x220)](_0x1ef8c2)){const _0x2ad1a0=_0x2c777e['get'](_0x1ef8c2);_0x530b53[_0x1647b2(0x1f2)](_0x2b8fd3=>{const _0x2b1cac=_0x1647b2,_0xea8fb8=_0x2ad1a0[_0x2b1cac(0x1d8)](_0x2b8fd3);if(_0xea8fb8==null)return;this[_0x2b1cac(0x23f)](_0xea8fb8),_0x2ad1a0[_0x2b1cac(0x202)](_0x2b8fd3),this[_0x2b1cac(0x1f3)](_0xea8fb8);});}}[_0x2a488b(0x24c)](_0x67a749,_0x581bab){const _0x49a453=_0x2a488b,_0x100583=this[_0x49a453(0x161)][_0x49a453(0x1d8)](_0x67a749);if(_0x581bab&&_0x100583&&_0x100583[_0x49a453(0x220)](_0x581bab)){const _0x160ea8=_0x100583['get'](_0x581bab);this['_removeDependencyRTreeCacheById'](_0x67a749,_0x581bab),_0x160ea8[_0x49a453(0x1f2)](_0x198bf1=>{const _0x19091b=_0x49a453;if(_0x198bf1==null)return;this[_0x19091b(0x1f3)](_0x198bf1);}),_0x160ea8['clear']();}else _0x100583&&(_0x100583[_0x49a453(0x1f2)]((_0x9b2ee7,_0x429660)=>{const _0x8d08b1=_0x49a453;this[_0x8d08b1(0x258)](_0x67a749,_0x429660),_0x9b2ee7[_0x8d08b1(0x1f2)](_0x112244=>{if(_0x112244==null)return;this['_removeAllTreeMap'](_0x112244);});}),this[_0x49a453(0x161)][_0x49a453(0x202)](_0x67a749));}[_0x2a488b(0x19b)](_0x23d9f5,_0x13f13e,_0x5f1360,_0x68fe5d,_0x38b28d){const _0x48a5fb=_0x2a488b;if(!this[_0x48a5fb(0x171)]['has'](_0x23d9f5))this[_0x48a5fb(0x171)][_0x48a5fb(0x21e)](_0x23d9f5,new Map());const _0x3e44f7=this[_0x48a5fb(0x171)][_0x48a5fb(0x1d8)](_0x23d9f5);if(!_0x3e44f7[_0x48a5fb(0x220)](_0x13f13e))_0x3e44f7[_0x48a5fb(0x21e)](_0x13f13e,new _univerjs_core[(_0x48a5fb(0x217))]());_0x3e44f7[_0x48a5fb(0x1d8)](_0x13f13e)[_0x48a5fb(0x1f0)](_0x5f1360,_0x68fe5d,_0x38b28d['treeId']);}[_0x2a488b(0x1ab)](_0x357846,_0x2c9f56,_0x2d9b13,_0x1b1c7b){const _0x47aa66=_0x2a488b,_0x547ea2=this[_0x47aa66(0x171)]['get'](_0x357846);if(_0x547ea2&&_0x547ea2[_0x47aa66(0x220)](_0x2c9f56)){const _0x3e7a8b=_0x547ea2['get'](_0x2c9f56),_0x503111=_0x3e7a8b[_0x47aa66(0x20c)](_0x2d9b13,_0x1b1c7b);if(_0x503111==null)return;this[_0x47aa66(0x23f)](_0x503111),_0x3e7a8b[_0x47aa66(0x164)](_0x2d9b13,_0x1b1c7b),this['_removeAllTreeMap'](_0x503111);}}[_0x2a488b(0x1df)](_0x1b28ba,_0x271253){const _0x1ed677=_0x2a488b,_0x5722fe=this[_0x1ed677(0x171)][_0x1ed677(0x1d8)](_0x1b28ba);if(_0x271253&&_0x5722fe&&_0x5722fe[_0x1ed677(0x220)](_0x271253)){const _0x2c7bb9=_0x5722fe[_0x1ed677(0x1d8)](_0x271253);this[_0x1ed677(0x258)](_0x1b28ba,_0x271253),_0x2c7bb9['forValue']((_0x3b565f,_0x3bcf86,_0x534c64)=>{const _0x3dabea=_0x1ed677;if(_0x534c64==null)return!![];this[_0x3dabea(0x1f3)](_0x534c64);}),_0x2c7bb9[_0x1ed677(0x1da)]();}else _0x5722fe&&(_0x5722fe[_0x1ed677(0x1f2)]((_0x12aa7a,_0x4b2d76)=>{const _0x4a33ce=_0x1ed677;this[_0x4a33ce(0x258)](_0x1b28ba,_0x4b2d76),_0x12aa7a[_0x4a33ce(0x25f)]((_0x4e1cdb,_0xf1b14b,_0x29cb72)=>{const _0x9c2c10=_0x4a33ce;if(_0x29cb72==null)return!![];this[_0x9c2c10(0x1f3)](_0x29cb72);});}),this[_0x1ed677(0x171)][_0x1ed677(0x202)](_0x1b28ba));}[_0x2a488b(0x23f)](_0x1ea7e8){const _0x3e0ed6=_0x2a488b;if(_0x1ea7e8==null)return;const _0x33f122=this[_0x3e0ed6(0x1d3)][_0x3e0ed6(0x1d8)](_0x1ea7e8);if(_0x33f122){const _0x17f828=[];for(const [_0x5b8a98,_0x2382d1]of _0x33f122)for(const [_0x1ecedd,_0x358e2f]of _0x2382d1)_0x17f828[_0x3e0ed6(0x234)]({'unitId':_0x5b8a98,'sheetId':_0x1ecedd,'range':_0x358e2f,'id':_0x1ea7e8});this[_0x3e0ed6(0x21c)][_0x3e0ed6(0x1c4)](_0x17f828);}}[_0x2a488b(0x1bd)](_0x1d93c4,_0x2fc39e){const _0x362a17=_0x2a488b,_0xf628ce=this[_0x362a17(0x181)][_0x362a17(0x1d8)](_0x1d93c4);if(_0xf628ce){const _0x12fc40=_0xf628ce[_0x362a17(0x1d8)](_0x2fc39e);if(_0x12fc40){for(const _0x3caed8 of _0x12fc40){this[_0x362a17(0x23f)](_0x3caed8),this[_0x362a17(0x1f3)](_0x3caed8);}_0x12fc40[_0x362a17(0x1b8)]();}}}[_0x2a488b(0x183)](){const _0x38a77d=_0x2a488b;this[_0x38a77d(0x21c)][_0x38a77d(0x183)]();}[_0x2a488b(0x216)](){const _0x550933=_0x2a488b;this[_0x550933(0x21c)][_0x550933(0x216)]();}['_removeAllTreeMap'](_0x5e78e4){const _0x326015=_0x2a488b;if(_0x5e78e4==null)return;this[_0x326015(0x1d3)][_0x326015(0x202)](_0x5e78e4);}['_addAllTreeMap'](_0x2bbf38){const _0xa0bbff=_0x2a488b,_0x2f06e9=_0x2bbf38['rangeList'];let _0x41fa84=this[_0xa0bbff(0x1d3)][_0xa0bbff(0x1d8)](_0x2bbf38['treeId']);for(let _0x2251c4=0x0;_0x2251c4<_0x2f06e9[_0xa0bbff(0x1ef)];_0x2251c4++){var _0x465487,_0x21c1f2;let {unitId:_0x3945b8,sheetId:_0x2e3f01,range:_0x210506}=_0x2f06e9[_0x2251c4];!_0x41fa84&&(_0x41fa84=new Map(),this[_0xa0bbff(0x1d3)]['set'](_0x2bbf38[_0xa0bbff(0x259)],_0x41fa84));if(!_0x41fa84[_0xa0bbff(0x220)](_0x3945b8))_0x41fa84[_0xa0bbff(0x21e)](_0x3945b8,new Map());const _0x59bc2a=_0x41fa84===null||_0x41fa84===void 0x0||(_0x465487=_0x41fa84[_0xa0bbff(0x1d8)](_0x3945b8))===null||_0x465487===void 0x0?void 0x0:_0x465487[_0xa0bbff(0x1d8)](_0x2e3f01);if(_0x59bc2a)_0x210506={'startRow':Math[_0xa0bbff(0x253)](_0x210506[_0xa0bbff(0x250)],_0x59bc2a['startRow']),'startColumn':Math[_0xa0bbff(0x253)](_0x210506['startColumn'],_0x59bc2a[_0xa0bbff(0x19c)]),'endRow':Math[_0xa0bbff(0x19e)](_0x210506[_0xa0bbff(0x1a1)],_0x59bc2a[_0xa0bbff(0x1a1)]),'endColumn':Math[_0xa0bbff(0x19e)](_0x210506['endColumn'],_0x59bc2a[_0xa0bbff(0x1d2)])};(_0x21c1f2=_0x41fa84[_0xa0bbff(0x1d8)](_0x3945b8))===null||_0x21c1f2===void 0x0||_0x21c1f2[_0xa0bbff(0x21e)](_0x2e3f01,_0x210506);}}};function __decorate(_0x3025c7,_0x217283,_0x3404e5,_0x123bec){const _0x24fb08=_0x2a488b;var _0x55f2fa=arguments['length'],_0x48be1f=_0x55f2fa<0x3?_0x217283:_0x123bec===null?_0x123bec=Object['getOwnPropertyDescriptor'](_0x217283,_0x3404e5):_0x123bec,_0x400ff4;if(typeof Reflect==='object'&&typeof Reflect[_0x24fb08(0x1c3)]===_0x24fb08(0x1ba))_0x48be1f=Reflect['decorate'](_0x3025c7,_0x217283,_0x3404e5,_0x123bec);else{for(var _0x47be6a=_0x3025c7['length']-0x1;_0x47be6a>=0x0;_0x47be6a--)if(_0x400ff4=_0x3025c7[_0x47be6a])_0x48be1f=(_0x55f2fa<0x3?_0x400ff4(_0x48be1f):_0x55f2fa>0x3?_0x400ff4(_0x217283,_0x3404e5,_0x48be1f):_0x400ff4(_0x217283,_0x3404e5))||_0x48be1f;}return _0x55f2fa>0x3&&_0x48be1f&&Object[_0x24fb08(0x1d9)](_0x217283,_0x3404e5,_0x48be1f),_0x48be1f;}const BUILD_TIMESTAMP=Number[_0x2a488b(0x1d4)](0x69ec6f90);let UniverProFormulaEnginePlugin=class UniverProFormulaEnginePlugin extends _univerjs_engine_formula[_0x2a488b(0x23a)]{['_initializeWithOverride'](){const _0x529a65=_0x2a488b;if(this[_0x529a65(0x1b1)]()){var _0x6b37c0;this[_0x529a65(0x198)]['add']([_univerjs_engine_formula[_0x529a65(0x237)],{'useClass':LexerTreeProBuilder}]);if(!((_0x6b37c0=this['_config'])===null||_0x6b37c0===void 0x0?void 0x0:_0x6b37c0[_0x529a65(0x22c)]))[[_univerjs_engine_formula[_0x529a65(0x188)],{'useClass':CalculateFormulaProService}],[_univerjs_engine_formula[_0x529a65(0x25d)],{'useClass':DependencyManagerProService}],[_univerjs_engine_formula[_0x529a65(0x175)],{'useClass':FormulaDependencyProGenerator}]]['forEach'](_0x2f90f1=>this[_0x529a65(0x198)][_0x529a65(0x1e3)](_0x2f90f1));}else{var _0x2665a9;this[_0x529a65(0x198)][_0x529a65(0x1e3)]([_univerjs_engine_formula[_0x529a65(0x237)],{'useClass':_univerjs_engine_formula[_0x529a65(0x237)]}]);if(!((_0x2665a9=this['_config'])===null||_0x2665a9===void 0x0?void 0x0:_0x2665a9[_0x529a65(0x22c)]))[[_univerjs_engine_formula['ICalculateFormulaService'],{'useClass':_univerjs_engine_formula['CalculateFormulaService']}],[_univerjs_engine_formula['IDependencyManagerService'],{'useClass':_univerjs_engine_formula[_0x529a65(0x18f)]}],[_univerjs_engine_formula[_0x529a65(0x175)],{'useClass':_univerjs_engine_formula['FormulaDependencyGenerator']}]]['forEach'](_0x599cbe=>this[_0x529a65(0x198)][_0x529a65(0x1e3)](_0x599cbe));}}['_initLicenseValid'](){const _0x4bbbd6=_0x2a488b;var _0x47d206;const {ls:_0x3b5922,pbk:_0x2c708e}=(_0x47d206=this['_configService'][_0x4bbbd6(0x1e8)](_univerjs_pro_license[_0x4bbbd6(0x23b)]))!==null&&_0x47d206!==void 0x0?_0x47d206:{};if(!_0x3b5922||!_0x2c708e)return![];const _0x34c81c=(0x0,_univerjs_pro_license[_0x4bbbd6(0x18d)])(_0x3b5922,_0x2c708e),_0x1c07d5=_0x34c81c[_0x4bbbd6(0x1ea)];if(_0x34c81c[_0x4bbbd6(0x1a3)]){if((0x0,_univerjs_pro_license[_0x4bbbd6(0x18b)])(_0x1c07d5,'sf',BUILD_TIMESTAMP))return(0x0,_univerjs_pro_license['getSheetFeatureLimit'])(_0x1c07d5,!![],'a',!![],![],![]);}return![];}};_defineProperty(UniverProFormulaEnginePlugin,_0x2a488b(0x192),name),_defineProperty(UniverProFormulaEnginePlugin,_0x2a488b(0x230),version),UniverProFormulaEnginePlugin=__decorate([(0x0,_univerjs_core[_0x2a488b(0x208)])(_univerjs_pro_license['UniverLicensePlugin'])],UniverProFormulaEnginePlugin),exports[_0x2a488b(0x16f)]=LexerTreeProBuilder,Object[_0x2a488b(0x1d9)](exports,'UniverProFormulaEnginePlugin',{'enumerable':!![],'get':function(){return UniverProFormulaEnginePlugin;}}),Object[_0x2a488b(0x1c2)](_univerjs_engine_formula)[_0x2a488b(0x1f2)](function(_0x2609bb){const _0x5ece49=_0x2a488b;if(_0x2609bb!=='default'&&!Object[_0x5ece49(0x24f)][_0x5ece49(0x1d7)]['call'](exports,_0x2609bb))Object[_0x5ece49(0x1d9)](exports,_0x2609bb,{'enumerable':!![],'get':function(){return _univerjs_engine_formula[_0x2609bb];}});});
|
|
1
|
+
const _0x1a6ba2=_0x1f1d;function _0x1f1d(_0x1a9a3b,_0x2185d8){_0x1a9a3b=_0x1a9a3b-0x14c;const _0x184bc8=_0x184b();let _0x1f1d8f=_0x184bc8[_0x1a9a3b];return _0x1f1d8f;}(function(_0xb705c9,_0x287d6a){const _0x44dda4=_0x1f1d,_0x51dd8d=_0xb705c9();while(!![]){try{const _0xeeedb=-parseInt(_0x44dda4(0x21c))/0x1+-parseInt(_0x44dda4(0x191))/0x2*(parseInt(_0x44dda4(0x19c))/0x3)+-parseInt(_0x44dda4(0x1f6))/0x4+parseInt(_0x44dda4(0x257))/0x5+parseInt(_0x44dda4(0x232))/0x6*(-parseInt(_0x44dda4(0x1ff))/0x7)+parseInt(_0x44dda4(0x1fc))/0x8*(parseInt(_0x44dda4(0x1a9))/0x9)+parseInt(_0x44dda4(0x214))/0xa;if(_0xeeedb===_0x287d6a)break;else _0x51dd8d['push'](_0x51dd8d['shift']());}catch(_0x307196){_0x51dd8d['push'](_0x51dd8d['shift']());}}}(_0x184b,0xa55d5),Object[_0x1a6ba2(0x1b7)](exports,Symbol['toStringTag'],{'value':_0x1a6ba2(0x179)}));let _univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core');function _typeof(_0x128863){'@babel/helpers - typeof';const _0x3fe9be=_0x1a6ba2;return _typeof=_0x3fe9be(0x161)==typeof Symbol&&'symbol'==typeof Symbol[_0x3fe9be(0x19b)]?function(_0x3a8f66){return typeof _0x3a8f66;}:function(_0x3e1fe8){const _0x3a58e7=_0x3fe9be;return _0x3e1fe8&&_0x3a58e7(0x161)==typeof Symbol&&_0x3e1fe8['constructor']===Symbol&&_0x3e1fe8!==Symbol[_0x3a58e7(0x1af)]?_0x3a58e7(0x1ca):typeof _0x3e1fe8;},_typeof(_0x128863);}function toPrimitive(_0x124056,_0x44100f){const _0x3a3e35=_0x1a6ba2;if(_0x3a3e35(0x1d8)!=_typeof(_0x124056)||!_0x124056)return _0x124056;var _0x18561f=_0x124056[Symbol[_0x3a3e35(0x175)]];if(void 0x0!==_0x18561f){var _0x309fb9=_0x18561f[_0x3a3e35(0x22d)](_0x124056,_0x44100f||_0x3a3e35(0x168));if('object'!=_typeof(_0x309fb9))return _0x309fb9;throw new TypeError(_0x3a3e35(0x18f));}return(_0x3a3e35(0x158)===_0x44100f?String:Number)(_0x124056);}function toPropertyKey(_0x443bd9){const _0x49c871=_0x1a6ba2;var _0x1e79dd=toPrimitive(_0x443bd9,_0x49c871(0x158));return _0x49c871(0x1ca)==_typeof(_0x1e79dd)?_0x1e79dd:_0x1e79dd+'';}function _defineProperty(_0x3c6ee7,_0x1c1e5c,_0x4920ae){const _0x457a4d=_0x1a6ba2;return(_0x1c1e5c=toPropertyKey(_0x1c1e5c))in _0x3c6ee7?Object[_0x457a4d(0x1b7)](_0x3c6ee7,_0x1c1e5c,{'value':_0x4920ae,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3c6ee7[_0x1c1e5c]=_0x4920ae,_0x3c6ee7;}var LexerTreeProBuilder=class extends _univerjs_engine_formula[_0x1a6ba2(0x1ce)]{constructor(..._0x8c4af){const _0xeb730d=_0x1a6ba2;super(..._0x8c4af),_defineProperty(this,'_hasNewExcelFunction',![]),_defineProperty(this,_0xeb730d(0x174),new Set()),_defineProperty(this,'_xlpmPrefix',_0xeb730d(0x1ac)),_defineProperty(this,'_xlfnPrefix','_xlfn.'),_defineProperty(this,_0xeb730d(0x192),'');}['_resetPrefix'](){const _0x34c202=_0x1a6ba2;this['_xlpmPrefix']=_0x34c202(0x1ac),this[_0x34c202(0x18d)]='_xlfn.';}[_0x1a6ba2(0x1d5)](){const _0x52b7a8=_0x1a6ba2;this[_0x52b7a8(0x200)]='',this[_0x52b7a8(0x18d)]='';}['getNewFormulaWithPrefix'](_0x219dc2,_0x9ea331){const _0x3a74a0=_0x1a6ba2,_0x24b2c5=this['treeBuilder'](_0x219dc2,![]);if(!_0x24b2c5||_0x24b2c5===_univerjs_engine_formula['ErrorType'][_0x3a74a0(0x258)]||Array[_0x3a74a0(0x213)](_0x24b2c5))return null;const _0x45e623=[];this[_0x3a74a0(0x150)]=![],this['_generateNewFunctionString'](_0x24b2c5,_0x45e623,_0x9ea331);if(this[_0x3a74a0(0x150)])return'='+_0x45e623[_0x3a74a0(0x1ed)]('');return null;}[_0x1a6ba2(0x1ef)](_0x5704d9,_0x3bc113,_0x2dcfe4){const _0x55e0be=_0x1a6ba2,_0x58b503=_0x5704d9['getToken'](),_0x42a36c=_0x58b503[_0x55e0be(0x19a)](),_0xb9f7a1=_0x42a36c[_0x55e0be(0x22c)](),_0x4c1111=this[_0x55e0be(0x171)](_0xb9f7a1),_0x5e767a=_0x2dcfe4(_0x4c1111);let _0xd1d795=0x0;if(_0x58b503===_univerjs_engine_formula[_0x55e0be(0x1c5)])_0xd1d795=0x3;else{if(_0x58b503===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_PARAMETER'])_0xd1d795=0x4;else{if(_0x58b503===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0xd1d795=0x5;else{if(_univerjs_engine_formula[_0x55e0be(0x22f)][_0x55e0be(0x160)](_0x4c1111))_0x3bc113[_0x55e0be(0x1a5)](''+this['_xlfnPrefix']+_0x42a36c),this[_0x55e0be(0x150)]=!![];else{if(_0xb9f7a1===_univerjs_engine_formula[_0x55e0be(0x15f)])_0x3bc113['push'](''+this[_0x55e0be(0x18d)]+_0x42a36c),this[_0x55e0be(0x150)]=!![],_0xd1d795=0x2;else{if(_0xb9f7a1===_univerjs_engine_formula['DEFAULT_TOKEN_LET_FUNCTION_NAME'])_0x3bc113['push'](''+this['_xlfnPrefix']+_0x42a36c),this[_0x55e0be(0x150)]=!![],_0xd1d795=0x1;else{if(_0xb9f7a1===_univerjs_engine_formula['matchToken']['COLON'])_0xd1d795=0x8;else{if(_univerjs_engine_formula[_0x55e0be(0x202)][_0x55e0be(0x160)](_0xb9f7a1))_0xd1d795=0x7;else{if(_0xb9f7a1===_univerjs_engine_formula[_0x55e0be(0x1b5)][_0x55e0be(0x237)]){if(this[_0x55e0be(0x1b2)](_0x5704d9))_0xd1d795=0x9;_0x3bc113[_0x55e0be(0x1a5)](_0x58b503);}else _0x3bc113[_0x55e0be(0x1a5)](_0x58b503),_0xd1d795=0xa;}}}}}}}}if(_0x5e767a){if(_0xd1d795!==0x2&&_0xd1d795!==0x1)_0xd1d795=0x6;_0x3bc113[_0x55e0be(0x1a5)]('(');}else{if(_0xd1d795===0x9)_0x3bc113[_0x55e0be(0x1a5)]('(');}const _0x3a679b=_0x5704d9['getChildren'](),_0x3e5417=_0x3a679b[_0x55e0be(0x1b0)];if(_0xd1d795===0x2){const _0x3c3b06=_0x3a679b[0x0];let _0x55bcdc=0x0;if(_0x3c3b06 instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)]){if(_0x3c3b06[_0x55e0be(0x224)]()===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0x55bcdc=0x1;}for(let _0x57453c=_0x55bcdc;_0x57453c<_0x3e5417-0x1;_0x57453c++){const _0x3e681c=_0x3a679b[_0x57453c];if(_0x3e681c instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)]){const _0x16aac3=_0x3e681c[_0x55e0be(0x164)]()[0x0];if(typeof _0x16aac3===_0x55e0be(0x158)){if(this['_lambdaFunctionParameterSet'][_0x55e0be(0x160)](_0x16aac3))console[_0x55e0be(0x24d)](_0x55e0be(0x1bd)+_0x16aac3+'\x22\x20is\x20duplicated.');this[_0x55e0be(0x174)]['add'](_0x16aac3),_0x3bc113['push'](''+this[_0x55e0be(0x200)]+_0x16aac3),this[_0x55e0be(0x150)]=!![];}}_0x3bc113[_0x55e0be(0x1a5)](',');}this[_0x55e0be(0x245)](_0x3a679b[_0x3e5417-0x1],_0x3bc113,_0x2dcfe4);if(_0x55bcdc===0x1)_0x3bc113[_0x55e0be(0x1a5)](')'),_0x3bc113[_0x55e0be(0x1a5)]('('),this['_generateNewFunctionString'](_0x3c3b06,_0x3bc113,_0x2dcfe4),_0x3bc113[_0x55e0be(0x1a5)](')');else _0x3bc113[_0x55e0be(0x1a5)](')');return;}else{if(_0xd1d795===0x1){for(let _0x4514f7=0x0;_0x4514f7<_0x3e5417-0x1;_0x4514f7++){const _0x258e8f=_0x3a679b[_0x4514f7];if(_0x258e8f instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)]&&_0x4514f7%0x2===0x0){const _0x5d8f2a=_0x258e8f[_0x55e0be(0x164)]()[0x0];if(typeof _0x5d8f2a===_0x55e0be(0x158)){if(this[_0x55e0be(0x174)][_0x55e0be(0x160)](_0x5d8f2a))console[_0x55e0be(0x24d)](_0x55e0be(0x24c)+_0x5d8f2a+_0x55e0be(0x151));this[_0x55e0be(0x174)][_0x55e0be(0x1f2)](_0x5d8f2a),_0x3bc113[_0x55e0be(0x1a5)](''+this['_xlpmPrefix']+_0x5d8f2a),this[_0x55e0be(0x150)]=!![],_0x3bc113[_0x55e0be(0x1a5)](',');continue;}}this[_0x55e0be(0x245)](_0x258e8f,_0x3bc113,_0x2dcfe4);if(_0x258e8f instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)]){const _0x20cb30=_0x3a679b[_0x4514f7+0x1];if(_0x20cb30&&_0x20cb30 instanceof _univerjs_engine_formula['LexerNode'])_0x3bc113[_0x55e0be(0x1a5)](',');}}this[_0x55e0be(0x245)](_0x3a679b[_0x3e5417-0x1],_0x3bc113,_0x2dcfe4),_0x3bc113['push'](')');return;}else{if(_0xd1d795===0x8){const _0x1d219b=_0x3a679b[0x0],_0x228d5d=_0x3a679b[0x1];this['_handleNewFunctionChild'](_0x1d219b,_0x3bc113,_0x2dcfe4),_0x3bc113[_0x55e0be(0x1a5)](_0x58b503),this[_0x55e0be(0x245)](_0x228d5d,_0x3bc113,_0x2dcfe4);return;}}}for(let _0x1a4302=0x0;_0x1a4302<_0x3e5417;_0x1a4302++){const _0x54e901=_0x3a679b[_0x1a4302];this[_0x55e0be(0x245)](_0x54e901,_0x3bc113,_0x2dcfe4);if(_0x54e901 instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)]){const _0x44edb8=_0x3a679b[_0x1a4302+0x1];if(_0x44edb8&&_0x44edb8 instanceof _univerjs_engine_formula[_0x55e0be(0x1e8)])_0x3bc113[_0x55e0be(0x1a5)](',');}}if(_0xd1d795===0x7)_0x3bc113[_0x55e0be(0x1a5)](_0x58b503);if(_0x5e767a)_0x3bc113[_0x55e0be(0x1a5)](')');else{if(_0xd1d795===0x9)_0x3bc113[_0x55e0be(0x1a5)](')');}}[_0x1a6ba2(0x245)](_0x5e9ce5,_0x107bf4,_0x28dc4a){const _0x4b6b74=_0x1a6ba2;if(_0x5e9ce5 instanceof _univerjs_engine_formula[_0x4b6b74(0x1e8)])this[_0x4b6b74(0x1ef)](_0x5e9ce5,_0x107bf4,_0x28dc4a);else{if(this[_0x4b6b74(0x174)]['has'](_0x5e9ce5))_0x107bf4[_0x4b6b74(0x1a5)](''+this[_0x4b6b74(0x200)]+_0x5e9ce5),this[_0x4b6b74(0x150)]=!![];else _0x107bf4['push'](_0x5e9ce5);}}[_0x1a6ba2(0x171)](_0x4c4bd4){const _0x51b65e=_0x1a6ba2;let _0xe28141=_0x4c4bd4[_0x51b65e(0x19a)]();if(!_0xe28141)return _0xe28141;const _0x15d142=_0xe28141[0x0];if(_0x15d142===_univerjs_engine_formula['prefixToken']['AT']||_0x15d142===_univerjs_engine_formula[_0x51b65e(0x1b5)]['MINUS']||_0x15d142===_univerjs_engine_formula['prefixToken'][_0x51b65e(0x228)])_0xe28141=_0xe28141['slice'](0x1);if(!_0xe28141)return _0xe28141;const _0x370fa4=_0xe28141[_0xe28141['length']-0x1];if(_univerjs_engine_formula[_0x51b65e(0x202)][_0x51b65e(0x160)](_0x370fa4))_0xe28141=_0xe28141[_0x51b65e(0x1a3)](0x0,-0x1);return _0xe28141;}[_0x1a6ba2(0x1b2)](_0x4fdfcf){const _0x17d88b=_0x1a6ba2,_0x316baa=_0x4fdfcf[_0x17d88b(0x164)]()[0x0];if(!_0x316baa||!(_0x316baa instanceof _univerjs_engine_formula['LexerNode'])||_0x4fdfcf['getChildren']()['length']>0x1)return![];const _0x4d4cd6=_0x316baa['getChildren'](),_0x472c70=_0x4d4cd6[_0x17d88b(0x1b0)];if(_0x472c70===0x1)return![];for(let _0x3c6b9e=0x0;_0x3c6b9e<_0x472c70;_0x3c6b9e++){const _0xaf7863=_0x4d4cd6[_0x3c6b9e];if(!(_0xaf7863 instanceof _univerjs_engine_formula[_0x17d88b(0x1e8)])&&_univerjs_engine_formula[_0x17d88b(0x225)][_0x17d88b(0x160)](_0xaf7863))return!![];}return![];}[_0x1a6ba2(0x154)](_0x4bd6fe,_0x33ef1b,_0x21f5e3,_0x56e946,_0x3dc9ab){const _0x4338ab=_0x1a6ba2,_0x454783=this[_0x4338ab(0x1cb)](_0x4bd6fe,![]);if(!_0x454783||_0x454783===_univerjs_engine_formula['ErrorType'][_0x4338ab(0x258)]||Array[_0x4338ab(0x213)](_0x454783))return null;this['_clearPrefix'](),this[_0x4338ab(0x192)]=_0x33ef1b;const _0x579b5f=this[_0x4338ab(0x14c)](_0x454783,_0x21f5e3,_0x56e946,_0x3dc9ab);return this[_0x4338ab(0x192)]='',this[_0x4338ab(0x1f7)](),_0x579b5f;}[_0x1a6ba2(0x14c)](_0x21e5b5,_0x50ecc8,_0xb0c31c,_0x552b17){const _0x2e7ab7=_0x1a6ba2,_0x228678={'value':'','children':[],'startIndex':0x0};let _0x5314e9=_0x21e5b5;if(_0x5314e9 instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)]&&(_0x5314e9['getToken']()===_univerjs_engine_formula[_0x2e7ab7(0x1c5)]||_0x5314e9['getToken']()===_univerjs_engine_formula[_0x2e7ab7(0x190)])&&_0x5314e9[_0x2e7ab7(0x164)]()['length']===0x1)_0x5314e9=_0x5314e9[_0x2e7ab7(0x164)]()[0x0];if(!(_0x5314e9 instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)]))return this[_0x2e7ab7(0x201)](_0x5314e9,_0xb0c31c,_0x552b17);const _0x1761d9=_0x5314e9[_0x2e7ab7(0x164)](),_0x46bc9d=_0x1761d9[_0x2e7ab7(0x1b0)],_0x6cb965=[];this[_0x2e7ab7(0x1ef)](_0x5314e9,_0x6cb965,_0x50ecc8),_0x228678[_0x2e7ab7(0x20c)]=_0x6cb965[_0x2e7ab7(0x1ed)](''),_0x228678[_0x2e7ab7(0x1de)]=_0x5314e9[_0x2e7ab7(0x23a)]();const _0xca933=this['_getCurNodeTypeForExprTree'](_0x5314e9);if(_0xca933===0x2){const _0x4bb978=_0x1761d9[0x0];if(_0x4bb978 instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)]){if(_0x4bb978[_0x2e7ab7(0x224)]()[_0x2e7ab7(0x19a)]()!==_univerjs_engine_formula[_0x2e7ab7(0x1e2)])return _0x228678;this[_0x2e7ab7(0x1fe)](_0x4bb978,_0x228678,_0x50ecc8,_0xb0c31c,_0x552b17);}return _0x228678;}else{if(_0xca933===0x1){for(let _0x4cadd2=0x0;_0x4cadd2<_0x46bc9d-0x1;_0x4cadd2++){const _0x2f6400=_0x1761d9[_0x4cadd2];if(_0x2f6400 instanceof _univerjs_engine_formula['LexerNode']&&_0x4cadd2%0x2===0x1){const _0x390777=_0x2f6400['getChildren']();if(_0x390777[_0x2e7ab7(0x1b0)]===0x1&&!(_0x390777[0x0]instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)]))continue;const _0x5a5bb7=this[_0x2e7ab7(0x14c)](_0x2f6400,_0x50ecc8,_0xb0c31c,_0x552b17);_0x5a5bb7&&_0x228678[_0x2e7ab7(0x1e5)]['push'](_0x5a5bb7);}}return _0x228678;}else{if(_0xca933===0x8){const _0x11adeb=_0x1761d9[0x0];if(_0x11adeb instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)]){const _0x36b169=_0x11adeb[_0x2e7ab7(0x164)]()[0x0];if(_0x36b169 instanceof _univerjs_engine_formula['LexerNode'])_0x228678[_0x2e7ab7(0x1de)]=_0x36b169['getStartIndex']();}if(this[_0x2e7ab7(0x1d1)](_0x5314e9))return _0x228678;}else{if(_0xca933===0x7){const _0x35a48e=_0x1761d9[0x0];if(_0x35a48e instanceof _univerjs_engine_formula['LexerNode']){const _0x34e6b9=_0x35a48e[_0x2e7ab7(0x164)]()[0x0];if(_0x34e6b9 instanceof _univerjs_engine_formula[_0x2e7ab7(0x1e8)])_0x228678[_0x2e7ab7(0x1de)]=_0x34e6b9[_0x2e7ab7(0x23a)]();}}}}}return this[_0x2e7ab7(0x227)](_0x1761d9,_0xca933,_0x228678,_0x50ecc8,_0xb0c31c,_0x552b17),_0x228678;}[_0x1a6ba2(0x227)](_0xebf9c,_0x258126,_0x4584db,_0x3bccab,_0x1384e7,_0xa7bd71){const _0x1522bb=_0x1a6ba2;for(let _0x449804=0x0;_0x449804<_0xebf9c[_0x1522bb(0x1b0)];_0x449804++){let _0x39010e=_0xebf9c[_0x449804];if(!(_0x39010e instanceof _univerjs_engine_formula[_0x1522bb(0x1e8)])){const _0x2950d9=this[_0x1522bb(0x201)](_0x39010e,_0x1384e7,_0xa7bd71);_0x2950d9&&_0x4584db[_0x1522bb(0x1e5)][_0x1522bb(0x1a5)](_0x2950d9);continue;}const _0x50fc8d=_0x39010e[_0x1522bb(0x164)]();if(_0x50fc8d[_0x1522bb(0x1b0)]===0x1&&!(_0x50fc8d[0x0]instanceof _univerjs_engine_formula[_0x1522bb(0x1e8)])){const _0x2dba7f=_0x50fc8d[0x0];if(!_0x1384e7(this[_0x1522bb(0x192)],_0x2dba7f)&&!this[_0x1522bb(0x153)](_0x2dba7f,_0xa7bd71)&&!(0x0,_univerjs_engine_formula[_0x1522bb(0x207)])(_0x2dba7f))continue;}if(_0x258126===0x8){const _0x672ed2=_0x50fc8d[0x0];if(_0x672ed2 instanceof _univerjs_engine_formula[_0x1522bb(0x1e8)]){if((0x0,_univerjs_engine_formula[_0x1522bb(0x207)])(_0x672ed2[_0x1522bb(0x224)]()[_0x1522bb(0x19a)]()))continue;_0x39010e=_0x672ed2;}}const _0x44964e=this['_generateExprTree'](_0x39010e,_0x3bccab,_0x1384e7,_0xa7bd71);_0x44964e&&_0x4584db[_0x1522bb(0x1e5)][_0x1522bb(0x1a5)](_0x44964e);}}['_checkColonNodeForExprTree'](_0x44894f){const _0x2c4867=_0x1a6ba2,_0x40141c=_0x44894f[_0x2c4867(0x164)]();if(_0x40141c[_0x2c4867(0x1b0)]<0x2)return![];const _0x1eae24=_0x40141c[0x0],_0x4ae38a=_0x40141c[0x1];if(!(_0x1eae24 instanceof _univerjs_engine_formula[_0x2c4867(0x1e8)])||!(_0x4ae38a instanceof _univerjs_engine_formula[_0x2c4867(0x1e8)]))return![];const _0xe809=_0x1eae24['getChildren']()[0x0],_0x40928b=_0x4ae38a[_0x2c4867(0x164)]()[0x0];if(!(_0xe809 instanceof _univerjs_engine_formula['LexerNode'])||!(_0x40928b instanceof _univerjs_engine_formula['LexerNode']))return![];const _0x240e07=_0xe809[_0x2c4867(0x224)]()[_0x2c4867(0x19a)](),_0x66e926=_0x40928b[_0x2c4867(0x224)]()[_0x2c4867(0x19a)]();if((0x0,_univerjs_engine_formula[_0x2c4867(0x207)])(''+_0x240e07+_univerjs_engine_formula['matchToken']['COLON']+_0x66e926))return!![];return![];}[_0x1a6ba2(0x201)](_0x5ba8a1,_0x544129,_0x30555e){const _0x3fd1e4=_0x1a6ba2,_0x18345c=_0x5ba8a1[_0x3fd1e4(0x19a)]();if(_0x18345c[_0x3fd1e4(0x1a7)]('{')&&_0x18345c[_0x3fd1e4(0x195)]('}')||_0x544129(this[_0x3fd1e4(0x192)],_0x18345c)||this[_0x3fd1e4(0x153)](_0x18345c,_0x30555e)||(0x0,_univerjs_engine_formula[_0x3fd1e4(0x207)])(_0x18345c))return{'value':_0x18345c,'children':[],'startIndex':-0x1};return null;}[_0x1a6ba2(0x153)](_0x162a06,_0x2f7791){const _0x229063=_0x1a6ba2,{tableName:_0x2c7f6e}=(0x0,_univerjs_engine_formula[_0x229063(0x234)])(_0x162a06);if(_0x2f7791(this['_currentUnitId'],_0x2c7f6e))return _0x2c7f6e;return null;}[_0x1a6ba2(0x1fe)](_0x2e793c,_0x364ec2,_0x1e8b8a,_0xf1601a,_0x2ca2b7){const _0x437cbc=_0x1a6ba2,_0x3a66ff=_0x2e793c[_0x437cbc(0x164)]();for(let _0x39ae85=0x0;_0x39ae85<_0x3a66ff[_0x437cbc(0x1b0)];_0x39ae85++){const _0x565f5b=_0x3a66ff[_0x39ae85];if(!(_0x565f5b instanceof _univerjs_engine_formula[_0x437cbc(0x1e8)]))continue;const _0x487fcd=_0x565f5b[_0x437cbc(0x164)]();if(_0x487fcd['length']===0x1&&!(_0x487fcd[0x0]instanceof _univerjs_engine_formula[_0x437cbc(0x1e8)]))continue;const _0x4ee86a=this['_generateExprTree'](_0x565f5b,_0x1e8b8a,_0xf1601a,_0x2ca2b7);_0x4ee86a&&_0x364ec2[_0x437cbc(0x1e5)][_0x437cbc(0x1a5)](_0x4ee86a);}}[_0x1a6ba2(0x21e)](_0x980740){const _0x6627e3=_0x1a6ba2,_0x53934a=_0x980740[_0x6627e3(0x224)](),_0x40ad8c=_0x53934a[_0x6627e3(0x19a)]()[_0x6627e3(0x22c)]();let _0x23cfd6=0x0;if(_0x53934a===_univerjs_engine_formula[_0x6627e3(0x1c5)])_0x23cfd6=0x3;else{if(_0x53934a===_univerjs_engine_formula[_0x6627e3(0x190)])_0x23cfd6=0x4;else{if(_0x53934a===_univerjs_engine_formula[_0x6627e3(0x1e2)])_0x23cfd6=0x5;else{if(_0x40ad8c===_univerjs_engine_formula[_0x6627e3(0x15f)])_0x23cfd6=0x2;else{if(_0x40ad8c===_univerjs_engine_formula[_0x6627e3(0x1b1)])_0x23cfd6=0x1;else{if(_0x40ad8c===_univerjs_engine_formula[_0x6627e3(0x22b)][_0x6627e3(0x1d6)])_0x23cfd6=0x8;else{if(_univerjs_engine_formula['SUFFIX_TOKEN_SET']['has'](_0x40ad8c))_0x23cfd6=0x7;else{if(_0x40ad8c===_univerjs_engine_formula[_0x6627e3(0x1b5)]['MINUS']){if(this[_0x6627e3(0x1b2)](_0x980740))_0x23cfd6=0x9;}else _0x23cfd6=0xa;}}}}}}}return _0x23cfd6;}},name=_0x1a6ba2(0x169),version=_0x1a6ba2(0x1ee),FormulaDependencyProGenerator=class extends _univerjs_engine_formula[_0x1a6ba2(0x19f)]{constructor(..._0x2ce325){super(..._0x2ce325),_defineProperty(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0xdb3d39=_0x1a6ba2;super[_0xdb3d39(0x242)](),this[_0xdb3d39(0x14f)][_0xdb3d39(0x180)]();}async['generate'](_0x2a0af2=![]){const _0x4c9a32=_0x1a6ba2;this[_0x4c9a32(0x20f)]();const _0x15e692=this[_0x4c9a32(0x256)][_0x4c9a32(0x1e7)](),_0x4a212d=this[_0x4c9a32(0x194)][_0x4c9a32(0x189)](),_0x4041f4=this[_0x4c9a32(0x256)]['getClearDependencyTreeCache']();if(_0x4041f4!=null)Object[_0x4c9a32(0x1c9)](_0x4041f4)['forEach'](_0x1ed7ef=>{const _0x5519a5=_0x4c9a32;if(_0x1ed7ef==null)return;Object[_0x5519a5(0x1c9)](_0x4041f4[_0x1ed7ef])[_0x5519a5(0x18a)](_0x5dfb44=>{const _0x27e5cb=_0x5519a5;if(_0x5dfb44==null)return;this[_0x27e5cb(0x157)][_0x27e5cb(0x152)](_0x1ed7ef,_0x5dfb44),this[_0x27e5cb(0x157)][_0x27e5cb(0x23e)](_0x1ed7ef,_0x5dfb44),this[_0x27e5cb(0x157)][_0x27e5cb(0x24b)](_0x1ed7ef,_0x5dfb44);});});const _0x424dca=this[_0x4c9a32(0x256)]['getUnitData']();await this[_0x4c9a32(0x1f8)](_0x15e692,_0x4a212d,_0x424dca),this[_0x4c9a32(0x157)][_0x4c9a32(0x20e)]();const _0x4664e1=this[_0x4c9a32(0x173)](),_0x56a8db=this[_0x4c9a32(0x1d7)](_0x4664e1);if(this[_0x4c9a32(0x1c3)](_0x56a8db))this[_0x4c9a32(0x182)][_0x4c9a32(0x1da)]();if(_0x2a0af2)this[_0x4c9a32(0x182)][_0x4c9a32(0x183)](this[_0x4c9a32(0x1a0)](Array[_0x4c9a32(0x246)](this[_0x4c9a32(0x14f)]['values']())));return this['_dependencyTreeCache']['clear'](),this[_0x4c9a32(0x1b8)][_0x4c9a32(0x180)](),this[_0x4c9a32(0x157)][_0x4c9a32(0x240)](),this[_0x4c9a32(0x182)][_0x4c9a32(0x25a)](),Promise[_0x4c9a32(0x1c2)](_0x56a8db);}[_0x1a6ba2(0x1e9)](_0x563f2a,_0x3449be){const _0x2afbeb=_0x1a6ba2,_0x32ae27=0x0,_0x5de61a=0x1,_0x56d9b9=0x2,_0x2973e1=[_0x563f2a];while(_0x2973e1['length']>0x0){const _0x4ff1f4=_0x2973e1[_0x2973e1['length']-0x1];if((_0x3449be['get'](_0x4ff1f4)||_0x32ae27)===_0x32ae27){_0x3449be[_0x2afbeb(0x205)](_0x4ff1f4,_0x5de61a);const _0x46f2ce=this['_dependencyTreeCache'][_0x2afbeb(0x188)](_0x4ff1f4);if(_0x46f2ce==null){_0x3449be[_0x2afbeb(0x205)](_0x4ff1f4,_0x56d9b9),_0x2973e1[_0x2afbeb(0x1a1)]();continue;}const _0x5c3c08=this['_dependencyManagerService'][_0x2afbeb(0x16c)](_0x46f2ce[_0x2afbeb(0x1d3)]());for(const _0x2fae8c of _0x5c3c08){const _0x111ab8=_0x3449be[_0x2afbeb(0x188)](_0x2fae8c)||_0x32ae27;if(_0x111ab8===_0x5de61a)return!![];else{if(_0x111ab8===_0x32ae27)_0x2973e1[_0x2afbeb(0x1a5)](_0x2fae8c);}}}else _0x3449be[_0x2afbeb(0x205)](_0x4ff1f4,_0x56d9b9),_0x2973e1['pop']();}return![];}[_0x1a6ba2(0x1c3)](_0x449686){const _0x3f1ef0=_0x1a6ba2,_0x2e22ea=new Map();for(const _0x59df09 of _0x449686)if(!_0x2e22ea[_0x3f1ef0(0x160)](_0x59df09[_0x3f1ef0(0x22a)])){if(this[_0x3f1ef0(0x1e9)](_0x59df09['treeId'],_0x2e22ea))return!![];}return _0x2e22ea[_0x3f1ef0(0x180)](),![];}[_0x1a6ba2(0x20d)](_0x5d9376,_0x169a74,_0xf4686){const _0x3896c9=_0x1a6ba2,{unitId:_0x3aa464,subUnitId:_0x4070fb,dependencyRanges:_0x3bdfb1,getDirtyData:_0x47c686}=_0xf4686,_0x395e63=new _univerjs_engine_formula[(_0x3896c9(0x1dc))](_0x169a74||(0x0,_univerjs_engine_formula[_0x3896c9(0x239)])(this['_dependencyManagerService']));_0x395e63[_0x3896c9(0x244)]=_0x3aa464,_0x395e63['subUnitId']=_0x4070fb,_0x395e63[_0x3896c9(0x16b)]=_0x3bdfb1,_0x395e63['getDirtyData']=_0x47c686;const _0x5cb237=_0x47c686(this[_0x3896c9(0x256)][_0x3896c9(0x250)](),this['_runtimeService'][_0x3896c9(0x1c0)]());_0x395e63[_0x3896c9(0x259)]=this[_0x3896c9(0x196)](_0x5cb237[_0x3896c9(0x187)]),_0x395e63[_0x3896c9(0x1fd)]=_0x5d9376,_0x395e63[_0x3896c9(0x216)]=_univerjs_engine_formula[_0x3896c9(0x221)]['FEATURE_FORMULA'],this[_0x3896c9(0x157)]['addFeatureFormulaDependency'](_0x3aa464,_0x4070fb,_0x5d9376,_0x395e63),this[_0x3896c9(0x14f)][_0x3896c9(0x205)](_0x395e63[_0x3896c9(0x22a)],_0x395e63);if(this[_0x3896c9(0x157)][_0x3896c9(0x15c)](_0xf4686[_0x3896c9(0x244)],_0xf4686[_0x3896c9(0x204)],_0x5d9376))_0x395e63['isCache']=!![];return _0x395e63;}[_0x1a6ba2(0x1f0)](_0x5c5de3,_0x7e6961,_0x1a5f35){const _0x4c4afb=_0x1a6ba2;for(const _0x5cb4f6 of _0x7e6961){const _0xe375e2=_0x5c5de3[_0x5cb4f6];if(_0xe375e2==null)continue;const _0x3d2c9b=Object[_0x4c4afb(0x1c9)](_0xe375e2);for(const _0x5b2eb of _0x3d2c9b){const _0x5367a0=_0xe375e2[_0x5b2eb];if(_0x5367a0==null)continue;const {rowCount:rowCount=Infinity,columnCount:columnCount=Infinity}=this[_0x4c4afb(0x256)][_0x4c4afb(0x166)](_0x5cb4f6,_0x5b2eb)||{},_0x37eb4e=Object[_0x4c4afb(0x1c9)](_0x5367a0);for(const _0x1dbde6 of _0x37eb4e){var _0x5b820b;const _0x2ee4a3=this[_0x4c4afb(0x157)][_0x4c4afb(0x1d4)](_0x1dbde6),{f:_0x41202a,ranges:_0x14ad6d}=_0x5367a0[_0x1dbde6];let _0x344689=![];if(_0x2ee4a3)_0x344689=!![];const {firstRow:_0x239489,firstColumn:_0x1e0a2f}=this['_getFirstCellOfRange'](_0x14ad6d),_0x3e8e6e=this[_0x4c4afb(0x157)]['getOtherFormulaDependency'](_0x5cb4f6,_0x5b2eb,_0x1dbde6),_0x41270c=new _univerjs_engine_formula[(_0x4c4afb(0x1dc))]((_0x5b820b=_0x3e8e6e===null||_0x3e8e6e===void 0x0?void 0x0:_0x3e8e6e[_0x4c4afb(0x1bc)](0x0,0x0))!==null&&_0x5b820b!==void 0x0?_0x5b820b:(0x0,_univerjs_engine_formula['generateRandomDependencyTreeId'])(this['_dependencyManagerService']));for(let _0x2ade22=0x0;_0x2ade22<_0x14ad6d['length'];_0x2ade22++){const _0x3a80c8=_0x14ad6d[_0x2ade22],{startRow:_0x174089,startColumn:_0x55d347}=_0x3a80c8;let {endRow:_0x4e6a90,endColumn:_0x524245}=_0x3a80c8;_0x4e6a90=Math['min'](_0x4e6a90,rowCount-0x1),_0x524245=Math[_0x4c4afb(0x212)](_0x524245,columnCount-0x1);for(let _0x17fb90=_0x174089;_0x17fb90<=_0x4e6a90;_0x17fb90++)for(let _0x549c1f=_0x55d347;_0x549c1f<=_0x524245;_0x549c1f++){const _0x265d21=_0x549c1f-_0x1e0a2f,_0x30ffd4=_0x17fb90-_0x239489;if(_0x265d21===0x0&&_0x30ffd4===0x0){_0x41270c['formula']=_0x41202a,_0x41270c[_0x4c4afb(0x244)]=_0x5cb4f6,_0x41270c[_0x4c4afb(0x204)]=_0x5b2eb,_0x41270c[_0x4c4afb(0x255)]=_0x1dbde6,_0x41270c[_0x4c4afb(0x216)]=_univerjs_engine_formula[_0x4c4afb(0x221)][_0x4c4afb(0x229)],_0x41270c['isCache']=_0x344689,_0x1a5f35[_0x4c4afb(0x1a5)](_0x41270c),this['_dependencyTreeCache'][_0x4c4afb(0x205)](_0x41270c[_0x4c4afb(0x22a)],_0x41270c),this[_0x4c4afb(0x157)][_0x4c4afb(0x1bf)](_0x5cb4f6,_0x5b2eb,_0x1dbde6,_0x41270c),this['_dependencyManagerService'][_0x4c4afb(0x1dd)](_0x41270c);continue;}const _0x17c177=new _univerjs_engine_formula[(_0x4c4afb(0x1a6))]();_0x17c177[_0x4c4afb(0x22a)]=(_0x3e8e6e===null||_0x3e8e6e===void 0x0?void 0x0:_0x3e8e6e[_0x4c4afb(0x1bc)](_0x265d21,_0x30ffd4))||(0x0,_univerjs_engine_formula[_0x4c4afb(0x239)])(this[_0x4c4afb(0x157)]),_0x17c177['refTree']=_0x41270c,_0x17c177['refOffsetX']=_0x265d21,_0x17c177[_0x4c4afb(0x17c)]=_0x30ffd4,_0x17c177[_0x4c4afb(0x17e)]=_0x344689,_0x17c177[_0x4c4afb(0x216)]=_univerjs_engine_formula[_0x4c4afb(0x221)]['OTHER_FORMULA'],this['_dependencyManagerService']['addOtherFormulaDependency'](_0x5cb4f6,_0x5b2eb,_0x1dbde6,_0x17c177),this[_0x4c4afb(0x157)][_0x4c4afb(0x1dd)](_0x17c177),_0x1a5f35['push'](_0x17c177),this['_dependencyTreeCache'][_0x4c4afb(0x205)](_0x17c177[_0x4c4afb(0x22a)],_0x17c177);}}this['_dependencyManagerService'][_0x4c4afb(0x1f5)](_0x1dbde6);}}}}['_registerFormulas'](_0x34f3f3,_0x192739,_0x12324c,_0x50d14b){const _0x4ac639=_0x1a6ba2;for(const _0x5e834c of _0x34f3f3){const _0x362fce=_0x192739[_0x5e834c];if(_0x362fce==null)continue;const _0x1f9663=Object[_0x4ac639(0x1c9)](_0x362fce);for(const _0x30fbed of _0x1f9663){const _0x4bffbd=new _univerjs_core[(_0x4ac639(0x24f))](_0x362fce[_0x30fbed]||{}),_0xcaed7b=new Map();_0x4bffbd['forValue']((_0x79e651,_0x40961b,_0x312e96)=>{const _0x592c7a=_0x4ac639;if(_0x312e96==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x203dfa}=_0x312e96;if(!(x===0x0&&y===0x0&&_0x203dfa!=null))return!![];const _0x2066b4=this['_createFDtree'](_0x5e834c,_0x30fbed,_0x79e651,_0x40961b,_0x12324c,_0x312e96),_0xf7aa50=this[_0x592c7a(0x157)][_0x592c7a(0x247)](_0x5e834c,_0x30fbed,_0x79e651,_0x40961b);if(_0xf7aa50!=null)_0x2066b4[_0x592c7a(0x22a)]=_0xf7aa50;else this['_dependencyManagerService']['addFormulaDependency'](_0x5e834c,_0x30fbed,_0x79e651,_0x40961b,_0x2066b4),this[_0x592c7a(0x157)]['addFormulaDependencyByDefinedName'](_0x2066b4);_0xcaed7b[_0x592c7a(0x205)](_0x203dfa,_0x2066b4),_0x50d14b[_0x592c7a(0x1a5)](_0x2066b4),this[_0x592c7a(0x14f)]['set'](_0x2066b4[_0x592c7a(0x22a)],_0x2066b4);}),_0x4bffbd['forValue']((_0x4a9133,_0x27c492,_0x31aef3)=>{const _0x1d0c3d=_0x4ac639;if(_0x31aef3==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x28da18}=_0x31aef3;if(x===0x0&&y===0x0&&_0x28da18!=null)return!![];let _0x40b51e;if(_0x28da18&&_0xcaed7b[_0x1d0c3d(0x160)](_0x28da18)){const _0x24c1ff=_0xcaed7b[_0x1d0c3d(0x188)](_0x28da18);_0x40b51e=this[_0x1d0c3d(0x17b)](_0x24c1ff,_0x31aef3);}else _0x40b51e=this[_0x1d0c3d(0x15e)](_0x5e834c,_0x30fbed,_0x4a9133,_0x27c492,_0x12324c,_0x31aef3);const _0x260a60=this['_dependencyManagerService']['getFormulaDependency'](_0x5e834c,_0x30fbed,_0x4a9133,_0x27c492);if(_0x260a60!=null)_0x40b51e[_0x1d0c3d(0x22a)]=_0x260a60;else this[_0x1d0c3d(0x157)][_0x1d0c3d(0x165)](_0x5e834c,_0x30fbed,_0x4a9133,_0x27c492,_0x40b51e),this[_0x1d0c3d(0x157)]['addFormulaDependencyByDefinedName'](_0x40b51e);_0x50d14b['push'](_0x40b51e),this[_0x1d0c3d(0x14f)][_0x1d0c3d(0x205)](_0x40b51e[_0x1d0c3d(0x22a)],_0x40b51e);}),_0xcaed7b['clear']();}}}[_0x1a6ba2(0x15e)](_0x5676d0,_0x2bb42f,_0xc5cb9d,_0x3f07c7,_0x55613a,_0x508db7){const _0x445dcf=_0x1a6ba2,{f:_0xbadf75,x:x=0x0,y:y=0x0}=_0x508db7,_0x393fb2=new _univerjs_engine_formula[(_0x445dcf(0x1dc))]((0x0,_univerjs_engine_formula[_0x445dcf(0x239)])(this[_0x445dcf(0x157)])),_0x49e83b=_0x55613a[_0x5676d0][_0x2bb42f];return _0x393fb2[_0x445dcf(0x15b)]=_0xbadf75,_0x393fb2[_0x445dcf(0x244)]=_0x5676d0,_0x393fb2[_0x445dcf(0x204)]=_0x2bb42f,_0x393fb2[_0x445dcf(0x16e)]=_0xc5cb9d,_0x393fb2[_0x445dcf(0x24a)]=_0x3f07c7,_0x393fb2['rowCount']=_0x49e83b[_0x445dcf(0x16a)],_0x393fb2[_0x445dcf(0x21d)]=_0x49e83b[_0x445dcf(0x21d)],_0x393fb2;}['_getUpdateTreeListAndMakeDependency'](){const _0x3f041a=_0x1a6ba2,_0x3b5ea8=[],_0xd82048=new Set(),_0x2b59af=this['_currentConfigService'][_0x3f041a(0x18e)](),_0xd22845=this[_0x3f041a(0x256)]['getDirtyRanges'](),_0x5caa38=this[_0x3f041a(0x157)][_0x3f041a(0x16c)](_0xd22845),_0x53eeec=this[_0x3f041a(0x1b8)]['bulkSearch'](_0xd22845);for(const _0x54b9e4 of _0x53eeec)_0x5caa38[_0x3f041a(0x1f2)](_0x54b9e4);for(const [_0x141eba,_0x27b4cd]of this['_dependencyTreeCache'])(_0x2b59af||_0x27b4cd['isDirty']||_0x27b4cd[_0x3f041a(0x1eb)](this[_0x3f041a(0x256)][_0x3f041a(0x19e)]())||_0x5caa38[_0x3f041a(0x160)](_0x141eba)&&!_0x27b4cd[_0x3f041a(0x1e3)](this['_currentConfigService'][_0x3f041a(0x1f1)]()))&&!_0xd82048['has'](_0x141eba)&&(_0x3b5ea8[_0x3f041a(0x1a5)](_0x27b4cd),_0xd82048[_0x3f041a(0x1f2)](_0x141eba));for(const [_0x44c678,_0x68a8ac]of this[_0x3f041a(0x14f)]){if(_0x68a8ac[_0x3f041a(0x226)])continue;_0x68a8ac['rangeList'][_0x3f041a(0x1b0)]=0x0;}return _0x3b5ea8;}[_0x1a6ba2(0x209)](_0xa689e9){const _0x5abadc=_0x1a6ba2;return this[_0x5abadc(0x14f)][_0x5abadc(0x188)](_0xa689e9);}[_0x1a6ba2(0x155)](_0x1685be){const _0x557cc9=_0x1a6ba2;return(0x0,_univerjs_engine_formula['generateAstNode'])(_0x1685be[_0x557cc9(0x244)],_0x1685be[_0x557cc9(0x15b)],this[_0x557cc9(0x15d)],this['_astTreeBuilder'],this[_0x557cc9(0x256)]);}*[_0x1a6ba2(0x218)](_0x100c98,_0x20e238){const _0x331301=_0x1a6ba2,_0x404e54=_0x100c98,_0x40b921=new Set();while(_0x404e54['length']>0x0){const _0x6ee3a=_0x404e54['pop']();_0x40b921[_0x331301(0x180)]();if(_0x6ee3a===void 0x0||_0x6ee3a['isSkip']())continue;if(_0x6ee3a[_0x331301(0x1f9)]()){yield _0x6ee3a,_0x6ee3a[_0x331301(0x203)](),_0x20e238[_0x331301(0x1f2)](_0x6ee3a[_0x331301(0x22a)]);continue;}const _0x4ab845=this[_0x331301(0x157)][_0x331301(0x16c)](_0x6ee3a[_0x331301(0x1d3)](),_0x20e238),_0x4d1f16=this['_dependencyRTreeCacheForAddressFunction'][_0x331301(0x185)](_0x6ee3a['toRTreeItem'](),_0x20e238);for(const _0x36e215 of _0x4d1f16)_0x4ab845[_0x331301(0x1f2)](_0x36e215);for(const _0x193a18 of _0x4ab845){const _0x71551e=this[_0x331301(0x14f)][_0x331301(0x188)](_0x193a18);if(!_0x71551e){console[_0x331301(0x24d)](_0x331301(0x1be),_0x193a18);continue;}if(_0x71551e[_0x331301(0x1f9)]()||_0x6ee3a[_0x331301(0x14e)]())continue;_0x40b921[_0x331301(0x1f2)](_0x71551e);}_0x4ab845[_0x331301(0x180)]();if(_0x40b921[_0x331301(0x167)]===0x0)yield _0x6ee3a,_0x6ee3a[_0x331301(0x203)](),_0x20e238[_0x331301(0x1f2)](_0x6ee3a[_0x331301(0x22a)]);else{_0x6ee3a[_0x331301(0x163)](),_0x404e54[_0x331301(0x1a5)](_0x6ee3a);for(const _0x3a853e of _0x40b921)_0x404e54['push'](_0x3a853e);}}_0x404e54[_0x331301(0x1b0)]=0x0,_0x40b921[_0x331301(0x180)]();}['_calculateRunList'](_0x38516f){const _0x216274=_0x1a6ba2,_0x5cebc4=[],_0x311a83=new Set();for(const _0x5448ee of this[_0x216274(0x218)](_0x38516f,_0x311a83))_0x5cebc4[_0x216274(0x1a5)](_0x5448ee);return _0x5cebc4;}async[_0x1a6ba2(0x1c6)](){const _0x5cbba0=_0x1a6ba2;return await this[_0x5cbba0(0x181)](),Array[_0x5cbba0(0x246)](this['_dependencyTreeCache'][_0x5cbba0(0x206)]());}[_0x1a6ba2(0x17f)](_0x432f7e){const _0x14f585=_0x1a6ba2;return this[_0x14f585(0x157)][_0x14f585(0x16c)](_0x432f7e[_0x14f585(0x1d3)]());}[_0x1a6ba2(0x210)](_0x37a2ae){const _0x512190=_0x1a6ba2,_0xe0aa95=new Set(),_0x20b2a3=_0x37a2ae[_0x512190(0x16b)];for(const [_0x4d74b9,_0x51910e]of this[_0x512190(0x14f)])for(const _0x3dd8f3 of _0x20b2a3){const _0x1c05fd=_0x3dd8f3['unitId'],_0xffb08a=_0x3dd8f3[_0x512190(0x1b4)];if(_0x51910e[_0x512190(0x244)]!==_0x1c05fd||_0x51910e['subUnitId']!==_0xffb08a)continue;const _0x32ff00=_0x3dd8f3['range'];if(_0x51910e[_0x512190(0x211)](_0x32ff00)){_0xe0aa95[_0x512190(0x1f2)](_0x4d74b9);break;}}return _0xe0aa95;}[_0x1a6ba2(0x230)](){const _0x5d8c32=_0x1a6ba2;this[_0x5d8c32(0x157)]['openKdTree']();}['_endFormulaDependencyTreeModel'](){const _0x2f9433=_0x1a6ba2;this[_0x2f9433(0x176)]['clear'](),this[_0x2f9433(0x14f)][_0x2f9433(0x180)](),this['_dependencyManagerService'][_0x2f9433(0x240)]();}},CalculateFormulaProService=class extends _univerjs_engine_formula[_0x1a6ba2(0x156)]{async[_0x1a6ba2(0x235)](_0x329449=![]){const _0x3f5bc4=_0x1a6ba2;if(_0x329449)this[_0x3f5bc4(0x182)]['setFormulaExecuteStage'](_univerjs_engine_formula[_0x3f5bc4(0x1c1)][_0x3f5bc4(0x177)]);else this[_0x3f5bc4(0x182)][_0x3f5bc4(0x19d)](_univerjs_engine_formula[_0x3f5bc4(0x1c1)][_0x3f5bc4(0x249)]);this['_executionInProgressListener$'][_0x3f5bc4(0x21a)](this[_0x3f5bc4(0x182)][_0x3f5bc4(0x21b)]());const _0x21f638=await this[_0x3f5bc4(0x1c7)][_0x3f5bc4(0x243)](this[_0x3f5bc4(0x1ea)]),_0x3bc32a=this[_0x3f5bc4(0x1df)];_0x329449?(this[_0x3f5bc4(0x182)][_0x3f5bc4(0x19d)](_univerjs_engine_formula[_0x3f5bc4(0x1c1)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x3f5bc4(0x182)][_0x3f5bc4(0x24e)](_0x21f638[_0x3f5bc4(0x1b0)])):(this[_0x3f5bc4(0x182)][_0x3f5bc4(0x19d)](_univerjs_engine_formula['FormulaExecuteStageType'][_0x3f5bc4(0x178)]),this['_runtimeService'][_0x3f5bc4(0x1e0)](_0x21f638[_0x3f5bc4(0x1b0)]));this[_0x3f5bc4(0x251)][_0x3f5bc4(0x21a)](this[_0x3f5bc4(0x182)][_0x3f5bc4(0x21b)]());let _0x2ee0c7=[];const _0x4a5dd8=this[_0x3f5bc4(0x1c8)][_0x3f5bc4(0x1fa)](_univerjs_engine_formula['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x35dc17=(_0x4a5dd8===null||_0x4a5dd8===void 0x0?void 0x0:_0x4a5dd8[_0x3f5bc4(0x1b3)])||_univerjs_engine_formula['DEFAULT_INTERVAL_COUNT'];let _0x34de08=0x0;const _0x103066=_0x21f638[_0x3f5bc4(0x1b0)];while(_0x21f638[_0x3f5bc4(0x1b0)]>0x0){const _0x5370c3=_0x21f638[_0x3f5bc4(0x1a1)](),_0x16dcdb=(0x0,_univerjs_engine_formula[_0x3f5bc4(0x1d9)])(_0x5370c3[_0x3f5bc4(0x244)],_0x5370c3[_0x3f5bc4(0x15b)],this[_0x3f5bc4(0x15d)],this[_0x3f5bc4(0x231)],this['_currentConfigService']),_0x2da58d={'node':_0x16dcdb,'refOffsetX':_0x5370c3['refOffsetX'],'refOffsetY':_0x5370c3[_0x3f5bc4(0x17c)]},_0x1f5220=_0x5370c3[_0x3f5bc4(0x250)];if(_0x34de08%_0x35dc17===0x0){await new Promise(_0x290bbf=>{const _0x57225d=_0x3f5bc4,_0x39bb65=(0x0,_univerjs_core[_0x57225d(0x18b)])(_0x290bbf);_0x2ee0c7[_0x57225d(0x1a5)](_0x39bb65);});_0x329449?(this[_0x3f5bc4(0x182)]['setFormulaExecuteStage'](_univerjs_engine_formula[_0x3f5bc4(0x1c1)][_0x3f5bc4(0x1cc)]),this[_0x3f5bc4(0x182)]['setCompletedArrayFormulasCount'](_0x34de08+0x1)):(this[_0x3f5bc4(0x182)][_0x3f5bc4(0x19d)](_univerjs_engine_formula['FormulaExecuteStageType'][_0x3f5bc4(0x219)]),this[_0x3f5bc4(0x182)][_0x3f5bc4(0x1b6)](_0x34de08+0x1));this[_0x3f5bc4(0x251)]['next'](this[_0x3f5bc4(0x182)]['getRuntimeState']());if(this[_0x3f5bc4(0x182)]['isStopExecution']()||_0x2da58d==null&&_0x1f5220==null){this['_runtimeService'][_0x3f5bc4(0x19d)](_univerjs_engine_formula[_0x3f5bc4(0x1c1)][_0x3f5bc4(0x1a4)]),this[_0x3f5bc4(0x182)][_0x3f5bc4(0x23c)](),this[_0x3f5bc4(0x17d)][_0x3f5bc4(0x21a)](this[_0x3f5bc4(0x182)][_0x3f5bc4(0x1c0)]());return;}}this['_runtimeService']['setCurrent'](_0x5370c3[_0x3f5bc4(0x16e)],_0x5370c3[_0x3f5bc4(0x24a)],_0x5370c3[_0x3f5bc4(0x16a)],_0x5370c3['columnCount'],_0x5370c3['subUnitId'],_0x5370c3[_0x3f5bc4(0x244)]);let _0x244eb7;if(_0x1f5220!=null&&_0x5370c3[_0x3f5bc4(0x1fd)]!=null){const {runtimeCellData:_0x14bf64,dirtyRanges:_0x10a3f5}=_0x1f5220(this['_currentConfigService'][_0x3f5bc4(0x250)](),this[_0x3f5bc4(0x182)][_0x3f5bc4(0x1c0)]());this[_0x3f5bc4(0x182)]['setRuntimeFeatureCellData'](_0x5370c3['featureId'],_0x14bf64),this[_0x3f5bc4(0x182)][_0x3f5bc4(0x16d)](_0x5370c3[_0x3f5bc4(0x1fd)],_0x10a3f5);}else{if(_0x2da58d!=null){if(_0x3bc32a[_0x3f5bc4(0x1ba)](_0x2da58d['node']))_0x244eb7=await _0x3bc32a['executeAsync'](_0x2da58d);else _0x244eb7=_0x3bc32a[_0x3f5bc4(0x198)](_0x2da58d);if(_0x5370c3['formulaId']!=null)this[_0x3f5bc4(0x182)][_0x3f5bc4(0x1f3)](_0x5370c3['formulaId'],_0x5370c3['refOffsetX'],_0x5370c3[_0x3f5bc4(0x17c)],_0x244eb7);else this['_runtimeService'][_0x3f5bc4(0x1e6)](_0x244eb7);}}_0x16dcdb['resetCalculationState'](),_0x34de08++;}_0x2ee0c7[_0x3f5bc4(0x18a)](_0x5f130d=>_0x5f130d()),_0x2ee0c7=[];if(_0x103066>0x0)this[_0x3f5bc4(0x182)][_0x3f5bc4(0x23d)]();else{if(!_0x329449)this[_0x3f5bc4(0x182)][_0x3f5bc4(0x1ae)]();}return this['_runtimeService'][_0x3f5bc4(0x1c0)]();}},DependencyManagerProService=class extends _univerjs_engine_formula[_0x1a6ba2(0x1d2)]{constructor(..._0xb5a423){const _0x185447=_0x1a6ba2;super(..._0xb5a423),_defineProperty(this,_0x185447(0x21f),new Map()),_defineProperty(this,_0x185447(0x1fb),new _univerjs_core[(_0x185447(0x220))](!![]));}['reset'](){const _0x3c2cbe=_0x1a6ba2;this[_0x3c2cbe(0x170)][_0x3c2cbe(0x180)](),this['_featureFormulaData'][_0x3c2cbe(0x180)](),this[_0x3c2cbe(0x20b)]['clear'](),this[_0x3c2cbe(0x1fb)][_0x3c2cbe(0x180)](),this[_0x3c2cbe(0x21f)][_0x3c2cbe(0x180)](),this[_0x3c2cbe(0x215)](),this[_0x3c2cbe(0x199)][_0x3c2cbe(0x180)]();}['addOtherFormulaDependency'](_0x1c27a4,_0x4d134c,_0x5b607d,_0x27256f){const _0xd81a52=_0x1a6ba2;if(!this[_0xd81a52(0x170)]['has'](_0x1c27a4))this[_0xd81a52(0x170)][_0xd81a52(0x205)](_0x1c27a4,new Map());const _0x24ed3d=this['_otherFormulaData'][_0xd81a52(0x188)](_0x1c27a4);if(!_0x24ed3d[_0xd81a52(0x160)](_0x4d134c))_0x24ed3d['set'](_0x4d134c,new Map());const _0x3c53b6=_0x24ed3d[_0xd81a52(0x188)](_0x4d134c);if(!_0x3c53b6[_0xd81a52(0x160)](_0x5b607d))_0x3c53b6[_0xd81a52(0x205)](_0x5b607d,new _univerjs_core[(_0xd81a52(0x24f))]());_0x3c53b6['get'](_0x5b607d)[_0xd81a52(0x20a)](_0x27256f[_0xd81a52(0x184)],_0x27256f['refOffsetY'],_0x27256f[_0xd81a52(0x22a)]);}[_0x1a6ba2(0x18c)](_0x45bb09,_0x45753b,_0x47b720){const _0x8ad0ef=_0x1a6ba2,_0x4c500b=this[_0x8ad0ef(0x170)]['get'](_0x45bb09);if(_0x4c500b&&_0x4c500b[_0x8ad0ef(0x160)](_0x45753b)){const _0x47ca95=_0x4c500b[_0x8ad0ef(0x188)](_0x45753b);_0x47b720[_0x8ad0ef(0x18a)](_0x1375bb=>{const _0xec7da3=_0x8ad0ef,_0x3e20bb=_0x47ca95[_0xec7da3(0x188)](_0x1375bb);if(_0x3e20bb==null)return;_0x3e20bb[_0xec7da3(0x186)]((_0x4d3954,_0xc7e437,_0x2ba708)=>{const _0x136a58=_0xec7da3;this[_0x136a58(0x15a)](_0x2ba708),this['_removeAllTreeMap'](_0x2ba708);}),_0x47ca95['delete'](_0x1375bb),this[_0xec7da3(0x199)][_0xec7da3(0x1ab)](_0x1375bb);});if(_0x47ca95[_0x8ad0ef(0x167)]===0x0)_0x4c500b[_0x8ad0ef(0x1ab)](_0x45753b);if(_0x4c500b[_0x8ad0ef(0x167)]===0x0)this[_0x8ad0ef(0x170)][_0x8ad0ef(0x1ab)](_0x45bb09);}}[_0x1a6ba2(0x152)](_0x336117,_0x1acf0c){const _0xdbe408=_0x1a6ba2,_0x514a3e=this['_otherFormulaData'][_0xdbe408(0x188)](_0x336117);if(_0x1acf0c&&_0x514a3e&&_0x514a3e['has'](_0x1acf0c)){const _0x37690=_0x514a3e[_0xdbe408(0x188)](_0x1acf0c);this['_removeDependencyRTreeCacheById'](_0x336117,_0x1acf0c);for(const _0x1b7adc of _0x37690['keys']()){const _0x5101ec=_0x37690[_0xdbe408(0x188)](_0x1b7adc);if(_0x5101ec==null)continue;_0x5101ec[_0xdbe408(0x186)]((_0x1e3de2,_0x2df5fa,_0x340e1e)=>{const _0x4b057b=_0xdbe408;if(this[_0x4b057b(0x21f)][_0x4b057b(0x188)](_0x340e1e))this['_removeAllTreeMap'](_0x340e1e);}),this[_0xdbe408(0x199)][_0xdbe408(0x1ab)](_0x1b7adc);}_0x37690[_0xdbe408(0x180)]();}else{if(_0x514a3e){for(const _0x149891 of _0x514a3e[_0xdbe408(0x1c9)]()){const _0x3314d5=_0x514a3e['get'](_0x149891);this['_removeDependencyRTreeCacheById'](_0x336117,_0x149891);for(const _0x7577ed of _0x3314d5[_0xdbe408(0x1c9)]()){const _0x5067b1=_0x3314d5['get'](_0x7577ed);if(_0x5067b1==null)continue;_0x5067b1[_0xdbe408(0x186)]((_0x23e10a,_0xd83aae,_0x44e276)=>{const _0x37953a=_0xdbe408;if(this['_allTreeMap'][_0x37953a(0x188)](_0x44e276))this['_removeAllTreeMap'](_0x44e276);}),this[_0xdbe408(0x199)][_0xdbe408(0x1ab)](_0x7577ed);}}this[_0xdbe408(0x170)][_0xdbe408(0x1ab)](_0x336117);}}}[_0x1a6ba2(0x252)](_0x99f49d,_0x337f3a,_0x432856,_0x4a9e49){const _0x2b1b30=_0x1a6ba2;if(!this[_0x2b1b30(0x1bb)][_0x2b1b30(0x160)](_0x99f49d))this[_0x2b1b30(0x1bb)][_0x2b1b30(0x205)](_0x99f49d,new Map());const _0x262c5c=this[_0x2b1b30(0x1bb)][_0x2b1b30(0x188)](_0x99f49d);if(!_0x262c5c[_0x2b1b30(0x160)](_0x337f3a))_0x262c5c[_0x2b1b30(0x205)](_0x337f3a,new Map());_0x262c5c[_0x2b1b30(0x188)](_0x337f3a)['set'](_0x432856,_0x4a9e49[_0x2b1b30(0x22a)]);}[_0x1a6ba2(0x1f4)](_0x211528,_0x3c3d16,_0x5ee4cc){const _0x56b852=_0x1a6ba2,_0x1dc30e=this['_featureFormulaData']['get'](_0x211528);if(_0x1dc30e&&_0x1dc30e[_0x56b852(0x160)](_0x3c3d16)){const _0x5b1899=_0x1dc30e[_0x56b852(0x188)](_0x3c3d16);_0x5ee4cc[_0x56b852(0x18a)](_0x34cd4a=>{const _0x21a821=_0x56b852,_0x1a797c=_0x5b1899['get'](_0x34cd4a);if(_0x1a797c==null)return;this[_0x21a821(0x15a)](_0x1a797c),_0x5b1899[_0x21a821(0x1ab)](_0x34cd4a),this[_0x21a821(0x23f)](_0x1a797c);});}}['clearFeatureFormulaDependency'](_0x19a865,_0x48dd6c){const _0xd135b=_0x1a6ba2,_0x50fb42=this[_0xd135b(0x1bb)][_0xd135b(0x188)](_0x19a865);if(_0x48dd6c&&_0x50fb42&&_0x50fb42['has'](_0x48dd6c)){const _0x327287=_0x50fb42[_0xd135b(0x188)](_0x48dd6c);this[_0xd135b(0x254)](_0x19a865,_0x48dd6c),_0x327287[_0xd135b(0x18a)](_0x2dae0d=>{const _0x23305e=_0xd135b;if(_0x2dae0d==null)return;this[_0x23305e(0x23f)](_0x2dae0d);}),_0x327287[_0xd135b(0x180)]();}else _0x50fb42&&(_0x50fb42[_0xd135b(0x18a)]((_0x48c040,_0x3f71cb)=>{const _0x2d088b=_0xd135b;this[_0x2d088b(0x254)](_0x19a865,_0x3f71cb),_0x48c040['forEach'](_0x536522=>{const _0x125b99=_0x2d088b;if(_0x536522==null)return;this[_0x125b99(0x23f)](_0x536522);});}),this[_0xd135b(0x1bb)][_0xd135b(0x1ab)](_0x19a865));}['addFormulaDependency'](_0x1c5df0,_0x9aba3a,_0x18aba2,_0x177b9f,_0x560fd4){const _0x4c585e=_0x1a6ba2;if(!this['_formulaData'][_0x4c585e(0x160)](_0x1c5df0))this[_0x4c585e(0x20b)][_0x4c585e(0x205)](_0x1c5df0,new Map());const _0x775c93=this['_formulaData'][_0x4c585e(0x188)](_0x1c5df0);if(!_0x775c93[_0x4c585e(0x160)](_0x9aba3a))_0x775c93['set'](_0x9aba3a,new _univerjs_core['ObjectMatrix']());_0x775c93[_0x4c585e(0x188)](_0x9aba3a)[_0x4c585e(0x20a)](_0x18aba2,_0x177b9f,_0x560fd4[_0x4c585e(0x22a)]);}['removeFormulaDependency'](_0x178ffa,_0x26e718,_0x11c491,_0x496aee){const _0x3fd3d2=_0x1a6ba2,_0x47e836=this['_formulaData'][_0x3fd3d2(0x188)](_0x178ffa);if(_0x47e836&&_0x47e836[_0x3fd3d2(0x160)](_0x26e718)){const _0x212147=_0x47e836['get'](_0x26e718),_0x401049=_0x212147['getValue'](_0x11c491,_0x496aee);if(_0x401049==null)return;this[_0x3fd3d2(0x15a)](_0x401049),_0x212147[_0x3fd3d2(0x193)](_0x11c491,_0x496aee),this[_0x3fd3d2(0x23f)](_0x401049);}}[_0x1a6ba2(0x24b)](_0x323246,_0x3cae3c){const _0x38e9a=_0x1a6ba2,_0x29af6d=this[_0x38e9a(0x20b)][_0x38e9a(0x188)](_0x323246);if(_0x3cae3c&&_0x29af6d&&_0x29af6d[_0x38e9a(0x160)](_0x3cae3c)){const _0x1344a0=_0x29af6d['get'](_0x3cae3c);this[_0x38e9a(0x254)](_0x323246,_0x3cae3c),_0x1344a0[_0x38e9a(0x186)]((_0x3f0a4f,_0x54d40c,_0x290f5d)=>{const _0x2e229b=_0x38e9a;if(_0x290f5d==null)return!![];this[_0x2e229b(0x23f)](_0x290f5d);}),_0x1344a0[_0x38e9a(0x233)]();}else _0x29af6d&&(_0x29af6d[_0x38e9a(0x18a)]((_0x61a15f,_0x3d6173)=>{const _0x495d0a=_0x38e9a;this[_0x495d0a(0x254)](_0x323246,_0x3d6173),_0x61a15f['forValue']((_0x9cfba6,_0x2df4bd,_0x270645)=>{const _0x33c46e=_0x495d0a;if(_0x270645==null)return!![];this[_0x33c46e(0x23f)](_0x270645);});}),this[_0x38e9a(0x20b)][_0x38e9a(0x1ab)](_0x323246));}[_0x1a6ba2(0x15a)](_0x55bb1a){const _0x8c4d05=_0x1a6ba2;if(_0x55bb1a==null)return;const _0x126cdb=this[_0x8c4d05(0x21f)][_0x8c4d05(0x188)](_0x55bb1a);if(_0x126cdb){const _0x144519=[];for(const [_0x5d47bb,_0x5ad1d6]of _0x126cdb)for(const [_0x173e11,_0xa44a31]of _0x5ad1d6)_0x144519[_0x8c4d05(0x1a5)]({'unitId':_0x5d47bb,'sheetId':_0x173e11,'range':_0xa44a31,'id':_0x55bb1a});this[_0x8c4d05(0x1fb)][_0x8c4d05(0x1e4)](_0x144519);}}[_0x1a6ba2(0x241)](_0x2b713c,_0x2cc5c2){const _0xf9ada4=_0x1a6ba2,_0x5af775=this['_definedNameMap'][_0xf9ada4(0x188)](_0x2b713c);if(_0x5af775){const _0x4a00cc=_0x5af775[_0xf9ada4(0x188)](_0x2cc5c2);if(_0x4a00cc){for(const _0x446218 of _0x4a00cc){this[_0xf9ada4(0x15a)](_0x446218),this[_0xf9ada4(0x23f)](_0x446218);}_0x4a00cc[_0xf9ada4(0x180)]();}}}['openKdTree'](){const _0x27fa60=_0x1a6ba2;this[_0x27fa60(0x1fb)]['openKdTree']();}[_0x1a6ba2(0x240)](){const _0x546355=_0x1a6ba2;this['_dependencyRTreeCache'][_0x546355(0x240)]();}[_0x1a6ba2(0x23f)](_0x44781c){const _0x51ea91=_0x1a6ba2;if(_0x44781c==null)return;this[_0x51ea91(0x21f)][_0x51ea91(0x1ab)](_0x44781c);}[_0x1a6ba2(0x1d0)](_0x49d714){const _0x299736=_0x1a6ba2,_0x4d878d=_0x49d714['rangeList'];let _0x7650ca=this['_allTreeMap'][_0x299736(0x188)](_0x49d714['treeId']);for(let _0x5beb8f=0x0;_0x5beb8f<_0x4d878d[_0x299736(0x1b0)];_0x5beb8f++){var _0x4ba6ad,_0xaec6ea;let {unitId:_0x347420,sheetId:_0x4d8cd2,range:_0x2ac4c7}=_0x4d878d[_0x5beb8f];!_0x7650ca&&(_0x7650ca=new Map(),this['_allTreeMap'][_0x299736(0x205)](_0x49d714['treeId'],_0x7650ca));if(!_0x7650ca[_0x299736(0x160)](_0x347420))_0x7650ca[_0x299736(0x205)](_0x347420,new Map());const _0x56fc0c=_0x7650ca===null||_0x7650ca===void 0x0||(_0x4ba6ad=_0x7650ca['get'](_0x347420))===null||_0x4ba6ad===void 0x0?void 0x0:_0x4ba6ad['get'](_0x4d8cd2);if(_0x56fc0c)_0x2ac4c7={'startRow':Math[_0x299736(0x212)](_0x2ac4c7[_0x299736(0x14d)],_0x56fc0c[_0x299736(0x14d)]),'startColumn':Math[_0x299736(0x212)](_0x2ac4c7[_0x299736(0x1ad)],_0x56fc0c['startColumn']),'endRow':Math[_0x299736(0x217)](_0x2ac4c7[_0x299736(0x23b)],_0x56fc0c['endRow']),'endColumn':Math[_0x299736(0x217)](_0x2ac4c7[_0x299736(0x1ec)],_0x56fc0c['endColumn'])};(_0xaec6ea=_0x7650ca[_0x299736(0x188)](_0x347420))===null||_0xaec6ea===void 0x0||_0xaec6ea[_0x299736(0x205)](_0x4d8cd2,_0x2ac4c7);}}};function _0x184b(){const _0x53626e=['_xlpm.','startColumn','markedAsNoFunctionsExecuted','prototype','length','DEFAULT_TOKEN_LET_FUNCTION_NAME','_checkAddBracketForMinus','intervalCount','sheetId','prefixToken','setCompletedFormulasCount','defineProperty','_dependencyRTreeCacheForAddressFunction','_initializeWithOverride','checkAsyncNode','_featureFormulaData','getValue','Lambda\x20parameter\x20name\x20\x22','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','addOtherFormulaDependency','getAllRuntimeData','FormulaExecuteStageType','resolve','_checkIsCycleDependency','packageName','DEFAULT_TOKEN_TYPE_ROOT','_getAllTreeList','_formulaDependencyGenerator','_configService','keys','symbol','treeBuilder','CURRENTLY_CALCULATING_ARRAY_FORMULA','getSheetFeatureLimit','LexerTreeBuilder','_injector','_addAllTreeMap','_checkColonNodeForExprTree','DependencyManagerBaseService','toRTreeItem','hasOtherFormulaDataMainData','_clearPrefix','COLON','_calculateRunList','object','generateAstNode','enableCycleDependency','getLicenseInfo','FormulaDependencyTree','addFormulaDependencyByDefinedName','startIndex','_interpreter','setTotalFormulasToCalculate','_initLicenseValid','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','isExcludeRange','bulkRemove','children','setRuntimeData','getFormulaData','LexerNode','_isCyclicUtilMap','_isCalculateTreeModel','dependencySheetName','endColumn','join','0.22.0-insiders.20260513-09bbeca','_generateNewFunctionString','_registerOtherFormulas','getExcludedRange','add','setRuntimeOtherData','removeFeatureFormulaDependency','addOtherFormulaDependencyMainData','3321384fBcAGm','_resetPrefix','_generateTreeList','isAdded','getConfig','_dependencyRTreeCache','272Mdugzp','featureId','_handleLambdaForExprTree','4599mTSLts','_xlpmPrefix','_handleTextNodeForExprTree','SUFFIX_TOKEN_SET','setSkip','subUnitId','set','values','isReferenceString','isFeatureAuthorizedWithinTime','_getTreeById','setValue','_formulaData','value','_getFeatureFormulaTree','openKdTree','_updateRangeFlatten','_getDependencyTreeChildrenIds','inRangeData','min','isArray','18125470bkjfdi','_restDependencyTreeId','type','max','_traverse','CURRENTLY_CALCULATING','next','getRuntimeState','461963nTnJKU','columnCount','_getCurNodeTypeForExprTree','_allTreeMap','RTree','FormulaDependencyTreeType','parseInt','version','getToken','OPERATOR_TOKEN_SET','isVirtual','_handleChildrenForExprTree','PLUS','OTHER_FORMULA','treeId','matchToken','toUpperCase','call','valid','NEW_EXCEL_FUNCTIONS','_startFormulaDependencyTreeModel','_astTreeBuilder','1266qzntVC','reset','splitTableStructuredRef','_apply','getOwnPropertyDescriptor','MINUS','LS_CONFIG_KEY','generateRandomDependencyTreeId','getStartIndex','endRow','markedAsStopFunctionsExecuted','markedAsSuccessfullyExecuted','clearFeatureFormulaDependency','_removeAllTreeMap','closeKdTree','removeFormulaDependencyByDefinedName','dispose','generate','unitId','_handleNewFunctionChild','from','getFormulaDependency','DependentOn','START_DEPENDENCY','column','clearFormulaDependency','Let\x20variable\x20name\x20\x22','error','setTotalArrayFormulasToCalculate','ObjectMatrix','getDirtyData','_executionInProgressListener$','addFeatureFormulaDependency','IDependencyManagerService','_removeDependencyRTreeCacheById','formulaId','_currentConfigService','3971370UZgdJE','VALUE','featureDirtyRanges','clearArrayObjectCache','_generateExprTree','startRow','isSkip','_dependencyTreeCache','_hasNewExcelFunction','\x22\x20is\x20duplicated.','clearOtherFormulaDependency','_getTableNameFromStructuredRef','getFormulaExprTree','_getTreeNode','CalculateFormulaService','_dependencyManagerService','string','message','_removeDependencyRTreeCache','formula','getFeatureFormulaDependency','_lexer','_createFDtree','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','has','function','ICalculateFormulaService','setAdded','getChildren','addFormulaDependency','getSheetRowColumnCount','size','default','@univerjs-pro/engine-formula','rowCount','rangeList','searchDependency','setRuntimeFeatureRange','row','UniverProFormulaEnginePlugin','_otherFormulaData','_clearFunctionString','LexerTreeProBuilder','_getUpdateTreeListAndMakeDependency','_lambdaFunctionParameterSet','toPrimitive','_formulaDependencyTreeModel','START_DEPENDENCY_ARRAY_FORMULA','START_CALCULATION','Module','IFormulaDependencyGenerator','_createVirtualFDtree','refOffsetY','_executionCompleteListener$','isCache','_getDependencyTreeParenIds','clear','_initializeGenerateTreeList','_runtimeService','setDependencyTreeModelData','refOffsetX','bulkSearch','forValue','dirtyRanges','get','getOtherFormulaData','forEach','requestImmediateMacroTask','removeOtherFormulaDependency','_xlfnPrefix','isForceCalculate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DEFAULT_TOKEN_TYPE_PARAMETER','619966PApxJG','_currentUnitId','realDeleteValue','_otherFormulaManagerService','endsWith','_convertDirtyRangesToUnitRange','notExecuteFormula','execute','_otherFormulaDataMainData','trim','iterator','6yzxFGb','setFormulaExecuteStage','getDirtyNameMap','FormulaDependencyGenerator','_getAllDependencyJson','pop','_config','slice','IDLE','push','FormulaDependencyTreeVirtual','startsWith','hasOwnProperty','32139WnmxFE','decorate','delete'];_0x184b=function(){return _0x53626e;};return _0x184b();}function __decorate(_0x2b8951,_0x19fc89,_0x57ec04,_0x4f2299){const _0x345ec3=_0x1a6ba2;var _0x318bfd=arguments[_0x345ec3(0x1b0)],_0x4b57c5=_0x318bfd<0x3?_0x19fc89:_0x4f2299===null?_0x4f2299=Object[_0x345ec3(0x236)](_0x19fc89,_0x57ec04):_0x4f2299,_0xc2e550;if(typeof Reflect===_0x345ec3(0x1d8)&&typeof Reflect['decorate']==='function')_0x4b57c5=Reflect[_0x345ec3(0x1aa)](_0x2b8951,_0x19fc89,_0x57ec04,_0x4f2299);else{for(var _0x24adaf=_0x2b8951['length']-0x1;_0x24adaf>=0x0;_0x24adaf--)if(_0xc2e550=_0x2b8951[_0x24adaf])_0x4b57c5=(_0x318bfd<0x3?_0xc2e550(_0x4b57c5):_0x318bfd>0x3?_0xc2e550(_0x19fc89,_0x57ec04,_0x4b57c5):_0xc2e550(_0x19fc89,_0x57ec04))||_0x4b57c5;}return _0x318bfd>0x3&&_0x4b57c5&&Object[_0x345ec3(0x1b7)](_0x19fc89,_0x57ec04,_0x4b57c5),_0x4b57c5;}const BUILD_TIMESTAMP=Number[_0x1a6ba2(0x222)](0x6a042559);let UniverProFormulaEnginePlugin=class UniverProFormulaEnginePlugin extends _univerjs_engine_formula['UniverFormulaEnginePlugin']{[_0x1a6ba2(0x1b9)](){const _0x48f516=_0x1a6ba2;if(this[_0x48f516(0x1e1)]()){var _0xd416d0;this[_0x48f516(0x1cf)][_0x48f516(0x1f2)]([_univerjs_engine_formula[_0x48f516(0x1ce)],{'useClass':LexerTreeProBuilder}]);if(!((_0xd416d0=this[_0x48f516(0x1a2)])===null||_0xd416d0===void 0x0?void 0x0:_0xd416d0[_0x48f516(0x197)]))[[_univerjs_engine_formula[_0x48f516(0x162)],{'useClass':CalculateFormulaProService}],[_univerjs_engine_formula['IDependencyManagerService'],{'useClass':DependencyManagerProService}],[_univerjs_engine_formula[_0x48f516(0x17a)],{'useClass':FormulaDependencyProGenerator}]][_0x48f516(0x18a)](_0x3a6c7b=>this['_injector']['add'](_0x3a6c7b));}else{var _0x4b6d4d;this[_0x48f516(0x1cf)][_0x48f516(0x1f2)]([_univerjs_engine_formula[_0x48f516(0x1ce)],{'useClass':_univerjs_engine_formula[_0x48f516(0x1ce)]}]);if(!((_0x4b6d4d=this[_0x48f516(0x1a2)])===null||_0x4b6d4d===void 0x0?void 0x0:_0x4b6d4d[_0x48f516(0x197)]))[[_univerjs_engine_formula[_0x48f516(0x162)],{'useClass':_univerjs_engine_formula[_0x48f516(0x156)]}],[_univerjs_engine_formula[_0x48f516(0x253)],{'useClass':_univerjs_engine_formula['DependencyManagerService']}],[_univerjs_engine_formula[_0x48f516(0x17a)],{'useClass':_univerjs_engine_formula[_0x48f516(0x19f)]}]][_0x48f516(0x18a)](_0x13fa5e=>this[_0x48f516(0x1cf)][_0x48f516(0x1f2)](_0x13fa5e));}}[_0x1a6ba2(0x1e1)](){const _0x25117e=_0x1a6ba2;var _0x4a45de;const {ls:_0x239c59,pbk:_0x188c89}=(_0x4a45de=this['_configService'][_0x25117e(0x1fa)](_univerjs_pro_license[_0x25117e(0x238)]))!==null&&_0x4a45de!==void 0x0?_0x4a45de:{};if(!_0x239c59||!_0x188c89)return![];const _0x1a702a=(0x0,_univerjs_pro_license[_0x25117e(0x1db)])(_0x239c59,_0x188c89),_0x1d241d=_0x1a702a[_0x25117e(0x159)];if(_0x1a702a[_0x25117e(0x22e)]){if((0x0,_univerjs_pro_license[_0x25117e(0x208)])(_0x1d241d,'sf',BUILD_TIMESTAMP))return(0x0,_univerjs_pro_license[_0x25117e(0x1cd)])(_0x1d241d,!![],'a',!![],![],![]);}return![];}};_defineProperty(UniverProFormulaEnginePlugin,_0x1a6ba2(0x1c4),name),_defineProperty(UniverProFormulaEnginePlugin,_0x1a6ba2(0x223),version),UniverProFormulaEnginePlugin=__decorate([(0x0,_univerjs_core[_0x1a6ba2(0x248)])(_univerjs_pro_license['UniverLicensePlugin'])],UniverProFormulaEnginePlugin),exports[_0x1a6ba2(0x172)]=LexerTreeProBuilder,Object[_0x1a6ba2(0x1b7)](exports,_0x1a6ba2(0x16f),{'enumerable':!![],'get':function(){return UniverProFormulaEnginePlugin;}}),Object[_0x1a6ba2(0x1c9)](_univerjs_engine_formula)[_0x1a6ba2(0x18a)](function(_0x16d1da){const _0x5243cb=_0x1a6ba2;if(_0x16d1da!==_0x5243cb(0x168)&&!Object[_0x5243cb(0x1af)][_0x5243cb(0x1a8)][_0x5243cb(0x22d)](exports,_0x16d1da))Object['defineProperty'](exports,_0x16d1da,{'enumerable':!![],'get':function(){return _univerjs_engine_formula[_0x16d1da];}});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x53c3(_0x364faa,_0x3b450f){_0x364faa=_0x364faa-0x133;var _0x51784d=_0x5178();var _0x53c39a=_0x51784d[_0x364faa];return _0x53c39a;}(function(_0x3a9a2b,_0x24ef14){var _0x574234=_0x53c3,_0x2b229e=_0x3a9a2b();while(!![]){try{var _0x78f99c=-parseInt(_0x574234(0x139))/0x1+-parseInt(_0x574234(0x135))/0x2*(-parseInt(_0x574234(0x13b))/0x3)+-parseInt(_0x574234(0x133))/0x4+-parseInt(_0x574234(0x13a))/0x5*(parseInt(_0x574234(0x13c))/0x6)+parseInt(_0x574234(0x134))/0x7*(parseInt(_0x574234(0x137))/0x8)+parseInt(_0x574234(0x13d))/0x9+-parseInt(_0x574234(0x136))/0xa*(-parseInt(_0x574234(0x138))/0xb);if(_0x78f99c===_0x24ef14)break;else _0x2b229e['push'](_0x2b229e['shift']());}catch(_0x303a9e){_0x2b229e['push'](_0x2b229e['shift']());}}}(_0x5178,0x6e9c5));import{FFormula}from'@univerjs/engine-formula/facade';function _0x5178(){var _0x31cfe3=['5397FTxZHJ','1331548nwIsUj','930YTeLPV','1864XoSCcA','29590ojoJOp','465965TYIxuT','493550mJsxlr','3FYSTbm','6PhEdUE','4972968QGuYYr','2521612yAnjqd'];_0x5178=function(){return _0x31cfe3;};return _0x5178();}export{FFormula};
|