@univerjs-pro/engine-formula 0.15.2-insiders.20260124-12fc7f0 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +44 -44
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2346c0=_0x42e6;(function(_0x1ec981,_0x291647){const _0x2a4587=_0x42e6,_0x3829a2=_0x1ec981();while(!![]){try{const _0x5bd75b=-parseInt(_0x2a4587(0x136))/0x1+-parseInt(_0x2a4587(0x104))/0x2*(-parseInt(_0x2a4587(0xf0))/0x3)+-parseInt(_0x2a4587(0xa1))/0x4*(parseInt(_0x2a4587(0x14c))/0x5)+-parseInt(_0x2a4587(0x90))/0x6+parseInt(_0x2a4587(0x152))/0x7+parseInt(_0x2a4587(0x13d))/0x8*(-parseInt(_0x2a4587(0x15d))/0x9)+parseInt(_0x2a4587(0x161))/0xa;if(_0x5bd75b===_0x291647)break;else _0x3829a2['push'](_0x3829a2['shift']());}catch(_0x1966c9){_0x3829a2['push'](_0x3829a2['shift']());}}}(_0x2af0,0xdca6c));var se=Object['defineProperty'],ce=(_0x2b1dfa,_0x361235,_0x31bf9e)=>_0x361235 in _0x2b1dfa?se(_0x2b1dfa,_0x361235,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31bf9e}):_0x2b1dfa[_0x361235]=_0x31bf9e,E=(_0x1ec9bf,_0x34c91b,_0xb6baa2)=>ce(_0x1ec9bf,typeof _0x34c91b!='symbol'?_0x34c91b+'':_0x34c91b,_0xb6baa2);import{LexerTreeBuilder as _0x1572d6,ErrorType as _0x490708,DEFAULT_TOKEN_TYPE_ROOT as _0x49bb1b,DEFAULT_TOKEN_TYPE_PARAMETER as _0x2286f7,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1f70d0,NEW_EXCEL_FUNCTIONS as _0x3a7360,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x7a4a0d,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1405ff,matchToken as _0x501381,SUFFIX_TOKEN_SET as _0x12e3cc,prefixToken as _0x3b4167,LexerNode as _0x2e0a95,OPERATOR_TOKEN_SET as _0x4ba215,isReferenceString as _0x1689f2,splitTableStructuredRef as _0x33afa9,FormulaDependencyGenerator as _0x408b11,generateRandomDependencyTreeId as _0x27f930,FormulaDependencyTree as _0x10c157,FormulaDependencyTreeType as _0x4b4e7d,FormulaDependencyTreeVirtual as _0x13d662,generateAstNode as _0x17a39c,CalculateFormulaService as _0xb5a392,FormulaExecuteStageType as _0x141169,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4b7f0b,DEFAULT_INTERVAL_COUNT as _0x20d54d,DependencyManagerBaseService as _0x816548,UniverFormulaEnginePlugin as _0x15dbd5,ICalculateFormulaService as _0x3e866a,IDependencyManagerService as _0x22a90a,IFormulaDependencyGenerator as _0x46d08d,DependencyManagerService as _0x4a6dda}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3b40f0,LS_CONFIG_KEY as _0xe551fa,unshiftString as _0x4e93ea,isFeatureAuthorizedWithinTime as _0x2d775c,getSheetFeatureLimit as _0x39e87c}from'@univerjs-pro/license';function _0x2af0(){const _0x5b062a=['sheetId','_xlpm.','_handleTextNodeForExprTree','54525dbILDf','_removeDependencyRTreeCache','_xlfn.','endColumn','addFormulaDependency','CURRENTLY_CALCULATING','_getDependencyTreeChildrenIds','string','children','startsWith','join','clearFormulaDependency','removeFeatureFormulaDependency','getNewFormulaWithPrefix','get','_getTreeById','addFeatureFormulaDependency','forEach','_registerFormulas','_dependencyTreeCache','172wBoXMK','Let\x20variable\x20name\x20\x22','_lexer','unitId','_getTreeNode','subUnitId','Lambda\x20parameter\x20name\x20\x22','getUnitData','getDirtyRanges','_formulaData','_dependencyManagerService','isAdded','_getUpdateTreeListAndMakeDependency','FEATURE_FORMULA','closeKdTree','_apply','getFormulaExprTree','\x22\x20is\x20duplicated.','markedAsStopFunctionsExecuted','_xlpmPrefix','endsWith','_otherFormulaDataMainData','_allTreeMap','add','_currentConfigService','value','_formulaDependencyGenerator','removeFormulaDependencyByDefinedName','formula','setCurrent','START_DEPENDENCY','next','clear','_generateNewFunctionString','_getTableNameFromStructuredRef','_clearPrefix','featureId','toUpperCase','bulkRemove','_removeAllTreeMap','START_CALCULATION_ARRAY_FORMULA','column','push','keys','_calculateRunList','dispose','dirtyRanges','markedAsSuccessfullyExecuted','searchDependency','min','742251OjjbnJ','setRuntimeOtherData','addFormulaDependencyByDefinedName','_xlfnPrefix','_getFeatureFormulaTree','reset','_initializeWithOverride','8oPcCie','dependencySheetName','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','execute','getOwnPropertyDescriptor','isForceCalculate','size','setCompletedFormulasCount','_initializeGenerateTreeList','notExecuteFormula','rangeList','_checkAddBracketForMinus','_getAllTreeList','_dependencyRTreeCache','executeAsync','5cvnxZO','setValue','intervalCount','_createFDtree','startColumn','clearOtherFormulaDependency','6516755BpiplF','_registerOtherFormulas','refOffsetX','openKdTree','realDeleteValue','_isCyclicUtilMap','has','message','_hasNewExcelFunction','type','addOtherFormulaDependency','11761326AfZjgh','CURRENTLY_CALCULATING_ARRAY_FORMULA','getValue','resetCalculationState','20452540wnyzBR','length','_generateTreeList','toRTreeItem','getClearDependencyTreeCache','1496754ASliDx','error','_injector','slice','_currentUnitId','set','_interpreter','node','setCompletedArrayFormulasCount','isSkip','formulaId','_getCurNodeTypeForExprTree','isStopExecution','setRuntimeData','getRuntimeState','_resetPrefix','return\x20','5347828SaarZu','rowCount','_clearFunctionString','_checkIsCycleDependency','_lambdaFunctionParameterSet','_handleLambdaForExprTree','trim','treeId','isExcludeRange','COLON','_otherFormulaData','columnCount','getDirtyData','_convertDirtyRangesToUnitRange','forValue','valid','_traverse','endRow','_startFormulaDependencyTreeModel','setFormulaExecuteStage','values','enableCycleDependency','removeOtherFormulaDependency','bulkSearch','MINUS','_otherFormulaManagerService','getChildren','START_DEPENDENCY_ARRAY_FORMULA','getConfig','getAllRuntimeData','setDependencyTreeModelData','_definedNameMap','featureDirtyRanges','VALUE','_executionInProgressListener$','startRow','max','_featureFormulaData','setTotalFormulasToCalculate','hasOtherFormulaDataMainData','getOtherFormulaData','getToken','setRuntimeFeatureCellData','isCache','getFormulaDependency','_removeDependencyRTreeCacheById','setRuntimeFeatureRange','generate','_generateExprTree','_initLicenseValid','startIndex','refOffsetY','setAdded','pop','_handleNewFunctionChild','delete','_astTreeBuilder','_getAllDependencyJson','refTree','getFeatureFormulaDependency','_configService','_checkColonNodeForExprTree','_config','setSkip','range','markedAsNoFunctionsExecuted','OTHER_FORMULA','treeBuilder','_dependencyRTreeCacheForAddressFunction','clearFeatureFormulaDependency','START_CALCULATION','_updateRangeFlatten','_executionCompleteListener$','getOtherFormulaDependency','_runtimeService','getStartIndex'];_0x2af0=function(){return _0x5b062a;};return _0x2af0();}import{ObjectMatrix as _0x125afe,requestImmediateMacroTask as _0x197f66,RTree as _0x4c4691,DependentOn as _0x177e13}from'@univerjs/core';class De extends _0x1572d6{constructor(){const _0x468e0e=_0x42e6;super(...arguments),E(this,_0x468e0e(0x15a),!0x1),E(this,_0x468e0e(0xa5),new Set()),E(this,_0x468e0e(0x117),_0x468e0e(0xee)),E(this,_0x468e0e(0x139),'_xlfn.'),E(this,'_currentUnitId','');}['_resetPrefix'](){const _0x51284a=_0x42e6;this[_0x51284a(0x117)]='_xlpm.',this[_0x51284a(0x139)]=_0x51284a(0xf2);}[_0x2346c0(0x127)](){const _0x4c6dd6=_0x2346c0;this[_0x4c6dd6(0x117)]='',this['_xlfnPrefix']='';}[_0x2346c0(0xfd)](_0x3ac57a,_0x3d6698){const _0x580231=_0x2346c0,_0x5b833e=this[_0x580231(0xe4)](_0x3ac57a,!0x1);if(!_0x5b833e||_0x5b833e===_0x490708[_0x580231(0xc2)]||Array['isArray'](_0x5b833e))return null;const _0xddcb61=[];return this[_0x580231(0x15a)]=!0x1,this[_0x580231(0x125)](_0x5b833e,_0xddcb61,_0x3d6698),this['_hasNewExcelFunction']?'='+_0xddcb61[_0x580231(0xfa)](''):null;}[_0x2346c0(0x125)](_0x555e46,_0x51a74d,_0x114f1e){const _0x4fd302=_0x2346c0,_0x4bd346=_0x555e46['getToken'](),_0x34a234=_0x4bd346['trim'](),_0x51b0d3=_0x34a234[_0x4fd302(0x129)](),_0x372367=this[_0x4fd302(0xa3)](_0x51b0d3),_0x441149=_0x114f1e(_0x372367);let _0x1ea71b=0x0;_0x4bd346===_0x49bb1b?_0x1ea71b=0x3:_0x4bd346===_0x2286f7?_0x1ea71b=0x4:_0x4bd346===_0x1f70d0?_0x1ea71b=0x5:_0x3a7360[_0x4fd302(0x158)](_0x372367)?(_0x51a74d['push'](''+this[_0x4fd302(0x139)]+_0x34a234),this[_0x4fd302(0x15a)]=!0x0):_0x51b0d3===_0x7a4a0d?(_0x51a74d['push'](''+this[_0x4fd302(0x139)]+_0x34a234),this[_0x4fd302(0x15a)]=!0x0,_0x1ea71b=0x2):_0x51b0d3===_0x1405ff?(_0x51a74d[_0x4fd302(0x12e)](''+this[_0x4fd302(0x139)]+_0x34a234),this['_hasNewExcelFunction']=!0x0,_0x1ea71b=0x1):_0x51b0d3===_0x501381[_0x4fd302(0xaa)]?_0x1ea71b=0x8:_0x12e3cc['has'](_0x51b0d3)?_0x1ea71b=0x7:_0x51b0d3===_0x3b4167[_0x4fd302(0xb9)]?(this[_0x4fd302(0x148)](_0x555e46)&&(_0x1ea71b=0x9),_0x51a74d['push'](_0x4bd346)):(_0x51a74d[_0x4fd302(0x12e)](_0x4bd346),_0x1ea71b=0xa),_0x441149?(_0x1ea71b!==0x2&&_0x1ea71b!==0x1&&(_0x1ea71b=0x6),_0x51a74d[_0x4fd302(0x12e)]('(')):_0x1ea71b===0x9&&_0x51a74d[_0x4fd302(0x12e)]('(');const _0x3735ac=_0x555e46[_0x4fd302(0xbb)](),_0x69199f=_0x3735ac[_0x4fd302(0x162)];if(_0x1ea71b===0x2){const _0x3e35d6=_0x3735ac[0x0];let _0x41aff2=0x0;_0x3e35d6 instanceof _0x2e0a95&&_0x3e35d6['getToken']()===_0x1f70d0&&(_0x41aff2=0x1);for(let _0x34df0f=_0x41aff2;_0x34df0f<_0x69199f-0x1;_0x34df0f++){const _0xa1f213=_0x3735ac[_0x34df0f];if(_0xa1f213 instanceof _0x2e0a95){const _0x1b05f2=_0xa1f213[_0x4fd302(0xbb)]()[0x0];typeof _0x1b05f2==_0x4fd302(0xf7)&&(this[_0x4fd302(0xa5)][_0x4fd302(0x158)](_0x1b05f2)&&console[_0x4fd302(0x91)](_0x4fd302(0x10a)+_0x1b05f2+_0x4fd302(0x115)),this[_0x4fd302(0xa5)][_0x4fd302(0x11b)](_0x1b05f2),_0x51a74d[_0x4fd302(0x12e)](''+this[_0x4fd302(0x117)]+_0x1b05f2),this[_0x4fd302(0x15a)]=!0x0);}_0x51a74d[_0x4fd302(0x12e)](',');}this[_0x4fd302(0xd7)](_0x3735ac[_0x69199f-0x1],_0x51a74d,_0x114f1e),_0x41aff2===0x1&&(_0x51a74d[_0x4fd302(0x12e)](')'),_0x51a74d['push']('('),this[_0x4fd302(0x125)](_0x3e35d6,_0x51a74d,_0x114f1e)),_0x51a74d[_0x4fd302(0x12e)](')');return;}else{if(_0x1ea71b===0x1){for(let _0x38b5af=0x0;_0x38b5af<_0x69199f-0x1;_0x38b5af++){const _0x5f3674=_0x3735ac[_0x38b5af];if(_0x5f3674 instanceof _0x2e0a95&&_0x38b5af%0x2===0x0){const _0x464436=_0x5f3674[_0x4fd302(0xbb)]()[0x0];if(typeof _0x464436==_0x4fd302(0xf7)){this[_0x4fd302(0xa5)]['has'](_0x464436)&&console['error'](_0x4fd302(0x105)+_0x464436+_0x4fd302(0x115)),this[_0x4fd302(0xa5)][_0x4fd302(0x11b)](_0x464436),_0x51a74d[_0x4fd302(0x12e)](''+this[_0x4fd302(0x117)]+_0x464436),this['_hasNewExcelFunction']=!0x0,_0x51a74d[_0x4fd302(0x12e)](',');continue;}}if(this[_0x4fd302(0xd7)](_0x5f3674,_0x51a74d,_0x114f1e),_0x5f3674 instanceof _0x2e0a95){const _0x26c537=_0x3735ac[_0x38b5af+0x1];_0x26c537&&_0x26c537 instanceof _0x2e0a95&&_0x51a74d[_0x4fd302(0x12e)](',');}}this['_handleNewFunctionChild'](_0x3735ac[_0x69199f-0x1],_0x51a74d,_0x114f1e),_0x51a74d['push'](')');return;}else{if(_0x1ea71b===0x8){const _0x1f81a9=_0x3735ac[0x0],_0x2fc067=_0x3735ac[0x1];this['_handleNewFunctionChild'](_0x1f81a9,_0x51a74d,_0x114f1e),_0x51a74d[_0x4fd302(0x12e)](_0x4bd346),this[_0x4fd302(0xd7)](_0x2fc067,_0x51a74d,_0x114f1e);return;}}}for(let _0x4eb0d6=0x0;_0x4eb0d6<_0x69199f;_0x4eb0d6++){const _0x3894e6=_0x3735ac[_0x4eb0d6];if(this[_0x4fd302(0xd7)](_0x3894e6,_0x51a74d,_0x114f1e),_0x3894e6 instanceof _0x2e0a95){const _0x422d8f=_0x3735ac[_0x4eb0d6+0x1];_0x422d8f&&_0x422d8f instanceof _0x2e0a95&&_0x51a74d[_0x4fd302(0x12e)](',');}}_0x1ea71b===0x7&&_0x51a74d[_0x4fd302(0x12e)](_0x4bd346),(_0x441149||_0x1ea71b===0x9)&&_0x51a74d[_0x4fd302(0x12e)](')');}['_handleNewFunctionChild'](_0x13674a,_0x1c7a42,_0x3ac48a){const _0x33e20a=_0x2346c0;_0x13674a instanceof _0x2e0a95?this['_generateNewFunctionString'](_0x13674a,_0x1c7a42,_0x3ac48a):this['_lambdaFunctionParameterSet']['has'](_0x13674a)?(_0x1c7a42[_0x33e20a(0x12e)](''+this['_xlpmPrefix']+_0x13674a),this['_hasNewExcelFunction']=!0x0):_0x1c7a42[_0x33e20a(0x12e)](_0x13674a);}[_0x2346c0(0xa3)](_0x47e801){const _0x16fb2e=_0x2346c0;let _0x38bd18=_0x47e801[_0x16fb2e(0xa7)]();if(!_0x38bd18)return _0x38bd18;const _0x118f28=_0x38bd18[0x0];if((_0x118f28===_0x3b4167['AT']||_0x118f28===_0x3b4167[_0x16fb2e(0xb9)]||_0x118f28===_0x3b4167['PLUS'])&&(_0x38bd18=_0x38bd18[_0x16fb2e(0x93)](0x1)),!_0x38bd18)return _0x38bd18;const _0x474993=_0x38bd18[_0x38bd18['length']-0x1];return _0x12e3cc['has'](_0x474993)&&(_0x38bd18=_0x38bd18[_0x16fb2e(0x93)](0x0,-0x1)),_0x38bd18;}[_0x2346c0(0x148)](_0x165674){const _0x1f7c7a=_0x2346c0,_0x259000=_0x165674[_0x1f7c7a(0xbb)]()[0x0];if(!_0x259000||!(_0x259000 instanceof _0x2e0a95)||_0x165674[_0x1f7c7a(0xbb)]()[_0x1f7c7a(0x162)]>0x1)return!0x1;const _0x406af6=_0x259000['getChildren'](),_0x2e5339=_0x406af6[_0x1f7c7a(0x162)];if(_0x2e5339===0x1)return!0x1;for(let _0xe7d15c=0x0;_0xe7d15c<_0x2e5339;_0xe7d15c++){const _0x5b91b9=_0x406af6[_0xe7d15c];if(!(_0x5b91b9 instanceof _0x2e0a95)&&_0x4ba215['has'](_0x5b91b9))return!0x0;}return!0x1;}[_0x2346c0(0x114)](_0x6c1d99,_0x3998ee,_0xb6afb8,_0x340831,_0x47dce1){const _0x24f044=_0x2346c0,_0x21eaff=this[_0x24f044(0xe4)](_0x6c1d99,!0x1);if(!_0x21eaff||_0x21eaff===_0x490708[_0x24f044(0xc2)]||Array['isArray'](_0x21eaff))return null;this[_0x24f044(0x127)](),this[_0x24f044(0x94)]=_0x3998ee;const _0x241c67=this[_0x24f044(0xd1)](_0x21eaff,_0xb6afb8,_0x340831,_0x47dce1);return this['_currentUnitId']='',this[_0x24f044(0x9f)](),_0x241c67;}['_generateExprTree'](_0x8bcaf1,_0xea7a74,_0x4a0a28,_0x6edd15){const _0x5ed5d3=_0x2346c0,_0x2b2178={'value':'','children':[],'startIndex':0x0};let _0x27b88a=_0x8bcaf1;if(_0x27b88a instanceof _0x2e0a95&&(_0x27b88a[_0x5ed5d3(0xca)]()===_0x49bb1b||_0x27b88a[_0x5ed5d3(0xca)]()===_0x2286f7)&&_0x27b88a[_0x5ed5d3(0xbb)]()['length']===0x1&&(_0x27b88a=_0x27b88a[_0x5ed5d3(0xbb)]()[0x0]),!(_0x27b88a instanceof _0x2e0a95))return this[_0x5ed5d3(0xef)](_0x27b88a,_0x4a0a28,_0x6edd15);const _0x3c1d65=_0x27b88a[_0x5ed5d3(0xbb)](),_0x5751f3=_0x3c1d65[_0x5ed5d3(0x162)],_0x466f06=[];this[_0x5ed5d3(0x125)](_0x27b88a,_0x466f06,_0xea7a74),_0x2b2178[_0x5ed5d3(0x11d)]=_0x466f06[_0x5ed5d3(0xfa)](''),_0x2b2178[_0x5ed5d3(0xd3)]=_0x27b88a[_0x5ed5d3(0xec)]();const _0x5e83cb=this[_0x5ed5d3(0x9b)](_0x27b88a);if(_0x5e83cb===0x2){const _0x2f79c4=_0x3c1d65[0x0];if(_0x2f79c4 instanceof _0x2e0a95){if(_0x2f79c4[_0x5ed5d3(0xca)]()['trim']()!==_0x1f70d0)return _0x2b2178;this[_0x5ed5d3(0xa6)](_0x2f79c4,_0x2b2178,_0xea7a74,_0x4a0a28,_0x6edd15);}return _0x2b2178;}else{if(_0x5e83cb===0x1){for(let _0x765da2=0x0;_0x765da2<_0x5751f3-0x1;_0x765da2++){const _0x374e0e=_0x3c1d65[_0x765da2];if(_0x374e0e instanceof _0x2e0a95&&_0x765da2%0x2===0x1){const _0x82750a=_0x374e0e[_0x5ed5d3(0xbb)]();if(_0x82750a['length']===0x1&&!(_0x82750a[0x0]instanceof _0x2e0a95))continue;const _0x2c51ae=this[_0x5ed5d3(0xd1)](_0x374e0e,_0xea7a74,_0x4a0a28,_0x6edd15);_0x2c51ae&&_0x2b2178[_0x5ed5d3(0xf8)]['push'](_0x2c51ae);}}return _0x2b2178;}else{if(_0x5e83cb===0x8){const _0x444aa1=_0x3c1d65[0x0];if(_0x444aa1 instanceof _0x2e0a95){const _0x16e383=_0x444aa1['getChildren']()[0x0];_0x16e383 instanceof _0x2e0a95&&(_0x2b2178[_0x5ed5d3(0xd3)]=_0x16e383[_0x5ed5d3(0xec)]());}if(this[_0x5ed5d3(0xde)](_0x27b88a))return _0x2b2178;}else{if(_0x5e83cb===0x7){const _0x10aeb2=_0x3c1d65[0x0];if(_0x10aeb2 instanceof _0x2e0a95){const _0x559c72=_0x10aeb2[_0x5ed5d3(0xbb)]()[0x0];_0x559c72 instanceof _0x2e0a95&&(_0x2b2178[_0x5ed5d3(0xd3)]=_0x559c72[_0x5ed5d3(0xec)]());}}}}}return this['_handleChildrenForExprTree'](_0x3c1d65,_0x5e83cb,_0x2b2178,_0xea7a74,_0x4a0a28,_0x6edd15),_0x2b2178;}['_handleChildrenForExprTree'](_0x22cd33,_0x42b0c3,_0x310d69,_0x264e72,_0x247e66,_0x157fde){const _0x5132d6=_0x2346c0;for(let _0x40b414=0x0;_0x40b414<_0x22cd33[_0x5132d6(0x162)];_0x40b414++){let _0x142d0a=_0x22cd33[_0x40b414];if(!(_0x142d0a instanceof _0x2e0a95)){const _0x1c77d7=this[_0x5132d6(0xef)](_0x142d0a,_0x247e66,_0x157fde);_0x1c77d7&&_0x310d69[_0x5132d6(0xf8)][_0x5132d6(0x12e)](_0x1c77d7);continue;}const _0x147948=_0x142d0a[_0x5132d6(0xbb)]();if(_0x147948[_0x5132d6(0x162)]===0x1&&!(_0x147948[0x0]instanceof _0x2e0a95)){const _0x5b2e03=_0x147948[0x0];if(!_0x247e66(this['_currentUnitId'],_0x5b2e03)&&!this[_0x5132d6(0x126)](_0x5b2e03,_0x157fde)&&!_0x1689f2(_0x5b2e03))continue;}if(_0x42b0c3===0x8){const _0x21c94f=_0x147948[0x0];if(_0x21c94f instanceof _0x2e0a95){const _0x45d76f=_0x21c94f[_0x5132d6(0xca)]()[_0x5132d6(0xa7)]();if(_0x1689f2(_0x45d76f))continue;_0x142d0a=_0x21c94f;}}const _0x53d8bf=this['_generateExprTree'](_0x142d0a,_0x264e72,_0x247e66,_0x157fde);_0x53d8bf&&_0x310d69[_0x5132d6(0xf8)][_0x5132d6(0x12e)](_0x53d8bf);}}[_0x2346c0(0xde)](_0x15f97c){const _0x1ff206=_0x2346c0,_0x2efc45=_0x15f97c['getChildren']();if(_0x2efc45['length']<0x2)return!0x1;const _0x1bcfb4=_0x2efc45[0x0],_0x217308=_0x2efc45[0x1];if(!(_0x1bcfb4 instanceof _0x2e0a95)||!(_0x217308 instanceof _0x2e0a95))return!0x1;const _0x23a5da=_0x1bcfb4['getChildren']()[0x0],_0x3326f1=_0x217308['getChildren']()[0x0];if(!(_0x23a5da instanceof _0x2e0a95)||!(_0x3326f1 instanceof _0x2e0a95))return!0x1;const _0x48d4df=_0x23a5da[_0x1ff206(0xca)]()[_0x1ff206(0xa7)](),_0x128fb8=_0x3326f1[_0x1ff206(0xca)]()[_0x1ff206(0xa7)]();return!!_0x1689f2(''+_0x48d4df+_0x501381[_0x1ff206(0xaa)]+_0x128fb8);}[_0x2346c0(0xef)](_0x374e38,_0x20d984,_0x403bf0){const _0x12c777=_0x2346c0,_0x12ef1b=_0x374e38[_0x12c777(0xa7)]();return _0x12ef1b[_0x12c777(0xf9)]('{')&&_0x12ef1b[_0x12c777(0x118)]('}')||_0x20d984(this[_0x12c777(0x94)],_0x12ef1b)||this['_getTableNameFromStructuredRef'](_0x12ef1b,_0x403bf0)||_0x1689f2(_0x12ef1b)?{'value':_0x12ef1b,'children':[],'startIndex':-0x1}:null;}[_0x2346c0(0x126)](_0x2ac152,_0x4ee0f5){const {tableName:_0x15d510}=_0x33afa9(_0x2ac152);return _0x4ee0f5(this['_currentUnitId'],_0x15d510)?_0x15d510:null;}[_0x2346c0(0xa6)](_0x5ac1b9,_0x289968,_0x25a37f,_0x5b3fd2,_0x38ef5b){const _0x4612a4=_0x2346c0,_0x2ed16c=_0x5ac1b9[_0x4612a4(0xbb)]();for(let _0x228e31=0x0;_0x228e31<_0x2ed16c[_0x4612a4(0x162)];_0x228e31++){const _0x4843bc=_0x2ed16c[_0x228e31];if(!(_0x4843bc instanceof _0x2e0a95))continue;const _0x4c9c86=_0x4843bc[_0x4612a4(0xbb)]();if(_0x4c9c86['length']===0x1&&!(_0x4c9c86[0x0]instanceof _0x2e0a95))continue;const _0x565e49=this['_generateExprTree'](_0x4843bc,_0x25a37f,_0x5b3fd2,_0x38ef5b);_0x565e49&&_0x289968[_0x4612a4(0xf8)]['push'](_0x565e49);}}['_getCurNodeTypeForExprTree'](_0x544bc8){const _0x225404=_0x2346c0,_0x39b21c=_0x544bc8[_0x225404(0xca)](),_0x12dff0=_0x39b21c['trim']()['toUpperCase']();let _0x22487c=0x0;return _0x39b21c===_0x49bb1b?_0x22487c=0x3:_0x39b21c===_0x2286f7?_0x22487c=0x4:_0x39b21c===_0x1f70d0?_0x22487c=0x5:_0x12dff0===_0x7a4a0d?_0x22487c=0x2:_0x12dff0===_0x1405ff?_0x22487c=0x1:_0x12dff0===_0x501381[_0x225404(0xaa)]?_0x22487c=0x8:_0x12e3cc[_0x225404(0x158)](_0x12dff0)?_0x22487c=0x7:_0x12dff0===_0x3b4167['MINUS']?this[_0x225404(0x148)](_0x544bc8)&&(_0x22487c=0x9):_0x22487c=0xa,_0x22487c;}}const Ke={0x0:'o',0x1:'v',0x2:'7',0x3:'C',0x4:'j',0x5:'O',0x6:'u',0x7:'2',0x8:'5',0x9:'a','u':'0','H':'1','y':'3','i':'4','e':'6','V':'8','F':'9','k':'b','g':'c','I':'d','K':'e','n':'f','J':'g','s':'h','E':'i','T':'k','p':'l','U':'m','c':'n','Q':'p','l':'q','q':'r','\x20':'s','b':'t','j':'w','h':'x','Z':'y','L':'z','r':'A','z':'B','P':'D','G':'E','O':'F','X':'G','f':'H','M':'I','Y':'J','D':'K','o':'L','C':'M','x':'N','w':'P','N':'Q','S':'R','t':'S','A':'T','d':'U','m':'V','W':'W','B':'X','a':'Y','v':'Z','R':'\x20'},Me='/*RK\x20pEcb-IE\x209kpKRQqKnKq-bKUQp9bKR*/n6cgbE0cRIKgqZQbE0c(pEgKc\x20K,RQ6kpEgDKZ)R{RRRRbqZR{RRRRRRRRg0c\x20bRpEgKc\x20KMcn0w9qbrqq9ZR=RpEgKc\x20K.\x20QpEb(\x27-\x27);RRRRRRRRg0c\x20bR0qEJEcCK\x20\x209JKR=RYt5x.Q9q\x20K(9b0k(pEgKc\x20KMcn0w9qbrqq9Z[7]));RRRRRRRREnR(!0qEJEcCK\x20\x209JK.6I)R{RRRRRRRRRRRR0qEJEcCK\x20\x209JK.6IR=Rx6UkKq(pEgKc\x20KMcn0w9qbrqq9Z[i]);RRRRRRRR}RRRRRRRRg0c\x20bRE\x20W0qTKqR=RbZQK0nRW0qTKqXp0k9ptg0QKR!==R\x276cIKnEcKI\x27R&&R\x20KpnREc\x20b9cgK0nRW0qTKqXp0k9ptg0QK;RRRRRRRRg0c\x20bRE\x20zq0j\x20KqR=RbZQK0nRjEcI0jR!==R\x276cIKnEcKI\x27R&&RbZQK0nRjEcI0j.p0g9bE0cR!==R\x276cIKnEcKI\x27;RRRRRRRRg0c\x20bRg0cbKhbR=RE\x20W0qTKqR?R\x20KpnR:R(E\x20zq0j\x20KqR?RjEcI0jR:RJp0k9pAsE\x20);RRRRRRRRg0c\x20bRUK\x20\x209JKW0qIR=Rg0cbKhb.__z9\x20Kei__.Q9q\x20K(pEgKc\x20KMcn0w9qbrqq9Z[7]);RRRRRRRRg0c\x20bRUK\x20\x209JKR=Rg0cbKhb.__fKh__.\x20bqEcJEnZ(UK\x20\x209JKW0qI);RRRRRRRRg0c\x20bR\x20EJc9b6qKW0qIR=Rg0cbKhb.__z9\x20Kei__.Q9q\x20K(pEgKc\x20KMcn0w9qbrqq9Z[y]);RRRRRRRRg0c\x20bR\x20EJc9b6qKR=Rg0cbKhb.__fKh__.\x20bqEcJEnZ(\x20EJc9b6qKW0qI);RRRRRRRRg0c\x20bR\x20EJcm9pEIR=Rg0cbKhb.__1KqEnZ__(\x20EJc9b6qK,RUK\x20\x209JK,RQ6kpEgDKZ);RRRRRRRRg0c\x20bRI0U9EcR=R0qEJEcCK\x20\x209JK.IU;RRRRRRRRn6cgbE0cRE\x20P0U9EcC9bgsEcJ(Q9bbKqc,Rs0\x20b)R{RRRRRRRRRRRREnR(Q9bbKqcR===Rs0\x20b)RqKb6qcRbq6K;RRRRRRRRRRRREnR(Q9bbKqc.\x20b9qb\x20WEbs(\x27*.\x27))R{RRRRRRRRRRRRRRRRg0c\x20bR\x206nnEhR=RQ9bbKqc.\x20pEgK(7);RRRRRRRRRRRRRRRREnR(\x206nnEhR&&R\x206nnEhR===Rs0\x20b)R{RRRRRRRRRRRRRRRRRRRRqKb6qcRbq6K;RRRRRRRRRRRRRRRR}RRRRRRRRRRRRRRRREnR(\x206nnEhR&&R!s0\x20b.\x20b9qb\x20WEbs(\x27.\x27)R&&Rs0\x20b.KcI\x20WEbs(\x27.\x27R+R\x206nnEh))R{RRRRRRRRRRRRRRRRRRRRqKb6qcRbq6K;RRRRRRRRRRRRRRRR}RRRRRRRRRRRR}RRRRRRRRRRRRqKb6qcRn9p\x20K;RRRRRRRR}RRRRRRRRpKbRI0U9Ecm9pEIR=Rn9p\x20K;RRRRRRRREnR(E\x20zq0j\x20Kq)R{RRRRRRRRRRRRI0U9Ecm9pEIR=R(I0U9EcR&&RI0U9Ec.pKcJbs)R?RI0U9Ec.\x200UK((IUMbKU)R=>RE\x20P0U9EcC9bgsEcJ(IUMbKU,Rp0g9bE0c.s0\x20bc9UK))R:Rbq6K;RRRRRRRRRRRREnR(p0g9bE0c.s0\x20bc9UKR===R\x27p0g9ps0\x20b\x27)R{RRRRRRRRRRRRRRRRI0U9Ecm9pEIR=Rbq6K;RRRRRRRRRRRR}RRRRRRRR}RKp\x20KR{RRRRRRRRRRRRI0U9Ecm9pEIR=Rbq6K;RRRRRRRR}RRRRRRRRg0c\x20bR19pEIR=R\x20EJcm9pEIR&&RI0U9Ecm9pEI;RRRRRRRRqKb6qcR{RRRRRRRRRRRR19pEI,RRRRRRRRRRRRUK\x20\x209JK:R0qEJEcCK\x20\x209JK,RRRRRRRR};RRRR}Rg9bgsR(Kqq0q)R{RRRRRRRRqKb6qcR{RRRRRRRRRRRR19pEI:Rn9p\x20K,RRRRRRRRRRRRUK\x20\x209JK:R{},RRRRRRRR};RRRR}}';class ve extends _0x408b11{constructor(){const _0x26dc89=_0x2346c0;super(...arguments),E(this,_0x26dc89(0x103),new Map());}[_0x2346c0(0x131)](){const _0x230403=_0x2346c0;super[_0x230403(0x131)](),this[_0x230403(0x103)][_0x230403(0x124)]();}async[_0x2346c0(0xd0)](_0x4738d7=!0x1){const _0x34a276=_0x2346c0;this[_0x34a276(0xe8)]();const _0x3113f0=this['_currentConfigService']['getFormulaData'](),_0x4b58dc=this[_0x34a276(0xba)][_0x34a276(0xc9)](),_0x5758e2=this['_currentConfigService'][_0x34a276(0x8f)]();_0x5758e2!=null&&Object['keys'](_0x5758e2)[_0x34a276(0x101)](_0x15452d=>{const _0x1d6d70=_0x34a276;_0x15452d!=null&&Object[_0x1d6d70(0x12f)](_0x5758e2[_0x15452d])[_0x1d6d70(0x101)](_0x1e9822=>{const _0x257ab6=_0x1d6d70;_0x1e9822!=null&&(this['_dependencyManagerService'][_0x257ab6(0x151)](_0x15452d,_0x1e9822),this[_0x257ab6(0x10e)][_0x257ab6(0xe6)](_0x15452d,_0x1e9822),this[_0x257ab6(0x10e)][_0x257ab6(0xfb)](_0x15452d,_0x1e9822));});});const _0x57375f=this[_0x34a276(0x11c)][_0x34a276(0x10b)]();await this[_0x34a276(0x8d)](_0x3113f0,_0x4b58dc,_0x57375f),this[_0x34a276(0x10e)][_0x34a276(0x155)]();const _0x40114b=this[_0x34a276(0x110)](),_0xd48092=this[_0x34a276(0x130)](_0x40114b);return this[_0x34a276(0xa4)](_0xd48092)&&this[_0x34a276(0xeb)][_0x34a276(0xb6)](),_0x4738d7&&this[_0x34a276(0xeb)][_0x34a276(0xbf)](this[_0x34a276(0xda)](Array['from'](this[_0x34a276(0x103)][_0x34a276(0xb5)]()))),this[_0x34a276(0x103)][_0x34a276(0x124)](),this[_0x34a276(0xe5)][_0x34a276(0x124)](),this[_0x34a276(0x10e)][_0x34a276(0x112)](),this[_0x34a276(0xeb)]['clearArrayObjectCache'](),Promise['resolve'](_0xd48092);}[_0x2346c0(0x157)](_0x50f5d0,_0x7ae9d){const _0x28008d=_0x2346c0,_0x42c65b=[_0x50f5d0];for(;_0x42c65b[_0x28008d(0x162)]>0x0;){const _0x275a6c=_0x42c65b[_0x42c65b[_0x28008d(0x162)]-0x1];if((_0x7ae9d['get'](_0x275a6c)||0x0)===0x0){_0x7ae9d['set'](_0x275a6c,0x1);const _0x8cf1=this[_0x28008d(0x103)][_0x28008d(0xfe)](_0x275a6c);if(_0x8cf1==null){_0x7ae9d['set'](_0x275a6c,0x2),_0x42c65b['pop']();continue;}const _0x23f56a=this['_dependencyManagerService']['searchDependency'](_0x8cf1[_0x28008d(0x8e)]());for(const _0x29e0e1 of _0x23f56a){const _0x3aa95e=_0x7ae9d['get'](_0x29e0e1)||0x0;if(_0x3aa95e===0x1)return!0x0;_0x3aa95e===0x0&&_0x42c65b[_0x28008d(0x12e)](_0x29e0e1);}}else _0x7ae9d[_0x28008d(0x95)](_0x275a6c,0x2),_0x42c65b[_0x28008d(0xd6)]();}return!0x1;}['_checkIsCycleDependency'](_0x4594f4){const _0x30e846=_0x2346c0,_0x19fad0=new Map();for(const _0x1e5775 of _0x4594f4)if(!_0x19fad0['has'](_0x1e5775[_0x30e846(0xa8)])&&this[_0x30e846(0x157)](_0x1e5775[_0x30e846(0xa8)],_0x19fad0))return!0x0;return _0x19fad0['clear'](),!0x1;}[_0x2346c0(0x13a)](_0x563aea,_0x17bfe6,_0x4b4485){const _0x3d633f=_0x2346c0,{unitId:_0x57aeaa,subUnitId:_0xa76d2d,dependencyRanges:_0x19a5a3,getDirtyData:_0xa751c1}=_0x4b4485,_0x1a6d88=_0x17bfe6||_0x27f930(this['_dependencyManagerService']),_0x353a63=new _0x10c157(_0x1a6d88);_0x353a63[_0x3d633f(0x107)]=_0x57aeaa,_0x353a63[_0x3d633f(0x109)]=_0xa76d2d,_0x353a63['rangeList']=_0x19a5a3,_0x353a63[_0x3d633f(0xad)]=_0xa751c1;const _0x3d6e91=_0xa751c1(this[_0x3d633f(0x11c)]['getDirtyData'](),this[_0x3d633f(0xeb)][_0x3d633f(0xbe)]()),_0x450eb3=this[_0x3d633f(0xae)](_0x3d6e91[_0x3d633f(0x132)]);return _0x353a63[_0x3d633f(0xc1)]=_0x450eb3,_0x353a63[_0x3d633f(0x128)]=_0x563aea,_0x353a63[_0x3d633f(0x15b)]=_0x4b4e7d[_0x3d633f(0x111)],this[_0x3d633f(0x10e)][_0x3d633f(0x100)](_0x57aeaa,_0xa76d2d,_0x563aea,_0x353a63),this[_0x3d633f(0x103)][_0x3d633f(0x95)](_0x353a63[_0x3d633f(0xa8)],_0x353a63),this['_dependencyManagerService'][_0x3d633f(0xdc)](_0x4b4485[_0x3d633f(0x107)],_0x4b4485[_0x3d633f(0x109)],_0x563aea)&&(_0x353a63[_0x3d633f(0xcc)]=!0x0),_0x353a63;}[_0x2346c0(0x153)](_0x3788e5,_0xf2ffb4,_0x24a729){const _0x348bd6=_0x2346c0;var _0x4d1235;for(const _0x3cff95 of _0xf2ffb4){const _0x19e2a4=_0x3788e5[_0x3cff95];if(_0x19e2a4==null)continue;const _0x5eb462=Object[_0x348bd6(0x12f)](_0x19e2a4);for(const _0x218262 of _0x5eb462){const _0x553a5a=_0x19e2a4[_0x218262];if(_0x553a5a==null)continue;const _0x2df073=Object[_0x348bd6(0x12f)](_0x553a5a);for(const _0x12f9ab of _0x2df073){const _0x1ab82e=this['_dependencyManagerService'][_0x348bd6(0xc8)](_0x12f9ab),_0x532816=_0x553a5a[_0x12f9ab],{f:_0x54bb8d,ranges:_0x4253d3}=_0x532816;let _0x20b0ee=!0x1;_0x1ab82e&&(_0x20b0ee=!0x0);const {firstRow:_0x5bd071,firstColumn:_0xa941c7}=this['_getFirstCellOfRange'](_0x4253d3),_0x3e0868=this[_0x348bd6(0x10e)][_0x348bd6(0xea)](_0x3cff95,_0x218262,_0x12f9ab),_0x566f61=(_0x4d1235=_0x3e0868==null?void 0x0:_0x3e0868[_0x348bd6(0x15f)](0x0,0x0))!=null?_0x4d1235:_0x27f930(this[_0x348bd6(0x10e)]),_0x4c1726=new _0x10c157(_0x566f61);for(let _0x35b97a=0x0;_0x35b97a<_0x4253d3['length'];_0x35b97a++){const _0x611c3f=_0x4253d3[_0x35b97a],{startRow:_0x602f6d,startColumn:_0x48ee67,endRow:_0x4e4ea4,endColumn:_0x28da23}=_0x611c3f;for(let _0x516fcc=_0x602f6d;_0x516fcc<=_0x4e4ea4;_0x516fcc++)for(let _0xd0780=_0x48ee67;_0xd0780<=_0x28da23;_0xd0780++){const _0x1c1b9f=_0xd0780-_0xa941c7,_0x51675e=_0x516fcc-_0x5bd071;if(_0x1c1b9f===0x0&&_0x51675e===0x0){_0x4c1726['formula']=_0x54bb8d,_0x4c1726[_0x348bd6(0x107)]=_0x3cff95,_0x4c1726[_0x348bd6(0x109)]=_0x218262,_0x4c1726[_0x348bd6(0x9a)]=_0x12f9ab,_0x4c1726[_0x348bd6(0x15b)]=_0x4b4e7d[_0x348bd6(0xe3)],_0x4c1726[_0x348bd6(0xcc)]=_0x20b0ee,_0x24a729['push'](_0x4c1726),this['_dependencyTreeCache'][_0x348bd6(0x95)](_0x4c1726[_0x348bd6(0xa8)],_0x4c1726),this['_dependencyManagerService'][_0x348bd6(0x15c)](_0x3cff95,_0x218262,_0x12f9ab,_0x4c1726),this[_0x348bd6(0x10e)][_0x348bd6(0x138)](_0x4c1726);continue;}const _0x3c882c=new _0x13d662();_0x3c882c['treeId']=(_0x3e0868==null?void 0x0:_0x3e0868[_0x348bd6(0x15f)](_0x1c1b9f,_0x51675e))||_0x27f930(this['_dependencyManagerService']),_0x3c882c[_0x348bd6(0xdb)]=_0x4c1726,_0x3c882c[_0x348bd6(0x154)]=_0x1c1b9f,_0x3c882c[_0x348bd6(0xd4)]=_0x51675e,_0x3c882c['isCache']=_0x20b0ee,_0x3c882c[_0x348bd6(0x15b)]=_0x4b4e7d[_0x348bd6(0xe3)],this[_0x348bd6(0x10e)][_0x348bd6(0x15c)](_0x3cff95,_0x218262,_0x12f9ab,_0x3c882c),this['_dependencyManagerService'][_0x348bd6(0x138)](_0x3c882c),_0x24a729[_0x348bd6(0x12e)](_0x3c882c),this[_0x348bd6(0x103)]['set'](_0x3c882c['treeId'],_0x3c882c);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x12f9ab);}}}}[_0x2346c0(0x102)](_0x21fe3a,_0xa818bd,_0x251bb1,_0x495086){const _0xb8da39=_0x2346c0;for(const _0x13a0c6 of _0x21fe3a){const _0x1498dd=_0xa818bd[_0x13a0c6];if(_0x1498dd==null)continue;const _0x161845=Object[_0xb8da39(0x12f)](_0x1498dd);for(const _0x38cca1 of _0x161845){const _0x355097=new _0x125afe(_0x1498dd[_0x38cca1]||{}),_0x29d002=new Map();_0x355097[_0xb8da39(0xaf)]((_0x48634d,_0x123558,_0x2732ff)=>{const _0x2b2462=_0xb8da39;if(_0x2732ff==null)return!0x0;const {x:_0x2495c5=0x0,y:_0x8f9952=0x0,si:_0x57ae0c}=_0x2732ff;if(!(_0x2495c5===0x0&&_0x8f9952===0x0&&_0x57ae0c!=null))return!0x0;const _0x30c3d1=this[_0x2b2462(0x14f)](_0x13a0c6,_0x38cca1,_0x48634d,_0x123558,_0x251bb1,_0x2732ff),_0x5db92b=this['_dependencyManagerService'][_0x2b2462(0xcd)](_0x13a0c6,_0x38cca1,_0x48634d,_0x123558);_0x5db92b!=null?_0x30c3d1[_0x2b2462(0xa8)]=_0x5db92b:(this[_0x2b2462(0x10e)][_0x2b2462(0xf4)](_0x13a0c6,_0x38cca1,_0x48634d,_0x123558,_0x30c3d1),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x30c3d1)),_0x29d002[_0x2b2462(0x95)](_0x57ae0c,_0x30c3d1),_0x495086[_0x2b2462(0x12e)](_0x30c3d1),this['_dependencyTreeCache']['set'](_0x30c3d1['treeId'],_0x30c3d1);}),_0x355097[_0xb8da39(0xaf)]((_0x1662c3,_0x2071eb,_0xa79a0)=>{const _0x31eef5=_0xb8da39;if(_0xa79a0==null)return!0x0;const {x:_0x38a549=0x0,y:_0x62464d=0x0,si:_0x5b8170}=_0xa79a0;if(_0x38a549===0x0&&_0x62464d===0x0&&_0x5b8170!=null)return!0x0;let _0x5ebded;if(_0x5b8170&&_0x29d002[_0x31eef5(0x158)](_0x5b8170)){const _0x363798=_0x29d002['get'](_0x5b8170);_0x5ebded=this['_createVirtualFDtree'](_0x363798,_0xa79a0);}else _0x5ebded=this[_0x31eef5(0x14f)](_0x13a0c6,_0x38cca1,_0x1662c3,_0x2071eb,_0x251bb1,_0xa79a0);const _0x4ade46=this[_0x31eef5(0x10e)]['getFormulaDependency'](_0x13a0c6,_0x38cca1,_0x1662c3,_0x2071eb);_0x4ade46!=null?_0x5ebded[_0x31eef5(0xa8)]=_0x4ade46:(this[_0x31eef5(0x10e)][_0x31eef5(0xf4)](_0x13a0c6,_0x38cca1,_0x1662c3,_0x2071eb,_0x5ebded),this['_dependencyManagerService'][_0x31eef5(0x138)](_0x5ebded)),_0x495086['push'](_0x5ebded),this[_0x31eef5(0x103)]['set'](_0x5ebded[_0x31eef5(0xa8)],_0x5ebded);}),_0x29d002[_0xb8da39(0x124)]();}}}[_0x2346c0(0x14f)](_0x1a6ef2,_0x3a594d,_0x51c0c2,_0x428579,_0x2c42b3,_0x1ad615){const _0x2a8e6e=_0x2346c0,{f:_0x123452,x:_0xc6ae4=0x0,y:_0x5edb0d=0x0}=_0x1ad615,_0x1dba36=new _0x10c157(_0x27f930(this[_0x2a8e6e(0x10e)])),_0x38e655=_0x2c42b3[_0x1a6ef2][_0x3a594d];return _0x1dba36[_0x2a8e6e(0x120)]=_0x123452,_0x1dba36['unitId']=_0x1a6ef2,_0x1dba36[_0x2a8e6e(0x109)]=_0x3a594d,_0x1dba36['row']=_0x51c0c2,_0x1dba36['column']=_0x428579,_0x1dba36[_0x2a8e6e(0xa2)]=_0x38e655['rowCount'],_0x1dba36[_0x2a8e6e(0xac)]=_0x38e655[_0x2a8e6e(0xac)],_0x1dba36;}[_0x2346c0(0x110)](){const _0x1027fb=_0x2346c0,_0x5027cc=[],_0x535e93=new Set(),_0x571547=this['_currentConfigService'][_0x1027fb(0x142)](),_0x10f92d=this[_0x1027fb(0x11c)][_0x1027fb(0x10c)](),_0xf4e6ff=this['_dependencyManagerService']['searchDependency'](_0x10f92d),_0x4fc1d4=this[_0x1027fb(0xe5)][_0x1027fb(0xb8)](_0x10f92d);for(const _0x17f711 of _0x4fc1d4)_0xf4e6ff[_0x1027fb(0x11b)](_0x17f711);for(const [_0x13af49,_0x4c6a94]of this[_0x1027fb(0x103)])(_0x571547||_0x4c6a94['isDirty']||_0x4c6a94[_0x1027fb(0x13e)](this[_0x1027fb(0x11c)]['getDirtyNameMap']())||_0xf4e6ff[_0x1027fb(0x158)](_0x13af49)&&!_0x4c6a94[_0x1027fb(0xa9)](this[_0x1027fb(0x11c)]['getExcludedRange']()))&&!_0x535e93['has'](_0x13af49)&&(_0x5027cc[_0x1027fb(0x12e)](_0x4c6a94),_0x535e93['add'](_0x13af49));for(const [_0x395973,_0x1a35e3]of this[_0x1027fb(0x103)])_0x1a35e3['isVirtual']||(_0x1a35e3['rangeList'][_0x1027fb(0x162)]=0x0);return _0x5027cc;}[_0x2346c0(0xff)](_0x12ba41){const _0x4b7974=_0x2346c0;return this[_0x4b7974(0x103)][_0x4b7974(0xfe)](_0x12ba41);}[_0x2346c0(0x108)](_0x35ada9){const _0x5b150e=_0x2346c0;return _0x17a39c(_0x35ada9[_0x5b150e(0x107)],_0x35ada9[_0x5b150e(0x120)],this[_0x5b150e(0x106)],this[_0x5b150e(0xd9)],this[_0x5b150e(0x11c)]);}*[_0x2346c0(0xb1)](_0x254ee3,_0x2b4b97){const _0x5cd568=_0x2346c0,_0x284510=_0x254ee3,_0x482e4e=new Set();for(;_0x284510[_0x5cd568(0x162)]>0x0;){const _0x44619f=_0x284510[_0x5cd568(0xd6)]();if(_0x482e4e[_0x5cd568(0x124)](),_0x44619f===void 0x0||_0x44619f[_0x5cd568(0x99)]())continue;if(_0x44619f['isAdded']()){yield _0x44619f,_0x44619f[_0x5cd568(0xe0)](),_0x2b4b97[_0x5cd568(0x11b)](_0x44619f['treeId']);continue;}const _0x107929=this[_0x5cd568(0x10e)][_0x5cd568(0x134)](_0x44619f[_0x5cd568(0x8e)](),_0x2b4b97),_0x21fc25=this[_0x5cd568(0xe5)][_0x5cd568(0xb8)](_0x44619f[_0x5cd568(0x8e)](),_0x2b4b97);for(const _0x579cd9 of _0x21fc25)_0x107929[_0x5cd568(0x11b)](_0x579cd9);for(const _0x3db806 of _0x107929){const _0x51853e=this[_0x5cd568(0x103)][_0x5cd568(0xfe)](_0x3db806);if(!_0x51853e){console[_0x5cd568(0x91)](_0x5cd568(0x13f),_0x3db806);continue;}_0x51853e[_0x5cd568(0x10f)]()||_0x44619f[_0x5cd568(0x99)]()||_0x482e4e[_0x5cd568(0x11b)](_0x51853e);}if(_0x107929[_0x5cd568(0x124)](),_0x482e4e[_0x5cd568(0x143)]===0x0)yield _0x44619f,_0x44619f[_0x5cd568(0xe0)](),_0x2b4b97[_0x5cd568(0x11b)](_0x44619f['treeId']);else{_0x44619f[_0x5cd568(0xd5)](),_0x284510['push'](_0x44619f);for(const _0x4b23b0 of _0x482e4e)_0x284510[_0x5cd568(0x12e)](_0x4b23b0);}}_0x284510[_0x5cd568(0x162)]=0x0,_0x482e4e['clear']();}[_0x2346c0(0x130)](_0x583bca){const _0x2a3ac9=_0x2346c0,_0xf5e4ab=[],_0x2bef5d=new Set();for(const _0x2c0a55 of this[_0x2a3ac9(0xb1)](_0x583bca,_0x2bef5d))_0xf5e4ab[_0x2a3ac9(0x12e)](_0x2c0a55);return _0xf5e4ab;}async[_0x2346c0(0x149)](){const _0x4979bc=_0x2346c0;return await this[_0x4979bc(0x145)](),Array['from'](this[_0x4979bc(0x103)][_0x4979bc(0xb5)]());}['_getDependencyTreeParenIds'](_0x1acbd7){const _0x5f48bc=_0x2346c0;return this['_dependencyManagerService']['searchDependency'](_0x1acbd7[_0x5f48bc(0x8e)]());}[_0x2346c0(0xf6)](_0x2d82a6){const _0x3c9e7a=_0x2346c0,_0x261700=new Set(),_0x39e3c9=_0x2d82a6[_0x3c9e7a(0x147)];for(const [_0xb6aab5,_0x22c9e0]of this[_0x3c9e7a(0x103)])for(const _0x37d6da of _0x39e3c9){const _0x358d98=_0x37d6da[_0x3c9e7a(0x107)],_0x1df130=_0x37d6da[_0x3c9e7a(0xed)];if(_0x22c9e0[_0x3c9e7a(0x107)]!==_0x358d98||_0x22c9e0[_0x3c9e7a(0x109)]!==_0x1df130)continue;const _0x475998=_0x37d6da[_0x3c9e7a(0xe1)];if(_0x22c9e0['inRangeData'](_0x475998)){_0x261700[_0x3c9e7a(0x11b)](_0xb6aab5);break;}}return _0x261700;}[_0x2346c0(0xb3)](){const _0xeef08f=_0x2346c0;this[_0xeef08f(0x10e)][_0xeef08f(0x155)]();}['_endFormulaDependencyTreeModel'](){const _0x49317a=_0x2346c0;this['_formulaDependencyTreeModel'][_0x49317a(0x124)](),this[_0x49317a(0x103)][_0x49317a(0x124)](),this[_0x49317a(0x10e)]['closeKdTree']();}}class be extends _0xb5a392{async[_0x2346c0(0x113)](_0x38c13c=!0x1){const _0x407a52=_0x2346c0;_0x38c13c?this[_0x407a52(0xeb)][_0x407a52(0xb4)](_0x141169[_0x407a52(0xbc)]):this['_runtimeService']['setFormulaExecuteStage'](_0x141169[_0x407a52(0x122)]),this[_0x407a52(0xc3)][_0x407a52(0x123)](this[_0x407a52(0xeb)][_0x407a52(0x9e)]());const _0x4ad6dc=await this[_0x407a52(0x11e)]['generate'](this['_isCalculateTreeModel']),_0x41f20e=this[_0x407a52(0x96)];_0x38c13c?(this['_runtimeService'][_0x407a52(0xb4)](_0x141169[_0x407a52(0x12c)]),this[_0x407a52(0xeb)]['setTotalArrayFormulasToCalculate'](_0x4ad6dc['length'])):(this['_runtimeService'][_0x407a52(0xb4)](_0x141169[_0x407a52(0xe7)]),this[_0x407a52(0xeb)][_0x407a52(0xc7)](_0x4ad6dc[_0x407a52(0x162)])),this[_0x407a52(0xc3)][_0x407a52(0x123)](this[_0x407a52(0xeb)][_0x407a52(0x9e)]());let _0x3de857=[];const _0xe8c45=this[_0x407a52(0xdd)][_0x407a52(0xbd)](_0x4b7f0b),_0x8c5b2c=(_0xe8c45==null?void 0x0:_0xe8c45[_0x407a52(0x14e)])||_0x20d54d;let _0x512f66=0x0;const _0x3c9ee1=_0x4ad6dc[_0x407a52(0x162)];for(;_0x4ad6dc['length']>0x0;){const _0x47aaae=_0x4ad6dc[_0x407a52(0xd6)](),_0x3f4181=_0x17a39c(_0x47aaae[_0x407a52(0x107)],_0x47aaae[_0x407a52(0x120)],this[_0x407a52(0x106)],this[_0x407a52(0xd9)],this[_0x407a52(0x11c)]),_0x20026f={'node':_0x3f4181,'refOffsetX':_0x47aaae['refOffsetX'],'refOffsetY':_0x47aaae[_0x407a52(0xd4)]},_0x426650=_0x47aaae[_0x407a52(0xad)];if(_0x512f66%_0x8c5b2c===0x0&&(await new Promise(_0x41f83d=>{const _0x10181a=_0x407a52,_0x4ea9b0=_0x197f66(_0x41f83d);_0x3de857[_0x10181a(0x12e)](_0x4ea9b0);}),_0x38c13c?(this[_0x407a52(0xeb)][_0x407a52(0xb4)](_0x141169[_0x407a52(0x15e)]),this[_0x407a52(0xeb)][_0x407a52(0x98)](_0x512f66+0x1)):(this[_0x407a52(0xeb)][_0x407a52(0xb4)](_0x141169[_0x407a52(0xf5)]),this[_0x407a52(0xeb)][_0x407a52(0x144)](_0x512f66+0x1)),this['_executionInProgressListener$'][_0x407a52(0x123)](this[_0x407a52(0xeb)][_0x407a52(0x9e)]()),this[_0x407a52(0xeb)][_0x407a52(0x9c)]()||_0x20026f==null&&_0x426650==null)){this[_0x407a52(0xeb)][_0x407a52(0xb4)](_0x141169['IDLE']),this[_0x407a52(0xeb)][_0x407a52(0x116)](),this[_0x407a52(0xe9)][_0x407a52(0x123)](this['_runtimeService'][_0x407a52(0xbe)]());return;}this[_0x407a52(0xeb)][_0x407a52(0x121)](_0x47aaae['row'],_0x47aaae[_0x407a52(0x12d)],_0x47aaae[_0x407a52(0xa2)],_0x47aaae[_0x407a52(0xac)],_0x47aaae[_0x407a52(0x109)],_0x47aaae[_0x407a52(0x107)]);let _0x2443d2;if(_0x426650!=null&&_0x47aaae[_0x407a52(0x128)]!=null){const {runtimeCellData:_0x1e638a,dirtyRanges:_0x430f24}=_0x426650(this['_currentConfigService']['getDirtyData'](),this[_0x407a52(0xeb)][_0x407a52(0xbe)]());this[_0x407a52(0xeb)][_0x407a52(0xcb)](_0x47aaae['featureId'],_0x1e638a),this['_runtimeService'][_0x407a52(0xcf)](_0x47aaae[_0x407a52(0x128)],_0x430f24);}else _0x20026f!=null&&(_0x41f20e['checkAsyncNode'](_0x20026f[_0x407a52(0x97)])?_0x2443d2=await _0x41f20e[_0x407a52(0x14b)](_0x20026f):_0x2443d2=_0x41f20e[_0x407a52(0x140)](_0x20026f),_0x47aaae[_0x407a52(0x9a)]!=null?this[_0x407a52(0xeb)][_0x407a52(0x137)](_0x47aaae[_0x407a52(0x9a)],_0x47aaae['refOffsetX'],_0x47aaae[_0x407a52(0xd4)],_0x2443d2):this[_0x407a52(0xeb)][_0x407a52(0x9d)](_0x2443d2));_0x3f4181[_0x407a52(0x160)](),_0x512f66++;}return _0x3de857['forEach'](_0x1f963d=>_0x1f963d()),_0x3de857=[],_0x3c9ee1>0x0?this[_0x407a52(0xeb)][_0x407a52(0x133)]():_0x38c13c||this[_0x407a52(0xeb)][_0x407a52(0xe2)](),this[_0x407a52(0xeb)][_0x407a52(0xbe)]();}}class Se extends _0x816548{constructor(){const _0x2a0f6e=_0x2346c0;super(...arguments),E(this,_0x2a0f6e(0x11a),new Map()),E(this,_0x2a0f6e(0x14a),new _0x4c4691(!0x0));}[_0x2346c0(0x13b)](){const _0x1b95f8=_0x2346c0;this[_0x1b95f8(0xab)]['clear'](),this[_0x1b95f8(0xc6)][_0x1b95f8(0x124)](),this[_0x1b95f8(0x10d)]['clear'](),this['_dependencyRTreeCache'][_0x1b95f8(0x124)](),this['_allTreeMap'][_0x1b95f8(0x124)](),this['_restDependencyTreeId'](),this[_0x1b95f8(0x119)]['clear']();}[_0x2346c0(0x15c)](_0x2dcc59,_0x4cd9a3,_0x57eb8e,_0x4069f5){const _0x4b752a=_0x2346c0;this[_0x4b752a(0xab)][_0x4b752a(0x158)](_0x2dcc59)||this[_0x4b752a(0xab)][_0x4b752a(0x95)](_0x2dcc59,new Map());const _0xf6195a=this['_otherFormulaData'][_0x4b752a(0xfe)](_0x2dcc59);_0xf6195a['has'](_0x4cd9a3)||_0xf6195a[_0x4b752a(0x95)](_0x4cd9a3,new Map());const _0x4f8544=_0xf6195a['get'](_0x4cd9a3);_0x4f8544[_0x4b752a(0x158)](_0x57eb8e)||_0x4f8544[_0x4b752a(0x95)](_0x57eb8e,new _0x125afe()),_0x4f8544[_0x4b752a(0xfe)](_0x57eb8e)['setValue'](_0x4069f5[_0x4b752a(0x154)],_0x4069f5[_0x4b752a(0xd4)],_0x4069f5[_0x4b752a(0xa8)]);}[_0x2346c0(0xb7)](_0x5c0dcd,_0x1c5ea1,_0x4abdd1){const _0x5ed5ad=_0x2346c0,_0x4831ad=this['_otherFormulaData']['get'](_0x5c0dcd);if(_0x4831ad&&_0x4831ad[_0x5ed5ad(0x158)](_0x1c5ea1)){const _0x47cd94=_0x4831ad['get'](_0x1c5ea1);_0x4abdd1[_0x5ed5ad(0x101)](_0x435e4a=>{const _0x34d2b2=_0x5ed5ad,_0x40d2af=_0x47cd94[_0x34d2b2(0xfe)](_0x435e4a);_0x40d2af!=null&&(_0x40d2af[_0x34d2b2(0xaf)]((_0x40715b,_0xd55727,_0x543745)=>{const _0x32f2cb=_0x34d2b2;this[_0x32f2cb(0xf1)](_0x543745),this[_0x32f2cb(0x12b)](_0x543745);}),_0x47cd94['delete'](_0x435e4a),this[_0x34d2b2(0x119)][_0x34d2b2(0xd8)](_0x435e4a));}),_0x47cd94[_0x5ed5ad(0x143)]===0x0&&_0x4831ad[_0x5ed5ad(0xd8)](_0x1c5ea1),_0x4831ad[_0x5ed5ad(0x143)]===0x0&&this['_otherFormulaData'][_0x5ed5ad(0xd8)](_0x5c0dcd);}}[_0x2346c0(0x151)](_0x5eedd8,_0x492dc4){const _0x581d98=_0x2346c0,_0x24a6bb=this['_otherFormulaData'][_0x581d98(0xfe)](_0x5eedd8);if(_0x492dc4&&_0x24a6bb&&_0x24a6bb[_0x581d98(0x158)](_0x492dc4)){const _0x202cac=_0x24a6bb[_0x581d98(0xfe)](_0x492dc4);this[_0x581d98(0xce)](_0x5eedd8,_0x492dc4);for(const _0x42203a of _0x202cac[_0x581d98(0x12f)]()){const _0xb3ff16=_0x202cac[_0x581d98(0xfe)](_0x42203a);_0xb3ff16!=null&&(_0xb3ff16[_0x581d98(0xaf)]((_0x4d835e,_0x5c0cb5,_0x5ca413)=>{const _0x28f3a0=_0x581d98;this[_0x28f3a0(0x11a)][_0x28f3a0(0xfe)](_0x5ca413)&&this['_removeAllTreeMap'](_0x5ca413);}),this[_0x581d98(0x119)][_0x581d98(0xd8)](_0x42203a));}_0x202cac['clear']();}else{if(_0x24a6bb){for(const _0x3ed0e0 of _0x24a6bb[_0x581d98(0x12f)]()){const _0x17c73a=_0x24a6bb[_0x581d98(0xfe)](_0x3ed0e0);this[_0x581d98(0xce)](_0x5eedd8,_0x3ed0e0);for(const _0x575f76 of _0x17c73a[_0x581d98(0x12f)]()){const _0x47f600=_0x17c73a[_0x581d98(0xfe)](_0x575f76);_0x47f600!=null&&(_0x47f600[_0x581d98(0xaf)]((_0x377d70,_0x39a654,_0x2b0fe4)=>{const _0x12b8c5=_0x581d98;this[_0x12b8c5(0x11a)]['get'](_0x2b0fe4)&&this[_0x12b8c5(0x12b)](_0x2b0fe4);}),this[_0x581d98(0x119)][_0x581d98(0xd8)](_0x575f76));}}this['_otherFormulaData']['delete'](_0x5eedd8);}}}[_0x2346c0(0x100)](_0x3a5e25,_0x17e733,_0x33eff2,_0x5bf9c3){const _0x4e251d=_0x2346c0;this[_0x4e251d(0xc6)]['has'](_0x3a5e25)||this[_0x4e251d(0xc6)][_0x4e251d(0x95)](_0x3a5e25,new Map());const _0x28a4a2=this[_0x4e251d(0xc6)][_0x4e251d(0xfe)](_0x3a5e25);_0x28a4a2['has'](_0x17e733)||_0x28a4a2[_0x4e251d(0x95)](_0x17e733,new Map()),_0x28a4a2[_0x4e251d(0xfe)](_0x17e733)[_0x4e251d(0x95)](_0x33eff2,_0x5bf9c3[_0x4e251d(0xa8)]);}[_0x2346c0(0xfc)](_0xd27e76,_0xc38485,_0x415a52){const _0x2c2eb8=_0x2346c0,_0x2db47b=this['_featureFormulaData'][_0x2c2eb8(0xfe)](_0xd27e76);if(_0x2db47b&&_0x2db47b[_0x2c2eb8(0x158)](_0xc38485)){const _0x3b28f0=_0x2db47b[_0x2c2eb8(0xfe)](_0xc38485);_0x415a52[_0x2c2eb8(0x101)](_0x2f4a48=>{const _0x450a71=_0x2c2eb8,_0x1e22f2=_0x3b28f0['get'](_0x2f4a48);_0x1e22f2!=null&&(this['_removeDependencyRTreeCache'](_0x1e22f2),_0x3b28f0[_0x450a71(0xd8)](_0x2f4a48),this[_0x450a71(0x12b)](_0x1e22f2));});}}['clearFeatureFormulaDependency'](_0x50c5a9,_0xb01ec1){const _0x2a15fb=_0x2346c0,_0x424aa2=this['_featureFormulaData'][_0x2a15fb(0xfe)](_0x50c5a9);if(_0xb01ec1&&_0x424aa2&&_0x424aa2[_0x2a15fb(0x158)](_0xb01ec1)){const _0x518ca5=_0x424aa2[_0x2a15fb(0xfe)](_0xb01ec1);this[_0x2a15fb(0xce)](_0x50c5a9,_0xb01ec1),_0x518ca5['forEach'](_0x44eda5=>{_0x44eda5!=null&&this['_removeAllTreeMap'](_0x44eda5);}),_0x518ca5['clear']();}else _0x424aa2&&(_0x424aa2[_0x2a15fb(0x101)]((_0x12f12d,_0x51e437)=>{const _0x587352=_0x2a15fb;this[_0x587352(0xce)](_0x50c5a9,_0x51e437),_0x12f12d[_0x587352(0x101)](_0x3f544f=>{_0x3f544f!=null&&this['_removeAllTreeMap'](_0x3f544f);});}),this[_0x2a15fb(0xc6)][_0x2a15fb(0xd8)](_0x50c5a9));}[_0x2346c0(0xf4)](_0x474e29,_0xe23e96,_0x36947f,_0x281837,_0x2f62c7){const _0x22fea9=_0x2346c0;this['_formulaData']['has'](_0x474e29)||this['_formulaData']['set'](_0x474e29,new Map());const _0x3ca96d=this[_0x22fea9(0x10d)][_0x22fea9(0xfe)](_0x474e29);_0x3ca96d['has'](_0xe23e96)||_0x3ca96d[_0x22fea9(0x95)](_0xe23e96,new _0x125afe()),_0x3ca96d[_0x22fea9(0xfe)](_0xe23e96)[_0x22fea9(0x14d)](_0x36947f,_0x281837,_0x2f62c7['treeId']);}['removeFormulaDependency'](_0x5ee638,_0x33a3f3,_0x4f3ad3,_0x4b5a5c){const _0x16bda4=_0x2346c0,_0x2c602c=this[_0x16bda4(0x10d)][_0x16bda4(0xfe)](_0x5ee638);if(_0x2c602c&&_0x2c602c[_0x16bda4(0x158)](_0x33a3f3)){const _0x49c1d6=_0x2c602c[_0x16bda4(0xfe)](_0x33a3f3),_0xaaca9c=_0x49c1d6[_0x16bda4(0x15f)](_0x4f3ad3,_0x4b5a5c);if(_0xaaca9c==null)return;this[_0x16bda4(0xf1)](_0xaaca9c),_0x49c1d6[_0x16bda4(0x156)](_0x4f3ad3,_0x4b5a5c),this[_0x16bda4(0x12b)](_0xaaca9c);}}['clearFormulaDependency'](_0x232b77,_0x3975dd){const _0x1986da=_0x2346c0,_0x5b902b=this[_0x1986da(0x10d)]['get'](_0x232b77);if(_0x3975dd&&_0x5b902b&&_0x5b902b[_0x1986da(0x158)](_0x3975dd)){const _0x37e5b7=_0x5b902b[_0x1986da(0xfe)](_0x3975dd);this[_0x1986da(0xce)](_0x232b77,_0x3975dd),_0x37e5b7[_0x1986da(0xaf)]((_0x3566aa,_0xd929a4,_0x25f112)=>{const _0x81309d=_0x1986da;if(_0x25f112==null)return!0x0;this[_0x81309d(0x12b)](_0x25f112);}),_0x37e5b7['reset']();}else _0x5b902b&&(_0x5b902b[_0x1986da(0x101)]((_0xadda5d,_0x4ad6bb)=>{const _0x418c06=_0x1986da;this[_0x418c06(0xce)](_0x232b77,_0x4ad6bb),_0xadda5d[_0x418c06(0xaf)]((_0x30882e,_0x2e9a23,_0x30d81f)=>{const _0x5bdaf3=_0x418c06;if(_0x30d81f==null)return!0x0;this[_0x5bdaf3(0x12b)](_0x30d81f);});}),this[_0x1986da(0x10d)][_0x1986da(0xd8)](_0x232b77));}[_0x2346c0(0xf1)](_0xd502b0){const _0x39560a=_0x2346c0;if(_0xd502b0==null)return;const _0x6a65cd=this[_0x39560a(0x11a)][_0x39560a(0xfe)](_0xd502b0);if(_0x6a65cd){const _0x346581=[];for(const [_0x54c1a9,_0x4700ba]of _0x6a65cd)for(const [_0x2b74b9,_0x1ea954]of _0x4700ba)_0x346581[_0x39560a(0x12e)]({'unitId':_0x54c1a9,'sheetId':_0x2b74b9,'range':_0x1ea954,'id':_0xd502b0});this[_0x39560a(0x14a)][_0x39560a(0x12a)](_0x346581);}}[_0x2346c0(0x11f)](_0x5bc36f,_0x5db073){const _0xd249d6=_0x2346c0,_0x5c01aa=this[_0xd249d6(0xc0)][_0xd249d6(0xfe)](_0x5bc36f);if(_0x5c01aa){const _0x3d673f=_0x5c01aa[_0xd249d6(0xfe)](_0x5db073);if(_0x3d673f){for(const _0x1288c8 of _0x3d673f)this[_0xd249d6(0xf1)](_0x1288c8),this[_0xd249d6(0x12b)](_0x1288c8);_0x3d673f['clear']();}}}[_0x2346c0(0x155)](){const _0x18dc62=_0x2346c0;this[_0x18dc62(0x14a)][_0x18dc62(0x155)]();}[_0x2346c0(0x112)](){const _0x638fbd=_0x2346c0;this['_dependencyRTreeCache'][_0x638fbd(0x112)]();}['_removeAllTreeMap'](_0x15cc17){const _0x36d954=_0x2346c0;_0x15cc17!=null&&this[_0x36d954(0x11a)][_0x36d954(0xd8)](_0x15cc17);}['_addAllTreeMap'](_0x26f02f){const _0x431d6e=_0x2346c0;var _0x4cd951,_0x1a602b;const _0x55e8be=_0x26f02f['rangeList'];let _0x442d9d=this[_0x431d6e(0x11a)][_0x431d6e(0xfe)](_0x26f02f[_0x431d6e(0xa8)]);for(let _0x121c49=0x0;_0x121c49<_0x55e8be[_0x431d6e(0x162)];_0x121c49++){const _0xbe7ba2=_0x55e8be[_0x121c49];let {unitId:_0x5aa452,sheetId:_0x5255aa,range:_0x1eb1d0}=_0xbe7ba2;_0x442d9d||(_0x442d9d=new Map(),this[_0x431d6e(0x11a)][_0x431d6e(0x95)](_0x26f02f[_0x431d6e(0xa8)],_0x442d9d)),_0x442d9d[_0x431d6e(0x158)](_0x5aa452)||_0x442d9d[_0x431d6e(0x95)](_0x5aa452,new Map());const _0x2c17c2=(_0x4cd951=_0x442d9d==null?void 0x0:_0x442d9d[_0x431d6e(0xfe)](_0x5aa452))==null?void 0x0:_0x4cd951[_0x431d6e(0xfe)](_0x5255aa);_0x2c17c2&&(_0x1eb1d0={'startRow':Math[_0x431d6e(0x135)](_0x1eb1d0[_0x431d6e(0xc4)],_0x2c17c2[_0x431d6e(0xc4)]),'startColumn':Math[_0x431d6e(0x135)](_0x1eb1d0[_0x431d6e(0x150)],_0x2c17c2[_0x431d6e(0x150)]),'endRow':Math['max'](_0x1eb1d0[_0x431d6e(0xb2)],_0x2c17c2['endRow']),'endColumn':Math[_0x431d6e(0xc5)](_0x1eb1d0['endColumn'],_0x2c17c2[_0x431d6e(0xf3)])}),(_0x1a602b=_0x442d9d[_0x431d6e(0xfe)](_0x5aa452))==null||_0x1a602b[_0x431d6e(0x95)](_0x5255aa,_0x1eb1d0);}}}var xe=Object[_0x2346c0(0x141)],Ie=(_0x1b3e2f,_0x2b437f,_0x21ad79,_0xc60ebc)=>{const _0xf4b156=_0x2346c0;for(var _0x4e1e64=_0xc60ebc>0x1?void 0x0:_0xc60ebc?xe(_0x2b437f,_0x21ad79):_0x2b437f,_0xa69e6a=_0x1b3e2f[_0xf4b156(0x162)]-0x1,_0x377033;_0xa69e6a>=0x0;_0xa69e6a--)(_0x377033=_0x1b3e2f[_0xa69e6a])&&(_0x4e1e64=_0x377033(_0x4e1e64)||_0x4e1e64);return _0x4e1e64;};const Ae=Number['parseInt'](0x6974655c);let G=class extends _0x15dbd5{[_0x2346c0(0x13c)](){const _0x10b7ec=_0x2346c0;var _0xc23f8a,_0xc55adb;this[_0x10b7ec(0xd2)]()?(this[_0x10b7ec(0x92)][_0x10b7ec(0x11b)]([_0x1572d6,{'useClass':De}]),(_0xc23f8a=this[_0x10b7ec(0xdf)])!=null&&_0xc23f8a[_0x10b7ec(0x146)]||[[_0x3e866a,{'useClass':be}],[_0x22a90a,{'useClass':Se}],[_0x46d08d,{'useClass':ve}]][_0x10b7ec(0x101)](_0x468cdb=>this[_0x10b7ec(0x92)]['add'](_0x468cdb))):(this[_0x10b7ec(0x92)][_0x10b7ec(0x11b)]([_0x1572d6,{'useClass':_0x1572d6}]),(_0xc55adb=this['_config'])!=null&&_0xc55adb['notExecuteFormula']||[[_0x3e866a,{'useClass':_0xb5a392}],[_0x22a90a,{'useClass':_0x4a6dda}],[_0x46d08d,{'useClass':_0x408b11}]]['forEach'](_0x12f2fc=>this['_injector'][_0x10b7ec(0x11b)](_0x12f2fc)));}[_0x2346c0(0xd2)](){const _0x5d682f=_0x2346c0;var _0x422d16;const _0x3ef225=(_0x422d16=this[_0x5d682f(0xdd)]['getConfig'](_0xe551fa))!=null?_0x422d16:{},{ls:_0x5c5bb2,pbk:_0x47e3e4}=_0x3ef225;if(!_0x5c5bb2||!_0x47e3e4)return!0x1;const _0x4762fd=_0x4e93ea(Me,Ke),_0x59db9f=new Function(_0x5d682f(0xa0)+_0x4762fd)()(_0x5c5bb2,_0x47e3e4),_0x381e7b=_0x59db9f[_0x5d682f(0x159)];return _0x59db9f[_0x5d682f(0xb0)]&&_0x2d775c(_0x381e7b,'sf',Ae)?_0x39e87c(_0x381e7b,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};G=Ie([_0x177e13(_0x3b40f0)],G);function _0x42e6(_0x13a505,_0x25bca0){_0x13a505=_0x13a505-0x8d;const _0x2af0bc=_0x2af0();let _0x42e666=_0x2af0bc[_0x13a505];return _0x42e666;}export{De as LexerTreeProBuilder,G as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x3b7171=_0xa750;(function(_0x43e022,_0x296029){const _0x27c62b=_0xa750,_0x517cd1=_0x43e022();while(!![]){try{const _0x445769=-parseInt(_0x27c62b(0x16b))/0x1+parseInt(_0x27c62b(0x18f))/0x2*(parseInt(_0x27c62b(0x1ca))/0x3)+parseInt(_0x27c62b(0x17d))/0x4+parseInt(_0x27c62b(0x187))/0x5*(parseInt(_0x27c62b(0x15f))/0x6)+-parseInt(_0x27c62b(0x1e2))/0x7+-parseInt(_0x27c62b(0x1b3))/0x8*(-parseInt(_0x27c62b(0x160))/0x9)+-parseInt(_0x27c62b(0x170))/0xa*(-parseInt(_0x27c62b(0x16f))/0xb);if(_0x445769===_0x296029)break;else _0x517cd1['push'](_0x517cd1['shift']());}catch(_0x557f9b){_0x517cd1['push'](_0x517cd1['shift']());}}}(_0x469f,0x538c1));var se=Object[_0x3b7171(0x1c0)],ae=(_0xa977b8,_0x1118d3,_0x225f0b)=>_0x1118d3 in _0xa977b8?se(_0xa977b8,_0x1118d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225f0b}):_0xa977b8[_0x1118d3]=_0x225f0b,R=(_0x33d329,_0x5c6a3f,_0x4517c8)=>ae(_0x33d329,typeof _0x5c6a3f!=_0x3b7171(0x1c5)?_0x5c6a3f+'':_0x5c6a3f,_0x4517c8);import{LexerTreeBuilder as _0x35cde1,ErrorType as _0x4e0214,DEFAULT_TOKEN_TYPE_ROOT as _0xd1f1c9,DEFAULT_TOKEN_TYPE_PARAMETER as _0x10f2d2,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3fa491,NEW_EXCEL_FUNCTIONS as _0x453ace,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13a2f1,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x177c16,matchToken as _0x422006,SUFFIX_TOKEN_SET as _0x3d773e,prefixToken as _0x295481,LexerNode as _0x5a7194,OPERATOR_TOKEN_SET as _0x275386,isReferenceString as _0x50ffb1,splitTableStructuredRef as _0x306d2d,FormulaDependencyGenerator as _0x3a778c,generateRandomDependencyTreeId as _0x441375,FormulaDependencyTree as _0x5fb721,FormulaDependencyTreeType as _0x31bf64,FormulaDependencyTreeVirtual as _0x112f86,generateAstNode as _0xd66bc,CalculateFormulaService as _0x1b5a01,FormulaExecuteStageType as _0x25b66f,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x534be7,DEFAULT_INTERVAL_COUNT as _0xb2c5e1,DependencyManagerBaseService as _0x38c21d,UniverFormulaEnginePlugin as _0xdbd3ae,ICalculateFormulaService as _0x49a66a,IDependencyManagerService as _0x2992e0,IFormulaDependencyGenerator as _0x3af20c,DependencyManagerService as _0x2af0a6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0xa750(_0x4947d4,_0x99bac7){_0x4947d4=_0x4947d4-0x140;const _0x469fcd=_0x469f();let _0xa7508=_0x469fcd[_0x4947d4];return _0xa7508;}import{UniverLicensePlugin as _0x4663c3,LS_CONFIG_KEY as _0x5e4a49,unshiftString as _0x2df6c9,isFeatureAuthorizedWithinTime as _0x2e7448,getSheetFeatureLimit as _0x44add5}from'@univerjs-pro/license';import{ObjectMatrix as _0x17396b,requestImmediateMacroTask as _0x2c2b32,RTree as _0x1c1cad,DependentOn as _0x4b2943}from'@univerjs/core';class De extends _0x35cde1{constructor(){const _0x19df81=_0x3b7171;super(...arguments),R(this,'_hasNewExcelFunction',!0x1),R(this,_0x19df81(0x17a),new Set()),R(this,_0x19df81(0x1e6),_0x19df81(0x16d)),R(this,_0x19df81(0x1d9),_0x19df81(0x1ce)),R(this,'_currentUnitId','');}[_0x3b7171(0x19f)](){const _0x15bc76=_0x3b7171;this[_0x15bc76(0x1e6)]=_0x15bc76(0x16d),this['_xlfnPrefix']=_0x15bc76(0x1ce);}[_0x3b7171(0x140)](){const _0x1165cd=_0x3b7171;this[_0x1165cd(0x1e6)]='',this[_0x1165cd(0x1d9)]='';}[_0x3b7171(0x148)](_0x1ef22e,_0x34f785){const _0x311387=_0x3b7171,_0x367adc=this[_0x311387(0x1b1)](_0x1ef22e,!0x1);if(!_0x367adc||_0x367adc===_0x4e0214[_0x311387(0x1a1)]||Array[_0x311387(0x1f0)](_0x367adc))return null;const _0x3c7962=[];return this[_0x311387(0x1de)]=!0x1,this[_0x311387(0x1cf)](_0x367adc,_0x3c7962,_0x34f785),this[_0x311387(0x1de)]?'='+_0x3c7962[_0x311387(0x161)](''):null;}[_0x3b7171(0x1cf)](_0x29d16c,_0x661bc0,_0x5c09dc){const _0x3d880b=_0x3b7171,_0x11d12e=_0x29d16c[_0x3d880b(0x158)](),_0x7d7b21=_0x11d12e['trim'](),_0x4dc8a1=_0x7d7b21[_0x3d880b(0x20a)](),_0x18ed5d=this[_0x3d880b(0x192)](_0x4dc8a1),_0x313474=_0x5c09dc(_0x18ed5d);let _0xc025f2=0x0;_0x11d12e===_0xd1f1c9?_0xc025f2=0x3:_0x11d12e===_0x10f2d2?_0xc025f2=0x4:_0x11d12e===_0x3fa491?_0xc025f2=0x5:_0x453ace[_0x3d880b(0x209)](_0x18ed5d)?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this['_hasNewExcelFunction']=!0x0):_0x4dc8a1===_0x13a2f1?(_0x661bc0['push'](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x2):_0x4dc8a1===_0x177c16?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x1):_0x4dc8a1===_0x422006[_0x3d880b(0x1dd)]?_0xc025f2=0x8:_0x3d773e['has'](_0x4dc8a1)?_0xc025f2=0x7:_0x4dc8a1===_0x295481[_0x3d880b(0x215)]?(this[_0x3d880b(0x145)](_0x29d16c)&&(_0xc025f2=0x9),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e)):(_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),_0xc025f2=0xa),_0x313474?(_0xc025f2!==0x2&&_0xc025f2!==0x1&&(_0xc025f2=0x6),_0x661bc0[_0x3d880b(0x1ee)]('(')):_0xc025f2===0x9&&_0x661bc0[_0x3d880b(0x1ee)]('(');const _0x5af79a=_0x29d16c[_0x3d880b(0x194)](),_0xf45120=_0x5af79a[_0x3d880b(0x186)];if(_0xc025f2===0x2){const _0x3d012f=_0x5af79a[0x0];let _0x1b3b94=0x0;_0x3d012f instanceof _0x5a7194&&_0x3d012f['getToken']()===_0x3fa491&&(_0x1b3b94=0x1);for(let _0x42fc1d=_0x1b3b94;_0x42fc1d<_0xf45120-0x1;_0x42fc1d++){const _0x5b6c83=_0x5af79a[_0x42fc1d];if(_0x5b6c83 instanceof _0x5a7194){const _0x290bd9=_0x5b6c83[_0x3d880b(0x194)]()[0x0];typeof _0x290bd9==_0x3d880b(0x212)&&(this['_lambdaFunctionParameterSet'][_0x3d880b(0x209)](_0x290bd9)&&console[_0x3d880b(0x193)]('Lambda\x20parameter\x20name\x20\x22'+_0x290bd9+'\x22\x20is\x20duplicated.'),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x290bd9),_0x661bc0['push'](''+this[_0x3d880b(0x1e6)]+_0x290bd9),this['_hasNewExcelFunction']=!0x0);}_0x661bc0[_0x3d880b(0x1ee)](',');}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x1b3b94===0x1&&(_0x661bc0[_0x3d880b(0x1ee)](')'),_0x661bc0[_0x3d880b(0x1ee)]('('),this['_generateNewFunctionString'](_0x3d012f,_0x661bc0,_0x5c09dc)),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x1){for(let _0x4fce7d=0x0;_0x4fce7d<_0xf45120-0x1;_0x4fce7d++){const _0x49bc6b=_0x5af79a[_0x4fce7d];if(_0x49bc6b instanceof _0x5a7194&&_0x4fce7d%0x2===0x0){const _0x22d032=_0x49bc6b[_0x3d880b(0x194)]()[0x0];if(typeof _0x22d032=='string'){this[_0x3d880b(0x17a)]['has'](_0x22d032)&&console[_0x3d880b(0x193)](_0x3d880b(0x202)+_0x22d032+_0x3d880b(0x171)),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x22d032),_0x661bc0[_0x3d880b(0x1ee)](''+this['_xlpmPrefix']+_0x22d032),this[_0x3d880b(0x1de)]=!0x0,_0x661bc0[_0x3d880b(0x1ee)](',');continue;}}if(this[_0x3d880b(0x210)](_0x49bc6b,_0x661bc0,_0x5c09dc),_0x49bc6b instanceof _0x5a7194){const _0x6a5158=_0x5af79a[_0x4fce7d+0x1];_0x6a5158&&_0x6a5158 instanceof _0x5a7194&&_0x661bc0['push'](',');}}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x8){const _0xe8ee21=_0x5af79a[0x0],_0x1514ed=_0x5af79a[0x1];this[_0x3d880b(0x210)](_0xe8ee21,_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),this[_0x3d880b(0x210)](_0x1514ed,_0x661bc0,_0x5c09dc);return;}}}for(let _0x16d732=0x0;_0x16d732<_0xf45120;_0x16d732++){const _0xded915=_0x5af79a[_0x16d732];if(this[_0x3d880b(0x210)](_0xded915,_0x661bc0,_0x5c09dc),_0xded915 instanceof _0x5a7194){const _0x3fa6f1=_0x5af79a[_0x16d732+0x1];_0x3fa6f1&&_0x3fa6f1 instanceof _0x5a7194&&_0x661bc0[_0x3d880b(0x1ee)](',');}}_0xc025f2===0x7&&_0x661bc0['push'](_0x11d12e),(_0x313474||_0xc025f2===0x9)&&_0x661bc0[_0x3d880b(0x1ee)](')');}['_handleNewFunctionChild'](_0x51cf54,_0x1d15f8,_0xddea91){const _0x1bdafd=_0x3b7171;_0x51cf54 instanceof _0x5a7194?this[_0x1bdafd(0x1cf)](_0x51cf54,_0x1d15f8,_0xddea91):this[_0x1bdafd(0x17a)][_0x1bdafd(0x209)](_0x51cf54)?(_0x1d15f8['push'](''+this['_xlpmPrefix']+_0x51cf54),this[_0x1bdafd(0x1de)]=!0x0):_0x1d15f8[_0x1bdafd(0x1ee)](_0x51cf54);}['_clearFunctionString'](_0x52075e){const _0x4624c8=_0x3b7171;let _0x4a7a71=_0x52075e[_0x4624c8(0x16a)]();if(!_0x4a7a71)return _0x4a7a71;const _0xc09178=_0x4a7a71[0x0];if((_0xc09178===_0x295481['AT']||_0xc09178===_0x295481[_0x4624c8(0x215)]||_0xc09178===_0x295481[_0x4624c8(0x174)])&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x1)),!_0x4a7a71)return _0x4a7a71;const _0x2d48e1=_0x4a7a71[_0x4a7a71[_0x4624c8(0x186)]-0x1];return _0x3d773e[_0x4624c8(0x209)](_0x2d48e1)&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x0,-0x1)),_0x4a7a71;}[_0x3b7171(0x145)](_0x43c62c){const _0x114d8e=_0x3b7171,_0x555fbe=_0x43c62c[_0x114d8e(0x194)]()[0x0];if(!_0x555fbe||!(_0x555fbe instanceof _0x5a7194)||_0x43c62c[_0x114d8e(0x194)]()[_0x114d8e(0x186)]>0x1)return!0x1;const _0x201f46=_0x555fbe[_0x114d8e(0x194)](),_0x48ce31=_0x201f46['length'];if(_0x48ce31===0x1)return!0x1;for(let _0x2de34f=0x0;_0x2de34f<_0x48ce31;_0x2de34f++){const _0x4be642=_0x201f46[_0x2de34f];if(!(_0x4be642 instanceof _0x5a7194)&&_0x275386[_0x114d8e(0x209)](_0x4be642))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x445d1e,_0x1f4e04,_0x20a710,_0x2b13e5,_0x270242){const _0x51cb66=_0x3b7171,_0x3170d1=this[_0x51cb66(0x1b1)](_0x445d1e,!0x1);if(!_0x3170d1||_0x3170d1===_0x4e0214['VALUE']||Array['isArray'](_0x3170d1))return null;this[_0x51cb66(0x140)](),this[_0x51cb66(0x1db)]=_0x1f4e04;const _0x129d2f=this[_0x51cb66(0x20d)](_0x3170d1,_0x20a710,_0x2b13e5,_0x270242);return this['_currentUnitId']='',this[_0x51cb66(0x19f)](),_0x129d2f;}['_generateExprTree'](_0x3d458d,_0xf3de29,_0x29ef1b,_0x437592){const _0x1bfb21=_0x3b7171,_0x14900f={'value':'','children':[],'startIndex':0x0};let _0x108d77=_0x3d458d;if(_0x108d77 instanceof _0x5a7194&&(_0x108d77[_0x1bfb21(0x158)]()===_0xd1f1c9||_0x108d77['getToken']()===_0x10f2d2)&&_0x108d77[_0x1bfb21(0x194)]()[_0x1bfb21(0x186)]===0x1&&(_0x108d77=_0x108d77[_0x1bfb21(0x194)]()[0x0]),!(_0x108d77 instanceof _0x5a7194))return this[_0x1bfb21(0x1d3)](_0x108d77,_0x29ef1b,_0x437592);const _0x2974d2=_0x108d77[_0x1bfb21(0x194)](),_0x4d05fb=_0x2974d2['length'],_0xe0edc3=[];this[_0x1bfb21(0x1cf)](_0x108d77,_0xe0edc3,_0xf3de29),_0x14900f[_0x1bfb21(0x203)]=_0xe0edc3['join'](''),_0x14900f[_0x1bfb21(0x1b5)]=_0x108d77[_0x1bfb21(0x1e7)]();const _0x14d661=this[_0x1bfb21(0x1a3)](_0x108d77);if(_0x14d661===0x2){const _0x5061eb=_0x2974d2[0x0];if(_0x5061eb instanceof _0x5a7194){if(_0x5061eb[_0x1bfb21(0x158)]()['trim']()!==_0x3fa491)return _0x14900f;this['_handleLambdaForExprTree'](_0x5061eb,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592);}return _0x14900f;}else{if(_0x14d661===0x1){for(let _0x52ed41=0x0;_0x52ed41<_0x4d05fb-0x1;_0x52ed41++){const _0x5a674d=_0x2974d2[_0x52ed41];if(_0x5a674d instanceof _0x5a7194&&_0x52ed41%0x2===0x1){const _0x344311=_0x5a674d['getChildren']();if(_0x344311[_0x1bfb21(0x186)]===0x1&&!(_0x344311[0x0]instanceof _0x5a7194))continue;const _0x5a8499=this[_0x1bfb21(0x20d)](_0x5a674d,_0xf3de29,_0x29ef1b,_0x437592);_0x5a8499&&_0x14900f[_0x1bfb21(0x1b8)][_0x1bfb21(0x1ee)](_0x5a8499);}}return _0x14900f;}else{if(_0x14d661===0x8){const _0x573266=_0x2974d2[0x0];if(_0x573266 instanceof _0x5a7194){const _0x3d0b1b=_0x573266[_0x1bfb21(0x194)]()[0x0];_0x3d0b1b instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x3d0b1b[_0x1bfb21(0x1e7)]());}if(this[_0x1bfb21(0x191)](_0x108d77))return _0x14900f;}else{if(_0x14d661===0x7){const _0x3e312d=_0x2974d2[0x0];if(_0x3e312d instanceof _0x5a7194){const _0x5eddcd=_0x3e312d[_0x1bfb21(0x194)]()[0x0];_0x5eddcd instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x5eddcd[_0x1bfb21(0x1e7)]());}}}}}return this['_handleChildrenForExprTree'](_0x2974d2,_0x14d661,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592),_0x14900f;}[_0x3b7171(0x20b)](_0x4a2bdf,_0x4be348,_0x2cfb5e,_0x40eb0b,_0x3b5816,_0x17ef8e){const _0x3451ef=_0x3b7171;for(let _0x151256=0x0;_0x151256<_0x4a2bdf[_0x3451ef(0x186)];_0x151256++){let _0x40331d=_0x4a2bdf[_0x151256];if(!(_0x40331d instanceof _0x5a7194)){const _0x302218=this[_0x3451ef(0x1d3)](_0x40331d,_0x3b5816,_0x17ef8e);_0x302218&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x302218);continue;}const _0x3d5e77=_0x40331d[_0x3451ef(0x194)]();if(_0x3d5e77['length']===0x1&&!(_0x3d5e77[0x0]instanceof _0x5a7194)){const _0x1b57ad=_0x3d5e77[0x0];if(!_0x3b5816(this[_0x3451ef(0x1db)],_0x1b57ad)&&!this[_0x3451ef(0x173)](_0x1b57ad,_0x17ef8e)&&!_0x50ffb1(_0x1b57ad))continue;}if(_0x4be348===0x8){const _0x3c1ecc=_0x3d5e77[0x0];if(_0x3c1ecc instanceof _0x5a7194){const _0x5f470b=_0x3c1ecc[_0x3451ef(0x158)]()['trim']();if(_0x50ffb1(_0x5f470b))continue;_0x40331d=_0x3c1ecc;}}const _0x55263b=this[_0x3451ef(0x20d)](_0x40331d,_0x40eb0b,_0x3b5816,_0x17ef8e);_0x55263b&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x55263b);}}[_0x3b7171(0x191)](_0x3d53fe){const _0x537d5d=_0x3b7171,_0x1f859e=_0x3d53fe[_0x537d5d(0x194)]();if(_0x1f859e['length']<0x2)return!0x1;const _0x49aeb2=_0x1f859e[0x0],_0x18404e=_0x1f859e[0x1];if(!(_0x49aeb2 instanceof _0x5a7194)||!(_0x18404e instanceof _0x5a7194))return!0x1;const _0x49ab77=_0x49aeb2[_0x537d5d(0x194)]()[0x0],_0x1aeffd=_0x18404e[_0x537d5d(0x194)]()[0x0];if(!(_0x49ab77 instanceof _0x5a7194)||!(_0x1aeffd instanceof _0x5a7194))return!0x1;const _0xc3de9a=_0x49ab77[_0x537d5d(0x158)]()[_0x537d5d(0x16a)](),_0x375bd0=_0x1aeffd[_0x537d5d(0x158)]()[_0x537d5d(0x16a)]();return!!_0x50ffb1(''+_0xc3de9a+_0x422006[_0x537d5d(0x1dd)]+_0x375bd0);}[_0x3b7171(0x1d3)](_0x28d286,_0x2bcb05,_0x3eb7b2){const _0x1f616b=_0x3b7171,_0x408afa=_0x28d286[_0x1f616b(0x16a)]();return _0x408afa[_0x1f616b(0x1d2)]('{')&&_0x408afa[_0x1f616b(0x164)]('}')||_0x2bcb05(this[_0x1f616b(0x1db)],_0x408afa)||this['_getTableNameFromStructuredRef'](_0x408afa,_0x3eb7b2)||_0x50ffb1(_0x408afa)?{'value':_0x408afa,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x296022,_0x2855ca){const {tableName:_0xdce46e}=_0x306d2d(_0x296022);return _0x2855ca(this['_currentUnitId'],_0xdce46e)?_0xdce46e:null;}['_handleLambdaForExprTree'](_0x5ea45a,_0x491eaf,_0x49c890,_0x480386,_0x20a0ab){const _0x18cfed=_0x3b7171,_0x514958=_0x5ea45a['getChildren']();for(let _0x3a663d=0x0;_0x3a663d<_0x514958[_0x18cfed(0x186)];_0x3a663d++){const _0x21a274=_0x514958[_0x3a663d];if(!(_0x21a274 instanceof _0x5a7194))continue;const _0xc624fb=_0x21a274[_0x18cfed(0x194)]();if(_0xc624fb['length']===0x1&&!(_0xc624fb[0x0]instanceof _0x5a7194))continue;const _0x1a7c34=this[_0x18cfed(0x20d)](_0x21a274,_0x49c890,_0x480386,_0x20a0ab);_0x1a7c34&&_0x491eaf[_0x18cfed(0x1b8)]['push'](_0x1a7c34);}}[_0x3b7171(0x1a3)](_0x31468e){const _0x2da2e1=_0x3b7171,_0x29a03f=_0x31468e['getToken'](),_0x35bd66=_0x29a03f[_0x2da2e1(0x16a)]()[_0x2da2e1(0x20a)]();let _0x9ed5a5=0x0;return _0x29a03f===_0xd1f1c9?_0x9ed5a5=0x3:_0x29a03f===_0x10f2d2?_0x9ed5a5=0x4:_0x29a03f===_0x3fa491?_0x9ed5a5=0x5:_0x35bd66===_0x13a2f1?_0x9ed5a5=0x2:_0x35bd66===_0x177c16?_0x9ed5a5=0x1:_0x35bd66===_0x422006[_0x2da2e1(0x1dd)]?_0x9ed5a5=0x8:_0x3d773e['has'](_0x35bd66)?_0x9ed5a5=0x7:_0x35bd66===_0x295481[_0x2da2e1(0x215)]?this[_0x2da2e1(0x145)](_0x31468e)&&(_0x9ed5a5=0x9):_0x9ed5a5=0xa,_0x9ed5a5;}}const we={0x0:'S',0x1:'d',0x2:'W',0x3:'T',0x4:'2',0x5:'G',0x6:'z',0x7:'x',0x8:'Y',0x9:'V','g':'0','l':'1','c':'3','E':'4','k':'5','q':'6','T':'7','j':'8','y':'9','C':'a','o':'b','N':'c','z':'e','d':'f','J':'g','r':'h','w':'i','v':'j','S':'k','f':'l','B':'m','b':'n','R':'o','a':'p','G':'q','K':'r','m':'s','H':'t','W':'u','A':'v','L':'w','h':'y','p':'A','e':'B','X':'C','I':'D','n':'E','\x20':'F','x':'H','M':'I','P':'J','F':'K','s':'L','U':'M','u':'N','t':'O','D':'P','Y':'Q','O':'R','V':'U','i':'X','Q':'Z','Z':'\x20'},Ne=_0x3b7171(0x14b);function _0x469f(){const _0x14e3f2=['START_DEPENDENCY_ARRAY_FORMULA','clear','setCompletedArrayFormulasCount','_isCyclicUtilMap','setRuntimeFeatureRange','treeBuilder','_otherFormulaDataMainData','1208TagvYx','column','startIndex','_checkIsCycleDependency','_registerOtherFormulas','children','set','addFeatureFormulaDependency','setRuntimeFeatureCellData','delete','getRuntimeState','_updateRangeFlatten','refOffsetY','defineProperty','clearFormulaDependency','_getTreeNode','isDirty','startRow','symbol','closeKdTree','_getFeatureFormulaTree','_getDependencyTreeChildrenIds','_removeAllTreeMap','403659rbmIXr','max','_config','getDirtyData','_xlfn.','_generateNewFunctionString','_initializeGenerateTreeList','FEATURE_FORMULA','startsWith','_handleTextNodeForExprTree','forEach','addFormulaDependencyByDefinedName','setSkip','rangeList','_definedNameMap','_xlfnPrefix','markedAsNoFunctionsExecuted','_currentUnitId','forValue','COLON','_hasNewExcelFunction','treeId','pop','_removeDependencyRTreeCacheById','2056348ULlaaM','realDeleteValue','notExecuteFormula','_dependencyRTreeCache','_xlpmPrefix','getStartIndex','removeFeatureFormulaDependency','_removeDependencyRTreeCache','slice','_dependencyRTreeCacheForAddressFunction','bulkRemove','subUnitId','push','addFormulaDependency','isArray','toRTreeItem','_executionCompleteListener$','clearFeatureFormulaDependency','OTHER_FORMULA','rowCount','featureId','removeOtherFormulaDependency','range','valid','execute','addOtherFormulaDependency','_initializeWithOverride','_getUpdateTreeListAndMakeDependency','formula','type','endColumn','isSkip','Let\x20variable\x20name\x20\x22','value','getDirtyNameMap','keys','_otherFormulaData','_dependencyTreeCache','_injector','has','toUpperCase','_handleChildrenForExprTree','isAdded','_generateExprTree','getOtherFormulaData','getValue','_handleNewFunctionChild','_addAllTreeMap','string','row','getOwnPropertyDescriptor','MINUS','setTotalArrayFormulasToCalculate','_clearPrefix','START_CALCULATION_ARRAY_FORMULA','setCompletedFormulasCount','_featureFormulaData','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_checkAddBracketForMinus','get','_getFirstCellOfRange','getNewFormulaWithPrefix','refOffsetX','removeFormulaDependency','/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH(\x27-\x27);ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z\x27Wb1zdwbz1\x27Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z\x27Wb1zdwbz1\x27Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z\x27Wb1zdwbz1\x27;ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr(\x27*.\x27))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr(\x27.\x27)Z&&ZrRmH.zb1m2wHr(\x27.\x27Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z\x27fRNCfrRmH\x27)Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}','isForceCalculate','setFormulaExecuteStage','getFormulaDependency','_lexer','setRuntimeOtherData','hasOtherFormulaDataMainData','_createFDtree','searchDependency','_runtimeService','add','parseInt','_createVirtualFDtree','getToken','bulkSearch','setCurrent','next','getConfig','_currentConfigService','markedAsStopFunctionsExecuted','42246TuGxzb','9981VCYvNQ','join','getOtherFormulaDependency','generate','endsWith','sheetId','_astTreeBuilder','intervalCount','_interpreter','openKdTree','trim','265690JXEoGA','setValue','_xlpm.','_traverse','752081avjCyN','10OeNMvs','\x22\x20is\x20duplicated.','getClearDependencyTreeCache','_getTableNameFromStructuredRef','PLUS','isCache','getAllRuntimeData','return\x20','setRuntimeData','startColumn','_lambdaFunctionParameterSet','inRangeData','_calculateRunList','1590004eSyHus','reset','refTree','getDirtyRanges','setAdded','CURRENTLY_CALCULATING','dispose','endRow','START_DEPENDENCY','length','95dBUavg','_getTreeById','_dependencyManagerService','_endFormulaDependencyTreeModel','node','_convertDirtyRangesToUnitRange','START_CALCULATION','getFormulaData','2zssJdG','getUnitData','_checkColonNodeForExprTree','_clearFunctionString','error','getChildren','unitId','columnCount','IDLE','_formulaData','isStopExecution','dependencySheetName','size','formulaId','_startFormulaDependencyTreeModel','isExcludeRange','_resetPrefix','min','VALUE','checkAsyncNode','_getCurNodeTypeForExprTree','_allTreeMap','setDependencyTreeModelData','_configService','resolve','_initLicenseValid','CURRENTLY_CALCULATING_ARRAY_FORMULA','values','_executionInProgressListener$'];_0x469f=function(){return _0x14e3f2;};return _0x469f();}class Me extends _0x3a778c{constructor(){const _0x5de802=_0x3b7171;super(...arguments),R(this,_0x5de802(0x207),new Map());}['dispose'](){const _0x1bdadc=_0x3b7171;super[_0x1bdadc(0x183)](),this[_0x1bdadc(0x207)][_0x1bdadc(0x1ad)]();}async[_0x3b7171(0x163)](_0x4e072e=!0x1){const _0x312465=_0x3b7171;this[_0x312465(0x1be)]();const _0x3167e8=this[_0x312465(0x15d)][_0x312465(0x18e)](),_0x220bde=this['_otherFormulaManagerService'][_0x312465(0x20e)](),_0x21efed=this[_0x312465(0x15d)][_0x312465(0x172)]();_0x21efed!=null&&Object[_0x312465(0x205)](_0x21efed)['forEach'](_0x501c33=>{const _0x5a5612=_0x312465;_0x501c33!=null&&Object['keys'](_0x21efed[_0x501c33])[_0x5a5612(0x1d4)](_0x216972=>{const _0x5e6fc3=_0x5a5612;_0x216972!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)][_0x5e6fc3(0x1f3)](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)]['clearFormulaDependency'](_0x501c33,_0x216972));});});const _0x200191=this[_0x312465(0x15d)][_0x312465(0x190)]();await this['_generateTreeList'](_0x3167e8,_0x220bde,_0x200191),this['_dependencyManagerService'][_0x312465(0x169)]();const _0x416f64=this['_getUpdateTreeListAndMakeDependency'](),_0x511d8e=this[_0x312465(0x17c)](_0x416f64);return this[_0x312465(0x1b6)](_0x511d8e)&&this['_runtimeService']['enableCycleDependency'](),_0x4e072e&&this[_0x312465(0x154)][_0x312465(0x1a5)](this['_getAllDependencyJson'](Array['from'](this[_0x312465(0x207)]['values']()))),this[_0x312465(0x207)][_0x312465(0x1ad)](),this[_0x312465(0x1eb)][_0x312465(0x1ad)](),this[_0x312465(0x189)][_0x312465(0x1c6)](),this['_runtimeService']['clearArrayObjectCache'](),Promise[_0x312465(0x1a7)](_0x511d8e);}[_0x3b7171(0x1af)](_0x25ff35,_0x8691c4){const _0x22a4b8=_0x3b7171,_0x3c9d4f=[_0x25ff35];for(;_0x3c9d4f[_0x22a4b8(0x186)]>0x0;){const _0x14988f=_0x3c9d4f[_0x3c9d4f[_0x22a4b8(0x186)]-0x1];if((_0x8691c4[_0x22a4b8(0x146)](_0x14988f)||0x0)===0x0){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x1);const _0x34dcc3=this[_0x22a4b8(0x207)][_0x22a4b8(0x146)](_0x14988f);if(_0x34dcc3==null){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x2),_0x3c9d4f['pop']();continue;}const _0x329585=this[_0x22a4b8(0x189)]['searchDependency'](_0x34dcc3[_0x22a4b8(0x1f1)]());for(const _0x4b33b3 of _0x329585){const _0x34b688=_0x8691c4[_0x22a4b8(0x146)](_0x4b33b3)||0x0;if(_0x34b688===0x1)return!0x0;_0x34b688===0x0&&_0x3c9d4f[_0x22a4b8(0x1ee)](_0x4b33b3);}}else _0x8691c4['set'](_0x14988f,0x2),_0x3c9d4f['pop']();}return!0x1;}[_0x3b7171(0x1b6)](_0x5baf71){const _0x182a77=_0x3b7171,_0x115b07=new Map();for(const _0x3dc597 of _0x5baf71)if(!_0x115b07[_0x182a77(0x209)](_0x3dc597[_0x182a77(0x1df)])&&this[_0x182a77(0x1af)](_0x3dc597[_0x182a77(0x1df)],_0x115b07))return!0x0;return _0x115b07[_0x182a77(0x1ad)](),!0x1;}[_0x3b7171(0x1c7)](_0x23246a,_0x28842e,_0x953448){const _0x39ffdc=_0x3b7171,{unitId:_0x156192,subUnitId:_0xb93b75,dependencyRanges:_0x3455ba,getDirtyData:_0x52710e}=_0x953448,_0x56cc7a=_0x28842e||_0x441375(this[_0x39ffdc(0x189)]),_0x522489=new _0x5fb721(_0x56cc7a);_0x522489[_0x39ffdc(0x195)]=_0x156192,_0x522489[_0x39ffdc(0x1ed)]=_0xb93b75,_0x522489[_0x39ffdc(0x1d7)]=_0x3455ba,_0x522489[_0x39ffdc(0x1cd)]=_0x52710e;const _0x8d376f=_0x52710e(this['_currentConfigService']['getDirtyData'](),this[_0x39ffdc(0x154)]['getAllRuntimeData']()),_0x333bad=this[_0x39ffdc(0x18c)](_0x8d376f['dirtyRanges']);return _0x522489['featureDirtyRanges']=_0x333bad,_0x522489[_0x39ffdc(0x1f6)]=_0x23246a,_0x522489[_0x39ffdc(0x1ff)]=_0x31bf64[_0x39ffdc(0x1d1)],this[_0x39ffdc(0x189)][_0x39ffdc(0x1ba)](_0x156192,_0xb93b75,_0x23246a,_0x522489),this[_0x39ffdc(0x207)][_0x39ffdc(0x1b9)](_0x522489[_0x39ffdc(0x1df)],_0x522489),this[_0x39ffdc(0x189)]['getFeatureFormulaDependency'](_0x953448[_0x39ffdc(0x195)],_0x953448[_0x39ffdc(0x1ed)],_0x23246a)&&(_0x522489[_0x39ffdc(0x175)]=!0x0),_0x522489;}[_0x3b7171(0x1b7)](_0x5e1515,_0x472b46,_0x50ddb5){const _0x1f6582=_0x3b7171;var _0x1b622d;for(const _0x1efbaf of _0x472b46){const _0x195eda=_0x5e1515[_0x1efbaf];if(_0x195eda==null)continue;const _0x346aef=Object['keys'](_0x195eda);for(const _0x1aca86 of _0x346aef){const _0x2771c8=_0x195eda[_0x1aca86];if(_0x2771c8==null)continue;const _0x42fed6=Object[_0x1f6582(0x205)](_0x2771c8);for(const _0x25e518 of _0x42fed6){const _0x50331a=this[_0x1f6582(0x189)][_0x1f6582(0x151)](_0x25e518),_0x59307a=_0x2771c8[_0x25e518],{f:_0x1665bc,ranges:_0x36a987}=_0x59307a;let _0x492562=!0x1;_0x50331a&&(_0x492562=!0x0);const {firstRow:_0x42ea30,firstColumn:_0x4201ec}=this[_0x1f6582(0x147)](_0x36a987),_0x423755=this['_dependencyManagerService'][_0x1f6582(0x162)](_0x1efbaf,_0x1aca86,_0x25e518),_0x13ffa2=(_0x1b622d=_0x423755==null?void 0x0:_0x423755[_0x1f6582(0x20f)](0x0,0x0))!=null?_0x1b622d:_0x441375(this['_dependencyManagerService']),_0x5e95c9=new _0x5fb721(_0x13ffa2);for(let _0xf169c8=0x0;_0xf169c8<_0x36a987[_0x1f6582(0x186)];_0xf169c8++){const _0xfe47d4=_0x36a987[_0xf169c8],{startRow:_0x139993,startColumn:_0x50eb12,endRow:_0x187f2a,endColumn:_0x124ea9}=_0xfe47d4;for(let _0x5b64b4=_0x139993;_0x5b64b4<=_0x187f2a;_0x5b64b4++)for(let _0x84a4e7=_0x50eb12;_0x84a4e7<=_0x124ea9;_0x84a4e7++){const _0x1d48e1=_0x84a4e7-_0x4201ec,_0x27c5fe=_0x5b64b4-_0x42ea30;if(_0x1d48e1===0x0&&_0x27c5fe===0x0){_0x5e95c9[_0x1f6582(0x1fe)]=_0x1665bc,_0x5e95c9[_0x1f6582(0x195)]=_0x1efbaf,_0x5e95c9[_0x1f6582(0x1ed)]=_0x1aca86,_0x5e95c9[_0x1f6582(0x19c)]=_0x25e518,_0x5e95c9[_0x1f6582(0x1ff)]=_0x31bf64[_0x1f6582(0x1f4)],_0x5e95c9[_0x1f6582(0x175)]=_0x492562,_0x50ddb5[_0x1f6582(0x1ee)](_0x5e95c9),this[_0x1f6582(0x207)][_0x1f6582(0x1b9)](_0x5e95c9['treeId'],_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x5e95c9);continue;}const _0x2290db=new _0x112f86();_0x2290db[_0x1f6582(0x1df)]=(_0x423755==null?void 0x0:_0x423755['getValue'](_0x1d48e1,_0x27c5fe))||_0x441375(this['_dependencyManagerService']),_0x2290db[_0x1f6582(0x17f)]=_0x5e95c9,_0x2290db[_0x1f6582(0x149)]=_0x1d48e1,_0x2290db[_0x1f6582(0x1bf)]=_0x27c5fe,_0x2290db[_0x1f6582(0x175)]=_0x492562,_0x2290db['type']=_0x31bf64['OTHER_FORMULA'],this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x2290db),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x2290db),_0x50ddb5['push'](_0x2290db),this[_0x1f6582(0x207)]['set'](_0x2290db[_0x1f6582(0x1df)],_0x2290db);}}this[_0x1f6582(0x189)]['addOtherFormulaDependencyMainData'](_0x25e518);}}}}['_registerFormulas'](_0x47a680,_0x5ce7ef,_0x3c4003,_0x32ddf7){const _0x32bc65=_0x3b7171;for(const _0x2eb987 of _0x47a680){const _0x5ed5de=_0x5ce7ef[_0x2eb987];if(_0x5ed5de==null)continue;const _0x28345c=Object['keys'](_0x5ed5de);for(const _0x43f097 of _0x28345c){const _0x36d5f0=new _0x17396b(_0x5ed5de[_0x43f097]||{}),_0x189708=new Map();_0x36d5f0[_0x32bc65(0x1dc)]((_0x59d7a7,_0x3d0475,_0x36d7e1)=>{const _0x27d7f9=_0x32bc65;if(_0x36d7e1==null)return!0x0;const {x:_0x130451=0x0,y:y=0x0,si:_0x461cb8}=_0x36d7e1;if(!(_0x130451===0x0&&y===0x0&&_0x461cb8!=null))return!0x0;const _0x197507=this[_0x27d7f9(0x152)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x3c4003,_0x36d7e1),_0xc4526f=this[_0x27d7f9(0x189)][_0x27d7f9(0x14e)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475);_0xc4526f!=null?_0x197507[_0x27d7f9(0x1df)]=_0xc4526f:(this[_0x27d7f9(0x189)][_0x27d7f9(0x1ef)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x197507),this[_0x27d7f9(0x189)][_0x27d7f9(0x1d5)](_0x197507)),_0x189708['set'](_0x461cb8,_0x197507),_0x32ddf7['push'](_0x197507),this[_0x27d7f9(0x207)]['set'](_0x197507[_0x27d7f9(0x1df)],_0x197507);}),_0x36d5f0[_0x32bc65(0x1dc)]((_0x1cc92b,_0x47b7f4,_0x375456)=>{const _0x53efe7=_0x32bc65;if(_0x375456==null)return!0x0;const {x:_0x26781d=0x0,y:y=0x0,si:_0x5642e9}=_0x375456;if(_0x26781d===0x0&&y===0x0&&_0x5642e9!=null)return!0x0;let _0x262260;if(_0x5642e9&&_0x189708['has'](_0x5642e9)){const _0x38da90=_0x189708[_0x53efe7(0x146)](_0x5642e9);_0x262260=this[_0x53efe7(0x157)](_0x38da90,_0x375456);}else _0x262260=this[_0x53efe7(0x152)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x3c4003,_0x375456);const _0x555289=this[_0x53efe7(0x189)][_0x53efe7(0x14e)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4);_0x555289!=null?_0x262260[_0x53efe7(0x1df)]=_0x555289:(this['_dependencyManagerService'][_0x53efe7(0x1ef)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x262260),this[_0x53efe7(0x189)][_0x53efe7(0x1d5)](_0x262260)),_0x32ddf7[_0x53efe7(0x1ee)](_0x262260),this['_dependencyTreeCache'][_0x53efe7(0x1b9)](_0x262260['treeId'],_0x262260);}),_0x189708['clear']();}}}[_0x3b7171(0x152)](_0x872ffe,_0x1aa471,_0x8e1a3a,_0x1ed729,_0x7377b0,_0x372482){const _0x248e89=_0x3b7171,{f:_0x2c6b17,x:_0x3a966e=0x0,y:_0x2f72ca=0x0}=_0x372482,_0x584ee9=new _0x5fb721(_0x441375(this[_0x248e89(0x189)])),_0x4746b1=_0x7377b0[_0x872ffe][_0x1aa471];return _0x584ee9[_0x248e89(0x1fe)]=_0x2c6b17,_0x584ee9['unitId']=_0x872ffe,_0x584ee9[_0x248e89(0x1ed)]=_0x1aa471,_0x584ee9[_0x248e89(0x213)]=_0x8e1a3a,_0x584ee9[_0x248e89(0x1b4)]=_0x1ed729,_0x584ee9[_0x248e89(0x1f5)]=_0x4746b1[_0x248e89(0x1f5)],_0x584ee9[_0x248e89(0x196)]=_0x4746b1['columnCount'],_0x584ee9;}[_0x3b7171(0x1fd)](){const _0x423300=_0x3b7171,_0x30a51a=[],_0x4aa0f2=new Set(),_0x35a8f9=this[_0x423300(0x15d)][_0x423300(0x14c)](),_0x19297c=this[_0x423300(0x15d)][_0x423300(0x180)](),_0x46b2ce=this['_dependencyManagerService']['searchDependency'](_0x19297c),_0x5010c7=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x19297c);for(const _0x2ba849 of _0x5010c7)_0x46b2ce[_0x423300(0x155)](_0x2ba849);for(const [_0x103374,_0x2948ad]of this[_0x423300(0x207)])(_0x35a8f9||_0x2948ad[_0x423300(0x1c3)]||_0x2948ad[_0x423300(0x19a)](this[_0x423300(0x15d)][_0x423300(0x204)]())||_0x46b2ce[_0x423300(0x209)](_0x103374)&&!_0x2948ad[_0x423300(0x19e)](this[_0x423300(0x15d)]['getExcludedRange']()))&&!_0x4aa0f2[_0x423300(0x209)](_0x103374)&&(_0x30a51a[_0x423300(0x1ee)](_0x2948ad),_0x4aa0f2[_0x423300(0x155)](_0x103374));for(const [_0x370069,_0x5f0186]of this[_0x423300(0x207)])_0x5f0186['isVirtual']||(_0x5f0186[_0x423300(0x1d7)]['length']=0x0);return _0x30a51a;}[_0x3b7171(0x188)](_0x5e3336){const _0x343500=_0x3b7171;return this[_0x343500(0x207)]['get'](_0x5e3336);}[_0x3b7171(0x1c2)](_0xf9b77b){const _0x5b8cb8=_0x3b7171;return _0xd66bc(_0xf9b77b[_0x5b8cb8(0x195)],_0xf9b77b[_0x5b8cb8(0x1fe)],this[_0x5b8cb8(0x14f)],this[_0x5b8cb8(0x166)],this['_currentConfigService']);}*[_0x3b7171(0x16e)](_0x2e0870,_0x4ce4e4){const _0x2b2219=_0x3b7171,_0x50a7f7=_0x2e0870,_0x21ff4d=new Set();for(;_0x50a7f7['length']>0x0;){const _0x569643=_0x50a7f7['pop']();if(_0x21ff4d[_0x2b2219(0x1ad)](),_0x569643===void 0x0||_0x569643[_0x2b2219(0x201)]())continue;if(_0x569643['isAdded']()){yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);continue;}const _0x2ee11a=this[_0x2b2219(0x189)][_0x2b2219(0x153)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4),_0xac6854=this[_0x2b2219(0x1eb)][_0x2b2219(0x159)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4);for(const _0x9405a5 of _0xac6854)_0x2ee11a[_0x2b2219(0x155)](_0x9405a5);for(const _0xc0b1fc of _0x2ee11a){const _0x19ead3=this[_0x2b2219(0x207)][_0x2b2219(0x146)](_0xc0b1fc);if(!_0x19ead3){console[_0x2b2219(0x193)](_0x2b2219(0x144),_0xc0b1fc);continue;}_0x19ead3[_0x2b2219(0x20c)]()||_0x569643[_0x2b2219(0x201)]()||_0x21ff4d[_0x2b2219(0x155)](_0x19ead3);}if(_0x2ee11a[_0x2b2219(0x1ad)](),_0x21ff4d[_0x2b2219(0x19b)]===0x0)yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);else{_0x569643[_0x2b2219(0x181)](),_0x50a7f7[_0x2b2219(0x1ee)](_0x569643);for(const _0x4835e9 of _0x21ff4d)_0x50a7f7['push'](_0x4835e9);}}_0x50a7f7[_0x2b2219(0x186)]=0x0,_0x21ff4d[_0x2b2219(0x1ad)]();}[_0x3b7171(0x17c)](_0x383f8b){const _0x3f171d=_0x3b7171,_0x22a3fe=[],_0xb965=new Set();for(const _0x4c1088 of this[_0x3f171d(0x16e)](_0x383f8b,_0xb965))_0x22a3fe[_0x3f171d(0x1ee)](_0x4c1088);return _0x22a3fe;}async['_getAllTreeList'](){const _0x401dec=_0x3b7171;return await this[_0x401dec(0x1d0)](),Array['from'](this[_0x401dec(0x207)][_0x401dec(0x1aa)]());}['_getDependencyTreeParenIds'](_0x503e8b){const _0x3388ee=_0x3b7171;return this['_dependencyManagerService'][_0x3388ee(0x153)](_0x503e8b[_0x3388ee(0x1f1)]());}[_0x3b7171(0x1c8)](_0x16ecd8){const _0x5357c0=_0x3b7171,_0xcf2045=new Set(),_0x525185=_0x16ecd8['rangeList'];for(const [_0x43aeba,_0x582262]of this[_0x5357c0(0x207)])for(const _0x40ea8a of _0x525185){const _0x494d25=_0x40ea8a['unitId'],_0x4d832b=_0x40ea8a[_0x5357c0(0x165)];if(_0x582262[_0x5357c0(0x195)]!==_0x494d25||_0x582262[_0x5357c0(0x1ed)]!==_0x4d832b)continue;const _0x380cf0=_0x40ea8a[_0x5357c0(0x1f8)];if(_0x582262[_0x5357c0(0x17b)](_0x380cf0)){_0xcf2045[_0x5357c0(0x155)](_0x43aeba);break;}}return _0xcf2045;}[_0x3b7171(0x19d)](){const _0x40210c=_0x3b7171;this['_dependencyManagerService'][_0x40210c(0x169)]();}[_0x3b7171(0x18a)](){const _0x453f13=_0x3b7171;this['_formulaDependencyTreeModel'][_0x453f13(0x1ad)](),this[_0x453f13(0x207)]['clear'](),this[_0x453f13(0x189)]['closeKdTree']();}}class ve extends _0x1b5a01{async['_apply'](_0x1eb543=!0x1){const _0x4d531f=_0x3b7171;_0x1eb543?this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x1ac)]):this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x185)]),this['_executionInProgressListener$']['next'](this[_0x4d531f(0x154)]['getRuntimeState']());const _0x531d72=await this['_formulaDependencyGenerator'][_0x4d531f(0x163)](this['_isCalculateTreeModel']),_0x2055da=this[_0x4d531f(0x168)];_0x1eb543?(this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x141)]),this[_0x4d531f(0x154)][_0x4d531f(0x216)](_0x531d72[_0x4d531f(0x186)])):(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x18d)]),this[_0x4d531f(0x154)]['setTotalFormulasToCalculate'](_0x531d72[_0x4d531f(0x186)])),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this['_runtimeService']['getRuntimeState']());let _0x77a161=[];const _0x434afe=this[_0x4d531f(0x1a6)][_0x4d531f(0x15c)](_0x534be7),_0x1f706e=(_0x434afe==null?void 0x0:_0x434afe[_0x4d531f(0x167)])||_0xb2c5e1;let _0x46bf9f=0x0;const _0x50a5a7=_0x531d72[_0x4d531f(0x186)];for(;_0x531d72[_0x4d531f(0x186)]>0x0;){const _0x18f18e=_0x531d72[_0x4d531f(0x1e0)](),_0x5b698e=_0xd66bc(_0x18f18e['unitId'],_0x18f18e[_0x4d531f(0x1fe)],this[_0x4d531f(0x14f)],this[_0x4d531f(0x166)],this[_0x4d531f(0x15d)]),_0x2a7fdc={'node':_0x5b698e,'refOffsetX':_0x18f18e['refOffsetX'],'refOffsetY':_0x18f18e[_0x4d531f(0x1bf)]},_0x3630cb=_0x18f18e['getDirtyData'];if(_0x46bf9f%_0x1f706e===0x0&&(await new Promise(_0x5d66f7=>{const _0x486791=_0x2c2b32(_0x5d66f7);_0x77a161['push'](_0x486791);}),_0x1eb543?(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x1a9)]),this[_0x4d531f(0x154)][_0x4d531f(0x1ae)](_0x46bf9f+0x1)):(this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x182)]),this[_0x4d531f(0x154)][_0x4d531f(0x142)](_0x46bf9f+0x1)),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this[_0x4d531f(0x154)][_0x4d531f(0x1bd)]()),this[_0x4d531f(0x154)][_0x4d531f(0x199)]()||_0x2a7fdc==null&&_0x3630cb==null)){this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x197)]),this['_runtimeService'][_0x4d531f(0x15e)](),this[_0x4d531f(0x1f2)]['next'](this[_0x4d531f(0x154)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4d531f(0x15a)](_0x18f18e[_0x4d531f(0x213)],_0x18f18e[_0x4d531f(0x1b4)],_0x18f18e[_0x4d531f(0x1f5)],_0x18f18e['columnCount'],_0x18f18e['subUnitId'],_0x18f18e[_0x4d531f(0x195)]);let _0x57dd34;if(_0x3630cb!=null&&_0x18f18e['featureId']!=null){const {runtimeCellData:_0x569543,dirtyRanges:_0x12f133}=_0x3630cb(this[_0x4d531f(0x15d)][_0x4d531f(0x1cd)](),this['_runtimeService'][_0x4d531f(0x176)]());this[_0x4d531f(0x154)][_0x4d531f(0x1bb)](_0x18f18e[_0x4d531f(0x1f6)],_0x569543),this[_0x4d531f(0x154)][_0x4d531f(0x1b0)](_0x18f18e[_0x4d531f(0x1f6)],_0x12f133);}else _0x2a7fdc!=null&&(_0x2055da[_0x4d531f(0x1a2)](_0x2a7fdc[_0x4d531f(0x18b)])?_0x57dd34=await _0x2055da['executeAsync'](_0x2a7fdc):_0x57dd34=_0x2055da[_0x4d531f(0x1fa)](_0x2a7fdc),_0x18f18e[_0x4d531f(0x19c)]!=null?this['_runtimeService'][_0x4d531f(0x150)](_0x18f18e[_0x4d531f(0x19c)],_0x18f18e[_0x4d531f(0x149)],_0x18f18e[_0x4d531f(0x1bf)],_0x57dd34):this[_0x4d531f(0x154)][_0x4d531f(0x178)](_0x57dd34));_0x5b698e['resetCalculationState'](),_0x46bf9f++;}return _0x77a161['forEach'](_0xe64f49=>_0xe64f49()),_0x77a161=[],_0x50a5a7>0x0?this[_0x4d531f(0x154)]['markedAsSuccessfullyExecuted']():_0x1eb543||this[_0x4d531f(0x154)][_0x4d531f(0x1da)](),this['_runtimeService'][_0x4d531f(0x176)]();}}class Se extends _0x38c21d{constructor(){super(...arguments),R(this,'_allTreeMap',new Map()),R(this,'_dependencyRTreeCache',new _0x1c1cad(!0x0));}['reset'](){const _0x16a167=_0x3b7171;this[_0x16a167(0x206)][_0x16a167(0x1ad)](),this[_0x16a167(0x143)][_0x16a167(0x1ad)](),this[_0x16a167(0x198)][_0x16a167(0x1ad)](),this['_dependencyRTreeCache'][_0x16a167(0x1ad)](),this['_allTreeMap'][_0x16a167(0x1ad)](),this['_restDependencyTreeId'](),this[_0x16a167(0x1b2)]['clear']();}[_0x3b7171(0x1fb)](_0x348be3,_0x524f2f,_0x2bc486,_0x5953ba){const _0x9705af=_0x3b7171;this[_0x9705af(0x206)][_0x9705af(0x209)](_0x348be3)||this['_otherFormulaData'][_0x9705af(0x1b9)](_0x348be3,new Map());const _0x11e029=this[_0x9705af(0x206)]['get'](_0x348be3);_0x11e029[_0x9705af(0x209)](_0x524f2f)||_0x11e029['set'](_0x524f2f,new Map());const _0x3f16ca=_0x11e029[_0x9705af(0x146)](_0x524f2f);_0x3f16ca[_0x9705af(0x209)](_0x2bc486)||_0x3f16ca[_0x9705af(0x1b9)](_0x2bc486,new _0x17396b()),_0x3f16ca[_0x9705af(0x146)](_0x2bc486)[_0x9705af(0x16c)](_0x5953ba[_0x9705af(0x149)],_0x5953ba[_0x9705af(0x1bf)],_0x5953ba[_0x9705af(0x1df)]);}[_0x3b7171(0x1f7)](_0x27899e,_0x50a4cc,_0x100850){const _0x15fb6c=_0x3b7171,_0x39189c=this[_0x15fb6c(0x206)][_0x15fb6c(0x146)](_0x27899e);if(_0x39189c&&_0x39189c[_0x15fb6c(0x209)](_0x50a4cc)){const _0x30124e=_0x39189c[_0x15fb6c(0x146)](_0x50a4cc);_0x100850['forEach'](_0x4c0f82=>{const _0x251609=_0x15fb6c,_0x3aeb25=_0x30124e[_0x251609(0x146)](_0x4c0f82);_0x3aeb25!=null&&(_0x3aeb25[_0x251609(0x1dc)]((_0x4dcb23,_0x803c24,_0x24d4cb)=>{const _0x35e8d4=_0x251609;this[_0x35e8d4(0x1e9)](_0x24d4cb),this['_removeAllTreeMap'](_0x24d4cb);}),_0x30124e[_0x251609(0x1bc)](_0x4c0f82),this[_0x251609(0x1b2)][_0x251609(0x1bc)](_0x4c0f82));}),_0x30124e[_0x15fb6c(0x19b)]===0x0&&_0x39189c['delete'](_0x50a4cc),_0x39189c[_0x15fb6c(0x19b)]===0x0&&this[_0x15fb6c(0x206)][_0x15fb6c(0x1bc)](_0x27899e);}}['clearOtherFormulaDependency'](_0x178ac8,_0x115a74){const _0x586920=_0x3b7171,_0x49baee=this[_0x586920(0x206)][_0x586920(0x146)](_0x178ac8);if(_0x115a74&&_0x49baee&&_0x49baee[_0x586920(0x209)](_0x115a74)){const _0x4c50ad=_0x49baee[_0x586920(0x146)](_0x115a74);this[_0x586920(0x1e1)](_0x178ac8,_0x115a74);for(const _0x16edb7 of _0x4c50ad['keys']()){const _0xe85da5=_0x4c50ad[_0x586920(0x146)](_0x16edb7);_0xe85da5!=null&&(_0xe85da5[_0x586920(0x1dc)]((_0xdf8400,_0x4b3187,_0x595d89)=>{const _0x531de9=_0x586920;this['_allTreeMap'][_0x531de9(0x146)](_0x595d89)&&this[_0x531de9(0x1c9)](_0x595d89);}),this['_otherFormulaDataMainData'][_0x586920(0x1bc)](_0x16edb7));}_0x4c50ad[_0x586920(0x1ad)]();}else{if(_0x49baee){for(const _0x3742a0 of _0x49baee[_0x586920(0x205)]()){const _0x59fdbe=_0x49baee[_0x586920(0x146)](_0x3742a0);this[_0x586920(0x1e1)](_0x178ac8,_0x3742a0);for(const _0x9e6f38 of _0x59fdbe[_0x586920(0x205)]()){const _0x5db415=_0x59fdbe[_0x586920(0x146)](_0x9e6f38);_0x5db415!=null&&(_0x5db415[_0x586920(0x1dc)]((_0x28d775,_0x400e94,_0x4d14dd)=>{const _0x4ef77b=_0x586920;this['_allTreeMap'][_0x4ef77b(0x146)](_0x4d14dd)&&this[_0x4ef77b(0x1c9)](_0x4d14dd);}),this[_0x586920(0x1b2)][_0x586920(0x1bc)](_0x9e6f38));}}this['_otherFormulaData']['delete'](_0x178ac8);}}}[_0x3b7171(0x1ba)](_0x5b68e1,_0xc896f6,_0x470e3,_0x71f844){const _0x22ca2c=_0x3b7171;this[_0x22ca2c(0x143)][_0x22ca2c(0x209)](_0x5b68e1)||this[_0x22ca2c(0x143)]['set'](_0x5b68e1,new Map());const _0xc11eff=this[_0x22ca2c(0x143)][_0x22ca2c(0x146)](_0x5b68e1);_0xc11eff['has'](_0xc896f6)||_0xc11eff[_0x22ca2c(0x1b9)](_0xc896f6,new Map()),_0xc11eff[_0x22ca2c(0x146)](_0xc896f6)['set'](_0x470e3,_0x71f844[_0x22ca2c(0x1df)]);}[_0x3b7171(0x1e8)](_0x1778f3,_0x29bfc2,_0x460294){const _0x18f384=_0x3b7171,_0x3c7e54=this[_0x18f384(0x143)]['get'](_0x1778f3);if(_0x3c7e54&&_0x3c7e54[_0x18f384(0x209)](_0x29bfc2)){const _0x3b9171=_0x3c7e54['get'](_0x29bfc2);_0x460294[_0x18f384(0x1d4)](_0x30ce90=>{const _0x1730a0=_0x18f384,_0x22c73a=_0x3b9171[_0x1730a0(0x146)](_0x30ce90);_0x22c73a!=null&&(this[_0x1730a0(0x1e9)](_0x22c73a),_0x3b9171['delete'](_0x30ce90),this[_0x1730a0(0x1c9)](_0x22c73a));});}}[_0x3b7171(0x1f3)](_0x2c0669,_0xfbfa92){const _0x4c5798=_0x3b7171,_0x19a91b=this[_0x4c5798(0x143)][_0x4c5798(0x146)](_0x2c0669);if(_0xfbfa92&&_0x19a91b&&_0x19a91b[_0x4c5798(0x209)](_0xfbfa92)){const _0x1e7bf1=_0x19a91b[_0x4c5798(0x146)](_0xfbfa92);this['_removeDependencyRTreeCacheById'](_0x2c0669,_0xfbfa92),_0x1e7bf1[_0x4c5798(0x1d4)](_0x45f73e=>{const _0x3df409=_0x4c5798;_0x45f73e!=null&&this[_0x3df409(0x1c9)](_0x45f73e);}),_0x1e7bf1[_0x4c5798(0x1ad)]();}else _0x19a91b&&(_0x19a91b[_0x4c5798(0x1d4)]((_0xe67035,_0x4a895c)=>{const _0xbf89cb=_0x4c5798;this[_0xbf89cb(0x1e1)](_0x2c0669,_0x4a895c),_0xe67035[_0xbf89cb(0x1d4)](_0x345615=>{_0x345615!=null&&this['_removeAllTreeMap'](_0x345615);});}),this[_0x4c5798(0x143)][_0x4c5798(0x1bc)](_0x2c0669));}[_0x3b7171(0x1ef)](_0x37fc5d,_0x39e1cd,_0x4194b4,_0x582725,_0x35a4eb){const _0x3b0129=_0x3b7171;this[_0x3b0129(0x198)][_0x3b0129(0x209)](_0x37fc5d)||this['_formulaData'][_0x3b0129(0x1b9)](_0x37fc5d,new Map());const _0x159f13=this[_0x3b0129(0x198)][_0x3b0129(0x146)](_0x37fc5d);_0x159f13[_0x3b0129(0x209)](_0x39e1cd)||_0x159f13[_0x3b0129(0x1b9)](_0x39e1cd,new _0x17396b()),_0x159f13[_0x3b0129(0x146)](_0x39e1cd)['setValue'](_0x4194b4,_0x582725,_0x35a4eb[_0x3b0129(0x1df)]);}[_0x3b7171(0x14a)](_0x39ba30,_0x5ee614,_0x1176c5,_0x1ba167){const _0xd897c=_0x3b7171,_0x1c6311=this[_0xd897c(0x198)][_0xd897c(0x146)](_0x39ba30);if(_0x1c6311&&_0x1c6311[_0xd897c(0x209)](_0x5ee614)){const _0x5626e5=_0x1c6311['get'](_0x5ee614),_0x5f6e96=_0x5626e5[_0xd897c(0x20f)](_0x1176c5,_0x1ba167);if(_0x5f6e96==null)return;this[_0xd897c(0x1e9)](_0x5f6e96),_0x5626e5[_0xd897c(0x1e3)](_0x1176c5,_0x1ba167),this['_removeAllTreeMap'](_0x5f6e96);}}[_0x3b7171(0x1c1)](_0x47652e,_0x3465a4){const _0x466907=_0x3b7171,_0x11958d=this[_0x466907(0x198)][_0x466907(0x146)](_0x47652e);if(_0x3465a4&&_0x11958d&&_0x11958d[_0x466907(0x209)](_0x3465a4)){const _0x4a540b=_0x11958d[_0x466907(0x146)](_0x3465a4);this['_removeDependencyRTreeCacheById'](_0x47652e,_0x3465a4),_0x4a540b[_0x466907(0x1dc)]((_0x4a7c10,_0xf93c12,_0x5bfce4)=>{const _0x336ecf=_0x466907;if(_0x5bfce4==null)return!0x0;this[_0x336ecf(0x1c9)](_0x5bfce4);}),_0x4a540b[_0x466907(0x17e)]();}else _0x11958d&&(_0x11958d[_0x466907(0x1d4)]((_0x216ce9,_0x3f163c)=>{const _0x436dd9=_0x466907;this[_0x436dd9(0x1e1)](_0x47652e,_0x3f163c),_0x216ce9[_0x436dd9(0x1dc)]((_0x52b3e3,_0x2db695,_0x1338f4)=>{const _0x46d886=_0x436dd9;if(_0x1338f4==null)return!0x0;this[_0x46d886(0x1c9)](_0x1338f4);});}),this[_0x466907(0x198)]['delete'](_0x47652e));}[_0x3b7171(0x1e9)](_0x1c8eb2){const _0x1a7bd7=_0x3b7171;if(_0x1c8eb2==null)return;const _0x50c256=this[_0x1a7bd7(0x1a4)][_0x1a7bd7(0x146)](_0x1c8eb2);if(_0x50c256){const _0x594a54=[];for(const [_0x4e1db2,_0x2b8313]of _0x50c256)for(const [_0x1d1cae,_0x545fb4]of _0x2b8313)_0x594a54[_0x1a7bd7(0x1ee)]({'unitId':_0x4e1db2,'sheetId':_0x1d1cae,'range':_0x545fb4,'id':_0x1c8eb2});this[_0x1a7bd7(0x1e5)][_0x1a7bd7(0x1ec)](_0x594a54);}}['removeFormulaDependencyByDefinedName'](_0x4a699a,_0x42e1c6){const _0x45bc92=_0x3b7171,_0x5743c1=this[_0x45bc92(0x1d8)][_0x45bc92(0x146)](_0x4a699a);if(_0x5743c1){const _0x49dad8=_0x5743c1[_0x45bc92(0x146)](_0x42e1c6);if(_0x49dad8){for(const _0x318d43 of _0x49dad8)this['_removeDependencyRTreeCache'](_0x318d43),this['_removeAllTreeMap'](_0x318d43);_0x49dad8[_0x45bc92(0x1ad)]();}}}[_0x3b7171(0x169)](){const _0x559e1e=_0x3b7171;this[_0x559e1e(0x1e5)]['openKdTree']();}[_0x3b7171(0x1c6)](){const _0x48897d=_0x3b7171;this['_dependencyRTreeCache'][_0x48897d(0x1c6)]();}['_removeAllTreeMap'](_0x581360){const _0x2ee5d2=_0x3b7171;_0x581360!=null&&this[_0x2ee5d2(0x1a4)][_0x2ee5d2(0x1bc)](_0x581360);}[_0x3b7171(0x211)](_0x4dd7a0){const _0x16c36d=_0x3b7171;var _0x4c2ab2,_0x181169;const _0x4fc2c7=_0x4dd7a0[_0x16c36d(0x1d7)];let _0x53a51f=this[_0x16c36d(0x1a4)][_0x16c36d(0x146)](_0x4dd7a0['treeId']);for(let _0x301571=0x0;_0x301571<_0x4fc2c7['length'];_0x301571++){const _0x87df20=_0x4fc2c7[_0x301571];let {unitId:_0xd87b1c,sheetId:_0x105a6a,range:_0x4b76cd}=_0x87df20;_0x53a51f||(_0x53a51f=new Map(),this[_0x16c36d(0x1a4)][_0x16c36d(0x1b9)](_0x4dd7a0[_0x16c36d(0x1df)],_0x53a51f)),_0x53a51f[_0x16c36d(0x209)](_0xd87b1c)||_0x53a51f[_0x16c36d(0x1b9)](_0xd87b1c,new Map());const _0x329785=(_0x4c2ab2=_0x53a51f==null?void 0x0:_0x53a51f['get'](_0xd87b1c))==null?void 0x0:_0x4c2ab2[_0x16c36d(0x146)](_0x105a6a);_0x329785&&(_0x4b76cd={'startRow':Math['min'](_0x4b76cd['startRow'],_0x329785[_0x16c36d(0x1c4)]),'startColumn':Math[_0x16c36d(0x1a0)](_0x4b76cd[_0x16c36d(0x179)],_0x329785['startColumn']),'endRow':Math[_0x16c36d(0x1cb)](_0x4b76cd['endRow'],_0x329785[_0x16c36d(0x184)]),'endColumn':Math[_0x16c36d(0x1cb)](_0x4b76cd['endColumn'],_0x329785[_0x16c36d(0x200)])}),(_0x181169=_0x53a51f[_0x16c36d(0x146)](_0xd87b1c))==null||_0x181169['set'](_0x105a6a,_0x4b76cd);}}}var be=Object[_0x3b7171(0x214)],xe=(_0x2d2b31,_0x396284,_0x4353cb,_0x107f71)=>{const _0x221920=_0x3b7171;for(var _0x184a83=_0x107f71>0x1?void 0x0:_0x107f71?be(_0x396284,_0x4353cb):_0x396284,_0x2218c2=_0x2d2b31[_0x221920(0x186)]-0x1,_0x5e679a;_0x2218c2>=0x0;_0x2218c2--)(_0x5e679a=_0x2d2b31[_0x2218c2])&&(_0x184a83=_0x5e679a(_0x184a83)||_0x184a83);return _0x184a83;};const ze=Number[_0x3b7171(0x156)](0x6974714d);let G=class extends _0xdbd3ae{[_0x3b7171(0x1fc)](){const _0x49dbbd=_0x3b7171;var _0x12bd1f,_0x1837e7;this[_0x49dbbd(0x1a8)]()?(this[_0x49dbbd(0x208)]['add']([_0x35cde1,{'useClass':De}]),(_0x12bd1f=this[_0x49dbbd(0x1cc)])!=null&&_0x12bd1f[_0x49dbbd(0x1e4)]||[[_0x49a66a,{'useClass':ve}],[_0x2992e0,{'useClass':Se}],[_0x3af20c,{'useClass':Me}]]['forEach'](_0x458696=>this['_injector'][_0x49dbbd(0x155)](_0x458696))):(this[_0x49dbbd(0x208)][_0x49dbbd(0x155)]([_0x35cde1,{'useClass':_0x35cde1}]),(_0x1837e7=this[_0x49dbbd(0x1cc)])!=null&&_0x1837e7['notExecuteFormula']||[[_0x49a66a,{'useClass':_0x1b5a01}],[_0x2992e0,{'useClass':_0x2af0a6}],[_0x3af20c,{'useClass':_0x3a778c}]]['forEach'](_0x3d577b=>this[_0x49dbbd(0x208)]['add'](_0x3d577b)));}['_initLicenseValid'](){const _0x19c906=_0x3b7171;var _0x5a72b6;const _0x335cca=(_0x5a72b6=this[_0x19c906(0x1a6)][_0x19c906(0x15c)](_0x5e4a49))!=null?_0x5a72b6:{},{ls:_0x3a63d6,pbk:_0x4f0caa}=_0x335cca;if(!_0x3a63d6||!_0x4f0caa)return!0x1;const _0x512542=_0x2df6c9(Ne,we),_0x2b1202=new Function(_0x19c906(0x177)+_0x512542)()(_0x3a63d6,_0x4f0caa),_0x29fc4e=_0x2b1202['message'];return _0x2b1202[_0x19c906(0x1f9)]&&_0x2e7448(_0x29fc4e,'sf',ze)?_0x44add5(_0x29fc4e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};G=xe([_0x4b2943(_0x4663c3)],G);export{De as LexerTreeProBuilder,G as UniverProFormulaEnginePlugin};
|
|
@@ -9,57 +9,57 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
u: string;
|
|
13
|
-
H: string;
|
|
14
|
-
y: string;
|
|
15
|
-
i: string;
|
|
16
|
-
e: string;
|
|
17
|
-
V: string;
|
|
18
|
-
F: string;
|
|
19
|
-
k: string;
|
|
20
12
|
g: string;
|
|
21
|
-
I: string;
|
|
22
|
-
K: string;
|
|
23
|
-
n: string;
|
|
24
|
-
J: string;
|
|
25
|
-
s: string;
|
|
26
|
-
E: string;
|
|
27
|
-
T: string;
|
|
28
|
-
p: string;
|
|
29
|
-
U: string;
|
|
30
|
-
c: string;
|
|
31
|
-
Q: string;
|
|
32
13
|
l: string;
|
|
14
|
+
c: string;
|
|
15
|
+
E: string;
|
|
16
|
+
k: string;
|
|
33
17
|
q: string;
|
|
34
|
-
|
|
35
|
-
b: string;
|
|
18
|
+
T: string;
|
|
36
19
|
j: string;
|
|
37
|
-
|
|
38
|
-
Z: string;
|
|
39
|
-
L: string;
|
|
40
|
-
r: string;
|
|
41
|
-
z: string;
|
|
42
|
-
P: string;
|
|
43
|
-
G: string;
|
|
44
|
-
O: string;
|
|
45
|
-
X: string;
|
|
46
|
-
f: string;
|
|
47
|
-
M: string;
|
|
48
|
-
Y: string;
|
|
49
|
-
D: string;
|
|
50
|
-
o: string;
|
|
20
|
+
y: string;
|
|
51
21
|
C: string;
|
|
52
|
-
|
|
53
|
-
w: string;
|
|
22
|
+
o: string;
|
|
54
23
|
N: string;
|
|
55
|
-
|
|
56
|
-
t: string;
|
|
57
|
-
A: string;
|
|
24
|
+
z: string;
|
|
58
25
|
d: string;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
a: string;
|
|
26
|
+
J: string;
|
|
27
|
+
r: string;
|
|
28
|
+
w: string;
|
|
63
29
|
v: string;
|
|
30
|
+
S: string;
|
|
31
|
+
f: string;
|
|
32
|
+
B: string;
|
|
33
|
+
b: string;
|
|
64
34
|
R: string;
|
|
35
|
+
a: string;
|
|
36
|
+
G: string;
|
|
37
|
+
K: string;
|
|
38
|
+
m: string;
|
|
39
|
+
H: string;
|
|
40
|
+
W: string;
|
|
41
|
+
A: string;
|
|
42
|
+
L: string;
|
|
43
|
+
h: string;
|
|
44
|
+
p: string;
|
|
45
|
+
e: string;
|
|
46
|
+
X: string;
|
|
47
|
+
I: string;
|
|
48
|
+
n: string;
|
|
49
|
+
" ": string;
|
|
50
|
+
x: string;
|
|
51
|
+
M: string;
|
|
52
|
+
P: string;
|
|
53
|
+
F: string;
|
|
54
|
+
s: string;
|
|
55
|
+
U: string;
|
|
56
|
+
u: string;
|
|
57
|
+
t: string;
|
|
58
|
+
D: string;
|
|
59
|
+
Y: string;
|
|
60
|
+
O: string;
|
|
61
|
+
V: string;
|
|
62
|
+
i: string;
|
|
63
|
+
Q: string;
|
|
64
|
+
Z: string;
|
|
65
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH('-');ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z'Wb1zdwbz1'Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z'Wb1zdwbz1'Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z'Wb1zdwbz1';ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr('*.'))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr('.')Z&&ZrRmH.zb1m2wHr('.'Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z'fRNCfrRmH')Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3b33(_0x3640b9,_0x3cc4c3){_0x3640b9=_0x3640b9-0x110;var _0x20e3a3=_0x20e3();var _0x3b339a=_0x20e3a3[_0x3640b9];return _0x3b339a;}(function(_0x23f309,_0x2be687){var _0x37f03b=_0x3b33,_0x98d078=_0x23f309();while(!![]){try{var _0x313dad=parseInt(_0x37f03b(0x11a))/0x1*(parseInt(_0x37f03b(0x11d))/0x2)+parseInt(_0x37f03b(0x116))/0x3+parseInt(_0x37f03b(0x11e))/0x4+-parseInt(_0x37f03b(0x113))/0x5+parseInt(_0x37f03b(0x123))/0x6+parseInt(_0x37f03b(0x117))/0x7+parseInt(_0x37f03b(0x114))/0x8*(-parseInt(_0x37f03b(0x11b))/0x9);if(_0x313dad===_0x2be687)break;else _0x98d078['push'](_0x98d078['shift']());}catch(_0x28709a){_0x98d078['push'](_0x98d078['shift']());}}}(_0x20e3,0xc9e12),function(_0x29cec1,_0x39ffb8){var _0x4eee65=_0x3b33;typeof exports==_0x4eee65(0x119)&&typeof module<'u'?_0x39ffb8(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x4eee65(0x121)&&define[_0x4eee65(0x122)]?define([_0x4eee65(0x11c),'@univerjs/engine-formula/facade'],_0x39ffb8):(_0x29cec1=typeof globalThis<'u'?globalThis:_0x29cec1||self,_0x39ffb8(_0x29cec1['UniverProEngineFormulaFacade']={},_0x29cec1[_0x4eee65(0x118)]));}(this,function(_0x584611,_0x3c1d38){'use strict';var _0x55447c=_0x3b33;Object['keys'](_0x3c1d38)[_0x55447c(0x120)](_0x1d0f11=>{var _0x21cc72=_0x55447c;_0x1d0f11!==_0x21cc72(0x112)&&!Object['prototype']['hasOwnProperty'][_0x21cc72(0x110)](_0x584611,_0x1d0f11)&&Object[_0x21cc72(0x11f)](_0x584611,_0x1d0f11,{'enumerable':!0x0,'get':()=>_0x3c1d38[_0x1d0f11]});}),Object['defineProperty'](_0x584611,Symbol[_0x55447c(0x111)],{'value':_0x55447c(0x115)});}));function _0x20e3(){var _0x417eb1=['23QvHZXR','39870bpGCxW','exports','64046vBgLub','1241348qhbDeQ','defineProperty','forEach','function','amd','1802184clHals','call','toStringTag','default','6344330HgwXYs','584dtqXMR','Module','934362ybFSIj','5323290cNeOSu','UniverEngineFormulaFacade','object'];_0x20e3=function(){return _0x417eb1;};return _0x20e3();}
|