@univerjs-pro/engine-formula 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130703
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 +38 -38
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x24f6(_0x2a6786,_0x524f14){const _0x20ca53=_0x20ca();return _0x24f6=function(_0x24f600,_0x2cda56){_0x24f600=_0x24f600-0x113;let _0x292742=_0x20ca53[_0x24f600];return _0x292742;},_0x24f6(_0x2a6786,_0x524f14);}function _0x20ca(){const _0xf0517a=['Module','1677599EEJfux','prototype','15854jpJWIB','1378152esSmGA','defineProperty','110kynwYu','12zITUsH','7XlKfDI','default','7bqObqc','7333208MQCJJO','keys','2792880ERVUIP','toStringTag','4500075JTJODR','hasOwnProperty','2866960pSnzgA'];_0x20ca=function(){return _0xf0517a;};return _0x20ca();}const _0x20e262=_0x24f6;(function(_0x4e3cee,_0x31890f){const _0x1df4b1=_0x24f6,_0x199e08=_0x4e3cee();while(!![]){try{const _0x33e1c0=-parseInt(_0x1df4b1(0x123))/0x1*(-parseInt(_0x1df4b1(0x11c))/0x2)+parseInt(_0x1df4b1(0x116))/0x3+parseInt(_0x1df4b1(0x11d))/0x4+-parseInt(_0x1df4b1(0x118))/0x5*(-parseInt(_0x1df4b1(0x120))/0x6)+parseInt(_0x1df4b1(0x121))/0x7*(-parseInt(_0x1df4b1(0x124))/0x8)+parseInt(_0x1df4b1(0x114))/0x9+-parseInt(_0x1df4b1(0x11f))/0xa*(parseInt(_0x1df4b1(0x11a))/0xb);if(_0x33e1c0===_0x31890f)break;else _0x199e08['push'](_0x199e08['shift']());}catch(_0x5c362e){_0x199e08['push'](_0x199e08['shift']());}}}(_0x20ca,0xba41a));Object[_0x20e262(0x11e)](exports,Symbol[_0x20e262(0x115)],{'value':_0x20e262(0x119)});const t=require('@univerjs/engine-formula/facade');Object[_0x20e262(0x113)](t)['forEach'](_0x2c420a=>{const _0x393692=_0x20e262;_0x2c420a!==_0x393692(0x122)&&!Object[_0x393692(0x11b)][_0x393692(0x117)]['call'](exports,_0x2c420a)&&Object[_0x393692(0x11e)](exports,_0x2c420a,{'enumerable':!0x0,'get':()=>t[_0x2c420a]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x530f(_0x5c237f,_0x590941){const _0x9a3e6a=_0x9a3e();return _0x530f=function(_0x530f6c,_0x19c713){_0x530f6c=_0x530f6c-0x15a;let _0x45d324=_0x9a3e6a[_0x530f6c];return _0x45d324;},_0x530f(_0x5c237f,_0x590941);}const _0x32defa=_0x530f;(function(_0x300986,_0x5148ad){const _0x263fba=_0x530f,_0x6da53c=_0x300986();while(!![]){try{const _0x1d35be=-parseInt(_0x263fba(0x192))/0x1*(-parseInt(_0x263fba(0x206))/0x2)+-parseInt(_0x263fba(0x1db))/0x3*(parseInt(_0x263fba(0x1ff))/0x4)+-parseInt(_0x263fba(0x1b2))/0x5+-parseInt(_0x263fba(0x189))/0x6*(parseInt(_0x263fba(0x1df))/0x7)+-parseInt(_0x263fba(0x17d))/0x8*(parseInt(_0x263fba(0x161))/0x9)+-parseInt(_0x263fba(0x1a2))/0xa+parseInt(_0x263fba(0x1ac))/0xb;if(_0x1d35be===_0x5148ad)break;else _0x6da53c['push'](_0x6da53c['shift']());}catch(_0x25afb9){_0x6da53c['push'](_0x6da53c['shift']());}}}(_0x9a3e,0x4b909));function _0x9a3e(){const _0x4907de=['markedAsNoFunctionsExecuted','UniverLicensePlugin','5486510RUSGtD','executeAsync','endRow','isSkip','dependencySheetName','refOffsetX','_dependencyManagerService','isStopExecution','resolve','rangeList','26228686RBvBYr','FormulaDependencyTreeType','_dependencyRTreeCache','getRuntimeState','START_DEPENDENCY','has','2746210BHhmlY','_dependencyRTreeCacheForAddressFunction','realDeleteValue','hasOwnProperty','searchDependency','_definedNameMap','_currentConfigService','_astTreeBuilder','_convertDirtyRangesToUnitRange','startRow','_getTreeNode','formulaId','isExcludeRange','isAdded','_dependencyTreeCache','getValue','featureId','add','addFormulaDependencyByDefinedName','_runtimeService','_executionInProgressListener$','_createFDtree','setCompletedFormulasCount','default','min','_removeDependencyRTreeCache','endColumn','refTree','getDirtyRanges','clear','_isCyclicUtilMap','node','_otherFormulaDataMainData','UniverFormulaEnginePlugin','getDirtyNameMap','clearFeatureFormulaDependency','setCompletedArrayFormulasCount','getOwnPropertyDescriptor','_apply','START_CALCULATION_ARRAY_FORMULA','delete','3yVuoXB','_initLicenseValid','_calculateRunList','getFeatureFormulaDependency','14ZCOccN','_interpreter','enableCycleDependency','max','_updateRangeFlatten','setRuntimeFeatureCellData','addFormulaDependency','get','valid','set','clearOtherFormulaDependency','_getFeatureFormulaTree','subUnitId','setTotalFormulasToCalculate','row','FormulaDependencyTree','next','_featureFormulaData','ICalculateFormulaService','addOtherFormulaDependency','_createVirtualFDtree','checkAsyncNode','setCurrent','RTree','getFormulaData','hasOtherFormulaDataMainData','addFeatureFormulaDependency','generateRandomDependencyTreeId','intervalCount','LS_CONFIG_KEY','CalculateFormulaService','ObjectMatrix','2147332vaTNSQ','setValue','START_CALCULATION','FormulaDependencyGenerator','isCache','isFeatureAuthorizedWithinTime','_removeDependencyRTreeCacheById','2KvXVhx','refOffsetY','_formulaData','type','requestImmediateMacroTask','getConfig','unitId','pop','_injector','setRuntimeFeatureRange','START_DEPENDENCY_ARRAY_FORMULA','length','removeFeatureFormulaDependency','_registerFormulas','openKdTree','closeKdTree','toStringTag','generateAstNode','parseInt','forValue','135febuwF','getExcludedRange','clearFormulaDependency','reset','featureDirtyRanges','IDependencyManagerService','getFormulaDependency','removeFormulaDependencyByDefinedName','_formulaDependencyGenerator','_removeAllTreeMap','getClearDependencyTreeCache','dirtyRanges','_allTreeMap','getDirtyData','setFormulaExecuteStage','_config','IDLE','bulkRemove','call','setRuntimeOtherData','FEATURE_FORMULA','defineProperty','toRTreeItem','Module','keys','startColumn','_getUpdateTreeListAndMakeDependency','forEach','240632kNnwps','notExecuteFormula','treeId','_configService','setTotalArrayFormulasToCalculate','_otherFormulaManagerService','_executionCompleteListener$','removeFormulaDependency','push','bulkSearch','unshiftString','rowCount','1791888eCpZPE','formula','getSheetFeatureLimit','_restDependencyTreeId','_getFirstCellOfRange','IFormulaDependencyGenerator','return\x20','DependentOn','ParentDependencyTree\x20object\x20is\x20null','608294dEupZl','columnCount','DependencyManagerBaseService','getOtherFormulaData','getAllRuntimeData','execute','getOtherFormulaDependency','_otherFormulaData','size','generate','_checkIsCycleDependency','FormulaExecuteStageType','_traverse','CURRENTLY_CALCULATING'];_0x9a3e=function(){return _0x4907de;};return _0x9a3e();}var N=Object[_0x32defa(0x176)],U=(_0x38053e,_0xe33471,_0x3d0db0)=>_0xe33471 in _0x38053e?N(_0x38053e,_0xe33471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d0db0}):_0x38053e[_0xe33471]=_0x3d0db0,S=(_0x3c2dc7,_0xfba01,_0x56d88c)=>U(_0x3c2dc7,typeof _0xfba01!='symbol'?_0xfba01+'':_0xfba01,_0x56d88c);Object['defineProperty'](exports,Symbol[_0x32defa(0x15d)],{'value':_0x32defa(0x178)});const v=require('@univerjs-pro/license'),C=require('@univerjs/core'),u=require('@univerjs/engine-formula'),X={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},P='XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class k extends u[_0x32defa(0x202)]{constructor(){const _0x365d18=_0x32defa;super(...arguments),S(this,_0x365d18(0x1c0),new Map());}['dispose'](){const _0x111b86=_0x32defa;super['dispose'](),this[_0x111b86(0x1c0)][_0x111b86(0x1cf)]();}async['generate'](){const _0x6b87fc=_0x32defa;this[_0x6b87fc(0x1e3)]();const _0x3e9d3b=this[_0x6b87fc(0x1b8)][_0x6b87fc(0x1f7)](),_0x55b3f5=this[_0x6b87fc(0x182)][_0x6b87fc(0x195)](),_0x3e4329=this[_0x6b87fc(0x1b8)][_0x6b87fc(0x16b)]();_0x3e4329!=null&&Object[_0x6b87fc(0x179)](_0x3e4329)['forEach'](_0x47d09b=>{_0x47d09b!=null&&Object['keys'](_0x3e4329[_0x47d09b])['forEach'](_0x5b2417=>{const _0x1d78a7=_0x530f;_0x5b2417!=null&&(this[_0x1d78a7(0x1a8)][_0x1d78a7(0x1e9)](_0x47d09b,_0x5b2417),this['_dependencyManagerService'][_0x1d78a7(0x1d5)](_0x47d09b,_0x5b2417),this['_dependencyManagerService'][_0x1d78a7(0x163)](_0x47d09b,_0x5b2417));});});const _0x2009fb=this[_0x6b87fc(0x1b8)]['getUnitData']();await this['_generateTreeList'](_0x3e9d3b,_0x55b3f5,_0x2009fb),this[_0x6b87fc(0x1a8)][_0x6b87fc(0x15b)]();const _0x12cbb0=this['_getUpdateTreeListAndMakeDependency'](),_0x30ecbc=this[_0x6b87fc(0x1dd)](_0x12cbb0);return this[_0x6b87fc(0x19c)](_0x30ecbc)&&this[_0x6b87fc(0x1c5)][_0x6b87fc(0x1e1)](),this[_0x6b87fc(0x1c0)][_0x6b87fc(0x1cf)](),this[_0x6b87fc(0x1b3)]['clear'](),this[_0x6b87fc(0x1a8)][_0x6b87fc(0x15c)](),Promise[_0x6b87fc(0x1aa)](_0x30ecbc);}['_isCyclicUtilMap'](_0x3904b6,_0x241a87){const _0x6825c4=_0x32defa,_0x19e72e=[_0x3904b6];for(;_0x19e72e[_0x6825c4(0x211)]>0x0;){const _0x1dd902=_0x19e72e[_0x19e72e['length']-0x1];if((_0x241a87[_0x6825c4(0x1e6)](_0x1dd902)||0x0)===0x0){_0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x1);const _0x1c921c=this['_dependencyTreeCache'][_0x6825c4(0x1e6)](_0x1dd902);if(_0x1c921c==null){_0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x2),_0x19e72e[_0x6825c4(0x20d)]();continue;}const _0x3b46da=this['_dependencyManagerService'][_0x6825c4(0x1b6)](_0x1c921c[_0x6825c4(0x177)]());for(const _0x249a80 of _0x3b46da){const _0x15dbf5=_0x241a87[_0x6825c4(0x1e6)](_0x249a80)||0x0;if(_0x15dbf5===0x1)return!0x0;_0x15dbf5===0x0&&_0x19e72e[_0x6825c4(0x185)](_0x249a80);}}else _0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x2),_0x19e72e['pop']();}return!0x1;}[_0x32defa(0x19c)](_0x190f2b){const _0x2ffa89=_0x32defa,_0x25041d=new Map();for(const _0x327996 of _0x190f2b)if(!_0x25041d[_0x2ffa89(0x1b1)](_0x327996['treeId'])&&this[_0x2ffa89(0x1d0)](_0x327996[_0x2ffa89(0x17f)],_0x25041d))return!0x0;return _0x25041d[_0x2ffa89(0x1cf)](),!0x1;}[_0x32defa(0x1ea)](_0x1e7045,_0x285f8a,_0x543e63){const _0x32ae32=_0x32defa,{unitId:_0x27d0a0,subUnitId:_0xd6e1a5,dependencyRanges:_0x3964fd,getDirtyData:_0x5dcb81}=_0x543e63,_0x51791f=_0x285f8a||u['generateRandomDependencyTreeId'](this[_0x32ae32(0x1a8)]),_0x222dfd=new u[(_0x32ae32(0x1ee))](_0x51791f);_0x222dfd[_0x32ae32(0x20c)]=_0x27d0a0,_0x222dfd['subUnitId']=_0xd6e1a5,_0x222dfd[_0x32ae32(0x1ab)]=_0x3964fd,_0x222dfd[_0x32ae32(0x16e)]=_0x5dcb81;const _0x400574=_0x5dcb81(this[_0x32ae32(0x1b8)]['getDirtyData'](),this['_runtimeService'][_0x32ae32(0x196)]()),_0x1ebe3b=this[_0x32ae32(0x1ba)](_0x400574[_0x32ae32(0x16c)]);return _0x222dfd[_0x32ae32(0x165)]=_0x1ebe3b,_0x222dfd[_0x32ae32(0x1c2)]=_0x1e7045,_0x222dfd['type']=u[_0x32ae32(0x1ad)][_0x32ae32(0x175)],this[_0x32ae32(0x1a8)][_0x32ae32(0x1f9)](_0x27d0a0,_0xd6e1a5,_0x1e7045,_0x222dfd),this[_0x32ae32(0x1c0)]['set'](_0x222dfd['treeId'],_0x222dfd),this[_0x32ae32(0x1a8)][_0x32ae32(0x1de)](_0x543e63['unitId'],_0x543e63[_0x32ae32(0x1eb)],_0x1e7045)&&(_0x222dfd[_0x32ae32(0x203)]=!0x0),_0x222dfd;}['_registerOtherFormulas'](_0x5435ac,_0x40f4f4,_0xb0c0e5){const _0x4b0c3f=_0x32defa;var _0x1ae051;for(const _0x576047 of _0x40f4f4){const _0x174964=_0x5435ac[_0x576047];if(_0x174964==null)continue;const _0x26a7f2=Object['keys'](_0x174964);for(const _0x53c076 of _0x26a7f2){const _0x18c7eb=_0x174964[_0x53c076];if(_0x18c7eb==null)continue;const _0x37cad6=Object['keys'](_0x18c7eb);for(const _0x49e8cd of _0x37cad6){const _0x524338=this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f8)](_0x49e8cd),_0x3fe0c3=_0x18c7eb[_0x49e8cd],{f:_0x1cf07f,ranges:_0x4f1b77}=_0x3fe0c3;let _0x206294=!0x1;_0x524338&&(_0x206294=!0x0);const {firstRow:_0x498529,firstColumn:_0x5a9a35}=this[_0x4b0c3f(0x18d)](_0x4f1b77),_0x3b85ba=this['_dependencyManagerService'][_0x4b0c3f(0x198)](_0x576047,_0x53c076,_0x49e8cd),_0x169e1a=(_0x1ae051=_0x3b85ba==null?void 0x0:_0x3b85ba['getValue'](0x0,0x0))!=null?_0x1ae051:u['generateRandomDependencyTreeId'](this[_0x4b0c3f(0x1a8)]),_0x8030c0=new u[(_0x4b0c3f(0x1ee))](_0x169e1a);for(let _0x178567=0x0;_0x178567<_0x4f1b77[_0x4b0c3f(0x211)];_0x178567++){const _0x5783d9=_0x4f1b77[_0x178567],{startRow:_0x5ed24b,startColumn:_0x2eae86,endRow:_0x18932e,endColumn:_0x1f1d54}=_0x5783d9;for(let _0x109f33=_0x5ed24b;_0x109f33<=_0x18932e;_0x109f33++)for(let _0x52435e=_0x2eae86;_0x52435e<=_0x1f1d54;_0x52435e++){const _0x14216a=_0x52435e-_0x5a9a35,_0x1b119d=_0x109f33-_0x498529;if(_0x14216a===0x0&&_0x1b119d===0x0){_0x8030c0[_0x4b0c3f(0x18a)]=_0x1cf07f,_0x8030c0['unitId']=_0x576047,_0x8030c0[_0x4b0c3f(0x1eb)]=_0x53c076,_0x8030c0[_0x4b0c3f(0x1bd)]=_0x49e8cd,_0x8030c0[_0x4b0c3f(0x209)]=u['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x8030c0[_0x4b0c3f(0x203)]=_0x206294,_0xb0c0e5[_0x4b0c3f(0x185)](_0x8030c0),this['_dependencyTreeCache'][_0x4b0c3f(0x1e8)](_0x8030c0['treeId'],_0x8030c0),this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f2)](_0x576047,_0x53c076,_0x49e8cd,_0x8030c0),this['_dependencyManagerService'][_0x4b0c3f(0x1c4)](_0x8030c0);continue;}const _0x4968eb=new u['FormulaDependencyTreeVirtual']();_0x4968eb[_0x4b0c3f(0x17f)]=(_0x3b85ba==null?void 0x0:_0x3b85ba['getValue'](_0x14216a,_0x1b119d))||u[_0x4b0c3f(0x1fa)](this[_0x4b0c3f(0x1a8)]),_0x4968eb[_0x4b0c3f(0x1cd)]=_0x8030c0,_0x4968eb[_0x4b0c3f(0x1a7)]=_0x14216a,_0x4968eb['refOffsetY']=_0x1b119d,_0x4968eb[_0x4b0c3f(0x203)]=_0x206294,this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f2)](_0x576047,_0x53c076,_0x49e8cd,_0x4968eb),this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1c4)](_0x4968eb),_0xb0c0e5[_0x4b0c3f(0x185)](_0x4968eb),this[_0x4b0c3f(0x1c0)][_0x4b0c3f(0x1e8)](_0x4968eb[_0x4b0c3f(0x17f)],_0x4968eb);}}this[_0x4b0c3f(0x1a8)]['addOtherFormulaDependencyMainData'](_0x49e8cd);}}}}[_0x32defa(0x15a)](_0x4215d0,_0x46f209,_0x4ca4e2,_0x94ca2a){const _0x178b25=_0x32defa;for(const _0x519818 of _0x4215d0){const _0x1d6f13=_0x46f209[_0x519818];if(_0x1d6f13==null)continue;const _0x28496b=Object[_0x178b25(0x179)](_0x1d6f13);for(const _0x10f294 of _0x28496b){const _0x310007=new C[(_0x178b25(0x1fe))](_0x1d6f13[_0x10f294]||{}),_0xe664e8=new Map();_0x310007[_0x178b25(0x160)]((_0x4105c6,_0x1b13f4,_0x31929a)=>{const _0x421106=_0x178b25;if(_0x31929a==null)return!0x0;const {x:_0x2107d9=0x0,y:_0x329bfd=0x0,si:_0x581021}=_0x31929a;if(!(_0x2107d9===0x0&&_0x329bfd===0x0&&_0x581021!=null))return!0x0;const _0xfaf8b0=this['_createFDtree'](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4,_0x4ca4e2,_0x31929a),_0x390b5d=this[_0x421106(0x1a8)]['getFormulaDependency'](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4);_0x390b5d!=null?_0xfaf8b0['treeId']=_0x390b5d:(this[_0x421106(0x1a8)][_0x421106(0x1e5)](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4,_0xfaf8b0),this['_dependencyManagerService'][_0x421106(0x1c4)](_0xfaf8b0)),_0xe664e8[_0x421106(0x1e8)](_0x581021,_0xfaf8b0),_0x94ca2a[_0x421106(0x185)](_0xfaf8b0),this[_0x421106(0x1c0)][_0x421106(0x1e8)](_0xfaf8b0[_0x421106(0x17f)],_0xfaf8b0);}),_0x310007[_0x178b25(0x160)]((_0x15217e,_0x128fd8,_0x3f49be)=>{const _0x35d854=_0x178b25;if(_0x3f49be==null)return!0x0;const {x:_0x40d263=0x0,y:_0x3dda3a=0x0,si:_0x4f9d05}=_0x3f49be;if(_0x40d263===0x0&&_0x3dda3a===0x0&&_0x4f9d05!=null)return!0x0;let _0x1d4b73;if(_0x4f9d05&&_0xe664e8['has'](_0x4f9d05)){const _0x31185b=_0xe664e8[_0x35d854(0x1e6)](_0x4f9d05);_0x1d4b73=this[_0x35d854(0x1f3)](_0x31185b,_0x3f49be);}else _0x1d4b73=this[_0x35d854(0x1c7)](_0x519818,_0x10f294,_0x15217e,_0x128fd8,_0x4ca4e2,_0x3f49be);const _0x3e57ec=this[_0x35d854(0x1a8)][_0x35d854(0x167)](_0x519818,_0x10f294,_0x15217e,_0x128fd8);_0x3e57ec!=null?_0x1d4b73[_0x35d854(0x17f)]=_0x3e57ec:(this[_0x35d854(0x1a8)]['addFormulaDependency'](_0x519818,_0x10f294,_0x15217e,_0x128fd8,_0x1d4b73),this[_0x35d854(0x1a8)]['addFormulaDependencyByDefinedName'](_0x1d4b73)),_0x94ca2a[_0x35d854(0x185)](_0x1d4b73),this[_0x35d854(0x1c0)][_0x35d854(0x1e8)](_0x1d4b73[_0x35d854(0x17f)],_0x1d4b73);}),_0xe664e8[_0x178b25(0x1cf)]();}}}[_0x32defa(0x1c7)](_0xf0cf5b,_0x134c59,_0x5b21d9,_0x41ae8b,_0x2f1ed5,_0x345771){const _0x5e1dac=_0x32defa,{f:_0x2cf5c9,x:_0x1bd3f4=0x0,y:_0x1ce63a=0x0}=_0x345771,_0x37a989=new u[(_0x5e1dac(0x1ee))](u[_0x5e1dac(0x1fa)](this[_0x5e1dac(0x1a8)])),_0x33078c=_0x2f1ed5[_0xf0cf5b][_0x134c59];return _0x37a989['formula']=_0x2cf5c9,_0x37a989[_0x5e1dac(0x20c)]=_0xf0cf5b,_0x37a989[_0x5e1dac(0x1eb)]=_0x134c59,_0x37a989[_0x5e1dac(0x1ed)]=_0x5b21d9,_0x37a989['column']=_0x41ae8b,_0x37a989['rowCount']=_0x33078c[_0x5e1dac(0x188)],_0x37a989[_0x5e1dac(0x193)]=_0x33078c[_0x5e1dac(0x193)],_0x37a989;}[_0x32defa(0x17b)](){const _0x4660d4=_0x32defa,_0x231bad=[],_0x1e58cf=new Set(),_0xaf12e8=this[_0x4660d4(0x1b8)]['isForceCalculate'](),_0x32b891=this[_0x4660d4(0x1b8)][_0x4660d4(0x1ce)](),_0x4b796e=this[_0x4660d4(0x1a8)][_0x4660d4(0x1b6)](_0x32b891),_0x4c2710=this[_0x4660d4(0x1b3)]['bulkSearch'](_0x32b891);for(const _0x4d6226 of _0x4c2710)_0x4b796e[_0x4660d4(0x1c3)](_0x4d6226);for(const [_0x2683a2,_0x22de7c]of this['_dependencyTreeCache'])(_0xaf12e8||_0x22de7c['isDirty']||_0x22de7c[_0x4660d4(0x1a6)](this[_0x4660d4(0x1b8)][_0x4660d4(0x1d4)]())||_0x4b796e[_0x4660d4(0x1b1)](_0x2683a2)&&!_0x22de7c[_0x4660d4(0x1be)](this[_0x4660d4(0x1b8)][_0x4660d4(0x162)]()))&&!_0x1e58cf['has'](_0x2683a2)&&(_0x231bad['push'](_0x22de7c),_0x1e58cf[_0x4660d4(0x1c3)](_0x2683a2));for(const [_0x1ce55e,_0x4f78f1]of this[_0x4660d4(0x1c0)])_0x4f78f1['isVirtual']||(_0x4f78f1['rangeList'][_0x4660d4(0x211)]=0x0);return _0x231bad;}['_getTreeById'](_0x2ba82a){const _0x76acdc=_0x32defa;return this[_0x76acdc(0x1c0)]['get'](_0x2ba82a);}[_0x32defa(0x1bc)](_0x1a18c7){const _0x4d960e=_0x32defa;return u[_0x4d960e(0x15e)](_0x1a18c7['unitId'],_0x1a18c7[_0x4d960e(0x18a)],this['_lexer'],this[_0x4d960e(0x1b9)],this['_currentConfigService']);}*['_traverse'](_0x1517e4,_0x3b05d3){const _0x3c8280=_0x32defa,_0x38cccd=_0x1517e4,_0x5590b8=new Set();for(;_0x38cccd[_0x3c8280(0x211)]>0x0;){const _0x225026=_0x38cccd[_0x3c8280(0x20d)]();if(_0x5590b8[_0x3c8280(0x1cf)](),_0x225026===void 0x0||_0x225026[_0x3c8280(0x1a5)]())continue;if(_0x225026['isAdded']()){yield _0x225026,_0x225026['setSkip'](),_0x3b05d3[_0x3c8280(0x1c3)](_0x225026[_0x3c8280(0x17f)]);continue;}const _0x39d4b4=this[_0x3c8280(0x1a8)]['searchDependency'](_0x225026[_0x3c8280(0x177)](),_0x3b05d3),_0x34c226=this[_0x3c8280(0x1b3)][_0x3c8280(0x186)](_0x225026[_0x3c8280(0x177)](),_0x3b05d3);for(const _0x1d6bdd of _0x34c226)_0x39d4b4[_0x3c8280(0x1c3)](_0x1d6bdd);for(const _0x1761f8 of _0x39d4b4){const _0x2b3ef2=this[_0x3c8280(0x1c0)][_0x3c8280(0x1e6)](_0x1761f8);if(!_0x2b3ef2)throw new Error(_0x3c8280(0x191));_0x2b3ef2[_0x3c8280(0x1bf)]()||_0x225026[_0x3c8280(0x1a5)]()||_0x5590b8['add'](_0x2b3ef2);}if(_0x39d4b4[_0x3c8280(0x1cf)](),_0x5590b8['size']===0x0)yield _0x225026,_0x225026['setSkip'](),_0x3b05d3[_0x3c8280(0x1c3)](_0x225026['treeId']);else{_0x225026['setAdded'](),_0x38cccd['push'](_0x225026);for(const _0x327817 of _0x5590b8)_0x38cccd[_0x3c8280(0x185)](_0x327817);}}_0x38cccd[_0x3c8280(0x211)]=0x0,_0x5590b8['clear']();}[_0x32defa(0x1dd)](_0x54aef6){const _0x2d297f=_0x32defa,_0x3fe610=[],_0x20e10a=new Set();for(const _0x3a49a6 of this[_0x2d297f(0x19e)](_0x54aef6,_0x20e10a))_0x3fe610['push'](_0x3a49a6);return _0x3fe610;}}class K extends u['CalculateFormulaService']{async[_0x32defa(0x1d8)](_0x194c45=!0x1){const _0x3613f8=_0x32defa;_0x194c45?this['_runtimeService']['setFormulaExecuteStage'](u[_0x3613f8(0x19d)][_0x3613f8(0x210)]):this['_runtimeService']['setFormulaExecuteStage'](u[_0x3613f8(0x19d)][_0x3613f8(0x1b0)]),this[_0x3613f8(0x1c6)][_0x3613f8(0x1ef)](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]());const _0x537e3b=await this[_0x3613f8(0x169)][_0x3613f8(0x19b)](),_0x16fad4=this[_0x3613f8(0x1e0)];_0x194c45?(this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x1d9)]),this[_0x3613f8(0x1c5)][_0x3613f8(0x181)](_0x537e3b[_0x3613f8(0x211)])):(this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x201)]),this[_0x3613f8(0x1c5)][_0x3613f8(0x1ec)](_0x537e3b[_0x3613f8(0x211)])),this[_0x3613f8(0x1c6)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]());let _0x5b0043=[];const _0xa7ea7d=this[_0x3613f8(0x180)][_0x3613f8(0x20b)](u['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0xbdf11c=(_0xa7ea7d==null?void 0x0:_0xa7ea7d[_0x3613f8(0x1fb)])||u['DEFAULT_INTERVAL_COUNT'];let _0x224a17=0x0;const _0x4d0903=_0x537e3b[_0x3613f8(0x211)];for(;_0x537e3b[_0x3613f8(0x211)]>0x0;){const _0x1ee3fd=_0x537e3b[_0x3613f8(0x20d)](),_0x486be3={'node':u[_0x3613f8(0x15e)](_0x1ee3fd[_0x3613f8(0x20c)],_0x1ee3fd[_0x3613f8(0x18a)],this['_lexer'],this['_astTreeBuilder'],this[_0x3613f8(0x1b8)]),'refOffsetX':_0x1ee3fd['refOffsetX'],'refOffsetY':_0x1ee3fd[_0x3613f8(0x207)]},_0x234ac8=_0x1ee3fd[_0x3613f8(0x16e)];if(_0x224a17%_0xbdf11c===0x0&&(await new Promise(_0x3ae005=>{const _0x529d57=_0x3613f8,_0x260d31=C[_0x529d57(0x20a)](_0x3ae005);_0x5b0043[_0x529d57(0x185)](_0x260d31);}),_0x194c45?(this[_0x3613f8(0x1c5)]['setFormulaExecuteStage'](u[_0x3613f8(0x19d)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x3613f8(0x1c5)][_0x3613f8(0x1d6)](_0x224a17+0x1)):(this['_runtimeService'][_0x3613f8(0x16f)](u['FormulaExecuteStageType'][_0x3613f8(0x19f)]),this['_runtimeService'][_0x3613f8(0x1c8)](_0x224a17+0x1)),this[_0x3613f8(0x1c6)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]()),this[_0x3613f8(0x1c5)][_0x3613f8(0x1a9)]()||_0x486be3==null&&_0x234ac8==null)){this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x171)]),this[_0x3613f8(0x1c5)]['markedAsStopFunctionsExecuted'](),this[_0x3613f8(0x183)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x196)]());return;}this[_0x3613f8(0x1c5)][_0x3613f8(0x1f5)](_0x1ee3fd[_0x3613f8(0x1ed)],_0x1ee3fd['column'],_0x1ee3fd[_0x3613f8(0x188)],_0x1ee3fd[_0x3613f8(0x193)],_0x1ee3fd[_0x3613f8(0x1eb)],_0x1ee3fd[_0x3613f8(0x20c)]);let _0x3f460a;if(_0x234ac8!=null&&_0x1ee3fd['featureId']!=null){const {runtimeCellData:_0xd2447b,dirtyRanges:_0x1aa04a}=_0x234ac8(this[_0x3613f8(0x1b8)][_0x3613f8(0x16e)](),this[_0x3613f8(0x1c5)][_0x3613f8(0x196)]());this[_0x3613f8(0x1c5)][_0x3613f8(0x1e4)](_0x1ee3fd['featureId'],_0xd2447b),this['_runtimeService'][_0x3613f8(0x20f)](_0x1ee3fd[_0x3613f8(0x1c2)],_0x1aa04a);}else _0x486be3!=null&&(_0x16fad4[_0x3613f8(0x1f4)](_0x486be3[_0x3613f8(0x1d1)])?_0x3f460a=await _0x16fad4[_0x3613f8(0x1a3)](_0x486be3):_0x3f460a=_0x16fad4[_0x3613f8(0x197)](_0x486be3),_0x1ee3fd[_0x3613f8(0x1bd)]!=null?this[_0x3613f8(0x1c5)][_0x3613f8(0x174)](_0x1ee3fd['formulaId'],_0x1ee3fd[_0x3613f8(0x1a7)],_0x1ee3fd[_0x3613f8(0x207)],_0x3f460a):this[_0x3613f8(0x1c5)]['setRuntimeData'](_0x3f460a));_0x224a17++;}return _0x5b0043[_0x3613f8(0x17c)](_0x501a22=>_0x501a22()),_0x5b0043=[],_0x4d0903>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x194c45||this[_0x3613f8(0x1c5)][_0x3613f8(0x1a0)](),this['_runtimeService']['getAllRuntimeData']();}}class Y extends u[_0x32defa(0x194)]{constructor(){const _0xf3efd3=_0x32defa;super(...arguments),S(this,_0xf3efd3(0x16d),new Map()),S(this,_0xf3efd3(0x1ae),new C[(_0xf3efd3(0x1f6))](!0x0));}[_0x32defa(0x164)](){const _0x15ac29=_0x32defa;this[_0x15ac29(0x199)][_0x15ac29(0x1cf)](),this[_0x15ac29(0x1f0)][_0x15ac29(0x1cf)](),this[_0x15ac29(0x208)][_0x15ac29(0x1cf)](),this['_dependencyRTreeCache'][_0x15ac29(0x1cf)](),this[_0x15ac29(0x16d)]['clear'](),this[_0x15ac29(0x18c)](),this['_otherFormulaDataMainData']['clear']();}[_0x32defa(0x1f2)](_0x475dbd,_0x88d8a2,_0x475cd4,_0x48d3f8){const _0x55f746=_0x32defa;this[_0x55f746(0x199)][_0x55f746(0x1b1)](_0x475dbd)||this[_0x55f746(0x199)][_0x55f746(0x1e8)](_0x475dbd,new Map());const _0x16ebe7=this['_otherFormulaData'][_0x55f746(0x1e6)](_0x475dbd);_0x16ebe7['has'](_0x88d8a2)||_0x16ebe7['set'](_0x88d8a2,new Map());const _0x20364e=_0x16ebe7[_0x55f746(0x1e6)](_0x88d8a2);_0x20364e[_0x55f746(0x1b1)](_0x475cd4)||_0x20364e[_0x55f746(0x1e8)](_0x475cd4,new C[(_0x55f746(0x1fe))]()),_0x20364e[_0x55f746(0x1e6)](_0x475cd4)[_0x55f746(0x200)](_0x48d3f8[_0x55f746(0x1a7)],_0x48d3f8[_0x55f746(0x207)],_0x48d3f8[_0x55f746(0x17f)]);}['removeOtherFormulaDependency'](_0x43308a,_0x1a9d86,_0x5a3b35){const _0x7798d8=_0x32defa,_0x30dd20=this[_0x7798d8(0x199)][_0x7798d8(0x1e6)](_0x43308a);if(_0x30dd20&&_0x30dd20[_0x7798d8(0x1b1)](_0x1a9d86)){const _0x5f413d=_0x30dd20[_0x7798d8(0x1e6)](_0x1a9d86);_0x5a3b35['forEach'](_0x3e24e7=>{const _0x121979=_0x7798d8,_0x2660ab=_0x5f413d[_0x121979(0x1e6)](_0x3e24e7);_0x2660ab!=null&&(_0x2660ab[_0x121979(0x160)]((_0x3762ba,_0x579d90,_0x6e111a)=>{const _0x56a0f3=_0x121979;this[_0x56a0f3(0x1cb)](_0x6e111a),this['_removeAllTreeMap'](_0x6e111a);}),_0x5f413d['delete'](_0x3e24e7),this['_otherFormulaDataMainData'][_0x121979(0x1da)](_0x3e24e7));}),_0x5f413d[_0x7798d8(0x19a)]===0x0&&_0x30dd20[_0x7798d8(0x1da)](_0x1a9d86),_0x30dd20[_0x7798d8(0x19a)]===0x0&&this['_otherFormulaData']['delete'](_0x43308a);}}[_0x32defa(0x1e9)](_0x411145,_0xb7d396){const _0x5a9d39=_0x32defa,_0x83708a=this[_0x5a9d39(0x199)][_0x5a9d39(0x1e6)](_0x411145);if(_0xb7d396&&_0x83708a&&_0x83708a[_0x5a9d39(0x1b1)](_0xb7d396)){const _0x439a5b=_0x83708a[_0x5a9d39(0x1e6)](_0xb7d396);this['_removeDependencyRTreeCacheById'](_0x411145,_0xb7d396);for(const _0x56f7f6 of _0x439a5b['keys']()){const _0x169fb1=_0x439a5b['get'](_0x56f7f6);_0x169fb1!=null&&(_0x169fb1['forValue']((_0x4c1b5f,_0x154299,_0x3ffc8f)=>{const _0x2fe94a=_0x5a9d39;this[_0x2fe94a(0x16d)]['get'](_0x3ffc8f)&&this[_0x2fe94a(0x16a)](_0x3ffc8f);}),this[_0x5a9d39(0x1d2)][_0x5a9d39(0x1da)](_0x56f7f6));}_0x439a5b[_0x5a9d39(0x1cf)]();}else{if(_0x83708a){for(const _0x510fbd of _0x83708a[_0x5a9d39(0x179)]()){const _0x57a097=_0x83708a['get'](_0x510fbd);this['_removeDependencyRTreeCacheById'](_0x411145,_0x510fbd);for(const _0x28e986 of _0x57a097[_0x5a9d39(0x179)]()){const _0x2df1f4=_0x57a097['get'](_0x28e986);_0x2df1f4!=null&&(_0x2df1f4[_0x5a9d39(0x160)]((_0x5513e5,_0x5dca7f,_0x10d974)=>{const _0x5e3164=_0x5a9d39;this['_allTreeMap'][_0x5e3164(0x1e6)](_0x10d974)&&this[_0x5e3164(0x16a)](_0x10d974);}),this[_0x5a9d39(0x1d2)][_0x5a9d39(0x1da)](_0x28e986));}}this[_0x5a9d39(0x199)][_0x5a9d39(0x1da)](_0x411145);}}}[_0x32defa(0x1f9)](_0x3a8b98,_0x4f23d9,_0x326f95,_0x3d9d2a){const _0x10acea=_0x32defa;this[_0x10acea(0x1f0)][_0x10acea(0x1b1)](_0x3a8b98)||this[_0x10acea(0x1f0)][_0x10acea(0x1e8)](_0x3a8b98,new Map());const _0x32fdc2=this[_0x10acea(0x1f0)][_0x10acea(0x1e6)](_0x3a8b98);_0x32fdc2[_0x10acea(0x1b1)](_0x4f23d9)||_0x32fdc2[_0x10acea(0x1e8)](_0x4f23d9,new Map()),_0x32fdc2[_0x10acea(0x1e6)](_0x4f23d9)[_0x10acea(0x1e8)](_0x326f95,_0x3d9d2a[_0x10acea(0x17f)]);}[_0x32defa(0x212)](_0x302e70,_0x2ceef8,_0x2f276a){const _0x525513=_0x32defa,_0x21b546=this[_0x525513(0x1f0)][_0x525513(0x1e6)](_0x302e70);if(_0x21b546&&_0x21b546['has'](_0x2ceef8)){const _0x32f85c=_0x21b546[_0x525513(0x1e6)](_0x2ceef8);_0x2f276a[_0x525513(0x17c)](_0x3831e6=>{const _0x123be3=_0x525513,_0x269f2a=_0x32f85c[_0x123be3(0x1e6)](_0x3831e6);_0x269f2a!=null&&(this['_removeDependencyRTreeCache'](_0x269f2a),_0x32f85c[_0x123be3(0x1da)](_0x3831e6),this[_0x123be3(0x16a)](_0x269f2a));});}}[_0x32defa(0x1d5)](_0x55f1ff,_0x7da0a7){const _0x498f7d=_0x32defa,_0x2d0ec6=this[_0x498f7d(0x1f0)]['get'](_0x55f1ff);if(_0x7da0a7&&_0x2d0ec6&&_0x2d0ec6[_0x498f7d(0x1b1)](_0x7da0a7)){const _0x5328a5=_0x2d0ec6[_0x498f7d(0x1e6)](_0x7da0a7);this['_removeDependencyRTreeCacheById'](_0x55f1ff,_0x7da0a7),_0x5328a5[_0x498f7d(0x17c)](_0x20c292=>{_0x20c292!=null&&this['_removeAllTreeMap'](_0x20c292);}),_0x5328a5[_0x498f7d(0x1cf)]();}else _0x2d0ec6&&(_0x2d0ec6[_0x498f7d(0x17c)]((_0x267e7e,_0x3fba37)=>{const _0x58dc28=_0x498f7d;this['_removeDependencyRTreeCacheById'](_0x55f1ff,_0x3fba37),_0x267e7e[_0x58dc28(0x17c)](_0x5c7439=>{const _0x5e3604=_0x58dc28;_0x5c7439!=null&&this[_0x5e3604(0x16a)](_0x5c7439);});}),this['_featureFormulaData'][_0x498f7d(0x1da)](_0x55f1ff));}[_0x32defa(0x1e5)](_0x479fdc,_0x5549dd,_0x4b7b32,_0xb264c1,_0x2a3bdb){const _0x12cd49=_0x32defa;this['_formulaData']['has'](_0x479fdc)||this[_0x12cd49(0x208)][_0x12cd49(0x1e8)](_0x479fdc,new Map());const _0x17449e=this['_formulaData'][_0x12cd49(0x1e6)](_0x479fdc);_0x17449e['has'](_0x5549dd)||_0x17449e[_0x12cd49(0x1e8)](_0x5549dd,new C[(_0x12cd49(0x1fe))]()),_0x17449e[_0x12cd49(0x1e6)](_0x5549dd)[_0x12cd49(0x200)](_0x4b7b32,_0xb264c1,_0x2a3bdb[_0x12cd49(0x17f)]);}[_0x32defa(0x184)](_0xa6f360,_0x197a94,_0x3e0aea,_0x3cc1db){const _0x23f0c7=_0x32defa,_0x3c907b=this[_0x23f0c7(0x208)]['get'](_0xa6f360);if(_0x3c907b&&_0x3c907b[_0x23f0c7(0x1b1)](_0x197a94)){const _0x1e2aaf=_0x3c907b[_0x23f0c7(0x1e6)](_0x197a94),_0x161d33=_0x1e2aaf[_0x23f0c7(0x1c1)](_0x3e0aea,_0x3cc1db);if(_0x161d33==null)return;this[_0x23f0c7(0x1cb)](_0x161d33),_0x1e2aaf[_0x23f0c7(0x1b4)](_0x3e0aea,_0x3cc1db),this[_0x23f0c7(0x16a)](_0x161d33);}}[_0x32defa(0x163)](_0x4ac2b3,_0xc0a103){const _0x267186=_0x32defa,_0x1dfe4f=this[_0x267186(0x208)][_0x267186(0x1e6)](_0x4ac2b3);if(_0xc0a103&&_0x1dfe4f&&_0x1dfe4f[_0x267186(0x1b1)](_0xc0a103)){const _0x58068d=_0x1dfe4f[_0x267186(0x1e6)](_0xc0a103);this[_0x267186(0x205)](_0x4ac2b3,_0xc0a103),_0x58068d[_0x267186(0x160)]((_0x22ae9c,_0x25281a,_0x2cf547)=>{const _0x26abc0=_0x267186;if(_0x2cf547==null)return!0x0;this[_0x26abc0(0x16a)](_0x2cf547);}),_0x58068d[_0x267186(0x164)]();}else _0x1dfe4f&&(_0x1dfe4f[_0x267186(0x17c)]((_0x5dec6a,_0x1b4b7b)=>{const _0x2db30a=_0x267186;this[_0x2db30a(0x205)](_0x4ac2b3,_0x1b4b7b),_0x5dec6a[_0x2db30a(0x160)]((_0x1974f8,_0x1ca4eb,_0x546f7d)=>{const _0xd1e27f=_0x2db30a;if(_0x546f7d==null)return!0x0;this[_0xd1e27f(0x16a)](_0x546f7d);});}),this[_0x267186(0x208)][_0x267186(0x1da)](_0x4ac2b3));}['_removeDependencyRTreeCache'](_0x1e6cbe){const _0x22fe33=_0x32defa;if(_0x1e6cbe==null)return;const _0x341480=this['_allTreeMap']['get'](_0x1e6cbe);if(_0x341480){const _0x186825=[];for(const [_0x47f628,_0x4d8cd7]of _0x341480)for(const [_0xa20232,_0x3ca2e9]of _0x4d8cd7)_0x186825[_0x22fe33(0x185)]({'unitId':_0x47f628,'sheetId':_0xa20232,'range':_0x3ca2e9,'id':_0x1e6cbe});this[_0x22fe33(0x1ae)][_0x22fe33(0x172)](_0x186825);}}[_0x32defa(0x168)](_0x5c908f,_0x2c5eaa){const _0x585714=_0x32defa,_0x22da07=this[_0x585714(0x1b7)][_0x585714(0x1e6)](_0x5c908f);if(_0x22da07){const _0x5d7e03=_0x22da07[_0x585714(0x1e6)](_0x2c5eaa);if(_0x5d7e03){for(const _0x258eab of _0x5d7e03)this[_0x585714(0x1cb)](_0x258eab),this[_0x585714(0x16a)](_0x258eab);_0x5d7e03['clear']();}}}[_0x32defa(0x15b)](){const _0x434b25=_0x32defa;this[_0x434b25(0x1ae)][_0x434b25(0x15b)]();}[_0x32defa(0x15c)](){const _0x3706b9=_0x32defa;this[_0x3706b9(0x1ae)][_0x3706b9(0x15c)]();}[_0x32defa(0x16a)](_0x9c96e3){_0x9c96e3!=null&&this['_allTreeMap']['delete'](_0x9c96e3);}['_addAllTreeMap'](_0x7f6ffb){const _0x17a995=_0x32defa;var _0x5f3712,_0x293ba4;const _0x2ac1c7=_0x7f6ffb[_0x17a995(0x1ab)];let _0x527165=this[_0x17a995(0x16d)][_0x17a995(0x1e6)](_0x7f6ffb[_0x17a995(0x17f)]);for(let _0x863ed6=0x0;_0x863ed6<_0x2ac1c7['length'];_0x863ed6++){const _0x55bd57=_0x2ac1c7[_0x863ed6];let {unitId:_0x28b24a,sheetId:_0x4c4975,range:_0x554a74}=_0x55bd57;_0x527165||(_0x527165=new Map(),this[_0x17a995(0x16d)][_0x17a995(0x1e8)](_0x7f6ffb[_0x17a995(0x17f)],_0x527165)),_0x527165['has'](_0x28b24a)||_0x527165['set'](_0x28b24a,new Map());const _0x47751d=(_0x5f3712=_0x527165==null?void 0x0:_0x527165[_0x17a995(0x1e6)](_0x28b24a))==null?void 0x0:_0x5f3712['get'](_0x4c4975);_0x47751d&&(_0x554a74={'startRow':Math[_0x17a995(0x1ca)](_0x554a74[_0x17a995(0x1bb)],_0x47751d['startRow']),'startColumn':Math[_0x17a995(0x1ca)](_0x554a74['startColumn'],_0x47751d[_0x17a995(0x17a)]),'endRow':Math[_0x17a995(0x1e2)](_0x554a74[_0x17a995(0x1a4)],_0x47751d[_0x17a995(0x1a4)]),'endColumn':Math[_0x17a995(0x1e2)](_0x554a74[_0x17a995(0x1cc)],_0x47751d[_0x17a995(0x1cc)])}),(_0x293ba4=_0x527165[_0x17a995(0x1e6)](_0x28b24a))==null||_0x293ba4[_0x17a995(0x1e8)](_0x4c4975,_0x554a74);}}}var B=Object[_0x32defa(0x1d7)],j=(_0xb3bf6f,_0x2a4ccc,_0x989caf,_0x2f4d82)=>{for(var _0x31d6ff=_0x2f4d82>0x1?void 0x0:_0x2f4d82?B(_0x2a4ccc,_0x989caf):_0x2a4ccc,_0x433e55=_0xb3bf6f['length']-0x1,_0x36783d;_0x433e55>=0x0;_0x433e55--)(_0x36783d=_0xb3bf6f[_0x433e55])&&(_0x31d6ff=_0x36783d(_0x31d6ff)||_0x31d6ff);return _0x31d6ff;};const z=Number[_0x32defa(0x15f)](0x68c50d20);exports['UniverProFormulaEnginePlugin']=class extends u[_0x32defa(0x1d3)]{['_initializeWithOverride'](){const _0x4a3886=_0x32defa;var _0x2cc87e,_0x1e5471;this[_0x4a3886(0x1dc)]()?(_0x2cc87e=this[_0x4a3886(0x170)])!=null&&_0x2cc87e[_0x4a3886(0x17e)]||[[u[_0x4a3886(0x1f1)],{'useClass':K}],[u['IDependencyManagerService'],{'useClass':Y}],[u[_0x4a3886(0x18e)],{'useClass':k}]][_0x4a3886(0x17c)](_0x2f03ce=>this[_0x4a3886(0x20e)]['add'](_0x2f03ce)):(_0x1e5471=this[_0x4a3886(0x170)])!=null&&_0x1e5471[_0x4a3886(0x17e)]||[[u[_0x4a3886(0x1f1)],{'useClass':u[_0x4a3886(0x1fd)]}],[u[_0x4a3886(0x166)],{'useClass':u['DependencyManagerService']}],[u[_0x4a3886(0x18e)],{'useClass':u[_0x4a3886(0x202)]}]][_0x4a3886(0x17c)](_0x18a23f=>this['_injector'][_0x4a3886(0x1c3)](_0x18a23f));}[_0x32defa(0x1dc)](){const _0x2b2356=_0x32defa;var _0x32be65;const _0x318672=(_0x32be65=this[_0x2b2356(0x180)][_0x2b2356(0x20b)](v[_0x2b2356(0x1fc)]))!=null?_0x32be65:{},{ls:_0x34fa83,pbk:_0x54337b}=_0x318672;if(!_0x34fa83||!_0x54337b)return!0x1;const _0x2142d3=v[_0x2b2356(0x187)](P,X),_0x177213=new Function(_0x2b2356(0x18f)+_0x2142d3)()(_0x34fa83,_0x54337b),_0x3f3692=_0x177213['message'];return _0x177213[_0x2b2356(0x1e7)]&&v[_0x2b2356(0x204)](_0x3f3692,'sf',z)?v[_0x2b2356(0x18b)](_0x3f3692,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=j([C[_0x32defa(0x190)](v[_0x32defa(0x1a1)])],exports['UniverProFormulaEnginePlugin']),Object[_0x32defa(0x179)](u)['forEach'](_0x44d180=>{const _0x2a1821=_0x32defa;_0x44d180!==_0x2a1821(0x1c9)&&!Object['prototype'][_0x2a1821(0x1b5)][_0x2a1821(0x173)](exports,_0x44d180)&&Object[_0x2a1821(0x176)](exports,_0x44d180,{'enumerable':!0x0,'get':()=>u[_0x44d180]});});
|
|
1
|
+
'use strict';const _0x3c8968=_0x49bc;(function(_0x5a0189,_0x5c7556){const _0x3ac9c1=_0x49bc,_0x2cc98e=_0x5a0189();while(!![]){try{const _0x56289a=-parseInt(_0x3ac9c1(0xb4))/0x1+parseInt(_0x3ac9c1(0x118))/0x2*(-parseInt(_0x3ac9c1(0x11f))/0x3)+-parseInt(_0x3ac9c1(0x150))/0x4+parseInt(_0x3ac9c1(0x13d))/0x5*(-parseInt(_0x3ac9c1(0xc8))/0x6)+parseInt(_0x3ac9c1(0x10e))/0x7*(parseInt(_0x3ac9c1(0x101))/0x8)+-parseInt(_0x3ac9c1(0x100))/0x9+parseInt(_0x3ac9c1(0xf1))/0xa*(parseInt(_0x3ac9c1(0x10c))/0xb);if(_0x56289a===_0x5c7556)break;else _0x2cc98e['push'](_0x2cc98e['shift']());}catch(_0x21d925){_0x2cc98e['push'](_0x2cc98e['shift']());}}}(_0x11af,0xddaee));function _0x11af(){const _0x58ab7f=['checkAsyncNode','featureId','FormulaDependencyGenerator','_removeDependencyRTreeCache','getRuntimeState','length','setRuntimeFeatureCellData','refTree','clearFeatureFormulaDependency','isAdded','CURRENTLY_CALCULATING_ARRAY_FORMULA','notExecuteFormula','defineProperty','dispose','_executionInProgressListener$','RTree','DEFAULT_INTERVAL_COUNT','getFormulaDependency','columnCount','node','setCompletedFormulasCount','endRow','_dependencyRTreeCacheForAddressFunction','_formulaDependencyGenerator','_calculateRunList','955tkWcUl','reset','isSkip','subUnitId','_otherFormulaDataMainData','_registerFormulas','_executionCompleteListener$','setTotalArrayFormulasToCalculate','next','closeKdTree','FormulaDependencyTreeVirtual','rowCount','DependencyManagerBaseService','setAdded','setRuntimeFeatureRange','setCurrent','addOtherFormulaDependencyMainData','iHVfgzRV\x20aQfNZUgzRV(yzfQVcQ,\x20UHJyzfAQZ)\x20{\x20\x20\x20\x20gNZ\x20{\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20yzfQVcQKViRD5NgjNN5Z\x20=\x20yzfQVcQ.cUyzg(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20RNz7zVPQcc57Q\x20=\x20uM8l.U5NcQ(5gRJ(yzfQVcQKViRD5NgjNN5Z[v]));\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!RNz7zVPQcc57Q.Ha)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RNz7zVPQcc57Q.Ha\x20=\x20lH2JQN(yzfQVcQKViRD5NgjNN5Z[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20zcsRNrQN\x20=\x20gZUQRi\x20sRNrQNqyRJ5yMfRUQ\x20!==\x20\x27HVaQizVQa\x27\x20&&\x20cQyi\x20zVcg5VfQRi\x20sRNrQNqyRJ5yMfRUQ;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20fRVgQEg\x20=\x20zcsRNrQN\x20?\x20cQyi\x20:\x204zVaR4;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57QsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[v]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57Q\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(2Qcc57QsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[B]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQ\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(cz7V5gHNQsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7VL5yza\x20=\x20fRVgQEg.__hQNziZ__(cz7V5gHNQ,\x202Qcc57Q,\x20UHJyzfAQZ);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20aR25zV\x20=\x20RNz7zVPQcc57Q.a2;\x20\x20\x20\x20\x20\x20\x20\x20iHVfgzRV\x20zcIR25zVP5gfmzV7(RD5ggQNV,\x20RSRcg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNV\x20=\x20RD5ggQNV.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcg\x20=\x20RSRcg.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVD5Ngc\x20=\x20U5ggQNV.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgD5Ngc\x20=\x20mRcg.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!U5ggQNV.zVfyHaQc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNV\x20===\x20mRcg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(U5ggQNVD5Ngc.yQV7gm\x20<\x20v\x20||\x20U5ggQNVD5Ngc[F]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20i5ycQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVMHiizE\x20=\x20U5ggQNVD5Ngc.cyzfQ(o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgMHiizE\x20=\x20mRcgD5Ngc.cyzfQ(-U5ggQNVD5Ngc.yQV7gm\x20+\x20o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNVMHiizE\x20===\x20mRcgMHiizE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yQg\x20aR25zVL5yza\x20=\x20(aR25zV\x20&&\x20aR25zV.yQV7gm)\x20?\x20aR25zV.cR2Q((a2KgQ2)\x20=>\x20zcIR25zVP5gfmzV7(a2KgQ2,\x20yRf5gzRV.mRcgV52Q))\x20:\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(yRf5gzRV.mRcgV52Q\x20===\x20\x27yRf5ymRcg\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR25zVL5yza\x20=\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20h5yza\x20=\x20cz7VL5yza\x20&&\x20aR25zVL5yza;\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20RNz7zVPQcc57Q,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20f5gfm\x20(QNNRN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza:\x20i5ycQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_featureFormulaData','4395792PRXWgl','min','clear','OTHER_FORMULA','getUnitData','ObjectMatrix','FEATURE_FORMULA','startRow','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','requestImmediateMacroTask','treeId','isExcludeRange','_getTreeNode','getOtherFormulaDependency','getValue','has','set','refOffsetX','_initializeWithOverride','_configService','call','_dependencyManagerService','getFormulaData','_formulaData','hasOwnProperty','featureDirtyRanges','addFormulaDependency','forValue','default','IDLE','_removeDependencyRTreeCacheById','_removeAllTreeMap','executeAsync','getDirtyRanges','clearFormulaDependency','return\x20','249792gFmQnH','_otherFormulaManagerService','setFormulaExecuteStage','_restDependencyTreeId','getExcludedRange','IDependencyManagerService','_traverse','_generateTreeList','type','bulkSearch','getDirtyData','_currentConfigService','toRTreeItem','getDirtyNameMap','openKdTree','isForceCalculate','column','_otherFormulaData','unitId','row','10662pJHrdK','delete','startColumn','hasOtherFormulaDataMainData','setSkip','DependencyManagerService','START_CALCULATION','_createFDtree','resolve','_runtimeService','intervalCount','_astTreeBuilder','rangeList','enableCycleDependency','isFeatureAuthorizedWithinTime','_getUpdateTreeListAndMakeDependency','addFormulaDependencyByDefinedName','isCache','setValue','ICalculateFormulaService','removeFeatureFormulaDependency','_getTreeById','getAllRuntimeData','setTotalFormulasToCalculate','setCompletedArrayFormulasCount','_interpreter','getFeatureFormulaDependency','removeFormulaDependency','_initLicenseValid','searchDependency','_getFeatureFormulaTree','isStopExecution','execute','refOffsetY','_dependencyTreeCache','START_DEPENDENCY_ARRAY_FORMULA','pop','keys','bulkRemove','UniverLicensePlugin','getConfig','20679580XOcNGF','realDeleteValue','IFormulaDependencyGenerator','UniverFormulaEnginePlugin','_definedNameMap','generateAstNode','clearOtherFormulaDependency','size','START_CALCULATION_ARRAY_FORMULA','add','_convertDirtyRangesToUnitRange','START_DEPENDENCY','FormulaExecuteStageType','_addAllTreeMap','addOtherFormulaDependency','4015755yTuJAB','8qBUJXt','setRuntimeData','formula','_config','parseInt','Module','getOtherFormulaData','generateRandomDependencyTreeId','push','formulaId','unshiftString','11HbgrNF','_registerOtherFormulas','10766203OQZBzC','getSheetFeatureLimit','UniverProFormulaEnginePlugin','CalculateFormulaService','dirtyRanges','FormulaDependencyTree','endColumn','get','markedAsSuccessfullyExecuted','valid','1127262CTRwyM','_createVirtualFDtree','_injector','_allTreeMap','generate','forEach','_checkIsCycleDependency','3HGkLzj','_dependencyRTreeCache','dependencySheetName','markedAsStopFunctionsExecuted','ParentDependencyTree\x20object\x20is\x20null'];_0x11af=function(){return _0x58ab7f;};return _0x11af();}var I=Object[_0x3c8968(0x130)],P=(_0x425840,_0x4a2180,_0x49fde2)=>_0x4a2180 in _0x425840?I(_0x425840,_0x4a2180,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49fde2}):_0x425840[_0x4a2180]=_0x49fde2,M=(_0x32a175,_0x37d000,_0x55351e)=>P(_0x32a175,typeof _0x37d000!='symbol'?_0x37d000+'':_0x37d000,_0x55351e);Object[_0x3c8968(0x130)](exports,Symbol['toStringTag'],{'value':_0x3c8968(0x106)});const C=require('@univerjs-pro/license'),S=require('@univerjs/core'),u=require('@univerjs/engine-formula'),b={0x0:'U',0x1:'6',0x2:'m',0x3:'9',0x4:'w',0x5:'a',0x6:'E',0x7:'g',0x8:'O',0x9:'X','F':'0','o':'1','v':'2','B':'3','k':'4','G':'5','W':'7','X':'8','J':'b','f':'c','a':'d','Q':'e','i':'f','m':'h','z':'i','T':'j','r':'k','y':'l','V':'n','R':'o','U':'p','b':'q','N':'r','c':'s','g':'t','H':'u','h':'v','E':'x','Z':'y','C':'z','j':'A','n':'B','p':'C','I':'D','d':'F','q':'G','S':'H','K':'I','u':'J','A':'K','O':'L','P':'M','l':'N','D':'P','x':'Q','e':'R','M':'S','Y':'T','L':'V','s':'W','t':'Y','w':'Z'},H=_0x3c8968(0x14e);class k extends u['FormulaDependencyGenerator']{constructor(){const _0x437ea8=_0x3c8968;super(...arguments),M(this,_0x437ea8(0xea),new Map());}[_0x3c8968(0x131)](){const _0x2b1fcd=_0x3c8968;super[_0x2b1fcd(0x131)](),this[_0x2b1fcd(0xea)][_0x2b1fcd(0x152)]();}async[_0x3c8968(0x11c)](){const _0x14332b=_0x3c8968;this['_updateRangeFlatten']();const _0x1683e8=this['_currentConfigService'][_0x14332b(0xa6)](),_0x4ba6f1=this[_0x14332b(0xb5)][_0x14332b(0x107)](),_0x4cc86c=this['_currentConfigService']['getClearDependencyTreeCache']();_0x4cc86c!=null&&Object['keys'](_0x4cc86c)[_0x14332b(0x11d)](_0x4226e9=>{const _0x562a1a=_0x14332b;_0x4226e9!=null&&Object[_0x562a1a(0xed)](_0x4cc86c[_0x4226e9])[_0x562a1a(0x11d)](_0x45b936=>{const _0x30966b=_0x562a1a;_0x45b936!=null&&(this[_0x30966b(0xa5)]['clearOtherFormulaDependency'](_0x4226e9,_0x45b936),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x4226e9,_0x45b936),this[_0x30966b(0xa5)][_0x30966b(0xb2)](_0x4226e9,_0x45b936));});});const _0x1bc4da=this[_0x14332b(0xbf)][_0x14332b(0x154)]();await this[_0x14332b(0xbb)](_0x1683e8,_0x4ba6f1,_0x1bc4da),this[_0x14332b(0xa5)][_0x14332b(0xc2)]();const _0x45b300=this[_0x14332b(0xd7)](),_0x2f549a=this[_0x14332b(0x13c)](_0x45b300);return this[_0x14332b(0x11e)](_0x2f549a)&&this['_runtimeService'][_0x14332b(0xd5)](),this[_0x14332b(0xea)][_0x14332b(0x152)](),this[_0x14332b(0x13a)][_0x14332b(0x152)](),this[_0x14332b(0xa5)][_0x14332b(0x146)](),Promise[_0x14332b(0xd0)](_0x2f549a);}['_isCyclicUtilMap'](_0x12bda7,_0x4cf80a){const _0x45eb40=_0x3c8968,_0x94f150=[_0x12bda7];for(;_0x94f150[_0x45eb40(0x129)]>0x0;){const _0x533aa4=_0x94f150[_0x94f150['length']-0x1];if((_0x4cf80a['get'](_0x533aa4)||0x0)===0x0){_0x4cf80a[_0x45eb40(0xa0)](_0x533aa4,0x1);const _0x4882a7=this[_0x45eb40(0xea)]['get'](_0x533aa4);if(_0x4882a7==null){_0x4cf80a['set'](_0x533aa4,0x2),_0x94f150[_0x45eb40(0xec)]();continue;}const _0x3d37db=this['_dependencyManagerService'][_0x45eb40(0xe5)](_0x4882a7['toRTreeItem']());for(const _0x172f1c of _0x3d37db){const _0x51dfd7=_0x4cf80a[_0x45eb40(0x115)](_0x172f1c)||0x0;if(_0x51dfd7===0x1)return!0x0;_0x51dfd7===0x0&&_0x94f150[_0x45eb40(0x109)](_0x172f1c);}}else _0x4cf80a[_0x45eb40(0xa0)](_0x533aa4,0x2),_0x94f150[_0x45eb40(0xec)]();}return!0x1;}[_0x3c8968(0x11e)](_0x3d83b6){const _0x1a54a3=_0x3c8968,_0x191d26=new Map();for(const _0x153c10 of _0x3d83b6)if(!_0x191d26[_0x1a54a3(0x9f)](_0x153c10[_0x1a54a3(0x15a)])&&this['_isCyclicUtilMap'](_0x153c10[_0x1a54a3(0x15a)],_0x191d26))return!0x0;return _0x191d26[_0x1a54a3(0x152)](),!0x1;}[_0x3c8968(0xe6)](_0x57d794,_0x477402,_0x3fb78c){const _0x74780a=_0x3c8968,{unitId:_0x310530,subUnitId:_0x475b60,dependencyRanges:_0x4678ad,getDirtyData:_0x1c6f36}=_0x3fb78c,_0x4205f1=_0x477402||u[_0x74780a(0x108)](this[_0x74780a(0xa5)]),_0x46614e=new u[(_0x74780a(0x113))](_0x4205f1);_0x46614e[_0x74780a(0xc6)]=_0x310530,_0x46614e[_0x74780a(0x140)]=_0x475b60,_0x46614e[_0x74780a(0xd4)]=_0x4678ad,_0x46614e[_0x74780a(0xbe)]=_0x1c6f36;const _0x3c4f7a=_0x1c6f36(this[_0x74780a(0xbf)][_0x74780a(0xbe)](),this['_runtimeService'][_0x74780a(0xde)]()),_0x45f4e4=this[_0x74780a(0xfb)](_0x3c4f7a[_0x74780a(0x112)]);return _0x46614e[_0x74780a(0xa9)]=_0x45f4e4,_0x46614e[_0x74780a(0x125)]=_0x57d794,_0x46614e['type']=u['FormulaDependencyTreeType'][_0x74780a(0x156)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x310530,_0x475b60,_0x57d794,_0x46614e),this[_0x74780a(0xea)][_0x74780a(0xa0)](_0x46614e[_0x74780a(0x15a)],_0x46614e),this[_0x74780a(0xa5)][_0x74780a(0xe2)](_0x3fb78c[_0x74780a(0xc6)],_0x3fb78c[_0x74780a(0x140)],_0x57d794)&&(_0x46614e['isCache']=!0x0),_0x46614e;}[_0x3c8968(0x10d)](_0x2ca515,_0x378031,_0x4512d7){const _0x5d5347=_0x3c8968;var _0x5d2587;for(const _0x53d868 of _0x378031){const _0xb1bb69=_0x2ca515[_0x53d868];if(_0xb1bb69==null)continue;const _0x53812b=Object[_0x5d5347(0xed)](_0xb1bb69);for(const _0xf6936 of _0x53812b){const _0x52c8db=_0xb1bb69[_0xf6936];if(_0x52c8db==null)continue;const _0x2fd380=Object[_0x5d5347(0xed)](_0x52c8db);for(const _0x1851b6 of _0x2fd380){const _0x5ef6ec=this[_0x5d5347(0xa5)][_0x5d5347(0xcb)](_0x1851b6),_0x502833=_0x52c8db[_0x1851b6],{f:_0x27cf01,ranges:_0x535fb6}=_0x502833;let _0xc17bdf=!0x1;_0x5ef6ec&&(_0xc17bdf=!0x0);const {firstRow:_0x23a345,firstColumn:_0x512195}=this['_getFirstCellOfRange'](_0x535fb6),_0x3207a3=this[_0x5d5347(0xa5)][_0x5d5347(0x9d)](_0x53d868,_0xf6936,_0x1851b6),_0x54de32=(_0x5d2587=_0x3207a3==null?void 0x0:_0x3207a3[_0x5d5347(0x9e)](0x0,0x0))!=null?_0x5d2587:u[_0x5d5347(0x108)](this[_0x5d5347(0xa5)]),_0x989c1b=new u[(_0x5d5347(0x113))](_0x54de32);for(let _0x11d19e=0x0;_0x11d19e<_0x535fb6[_0x5d5347(0x129)];_0x11d19e++){const _0x51eb4c=_0x535fb6[_0x11d19e],{startRow:_0x52eb03,startColumn:_0x2c13ba,endRow:_0x1f677a,endColumn:_0x4be890}=_0x51eb4c;for(let _0x21365c=_0x52eb03;_0x21365c<=_0x1f677a;_0x21365c++)for(let _0x1624a0=_0x2c13ba;_0x1624a0<=_0x4be890;_0x1624a0++){const _0xd7a907=_0x1624a0-_0x512195,_0xcb02de=_0x21365c-_0x23a345;if(_0xd7a907===0x0&&_0xcb02de===0x0){_0x989c1b[_0x5d5347(0x103)]=_0x27cf01,_0x989c1b[_0x5d5347(0xc6)]=_0x53d868,_0x989c1b[_0x5d5347(0x140)]=_0xf6936,_0x989c1b[_0x5d5347(0x10a)]=_0x1851b6,_0x989c1b[_0x5d5347(0xbc)]=u['FormulaDependencyTreeType'][_0x5d5347(0x153)],_0x989c1b[_0x5d5347(0xd9)]=_0xc17bdf,_0x4512d7[_0x5d5347(0x109)](_0x989c1b),this[_0x5d5347(0xea)][_0x5d5347(0xa0)](_0x989c1b['treeId'],_0x989c1b),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x53d868,_0xf6936,_0x1851b6,_0x989c1b),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x989c1b);continue;}const _0x4544ef=new u[(_0x5d5347(0x147))]();_0x4544ef[_0x5d5347(0x15a)]=(_0x3207a3==null?void 0x0:_0x3207a3[_0x5d5347(0x9e)](_0xd7a907,_0xcb02de))||u[_0x5d5347(0x108)](this[_0x5d5347(0xa5)]),_0x4544ef[_0x5d5347(0x12b)]=_0x989c1b,_0x4544ef[_0x5d5347(0xa1)]=_0xd7a907,_0x4544ef[_0x5d5347(0xe9)]=_0xcb02de,_0x4544ef[_0x5d5347(0xd9)]=_0xc17bdf,this[_0x5d5347(0xa5)][_0x5d5347(0xff)](_0x53d868,_0xf6936,_0x1851b6,_0x4544ef),this[_0x5d5347(0xa5)]['addFormulaDependencyByDefinedName'](_0x4544ef),_0x4512d7['push'](_0x4544ef),this[_0x5d5347(0xea)]['set'](_0x4544ef[_0x5d5347(0x15a)],_0x4544ef);}}this[_0x5d5347(0xa5)][_0x5d5347(0x14d)](_0x1851b6);}}}}[_0x3c8968(0x142)](_0x483007,_0x375a07,_0x68db23,_0x553ade){const _0x2df8e5=_0x3c8968;for(const _0x18e563 of _0x483007){const _0x361ad9=_0x375a07[_0x18e563];if(_0x361ad9==null)continue;const _0x5efeb8=Object[_0x2df8e5(0xed)](_0x361ad9);for(const _0x5eec2a of _0x5efeb8){const _0x4fea57=new S[(_0x2df8e5(0x155))](_0x361ad9[_0x5eec2a]||{}),_0x27eb1e=new Map();_0x4fea57[_0x2df8e5(0xab)]((_0x3e5e28,_0x4fec36,_0x596bc3)=>{const _0x5756fa=_0x2df8e5;if(_0x596bc3==null)return!0x0;const {x:_0x16d3d0=0x0,y:_0x24fc43=0x0,si:_0x36609c}=_0x596bc3;if(!(_0x16d3d0===0x0&&_0x24fc43===0x0&&_0x36609c!=null))return!0x0;const _0x5eb6cd=this[_0x5756fa(0xcf)](_0x18e563,_0x5eec2a,_0x3e5e28,_0x4fec36,_0x68db23,_0x596bc3),_0x438d4c=this[_0x5756fa(0xa5)][_0x5756fa(0x135)](_0x18e563,_0x5eec2a,_0x3e5e28,_0x4fec36);_0x438d4c!=null?_0x5eb6cd['treeId']=_0x438d4c:(this[_0x5756fa(0xa5)]['addFormulaDependency'](_0x18e563,_0x5eec2a,_0x3e5e28,_0x4fec36,_0x5eb6cd),this[_0x5756fa(0xa5)][_0x5756fa(0xd8)](_0x5eb6cd)),_0x27eb1e[_0x5756fa(0xa0)](_0x36609c,_0x5eb6cd),_0x553ade[_0x5756fa(0x109)](_0x5eb6cd),this[_0x5756fa(0xea)][_0x5756fa(0xa0)](_0x5eb6cd[_0x5756fa(0x15a)],_0x5eb6cd);}),_0x4fea57[_0x2df8e5(0xab)]((_0x550e74,_0x2f21e8,_0x49f8a3)=>{const _0x4221b6=_0x2df8e5;if(_0x49f8a3==null)return!0x0;const {x:_0x592ccd=0x0,y:_0x1fe769=0x0,si:_0x53c921}=_0x49f8a3;if(_0x592ccd===0x0&&_0x1fe769===0x0&&_0x53c921!=null)return!0x0;let _0x30a4e1;if(_0x53c921&&_0x27eb1e[_0x4221b6(0x9f)](_0x53c921)){const _0x3241d6=_0x27eb1e[_0x4221b6(0x115)](_0x53c921);_0x30a4e1=this[_0x4221b6(0x119)](_0x3241d6,_0x49f8a3);}else _0x30a4e1=this[_0x4221b6(0xcf)](_0x18e563,_0x5eec2a,_0x550e74,_0x2f21e8,_0x68db23,_0x49f8a3);const _0x1b1be8=this[_0x4221b6(0xa5)][_0x4221b6(0x135)](_0x18e563,_0x5eec2a,_0x550e74,_0x2f21e8);_0x1b1be8!=null?_0x30a4e1['treeId']=_0x1b1be8:(this['_dependencyManagerService'][_0x4221b6(0xaa)](_0x18e563,_0x5eec2a,_0x550e74,_0x2f21e8,_0x30a4e1),this[_0x4221b6(0xa5)][_0x4221b6(0xd8)](_0x30a4e1)),_0x553ade['push'](_0x30a4e1),this[_0x4221b6(0xea)][_0x4221b6(0xa0)](_0x30a4e1[_0x4221b6(0x15a)],_0x30a4e1);}),_0x27eb1e[_0x2df8e5(0x152)]();}}}['_createFDtree'](_0x2088ef,_0x2e30ab,_0x3da20d,_0x3c97e5,_0x2b8af9,_0xb4f9e0){const _0xf6a4c2=_0x3c8968,{f:_0x50ecad,x:_0x2ca81b=0x0,y:_0x3a5405=0x0}=_0xb4f9e0,_0x2c205a=new u[(_0xf6a4c2(0x113))](u[_0xf6a4c2(0x108)](this['_dependencyManagerService'])),_0x26796e=_0x2b8af9[_0x2088ef][_0x2e30ab];return _0x2c205a[_0xf6a4c2(0x103)]=_0x50ecad,_0x2c205a[_0xf6a4c2(0xc6)]=_0x2088ef,_0x2c205a[_0xf6a4c2(0x140)]=_0x2e30ab,_0x2c205a[_0xf6a4c2(0xc7)]=_0x3da20d,_0x2c205a[_0xf6a4c2(0xc4)]=_0x3c97e5,_0x2c205a[_0xf6a4c2(0x148)]=_0x26796e[_0xf6a4c2(0x148)],_0x2c205a[_0xf6a4c2(0x136)]=_0x26796e[_0xf6a4c2(0x136)],_0x2c205a;}[_0x3c8968(0xd7)](){const _0x533c32=_0x3c8968,_0x1f14aa=[],_0xa87ce1=new Set(),_0x20c14e=this[_0x533c32(0xbf)][_0x533c32(0xc3)](),_0x20ebbd=this['_currentConfigService'][_0x533c32(0xb1)](),_0x57a6ae=this[_0x533c32(0xa5)][_0x533c32(0xe5)](_0x20ebbd),_0x1efd35=this[_0x533c32(0x13a)][_0x533c32(0xbd)](_0x20ebbd);for(const _0x363592 of _0x1efd35)_0x57a6ae['add'](_0x363592);for(const [_0x501181,_0x52c40b]of this[_0x533c32(0xea)])(_0x20c14e||_0x52c40b['isDirty']||_0x52c40b[_0x533c32(0x121)](this['_currentConfigService'][_0x533c32(0xc1)]())||_0x57a6ae[_0x533c32(0x9f)](_0x501181)&&!_0x52c40b[_0x533c32(0x9b)](this[_0x533c32(0xbf)][_0x533c32(0xb8)]()))&&!_0xa87ce1[_0x533c32(0x9f)](_0x501181)&&(_0x1f14aa[_0x533c32(0x109)](_0x52c40b),_0xa87ce1[_0x533c32(0xfa)](_0x501181));for(const [_0x24d158,_0xa489f8]of this[_0x533c32(0xea)])_0xa489f8['isVirtual']||(_0xa489f8['rangeList']['length']=0x0);return _0x1f14aa;}[_0x3c8968(0xdd)](_0x519095){const _0x38c46e=_0x3c8968;return this[_0x38c46e(0xea)]['get'](_0x519095);}[_0x3c8968(0x9c)](_0x497df7){const _0x328857=_0x3c8968;return u[_0x328857(0xf6)](_0x497df7[_0x328857(0xc6)],_0x497df7['formula'],this['_lexer'],this[_0x328857(0xd3)],this[_0x328857(0xbf)]);}*['_traverse'](_0x4604ff,_0x4a5f4c){const _0xab3ff1=_0x3c8968,_0x480e57=_0x4604ff,_0x4acdb3=new Set();for(;_0x480e57[_0xab3ff1(0x129)]>0x0;){const _0x5b6c5c=_0x480e57['pop']();if(_0x4acdb3['clear'](),_0x5b6c5c===void 0x0||_0x5b6c5c[_0xab3ff1(0x13f)]())continue;if(_0x5b6c5c[_0xab3ff1(0x12d)]()){yield _0x5b6c5c,_0x5b6c5c['setSkip'](),_0x4a5f4c['add'](_0x5b6c5c[_0xab3ff1(0x15a)]);continue;}const _0x1e65a7=this['_dependencyManagerService'][_0xab3ff1(0xe5)](_0x5b6c5c['toRTreeItem'](),_0x4a5f4c),_0x35075a=this[_0xab3ff1(0x13a)]['bulkSearch'](_0x5b6c5c[_0xab3ff1(0xc0)](),_0x4a5f4c);for(const _0x2e653d of _0x35075a)_0x1e65a7['add'](_0x2e653d);for(const _0x249d08 of _0x1e65a7){const _0x2c0506=this['_dependencyTreeCache'][_0xab3ff1(0x115)](_0x249d08);if(!_0x2c0506)throw new Error(_0xab3ff1(0x123));_0x2c0506[_0xab3ff1(0x12d)]()||_0x5b6c5c[_0xab3ff1(0x13f)]()||_0x4acdb3[_0xab3ff1(0xfa)](_0x2c0506);}if(_0x1e65a7['clear'](),_0x4acdb3[_0xab3ff1(0xf8)]===0x0)yield _0x5b6c5c,_0x5b6c5c[_0xab3ff1(0xcc)](),_0x4a5f4c[_0xab3ff1(0xfa)](_0x5b6c5c['treeId']);else{_0x5b6c5c[_0xab3ff1(0x14a)](),_0x480e57[_0xab3ff1(0x109)](_0x5b6c5c);for(const _0x208be4 of _0x4acdb3)_0x480e57['push'](_0x208be4);}}_0x480e57['length']=0x0,_0x4acdb3[_0xab3ff1(0x152)]();}[_0x3c8968(0x13c)](_0x108e48){const _0x12c7d1=_0x3c8968,_0x1e5dbd=[],_0x5d568e=new Set();for(const _0x582fad of this[_0x12c7d1(0xba)](_0x108e48,_0x5d568e))_0x1e5dbd[_0x12c7d1(0x109)](_0x582fad);return _0x1e5dbd;}}class j extends u[_0x3c8968(0x111)]{async['_apply'](_0x7bddeb=!0x1){const _0x3d8db0=_0x3c8968;_0x7bddeb?this[_0x3d8db0(0xd1)]['setFormulaExecuteStage'](u[_0x3d8db0(0xfd)][_0x3d8db0(0xeb)]):this[_0x3d8db0(0xd1)][_0x3d8db0(0xb6)](u[_0x3d8db0(0xfd)][_0x3d8db0(0xfc)]),this[_0x3d8db0(0x132)][_0x3d8db0(0x145)](this[_0x3d8db0(0xd1)][_0x3d8db0(0x128)]());const _0x5c1497=await this[_0x3d8db0(0x13b)][_0x3d8db0(0x11c)](),_0x4b8e44=this[_0x3d8db0(0xe1)];_0x7bddeb?(this['_runtimeService'][_0x3d8db0(0xb6)](u['FormulaExecuteStageType'][_0x3d8db0(0xf9)]),this[_0x3d8db0(0xd1)][_0x3d8db0(0x144)](_0x5c1497[_0x3d8db0(0x129)])):(this[_0x3d8db0(0xd1)][_0x3d8db0(0xb6)](u['FormulaExecuteStageType'][_0x3d8db0(0xce)]),this['_runtimeService'][_0x3d8db0(0xdf)](_0x5c1497[_0x3d8db0(0x129)])),this['_executionInProgressListener$']['next'](this[_0x3d8db0(0xd1)]['getRuntimeState']());let _0x6af5b=[];const _0xb52f17=this[_0x3d8db0(0xa3)][_0x3d8db0(0xf0)](u[_0x3d8db0(0x158)]),_0x3a65ff=(_0xb52f17==null?void 0x0:_0xb52f17[_0x3d8db0(0xd2)])||u[_0x3d8db0(0x134)];let _0x101c07=0x0;const _0x2a3df3=_0x5c1497[_0x3d8db0(0x129)];for(;_0x5c1497[_0x3d8db0(0x129)]>0x0;){const _0x1ba324=_0x5c1497['pop'](),_0x4f0f2f={'node':u[_0x3d8db0(0xf6)](_0x1ba324[_0x3d8db0(0xc6)],_0x1ba324['formula'],this['_lexer'],this['_astTreeBuilder'],this[_0x3d8db0(0xbf)]),'refOffsetX':_0x1ba324[_0x3d8db0(0xa1)],'refOffsetY':_0x1ba324[_0x3d8db0(0xe9)]},_0x2876f8=_0x1ba324[_0x3d8db0(0xbe)];if(_0x101c07%_0x3a65ff===0x0&&(await new Promise(_0xad35a9=>{const _0x3ff18a=_0x3d8db0,_0x5921c4=S[_0x3ff18a(0x159)](_0xad35a9);_0x6af5b[_0x3ff18a(0x109)](_0x5921c4);}),_0x7bddeb?(this['_runtimeService'][_0x3d8db0(0xb6)](u[_0x3d8db0(0xfd)][_0x3d8db0(0x12e)]),this[_0x3d8db0(0xd1)][_0x3d8db0(0xe0)](_0x101c07+0x1)):(this[_0x3d8db0(0xd1)][_0x3d8db0(0xb6)](u[_0x3d8db0(0xfd)]['CURRENTLY_CALCULATING']),this[_0x3d8db0(0xd1)][_0x3d8db0(0x138)](_0x101c07+0x1)),this[_0x3d8db0(0x132)]['next'](this[_0x3d8db0(0xd1)][_0x3d8db0(0x128)]()),this[_0x3d8db0(0xd1)][_0x3d8db0(0xe7)]()||_0x4f0f2f==null&&_0x2876f8==null)){this['_runtimeService'][_0x3d8db0(0xb6)](u[_0x3d8db0(0xfd)][_0x3d8db0(0xad)]),this[_0x3d8db0(0xd1)][_0x3d8db0(0x122)](),this[_0x3d8db0(0x143)]['next'](this[_0x3d8db0(0xd1)][_0x3d8db0(0xde)]());return;}this['_runtimeService'][_0x3d8db0(0x14c)](_0x1ba324[_0x3d8db0(0xc7)],_0x1ba324['column'],_0x1ba324['rowCount'],_0x1ba324[_0x3d8db0(0x136)],_0x1ba324[_0x3d8db0(0x140)],_0x1ba324[_0x3d8db0(0xc6)]);let _0x27b114;if(_0x2876f8!=null&&_0x1ba324[_0x3d8db0(0x125)]!=null){const {runtimeCellData:_0x35e9f3,dirtyRanges:_0x19fe0f}=_0x2876f8(this[_0x3d8db0(0xbf)]['getDirtyData'](),this['_runtimeService'][_0x3d8db0(0xde)]());this[_0x3d8db0(0xd1)][_0x3d8db0(0x12a)](_0x1ba324['featureId'],_0x35e9f3),this['_runtimeService'][_0x3d8db0(0x14b)](_0x1ba324[_0x3d8db0(0x125)],_0x19fe0f);}else _0x4f0f2f!=null&&(_0x4b8e44[_0x3d8db0(0x124)](_0x4f0f2f[_0x3d8db0(0x137)])?_0x27b114=await _0x4b8e44[_0x3d8db0(0xb0)](_0x4f0f2f):_0x27b114=_0x4b8e44[_0x3d8db0(0xe8)](_0x4f0f2f),_0x1ba324[_0x3d8db0(0x10a)]!=null?this[_0x3d8db0(0xd1)]['setRuntimeOtherData'](_0x1ba324['formulaId'],_0x1ba324[_0x3d8db0(0xa1)],_0x1ba324[_0x3d8db0(0xe9)],_0x27b114):this[_0x3d8db0(0xd1)][_0x3d8db0(0x102)](_0x27b114));_0x101c07++;}return _0x6af5b[_0x3d8db0(0x11d)](_0xdf30c7=>_0xdf30c7()),_0x6af5b=[],_0x2a3df3>0x0?this[_0x3d8db0(0xd1)][_0x3d8db0(0x116)]():_0x7bddeb||this[_0x3d8db0(0xd1)]['markedAsNoFunctionsExecuted'](),this[_0x3d8db0(0xd1)][_0x3d8db0(0xde)]();}}function _0x49bc(_0x2c0db6,_0x1be3c1){const _0x11af22=_0x11af();return _0x49bc=function(_0x49bc9d,_0x34f269){_0x49bc9d=_0x49bc9d-0x9b;let _0x32b77f=_0x11af22[_0x49bc9d];return _0x32b77f;},_0x49bc(_0x2c0db6,_0x1be3c1);}class K extends u[_0x3c8968(0x149)]{constructor(){const _0xe23034=_0x3c8968;super(...arguments),M(this,_0xe23034(0x11b),new Map()),M(this,'_dependencyRTreeCache',new S[(_0xe23034(0x133))](!0x0));}[_0x3c8968(0x13e)](){const _0x852682=_0x3c8968;this['_otherFormulaData'][_0x852682(0x152)](),this[_0x852682(0x14f)][_0x852682(0x152)](),this[_0x852682(0xa7)]['clear'](),this['_dependencyRTreeCache'][_0x852682(0x152)](),this[_0x852682(0x11b)][_0x852682(0x152)](),this[_0x852682(0xb7)](),this[_0x852682(0x141)][_0x852682(0x152)]();}[_0x3c8968(0xff)](_0x32e74c,_0x2e3ea8,_0x4faf2c,_0x291090){const _0x263bb3=_0x3c8968;this['_otherFormulaData'][_0x263bb3(0x9f)](_0x32e74c)||this[_0x263bb3(0xc5)][_0x263bb3(0xa0)](_0x32e74c,new Map());const _0x21ac0a=this[_0x263bb3(0xc5)][_0x263bb3(0x115)](_0x32e74c);_0x21ac0a[_0x263bb3(0x9f)](_0x2e3ea8)||_0x21ac0a[_0x263bb3(0xa0)](_0x2e3ea8,new Map());const _0xc0c3d2=_0x21ac0a[_0x263bb3(0x115)](_0x2e3ea8);_0xc0c3d2[_0x263bb3(0x9f)](_0x4faf2c)||_0xc0c3d2[_0x263bb3(0xa0)](_0x4faf2c,new S[(_0x263bb3(0x155))]()),_0xc0c3d2[_0x263bb3(0x115)](_0x4faf2c)[_0x263bb3(0xda)](_0x291090[_0x263bb3(0xa1)],_0x291090['refOffsetY'],_0x291090[_0x263bb3(0x15a)]);}['removeOtherFormulaDependency'](_0x400d54,_0xd2483d,_0x2c595b){const _0x1cb8d6=_0x3c8968,_0x2e7282=this[_0x1cb8d6(0xc5)][_0x1cb8d6(0x115)](_0x400d54);if(_0x2e7282&&_0x2e7282[_0x1cb8d6(0x9f)](_0xd2483d)){const _0x251064=_0x2e7282['get'](_0xd2483d);_0x2c595b[_0x1cb8d6(0x11d)](_0x3d16c6=>{const _0x1f5ae9=_0x1cb8d6,_0x43d843=_0x251064[_0x1f5ae9(0x115)](_0x3d16c6);_0x43d843!=null&&(_0x43d843[_0x1f5ae9(0xab)]((_0x60a6d7,_0x1b96c8,_0x9b1228)=>{const _0x599b73=_0x1f5ae9;this[_0x599b73(0x127)](_0x9b1228),this[_0x599b73(0xaf)](_0x9b1228);}),_0x251064[_0x1f5ae9(0xc9)](_0x3d16c6),this[_0x1f5ae9(0x141)][_0x1f5ae9(0xc9)](_0x3d16c6));}),_0x251064[_0x1cb8d6(0xf8)]===0x0&&_0x2e7282['delete'](_0xd2483d),_0x2e7282[_0x1cb8d6(0xf8)]===0x0&&this[_0x1cb8d6(0xc5)][_0x1cb8d6(0xc9)](_0x400d54);}}[_0x3c8968(0xf7)](_0x59e611,_0x2b0c3f){const _0x6b8a71=_0x3c8968,_0x1bac1c=this[_0x6b8a71(0xc5)][_0x6b8a71(0x115)](_0x59e611);if(_0x2b0c3f&&_0x1bac1c&&_0x1bac1c[_0x6b8a71(0x9f)](_0x2b0c3f)){const _0x297dc9=_0x1bac1c[_0x6b8a71(0x115)](_0x2b0c3f);this[_0x6b8a71(0xae)](_0x59e611,_0x2b0c3f);for(const _0x4874fc of _0x297dc9[_0x6b8a71(0xed)]()){const _0x19be2c=_0x297dc9[_0x6b8a71(0x115)](_0x4874fc);_0x19be2c!=null&&(_0x19be2c[_0x6b8a71(0xab)]((_0x3b7496,_0x4379b5,_0x2696c9)=>{this['_allTreeMap']['get'](_0x2696c9)&&this['_removeAllTreeMap'](_0x2696c9);}),this[_0x6b8a71(0x141)][_0x6b8a71(0xc9)](_0x4874fc));}_0x297dc9[_0x6b8a71(0x152)]();}else{if(_0x1bac1c){for(const _0x15bc9b of _0x1bac1c[_0x6b8a71(0xed)]()){const _0x374fd9=_0x1bac1c[_0x6b8a71(0x115)](_0x15bc9b);this['_removeDependencyRTreeCacheById'](_0x59e611,_0x15bc9b);for(const _0x4ff093 of _0x374fd9[_0x6b8a71(0xed)]()){const _0x517a02=_0x374fd9['get'](_0x4ff093);_0x517a02!=null&&(_0x517a02['forValue']((_0x5ae59e,_0x219f32,_0x990a5c)=>{const _0x2cd127=_0x6b8a71;this[_0x2cd127(0x11b)][_0x2cd127(0x115)](_0x990a5c)&&this[_0x2cd127(0xaf)](_0x990a5c);}),this[_0x6b8a71(0x141)][_0x6b8a71(0xc9)](_0x4ff093));}}this[_0x6b8a71(0xc5)][_0x6b8a71(0xc9)](_0x59e611);}}}['addFeatureFormulaDependency'](_0x194911,_0x217635,_0x321c84,_0x3f0029){const _0x3c639d=_0x3c8968;this['_featureFormulaData'][_0x3c639d(0x9f)](_0x194911)||this[_0x3c639d(0x14f)][_0x3c639d(0xa0)](_0x194911,new Map());const _0x50635e=this['_featureFormulaData'][_0x3c639d(0x115)](_0x194911);_0x50635e['has'](_0x217635)||_0x50635e['set'](_0x217635,new Map()),_0x50635e[_0x3c639d(0x115)](_0x217635)['set'](_0x321c84,_0x3f0029['treeId']);}[_0x3c8968(0xdc)](_0x1d1e54,_0x502b6d,_0x15ee28){const _0x1ca002=_0x3c8968,_0x4ea80d=this['_featureFormulaData']['get'](_0x1d1e54);if(_0x4ea80d&&_0x4ea80d[_0x1ca002(0x9f)](_0x502b6d)){const _0x565b6c=_0x4ea80d[_0x1ca002(0x115)](_0x502b6d);_0x15ee28[_0x1ca002(0x11d)](_0x5a7a09=>{const _0x5aabe0=_0x1ca002,_0x4e263a=_0x565b6c[_0x5aabe0(0x115)](_0x5a7a09);_0x4e263a!=null&&(this[_0x5aabe0(0x127)](_0x4e263a),_0x565b6c[_0x5aabe0(0xc9)](_0x5a7a09),this[_0x5aabe0(0xaf)](_0x4e263a));});}}[_0x3c8968(0x12c)](_0x3e4a27,_0x4048e6){const _0x45ed23=_0x3c8968,_0x51fadd=this[_0x45ed23(0x14f)][_0x45ed23(0x115)](_0x3e4a27);if(_0x4048e6&&_0x51fadd&&_0x51fadd[_0x45ed23(0x9f)](_0x4048e6)){const _0x2f78a9=_0x51fadd['get'](_0x4048e6);this['_removeDependencyRTreeCacheById'](_0x3e4a27,_0x4048e6),_0x2f78a9[_0x45ed23(0x11d)](_0x8ec48f=>{const _0x1356af=_0x45ed23;_0x8ec48f!=null&&this[_0x1356af(0xaf)](_0x8ec48f);}),_0x2f78a9[_0x45ed23(0x152)]();}else _0x51fadd&&(_0x51fadd[_0x45ed23(0x11d)]((_0x3cf236,_0xb7e7dc)=>{const _0x416656=_0x45ed23;this['_removeDependencyRTreeCacheById'](_0x3e4a27,_0xb7e7dc),_0x3cf236[_0x416656(0x11d)](_0xdb35d3=>{_0xdb35d3!=null&&this['_removeAllTreeMap'](_0xdb35d3);});}),this['_featureFormulaData']['delete'](_0x3e4a27));}[_0x3c8968(0xaa)](_0x58bf13,_0x6e459b,_0x2acb45,_0x1fa2d0,_0x24a82b){const _0x3032b2=_0x3c8968;this['_formulaData'][_0x3032b2(0x9f)](_0x58bf13)||this[_0x3032b2(0xa7)][_0x3032b2(0xa0)](_0x58bf13,new Map());const _0x2a122e=this['_formulaData'][_0x3032b2(0x115)](_0x58bf13);_0x2a122e[_0x3032b2(0x9f)](_0x6e459b)||_0x2a122e[_0x3032b2(0xa0)](_0x6e459b,new S[(_0x3032b2(0x155))]()),_0x2a122e[_0x3032b2(0x115)](_0x6e459b)[_0x3032b2(0xda)](_0x2acb45,_0x1fa2d0,_0x24a82b[_0x3032b2(0x15a)]);}[_0x3c8968(0xe3)](_0x57b163,_0x574f68,_0x3b3adc,_0x4bfa61){const _0x397918=_0x3c8968,_0x438ec7=this[_0x397918(0xa7)]['get'](_0x57b163);if(_0x438ec7&&_0x438ec7['has'](_0x574f68)){const _0x59b918=_0x438ec7[_0x397918(0x115)](_0x574f68),_0x22757e=_0x59b918[_0x397918(0x9e)](_0x3b3adc,_0x4bfa61);if(_0x22757e==null)return;this[_0x397918(0x127)](_0x22757e),_0x59b918[_0x397918(0xf2)](_0x3b3adc,_0x4bfa61),this['_removeAllTreeMap'](_0x22757e);}}[_0x3c8968(0xb2)](_0xdbc75f,_0x2d3a98){const _0x8ec3b7=_0x3c8968,_0x50e4ee=this[_0x8ec3b7(0xa7)][_0x8ec3b7(0x115)](_0xdbc75f);if(_0x2d3a98&&_0x50e4ee&&_0x50e4ee['has'](_0x2d3a98)){const _0x867030=_0x50e4ee[_0x8ec3b7(0x115)](_0x2d3a98);this[_0x8ec3b7(0xae)](_0xdbc75f,_0x2d3a98),_0x867030[_0x8ec3b7(0xab)]((_0x5f449b,_0x3a41f2,_0x1a767d)=>{if(_0x1a767d==null)return!0x0;this['_removeAllTreeMap'](_0x1a767d);}),_0x867030['reset']();}else _0x50e4ee&&(_0x50e4ee[_0x8ec3b7(0x11d)]((_0x25a512,_0x4672de)=>{const _0x34d503=_0x8ec3b7;this[_0x34d503(0xae)](_0xdbc75f,_0x4672de),_0x25a512[_0x34d503(0xab)]((_0x269c9d,_0x3cbbfe,_0x459bfc)=>{if(_0x459bfc==null)return!0x0;this['_removeAllTreeMap'](_0x459bfc);});}),this[_0x8ec3b7(0xa7)][_0x8ec3b7(0xc9)](_0xdbc75f));}['_removeDependencyRTreeCache'](_0x6fcb67){const _0x149f58=_0x3c8968;if(_0x6fcb67==null)return;const _0x579391=this['_allTreeMap'][_0x149f58(0x115)](_0x6fcb67);if(_0x579391){const _0x305de9=[];for(const [_0x1e2114,_0xb06b43]of _0x579391)for(const [_0xfbc0d4,_0x244f39]of _0xb06b43)_0x305de9[_0x149f58(0x109)]({'unitId':_0x1e2114,'sheetId':_0xfbc0d4,'range':_0x244f39,'id':_0x6fcb67});this[_0x149f58(0x120)][_0x149f58(0xee)](_0x305de9);}}['removeFormulaDependencyByDefinedName'](_0x40b24f,_0x55db3a){const _0x28d0ed=_0x3c8968,_0x5d23f9=this[_0x28d0ed(0xf5)][_0x28d0ed(0x115)](_0x40b24f);if(_0x5d23f9){const _0x54fe70=_0x5d23f9['get'](_0x55db3a);if(_0x54fe70){for(const _0x11e86d of _0x54fe70)this[_0x28d0ed(0x127)](_0x11e86d),this[_0x28d0ed(0xaf)](_0x11e86d);_0x54fe70[_0x28d0ed(0x152)]();}}}['openKdTree'](){const _0x322704=_0x3c8968;this[_0x322704(0x120)][_0x322704(0xc2)]();}[_0x3c8968(0x146)](){const _0x253222=_0x3c8968;this[_0x253222(0x120)][_0x253222(0x146)]();}['_removeAllTreeMap'](_0x30771d){const _0x42444e=_0x3c8968;_0x30771d!=null&&this[_0x42444e(0x11b)][_0x42444e(0xc9)](_0x30771d);}[_0x3c8968(0xfe)](_0x11d2c1){const _0x449629=_0x3c8968;var _0x493e89,_0x5e9e0c;const _0x5722c0=_0x11d2c1['rangeList'];let _0x564bd7=this[_0x449629(0x11b)][_0x449629(0x115)](_0x11d2c1[_0x449629(0x15a)]);for(let _0x4102fa=0x0;_0x4102fa<_0x5722c0[_0x449629(0x129)];_0x4102fa++){const _0x217848=_0x5722c0[_0x4102fa];let {unitId:_0x416be1,sheetId:_0x405b69,range:_0x1c4edb}=_0x217848;_0x564bd7||(_0x564bd7=new Map(),this[_0x449629(0x11b)]['set'](_0x11d2c1[_0x449629(0x15a)],_0x564bd7)),_0x564bd7['has'](_0x416be1)||_0x564bd7[_0x449629(0xa0)](_0x416be1,new Map());const _0x48b371=(_0x493e89=_0x564bd7==null?void 0x0:_0x564bd7[_0x449629(0x115)](_0x416be1))==null?void 0x0:_0x493e89['get'](_0x405b69);_0x48b371&&(_0x1c4edb={'startRow':Math[_0x449629(0x151)](_0x1c4edb[_0x449629(0x157)],_0x48b371[_0x449629(0x157)]),'startColumn':Math[_0x449629(0x151)](_0x1c4edb[_0x449629(0xca)],_0x48b371[_0x449629(0xca)]),'endRow':Math['max'](_0x1c4edb[_0x449629(0x139)],_0x48b371[_0x449629(0x139)]),'endColumn':Math['max'](_0x1c4edb[_0x449629(0x114)],_0x48b371[_0x449629(0x114)])}),(_0x5e9e0c=_0x564bd7[_0x449629(0x115)](_0x416be1))==null||_0x5e9e0c['set'](_0x405b69,_0x1c4edb);}}}var B=Object['getOwnPropertyDescriptor'],Y=(_0x4aed46,_0xa6496a,_0x1c4c9e,_0x50b1e6)=>{for(var _0x2cca3b=_0x50b1e6>0x1?void 0x0:_0x50b1e6?B(_0xa6496a,_0x1c4c9e):_0xa6496a,_0x5010d8=_0x4aed46['length']-0x1,_0xcdb849;_0x5010d8>=0x0;_0x5010d8--)(_0xcdb849=_0x4aed46[_0x5010d8])&&(_0x2cca3b=_0xcdb849(_0x2cca3b)||_0x2cca3b);return _0x2cca3b;};const G=Number[_0x3c8968(0x105)](0x68c5181c);exports[_0x3c8968(0x110)]=class extends u[_0x3c8968(0xf4)]{[_0x3c8968(0xa2)](){const _0x30c1f4=_0x3c8968;var _0x5a3efa,_0x343d20;this[_0x30c1f4(0xe4)]()?(_0x5a3efa=this['_config'])!=null&&_0x5a3efa[_0x30c1f4(0x12f)]||[[u[_0x30c1f4(0xdb)],{'useClass':j}],[u[_0x30c1f4(0xb9)],{'useClass':K}],[u[_0x30c1f4(0xf3)],{'useClass':k}]]['forEach'](_0x27246b=>this[_0x30c1f4(0x11a)][_0x30c1f4(0xfa)](_0x27246b)):(_0x343d20=this[_0x30c1f4(0x104)])!=null&&_0x343d20[_0x30c1f4(0x12f)]||[[u[_0x30c1f4(0xdb)],{'useClass':u['CalculateFormulaService']}],[u['IDependencyManagerService'],{'useClass':u[_0x30c1f4(0xcd)]}],[u['IFormulaDependencyGenerator'],{'useClass':u[_0x30c1f4(0x126)]}]][_0x30c1f4(0x11d)](_0x1c5f79=>this[_0x30c1f4(0x11a)][_0x30c1f4(0xfa)](_0x1c5f79));}[_0x3c8968(0xe4)](){const _0x25e27f=_0x3c8968;var _0x5571c2;const _0xd75d74=(_0x5571c2=this[_0x25e27f(0xa3)][_0x25e27f(0xf0)](C['LS_CONFIG_KEY']))!=null?_0x5571c2:{},{ls:_0x1c4cfc,pbk:_0x4c1fe2}=_0xd75d74;if(!_0x1c4cfc||!_0x4c1fe2)return!0x1;const _0x214d16=C[_0x25e27f(0x10b)](H,b),_0xb96179=new Function(_0x25e27f(0xb3)+_0x214d16)()(_0x1c4cfc,_0x4c1fe2),_0x581977=_0xb96179['message'];return _0xb96179[_0x25e27f(0x117)]&&C[_0x25e27f(0xd6)](_0x581977,'sf',G)?C[_0x25e27f(0x10f)](_0x581977,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=Y([S['DependentOn'](C[_0x3c8968(0xef)])],exports['UniverProFormulaEnginePlugin']),Object[_0x3c8968(0xed)](u)[_0x3c8968(0x11d)](_0x2e0258=>{const _0xfaafd2=_0x3c8968;_0x2e0258!==_0xfaafd2(0xac)&&!Object['prototype'][_0xfaafd2(0xa8)][_0xfaafd2(0xa4)](exports,_0x2e0258)&&Object[_0xfaafd2(0x130)](exports,_0x2e0258,{'enumerable':!0x0,'get':()=>u[_0x2e0258]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4bf7(_0x3ac0fc,_0x166128){var _0x4488e8=_0x4488();return _0x4bf7=function(_0x4bf7eb,_0x478ad3){_0x4bf7eb=_0x4bf7eb-0x1d8;var _0x4c63ba=_0x4488e8[_0x4bf7eb];return _0x4c63ba;},_0x4bf7(_0x3ac0fc,_0x166128);}(function(_0x4a8665,_0x46f5e3){var _0x1654b2=_0x4bf7,_0x21d74a=_0x4a8665();while(!![]){try{var _0x2c163f=-parseInt(_0x1654b2(0x1db))/0x1+parseInt(_0x1654b2(0x1da))/0x2+-parseInt(_0x1654b2(0x1de))/0x3+-parseInt(_0x1654b2(0x1e1))/0x4*(-parseInt(_0x1654b2(0x1dc))/0x5)+parseInt(_0x1654b2(0x1d9))/0x6*(-parseInt(_0x1654b2(0x1e0))/0x7)+-parseInt(_0x1654b2(0x1df))/0x8+parseInt(_0x1654b2(0x1dd))/0x9*(parseInt(_0x1654b2(0x1d8))/0xa);if(_0x2c163f===_0x46f5e3)break;else _0x21d74a['push'](_0x21d74a['shift']());}catch(_0x2f2ba1){_0x21d74a['push'](_0x21d74a['shift']());}}}(_0x4488,0x96257));export*from'@univerjs/engine-formula/facade';function _0x4488(){var _0x303459=['705675crmzne','190nNFyhe','5193729fGOPBW','3620421YAizaE','7729480KRvwbR','56YlnwTD','104028VEfYIk','50ngPTdr','797178StGVfE','1365798tzwnkE'];_0x4488=function(){return _0x303459;};return _0x4488();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4129(_0x1d9b2e,_0xb5384b){const _0x4732d2=_0x4732();return _0x4129=function(_0x41293c,_0x2cd455){_0x41293c=_0x41293c-0x88;let _0x5c59c8=_0x4732d2[_0x41293c];return _0x5c59c8;},_0x4129(_0x1d9b2e,_0xb5384b);}const _0x41bada=_0x4129;(function(_0x4ed1b4,_0x2a643a){const _0x4f3bf5=_0x4129,_0x3acec7=_0x4ed1b4();while(!![]){try{const _0x367fe1=parseInt(_0x4f3bf5(0xbe))/0x1*(-parseInt(_0x4f3bf5(0xb1))/0x2)+parseInt(_0x4f3bf5(0x109))/0x3*(parseInt(_0x4f3bf5(0xd3))/0x4)+-parseInt(_0x4f3bf5(0xb3))/0x5*(-parseInt(_0x4f3bf5(0xdc))/0x6)+parseInt(_0x4f3bf5(0x97))/0x7*(-parseInt(_0x4f3bf5(0xed))/0x8)+parseInt(_0x4f3bf5(0xe1))/0x9*(-parseInt(_0x4f3bf5(0x88))/0xa)+parseInt(_0x4f3bf5(0x91))/0xb+parseInt(_0x4f3bf5(0x8d))/0xc*(parseInt(_0x4f3bf5(0x110))/0xd);if(_0x367fe1===_0x2a643a)break;else _0x3acec7['push'](_0x3acec7['shift']());}catch(_0x9f1dad){_0x3acec7['push'](_0x3acec7['shift']());}}}(_0x4732,0xa978f));var z=Object['defineProperty'],W=(_0x136712,_0x5d3660,_0x17095b)=>_0x5d3660 in _0x136712?z(_0x136712,_0x5d3660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17095b}):_0x136712[_0x5d3660]=_0x17095b,I=(_0x45841d,_0x45854f,_0xcc2573)=>W(_0x45841d,typeof _0x45854f!=_0x41bada(0xe5)?_0x45854f+'':_0x45854f,_0xcc2573);import{UniverLicensePlugin as _0x3a0e6e,LS_CONFIG_KEY as _0x317615,unshiftString as _0x2463bf,isFeatureAuthorizedWithinTime as _0x3d42ba,getSheetFeatureLimit as _0x3c153a}from'@univerjs-pro/license';import{ObjectMatrix as _0x11ab1c,requestImmediateMacroTask as _0x6ccd12,RTree as _0xb9182a,DependentOn as _0x190b9a}from'@univerjs/core';import{FormulaDependencyGenerator as _0x10e6df,generateRandomDependencyTreeId as _0xa8ff94,FormulaDependencyTree as _0x53885a,FormulaDependencyTreeType as _0x34cea1,FormulaDependencyTreeVirtual as _0x552a76,generateAstNode as _0xb8e236,CalculateFormulaService as _0x453d1f,FormulaExecuteStageType as _0x444fe5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xd0dde6,DEFAULT_INTERVAL_COUNT as _0x171aac,DependencyManagerBaseService as _0x160d16,UniverFormulaEnginePlugin as _0x11a7e5,ICalculateFormulaService as _0x41d0f3,IDependencyManagerService as _0x3901f0,IFormulaDependencyGenerator as _0x3d9c53,DependencyManagerService as _0x35aa0c}from'@univerjs/engine-formula';function _0x4732(){const _0x3b724d=['_checkIsCycleDependency','toRTreeItem','refTree','_initializeWithOverride','_featureFormulaData','_dependencyManagerService','getOwnPropertyDescriptor','reset','setTotalFormulasToCalculate','generate','clearFormulaDependency','_otherFormulaData','1172895nYdMDl','dirtyRanges','_allTreeMap','_executionInProgressListener$','_initLicenseValid','_traverse','markedAsSuccessfullyExecuted','390130ZHwHVo','addFormulaDependencyByDefinedName','getExcludedRange','_injector','_removeAllTreeMap','forEach','markedAsNoFunctionsExecuted','getValue','parseInt','row','max','_astTreeBuilder','getClearDependencyTreeCache','markedAsStopFunctionsExecuted','set','_addAllTreeMap','refOffsetX','getRuntimeState','setRuntimeFeatureCellData','bulkSearch','43730ITyrFd','_getTreeById','next','closeKdTree','isCache','24UcJYJU','formulaId','treeId','executeAsync','10596014dMWXeh','START_CALCULATION_ARRAY_FORMULA','setSkip','enableCycleDependency','_getFeatureFormulaTree','getDirtyNameMap','14LQMhQw','setCompletedArrayFormulasCount','message','_isCyclicUtilMap','endColumn','clear','type','_registerFormulas','bulkRemove','_dependencyTreeCache','startColumn','subUnitId','getAllRuntimeData','isForceCalculate','dependencySheetName','_runtimeService','_formulaData','_apply','_removeDependencyRTreeCache','_configService','length','min','size','checkAsyncNode','getDirtyRanges','pop','2fMrGRl','_removeDependencyRTreeCacheById','2299790eSkhbB','_convertDirtyRangesToUnitRange','OTHER_FORMULA','removeFormulaDependency','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','delete','get','_getFirstCellOfRange','dispose','notExecuteFormula','229268bpBfwW','isStopExecution','valid','_createFDtree','getFormulaDependency','column','searchDependency','keys','add','ParentDependencyTree\x20object\x20is\x20null','startRow','_dependencyRTreeCache','_interpreter','_currentConfigService','_otherFormulaDataMainData','isAdded','isDirty','formula','addOtherFormulaDependencyMainData','refOffsetY','_calculateRunList','4zlwxAe','rangeList','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeOtherData','forValue','setRuntimeFeatureRange','push','setValue','_formulaDependencyGenerator','6cMrMGm','removeOtherFormulaDependency','addFormulaDependency','setAdded','addOtherFormulaDependency','864rKUjgH','getOtherFormulaData','unitId','START_CALCULATION','symbol','CURRENTLY_CALCULATING','columnCount','_updateRangeFlatten','_lexer','_otherFormulaManagerService','addFeatureFormulaDependency','_createVirtualFDtree','2123928NsarpF','getDirtyData','setTotalArrayFormulasToCalculate','rowCount','intervalCount','IDLE','_definedNameMap','setCompletedFormulasCount','openKdTree','clearOtherFormulaDependency','XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','featureId','has','setFormulaExecuteStage','_config','clearFeatureFormulaDependency'];_0x4732=function(){return _0x3b724d;};return _0x4732();}export*from'@univerjs/engine-formula';const le={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},ue=_0x41bada(0xf7);class de extends _0x10e6df{constructor(){super(...arguments),I(this,'_dependencyTreeCache',new Map());}[_0x41bada(0xbc)](){const _0x2c57f4=_0x41bada;super[_0x2c57f4(0xbc)](),this[_0x2c57f4(0xa0)][_0x2c57f4(0x9c)]();}async[_0x41bada(0x106)](){const _0x32a508=_0x41bada;this[_0x32a508(0xe8)]();const _0x518e65=this[_0x32a508(0xcb)]['getFormulaData'](),_0x46dde8=this[_0x32a508(0xea)][_0x32a508(0xe2)](),_0x5b9b2a=this[_0x32a508(0xcb)][_0x32a508(0x11c)]();_0x5b9b2a!=null&&Object[_0x32a508(0xc5)](_0x5b9b2a)[_0x32a508(0x115)](_0xc02489=>{const _0x4c07b5=_0x32a508;_0xc02489!=null&&Object[_0x4c07b5(0xc5)](_0x5b9b2a[_0xc02489])[_0x4c07b5(0x115)](_0x406ab7=>{const _0x1858ca=_0x4c07b5;_0x406ab7!=null&&(this['_dependencyManagerService'][_0x1858ca(0xf6)](_0xc02489,_0x406ab7),this['_dependencyManagerService'][_0x1858ca(0xfc)](_0xc02489,_0x406ab7),this[_0x1858ca(0x102)]['clearFormulaDependency'](_0xc02489,_0x406ab7));});});const _0x254a05=this[_0x32a508(0xcb)]['getUnitData']();await this['_generateTreeList'](_0x518e65,_0x46dde8,_0x254a05),this[_0x32a508(0x102)]['openKdTree']();const _0x444300=this[_0x32a508(0xb8)](),_0x40d1a4=this['_calculateRunList'](_0x444300);return this['_checkIsCycleDependency'](_0x40d1a4)&&this[_0x32a508(0xa6)][_0x32a508(0x94)](),this[_0x32a508(0xa0)][_0x32a508(0x9c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x32a508(0x9c)](),this['_dependencyManagerService'][_0x32a508(0x8b)](),Promise['resolve'](_0x40d1a4);}[_0x41bada(0x9a)](_0x3f7b1c,_0x14e39a){const _0x1844c1=_0x41bada,_0x213d96=[_0x3f7b1c];for(;_0x213d96[_0x1844c1(0xab)]>0x0;){const _0x4791fb=_0x213d96[_0x213d96[_0x1844c1(0xab)]-0x1];if((_0x14e39a['get'](_0x4791fb)||0x0)===0x0){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x1);const _0x12f169=this['_dependencyTreeCache'][_0x1844c1(0xba)](_0x4791fb);if(_0x12f169==null){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x2),_0x213d96['pop']();continue;}const _0x44bc72=this[_0x1844c1(0x102)]['searchDependency'](_0x12f169[_0x1844c1(0xfe)]());for(const _0x1e55e8 of _0x44bc72){const _0x5aac2f=_0x14e39a['get'](_0x1e55e8)||0x0;if(_0x5aac2f===0x1)return!0x0;_0x5aac2f===0x0&&_0x213d96[_0x1844c1(0xd9)](_0x1e55e8);}}else _0x14e39a['set'](_0x4791fb,0x2),_0x213d96['pop']();}return!0x1;}[_0x41bada(0xfd)](_0x52dc9e){const _0x274330=_0x41bada,_0x215a93=new Map();for(const _0x2d4e1d of _0x52dc9e)if(!_0x215a93[_0x274330(0xf9)](_0x2d4e1d[_0x274330(0x8f)])&&this['_isCyclicUtilMap'](_0x2d4e1d[_0x274330(0x8f)],_0x215a93))return!0x0;return _0x215a93[_0x274330(0x9c)](),!0x1;}[_0x41bada(0x95)](_0x1f42e2,_0x5241a4,_0x2f63cb){const _0x109c44=_0x41bada,{unitId:_0x57f3d7,subUnitId:_0x142b8d,dependencyRanges:_0x5ca094,getDirtyData:_0x5ad3e2}=_0x2f63cb,_0x2b8198=_0x5241a4||_0xa8ff94(this[_0x109c44(0x102)]),_0x58901a=new _0x53885a(_0x2b8198);_0x58901a[_0x109c44(0xe3)]=_0x57f3d7,_0x58901a['subUnitId']=_0x142b8d,_0x58901a[_0x109c44(0xd4)]=_0x5ca094,_0x58901a[_0x109c44(0xee)]=_0x5ad3e2;const _0x4a7d19=_0x5ad3e2(this[_0x109c44(0xcb)][_0x109c44(0xee)](),this[_0x109c44(0xa6)][_0x109c44(0xa3)]()),_0x75734a=this[_0x109c44(0xb4)](_0x4a7d19[_0x109c44(0x10a)]);return _0x58901a['featureDirtyRanges']=_0x75734a,_0x58901a['featureId']=_0x1f42e2,_0x58901a[_0x109c44(0x9d)]=_0x34cea1['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x109c44(0xeb)](_0x57f3d7,_0x142b8d,_0x1f42e2,_0x58901a),this[_0x109c44(0xa0)][_0x109c44(0x11e)](_0x58901a[_0x109c44(0x8f)],_0x58901a),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x2f63cb['unitId'],_0x2f63cb[_0x109c44(0xa2)],_0x1f42e2)&&(_0x58901a[_0x109c44(0x8c)]=!0x0),_0x58901a;}['_registerOtherFormulas'](_0x380b4b,_0x28b577,_0x52022d){const _0x3d0ccb=_0x41bada;var _0x8968f9;for(const _0x2eb74d of _0x28b577){const _0x3a88d4=_0x380b4b[_0x2eb74d];if(_0x3a88d4==null)continue;const _0x45ac01=Object[_0x3d0ccb(0xc5)](_0x3a88d4);for(const _0x500d8e of _0x45ac01){const _0x210d00=_0x3a88d4[_0x500d8e];if(_0x210d00==null)continue;const _0x4a1d9e=Object[_0x3d0ccb(0xc5)](_0x210d00);for(const _0xd1edce of _0x4a1d9e){const _0x4ea975=this[_0x3d0ccb(0x102)]['hasOtherFormulaDataMainData'](_0xd1edce),_0x46bb6e=_0x210d00[_0xd1edce],{f:_0x3f06f7,ranges:_0x4b2631}=_0x46bb6e;let _0x4345eb=!0x1;_0x4ea975&&(_0x4345eb=!0x0);const {firstRow:_0x4808c5,firstColumn:_0x25b4f2}=this[_0x3d0ccb(0xbb)](_0x4b2631),_0x5ecf38=this[_0x3d0ccb(0x102)]['getOtherFormulaDependency'](_0x2eb74d,_0x500d8e,_0xd1edce),_0x17fe68=(_0x8968f9=_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](0x0,0x0))!=null?_0x8968f9:_0xa8ff94(this[_0x3d0ccb(0x102)]),_0x4744d=new _0x53885a(_0x17fe68);for(let _0x42f24b=0x0;_0x42f24b<_0x4b2631['length'];_0x42f24b++){const _0x57ef04=_0x4b2631[_0x42f24b],{startRow:_0x3f5d0f,startColumn:_0x23bcc1,endRow:_0x5b2656,endColumn:_0x54b461}=_0x57ef04;for(let _0x25769b=_0x3f5d0f;_0x25769b<=_0x5b2656;_0x25769b++)for(let _0x5a0406=_0x23bcc1;_0x5a0406<=_0x54b461;_0x5a0406++){const _0x105a85=_0x5a0406-_0x25b4f2,_0x16902d=_0x25769b-_0x4808c5;if(_0x105a85===0x0&&_0x16902d===0x0){_0x4744d['formula']=_0x3f06f7,_0x4744d['unitId']=_0x2eb74d,_0x4744d['subUnitId']=_0x500d8e,_0x4744d[_0x3d0ccb(0x8e)]=_0xd1edce,_0x4744d[_0x3d0ccb(0x9d)]=_0x34cea1[_0x3d0ccb(0xb5)],_0x4744d[_0x3d0ccb(0x8c)]=_0x4345eb,_0x52022d[_0x3d0ccb(0xd9)](_0x4744d),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x4744d['treeId'],_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0x111)](_0x4744d);continue;}const _0x3e277c=new _0x552a76();_0x3e277c['treeId']=(_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](_0x105a85,_0x16902d))||_0xa8ff94(this['_dependencyManagerService']),_0x3e277c[_0x3d0ccb(0xff)]=_0x4744d,_0x3e277c[_0x3d0ccb(0x120)]=_0x105a85,_0x3e277c[_0x3d0ccb(0xd1)]=_0x16902d,_0x3e277c[_0x3d0ccb(0x8c)]=_0x4345eb,this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x3e277c),this['_dependencyManagerService'][_0x3d0ccb(0x111)](_0x3e277c),_0x52022d[_0x3d0ccb(0xd9)](_0x3e277c),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x3e277c[_0x3d0ccb(0x8f)],_0x3e277c);}}this[_0x3d0ccb(0x102)][_0x3d0ccb(0xd0)](_0xd1edce);}}}}[_0x41bada(0x9e)](_0x5efcf3,_0x27323e,_0x597606,_0x4bf101){const _0x57872d=_0x41bada;for(const _0x31953e of _0x5efcf3){const _0x365b8a=_0x27323e[_0x31953e];if(_0x365b8a==null)continue;const _0x4f48c4=Object[_0x57872d(0xc5)](_0x365b8a);for(const _0x26641a of _0x4f48c4){const _0x29369a=new _0x11ab1c(_0x365b8a[_0x26641a]||{}),_0x4d6c91=new Map();_0x29369a[_0x57872d(0xd7)]((_0x1d85c9,_0x4596b3,_0x5cd542)=>{const _0x3b0153=_0x57872d;if(_0x5cd542==null)return!0x0;const {x:_0x8d7f04=0x0,y:y=0x0,si:_0x468c5a}=_0x5cd542;if(!(_0x8d7f04===0x0&&y===0x0&&_0x468c5a!=null))return!0x0;const _0x103b59=this[_0x3b0153(0xc1)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x597606,_0x5cd542),_0x2e6bb0=this[_0x3b0153(0x102)][_0x3b0153(0xc2)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3);_0x2e6bb0!=null?_0x103b59['treeId']=_0x2e6bb0:(this[_0x3b0153(0x102)][_0x3b0153(0xde)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x103b59),this[_0x3b0153(0x102)]['addFormulaDependencyByDefinedName'](_0x103b59)),_0x4d6c91['set'](_0x468c5a,_0x103b59),_0x4bf101[_0x3b0153(0xd9)](_0x103b59),this[_0x3b0153(0xa0)][_0x3b0153(0x11e)](_0x103b59[_0x3b0153(0x8f)],_0x103b59);}),_0x29369a[_0x57872d(0xd7)]((_0xa8d84e,_0x26a851,_0x5c506e)=>{const _0x14e894=_0x57872d;if(_0x5c506e==null)return!0x0;const {x:_0x12512d=0x0,y:y=0x0,si:_0x3af9ec}=_0x5c506e;if(_0x12512d===0x0&&y===0x0&&_0x3af9ec!=null)return!0x0;let _0x22c5b4;if(_0x3af9ec&&_0x4d6c91['has'](_0x3af9ec)){const _0x4dd2c5=_0x4d6c91[_0x14e894(0xba)](_0x3af9ec);_0x22c5b4=this[_0x14e894(0xec)](_0x4dd2c5,_0x5c506e);}else _0x22c5b4=this['_createFDtree'](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x597606,_0x5c506e);const _0x4b30e0=this[_0x14e894(0x102)][_0x14e894(0xc2)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851);_0x4b30e0!=null?_0x22c5b4[_0x14e894(0x8f)]=_0x4b30e0:(this['_dependencyManagerService'][_0x14e894(0xde)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x22c5b4),this[_0x14e894(0x102)]['addFormulaDependencyByDefinedName'](_0x22c5b4)),_0x4bf101['push'](_0x22c5b4),this[_0x14e894(0xa0)][_0x14e894(0x11e)](_0x22c5b4[_0x14e894(0x8f)],_0x22c5b4);}),_0x4d6c91[_0x57872d(0x9c)]();}}}[_0x41bada(0xc1)](_0x28b969,_0x4fe1a1,_0x16b145,_0x37cc23,_0x3c5e91,_0x18caad){const _0x4bc709=_0x41bada,{f:_0x39f24f,x:_0x3c1a02=0x0,y:_0x24cd7e=0x0}=_0x18caad,_0x5a30ee=new _0x53885a(_0xa8ff94(this[_0x4bc709(0x102)])),_0x5dd6b3=_0x3c5e91[_0x28b969][_0x4fe1a1];return _0x5a30ee[_0x4bc709(0xcf)]=_0x39f24f,_0x5a30ee[_0x4bc709(0xe3)]=_0x28b969,_0x5a30ee['subUnitId']=_0x4fe1a1,_0x5a30ee['row']=_0x16b145,_0x5a30ee[_0x4bc709(0xc3)]=_0x37cc23,_0x5a30ee[_0x4bc709(0xf0)]=_0x5dd6b3[_0x4bc709(0xf0)],_0x5a30ee[_0x4bc709(0xe7)]=_0x5dd6b3[_0x4bc709(0xe7)],_0x5a30ee;}[_0x41bada(0xb8)](){const _0x46cdf6=_0x41bada,_0x5b8952=[],_0x3914dd=new Set(),_0x590070=this[_0x46cdf6(0xcb)][_0x46cdf6(0xa4)](),_0x3a15b7=this['_currentConfigService'][_0x46cdf6(0xaf)](),_0x17a208=this['_dependencyManagerService'][_0x46cdf6(0xc4)](_0x3a15b7),_0x1a4908=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x3a15b7);for(const _0xabe1a0 of _0x1a4908)_0x17a208[_0x46cdf6(0xc6)](_0xabe1a0);for(const [_0x14db99,_0x9123c7]of this[_0x46cdf6(0xa0)])(_0x590070||_0x9123c7[_0x46cdf6(0xce)]||_0x9123c7[_0x46cdf6(0xa5)](this[_0x46cdf6(0xcb)][_0x46cdf6(0x96)]())||_0x17a208['has'](_0x14db99)&&!_0x9123c7['isExcludeRange'](this[_0x46cdf6(0xcb)][_0x46cdf6(0x112)]()))&&!_0x3914dd[_0x46cdf6(0xf9)](_0x14db99)&&(_0x5b8952[_0x46cdf6(0xd9)](_0x9123c7),_0x3914dd['add'](_0x14db99));for(const [_0x176899,_0x5d951e]of this[_0x46cdf6(0xa0)])_0x5d951e['isVirtual']||(_0x5d951e['rangeList'][_0x46cdf6(0xab)]=0x0);return _0x5b8952;}[_0x41bada(0x89)](_0x5063c7){const _0x53404b=_0x41bada;return this[_0x53404b(0xa0)][_0x53404b(0xba)](_0x5063c7);}['_getTreeNode'](_0xf715cd){const _0x3170d5=_0x41bada;return _0xb8e236(_0xf715cd['unitId'],_0xf715cd[_0x3170d5(0xcf)],this['_lexer'],this[_0x3170d5(0x11b)],this[_0x3170d5(0xcb)]);}*[_0x41bada(0x10e)](_0x2d3d1c,_0x294f56){const _0x45c35d=_0x41bada,_0x21742b=_0x2d3d1c,_0x1e1f8d=new Set();for(;_0x21742b['length']>0x0;){const _0x41fb96=_0x21742b[_0x45c35d(0xb0)]();if(_0x1e1f8d[_0x45c35d(0x9c)](),_0x41fb96===void 0x0||_0x41fb96['isSkip']())continue;if(_0x41fb96['isAdded']()){yield _0x41fb96,_0x41fb96['setSkip'](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);continue;}const _0x298c32=this[_0x45c35d(0x102)][_0x45c35d(0xc4)](_0x41fb96['toRTreeItem'](),_0x294f56),_0x3828cf=this['_dependencyRTreeCacheForAddressFunction'][_0x45c35d(0x123)](_0x41fb96[_0x45c35d(0xfe)](),_0x294f56);for(const _0x3f65d6 of _0x3828cf)_0x298c32[_0x45c35d(0xc6)](_0x3f65d6);for(const _0x439cde of _0x298c32){const _0x29e9d9=this[_0x45c35d(0xa0)]['get'](_0x439cde);if(!_0x29e9d9)throw new Error(_0x45c35d(0xc7));_0x29e9d9[_0x45c35d(0xcd)]()||_0x41fb96['isSkip']()||_0x1e1f8d['add'](_0x29e9d9);}if(_0x298c32[_0x45c35d(0x9c)](),_0x1e1f8d[_0x45c35d(0xad)]===0x0)yield _0x41fb96,_0x41fb96[_0x45c35d(0x93)](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);else{_0x41fb96[_0x45c35d(0xdf)](),_0x21742b[_0x45c35d(0xd9)](_0x41fb96);for(const _0x1ac872 of _0x1e1f8d)_0x21742b[_0x45c35d(0xd9)](_0x1ac872);}}_0x21742b['length']=0x0,_0x1e1f8d[_0x45c35d(0x9c)]();}[_0x41bada(0xd2)](_0x4627fb){const _0x49970d=_0x41bada,_0x576da3=[],_0x41ac44=new Set();for(const _0xee8453 of this[_0x49970d(0x10e)](_0x4627fb,_0x41ac44))_0x576da3['push'](_0xee8453);return _0x576da3;}}class he extends _0x453d1f{async[_0x41bada(0xa8)](_0x30bc72=!0x1){const _0x59297a=_0x41bada;_0x30bc72?this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY']),this[_0x59297a(0x10c)]['next'](this['_runtimeService']['getRuntimeState']());const _0x5e29bb=await this[_0x59297a(0xdb)][_0x59297a(0x106)](),_0x1aeade=this[_0x59297a(0xca)];_0x30bc72?(this['_runtimeService']['setFormulaExecuteStage'](_0x444fe5[_0x59297a(0x92)]),this[_0x59297a(0xa6)][_0x59297a(0xef)](_0x5e29bb['length'])):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe4)]),this['_runtimeService'][_0x59297a(0x105)](_0x5e29bb[_0x59297a(0xab)])),this['_executionInProgressListener$'][_0x59297a(0x8a)](this[_0x59297a(0xa6)][_0x59297a(0x121)]());let _0x281ceb=[];const _0x10b9ab=this[_0x59297a(0xaa)]['getConfig'](_0xd0dde6),_0x459a3c=(_0x10b9ab==null?void 0x0:_0x10b9ab[_0x59297a(0xf1)])||_0x171aac;let _0x37f982=0x0;const _0x544e95=_0x5e29bb[_0x59297a(0xab)];for(;_0x5e29bb[_0x59297a(0xab)]>0x0;){const _0x1b845d=_0x5e29bb['pop'](),_0x51eb02={'node':_0xb8e236(_0x1b845d[_0x59297a(0xe3)],_0x1b845d[_0x59297a(0xcf)],this[_0x59297a(0xe9)],this[_0x59297a(0x11b)],this['_currentConfigService']),'refOffsetX':_0x1b845d[_0x59297a(0x120)],'refOffsetY':_0x1b845d[_0x59297a(0xd1)]},_0x5a5f2e=_0x1b845d[_0x59297a(0xee)];if(_0x37f982%_0x459a3c===0x0&&(await new Promise(_0x176019=>{const _0x8cf263=_0x59297a,_0x346c55=_0x6ccd12(_0x176019);_0x281ceb[_0x8cf263(0xd9)](_0x346c55);}),_0x30bc72?(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xd5)]),this['_runtimeService'][_0x59297a(0x98)](_0x37f982+0x1)):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe6)]),this[_0x59297a(0xa6)][_0x59297a(0xf4)](_0x37f982+0x1)),this[_0x59297a(0x10c)][_0x59297a(0x8a)](this[_0x59297a(0xa6)]['getRuntimeState']()),this[_0x59297a(0xa6)][_0x59297a(0xbf)]()||_0x51eb02==null&&_0x5a5f2e==null)){this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xf2)]),this[_0x59297a(0xa6)][_0x59297a(0x11d)](),this[_0x59297a(0xb7)]['next'](this[_0x59297a(0xa6)][_0x59297a(0xa3)]());return;}this[_0x59297a(0xa6)]['setCurrent'](_0x1b845d[_0x59297a(0x119)],_0x1b845d[_0x59297a(0xc3)],_0x1b845d[_0x59297a(0xf0)],_0x1b845d[_0x59297a(0xe7)],_0x1b845d[_0x59297a(0xa2)],_0x1b845d['unitId']);let _0xa1ca3a;if(_0x5a5f2e!=null&&_0x1b845d[_0x59297a(0xf8)]!=null){const {runtimeCellData:_0x144d6b,dirtyRanges:_0x4e2007}=_0x5a5f2e(this[_0x59297a(0xcb)][_0x59297a(0xee)](),this[_0x59297a(0xa6)]['getAllRuntimeData']());this['_runtimeService'][_0x59297a(0x122)](_0x1b845d['featureId'],_0x144d6b),this[_0x59297a(0xa6)][_0x59297a(0xd8)](_0x1b845d[_0x59297a(0xf8)],_0x4e2007);}else _0x51eb02!=null&&(_0x1aeade[_0x59297a(0xae)](_0x51eb02['node'])?_0xa1ca3a=await _0x1aeade[_0x59297a(0x90)](_0x51eb02):_0xa1ca3a=_0x1aeade['execute'](_0x51eb02),_0x1b845d[_0x59297a(0x8e)]!=null?this[_0x59297a(0xa6)][_0x59297a(0xd6)](_0x1b845d[_0x59297a(0x8e)],_0x1b845d[_0x59297a(0x120)],_0x1b845d['refOffsetY'],_0xa1ca3a):this[_0x59297a(0xa6)]['setRuntimeData'](_0xa1ca3a));_0x37f982++;}return _0x281ceb['forEach'](_0x46aa66=>_0x46aa66()),_0x281ceb=[],_0x544e95>0x0?this[_0x59297a(0xa6)][_0x59297a(0x10f)]():_0x30bc72||this[_0x59297a(0xa6)][_0x59297a(0x116)](),this['_runtimeService'][_0x59297a(0xa3)]();}}class fe extends _0x160d16{constructor(){const _0x54553a=_0x41bada;super(...arguments),I(this,_0x54553a(0x10b),new Map()),I(this,_0x54553a(0xc9),new _0xb9182a(!0x0));}[_0x41bada(0x104)](){const _0x416532=_0x41bada;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x416532(0x9c)](),this[_0x416532(0xa7)][_0x416532(0x9c)](),this['_dependencyRTreeCache'][_0x416532(0x9c)](),this['_allTreeMap']['clear'](),this['_restDependencyTreeId'](),this[_0x416532(0xcc)][_0x416532(0x9c)]();}[_0x41bada(0xe0)](_0x4c8d38,_0x2e1e3e,_0x12002e,_0x4992ea){const _0x45d9f5=_0x41bada;this['_otherFormulaData']['has'](_0x4c8d38)||this['_otherFormulaData'][_0x45d9f5(0x11e)](_0x4c8d38,new Map());const _0x34de48=this[_0x45d9f5(0x108)][_0x45d9f5(0xba)](_0x4c8d38);_0x34de48['has'](_0x2e1e3e)||_0x34de48[_0x45d9f5(0x11e)](_0x2e1e3e,new Map());const _0x3b3bba=_0x34de48['get'](_0x2e1e3e);_0x3b3bba['has'](_0x12002e)||_0x3b3bba[_0x45d9f5(0x11e)](_0x12002e,new _0x11ab1c()),_0x3b3bba['get'](_0x12002e)['setValue'](_0x4992ea['refOffsetX'],_0x4992ea[_0x45d9f5(0xd1)],_0x4992ea[_0x45d9f5(0x8f)]);}[_0x41bada(0xdd)](_0x58cfcb,_0x22ae28,_0x425690){const _0x27ef91=_0x41bada,_0x3421a0=this[_0x27ef91(0x108)][_0x27ef91(0xba)](_0x58cfcb);if(_0x3421a0&&_0x3421a0['has'](_0x22ae28)){const _0x5812a4=_0x3421a0[_0x27ef91(0xba)](_0x22ae28);_0x425690['forEach'](_0x3829c1=>{const _0x3a5242=_0x27ef91,_0x152fb8=_0x5812a4['get'](_0x3829c1);_0x152fb8!=null&&(_0x152fb8['forValue']((_0x19b416,_0x4610f8,_0x1af755)=>{this['_removeDependencyRTreeCache'](_0x1af755),this['_removeAllTreeMap'](_0x1af755);}),_0x5812a4[_0x3a5242(0xb9)](_0x3829c1),this[_0x3a5242(0xcc)][_0x3a5242(0xb9)](_0x3829c1));}),_0x5812a4[_0x27ef91(0xad)]===0x0&&_0x3421a0['delete'](_0x22ae28),_0x3421a0[_0x27ef91(0xad)]===0x0&&this[_0x27ef91(0x108)][_0x27ef91(0xb9)](_0x58cfcb);}}[_0x41bada(0xf6)](_0x3a05d2,_0x45a727){const _0x17951e=_0x41bada,_0x2abd4b=this['_otherFormulaData'][_0x17951e(0xba)](_0x3a05d2);if(_0x45a727&&_0x2abd4b&&_0x2abd4b[_0x17951e(0xf9)](_0x45a727)){const _0xba383e=_0x2abd4b[_0x17951e(0xba)](_0x45a727);this[_0x17951e(0xb2)](_0x3a05d2,_0x45a727);for(const _0x1242e2 of _0xba383e['keys']()){const _0x1e4994=_0xba383e[_0x17951e(0xba)](_0x1242e2);_0x1e4994!=null&&(_0x1e4994['forValue']((_0x1232e7,_0x1d6077,_0x2ab8d2)=>{const _0x309e30=_0x17951e;this['_allTreeMap']['get'](_0x2ab8d2)&&this[_0x309e30(0x114)](_0x2ab8d2);}),this['_otherFormulaDataMainData'][_0x17951e(0xb9)](_0x1242e2));}_0xba383e['clear']();}else{if(_0x2abd4b){for(const _0x193314 of _0x2abd4b[_0x17951e(0xc5)]()){const _0x181f85=_0x2abd4b[_0x17951e(0xba)](_0x193314);this[_0x17951e(0xb2)](_0x3a05d2,_0x193314);for(const _0x2bcd23 of _0x181f85[_0x17951e(0xc5)]()){const _0x448d01=_0x181f85[_0x17951e(0xba)](_0x2bcd23);_0x448d01!=null&&(_0x448d01[_0x17951e(0xd7)]((_0x4748c5,_0x47ed14,_0x2533dd)=>{const _0x25bb57=_0x17951e;this[_0x25bb57(0x10b)][_0x25bb57(0xba)](_0x2533dd)&&this[_0x25bb57(0x114)](_0x2533dd);}),this[_0x17951e(0xcc)]['delete'](_0x2bcd23));}}this['_otherFormulaData']['delete'](_0x3a05d2);}}}[_0x41bada(0xeb)](_0x2da4cd,_0x4bad91,_0x92f0fc,_0xdbbea2){const _0x3e4cf5=_0x41bada;this[_0x3e4cf5(0x101)][_0x3e4cf5(0xf9)](_0x2da4cd)||this[_0x3e4cf5(0x101)][_0x3e4cf5(0x11e)](_0x2da4cd,new Map());const _0x16242a=this['_featureFormulaData'][_0x3e4cf5(0xba)](_0x2da4cd);_0x16242a[_0x3e4cf5(0xf9)](_0x4bad91)||_0x16242a[_0x3e4cf5(0x11e)](_0x4bad91,new Map()),_0x16242a['get'](_0x4bad91)['set'](_0x92f0fc,_0xdbbea2[_0x3e4cf5(0x8f)]);}['removeFeatureFormulaDependency'](_0x5740da,_0x45df21,_0x29c21a){const _0x32b521=_0x41bada,_0x429bac=this[_0x32b521(0x101)][_0x32b521(0xba)](_0x5740da);if(_0x429bac&&_0x429bac[_0x32b521(0xf9)](_0x45df21)){const _0x5f3c61=_0x429bac[_0x32b521(0xba)](_0x45df21);_0x29c21a[_0x32b521(0x115)](_0x383a2f=>{const _0x454725=_0x32b521,_0x5d5558=_0x5f3c61[_0x454725(0xba)](_0x383a2f);_0x5d5558!=null&&(this[_0x454725(0xa9)](_0x5d5558),_0x5f3c61[_0x454725(0xb9)](_0x383a2f),this['_removeAllTreeMap'](_0x5d5558));});}}[_0x41bada(0xfc)](_0x3ccb61,_0x2e7ace){const _0x51cfdb=_0x41bada,_0x5b0ad2=this['_featureFormulaData']['get'](_0x3ccb61);if(_0x2e7ace&&_0x5b0ad2&&_0x5b0ad2[_0x51cfdb(0xf9)](_0x2e7ace)){const _0x5f4e8d=_0x5b0ad2[_0x51cfdb(0xba)](_0x2e7ace);this[_0x51cfdb(0xb2)](_0x3ccb61,_0x2e7ace),_0x5f4e8d[_0x51cfdb(0x115)](_0x4b2d31=>{const _0x38ba36=_0x51cfdb;_0x4b2d31!=null&&this[_0x38ba36(0x114)](_0x4b2d31);}),_0x5f4e8d['clear']();}else _0x5b0ad2&&(_0x5b0ad2[_0x51cfdb(0x115)]((_0x1f0750,_0x50fa3d)=>{const _0x11012a=_0x51cfdb;this[_0x11012a(0xb2)](_0x3ccb61,_0x50fa3d),_0x1f0750[_0x11012a(0x115)](_0x1e4705=>{const _0x2feae8=_0x11012a;_0x1e4705!=null&&this[_0x2feae8(0x114)](_0x1e4705);});}),this['_featureFormulaData']['delete'](_0x3ccb61));}['addFormulaDependency'](_0x540496,_0x11757c,_0x4d1d6c,_0x239ace,_0x7f93bd){const _0x29f4a7=_0x41bada;this['_formulaData']['has'](_0x540496)||this['_formulaData']['set'](_0x540496,new Map());const _0x1d3717=this[_0x29f4a7(0xa7)][_0x29f4a7(0xba)](_0x540496);_0x1d3717[_0x29f4a7(0xf9)](_0x11757c)||_0x1d3717[_0x29f4a7(0x11e)](_0x11757c,new _0x11ab1c()),_0x1d3717[_0x29f4a7(0xba)](_0x11757c)[_0x29f4a7(0xda)](_0x4d1d6c,_0x239ace,_0x7f93bd[_0x29f4a7(0x8f)]);}[_0x41bada(0xb6)](_0x396290,_0x2f1fa1,_0x4138a4,_0x2cd7d6){const _0x117a6e=_0x41bada,_0x4da899=this[_0x117a6e(0xa7)][_0x117a6e(0xba)](_0x396290);if(_0x4da899&&_0x4da899['has'](_0x2f1fa1)){const _0x27896c=_0x4da899[_0x117a6e(0xba)](_0x2f1fa1),_0x4cd22b=_0x27896c[_0x117a6e(0x117)](_0x4138a4,_0x2cd7d6);if(_0x4cd22b==null)return;this['_removeDependencyRTreeCache'](_0x4cd22b),_0x27896c['realDeleteValue'](_0x4138a4,_0x2cd7d6),this[_0x117a6e(0x114)](_0x4cd22b);}}[_0x41bada(0x107)](_0x5202f7,_0x453144){const _0x1abb11=_0x41bada,_0x5404d4=this[_0x1abb11(0xa7)][_0x1abb11(0xba)](_0x5202f7);if(_0x453144&&_0x5404d4&&_0x5404d4[_0x1abb11(0xf9)](_0x453144)){const _0x4b289e=_0x5404d4[_0x1abb11(0xba)](_0x453144);this[_0x1abb11(0xb2)](_0x5202f7,_0x453144),_0x4b289e[_0x1abb11(0xd7)]((_0x5e63c8,_0x446269,_0x2c7648)=>{const _0x2d87bf=_0x1abb11;if(_0x2c7648==null)return!0x0;this[_0x2d87bf(0x114)](_0x2c7648);}),_0x4b289e[_0x1abb11(0x104)]();}else _0x5404d4&&(_0x5404d4[_0x1abb11(0x115)]((_0x580a4f,_0x4cdaf4)=>{const _0x5ce2af=_0x1abb11;this[_0x5ce2af(0xb2)](_0x5202f7,_0x4cdaf4),_0x580a4f[_0x5ce2af(0xd7)]((_0x2dab54,_0x14f25e,_0x1af3ec)=>{const _0x14a4aa=_0x5ce2af;if(_0x1af3ec==null)return!0x0;this[_0x14a4aa(0x114)](_0x1af3ec);});}),this[_0x1abb11(0xa7)][_0x1abb11(0xb9)](_0x5202f7));}['_removeDependencyRTreeCache'](_0x3475c8){const _0x5bbdec=_0x41bada;if(_0x3475c8==null)return;const _0x2c1302=this[_0x5bbdec(0x10b)][_0x5bbdec(0xba)](_0x3475c8);if(_0x2c1302){const _0x5d2c09=[];for(const [_0x3f1b47,_0x2c8aa4]of _0x2c1302)for(const [_0x5aa6a8,_0x45b56e]of _0x2c8aa4)_0x5d2c09[_0x5bbdec(0xd9)]({'unitId':_0x3f1b47,'sheetId':_0x5aa6a8,'range':_0x45b56e,'id':_0x3475c8});this[_0x5bbdec(0xc9)][_0x5bbdec(0x9f)](_0x5d2c09);}}['removeFormulaDependencyByDefinedName'](_0x7e558,_0x48cda4){const _0x5e9cf6=_0x41bada,_0x9c9510=this[_0x5e9cf6(0xf3)][_0x5e9cf6(0xba)](_0x7e558);if(_0x9c9510){const _0x5b0ba5=_0x9c9510[_0x5e9cf6(0xba)](_0x48cda4);if(_0x5b0ba5){for(const _0x46bc38 of _0x5b0ba5)this[_0x5e9cf6(0xa9)](_0x46bc38),this['_removeAllTreeMap'](_0x46bc38);_0x5b0ba5['clear']();}}}[_0x41bada(0xf5)](){const _0x5aca9c=_0x41bada;this[_0x5aca9c(0xc9)][_0x5aca9c(0xf5)]();}[_0x41bada(0x8b)](){const _0x584a73=_0x41bada;this[_0x584a73(0xc9)][_0x584a73(0x8b)]();}[_0x41bada(0x114)](_0x2629fb){const _0x29e7e1=_0x41bada;_0x2629fb!=null&&this[_0x29e7e1(0x10b)]['delete'](_0x2629fb);}[_0x41bada(0x11f)](_0x52fb09){const _0x12ee70=_0x41bada;var _0x5c6593,_0x525c2d;const _0x32f6fa=_0x52fb09['rangeList'];let _0x56bce4=this['_allTreeMap'][_0x12ee70(0xba)](_0x52fb09[_0x12ee70(0x8f)]);for(let _0x1e69b1=0x0;_0x1e69b1<_0x32f6fa[_0x12ee70(0xab)];_0x1e69b1++){const _0xe58b53=_0x32f6fa[_0x1e69b1];let {unitId:_0x3b9ad9,sheetId:_0x978843,range:_0xd767eb}=_0xe58b53;_0x56bce4||(_0x56bce4=new Map(),this[_0x12ee70(0x10b)]['set'](_0x52fb09[_0x12ee70(0x8f)],_0x56bce4)),_0x56bce4[_0x12ee70(0xf9)](_0x3b9ad9)||_0x56bce4[_0x12ee70(0x11e)](_0x3b9ad9,new Map());const _0x32b23f=(_0x5c6593=_0x56bce4==null?void 0x0:_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null?void 0x0:_0x5c6593[_0x12ee70(0xba)](_0x978843);_0x32b23f&&(_0xd767eb={'startRow':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xc8)],_0x32b23f[_0x12ee70(0xc8)]),'startColumn':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xa1)],_0x32b23f[_0x12ee70(0xa1)]),'endRow':Math[_0x12ee70(0x11a)](_0xd767eb['endRow'],_0x32b23f['endRow']),'endColumn':Math[_0x12ee70(0x11a)](_0xd767eb[_0x12ee70(0x9b)],_0x32b23f[_0x12ee70(0x9b)])}),(_0x525c2d=_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null||_0x525c2d[_0x12ee70(0x11e)](_0x978843,_0xd767eb);}}}var pe=Object[_0x41bada(0x103)],Fe=(_0x3ca134,_0x22bc85,_0x11c5e3,_0x2ef0ad)=>{const _0x1f83df=_0x41bada;for(var _0x1817c0=_0x2ef0ad>0x1?void 0x0:_0x2ef0ad?pe(_0x22bc85,_0x11c5e3):_0x22bc85,_0x42f5a7=_0x3ca134[_0x1f83df(0xab)]-0x1,_0x57d60e;_0x42f5a7>=0x0;_0x42f5a7--)(_0x57d60e=_0x3ca134[_0x42f5a7])&&(_0x1817c0=_0x57d60e(_0x1817c0)||_0x1817c0);return _0x1817c0;};const _e=Number[_0x41bada(0x118)](0x68c50d20);let b=class extends _0x11a7e5{[_0x41bada(0x100)](){const _0x174b9=_0x41bada;var _0x281d82,_0x359e81;this[_0x174b9(0x10d)]()?(_0x281d82=this[_0x174b9(0xfb)])!=null&&_0x281d82['notExecuteFormula']||[[_0x41d0f3,{'useClass':he}],[_0x3901f0,{'useClass':fe}],[_0x3d9c53,{'useClass':de}]][_0x174b9(0x115)](_0x263455=>this['_injector']['add'](_0x263455)):(_0x359e81=this[_0x174b9(0xfb)])!=null&&_0x359e81[_0x174b9(0xbd)]||[[_0x41d0f3,{'useClass':_0x453d1f}],[_0x3901f0,{'useClass':_0x35aa0c}],[_0x3d9c53,{'useClass':_0x10e6df}]][_0x174b9(0x115)](_0x1ad598=>this[_0x174b9(0x113)]['add'](_0x1ad598));}[_0x41bada(0x10d)](){const _0x551b3a=_0x41bada;var _0x1e3c3c;const _0x2f79fe=(_0x1e3c3c=this['_configService']['getConfig'](_0x317615))!=null?_0x1e3c3c:{},{ls:_0x4260e8,pbk:_0x363814}=_0x2f79fe;if(!_0x4260e8||!_0x363814)return!0x1;const _0x300e81=_0x2463bf(ue,le),_0x30c733=new Function('return\x20'+_0x300e81)()(_0x4260e8,_0x363814),_0x5cc8b9=_0x30c733[_0x551b3a(0x99)];return _0x30c733[_0x551b3a(0xc0)]&&_0x3d42ba(_0x5cc8b9,'sf',_e)?_0x3c153a(_0x5cc8b9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=Fe([_0x190b9a(_0x3a0e6e)],b);export{b as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x4ec481=_0x130c;(function(_0x24b042,_0xd95376){const _0x1c469a=_0x130c,_0x5e1ca1=_0x24b042();while(!![]){try{const _0x4639e1=-parseInt(_0x1c469a(0x266))/0x1+parseInt(_0x1c469a(0x273))/0x2+parseInt(_0x1c469a(0x25e))/0x3+-parseInt(_0x1c469a(0x1ef))/0x4+parseInt(_0x1c469a(0x227))/0x5*(parseInt(_0x1c469a(0x24b))/0x6)+parseInt(_0x1c469a(0x25a))/0x7+-parseInt(_0x1c469a(0x23c))/0x8;if(_0x4639e1===_0xd95376)break;else _0x5e1ca1['push'](_0x5e1ca1['shift']());}catch(_0x39c7e2){_0x5e1ca1['push'](_0x5e1ca1['shift']());}}}(_0x6a8c,0x43f87));var G=Object[_0x4ec481(0x201)],Z=(_0x1eb5ab,_0x34c87e,_0x4f1e00)=>_0x34c87e in _0x1eb5ab?G(_0x1eb5ab,_0x34c87e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f1e00}):_0x1eb5ab[_0x34c87e]=_0x4f1e00,T=(_0x43c139,_0x3be6ae,_0x4aa7ca)=>Z(_0x43c139,typeof _0x3be6ae!='symbol'?_0x3be6ae+'':_0x3be6ae,_0x4aa7ca);function _0x130c(_0x59acb7,_0x1e94f5){const _0x6a8cc5=_0x6a8c();return _0x130c=function(_0x130c5d,_0x5bff7f){_0x130c5d=_0x130c5d-0x1dc;let _0x207814=_0x6a8cc5[_0x130c5d];return _0x207814;},_0x130c(_0x59acb7,_0x1e94f5);}import{UniverLicensePlugin as _0x986f25,LS_CONFIG_KEY as _0x361fb3,unshiftString as _0x310ab3,isFeatureAuthorizedWithinTime as _0x4aa234,getSheetFeatureLimit as _0x1e97ef}from'@univerjs-pro/license';import{ObjectMatrix as _0x3080cf,requestImmediateMacroTask as _0x2cc7f9,RTree as _0x2c0743,DependentOn as _0xaa1033}from'@univerjs/core';import{FormulaDependencyGenerator as _0x417cf5,generateRandomDependencyTreeId as _0x525369,FormulaDependencyTree as _0x3c641f,FormulaDependencyTreeType as _0x3cb366,FormulaDependencyTreeVirtual as _0x59dd5,generateAstNode as _0x3f8fbd,CalculateFormulaService as _0x4b1646,FormulaExecuteStageType as _0x91fff7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x115b99,DEFAULT_INTERVAL_COUNT as _0x7c90d9,DependencyManagerBaseService as _0x28020f,UniverFormulaEnginePlugin as _0x4dea31,ICalculateFormulaService as _0xe98918,IDependencyManagerService as _0x1e8028,IFormulaDependencyGenerator as _0x3d3404,DependencyManagerService as _0x3e93c4}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'U',0x1:'6',0x2:'m',0x3:'9',0x4:'w',0x5:'a',0x6:'E',0x7:'g',0x8:'O',0x9:'X','F':'0','o':'1','v':'2','B':'3','k':'4','G':'5','W':'7','X':'8','J':'b','f':'c','a':'d','Q':'e','i':'f','m':'h','z':'i','T':'j','r':'k','y':'l','V':'n','R':'o','U':'p','b':'q','N':'r','c':'s','g':'t','H':'u','h':'v','E':'x','Z':'y','C':'z','j':'A','n':'B','p':'C','I':'D','d':'F','q':'G','S':'H','K':'I','u':'J','A':'K','O':'L','P':'M','l':'N','D':'P','x':'Q','e':'R','M':'S','Y':'T','L':'V','s':'W','t':'Y','w':'Z'},ue=_0x4ec481(0x22b);class de extends _0x417cf5{constructor(){const _0x3c6743=_0x4ec481;super(...arguments),T(this,_0x3c6743(0x224),new Map());}[_0x4ec481(0x1fe)](){const _0xe60dca=_0x4ec481;super['dispose'](),this[_0xe60dca(0x224)][_0xe60dca(0x261)]();}async['generate'](){const _0x409b34=_0x4ec481;this[_0x409b34(0x27b)]();const _0x5d7aa6=this[_0x409b34(0x1fd)]['getFormulaData'](),_0x4ce90f=this[_0x409b34(0x232)][_0x409b34(0x262)](),_0x466298=this[_0x409b34(0x1fd)][_0x409b34(0x264)]();_0x466298!=null&&Object[_0x409b34(0x234)](_0x466298)['forEach'](_0x2f973f=>{const _0x1f8c1a=_0x409b34;_0x2f973f!=null&&Object[_0x1f8c1a(0x234)](_0x466298[_0x2f973f])[_0x1f8c1a(0x226)](_0x1b1553=>{const _0x13c55c=_0x1f8c1a;_0x1b1553!=null&&(this['_dependencyManagerService'][_0x13c55c(0x256)](_0x2f973f,_0x1b1553),this[_0x13c55c(0x219)][_0x13c55c(0x1dd)](_0x2f973f,_0x1b1553),this[_0x13c55c(0x219)][_0x13c55c(0x26b)](_0x2f973f,_0x1b1553));});});const _0xd7f1e7=this[_0x409b34(0x1fd)][_0x409b34(0x252)]();await this[_0x409b34(0x249)](_0x5d7aa6,_0x4ce90f,_0xd7f1e7),this[_0x409b34(0x219)]['openKdTree']();const _0x2555ed=this[_0x409b34(0x244)](),_0x3038a2=this[_0x409b34(0x1ed)](_0x2555ed);return this[_0x409b34(0x248)](_0x3038a2)&&this['_runtimeService']['enableCycleDependency'](),this[_0x409b34(0x224)][_0x409b34(0x261)](),this[_0x409b34(0x1f3)][_0x409b34(0x261)](),this[_0x409b34(0x219)][_0x409b34(0x231)](),Promise[_0x409b34(0x258)](_0x3038a2);}[_0x4ec481(0x24d)](_0x45a996,_0x303568){const _0x80a8f9=_0x4ec481,_0x3e3f95=[_0x45a996];for(;_0x3e3f95[_0x80a8f9(0x24f)]>0x0;){const _0x31aea4=_0x3e3f95[_0x3e3f95[_0x80a8f9(0x24f)]-0x1];if((_0x303568['get'](_0x31aea4)||0x0)===0x0){_0x303568[_0x80a8f9(0x25c)](_0x31aea4,0x1);const _0x43a124=this[_0x80a8f9(0x224)][_0x80a8f9(0x267)](_0x31aea4);if(_0x43a124==null){_0x303568[_0x80a8f9(0x25c)](_0x31aea4,0x2),_0x3e3f95[_0x80a8f9(0x22d)]();continue;}const _0xae28b2=this[_0x80a8f9(0x219)]['searchDependency'](_0x43a124[_0x80a8f9(0x237)]());for(const _0x183301 of _0xae28b2){const _0x104a5d=_0x303568[_0x80a8f9(0x267)](_0x183301)||0x0;if(_0x104a5d===0x1)return!0x0;_0x104a5d===0x0&&_0x3e3f95[_0x80a8f9(0x1f8)](_0x183301);}}else _0x303568['set'](_0x31aea4,0x2),_0x3e3f95['pop']();}return!0x1;}[_0x4ec481(0x248)](_0xcedcda){const _0x1627a2=_0x4ec481,_0x9048f7=new Map();for(const _0x4f0948 of _0xcedcda)if(!_0x9048f7[_0x1627a2(0x21b)](_0x4f0948[_0x1627a2(0x277)])&&this[_0x1627a2(0x24d)](_0x4f0948[_0x1627a2(0x277)],_0x9048f7))return!0x0;return _0x9048f7[_0x1627a2(0x261)](),!0x1;}['_getFeatureFormulaTree'](_0x2d88ec,_0x21ae46,_0x50aa57){const _0x5e3241=_0x4ec481,{unitId:_0x42aadf,subUnitId:_0x1b4aaf,dependencyRanges:_0x569b45,getDirtyData:_0x586d75}=_0x50aa57,_0x32ae8c=_0x21ae46||_0x525369(this[_0x5e3241(0x219)]),_0x35ac61=new _0x3c641f(_0x32ae8c);_0x35ac61[_0x5e3241(0x21f)]=_0x42aadf,_0x35ac61[_0x5e3241(0x228)]=_0x1b4aaf,_0x35ac61[_0x5e3241(0x25d)]=_0x569b45,_0x35ac61[_0x5e3241(0x251)]=_0x586d75;const _0x1d8e3f=_0x586d75(this[_0x5e3241(0x1fd)][_0x5e3241(0x251)](),this[_0x5e3241(0x23b)]['getAllRuntimeData']()),_0x1efc23=this[_0x5e3241(0x20d)](_0x1d8e3f[_0x5e3241(0x22a)]);return _0x35ac61['featureDirtyRanges']=_0x1efc23,_0x35ac61[_0x5e3241(0x271)]=_0x2d88ec,_0x35ac61[_0x5e3241(0x1df)]=_0x3cb366[_0x5e3241(0x26c)],this['_dependencyManagerService'][_0x5e3241(0x26a)](_0x42aadf,_0x1b4aaf,_0x2d88ec,_0x35ac61),this['_dependencyTreeCache'][_0x5e3241(0x25c)](_0x35ac61[_0x5e3241(0x277)],_0x35ac61),this['_dependencyManagerService'][_0x5e3241(0x240)](_0x50aa57[_0x5e3241(0x21f)],_0x50aa57['subUnitId'],_0x2d88ec)&&(_0x35ac61[_0x5e3241(0x20f)]=!0x0),_0x35ac61;}[_0x4ec481(0x275)](_0x2cb7cd,_0x1c68d8,_0x4f45ae){const _0x314e1=_0x4ec481;var _0xfe3438;for(const _0x4f1348 of _0x1c68d8){const _0x379706=_0x2cb7cd[_0x4f1348];if(_0x379706==null)continue;const _0x1bdab9=Object[_0x314e1(0x234)](_0x379706);for(const _0x23927c of _0x1bdab9){const _0x288f81=_0x379706[_0x23927c];if(_0x288f81==null)continue;const _0x51b522=Object[_0x314e1(0x234)](_0x288f81);for(const _0x4f0eb0 of _0x51b522){const _0x508c37=this[_0x314e1(0x219)]['hasOtherFormulaDataMainData'](_0x4f0eb0),_0x3a9312=_0x288f81[_0x4f0eb0],{f:_0x97e2ae,ranges:_0x133aaa}=_0x3a9312;let _0x594c62=!0x1;_0x508c37&&(_0x594c62=!0x0);const {firstRow:_0x3bb876,firstColumn:_0x2ec378}=this[_0x314e1(0x1e4)](_0x133aaa),_0x37af33=this[_0x314e1(0x219)][_0x314e1(0x23f)](_0x4f1348,_0x23927c,_0x4f0eb0),_0x233349=(_0xfe3438=_0x37af33==null?void 0x0:_0x37af33[_0x314e1(0x209)](0x0,0x0))!=null?_0xfe3438:_0x525369(this[_0x314e1(0x219)]),_0x5a399c=new _0x3c641f(_0x233349);for(let _0x5bc9f0=0x0;_0x5bc9f0<_0x133aaa[_0x314e1(0x24f)];_0x5bc9f0++){const _0x594e39=_0x133aaa[_0x5bc9f0],{startRow:_0x243d6f,startColumn:_0x1d98be,endRow:_0x887bda,endColumn:_0x3ddbf7}=_0x594e39;for(let _0x53ae1a=_0x243d6f;_0x53ae1a<=_0x887bda;_0x53ae1a++)for(let _0x353c2b=_0x1d98be;_0x353c2b<=_0x3ddbf7;_0x353c2b++){const _0x24379d=_0x353c2b-_0x2ec378,_0x2ce9fb=_0x53ae1a-_0x3bb876;if(_0x24379d===0x0&&_0x2ce9fb===0x0){_0x5a399c[_0x314e1(0x272)]=_0x97e2ae,_0x5a399c[_0x314e1(0x21f)]=_0x4f1348,_0x5a399c[_0x314e1(0x228)]=_0x23927c,_0x5a399c[_0x314e1(0x21d)]=_0x4f0eb0,_0x5a399c[_0x314e1(0x1df)]=_0x3cb366[_0x314e1(0x233)],_0x5a399c[_0x314e1(0x20f)]=_0x594c62,_0x4f45ae[_0x314e1(0x1f8)](_0x5a399c),this[_0x314e1(0x224)]['set'](_0x5a399c[_0x314e1(0x277)],_0x5a399c),this[_0x314e1(0x219)][_0x314e1(0x20c)](_0x4f1348,_0x23927c,_0x4f0eb0,_0x5a399c),this[_0x314e1(0x219)][_0x314e1(0x1ee)](_0x5a399c);continue;}const _0x879fed=new _0x59dd5();_0x879fed[_0x314e1(0x277)]=(_0x37af33==null?void 0x0:_0x37af33[_0x314e1(0x209)](_0x24379d,_0x2ce9fb))||_0x525369(this['_dependencyManagerService']),_0x879fed[_0x314e1(0x21c)]=_0x5a399c,_0x879fed['refOffsetX']=_0x24379d,_0x879fed[_0x314e1(0x1fa)]=_0x2ce9fb,_0x879fed['isCache']=_0x594c62,this[_0x314e1(0x219)][_0x314e1(0x20c)](_0x4f1348,_0x23927c,_0x4f0eb0,_0x879fed),this[_0x314e1(0x219)][_0x314e1(0x1ee)](_0x879fed),_0x4f45ae[_0x314e1(0x1f8)](_0x879fed),this[_0x314e1(0x224)][_0x314e1(0x25c)](_0x879fed[_0x314e1(0x277)],_0x879fed);}}this[_0x314e1(0x219)][_0x314e1(0x250)](_0x4f0eb0);}}}}[_0x4ec481(0x23a)](_0x2639f1,_0x250cc1,_0x10001a,_0x1047e3){const _0xe41adb=_0x4ec481;for(const _0x52d72a of _0x2639f1){const _0x221224=_0x250cc1[_0x52d72a];if(_0x221224==null)continue;const _0x49d3e2=Object[_0xe41adb(0x234)](_0x221224);for(const _0x4ec229 of _0x49d3e2){const _0xbde0c6=new _0x3080cf(_0x221224[_0x4ec229]||{}),_0x59db24=new Map();_0xbde0c6[_0xe41adb(0x236)]((_0x2ecae2,_0x5e66e0,_0xc84863)=>{const _0x359728=_0xe41adb;if(_0xc84863==null)return!0x0;const {x:_0x5237bc=0x0,y:_0x3ff6a1=0x0,si:_0x16d5ce}=_0xc84863;if(!(_0x5237bc===0x0&&_0x3ff6a1===0x0&&_0x16d5ce!=null))return!0x0;const _0x22ae5f=this[_0x359728(0x26e)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0,_0x10001a,_0xc84863),_0x469059=this[_0x359728(0x219)][_0x359728(0x27a)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0);_0x469059!=null?_0x22ae5f[_0x359728(0x277)]=_0x469059:(this[_0x359728(0x219)][_0x359728(0x221)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0,_0x22ae5f),this['_dependencyManagerService'][_0x359728(0x1ee)](_0x22ae5f)),_0x59db24[_0x359728(0x25c)](_0x16d5ce,_0x22ae5f),_0x1047e3[_0x359728(0x1f8)](_0x22ae5f),this['_dependencyTreeCache'][_0x359728(0x25c)](_0x22ae5f[_0x359728(0x277)],_0x22ae5f);}),_0xbde0c6[_0xe41adb(0x236)]((_0x242edf,_0x5f06b3,_0x1bbbeb)=>{const _0x58a9fa=_0xe41adb;if(_0x1bbbeb==null)return!0x0;const {x:_0x337ad8=0x0,y:_0x23c270=0x0,si:_0x15d270}=_0x1bbbeb;if(_0x337ad8===0x0&&_0x23c270===0x0&&_0x15d270!=null)return!0x0;let _0x402b84;if(_0x15d270&&_0x59db24['has'](_0x15d270)){const _0x858569=_0x59db24['get'](_0x15d270);_0x402b84=this[_0x58a9fa(0x223)](_0x858569,_0x1bbbeb);}else _0x402b84=this[_0x58a9fa(0x26e)](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3,_0x10001a,_0x1bbbeb);const _0x157be5=this['_dependencyManagerService']['getFormulaDependency'](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3);_0x157be5!=null?_0x402b84[_0x58a9fa(0x277)]=_0x157be5:(this[_0x58a9fa(0x219)][_0x58a9fa(0x221)](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3,_0x402b84),this[_0x58a9fa(0x219)]['addFormulaDependencyByDefinedName'](_0x402b84)),_0x1047e3[_0x58a9fa(0x1f8)](_0x402b84),this[_0x58a9fa(0x224)][_0x58a9fa(0x25c)](_0x402b84[_0x58a9fa(0x277)],_0x402b84);}),_0x59db24[_0xe41adb(0x261)]();}}}[_0x4ec481(0x26e)](_0x376972,_0x5dfbe2,_0x3efc16,_0x1dfffe,_0x5a17a3,_0x240bd4){const _0x13d1ed=_0x4ec481,{f:_0x21bfab,x:_0x24d128=0x0,y:_0xae956d=0x0}=_0x240bd4,_0x48782b=new _0x3c641f(_0x525369(this['_dependencyManagerService'])),_0x5c5339=_0x5a17a3[_0x376972][_0x5dfbe2];return _0x48782b[_0x13d1ed(0x272)]=_0x21bfab,_0x48782b[_0x13d1ed(0x21f)]=_0x376972,_0x48782b['subUnitId']=_0x5dfbe2,_0x48782b[_0x13d1ed(0x22c)]=_0x3efc16,_0x48782b[_0x13d1ed(0x239)]=_0x1dfffe,_0x48782b[_0x13d1ed(0x25b)]=_0x5c5339[_0x13d1ed(0x25b)],_0x48782b['columnCount']=_0x5c5339[_0x13d1ed(0x24a)],_0x48782b;}[_0x4ec481(0x244)](){const _0x2937dc=_0x4ec481,_0x48c7bc=[],_0x575924=new Set(),_0x5907c0=this['_currentConfigService']['isForceCalculate'](),_0x319a54=this[_0x2937dc(0x1fd)][_0x2937dc(0x1e1)](),_0x50a24d=this[_0x2937dc(0x219)]['searchDependency'](_0x319a54),_0x138721=this[_0x2937dc(0x1f3)][_0x2937dc(0x1e3)](_0x319a54);for(const _0x4cfddc of _0x138721)_0x50a24d[_0x2937dc(0x238)](_0x4cfddc);for(const [_0x5f0aed,_0x4f5b22]of this['_dependencyTreeCache'])(_0x5907c0||_0x4f5b22['isDirty']||_0x4f5b22[_0x2937dc(0x230)](this[_0x2937dc(0x1fd)][_0x2937dc(0x1ff)]())||_0x50a24d['has'](_0x5f0aed)&&!_0x4f5b22[_0x2937dc(0x220)](this[_0x2937dc(0x1fd)][_0x2937dc(0x1f5)]()))&&!_0x575924[_0x2937dc(0x21b)](_0x5f0aed)&&(_0x48c7bc[_0x2937dc(0x1f8)](_0x4f5b22),_0x575924['add'](_0x5f0aed));for(const [_0x5df755,_0x53ed6f]of this[_0x2937dc(0x224)])_0x53ed6f[_0x2937dc(0x246)]||(_0x53ed6f['rangeList'][_0x2937dc(0x24f)]=0x0);return _0x48c7bc;}[_0x4ec481(0x243)](_0x45033b){const _0xdf9a40=_0x4ec481;return this[_0xdf9a40(0x224)][_0xdf9a40(0x267)](_0x45033b);}['_getTreeNode'](_0x1c7978){const _0x30cde3=_0x4ec481;return _0x3f8fbd(_0x1c7978[_0x30cde3(0x21f)],_0x1c7978[_0x30cde3(0x272)],this['_lexer'],this[_0x30cde3(0x200)],this['_currentConfigService']);}*[_0x4ec481(0x204)](_0x3ff6a3,_0x4729d2){const _0x4dbc2d=_0x4ec481,_0x2647a8=_0x3ff6a3,_0x532b89=new Set();for(;_0x2647a8[_0x4dbc2d(0x24f)]>0x0;){const _0x210c97=_0x2647a8[_0x4dbc2d(0x22d)]();if(_0x532b89['clear'](),_0x210c97===void 0x0||_0x210c97['isSkip']())continue;if(_0x210c97[_0x4dbc2d(0x242)]()){yield _0x210c97,_0x210c97[_0x4dbc2d(0x22f)](),_0x4729d2[_0x4dbc2d(0x238)](_0x210c97['treeId']);continue;}const _0x1d08f4=this[_0x4dbc2d(0x219)][_0x4dbc2d(0x229)](_0x210c97[_0x4dbc2d(0x237)](),_0x4729d2),_0x4415bd=this[_0x4dbc2d(0x1f3)][_0x4dbc2d(0x1e3)](_0x210c97[_0x4dbc2d(0x237)](),_0x4729d2);for(const _0x91d825 of _0x4415bd)_0x1d08f4[_0x4dbc2d(0x238)](_0x91d825);for(const _0x385287 of _0x1d08f4){const _0x23ce0f=this[_0x4dbc2d(0x224)]['get'](_0x385287);if(!_0x23ce0f)throw new Error(_0x4dbc2d(0x1f9));_0x23ce0f[_0x4dbc2d(0x242)]()||_0x210c97['isSkip']()||_0x532b89['add'](_0x23ce0f);}if(_0x1d08f4[_0x4dbc2d(0x261)](),_0x532b89[_0x4dbc2d(0x274)]===0x0)yield _0x210c97,_0x210c97[_0x4dbc2d(0x22f)](),_0x4729d2['add'](_0x210c97[_0x4dbc2d(0x277)]);else{_0x210c97[_0x4dbc2d(0x1fc)](),_0x2647a8[_0x4dbc2d(0x1f8)](_0x210c97);for(const _0x8b82ae of _0x532b89)_0x2647a8[_0x4dbc2d(0x1f8)](_0x8b82ae);}}_0x2647a8[_0x4dbc2d(0x24f)]=0x0,_0x532b89['clear']();}[_0x4ec481(0x1ed)](_0x57cabb){const _0x122362=_0x4ec481,_0x4010e0=[],_0x5f8d72=new Set();for(const _0x4f88b3 of this['_traverse'](_0x57cabb,_0x5f8d72))_0x4010e0[_0x122362(0x1f8)](_0x4f88b3);return _0x4010e0;}}class he extends _0x4b1646{async[_0x4ec481(0x23e)](_0x210e98=!0x1){const _0x432e43=_0x4ec481;_0x210e98?this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x20a)]):this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x27c)]),this['_executionInProgressListener$'][_0x432e43(0x212)](this[_0x432e43(0x23b)][_0x432e43(0x255)]());const _0x3958b8=await this['_formulaDependencyGenerator'][_0x432e43(0x26f)](),_0x52963b=this[_0x432e43(0x253)];_0x210e98?(this[_0x432e43(0x23b)]['setFormulaExecuteStage'](_0x91fff7[_0x432e43(0x1e9)]),this[_0x432e43(0x23b)][_0x432e43(0x20b)](_0x3958b8[_0x432e43(0x24f)])):(this[_0x432e43(0x23b)]['setFormulaExecuteStage'](_0x91fff7['START_CALCULATION']),this[_0x432e43(0x23b)][_0x432e43(0x207)](_0x3958b8['length'])),this[_0x432e43(0x217)][_0x432e43(0x212)](this['_runtimeService']['getRuntimeState']());let _0x3c66ae=[];const _0x16c40d=this[_0x432e43(0x203)][_0x432e43(0x25f)](_0x115b99),_0x26530b=(_0x16c40d==null?void 0x0:_0x16c40d[_0x432e43(0x268)])||_0x7c90d9;let _0xfe03b0=0x0;const _0x5590ae=_0x3958b8[_0x432e43(0x24f)];for(;_0x3958b8[_0x432e43(0x24f)]>0x0;){const _0x28779c=_0x3958b8[_0x432e43(0x22d)](),_0x181272={'node':_0x3f8fbd(_0x28779c[_0x432e43(0x21f)],_0x28779c[_0x432e43(0x272)],this[_0x432e43(0x263)],this['_astTreeBuilder'],this[_0x432e43(0x1fd)]),'refOffsetX':_0x28779c[_0x432e43(0x211)],'refOffsetY':_0x28779c[_0x432e43(0x1fa)]},_0x4d3737=_0x28779c[_0x432e43(0x251)];if(_0xfe03b0%_0x26530b===0x0&&(await new Promise(_0x3c9a50=>{const _0x355f80=_0x432e43,_0x5cd089=_0x2cc7f9(_0x3c9a50);_0x3c66ae[_0x355f80(0x1f8)](_0x5cd089);}),_0x210e98?(this['_runtimeService'][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x1f2)]),this[_0x432e43(0x23b)]['setCompletedArrayFormulasCount'](_0xfe03b0+0x1)):(this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x260)]),this[_0x432e43(0x23b)]['setCompletedFormulasCount'](_0xfe03b0+0x1)),this[_0x432e43(0x217)][_0x432e43(0x212)](this['_runtimeService'][_0x432e43(0x255)]()),this[_0x432e43(0x23b)]['isStopExecution']()||_0x181272==null&&_0x4d3737==null)){this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7['IDLE']),this['_runtimeService'][_0x432e43(0x1e8)](),this[_0x432e43(0x276)]['next'](this[_0x432e43(0x23b)][_0x432e43(0x1e7)]());return;}this[_0x432e43(0x23b)][_0x432e43(0x257)](_0x28779c['row'],_0x28779c[_0x432e43(0x239)],_0x28779c[_0x432e43(0x25b)],_0x28779c[_0x432e43(0x24a)],_0x28779c['subUnitId'],_0x28779c[_0x432e43(0x21f)]);let _0x4edd19;if(_0x4d3737!=null&&_0x28779c[_0x432e43(0x271)]!=null){const {runtimeCellData:_0x4d5981,dirtyRanges:_0x419de3}=_0x4d3737(this[_0x432e43(0x1fd)][_0x432e43(0x251)](),this[_0x432e43(0x23b)][_0x432e43(0x1e7)]());this[_0x432e43(0x23b)][_0x432e43(0x1e0)](_0x28779c[_0x432e43(0x271)],_0x4d5981),this['_runtimeService'][_0x432e43(0x1fb)](_0x28779c[_0x432e43(0x271)],_0x419de3);}else _0x181272!=null&&(_0x52963b[_0x432e43(0x259)](_0x181272[_0x432e43(0x279)])?_0x4edd19=await _0x52963b[_0x432e43(0x218)](_0x181272):_0x4edd19=_0x52963b[_0x432e43(0x205)](_0x181272),_0x28779c[_0x432e43(0x21d)]!=null?this[_0x432e43(0x23b)][_0x432e43(0x235)](_0x28779c['formulaId'],_0x28779c[_0x432e43(0x211)],_0x28779c['refOffsetY'],_0x4edd19):this[_0x432e43(0x23b)][_0x432e43(0x1e2)](_0x4edd19));_0xfe03b0++;}return _0x3c66ae[_0x432e43(0x226)](_0x530689=>_0x530689()),_0x3c66ae=[],_0x5590ae>0x0?this[_0x432e43(0x23b)][_0x432e43(0x1f7)]():_0x210e98||this['_runtimeService'][_0x432e43(0x1f1)](),this[_0x432e43(0x23b)]['getAllRuntimeData']();}}class ge extends _0x28020f{constructor(){const _0x4f966f=_0x4ec481;super(...arguments),T(this,_0x4f966f(0x225),new Map()),T(this,_0x4f966f(0x1eb),new _0x2c0743(!0x0));}[_0x4ec481(0x24e)](){const _0x6d6b3=_0x4ec481;this['_otherFormulaData'][_0x6d6b3(0x261)](),this['_featureFormulaData']['clear'](),this['_formulaData'][_0x6d6b3(0x261)](),this[_0x6d6b3(0x1eb)][_0x6d6b3(0x261)](),this[_0x6d6b3(0x225)][_0x6d6b3(0x261)](),this[_0x6d6b3(0x247)](),this['_otherFormulaDataMainData'][_0x6d6b3(0x261)]();}[_0x4ec481(0x20c)](_0x421cad,_0x496a3a,_0x27649c,_0xba6dda){const _0x4f95aa=_0x4ec481;this[_0x4f95aa(0x20e)][_0x4f95aa(0x21b)](_0x421cad)||this[_0x4f95aa(0x20e)][_0x4f95aa(0x25c)](_0x421cad,new Map());const _0x28b81b=this[_0x4f95aa(0x20e)][_0x4f95aa(0x267)](_0x421cad);_0x28b81b[_0x4f95aa(0x21b)](_0x496a3a)||_0x28b81b['set'](_0x496a3a,new Map());const _0x28b5f6=_0x28b81b['get'](_0x496a3a);_0x28b5f6[_0x4f95aa(0x21b)](_0x27649c)||_0x28b5f6['set'](_0x27649c,new _0x3080cf()),_0x28b5f6[_0x4f95aa(0x267)](_0x27649c)[_0x4f95aa(0x21a)](_0xba6dda['refOffsetX'],_0xba6dda['refOffsetY'],_0xba6dda['treeId']);}[_0x4ec481(0x270)](_0x344918,_0x89288d,_0x4ea3cd){const _0x4b1452=_0x4ec481,_0x241c94=this['_otherFormulaData'][_0x4b1452(0x267)](_0x344918);if(_0x241c94&&_0x241c94[_0x4b1452(0x21b)](_0x89288d)){const _0x94387b=_0x241c94[_0x4b1452(0x267)](_0x89288d);_0x4ea3cd[_0x4b1452(0x226)](_0x3b7af9=>{const _0xad94d8=_0x4b1452,_0x3c013a=_0x94387b['get'](_0x3b7af9);_0x3c013a!=null&&(_0x3c013a[_0xad94d8(0x236)]((_0xb1f035,_0x2ac970,_0x23f559)=>{const _0x4b5697=_0xad94d8;this['_removeDependencyRTreeCache'](_0x23f559),this[_0x4b5697(0x213)](_0x23f559);}),_0x94387b[_0xad94d8(0x215)](_0x3b7af9),this[_0xad94d8(0x1f4)]['delete'](_0x3b7af9));}),_0x94387b[_0x4b1452(0x274)]===0x0&&_0x241c94[_0x4b1452(0x215)](_0x89288d),_0x241c94[_0x4b1452(0x274)]===0x0&&this['_otherFormulaData']['delete'](_0x344918);}}[_0x4ec481(0x256)](_0x4bfb06,_0x3f93d4){const _0x3f5587=_0x4ec481,_0x451bde=this[_0x3f5587(0x20e)][_0x3f5587(0x267)](_0x4bfb06);if(_0x3f93d4&&_0x451bde&&_0x451bde[_0x3f5587(0x21b)](_0x3f93d4)){const _0x47f547=_0x451bde[_0x3f5587(0x267)](_0x3f93d4);this['_removeDependencyRTreeCacheById'](_0x4bfb06,_0x3f93d4);for(const _0x595e20 of _0x47f547[_0x3f5587(0x234)]()){const _0x453b93=_0x47f547['get'](_0x595e20);_0x453b93!=null&&(_0x453b93[_0x3f5587(0x236)]((_0x2c79d5,_0x4ad1f4,_0x52ac39)=>{const _0x93ddc0=_0x3f5587;this[_0x93ddc0(0x225)]['get'](_0x52ac39)&&this[_0x93ddc0(0x213)](_0x52ac39);}),this[_0x3f5587(0x1f4)]['delete'](_0x595e20));}_0x47f547[_0x3f5587(0x261)]();}else{if(_0x451bde){for(const _0xc86a0a of _0x451bde['keys']()){const _0x33ffd7=_0x451bde[_0x3f5587(0x267)](_0xc86a0a);this[_0x3f5587(0x1de)](_0x4bfb06,_0xc86a0a);for(const _0x140e81 of _0x33ffd7['keys']()){const _0x2f9465=_0x33ffd7[_0x3f5587(0x267)](_0x140e81);_0x2f9465!=null&&(_0x2f9465[_0x3f5587(0x236)]((_0x17b52e,_0x24cc0d,_0x5b3906)=>{const _0x34c191=_0x3f5587;this['_allTreeMap']['get'](_0x5b3906)&&this[_0x34c191(0x213)](_0x5b3906);}),this['_otherFormulaDataMainData']['delete'](_0x140e81));}}this['_otherFormulaData'][_0x3f5587(0x215)](_0x4bfb06);}}}['addFeatureFormulaDependency'](_0x1eb8ac,_0x3e23f1,_0xae3da0,_0xe941d2){const _0x12429c=_0x4ec481;this[_0x12429c(0x1f0)][_0x12429c(0x21b)](_0x1eb8ac)||this['_featureFormulaData']['set'](_0x1eb8ac,new Map());const _0xfe05da=this['_featureFormulaData'][_0x12429c(0x267)](_0x1eb8ac);_0xfe05da['has'](_0x3e23f1)||_0xfe05da[_0x12429c(0x25c)](_0x3e23f1,new Map()),_0xfe05da[_0x12429c(0x267)](_0x3e23f1)[_0x12429c(0x25c)](_0xae3da0,_0xe941d2['treeId']);}[_0x4ec481(0x241)](_0x4e3519,_0x55e57a,_0x50e125){const _0x423605=_0x4ec481,_0x16900f=this[_0x423605(0x1f0)][_0x423605(0x267)](_0x4e3519);if(_0x16900f&&_0x16900f['has'](_0x55e57a)){const _0x373d12=_0x16900f[_0x423605(0x267)](_0x55e57a);_0x50e125[_0x423605(0x226)](_0x11f1b8=>{const _0xed1b2f=_0x423605,_0x50c723=_0x373d12['get'](_0x11f1b8);_0x50c723!=null&&(this[_0xed1b2f(0x210)](_0x50c723),_0x373d12[_0xed1b2f(0x215)](_0x11f1b8),this[_0xed1b2f(0x213)](_0x50c723));});}}[_0x4ec481(0x1dd)](_0x27bef2,_0xf66b0d){const _0x381f6c=_0x4ec481,_0x421712=this[_0x381f6c(0x1f0)][_0x381f6c(0x267)](_0x27bef2);if(_0xf66b0d&&_0x421712&&_0x421712[_0x381f6c(0x21b)](_0xf66b0d)){const _0x51ad77=_0x421712[_0x381f6c(0x267)](_0xf66b0d);this[_0x381f6c(0x1de)](_0x27bef2,_0xf66b0d),_0x51ad77[_0x381f6c(0x226)](_0x27c671=>{const _0x489aeb=_0x381f6c;_0x27c671!=null&&this[_0x489aeb(0x213)](_0x27c671);}),_0x51ad77[_0x381f6c(0x261)]();}else _0x421712&&(_0x421712[_0x381f6c(0x226)]((_0x4e1eda,_0x34a7b9)=>{const _0x1456e7=_0x381f6c;this[_0x1456e7(0x1de)](_0x27bef2,_0x34a7b9),_0x4e1eda[_0x1456e7(0x226)](_0x4834e8=>{const _0x122c4b=_0x1456e7;_0x4834e8!=null&&this[_0x122c4b(0x213)](_0x4834e8);});}),this[_0x381f6c(0x1f0)][_0x381f6c(0x215)](_0x27bef2));}['addFormulaDependency'](_0x37d768,_0x4fd47e,_0xfaf3d1,_0x30bc5e,_0x4bf2d1){const _0x53dfe9=_0x4ec481;this['_formulaData'][_0x53dfe9(0x21b)](_0x37d768)||this[_0x53dfe9(0x269)][_0x53dfe9(0x25c)](_0x37d768,new Map());const _0x332f61=this['_formulaData'][_0x53dfe9(0x267)](_0x37d768);_0x332f61['has'](_0x4fd47e)||_0x332f61[_0x53dfe9(0x25c)](_0x4fd47e,new _0x3080cf()),_0x332f61[_0x53dfe9(0x267)](_0x4fd47e)[_0x53dfe9(0x21a)](_0xfaf3d1,_0x30bc5e,_0x4bf2d1[_0x53dfe9(0x277)]);}[_0x4ec481(0x265)](_0x2aa73c,_0x5e146d,_0x415754,_0x43d97d){const _0x195843=_0x4ec481,_0x39ea5f=this['_formulaData'][_0x195843(0x267)](_0x2aa73c);if(_0x39ea5f&&_0x39ea5f[_0x195843(0x21b)](_0x5e146d)){const _0x14717f=_0x39ea5f['get'](_0x5e146d),_0x526733=_0x14717f[_0x195843(0x209)](_0x415754,_0x43d97d);if(_0x526733==null)return;this[_0x195843(0x210)](_0x526733),_0x14717f[_0x195843(0x245)](_0x415754,_0x43d97d),this[_0x195843(0x213)](_0x526733);}}['clearFormulaDependency'](_0x407fb4,_0x218bc2){const _0x2893a2=_0x4ec481,_0x25f480=this[_0x2893a2(0x269)][_0x2893a2(0x267)](_0x407fb4);if(_0x218bc2&&_0x25f480&&_0x25f480[_0x2893a2(0x21b)](_0x218bc2)){const _0x2cae20=_0x25f480[_0x2893a2(0x267)](_0x218bc2);this[_0x2893a2(0x1de)](_0x407fb4,_0x218bc2),_0x2cae20[_0x2893a2(0x236)]((_0x4ae585,_0x1a1d1c,_0x221a2a)=>{const _0x265f28=_0x2893a2;if(_0x221a2a==null)return!0x0;this[_0x265f28(0x213)](_0x221a2a);}),_0x2cae20[_0x2893a2(0x24e)]();}else _0x25f480&&(_0x25f480[_0x2893a2(0x226)]((_0x264012,_0x20fd0e)=>{const _0x480d33=_0x2893a2;this[_0x480d33(0x1de)](_0x407fb4,_0x20fd0e),_0x264012['forValue']((_0x263208,_0x137f0f,_0x3bad81)=>{const _0x4d0d0b=_0x480d33;if(_0x3bad81==null)return!0x0;this[_0x4d0d0b(0x213)](_0x3bad81);});}),this[_0x2893a2(0x269)][_0x2893a2(0x215)](_0x407fb4));}[_0x4ec481(0x210)](_0x72e3f5){const _0x254086=_0x4ec481;if(_0x72e3f5==null)return;const _0x36697a=this[_0x254086(0x225)][_0x254086(0x267)](_0x72e3f5);if(_0x36697a){const _0x2504eb=[];for(const [_0x48ca80,_0x16eb3a]of _0x36697a)for(const [_0x51223f,_0x160b60]of _0x16eb3a)_0x2504eb[_0x254086(0x1f8)]({'unitId':_0x48ca80,'sheetId':_0x51223f,'range':_0x160b60,'id':_0x72e3f5});this[_0x254086(0x1eb)][_0x254086(0x278)](_0x2504eb);}}['removeFormulaDependencyByDefinedName'](_0x4cc890,_0x1bc879){const _0x1f111b=_0x4ec481,_0x54c090=this[_0x1f111b(0x1ea)][_0x1f111b(0x267)](_0x4cc890);if(_0x54c090){const _0x597f99=_0x54c090[_0x1f111b(0x267)](_0x1bc879);if(_0x597f99){for(const _0x7d35b1 of _0x597f99)this[_0x1f111b(0x210)](_0x7d35b1),this[_0x1f111b(0x213)](_0x7d35b1);_0x597f99[_0x1f111b(0x261)]();}}}['openKdTree'](){const _0x115d3d=_0x4ec481;this[_0x115d3d(0x1eb)][_0x115d3d(0x254)]();}[_0x4ec481(0x231)](){const _0x3da198=_0x4ec481;this[_0x3da198(0x1eb)]['closeKdTree']();}[_0x4ec481(0x213)](_0x41165e){const _0x5e9e7a=_0x4ec481;_0x41165e!=null&&this[_0x5e9e7a(0x225)][_0x5e9e7a(0x215)](_0x41165e);}['_addAllTreeMap'](_0x3876ae){const _0x1c0445=_0x4ec481;var _0x2c63e8,_0x2575c7;const _0x4c9557=_0x3876ae[_0x1c0445(0x25d)];let _0x565fed=this[_0x1c0445(0x225)][_0x1c0445(0x267)](_0x3876ae[_0x1c0445(0x277)]);for(let _0x500c7a=0x0;_0x500c7a<_0x4c9557[_0x1c0445(0x24f)];_0x500c7a++){const _0x21c636=_0x4c9557[_0x500c7a];let {unitId:_0x58aaa6,sheetId:_0x16b88e,range:_0x30cc95}=_0x21c636;_0x565fed||(_0x565fed=new Map(),this['_allTreeMap'][_0x1c0445(0x25c)](_0x3876ae[_0x1c0445(0x277)],_0x565fed)),_0x565fed[_0x1c0445(0x21b)](_0x58aaa6)||_0x565fed[_0x1c0445(0x25c)](_0x58aaa6,new Map());const _0x2904a6=(_0x2c63e8=_0x565fed==null?void 0x0:_0x565fed['get'](_0x58aaa6))==null?void 0x0:_0x2c63e8[_0x1c0445(0x267)](_0x16b88e);_0x2904a6&&(_0x30cc95={'startRow':Math[_0x1c0445(0x1e5)](_0x30cc95['startRow'],_0x2904a6[_0x1c0445(0x202)]),'startColumn':Math['min'](_0x30cc95[_0x1c0445(0x23d)],_0x2904a6[_0x1c0445(0x23d)]),'endRow':Math[_0x1c0445(0x214)](_0x30cc95[_0x1c0445(0x206)],_0x2904a6['endRow']),'endColumn':Math[_0x1c0445(0x214)](_0x30cc95[_0x1c0445(0x216)],_0x2904a6[_0x1c0445(0x216)])}),(_0x2575c7=_0x565fed[_0x1c0445(0x267)](_0x58aaa6))==null||_0x2575c7[_0x1c0445(0x25c)](_0x16b88e,_0x30cc95);}}}function _0x6a8c(){const _0x3ce2bf=['getAllRuntimeData','markedAsStopFunctionsExecuted','START_CALCULATION_ARRAY_FORMULA','_definedNameMap','_dependencyRTreeCache','parseInt','_calculateRunList','addFormulaDependencyByDefinedName','1072708BGQiJI','_featureFormulaData','markedAsNoFunctionsExecuted','CURRENTLY_CALCULATING_ARRAY_FORMULA','_dependencyRTreeCacheForAddressFunction','_otherFormulaDataMainData','getExcludedRange','_initLicenseValid','markedAsSuccessfullyExecuted','push','ParentDependencyTree\x20object\x20is\x20null','refOffsetY','setRuntimeFeatureRange','setAdded','_currentConfigService','dispose','getDirtyNameMap','_astTreeBuilder','defineProperty','startRow','_configService','_traverse','execute','endRow','setTotalFormulasToCalculate','_initializeWithOverride','getValue','START_DEPENDENCY_ARRAY_FORMULA','setTotalArrayFormulasToCalculate','addOtherFormulaDependency','_convertDirtyRangesToUnitRange','_otherFormulaData','isCache','_removeDependencyRTreeCache','refOffsetX','next','_removeAllTreeMap','max','delete','endColumn','_executionInProgressListener$','executeAsync','_dependencyManagerService','setValue','has','refTree','formulaId','_injector','unitId','isExcludeRange','addFormulaDependency','notExecuteFormula','_createVirtualFDtree','_dependencyTreeCache','_allTreeMap','forEach','825antawB','subUnitId','searchDependency','dirtyRanges','iHVfgzRV\x20aQfNZUgzRV(yzfQVcQ,\x20UHJyzfAQZ)\x20{\x20\x20\x20\x20gNZ\x20{\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20yzfQVcQKViRD5NgjNN5Z\x20=\x20yzfQVcQ.cUyzg(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20RNz7zVPQcc57Q\x20=\x20uM8l.U5NcQ(5gRJ(yzfQVcQKViRD5NgjNN5Z[v]));\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!RNz7zVPQcc57Q.Ha)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RNz7zVPQcc57Q.Ha\x20=\x20lH2JQN(yzfQVcQKViRD5NgjNN5Z[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20zcsRNrQN\x20=\x20gZUQRi\x20sRNrQNqyRJ5yMfRUQ\x20!==\x20\x27HVaQizVQa\x27\x20&&\x20cQyi\x20zVcg5VfQRi\x20sRNrQNqyRJ5yMfRUQ;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20fRVgQEg\x20=\x20zcsRNrQN\x20?\x20cQyi\x20:\x204zVaR4;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57QsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[v]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57Q\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(2Qcc57QsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[B]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQ\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(cz7V5gHNQsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7VL5yza\x20=\x20fRVgQEg.__hQNziZ__(cz7V5gHNQ,\x202Qcc57Q,\x20UHJyzfAQZ);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20aR25zV\x20=\x20RNz7zVPQcc57Q.a2;\x20\x20\x20\x20\x20\x20\x20\x20iHVfgzRV\x20zcIR25zVP5gfmzV7(RD5ggQNV,\x20RSRcg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNV\x20=\x20RD5ggQNV.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcg\x20=\x20RSRcg.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVD5Ngc\x20=\x20U5ggQNV.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgD5Ngc\x20=\x20mRcg.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!U5ggQNV.zVfyHaQc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNV\x20===\x20mRcg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(U5ggQNVD5Ngc.yQV7gm\x20<\x20v\x20||\x20U5ggQNVD5Ngc[F]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20i5ycQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVMHiizE\x20=\x20U5ggQNVD5Ngc.cyzfQ(o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgMHiizE\x20=\x20mRcgD5Ngc.cyzfQ(-U5ggQNVD5Ngc.yQV7gm\x20+\x20o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNVMHiizE\x20===\x20mRcgMHiizE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yQg\x20aR25zVL5yza\x20=\x20(aR25zV\x20&&\x20aR25zV.yQV7gm)\x20?\x20aR25zV.cR2Q((a2KgQ2)\x20=>\x20zcIR25zVP5gfmzV7(a2KgQ2,\x20yRf5gzRV.mRcgV52Q))\x20:\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(yRf5gzRV.mRcgV52Q\x20===\x20\x27yRf5ymRcg\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR25zVL5yza\x20=\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20h5yza\x20=\x20cz7VL5yza\x20&&\x20aR25zVL5yza;\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20RNz7zVPQcc57Q,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20f5gfm\x20(QNNRN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza:\x20i5ycQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','row','pop','_config','setSkip','dependencySheetName','closeKdTree','_otherFormulaManagerService','OTHER_FORMULA','keys','setRuntimeOtherData','forValue','toRTreeItem','add','column','_registerFormulas','_runtimeService','2317952PqjtTA','startColumn','_apply','getOtherFormulaDependency','getFeatureFormulaDependency','removeFeatureFormulaDependency','isAdded','_getTreeById','_getUpdateTreeListAndMakeDependency','realDeleteValue','isVirtual','_restDependencyTreeId','_checkIsCycleDependency','_generateTreeList','columnCount','17082mJIzld','return\x20','_isCyclicUtilMap','reset','length','addOtherFormulaDependencyMainData','getDirtyData','getUnitData','_interpreter','openKdTree','getRuntimeState','clearOtherFormulaDependency','setCurrent','resolve','checkAsyncNode','3043201ONVrVh','rowCount','set','rangeList','348846uvZVYx','getConfig','CURRENTLY_CALCULATING','clear','getOtherFormulaData','_lexer','getClearDependencyTreeCache','removeFormulaDependency','250960HZbLCL','get','intervalCount','_formulaData','addFeatureFormulaDependency','clearFormulaDependency','FEATURE_FORMULA','message','_createFDtree','generate','removeOtherFormulaDependency','featureId','formula','133016nKLyDk','size','_registerOtherFormulas','_executionCompleteListener$','treeId','bulkRemove','node','getFormulaDependency','_updateRangeFlatten','START_DEPENDENCY','valid','clearFeatureFormulaDependency','_removeDependencyRTreeCacheById','type','setRuntimeFeatureCellData','getDirtyRanges','setRuntimeData','bulkSearch','_getFirstCellOfRange','min','setFormulaExecuteStage'];_0x6a8c=function(){return _0x3ce2bf;};return _0x6a8c();}var fe=Object['getOwnPropertyDescriptor'],_e=(_0xedcb28,_0x631bbf,_0x5b886b,_0x4591fb)=>{const _0x32981b=_0x4ec481;for(var _0x799c44=_0x4591fb>0x1?void 0x0:_0x4591fb?fe(_0x631bbf,_0x5b886b):_0x631bbf,_0x64a14a=_0xedcb28[_0x32981b(0x24f)]-0x1,_0x1917a8;_0x64a14a>=0x0;_0x64a14a--)(_0x1917a8=_0xedcb28[_0x64a14a])&&(_0x799c44=_0x1917a8(_0x799c44)||_0x799c44);return _0x799c44;};const me=Number[_0x4ec481(0x1ec)](0x68c5181c);let x=class extends _0x4dea31{[_0x4ec481(0x208)](){const _0x54fa9d=_0x4ec481;var _0x335bdc,_0x418e43;this[_0x54fa9d(0x1f6)]()?(_0x335bdc=this[_0x54fa9d(0x22e)])!=null&&_0x335bdc[_0x54fa9d(0x222)]||[[_0xe98918,{'useClass':he}],[_0x1e8028,{'useClass':ge}],[_0x3d3404,{'useClass':de}]][_0x54fa9d(0x226)](_0x1dc74e=>this['_injector'][_0x54fa9d(0x238)](_0x1dc74e)):(_0x418e43=this['_config'])!=null&&_0x418e43['notExecuteFormula']||[[_0xe98918,{'useClass':_0x4b1646}],[_0x1e8028,{'useClass':_0x3e93c4}],[_0x3d3404,{'useClass':_0x417cf5}]][_0x54fa9d(0x226)](_0x3cfbd5=>this[_0x54fa9d(0x21e)][_0x54fa9d(0x238)](_0x3cfbd5));}[_0x4ec481(0x1f6)](){const _0x483758=_0x4ec481;var _0x4c83a6;const _0x104360=(_0x4c83a6=this['_configService'][_0x483758(0x25f)](_0x361fb3))!=null?_0x4c83a6:{},{ls:_0x5754c3,pbk:_0x318663}=_0x104360;if(!_0x5754c3||!_0x318663)return!0x1;const _0x222954=_0x310ab3(ue,le),_0x54b201=new Function(_0x483758(0x24c)+_0x222954)()(_0x5754c3,_0x318663),_0x180e46=_0x54b201[_0x483758(0x26d)];return _0x54b201[_0x483758(0x1dc)]&&_0x4aa234(_0x180e46,'sf',me)?_0x1e97ef(_0x180e46,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0xaa1033(_0x986f25)],x);export{x as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4bf7(_0x3ac0fc,_0x166128){var _0x4488e8=_0x4488();return _0x4bf7=function(_0x4bf7eb,_0x478ad3){_0x4bf7eb=_0x4bf7eb-0x1d8;var _0x4c63ba=_0x4488e8[_0x4bf7eb];return _0x4c63ba;},_0x4bf7(_0x3ac0fc,_0x166128);}(function(_0x4a8665,_0x46f5e3){var _0x1654b2=_0x4bf7,_0x21d74a=_0x4a8665();while(!![]){try{var _0x2c163f=-parseInt(_0x1654b2(0x1db))/0x1+parseInt(_0x1654b2(0x1da))/0x2+-parseInt(_0x1654b2(0x1de))/0x3+-parseInt(_0x1654b2(0x1e1))/0x4*(-parseInt(_0x1654b2(0x1dc))/0x5)+parseInt(_0x1654b2(0x1d9))/0x6*(-parseInt(_0x1654b2(0x1e0))/0x7)+-parseInt(_0x1654b2(0x1df))/0x8+parseInt(_0x1654b2(0x1dd))/0x9*(parseInt(_0x1654b2(0x1d8))/0xa);if(_0x2c163f===_0x46f5e3)break;else _0x21d74a['push'](_0x21d74a['shift']());}catch(_0x2f2ba1){_0x21d74a['push'](_0x21d74a['shift']());}}}(_0x4488,0x96257));export*from'@univerjs/engine-formula/facade';function _0x4488(){var _0x303459=['705675crmzne','190nNFyhe','5193729fGOPBW','3620421YAizaE','7729480KRvwbR','56YlnwTD','104028VEfYIk','50ngPTdr','797178StGVfE','1365798tzwnkE'];_0x4488=function(){return _0x303459;};return _0x4488();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4129(_0x1d9b2e,_0xb5384b){const _0x4732d2=_0x4732();return _0x4129=function(_0x41293c,_0x2cd455){_0x41293c=_0x41293c-0x88;let _0x5c59c8=_0x4732d2[_0x41293c];return _0x5c59c8;},_0x4129(_0x1d9b2e,_0xb5384b);}const _0x41bada=_0x4129;(function(_0x4ed1b4,_0x2a643a){const _0x4f3bf5=_0x4129,_0x3acec7=_0x4ed1b4();while(!![]){try{const _0x367fe1=parseInt(_0x4f3bf5(0xbe))/0x1*(-parseInt(_0x4f3bf5(0xb1))/0x2)+parseInt(_0x4f3bf5(0x109))/0x3*(parseInt(_0x4f3bf5(0xd3))/0x4)+-parseInt(_0x4f3bf5(0xb3))/0x5*(-parseInt(_0x4f3bf5(0xdc))/0x6)+parseInt(_0x4f3bf5(0x97))/0x7*(-parseInt(_0x4f3bf5(0xed))/0x8)+parseInt(_0x4f3bf5(0xe1))/0x9*(-parseInt(_0x4f3bf5(0x88))/0xa)+parseInt(_0x4f3bf5(0x91))/0xb+parseInt(_0x4f3bf5(0x8d))/0xc*(parseInt(_0x4f3bf5(0x110))/0xd);if(_0x367fe1===_0x2a643a)break;else _0x3acec7['push'](_0x3acec7['shift']());}catch(_0x9f1dad){_0x3acec7['push'](_0x3acec7['shift']());}}}(_0x4732,0xa978f));var z=Object['defineProperty'],W=(_0x136712,_0x5d3660,_0x17095b)=>_0x5d3660 in _0x136712?z(_0x136712,_0x5d3660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17095b}):_0x136712[_0x5d3660]=_0x17095b,I=(_0x45841d,_0x45854f,_0xcc2573)=>W(_0x45841d,typeof _0x45854f!=_0x41bada(0xe5)?_0x45854f+'':_0x45854f,_0xcc2573);import{UniverLicensePlugin as _0x3a0e6e,LS_CONFIG_KEY as _0x317615,unshiftString as _0x2463bf,isFeatureAuthorizedWithinTime as _0x3d42ba,getSheetFeatureLimit as _0x3c153a}from'@univerjs-pro/license';import{ObjectMatrix as _0x11ab1c,requestImmediateMacroTask as _0x6ccd12,RTree as _0xb9182a,DependentOn as _0x190b9a}from'@univerjs/core';import{FormulaDependencyGenerator as _0x10e6df,generateRandomDependencyTreeId as _0xa8ff94,FormulaDependencyTree as _0x53885a,FormulaDependencyTreeType as _0x34cea1,FormulaDependencyTreeVirtual as _0x552a76,generateAstNode as _0xb8e236,CalculateFormulaService as _0x453d1f,FormulaExecuteStageType as _0x444fe5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xd0dde6,DEFAULT_INTERVAL_COUNT as _0x171aac,DependencyManagerBaseService as _0x160d16,UniverFormulaEnginePlugin as _0x11a7e5,ICalculateFormulaService as _0x41d0f3,IDependencyManagerService as _0x3901f0,IFormulaDependencyGenerator as _0x3d9c53,DependencyManagerService as _0x35aa0c}from'@univerjs/engine-formula';function _0x4732(){const _0x3b724d=['_checkIsCycleDependency','toRTreeItem','refTree','_initializeWithOverride','_featureFormulaData','_dependencyManagerService','getOwnPropertyDescriptor','reset','setTotalFormulasToCalculate','generate','clearFormulaDependency','_otherFormulaData','1172895nYdMDl','dirtyRanges','_allTreeMap','_executionInProgressListener$','_initLicenseValid','_traverse','markedAsSuccessfullyExecuted','390130ZHwHVo','addFormulaDependencyByDefinedName','getExcludedRange','_injector','_removeAllTreeMap','forEach','markedAsNoFunctionsExecuted','getValue','parseInt','row','max','_astTreeBuilder','getClearDependencyTreeCache','markedAsStopFunctionsExecuted','set','_addAllTreeMap','refOffsetX','getRuntimeState','setRuntimeFeatureCellData','bulkSearch','43730ITyrFd','_getTreeById','next','closeKdTree','isCache','24UcJYJU','formulaId','treeId','executeAsync','10596014dMWXeh','START_CALCULATION_ARRAY_FORMULA','setSkip','enableCycleDependency','_getFeatureFormulaTree','getDirtyNameMap','14LQMhQw','setCompletedArrayFormulasCount','message','_isCyclicUtilMap','endColumn','clear','type','_registerFormulas','bulkRemove','_dependencyTreeCache','startColumn','subUnitId','getAllRuntimeData','isForceCalculate','dependencySheetName','_runtimeService','_formulaData','_apply','_removeDependencyRTreeCache','_configService','length','min','size','checkAsyncNode','getDirtyRanges','pop','2fMrGRl','_removeDependencyRTreeCacheById','2299790eSkhbB','_convertDirtyRangesToUnitRange','OTHER_FORMULA','removeFormulaDependency','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','delete','get','_getFirstCellOfRange','dispose','notExecuteFormula','229268bpBfwW','isStopExecution','valid','_createFDtree','getFormulaDependency','column','searchDependency','keys','add','ParentDependencyTree\x20object\x20is\x20null','startRow','_dependencyRTreeCache','_interpreter','_currentConfigService','_otherFormulaDataMainData','isAdded','isDirty','formula','addOtherFormulaDependencyMainData','refOffsetY','_calculateRunList','4zlwxAe','rangeList','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeOtherData','forValue','setRuntimeFeatureRange','push','setValue','_formulaDependencyGenerator','6cMrMGm','removeOtherFormulaDependency','addFormulaDependency','setAdded','addOtherFormulaDependency','864rKUjgH','getOtherFormulaData','unitId','START_CALCULATION','symbol','CURRENTLY_CALCULATING','columnCount','_updateRangeFlatten','_lexer','_otherFormulaManagerService','addFeatureFormulaDependency','_createVirtualFDtree','2123928NsarpF','getDirtyData','setTotalArrayFormulasToCalculate','rowCount','intervalCount','IDLE','_definedNameMap','setCompletedFormulasCount','openKdTree','clearOtherFormulaDependency','XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','featureId','has','setFormulaExecuteStage','_config','clearFeatureFormulaDependency'];_0x4732=function(){return _0x3b724d;};return _0x4732();}export*from'@univerjs/engine-formula';const le={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},ue=_0x41bada(0xf7);class de extends _0x10e6df{constructor(){super(...arguments),I(this,'_dependencyTreeCache',new Map());}[_0x41bada(0xbc)](){const _0x2c57f4=_0x41bada;super[_0x2c57f4(0xbc)](),this[_0x2c57f4(0xa0)][_0x2c57f4(0x9c)]();}async[_0x41bada(0x106)](){const _0x32a508=_0x41bada;this[_0x32a508(0xe8)]();const _0x518e65=this[_0x32a508(0xcb)]['getFormulaData'](),_0x46dde8=this[_0x32a508(0xea)][_0x32a508(0xe2)](),_0x5b9b2a=this[_0x32a508(0xcb)][_0x32a508(0x11c)]();_0x5b9b2a!=null&&Object[_0x32a508(0xc5)](_0x5b9b2a)[_0x32a508(0x115)](_0xc02489=>{const _0x4c07b5=_0x32a508;_0xc02489!=null&&Object[_0x4c07b5(0xc5)](_0x5b9b2a[_0xc02489])[_0x4c07b5(0x115)](_0x406ab7=>{const _0x1858ca=_0x4c07b5;_0x406ab7!=null&&(this['_dependencyManagerService'][_0x1858ca(0xf6)](_0xc02489,_0x406ab7),this['_dependencyManagerService'][_0x1858ca(0xfc)](_0xc02489,_0x406ab7),this[_0x1858ca(0x102)]['clearFormulaDependency'](_0xc02489,_0x406ab7));});});const _0x254a05=this[_0x32a508(0xcb)]['getUnitData']();await this['_generateTreeList'](_0x518e65,_0x46dde8,_0x254a05),this[_0x32a508(0x102)]['openKdTree']();const _0x444300=this[_0x32a508(0xb8)](),_0x40d1a4=this['_calculateRunList'](_0x444300);return this['_checkIsCycleDependency'](_0x40d1a4)&&this[_0x32a508(0xa6)][_0x32a508(0x94)](),this[_0x32a508(0xa0)][_0x32a508(0x9c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x32a508(0x9c)](),this['_dependencyManagerService'][_0x32a508(0x8b)](),Promise['resolve'](_0x40d1a4);}[_0x41bada(0x9a)](_0x3f7b1c,_0x14e39a){const _0x1844c1=_0x41bada,_0x213d96=[_0x3f7b1c];for(;_0x213d96[_0x1844c1(0xab)]>0x0;){const _0x4791fb=_0x213d96[_0x213d96[_0x1844c1(0xab)]-0x1];if((_0x14e39a['get'](_0x4791fb)||0x0)===0x0){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x1);const _0x12f169=this['_dependencyTreeCache'][_0x1844c1(0xba)](_0x4791fb);if(_0x12f169==null){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x2),_0x213d96['pop']();continue;}const _0x44bc72=this[_0x1844c1(0x102)]['searchDependency'](_0x12f169[_0x1844c1(0xfe)]());for(const _0x1e55e8 of _0x44bc72){const _0x5aac2f=_0x14e39a['get'](_0x1e55e8)||0x0;if(_0x5aac2f===0x1)return!0x0;_0x5aac2f===0x0&&_0x213d96[_0x1844c1(0xd9)](_0x1e55e8);}}else _0x14e39a['set'](_0x4791fb,0x2),_0x213d96['pop']();}return!0x1;}[_0x41bada(0xfd)](_0x52dc9e){const _0x274330=_0x41bada,_0x215a93=new Map();for(const _0x2d4e1d of _0x52dc9e)if(!_0x215a93[_0x274330(0xf9)](_0x2d4e1d[_0x274330(0x8f)])&&this['_isCyclicUtilMap'](_0x2d4e1d[_0x274330(0x8f)],_0x215a93))return!0x0;return _0x215a93[_0x274330(0x9c)](),!0x1;}[_0x41bada(0x95)](_0x1f42e2,_0x5241a4,_0x2f63cb){const _0x109c44=_0x41bada,{unitId:_0x57f3d7,subUnitId:_0x142b8d,dependencyRanges:_0x5ca094,getDirtyData:_0x5ad3e2}=_0x2f63cb,_0x2b8198=_0x5241a4||_0xa8ff94(this[_0x109c44(0x102)]),_0x58901a=new _0x53885a(_0x2b8198);_0x58901a[_0x109c44(0xe3)]=_0x57f3d7,_0x58901a['subUnitId']=_0x142b8d,_0x58901a[_0x109c44(0xd4)]=_0x5ca094,_0x58901a[_0x109c44(0xee)]=_0x5ad3e2;const _0x4a7d19=_0x5ad3e2(this[_0x109c44(0xcb)][_0x109c44(0xee)](),this[_0x109c44(0xa6)][_0x109c44(0xa3)]()),_0x75734a=this[_0x109c44(0xb4)](_0x4a7d19[_0x109c44(0x10a)]);return _0x58901a['featureDirtyRanges']=_0x75734a,_0x58901a['featureId']=_0x1f42e2,_0x58901a[_0x109c44(0x9d)]=_0x34cea1['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x109c44(0xeb)](_0x57f3d7,_0x142b8d,_0x1f42e2,_0x58901a),this[_0x109c44(0xa0)][_0x109c44(0x11e)](_0x58901a[_0x109c44(0x8f)],_0x58901a),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x2f63cb['unitId'],_0x2f63cb[_0x109c44(0xa2)],_0x1f42e2)&&(_0x58901a[_0x109c44(0x8c)]=!0x0),_0x58901a;}['_registerOtherFormulas'](_0x380b4b,_0x28b577,_0x52022d){const _0x3d0ccb=_0x41bada;var _0x8968f9;for(const _0x2eb74d of _0x28b577){const _0x3a88d4=_0x380b4b[_0x2eb74d];if(_0x3a88d4==null)continue;const _0x45ac01=Object[_0x3d0ccb(0xc5)](_0x3a88d4);for(const _0x500d8e of _0x45ac01){const _0x210d00=_0x3a88d4[_0x500d8e];if(_0x210d00==null)continue;const _0x4a1d9e=Object[_0x3d0ccb(0xc5)](_0x210d00);for(const _0xd1edce of _0x4a1d9e){const _0x4ea975=this[_0x3d0ccb(0x102)]['hasOtherFormulaDataMainData'](_0xd1edce),_0x46bb6e=_0x210d00[_0xd1edce],{f:_0x3f06f7,ranges:_0x4b2631}=_0x46bb6e;let _0x4345eb=!0x1;_0x4ea975&&(_0x4345eb=!0x0);const {firstRow:_0x4808c5,firstColumn:_0x25b4f2}=this[_0x3d0ccb(0xbb)](_0x4b2631),_0x5ecf38=this[_0x3d0ccb(0x102)]['getOtherFormulaDependency'](_0x2eb74d,_0x500d8e,_0xd1edce),_0x17fe68=(_0x8968f9=_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](0x0,0x0))!=null?_0x8968f9:_0xa8ff94(this[_0x3d0ccb(0x102)]),_0x4744d=new _0x53885a(_0x17fe68);for(let _0x42f24b=0x0;_0x42f24b<_0x4b2631['length'];_0x42f24b++){const _0x57ef04=_0x4b2631[_0x42f24b],{startRow:_0x3f5d0f,startColumn:_0x23bcc1,endRow:_0x5b2656,endColumn:_0x54b461}=_0x57ef04;for(let _0x25769b=_0x3f5d0f;_0x25769b<=_0x5b2656;_0x25769b++)for(let _0x5a0406=_0x23bcc1;_0x5a0406<=_0x54b461;_0x5a0406++){const _0x105a85=_0x5a0406-_0x25b4f2,_0x16902d=_0x25769b-_0x4808c5;if(_0x105a85===0x0&&_0x16902d===0x0){_0x4744d['formula']=_0x3f06f7,_0x4744d['unitId']=_0x2eb74d,_0x4744d['subUnitId']=_0x500d8e,_0x4744d[_0x3d0ccb(0x8e)]=_0xd1edce,_0x4744d[_0x3d0ccb(0x9d)]=_0x34cea1[_0x3d0ccb(0xb5)],_0x4744d[_0x3d0ccb(0x8c)]=_0x4345eb,_0x52022d[_0x3d0ccb(0xd9)](_0x4744d),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x4744d['treeId'],_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0x111)](_0x4744d);continue;}const _0x3e277c=new _0x552a76();_0x3e277c['treeId']=(_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](_0x105a85,_0x16902d))||_0xa8ff94(this['_dependencyManagerService']),_0x3e277c[_0x3d0ccb(0xff)]=_0x4744d,_0x3e277c[_0x3d0ccb(0x120)]=_0x105a85,_0x3e277c[_0x3d0ccb(0xd1)]=_0x16902d,_0x3e277c[_0x3d0ccb(0x8c)]=_0x4345eb,this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x3e277c),this['_dependencyManagerService'][_0x3d0ccb(0x111)](_0x3e277c),_0x52022d[_0x3d0ccb(0xd9)](_0x3e277c),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x3e277c[_0x3d0ccb(0x8f)],_0x3e277c);}}this[_0x3d0ccb(0x102)][_0x3d0ccb(0xd0)](_0xd1edce);}}}}[_0x41bada(0x9e)](_0x5efcf3,_0x27323e,_0x597606,_0x4bf101){const _0x57872d=_0x41bada;for(const _0x31953e of _0x5efcf3){const _0x365b8a=_0x27323e[_0x31953e];if(_0x365b8a==null)continue;const _0x4f48c4=Object[_0x57872d(0xc5)](_0x365b8a);for(const _0x26641a of _0x4f48c4){const _0x29369a=new _0x11ab1c(_0x365b8a[_0x26641a]||{}),_0x4d6c91=new Map();_0x29369a[_0x57872d(0xd7)]((_0x1d85c9,_0x4596b3,_0x5cd542)=>{const _0x3b0153=_0x57872d;if(_0x5cd542==null)return!0x0;const {x:_0x8d7f04=0x0,y:y=0x0,si:_0x468c5a}=_0x5cd542;if(!(_0x8d7f04===0x0&&y===0x0&&_0x468c5a!=null))return!0x0;const _0x103b59=this[_0x3b0153(0xc1)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x597606,_0x5cd542),_0x2e6bb0=this[_0x3b0153(0x102)][_0x3b0153(0xc2)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3);_0x2e6bb0!=null?_0x103b59['treeId']=_0x2e6bb0:(this[_0x3b0153(0x102)][_0x3b0153(0xde)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x103b59),this[_0x3b0153(0x102)]['addFormulaDependencyByDefinedName'](_0x103b59)),_0x4d6c91['set'](_0x468c5a,_0x103b59),_0x4bf101[_0x3b0153(0xd9)](_0x103b59),this[_0x3b0153(0xa0)][_0x3b0153(0x11e)](_0x103b59[_0x3b0153(0x8f)],_0x103b59);}),_0x29369a[_0x57872d(0xd7)]((_0xa8d84e,_0x26a851,_0x5c506e)=>{const _0x14e894=_0x57872d;if(_0x5c506e==null)return!0x0;const {x:_0x12512d=0x0,y:y=0x0,si:_0x3af9ec}=_0x5c506e;if(_0x12512d===0x0&&y===0x0&&_0x3af9ec!=null)return!0x0;let _0x22c5b4;if(_0x3af9ec&&_0x4d6c91['has'](_0x3af9ec)){const _0x4dd2c5=_0x4d6c91[_0x14e894(0xba)](_0x3af9ec);_0x22c5b4=this[_0x14e894(0xec)](_0x4dd2c5,_0x5c506e);}else _0x22c5b4=this['_createFDtree'](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x597606,_0x5c506e);const _0x4b30e0=this[_0x14e894(0x102)][_0x14e894(0xc2)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851);_0x4b30e0!=null?_0x22c5b4[_0x14e894(0x8f)]=_0x4b30e0:(this['_dependencyManagerService'][_0x14e894(0xde)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x22c5b4),this[_0x14e894(0x102)]['addFormulaDependencyByDefinedName'](_0x22c5b4)),_0x4bf101['push'](_0x22c5b4),this[_0x14e894(0xa0)][_0x14e894(0x11e)](_0x22c5b4[_0x14e894(0x8f)],_0x22c5b4);}),_0x4d6c91[_0x57872d(0x9c)]();}}}[_0x41bada(0xc1)](_0x28b969,_0x4fe1a1,_0x16b145,_0x37cc23,_0x3c5e91,_0x18caad){const _0x4bc709=_0x41bada,{f:_0x39f24f,x:_0x3c1a02=0x0,y:_0x24cd7e=0x0}=_0x18caad,_0x5a30ee=new _0x53885a(_0xa8ff94(this[_0x4bc709(0x102)])),_0x5dd6b3=_0x3c5e91[_0x28b969][_0x4fe1a1];return _0x5a30ee[_0x4bc709(0xcf)]=_0x39f24f,_0x5a30ee[_0x4bc709(0xe3)]=_0x28b969,_0x5a30ee['subUnitId']=_0x4fe1a1,_0x5a30ee['row']=_0x16b145,_0x5a30ee[_0x4bc709(0xc3)]=_0x37cc23,_0x5a30ee[_0x4bc709(0xf0)]=_0x5dd6b3[_0x4bc709(0xf0)],_0x5a30ee[_0x4bc709(0xe7)]=_0x5dd6b3[_0x4bc709(0xe7)],_0x5a30ee;}[_0x41bada(0xb8)](){const _0x46cdf6=_0x41bada,_0x5b8952=[],_0x3914dd=new Set(),_0x590070=this[_0x46cdf6(0xcb)][_0x46cdf6(0xa4)](),_0x3a15b7=this['_currentConfigService'][_0x46cdf6(0xaf)](),_0x17a208=this['_dependencyManagerService'][_0x46cdf6(0xc4)](_0x3a15b7),_0x1a4908=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x3a15b7);for(const _0xabe1a0 of _0x1a4908)_0x17a208[_0x46cdf6(0xc6)](_0xabe1a0);for(const [_0x14db99,_0x9123c7]of this[_0x46cdf6(0xa0)])(_0x590070||_0x9123c7[_0x46cdf6(0xce)]||_0x9123c7[_0x46cdf6(0xa5)](this[_0x46cdf6(0xcb)][_0x46cdf6(0x96)]())||_0x17a208['has'](_0x14db99)&&!_0x9123c7['isExcludeRange'](this[_0x46cdf6(0xcb)][_0x46cdf6(0x112)]()))&&!_0x3914dd[_0x46cdf6(0xf9)](_0x14db99)&&(_0x5b8952[_0x46cdf6(0xd9)](_0x9123c7),_0x3914dd['add'](_0x14db99));for(const [_0x176899,_0x5d951e]of this[_0x46cdf6(0xa0)])_0x5d951e['isVirtual']||(_0x5d951e['rangeList'][_0x46cdf6(0xab)]=0x0);return _0x5b8952;}[_0x41bada(0x89)](_0x5063c7){const _0x53404b=_0x41bada;return this[_0x53404b(0xa0)][_0x53404b(0xba)](_0x5063c7);}['_getTreeNode'](_0xf715cd){const _0x3170d5=_0x41bada;return _0xb8e236(_0xf715cd['unitId'],_0xf715cd[_0x3170d5(0xcf)],this['_lexer'],this[_0x3170d5(0x11b)],this[_0x3170d5(0xcb)]);}*[_0x41bada(0x10e)](_0x2d3d1c,_0x294f56){const _0x45c35d=_0x41bada,_0x21742b=_0x2d3d1c,_0x1e1f8d=new Set();for(;_0x21742b['length']>0x0;){const _0x41fb96=_0x21742b[_0x45c35d(0xb0)]();if(_0x1e1f8d[_0x45c35d(0x9c)](),_0x41fb96===void 0x0||_0x41fb96['isSkip']())continue;if(_0x41fb96['isAdded']()){yield _0x41fb96,_0x41fb96['setSkip'](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);continue;}const _0x298c32=this[_0x45c35d(0x102)][_0x45c35d(0xc4)](_0x41fb96['toRTreeItem'](),_0x294f56),_0x3828cf=this['_dependencyRTreeCacheForAddressFunction'][_0x45c35d(0x123)](_0x41fb96[_0x45c35d(0xfe)](),_0x294f56);for(const _0x3f65d6 of _0x3828cf)_0x298c32[_0x45c35d(0xc6)](_0x3f65d6);for(const _0x439cde of _0x298c32){const _0x29e9d9=this[_0x45c35d(0xa0)]['get'](_0x439cde);if(!_0x29e9d9)throw new Error(_0x45c35d(0xc7));_0x29e9d9[_0x45c35d(0xcd)]()||_0x41fb96['isSkip']()||_0x1e1f8d['add'](_0x29e9d9);}if(_0x298c32[_0x45c35d(0x9c)](),_0x1e1f8d[_0x45c35d(0xad)]===0x0)yield _0x41fb96,_0x41fb96[_0x45c35d(0x93)](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);else{_0x41fb96[_0x45c35d(0xdf)](),_0x21742b[_0x45c35d(0xd9)](_0x41fb96);for(const _0x1ac872 of _0x1e1f8d)_0x21742b[_0x45c35d(0xd9)](_0x1ac872);}}_0x21742b['length']=0x0,_0x1e1f8d[_0x45c35d(0x9c)]();}[_0x41bada(0xd2)](_0x4627fb){const _0x49970d=_0x41bada,_0x576da3=[],_0x41ac44=new Set();for(const _0xee8453 of this[_0x49970d(0x10e)](_0x4627fb,_0x41ac44))_0x576da3['push'](_0xee8453);return _0x576da3;}}class he extends _0x453d1f{async[_0x41bada(0xa8)](_0x30bc72=!0x1){const _0x59297a=_0x41bada;_0x30bc72?this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY']),this[_0x59297a(0x10c)]['next'](this['_runtimeService']['getRuntimeState']());const _0x5e29bb=await this[_0x59297a(0xdb)][_0x59297a(0x106)](),_0x1aeade=this[_0x59297a(0xca)];_0x30bc72?(this['_runtimeService']['setFormulaExecuteStage'](_0x444fe5[_0x59297a(0x92)]),this[_0x59297a(0xa6)][_0x59297a(0xef)](_0x5e29bb['length'])):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe4)]),this['_runtimeService'][_0x59297a(0x105)](_0x5e29bb[_0x59297a(0xab)])),this['_executionInProgressListener$'][_0x59297a(0x8a)](this[_0x59297a(0xa6)][_0x59297a(0x121)]());let _0x281ceb=[];const _0x10b9ab=this[_0x59297a(0xaa)]['getConfig'](_0xd0dde6),_0x459a3c=(_0x10b9ab==null?void 0x0:_0x10b9ab[_0x59297a(0xf1)])||_0x171aac;let _0x37f982=0x0;const _0x544e95=_0x5e29bb[_0x59297a(0xab)];for(;_0x5e29bb[_0x59297a(0xab)]>0x0;){const _0x1b845d=_0x5e29bb['pop'](),_0x51eb02={'node':_0xb8e236(_0x1b845d[_0x59297a(0xe3)],_0x1b845d[_0x59297a(0xcf)],this[_0x59297a(0xe9)],this[_0x59297a(0x11b)],this['_currentConfigService']),'refOffsetX':_0x1b845d[_0x59297a(0x120)],'refOffsetY':_0x1b845d[_0x59297a(0xd1)]},_0x5a5f2e=_0x1b845d[_0x59297a(0xee)];if(_0x37f982%_0x459a3c===0x0&&(await new Promise(_0x176019=>{const _0x8cf263=_0x59297a,_0x346c55=_0x6ccd12(_0x176019);_0x281ceb[_0x8cf263(0xd9)](_0x346c55);}),_0x30bc72?(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xd5)]),this['_runtimeService'][_0x59297a(0x98)](_0x37f982+0x1)):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe6)]),this[_0x59297a(0xa6)][_0x59297a(0xf4)](_0x37f982+0x1)),this[_0x59297a(0x10c)][_0x59297a(0x8a)](this[_0x59297a(0xa6)]['getRuntimeState']()),this[_0x59297a(0xa6)][_0x59297a(0xbf)]()||_0x51eb02==null&&_0x5a5f2e==null)){this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xf2)]),this[_0x59297a(0xa6)][_0x59297a(0x11d)](),this[_0x59297a(0xb7)]['next'](this[_0x59297a(0xa6)][_0x59297a(0xa3)]());return;}this[_0x59297a(0xa6)]['setCurrent'](_0x1b845d[_0x59297a(0x119)],_0x1b845d[_0x59297a(0xc3)],_0x1b845d[_0x59297a(0xf0)],_0x1b845d[_0x59297a(0xe7)],_0x1b845d[_0x59297a(0xa2)],_0x1b845d['unitId']);let _0xa1ca3a;if(_0x5a5f2e!=null&&_0x1b845d[_0x59297a(0xf8)]!=null){const {runtimeCellData:_0x144d6b,dirtyRanges:_0x4e2007}=_0x5a5f2e(this[_0x59297a(0xcb)][_0x59297a(0xee)](),this[_0x59297a(0xa6)]['getAllRuntimeData']());this['_runtimeService'][_0x59297a(0x122)](_0x1b845d['featureId'],_0x144d6b),this[_0x59297a(0xa6)][_0x59297a(0xd8)](_0x1b845d[_0x59297a(0xf8)],_0x4e2007);}else _0x51eb02!=null&&(_0x1aeade[_0x59297a(0xae)](_0x51eb02['node'])?_0xa1ca3a=await _0x1aeade[_0x59297a(0x90)](_0x51eb02):_0xa1ca3a=_0x1aeade['execute'](_0x51eb02),_0x1b845d[_0x59297a(0x8e)]!=null?this[_0x59297a(0xa6)][_0x59297a(0xd6)](_0x1b845d[_0x59297a(0x8e)],_0x1b845d[_0x59297a(0x120)],_0x1b845d['refOffsetY'],_0xa1ca3a):this[_0x59297a(0xa6)]['setRuntimeData'](_0xa1ca3a));_0x37f982++;}return _0x281ceb['forEach'](_0x46aa66=>_0x46aa66()),_0x281ceb=[],_0x544e95>0x0?this[_0x59297a(0xa6)][_0x59297a(0x10f)]():_0x30bc72||this[_0x59297a(0xa6)][_0x59297a(0x116)](),this['_runtimeService'][_0x59297a(0xa3)]();}}class fe extends _0x160d16{constructor(){const _0x54553a=_0x41bada;super(...arguments),I(this,_0x54553a(0x10b),new Map()),I(this,_0x54553a(0xc9),new _0xb9182a(!0x0));}[_0x41bada(0x104)](){const _0x416532=_0x41bada;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x416532(0x9c)](),this[_0x416532(0xa7)][_0x416532(0x9c)](),this['_dependencyRTreeCache'][_0x416532(0x9c)](),this['_allTreeMap']['clear'](),this['_restDependencyTreeId'](),this[_0x416532(0xcc)][_0x416532(0x9c)]();}[_0x41bada(0xe0)](_0x4c8d38,_0x2e1e3e,_0x12002e,_0x4992ea){const _0x45d9f5=_0x41bada;this['_otherFormulaData']['has'](_0x4c8d38)||this['_otherFormulaData'][_0x45d9f5(0x11e)](_0x4c8d38,new Map());const _0x34de48=this[_0x45d9f5(0x108)][_0x45d9f5(0xba)](_0x4c8d38);_0x34de48['has'](_0x2e1e3e)||_0x34de48[_0x45d9f5(0x11e)](_0x2e1e3e,new Map());const _0x3b3bba=_0x34de48['get'](_0x2e1e3e);_0x3b3bba['has'](_0x12002e)||_0x3b3bba[_0x45d9f5(0x11e)](_0x12002e,new _0x11ab1c()),_0x3b3bba['get'](_0x12002e)['setValue'](_0x4992ea['refOffsetX'],_0x4992ea[_0x45d9f5(0xd1)],_0x4992ea[_0x45d9f5(0x8f)]);}[_0x41bada(0xdd)](_0x58cfcb,_0x22ae28,_0x425690){const _0x27ef91=_0x41bada,_0x3421a0=this[_0x27ef91(0x108)][_0x27ef91(0xba)](_0x58cfcb);if(_0x3421a0&&_0x3421a0['has'](_0x22ae28)){const _0x5812a4=_0x3421a0[_0x27ef91(0xba)](_0x22ae28);_0x425690['forEach'](_0x3829c1=>{const _0x3a5242=_0x27ef91,_0x152fb8=_0x5812a4['get'](_0x3829c1);_0x152fb8!=null&&(_0x152fb8['forValue']((_0x19b416,_0x4610f8,_0x1af755)=>{this['_removeDependencyRTreeCache'](_0x1af755),this['_removeAllTreeMap'](_0x1af755);}),_0x5812a4[_0x3a5242(0xb9)](_0x3829c1),this[_0x3a5242(0xcc)][_0x3a5242(0xb9)](_0x3829c1));}),_0x5812a4[_0x27ef91(0xad)]===0x0&&_0x3421a0['delete'](_0x22ae28),_0x3421a0[_0x27ef91(0xad)]===0x0&&this[_0x27ef91(0x108)][_0x27ef91(0xb9)](_0x58cfcb);}}[_0x41bada(0xf6)](_0x3a05d2,_0x45a727){const _0x17951e=_0x41bada,_0x2abd4b=this['_otherFormulaData'][_0x17951e(0xba)](_0x3a05d2);if(_0x45a727&&_0x2abd4b&&_0x2abd4b[_0x17951e(0xf9)](_0x45a727)){const _0xba383e=_0x2abd4b[_0x17951e(0xba)](_0x45a727);this[_0x17951e(0xb2)](_0x3a05d2,_0x45a727);for(const _0x1242e2 of _0xba383e['keys']()){const _0x1e4994=_0xba383e[_0x17951e(0xba)](_0x1242e2);_0x1e4994!=null&&(_0x1e4994['forValue']((_0x1232e7,_0x1d6077,_0x2ab8d2)=>{const _0x309e30=_0x17951e;this['_allTreeMap']['get'](_0x2ab8d2)&&this[_0x309e30(0x114)](_0x2ab8d2);}),this['_otherFormulaDataMainData'][_0x17951e(0xb9)](_0x1242e2));}_0xba383e['clear']();}else{if(_0x2abd4b){for(const _0x193314 of _0x2abd4b[_0x17951e(0xc5)]()){const _0x181f85=_0x2abd4b[_0x17951e(0xba)](_0x193314);this[_0x17951e(0xb2)](_0x3a05d2,_0x193314);for(const _0x2bcd23 of _0x181f85[_0x17951e(0xc5)]()){const _0x448d01=_0x181f85[_0x17951e(0xba)](_0x2bcd23);_0x448d01!=null&&(_0x448d01[_0x17951e(0xd7)]((_0x4748c5,_0x47ed14,_0x2533dd)=>{const _0x25bb57=_0x17951e;this[_0x25bb57(0x10b)][_0x25bb57(0xba)](_0x2533dd)&&this[_0x25bb57(0x114)](_0x2533dd);}),this[_0x17951e(0xcc)]['delete'](_0x2bcd23));}}this['_otherFormulaData']['delete'](_0x3a05d2);}}}[_0x41bada(0xeb)](_0x2da4cd,_0x4bad91,_0x92f0fc,_0xdbbea2){const _0x3e4cf5=_0x41bada;this[_0x3e4cf5(0x101)][_0x3e4cf5(0xf9)](_0x2da4cd)||this[_0x3e4cf5(0x101)][_0x3e4cf5(0x11e)](_0x2da4cd,new Map());const _0x16242a=this['_featureFormulaData'][_0x3e4cf5(0xba)](_0x2da4cd);_0x16242a[_0x3e4cf5(0xf9)](_0x4bad91)||_0x16242a[_0x3e4cf5(0x11e)](_0x4bad91,new Map()),_0x16242a['get'](_0x4bad91)['set'](_0x92f0fc,_0xdbbea2[_0x3e4cf5(0x8f)]);}['removeFeatureFormulaDependency'](_0x5740da,_0x45df21,_0x29c21a){const _0x32b521=_0x41bada,_0x429bac=this[_0x32b521(0x101)][_0x32b521(0xba)](_0x5740da);if(_0x429bac&&_0x429bac[_0x32b521(0xf9)](_0x45df21)){const _0x5f3c61=_0x429bac[_0x32b521(0xba)](_0x45df21);_0x29c21a[_0x32b521(0x115)](_0x383a2f=>{const _0x454725=_0x32b521,_0x5d5558=_0x5f3c61[_0x454725(0xba)](_0x383a2f);_0x5d5558!=null&&(this[_0x454725(0xa9)](_0x5d5558),_0x5f3c61[_0x454725(0xb9)](_0x383a2f),this['_removeAllTreeMap'](_0x5d5558));});}}[_0x41bada(0xfc)](_0x3ccb61,_0x2e7ace){const _0x51cfdb=_0x41bada,_0x5b0ad2=this['_featureFormulaData']['get'](_0x3ccb61);if(_0x2e7ace&&_0x5b0ad2&&_0x5b0ad2[_0x51cfdb(0xf9)](_0x2e7ace)){const _0x5f4e8d=_0x5b0ad2[_0x51cfdb(0xba)](_0x2e7ace);this[_0x51cfdb(0xb2)](_0x3ccb61,_0x2e7ace),_0x5f4e8d[_0x51cfdb(0x115)](_0x4b2d31=>{const _0x38ba36=_0x51cfdb;_0x4b2d31!=null&&this[_0x38ba36(0x114)](_0x4b2d31);}),_0x5f4e8d['clear']();}else _0x5b0ad2&&(_0x5b0ad2[_0x51cfdb(0x115)]((_0x1f0750,_0x50fa3d)=>{const _0x11012a=_0x51cfdb;this[_0x11012a(0xb2)](_0x3ccb61,_0x50fa3d),_0x1f0750[_0x11012a(0x115)](_0x1e4705=>{const _0x2feae8=_0x11012a;_0x1e4705!=null&&this[_0x2feae8(0x114)](_0x1e4705);});}),this['_featureFormulaData']['delete'](_0x3ccb61));}['addFormulaDependency'](_0x540496,_0x11757c,_0x4d1d6c,_0x239ace,_0x7f93bd){const _0x29f4a7=_0x41bada;this['_formulaData']['has'](_0x540496)||this['_formulaData']['set'](_0x540496,new Map());const _0x1d3717=this[_0x29f4a7(0xa7)][_0x29f4a7(0xba)](_0x540496);_0x1d3717[_0x29f4a7(0xf9)](_0x11757c)||_0x1d3717[_0x29f4a7(0x11e)](_0x11757c,new _0x11ab1c()),_0x1d3717[_0x29f4a7(0xba)](_0x11757c)[_0x29f4a7(0xda)](_0x4d1d6c,_0x239ace,_0x7f93bd[_0x29f4a7(0x8f)]);}[_0x41bada(0xb6)](_0x396290,_0x2f1fa1,_0x4138a4,_0x2cd7d6){const _0x117a6e=_0x41bada,_0x4da899=this[_0x117a6e(0xa7)][_0x117a6e(0xba)](_0x396290);if(_0x4da899&&_0x4da899['has'](_0x2f1fa1)){const _0x27896c=_0x4da899[_0x117a6e(0xba)](_0x2f1fa1),_0x4cd22b=_0x27896c[_0x117a6e(0x117)](_0x4138a4,_0x2cd7d6);if(_0x4cd22b==null)return;this['_removeDependencyRTreeCache'](_0x4cd22b),_0x27896c['realDeleteValue'](_0x4138a4,_0x2cd7d6),this[_0x117a6e(0x114)](_0x4cd22b);}}[_0x41bada(0x107)](_0x5202f7,_0x453144){const _0x1abb11=_0x41bada,_0x5404d4=this[_0x1abb11(0xa7)][_0x1abb11(0xba)](_0x5202f7);if(_0x453144&&_0x5404d4&&_0x5404d4[_0x1abb11(0xf9)](_0x453144)){const _0x4b289e=_0x5404d4[_0x1abb11(0xba)](_0x453144);this[_0x1abb11(0xb2)](_0x5202f7,_0x453144),_0x4b289e[_0x1abb11(0xd7)]((_0x5e63c8,_0x446269,_0x2c7648)=>{const _0x2d87bf=_0x1abb11;if(_0x2c7648==null)return!0x0;this[_0x2d87bf(0x114)](_0x2c7648);}),_0x4b289e[_0x1abb11(0x104)]();}else _0x5404d4&&(_0x5404d4[_0x1abb11(0x115)]((_0x580a4f,_0x4cdaf4)=>{const _0x5ce2af=_0x1abb11;this[_0x5ce2af(0xb2)](_0x5202f7,_0x4cdaf4),_0x580a4f[_0x5ce2af(0xd7)]((_0x2dab54,_0x14f25e,_0x1af3ec)=>{const _0x14a4aa=_0x5ce2af;if(_0x1af3ec==null)return!0x0;this[_0x14a4aa(0x114)](_0x1af3ec);});}),this[_0x1abb11(0xa7)][_0x1abb11(0xb9)](_0x5202f7));}['_removeDependencyRTreeCache'](_0x3475c8){const _0x5bbdec=_0x41bada;if(_0x3475c8==null)return;const _0x2c1302=this[_0x5bbdec(0x10b)][_0x5bbdec(0xba)](_0x3475c8);if(_0x2c1302){const _0x5d2c09=[];for(const [_0x3f1b47,_0x2c8aa4]of _0x2c1302)for(const [_0x5aa6a8,_0x45b56e]of _0x2c8aa4)_0x5d2c09[_0x5bbdec(0xd9)]({'unitId':_0x3f1b47,'sheetId':_0x5aa6a8,'range':_0x45b56e,'id':_0x3475c8});this[_0x5bbdec(0xc9)][_0x5bbdec(0x9f)](_0x5d2c09);}}['removeFormulaDependencyByDefinedName'](_0x7e558,_0x48cda4){const _0x5e9cf6=_0x41bada,_0x9c9510=this[_0x5e9cf6(0xf3)][_0x5e9cf6(0xba)](_0x7e558);if(_0x9c9510){const _0x5b0ba5=_0x9c9510[_0x5e9cf6(0xba)](_0x48cda4);if(_0x5b0ba5){for(const _0x46bc38 of _0x5b0ba5)this[_0x5e9cf6(0xa9)](_0x46bc38),this['_removeAllTreeMap'](_0x46bc38);_0x5b0ba5['clear']();}}}[_0x41bada(0xf5)](){const _0x5aca9c=_0x41bada;this[_0x5aca9c(0xc9)][_0x5aca9c(0xf5)]();}[_0x41bada(0x8b)](){const _0x584a73=_0x41bada;this[_0x584a73(0xc9)][_0x584a73(0x8b)]();}[_0x41bada(0x114)](_0x2629fb){const _0x29e7e1=_0x41bada;_0x2629fb!=null&&this[_0x29e7e1(0x10b)]['delete'](_0x2629fb);}[_0x41bada(0x11f)](_0x52fb09){const _0x12ee70=_0x41bada;var _0x5c6593,_0x525c2d;const _0x32f6fa=_0x52fb09['rangeList'];let _0x56bce4=this['_allTreeMap'][_0x12ee70(0xba)](_0x52fb09[_0x12ee70(0x8f)]);for(let _0x1e69b1=0x0;_0x1e69b1<_0x32f6fa[_0x12ee70(0xab)];_0x1e69b1++){const _0xe58b53=_0x32f6fa[_0x1e69b1];let {unitId:_0x3b9ad9,sheetId:_0x978843,range:_0xd767eb}=_0xe58b53;_0x56bce4||(_0x56bce4=new Map(),this[_0x12ee70(0x10b)]['set'](_0x52fb09[_0x12ee70(0x8f)],_0x56bce4)),_0x56bce4[_0x12ee70(0xf9)](_0x3b9ad9)||_0x56bce4[_0x12ee70(0x11e)](_0x3b9ad9,new Map());const _0x32b23f=(_0x5c6593=_0x56bce4==null?void 0x0:_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null?void 0x0:_0x5c6593[_0x12ee70(0xba)](_0x978843);_0x32b23f&&(_0xd767eb={'startRow':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xc8)],_0x32b23f[_0x12ee70(0xc8)]),'startColumn':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xa1)],_0x32b23f[_0x12ee70(0xa1)]),'endRow':Math[_0x12ee70(0x11a)](_0xd767eb['endRow'],_0x32b23f['endRow']),'endColumn':Math[_0x12ee70(0x11a)](_0xd767eb[_0x12ee70(0x9b)],_0x32b23f[_0x12ee70(0x9b)])}),(_0x525c2d=_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null||_0x525c2d[_0x12ee70(0x11e)](_0x978843,_0xd767eb);}}}var pe=Object[_0x41bada(0x103)],Fe=(_0x3ca134,_0x22bc85,_0x11c5e3,_0x2ef0ad)=>{const _0x1f83df=_0x41bada;for(var _0x1817c0=_0x2ef0ad>0x1?void 0x0:_0x2ef0ad?pe(_0x22bc85,_0x11c5e3):_0x22bc85,_0x42f5a7=_0x3ca134[_0x1f83df(0xab)]-0x1,_0x57d60e;_0x42f5a7>=0x0;_0x42f5a7--)(_0x57d60e=_0x3ca134[_0x42f5a7])&&(_0x1817c0=_0x57d60e(_0x1817c0)||_0x1817c0);return _0x1817c0;};const _e=Number[_0x41bada(0x118)](0x68c50d20);let b=class extends _0x11a7e5{[_0x41bada(0x100)](){const _0x174b9=_0x41bada;var _0x281d82,_0x359e81;this[_0x174b9(0x10d)]()?(_0x281d82=this[_0x174b9(0xfb)])!=null&&_0x281d82['notExecuteFormula']||[[_0x41d0f3,{'useClass':he}],[_0x3901f0,{'useClass':fe}],[_0x3d9c53,{'useClass':de}]][_0x174b9(0x115)](_0x263455=>this['_injector']['add'](_0x263455)):(_0x359e81=this[_0x174b9(0xfb)])!=null&&_0x359e81[_0x174b9(0xbd)]||[[_0x41d0f3,{'useClass':_0x453d1f}],[_0x3901f0,{'useClass':_0x35aa0c}],[_0x3d9c53,{'useClass':_0x10e6df}]][_0x174b9(0x115)](_0x1ad598=>this[_0x174b9(0x113)]['add'](_0x1ad598));}[_0x41bada(0x10d)](){const _0x551b3a=_0x41bada;var _0x1e3c3c;const _0x2f79fe=(_0x1e3c3c=this['_configService']['getConfig'](_0x317615))!=null?_0x1e3c3c:{},{ls:_0x4260e8,pbk:_0x363814}=_0x2f79fe;if(!_0x4260e8||!_0x363814)return!0x1;const _0x300e81=_0x2463bf(ue,le),_0x30c733=new Function('return\x20'+_0x300e81)()(_0x4260e8,_0x363814),_0x5cc8b9=_0x30c733[_0x551b3a(0x99)];return _0x30c733[_0x551b3a(0xc0)]&&_0x3d42ba(_0x5cc8b9,'sf',_e)?_0x3c153a(_0x5cc8b9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=Fe([_0x190b9a(_0x3a0e6e)],b);export{b as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x4ec481=_0x130c;(function(_0x24b042,_0xd95376){const _0x1c469a=_0x130c,_0x5e1ca1=_0x24b042();while(!![]){try{const _0x4639e1=-parseInt(_0x1c469a(0x266))/0x1+parseInt(_0x1c469a(0x273))/0x2+parseInt(_0x1c469a(0x25e))/0x3+-parseInt(_0x1c469a(0x1ef))/0x4+parseInt(_0x1c469a(0x227))/0x5*(parseInt(_0x1c469a(0x24b))/0x6)+parseInt(_0x1c469a(0x25a))/0x7+-parseInt(_0x1c469a(0x23c))/0x8;if(_0x4639e1===_0xd95376)break;else _0x5e1ca1['push'](_0x5e1ca1['shift']());}catch(_0x39c7e2){_0x5e1ca1['push'](_0x5e1ca1['shift']());}}}(_0x6a8c,0x43f87));var G=Object[_0x4ec481(0x201)],Z=(_0x1eb5ab,_0x34c87e,_0x4f1e00)=>_0x34c87e in _0x1eb5ab?G(_0x1eb5ab,_0x34c87e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f1e00}):_0x1eb5ab[_0x34c87e]=_0x4f1e00,T=(_0x43c139,_0x3be6ae,_0x4aa7ca)=>Z(_0x43c139,typeof _0x3be6ae!='symbol'?_0x3be6ae+'':_0x3be6ae,_0x4aa7ca);function _0x130c(_0x59acb7,_0x1e94f5){const _0x6a8cc5=_0x6a8c();return _0x130c=function(_0x130c5d,_0x5bff7f){_0x130c5d=_0x130c5d-0x1dc;let _0x207814=_0x6a8cc5[_0x130c5d];return _0x207814;},_0x130c(_0x59acb7,_0x1e94f5);}import{UniverLicensePlugin as _0x986f25,LS_CONFIG_KEY as _0x361fb3,unshiftString as _0x310ab3,isFeatureAuthorizedWithinTime as _0x4aa234,getSheetFeatureLimit as _0x1e97ef}from'@univerjs-pro/license';import{ObjectMatrix as _0x3080cf,requestImmediateMacroTask as _0x2cc7f9,RTree as _0x2c0743,DependentOn as _0xaa1033}from'@univerjs/core';import{FormulaDependencyGenerator as _0x417cf5,generateRandomDependencyTreeId as _0x525369,FormulaDependencyTree as _0x3c641f,FormulaDependencyTreeType as _0x3cb366,FormulaDependencyTreeVirtual as _0x59dd5,generateAstNode as _0x3f8fbd,CalculateFormulaService as _0x4b1646,FormulaExecuteStageType as _0x91fff7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x115b99,DEFAULT_INTERVAL_COUNT as _0x7c90d9,DependencyManagerBaseService as _0x28020f,UniverFormulaEnginePlugin as _0x4dea31,ICalculateFormulaService as _0xe98918,IDependencyManagerService as _0x1e8028,IFormulaDependencyGenerator as _0x3d3404,DependencyManagerService as _0x3e93c4}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'U',0x1:'6',0x2:'m',0x3:'9',0x4:'w',0x5:'a',0x6:'E',0x7:'g',0x8:'O',0x9:'X','F':'0','o':'1','v':'2','B':'3','k':'4','G':'5','W':'7','X':'8','J':'b','f':'c','a':'d','Q':'e','i':'f','m':'h','z':'i','T':'j','r':'k','y':'l','V':'n','R':'o','U':'p','b':'q','N':'r','c':'s','g':'t','H':'u','h':'v','E':'x','Z':'y','C':'z','j':'A','n':'B','p':'C','I':'D','d':'F','q':'G','S':'H','K':'I','u':'J','A':'K','O':'L','P':'M','l':'N','D':'P','x':'Q','e':'R','M':'S','Y':'T','L':'V','s':'W','t':'Y','w':'Z'},ue=_0x4ec481(0x22b);class de extends _0x417cf5{constructor(){const _0x3c6743=_0x4ec481;super(...arguments),T(this,_0x3c6743(0x224),new Map());}[_0x4ec481(0x1fe)](){const _0xe60dca=_0x4ec481;super['dispose'](),this[_0xe60dca(0x224)][_0xe60dca(0x261)]();}async['generate'](){const _0x409b34=_0x4ec481;this[_0x409b34(0x27b)]();const _0x5d7aa6=this[_0x409b34(0x1fd)]['getFormulaData'](),_0x4ce90f=this[_0x409b34(0x232)][_0x409b34(0x262)](),_0x466298=this[_0x409b34(0x1fd)][_0x409b34(0x264)]();_0x466298!=null&&Object[_0x409b34(0x234)](_0x466298)['forEach'](_0x2f973f=>{const _0x1f8c1a=_0x409b34;_0x2f973f!=null&&Object[_0x1f8c1a(0x234)](_0x466298[_0x2f973f])[_0x1f8c1a(0x226)](_0x1b1553=>{const _0x13c55c=_0x1f8c1a;_0x1b1553!=null&&(this['_dependencyManagerService'][_0x13c55c(0x256)](_0x2f973f,_0x1b1553),this[_0x13c55c(0x219)][_0x13c55c(0x1dd)](_0x2f973f,_0x1b1553),this[_0x13c55c(0x219)][_0x13c55c(0x26b)](_0x2f973f,_0x1b1553));});});const _0xd7f1e7=this[_0x409b34(0x1fd)][_0x409b34(0x252)]();await this[_0x409b34(0x249)](_0x5d7aa6,_0x4ce90f,_0xd7f1e7),this[_0x409b34(0x219)]['openKdTree']();const _0x2555ed=this[_0x409b34(0x244)](),_0x3038a2=this[_0x409b34(0x1ed)](_0x2555ed);return this[_0x409b34(0x248)](_0x3038a2)&&this['_runtimeService']['enableCycleDependency'](),this[_0x409b34(0x224)][_0x409b34(0x261)](),this[_0x409b34(0x1f3)][_0x409b34(0x261)](),this[_0x409b34(0x219)][_0x409b34(0x231)](),Promise[_0x409b34(0x258)](_0x3038a2);}[_0x4ec481(0x24d)](_0x45a996,_0x303568){const _0x80a8f9=_0x4ec481,_0x3e3f95=[_0x45a996];for(;_0x3e3f95[_0x80a8f9(0x24f)]>0x0;){const _0x31aea4=_0x3e3f95[_0x3e3f95[_0x80a8f9(0x24f)]-0x1];if((_0x303568['get'](_0x31aea4)||0x0)===0x0){_0x303568[_0x80a8f9(0x25c)](_0x31aea4,0x1);const _0x43a124=this[_0x80a8f9(0x224)][_0x80a8f9(0x267)](_0x31aea4);if(_0x43a124==null){_0x303568[_0x80a8f9(0x25c)](_0x31aea4,0x2),_0x3e3f95[_0x80a8f9(0x22d)]();continue;}const _0xae28b2=this[_0x80a8f9(0x219)]['searchDependency'](_0x43a124[_0x80a8f9(0x237)]());for(const _0x183301 of _0xae28b2){const _0x104a5d=_0x303568[_0x80a8f9(0x267)](_0x183301)||0x0;if(_0x104a5d===0x1)return!0x0;_0x104a5d===0x0&&_0x3e3f95[_0x80a8f9(0x1f8)](_0x183301);}}else _0x303568['set'](_0x31aea4,0x2),_0x3e3f95['pop']();}return!0x1;}[_0x4ec481(0x248)](_0xcedcda){const _0x1627a2=_0x4ec481,_0x9048f7=new Map();for(const _0x4f0948 of _0xcedcda)if(!_0x9048f7[_0x1627a2(0x21b)](_0x4f0948[_0x1627a2(0x277)])&&this[_0x1627a2(0x24d)](_0x4f0948[_0x1627a2(0x277)],_0x9048f7))return!0x0;return _0x9048f7[_0x1627a2(0x261)](),!0x1;}['_getFeatureFormulaTree'](_0x2d88ec,_0x21ae46,_0x50aa57){const _0x5e3241=_0x4ec481,{unitId:_0x42aadf,subUnitId:_0x1b4aaf,dependencyRanges:_0x569b45,getDirtyData:_0x586d75}=_0x50aa57,_0x32ae8c=_0x21ae46||_0x525369(this[_0x5e3241(0x219)]),_0x35ac61=new _0x3c641f(_0x32ae8c);_0x35ac61[_0x5e3241(0x21f)]=_0x42aadf,_0x35ac61[_0x5e3241(0x228)]=_0x1b4aaf,_0x35ac61[_0x5e3241(0x25d)]=_0x569b45,_0x35ac61[_0x5e3241(0x251)]=_0x586d75;const _0x1d8e3f=_0x586d75(this[_0x5e3241(0x1fd)][_0x5e3241(0x251)](),this[_0x5e3241(0x23b)]['getAllRuntimeData']()),_0x1efc23=this[_0x5e3241(0x20d)](_0x1d8e3f[_0x5e3241(0x22a)]);return _0x35ac61['featureDirtyRanges']=_0x1efc23,_0x35ac61[_0x5e3241(0x271)]=_0x2d88ec,_0x35ac61[_0x5e3241(0x1df)]=_0x3cb366[_0x5e3241(0x26c)],this['_dependencyManagerService'][_0x5e3241(0x26a)](_0x42aadf,_0x1b4aaf,_0x2d88ec,_0x35ac61),this['_dependencyTreeCache'][_0x5e3241(0x25c)](_0x35ac61[_0x5e3241(0x277)],_0x35ac61),this['_dependencyManagerService'][_0x5e3241(0x240)](_0x50aa57[_0x5e3241(0x21f)],_0x50aa57['subUnitId'],_0x2d88ec)&&(_0x35ac61[_0x5e3241(0x20f)]=!0x0),_0x35ac61;}[_0x4ec481(0x275)](_0x2cb7cd,_0x1c68d8,_0x4f45ae){const _0x314e1=_0x4ec481;var _0xfe3438;for(const _0x4f1348 of _0x1c68d8){const _0x379706=_0x2cb7cd[_0x4f1348];if(_0x379706==null)continue;const _0x1bdab9=Object[_0x314e1(0x234)](_0x379706);for(const _0x23927c of _0x1bdab9){const _0x288f81=_0x379706[_0x23927c];if(_0x288f81==null)continue;const _0x51b522=Object[_0x314e1(0x234)](_0x288f81);for(const _0x4f0eb0 of _0x51b522){const _0x508c37=this[_0x314e1(0x219)]['hasOtherFormulaDataMainData'](_0x4f0eb0),_0x3a9312=_0x288f81[_0x4f0eb0],{f:_0x97e2ae,ranges:_0x133aaa}=_0x3a9312;let _0x594c62=!0x1;_0x508c37&&(_0x594c62=!0x0);const {firstRow:_0x3bb876,firstColumn:_0x2ec378}=this[_0x314e1(0x1e4)](_0x133aaa),_0x37af33=this[_0x314e1(0x219)][_0x314e1(0x23f)](_0x4f1348,_0x23927c,_0x4f0eb0),_0x233349=(_0xfe3438=_0x37af33==null?void 0x0:_0x37af33[_0x314e1(0x209)](0x0,0x0))!=null?_0xfe3438:_0x525369(this[_0x314e1(0x219)]),_0x5a399c=new _0x3c641f(_0x233349);for(let _0x5bc9f0=0x0;_0x5bc9f0<_0x133aaa[_0x314e1(0x24f)];_0x5bc9f0++){const _0x594e39=_0x133aaa[_0x5bc9f0],{startRow:_0x243d6f,startColumn:_0x1d98be,endRow:_0x887bda,endColumn:_0x3ddbf7}=_0x594e39;for(let _0x53ae1a=_0x243d6f;_0x53ae1a<=_0x887bda;_0x53ae1a++)for(let _0x353c2b=_0x1d98be;_0x353c2b<=_0x3ddbf7;_0x353c2b++){const _0x24379d=_0x353c2b-_0x2ec378,_0x2ce9fb=_0x53ae1a-_0x3bb876;if(_0x24379d===0x0&&_0x2ce9fb===0x0){_0x5a399c[_0x314e1(0x272)]=_0x97e2ae,_0x5a399c[_0x314e1(0x21f)]=_0x4f1348,_0x5a399c[_0x314e1(0x228)]=_0x23927c,_0x5a399c[_0x314e1(0x21d)]=_0x4f0eb0,_0x5a399c[_0x314e1(0x1df)]=_0x3cb366[_0x314e1(0x233)],_0x5a399c[_0x314e1(0x20f)]=_0x594c62,_0x4f45ae[_0x314e1(0x1f8)](_0x5a399c),this[_0x314e1(0x224)]['set'](_0x5a399c[_0x314e1(0x277)],_0x5a399c),this[_0x314e1(0x219)][_0x314e1(0x20c)](_0x4f1348,_0x23927c,_0x4f0eb0,_0x5a399c),this[_0x314e1(0x219)][_0x314e1(0x1ee)](_0x5a399c);continue;}const _0x879fed=new _0x59dd5();_0x879fed[_0x314e1(0x277)]=(_0x37af33==null?void 0x0:_0x37af33[_0x314e1(0x209)](_0x24379d,_0x2ce9fb))||_0x525369(this['_dependencyManagerService']),_0x879fed[_0x314e1(0x21c)]=_0x5a399c,_0x879fed['refOffsetX']=_0x24379d,_0x879fed[_0x314e1(0x1fa)]=_0x2ce9fb,_0x879fed['isCache']=_0x594c62,this[_0x314e1(0x219)][_0x314e1(0x20c)](_0x4f1348,_0x23927c,_0x4f0eb0,_0x879fed),this[_0x314e1(0x219)][_0x314e1(0x1ee)](_0x879fed),_0x4f45ae[_0x314e1(0x1f8)](_0x879fed),this[_0x314e1(0x224)][_0x314e1(0x25c)](_0x879fed[_0x314e1(0x277)],_0x879fed);}}this[_0x314e1(0x219)][_0x314e1(0x250)](_0x4f0eb0);}}}}[_0x4ec481(0x23a)](_0x2639f1,_0x250cc1,_0x10001a,_0x1047e3){const _0xe41adb=_0x4ec481;for(const _0x52d72a of _0x2639f1){const _0x221224=_0x250cc1[_0x52d72a];if(_0x221224==null)continue;const _0x49d3e2=Object[_0xe41adb(0x234)](_0x221224);for(const _0x4ec229 of _0x49d3e2){const _0xbde0c6=new _0x3080cf(_0x221224[_0x4ec229]||{}),_0x59db24=new Map();_0xbde0c6[_0xe41adb(0x236)]((_0x2ecae2,_0x5e66e0,_0xc84863)=>{const _0x359728=_0xe41adb;if(_0xc84863==null)return!0x0;const {x:_0x5237bc=0x0,y:_0x3ff6a1=0x0,si:_0x16d5ce}=_0xc84863;if(!(_0x5237bc===0x0&&_0x3ff6a1===0x0&&_0x16d5ce!=null))return!0x0;const _0x22ae5f=this[_0x359728(0x26e)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0,_0x10001a,_0xc84863),_0x469059=this[_0x359728(0x219)][_0x359728(0x27a)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0);_0x469059!=null?_0x22ae5f[_0x359728(0x277)]=_0x469059:(this[_0x359728(0x219)][_0x359728(0x221)](_0x52d72a,_0x4ec229,_0x2ecae2,_0x5e66e0,_0x22ae5f),this['_dependencyManagerService'][_0x359728(0x1ee)](_0x22ae5f)),_0x59db24[_0x359728(0x25c)](_0x16d5ce,_0x22ae5f),_0x1047e3[_0x359728(0x1f8)](_0x22ae5f),this['_dependencyTreeCache'][_0x359728(0x25c)](_0x22ae5f[_0x359728(0x277)],_0x22ae5f);}),_0xbde0c6[_0xe41adb(0x236)]((_0x242edf,_0x5f06b3,_0x1bbbeb)=>{const _0x58a9fa=_0xe41adb;if(_0x1bbbeb==null)return!0x0;const {x:_0x337ad8=0x0,y:_0x23c270=0x0,si:_0x15d270}=_0x1bbbeb;if(_0x337ad8===0x0&&_0x23c270===0x0&&_0x15d270!=null)return!0x0;let _0x402b84;if(_0x15d270&&_0x59db24['has'](_0x15d270)){const _0x858569=_0x59db24['get'](_0x15d270);_0x402b84=this[_0x58a9fa(0x223)](_0x858569,_0x1bbbeb);}else _0x402b84=this[_0x58a9fa(0x26e)](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3,_0x10001a,_0x1bbbeb);const _0x157be5=this['_dependencyManagerService']['getFormulaDependency'](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3);_0x157be5!=null?_0x402b84[_0x58a9fa(0x277)]=_0x157be5:(this[_0x58a9fa(0x219)][_0x58a9fa(0x221)](_0x52d72a,_0x4ec229,_0x242edf,_0x5f06b3,_0x402b84),this[_0x58a9fa(0x219)]['addFormulaDependencyByDefinedName'](_0x402b84)),_0x1047e3[_0x58a9fa(0x1f8)](_0x402b84),this[_0x58a9fa(0x224)][_0x58a9fa(0x25c)](_0x402b84[_0x58a9fa(0x277)],_0x402b84);}),_0x59db24[_0xe41adb(0x261)]();}}}[_0x4ec481(0x26e)](_0x376972,_0x5dfbe2,_0x3efc16,_0x1dfffe,_0x5a17a3,_0x240bd4){const _0x13d1ed=_0x4ec481,{f:_0x21bfab,x:_0x24d128=0x0,y:_0xae956d=0x0}=_0x240bd4,_0x48782b=new _0x3c641f(_0x525369(this['_dependencyManagerService'])),_0x5c5339=_0x5a17a3[_0x376972][_0x5dfbe2];return _0x48782b[_0x13d1ed(0x272)]=_0x21bfab,_0x48782b[_0x13d1ed(0x21f)]=_0x376972,_0x48782b['subUnitId']=_0x5dfbe2,_0x48782b[_0x13d1ed(0x22c)]=_0x3efc16,_0x48782b[_0x13d1ed(0x239)]=_0x1dfffe,_0x48782b[_0x13d1ed(0x25b)]=_0x5c5339[_0x13d1ed(0x25b)],_0x48782b['columnCount']=_0x5c5339[_0x13d1ed(0x24a)],_0x48782b;}[_0x4ec481(0x244)](){const _0x2937dc=_0x4ec481,_0x48c7bc=[],_0x575924=new Set(),_0x5907c0=this['_currentConfigService']['isForceCalculate'](),_0x319a54=this[_0x2937dc(0x1fd)][_0x2937dc(0x1e1)](),_0x50a24d=this[_0x2937dc(0x219)]['searchDependency'](_0x319a54),_0x138721=this[_0x2937dc(0x1f3)][_0x2937dc(0x1e3)](_0x319a54);for(const _0x4cfddc of _0x138721)_0x50a24d[_0x2937dc(0x238)](_0x4cfddc);for(const [_0x5f0aed,_0x4f5b22]of this['_dependencyTreeCache'])(_0x5907c0||_0x4f5b22['isDirty']||_0x4f5b22[_0x2937dc(0x230)](this[_0x2937dc(0x1fd)][_0x2937dc(0x1ff)]())||_0x50a24d['has'](_0x5f0aed)&&!_0x4f5b22[_0x2937dc(0x220)](this[_0x2937dc(0x1fd)][_0x2937dc(0x1f5)]()))&&!_0x575924[_0x2937dc(0x21b)](_0x5f0aed)&&(_0x48c7bc[_0x2937dc(0x1f8)](_0x4f5b22),_0x575924['add'](_0x5f0aed));for(const [_0x5df755,_0x53ed6f]of this[_0x2937dc(0x224)])_0x53ed6f[_0x2937dc(0x246)]||(_0x53ed6f['rangeList'][_0x2937dc(0x24f)]=0x0);return _0x48c7bc;}[_0x4ec481(0x243)](_0x45033b){const _0xdf9a40=_0x4ec481;return this[_0xdf9a40(0x224)][_0xdf9a40(0x267)](_0x45033b);}['_getTreeNode'](_0x1c7978){const _0x30cde3=_0x4ec481;return _0x3f8fbd(_0x1c7978[_0x30cde3(0x21f)],_0x1c7978[_0x30cde3(0x272)],this['_lexer'],this[_0x30cde3(0x200)],this['_currentConfigService']);}*[_0x4ec481(0x204)](_0x3ff6a3,_0x4729d2){const _0x4dbc2d=_0x4ec481,_0x2647a8=_0x3ff6a3,_0x532b89=new Set();for(;_0x2647a8[_0x4dbc2d(0x24f)]>0x0;){const _0x210c97=_0x2647a8[_0x4dbc2d(0x22d)]();if(_0x532b89['clear'](),_0x210c97===void 0x0||_0x210c97['isSkip']())continue;if(_0x210c97[_0x4dbc2d(0x242)]()){yield _0x210c97,_0x210c97[_0x4dbc2d(0x22f)](),_0x4729d2[_0x4dbc2d(0x238)](_0x210c97['treeId']);continue;}const _0x1d08f4=this[_0x4dbc2d(0x219)][_0x4dbc2d(0x229)](_0x210c97[_0x4dbc2d(0x237)](),_0x4729d2),_0x4415bd=this[_0x4dbc2d(0x1f3)][_0x4dbc2d(0x1e3)](_0x210c97[_0x4dbc2d(0x237)](),_0x4729d2);for(const _0x91d825 of _0x4415bd)_0x1d08f4[_0x4dbc2d(0x238)](_0x91d825);for(const _0x385287 of _0x1d08f4){const _0x23ce0f=this[_0x4dbc2d(0x224)]['get'](_0x385287);if(!_0x23ce0f)throw new Error(_0x4dbc2d(0x1f9));_0x23ce0f[_0x4dbc2d(0x242)]()||_0x210c97['isSkip']()||_0x532b89['add'](_0x23ce0f);}if(_0x1d08f4[_0x4dbc2d(0x261)](),_0x532b89[_0x4dbc2d(0x274)]===0x0)yield _0x210c97,_0x210c97[_0x4dbc2d(0x22f)](),_0x4729d2['add'](_0x210c97[_0x4dbc2d(0x277)]);else{_0x210c97[_0x4dbc2d(0x1fc)](),_0x2647a8[_0x4dbc2d(0x1f8)](_0x210c97);for(const _0x8b82ae of _0x532b89)_0x2647a8[_0x4dbc2d(0x1f8)](_0x8b82ae);}}_0x2647a8[_0x4dbc2d(0x24f)]=0x0,_0x532b89['clear']();}[_0x4ec481(0x1ed)](_0x57cabb){const _0x122362=_0x4ec481,_0x4010e0=[],_0x5f8d72=new Set();for(const _0x4f88b3 of this['_traverse'](_0x57cabb,_0x5f8d72))_0x4010e0[_0x122362(0x1f8)](_0x4f88b3);return _0x4010e0;}}class he extends _0x4b1646{async[_0x4ec481(0x23e)](_0x210e98=!0x1){const _0x432e43=_0x4ec481;_0x210e98?this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x20a)]):this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x27c)]),this['_executionInProgressListener$'][_0x432e43(0x212)](this[_0x432e43(0x23b)][_0x432e43(0x255)]());const _0x3958b8=await this['_formulaDependencyGenerator'][_0x432e43(0x26f)](),_0x52963b=this[_0x432e43(0x253)];_0x210e98?(this[_0x432e43(0x23b)]['setFormulaExecuteStage'](_0x91fff7[_0x432e43(0x1e9)]),this[_0x432e43(0x23b)][_0x432e43(0x20b)](_0x3958b8[_0x432e43(0x24f)])):(this[_0x432e43(0x23b)]['setFormulaExecuteStage'](_0x91fff7['START_CALCULATION']),this[_0x432e43(0x23b)][_0x432e43(0x207)](_0x3958b8['length'])),this[_0x432e43(0x217)][_0x432e43(0x212)](this['_runtimeService']['getRuntimeState']());let _0x3c66ae=[];const _0x16c40d=this[_0x432e43(0x203)][_0x432e43(0x25f)](_0x115b99),_0x26530b=(_0x16c40d==null?void 0x0:_0x16c40d[_0x432e43(0x268)])||_0x7c90d9;let _0xfe03b0=0x0;const _0x5590ae=_0x3958b8[_0x432e43(0x24f)];for(;_0x3958b8[_0x432e43(0x24f)]>0x0;){const _0x28779c=_0x3958b8[_0x432e43(0x22d)](),_0x181272={'node':_0x3f8fbd(_0x28779c[_0x432e43(0x21f)],_0x28779c[_0x432e43(0x272)],this[_0x432e43(0x263)],this['_astTreeBuilder'],this[_0x432e43(0x1fd)]),'refOffsetX':_0x28779c[_0x432e43(0x211)],'refOffsetY':_0x28779c[_0x432e43(0x1fa)]},_0x4d3737=_0x28779c[_0x432e43(0x251)];if(_0xfe03b0%_0x26530b===0x0&&(await new Promise(_0x3c9a50=>{const _0x355f80=_0x432e43,_0x5cd089=_0x2cc7f9(_0x3c9a50);_0x3c66ae[_0x355f80(0x1f8)](_0x5cd089);}),_0x210e98?(this['_runtimeService'][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x1f2)]),this[_0x432e43(0x23b)]['setCompletedArrayFormulasCount'](_0xfe03b0+0x1)):(this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7[_0x432e43(0x260)]),this[_0x432e43(0x23b)]['setCompletedFormulasCount'](_0xfe03b0+0x1)),this[_0x432e43(0x217)][_0x432e43(0x212)](this['_runtimeService'][_0x432e43(0x255)]()),this[_0x432e43(0x23b)]['isStopExecution']()||_0x181272==null&&_0x4d3737==null)){this[_0x432e43(0x23b)][_0x432e43(0x1e6)](_0x91fff7['IDLE']),this['_runtimeService'][_0x432e43(0x1e8)](),this[_0x432e43(0x276)]['next'](this[_0x432e43(0x23b)][_0x432e43(0x1e7)]());return;}this[_0x432e43(0x23b)][_0x432e43(0x257)](_0x28779c['row'],_0x28779c[_0x432e43(0x239)],_0x28779c[_0x432e43(0x25b)],_0x28779c[_0x432e43(0x24a)],_0x28779c['subUnitId'],_0x28779c[_0x432e43(0x21f)]);let _0x4edd19;if(_0x4d3737!=null&&_0x28779c[_0x432e43(0x271)]!=null){const {runtimeCellData:_0x4d5981,dirtyRanges:_0x419de3}=_0x4d3737(this[_0x432e43(0x1fd)][_0x432e43(0x251)](),this[_0x432e43(0x23b)][_0x432e43(0x1e7)]());this[_0x432e43(0x23b)][_0x432e43(0x1e0)](_0x28779c[_0x432e43(0x271)],_0x4d5981),this['_runtimeService'][_0x432e43(0x1fb)](_0x28779c[_0x432e43(0x271)],_0x419de3);}else _0x181272!=null&&(_0x52963b[_0x432e43(0x259)](_0x181272[_0x432e43(0x279)])?_0x4edd19=await _0x52963b[_0x432e43(0x218)](_0x181272):_0x4edd19=_0x52963b[_0x432e43(0x205)](_0x181272),_0x28779c[_0x432e43(0x21d)]!=null?this[_0x432e43(0x23b)][_0x432e43(0x235)](_0x28779c['formulaId'],_0x28779c[_0x432e43(0x211)],_0x28779c['refOffsetY'],_0x4edd19):this[_0x432e43(0x23b)][_0x432e43(0x1e2)](_0x4edd19));_0xfe03b0++;}return _0x3c66ae[_0x432e43(0x226)](_0x530689=>_0x530689()),_0x3c66ae=[],_0x5590ae>0x0?this[_0x432e43(0x23b)][_0x432e43(0x1f7)]():_0x210e98||this['_runtimeService'][_0x432e43(0x1f1)](),this[_0x432e43(0x23b)]['getAllRuntimeData']();}}class ge extends _0x28020f{constructor(){const _0x4f966f=_0x4ec481;super(...arguments),T(this,_0x4f966f(0x225),new Map()),T(this,_0x4f966f(0x1eb),new _0x2c0743(!0x0));}[_0x4ec481(0x24e)](){const _0x6d6b3=_0x4ec481;this['_otherFormulaData'][_0x6d6b3(0x261)](),this['_featureFormulaData']['clear'](),this['_formulaData'][_0x6d6b3(0x261)](),this[_0x6d6b3(0x1eb)][_0x6d6b3(0x261)](),this[_0x6d6b3(0x225)][_0x6d6b3(0x261)](),this[_0x6d6b3(0x247)](),this['_otherFormulaDataMainData'][_0x6d6b3(0x261)]();}[_0x4ec481(0x20c)](_0x421cad,_0x496a3a,_0x27649c,_0xba6dda){const _0x4f95aa=_0x4ec481;this[_0x4f95aa(0x20e)][_0x4f95aa(0x21b)](_0x421cad)||this[_0x4f95aa(0x20e)][_0x4f95aa(0x25c)](_0x421cad,new Map());const _0x28b81b=this[_0x4f95aa(0x20e)][_0x4f95aa(0x267)](_0x421cad);_0x28b81b[_0x4f95aa(0x21b)](_0x496a3a)||_0x28b81b['set'](_0x496a3a,new Map());const _0x28b5f6=_0x28b81b['get'](_0x496a3a);_0x28b5f6[_0x4f95aa(0x21b)](_0x27649c)||_0x28b5f6['set'](_0x27649c,new _0x3080cf()),_0x28b5f6[_0x4f95aa(0x267)](_0x27649c)[_0x4f95aa(0x21a)](_0xba6dda['refOffsetX'],_0xba6dda['refOffsetY'],_0xba6dda['treeId']);}[_0x4ec481(0x270)](_0x344918,_0x89288d,_0x4ea3cd){const _0x4b1452=_0x4ec481,_0x241c94=this['_otherFormulaData'][_0x4b1452(0x267)](_0x344918);if(_0x241c94&&_0x241c94[_0x4b1452(0x21b)](_0x89288d)){const _0x94387b=_0x241c94[_0x4b1452(0x267)](_0x89288d);_0x4ea3cd[_0x4b1452(0x226)](_0x3b7af9=>{const _0xad94d8=_0x4b1452,_0x3c013a=_0x94387b['get'](_0x3b7af9);_0x3c013a!=null&&(_0x3c013a[_0xad94d8(0x236)]((_0xb1f035,_0x2ac970,_0x23f559)=>{const _0x4b5697=_0xad94d8;this['_removeDependencyRTreeCache'](_0x23f559),this[_0x4b5697(0x213)](_0x23f559);}),_0x94387b[_0xad94d8(0x215)](_0x3b7af9),this[_0xad94d8(0x1f4)]['delete'](_0x3b7af9));}),_0x94387b[_0x4b1452(0x274)]===0x0&&_0x241c94[_0x4b1452(0x215)](_0x89288d),_0x241c94[_0x4b1452(0x274)]===0x0&&this['_otherFormulaData']['delete'](_0x344918);}}[_0x4ec481(0x256)](_0x4bfb06,_0x3f93d4){const _0x3f5587=_0x4ec481,_0x451bde=this[_0x3f5587(0x20e)][_0x3f5587(0x267)](_0x4bfb06);if(_0x3f93d4&&_0x451bde&&_0x451bde[_0x3f5587(0x21b)](_0x3f93d4)){const _0x47f547=_0x451bde[_0x3f5587(0x267)](_0x3f93d4);this['_removeDependencyRTreeCacheById'](_0x4bfb06,_0x3f93d4);for(const _0x595e20 of _0x47f547[_0x3f5587(0x234)]()){const _0x453b93=_0x47f547['get'](_0x595e20);_0x453b93!=null&&(_0x453b93[_0x3f5587(0x236)]((_0x2c79d5,_0x4ad1f4,_0x52ac39)=>{const _0x93ddc0=_0x3f5587;this[_0x93ddc0(0x225)]['get'](_0x52ac39)&&this[_0x93ddc0(0x213)](_0x52ac39);}),this[_0x3f5587(0x1f4)]['delete'](_0x595e20));}_0x47f547[_0x3f5587(0x261)]();}else{if(_0x451bde){for(const _0xc86a0a of _0x451bde['keys']()){const _0x33ffd7=_0x451bde[_0x3f5587(0x267)](_0xc86a0a);this[_0x3f5587(0x1de)](_0x4bfb06,_0xc86a0a);for(const _0x140e81 of _0x33ffd7['keys']()){const _0x2f9465=_0x33ffd7[_0x3f5587(0x267)](_0x140e81);_0x2f9465!=null&&(_0x2f9465[_0x3f5587(0x236)]((_0x17b52e,_0x24cc0d,_0x5b3906)=>{const _0x34c191=_0x3f5587;this['_allTreeMap']['get'](_0x5b3906)&&this[_0x34c191(0x213)](_0x5b3906);}),this['_otherFormulaDataMainData']['delete'](_0x140e81));}}this['_otherFormulaData'][_0x3f5587(0x215)](_0x4bfb06);}}}['addFeatureFormulaDependency'](_0x1eb8ac,_0x3e23f1,_0xae3da0,_0xe941d2){const _0x12429c=_0x4ec481;this[_0x12429c(0x1f0)][_0x12429c(0x21b)](_0x1eb8ac)||this['_featureFormulaData']['set'](_0x1eb8ac,new Map());const _0xfe05da=this['_featureFormulaData'][_0x12429c(0x267)](_0x1eb8ac);_0xfe05da['has'](_0x3e23f1)||_0xfe05da[_0x12429c(0x25c)](_0x3e23f1,new Map()),_0xfe05da[_0x12429c(0x267)](_0x3e23f1)[_0x12429c(0x25c)](_0xae3da0,_0xe941d2['treeId']);}[_0x4ec481(0x241)](_0x4e3519,_0x55e57a,_0x50e125){const _0x423605=_0x4ec481,_0x16900f=this[_0x423605(0x1f0)][_0x423605(0x267)](_0x4e3519);if(_0x16900f&&_0x16900f['has'](_0x55e57a)){const _0x373d12=_0x16900f[_0x423605(0x267)](_0x55e57a);_0x50e125[_0x423605(0x226)](_0x11f1b8=>{const _0xed1b2f=_0x423605,_0x50c723=_0x373d12['get'](_0x11f1b8);_0x50c723!=null&&(this[_0xed1b2f(0x210)](_0x50c723),_0x373d12[_0xed1b2f(0x215)](_0x11f1b8),this[_0xed1b2f(0x213)](_0x50c723));});}}[_0x4ec481(0x1dd)](_0x27bef2,_0xf66b0d){const _0x381f6c=_0x4ec481,_0x421712=this[_0x381f6c(0x1f0)][_0x381f6c(0x267)](_0x27bef2);if(_0xf66b0d&&_0x421712&&_0x421712[_0x381f6c(0x21b)](_0xf66b0d)){const _0x51ad77=_0x421712[_0x381f6c(0x267)](_0xf66b0d);this[_0x381f6c(0x1de)](_0x27bef2,_0xf66b0d),_0x51ad77[_0x381f6c(0x226)](_0x27c671=>{const _0x489aeb=_0x381f6c;_0x27c671!=null&&this[_0x489aeb(0x213)](_0x27c671);}),_0x51ad77[_0x381f6c(0x261)]();}else _0x421712&&(_0x421712[_0x381f6c(0x226)]((_0x4e1eda,_0x34a7b9)=>{const _0x1456e7=_0x381f6c;this[_0x1456e7(0x1de)](_0x27bef2,_0x34a7b9),_0x4e1eda[_0x1456e7(0x226)](_0x4834e8=>{const _0x122c4b=_0x1456e7;_0x4834e8!=null&&this[_0x122c4b(0x213)](_0x4834e8);});}),this[_0x381f6c(0x1f0)][_0x381f6c(0x215)](_0x27bef2));}['addFormulaDependency'](_0x37d768,_0x4fd47e,_0xfaf3d1,_0x30bc5e,_0x4bf2d1){const _0x53dfe9=_0x4ec481;this['_formulaData'][_0x53dfe9(0x21b)](_0x37d768)||this[_0x53dfe9(0x269)][_0x53dfe9(0x25c)](_0x37d768,new Map());const _0x332f61=this['_formulaData'][_0x53dfe9(0x267)](_0x37d768);_0x332f61['has'](_0x4fd47e)||_0x332f61[_0x53dfe9(0x25c)](_0x4fd47e,new _0x3080cf()),_0x332f61[_0x53dfe9(0x267)](_0x4fd47e)[_0x53dfe9(0x21a)](_0xfaf3d1,_0x30bc5e,_0x4bf2d1[_0x53dfe9(0x277)]);}[_0x4ec481(0x265)](_0x2aa73c,_0x5e146d,_0x415754,_0x43d97d){const _0x195843=_0x4ec481,_0x39ea5f=this['_formulaData'][_0x195843(0x267)](_0x2aa73c);if(_0x39ea5f&&_0x39ea5f[_0x195843(0x21b)](_0x5e146d)){const _0x14717f=_0x39ea5f['get'](_0x5e146d),_0x526733=_0x14717f[_0x195843(0x209)](_0x415754,_0x43d97d);if(_0x526733==null)return;this[_0x195843(0x210)](_0x526733),_0x14717f[_0x195843(0x245)](_0x415754,_0x43d97d),this[_0x195843(0x213)](_0x526733);}}['clearFormulaDependency'](_0x407fb4,_0x218bc2){const _0x2893a2=_0x4ec481,_0x25f480=this[_0x2893a2(0x269)][_0x2893a2(0x267)](_0x407fb4);if(_0x218bc2&&_0x25f480&&_0x25f480[_0x2893a2(0x21b)](_0x218bc2)){const _0x2cae20=_0x25f480[_0x2893a2(0x267)](_0x218bc2);this[_0x2893a2(0x1de)](_0x407fb4,_0x218bc2),_0x2cae20[_0x2893a2(0x236)]((_0x4ae585,_0x1a1d1c,_0x221a2a)=>{const _0x265f28=_0x2893a2;if(_0x221a2a==null)return!0x0;this[_0x265f28(0x213)](_0x221a2a);}),_0x2cae20[_0x2893a2(0x24e)]();}else _0x25f480&&(_0x25f480[_0x2893a2(0x226)]((_0x264012,_0x20fd0e)=>{const _0x480d33=_0x2893a2;this[_0x480d33(0x1de)](_0x407fb4,_0x20fd0e),_0x264012['forValue']((_0x263208,_0x137f0f,_0x3bad81)=>{const _0x4d0d0b=_0x480d33;if(_0x3bad81==null)return!0x0;this[_0x4d0d0b(0x213)](_0x3bad81);});}),this[_0x2893a2(0x269)][_0x2893a2(0x215)](_0x407fb4));}[_0x4ec481(0x210)](_0x72e3f5){const _0x254086=_0x4ec481;if(_0x72e3f5==null)return;const _0x36697a=this[_0x254086(0x225)][_0x254086(0x267)](_0x72e3f5);if(_0x36697a){const _0x2504eb=[];for(const [_0x48ca80,_0x16eb3a]of _0x36697a)for(const [_0x51223f,_0x160b60]of _0x16eb3a)_0x2504eb[_0x254086(0x1f8)]({'unitId':_0x48ca80,'sheetId':_0x51223f,'range':_0x160b60,'id':_0x72e3f5});this[_0x254086(0x1eb)][_0x254086(0x278)](_0x2504eb);}}['removeFormulaDependencyByDefinedName'](_0x4cc890,_0x1bc879){const _0x1f111b=_0x4ec481,_0x54c090=this[_0x1f111b(0x1ea)][_0x1f111b(0x267)](_0x4cc890);if(_0x54c090){const _0x597f99=_0x54c090[_0x1f111b(0x267)](_0x1bc879);if(_0x597f99){for(const _0x7d35b1 of _0x597f99)this[_0x1f111b(0x210)](_0x7d35b1),this[_0x1f111b(0x213)](_0x7d35b1);_0x597f99[_0x1f111b(0x261)]();}}}['openKdTree'](){const _0x115d3d=_0x4ec481;this[_0x115d3d(0x1eb)][_0x115d3d(0x254)]();}[_0x4ec481(0x231)](){const _0x3da198=_0x4ec481;this[_0x3da198(0x1eb)]['closeKdTree']();}[_0x4ec481(0x213)](_0x41165e){const _0x5e9e7a=_0x4ec481;_0x41165e!=null&&this[_0x5e9e7a(0x225)][_0x5e9e7a(0x215)](_0x41165e);}['_addAllTreeMap'](_0x3876ae){const _0x1c0445=_0x4ec481;var _0x2c63e8,_0x2575c7;const _0x4c9557=_0x3876ae[_0x1c0445(0x25d)];let _0x565fed=this[_0x1c0445(0x225)][_0x1c0445(0x267)](_0x3876ae[_0x1c0445(0x277)]);for(let _0x500c7a=0x0;_0x500c7a<_0x4c9557[_0x1c0445(0x24f)];_0x500c7a++){const _0x21c636=_0x4c9557[_0x500c7a];let {unitId:_0x58aaa6,sheetId:_0x16b88e,range:_0x30cc95}=_0x21c636;_0x565fed||(_0x565fed=new Map(),this['_allTreeMap'][_0x1c0445(0x25c)](_0x3876ae[_0x1c0445(0x277)],_0x565fed)),_0x565fed[_0x1c0445(0x21b)](_0x58aaa6)||_0x565fed[_0x1c0445(0x25c)](_0x58aaa6,new Map());const _0x2904a6=(_0x2c63e8=_0x565fed==null?void 0x0:_0x565fed['get'](_0x58aaa6))==null?void 0x0:_0x2c63e8[_0x1c0445(0x267)](_0x16b88e);_0x2904a6&&(_0x30cc95={'startRow':Math[_0x1c0445(0x1e5)](_0x30cc95['startRow'],_0x2904a6[_0x1c0445(0x202)]),'startColumn':Math['min'](_0x30cc95[_0x1c0445(0x23d)],_0x2904a6[_0x1c0445(0x23d)]),'endRow':Math[_0x1c0445(0x214)](_0x30cc95[_0x1c0445(0x206)],_0x2904a6['endRow']),'endColumn':Math[_0x1c0445(0x214)](_0x30cc95[_0x1c0445(0x216)],_0x2904a6[_0x1c0445(0x216)])}),(_0x2575c7=_0x565fed[_0x1c0445(0x267)](_0x58aaa6))==null||_0x2575c7[_0x1c0445(0x25c)](_0x16b88e,_0x30cc95);}}}function _0x6a8c(){const _0x3ce2bf=['getAllRuntimeData','markedAsStopFunctionsExecuted','START_CALCULATION_ARRAY_FORMULA','_definedNameMap','_dependencyRTreeCache','parseInt','_calculateRunList','addFormulaDependencyByDefinedName','1072708BGQiJI','_featureFormulaData','markedAsNoFunctionsExecuted','CURRENTLY_CALCULATING_ARRAY_FORMULA','_dependencyRTreeCacheForAddressFunction','_otherFormulaDataMainData','getExcludedRange','_initLicenseValid','markedAsSuccessfullyExecuted','push','ParentDependencyTree\x20object\x20is\x20null','refOffsetY','setRuntimeFeatureRange','setAdded','_currentConfigService','dispose','getDirtyNameMap','_astTreeBuilder','defineProperty','startRow','_configService','_traverse','execute','endRow','setTotalFormulasToCalculate','_initializeWithOverride','getValue','START_DEPENDENCY_ARRAY_FORMULA','setTotalArrayFormulasToCalculate','addOtherFormulaDependency','_convertDirtyRangesToUnitRange','_otherFormulaData','isCache','_removeDependencyRTreeCache','refOffsetX','next','_removeAllTreeMap','max','delete','endColumn','_executionInProgressListener$','executeAsync','_dependencyManagerService','setValue','has','refTree','formulaId','_injector','unitId','isExcludeRange','addFormulaDependency','notExecuteFormula','_createVirtualFDtree','_dependencyTreeCache','_allTreeMap','forEach','825antawB','subUnitId','searchDependency','dirtyRanges','iHVfgzRV\x20aQfNZUgzRV(yzfQVcQ,\x20UHJyzfAQZ)\x20{\x20\x20\x20\x20gNZ\x20{\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20yzfQVcQKViRD5NgjNN5Z\x20=\x20yzfQVcQ.cUyzg(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20RNz7zVPQcc57Q\x20=\x20uM8l.U5NcQ(5gRJ(yzfQVcQKViRD5NgjNN5Z[v]));\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!RNz7zVPQcc57Q.Ha)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RNz7zVPQcc57Q.Ha\x20=\x20lH2JQN(yzfQVcQKViRD5NgjNN5Z[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20zcsRNrQN\x20=\x20gZUQRi\x20sRNrQNqyRJ5yMfRUQ\x20!==\x20\x27HVaQizVQa\x27\x20&&\x20cQyi\x20zVcg5VfQRi\x20sRNrQNqyRJ5yMfRUQ;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20fRVgQEg\x20=\x20zcsRNrQN\x20?\x20cQyi\x20:\x204zVaR4;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57QsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[v]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57Q\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(2Qcc57QsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[B]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQ\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(cz7V5gHNQsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7VL5yza\x20=\x20fRVgQEg.__hQNziZ__(cz7V5gHNQ,\x202Qcc57Q,\x20UHJyzfAQZ);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20aR25zV\x20=\x20RNz7zVPQcc57Q.a2;\x20\x20\x20\x20\x20\x20\x20\x20iHVfgzRV\x20zcIR25zVP5gfmzV7(RD5ggQNV,\x20RSRcg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNV\x20=\x20RD5ggQNV.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcg\x20=\x20RSRcg.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVD5Ngc\x20=\x20U5ggQNV.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgD5Ngc\x20=\x20mRcg.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!U5ggQNV.zVfyHaQc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNV\x20===\x20mRcg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(U5ggQNVD5Ngc.yQV7gm\x20<\x20v\x20||\x20U5ggQNVD5Ngc[F]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20i5ycQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVMHiizE\x20=\x20U5ggQNVD5Ngc.cyzfQ(o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgMHiizE\x20=\x20mRcgD5Ngc.cyzfQ(-U5ggQNVD5Ngc.yQV7gm\x20+\x20o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNVMHiizE\x20===\x20mRcgMHiizE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yQg\x20aR25zVL5yza\x20=\x20(aR25zV\x20&&\x20aR25zV.yQV7gm)\x20?\x20aR25zV.cR2Q((a2KgQ2)\x20=>\x20zcIR25zVP5gfmzV7(a2KgQ2,\x20yRf5gzRV.mRcgV52Q))\x20:\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(yRf5gzRV.mRcgV52Q\x20===\x20\x27yRf5ymRcg\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR25zVL5yza\x20=\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20h5yza\x20=\x20cz7VL5yza\x20&&\x20aR25zVL5yza;\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20RNz7zVPQcc57Q,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20f5gfm\x20(QNNRN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza:\x20i5ycQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','row','pop','_config','setSkip','dependencySheetName','closeKdTree','_otherFormulaManagerService','OTHER_FORMULA','keys','setRuntimeOtherData','forValue','toRTreeItem','add','column','_registerFormulas','_runtimeService','2317952PqjtTA','startColumn','_apply','getOtherFormulaDependency','getFeatureFormulaDependency','removeFeatureFormulaDependency','isAdded','_getTreeById','_getUpdateTreeListAndMakeDependency','realDeleteValue','isVirtual','_restDependencyTreeId','_checkIsCycleDependency','_generateTreeList','columnCount','17082mJIzld','return\x20','_isCyclicUtilMap','reset','length','addOtherFormulaDependencyMainData','getDirtyData','getUnitData','_interpreter','openKdTree','getRuntimeState','clearOtherFormulaDependency','setCurrent','resolve','checkAsyncNode','3043201ONVrVh','rowCount','set','rangeList','348846uvZVYx','getConfig','CURRENTLY_CALCULATING','clear','getOtherFormulaData','_lexer','getClearDependencyTreeCache','removeFormulaDependency','250960HZbLCL','get','intervalCount','_formulaData','addFeatureFormulaDependency','clearFormulaDependency','FEATURE_FORMULA','message','_createFDtree','generate','removeOtherFormulaDependency','featureId','formula','133016nKLyDk','size','_registerOtherFormulas','_executionCompleteListener$','treeId','bulkRemove','node','getFormulaDependency','_updateRangeFlatten','START_DEPENDENCY','valid','clearFeatureFormulaDependency','_removeDependencyRTreeCacheById','type','setRuntimeFeatureCellData','getDirtyRanges','setRuntimeData','bulkSearch','_getFirstCellOfRange','min','setFormulaExecuteStage'];_0x6a8c=function(){return _0x3ce2bf;};return _0x6a8c();}var fe=Object['getOwnPropertyDescriptor'],_e=(_0xedcb28,_0x631bbf,_0x5b886b,_0x4591fb)=>{const _0x32981b=_0x4ec481;for(var _0x799c44=_0x4591fb>0x1?void 0x0:_0x4591fb?fe(_0x631bbf,_0x5b886b):_0x631bbf,_0x64a14a=_0xedcb28[_0x32981b(0x24f)]-0x1,_0x1917a8;_0x64a14a>=0x0;_0x64a14a--)(_0x1917a8=_0xedcb28[_0x64a14a])&&(_0x799c44=_0x1917a8(_0x799c44)||_0x799c44);return _0x799c44;};const me=Number[_0x4ec481(0x1ec)](0x68c5181c);let x=class extends _0x4dea31{[_0x4ec481(0x208)](){const _0x54fa9d=_0x4ec481;var _0x335bdc,_0x418e43;this[_0x54fa9d(0x1f6)]()?(_0x335bdc=this[_0x54fa9d(0x22e)])!=null&&_0x335bdc[_0x54fa9d(0x222)]||[[_0xe98918,{'useClass':he}],[_0x1e8028,{'useClass':ge}],[_0x3d3404,{'useClass':de}]][_0x54fa9d(0x226)](_0x1dc74e=>this['_injector'][_0x54fa9d(0x238)](_0x1dc74e)):(_0x418e43=this['_config'])!=null&&_0x418e43['notExecuteFormula']||[[_0xe98918,{'useClass':_0x4b1646}],[_0x1e8028,{'useClass':_0x3e93c4}],[_0x3d3404,{'useClass':_0x417cf5}]][_0x54fa9d(0x226)](_0x3cfbd5=>this[_0x54fa9d(0x21e)][_0x54fa9d(0x238)](_0x3cfbd5));}[_0x4ec481(0x1f6)](){const _0x483758=_0x4ec481;var _0x4c83a6;const _0x104360=(_0x4c83a6=this['_configService'][_0x483758(0x25f)](_0x361fb3))!=null?_0x4c83a6:{},{ls:_0x5754c3,pbk:_0x318663}=_0x104360;if(!_0x5754c3||!_0x318663)return!0x1;const _0x222954=_0x310ab3(ue,le),_0x54b201=new Function(_0x483758(0x24c)+_0x222954)()(_0x5754c3,_0x318663),_0x180e46=_0x54b201[_0x483758(0x26d)];return _0x54b201[_0x483758(0x1dc)]&&_0x4aa234(_0x180e46,'sf',me)?_0x1e97ef(_0x180e46,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0xaa1033(_0x986f25)],x);export{x as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
n: string;
|
|
15
|
-
t: string;
|
|
16
|
-
x: string;
|
|
17
|
-
c: string;
|
|
12
|
+
F: string;
|
|
13
|
+
o: string;
|
|
18
14
|
v: string;
|
|
19
15
|
B: string;
|
|
16
|
+
k: string;
|
|
17
|
+
G: string;
|
|
20
18
|
W: string;
|
|
21
|
-
T: string;
|
|
22
|
-
p: string;
|
|
23
|
-
s: string;
|
|
24
19
|
X: string;
|
|
25
|
-
G: string;
|
|
26
|
-
o: string;
|
|
27
|
-
U: string;
|
|
28
|
-
N: string;
|
|
29
20
|
J: string;
|
|
30
|
-
|
|
31
|
-
I: string;
|
|
21
|
+
f: string;
|
|
32
22
|
a: string;
|
|
23
|
+
Q: string;
|
|
24
|
+
i: string;
|
|
25
|
+
m: string;
|
|
26
|
+
z: string;
|
|
27
|
+
T: string;
|
|
28
|
+
r: string;
|
|
29
|
+
y: string;
|
|
33
30
|
V: string;
|
|
34
|
-
g: string;
|
|
35
31
|
R: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
U: string;
|
|
33
|
+
b: string;
|
|
34
|
+
N: string;
|
|
35
|
+
c: string;
|
|
36
|
+
g: string;
|
|
37
|
+
H: string;
|
|
38
|
+
h: string;
|
|
39
|
+
E: string;
|
|
40
|
+
Z: string;
|
|
40
41
|
C: string;
|
|
41
|
-
m: string;
|
|
42
|
-
w: string;
|
|
43
|
-
O: string;
|
|
44
|
-
q: string;
|
|
45
42
|
j: string;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
n: string;
|
|
44
|
+
p: string;
|
|
45
|
+
I: string;
|
|
46
|
+
d: string;
|
|
47
|
+
q: string;
|
|
48
|
+
S: string;
|
|
49
|
+
K: string;
|
|
50
|
+
u: string;
|
|
51
|
+
A: string;
|
|
52
|
+
O: string;
|
|
53
|
+
P: string;
|
|
52
54
|
l: string;
|
|
55
|
+
D: string;
|
|
56
|
+
x: string;
|
|
53
57
|
e: string;
|
|
54
|
-
b: string;
|
|
55
|
-
Z: string;
|
|
56
|
-
r: string;
|
|
57
|
-
H: string;
|
|
58
58
|
M: string;
|
|
59
59
|
Y: string;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
L: string;
|
|
61
|
+
s: string;
|
|
62
|
+
t: string;
|
|
63
|
+
w: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "iHVfgzRV aQfNZUgzRV(yzfQVcQ, UHJyzfAQZ) { gNZ { fRVcg yzfQVcQKViRD5NgjNN5Z = yzfQVcQ.cUyzg('-'); fRVcg RNz7zVPQcc57Q = uM8l.U5NcQ(5gRJ(yzfQVcQKViRD5NgjNN5Z[v])); zi (!RNz7zVPQcc57Q.Ha) { RNz7zVPQcc57Q.Ha = lH2JQN(yzfQVcQKViRD5NgjNN5Z[k]); } fRVcg zcsRNrQN = gZUQRi sRNrQNqyRJ5yMfRUQ !== 'HVaQizVQa' && cQyi zVcg5VfQRi sRNrQNqyRJ5yMfRUQ; fRVcg fRVgQEg = zcsRNrQN ? cQyi : 4zVaR4; fRVcg 2Qcc57QsRNa = fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[v]); fRVcg 2Qcc57Q = fRVgQEg.__SQE__.cgNzV7ziZ(2Qcc57QsRNa); fRVcg cz7V5gHNQsRNa = fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[B]); fRVcg cz7V5gHNQ = fRVgQEg.__SQE__.cgNzV7ziZ(cz7V5gHNQsRNa); fRVcg cz7VL5yza = fRVgQEg.__hQNziZ__(cz7V5gHNQ, 2Qcc57Q, UHJyzfAQZ); fRVcg aR25zV = RNz7zVPQcc57Q.a2; iHVfgzRV zcIR25zVP5gfmzV7(RD5ggQNV, RSRcg) { fRVcg U5ggQNV = RD5ggQNV.NQUy5fQ(/^.+/, ''); fRVcg mRcg = RSRcg.NQUy5fQ(/^.+/, ''); fRVcg U5ggQNVD5Ngc = U5ggQNV.cUyzg('.'); fRVcg mRcgD5Ngc = mRcg.cUyzg('.'); zi (!U5ggQNV.zVfyHaQc('*')) { NQgHNV U5ggQNV === mRcg; } zi (U5ggQNVD5Ngc.yQV7gm < v || U5ggQNVD5Ngc[F] !== '*') { NQgHNV i5ycQ; } fRVcg U5ggQNVMHiizE = U5ggQNVD5Ngc.cyzfQ(o).TRzV('.'); fRVcg mRcgMHiizE = mRcgD5Ngc.cyzfQ(-U5ggQNVD5Ngc.yQV7gm + o).TRzV('.'); NQgHNV U5ggQNVMHiizE === mRcgMHiizE; } yQg aR25zVL5yza = (aR25zV && aR25zV.yQV7gm) ? aR25zV.cR2Q((a2KgQ2) => zcIR25zVP5gfmzV7(a2KgQ2, yRf5gzRV.mRcgV52Q)) : gNHQ; zi (yRf5gzRV.mRcgV52Q === 'yRf5ymRcg') { aR25zVL5yza = gNHQ; } fRVcg h5yza = cz7VL5yza && aR25zVL5yza; NQgHNV { h5yza, 2Qcc57Q: RNz7zVPQcc57Q, }; } f5gfm (QNNRN) { NQgHNV { h5yza: i5ycQ, 2Qcc57Q: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x488d(){var _0x27071c=['1680ufYgld','amd','keys','13796FFvWdi','25749QNbWZm','defineProperty','629330Ttajbl','exports','11587158XSlkfS','15LoSTVO','6BXCHRC','Module','forEach','159ceFQIg','hasOwnProperty','144992EsyyVR','toStringTag','13142HVUAmv','prototype','function','4600351kaZFLY'];_0x488d=function(){return _0x27071c;};return _0x488d();}function _0x4621(_0x31f84e,_0x5e229f){var _0x488d00=_0x488d();return _0x4621=function(_0x4621eb,_0x1c3806){_0x4621eb=_0x4621eb-0x1b9;var _0x73a711=_0x488d00[_0x4621eb];return _0x73a711;},_0x4621(_0x31f84e,_0x5e229f);}(function(_0x3738f2,_0x4dbc71){var _0x3fc022=_0x4621,_0x3f6b41=_0x3738f2();while(!![]){try{var _0x56c2c7=-parseInt(_0x3fc022(0x1c8))/0x1*(-parseInt(_0x3fc022(0x1bb))/0x2)+parseInt(_0x3fc022(0x1cc))/0x3*(parseInt(_0x3fc022(0x1c2))/0x4)+parseInt(_0x3fc022(0x1c5))/0x5*(parseInt(_0x3fc022(0x1c9))/0x6)+-parseInt(_0x3fc022(0x1be))/0x7+parseInt(_0x3fc022(0x1b9))/0x8+parseInt(_0x3fc022(0x1c3))/0x9*(-parseInt(_0x3fc022(0x1bf))/0xa)+parseInt(_0x3fc022(0x1c7))/0xb;if(_0x56c2c7===_0x4dbc71)break;else _0x3f6b41['push'](_0x3f6b41['shift']());}catch(_0x209efa){_0x3f6b41['push'](_0x3f6b41['shift']());}}}(_0x488d,0x53399),function(_0x362d34,_0x20245d){var _0x189d62=_0x4621;typeof exports=='object'&&typeof module<'u'?_0x20245d(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x189d62(0x1bd)&&define[_0x189d62(0x1c0)]?define([_0x189d62(0x1c6),'@univerjs/engine-formula/facade'],_0x20245d):(_0x362d34=typeof globalThis<'u'?globalThis:_0x362d34||self,_0x20245d(_0x362d34['UniverProEngineFormulaFacade']={},_0x362d34['UniverEngineFormulaFacade']));}(this,function(_0x3a2b95,_0xae5f13){'use strict';var _0x1483b3=_0x4621;Object[_0x1483b3(0x1c1)](_0xae5f13)[_0x1483b3(0x1cb)](_0x36efe7=>{var _0xc5a394=_0x1483b3;_0x36efe7!=='default'&&!Object[_0xc5a394(0x1bc)][_0xc5a394(0x1cd)]['call'](_0x3a2b95,_0x36efe7)&&Object[_0xc5a394(0x1c4)](_0x3a2b95,_0x36efe7,{'enumerable':!0x0,'get':()=>_0xae5f13[_0x36efe7]});}),Object[_0x1483b3(0x1c4)](_0x3a2b95,Symbol[_0x1483b3(0x1ba)],{'value':_0x1483b3(0x1ca)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3eb63c,_0x3a5603){const _0x3c1d19=_0x22dd,_0x4f5ef4=_0x3eb63c();while(!![]){try{const _0x8c719f=parseInt(_0x3c1d19(0x16c))/0x1+parseInt(_0x3c1d19(0x156))/0x2+-parseInt(_0x3c1d19(0x19e))/0x3+parseInt(_0x3c1d19(0x112))/0x4+parseInt(_0x3c1d19(0x11c))/0x5+-parseInt(_0x3c1d19(0x124))/0x6+parseInt(_0x3c1d19(0x18d))/0x7*(-parseInt(_0x3c1d19(0x183))/0x8);if(_0x8c719f===_0x3a5603)break;else _0x4f5ef4['push'](_0x4f5ef4['shift']());}catch(_0x4c9b9e){_0x4f5ef4['push'](_0x4f5ef4['shift']());}}}(_0x4940,0xbda29),function(_0x447193,_0x497297){const _0x47c602=_0x22dd;typeof exports==_0x47c602(0x19d)&&typeof module<'u'?_0x497297(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x47c602(0x136)&&define[_0x47c602(0x14b)]?define(['exports',_0x47c602(0x132),'@univerjs/core',_0x47c602(0xf2)],_0x497297):(_0x447193=typeof globalThis<'u'?globalThis:_0x447193||self,_0x497297(_0x447193[_0x47c602(0x178)]={},_0x447193['UniverProLicense'],_0x447193['UniverCore'],_0x447193[_0x47c602(0x194)]));}(this,function(_0xb67ef8,_0xd2a5fb,_0x155212,_0xb3d101){'use strict';const _0x13d7d2=_0x22dd;var _0x2a3caf=Object[_0x13d7d2(0x15d)],_0xd12cca=(_0x438655,_0x26cd1b,_0x24b6a9)=>_0x26cd1b in _0x438655?_0x2a3caf(_0x438655,_0x26cd1b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b6a9}):_0x438655[_0x26cd1b]=_0x24b6a9,_0x33e6fd=(_0x8bed8a,_0x5d4931,_0x495622)=>_0xd12cca(_0x8bed8a,typeof _0x5d4931!=_0x13d7d2(0x106)?_0x5d4931+'':_0x5d4931,_0x495622);const _0x1954f0={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},_0x409e31='XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x31da85 extends _0xb3d101[_0x13d7d2(0x199)]{constructor(){const _0x4ea778=_0x13d7d2;super(...arguments),_0x33e6fd(this,_0x4ea778(0x174),new Map());}['dispose'](){const _0x4a20da=_0x13d7d2;super[_0x4a20da(0x186)](),this['_dependencyTreeCache'][_0x4a20da(0x190)]();}async['generate'](){const _0x2fed6a=_0x13d7d2;this[_0x2fed6a(0x12b)]();const _0x580129=this['_currentConfigService'][_0x2fed6a(0x134)](),_0x309d97=this[_0x2fed6a(0x159)]['getOtherFormulaData'](),_0x50d421=this[_0x2fed6a(0x10e)][_0x2fed6a(0x188)]();_0x50d421!=null&&Object[_0x2fed6a(0x17c)](_0x50d421)['forEach'](_0x50fbf2=>{const _0x319d5b=_0x2fed6a;_0x50fbf2!=null&&Object[_0x319d5b(0x17c)](_0x50d421[_0x50fbf2])[_0x319d5b(0x16b)](_0x3745f4=>{const _0x35fe80=_0x319d5b;_0x3745f4!=null&&(this[_0x35fe80(0x107)][_0x35fe80(0x10b)](_0x50fbf2,_0x3745f4),this[_0x35fe80(0x107)][_0x35fe80(0x155)](_0x50fbf2,_0x3745f4),this[_0x35fe80(0x107)][_0x35fe80(0x17a)](_0x50fbf2,_0x3745f4));});});const _0x5ea5d3=this['_currentConfigService'][_0x2fed6a(0x18f)]();await this[_0x2fed6a(0x173)](_0x580129,_0x309d97,_0x5ea5d3),this['_dependencyManagerService'][_0x2fed6a(0x19b)]();const _0x15f98a=this[_0x2fed6a(0x108)](),_0x476ff7=this[_0x2fed6a(0x15a)](_0x15f98a);return this[_0x2fed6a(0x13e)](_0x476ff7)&&this[_0x2fed6a(0x12c)]['enableCycleDependency'](),this[_0x2fed6a(0x174)][_0x2fed6a(0x190)](),this[_0x2fed6a(0x19c)][_0x2fed6a(0x190)](),this[_0x2fed6a(0x107)][_0x2fed6a(0x103)](),Promise[_0x2fed6a(0x126)](_0x476ff7);}[_0x13d7d2(0x180)](_0x2ac1c4,_0x48a433){const _0x37a365=_0x13d7d2,_0x1a1fd6=[_0x2ac1c4];for(;_0x1a1fd6[_0x37a365(0x18b)]>0x0;){const _0x4f9354=_0x1a1fd6[_0x1a1fd6['length']-0x1];if((_0x48a433[_0x37a365(0x151)](_0x4f9354)||0x0)===0x0){_0x48a433[_0x37a365(0xf3)](_0x4f9354,0x1);const _0x2a35a1=this['_dependencyTreeCache'][_0x37a365(0x151)](_0x4f9354);if(_0x2a35a1==null){_0x48a433[_0x37a365(0xf3)](_0x4f9354,0x2),_0x1a1fd6[_0x37a365(0x193)]();continue;}const _0x5ea492=this['_dependencyManagerService'][_0x37a365(0x143)](_0x2a35a1['toRTreeItem']());for(const _0x58e8e7 of _0x5ea492){const _0x1e14c6=_0x48a433[_0x37a365(0x151)](_0x58e8e7)||0x0;if(_0x1e14c6===0x1)return!0x0;_0x1e14c6===0x0&&_0x1a1fd6[_0x37a365(0x165)](_0x58e8e7);}}else _0x48a433[_0x37a365(0xf3)](_0x4f9354,0x2),_0x1a1fd6['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x148ee4){const _0x10fcb8=_0x13d7d2,_0x39b372=new Map();for(const _0x5f45a7 of _0x148ee4)if(!_0x39b372[_0x10fcb8(0x115)](_0x5f45a7[_0x10fcb8(0x10c)])&&this[_0x10fcb8(0x180)](_0x5f45a7[_0x10fcb8(0x10c)],_0x39b372))return!0x0;return _0x39b372[_0x10fcb8(0x190)](),!0x1;}[_0x13d7d2(0xf6)](_0xa8dab2,_0x17b548,_0x20b5eb){const _0x209584=_0x13d7d2,{unitId:_0xe66b8f,subUnitId:_0x3aefbf,dependencyRanges:_0x594ab5,getDirtyData:_0x5590dc}=_0x20b5eb,_0x5287ca=_0x17b548||_0xb3d101[_0x209584(0xee)](this[_0x209584(0x107)]),_0x509da2=new _0xb3d101['FormulaDependencyTree'](_0x5287ca);_0x509da2[_0x209584(0x110)]=_0xe66b8f,_0x509da2[_0x209584(0x12d)]=_0x3aefbf,_0x509da2['rangeList']=_0x594ab5,_0x509da2[_0x209584(0x10f)]=_0x5590dc;const _0x57bbf4=_0x5590dc(this['_currentConfigService'][_0x209584(0x10f)](),this[_0x209584(0x12c)][_0x209584(0x154)]()),_0x1054d4=this['_convertDirtyRangesToUnitRange'](_0x57bbf4[_0x209584(0xe8)]);return _0x509da2[_0x209584(0xe5)]=_0x1054d4,_0x509da2['featureId']=_0xa8dab2,_0x509da2[_0x209584(0x104)]=_0xb3d101[_0x209584(0x14f)][_0x209584(0x15b)],this[_0x209584(0x107)]['addFeatureFormulaDependency'](_0xe66b8f,_0x3aefbf,_0xa8dab2,_0x509da2),this[_0x209584(0x174)]['set'](_0x509da2['treeId'],_0x509da2),this['_dependencyManagerService'][_0x209584(0x149)](_0x20b5eb[_0x209584(0x110)],_0x20b5eb[_0x209584(0x12d)],_0xa8dab2)&&(_0x509da2['isCache']=!0x0),_0x509da2;}[_0x13d7d2(0x117)](_0x3a3c5e,_0x19a69f,_0x2e3a64){const _0xa7ff57=_0x13d7d2;var _0x21baa1;for(const _0x2150e4 of _0x19a69f){const _0x37f8c7=_0x3a3c5e[_0x2150e4];if(_0x37f8c7==null)continue;const _0x27933f=Object['keys'](_0x37f8c7);for(const _0x478bc3 of _0x27933f){const _0xc8addb=_0x37f8c7[_0x478bc3];if(_0xc8addb==null)continue;const _0x2d33ac=Object[_0xa7ff57(0x17c)](_0xc8addb);for(const _0x4f2d58 of _0x2d33ac){const _0x254955=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x4f2d58),_0x44e603=_0xc8addb[_0x4f2d58],{f:_0x10611e,ranges:_0x48b227}=_0x44e603;let _0x424a24=!0x1;_0x254955&&(_0x424a24=!0x0);const {firstRow:_0x81ab8c,firstColumn:_0x5b7fe7}=this[_0xa7ff57(0x198)](_0x48b227),_0xea4dc8=this[_0xa7ff57(0x107)]['getOtherFormulaDependency'](_0x2150e4,_0x478bc3,_0x4f2d58),_0x1ba4db=(_0x21baa1=_0xea4dc8==null?void 0x0:_0xea4dc8[_0xa7ff57(0x128)](0x0,0x0))!=null?_0x21baa1:_0xb3d101[_0xa7ff57(0xee)](this['_dependencyManagerService']),_0x1ed5c5=new _0xb3d101[(_0xa7ff57(0x135))](_0x1ba4db);for(let _0x227e24=0x0;_0x227e24<_0x48b227[_0xa7ff57(0x18b)];_0x227e24++){const _0x4ce5be=_0x48b227[_0x227e24],{startRow:_0xa61c5,startColumn:_0x10239c,endRow:_0x495695,endColumn:_0x54e6cc}=_0x4ce5be;for(let _0x1ca16b=_0xa61c5;_0x1ca16b<=_0x495695;_0x1ca16b++)for(let _0x4ea177=_0x10239c;_0x4ea177<=_0x54e6cc;_0x4ea177++){const _0x334d0d=_0x4ea177-_0x5b7fe7,_0x4dce59=_0x1ca16b-_0x81ab8c;if(_0x334d0d===0x0&&_0x4dce59===0x0){_0x1ed5c5['formula']=_0x10611e,_0x1ed5c5[_0xa7ff57(0x110)]=_0x2150e4,_0x1ed5c5[_0xa7ff57(0x12d)]=_0x478bc3,_0x1ed5c5['formulaId']=_0x4f2d58,_0x1ed5c5['type']=_0xb3d101[_0xa7ff57(0x14f)][_0xa7ff57(0x139)],_0x1ed5c5[_0xa7ff57(0x12a)]=_0x424a24,_0x2e3a64[_0xa7ff57(0x165)](_0x1ed5c5),this['_dependencyTreeCache']['set'](_0x1ed5c5[_0xa7ff57(0x10c)],_0x1ed5c5),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x2150e4,_0x478bc3,_0x4f2d58,_0x1ed5c5),this[_0xa7ff57(0x107)]['addFormulaDependencyByDefinedName'](_0x1ed5c5);continue;}const _0x11ff7a=new _0xb3d101['FormulaDependencyTreeVirtual']();_0x11ff7a[_0xa7ff57(0x10c)]=(_0xea4dc8==null?void 0x0:_0xea4dc8['getValue'](_0x334d0d,_0x4dce59))||_0xb3d101[_0xa7ff57(0xee)](this[_0xa7ff57(0x107)]),_0x11ff7a[_0xa7ff57(0xff)]=_0x1ed5c5,_0x11ff7a[_0xa7ff57(0xf5)]=_0x334d0d,_0x11ff7a[_0xa7ff57(0x158)]=_0x4dce59,_0x11ff7a['isCache']=_0x424a24,this[_0xa7ff57(0x107)][_0xa7ff57(0x127)](_0x2150e4,_0x478bc3,_0x4f2d58,_0x11ff7a),this[_0xa7ff57(0x107)][_0xa7ff57(0xeb)](_0x11ff7a),_0x2e3a64[_0xa7ff57(0x165)](_0x11ff7a),this[_0xa7ff57(0x174)][_0xa7ff57(0xf3)](_0x11ff7a['treeId'],_0x11ff7a);}}this[_0xa7ff57(0x107)][_0xa7ff57(0xf1)](_0x4f2d58);}}}}[_0x13d7d2(0x14d)](_0x289c86,_0x3ae62f,_0x28ec20,_0xbcc5a3){const _0x51864f=_0x13d7d2;for(const _0xac714b of _0x289c86){const _0xd35780=_0x3ae62f[_0xac714b];if(_0xd35780==null)continue;const _0x4d9d4c=Object[_0x51864f(0x17c)](_0xd35780);for(const _0x3ed057 of _0x4d9d4c){const _0x1c657a=new _0x155212[(_0x51864f(0x129))](_0xd35780[_0x3ed057]||{}),_0x236845=new Map();_0x1c657a[_0x51864f(0x169)]((_0x369441,_0x2cf906,_0x24c42a)=>{const _0x474d8f=_0x51864f;if(_0x24c42a==null)return!0x0;const {x:_0x586eee=0x0,y:_0x83ccb6=0x0,si:_0x1dc6f8}=_0x24c42a;if(!(_0x586eee===0x0&&_0x83ccb6===0x0&&_0x1dc6f8!=null))return!0x0;const _0x3900d4=this[_0x474d8f(0xec)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906,_0x28ec20,_0x24c42a),_0x106ccf=this[_0x474d8f(0x107)][_0x474d8f(0x177)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906);_0x106ccf!=null?_0x3900d4[_0x474d8f(0x10c)]=_0x106ccf:(this[_0x474d8f(0x107)][_0x474d8f(0x197)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906,_0x3900d4),this[_0x474d8f(0x107)]['addFormulaDependencyByDefinedName'](_0x3900d4)),_0x236845[_0x474d8f(0xf3)](_0x1dc6f8,_0x3900d4),_0xbcc5a3[_0x474d8f(0x165)](_0x3900d4),this[_0x474d8f(0x174)][_0x474d8f(0xf3)](_0x3900d4[_0x474d8f(0x10c)],_0x3900d4);}),_0x1c657a[_0x51864f(0x169)]((_0x1cc392,_0x3121c3,_0x53acaf)=>{const _0x5e3b52=_0x51864f;if(_0x53acaf==null)return!0x0;const {x:_0x2b3c85=0x0,y:_0x20ab9e=0x0,si:_0x282921}=_0x53acaf;if(_0x2b3c85===0x0&&_0x20ab9e===0x0&&_0x282921!=null)return!0x0;let _0x4c7218;if(_0x282921&&_0x236845[_0x5e3b52(0x115)](_0x282921)){const _0x8cd0be=_0x236845[_0x5e3b52(0x151)](_0x282921);_0x4c7218=this['_createVirtualFDtree'](_0x8cd0be,_0x53acaf);}else _0x4c7218=this[_0x5e3b52(0xec)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3,_0x28ec20,_0x53acaf);const _0x83263d=this[_0x5e3b52(0x107)][_0x5e3b52(0x177)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3);_0x83263d!=null?_0x4c7218['treeId']=_0x83263d:(this[_0x5e3b52(0x107)][_0x5e3b52(0x197)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3,_0x4c7218),this[_0x5e3b52(0x107)][_0x5e3b52(0xeb)](_0x4c7218)),_0xbcc5a3[_0x5e3b52(0x165)](_0x4c7218),this[_0x5e3b52(0x174)][_0x5e3b52(0xf3)](_0x4c7218[_0x5e3b52(0x10c)],_0x4c7218);}),_0x236845[_0x51864f(0x190)]();}}}['_createFDtree'](_0x364edb,_0x5a6085,_0x1c06b7,_0x1510a1,_0x4c29bd,_0x4d79d9){const _0x2474e0=_0x13d7d2,{f:_0x877664,x:_0x966ece=0x0,y:_0x3f2280=0x0}=_0x4d79d9,_0x210b4d=new _0xb3d101[(_0x2474e0(0x135))](_0xb3d101[_0x2474e0(0xee)](this['_dependencyManagerService'])),_0x1ac561=_0x4c29bd[_0x364edb][_0x5a6085];return _0x210b4d['formula']=_0x877664,_0x210b4d['unitId']=_0x364edb,_0x210b4d['subUnitId']=_0x5a6085,_0x210b4d['row']=_0x1c06b7,_0x210b4d['column']=_0x1510a1,_0x210b4d[_0x2474e0(0xf9)]=_0x1ac561['rowCount'],_0x210b4d[_0x2474e0(0x119)]=_0x1ac561[_0x2474e0(0x119)],_0x210b4d;}[_0x13d7d2(0x108)](){const _0x426202=_0x13d7d2,_0x591d79=[],_0x1dd076=new Set(),_0x109a20=this[_0x426202(0x10e)][_0x426202(0x101)](),_0x2cd098=this['_currentConfigService'][_0x426202(0xfa)](),_0xcf5ce1=this[_0x426202(0x107)][_0x426202(0x143)](_0x2cd098),_0x2acbbf=this[_0x426202(0x19c)][_0x426202(0x130)](_0x2cd098);for(const _0x235796 of _0x2acbbf)_0xcf5ce1[_0x426202(0x16f)](_0x235796);for(const [_0x58199b,_0x27c072]of this[_0x426202(0x174)])(_0x109a20||_0x27c072[_0x426202(0xf0)]||_0x27c072[_0x426202(0x118)](this[_0x426202(0x10e)][_0x426202(0x137)]())||_0xcf5ce1[_0x426202(0x115)](_0x58199b)&&!_0x27c072['isExcludeRange'](this[_0x426202(0x10e)][_0x426202(0xfc)]()))&&!_0x1dd076[_0x426202(0x115)](_0x58199b)&&(_0x591d79['push'](_0x27c072),_0x1dd076[_0x426202(0x16f)](_0x58199b));for(const [_0x146585,_0x7abbb0]of this['_dependencyTreeCache'])_0x7abbb0[_0x426202(0x16d)]||(_0x7abbb0[_0x426202(0x105)][_0x426202(0x18b)]=0x0);return _0x591d79;}[_0x13d7d2(0x122)](_0x1e82d2){return this['_dependencyTreeCache']['get'](_0x1e82d2);}[_0x13d7d2(0xef)](_0x217615){const _0x4a6a86=_0x13d7d2;return _0xb3d101[_0x4a6a86(0x157)](_0x217615[_0x4a6a86(0x110)],_0x217615[_0x4a6a86(0x116)],this[_0x4a6a86(0x17d)],this['_astTreeBuilder'],this[_0x4a6a86(0x10e)]);}*[_0x13d7d2(0x184)](_0x2f5767,_0x1feb17){const _0x3240f3=_0x13d7d2,_0x3f458d=_0x2f5767,_0x3dae7e=new Set();for(;_0x3f458d[_0x3240f3(0x18b)]>0x0;){const _0x238073=_0x3f458d[_0x3240f3(0x193)]();if(_0x3dae7e[_0x3240f3(0x190)](),_0x238073===void 0x0||_0x238073[_0x3240f3(0x191)]())continue;if(_0x238073[_0x3240f3(0x100)]()){yield _0x238073,_0x238073[_0x3240f3(0x179)](),_0x1feb17[_0x3240f3(0x16f)](_0x238073[_0x3240f3(0x10c)]);continue;}const _0xbe9871=this[_0x3240f3(0x107)]['searchDependency'](_0x238073['toRTreeItem'](),_0x1feb17),_0x1b2fd8=this[_0x3240f3(0x19c)][_0x3240f3(0x130)](_0x238073[_0x3240f3(0x182)](),_0x1feb17);for(const _0x2a0c14 of _0x1b2fd8)_0xbe9871['add'](_0x2a0c14);for(const _0x509ff6 of _0xbe9871){const _0x19d9fa=this[_0x3240f3(0x174)][_0x3240f3(0x151)](_0x509ff6);if(!_0x19d9fa)throw new Error(_0x3240f3(0x187));_0x19d9fa[_0x3240f3(0x100)]()||_0x238073[_0x3240f3(0x191)]()||_0x3dae7e[_0x3240f3(0x16f)](_0x19d9fa);}if(_0xbe9871[_0x3240f3(0x190)](),_0x3dae7e[_0x3240f3(0x171)]===0x0)yield _0x238073,_0x238073[_0x3240f3(0x179)](),_0x1feb17[_0x3240f3(0x16f)](_0x238073[_0x3240f3(0x10c)]);else{_0x238073['setAdded'](),_0x3f458d[_0x3240f3(0x165)](_0x238073);for(const _0x1f9fea of _0x3dae7e)_0x3f458d[_0x3240f3(0x165)](_0x1f9fea);}}_0x3f458d[_0x3240f3(0x18b)]=0x0,_0x3dae7e[_0x3240f3(0x190)]();}['_calculateRunList'](_0x2acfcc){const _0x49333c=_0x13d7d2,_0xb535ba=[],_0x55deac=new Set();for(const _0x2fbe18 of this[_0x49333c(0x184)](_0x2acfcc,_0x55deac))_0xb535ba[_0x49333c(0x165)](_0x2fbe18);return _0xb535ba;}}class _0x574fe0 extends _0xb3d101[_0x13d7d2(0x18e)]{async['_apply'](_0x4dd0c9=!0x1){const _0x8bffdc=_0x13d7d2;_0x4dd0c9?this['_runtimeService'][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x120)]):this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0xf7)]),this[_0x8bffdc(0x176)][_0x8bffdc(0xf8)](this[_0x8bffdc(0x12c)][_0x8bffdc(0x164)]());const _0x46f2cd=await this[_0x8bffdc(0x146)]['generate'](),_0x55f1aa=this[_0x8bffdc(0x168)];_0x4dd0c9?(this['_runtimeService'][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x11d)]),this[_0x8bffdc(0x12c)][_0x8bffdc(0x162)](_0x46f2cd[_0x8bffdc(0x18b)])):(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x148)]),this[_0x8bffdc(0x12c)][_0x8bffdc(0x167)](_0x46f2cd['length'])),this[_0x8bffdc(0x176)]['next'](this['_runtimeService'][_0x8bffdc(0x164)]());let _0x5c920f=[];const _0x409326=this[_0x8bffdc(0x153)][_0x8bffdc(0x113)](_0xb3d101[_0x8bffdc(0x172)]),_0x1d5b6e=(_0x409326==null?void 0x0:_0x409326['intervalCount'])||_0xb3d101[_0x8bffdc(0x14e)];let _0x578aa4=0x0;const _0x1f792d=_0x46f2cd[_0x8bffdc(0x18b)];for(;_0x46f2cd['length']>0x0;){const _0x460c9a=_0x46f2cd[_0x8bffdc(0x193)](),_0xcc5c88={'node':_0xb3d101[_0x8bffdc(0x157)](_0x460c9a[_0x8bffdc(0x110)],_0x460c9a[_0x8bffdc(0x116)],this[_0x8bffdc(0x17d)],this[_0x8bffdc(0x111)],this[_0x8bffdc(0x10e)]),'refOffsetX':_0x460c9a['refOffsetX'],'refOffsetY':_0x460c9a[_0x8bffdc(0x158)]},_0x49805d=_0x460c9a[_0x8bffdc(0x10f)];if(_0x578aa4%_0x1d5b6e===0x0&&(await new Promise(_0x2396a3=>{const _0x2202c7=_0x8bffdc,_0x70e55f=_0x155212[_0x2202c7(0x10d)](_0x2396a3);_0x5c920f['push'](_0x70e55f);}),_0x4dd0c9?(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x13b)]),this['_runtimeService'][_0x8bffdc(0x13a)](_0x578aa4+0x1)):(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x17f)]),this['_runtimeService'][_0x8bffdc(0x123)](_0x578aa4+0x1)),this['_executionInProgressListener$']['next'](this[_0x8bffdc(0x12c)][_0x8bffdc(0x164)]()),this[_0x8bffdc(0x12c)][_0x8bffdc(0x160)]()||_0xcc5c88==null&&_0x49805d==null)){this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x17b)]),this[_0x8bffdc(0x12c)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x8bffdc(0xf8)](this[_0x8bffdc(0x12c)][_0x8bffdc(0x154)]());return;}this[_0x8bffdc(0x12c)][_0x8bffdc(0x114)](_0x460c9a[_0x8bffdc(0xe7)],_0x460c9a[_0x8bffdc(0x131)],_0x460c9a[_0x8bffdc(0xf9)],_0x460c9a[_0x8bffdc(0x119)],_0x460c9a['subUnitId'],_0x460c9a[_0x8bffdc(0x110)]);let _0x1413f1;if(_0x49805d!=null&&_0x460c9a[_0x8bffdc(0x15f)]!=null){const {runtimeCellData:_0x467815,dirtyRanges:_0x74f551}=_0x49805d(this[_0x8bffdc(0x10e)][_0x8bffdc(0x10f)](),this[_0x8bffdc(0x12c)][_0x8bffdc(0x154)]());this['_runtimeService'][_0x8bffdc(0xed)](_0x460c9a['featureId'],_0x467815),this[_0x8bffdc(0x12c)]['setRuntimeFeatureRange'](_0x460c9a[_0x8bffdc(0x15f)],_0x74f551);}else _0xcc5c88!=null&&(_0x55f1aa['checkAsyncNode'](_0xcc5c88[_0x8bffdc(0x11a)])?_0x1413f1=await _0x55f1aa[_0x8bffdc(0x125)](_0xcc5c88):_0x1413f1=_0x55f1aa['execute'](_0xcc5c88),_0x460c9a[_0x8bffdc(0x133)]!=null?this[_0x8bffdc(0x12c)]['setRuntimeOtherData'](_0x460c9a[_0x8bffdc(0x133)],_0x460c9a[_0x8bffdc(0xf5)],_0x460c9a[_0x8bffdc(0x158)],_0x1413f1):this['_runtimeService'][_0x8bffdc(0x144)](_0x1413f1));_0x578aa4++;}return _0x5c920f[_0x8bffdc(0x16b)](_0x17e6cc=>_0x17e6cc()),_0x5c920f=[],_0x1f792d>0x0?this[_0x8bffdc(0x12c)]['markedAsSuccessfullyExecuted']():_0x4dd0c9||this['_runtimeService'][_0x8bffdc(0x121)](),this['_runtimeService']['getAllRuntimeData']();}}class _0x137c3c extends _0xb3d101[_0x13d7d2(0xea)]{constructor(){const _0x450c55=_0x13d7d2;super(...arguments),_0x33e6fd(this,_0x450c55(0x16e),new Map()),_0x33e6fd(this,_0x450c55(0x138),new _0x155212['RTree'](!0x0));}['reset'](){const _0x36aef3=_0x13d7d2;this['_otherFormulaData'][_0x36aef3(0x190)](),this[_0x36aef3(0x13d)][_0x36aef3(0x190)](),this['_formulaData'][_0x36aef3(0x190)](),this[_0x36aef3(0x138)][_0x36aef3(0x190)](),this['_allTreeMap'][_0x36aef3(0x190)](),this[_0x36aef3(0x19a)](),this[_0x36aef3(0x166)][_0x36aef3(0x190)]();}[_0x13d7d2(0x127)](_0x9d2b55,_0x40ee1f,_0x487116,_0x2b29ad){const _0x3a3431=_0x13d7d2;this[_0x3a3431(0x18c)]['has'](_0x9d2b55)||this['_otherFormulaData'][_0x3a3431(0xf3)](_0x9d2b55,new Map());const _0x17d0e1=this[_0x3a3431(0x18c)][_0x3a3431(0x151)](_0x9d2b55);_0x17d0e1[_0x3a3431(0x115)](_0x40ee1f)||_0x17d0e1[_0x3a3431(0xf3)](_0x40ee1f,new Map());const _0x5e633a=_0x17d0e1[_0x3a3431(0x151)](_0x40ee1f);_0x5e633a[_0x3a3431(0x115)](_0x487116)||_0x5e633a[_0x3a3431(0xf3)](_0x487116,new _0x155212['ObjectMatrix']()),_0x5e633a[_0x3a3431(0x151)](_0x487116)['setValue'](_0x2b29ad[_0x3a3431(0xf5)],_0x2b29ad[_0x3a3431(0x158)],_0x2b29ad[_0x3a3431(0x10c)]);}[_0x13d7d2(0x18a)](_0x194714,_0x55b8fe,_0x1df3e4){const _0x1d9eed=_0x13d7d2,_0x2e6626=this[_0x1d9eed(0x18c)][_0x1d9eed(0x151)](_0x194714);if(_0x2e6626&&_0x2e6626[_0x1d9eed(0x115)](_0x55b8fe)){const _0x16ed35=_0x2e6626[_0x1d9eed(0x151)](_0x55b8fe);_0x1df3e4[_0x1d9eed(0x16b)](_0x511701=>{const _0x4a26cf=_0x1d9eed,_0x1266ce=_0x16ed35[_0x4a26cf(0x151)](_0x511701);_0x1266ce!=null&&(_0x1266ce[_0x4a26cf(0x169)]((_0x520267,_0x2ecf7d,_0x1f6c2d)=>{const _0x8c290d=_0x4a26cf;this[_0x8c290d(0x147)](_0x1f6c2d),this['_removeAllTreeMap'](_0x1f6c2d);}),_0x16ed35[_0x4a26cf(0x142)](_0x511701),this['_otherFormulaDataMainData'][_0x4a26cf(0x142)](_0x511701));}),_0x16ed35['size']===0x0&&_0x2e6626[_0x1d9eed(0x142)](_0x55b8fe),_0x2e6626[_0x1d9eed(0x171)]===0x0&&this['_otherFormulaData'][_0x1d9eed(0x142)](_0x194714);}}[_0x13d7d2(0x10b)](_0x260b14,_0x17ae06){const _0x427457=_0x13d7d2,_0x1060c4=this[_0x427457(0x18c)][_0x427457(0x151)](_0x260b14);if(_0x17ae06&&_0x1060c4&&_0x1060c4[_0x427457(0x115)](_0x17ae06)){const _0xb3cf25=_0x1060c4['get'](_0x17ae06);this[_0x427457(0xf4)](_0x260b14,_0x17ae06);for(const _0x3e46d of _0xb3cf25[_0x427457(0x17c)]()){const _0x35a394=_0xb3cf25[_0x427457(0x151)](_0x3e46d);_0x35a394!=null&&(_0x35a394['forValue']((_0x2630c3,_0x91a45a,_0x3649b4)=>{const _0x46c774=_0x427457;this[_0x46c774(0x16e)][_0x46c774(0x151)](_0x3649b4)&&this[_0x46c774(0x14c)](_0x3649b4);}),this[_0x427457(0x166)][_0x427457(0x142)](_0x3e46d));}_0xb3cf25[_0x427457(0x190)]();}else{if(_0x1060c4){for(const _0x3c791d of _0x1060c4['keys']()){const _0x277608=_0x1060c4[_0x427457(0x151)](_0x3c791d);this['_removeDependencyRTreeCacheById'](_0x260b14,_0x3c791d);for(const _0x33e2f9 of _0x277608[_0x427457(0x17c)]()){const _0x5f2371=_0x277608['get'](_0x33e2f9);_0x5f2371!=null&&(_0x5f2371['forValue']((_0x5e1c08,_0xa6fc86,_0x3eb44c)=>{const _0x589f47=_0x427457;this[_0x589f47(0x16e)][_0x589f47(0x151)](_0x3eb44c)&&this[_0x589f47(0x14c)](_0x3eb44c);}),this[_0x427457(0x166)][_0x427457(0x142)](_0x33e2f9));}}this[_0x427457(0x18c)][_0x427457(0x142)](_0x260b14);}}}['addFeatureFormulaDependency'](_0x505bcc,_0x4c56d7,_0x55c2b7,_0x24d1fb){const _0x3f915d=_0x13d7d2;this[_0x3f915d(0x13d)][_0x3f915d(0x115)](_0x505bcc)||this['_featureFormulaData'][_0x3f915d(0xf3)](_0x505bcc,new Map());const _0x4c3630=this['_featureFormulaData']['get'](_0x505bcc);_0x4c3630['has'](_0x4c56d7)||_0x4c3630[_0x3f915d(0xf3)](_0x4c56d7,new Map()),_0x4c3630['get'](_0x4c56d7)[_0x3f915d(0xf3)](_0x55c2b7,_0x24d1fb['treeId']);}[_0x13d7d2(0x14a)](_0x453112,_0x4f6a76,_0x444adf){const _0x1f255a=_0x13d7d2,_0x3cf262=this[_0x1f255a(0x13d)][_0x1f255a(0x151)](_0x453112);if(_0x3cf262&&_0x3cf262[_0x1f255a(0x115)](_0x4f6a76)){const _0x24c684=_0x3cf262[_0x1f255a(0x151)](_0x4f6a76);_0x444adf[_0x1f255a(0x16b)](_0x1c9196=>{const _0x4127b0=_0x1f255a,_0x458734=_0x24c684['get'](_0x1c9196);_0x458734!=null&&(this['_removeDependencyRTreeCache'](_0x458734),_0x24c684[_0x4127b0(0x142)](_0x1c9196),this['_removeAllTreeMap'](_0x458734));});}}['clearFeatureFormulaDependency'](_0x3b5f08,_0x275d67){const _0x2f2378=_0x13d7d2,_0x264239=this['_featureFormulaData']['get'](_0x3b5f08);if(_0x275d67&&_0x264239&&_0x264239[_0x2f2378(0x115)](_0x275d67)){const _0x540e9c=_0x264239[_0x2f2378(0x151)](_0x275d67);this[_0x2f2378(0xf4)](_0x3b5f08,_0x275d67),_0x540e9c[_0x2f2378(0x16b)](_0x552ecb=>{const _0x216195=_0x2f2378;_0x552ecb!=null&&this[_0x216195(0x14c)](_0x552ecb);}),_0x540e9c[_0x2f2378(0x190)]();}else _0x264239&&(_0x264239[_0x2f2378(0x16b)]((_0x5694d7,_0x1df4c6)=>{const _0x4a191b=_0x2f2378;this['_removeDependencyRTreeCacheById'](_0x3b5f08,_0x1df4c6),_0x5694d7[_0x4a191b(0x16b)](_0x1be0f0=>{const _0x525f2c=_0x4a191b;_0x1be0f0!=null&&this[_0x525f2c(0x14c)](_0x1be0f0);});}),this[_0x2f2378(0x13d)][_0x2f2378(0x142)](_0x3b5f08));}[_0x13d7d2(0x197)](_0x1e9351,_0x17fd1d,_0x5a9269,_0x524440,_0x19f382){const _0x2c1e93=_0x13d7d2;this[_0x2c1e93(0x150)]['has'](_0x1e9351)||this['_formulaData'][_0x2c1e93(0xf3)](_0x1e9351,new Map());const _0x52cea9=this[_0x2c1e93(0x150)][_0x2c1e93(0x151)](_0x1e9351);_0x52cea9['has'](_0x17fd1d)||_0x52cea9[_0x2c1e93(0xf3)](_0x17fd1d,new _0x155212[(_0x2c1e93(0x129))]()),_0x52cea9[_0x2c1e93(0x151)](_0x17fd1d)[_0x2c1e93(0x161)](_0x5a9269,_0x524440,_0x19f382['treeId']);}[_0x13d7d2(0x196)](_0x1613bd,_0x327df1,_0xf5d3e5,_0x23d2b3){const _0x2369f4=_0x13d7d2,_0xc40d22=this['_formulaData'][_0x2369f4(0x151)](_0x1613bd);if(_0xc40d22&&_0xc40d22[_0x2369f4(0x115)](_0x327df1)){const _0x53bd39=_0xc40d22[_0x2369f4(0x151)](_0x327df1),_0x488528=_0x53bd39[_0x2369f4(0x128)](_0xf5d3e5,_0x23d2b3);if(_0x488528==null)return;this[_0x2369f4(0x147)](_0x488528),_0x53bd39[_0x2369f4(0x10a)](_0xf5d3e5,_0x23d2b3),this[_0x2369f4(0x14c)](_0x488528);}}[_0x13d7d2(0x17a)](_0x5ae422,_0x3acc97){const _0x1b3b75=_0x13d7d2,_0x4c6e8e=this[_0x1b3b75(0x150)][_0x1b3b75(0x151)](_0x5ae422);if(_0x3acc97&&_0x4c6e8e&&_0x4c6e8e[_0x1b3b75(0x115)](_0x3acc97)){const _0x323d17=_0x4c6e8e[_0x1b3b75(0x151)](_0x3acc97);this[_0x1b3b75(0xf4)](_0x5ae422,_0x3acc97),_0x323d17['forValue']((_0x32f722,_0x266a97,_0x480605)=>{const _0x5b7d9b=_0x1b3b75;if(_0x480605==null)return!0x0;this[_0x5b7d9b(0x14c)](_0x480605);}),_0x323d17[_0x1b3b75(0x170)]();}else _0x4c6e8e&&(_0x4c6e8e[_0x1b3b75(0x16b)]((_0x4a6efa,_0x1bc3f0)=>{const _0x46691a=_0x1b3b75;this['_removeDependencyRTreeCacheById'](_0x5ae422,_0x1bc3f0),_0x4a6efa[_0x46691a(0x169)]((_0x1543bb,_0x935a56,_0x47560f)=>{const _0x2715d3=_0x46691a;if(_0x47560f==null)return!0x0;this[_0x2715d3(0x14c)](_0x47560f);});}),this[_0x1b3b75(0x150)]['delete'](_0x5ae422));}[_0x13d7d2(0x147)](_0x8e8ed7){const _0x3757d4=_0x13d7d2;if(_0x8e8ed7==null)return;const _0x4c9a13=this[_0x3757d4(0x16e)][_0x3757d4(0x151)](_0x8e8ed7);if(_0x4c9a13){const _0x49d4da=[];for(const [_0x84560b,_0x35bbf3]of _0x4c9a13)for(const [_0x512db2,_0x11594f]of _0x35bbf3)_0x49d4da[_0x3757d4(0x165)]({'unitId':_0x84560b,'sheetId':_0x512db2,'range':_0x11594f,'id':_0x8e8ed7});this[_0x3757d4(0x138)][_0x3757d4(0x195)](_0x49d4da);}}[_0x13d7d2(0x141)](_0x518fa2,_0x420a6d){const _0x4af6bf=_0x13d7d2,_0x2888d4=this[_0x4af6bf(0x11f)][_0x4af6bf(0x151)](_0x518fa2);if(_0x2888d4){const _0x4306b1=_0x2888d4[_0x4af6bf(0x151)](_0x420a6d);if(_0x4306b1){for(const _0xf3d1b1 of _0x4306b1)this[_0x4af6bf(0x147)](_0xf3d1b1),this[_0x4af6bf(0x14c)](_0xf3d1b1);_0x4306b1[_0x4af6bf(0x190)]();}}}[_0x13d7d2(0x19b)](){const _0x254150=_0x13d7d2;this[_0x254150(0x138)][_0x254150(0x19b)]();}[_0x13d7d2(0x103)](){const _0x1abd72=_0x13d7d2;this[_0x1abd72(0x138)][_0x1abd72(0x103)]();}[_0x13d7d2(0x14c)](_0x243e43){const _0x44437f=_0x13d7d2;_0x243e43!=null&&this[_0x44437f(0x16e)][_0x44437f(0x142)](_0x243e43);}[_0x13d7d2(0x17e)](_0x28a4a6){const _0x209a1d=_0x13d7d2;var _0x16b6e3,_0x217d2b;const _0x53b5eb=_0x28a4a6[_0x209a1d(0x105)];let _0x111a54=this[_0x209a1d(0x16e)]['get'](_0x28a4a6[_0x209a1d(0x10c)]);for(let _0x20e1db=0x0;_0x20e1db<_0x53b5eb[_0x209a1d(0x18b)];_0x20e1db++){const _0x3ec846=_0x53b5eb[_0x20e1db];let {unitId:_0x3fe48c,sheetId:_0x4d190a,range:_0x5c02a1}=_0x3ec846;_0x111a54||(_0x111a54=new Map(),this['_allTreeMap'][_0x209a1d(0xf3)](_0x28a4a6[_0x209a1d(0x10c)],_0x111a54)),_0x111a54[_0x209a1d(0x115)](_0x3fe48c)||_0x111a54[_0x209a1d(0xf3)](_0x3fe48c,new Map());const _0x54412a=(_0x16b6e3=_0x111a54==null?void 0x0:_0x111a54[_0x209a1d(0x151)](_0x3fe48c))==null?void 0x0:_0x16b6e3[_0x209a1d(0x151)](_0x4d190a);_0x54412a&&(_0x5c02a1={'startRow':Math[_0x209a1d(0xe6)](_0x5c02a1[_0x209a1d(0xfb)],_0x54412a[_0x209a1d(0xfb)]),'startColumn':Math[_0x209a1d(0xe6)](_0x5c02a1[_0x209a1d(0x185)],_0x54412a['startColumn']),'endRow':Math[_0x209a1d(0x140)](_0x5c02a1[_0x209a1d(0x102)],_0x54412a[_0x209a1d(0x102)]),'endColumn':Math['max'](_0x5c02a1['endColumn'],_0x54412a['endColumn'])}),(_0x217d2b=_0x111a54[_0x209a1d(0x151)](_0x3fe48c))==null||_0x217d2b['set'](_0x4d190a,_0x5c02a1);}}}var _0x495cdd=Object[_0x13d7d2(0x13c)],_0x2029a3=(_0x58bdce,_0x3d984b,_0x2ee5b0,_0x5b6430)=>{const _0x2c5b5d=_0x13d7d2;for(var _0x330260=_0x5b6430>0x1?void 0x0:_0x5b6430?_0x495cdd(_0x3d984b,_0x2ee5b0):_0x3d984b,_0x51995e=_0x58bdce[_0x2c5b5d(0x18b)]-0x1,_0x1bc47e;_0x51995e>=0x0;_0x51995e--)(_0x1bc47e=_0x58bdce[_0x51995e])&&(_0x330260=_0x1bc47e(_0x330260)||_0x330260);return _0x330260;};const _0xccbe2a=Number['parseInt'](0x68c50d20);_0xb67ef8['UniverProFormulaEnginePlugin']=class extends _0xb3d101[_0x13d7d2(0x175)]{[_0x13d7d2(0x192)](){const _0x4e9180=_0x13d7d2;var _0x346781,_0x4a3ba6;this['_initLicenseValid']()?(_0x346781=this[_0x4e9180(0x12e)])!=null&&_0x346781[_0x4e9180(0x189)]||[[_0xb3d101['ICalculateFormulaService'],{'useClass':_0x574fe0}],[_0xb3d101[_0x4e9180(0x15e)],{'useClass':_0x137c3c}],[_0xb3d101[_0x4e9180(0x109)],{'useClass':_0x31da85}]]['forEach'](_0xe2697b=>this['_injector'][_0x4e9180(0x16f)](_0xe2697b)):(_0x4a3ba6=this[_0x4e9180(0x12e)])!=null&&_0x4a3ba6[_0x4e9180(0x189)]||[[_0xb3d101['ICalculateFormulaService'],{'useClass':_0xb3d101[_0x4e9180(0x18e)]}],[_0xb3d101['IDependencyManagerService'],{'useClass':_0xb3d101[_0x4e9180(0x181)]}],[_0xb3d101['IFormulaDependencyGenerator'],{'useClass':_0xb3d101[_0x4e9180(0x199)]}]][_0x4e9180(0x16b)](_0x2f4b8d=>this[_0x4e9180(0x11e)]['add'](_0x2f4b8d));}[_0x13d7d2(0x11b)](){const _0x1e9dd7=_0x13d7d2;var _0x44285b;const _0x456682=(_0x44285b=this[_0x1e9dd7(0x153)][_0x1e9dd7(0x113)](_0xd2a5fb['LS_CONFIG_KEY']))!=null?_0x44285b:{},{ls:_0xc6a7a2,pbk:_0x1d189c}=_0x456682;if(!_0xc6a7a2||!_0x1d189c)return!0x1;const _0x1c0261=_0xd2a5fb['unshiftString'](_0x409e31,_0x1954f0),_0x119ca5=new Function(_0x1e9dd7(0x15c)+_0x1c0261)()(_0xc6a7a2,_0x1d189c),_0x3fcf87=_0x119ca5['message'];return _0x119ca5['valid']&&_0xd2a5fb[_0x1e9dd7(0x145)](_0x3fcf87,'sf',_0xccbe2a)?_0xd2a5fb['getSheetFeatureLimit'](_0x3fcf87,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0xb67ef8[_0x13d7d2(0x12f)]=_0x2029a3([_0x155212[_0x13d7d2(0xfd)](_0xd2a5fb['UniverLicensePlugin'])],_0xb67ef8['UniverProFormulaEnginePlugin']),Object['keys'](_0xb3d101)[_0x13d7d2(0x16b)](_0x50df69=>{const _0x9c12a6=_0x13d7d2;_0x50df69!==_0x9c12a6(0xe9)&&!Object[_0x9c12a6(0x16a)]['hasOwnProperty'][_0x9c12a6(0x163)](_0xb67ef8,_0x50df69)&&Object[_0x9c12a6(0x15d)](_0xb67ef8,_0x50df69,{'enumerable':!0x0,'get':()=>_0xb3d101[_0x50df69]});}),Object[_0x13d7d2(0x15d)](_0xb67ef8,Symbol[_0x13d7d2(0xe4)],{'value':_0x13d7d2(0x13f)});}));function _0x22dd(_0x5d1abf,_0x1357f3){const _0x494019=_0x4940();return _0x22dd=function(_0x22dda4,_0x10f936){_0x22dda4=_0x22dda4-0xe4;let _0x154235=_0x494019[_0x22dda4];return _0x154235;},_0x22dd(_0x5d1abf,_0x1357f3);}function _0x4940(){const _0x2c85df=['_initLicenseValid','6547150aZxhxu','START_CALCULATION_ARRAY_FORMULA','_injector','_definedNameMap','START_DEPENDENCY_ARRAY_FORMULA','markedAsNoFunctionsExecuted','_getTreeById','setCompletedFormulasCount','969654vJsmcJ','executeAsync','resolve','addOtherFormulaDependency','getValue','ObjectMatrix','isCache','_updateRangeFlatten','_runtimeService','subUnitId','_config','UniverProFormulaEnginePlugin','bulkSearch','column','@univerjs-pro/license','formulaId','getFormulaData','FormulaDependencyTree','function','getDirtyNameMap','_dependencyRTreeCache','OTHER_FORMULA','setCompletedArrayFormulasCount','CURRENTLY_CALCULATING_ARRAY_FORMULA','getOwnPropertyDescriptor','_featureFormulaData','_checkIsCycleDependency','Module','max','removeFormulaDependencyByDefinedName','delete','searchDependency','setRuntimeData','isFeatureAuthorizedWithinTime','_formulaDependencyGenerator','_removeDependencyRTreeCache','START_CALCULATION','getFeatureFormulaDependency','removeFeatureFormulaDependency','amd','_removeAllTreeMap','_registerFormulas','DEFAULT_INTERVAL_COUNT','FormulaDependencyTreeType','_formulaData','get','FormulaExecuteStageType','_configService','getAllRuntimeData','clearFeatureFormulaDependency','1150842zAHuhT','generateAstNode','refOffsetY','_otherFormulaManagerService','_calculateRunList','FEATURE_FORMULA','return\x20','defineProperty','IDependencyManagerService','featureId','isStopExecution','setValue','setTotalArrayFormulasToCalculate','call','getRuntimeState','push','_otherFormulaDataMainData','setTotalFormulasToCalculate','_interpreter','forValue','prototype','forEach','1018103EDTPas','isVirtual','_allTreeMap','add','reset','size','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_generateTreeList','_dependencyTreeCache','UniverFormulaEnginePlugin','_executionInProgressListener$','getFormulaDependency','UniverProEngineFormula','setSkip','clearFormulaDependency','IDLE','keys','_lexer','_addAllTreeMap','CURRENTLY_CALCULATING','_isCyclicUtilMap','DependencyManagerService','toRTreeItem','200DmekNl','_traverse','startColumn','dispose','ParentDependencyTree\x20object\x20is\x20null','getClearDependencyTreeCache','notExecuteFormula','removeOtherFormulaDependency','length','_otherFormulaData','553623aSWnPC','CalculateFormulaService','getUnitData','clear','isSkip','_initializeWithOverride','pop','UniverEngineFormula','bulkRemove','removeFormulaDependency','addFormulaDependency','_getFirstCellOfRange','FormulaDependencyGenerator','_restDependencyTreeId','openKdTree','_dependencyRTreeCacheForAddressFunction','object','1323165pGNpIj','toStringTag','featureDirtyRanges','min','row','dirtyRanges','default','DependencyManagerBaseService','addFormulaDependencyByDefinedName','_createFDtree','setRuntimeFeatureCellData','generateRandomDependencyTreeId','_getTreeNode','isDirty','addOtherFormulaDependencyMainData','@univerjs/engine-formula','set','_removeDependencyRTreeCacheById','refOffsetX','_getFeatureFormulaTree','START_DEPENDENCY','next','rowCount','getDirtyRanges','startRow','getExcludedRange','DependentOn','setFormulaExecuteStage','refTree','isAdded','isForceCalculate','endRow','closeKdTree','type','rangeList','symbol','_dependencyManagerService','_getUpdateTreeListAndMakeDependency','IFormulaDependencyGenerator','realDeleteValue','clearOtherFormulaDependency','treeId','requestImmediateMacroTask','_currentConfigService','getDirtyData','unitId','_astTreeBuilder','1814720XDckrx','getConfig','setCurrent','has','formula','_registerOtherFormulas','dependencySheetName','columnCount','node'];_0x4940=function(){return _0x2c85df;};return _0x4940();}
|
|
1
|
+
(function(_0x5e7887,_0x507ac4){const _0x220f3e=_0x166a,_0x5ba0bd=_0x5e7887();while(!![]){try{const _0x5eda1e=-parseInt(_0x220f3e(0x164))/0x1+parseInt(_0x220f3e(0x1d1))/0x2+parseInt(_0x220f3e(0x195))/0x3+-parseInt(_0x220f3e(0x1dc))/0x4*(-parseInt(_0x220f3e(0x179))/0x5)+-parseInt(_0x220f3e(0x1b7))/0x6+-parseInt(_0x220f3e(0x17a))/0x7+parseInt(_0x220f3e(0x1ea))/0x8;if(_0x5eda1e===_0x507ac4)break;else _0x5ba0bd['push'](_0x5ba0bd['shift']());}catch(_0x41d594){_0x5ba0bd['push'](_0x5ba0bd['shift']());}}}(_0x3e2c,0xc2e99),function(_0x42319d,_0x1b4480){const _0xc74c2f=_0x166a;typeof exports=='object'&&typeof module<'u'?_0x1b4480(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0xc74c2f(0x15c)&&define[_0xc74c2f(0x1ad)]?define([_0xc74c2f(0x1e6),_0xc74c2f(0x146),_0xc74c2f(0x157),'@univerjs/engine-formula'],_0x1b4480):(_0x42319d=typeof globalThis<'u'?globalThis:_0x42319d||self,_0x1b4480(_0x42319d[_0xc74c2f(0x156)]={},_0x42319d[_0xc74c2f(0x155)],_0x42319d['UniverCore'],_0x42319d[_0xc74c2f(0x1b4)]));}(this,function(_0x1c8dea,_0x60545e,_0x4602de,_0x259973){'use strict';const _0x416ea5=_0x166a;var _0x42b5e4=Object[_0x416ea5(0x1db)],_0x303c33=(_0x247995,_0xa73940,_0x3cc48e)=>_0xa73940 in _0x247995?_0x42b5e4(_0x247995,_0xa73940,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cc48e}):_0x247995[_0xa73940]=_0x3cc48e,_0x2dd966=(_0x39eb60,_0x41993b,_0x82a0f6)=>_0x303c33(_0x39eb60,typeof _0x41993b!=_0x416ea5(0x1e8)?_0x41993b+'':_0x41993b,_0x82a0f6);const _0x576b02={0x0:'U',0x1:'6',0x2:'m',0x3:'9',0x4:'w',0x5:'a',0x6:'E',0x7:'g',0x8:'O',0x9:'X','F':'0','o':'1','v':'2','B':'3','k':'4','G':'5','W':'7','X':'8','J':'b','f':'c','a':'d','Q':'e','i':'f','m':'h','z':'i','T':'j','r':'k','y':'l','V':'n','R':'o','U':'p','b':'q','N':'r','c':'s','g':'t','H':'u','h':'v','E':'x','Z':'y','C':'z','j':'A','n':'B','p':'C','I':'D','d':'F','q':'G','S':'H','K':'I','u':'J','A':'K','O':'L','P':'M','l':'N','D':'P','x':'Q','e':'R','M':'S','Y':'T','L':'V','s':'W','t':'Y','w':'Z'},_0xd76a1a=_0x416ea5(0x168);class _0x1762a4 extends _0x259973[_0x416ea5(0x13a)]{constructor(){const _0x2f77c4=_0x416ea5;super(...arguments),_0x2dd966(this,_0x2f77c4(0x169),new Map());}[_0x416ea5(0x176)](){const _0x2dbff5=_0x416ea5;super[_0x2dbff5(0x176)](),this[_0x2dbff5(0x169)][_0x2dbff5(0x14d)]();}async[_0x416ea5(0x177)](){const _0x55919b=_0x416ea5;this[_0x55919b(0x160)]();const _0x5d12ef=this[_0x55919b(0x1df)][_0x55919b(0x1ae)](),_0x398e7c=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x3104d4=this[_0x55919b(0x1df)]['getClearDependencyTreeCache']();_0x3104d4!=null&&Object[_0x55919b(0x1be)](_0x3104d4)['forEach'](_0x4f8ffa=>{const _0x52aa5b=_0x55919b;_0x4f8ffa!=null&&Object[_0x52aa5b(0x1be)](_0x3104d4[_0x4f8ffa])[_0x52aa5b(0x136)](_0x314ac7=>{const _0x1fe4e7=_0x52aa5b;_0x314ac7!=null&&(this[_0x1fe4e7(0x1ba)][_0x1fe4e7(0x187)](_0x4f8ffa,_0x314ac7),this[_0x1fe4e7(0x1ba)]['clearFeatureFormulaDependency'](_0x4f8ffa,_0x314ac7),this['_dependencyManagerService'][_0x1fe4e7(0x16f)](_0x4f8ffa,_0x314ac7));});});const _0x269acc=this[_0x55919b(0x1df)]['getUnitData']();await this[_0x55919b(0x188)](_0x5d12ef,_0x398e7c,_0x269acc),this['_dependencyManagerService'][_0x55919b(0x138)]();const _0x57e573=this[_0x55919b(0x1e1)](),_0x5d7e9d=this[_0x55919b(0x1e2)](_0x57e573);return this[_0x55919b(0x1c0)](_0x5d7e9d)&&this['_runtimeService'][_0x55919b(0x159)](),this[_0x55919b(0x169)][_0x55919b(0x14d)](),this[_0x55919b(0x165)][_0x55919b(0x14d)](),this[_0x55919b(0x1ba)][_0x55919b(0x174)](),Promise[_0x55919b(0x1af)](_0x5d7e9d);}[_0x416ea5(0x131)](_0x894649,_0x387dfe){const _0x37aa6f=_0x416ea5,_0x3a5460=[_0x894649];for(;_0x3a5460[_0x37aa6f(0x144)]>0x0;){const _0x960c55=_0x3a5460[_0x3a5460['length']-0x1];if((_0x387dfe[_0x37aa6f(0x150)](_0x960c55)||0x0)===0x0){_0x387dfe['set'](_0x960c55,0x1);const _0x5dabd5=this[_0x37aa6f(0x169)][_0x37aa6f(0x150)](_0x960c55);if(_0x5dabd5==null){_0x387dfe[_0x37aa6f(0x14f)](_0x960c55,0x2),_0x3a5460['pop']();continue;}const _0x2ff417=this[_0x37aa6f(0x1ba)][_0x37aa6f(0x1cf)](_0x5dabd5[_0x37aa6f(0x17d)]());for(const _0x2b2b49 of _0x2ff417){const _0x441d07=_0x387dfe[_0x37aa6f(0x150)](_0x2b2b49)||0x0;if(_0x441d07===0x1)return!0x0;_0x441d07===0x0&&_0x3a5460[_0x37aa6f(0x193)](_0x2b2b49);}}else _0x387dfe[_0x37aa6f(0x14f)](_0x960c55,0x2),_0x3a5460[_0x37aa6f(0x1b8)]();}return!0x1;}[_0x416ea5(0x1c0)](_0x3c1aff){const _0x20821a=_0x416ea5,_0x586293=new Map();for(const _0x26f43f of _0x3c1aff)if(!_0x586293[_0x20821a(0x158)](_0x26f43f[_0x20821a(0x1dd)])&&this[_0x20821a(0x131)](_0x26f43f['treeId'],_0x586293))return!0x0;return _0x586293[_0x20821a(0x14d)](),!0x1;}[_0x416ea5(0x18f)](_0x21967b,_0x3a017c,_0xf86669){const _0x3d71ec=_0x416ea5,{unitId:_0x1cb33a,subUnitId:_0x3f715d,dependencyRanges:_0x124969,getDirtyData:_0x4d1ff6}=_0xf86669,_0x2bd193=_0x3a017c||_0x259973[_0x3d71ec(0x13b)](this[_0x3d71ec(0x1ba)]),_0x3c5bd2=new _0x259973[(_0x3d71ec(0x18e))](_0x2bd193);_0x3c5bd2[_0x3d71ec(0x19f)]=_0x1cb33a,_0x3c5bd2[_0x3d71ec(0x19b)]=_0x3f715d,_0x3c5bd2[_0x3d71ec(0x186)]=_0x124969,_0x3c5bd2[_0x3d71ec(0x189)]=_0x4d1ff6;const _0x3567ac=_0x4d1ff6(this[_0x3d71ec(0x1df)]['getDirtyData'](),this[_0x3d71ec(0x19d)]['getAllRuntimeData']()),_0x92c45e=this[_0x3d71ec(0x153)](_0x3567ac[_0x3d71ec(0x149)]);return _0x3c5bd2[_0x3d71ec(0x14b)]=_0x92c45e,_0x3c5bd2[_0x3d71ec(0x1da)]=_0x21967b,_0x3c5bd2[_0x3d71ec(0x197)]=_0x259973[_0x3d71ec(0x135)][_0x3d71ec(0x161)],this[_0x3d71ec(0x1ba)][_0x3d71ec(0x1bb)](_0x1cb33a,_0x3f715d,_0x21967b,_0x3c5bd2),this[_0x3d71ec(0x169)][_0x3d71ec(0x14f)](_0x3c5bd2[_0x3d71ec(0x1dd)],_0x3c5bd2),this[_0x3d71ec(0x1ba)]['getFeatureFormulaDependency'](_0xf86669['unitId'],_0xf86669[_0x3d71ec(0x19b)],_0x21967b)&&(_0x3c5bd2[_0x3d71ec(0x1ed)]=!0x0),_0x3c5bd2;}['_registerOtherFormulas'](_0x1f378c,_0x2a3564,_0x1cf6ce){const _0x28c29e=_0x416ea5;var _0x4643bf;for(const _0x462296 of _0x2a3564){const _0x3d5c10=_0x1f378c[_0x462296];if(_0x3d5c10==null)continue;const _0x551355=Object[_0x28c29e(0x1be)](_0x3d5c10);for(const _0x3d0111 of _0x551355){const _0x5e849b=_0x3d5c10[_0x3d0111];if(_0x5e849b==null)continue;const _0x104876=Object[_0x28c29e(0x1be)](_0x5e849b);for(const _0xd62c2f of _0x104876){const _0x1686eb=this[_0x28c29e(0x1ba)][_0x28c29e(0x1e0)](_0xd62c2f),_0x1d5f3a=_0x5e849b[_0xd62c2f],{f:_0x1f38c8,ranges:_0x10852f}=_0x1d5f3a;let _0x3787d4=!0x1;_0x1686eb&&(_0x3787d4=!0x0);const {firstRow:_0xfc5e3d,firstColumn:_0x3c8df5}=this[_0x28c29e(0x15b)](_0x10852f),_0x3f0da5=this[_0x28c29e(0x1ba)][_0x28c29e(0x180)](_0x462296,_0x3d0111,_0xd62c2f),_0xc2c224=(_0x4643bf=_0x3f0da5==null?void 0x0:_0x3f0da5['getValue'](0x0,0x0))!=null?_0x4643bf:_0x259973[_0x28c29e(0x13b)](this[_0x28c29e(0x1ba)]),_0x28d772=new _0x259973[(_0x28c29e(0x18e))](_0xc2c224);for(let _0x2bfeaa=0x0;_0x2bfeaa<_0x10852f['length'];_0x2bfeaa++){const _0x19a4e8=_0x10852f[_0x2bfeaa],{startRow:_0x40fc72,startColumn:_0x1a9f6e,endRow:_0x1d57e7,endColumn:_0x558f41}=_0x19a4e8;for(let _0x3316f5=_0x40fc72;_0x3316f5<=_0x1d57e7;_0x3316f5++)for(let _0x114e76=_0x1a9f6e;_0x114e76<=_0x558f41;_0x114e76++){const _0x37fdf6=_0x114e76-_0x3c8df5,_0x4b14e5=_0x3316f5-_0xfc5e3d;if(_0x37fdf6===0x0&&_0x4b14e5===0x0){_0x28d772[_0x28c29e(0x154)]=_0x1f38c8,_0x28d772['unitId']=_0x462296,_0x28d772['subUnitId']=_0x3d0111,_0x28d772['formulaId']=_0xd62c2f,_0x28d772[_0x28c29e(0x197)]=_0x259973[_0x28c29e(0x135)][_0x28c29e(0x1ac)],_0x28d772[_0x28c29e(0x1ed)]=_0x3787d4,_0x1cf6ce[_0x28c29e(0x193)](_0x28d772),this[_0x28c29e(0x169)]['set'](_0x28d772['treeId'],_0x28d772),this[_0x28c29e(0x1ba)][_0x28c29e(0x151)](_0x462296,_0x3d0111,_0xd62c2f,_0x28d772),this[_0x28c29e(0x1ba)][_0x28c29e(0x1d8)](_0x28d772);continue;}const _0x358ccd=new _0x259973['FormulaDependencyTreeVirtual']();_0x358ccd['treeId']=(_0x3f0da5==null?void 0x0:_0x3f0da5['getValue'](_0x37fdf6,_0x4b14e5))||_0x259973[_0x28c29e(0x13b)](this[_0x28c29e(0x1ba)]),_0x358ccd[_0x28c29e(0x130)]=_0x28d772,_0x358ccd[_0x28c29e(0x1b5)]=_0x37fdf6,_0x358ccd[_0x28c29e(0x1bc)]=_0x4b14e5,_0x358ccd['isCache']=_0x3787d4,this[_0x28c29e(0x1ba)]['addOtherFormulaDependency'](_0x462296,_0x3d0111,_0xd62c2f,_0x358ccd),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x358ccd),_0x1cf6ce[_0x28c29e(0x193)](_0x358ccd),this[_0x28c29e(0x169)]['set'](_0x358ccd[_0x28c29e(0x1dd)],_0x358ccd);}}this[_0x28c29e(0x1ba)][_0x28c29e(0x143)](_0xd62c2f);}}}}[_0x416ea5(0x184)](_0x5d5422,_0x4ff4a2,_0x41a481,_0x8f54a5){const _0xa9cd61=_0x416ea5;for(const _0x1e9aa6 of _0x5d5422){const _0x4f50a8=_0x4ff4a2[_0x1e9aa6];if(_0x4f50a8==null)continue;const _0x1bd48e=Object[_0xa9cd61(0x1be)](_0x4f50a8);for(const _0x9d7f6f of _0x1bd48e){const _0x214053=new _0x4602de[(_0xa9cd61(0x19c))](_0x4f50a8[_0x9d7f6f]||{}),_0x523d4f=new Map();_0x214053[_0xa9cd61(0x1a2)]((_0x93bf0d,_0x567878,_0x372f53)=>{const _0xb17ac8=_0xa9cd61;if(_0x372f53==null)return!0x0;const {x:_0x4edc59=0x0,y:_0x3d500f=0x0,si:_0x231a88}=_0x372f53;if(!(_0x4edc59===0x0&&_0x3d500f===0x0&&_0x231a88!=null))return!0x0;const _0x4deb88=this[_0xb17ac8(0x1c4)](_0x1e9aa6,_0x9d7f6f,_0x93bf0d,_0x567878,_0x41a481,_0x372f53),_0x3ac7de=this['_dependencyManagerService'][_0xb17ac8(0x134)](_0x1e9aa6,_0x9d7f6f,_0x93bf0d,_0x567878);_0x3ac7de!=null?_0x4deb88[_0xb17ac8(0x1dd)]=_0x3ac7de:(this[_0xb17ac8(0x1ba)]['addFormulaDependency'](_0x1e9aa6,_0x9d7f6f,_0x93bf0d,_0x567878,_0x4deb88),this[_0xb17ac8(0x1ba)]['addFormulaDependencyByDefinedName'](_0x4deb88)),_0x523d4f['set'](_0x231a88,_0x4deb88),_0x8f54a5['push'](_0x4deb88),this[_0xb17ac8(0x169)][_0xb17ac8(0x14f)](_0x4deb88[_0xb17ac8(0x1dd)],_0x4deb88);}),_0x214053[_0xa9cd61(0x1a2)]((_0x324c6f,_0x22b0cb,_0x1f9781)=>{const _0x46e48d=_0xa9cd61;if(_0x1f9781==null)return!0x0;const {x:_0x498861=0x0,y:_0x206520=0x0,si:_0x5beaca}=_0x1f9781;if(_0x498861===0x0&&_0x206520===0x0&&_0x5beaca!=null)return!0x0;let _0x361811;if(_0x5beaca&&_0x523d4f[_0x46e48d(0x158)](_0x5beaca)){const _0x187864=_0x523d4f[_0x46e48d(0x150)](_0x5beaca);_0x361811=this[_0x46e48d(0x1ec)](_0x187864,_0x1f9781);}else _0x361811=this[_0x46e48d(0x1c4)](_0x1e9aa6,_0x9d7f6f,_0x324c6f,_0x22b0cb,_0x41a481,_0x1f9781);const _0x451b08=this[_0x46e48d(0x1ba)]['getFormulaDependency'](_0x1e9aa6,_0x9d7f6f,_0x324c6f,_0x22b0cb);_0x451b08!=null?_0x361811[_0x46e48d(0x1dd)]=_0x451b08:(this[_0x46e48d(0x1ba)][_0x46e48d(0x18c)](_0x1e9aa6,_0x9d7f6f,_0x324c6f,_0x22b0cb,_0x361811),this['_dependencyManagerService'][_0x46e48d(0x1d8)](_0x361811)),_0x8f54a5[_0x46e48d(0x193)](_0x361811),this[_0x46e48d(0x169)][_0x46e48d(0x14f)](_0x361811[_0x46e48d(0x1dd)],_0x361811);}),_0x523d4f[_0xa9cd61(0x14d)]();}}}[_0x416ea5(0x1c4)](_0x3d791e,_0x240bf0,_0x532e35,_0x5f59f8,_0x12323d,_0x4e254b){const _0x9b784e=_0x416ea5,{f:_0x17057e,x:_0x488a6b=0x0,y:_0x467962=0x0}=_0x4e254b,_0x4f21f3=new _0x259973[(_0x9b784e(0x18e))](_0x259973[_0x9b784e(0x13b)](this['_dependencyManagerService'])),_0x1e34ae=_0x12323d[_0x3d791e][_0x240bf0];return _0x4f21f3[_0x9b784e(0x154)]=_0x17057e,_0x4f21f3['unitId']=_0x3d791e,_0x4f21f3[_0x9b784e(0x19b)]=_0x240bf0,_0x4f21f3[_0x9b784e(0x1cd)]=_0x532e35,_0x4f21f3['column']=_0x5f59f8,_0x4f21f3[_0x9b784e(0x1c9)]=_0x1e34ae[_0x9b784e(0x1c9)],_0x4f21f3[_0x9b784e(0x19e)]=_0x1e34ae[_0x9b784e(0x19e)],_0x4f21f3;}[_0x416ea5(0x1e1)](){const _0x13eed2=_0x416ea5,_0x364db8=[],_0x37814d=new Set(),_0x20c3a3=this[_0x13eed2(0x1df)][_0x13eed2(0x16d)](),_0x192db5=this[_0x13eed2(0x1df)][_0x13eed2(0x139)](),_0x552852=this[_0x13eed2(0x1ba)][_0x13eed2(0x1cf)](_0x192db5),_0x37ccf7=this[_0x13eed2(0x165)][_0x13eed2(0x18a)](_0x192db5);for(const _0x4bfe01 of _0x37ccf7)_0x552852[_0x13eed2(0x194)](_0x4bfe01);for(const [_0x815388,_0x1a0b62]of this['_dependencyTreeCache'])(_0x20c3a3||_0x1a0b62[_0x13eed2(0x13f)]||_0x1a0b62[_0x13eed2(0x16a)](this[_0x13eed2(0x1df)][_0x13eed2(0x1c7)]())||_0x552852['has'](_0x815388)&&!_0x1a0b62[_0x13eed2(0x147)](this[_0x13eed2(0x1df)][_0x13eed2(0x15d)]()))&&!_0x37814d[_0x13eed2(0x158)](_0x815388)&&(_0x364db8['push'](_0x1a0b62),_0x37814d[_0x13eed2(0x194)](_0x815388));for(const [_0x1ad3fc,_0x173104]of this[_0x13eed2(0x169)])_0x173104[_0x13eed2(0x19a)]||(_0x173104['rangeList'][_0x13eed2(0x144)]=0x0);return _0x364db8;}[_0x416ea5(0x198)](_0x200eca){const _0xcbab10=_0x416ea5;return this[_0xcbab10(0x169)]['get'](_0x200eca);}['_getTreeNode'](_0x1e9cac){const _0x1ceb53=_0x416ea5;return _0x259973[_0x1ceb53(0x17b)](_0x1e9cac['unitId'],_0x1e9cac[_0x1ceb53(0x154)],this[_0x1ceb53(0x152)],this[_0x1ceb53(0x178)],this[_0x1ceb53(0x1df)]);}*[_0x416ea5(0x1b3)](_0xed860c,_0x34cff2){const _0x19aea5=_0x416ea5,_0x35b0a0=_0xed860c,_0x135e10=new Set();for(;_0x35b0a0['length']>0x0;){const _0x1fcb02=_0x35b0a0[_0x19aea5(0x1b8)]();if(_0x135e10[_0x19aea5(0x14d)](),_0x1fcb02===void 0x0||_0x1fcb02[_0x19aea5(0x16e)]())continue;if(_0x1fcb02[_0x19aea5(0x1c1)]()){yield _0x1fcb02,_0x1fcb02[_0x19aea5(0x1bf)](),_0x34cff2[_0x19aea5(0x194)](_0x1fcb02[_0x19aea5(0x1dd)]);continue;}const _0x5d1662=this[_0x19aea5(0x1ba)][_0x19aea5(0x1cf)](_0x1fcb02['toRTreeItem'](),_0x34cff2),_0x6bb634=this[_0x19aea5(0x165)][_0x19aea5(0x18a)](_0x1fcb02[_0x19aea5(0x17d)](),_0x34cff2);for(const _0xed5997 of _0x6bb634)_0x5d1662[_0x19aea5(0x194)](_0xed5997);for(const _0x1dfe63 of _0x5d1662){const _0x55b114=this['_dependencyTreeCache']['get'](_0x1dfe63);if(!_0x55b114)throw new Error(_0x19aea5(0x1c8));_0x55b114['isAdded']()||_0x1fcb02[_0x19aea5(0x16e)]()||_0x135e10[_0x19aea5(0x194)](_0x55b114);}if(_0x5d1662[_0x19aea5(0x14d)](),_0x135e10['size']===0x0)yield _0x1fcb02,_0x1fcb02[_0x19aea5(0x1bf)](),_0x34cff2['add'](_0x1fcb02[_0x19aea5(0x1dd)]);else{_0x1fcb02[_0x19aea5(0x1d6)](),_0x35b0a0[_0x19aea5(0x193)](_0x1fcb02);for(const _0x1eac98 of _0x135e10)_0x35b0a0[_0x19aea5(0x193)](_0x1eac98);}}_0x35b0a0[_0x19aea5(0x144)]=0x0,_0x135e10[_0x19aea5(0x14d)]();}[_0x416ea5(0x1e2)](_0x22aabd){const _0x46122b=_0x416ea5,_0x4d96f6=[],_0x422b8e=new Set();for(const _0x6e62ec of this[_0x46122b(0x1b3)](_0x22aabd,_0x422b8e))_0x4d96f6[_0x46122b(0x193)](_0x6e62ec);return _0x4d96f6;}}class _0x4b7526 extends _0x259973[_0x416ea5(0x1c2)]{async['_apply'](_0x488f38=!0x1){const _0x298ec0=_0x416ea5;_0x488f38?this[_0x298ec0(0x19d)][_0x298ec0(0x13c)](_0x259973['FormulaExecuteStageType'][_0x298ec0(0x1d5)]):this[_0x298ec0(0x19d)][_0x298ec0(0x13c)](_0x259973[_0x298ec0(0x1e5)]['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x298ec0(0x175)](this['_runtimeService'][_0x298ec0(0x141)]());const _0x1871d0=await this[_0x298ec0(0x191)][_0x298ec0(0x177)](),_0x1327a8=this[_0x298ec0(0x1b6)];_0x488f38?(this[_0x298ec0(0x19d)][_0x298ec0(0x13c)](_0x259973[_0x298ec0(0x1e5)][_0x298ec0(0x14a)]),this[_0x298ec0(0x19d)]['setTotalArrayFormulasToCalculate'](_0x1871d0[_0x298ec0(0x144)])):(this[_0x298ec0(0x19d)][_0x298ec0(0x13c)](_0x259973[_0x298ec0(0x1e5)][_0x298ec0(0x1e9)]),this[_0x298ec0(0x19d)][_0x298ec0(0x1b2)](_0x1871d0[_0x298ec0(0x144)])),this[_0x298ec0(0x1d7)]['next'](this[_0x298ec0(0x19d)]['getRuntimeState']());let _0x1f07b1=[];const _0xf766c5=this[_0x298ec0(0x16b)][_0x298ec0(0x1e7)](_0x259973['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0xc22b73=(_0xf766c5==null?void 0x0:_0xf766c5[_0x298ec0(0x17c)])||_0x259973[_0x298ec0(0x170)];let _0x5f0e29=0x0;const _0x470a2f=_0x1871d0[_0x298ec0(0x144)];for(;_0x1871d0['length']>0x0;){const _0x403ff3=_0x1871d0[_0x298ec0(0x1b8)](),_0xa0e87={'node':_0x259973[_0x298ec0(0x17b)](_0x403ff3[_0x298ec0(0x19f)],_0x403ff3[_0x298ec0(0x154)],this['_lexer'],this[_0x298ec0(0x178)],this[_0x298ec0(0x1df)]),'refOffsetX':_0x403ff3[_0x298ec0(0x1b5)],'refOffsetY':_0x403ff3[_0x298ec0(0x1bc)]},_0x109d48=_0x403ff3['getDirtyData'];if(_0x5f0e29%_0xc22b73===0x0&&(await new Promise(_0xf08e76=>{const _0x8f3c08=_0x298ec0,_0x23194d=_0x4602de[_0x8f3c08(0x1d9)](_0xf08e76);_0x1f07b1[_0x8f3c08(0x193)](_0x23194d);}),_0x488f38?(this['_runtimeService'][_0x298ec0(0x13c)](_0x259973['FormulaExecuteStageType'][_0x298ec0(0x14e)]),this[_0x298ec0(0x19d)]['setCompletedArrayFormulasCount'](_0x5f0e29+0x1)):(this['_runtimeService'][_0x298ec0(0x13c)](_0x259973[_0x298ec0(0x1e5)][_0x298ec0(0x1d2)]),this[_0x298ec0(0x19d)][_0x298ec0(0x13e)](_0x5f0e29+0x1)),this[_0x298ec0(0x1d7)][_0x298ec0(0x175)](this[_0x298ec0(0x19d)][_0x298ec0(0x141)]()),this[_0x298ec0(0x19d)][_0x298ec0(0x1a9)]()||_0xa0e87==null&&_0x109d48==null)){this[_0x298ec0(0x19d)]['setFormulaExecuteStage'](_0x259973[_0x298ec0(0x1e5)][_0x298ec0(0x1c6)]),this[_0x298ec0(0x19d)]['markedAsStopFunctionsExecuted'](),this[_0x298ec0(0x166)][_0x298ec0(0x175)](this[_0x298ec0(0x19d)][_0x298ec0(0x199)]());return;}this[_0x298ec0(0x19d)][_0x298ec0(0x1d4)](_0x403ff3[_0x298ec0(0x1cd)],_0x403ff3[_0x298ec0(0x192)],_0x403ff3[_0x298ec0(0x1c9)],_0x403ff3[_0x298ec0(0x19e)],_0x403ff3['subUnitId'],_0x403ff3[_0x298ec0(0x19f)]);let _0x5d6728;if(_0x109d48!=null&&_0x403ff3['featureId']!=null){const {runtimeCellData:_0x558054,dirtyRanges:_0x2b367c}=_0x109d48(this[_0x298ec0(0x1df)]['getDirtyData'](),this[_0x298ec0(0x19d)][_0x298ec0(0x199)]());this['_runtimeService'][_0x298ec0(0x1c3)](_0x403ff3[_0x298ec0(0x1da)],_0x558054),this[_0x298ec0(0x19d)][_0x298ec0(0x167)](_0x403ff3[_0x298ec0(0x1da)],_0x2b367c);}else _0xa0e87!=null&&(_0x1327a8['checkAsyncNode'](_0xa0e87[_0x298ec0(0x162)])?_0x5d6728=await _0x1327a8[_0x298ec0(0x132)](_0xa0e87):_0x5d6728=_0x1327a8['execute'](_0xa0e87),_0x403ff3[_0x298ec0(0x1d3)]!=null?this[_0x298ec0(0x19d)][_0x298ec0(0x1a1)](_0x403ff3[_0x298ec0(0x1d3)],_0x403ff3[_0x298ec0(0x1b5)],_0x403ff3[_0x298ec0(0x1bc)],_0x5d6728):this[_0x298ec0(0x19d)][_0x298ec0(0x12e)](_0x5d6728));_0x5f0e29++;}return _0x1f07b1[_0x298ec0(0x136)](_0x51741d=>_0x51741d()),_0x1f07b1=[],_0x470a2f>0x0?this[_0x298ec0(0x19d)][_0x298ec0(0x1ee)]():_0x488f38||this[_0x298ec0(0x19d)][_0x298ec0(0x1a8)](),this[_0x298ec0(0x19d)][_0x298ec0(0x199)]();}}class _0x5eb46e extends _0x259973[_0x416ea5(0x1ab)]{constructor(){const _0x232ba1=_0x416ea5;super(...arguments),_0x2dd966(this,_0x232ba1(0x15e),new Map()),_0x2dd966(this,_0x232ba1(0x14c),new _0x4602de['RTree'](!0x0));}[_0x416ea5(0x140)](){const _0x17357e=_0x416ea5;this[_0x17357e(0x190)][_0x17357e(0x14d)](),this['_featureFormulaData'][_0x17357e(0x14d)](),this[_0x17357e(0x1e3)]['clear'](),this[_0x17357e(0x14c)][_0x17357e(0x14d)](),this[_0x17357e(0x15e)][_0x17357e(0x14d)](),this[_0x17357e(0x16c)](),this[_0x17357e(0x1cc)][_0x17357e(0x14d)]();}[_0x416ea5(0x151)](_0x4b715b,_0x4433ab,_0x5b379c,_0x3a58cd){const _0x5ab066=_0x416ea5;this[_0x5ab066(0x190)]['has'](_0x4b715b)||this[_0x5ab066(0x190)][_0x5ab066(0x14f)](_0x4b715b,new Map());const _0x4eb434=this[_0x5ab066(0x190)]['get'](_0x4b715b);_0x4eb434[_0x5ab066(0x158)](_0x4433ab)||_0x4eb434['set'](_0x4433ab,new Map());const _0x7fbe5f=_0x4eb434[_0x5ab066(0x150)](_0x4433ab);_0x7fbe5f['has'](_0x5b379c)||_0x7fbe5f['set'](_0x5b379c,new _0x4602de[(_0x5ab066(0x19c))]()),_0x7fbe5f[_0x5ab066(0x150)](_0x5b379c)[_0x5ab066(0x1bd)](_0x3a58cd[_0x5ab066(0x1b5)],_0x3a58cd[_0x5ab066(0x1bc)],_0x3a58cd[_0x5ab066(0x1dd)]);}[_0x416ea5(0x1de)](_0x28334f,_0x586486,_0x321baf){const _0x24f319=_0x416ea5,_0x596ca8=this[_0x24f319(0x190)][_0x24f319(0x150)](_0x28334f);if(_0x596ca8&&_0x596ca8[_0x24f319(0x158)](_0x586486)){const _0x2b3239=_0x596ca8[_0x24f319(0x150)](_0x586486);_0x321baf['forEach'](_0x1ab16d=>{const _0x1cdfa4=_0x24f319,_0x41114c=_0x2b3239['get'](_0x1ab16d);_0x41114c!=null&&(_0x41114c['forValue']((_0x513c0c,_0x2f7642,_0x44fa40)=>{const _0x122352=_0x166a;this[_0x122352(0x18d)](_0x44fa40),this['_removeAllTreeMap'](_0x44fa40);}),_0x2b3239[_0x1cdfa4(0x15a)](_0x1ab16d),this[_0x1cdfa4(0x1cc)]['delete'](_0x1ab16d));}),_0x2b3239[_0x24f319(0x172)]===0x0&&_0x596ca8[_0x24f319(0x15a)](_0x586486),_0x596ca8[_0x24f319(0x172)]===0x0&&this[_0x24f319(0x190)][_0x24f319(0x15a)](_0x28334f);}}[_0x416ea5(0x187)](_0x2b3fe7,_0x3cb36e){const _0x3f4b16=_0x416ea5,_0x1528fa=this[_0x3f4b16(0x190)][_0x3f4b16(0x150)](_0x2b3fe7);if(_0x3cb36e&&_0x1528fa&&_0x1528fa[_0x3f4b16(0x158)](_0x3cb36e)){const _0x31e410=_0x1528fa[_0x3f4b16(0x150)](_0x3cb36e);this[_0x3f4b16(0x1b1)](_0x2b3fe7,_0x3cb36e);for(const _0x21597d of _0x31e410[_0x3f4b16(0x1be)]()){const _0x5e4a25=_0x31e410[_0x3f4b16(0x150)](_0x21597d);_0x5e4a25!=null&&(_0x5e4a25[_0x3f4b16(0x1a2)]((_0xd55b89,_0x5f93ca,_0x55a148)=>{const _0x10f22a=_0x3f4b16;this[_0x10f22a(0x15e)][_0x10f22a(0x150)](_0x55a148)&&this[_0x10f22a(0x1cb)](_0x55a148);}),this[_0x3f4b16(0x1cc)][_0x3f4b16(0x15a)](_0x21597d));}_0x31e410[_0x3f4b16(0x14d)]();}else{if(_0x1528fa){for(const _0x55b1e9 of _0x1528fa[_0x3f4b16(0x1be)]()){const _0x4dabf5=_0x1528fa[_0x3f4b16(0x150)](_0x55b1e9);this[_0x3f4b16(0x1b1)](_0x2b3fe7,_0x55b1e9);for(const _0x439ece of _0x4dabf5['keys']()){const _0x19ff58=_0x4dabf5[_0x3f4b16(0x150)](_0x439ece);_0x19ff58!=null&&(_0x19ff58[_0x3f4b16(0x1a2)]((_0x2be678,_0x406f46,_0x2356cb)=>{const _0x4bce81=_0x3f4b16;this['_allTreeMap'][_0x4bce81(0x150)](_0x2356cb)&&this[_0x4bce81(0x1cb)](_0x2356cb);}),this[_0x3f4b16(0x1cc)][_0x3f4b16(0x15a)](_0x439ece));}}this[_0x3f4b16(0x190)][_0x3f4b16(0x15a)](_0x2b3fe7);}}}[_0x416ea5(0x1bb)](_0x59246f,_0x5cdde1,_0x572e43,_0x27808d){const _0x1ec5db=_0x416ea5;this['_featureFormulaData'][_0x1ec5db(0x158)](_0x59246f)||this[_0x1ec5db(0x12f)][_0x1ec5db(0x14f)](_0x59246f,new Map());const _0x287439=this[_0x1ec5db(0x12f)][_0x1ec5db(0x150)](_0x59246f);_0x287439[_0x1ec5db(0x158)](_0x5cdde1)||_0x287439[_0x1ec5db(0x14f)](_0x5cdde1,new Map()),_0x287439[_0x1ec5db(0x150)](_0x5cdde1)[_0x1ec5db(0x14f)](_0x572e43,_0x27808d['treeId']);}[_0x416ea5(0x173)](_0x2c206b,_0x58328b,_0x3d19ad){const _0x58dbd1=_0x416ea5,_0x5a2f88=this[_0x58dbd1(0x12f)][_0x58dbd1(0x150)](_0x2c206b);if(_0x5a2f88&&_0x5a2f88[_0x58dbd1(0x158)](_0x58328b)){const _0x33875e=_0x5a2f88[_0x58dbd1(0x150)](_0x58328b);_0x3d19ad['forEach'](_0x47fb89=>{const _0x267c22=_0x58dbd1,_0x5dcef5=_0x33875e[_0x267c22(0x150)](_0x47fb89);_0x5dcef5!=null&&(this[_0x267c22(0x18d)](_0x5dcef5),_0x33875e[_0x267c22(0x15a)](_0x47fb89),this['_removeAllTreeMap'](_0x5dcef5));});}}[_0x416ea5(0x1f0)](_0x47a771,_0x34a697){const _0x346cfb=_0x416ea5,_0x17d350=this['_featureFormulaData'][_0x346cfb(0x150)](_0x47a771);if(_0x34a697&&_0x17d350&&_0x17d350['has'](_0x34a697)){const _0x17d9ba=_0x17d350[_0x346cfb(0x150)](_0x34a697);this[_0x346cfb(0x1b1)](_0x47a771,_0x34a697),_0x17d9ba[_0x346cfb(0x136)](_0x4f7c3b=>{const _0x46fe5c=_0x346cfb;_0x4f7c3b!=null&&this[_0x46fe5c(0x1cb)](_0x4f7c3b);}),_0x17d9ba[_0x346cfb(0x14d)]();}else _0x17d350&&(_0x17d350[_0x346cfb(0x136)]((_0x3af91a,_0x2f4061)=>{const _0x55dc07=_0x346cfb;this['_removeDependencyRTreeCacheById'](_0x47a771,_0x2f4061),_0x3af91a[_0x55dc07(0x136)](_0x3916af=>{const _0x4b75e3=_0x55dc07;_0x3916af!=null&&this[_0x4b75e3(0x1cb)](_0x3916af);});}),this[_0x346cfb(0x12f)][_0x346cfb(0x15a)](_0x47a771));}[_0x416ea5(0x18c)](_0x17926c,_0x1fdc73,_0x48208b,_0x157669,_0x4566f3){const _0x5b05fc=_0x416ea5;this[_0x5b05fc(0x1e3)][_0x5b05fc(0x158)](_0x17926c)||this['_formulaData'][_0x5b05fc(0x14f)](_0x17926c,new Map());const _0x47bbe9=this[_0x5b05fc(0x1e3)]['get'](_0x17926c);_0x47bbe9[_0x5b05fc(0x158)](_0x1fdc73)||_0x47bbe9[_0x5b05fc(0x14f)](_0x1fdc73,new _0x4602de[(_0x5b05fc(0x19c))]()),_0x47bbe9['get'](_0x1fdc73)[_0x5b05fc(0x1bd)](_0x48208b,_0x157669,_0x4566f3[_0x5b05fc(0x1dd)]);}[_0x416ea5(0x142)](_0xb717b0,_0x19c124,_0x4460c8,_0x17255f){const _0x329b3d=_0x416ea5,_0x366c80=this[_0x329b3d(0x1e3)][_0x329b3d(0x150)](_0xb717b0);if(_0x366c80&&_0x366c80[_0x329b3d(0x158)](_0x19c124)){const _0x585319=_0x366c80[_0x329b3d(0x150)](_0x19c124),_0x4dfcb1=_0x585319[_0x329b3d(0x1ce)](_0x4460c8,_0x17255f);if(_0x4dfcb1==null)return;this[_0x329b3d(0x18d)](_0x4dfcb1),_0x585319[_0x329b3d(0x181)](_0x4460c8,_0x17255f),this[_0x329b3d(0x1cb)](_0x4dfcb1);}}[_0x416ea5(0x16f)](_0x2f6c73,_0x4e889e){const _0x3a12e7=_0x416ea5,_0x5da613=this[_0x3a12e7(0x1e3)][_0x3a12e7(0x150)](_0x2f6c73);if(_0x4e889e&&_0x5da613&&_0x5da613[_0x3a12e7(0x158)](_0x4e889e)){const _0x482cb1=_0x5da613[_0x3a12e7(0x150)](_0x4e889e);this[_0x3a12e7(0x1b1)](_0x2f6c73,_0x4e889e),_0x482cb1['forValue']((_0xf03d5d,_0x5b03e2,_0x107c46)=>{if(_0x107c46==null)return!0x0;this['_removeAllTreeMap'](_0x107c46);}),_0x482cb1[_0x3a12e7(0x140)]();}else _0x5da613&&(_0x5da613['forEach']((_0x421d6e,_0x51e5bc)=>{this['_removeDependencyRTreeCacheById'](_0x2f6c73,_0x51e5bc),_0x421d6e['forValue']((_0x9f37c4,_0x19b61b,_0x2b279b)=>{const _0xecf149=_0x166a;if(_0x2b279b==null)return!0x0;this[_0xecf149(0x1cb)](_0x2b279b);});}),this['_formulaData'][_0x3a12e7(0x15a)](_0x2f6c73));}[_0x416ea5(0x18d)](_0x12c25f){const _0x40de7a=_0x416ea5;if(_0x12c25f==null)return;const _0x37c517=this[_0x40de7a(0x15e)][_0x40de7a(0x150)](_0x12c25f);if(_0x37c517){const _0x1f6d60=[];for(const [_0x4e780f,_0x39731b]of _0x37c517)for(const [_0x19d22f,_0x679704]of _0x39731b)_0x1f6d60[_0x40de7a(0x193)]({'unitId':_0x4e780f,'sheetId':_0x19d22f,'range':_0x679704,'id':_0x12c25f});this[_0x40de7a(0x14c)][_0x40de7a(0x1b0)](_0x1f6d60);}}['removeFormulaDependencyByDefinedName'](_0x1ea0bf,_0x4f9382){const _0x36c14a=_0x416ea5,_0x509a77=this[_0x36c14a(0x1c5)][_0x36c14a(0x150)](_0x1ea0bf);if(_0x509a77){const _0xa35e7f=_0x509a77[_0x36c14a(0x150)](_0x4f9382);if(_0xa35e7f){for(const _0x4382bd of _0xa35e7f)this[_0x36c14a(0x18d)](_0x4382bd),this[_0x36c14a(0x1cb)](_0x4382bd);_0xa35e7f[_0x36c14a(0x14d)]();}}}[_0x416ea5(0x138)](){const _0x1468bf=_0x416ea5;this[_0x1468bf(0x14c)][_0x1468bf(0x138)]();}[_0x416ea5(0x174)](){const _0x3f25c0=_0x416ea5;this[_0x3f25c0(0x14c)][_0x3f25c0(0x174)]();}['_removeAllTreeMap'](_0xdcc122){const _0x2e1c9d=_0x416ea5;_0xdcc122!=null&&this[_0x2e1c9d(0x15e)][_0x2e1c9d(0x15a)](_0xdcc122);}[_0x416ea5(0x163)](_0x1fe6bb){const _0x234c2a=_0x416ea5;var _0x426b27,_0x473ca0;const _0x1b8a22=_0x1fe6bb['rangeList'];let _0x48162e=this['_allTreeMap']['get'](_0x1fe6bb[_0x234c2a(0x1dd)]);for(let _0x46ad40=0x0;_0x46ad40<_0x1b8a22['length'];_0x46ad40++){const _0x557679=_0x1b8a22[_0x46ad40];let {unitId:_0x3ca395,sheetId:_0x3b2a5b,range:_0x11b312}=_0x557679;_0x48162e||(_0x48162e=new Map(),this['_allTreeMap'][_0x234c2a(0x14f)](_0x1fe6bb[_0x234c2a(0x1dd)],_0x48162e)),_0x48162e[_0x234c2a(0x158)](_0x3ca395)||_0x48162e[_0x234c2a(0x14f)](_0x3ca395,new Map());const _0x476f7e=(_0x426b27=_0x48162e==null?void 0x0:_0x48162e[_0x234c2a(0x150)](_0x3ca395))==null?void 0x0:_0x426b27[_0x234c2a(0x150)](_0x3b2a5b);_0x476f7e&&(_0x11b312={'startRow':Math[_0x234c2a(0x171)](_0x11b312[_0x234c2a(0x1eb)],_0x476f7e['startRow']),'startColumn':Math[_0x234c2a(0x171)](_0x11b312[_0x234c2a(0x17e)],_0x476f7e['startColumn']),'endRow':Math[_0x234c2a(0x15f)](_0x11b312[_0x234c2a(0x1e4)],_0x476f7e[_0x234c2a(0x1e4)]),'endColumn':Math['max'](_0x11b312[_0x234c2a(0x1b9)],_0x476f7e['endColumn'])}),(_0x473ca0=_0x48162e[_0x234c2a(0x150)](_0x3ca395))==null||_0x473ca0[_0x234c2a(0x14f)](_0x3b2a5b,_0x11b312);}}}var _0x20a8eb=Object[_0x416ea5(0x1ca)],_0x2fe435=(_0x7ed54e,_0x409b36,_0x349ed7,_0x595498)=>{const _0x5c2e08=_0x416ea5;for(var _0x269464=_0x595498>0x1?void 0x0:_0x595498?_0x20a8eb(_0x409b36,_0x349ed7):_0x409b36,_0x1c8f32=_0x7ed54e[_0x5c2e08(0x144)]-0x1,_0x26c3fa;_0x1c8f32>=0x0;_0x1c8f32--)(_0x26c3fa=_0x7ed54e[_0x1c8f32])&&(_0x269464=_0x26c3fa(_0x269464)||_0x269464);return _0x269464;};const _0x187ec5=Number[_0x416ea5(0x1a6)](0x68c5181c);_0x1c8dea[_0x416ea5(0x1a7)]=class extends _0x259973[_0x416ea5(0x1d0)]{['_initializeWithOverride'](){const _0x11e1d0=_0x416ea5;var _0x5f5489,_0x3225a4;this[_0x11e1d0(0x1aa)]()?(_0x5f5489=this[_0x11e1d0(0x18b)])!=null&&_0x5f5489[_0x11e1d0(0x182)]||[[_0x259973[_0x11e1d0(0x13d)],{'useClass':_0x4b7526}],[_0x259973['IDependencyManagerService'],{'useClass':_0x5eb46e}],[_0x259973[_0x11e1d0(0x185)],{'useClass':_0x1762a4}]][_0x11e1d0(0x136)](_0x324822=>this[_0x11e1d0(0x1a3)][_0x11e1d0(0x194)](_0x324822)):(_0x3225a4=this[_0x11e1d0(0x18b)])!=null&&_0x3225a4[_0x11e1d0(0x182)]||[[_0x259973[_0x11e1d0(0x13d)],{'useClass':_0x259973[_0x11e1d0(0x1c2)]}],[_0x259973[_0x11e1d0(0x1a5)],{'useClass':_0x259973['DependencyManagerService']}],[_0x259973[_0x11e1d0(0x185)],{'useClass':_0x259973[_0x11e1d0(0x13a)]}]][_0x11e1d0(0x136)](_0x311520=>this[_0x11e1d0(0x1a3)][_0x11e1d0(0x194)](_0x311520));}[_0x416ea5(0x1aa)](){const _0x4e9ee7=_0x416ea5;var _0x19e4b3;const _0x1c4af0=(_0x19e4b3=this[_0x4e9ee7(0x16b)][_0x4e9ee7(0x1e7)](_0x60545e[_0x4e9ee7(0x1a4)]))!=null?_0x19e4b3:{},{ls:_0x319ba9,pbk:_0x374a95}=_0x1c4af0;if(!_0x319ba9||!_0x374a95)return!0x1;const _0x164e4e=_0x60545e[_0x4e9ee7(0x148)](_0xd76a1a,_0x576b02),_0x5843f9=new Function(_0x4e9ee7(0x17f)+_0x164e4e)()(_0x319ba9,_0x374a95),_0x481143=_0x5843f9[_0x4e9ee7(0x1a0)];return _0x5843f9['valid']&&_0x60545e['isFeatureAuthorizedWithinTime'](_0x481143,'sf',_0x187ec5)?_0x60545e[_0x4e9ee7(0x133)](_0x481143,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x1c8dea['UniverProFormulaEnginePlugin']=_0x2fe435([_0x4602de[_0x416ea5(0x196)](_0x60545e['UniverLicensePlugin'])],_0x1c8dea[_0x416ea5(0x1a7)]),Object[_0x416ea5(0x1be)](_0x259973)['forEach'](_0x47fe73=>{const _0x1939db=_0x416ea5;_0x47fe73!==_0x1939db(0x137)&&!Object[_0x1939db(0x1ef)]['hasOwnProperty'][_0x1939db(0x183)](_0x1c8dea,_0x47fe73)&&Object[_0x1939db(0x1db)](_0x1c8dea,_0x47fe73,{'enumerable':!0x0,'get':()=>_0x259973[_0x47fe73]});}),Object['defineProperty'](_0x1c8dea,Symbol[_0x416ea5(0x145)],{'value':'Module'});}));function _0x166a(_0x22945c,_0x513afd){const _0x3e2c1a=_0x3e2c();return _0x166a=function(_0x166add,_0x5e9543){_0x166add=_0x166add-0x12e;let _0x3e3fb4=_0x3e2c1a[_0x166add];return _0x3e3fb4;},_0x166a(_0x22945c,_0x513afd);}function _0x3e2c(){const _0x2fce31=['getFormulaData','resolve','bulkRemove','_removeDependencyRTreeCacheById','setTotalFormulasToCalculate','_traverse','UniverEngineFormula','refOffsetX','_interpreter','6872892DkbxAK','pop','endColumn','_dependencyManagerService','addFeatureFormulaDependency','refOffsetY','setValue','keys','setSkip','_checkIsCycleDependency','isAdded','CalculateFormulaService','setRuntimeFeatureCellData','_createFDtree','_definedNameMap','IDLE','getDirtyNameMap','ParentDependencyTree\x20object\x20is\x20null','rowCount','getOwnPropertyDescriptor','_removeAllTreeMap','_otherFormulaDataMainData','row','getValue','searchDependency','UniverFormulaEnginePlugin','697578oPXozc','CURRENTLY_CALCULATING','formulaId','setCurrent','START_DEPENDENCY_ARRAY_FORMULA','setAdded','_executionInProgressListener$','addFormulaDependencyByDefinedName','requestImmediateMacroTask','featureId','defineProperty','16KNumcx','treeId','removeOtherFormulaDependency','_currentConfigService','hasOtherFormulaDataMainData','_getUpdateTreeListAndMakeDependency','_calculateRunList','_formulaData','endRow','FormulaExecuteStageType','exports','getConfig','symbol','START_CALCULATION','18628488exHKYE','startRow','_createVirtualFDtree','isCache','markedAsSuccessfullyExecuted','prototype','clearFeatureFormulaDependency','setRuntimeData','_featureFormulaData','refTree','_isCyclicUtilMap','executeAsync','getSheetFeatureLimit','getFormulaDependency','FormulaDependencyTreeType','forEach','default','openKdTree','getDirtyRanges','FormulaDependencyGenerator','generateRandomDependencyTreeId','setFormulaExecuteStage','ICalculateFormulaService','setCompletedFormulasCount','isDirty','reset','getRuntimeState','removeFormulaDependency','addOtherFormulaDependencyMainData','length','toStringTag','@univerjs-pro/license','isExcludeRange','unshiftString','dirtyRanges','START_CALCULATION_ARRAY_FORMULA','featureDirtyRanges','_dependencyRTreeCache','clear','CURRENTLY_CALCULATING_ARRAY_FORMULA','set','get','addOtherFormulaDependency','_lexer','_convertDirtyRangesToUnitRange','formula','UniverProLicense','UniverProEngineFormula','@univerjs/core','has','enableCycleDependency','delete','_getFirstCellOfRange','function','getExcludedRange','_allTreeMap','max','_updateRangeFlatten','FEATURE_FORMULA','node','_addAllTreeMap','1503614rfqMkg','_dependencyRTreeCacheForAddressFunction','_executionCompleteListener$','setRuntimeFeatureRange','iHVfgzRV\x20aQfNZUgzRV(yzfQVcQ,\x20UHJyzfAQZ)\x20{\x20\x20\x20\x20gNZ\x20{\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20yzfQVcQKViRD5NgjNN5Z\x20=\x20yzfQVcQ.cUyzg(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20RNz7zVPQcc57Q\x20=\x20uM8l.U5NcQ(5gRJ(yzfQVcQKViRD5NgjNN5Z[v]));\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!RNz7zVPQcc57Q.Ha)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RNz7zVPQcc57Q.Ha\x20=\x20lH2JQN(yzfQVcQKViRD5NgjNN5Z[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20zcsRNrQN\x20=\x20gZUQRi\x20sRNrQNqyRJ5yMfRUQ\x20!==\x20\x27HVaQizVQa\x27\x20&&\x20cQyi\x20zVcg5VfQRi\x20sRNrQNqyRJ5yMfRUQ;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20fRVgQEg\x20=\x20zcsRNrQN\x20?\x20cQyi\x20:\x204zVaR4;\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57QsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[v]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x202Qcc57Q\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(2Qcc57QsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQsRNa\x20=\x20fRVgQEg.__n5cQ1k__.U5NcQ(yzfQVcQKViRD5NgjNN5Z[B]);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7V5gHNQ\x20=\x20fRVgQEg.__SQE__.cgNzV7ziZ(cz7V5gHNQsRNa);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20cz7VL5yza\x20=\x20fRVgQEg.__hQNziZ__(cz7V5gHNQ,\x202Qcc57Q,\x20UHJyzfAQZ);\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20aR25zV\x20=\x20RNz7zVPQcc57Q.a2;\x20\x20\x20\x20\x20\x20\x20\x20iHVfgzRV\x20zcIR25zVP5gfmzV7(RD5ggQNV,\x20RSRcg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNV\x20=\x20RD5ggQNV.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcg\x20=\x20RSRcg.NQUy5fQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVD5Ngc\x20=\x20U5ggQNV.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgD5Ngc\x20=\x20mRcg.cUyzg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(!U5ggQNV.zVfyHaQc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNV\x20===\x20mRcg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(U5ggQNVD5Ngc.yQV7gm\x20<\x20v\x20||\x20U5ggQNVD5Ngc[F]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20i5ycQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20U5ggQNVMHiizE\x20=\x20U5ggQNVD5Ngc.cyzfQ(o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20mRcgMHiizE\x20=\x20mRcgD5Ngc.cyzfQ(-U5ggQNVD5Ngc.yQV7gm\x20+\x20o).TRzV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20U5ggQNVMHiizE\x20===\x20mRcgMHiizE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yQg\x20aR25zVL5yza\x20=\x20(aR25zV\x20&&\x20aR25zV.yQV7gm)\x20?\x20aR25zV.cR2Q((a2KgQ2)\x20=>\x20zcIR25zVP5gfmzV7(a2KgQ2,\x20yRf5gzRV.mRcgV52Q))\x20:\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20zi\x20(yRf5gzRV.mRcgV52Q\x20===\x20\x27yRf5ymRcg\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR25zVL5yza\x20=\x20gNHQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fRVcg\x20h5yza\x20=\x20cz7VL5yza\x20&&\x20aR25zVL5yza;\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20RNz7zVPQcc57Q,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20f5gfm\x20(QNNRN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NQgHNV\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h5yza:\x20i5ycQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202Qcc57Q:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyTreeCache','dependencySheetName','_configService','_restDependencyTreeId','isForceCalculate','isSkip','clearFormulaDependency','DEFAULT_INTERVAL_COUNT','min','size','removeFeatureFormulaDependency','closeKdTree','next','dispose','generate','_astTreeBuilder','17615ceTniy','961849pHZhmq','generateAstNode','intervalCount','toRTreeItem','startColumn','return\x20','getOtherFormulaDependency','realDeleteValue','notExecuteFormula','call','_registerFormulas','IFormulaDependencyGenerator','rangeList','clearOtherFormulaDependency','_generateTreeList','getDirtyData','bulkSearch','_config','addFormulaDependency','_removeDependencyRTreeCache','FormulaDependencyTree','_getFeatureFormulaTree','_otherFormulaData','_formulaDependencyGenerator','column','push','add','2680266hXoTMz','DependentOn','type','_getTreeById','getAllRuntimeData','isVirtual','subUnitId','ObjectMatrix','_runtimeService','columnCount','unitId','message','setRuntimeOtherData','forValue','_injector','LS_CONFIG_KEY','IDependencyManagerService','parseInt','UniverProFormulaEnginePlugin','markedAsNoFunctionsExecuted','isStopExecution','_initLicenseValid','DependencyManagerBaseService','OTHER_FORMULA','amd'];_0x3e2c=function(){return _0x2fce31;};return _0x3e2c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.10.7-nightly.
|
|
3
|
+
"version": "0.10.7-nightly.202509130703",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/engine-formula": "0.10.7-nightly.
|
|
60
|
+
"@univerjs/core": "0.10.7-nightly.202509130703",
|
|
61
|
+
"@univerjs-pro/license": "0.10.7-nightly.202509130703",
|
|
62
|
+
"@univerjs/engine-formula": "0.10.7-nightly.202509130703"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|