@univerjs-pro/engine-formula 0.9.3 → 0.9.4
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 +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x55b2e7=_0x46dd;(function(_0xb080e0,_0x3530af){const _0x51df80=_0x46dd,_0x4fc140=_0xb080e0();while(!![]){try{const _0x3e49b7=parseInt(_0x51df80(0xe7))/0x1+-parseInt(_0x51df80(0xe3))/0x2+parseInt(_0x51df80(0xe4))/0x3*(parseInt(_0x51df80(0xdd))/0x4)+-parseInt(_0x51df80(0xd8))/0x5*(parseInt(_0x51df80(0xe1))/0x6)+-parseInt(_0x51df80(0xd7))/0x7*(-parseInt(_0x51df80(0xde))/0x8)+parseInt(_0x51df80(0xda))/0x9*(parseInt(_0x51df80(0xe0))/0xa)+parseInt(_0x51df80(0xe6))/0xb*(-parseInt(_0x51df80(0xe2))/0xc);if(_0x3e49b7===_0x3530af)break;else _0x4fc140['push'](_0x4fc140['shift']());}catch(_0x374007){_0x4fc140['push'](_0x4fc140['shift']());}}}(_0x39c0,0x61dcd));Object[_0x55b2e7(0xdb)](exports,Symbol[_0x55b2e7(0xdf)],{'value':_0x55b2e7(0xdc)});function _0x39c0(){const _0x285fa9=['6008AErnep','toStringTag','110rVAdUl','7494wgYJEB','72444SFplOP','327818AxVPzZ','30rslKUZ','default','2167ALJtLt','514571WfXNHm','call','5747EyqHPE','1195GePCGm','forEach','583938hHbyHX','defineProperty','Module','83084GYLAcU'];_0x39c0=function(){return _0x285fa9;};return _0x39c0();}const t=require('@univerjs/engine-formula/facade');function _0x46dd(_0x2bf90c,_0x33c33b){const _0x39c085=_0x39c0();return _0x46dd=function(_0x46ddc6,_0x1a3e34){_0x46ddc6=_0x46ddc6-0xd7;let _0x1c62fb=_0x39c085[_0x46ddc6];return _0x1c62fb;},_0x46dd(_0x2bf90c,_0x33c33b);}Object['keys'](t)[_0x55b2e7(0xd9)](_0x3bfd98=>{const _0x4620f7=_0x55b2e7;_0x3bfd98!==_0x4620f7(0xe5)&&!Object['prototype']['hasOwnProperty'][_0x4620f7(0xe8)](exports,_0x3bfd98)&&Object[_0x4620f7(0xdb)](exports,_0x3bfd98,{'enumerable':!0x0,'get':()=>t[_0x3bfd98]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0xfa8cbd=_0x15ac;function _0x42ae(){const _0x2d7241=['refOffsetY','get','realDeleteValue','setFormulaExecuteStage','4019525ZHXvYl','keys','featureId','dependencySheetName','_currentConfigService','ParentDependencyTree\x20object\x20is\x20null','_dependencyRTreeCacheForAddressFunction','markedAsNoFunctionsExecuted','refTree','UniverProFormulaEnginePlugin','executeAsync','OTHER_FORMULA','_initLicenseValid','START_DEPENDENCY_ARRAY_FORMULA','setRuntimeFeatureRange','addOtherFormulaDependency','setRuntimeFeatureCellData','FormulaExecuteStageType','set','getOwnPropertyDescriptor','_executionInProgressListener$','DependencyManagerBaseService','CalculateFormulaService','pop','_createFDtree','_getFirstCellOfRange','setValue','toRTreeItem','_formulaDependencyGenerator','delete','_definedNameMap','getAllRuntimeData','_dependencyManagerService','openKdTree','endRow','return\x20','searchDependency','removeFeatureFormulaDependency','_isCyclicUtilMap','dirtyRanges','next','LS_CONFIG_KEY','generate','FormulaDependencyGenerator','forEach','_traverse','generateAstNode','hasOtherFormulaDataMainData','subUnitId','_otherFormulaManagerService','_removeDependencyRTreeCache','closeKdTree','_formulaData','_getFeatureFormulaTree','_lexer','FormulaDependencyTree','requestImmediateMacroTask','row','size','add','_otherFormulaData','IDLE','_registerOtherFormulas','intervalCount','clearFormulaDependency','DependencyManagerService','default','markedAsSuccessfullyExecuted','defineProperty','_injector','type','isCache','rangeList','generateRandomDependencyTreeId','getValue','getFormulaData','forValue','toStringTag','3670524xdmVou','checkAsyncNode','START_CALCULATION_ARRAY_FORMULA','DependentOn','execute','ObjectMatrix','Module','length','getFormulaDependency','_checkIsCycleDependency','_astTreeBuilder','16666dkwECO','dispose','isSkip','_initializeWithOverride','_addAllTreeMap','isDirty','getSheetFeatureLimit','3886608MfNtiF','_registerFormulas','addFormulaDependencyByDefinedName','isExcludeRange','_runtimeService','has','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','treeId','_allTreeMap','formulaId','_apply','_removeAllTreeMap','_createVirtualFDtree','prototype','max','_featureFormulaData','addFeatureFormulaDependency','clearOtherFormulaDependency','message','setCompletedArrayFormulasCount','getFeatureFormulaDependency','5651496HamRDY','setCurrent','START_DEPENDENCY','clear','columnCount','refOffsetX','isAdded','getConfig','valid','symbol','UniverFormulaEnginePlugin','getOtherFormulaDependency','push','10024734kqqGjm','IFormulaDependencyGenerator','setCompletedFormulasCount','DEFAULT_INTERVAL_COUNT','getDirtyData','IDependencyManagerService','min','_getTreeById','ICalculateFormulaService','RTree','isStopExecution','markedAsStopFunctionsExecuted','addFormulaDependency','featureDirtyRanges','bulkRemove','addOtherFormulaDependencyMainData','parseInt','formula','unitId','_otherFormulaDataMainData','notExecuteFormula','_configService','getClearDependencyTreeCache','FormulaDependencyTreeType','endColumn','getRuntimeState','_getUpdateTreeListAndMakeDependency','_removeDependencyRTreeCacheById','_config','isForceCalculate','column','bulkSearch','5723137EyaFMZ','reset','setAdded','setSkip','rowCount','setTotalArrayFormulasToCalculate','startRow','isVirtual','113TVfkRC','_dependencyTreeCache','removeFormulaDependency','getDirtyRanges','removeOtherFormulaDependency','Jb2BcUg2\x20f4BGpzcUg2(eUB42O4,\x20zbWeUBl4p)\x20{\x20\x20\x20\x20cGp\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20eUB42O4q2Jg81GcDGG1p\x20=\x20eUB42O4.OzeUc(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20gGURU2N4OO1R4\x20=\x2006IC.z1GO4(1cgW(eUB42O4q2Jg81GcDGG1p[h]));\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!gGURU2N4OO1R4.bf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gGURU2N4OO1R4.bf\x20=\x20CbXW4G(eUB42O4q2Jg81GcDGG1p[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20UOngGZ4G\x20=\x20cpz4gJ\x20ngGZ4GaegW1e6Bgz4\x20!==\x20\x27b2f4JU24f\x27\x20&&\x20O4eJ\x20U2Oc12B4gJ\x20ngGZ4GaegW1e6Bgz4;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20Bg2c4Hc\x20=\x20UOngGZ4G\x20?\x20O4eJ\x20:\x20AU2fgA;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[h]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(X4OO1R4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[S]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(OUR21cbG4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR2v1eUf\x20=\x20Bg2c4Hc.__74GUJp__(OUR21cbG4,\x20X4OO1R4,\x20zbWeUBl4p);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20fgX1U2\x20=\x20gGURU2N4OO1R4.fX;\x20\x20\x20\x20\x20\x20\x20\x20Jb2BcUg2\x20UOrgX1U2N1cBEU2R(g81cc4G2,\x20gYgOc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G2\x20=\x20g81cc4G2.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc\x20=\x20gYgOc.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G281GcO\x20=\x20z1cc4G2.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc81GcO\x20=\x20EgOc.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!z1cc4G2.U2Bebf4O(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G2\x20===\x20EgOc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(z1cc4G281GcO.e42RcE\x20<\x20h\x20||\x20z1cc4G281GcO[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20J1eO4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G26bJJUH\x20=\x20z1cc4G281GcO.OeUB4(o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc6bJJUH\x20=\x20EgOc81GcO.OeUB4(-z1cc4G281GcO.e42RcE\x20+\x20o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G26bJJUH\x20===\x20EgOc6bJJUH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e4c\x20fgX1U2v1eUf\x20=\x20(fgX1U2\x20&&\x20fgX1U2.e42RcE)\x20?\x20fgX1U2.OgX4((fXqc4X)\x20=>\x20UOrgX1U2N1cBEU2R(fXqc4X,\x20egB1cUg2.EgOc21X4))\x20:\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(egB1cUg2.EgOc21X4\x20===\x20\x27egB1eEgOc\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fgX1U2v1eUf\x20=\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x2071eUf\x20=\x20OUR2v1eUf\x20&&\x20fgX1U2v1eUf;\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20gGURU2N4OO1R4,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20B1cBE\x20(4GGgG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf:\x20J1eO4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyRTreeCache'];_0x42ae=function(){return _0x2d7241;};return _0x42ae();}(function(_0x813c73,_0x539c4a){const _0x2c9f27=_0x15ac,_0x11fd74=_0x813c73();while(!![]){try{const _0x211c2c=-parseInt(_0x2c9f27(0x111))/0x1*(parseInt(_0x2c9f27(0x175))/0x2)+-parseInt(_0x2c9f27(0x17c))/0x3+-parseInt(_0x2c9f27(0x16a))/0x4+parseInt(_0x2c9f27(0x11c))/0x5+parseInt(_0x2c9f27(0x19e))/0x6+parseInt(_0x2c9f27(0x109))/0x7+parseInt(_0x2c9f27(0x191))/0x8;if(_0x211c2c===_0x539c4a)break;else _0x11fd74['push'](_0x11fd74['shift']());}catch(_0x56d45e){_0x11fd74['push'](_0x11fd74['shift']());}}}(_0x42ae,0xce096));var N=Object[_0xfa8cbd(0x160)],P=(_0x1be073,_0x4f54cb,_0x16dac0)=>_0x4f54cb in _0x1be073?N(_0x1be073,_0x4f54cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16dac0}):_0x1be073[_0x4f54cb]=_0x16dac0,S=(_0x59c304,_0x56f2d9,_0x3f36af)=>P(_0x59c304,typeof _0x56f2d9!=_0xfa8cbd(0x19a)?_0x56f2d9+'':_0x56f2d9,_0x3f36af);Object[_0xfa8cbd(0x160)](exports,Symbol[_0xfa8cbd(0x169)],{'value':_0xfa8cbd(0x170)});const R=require('@univerjs-pro/license'),C=require('@univerjs/core'),u=require('@univerjs/engine-formula'),z={0x0:'J',0x1:'a',0x2:'n',0x3:'7',0x4:'e',0x5:'Y',0x6:'S',0x7:'v',0x8:'P',0x9:'Q','K':'0','o':'1','h':'2','S':'3','s':'4','i':'5','M':'6','t':'8','x':'9','W':'b','B':'c','f':'d','J':'f','R':'g','E':'h','U':'i','k':'j','Z':'k','e':'l','X':'m','g':'o','z':'p','d':'q','G':'r','O':'s','c':'t','b':'u','A':'w','H':'x','p':'y','L':'z','D':'A','P':'B','Q':'C','r':'D','V':'E','m':'F','a':'G','Y':'H','q':'I','l':'K','F':'L','N':'M','C':'N','I':'O','j':'R','w':'T','T':'U','v':'V','n':'W','u':'X','y':'Z'},J=_0xfa8cbd(0x116);class X extends u[_0xfa8cbd(0x147)]{constructor(){const _0x1ca058=_0xfa8cbd;super(...arguments),S(this,_0x1ca058(0x112),new Map());}[_0xfa8cbd(0x176)](){const _0x138491=_0xfa8cbd;super[_0x138491(0x176)](),this['_dependencyTreeCache'][_0x138491(0x194)]();}async['generate'](){const _0x56cf73=_0xfa8cbd;this['_updateRangeFlatten']();const _0x2ca1b7=this['_currentConfigService'][_0x56cf73(0x167)](),_0x7e89fd=this[_0x56cf73(0x14d)]['getOtherFormulaData'](),_0x44ae9c=this[_0x56cf73(0x120)][_0x56cf73(0xff)]();_0x44ae9c!=null&&Object[_0x56cf73(0x11d)](_0x44ae9c)[_0x56cf73(0x148)](_0x23d3c6=>{const _0xe395aa=_0x56cf73;_0x23d3c6!=null&&Object[_0xe395aa(0x11d)](_0x44ae9c[_0x23d3c6])[_0xe395aa(0x148)](_0x391893=>{const _0xb6b3ff=_0xe395aa;_0x391893!=null&&(this[_0xb6b3ff(0x13c)][_0xb6b3ff(0x18d)](_0x23d3c6,_0x391893),this[_0xb6b3ff(0x13c)]['clearFeatureFormulaDependency'](_0x23d3c6,_0x391893),this[_0xb6b3ff(0x13c)][_0xb6b3ff(0x15c)](_0x23d3c6,_0x391893));});});const _0x109b01=this[_0x56cf73(0x120)]['getUnitData']();await this['_generateTreeList'](_0x2ca1b7,_0x7e89fd,_0x109b01),this[_0x56cf73(0x13c)][_0x56cf73(0x13d)]();const _0xc6b513=this[_0x56cf73(0x103)](),_0x15aa89=this['_calculateRunList'](_0xc6b513);return this[_0x56cf73(0x173)](_0x15aa89)&&this[_0x56cf73(0x180)]['enableCycleDependency'](),this[_0x56cf73(0x112)][_0x56cf73(0x194)](),this[_0x56cf73(0x122)][_0x56cf73(0x194)](),this[_0x56cf73(0x13c)][_0x56cf73(0x14f)](),Promise['resolve'](_0x15aa89);}['_isCyclicUtilMap'](_0xc76f48,_0x554e18){const _0x5c238c=_0xfa8cbd,_0x553543=[_0xc76f48];for(;_0x553543['length']>0x0;){const _0x30b0b4=_0x553543[_0x553543[_0x5c238c(0x171)]-0x1];if((_0x554e18['get'](_0x30b0b4)||0x0)===0x0){_0x554e18[_0x5c238c(0x12e)](_0x30b0b4,0x1);const _0x9ee4b=this[_0x5c238c(0x112)][_0x5c238c(0x119)](_0x30b0b4);if(_0x9ee4b==null){_0x554e18[_0x5c238c(0x12e)](_0x30b0b4,0x2),_0x553543[_0x5c238c(0x133)]();continue;}const _0x4d9745=this[_0x5c238c(0x13c)]['searchDependency'](_0x9ee4b[_0x5c238c(0x137)]());for(const _0x56e242 of _0x4d9745){const _0x459ca3=_0x554e18['get'](_0x56e242)||0x0;if(_0x459ca3===0x1)return!0x0;_0x459ca3===0x0&&_0x553543['push'](_0x56e242);}}else _0x554e18[_0x5c238c(0x12e)](_0x30b0b4,0x2),_0x553543[_0x5c238c(0x133)]();}return!0x1;}[_0xfa8cbd(0x173)](_0x4b8f91){const _0x4f0145=_0xfa8cbd,_0x3ce114=new Map();for(const _0x112924 of _0x4b8f91)if(!_0x3ce114[_0x4f0145(0x181)](_0x112924[_0x4f0145(0x183)])&&this[_0x4f0145(0x142)](_0x112924[_0x4f0145(0x183)],_0x3ce114))return!0x0;return _0x3ce114[_0x4f0145(0x194)](),!0x1;}[_0xfa8cbd(0x151)](_0xa83d01,_0x1c8d4b,_0x58d896){const _0x24a078=_0xfa8cbd,{unitId:_0xbc015d,subUnitId:_0x2f8134,dependencyRanges:_0x519a88,getDirtyData:_0x599bec}=_0x58d896,_0x5b52f8=_0x1c8d4b||u[_0x24a078(0x165)](this[_0x24a078(0x13c)]),_0xbfc534=new u[(_0x24a078(0x153))](_0x5b52f8);_0xbfc534[_0x24a078(0xfb)]=_0xbc015d,_0xbfc534['subUnitId']=_0x2f8134,_0xbfc534[_0x24a078(0x164)]=_0x519a88,_0xbfc534[_0x24a078(0x1a2)]=_0x599bec;const _0x301f1c=_0x599bec(this['_currentConfigService']['getDirtyData'](),this['_runtimeService']['getAllRuntimeData']()),_0x54b650=this['_convertDirtyRangesToUnitRange'](_0x301f1c[_0x24a078(0x143)]);return _0xbfc534[_0x24a078(0x1ab)]=_0x54b650,_0xbfc534['featureId']=_0xa83d01,_0xbfc534[_0x24a078(0x162)]=u[_0x24a078(0x100)]['FEATURE_FORMULA'],this[_0x24a078(0x13c)][_0x24a078(0x18c)](_0xbc015d,_0x2f8134,_0xa83d01,_0xbfc534),this[_0x24a078(0x112)][_0x24a078(0x12e)](_0xbfc534[_0x24a078(0x183)],_0xbfc534),this[_0x24a078(0x13c)][_0x24a078(0x190)](_0x58d896['unitId'],_0x58d896[_0x24a078(0x14c)],_0xa83d01)&&(_0xbfc534['isCache']=!0x0),_0xbfc534;}[_0xfa8cbd(0x15a)](_0x2953a5,_0x2c3340,_0x5ebe5b){const _0x370589=_0xfa8cbd;var _0x8040e9;for(const _0xc87e11 of _0x2c3340){const _0x4c584f=_0x2953a5[_0xc87e11];if(_0x4c584f==null)continue;const _0x1d34ca=Object[_0x370589(0x11d)](_0x4c584f);for(const _0x3476a0 of _0x1d34ca){const _0x24a058=_0x4c584f[_0x3476a0];if(_0x24a058==null)continue;const _0x31124e=Object[_0x370589(0x11d)](_0x24a058);for(const _0xe303f3 of _0x31124e){const _0x3f8edc=this[_0x370589(0x13c)][_0x370589(0x14b)](_0xe303f3),_0x62ef47=_0x24a058[_0xe303f3],{f:_0x14edba,ranges:_0x3968ac}=_0x62ef47;let _0x10a1e3=!0x1;_0x3f8edc&&(_0x10a1e3=!0x0);const {firstRow:_0x1be2b1,firstColumn:_0x494cdc}=this[_0x370589(0x135)](_0x3968ac),_0x46f28e=this[_0x370589(0x13c)][_0x370589(0x19c)](_0xc87e11,_0x3476a0,_0xe303f3),_0x607657=(_0x8040e9=_0x46f28e==null?void 0x0:_0x46f28e[_0x370589(0x166)](0x0,0x0))!=null?_0x8040e9:u['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x194109=new u[(_0x370589(0x153))](_0x607657);for(let _0x223e8f=0x0;_0x223e8f<_0x3968ac[_0x370589(0x171)];_0x223e8f++){const _0x9b1e6b=_0x3968ac[_0x223e8f],{startRow:_0x116530,startColumn:_0x281028,endRow:_0x227e55,endColumn:_0x2702ca}=_0x9b1e6b;for(let _0x39942a=_0x116530;_0x39942a<=_0x227e55;_0x39942a++)for(let _0x3c89da=_0x281028;_0x3c89da<=_0x2702ca;_0x3c89da++){const _0x517125=_0x3c89da-_0x494cdc,_0xc9b0a6=_0x39942a-_0x1be2b1;if(_0x517125===0x0&&_0xc9b0a6===0x0){_0x194109[_0x370589(0xfa)]=_0x14edba,_0x194109[_0x370589(0xfb)]=_0xc87e11,_0x194109['subUnitId']=_0x3476a0,_0x194109[_0x370589(0x185)]=_0xe303f3,_0x194109[_0x370589(0x162)]=u[_0x370589(0x100)][_0x370589(0x127)],_0x194109[_0x370589(0x163)]=_0x10a1e3,_0x5ebe5b['push'](_0x194109),this[_0x370589(0x112)][_0x370589(0x12e)](_0x194109[_0x370589(0x183)],_0x194109),this[_0x370589(0x13c)][_0x370589(0x12b)](_0xc87e11,_0x3476a0,_0xe303f3,_0x194109),this[_0x370589(0x13c)][_0x370589(0x17e)](_0x194109);continue;}const _0x551d87=new u['FormulaDependencyTreeVirtual']();_0x551d87[_0x370589(0x183)]=(_0x46f28e==null?void 0x0:_0x46f28e[_0x370589(0x166)](_0x517125,_0xc9b0a6))||u[_0x370589(0x165)](this[_0x370589(0x13c)]),_0x551d87[_0x370589(0x124)]=_0x194109,_0x551d87[_0x370589(0x196)]=_0x517125,_0x551d87['refOffsetY']=_0xc9b0a6,_0x551d87[_0x370589(0x163)]=_0x10a1e3,this[_0x370589(0x13c)][_0x370589(0x12b)](_0xc87e11,_0x3476a0,_0xe303f3,_0x551d87),this[_0x370589(0x13c)]['addFormulaDependencyByDefinedName'](_0x551d87),_0x5ebe5b[_0x370589(0x19d)](_0x551d87),this[_0x370589(0x112)][_0x370589(0x12e)](_0x551d87[_0x370589(0x183)],_0x551d87);}}this[_0x370589(0x13c)][_0x370589(0xf8)](_0xe303f3);}}}}[_0xfa8cbd(0x17d)](_0x48692c,_0x3d411b,_0x2b15d0,_0x3e8c7e){const _0x5caef6=_0xfa8cbd;for(const _0x45fe78 of _0x48692c){const _0x5bf861=_0x3d411b[_0x45fe78];if(_0x5bf861==null)continue;const _0x38cd91=Object[_0x5caef6(0x11d)](_0x5bf861);for(const _0x560f74 of _0x38cd91){const _0x4d289f=new C[(_0x5caef6(0x16f))](_0x5bf861[_0x560f74]||{}),_0x425d40=new Map();_0x4d289f[_0x5caef6(0x168)]((_0x350352,_0x16f48d,_0x4b6f68)=>{const _0x39613c=_0x5caef6;if(_0x4b6f68==null)return!0x0;const {x:_0x102b2d=0x0,y:_0x1072a7=0x0,si:_0x99e9a2}=_0x4b6f68;if(!(_0x102b2d===0x0&&_0x1072a7===0x0&&_0x99e9a2!=null))return!0x0;const _0x13ade6=this[_0x39613c(0x134)](_0x45fe78,_0x560f74,_0x350352,_0x16f48d,_0x2b15d0,_0x4b6f68),_0x4d652b=this[_0x39613c(0x13c)]['getFormulaDependency'](_0x45fe78,_0x560f74,_0x350352,_0x16f48d);_0x4d652b!=null?_0x13ade6[_0x39613c(0x183)]=_0x4d652b:(this[_0x39613c(0x13c)][_0x39613c(0x1aa)](_0x45fe78,_0x560f74,_0x350352,_0x16f48d,_0x13ade6),this[_0x39613c(0x13c)][_0x39613c(0x17e)](_0x13ade6)),_0x425d40[_0x39613c(0x12e)](_0x99e9a2,_0x13ade6),_0x3e8c7e[_0x39613c(0x19d)](_0x13ade6),this[_0x39613c(0x112)][_0x39613c(0x12e)](_0x13ade6[_0x39613c(0x183)],_0x13ade6);}),_0x4d289f[_0x5caef6(0x168)]((_0x24e99b,_0x4201d6,_0x22b396)=>{const _0x2959d3=_0x5caef6;if(_0x22b396==null)return!0x0;const {x:_0x498a47=0x0,y:_0x2d2edc=0x0,si:_0x1b4894}=_0x22b396;if(_0x498a47===0x0&&_0x2d2edc===0x0&&_0x1b4894!=null)return!0x0;let _0xbebb9;if(_0x1b4894&&_0x425d40['has'](_0x1b4894)){const _0x2abfc8=_0x425d40[_0x2959d3(0x119)](_0x1b4894);_0xbebb9=this[_0x2959d3(0x188)](_0x2abfc8,_0x22b396);}else _0xbebb9=this[_0x2959d3(0x134)](_0x45fe78,_0x560f74,_0x24e99b,_0x4201d6,_0x2b15d0,_0x22b396);const _0x422552=this['_dependencyManagerService'][_0x2959d3(0x172)](_0x45fe78,_0x560f74,_0x24e99b,_0x4201d6);_0x422552!=null?_0xbebb9[_0x2959d3(0x183)]=_0x422552:(this[_0x2959d3(0x13c)][_0x2959d3(0x1aa)](_0x45fe78,_0x560f74,_0x24e99b,_0x4201d6,_0xbebb9),this[_0x2959d3(0x13c)]['addFormulaDependencyByDefinedName'](_0xbebb9)),_0x3e8c7e['push'](_0xbebb9),this['_dependencyTreeCache'][_0x2959d3(0x12e)](_0xbebb9['treeId'],_0xbebb9);}),_0x425d40[_0x5caef6(0x194)]();}}}[_0xfa8cbd(0x134)](_0x36e2ab,_0x41890f,_0x1ef685,_0x3b9a70,_0x193dd7,_0x26a6f0){const _0x34cb59=_0xfa8cbd,{f:_0x44be2b,x:_0x4c1127=0x0,y:_0x1fa0f3=0x0}=_0x26a6f0,_0x2f5174=new u[(_0x34cb59(0x153))](u[_0x34cb59(0x165)](this['_dependencyManagerService'])),_0x3f5d44=_0x193dd7[_0x36e2ab][_0x41890f];return _0x2f5174[_0x34cb59(0xfa)]=_0x44be2b,_0x2f5174['unitId']=_0x36e2ab,_0x2f5174['subUnitId']=_0x41890f,_0x2f5174['row']=_0x1ef685,_0x2f5174[_0x34cb59(0x107)]=_0x3b9a70,_0x2f5174[_0x34cb59(0x10d)]=_0x3f5d44['rowCount'],_0x2f5174[_0x34cb59(0x195)]=_0x3f5d44[_0x34cb59(0x195)],_0x2f5174;}['_getUpdateTreeListAndMakeDependency'](){const _0x5f0ecb=_0xfa8cbd,_0x128154=[],_0x47655f=new Set(),_0xfce3c6=this[_0x5f0ecb(0x120)][_0x5f0ecb(0x106)](),_0x1e0d6e=this[_0x5f0ecb(0x120)][_0x5f0ecb(0x114)](),_0x44f945=this[_0x5f0ecb(0x13c)][_0x5f0ecb(0x140)](_0x1e0d6e),_0x12560a=this[_0x5f0ecb(0x122)]['bulkSearch'](_0x1e0d6e);for(const _0x3e4091 of _0x12560a)_0x44f945[_0x5f0ecb(0x157)](_0x3e4091);for(const [_0x4bb5b9,_0x1d3e86]of this['_dependencyTreeCache'])(_0xfce3c6||_0x1d3e86[_0x5f0ecb(0x17a)]||_0x1d3e86[_0x5f0ecb(0x11f)](this['_currentConfigService']['getDirtyNameMap']())||_0x44f945['has'](_0x4bb5b9)&&!_0x1d3e86[_0x5f0ecb(0x17f)](this['_currentConfigService']['getExcludedRange']()))&&!_0x47655f[_0x5f0ecb(0x181)](_0x4bb5b9)&&(_0x128154[_0x5f0ecb(0x19d)](_0x1d3e86),_0x47655f[_0x5f0ecb(0x157)](_0x4bb5b9));for(const [_0x23120b,_0x6412b]of this[_0x5f0ecb(0x112)])_0x6412b[_0x5f0ecb(0x110)]||(_0x6412b['rangeList'][_0x5f0ecb(0x171)]=0x0);return _0x128154;}[_0xfa8cbd(0x1a5)](_0x5d07d6){const _0x1db6f6=_0xfa8cbd;return this[_0x1db6f6(0x112)][_0x1db6f6(0x119)](_0x5d07d6);}['_getTreeNode'](_0x170a03){const _0x36bfbb=_0xfa8cbd;return u['generateAstNode'](_0x170a03[_0x36bfbb(0xfb)],_0x170a03['formula'],this[_0x36bfbb(0x152)],this[_0x36bfbb(0x174)],this['_currentConfigService']);}*[_0xfa8cbd(0x149)](_0x327190,_0x2b15a6){const _0x4c7202=_0xfa8cbd,_0x2d3b54=_0x327190,_0x3f54da=new Set();for(;_0x2d3b54[_0x4c7202(0x171)]>0x0;){const _0x4e2c73=_0x2d3b54[_0x4c7202(0x133)]();if(_0x3f54da[_0x4c7202(0x194)](),_0x4e2c73===void 0x0||_0x4e2c73[_0x4c7202(0x177)]())continue;if(_0x4e2c73[_0x4c7202(0x197)]()){yield _0x4e2c73,_0x4e2c73[_0x4c7202(0x10c)](),_0x2b15a6[_0x4c7202(0x157)](_0x4e2c73[_0x4c7202(0x183)]);continue;}const _0x27d75a=this[_0x4c7202(0x13c)]['searchDependency'](_0x4e2c73[_0x4c7202(0x137)](),_0x2b15a6),_0x19215c=this[_0x4c7202(0x122)][_0x4c7202(0x108)](_0x4e2c73[_0x4c7202(0x137)](),_0x2b15a6);for(const _0x51ca8c of _0x19215c)_0x27d75a[_0x4c7202(0x157)](_0x51ca8c);for(const _0x1289ff of _0x27d75a){const _0xd0d031=this['_dependencyTreeCache']['get'](_0x1289ff);if(!_0xd0d031)throw new Error(_0x4c7202(0x121));_0xd0d031[_0x4c7202(0x197)]()||_0x4e2c73[_0x4c7202(0x177)]()||_0x3f54da[_0x4c7202(0x157)](_0xd0d031);}if(_0x27d75a[_0x4c7202(0x194)](),_0x3f54da[_0x4c7202(0x156)]===0x0)yield _0x4e2c73,_0x4e2c73['setSkip'](),_0x2b15a6['add'](_0x4e2c73['treeId']);else{_0x4e2c73[_0x4c7202(0x10b)](),_0x2d3b54[_0x4c7202(0x19d)](_0x4e2c73);for(const _0x5ad1fa of _0x3f54da)_0x2d3b54[_0x4c7202(0x19d)](_0x5ad1fa);}}_0x2d3b54[_0x4c7202(0x171)]=0x0,_0x3f54da[_0x4c7202(0x194)]();}['_calculateRunList'](_0x581c79){const _0x4f03ed=_0xfa8cbd,_0x5d5ba7=[],_0x240e04=new Set();for(const _0x1763b6 of this[_0x4f03ed(0x149)](_0x581c79,_0x240e04))_0x5d5ba7[_0x4f03ed(0x19d)](_0x1763b6);return _0x5d5ba7;}}class k extends u[_0xfa8cbd(0x132)]{async[_0xfa8cbd(0x186)](_0x4cd088=!0x1){const _0x5aaa34=_0xfa8cbd;_0x4cd088?this['_runtimeService'][_0x5aaa34(0x11b)](u[_0x5aaa34(0x12d)][_0x5aaa34(0x129)]):this['_runtimeService'][_0x5aaa34(0x11b)](u['FormulaExecuteStageType'][_0x5aaa34(0x193)]),this[_0x5aaa34(0x130)][_0x5aaa34(0x144)](this[_0x5aaa34(0x180)]['getRuntimeState']());const _0x5d9cca=await this[_0x5aaa34(0x138)][_0x5aaa34(0x146)](),_0x46782f=this['_interpreter'];_0x4cd088?(this[_0x5aaa34(0x180)][_0x5aaa34(0x11b)](u['FormulaExecuteStageType'][_0x5aaa34(0x16c)]),this[_0x5aaa34(0x180)][_0x5aaa34(0x10e)](_0x5d9cca['length'])):(this[_0x5aaa34(0x180)][_0x5aaa34(0x11b)](u[_0x5aaa34(0x12d)]['START_CALCULATION']),this[_0x5aaa34(0x180)]['setTotalFormulasToCalculate'](_0x5d9cca[_0x5aaa34(0x171)])),this[_0x5aaa34(0x130)]['next'](this[_0x5aaa34(0x180)][_0x5aaa34(0x102)]());let _0x5ae655=[];const _0x2c55eb=this['_configService'][_0x5aaa34(0x198)](u[_0x5aaa34(0x182)]),_0x1b85ec=(_0x2c55eb==null?void 0x0:_0x2c55eb[_0x5aaa34(0x15b)])||u[_0x5aaa34(0x1a1)];let _0x226990=0x0;const _0x5a5bf1=_0x5d9cca[_0x5aaa34(0x171)];for(;_0x5d9cca[_0x5aaa34(0x171)]>0x0;){const _0x3710b9=_0x5d9cca[_0x5aaa34(0x133)](),_0x68129b={'node':u[_0x5aaa34(0x14a)](_0x3710b9['unitId'],_0x3710b9[_0x5aaa34(0xfa)],this[_0x5aaa34(0x152)],this['_astTreeBuilder'],this[_0x5aaa34(0x120)]),'refOffsetX':_0x3710b9['refOffsetX'],'refOffsetY':_0x3710b9[_0x5aaa34(0x118)]},_0x46a411=_0x3710b9[_0x5aaa34(0x1a2)];if(_0x226990%_0x1b85ec===0x0&&(await new Promise(_0x5e0bd7=>{const _0x440b1f=_0x5aaa34,_0x33a6d4=C[_0x440b1f(0x154)](_0x5e0bd7);_0x5ae655[_0x440b1f(0x19d)](_0x33a6d4);}),_0x4cd088?(this['_runtimeService'][_0x5aaa34(0x11b)](u[_0x5aaa34(0x12d)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x5aaa34(0x18f)](_0x226990+0x1)):(this[_0x5aaa34(0x180)][_0x5aaa34(0x11b)](u[_0x5aaa34(0x12d)]['CURRENTLY_CALCULATING']),this[_0x5aaa34(0x180)][_0x5aaa34(0x1a0)](_0x226990+0x1)),this[_0x5aaa34(0x130)][_0x5aaa34(0x144)](this[_0x5aaa34(0x180)][_0x5aaa34(0x102)]()),this['_runtimeService'][_0x5aaa34(0x1a8)]()||_0x68129b==null&&_0x46a411==null)){this[_0x5aaa34(0x180)][_0x5aaa34(0x11b)](u[_0x5aaa34(0x12d)][_0x5aaa34(0x159)]),this['_runtimeService'][_0x5aaa34(0x1a9)](),this['_executionCompleteListener$']['next'](this[_0x5aaa34(0x180)][_0x5aaa34(0x13b)]());return;}this['_runtimeService'][_0x5aaa34(0x192)](_0x3710b9[_0x5aaa34(0x155)],_0x3710b9['column'],_0x3710b9[_0x5aaa34(0x10d)],_0x3710b9[_0x5aaa34(0x195)],_0x3710b9[_0x5aaa34(0x14c)],_0x3710b9[_0x5aaa34(0xfb)]);let _0x43a1ea;if(_0x46a411!=null&&_0x3710b9[_0x5aaa34(0x11e)]!=null){const {runtimeCellData:_0x49cc64,dirtyRanges:_0x2dc008}=_0x46a411(this['_currentConfigService']['getDirtyData'](),this['_runtimeService'][_0x5aaa34(0x13b)]());this[_0x5aaa34(0x180)][_0x5aaa34(0x12c)](_0x3710b9['featureId'],_0x49cc64),this[_0x5aaa34(0x180)][_0x5aaa34(0x12a)](_0x3710b9[_0x5aaa34(0x11e)],_0x2dc008);}else _0x68129b!=null&&(_0x46782f[_0x5aaa34(0x16b)](_0x68129b['node'])?_0x43a1ea=await _0x46782f[_0x5aaa34(0x126)](_0x68129b):_0x43a1ea=_0x46782f[_0x5aaa34(0x16e)](_0x68129b),_0x3710b9[_0x5aaa34(0x185)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x3710b9['formulaId'],_0x3710b9['refOffsetX'],_0x3710b9[_0x5aaa34(0x118)],_0x43a1ea):this['_runtimeService']['setRuntimeData'](_0x43a1ea));_0x226990++;}return _0x5ae655[_0x5aaa34(0x148)](_0xe85378=>_0xe85378()),_0x5ae655=[],_0x5a5bf1>0x0?this[_0x5aaa34(0x180)][_0x5aaa34(0x15f)]():_0x4cd088||this['_runtimeService'][_0x5aaa34(0x123)](),this[_0x5aaa34(0x180)][_0x5aaa34(0x13b)]();}}class V extends u[_0xfa8cbd(0x131)]{constructor(){const _0x4fb186=_0xfa8cbd;super(...arguments),S(this,_0x4fb186(0x184),new Map()),S(this,_0x4fb186(0x117),new C[(_0x4fb186(0x1a7))](!0x0));}[_0xfa8cbd(0x10a)](){const _0x2ff9bc=_0xfa8cbd;this[_0x2ff9bc(0x158)][_0x2ff9bc(0x194)](),this['_featureFormulaData']['clear'](),this[_0x2ff9bc(0x150)]['clear'](),this['_dependencyRTreeCache'][_0x2ff9bc(0x194)](),this[_0x2ff9bc(0x184)][_0x2ff9bc(0x194)](),this['_restDependencyTreeId'](),this[_0x2ff9bc(0xfc)][_0x2ff9bc(0x194)]();}['addOtherFormulaDependency'](_0x1dcea1,_0x23d94c,_0x2bc59a,_0x1d646b){const _0x40debc=_0xfa8cbd;this[_0x40debc(0x158)]['has'](_0x1dcea1)||this[_0x40debc(0x158)][_0x40debc(0x12e)](_0x1dcea1,new Map());const _0x4ed3bf=this[_0x40debc(0x158)]['get'](_0x1dcea1);_0x4ed3bf[_0x40debc(0x181)](_0x23d94c)||_0x4ed3bf['set'](_0x23d94c,new Map());const _0x572410=_0x4ed3bf['get'](_0x23d94c);_0x572410[_0x40debc(0x181)](_0x2bc59a)||_0x572410['set'](_0x2bc59a,new C[(_0x40debc(0x16f))]()),_0x572410[_0x40debc(0x119)](_0x2bc59a)[_0x40debc(0x136)](_0x1d646b[_0x40debc(0x196)],_0x1d646b['refOffsetY'],_0x1d646b['treeId']);}[_0xfa8cbd(0x115)](_0x3311fa,_0x466783,_0x31485c){const _0x3772ac=_0xfa8cbd,_0x4197ac=this[_0x3772ac(0x158)]['get'](_0x3311fa);if(_0x4197ac&&_0x4197ac['has'](_0x466783)){const _0x202a4b=_0x4197ac[_0x3772ac(0x119)](_0x466783);_0x31485c[_0x3772ac(0x148)](_0x527c79=>{const _0x1d3dbe=_0x3772ac,_0x5a0811=_0x202a4b[_0x1d3dbe(0x119)](_0x527c79);_0x5a0811!=null&&(_0x5a0811[_0x1d3dbe(0x168)]((_0x426902,_0x39848d,_0x533e29)=>{const _0x5aa112=_0x1d3dbe;this[_0x5aa112(0x14e)](_0x533e29),this[_0x5aa112(0x187)](_0x533e29);}),_0x202a4b['delete'](_0x527c79),this['_otherFormulaDataMainData'][_0x1d3dbe(0x139)](_0x527c79));}),_0x202a4b['size']===0x0&&_0x4197ac['delete'](_0x466783),_0x4197ac[_0x3772ac(0x156)]===0x0&&this[_0x3772ac(0x158)][_0x3772ac(0x139)](_0x3311fa);}}[_0xfa8cbd(0x18d)](_0x9efad6,_0x2e2a4b){const _0x36e50f=_0xfa8cbd,_0x488537=this[_0x36e50f(0x158)][_0x36e50f(0x119)](_0x9efad6);if(_0x2e2a4b&&_0x488537&&_0x488537[_0x36e50f(0x181)](_0x2e2a4b)){const _0x47a0e8=_0x488537[_0x36e50f(0x119)](_0x2e2a4b);this['_removeDependencyRTreeCacheById'](_0x9efad6,_0x2e2a4b);for(const _0x23687d of _0x47a0e8[_0x36e50f(0x11d)]()){const _0x1c275b=_0x47a0e8[_0x36e50f(0x119)](_0x23687d);_0x1c275b!=null&&(_0x1c275b['forValue']((_0x8f6c80,_0x3691b4,_0x4a3dc7)=>{const _0x1a3f9f=_0x36e50f;this['_allTreeMap'][_0x1a3f9f(0x119)](_0x4a3dc7)&&this[_0x1a3f9f(0x187)](_0x4a3dc7);}),this['_otherFormulaDataMainData'][_0x36e50f(0x139)](_0x23687d));}_0x47a0e8[_0x36e50f(0x194)]();}else{if(_0x488537){for(const _0x44f8f5 of _0x488537[_0x36e50f(0x11d)]()){const _0x267cd5=_0x488537[_0x36e50f(0x119)](_0x44f8f5);this['_removeDependencyRTreeCacheById'](_0x9efad6,_0x44f8f5);for(const _0x499cae of _0x267cd5[_0x36e50f(0x11d)]()){const _0x158ee2=_0x267cd5[_0x36e50f(0x119)](_0x499cae);_0x158ee2!=null&&(_0x158ee2[_0x36e50f(0x168)]((_0x2f2a85,_0x1e9353,_0x506221)=>{const _0x5c7c5f=_0x36e50f;this[_0x5c7c5f(0x184)][_0x5c7c5f(0x119)](_0x506221)&&this[_0x5c7c5f(0x187)](_0x506221);}),this[_0x36e50f(0xfc)]['delete'](_0x499cae));}}this[_0x36e50f(0x158)][_0x36e50f(0x139)](_0x9efad6);}}}[_0xfa8cbd(0x18c)](_0x23b799,_0x177903,_0x47910a,_0x4f7627){const _0x781563=_0xfa8cbd;this[_0x781563(0x18b)]['has'](_0x23b799)||this['_featureFormulaData'][_0x781563(0x12e)](_0x23b799,new Map());const _0xce887f=this[_0x781563(0x18b)][_0x781563(0x119)](_0x23b799);_0xce887f[_0x781563(0x181)](_0x177903)||_0xce887f[_0x781563(0x12e)](_0x177903,new Map()),_0xce887f[_0x781563(0x119)](_0x177903)[_0x781563(0x12e)](_0x47910a,_0x4f7627[_0x781563(0x183)]);}[_0xfa8cbd(0x141)](_0x45f4bb,_0x6ac478,_0x2bc2b1){const _0xa8bf09=_0xfa8cbd,_0x1e763d=this['_featureFormulaData'][_0xa8bf09(0x119)](_0x45f4bb);if(_0x1e763d&&_0x1e763d[_0xa8bf09(0x181)](_0x6ac478)){const _0x174897=_0x1e763d[_0xa8bf09(0x119)](_0x6ac478);_0x2bc2b1[_0xa8bf09(0x148)](_0x169dcb=>{const _0x225a12=_0xa8bf09,_0x4afaaf=_0x174897[_0x225a12(0x119)](_0x169dcb);_0x4afaaf!=null&&(this[_0x225a12(0x14e)](_0x4afaaf),_0x174897[_0x225a12(0x139)](_0x169dcb),this[_0x225a12(0x187)](_0x4afaaf));});}}['clearFeatureFormulaDependency'](_0x18841a,_0x439f19){const _0x379344=_0xfa8cbd,_0x22bcb3=this[_0x379344(0x18b)][_0x379344(0x119)](_0x18841a);if(_0x439f19&&_0x22bcb3&&_0x22bcb3[_0x379344(0x181)](_0x439f19)){const _0x332264=_0x22bcb3[_0x379344(0x119)](_0x439f19);this[_0x379344(0x104)](_0x18841a,_0x439f19),_0x332264['forEach'](_0x1f4aaf=>{const _0x4675c0=_0x379344;_0x1f4aaf!=null&&this[_0x4675c0(0x187)](_0x1f4aaf);}),_0x332264[_0x379344(0x194)]();}else _0x22bcb3&&(_0x22bcb3['forEach']((_0x4478c9,_0x57d05f)=>{const _0x205b85=_0x379344;this['_removeDependencyRTreeCacheById'](_0x18841a,_0x57d05f),_0x4478c9[_0x205b85(0x148)](_0x4dc91c=>{const _0x2b5b9e=_0x205b85;_0x4dc91c!=null&&this[_0x2b5b9e(0x187)](_0x4dc91c);});}),this[_0x379344(0x18b)][_0x379344(0x139)](_0x18841a));}['addFormulaDependency'](_0x1f8ab2,_0x501eb3,_0x59bf60,_0x318fc1,_0x5b0670){const _0x145f07=_0xfa8cbd;this[_0x145f07(0x150)][_0x145f07(0x181)](_0x1f8ab2)||this[_0x145f07(0x150)][_0x145f07(0x12e)](_0x1f8ab2,new Map());const _0x336efb=this[_0x145f07(0x150)][_0x145f07(0x119)](_0x1f8ab2);_0x336efb[_0x145f07(0x181)](_0x501eb3)||_0x336efb[_0x145f07(0x12e)](_0x501eb3,new C['ObjectMatrix']()),_0x336efb[_0x145f07(0x119)](_0x501eb3)[_0x145f07(0x136)](_0x59bf60,_0x318fc1,_0x5b0670[_0x145f07(0x183)]);}[_0xfa8cbd(0x113)](_0x35a4c8,_0x30129,_0x1335e6,_0x228936){const _0x3c0d6d=_0xfa8cbd,_0x1d4590=this[_0x3c0d6d(0x150)][_0x3c0d6d(0x119)](_0x35a4c8);if(_0x1d4590&&_0x1d4590[_0x3c0d6d(0x181)](_0x30129)){const _0x2d6b2b=_0x1d4590[_0x3c0d6d(0x119)](_0x30129),_0x35d31e=_0x2d6b2b['getValue'](_0x1335e6,_0x228936);if(_0x35d31e==null)return;this[_0x3c0d6d(0x14e)](_0x35d31e),_0x2d6b2b[_0x3c0d6d(0x11a)](_0x1335e6,_0x228936),this['_removeAllTreeMap'](_0x35d31e);}}[_0xfa8cbd(0x15c)](_0x2b8379,_0x16c491){const _0x4802a4=_0xfa8cbd,_0x232a4e=this[_0x4802a4(0x150)][_0x4802a4(0x119)](_0x2b8379);if(_0x16c491&&_0x232a4e&&_0x232a4e[_0x4802a4(0x181)](_0x16c491)){const _0x317ed7=_0x232a4e[_0x4802a4(0x119)](_0x16c491);this[_0x4802a4(0x104)](_0x2b8379,_0x16c491),_0x317ed7[_0x4802a4(0x168)]((_0x5d3973,_0x17ba01,_0x2c3c80)=>{const _0x596e72=_0x4802a4;if(_0x2c3c80==null)return!0x0;this[_0x596e72(0x187)](_0x2c3c80);}),_0x317ed7[_0x4802a4(0x10a)]();}else _0x232a4e&&(_0x232a4e['forEach']((_0x551514,_0x2293a5)=>{const _0x5935ac=_0x4802a4;this[_0x5935ac(0x104)](_0x2b8379,_0x2293a5),_0x551514['forValue']((_0x5ce70c,_0x20246b,_0x5f0a00)=>{const _0x2c4408=_0x5935ac;if(_0x5f0a00==null)return!0x0;this[_0x2c4408(0x187)](_0x5f0a00);});}),this[_0x4802a4(0x150)][_0x4802a4(0x139)](_0x2b8379));}[_0xfa8cbd(0x14e)](_0x4ff673){const _0x2358cd=_0xfa8cbd;if(_0x4ff673==null)return;const _0x1b546a=this[_0x2358cd(0x184)]['get'](_0x4ff673);if(_0x1b546a){const _0x18aa7e=[];for(const [_0xc94f24,_0x11dc54]of _0x1b546a)for(const [_0x2b4e0a,_0x2e8abe]of _0x11dc54)_0x18aa7e[_0x2358cd(0x19d)]({'unitId':_0xc94f24,'sheetId':_0x2b4e0a,'range':_0x2e8abe,'id':_0x4ff673});this[_0x2358cd(0x117)][_0x2358cd(0xf7)](_0x18aa7e);}}['removeFormulaDependencyByDefinedName'](_0x54be35,_0x40e405){const _0x98a9a2=_0xfa8cbd,_0x1bcbba=this[_0x98a9a2(0x13a)][_0x98a9a2(0x119)](_0x54be35);if(_0x1bcbba){const _0x498740=_0x1bcbba['get'](_0x40e405);if(_0x498740){for(const _0x41b33a of _0x498740)this[_0x98a9a2(0x14e)](_0x41b33a),this[_0x98a9a2(0x187)](_0x41b33a);_0x498740[_0x98a9a2(0x194)]();}}}[_0xfa8cbd(0x13d)](){const _0x55c3e7=_0xfa8cbd;this[_0x55c3e7(0x117)][_0x55c3e7(0x13d)]();}[_0xfa8cbd(0x14f)](){this['_dependencyRTreeCache']['closeKdTree']();}[_0xfa8cbd(0x187)](_0xd0f1a9){const _0x8a19c3=_0xfa8cbd;_0xd0f1a9!=null&&this[_0x8a19c3(0x184)][_0x8a19c3(0x139)](_0xd0f1a9);}[_0xfa8cbd(0x179)](_0x168a4e){const _0x59bfef=_0xfa8cbd;var _0x5b1ffd,_0x1ff20d;const _0x2234bd=_0x168a4e[_0x59bfef(0x164)];let _0x1ed339=this[_0x59bfef(0x184)][_0x59bfef(0x119)](_0x168a4e[_0x59bfef(0x183)]);for(let _0x34cb7b=0x0;_0x34cb7b<_0x2234bd[_0x59bfef(0x171)];_0x34cb7b++){const _0x3819f7=_0x2234bd[_0x34cb7b];let {unitId:_0x1f7c24,sheetId:_0x88b198,range:_0x37b001}=_0x3819f7;_0x1ed339||(_0x1ed339=new Map(),this['_allTreeMap'][_0x59bfef(0x12e)](_0x168a4e[_0x59bfef(0x183)],_0x1ed339)),_0x1ed339[_0x59bfef(0x181)](_0x1f7c24)||_0x1ed339[_0x59bfef(0x12e)](_0x1f7c24,new Map());const _0x4c1497=(_0x5b1ffd=_0x1ed339==null?void 0x0:_0x1ed339[_0x59bfef(0x119)](_0x1f7c24))==null?void 0x0:_0x5b1ffd[_0x59bfef(0x119)](_0x88b198);_0x4c1497&&(_0x37b001={'startRow':Math[_0x59bfef(0x1a4)](_0x37b001['startRow'],_0x4c1497[_0x59bfef(0x10f)]),'startColumn':Math['min'](_0x37b001['startColumn'],_0x4c1497['startColumn']),'endRow':Math['max'](_0x37b001[_0x59bfef(0x13e)],_0x4c1497['endRow']),'endColumn':Math[_0x59bfef(0x18a)](_0x37b001[_0x59bfef(0x101)],_0x4c1497['endColumn'])}),(_0x1ff20d=_0x1ed339['get'](_0x1f7c24))==null||_0x1ff20d[_0x59bfef(0x12e)](_0x88b198,_0x37b001);}}}var Y=Object[_0xfa8cbd(0x12f)],H=(_0x3ddb6e,_0x5d857b,_0x2b9cf9,_0x1ecb9e)=>{const _0x53f605=_0xfa8cbd;for(var _0x554aad=_0x1ecb9e>0x1?void 0x0:_0x1ecb9e?Y(_0x5d857b,_0x2b9cf9):_0x5d857b,_0x2f895b=_0x3ddb6e[_0x53f605(0x171)]-0x1,_0x31179e;_0x2f895b>=0x0;_0x2f895b--)(_0x31179e=_0x3ddb6e[_0x2f895b])&&(_0x554aad=_0x31179e(_0x554aad)||_0x554aad);return _0x554aad;};function _0x15ac(_0x887d57,_0x47881b){const _0x42aea8=_0x42ae();return _0x15ac=function(_0x15acd5,_0x222a99){_0x15acd5=_0x15acd5-0xf7;let _0x5f3e65=_0x42aea8[_0x15acd5];return _0x5f3e65;},_0x15ac(_0x887d57,_0x47881b);}const j=Number[_0xfa8cbd(0xf9)](0x687b5697);exports[_0xfa8cbd(0x125)]=class extends u[_0xfa8cbd(0x19b)]{[_0xfa8cbd(0x178)](){const _0x4fa1db=_0xfa8cbd;var _0x57b9d3,_0x5574c1;this['_initLicenseValid']()?(_0x57b9d3=this[_0x4fa1db(0x105)])!=null&&_0x57b9d3[_0x4fa1db(0xfd)]||[[u['ICalculateFormulaService'],{'useClass':k}],[u[_0x4fa1db(0x1a3)],{'useClass':V}],[u[_0x4fa1db(0x19f)],{'useClass':X}]][_0x4fa1db(0x148)](_0x34f38a=>this[_0x4fa1db(0x161)][_0x4fa1db(0x157)](_0x34f38a)):(_0x5574c1=this['_config'])!=null&&_0x5574c1[_0x4fa1db(0xfd)]||[[u[_0x4fa1db(0x1a6)],{'useClass':u[_0x4fa1db(0x132)]}],[u[_0x4fa1db(0x1a3)],{'useClass':u[_0x4fa1db(0x15d)]}],[u[_0x4fa1db(0x19f)],{'useClass':u[_0x4fa1db(0x147)]}]][_0x4fa1db(0x148)](_0x54f57e=>this[_0x4fa1db(0x161)][_0x4fa1db(0x157)](_0x54f57e));}[_0xfa8cbd(0x128)](){const _0x2cc376=_0xfa8cbd;var _0x362433;const _0x5b4ced=(_0x362433=this[_0x2cc376(0xfe)][_0x2cc376(0x198)](R[_0x2cc376(0x145)]))!=null?_0x362433:{},{ls:_0x52fbc2,pbk:_0x2bd406}=_0x5b4ced;if(!_0x52fbc2||!_0x2bd406)return!0x1;const _0x49f705=R['unshiftString'](J,z),_0x72d89a=new Function(_0x2cc376(0x13f)+_0x49f705)()(_0x52fbc2,_0x2bd406),_0x38aaa0=_0x72d89a[_0x2cc376(0x18e)];return _0x72d89a[_0x2cc376(0x199)]&&R['isFeatureAuthorizedWithinTime'](_0x38aaa0,'sf',j)?R[_0x2cc376(0x17b)](_0x38aaa0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0xfa8cbd(0x125)]=H([C[_0xfa8cbd(0x16d)](R['UniverLicensePlugin'])],exports[_0xfa8cbd(0x125)]),Object['keys'](u)[_0xfa8cbd(0x148)](_0x3486e6=>{const _0x2c5f1f=_0xfa8cbd;_0x3486e6!==_0x2c5f1f(0x15e)&&!Object[_0x2c5f1f(0x189)]['hasOwnProperty']['call'](exports,_0x3486e6)&&Object[_0x2c5f1f(0x160)](exports,_0x3486e6,{'enumerable':!0x0,'get':()=>u[_0x3486e6]});});
|
|
1
|
+
'use strict';const _0x215d0c=_0x5aba;(function(_0x25b24d,_0x37d13d){const _0x48df89=_0x5aba,_0x4553aa=_0x25b24d();while(!![]){try{const _0x21fab9=parseInt(_0x48df89(0x209))/0x1+parseInt(_0x48df89(0x18a))/0x2+parseInt(_0x48df89(0x216))/0x3*(-parseInt(_0x48df89(0x19b))/0x4)+-parseInt(_0x48df89(0x1a4))/0x5*(-parseInt(_0x48df89(0x211))/0x6)+parseInt(_0x48df89(0x19c))/0x7*(parseInt(_0x48df89(0x200))/0x8)+parseInt(_0x48df89(0x1e5))/0x9*(-parseInt(_0x48df89(0x204))/0xa)+-parseInt(_0x48df89(0x197))/0xb;if(_0x21fab9===_0x37d13d)break;else _0x4553aa['push'](_0x4553aa['shift']());}catch(_0x864f1f){_0x4553aa['push'](_0x4553aa['shift']());}}}(_0x3d81,0x6bc6d));function _0x3d81(){const _0x3977c2=['_dependencyTreeCache','setRuntimeFeatureRange','next','refOffsetX','generateRandomDependencyTreeId','setValue','UniverFormulaEnginePlugin','rangeList','UniverProFormulaEnginePlugin','DEFAULT_INTERVAL_COUNT','_removeDependencyRTreeCacheById','_createFDtree','_executionCompleteListener$','ICalculateFormulaService','removeFormulaDependency','941895ZwtZAa','startColumn','_lexer','CalculateFormulaService','isFeatureAuthorizedWithinTime','_isCyclicUtilMap','_initializeWithOverride','IFormulaDependencyGenerator','_otherFormulaData','_formulaData','_executionInProgressListener$','addOtherFormulaDependency','_generateTreeList','_featureFormulaData','isCache','_formulaDependencyGenerator','getOtherFormulaDependency','DependencyManagerService','generate','isAdded','closeKdTree','_otherFormulaDataMainData','getFormulaDependency','markedAsStopFunctionsExecuted','bulkRemove','endRow','getDirtyData','8NiXpzd','rowCount','hasOtherFormulaDataMainData','_dependencyManagerService','80umEcXd','size','has','_currentConfigService','_dependencyRTreeCacheForAddressFunction','22377vJZqlo','dirtyRanges','get','START_CALCULATION','addFormulaDependencyByDefinedName','forEach','getFeatureFormulaDependency','checkAsyncNode','138fzskte','ObjectMatrix','isVirtual','clear','getConfig','42477RkcbtW','formulaId','_traverse','LS_CONFIG_KEY','_removeDependencyRTreeCache','clearFeatureFormulaDependency','_removeAllTreeMap','length','_convertDirtyRangesToUnitRange','bulkSearch','max','_calculateRunList','IDLE','node','intervalCount','_allTreeMap','enableCycleDependency','getSheetFeatureLimit','_interpreter','DependencyManagerBaseService','toStringTag','formula','getRuntimeState','pop','set','removeOtherFormulaDependency','_runtimeService','markedAsSuccessfullyExecuted','valid','setCompletedArrayFormulasCount','_initLicenseValid','addFormulaDependency','add','type','keys','_configService','IDependencyManagerService','executeAsync','setTotalFormulasToCalculate','_getTreeNode','FormulaDependencyTreeVirtual','_otherFormulaManagerService','generateAstNode','isForceCalculate','min','setSkip','FormulaDependencyGenerator','setCompletedFormulasCount','prototype','clearFormulaDependency','getDirtyNameMap','setAdded','notExecuteFormula','getDirtyRanges','1328504lzUlqJ','featureDirtyRanges','FormulaDependencyTreeType','hasOwnProperty','setCurrent','FormulaDependencyTree','_updateRangeFlatten','symbol','openKdTree','addFeatureFormulaDependency','FEATURE_FORMULA','_registerFormulas','delete','2531815OpVYPl','setRuntimeData','getFormulaData','row','4dTZfhZ','909923zxCWXX','OTHER_FORMULA','UniverLicensePlugin','columnCount','_createVirtualFDtree','markedAsNoFunctionsExecuted','refTree','parseInt','153565MdTYzZ','CURRENTLY_CALCULATING','realDeleteValue','_config','removeFormulaDependencyByDefinedName','getOwnPropertyDescriptor','_restDependencyTreeId','featureId','searchDependency','column','isSkip','dispose','isExcludeRange','START_DEPENDENCY','_astTreeBuilder','execute','removeFeatureFormulaDependency','return\x20','push','_registerOtherFormulas','subUnitId','forValue','dependencySheetName','setFormulaExecuteStage','_injector','_addAllTreeMap','getOtherFormulaData','_checkIsCycleDependency','_getUpdateTreeListAndMakeDependency','LnHepRkH\x20PdehcEpRkH(oRedHqd,\x20EnGoRezdc)\x20{\x20\x20\x20\x20phc\x20{\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20oRedHqd8HLkjwhpNhhwc\x20=\x20oRedHqd.qEoRp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20khRORHrdqqwOd\x20=\x20QZ5i.Ewhqd(wpkG(oRedHqd8HLkjwhpNhhwc[y]));\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!khRORHrdqqwOd.nP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khRORHrdqqwOd.nP\x20=\x20infGdh(oRedHqd8HLkjwhpNhhwc[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20RqtkhWdh\x20=\x20pcEdkL\x20tkhWdh9okGwoZekEd\x20!==\x20\x27nHPdLRHdP\x27\x20&&\x20qdoL\x20RHqpwHedkL\x20tkhWdh9okGwoZekEd;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20ekHpdVp\x20=\x20RqtkhWdh\x20?\x20qdoL\x20:\x20FRHPkF;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[y]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(fdqqwOdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[S]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(qROHwpnhdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHYwoRP\x20=\x20ekHpdVp.__4dhRLc__(qROHwpnhd,\x20fdqqwOd,\x20EnGoRezdc);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20PkfwRH\x20=\x20khRORHrdqqwOd.Pf;\x20\x20\x20\x20\x20\x20\x20\x20LnHepRkH\x20RqIkfwRHrwpeDRHO(kjwppdhH,\x20kCkqp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhH\x20=\x20kjwppdhH.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqp\x20=\x20kCkqp.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHjwhpq\x20=\x20EwppdhH.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqpjwhpq\x20=\x20Dkqp.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!EwppdhH.RHeonPdq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhH\x20===\x20Dkqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(EwppdhHjwhpq.odHOpD\x20<\x20y\x20||\x20EwppdhHjwhpq[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20Lwoqd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHZnLLRV\x20=\x20EwppdhHjwhpq.qoRed(U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20DkqpZnLLRV\x20=\x20Dkqpjwhpq.qoRed(-EwppdhHjwhpq.odHOpD\x20+\x20U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhHZnLLRV\x20===\x20DkqpZnLLRV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20odp\x20PkfwRHYwoRP\x20=\x20(PkfwRH\x20&&\x20PkfwRH.odHOpD)\x20?\x20PkfwRH.qkfd((Pf8pdf)\x20=>\x20RqIkfwRHrwpeDRHO(Pf8pdf,\x20okewpRkH.DkqpHwfd))\x20:\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(okewpRkH.DkqpHwfd\x20===\x20\x27okewoDkqp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PkfwRHYwoRP\x20=\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x204woRP\x20=\x20qROHYwoRP\x20&&\x20PkfwRHYwoRP;\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20khRORHrdqqwOd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ewpeD\x20(dhhkh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP:\x20Lwoqd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','CURRENTLY_CALCULATING_ARRAY_FORMULA','resolve','reset','getExcludedRange','toRTreeItem','getValue','defineProperty','message','treeId','_dependencyRTreeCache','clearOtherFormulaDependency','setRuntimeFeatureCellData','_getFirstCellOfRange','_definedNameMap','_getFeatureFormulaTree','unitId','setTotalArrayFormulasToCalculate','getAllRuntimeData','START_DEPENDENCY_ARRAY_FORMULA','FormulaExecuteStageType'];_0x3d81=function(){return _0x3977c2;};return _0x3d81();}var N=Object[_0x215d0c(0x1c8)],U=(_0x382556,_0x15bff9,_0xf74813)=>_0x15bff9 in _0x382556?N(_0x382556,_0x15bff9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf74813}):_0x382556[_0x15bff9]=_0xf74813,S=(_0x59c677,_0x549d95,_0x578c35)=>U(_0x59c677,typeof _0x549d95!=_0x215d0c(0x191)?_0x549d95+'':_0x549d95,_0x578c35);Object[_0x215d0c(0x1c8)](exports,Symbol[_0x215d0c(0x22a)],{'value':'Module'});const v=require('@univerjs-pro/license'),C=require('@univerjs/core'),l=require('@univerjs/engine-formula'),V={0x0:'5',0x1:'4',0x2:'j',0x3:'7',0x4:'v',0x5:'O',0x6:'0',0x7:'E',0x8:'I',0x9:'G','U':'1','y':'2','S':'3','m':'6','x':'8','T':'9','w':'a','G':'b','e':'c','P':'d','d':'e','L':'f','O':'g','D':'h','R':'i','W':'k','o':'l','f':'m','H':'n','k':'o','E':'p','v':'q','h':'r','q':'s','p':'t','n':'u','F':'w','V':'x','c':'y','M':'z','N':'A','A':'B','X':'C','I':'D','b':'F','C':'H','Q':'J','z':'K','B':'L','r':'M','i':'N','j':'P','K':'Q','u':'R','Z':'S','g':'T','J':'U','Y':'V','t':'W','a':'X','l':'Y','s':'Z'},b=_0x215d0c(0x1c1);class j extends l[_0x215d0c(0x244)]{constructor(){const _0x9e821=_0x215d0c;super(...arguments),S(this,_0x9e821(0x1d6),new Map());}[_0x215d0c(0x1af)](){const _0x51ef10=_0x215d0c;super['dispose'](),this[_0x51ef10(0x1d6)][_0x51ef10(0x214)]();}async[_0x215d0c(0x1f7)](){const _0x51e44c=_0x215d0c;this[_0x51e44c(0x190)]();const _0x40ee75=this['_currentConfigService'][_0x51e44c(0x199)](),_0x40c4bd=this[_0x51e44c(0x23f)][_0x51e44c(0x1be)](),_0x2bc509=this[_0x51e44c(0x207)]['getClearDependencyTreeCache']();_0x2bc509!=null&&Object[_0x51e44c(0x238)](_0x2bc509)[_0x51e44c(0x20e)](_0x2a28e1=>{const _0x37922c=_0x51e44c;_0x2a28e1!=null&&Object[_0x37922c(0x238)](_0x2bc509[_0x2a28e1])[_0x37922c(0x20e)](_0x43af08=>{const _0x4a50c6=_0x37922c;_0x43af08!=null&&(this['_dependencyManagerService'][_0x4a50c6(0x1cc)](_0x2a28e1,_0x43af08),this['_dependencyManagerService'][_0x4a50c6(0x21b)](_0x2a28e1,_0x43af08),this[_0x4a50c6(0x203)][_0x4a50c6(0x185)](_0x2a28e1,_0x43af08));});});const _0x12c40c=this['_currentConfigService']['getUnitData']();await this[_0x51e44c(0x1f1)](_0x40ee75,_0x40c4bd,_0x12c40c),this[_0x51e44c(0x203)][_0x51e44c(0x192)]();const _0x67387f=this[_0x51e44c(0x1c0)](),_0x4f9f7c=this[_0x51e44c(0x221)](_0x67387f);return this[_0x51e44c(0x1bf)](_0x4f9f7c)&&this[_0x51e44c(0x230)][_0x51e44c(0x226)](),this[_0x51e44c(0x1d6)]['clear'](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this['_dependencyManagerService'][_0x51e44c(0x1f9)](),Promise[_0x51e44c(0x1c3)](_0x4f9f7c);}[_0x215d0c(0x1ea)](_0x2c7de9,_0x3061c5){const _0x5a465c=_0x215d0c,_0x29d5c9=[_0x2c7de9];for(;_0x29d5c9[_0x5a465c(0x21d)]>0x0;){const _0x17728f=_0x29d5c9[_0x29d5c9[_0x5a465c(0x21d)]-0x1];if((_0x3061c5[_0x5a465c(0x20b)](_0x17728f)||0x0)===0x0){_0x3061c5[_0x5a465c(0x22e)](_0x17728f,0x1);const _0xb2c93f=this[_0x5a465c(0x1d6)][_0x5a465c(0x20b)](_0x17728f);if(_0xb2c93f==null){_0x3061c5['set'](_0x17728f,0x2),_0x29d5c9[_0x5a465c(0x22d)]();continue;}const _0x1ed0ea=this['_dependencyManagerService'][_0x5a465c(0x1ac)](_0xb2c93f[_0x5a465c(0x1c6)]());for(const _0x54d24d of _0x1ed0ea){const _0x1d2af0=_0x3061c5[_0x5a465c(0x20b)](_0x54d24d)||0x0;if(_0x1d2af0===0x1)return!0x0;_0x1d2af0===0x0&&_0x29d5c9['push'](_0x54d24d);}}else _0x3061c5[_0x5a465c(0x22e)](_0x17728f,0x2),_0x29d5c9[_0x5a465c(0x22d)]();}return!0x1;}[_0x215d0c(0x1bf)](_0x95f467){const _0x38cebd=_0x215d0c,_0x2ad938=new Map();for(const _0xc446fe of _0x95f467)if(!_0x2ad938[_0x38cebd(0x206)](_0xc446fe['treeId'])&&this[_0x38cebd(0x1ea)](_0xc446fe[_0x38cebd(0x1ca)],_0x2ad938))return!0x0;return _0x2ad938[_0x38cebd(0x214)](),!0x1;}[_0x215d0c(0x1d0)](_0x2dc230,_0x5ec99e,_0x436df4){const _0x478ec4=_0x215d0c,{unitId:_0x4bcc67,subUnitId:_0x4d231b,dependencyRanges:_0x567d1c,getDirtyData:_0x25107f}=_0x436df4,_0x1f029e=_0x5ec99e||l[_0x478ec4(0x1da)](this[_0x478ec4(0x203)]),_0x5302cf=new l[(_0x478ec4(0x18f))](_0x1f029e);_0x5302cf[_0x478ec4(0x1d1)]=_0x4bcc67,_0x5302cf['subUnitId']=_0x4d231b,_0x5302cf['rangeList']=_0x567d1c,_0x5302cf[_0x478ec4(0x1ff)]=_0x25107f;const _0x299ceb=_0x25107f(this[_0x478ec4(0x207)][_0x478ec4(0x1ff)](),this[_0x478ec4(0x230)]['getAllRuntimeData']()),_0xa46c78=this[_0x478ec4(0x21e)](_0x299ceb[_0x478ec4(0x20a)]);return _0x5302cf[_0x478ec4(0x18b)]=_0xa46c78,_0x5302cf[_0x478ec4(0x1ab)]=_0x2dc230,_0x5302cf[_0x478ec4(0x237)]=l[_0x478ec4(0x18c)][_0x478ec4(0x194)],this[_0x478ec4(0x203)][_0x478ec4(0x193)](_0x4bcc67,_0x4d231b,_0x2dc230,_0x5302cf),this[_0x478ec4(0x1d6)]['set'](_0x5302cf['treeId'],_0x5302cf),this['_dependencyManagerService'][_0x478ec4(0x20f)](_0x436df4['unitId'],_0x436df4[_0x478ec4(0x1b8)],_0x2dc230)&&(_0x5302cf['isCache']=!0x0),_0x5302cf;}[_0x215d0c(0x1b7)](_0x10215d,_0x454f64,_0x108f25){const _0x1d9814=_0x215d0c;var _0x20e4d1;for(const _0x1cf672 of _0x454f64){const _0x366fd1=_0x10215d[_0x1cf672];if(_0x366fd1==null)continue;const _0x38e611=Object[_0x1d9814(0x238)](_0x366fd1);for(const _0x1113ef of _0x38e611){const _0x4e35f7=_0x366fd1[_0x1113ef];if(_0x4e35f7==null)continue;const _0x2a7b8a=Object[_0x1d9814(0x238)](_0x4e35f7);for(const _0x1c7ee7 of _0x2a7b8a){const _0x468857=this[_0x1d9814(0x203)][_0x1d9814(0x202)](_0x1c7ee7),_0x301fb1=_0x4e35f7[_0x1c7ee7],{f:_0x42c24c,ranges:_0x1b2957}=_0x301fb1;let _0x2dd3f7=!0x1;_0x468857&&(_0x2dd3f7=!0x0);const {firstRow:_0x3fa67a,firstColumn:_0x43c24f}=this[_0x1d9814(0x1ce)](_0x1b2957),_0x4f367d=this['_dependencyManagerService'][_0x1d9814(0x1f5)](_0x1cf672,_0x1113ef,_0x1c7ee7),_0x4f8aa5=(_0x20e4d1=_0x4f367d==null?void 0x0:_0x4f367d[_0x1d9814(0x1c7)](0x0,0x0))!=null?_0x20e4d1:l[_0x1d9814(0x1da)](this[_0x1d9814(0x203)]),_0x462a71=new l[(_0x1d9814(0x18f))](_0x4f8aa5);for(let _0x43bfa9=0x0;_0x43bfa9<_0x1b2957[_0x1d9814(0x21d)];_0x43bfa9++){const _0x48c046=_0x1b2957[_0x43bfa9],{startRow:_0x256ef6,startColumn:_0x1296c9,endRow:_0x1136b2,endColumn:_0x1bfa65}=_0x48c046;for(let _0x29bec3=_0x256ef6;_0x29bec3<=_0x1136b2;_0x29bec3++)for(let _0x401e86=_0x1296c9;_0x401e86<=_0x1bfa65;_0x401e86++){const _0x59dd9a=_0x401e86-_0x43c24f,_0x534a43=_0x29bec3-_0x3fa67a;if(_0x59dd9a===0x0&&_0x534a43===0x0){_0x462a71[_0x1d9814(0x22b)]=_0x42c24c,_0x462a71[_0x1d9814(0x1d1)]=_0x1cf672,_0x462a71['subUnitId']=_0x1113ef,_0x462a71[_0x1d9814(0x217)]=_0x1c7ee7,_0x462a71[_0x1d9814(0x237)]=l[_0x1d9814(0x18c)][_0x1d9814(0x19d)],_0x462a71[_0x1d9814(0x1f3)]=_0x2dd3f7,_0x108f25[_0x1d9814(0x1b6)](_0x462a71),this['_dependencyTreeCache'][_0x1d9814(0x22e)](_0x462a71['treeId'],_0x462a71),this['_dependencyManagerService'][_0x1d9814(0x1f0)](_0x1cf672,_0x1113ef,_0x1c7ee7,_0x462a71),this[_0x1d9814(0x203)]['addFormulaDependencyByDefinedName'](_0x462a71);continue;}const _0x383e8f=new l[(_0x1d9814(0x23e))]();_0x383e8f['treeId']=(_0x4f367d==null?void 0x0:_0x4f367d['getValue'](_0x59dd9a,_0x534a43))||l[_0x1d9814(0x1da)](this[_0x1d9814(0x203)]),_0x383e8f[_0x1d9814(0x1a2)]=_0x462a71,_0x383e8f[_0x1d9814(0x1d9)]=_0x59dd9a,_0x383e8f['refOffsetY']=_0x534a43,_0x383e8f[_0x1d9814(0x1f3)]=_0x2dd3f7,this[_0x1d9814(0x203)][_0x1d9814(0x1f0)](_0x1cf672,_0x1113ef,_0x1c7ee7,_0x383e8f),this[_0x1d9814(0x203)][_0x1d9814(0x20d)](_0x383e8f),_0x108f25['push'](_0x383e8f),this[_0x1d9814(0x1d6)][_0x1d9814(0x22e)](_0x383e8f[_0x1d9814(0x1ca)],_0x383e8f);}}this[_0x1d9814(0x203)]['addOtherFormulaDependencyMainData'](_0x1c7ee7);}}}}[_0x215d0c(0x195)](_0x36d1b8,_0x3783d2,_0x19f354,_0x3e6c71){const _0x4dae0c=_0x215d0c;for(const _0xbef417 of _0x36d1b8){const _0x18cbb9=_0x3783d2[_0xbef417];if(_0x18cbb9==null)continue;const _0x151c3a=Object[_0x4dae0c(0x238)](_0x18cbb9);for(const _0x585c89 of _0x151c3a){const _0x3bf927=new C['ObjectMatrix'](_0x18cbb9[_0x585c89]||{}),_0xcac0e1=new Map();_0x3bf927[_0x4dae0c(0x1b9)]((_0x117a3f,_0x5a3be5,_0x2a86c3)=>{const _0x44cd9e=_0x4dae0c;if(_0x2a86c3==null)return!0x0;const {x:_0x264e19=0x0,y:_0x3f4118=0x0,si:_0x2688d2}=_0x2a86c3;if(!(_0x264e19===0x0&&_0x3f4118===0x0&&_0x2688d2!=null))return!0x0;const _0x1a7ba5=this['_createFDtree'](_0xbef417,_0x585c89,_0x117a3f,_0x5a3be5,_0x19f354,_0x2a86c3),_0x1d2746=this[_0x44cd9e(0x203)][_0x44cd9e(0x1fb)](_0xbef417,_0x585c89,_0x117a3f,_0x5a3be5);_0x1d2746!=null?_0x1a7ba5[_0x44cd9e(0x1ca)]=_0x1d2746:(this[_0x44cd9e(0x203)][_0x44cd9e(0x235)](_0xbef417,_0x585c89,_0x117a3f,_0x5a3be5,_0x1a7ba5),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1a7ba5)),_0xcac0e1[_0x44cd9e(0x22e)](_0x2688d2,_0x1a7ba5),_0x3e6c71[_0x44cd9e(0x1b6)](_0x1a7ba5),this[_0x44cd9e(0x1d6)][_0x44cd9e(0x22e)](_0x1a7ba5[_0x44cd9e(0x1ca)],_0x1a7ba5);}),_0x3bf927[_0x4dae0c(0x1b9)]((_0x46ac9d,_0x3dbd82,_0x53ca26)=>{const _0x3ab8c3=_0x4dae0c;if(_0x53ca26==null)return!0x0;const {x:_0x2fcd61=0x0,y:_0x52c62e=0x0,si:_0x303ad3}=_0x53ca26;if(_0x2fcd61===0x0&&_0x52c62e===0x0&&_0x303ad3!=null)return!0x0;let _0xadbf4d;if(_0x303ad3&&_0xcac0e1[_0x3ab8c3(0x206)](_0x303ad3)){const _0x4126fa=_0xcac0e1[_0x3ab8c3(0x20b)](_0x303ad3);_0xadbf4d=this[_0x3ab8c3(0x1a0)](_0x4126fa,_0x53ca26);}else _0xadbf4d=this[_0x3ab8c3(0x1e1)](_0xbef417,_0x585c89,_0x46ac9d,_0x3dbd82,_0x19f354,_0x53ca26);const _0x57c07a=this['_dependencyManagerService'][_0x3ab8c3(0x1fb)](_0xbef417,_0x585c89,_0x46ac9d,_0x3dbd82);_0x57c07a!=null?_0xadbf4d[_0x3ab8c3(0x1ca)]=_0x57c07a:(this['_dependencyManagerService']['addFormulaDependency'](_0xbef417,_0x585c89,_0x46ac9d,_0x3dbd82,_0xadbf4d),this['_dependencyManagerService'][_0x3ab8c3(0x20d)](_0xadbf4d)),_0x3e6c71[_0x3ab8c3(0x1b6)](_0xadbf4d),this[_0x3ab8c3(0x1d6)][_0x3ab8c3(0x22e)](_0xadbf4d['treeId'],_0xadbf4d);}),_0xcac0e1[_0x4dae0c(0x214)]();}}}['_createFDtree'](_0x205246,_0x1da5e8,_0xe55134,_0x566c2e,_0x269e41,_0x4cbd4b){const _0x1adab7=_0x215d0c,{f:_0x2d505b,x:_0x4354e3=0x0,y:_0x15feba=0x0}=_0x4cbd4b,_0x40d34d=new l[(_0x1adab7(0x18f))](l[_0x1adab7(0x1da)](this[_0x1adab7(0x203)])),_0x1e2fca=_0x269e41[_0x205246][_0x1da5e8];return _0x40d34d[_0x1adab7(0x22b)]=_0x2d505b,_0x40d34d['unitId']=_0x205246,_0x40d34d[_0x1adab7(0x1b8)]=_0x1da5e8,_0x40d34d[_0x1adab7(0x19a)]=_0xe55134,_0x40d34d[_0x1adab7(0x1ad)]=_0x566c2e,_0x40d34d[_0x1adab7(0x201)]=_0x1e2fca[_0x1adab7(0x201)],_0x40d34d['columnCount']=_0x1e2fca[_0x1adab7(0x19f)],_0x40d34d;}['_getUpdateTreeListAndMakeDependency'](){const _0x5e12cb=_0x215d0c,_0x2ae259=[],_0x44bb52=new Set(),_0x247896=this['_currentConfigService'][_0x5e12cb(0x241)](),_0x4c78d1=this[_0x5e12cb(0x207)][_0x5e12cb(0x189)](),_0x35b4ac=this['_dependencyManagerService']['searchDependency'](_0x4c78d1),_0x21cd36=this[_0x5e12cb(0x208)][_0x5e12cb(0x21f)](_0x4c78d1);for(const _0x5c13ce of _0x21cd36)_0x35b4ac[_0x5e12cb(0x236)](_0x5c13ce);for(const [_0x132ea6,_0x498bd3]of this[_0x5e12cb(0x1d6)])(_0x247896||_0x498bd3['isDirty']||_0x498bd3[_0x5e12cb(0x1ba)](this[_0x5e12cb(0x207)][_0x5e12cb(0x186)]())||_0x35b4ac[_0x5e12cb(0x206)](_0x132ea6)&&!_0x498bd3[_0x5e12cb(0x1b0)](this[_0x5e12cb(0x207)][_0x5e12cb(0x1c5)]()))&&!_0x44bb52[_0x5e12cb(0x206)](_0x132ea6)&&(_0x2ae259[_0x5e12cb(0x1b6)](_0x498bd3),_0x44bb52['add'](_0x132ea6));for(const [_0x381684,_0x27a2e]of this['_dependencyTreeCache'])_0x27a2e[_0x5e12cb(0x213)]||(_0x27a2e[_0x5e12cb(0x1dd)][_0x5e12cb(0x21d)]=0x0);return _0x2ae259;}['_getTreeById'](_0x57f7bc){const _0x590cb5=_0x215d0c;return this[_0x590cb5(0x1d6)][_0x590cb5(0x20b)](_0x57f7bc);}[_0x215d0c(0x23d)](_0x54c912){const _0xd59d56=_0x215d0c;return l[_0xd59d56(0x240)](_0x54c912[_0xd59d56(0x1d1)],_0x54c912['formula'],this[_0xd59d56(0x1e7)],this[_0xd59d56(0x1b2)],this[_0xd59d56(0x207)]);}*[_0x215d0c(0x218)](_0x108e51,_0x191948){const _0x5e20c5=_0x215d0c,_0x1521b5=_0x108e51,_0x4291a3=new Set();for(;_0x1521b5['length']>0x0;){const _0xa21c2e=_0x1521b5[_0x5e20c5(0x22d)]();if(_0x4291a3[_0x5e20c5(0x214)](),_0xa21c2e===void 0x0||_0xa21c2e[_0x5e20c5(0x1ae)]())continue;if(_0xa21c2e[_0x5e20c5(0x1f8)]()){yield _0xa21c2e,_0xa21c2e[_0x5e20c5(0x243)](),_0x191948['add'](_0xa21c2e['treeId']);continue;}const _0x444631=this[_0x5e20c5(0x203)][_0x5e20c5(0x1ac)](_0xa21c2e[_0x5e20c5(0x1c6)](),_0x191948),_0x329af6=this[_0x5e20c5(0x208)]['bulkSearch'](_0xa21c2e[_0x5e20c5(0x1c6)](),_0x191948);for(const _0x303ac3 of _0x329af6)_0x444631[_0x5e20c5(0x236)](_0x303ac3);for(const _0x26d5a5 of _0x444631){const _0x192108=this['_dependencyTreeCache'][_0x5e20c5(0x20b)](_0x26d5a5);if(!_0x192108)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x192108[_0x5e20c5(0x1f8)]()||_0xa21c2e['isSkip']()||_0x4291a3['add'](_0x192108);}if(_0x444631[_0x5e20c5(0x214)](),_0x4291a3['size']===0x0)yield _0xa21c2e,_0xa21c2e['setSkip'](),_0x191948[_0x5e20c5(0x236)](_0xa21c2e[_0x5e20c5(0x1ca)]);else{_0xa21c2e[_0x5e20c5(0x187)](),_0x1521b5[_0x5e20c5(0x1b6)](_0xa21c2e);for(const _0x28a2a0 of _0x4291a3)_0x1521b5[_0x5e20c5(0x1b6)](_0x28a2a0);}}_0x1521b5[_0x5e20c5(0x21d)]=0x0,_0x4291a3[_0x5e20c5(0x214)]();}[_0x215d0c(0x221)](_0x12753a){const _0x250e53=_0x215d0c,_0x44b5f5=[],_0x1f6957=new Set();for(const _0x408d38 of this['_traverse'](_0x12753a,_0x1f6957))_0x44b5f5[_0x250e53(0x1b6)](_0x408d38);return _0x44b5f5;}}class Y extends l[_0x215d0c(0x1e8)]{async['_apply'](_0x1e2e90=!0x1){const _0x38035b=_0x215d0c;_0x1e2e90?this[_0x38035b(0x230)][_0x38035b(0x1bb)](l[_0x38035b(0x1d5)][_0x38035b(0x1d4)]):this[_0x38035b(0x230)][_0x38035b(0x1bb)](l[_0x38035b(0x1d5)][_0x38035b(0x1b1)]),this[_0x38035b(0x1ef)]['next'](this['_runtimeService']['getRuntimeState']());const _0x3445ce=await this[_0x38035b(0x1f4)]['generate'](),_0x13315a=this[_0x38035b(0x228)];_0x1e2e90?(this['_runtimeService'][_0x38035b(0x1bb)](l[_0x38035b(0x1d5)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x38035b(0x230)][_0x38035b(0x1d2)](_0x3445ce[_0x38035b(0x21d)])):(this[_0x38035b(0x230)]['setFormulaExecuteStage'](l[_0x38035b(0x1d5)][_0x38035b(0x20c)]),this[_0x38035b(0x230)][_0x38035b(0x23c)](_0x3445ce[_0x38035b(0x21d)])),this[_0x38035b(0x1ef)][_0x38035b(0x1d8)](this[_0x38035b(0x230)][_0x38035b(0x22c)]());let _0x579baf=[];const _0x1f92d8=this['_configService'][_0x38035b(0x215)](l['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x103d2d=(_0x1f92d8==null?void 0x0:_0x1f92d8[_0x38035b(0x224)])||l[_0x38035b(0x1df)];let _0xb85119=0x0;const _0x44a1c2=_0x3445ce['length'];for(;_0x3445ce['length']>0x0;){const _0x4f9e91=_0x3445ce[_0x38035b(0x22d)](),_0x580dfd={'node':l[_0x38035b(0x240)](_0x4f9e91['unitId'],_0x4f9e91[_0x38035b(0x22b)],this[_0x38035b(0x1e7)],this[_0x38035b(0x1b2)],this[_0x38035b(0x207)]),'refOffsetX':_0x4f9e91[_0x38035b(0x1d9)],'refOffsetY':_0x4f9e91['refOffsetY']},_0x332423=_0x4f9e91[_0x38035b(0x1ff)];if(_0xb85119%_0x103d2d===0x0&&(await new Promise(_0x585076=>{const _0x23ba7b=_0x38035b,_0x10b7a5=C['requestImmediateMacroTask'](_0x585076);_0x579baf[_0x23ba7b(0x1b6)](_0x10b7a5);}),_0x1e2e90?(this[_0x38035b(0x230)][_0x38035b(0x1bb)](l[_0x38035b(0x1d5)][_0x38035b(0x1c2)]),this[_0x38035b(0x230)][_0x38035b(0x233)](_0xb85119+0x1)):(this[_0x38035b(0x230)][_0x38035b(0x1bb)](l['FormulaExecuteStageType'][_0x38035b(0x1a5)]),this[_0x38035b(0x230)][_0x38035b(0x245)](_0xb85119+0x1)),this[_0x38035b(0x1ef)][_0x38035b(0x1d8)](this[_0x38035b(0x230)][_0x38035b(0x22c)]()),this[_0x38035b(0x230)]['isStopExecution']()||_0x580dfd==null&&_0x332423==null)){this['_runtimeService']['setFormulaExecuteStage'](l[_0x38035b(0x1d5)][_0x38035b(0x222)]),this['_runtimeService'][_0x38035b(0x1fc)](),this[_0x38035b(0x1e2)]['next'](this[_0x38035b(0x230)][_0x38035b(0x1d3)]());return;}this[_0x38035b(0x230)][_0x38035b(0x18e)](_0x4f9e91[_0x38035b(0x19a)],_0x4f9e91['column'],_0x4f9e91['rowCount'],_0x4f9e91[_0x38035b(0x19f)],_0x4f9e91['subUnitId'],_0x4f9e91['unitId']);let _0x1e9b7a;if(_0x332423!=null&&_0x4f9e91['featureId']!=null){const {runtimeCellData:_0x30ec8c,dirtyRanges:_0x397618}=_0x332423(this['_currentConfigService'][_0x38035b(0x1ff)](),this[_0x38035b(0x230)][_0x38035b(0x1d3)]());this[_0x38035b(0x230)][_0x38035b(0x1cd)](_0x4f9e91[_0x38035b(0x1ab)],_0x30ec8c),this[_0x38035b(0x230)][_0x38035b(0x1d7)](_0x4f9e91[_0x38035b(0x1ab)],_0x397618);}else _0x580dfd!=null&&(_0x13315a[_0x38035b(0x210)](_0x580dfd[_0x38035b(0x223)])?_0x1e9b7a=await _0x13315a[_0x38035b(0x23b)](_0x580dfd):_0x1e9b7a=_0x13315a[_0x38035b(0x1b3)](_0x580dfd),_0x4f9e91[_0x38035b(0x217)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4f9e91[_0x38035b(0x217)],_0x4f9e91[_0x38035b(0x1d9)],_0x4f9e91['refOffsetY'],_0x1e9b7a):this['_runtimeService'][_0x38035b(0x198)](_0x1e9b7a));_0xb85119++;}return _0x579baf[_0x38035b(0x20e)](_0x477bd1=>_0x477bd1()),_0x579baf=[],_0x44a1c2>0x0?this[_0x38035b(0x230)][_0x38035b(0x231)]():_0x1e2e90||this[_0x38035b(0x230)][_0x38035b(0x1a1)](),this[_0x38035b(0x230)][_0x38035b(0x1d3)]();}}class G extends l[_0x215d0c(0x229)]{constructor(){const _0x2beb46=_0x215d0c;super(...arguments),S(this,_0x2beb46(0x225),new Map()),S(this,'_dependencyRTreeCache',new C['RTree'](!0x0));}[_0x215d0c(0x1c4)](){const _0x2a45ac=_0x215d0c;this[_0x2a45ac(0x1ed)]['clear'](),this[_0x2a45ac(0x1f2)][_0x2a45ac(0x214)](),this['_formulaData'][_0x2a45ac(0x214)](),this['_dependencyRTreeCache'][_0x2a45ac(0x214)](),this[_0x2a45ac(0x225)][_0x2a45ac(0x214)](),this[_0x2a45ac(0x1aa)](),this[_0x2a45ac(0x1fa)][_0x2a45ac(0x214)]();}[_0x215d0c(0x1f0)](_0x49ca68,_0x575268,_0x439ba1,_0x31d76e){const _0x21e54d=_0x215d0c;this['_otherFormulaData'][_0x21e54d(0x206)](_0x49ca68)||this[_0x21e54d(0x1ed)]['set'](_0x49ca68,new Map());const _0x5cb400=this[_0x21e54d(0x1ed)]['get'](_0x49ca68);_0x5cb400[_0x21e54d(0x206)](_0x575268)||_0x5cb400['set'](_0x575268,new Map());const _0x21b21e=_0x5cb400[_0x21e54d(0x20b)](_0x575268);_0x21b21e[_0x21e54d(0x206)](_0x439ba1)||_0x21b21e[_0x21e54d(0x22e)](_0x439ba1,new C['ObjectMatrix']()),_0x21b21e['get'](_0x439ba1)[_0x21e54d(0x1db)](_0x31d76e[_0x21e54d(0x1d9)],_0x31d76e['refOffsetY'],_0x31d76e['treeId']);}[_0x215d0c(0x22f)](_0x33ff13,_0x16e980,_0x46e215){const _0xeafdff=_0x215d0c,_0x18c37f=this[_0xeafdff(0x1ed)][_0xeafdff(0x20b)](_0x33ff13);if(_0x18c37f&&_0x18c37f[_0xeafdff(0x206)](_0x16e980)){const _0x2143a2=_0x18c37f['get'](_0x16e980);_0x46e215[_0xeafdff(0x20e)](_0x5dce8b=>{const _0x3248d5=_0xeafdff,_0xc08260=_0x2143a2[_0x3248d5(0x20b)](_0x5dce8b);_0xc08260!=null&&(_0xc08260[_0x3248d5(0x1b9)]((_0x4828b3,_0x48119f,_0x23ccba)=>{const _0x3b89eb=_0x3248d5;this[_0x3b89eb(0x21a)](_0x23ccba),this[_0x3b89eb(0x21c)](_0x23ccba);}),_0x2143a2['delete'](_0x5dce8b),this[_0x3248d5(0x1fa)]['delete'](_0x5dce8b));}),_0x2143a2[_0xeafdff(0x205)]===0x0&&_0x18c37f['delete'](_0x16e980),_0x18c37f['size']===0x0&&this[_0xeafdff(0x1ed)]['delete'](_0x33ff13);}}[_0x215d0c(0x1cc)](_0x19c037,_0x27da7b){const _0x44845a=_0x215d0c,_0x1ca3e1=this[_0x44845a(0x1ed)][_0x44845a(0x20b)](_0x19c037);if(_0x27da7b&&_0x1ca3e1&&_0x1ca3e1[_0x44845a(0x206)](_0x27da7b)){const _0x10d017=_0x1ca3e1[_0x44845a(0x20b)](_0x27da7b);this[_0x44845a(0x1e0)](_0x19c037,_0x27da7b);for(const _0x1399be of _0x10d017['keys']()){const _0x2b6dda=_0x10d017[_0x44845a(0x20b)](_0x1399be);_0x2b6dda!=null&&(_0x2b6dda[_0x44845a(0x1b9)]((_0x34846c,_0x3a7253,_0x12be70)=>{const _0x223e09=_0x44845a;this[_0x223e09(0x225)]['get'](_0x12be70)&&this['_removeAllTreeMap'](_0x12be70);}),this[_0x44845a(0x1fa)][_0x44845a(0x196)](_0x1399be));}_0x10d017[_0x44845a(0x214)]();}else{if(_0x1ca3e1){for(const _0x5482f3 of _0x1ca3e1[_0x44845a(0x238)]()){const _0x2c1dca=_0x1ca3e1[_0x44845a(0x20b)](_0x5482f3);this[_0x44845a(0x1e0)](_0x19c037,_0x5482f3);for(const _0x4f4600 of _0x2c1dca[_0x44845a(0x238)]()){const _0x6f067b=_0x2c1dca[_0x44845a(0x20b)](_0x4f4600);_0x6f067b!=null&&(_0x6f067b[_0x44845a(0x1b9)]((_0x2fd816,_0x2b6f10,_0x134888)=>{const _0xae77a1=_0x44845a;this[_0xae77a1(0x225)][_0xae77a1(0x20b)](_0x134888)&&this['_removeAllTreeMap'](_0x134888);}),this[_0x44845a(0x1fa)][_0x44845a(0x196)](_0x4f4600));}}this[_0x44845a(0x1ed)][_0x44845a(0x196)](_0x19c037);}}}[_0x215d0c(0x193)](_0x372817,_0x207c50,_0x286204,_0x2e7855){const _0x2d2cb0=_0x215d0c;this[_0x2d2cb0(0x1f2)][_0x2d2cb0(0x206)](_0x372817)||this[_0x2d2cb0(0x1f2)][_0x2d2cb0(0x22e)](_0x372817,new Map());const _0x2204bb=this['_featureFormulaData'][_0x2d2cb0(0x20b)](_0x372817);_0x2204bb['has'](_0x207c50)||_0x2204bb[_0x2d2cb0(0x22e)](_0x207c50,new Map()),_0x2204bb[_0x2d2cb0(0x20b)](_0x207c50)[_0x2d2cb0(0x22e)](_0x286204,_0x2e7855[_0x2d2cb0(0x1ca)]);}[_0x215d0c(0x1b4)](_0x4b745f,_0x3e7a92,_0x22b082){const _0x3f4594=_0x215d0c,_0x4d77b0=this[_0x3f4594(0x1f2)][_0x3f4594(0x20b)](_0x4b745f);if(_0x4d77b0&&_0x4d77b0[_0x3f4594(0x206)](_0x3e7a92)){const _0x21b302=_0x4d77b0['get'](_0x3e7a92);_0x22b082[_0x3f4594(0x20e)](_0x4f64e7=>{const _0x4005ad=_0x3f4594,_0x3a89d7=_0x21b302[_0x4005ad(0x20b)](_0x4f64e7);_0x3a89d7!=null&&(this[_0x4005ad(0x21a)](_0x3a89d7),_0x21b302['delete'](_0x4f64e7),this[_0x4005ad(0x21c)](_0x3a89d7));});}}[_0x215d0c(0x21b)](_0x169e0b,_0x11051b){const _0x544c6b=_0x215d0c,_0x14327a=this[_0x544c6b(0x1f2)][_0x544c6b(0x20b)](_0x169e0b);if(_0x11051b&&_0x14327a&&_0x14327a[_0x544c6b(0x206)](_0x11051b)){const _0xf181a8=_0x14327a[_0x544c6b(0x20b)](_0x11051b);this[_0x544c6b(0x1e0)](_0x169e0b,_0x11051b),_0xf181a8[_0x544c6b(0x20e)](_0x6b5f38=>{const _0x495ed4=_0x544c6b;_0x6b5f38!=null&&this[_0x495ed4(0x21c)](_0x6b5f38);}),_0xf181a8[_0x544c6b(0x214)]();}else _0x14327a&&(_0x14327a['forEach']((_0x211cff,_0x10c27b)=>{const _0x36dda4=_0x544c6b;this[_0x36dda4(0x1e0)](_0x169e0b,_0x10c27b),_0x211cff[_0x36dda4(0x20e)](_0x2b420b=>{const _0x2ecd12=_0x36dda4;_0x2b420b!=null&&this[_0x2ecd12(0x21c)](_0x2b420b);});}),this[_0x544c6b(0x1f2)][_0x544c6b(0x196)](_0x169e0b));}['addFormulaDependency'](_0xf4495d,_0x3d0254,_0x37e6a9,_0x3f5649,_0x1ea869){const _0x5913bd=_0x215d0c;this[_0x5913bd(0x1ee)][_0x5913bd(0x206)](_0xf4495d)||this['_formulaData']['set'](_0xf4495d,new Map());const _0x21cd42=this[_0x5913bd(0x1ee)]['get'](_0xf4495d);_0x21cd42[_0x5913bd(0x206)](_0x3d0254)||_0x21cd42[_0x5913bd(0x22e)](_0x3d0254,new C[(_0x5913bd(0x212))]()),_0x21cd42[_0x5913bd(0x20b)](_0x3d0254)[_0x5913bd(0x1db)](_0x37e6a9,_0x3f5649,_0x1ea869['treeId']);}[_0x215d0c(0x1e4)](_0x3c1b62,_0x3cd7a5,_0x28bb7b,_0x3adca2){const _0x46f61c=_0x215d0c,_0x341e9c=this[_0x46f61c(0x1ee)][_0x46f61c(0x20b)](_0x3c1b62);if(_0x341e9c&&_0x341e9c[_0x46f61c(0x206)](_0x3cd7a5)){const _0xfe1e93=_0x341e9c['get'](_0x3cd7a5),_0x57ae4d=_0xfe1e93['getValue'](_0x28bb7b,_0x3adca2);if(_0x57ae4d==null)return;this['_removeDependencyRTreeCache'](_0x57ae4d),_0xfe1e93[_0x46f61c(0x1a6)](_0x28bb7b,_0x3adca2),this[_0x46f61c(0x21c)](_0x57ae4d);}}[_0x215d0c(0x185)](_0x33e50b,_0x2a339e){const _0xc113ed=_0x215d0c,_0x5116c2=this[_0xc113ed(0x1ee)][_0xc113ed(0x20b)](_0x33e50b);if(_0x2a339e&&_0x5116c2&&_0x5116c2['has'](_0x2a339e)){const _0x263f57=_0x5116c2[_0xc113ed(0x20b)](_0x2a339e);this[_0xc113ed(0x1e0)](_0x33e50b,_0x2a339e),_0x263f57[_0xc113ed(0x1b9)]((_0x1c7062,_0x3382a1,_0x56cf58)=>{if(_0x56cf58==null)return!0x0;this['_removeAllTreeMap'](_0x56cf58);}),_0x263f57[_0xc113ed(0x1c4)]();}else _0x5116c2&&(_0x5116c2[_0xc113ed(0x20e)]((_0x17b866,_0x3f1108)=>{const _0xf0f5f9=_0xc113ed;this['_removeDependencyRTreeCacheById'](_0x33e50b,_0x3f1108),_0x17b866[_0xf0f5f9(0x1b9)]((_0x239003,_0x2ce97c,_0x3389ef)=>{const _0x345951=_0xf0f5f9;if(_0x3389ef==null)return!0x0;this[_0x345951(0x21c)](_0x3389ef);});}),this['_formulaData'][_0xc113ed(0x196)](_0x33e50b));}[_0x215d0c(0x21a)](_0x428ed3){const _0x2ac907=_0x215d0c;if(_0x428ed3==null)return;const _0x31e2cb=this[_0x2ac907(0x225)][_0x2ac907(0x20b)](_0x428ed3);if(_0x31e2cb){const _0x177ad0=[];for(const [_0x22919e,_0x45fce7]of _0x31e2cb)for(const [_0x4ab38f,_0x3c80cb]of _0x45fce7)_0x177ad0[_0x2ac907(0x1b6)]({'unitId':_0x22919e,'sheetId':_0x4ab38f,'range':_0x3c80cb,'id':_0x428ed3});this[_0x2ac907(0x1cb)][_0x2ac907(0x1fd)](_0x177ad0);}}[_0x215d0c(0x1a8)](_0x2548b4,_0x5029af){const _0x5a01f4=_0x215d0c,_0x872c7c=this[_0x5a01f4(0x1cf)]['get'](_0x2548b4);if(_0x872c7c){const _0x3d909a=_0x872c7c['get'](_0x5029af);if(_0x3d909a){for(const _0x5d06eb of _0x3d909a)this[_0x5a01f4(0x21a)](_0x5d06eb),this[_0x5a01f4(0x21c)](_0x5d06eb);_0x3d909a[_0x5a01f4(0x214)]();}}}['openKdTree'](){const _0x1ac1cc=_0x215d0c;this[_0x1ac1cc(0x1cb)][_0x1ac1cc(0x192)]();}['closeKdTree'](){const _0x23d789=_0x215d0c;this[_0x23d789(0x1cb)][_0x23d789(0x1f9)]();}['_removeAllTreeMap'](_0x257088){const _0x29f16d=_0x215d0c;_0x257088!=null&&this[_0x29f16d(0x225)]['delete'](_0x257088);}[_0x215d0c(0x1bd)](_0x503308){const _0x32d736=_0x215d0c;var _0x80d6b0,_0x33eb3a;const _0x57382e=_0x503308['rangeList'];let _0x43b0d8=this['_allTreeMap']['get'](_0x503308[_0x32d736(0x1ca)]);for(let _0x36543b=0x0;_0x36543b<_0x57382e[_0x32d736(0x21d)];_0x36543b++){const _0x10335c=_0x57382e[_0x36543b];let {unitId:_0x177f3f,sheetId:_0x2b3112,range:_0x3abe07}=_0x10335c;_0x43b0d8||(_0x43b0d8=new Map(),this[_0x32d736(0x225)]['set'](_0x503308[_0x32d736(0x1ca)],_0x43b0d8)),_0x43b0d8[_0x32d736(0x206)](_0x177f3f)||_0x43b0d8[_0x32d736(0x22e)](_0x177f3f,new Map());const _0x39f4c8=(_0x80d6b0=_0x43b0d8==null?void 0x0:_0x43b0d8['get'](_0x177f3f))==null?void 0x0:_0x80d6b0[_0x32d736(0x20b)](_0x2b3112);_0x39f4c8&&(_0x3abe07={'startRow':Math['min'](_0x3abe07['startRow'],_0x39f4c8['startRow']),'startColumn':Math[_0x32d736(0x242)](_0x3abe07[_0x32d736(0x1e6)],_0x39f4c8['startColumn']),'endRow':Math[_0x32d736(0x220)](_0x3abe07[_0x32d736(0x1fe)],_0x39f4c8[_0x32d736(0x1fe)]),'endColumn':Math[_0x32d736(0x220)](_0x3abe07['endColumn'],_0x39f4c8['endColumn'])}),(_0x33eb3a=_0x43b0d8[_0x32d736(0x20b)](_0x177f3f))==null||_0x33eb3a[_0x32d736(0x22e)](_0x2b3112,_0x3abe07);}}}var B=Object[_0x215d0c(0x1a9)],K=(_0x14cd1f,_0x35a8cb,_0x15615b,_0x3fbf73)=>{const _0x2fad85=_0x215d0c;for(var _0x481da7=_0x3fbf73>0x1?void 0x0:_0x3fbf73?B(_0x35a8cb,_0x15615b):_0x35a8cb,_0x1e625f=_0x14cd1f[_0x2fad85(0x21d)]-0x1,_0x24d5bb;_0x1e625f>=0x0;_0x1e625f--)(_0x24d5bb=_0x14cd1f[_0x1e625f])&&(_0x481da7=_0x24d5bb(_0x481da7)||_0x481da7);return _0x481da7;};const W=Number[_0x215d0c(0x1a3)](0x68834fbc);function _0x5aba(_0x27446d,_0x45a551){const _0x3d81ce=_0x3d81();return _0x5aba=function(_0x5aba0d,_0x32b500){_0x5aba0d=_0x5aba0d-0x185;let _0x49edb3=_0x3d81ce[_0x5aba0d];return _0x49edb3;},_0x5aba(_0x27446d,_0x45a551);}exports[_0x215d0c(0x1de)]=class extends l[_0x215d0c(0x1dc)]{[_0x215d0c(0x1eb)](){const _0x1acc1c=_0x215d0c;var _0x3adfc8,_0x355779;this[_0x1acc1c(0x234)]()?(_0x3adfc8=this['_config'])!=null&&_0x3adfc8[_0x1acc1c(0x188)]||[[l[_0x1acc1c(0x1e3)],{'useClass':Y}],[l['IDependencyManagerService'],{'useClass':G}],[l[_0x1acc1c(0x1ec)],{'useClass':j}]][_0x1acc1c(0x20e)](_0xc74e02=>this[_0x1acc1c(0x1bc)][_0x1acc1c(0x236)](_0xc74e02)):(_0x355779=this[_0x1acc1c(0x1a7)])!=null&&_0x355779[_0x1acc1c(0x188)]||[[l[_0x1acc1c(0x1e3)],{'useClass':l[_0x1acc1c(0x1e8)]}],[l[_0x1acc1c(0x23a)],{'useClass':l[_0x1acc1c(0x1f6)]}],[l[_0x1acc1c(0x1ec)],{'useClass':l[_0x1acc1c(0x244)]}]][_0x1acc1c(0x20e)](_0x2f620c=>this['_injector'][_0x1acc1c(0x236)](_0x2f620c));}[_0x215d0c(0x234)](){const _0x3d4e53=_0x215d0c;var _0x2b05b3;const _0x104632=(_0x2b05b3=this[_0x3d4e53(0x239)][_0x3d4e53(0x215)](v[_0x3d4e53(0x219)]))!=null?_0x2b05b3:{},{ls:_0x497e2d,pbk:_0x42e328}=_0x104632;if(!_0x497e2d||!_0x42e328)return!0x1;const _0x53de88=v['unshiftString'](b,V),_0x15d8fd=new Function(_0x3d4e53(0x1b5)+_0x53de88)()(_0x497e2d,_0x42e328),_0x235379=_0x15d8fd[_0x3d4e53(0x1c9)];return _0x15d8fd[_0x3d4e53(0x232)]&&v[_0x3d4e53(0x1e9)](_0x235379,'sf',W)?v[_0x3d4e53(0x227)](_0x235379,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x215d0c(0x1de)]=K([C['DependentOn'](v[_0x215d0c(0x19e)])],exports[_0x215d0c(0x1de)]),Object[_0x215d0c(0x238)](l)[_0x215d0c(0x20e)](_0xba49e6=>{const _0x1c8e5e=_0x215d0c;_0xba49e6!=='default'&&!Object[_0x1c8e5e(0x246)][_0x1c8e5e(0x18d)]['call'](exports,_0xba49e6)&&Object['defineProperty'](exports,_0xba49e6,{'enumerable':!0x0,'get':()=>l[_0xba49e6]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4edf7b,_0x15e058){var _0x341546=_0x511c,_0x25650d=_0x4edf7b();while(!![]){try{var _0x4ec832=parseInt(_0x341546(0x73))/0x1*(-parseInt(_0x341546(0x79))/0x2)+parseInt(_0x341546(0x7a))/0x3+parseInt(_0x341546(0x76))/0x4+-parseInt(_0x341546(0x7c))/0x5+parseInt(_0x341546(0x77))/0x6+-parseInt(_0x341546(0x7b))/0x7*(parseInt(_0x341546(0x74))/0x8)+parseInt(_0x341546(0x78))/0x9*(parseInt(_0x341546(0x75))/0xa);if(_0x4ec832===_0x15e058)break;else _0x25650d['push'](_0x25650d['shift']());}catch(_0x5db56f){_0x25650d['push'](_0x25650d['shift']());}}}(_0x2287,0xc11bf));function _0x2287(){var _0x5817ff=['4126665lAXLbt','39417cDdJYh','3759965iAQhot','11497fvsUtj','488XBvuph','120aCPyYN','2699396BQuuqB','1046142TuLOQw','246393iReSOE','116RMvYos'];_0x2287=function(){return _0x5817ff;};return _0x2287();}function _0x511c(_0x428c6c,_0x475673){var _0x2287a7=_0x2287();return _0x511c=function(_0x511c82,_0x384f3f){_0x511c82=_0x511c82-0x73;var _0x48aa7c=_0x2287a7[_0x511c82];return _0x48aa7c;},_0x511c(_0x428c6c,_0x475673);}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x490257=_0x259e;(function(_0x61ed4c,_0xa5975a){const _0x26b616=_0x259e,_0x11d022=_0x61ed4c();while(!![]){try{const _0x144a64=parseInt(_0x26b616(0x14d))/0x1*(parseInt(_0x26b616(0x13d))/0x2)+parseInt(_0x26b616(0x168))/0x3+-parseInt(_0x26b616(0x199))/0x4*(parseInt(_0x26b616(0x129))/0x5)+-parseInt(_0x26b616(0x172))/0x6+parseInt(_0x26b616(0x18c))/0x7+parseInt(_0x26b616(0x182))/0x8+-parseInt(_0x26b616(0x1be))/0x9*(parseInt(_0x26b616(0x18d))/0xa);if(_0x144a64===_0xa5975a)break;else _0x11d022['push'](_0x11d022['shift']());}catch(_0x3613e7){_0x11d022['push'](_0x11d022['shift']());}}}(_0x3952,0x81957));var K=Object[_0x490257(0x120)],W=(_0x46f800,_0x385eb3,_0x4a3bd3)=>_0x385eb3 in _0x46f800?K(_0x46f800,_0x385eb3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a3bd3}):_0x46f800[_0x385eb3]=_0x4a3bd3,F=(_0x3fc195,_0x42ede4,_0x402767)=>W(_0x3fc195,typeof _0x42ede4!=_0x490257(0x17c)?_0x42ede4+'':_0x42ede4,_0x402767);import{UniverLicensePlugin as _0x294f74,LS_CONFIG_KEY as _0x2d655f,unshiftString as _0x4d6a07,isFeatureAuthorizedWithinTime as _0x24b1f3,getSheetFeatureLimit as _0x5d9182}from'@univerjs-pro/license';import{ObjectMatrix as _0x47d10c,requestImmediateMacroTask as _0x2f566d,RTree as _0x2b3f7a,DependentOn as _0x154ae4}from'@univerjs/core';import{FormulaDependencyGenerator as _0x5228b7,generateRandomDependencyTreeId as _0x8fc08b,FormulaDependencyTree as _0x18fee7,FormulaDependencyTreeType as _0x21792e,FormulaDependencyTreeVirtual as _0x1273fa,generateAstNode as _0x46e10b,CalculateFormulaService as _0x40a1ab,FormulaExecuteStageType as _0x1eb71e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x283d6c,DEFAULT_INTERVAL_COUNT as _0x5838aa,DependencyManagerBaseService as _0x483dd9,UniverFormulaEnginePlugin as _0xc65c85,ICalculateFormulaService as _0x55a01e,IDependencyManagerService as _0x44c045,IFormulaDependencyGenerator as _0x249691,DependencyManagerService as _0x3a9946}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'J',0x1:'a',0x2:'n',0x3:'7',0x4:'e',0x5:'Y',0x6:'S',0x7:'v',0x8:'P',0x9:'Q','K':'0','o':'1','h':'2','S':'3','s':'4','i':'5','M':'6','t':'8','x':'9','W':'b','B':'c','f':'d','J':'f','R':'g','E':'h','U':'i','k':'j','Z':'k','e':'l','X':'m','g':'o','z':'p','d':'q','G':'r','O':'s','c':'t','b':'u','A':'w','H':'x','p':'y','L':'z','D':'A','P':'B','Q':'C','r':'D','V':'E','m':'F','a':'G','Y':'H','q':'I','l':'K','F':'L','N':'M','C':'N','I':'O','j':'R','w':'T','T':'U','v':'V','n':'W','u':'X','y':'Z'},ue='Jb2BcUg2\x20f4BGpzcUg2(eUB42O4,\x20zbWeUBl4p)\x20{\x20\x20\x20\x20cGp\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20eUB42O4q2Jg81GcDGG1p\x20=\x20eUB42O4.OzeUc(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20gGURU2N4OO1R4\x20=\x2006IC.z1GO4(1cgW(eUB42O4q2Jg81GcDGG1p[h]));\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!gGURU2N4OO1R4.bf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gGURU2N4OO1R4.bf\x20=\x20CbXW4G(eUB42O4q2Jg81GcDGG1p[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20UOngGZ4G\x20=\x20cpz4gJ\x20ngGZ4GaegW1e6Bgz4\x20!==\x20\x27b2f4JU24f\x27\x20&&\x20O4eJ\x20U2Oc12B4gJ\x20ngGZ4GaegW1e6Bgz4;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20Bg2c4Hc\x20=\x20UOngGZ4G\x20?\x20O4eJ\x20:\x20AU2fgA;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[h]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(X4OO1R4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[S]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(OUR21cbG4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR2v1eUf\x20=\x20Bg2c4Hc.__74GUJp__(OUR21cbG4,\x20X4OO1R4,\x20zbWeUBl4p);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20fgX1U2\x20=\x20gGURU2N4OO1R4.fX;\x20\x20\x20\x20\x20\x20\x20\x20Jb2BcUg2\x20UOrgX1U2N1cBEU2R(g81cc4G2,\x20gYgOc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G2\x20=\x20g81cc4G2.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc\x20=\x20gYgOc.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G281GcO\x20=\x20z1cc4G2.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc81GcO\x20=\x20EgOc.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!z1cc4G2.U2Bebf4O(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G2\x20===\x20EgOc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(z1cc4G281GcO.e42RcE\x20<\x20h\x20||\x20z1cc4G281GcO[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20J1eO4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G26bJJUH\x20=\x20z1cc4G281GcO.OeUB4(o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc6bJJUH\x20=\x20EgOc81GcO.OeUB4(-z1cc4G281GcO.e42RcE\x20+\x20o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G26bJJUH\x20===\x20EgOc6bJJUH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e4c\x20fgX1U2v1eUf\x20=\x20(fgX1U2\x20&&\x20fgX1U2.e42RcE)\x20?\x20fgX1U2.OgX4((fXqc4X)\x20=>\x20UOrgX1U2N1cBEU2R(fXqc4X,\x20egB1cUg2.EgOc21X4))\x20:\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(egB1cUg2.EgOc21X4\x20===\x20\x27egB1eEgOc\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fgX1U2v1eUf\x20=\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x2071eUf\x20=\x20OUR2v1eUf\x20&&\x20fgX1U2v1eUf;\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20gGURU2N4OO1R4,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20B1cBE\x20(4GGgG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf:\x20J1eO4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x5228b7{constructor(){const _0x29961a=_0x490257;super(...arguments),F(this,_0x29961a(0x1ae),new Map());}[_0x490257(0x178)](){const _0xcb9532=_0x490257;super['dispose'](),this[_0xcb9532(0x1ae)][_0xcb9532(0x1ad)]();}async['generate'](){const _0x3ed192=_0x490257;this[_0x3ed192(0x147)]();const _0x2c2895=this[_0x3ed192(0x142)][_0x3ed192(0x173)](),_0x36eac6=this[_0x3ed192(0x161)][_0x3ed192(0x144)](),_0x5a070b=this[_0x3ed192(0x142)][_0x3ed192(0x16d)]();_0x5a070b!=null&&Object['keys'](_0x5a070b)['forEach'](_0x55012f=>{const _0x248793=_0x3ed192;_0x55012f!=null&&Object[_0x248793(0x16b)](_0x5a070b[_0x55012f])[_0x248793(0x151)](_0x4c5b04=>{const _0x485a9b=_0x248793;_0x4c5b04!=null&&(this[_0x485a9b(0x1a4)][_0x485a9b(0x156)](_0x55012f,_0x4c5b04),this['_dependencyManagerService'][_0x485a9b(0x1bf)](_0x55012f,_0x4c5b04),this[_0x485a9b(0x1a4)]['clearFormulaDependency'](_0x55012f,_0x4c5b04));});});const _0x3059b6=this[_0x3ed192(0x142)][_0x3ed192(0x139)]();await this[_0x3ed192(0x185)](_0x2c2895,_0x36eac6,_0x3059b6),this['_dependencyManagerService'][_0x3ed192(0x1c0)]();const _0x10e291=this[_0x3ed192(0x19d)](),_0x6f48bd=this['_calculateRunList'](_0x10e291);return this[_0x3ed192(0x140)](_0x6f48bd)&&this['_runtimeService'][_0x3ed192(0x1aa)](),this[_0x3ed192(0x1ae)][_0x3ed192(0x1ad)](),this[_0x3ed192(0x1bd)]['clear'](),this['_dependencyManagerService'][_0x3ed192(0x1a8)](),Promise[_0x3ed192(0x148)](_0x6f48bd);}[_0x490257(0x13f)](_0x2008b1,_0x2ac550){const _0x3b806d=_0x490257,_0x4faab9=[_0x2008b1];for(;_0x4faab9[_0x3b806d(0x18b)]>0x0;){const _0x55397c=_0x4faab9[_0x4faab9[_0x3b806d(0x18b)]-0x1];if((_0x2ac550['get'](_0x55397c)||0x0)===0x0){_0x2ac550[_0x3b806d(0x135)](_0x55397c,0x1);const _0x34fab8=this[_0x3b806d(0x1ae)][_0x3b806d(0x14b)](_0x55397c);if(_0x34fab8==null){_0x2ac550['set'](_0x55397c,0x2),_0x4faab9['pop']();continue;}const _0x3d5a38=this['_dependencyManagerService'][_0x3b806d(0x1b2)](_0x34fab8[_0x3b806d(0x197)]());for(const _0x3db4e3 of _0x3d5a38){const _0x5e3476=_0x2ac550[_0x3b806d(0x14b)](_0x3db4e3)||0x0;if(_0x5e3476===0x1)return!0x0;_0x5e3476===0x0&&_0x4faab9['push'](_0x3db4e3);}}else _0x2ac550[_0x3b806d(0x135)](_0x55397c,0x2),_0x4faab9[_0x3b806d(0x158)]();}return!0x1;}[_0x490257(0x140)](_0x24aa41){const _0x2f6888=_0x490257,_0x243225=new Map();for(const _0x2726d1 of _0x24aa41)if(!_0x243225[_0x2f6888(0x121)](_0x2726d1[_0x2f6888(0x122)])&&this['_isCyclicUtilMap'](_0x2726d1[_0x2f6888(0x122)],_0x243225))return!0x0;return _0x243225[_0x2f6888(0x1ad)](),!0x1;}[_0x490257(0x136)](_0x3003a6,_0x16966e,_0x5f4156){const _0x53a839=_0x490257,{unitId:_0x6065b9,subUnitId:_0x5862e5,dependencyRanges:_0x323232,getDirtyData:_0x44840f}=_0x5f4156,_0x14ae3e=_0x16966e||_0x8fc08b(this[_0x53a839(0x1a4)]),_0x5b04d1=new _0x18fee7(_0x14ae3e);_0x5b04d1[_0x53a839(0x12b)]=_0x6065b9,_0x5b04d1[_0x53a839(0x180)]=_0x5862e5,_0x5b04d1[_0x53a839(0x1c2)]=_0x323232,_0x5b04d1[_0x53a839(0x190)]=_0x44840f;const _0x1f3497=_0x44840f(this[_0x53a839(0x142)][_0x53a839(0x190)](),this[_0x53a839(0x177)][_0x53a839(0x1a9)]()),_0x21a2c1=this[_0x53a839(0x162)](_0x1f3497[_0x53a839(0x1a2)]);return _0x5b04d1[_0x53a839(0x165)]=_0x21a2c1,_0x5b04d1[_0x53a839(0x149)]=_0x3003a6,_0x5b04d1[_0x53a839(0x13b)]=_0x21792e[_0x53a839(0x128)],this[_0x53a839(0x1a4)][_0x53a839(0x191)](_0x6065b9,_0x5862e5,_0x3003a6,_0x5b04d1),this[_0x53a839(0x1ae)][_0x53a839(0x135)](_0x5b04d1[_0x53a839(0x122)],_0x5b04d1),this['_dependencyManagerService'][_0x53a839(0x126)](_0x5f4156[_0x53a839(0x12b)],_0x5f4156['subUnitId'],_0x3003a6)&&(_0x5b04d1[_0x53a839(0x15c)]=!0x0),_0x5b04d1;}[_0x490257(0x1b3)](_0x20b482,_0x35ce61,_0x246be6){const _0xff80c4=_0x490257;var _0x56bba7;for(const _0x6e51d2 of _0x35ce61){const _0x98fe9d=_0x20b482[_0x6e51d2];if(_0x98fe9d==null)continue;const _0x268c75=Object[_0xff80c4(0x16b)](_0x98fe9d);for(const _0x5b97e4 of _0x268c75){const _0x3ca6ef=_0x98fe9d[_0x5b97e4];if(_0x3ca6ef==null)continue;const _0xe64364=Object[_0xff80c4(0x16b)](_0x3ca6ef);for(const _0x54ee62 of _0xe64364){const _0x13c849=this[_0xff80c4(0x1a4)][_0xff80c4(0x186)](_0x54ee62),_0x197129=_0x3ca6ef[_0x54ee62],{f:_0x17c98f,ranges:_0x5ac32d}=_0x197129;let _0x207d10=!0x1;_0x13c849&&(_0x207d10=!0x0);const {firstRow:_0x14022c,firstColumn:_0x525711}=this[_0xff80c4(0x143)](_0x5ac32d),_0x3a6e40=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x6e51d2,_0x5b97e4,_0x54ee62),_0x3b152a=(_0x56bba7=_0x3a6e40==null?void 0x0:_0x3a6e40[_0xff80c4(0x1b0)](0x0,0x0))!=null?_0x56bba7:_0x8fc08b(this[_0xff80c4(0x1a4)]),_0x4bec32=new _0x18fee7(_0x3b152a);for(let _0x42ae8b=0x0;_0x42ae8b<_0x5ac32d[_0xff80c4(0x18b)];_0x42ae8b++){const _0x2d8f2c=_0x5ac32d[_0x42ae8b],{startRow:_0x200e73,startColumn:_0xd42ec3,endRow:_0x20f884,endColumn:_0x49e7c2}=_0x2d8f2c;for(let _0x4dbdd5=_0x200e73;_0x4dbdd5<=_0x20f884;_0x4dbdd5++)for(let _0x18a559=_0xd42ec3;_0x18a559<=_0x49e7c2;_0x18a559++){const _0x1b3831=_0x18a559-_0x525711,_0x13723f=_0x4dbdd5-_0x14022c;if(_0x1b3831===0x0&&_0x13723f===0x0){_0x4bec32[_0xff80c4(0x134)]=_0x17c98f,_0x4bec32[_0xff80c4(0x12b)]=_0x6e51d2,_0x4bec32[_0xff80c4(0x180)]=_0x5b97e4,_0x4bec32[_0xff80c4(0x152)]=_0x54ee62,_0x4bec32[_0xff80c4(0x13b)]=_0x21792e[_0xff80c4(0x14c)],_0x4bec32[_0xff80c4(0x15c)]=_0x207d10,_0x246be6[_0xff80c4(0x17d)](_0x4bec32),this[_0xff80c4(0x1ae)][_0xff80c4(0x135)](_0x4bec32[_0xff80c4(0x122)],_0x4bec32),this[_0xff80c4(0x1a4)][_0xff80c4(0x171)](_0x6e51d2,_0x5b97e4,_0x54ee62,_0x4bec32),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4bec32);continue;}const _0x3b2091=new _0x1273fa();_0x3b2091[_0xff80c4(0x122)]=(_0x3a6e40==null?void 0x0:_0x3a6e40[_0xff80c4(0x1b0)](_0x1b3831,_0x13723f))||_0x8fc08b(this['_dependencyManagerService']),_0x3b2091['refTree']=_0x4bec32,_0x3b2091[_0xff80c4(0x167)]=_0x1b3831,_0x3b2091['refOffsetY']=_0x13723f,_0x3b2091[_0xff80c4(0x15c)]=_0x207d10,this['_dependencyManagerService']['addOtherFormulaDependency'](_0x6e51d2,_0x5b97e4,_0x54ee62,_0x3b2091),this['_dependencyManagerService'][_0xff80c4(0x198)](_0x3b2091),_0x246be6[_0xff80c4(0x17d)](_0x3b2091),this[_0xff80c4(0x1ae)]['set'](_0x3b2091[_0xff80c4(0x122)],_0x3b2091);}}this['_dependencyManagerService'][_0xff80c4(0x17e)](_0x54ee62);}}}}['_registerFormulas'](_0x105cb9,_0x351ff3,_0x2fe95f,_0x1e3e4a){const _0x2aada2=_0x490257;for(const _0x355db9 of _0x105cb9){const _0x948577=_0x351ff3[_0x355db9];if(_0x948577==null)continue;const _0x5ddead=Object['keys'](_0x948577);for(const _0x1522ea of _0x5ddead){const _0x49f32f=new _0x47d10c(_0x948577[_0x1522ea]||{}),_0x218018=new Map();_0x49f32f[_0x2aada2(0x155)]((_0x2bc377,_0x843bd7,_0x4dc846)=>{const _0x4d51f1=_0x2aada2;if(_0x4dc846==null)return!0x0;const {x:_0x2eb7b3=0x0,y:_0x299e2e=0x0,si:_0x118ea5}=_0x4dc846;if(!(_0x2eb7b3===0x0&&_0x299e2e===0x0&&_0x118ea5!=null))return!0x0;const _0x44d1f6=this[_0x4d51f1(0x13a)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7,_0x2fe95f,_0x4dc846),_0x54727f=this[_0x4d51f1(0x1a4)][_0x4d51f1(0x1a5)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7);_0x54727f!=null?_0x44d1f6['treeId']=_0x54727f:(this[_0x4d51f1(0x1a4)][_0x4d51f1(0x138)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7,_0x44d1f6),this[_0x4d51f1(0x1a4)]['addFormulaDependencyByDefinedName'](_0x44d1f6)),_0x218018['set'](_0x118ea5,_0x44d1f6),_0x1e3e4a[_0x4d51f1(0x17d)](_0x44d1f6),this['_dependencyTreeCache'][_0x4d51f1(0x135)](_0x44d1f6['treeId'],_0x44d1f6);}),_0x49f32f[_0x2aada2(0x155)]((_0x58d6e0,_0x430c39,_0x58cd12)=>{const _0x23e58a=_0x2aada2;if(_0x58cd12==null)return!0x0;const {x:_0x22f2c8=0x0,y:_0x211432=0x0,si:_0x11dfe5}=_0x58cd12;if(_0x22f2c8===0x0&&_0x211432===0x0&&_0x11dfe5!=null)return!0x0;let _0x1b0379;if(_0x11dfe5&&_0x218018[_0x23e58a(0x121)](_0x11dfe5)){const _0x1bef28=_0x218018[_0x23e58a(0x14b)](_0x11dfe5);_0x1b0379=this[_0x23e58a(0x14e)](_0x1bef28,_0x58cd12);}else _0x1b0379=this[_0x23e58a(0x13a)](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39,_0x2fe95f,_0x58cd12);const _0x30e6bc=this[_0x23e58a(0x1a4)]['getFormulaDependency'](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39);_0x30e6bc!=null?_0x1b0379[_0x23e58a(0x122)]=_0x30e6bc:(this['_dependencyManagerService'][_0x23e58a(0x138)](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39,_0x1b0379),this[_0x23e58a(0x1a4)][_0x23e58a(0x198)](_0x1b0379)),_0x1e3e4a[_0x23e58a(0x17d)](_0x1b0379),this[_0x23e58a(0x1ae)][_0x23e58a(0x135)](_0x1b0379['treeId'],_0x1b0379);}),_0x218018[_0x2aada2(0x1ad)]();}}}[_0x490257(0x13a)](_0x5ce1ab,_0x62ee61,_0x349eca,_0x43f547,_0x3286ec,_0x2f6799){const _0x553824=_0x490257,{f:_0x533079,x:_0x40439c=0x0,y:_0x4090f9=0x0}=_0x2f6799,_0x3e833d=new _0x18fee7(_0x8fc08b(this['_dependencyManagerService'])),_0x533fdd=_0x3286ec[_0x5ce1ab][_0x62ee61];return _0x3e833d[_0x553824(0x134)]=_0x533079,_0x3e833d[_0x553824(0x12b)]=_0x5ce1ab,_0x3e833d[_0x553824(0x180)]=_0x62ee61,_0x3e833d[_0x553824(0x14a)]=_0x349eca,_0x3e833d[_0x553824(0x179)]=_0x43f547,_0x3e833d[_0x553824(0x19c)]=_0x533fdd[_0x553824(0x19c)],_0x3e833d['columnCount']=_0x533fdd[_0x553824(0x181)],_0x3e833d;}['_getUpdateTreeListAndMakeDependency'](){const _0x33c95e=_0x490257,_0x79d0cb=[],_0x2cf3a5=new Set(),_0x50c8c7=this['_currentConfigService'][_0x33c95e(0x150)](),_0x58b655=this[_0x33c95e(0x142)][_0x33c95e(0x169)](),_0x4a4b72=this[_0x33c95e(0x1a4)]['searchDependency'](_0x58b655),_0x109c18=this[_0x33c95e(0x1bd)][_0x33c95e(0x157)](_0x58b655);for(const _0x334515 of _0x109c18)_0x4a4b72['add'](_0x334515);for(const [_0x1a7a83,_0x228127]of this[_0x33c95e(0x1ae)])(_0x50c8c7||_0x228127[_0x33c95e(0x145)]||_0x228127[_0x33c95e(0x1af)](this[_0x33c95e(0x142)][_0x33c95e(0x146)]())||_0x4a4b72[_0x33c95e(0x121)](_0x1a7a83)&&!_0x228127[_0x33c95e(0x195)](this[_0x33c95e(0x142)][_0x33c95e(0x159)]()))&&!_0x2cf3a5[_0x33c95e(0x121)](_0x1a7a83)&&(_0x79d0cb[_0x33c95e(0x17d)](_0x228127),_0x2cf3a5[_0x33c95e(0x196)](_0x1a7a83));for(const [_0x56c857,_0x56731e]of this['_dependencyTreeCache'])_0x56731e[_0x33c95e(0x183)]||(_0x56731e['rangeList']['length']=0x0);return _0x79d0cb;}[_0x490257(0x12c)](_0x2ca40a){const _0x24716d=_0x490257;return this[_0x24716d(0x1ae)]['get'](_0x2ca40a);}['_getTreeNode'](_0x50efc0){const _0x4628d8=_0x490257;return _0x46e10b(_0x50efc0[_0x4628d8(0x12b)],_0x50efc0[_0x4628d8(0x134)],this[_0x4628d8(0x1b7)],this[_0x4628d8(0x194)],this[_0x4628d8(0x142)]);}*[_0x490257(0x16f)](_0x4f7af3,_0x2a09c1){const _0x5814fc=_0x490257,_0x13ea35=_0x4f7af3,_0x2651d4=new Set();for(;_0x13ea35[_0x5814fc(0x18b)]>0x0;){const _0x4912a6=_0x13ea35[_0x5814fc(0x158)]();if(_0x2651d4[_0x5814fc(0x1ad)](),_0x4912a6===void 0x0||_0x4912a6[_0x5814fc(0x15f)]())continue;if(_0x4912a6[_0x5814fc(0x18e)]()){yield _0x4912a6,_0x4912a6[_0x5814fc(0x1b5)](),_0x2a09c1['add'](_0x4912a6[_0x5814fc(0x122)]);continue;}const _0x34b4a1=this['_dependencyManagerService'][_0x5814fc(0x1b2)](_0x4912a6['toRTreeItem'](),_0x2a09c1),_0x4f824f=this['_dependencyRTreeCacheForAddressFunction'][_0x5814fc(0x157)](_0x4912a6[_0x5814fc(0x197)](),_0x2a09c1);for(const _0x35f342 of _0x4f824f)_0x34b4a1['add'](_0x35f342);for(const _0xc9752 of _0x34b4a1){const _0x53b903=this['_dependencyTreeCache'][_0x5814fc(0x14b)](_0xc9752);if(!_0x53b903)throw new Error(_0x5814fc(0x124));_0x53b903[_0x5814fc(0x18e)]()||_0x4912a6[_0x5814fc(0x15f)]()||_0x2651d4[_0x5814fc(0x196)](_0x53b903);}if(_0x34b4a1[_0x5814fc(0x1ad)](),_0x2651d4[_0x5814fc(0x192)]===0x0)yield _0x4912a6,_0x4912a6[_0x5814fc(0x1b5)](),_0x2a09c1['add'](_0x4912a6[_0x5814fc(0x122)]);else{_0x4912a6['setAdded'](),_0x13ea35[_0x5814fc(0x17d)](_0x4912a6);for(const _0x3b13c2 of _0x2651d4)_0x13ea35[_0x5814fc(0x17d)](_0x3b13c2);}}_0x13ea35[_0x5814fc(0x18b)]=0x0,_0x2651d4[_0x5814fc(0x1ad)]();}['_calculateRunList'](_0x350d69){const _0x37f4d9=_0x490257,_0xf2e725=[],_0x1f99c8=new Set();for(const _0x220262 of this[_0x37f4d9(0x16f)](_0x350d69,_0x1f99c8))_0xf2e725[_0x37f4d9(0x17d)](_0x220262);return _0xf2e725;}}class he extends _0x40a1ab{async[_0x490257(0x163)](_0x2c8495=!0x1){const _0x45b798=_0x490257;_0x2c8495?this['_runtimeService'][_0x45b798(0x1ac)](_0x1eb71e['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x1b1)]),this[_0x45b798(0x12d)]['next'](this[_0x45b798(0x177)][_0x45b798(0x176)]());const _0x4db0ea=await this[_0x45b798(0x1bb)]['generate'](),_0x3e7c04=this[_0x45b798(0x19b)];_0x2c8495?(this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x18f)]),this[_0x45b798(0x177)][_0x45b798(0x12a)](_0x4db0ea[_0x45b798(0x18b)])):(this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x1c1)]),this['_runtimeService'][_0x45b798(0x15d)](_0x4db0ea[_0x45b798(0x18b)])),this[_0x45b798(0x12d)][_0x45b798(0x133)](this[_0x45b798(0x177)]['getRuntimeState']());let _0x458c8d=[];const _0x444a52=this[_0x45b798(0x166)][_0x45b798(0x16e)](_0x283d6c),_0x1be189=(_0x444a52==null?void 0x0:_0x444a52[_0x45b798(0x15e)])||_0x5838aa;let _0x5a94eb=0x0;const _0x3ff6b7=_0x4db0ea['length'];for(;_0x4db0ea[_0x45b798(0x18b)]>0x0;){const _0x14fcdf=_0x4db0ea[_0x45b798(0x158)](),_0x1e413b={'node':_0x46e10b(_0x14fcdf[_0x45b798(0x12b)],_0x14fcdf[_0x45b798(0x134)],this[_0x45b798(0x1b7)],this[_0x45b798(0x194)],this['_currentConfigService']),'refOffsetX':_0x14fcdf[_0x45b798(0x167)],'refOffsetY':_0x14fcdf[_0x45b798(0x164)]},_0x5234aa=_0x14fcdf[_0x45b798(0x190)];if(_0x5a94eb%_0x1be189===0x0&&(await new Promise(_0x2a8e23=>{const _0x542657=_0x45b798,_0x238299=_0x2f566d(_0x2a8e23);_0x458c8d[_0x542657(0x17d)](_0x238299);}),_0x2c8495?(this[_0x45b798(0x177)]['setFormulaExecuteStage'](_0x1eb71e['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x45b798(0x177)][_0x45b798(0x170)](_0x5a94eb+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x1eb71e[_0x45b798(0x1a6)]),this[_0x45b798(0x177)][_0x45b798(0x193)](_0x5a94eb+0x1)),this[_0x45b798(0x12d)][_0x45b798(0x133)](this[_0x45b798(0x177)][_0x45b798(0x176)]()),this[_0x45b798(0x177)]['isStopExecution']()||_0x1e413b==null&&_0x5234aa==null)){this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x19a)]),this['_runtimeService'][_0x45b798(0x130)](),this[_0x45b798(0x16c)][_0x45b798(0x133)](this[_0x45b798(0x177)][_0x45b798(0x1a9)]());return;}this[_0x45b798(0x177)][_0x45b798(0x12f)](_0x14fcdf[_0x45b798(0x14a)],_0x14fcdf[_0x45b798(0x179)],_0x14fcdf[_0x45b798(0x19c)],_0x14fcdf['columnCount'],_0x14fcdf[_0x45b798(0x180)],_0x14fcdf['unitId']);let _0x1726e3;if(_0x5234aa!=null&&_0x14fcdf[_0x45b798(0x149)]!=null){const {runtimeCellData:_0x54cb8d,dirtyRanges:_0x20b815}=_0x5234aa(this['_currentConfigService']['getDirtyData'](),this[_0x45b798(0x177)][_0x45b798(0x1a9)]());this[_0x45b798(0x177)][_0x45b798(0x127)](_0x14fcdf[_0x45b798(0x149)],_0x54cb8d),this[_0x45b798(0x177)][_0x45b798(0x12e)](_0x14fcdf[_0x45b798(0x149)],_0x20b815);}else _0x1e413b!=null&&(_0x3e7c04[_0x45b798(0x16a)](_0x1e413b[_0x45b798(0x17f)])?_0x1726e3=await _0x3e7c04[_0x45b798(0x153)](_0x1e413b):_0x1726e3=_0x3e7c04[_0x45b798(0x1b9)](_0x1e413b),_0x14fcdf[_0x45b798(0x152)]!=null?this[_0x45b798(0x177)][_0x45b798(0x18a)](_0x14fcdf['formulaId'],_0x14fcdf[_0x45b798(0x167)],_0x14fcdf['refOffsetY'],_0x1726e3):this['_runtimeService'][_0x45b798(0x19f)](_0x1726e3));_0x5a94eb++;}return _0x458c8d[_0x45b798(0x151)](_0x428c89=>_0x428c89()),_0x458c8d=[],_0x3ff6b7>0x0?this[_0x45b798(0x177)][_0x45b798(0x1ba)]():_0x2c8495||this[_0x45b798(0x177)][_0x45b798(0x13c)](),this[_0x45b798(0x177)][_0x45b798(0x1a9)]();}}class fe extends _0x483dd9{constructor(){const _0x4094c6=_0x490257;super(...arguments),F(this,_0x4094c6(0x1c3),new Map()),F(this,_0x4094c6(0x123),new _0x2b3f7a(!0x0));}[_0x490257(0x1a3)](){const _0x34320c=_0x490257;this[_0x34320c(0x17b)][_0x34320c(0x1ad)](),this[_0x34320c(0x19e)]['clear'](),this[_0x34320c(0x131)][_0x34320c(0x1ad)](),this[_0x34320c(0x123)]['clear'](),this[_0x34320c(0x1c3)][_0x34320c(0x1ad)](),this['_restDependencyTreeId'](),this[_0x34320c(0x174)][_0x34320c(0x1ad)]();}[_0x490257(0x171)](_0x26021a,_0x33f755,_0x1d6849,_0x16fa52){const _0x39086e=_0x490257;this[_0x39086e(0x17b)][_0x39086e(0x121)](_0x26021a)||this[_0x39086e(0x17b)][_0x39086e(0x135)](_0x26021a,new Map());const _0x2aed3d=this[_0x39086e(0x17b)][_0x39086e(0x14b)](_0x26021a);_0x2aed3d['has'](_0x33f755)||_0x2aed3d[_0x39086e(0x135)](_0x33f755,new Map());const _0x10ea0f=_0x2aed3d[_0x39086e(0x14b)](_0x33f755);_0x10ea0f[_0x39086e(0x121)](_0x1d6849)||_0x10ea0f[_0x39086e(0x135)](_0x1d6849,new _0x47d10c()),_0x10ea0f['get'](_0x1d6849)['setValue'](_0x16fa52[_0x39086e(0x167)],_0x16fa52['refOffsetY'],_0x16fa52[_0x39086e(0x122)]);}[_0x490257(0x141)](_0x45bfbb,_0x18f7ab,_0x392c79){const _0x22aa80=_0x490257,_0x346a2d=this[_0x22aa80(0x17b)][_0x22aa80(0x14b)](_0x45bfbb);if(_0x346a2d&&_0x346a2d['has'](_0x18f7ab)){const _0x45fa91=_0x346a2d[_0x22aa80(0x14b)](_0x18f7ab);_0x392c79['forEach'](_0x55de56=>{const _0x171515=_0x22aa80,_0x52222f=_0x45fa91[_0x171515(0x14b)](_0x55de56);_0x52222f!=null&&(_0x52222f[_0x171515(0x155)]((_0x8ff5d9,_0x1b221c,_0x570f0f)=>{const _0x2b5469=_0x171515;this['_removeDependencyRTreeCache'](_0x570f0f),this[_0x2b5469(0x11f)](_0x570f0f);}),_0x45fa91[_0x171515(0x125)](_0x55de56),this[_0x171515(0x174)][_0x171515(0x125)](_0x55de56));}),_0x45fa91['size']===0x0&&_0x346a2d[_0x22aa80(0x125)](_0x18f7ab),_0x346a2d['size']===0x0&&this[_0x22aa80(0x17b)]['delete'](_0x45bfbb);}}['clearOtherFormulaDependency'](_0xd00727,_0x343a33){const _0x298b18=_0x490257,_0x2ccf9f=this[_0x298b18(0x17b)][_0x298b18(0x14b)](_0xd00727);if(_0x343a33&&_0x2ccf9f&&_0x2ccf9f['has'](_0x343a33)){const _0x108de3=_0x2ccf9f[_0x298b18(0x14b)](_0x343a33);this[_0x298b18(0x187)](_0xd00727,_0x343a33);for(const _0x19ec5a of _0x108de3['keys']()){const _0x192235=_0x108de3[_0x298b18(0x14b)](_0x19ec5a);_0x192235!=null&&(_0x192235[_0x298b18(0x155)]((_0x31bea9,_0x547498,_0x34c64a)=>{const _0x1134b4=_0x298b18;this[_0x1134b4(0x1c3)][_0x1134b4(0x14b)](_0x34c64a)&&this['_removeAllTreeMap'](_0x34c64a);}),this[_0x298b18(0x174)]['delete'](_0x19ec5a));}_0x108de3[_0x298b18(0x1ad)]();}else{if(_0x2ccf9f){for(const _0x43431a of _0x2ccf9f[_0x298b18(0x16b)]()){const _0x4bb4a2=_0x2ccf9f[_0x298b18(0x14b)](_0x43431a);this[_0x298b18(0x187)](_0xd00727,_0x43431a);for(const _0x37350e of _0x4bb4a2['keys']()){const _0x447258=_0x4bb4a2[_0x298b18(0x14b)](_0x37350e);_0x447258!=null&&(_0x447258[_0x298b18(0x155)]((_0x1df251,_0x1ea8b6,_0x4af295)=>{const _0x3711bf=_0x298b18;this[_0x3711bf(0x1c3)][_0x3711bf(0x14b)](_0x4af295)&&this[_0x3711bf(0x11f)](_0x4af295);}),this['_otherFormulaDataMainData']['delete'](_0x37350e));}}this['_otherFormulaData']['delete'](_0xd00727);}}}[_0x490257(0x191)](_0x18ab3f,_0xeece9e,_0x3c8a6b,_0x1b9d19){const _0x15ce6c=_0x490257;this[_0x15ce6c(0x19e)][_0x15ce6c(0x121)](_0x18ab3f)||this[_0x15ce6c(0x19e)][_0x15ce6c(0x135)](_0x18ab3f,new Map());const _0x25172e=this['_featureFormulaData'][_0x15ce6c(0x14b)](_0x18ab3f);_0x25172e['has'](_0xeece9e)||_0x25172e[_0x15ce6c(0x135)](_0xeece9e,new Map()),_0x25172e[_0x15ce6c(0x14b)](_0xeece9e)[_0x15ce6c(0x135)](_0x3c8a6b,_0x1b9d19[_0x15ce6c(0x122)]);}[_0x490257(0x1a0)](_0xfe8b07,_0x8b65e7,_0x2ec2f4){const _0x1ca859=_0x490257,_0x17b676=this[_0x1ca859(0x19e)][_0x1ca859(0x14b)](_0xfe8b07);if(_0x17b676&&_0x17b676[_0x1ca859(0x121)](_0x8b65e7)){const _0x2549f4=_0x17b676[_0x1ca859(0x14b)](_0x8b65e7);_0x2ec2f4[_0x1ca859(0x151)](_0x4545d2=>{const _0x4ce67a=_0x1ca859,_0x32affa=_0x2549f4['get'](_0x4545d2);_0x32affa!=null&&(this[_0x4ce67a(0x154)](_0x32affa),_0x2549f4['delete'](_0x4545d2),this[_0x4ce67a(0x11f)](_0x32affa));});}}[_0x490257(0x1bf)](_0x752ad7,_0x58ca22){const _0x2a86e5=_0x490257,_0x5a2f7f=this[_0x2a86e5(0x19e)]['get'](_0x752ad7);if(_0x58ca22&&_0x5a2f7f&&_0x5a2f7f['has'](_0x58ca22)){const _0x451220=_0x5a2f7f[_0x2a86e5(0x14b)](_0x58ca22);this[_0x2a86e5(0x187)](_0x752ad7,_0x58ca22),_0x451220[_0x2a86e5(0x151)](_0x4845e5=>{const _0x8f19ef=_0x2a86e5;_0x4845e5!=null&&this[_0x8f19ef(0x11f)](_0x4845e5);}),_0x451220[_0x2a86e5(0x1ad)]();}else _0x5a2f7f&&(_0x5a2f7f[_0x2a86e5(0x151)]((_0xac68d3,_0x10bb7c)=>{const _0x5b6b4d=_0x2a86e5;this[_0x5b6b4d(0x187)](_0x752ad7,_0x10bb7c),_0xac68d3[_0x5b6b4d(0x151)](_0x55f537=>{const _0x29451b=_0x5b6b4d;_0x55f537!=null&&this[_0x29451b(0x11f)](_0x55f537);});}),this[_0x2a86e5(0x19e)][_0x2a86e5(0x125)](_0x752ad7));}[_0x490257(0x138)](_0x2d0396,_0x548b32,_0x2348c1,_0x4dcfa0,_0x2e7449){const _0x207016=_0x490257;this[_0x207016(0x131)][_0x207016(0x121)](_0x2d0396)||this[_0x207016(0x131)]['set'](_0x2d0396,new Map());const _0x1fa009=this[_0x207016(0x131)][_0x207016(0x14b)](_0x2d0396);_0x1fa009[_0x207016(0x121)](_0x548b32)||_0x1fa009[_0x207016(0x135)](_0x548b32,new _0x47d10c()),_0x1fa009['get'](_0x548b32)['setValue'](_0x2348c1,_0x4dcfa0,_0x2e7449[_0x207016(0x122)]);}[_0x490257(0x1b8)](_0x21ed73,_0x4631b9,_0x5f261a,_0x316d8d){const _0xf61e80=_0x490257,_0x4f228b=this['_formulaData']['get'](_0x21ed73);if(_0x4f228b&&_0x4f228b[_0xf61e80(0x121)](_0x4631b9)){const _0x5c5424=_0x4f228b['get'](_0x4631b9),_0x17b2b7=_0x5c5424[_0xf61e80(0x1b0)](_0x5f261a,_0x316d8d);if(_0x17b2b7==null)return;this[_0xf61e80(0x154)](_0x17b2b7),_0x5c5424[_0xf61e80(0x15b)](_0x5f261a,_0x316d8d),this[_0xf61e80(0x11f)](_0x17b2b7);}}['clearFormulaDependency'](_0x31f12c,_0xc06a5e){const _0x289e5c=_0x490257,_0x201615=this['_formulaData'][_0x289e5c(0x14b)](_0x31f12c);if(_0xc06a5e&&_0x201615&&_0x201615['has'](_0xc06a5e)){const _0x572a45=_0x201615['get'](_0xc06a5e);this['_removeDependencyRTreeCacheById'](_0x31f12c,_0xc06a5e),_0x572a45['forValue']((_0x5a316e,_0x382570,_0x3c52d5)=>{const _0x321ed8=_0x289e5c;if(_0x3c52d5==null)return!0x0;this[_0x321ed8(0x11f)](_0x3c52d5);}),_0x572a45[_0x289e5c(0x1a3)]();}else _0x201615&&(_0x201615[_0x289e5c(0x151)]((_0x3967be,_0x28bab3)=>{const _0x22a4f3=_0x289e5c;this[_0x22a4f3(0x187)](_0x31f12c,_0x28bab3),_0x3967be['forValue']((_0x18a680,_0x16b006,_0x172384)=>{const _0xf0df54=_0x22a4f3;if(_0x172384==null)return!0x0;this[_0xf0df54(0x11f)](_0x172384);});}),this['_formulaData'][_0x289e5c(0x125)](_0x31f12c));}['_removeDependencyRTreeCache'](_0x5a94f4){const _0x4c0276=_0x490257;if(_0x5a94f4==null)return;const _0x5f8afd=this['_allTreeMap']['get'](_0x5a94f4);if(_0x5f8afd){const _0x4da5fc=[];for(const [_0x370a60,_0x1e5220]of _0x5f8afd)for(const [_0x32caf2,_0x5d4ecf]of _0x1e5220)_0x4da5fc[_0x4c0276(0x17d)]({'unitId':_0x370a60,'sheetId':_0x32caf2,'range':_0x5d4ecf,'id':_0x5a94f4});this[_0x4c0276(0x123)][_0x4c0276(0x1b6)](_0x4da5fc);}}[_0x490257(0x15a)](_0x338f21,_0x470932){const _0x4d71a3=_0x490257,_0x1a8739=this[_0x4d71a3(0x1c4)][_0x4d71a3(0x14b)](_0x338f21);if(_0x1a8739){const _0x4d8183=_0x1a8739[_0x4d71a3(0x14b)](_0x470932);if(_0x4d8183){for(const _0x315d3d of _0x4d8183)this['_removeDependencyRTreeCache'](_0x315d3d),this[_0x4d71a3(0x11f)](_0x315d3d);_0x4d8183[_0x4d71a3(0x1ad)]();}}}[_0x490257(0x1c0)](){const _0x1e879d=_0x490257;this[_0x1e879d(0x123)][_0x1e879d(0x1c0)]();}[_0x490257(0x1a8)](){const _0x5ebdc1=_0x490257;this[_0x5ebdc1(0x123)][_0x5ebdc1(0x1a8)]();}[_0x490257(0x11f)](_0x25599b){const _0x315b84=_0x490257;_0x25599b!=null&&this[_0x315b84(0x1c3)]['delete'](_0x25599b);}[_0x490257(0x175)](_0x380ca1){const _0x2177d0=_0x490257;var _0x35c683,_0x127a5b;const _0x4839cd=_0x380ca1['rangeList'];let _0x2e3e79=this[_0x2177d0(0x1c3)][_0x2177d0(0x14b)](_0x380ca1[_0x2177d0(0x122)]);for(let _0x399da9=0x0;_0x399da9<_0x4839cd[_0x2177d0(0x18b)];_0x399da9++){const _0x18e37d=_0x4839cd[_0x399da9];let {unitId:_0x25b593,sheetId:_0x51f2c6,range:_0x346896}=_0x18e37d;_0x2e3e79||(_0x2e3e79=new Map(),this[_0x2177d0(0x1c3)][_0x2177d0(0x135)](_0x380ca1['treeId'],_0x2e3e79)),_0x2e3e79[_0x2177d0(0x121)](_0x25b593)||_0x2e3e79[_0x2177d0(0x135)](_0x25b593,new Map());const _0x444e6d=(_0x35c683=_0x2e3e79==null?void 0x0:_0x2e3e79['get'](_0x25b593))==null?void 0x0:_0x35c683[_0x2177d0(0x14b)](_0x51f2c6);_0x444e6d&&(_0x346896={'startRow':Math[_0x2177d0(0x1bc)](_0x346896[_0x2177d0(0x1ab)],_0x444e6d[_0x2177d0(0x1ab)]),'startColumn':Math[_0x2177d0(0x1bc)](_0x346896['startColumn'],_0x444e6d[_0x2177d0(0x184)]),'endRow':Math[_0x2177d0(0x188)](_0x346896['endRow'],_0x444e6d[_0x2177d0(0x1b4)]),'endColumn':Math[_0x2177d0(0x188)](_0x346896['endColumn'],_0x444e6d[_0x2177d0(0x13e)])}),(_0x127a5b=_0x2e3e79['get'](_0x25b593))==null||_0x127a5b['set'](_0x51f2c6,_0x346896);}}}var ge=Object['getOwnPropertyDescriptor'],pe=(_0x19517c,_0x13b9c4,_0x880e20,_0x1050f3)=>{for(var _0x446a78=_0x1050f3>0x1?void 0x0:_0x1050f3?ge(_0x13b9c4,_0x880e20):_0x13b9c4,_0x40cb47=_0x19517c['length']-0x1,_0x57fdc1;_0x40cb47>=0x0;_0x40cb47--)(_0x57fdc1=_0x19517c[_0x40cb47])&&(_0x446a78=_0x57fdc1(_0x446a78)||_0x446a78);return _0x446a78;};const _e=Number[_0x490257(0x17a)](0x687b5697);function _0x259e(_0xa037c8,_0x370850){const _0x395205=_0x3952();return _0x259e=function(_0x259e4b,_0x317ad2){_0x259e4b=_0x259e4b-0x11f;let _0x5e9614=_0x395205[_0x259e4b];return _0x5e9614;},_0x259e(_0xa037c8,_0x370850);}function _0x3952(){const _0x14dd88=['startColumn','_generateTreeList','hasOtherFormulaDataMainData','_removeDependencyRTreeCacheById','max','return\x20','setRuntimeOtherData','length','6545049pUlgbB','290500vvYOSO','isAdded','START_CALCULATION_ARRAY_FORMULA','getDirtyData','addFeatureFormulaDependency','size','setCompletedFormulasCount','_astTreeBuilder','isExcludeRange','add','toRTreeItem','addFormulaDependencyByDefinedName','1349132PtRMUT','IDLE','_interpreter','rowCount','_getUpdateTreeListAndMakeDependency','_featureFormulaData','setRuntimeData','removeFeatureFormulaDependency','_initLicenseValid','dirtyRanges','reset','_dependencyManagerService','getFormulaDependency','CURRENTLY_CALCULATING','notExecuteFormula','closeKdTree','getAllRuntimeData','enableCycleDependency','startRow','setFormulaExecuteStage','clear','_dependencyTreeCache','dependencySheetName','getValue','START_DEPENDENCY','searchDependency','_registerOtherFormulas','endRow','setSkip','bulkRemove','_lexer','removeFormulaDependency','execute','markedAsSuccessfullyExecuted','_formulaDependencyGenerator','min','_dependencyRTreeCacheForAddressFunction','423Grkrdl','clearFeatureFormulaDependency','openKdTree','START_CALCULATION','rangeList','_allTreeMap','_definedNameMap','_removeAllTreeMap','defineProperty','has','treeId','_dependencyRTreeCache','ParentDependencyTree\x20object\x20is\x20null','delete','getFeatureFormulaDependency','setRuntimeFeatureCellData','FEATURE_FORMULA','10fdxPNf','setTotalArrayFormulasToCalculate','unitId','_getTreeById','_executionInProgressListener$','setRuntimeFeatureRange','setCurrent','markedAsStopFunctionsExecuted','_formulaData','_injector','next','formula','set','_getFeatureFormulaTree','_config','addFormulaDependency','getUnitData','_createFDtree','type','markedAsNoFunctionsExecuted','233598iVHuff','endColumn','_isCyclicUtilMap','_checkIsCycleDependency','removeOtherFormulaDependency','_currentConfigService','_getFirstCellOfRange','getOtherFormulaData','isDirty','getDirtyNameMap','_updateRangeFlatten','resolve','featureId','row','get','OTHER_FORMULA','5vhlTAm','_createVirtualFDtree','valid','isForceCalculate','forEach','formulaId','executeAsync','_removeDependencyRTreeCache','forValue','clearOtherFormulaDependency','bulkSearch','pop','getExcludedRange','removeFormulaDependencyByDefinedName','realDeleteValue','isCache','setTotalFormulasToCalculate','intervalCount','isSkip','_initializeWithOverride','_otherFormulaManagerService','_convertDirtyRangesToUnitRange','_apply','refOffsetY','featureDirtyRanges','_configService','refOffsetX','1541922xQkvOX','getDirtyRanges','checkAsyncNode','keys','_executionCompleteListener$','getClearDependencyTreeCache','getConfig','_traverse','setCompletedArrayFormulasCount','addOtherFormulaDependency','205350AEFZLR','getFormulaData','_otherFormulaDataMainData','_addAllTreeMap','getRuntimeState','_runtimeService','dispose','column','parseInt','_otherFormulaData','symbol','push','addOtherFormulaDependencyMainData','node','subUnitId','columnCount','4575520rTZdtW','isVirtual'];_0x3952=function(){return _0x14dd88;};return _0x3952();}let I=class extends _0xc65c85{[_0x490257(0x160)](){const _0xb42d1e=_0x490257;var _0x1097bb,_0x84643f;this[_0xb42d1e(0x1a1)]()?(_0x1097bb=this['_config'])!=null&&_0x1097bb[_0xb42d1e(0x1a7)]||[[_0x55a01e,{'useClass':he}],[_0x44c045,{'useClass':fe}],[_0x249691,{'useClass':de}]][_0xb42d1e(0x151)](_0x132d27=>this[_0xb42d1e(0x132)][_0xb42d1e(0x196)](_0x132d27)):(_0x84643f=this[_0xb42d1e(0x137)])!=null&&_0x84643f[_0xb42d1e(0x1a7)]||[[_0x55a01e,{'useClass':_0x40a1ab}],[_0x44c045,{'useClass':_0x3a9946}],[_0x249691,{'useClass':_0x5228b7}]][_0xb42d1e(0x151)](_0x4b6365=>this[_0xb42d1e(0x132)][_0xb42d1e(0x196)](_0x4b6365));}[_0x490257(0x1a1)](){const _0x15e99f=_0x490257;var _0x2fd2ef;const _0x390b8d=(_0x2fd2ef=this[_0x15e99f(0x166)]['getConfig'](_0x2d655f))!=null?_0x2fd2ef:{},{ls:_0x3b49da,pbk:_0xecc62c}=_0x390b8d;if(!_0x3b49da||!_0xecc62c)return!0x1;const _0x58f7f7=_0x4d6a07(ue,le),_0x22a47e=new Function(_0x15e99f(0x189)+_0x58f7f7)()(_0x3b49da,_0xecc62c),_0x599285=_0x22a47e['message'];return _0x22a47e[_0x15e99f(0x14f)]&&_0x24b1f3(_0x599285,'sf',_e)?_0x5d9182(_0x599285,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};I=pe([_0x154ae4(_0x294f74)],I);export{I as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x1ddc69=_0x46e8;(function(_0x5c7ea6,_0x4e0968){const _0x63ac4f=_0x46e8,_0x534186=_0x5c7ea6();while(!![]){try{const _0x2af86d=-parseInt(_0x63ac4f(0x25c))/0x1+-parseInt(_0x63ac4f(0x25d))/0x2*(parseInt(_0x63ac4f(0x274))/0x3)+parseInt(_0x63ac4f(0x257))/0x4+parseInt(_0x63ac4f(0x26c))/0x5+parseInt(_0x63ac4f(0x233))/0x6*(-parseInt(_0x63ac4f(0x245))/0x7)+-parseInt(_0x63ac4f(0x23c))/0x8+-parseInt(_0x63ac4f(0x241))/0x9*(-parseInt(_0x63ac4f(0x232))/0xa);if(_0x2af86d===_0x4e0968)break;else _0x534186['push'](_0x534186['shift']());}catch(_0x12f1fc){_0x534186['push'](_0x534186['shift']());}}}(_0x5d0e,0xeefc4));var W=Object[_0x1ddc69(0x26d)],z=(_0x470c40,_0x2f5b5f,_0x175c38)=>_0x2f5b5f in _0x470c40?W(_0x470c40,_0x2f5b5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x175c38}):_0x470c40[_0x2f5b5f]=_0x175c38,v=(_0x5a926c,_0x3aba3a,_0x3dea06)=>z(_0x5a926c,typeof _0x3aba3a!=_0x1ddc69(0x226)?_0x3aba3a+'':_0x3aba3a,_0x3dea06);import{UniverLicensePlugin as _0x4a6b2d,LS_CONFIG_KEY as _0x2bfac9,unshiftString as _0x1441cc,isFeatureAuthorizedWithinTime as _0x33989b,getSheetFeatureLimit as _0x34f366}from'@univerjs-pro/license';import{ObjectMatrix as _0x5a4321,requestImmediateMacroTask as _0x2a7a62,RTree as _0x3d2b8d,DependentOn as _0x1c480c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x4b513e,generateRandomDependencyTreeId as _0x4de1b7,FormulaDependencyTree as _0x2fe794,FormulaDependencyTreeType as _0x3bf087,FormulaDependencyTreeVirtual as _0x1b7763,generateAstNode as _0x1e96c9,CalculateFormulaService as _0x31b39f,FormulaExecuteStageType as _0x45cd9a,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x2e282d,DEFAULT_INTERVAL_COUNT as _0x29e20f,DependencyManagerBaseService as _0x2ac36a,UniverFormulaEnginePlugin as _0x5ad5dc,ICalculateFormulaService as _0x125caa,IDependencyManagerService as _0x407a9c,IFormulaDependencyGenerator as _0x41a773,DependencyManagerService as _0xb6dd45}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const de={0x0:'5',0x1:'4',0x2:'j',0x3:'7',0x4:'v',0x5:'O',0x6:'0',0x7:'E',0x8:'I',0x9:'G','U':'1','y':'2','S':'3','m':'6','x':'8','T':'9','w':'a','G':'b','e':'c','P':'d','d':'e','L':'f','O':'g','D':'h','R':'i','W':'k','o':'l','f':'m','H':'n','k':'o','E':'p','v':'q','h':'r','q':'s','p':'t','n':'u','F':'w','V':'x','c':'y','M':'z','N':'A','A':'B','X':'C','I':'D','b':'F','C':'H','Q':'J','z':'K','B':'L','r':'M','i':'N','j':'P','K':'Q','u':'R','Z':'S','g':'T','J':'U','Y':'V','t':'W','a':'X','l':'Y','s':'Z'},le=_0x1ddc69(0x21f);class he extends _0x4b513e{constructor(){const _0x4b89ac=_0x1ddc69;super(...arguments),v(this,_0x4b89ac(0x1fa),new Map());}[_0x1ddc69(0x219)](){const _0x401ffb=_0x1ddc69;super[_0x401ffb(0x219)](),this[_0x401ffb(0x1fa)][_0x401ffb(0x270)]();}async[_0x1ddc69(0x1f6)](){const _0x4a04f1=_0x1ddc69;this[_0x4a04f1(0x1f8)]();const _0x18fd14=this[_0x4a04f1(0x239)]['getFormulaData'](),_0x1d9e43=this[_0x4a04f1(0x217)][_0x4a04f1(0x218)](),_0x4f39af=this[_0x4a04f1(0x239)][_0x4a04f1(0x24f)]();_0x4f39af!=null&&Object[_0x4a04f1(0x258)](_0x4f39af)[_0x4a04f1(0x22b)](_0x57b773=>{const _0x261637=_0x4a04f1;_0x57b773!=null&&Object[_0x261637(0x258)](_0x4f39af[_0x57b773])['forEach'](_0xb5b5d6=>{const _0x1342cd=_0x261637;_0xb5b5d6!=null&&(this[_0x1342cd(0x269)]['clearOtherFormulaDependency'](_0x57b773,_0xb5b5d6),this[_0x1342cd(0x269)][_0x1342cd(0x20b)](_0x57b773,_0xb5b5d6),this[_0x1342cd(0x269)][_0x1342cd(0x203)](_0x57b773,_0xb5b5d6));});});const _0x50d7d2=this[_0x4a04f1(0x239)][_0x4a04f1(0x27d)]();await this[_0x4a04f1(0x27e)](_0x18fd14,_0x1d9e43,_0x50d7d2),this[_0x4a04f1(0x269)][_0x4a04f1(0x22a)]();const _0x4e2100=this[_0x4a04f1(0x20d)](),_0x52bbb7=this['_calculateRunList'](_0x4e2100);return this[_0x4a04f1(0x259)](_0x52bbb7)&&this[_0x4a04f1(0x1f9)]['enableCycleDependency'](),this[_0x4a04f1(0x1fa)][_0x4a04f1(0x270)](),this['_dependencyRTreeCacheForAddressFunction'][_0x4a04f1(0x270)](),this['_dependencyManagerService'][_0x4a04f1(0x27a)](),Promise[_0x4a04f1(0x246)](_0x52bbb7);}[_0x1ddc69(0x24a)](_0x1896c6,_0x33ac4d){const _0x2aa3fd=_0x1ddc69,_0x2ef731=[_0x1896c6];for(;_0x2ef731[_0x2aa3fd(0x265)]>0x0;){const _0x5c6789=_0x2ef731[_0x2ef731['length']-0x1];if((_0x33ac4d['get'](_0x5c6789)||0x0)===0x0){_0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x1);const _0x2f9f34=this[_0x2aa3fd(0x1fa)][_0x2aa3fd(0x231)](_0x5c6789);if(_0x2f9f34==null){_0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x2),_0x2ef731['pop']();continue;}const _0x35f196=this[_0x2aa3fd(0x269)][_0x2aa3fd(0x204)](_0x2f9f34[_0x2aa3fd(0x225)]());for(const _0x2c0533 of _0x35f196){const _0x3f2959=_0x33ac4d[_0x2aa3fd(0x231)](_0x2c0533)||0x0;if(_0x3f2959===0x1)return!0x0;_0x3f2959===0x0&&_0x2ef731[_0x2aa3fd(0x26b)](_0x2c0533);}}else _0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x2),_0x2ef731[_0x2aa3fd(0x279)]();}return!0x1;}['_checkIsCycleDependency'](_0x1b5701){const _0x2927d1=_0x1ddc69,_0x318d66=new Map();for(const _0x44259b of _0x1b5701)if(!_0x318d66['has'](_0x44259b[_0x2927d1(0x260)])&&this['_isCyclicUtilMap'](_0x44259b[_0x2927d1(0x260)],_0x318d66))return!0x0;return _0x318d66[_0x2927d1(0x270)](),!0x1;}[_0x1ddc69(0x283)](_0x4a5e66,_0x50383f,_0x52d19d){const _0x293edf=_0x1ddc69,{unitId:_0x3b593d,subUnitId:_0x2ee559,dependencyRanges:_0x37be39,getDirtyData:_0x5b312f}=_0x52d19d,_0x421ba1=_0x50383f||_0x4de1b7(this[_0x293edf(0x269)]),_0x2d6406=new _0x2fe794(_0x421ba1);_0x2d6406['unitId']=_0x3b593d,_0x2d6406['subUnitId']=_0x2ee559,_0x2d6406['rangeList']=_0x37be39,_0x2d6406[_0x293edf(0x24b)]=_0x5b312f;const _0x16924e=_0x5b312f(this[_0x293edf(0x239)][_0x293edf(0x24b)](),this[_0x293edf(0x1f9)][_0x293edf(0x23b)]()),_0x54beda=this[_0x293edf(0x21d)](_0x16924e['dirtyRanges']);return _0x2d6406[_0x293edf(0x252)]=_0x54beda,_0x2d6406['featureId']=_0x4a5e66,_0x2d6406[_0x293edf(0x26e)]=_0x3bf087['FEATURE_FORMULA'],this[_0x293edf(0x269)][_0x293edf(0x20e)](_0x3b593d,_0x2ee559,_0x4a5e66,_0x2d6406),this[_0x293edf(0x1fa)]['set'](_0x2d6406['treeId'],_0x2d6406),this[_0x293edf(0x269)]['getFeatureFormulaDependency'](_0x52d19d[_0x293edf(0x268)],_0x52d19d[_0x293edf(0x25f)],_0x4a5e66)&&(_0x2d6406[_0x293edf(0x20f)]=!0x0),_0x2d6406;}[_0x1ddc69(0x282)](_0x185453,_0x3a43f3,_0x168815){const _0x100609=_0x1ddc69;var _0x664b24;for(const _0x5745a1 of _0x3a43f3){const _0x3f211e=_0x185453[_0x5745a1];if(_0x3f211e==null)continue;const _0x1645f6=Object[_0x100609(0x258)](_0x3f211e);for(const _0x356ec8 of _0x1645f6){const _0x5e0f03=_0x3f211e[_0x356ec8];if(_0x5e0f03==null)continue;const _0x1772e7=Object[_0x100609(0x258)](_0x5e0f03);for(const _0x1cb00f of _0x1772e7){const _0x5dc192=this[_0x100609(0x269)]['hasOtherFormulaDataMainData'](_0x1cb00f),_0x9af290=_0x5e0f03[_0x1cb00f],{f:_0x6a19e4,ranges:_0x3de567}=_0x9af290;let _0x1f0e49=!0x1;_0x5dc192&&(_0x1f0e49=!0x0);const {firstRow:_0x8f7cf7,firstColumn:_0x46cd38}=this[_0x100609(0x243)](_0x3de567),_0x139840=this[_0x100609(0x269)][_0x100609(0x289)](_0x5745a1,_0x356ec8,_0x1cb00f),_0x4edb22=(_0x664b24=_0x139840==null?void 0x0:_0x139840[_0x100609(0x285)](0x0,0x0))!=null?_0x664b24:_0x4de1b7(this['_dependencyManagerService']),_0x42b710=new _0x2fe794(_0x4edb22);for(let _0x35389b=0x0;_0x35389b<_0x3de567['length'];_0x35389b++){const _0x5d55e2=_0x3de567[_0x35389b],{startRow:_0x4b26fa,startColumn:_0x3478e9,endRow:_0x1d62e3,endColumn:_0x1889ad}=_0x5d55e2;for(let _0x2103ef=_0x4b26fa;_0x2103ef<=_0x1d62e3;_0x2103ef++)for(let _0xe19622=_0x3478e9;_0xe19622<=_0x1889ad;_0xe19622++){const _0x395b54=_0xe19622-_0x46cd38,_0x3ca75b=_0x2103ef-_0x8f7cf7;if(_0x395b54===0x0&&_0x3ca75b===0x0){_0x42b710[_0x100609(0x210)]=_0x6a19e4,_0x42b710[_0x100609(0x268)]=_0x5745a1,_0x42b710['subUnitId']=_0x356ec8,_0x42b710[_0x100609(0x21a)]=_0x1cb00f,_0x42b710[_0x100609(0x26e)]=_0x3bf087['OTHER_FORMULA'],_0x42b710['isCache']=_0x1f0e49,_0x168815[_0x100609(0x26b)](_0x42b710),this[_0x100609(0x1fa)]['set'](_0x42b710[_0x100609(0x260)],_0x42b710),this[_0x100609(0x269)][_0x100609(0x263)](_0x5745a1,_0x356ec8,_0x1cb00f,_0x42b710),this[_0x100609(0x269)]['addFormulaDependencyByDefinedName'](_0x42b710);continue;}const _0x16a251=new _0x1b7763();_0x16a251['treeId']=(_0x139840==null?void 0x0:_0x139840[_0x100609(0x285)](_0x395b54,_0x3ca75b))||_0x4de1b7(this[_0x100609(0x269)]),_0x16a251[_0x100609(0x202)]=_0x42b710,_0x16a251['refOffsetX']=_0x395b54,_0x16a251['refOffsetY']=_0x3ca75b,_0x16a251[_0x100609(0x20f)]=_0x1f0e49,this[_0x100609(0x269)][_0x100609(0x263)](_0x5745a1,_0x356ec8,_0x1cb00f,_0x16a251),this['_dependencyManagerService'][_0x100609(0x28a)](_0x16a251),_0x168815[_0x100609(0x26b)](_0x16a251),this[_0x100609(0x1fa)][_0x100609(0x207)](_0x16a251[_0x100609(0x260)],_0x16a251);}}this['_dependencyManagerService'][_0x100609(0x25a)](_0x1cb00f);}}}}['_registerFormulas'](_0x273ab5,_0x256155,_0x23207e,_0x183426){const _0x59e0b9=_0x1ddc69;for(const _0x44526c of _0x273ab5){const _0x181542=_0x256155[_0x44526c];if(_0x181542==null)continue;const _0x36aac9=Object[_0x59e0b9(0x258)](_0x181542);for(const _0x562891 of _0x36aac9){const _0x285f5d=new _0x5a4321(_0x181542[_0x562891]||{}),_0x3eb711=new Map();_0x285f5d[_0x59e0b9(0x1f5)]((_0x35c95f,_0x4de4b1,_0x955a70)=>{const _0x2526a6=_0x59e0b9;if(_0x955a70==null)return!0x0;const {x:_0x2f1dd3=0x0,y:_0x32c979=0x0,si:_0x4adcb3}=_0x955a70;if(!(_0x2f1dd3===0x0&&_0x32c979===0x0&&_0x4adcb3!=null))return!0x0;const _0x40f432=this[_0x2526a6(0x242)](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1,_0x23207e,_0x955a70),_0x2568ad=this[_0x2526a6(0x269)]['getFormulaDependency'](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1);_0x2568ad!=null?_0x40f432['treeId']=_0x2568ad:(this[_0x2526a6(0x269)]['addFormulaDependency'](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1,_0x40f432),this[_0x2526a6(0x269)][_0x2526a6(0x28a)](_0x40f432)),_0x3eb711['set'](_0x4adcb3,_0x40f432),_0x183426[_0x2526a6(0x26b)](_0x40f432),this[_0x2526a6(0x1fa)]['set'](_0x40f432['treeId'],_0x40f432);}),_0x285f5d[_0x59e0b9(0x1f5)]((_0x14b578,_0x2b51f3,_0x46007b)=>{const _0x18fc9f=_0x59e0b9;if(_0x46007b==null)return!0x0;const {x:_0x2e4427=0x0,y:_0x4af895=0x0,si:_0x35f0ce}=_0x46007b;if(_0x2e4427===0x0&&_0x4af895===0x0&&_0x35f0ce!=null)return!0x0;let _0x20603e;if(_0x35f0ce&&_0x3eb711[_0x18fc9f(0x247)](_0x35f0ce)){const _0x2420ee=_0x3eb711[_0x18fc9f(0x231)](_0x35f0ce);_0x20603e=this[_0x18fc9f(0x286)](_0x2420ee,_0x46007b);}else _0x20603e=this['_createFDtree'](_0x44526c,_0x562891,_0x14b578,_0x2b51f3,_0x23207e,_0x46007b);const _0x4cdd88=this[_0x18fc9f(0x269)][_0x18fc9f(0x201)](_0x44526c,_0x562891,_0x14b578,_0x2b51f3);_0x4cdd88!=null?_0x20603e[_0x18fc9f(0x260)]=_0x4cdd88:(this[_0x18fc9f(0x269)][_0x18fc9f(0x261)](_0x44526c,_0x562891,_0x14b578,_0x2b51f3,_0x20603e),this['_dependencyManagerService'][_0x18fc9f(0x28a)](_0x20603e)),_0x183426[_0x18fc9f(0x26b)](_0x20603e),this[_0x18fc9f(0x1fa)][_0x18fc9f(0x207)](_0x20603e[_0x18fc9f(0x260)],_0x20603e);}),_0x3eb711[_0x59e0b9(0x270)]();}}}[_0x1ddc69(0x242)](_0x544d33,_0x3f7cd7,_0x365bd3,_0x5dd688,_0x1f8e0d,_0x5c0925){const _0x1e5275=_0x1ddc69,{f:_0x221186,x:_0x49bc44=0x0,y:_0x4c4997=0x0}=_0x5c0925,_0x1fda26=new _0x2fe794(_0x4de1b7(this[_0x1e5275(0x269)])),_0x5be748=_0x1f8e0d[_0x544d33][_0x3f7cd7];return _0x1fda26[_0x1e5275(0x210)]=_0x221186,_0x1fda26[_0x1e5275(0x268)]=_0x544d33,_0x1fda26[_0x1e5275(0x25f)]=_0x3f7cd7,_0x1fda26[_0x1e5275(0x223)]=_0x365bd3,_0x1fda26[_0x1e5275(0x267)]=_0x5dd688,_0x1fda26[_0x1e5275(0x213)]=_0x5be748[_0x1e5275(0x213)],_0x1fda26[_0x1e5275(0x27f)]=_0x5be748[_0x1e5275(0x27f)],_0x1fda26;}['_getUpdateTreeListAndMakeDependency'](){const _0x4f9bd8=_0x1ddc69,_0x4c1aa5=[],_0x323411=new Set(),_0x55622c=this[_0x4f9bd8(0x239)]['isForceCalculate'](),_0xe6557a=this[_0x4f9bd8(0x239)][_0x4f9bd8(0x22f)](),_0x141023=this['_dependencyManagerService'][_0x4f9bd8(0x204)](_0xe6557a),_0x33c82b=this[_0x4f9bd8(0x27b)][_0x4f9bd8(0x234)](_0xe6557a);for(const _0x53aa8f of _0x33c82b)_0x141023[_0x4f9bd8(0x22e)](_0x53aa8f);for(const [_0x3af3bf,_0x4a5129]of this['_dependencyTreeCache'])(_0x55622c||_0x4a5129[_0x4f9bd8(0x206)]||_0x4a5129[_0x4f9bd8(0x222)](this['_currentConfigService']['getDirtyNameMap']())||_0x141023[_0x4f9bd8(0x247)](_0x3af3bf)&&!_0x4a5129[_0x4f9bd8(0x220)](this[_0x4f9bd8(0x239)][_0x4f9bd8(0x25b)]()))&&!_0x323411[_0x4f9bd8(0x247)](_0x3af3bf)&&(_0x4c1aa5[_0x4f9bd8(0x26b)](_0x4a5129),_0x323411[_0x4f9bd8(0x22e)](_0x3af3bf));for(const [_0x382902,_0x231e6c]of this[_0x4f9bd8(0x1fa)])_0x231e6c['isVirtual']||(_0x231e6c[_0x4f9bd8(0x273)][_0x4f9bd8(0x265)]=0x0);return _0x4c1aa5;}['_getTreeById'](_0x3d2e0b){const _0x3f10db=_0x1ddc69;return this[_0x3f10db(0x1fa)][_0x3f10db(0x231)](_0x3d2e0b);}['_getTreeNode'](_0x254835){const _0x16a0bf=_0x1ddc69;return _0x1e96c9(_0x254835['unitId'],_0x254835['formula'],this['_lexer'],this[_0x16a0bf(0x26f)],this[_0x16a0bf(0x239)]);}*[_0x1ddc69(0x262)](_0x464485,_0x18b0ae){const _0x1be660=_0x1ddc69,_0x1c91b6=_0x464485,_0x10f21f=new Set();for(;_0x1c91b6[_0x1be660(0x265)]>0x0;){const _0x250bc8=_0x1c91b6[_0x1be660(0x279)]();if(_0x10f21f[_0x1be660(0x270)](),_0x250bc8===void 0x0||_0x250bc8[_0x1be660(0x216)]())continue;if(_0x250bc8[_0x1be660(0x24e)]()){yield _0x250bc8,_0x250bc8[_0x1be660(0x1ff)](),_0x18b0ae[_0x1be660(0x22e)](_0x250bc8[_0x1be660(0x260)]);continue;}const _0x5cd98e=this[_0x1be660(0x269)][_0x1be660(0x204)](_0x250bc8[_0x1be660(0x225)](),_0x18b0ae),_0x18d078=this['_dependencyRTreeCacheForAddressFunction'][_0x1be660(0x234)](_0x250bc8[_0x1be660(0x225)](),_0x18b0ae);for(const _0x5d0666 of _0x18d078)_0x5cd98e[_0x1be660(0x22e)](_0x5d0666);for(const _0x1314ad of _0x5cd98e){const _0x3d8481=this[_0x1be660(0x1fa)]['get'](_0x1314ad);if(!_0x3d8481)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x3d8481[_0x1be660(0x24e)]()||_0x250bc8[_0x1be660(0x216)]()||_0x10f21f['add'](_0x3d8481);}if(_0x5cd98e[_0x1be660(0x270)](),_0x10f21f['size']===0x0)yield _0x250bc8,_0x250bc8['setSkip'](),_0x18b0ae[_0x1be660(0x22e)](_0x250bc8['treeId']);else{_0x250bc8['setAdded'](),_0x1c91b6[_0x1be660(0x26b)](_0x250bc8);for(const _0x2603fe of _0x10f21f)_0x1c91b6[_0x1be660(0x26b)](_0x2603fe);}}_0x1c91b6[_0x1be660(0x265)]=0x0,_0x10f21f[_0x1be660(0x270)]();}[_0x1ddc69(0x281)](_0x3819f6){const _0x341cd1=_0x1ddc69,_0x50f5aa=[],_0xd1e787=new Set();for(const _0x49f2aa of this['_traverse'](_0x3819f6,_0xd1e787))_0x50f5aa[_0x341cd1(0x26b)](_0x49f2aa);return _0x50f5aa;}}class ue extends _0x31b39f{async[_0x1ddc69(0x28d)](_0x2007fc=!0x1){const _0x43bde0=_0x1ddc69;_0x2007fc?this[_0x43bde0(0x1f9)]['setFormulaExecuteStage'](_0x45cd9a[_0x43bde0(0x275)]):this[_0x43bde0(0x1f9)]['setFormulaExecuteStage'](_0x45cd9a['START_DEPENDENCY']),this[_0x43bde0(0x227)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]());const _0x471a74=await this[_0x43bde0(0x21c)][_0x43bde0(0x1f6)](),_0x39e048=this[_0x43bde0(0x23f)];_0x2007fc?(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x229)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x237)](_0x471a74[_0x43bde0(0x265)])):(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x28b)]),this['_runtimeService'][_0x43bde0(0x20a)](_0x471a74[_0x43bde0(0x265)])),this['_executionInProgressListener$']['next'](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]());let _0x3571e8=[];const _0x21daed=this['_configService'][_0x43bde0(0x254)](_0x2e282d),_0x4c8d32=(_0x21daed==null?void 0x0:_0x21daed[_0x43bde0(0x1f4)])||_0x29e20f;let _0x52a8e2=0x0;const _0x39c5ad=_0x471a74[_0x43bde0(0x265)];for(;_0x471a74[_0x43bde0(0x265)]>0x0;){const _0x28791e=_0x471a74[_0x43bde0(0x279)](),_0xf6b813={'node':_0x1e96c9(_0x28791e['unitId'],_0x28791e[_0x43bde0(0x210)],this[_0x43bde0(0x266)],this[_0x43bde0(0x26f)],this[_0x43bde0(0x239)]),'refOffsetX':_0x28791e[_0x43bde0(0x23a)],'refOffsetY':_0x28791e['refOffsetY']},_0x210968=_0x28791e[_0x43bde0(0x24b)];if(_0x52a8e2%_0x4c8d32===0x0&&(await new Promise(_0x52e072=>{const _0x10644d=_0x2a7a62(_0x52e072);_0x3571e8['push'](_0x10644d);}),_0x2007fc?(this['_runtimeService'][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x212)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x235)](_0x52a8e2+0x1)):(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x21e)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x24c)](_0x52a8e2+0x1)),this[_0x43bde0(0x227)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]()),this[_0x43bde0(0x1f9)][_0x43bde0(0x21b)]()||_0xf6b813==null&&_0x210968==null)){this['_runtimeService'][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x1fe)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x25e)](),this[_0x43bde0(0x200)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)]['getAllRuntimeData']());return;}this[_0x43bde0(0x1f9)][_0x43bde0(0x214)](_0x28791e[_0x43bde0(0x223)],_0x28791e[_0x43bde0(0x267)],_0x28791e[_0x43bde0(0x213)],_0x28791e[_0x43bde0(0x27f)],_0x28791e[_0x43bde0(0x25f)],_0x28791e[_0x43bde0(0x268)]);let _0x3694be;if(_0x210968!=null&&_0x28791e['featureId']!=null){const {runtimeCellData:_0x15c383,dirtyRanges:_0x39964a}=_0x210968(this['_currentConfigService']['getDirtyData'](),this[_0x43bde0(0x1f9)][_0x43bde0(0x23b)]());this[_0x43bde0(0x1f9)]['setRuntimeFeatureCellData'](_0x28791e['featureId'],_0x15c383),this[_0x43bde0(0x1f9)]['setRuntimeFeatureRange'](_0x28791e['featureId'],_0x39964a);}else _0xf6b813!=null&&(_0x39e048[_0x43bde0(0x1fb)](_0xf6b813[_0x43bde0(0x20c)])?_0x3694be=await _0x39e048[_0x43bde0(0x1f7)](_0xf6b813):_0x3694be=_0x39e048[_0x43bde0(0x209)](_0xf6b813),_0x28791e[_0x43bde0(0x21a)]!=null?this[_0x43bde0(0x1f9)][_0x43bde0(0x264)](_0x28791e['formulaId'],_0x28791e['refOffsetX'],_0x28791e[_0x43bde0(0x23e)],_0x3694be):this[_0x43bde0(0x1f9)][_0x43bde0(0x215)](_0x3694be));_0x52a8e2++;}return _0x3571e8[_0x43bde0(0x22b)](_0xfa01d0=>_0xfa01d0()),_0x3571e8=[],_0x39c5ad>0x0?this[_0x43bde0(0x1f9)]['markedAsSuccessfullyExecuted']():_0x2007fc||this['_runtimeService'][_0x43bde0(0x22d)](),this[_0x43bde0(0x1f9)][_0x43bde0(0x23b)]();}}class pe extends _0x2ac36a{constructor(){const _0x2d0d80=_0x1ddc69;super(...arguments),v(this,_0x2d0d80(0x244),new Map()),v(this,'_dependencyRTreeCache',new _0x3d2b8d(!0x0));}[_0x1ddc69(0x276)](){const _0x4ba5fd=_0x1ddc69;this['_otherFormulaData'][_0x4ba5fd(0x270)](),this['_featureFormulaData'][_0x4ba5fd(0x270)](),this[_0x4ba5fd(0x27c)][_0x4ba5fd(0x270)](),this[_0x4ba5fd(0x236)]['clear'](),this[_0x4ba5fd(0x244)][_0x4ba5fd(0x270)](),this['_restDependencyTreeId'](),this[_0x4ba5fd(0x230)][_0x4ba5fd(0x270)]();}[_0x1ddc69(0x263)](_0x4ea65a,_0x528eea,_0x337e99,_0x34ee68){const _0x7ba373=_0x1ddc69;this[_0x7ba373(0x251)][_0x7ba373(0x247)](_0x4ea65a)||this[_0x7ba373(0x251)][_0x7ba373(0x207)](_0x4ea65a,new Map());const _0x4d6bd7=this['_otherFormulaData'][_0x7ba373(0x231)](_0x4ea65a);_0x4d6bd7[_0x7ba373(0x247)](_0x528eea)||_0x4d6bd7[_0x7ba373(0x207)](_0x528eea,new Map());const _0x231047=_0x4d6bd7['get'](_0x528eea);_0x231047[_0x7ba373(0x247)](_0x337e99)||_0x231047['set'](_0x337e99,new _0x5a4321()),_0x231047['get'](_0x337e99)[_0x7ba373(0x277)](_0x34ee68[_0x7ba373(0x23a)],_0x34ee68[_0x7ba373(0x23e)],_0x34ee68[_0x7ba373(0x260)]);}[_0x1ddc69(0x208)](_0x31c78e,_0x4112b0,_0x4c42f1){const _0x41ba7c=_0x1ddc69,_0x63c98d=this[_0x41ba7c(0x251)][_0x41ba7c(0x231)](_0x31c78e);if(_0x63c98d&&_0x63c98d['has'](_0x4112b0)){const _0x2cfc68=_0x63c98d[_0x41ba7c(0x231)](_0x4112b0);_0x4c42f1[_0x41ba7c(0x22b)](_0x3e63e3=>{const _0x207a30=_0x41ba7c,_0x111aed=_0x2cfc68[_0x207a30(0x231)](_0x3e63e3);_0x111aed!=null&&(_0x111aed[_0x207a30(0x1f5)]((_0x5da6e9,_0x494cc5,_0x1b1dda)=>{const _0x55a023=_0x207a30;this[_0x55a023(0x24d)](_0x1b1dda),this[_0x55a023(0x255)](_0x1b1dda);}),_0x2cfc68[_0x207a30(0x224)](_0x3e63e3),this[_0x207a30(0x230)]['delete'](_0x3e63e3));}),_0x2cfc68['size']===0x0&&_0x63c98d['delete'](_0x4112b0),_0x63c98d['size']===0x0&&this[_0x41ba7c(0x251)][_0x41ba7c(0x224)](_0x31c78e);}}[_0x1ddc69(0x23d)](_0x592cf8,_0x80f362){const _0x263ea5=_0x1ddc69,_0x208105=this[_0x263ea5(0x251)][_0x263ea5(0x231)](_0x592cf8);if(_0x80f362&&_0x208105&&_0x208105[_0x263ea5(0x247)](_0x80f362)){const _0x30270a=_0x208105[_0x263ea5(0x231)](_0x80f362);this[_0x263ea5(0x287)](_0x592cf8,_0x80f362);for(const _0x3d5378 of _0x30270a[_0x263ea5(0x258)]()){const _0xe4725d=_0x30270a[_0x263ea5(0x231)](_0x3d5378);_0xe4725d!=null&&(_0xe4725d['forValue']((_0x361600,_0x592a51,_0x6bcbc7)=>{const _0xa5ba47=_0x263ea5;this['_allTreeMap'][_0xa5ba47(0x231)](_0x6bcbc7)&&this[_0xa5ba47(0x255)](_0x6bcbc7);}),this[_0x263ea5(0x230)]['delete'](_0x3d5378));}_0x30270a['clear']();}else{if(_0x208105){for(const _0x4920df of _0x208105[_0x263ea5(0x258)]()){const _0x372fcb=_0x208105['get'](_0x4920df);this['_removeDependencyRTreeCacheById'](_0x592cf8,_0x4920df);for(const _0x247af8 of _0x372fcb[_0x263ea5(0x258)]()){const _0x287601=_0x372fcb[_0x263ea5(0x231)](_0x247af8);_0x287601!=null&&(_0x287601['forValue']((_0x4377ba,_0x2001cc,_0x4bd415)=>{const _0x270542=_0x263ea5;this[_0x270542(0x244)][_0x270542(0x231)](_0x4bd415)&&this[_0x270542(0x255)](_0x4bd415);}),this[_0x263ea5(0x230)][_0x263ea5(0x224)](_0x247af8));}}this[_0x263ea5(0x251)][_0x263ea5(0x224)](_0x592cf8);}}}['addFeatureFormulaDependency'](_0x161cf6,_0x2d009a,_0x19d6ae,_0x421130){const _0x2758af=_0x1ddc69;this[_0x2758af(0x284)]['has'](_0x161cf6)||this[_0x2758af(0x284)][_0x2758af(0x207)](_0x161cf6,new Map());const _0x1b87e9=this['_featureFormulaData'][_0x2758af(0x231)](_0x161cf6);_0x1b87e9[_0x2758af(0x247)](_0x2d009a)||_0x1b87e9[_0x2758af(0x207)](_0x2d009a,new Map()),_0x1b87e9[_0x2758af(0x231)](_0x2d009a)[_0x2758af(0x207)](_0x19d6ae,_0x421130[_0x2758af(0x260)]);}[_0x1ddc69(0x250)](_0x4a7296,_0x2cc353,_0xe180df){const _0x32c0b0=_0x1ddc69,_0x117941=this[_0x32c0b0(0x284)][_0x32c0b0(0x231)](_0x4a7296);if(_0x117941&&_0x117941[_0x32c0b0(0x247)](_0x2cc353)){const _0x5499be=_0x117941[_0x32c0b0(0x231)](_0x2cc353);_0xe180df['forEach'](_0x4281bf=>{const _0x122ac6=_0x32c0b0,_0x58d6e5=_0x5499be['get'](_0x4281bf);_0x58d6e5!=null&&(this[_0x122ac6(0x24d)](_0x58d6e5),_0x5499be[_0x122ac6(0x224)](_0x4281bf),this['_removeAllTreeMap'](_0x58d6e5));});}}['clearFeatureFormulaDependency'](_0x3e5331,_0x353b8a){const _0x2016f4=_0x1ddc69,_0x45a7a1=this[_0x2016f4(0x284)][_0x2016f4(0x231)](_0x3e5331);if(_0x353b8a&&_0x45a7a1&&_0x45a7a1['has'](_0x353b8a)){const _0x5c8dbc=_0x45a7a1[_0x2016f4(0x231)](_0x353b8a);this[_0x2016f4(0x287)](_0x3e5331,_0x353b8a),_0x5c8dbc['forEach'](_0x467944=>{_0x467944!=null&&this['_removeAllTreeMap'](_0x467944);}),_0x5c8dbc[_0x2016f4(0x270)]();}else _0x45a7a1&&(_0x45a7a1[_0x2016f4(0x22b)]((_0x33e367,_0x3c96c4)=>{const _0x2a5f1c=_0x2016f4;this['_removeDependencyRTreeCacheById'](_0x3e5331,_0x3c96c4),_0x33e367[_0x2a5f1c(0x22b)](_0x15d99f=>{_0x15d99f!=null&&this['_removeAllTreeMap'](_0x15d99f);});}),this[_0x2016f4(0x284)][_0x2016f4(0x224)](_0x3e5331));}[_0x1ddc69(0x261)](_0x1b5d22,_0x9ee62f,_0x260482,_0x74be5,_0x552185){const _0x48cbc5=_0x1ddc69;this['_formulaData'][_0x48cbc5(0x247)](_0x1b5d22)||this[_0x48cbc5(0x27c)][_0x48cbc5(0x207)](_0x1b5d22,new Map());const _0x1df15e=this['_formulaData']['get'](_0x1b5d22);_0x1df15e['has'](_0x9ee62f)||_0x1df15e[_0x48cbc5(0x207)](_0x9ee62f,new _0x5a4321()),_0x1df15e['get'](_0x9ee62f)['setValue'](_0x260482,_0x74be5,_0x552185[_0x48cbc5(0x260)]);}[_0x1ddc69(0x211)](_0x5a902a,_0x337065,_0x22a079,_0x36950f){const _0x6cc479=_0x1ddc69,_0x342b53=this[_0x6cc479(0x27c)][_0x6cc479(0x231)](_0x5a902a);if(_0x342b53&&_0x342b53['has'](_0x337065)){const _0x41e572=_0x342b53[_0x6cc479(0x231)](_0x337065),_0x4f2992=_0x41e572['getValue'](_0x22a079,_0x36950f);if(_0x4f2992==null)return;this[_0x6cc479(0x24d)](_0x4f2992),_0x41e572[_0x6cc479(0x240)](_0x22a079,_0x36950f),this['_removeAllTreeMap'](_0x4f2992);}}[_0x1ddc69(0x203)](_0xd9ab4d,_0x124680){const _0x36cf89=_0x1ddc69,_0x2f645d=this[_0x36cf89(0x27c)][_0x36cf89(0x231)](_0xd9ab4d);if(_0x124680&&_0x2f645d&&_0x2f645d[_0x36cf89(0x247)](_0x124680)){const _0x93a854=_0x2f645d[_0x36cf89(0x231)](_0x124680);this['_removeDependencyRTreeCacheById'](_0xd9ab4d,_0x124680),_0x93a854[_0x36cf89(0x1f5)]((_0x33334a,_0x30f293,_0x32c3e2)=>{const _0x5bc193=_0x36cf89;if(_0x32c3e2==null)return!0x0;this[_0x5bc193(0x255)](_0x32c3e2);}),_0x93a854[_0x36cf89(0x276)]();}else _0x2f645d&&(_0x2f645d[_0x36cf89(0x22b)]((_0x27143a,_0x5951a2)=>{const _0x1d520c=_0x36cf89;this[_0x1d520c(0x287)](_0xd9ab4d,_0x5951a2),_0x27143a['forValue']((_0x2648a4,_0x2ab025,_0x3a8b95)=>{const _0x5b6503=_0x1d520c;if(_0x3a8b95==null)return!0x0;this[_0x5b6503(0x255)](_0x3a8b95);});}),this[_0x36cf89(0x27c)]['delete'](_0xd9ab4d));}[_0x1ddc69(0x24d)](_0x441dbe){const _0x53e35e=_0x1ddc69;if(_0x441dbe==null)return;const _0x35eaa8=this[_0x53e35e(0x244)][_0x53e35e(0x231)](_0x441dbe);if(_0x35eaa8){const _0x36f6b0=[];for(const [_0x5764ba,_0x5565b4]of _0x35eaa8)for(const [_0x5836c6,_0x29d967]of _0x5565b4)_0x36f6b0[_0x53e35e(0x26b)]({'unitId':_0x5764ba,'sheetId':_0x5836c6,'range':_0x29d967,'id':_0x441dbe});this[_0x53e35e(0x236)]['bulkRemove'](_0x36f6b0);}}[_0x1ddc69(0x271)](_0x5e3334,_0xc2e757){const _0x4cb241=_0x1ddc69,_0x4dbf79=this[_0x4cb241(0x248)][_0x4cb241(0x231)](_0x5e3334);if(_0x4dbf79){const _0x6f4109=_0x4dbf79[_0x4cb241(0x231)](_0xc2e757);if(_0x6f4109){for(const _0x244398 of _0x6f4109)this[_0x4cb241(0x24d)](_0x244398),this['_removeAllTreeMap'](_0x244398);_0x6f4109[_0x4cb241(0x270)]();}}}[_0x1ddc69(0x22a)](){const _0x994c73=_0x1ddc69;this[_0x994c73(0x236)][_0x994c73(0x22a)]();}['closeKdTree'](){const _0xe3431e=_0x1ddc69;this[_0xe3431e(0x236)]['closeKdTree']();}[_0x1ddc69(0x255)](_0x2af30d){const _0x39e254=_0x1ddc69;_0x2af30d!=null&&this[_0x39e254(0x244)]['delete'](_0x2af30d);}[_0x1ddc69(0x280)](_0x1bb728){const _0x3e5c89=_0x1ddc69;var _0x47f30b,_0x543d8f;const _0x452a9a=_0x1bb728['rangeList'];let _0x52d126=this['_allTreeMap'][_0x3e5c89(0x231)](_0x1bb728[_0x3e5c89(0x260)]);for(let _0xcbf437=0x0;_0xcbf437<_0x452a9a[_0x3e5c89(0x265)];_0xcbf437++){const _0x28b9a4=_0x452a9a[_0xcbf437];let {unitId:_0x1a769b,sheetId:_0xcc2522,range:_0x30be2c}=_0x28b9a4;_0x52d126||(_0x52d126=new Map(),this[_0x3e5c89(0x244)][_0x3e5c89(0x207)](_0x1bb728[_0x3e5c89(0x260)],_0x52d126)),_0x52d126[_0x3e5c89(0x247)](_0x1a769b)||_0x52d126[_0x3e5c89(0x207)](_0x1a769b,new Map());const _0x32ebae=(_0x47f30b=_0x52d126==null?void 0x0:_0x52d126[_0x3e5c89(0x231)](_0x1a769b))==null?void 0x0:_0x47f30b[_0x3e5c89(0x231)](_0xcc2522);_0x32ebae&&(_0x30be2c={'startRow':Math[_0x3e5c89(0x22c)](_0x30be2c[_0x3e5c89(0x249)],_0x32ebae[_0x3e5c89(0x249)]),'startColumn':Math[_0x3e5c89(0x22c)](_0x30be2c[_0x3e5c89(0x238)],_0x32ebae[_0x3e5c89(0x238)]),'endRow':Math['max'](_0x30be2c[_0x3e5c89(0x228)],_0x32ebae[_0x3e5c89(0x228)]),'endColumn':Math['max'](_0x30be2c[_0x3e5c89(0x28c)],_0x32ebae['endColumn'])}),(_0x543d8f=_0x52d126['get'](_0x1a769b))==null||_0x543d8f[_0x3e5c89(0x207)](_0xcc2522,_0x30be2c);}}}var fe=Object['getOwnPropertyDescriptor'],_e=(_0x385511,_0x466d9c,_0x3137aa,_0x7d9bde)=>{const _0x3ece90=_0x1ddc69;for(var _0x1a9df5=_0x7d9bde>0x1?void 0x0:_0x7d9bde?fe(_0x466d9c,_0x3137aa):_0x466d9c,_0x67b7c8=_0x385511[_0x3ece90(0x265)]-0x1,_0x46e0b8;_0x67b7c8>=0x0;_0x67b7c8--)(_0x46e0b8=_0x385511[_0x67b7c8])&&(_0x1a9df5=_0x46e0b8(_0x1a9df5)||_0x1a9df5);return _0x1a9df5;};const me=Number[_0x1ddc69(0x278)](0x68834fbc);let I=class extends _0x5ad5dc{['_initializeWithOverride'](){const _0x47fd41=_0x1ddc69;var _0x36f2c8,_0x361b16;this[_0x47fd41(0x221)]()?(_0x36f2c8=this['_config'])!=null&&_0x36f2c8['notExecuteFormula']||[[_0x125caa,{'useClass':ue}],[_0x407a9c,{'useClass':pe}],[_0x41a773,{'useClass':he}]][_0x47fd41(0x22b)](_0x4bb38e=>this[_0x47fd41(0x288)]['add'](_0x4bb38e)):(_0x361b16=this[_0x47fd41(0x205)])!=null&&_0x361b16[_0x47fd41(0x1fd)]||[[_0x125caa,{'useClass':_0x31b39f}],[_0x407a9c,{'useClass':_0xb6dd45}],[_0x41a773,{'useClass':_0x4b513e}]][_0x47fd41(0x22b)](_0x43f15e=>this[_0x47fd41(0x288)][_0x47fd41(0x22e)](_0x43f15e));}[_0x1ddc69(0x221)](){const _0x33070d=_0x1ddc69;var _0x11602c;const _0x38af63=(_0x11602c=this[_0x33070d(0x272)][_0x33070d(0x254)](_0x2bfac9))!=null?_0x11602c:{},{ls:_0x300cf2,pbk:_0x40a550}=_0x38af63;if(!_0x300cf2||!_0x40a550)return!0x1;const _0x52c599=_0x1441cc(le,de),_0xd73c0c=new Function(_0x33070d(0x256)+_0x52c599)()(_0x300cf2,_0x40a550),_0x43113b=_0xd73c0c['message'];return _0xd73c0c['valid']&&_0x33989b(_0x43113b,'sf',me)?_0x34f366(_0x43113b,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};I=_e([_0x1c480c(_0x4a6b2d)],I);function _0x46e8(_0x45ca81,_0x3e63fb){const _0x5d0ee1=_0x5d0e();return _0x46e8=function(_0x46e89a,_0x1a9a6b){_0x46e89a=_0x46e89a-0x1f4;let _0x13c0a7=_0x5d0ee1[_0x46e89a];return _0x13c0a7;},_0x46e8(_0x45ca81,_0x3e63fb);}function _0x5d0e(){const _0x168e94=['isSkip','_otherFormulaManagerService','getOtherFormulaData','dispose','formulaId','isStopExecution','_formulaDependencyGenerator','_convertDirtyRangesToUnitRange','CURRENTLY_CALCULATING','LnHepRkH\x20PdehcEpRkH(oRedHqd,\x20EnGoRezdc)\x20{\x20\x20\x20\x20phc\x20{\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20oRedHqd8HLkjwhpNhhwc\x20=\x20oRedHqd.qEoRp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20khRORHrdqqwOd\x20=\x20QZ5i.Ewhqd(wpkG(oRedHqd8HLkjwhpNhhwc[y]));\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!khRORHrdqqwOd.nP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khRORHrdqqwOd.nP\x20=\x20infGdh(oRedHqd8HLkjwhpNhhwc[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20RqtkhWdh\x20=\x20pcEdkL\x20tkhWdh9okGwoZekEd\x20!==\x20\x27nHPdLRHdP\x27\x20&&\x20qdoL\x20RHqpwHedkL\x20tkhWdh9okGwoZekEd;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20ekHpdVp\x20=\x20RqtkhWdh\x20?\x20qdoL\x20:\x20FRHPkF;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[y]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(fdqqwOdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[S]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(qROHwpnhdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHYwoRP\x20=\x20ekHpdVp.__4dhRLc__(qROHwpnhd,\x20fdqqwOd,\x20EnGoRezdc);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20PkfwRH\x20=\x20khRORHrdqqwOd.Pf;\x20\x20\x20\x20\x20\x20\x20\x20LnHepRkH\x20RqIkfwRHrwpeDRHO(kjwppdhH,\x20kCkqp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhH\x20=\x20kjwppdhH.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqp\x20=\x20kCkqp.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHjwhpq\x20=\x20EwppdhH.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqpjwhpq\x20=\x20Dkqp.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!EwppdhH.RHeonPdq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhH\x20===\x20Dkqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(EwppdhHjwhpq.odHOpD\x20<\x20y\x20||\x20EwppdhHjwhpq[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20Lwoqd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHZnLLRV\x20=\x20EwppdhHjwhpq.qoRed(U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20DkqpZnLLRV\x20=\x20Dkqpjwhpq.qoRed(-EwppdhHjwhpq.odHOpD\x20+\x20U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhHZnLLRV\x20===\x20DkqpZnLLRV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20odp\x20PkfwRHYwoRP\x20=\x20(PkfwRH\x20&&\x20PkfwRH.odHOpD)\x20?\x20PkfwRH.qkfd((Pf8pdf)\x20=>\x20RqIkfwRHrwpeDRHO(Pf8pdf,\x20okewpRkH.DkqpHwfd))\x20:\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(okewpRkH.DkqpHwfd\x20===\x20\x27okewoDkqp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PkfwRHYwoRP\x20=\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x204woRP\x20=\x20qROHYwoRP\x20&&\x20PkfwRHYwoRP;\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20khRORHrdqqwOd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ewpeD\x20(dhhkh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP:\x20Lwoqd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','isExcludeRange','_initLicenseValid','dependencySheetName','row','delete','toRTreeItem','symbol','_executionInProgressListener$','endRow','START_CALCULATION_ARRAY_FORMULA','openKdTree','forEach','min','markedAsNoFunctionsExecuted','add','getDirtyRanges','_otherFormulaDataMainData','get','10qtmiIJ','6iIwggF','bulkSearch','setCompletedArrayFormulasCount','_dependencyRTreeCache','setTotalArrayFormulasToCalculate','startColumn','_currentConfigService','refOffsetX','getAllRuntimeData','11317200CKEYeY','clearOtherFormulaDependency','refOffsetY','_interpreter','realDeleteValue','32813037FAQhWb','_createFDtree','_getFirstCellOfRange','_allTreeMap','3897397XWFCQp','resolve','has','_definedNameMap','startRow','_isCyclicUtilMap','getDirtyData','setCompletedFormulasCount','_removeDependencyRTreeCache','isAdded','getClearDependencyTreeCache','removeFeatureFormulaDependency','_otherFormulaData','featureDirtyRanges','getRuntimeState','getConfig','_removeAllTreeMap','return\x20','724648sJYtva','keys','_checkIsCycleDependency','addOtherFormulaDependencyMainData','getExcludedRange','1415651JnuPEl','42nstodW','markedAsStopFunctionsExecuted','subUnitId','treeId','addFormulaDependency','_traverse','addOtherFormulaDependency','setRuntimeOtherData','length','_lexer','column','unitId','_dependencyManagerService','setFormulaExecuteStage','push','8446510TryWHw','defineProperty','type','_astTreeBuilder','clear','removeFormulaDependencyByDefinedName','_configService','rangeList','164343ssiWKa','START_DEPENDENCY_ARRAY_FORMULA','reset','setValue','parseInt','pop','closeKdTree','_dependencyRTreeCacheForAddressFunction','_formulaData','getUnitData','_generateTreeList','columnCount','_addAllTreeMap','_calculateRunList','_registerOtherFormulas','_getFeatureFormulaTree','_featureFormulaData','getValue','_createVirtualFDtree','_removeDependencyRTreeCacheById','_injector','getOtherFormulaDependency','addFormulaDependencyByDefinedName','START_CALCULATION','endColumn','_apply','intervalCount','forValue','generate','executeAsync','_updateRangeFlatten','_runtimeService','_dependencyTreeCache','checkAsyncNode','next','notExecuteFormula','IDLE','setSkip','_executionCompleteListener$','getFormulaDependency','refTree','clearFormulaDependency','searchDependency','_config','isDirty','set','removeOtherFormulaDependency','execute','setTotalFormulasToCalculate','clearFeatureFormulaDependency','node','_getUpdateTreeListAndMakeDependency','addFeatureFormulaDependency','isCache','formula','removeFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','rowCount','setCurrent','setRuntimeData'];_0x5d0e=function(){return _0x168e94;};return _0x5d0e();}export{I as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4edf7b,_0x15e058){var _0x341546=_0x511c,_0x25650d=_0x4edf7b();while(!![]){try{var _0x4ec832=parseInt(_0x341546(0x73))/0x1*(-parseInt(_0x341546(0x79))/0x2)+parseInt(_0x341546(0x7a))/0x3+parseInt(_0x341546(0x76))/0x4+-parseInt(_0x341546(0x7c))/0x5+parseInt(_0x341546(0x77))/0x6+-parseInt(_0x341546(0x7b))/0x7*(parseInt(_0x341546(0x74))/0x8)+parseInt(_0x341546(0x78))/0x9*(parseInt(_0x341546(0x75))/0xa);if(_0x4ec832===_0x15e058)break;else _0x25650d['push'](_0x25650d['shift']());}catch(_0x5db56f){_0x25650d['push'](_0x25650d['shift']());}}}(_0x2287,0xc11bf));function _0x2287(){var _0x5817ff=['4126665lAXLbt','39417cDdJYh','3759965iAQhot','11497fvsUtj','488XBvuph','120aCPyYN','2699396BQuuqB','1046142TuLOQw','246393iReSOE','116RMvYos'];_0x2287=function(){return _0x5817ff;};return _0x2287();}function _0x511c(_0x428c6c,_0x475673){var _0x2287a7=_0x2287();return _0x511c=function(_0x511c82,_0x384f3f){_0x511c82=_0x511c82-0x73;var _0x48aa7c=_0x2287a7[_0x511c82];return _0x48aa7c;},_0x511c(_0x428c6c,_0x475673);}export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x490257=_0x259e;(function(_0x61ed4c,_0xa5975a){const _0x26b616=_0x259e,_0x11d022=_0x61ed4c();while(!![]){try{const _0x144a64=parseInt(_0x26b616(0x14d))/0x1*(parseInt(_0x26b616(0x13d))/0x2)+parseInt(_0x26b616(0x168))/0x3+-parseInt(_0x26b616(0x199))/0x4*(parseInt(_0x26b616(0x129))/0x5)+-parseInt(_0x26b616(0x172))/0x6+parseInt(_0x26b616(0x18c))/0x7+parseInt(_0x26b616(0x182))/0x8+-parseInt(_0x26b616(0x1be))/0x9*(parseInt(_0x26b616(0x18d))/0xa);if(_0x144a64===_0xa5975a)break;else _0x11d022['push'](_0x11d022['shift']());}catch(_0x3613e7){_0x11d022['push'](_0x11d022['shift']());}}}(_0x3952,0x81957));var K=Object[_0x490257(0x120)],W=(_0x46f800,_0x385eb3,_0x4a3bd3)=>_0x385eb3 in _0x46f800?K(_0x46f800,_0x385eb3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a3bd3}):_0x46f800[_0x385eb3]=_0x4a3bd3,F=(_0x3fc195,_0x42ede4,_0x402767)=>W(_0x3fc195,typeof _0x42ede4!=_0x490257(0x17c)?_0x42ede4+'':_0x42ede4,_0x402767);import{UniverLicensePlugin as _0x294f74,LS_CONFIG_KEY as _0x2d655f,unshiftString as _0x4d6a07,isFeatureAuthorizedWithinTime as _0x24b1f3,getSheetFeatureLimit as _0x5d9182}from'@univerjs-pro/license';import{ObjectMatrix as _0x47d10c,requestImmediateMacroTask as _0x2f566d,RTree as _0x2b3f7a,DependentOn as _0x154ae4}from'@univerjs/core';import{FormulaDependencyGenerator as _0x5228b7,generateRandomDependencyTreeId as _0x8fc08b,FormulaDependencyTree as _0x18fee7,FormulaDependencyTreeType as _0x21792e,FormulaDependencyTreeVirtual as _0x1273fa,generateAstNode as _0x46e10b,CalculateFormulaService as _0x40a1ab,FormulaExecuteStageType as _0x1eb71e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x283d6c,DEFAULT_INTERVAL_COUNT as _0x5838aa,DependencyManagerBaseService as _0x483dd9,UniverFormulaEnginePlugin as _0xc65c85,ICalculateFormulaService as _0x55a01e,IDependencyManagerService as _0x44c045,IFormulaDependencyGenerator as _0x249691,DependencyManagerService as _0x3a9946}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'J',0x1:'a',0x2:'n',0x3:'7',0x4:'e',0x5:'Y',0x6:'S',0x7:'v',0x8:'P',0x9:'Q','K':'0','o':'1','h':'2','S':'3','s':'4','i':'5','M':'6','t':'8','x':'9','W':'b','B':'c','f':'d','J':'f','R':'g','E':'h','U':'i','k':'j','Z':'k','e':'l','X':'m','g':'o','z':'p','d':'q','G':'r','O':'s','c':'t','b':'u','A':'w','H':'x','p':'y','L':'z','D':'A','P':'B','Q':'C','r':'D','V':'E','m':'F','a':'G','Y':'H','q':'I','l':'K','F':'L','N':'M','C':'N','I':'O','j':'R','w':'T','T':'U','v':'V','n':'W','u':'X','y':'Z'},ue='Jb2BcUg2\x20f4BGpzcUg2(eUB42O4,\x20zbWeUBl4p)\x20{\x20\x20\x20\x20cGp\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20eUB42O4q2Jg81GcDGG1p\x20=\x20eUB42O4.OzeUc(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20gGURU2N4OO1R4\x20=\x2006IC.z1GO4(1cgW(eUB42O4q2Jg81GcDGG1p[h]));\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!gGURU2N4OO1R4.bf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gGURU2N4OO1R4.bf\x20=\x20CbXW4G(eUB42O4q2Jg81GcDGG1p[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20UOngGZ4G\x20=\x20cpz4gJ\x20ngGZ4GaegW1e6Bgz4\x20!==\x20\x27b2f4JU24f\x27\x20&&\x20O4eJ\x20U2Oc12B4gJ\x20ngGZ4GaegW1e6Bgz4;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20Bg2c4Hc\x20=\x20UOngGZ4G\x20?\x20O4eJ\x20:\x20AU2fgA;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[h]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(X4OO1R4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[S]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(OUR21cbG4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR2v1eUf\x20=\x20Bg2c4Hc.__74GUJp__(OUR21cbG4,\x20X4OO1R4,\x20zbWeUBl4p);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20fgX1U2\x20=\x20gGURU2N4OO1R4.fX;\x20\x20\x20\x20\x20\x20\x20\x20Jb2BcUg2\x20UOrgX1U2N1cBEU2R(g81cc4G2,\x20gYgOc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G2\x20=\x20g81cc4G2.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc\x20=\x20gYgOc.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G281GcO\x20=\x20z1cc4G2.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc81GcO\x20=\x20EgOc.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!z1cc4G2.U2Bebf4O(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G2\x20===\x20EgOc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(z1cc4G281GcO.e42RcE\x20<\x20h\x20||\x20z1cc4G281GcO[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20J1eO4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G26bJJUH\x20=\x20z1cc4G281GcO.OeUB4(o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc6bJJUH\x20=\x20EgOc81GcO.OeUB4(-z1cc4G281GcO.e42RcE\x20+\x20o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G26bJJUH\x20===\x20EgOc6bJJUH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e4c\x20fgX1U2v1eUf\x20=\x20(fgX1U2\x20&&\x20fgX1U2.e42RcE)\x20?\x20fgX1U2.OgX4((fXqc4X)\x20=>\x20UOrgX1U2N1cBEU2R(fXqc4X,\x20egB1cUg2.EgOc21X4))\x20:\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(egB1cUg2.EgOc21X4\x20===\x20\x27egB1eEgOc\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fgX1U2v1eUf\x20=\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x2071eUf\x20=\x20OUR2v1eUf\x20&&\x20fgX1U2v1eUf;\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20gGURU2N4OO1R4,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20B1cBE\x20(4GGgG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf:\x20J1eO4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x5228b7{constructor(){const _0x29961a=_0x490257;super(...arguments),F(this,_0x29961a(0x1ae),new Map());}[_0x490257(0x178)](){const _0xcb9532=_0x490257;super['dispose'](),this[_0xcb9532(0x1ae)][_0xcb9532(0x1ad)]();}async['generate'](){const _0x3ed192=_0x490257;this[_0x3ed192(0x147)]();const _0x2c2895=this[_0x3ed192(0x142)][_0x3ed192(0x173)](),_0x36eac6=this[_0x3ed192(0x161)][_0x3ed192(0x144)](),_0x5a070b=this[_0x3ed192(0x142)][_0x3ed192(0x16d)]();_0x5a070b!=null&&Object['keys'](_0x5a070b)['forEach'](_0x55012f=>{const _0x248793=_0x3ed192;_0x55012f!=null&&Object[_0x248793(0x16b)](_0x5a070b[_0x55012f])[_0x248793(0x151)](_0x4c5b04=>{const _0x485a9b=_0x248793;_0x4c5b04!=null&&(this[_0x485a9b(0x1a4)][_0x485a9b(0x156)](_0x55012f,_0x4c5b04),this['_dependencyManagerService'][_0x485a9b(0x1bf)](_0x55012f,_0x4c5b04),this[_0x485a9b(0x1a4)]['clearFormulaDependency'](_0x55012f,_0x4c5b04));});});const _0x3059b6=this[_0x3ed192(0x142)][_0x3ed192(0x139)]();await this[_0x3ed192(0x185)](_0x2c2895,_0x36eac6,_0x3059b6),this['_dependencyManagerService'][_0x3ed192(0x1c0)]();const _0x10e291=this[_0x3ed192(0x19d)](),_0x6f48bd=this['_calculateRunList'](_0x10e291);return this[_0x3ed192(0x140)](_0x6f48bd)&&this['_runtimeService'][_0x3ed192(0x1aa)](),this[_0x3ed192(0x1ae)][_0x3ed192(0x1ad)](),this[_0x3ed192(0x1bd)]['clear'](),this['_dependencyManagerService'][_0x3ed192(0x1a8)](),Promise[_0x3ed192(0x148)](_0x6f48bd);}[_0x490257(0x13f)](_0x2008b1,_0x2ac550){const _0x3b806d=_0x490257,_0x4faab9=[_0x2008b1];for(;_0x4faab9[_0x3b806d(0x18b)]>0x0;){const _0x55397c=_0x4faab9[_0x4faab9[_0x3b806d(0x18b)]-0x1];if((_0x2ac550['get'](_0x55397c)||0x0)===0x0){_0x2ac550[_0x3b806d(0x135)](_0x55397c,0x1);const _0x34fab8=this[_0x3b806d(0x1ae)][_0x3b806d(0x14b)](_0x55397c);if(_0x34fab8==null){_0x2ac550['set'](_0x55397c,0x2),_0x4faab9['pop']();continue;}const _0x3d5a38=this['_dependencyManagerService'][_0x3b806d(0x1b2)](_0x34fab8[_0x3b806d(0x197)]());for(const _0x3db4e3 of _0x3d5a38){const _0x5e3476=_0x2ac550[_0x3b806d(0x14b)](_0x3db4e3)||0x0;if(_0x5e3476===0x1)return!0x0;_0x5e3476===0x0&&_0x4faab9['push'](_0x3db4e3);}}else _0x2ac550[_0x3b806d(0x135)](_0x55397c,0x2),_0x4faab9[_0x3b806d(0x158)]();}return!0x1;}[_0x490257(0x140)](_0x24aa41){const _0x2f6888=_0x490257,_0x243225=new Map();for(const _0x2726d1 of _0x24aa41)if(!_0x243225[_0x2f6888(0x121)](_0x2726d1[_0x2f6888(0x122)])&&this['_isCyclicUtilMap'](_0x2726d1[_0x2f6888(0x122)],_0x243225))return!0x0;return _0x243225[_0x2f6888(0x1ad)](),!0x1;}[_0x490257(0x136)](_0x3003a6,_0x16966e,_0x5f4156){const _0x53a839=_0x490257,{unitId:_0x6065b9,subUnitId:_0x5862e5,dependencyRanges:_0x323232,getDirtyData:_0x44840f}=_0x5f4156,_0x14ae3e=_0x16966e||_0x8fc08b(this[_0x53a839(0x1a4)]),_0x5b04d1=new _0x18fee7(_0x14ae3e);_0x5b04d1[_0x53a839(0x12b)]=_0x6065b9,_0x5b04d1[_0x53a839(0x180)]=_0x5862e5,_0x5b04d1[_0x53a839(0x1c2)]=_0x323232,_0x5b04d1[_0x53a839(0x190)]=_0x44840f;const _0x1f3497=_0x44840f(this[_0x53a839(0x142)][_0x53a839(0x190)](),this[_0x53a839(0x177)][_0x53a839(0x1a9)]()),_0x21a2c1=this[_0x53a839(0x162)](_0x1f3497[_0x53a839(0x1a2)]);return _0x5b04d1[_0x53a839(0x165)]=_0x21a2c1,_0x5b04d1[_0x53a839(0x149)]=_0x3003a6,_0x5b04d1[_0x53a839(0x13b)]=_0x21792e[_0x53a839(0x128)],this[_0x53a839(0x1a4)][_0x53a839(0x191)](_0x6065b9,_0x5862e5,_0x3003a6,_0x5b04d1),this[_0x53a839(0x1ae)][_0x53a839(0x135)](_0x5b04d1[_0x53a839(0x122)],_0x5b04d1),this['_dependencyManagerService'][_0x53a839(0x126)](_0x5f4156[_0x53a839(0x12b)],_0x5f4156['subUnitId'],_0x3003a6)&&(_0x5b04d1[_0x53a839(0x15c)]=!0x0),_0x5b04d1;}[_0x490257(0x1b3)](_0x20b482,_0x35ce61,_0x246be6){const _0xff80c4=_0x490257;var _0x56bba7;for(const _0x6e51d2 of _0x35ce61){const _0x98fe9d=_0x20b482[_0x6e51d2];if(_0x98fe9d==null)continue;const _0x268c75=Object[_0xff80c4(0x16b)](_0x98fe9d);for(const _0x5b97e4 of _0x268c75){const _0x3ca6ef=_0x98fe9d[_0x5b97e4];if(_0x3ca6ef==null)continue;const _0xe64364=Object[_0xff80c4(0x16b)](_0x3ca6ef);for(const _0x54ee62 of _0xe64364){const _0x13c849=this[_0xff80c4(0x1a4)][_0xff80c4(0x186)](_0x54ee62),_0x197129=_0x3ca6ef[_0x54ee62],{f:_0x17c98f,ranges:_0x5ac32d}=_0x197129;let _0x207d10=!0x1;_0x13c849&&(_0x207d10=!0x0);const {firstRow:_0x14022c,firstColumn:_0x525711}=this[_0xff80c4(0x143)](_0x5ac32d),_0x3a6e40=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x6e51d2,_0x5b97e4,_0x54ee62),_0x3b152a=(_0x56bba7=_0x3a6e40==null?void 0x0:_0x3a6e40[_0xff80c4(0x1b0)](0x0,0x0))!=null?_0x56bba7:_0x8fc08b(this[_0xff80c4(0x1a4)]),_0x4bec32=new _0x18fee7(_0x3b152a);for(let _0x42ae8b=0x0;_0x42ae8b<_0x5ac32d[_0xff80c4(0x18b)];_0x42ae8b++){const _0x2d8f2c=_0x5ac32d[_0x42ae8b],{startRow:_0x200e73,startColumn:_0xd42ec3,endRow:_0x20f884,endColumn:_0x49e7c2}=_0x2d8f2c;for(let _0x4dbdd5=_0x200e73;_0x4dbdd5<=_0x20f884;_0x4dbdd5++)for(let _0x18a559=_0xd42ec3;_0x18a559<=_0x49e7c2;_0x18a559++){const _0x1b3831=_0x18a559-_0x525711,_0x13723f=_0x4dbdd5-_0x14022c;if(_0x1b3831===0x0&&_0x13723f===0x0){_0x4bec32[_0xff80c4(0x134)]=_0x17c98f,_0x4bec32[_0xff80c4(0x12b)]=_0x6e51d2,_0x4bec32[_0xff80c4(0x180)]=_0x5b97e4,_0x4bec32[_0xff80c4(0x152)]=_0x54ee62,_0x4bec32[_0xff80c4(0x13b)]=_0x21792e[_0xff80c4(0x14c)],_0x4bec32[_0xff80c4(0x15c)]=_0x207d10,_0x246be6[_0xff80c4(0x17d)](_0x4bec32),this[_0xff80c4(0x1ae)][_0xff80c4(0x135)](_0x4bec32[_0xff80c4(0x122)],_0x4bec32),this[_0xff80c4(0x1a4)][_0xff80c4(0x171)](_0x6e51d2,_0x5b97e4,_0x54ee62,_0x4bec32),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4bec32);continue;}const _0x3b2091=new _0x1273fa();_0x3b2091[_0xff80c4(0x122)]=(_0x3a6e40==null?void 0x0:_0x3a6e40[_0xff80c4(0x1b0)](_0x1b3831,_0x13723f))||_0x8fc08b(this['_dependencyManagerService']),_0x3b2091['refTree']=_0x4bec32,_0x3b2091[_0xff80c4(0x167)]=_0x1b3831,_0x3b2091['refOffsetY']=_0x13723f,_0x3b2091[_0xff80c4(0x15c)]=_0x207d10,this['_dependencyManagerService']['addOtherFormulaDependency'](_0x6e51d2,_0x5b97e4,_0x54ee62,_0x3b2091),this['_dependencyManagerService'][_0xff80c4(0x198)](_0x3b2091),_0x246be6[_0xff80c4(0x17d)](_0x3b2091),this[_0xff80c4(0x1ae)]['set'](_0x3b2091[_0xff80c4(0x122)],_0x3b2091);}}this['_dependencyManagerService'][_0xff80c4(0x17e)](_0x54ee62);}}}}['_registerFormulas'](_0x105cb9,_0x351ff3,_0x2fe95f,_0x1e3e4a){const _0x2aada2=_0x490257;for(const _0x355db9 of _0x105cb9){const _0x948577=_0x351ff3[_0x355db9];if(_0x948577==null)continue;const _0x5ddead=Object['keys'](_0x948577);for(const _0x1522ea of _0x5ddead){const _0x49f32f=new _0x47d10c(_0x948577[_0x1522ea]||{}),_0x218018=new Map();_0x49f32f[_0x2aada2(0x155)]((_0x2bc377,_0x843bd7,_0x4dc846)=>{const _0x4d51f1=_0x2aada2;if(_0x4dc846==null)return!0x0;const {x:_0x2eb7b3=0x0,y:_0x299e2e=0x0,si:_0x118ea5}=_0x4dc846;if(!(_0x2eb7b3===0x0&&_0x299e2e===0x0&&_0x118ea5!=null))return!0x0;const _0x44d1f6=this[_0x4d51f1(0x13a)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7,_0x2fe95f,_0x4dc846),_0x54727f=this[_0x4d51f1(0x1a4)][_0x4d51f1(0x1a5)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7);_0x54727f!=null?_0x44d1f6['treeId']=_0x54727f:(this[_0x4d51f1(0x1a4)][_0x4d51f1(0x138)](_0x355db9,_0x1522ea,_0x2bc377,_0x843bd7,_0x44d1f6),this[_0x4d51f1(0x1a4)]['addFormulaDependencyByDefinedName'](_0x44d1f6)),_0x218018['set'](_0x118ea5,_0x44d1f6),_0x1e3e4a[_0x4d51f1(0x17d)](_0x44d1f6),this['_dependencyTreeCache'][_0x4d51f1(0x135)](_0x44d1f6['treeId'],_0x44d1f6);}),_0x49f32f[_0x2aada2(0x155)]((_0x58d6e0,_0x430c39,_0x58cd12)=>{const _0x23e58a=_0x2aada2;if(_0x58cd12==null)return!0x0;const {x:_0x22f2c8=0x0,y:_0x211432=0x0,si:_0x11dfe5}=_0x58cd12;if(_0x22f2c8===0x0&&_0x211432===0x0&&_0x11dfe5!=null)return!0x0;let _0x1b0379;if(_0x11dfe5&&_0x218018[_0x23e58a(0x121)](_0x11dfe5)){const _0x1bef28=_0x218018[_0x23e58a(0x14b)](_0x11dfe5);_0x1b0379=this[_0x23e58a(0x14e)](_0x1bef28,_0x58cd12);}else _0x1b0379=this[_0x23e58a(0x13a)](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39,_0x2fe95f,_0x58cd12);const _0x30e6bc=this[_0x23e58a(0x1a4)]['getFormulaDependency'](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39);_0x30e6bc!=null?_0x1b0379[_0x23e58a(0x122)]=_0x30e6bc:(this['_dependencyManagerService'][_0x23e58a(0x138)](_0x355db9,_0x1522ea,_0x58d6e0,_0x430c39,_0x1b0379),this[_0x23e58a(0x1a4)][_0x23e58a(0x198)](_0x1b0379)),_0x1e3e4a[_0x23e58a(0x17d)](_0x1b0379),this[_0x23e58a(0x1ae)][_0x23e58a(0x135)](_0x1b0379['treeId'],_0x1b0379);}),_0x218018[_0x2aada2(0x1ad)]();}}}[_0x490257(0x13a)](_0x5ce1ab,_0x62ee61,_0x349eca,_0x43f547,_0x3286ec,_0x2f6799){const _0x553824=_0x490257,{f:_0x533079,x:_0x40439c=0x0,y:_0x4090f9=0x0}=_0x2f6799,_0x3e833d=new _0x18fee7(_0x8fc08b(this['_dependencyManagerService'])),_0x533fdd=_0x3286ec[_0x5ce1ab][_0x62ee61];return _0x3e833d[_0x553824(0x134)]=_0x533079,_0x3e833d[_0x553824(0x12b)]=_0x5ce1ab,_0x3e833d[_0x553824(0x180)]=_0x62ee61,_0x3e833d[_0x553824(0x14a)]=_0x349eca,_0x3e833d[_0x553824(0x179)]=_0x43f547,_0x3e833d[_0x553824(0x19c)]=_0x533fdd[_0x553824(0x19c)],_0x3e833d['columnCount']=_0x533fdd[_0x553824(0x181)],_0x3e833d;}['_getUpdateTreeListAndMakeDependency'](){const _0x33c95e=_0x490257,_0x79d0cb=[],_0x2cf3a5=new Set(),_0x50c8c7=this['_currentConfigService'][_0x33c95e(0x150)](),_0x58b655=this[_0x33c95e(0x142)][_0x33c95e(0x169)](),_0x4a4b72=this[_0x33c95e(0x1a4)]['searchDependency'](_0x58b655),_0x109c18=this[_0x33c95e(0x1bd)][_0x33c95e(0x157)](_0x58b655);for(const _0x334515 of _0x109c18)_0x4a4b72['add'](_0x334515);for(const [_0x1a7a83,_0x228127]of this[_0x33c95e(0x1ae)])(_0x50c8c7||_0x228127[_0x33c95e(0x145)]||_0x228127[_0x33c95e(0x1af)](this[_0x33c95e(0x142)][_0x33c95e(0x146)]())||_0x4a4b72[_0x33c95e(0x121)](_0x1a7a83)&&!_0x228127[_0x33c95e(0x195)](this[_0x33c95e(0x142)][_0x33c95e(0x159)]()))&&!_0x2cf3a5[_0x33c95e(0x121)](_0x1a7a83)&&(_0x79d0cb[_0x33c95e(0x17d)](_0x228127),_0x2cf3a5[_0x33c95e(0x196)](_0x1a7a83));for(const [_0x56c857,_0x56731e]of this['_dependencyTreeCache'])_0x56731e[_0x33c95e(0x183)]||(_0x56731e['rangeList']['length']=0x0);return _0x79d0cb;}[_0x490257(0x12c)](_0x2ca40a){const _0x24716d=_0x490257;return this[_0x24716d(0x1ae)]['get'](_0x2ca40a);}['_getTreeNode'](_0x50efc0){const _0x4628d8=_0x490257;return _0x46e10b(_0x50efc0[_0x4628d8(0x12b)],_0x50efc0[_0x4628d8(0x134)],this[_0x4628d8(0x1b7)],this[_0x4628d8(0x194)],this[_0x4628d8(0x142)]);}*[_0x490257(0x16f)](_0x4f7af3,_0x2a09c1){const _0x5814fc=_0x490257,_0x13ea35=_0x4f7af3,_0x2651d4=new Set();for(;_0x13ea35[_0x5814fc(0x18b)]>0x0;){const _0x4912a6=_0x13ea35[_0x5814fc(0x158)]();if(_0x2651d4[_0x5814fc(0x1ad)](),_0x4912a6===void 0x0||_0x4912a6[_0x5814fc(0x15f)]())continue;if(_0x4912a6[_0x5814fc(0x18e)]()){yield _0x4912a6,_0x4912a6[_0x5814fc(0x1b5)](),_0x2a09c1['add'](_0x4912a6[_0x5814fc(0x122)]);continue;}const _0x34b4a1=this['_dependencyManagerService'][_0x5814fc(0x1b2)](_0x4912a6['toRTreeItem'](),_0x2a09c1),_0x4f824f=this['_dependencyRTreeCacheForAddressFunction'][_0x5814fc(0x157)](_0x4912a6[_0x5814fc(0x197)](),_0x2a09c1);for(const _0x35f342 of _0x4f824f)_0x34b4a1['add'](_0x35f342);for(const _0xc9752 of _0x34b4a1){const _0x53b903=this['_dependencyTreeCache'][_0x5814fc(0x14b)](_0xc9752);if(!_0x53b903)throw new Error(_0x5814fc(0x124));_0x53b903[_0x5814fc(0x18e)]()||_0x4912a6[_0x5814fc(0x15f)]()||_0x2651d4[_0x5814fc(0x196)](_0x53b903);}if(_0x34b4a1[_0x5814fc(0x1ad)](),_0x2651d4[_0x5814fc(0x192)]===0x0)yield _0x4912a6,_0x4912a6[_0x5814fc(0x1b5)](),_0x2a09c1['add'](_0x4912a6[_0x5814fc(0x122)]);else{_0x4912a6['setAdded'](),_0x13ea35[_0x5814fc(0x17d)](_0x4912a6);for(const _0x3b13c2 of _0x2651d4)_0x13ea35[_0x5814fc(0x17d)](_0x3b13c2);}}_0x13ea35[_0x5814fc(0x18b)]=0x0,_0x2651d4[_0x5814fc(0x1ad)]();}['_calculateRunList'](_0x350d69){const _0x37f4d9=_0x490257,_0xf2e725=[],_0x1f99c8=new Set();for(const _0x220262 of this[_0x37f4d9(0x16f)](_0x350d69,_0x1f99c8))_0xf2e725[_0x37f4d9(0x17d)](_0x220262);return _0xf2e725;}}class he extends _0x40a1ab{async[_0x490257(0x163)](_0x2c8495=!0x1){const _0x45b798=_0x490257;_0x2c8495?this['_runtimeService'][_0x45b798(0x1ac)](_0x1eb71e['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x1b1)]),this[_0x45b798(0x12d)]['next'](this[_0x45b798(0x177)][_0x45b798(0x176)]());const _0x4db0ea=await this[_0x45b798(0x1bb)]['generate'](),_0x3e7c04=this[_0x45b798(0x19b)];_0x2c8495?(this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x18f)]),this[_0x45b798(0x177)][_0x45b798(0x12a)](_0x4db0ea[_0x45b798(0x18b)])):(this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x1c1)]),this['_runtimeService'][_0x45b798(0x15d)](_0x4db0ea[_0x45b798(0x18b)])),this[_0x45b798(0x12d)][_0x45b798(0x133)](this[_0x45b798(0x177)]['getRuntimeState']());let _0x458c8d=[];const _0x444a52=this[_0x45b798(0x166)][_0x45b798(0x16e)](_0x283d6c),_0x1be189=(_0x444a52==null?void 0x0:_0x444a52[_0x45b798(0x15e)])||_0x5838aa;let _0x5a94eb=0x0;const _0x3ff6b7=_0x4db0ea['length'];for(;_0x4db0ea[_0x45b798(0x18b)]>0x0;){const _0x14fcdf=_0x4db0ea[_0x45b798(0x158)](),_0x1e413b={'node':_0x46e10b(_0x14fcdf[_0x45b798(0x12b)],_0x14fcdf[_0x45b798(0x134)],this[_0x45b798(0x1b7)],this[_0x45b798(0x194)],this['_currentConfigService']),'refOffsetX':_0x14fcdf[_0x45b798(0x167)],'refOffsetY':_0x14fcdf[_0x45b798(0x164)]},_0x5234aa=_0x14fcdf[_0x45b798(0x190)];if(_0x5a94eb%_0x1be189===0x0&&(await new Promise(_0x2a8e23=>{const _0x542657=_0x45b798,_0x238299=_0x2f566d(_0x2a8e23);_0x458c8d[_0x542657(0x17d)](_0x238299);}),_0x2c8495?(this[_0x45b798(0x177)]['setFormulaExecuteStage'](_0x1eb71e['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x45b798(0x177)][_0x45b798(0x170)](_0x5a94eb+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x1eb71e[_0x45b798(0x1a6)]),this[_0x45b798(0x177)][_0x45b798(0x193)](_0x5a94eb+0x1)),this[_0x45b798(0x12d)][_0x45b798(0x133)](this[_0x45b798(0x177)][_0x45b798(0x176)]()),this[_0x45b798(0x177)]['isStopExecution']()||_0x1e413b==null&&_0x5234aa==null)){this[_0x45b798(0x177)][_0x45b798(0x1ac)](_0x1eb71e[_0x45b798(0x19a)]),this['_runtimeService'][_0x45b798(0x130)](),this[_0x45b798(0x16c)][_0x45b798(0x133)](this[_0x45b798(0x177)][_0x45b798(0x1a9)]());return;}this[_0x45b798(0x177)][_0x45b798(0x12f)](_0x14fcdf[_0x45b798(0x14a)],_0x14fcdf[_0x45b798(0x179)],_0x14fcdf[_0x45b798(0x19c)],_0x14fcdf['columnCount'],_0x14fcdf[_0x45b798(0x180)],_0x14fcdf['unitId']);let _0x1726e3;if(_0x5234aa!=null&&_0x14fcdf[_0x45b798(0x149)]!=null){const {runtimeCellData:_0x54cb8d,dirtyRanges:_0x20b815}=_0x5234aa(this['_currentConfigService']['getDirtyData'](),this[_0x45b798(0x177)][_0x45b798(0x1a9)]());this[_0x45b798(0x177)][_0x45b798(0x127)](_0x14fcdf[_0x45b798(0x149)],_0x54cb8d),this[_0x45b798(0x177)][_0x45b798(0x12e)](_0x14fcdf[_0x45b798(0x149)],_0x20b815);}else _0x1e413b!=null&&(_0x3e7c04[_0x45b798(0x16a)](_0x1e413b[_0x45b798(0x17f)])?_0x1726e3=await _0x3e7c04[_0x45b798(0x153)](_0x1e413b):_0x1726e3=_0x3e7c04[_0x45b798(0x1b9)](_0x1e413b),_0x14fcdf[_0x45b798(0x152)]!=null?this[_0x45b798(0x177)][_0x45b798(0x18a)](_0x14fcdf['formulaId'],_0x14fcdf[_0x45b798(0x167)],_0x14fcdf['refOffsetY'],_0x1726e3):this['_runtimeService'][_0x45b798(0x19f)](_0x1726e3));_0x5a94eb++;}return _0x458c8d[_0x45b798(0x151)](_0x428c89=>_0x428c89()),_0x458c8d=[],_0x3ff6b7>0x0?this[_0x45b798(0x177)][_0x45b798(0x1ba)]():_0x2c8495||this[_0x45b798(0x177)][_0x45b798(0x13c)](),this[_0x45b798(0x177)][_0x45b798(0x1a9)]();}}class fe extends _0x483dd9{constructor(){const _0x4094c6=_0x490257;super(...arguments),F(this,_0x4094c6(0x1c3),new Map()),F(this,_0x4094c6(0x123),new _0x2b3f7a(!0x0));}[_0x490257(0x1a3)](){const _0x34320c=_0x490257;this[_0x34320c(0x17b)][_0x34320c(0x1ad)](),this[_0x34320c(0x19e)]['clear'](),this[_0x34320c(0x131)][_0x34320c(0x1ad)](),this[_0x34320c(0x123)]['clear'](),this[_0x34320c(0x1c3)][_0x34320c(0x1ad)](),this['_restDependencyTreeId'](),this[_0x34320c(0x174)][_0x34320c(0x1ad)]();}[_0x490257(0x171)](_0x26021a,_0x33f755,_0x1d6849,_0x16fa52){const _0x39086e=_0x490257;this[_0x39086e(0x17b)][_0x39086e(0x121)](_0x26021a)||this[_0x39086e(0x17b)][_0x39086e(0x135)](_0x26021a,new Map());const _0x2aed3d=this[_0x39086e(0x17b)][_0x39086e(0x14b)](_0x26021a);_0x2aed3d['has'](_0x33f755)||_0x2aed3d[_0x39086e(0x135)](_0x33f755,new Map());const _0x10ea0f=_0x2aed3d[_0x39086e(0x14b)](_0x33f755);_0x10ea0f[_0x39086e(0x121)](_0x1d6849)||_0x10ea0f[_0x39086e(0x135)](_0x1d6849,new _0x47d10c()),_0x10ea0f['get'](_0x1d6849)['setValue'](_0x16fa52[_0x39086e(0x167)],_0x16fa52['refOffsetY'],_0x16fa52[_0x39086e(0x122)]);}[_0x490257(0x141)](_0x45bfbb,_0x18f7ab,_0x392c79){const _0x22aa80=_0x490257,_0x346a2d=this[_0x22aa80(0x17b)][_0x22aa80(0x14b)](_0x45bfbb);if(_0x346a2d&&_0x346a2d['has'](_0x18f7ab)){const _0x45fa91=_0x346a2d[_0x22aa80(0x14b)](_0x18f7ab);_0x392c79['forEach'](_0x55de56=>{const _0x171515=_0x22aa80,_0x52222f=_0x45fa91[_0x171515(0x14b)](_0x55de56);_0x52222f!=null&&(_0x52222f[_0x171515(0x155)]((_0x8ff5d9,_0x1b221c,_0x570f0f)=>{const _0x2b5469=_0x171515;this['_removeDependencyRTreeCache'](_0x570f0f),this[_0x2b5469(0x11f)](_0x570f0f);}),_0x45fa91[_0x171515(0x125)](_0x55de56),this[_0x171515(0x174)][_0x171515(0x125)](_0x55de56));}),_0x45fa91['size']===0x0&&_0x346a2d[_0x22aa80(0x125)](_0x18f7ab),_0x346a2d['size']===0x0&&this[_0x22aa80(0x17b)]['delete'](_0x45bfbb);}}['clearOtherFormulaDependency'](_0xd00727,_0x343a33){const _0x298b18=_0x490257,_0x2ccf9f=this[_0x298b18(0x17b)][_0x298b18(0x14b)](_0xd00727);if(_0x343a33&&_0x2ccf9f&&_0x2ccf9f['has'](_0x343a33)){const _0x108de3=_0x2ccf9f[_0x298b18(0x14b)](_0x343a33);this[_0x298b18(0x187)](_0xd00727,_0x343a33);for(const _0x19ec5a of _0x108de3['keys']()){const _0x192235=_0x108de3[_0x298b18(0x14b)](_0x19ec5a);_0x192235!=null&&(_0x192235[_0x298b18(0x155)]((_0x31bea9,_0x547498,_0x34c64a)=>{const _0x1134b4=_0x298b18;this[_0x1134b4(0x1c3)][_0x1134b4(0x14b)](_0x34c64a)&&this['_removeAllTreeMap'](_0x34c64a);}),this[_0x298b18(0x174)]['delete'](_0x19ec5a));}_0x108de3[_0x298b18(0x1ad)]();}else{if(_0x2ccf9f){for(const _0x43431a of _0x2ccf9f[_0x298b18(0x16b)]()){const _0x4bb4a2=_0x2ccf9f[_0x298b18(0x14b)](_0x43431a);this[_0x298b18(0x187)](_0xd00727,_0x43431a);for(const _0x37350e of _0x4bb4a2['keys']()){const _0x447258=_0x4bb4a2[_0x298b18(0x14b)](_0x37350e);_0x447258!=null&&(_0x447258[_0x298b18(0x155)]((_0x1df251,_0x1ea8b6,_0x4af295)=>{const _0x3711bf=_0x298b18;this[_0x3711bf(0x1c3)][_0x3711bf(0x14b)](_0x4af295)&&this[_0x3711bf(0x11f)](_0x4af295);}),this['_otherFormulaDataMainData']['delete'](_0x37350e));}}this['_otherFormulaData']['delete'](_0xd00727);}}}[_0x490257(0x191)](_0x18ab3f,_0xeece9e,_0x3c8a6b,_0x1b9d19){const _0x15ce6c=_0x490257;this[_0x15ce6c(0x19e)][_0x15ce6c(0x121)](_0x18ab3f)||this[_0x15ce6c(0x19e)][_0x15ce6c(0x135)](_0x18ab3f,new Map());const _0x25172e=this['_featureFormulaData'][_0x15ce6c(0x14b)](_0x18ab3f);_0x25172e['has'](_0xeece9e)||_0x25172e[_0x15ce6c(0x135)](_0xeece9e,new Map()),_0x25172e[_0x15ce6c(0x14b)](_0xeece9e)[_0x15ce6c(0x135)](_0x3c8a6b,_0x1b9d19[_0x15ce6c(0x122)]);}[_0x490257(0x1a0)](_0xfe8b07,_0x8b65e7,_0x2ec2f4){const _0x1ca859=_0x490257,_0x17b676=this[_0x1ca859(0x19e)][_0x1ca859(0x14b)](_0xfe8b07);if(_0x17b676&&_0x17b676[_0x1ca859(0x121)](_0x8b65e7)){const _0x2549f4=_0x17b676[_0x1ca859(0x14b)](_0x8b65e7);_0x2ec2f4[_0x1ca859(0x151)](_0x4545d2=>{const _0x4ce67a=_0x1ca859,_0x32affa=_0x2549f4['get'](_0x4545d2);_0x32affa!=null&&(this[_0x4ce67a(0x154)](_0x32affa),_0x2549f4['delete'](_0x4545d2),this[_0x4ce67a(0x11f)](_0x32affa));});}}[_0x490257(0x1bf)](_0x752ad7,_0x58ca22){const _0x2a86e5=_0x490257,_0x5a2f7f=this[_0x2a86e5(0x19e)]['get'](_0x752ad7);if(_0x58ca22&&_0x5a2f7f&&_0x5a2f7f['has'](_0x58ca22)){const _0x451220=_0x5a2f7f[_0x2a86e5(0x14b)](_0x58ca22);this[_0x2a86e5(0x187)](_0x752ad7,_0x58ca22),_0x451220[_0x2a86e5(0x151)](_0x4845e5=>{const _0x8f19ef=_0x2a86e5;_0x4845e5!=null&&this[_0x8f19ef(0x11f)](_0x4845e5);}),_0x451220[_0x2a86e5(0x1ad)]();}else _0x5a2f7f&&(_0x5a2f7f[_0x2a86e5(0x151)]((_0xac68d3,_0x10bb7c)=>{const _0x5b6b4d=_0x2a86e5;this[_0x5b6b4d(0x187)](_0x752ad7,_0x10bb7c),_0xac68d3[_0x5b6b4d(0x151)](_0x55f537=>{const _0x29451b=_0x5b6b4d;_0x55f537!=null&&this[_0x29451b(0x11f)](_0x55f537);});}),this[_0x2a86e5(0x19e)][_0x2a86e5(0x125)](_0x752ad7));}[_0x490257(0x138)](_0x2d0396,_0x548b32,_0x2348c1,_0x4dcfa0,_0x2e7449){const _0x207016=_0x490257;this[_0x207016(0x131)][_0x207016(0x121)](_0x2d0396)||this[_0x207016(0x131)]['set'](_0x2d0396,new Map());const _0x1fa009=this[_0x207016(0x131)][_0x207016(0x14b)](_0x2d0396);_0x1fa009[_0x207016(0x121)](_0x548b32)||_0x1fa009[_0x207016(0x135)](_0x548b32,new _0x47d10c()),_0x1fa009['get'](_0x548b32)['setValue'](_0x2348c1,_0x4dcfa0,_0x2e7449[_0x207016(0x122)]);}[_0x490257(0x1b8)](_0x21ed73,_0x4631b9,_0x5f261a,_0x316d8d){const _0xf61e80=_0x490257,_0x4f228b=this['_formulaData']['get'](_0x21ed73);if(_0x4f228b&&_0x4f228b[_0xf61e80(0x121)](_0x4631b9)){const _0x5c5424=_0x4f228b['get'](_0x4631b9),_0x17b2b7=_0x5c5424[_0xf61e80(0x1b0)](_0x5f261a,_0x316d8d);if(_0x17b2b7==null)return;this[_0xf61e80(0x154)](_0x17b2b7),_0x5c5424[_0xf61e80(0x15b)](_0x5f261a,_0x316d8d),this[_0xf61e80(0x11f)](_0x17b2b7);}}['clearFormulaDependency'](_0x31f12c,_0xc06a5e){const _0x289e5c=_0x490257,_0x201615=this['_formulaData'][_0x289e5c(0x14b)](_0x31f12c);if(_0xc06a5e&&_0x201615&&_0x201615['has'](_0xc06a5e)){const _0x572a45=_0x201615['get'](_0xc06a5e);this['_removeDependencyRTreeCacheById'](_0x31f12c,_0xc06a5e),_0x572a45['forValue']((_0x5a316e,_0x382570,_0x3c52d5)=>{const _0x321ed8=_0x289e5c;if(_0x3c52d5==null)return!0x0;this[_0x321ed8(0x11f)](_0x3c52d5);}),_0x572a45[_0x289e5c(0x1a3)]();}else _0x201615&&(_0x201615[_0x289e5c(0x151)]((_0x3967be,_0x28bab3)=>{const _0x22a4f3=_0x289e5c;this[_0x22a4f3(0x187)](_0x31f12c,_0x28bab3),_0x3967be['forValue']((_0x18a680,_0x16b006,_0x172384)=>{const _0xf0df54=_0x22a4f3;if(_0x172384==null)return!0x0;this[_0xf0df54(0x11f)](_0x172384);});}),this['_formulaData'][_0x289e5c(0x125)](_0x31f12c));}['_removeDependencyRTreeCache'](_0x5a94f4){const _0x4c0276=_0x490257;if(_0x5a94f4==null)return;const _0x5f8afd=this['_allTreeMap']['get'](_0x5a94f4);if(_0x5f8afd){const _0x4da5fc=[];for(const [_0x370a60,_0x1e5220]of _0x5f8afd)for(const [_0x32caf2,_0x5d4ecf]of _0x1e5220)_0x4da5fc[_0x4c0276(0x17d)]({'unitId':_0x370a60,'sheetId':_0x32caf2,'range':_0x5d4ecf,'id':_0x5a94f4});this[_0x4c0276(0x123)][_0x4c0276(0x1b6)](_0x4da5fc);}}[_0x490257(0x15a)](_0x338f21,_0x470932){const _0x4d71a3=_0x490257,_0x1a8739=this[_0x4d71a3(0x1c4)][_0x4d71a3(0x14b)](_0x338f21);if(_0x1a8739){const _0x4d8183=_0x1a8739[_0x4d71a3(0x14b)](_0x470932);if(_0x4d8183){for(const _0x315d3d of _0x4d8183)this['_removeDependencyRTreeCache'](_0x315d3d),this[_0x4d71a3(0x11f)](_0x315d3d);_0x4d8183[_0x4d71a3(0x1ad)]();}}}[_0x490257(0x1c0)](){const _0x1e879d=_0x490257;this[_0x1e879d(0x123)][_0x1e879d(0x1c0)]();}[_0x490257(0x1a8)](){const _0x5ebdc1=_0x490257;this[_0x5ebdc1(0x123)][_0x5ebdc1(0x1a8)]();}[_0x490257(0x11f)](_0x25599b){const _0x315b84=_0x490257;_0x25599b!=null&&this[_0x315b84(0x1c3)]['delete'](_0x25599b);}[_0x490257(0x175)](_0x380ca1){const _0x2177d0=_0x490257;var _0x35c683,_0x127a5b;const _0x4839cd=_0x380ca1['rangeList'];let _0x2e3e79=this[_0x2177d0(0x1c3)][_0x2177d0(0x14b)](_0x380ca1[_0x2177d0(0x122)]);for(let _0x399da9=0x0;_0x399da9<_0x4839cd[_0x2177d0(0x18b)];_0x399da9++){const _0x18e37d=_0x4839cd[_0x399da9];let {unitId:_0x25b593,sheetId:_0x51f2c6,range:_0x346896}=_0x18e37d;_0x2e3e79||(_0x2e3e79=new Map(),this[_0x2177d0(0x1c3)][_0x2177d0(0x135)](_0x380ca1['treeId'],_0x2e3e79)),_0x2e3e79[_0x2177d0(0x121)](_0x25b593)||_0x2e3e79[_0x2177d0(0x135)](_0x25b593,new Map());const _0x444e6d=(_0x35c683=_0x2e3e79==null?void 0x0:_0x2e3e79['get'](_0x25b593))==null?void 0x0:_0x35c683[_0x2177d0(0x14b)](_0x51f2c6);_0x444e6d&&(_0x346896={'startRow':Math[_0x2177d0(0x1bc)](_0x346896[_0x2177d0(0x1ab)],_0x444e6d[_0x2177d0(0x1ab)]),'startColumn':Math[_0x2177d0(0x1bc)](_0x346896['startColumn'],_0x444e6d[_0x2177d0(0x184)]),'endRow':Math[_0x2177d0(0x188)](_0x346896['endRow'],_0x444e6d[_0x2177d0(0x1b4)]),'endColumn':Math[_0x2177d0(0x188)](_0x346896['endColumn'],_0x444e6d[_0x2177d0(0x13e)])}),(_0x127a5b=_0x2e3e79['get'](_0x25b593))==null||_0x127a5b['set'](_0x51f2c6,_0x346896);}}}var ge=Object['getOwnPropertyDescriptor'],pe=(_0x19517c,_0x13b9c4,_0x880e20,_0x1050f3)=>{for(var _0x446a78=_0x1050f3>0x1?void 0x0:_0x1050f3?ge(_0x13b9c4,_0x880e20):_0x13b9c4,_0x40cb47=_0x19517c['length']-0x1,_0x57fdc1;_0x40cb47>=0x0;_0x40cb47--)(_0x57fdc1=_0x19517c[_0x40cb47])&&(_0x446a78=_0x57fdc1(_0x446a78)||_0x446a78);return _0x446a78;};const _e=Number[_0x490257(0x17a)](0x687b5697);function _0x259e(_0xa037c8,_0x370850){const _0x395205=_0x3952();return _0x259e=function(_0x259e4b,_0x317ad2){_0x259e4b=_0x259e4b-0x11f;let _0x5e9614=_0x395205[_0x259e4b];return _0x5e9614;},_0x259e(_0xa037c8,_0x370850);}function _0x3952(){const _0x14dd88=['startColumn','_generateTreeList','hasOtherFormulaDataMainData','_removeDependencyRTreeCacheById','max','return\x20','setRuntimeOtherData','length','6545049pUlgbB','290500vvYOSO','isAdded','START_CALCULATION_ARRAY_FORMULA','getDirtyData','addFeatureFormulaDependency','size','setCompletedFormulasCount','_astTreeBuilder','isExcludeRange','add','toRTreeItem','addFormulaDependencyByDefinedName','1349132PtRMUT','IDLE','_interpreter','rowCount','_getUpdateTreeListAndMakeDependency','_featureFormulaData','setRuntimeData','removeFeatureFormulaDependency','_initLicenseValid','dirtyRanges','reset','_dependencyManagerService','getFormulaDependency','CURRENTLY_CALCULATING','notExecuteFormula','closeKdTree','getAllRuntimeData','enableCycleDependency','startRow','setFormulaExecuteStage','clear','_dependencyTreeCache','dependencySheetName','getValue','START_DEPENDENCY','searchDependency','_registerOtherFormulas','endRow','setSkip','bulkRemove','_lexer','removeFormulaDependency','execute','markedAsSuccessfullyExecuted','_formulaDependencyGenerator','min','_dependencyRTreeCacheForAddressFunction','423Grkrdl','clearFeatureFormulaDependency','openKdTree','START_CALCULATION','rangeList','_allTreeMap','_definedNameMap','_removeAllTreeMap','defineProperty','has','treeId','_dependencyRTreeCache','ParentDependencyTree\x20object\x20is\x20null','delete','getFeatureFormulaDependency','setRuntimeFeatureCellData','FEATURE_FORMULA','10fdxPNf','setTotalArrayFormulasToCalculate','unitId','_getTreeById','_executionInProgressListener$','setRuntimeFeatureRange','setCurrent','markedAsStopFunctionsExecuted','_formulaData','_injector','next','formula','set','_getFeatureFormulaTree','_config','addFormulaDependency','getUnitData','_createFDtree','type','markedAsNoFunctionsExecuted','233598iVHuff','endColumn','_isCyclicUtilMap','_checkIsCycleDependency','removeOtherFormulaDependency','_currentConfigService','_getFirstCellOfRange','getOtherFormulaData','isDirty','getDirtyNameMap','_updateRangeFlatten','resolve','featureId','row','get','OTHER_FORMULA','5vhlTAm','_createVirtualFDtree','valid','isForceCalculate','forEach','formulaId','executeAsync','_removeDependencyRTreeCache','forValue','clearOtherFormulaDependency','bulkSearch','pop','getExcludedRange','removeFormulaDependencyByDefinedName','realDeleteValue','isCache','setTotalFormulasToCalculate','intervalCount','isSkip','_initializeWithOverride','_otherFormulaManagerService','_convertDirtyRangesToUnitRange','_apply','refOffsetY','featureDirtyRanges','_configService','refOffsetX','1541922xQkvOX','getDirtyRanges','checkAsyncNode','keys','_executionCompleteListener$','getClearDependencyTreeCache','getConfig','_traverse','setCompletedArrayFormulasCount','addOtherFormulaDependency','205350AEFZLR','getFormulaData','_otherFormulaDataMainData','_addAllTreeMap','getRuntimeState','_runtimeService','dispose','column','parseInt','_otherFormulaData','symbol','push','addOtherFormulaDependencyMainData','node','subUnitId','columnCount','4575520rTZdtW','isVirtual'];_0x3952=function(){return _0x14dd88;};return _0x3952();}let I=class extends _0xc65c85{[_0x490257(0x160)](){const _0xb42d1e=_0x490257;var _0x1097bb,_0x84643f;this[_0xb42d1e(0x1a1)]()?(_0x1097bb=this['_config'])!=null&&_0x1097bb[_0xb42d1e(0x1a7)]||[[_0x55a01e,{'useClass':he}],[_0x44c045,{'useClass':fe}],[_0x249691,{'useClass':de}]][_0xb42d1e(0x151)](_0x132d27=>this[_0xb42d1e(0x132)][_0xb42d1e(0x196)](_0x132d27)):(_0x84643f=this[_0xb42d1e(0x137)])!=null&&_0x84643f[_0xb42d1e(0x1a7)]||[[_0x55a01e,{'useClass':_0x40a1ab}],[_0x44c045,{'useClass':_0x3a9946}],[_0x249691,{'useClass':_0x5228b7}]][_0xb42d1e(0x151)](_0x4b6365=>this[_0xb42d1e(0x132)][_0xb42d1e(0x196)](_0x4b6365));}[_0x490257(0x1a1)](){const _0x15e99f=_0x490257;var _0x2fd2ef;const _0x390b8d=(_0x2fd2ef=this[_0x15e99f(0x166)]['getConfig'](_0x2d655f))!=null?_0x2fd2ef:{},{ls:_0x3b49da,pbk:_0xecc62c}=_0x390b8d;if(!_0x3b49da||!_0xecc62c)return!0x1;const _0x58f7f7=_0x4d6a07(ue,le),_0x22a47e=new Function(_0x15e99f(0x189)+_0x58f7f7)()(_0x3b49da,_0xecc62c),_0x599285=_0x22a47e['message'];return _0x22a47e[_0x15e99f(0x14f)]&&_0x24b1f3(_0x599285,'sf',_e)?_0x5d9182(_0x599285,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};I=pe([_0x154ae4(_0x294f74)],I);export{I as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x1ddc69=_0x46e8;(function(_0x5c7ea6,_0x4e0968){const _0x63ac4f=_0x46e8,_0x534186=_0x5c7ea6();while(!![]){try{const _0x2af86d=-parseInt(_0x63ac4f(0x25c))/0x1+-parseInt(_0x63ac4f(0x25d))/0x2*(parseInt(_0x63ac4f(0x274))/0x3)+parseInt(_0x63ac4f(0x257))/0x4+parseInt(_0x63ac4f(0x26c))/0x5+parseInt(_0x63ac4f(0x233))/0x6*(-parseInt(_0x63ac4f(0x245))/0x7)+-parseInt(_0x63ac4f(0x23c))/0x8+-parseInt(_0x63ac4f(0x241))/0x9*(-parseInt(_0x63ac4f(0x232))/0xa);if(_0x2af86d===_0x4e0968)break;else _0x534186['push'](_0x534186['shift']());}catch(_0x12f1fc){_0x534186['push'](_0x534186['shift']());}}}(_0x5d0e,0xeefc4));var W=Object[_0x1ddc69(0x26d)],z=(_0x470c40,_0x2f5b5f,_0x175c38)=>_0x2f5b5f in _0x470c40?W(_0x470c40,_0x2f5b5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x175c38}):_0x470c40[_0x2f5b5f]=_0x175c38,v=(_0x5a926c,_0x3aba3a,_0x3dea06)=>z(_0x5a926c,typeof _0x3aba3a!=_0x1ddc69(0x226)?_0x3aba3a+'':_0x3aba3a,_0x3dea06);import{UniverLicensePlugin as _0x4a6b2d,LS_CONFIG_KEY as _0x2bfac9,unshiftString as _0x1441cc,isFeatureAuthorizedWithinTime as _0x33989b,getSheetFeatureLimit as _0x34f366}from'@univerjs-pro/license';import{ObjectMatrix as _0x5a4321,requestImmediateMacroTask as _0x2a7a62,RTree as _0x3d2b8d,DependentOn as _0x1c480c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x4b513e,generateRandomDependencyTreeId as _0x4de1b7,FormulaDependencyTree as _0x2fe794,FormulaDependencyTreeType as _0x3bf087,FormulaDependencyTreeVirtual as _0x1b7763,generateAstNode as _0x1e96c9,CalculateFormulaService as _0x31b39f,FormulaExecuteStageType as _0x45cd9a,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x2e282d,DEFAULT_INTERVAL_COUNT as _0x29e20f,DependencyManagerBaseService as _0x2ac36a,UniverFormulaEnginePlugin as _0x5ad5dc,ICalculateFormulaService as _0x125caa,IDependencyManagerService as _0x407a9c,IFormulaDependencyGenerator as _0x41a773,DependencyManagerService as _0xb6dd45}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const de={0x0:'5',0x1:'4',0x2:'j',0x3:'7',0x4:'v',0x5:'O',0x6:'0',0x7:'E',0x8:'I',0x9:'G','U':'1','y':'2','S':'3','m':'6','x':'8','T':'9','w':'a','G':'b','e':'c','P':'d','d':'e','L':'f','O':'g','D':'h','R':'i','W':'k','o':'l','f':'m','H':'n','k':'o','E':'p','v':'q','h':'r','q':'s','p':'t','n':'u','F':'w','V':'x','c':'y','M':'z','N':'A','A':'B','X':'C','I':'D','b':'F','C':'H','Q':'J','z':'K','B':'L','r':'M','i':'N','j':'P','K':'Q','u':'R','Z':'S','g':'T','J':'U','Y':'V','t':'W','a':'X','l':'Y','s':'Z'},le=_0x1ddc69(0x21f);class he extends _0x4b513e{constructor(){const _0x4b89ac=_0x1ddc69;super(...arguments),v(this,_0x4b89ac(0x1fa),new Map());}[_0x1ddc69(0x219)](){const _0x401ffb=_0x1ddc69;super[_0x401ffb(0x219)](),this[_0x401ffb(0x1fa)][_0x401ffb(0x270)]();}async[_0x1ddc69(0x1f6)](){const _0x4a04f1=_0x1ddc69;this[_0x4a04f1(0x1f8)]();const _0x18fd14=this[_0x4a04f1(0x239)]['getFormulaData'](),_0x1d9e43=this[_0x4a04f1(0x217)][_0x4a04f1(0x218)](),_0x4f39af=this[_0x4a04f1(0x239)][_0x4a04f1(0x24f)]();_0x4f39af!=null&&Object[_0x4a04f1(0x258)](_0x4f39af)[_0x4a04f1(0x22b)](_0x57b773=>{const _0x261637=_0x4a04f1;_0x57b773!=null&&Object[_0x261637(0x258)](_0x4f39af[_0x57b773])['forEach'](_0xb5b5d6=>{const _0x1342cd=_0x261637;_0xb5b5d6!=null&&(this[_0x1342cd(0x269)]['clearOtherFormulaDependency'](_0x57b773,_0xb5b5d6),this[_0x1342cd(0x269)][_0x1342cd(0x20b)](_0x57b773,_0xb5b5d6),this[_0x1342cd(0x269)][_0x1342cd(0x203)](_0x57b773,_0xb5b5d6));});});const _0x50d7d2=this[_0x4a04f1(0x239)][_0x4a04f1(0x27d)]();await this[_0x4a04f1(0x27e)](_0x18fd14,_0x1d9e43,_0x50d7d2),this[_0x4a04f1(0x269)][_0x4a04f1(0x22a)]();const _0x4e2100=this[_0x4a04f1(0x20d)](),_0x52bbb7=this['_calculateRunList'](_0x4e2100);return this[_0x4a04f1(0x259)](_0x52bbb7)&&this[_0x4a04f1(0x1f9)]['enableCycleDependency'](),this[_0x4a04f1(0x1fa)][_0x4a04f1(0x270)](),this['_dependencyRTreeCacheForAddressFunction'][_0x4a04f1(0x270)](),this['_dependencyManagerService'][_0x4a04f1(0x27a)](),Promise[_0x4a04f1(0x246)](_0x52bbb7);}[_0x1ddc69(0x24a)](_0x1896c6,_0x33ac4d){const _0x2aa3fd=_0x1ddc69,_0x2ef731=[_0x1896c6];for(;_0x2ef731[_0x2aa3fd(0x265)]>0x0;){const _0x5c6789=_0x2ef731[_0x2ef731['length']-0x1];if((_0x33ac4d['get'](_0x5c6789)||0x0)===0x0){_0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x1);const _0x2f9f34=this[_0x2aa3fd(0x1fa)][_0x2aa3fd(0x231)](_0x5c6789);if(_0x2f9f34==null){_0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x2),_0x2ef731['pop']();continue;}const _0x35f196=this[_0x2aa3fd(0x269)][_0x2aa3fd(0x204)](_0x2f9f34[_0x2aa3fd(0x225)]());for(const _0x2c0533 of _0x35f196){const _0x3f2959=_0x33ac4d[_0x2aa3fd(0x231)](_0x2c0533)||0x0;if(_0x3f2959===0x1)return!0x0;_0x3f2959===0x0&&_0x2ef731[_0x2aa3fd(0x26b)](_0x2c0533);}}else _0x33ac4d[_0x2aa3fd(0x207)](_0x5c6789,0x2),_0x2ef731[_0x2aa3fd(0x279)]();}return!0x1;}['_checkIsCycleDependency'](_0x1b5701){const _0x2927d1=_0x1ddc69,_0x318d66=new Map();for(const _0x44259b of _0x1b5701)if(!_0x318d66['has'](_0x44259b[_0x2927d1(0x260)])&&this['_isCyclicUtilMap'](_0x44259b[_0x2927d1(0x260)],_0x318d66))return!0x0;return _0x318d66[_0x2927d1(0x270)](),!0x1;}[_0x1ddc69(0x283)](_0x4a5e66,_0x50383f,_0x52d19d){const _0x293edf=_0x1ddc69,{unitId:_0x3b593d,subUnitId:_0x2ee559,dependencyRanges:_0x37be39,getDirtyData:_0x5b312f}=_0x52d19d,_0x421ba1=_0x50383f||_0x4de1b7(this[_0x293edf(0x269)]),_0x2d6406=new _0x2fe794(_0x421ba1);_0x2d6406['unitId']=_0x3b593d,_0x2d6406['subUnitId']=_0x2ee559,_0x2d6406['rangeList']=_0x37be39,_0x2d6406[_0x293edf(0x24b)]=_0x5b312f;const _0x16924e=_0x5b312f(this[_0x293edf(0x239)][_0x293edf(0x24b)](),this[_0x293edf(0x1f9)][_0x293edf(0x23b)]()),_0x54beda=this[_0x293edf(0x21d)](_0x16924e['dirtyRanges']);return _0x2d6406[_0x293edf(0x252)]=_0x54beda,_0x2d6406['featureId']=_0x4a5e66,_0x2d6406[_0x293edf(0x26e)]=_0x3bf087['FEATURE_FORMULA'],this[_0x293edf(0x269)][_0x293edf(0x20e)](_0x3b593d,_0x2ee559,_0x4a5e66,_0x2d6406),this[_0x293edf(0x1fa)]['set'](_0x2d6406['treeId'],_0x2d6406),this[_0x293edf(0x269)]['getFeatureFormulaDependency'](_0x52d19d[_0x293edf(0x268)],_0x52d19d[_0x293edf(0x25f)],_0x4a5e66)&&(_0x2d6406[_0x293edf(0x20f)]=!0x0),_0x2d6406;}[_0x1ddc69(0x282)](_0x185453,_0x3a43f3,_0x168815){const _0x100609=_0x1ddc69;var _0x664b24;for(const _0x5745a1 of _0x3a43f3){const _0x3f211e=_0x185453[_0x5745a1];if(_0x3f211e==null)continue;const _0x1645f6=Object[_0x100609(0x258)](_0x3f211e);for(const _0x356ec8 of _0x1645f6){const _0x5e0f03=_0x3f211e[_0x356ec8];if(_0x5e0f03==null)continue;const _0x1772e7=Object[_0x100609(0x258)](_0x5e0f03);for(const _0x1cb00f of _0x1772e7){const _0x5dc192=this[_0x100609(0x269)]['hasOtherFormulaDataMainData'](_0x1cb00f),_0x9af290=_0x5e0f03[_0x1cb00f],{f:_0x6a19e4,ranges:_0x3de567}=_0x9af290;let _0x1f0e49=!0x1;_0x5dc192&&(_0x1f0e49=!0x0);const {firstRow:_0x8f7cf7,firstColumn:_0x46cd38}=this[_0x100609(0x243)](_0x3de567),_0x139840=this[_0x100609(0x269)][_0x100609(0x289)](_0x5745a1,_0x356ec8,_0x1cb00f),_0x4edb22=(_0x664b24=_0x139840==null?void 0x0:_0x139840[_0x100609(0x285)](0x0,0x0))!=null?_0x664b24:_0x4de1b7(this['_dependencyManagerService']),_0x42b710=new _0x2fe794(_0x4edb22);for(let _0x35389b=0x0;_0x35389b<_0x3de567['length'];_0x35389b++){const _0x5d55e2=_0x3de567[_0x35389b],{startRow:_0x4b26fa,startColumn:_0x3478e9,endRow:_0x1d62e3,endColumn:_0x1889ad}=_0x5d55e2;for(let _0x2103ef=_0x4b26fa;_0x2103ef<=_0x1d62e3;_0x2103ef++)for(let _0xe19622=_0x3478e9;_0xe19622<=_0x1889ad;_0xe19622++){const _0x395b54=_0xe19622-_0x46cd38,_0x3ca75b=_0x2103ef-_0x8f7cf7;if(_0x395b54===0x0&&_0x3ca75b===0x0){_0x42b710[_0x100609(0x210)]=_0x6a19e4,_0x42b710[_0x100609(0x268)]=_0x5745a1,_0x42b710['subUnitId']=_0x356ec8,_0x42b710[_0x100609(0x21a)]=_0x1cb00f,_0x42b710[_0x100609(0x26e)]=_0x3bf087['OTHER_FORMULA'],_0x42b710['isCache']=_0x1f0e49,_0x168815[_0x100609(0x26b)](_0x42b710),this[_0x100609(0x1fa)]['set'](_0x42b710[_0x100609(0x260)],_0x42b710),this[_0x100609(0x269)][_0x100609(0x263)](_0x5745a1,_0x356ec8,_0x1cb00f,_0x42b710),this[_0x100609(0x269)]['addFormulaDependencyByDefinedName'](_0x42b710);continue;}const _0x16a251=new _0x1b7763();_0x16a251['treeId']=(_0x139840==null?void 0x0:_0x139840[_0x100609(0x285)](_0x395b54,_0x3ca75b))||_0x4de1b7(this[_0x100609(0x269)]),_0x16a251[_0x100609(0x202)]=_0x42b710,_0x16a251['refOffsetX']=_0x395b54,_0x16a251['refOffsetY']=_0x3ca75b,_0x16a251[_0x100609(0x20f)]=_0x1f0e49,this[_0x100609(0x269)][_0x100609(0x263)](_0x5745a1,_0x356ec8,_0x1cb00f,_0x16a251),this['_dependencyManagerService'][_0x100609(0x28a)](_0x16a251),_0x168815[_0x100609(0x26b)](_0x16a251),this[_0x100609(0x1fa)][_0x100609(0x207)](_0x16a251[_0x100609(0x260)],_0x16a251);}}this['_dependencyManagerService'][_0x100609(0x25a)](_0x1cb00f);}}}}['_registerFormulas'](_0x273ab5,_0x256155,_0x23207e,_0x183426){const _0x59e0b9=_0x1ddc69;for(const _0x44526c of _0x273ab5){const _0x181542=_0x256155[_0x44526c];if(_0x181542==null)continue;const _0x36aac9=Object[_0x59e0b9(0x258)](_0x181542);for(const _0x562891 of _0x36aac9){const _0x285f5d=new _0x5a4321(_0x181542[_0x562891]||{}),_0x3eb711=new Map();_0x285f5d[_0x59e0b9(0x1f5)]((_0x35c95f,_0x4de4b1,_0x955a70)=>{const _0x2526a6=_0x59e0b9;if(_0x955a70==null)return!0x0;const {x:_0x2f1dd3=0x0,y:_0x32c979=0x0,si:_0x4adcb3}=_0x955a70;if(!(_0x2f1dd3===0x0&&_0x32c979===0x0&&_0x4adcb3!=null))return!0x0;const _0x40f432=this[_0x2526a6(0x242)](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1,_0x23207e,_0x955a70),_0x2568ad=this[_0x2526a6(0x269)]['getFormulaDependency'](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1);_0x2568ad!=null?_0x40f432['treeId']=_0x2568ad:(this[_0x2526a6(0x269)]['addFormulaDependency'](_0x44526c,_0x562891,_0x35c95f,_0x4de4b1,_0x40f432),this[_0x2526a6(0x269)][_0x2526a6(0x28a)](_0x40f432)),_0x3eb711['set'](_0x4adcb3,_0x40f432),_0x183426[_0x2526a6(0x26b)](_0x40f432),this[_0x2526a6(0x1fa)]['set'](_0x40f432['treeId'],_0x40f432);}),_0x285f5d[_0x59e0b9(0x1f5)]((_0x14b578,_0x2b51f3,_0x46007b)=>{const _0x18fc9f=_0x59e0b9;if(_0x46007b==null)return!0x0;const {x:_0x2e4427=0x0,y:_0x4af895=0x0,si:_0x35f0ce}=_0x46007b;if(_0x2e4427===0x0&&_0x4af895===0x0&&_0x35f0ce!=null)return!0x0;let _0x20603e;if(_0x35f0ce&&_0x3eb711[_0x18fc9f(0x247)](_0x35f0ce)){const _0x2420ee=_0x3eb711[_0x18fc9f(0x231)](_0x35f0ce);_0x20603e=this[_0x18fc9f(0x286)](_0x2420ee,_0x46007b);}else _0x20603e=this['_createFDtree'](_0x44526c,_0x562891,_0x14b578,_0x2b51f3,_0x23207e,_0x46007b);const _0x4cdd88=this[_0x18fc9f(0x269)][_0x18fc9f(0x201)](_0x44526c,_0x562891,_0x14b578,_0x2b51f3);_0x4cdd88!=null?_0x20603e[_0x18fc9f(0x260)]=_0x4cdd88:(this[_0x18fc9f(0x269)][_0x18fc9f(0x261)](_0x44526c,_0x562891,_0x14b578,_0x2b51f3,_0x20603e),this['_dependencyManagerService'][_0x18fc9f(0x28a)](_0x20603e)),_0x183426[_0x18fc9f(0x26b)](_0x20603e),this[_0x18fc9f(0x1fa)][_0x18fc9f(0x207)](_0x20603e[_0x18fc9f(0x260)],_0x20603e);}),_0x3eb711[_0x59e0b9(0x270)]();}}}[_0x1ddc69(0x242)](_0x544d33,_0x3f7cd7,_0x365bd3,_0x5dd688,_0x1f8e0d,_0x5c0925){const _0x1e5275=_0x1ddc69,{f:_0x221186,x:_0x49bc44=0x0,y:_0x4c4997=0x0}=_0x5c0925,_0x1fda26=new _0x2fe794(_0x4de1b7(this[_0x1e5275(0x269)])),_0x5be748=_0x1f8e0d[_0x544d33][_0x3f7cd7];return _0x1fda26[_0x1e5275(0x210)]=_0x221186,_0x1fda26[_0x1e5275(0x268)]=_0x544d33,_0x1fda26[_0x1e5275(0x25f)]=_0x3f7cd7,_0x1fda26[_0x1e5275(0x223)]=_0x365bd3,_0x1fda26[_0x1e5275(0x267)]=_0x5dd688,_0x1fda26[_0x1e5275(0x213)]=_0x5be748[_0x1e5275(0x213)],_0x1fda26[_0x1e5275(0x27f)]=_0x5be748[_0x1e5275(0x27f)],_0x1fda26;}['_getUpdateTreeListAndMakeDependency'](){const _0x4f9bd8=_0x1ddc69,_0x4c1aa5=[],_0x323411=new Set(),_0x55622c=this[_0x4f9bd8(0x239)]['isForceCalculate'](),_0xe6557a=this[_0x4f9bd8(0x239)][_0x4f9bd8(0x22f)](),_0x141023=this['_dependencyManagerService'][_0x4f9bd8(0x204)](_0xe6557a),_0x33c82b=this[_0x4f9bd8(0x27b)][_0x4f9bd8(0x234)](_0xe6557a);for(const _0x53aa8f of _0x33c82b)_0x141023[_0x4f9bd8(0x22e)](_0x53aa8f);for(const [_0x3af3bf,_0x4a5129]of this['_dependencyTreeCache'])(_0x55622c||_0x4a5129[_0x4f9bd8(0x206)]||_0x4a5129[_0x4f9bd8(0x222)](this['_currentConfigService']['getDirtyNameMap']())||_0x141023[_0x4f9bd8(0x247)](_0x3af3bf)&&!_0x4a5129[_0x4f9bd8(0x220)](this[_0x4f9bd8(0x239)][_0x4f9bd8(0x25b)]()))&&!_0x323411[_0x4f9bd8(0x247)](_0x3af3bf)&&(_0x4c1aa5[_0x4f9bd8(0x26b)](_0x4a5129),_0x323411[_0x4f9bd8(0x22e)](_0x3af3bf));for(const [_0x382902,_0x231e6c]of this[_0x4f9bd8(0x1fa)])_0x231e6c['isVirtual']||(_0x231e6c[_0x4f9bd8(0x273)][_0x4f9bd8(0x265)]=0x0);return _0x4c1aa5;}['_getTreeById'](_0x3d2e0b){const _0x3f10db=_0x1ddc69;return this[_0x3f10db(0x1fa)][_0x3f10db(0x231)](_0x3d2e0b);}['_getTreeNode'](_0x254835){const _0x16a0bf=_0x1ddc69;return _0x1e96c9(_0x254835['unitId'],_0x254835['formula'],this['_lexer'],this[_0x16a0bf(0x26f)],this[_0x16a0bf(0x239)]);}*[_0x1ddc69(0x262)](_0x464485,_0x18b0ae){const _0x1be660=_0x1ddc69,_0x1c91b6=_0x464485,_0x10f21f=new Set();for(;_0x1c91b6[_0x1be660(0x265)]>0x0;){const _0x250bc8=_0x1c91b6[_0x1be660(0x279)]();if(_0x10f21f[_0x1be660(0x270)](),_0x250bc8===void 0x0||_0x250bc8[_0x1be660(0x216)]())continue;if(_0x250bc8[_0x1be660(0x24e)]()){yield _0x250bc8,_0x250bc8[_0x1be660(0x1ff)](),_0x18b0ae[_0x1be660(0x22e)](_0x250bc8[_0x1be660(0x260)]);continue;}const _0x5cd98e=this[_0x1be660(0x269)][_0x1be660(0x204)](_0x250bc8[_0x1be660(0x225)](),_0x18b0ae),_0x18d078=this['_dependencyRTreeCacheForAddressFunction'][_0x1be660(0x234)](_0x250bc8[_0x1be660(0x225)](),_0x18b0ae);for(const _0x5d0666 of _0x18d078)_0x5cd98e[_0x1be660(0x22e)](_0x5d0666);for(const _0x1314ad of _0x5cd98e){const _0x3d8481=this[_0x1be660(0x1fa)]['get'](_0x1314ad);if(!_0x3d8481)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x3d8481[_0x1be660(0x24e)]()||_0x250bc8[_0x1be660(0x216)]()||_0x10f21f['add'](_0x3d8481);}if(_0x5cd98e[_0x1be660(0x270)](),_0x10f21f['size']===0x0)yield _0x250bc8,_0x250bc8['setSkip'](),_0x18b0ae[_0x1be660(0x22e)](_0x250bc8['treeId']);else{_0x250bc8['setAdded'](),_0x1c91b6[_0x1be660(0x26b)](_0x250bc8);for(const _0x2603fe of _0x10f21f)_0x1c91b6[_0x1be660(0x26b)](_0x2603fe);}}_0x1c91b6[_0x1be660(0x265)]=0x0,_0x10f21f[_0x1be660(0x270)]();}[_0x1ddc69(0x281)](_0x3819f6){const _0x341cd1=_0x1ddc69,_0x50f5aa=[],_0xd1e787=new Set();for(const _0x49f2aa of this['_traverse'](_0x3819f6,_0xd1e787))_0x50f5aa[_0x341cd1(0x26b)](_0x49f2aa);return _0x50f5aa;}}class ue extends _0x31b39f{async[_0x1ddc69(0x28d)](_0x2007fc=!0x1){const _0x43bde0=_0x1ddc69;_0x2007fc?this[_0x43bde0(0x1f9)]['setFormulaExecuteStage'](_0x45cd9a[_0x43bde0(0x275)]):this[_0x43bde0(0x1f9)]['setFormulaExecuteStage'](_0x45cd9a['START_DEPENDENCY']),this[_0x43bde0(0x227)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]());const _0x471a74=await this[_0x43bde0(0x21c)][_0x43bde0(0x1f6)](),_0x39e048=this[_0x43bde0(0x23f)];_0x2007fc?(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x229)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x237)](_0x471a74[_0x43bde0(0x265)])):(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x28b)]),this['_runtimeService'][_0x43bde0(0x20a)](_0x471a74[_0x43bde0(0x265)])),this['_executionInProgressListener$']['next'](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]());let _0x3571e8=[];const _0x21daed=this['_configService'][_0x43bde0(0x254)](_0x2e282d),_0x4c8d32=(_0x21daed==null?void 0x0:_0x21daed[_0x43bde0(0x1f4)])||_0x29e20f;let _0x52a8e2=0x0;const _0x39c5ad=_0x471a74[_0x43bde0(0x265)];for(;_0x471a74[_0x43bde0(0x265)]>0x0;){const _0x28791e=_0x471a74[_0x43bde0(0x279)](),_0xf6b813={'node':_0x1e96c9(_0x28791e['unitId'],_0x28791e[_0x43bde0(0x210)],this[_0x43bde0(0x266)],this[_0x43bde0(0x26f)],this[_0x43bde0(0x239)]),'refOffsetX':_0x28791e[_0x43bde0(0x23a)],'refOffsetY':_0x28791e['refOffsetY']},_0x210968=_0x28791e[_0x43bde0(0x24b)];if(_0x52a8e2%_0x4c8d32===0x0&&(await new Promise(_0x52e072=>{const _0x10644d=_0x2a7a62(_0x52e072);_0x3571e8['push'](_0x10644d);}),_0x2007fc?(this['_runtimeService'][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x212)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x235)](_0x52a8e2+0x1)):(this[_0x43bde0(0x1f9)][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x21e)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x24c)](_0x52a8e2+0x1)),this[_0x43bde0(0x227)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)][_0x43bde0(0x253)]()),this[_0x43bde0(0x1f9)][_0x43bde0(0x21b)]()||_0xf6b813==null&&_0x210968==null)){this['_runtimeService'][_0x43bde0(0x26a)](_0x45cd9a[_0x43bde0(0x1fe)]),this[_0x43bde0(0x1f9)][_0x43bde0(0x25e)](),this[_0x43bde0(0x200)][_0x43bde0(0x1fc)](this[_0x43bde0(0x1f9)]['getAllRuntimeData']());return;}this[_0x43bde0(0x1f9)][_0x43bde0(0x214)](_0x28791e[_0x43bde0(0x223)],_0x28791e[_0x43bde0(0x267)],_0x28791e[_0x43bde0(0x213)],_0x28791e[_0x43bde0(0x27f)],_0x28791e[_0x43bde0(0x25f)],_0x28791e[_0x43bde0(0x268)]);let _0x3694be;if(_0x210968!=null&&_0x28791e['featureId']!=null){const {runtimeCellData:_0x15c383,dirtyRanges:_0x39964a}=_0x210968(this['_currentConfigService']['getDirtyData'](),this[_0x43bde0(0x1f9)][_0x43bde0(0x23b)]());this[_0x43bde0(0x1f9)]['setRuntimeFeatureCellData'](_0x28791e['featureId'],_0x15c383),this[_0x43bde0(0x1f9)]['setRuntimeFeatureRange'](_0x28791e['featureId'],_0x39964a);}else _0xf6b813!=null&&(_0x39e048[_0x43bde0(0x1fb)](_0xf6b813[_0x43bde0(0x20c)])?_0x3694be=await _0x39e048[_0x43bde0(0x1f7)](_0xf6b813):_0x3694be=_0x39e048[_0x43bde0(0x209)](_0xf6b813),_0x28791e[_0x43bde0(0x21a)]!=null?this[_0x43bde0(0x1f9)][_0x43bde0(0x264)](_0x28791e['formulaId'],_0x28791e['refOffsetX'],_0x28791e[_0x43bde0(0x23e)],_0x3694be):this[_0x43bde0(0x1f9)][_0x43bde0(0x215)](_0x3694be));_0x52a8e2++;}return _0x3571e8[_0x43bde0(0x22b)](_0xfa01d0=>_0xfa01d0()),_0x3571e8=[],_0x39c5ad>0x0?this[_0x43bde0(0x1f9)]['markedAsSuccessfullyExecuted']():_0x2007fc||this['_runtimeService'][_0x43bde0(0x22d)](),this[_0x43bde0(0x1f9)][_0x43bde0(0x23b)]();}}class pe extends _0x2ac36a{constructor(){const _0x2d0d80=_0x1ddc69;super(...arguments),v(this,_0x2d0d80(0x244),new Map()),v(this,'_dependencyRTreeCache',new _0x3d2b8d(!0x0));}[_0x1ddc69(0x276)](){const _0x4ba5fd=_0x1ddc69;this['_otherFormulaData'][_0x4ba5fd(0x270)](),this['_featureFormulaData'][_0x4ba5fd(0x270)](),this[_0x4ba5fd(0x27c)][_0x4ba5fd(0x270)](),this[_0x4ba5fd(0x236)]['clear'](),this[_0x4ba5fd(0x244)][_0x4ba5fd(0x270)](),this['_restDependencyTreeId'](),this[_0x4ba5fd(0x230)][_0x4ba5fd(0x270)]();}[_0x1ddc69(0x263)](_0x4ea65a,_0x528eea,_0x337e99,_0x34ee68){const _0x7ba373=_0x1ddc69;this[_0x7ba373(0x251)][_0x7ba373(0x247)](_0x4ea65a)||this[_0x7ba373(0x251)][_0x7ba373(0x207)](_0x4ea65a,new Map());const _0x4d6bd7=this['_otherFormulaData'][_0x7ba373(0x231)](_0x4ea65a);_0x4d6bd7[_0x7ba373(0x247)](_0x528eea)||_0x4d6bd7[_0x7ba373(0x207)](_0x528eea,new Map());const _0x231047=_0x4d6bd7['get'](_0x528eea);_0x231047[_0x7ba373(0x247)](_0x337e99)||_0x231047['set'](_0x337e99,new _0x5a4321()),_0x231047['get'](_0x337e99)[_0x7ba373(0x277)](_0x34ee68[_0x7ba373(0x23a)],_0x34ee68[_0x7ba373(0x23e)],_0x34ee68[_0x7ba373(0x260)]);}[_0x1ddc69(0x208)](_0x31c78e,_0x4112b0,_0x4c42f1){const _0x41ba7c=_0x1ddc69,_0x63c98d=this[_0x41ba7c(0x251)][_0x41ba7c(0x231)](_0x31c78e);if(_0x63c98d&&_0x63c98d['has'](_0x4112b0)){const _0x2cfc68=_0x63c98d[_0x41ba7c(0x231)](_0x4112b0);_0x4c42f1[_0x41ba7c(0x22b)](_0x3e63e3=>{const _0x207a30=_0x41ba7c,_0x111aed=_0x2cfc68[_0x207a30(0x231)](_0x3e63e3);_0x111aed!=null&&(_0x111aed[_0x207a30(0x1f5)]((_0x5da6e9,_0x494cc5,_0x1b1dda)=>{const _0x55a023=_0x207a30;this[_0x55a023(0x24d)](_0x1b1dda),this[_0x55a023(0x255)](_0x1b1dda);}),_0x2cfc68[_0x207a30(0x224)](_0x3e63e3),this[_0x207a30(0x230)]['delete'](_0x3e63e3));}),_0x2cfc68['size']===0x0&&_0x63c98d['delete'](_0x4112b0),_0x63c98d['size']===0x0&&this[_0x41ba7c(0x251)][_0x41ba7c(0x224)](_0x31c78e);}}[_0x1ddc69(0x23d)](_0x592cf8,_0x80f362){const _0x263ea5=_0x1ddc69,_0x208105=this[_0x263ea5(0x251)][_0x263ea5(0x231)](_0x592cf8);if(_0x80f362&&_0x208105&&_0x208105[_0x263ea5(0x247)](_0x80f362)){const _0x30270a=_0x208105[_0x263ea5(0x231)](_0x80f362);this[_0x263ea5(0x287)](_0x592cf8,_0x80f362);for(const _0x3d5378 of _0x30270a[_0x263ea5(0x258)]()){const _0xe4725d=_0x30270a[_0x263ea5(0x231)](_0x3d5378);_0xe4725d!=null&&(_0xe4725d['forValue']((_0x361600,_0x592a51,_0x6bcbc7)=>{const _0xa5ba47=_0x263ea5;this['_allTreeMap'][_0xa5ba47(0x231)](_0x6bcbc7)&&this[_0xa5ba47(0x255)](_0x6bcbc7);}),this[_0x263ea5(0x230)]['delete'](_0x3d5378));}_0x30270a['clear']();}else{if(_0x208105){for(const _0x4920df of _0x208105[_0x263ea5(0x258)]()){const _0x372fcb=_0x208105['get'](_0x4920df);this['_removeDependencyRTreeCacheById'](_0x592cf8,_0x4920df);for(const _0x247af8 of _0x372fcb[_0x263ea5(0x258)]()){const _0x287601=_0x372fcb[_0x263ea5(0x231)](_0x247af8);_0x287601!=null&&(_0x287601['forValue']((_0x4377ba,_0x2001cc,_0x4bd415)=>{const _0x270542=_0x263ea5;this[_0x270542(0x244)][_0x270542(0x231)](_0x4bd415)&&this[_0x270542(0x255)](_0x4bd415);}),this[_0x263ea5(0x230)][_0x263ea5(0x224)](_0x247af8));}}this[_0x263ea5(0x251)][_0x263ea5(0x224)](_0x592cf8);}}}['addFeatureFormulaDependency'](_0x161cf6,_0x2d009a,_0x19d6ae,_0x421130){const _0x2758af=_0x1ddc69;this[_0x2758af(0x284)]['has'](_0x161cf6)||this[_0x2758af(0x284)][_0x2758af(0x207)](_0x161cf6,new Map());const _0x1b87e9=this['_featureFormulaData'][_0x2758af(0x231)](_0x161cf6);_0x1b87e9[_0x2758af(0x247)](_0x2d009a)||_0x1b87e9[_0x2758af(0x207)](_0x2d009a,new Map()),_0x1b87e9[_0x2758af(0x231)](_0x2d009a)[_0x2758af(0x207)](_0x19d6ae,_0x421130[_0x2758af(0x260)]);}[_0x1ddc69(0x250)](_0x4a7296,_0x2cc353,_0xe180df){const _0x32c0b0=_0x1ddc69,_0x117941=this[_0x32c0b0(0x284)][_0x32c0b0(0x231)](_0x4a7296);if(_0x117941&&_0x117941[_0x32c0b0(0x247)](_0x2cc353)){const _0x5499be=_0x117941[_0x32c0b0(0x231)](_0x2cc353);_0xe180df['forEach'](_0x4281bf=>{const _0x122ac6=_0x32c0b0,_0x58d6e5=_0x5499be['get'](_0x4281bf);_0x58d6e5!=null&&(this[_0x122ac6(0x24d)](_0x58d6e5),_0x5499be[_0x122ac6(0x224)](_0x4281bf),this['_removeAllTreeMap'](_0x58d6e5));});}}['clearFeatureFormulaDependency'](_0x3e5331,_0x353b8a){const _0x2016f4=_0x1ddc69,_0x45a7a1=this[_0x2016f4(0x284)][_0x2016f4(0x231)](_0x3e5331);if(_0x353b8a&&_0x45a7a1&&_0x45a7a1['has'](_0x353b8a)){const _0x5c8dbc=_0x45a7a1[_0x2016f4(0x231)](_0x353b8a);this[_0x2016f4(0x287)](_0x3e5331,_0x353b8a),_0x5c8dbc['forEach'](_0x467944=>{_0x467944!=null&&this['_removeAllTreeMap'](_0x467944);}),_0x5c8dbc[_0x2016f4(0x270)]();}else _0x45a7a1&&(_0x45a7a1[_0x2016f4(0x22b)]((_0x33e367,_0x3c96c4)=>{const _0x2a5f1c=_0x2016f4;this['_removeDependencyRTreeCacheById'](_0x3e5331,_0x3c96c4),_0x33e367[_0x2a5f1c(0x22b)](_0x15d99f=>{_0x15d99f!=null&&this['_removeAllTreeMap'](_0x15d99f);});}),this[_0x2016f4(0x284)][_0x2016f4(0x224)](_0x3e5331));}[_0x1ddc69(0x261)](_0x1b5d22,_0x9ee62f,_0x260482,_0x74be5,_0x552185){const _0x48cbc5=_0x1ddc69;this['_formulaData'][_0x48cbc5(0x247)](_0x1b5d22)||this[_0x48cbc5(0x27c)][_0x48cbc5(0x207)](_0x1b5d22,new Map());const _0x1df15e=this['_formulaData']['get'](_0x1b5d22);_0x1df15e['has'](_0x9ee62f)||_0x1df15e[_0x48cbc5(0x207)](_0x9ee62f,new _0x5a4321()),_0x1df15e['get'](_0x9ee62f)['setValue'](_0x260482,_0x74be5,_0x552185[_0x48cbc5(0x260)]);}[_0x1ddc69(0x211)](_0x5a902a,_0x337065,_0x22a079,_0x36950f){const _0x6cc479=_0x1ddc69,_0x342b53=this[_0x6cc479(0x27c)][_0x6cc479(0x231)](_0x5a902a);if(_0x342b53&&_0x342b53['has'](_0x337065)){const _0x41e572=_0x342b53[_0x6cc479(0x231)](_0x337065),_0x4f2992=_0x41e572['getValue'](_0x22a079,_0x36950f);if(_0x4f2992==null)return;this[_0x6cc479(0x24d)](_0x4f2992),_0x41e572[_0x6cc479(0x240)](_0x22a079,_0x36950f),this['_removeAllTreeMap'](_0x4f2992);}}[_0x1ddc69(0x203)](_0xd9ab4d,_0x124680){const _0x36cf89=_0x1ddc69,_0x2f645d=this[_0x36cf89(0x27c)][_0x36cf89(0x231)](_0xd9ab4d);if(_0x124680&&_0x2f645d&&_0x2f645d[_0x36cf89(0x247)](_0x124680)){const _0x93a854=_0x2f645d[_0x36cf89(0x231)](_0x124680);this['_removeDependencyRTreeCacheById'](_0xd9ab4d,_0x124680),_0x93a854[_0x36cf89(0x1f5)]((_0x33334a,_0x30f293,_0x32c3e2)=>{const _0x5bc193=_0x36cf89;if(_0x32c3e2==null)return!0x0;this[_0x5bc193(0x255)](_0x32c3e2);}),_0x93a854[_0x36cf89(0x276)]();}else _0x2f645d&&(_0x2f645d[_0x36cf89(0x22b)]((_0x27143a,_0x5951a2)=>{const _0x1d520c=_0x36cf89;this[_0x1d520c(0x287)](_0xd9ab4d,_0x5951a2),_0x27143a['forValue']((_0x2648a4,_0x2ab025,_0x3a8b95)=>{const _0x5b6503=_0x1d520c;if(_0x3a8b95==null)return!0x0;this[_0x5b6503(0x255)](_0x3a8b95);});}),this[_0x36cf89(0x27c)]['delete'](_0xd9ab4d));}[_0x1ddc69(0x24d)](_0x441dbe){const _0x53e35e=_0x1ddc69;if(_0x441dbe==null)return;const _0x35eaa8=this[_0x53e35e(0x244)][_0x53e35e(0x231)](_0x441dbe);if(_0x35eaa8){const _0x36f6b0=[];for(const [_0x5764ba,_0x5565b4]of _0x35eaa8)for(const [_0x5836c6,_0x29d967]of _0x5565b4)_0x36f6b0[_0x53e35e(0x26b)]({'unitId':_0x5764ba,'sheetId':_0x5836c6,'range':_0x29d967,'id':_0x441dbe});this[_0x53e35e(0x236)]['bulkRemove'](_0x36f6b0);}}[_0x1ddc69(0x271)](_0x5e3334,_0xc2e757){const _0x4cb241=_0x1ddc69,_0x4dbf79=this[_0x4cb241(0x248)][_0x4cb241(0x231)](_0x5e3334);if(_0x4dbf79){const _0x6f4109=_0x4dbf79[_0x4cb241(0x231)](_0xc2e757);if(_0x6f4109){for(const _0x244398 of _0x6f4109)this[_0x4cb241(0x24d)](_0x244398),this['_removeAllTreeMap'](_0x244398);_0x6f4109[_0x4cb241(0x270)]();}}}[_0x1ddc69(0x22a)](){const _0x994c73=_0x1ddc69;this[_0x994c73(0x236)][_0x994c73(0x22a)]();}['closeKdTree'](){const _0xe3431e=_0x1ddc69;this[_0xe3431e(0x236)]['closeKdTree']();}[_0x1ddc69(0x255)](_0x2af30d){const _0x39e254=_0x1ddc69;_0x2af30d!=null&&this[_0x39e254(0x244)]['delete'](_0x2af30d);}[_0x1ddc69(0x280)](_0x1bb728){const _0x3e5c89=_0x1ddc69;var _0x47f30b,_0x543d8f;const _0x452a9a=_0x1bb728['rangeList'];let _0x52d126=this['_allTreeMap'][_0x3e5c89(0x231)](_0x1bb728[_0x3e5c89(0x260)]);for(let _0xcbf437=0x0;_0xcbf437<_0x452a9a[_0x3e5c89(0x265)];_0xcbf437++){const _0x28b9a4=_0x452a9a[_0xcbf437];let {unitId:_0x1a769b,sheetId:_0xcc2522,range:_0x30be2c}=_0x28b9a4;_0x52d126||(_0x52d126=new Map(),this[_0x3e5c89(0x244)][_0x3e5c89(0x207)](_0x1bb728[_0x3e5c89(0x260)],_0x52d126)),_0x52d126[_0x3e5c89(0x247)](_0x1a769b)||_0x52d126[_0x3e5c89(0x207)](_0x1a769b,new Map());const _0x32ebae=(_0x47f30b=_0x52d126==null?void 0x0:_0x52d126[_0x3e5c89(0x231)](_0x1a769b))==null?void 0x0:_0x47f30b[_0x3e5c89(0x231)](_0xcc2522);_0x32ebae&&(_0x30be2c={'startRow':Math[_0x3e5c89(0x22c)](_0x30be2c[_0x3e5c89(0x249)],_0x32ebae[_0x3e5c89(0x249)]),'startColumn':Math[_0x3e5c89(0x22c)](_0x30be2c[_0x3e5c89(0x238)],_0x32ebae[_0x3e5c89(0x238)]),'endRow':Math['max'](_0x30be2c[_0x3e5c89(0x228)],_0x32ebae[_0x3e5c89(0x228)]),'endColumn':Math['max'](_0x30be2c[_0x3e5c89(0x28c)],_0x32ebae['endColumn'])}),(_0x543d8f=_0x52d126['get'](_0x1a769b))==null||_0x543d8f[_0x3e5c89(0x207)](_0xcc2522,_0x30be2c);}}}var fe=Object['getOwnPropertyDescriptor'],_e=(_0x385511,_0x466d9c,_0x3137aa,_0x7d9bde)=>{const _0x3ece90=_0x1ddc69;for(var _0x1a9df5=_0x7d9bde>0x1?void 0x0:_0x7d9bde?fe(_0x466d9c,_0x3137aa):_0x466d9c,_0x67b7c8=_0x385511[_0x3ece90(0x265)]-0x1,_0x46e0b8;_0x67b7c8>=0x0;_0x67b7c8--)(_0x46e0b8=_0x385511[_0x67b7c8])&&(_0x1a9df5=_0x46e0b8(_0x1a9df5)||_0x1a9df5);return _0x1a9df5;};const me=Number[_0x1ddc69(0x278)](0x68834fbc);let I=class extends _0x5ad5dc{['_initializeWithOverride'](){const _0x47fd41=_0x1ddc69;var _0x36f2c8,_0x361b16;this[_0x47fd41(0x221)]()?(_0x36f2c8=this['_config'])!=null&&_0x36f2c8['notExecuteFormula']||[[_0x125caa,{'useClass':ue}],[_0x407a9c,{'useClass':pe}],[_0x41a773,{'useClass':he}]][_0x47fd41(0x22b)](_0x4bb38e=>this[_0x47fd41(0x288)]['add'](_0x4bb38e)):(_0x361b16=this[_0x47fd41(0x205)])!=null&&_0x361b16[_0x47fd41(0x1fd)]||[[_0x125caa,{'useClass':_0x31b39f}],[_0x407a9c,{'useClass':_0xb6dd45}],[_0x41a773,{'useClass':_0x4b513e}]][_0x47fd41(0x22b)](_0x43f15e=>this[_0x47fd41(0x288)][_0x47fd41(0x22e)](_0x43f15e));}[_0x1ddc69(0x221)](){const _0x33070d=_0x1ddc69;var _0x11602c;const _0x38af63=(_0x11602c=this[_0x33070d(0x272)][_0x33070d(0x254)](_0x2bfac9))!=null?_0x11602c:{},{ls:_0x300cf2,pbk:_0x40a550}=_0x38af63;if(!_0x300cf2||!_0x40a550)return!0x1;const _0x52c599=_0x1441cc(le,de),_0xd73c0c=new Function(_0x33070d(0x256)+_0x52c599)()(_0x300cf2,_0x40a550),_0x43113b=_0xd73c0c['message'];return _0xd73c0c['valid']&&_0x33989b(_0x43113b,'sf',me)?_0x34f366(_0x43113b,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};I=_e([_0x1c480c(_0x4a6b2d)],I);function _0x46e8(_0x45ca81,_0x3e63fb){const _0x5d0ee1=_0x5d0e();return _0x46e8=function(_0x46e89a,_0x1a9a6b){_0x46e89a=_0x46e89a-0x1f4;let _0x13c0a7=_0x5d0ee1[_0x46e89a];return _0x13c0a7;},_0x46e8(_0x45ca81,_0x3e63fb);}function _0x5d0e(){const _0x168e94=['isSkip','_otherFormulaManagerService','getOtherFormulaData','dispose','formulaId','isStopExecution','_formulaDependencyGenerator','_convertDirtyRangesToUnitRange','CURRENTLY_CALCULATING','LnHepRkH\x20PdehcEpRkH(oRedHqd,\x20EnGoRezdc)\x20{\x20\x20\x20\x20phc\x20{\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20oRedHqd8HLkjwhpNhhwc\x20=\x20oRedHqd.qEoRp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20khRORHrdqqwOd\x20=\x20QZ5i.Ewhqd(wpkG(oRedHqd8HLkjwhpNhhwc[y]));\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!khRORHrdqqwOd.nP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khRORHrdqqwOd.nP\x20=\x20infGdh(oRedHqd8HLkjwhpNhhwc[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20RqtkhWdh\x20=\x20pcEdkL\x20tkhWdh9okGwoZekEd\x20!==\x20\x27nHPdLRHdP\x27\x20&&\x20qdoL\x20RHqpwHedkL\x20tkhWdh9okGwoZekEd;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20ekHpdVp\x20=\x20RqtkhWdh\x20?\x20qdoL\x20:\x20FRHPkF;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[y]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(fdqqwOdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[S]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(qROHwpnhdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHYwoRP\x20=\x20ekHpdVp.__4dhRLc__(qROHwpnhd,\x20fdqqwOd,\x20EnGoRezdc);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20PkfwRH\x20=\x20khRORHrdqqwOd.Pf;\x20\x20\x20\x20\x20\x20\x20\x20LnHepRkH\x20RqIkfwRHrwpeDRHO(kjwppdhH,\x20kCkqp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhH\x20=\x20kjwppdhH.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqp\x20=\x20kCkqp.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHjwhpq\x20=\x20EwppdhH.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqpjwhpq\x20=\x20Dkqp.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!EwppdhH.RHeonPdq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhH\x20===\x20Dkqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(EwppdhHjwhpq.odHOpD\x20<\x20y\x20||\x20EwppdhHjwhpq[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20Lwoqd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHZnLLRV\x20=\x20EwppdhHjwhpq.qoRed(U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20DkqpZnLLRV\x20=\x20Dkqpjwhpq.qoRed(-EwppdhHjwhpq.odHOpD\x20+\x20U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhHZnLLRV\x20===\x20DkqpZnLLRV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20odp\x20PkfwRHYwoRP\x20=\x20(PkfwRH\x20&&\x20PkfwRH.odHOpD)\x20?\x20PkfwRH.qkfd((Pf8pdf)\x20=>\x20RqIkfwRHrwpeDRHO(Pf8pdf,\x20okewpRkH.DkqpHwfd))\x20:\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(okewpRkH.DkqpHwfd\x20===\x20\x27okewoDkqp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PkfwRHYwoRP\x20=\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x204woRP\x20=\x20qROHYwoRP\x20&&\x20PkfwRHYwoRP;\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20khRORHrdqqwOd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ewpeD\x20(dhhkh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP:\x20Lwoqd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','isExcludeRange','_initLicenseValid','dependencySheetName','row','delete','toRTreeItem','symbol','_executionInProgressListener$','endRow','START_CALCULATION_ARRAY_FORMULA','openKdTree','forEach','min','markedAsNoFunctionsExecuted','add','getDirtyRanges','_otherFormulaDataMainData','get','10qtmiIJ','6iIwggF','bulkSearch','setCompletedArrayFormulasCount','_dependencyRTreeCache','setTotalArrayFormulasToCalculate','startColumn','_currentConfigService','refOffsetX','getAllRuntimeData','11317200CKEYeY','clearOtherFormulaDependency','refOffsetY','_interpreter','realDeleteValue','32813037FAQhWb','_createFDtree','_getFirstCellOfRange','_allTreeMap','3897397XWFCQp','resolve','has','_definedNameMap','startRow','_isCyclicUtilMap','getDirtyData','setCompletedFormulasCount','_removeDependencyRTreeCache','isAdded','getClearDependencyTreeCache','removeFeatureFormulaDependency','_otherFormulaData','featureDirtyRanges','getRuntimeState','getConfig','_removeAllTreeMap','return\x20','724648sJYtva','keys','_checkIsCycleDependency','addOtherFormulaDependencyMainData','getExcludedRange','1415651JnuPEl','42nstodW','markedAsStopFunctionsExecuted','subUnitId','treeId','addFormulaDependency','_traverse','addOtherFormulaDependency','setRuntimeOtherData','length','_lexer','column','unitId','_dependencyManagerService','setFormulaExecuteStage','push','8446510TryWHw','defineProperty','type','_astTreeBuilder','clear','removeFormulaDependencyByDefinedName','_configService','rangeList','164343ssiWKa','START_DEPENDENCY_ARRAY_FORMULA','reset','setValue','parseInt','pop','closeKdTree','_dependencyRTreeCacheForAddressFunction','_formulaData','getUnitData','_generateTreeList','columnCount','_addAllTreeMap','_calculateRunList','_registerOtherFormulas','_getFeatureFormulaTree','_featureFormulaData','getValue','_createVirtualFDtree','_removeDependencyRTreeCacheById','_injector','getOtherFormulaDependency','addFormulaDependencyByDefinedName','START_CALCULATION','endColumn','_apply','intervalCount','forValue','generate','executeAsync','_updateRangeFlatten','_runtimeService','_dependencyTreeCache','checkAsyncNode','next','notExecuteFormula','IDLE','setSkip','_executionCompleteListener$','getFormulaDependency','refTree','clearFormulaDependency','searchDependency','_config','isDirty','set','removeOtherFormulaDependency','execute','setTotalFormulasToCalculate','clearFeatureFormulaDependency','node','_getUpdateTreeListAndMakeDependency','addFeatureFormulaDependency','isCache','formula','removeFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','rowCount','setCurrent','setRuntimeData'];_0x5d0e=function(){return _0x168e94;};return _0x5d0e();}export{I 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
|
-
h: string;
|
|
12
|
+
U: string;
|
|
13
|
+
y: string;
|
|
15
14
|
S: string;
|
|
16
|
-
|
|
17
|
-
i: string;
|
|
18
|
-
M: string;
|
|
19
|
-
t: string;
|
|
15
|
+
m: string;
|
|
20
16
|
x: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
J: string;
|
|
25
|
-
R: string;
|
|
26
|
-
E: string;
|
|
27
|
-
U: string;
|
|
28
|
-
k: string;
|
|
29
|
-
Z: string;
|
|
17
|
+
T: string;
|
|
18
|
+
w: string;
|
|
19
|
+
G: string;
|
|
30
20
|
e: string;
|
|
31
|
-
|
|
32
|
-
g: string;
|
|
33
|
-
z: string;
|
|
21
|
+
P: string;
|
|
34
22
|
d: string;
|
|
35
|
-
G: string;
|
|
36
|
-
O: string;
|
|
37
|
-
c: string;
|
|
38
|
-
b: string;
|
|
39
|
-
A: string;
|
|
40
|
-
H: string;
|
|
41
|
-
p: string;
|
|
42
23
|
L: string;
|
|
24
|
+
O: string;
|
|
43
25
|
D: string;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
26
|
+
R: string;
|
|
27
|
+
W: string;
|
|
28
|
+
o: string;
|
|
29
|
+
f: string;
|
|
30
|
+
H: string;
|
|
31
|
+
k: string;
|
|
32
|
+
E: string;
|
|
33
|
+
v: string;
|
|
34
|
+
h: string;
|
|
51
35
|
q: string;
|
|
52
|
-
|
|
36
|
+
p: string;
|
|
37
|
+
n: string;
|
|
53
38
|
F: string;
|
|
39
|
+
V: string;
|
|
40
|
+
c: string;
|
|
41
|
+
M: string;
|
|
54
42
|
N: string;
|
|
55
|
-
|
|
43
|
+
A: string;
|
|
44
|
+
X: string;
|
|
56
45
|
I: string;
|
|
46
|
+
b: string;
|
|
47
|
+
C: string;
|
|
48
|
+
Q: string;
|
|
49
|
+
z: string;
|
|
50
|
+
B: string;
|
|
51
|
+
r: string;
|
|
52
|
+
i: string;
|
|
57
53
|
j: string;
|
|
58
|
-
|
|
59
|
-
T: string;
|
|
60
|
-
v: string;
|
|
61
|
-
n: string;
|
|
54
|
+
K: string;
|
|
62
55
|
u: string;
|
|
63
|
-
|
|
56
|
+
Z: string;
|
|
57
|
+
g: string;
|
|
58
|
+
J: string;
|
|
59
|
+
Y: string;
|
|
60
|
+
t: string;
|
|
61
|
+
a: string;
|
|
62
|
+
l: string;
|
|
63
|
+
s: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "LnHepRkH PdehcEpRkH(oRedHqd, EnGoRezdc) { phc { ekHqp oRedHqd8HLkjwhpNhhwc = oRedHqd.qEoRp('-'); ekHqp khRORHrdqqwOd = QZ5i.Ewhqd(wpkG(oRedHqd8HLkjwhpNhhwc[y])); RL (!khRORHrdqqwOd.nP) { khRORHrdqqwOd.nP = infGdh(oRedHqd8HLkjwhpNhhwc[1]); } ekHqp RqtkhWdh = pcEdkL tkhWdh9okGwoZekEd !== 'nHPdLRHdP' && qdoL RHqpwHedkL tkhWdh9okGwoZekEd; ekHqp ekHpdVp = RqtkhWdh ? qdoL : FRHPkF; ekHqp fdqqwOdtkhP = ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[y]); ekHqp fdqqwOd = ekHpdVp.__CdV__.qphRHORLc(fdqqwOdtkhP); ekHqp qROHwpnhdtkhP = ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[S]); ekHqp qROHwpnhd = ekHpdVp.__CdV__.qphRHORLc(qROHwpnhdtkhP); ekHqp qROHYwoRP = ekHpdVp.__4dhRLc__(qROHwpnhd, fdqqwOd, EnGoRezdc); ekHqp PkfwRH = khRORHrdqqwOd.Pf; LnHepRkH RqIkfwRHrwpeDRHO(kjwppdhH, kCkqp) { ekHqp EwppdhH = kjwppdhH.hdEowed(/^.+/, ''); ekHqp Dkqp = kCkqp.hdEowed(/^.+/, ''); ekHqp EwppdhHjwhpq = EwppdhH.qEoRp('.'); ekHqp Dkqpjwhpq = Dkqp.qEoRp('.'); RL (!EwppdhH.RHeonPdq('*')) { hdpnhH EwppdhH === Dkqp; } RL (EwppdhHjwhpq.odHOpD < y || EwppdhHjwhpq[6] !== '*') { hdpnhH Lwoqd; } ekHqp EwppdhHZnLLRV = EwppdhHjwhpq.qoRed(U).2kRH('.'); ekHqp DkqpZnLLRV = Dkqpjwhpq.qoRed(-EwppdhHjwhpq.odHOpD + U).2kRH('.'); hdpnhH EwppdhHZnLLRV === DkqpZnLLRV; } odp PkfwRHYwoRP = (PkfwRH && PkfwRH.odHOpD) ? PkfwRH.qkfd((Pf8pdf) => RqIkfwRHrwpeDRHO(Pf8pdf, okewpRkH.DkqpHwfd)) : phnd; RL (okewpRkH.DkqpHwfd === 'okewoDkqp') { PkfwRHYwoRP = phnd; } ekHqp 4woRP = qROHYwoRP && PkfwRHYwoRP; hdpnhH { 4woRP, fdqqwOd: khRORHrdqqwOd, }; } ewpeD (dhhkh) { hdpnhH { 4woRP: Lwoqd, fdqqwOd: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x45c2(_0x4bfc54,_0x8f77ed){var _0x224074=_0x2240();return _0x45c2=function(_0x45c2bb,_0xf16889){_0x45c2bb=_0x45c2bb-0x1c2;var _0x42345e=_0x224074[_0x45c2bb];return _0x42345e;},_0x45c2(_0x4bfc54,_0x8f77ed);}function _0x2240(){var _0x558879=['1086354gyxSmk','56vJGGAF','42354iiTjzQ','amd','UniverProEngineFormulaFacade','910287RIsXqP','@univerjs/engine-formula/facade','hasOwnProperty','defineProperty','Module','toStringTag','44wAFobH','1857LheigG','UniverEngineFormulaFacade','248000aPdbdV','534200nloFQq','9JKyjgb','exports','501120iOKEft'];_0x2240=function(){return _0x558879;};return _0x2240();}(function(_0x6ca91b,_0xeb8a47){var _0x52337e=_0x45c2,_0x310bf1=_0x6ca91b();while(!![]){try{var _0x57387f=parseInt(_0x52337e(0x1c6))/0x1*(parseInt(_0x52337e(0x1c5))/0x2)+-parseInt(_0x52337e(0x1cf))/0x3*(-parseInt(_0x52337e(0x1ce))/0x4)+-parseInt(_0x52337e(0x1cc))/0x5+parseInt(_0x52337e(0x1cd))/0x6+-parseInt(_0x52337e(0x1d2))/0x7+-parseInt(_0x52337e(0x1c8))/0x8+-parseInt(_0x52337e(0x1ca))/0x9*(parseInt(_0x52337e(0x1c9))/0xa);if(_0x57387f===_0xeb8a47)break;else _0x310bf1['push'](_0x310bf1['shift']());}catch(_0x262169){_0x310bf1['push'](_0x310bf1['shift']());}}}(_0x2240,0x199b0),function(_0x4e03ae,_0x5ed9fe){var _0x5b34a6=_0x45c2;typeof exports=='object'&&typeof module<'u'?_0x5ed9fe(exports,require('@univerjs/engine-formula/facade')):typeof define=='function'&&define[_0x5b34a6(0x1d0)]?define([_0x5b34a6(0x1cb),_0x5b34a6(0x1d3)],_0x5ed9fe):(_0x4e03ae=typeof globalThis<'u'?globalThis:_0x4e03ae||self,_0x5ed9fe(_0x4e03ae[_0x5b34a6(0x1d1)]={},_0x4e03ae[_0x5b34a6(0x1c7)]));}(this,function(_0xa65890,_0x3a9274){'use strict';var _0x58c086=_0x45c2;Object['keys'](_0x3a9274)['forEach'](_0x33a034=>{var _0x548129=_0x45c2;_0x33a034!=='default'&&!Object['prototype'][_0x548129(0x1d4)]['call'](_0xa65890,_0x33a034)&&Object[_0x548129(0x1c2)](_0xa65890,_0x33a034,{'enumerable':!0x0,'get':()=>_0x3a9274[_0x33a034]});}),Object[_0x58c086(0x1c2)](_0xa65890,Symbol[_0x58c086(0x1c4)],{'value':_0x58c086(0x1c3)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x44d592,_0x4d1067){const _0x2f4eec=_0x2eb3,_0x2307d8=_0x44d592();while(!![]){try{const _0x2a93b5=parseInt(_0x2f4eec(0x1da))/0x1+parseInt(_0x2f4eec(0x198))/0x2*(-parseInt(_0x2f4eec(0x146))/0x3)+parseInt(_0x2f4eec(0x19f))/0x4*(-parseInt(_0x2f4eec(0x178))/0x5)+-parseInt(_0x2f4eec(0x160))/0x6*(-parseInt(_0x2f4eec(0x15f))/0x7)+parseInt(_0x2f4eec(0x1c7))/0x8*(-parseInt(_0x2f4eec(0x1e2))/0x9)+parseInt(_0x2f4eec(0x18c))/0xa*(parseInt(_0x2f4eec(0x1b9))/0xb)+-parseInt(_0x2f4eec(0x1a8))/0xc*(parseInt(_0x2f4eec(0x192))/0xd);if(_0x2a93b5===_0x4d1067)break;else _0x2307d8['push'](_0x2307d8['shift']());}catch(_0x2eca35){_0x2307d8['push'](_0x2307d8['shift']());}}}(_0xbafb,0xab0ab),function(_0x52da12,_0x1b9875){const _0x2eca53=_0x2eb3;typeof exports==_0x2eca53(0x1d1)&&typeof module<'u'?_0x1b9875(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x2eca53(0x168)&&define['amd']?define([_0x2eca53(0x1b3),'@univerjs-pro/license',_0x2eca53(0x1c3),_0x2eca53(0x152)],_0x1b9875):(_0x52da12=typeof globalThis<'u'?globalThis:_0x52da12||self,_0x1b9875(_0x52da12[_0x2eca53(0x194)]={},_0x52da12['UniverProLicense'],_0x52da12[_0x2eca53(0x1bd)],_0x52da12[_0x2eca53(0x1bb)]));}(this,function(_0x225307,_0x14830a,_0x101f28,_0x100bb9){'use strict';const _0x57f20d=_0x2eb3;var _0x4f2274=Object[_0x57f20d(0x1b4)],_0x23ac02=(_0x218510,_0x335605,_0x5f2706)=>_0x335605 in _0x218510?_0x4f2274(_0x218510,_0x335605,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f2706}):_0x218510[_0x335605]=_0x5f2706,_0x3647cc=(_0x4043fa,_0x1d6d3c,_0x44efa5)=>_0x23ac02(_0x4043fa,typeof _0x1d6d3c!=_0x57f20d(0x1cd)?_0x1d6d3c+'':_0x1d6d3c,_0x44efa5);const _0x4aec4e={0x0:'J',0x1:'a',0x2:'n',0x3:'7',0x4:'e',0x5:'Y',0x6:'S',0x7:'v',0x8:'P',0x9:'Q','K':'0','o':'1','h':'2','S':'3','s':'4','i':'5','M':'6','t':'8','x':'9','W':'b','B':'c','f':'d','J':'f','R':'g','E':'h','U':'i','k':'j','Z':'k','e':'l','X':'m','g':'o','z':'p','d':'q','G':'r','O':'s','c':'t','b':'u','A':'w','H':'x','p':'y','L':'z','D':'A','P':'B','Q':'C','r':'D','V':'E','m':'F','a':'G','Y':'H','q':'I','l':'K','F':'L','N':'M','C':'N','I':'O','j':'R','w':'T','T':'U','v':'V','n':'W','u':'X','y':'Z'},_0x26b8bf=_0x57f20d(0x19a);class _0x5a54bf extends _0x100bb9[_0x57f20d(0x177)]{constructor(){const _0x544e18=_0x57f20d;super(...arguments),_0x3647cc(this,_0x544e18(0x1ac),new Map());}[_0x57f20d(0x1e3)](){const _0x418ad6=_0x57f20d;super[_0x418ad6(0x1e3)](),this['_dependencyTreeCache']['clear']();}async[_0x57f20d(0x147)](){const _0x590e7b=_0x57f20d;this[_0x590e7b(0x188)]();const _0x4dfb4e=this[_0x590e7b(0x1a7)][_0x590e7b(0x157)](),_0x41a803=this[_0x590e7b(0x16b)]['getOtherFormulaData'](),_0x519555=this[_0x590e7b(0x1a7)][_0x590e7b(0x19c)]();_0x519555!=null&&Object['keys'](_0x519555)['forEach'](_0x499276=>{_0x499276!=null&&Object['keys'](_0x519555[_0x499276])['forEach'](_0x3dba50=>{const _0x5a49b1=_0x2eb3;_0x3dba50!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x499276,_0x3dba50),this[_0x5a49b1(0x162)][_0x5a49b1(0x18e)](_0x499276,_0x3dba50),this[_0x5a49b1(0x162)][_0x5a49b1(0x14c)](_0x499276,_0x3dba50));});});const _0x5d0c4a=this[_0x590e7b(0x1a7)][_0x590e7b(0x1e8)]();await this[_0x590e7b(0x1c5)](_0x4dfb4e,_0x41a803,_0x5d0c4a),this[_0x590e7b(0x162)][_0x590e7b(0x1e6)]();const _0x48775e=this[_0x590e7b(0x204)](),_0x1b8b69=this[_0x590e7b(0x1e4)](_0x48775e);return this[_0x590e7b(0x1f5)](_0x1b8b69)&&this[_0x590e7b(0x1a3)]['enableCycleDependency'](),this[_0x590e7b(0x1ac)][_0x590e7b(0x199)](),this[_0x590e7b(0x1ce)][_0x590e7b(0x199)](),this[_0x590e7b(0x162)][_0x590e7b(0x156)](),Promise['resolve'](_0x1b8b69);}['_isCyclicUtilMap'](_0x1dec00,_0x4f8ba6){const _0x2c6b4b=_0x57f20d,_0x5adcd9=[_0x1dec00];for(;_0x5adcd9['length']>0x0;){const _0x4cc4d3=_0x5adcd9[_0x5adcd9[_0x2c6b4b(0x1ef)]-0x1];if((_0x4f8ba6[_0x2c6b4b(0x158)](_0x4cc4d3)||0x0)===0x0){_0x4f8ba6[_0x2c6b4b(0x1c9)](_0x4cc4d3,0x1);const _0x2240f3=this[_0x2c6b4b(0x1ac)][_0x2c6b4b(0x158)](_0x4cc4d3);if(_0x2240f3==null){_0x4f8ba6[_0x2c6b4b(0x1c9)](_0x4cc4d3,0x2),_0x5adcd9[_0x2c6b4b(0x14d)]();continue;}const _0x1906af=this[_0x2c6b4b(0x162)][_0x2c6b4b(0x19e)](_0x2240f3['toRTreeItem']());for(const _0x20a005 of _0x1906af){const _0x1b3002=_0x4f8ba6[_0x2c6b4b(0x158)](_0x20a005)||0x0;if(_0x1b3002===0x1)return!0x0;_0x1b3002===0x0&&_0x5adcd9[_0x2c6b4b(0x1b0)](_0x20a005);}}else _0x4f8ba6[_0x2c6b4b(0x1c9)](_0x4cc4d3,0x2),_0x5adcd9['pop']();}return!0x1;}[_0x57f20d(0x1f5)](_0x5b5c00){const _0x13c173=_0x57f20d,_0x1103a1=new Map();for(const _0x2a48b5 of _0x5b5c00)if(!_0x1103a1[_0x13c173(0x150)](_0x2a48b5[_0x13c173(0x1de)])&&this[_0x13c173(0x176)](_0x2a48b5[_0x13c173(0x1de)],_0x1103a1))return!0x0;return _0x1103a1[_0x13c173(0x199)](),!0x1;}[_0x57f20d(0x171)](_0x46b339,_0x36a9d9,_0x5a8ffe){const _0x5e467b=_0x57f20d,{unitId:_0x1166b5,subUnitId:_0x5cb91b,dependencyRanges:_0x2b4820,getDirtyData:_0x18997d}=_0x5a8ffe,_0x51fde1=_0x36a9d9||_0x100bb9[_0x5e467b(0x19d)](this['_dependencyManagerService']),_0x18b450=new _0x100bb9[(_0x5e467b(0x1c6))](_0x51fde1);_0x18b450[_0x5e467b(0x1e7)]=_0x1166b5,_0x18b450[_0x5e467b(0x169)]=_0x5cb91b,_0x18b450['rangeList']=_0x2b4820,_0x18b450['getDirtyData']=_0x18997d;const _0x1129aa=_0x18997d(this[_0x5e467b(0x1a7)][_0x5e467b(0x186)](),this['_runtimeService'][_0x5e467b(0x1a4)]()),_0x2c07ac=this[_0x5e467b(0x1c1)](_0x1129aa[_0x5e467b(0x1d3)]);return _0x18b450[_0x5e467b(0x1ba)]=_0x2c07ac,_0x18b450[_0x5e467b(0x1b5)]=_0x46b339,_0x18b450[_0x5e467b(0x1cb)]=_0x100bb9[_0x5e467b(0x1cf)][_0x5e467b(0x151)],this[_0x5e467b(0x162)]['addFeatureFormulaDependency'](_0x1166b5,_0x5cb91b,_0x46b339,_0x18b450),this[_0x5e467b(0x1ac)][_0x5e467b(0x1c9)](_0x18b450[_0x5e467b(0x1de)],_0x18b450),this[_0x5e467b(0x162)]['getFeatureFormulaDependency'](_0x5a8ffe[_0x5e467b(0x1e7)],_0x5a8ffe[_0x5e467b(0x169)],_0x46b339)&&(_0x18b450[_0x5e467b(0x1f1)]=!0x0),_0x18b450;}['_registerOtherFormulas'](_0x1ca7d8,_0x370644,_0x1b8682){const _0x92e07c=_0x57f20d;var _0xcaccab;for(const _0x43abe8 of _0x370644){const _0x9f70e=_0x1ca7d8[_0x43abe8];if(_0x9f70e==null)continue;const _0x48191f=Object[_0x92e07c(0x1ca)](_0x9f70e);for(const _0x409330 of _0x48191f){const _0x2569de=_0x9f70e[_0x409330];if(_0x2569de==null)continue;const _0x5001ba=Object[_0x92e07c(0x1ca)](_0x2569de);for(const _0x736a12 of _0x5001ba){const _0x55df2f=this[_0x92e07c(0x162)][_0x92e07c(0x1ec)](_0x736a12),_0x532f50=_0x2569de[_0x736a12],{f:_0x4d0919,ranges:_0x317dbd}=_0x532f50;let _0x4efca3=!0x1;_0x55df2f&&(_0x4efca3=!0x0);const {firstRow:_0x2f2584,firstColumn:_0x24b0f6}=this[_0x92e07c(0x1ad)](_0x317dbd),_0xb3303d=this[_0x92e07c(0x162)][_0x92e07c(0x143)](_0x43abe8,_0x409330,_0x736a12),_0x5ece80=(_0xcaccab=_0xb3303d==null?void 0x0:_0xb3303d[_0x92e07c(0x201)](0x0,0x0))!=null?_0xcaccab:_0x100bb9[_0x92e07c(0x19d)](this[_0x92e07c(0x162)]),_0x500b47=new _0x100bb9[(_0x92e07c(0x1c6))](_0x5ece80);for(let _0x2ea09e=0x0;_0x2ea09e<_0x317dbd[_0x92e07c(0x1ef)];_0x2ea09e++){const _0x82e1c=_0x317dbd[_0x2ea09e],{startRow:_0x427d6c,startColumn:_0x193207,endRow:_0x2ba29d,endColumn:_0x24f01e}=_0x82e1c;for(let _0x3a9460=_0x427d6c;_0x3a9460<=_0x2ba29d;_0x3a9460++)for(let _0x47879e=_0x193207;_0x47879e<=_0x24f01e;_0x47879e++){const _0x381a1e=_0x47879e-_0x24b0f6,_0x31e735=_0x3a9460-_0x2f2584;if(_0x381a1e===0x0&&_0x31e735===0x0){_0x500b47[_0x92e07c(0x19b)]=_0x4d0919,_0x500b47['unitId']=_0x43abe8,_0x500b47[_0x92e07c(0x169)]=_0x409330,_0x500b47[_0x92e07c(0x1f3)]=_0x736a12,_0x500b47[_0x92e07c(0x1cb)]=_0x100bb9[_0x92e07c(0x1cf)][_0x92e07c(0x145)],_0x500b47[_0x92e07c(0x1f1)]=_0x4efca3,_0x1b8682[_0x92e07c(0x1b0)](_0x500b47),this[_0x92e07c(0x1ac)][_0x92e07c(0x1c9)](_0x500b47['treeId'],_0x500b47),this[_0x92e07c(0x162)][_0x92e07c(0x1ee)](_0x43abe8,_0x409330,_0x736a12,_0x500b47),this[_0x92e07c(0x162)]['addFormulaDependencyByDefinedName'](_0x500b47);continue;}const _0x2a6e11=new _0x100bb9[(_0x92e07c(0x182))]();_0x2a6e11['treeId']=(_0xb3303d==null?void 0x0:_0xb3303d[_0x92e07c(0x201)](_0x381a1e,_0x31e735))||_0x100bb9[_0x92e07c(0x19d)](this['_dependencyManagerService']),_0x2a6e11[_0x92e07c(0x1f6)]=_0x500b47,_0x2a6e11[_0x92e07c(0x15e)]=_0x381a1e,_0x2a6e11['refOffsetY']=_0x31e735,_0x2a6e11[_0x92e07c(0x1f1)]=_0x4efca3,this[_0x92e07c(0x162)][_0x92e07c(0x1ee)](_0x43abe8,_0x409330,_0x736a12,_0x2a6e11),this[_0x92e07c(0x162)]['addFormulaDependencyByDefinedName'](_0x2a6e11),_0x1b8682[_0x92e07c(0x1b0)](_0x2a6e11),this[_0x92e07c(0x1ac)][_0x92e07c(0x1c9)](_0x2a6e11['treeId'],_0x2a6e11);}}this[_0x92e07c(0x162)][_0x92e07c(0x1eb)](_0x736a12);}}}}['_registerFormulas'](_0x15915b,_0x4958df,_0x29cc49,_0x2a1bb3){const _0x4a80ae=_0x57f20d;for(const _0x298701 of _0x15915b){const _0x471634=_0x4958df[_0x298701];if(_0x471634==null)continue;const _0x40368c=Object[_0x4a80ae(0x1ca)](_0x471634);for(const _0xf581c6 of _0x40368c){const _0x82bb2a=new _0x101f28[(_0x4a80ae(0x1ab))](_0x471634[_0xf581c6]||{}),_0x189070=new Map();_0x82bb2a[_0x4a80ae(0x14f)]((_0x28f3f6,_0x421749,_0x1244ab)=>{const _0xc7d0eb=_0x4a80ae;if(_0x1244ab==null)return!0x0;const {x:_0x14d8ed=0x0,y:_0x1e4329=0x0,si:_0x289f5b}=_0x1244ab;if(!(_0x14d8ed===0x0&&_0x1e4329===0x0&&_0x289f5b!=null))return!0x0;const _0x1d68f3=this[_0xc7d0eb(0x16a)](_0x298701,_0xf581c6,_0x28f3f6,_0x421749,_0x29cc49,_0x1244ab),_0x3da1d7=this[_0xc7d0eb(0x162)][_0xc7d0eb(0x16e)](_0x298701,_0xf581c6,_0x28f3f6,_0x421749);_0x3da1d7!=null?_0x1d68f3[_0xc7d0eb(0x1de)]=_0x3da1d7:(this[_0xc7d0eb(0x162)]['addFormulaDependency'](_0x298701,_0xf581c6,_0x28f3f6,_0x421749,_0x1d68f3),this[_0xc7d0eb(0x162)]['addFormulaDependencyByDefinedName'](_0x1d68f3)),_0x189070[_0xc7d0eb(0x1c9)](_0x289f5b,_0x1d68f3),_0x2a1bb3[_0xc7d0eb(0x1b0)](_0x1d68f3),this[_0xc7d0eb(0x1ac)][_0xc7d0eb(0x1c9)](_0x1d68f3['treeId'],_0x1d68f3);}),_0x82bb2a[_0x4a80ae(0x14f)]((_0x3bb6a4,_0x2cd805,_0x171a09)=>{const _0x3c154d=_0x4a80ae;if(_0x171a09==null)return!0x0;const {x:_0x17cbf9=0x0,y:_0x10f93e=0x0,si:_0x3f5dfc}=_0x171a09;if(_0x17cbf9===0x0&&_0x10f93e===0x0&&_0x3f5dfc!=null)return!0x0;let _0x518e58;if(_0x3f5dfc&&_0x189070['has'](_0x3f5dfc)){const _0x589e59=_0x189070[_0x3c154d(0x158)](_0x3f5dfc);_0x518e58=this[_0x3c154d(0x1df)](_0x589e59,_0x171a09);}else _0x518e58=this[_0x3c154d(0x16a)](_0x298701,_0xf581c6,_0x3bb6a4,_0x2cd805,_0x29cc49,_0x171a09);const _0x8cd3c4=this[_0x3c154d(0x162)][_0x3c154d(0x16e)](_0x298701,_0xf581c6,_0x3bb6a4,_0x2cd805);_0x8cd3c4!=null?_0x518e58['treeId']=_0x8cd3c4:(this['_dependencyManagerService'][_0x3c154d(0x161)](_0x298701,_0xf581c6,_0x3bb6a4,_0x2cd805,_0x518e58),this[_0x3c154d(0x162)][_0x3c154d(0x1bc)](_0x518e58)),_0x2a1bb3['push'](_0x518e58),this[_0x3c154d(0x1ac)][_0x3c154d(0x1c9)](_0x518e58[_0x3c154d(0x1de)],_0x518e58);}),_0x189070['clear']();}}}[_0x57f20d(0x16a)](_0x291a24,_0x55df84,_0x2e31c6,_0x4334be,_0x3a5eb0,_0x662d95){const _0x3a15a7=_0x57f20d,{f:_0x5cae7f,x:_0x3c52e5=0x0,y:_0x214e0a=0x0}=_0x662d95,_0x1b3a9d=new _0x100bb9[(_0x3a15a7(0x1c6))](_0x100bb9[_0x3a15a7(0x19d)](this[_0x3a15a7(0x162)])),_0x4055c3=_0x3a5eb0[_0x291a24][_0x55df84];return _0x1b3a9d[_0x3a15a7(0x19b)]=_0x5cae7f,_0x1b3a9d[_0x3a15a7(0x1e7)]=_0x291a24,_0x1b3a9d[_0x3a15a7(0x169)]=_0x55df84,_0x1b3a9d[_0x3a15a7(0x165)]=_0x2e31c6,_0x1b3a9d['column']=_0x4334be,_0x1b3a9d[_0x3a15a7(0x1a5)]=_0x4055c3[_0x3a15a7(0x1a5)],_0x1b3a9d[_0x3a15a7(0x167)]=_0x4055c3[_0x3a15a7(0x167)],_0x1b3a9d;}[_0x57f20d(0x204)](){const _0x4167be=_0x57f20d,_0x47bc06=[],_0x16a82a=new Set(),_0x97331f=this[_0x4167be(0x1a7)]['isForceCalculate'](),_0x4351e1=this[_0x4167be(0x1a7)][_0x4167be(0x17b)](),_0x36e7a2=this[_0x4167be(0x162)][_0x4167be(0x19e)](_0x4351e1),_0xc17cd6=this[_0x4167be(0x1ce)]['bulkSearch'](_0x4351e1);for(const _0x4d0488 of _0xc17cd6)_0x36e7a2[_0x4167be(0x184)](_0x4d0488);for(const [_0x299b79,_0x578bb5]of this[_0x4167be(0x1ac)])(_0x97331f||_0x578bb5[_0x4167be(0x14e)]||_0x578bb5[_0x4167be(0x1d6)](this[_0x4167be(0x1a7)]['getDirtyNameMap']())||_0x36e7a2['has'](_0x299b79)&&!_0x578bb5[_0x4167be(0x1a2)](this[_0x4167be(0x1a7)][_0x4167be(0x1b8)]()))&&!_0x16a82a['has'](_0x299b79)&&(_0x47bc06[_0x4167be(0x1b0)](_0x578bb5),_0x16a82a[_0x4167be(0x184)](_0x299b79));for(const [_0x5b0c27,_0x5b7929]of this['_dependencyTreeCache'])_0x5b7929[_0x4167be(0x15d)]||(_0x5b7929[_0x4167be(0x1d5)][_0x4167be(0x1ef)]=0x0);return _0x47bc06;}[_0x57f20d(0x1aa)](_0x337a47){const _0x4ffb93=_0x57f20d;return this[_0x4ffb93(0x1ac)]['get'](_0x337a47);}[_0x57f20d(0x1b1)](_0x4e343b){const _0x1170e9=_0x57f20d;return _0x100bb9[_0x1170e9(0x1db)](_0x4e343b[_0x1170e9(0x1e7)],_0x4e343b[_0x1170e9(0x19b)],this[_0x1170e9(0x205)],this[_0x1170e9(0x1ed)],this['_currentConfigService']);}*[_0x57f20d(0x15b)](_0x56fd0d,_0x216911){const _0x207360=_0x57f20d,_0x439f34=_0x56fd0d,_0x1d38f6=new Set();for(;_0x439f34[_0x207360(0x1ef)]>0x0;){const _0x5ccfd3=_0x439f34[_0x207360(0x14d)]();if(_0x1d38f6[_0x207360(0x199)](),_0x5ccfd3===void 0x0||_0x5ccfd3[_0x207360(0x15a)]())continue;if(_0x5ccfd3[_0x207360(0x14a)]()){yield _0x5ccfd3,_0x5ccfd3[_0x207360(0x1fc)](),_0x216911['add'](_0x5ccfd3['treeId']);continue;}const _0x171317=this[_0x207360(0x162)]['searchDependency'](_0x5ccfd3[_0x207360(0x17a)](),_0x216911),_0x51bc53=this[_0x207360(0x1ce)][_0x207360(0x1f7)](_0x5ccfd3[_0x207360(0x17a)](),_0x216911);for(const _0x2a7468 of _0x51bc53)_0x171317[_0x207360(0x184)](_0x2a7468);for(const _0x414c1e of _0x171317){const _0x2a10e6=this['_dependencyTreeCache'][_0x207360(0x158)](_0x414c1e);if(!_0x2a10e6)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x2a10e6[_0x207360(0x14a)]()||_0x5ccfd3[_0x207360(0x15a)]()||_0x1d38f6[_0x207360(0x184)](_0x2a10e6);}if(_0x171317[_0x207360(0x199)](),_0x1d38f6[_0x207360(0x1fb)]===0x0)yield _0x5ccfd3,_0x5ccfd3[_0x207360(0x1fc)](),_0x216911[_0x207360(0x184)](_0x5ccfd3[_0x207360(0x1de)]);else{_0x5ccfd3[_0x207360(0x153)](),_0x439f34[_0x207360(0x1b0)](_0x5ccfd3);for(const _0x24c0fb of _0x1d38f6)_0x439f34[_0x207360(0x1b0)](_0x24c0fb);}}_0x439f34['length']=0x0,_0x1d38f6['clear']();}[_0x57f20d(0x1e4)](_0x2833a0){const _0x1db9d8=_0x57f20d,_0x28905f=[],_0x2daa73=new Set();for(const _0x14cb13 of this[_0x1db9d8(0x15b)](_0x2833a0,_0x2daa73))_0x28905f[_0x1db9d8(0x1b0)](_0x14cb13);return _0x28905f;}}class _0x36293a extends _0x100bb9[_0x57f20d(0x1bf)]{async['_apply'](_0x1891a0=!0x1){const _0x520145=_0x57f20d;_0x1891a0?this[_0x520145(0x1a3)][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x1b7)]):this['_runtimeService'][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x17d)]),this['_executionInProgressListener$'][_0x520145(0x16c)](this[_0x520145(0x1a3)][_0x520145(0x1ff)]());const _0x2ef98c=await this[_0x520145(0x1af)]['generate'](),_0x473230=this['_interpreter'];_0x1891a0?(this[_0x520145(0x1a3)][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x1a6)]),this[_0x520145(0x1a3)][_0x520145(0x191)](_0x2ef98c[_0x520145(0x1ef)])):(this[_0x520145(0x1a3)][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x189)]),this[_0x520145(0x1a3)]['setTotalFormulasToCalculate'](_0x2ef98c[_0x520145(0x1ef)])),this['_executionInProgressListener$']['next'](this[_0x520145(0x1a3)][_0x520145(0x1ff)]());let _0x93c373=[];const _0x1e33ba=this[_0x520145(0x1e9)]['getConfig'](_0x100bb9[_0x520145(0x17c)]),_0x27e48d=(_0x1e33ba==null?void 0x0:_0x1e33ba[_0x520145(0x18a)])||_0x100bb9[_0x520145(0x17e)];let _0x50040a=0x0;const _0x3935d2=_0x2ef98c[_0x520145(0x1ef)];for(;_0x2ef98c[_0x520145(0x1ef)]>0x0;){const _0x165ec3=_0x2ef98c['pop'](),_0x3fd44a={'node':_0x100bb9['generateAstNode'](_0x165ec3[_0x520145(0x1e7)],_0x165ec3['formula'],this[_0x520145(0x205)],this[_0x520145(0x1ed)],this[_0x520145(0x1a7)]),'refOffsetX':_0x165ec3[_0x520145(0x15e)],'refOffsetY':_0x165ec3['refOffsetY']},_0xb6c56a=_0x165ec3[_0x520145(0x186)];if(_0x50040a%_0x27e48d===0x0&&(await new Promise(_0x38b9fe=>{const _0x2abcc9=_0x520145,_0x5afe8d=_0x101f28[_0x2abcc9(0x1dd)](_0x38b9fe);_0x93c373[_0x2abcc9(0x1b0)](_0x5afe8d);}),_0x1891a0?(this['_runtimeService'][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x16d)]),this['_runtimeService'][_0x520145(0x1a0)](_0x50040a+0x1)):(this[_0x520145(0x1a3)][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x1d7)]),this[_0x520145(0x1a3)][_0x520145(0x1cc)](_0x50040a+0x1)),this['_executionInProgressListener$'][_0x520145(0x16c)](this[_0x520145(0x1a3)][_0x520145(0x1ff)]()),this[_0x520145(0x1a3)][_0x520145(0x14b)]()||_0x3fd44a==null&&_0xb6c56a==null)){this[_0x520145(0x1a3)][_0x520145(0x179)](_0x100bb9[_0x520145(0x206)][_0x520145(0x187)]),this[_0x520145(0x1a3)][_0x520145(0x193)](),this['_executionCompleteListener$'][_0x520145(0x16c)](this[_0x520145(0x1a3)]['getAllRuntimeData']());return;}this[_0x520145(0x1a3)][_0x520145(0x1c4)](_0x165ec3[_0x520145(0x165)],_0x165ec3[_0x520145(0x195)],_0x165ec3['rowCount'],_0x165ec3[_0x520145(0x167)],_0x165ec3[_0x520145(0x169)],_0x165ec3['unitId']);let _0x2ccfff;if(_0xb6c56a!=null&&_0x165ec3[_0x520145(0x1b5)]!=null){const {runtimeCellData:_0x2f2ada,dirtyRanges:_0xccb6e}=_0xb6c56a(this[_0x520145(0x1a7)]['getDirtyData'](),this['_runtimeService']['getAllRuntimeData']());this['_runtimeService']['setRuntimeFeatureCellData'](_0x165ec3['featureId'],_0x2f2ada),this['_runtimeService']['setRuntimeFeatureRange'](_0x165ec3[_0x520145(0x1b5)],_0xccb6e);}else _0x3fd44a!=null&&(_0x473230[_0x520145(0x154)](_0x3fd44a[_0x520145(0x1d8)])?_0x2ccfff=await _0x473230[_0x520145(0x18d)](_0x3fd44a):_0x2ccfff=_0x473230['execute'](_0x3fd44a),_0x165ec3[_0x520145(0x1f3)]!=null?this[_0x520145(0x1a3)][_0x520145(0x18f)](_0x165ec3[_0x520145(0x1f3)],_0x165ec3[_0x520145(0x15e)],_0x165ec3['refOffsetY'],_0x2ccfff):this[_0x520145(0x1a3)][_0x520145(0x166)](_0x2ccfff));_0x50040a++;}return _0x93c373['forEach'](_0x33b5f1=>_0x33b5f1()),_0x93c373=[],_0x3935d2>0x0?this[_0x520145(0x1a3)][_0x520145(0x17f)]():_0x1891a0||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x520145(0x1a3)][_0x520145(0x1a4)]();}}class _0x233a80 extends _0x100bb9[_0x57f20d(0x174)]{constructor(){const _0x25f6bd=_0x57f20d;super(...arguments),_0x3647cc(this,_0x25f6bd(0x200),new Map()),_0x3647cc(this,_0x25f6bd(0x149),new _0x101f28[(_0x25f6bd(0x1fd))](!0x0));}['reset'](){const _0x16df56=_0x57f20d;this[_0x16df56(0x170)][_0x16df56(0x199)](),this[_0x16df56(0x1e0)][_0x16df56(0x199)](),this['_formulaData'][_0x16df56(0x199)](),this[_0x16df56(0x149)][_0x16df56(0x199)](),this[_0x16df56(0x200)]['clear'](),this[_0x16df56(0x1ae)](),this[_0x16df56(0x1f9)][_0x16df56(0x199)]();}[_0x57f20d(0x1ee)](_0x491107,_0x7dfdd,_0xa09d5b,_0x2a5f3a){const _0x3b436f=_0x57f20d;this[_0x3b436f(0x170)][_0x3b436f(0x150)](_0x491107)||this[_0x3b436f(0x170)]['set'](_0x491107,new Map());const _0x5b5a0d=this[_0x3b436f(0x170)]['get'](_0x491107);_0x5b5a0d[_0x3b436f(0x150)](_0x7dfdd)||_0x5b5a0d[_0x3b436f(0x1c9)](_0x7dfdd,new Map());const _0x3a684=_0x5b5a0d[_0x3b436f(0x158)](_0x7dfdd);_0x3a684[_0x3b436f(0x150)](_0xa09d5b)||_0x3a684[_0x3b436f(0x1c9)](_0xa09d5b,new _0x101f28[(_0x3b436f(0x1ab))]()),_0x3a684[_0x3b436f(0x158)](_0xa09d5b)[_0x3b436f(0x1d9)](_0x2a5f3a[_0x3b436f(0x15e)],_0x2a5f3a[_0x3b436f(0x159)],_0x2a5f3a[_0x3b436f(0x1de)]);}[_0x57f20d(0x203)](_0x53edda,_0xa28a06,_0x51fd24){const _0x45061a=_0x57f20d,_0x235afd=this['_otherFormulaData'][_0x45061a(0x158)](_0x53edda);if(_0x235afd&&_0x235afd[_0x45061a(0x150)](_0xa28a06)){const _0x2ddd18=_0x235afd[_0x45061a(0x158)](_0xa28a06);_0x51fd24[_0x45061a(0x1be)](_0x4f0388=>{const _0x32ed3f=_0x45061a,_0x479580=_0x2ddd18['get'](_0x4f0388);_0x479580!=null&&(_0x479580[_0x32ed3f(0x14f)]((_0x5961b4,_0x3ac283,_0x3cc585)=>{const _0x2de836=_0x32ed3f;this[_0x2de836(0x1d4)](_0x3cc585),this['_removeAllTreeMap'](_0x3cc585);}),_0x2ddd18[_0x32ed3f(0x181)](_0x4f0388),this[_0x32ed3f(0x1f9)][_0x32ed3f(0x181)](_0x4f0388));}),_0x2ddd18[_0x45061a(0x1fb)]===0x0&&_0x235afd['delete'](_0xa28a06),_0x235afd[_0x45061a(0x1fb)]===0x0&&this['_otherFormulaData'][_0x45061a(0x181)](_0x53edda);}}[_0x57f20d(0x1ea)](_0x2b1886,_0x275afc){const _0x1e4307=_0x57f20d,_0x3bd8e0=this[_0x1e4307(0x170)][_0x1e4307(0x158)](_0x2b1886);if(_0x275afc&&_0x3bd8e0&&_0x3bd8e0[_0x1e4307(0x150)](_0x275afc)){const _0x422b84=_0x3bd8e0[_0x1e4307(0x158)](_0x275afc);this['_removeDependencyRTreeCacheById'](_0x2b1886,_0x275afc);for(const _0x1e4327 of _0x422b84[_0x1e4307(0x1ca)]()){const _0x4a1f8c=_0x422b84[_0x1e4307(0x158)](_0x1e4327);_0x4a1f8c!=null&&(_0x4a1f8c['forValue']((_0x534bbc,_0x51384f,_0x586f30)=>{const _0x34bb53=_0x1e4307;this[_0x34bb53(0x200)][_0x34bb53(0x158)](_0x586f30)&&this['_removeAllTreeMap'](_0x586f30);}),this[_0x1e4307(0x1f9)]['delete'](_0x1e4327));}_0x422b84['clear']();}else{if(_0x3bd8e0){for(const _0x563647 of _0x3bd8e0['keys']()){const _0x1e3504=_0x3bd8e0[_0x1e4307(0x158)](_0x563647);this['_removeDependencyRTreeCacheById'](_0x2b1886,_0x563647);for(const _0x13d058 of _0x1e3504[_0x1e4307(0x1ca)]()){const _0x2422da=_0x1e3504['get'](_0x13d058);_0x2422da!=null&&(_0x2422da[_0x1e4307(0x14f)]((_0x4d79a2,_0x182de8,_0x21d10b)=>{const _0x48ab54=_0x1e4307;this[_0x48ab54(0x200)]['get'](_0x21d10b)&&this[_0x48ab54(0x197)](_0x21d10b);}),this[_0x1e4307(0x1f9)][_0x1e4307(0x181)](_0x13d058));}}this[_0x1e4307(0x170)][_0x1e4307(0x181)](_0x2b1886);}}}[_0x57f20d(0x1f8)](_0x36872d,_0x2665f9,_0x2920e0,_0x5bacb3){const _0x36ccc1=_0x57f20d;this['_featureFormulaData'][_0x36ccc1(0x150)](_0x36872d)||this[_0x36ccc1(0x1e0)][_0x36ccc1(0x1c9)](_0x36872d,new Map());const _0xf24452=this[_0x36ccc1(0x1e0)][_0x36ccc1(0x158)](_0x36872d);_0xf24452['has'](_0x2665f9)||_0xf24452[_0x36ccc1(0x1c9)](_0x2665f9,new Map()),_0xf24452[_0x36ccc1(0x158)](_0x2665f9)[_0x36ccc1(0x1c9)](_0x2920e0,_0x5bacb3[_0x36ccc1(0x1de)]);}[_0x57f20d(0x163)](_0xba3221,_0x4de32a,_0x15b692){const _0x28825d=_0x57f20d,_0x15c6c6=this['_featureFormulaData'][_0x28825d(0x158)](_0xba3221);if(_0x15c6c6&&_0x15c6c6[_0x28825d(0x150)](_0x4de32a)){const _0x5eb927=_0x15c6c6[_0x28825d(0x158)](_0x4de32a);_0x15b692['forEach'](_0x1481f2=>{const _0x141174=_0x28825d,_0x5eca84=_0x5eb927[_0x141174(0x158)](_0x1481f2);_0x5eca84!=null&&(this[_0x141174(0x1d4)](_0x5eca84),_0x5eb927[_0x141174(0x181)](_0x1481f2),this[_0x141174(0x197)](_0x5eca84));});}}['clearFeatureFormulaDependency'](_0x68d54b,_0x34f9eb){const _0x4f5230=_0x57f20d,_0x2f9fb2=this[_0x4f5230(0x1e0)][_0x4f5230(0x158)](_0x68d54b);if(_0x34f9eb&&_0x2f9fb2&&_0x2f9fb2[_0x4f5230(0x150)](_0x34f9eb)){const _0xd2cc15=_0x2f9fb2[_0x4f5230(0x158)](_0x34f9eb);this[_0x4f5230(0x155)](_0x68d54b,_0x34f9eb),_0xd2cc15[_0x4f5230(0x1be)](_0x1e3120=>{const _0xfc2490=_0x4f5230;_0x1e3120!=null&&this[_0xfc2490(0x197)](_0x1e3120);}),_0xd2cc15['clear']();}else _0x2f9fb2&&(_0x2f9fb2[_0x4f5230(0x1be)]((_0x3aa9b4,_0x50100b)=>{const _0x21eac3=_0x4f5230;this[_0x21eac3(0x155)](_0x68d54b,_0x50100b),_0x3aa9b4[_0x21eac3(0x1be)](_0x1ec95b=>{const _0x16cc1a=_0x21eac3;_0x1ec95b!=null&&this[_0x16cc1a(0x197)](_0x1ec95b);});}),this['_featureFormulaData'][_0x4f5230(0x181)](_0x68d54b));}[_0x57f20d(0x161)](_0x148aac,_0x54a381,_0x1bef35,_0x5bc6a0,_0xad9633){const _0x49e78c=_0x57f20d;this[_0x49e78c(0x1e1)][_0x49e78c(0x150)](_0x148aac)||this[_0x49e78c(0x1e1)]['set'](_0x148aac,new Map());const _0x1c409b=this['_formulaData'][_0x49e78c(0x158)](_0x148aac);_0x1c409b[_0x49e78c(0x150)](_0x54a381)||_0x1c409b['set'](_0x54a381,new _0x101f28['ObjectMatrix']()),_0x1c409b[_0x49e78c(0x158)](_0x54a381)[_0x49e78c(0x1d9)](_0x1bef35,_0x5bc6a0,_0xad9633[_0x49e78c(0x1de)]);}['removeFormulaDependency'](_0x19c501,_0x16c2ee,_0xd9f964,_0x5c0903){const _0x3779e6=_0x57f20d,_0x7e9e83=this[_0x3779e6(0x1e1)][_0x3779e6(0x158)](_0x19c501);if(_0x7e9e83&&_0x7e9e83[_0x3779e6(0x150)](_0x16c2ee)){const _0x593ae8=_0x7e9e83[_0x3779e6(0x158)](_0x16c2ee),_0x5340e9=_0x593ae8[_0x3779e6(0x201)](_0xd9f964,_0x5c0903);if(_0x5340e9==null)return;this['_removeDependencyRTreeCache'](_0x5340e9),_0x593ae8[_0x3779e6(0x1fa)](_0xd9f964,_0x5c0903),this[_0x3779e6(0x197)](_0x5340e9);}}[_0x57f20d(0x14c)](_0x48d75a,_0x42589e){const _0x46166c=_0x57f20d,_0xe8a735=this['_formulaData'][_0x46166c(0x158)](_0x48d75a);if(_0x42589e&&_0xe8a735&&_0xe8a735['has'](_0x42589e)){const _0x17a297=_0xe8a735[_0x46166c(0x158)](_0x42589e);this[_0x46166c(0x155)](_0x48d75a,_0x42589e),_0x17a297[_0x46166c(0x14f)]((_0x1cec12,_0x5c3ae4,_0x5bd807)=>{const _0x35b768=_0x46166c;if(_0x5bd807==null)return!0x0;this[_0x35b768(0x197)](_0x5bd807);}),_0x17a297['reset']();}else _0xe8a735&&(_0xe8a735[_0x46166c(0x1be)]((_0x242f25,_0x5df94d)=>{const _0x164c8c=_0x46166c;this['_removeDependencyRTreeCacheById'](_0x48d75a,_0x5df94d),_0x242f25[_0x164c8c(0x14f)]((_0x3bf23f,_0xce5200,_0x27c915)=>{const _0x4ef35e=_0x164c8c;if(_0x27c915==null)return!0x0;this[_0x4ef35e(0x197)](_0x27c915);});}),this[_0x46166c(0x1e1)]['delete'](_0x48d75a));}[_0x57f20d(0x1d4)](_0x425139){const _0x8ce548=_0x57f20d;if(_0x425139==null)return;const _0x459b32=this['_allTreeMap']['get'](_0x425139);if(_0x459b32){const _0x1d7cd1=[];for(const [_0x4e755b,_0x522e64]of _0x459b32)for(const [_0x27a7ee,_0x4c2ada]of _0x522e64)_0x1d7cd1[_0x8ce548(0x1b0)]({'unitId':_0x4e755b,'sheetId':_0x27a7ee,'range':_0x4c2ada,'id':_0x425139});this[_0x8ce548(0x149)][_0x8ce548(0x18b)](_0x1d7cd1);}}[_0x57f20d(0x16f)](_0x303f26,_0x2c81be){const _0x2b5393=_0x57f20d,_0x197cb6=this[_0x2b5393(0x1b6)]['get'](_0x303f26);if(_0x197cb6){const _0x179c5b=_0x197cb6[_0x2b5393(0x158)](_0x2c81be);if(_0x179c5b){for(const _0xe2cd7e of _0x179c5b)this['_removeDependencyRTreeCache'](_0xe2cd7e),this[_0x2b5393(0x197)](_0xe2cd7e);_0x179c5b[_0x2b5393(0x199)]();}}}['openKdTree'](){const _0xab3ea6=_0x57f20d;this['_dependencyRTreeCache'][_0xab3ea6(0x1e6)]();}['closeKdTree'](){const _0x15f2b9=_0x57f20d;this[_0x15f2b9(0x149)]['closeKdTree']();}[_0x57f20d(0x197)](_0x2825e3){const _0x221158=_0x57f20d;_0x2825e3!=null&&this[_0x221158(0x200)][_0x221158(0x181)](_0x2825e3);}[_0x57f20d(0x1c2)](_0x540cdc){const _0x57ea72=_0x57f20d;var _0x27be51,_0x2aafa0;const _0xda0838=_0x540cdc['rangeList'];let _0x25dd69=this[_0x57ea72(0x200)]['get'](_0x540cdc[_0x57ea72(0x1de)]);for(let _0x3737cd=0x0;_0x3737cd<_0xda0838['length'];_0x3737cd++){const _0x2c07aa=_0xda0838[_0x3737cd];let {unitId:_0x868d27,sheetId:_0x47f8a6,range:_0x361403}=_0x2c07aa;_0x25dd69||(_0x25dd69=new Map(),this[_0x57ea72(0x200)]['set'](_0x540cdc['treeId'],_0x25dd69)),_0x25dd69[_0x57ea72(0x150)](_0x868d27)||_0x25dd69[_0x57ea72(0x1c9)](_0x868d27,new Map());const _0x12c5aa=(_0x27be51=_0x25dd69==null?void 0x0:_0x25dd69[_0x57ea72(0x158)](_0x868d27))==null?void 0x0:_0x27be51['get'](_0x47f8a6);_0x12c5aa&&(_0x361403={'startRow':Math[_0x57ea72(0x142)](_0x361403[_0x57ea72(0x172)],_0x12c5aa['startRow']),'startColumn':Math[_0x57ea72(0x142)](_0x361403['startColumn'],_0x12c5aa['startColumn']),'endRow':Math['max'](_0x361403[_0x57ea72(0x190)],_0x12c5aa[_0x57ea72(0x190)]),'endColumn':Math['max'](_0x361403[_0x57ea72(0x1a1)],_0x12c5aa['endColumn'])}),(_0x2aafa0=_0x25dd69[_0x57ea72(0x158)](_0x868d27))==null||_0x2aafa0['set'](_0x47f8a6,_0x361403);}}}var _0x447001=Object['getOwnPropertyDescriptor'],_0x587d48=(_0xb2cfe9,_0x4d2d2e,_0x25801d,_0xef16f1)=>{const _0x531783=_0x57f20d;for(var _0x180762=_0xef16f1>0x1?void 0x0:_0xef16f1?_0x447001(_0x4d2d2e,_0x25801d):_0x4d2d2e,_0x1f57b5=_0xb2cfe9[_0x531783(0x1ef)]-0x1,_0x6f2dc2;_0x1f57b5>=0x0;_0x1f57b5--)(_0x6f2dc2=_0xb2cfe9[_0x1f57b5])&&(_0x180762=_0x6f2dc2(_0x180762)||_0x180762);return _0x180762;};const _0x43896f=Number['parseInt'](0x687b5697);_0x225307[_0x57f20d(0x1b2)]=class extends _0x100bb9[_0x57f20d(0x144)]{[_0x57f20d(0x173)](){const _0x826ebf=_0x57f20d;var _0x5ac2aa,_0x338892;this[_0x826ebf(0x185)]()?(_0x5ac2aa=this[_0x826ebf(0x1fe)])!=null&&_0x5ac2aa[_0x826ebf(0x148)]||[[_0x100bb9[_0x826ebf(0x1c8)],{'useClass':_0x36293a}],[_0x100bb9[_0x826ebf(0x164)],{'useClass':_0x233a80}],[_0x100bb9[_0x826ebf(0x1f0)],{'useClass':_0x5a54bf}]]['forEach'](_0x34a826=>this[_0x826ebf(0x180)][_0x826ebf(0x184)](_0x34a826)):(_0x338892=this[_0x826ebf(0x1fe)])!=null&&_0x338892['notExecuteFormula']||[[_0x100bb9[_0x826ebf(0x1c8)],{'useClass':_0x100bb9['CalculateFormulaService']}],[_0x100bb9['IDependencyManagerService'],{'useClass':_0x100bb9[_0x826ebf(0x196)]}],[_0x100bb9[_0x826ebf(0x1f0)],{'useClass':_0x100bb9[_0x826ebf(0x177)]}]]['forEach'](_0x68ae40=>this[_0x826ebf(0x180)][_0x826ebf(0x184)](_0x68ae40));}[_0x57f20d(0x185)](){const _0xcd31b3=_0x57f20d;var _0x340256;const _0x3608c8=(_0x340256=this[_0xcd31b3(0x1e9)]['getConfig'](_0x14830a[_0xcd31b3(0x1d0)]))!=null?_0x340256:{},{ls:_0x1f1919,pbk:_0x4dc1ad}=_0x3608c8;if(!_0x1f1919||!_0x4dc1ad)return!0x1;const _0x22cbcb=_0x14830a[_0xcd31b3(0x175)](_0x26b8bf,_0x4aec4e),_0x4d8d31=new Function(_0xcd31b3(0x15c)+_0x22cbcb)()(_0x1f1919,_0x4dc1ad),_0x295298=_0x4d8d31[_0xcd31b3(0x1d2)];return _0x4d8d31[_0xcd31b3(0x1e5)]&&_0x14830a[_0xcd31b3(0x183)](_0x295298,'sf',_0x43896f)?_0x14830a[_0xcd31b3(0x1dc)](_0x295298,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x225307[_0x57f20d(0x1b2)]=_0x587d48([_0x101f28[_0x57f20d(0x1c0)](_0x14830a['UniverLicensePlugin'])],_0x225307['UniverProFormulaEnginePlugin']),Object['keys'](_0x100bb9)['forEach'](_0x144c8d=>{const _0x400af=_0x57f20d;_0x144c8d!==_0x400af(0x1f4)&&!Object['prototype'][_0x400af(0x1a9)][_0x400af(0x202)](_0x225307,_0x144c8d)&&Object[_0x400af(0x1b4)](_0x225307,_0x144c8d,{'enumerable':!0x0,'get':()=>_0x100bb9[_0x144c8d]});}),Object[_0x57f20d(0x1b4)](_0x225307,Symbol['toStringTag'],{'value':_0x57f20d(0x1f2)});}));function _0x2eb3(_0x55ba2a,_0xd33c8b){const _0xbafb6a=_0xbafb();return _0x2eb3=function(_0x2eb377,_0x3404f6){_0x2eb377=_0x2eb377-0x142;let _0x20c6e0=_0xbafb6a[_0x2eb377];return _0x20c6e0;},_0x2eb3(_0x55ba2a,_0xd33c8b);}function _0xbafb(){const _0x46c453=['@univerjs/core','setCurrent','_generateTreeList','FormulaDependencyTree','24uFmrMX','ICalculateFormulaService','set','keys','type','setCompletedFormulasCount','symbol','_dependencyRTreeCacheForAddressFunction','FormulaDependencyTreeType','LS_CONFIG_KEY','object','message','dirtyRanges','_removeDependencyRTreeCache','rangeList','dependencySheetName','CURRENTLY_CALCULATING','node','setValue','1186018opaCrr','generateAstNode','getSheetFeatureLimit','requestImmediateMacroTask','treeId','_createVirtualFDtree','_featureFormulaData','_formulaData','800082kteofp','dispose','_calculateRunList','valid','openKdTree','unitId','getUnitData','_configService','clearOtherFormulaDependency','addOtherFormulaDependencyMainData','hasOtherFormulaDataMainData','_astTreeBuilder','addOtherFormulaDependency','length','IFormulaDependencyGenerator','isCache','Module','formulaId','default','_checkIsCycleDependency','refTree','bulkSearch','addFeatureFormulaDependency','_otherFormulaDataMainData','realDeleteValue','size','setSkip','RTree','_config','getRuntimeState','_allTreeMap','getValue','call','removeOtherFormulaDependency','_getUpdateTreeListAndMakeDependency','_lexer','FormulaExecuteStageType','min','getOtherFormulaDependency','UniverFormulaEnginePlugin','OTHER_FORMULA','393Yrmaen','generate','notExecuteFormula','_dependencyRTreeCache','isAdded','isStopExecution','clearFormulaDependency','pop','isDirty','forValue','has','FEATURE_FORMULA','@univerjs/engine-formula','setAdded','checkAsyncNode','_removeDependencyRTreeCacheById','closeKdTree','getFormulaData','get','refOffsetY','isSkip','_traverse','return\x20','isVirtual','refOffsetX','7aYdUTi','3671298tMOdze','addFormulaDependency','_dependencyManagerService','removeFeatureFormulaDependency','IDependencyManagerService','row','setRuntimeData','columnCount','function','subUnitId','_createFDtree','_otherFormulaManagerService','next','CURRENTLY_CALCULATING_ARRAY_FORMULA','getFormulaDependency','removeFormulaDependencyByDefinedName','_otherFormulaData','_getFeatureFormulaTree','startRow','_initializeWithOverride','DependencyManagerBaseService','unshiftString','_isCyclicUtilMap','FormulaDependencyGenerator','25izIrfn','setFormulaExecuteStage','toRTreeItem','getDirtyRanges','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','START_DEPENDENCY','DEFAULT_INTERVAL_COUNT','markedAsSuccessfullyExecuted','_injector','delete','FormulaDependencyTreeVirtual','isFeatureAuthorizedWithinTime','add','_initLicenseValid','getDirtyData','IDLE','_updateRangeFlatten','START_CALCULATION','intervalCount','bulkRemove','430pBfVep','executeAsync','clearFeatureFormulaDependency','setRuntimeOtherData','endRow','setTotalArrayFormulasToCalculate','26lTOjnx','markedAsStopFunctionsExecuted','UniverProEngineFormula','column','DependencyManagerService','_removeAllTreeMap','19688LLTdwe','clear','Jb2BcUg2\x20f4BGpzcUg2(eUB42O4,\x20zbWeUBl4p)\x20{\x20\x20\x20\x20cGp\x20{\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20eUB42O4q2Jg81GcDGG1p\x20=\x20eUB42O4.OzeUc(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20gGURU2N4OO1R4\x20=\x2006IC.z1GO4(1cgW(eUB42O4q2Jg81GcDGG1p[h]));\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!gGURU2N4OO1R4.bf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gGURU2N4OO1R4.bf\x20=\x20CbXW4G(eUB42O4q2Jg81GcDGG1p[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20UOngGZ4G\x20=\x20cpz4gJ\x20ngGZ4GaegW1e6Bgz4\x20!==\x20\x27b2f4JU24f\x27\x20&&\x20O4eJ\x20U2Oc12B4gJ\x20ngGZ4GaegW1e6Bgz4;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20Bg2c4Hc\x20=\x20UOngGZ4G\x20?\x20O4eJ\x20:\x20AU2fgA;\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[h]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20X4OO1R4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(X4OO1R4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4ngGf\x20=\x20Bg2c4Hc.__P1O4Ms__.z1GO4(eUB42O4q2Jg81GcDGG1p[S]);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR21cbG4\x20=\x20Bg2c4Hc.__Y4H__.OcGU2RUJp(OUR21cbG4ngGf);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20OUR2v1eUf\x20=\x20Bg2c4Hc.__74GUJp__(OUR21cbG4,\x20X4OO1R4,\x20zbWeUBl4p);\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20fgX1U2\x20=\x20gGURU2N4OO1R4.fX;\x20\x20\x20\x20\x20\x20\x20\x20Jb2BcUg2\x20UOrgX1U2N1cBEU2R(g81cc4G2,\x20gYgOc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G2\x20=\x20g81cc4G2.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc\x20=\x20gYgOc.G4ze1B4(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G281GcO\x20=\x20z1cc4G2.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc81GcO\x20=\x20EgOc.OzeUc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(!z1cc4G2.U2Bebf4O(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G2\x20===\x20EgOc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(z1cc4G281GcO.e42RcE\x20<\x20h\x20||\x20z1cc4G281GcO[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20J1eO4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20z1cc4G26bJJUH\x20=\x20z1cc4G281GcO.OeUB4(o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x20EgOc6bJJUH\x20=\x20EgOc81GcO.OeUB4(-z1cc4G281GcO.e42RcE\x20+\x20o).kgU2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20z1cc4G26bJJUH\x20===\x20EgOc6bJJUH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20e4c\x20fgX1U2v1eUf\x20=\x20(fgX1U2\x20&&\x20fgX1U2.e42RcE)\x20?\x20fgX1U2.OgX4((fXqc4X)\x20=>\x20UOrgX1U2N1cBEU2R(fXqc4X,\x20egB1cUg2.EgOc21X4))\x20:\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20UJ\x20(egB1cUg2.EgOc21X4\x20===\x20\x27egB1eEgOc\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fgX1U2v1eUf\x20=\x20cGb4;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Bg2Oc\x2071eUf\x20=\x20OUR2v1eUf\x20&&\x20fgX1U2v1eUf;\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20gGURU2N4OO1R4,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20B1cBE\x20(4GGgG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20G4cbG2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2071eUf:\x20J1eO4,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X4OO1R4:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','formula','getClearDependencyTreeCache','generateRandomDependencyTreeId','searchDependency','86308wrQUoT','setCompletedArrayFormulasCount','endColumn','isExcludeRange','_runtimeService','getAllRuntimeData','rowCount','START_CALCULATION_ARRAY_FORMULA','_currentConfigService','4285104lozzHH','hasOwnProperty','_getTreeById','ObjectMatrix','_dependencyTreeCache','_getFirstCellOfRange','_restDependencyTreeId','_formulaDependencyGenerator','push','_getTreeNode','UniverProFormulaEnginePlugin','exports','defineProperty','featureId','_definedNameMap','START_DEPENDENCY_ARRAY_FORMULA','getExcludedRange','327701VRsSox','featureDirtyRanges','UniverEngineFormula','addFormulaDependencyByDefinedName','UniverCore','forEach','CalculateFormulaService','DependentOn','_convertDirtyRangesToUnitRange','_addAllTreeMap'];_0xbafb=function(){return _0x46c453;};return _0xbafb();}
|
|
1
|
+
(function(_0x2b4565,_0x3d9881){const _0x182cd9=_0x1399,_0x55b4a1=_0x2b4565();while(!![]){try{const _0xd83692=parseInt(_0x182cd9(0x1de))/0x1+parseInt(_0x182cd9(0x1d3))/0x2+parseInt(_0x182cd9(0x24b))/0x3*(-parseInt(_0x182cd9(0x25a))/0x4)+-parseInt(_0x182cd9(0x274))/0x5*(-parseInt(_0x182cd9(0x257))/0x6)+parseInt(_0x182cd9(0x229))/0x7+-parseInt(_0x182cd9(0x232))/0x8+parseInt(_0x182cd9(0x245))/0x9*(-parseInt(_0x182cd9(0x215))/0xa);if(_0xd83692===_0x3d9881)break;else _0x55b4a1['push'](_0x55b4a1['shift']());}catch(_0x448f1e){_0x55b4a1['push'](_0x55b4a1['shift']());}}}(_0x5e96,0x9556d),function(_0x309f70,_0x3e5099){const _0x37da31=_0x1399;typeof exports=='object'&&typeof module<'u'?_0x3e5099(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x37da31(0x26e)&&define['amd']?define(['exports',_0x37da31(0x27f),_0x37da31(0x1f1),_0x37da31(0x22b)],_0x3e5099):(_0x309f70=typeof globalThis<'u'?globalThis:_0x309f70||self,_0x3e5099(_0x309f70[_0x37da31(0x1dd)]={},_0x309f70[_0x37da31(0x226)],_0x309f70[_0x37da31(0x22a)],_0x309f70[_0x37da31(0x263)]));}(this,function(_0x362ccb,_0x1e35da,_0x481507,_0xa3fb44){'use strict';const _0x1cb21d=_0x1399;var _0x4d2959=Object['defineProperty'],_0x412aeb=(_0x3e5069,_0x322eac,_0x3f60ab)=>_0x322eac in _0x3e5069?_0x4d2959(_0x3e5069,_0x322eac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f60ab}):_0x3e5069[_0x322eac]=_0x3f60ab,_0x229514=(_0x487709,_0x289583,_0x2deb27)=>_0x412aeb(_0x487709,typeof _0x289583!='symbol'?_0x289583+'':_0x289583,_0x2deb27);const _0x5b3135={0x0:'5',0x1:'4',0x2:'j',0x3:'7',0x4:'v',0x5:'O',0x6:'0',0x7:'E',0x8:'I',0x9:'G','U':'1','y':'2','S':'3','m':'6','x':'8','T':'9','w':'a','G':'b','e':'c','P':'d','d':'e','L':'f','O':'g','D':'h','R':'i','W':'k','o':'l','f':'m','H':'n','k':'o','E':'p','v':'q','h':'r','q':'s','p':'t','n':'u','F':'w','V':'x','c':'y','M':'z','N':'A','A':'B','X':'C','I':'D','b':'F','C':'H','Q':'J','z':'K','B':'L','r':'M','i':'N','j':'P','K':'Q','u':'R','Z':'S','g':'T','J':'U','Y':'V','t':'W','a':'X','l':'Y','s':'Z'},_0x48d8a0='LnHepRkH\x20PdehcEpRkH(oRedHqd,\x20EnGoRezdc)\x20{\x20\x20\x20\x20phc\x20{\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20oRedHqd8HLkjwhpNhhwc\x20=\x20oRedHqd.qEoRp(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20khRORHrdqqwOd\x20=\x20QZ5i.Ewhqd(wpkG(oRedHqd8HLkjwhpNhhwc[y]));\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!khRORHrdqqwOd.nP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khRORHrdqqwOd.nP\x20=\x20infGdh(oRedHqd8HLkjwhpNhhwc[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20RqtkhWdh\x20=\x20pcEdkL\x20tkhWdh9okGwoZekEd\x20!==\x20\x27nHPdLRHdP\x27\x20&&\x20qdoL\x20RHqpwHedkL\x20tkhWdh9okGwoZekEd;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20ekHpdVp\x20=\x20RqtkhWdh\x20?\x20qdoL\x20:\x20FRHPkF;\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[y]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20fdqqwOd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(fdqqwOdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhdtkhP\x20=\x20ekHpdVp.__Awqdm1__.Ewhqd(oRedHqd8HLkjwhpNhhwc[S]);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHwpnhd\x20=\x20ekHpdVp.__CdV__.qphRHORLc(qROHwpnhdtkhP);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20qROHYwoRP\x20=\x20ekHpdVp.__4dhRLc__(qROHwpnhd,\x20fdqqwOd,\x20EnGoRezdc);\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20PkfwRH\x20=\x20khRORHrdqqwOd.Pf;\x20\x20\x20\x20\x20\x20\x20\x20LnHepRkH\x20RqIkfwRHrwpeDRHO(kjwppdhH,\x20kCkqp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhH\x20=\x20kjwppdhH.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqp\x20=\x20kCkqp.hdEowed(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHjwhpq\x20=\x20EwppdhH.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20Dkqpjwhpq\x20=\x20Dkqp.qEoRp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(!EwppdhH.RHeonPdq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhH\x20===\x20Dkqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(EwppdhHjwhpq.odHOpD\x20<\x20y\x20||\x20EwppdhHjwhpq[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20Lwoqd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20EwppdhHZnLLRV\x20=\x20EwppdhHjwhpq.qoRed(U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x20DkqpZnLLRV\x20=\x20Dkqpjwhpq.qoRed(-EwppdhHjwhpq.odHOpD\x20+\x20U).2kRH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20EwppdhHZnLLRV\x20===\x20DkqpZnLLRV;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20odp\x20PkfwRHYwoRP\x20=\x20(PkfwRH\x20&&\x20PkfwRH.odHOpD)\x20?\x20PkfwRH.qkfd((Pf8pdf)\x20=>\x20RqIkfwRHrwpeDRHO(Pf8pdf,\x20okewpRkH.DkqpHwfd))\x20:\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20RL\x20(okewpRkH.DkqpHwfd\x20===\x20\x27okewoDkqp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PkfwRHYwoRP\x20=\x20phnd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ekHqp\x204woRP\x20=\x20qROHYwoRP\x20&&\x20PkfwRHYwoRP;\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20khRORHrdqqwOd,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ewpeD\x20(dhhkh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hdpnhH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204woRP:\x20Lwoqd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fdqqwOd:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x2c6825 extends _0xa3fb44[_0x1cb21d(0x253)]{constructor(){const _0x28508e=_0x1cb21d;super(...arguments),_0x229514(this,_0x28508e(0x24c),new Map());}[_0x1cb21d(0x1cb)](){const _0x4deeb8=_0x1cb21d;super[_0x4deeb8(0x1cb)](),this[_0x4deeb8(0x24c)]['clear']();}async[_0x1cb21d(0x1c8)](){const _0x3b71a7=_0x1cb21d;this[_0x3b71a7(0x236)]();const _0x5384b3=this[_0x3b71a7(0x1e0)][_0x3b71a7(0x1f0)](),_0x2ad38c=this['_otherFormulaManagerService'][_0x3b71a7(0x1ef)](),_0x30515e=this['_currentConfigService'][_0x3b71a7(0x1e6)]();_0x30515e!=null&&Object[_0x3b71a7(0x21f)](_0x30515e)['forEach'](_0x3df354=>{const _0xdc554d=_0x3b71a7;_0x3df354!=null&&Object[_0xdc554d(0x21f)](_0x30515e[_0x3df354])[_0xdc554d(0x250)](_0x2fd4ac=>{const _0x7ca3d3=_0xdc554d;_0x2fd4ac!=null&&(this[_0x7ca3d3(0x200)]['clearOtherFormulaDependency'](_0x3df354,_0x2fd4ac),this[_0x7ca3d3(0x200)][_0x7ca3d3(0x22e)](_0x3df354,_0x2fd4ac),this[_0x7ca3d3(0x200)][_0x7ca3d3(0x1fb)](_0x3df354,_0x2fd4ac));});});const _0x10aa12=this['_currentConfigService'][_0x3b71a7(0x27c)]();await this[_0x3b71a7(0x223)](_0x5384b3,_0x2ad38c,_0x10aa12),this[_0x3b71a7(0x200)][_0x3b71a7(0x243)]();const _0x4f4a63=this[_0x3b71a7(0x255)](),_0x514190=this[_0x3b71a7(0x21c)](_0x4f4a63);return this['_checkIsCycleDependency'](_0x514190)&&this[_0x3b71a7(0x23c)][_0x3b71a7(0x23b)](),this[_0x3b71a7(0x24c)][_0x3b71a7(0x273)](),this[_0x3b71a7(0x1f9)]['clear'](),this[_0x3b71a7(0x200)][_0x3b71a7(0x25e)](),Promise[_0x3b71a7(0x1ec)](_0x514190);}['_isCyclicUtilMap'](_0x3598cd,_0x448c4e){const _0x2949ea=_0x1cb21d,_0x2f078e=[_0x3598cd];for(;_0x2f078e[_0x2949ea(0x252)]>0x0;){const _0x42cf4b=_0x2f078e[_0x2f078e[_0x2949ea(0x252)]-0x1];if((_0x448c4e[_0x2949ea(0x211)](_0x42cf4b)||0x0)===0x0){_0x448c4e[_0x2949ea(0x222)](_0x42cf4b,0x1);const _0x5028bb=this[_0x2949ea(0x24c)][_0x2949ea(0x211)](_0x42cf4b);if(_0x5028bb==null){_0x448c4e[_0x2949ea(0x222)](_0x42cf4b,0x2),_0x2f078e[_0x2949ea(0x1d7)]();continue;}const _0x57b008=this['_dependencyManagerService'][_0x2949ea(0x1cd)](_0x5028bb[_0x2949ea(0x1eb)]());for(const _0x55ac21 of _0x57b008){const _0x566d8b=_0x448c4e[_0x2949ea(0x211)](_0x55ac21)||0x0;if(_0x566d8b===0x1)return!0x0;_0x566d8b===0x0&&_0x2f078e[_0x2949ea(0x1e5)](_0x55ac21);}}else _0x448c4e[_0x2949ea(0x222)](_0x42cf4b,0x2),_0x2f078e['pop']();}return!0x1;}[_0x1cb21d(0x265)](_0x3fda0c){const _0x3c407f=_0x1cb21d,_0x18fc81=new Map();for(const _0x4ec884 of _0x3fda0c)if(!_0x18fc81['has'](_0x4ec884[_0x3c407f(0x1ce)])&&this[_0x3c407f(0x23e)](_0x4ec884[_0x3c407f(0x1ce)],_0x18fc81))return!0x0;return _0x18fc81['clear'](),!0x1;}[_0x1cb21d(0x208)](_0x199be3,_0xa82547,_0x3592a3){const _0x254a69=_0x1cb21d,{unitId:_0x4759f3,subUnitId:_0x3cab29,dependencyRanges:_0x153abb,getDirtyData:_0x5ab721}=_0x3592a3,_0x1446a8=_0xa82547||_0xa3fb44[_0x254a69(0x1f5)](this[_0x254a69(0x200)]),_0x578238=new _0xa3fb44[(_0x254a69(0x217))](_0x1446a8);_0x578238[_0x254a69(0x1cf)]=_0x4759f3,_0x578238[_0x254a69(0x225)]=_0x3cab29,_0x578238[_0x254a69(0x224)]=_0x153abb,_0x578238[_0x254a69(0x209)]=_0x5ab721;const _0x5857ff=_0x5ab721(this[_0x254a69(0x1e0)][_0x254a69(0x209)](),this[_0x254a69(0x23c)][_0x254a69(0x239)]()),_0x40d1d9=this[_0x254a69(0x258)](_0x5857ff['dirtyRanges']);return _0x578238[_0x254a69(0x1f6)]=_0x40d1d9,_0x578238[_0x254a69(0x1d0)]=_0x199be3,_0x578238['type']=_0xa3fb44['FormulaDependencyTreeType'][_0x254a69(0x1fe)],this[_0x254a69(0x200)][_0x254a69(0x24d)](_0x4759f3,_0x3cab29,_0x199be3,_0x578238),this[_0x254a69(0x24c)]['set'](_0x578238[_0x254a69(0x1ce)],_0x578238),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x3592a3[_0x254a69(0x1cf)],_0x3592a3['subUnitId'],_0x199be3)&&(_0x578238[_0x254a69(0x26c)]=!0x0),_0x578238;}[_0x1cb21d(0x266)](_0x3b5caa,_0x51f2aa,_0x49c765){const _0x2e01a3=_0x1cb21d;var _0x3b8d0e;for(const _0x4fb0b9 of _0x51f2aa){const _0xfa2da0=_0x3b5caa[_0x4fb0b9];if(_0xfa2da0==null)continue;const _0x9139cd=Object['keys'](_0xfa2da0);for(const _0x55dfe4 of _0x9139cd){const _0x3320aa=_0xfa2da0[_0x55dfe4];if(_0x3320aa==null)continue;const _0x347a9c=Object['keys'](_0x3320aa);for(const _0x12e0cd of _0x347a9c){const _0x168662=this[_0x2e01a3(0x200)][_0x2e01a3(0x251)](_0x12e0cd),_0x4ecdf4=_0x3320aa[_0x12e0cd],{f:_0x3aaeda,ranges:_0x5eccb8}=_0x4ecdf4;let _0x111597=!0x1;_0x168662&&(_0x111597=!0x0);const {firstRow:_0x1eb450,firstColumn:_0x46222c}=this['_getFirstCellOfRange'](_0x5eccb8),_0x386dff=this[_0x2e01a3(0x200)][_0x2e01a3(0x23a)](_0x4fb0b9,_0x55dfe4,_0x12e0cd),_0x578bd9=(_0x3b8d0e=_0x386dff==null?void 0x0:_0x386dff[_0x2e01a3(0x276)](0x0,0x0))!=null?_0x3b8d0e:_0xa3fb44[_0x2e01a3(0x1f5)](this['_dependencyManagerService']),_0x29c39f=new _0xa3fb44[(_0x2e01a3(0x217))](_0x578bd9);for(let _0x1994fc=0x0;_0x1994fc<_0x5eccb8[_0x2e01a3(0x252)];_0x1994fc++){const _0xdb3932=_0x5eccb8[_0x1994fc],{startRow:_0x3b57b3,startColumn:_0x17b7f0,endRow:_0x2d8f0d,endColumn:_0xe98b68}=_0xdb3932;for(let _0x4daa7f=_0x3b57b3;_0x4daa7f<=_0x2d8f0d;_0x4daa7f++)for(let _0x4f96b1=_0x17b7f0;_0x4f96b1<=_0xe98b68;_0x4f96b1++){const _0xb57ac0=_0x4f96b1-_0x46222c,_0x59586e=_0x4daa7f-_0x1eb450;if(_0xb57ac0===0x0&&_0x59586e===0x0){_0x29c39f[_0x2e01a3(0x1f4)]=_0x3aaeda,_0x29c39f[_0x2e01a3(0x1cf)]=_0x4fb0b9,_0x29c39f[_0x2e01a3(0x225)]=_0x55dfe4,_0x29c39f[_0x2e01a3(0x1e9)]=_0x12e0cd,_0x29c39f[_0x2e01a3(0x237)]=_0xa3fb44[_0x2e01a3(0x275)][_0x2e01a3(0x1c9)],_0x29c39f[_0x2e01a3(0x26c)]=_0x111597,_0x49c765[_0x2e01a3(0x1e5)](_0x29c39f),this[_0x2e01a3(0x24c)][_0x2e01a3(0x222)](_0x29c39f['treeId'],_0x29c39f),this[_0x2e01a3(0x200)][_0x2e01a3(0x1d5)](_0x4fb0b9,_0x55dfe4,_0x12e0cd,_0x29c39f),this['_dependencyManagerService'][_0x2e01a3(0x23d)](_0x29c39f);continue;}const _0x362ef8=new _0xa3fb44['FormulaDependencyTreeVirtual']();_0x362ef8[_0x2e01a3(0x1ce)]=(_0x386dff==null?void 0x0:_0x386dff[_0x2e01a3(0x276)](_0xb57ac0,_0x59586e))||_0xa3fb44['generateRandomDependencyTreeId'](this[_0x2e01a3(0x200)]),_0x362ef8[_0x2e01a3(0x1fd)]=_0x29c39f,_0x362ef8[_0x2e01a3(0x235)]=_0xb57ac0,_0x362ef8[_0x2e01a3(0x1fc)]=_0x59586e,_0x362ef8[_0x2e01a3(0x26c)]=_0x111597,this[_0x2e01a3(0x200)]['addOtherFormulaDependency'](_0x4fb0b9,_0x55dfe4,_0x12e0cd,_0x362ef8),this[_0x2e01a3(0x200)]['addFormulaDependencyByDefinedName'](_0x362ef8),_0x49c765[_0x2e01a3(0x1e5)](_0x362ef8),this[_0x2e01a3(0x24c)][_0x2e01a3(0x222)](_0x362ef8['treeId'],_0x362ef8);}}this[_0x2e01a3(0x200)]['addOtherFormulaDependencyMainData'](_0x12e0cd);}}}}[_0x1cb21d(0x247)](_0x23fee5,_0x5b22b7,_0x3484ea,_0x22f560){const _0x29fe72=_0x1cb21d;for(const _0x5def2c of _0x23fee5){const _0x3a2d0e=_0x5b22b7[_0x5def2c];if(_0x3a2d0e==null)continue;const _0x5ef8dd=Object['keys'](_0x3a2d0e);for(const _0x4cb119 of _0x5ef8dd){const _0x2add32=new _0x481507[(_0x29fe72(0x24e))](_0x3a2d0e[_0x4cb119]||{}),_0x1ef8ea=new Map();_0x2add32['forValue']((_0x9caeea,_0x468388,_0x63fa8c)=>{const _0x13d0f2=_0x29fe72;if(_0x63fa8c==null)return!0x0;const {x:_0x3ad786=0x0,y:_0x464057=0x0,si:_0x208e03}=_0x63fa8c;if(!(_0x3ad786===0x0&&_0x464057===0x0&&_0x208e03!=null))return!0x0;const _0x422582=this[_0x13d0f2(0x267)](_0x5def2c,_0x4cb119,_0x9caeea,_0x468388,_0x3484ea,_0x63fa8c),_0x3ce10e=this[_0x13d0f2(0x200)][_0x13d0f2(0x1e1)](_0x5def2c,_0x4cb119,_0x9caeea,_0x468388);_0x3ce10e!=null?_0x422582[_0x13d0f2(0x1ce)]=_0x3ce10e:(this[_0x13d0f2(0x200)][_0x13d0f2(0x285)](_0x5def2c,_0x4cb119,_0x9caeea,_0x468388,_0x422582),this[_0x13d0f2(0x200)][_0x13d0f2(0x23d)](_0x422582)),_0x1ef8ea[_0x13d0f2(0x222)](_0x208e03,_0x422582),_0x22f560[_0x13d0f2(0x1e5)](_0x422582),this[_0x13d0f2(0x24c)]['set'](_0x422582[_0x13d0f2(0x1ce)],_0x422582);}),_0x2add32[_0x29fe72(0x221)]((_0x1d9b16,_0x14d6ee,_0x56ffb1)=>{const _0x10b491=_0x29fe72;if(_0x56ffb1==null)return!0x0;const {x:_0x34a01a=0x0,y:_0x72a552=0x0,si:_0x194a4f}=_0x56ffb1;if(_0x34a01a===0x0&&_0x72a552===0x0&&_0x194a4f!=null)return!0x0;let _0x52fe40;if(_0x194a4f&&_0x1ef8ea['has'](_0x194a4f)){const _0x227202=_0x1ef8ea[_0x10b491(0x211)](_0x194a4f);_0x52fe40=this[_0x10b491(0x22f)](_0x227202,_0x56ffb1);}else _0x52fe40=this[_0x10b491(0x267)](_0x5def2c,_0x4cb119,_0x1d9b16,_0x14d6ee,_0x3484ea,_0x56ffb1);const _0x3de758=this[_0x10b491(0x200)][_0x10b491(0x1e1)](_0x5def2c,_0x4cb119,_0x1d9b16,_0x14d6ee);_0x3de758!=null?_0x52fe40[_0x10b491(0x1ce)]=_0x3de758:(this[_0x10b491(0x200)]['addFormulaDependency'](_0x5def2c,_0x4cb119,_0x1d9b16,_0x14d6ee,_0x52fe40),this[_0x10b491(0x200)]['addFormulaDependencyByDefinedName'](_0x52fe40)),_0x22f560[_0x10b491(0x1e5)](_0x52fe40),this['_dependencyTreeCache'][_0x10b491(0x222)](_0x52fe40[_0x10b491(0x1ce)],_0x52fe40);}),_0x1ef8ea['clear']();}}}[_0x1cb21d(0x267)](_0x508be1,_0xba52de,_0x507b5e,_0x396d84,_0x279a83,_0x2836e0){const _0x4fbddc=_0x1cb21d,{f:_0x26e0fb,x:_0x33a974=0x0,y:_0x2e0599=0x0}=_0x2836e0,_0x3c984c=new _0xa3fb44[(_0x4fbddc(0x217))](_0xa3fb44['generateRandomDependencyTreeId'](this[_0x4fbddc(0x200)])),_0x337a4e=_0x279a83[_0x508be1][_0xba52de];return _0x3c984c[_0x4fbddc(0x1f4)]=_0x26e0fb,_0x3c984c['unitId']=_0x508be1,_0x3c984c['subUnitId']=_0xba52de,_0x3c984c[_0x4fbddc(0x206)]=_0x507b5e,_0x3c984c[_0x4fbddc(0x246)]=_0x396d84,_0x3c984c['rowCount']=_0x337a4e[_0x4fbddc(0x20b)],_0x3c984c[_0x4fbddc(0x24f)]=_0x337a4e[_0x4fbddc(0x24f)],_0x3c984c;}['_getUpdateTreeListAndMakeDependency'](){const _0xc5d92e=_0x1cb21d,_0x319c61=[],_0x543d87=new Set(),_0x3bc6df=this[_0xc5d92e(0x1e0)][_0xc5d92e(0x213)](),_0x8e8e36=this[_0xc5d92e(0x1e0)][_0xc5d92e(0x205)](),_0x2639ab=this['_dependencyManagerService'][_0xc5d92e(0x1cd)](_0x8e8e36),_0x5a5493=this[_0xc5d92e(0x1f9)][_0xc5d92e(0x277)](_0x8e8e36);for(const _0x36612b of _0x5a5493)_0x2639ab['add'](_0x36612b);for(const [_0x495fd8,_0x1074be]of this[_0xc5d92e(0x24c)])(_0x3bc6df||_0x1074be[_0xc5d92e(0x21e)]||_0x1074be['dependencySheetName'](this[_0xc5d92e(0x1e0)][_0xc5d92e(0x282)]())||_0x2639ab['has'](_0x495fd8)&&!_0x1074be[_0xc5d92e(0x278)](this[_0xc5d92e(0x1e0)]['getExcludedRange']()))&&!_0x543d87[_0xc5d92e(0x270)](_0x495fd8)&&(_0x319c61[_0xc5d92e(0x1e5)](_0x1074be),_0x543d87[_0xc5d92e(0x212)](_0x495fd8));for(const [_0x1db6cb,_0x3d157b]of this[_0xc5d92e(0x24c)])_0x3d157b['isVirtual']||(_0x3d157b[_0xc5d92e(0x224)][_0xc5d92e(0x252)]=0x0);return _0x319c61;}[_0x1cb21d(0x1d4)](_0x51d5f8){const _0x8b705a=_0x1cb21d;return this['_dependencyTreeCache'][_0x8b705a(0x211)](_0x51d5f8);}[_0x1cb21d(0x27a)](_0x4ad703){const _0x484b86=_0x1cb21d;return _0xa3fb44[_0x484b86(0x249)](_0x4ad703[_0x484b86(0x1cf)],_0x4ad703[_0x484b86(0x1f4)],this[_0x484b86(0x240)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x1cb21d(0x1d8)](_0x199e4e,_0x3616b2){const _0x27ca16=_0x1cb21d,_0x14b3d5=_0x199e4e,_0x18a290=new Set();for(;_0x14b3d5['length']>0x0;){const _0x3dd75e=_0x14b3d5['pop']();if(_0x18a290[_0x27ca16(0x273)](),_0x3dd75e===void 0x0||_0x3dd75e[_0x27ca16(0x1db)]())continue;if(_0x3dd75e['isAdded']()){yield _0x3dd75e,_0x3dd75e[_0x27ca16(0x238)](),_0x3616b2['add'](_0x3dd75e[_0x27ca16(0x1ce)]);continue;}const _0x48fbf5=this['_dependencyManagerService']['searchDependency'](_0x3dd75e['toRTreeItem'](),_0x3616b2),_0x13e503=this[_0x27ca16(0x1f9)]['bulkSearch'](_0x3dd75e[_0x27ca16(0x1eb)](),_0x3616b2);for(const _0x515f05 of _0x13e503)_0x48fbf5['add'](_0x515f05);for(const _0x58d3be of _0x48fbf5){const _0xb43608=this[_0x27ca16(0x24c)][_0x27ca16(0x211)](_0x58d3be);if(!_0xb43608)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0xb43608['isAdded']()||_0x3dd75e['isSkip']()||_0x18a290[_0x27ca16(0x212)](_0xb43608);}if(_0x48fbf5['clear'](),_0x18a290[_0x27ca16(0x284)]===0x0)yield _0x3dd75e,_0x3dd75e[_0x27ca16(0x238)](),_0x3616b2['add'](_0x3dd75e[_0x27ca16(0x1ce)]);else{_0x3dd75e[_0x27ca16(0x20d)](),_0x14b3d5[_0x27ca16(0x1e5)](_0x3dd75e);for(const _0x1ec813 of _0x18a290)_0x14b3d5['push'](_0x1ec813);}}_0x14b3d5[_0x27ca16(0x252)]=0x0,_0x18a290[_0x27ca16(0x273)]();}[_0x1cb21d(0x21c)](_0xc9d499){const _0x178e04=_0x1cb21d,_0xf8210a=[],_0x31a957=new Set();for(const _0x3e9408 of this[_0x178e04(0x1d8)](_0xc9d499,_0x31a957))_0xf8210a[_0x178e04(0x1e5)](_0x3e9408);return _0xf8210a;}}class _0x318e67 extends _0xa3fb44[_0x1cb21d(0x1dc)]{async['_apply'](_0x56ee44=!0x1){const _0x5fc087=_0x1cb21d;_0x56ee44?this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)][_0x5fc087(0x231)]),this[_0x5fc087(0x280)][_0x5fc087(0x1cc)](this[_0x5fc087(0x23c)][_0x5fc087(0x268)]());const _0x7dd233=await this['_formulaDependencyGenerator'][_0x5fc087(0x1c8)](),_0x1a88e5=this[_0x5fc087(0x25f)];_0x56ee44?(this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)][_0x5fc087(0x281)]),this['_runtimeService'][_0x5fc087(0x256)](_0x7dd233[_0x5fc087(0x252)])):(this[_0x5fc087(0x23c)]['setFormulaExecuteStage'](_0xa3fb44[_0x5fc087(0x204)]['START_CALCULATION']),this[_0x5fc087(0x23c)]['setTotalFormulasToCalculate'](_0x7dd233['length'])),this[_0x5fc087(0x280)][_0x5fc087(0x1cc)](this[_0x5fc087(0x23c)][_0x5fc087(0x268)]());let _0x2cbd2e=[];const _0x2984ec=this['_configService'][_0x5fc087(0x1ee)](_0xa3fb44['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x5e4c4f=(_0x2984ec==null?void 0x0:_0x2984ec[_0x5fc087(0x21b)])||_0xa3fb44[_0x5fc087(0x203)];let _0xe121d5=0x0;const _0xa3386=_0x7dd233[_0x5fc087(0x252)];for(;_0x7dd233[_0x5fc087(0x252)]>0x0;){const _0x359cef=_0x7dd233[_0x5fc087(0x1d7)](),_0x11fd6a={'node':_0xa3fb44[_0x5fc087(0x249)](_0x359cef['unitId'],_0x359cef[_0x5fc087(0x1f4)],this[_0x5fc087(0x240)],this['_astTreeBuilder'],this[_0x5fc087(0x1e0)]),'refOffsetX':_0x359cef[_0x5fc087(0x235)],'refOffsetY':_0x359cef[_0x5fc087(0x1fc)]},_0xf9dcda=_0x359cef['getDirtyData'];if(_0xe121d5%_0x5e4c4f===0x0&&(await new Promise(_0x2098f1=>{const _0x3c1503=_0x5fc087,_0x2d4cbb=_0x481507['requestImmediateMacroTask'](_0x2098f1);_0x2cbd2e[_0x3c1503(0x1e5)](_0x2d4cbb);}),_0x56ee44?(this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)][_0x5fc087(0x233)]),this[_0x5fc087(0x23c)][_0x5fc087(0x202)](_0xe121d5+0x1)):(this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)][_0x5fc087(0x214)]),this[_0x5fc087(0x23c)]['setCompletedFormulasCount'](_0xe121d5+0x1)),this[_0x5fc087(0x280)][_0x5fc087(0x1cc)](this[_0x5fc087(0x23c)][_0x5fc087(0x268)]()),this[_0x5fc087(0x23c)][_0x5fc087(0x271)]()||_0x11fd6a==null&&_0xf9dcda==null)){this[_0x5fc087(0x23c)][_0x5fc087(0x272)](_0xa3fb44[_0x5fc087(0x204)][_0x5fc087(0x1ff)]),this[_0x5fc087(0x23c)][_0x5fc087(0x219)](),this[_0x5fc087(0x1f8)]['next'](this[_0x5fc087(0x23c)]['getAllRuntimeData']());return;}this[_0x5fc087(0x23c)][_0x5fc087(0x1d1)](_0x359cef['row'],_0x359cef[_0x5fc087(0x246)],_0x359cef['rowCount'],_0x359cef[_0x5fc087(0x24f)],_0x359cef[_0x5fc087(0x225)],_0x359cef[_0x5fc087(0x1cf)]);let _0x46d22a;if(_0xf9dcda!=null&&_0x359cef['featureId']!=null){const {runtimeCellData:_0x31b269,dirtyRanges:_0x5ab8e0}=_0xf9dcda(this['_currentConfigService'][_0x5fc087(0x209)](),this[_0x5fc087(0x23c)][_0x5fc087(0x239)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x359cef['featureId'],_0x31b269),this[_0x5fc087(0x23c)][_0x5fc087(0x25c)](_0x359cef[_0x5fc087(0x1d0)],_0x5ab8e0);}else _0x11fd6a!=null&&(_0x1a88e5[_0x5fc087(0x1ea)](_0x11fd6a['node'])?_0x46d22a=await _0x1a88e5[_0x5fc087(0x201)](_0x11fd6a):_0x46d22a=_0x1a88e5[_0x5fc087(0x1d6)](_0x11fd6a),_0x359cef[_0x5fc087(0x1e9)]!=null?this[_0x5fc087(0x23c)][_0x5fc087(0x20c)](_0x359cef[_0x5fc087(0x1e9)],_0x359cef[_0x5fc087(0x235)],_0x359cef[_0x5fc087(0x1fc)],_0x46d22a):this[_0x5fc087(0x23c)]['setRuntimeData'](_0x46d22a));_0xe121d5++;}return _0x2cbd2e[_0x5fc087(0x250)](_0x183b89=>_0x183b89()),_0x2cbd2e=[],_0xa3386>0x0?this[_0x5fc087(0x23c)][_0x5fc087(0x21a)]():_0x56ee44||this['_runtimeService'][_0x5fc087(0x1f7)](),this[_0x5fc087(0x23c)]['getAllRuntimeData']();}}class _0xe95c59 extends _0xa3fb44[_0x1cb21d(0x254)]{constructor(){const _0x234ba9=_0x1cb21d;super(...arguments),_0x229514(this,_0x234ba9(0x279),new Map()),_0x229514(this,_0x234ba9(0x1f3),new _0x481507[(_0x234ba9(0x248))](!0x0));}[_0x1cb21d(0x20e)](){const _0x34bfe3=_0x1cb21d;this[_0x34bfe3(0x218)][_0x34bfe3(0x273)](),this[_0x34bfe3(0x264)][_0x34bfe3(0x273)](),this[_0x34bfe3(0x227)]['clear'](),this[_0x34bfe3(0x1f3)][_0x34bfe3(0x273)](),this[_0x34bfe3(0x279)][_0x34bfe3(0x273)](),this[_0x34bfe3(0x283)](),this[_0x34bfe3(0x1e7)][_0x34bfe3(0x273)]();}[_0x1cb21d(0x1d5)](_0x385b2b,_0x48455d,_0x49b4f0,_0x5f495e){const _0x2f896d=_0x1cb21d;this['_otherFormulaData']['has'](_0x385b2b)||this[_0x2f896d(0x218)][_0x2f896d(0x222)](_0x385b2b,new Map());const _0x283a71=this['_otherFormulaData'][_0x2f896d(0x211)](_0x385b2b);_0x283a71[_0x2f896d(0x270)](_0x48455d)||_0x283a71[_0x2f896d(0x222)](_0x48455d,new Map());const _0xcf5d95=_0x283a71['get'](_0x48455d);_0xcf5d95[_0x2f896d(0x270)](_0x49b4f0)||_0xcf5d95[_0x2f896d(0x222)](_0x49b4f0,new _0x481507[(_0x2f896d(0x24e))]()),_0xcf5d95['get'](_0x49b4f0)[_0x2f896d(0x26f)](_0x5f495e[_0x2f896d(0x235)],_0x5f495e['refOffsetY'],_0x5f495e[_0x2f896d(0x1ce)]);}['removeOtherFormulaDependency'](_0x48f201,_0x4eb70a,_0x406984){const _0x5ebe79=_0x1cb21d,_0x5db11c=this[_0x5ebe79(0x218)][_0x5ebe79(0x211)](_0x48f201);if(_0x5db11c&&_0x5db11c['has'](_0x4eb70a)){const _0x5cca7d=_0x5db11c[_0x5ebe79(0x211)](_0x4eb70a);_0x406984[_0x5ebe79(0x250)](_0x141742=>{const _0x15e724=_0x5ebe79,_0x3c69ed=_0x5cca7d[_0x15e724(0x211)](_0x141742);_0x3c69ed!=null&&(_0x3c69ed[_0x15e724(0x221)]((_0x3d0cff,_0x560b54,_0x175456)=>{const _0x2f2582=_0x15e724;this[_0x2f2582(0x259)](_0x175456),this[_0x2f2582(0x1e2)](_0x175456);}),_0x5cca7d[_0x15e724(0x1e8)](_0x141742),this[_0x15e724(0x1e7)][_0x15e724(0x1e8)](_0x141742));}),_0x5cca7d[_0x5ebe79(0x284)]===0x0&&_0x5db11c[_0x5ebe79(0x1e8)](_0x4eb70a),_0x5db11c['size']===0x0&&this['_otherFormulaData']['delete'](_0x48f201);}}['clearOtherFormulaDependency'](_0x2fa23f,_0x4a152e){const _0x98a5e9=_0x1cb21d,_0x40791e=this[_0x98a5e9(0x218)][_0x98a5e9(0x211)](_0x2fa23f);if(_0x4a152e&&_0x40791e&&_0x40791e[_0x98a5e9(0x270)](_0x4a152e)){const _0x181703=_0x40791e['get'](_0x4a152e);this['_removeDependencyRTreeCacheById'](_0x2fa23f,_0x4a152e);for(const _0x2b4fa6 of _0x181703[_0x98a5e9(0x21f)]()){const _0x12dd59=_0x181703[_0x98a5e9(0x211)](_0x2b4fa6);_0x12dd59!=null&&(_0x12dd59[_0x98a5e9(0x221)]((_0x58c945,_0x1e09ff,_0x225e3c)=>{const _0x3b0739=_0x98a5e9;this[_0x3b0739(0x279)][_0x3b0739(0x211)](_0x225e3c)&&this[_0x3b0739(0x1e2)](_0x225e3c);}),this[_0x98a5e9(0x1e7)][_0x98a5e9(0x1e8)](_0x2b4fa6));}_0x181703[_0x98a5e9(0x273)]();}else{if(_0x40791e){for(const _0x303f01 of _0x40791e[_0x98a5e9(0x21f)]()){const _0x3ba172=_0x40791e['get'](_0x303f01);this[_0x98a5e9(0x26a)](_0x2fa23f,_0x303f01);for(const _0x569e72 of _0x3ba172['keys']()){const _0xb5932f=_0x3ba172[_0x98a5e9(0x211)](_0x569e72);_0xb5932f!=null&&(_0xb5932f['forValue']((_0x3c53dd,_0x25cda1,_0x46ade4)=>{const _0x5601c9=_0x98a5e9;this['_allTreeMap'][_0x5601c9(0x211)](_0x46ade4)&&this['_removeAllTreeMap'](_0x46ade4);}),this[_0x98a5e9(0x1e7)]['delete'](_0x569e72));}}this[_0x98a5e9(0x218)][_0x98a5e9(0x1e8)](_0x2fa23f);}}}[_0x1cb21d(0x24d)](_0x214c17,_0x3304a5,_0x1067f2,_0x15e7a9){const _0x59b923=_0x1cb21d;this[_0x59b923(0x264)][_0x59b923(0x270)](_0x214c17)||this[_0x59b923(0x264)]['set'](_0x214c17,new Map());const _0x2998c9=this['_featureFormulaData'][_0x59b923(0x211)](_0x214c17);_0x2998c9[_0x59b923(0x270)](_0x3304a5)||_0x2998c9[_0x59b923(0x222)](_0x3304a5,new Map()),_0x2998c9[_0x59b923(0x211)](_0x3304a5)['set'](_0x1067f2,_0x15e7a9[_0x59b923(0x1ce)]);}[_0x1cb21d(0x234)](_0x53f437,_0x445b74,_0x38b256){const _0x4fbb06=_0x1cb21d,_0x31c0b9=this['_featureFormulaData'][_0x4fbb06(0x211)](_0x53f437);if(_0x31c0b9&&_0x31c0b9[_0x4fbb06(0x270)](_0x445b74)){const _0x90a76c=_0x31c0b9['get'](_0x445b74);_0x38b256[_0x4fbb06(0x250)](_0x187241=>{const _0x58fb1b=_0x90a76c['get'](_0x187241);_0x58fb1b!=null&&(this['_removeDependencyRTreeCache'](_0x58fb1b),_0x90a76c['delete'](_0x187241),this['_removeAllTreeMap'](_0x58fb1b));});}}[_0x1cb21d(0x22e)](_0x42c348,_0x470344){const _0x1374b0=_0x1cb21d,_0x1c0655=this[_0x1374b0(0x264)][_0x1374b0(0x211)](_0x42c348);if(_0x470344&&_0x1c0655&&_0x1c0655[_0x1374b0(0x270)](_0x470344)){const _0x28ecf9=_0x1c0655[_0x1374b0(0x211)](_0x470344);this[_0x1374b0(0x26a)](_0x42c348,_0x470344),_0x28ecf9[_0x1374b0(0x250)](_0x12ce11=>{const _0x46768c=_0x1374b0;_0x12ce11!=null&&this[_0x46768c(0x1e2)](_0x12ce11);}),_0x28ecf9[_0x1374b0(0x273)]();}else _0x1c0655&&(_0x1c0655[_0x1374b0(0x250)]((_0x2a5ab2,_0x12864c)=>{const _0x3e34bf=_0x1374b0;this[_0x3e34bf(0x26a)](_0x42c348,_0x12864c),_0x2a5ab2[_0x3e34bf(0x250)](_0x28f8dc=>{const _0x2e816c=_0x3e34bf;_0x28f8dc!=null&&this[_0x2e816c(0x1e2)](_0x28f8dc);});}),this[_0x1374b0(0x264)][_0x1374b0(0x1e8)](_0x42c348));}[_0x1cb21d(0x285)](_0x179df0,_0xce92c2,_0x189c10,_0x13db10,_0x1fd7c4){const _0x3c0974=_0x1cb21d;this[_0x3c0974(0x227)][_0x3c0974(0x270)](_0x179df0)||this[_0x3c0974(0x227)][_0x3c0974(0x222)](_0x179df0,new Map());const _0x19599f=this[_0x3c0974(0x227)][_0x3c0974(0x211)](_0x179df0);_0x19599f['has'](_0xce92c2)||_0x19599f[_0x3c0974(0x222)](_0xce92c2,new _0x481507[(_0x3c0974(0x24e))]()),_0x19599f['get'](_0xce92c2)[_0x3c0974(0x26f)](_0x189c10,_0x13db10,_0x1fd7c4[_0x3c0974(0x1ce)]);}[_0x1cb21d(0x1f2)](_0x2a6590,_0x3201a8,_0x15aadb,_0x595a41){const _0x3b5be1=_0x1cb21d,_0x3b48d1=this[_0x3b5be1(0x227)]['get'](_0x2a6590);if(_0x3b48d1&&_0x3b48d1['has'](_0x3201a8)){const _0x1dfd97=_0x3b48d1[_0x3b5be1(0x211)](_0x3201a8),_0x5d2b9c=_0x1dfd97['getValue'](_0x15aadb,_0x595a41);if(_0x5d2b9c==null)return;this[_0x3b5be1(0x259)](_0x5d2b9c),_0x1dfd97[_0x3b5be1(0x27e)](_0x15aadb,_0x595a41),this[_0x3b5be1(0x1e2)](_0x5d2b9c);}}[_0x1cb21d(0x1fb)](_0x2a1289,_0x3647e0){const _0x54438a=_0x1cb21d,_0x5d4394=this[_0x54438a(0x227)][_0x54438a(0x211)](_0x2a1289);if(_0x3647e0&&_0x5d4394&&_0x5d4394['has'](_0x3647e0)){const _0x36aec7=_0x5d4394[_0x54438a(0x211)](_0x3647e0);this[_0x54438a(0x26a)](_0x2a1289,_0x3647e0),_0x36aec7[_0x54438a(0x221)]((_0x2e068d,_0x1c08c3,_0x195088)=>{if(_0x195088==null)return!0x0;this['_removeAllTreeMap'](_0x195088);}),_0x36aec7[_0x54438a(0x20e)]();}else _0x5d4394&&(_0x5d4394['forEach']((_0x558913,_0x2f5134)=>{const _0x1f893b=_0x54438a;this[_0x1f893b(0x26a)](_0x2a1289,_0x2f5134),_0x558913[_0x1f893b(0x221)]((_0x5da2c7,_0x351495,_0x33683e)=>{if(_0x33683e==null)return!0x0;this['_removeAllTreeMap'](_0x33683e);});}),this[_0x54438a(0x227)]['delete'](_0x2a1289));}[_0x1cb21d(0x259)](_0x4d00f2){const _0x4988c=_0x1cb21d;if(_0x4d00f2==null)return;const _0x43af7c=this[_0x4988c(0x279)][_0x4988c(0x211)](_0x4d00f2);if(_0x43af7c){const _0x46e20f=[];for(const [_0x1a8786,_0xa5c51f]of _0x43af7c)for(const [_0x50c7b1,_0x130032]of _0xa5c51f)_0x46e20f[_0x4988c(0x1e5)]({'unitId':_0x1a8786,'sheetId':_0x50c7b1,'range':_0x130032,'id':_0x4d00f2});this[_0x4988c(0x1f3)][_0x4988c(0x24a)](_0x46e20f);}}[_0x1cb21d(0x210)](_0x593099,_0x562c09){const _0x32cc7f=_0x1cb21d,_0x1c3172=this[_0x32cc7f(0x1c7)]['get'](_0x593099);if(_0x1c3172){const _0x1a0a91=_0x1c3172['get'](_0x562c09);if(_0x1a0a91){for(const _0x6cb24c of _0x1a0a91)this[_0x32cc7f(0x259)](_0x6cb24c),this[_0x32cc7f(0x1e2)](_0x6cb24c);_0x1a0a91['clear']();}}}[_0x1cb21d(0x243)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x1cb21d(0x25e)](){const _0x48fc80=_0x1cb21d;this[_0x48fc80(0x1f3)]['closeKdTree']();}['_removeAllTreeMap'](_0x315fd0){const _0x40cf0c=_0x1cb21d;_0x315fd0!=null&&this[_0x40cf0c(0x279)][_0x40cf0c(0x1e8)](_0x315fd0);}['_addAllTreeMap'](_0x40a2f8){const _0x5a5b29=_0x1cb21d;var _0x57e65d,_0x41f303;const _0x30ce10=_0x40a2f8['rangeList'];let _0x3a41a5=this['_allTreeMap'][_0x5a5b29(0x211)](_0x40a2f8[_0x5a5b29(0x1ce)]);for(let _0x4755cb=0x0;_0x4755cb<_0x30ce10[_0x5a5b29(0x252)];_0x4755cb++){const _0x523248=_0x30ce10[_0x4755cb];let {unitId:_0x5a6649,sheetId:_0x2bca90,range:_0x4acc7d}=_0x523248;_0x3a41a5||(_0x3a41a5=new Map(),this[_0x5a5b29(0x279)][_0x5a5b29(0x222)](_0x40a2f8['treeId'],_0x3a41a5)),_0x3a41a5[_0x5a5b29(0x270)](_0x5a6649)||_0x3a41a5[_0x5a5b29(0x222)](_0x5a6649,new Map());const _0xf49828=(_0x57e65d=_0x3a41a5==null?void 0x0:_0x3a41a5[_0x5a5b29(0x211)](_0x5a6649))==null?void 0x0:_0x57e65d[_0x5a5b29(0x211)](_0x2bca90);_0xf49828&&(_0x4acc7d={'startRow':Math[_0x5a5b29(0x216)](_0x4acc7d['startRow'],_0xf49828[_0x5a5b29(0x21d)]),'startColumn':Math[_0x5a5b29(0x216)](_0x4acc7d[_0x5a5b29(0x27b)],_0xf49828['startColumn']),'endRow':Math[_0x5a5b29(0x1e3)](_0x4acc7d['endRow'],_0xf49828[_0x5a5b29(0x26d)]),'endColumn':Math[_0x5a5b29(0x1e3)](_0x4acc7d[_0x5a5b29(0x242)],_0xf49828[_0x5a5b29(0x242)])}),(_0x41f303=_0x3a41a5['get'](_0x5a6649))==null||_0x41f303[_0x5a5b29(0x222)](_0x2bca90,_0x4acc7d);}}}var _0x5f339e=Object[_0x1cb21d(0x1d2)],_0x54380e=(_0x4c5a56,_0x498169,_0x10ebf1,_0x4c4d4a)=>{for(var _0x3d7ad4=_0x4c4d4a>0x1?void 0x0:_0x4c4d4a?_0x5f339e(_0x498169,_0x10ebf1):_0x498169,_0x48ad4a=_0x4c5a56['length']-0x1,_0xd20bc7;_0x48ad4a>=0x0;_0x48ad4a--)(_0xd20bc7=_0x4c5a56[_0x48ad4a])&&(_0x3d7ad4=_0xd20bc7(_0x3d7ad4)||_0x3d7ad4);return _0x3d7ad4;};const _0x439b2c=Number[_0x1cb21d(0x1d9)](0x68834fbc);_0x362ccb[_0x1cb21d(0x22c)]=class extends _0xa3fb44[_0x1cb21d(0x261)]{[_0x1cb21d(0x1fa)](){const _0x185e1f=_0x1cb21d;var _0x524f28,_0x1d56cd;this[_0x185e1f(0x220)]()?(_0x524f28=this[_0x185e1f(0x1e4)])!=null&&_0x524f28[_0x185e1f(0x241)]||[[_0xa3fb44[_0x185e1f(0x230)],{'useClass':_0x318e67}],[_0xa3fb44[_0x185e1f(0x260)],{'useClass':_0xe95c59}],[_0xa3fb44['IFormulaDependencyGenerator'],{'useClass':_0x2c6825}]][_0x185e1f(0x250)](_0x6a81a9=>this['_injector'][_0x185e1f(0x212)](_0x6a81a9)):(_0x1d56cd=this[_0x185e1f(0x1e4)])!=null&&_0x1d56cd[_0x185e1f(0x241)]||[[_0xa3fb44[_0x185e1f(0x230)],{'useClass':_0xa3fb44[_0x185e1f(0x1dc)]}],[_0xa3fb44['IDependencyManagerService'],{'useClass':_0xa3fb44[_0x185e1f(0x1da)]}],[_0xa3fb44[_0x185e1f(0x1ca)],{'useClass':_0xa3fb44[_0x185e1f(0x253)]}]][_0x185e1f(0x250)](_0x336bc7=>this[_0x185e1f(0x25b)]['add'](_0x336bc7));}[_0x1cb21d(0x220)](){const _0x1b8bd5=_0x1cb21d;var _0x3ca2e0;const _0x14d74e=(_0x3ca2e0=this[_0x1b8bd5(0x20a)][_0x1b8bd5(0x1ee)](_0x1e35da[_0x1b8bd5(0x20f)]))!=null?_0x3ca2e0:{},{ls:_0x3aabb2,pbk:_0x58d1b}=_0x14d74e;if(!_0x3aabb2||!_0x58d1b)return!0x1;const _0x45e2c5=_0x1e35da[_0x1b8bd5(0x228)](_0x48d8a0,_0x5b3135),_0x393799=new Function(_0x1b8bd5(0x25d)+_0x45e2c5)()(_0x3aabb2,_0x58d1b),_0xebdb0d=_0x393799[_0x1b8bd5(0x1ed)];return _0x393799['valid']&&_0x1e35da[_0x1b8bd5(0x244)](_0xebdb0d,'sf',_0x439b2c)?_0x1e35da[_0x1b8bd5(0x26b)](_0xebdb0d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x362ccb['UniverProFormulaEnginePlugin']=_0x54380e([_0x481507['DependentOn'](_0x1e35da[_0x1cb21d(0x22d)])],_0x362ccb['UniverProFormulaEnginePlugin']),Object[_0x1cb21d(0x21f)](_0xa3fb44)[_0x1cb21d(0x250)](_0xd1176d=>{const _0x5960bc=_0x1cb21d;_0xd1176d!==_0x5960bc(0x23f)&&!Object[_0x5960bc(0x269)][_0x5960bc(0x262)][_0x5960bc(0x1df)](_0x362ccb,_0xd1176d)&&Object[_0x5960bc(0x207)](_0x362ccb,_0xd1176d,{'enumerable':!0x0,'get':()=>_0xa3fb44[_0xd1176d]});}),Object['defineProperty'](_0x362ccb,Symbol[_0x1cb21d(0x27d)],{'value':'Module'});}));function _0x1399(_0xaa21c7,_0x5e6fcf){const _0x5e9606=_0x5e96();return _0x1399=function(_0x1399c7,_0x5e3e9f){_0x1399c7=_0x1399c7-0x1c7;let _0x42acef=_0x5e9606[_0x1399c7];return _0x42acef;},_0x1399(_0xaa21c7,_0x5e6fcf);}function _0x5e96(){const _0x19ed52=['enableCycleDependency','_runtimeService','addFormulaDependencyByDefinedName','_isCyclicUtilMap','default','_lexer','notExecuteFormula','endColumn','openKdTree','isFeatureAuthorizedWithinTime','50130SErVKv','column','_registerFormulas','RTree','generateAstNode','bulkRemove','3CrMqTD','_dependencyTreeCache','addFeatureFormulaDependency','ObjectMatrix','columnCount','forEach','hasOtherFormulaDataMainData','length','FormulaDependencyGenerator','DependencyManagerBaseService','_getUpdateTreeListAndMakeDependency','setTotalArrayFormulasToCalculate','12bzgJHh','_convertDirtyRangesToUnitRange','_removeDependencyRTreeCache','2439236Iszchc','_injector','setRuntimeFeatureRange','return\x20','closeKdTree','_interpreter','IDependencyManagerService','UniverFormulaEnginePlugin','hasOwnProperty','UniverEngineFormula','_featureFormulaData','_checkIsCycleDependency','_registerOtherFormulas','_createFDtree','getRuntimeState','prototype','_removeDependencyRTreeCacheById','getSheetFeatureLimit','isCache','endRow','function','setValue','has','isStopExecution','setFormulaExecuteStage','clear','1784390arSqoA','FormulaDependencyTreeType','getValue','bulkSearch','isExcludeRange','_allTreeMap','_getTreeNode','startColumn','getUnitData','toStringTag','realDeleteValue','@univerjs-pro/license','_executionInProgressListener$','START_CALCULATION_ARRAY_FORMULA','getDirtyNameMap','_restDependencyTreeId','size','addFormulaDependency','_definedNameMap','generate','OTHER_FORMULA','IFormulaDependencyGenerator','dispose','next','searchDependency','treeId','unitId','featureId','setCurrent','getOwnPropertyDescriptor','73356HCEIYm','_getTreeById','addOtherFormulaDependency','execute','pop','_traverse','parseInt','DependencyManagerService','isSkip','CalculateFormulaService','UniverProEngineFormula','924840bhdYkU','call','_currentConfigService','getFormulaDependency','_removeAllTreeMap','max','_config','push','getClearDependencyTreeCache','_otherFormulaDataMainData','delete','formulaId','checkAsyncNode','toRTreeItem','resolve','message','getConfig','getOtherFormulaData','getFormulaData','@univerjs/core','removeFormulaDependency','_dependencyRTreeCache','formula','generateRandomDependencyTreeId','featureDirtyRanges','markedAsNoFunctionsExecuted','_executionCompleteListener$','_dependencyRTreeCacheForAddressFunction','_initializeWithOverride','clearFormulaDependency','refOffsetY','refTree','FEATURE_FORMULA','IDLE','_dependencyManagerService','executeAsync','setCompletedArrayFormulasCount','DEFAULT_INTERVAL_COUNT','FormulaExecuteStageType','getDirtyRanges','row','defineProperty','_getFeatureFormulaTree','getDirtyData','_configService','rowCount','setRuntimeOtherData','setAdded','reset','LS_CONFIG_KEY','removeFormulaDependencyByDefinedName','get','add','isForceCalculate','CURRENTLY_CALCULATING','1130XeefxE','min','FormulaDependencyTree','_otherFormulaData','markedAsStopFunctionsExecuted','markedAsSuccessfullyExecuted','intervalCount','_calculateRunList','startRow','isDirty','keys','_initLicenseValid','forValue','set','_generateTreeList','rangeList','subUnitId','UniverProLicense','_formulaData','unshiftString','5851174VZMWgE','UniverCore','@univerjs/engine-formula','UniverProFormulaEnginePlugin','UniverLicensePlugin','clearFeatureFormulaDependency','_createVirtualFDtree','ICalculateFormulaService','START_DEPENDENCY','5281952IDQpqR','CURRENTLY_CALCULATING_ARRAY_FORMULA','removeFeatureFormulaDependency','refOffsetX','_updateRangeFlatten','type','setSkip','getAllRuntimeData','getOtherFormulaDependency'];_0x5e96=function(){return _0x19ed52;};return _0x5e96();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs-pro/license": "0.9.
|
|
61
|
-
"@univerjs/core": "0.9.
|
|
62
|
-
"@univerjs/engine-formula": "0.9.
|
|
60
|
+
"@univerjs-pro/license": "0.9.4",
|
|
61
|
+
"@univerjs/core": "0.9.4",
|
|
62
|
+
"@univerjs/engine-formula": "0.9.4"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|
|
66
66
|
"typescript": "^5.8.3",
|
|
67
67
|
"vite": "^7.0.5",
|
|
68
68
|
"vitest": "^3.2.4",
|
|
69
|
-
"@univerjs-infra/shared": "0.9.
|
|
69
|
+
"@univerjs-infra/shared": "0.9.4"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|