@univerjs-pro/engine-formula 0.15.2 → 0.15.3-insiders.20260131-b9b8805
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/license/encrypted-func.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
- package/lib/types/controllers/const.d.ts +0 -1
- package/lib/types/{common/const.d.ts → license/reverse-mapping.d.ts} +41 -41
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x59c304=_0x38d8;function _0x38d8(_0x57d4b8,_0x35dfb9){_0x57d4b8=_0x57d4b8-0xf2;const _0x20524a=_0x2052();let _0x38d81d=_0x20524a[_0x57d4b8];return _0x38d81d;}(function(_0x3d3b2f,_0x3d38b4){const _0xde1300=_0x38d8,_0x1775b5=_0x3d3b2f();while(!![]){try{const _0x144815=-parseInt(_0xde1300(0xf7))/0x1*(-parseInt(_0xde1300(0xf8))/0x2)+parseInt(_0xde1300(0xf9))/0x3+parseInt(_0xde1300(0xff))/0x4+-parseInt(_0xde1300(0xfc))/0x5+-parseInt(_0xde1300(0xf6))/0x6*(-parseInt(_0xde1300(0xf3))/0x7)+-parseInt(_0xde1300(0x100))/0x8+-parseInt(_0xde1300(0xf4))/0x9;if(_0x144815===_0x3d38b4)break;else _0x1775b5['push'](_0x1775b5['shift']());}catch(_0x4cda91){_0x1775b5['push'](_0x1775b5['shift']());}}}(_0x2052,0x60b10));Object[_0x59c304(0xfe)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x2052(){const _0xf13a39=['5709132vfXQJC','call','4102896Ljcydq','31001HuhMjR','38WsvveT','662688NSfGlh','forEach','hasOwnProperty','1769560NbvTUF','keys','defineProperty','1665896fyAwfF','4207176ohIvRc','default','7ogLhVZ'];_0x2052=function(){return _0xf13a39;};return _0x2052();}const t=require('@univerjs/engine-formula/facade');Object[_0x59c304(0xfd)](t)[_0x59c304(0xfa)](_0x1f0fec=>{const _0x8de3fe=_0x59c304;_0x1f0fec!==_0x8de3fe(0xf2)&&!Object['prototype'][_0x8de3fe(0xfb)][_0x8de3fe(0xf5)](exports,_0x1f0fec)&&Object[_0x8de3fe(0xfe)](exports,_0x1f0fec,{'enumerable':!0x0,'get':()=>t[_0x1f0fec]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x18c1ab=_0x4755;(function(_0x143a56,_0x4bdd50){const _0xd6a456=_0x4755,_0x518b13=_0x143a56();while(!![]){try{const _0x5ed78f=parseInt(_0xd6a456(0x1d3))/0x1*(parseInt(_0xd6a456(0x13d))/0x2)+parseInt(_0xd6a456(0x1ff))/0x3+-parseInt(_0xd6a456(0x237))/0x4+parseInt(_0xd6a456(0x1f0))/0x5*(-parseInt(_0xd6a456(0x16b))/0x6)+-parseInt(_0xd6a456(0x1d8))/0x7+-parseInt(_0xd6a456(0x15c))/0x8*(-parseInt(_0xd6a456(0x191))/0x9)+-parseInt(_0xd6a456(0x1a5))/0xa*(-parseInt(_0xd6a456(0x1c4))/0xb);if(_0x5ed78f===_0x4bdd50)break;else _0x518b13['push'](_0x518b13['shift']());}catch(_0x298f2e){_0x518b13['push'](_0x518b13['shift']());}}}(_0xd274,0x8ebc9));var k=Object[_0x18c1ab(0x23d)],b=(_0x4fcfc0,_0x46135d,_0x42d657)=>_0x46135d in _0x4fcfc0?k(_0x4fcfc0,_0x46135d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42d657}):_0x4fcfc0[_0x46135d]=_0x42d657,F=(_0x420d00,_0x142966,_0x4129df)=>b(_0x420d00,typeof _0x142966!=_0x18c1ab(0x1ed)?_0x142966+'':_0x142966,_0x4129df);function _0xd274(){const _0x24363d=['has','LexerNode','range','addFormulaDependencyByDefinedName','toRTreeItem','_lambdaFunctionParameterSet','addFeatureFormulaDependency','_featureFormulaData','formula','isAdded','_restDependencyTreeId','FormulaExecuteStageType','children','_generateNewFunctionString','getDirtyRanges','isExcludeRange','getClearDependencyTreeCache','setRuntimeFeatureRange','startIndex','_isCalculateTreeModel','_handleChildrenForExprTree','4350948NngQjq','_resetPrefix','_getTableNameFromStructuredRef','rangeList','type','UniverProFormulaEnginePlugin','defineProperty','requestImmediateMacroTask','_dependencyRTreeCache','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_configService','subUnitId','1597562ixbaHv','getToken','getStartIndex','clearFormulaDependency','_checkColonNodeForExprTree','isForceCalculate','endColumn','_updateRangeFlatten','OTHER_FORMULA','_xlpmPrefix','Lambda\x20parameter\x20name\x20\x22','_removeDependencyRTreeCache','row','START_CALCULATION_ARRAY_FORMULA','_createFDtree','_definedNameMap','add','_isCyclicUtilMap','bulkSearch','_clearPrefix','delete','pop','_initLicenseValid','_allTreeMap','markedAsSuccessfullyExecuted','_injector','enableCycleDependency','getFormulaExprTree','DEFAULT_TOKEN_TYPE_PARAMETER','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','8717672WTUGNi','FormulaDependencyTreeVirtual','keys','rowCount','Module','_handleNewFunctionChild','isFeatureAuthorizedWithinTime','featureId','getNewFormulaWithPrefix','startRow','_removeDependencyRTreeCacheById','IDependencyManagerService','featureDirtyRanges','IFormulaDependencyGenerator','join','6dAyJGE','setSkip','PLUS','START_CALCULATION','DEFAULT_TOKEN_TYPE_ROOT','_removeAllTreeMap','isStopExecution','return\x20','error','columnCount','getAllRuntimeData','refOffsetX','bulkRemove','_endFormulaDependencyTreeModel','ICalculateFormulaService','_getDependencyTreeChildrenIds','/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ\x20N3vW33NZt=tch65Vn5.n8chv(\x27-\x27);tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ\x20N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ\x20N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t\x27MVO5dhV5O\x27t&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t\x27MVO5dhV5O\x27t&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t\x27MVO5dhV5O\x27;tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL(\x27*.\x27))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL(\x27.\x27)t&&tLQnv.5VOnmhvL(\x27.\x27t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t\x27cQ6NcLQnv\x27)t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}','matchToken','reset','push','_getTreeById','getValue','closeKdTree','string','NEW_EXCEL_FUNCTIONS','treeBuilder','MINUS','searchDependency','addFormulaDependency','message','_getUpdateTreeListAndMakeDependency','prefixToken','next','dirtyRanges','_executionInProgressListener$','notExecuteFormula','removeOtherFormulaDependency','_currentUnitId','9HSexxb','_traverse','generateRandomDependencyTreeId','_config','_xlfnPrefix','forEach','_hasNewExcelFunction','_createVirtualFDtree','executeAsync','_getAllDependencyJson','_apply','length','_dependencyRTreeCacheForAddressFunction','set','removeFormulaDependency','DEFAULT_INTERVAL_COUNT','ObjectMatrix','OPERATOR_TOKEN_SET','addOtherFormulaDependency','parseInt','5402620GCsHGm','DEFAULT_TOKEN_LET_FUNCTION_NAME','getOwnPropertyDescriptor','unitId','clearOtherFormulaDependency','_formulaDependencyTreeModel','getFeatureFormulaDependency','UniverLicensePlugin','forValue','node','dependencySheetName','checkAsyncNode','CURRENTLY_CALCULATING_ARRAY_FORMULA','removeFormulaDependencyByDefinedName','values','RTree','unshiftString','startsWith','IDLE','_handleLambdaForExprTree','setFormulaExecuteStage','setDependencyTreeModelData','Let\x20variable\x20name\x20\x22','_dependencyTreeCache','max','_checkAddBracketForMinus','openKdTree','getChildren','isCache','_getAllTreeList','addOtherFormulaDependencyMainData','33ICnLsr','setCurrent','realDeleteValue','hasOwnProperty','_generateExprTree','generate','START_DEPENDENCY_ARRAY_FORMULA','call','execute','setRuntimeOtherData','_formulaDependencyGenerator','_formulaData','CalculateFormulaService','DependencyManagerService','default','1eLsKpz','_astTreeBuilder','_handleTextNodeForExprTree','setCompletedFormulasCount','COLON','6954045QLTXRe','getOtherFormulaData','treeId','_getDependencyTreeParenIds','setRuntimeData','refTree','hasOtherFormulaDataMainData','markedAsNoFunctionsExecuted','_currentConfigService','_lexer','_getCurNodeTypeForExprTree','get','_convertDirtyRangesToUnitRange','_getTreeNode','min','getOtherFormulaDependency','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','generateAstNode','endRow','_xlfn.','column','symbol','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','inRangeData','5806705pIzFva','_otherFormulaData','VALUE','_initializeWithOverride','getFormulaDependency','_startFormulaDependencyTreeModel','LexerTreeBuilder','slice','from','setRuntimeFeatureCellData','setCompletedArrayFormulasCount','clearFeatureFormulaDependency','getDirtyData','FormulaDependencyTree','FormulaDependencyTreeType','953658ZsjvtI','_registerFormulas','LS_CONFIG_KEY','isReferenceString','FormulaDependencyGenerator','_getFirstCellOfRange','_calculateRunList','trim','\x22\x20is\x20duplicated.','SUFFIX_TOKEN_SET','ErrorType','isArray','clearArrayObjectCache','isDirty','DependencyManagerBaseService','_dependencyManagerService','getRuntimeState','_clearFunctionString','_getFeatureFormulaTree','_otherFormulaDataMainData','clear','toUpperCase','formulaId','getConfig','_xlpm.','FEATURE_FORMULA','value','size','refOffsetY','_executionCompleteListener$','getSheetFeatureLimit','setValue','_registerOtherFormulas','setAdded','_runtimeService'];_0xd274=function(){return _0x24363d;};return _0xd274();}Object[_0x18c1ab(0x23d)](exports,Symbol['toStringTag'],{'value':_0x18c1ab(0x160)});const a=require('@univerjs/engine-formula'),x=require('@univerjs-pro/license'),M=require('@univerjs/core');function _0x4755(_0x586167,_0x1b7eac){_0x586167=_0x586167-0x13b;const _0xd274df=_0xd274();let _0x4755d5=_0xd274df[_0x586167];return _0x4755d5;}class A extends a[_0x18c1ab(0x1f6)]{constructor(){const _0x43e86a=_0x18c1ab;super(...arguments),F(this,_0x43e86a(0x197),!0x1),F(this,_0x43e86a(0x227),new Set()),F(this,_0x43e86a(0x146),_0x43e86a(0x217)),F(this,_0x43e86a(0x195),_0x43e86a(0x1eb)),F(this,'_currentUnitId','');}['_resetPrefix'](){const _0x4582bc=_0x18c1ab;this[_0x4582bc(0x146)]=_0x4582bc(0x217),this[_0x4582bc(0x195)]=_0x4582bc(0x1eb);}[_0x18c1ab(0x150)](){const _0x5afc60=_0x18c1ab;this['_xlpmPrefix']='',this[_0x5afc60(0x195)]='';}[_0x18c1ab(0x164)](_0x38c31f,_0x45b8fe){const _0x58ebf1=_0x18c1ab,_0xc1fbbb=this[_0x58ebf1(0x184)](_0x38c31f,!0x1);if(!_0xc1fbbb||_0xc1fbbb===a[_0x58ebf1(0x209)]['VALUE']||Array['isArray'](_0xc1fbbb))return null;const _0x4d6c85=[];return this[_0x58ebf1(0x197)]=!0x1,this[_0x58ebf1(0x22f)](_0xc1fbbb,_0x4d6c85,_0x45b8fe),this[_0x58ebf1(0x197)]?'='+_0x4d6c85['join'](''):null;}['_generateNewFunctionString'](_0x34a908,_0x439cdf,_0x36e082){const _0x5b6136=_0x18c1ab,_0x27eec5=_0x34a908[_0x5b6136(0x13e)](),_0x39a17f=_0x27eec5['trim'](),_0x4f4aa2=_0x39a17f[_0x5b6136(0x214)](),_0x516a84=this[_0x5b6136(0x210)](_0x4f4aa2),_0x3d45d8=_0x36e082(_0x516a84);let _0x269e85=0x0;_0x27eec5===a[_0x5b6136(0x16f)]?_0x269e85=0x3:_0x27eec5===a[_0x5b6136(0x159)]?_0x269e85=0x4:_0x27eec5===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x269e85=0x5:a[_0x5b6136(0x183)]['has'](_0x516a84)?(_0x439cdf['push'](''+this[_0x5b6136(0x195)]+_0x39a17f),this['_hasNewExcelFunction']=!0x0):_0x4f4aa2===a[_0x5b6136(0x1ee)]?(_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x195)]+_0x39a17f),this[_0x5b6136(0x197)]=!0x0,_0x269e85=0x2):_0x4f4aa2===a[_0x5b6136(0x1a6)]?(_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x195)]+_0x39a17f),this[_0x5b6136(0x197)]=!0x0,_0x269e85=0x1):_0x4f4aa2===a[_0x5b6136(0x17c)]['COLON']?_0x269e85=0x8:a[_0x5b6136(0x208)][_0x5b6136(0x222)](_0x4f4aa2)?_0x269e85=0x7:_0x4f4aa2===a['prefixToken'][_0x5b6136(0x185)]?(this[_0x5b6136(0x1be)](_0x34a908)&&(_0x269e85=0x9),_0x439cdf['push'](_0x27eec5)):(_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),_0x269e85=0xa),_0x3d45d8?(_0x269e85!==0x2&&_0x269e85!==0x1&&(_0x269e85=0x6),_0x439cdf[_0x5b6136(0x17e)]('(')):_0x269e85===0x9&&_0x439cdf[_0x5b6136(0x17e)]('(');const _0x3b25bd=_0x34a908['getChildren'](),_0x3019ac=_0x3b25bd[_0x5b6136(0x19c)];if(_0x269e85===0x2){const _0x54b0aa=_0x3b25bd[0x0];let _0x61abf2=0x0;_0x54b0aa instanceof a[_0x5b6136(0x223)]&&_0x54b0aa[_0x5b6136(0x13e)]()===a[_0x5b6136(0x240)]&&(_0x61abf2=0x1);for(let _0x10c643=_0x61abf2;_0x10c643<_0x3019ac-0x1;_0x10c643++){const _0x28cad8=_0x3b25bd[_0x10c643];if(_0x28cad8 instanceof a[_0x5b6136(0x223)]){const _0xfd3b9c=_0x28cad8[_0x5b6136(0x1c0)]()[0x0];typeof _0xfd3b9c==_0x5b6136(0x182)&&(this['_lambdaFunctionParameterSet'][_0x5b6136(0x222)](_0xfd3b9c)&&console[_0x5b6136(0x173)](_0x5b6136(0x147)+_0xfd3b9c+_0x5b6136(0x207)),this[_0x5b6136(0x227)]['add'](_0xfd3b9c),_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x146)]+_0xfd3b9c),this[_0x5b6136(0x197)]=!0x0);}_0x439cdf[_0x5b6136(0x17e)](',');}this['_handleNewFunctionChild'](_0x3b25bd[_0x3019ac-0x1],_0x439cdf,_0x36e082),_0x61abf2===0x1&&(_0x439cdf['push'](')'),_0x439cdf['push']('('),this['_generateNewFunctionString'](_0x54b0aa,_0x439cdf,_0x36e082)),_0x439cdf[_0x5b6136(0x17e)](')');return;}else{if(_0x269e85===0x1){for(let _0x3ad691=0x0;_0x3ad691<_0x3019ac-0x1;_0x3ad691++){const _0x1a5430=_0x3b25bd[_0x3ad691];if(_0x1a5430 instanceof a[_0x5b6136(0x223)]&&_0x3ad691%0x2===0x0){const _0x372805=_0x1a5430[_0x5b6136(0x1c0)]()[0x0];if(typeof _0x372805==_0x5b6136(0x182)){this[_0x5b6136(0x227)][_0x5b6136(0x222)](_0x372805)&&console['error'](_0x5b6136(0x1bb)+_0x372805+_0x5b6136(0x207)),this[_0x5b6136(0x227)][_0x5b6136(0x14d)](_0x372805),_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x146)]+_0x372805),this[_0x5b6136(0x197)]=!0x0,_0x439cdf[_0x5b6136(0x17e)](',');continue;}}if(this[_0x5b6136(0x161)](_0x1a5430,_0x439cdf,_0x36e082),_0x1a5430 instanceof a[_0x5b6136(0x223)]){const _0x242b91=_0x3b25bd[_0x3ad691+0x1];_0x242b91&&_0x242b91 instanceof a[_0x5b6136(0x223)]&&_0x439cdf[_0x5b6136(0x17e)](',');}}this[_0x5b6136(0x161)](_0x3b25bd[_0x3019ac-0x1],_0x439cdf,_0x36e082),_0x439cdf['push'](')');return;}else{if(_0x269e85===0x8){const _0x45a62b=_0x3b25bd[0x0],_0x3f40f7=_0x3b25bd[0x1];this[_0x5b6136(0x161)](_0x45a62b,_0x439cdf,_0x36e082),_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),this[_0x5b6136(0x161)](_0x3f40f7,_0x439cdf,_0x36e082);return;}}}for(let _0x421e93=0x0;_0x421e93<_0x3019ac;_0x421e93++){const _0x2b40f9=_0x3b25bd[_0x421e93];if(this[_0x5b6136(0x161)](_0x2b40f9,_0x439cdf,_0x36e082),_0x2b40f9 instanceof a['LexerNode']){const _0x3096f5=_0x3b25bd[_0x421e93+0x1];_0x3096f5&&_0x3096f5 instanceof a[_0x5b6136(0x223)]&&_0x439cdf[_0x5b6136(0x17e)](',');}}_0x269e85===0x7&&_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),(_0x3d45d8||_0x269e85===0x9)&&_0x439cdf['push'](')');}[_0x18c1ab(0x161)](_0x3c2528,_0x3a6f66,_0x3226fc){const _0x3c137d=_0x18c1ab;_0x3c2528 instanceof a['LexerNode']?this[_0x3c137d(0x22f)](_0x3c2528,_0x3a6f66,_0x3226fc):this[_0x3c137d(0x227)]['has'](_0x3c2528)?(_0x3a6f66[_0x3c137d(0x17e)](''+this[_0x3c137d(0x146)]+_0x3c2528),this[_0x3c137d(0x197)]=!0x0):_0x3a6f66[_0x3c137d(0x17e)](_0x3c2528);}[_0x18c1ab(0x210)](_0x384ebd){const _0x42e8b4=_0x18c1ab;let _0x3b54a4=_0x384ebd[_0x42e8b4(0x206)]();if(!_0x3b54a4)return _0x3b54a4;const _0x405a10=_0x3b54a4[0x0];if((_0x405a10===a[_0x42e8b4(0x18a)]['AT']||_0x405a10===a['prefixToken'][_0x42e8b4(0x185)]||_0x405a10===a['prefixToken'][_0x42e8b4(0x16d)])&&(_0x3b54a4=_0x3b54a4[_0x42e8b4(0x1f7)](0x1)),!_0x3b54a4)return _0x3b54a4;const _0x424810=_0x3b54a4[_0x3b54a4[_0x42e8b4(0x19c)]-0x1];return a['SUFFIX_TOKEN_SET'][_0x42e8b4(0x222)](_0x424810)&&(_0x3b54a4=_0x3b54a4['slice'](0x0,-0x1)),_0x3b54a4;}[_0x18c1ab(0x1be)](_0x317d75){const _0x5400a4=_0x18c1ab,_0x44a26f=_0x317d75[_0x5400a4(0x1c0)]()[0x0];if(!_0x44a26f||!(_0x44a26f instanceof a['LexerNode'])||_0x317d75[_0x5400a4(0x1c0)]()[_0x5400a4(0x19c)]>0x1)return!0x1;const _0x56df38=_0x44a26f['getChildren'](),_0x16d662=_0x56df38[_0x5400a4(0x19c)];if(_0x16d662===0x1)return!0x1;for(let _0x46e3db=0x0;_0x46e3db<_0x16d662;_0x46e3db++){const _0x572f3b=_0x56df38[_0x46e3db];if(!(_0x572f3b instanceof a[_0x5400a4(0x223)])&&a[_0x5400a4(0x1a2)][_0x5400a4(0x222)](_0x572f3b))return!0x0;}return!0x1;}[_0x18c1ab(0x158)](_0x1b5975,_0x9ff906,_0x8213e2,_0x2a6a9e,_0x26dd32){const _0x2336cc=_0x18c1ab,_0xb889c=this[_0x2336cc(0x184)](_0x1b5975,!0x1);if(!_0xb889c||_0xb889c===a[_0x2336cc(0x209)][_0x2336cc(0x1f2)]||Array[_0x2336cc(0x20a)](_0xb889c))return null;this[_0x2336cc(0x150)](),this['_currentUnitId']=_0x9ff906;const _0x395afd=this[_0x2336cc(0x1c8)](_0xb889c,_0x8213e2,_0x2a6a9e,_0x26dd32);return this['_currentUnitId']='',this[_0x2336cc(0x238)](),_0x395afd;}[_0x18c1ab(0x1c8)](_0x4ad4ba,_0x294b09,_0x1853e7,_0x18e5ea){const _0x260ac7=_0x18c1ab,_0x14d1b6={'value':'','children':[],'startIndex':0x0};let _0x8834bb=_0x4ad4ba;if(_0x8834bb instanceof a[_0x260ac7(0x223)]&&(_0x8834bb['getToken']()===a[_0x260ac7(0x16f)]||_0x8834bb[_0x260ac7(0x13e)]()===a[_0x260ac7(0x159)])&&_0x8834bb[_0x260ac7(0x1c0)]()[_0x260ac7(0x19c)]===0x1&&(_0x8834bb=_0x8834bb[_0x260ac7(0x1c0)]()[0x0]),!(_0x8834bb instanceof a[_0x260ac7(0x223)]))return this[_0x260ac7(0x1d5)](_0x8834bb,_0x1853e7,_0x18e5ea);const _0x22b227=_0x8834bb[_0x260ac7(0x1c0)](),_0x2d4dfc=_0x22b227['length'],_0x52323d=[];this[_0x260ac7(0x22f)](_0x8834bb,_0x52323d,_0x294b09),_0x14d1b6[_0x260ac7(0x219)]=_0x52323d[_0x260ac7(0x16a)](''),_0x14d1b6[_0x260ac7(0x234)]=_0x8834bb['getStartIndex']();const _0x168d96=this[_0x260ac7(0x1e2)](_0x8834bb);if(_0x168d96===0x2){const _0x424d7c=_0x22b227[0x0];if(_0x424d7c instanceof a['LexerNode']){if(_0x424d7c['getToken']()[_0x260ac7(0x206)]()!==a[_0x260ac7(0x240)])return _0x14d1b6;this[_0x260ac7(0x1b8)](_0x424d7c,_0x14d1b6,_0x294b09,_0x1853e7,_0x18e5ea);}return _0x14d1b6;}else{if(_0x168d96===0x1){for(let _0x51f4da=0x0;_0x51f4da<_0x2d4dfc-0x1;_0x51f4da++){const _0xadb022=_0x22b227[_0x51f4da];if(_0xadb022 instanceof a[_0x260ac7(0x223)]&&_0x51f4da%0x2===0x1){const _0x2d627d=_0xadb022[_0x260ac7(0x1c0)]();if(_0x2d627d['length']===0x1&&!(_0x2d627d[0x0]instanceof a[_0x260ac7(0x223)]))continue;const _0x1bda2c=this[_0x260ac7(0x1c8)](_0xadb022,_0x294b09,_0x1853e7,_0x18e5ea);_0x1bda2c&&_0x14d1b6[_0x260ac7(0x22e)][_0x260ac7(0x17e)](_0x1bda2c);}}return _0x14d1b6;}else{if(_0x168d96===0x8){const _0x3461d0=_0x22b227[0x0];if(_0x3461d0 instanceof a[_0x260ac7(0x223)]){const _0x34dc46=_0x3461d0[_0x260ac7(0x1c0)]()[0x0];_0x34dc46 instanceof a[_0x260ac7(0x223)]&&(_0x14d1b6[_0x260ac7(0x234)]=_0x34dc46[_0x260ac7(0x13f)]());}if(this[_0x260ac7(0x141)](_0x8834bb))return _0x14d1b6;}else{if(_0x168d96===0x7){const _0x22c7fd=_0x22b227[0x0];if(_0x22c7fd instanceof a[_0x260ac7(0x223)]){const _0x5d3f63=_0x22c7fd['getChildren']()[0x0];_0x5d3f63 instanceof a[_0x260ac7(0x223)]&&(_0x14d1b6[_0x260ac7(0x234)]=_0x5d3f63['getStartIndex']());}}}}}return this[_0x260ac7(0x236)](_0x22b227,_0x168d96,_0x14d1b6,_0x294b09,_0x1853e7,_0x18e5ea),_0x14d1b6;}[_0x18c1ab(0x236)](_0x107cca,_0x25a4bd,_0x30f79c,_0x3a48aa,_0x4c07e5,_0x32c612){const _0x5164c8=_0x18c1ab;for(let _0x561c75=0x0;_0x561c75<_0x107cca[_0x5164c8(0x19c)];_0x561c75++){let _0x21dda2=_0x107cca[_0x561c75];if(!(_0x21dda2 instanceof a[_0x5164c8(0x223)])){const _0x21b3c9=this[_0x5164c8(0x1d5)](_0x21dda2,_0x4c07e5,_0x32c612);_0x21b3c9&&_0x30f79c[_0x5164c8(0x22e)][_0x5164c8(0x17e)](_0x21b3c9);continue;}const _0x2adc4d=_0x21dda2[_0x5164c8(0x1c0)]();if(_0x2adc4d[_0x5164c8(0x19c)]===0x1&&!(_0x2adc4d[0x0]instanceof a[_0x5164c8(0x223)])){const _0x3fe0a9=_0x2adc4d[0x0];if(!_0x4c07e5(this[_0x5164c8(0x190)],_0x3fe0a9)&&!this[_0x5164c8(0x239)](_0x3fe0a9,_0x32c612)&&!a[_0x5164c8(0x202)](_0x3fe0a9))continue;}if(_0x25a4bd===0x8){const _0xb1e47=_0x2adc4d[0x0];if(_0xb1e47 instanceof a[_0x5164c8(0x223)]){const _0x3a3a86=_0xb1e47[_0x5164c8(0x13e)]()['trim']();if(a[_0x5164c8(0x202)](_0x3a3a86))continue;_0x21dda2=_0xb1e47;}}const _0x5e06bd=this[_0x5164c8(0x1c8)](_0x21dda2,_0x3a48aa,_0x4c07e5,_0x32c612);_0x5e06bd&&_0x30f79c[_0x5164c8(0x22e)][_0x5164c8(0x17e)](_0x5e06bd);}}[_0x18c1ab(0x141)](_0x433dc7){const _0x517048=_0x18c1ab,_0x47cdc6=_0x433dc7[_0x517048(0x1c0)]();if(_0x47cdc6['length']<0x2)return!0x1;const _0x125d85=_0x47cdc6[0x0],_0x1ad63c=_0x47cdc6[0x1];if(!(_0x125d85 instanceof a[_0x517048(0x223)])||!(_0x1ad63c instanceof a[_0x517048(0x223)]))return!0x1;const _0x3e3d02=_0x125d85[_0x517048(0x1c0)]()[0x0],_0x4bfad7=_0x1ad63c[_0x517048(0x1c0)]()[0x0];if(!(_0x3e3d02 instanceof a[_0x517048(0x223)])||!(_0x4bfad7 instanceof a[_0x517048(0x223)]))return!0x1;const _0x339b04=_0x3e3d02[_0x517048(0x13e)]()[_0x517048(0x206)](),_0x48372d=_0x4bfad7[_0x517048(0x13e)]()[_0x517048(0x206)]();return!!a[_0x517048(0x202)](''+_0x339b04+a[_0x517048(0x17c)]['COLON']+_0x48372d);}[_0x18c1ab(0x1d5)](_0x19b233,_0x3990f3,_0x3c75b3){const _0x2dc6f7=_0x18c1ab,_0x4a7370=_0x19b233[_0x2dc6f7(0x206)]();return _0x4a7370[_0x2dc6f7(0x1b6)]('{')&&_0x4a7370['endsWith']('}')||_0x3990f3(this['_currentUnitId'],_0x4a7370)||this['_getTableNameFromStructuredRef'](_0x4a7370,_0x3c75b3)||a[_0x2dc6f7(0x202)](_0x4a7370)?{'value':_0x4a7370,'children':[],'startIndex':-0x1}:null;}[_0x18c1ab(0x239)](_0x29f92b,_0x5c8d86){const _0x5a041f=_0x18c1ab,{tableName:_0x584aab}=a['splitTableStructuredRef'](_0x29f92b);return _0x5c8d86(this[_0x5a041f(0x190)],_0x584aab)?_0x584aab:null;}['_handleLambdaForExprTree'](_0x52e9a,_0x1b9b6b,_0x1f15a9,_0x5d1234,_0x17b383){const _0x31d98a=_0x18c1ab,_0x13791a=_0x52e9a[_0x31d98a(0x1c0)]();for(let _0xb47438=0x0;_0xb47438<_0x13791a[_0x31d98a(0x19c)];_0xb47438++){const _0x1e1478=_0x13791a[_0xb47438];if(!(_0x1e1478 instanceof a['LexerNode']))continue;const _0x3fea4b=_0x1e1478[_0x31d98a(0x1c0)]();if(_0x3fea4b[_0x31d98a(0x19c)]===0x1&&!(_0x3fea4b[0x0]instanceof a['LexerNode']))continue;const _0x1af678=this[_0x31d98a(0x1c8)](_0x1e1478,_0x1f15a9,_0x5d1234,_0x17b383);_0x1af678&&_0x1b9b6b[_0x31d98a(0x22e)]['push'](_0x1af678);}}[_0x18c1ab(0x1e2)](_0x6b335a){const _0x84d03d=_0x18c1ab,_0x36ac87=_0x6b335a[_0x84d03d(0x13e)](),_0x5f1999=_0x36ac87[_0x84d03d(0x206)]()[_0x84d03d(0x214)]();let _0x224a01=0x0;return _0x36ac87===a[_0x84d03d(0x16f)]?_0x224a01=0x3:_0x36ac87===a[_0x84d03d(0x159)]?_0x224a01=0x4:_0x36ac87===a[_0x84d03d(0x240)]?_0x224a01=0x5:_0x5f1999===a[_0x84d03d(0x1ee)]?_0x224a01=0x2:_0x5f1999===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x224a01=0x1:_0x5f1999===a['matchToken'][_0x84d03d(0x1d7)]?_0x224a01=0x8:a['SUFFIX_TOKEN_SET'][_0x84d03d(0x222)](_0x5f1999)?_0x224a01=0x7:_0x5f1999===a[_0x84d03d(0x18a)][_0x84d03d(0x185)]?this[_0x84d03d(0x1be)](_0x6b335a)&&(_0x224a01=0x9):_0x224a01=0xa,_0x224a01;}}const B={0x0:'Y',0x1:'O',0x2:'x',0x3:'r',0x4:'m',0x5:'e',0x6:'c',0x7:'M',0x8:'p',0x9:'R','k':'0','P':'1','G':'2','T':'3','A':'4','S':'5','p':'6','a':'7','g':'8','u':'9','N':'a','J':'b','O':'d','d':'f','y':'g','L':'h','h':'i','r':'j','I':'k','c':'l','V':'n','Q':'o','E':'q','n':'s','v':'t','M':'u','R':'v','l':'w','Z':'y','j':'z','W':'A','Y':'B','b':'C','F':'D','z':'E','B':'F','x':'G','H':'H','U':'I','D':'J','i':'K','f':'L','e':'N','\x20':'P','o':'Q','s':'S','K':'T','C':'U','X':'V','m':'W','w':'X','q':'Z','t':'\x20'},K=_0x18c1ab(0x17b);class Y extends a[_0x18c1ab(0x203)]{constructor(){const _0x28c1ff=_0x18c1ab;super(...arguments),F(this,_0x28c1ff(0x1bc),new Map());}['dispose'](){const _0x5c57dc=_0x18c1ab;super['dispose'](),this[_0x5c57dc(0x1bc)][_0x5c57dc(0x213)]();}async[_0x18c1ab(0x1c9)](_0x59e967=!0x1){const _0x593ce3=_0x18c1ab;this[_0x593ce3(0x144)]();const _0x379d04=this[_0x593ce3(0x1e0)]['getFormulaData'](),_0x131be0=this['_otherFormulaManagerService'][_0x593ce3(0x1d9)](),_0x5e6a55=this['_currentConfigService'][_0x593ce3(0x232)]();_0x5e6a55!=null&&Object[_0x593ce3(0x15e)](_0x5e6a55)[_0x593ce3(0x196)](_0x10dfb0=>{const _0x55aeb5=_0x593ce3;_0x10dfb0!=null&&Object[_0x55aeb5(0x15e)](_0x5e6a55[_0x10dfb0])[_0x55aeb5(0x196)](_0x197a1d=>{const _0x37a86e=_0x55aeb5;_0x197a1d!=null&&(this[_0x37a86e(0x20e)][_0x37a86e(0x1a9)](_0x10dfb0,_0x197a1d),this[_0x37a86e(0x20e)]['clearFeatureFormulaDependency'](_0x10dfb0,_0x197a1d),this[_0x37a86e(0x20e)][_0x37a86e(0x140)](_0x10dfb0,_0x197a1d));});});const _0x218c8e=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x379d04,_0x131be0,_0x218c8e),this['_dependencyManagerService'][_0x593ce3(0x1bf)]();const _0x58a3c1=this[_0x593ce3(0x189)](),_0x22f0c0=this['_calculateRunList'](_0x58a3c1);return this[_0x593ce3(0x15b)](_0x22f0c0)&&this[_0x593ce3(0x221)][_0x593ce3(0x157)](),_0x59e967&&this[_0x593ce3(0x221)][_0x593ce3(0x1ba)](this[_0x593ce3(0x19a)](Array[_0x593ce3(0x1f8)](this['_dependencyTreeCache'][_0x593ce3(0x1b3)]()))),this[_0x593ce3(0x1bc)][_0x593ce3(0x213)](),this[_0x593ce3(0x19d)][_0x593ce3(0x213)](),this['_dependencyManagerService'][_0x593ce3(0x181)](),this[_0x593ce3(0x221)][_0x593ce3(0x20b)](),Promise['resolve'](_0x22f0c0);}[_0x18c1ab(0x14e)](_0x2b2bf2,_0x36bd03){const _0x4b9989=_0x18c1ab,_0x48e5e1=[_0x2b2bf2];for(;_0x48e5e1[_0x4b9989(0x19c)]>0x0;){const _0x2133cc=_0x48e5e1[_0x48e5e1['length']-0x1];if((_0x36bd03[_0x4b9989(0x1e3)](_0x2133cc)||0x0)===0x0){_0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x1);const _0x1366a3=this[_0x4b9989(0x1bc)][_0x4b9989(0x1e3)](_0x2133cc);if(_0x1366a3==null){_0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x2),_0x48e5e1[_0x4b9989(0x152)]();continue;}const _0x5e8345=this['_dependencyManagerService'][_0x4b9989(0x186)](_0x1366a3[_0x4b9989(0x226)]());for(const _0x11fc0f of _0x5e8345){const _0x596cb=_0x36bd03['get'](_0x11fc0f)||0x0;if(_0x596cb===0x1)return!0x0;_0x596cb===0x0&&_0x48e5e1[_0x4b9989(0x17e)](_0x11fc0f);}}else _0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x2),_0x48e5e1[_0x4b9989(0x152)]();}return!0x1;}[_0x18c1ab(0x15b)](_0x57f716){const _0x180ee1=_0x18c1ab,_0x5656f0=new Map();for(const _0x288b8a of _0x57f716)if(!_0x5656f0[_0x180ee1(0x222)](_0x288b8a[_0x180ee1(0x1da)])&&this[_0x180ee1(0x14e)](_0x288b8a[_0x180ee1(0x1da)],_0x5656f0))return!0x0;return _0x5656f0[_0x180ee1(0x213)](),!0x1;}[_0x18c1ab(0x211)](_0x4e4ee2,_0x588ab7,_0x22495d){const _0x599e72=_0x18c1ab,{unitId:_0x5c6d02,subUnitId:_0x4fd6b4,dependencyRanges:_0x39ee99,getDirtyData:_0x38ac0e}=_0x22495d,_0x1b92f3=_0x588ab7||a[_0x599e72(0x193)](this[_0x599e72(0x20e)]),_0x99b9e6=new a[(_0x599e72(0x1fd))](_0x1b92f3);_0x99b9e6['unitId']=_0x5c6d02,_0x99b9e6[_0x599e72(0x13c)]=_0x4fd6b4,_0x99b9e6['rangeList']=_0x39ee99,_0x99b9e6[_0x599e72(0x1fc)]=_0x38ac0e;const _0xceb80d=_0x38ac0e(this[_0x599e72(0x1e0)][_0x599e72(0x1fc)](),this[_0x599e72(0x221)]['getAllRuntimeData']()),_0x48c6b8=this[_0x599e72(0x1e4)](_0xceb80d[_0x599e72(0x18c)]);return _0x99b9e6[_0x599e72(0x168)]=_0x48c6b8,_0x99b9e6[_0x599e72(0x163)]=_0x4e4ee2,_0x99b9e6['type']=a[_0x599e72(0x1fe)][_0x599e72(0x218)],this[_0x599e72(0x20e)][_0x599e72(0x228)](_0x5c6d02,_0x4fd6b4,_0x4e4ee2,_0x99b9e6),this[_0x599e72(0x1bc)][_0x599e72(0x19e)](_0x99b9e6[_0x599e72(0x1da)],_0x99b9e6),this['_dependencyManagerService'][_0x599e72(0x1ab)](_0x22495d[_0x599e72(0x1a8)],_0x22495d[_0x599e72(0x13c)],_0x4e4ee2)&&(_0x99b9e6[_0x599e72(0x1c1)]=!0x0),_0x99b9e6;}[_0x18c1ab(0x21f)](_0x7e80ec,_0x816a47,_0x504efa){const _0x2bcb07=_0x18c1ab;var _0x36b6da;for(const _0xefadf8 of _0x816a47){const _0x5bd70e=_0x7e80ec[_0xefadf8];if(_0x5bd70e==null)continue;const _0x33de5c=Object[_0x2bcb07(0x15e)](_0x5bd70e);for(const _0x2d1a8e of _0x33de5c){const _0x1b4e98=_0x5bd70e[_0x2d1a8e];if(_0x1b4e98==null)continue;const _0x36116d=Object[_0x2bcb07(0x15e)](_0x1b4e98);for(const _0x57306a of _0x36116d){const _0x3badbd=this[_0x2bcb07(0x20e)][_0x2bcb07(0x1de)](_0x57306a),_0xeac2f4=_0x1b4e98[_0x57306a],{f:_0x1d6cff,ranges:_0x1a0211}=_0xeac2f4;let _0x462686=!0x1;_0x3badbd&&(_0x462686=!0x0);const {firstRow:_0xdce700,firstColumn:_0x474c01}=this[_0x2bcb07(0x204)](_0x1a0211),_0x3f0585=this[_0x2bcb07(0x20e)][_0x2bcb07(0x1e7)](_0xefadf8,_0x2d1a8e,_0x57306a),_0x241360=(_0x36b6da=_0x3f0585==null?void 0x0:_0x3f0585[_0x2bcb07(0x180)](0x0,0x0))!=null?_0x36b6da:a[_0x2bcb07(0x193)](this[_0x2bcb07(0x20e)]),_0x3f69ba=new a['FormulaDependencyTree'](_0x241360);for(let _0x1f4137=0x0;_0x1f4137<_0x1a0211[_0x2bcb07(0x19c)];_0x1f4137++){const _0x23fe76=_0x1a0211[_0x1f4137],{startRow:_0x110554,startColumn:_0x5af2aa,endRow:_0x54f6e7,endColumn:_0x492720}=_0x23fe76;for(let _0x57186e=_0x110554;_0x57186e<=_0x54f6e7;_0x57186e++)for(let _0x578398=_0x5af2aa;_0x578398<=_0x492720;_0x578398++){const _0x25bed3=_0x578398-_0x474c01,_0x575b02=_0x57186e-_0xdce700;if(_0x25bed3===0x0&&_0x575b02===0x0){_0x3f69ba['formula']=_0x1d6cff,_0x3f69ba[_0x2bcb07(0x1a8)]=_0xefadf8,_0x3f69ba[_0x2bcb07(0x13c)]=_0x2d1a8e,_0x3f69ba[_0x2bcb07(0x215)]=_0x57306a,_0x3f69ba[_0x2bcb07(0x23b)]=a['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x3f69ba['isCache']=_0x462686,_0x504efa['push'](_0x3f69ba),this[_0x2bcb07(0x1bc)]['set'](_0x3f69ba[_0x2bcb07(0x1da)],_0x3f69ba),this['_dependencyManagerService'][_0x2bcb07(0x1a3)](_0xefadf8,_0x2d1a8e,_0x57306a,_0x3f69ba),this[_0x2bcb07(0x20e)]['addFormulaDependencyByDefinedName'](_0x3f69ba);continue;}const _0x5279bb=new a[(_0x2bcb07(0x15d))]();_0x5279bb['treeId']=(_0x3f0585==null?void 0x0:_0x3f0585[_0x2bcb07(0x180)](_0x25bed3,_0x575b02))||a[_0x2bcb07(0x193)](this[_0x2bcb07(0x20e)]),_0x5279bb[_0x2bcb07(0x1dd)]=_0x3f69ba,_0x5279bb['refOffsetX']=_0x25bed3,_0x5279bb['refOffsetY']=_0x575b02,_0x5279bb[_0x2bcb07(0x1c1)]=_0x462686,_0x5279bb[_0x2bcb07(0x23b)]=a[_0x2bcb07(0x1fe)][_0x2bcb07(0x145)],this['_dependencyManagerService']['addOtherFormulaDependency'](_0xefadf8,_0x2d1a8e,_0x57306a,_0x5279bb),this[_0x2bcb07(0x20e)]['addFormulaDependencyByDefinedName'](_0x5279bb),_0x504efa[_0x2bcb07(0x17e)](_0x5279bb),this[_0x2bcb07(0x1bc)][_0x2bcb07(0x19e)](_0x5279bb[_0x2bcb07(0x1da)],_0x5279bb);}}this['_dependencyManagerService'][_0x2bcb07(0x1c3)](_0x57306a);}}}}[_0x18c1ab(0x200)](_0x3e1f6b,_0x29a8b3,_0x4205d2,_0x36050c){const _0x18fc6c=_0x18c1ab;for(const _0x1d2393 of _0x3e1f6b){const _0x509c85=_0x29a8b3[_0x1d2393];if(_0x509c85==null)continue;const _0x3427c6=Object['keys'](_0x509c85);for(const _0x194781 of _0x3427c6){const _0x48bb87=new M[(_0x18fc6c(0x1a1))](_0x509c85[_0x194781]||{}),_0xfbae06=new Map();_0x48bb87[_0x18fc6c(0x1ad)]((_0x370fcd,_0x238b07,_0x430a62)=>{const _0x229ac2=_0x18fc6c;if(_0x430a62==null)return!0x0;const {x:_0x94fa7d=0x0,y:_0x668e1d=0x0,si:_0x5f0705}=_0x430a62;if(!(_0x94fa7d===0x0&&_0x668e1d===0x0&&_0x5f0705!=null))return!0x0;const _0x53e719=this['_createFDtree'](_0x1d2393,_0x194781,_0x370fcd,_0x238b07,_0x4205d2,_0x430a62),_0x208037=this['_dependencyManagerService'][_0x229ac2(0x1f4)](_0x1d2393,_0x194781,_0x370fcd,_0x238b07);_0x208037!=null?_0x53e719[_0x229ac2(0x1da)]=_0x208037:(this[_0x229ac2(0x20e)]['addFormulaDependency'](_0x1d2393,_0x194781,_0x370fcd,_0x238b07,_0x53e719),this[_0x229ac2(0x20e)][_0x229ac2(0x225)](_0x53e719)),_0xfbae06[_0x229ac2(0x19e)](_0x5f0705,_0x53e719),_0x36050c[_0x229ac2(0x17e)](_0x53e719),this[_0x229ac2(0x1bc)][_0x229ac2(0x19e)](_0x53e719[_0x229ac2(0x1da)],_0x53e719);}),_0x48bb87[_0x18fc6c(0x1ad)]((_0xef7504,_0xd3c8a4,_0x195677)=>{const _0x1a7bc0=_0x18fc6c;if(_0x195677==null)return!0x0;const {x:_0x533785=0x0,y:_0x3a70d5=0x0,si:_0x162751}=_0x195677;if(_0x533785===0x0&&_0x3a70d5===0x0&&_0x162751!=null)return!0x0;let _0x50a872;if(_0x162751&&_0xfbae06[_0x1a7bc0(0x222)](_0x162751)){const _0x25da71=_0xfbae06[_0x1a7bc0(0x1e3)](_0x162751);_0x50a872=this[_0x1a7bc0(0x198)](_0x25da71,_0x195677);}else _0x50a872=this[_0x1a7bc0(0x14b)](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4,_0x4205d2,_0x195677);const _0x1ba170=this[_0x1a7bc0(0x20e)]['getFormulaDependency'](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4);_0x1ba170!=null?_0x50a872['treeId']=_0x1ba170:(this[_0x1a7bc0(0x20e)][_0x1a7bc0(0x187)](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4,_0x50a872),this[_0x1a7bc0(0x20e)][_0x1a7bc0(0x225)](_0x50a872)),_0x36050c[_0x1a7bc0(0x17e)](_0x50a872),this[_0x1a7bc0(0x1bc)]['set'](_0x50a872[_0x1a7bc0(0x1da)],_0x50a872);}),_0xfbae06['clear']();}}}[_0x18c1ab(0x14b)](_0x4b9005,_0x1b6c2a,_0x167cdb,_0x1553d8,_0x19f105,_0x218a54){const _0xc97ea0=_0x18c1ab,{f:_0x1ca708,x:_0x756b80=0x0,y:_0x514418=0x0}=_0x218a54,_0x4ecb41=new a['FormulaDependencyTree'](a[_0xc97ea0(0x193)](this[_0xc97ea0(0x20e)])),_0x536eab=_0x19f105[_0x4b9005][_0x1b6c2a];return _0x4ecb41[_0xc97ea0(0x22a)]=_0x1ca708,_0x4ecb41[_0xc97ea0(0x1a8)]=_0x4b9005,_0x4ecb41[_0xc97ea0(0x13c)]=_0x1b6c2a,_0x4ecb41[_0xc97ea0(0x149)]=_0x167cdb,_0x4ecb41[_0xc97ea0(0x1ec)]=_0x1553d8,_0x4ecb41[_0xc97ea0(0x15f)]=_0x536eab[_0xc97ea0(0x15f)],_0x4ecb41[_0xc97ea0(0x174)]=_0x536eab['columnCount'],_0x4ecb41;}[_0x18c1ab(0x189)](){const _0x22a137=_0x18c1ab,_0x1787dc=[],_0xe2ac2a=new Set(),_0x1d604f=this[_0x22a137(0x1e0)][_0x22a137(0x142)](),_0x4704d5=this[_0x22a137(0x1e0)][_0x22a137(0x230)](),_0x4b5271=this[_0x22a137(0x20e)][_0x22a137(0x186)](_0x4704d5),_0x54d219=this['_dependencyRTreeCacheForAddressFunction'][_0x22a137(0x14f)](_0x4704d5);for(const _0x23e618 of _0x54d219)_0x4b5271[_0x22a137(0x14d)](_0x23e618);for(const [_0x104335,_0x36b11d]of this['_dependencyTreeCache'])(_0x1d604f||_0x36b11d[_0x22a137(0x20c)]||_0x36b11d[_0x22a137(0x1af)](this[_0x22a137(0x1e0)]['getDirtyNameMap']())||_0x4b5271[_0x22a137(0x222)](_0x104335)&&!_0x36b11d[_0x22a137(0x231)](this[_0x22a137(0x1e0)]['getExcludedRange']()))&&!_0xe2ac2a[_0x22a137(0x222)](_0x104335)&&(_0x1787dc['push'](_0x36b11d),_0xe2ac2a[_0x22a137(0x14d)](_0x104335));for(const [_0x524884,_0x152848]of this[_0x22a137(0x1bc)])_0x152848['isVirtual']||(_0x152848[_0x22a137(0x23a)][_0x22a137(0x19c)]=0x0);return _0x1787dc;}[_0x18c1ab(0x17f)](_0x3b637d){const _0x2fbfcd=_0x18c1ab;return this['_dependencyTreeCache'][_0x2fbfcd(0x1e3)](_0x3b637d);}[_0x18c1ab(0x1e5)](_0x4ff5ad){const _0xeed79c=_0x18c1ab;return a[_0xeed79c(0x1e9)](_0x4ff5ad[_0xeed79c(0x1a8)],_0x4ff5ad[_0xeed79c(0x22a)],this[_0xeed79c(0x1e1)],this[_0xeed79c(0x1d4)],this[_0xeed79c(0x1e0)]);}*[_0x18c1ab(0x192)](_0x2e0c7b,_0x380b52){const _0x1e6612=_0x18c1ab,_0x221de2=_0x2e0c7b,_0x351ced=new Set();for(;_0x221de2[_0x1e6612(0x19c)]>0x0;){const _0x470053=_0x221de2[_0x1e6612(0x152)]();if(_0x351ced[_0x1e6612(0x213)](),_0x470053===void 0x0||_0x470053['isSkip']())continue;if(_0x470053[_0x1e6612(0x22b)]()){yield _0x470053,_0x470053[_0x1e6612(0x16c)](),_0x380b52[_0x1e6612(0x14d)](_0x470053[_0x1e6612(0x1da)]);continue;}const _0x4a1f66=this['_dependencyManagerService'][_0x1e6612(0x186)](_0x470053['toRTreeItem'](),_0x380b52),_0x5b8f24=this[_0x1e6612(0x19d)][_0x1e6612(0x14f)](_0x470053[_0x1e6612(0x226)](),_0x380b52);for(const _0x22adef of _0x5b8f24)_0x4a1f66[_0x1e6612(0x14d)](_0x22adef);for(const _0x5ae3df of _0x4a1f66){const _0x40bb9b=this[_0x1e6612(0x1bc)][_0x1e6612(0x1e3)](_0x5ae3df);if(!_0x40bb9b){console['error'](_0x1e6612(0x1e8),_0x5ae3df);continue;}_0x40bb9b[_0x1e6612(0x22b)]()||_0x470053['isSkip']()||_0x351ced[_0x1e6612(0x14d)](_0x40bb9b);}if(_0x4a1f66['clear'](),_0x351ced['size']===0x0)yield _0x470053,_0x470053['setSkip'](),_0x380b52['add'](_0x470053['treeId']);else{_0x470053[_0x1e6612(0x220)](),_0x221de2[_0x1e6612(0x17e)](_0x470053);for(const _0x339a77 of _0x351ced)_0x221de2['push'](_0x339a77);}}_0x221de2[_0x1e6612(0x19c)]=0x0,_0x351ced['clear']();}[_0x18c1ab(0x205)](_0x2da272){const _0xcaeb9d=_0x18c1ab,_0x36ac9e=[],_0x30767f=new Set();for(const _0x4cf7b2 of this[_0xcaeb9d(0x192)](_0x2da272,_0x30767f))_0x36ac9e[_0xcaeb9d(0x17e)](_0x4cf7b2);return _0x36ac9e;}async[_0x18c1ab(0x1c2)](){const _0x4c476d=_0x18c1ab;return await this['_initializeGenerateTreeList'](),Array[_0x4c476d(0x1f8)](this['_dependencyTreeCache'][_0x4c476d(0x1b3)]());}[_0x18c1ab(0x1db)](_0x1b4fc3){const _0x270c94=_0x18c1ab;return this['_dependencyManagerService'][_0x270c94(0x186)](_0x1b4fc3[_0x270c94(0x226)]());}[_0x18c1ab(0x17a)](_0x50f472){const _0x1d17de=_0x18c1ab,_0x1ecb2c=new Set(),_0x517dc5=_0x50f472[_0x1d17de(0x23a)];for(const [_0x133022,_0xef5f26]of this['_dependencyTreeCache'])for(const _0xdd9309 of _0x517dc5){const _0x102eb3=_0xdd9309[_0x1d17de(0x1a8)],_0x5eed44=_0xdd9309['sheetId'];if(_0xef5f26[_0x1d17de(0x1a8)]!==_0x102eb3||_0xef5f26[_0x1d17de(0x13c)]!==_0x5eed44)continue;const _0x319278=_0xdd9309[_0x1d17de(0x224)];if(_0xef5f26[_0x1d17de(0x1ef)](_0x319278)){_0x1ecb2c[_0x1d17de(0x14d)](_0x133022);break;}}return _0x1ecb2c;}[_0x18c1ab(0x1f5)](){const _0x4c2cbc=_0x18c1ab;this[_0x4c2cbc(0x20e)][_0x4c2cbc(0x1bf)]();}[_0x18c1ab(0x178)](){const _0x1f90ca=_0x18c1ab;this[_0x1f90ca(0x1aa)][_0x1f90ca(0x213)](),this[_0x1f90ca(0x1bc)]['clear'](),this[_0x1f90ca(0x20e)][_0x1f90ca(0x181)]();}}class G extends a[_0x18c1ab(0x1d0)]{async[_0x18c1ab(0x19b)](_0x3e2d20=!0x1){const _0x5143ab=_0x18c1ab;_0x3e2d20?this['_runtimeService'][_0x5143ab(0x1b9)](a['FormulaExecuteStageType'][_0x5143ab(0x1ca)]):this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a[_0x5143ab(0x22d)]['START_DEPENDENCY']),this[_0x5143ab(0x18d)][_0x5143ab(0x18b)](this[_0x5143ab(0x221)][_0x5143ab(0x20f)]());const _0x3a704a=await this[_0x5143ab(0x1ce)][_0x5143ab(0x1c9)](this[_0x5143ab(0x235)]),_0x11b007=this['_interpreter'];_0x3e2d20?(this['_runtimeService']['setFormulaExecuteStage'](a[_0x5143ab(0x22d)][_0x5143ab(0x14a)]),this[_0x5143ab(0x221)][_0x5143ab(0x15a)](_0x3a704a[_0x5143ab(0x19c)])):(this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a[_0x5143ab(0x22d)][_0x5143ab(0x16e)]),this[_0x5143ab(0x221)]['setTotalFormulasToCalculate'](_0x3a704a[_0x5143ab(0x19c)])),this['_executionInProgressListener$']['next'](this['_runtimeService'][_0x5143ab(0x20f)]());let _0x59ea5d=[];const _0x44b9bf=this[_0x5143ab(0x13b)]['getConfig'](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x6cbf87=(_0x44b9bf==null?void 0x0:_0x44b9bf['intervalCount'])||a[_0x5143ab(0x1a0)];let _0x1aa32d=0x0;const _0x23ae1a=_0x3a704a[_0x5143ab(0x19c)];for(;_0x3a704a[_0x5143ab(0x19c)]>0x0;){const _0x53e5f5=_0x3a704a[_0x5143ab(0x152)](),_0x48b0da=a[_0x5143ab(0x1e9)](_0x53e5f5[_0x5143ab(0x1a8)],_0x53e5f5['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']),_0x37d1b6={'node':_0x48b0da,'refOffsetX':_0x53e5f5[_0x5143ab(0x176)],'refOffsetY':_0x53e5f5[_0x5143ab(0x21b)]},_0x239a77=_0x53e5f5['getDirtyData'];if(_0x1aa32d%_0x6cbf87===0x0&&(await new Promise(_0x512138=>{const _0x2398ff=_0x5143ab,_0x4dad98=M[_0x2398ff(0x23e)](_0x512138);_0x59ea5d[_0x2398ff(0x17e)](_0x4dad98);}),_0x3e2d20?(this['_runtimeService'][_0x5143ab(0x1b9)](a['FormulaExecuteStageType'][_0x5143ab(0x1b1)]),this[_0x5143ab(0x221)][_0x5143ab(0x1fa)](_0x1aa32d+0x1)):(this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x5143ab(0x1d6)](_0x1aa32d+0x1)),this['_executionInProgressListener$']['next'](this[_0x5143ab(0x221)][_0x5143ab(0x20f)]()),this[_0x5143ab(0x221)][_0x5143ab(0x171)]()||_0x37d1b6==null&&_0x239a77==null)){this[_0x5143ab(0x221)]['setFormulaExecuteStage'](a[_0x5143ab(0x22d)][_0x5143ab(0x1b7)]),this[_0x5143ab(0x221)]['markedAsStopFunctionsExecuted'](),this[_0x5143ab(0x21c)][_0x5143ab(0x18b)](this[_0x5143ab(0x221)][_0x5143ab(0x175)]());return;}this[_0x5143ab(0x221)][_0x5143ab(0x1c5)](_0x53e5f5[_0x5143ab(0x149)],_0x53e5f5[_0x5143ab(0x1ec)],_0x53e5f5[_0x5143ab(0x15f)],_0x53e5f5[_0x5143ab(0x174)],_0x53e5f5[_0x5143ab(0x13c)],_0x53e5f5[_0x5143ab(0x1a8)]);let _0x50089d;if(_0x239a77!=null&&_0x53e5f5[_0x5143ab(0x163)]!=null){const {runtimeCellData:_0x4d9597,dirtyRanges:_0x212179}=_0x239a77(this[_0x5143ab(0x1e0)][_0x5143ab(0x1fc)](),this[_0x5143ab(0x221)][_0x5143ab(0x175)]());this[_0x5143ab(0x221)][_0x5143ab(0x1f9)](_0x53e5f5[_0x5143ab(0x163)],_0x4d9597),this[_0x5143ab(0x221)][_0x5143ab(0x233)](_0x53e5f5['featureId'],_0x212179);}else _0x37d1b6!=null&&(_0x11b007[_0x5143ab(0x1b0)](_0x37d1b6[_0x5143ab(0x1ae)])?_0x50089d=await _0x11b007[_0x5143ab(0x199)](_0x37d1b6):_0x50089d=_0x11b007[_0x5143ab(0x1cc)](_0x37d1b6),_0x53e5f5[_0x5143ab(0x215)]!=null?this['_runtimeService'][_0x5143ab(0x1cd)](_0x53e5f5['formulaId'],_0x53e5f5[_0x5143ab(0x176)],_0x53e5f5['refOffsetY'],_0x50089d):this[_0x5143ab(0x221)][_0x5143ab(0x1dc)](_0x50089d));_0x48b0da['resetCalculationState'](),_0x1aa32d++;}return _0x59ea5d[_0x5143ab(0x196)](_0x3527c7=>_0x3527c7()),_0x59ea5d=[],_0x23ae1a>0x0?this[_0x5143ab(0x221)][_0x5143ab(0x155)]():_0x3e2d20||this[_0x5143ab(0x221)][_0x5143ab(0x1df)](),this[_0x5143ab(0x221)]['getAllRuntimeData']();}}class $ extends a[_0x18c1ab(0x20d)]{constructor(){const _0x2484ba=_0x18c1ab;super(...arguments),F(this,_0x2484ba(0x154),new Map()),F(this,_0x2484ba(0x23f),new M[(_0x2484ba(0x1b4))](!0x0));}[_0x18c1ab(0x17d)](){const _0x1550ed=_0x18c1ab;this[_0x1550ed(0x1f1)][_0x1550ed(0x213)](),this[_0x1550ed(0x229)]['clear'](),this[_0x1550ed(0x1cf)][_0x1550ed(0x213)](),this['_dependencyRTreeCache'][_0x1550ed(0x213)](),this[_0x1550ed(0x154)]['clear'](),this[_0x1550ed(0x22c)](),this['_otherFormulaDataMainData'][_0x1550ed(0x213)]();}[_0x18c1ab(0x1a3)](_0xf492c0,_0x23b872,_0x2fdd2f,_0x3cd007){const _0x37b1b9=_0x18c1ab;this['_otherFormulaData'][_0x37b1b9(0x222)](_0xf492c0)||this[_0x37b1b9(0x1f1)]['set'](_0xf492c0,new Map());const _0x51cae0=this[_0x37b1b9(0x1f1)][_0x37b1b9(0x1e3)](_0xf492c0);_0x51cae0['has'](_0x23b872)||_0x51cae0[_0x37b1b9(0x19e)](_0x23b872,new Map());const _0x3659db=_0x51cae0[_0x37b1b9(0x1e3)](_0x23b872);_0x3659db[_0x37b1b9(0x222)](_0x2fdd2f)||_0x3659db[_0x37b1b9(0x19e)](_0x2fdd2f,new M[(_0x37b1b9(0x1a1))]()),_0x3659db[_0x37b1b9(0x1e3)](_0x2fdd2f)[_0x37b1b9(0x21e)](_0x3cd007['refOffsetX'],_0x3cd007[_0x37b1b9(0x21b)],_0x3cd007[_0x37b1b9(0x1da)]);}[_0x18c1ab(0x18f)](_0x1c2fa4,_0x20004b,_0x474545){const _0x5d35d8=_0x18c1ab,_0xd1ae24=this[_0x5d35d8(0x1f1)]['get'](_0x1c2fa4);if(_0xd1ae24&&_0xd1ae24[_0x5d35d8(0x222)](_0x20004b)){const _0x3e45ae=_0xd1ae24[_0x5d35d8(0x1e3)](_0x20004b);_0x474545['forEach'](_0x3ece76=>{const _0x2c6e07=_0x5d35d8,_0x12073f=_0x3e45ae[_0x2c6e07(0x1e3)](_0x3ece76);_0x12073f!=null&&(_0x12073f[_0x2c6e07(0x1ad)]((_0x34ef15,_0x1a851f,_0x49f064)=>{const _0x1018f4=_0x2c6e07;this[_0x1018f4(0x148)](_0x49f064),this['_removeAllTreeMap'](_0x49f064);}),_0x3e45ae[_0x2c6e07(0x151)](_0x3ece76),this[_0x2c6e07(0x212)]['delete'](_0x3ece76));}),_0x3e45ae['size']===0x0&&_0xd1ae24[_0x5d35d8(0x151)](_0x20004b),_0xd1ae24[_0x5d35d8(0x21a)]===0x0&&this[_0x5d35d8(0x1f1)][_0x5d35d8(0x151)](_0x1c2fa4);}}[_0x18c1ab(0x1a9)](_0xce03a7,_0x238e2f){const _0x23e28e=_0x18c1ab,_0x3f183a=this[_0x23e28e(0x1f1)][_0x23e28e(0x1e3)](_0xce03a7);if(_0x238e2f&&_0x3f183a&&_0x3f183a[_0x23e28e(0x222)](_0x238e2f)){const _0x4fb997=_0x3f183a[_0x23e28e(0x1e3)](_0x238e2f);this[_0x23e28e(0x166)](_0xce03a7,_0x238e2f);for(const _0x1aa97a of _0x4fb997['keys']()){const _0x50244c=_0x4fb997[_0x23e28e(0x1e3)](_0x1aa97a);_0x50244c!=null&&(_0x50244c[_0x23e28e(0x1ad)]((_0x5b774d,_0x1463b7,_0x32605b)=>{const _0x3955ab=_0x23e28e;this[_0x3955ab(0x154)]['get'](_0x32605b)&&this['_removeAllTreeMap'](_0x32605b);}),this[_0x23e28e(0x212)][_0x23e28e(0x151)](_0x1aa97a));}_0x4fb997['clear']();}else{if(_0x3f183a){for(const _0x30002f of _0x3f183a[_0x23e28e(0x15e)]()){const _0x3a1fba=_0x3f183a[_0x23e28e(0x1e3)](_0x30002f);this[_0x23e28e(0x166)](_0xce03a7,_0x30002f);for(const _0x3bd1c7 of _0x3a1fba['keys']()){const _0xed978b=_0x3a1fba[_0x23e28e(0x1e3)](_0x3bd1c7);_0xed978b!=null&&(_0xed978b[_0x23e28e(0x1ad)]((_0x55e3fc,_0x570dd5,_0x4d655e)=>{const _0x2dee8f=_0x23e28e;this[_0x2dee8f(0x154)][_0x2dee8f(0x1e3)](_0x4d655e)&&this[_0x2dee8f(0x170)](_0x4d655e);}),this[_0x23e28e(0x212)][_0x23e28e(0x151)](_0x3bd1c7));}}this[_0x23e28e(0x1f1)][_0x23e28e(0x151)](_0xce03a7);}}}['addFeatureFormulaDependency'](_0x2add9b,_0x5a2382,_0x1cf450,_0x1e53ff){const _0x4a7edc=_0x18c1ab;this['_featureFormulaData']['has'](_0x2add9b)||this[_0x4a7edc(0x229)]['set'](_0x2add9b,new Map());const _0x56f2e7=this[_0x4a7edc(0x229)][_0x4a7edc(0x1e3)](_0x2add9b);_0x56f2e7[_0x4a7edc(0x222)](_0x5a2382)||_0x56f2e7[_0x4a7edc(0x19e)](_0x5a2382,new Map()),_0x56f2e7[_0x4a7edc(0x1e3)](_0x5a2382)['set'](_0x1cf450,_0x1e53ff[_0x4a7edc(0x1da)]);}['removeFeatureFormulaDependency'](_0x3ebea1,_0x174cc7,_0x14247f){const _0x148589=_0x18c1ab,_0x52598a=this[_0x148589(0x229)][_0x148589(0x1e3)](_0x3ebea1);if(_0x52598a&&_0x52598a['has'](_0x174cc7)){const _0x53f699=_0x52598a['get'](_0x174cc7);_0x14247f[_0x148589(0x196)](_0x16feaa=>{const _0x50a719=_0x148589,_0x2e4aaf=_0x53f699[_0x50a719(0x1e3)](_0x16feaa);_0x2e4aaf!=null&&(this[_0x50a719(0x148)](_0x2e4aaf),_0x53f699[_0x50a719(0x151)](_0x16feaa),this['_removeAllTreeMap'](_0x2e4aaf));});}}[_0x18c1ab(0x1fb)](_0x1244b2,_0x4ef2d6){const _0x4feffd=_0x18c1ab,_0x321069=this[_0x4feffd(0x229)][_0x4feffd(0x1e3)](_0x1244b2);if(_0x4ef2d6&&_0x321069&&_0x321069[_0x4feffd(0x222)](_0x4ef2d6)){const _0x3af8ef=_0x321069[_0x4feffd(0x1e3)](_0x4ef2d6);this['_removeDependencyRTreeCacheById'](_0x1244b2,_0x4ef2d6),_0x3af8ef[_0x4feffd(0x196)](_0x437adc=>{const _0x35bbc3=_0x4feffd;_0x437adc!=null&&this[_0x35bbc3(0x170)](_0x437adc);}),_0x3af8ef[_0x4feffd(0x213)]();}else _0x321069&&(_0x321069[_0x4feffd(0x196)]((_0x280ca5,_0x4aa645)=>{const _0x1eaccc=_0x4feffd;this['_removeDependencyRTreeCacheById'](_0x1244b2,_0x4aa645),_0x280ca5[_0x1eaccc(0x196)](_0x44fa2b=>{const _0x3bd757=_0x1eaccc;_0x44fa2b!=null&&this[_0x3bd757(0x170)](_0x44fa2b);});}),this[_0x4feffd(0x229)][_0x4feffd(0x151)](_0x1244b2));}[_0x18c1ab(0x187)](_0x1296d7,_0x25897e,_0x534eca,_0x358cdd,_0x43e9d3){const _0xd4c330=_0x18c1ab;this['_formulaData'][_0xd4c330(0x222)](_0x1296d7)||this[_0xd4c330(0x1cf)][_0xd4c330(0x19e)](_0x1296d7,new Map());const _0x3ae3be=this['_formulaData'][_0xd4c330(0x1e3)](_0x1296d7);_0x3ae3be[_0xd4c330(0x222)](_0x25897e)||_0x3ae3be[_0xd4c330(0x19e)](_0x25897e,new M[(_0xd4c330(0x1a1))]()),_0x3ae3be[_0xd4c330(0x1e3)](_0x25897e)[_0xd4c330(0x21e)](_0x534eca,_0x358cdd,_0x43e9d3[_0xd4c330(0x1da)]);}[_0x18c1ab(0x19f)](_0x3c93b1,_0x6d49c7,_0x12e107,_0x17941c){const _0x466b7f=_0x18c1ab,_0x308f4c=this[_0x466b7f(0x1cf)][_0x466b7f(0x1e3)](_0x3c93b1);if(_0x308f4c&&_0x308f4c[_0x466b7f(0x222)](_0x6d49c7)){const _0x53e182=_0x308f4c[_0x466b7f(0x1e3)](_0x6d49c7),_0x3958b9=_0x53e182[_0x466b7f(0x180)](_0x12e107,_0x17941c);if(_0x3958b9==null)return;this[_0x466b7f(0x148)](_0x3958b9),_0x53e182[_0x466b7f(0x1c6)](_0x12e107,_0x17941c),this[_0x466b7f(0x170)](_0x3958b9);}}['clearFormulaDependency'](_0x33293e,_0x19bc8c){const _0xb5e34=_0x18c1ab,_0x4f7767=this[_0xb5e34(0x1cf)][_0xb5e34(0x1e3)](_0x33293e);if(_0x19bc8c&&_0x4f7767&&_0x4f7767[_0xb5e34(0x222)](_0x19bc8c)){const _0x33a90c=_0x4f7767[_0xb5e34(0x1e3)](_0x19bc8c);this[_0xb5e34(0x166)](_0x33293e,_0x19bc8c),_0x33a90c[_0xb5e34(0x1ad)]((_0x552c4a,_0x3fe84c,_0x1ec665)=>{const _0x25e48a=_0xb5e34;if(_0x1ec665==null)return!0x0;this[_0x25e48a(0x170)](_0x1ec665);}),_0x33a90c['reset']();}else _0x4f7767&&(_0x4f7767['forEach']((_0x526a1b,_0x40a38d)=>{const _0x1b6f52=_0xb5e34;this[_0x1b6f52(0x166)](_0x33293e,_0x40a38d),_0x526a1b[_0x1b6f52(0x1ad)]((_0x55693e,_0x187d6b,_0x1e1244)=>{const _0x293cd3=_0x1b6f52;if(_0x1e1244==null)return!0x0;this[_0x293cd3(0x170)](_0x1e1244);});}),this[_0xb5e34(0x1cf)][_0xb5e34(0x151)](_0x33293e));}['_removeDependencyRTreeCache'](_0x23e55c){const _0x835f2=_0x18c1ab;if(_0x23e55c==null)return;const _0x42b582=this[_0x835f2(0x154)]['get'](_0x23e55c);if(_0x42b582){const _0x54f36d=[];for(const [_0x18f62f,_0x489c52]of _0x42b582)for(const [_0x3fb27e,_0xddc74]of _0x489c52)_0x54f36d[_0x835f2(0x17e)]({'unitId':_0x18f62f,'sheetId':_0x3fb27e,'range':_0xddc74,'id':_0x23e55c});this[_0x835f2(0x23f)][_0x835f2(0x177)](_0x54f36d);}}[_0x18c1ab(0x1b2)](_0x4cd35f,_0x10850b){const _0x1905f8=_0x18c1ab,_0x30eed3=this[_0x1905f8(0x14c)][_0x1905f8(0x1e3)](_0x4cd35f);if(_0x30eed3){const _0x156142=_0x30eed3[_0x1905f8(0x1e3)](_0x10850b);if(_0x156142){for(const _0x18d268 of _0x156142)this['_removeDependencyRTreeCache'](_0x18d268),this[_0x1905f8(0x170)](_0x18d268);_0x156142[_0x1905f8(0x213)]();}}}[_0x18c1ab(0x1bf)](){const _0x1714c6=_0x18c1ab;this['_dependencyRTreeCache'][_0x1714c6(0x1bf)]();}[_0x18c1ab(0x181)](){const _0x5179e4=_0x18c1ab;this['_dependencyRTreeCache'][_0x5179e4(0x181)]();}[_0x18c1ab(0x170)](_0x74cb06){const _0x4d49b2=_0x18c1ab;_0x74cb06!=null&&this['_allTreeMap'][_0x4d49b2(0x151)](_0x74cb06);}['_addAllTreeMap'](_0x1ea261){const _0x5a8190=_0x18c1ab;var _0x15c916,_0x494b7c;const _0x3cf8e6=_0x1ea261['rangeList'];let _0x669283=this[_0x5a8190(0x154)][_0x5a8190(0x1e3)](_0x1ea261[_0x5a8190(0x1da)]);for(let _0x1e6074=0x0;_0x1e6074<_0x3cf8e6[_0x5a8190(0x19c)];_0x1e6074++){const _0x129bfb=_0x3cf8e6[_0x1e6074];let {unitId:_0x1ca7bf,sheetId:_0x7633f9,range:_0xa09cef}=_0x129bfb;_0x669283||(_0x669283=new Map(),this['_allTreeMap'][_0x5a8190(0x19e)](_0x1ea261[_0x5a8190(0x1da)],_0x669283)),_0x669283[_0x5a8190(0x222)](_0x1ca7bf)||_0x669283[_0x5a8190(0x19e)](_0x1ca7bf,new Map());const _0x420f3c=(_0x15c916=_0x669283==null?void 0x0:_0x669283[_0x5a8190(0x1e3)](_0x1ca7bf))==null?void 0x0:_0x15c916['get'](_0x7633f9);_0x420f3c&&(_0xa09cef={'startRow':Math[_0x5a8190(0x1e6)](_0xa09cef[_0x5a8190(0x165)],_0x420f3c[_0x5a8190(0x165)]),'startColumn':Math['min'](_0xa09cef['startColumn'],_0x420f3c['startColumn']),'endRow':Math[_0x5a8190(0x1bd)](_0xa09cef[_0x5a8190(0x1ea)],_0x420f3c[_0x5a8190(0x1ea)]),'endColumn':Math[_0x5a8190(0x1bd)](_0xa09cef[_0x5a8190(0x143)],_0x420f3c[_0x5a8190(0x143)])}),(_0x494b7c=_0x669283[_0x5a8190(0x1e3)](_0x1ca7bf))==null||_0x494b7c[_0x5a8190(0x19e)](_0x7633f9,_0xa09cef);}}}var j=Object[_0x18c1ab(0x1a7)],W=(_0x31f6df,_0x1e8f98,_0x1785f7,_0x479f20)=>{const _0x105951=_0x18c1ab;for(var _0x2f17e2=_0x479f20>0x1?void 0x0:_0x479f20?j(_0x1e8f98,_0x1785f7):_0x1e8f98,_0xeda5c6=_0x31f6df[_0x105951(0x19c)]-0x1,_0x10910c;_0xeda5c6>=0x0;_0xeda5c6--)(_0x10910c=_0x31f6df[_0xeda5c6])&&(_0x2f17e2=_0x10910c(_0x2f17e2)||_0x2f17e2);return _0x2f17e2;};const X=Number[_0x18c1ab(0x1a4)](0x696b4030);exports[_0x18c1ab(0x23c)]=class extends a['UniverFormulaEnginePlugin']{[_0x18c1ab(0x1f3)](){const _0xc4fa50=_0x18c1ab;var _0x151be5,_0x275ff3;this[_0xc4fa50(0x153)]()?(this[_0xc4fa50(0x156)]['add']([a[_0xc4fa50(0x1f6)],{'useClass':A}]),(_0x151be5=this[_0xc4fa50(0x194)])!=null&&_0x151be5[_0xc4fa50(0x18e)]||[[a[_0xc4fa50(0x179)],{'useClass':G}],[a['IDependencyManagerService'],{'useClass':$}],[a['IFormulaDependencyGenerator'],{'useClass':Y}]][_0xc4fa50(0x196)](_0x12ce89=>this['_injector'][_0xc4fa50(0x14d)](_0x12ce89))):(this[_0xc4fa50(0x156)]['add']([a['LexerTreeBuilder'],{'useClass':a[_0xc4fa50(0x1f6)]}]),(_0x275ff3=this['_config'])!=null&&_0x275ff3[_0xc4fa50(0x18e)]||[[a[_0xc4fa50(0x179)],{'useClass':a[_0xc4fa50(0x1d0)]}],[a[_0xc4fa50(0x167)],{'useClass':a[_0xc4fa50(0x1d1)]}],[a[_0xc4fa50(0x169)],{'useClass':a['FormulaDependencyGenerator']}]][_0xc4fa50(0x196)](_0x85d39b=>this[_0xc4fa50(0x156)]['add'](_0x85d39b)));}['_initLicenseValid'](){const _0x9082d8=_0x18c1ab;var _0x3102ba;const _0x315388=(_0x3102ba=this['_configService'][_0x9082d8(0x216)](x[_0x9082d8(0x201)]))!=null?_0x3102ba:{},{ls:_0x4d2497,pbk:_0x19eb81}=_0x315388;if(!_0x4d2497||!_0x19eb81)return!0x1;const _0xa3be5a=x[_0x9082d8(0x1b5)](K,B),_0x4d901e=new Function(_0x9082d8(0x172)+_0xa3be5a)()(_0x4d2497,_0x19eb81),_0x3a4ca3=_0x4d901e[_0x9082d8(0x188)];return _0x4d901e['valid']&&x[_0x9082d8(0x162)](_0x3a4ca3,'sf',X)?x[_0x9082d8(0x21d)](_0x3a4ca3,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x18c1ab(0x23c)]=W([M['DependentOn'](x[_0x18c1ab(0x1ac)])],exports[_0x18c1ab(0x23c)]),exports['LexerTreeProBuilder']=A,Object[_0x18c1ab(0x15e)](a)[_0x18c1ab(0x196)](_0x25e4fd=>{const _0x3c5a9d=_0x18c1ab;_0x25e4fd!==_0x3c5a9d(0x1d2)&&!Object['prototype'][_0x3c5a9d(0x1c7)][_0x3c5a9d(0x1cb)](exports,_0x25e4fd)&&Object[_0x3c5a9d(0x23d)](exports,_0x25e4fd,{'enumerable':!0x0,'get':()=>a[_0x25e4fd]});});
|
|
1
|
+
'use strict';const _0xec7a0e=_0x2804;(function(_0x478de3,_0x1bf177){const _0x95dd5c=_0x2804,_0x3e630a=_0x478de3();while(!![]){try{const _0x2a496d=parseInt(_0x95dd5c(0x183))/0x1*(-parseInt(_0x95dd5c(0x198))/0x2)+-parseInt(_0x95dd5c(0x153))/0x3+parseInt(_0x95dd5c(0x1d0))/0x4*(-parseInt(_0x95dd5c(0x125))/0x5)+-parseInt(_0x95dd5c(0x19e))/0x6*(parseInt(_0x95dd5c(0x11a))/0x7)+-parseInt(_0x95dd5c(0x19f))/0x8*(parseInt(_0x95dd5c(0x17d))/0x9)+-parseInt(_0x95dd5c(0x14c))/0xa*(parseInt(_0x95dd5c(0xfc))/0xb)+-parseInt(_0x95dd5c(0x122))/0xc*(-parseInt(_0x95dd5c(0x15d))/0xd);if(_0x2a496d===_0x1bf177)break;else _0x3e630a['push'](_0x3e630a['shift']());}catch(_0x33d7e0){_0x3e630a['push'](_0x3e630a['shift']());}}}(_0xa9a7,0x4701e));var k=Object[_0xec7a0e(0x11c)],Y=(_0x365569,_0x3cb1ad,_0x5dc353)=>_0x3cb1ad in _0x365569?k(_0x365569,_0x3cb1ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dc353}):_0x365569[_0x3cb1ad]=_0x5dc353,E=(_0x2c07fd,_0x2a9070,_0x4fbf53)=>Y(_0x2c07fd,typeof _0x2a9070!=_0xec7a0e(0x1e8)?_0x2a9070+'':_0x2a9070,_0x4fbf53);Object[_0xec7a0e(0x11c)](exports,Symbol[_0xec7a0e(0x1ae)],{'value':_0xec7a0e(0x182)});function _0xa9a7(){const _0x44e76d=['_handleTextNodeForExprTree','_generateTreeList','_dependencyRTreeCacheForAddressFunction','Module','41335KGOAva','SUFFIX_TOKEN_SET','clearArrayObjectCache','startsWith','message','inRangeData','_dependencyManagerService','values','START_DEPENDENCY','_convertDirtyRangesToUnitRange','type','ErrorType','UniverLicensePlugin','ICalculateFormulaService','markedAsNoFunctionsExecuted','_apply','formula','IDLE','addFormulaDependency','START_CALCULATION_ARRAY_FORMULA','getOtherFormulaDependency','2TQVwId','_generateExprTree','_getDependencyTreeChildrenIds','_clearFunctionString','featureDirtyRanges','IDependencyManagerService','13530ggqzrB','8MAuCvf','FormulaDependencyGenerator','isDirty','keys','addOtherFormulaDependency','notExecuteFormula','length','isVirtual','getSheetFeatureLimit','FormulaDependencyTreeType','setCompletedArrayFormulasCount','OPERATOR_TOKEN_SET','hasOtherFormulaDataMainData','dispose','_removeDependencyRTreeCacheById','toStringTag','getFormulaDependency','sheetId','_checkAddBracketForMinus','generateRandomDependencyTreeId','getChildren','_createVirtualFDtree','_executionInProgressListener$','_configService','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','setRuntimeFeatureRange','\x22\x20is\x20duplicated.','_initLicenseValid','_allTreeMap','CalculateFormulaService','_updateRangeFlatten','execute','isArray','_generateNewFunctionString','setValue','matchToken','push','has','getExcludedRange','splitTableStructuredRef','treeBuilder','forEach','getFeatureFormulaDependency','DependentOn','_executionCompleteListener$','CURRENTLY_CALCULATING_ARRAY_FORMULA','FormulaDependencyTree','from','FormulaExecuteStageType','655148gzOOGw','isSkip','_definedNameMap','realDeleteValue','searchDependency','set','getValue','delete','DependencyManagerService','clearFormulaDependency','checkAsyncNode','columnCount','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','setFormulaExecuteStage','_handleLambdaForExprTree','LS_CONFIG_KEY','_interpreter','row','Lambda\x20parameter\x20name\x20\x22','featureId','DEFAULT_TOKEN_LET_FUNCTION_NAME','clearFeatureFormulaDependency','getToken','getAllRuntimeData','symbol','addOtherFormulaDependencyMainData','_handleChildrenForExprTree','string','LexerNode','_featureFormulaData','_lambdaFunctionParameterSet','getStartIndex','START_CALCULATION','_getTreeNode','DEFAULT_INTERVAL_COUNT','rowCount','next','FEATURE_FORMULA','_handleNewFunctionChild','LexerTreeBuilder','_createFDtree','isStopExecution','_traverse','_dependencyTreeCache','_getUpdateTreeListAndMakeDependency','_checkColonNodeForExprTree','min','_resetPrefix','addFeatureFormulaDependency','_getTableNameFromStructuredRef','11tVpUMO','_otherFormulaManagerService','node','getConfig','treeId','hasOwnProperty','dependencySheetName','setTotalFormulasToCalculate','_getTreeById','/*FlgEH71-LHgekElFuqlxlq-1lpuEe1lF*/xY791HA7FLl9q4u1HA7(EH9l7gl,FuYkEH93l4)F{FFFF1q4F{FFFFFFFF9A7g1FEH9l7glU7xAbeq1nqqe4F=FEH9l7gl.guEH1(\x27-\x27);FFFFFFFF9A7g1FAqHPH7QlggePlF=FS6do.ueqgl(e1Ak(EH9l7glU7xAbeq1nqqe4[2]));FFFFFFFFHxF(!AqHPH7QlggePl.YL)F{FFFFFFFFFFFFAqHPH7QlggePl.YLF=FoYpklq(EH9l7glU7xAbeq1nqqe4[N]);FFFFFFFF}FFFFFFFF9A7g1FHgRAq8lqF=F14ulAxFRAq8lqcEAkeE69AulF!==F\x27Y7LlxH7lL\x27F&&FglExFH7g1e79lAxFRAq8lqcEAkeE69Aul;FFFFFFFF9A7g1FHgjqAXglqF=F14ulAxFXH7LAXF!==F\x27Y7LlxH7lL\x27F&&F14ulAxFXH7LAX.EA9e1HA7F!==F\x27Y7LlxH7lL\x27;FFFFFFFF9A7g1F9A71lJ1F=FHgRAq8lqF?FglExF:F(HgjqAXglqF?FXH7LAXF:FPEAkeEWrHg);FFFFFFFF9A7g1FplggePlRAqLF=F9A71lJ1.__jeglvN__.ueqgl(EH9l7glU7xAbeq1nqqe4[2]);FFFFFFFF9A7g1FplggePlF=F9A71lJ1.__flJ__.g1qH7PHx4(plggePlRAqL);FFFFFFFF9A7g1FgHP7e1YqlRAqLF=F9A71lJ1.__jeglvN__.ueqgl(EH9l7glU7xAbeq1nqqe4[5]);FFFFFFFF9A7g1FgHP7e1YqlF=F9A71lJ1.__flJ__.g1qH7PHx4(gHP7e1YqlRAqL);FFFFFFFF9A7g1FgHP7meEHLF=F9A71lJ1.__zlqHx4__(gHP7e1Yql,FplggePl,FuYkEH93l4);FFFFFFFF9A7g1FLApeH7F=FAqHPH7QlggePl.Lp;FFFFFFFFxY791HA7FHgVApeH7Qe19rH7P(ue11lq7,FrAg1)F{FFFFFFFFFFFFHxF(ue11lq7F===FrAg1)Fql1Yq7F1qYl;FFFFFFFFFFFFHxF(ue11lq7.g1eq1gRH1r(\x27*.\x27))F{FFFFFFFFFFFFFFFF9A7g1FgYxxHJF=Fue11lq7.gEH9l(2);FFFFFFFFFFFFFFFFHxF(gYxxHJF&&FgYxxHJF===FrAg1)F{FFFFFFFFFFFFFFFFFFFFql1Yq7F1qYl;FFFFFFFFFFFFFFFF}FFFFFFFFFFFFFFFFHxF(gYxxHJF&&F!rAg1.g1eq1gRH1r(\x27.\x27)F&&FrAg1.l7LgRH1r(\x27.\x27F+FgYxxHJ))F{FFFFFFFFFFFFFFFFFFFFql1Yq7F1qYl;FFFFFFFFFFFFFFFF}FFFFFFFFFFFF}FFFFFFFFFFFFql1Yq7FxeEgl;FFFFFFFF}FFFFFFFFEl1FLApeH7meEHLF=FxeEgl;FFFFFFFFHxF(HgjqAXglq)F{FFFFFFFFFFFFLApeH7meEHLF=F(LApeH7F&&FLApeH7.El7P1r)F?FLApeH7.gApl((LpU1lp)F=>FHgVApeH7Qe19rH7P(LpU1lp,FEA9e1HA7.rAg17epl))F:F1qYl;FFFFFFFFFFFFHxF(EA9e1HA7.rAg17eplF===F\x27EA9eErAg1\x27)F{FFFFFFFFFFFFFFFFLApeH7meEHLF=F1qYl;FFFFFFFFFFFF}FFFFFFFF}FlEglF{FFFFFFFFFFFFLApeH7meEHLF=F1qYl;FFFFFFFF}FFFFFFFF9A7g1FzeEHLF=FgHP7meEHLF&&FLApeH7meEHL;FFFFFFFFql1Yq7F{FFFFFFFFFFFFzeEHL,FFFFFFFFFFFFplggePl:FAqHPH7QlggePl,FFFFFFFF};FFFF}F9e19rF(lqqAq)F{FFFFFFFFql1Yq7F{FFFFFFFFFFFFzeEHL:FxeEgl,FFFFFFFFFFFFplggePl:F{},FFFFFFFF};FFFF}}','_removeAllTreeMap','_config','_calculateRunList','UniverProFormulaEnginePlugin','reset','IFormulaDependencyGenerator','openKdTree','refOffsetX','endColumn','_isCyclicUtilMap','setAdded','setRuntimeData','isReferenceString','refTree','getFormulaExprTree','valid','isForceCalculate','formulaId','prototype','isAdded','1316rOiPzX','pop','defineProperty','addFormulaDependencyByDefinedName','unitId','_astTreeBuilder','DEFAULT_TOKEN_TYPE_PARAMETER','setTotalArrayFormulasToCalculate','9207012CcoUpi','closeKdTree','range','10bkIaPF','ObjectMatrix','_registerFormulas','toUpperCase','clear','getUnitData','_getCurNodeTypeForExprTree','startIndex','getDirtyNameMap','CURRENTLY_CALCULATING','endRow','_getFirstCellOfRange','RTree','forValue','_clearPrefix','_dependencyRTreeCache','_otherFormulaData','prefixToken','default','error','return\x20','_initializeGenerateTreeList','get','refOffsetY','getNewFormulaWithPrefix','rangeList','DEFAULT_TOKEN_TYPE_ROOT','intervalCount','call','_formulaData','toRTreeItem','_xlpmPrefix','PLUS','_lexer','isCache','trim','_addAllTreeMap','value','getOwnPropertyDescriptor','2960670qExuoc','DependencyManagerBaseService','generate','_currentConfigService','OTHER_FORMULA','COLON','max','1362dJoeFa','_injector','add','bulkRemove','children','START_DEPENDENCY_ARRAY_FORMULA','_getAllDependencyJson','setCompletedFormulasCount','_removeDependencyRTreeCache','removeFormulaDependency','26caxZEr','getClearDependencyTreeCache','_initializeWithOverride','_hasNewExcelFunction','subUnitId','size','removeFeatureFormulaDependency','getRuntimeState','join','dirtyRanges','generateAstNode','_currentUnitId','_xlpm.','getDirtyData','_xlfnPrefix','clearOtherFormulaDependency','startColumn','_checkIsCycleDependency','LexerTreeProBuilder','MINUS','slice','removeOtherFormulaDependency','_getAllTreeList','_otherFormulaDataMainData','NEW_EXCEL_FUNCTIONS','_runtimeService','UniverFormulaEnginePlugin','VALUE','executeAsync','bulkSearch','column','_formulaDependencyTreeModel','1388574GjDvuT','_getFeatureFormulaTree'];_0xa9a7=function(){return _0x44e76d;};return _0xa9a7();}function _0x2804(_0x18ff09,_0x3919af){_0x18ff09=_0x18ff09-0xef;const _0xa9a732=_0xa9a7();let _0x2804cf=_0xa9a732[_0x18ff09];return _0x2804cf;}const a=require('@univerjs/engine-formula'),L=require('@univerjs-pro/license'),D=require('@univerjs/core');class P extends a[_0xec7a0e(0xf1)]{constructor(){const _0x23e667=_0xec7a0e;super(...arguments),E(this,_0x23e667(0x160),!0x1),E(this,_0x23e667(0x1ee),new Set()),E(this,_0x23e667(0x144),_0x23e667(0x169)),E(this,_0x23e667(0x16b),'_xlfn.'),E(this,_0x23e667(0x168),'');}[_0xec7a0e(0xf9)](){const _0x1fab50=_0xec7a0e;this[_0x1fab50(0x144)]='_xlpm.',this['_xlfnPrefix']='_xlfn.';}[_0xec7a0e(0x133)](){const _0x5398a8=_0xec7a0e;this[_0x5398a8(0x144)]='',this[_0x5398a8(0x16b)]='';}[_0xec7a0e(0x13d)](_0x4f7987,_0x9334f2){const _0x390f1d=_0xec7a0e,_0x4b6576=this[_0x390f1d(0x1c7)](_0x4f7987,!0x1);if(!_0x4b6576||_0x4b6576===a[_0x390f1d(0x18e)][_0x390f1d(0x178)]||Array[_0x390f1d(0x1bf)](_0x4b6576))return null;const _0x3586fd=[];return this['_hasNewExcelFunction']=!0x1,this[_0x390f1d(0x1c0)](_0x4b6576,_0x3586fd,_0x9334f2),this[_0x390f1d(0x160)]?'='+_0x3586fd[_0x390f1d(0x165)](''):null;}[_0xec7a0e(0x1c0)](_0x1cd4bb,_0x2d6445,_0x26e54e){const _0x4195f7=_0xec7a0e,_0x5490d2=_0x1cd4bb[_0x4195f7(0x1e6)](),_0x2788f2=_0x5490d2[_0x4195f7(0x148)](),_0x4f4ac1=_0x2788f2[_0x4195f7(0x128)](),_0x58837a=this[_0x4195f7(0x19b)](_0x4f4ac1),_0x4dbfb8=_0x26e54e(_0x58837a);let _0x2e1478=0x0;_0x5490d2===a[_0x4195f7(0x13f)]?_0x2e1478=0x3:_0x5490d2===a[_0x4195f7(0x120)]?_0x2e1478=0x4:_0x5490d2===a[_0x4195f7(0x1b7)]?_0x2e1478=0x5:a[_0x4195f7(0x175)][_0x4195f7(0x1c4)](_0x58837a)?(_0x2d6445['push'](''+this[_0x4195f7(0x16b)]+_0x2788f2),this[_0x4195f7(0x160)]=!0x0):_0x4f4ac1===a[_0x4195f7(0x1dc)]?(_0x2d6445[_0x4195f7(0x1c3)](''+this[_0x4195f7(0x16b)]+_0x2788f2),this[_0x4195f7(0x160)]=!0x0,_0x2e1478=0x2):_0x4f4ac1===a[_0x4195f7(0x1e4)]?(_0x2d6445[_0x4195f7(0x1c3)](''+this['_xlfnPrefix']+_0x2788f2),this['_hasNewExcelFunction']=!0x0,_0x2e1478=0x1):_0x4f4ac1===a['matchToken'][_0x4195f7(0x151)]?_0x2e1478=0x8:a[_0x4195f7(0x184)][_0x4195f7(0x1c4)](_0x4f4ac1)?_0x2e1478=0x7:_0x4f4ac1===a[_0x4195f7(0x136)][_0x4195f7(0x170)]?(this[_0x4195f7(0x1b1)](_0x1cd4bb)&&(_0x2e1478=0x9),_0x2d6445['push'](_0x5490d2)):(_0x2d6445[_0x4195f7(0x1c3)](_0x5490d2),_0x2e1478=0xa),_0x4dbfb8?(_0x2e1478!==0x2&&_0x2e1478!==0x1&&(_0x2e1478=0x6),_0x2d6445['push']('(')):_0x2e1478===0x9&&_0x2d6445[_0x4195f7(0x1c3)]('(');const _0x38f413=_0x1cd4bb[_0x4195f7(0x1b3)](),_0x5eaa82=_0x38f413[_0x4195f7(0x1a5)];if(_0x2e1478===0x2){const _0x7c15fe=_0x38f413[0x0];let _0x3533b0=0x0;_0x7c15fe instanceof a[_0x4195f7(0x1ec)]&&_0x7c15fe[_0x4195f7(0x1e6)]()===a[_0x4195f7(0x1b7)]&&(_0x3533b0=0x1);for(let _0x330b65=_0x3533b0;_0x330b65<_0x5eaa82-0x1;_0x330b65++){const _0x4fc3d0=_0x38f413[_0x330b65];if(_0x4fc3d0 instanceof a[_0x4195f7(0x1ec)]){const _0x578981=_0x4fc3d0[_0x4195f7(0x1b3)]()[0x0];typeof _0x578981==_0x4195f7(0x1eb)&&(this[_0x4195f7(0x1ee)][_0x4195f7(0x1c4)](_0x578981)&&console[_0x4195f7(0x138)](_0x4195f7(0x1e2)+_0x578981+_0x4195f7(0x1b9)),this[_0x4195f7(0x1ee)][_0x4195f7(0x155)](_0x578981),_0x2d6445[_0x4195f7(0x1c3)](''+this['_xlpmPrefix']+_0x578981),this[_0x4195f7(0x160)]=!0x0);}_0x2d6445[_0x4195f7(0x1c3)](',');}this[_0x4195f7(0xf0)](_0x38f413[_0x5eaa82-0x1],_0x2d6445,_0x26e54e),_0x3533b0===0x1&&(_0x2d6445['push'](')'),_0x2d6445[_0x4195f7(0x1c3)]('('),this['_generateNewFunctionString'](_0x7c15fe,_0x2d6445,_0x26e54e)),_0x2d6445['push'](')');return;}else{if(_0x2e1478===0x1){for(let _0x8638bc=0x0;_0x8638bc<_0x5eaa82-0x1;_0x8638bc++){const _0x38599d=_0x38f413[_0x8638bc];if(_0x38599d instanceof a[_0x4195f7(0x1ec)]&&_0x8638bc%0x2===0x0){const _0x5f3b23=_0x38599d[_0x4195f7(0x1b3)]()[0x0];if(typeof _0x5f3b23==_0x4195f7(0x1eb)){this[_0x4195f7(0x1ee)][_0x4195f7(0x1c4)](_0x5f3b23)&&console[_0x4195f7(0x138)]('Let\x20variable\x20name\x20\x22'+_0x5f3b23+_0x4195f7(0x1b9)),this[_0x4195f7(0x1ee)][_0x4195f7(0x155)](_0x5f3b23),_0x2d6445[_0x4195f7(0x1c3)](''+this['_xlpmPrefix']+_0x5f3b23),this['_hasNewExcelFunction']=!0x0,_0x2d6445[_0x4195f7(0x1c3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x38599d,_0x2d6445,_0x26e54e),_0x38599d instanceof a[_0x4195f7(0x1ec)]){const _0x4be121=_0x38f413[_0x8638bc+0x1];_0x4be121&&_0x4be121 instanceof a[_0x4195f7(0x1ec)]&&_0x2d6445[_0x4195f7(0x1c3)](',');}}this[_0x4195f7(0xf0)](_0x38f413[_0x5eaa82-0x1],_0x2d6445,_0x26e54e),_0x2d6445[_0x4195f7(0x1c3)](')');return;}else{if(_0x2e1478===0x8){const _0x5e0684=_0x38f413[0x0],_0x3f0564=_0x38f413[0x1];this['_handleNewFunctionChild'](_0x5e0684,_0x2d6445,_0x26e54e),_0x2d6445[_0x4195f7(0x1c3)](_0x5490d2),this[_0x4195f7(0xf0)](_0x3f0564,_0x2d6445,_0x26e54e);return;}}}for(let _0x3410dc=0x0;_0x3410dc<_0x5eaa82;_0x3410dc++){const _0x559ba7=_0x38f413[_0x3410dc];if(this[_0x4195f7(0xf0)](_0x559ba7,_0x2d6445,_0x26e54e),_0x559ba7 instanceof a[_0x4195f7(0x1ec)]){const _0x393299=_0x38f413[_0x3410dc+0x1];_0x393299&&_0x393299 instanceof a[_0x4195f7(0x1ec)]&&_0x2d6445['push'](',');}}_0x2e1478===0x7&&_0x2d6445[_0x4195f7(0x1c3)](_0x5490d2),(_0x4dbfb8||_0x2e1478===0x9)&&_0x2d6445[_0x4195f7(0x1c3)](')');}[_0xec7a0e(0xf0)](_0x3d7d58,_0x144568,_0x1138bf){const _0x2ccbd5=_0xec7a0e;_0x3d7d58 instanceof a[_0x2ccbd5(0x1ec)]?this[_0x2ccbd5(0x1c0)](_0x3d7d58,_0x144568,_0x1138bf):this[_0x2ccbd5(0x1ee)]['has'](_0x3d7d58)?(_0x144568[_0x2ccbd5(0x1c3)](''+this[_0x2ccbd5(0x144)]+_0x3d7d58),this[_0x2ccbd5(0x160)]=!0x0):_0x144568[_0x2ccbd5(0x1c3)](_0x3d7d58);}[_0xec7a0e(0x19b)](_0x1a9bde){const _0x5e926a=_0xec7a0e;let _0x198091=_0x1a9bde[_0x5e926a(0x148)]();if(!_0x198091)return _0x198091;const _0x121a0c=_0x198091[0x0];if((_0x121a0c===a['prefixToken']['AT']||_0x121a0c===a[_0x5e926a(0x136)][_0x5e926a(0x170)]||_0x121a0c===a[_0x5e926a(0x136)][_0x5e926a(0x145)])&&(_0x198091=_0x198091['slice'](0x1)),!_0x198091)return _0x198091;const _0x5828e3=_0x198091[_0x198091[_0x5e926a(0x1a5)]-0x1];return a[_0x5e926a(0x184)][_0x5e926a(0x1c4)](_0x5828e3)&&(_0x198091=_0x198091[_0x5e926a(0x171)](0x0,-0x1)),_0x198091;}[_0xec7a0e(0x1b1)](_0x3e77f7){const _0xfe85e9=_0xec7a0e,_0x166653=_0x3e77f7[_0xfe85e9(0x1b3)]()[0x0];if(!_0x166653||!(_0x166653 instanceof a[_0xfe85e9(0x1ec)])||_0x3e77f7[_0xfe85e9(0x1b3)]()[_0xfe85e9(0x1a5)]>0x1)return!0x1;const _0x11314e=_0x166653[_0xfe85e9(0x1b3)](),_0x5bf0ff=_0x11314e[_0xfe85e9(0x1a5)];if(_0x5bf0ff===0x1)return!0x1;for(let _0x112239=0x0;_0x112239<_0x5bf0ff;_0x112239++){const _0x1adbad=_0x11314e[_0x112239];if(!(_0x1adbad instanceof a['LexerNode'])&&a[_0xfe85e9(0x1aa)][_0xfe85e9(0x1c4)](_0x1adbad))return!0x0;}return!0x1;}[_0xec7a0e(0x114)](_0x61a19e,_0x176024,_0xd9ab15,_0x3bb5c9,_0x3e3449){const _0x534b8c=_0xec7a0e,_0x5c44cb=this[_0x534b8c(0x1c7)](_0x61a19e,!0x1);if(!_0x5c44cb||_0x5c44cb===a[_0x534b8c(0x18e)][_0x534b8c(0x178)]||Array[_0x534b8c(0x1bf)](_0x5c44cb))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x176024;const _0x870eb0=this[_0x534b8c(0x199)](_0x5c44cb,_0xd9ab15,_0x3bb5c9,_0x3e3449);return this[_0x534b8c(0x168)]='',this[_0x534b8c(0xf9)](),_0x870eb0;}[_0xec7a0e(0x199)](_0x269a69,_0x1448ff,_0x23236d,_0x166f0e){const _0x218153=_0xec7a0e,_0x58d36c={'value':'','children':[],'startIndex':0x0};let _0x4d3c45=_0x269a69;if(_0x4d3c45 instanceof a['LexerNode']&&(_0x4d3c45[_0x218153(0x1e6)]()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x4d3c45['getToken']()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x4d3c45[_0x218153(0x1b3)]()[_0x218153(0x1a5)]===0x1&&(_0x4d3c45=_0x4d3c45[_0x218153(0x1b3)]()[0x0]),!(_0x4d3c45 instanceof a[_0x218153(0x1ec)]))return this[_0x218153(0x17f)](_0x4d3c45,_0x23236d,_0x166f0e);const _0x47a514=_0x4d3c45[_0x218153(0x1b3)](),_0x2c13c1=_0x47a514[_0x218153(0x1a5)],_0x1f7234=[];this[_0x218153(0x1c0)](_0x4d3c45,_0x1f7234,_0x1448ff),_0x58d36c[_0x218153(0x14a)]=_0x1f7234[_0x218153(0x165)](''),_0x58d36c[_0x218153(0x12c)]=_0x4d3c45[_0x218153(0x1ef)]();const _0x468d8f=this[_0x218153(0x12b)](_0x4d3c45);if(_0x468d8f===0x2){const _0x3e32d7=_0x47a514[0x0];if(_0x3e32d7 instanceof a[_0x218153(0x1ec)]){if(_0x3e32d7[_0x218153(0x1e6)]()[_0x218153(0x148)]()!==a[_0x218153(0x1b7)])return _0x58d36c;this['_handleLambdaForExprTree'](_0x3e32d7,_0x58d36c,_0x1448ff,_0x23236d,_0x166f0e);}return _0x58d36c;}else{if(_0x468d8f===0x1){for(let _0x4642bf=0x0;_0x4642bf<_0x2c13c1-0x1;_0x4642bf++){const _0x929c2d=_0x47a514[_0x4642bf];if(_0x929c2d instanceof a[_0x218153(0x1ec)]&&_0x4642bf%0x2===0x1){const _0x404739=_0x929c2d[_0x218153(0x1b3)]();if(_0x404739['length']===0x1&&!(_0x404739[0x0]instanceof a[_0x218153(0x1ec)]))continue;const _0x5f5b9d=this[_0x218153(0x199)](_0x929c2d,_0x1448ff,_0x23236d,_0x166f0e);_0x5f5b9d&&_0x58d36c[_0x218153(0x157)][_0x218153(0x1c3)](_0x5f5b9d);}}return _0x58d36c;}else{if(_0x468d8f===0x8){const _0x64d572=_0x47a514[0x0];if(_0x64d572 instanceof a['LexerNode']){const _0x34f7c5=_0x64d572['getChildren']()[0x0];_0x34f7c5 instanceof a['LexerNode']&&(_0x58d36c[_0x218153(0x12c)]=_0x34f7c5[_0x218153(0x1ef)]());}if(this[_0x218153(0xf7)](_0x4d3c45))return _0x58d36c;}else{if(_0x468d8f===0x7){const _0x542a32=_0x47a514[0x0];if(_0x542a32 instanceof a[_0x218153(0x1ec)]){const _0x3e21b1=_0x542a32[_0x218153(0x1b3)]()[0x0];_0x3e21b1 instanceof a[_0x218153(0x1ec)]&&(_0x58d36c[_0x218153(0x12c)]=_0x3e21b1[_0x218153(0x1ef)]());}}}}}return this[_0x218153(0x1ea)](_0x47a514,_0x468d8f,_0x58d36c,_0x1448ff,_0x23236d,_0x166f0e),_0x58d36c;}[_0xec7a0e(0x1ea)](_0x13617a,_0x50f9f6,_0x5bb231,_0x20733b,_0x21495b,_0x29e1cd){const _0x2090ba=_0xec7a0e;for(let _0x30e5a8=0x0;_0x30e5a8<_0x13617a['length'];_0x30e5a8++){let _0x15f6be=_0x13617a[_0x30e5a8];if(!(_0x15f6be instanceof a[_0x2090ba(0x1ec)])){const _0x5bfb86=this[_0x2090ba(0x17f)](_0x15f6be,_0x21495b,_0x29e1cd);_0x5bfb86&&_0x5bb231[_0x2090ba(0x157)]['push'](_0x5bfb86);continue;}const _0x3c0ca5=_0x15f6be[_0x2090ba(0x1b3)]();if(_0x3c0ca5[_0x2090ba(0x1a5)]===0x1&&!(_0x3c0ca5[0x0]instanceof a[_0x2090ba(0x1ec)])){const _0x4f6d9b=_0x3c0ca5[0x0];if(!_0x21495b(this[_0x2090ba(0x168)],_0x4f6d9b)&&!this['_getTableNameFromStructuredRef'](_0x4f6d9b,_0x29e1cd)&&!a[_0x2090ba(0x112)](_0x4f6d9b))continue;}if(_0x50f9f6===0x8){const _0x263b3a=_0x3c0ca5[0x0];if(_0x263b3a instanceof a['LexerNode']){const _0x587c8e=_0x263b3a[_0x2090ba(0x1e6)]()[_0x2090ba(0x148)]();if(a[_0x2090ba(0x112)](_0x587c8e))continue;_0x15f6be=_0x263b3a;}}const _0x2be102=this[_0x2090ba(0x199)](_0x15f6be,_0x20733b,_0x21495b,_0x29e1cd);_0x2be102&&_0x5bb231['children']['push'](_0x2be102);}}[_0xec7a0e(0xf7)](_0x512c9a){const _0x282dfe=_0xec7a0e,_0x36d879=_0x512c9a['getChildren']();if(_0x36d879['length']<0x2)return!0x1;const _0x48b1d3=_0x36d879[0x0],_0xfda485=_0x36d879[0x1];if(!(_0x48b1d3 instanceof a[_0x282dfe(0x1ec)])||!(_0xfda485 instanceof a[_0x282dfe(0x1ec)]))return!0x1;const _0x22494d=_0x48b1d3[_0x282dfe(0x1b3)]()[0x0],_0x5a13b9=_0xfda485['getChildren']()[0x0];if(!(_0x22494d instanceof a[_0x282dfe(0x1ec)])||!(_0x5a13b9 instanceof a[_0x282dfe(0x1ec)]))return!0x1;const _0x2bab30=_0x22494d[_0x282dfe(0x1e6)]()[_0x282dfe(0x148)](),_0x7163ce=_0x5a13b9['getToken']()['trim']();return!!a['isReferenceString'](''+_0x2bab30+a[_0x282dfe(0x1c2)][_0x282dfe(0x151)]+_0x7163ce);}[_0xec7a0e(0x17f)](_0x4b2689,_0x56ba04,_0x331e2c){const _0x473e68=_0xec7a0e,_0x47ac48=_0x4b2689[_0x473e68(0x148)]();return _0x47ac48[_0x473e68(0x186)]('{')&&_0x47ac48['endsWith']('}')||_0x56ba04(this[_0x473e68(0x168)],_0x47ac48)||this[_0x473e68(0xfb)](_0x47ac48,_0x331e2c)||a[_0x473e68(0x112)](_0x47ac48)?{'value':_0x47ac48,'children':[],'startIndex':-0x1}:null;}[_0xec7a0e(0xfb)](_0x3353db,_0xdb3d78){const _0x568dde=_0xec7a0e,{tableName:_0x47c886}=a[_0x568dde(0x1c6)](_0x3353db);return _0xdb3d78(this[_0x568dde(0x168)],_0x47c886)?_0x47c886:null;}[_0xec7a0e(0x1de)](_0x22a0d7,_0x27af34,_0x4e8a1b,_0xdc54a7,_0x86c31d){const _0x32bbb8=_0xec7a0e,_0xae7385=_0x22a0d7[_0x32bbb8(0x1b3)]();for(let _0x2e2eec=0x0;_0x2e2eec<_0xae7385['length'];_0x2e2eec++){const _0x3d4e96=_0xae7385[_0x2e2eec];if(!(_0x3d4e96 instanceof a[_0x32bbb8(0x1ec)]))continue;const _0x39fe83=_0x3d4e96[_0x32bbb8(0x1b3)]();if(_0x39fe83['length']===0x1&&!(_0x39fe83[0x0]instanceof a[_0x32bbb8(0x1ec)]))continue;const _0x530623=this[_0x32bbb8(0x199)](_0x3d4e96,_0x4e8a1b,_0xdc54a7,_0x86c31d);_0x530623&&_0x27af34[_0x32bbb8(0x157)][_0x32bbb8(0x1c3)](_0x530623);}}[_0xec7a0e(0x12b)](_0x411799){const _0x6aec07=_0xec7a0e,_0x54c7b1=_0x411799[_0x6aec07(0x1e6)](),_0x4920ee=_0x54c7b1['trim']()[_0x6aec07(0x128)]();let _0x5bf541=0x0;return _0x54c7b1===a[_0x6aec07(0x13f)]?_0x5bf541=0x3:_0x54c7b1===a[_0x6aec07(0x120)]?_0x5bf541=0x4:_0x54c7b1===a[_0x6aec07(0x1b7)]?_0x5bf541=0x5:_0x4920ee===a[_0x6aec07(0x1dc)]?_0x5bf541=0x2:_0x4920ee===a[_0x6aec07(0x1e4)]?_0x5bf541=0x1:_0x4920ee===a[_0x6aec07(0x1c2)][_0x6aec07(0x151)]?_0x5bf541=0x8:a[_0x6aec07(0x184)][_0x6aec07(0x1c4)](_0x4920ee)?_0x5bf541=0x7:_0x4920ee===a[_0x6aec07(0x136)]['MINUS']?this['_checkAddBracketForMinus'](_0x411799)&&(_0x5bf541=0x9):_0x5bf541=0xa,_0x5bf541;}}class b extends a[_0xec7a0e(0x1a0)]{constructor(){const _0x27db60=_0xec7a0e;super(...arguments),E(this,_0x27db60(0xf5),new Map());}[_0xec7a0e(0x1ac)](){const _0x49fb19=_0xec7a0e;super['dispose'](),this[_0x49fb19(0xf5)]['clear']();}async[_0xec7a0e(0x14e)](_0x37608b=!0x1){const _0x22b08e=_0xec7a0e;this[_0x22b08e(0x1bd)]();const _0x285e75=this[_0x22b08e(0x14f)]['getFormulaData'](),_0x48e36b=this[_0x22b08e(0xfd)]['getOtherFormulaData'](),_0x5e141c=this['_currentConfigService'][_0x22b08e(0x15e)]();_0x5e141c!=null&&Object[_0x22b08e(0x1a2)](_0x5e141c)[_0x22b08e(0x1c8)](_0x1a1459=>{const _0x1b6796=_0x22b08e;_0x1a1459!=null&&Object[_0x1b6796(0x1a2)](_0x5e141c[_0x1a1459])[_0x1b6796(0x1c8)](_0x338f66=>{const _0x10b604=_0x1b6796;_0x338f66!=null&&(this['_dependencyManagerService'][_0x10b604(0x16c)](_0x1a1459,_0x338f66),this[_0x10b604(0x189)]['clearFeatureFormulaDependency'](_0x1a1459,_0x338f66),this[_0x10b604(0x189)]['clearFormulaDependency'](_0x1a1459,_0x338f66));});});const _0x58fe24=this['_currentConfigService'][_0x22b08e(0x12a)]();await this[_0x22b08e(0x180)](_0x285e75,_0x48e36b,_0x58fe24),this['_dependencyManagerService']['openKdTree']();const _0x12f63a=this[_0x22b08e(0xf6)](),_0x83cef7=this[_0x22b08e(0x108)](_0x12f63a);return this[_0x22b08e(0x16e)](_0x83cef7)&&this[_0x22b08e(0x176)]['enableCycleDependency'](),_0x37608b&&this[_0x22b08e(0x176)]['setDependencyTreeModelData'](this[_0x22b08e(0x159)](Array[_0x22b08e(0x1ce)](this[_0x22b08e(0xf5)][_0x22b08e(0x18a)]()))),this[_0x22b08e(0xf5)][_0x22b08e(0x129)](),this[_0x22b08e(0x181)][_0x22b08e(0x129)](),this[_0x22b08e(0x189)][_0x22b08e(0x123)](),this[_0x22b08e(0x176)][_0x22b08e(0x185)](),Promise['resolve'](_0x83cef7);}['_isCyclicUtilMap'](_0x30d298,_0x4338ba){const _0x748903=_0xec7a0e,_0x1bd2ef=[_0x30d298];for(;_0x1bd2ef[_0x748903(0x1a5)]>0x0;){const _0x491203=_0x1bd2ef[_0x1bd2ef[_0x748903(0x1a5)]-0x1];if((_0x4338ba[_0x748903(0x13b)](_0x491203)||0x0)===0x0){_0x4338ba['set'](_0x491203,0x1);const _0x10c6af=this[_0x748903(0xf5)][_0x748903(0x13b)](_0x491203);if(_0x10c6af==null){_0x4338ba[_0x748903(0x1d5)](_0x491203,0x2),_0x1bd2ef[_0x748903(0x11b)]();continue;}const _0x75919f=this['_dependencyManagerService']['searchDependency'](_0x10c6af[_0x748903(0x143)]());for(const _0x251a77 of _0x75919f){const _0x19066f=_0x4338ba[_0x748903(0x13b)](_0x251a77)||0x0;if(_0x19066f===0x1)return!0x0;_0x19066f===0x0&&_0x1bd2ef[_0x748903(0x1c3)](_0x251a77);}}else _0x4338ba['set'](_0x491203,0x2),_0x1bd2ef[_0x748903(0x11b)]();}return!0x1;}['_checkIsCycleDependency'](_0x409e9c){const _0x2420d3=_0xec7a0e,_0x4bc3be=new Map();for(const _0xe4174c of _0x409e9c)if(!_0x4bc3be[_0x2420d3(0x1c4)](_0xe4174c[_0x2420d3(0x100)])&&this[_0x2420d3(0x10f)](_0xe4174c[_0x2420d3(0x100)],_0x4bc3be))return!0x0;return _0x4bc3be['clear'](),!0x1;}[_0xec7a0e(0x17e)](_0x4f8338,_0x5f28d2,_0x591ca2){const _0x5317b0=_0xec7a0e,{unitId:_0x5f56c7,subUnitId:_0xf8bdbc,dependencyRanges:_0x57cbb3,getDirtyData:_0x1cb51c}=_0x591ca2,_0x4ef788=_0x5f28d2||a[_0x5317b0(0x1b2)](this[_0x5317b0(0x189)]),_0x40cdea=new a[(_0x5317b0(0x1cd))](_0x4ef788);_0x40cdea['unitId']=_0x5f56c7,_0x40cdea[_0x5317b0(0x161)]=_0xf8bdbc,_0x40cdea[_0x5317b0(0x13e)]=_0x57cbb3,_0x40cdea[_0x5317b0(0x16a)]=_0x1cb51c;const _0x18b79f=_0x1cb51c(this[_0x5317b0(0x14f)]['getDirtyData'](),this[_0x5317b0(0x176)]['getAllRuntimeData']()),_0x17eac1=this[_0x5317b0(0x18c)](_0x18b79f[_0x5317b0(0x166)]);return _0x40cdea[_0x5317b0(0x19c)]=_0x17eac1,_0x40cdea[_0x5317b0(0x1e3)]=_0x4f8338,_0x40cdea['type']=a[_0x5317b0(0x1a8)][_0x5317b0(0xef)],this[_0x5317b0(0x189)][_0x5317b0(0xfa)](_0x5f56c7,_0xf8bdbc,_0x4f8338,_0x40cdea),this[_0x5317b0(0xf5)][_0x5317b0(0x1d5)](_0x40cdea[_0x5317b0(0x100)],_0x40cdea),this[_0x5317b0(0x189)][_0x5317b0(0x1c9)](_0x591ca2['unitId'],_0x591ca2['subUnitId'],_0x4f8338)&&(_0x40cdea[_0x5317b0(0x147)]=!0x0),_0x40cdea;}['_registerOtherFormulas'](_0x1f8c85,_0xfb9c94,_0x49d16e){const _0x2e78e2=_0xec7a0e;var _0x295e76;for(const _0x121883 of _0xfb9c94){const _0x1a8658=_0x1f8c85[_0x121883];if(_0x1a8658==null)continue;const _0x49d091=Object[_0x2e78e2(0x1a2)](_0x1a8658);for(const _0x3055a3 of _0x49d091){const _0xd43738=_0x1a8658[_0x3055a3];if(_0xd43738==null)continue;const _0x3020de=Object[_0x2e78e2(0x1a2)](_0xd43738);for(const _0x38b4c3 of _0x3020de){const _0x5c5614=this['_dependencyManagerService'][_0x2e78e2(0x1ab)](_0x38b4c3),_0xb44f27=_0xd43738[_0x38b4c3],{f:_0x51dfed,ranges:_0x8d3039}=_0xb44f27;let _0x2ddc4b=!0x1;_0x5c5614&&(_0x2ddc4b=!0x0);const {firstRow:_0x720b27,firstColumn:_0x34fd3b}=this[_0x2e78e2(0x130)](_0x8d3039),_0x5ec1d2=this[_0x2e78e2(0x189)][_0x2e78e2(0x197)](_0x121883,_0x3055a3,_0x38b4c3),_0x5748fb=(_0x295e76=_0x5ec1d2==null?void 0x0:_0x5ec1d2[_0x2e78e2(0x1d6)](0x0,0x0))!=null?_0x295e76:a['generateRandomDependencyTreeId'](this[_0x2e78e2(0x189)]),_0xa7f883=new a[(_0x2e78e2(0x1cd))](_0x5748fb);for(let _0x5d1e0c=0x0;_0x5d1e0c<_0x8d3039[_0x2e78e2(0x1a5)];_0x5d1e0c++){const _0x357df6=_0x8d3039[_0x5d1e0c],{startRow:_0x120c71,startColumn:_0x45de6c,endRow:_0x3d9525,endColumn:_0x16e804}=_0x357df6;for(let _0x2e5eff=_0x120c71;_0x2e5eff<=_0x3d9525;_0x2e5eff++)for(let _0x1621e9=_0x45de6c;_0x1621e9<=_0x16e804;_0x1621e9++){const _0x3a96c8=_0x1621e9-_0x34fd3b,_0x2cbe08=_0x2e5eff-_0x720b27;if(_0x3a96c8===0x0&&_0x2cbe08===0x0){_0xa7f883[_0x2e78e2(0x193)]=_0x51dfed,_0xa7f883[_0x2e78e2(0x11e)]=_0x121883,_0xa7f883[_0x2e78e2(0x161)]=_0x3055a3,_0xa7f883[_0x2e78e2(0x117)]=_0x38b4c3,_0xa7f883[_0x2e78e2(0x18d)]=a[_0x2e78e2(0x1a8)][_0x2e78e2(0x150)],_0xa7f883[_0x2e78e2(0x147)]=_0x2ddc4b,_0x49d16e['push'](_0xa7f883),this[_0x2e78e2(0xf5)][_0x2e78e2(0x1d5)](_0xa7f883['treeId'],_0xa7f883),this['_dependencyManagerService'][_0x2e78e2(0x1a3)](_0x121883,_0x3055a3,_0x38b4c3,_0xa7f883),this[_0x2e78e2(0x189)]['addFormulaDependencyByDefinedName'](_0xa7f883);continue;}const _0x590584=new a['FormulaDependencyTreeVirtual']();_0x590584[_0x2e78e2(0x100)]=(_0x5ec1d2==null?void 0x0:_0x5ec1d2[_0x2e78e2(0x1d6)](_0x3a96c8,_0x2cbe08))||a[_0x2e78e2(0x1b2)](this[_0x2e78e2(0x189)]),_0x590584[_0x2e78e2(0x113)]=_0xa7f883,_0x590584['refOffsetX']=_0x3a96c8,_0x590584[_0x2e78e2(0x13c)]=_0x2cbe08,_0x590584['isCache']=_0x2ddc4b,_0x590584[_0x2e78e2(0x18d)]=a['FormulaDependencyTreeType'][_0x2e78e2(0x150)],this[_0x2e78e2(0x189)][_0x2e78e2(0x1a3)](_0x121883,_0x3055a3,_0x38b4c3,_0x590584),this[_0x2e78e2(0x189)][_0x2e78e2(0x11d)](_0x590584),_0x49d16e['push'](_0x590584),this['_dependencyTreeCache'][_0x2e78e2(0x1d5)](_0x590584[_0x2e78e2(0x100)],_0x590584);}}this[_0x2e78e2(0x189)][_0x2e78e2(0x1e9)](_0x38b4c3);}}}}[_0xec7a0e(0x127)](_0x939a5d,_0x27a377,_0x22acba,_0x8f8a3e){const _0x2fb151=_0xec7a0e;for(const _0x345b19 of _0x939a5d){const _0x6a0ad9=_0x27a377[_0x345b19];if(_0x6a0ad9==null)continue;const _0x5aa6a3=Object['keys'](_0x6a0ad9);for(const _0x4b7c20 of _0x5aa6a3){const _0x24c1a9=new D[(_0x2fb151(0x126))](_0x6a0ad9[_0x4b7c20]||{}),_0x3d875b=new Map();_0x24c1a9[_0x2fb151(0x132)]((_0xdb579,_0x5cf1dc,_0x5b17f3)=>{const _0x4f348a=_0x2fb151;if(_0x5b17f3==null)return!0x0;const {x:_0x27e2c5=0x0,y:_0x168660=0x0,si:_0x239906}=_0x5b17f3;if(!(_0x27e2c5===0x0&&_0x168660===0x0&&_0x239906!=null))return!0x0;const _0x565ac2=this[_0x4f348a(0xf2)](_0x345b19,_0x4b7c20,_0xdb579,_0x5cf1dc,_0x22acba,_0x5b17f3),_0x14c754=this[_0x4f348a(0x189)]['getFormulaDependency'](_0x345b19,_0x4b7c20,_0xdb579,_0x5cf1dc);_0x14c754!=null?_0x565ac2[_0x4f348a(0x100)]=_0x14c754:(this[_0x4f348a(0x189)][_0x4f348a(0x195)](_0x345b19,_0x4b7c20,_0xdb579,_0x5cf1dc,_0x565ac2),this[_0x4f348a(0x189)][_0x4f348a(0x11d)](_0x565ac2)),_0x3d875b[_0x4f348a(0x1d5)](_0x239906,_0x565ac2),_0x8f8a3e[_0x4f348a(0x1c3)](_0x565ac2),this[_0x4f348a(0xf5)][_0x4f348a(0x1d5)](_0x565ac2[_0x4f348a(0x100)],_0x565ac2);}),_0x24c1a9[_0x2fb151(0x132)]((_0x592c73,_0x24090b,_0x40562e)=>{const _0x121c7c=_0x2fb151;if(_0x40562e==null)return!0x0;const {x:_0x42aa48=0x0,y:_0x1f3b66=0x0,si:_0x3fac9f}=_0x40562e;if(_0x42aa48===0x0&&_0x1f3b66===0x0&&_0x3fac9f!=null)return!0x0;let _0x3e1d23;if(_0x3fac9f&&_0x3d875b[_0x121c7c(0x1c4)](_0x3fac9f)){const _0x3d28aa=_0x3d875b[_0x121c7c(0x13b)](_0x3fac9f);_0x3e1d23=this[_0x121c7c(0x1b4)](_0x3d28aa,_0x40562e);}else _0x3e1d23=this[_0x121c7c(0xf2)](_0x345b19,_0x4b7c20,_0x592c73,_0x24090b,_0x22acba,_0x40562e);const _0x330bdb=this[_0x121c7c(0x189)][_0x121c7c(0x1af)](_0x345b19,_0x4b7c20,_0x592c73,_0x24090b);_0x330bdb!=null?_0x3e1d23['treeId']=_0x330bdb:(this[_0x121c7c(0x189)][_0x121c7c(0x195)](_0x345b19,_0x4b7c20,_0x592c73,_0x24090b,_0x3e1d23),this[_0x121c7c(0x189)]['addFormulaDependencyByDefinedName'](_0x3e1d23)),_0x8f8a3e[_0x121c7c(0x1c3)](_0x3e1d23),this['_dependencyTreeCache'][_0x121c7c(0x1d5)](_0x3e1d23['treeId'],_0x3e1d23);}),_0x3d875b[_0x2fb151(0x129)]();}}}[_0xec7a0e(0xf2)](_0x4f0040,_0x48f08c,_0x756da1,_0x7e4089,_0x2529f3,_0x523b1f){const _0x32e54e=_0xec7a0e,{f:_0x267fa5,x:_0x4e859e=0x0,y:_0x1a54af=0x0}=_0x523b1f,_0x4790a8=new a[(_0x32e54e(0x1cd))](a['generateRandomDependencyTreeId'](this[_0x32e54e(0x189)])),_0x33e1f7=_0x2529f3[_0x4f0040][_0x48f08c];return _0x4790a8[_0x32e54e(0x193)]=_0x267fa5,_0x4790a8['unitId']=_0x4f0040,_0x4790a8[_0x32e54e(0x161)]=_0x48f08c,_0x4790a8['row']=_0x756da1,_0x4790a8['column']=_0x7e4089,_0x4790a8[_0x32e54e(0x1f3)]=_0x33e1f7[_0x32e54e(0x1f3)],_0x4790a8['columnCount']=_0x33e1f7[_0x32e54e(0x1db)],_0x4790a8;}[_0xec7a0e(0xf6)](){const _0x3faf42=_0xec7a0e,_0x42a69a=[],_0x54ba3c=new Set(),_0x484f32=this[_0x3faf42(0x14f)][_0x3faf42(0x116)](),_0x1703d9=this[_0x3faf42(0x14f)]['getDirtyRanges'](),_0x4112da=this['_dependencyManagerService'][_0x3faf42(0x1d4)](_0x1703d9),_0x594b08=this['_dependencyRTreeCacheForAddressFunction'][_0x3faf42(0x17a)](_0x1703d9);for(const _0x1745df of _0x594b08)_0x4112da['add'](_0x1745df);for(const [_0x45fd5f,_0x1ace26]of this[_0x3faf42(0xf5)])(_0x484f32||_0x1ace26[_0x3faf42(0x1a1)]||_0x1ace26[_0x3faf42(0x102)](this[_0x3faf42(0x14f)][_0x3faf42(0x12d)]())||_0x4112da[_0x3faf42(0x1c4)](_0x45fd5f)&&!_0x1ace26['isExcludeRange'](this['_currentConfigService'][_0x3faf42(0x1c5)]()))&&!_0x54ba3c[_0x3faf42(0x1c4)](_0x45fd5f)&&(_0x42a69a[_0x3faf42(0x1c3)](_0x1ace26),_0x54ba3c[_0x3faf42(0x155)](_0x45fd5f));for(const [_0x3dc6f0,_0x4c7124]of this[_0x3faf42(0xf5)])_0x4c7124[_0x3faf42(0x1a6)]||(_0x4c7124[_0x3faf42(0x13e)][_0x3faf42(0x1a5)]=0x0);return _0x42a69a;}[_0xec7a0e(0x104)](_0x151341){const _0x13c73c=_0xec7a0e;return this['_dependencyTreeCache'][_0x13c73c(0x13b)](_0x151341);}[_0xec7a0e(0x1f1)](_0x53f337){const _0x2804d7=_0xec7a0e;return a[_0x2804d7(0x167)](_0x53f337['unitId'],_0x53f337[_0x2804d7(0x193)],this['_lexer'],this[_0x2804d7(0x11f)],this[_0x2804d7(0x14f)]);}*[_0xec7a0e(0xf4)](_0xae4a98,_0x41d0af){const _0x4dabfe=_0xec7a0e,_0x5e92a8=_0xae4a98,_0xe28470=new Set();for(;_0x5e92a8[_0x4dabfe(0x1a5)]>0x0;){const _0x30c39d=_0x5e92a8['pop']();if(_0xe28470[_0x4dabfe(0x129)](),_0x30c39d===void 0x0||_0x30c39d[_0x4dabfe(0x1d1)]())continue;if(_0x30c39d[_0x4dabfe(0x119)]()){yield _0x30c39d,_0x30c39d['setSkip'](),_0x41d0af[_0x4dabfe(0x155)](_0x30c39d[_0x4dabfe(0x100)]);continue;}const _0x125ecd=this[_0x4dabfe(0x189)][_0x4dabfe(0x1d4)](_0x30c39d[_0x4dabfe(0x143)](),_0x41d0af),_0x53fae2=this[_0x4dabfe(0x181)][_0x4dabfe(0x17a)](_0x30c39d['toRTreeItem'](),_0x41d0af);for(const _0x545458 of _0x53fae2)_0x125ecd[_0x4dabfe(0x155)](_0x545458);for(const _0x5990df of _0x125ecd){const _0x2da734=this[_0x4dabfe(0xf5)][_0x4dabfe(0x13b)](_0x5990df);if(!_0x2da734){console[_0x4dabfe(0x138)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x5990df);continue;}_0x2da734[_0x4dabfe(0x119)]()||_0x30c39d['isSkip']()||_0xe28470[_0x4dabfe(0x155)](_0x2da734);}if(_0x125ecd[_0x4dabfe(0x129)](),_0xe28470['size']===0x0)yield _0x30c39d,_0x30c39d['setSkip'](),_0x41d0af[_0x4dabfe(0x155)](_0x30c39d[_0x4dabfe(0x100)]);else{_0x30c39d[_0x4dabfe(0x110)](),_0x5e92a8[_0x4dabfe(0x1c3)](_0x30c39d);for(const _0x5de304 of _0xe28470)_0x5e92a8[_0x4dabfe(0x1c3)](_0x5de304);}}_0x5e92a8['length']=0x0,_0xe28470['clear']();}[_0xec7a0e(0x108)](_0x2bd44f){const _0x39c29b=_0xec7a0e,_0x44ce03=[],_0x46c02e=new Set();for(const _0x4d5124 of this['_traverse'](_0x2bd44f,_0x46c02e))_0x44ce03[_0x39c29b(0x1c3)](_0x4d5124);return _0x44ce03;}async[_0xec7a0e(0x173)](){const _0x393179=_0xec7a0e;return await this[_0x393179(0x13a)](),Array[_0x393179(0x1ce)](this[_0x393179(0xf5)][_0x393179(0x18a)]());}['_getDependencyTreeParenIds'](_0x380adf){const _0x5b5ebf=_0xec7a0e;return this[_0x5b5ebf(0x189)][_0x5b5ebf(0x1d4)](_0x380adf[_0x5b5ebf(0x143)]());}[_0xec7a0e(0x19a)](_0x17cc08){const _0x516e77=_0xec7a0e,_0x486d5e=new Set(),_0x219ecf=_0x17cc08[_0x516e77(0x13e)];for(const [_0x3097f2,_0x214cc1]of this[_0x516e77(0xf5)])for(const _0x4fa2b2 of _0x219ecf){const _0xd90ab0=_0x4fa2b2[_0x516e77(0x11e)],_0x497682=_0x4fa2b2[_0x516e77(0x1b0)];if(_0x214cc1[_0x516e77(0x11e)]!==_0xd90ab0||_0x214cc1[_0x516e77(0x161)]!==_0x497682)continue;const _0x3f1f83=_0x4fa2b2[_0x516e77(0x124)];if(_0x214cc1[_0x516e77(0x188)](_0x3f1f83)){_0x486d5e[_0x516e77(0x155)](_0x3097f2);break;}}return _0x486d5e;}['_startFormulaDependencyTreeModel'](){const _0x28c441=_0xec7a0e;this[_0x28c441(0x189)][_0x28c441(0x10c)]();}['_endFormulaDependencyTreeModel'](){const _0x49e78f=_0xec7a0e;this[_0x49e78f(0x17c)][_0x49e78f(0x129)](),this[_0x49e78f(0xf5)][_0x49e78f(0x129)](),this[_0x49e78f(0x189)][_0x49e78f(0x123)]();}}const B=_0xec7a0e(0x105),K={0x0:'j',0x1:'t',0x2:'2',0x3:'K',0x4:'y',0x5:'3',0x6:'S',0x7:'n',0x8:'k',0x9:'c','t':'0','M':'1','N':'4','y':'5','v':'6','D':'7','s':'8','C':'9','e':'a','k':'b','L':'d','l':'e','x':'f','P':'g','r':'h','H':'i','E':'l','p':'m','A':'o','u':'p','O':'q','q':'r','g':'s','Y':'u','z':'v','X':'w','J':'x','I':'z','n':'A','j':'B','Z':'C','V':'D','w':'E','\x20':'F','c':'G','f':'H','U':'I','S':'J','h':'L','Q':'M','o':'N','d':'O','b':'P','G':'Q','B':'R','W':'T','K':'U','m':'V','R':'W','T':'X','a':'Y','i':'Z','F':'\x20'};class j extends a[_0xec7a0e(0x1bc)]{async[_0xec7a0e(0x192)](_0x512190=!0x1){const _0x4381c3=_0xec7a0e;_0x512190?this[_0x4381c3(0x176)]['setFormulaExecuteStage'](a[_0x4381c3(0x1cf)][_0x4381c3(0x158)]):this['_runtimeService'][_0x4381c3(0x1dd)](a[_0x4381c3(0x1cf)][_0x4381c3(0x18b)]),this[_0x4381c3(0x1b5)][_0x4381c3(0x1f4)](this['_runtimeService'][_0x4381c3(0x164)]());const _0x423a3c=await this['_formulaDependencyGenerator'][_0x4381c3(0x14e)](this['_isCalculateTreeModel']),_0x3603a8=this[_0x4381c3(0x1e0)];_0x512190?(this[_0x4381c3(0x176)]['setFormulaExecuteStage'](a['FormulaExecuteStageType'][_0x4381c3(0x196)]),this[_0x4381c3(0x176)][_0x4381c3(0x121)](_0x423a3c[_0x4381c3(0x1a5)])):(this[_0x4381c3(0x176)][_0x4381c3(0x1dd)](a[_0x4381c3(0x1cf)][_0x4381c3(0x1f0)]),this[_0x4381c3(0x176)][_0x4381c3(0x103)](_0x423a3c[_0x4381c3(0x1a5)])),this[_0x4381c3(0x1b5)][_0x4381c3(0x1f4)](this[_0x4381c3(0x176)]['getRuntimeState']());let _0x982805=[];const _0x2acb6d=this[_0x4381c3(0x1b6)][_0x4381c3(0xff)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x4f73a3=(_0x2acb6d==null?void 0x0:_0x2acb6d[_0x4381c3(0x140)])||a[_0x4381c3(0x1f2)];let _0x69f02f=0x0;const _0x29bb7f=_0x423a3c['length'];for(;_0x423a3c[_0x4381c3(0x1a5)]>0x0;){const _0x251850=_0x423a3c[_0x4381c3(0x11b)](),_0x15774a=a[_0x4381c3(0x167)](_0x251850[_0x4381c3(0x11e)],_0x251850[_0x4381c3(0x193)],this[_0x4381c3(0x146)],this[_0x4381c3(0x11f)],this[_0x4381c3(0x14f)]),_0xa6418a={'node':_0x15774a,'refOffsetX':_0x251850[_0x4381c3(0x10d)],'refOffsetY':_0x251850[_0x4381c3(0x13c)]},_0x58b1d4=_0x251850[_0x4381c3(0x16a)];if(_0x69f02f%_0x4f73a3===0x0&&(await new Promise(_0x59a29a=>{const _0xf3a39d=_0x4381c3,_0x5c00e9=D['requestImmediateMacroTask'](_0x59a29a);_0x982805[_0xf3a39d(0x1c3)](_0x5c00e9);}),_0x512190?(this[_0x4381c3(0x176)][_0x4381c3(0x1dd)](a[_0x4381c3(0x1cf)][_0x4381c3(0x1cc)]),this[_0x4381c3(0x176)][_0x4381c3(0x1a9)](_0x69f02f+0x1)):(this[_0x4381c3(0x176)][_0x4381c3(0x1dd)](a['FormulaExecuteStageType'][_0x4381c3(0x12e)]),this['_runtimeService'][_0x4381c3(0x15a)](_0x69f02f+0x1)),this[_0x4381c3(0x1b5)][_0x4381c3(0x1f4)](this['_runtimeService'][_0x4381c3(0x164)]()),this['_runtimeService'][_0x4381c3(0xf3)]()||_0xa6418a==null&&_0x58b1d4==null)){this['_runtimeService'][_0x4381c3(0x1dd)](a['FormulaExecuteStageType'][_0x4381c3(0x194)]),this[_0x4381c3(0x176)]['markedAsStopFunctionsExecuted'](),this[_0x4381c3(0x1cb)][_0x4381c3(0x1f4)](this['_runtimeService'][_0x4381c3(0x1e7)]());return;}this['_runtimeService']['setCurrent'](_0x251850[_0x4381c3(0x1e1)],_0x251850[_0x4381c3(0x17b)],_0x251850[_0x4381c3(0x1f3)],_0x251850[_0x4381c3(0x1db)],_0x251850[_0x4381c3(0x161)],_0x251850[_0x4381c3(0x11e)]);let _0x387edc;if(_0x58b1d4!=null&&_0x251850[_0x4381c3(0x1e3)]!=null){const {runtimeCellData:_0x40bdb0,dirtyRanges:_0x503723}=_0x58b1d4(this['_currentConfigService'][_0x4381c3(0x16a)](),this['_runtimeService'][_0x4381c3(0x1e7)]());this[_0x4381c3(0x176)]['setRuntimeFeatureCellData'](_0x251850['featureId'],_0x40bdb0),this[_0x4381c3(0x176)][_0x4381c3(0x1b8)](_0x251850[_0x4381c3(0x1e3)],_0x503723);}else _0xa6418a!=null&&(_0x3603a8[_0x4381c3(0x1da)](_0xa6418a[_0x4381c3(0xfe)])?_0x387edc=await _0x3603a8[_0x4381c3(0x179)](_0xa6418a):_0x387edc=_0x3603a8[_0x4381c3(0x1be)](_0xa6418a),_0x251850['formulaId']!=null?this[_0x4381c3(0x176)]['setRuntimeOtherData'](_0x251850[_0x4381c3(0x117)],_0x251850['refOffsetX'],_0x251850[_0x4381c3(0x13c)],_0x387edc):this[_0x4381c3(0x176)][_0x4381c3(0x111)](_0x387edc));_0x15774a['resetCalculationState'](),_0x69f02f++;}return _0x982805[_0x4381c3(0x1c8)](_0x45928f=>_0x45928f()),_0x982805=[],_0x29bb7f>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x512190||this[_0x4381c3(0x176)][_0x4381c3(0x191)](),this['_runtimeService'][_0x4381c3(0x1e7)]();}}class V extends a[_0xec7a0e(0x14d)]{constructor(){const _0x3d4578=_0xec7a0e;super(...arguments),E(this,_0x3d4578(0x1bb),new Map()),E(this,_0x3d4578(0x134),new D[(_0x3d4578(0x131))](!0x0));}[_0xec7a0e(0x10a)](){const _0x5cc2ed=_0xec7a0e;this['_otherFormulaData'][_0x5cc2ed(0x129)](),this[_0x5cc2ed(0x1ed)][_0x5cc2ed(0x129)](),this[_0x5cc2ed(0x142)]['clear'](),this[_0x5cc2ed(0x134)]['clear'](),this[_0x5cc2ed(0x1bb)][_0x5cc2ed(0x129)](),this['_restDependencyTreeId'](),this[_0x5cc2ed(0x174)][_0x5cc2ed(0x129)]();}[_0xec7a0e(0x1a3)](_0x5edd46,_0x4dd216,_0x4f9a04,_0x903ea7){const _0x374248=_0xec7a0e;this[_0x374248(0x135)]['has'](_0x5edd46)||this[_0x374248(0x135)][_0x374248(0x1d5)](_0x5edd46,new Map());const _0x8b0e9f=this[_0x374248(0x135)][_0x374248(0x13b)](_0x5edd46);_0x8b0e9f['has'](_0x4dd216)||_0x8b0e9f[_0x374248(0x1d5)](_0x4dd216,new Map());const _0x4ca11a=_0x8b0e9f['get'](_0x4dd216);_0x4ca11a[_0x374248(0x1c4)](_0x4f9a04)||_0x4ca11a[_0x374248(0x1d5)](_0x4f9a04,new D[(_0x374248(0x126))]()),_0x4ca11a['get'](_0x4f9a04)[_0x374248(0x1c1)](_0x903ea7[_0x374248(0x10d)],_0x903ea7['refOffsetY'],_0x903ea7[_0x374248(0x100)]);}[_0xec7a0e(0x172)](_0x2b3f5d,_0x4edc9c,_0x4f25ec){const _0x5c3be7=_0xec7a0e,_0x10842b=this[_0x5c3be7(0x135)][_0x5c3be7(0x13b)](_0x2b3f5d);if(_0x10842b&&_0x10842b[_0x5c3be7(0x1c4)](_0x4edc9c)){const _0x15d2b9=_0x10842b['get'](_0x4edc9c);_0x4f25ec[_0x5c3be7(0x1c8)](_0x3fe96e=>{const _0x56352d=_0x5c3be7,_0x320063=_0x15d2b9[_0x56352d(0x13b)](_0x3fe96e);_0x320063!=null&&(_0x320063['forValue']((_0x4a7600,_0x2b7541,_0x44c95b)=>{const _0xfbc15c=_0x56352d;this[_0xfbc15c(0x15b)](_0x44c95b),this['_removeAllTreeMap'](_0x44c95b);}),_0x15d2b9['delete'](_0x3fe96e),this[_0x56352d(0x174)]['delete'](_0x3fe96e));}),_0x15d2b9['size']===0x0&&_0x10842b['delete'](_0x4edc9c),_0x10842b[_0x5c3be7(0x162)]===0x0&&this['_otherFormulaData']['delete'](_0x2b3f5d);}}['clearOtherFormulaDependency'](_0x370e66,_0x3e8da7){const _0x5419b4=_0xec7a0e,_0x41d9f8=this['_otherFormulaData']['get'](_0x370e66);if(_0x3e8da7&&_0x41d9f8&&_0x41d9f8[_0x5419b4(0x1c4)](_0x3e8da7)){const _0x323705=_0x41d9f8[_0x5419b4(0x13b)](_0x3e8da7);this[_0x5419b4(0x1ad)](_0x370e66,_0x3e8da7);for(const _0x1a4584 of _0x323705[_0x5419b4(0x1a2)]()){const _0x2a20e7=_0x323705[_0x5419b4(0x13b)](_0x1a4584);_0x2a20e7!=null&&(_0x2a20e7[_0x5419b4(0x132)]((_0x5620f5,_0x2f9827,_0x31c3d8)=>{const _0x161874=_0x5419b4;this[_0x161874(0x1bb)]['get'](_0x31c3d8)&&this[_0x161874(0x106)](_0x31c3d8);}),this['_otherFormulaDataMainData'][_0x5419b4(0x1d7)](_0x1a4584));}_0x323705[_0x5419b4(0x129)]();}else{if(_0x41d9f8){for(const _0x4e5b3a of _0x41d9f8[_0x5419b4(0x1a2)]()){const _0x5e21d9=_0x41d9f8[_0x5419b4(0x13b)](_0x4e5b3a);this[_0x5419b4(0x1ad)](_0x370e66,_0x4e5b3a);for(const _0x4b693f of _0x5e21d9[_0x5419b4(0x1a2)]()){const _0xe3ba43=_0x5e21d9[_0x5419b4(0x13b)](_0x4b693f);_0xe3ba43!=null&&(_0xe3ba43[_0x5419b4(0x132)]((_0x105770,_0x5768ec,_0x1f7add)=>{const _0x5ccd0f=_0x5419b4;this['_allTreeMap'][_0x5ccd0f(0x13b)](_0x1f7add)&&this[_0x5ccd0f(0x106)](_0x1f7add);}),this['_otherFormulaDataMainData'][_0x5419b4(0x1d7)](_0x4b693f));}}this[_0x5419b4(0x135)][_0x5419b4(0x1d7)](_0x370e66);}}}['addFeatureFormulaDependency'](_0xc4c8bb,_0x1897f6,_0x25a30d,_0x50af79){const _0xaf14f8=_0xec7a0e;this[_0xaf14f8(0x1ed)]['has'](_0xc4c8bb)||this[_0xaf14f8(0x1ed)][_0xaf14f8(0x1d5)](_0xc4c8bb,new Map());const _0x55d17a=this[_0xaf14f8(0x1ed)][_0xaf14f8(0x13b)](_0xc4c8bb);_0x55d17a[_0xaf14f8(0x1c4)](_0x1897f6)||_0x55d17a['set'](_0x1897f6,new Map()),_0x55d17a[_0xaf14f8(0x13b)](_0x1897f6)[_0xaf14f8(0x1d5)](_0x25a30d,_0x50af79[_0xaf14f8(0x100)]);}[_0xec7a0e(0x163)](_0x366105,_0x31e9ee,_0x2c0ea4){const _0x24d92e=_0xec7a0e,_0x5e35fa=this[_0x24d92e(0x1ed)][_0x24d92e(0x13b)](_0x366105);if(_0x5e35fa&&_0x5e35fa[_0x24d92e(0x1c4)](_0x31e9ee)){const _0x39c4fa=_0x5e35fa[_0x24d92e(0x13b)](_0x31e9ee);_0x2c0ea4[_0x24d92e(0x1c8)](_0x3690d6=>{const _0xa62962=_0x24d92e,_0x397275=_0x39c4fa[_0xa62962(0x13b)](_0x3690d6);_0x397275!=null&&(this[_0xa62962(0x15b)](_0x397275),_0x39c4fa[_0xa62962(0x1d7)](_0x3690d6),this[_0xa62962(0x106)](_0x397275));});}}[_0xec7a0e(0x1e5)](_0x254969,_0x357d1d){const _0x248032=_0xec7a0e,_0x49e5a5=this[_0x248032(0x1ed)][_0x248032(0x13b)](_0x254969);if(_0x357d1d&&_0x49e5a5&&_0x49e5a5['has'](_0x357d1d)){const _0x202c1e=_0x49e5a5[_0x248032(0x13b)](_0x357d1d);this['_removeDependencyRTreeCacheById'](_0x254969,_0x357d1d),_0x202c1e[_0x248032(0x1c8)](_0x4689db=>{_0x4689db!=null&&this['_removeAllTreeMap'](_0x4689db);}),_0x202c1e[_0x248032(0x129)]();}else _0x49e5a5&&(_0x49e5a5['forEach']((_0x49f041,_0x333208)=>{const _0x4e8b95=_0x248032;this[_0x4e8b95(0x1ad)](_0x254969,_0x333208),_0x49f041[_0x4e8b95(0x1c8)](_0x3ef181=>{const _0x186831=_0x4e8b95;_0x3ef181!=null&&this[_0x186831(0x106)](_0x3ef181);});}),this[_0x248032(0x1ed)][_0x248032(0x1d7)](_0x254969));}['addFormulaDependency'](_0x261705,_0x498f8d,_0x512b71,_0x5984ae,_0x41bb54){const _0x18687d=_0xec7a0e;this[_0x18687d(0x142)][_0x18687d(0x1c4)](_0x261705)||this[_0x18687d(0x142)][_0x18687d(0x1d5)](_0x261705,new Map());const _0x23d783=this[_0x18687d(0x142)][_0x18687d(0x13b)](_0x261705);_0x23d783[_0x18687d(0x1c4)](_0x498f8d)||_0x23d783[_0x18687d(0x1d5)](_0x498f8d,new D['ObjectMatrix']()),_0x23d783[_0x18687d(0x13b)](_0x498f8d)[_0x18687d(0x1c1)](_0x512b71,_0x5984ae,_0x41bb54[_0x18687d(0x100)]);}[_0xec7a0e(0x15c)](_0x3f087e,_0x417790,_0x503fd7,_0x104092){const _0x5446db=_0xec7a0e,_0x2abfb2=this[_0x5446db(0x142)][_0x5446db(0x13b)](_0x3f087e);if(_0x2abfb2&&_0x2abfb2['has'](_0x417790)){const _0x318bae=_0x2abfb2[_0x5446db(0x13b)](_0x417790),_0x2c6561=_0x318bae[_0x5446db(0x1d6)](_0x503fd7,_0x104092);if(_0x2c6561==null)return;this['_removeDependencyRTreeCache'](_0x2c6561),_0x318bae[_0x5446db(0x1d3)](_0x503fd7,_0x104092),this[_0x5446db(0x106)](_0x2c6561);}}[_0xec7a0e(0x1d9)](_0x53ca30,_0xe294fb){const _0x151226=_0xec7a0e,_0x4c1c98=this['_formulaData']['get'](_0x53ca30);if(_0xe294fb&&_0x4c1c98&&_0x4c1c98[_0x151226(0x1c4)](_0xe294fb)){const _0x5d4d2d=_0x4c1c98[_0x151226(0x13b)](_0xe294fb);this['_removeDependencyRTreeCacheById'](_0x53ca30,_0xe294fb),_0x5d4d2d[_0x151226(0x132)]((_0x5d7be1,_0x4bb65d,_0x2d7dce)=>{const _0x1d0730=_0x151226;if(_0x2d7dce==null)return!0x0;this[_0x1d0730(0x106)](_0x2d7dce);}),_0x5d4d2d[_0x151226(0x10a)]();}else _0x4c1c98&&(_0x4c1c98[_0x151226(0x1c8)]((_0x1f4240,_0x1f0ad7)=>{const _0x221502=_0x151226;this['_removeDependencyRTreeCacheById'](_0x53ca30,_0x1f0ad7),_0x1f4240[_0x221502(0x132)]((_0x1b406a,_0x53c0e0,_0x10a87b)=>{if(_0x10a87b==null)return!0x0;this['_removeAllTreeMap'](_0x10a87b);});}),this[_0x151226(0x142)]['delete'](_0x53ca30));}[_0xec7a0e(0x15b)](_0x4bf094){const _0x63fbfc=_0xec7a0e;if(_0x4bf094==null)return;const _0x4ac30b=this['_allTreeMap'][_0x63fbfc(0x13b)](_0x4bf094);if(_0x4ac30b){const _0xd315cf=[];for(const [_0x190243,_0x56f853]of _0x4ac30b)for(const [_0x54fbff,_0x5b3436]of _0x56f853)_0xd315cf[_0x63fbfc(0x1c3)]({'unitId':_0x190243,'sheetId':_0x54fbff,'range':_0x5b3436,'id':_0x4bf094});this[_0x63fbfc(0x134)][_0x63fbfc(0x156)](_0xd315cf);}}['removeFormulaDependencyByDefinedName'](_0x10deda,_0x12e5ec){const _0x5eb683=_0xec7a0e,_0x498856=this[_0x5eb683(0x1d2)][_0x5eb683(0x13b)](_0x10deda);if(_0x498856){const _0x4b4ef2=_0x498856[_0x5eb683(0x13b)](_0x12e5ec);if(_0x4b4ef2){for(const _0x5bd579 of _0x4b4ef2)this[_0x5eb683(0x15b)](_0x5bd579),this[_0x5eb683(0x106)](_0x5bd579);_0x4b4ef2['clear']();}}}[_0xec7a0e(0x10c)](){const _0x547541=_0xec7a0e;this[_0x547541(0x134)]['openKdTree']();}[_0xec7a0e(0x123)](){const _0x3d14ef=_0xec7a0e;this[_0x3d14ef(0x134)][_0x3d14ef(0x123)]();}['_removeAllTreeMap'](_0x1e5e0e){const _0x3c51af=_0xec7a0e;_0x1e5e0e!=null&&this[_0x3c51af(0x1bb)]['delete'](_0x1e5e0e);}[_0xec7a0e(0x149)](_0x5d87ee){const _0x78d92b=_0xec7a0e;var _0x2d1db3,_0x386310;const _0x315536=_0x5d87ee[_0x78d92b(0x13e)];let _0x2e9536=this[_0x78d92b(0x1bb)]['get'](_0x5d87ee[_0x78d92b(0x100)]);for(let _0x4d8e2d=0x0;_0x4d8e2d<_0x315536[_0x78d92b(0x1a5)];_0x4d8e2d++){const _0x175b45=_0x315536[_0x4d8e2d];let {unitId:_0x1a2be9,sheetId:_0x4305be,range:_0x11f17c}=_0x175b45;_0x2e9536||(_0x2e9536=new Map(),this['_allTreeMap'][_0x78d92b(0x1d5)](_0x5d87ee[_0x78d92b(0x100)],_0x2e9536)),_0x2e9536[_0x78d92b(0x1c4)](_0x1a2be9)||_0x2e9536['set'](_0x1a2be9,new Map());const _0x39e6e0=(_0x2d1db3=_0x2e9536==null?void 0x0:_0x2e9536['get'](_0x1a2be9))==null?void 0x0:_0x2d1db3['get'](_0x4305be);_0x39e6e0&&(_0x11f17c={'startRow':Math[_0x78d92b(0xf8)](_0x11f17c['startRow'],_0x39e6e0['startRow']),'startColumn':Math[_0x78d92b(0xf8)](_0x11f17c[_0x78d92b(0x16d)],_0x39e6e0[_0x78d92b(0x16d)]),'endRow':Math[_0x78d92b(0x152)](_0x11f17c[_0x78d92b(0x12f)],_0x39e6e0['endRow']),'endColumn':Math[_0x78d92b(0x152)](_0x11f17c[_0x78d92b(0x10e)],_0x39e6e0[_0x78d92b(0x10e)])}),(_0x386310=_0x2e9536[_0x78d92b(0x13b)](_0x1a2be9))==null||_0x386310[_0x78d92b(0x1d5)](_0x4305be,_0x11f17c);}}}var $=Object[_0xec7a0e(0x14b)],G=(_0x4b52b9,_0x2b57cc,_0xe596ec,_0x12b173)=>{const _0x919382=_0xec7a0e;for(var _0x2b1ac2=_0x12b173>0x1?void 0x0:_0x12b173?$(_0x2b57cc,_0xe596ec):_0x2b57cc,_0xb6584d=_0x4b52b9[_0x919382(0x1a5)]-0x1,_0x635500;_0xb6584d>=0x0;_0xb6584d--)(_0x635500=_0x4b52b9[_0xb6584d])&&(_0x2b1ac2=_0x635500(_0x2b1ac2)||_0x2b1ac2);return _0x2b1ac2;};const X=Number['parseInt'](0x697d9f84);exports[_0xec7a0e(0x109)]=class extends a[_0xec7a0e(0x177)]{[_0xec7a0e(0x15f)](){const _0x3d1fed=_0xec7a0e;var _0x37bbc0,_0xbe170f;this[_0x3d1fed(0x1ba)]()?(this['_injector']['add']([a[_0x3d1fed(0xf1)],{'useClass':P}]),(_0x37bbc0=this[_0x3d1fed(0x107)])!=null&&_0x37bbc0[_0x3d1fed(0x1a4)]||[[a[_0x3d1fed(0x190)],{'useClass':j}],[a['IDependencyManagerService'],{'useClass':V}],[a[_0x3d1fed(0x10b)],{'useClass':b}]]['forEach'](_0x11e8b4=>this['_injector'][_0x3d1fed(0x155)](_0x11e8b4))):(this[_0x3d1fed(0x154)][_0x3d1fed(0x155)]([a['LexerTreeBuilder'],{'useClass':a['LexerTreeBuilder']}]),(_0xbe170f=this[_0x3d1fed(0x107)])!=null&&_0xbe170f[_0x3d1fed(0x1a4)]||[[a['ICalculateFormulaService'],{'useClass':a[_0x3d1fed(0x1bc)]}],[a[_0x3d1fed(0x19d)],{'useClass':a[_0x3d1fed(0x1d8)]}],[a[_0x3d1fed(0x10b)],{'useClass':a[_0x3d1fed(0x1a0)]}]][_0x3d1fed(0x1c8)](_0x23053c=>this['_injector'][_0x3d1fed(0x155)](_0x23053c)));}[_0xec7a0e(0x1ba)](){const _0x4ecf69=_0xec7a0e;var _0x41f547;const _0xac2c9c=(_0x41f547=this[_0x4ecf69(0x1b6)]['getConfig'](L[_0x4ecf69(0x1df)]))!=null?_0x41f547:{},{ls:_0x269f15,pbk:_0x3447fb}=_0xac2c9c;if(!_0x269f15||!_0x3447fb)return!0x1;const _0x1ef8e6=L['unshiftString'](B,K),_0x2a8d1c=new Function(_0x4ecf69(0x139)+_0x1ef8e6)()(_0x269f15,_0x3447fb),_0x52c67e=_0x2a8d1c[_0x4ecf69(0x187)];return _0x2a8d1c[_0x4ecf69(0x115)]&&L['isFeatureAuthorizedWithinTime'](_0x52c67e,'sf',X)?L[_0x4ecf69(0x1a7)](_0x52c67e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0xec7a0e(0x109)]=G([D[_0xec7a0e(0x1ca)](L[_0xec7a0e(0x18f)])],exports[_0xec7a0e(0x109)]),exports[_0xec7a0e(0x16f)]=P,Object[_0xec7a0e(0x1a2)](a)[_0xec7a0e(0x1c8)](_0x245eae=>{const _0x50e3a7=_0xec7a0e;_0x245eae!==_0x50e3a7(0x137)&&!Object[_0x50e3a7(0x118)][_0x50e3a7(0x101)][_0x50e3a7(0x141)](exports,_0x245eae)&&Object['defineProperty'](exports,_0x245eae,{'enumerable':!0x0,'get':()=>a[_0x245eae]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2d8d(_0xcd271,_0x27dac9){_0xcd271=_0xcd271-0x177;var _0x3120e1=_0x3120();var _0x2d8d4a=_0x3120e1[_0xcd271];return _0x2d8d4a;}(function(_0x58071f,_0x16a0d5){var _0x557e75=_0x2d8d,_0x3a6f1e=_0x58071f();while(!![]){try{var _0x362bb7=-parseInt(_0x557e75(0x180))/0x1*(parseInt(_0x557e75(0x17d))/0x2)+parseInt(_0x557e75(0x179))/0x3+parseInt(_0x557e75(0x17b))/0x4*(parseInt(_0x557e75(0x182))/0x5)+-parseInt(_0x557e75(0x17c))/0x6*(parseInt(_0x557e75(0x178))/0x7)+parseInt(_0x557e75(0x17a))/0x8*(parseInt(_0x557e75(0x17f))/0x9)+parseInt(_0x557e75(0x177))/0xa+-parseInt(_0x557e75(0x181))/0xb*(-parseInt(_0x557e75(0x17e))/0xc);if(_0x362bb7===_0x16a0d5)break;else _0x3a6f1e['push'](_0x3a6f1e['shift']());}catch(_0x3efce9){_0x3a6f1e['push'](_0x3a6f1e['shift']());}}}(_0x3120,0x8877a));function _0x3120(){var _0x52fb2a=['12ehTbaJ','1461060UHjVGv','29QHzkaB','15775265yPhTeZ','3775WUgJWW','1162660qvohtf','14byEoGM','893472jUERhI','8rRfYUt','1336fawRLv','2669232uitdjD','56138GSbihP'];_0x3120=function(){return _0x52fb2a;};return _0x3120();}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5c6bc5=_0x34a5;(function(_0x561748,_0x514463){const _0x360f2a=_0x34a5,_0xbe3c90=_0x561748();while(!![]){try{const _0x3145fe=-parseInt(_0x360f2a(0x237))/0x1*(parseInt(_0x360f2a(0x1d3))/0x2)+-parseInt(_0x360f2a(0x1d5))/0x3+-parseInt(_0x360f2a(0x189))/0x4*(parseInt(_0x360f2a(0x1d1))/0x5)+parseInt(_0x360f2a(0x176))/0x6*(-parseInt(_0x360f2a(0x225))/0x7)+parseInt(_0x360f2a(0x242))/0x8+-parseInt(_0x360f2a(0x218))/0x9+-parseInt(_0x360f2a(0x212))/0xa*(-parseInt(_0x360f2a(0x203))/0xb);if(_0x3145fe===_0x514463)break;else _0xbe3c90['push'](_0xbe3c90['shift']());}catch(_0x294bab){_0xbe3c90['push'](_0xbe3c90['shift']());}}}(_0x5a46,0x58758));var se=Object[_0x5c6bc5(0x1b9)],ae=(_0x20aa68,_0x5b357d,_0x1f17d4)=>_0x5b357d in _0x20aa68?se(_0x20aa68,_0x5b357d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f17d4}):_0x20aa68[_0x5b357d]=_0x1f17d4,F=(_0x2f3979,_0x239996,_0x3919fc)=>ae(_0x2f3979,typeof _0x239996!='symbol'?_0x239996+'':_0x239996,_0x3919fc);function _0x5a46(){const _0x5e2581=['join','node','addFormulaDependency','return\x20','_xlpm.','next','featureDirtyRanges','_getFirstCellOfRange','_removeDependencyRTreeCacheById','_executionInProgressListener$','_generateExprTree','endsWith','min','length','endColumn','getChildren','getStartIndex','endRow','getAllRuntimeData','refOffsetY','defineProperty','_removeDependencyRTreeCache','pop','_formulaData','startColumn','setAdded','_otherFormulaData','isForceCalculate','_isCyclicUtilMap','clearFormulaDependency','_getCurNodeTypeForExprTree','isDirty','formula','delete','/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ\x20N3vW33NZt=tch65Vn5.n8chv(\x27-\x27);tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ\x20N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ\x20N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t\x27MVO5dhV5O\x27t&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t\x27MVO5dhV5O\x27t&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t\x27MVO5dhV5O\x27;tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL(\x27*.\x27))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL(\x27.\x27)t&&tLQnv.5VOnmhvL(\x27.\x27t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t\x27cQ6NcLQnv\x27)t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}','_dependencyTreeCache','START_DEPENDENCY','featureId','_runtimeService','OTHER_FORMULA','dirtyRanges','values','getDirtyData','markedAsNoFunctionsExecuted','1025WJKuYJ','_registerOtherFormulas','458576QcavLX','realDeleteValue','864063tGevrc','subUnitId','startsWith','treeId','_getTableNameFromStructuredRef','_dependencyManagerService','_checkIsCycleDependency','setCompletedArrayFormulasCount','getClearDependencyTreeCache','_isCalculateTreeModel','addFeatureFormulaDependency','_lexer','inRangeData','max','refTree','_hasNewExcelFunction','_clearPrefix','_clearFunctionString','treeBuilder','set','VALUE','_featureFormulaData','getRuntimeState','clearArrayObjectCache','MINUS','clearOtherFormulaDependency','isVirtual','getNewFormulaWithPrefix','getDirtyNameMap','_xlpmPrefix','getExcludedRange','_handleLambdaForExprTree','addOtherFormulaDependency','_getTreeById','setCompletedFormulasCount','_initializeWithOverride','refOffsetX','_checkAddBracketForMinus','Lambda\x20parameter\x20name\x20\x22','_otherFormulaManagerService','rangeList','sheetId','_configService','generate','_dependencyRTreeCacheForAddressFunction','markedAsStopFunctionsExecuted','3179DtNPsK','_otherFormulaDataMainData','_getTreeNode','startRow','type','_checkColonNodeForExprTree','setRuntimeFeatureCellData','CURRENTLY_CALCULATING','toUpperCase','formulaId','_definedNameMap','START_CALCULATION','_resetPrefix','_currentUnitId','_generateTreeList','59490YgDXsN','_generateNewFunctionString','isArray','addFormulaDependencyByDefinedName','isAdded','clearFeatureFormulaDependency','3464028mhmNte','columnCount','getDirtyRanges','getOtherFormulaDependency','children','setDependencyTreeModelData','forEach','setSkip','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','getConfig','intervalCount','getToken','error','4489772XiKNPX','_handleNewFunctionChild','isCache','_injector','range','removeFormulaDependency','_convertDirtyRangesToUnitRange','_allTreeMap','_restDependencyTreeId','size','bulkRemove','get','_getUpdateTreeListAndMakeDependency','_currentConfigService','startIndex','openKdTree','checkAsyncNode','_dependencyRTreeCache','2WsoJRr','_handleChildrenForExprTree','removeOtherFormulaDependency','closeKdTree','getFormulaDependency','isSkip','_xlfnPrefix','IDLE','toRTreeItem','searchDependency','resetCalculationState','5005336IUfsTT','dependencySheetName','dispose','keys','trim','add','resolve','unitId','enableCycleDependency','6iiOhQP','has','value','COLON','setRuntimeData','_traverse','string','START_CALCULATION_ARRAY_FORMULA','_astTreeBuilder','message','_createFDtree','_initLicenseValid','setValue','FEATURE_FORMULA','_handleTextNodeForExprTree','row','getOtherFormulaData','_xlfn.','column','4092xlwdiY','_removeAllTreeMap','isExcludeRange','setFormulaExecuteStage','rowCount','_config','_getDependencyTreeChildrenIds','_getAllTreeList','addOtherFormulaDependencyMainData','slice','forValue','PLUS','setRuntimeOtherData','clear','hasOtherFormulaDataMainData','_lambdaFunctionParameterSet','push','notExecuteFormula','_endFormulaDependencyTreeModel','getFormulaExprTree','_createVirtualFDtree','getOwnPropertyDescriptor','reset','_startFormulaDependencyTreeModel','getValue','START_DEPENDENCY_ARRAY_FORMULA','execute','_updateRangeFlatten'];_0x5a46=function(){return _0x5e2581;};return _0x5a46();}import{LexerTreeBuilder as _0x91f99,ErrorType as _0x2989dd,DEFAULT_TOKEN_TYPE_ROOT as _0x34e908,DEFAULT_TOKEN_TYPE_PARAMETER as _0x386ef6,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5e865d,NEW_EXCEL_FUNCTIONS as _0x2fff4f,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x9ecc0a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5c37ce,matchToken as _0x13630a,SUFFIX_TOKEN_SET as _0x5f3bca,prefixToken as _0x1677d5,LexerNode as _0x2d699b,OPERATOR_TOKEN_SET as _0x448706,isReferenceString as _0x6059c5,splitTableStructuredRef as _0x5908ed,FormulaDependencyGenerator as _0x53d693,generateRandomDependencyTreeId as _0x1acf17,FormulaDependencyTree as _0x1ccf95,FormulaDependencyTreeType as _0x53e470,FormulaDependencyTreeVirtual as _0x29a9b6,generateAstNode as _0x4296ca,CalculateFormulaService as _0xf68831,FormulaExecuteStageType as _0x459e19,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x7e8350,DEFAULT_INTERVAL_COUNT as _0x2feba4,DependencyManagerBaseService as _0x49f871,UniverFormulaEnginePlugin as _0xae29cb,ICalculateFormulaService as _0x368fee,IDependencyManagerService as _0x265ca2,IFormulaDependencyGenerator as _0xc52b1e,DependencyManagerService as _0x1e709a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x7d460a,LS_CONFIG_KEY as _0x10aacf,unshiftString as _0x3fea30,isFeatureAuthorizedWithinTime as _0x27d9ce,getSheetFeatureLimit as _0x2cc88d}from'@univerjs-pro/license';import{ObjectMatrix as _0x5b53ec,requestImmediateMacroTask as _0x42d291,RTree as _0x50ca2b,DependentOn as _0x20a83e}from'@univerjs/core';class De extends _0x91f99{constructor(){const _0x1ffd1c=_0x5c6bc5;super(...arguments),F(this,_0x1ffd1c(0x1e4),!0x1),F(this,_0x1ffd1c(0x198),new Set()),F(this,_0x1ffd1c(0x1f2),_0x1ffd1c(0x1a9)),F(this,_0x1ffd1c(0x23d),_0x1ffd1c(0x187)),F(this,_0x1ffd1c(0x210),'');}[_0x5c6bc5(0x20f)](){const _0x2dd8ad=_0x5c6bc5;this[_0x2dd8ad(0x1f2)]=_0x2dd8ad(0x1a9),this['_xlfnPrefix']='_xlfn.';}[_0x5c6bc5(0x1e5)](){const _0x10e3a9=_0x5c6bc5;this['_xlpmPrefix']='',this[_0x10e3a9(0x23d)]='';}[_0x5c6bc5(0x1f0)](_0x173a01,_0x83883c){const _0x7d46f6=_0x5c6bc5,_0x3850e3=this[_0x7d46f6(0x1e7)](_0x173a01,!0x1);if(!_0x3850e3||_0x3850e3===_0x2989dd['VALUE']||Array['isArray'](_0x3850e3))return null;const _0x295636=[];return this[_0x7d46f6(0x1e4)]=!0x1,this[_0x7d46f6(0x213)](_0x3850e3,_0x295636,_0x83883c),this['_hasNewExcelFunction']?'='+_0x295636[_0x7d46f6(0x1a5)](''):null;}[_0x5c6bc5(0x213)](_0x34758e,_0x15a284,_0x49e316){const _0x3d3d6c=_0x5c6bc5,_0x1c7c79=_0x34758e[_0x3d3d6c(0x223)](),_0x521408=_0x1c7c79[_0x3d3d6c(0x171)](),_0x22d446=_0x521408[_0x3d3d6c(0x20b)](),_0x2b8314=this[_0x3d3d6c(0x1e6)](_0x22d446),_0x28894c=_0x49e316(_0x2b8314);let _0x915a9c=0x0;_0x1c7c79===_0x34e908?_0x915a9c=0x3:_0x1c7c79===_0x386ef6?_0x915a9c=0x4:_0x1c7c79===_0x5e865d?_0x915a9c=0x5:_0x2fff4f[_0x3d3d6c(0x177)](_0x2b8314)?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0):_0x22d446===_0x9ecc0a?(_0x15a284['push'](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x2):_0x22d446===_0x5c37ce?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x1):_0x22d446===_0x13630a[_0x3d3d6c(0x179)]?_0x915a9c=0x8:_0x5f3bca[_0x3d3d6c(0x177)](_0x22d446)?_0x915a9c=0x7:_0x22d446===_0x1677d5[_0x3d3d6c(0x1ed)]?(this['_checkAddBracketForMinus'](_0x34758e)&&(_0x915a9c=0x9),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79)):(_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),_0x915a9c=0xa),_0x28894c?(_0x915a9c!==0x2&&_0x915a9c!==0x1&&(_0x915a9c=0x6),_0x15a284[_0x3d3d6c(0x199)]('(')):_0x915a9c===0x9&&_0x15a284[_0x3d3d6c(0x199)]('(');const _0x4cf99e=_0x34758e[_0x3d3d6c(0x1b4)](),_0x52e26b=_0x4cf99e['length'];if(_0x915a9c===0x2){const _0x2de56b=_0x4cf99e[0x0];let _0x235389=0x0;_0x2de56b instanceof _0x2d699b&&_0x2de56b[_0x3d3d6c(0x223)]()===_0x5e865d&&(_0x235389=0x1);for(let _0x45cd49=_0x235389;_0x45cd49<_0x52e26b-0x1;_0x45cd49++){const _0x4869d8=_0x4cf99e[_0x45cd49];if(_0x4869d8 instanceof _0x2d699b){const _0x29abb7=_0x4869d8['getChildren']()[0x0];typeof _0x29abb7=='string'&&(this[_0x3d3d6c(0x198)]['has'](_0x29abb7)&&console[_0x3d3d6c(0x224)](_0x3d3d6c(0x1fb)+_0x29abb7+'\x22\x20is\x20duplicated.'),this[_0x3d3d6c(0x198)][_0x3d3d6c(0x172)](_0x29abb7),_0x15a284[_0x3d3d6c(0x199)](''+this[_0x3d3d6c(0x1f2)]+_0x29abb7),this['_hasNewExcelFunction']=!0x0);}_0x15a284[_0x3d3d6c(0x199)](',');}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x235389===0x1&&(_0x15a284[_0x3d3d6c(0x199)](')'),_0x15a284[_0x3d3d6c(0x199)]('('),this['_generateNewFunctionString'](_0x2de56b,_0x15a284,_0x49e316)),_0x15a284['push'](')');return;}else{if(_0x915a9c===0x1){for(let _0x176c45=0x0;_0x176c45<_0x52e26b-0x1;_0x176c45++){const _0x90c253=_0x4cf99e[_0x176c45];if(_0x90c253 instanceof _0x2d699b&&_0x176c45%0x2===0x0){const _0xcc4b5=_0x90c253[_0x3d3d6c(0x1b4)]()[0x0];if(typeof _0xcc4b5==_0x3d3d6c(0x17c)){this[_0x3d3d6c(0x198)]['has'](_0xcc4b5)&&console[_0x3d3d6c(0x224)]('Let\x20variable\x20name\x20\x22'+_0xcc4b5+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3d3d6c(0x172)](_0xcc4b5),_0x15a284['push'](''+this[_0x3d3d6c(0x1f2)]+_0xcc4b5),this['_hasNewExcelFunction']=!0x0,_0x15a284[_0x3d3d6c(0x199)](',');continue;}}if(this[_0x3d3d6c(0x226)](_0x90c253,_0x15a284,_0x49e316),_0x90c253 instanceof _0x2d699b){const _0x415991=_0x4cf99e[_0x176c45+0x1];_0x415991&&_0x415991 instanceof _0x2d699b&&_0x15a284[_0x3d3d6c(0x199)](',');}}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](')');return;}else{if(_0x915a9c===0x8){const _0x10942f=_0x4cf99e[0x0],_0x40e27e=_0x4cf99e[0x1];this[_0x3d3d6c(0x226)](_0x10942f,_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),this[_0x3d3d6c(0x226)](_0x40e27e,_0x15a284,_0x49e316);return;}}}for(let _0x255e4c=0x0;_0x255e4c<_0x52e26b;_0x255e4c++){const _0x5a487d=_0x4cf99e[_0x255e4c];if(this[_0x3d3d6c(0x226)](_0x5a487d,_0x15a284,_0x49e316),_0x5a487d instanceof _0x2d699b){const _0x56ce49=_0x4cf99e[_0x255e4c+0x1];_0x56ce49&&_0x56ce49 instanceof _0x2d699b&&_0x15a284['push'](',');}}_0x915a9c===0x7&&_0x15a284['push'](_0x1c7c79),(_0x28894c||_0x915a9c===0x9)&&_0x15a284['push'](')');}['_handleNewFunctionChild'](_0x1848e5,_0x125c4f,_0x120883){const _0x4f6e67=_0x5c6bc5;_0x1848e5 instanceof _0x2d699b?this[_0x4f6e67(0x213)](_0x1848e5,_0x125c4f,_0x120883):this[_0x4f6e67(0x198)][_0x4f6e67(0x177)](_0x1848e5)?(_0x125c4f['push'](''+this[_0x4f6e67(0x1f2)]+_0x1848e5),this[_0x4f6e67(0x1e4)]=!0x0):_0x125c4f['push'](_0x1848e5);}[_0x5c6bc5(0x1e6)](_0x1d41e5){const _0x557acd=_0x5c6bc5;let _0xfb2444=_0x1d41e5[_0x557acd(0x171)]();if(!_0xfb2444)return _0xfb2444;const _0xf3cc8=_0xfb2444[0x0];if((_0xf3cc8===_0x1677d5['AT']||_0xf3cc8===_0x1677d5['MINUS']||_0xf3cc8===_0x1677d5[_0x557acd(0x194)])&&(_0xfb2444=_0xfb2444['slice'](0x1)),!_0xfb2444)return _0xfb2444;const _0x3daaff=_0xfb2444[_0xfb2444['length']-0x1];return _0x5f3bca[_0x557acd(0x177)](_0x3daaff)&&(_0xfb2444=_0xfb2444[_0x557acd(0x192)](0x0,-0x1)),_0xfb2444;}[_0x5c6bc5(0x1fa)](_0x13cd93){const _0x4bc6fc=_0x5c6bc5,_0x3cba4f=_0x13cd93[_0x4bc6fc(0x1b4)]()[0x0];if(!_0x3cba4f||!(_0x3cba4f instanceof _0x2d699b)||_0x13cd93[_0x4bc6fc(0x1b4)]()[_0x4bc6fc(0x1b2)]>0x1)return!0x1;const _0x91d476=_0x3cba4f[_0x4bc6fc(0x1b4)](),_0x330637=_0x91d476[_0x4bc6fc(0x1b2)];if(_0x330637===0x1)return!0x1;for(let _0x3bf8f8=0x0;_0x3bf8f8<_0x330637;_0x3bf8f8++){const _0x2e569a=_0x91d476[_0x3bf8f8];if(!(_0x2e569a instanceof _0x2d699b)&&_0x448706['has'](_0x2e569a))return!0x0;}return!0x1;}[_0x5c6bc5(0x19c)](_0x2032f5,_0x2e7700,_0x86914c,_0x1a7bd9,_0x256d42){const _0x5b66ce=_0x5c6bc5,_0x323f61=this[_0x5b66ce(0x1e7)](_0x2032f5,!0x1);if(!_0x323f61||_0x323f61===_0x2989dd[_0x5b66ce(0x1e9)]||Array[_0x5b66ce(0x214)](_0x323f61))return null;this[_0x5b66ce(0x1e5)](),this[_0x5b66ce(0x210)]=_0x2e7700;const _0x18636f=this[_0x5b66ce(0x1af)](_0x323f61,_0x86914c,_0x1a7bd9,_0x256d42);return this[_0x5b66ce(0x210)]='',this[_0x5b66ce(0x20f)](),_0x18636f;}[_0x5c6bc5(0x1af)](_0x3de5e4,_0x30747c,_0xa26705,_0x3f7ea1){const _0xc86d72=_0x5c6bc5,_0x2040b2={'value':'','children':[],'startIndex':0x0};let _0x5032a5=_0x3de5e4;if(_0x5032a5 instanceof _0x2d699b&&(_0x5032a5[_0xc86d72(0x223)]()===_0x34e908||_0x5032a5[_0xc86d72(0x223)]()===_0x386ef6)&&_0x5032a5[_0xc86d72(0x1b4)]()[_0xc86d72(0x1b2)]===0x1&&(_0x5032a5=_0x5032a5['getChildren']()[0x0]),!(_0x5032a5 instanceof _0x2d699b))return this['_handleTextNodeForExprTree'](_0x5032a5,_0xa26705,_0x3f7ea1);const _0x368228=_0x5032a5[_0xc86d72(0x1b4)](),_0x1717c2=_0x368228['length'],_0x282d81=[];this['_generateNewFunctionString'](_0x5032a5,_0x282d81,_0x30747c),_0x2040b2[_0xc86d72(0x178)]=_0x282d81[_0xc86d72(0x1a5)](''),_0x2040b2[_0xc86d72(0x233)]=_0x5032a5[_0xc86d72(0x1b5)]();const _0x251a23=this['_getCurNodeTypeForExprTree'](_0x5032a5);if(_0x251a23===0x2){const _0x5e90a7=_0x368228[0x0];if(_0x5e90a7 instanceof _0x2d699b){if(_0x5e90a7[_0xc86d72(0x223)]()[_0xc86d72(0x171)]()!==_0x5e865d)return _0x2040b2;this[_0xc86d72(0x1f4)](_0x5e90a7,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1);}return _0x2040b2;}else{if(_0x251a23===0x1){for(let _0x3e2ca1=0x0;_0x3e2ca1<_0x1717c2-0x1;_0x3e2ca1++){const _0x15fd37=_0x368228[_0x3e2ca1];if(_0x15fd37 instanceof _0x2d699b&&_0x3e2ca1%0x2===0x1){const _0x5b434e=_0x15fd37['getChildren']();if(_0x5b434e[_0xc86d72(0x1b2)]===0x1&&!(_0x5b434e[0x0]instanceof _0x2d699b))continue;const _0x3b61d5=this['_generateExprTree'](_0x15fd37,_0x30747c,_0xa26705,_0x3f7ea1);_0x3b61d5&&_0x2040b2[_0xc86d72(0x21c)][_0xc86d72(0x199)](_0x3b61d5);}}return _0x2040b2;}else{if(_0x251a23===0x8){const _0x1c6a3e=_0x368228[0x0];if(_0x1c6a3e instanceof _0x2d699b){const _0x5e66ac=_0x1c6a3e[_0xc86d72(0x1b4)]()[0x0];_0x5e66ac instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x5e66ac[_0xc86d72(0x1b5)]());}if(this[_0xc86d72(0x208)](_0x5032a5))return _0x2040b2;}else{if(_0x251a23===0x7){const _0x2b27fa=_0x368228[0x0];if(_0x2b27fa instanceof _0x2d699b){const _0x34136e=_0x2b27fa[_0xc86d72(0x1b4)]()[0x0];_0x34136e instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x34136e[_0xc86d72(0x1b5)]());}}}}}return this['_handleChildrenForExprTree'](_0x368228,_0x251a23,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1),_0x2040b2;}[_0x5c6bc5(0x238)](_0x47e709,_0x38f9e9,_0x8ce992,_0x54f62a,_0x4fa729,_0x4515fb){const _0x3aa269=_0x5c6bc5;for(let _0x1d78ae=0x0;_0x1d78ae<_0x47e709['length'];_0x1d78ae++){let _0x3a9f42=_0x47e709[_0x1d78ae];if(!(_0x3a9f42 instanceof _0x2d699b)){const _0x314c53=this[_0x3aa269(0x184)](_0x3a9f42,_0x4fa729,_0x4515fb);_0x314c53&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x314c53);continue;}const _0x37e705=_0x3a9f42[_0x3aa269(0x1b4)]();if(_0x37e705['length']===0x1&&!(_0x37e705[0x0]instanceof _0x2d699b)){const _0x579a6c=_0x37e705[0x0];if(!_0x4fa729(this[_0x3aa269(0x210)],_0x579a6c)&&!this[_0x3aa269(0x1d9)](_0x579a6c,_0x4515fb)&&!_0x6059c5(_0x579a6c))continue;}if(_0x38f9e9===0x8){const _0x573f49=_0x37e705[0x0];if(_0x573f49 instanceof _0x2d699b){const _0x5863ed=_0x573f49[_0x3aa269(0x223)]()[_0x3aa269(0x171)]();if(_0x6059c5(_0x5863ed))continue;_0x3a9f42=_0x573f49;}}const _0x373ed6=this['_generateExprTree'](_0x3a9f42,_0x54f62a,_0x4fa729,_0x4515fb);_0x373ed6&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x373ed6);}}[_0x5c6bc5(0x208)](_0x20436f){const _0x4bfb78=_0x5c6bc5,_0x34053d=_0x20436f[_0x4bfb78(0x1b4)]();if(_0x34053d[_0x4bfb78(0x1b2)]<0x2)return!0x1;const _0x1d6e8f=_0x34053d[0x0],_0x5125ce=_0x34053d[0x1];if(!(_0x1d6e8f instanceof _0x2d699b)||!(_0x5125ce instanceof _0x2d699b))return!0x1;const _0xac9f24=_0x1d6e8f['getChildren']()[0x0],_0x348526=_0x5125ce['getChildren']()[0x0];if(!(_0xac9f24 instanceof _0x2d699b)||!(_0x348526 instanceof _0x2d699b))return!0x1;const _0x2cc54b=_0xac9f24[_0x4bfb78(0x223)]()[_0x4bfb78(0x171)](),_0x2f8da1=_0x348526['getToken']()['trim']();return!!_0x6059c5(''+_0x2cc54b+_0x13630a[_0x4bfb78(0x179)]+_0x2f8da1);}[_0x5c6bc5(0x184)](_0x35192,_0x363d7b,_0x3c21fb){const _0x27c23b=_0x5c6bc5,_0xca8956=_0x35192['trim']();return _0xca8956[_0x27c23b(0x1d7)]('{')&&_0xca8956[_0x27c23b(0x1b0)]('}')||_0x363d7b(this[_0x27c23b(0x210)],_0xca8956)||this[_0x27c23b(0x1d9)](_0xca8956,_0x3c21fb)||_0x6059c5(_0xca8956)?{'value':_0xca8956,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x5d338d,_0x589185){const {tableName:_0x44afd7}=_0x5908ed(_0x5d338d);return _0x589185(this['_currentUnitId'],_0x44afd7)?_0x44afd7:null;}[_0x5c6bc5(0x1f4)](_0x4caea4,_0x1b0f4c,_0xd8cf67,_0x2069e4,_0x3d8428){const _0x467c5d=_0x5c6bc5,_0x21d370=_0x4caea4[_0x467c5d(0x1b4)]();for(let _0x39092b=0x0;_0x39092b<_0x21d370[_0x467c5d(0x1b2)];_0x39092b++){const _0x2ca1dd=_0x21d370[_0x39092b];if(!(_0x2ca1dd instanceof _0x2d699b))continue;const _0x4d0bee=_0x2ca1dd[_0x467c5d(0x1b4)]();if(_0x4d0bee['length']===0x1&&!(_0x4d0bee[0x0]instanceof _0x2d699b))continue;const _0x41eb17=this[_0x467c5d(0x1af)](_0x2ca1dd,_0xd8cf67,_0x2069e4,_0x3d8428);_0x41eb17&&_0x1b0f4c['children'][_0x467c5d(0x199)](_0x41eb17);}}[_0x5c6bc5(0x1c3)](_0x2fcdb2){const _0x4c6478=_0x5c6bc5,_0x1300d7=_0x2fcdb2[_0x4c6478(0x223)](),_0x4fc093=_0x1300d7['trim']()['toUpperCase']();let _0x34425b=0x0;return _0x1300d7===_0x34e908?_0x34425b=0x3:_0x1300d7===_0x386ef6?_0x34425b=0x4:_0x1300d7===_0x5e865d?_0x34425b=0x5:_0x4fc093===_0x9ecc0a?_0x34425b=0x2:_0x4fc093===_0x5c37ce?_0x34425b=0x1:_0x4fc093===_0x13630a[_0x4c6478(0x179)]?_0x34425b=0x8:_0x5f3bca['has'](_0x4fc093)?_0x34425b=0x7:_0x4fc093===_0x1677d5[_0x4c6478(0x1ed)]?this['_checkAddBracketForMinus'](_0x2fcdb2)&&(_0x34425b=0x9):_0x34425b=0xa,_0x34425b;}}const Me={0x0:'Y',0x1:'O',0x2:'x',0x3:'r',0x4:'m',0x5:'e',0x6:'c',0x7:'M',0x8:'p',0x9:'R','k':'0','P':'1','G':'2','T':'3','A':'4','S':'5','p':'6','a':'7','g':'8','u':'9','N':'a','J':'b','O':'d','d':'f','y':'g','L':'h','h':'i','r':'j','I':'k','c':'l','V':'n','Q':'o','E':'q','n':'s','v':'t','M':'u','R':'v','l':'w','Z':'y','j':'z','W':'A','Y':'B','b':'C','F':'D','z':'E','B':'F','x':'G','H':'H','U':'I','D':'J','i':'K','f':'L','e':'N','\x20':'P','o':'Q','s':'S','K':'T','C':'U','X':'V','m':'W','w':'X','q':'Z','t':'\x20'},Se=_0x5c6bc5(0x1c7);class xe extends _0x53d693{constructor(){const _0x5e564c=_0x5c6bc5;super(...arguments),F(this,_0x5e564c(0x1c8),new Map());}[_0x5c6bc5(0x16f)](){const _0x5e3340=_0x5c6bc5;super[_0x5e3340(0x16f)](),this[_0x5e3340(0x1c8)]['clear']();}async[_0x5c6bc5(0x200)](_0x214f01=!0x1){const _0x110cbc=_0x5c6bc5;this[_0x110cbc(0x1a4)]();const _0x53676f=this[_0x110cbc(0x232)]['getFormulaData'](),_0x5296b1=this[_0x110cbc(0x1fc)][_0x110cbc(0x186)](),_0x5cfad8=this[_0x110cbc(0x232)][_0x110cbc(0x1dd)]();_0x5cfad8!=null&&Object[_0x110cbc(0x170)](_0x5cfad8)[_0x110cbc(0x21e)](_0x53bfe8=>{const _0x5b66fb=_0x110cbc;_0x53bfe8!=null&&Object[_0x5b66fb(0x170)](_0x5cfad8[_0x53bfe8])['forEach'](_0xd1e23f=>{const _0x58fc0f=_0x5b66fb;_0xd1e23f!=null&&(this[_0x58fc0f(0x1da)][_0x58fc0f(0x1ee)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x217)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x1c2)](_0x53bfe8,_0xd1e23f));});});const _0x56317f=this['_currentConfigService']['getUnitData']();await this[_0x110cbc(0x211)](_0x53676f,_0x5296b1,_0x56317f),this[_0x110cbc(0x1da)]['openKdTree']();const _0x1288a2=this[_0x110cbc(0x231)](),_0x3fcf98=this['_calculateRunList'](_0x1288a2);return this[_0x110cbc(0x1db)](_0x3fcf98)&&this[_0x110cbc(0x1cb)][_0x110cbc(0x175)](),_0x214f01&&this[_0x110cbc(0x1cb)][_0x110cbc(0x21d)](this['_getAllDependencyJson'](Array['from'](this[_0x110cbc(0x1c8)][_0x110cbc(0x1ce)]()))),this[_0x110cbc(0x1c8)]['clear'](),this[_0x110cbc(0x201)][_0x110cbc(0x196)](),this[_0x110cbc(0x1da)][_0x110cbc(0x23a)](),this['_runtimeService'][_0x110cbc(0x1ec)](),Promise[_0x110cbc(0x173)](_0x3fcf98);}['_isCyclicUtilMap'](_0x1bf846,_0x152829){const _0x204792=_0x5c6bc5,_0x5121ef=[_0x1bf846];for(;_0x5121ef[_0x204792(0x1b2)]>0x0;){const _0x5f1f10=_0x5121ef[_0x5121ef[_0x204792(0x1b2)]-0x1];if((_0x152829['get'](_0x5f1f10)||0x0)===0x0){_0x152829['set'](_0x5f1f10,0x1);const _0x3ab416=this[_0x204792(0x1c8)]['get'](_0x5f1f10);if(_0x3ab416==null){_0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();continue;}const _0x3852f4=this[_0x204792(0x1da)][_0x204792(0x240)](_0x3ab416[_0x204792(0x23f)]());for(const _0x394d97 of _0x3852f4){const _0x38632c=_0x152829['get'](_0x394d97)||0x0;if(_0x38632c===0x1)return!0x0;_0x38632c===0x0&&_0x5121ef[_0x204792(0x199)](_0x394d97);}}else _0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();}return!0x1;}[_0x5c6bc5(0x1db)](_0x548776){const _0x5a77ec=_0x5c6bc5,_0x1ab7e0=new Map();for(const _0x1af13f of _0x548776)if(!_0x1ab7e0[_0x5a77ec(0x177)](_0x1af13f[_0x5a77ec(0x1d8)])&&this[_0x5a77ec(0x1c1)](_0x1af13f[_0x5a77ec(0x1d8)],_0x1ab7e0))return!0x0;return _0x1ab7e0[_0x5a77ec(0x196)](),!0x1;}['_getFeatureFormulaTree'](_0x3d3931,_0x100aff,_0x43458c){const _0x1f2703=_0x5c6bc5,{unitId:_0x20043a,subUnitId:_0x28a9c9,dependencyRanges:_0x25138c,getDirtyData:_0x1b90ff}=_0x43458c,_0x3c0ae6=_0x100aff||_0x1acf17(this[_0x1f2703(0x1da)]),_0x1da353=new _0x1ccf95(_0x3c0ae6);_0x1da353[_0x1f2703(0x174)]=_0x20043a,_0x1da353[_0x1f2703(0x1d6)]=_0x28a9c9,_0x1da353['rangeList']=_0x25138c,_0x1da353[_0x1f2703(0x1cf)]=_0x1b90ff;const _0x56d184=_0x1b90ff(this[_0x1f2703(0x232)][_0x1f2703(0x1cf)](),this['_runtimeService'][_0x1f2703(0x1b7)]()),_0x26afb2=this[_0x1f2703(0x22b)](_0x56d184[_0x1f2703(0x1cd)]);return _0x1da353[_0x1f2703(0x1ab)]=_0x26afb2,_0x1da353[_0x1f2703(0x1ca)]=_0x3d3931,_0x1da353[_0x1f2703(0x207)]=_0x53e470[_0x1f2703(0x183)],this[_0x1f2703(0x1da)]['addFeatureFormulaDependency'](_0x20043a,_0x28a9c9,_0x3d3931,_0x1da353),this[_0x1f2703(0x1c8)][_0x1f2703(0x1e8)](_0x1da353[_0x1f2703(0x1d8)],_0x1da353),this[_0x1f2703(0x1da)]['getFeatureFormulaDependency'](_0x43458c[_0x1f2703(0x174)],_0x43458c[_0x1f2703(0x1d6)],_0x3d3931)&&(_0x1da353[_0x1f2703(0x227)]=!0x0),_0x1da353;}[_0x5c6bc5(0x1d2)](_0x53ef35,_0x1b799c,_0x34ebdc){const _0x15f2e2=_0x5c6bc5;var _0x578608;for(const _0x3088d2 of _0x1b799c){const _0x3b2a11=_0x53ef35[_0x3088d2];if(_0x3b2a11==null)continue;const _0x4a834a=Object[_0x15f2e2(0x170)](_0x3b2a11);for(const _0x4502ca of _0x4a834a){const _0xc3dfcb=_0x3b2a11[_0x4502ca];if(_0xc3dfcb==null)continue;const _0x258639=Object['keys'](_0xc3dfcb);for(const _0xd9234a of _0x258639){const _0x2b8c71=this[_0x15f2e2(0x1da)][_0x15f2e2(0x197)](_0xd9234a),_0x1f3450=_0xc3dfcb[_0xd9234a],{f:_0x2d8e8a,ranges:_0x10f83f}=_0x1f3450;let _0xd502f3=!0x1;_0x2b8c71&&(_0xd502f3=!0x0);const {firstRow:_0x581cb1,firstColumn:_0xeba3c0}=this[_0x15f2e2(0x1ac)](_0x10f83f),_0x48821c=this['_dependencyManagerService'][_0x15f2e2(0x21b)](_0x3088d2,_0x4502ca,_0xd9234a),_0x497561=(_0x578608=_0x48821c==null?void 0x0:_0x48821c[_0x15f2e2(0x1a1)](0x0,0x0))!=null?_0x578608:_0x1acf17(this[_0x15f2e2(0x1da)]),_0x25f26f=new _0x1ccf95(_0x497561);for(let _0x57020d=0x0;_0x57020d<_0x10f83f['length'];_0x57020d++){const _0x18196a=_0x10f83f[_0x57020d],{startRow:_0x556b74,startColumn:_0x2a8c33,endRow:_0x4ced3b,endColumn:_0x50d705}=_0x18196a;for(let _0x16b805=_0x556b74;_0x16b805<=_0x4ced3b;_0x16b805++)for(let _0x23f296=_0x2a8c33;_0x23f296<=_0x50d705;_0x23f296++){const _0x4346ad=_0x23f296-_0xeba3c0,_0x5e3693=_0x16b805-_0x581cb1;if(_0x4346ad===0x0&&_0x5e3693===0x0){_0x25f26f[_0x15f2e2(0x1c5)]=_0x2d8e8a,_0x25f26f[_0x15f2e2(0x174)]=_0x3088d2,_0x25f26f[_0x15f2e2(0x1d6)]=_0x4502ca,_0x25f26f[_0x15f2e2(0x20c)]=_0xd9234a,_0x25f26f[_0x15f2e2(0x207)]=_0x53e470[_0x15f2e2(0x1cc)],_0x25f26f[_0x15f2e2(0x227)]=_0xd502f3,_0x34ebdc[_0x15f2e2(0x199)](_0x25f26f),this[_0x15f2e2(0x1c8)][_0x15f2e2(0x1e8)](_0x25f26f['treeId'],_0x25f26f),this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x25f26f),this['_dependencyManagerService'][_0x15f2e2(0x215)](_0x25f26f);continue;}const _0x457ae4=new _0x29a9b6();_0x457ae4['treeId']=(_0x48821c==null?void 0x0:_0x48821c['getValue'](_0x4346ad,_0x5e3693))||_0x1acf17(this['_dependencyManagerService']),_0x457ae4[_0x15f2e2(0x1e3)]=_0x25f26f,_0x457ae4[_0x15f2e2(0x1f9)]=_0x4346ad,_0x457ae4[_0x15f2e2(0x1b8)]=_0x5e3693,_0x457ae4[_0x15f2e2(0x227)]=_0xd502f3,_0x457ae4['type']=_0x53e470[_0x15f2e2(0x1cc)],this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x457ae4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x457ae4),_0x34ebdc[_0x15f2e2(0x199)](_0x457ae4),this[_0x15f2e2(0x1c8)]['set'](_0x457ae4[_0x15f2e2(0x1d8)],_0x457ae4);}}this['_dependencyManagerService'][_0x15f2e2(0x191)](_0xd9234a);}}}}['_registerFormulas'](_0x703708,_0x20e083,_0x131736,_0x192624){const _0x23cd14=_0x5c6bc5;for(const _0x329ecb of _0x703708){const _0x2e5e43=_0x20e083[_0x329ecb];if(_0x2e5e43==null)continue;const _0x5df384=Object[_0x23cd14(0x170)](_0x2e5e43);for(const _0x16fe64 of _0x5df384){const _0x2d0966=new _0x5b53ec(_0x2e5e43[_0x16fe64]||{}),_0x13d043=new Map();_0x2d0966[_0x23cd14(0x193)]((_0x543f5e,_0x28b816,_0x4a7db6)=>{const _0x4d2d92=_0x23cd14;if(_0x4a7db6==null)return!0x0;const {x:_0x56b91d=0x0,y:_0x4baf9c=0x0,si:_0x29b7ed}=_0x4a7db6;if(!(_0x56b91d===0x0&&_0x4baf9c===0x0&&_0x29b7ed!=null))return!0x0;const _0x4b13b5=this['_createFDtree'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x131736,_0x4a7db6),_0x1d793d=this[_0x4d2d92(0x1da)]['getFormulaDependency'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816);_0x1d793d!=null?_0x4b13b5[_0x4d2d92(0x1d8)]=_0x1d793d:(this[_0x4d2d92(0x1da)][_0x4d2d92(0x1a7)](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x4b13b5),this['_dependencyManagerService'][_0x4d2d92(0x215)](_0x4b13b5)),_0x13d043['set'](_0x29b7ed,_0x4b13b5),_0x192624[_0x4d2d92(0x199)](_0x4b13b5),this['_dependencyTreeCache'][_0x4d2d92(0x1e8)](_0x4b13b5[_0x4d2d92(0x1d8)],_0x4b13b5);}),_0x2d0966[_0x23cd14(0x193)]((_0x58b7dd,_0x4a0e6a,_0x1a2ad1)=>{const _0x269486=_0x23cd14;if(_0x1a2ad1==null)return!0x0;const {x:_0xae603a=0x0,y:_0x39e338=0x0,si:_0x2b28d6}=_0x1a2ad1;if(_0xae603a===0x0&&_0x39e338===0x0&&_0x2b28d6!=null)return!0x0;let _0x595ff2;if(_0x2b28d6&&_0x13d043['has'](_0x2b28d6)){const _0x19733b=_0x13d043[_0x269486(0x230)](_0x2b28d6);_0x595ff2=this[_0x269486(0x19d)](_0x19733b,_0x1a2ad1);}else _0x595ff2=this[_0x269486(0x180)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x131736,_0x1a2ad1);const _0x2eedbe=this['_dependencyManagerService'][_0x269486(0x23b)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a);_0x2eedbe!=null?_0x595ff2[_0x269486(0x1d8)]=_0x2eedbe:(this[_0x269486(0x1da)]['addFormulaDependency'](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x595ff2),this[_0x269486(0x1da)][_0x269486(0x215)](_0x595ff2)),_0x192624[_0x269486(0x199)](_0x595ff2),this['_dependencyTreeCache']['set'](_0x595ff2[_0x269486(0x1d8)],_0x595ff2);}),_0x13d043[_0x23cd14(0x196)]();}}}[_0x5c6bc5(0x180)](_0x339a74,_0x2f30db,_0xb6de98,_0x4092d2,_0x1cf351,_0x41827d){const _0x287afb=_0x5c6bc5,{f:_0x5eb0ca,x:_0xd37d40=0x0,y:_0x127d33=0x0}=_0x41827d,_0x228297=new _0x1ccf95(_0x1acf17(this[_0x287afb(0x1da)])),_0x33f3a1=_0x1cf351[_0x339a74][_0x2f30db];return _0x228297[_0x287afb(0x1c5)]=_0x5eb0ca,_0x228297[_0x287afb(0x174)]=_0x339a74,_0x228297[_0x287afb(0x1d6)]=_0x2f30db,_0x228297['row']=_0xb6de98,_0x228297[_0x287afb(0x188)]=_0x4092d2,_0x228297[_0x287afb(0x18d)]=_0x33f3a1['rowCount'],_0x228297[_0x287afb(0x219)]=_0x33f3a1[_0x287afb(0x219)],_0x228297;}[_0x5c6bc5(0x231)](){const _0x48d096=_0x5c6bc5,_0x534dee=[],_0x1a8fdb=new Set(),_0x41bba1=this[_0x48d096(0x232)][_0x48d096(0x1c0)](),_0x11314e=this['_currentConfigService'][_0x48d096(0x21a)](),_0x4dbdef=this[_0x48d096(0x1da)][_0x48d096(0x240)](_0x11314e),_0x5d5c15=this[_0x48d096(0x201)]['bulkSearch'](_0x11314e);for(const _0x34f06b of _0x5d5c15)_0x4dbdef[_0x48d096(0x172)](_0x34f06b);for(const [_0x203228,_0x12d436]of this[_0x48d096(0x1c8)])(_0x41bba1||_0x12d436[_0x48d096(0x1c4)]||_0x12d436[_0x48d096(0x16e)](this[_0x48d096(0x232)][_0x48d096(0x1f1)]())||_0x4dbdef['has'](_0x203228)&&!_0x12d436[_0x48d096(0x18b)](this[_0x48d096(0x232)][_0x48d096(0x1f3)]()))&&!_0x1a8fdb['has'](_0x203228)&&(_0x534dee[_0x48d096(0x199)](_0x12d436),_0x1a8fdb[_0x48d096(0x172)](_0x203228));for(const [_0x1b2ee0,_0x44ae33]of this[_0x48d096(0x1c8)])_0x44ae33[_0x48d096(0x1ef)]||(_0x44ae33['rangeList'][_0x48d096(0x1b2)]=0x0);return _0x534dee;}[_0x5c6bc5(0x1f6)](_0x5202a3){const _0x19425f=_0x5c6bc5;return this[_0x19425f(0x1c8)][_0x19425f(0x230)](_0x5202a3);}[_0x5c6bc5(0x205)](_0x54cb95){const _0x2aad72=_0x5c6bc5;return _0x4296ca(_0x54cb95[_0x2aad72(0x174)],_0x54cb95[_0x2aad72(0x1c5)],this[_0x2aad72(0x1e0)],this[_0x2aad72(0x17e)],this['_currentConfigService']);}*[_0x5c6bc5(0x17b)](_0x384f03,_0x4930bd){const _0x206998=_0x5c6bc5,_0x541fc9=_0x384f03,_0x516086=new Set();for(;_0x541fc9[_0x206998(0x1b2)]>0x0;){const _0x53a3ab=_0x541fc9['pop']();if(_0x516086['clear'](),_0x53a3ab===void 0x0||_0x53a3ab['isSkip']())continue;if(_0x53a3ab['isAdded']()){yield _0x53a3ab,_0x53a3ab[_0x206998(0x21f)](),_0x4930bd[_0x206998(0x172)](_0x53a3ab[_0x206998(0x1d8)]);continue;}const _0x4be434=this[_0x206998(0x1da)]['searchDependency'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd),_0x446f76=this[_0x206998(0x201)]['bulkSearch'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd);for(const _0x3295cf of _0x446f76)_0x4be434[_0x206998(0x172)](_0x3295cf);for(const _0x1a9ec5 of _0x4be434){const _0x507216=this['_dependencyTreeCache'][_0x206998(0x230)](_0x1a9ec5);if(!_0x507216){console[_0x206998(0x224)](_0x206998(0x220),_0x1a9ec5);continue;}_0x507216[_0x206998(0x216)]()||_0x53a3ab[_0x206998(0x23c)]()||_0x516086[_0x206998(0x172)](_0x507216);}if(_0x4be434[_0x206998(0x196)](),_0x516086[_0x206998(0x22e)]===0x0)yield _0x53a3ab,_0x53a3ab['setSkip'](),_0x4930bd['add'](_0x53a3ab[_0x206998(0x1d8)]);else{_0x53a3ab[_0x206998(0x1be)](),_0x541fc9[_0x206998(0x199)](_0x53a3ab);for(const _0x2774fe of _0x516086)_0x541fc9[_0x206998(0x199)](_0x2774fe);}}_0x541fc9['length']=0x0,_0x516086[_0x206998(0x196)]();}['_calculateRunList'](_0x49a6c2){const _0xb7db01=_0x5c6bc5,_0xd6f40e=[],_0x2ce484=new Set();for(const _0x13d033 of this[_0xb7db01(0x17b)](_0x49a6c2,_0x2ce484))_0xd6f40e['push'](_0x13d033);return _0xd6f40e;}async[_0x5c6bc5(0x190)](){const _0x444bc8=_0x5c6bc5;return await this['_initializeGenerateTreeList'](),Array['from'](this['_dependencyTreeCache'][_0x444bc8(0x1ce)]());}['_getDependencyTreeParenIds'](_0x28b6eb){const _0xfa94af=_0x5c6bc5;return this[_0xfa94af(0x1da)][_0xfa94af(0x240)](_0x28b6eb[_0xfa94af(0x23f)]());}[_0x5c6bc5(0x18f)](_0x3c70c8){const _0x3ad66c=_0x5c6bc5,_0x15f503=new Set(),_0x16e552=_0x3c70c8[_0x3ad66c(0x1fd)];for(const [_0x2d8f0b,_0x5a3618]of this['_dependencyTreeCache'])for(const _0x33c5ec of _0x16e552){const _0x33d544=_0x33c5ec['unitId'],_0x296ad9=_0x33c5ec[_0x3ad66c(0x1fe)];if(_0x5a3618[_0x3ad66c(0x174)]!==_0x33d544||_0x5a3618[_0x3ad66c(0x1d6)]!==_0x296ad9)continue;const _0x20982a=_0x33c5ec[_0x3ad66c(0x229)];if(_0x5a3618[_0x3ad66c(0x1e1)](_0x20982a)){_0x15f503['add'](_0x2d8f0b);break;}}return _0x15f503;}[_0x5c6bc5(0x1a0)](){const _0x39a2cf=_0x5c6bc5;this[_0x39a2cf(0x1da)][_0x39a2cf(0x234)]();}[_0x5c6bc5(0x19b)](){const _0x42b9e7=_0x5c6bc5;this['_formulaDependencyTreeModel']['clear'](),this[_0x42b9e7(0x1c8)]['clear'](),this[_0x42b9e7(0x1da)][_0x42b9e7(0x23a)]();}}function _0x34a5(_0xb78921,_0x486880){_0xb78921=_0xb78921-0x16e;const _0x5a46f4=_0x5a46();let _0x34a513=_0x5a46f4[_0xb78921];return _0x34a513;}class Re extends _0xf68831{async['_apply'](_0x389655=!0x1){const _0x2b30b2=_0x5c6bc5;_0x389655?this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1a2)]):this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1c9)]),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());const _0x5a441f=await this['_formulaDependencyGenerator'][_0x2b30b2(0x200)](this[_0x2b30b2(0x1de)]),_0x9123f2=this['_interpreter'];_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x17d)]),this[_0x2b30b2(0x1cb)]['setTotalArrayFormulasToCalculate'](_0x5a441f['length'])):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20e)]),this[_0x2b30b2(0x1cb)]['setTotalFormulasToCalculate'](_0x5a441f['length'])),this['_executionInProgressListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());let _0x5e4abb=[];const _0x10314e=this['_configService'][_0x2b30b2(0x221)](_0x7e8350),_0x432016=(_0x10314e==null?void 0x0:_0x10314e[_0x2b30b2(0x222)])||_0x2feba4;let _0x1f8b0b=0x0;const _0x2d4238=_0x5a441f[_0x2b30b2(0x1b2)];for(;_0x5a441f[_0x2b30b2(0x1b2)]>0x0;){const _0x55cc6a=_0x5a441f[_0x2b30b2(0x1bb)](),_0x5941e5=_0x4296ca(_0x55cc6a[_0x2b30b2(0x174)],_0x55cc6a['formula'],this[_0x2b30b2(0x1e0)],this['_astTreeBuilder'],this[_0x2b30b2(0x232)]),_0x2d2db1={'node':_0x5941e5,'refOffsetX':_0x55cc6a[_0x2b30b2(0x1f9)],'refOffsetY':_0x55cc6a['refOffsetY']},_0x3f09b2=_0x55cc6a[_0x2b30b2(0x1cf)];if(_0x1f8b0b%_0x432016===0x0&&(await new Promise(_0x4d8e24=>{const _0x299a88=_0x2b30b2,_0x17fb7f=_0x42d291(_0x4d8e24);_0x5e4abb[_0x299a88(0x199)](_0x17fb7f);}),_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1dc)](_0x1f8b0b+0x1)):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20a)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1f7)](_0x1f8b0b+0x1)),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1eb)]()),this[_0x2b30b2(0x1cb)]['isStopExecution']()||_0x2d2db1==null&&_0x3f09b2==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x23e)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x202)](),this['_executionCompleteListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1b7)]());return;}this['_runtimeService']['setCurrent'](_0x55cc6a[_0x2b30b2(0x185)],_0x55cc6a[_0x2b30b2(0x188)],_0x55cc6a[_0x2b30b2(0x18d)],_0x55cc6a[_0x2b30b2(0x219)],_0x55cc6a[_0x2b30b2(0x1d6)],_0x55cc6a['unitId']);let _0x1d730f;if(_0x3f09b2!=null&&_0x55cc6a['featureId']!=null){const {runtimeCellData:_0x8f767c,dirtyRanges:_0x505cb8}=_0x3f09b2(this[_0x2b30b2(0x232)][_0x2b30b2(0x1cf)](),this['_runtimeService'][_0x2b30b2(0x1b7)]());this[_0x2b30b2(0x1cb)][_0x2b30b2(0x209)](_0x55cc6a['featureId'],_0x8f767c),this[_0x2b30b2(0x1cb)]['setRuntimeFeatureRange'](_0x55cc6a['featureId'],_0x505cb8);}else _0x2d2db1!=null&&(_0x9123f2[_0x2b30b2(0x235)](_0x2d2db1[_0x2b30b2(0x1a6)])?_0x1d730f=await _0x9123f2['executeAsync'](_0x2d2db1):_0x1d730f=_0x9123f2[_0x2b30b2(0x1a3)](_0x2d2db1),_0x55cc6a[_0x2b30b2(0x20c)]!=null?this[_0x2b30b2(0x1cb)][_0x2b30b2(0x195)](_0x55cc6a[_0x2b30b2(0x20c)],_0x55cc6a[_0x2b30b2(0x1f9)],_0x55cc6a['refOffsetY'],_0x1d730f):this['_runtimeService'][_0x2b30b2(0x17a)](_0x1d730f));_0x5941e5[_0x2b30b2(0x241)](),_0x1f8b0b++;}return _0x5e4abb['forEach'](_0x4141ad=>_0x4141ad()),_0x5e4abb=[],_0x2d4238>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x389655||this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1d0)](),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1b7)]();}}class Ve extends _0x49f871{constructor(){const _0x149e62=_0x5c6bc5;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x149e62(0x236),new _0x50ca2b(!0x0));}[_0x5c6bc5(0x19f)](){const _0x3f980c=_0x5c6bc5;this[_0x3f980c(0x1bf)][_0x3f980c(0x196)](),this[_0x3f980c(0x1ea)]['clear'](),this['_formulaData']['clear'](),this['_dependencyRTreeCache']['clear'](),this['_allTreeMap'][_0x3f980c(0x196)](),this[_0x3f980c(0x22d)](),this[_0x3f980c(0x204)][_0x3f980c(0x196)]();}[_0x5c6bc5(0x1f5)](_0x4a7c1f,_0x1926ac,_0x38b8e2,_0x516d3b){const _0x6e5a2b=_0x5c6bc5;this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x177)](_0x4a7c1f)||this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x1e8)](_0x4a7c1f,new Map());const _0x460a9d=this['_otherFormulaData'][_0x6e5a2b(0x230)](_0x4a7c1f);_0x460a9d[_0x6e5a2b(0x177)](_0x1926ac)||_0x460a9d[_0x6e5a2b(0x1e8)](_0x1926ac,new Map());const _0x32417e=_0x460a9d[_0x6e5a2b(0x230)](_0x1926ac);_0x32417e[_0x6e5a2b(0x177)](_0x38b8e2)||_0x32417e[_0x6e5a2b(0x1e8)](_0x38b8e2,new _0x5b53ec()),_0x32417e[_0x6e5a2b(0x230)](_0x38b8e2)[_0x6e5a2b(0x182)](_0x516d3b[_0x6e5a2b(0x1f9)],_0x516d3b[_0x6e5a2b(0x1b8)],_0x516d3b[_0x6e5a2b(0x1d8)]);}[_0x5c6bc5(0x239)](_0x2c08,_0x3a69f3,_0xb9010c){const _0x44ee3=_0x5c6bc5,_0x28c79c=this['_otherFormulaData'][_0x44ee3(0x230)](_0x2c08);if(_0x28c79c&&_0x28c79c[_0x44ee3(0x177)](_0x3a69f3)){const _0x566282=_0x28c79c[_0x44ee3(0x230)](_0x3a69f3);_0xb9010c['forEach'](_0x8306a9=>{const _0xbb2652=_0x44ee3,_0x1bca42=_0x566282[_0xbb2652(0x230)](_0x8306a9);_0x1bca42!=null&&(_0x1bca42[_0xbb2652(0x193)]((_0x4e7865,_0x3e14fb,_0x13e29b)=>{const _0x3d5d9e=_0xbb2652;this[_0x3d5d9e(0x1ba)](_0x13e29b),this[_0x3d5d9e(0x18a)](_0x13e29b);}),_0x566282[_0xbb2652(0x1c6)](_0x8306a9),this['_otherFormulaDataMainData']['delete'](_0x8306a9));}),_0x566282['size']===0x0&&_0x28c79c[_0x44ee3(0x1c6)](_0x3a69f3),_0x28c79c[_0x44ee3(0x22e)]===0x0&&this[_0x44ee3(0x1bf)][_0x44ee3(0x1c6)](_0x2c08);}}[_0x5c6bc5(0x1ee)](_0x3be3f2,_0x4d004f){const _0x2fac90=_0x5c6bc5,_0x4b1ffd=this[_0x2fac90(0x1bf)]['get'](_0x3be3f2);if(_0x4d004f&&_0x4b1ffd&&_0x4b1ffd[_0x2fac90(0x177)](_0x4d004f)){const _0x4b69bc=_0x4b1ffd[_0x2fac90(0x230)](_0x4d004f);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x4d004f);for(const _0x5d567b of _0x4b69bc[_0x2fac90(0x170)]()){const _0x587787=_0x4b69bc[_0x2fac90(0x230)](_0x5d567b);_0x587787!=null&&(_0x587787[_0x2fac90(0x193)]((_0x48a8e7,_0x1f89a1,_0x2d755f)=>{const _0x13eb29=_0x2fac90;this[_0x13eb29(0x22c)][_0x13eb29(0x230)](_0x2d755f)&&this[_0x13eb29(0x18a)](_0x2d755f);}),this[_0x2fac90(0x204)][_0x2fac90(0x1c6)](_0x5d567b));}_0x4b69bc[_0x2fac90(0x196)]();}else{if(_0x4b1ffd){for(const _0x5ee59b of _0x4b1ffd[_0x2fac90(0x170)]()){const _0x1919f1=_0x4b1ffd[_0x2fac90(0x230)](_0x5ee59b);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x5ee59b);for(const _0xf939c6 of _0x1919f1[_0x2fac90(0x170)]()){const _0xa9898e=_0x1919f1[_0x2fac90(0x230)](_0xf939c6);_0xa9898e!=null&&(_0xa9898e[_0x2fac90(0x193)]((_0x41c679,_0x527fe1,_0x27d52c)=>{const _0x5e75d2=_0x2fac90;this[_0x5e75d2(0x22c)][_0x5e75d2(0x230)](_0x27d52c)&&this[_0x5e75d2(0x18a)](_0x27d52c);}),this['_otherFormulaDataMainData'][_0x2fac90(0x1c6)](_0xf939c6));}}this['_otherFormulaData'][_0x2fac90(0x1c6)](_0x3be3f2);}}}[_0x5c6bc5(0x1df)](_0x4086eb,_0x49c3e5,_0x5a3a3f,_0x31f419){const _0x1398fc=_0x5c6bc5;this[_0x1398fc(0x1ea)][_0x1398fc(0x177)](_0x4086eb)||this[_0x1398fc(0x1ea)][_0x1398fc(0x1e8)](_0x4086eb,new Map());const _0x3634fc=this[_0x1398fc(0x1ea)]['get'](_0x4086eb);_0x3634fc[_0x1398fc(0x177)](_0x49c3e5)||_0x3634fc[_0x1398fc(0x1e8)](_0x49c3e5,new Map()),_0x3634fc[_0x1398fc(0x230)](_0x49c3e5)[_0x1398fc(0x1e8)](_0x5a3a3f,_0x31f419[_0x1398fc(0x1d8)]);}['removeFeatureFormulaDependency'](_0x1de1c9,_0x59ac67,_0x387e61){const _0x203b48=_0x5c6bc5,_0x50a448=this[_0x203b48(0x1ea)][_0x203b48(0x230)](_0x1de1c9);if(_0x50a448&&_0x50a448[_0x203b48(0x177)](_0x59ac67)){const _0x379982=_0x50a448['get'](_0x59ac67);_0x387e61[_0x203b48(0x21e)](_0x2b2c8a=>{const _0x44f8e3=_0x203b48,_0x46cbdf=_0x379982[_0x44f8e3(0x230)](_0x2b2c8a);_0x46cbdf!=null&&(this[_0x44f8e3(0x1ba)](_0x46cbdf),_0x379982[_0x44f8e3(0x1c6)](_0x2b2c8a),this[_0x44f8e3(0x18a)](_0x46cbdf));});}}[_0x5c6bc5(0x217)](_0x4017b2,_0x374ada){const _0x2d39a1=_0x5c6bc5,_0x524723=this[_0x2d39a1(0x1ea)][_0x2d39a1(0x230)](_0x4017b2);if(_0x374ada&&_0x524723&&_0x524723[_0x2d39a1(0x177)](_0x374ada)){const _0x2d027f=_0x524723[_0x2d39a1(0x230)](_0x374ada);this[_0x2d39a1(0x1ad)](_0x4017b2,_0x374ada),_0x2d027f['forEach'](_0x59bad2=>{_0x59bad2!=null&&this['_removeAllTreeMap'](_0x59bad2);}),_0x2d027f[_0x2d39a1(0x196)]();}else _0x524723&&(_0x524723['forEach']((_0xaf05b2,_0x8c2958)=>{const _0x54189c=_0x2d39a1;this[_0x54189c(0x1ad)](_0x4017b2,_0x8c2958),_0xaf05b2[_0x54189c(0x21e)](_0x2840b0=>{const _0x368159=_0x54189c;_0x2840b0!=null&&this[_0x368159(0x18a)](_0x2840b0);});}),this[_0x2d39a1(0x1ea)][_0x2d39a1(0x1c6)](_0x4017b2));}[_0x5c6bc5(0x1a7)](_0x405397,_0x3df7ba,_0x3419e2,_0x579795,_0x3889ee){const _0x229c24=_0x5c6bc5;this['_formulaData'][_0x229c24(0x177)](_0x405397)||this['_formulaData']['set'](_0x405397,new Map());const _0x54a502=this[_0x229c24(0x1bc)]['get'](_0x405397);_0x54a502[_0x229c24(0x177)](_0x3df7ba)||_0x54a502[_0x229c24(0x1e8)](_0x3df7ba,new _0x5b53ec()),_0x54a502[_0x229c24(0x230)](_0x3df7ba)[_0x229c24(0x182)](_0x3419e2,_0x579795,_0x3889ee[_0x229c24(0x1d8)]);}[_0x5c6bc5(0x22a)](_0x3bbde8,_0x4b2b5c,_0x42a1f8,_0x434084){const _0x25d7cc=_0x5c6bc5,_0x2a1e76=this[_0x25d7cc(0x1bc)]['get'](_0x3bbde8);if(_0x2a1e76&&_0x2a1e76[_0x25d7cc(0x177)](_0x4b2b5c)){const _0x3a9594=_0x2a1e76[_0x25d7cc(0x230)](_0x4b2b5c),_0x2353ef=_0x3a9594[_0x25d7cc(0x1a1)](_0x42a1f8,_0x434084);if(_0x2353ef==null)return;this[_0x25d7cc(0x1ba)](_0x2353ef),_0x3a9594[_0x25d7cc(0x1d4)](_0x42a1f8,_0x434084),this[_0x25d7cc(0x18a)](_0x2353ef);}}[_0x5c6bc5(0x1c2)](_0x1b34bc,_0x550701){const _0x121c76=_0x5c6bc5,_0x531e00=this[_0x121c76(0x1bc)]['get'](_0x1b34bc);if(_0x550701&&_0x531e00&&_0x531e00[_0x121c76(0x177)](_0x550701)){const _0x4bf699=_0x531e00[_0x121c76(0x230)](_0x550701);this[_0x121c76(0x1ad)](_0x1b34bc,_0x550701),_0x4bf699[_0x121c76(0x193)]((_0x4930a3,_0x2a4ac6,_0x2f717b)=>{if(_0x2f717b==null)return!0x0;this['_removeAllTreeMap'](_0x2f717b);}),_0x4bf699[_0x121c76(0x19f)]();}else _0x531e00&&(_0x531e00[_0x121c76(0x21e)]((_0x6e4276,_0x401048)=>{const _0x35a5d9=_0x121c76;this['_removeDependencyRTreeCacheById'](_0x1b34bc,_0x401048),_0x6e4276[_0x35a5d9(0x193)]((_0x101d91,_0x403d82,_0x2fba2e)=>{const _0x1b6cee=_0x35a5d9;if(_0x2fba2e==null)return!0x0;this[_0x1b6cee(0x18a)](_0x2fba2e);});}),this['_formulaData'][_0x121c76(0x1c6)](_0x1b34bc));}[_0x5c6bc5(0x1ba)](_0x523e9c){const _0x23d5b8=_0x5c6bc5;if(_0x523e9c==null)return;const _0x2b918a=this['_allTreeMap'][_0x23d5b8(0x230)](_0x523e9c);if(_0x2b918a){const _0x555571=[];for(const [_0x1d5dd0,_0x146490]of _0x2b918a)for(const [_0x2a14a6,_0x2d2e9c]of _0x146490)_0x555571[_0x23d5b8(0x199)]({'unitId':_0x1d5dd0,'sheetId':_0x2a14a6,'range':_0x2d2e9c,'id':_0x523e9c});this[_0x23d5b8(0x236)][_0x23d5b8(0x22f)](_0x555571);}}['removeFormulaDependencyByDefinedName'](_0x3cb31e,_0xd48a00){const _0x40adf1=_0x5c6bc5,_0x2fb74e=this[_0x40adf1(0x20d)][_0x40adf1(0x230)](_0x3cb31e);if(_0x2fb74e){const _0x50bb07=_0x2fb74e['get'](_0xd48a00);if(_0x50bb07){for(const _0x4c6dde of _0x50bb07)this[_0x40adf1(0x1ba)](_0x4c6dde),this['_removeAllTreeMap'](_0x4c6dde);_0x50bb07[_0x40adf1(0x196)]();}}}[_0x5c6bc5(0x234)](){const _0x3dfb3e=_0x5c6bc5;this['_dependencyRTreeCache'][_0x3dfb3e(0x234)]();}[_0x5c6bc5(0x23a)](){const _0x3a6476=_0x5c6bc5;this[_0x3a6476(0x236)][_0x3a6476(0x23a)]();}[_0x5c6bc5(0x18a)](_0x52983d){const _0x3752fb=_0x5c6bc5;_0x52983d!=null&&this['_allTreeMap'][_0x3752fb(0x1c6)](_0x52983d);}['_addAllTreeMap'](_0x552143){const _0x1e632a=_0x5c6bc5;var _0xcbe42a,_0x5139f6;const _0x5df9c5=_0x552143[_0x1e632a(0x1fd)];let _0x228137=this[_0x1e632a(0x22c)][_0x1e632a(0x230)](_0x552143['treeId']);for(let _0x1ae2ce=0x0;_0x1ae2ce<_0x5df9c5[_0x1e632a(0x1b2)];_0x1ae2ce++){const _0x391367=_0x5df9c5[_0x1ae2ce];let {unitId:_0x367961,sheetId:_0x5482a9,range:_0x474a9c}=_0x391367;_0x228137||(_0x228137=new Map(),this['_allTreeMap']['set'](_0x552143[_0x1e632a(0x1d8)],_0x228137)),_0x228137[_0x1e632a(0x177)](_0x367961)||_0x228137[_0x1e632a(0x1e8)](_0x367961,new Map());const _0x42b3e1=(_0xcbe42a=_0x228137==null?void 0x0:_0x228137[_0x1e632a(0x230)](_0x367961))==null?void 0x0:_0xcbe42a[_0x1e632a(0x230)](_0x5482a9);_0x42b3e1&&(_0x474a9c={'startRow':Math['min'](_0x474a9c[_0x1e632a(0x206)],_0x42b3e1['startRow']),'startColumn':Math[_0x1e632a(0x1b1)](_0x474a9c['startColumn'],_0x42b3e1[_0x1e632a(0x1bd)]),'endRow':Math[_0x1e632a(0x1e2)](_0x474a9c['endRow'],_0x42b3e1[_0x1e632a(0x1b6)]),'endColumn':Math[_0x1e632a(0x1e2)](_0x474a9c[_0x1e632a(0x1b3)],_0x42b3e1[_0x1e632a(0x1b3)])}),(_0x5139f6=_0x228137[_0x1e632a(0x230)](_0x367961))==null||_0x5139f6[_0x1e632a(0x1e8)](_0x5482a9,_0x474a9c);}}}var Ee=Object[_0x5c6bc5(0x19e)],Oe=(_0x48fe16,_0x29c928,_0xacff44,_0x3bfe68)=>{const _0x1a1f38=_0x5c6bc5;for(var _0x2e51e0=_0x3bfe68>0x1?void 0x0:_0x3bfe68?Ee(_0x29c928,_0xacff44):_0x29c928,_0x2f6dcd=_0x48fe16[_0x1a1f38(0x1b2)]-0x1,_0x114995;_0x2f6dcd>=0x0;_0x2f6dcd--)(_0x114995=_0x48fe16[_0x2f6dcd])&&(_0x2e51e0=_0x114995(_0x2e51e0)||_0x2e51e0);return _0x2e51e0;};const Ae=Number['parseInt'](0x696b4030);let X=class extends _0xae29cb{[_0x5c6bc5(0x1f8)](){const _0x176884=_0x5c6bc5;var _0x5e5643,_0x1b11ef;this[_0x176884(0x181)]()?(this[_0x176884(0x228)]['add']([_0x91f99,{'useClass':De}]),(_0x5e5643=this['_config'])!=null&&_0x5e5643[_0x176884(0x19a)]||[[_0x368fee,{'useClass':Re}],[_0x265ca2,{'useClass':Ve}],[_0xc52b1e,{'useClass':xe}]][_0x176884(0x21e)](_0x2815bf=>this[_0x176884(0x228)]['add'](_0x2815bf))):(this[_0x176884(0x228)][_0x176884(0x172)]([_0x91f99,{'useClass':_0x91f99}]),(_0x1b11ef=this[_0x176884(0x18e)])!=null&&_0x1b11ef[_0x176884(0x19a)]||[[_0x368fee,{'useClass':_0xf68831}],[_0x265ca2,{'useClass':_0x1e709a}],[_0xc52b1e,{'useClass':_0x53d693}]][_0x176884(0x21e)](_0x3d60cc=>this['_injector']['add'](_0x3d60cc)));}['_initLicenseValid'](){const _0x4bb4af=_0x5c6bc5;var _0x35aaa0;const _0xa63ecc=(_0x35aaa0=this[_0x4bb4af(0x1ff)][_0x4bb4af(0x221)](_0x10aacf))!=null?_0x35aaa0:{},{ls:_0x1108cc,pbk:_0x888e4a}=_0xa63ecc;if(!_0x1108cc||!_0x888e4a)return!0x1;const _0x265adf=_0x3fea30(Se,Me),_0x20a4b5=new Function(_0x4bb4af(0x1a8)+_0x265adf)()(_0x1108cc,_0x888e4a),_0x3f181c=_0x20a4b5[_0x4bb4af(0x17f)];return _0x20a4b5['valid']&&_0x27d9ce(_0x3f181c,'sf',Ae)?_0x2cc88d(_0x3f181c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};X=Oe([_0x20a83e(_0x7d460a)],X);export{De as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x329287=_0x1185;function _0x1185(_0x41b176,_0x247c9c){_0x41b176=_0x41b176-0x14a;const _0x87bfe4=_0x87bf();let _0x1185e4=_0x87bfe4[_0x41b176];return _0x1185e4;}(function(_0x3cd158,_0x4ab29b){const _0x8870b9=_0x1185,_0x17aa0d=_0x3cd158();while(!![]){try{const _0x362dd1=parseInt(_0x8870b9(0x18d))/0x1*(-parseInt(_0x8870b9(0x186))/0x2)+-parseInt(_0x8870b9(0x1e9))/0x3*(-parseInt(_0x8870b9(0x19e))/0x4)+-parseInt(_0x8870b9(0x197))/0x5*(-parseInt(_0x8870b9(0x21a))/0x6)+-parseInt(_0x8870b9(0x161))/0x7*(parseInt(_0x8870b9(0x19c))/0x8)+-parseInt(_0x8870b9(0x201))/0x9*(parseInt(_0x8870b9(0x153))/0xa)+parseInt(_0x8870b9(0x16f))/0xb+-parseInt(_0x8870b9(0x17c))/0xc;if(_0x362dd1===_0x4ab29b)break;else _0x17aa0d['push'](_0x17aa0d['shift']());}catch(_0x53ed8f){_0x17aa0d['push'](_0x17aa0d['shift']());}}}(_0x87bf,0xcfd9f));var se=Object['defineProperty'],ae=(_0x59c197,_0x33d450,_0x351d35)=>_0x33d450 in _0x59c197?se(_0x59c197,_0x33d450,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x351d35}):_0x59c197[_0x33d450]=_0x351d35,A=(_0x57fb88,_0x22248c,_0x31fb51)=>ae(_0x57fb88,typeof _0x22248c!=_0x329287(0x15b)?_0x22248c+'':_0x22248c,_0x31fb51);import{LexerTreeBuilder as _0x384e93,ErrorType as _0x2899d9,DEFAULT_TOKEN_TYPE_ROOT as _0x14b7e3,DEFAULT_TOKEN_TYPE_PARAMETER as _0x40df91,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x10a3aa,NEW_EXCEL_FUNCTIONS as _0x31625a,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4a140b,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x456d7b,matchToken as _0x1920f8,SUFFIX_TOKEN_SET as _0x50e7a2,prefixToken as _0xf411df,LexerNode as _0x58f316,OPERATOR_TOKEN_SET as _0x39ecea,isReferenceString as _0x47b65d,splitTableStructuredRef as _0x52883a,FormulaDependencyGenerator as _0x963ac6,generateRandomDependencyTreeId as _0x10bef9,FormulaDependencyTree as _0x51a58d,FormulaDependencyTreeType as _0x5c743f,FormulaDependencyTreeVirtual as _0x5be84d,generateAstNode as _0xb74f23,CalculateFormulaService as _0x22aff0,FormulaExecuteStageType as _0x5877bd,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xe582a4,DEFAULT_INTERVAL_COUNT as _0x30630d,DependencyManagerBaseService as _0x264421,UniverFormulaEnginePlugin as _0x758791,ICalculateFormulaService as _0x108132,IDependencyManagerService as _0x464974,IFormulaDependencyGenerator as _0x30986f,DependencyManagerService as _0x44ef32}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x87bf(){const _0x40310a=['setTotalFormulasToCalculate','_runtimeService','_traverse','MINUS','featureId','_removeAllTreeMap','treeBuilder','_removeDependencyRTreeCache','resolve','intervalCount','featureDirtyRanges','range','FEATURE_FORMULA','_isCyclicUtilMap','hasOtherFormulaDataMainData','keys','_initLicenseValid','\x22\x20is\x20duplicated.','sheetId','setTotalArrayFormulasToCalculate','OTHER_FORMULA','_getCurNodeTypeForExprTree','getUnitData','setDependencyTreeModelData','_startFormulaDependencyTreeModel','getValue','_formulaData','join','_otherFormulaData','_generateExprTree','getFormulaExprTree','_hasNewExcelFunction','endColumn','columnCount','_createVirtualFDtree','push','CURRENTLY_CALCULATING_ARRAY_FORMULA','_allTreeMap','setCompletedFormulasCount','length','rowCount','isForceCalculate','setCompletedArrayFormulasCount','_currentConfigService','formulaId','_getTableNameFromStructuredRef','_getFirstCellOfRange','1839OxESeY','getDirtyNameMap','/*FlgEH71-LHgekElFuqlxlq-1lpuEe1lF*/xY791HA7FLl9q4u1HA7(EH9l7gl,FuYkEH93l4)F{FFFF1q4F{FFFFFFFF9A7g1FEH9l7glU7xAbeq1nqqe4F=FEH9l7gl.guEH1(\x27-\x27);FFFFFFFF9A7g1FAqHPH7QlggePlF=FS6do.ueqgl(e1Ak(EH9l7glU7xAbeq1nqqe4[2]));FFFFFFFFHxF(!AqHPH7QlggePl.YL)F{FFFFFFFFFFFFAqHPH7QlggePl.YLF=FoYpklq(EH9l7glU7xAbeq1nqqe4[N]);FFFFFFFF}FFFFFFFF9A7g1FHgRAq8lqF=F14ulAxFRAq8lqcEAkeE69AulF!==F\x27Y7LlxH7lL\x27F&&FglExFH7g1e79lAxFRAq8lqcEAkeE69Aul;FFFFFFFF9A7g1FHgjqAXglqF=F14ulAxFXH7LAXF!==F\x27Y7LlxH7lL\x27F&&F14ulAxFXH7LAX.EA9e1HA7F!==F\x27Y7LlxH7lL\x27;FFFFFFFF9A7g1F9A71lJ1F=FHgRAq8lqF?FglExF:F(HgjqAXglqF?FXH7LAXF:FPEAkeEWrHg);FFFFFFFF9A7g1FplggePlRAqLF=F9A71lJ1.__jeglvN__.ueqgl(EH9l7glU7xAbeq1nqqe4[2]);FFFFFFFF9A7g1FplggePlF=F9A71lJ1.__flJ__.g1qH7PHx4(plggePlRAqL);FFFFFFFF9A7g1FgHP7e1YqlRAqLF=F9A71lJ1.__jeglvN__.ueqgl(EH9l7glU7xAbeq1nqqe4[5]);FFFFFFFF9A7g1FgHP7e1YqlF=F9A71lJ1.__flJ__.g1qH7PHx4(gHP7e1YqlRAqL);FFFFFFFF9A7g1FgHP7meEHLF=F9A71lJ1.__zlqHx4__(gHP7e1Yql,FplggePl,FuYkEH93l4);FFFFFFFF9A7g1FLApeH7F=FAqHPH7QlggePl.Lp;FFFFFFFFxY791HA7FHgVApeH7Qe19rH7P(ue11lq7,FrAg1)F{FFFFFFFFFFFFHxF(ue11lq7F===FrAg1)Fql1Yq7F1qYl;FFFFFFFFFFFFHxF(ue11lq7.g1eq1gRH1r(\x27*.\x27))F{FFFFFFFFFFFFFFFF9A7g1FgYxxHJF=Fue11lq7.gEH9l(2);FFFFFFFFFFFFFFFFHxF(gYxxHJF&&FgYxxHJF===FrAg1)F{FFFFFFFFFFFFFFFFFFFFql1Yq7F1qYl;FFFFFFFFFFFFFFFF}FFFFFFFFFFFFFFFFHxF(gYxxHJF&&F!rAg1.g1eq1gRH1r(\x27.\x27)F&&FrAg1.l7LgRH1r(\x27.\x27F+FgYxxHJ))F{FFFFFFFFFFFFFFFFFFFFql1Yq7F1qYl;FFFFFFFFFFFFFFFF}FFFFFFFFFFFF}FFFFFFFFFFFFql1Yq7FxeEgl;FFFFFFFF}FFFFFFFFEl1FLApeH7meEHLF=FxeEgl;FFFFFFFFHxF(HgjqAXglq)F{FFFFFFFFFFFFLApeH7meEHLF=F(LApeH7F&&FLApeH7.El7P1r)F?FLApeH7.gApl((LpU1lp)F=>FHgVApeH7Qe19rH7P(LpU1lp,FEA9e1HA7.rAg17epl))F:F1qYl;FFFFFFFFFFFFHxF(EA9e1HA7.rAg17eplF===F\x27EA9eErAg1\x27)F{FFFFFFFFFFFFFFFFLApeH7meEHLF=F1qYl;FFFFFFFFFFFF}FFFFFFFF}FlEglF{FFFFFFFFFFFFLApeH7meEHLF=F1qYl;FFFFFFFF}FFFFFFFF9A7g1FzeEHLF=FgHP7meEHLF&&FLApeH7meEHL;FFFFFFFFql1Yq7F{FFFFFFFFFFFFzeEHL,FFFFFFFFFFFFplggePl:FAqHPH7QlggePl,FFFFFFFF};FFFF}F9e19rF(lqqAq)F{FFFFFFFFql1Yq7F{FFFFFFFFFFFFzeEHL:FxeEgl,FFFFFFFFFFFFplggePl:F{},FFFFFFFF};FFFF}}','_getAllDependencyJson','trim','getNewFormulaWithPrefix','_interpreter','endRow','size','START_CALCULATION','get','row','clearFeatureFormulaDependency','_handleNewFunctionChild','_calculateRunList','_executionInProgressListener$','bulkSearch','setFormulaExecuteStage','column','min','parseInt','getFormulaDependency','_createFDtree','VALUE','14863383Wtlmnq','_restDependencyTreeId','getConfig','getOtherFormulaData','START_CALCULATION_ARRAY_FORMULA','_formulaDependencyGenerator','_getAllTreeList','_generateTreeList','_xlfnPrefix','_executionCompleteListener$','setCurrent','removeOtherFormulaDependency','delete','toUpperCase','rangeList','pop','COLON','_apply','setAdded','_endFormulaDependencyTreeModel','execute','searchDependency','_dependencyTreeCache','isArray','getFeatureFormulaDependency','2946IBPghi','clearOtherFormulaDependency','closeKdTree','_currentUnitId','refOffsetY','generate','isVirtual','getFormulaData','addFormulaDependency','value','getStartIndex','_lexer','_getTreeNode','isExcludeRange','_getTreeById','10VjUQbP','_clearFunctionString','_xlfn.','setRuntimeFeatureRange','_clearPrefix','_config','dirtyRanges','Let\x20variable\x20name\x20\x22','symbol','valid','_resetPrefix','next','_dependencyRTreeCacheForAddressFunction','_isCalculateTreeModel','21zBKaRV','startsWith','isSkip','refOffsetX','_generateNewFunctionString','error','_dependencyManagerService','setRuntimeData','_initializeWithOverride','toRTreeItem','_otherFormulaDataMainData','_xlpm.','_handleTextNodeForExprTree','_lambdaFunctionParameterSet','16163961clrHYo','_handleLambdaForExprTree','add','forValue','getDirtyData','_configService','addOtherFormulaDependency','forEach','message','max','checkAsyncNode','unitId','endsWith','9471444XrizKi','enableCycleDependency','START_DEPENDENCY','_getFeatureFormulaTree','set','getToken','children','clearFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','isCache','40522tEFHbQ','removeFormulaDependency','refTree','removeFeatureFormulaDependency','getAllRuntimeData','_definedNameMap','_injector','2ifKAmF','setValue','_checkIsCycleDependency','clear','_convertDirtyRangesToUnitRange','getChildren','_initializeGenerateTreeList','treeId','_removeDependencyRTreeCacheById','startRow','14770bdFfiw','from','inRangeData','notExecuteFormula','dispose','2825696bBVoQP','values','9608cucFSr','startColumn','return\x20','Lambda\x20parameter\x20name\x20\x22','addFormulaDependencyByDefinedName','executeAsync','getRuntimeState','_xlpmPrefix','formula','_handleChildrenForExprTree','has','reset','dependencySheetName','openKdTree','_featureFormulaData','setSkip','_checkAddBracketForMinus','_getUpdateTreeListAndMakeDependency','_dependencyRTreeCache','subUnitId','markedAsNoFunctionsExecuted','_addAllTreeMap','_getDependencyTreeParenIds','string','_otherFormulaManagerService','_updateRangeFlatten','type','isAdded'];_0x87bf=function(){return _0x40310a;};return _0x87bf();}import{UniverLicensePlugin as _0x2ba1e5,LS_CONFIG_KEY as _0x39dc64,unshiftString as _0x2514a8,isFeatureAuthorizedWithinTime as _0x56653a,getSheetFeatureLimit as _0x3315b5}from'@univerjs-pro/license';import{ObjectMatrix as _0x33e133,requestImmediateMacroTask as _0x4ac488,RTree as _0x1b422d,DependentOn as _0x425e09}from'@univerjs/core';class xe extends _0x384e93{constructor(){const _0x1d8508=_0x329287;super(...arguments),A(this,_0x1d8508(0x1d9),!0x1),A(this,_0x1d8508(0x16e),new Set()),A(this,'_xlpmPrefix','_xlpm.'),A(this,'_xlfnPrefix',_0x1d8508(0x155)),A(this,_0x1d8508(0x21d),'');}['_resetPrefix'](){const _0x413ad2=_0x329287;this[_0x413ad2(0x1a5)]=_0x413ad2(0x16c),this[_0x413ad2(0x209)]=_0x413ad2(0x155);}[_0x329287(0x157)](){const _0x1eb823=_0x329287;this[_0x1eb823(0x1a5)]='',this[_0x1eb823(0x209)]='';}[_0x329287(0x1ee)](_0x49539b,_0x44caca){const _0x53efba=_0x329287,_0x40a3dd=this[_0x53efba(0x1c0)](_0x49539b,!0x1);if(!_0x40a3dd||_0x40a3dd===_0x2899d9[_0x53efba(0x200)]||Array['isArray'](_0x40a3dd))return null;const _0x1c1415=[];return this['_hasNewExcelFunction']=!0x1,this[_0x53efba(0x165)](_0x40a3dd,_0x1c1415,_0x44caca),this[_0x53efba(0x1d9)]?'='+_0x1c1415[_0x53efba(0x1d5)](''):null;}[_0x329287(0x165)](_0xdddd31,_0x438edb,_0x515f72){const _0x29ddc4=_0x329287,_0x18b347=_0xdddd31[_0x29ddc4(0x181)](),_0x3b92c2=_0x18b347[_0x29ddc4(0x1ed)](),_0x1632a3=_0x3b92c2[_0x29ddc4(0x20e)](),_0x5b26c8=this['_clearFunctionString'](_0x1632a3),_0x50e8ed=_0x515f72(_0x5b26c8);let _0x4f76e5=0x0;_0x18b347===_0x14b7e3?_0x4f76e5=0x3:_0x18b347===_0x40df91?_0x4f76e5=0x4:_0x18b347===_0x10a3aa?_0x4f76e5=0x5:_0x31625a[_0x29ddc4(0x1a8)](_0x5b26c8)?(_0x438edb[_0x29ddc4(0x1dd)](''+this[_0x29ddc4(0x209)]+_0x3b92c2),this[_0x29ddc4(0x1d9)]=!0x0):_0x1632a3===_0x4a140b?(_0x438edb[_0x29ddc4(0x1dd)](''+this[_0x29ddc4(0x209)]+_0x3b92c2),this[_0x29ddc4(0x1d9)]=!0x0,_0x4f76e5=0x2):_0x1632a3===_0x456d7b?(_0x438edb[_0x29ddc4(0x1dd)](''+this[_0x29ddc4(0x209)]+_0x3b92c2),this[_0x29ddc4(0x1d9)]=!0x0,_0x4f76e5=0x1):_0x1632a3===_0x1920f8[_0x29ddc4(0x211)]?_0x4f76e5=0x8:_0x50e7a2['has'](_0x1632a3)?_0x4f76e5=0x7:_0x1632a3===_0xf411df[_0x29ddc4(0x1bd)]?(this['_checkAddBracketForMinus'](_0xdddd31)&&(_0x4f76e5=0x9),_0x438edb[_0x29ddc4(0x1dd)](_0x18b347)):(_0x438edb[_0x29ddc4(0x1dd)](_0x18b347),_0x4f76e5=0xa),_0x50e8ed?(_0x4f76e5!==0x2&&_0x4f76e5!==0x1&&(_0x4f76e5=0x6),_0x438edb['push']('(')):_0x4f76e5===0x9&&_0x438edb['push']('(');const _0x4e417c=_0xdddd31[_0x29ddc4(0x192)](),_0x258111=_0x4e417c['length'];if(_0x4f76e5===0x2){const _0x2e7cd9=_0x4e417c[0x0];let _0x546410=0x0;_0x2e7cd9 instanceof _0x58f316&&_0x2e7cd9[_0x29ddc4(0x181)]()===_0x10a3aa&&(_0x546410=0x1);for(let _0x1dca1b=_0x546410;_0x1dca1b<_0x258111-0x1;_0x1dca1b++){const _0x2002f1=_0x4e417c[_0x1dca1b];if(_0x2002f1 instanceof _0x58f316){const _0x1e9498=_0x2002f1[_0x29ddc4(0x192)]()[0x0];typeof _0x1e9498==_0x29ddc4(0x1b5)&&(this[_0x29ddc4(0x16e)]['has'](_0x1e9498)&&console['error'](_0x29ddc4(0x1a1)+_0x1e9498+_0x29ddc4(0x1cb)),this[_0x29ddc4(0x16e)]['add'](_0x1e9498),_0x438edb[_0x29ddc4(0x1dd)](''+this[_0x29ddc4(0x1a5)]+_0x1e9498),this[_0x29ddc4(0x1d9)]=!0x0);}_0x438edb[_0x29ddc4(0x1dd)](',');}this[_0x29ddc4(0x1f6)](_0x4e417c[_0x258111-0x1],_0x438edb,_0x515f72),_0x546410===0x1&&(_0x438edb[_0x29ddc4(0x1dd)](')'),_0x438edb[_0x29ddc4(0x1dd)]('('),this[_0x29ddc4(0x165)](_0x2e7cd9,_0x438edb,_0x515f72)),_0x438edb[_0x29ddc4(0x1dd)](')');return;}else{if(_0x4f76e5===0x1){for(let _0x17502d=0x0;_0x17502d<_0x258111-0x1;_0x17502d++){const _0x37b622=_0x4e417c[_0x17502d];if(_0x37b622 instanceof _0x58f316&&_0x17502d%0x2===0x0){const _0x5eb596=_0x37b622[_0x29ddc4(0x192)]()[0x0];if(typeof _0x5eb596==_0x29ddc4(0x1b5)){this['_lambdaFunctionParameterSet'][_0x29ddc4(0x1a8)](_0x5eb596)&&console[_0x29ddc4(0x166)](_0x29ddc4(0x15a)+_0x5eb596+_0x29ddc4(0x1cb)),this[_0x29ddc4(0x16e)][_0x29ddc4(0x171)](_0x5eb596),_0x438edb[_0x29ddc4(0x1dd)](''+this['_xlpmPrefix']+_0x5eb596),this['_hasNewExcelFunction']=!0x0,_0x438edb[_0x29ddc4(0x1dd)](',');continue;}}if(this[_0x29ddc4(0x1f6)](_0x37b622,_0x438edb,_0x515f72),_0x37b622 instanceof _0x58f316){const _0x1f4509=_0x4e417c[_0x17502d+0x1];_0x1f4509&&_0x1f4509 instanceof _0x58f316&&_0x438edb[_0x29ddc4(0x1dd)](',');}}this[_0x29ddc4(0x1f6)](_0x4e417c[_0x258111-0x1],_0x438edb,_0x515f72),_0x438edb[_0x29ddc4(0x1dd)](')');return;}else{if(_0x4f76e5===0x8){const _0x46607b=_0x4e417c[0x0],_0xb5723a=_0x4e417c[0x1];this[_0x29ddc4(0x1f6)](_0x46607b,_0x438edb,_0x515f72),_0x438edb[_0x29ddc4(0x1dd)](_0x18b347),this['_handleNewFunctionChild'](_0xb5723a,_0x438edb,_0x515f72);return;}}}for(let _0xf4c4dc=0x0;_0xf4c4dc<_0x258111;_0xf4c4dc++){const _0x39dea5=_0x4e417c[_0xf4c4dc];if(this[_0x29ddc4(0x1f6)](_0x39dea5,_0x438edb,_0x515f72),_0x39dea5 instanceof _0x58f316){const _0xaf560e=_0x4e417c[_0xf4c4dc+0x1];_0xaf560e&&_0xaf560e instanceof _0x58f316&&_0x438edb[_0x29ddc4(0x1dd)](',');}}_0x4f76e5===0x7&&_0x438edb[_0x29ddc4(0x1dd)](_0x18b347),(_0x50e8ed||_0x4f76e5===0x9)&&_0x438edb[_0x29ddc4(0x1dd)](')');}['_handleNewFunctionChild'](_0x448d82,_0x2f7b04,_0x13b5e2){const _0xe2e8b2=_0x329287;_0x448d82 instanceof _0x58f316?this[_0xe2e8b2(0x165)](_0x448d82,_0x2f7b04,_0x13b5e2):this[_0xe2e8b2(0x16e)][_0xe2e8b2(0x1a8)](_0x448d82)?(_0x2f7b04[_0xe2e8b2(0x1dd)](''+this[_0xe2e8b2(0x1a5)]+_0x448d82),this[_0xe2e8b2(0x1d9)]=!0x0):_0x2f7b04[_0xe2e8b2(0x1dd)](_0x448d82);}[_0x329287(0x154)](_0x58b0cc){const _0x5f5273=_0x329287;let _0x1aada3=_0x58b0cc[_0x5f5273(0x1ed)]();if(!_0x1aada3)return _0x1aada3;const _0x53c263=_0x1aada3[0x0];if((_0x53c263===_0xf411df['AT']||_0x53c263===_0xf411df[_0x5f5273(0x1bd)]||_0x53c263===_0xf411df['PLUS'])&&(_0x1aada3=_0x1aada3['slice'](0x1)),!_0x1aada3)return _0x1aada3;const _0x5ca014=_0x1aada3[_0x1aada3[_0x5f5273(0x1e1)]-0x1];return _0x50e7a2['has'](_0x5ca014)&&(_0x1aada3=_0x1aada3['slice'](0x0,-0x1)),_0x1aada3;}[_0x329287(0x1ae)](_0x3c5188){const _0x32ef2b=_0x329287,_0x23b67a=_0x3c5188[_0x32ef2b(0x192)]()[0x0];if(!_0x23b67a||!(_0x23b67a instanceof _0x58f316)||_0x3c5188[_0x32ef2b(0x192)]()[_0x32ef2b(0x1e1)]>0x1)return!0x1;const _0x45b5d2=_0x23b67a[_0x32ef2b(0x192)](),_0x333b5=_0x45b5d2['length'];if(_0x333b5===0x1)return!0x1;for(let _0x5acacc=0x0;_0x5acacc<_0x333b5;_0x5acacc++){const _0x5b9f36=_0x45b5d2[_0x5acacc];if(!(_0x5b9f36 instanceof _0x58f316)&&_0x39ecea['has'](_0x5b9f36))return!0x0;}return!0x1;}[_0x329287(0x1d8)](_0x53614e,_0x138aa2,_0x5a8b93,_0x21ddf5,_0x344dab){const _0x45f534=_0x329287,_0x3f1f89=this[_0x45f534(0x1c0)](_0x53614e,!0x1);if(!_0x3f1f89||_0x3f1f89===_0x2899d9[_0x45f534(0x200)]||Array[_0x45f534(0x218)](_0x3f1f89))return null;this[_0x45f534(0x157)](),this['_currentUnitId']=_0x138aa2;const _0x587971=this[_0x45f534(0x1d7)](_0x3f1f89,_0x5a8b93,_0x21ddf5,_0x344dab);return this[_0x45f534(0x21d)]='',this[_0x45f534(0x15d)](),_0x587971;}[_0x329287(0x1d7)](_0x53cbf2,_0x10b6cd,_0x11b56f,_0x2f67dd){const _0x4b1aeb=_0x329287,_0x1d161f={'value':'','children':[],'startIndex':0x0};let _0x4bfd5b=_0x53cbf2;if(_0x4bfd5b instanceof _0x58f316&&(_0x4bfd5b[_0x4b1aeb(0x181)]()===_0x14b7e3||_0x4bfd5b[_0x4b1aeb(0x181)]()===_0x40df91)&&_0x4bfd5b[_0x4b1aeb(0x192)]()[_0x4b1aeb(0x1e1)]===0x1&&(_0x4bfd5b=_0x4bfd5b[_0x4b1aeb(0x192)]()[0x0]),!(_0x4bfd5b instanceof _0x58f316))return this[_0x4b1aeb(0x16d)](_0x4bfd5b,_0x11b56f,_0x2f67dd);const _0x598c3e=_0x4bfd5b['getChildren'](),_0x31aae2=_0x598c3e[_0x4b1aeb(0x1e1)],_0x4dd7c9=[];this[_0x4b1aeb(0x165)](_0x4bfd5b,_0x4dd7c9,_0x10b6cd),_0x1d161f[_0x4b1aeb(0x14d)]=_0x4dd7c9[_0x4b1aeb(0x1d5)](''),_0x1d161f['startIndex']=_0x4bfd5b[_0x4b1aeb(0x14e)]();const _0x66c18c=this['_getCurNodeTypeForExprTree'](_0x4bfd5b);if(_0x66c18c===0x2){const _0x5ea976=_0x598c3e[0x0];if(_0x5ea976 instanceof _0x58f316){if(_0x5ea976[_0x4b1aeb(0x181)]()[_0x4b1aeb(0x1ed)]()!==_0x10a3aa)return _0x1d161f;this['_handleLambdaForExprTree'](_0x5ea976,_0x1d161f,_0x10b6cd,_0x11b56f,_0x2f67dd);}return _0x1d161f;}else{if(_0x66c18c===0x1){for(let _0x35a900=0x0;_0x35a900<_0x31aae2-0x1;_0x35a900++){const _0x4d93e8=_0x598c3e[_0x35a900];if(_0x4d93e8 instanceof _0x58f316&&_0x35a900%0x2===0x1){const _0x4c15d4=_0x4d93e8[_0x4b1aeb(0x192)]();if(_0x4c15d4[_0x4b1aeb(0x1e1)]===0x1&&!(_0x4c15d4[0x0]instanceof _0x58f316))continue;const _0x49398a=this[_0x4b1aeb(0x1d7)](_0x4d93e8,_0x10b6cd,_0x11b56f,_0x2f67dd);_0x49398a&&_0x1d161f[_0x4b1aeb(0x182)][_0x4b1aeb(0x1dd)](_0x49398a);}}return _0x1d161f;}else{if(_0x66c18c===0x8){const _0x2279dd=_0x598c3e[0x0];if(_0x2279dd instanceof _0x58f316){const _0xbbf430=_0x2279dd[_0x4b1aeb(0x192)]()[0x0];_0xbbf430 instanceof _0x58f316&&(_0x1d161f['startIndex']=_0xbbf430['getStartIndex']());}if(this['_checkColonNodeForExprTree'](_0x4bfd5b))return _0x1d161f;}else{if(_0x66c18c===0x7){const _0x47d549=_0x598c3e[0x0];if(_0x47d549 instanceof _0x58f316){const _0x46888a=_0x47d549[_0x4b1aeb(0x192)]()[0x0];_0x46888a instanceof _0x58f316&&(_0x1d161f['startIndex']=_0x46888a[_0x4b1aeb(0x14e)]());}}}}}return this['_handleChildrenForExprTree'](_0x598c3e,_0x66c18c,_0x1d161f,_0x10b6cd,_0x11b56f,_0x2f67dd),_0x1d161f;}[_0x329287(0x1a7)](_0x8ce4f6,_0x42d6e4,_0x5ea09e,_0x3a7196,_0x49f869,_0x9fcdc9){const _0x511114=_0x329287;for(let _0x39ea77=0x0;_0x39ea77<_0x8ce4f6[_0x511114(0x1e1)];_0x39ea77++){let _0x519b27=_0x8ce4f6[_0x39ea77];if(!(_0x519b27 instanceof _0x58f316)){const _0xf1d30=this[_0x511114(0x16d)](_0x519b27,_0x49f869,_0x9fcdc9);_0xf1d30&&_0x5ea09e['children'][_0x511114(0x1dd)](_0xf1d30);continue;}const _0x4b4da3=_0x519b27[_0x511114(0x192)]();if(_0x4b4da3[_0x511114(0x1e1)]===0x1&&!(_0x4b4da3[0x0]instanceof _0x58f316)){const _0x5a53a0=_0x4b4da3[0x0];if(!_0x49f869(this[_0x511114(0x21d)],_0x5a53a0)&&!this[_0x511114(0x1e7)](_0x5a53a0,_0x9fcdc9)&&!_0x47b65d(_0x5a53a0))continue;}if(_0x42d6e4===0x8){const _0x388f48=_0x4b4da3[0x0];if(_0x388f48 instanceof _0x58f316){const _0x5376b4=_0x388f48['getToken']()[_0x511114(0x1ed)]();if(_0x47b65d(_0x5376b4))continue;_0x519b27=_0x388f48;}}const _0x167c36=this['_generateExprTree'](_0x519b27,_0x3a7196,_0x49f869,_0x9fcdc9);_0x167c36&&_0x5ea09e[_0x511114(0x182)]['push'](_0x167c36);}}['_checkColonNodeForExprTree'](_0x536a04){const _0x5c8f73=_0x329287,_0x5daa28=_0x536a04[_0x5c8f73(0x192)]();if(_0x5daa28[_0x5c8f73(0x1e1)]<0x2)return!0x1;const _0x2db3dd=_0x5daa28[0x0],_0x54dcf5=_0x5daa28[0x1];if(!(_0x2db3dd instanceof _0x58f316)||!(_0x54dcf5 instanceof _0x58f316))return!0x1;const _0x54b6e4=_0x2db3dd[_0x5c8f73(0x192)]()[0x0],_0x43314e=_0x54dcf5[_0x5c8f73(0x192)]()[0x0];if(!(_0x54b6e4 instanceof _0x58f316)||!(_0x43314e instanceof _0x58f316))return!0x1;const _0x9a44e7=_0x54b6e4['getToken']()['trim'](),_0x132bd9=_0x43314e['getToken']()['trim']();return!!_0x47b65d(''+_0x9a44e7+_0x1920f8[_0x5c8f73(0x211)]+_0x132bd9);}[_0x329287(0x16d)](_0x858e2d,_0x405679,_0x16f39d){const _0x1b0a4c=_0x329287,_0x2e0184=_0x858e2d[_0x1b0a4c(0x1ed)]();return _0x2e0184[_0x1b0a4c(0x162)]('{')&&_0x2e0184[_0x1b0a4c(0x17b)]('}')||_0x405679(this[_0x1b0a4c(0x21d)],_0x2e0184)||this[_0x1b0a4c(0x1e7)](_0x2e0184,_0x16f39d)||_0x47b65d(_0x2e0184)?{'value':_0x2e0184,'children':[],'startIndex':-0x1}:null;}[_0x329287(0x1e7)](_0x20c10e,_0x50c0ee){const _0x50ae1c=_0x329287,{tableName:_0x4bb509}=_0x52883a(_0x20c10e);return _0x50c0ee(this[_0x50ae1c(0x21d)],_0x4bb509)?_0x4bb509:null;}[_0x329287(0x170)](_0x397934,_0x189aa4,_0x5f3b1f,_0x233023,_0x41eaf8){const _0x3c455b=_0x329287,_0x597b20=_0x397934[_0x3c455b(0x192)]();for(let _0x57938e=0x0;_0x57938e<_0x597b20[_0x3c455b(0x1e1)];_0x57938e++){const _0x318f8d=_0x597b20[_0x57938e];if(!(_0x318f8d instanceof _0x58f316))continue;const _0x305ad6=_0x318f8d[_0x3c455b(0x192)]();if(_0x305ad6['length']===0x1&&!(_0x305ad6[0x0]instanceof _0x58f316))continue;const _0x5d203e=this['_generateExprTree'](_0x318f8d,_0x5f3b1f,_0x233023,_0x41eaf8);_0x5d203e&&_0x189aa4[_0x3c455b(0x182)][_0x3c455b(0x1dd)](_0x5d203e);}}[_0x329287(0x1cf)](_0x45079a){const _0x5e839b=_0x329287,_0x3cfc97=_0x45079a[_0x5e839b(0x181)](),_0x2e51a4=_0x3cfc97[_0x5e839b(0x1ed)]()[_0x5e839b(0x20e)]();let _0x5ac1ad=0x0;return _0x3cfc97===_0x14b7e3?_0x5ac1ad=0x3:_0x3cfc97===_0x40df91?_0x5ac1ad=0x4:_0x3cfc97===_0x10a3aa?_0x5ac1ad=0x5:_0x2e51a4===_0x4a140b?_0x5ac1ad=0x2:_0x2e51a4===_0x456d7b?_0x5ac1ad=0x1:_0x2e51a4===_0x1920f8[_0x5e839b(0x211)]?_0x5ac1ad=0x8:_0x50e7a2[_0x5e839b(0x1a8)](_0x2e51a4)?_0x5ac1ad=0x7:_0x2e51a4===_0xf411df[_0x5e839b(0x1bd)]?this[_0x5e839b(0x1ae)](_0x45079a)&&(_0x5ac1ad=0x9):_0x5ac1ad=0xa,_0x5ac1ad;}}class Ee extends _0x963ac6{constructor(){const _0x35a6ff=_0x329287;super(...arguments),A(this,_0x35a6ff(0x217),new Map());}[_0x329287(0x19b)](){const _0x24316e=_0x329287;super['dispose'](),this[_0x24316e(0x217)]['clear']();}async[_0x329287(0x21f)](_0x333946=!0x1){const _0x6c267a=_0x329287;this[_0x6c267a(0x1b7)]();const _0x5f03f2=this[_0x6c267a(0x1e5)][_0x6c267a(0x14b)](),_0x2dfa61=this[_0x6c267a(0x1b6)][_0x6c267a(0x204)](),_0x3c68ad=this[_0x6c267a(0x1e5)]['getClearDependencyTreeCache']();_0x3c68ad!=null&&Object[_0x6c267a(0x1c9)](_0x3c68ad)[_0x6c267a(0x176)](_0x44faa9=>{const _0x1eed7a=_0x6c267a;_0x44faa9!=null&&Object[_0x1eed7a(0x1c9)](_0x3c68ad[_0x44faa9])[_0x1eed7a(0x176)](_0x125bbc=>{const _0x1d3428=_0x1eed7a;_0x125bbc!=null&&(this[_0x1d3428(0x167)][_0x1d3428(0x21b)](_0x44faa9,_0x125bbc),this['_dependencyManagerService'][_0x1d3428(0x1f5)](_0x44faa9,_0x125bbc),this[_0x1d3428(0x167)]['clearFormulaDependency'](_0x44faa9,_0x125bbc));});});const _0xae9dc0=this[_0x6c267a(0x1e5)][_0x6c267a(0x1d0)]();await this[_0x6c267a(0x208)](_0x5f03f2,_0x2dfa61,_0xae9dc0),this[_0x6c267a(0x167)]['openKdTree']();const _0x38ee46=this['_getUpdateTreeListAndMakeDependency'](),_0x279539=this[_0x6c267a(0x1f7)](_0x38ee46);return this[_0x6c267a(0x18f)](_0x279539)&&this['_runtimeService'][_0x6c267a(0x17d)](),_0x333946&&this[_0x6c267a(0x1bb)][_0x6c267a(0x1d1)](this[_0x6c267a(0x1ec)](Array[_0x6c267a(0x198)](this[_0x6c267a(0x217)][_0x6c267a(0x19d)]()))),this['_dependencyTreeCache']['clear'](),this[_0x6c267a(0x15f)][_0x6c267a(0x190)](),this[_0x6c267a(0x167)]['closeKdTree'](),this[_0x6c267a(0x1bb)]['clearArrayObjectCache'](),Promise[_0x6c267a(0x1c2)](_0x279539);}[_0x329287(0x1c7)](_0x2ee83b,_0x23d753){const _0xf5cae6=_0x329287,_0x5e2972=[_0x2ee83b];for(;_0x5e2972['length']>0x0;){const _0x2937fb=_0x5e2972[_0x5e2972[_0xf5cae6(0x1e1)]-0x1];if((_0x23d753[_0xf5cae6(0x1f3)](_0x2937fb)||0x0)===0x0){_0x23d753[_0xf5cae6(0x180)](_0x2937fb,0x1);const _0x1fc88a=this[_0xf5cae6(0x217)][_0xf5cae6(0x1f3)](_0x2937fb);if(_0x1fc88a==null){_0x23d753[_0xf5cae6(0x180)](_0x2937fb,0x2),_0x5e2972[_0xf5cae6(0x210)]();continue;}const _0x56d4fc=this[_0xf5cae6(0x167)]['searchDependency'](_0x1fc88a['toRTreeItem']());for(const _0x5e1479 of _0x56d4fc){const _0x547a65=_0x23d753['get'](_0x5e1479)||0x0;if(_0x547a65===0x1)return!0x0;_0x547a65===0x0&&_0x5e2972['push'](_0x5e1479);}}else _0x23d753['set'](_0x2937fb,0x2),_0x5e2972[_0xf5cae6(0x210)]();}return!0x1;}[_0x329287(0x18f)](_0x270789){const _0x40e1d1=_0x329287,_0x597972=new Map();for(const _0x31e750 of _0x270789)if(!_0x597972[_0x40e1d1(0x1a8)](_0x31e750['treeId'])&&this[_0x40e1d1(0x1c7)](_0x31e750[_0x40e1d1(0x194)],_0x597972))return!0x0;return _0x597972[_0x40e1d1(0x190)](),!0x1;}[_0x329287(0x17f)](_0x425603,_0x4b9f81,_0x5d070c){const _0x5ad3db=_0x329287,{unitId:_0x3e9bf4,subUnitId:_0x988ff,dependencyRanges:_0x965221,getDirtyData:_0xb0b019}=_0x5d070c,_0x9b8cff=_0x4b9f81||_0x10bef9(this[_0x5ad3db(0x167)]),_0x536a0a=new _0x51a58d(_0x9b8cff);_0x536a0a['unitId']=_0x3e9bf4,_0x536a0a['subUnitId']=_0x988ff,_0x536a0a[_0x5ad3db(0x20f)]=_0x965221,_0x536a0a[_0x5ad3db(0x173)]=_0xb0b019;const _0x2d9e91=_0xb0b019(this[_0x5ad3db(0x1e5)][_0x5ad3db(0x173)](),this[_0x5ad3db(0x1bb)]['getAllRuntimeData']()),_0x33a59c=this[_0x5ad3db(0x191)](_0x2d9e91[_0x5ad3db(0x159)]);return _0x536a0a[_0x5ad3db(0x1c4)]=_0x33a59c,_0x536a0a[_0x5ad3db(0x1be)]=_0x425603,_0x536a0a['type']=_0x5c743f[_0x5ad3db(0x1c6)],this[_0x5ad3db(0x167)]['addFeatureFormulaDependency'](_0x3e9bf4,_0x988ff,_0x425603,_0x536a0a),this[_0x5ad3db(0x217)]['set'](_0x536a0a[_0x5ad3db(0x194)],_0x536a0a),this[_0x5ad3db(0x167)][_0x5ad3db(0x219)](_0x5d070c['unitId'],_0x5d070c[_0x5ad3db(0x1b1)],_0x425603)&&(_0x536a0a['isCache']=!0x0),_0x536a0a;}['_registerOtherFormulas'](_0x51439d,_0x4c42b3,_0x3be224){const _0x2f854c=_0x329287;var _0x22580c;for(const _0x336169 of _0x4c42b3){const _0x1f5250=_0x51439d[_0x336169];if(_0x1f5250==null)continue;const _0x3e275c=Object[_0x2f854c(0x1c9)](_0x1f5250);for(const _0xa1d54a of _0x3e275c){const _0x417311=_0x1f5250[_0xa1d54a];if(_0x417311==null)continue;const _0x4ebe36=Object[_0x2f854c(0x1c9)](_0x417311);for(const _0x127140 of _0x4ebe36){const _0x19da9b=this['_dependencyManagerService'][_0x2f854c(0x1c8)](_0x127140),_0x1f5206=_0x417311[_0x127140],{f:_0x5ac0fd,ranges:_0x46d1e3}=_0x1f5206;let _0x331a77=!0x1;_0x19da9b&&(_0x331a77=!0x0);const {firstRow:_0x323375,firstColumn:_0x979761}=this[_0x2f854c(0x1e8)](_0x46d1e3),_0x4efe24=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x336169,_0xa1d54a,_0x127140),_0x4665ba=(_0x22580c=_0x4efe24==null?void 0x0:_0x4efe24['getValue'](0x0,0x0))!=null?_0x22580c:_0x10bef9(this[_0x2f854c(0x167)]),_0x17fab9=new _0x51a58d(_0x4665ba);for(let _0x144d46=0x0;_0x144d46<_0x46d1e3[_0x2f854c(0x1e1)];_0x144d46++){const _0x3998ef=_0x46d1e3[_0x144d46],{startRow:_0x284057,startColumn:_0x2738c4,endRow:_0x2e9d48,endColumn:_0x4e66d9}=_0x3998ef;for(let _0x198707=_0x284057;_0x198707<=_0x2e9d48;_0x198707++)for(let _0x525d69=_0x2738c4;_0x525d69<=_0x4e66d9;_0x525d69++){const _0x181a2d=_0x525d69-_0x979761,_0x1bc0b6=_0x198707-_0x323375;if(_0x181a2d===0x0&&_0x1bc0b6===0x0){_0x17fab9[_0x2f854c(0x1a6)]=_0x5ac0fd,_0x17fab9['unitId']=_0x336169,_0x17fab9[_0x2f854c(0x1b1)]=_0xa1d54a,_0x17fab9[_0x2f854c(0x1e6)]=_0x127140,_0x17fab9[_0x2f854c(0x1b8)]=_0x5c743f[_0x2f854c(0x1ce)],_0x17fab9[_0x2f854c(0x185)]=_0x331a77,_0x3be224[_0x2f854c(0x1dd)](_0x17fab9),this[_0x2f854c(0x217)][_0x2f854c(0x180)](_0x17fab9['treeId'],_0x17fab9),this[_0x2f854c(0x167)][_0x2f854c(0x175)](_0x336169,_0xa1d54a,_0x127140,_0x17fab9),this[_0x2f854c(0x167)][_0x2f854c(0x1a2)](_0x17fab9);continue;}const _0x33aace=new _0x5be84d();_0x33aace['treeId']=(_0x4efe24==null?void 0x0:_0x4efe24[_0x2f854c(0x1d3)](_0x181a2d,_0x1bc0b6))||_0x10bef9(this[_0x2f854c(0x167)]),_0x33aace[_0x2f854c(0x188)]=_0x17fab9,_0x33aace[_0x2f854c(0x164)]=_0x181a2d,_0x33aace[_0x2f854c(0x21e)]=_0x1bc0b6,_0x33aace[_0x2f854c(0x185)]=_0x331a77,_0x33aace[_0x2f854c(0x1b8)]=_0x5c743f[_0x2f854c(0x1ce)],this[_0x2f854c(0x167)][_0x2f854c(0x175)](_0x336169,_0xa1d54a,_0x127140,_0x33aace),this[_0x2f854c(0x167)][_0x2f854c(0x1a2)](_0x33aace),_0x3be224[_0x2f854c(0x1dd)](_0x33aace),this[_0x2f854c(0x217)][_0x2f854c(0x180)](_0x33aace[_0x2f854c(0x194)],_0x33aace);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x127140);}}}}['_registerFormulas'](_0x2811aa,_0x383b9b,_0x2e9b08,_0x22ac19){const _0xdf5f69=_0x329287;for(const _0x4d31d0 of _0x2811aa){const _0x398c2b=_0x383b9b[_0x4d31d0];if(_0x398c2b==null)continue;const _0x57a147=Object[_0xdf5f69(0x1c9)](_0x398c2b);for(const _0x5135bd of _0x57a147){const _0x301bf4=new _0x33e133(_0x398c2b[_0x5135bd]||{}),_0x4d8f33=new Map();_0x301bf4[_0xdf5f69(0x172)]((_0x26c287,_0x4ac1a6,_0x1bff3f)=>{const _0x283ead=_0xdf5f69;if(_0x1bff3f==null)return!0x0;const {x:_0xf3bf7d=0x0,y:_0x44cf13=0x0,si:_0x2c97c2}=_0x1bff3f;if(!(_0xf3bf7d===0x0&&_0x44cf13===0x0&&_0x2c97c2!=null))return!0x0;const _0x339455=this[_0x283ead(0x1ff)](_0x4d31d0,_0x5135bd,_0x26c287,_0x4ac1a6,_0x2e9b08,_0x1bff3f),_0x3078b7=this[_0x283ead(0x167)][_0x283ead(0x1fe)](_0x4d31d0,_0x5135bd,_0x26c287,_0x4ac1a6);_0x3078b7!=null?_0x339455[_0x283ead(0x194)]=_0x3078b7:(this[_0x283ead(0x167)][_0x283ead(0x14c)](_0x4d31d0,_0x5135bd,_0x26c287,_0x4ac1a6,_0x339455),this[_0x283ead(0x167)][_0x283ead(0x1a2)](_0x339455)),_0x4d8f33[_0x283ead(0x180)](_0x2c97c2,_0x339455),_0x22ac19[_0x283ead(0x1dd)](_0x339455),this[_0x283ead(0x217)][_0x283ead(0x180)](_0x339455[_0x283ead(0x194)],_0x339455);}),_0x301bf4[_0xdf5f69(0x172)]((_0x5819c5,_0x5f08a6,_0x355e24)=>{const _0x40b7a8=_0xdf5f69;if(_0x355e24==null)return!0x0;const {x:_0x3cb8a7=0x0,y:_0xb87cf9=0x0,si:_0x5d2eb4}=_0x355e24;if(_0x3cb8a7===0x0&&_0xb87cf9===0x0&&_0x5d2eb4!=null)return!0x0;let _0x5b71e6;if(_0x5d2eb4&&_0x4d8f33[_0x40b7a8(0x1a8)](_0x5d2eb4)){const _0x2349cc=_0x4d8f33[_0x40b7a8(0x1f3)](_0x5d2eb4);_0x5b71e6=this[_0x40b7a8(0x1dc)](_0x2349cc,_0x355e24);}else _0x5b71e6=this['_createFDtree'](_0x4d31d0,_0x5135bd,_0x5819c5,_0x5f08a6,_0x2e9b08,_0x355e24);const _0x4314a0=this['_dependencyManagerService'][_0x40b7a8(0x1fe)](_0x4d31d0,_0x5135bd,_0x5819c5,_0x5f08a6);_0x4314a0!=null?_0x5b71e6[_0x40b7a8(0x194)]=_0x4314a0:(this[_0x40b7a8(0x167)][_0x40b7a8(0x14c)](_0x4d31d0,_0x5135bd,_0x5819c5,_0x5f08a6,_0x5b71e6),this[_0x40b7a8(0x167)]['addFormulaDependencyByDefinedName'](_0x5b71e6)),_0x22ac19['push'](_0x5b71e6),this[_0x40b7a8(0x217)][_0x40b7a8(0x180)](_0x5b71e6[_0x40b7a8(0x194)],_0x5b71e6);}),_0x4d8f33[_0xdf5f69(0x190)]();}}}[_0x329287(0x1ff)](_0x46e8ff,_0x5e1e73,_0x5e58c4,_0x2f62b2,_0xbc3e3a,_0x19b25c){const _0x37a654=_0x329287,{f:_0x194766,x:_0x352706=0x0,y:_0x34e622=0x0}=_0x19b25c,_0x3ad008=new _0x51a58d(_0x10bef9(this[_0x37a654(0x167)])),_0x3eb247=_0xbc3e3a[_0x46e8ff][_0x5e1e73];return _0x3ad008[_0x37a654(0x1a6)]=_0x194766,_0x3ad008[_0x37a654(0x17a)]=_0x46e8ff,_0x3ad008[_0x37a654(0x1b1)]=_0x5e1e73,_0x3ad008[_0x37a654(0x1f4)]=_0x5e58c4,_0x3ad008[_0x37a654(0x1fb)]=_0x2f62b2,_0x3ad008[_0x37a654(0x1e2)]=_0x3eb247[_0x37a654(0x1e2)],_0x3ad008[_0x37a654(0x1db)]=_0x3eb247[_0x37a654(0x1db)],_0x3ad008;}[_0x329287(0x1af)](){const _0x2c739a=_0x329287,_0x505826=[],_0x3b7a4a=new Set(),_0x865776=this[_0x2c739a(0x1e5)][_0x2c739a(0x1e3)](),_0x2ff8db=this[_0x2c739a(0x1e5)]['getDirtyRanges'](),_0x54037c=this[_0x2c739a(0x167)]['searchDependency'](_0x2ff8db),_0xe84287=this[_0x2c739a(0x15f)][_0x2c739a(0x1f9)](_0x2ff8db);for(const _0x4a8240 of _0xe84287)_0x54037c['add'](_0x4a8240);for(const [_0x2f037e,_0x4ab328]of this[_0x2c739a(0x217)])(_0x865776||_0x4ab328['isDirty']||_0x4ab328[_0x2c739a(0x1aa)](this[_0x2c739a(0x1e5)][_0x2c739a(0x1ea)]())||_0x54037c[_0x2c739a(0x1a8)](_0x2f037e)&&!_0x4ab328[_0x2c739a(0x151)](this[_0x2c739a(0x1e5)]['getExcludedRange']()))&&!_0x3b7a4a[_0x2c739a(0x1a8)](_0x2f037e)&&(_0x505826['push'](_0x4ab328),_0x3b7a4a[_0x2c739a(0x171)](_0x2f037e));for(const [_0x4faa9d,_0x22e944]of this[_0x2c739a(0x217)])_0x22e944[_0x2c739a(0x14a)]||(_0x22e944[_0x2c739a(0x20f)][_0x2c739a(0x1e1)]=0x0);return _0x505826;}[_0x329287(0x152)](_0x148fe2){const _0x497b54=_0x329287;return this[_0x497b54(0x217)][_0x497b54(0x1f3)](_0x148fe2);}[_0x329287(0x150)](_0xffda25){const _0x4b627b=_0x329287;return _0xb74f23(_0xffda25[_0x4b627b(0x17a)],_0xffda25[_0x4b627b(0x1a6)],this[_0x4b627b(0x14f)],this['_astTreeBuilder'],this[_0x4b627b(0x1e5)]);}*[_0x329287(0x1bc)](_0x1c3302,_0x20b1ff){const _0x107f00=_0x329287,_0x2631b1=_0x1c3302,_0x303a32=new Set();for(;_0x2631b1[_0x107f00(0x1e1)]>0x0;){const _0x31621c=_0x2631b1['pop']();if(_0x303a32['clear'](),_0x31621c===void 0x0||_0x31621c[_0x107f00(0x163)]())continue;if(_0x31621c[_0x107f00(0x1b9)]()){yield _0x31621c,_0x31621c['setSkip'](),_0x20b1ff[_0x107f00(0x171)](_0x31621c[_0x107f00(0x194)]);continue;}const _0x441eb7=this['_dependencyManagerService'][_0x107f00(0x216)](_0x31621c[_0x107f00(0x16a)](),_0x20b1ff),_0x34420f=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x31621c[_0x107f00(0x16a)](),_0x20b1ff);for(const _0x23ef27 of _0x34420f)_0x441eb7[_0x107f00(0x171)](_0x23ef27);for(const _0x521873 of _0x441eb7){const _0xb72646=this[_0x107f00(0x217)][_0x107f00(0x1f3)](_0x521873);if(!_0xb72646){console['error']('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x521873);continue;}_0xb72646['isAdded']()||_0x31621c[_0x107f00(0x163)]()||_0x303a32['add'](_0xb72646);}if(_0x441eb7['clear'](),_0x303a32[_0x107f00(0x1f1)]===0x0)yield _0x31621c,_0x31621c[_0x107f00(0x1ad)](),_0x20b1ff['add'](_0x31621c[_0x107f00(0x194)]);else{_0x31621c[_0x107f00(0x213)](),_0x2631b1[_0x107f00(0x1dd)](_0x31621c);for(const _0x3d1eb5 of _0x303a32)_0x2631b1['push'](_0x3d1eb5);}}_0x2631b1[_0x107f00(0x1e1)]=0x0,_0x303a32['clear']();}[_0x329287(0x1f7)](_0x829d8d){const _0x28236d=_0x329287,_0xd59af0=[],_0x40dc09=new Set();for(const _0x26d1f4 of this[_0x28236d(0x1bc)](_0x829d8d,_0x40dc09))_0xd59af0[_0x28236d(0x1dd)](_0x26d1f4);return _0xd59af0;}async[_0x329287(0x207)](){const _0xd4683e=_0x329287;return await this[_0xd4683e(0x193)](),Array['from'](this[_0xd4683e(0x217)]['values']());}[_0x329287(0x1b4)](_0x35d1bb){const _0x3aa1eb=_0x329287;return this['_dependencyManagerService'][_0x3aa1eb(0x216)](_0x35d1bb['toRTreeItem']());}['_getDependencyTreeChildrenIds'](_0x5b2d0f){const _0x49ba54=_0x329287,_0x10b654=new Set(),_0xa92add=_0x5b2d0f['rangeList'];for(const [_0x3eff56,_0x1aa1e6]of this[_0x49ba54(0x217)])for(const _0x5581b7 of _0xa92add){const _0x4d0af6=_0x5581b7[_0x49ba54(0x17a)],_0x28aecf=_0x5581b7[_0x49ba54(0x1cc)];if(_0x1aa1e6[_0x49ba54(0x17a)]!==_0x4d0af6||_0x1aa1e6['subUnitId']!==_0x28aecf)continue;const _0x495a25=_0x5581b7[_0x49ba54(0x1c5)];if(_0x1aa1e6[_0x49ba54(0x199)](_0x495a25)){_0x10b654[_0x49ba54(0x171)](_0x3eff56);break;}}return _0x10b654;}[_0x329287(0x1d2)](){const _0x2cc6a8=_0x329287;this[_0x2cc6a8(0x167)]['openKdTree']();}[_0x329287(0x214)](){const _0x75de05=_0x329287;this['_formulaDependencyTreeModel'][_0x75de05(0x190)](),this[_0x75de05(0x217)][_0x75de05(0x190)](),this['_dependencyManagerService'][_0x75de05(0x21c)]();}}const ve=_0x329287(0x1eb),Me={0x0:'j',0x1:'t',0x2:'2',0x3:'K',0x4:'y',0x5:'3',0x6:'S',0x7:'n',0x8:'k',0x9:'c','t':'0','M':'1','N':'4','y':'5','v':'6','D':'7','s':'8','C':'9','e':'a','k':'b','L':'d','l':'e','x':'f','P':'g','r':'h','H':'i','E':'l','p':'m','A':'o','u':'p','O':'q','q':'r','g':'s','Y':'u','z':'v','X':'w','J':'x','I':'z','n':'A','j':'B','Z':'C','V':'D','w':'E','\x20':'F','c':'G','f':'H','U':'I','S':'J','h':'L','Q':'M','o':'N','d':'O','b':'P','G':'Q','B':'R','W':'T','K':'U','m':'V','R':'W','T':'X','a':'Y','i':'Z','F':'\x20'};class Se extends _0x22aff0{async[_0x329287(0x212)](_0x1043c7=!0x1){const _0x4afed7=_0x329287;_0x1043c7?this[_0x4afed7(0x1bb)][_0x4afed7(0x1fa)](_0x5877bd[_0x4afed7(0x184)]):this[_0x4afed7(0x1bb)][_0x4afed7(0x1fa)](_0x5877bd[_0x4afed7(0x17e)]),this[_0x4afed7(0x1f8)]['next'](this[_0x4afed7(0x1bb)][_0x4afed7(0x1a4)]());const _0xad5ebe=await this[_0x4afed7(0x206)][_0x4afed7(0x21f)](this[_0x4afed7(0x160)]),_0x54e455=this[_0x4afed7(0x1ef)];_0x1043c7?(this[_0x4afed7(0x1bb)]['setFormulaExecuteStage'](_0x5877bd[_0x4afed7(0x205)]),this[_0x4afed7(0x1bb)][_0x4afed7(0x1cd)](_0xad5ebe[_0x4afed7(0x1e1)])):(this['_runtimeService'][_0x4afed7(0x1fa)](_0x5877bd[_0x4afed7(0x1f2)]),this[_0x4afed7(0x1bb)][_0x4afed7(0x1ba)](_0xad5ebe[_0x4afed7(0x1e1)])),this[_0x4afed7(0x1f8)][_0x4afed7(0x15e)](this['_runtimeService'][_0x4afed7(0x1a4)]());let _0x593fe1=[];const _0x22eb46=this[_0x4afed7(0x174)][_0x4afed7(0x203)](_0xe582a4),_0x84d25e=(_0x22eb46==null?void 0x0:_0x22eb46[_0x4afed7(0x1c3)])||_0x30630d;let _0x6ebe74=0x0;const _0x3697db=_0xad5ebe[_0x4afed7(0x1e1)];for(;_0xad5ebe['length']>0x0;){const _0x4d14af=_0xad5ebe[_0x4afed7(0x210)](),_0x39ed30=_0xb74f23(_0x4d14af[_0x4afed7(0x17a)],_0x4d14af['formula'],this[_0x4afed7(0x14f)],this['_astTreeBuilder'],this['_currentConfigService']),_0x3b6aa8={'node':_0x39ed30,'refOffsetX':_0x4d14af[_0x4afed7(0x164)],'refOffsetY':_0x4d14af[_0x4afed7(0x21e)]},_0x3022e3=_0x4d14af['getDirtyData'];if(_0x6ebe74%_0x84d25e===0x0&&(await new Promise(_0x4e9f56=>{const _0x216641=_0x4afed7,_0x5e61f1=_0x4ac488(_0x4e9f56);_0x593fe1[_0x216641(0x1dd)](_0x5e61f1);}),_0x1043c7?(this[_0x4afed7(0x1bb)]['setFormulaExecuteStage'](_0x5877bd[_0x4afed7(0x1de)]),this[_0x4afed7(0x1bb)][_0x4afed7(0x1e4)](_0x6ebe74+0x1)):(this['_runtimeService'][_0x4afed7(0x1fa)](_0x5877bd['CURRENTLY_CALCULATING']),this[_0x4afed7(0x1bb)][_0x4afed7(0x1e0)](_0x6ebe74+0x1)),this[_0x4afed7(0x1f8)]['next'](this[_0x4afed7(0x1bb)][_0x4afed7(0x1a4)]()),this['_runtimeService']['isStopExecution']()||_0x3b6aa8==null&&_0x3022e3==null)){this['_runtimeService'][_0x4afed7(0x1fa)](_0x5877bd['IDLE']),this['_runtimeService']['markedAsStopFunctionsExecuted'](),this[_0x4afed7(0x20a)][_0x4afed7(0x15e)](this['_runtimeService'][_0x4afed7(0x18a)]());return;}this[_0x4afed7(0x1bb)][_0x4afed7(0x20b)](_0x4d14af[_0x4afed7(0x1f4)],_0x4d14af[_0x4afed7(0x1fb)],_0x4d14af[_0x4afed7(0x1e2)],_0x4d14af[_0x4afed7(0x1db)],_0x4d14af[_0x4afed7(0x1b1)],_0x4d14af[_0x4afed7(0x17a)]);let _0x1fe66f;if(_0x3022e3!=null&&_0x4d14af[_0x4afed7(0x1be)]!=null){const {runtimeCellData:_0x458cd1,dirtyRanges:_0xbf4c4c}=_0x3022e3(this['_currentConfigService'][_0x4afed7(0x173)](),this[_0x4afed7(0x1bb)][_0x4afed7(0x18a)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x4d14af[_0x4afed7(0x1be)],_0x458cd1),this['_runtimeService'][_0x4afed7(0x156)](_0x4d14af[_0x4afed7(0x1be)],_0xbf4c4c);}else _0x3b6aa8!=null&&(_0x54e455[_0x4afed7(0x179)](_0x3b6aa8['node'])?_0x1fe66f=await _0x54e455[_0x4afed7(0x1a3)](_0x3b6aa8):_0x1fe66f=_0x54e455[_0x4afed7(0x215)](_0x3b6aa8),_0x4d14af[_0x4afed7(0x1e6)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4d14af[_0x4afed7(0x1e6)],_0x4d14af['refOffsetX'],_0x4d14af[_0x4afed7(0x21e)],_0x1fe66f):this[_0x4afed7(0x1bb)][_0x4afed7(0x168)](_0x1fe66f));_0x39ed30['resetCalculationState'](),_0x6ebe74++;}return _0x593fe1[_0x4afed7(0x176)](_0x594df7=>_0x594df7()),_0x593fe1=[],_0x3697db>0x0?this[_0x4afed7(0x1bb)]['markedAsSuccessfullyExecuted']():_0x1043c7||this[_0x4afed7(0x1bb)][_0x4afed7(0x1b2)](),this['_runtimeService'][_0x4afed7(0x18a)]();}}class Re extends _0x264421{constructor(){super(...arguments),A(this,'_allTreeMap',new Map()),A(this,'_dependencyRTreeCache',new _0x1b422d(!0x0));}[_0x329287(0x1a9)](){const _0x28b13c=_0x329287;this[_0x28b13c(0x1d6)]['clear'](),this['_featureFormulaData'][_0x28b13c(0x190)](),this['_formulaData']['clear'](),this[_0x28b13c(0x1b0)]['clear'](),this[_0x28b13c(0x1df)]['clear'](),this[_0x28b13c(0x202)](),this[_0x28b13c(0x16b)][_0x28b13c(0x190)]();}[_0x329287(0x175)](_0x2b5eef,_0x523c5a,_0x340354,_0x3a2859){const _0x1e4e0c=_0x329287;this[_0x1e4e0c(0x1d6)][_0x1e4e0c(0x1a8)](_0x2b5eef)||this[_0x1e4e0c(0x1d6)][_0x1e4e0c(0x180)](_0x2b5eef,new Map());const _0x58b687=this[_0x1e4e0c(0x1d6)]['get'](_0x2b5eef);_0x58b687[_0x1e4e0c(0x1a8)](_0x523c5a)||_0x58b687[_0x1e4e0c(0x180)](_0x523c5a,new Map());const _0x374eb1=_0x58b687[_0x1e4e0c(0x1f3)](_0x523c5a);_0x374eb1[_0x1e4e0c(0x1a8)](_0x340354)||_0x374eb1['set'](_0x340354,new _0x33e133()),_0x374eb1[_0x1e4e0c(0x1f3)](_0x340354)[_0x1e4e0c(0x18e)](_0x3a2859[_0x1e4e0c(0x164)],_0x3a2859[_0x1e4e0c(0x21e)],_0x3a2859[_0x1e4e0c(0x194)]);}[_0x329287(0x20c)](_0x11761a,_0xebb31,_0x4888b1){const _0x6b6a7c=_0x329287,_0x38a634=this[_0x6b6a7c(0x1d6)]['get'](_0x11761a);if(_0x38a634&&_0x38a634[_0x6b6a7c(0x1a8)](_0xebb31)){const _0x2bfede=_0x38a634['get'](_0xebb31);_0x4888b1[_0x6b6a7c(0x176)](_0xd855af=>{const _0x521caa=_0x6b6a7c,_0x41dfc8=_0x2bfede[_0x521caa(0x1f3)](_0xd855af);_0x41dfc8!=null&&(_0x41dfc8[_0x521caa(0x172)]((_0x2a8ffa,_0x40fbac,_0x28ec7a)=>{const _0x48287b=_0x521caa;this['_removeDependencyRTreeCache'](_0x28ec7a),this[_0x48287b(0x1bf)](_0x28ec7a);}),_0x2bfede['delete'](_0xd855af),this[_0x521caa(0x16b)][_0x521caa(0x20d)](_0xd855af));}),_0x2bfede[_0x6b6a7c(0x1f1)]===0x0&&_0x38a634['delete'](_0xebb31),_0x38a634['size']===0x0&&this[_0x6b6a7c(0x1d6)][_0x6b6a7c(0x20d)](_0x11761a);}}[_0x329287(0x21b)](_0x20ca99,_0x4049f2){const _0x5a7aa3=_0x329287,_0x21fa96=this[_0x5a7aa3(0x1d6)][_0x5a7aa3(0x1f3)](_0x20ca99);if(_0x4049f2&&_0x21fa96&&_0x21fa96[_0x5a7aa3(0x1a8)](_0x4049f2)){const _0x15f002=_0x21fa96['get'](_0x4049f2);this['_removeDependencyRTreeCacheById'](_0x20ca99,_0x4049f2);for(const _0x5a0871 of _0x15f002['keys']()){const _0x38a872=_0x15f002[_0x5a7aa3(0x1f3)](_0x5a0871);_0x38a872!=null&&(_0x38a872[_0x5a7aa3(0x172)]((_0x51ae75,_0x44f129,_0x30bec0)=>{const _0x5d8e84=_0x5a7aa3;this[_0x5d8e84(0x1df)][_0x5d8e84(0x1f3)](_0x30bec0)&&this[_0x5d8e84(0x1bf)](_0x30bec0);}),this['_otherFormulaDataMainData'][_0x5a7aa3(0x20d)](_0x5a0871));}_0x15f002[_0x5a7aa3(0x190)]();}else{if(_0x21fa96){for(const _0x18e371 of _0x21fa96[_0x5a7aa3(0x1c9)]()){const _0x4c1f60=_0x21fa96['get'](_0x18e371);this[_0x5a7aa3(0x195)](_0x20ca99,_0x18e371);for(const _0x1906b1 of _0x4c1f60['keys']()){const _0x3541c4=_0x4c1f60[_0x5a7aa3(0x1f3)](_0x1906b1);_0x3541c4!=null&&(_0x3541c4[_0x5a7aa3(0x172)]((_0x1eee8f,_0x4de808,_0x2d1870)=>{const _0xf57e4=_0x5a7aa3;this[_0xf57e4(0x1df)][_0xf57e4(0x1f3)](_0x2d1870)&&this[_0xf57e4(0x1bf)](_0x2d1870);}),this[_0x5a7aa3(0x16b)][_0x5a7aa3(0x20d)](_0x1906b1));}}this[_0x5a7aa3(0x1d6)]['delete'](_0x20ca99);}}}['addFeatureFormulaDependency'](_0x28bd5d,_0x43174d,_0xacb010,_0x21bf18){const _0x66deb1=_0x329287;this[_0x66deb1(0x1ac)][_0x66deb1(0x1a8)](_0x28bd5d)||this[_0x66deb1(0x1ac)][_0x66deb1(0x180)](_0x28bd5d,new Map());const _0x49c6d6=this[_0x66deb1(0x1ac)][_0x66deb1(0x1f3)](_0x28bd5d);_0x49c6d6[_0x66deb1(0x1a8)](_0x43174d)||_0x49c6d6[_0x66deb1(0x180)](_0x43174d,new Map()),_0x49c6d6[_0x66deb1(0x1f3)](_0x43174d)['set'](_0xacb010,_0x21bf18[_0x66deb1(0x194)]);}[_0x329287(0x189)](_0x7acc6e,_0x45bd07,_0x525d81){const _0x438069=_0x329287,_0x2a6609=this['_featureFormulaData'][_0x438069(0x1f3)](_0x7acc6e);if(_0x2a6609&&_0x2a6609[_0x438069(0x1a8)](_0x45bd07)){const _0xdee038=_0x2a6609[_0x438069(0x1f3)](_0x45bd07);_0x525d81[_0x438069(0x176)](_0x2b5484=>{const _0x597415=_0x438069,_0x579839=_0xdee038[_0x597415(0x1f3)](_0x2b5484);_0x579839!=null&&(this[_0x597415(0x1c1)](_0x579839),_0xdee038['delete'](_0x2b5484),this['_removeAllTreeMap'](_0x579839));});}}[_0x329287(0x1f5)](_0x8d6050,_0x5571a0){const _0x51d576=_0x329287,_0x7ec5a=this[_0x51d576(0x1ac)][_0x51d576(0x1f3)](_0x8d6050);if(_0x5571a0&&_0x7ec5a&&_0x7ec5a['has'](_0x5571a0)){const _0x44ffae=_0x7ec5a[_0x51d576(0x1f3)](_0x5571a0);this[_0x51d576(0x195)](_0x8d6050,_0x5571a0),_0x44ffae[_0x51d576(0x176)](_0x20c63e=>{_0x20c63e!=null&&this['_removeAllTreeMap'](_0x20c63e);}),_0x44ffae[_0x51d576(0x190)]();}else _0x7ec5a&&(_0x7ec5a[_0x51d576(0x176)]((_0x54bdf7,_0x8b9bd5)=>{const _0x175b46=_0x51d576;this[_0x175b46(0x195)](_0x8d6050,_0x8b9bd5),_0x54bdf7[_0x175b46(0x176)](_0x5795fb=>{const _0x4ceb8c=_0x175b46;_0x5795fb!=null&&this[_0x4ceb8c(0x1bf)](_0x5795fb);});}),this[_0x51d576(0x1ac)][_0x51d576(0x20d)](_0x8d6050));}['addFormulaDependency'](_0x7c6251,_0x4b6dcc,_0x8916af,_0xc517cf,_0x57b5a1){const _0x448cf7=_0x329287;this[_0x448cf7(0x1d4)][_0x448cf7(0x1a8)](_0x7c6251)||this[_0x448cf7(0x1d4)][_0x448cf7(0x180)](_0x7c6251,new Map());const _0x268309=this[_0x448cf7(0x1d4)][_0x448cf7(0x1f3)](_0x7c6251);_0x268309[_0x448cf7(0x1a8)](_0x4b6dcc)||_0x268309[_0x448cf7(0x180)](_0x4b6dcc,new _0x33e133()),_0x268309[_0x448cf7(0x1f3)](_0x4b6dcc)['setValue'](_0x8916af,_0xc517cf,_0x57b5a1[_0x448cf7(0x194)]);}[_0x329287(0x187)](_0xb8a17f,_0x552962,_0x26e02e,_0x3b99bb){const _0x393a97=_0x329287,_0x12ab62=this[_0x393a97(0x1d4)]['get'](_0xb8a17f);if(_0x12ab62&&_0x12ab62[_0x393a97(0x1a8)](_0x552962)){const _0x25905c=_0x12ab62[_0x393a97(0x1f3)](_0x552962),_0x1c44a2=_0x25905c[_0x393a97(0x1d3)](_0x26e02e,_0x3b99bb);if(_0x1c44a2==null)return;this[_0x393a97(0x1c1)](_0x1c44a2),_0x25905c['realDeleteValue'](_0x26e02e,_0x3b99bb),this['_removeAllTreeMap'](_0x1c44a2);}}[_0x329287(0x183)](_0x11b712,_0x257d0a){const _0xaf1ceb=_0x329287,_0x140156=this[_0xaf1ceb(0x1d4)]['get'](_0x11b712);if(_0x257d0a&&_0x140156&&_0x140156[_0xaf1ceb(0x1a8)](_0x257d0a)){const _0x3e6313=_0x140156[_0xaf1ceb(0x1f3)](_0x257d0a);this[_0xaf1ceb(0x195)](_0x11b712,_0x257d0a),_0x3e6313['forValue']((_0x1be337,_0x18e243,_0x4b5cab)=>{const _0x8f394b=_0xaf1ceb;if(_0x4b5cab==null)return!0x0;this[_0x8f394b(0x1bf)](_0x4b5cab);}),_0x3e6313[_0xaf1ceb(0x1a9)]();}else _0x140156&&(_0x140156[_0xaf1ceb(0x176)]((_0x123de7,_0x3b096d)=>{const _0x1121bf=_0xaf1ceb;this[_0x1121bf(0x195)](_0x11b712,_0x3b096d),_0x123de7[_0x1121bf(0x172)]((_0x2a80a6,_0xe34767,_0x222a7c)=>{const _0x3d2362=_0x1121bf;if(_0x222a7c==null)return!0x0;this[_0x3d2362(0x1bf)](_0x222a7c);});}),this['_formulaData'][_0xaf1ceb(0x20d)](_0x11b712));}[_0x329287(0x1c1)](_0x773d59){const _0x2e9f80=_0x329287;if(_0x773d59==null)return;const _0x451b1a=this['_allTreeMap'][_0x2e9f80(0x1f3)](_0x773d59);if(_0x451b1a){const _0x3957ec=[];for(const [_0xa3aebc,_0x183546]of _0x451b1a)for(const [_0x22a732,_0x4992aa]of _0x183546)_0x3957ec[_0x2e9f80(0x1dd)]({'unitId':_0xa3aebc,'sheetId':_0x22a732,'range':_0x4992aa,'id':_0x773d59});this['_dependencyRTreeCache']['bulkRemove'](_0x3957ec);}}['removeFormulaDependencyByDefinedName'](_0x135c99,_0x1a9264){const _0x3c9c05=_0x329287,_0x21c623=this[_0x3c9c05(0x18b)][_0x3c9c05(0x1f3)](_0x135c99);if(_0x21c623){const _0x55a43f=_0x21c623[_0x3c9c05(0x1f3)](_0x1a9264);if(_0x55a43f){for(const _0x4dbfa5 of _0x55a43f)this[_0x3c9c05(0x1c1)](_0x4dbfa5),this[_0x3c9c05(0x1bf)](_0x4dbfa5);_0x55a43f['clear']();}}}['openKdTree'](){const _0x455f23=_0x329287;this[_0x455f23(0x1b0)][_0x455f23(0x1ab)]();}[_0x329287(0x21c)](){const _0x38056b=_0x329287;this[_0x38056b(0x1b0)][_0x38056b(0x21c)]();}[_0x329287(0x1bf)](_0x5b7571){const _0xff4c00=_0x329287;_0x5b7571!=null&&this[_0xff4c00(0x1df)][_0xff4c00(0x20d)](_0x5b7571);}[_0x329287(0x1b3)](_0x521e02){const _0x511f4c=_0x329287;var _0x27f754,_0x50958c;const _0x53f46f=_0x521e02[_0x511f4c(0x20f)];let _0x4243f4=this[_0x511f4c(0x1df)][_0x511f4c(0x1f3)](_0x521e02[_0x511f4c(0x194)]);for(let _0x2652b6=0x0;_0x2652b6<_0x53f46f[_0x511f4c(0x1e1)];_0x2652b6++){const _0x24e1a5=_0x53f46f[_0x2652b6];let {unitId:_0x36b60a,sheetId:_0x119097,range:_0x4b3b53}=_0x24e1a5;_0x4243f4||(_0x4243f4=new Map(),this[_0x511f4c(0x1df)]['set'](_0x521e02['treeId'],_0x4243f4)),_0x4243f4[_0x511f4c(0x1a8)](_0x36b60a)||_0x4243f4[_0x511f4c(0x180)](_0x36b60a,new Map());const _0x3f516e=(_0x27f754=_0x4243f4==null?void 0x0:_0x4243f4[_0x511f4c(0x1f3)](_0x36b60a))==null?void 0x0:_0x27f754['get'](_0x119097);_0x3f516e&&(_0x4b3b53={'startRow':Math[_0x511f4c(0x1fc)](_0x4b3b53[_0x511f4c(0x196)],_0x3f516e[_0x511f4c(0x196)]),'startColumn':Math[_0x511f4c(0x1fc)](_0x4b3b53[_0x511f4c(0x19f)],_0x3f516e[_0x511f4c(0x19f)]),'endRow':Math[_0x511f4c(0x178)](_0x4b3b53[_0x511f4c(0x1f0)],_0x3f516e[_0x511f4c(0x1f0)]),'endColumn':Math['max'](_0x4b3b53[_0x511f4c(0x1da)],_0x3f516e['endColumn'])}),(_0x50958c=_0x4243f4[_0x511f4c(0x1f3)](_0x36b60a))==null||_0x50958c[_0x511f4c(0x180)](_0x119097,_0x4b3b53);}}}var Le=Object['getOwnPropertyDescriptor'],Ne=(_0x1e8842,_0x183e72,_0x2661c6,_0x41ae8d)=>{const _0x88322=_0x329287;for(var _0x5705fd=_0x41ae8d>0x1?void 0x0:_0x41ae8d?Le(_0x183e72,_0x2661c6):_0x183e72,_0x4d4f09=_0x1e8842[_0x88322(0x1e1)]-0x1,_0x39edab;_0x4d4f09>=0x0;_0x4d4f09--)(_0x39edab=_0x1e8842[_0x4d4f09])&&(_0x5705fd=_0x39edab(_0x5705fd)||_0x5705fd);return _0x5705fd;};const He=Number[_0x329287(0x1fd)](0x697d9f84);let J=class extends _0x758791{[_0x329287(0x169)](){const _0x5e0c89=_0x329287;var _0x1f58b7,_0x36a09e;this['_initLicenseValid']()?(this[_0x5e0c89(0x18c)][_0x5e0c89(0x171)]([_0x384e93,{'useClass':xe}]),(_0x1f58b7=this[_0x5e0c89(0x158)])!=null&&_0x1f58b7[_0x5e0c89(0x19a)]||[[_0x108132,{'useClass':Se}],[_0x464974,{'useClass':Re}],[_0x30986f,{'useClass':Ee}]][_0x5e0c89(0x176)](_0x1716cf=>this[_0x5e0c89(0x18c)]['add'](_0x1716cf))):(this[_0x5e0c89(0x18c)]['add']([_0x384e93,{'useClass':_0x384e93}]),(_0x36a09e=this[_0x5e0c89(0x158)])!=null&&_0x36a09e['notExecuteFormula']||[[_0x108132,{'useClass':_0x22aff0}],[_0x464974,{'useClass':_0x44ef32}],[_0x30986f,{'useClass':_0x963ac6}]]['forEach'](_0x4a3b54=>this['_injector']['add'](_0x4a3b54)));}[_0x329287(0x1ca)](){const _0x2d9f14=_0x329287;var _0x189a11;const _0x82ad60=(_0x189a11=this[_0x2d9f14(0x174)][_0x2d9f14(0x203)](_0x39dc64))!=null?_0x189a11:{},{ls:_0x37c482,pbk:_0x1b01f4}=_0x82ad60;if(!_0x37c482||!_0x1b01f4)return!0x1;const _0x55b390=_0x2514a8(ve,Me),_0x673f9e=new Function(_0x2d9f14(0x1a0)+_0x55b390)()(_0x37c482,_0x1b01f4),_0x2e55ea=_0x673f9e[_0x2d9f14(0x177)];return _0x673f9e[_0x2d9f14(0x15c)]&&_0x56653a(_0x2e55ea,'sf',He)?_0x3315b5(_0x2e55ea,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};J=Ne([_0x425e09(_0x2ba1e5)],J);export{xe as LexerTreeProBuilder,J as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2d8d(_0xcd271,_0x27dac9){_0xcd271=_0xcd271-0x177;var _0x3120e1=_0x3120();var _0x2d8d4a=_0x3120e1[_0xcd271];return _0x2d8d4a;}(function(_0x58071f,_0x16a0d5){var _0x557e75=_0x2d8d,_0x3a6f1e=_0x58071f();while(!![]){try{var _0x362bb7=-parseInt(_0x557e75(0x180))/0x1*(parseInt(_0x557e75(0x17d))/0x2)+parseInt(_0x557e75(0x179))/0x3+parseInt(_0x557e75(0x17b))/0x4*(parseInt(_0x557e75(0x182))/0x5)+-parseInt(_0x557e75(0x17c))/0x6*(parseInt(_0x557e75(0x178))/0x7)+parseInt(_0x557e75(0x17a))/0x8*(parseInt(_0x557e75(0x17f))/0x9)+parseInt(_0x557e75(0x177))/0xa+-parseInt(_0x557e75(0x181))/0xb*(-parseInt(_0x557e75(0x17e))/0xc);if(_0x362bb7===_0x16a0d5)break;else _0x3a6f1e['push'](_0x3a6f1e['shift']());}catch(_0x3efce9){_0x3a6f1e['push'](_0x3a6f1e['shift']());}}}(_0x3120,0x8877a));function _0x3120(){var _0x52fb2a=['12ehTbaJ','1461060UHjVGv','29QHzkaB','15775265yPhTeZ','3775WUgJWW','1162660qvohtf','14byEoGM','893472jUERhI','8rRfYUt','1336fawRLv','2669232uitdjD','56138GSbihP'];_0x3120=function(){return _0x52fb2a;};return _0x3120();}export*from'@univerjs/engine-formula/facade';
|