@univerjs-pro/engine-formula 0.8.3 → 0.9.1-nightly.202507041607

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e426c=_0x22db;(function(_0x3257be,_0x1f6a46){const _0x32d832=_0x22db,_0x4a8b16=_0x3257be();while(!![]){try{const _0xe0ec91=-parseInt(_0x32d832(0x12f))/0x1+-parseInt(_0x32d832(0x11f))/0x2*(-parseInt(_0x32d832(0x126))/0x3)+-parseInt(_0x32d832(0x127))/0x4*(-parseInt(_0x32d832(0x121))/0x5)+parseInt(_0x32d832(0x131))/0x6*(-parseInt(_0x32d832(0x120))/0x7)+-parseInt(_0x32d832(0x12c))/0x8*(-parseInt(_0x32d832(0x130))/0x9)+parseInt(_0x32d832(0x123))/0xa+parseInt(_0x32d832(0x132))/0xb;if(_0xe0ec91===_0x1f6a46)break;else _0x4a8b16['push'](_0x4a8b16['shift']());}catch(_0x202054){_0x4a8b16['push'](_0x4a8b16['shift']());}}}(_0x13f8,0x26bea));function _0x13f8(){const _0x28fca0=['325504JiQPem','prototype','toStringTag','150251RvQCaf','9dOqgLl','31092sWNkom','1376859kbmpEl','call','89074XJfJAI','84gdcCIO','68105nuPwHf','Module','245290sQDfYM','defineProperty','hasOwnProperty','3EcmBNU','40JdAMnm','forEach','@univerjs/engine-formula/facade','default','keys'];_0x13f8=function(){return _0x28fca0;};return _0x13f8();}Object[_0x3e426c(0x124)](exports,Symbol[_0x3e426c(0x12e)],{'value':_0x3e426c(0x122)});function _0x22db(_0x39b276,_0x29a4de){const _0x13f823=_0x13f8();return _0x22db=function(_0x22db56,_0x34539b){_0x22db56=_0x22db56-0x11f;let _0x3fa942=_0x13f823[_0x22db56];return _0x3fa942;},_0x22db(_0x39b276,_0x29a4de);}const t=require(_0x3e426c(0x129));Object[_0x3e426c(0x12b)](t)[_0x3e426c(0x128)](_0x412246=>{const _0x6e0fa8=_0x3e426c;_0x412246!==_0x6e0fa8(0x12a)&&!Object[_0x6e0fa8(0x12d)][_0x6e0fa8(0x125)][_0x6e0fa8(0x133)](exports,_0x412246)&&Object[_0x6e0fa8(0x124)](exports,_0x412246,{'enumerable':!0x0,'get':()=>t[_0x412246]});});
1
+ 'use strict';function _0x73cc(){const _0x521dbc=['prototype','925635ZhIHSg','default','7XDddDP','1992807sfPTqu','442988LWcrps','Module','3ObbxoD','250398loWbAR','2359976DyMmdK','defineProperty','forEach','2449376KCQCbt','2916840lsKdtY','toStringTag','call'];_0x73cc=function(){return _0x521dbc;};return _0x73cc();}function _0x1d4e(_0x4cc4e3,_0x1b757e){const _0x73ccd4=_0x73cc();return _0x1d4e=function(_0x1d4e6f,_0x3d4541){_0x1d4e6f=_0x1d4e6f-0x1d0;let _0x1dce35=_0x73ccd4[_0x1d4e6f];return _0x1dce35;},_0x1d4e(_0x4cc4e3,_0x1b757e);}const _0x214f11=_0x1d4e;(function(_0x46f0f2,_0x21e667){const _0x48a5b6=_0x1d4e,_0x37bb27=_0x46f0f2();while(!![]){try{const _0x8201bd=-parseInt(_0x48a5b6(0x1d6))/0x1+-parseInt(_0x48a5b6(0x1d9))/0x2+-parseInt(_0x48a5b6(0x1d8))/0x3*(-parseInt(_0x48a5b6(0x1da))/0x4)+-parseInt(_0x48a5b6(0x1d2))/0x5+parseInt(_0x48a5b6(0x1de))/0x6*(parseInt(_0x48a5b6(0x1d4))/0x7)+parseInt(_0x48a5b6(0x1dd))/0x8+-parseInt(_0x48a5b6(0x1d5))/0x9;if(_0x8201bd===_0x21e667)break;else _0x37bb27['push'](_0x37bb27['shift']());}catch(_0x2ea048){_0x37bb27['push'](_0x37bb27['shift']());}}}(_0x73cc,0x63811));Object[_0x214f11(0x1db)](exports,Symbol[_0x214f11(0x1df)],{'value':_0x214f11(0x1d7)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x214f11(0x1dc)](_0x512ea4=>{const _0x56b1fd=_0x214f11;_0x512ea4!==_0x56b1fd(0x1d3)&&!Object[_0x56b1fd(0x1d1)]['hasOwnProperty'][_0x56b1fd(0x1d0)](exports,_0x512ea4)&&Object[_0x56b1fd(0x1db)](exports,_0x512ea4,{'enumerable':!0x0,'get':()=>t[_0x512ea4]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x34f7(_0x35d588,_0x21e597){const _0x40ee82=_0x40ee();return _0x34f7=function(_0x34f79f,_0x2a98c3){_0x34f79f=_0x34f79f-0x11a;let _0x574261=_0x40ee82[_0x34f79f];return _0x574261;},_0x34f7(_0x35d588,_0x21e597);}const _0x251edc=_0x34f7;(function(_0x208688,_0x2600fb){const _0xbc7bca=_0x34f7,_0x456997=_0x208688();while(!![]){try{const _0x5a6cfd=parseInt(_0xbc7bca(0x169))/0x1+-parseInt(_0xbc7bca(0x1a9))/0x2*(parseInt(_0xbc7bca(0x127))/0x3)+-parseInt(_0xbc7bca(0x14e))/0x4*(parseInt(_0xbc7bca(0x181))/0x5)+parseInt(_0xbc7bca(0x17c))/0x6*(-parseInt(_0xbc7bca(0x15b))/0x7)+parseInt(_0xbc7bca(0x18c))/0x8*(-parseInt(_0xbc7bca(0x168))/0x9)+-parseInt(_0xbc7bca(0x152))/0xa+-parseInt(_0xbc7bca(0x17f))/0xb*(-parseInt(_0xbc7bca(0x16c))/0xc);if(_0x5a6cfd===_0x2600fb)break;else _0x456997['push'](_0x456997['shift']());}catch(_0x2e843c){_0x456997['push'](_0x456997['shift']());}}}(_0x40ee,0x84436));var z=Object[_0x251edc(0x141)],j=(_0x322411,_0x348460,_0xc39a2)=>_0x348460 in _0x322411?z(_0x322411,_0x348460,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc39a2}):_0x322411[_0x348460]=_0xc39a2,I=(_0x29952a,_0x226eeb,_0x336cbe)=>j(_0x29952a,typeof _0x226eeb!=_0x251edc(0x134)?_0x226eeb+'':_0x226eeb,_0x336cbe);Object['defineProperty'](exports,Symbol[_0x251edc(0x1a8)],{'value':_0x251edc(0x172)});const v=require('@univerjs-pro/license'),T=require('@univerjs/core'),u=require('@univerjs/engine-formula'),b={0x0:'g',0x1:'u',0x2:'W',0x3:'j',0x4:'y',0x5:'9',0x6:'H',0x7:'2',0x8:'C',0x9:'n','g':'0','l':'1','t':'3','n':'4','q':'5','W':'6','S':'7','r':'8','U':'a','i':'b','E':'c','M':'d','e':'e','L':'f','a':'h','H':'i','V':'k','z':'l','j':'m','P':'o','C':'p','K':'q','I':'r','d':'s','N':'t','O':'v','T':'w','u':'x','Z':'z','X':'A','m':'B','D':'D','h':'E','b':'F','J':'G','y':'I','Y':'J','x':'K','R':'L','F':'M','s':'N','Q':'O','c':'P','p':'Q','G':'R','A':'S','v':'T','f':'U','k':'V','w':'X','o':'Y','B':'Z'},k=_0x251edc(0x158);class V extends u[_0x251edc(0x147)]{constructor(){const _0x484cc1=_0x251edc;super(...arguments),I(this,_0x484cc1(0x1c7),new Map());}['dispose'](){const _0x3b8f20=_0x251edc;super[_0x3b8f20(0x1d8)](),this['_dependencyTreeCache'][_0x3b8f20(0x1b7)]();}async[_0x251edc(0x146)](){const _0x58c003=_0x251edc;this[_0x58c003(0x19e)]();const _0x1fea01=this[_0x58c003(0x128)]['getFormulaData'](),_0x3a86a2=this[_0x58c003(0x16e)][_0x58c003(0x1cf)](),_0x2ae021=this['_currentConfigService'][_0x58c003(0x157)]();_0x2ae021!=null&&Object[_0x58c003(0x1b5)](_0x2ae021)[_0x58c003(0x155)](_0x22768f=>{const _0x1c6189=_0x58c003;_0x22768f!=null&&Object[_0x1c6189(0x1b5)](_0x2ae021[_0x22768f])[_0x1c6189(0x155)](_0x3b6763=>{const _0x4e7c2a=_0x1c6189;_0x3b6763!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x22768f,_0x3b6763),this[_0x4e7c2a(0x17d)][_0x4e7c2a(0x1c0)](_0x22768f,_0x3b6763),this['_dependencyManagerService'][_0x4e7c2a(0x1b9)](_0x22768f,_0x3b6763));});});const _0x4f05dc=this[_0x58c003(0x128)][_0x58c003(0x11f)]();await this[_0x58c003(0x176)](_0x1fea01,_0x3a86a2,_0x4f05dc),this[_0x58c003(0x17d)]['openKdTree']();const _0x46eced=this[_0x58c003(0x1cc)](),_0x21478c=this[_0x58c003(0x15a)](_0x46eced);return this[_0x58c003(0x1bc)](_0x21478c)&&this[_0x58c003(0x16f)][_0x58c003(0x15c)](),this[_0x58c003(0x1c7)][_0x58c003(0x1b7)](),this[_0x58c003(0x11c)][_0x58c003(0x1b7)](),this[_0x58c003(0x17d)][_0x58c003(0x1cd)](),Promise[_0x58c003(0x194)](_0x21478c);}['_isCyclicUtilMap'](_0x127445,_0x2b5b27){const _0x776928=_0x251edc,_0x4b32b1=[_0x127445];for(;_0x4b32b1[_0x776928(0x1d2)]>0x0;){const _0x2fe300=_0x4b32b1[_0x4b32b1[_0x776928(0x1d2)]-0x1];if((_0x2b5b27[_0x776928(0x11d)](_0x2fe300)||0x0)===0x0){_0x2b5b27[_0x776928(0x149)](_0x2fe300,0x1);const _0x1551de=this[_0x776928(0x1c7)][_0x776928(0x11d)](_0x2fe300);if(_0x1551de==null){_0x2b5b27[_0x776928(0x149)](_0x2fe300,0x2),_0x4b32b1[_0x776928(0x180)]();continue;}const _0x55da8f=this[_0x776928(0x17d)][_0x776928(0x131)](_0x1551de[_0x776928(0x160)]());for(const _0x19033f of _0x55da8f){const _0x5c3fee=_0x2b5b27['get'](_0x19033f)||0x0;if(_0x5c3fee===0x1)return!0x0;_0x5c3fee===0x0&&_0x4b32b1[_0x776928(0x16b)](_0x19033f);}}else _0x2b5b27[_0x776928(0x149)](_0x2fe300,0x2),_0x4b32b1[_0x776928(0x180)]();}return!0x1;}['_checkIsCycleDependency'](_0x2fc84c){const _0x5c9866=_0x251edc,_0x5dd87f=new Map();for(const _0x552680 of _0x2fc84c)if(!_0x5dd87f['has'](_0x552680['treeId'])&&this[_0x5c9866(0x16d)](_0x552680[_0x5c9866(0x14c)],_0x5dd87f))return!0x0;return _0x5dd87f[_0x5c9866(0x1b7)](),!0x1;}[_0x251edc(0x1a6)](_0x40918c,_0x5c5fa2,_0x58e90d){const _0x3545c2=_0x251edc,{unitId:_0x4b5d63,subUnitId:_0x3e20b1,dependencyRanges:_0x2196d6,getDirtyData:_0x5d6c3d}=_0x58e90d,_0x15d346=_0x5c5fa2||u[_0x3545c2(0x145)](this['_dependencyManagerService']),_0x6645ee=new u[(_0x3545c2(0x1c9))](_0x15d346);_0x6645ee[_0x3545c2(0x1d4)]=_0x4b5d63,_0x6645ee[_0x3545c2(0x175)]=_0x3e20b1,_0x6645ee[_0x3545c2(0x18e)]=_0x2196d6,_0x6645ee[_0x3545c2(0x197)]=_0x5d6c3d;const _0x2f2abe=_0x5d6c3d(this['_currentConfigService'][_0x3545c2(0x197)](),this[_0x3545c2(0x16f)]['getAllRuntimeData']()),_0x5f51ac=this[_0x3545c2(0x18f)](_0x2f2abe['dirtyRanges']);return _0x6645ee[_0x3545c2(0x165)]=_0x5f51ac,_0x6645ee[_0x3545c2(0x13e)]=_0x40918c,_0x6645ee[_0x3545c2(0x120)]=u[_0x3545c2(0x1d3)][_0x3545c2(0x13b)],this[_0x3545c2(0x17d)][_0x3545c2(0x17a)](_0x4b5d63,_0x3e20b1,_0x40918c,_0x6645ee),this[_0x3545c2(0x1c7)][_0x3545c2(0x149)](_0x6645ee['treeId'],_0x6645ee),this[_0x3545c2(0x17d)][_0x3545c2(0x12e)](_0x58e90d[_0x3545c2(0x1d4)],_0x58e90d[_0x3545c2(0x175)],_0x40918c)&&(_0x6645ee[_0x3545c2(0x13a)]=!0x0),_0x6645ee;}[_0x251edc(0x15f)](_0x388849,_0x26ca4e,_0x1936c3){const _0x16c76f=_0x251edc;var _0x295c83;for(const _0x235e67 of _0x26ca4e){const _0x35cdb1=_0x388849[_0x235e67];if(_0x35cdb1==null)continue;const _0x5cb3e3=Object[_0x16c76f(0x1b5)](_0x35cdb1);for(const _0x3c31fc of _0x5cb3e3){const _0x4c6f4d=_0x35cdb1[_0x3c31fc];if(_0x4c6f4d==null)continue;const _0x1a2312=Object['keys'](_0x4c6f4d);for(const _0x1208b9 of _0x1a2312){const _0xec7674=this[_0x16c76f(0x17d)][_0x16c76f(0x1c2)](_0x1208b9),_0x4991b3=_0x4c6f4d[_0x1208b9],{f:_0x14d365,ranges:_0xe9053d}=_0x4991b3;let _0x3613fb=!0x1;_0xec7674&&(_0x3613fb=!0x0);const {firstRow:_0x30eac6,firstColumn:_0x2cb9c4}=this[_0x16c76f(0x1b3)](_0xe9053d),_0x66d2e9=this[_0x16c76f(0x17d)]['getOtherFormulaDependency'](_0x235e67,_0x3c31fc,_0x1208b9),_0x14464c=(_0x295c83=_0x66d2e9==null?void 0x0:_0x66d2e9[_0x16c76f(0x14f)](0x0,0x0))!=null?_0x295c83:u[_0x16c76f(0x145)](this[_0x16c76f(0x17d)]),_0x2fc5a3=new u[(_0x16c76f(0x1c9))](_0x14464c);for(let _0x436602=0x0;_0x436602<_0xe9053d[_0x16c76f(0x1d2)];_0x436602++){const _0xe571fe=_0xe9053d[_0x436602],{startRow:_0x48cc36,startColumn:_0x1dd7cb,endRow:_0x121c4a,endColumn:_0x210f66}=_0xe571fe;for(let _0x5ebe42=_0x48cc36;_0x5ebe42<=_0x121c4a;_0x5ebe42++)for(let _0x1ebab7=_0x1dd7cb;_0x1ebab7<=_0x210f66;_0x1ebab7++){const _0x89fdb5=_0x1ebab7-_0x2cb9c4,_0x3cf765=_0x5ebe42-_0x30eac6;if(_0x89fdb5===0x0&&_0x3cf765===0x0){_0x2fc5a3[_0x16c76f(0x189)]=_0x14d365,_0x2fc5a3[_0x16c76f(0x1d4)]=_0x235e67,_0x2fc5a3[_0x16c76f(0x175)]=_0x3c31fc,_0x2fc5a3[_0x16c76f(0x1a5)]=_0x1208b9,_0x2fc5a3[_0x16c76f(0x120)]=u['FormulaDependencyTreeType'][_0x16c76f(0x11b)],_0x2fc5a3['isCache']=_0x3613fb,_0x1936c3['push'](_0x2fc5a3),this[_0x16c76f(0x1c7)][_0x16c76f(0x149)](_0x2fc5a3['treeId'],_0x2fc5a3),this[_0x16c76f(0x17d)][_0x16c76f(0x1bd)](_0x235e67,_0x3c31fc,_0x1208b9,_0x2fc5a3),this['_dependencyManagerService'][_0x16c76f(0x199)](_0x2fc5a3);continue;}const _0x5b6987=new u[(_0x16c76f(0x188))]();_0x5b6987[_0x16c76f(0x14c)]=(_0x66d2e9==null?void 0x0:_0x66d2e9[_0x16c76f(0x14f)](_0x89fdb5,_0x3cf765))||u['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x5b6987[_0x16c76f(0x170)]=_0x2fc5a3,_0x5b6987[_0x16c76f(0x184)]=_0x89fdb5,_0x5b6987[_0x16c76f(0x1af)]=_0x3cf765,_0x5b6987['isCache']=_0x3613fb,this[_0x16c76f(0x17d)]['addOtherFormulaDependency'](_0x235e67,_0x3c31fc,_0x1208b9,_0x5b6987),this[_0x16c76f(0x17d)][_0x16c76f(0x199)](_0x5b6987),_0x1936c3[_0x16c76f(0x16b)](_0x5b6987),this[_0x16c76f(0x1c7)][_0x16c76f(0x149)](_0x5b6987[_0x16c76f(0x14c)],_0x5b6987);}}this[_0x16c76f(0x17d)]['addOtherFormulaDependencyMainData'](_0x1208b9);}}}}[_0x251edc(0x179)](_0x14f195,_0xfc54e4,_0x332f09,_0x4f2397){const _0x5c2f8a=_0x251edc;for(const _0x18b8fa of _0x14f195){const _0x19c8de=_0xfc54e4[_0x18b8fa];if(_0x19c8de==null)continue;const _0x26f4b2=Object[_0x5c2f8a(0x1b5)](_0x19c8de);for(const _0x575199 of _0x26f4b2){const _0x4b29e0=new T['ObjectMatrix'](_0x19c8de[_0x575199]||{}),_0x2acbd8=new Map();_0x4b29e0[_0x5c2f8a(0x198)]((_0xdd56df,_0x43646c,_0x23465b)=>{const _0x1ea5da=_0x5c2f8a;if(_0x23465b==null)return!0x0;const {x:_0x2fe51a=0x0,y:_0x44b603=0x0,si:_0x24c482}=_0x23465b;if(!(_0x2fe51a===0x0&&_0x44b603===0x0&&_0x24c482!=null))return!0x0;const _0x16efe=this['_createFDtree'](_0x18b8fa,_0x575199,_0xdd56df,_0x43646c,_0x332f09,_0x23465b),_0x258c66=this[_0x1ea5da(0x17d)]['getFormulaDependency'](_0x18b8fa,_0x575199,_0xdd56df,_0x43646c);_0x258c66!=null?_0x16efe[_0x1ea5da(0x14c)]=_0x258c66:(this[_0x1ea5da(0x17d)][_0x1ea5da(0x122)](_0x18b8fa,_0x575199,_0xdd56df,_0x43646c,_0x16efe),this[_0x1ea5da(0x17d)][_0x1ea5da(0x199)](_0x16efe)),_0x2acbd8[_0x1ea5da(0x149)](_0x24c482,_0x16efe),_0x4f2397[_0x1ea5da(0x16b)](_0x16efe),this[_0x1ea5da(0x1c7)]['set'](_0x16efe[_0x1ea5da(0x14c)],_0x16efe);}),_0x4b29e0[_0x5c2f8a(0x198)]((_0x22ea1a,_0x4dec4e,_0x3a7bc4)=>{const _0x19e5cd=_0x5c2f8a;if(_0x3a7bc4==null)return!0x0;const {x:_0x3828b7=0x0,y:_0x379846=0x0,si:_0x1f1877}=_0x3a7bc4;if(_0x3828b7===0x0&&_0x379846===0x0&&_0x1f1877!=null)return!0x0;let _0x486737;if(_0x1f1877&&_0x2acbd8[_0x19e5cd(0x144)](_0x1f1877)){const _0x5c657a=_0x2acbd8[_0x19e5cd(0x11d)](_0x1f1877);_0x486737=this[_0x19e5cd(0x154)](_0x5c657a,_0x3a7bc4);}else _0x486737=this[_0x19e5cd(0x129)](_0x18b8fa,_0x575199,_0x22ea1a,_0x4dec4e,_0x332f09,_0x3a7bc4);const _0x40419e=this['_dependencyManagerService'][_0x19e5cd(0x1d0)](_0x18b8fa,_0x575199,_0x22ea1a,_0x4dec4e);_0x40419e!=null?_0x486737[_0x19e5cd(0x14c)]=_0x40419e:(this[_0x19e5cd(0x17d)]['addFormulaDependency'](_0x18b8fa,_0x575199,_0x22ea1a,_0x4dec4e,_0x486737),this['_dependencyManagerService'][_0x19e5cd(0x199)](_0x486737)),_0x4f2397['push'](_0x486737),this[_0x19e5cd(0x1c7)]['set'](_0x486737[_0x19e5cd(0x14c)],_0x486737);}),_0x2acbd8[_0x5c2f8a(0x1b7)]();}}}['_createFDtree'](_0x2f57fc,_0x5963f6,_0x578e42,_0x380066,_0x2f553d,_0x18034a){const _0x1a5ca8=_0x251edc,{f:_0x3d3033,x:_0x143f54=0x0,y:_0x15223f=0x0}=_0x18034a,_0xfa75b9=new u['FormulaDependencyTree'](u['generateRandomDependencyTreeId'](this[_0x1a5ca8(0x17d)])),_0x302fba=_0x2f553d[_0x2f57fc][_0x5963f6];return _0xfa75b9['formula']=_0x3d3033,_0xfa75b9[_0x1a5ca8(0x1d4)]=_0x2f57fc,_0xfa75b9[_0x1a5ca8(0x175)]=_0x5963f6,_0xfa75b9[_0x1a5ca8(0x130)]=_0x578e42,_0xfa75b9['column']=_0x380066,_0xfa75b9[_0x1a5ca8(0x187)]=_0x302fba[_0x1a5ca8(0x187)],_0xfa75b9[_0x1a5ca8(0x1c3)]=_0x302fba[_0x1a5ca8(0x1c3)],_0xfa75b9;}[_0x251edc(0x1cc)](){const _0x27f8f7=_0x251edc,_0x25b7af=[],_0x40b61a=new Set(),_0x1ff57b=this[_0x27f8f7(0x128)][_0x27f8f7(0x11e)](),_0x2d21e4=this[_0x27f8f7(0x128)][_0x27f8f7(0x1b1)](),_0x5f3a4e=this[_0x27f8f7(0x17d)][_0x27f8f7(0x131)](_0x2d21e4),_0x1e77da=this[_0x27f8f7(0x11c)][_0x27f8f7(0x18a)](_0x2d21e4);for(const _0x3b51af of _0x1e77da)_0x5f3a4e[_0x27f8f7(0x14a)](_0x3b51af);for(const [_0x3b8c23,_0x3e0abf]of this[_0x27f8f7(0x1c7)])(_0x1ff57b||_0x3e0abf['isDirty']||_0x3e0abf[_0x27f8f7(0x156)](this[_0x27f8f7(0x128)][_0x27f8f7(0x171)]())||_0x5f3a4e[_0x27f8f7(0x144)](_0x3b8c23)&&!_0x3e0abf[_0x27f8f7(0x1a3)](this['_currentConfigService'][_0x27f8f7(0x19d)]()))&&!_0x40b61a[_0x27f8f7(0x144)](_0x3b8c23)&&(_0x25b7af[_0x27f8f7(0x16b)](_0x3e0abf),_0x40b61a[_0x27f8f7(0x14a)](_0x3b8c23));for(const [_0x198a0c,_0x26395e]of this[_0x27f8f7(0x1c7)])_0x26395e[_0x27f8f7(0x1a7)]||(_0x26395e[_0x27f8f7(0x18e)][_0x27f8f7(0x1d2)]=0x0);return _0x25b7af;}[_0x251edc(0x1be)](_0x447ab2){const _0x273140=_0x251edc;return this[_0x273140(0x1c7)][_0x273140(0x11d)](_0x447ab2);}[_0x251edc(0x1c8)](_0x496a41){const _0x4f57d2=_0x251edc;return u[_0x4f57d2(0x1d1)](_0x496a41[_0x4f57d2(0x1d4)],_0x496a41[_0x4f57d2(0x189)],this['_lexer'],this[_0x4f57d2(0x11a)],this[_0x4f57d2(0x128)]);}*[_0x251edc(0x1ae)](_0x454705,_0x501c6f){const _0x2f665c=_0x251edc,_0x2eec3c=_0x454705,_0x394d1b=new Set();for(;_0x2eec3c[_0x2f665c(0x1d2)]>0x0;){const _0x54a6e3=_0x2eec3c[_0x2f665c(0x180)]();if(_0x394d1b['clear'](),_0x54a6e3===void 0x0||_0x54a6e3['isSkip']())continue;if(_0x54a6e3['isAdded']()){yield _0x54a6e3,_0x54a6e3[_0x2f665c(0x183)](),_0x501c6f[_0x2f665c(0x14a)](_0x54a6e3[_0x2f665c(0x14c)]);continue;}const _0x1eee96=this['_dependencyManagerService'][_0x2f665c(0x131)](_0x54a6e3[_0x2f665c(0x160)](),_0x501c6f),_0x2ebc6b=this[_0x2f665c(0x11c)][_0x2f665c(0x18a)](_0x54a6e3[_0x2f665c(0x160)](),_0x501c6f);for(const _0x5800d7 of _0x2ebc6b)_0x1eee96[_0x2f665c(0x14a)](_0x5800d7);for(const _0x3f6b73 of _0x1eee96){const _0x5f1718=this['_dependencyTreeCache'][_0x2f665c(0x11d)](_0x3f6b73);if(!_0x5f1718)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5f1718[_0x2f665c(0x193)]()||_0x54a6e3['isSkip']()||_0x394d1b[_0x2f665c(0x14a)](_0x5f1718);}if(_0x1eee96[_0x2f665c(0x1b7)](),_0x394d1b[_0x2f665c(0x161)]===0x0)yield _0x54a6e3,_0x54a6e3[_0x2f665c(0x183)](),_0x501c6f['add'](_0x54a6e3[_0x2f665c(0x14c)]);else{_0x54a6e3['setAdded'](),_0x2eec3c[_0x2f665c(0x16b)](_0x54a6e3);for(const _0x4b41ec of _0x394d1b)_0x2eec3c[_0x2f665c(0x16b)](_0x4b41ec);}}_0x2eec3c[_0x2f665c(0x1d2)]=0x0,_0x394d1b[_0x2f665c(0x1b7)]();}[_0x251edc(0x15a)](_0x24e8e8){const _0x5ab4e1=_0x251edc,_0xc79502=[],_0xad53e7=new Set();for(const _0x20e304 of this[_0x5ab4e1(0x1ae)](_0x24e8e8,_0xad53e7))_0xc79502[_0x5ab4e1(0x16b)](_0x20e304);return _0xc79502;}}class B extends u['CalculateFormulaService']{async[_0x251edc(0x136)](_0x2b84a8=!0x1){const _0x46027e=_0x251edc;_0x2b84a8?this['_runtimeService'][_0x46027e(0x137)](u['FormulaExecuteStageType'][_0x46027e(0x15d)]):this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x1ac)]),this['_executionInProgressListener$'][_0x46027e(0x123)](this['_runtimeService'][_0x46027e(0x164)]());const _0x28d551=await this[_0x46027e(0x18b)][_0x46027e(0x146)](),_0x177190=this[_0x46027e(0x19f)];_0x2b84a8?(this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x1ca)]),this['_runtimeService'][_0x46027e(0x138)](_0x28d551[_0x46027e(0x1d2)])):(this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x192)]),this[_0x46027e(0x16f)]['setTotalFormulasToCalculate'](_0x28d551[_0x46027e(0x1d2)])),this[_0x46027e(0x167)][_0x46027e(0x123)](this[_0x46027e(0x16f)][_0x46027e(0x164)]());let _0x4eede0=[];const _0x4111ed=this[_0x46027e(0x173)][_0x46027e(0x14b)](u[_0x46027e(0x1ab)]),_0xb90e90=(_0x4111ed==null?void 0x0:_0x4111ed['intervalCount'])||u[_0x46027e(0x13f)];let _0x3cfbdb=0x0;const _0x1ed746=_0x28d551[_0x46027e(0x1d2)];for(;_0x28d551[_0x46027e(0x1d2)]>0x0;){const _0xdee391=_0x28d551[_0x46027e(0x180)](),_0x4a8101={'node':u[_0x46027e(0x1d1)](_0xdee391[_0x46027e(0x1d4)],_0xdee391['formula'],this['_lexer'],this[_0x46027e(0x11a)],this['_currentConfigService']),'refOffsetX':_0xdee391[_0x46027e(0x184)],'refOffsetY':_0xdee391[_0x46027e(0x1af)]},_0x6bea8a=_0xdee391['getDirtyData'];if(_0x3cfbdb%_0xb90e90===0x0&&(await new Promise(_0x24f361=>{const _0x5d0ee3=_0x46027e,_0x48f99e=T['requestImmediateMacroTask'](_0x24f361);_0x4eede0[_0x5d0ee3(0x16b)](_0x48f99e);}),_0x2b84a8?(this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x185)]),this[_0x46027e(0x16f)][_0x46027e(0x1b8)](_0x3cfbdb+0x1)):(this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x1c6)]),this[_0x46027e(0x16f)][_0x46027e(0x125)](_0x3cfbdb+0x1)),this['_executionInProgressListener$'][_0x46027e(0x123)](this[_0x46027e(0x16f)][_0x46027e(0x164)]()),this[_0x46027e(0x16f)]['isStopExecution']()||_0x4a8101==null&&_0x6bea8a==null)){this[_0x46027e(0x16f)][_0x46027e(0x137)](u[_0x46027e(0x12c)][_0x46027e(0x148)]),this[_0x46027e(0x16f)]['markedAsStopFunctionsExecuted'](),this[_0x46027e(0x1c1)]['next'](this[_0x46027e(0x16f)][_0x46027e(0x166)]());return;}this[_0x46027e(0x16f)][_0x46027e(0x1ad)](_0xdee391[_0x46027e(0x130)],_0xdee391[_0x46027e(0x139)],_0xdee391['rowCount'],_0xdee391['columnCount'],_0xdee391[_0x46027e(0x175)],_0xdee391['unitId']);let _0x1f0b6f;if(_0x6bea8a!=null&&_0xdee391['featureId']!=null){const {runtimeCellData:_0x52c6bd,dirtyRanges:_0x4704c5}=_0x6bea8a(this[_0x46027e(0x128)][_0x46027e(0x197)](),this['_runtimeService'][_0x46027e(0x166)]());this[_0x46027e(0x16f)][_0x46027e(0x186)](_0xdee391[_0x46027e(0x13e)],_0x52c6bd),this['_runtimeService']['setRuntimeFeatureRange'](_0xdee391['featureId'],_0x4704c5);}else _0x4a8101!=null&&(_0x177190[_0x46027e(0x1a2)](_0x4a8101[_0x46027e(0x190)])?_0x1f0b6f=await _0x177190[_0x46027e(0x12f)](_0x4a8101):_0x1f0b6f=_0x177190[_0x46027e(0x143)](_0x4a8101),_0xdee391[_0x46027e(0x1a5)]!=null?this['_runtimeService'][_0x46027e(0x12a)](_0xdee391[_0x46027e(0x1a5)],_0xdee391[_0x46027e(0x184)],_0xdee391[_0x46027e(0x1af)],_0x1f0b6f):this['_runtimeService'][_0x46027e(0x153)](_0x1f0b6f));_0x3cfbdb++;}return _0x4eede0[_0x46027e(0x155)](_0x5ae2db=>_0x5ae2db()),_0x4eede0=[],_0x1ed746>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x2b84a8||this['_runtimeService'][_0x46027e(0x13c)](),this['_runtimeService'][_0x46027e(0x166)]();}}class Y extends u[_0x251edc(0x1c4)]{constructor(){const _0x32596b=_0x251edc;super(...arguments),I(this,_0x32596b(0x140),new Map()),I(this,'_dependencyRTreeCache',new T[(_0x32596b(0x126))](!0x0));}[_0x251edc(0x132)](){const _0x33f39f=_0x251edc;this[_0x33f39f(0x1a4)]['clear'](),this['_featureFormulaData'][_0x33f39f(0x1b7)](),this[_0x33f39f(0x1ba)][_0x33f39f(0x1b7)](),this[_0x33f39f(0x162)][_0x33f39f(0x1b7)](),this['_allTreeMap'][_0x33f39f(0x1b7)](),this[_0x33f39f(0x1d7)](),this[_0x33f39f(0x1b0)][_0x33f39f(0x1b7)]();}[_0x251edc(0x1bd)](_0x289ea2,_0x1658a4,_0x2d6333,_0x4f846e){const _0x3e03bc=_0x251edc;this[_0x3e03bc(0x1a4)][_0x3e03bc(0x144)](_0x289ea2)||this['_otherFormulaData'][_0x3e03bc(0x149)](_0x289ea2,new Map());const _0x1960a2=this['_otherFormulaData'][_0x3e03bc(0x11d)](_0x289ea2);_0x1960a2['has'](_0x1658a4)||_0x1960a2[_0x3e03bc(0x149)](_0x1658a4,new Map());const _0x240283=_0x1960a2[_0x3e03bc(0x11d)](_0x1658a4);_0x240283[_0x3e03bc(0x144)](_0x2d6333)||_0x240283[_0x3e03bc(0x149)](_0x2d6333,new T[(_0x3e03bc(0x1bb))]()),_0x240283[_0x3e03bc(0x11d)](_0x2d6333)['setValue'](_0x4f846e[_0x3e03bc(0x184)],_0x4f846e[_0x3e03bc(0x1af)],_0x4f846e['treeId']);}[_0x251edc(0x191)](_0x57ea2b,_0xd8234e,_0x14c157){const _0x52232b=_0x251edc,_0x33fd43=this['_otherFormulaData'][_0x52232b(0x11d)](_0x57ea2b);if(_0x33fd43&&_0x33fd43[_0x52232b(0x144)](_0xd8234e)){const _0x4f06fc=_0x33fd43[_0x52232b(0x11d)](_0xd8234e);_0x14c157[_0x52232b(0x155)](_0x5665c7=>{const _0x4c086e=_0x52232b,_0x1d76e7=_0x4f06fc[_0x4c086e(0x11d)](_0x5665c7);_0x1d76e7!=null&&(_0x1d76e7[_0x4c086e(0x198)]((_0x425f3e,_0x14283f,_0x42fefe)=>{const _0x3b9d6f=_0x4c086e;this[_0x3b9d6f(0x17e)](_0x42fefe),this['_removeAllTreeMap'](_0x42fefe);}),_0x4f06fc[_0x4c086e(0x182)](_0x5665c7),this[_0x4c086e(0x1b0)][_0x4c086e(0x182)](_0x5665c7));}),_0x4f06fc[_0x52232b(0x161)]===0x0&&_0x33fd43[_0x52232b(0x182)](_0xd8234e),_0x33fd43[_0x52232b(0x161)]===0x0&&this[_0x52232b(0x1a4)]['delete'](_0x57ea2b);}}[_0x251edc(0x13d)](_0x396134,_0x396882){const _0x1d6aef=_0x251edc,_0x5e727b=this['_otherFormulaData'][_0x1d6aef(0x11d)](_0x396134);if(_0x396882&&_0x5e727b&&_0x5e727b['has'](_0x396882)){const _0x3fb92a=_0x5e727b[_0x1d6aef(0x11d)](_0x396882);this[_0x1d6aef(0x150)](_0x396134,_0x396882);for(const _0x58d1fb of _0x3fb92a[_0x1d6aef(0x1b5)]()){const _0x44488b=_0x3fb92a['get'](_0x58d1fb);_0x44488b!=null&&(_0x44488b[_0x1d6aef(0x198)]((_0x92ec9f,_0x1f0f8b,_0x2a77cc)=>{const _0x80ba66=_0x1d6aef;this['_allTreeMap'][_0x80ba66(0x11d)](_0x2a77cc)&&this[_0x80ba66(0x121)](_0x2a77cc);}),this[_0x1d6aef(0x1b0)][_0x1d6aef(0x182)](_0x58d1fb));}_0x3fb92a['clear']();}else{if(_0x5e727b){for(const _0x22b47e of _0x5e727b[_0x1d6aef(0x1b5)]()){const _0x572205=_0x5e727b[_0x1d6aef(0x11d)](_0x22b47e);this['_removeDependencyRTreeCacheById'](_0x396134,_0x22b47e);for(const _0x4afe55 of _0x572205[_0x1d6aef(0x1b5)]()){const _0x1f8713=_0x572205[_0x1d6aef(0x11d)](_0x4afe55);_0x1f8713!=null&&(_0x1f8713[_0x1d6aef(0x198)]((_0xb5da02,_0x1e2225,_0x1d9b7f)=>{const _0x543100=_0x1d6aef;this[_0x543100(0x140)][_0x543100(0x11d)](_0x1d9b7f)&&this[_0x543100(0x121)](_0x1d9b7f);}),this['_otherFormulaDataMainData'][_0x1d6aef(0x182)](_0x4afe55));}}this[_0x1d6aef(0x1a4)]['delete'](_0x396134);}}}[_0x251edc(0x17a)](_0x2d6556,_0x923683,_0x5efd97,_0x3dca7b){const _0x344ab5=_0x251edc;this[_0x344ab5(0x124)][_0x344ab5(0x144)](_0x2d6556)||this[_0x344ab5(0x124)][_0x344ab5(0x149)](_0x2d6556,new Map());const _0x3a13f8=this['_featureFormulaData'][_0x344ab5(0x11d)](_0x2d6556);_0x3a13f8[_0x344ab5(0x144)](_0x923683)||_0x3a13f8[_0x344ab5(0x149)](_0x923683,new Map()),_0x3a13f8[_0x344ab5(0x11d)](_0x923683)[_0x344ab5(0x149)](_0x5efd97,_0x3dca7b['treeId']);}[_0x251edc(0x12b)](_0x24773f,_0x142363,_0x3a1e9a){const _0x135133=_0x251edc,_0x3bae96=this[_0x135133(0x124)][_0x135133(0x11d)](_0x24773f);if(_0x3bae96&&_0x3bae96[_0x135133(0x144)](_0x142363)){const _0x3bb244=_0x3bae96[_0x135133(0x11d)](_0x142363);_0x3a1e9a[_0x135133(0x155)](_0x53f2fd=>{const _0x2d760c=_0x135133,_0x244afc=_0x3bb244[_0x2d760c(0x11d)](_0x53f2fd);_0x244afc!=null&&(this['_removeDependencyRTreeCache'](_0x244afc),_0x3bb244['delete'](_0x53f2fd),this[_0x2d760c(0x121)](_0x244afc));});}}[_0x251edc(0x1c0)](_0x2b99e8,_0x4c9d78){const _0x23b760=_0x251edc,_0x17b119=this[_0x23b760(0x124)]['get'](_0x2b99e8);if(_0x4c9d78&&_0x17b119&&_0x17b119[_0x23b760(0x144)](_0x4c9d78)){const _0x3d6b48=_0x17b119[_0x23b760(0x11d)](_0x4c9d78);this[_0x23b760(0x150)](_0x2b99e8,_0x4c9d78),_0x3d6b48['forEach'](_0x3b304e=>{const _0x4c2bc6=_0x23b760;_0x3b304e!=null&&this[_0x4c2bc6(0x121)](_0x3b304e);}),_0x3d6b48[_0x23b760(0x1b7)]();}else _0x17b119&&(_0x17b119[_0x23b760(0x155)]((_0x153ccf,_0x2143e2)=>{const _0x319dfd=_0x23b760;this['_removeDependencyRTreeCacheById'](_0x2b99e8,_0x2143e2),_0x153ccf[_0x319dfd(0x155)](_0x56f91c=>{const _0x50733f=_0x319dfd;_0x56f91c!=null&&this[_0x50733f(0x121)](_0x56f91c);});}),this['_featureFormulaData'][_0x23b760(0x182)](_0x2b99e8));}[_0x251edc(0x122)](_0x2cebe9,_0x4aec3e,_0x30ffca,_0x5c1574,_0x4958fc){const _0xe2183d=_0x251edc;this['_formulaData'][_0xe2183d(0x144)](_0x2cebe9)||this[_0xe2183d(0x1ba)][_0xe2183d(0x149)](_0x2cebe9,new Map());const _0x2581ac=this[_0xe2183d(0x1ba)][_0xe2183d(0x11d)](_0x2cebe9);_0x2581ac[_0xe2183d(0x144)](_0x4aec3e)||_0x2581ac[_0xe2183d(0x149)](_0x4aec3e,new T[(_0xe2183d(0x1bb))]()),_0x2581ac[_0xe2183d(0x11d)](_0x4aec3e)[_0xe2183d(0x17b)](_0x30ffca,_0x5c1574,_0x4958fc[_0xe2183d(0x14c)]);}['removeFormulaDependency'](_0x748723,_0x379e21,_0x19bd0c,_0x4222d7){const _0xaa9b85=_0x251edc,_0x3e83cc=this[_0xaa9b85(0x1ba)][_0xaa9b85(0x11d)](_0x748723);if(_0x3e83cc&&_0x3e83cc['has'](_0x379e21)){const _0x324092=_0x3e83cc[_0xaa9b85(0x11d)](_0x379e21),_0x2aa364=_0x324092[_0xaa9b85(0x14f)](_0x19bd0c,_0x4222d7);if(_0x2aa364==null)return;this['_removeDependencyRTreeCache'](_0x2aa364),_0x324092[_0xaa9b85(0x16a)](_0x19bd0c,_0x4222d7),this['_removeAllTreeMap'](_0x2aa364);}}[_0x251edc(0x1b9)](_0x2c456c,_0x49e775){const _0x1ef880=_0x251edc,_0x474056=this[_0x1ef880(0x1ba)][_0x1ef880(0x11d)](_0x2c456c);if(_0x49e775&&_0x474056&&_0x474056[_0x1ef880(0x144)](_0x49e775)){const _0x360e8e=_0x474056[_0x1ef880(0x11d)](_0x49e775);this[_0x1ef880(0x150)](_0x2c456c,_0x49e775),_0x360e8e[_0x1ef880(0x198)]((_0x13c09d,_0x246ebb,_0x3b6453)=>{if(_0x3b6453==null)return!0x0;this['_removeAllTreeMap'](_0x3b6453);}),_0x360e8e[_0x1ef880(0x132)]();}else _0x474056&&(_0x474056[_0x1ef880(0x155)]((_0x19951a,_0x1901b0)=>{this['_removeDependencyRTreeCacheById'](_0x2c456c,_0x1901b0),_0x19951a['forValue']((_0x536670,_0x34ff70,_0x406591)=>{if(_0x406591==null)return!0x0;this['_removeAllTreeMap'](_0x406591);});}),this[_0x1ef880(0x1ba)][_0x1ef880(0x182)](_0x2c456c));}[_0x251edc(0x17e)](_0x2486f7){const _0x1da456=_0x251edc;if(_0x2486f7==null)return;const _0x35aa6a=this[_0x1da456(0x140)][_0x1da456(0x11d)](_0x2486f7);if(_0x35aa6a){const _0x232d40=[];for(const [_0x537c6d,_0x253eac]of _0x35aa6a)for(const [_0x4a6d20,_0x8b5a73]of _0x253eac)_0x232d40[_0x1da456(0x16b)]({'unitId':_0x537c6d,'sheetId':_0x4a6d20,'range':_0x8b5a73,'id':_0x2486f7});this[_0x1da456(0x162)][_0x1da456(0x18d)](_0x232d40);}}[_0x251edc(0x133)](_0x336637,_0x7b948e){const _0x58b4ec=_0x251edc,_0x62b829=this['_definedNameMap'][_0x58b4ec(0x11d)](_0x336637);if(_0x62b829){const _0x48bf82=_0x62b829[_0x58b4ec(0x11d)](_0x7b948e);if(_0x48bf82){for(const _0xde672c of _0x48bf82)this[_0x58b4ec(0x17e)](_0xde672c),this[_0x58b4ec(0x121)](_0xde672c);_0x48bf82[_0x58b4ec(0x1b7)]();}}}['openKdTree'](){const _0x926ebc=_0x251edc;this[_0x926ebc(0x162)][_0x926ebc(0x159)]();}['closeKdTree'](){const _0x49d32b=_0x251edc;this[_0x49d32b(0x162)][_0x49d32b(0x1cd)]();}[_0x251edc(0x121)](_0x9bc342){const _0x5ae9b3=_0x251edc;_0x9bc342!=null&&this[_0x5ae9b3(0x140)]['delete'](_0x9bc342);}[_0x251edc(0x195)](_0x368eaa){const _0x4a5bc0=_0x251edc;var _0xcc425c,_0x4d130b;const _0x544e6a=_0x368eaa[_0x4a5bc0(0x18e)];let _0x1caf7a=this[_0x4a5bc0(0x140)][_0x4a5bc0(0x11d)](_0x368eaa[_0x4a5bc0(0x14c)]);for(let _0x4636fc=0x0;_0x4636fc<_0x544e6a[_0x4a5bc0(0x1d2)];_0x4636fc++){const _0x47f8d4=_0x544e6a[_0x4636fc];let {unitId:_0x3dcb00,sheetId:_0x3f2b90,range:_0x343c75}=_0x47f8d4;_0x1caf7a||(_0x1caf7a=new Map(),this['_allTreeMap'][_0x4a5bc0(0x149)](_0x368eaa[_0x4a5bc0(0x14c)],_0x1caf7a)),_0x1caf7a['has'](_0x3dcb00)||_0x1caf7a[_0x4a5bc0(0x149)](_0x3dcb00,new Map());const _0x40271e=(_0xcc425c=_0x1caf7a==null?void 0x0:_0x1caf7a['get'](_0x3dcb00))==null?void 0x0:_0xcc425c[_0x4a5bc0(0x11d)](_0x3f2b90);_0x40271e&&(_0x343c75={'startRow':Math['min'](_0x343c75[_0x4a5bc0(0x174)],_0x40271e[_0x4a5bc0(0x174)]),'startColumn':Math[_0x4a5bc0(0x1c5)](_0x343c75[_0x4a5bc0(0x1a1)],_0x40271e[_0x4a5bc0(0x1a1)]),'endRow':Math['max'](_0x343c75[_0x4a5bc0(0x19b)],_0x40271e['endRow']),'endColumn':Math[_0x4a5bc0(0x19a)](_0x343c75[_0x4a5bc0(0x1a0)],_0x40271e['endColumn'])}),(_0x4d130b=_0x1caf7a[_0x4a5bc0(0x11d)](_0x3dcb00))==null||_0x4d130b[_0x4a5bc0(0x149)](_0x3f2b90,_0x343c75);}}}var G=Object[_0x251edc(0x163)],K=(_0x55fb6d,_0x6476e4,_0x323a3d,_0x529a67)=>{const _0x30c2c8=_0x251edc;for(var _0x57587e=_0x529a67>0x1?void 0x0:_0x529a67?G(_0x6476e4,_0x323a3d):_0x6476e4,_0x1a52f2=_0x55fb6d[_0x30c2c8(0x1d2)]-0x1,_0x286bd7;_0x1a52f2>=0x0;_0x1a52f2--)(_0x286bd7=_0x55fb6d[_0x1a52f2])&&(_0x57587e=_0x286bd7(_0x57587e)||_0x57587e);return _0x57587e;};const W=Number[_0x251edc(0x15e)](0x685e54f6);function _0x40ee(){const _0x446388=['5147196nspvyt','_isCyclicUtilMap','_otherFormulaManagerService','_runtimeService','refTree','getDirtyNameMap','Module','_configService','startRow','subUnitId','_generateTreeList','default','IFormulaDependencyGenerator','_registerFormulas','addFeatureFormulaDependency','setValue','234wYrRSi','_dependencyManagerService','_removeDependencyRTreeCache','88zSLxow','pop','35YonGop','delete','setSkip','refOffsetX','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeFeatureCellData','rowCount','FormulaDependencyTreeVirtual','formula','bulkSearch','_formulaDependencyGenerator','214424euGUBU','bulkRemove','rangeList','_convertDirtyRangesToUnitRange','node','removeOtherFormulaDependency','START_CALCULATION','isAdded','resolve','_addAllTreeMap','CalculateFormulaService','getDirtyData','forValue','addFormulaDependencyByDefinedName','max','endRow','ICalculateFormulaService','getExcludedRange','_updateRangeFlatten','_interpreter','endColumn','startColumn','checkAsyncNode','isExcludeRange','_otherFormulaData','formulaId','_getFeatureFormulaTree','isVirtual','toStringTag','14414QQWPKh','LS_CONFIG_KEY','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','START_DEPENDENCY','setCurrent','_traverse','refOffsetY','_otherFormulaDataMainData','getDirtyRanges','getSheetFeatureLimit','_getFirstCellOfRange','DependencyManagerService','keys','message','clear','setCompletedArrayFormulasCount','clearFormulaDependency','_formulaData','ObjectMatrix','_checkIsCycleDependency','addOtherFormulaDependency','_getTreeById','DependentOn','clearFeatureFormulaDependency','_executionCompleteListener$','hasOtherFormulaDataMainData','columnCount','DependencyManagerBaseService','min','CURRENTLY_CALCULATING','_dependencyTreeCache','_getTreeNode','FormulaDependencyTree','START_CALCULATION_ARRAY_FORMULA','IDependencyManagerService','_getUpdateTreeListAndMakeDependency','closeKdTree','call','getOtherFormulaData','getFormulaDependency','generateAstNode','length','FormulaDependencyTreeType','unitId','_injector','notExecuteFormula','_restDependencyTreeId','dispose','_astTreeBuilder','OTHER_FORMULA','_dependencyRTreeCacheForAddressFunction','get','isForceCalculate','getUnitData','type','_removeAllTreeMap','addFormulaDependency','next','_featureFormulaData','setCompletedFormulasCount','RTree','447XAwzOy','_currentConfigService','_createFDtree','setRuntimeOtherData','removeFeatureFormulaDependency','FormulaExecuteStageType','_config','getFeatureFormulaDependency','executeAsync','row','searchDependency','reset','removeFormulaDependencyByDefinedName','symbol','_initLicenseValid','_apply','setFormulaExecuteStage','setTotalArrayFormulasToCalculate','column','isCache','FEATURE_FORMULA','markedAsNoFunctionsExecuted','clearOtherFormulaDependency','featureId','DEFAULT_INTERVAL_COUNT','_allTreeMap','defineProperty','UniverProFormulaEnginePlugin','execute','has','generateRandomDependencyTreeId','generate','FormulaDependencyGenerator','IDLE','set','add','getConfig','treeId','return\x20','216636aIApho','getValue','_removeDependencyRTreeCacheById','unshiftString','6487060iqOzVt','setRuntimeData','_createVirtualFDtree','forEach','dependencySheetName','getClearDependencyTreeCache','L19ENHP9\x20MeEI4CNHP9(zHEe9de,\x20C1izHExe4)\x20{\x20\x20\x20\x20NI4\x20{\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20zHEe9dey9LPcUINXIIU4\x20=\x20zHEe9de.dCzHN(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20PIH0H9FeddU0e\x20=\x20YAQs.CUIde(UNPi(zHEe9dey9LPcUINXIIU4[7]));\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!PIH0H9FeddU0e.1M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PIH0H9FeddU0e.1M\x20=\x20s1jieI(zHEe9dey9LPcUINXIIU4[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20Hd2PIVeI\x20=\x20N4CePL\x202PIVeIJzPiUzAEPCe\x20!==\x20\x2719MeLH9eM\x27\x20&&\x20dezL\x20H9dNU9EePL\x202PIVeIJzPiUzAEPCe;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20EP9NeuN\x20=\x20Hd2PIVeI\x20?\x20dezL\x20:\x20TH9MPT;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[7]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(jeddU0e2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[t]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(dH09UN1Ie2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09kUzHM\x20=\x20EP9NeuN.__OeIHL4__(dH09UN1Ie,\x20jeddU0e,\x20C1izHExe4);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20MPjUH9\x20=\x20PIH0H9FeddU0e.Mj;\x20\x20\x20\x20\x20\x20\x20\x20L19ENHP9\x20HdDPjUH9FUNEaH90(PcUNNeI9,\x20P6PdN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9\x20=\x20PcUNNeI9.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdN\x20=\x20P6PdN.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9cUINd\x20=\x20CUNNeI9.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNcUINd\x20=\x20aPdN.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!CUNNeI9.H9Ez1Med(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9\x20===\x20aPdN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(CUNNeI9cUINd.ze90Na\x20<\x207\x20||\x20CUNNeI9cUINd[g]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20LUzde;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9A1LLHu\x20=\x20CUNNeI9cUINd.dzHEe(l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNA1LLHu\x20=\x20aPdNcUINd.dzHEe(-CUNNeI9cUINd.ze90Na\x20+\x20l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9A1LLHu\x20===\x20aPdNA1LLHu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zeN\x20MPjUH9kUzHM\x20=\x20(MPjUH9\x20&&\x20MPjUH9.ze90Na)\x20?\x20MPjUH9.dPje((MjyNej)\x20=>\x20HdDPjUH9FUNEaH90(MjyNej,\x20zPEUNHP9.aPdN9Uje))\x20:\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(zPEUNHP9.aPdN9Uje\x20===\x20\x27zPEUzaPdN\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MPjUH9kUzHM\x20=\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20OUzHM\x20=\x20dH09kUzHM\x20&&\x20MPjUH9kUzHM;\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20PIH0H9FeddU0e,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20EUNEa\x20(eIIPI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM:\x20LUzde,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','openKdTree','_calculateRunList','78036kPxKvs','enableCycleDependency','START_DEPENDENCY_ARRAY_FORMULA','parseInt','_registerOtherFormulas','toRTreeItem','size','_dependencyRTreeCache','getOwnPropertyDescriptor','getRuntimeState','featureDirtyRanges','getAllRuntimeData','_executionInProgressListener$','153xGvQkc','102371Gefiku','realDeleteValue','push'];_0x40ee=function(){return _0x446388;};return _0x40ee();}exports['UniverProFormulaEnginePlugin']=class extends u['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0x5165b8=_0x251edc;var _0x33d942,_0x10b426;this[_0x5165b8(0x135)]()?(_0x33d942=this[_0x5165b8(0x12d)])!=null&&_0x33d942[_0x5165b8(0x1d6)]||[[u[_0x5165b8(0x19c)],{'useClass':B}],[u['IDependencyManagerService'],{'useClass':Y}],[u[_0x5165b8(0x178)],{'useClass':V}]][_0x5165b8(0x155)](_0x16545a=>this[_0x5165b8(0x1d5)][_0x5165b8(0x14a)](_0x16545a)):(_0x10b426=this[_0x5165b8(0x12d)])!=null&&_0x10b426[_0x5165b8(0x1d6)]||[[u['ICalculateFormulaService'],{'useClass':u[_0x5165b8(0x196)]}],[u[_0x5165b8(0x1cb)],{'useClass':u[_0x5165b8(0x1b4)]}],[u[_0x5165b8(0x178)],{'useClass':u['FormulaDependencyGenerator']}]][_0x5165b8(0x155)](_0x64a16c=>this['_injector'][_0x5165b8(0x14a)](_0x64a16c));}[_0x251edc(0x135)](){const _0x431e77=_0x251edc;var _0x2b27c3;const _0x1276d8=(_0x2b27c3=this[_0x431e77(0x173)][_0x431e77(0x14b)](v[_0x431e77(0x1aa)]))!=null?_0x2b27c3:{},{ls:_0x4e1e56,pbk:_0xfa3390}=_0x1276d8;if(!_0x4e1e56||!_0xfa3390)return!0x1;const _0x203328=v[_0x431e77(0x151)](k,b),_0x3a77c5=new Function(_0x431e77(0x14d)+_0x203328)()(_0x4e1e56,_0xfa3390),_0xc42fb1=_0x3a77c5[_0x431e77(0x1b6)];return _0x3a77c5['valid']&&v['isFeatureAuthorizedWithinTime'](_0xc42fb1,'sf',W)?v[_0x431e77(0x1b2)](_0xc42fb1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x251edc(0x142)]=K([T[_0x251edc(0x1bf)](v['UniverLicensePlugin'])],exports[_0x251edc(0x142)]),Object[_0x251edc(0x1b5)](u)[_0x251edc(0x155)](_0x50d408=>{const _0x2b85de=_0x251edc;_0x50d408!==_0x2b85de(0x177)&&!Object['prototype']['hasOwnProperty'][_0x2b85de(0x1ce)](exports,_0x50d408)&&Object[_0x2b85de(0x141)](exports,_0x50d408,{'enumerable':!0x0,'get':()=>u[_0x50d408]});});
1
+ 'use strict';function _0x3247(_0x21f0ad,_0x3c2316){const _0x53ffa7=_0x53ff();return _0x3247=function(_0x324769,_0x144765){_0x324769=_0x324769-0xe8;let _0x42e455=_0x53ffa7[_0x324769];return _0x42e455;},_0x3247(_0x21f0ad,_0x3c2316);}function _0x53ff(){const _0x4fbf6a=['IDLE','refOffsetX','setRuntimeFeatureRange','size','49488lZWCaE','FormulaDependencyGenerator','_traverse','enableCycleDependency','isSkip','defineProperty','clearFormulaDependency','START_DEPENDENCY','getSheetFeatureLimit','FEATURE_FORMULA','subUnitId','isForceCalculate','addFormulaDependency','_allTreeMap','openKdTree','executeAsync','searchDependency','endRow','895002XismCB','setValue','startRow','rangeList','treeId','generateAstNode','setSkip','8504qGrnxm','getOtherFormulaDependency','refOffsetY','setCompletedArrayFormulasCount','_isCyclicUtilMap','CURRENTLY_CALCULATING_ARRAY_FORMULA','34zzjuZR','_addAllTreeMap','length','addOtherFormulaDependencyMainData','_lexer','CalculateFormulaService','_removeAllTreeMap','set','_initLicenseValid','addOtherFormulaDependency','clearFeatureFormulaDependency','_dependencyRTreeCache','rowCount','refTree','_updateRangeFlatten','has','LS_CONFIG_KEY','UniverLicensePlugin','setRuntimeData','removeOtherFormulaDependency','_otherFormulaManagerService','_astTreeBuilder','prototype','_getFirstCellOfRange','pop','checkAsyncNode','startColumn','Module','valid','toRTreeItem','get','keys','bulkSearch','clear','RTree','FormulaExecuteStageType','_configService','_formulaData','ObjectMatrix','parseInt','requestImmediateMacroTask','columnCount','markedAsSuccessfullyExecuted','next','call','getValue','_dependencyManagerService','getDirtyRanges','resolve','IFormulaDependencyGenerator','formula','node','delete','formulaId','CrLnHwML\x20SNnzglHwML(0wnNLUN,\x20lrE0wnTNg)\x20{\x20\x20\x20\x20Hzg\x20{\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x200wnNLUN5LCMpezHRzzeg\x20=\x200wnNLUN.Ul0wH(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20MzwWwLcNUUeWN\x20=\x20bmik.lezUN(eHME(0wnNLUN5LCMpezHRzzeg[t]));\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!MzwWwLcNUUeWN.rS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MzwWwLcNUUeWN.rS\x20=\x20krfENz(0wnNLUN5LCMpezHRzzeg[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20wU8Mz7Nz\x20=\x20HglNMC\x208Mz7NzB0MEe0mnMlN\x20!==\x20\x27rLSNCwLNS\x27\x20&&\x20UN0C\x20wLUHeLnNMC\x208Mz7NzB0MEe0mnMlN;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20nMLHNZH\x20=\x20wU8Mz7Nz\x20?\x20UN0C\x20:\x20KwLSMK;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[t]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(fNUUeWN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[G]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(UwWLeHrzN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLYe0wS\x20=\x20nMLHNZH.__9NzwCg__(UwWLeHrzN,\x20fNUUeWN,\x20lrE0wnTNg);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20SMfewL\x20=\x20MzwWwLcNUUeWN.Sf;\x20\x20\x20\x20\x20\x20\x20\x20CrLnHwML\x20wUjMfewLceHnIwLW(MpeHHNzL,\x20MhMUH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzL\x20=\x20MpeHHNzL.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUH\x20=\x20MhMUH.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLpezHU\x20=\x20leHHNzL.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHpezHU\x20=\x20IMUH.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!leHHNzL.wLn0rSNU(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzL\x20===\x20IMUH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(leHHNzLpezHU.0NLWHI\x20<\x20t\x20||\x20leHHNzLpezHU[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20Ce0UN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLmrCCwZ\x20=\x20leHHNzLpezHU.U0wnN(J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHmrCCwZ\x20=\x20IMUHpezHU.U0wnN(-leHHNzLpezHU.0NLWHI\x20+\x20J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzLmrCCwZ\x20===\x20IMUHmrCCwZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200NH\x20SMfewLYe0wS\x20=\x20(SMfewL\x20&&\x20SMfewL.0NLWHI)\x20?\x20SMfewL.UMfN((Sf5HNf)\x20=>\x20wUjMfewLceHnIwLW(Sf5HNf,\x200MneHwML.IMUHLefN))\x20:\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(0MneHwML.IMUHLefN\x20===\x20\x270Mne0IMUH\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMfewLYe0wS\x20=\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x209e0wS\x20=\x20UwWLYe0wS\x20&&\x20SMfewLYe0wS;\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20MzwWwLcNUUeWN,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20neHnI\x20(NzzMz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS:\x20Ce0UN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','UniverProFormulaEnginePlugin','forValue','unitId','_injector','45CTpNyl','getUnitData','_createFDtree','setRuntimeFeatureCellData','forEach','isAdded','_dependencyRTreeCacheForAddressFunction','featureId','add','generateRandomDependencyTreeId','hasOwnProperty','_formulaDependencyGenerator','_config','_generateTreeList','isCache','intervalCount','closeKdTree','getOtherFormulaData','UniverFormulaEnginePlugin','type','DEFAULT_INTERVAL_COUNT','OTHER_FORMULA','addFormulaDependencyByDefinedName','isExcludeRange','max','_currentConfigService','setCurrent','dispose','3632334yifFoQ','_removeDependencyRTreeCacheById','_dependencyTreeCache','setCompletedFormulasCount','setFormulaExecuteStage','_createVirtualFDtree','165110ZnqRcr','removeFormulaDependencyByDefinedName','_checkIsCycleDependency','toStringTag','ParentDependencyTree\x20object\x20is\x20null','getAllRuntimeData','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_otherFormulaDataMainData','IDependencyManagerService','DependencyManagerBaseService','_featureFormulaData','markedAsNoFunctionsExecuted','DependencyManagerService','getFormulaData','featureDirtyRanges','symbol','5fnNgRJ','_executionCompleteListener$','push','DependentOn','generate','2604HDcUmw','removeFeatureFormulaDependency','CURRENTLY_CALCULATING','default','_apply','_removeDependencyRTreeCache','isStopExecution','_calculateRunList','792LgvoYj','message','unshiftString','_runtimeService','dirtyRanges','START_CALCULATION_ARRAY_FORMULA','endColumn','getRuntimeState','1637160wPHPsr','getDirtyNameMap','column','addFeatureFormulaDependency','START_CALCULATION','_registerOtherFormulas','_getUpdateTreeListAndMakeDependency','setTotalArrayFormulasToCalculate','FormulaDependencyTree','_executionInProgressListener$','return\x20','reset','getDirtyData','getFormulaDependency','notExecuteFormula','markedAsStopFunctionsExecuted','_otherFormulaData','isDirty','realDeleteValue','getConfig','FormulaDependencyTreeType','clearOtherFormulaDependency','27087bKYXOv'];_0x53ff=function(){return _0x4fbf6a;};return _0x53ff();}const _0x25b116=_0x3247;(function(_0x21ce96,_0x2c8822){const _0x27d2eb=_0x3247,_0x138682=_0x21ce96();while(!![]){try{const _0x5a3388=-parseInt(_0x27d2eb(0x127))/0x1*(-parseInt(_0x27d2eb(0x14b))/0x2)+parseInt(_0x27d2eb(0x13e))/0x3+-parseInt(_0x27d2eb(0x111))/0x4+parseInt(_0x27d2eb(0xfc))/0x5*(parseInt(_0x27d2eb(0x1a2))/0x6)+parseInt(_0x27d2eb(0x101))/0x7*(-parseInt(_0x27d2eb(0x145))/0x8)+parseInt(_0x27d2eb(0x186))/0x9*(parseInt(_0x27d2eb(0xec))/0xa)+parseInt(_0x27d2eb(0x109))/0xb*(-parseInt(_0x27d2eb(0x12c))/0xc);if(_0x5a3388===_0x2c8822)break;else _0x138682['push'](_0x138682['shift']());}catch(_0x425948){_0x138682['push'](_0x138682['shift']());}}}(_0x53ff,0x5440f));var W=Object['defineProperty'],b=(_0x421e8b,_0x5c58e0,_0x323153)=>_0x5c58e0 in _0x421e8b?W(_0x421e8b,_0x5c58e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x323153}):_0x421e8b[_0x5c58e0]=_0x323153,T=(_0x39e214,_0x38e856,_0x19dcdc)=>b(_0x39e214,typeof _0x38e856!=_0x25b116(0xfb)?_0x38e856+'':_0x38e856,_0x19dcdc);Object[_0x25b116(0x131)](exports,Symbol[_0x25b116(0xef)],{'value':_0x25b116(0x166)});const N=require('@univerjs-pro/license'),F=require('@univerjs/core'),u=require('@univerjs/engine-formula'),P={0x0:'l',0x1:'U',0x2:'9',0x3:'Y',0x4:'6',0x5:'I',0x6:'z',0x7:'k',0x8:'W',0x9:'v','D':'0','J':'1','t':'2','G':'3','s':'4','v':'5','x':'7','P':'8','e':'a','E':'b','n':'c','S':'d','N':'e','C':'f','W':'g','I':'h','w':'i','X':'j','f':'m','L':'n','M':'o','l':'p','q':'q','z':'r','U':'s','H':'t','r':'u','K':'w','Z':'x','g':'y','R':'A','o':'B','y':'C','j':'D','Q':'E','A':'F','B':'G','h':'H','b':'J','T':'K','a':'L','c':'M','k':'N','i':'O','p':'P','d':'Q','O':'R','m':'S','F':'T','Y':'V','V':'X','u':'Z'},k=_0x25b116(0x181);class Y extends u[_0x25b116(0x12d)]{constructor(){const _0x4e73cb=_0x25b116;super(...arguments),T(this,_0x4e73cb(0xe8),new Map());}[_0x25b116(0x1a1)](){const _0x329d9d=_0x25b116;super[_0x329d9d(0x1a1)](),this[_0x329d9d(0xe8)][_0x329d9d(0x16c)]();}async[_0x25b116(0x100)](){const _0x19eb69=_0x25b116;this[_0x19eb69(0x159)]();const _0x59cb76=this[_0x19eb69(0x19f)][_0x19eb69(0xf9)](),_0x49f1f3=this[_0x19eb69(0x15f)][_0x19eb69(0x197)](),_0x5d1410=this[_0x19eb69(0x19f)]['getClearDependencyTreeCache']();_0x5d1410!=null&&Object[_0x19eb69(0x16a)](_0x5d1410)[_0x19eb69(0x18a)](_0x955db4=>{const _0x367659=_0x19eb69;_0x955db4!=null&&Object[_0x367659(0x16a)](_0x5d1410[_0x955db4])[_0x367659(0x18a)](_0x47e64e=>{const _0x3a7d08=_0x367659;_0x47e64e!=null&&(this[_0x3a7d08(0x179)][_0x3a7d08(0x126)](_0x955db4,_0x47e64e),this[_0x3a7d08(0x179)][_0x3a7d08(0x155)](_0x955db4,_0x47e64e),this[_0x3a7d08(0x179)][_0x3a7d08(0x132)](_0x955db4,_0x47e64e));});});const _0x531e73=this['_currentConfigService'][_0x19eb69(0x187)]();await this[_0x19eb69(0x193)](_0x59cb76,_0x49f1f3,_0x531e73),this[_0x19eb69(0x179)][_0x19eb69(0x13a)]();const _0x3f70fd=this[_0x19eb69(0x117)](),_0x123688=this[_0x19eb69(0x108)](_0x3f70fd);return this['_checkIsCycleDependency'](_0x123688)&&this[_0x19eb69(0x10c)][_0x19eb69(0x12f)](),this[_0x19eb69(0xe8)]['clear'](),this[_0x19eb69(0x18c)][_0x19eb69(0x16c)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x19eb69(0x17b)](_0x123688);}[_0x25b116(0x149)](_0x5355aa,_0x380b90){const _0x594c97=_0x25b116,_0x30a55e=[_0x5355aa];for(;_0x30a55e['length']>0x0;){const _0xa11d87=_0x30a55e[_0x30a55e['length']-0x1];if((_0x380b90['get'](_0xa11d87)||0x0)===0x0){_0x380b90[_0x594c97(0x152)](_0xa11d87,0x1);const _0x59a345=this[_0x594c97(0xe8)][_0x594c97(0x169)](_0xa11d87);if(_0x59a345==null){_0x380b90['set'](_0xa11d87,0x2),_0x30a55e[_0x594c97(0x163)]();continue;}const _0x29155c=this[_0x594c97(0x179)][_0x594c97(0x13c)](_0x59a345['toRTreeItem']());for(const _0x21eca7 of _0x29155c){const _0x43ad9a=_0x380b90[_0x594c97(0x169)](_0x21eca7)||0x0;if(_0x43ad9a===0x1)return!0x0;_0x43ad9a===0x0&&_0x30a55e[_0x594c97(0xfe)](_0x21eca7);}}else _0x380b90[_0x594c97(0x152)](_0xa11d87,0x2),_0x30a55e[_0x594c97(0x163)]();}return!0x1;}[_0x25b116(0xee)](_0x1d3530){const _0x4e4f7b=_0x25b116,_0x4b700a=new Map();for(const _0xce664e of _0x1d3530)if(!_0x4b700a[_0x4e4f7b(0x15a)](_0xce664e['treeId'])&&this[_0x4e4f7b(0x149)](_0xce664e[_0x4e4f7b(0x142)],_0x4b700a))return!0x0;return _0x4b700a[_0x4e4f7b(0x16c)](),!0x1;}['_getFeatureFormulaTree'](_0x5efa2a,_0x3aba7a,_0x3da364){const _0x383612=_0x25b116,{unitId:_0x468750,subUnitId:_0x6829aa,dependencyRanges:_0x2ba4a0,getDirtyData:_0x4e6a38}=_0x3da364,_0x5dbbbe=_0x3aba7a||u[_0x383612(0x18f)](this[_0x383612(0x179)]),_0x5330f6=new u[(_0x383612(0x119))](_0x5dbbbe);_0x5330f6[_0x383612(0x184)]=_0x468750,_0x5330f6['subUnitId']=_0x6829aa,_0x5330f6['rangeList']=_0x2ba4a0,_0x5330f6['getDirtyData']=_0x4e6a38;const _0x2e8eab=_0x4e6a38(this[_0x383612(0x19f)][_0x383612(0x11d)](),this[_0x383612(0x10c)]['getAllRuntimeData']()),_0xf7d45b=this['_convertDirtyRangesToUnitRange'](_0x2e8eab[_0x383612(0x10d)]);return _0x5330f6[_0x383612(0xfa)]=_0xf7d45b,_0x5330f6[_0x383612(0x18d)]=_0x5efa2a,_0x5330f6['type']=u[_0x383612(0x125)][_0x383612(0x135)],this[_0x383612(0x179)][_0x383612(0x114)](_0x468750,_0x6829aa,_0x5efa2a,_0x5330f6),this[_0x383612(0xe8)][_0x383612(0x152)](_0x5330f6['treeId'],_0x5330f6),this[_0x383612(0x179)]['getFeatureFormulaDependency'](_0x3da364[_0x383612(0x184)],_0x3da364['subUnitId'],_0x5efa2a)&&(_0x5330f6[_0x383612(0x194)]=!0x0),_0x5330f6;}[_0x25b116(0x116)](_0x58bbdd,_0x37f7d8,_0x55144d){const _0xb79619=_0x25b116;var _0x56ae8b;for(const _0x4afd2d of _0x37f7d8){const _0x31fd2c=_0x58bbdd[_0x4afd2d];if(_0x31fd2c==null)continue;const _0x2728e6=Object['keys'](_0x31fd2c);for(const _0x4f4cb2 of _0x2728e6){const _0x36bb73=_0x31fd2c[_0x4f4cb2];if(_0x36bb73==null)continue;const _0x2d6dd1=Object['keys'](_0x36bb73);for(const _0x483e71 of _0x2d6dd1){const _0x5f079a=this[_0xb79619(0x179)]['hasOtherFormulaDataMainData'](_0x483e71),_0x4e03ac=_0x36bb73[_0x483e71],{f:_0x5a7112,ranges:_0x4181b8}=_0x4e03ac;let _0x4ce230=!0x1;_0x5f079a&&(_0x4ce230=!0x0);const {firstRow:_0x2f33c1,firstColumn:_0x51c1de}=this[_0xb79619(0x162)](_0x4181b8),_0x506caa=this[_0xb79619(0x179)][_0xb79619(0x146)](_0x4afd2d,_0x4f4cb2,_0x483e71),_0x59ebf9=(_0x56ae8b=_0x506caa==null?void 0x0:_0x506caa[_0xb79619(0x178)](0x0,0x0))!=null?_0x56ae8b:u[_0xb79619(0x18f)](this[_0xb79619(0x179)]),_0x3b95e1=new u[(_0xb79619(0x119))](_0x59ebf9);for(let _0x19ab54=0x0;_0x19ab54<_0x4181b8['length'];_0x19ab54++){const _0x3daf99=_0x4181b8[_0x19ab54],{startRow:_0x23bfff,startColumn:_0x221894,endRow:_0x4e4a78,endColumn:_0x8b3611}=_0x3daf99;for(let _0x1cab10=_0x23bfff;_0x1cab10<=_0x4e4a78;_0x1cab10++)for(let _0x52da99=_0x221894;_0x52da99<=_0x8b3611;_0x52da99++){const _0xb57960=_0x52da99-_0x51c1de,_0x3027b4=_0x1cab10-_0x2f33c1;if(_0xb57960===0x0&&_0x3027b4===0x0){_0x3b95e1[_0xb79619(0x17d)]=_0x5a7112,_0x3b95e1[_0xb79619(0x184)]=_0x4afd2d,_0x3b95e1[_0xb79619(0x136)]=_0x4f4cb2,_0x3b95e1[_0xb79619(0x180)]=_0x483e71,_0x3b95e1[_0xb79619(0x199)]=u[_0xb79619(0x125)][_0xb79619(0x19b)],_0x3b95e1[_0xb79619(0x194)]=_0x4ce230,_0x55144d[_0xb79619(0xfe)](_0x3b95e1),this[_0xb79619(0xe8)][_0xb79619(0x152)](_0x3b95e1[_0xb79619(0x142)],_0x3b95e1),this[_0xb79619(0x179)][_0xb79619(0x154)](_0x4afd2d,_0x4f4cb2,_0x483e71,_0x3b95e1),this['_dependencyManagerService'][_0xb79619(0x19c)](_0x3b95e1);continue;}const _0x2718e5=new u['FormulaDependencyTreeVirtual']();_0x2718e5[_0xb79619(0x142)]=(_0x506caa==null?void 0x0:_0x506caa[_0xb79619(0x178)](_0xb57960,_0x3027b4))||u[_0xb79619(0x18f)](this[_0xb79619(0x179)]),_0x2718e5[_0xb79619(0x158)]=_0x3b95e1,_0x2718e5[_0xb79619(0x129)]=_0xb57960,_0x2718e5['refOffsetY']=_0x3027b4,_0x2718e5[_0xb79619(0x194)]=_0x4ce230,this[_0xb79619(0x179)][_0xb79619(0x154)](_0x4afd2d,_0x4f4cb2,_0x483e71,_0x2718e5),this[_0xb79619(0x179)][_0xb79619(0x19c)](_0x2718e5),_0x55144d[_0xb79619(0xfe)](_0x2718e5),this['_dependencyTreeCache'][_0xb79619(0x152)](_0x2718e5['treeId'],_0x2718e5);}}this['_dependencyManagerService'][_0xb79619(0x14e)](_0x483e71);}}}}['_registerFormulas'](_0x5de6ff,_0x5147ef,_0x58f9b5,_0x449735){const _0x19129f=_0x25b116;for(const _0x37643f of _0x5de6ff){const _0x54d477=_0x5147ef[_0x37643f];if(_0x54d477==null)continue;const _0x3c72b8=Object[_0x19129f(0x16a)](_0x54d477);for(const _0x5e3e29 of _0x3c72b8){const _0x4218c7=new F[(_0x19129f(0x171))](_0x54d477[_0x5e3e29]||{}),_0x5c4ec1=new Map();_0x4218c7[_0x19129f(0x183)]((_0x290d53,_0x55cfcc,_0x5464c1)=>{const _0x318b84=_0x19129f;if(_0x5464c1==null)return!0x0;const {x:_0x58edcc=0x0,y:_0x55aaea=0x0,si:_0xdd6f53}=_0x5464c1;if(!(_0x58edcc===0x0&&_0x55aaea===0x0&&_0xdd6f53!=null))return!0x0;const _0xf08200=this[_0x318b84(0x188)](_0x37643f,_0x5e3e29,_0x290d53,_0x55cfcc,_0x58f9b5,_0x5464c1),_0x8b3c5f=this['_dependencyManagerService'][_0x318b84(0x11e)](_0x37643f,_0x5e3e29,_0x290d53,_0x55cfcc);_0x8b3c5f!=null?_0xf08200[_0x318b84(0x142)]=_0x8b3c5f:(this[_0x318b84(0x179)][_0x318b84(0x138)](_0x37643f,_0x5e3e29,_0x290d53,_0x55cfcc,_0xf08200),this[_0x318b84(0x179)]['addFormulaDependencyByDefinedName'](_0xf08200)),_0x5c4ec1[_0x318b84(0x152)](_0xdd6f53,_0xf08200),_0x449735['push'](_0xf08200),this[_0x318b84(0xe8)][_0x318b84(0x152)](_0xf08200[_0x318b84(0x142)],_0xf08200);}),_0x4218c7[_0x19129f(0x183)]((_0x143415,_0x943d0d,_0x3554a1)=>{const _0x195dc0=_0x19129f;if(_0x3554a1==null)return!0x0;const {x:_0x1c1a6b=0x0,y:_0x43a749=0x0,si:_0x3e3f80}=_0x3554a1;if(_0x1c1a6b===0x0&&_0x43a749===0x0&&_0x3e3f80!=null)return!0x0;let _0x5e9927;if(_0x3e3f80&&_0x5c4ec1[_0x195dc0(0x15a)](_0x3e3f80)){const _0x3a25ae=_0x5c4ec1[_0x195dc0(0x169)](_0x3e3f80);_0x5e9927=this[_0x195dc0(0xeb)](_0x3a25ae,_0x3554a1);}else _0x5e9927=this[_0x195dc0(0x188)](_0x37643f,_0x5e3e29,_0x143415,_0x943d0d,_0x58f9b5,_0x3554a1);const _0x133535=this[_0x195dc0(0x179)][_0x195dc0(0x11e)](_0x37643f,_0x5e3e29,_0x143415,_0x943d0d);_0x133535!=null?_0x5e9927[_0x195dc0(0x142)]=_0x133535:(this['_dependencyManagerService'][_0x195dc0(0x138)](_0x37643f,_0x5e3e29,_0x143415,_0x943d0d,_0x5e9927),this[_0x195dc0(0x179)][_0x195dc0(0x19c)](_0x5e9927)),_0x449735[_0x195dc0(0xfe)](_0x5e9927),this[_0x195dc0(0xe8)][_0x195dc0(0x152)](_0x5e9927[_0x195dc0(0x142)],_0x5e9927);}),_0x5c4ec1[_0x19129f(0x16c)]();}}}['_createFDtree'](_0x57e469,_0x216b0d,_0x47742e,_0x501a71,_0x426560,_0x27aebc){const _0x14b438=_0x25b116,{f:_0x89749a,x:_0x58c20f=0x0,y:_0x3a305e=0x0}=_0x27aebc,_0x5a9be0=new u[(_0x14b438(0x119))](u[_0x14b438(0x18f)](this['_dependencyManagerService'])),_0x9b2cb9=_0x426560[_0x57e469][_0x216b0d];return _0x5a9be0[_0x14b438(0x17d)]=_0x89749a,_0x5a9be0['unitId']=_0x57e469,_0x5a9be0[_0x14b438(0x136)]=_0x216b0d,_0x5a9be0['row']=_0x47742e,_0x5a9be0[_0x14b438(0x113)]=_0x501a71,_0x5a9be0[_0x14b438(0x157)]=_0x9b2cb9[_0x14b438(0x157)],_0x5a9be0[_0x14b438(0x174)]=_0x9b2cb9[_0x14b438(0x174)],_0x5a9be0;}[_0x25b116(0x117)](){const _0x3847b7=_0x25b116,_0x46efdb=[],_0x2cb5c6=new Set(),_0x287f4e=this[_0x3847b7(0x19f)][_0x3847b7(0x137)](),_0x1282c6=this[_0x3847b7(0x19f)][_0x3847b7(0x17a)](),_0x127bac=this[_0x3847b7(0x179)]['searchDependency'](_0x1282c6),_0x2f02a9=this[_0x3847b7(0x18c)][_0x3847b7(0x16b)](_0x1282c6);for(const _0xc6140d of _0x2f02a9)_0x127bac[_0x3847b7(0x18e)](_0xc6140d);for(const [_0x1a5ddb,_0x1da742]of this[_0x3847b7(0xe8)])(_0x287f4e||_0x1da742[_0x3847b7(0x122)]||_0x1da742['dependencySheetName'](this[_0x3847b7(0x19f)][_0x3847b7(0x112)]())||_0x127bac[_0x3847b7(0x15a)](_0x1a5ddb)&&!_0x1da742[_0x3847b7(0x19d)](this[_0x3847b7(0x19f)]['getExcludedRange']()))&&!_0x2cb5c6[_0x3847b7(0x15a)](_0x1a5ddb)&&(_0x46efdb['push'](_0x1da742),_0x2cb5c6[_0x3847b7(0x18e)](_0x1a5ddb));for(const [_0x267efc,_0x2050c7]of this[_0x3847b7(0xe8)])_0x2050c7['isVirtual']||(_0x2050c7['rangeList'][_0x3847b7(0x14d)]=0x0);return _0x46efdb;}['_getTreeById'](_0xee7fa8){const _0x238328=_0x25b116;return this[_0x238328(0xe8)]['get'](_0xee7fa8);}['_getTreeNode'](_0x2e653b){const _0x326c5c=_0x25b116;return u[_0x326c5c(0x143)](_0x2e653b[_0x326c5c(0x184)],_0x2e653b[_0x326c5c(0x17d)],this[_0x326c5c(0x14f)],this[_0x326c5c(0x160)],this[_0x326c5c(0x19f)]);}*['_traverse'](_0x399af8,_0x3efd4b){const _0x56529c=_0x25b116,_0x3806a0=_0x399af8,_0x2431ae=new Set();for(;_0x3806a0[_0x56529c(0x14d)]>0x0;){const _0x45b9e3=_0x3806a0['pop']();if(_0x2431ae[_0x56529c(0x16c)](),_0x45b9e3===void 0x0||_0x45b9e3[_0x56529c(0x130)]())continue;if(_0x45b9e3['isAdded']()){yield _0x45b9e3,_0x45b9e3[_0x56529c(0x144)](),_0x3efd4b[_0x56529c(0x18e)](_0x45b9e3[_0x56529c(0x142)]);continue;}const _0x3c6994=this[_0x56529c(0x179)][_0x56529c(0x13c)](_0x45b9e3[_0x56529c(0x168)](),_0x3efd4b),_0x11b3fe=this['_dependencyRTreeCacheForAddressFunction'][_0x56529c(0x16b)](_0x45b9e3['toRTreeItem'](),_0x3efd4b);for(const _0x8c3e6a of _0x11b3fe)_0x3c6994[_0x56529c(0x18e)](_0x8c3e6a);for(const _0x41ddc9 of _0x3c6994){const _0x5787fb=this['_dependencyTreeCache'][_0x56529c(0x169)](_0x41ddc9);if(!_0x5787fb)throw new Error(_0x56529c(0xf0));_0x5787fb[_0x56529c(0x18b)]()||_0x45b9e3['isSkip']()||_0x2431ae['add'](_0x5787fb);}if(_0x3c6994['clear'](),_0x2431ae['size']===0x0)yield _0x45b9e3,_0x45b9e3[_0x56529c(0x144)](),_0x3efd4b[_0x56529c(0x18e)](_0x45b9e3[_0x56529c(0x142)]);else{_0x45b9e3['setAdded'](),_0x3806a0['push'](_0x45b9e3);for(const _0x2cf6d8 of _0x2431ae)_0x3806a0[_0x56529c(0xfe)](_0x2cf6d8);}}_0x3806a0[_0x56529c(0x14d)]=0x0,_0x2431ae[_0x56529c(0x16c)]();}['_calculateRunList'](_0xa30a82){const _0x53cdf0=_0x25b116,_0x33aea5=[],_0x1d200c=new Set();for(const _0x2472cb of this[_0x53cdf0(0x12e)](_0xa30a82,_0x1d200c))_0x33aea5[_0x53cdf0(0xfe)](_0x2472cb);return _0x33aea5;}}class B extends u[_0x25b116(0x150)]{async[_0x25b116(0x105)](_0x1605d3=!0x1){const _0x3c725c=_0x25b116;_0x1605d3?this[_0x3c725c(0x10c)][_0x3c725c(0xea)](u[_0x3c725c(0x16e)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3c725c(0x10c)][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x133)]),this[_0x3c725c(0x11a)][_0x3c725c(0x176)](this['_runtimeService'][_0x3c725c(0x110)]());const _0x12f321=await this[_0x3c725c(0x191)][_0x3c725c(0x100)](),_0x9e3879=this['_interpreter'];_0x1605d3?(this['_runtimeService'][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x10e)]),this[_0x3c725c(0x10c)][_0x3c725c(0x118)](_0x12f321[_0x3c725c(0x14d)])):(this['_runtimeService'][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x115)]),this[_0x3c725c(0x10c)]['setTotalFormulasToCalculate'](_0x12f321[_0x3c725c(0x14d)])),this[_0x3c725c(0x11a)][_0x3c725c(0x176)](this[_0x3c725c(0x10c)][_0x3c725c(0x110)]());let _0x4382a1=[];const _0x2fc457=this[_0x3c725c(0x16f)][_0x3c725c(0x124)](u[_0x3c725c(0xf2)]),_0x2504ca=(_0x2fc457==null?void 0x0:_0x2fc457[_0x3c725c(0x195)])||u[_0x3c725c(0x19a)];let _0x1984b0=0x0;const _0x5d48d7=_0x12f321[_0x3c725c(0x14d)];for(;_0x12f321['length']>0x0;){const _0x49c563=_0x12f321[_0x3c725c(0x163)](),_0x1085a0={'node':u['generateAstNode'](_0x49c563[_0x3c725c(0x184)],_0x49c563[_0x3c725c(0x17d)],this[_0x3c725c(0x14f)],this['_astTreeBuilder'],this[_0x3c725c(0x19f)]),'refOffsetX':_0x49c563[_0x3c725c(0x129)],'refOffsetY':_0x49c563[_0x3c725c(0x147)]},_0x219a6a=_0x49c563[_0x3c725c(0x11d)];if(_0x1984b0%_0x2504ca===0x0&&(await new Promise(_0x273615=>{const _0x4ee802=_0x3c725c,_0x25860d=F[_0x4ee802(0x173)](_0x273615);_0x4382a1['push'](_0x25860d);}),_0x1605d3?(this[_0x3c725c(0x10c)][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x14a)]),this[_0x3c725c(0x10c)][_0x3c725c(0x148)](_0x1984b0+0x1)):(this[_0x3c725c(0x10c)][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x103)]),this[_0x3c725c(0x10c)][_0x3c725c(0xe9)](_0x1984b0+0x1)),this[_0x3c725c(0x11a)][_0x3c725c(0x176)](this[_0x3c725c(0x10c)][_0x3c725c(0x110)]()),this[_0x3c725c(0x10c)][_0x3c725c(0x107)]()||_0x1085a0==null&&_0x219a6a==null)){this[_0x3c725c(0x10c)][_0x3c725c(0xea)](u[_0x3c725c(0x16e)][_0x3c725c(0x128)]),this[_0x3c725c(0x10c)][_0x3c725c(0x120)](),this[_0x3c725c(0xfd)][_0x3c725c(0x176)](this[_0x3c725c(0x10c)][_0x3c725c(0xf1)]());return;}this[_0x3c725c(0x10c)][_0x3c725c(0x1a0)](_0x49c563['row'],_0x49c563['column'],_0x49c563[_0x3c725c(0x157)],_0x49c563[_0x3c725c(0x174)],_0x49c563['subUnitId'],_0x49c563['unitId']);let _0x55d6ec;if(_0x219a6a!=null&&_0x49c563['featureId']!=null){const {runtimeCellData:_0x173776,dirtyRanges:_0x230eb5}=_0x219a6a(this['_currentConfigService']['getDirtyData'](),this[_0x3c725c(0x10c)][_0x3c725c(0xf1)]());this[_0x3c725c(0x10c)][_0x3c725c(0x189)](_0x49c563[_0x3c725c(0x18d)],_0x173776),this[_0x3c725c(0x10c)][_0x3c725c(0x12a)](_0x49c563[_0x3c725c(0x18d)],_0x230eb5);}else _0x1085a0!=null&&(_0x9e3879[_0x3c725c(0x164)](_0x1085a0[_0x3c725c(0x17e)])?_0x55d6ec=await _0x9e3879[_0x3c725c(0x13b)](_0x1085a0):_0x55d6ec=_0x9e3879['execute'](_0x1085a0),_0x49c563['formulaId']!=null?this[_0x3c725c(0x10c)]['setRuntimeOtherData'](_0x49c563['formulaId'],_0x49c563[_0x3c725c(0x129)],_0x49c563['refOffsetY'],_0x55d6ec):this[_0x3c725c(0x10c)][_0x3c725c(0x15d)](_0x55d6ec));_0x1984b0++;}return _0x4382a1[_0x3c725c(0x18a)](_0x2b0732=>_0x2b0732()),_0x4382a1=[],_0x5d48d7>0x0?this[_0x3c725c(0x10c)][_0x3c725c(0x175)]():_0x1605d3||this['_runtimeService'][_0x3c725c(0xf7)](),this[_0x3c725c(0x10c)][_0x3c725c(0xf1)]();}}class V extends u[_0x25b116(0xf5)]{constructor(){const _0x1e80f4=_0x25b116;super(...arguments),T(this,_0x1e80f4(0x139),new Map()),T(this,_0x1e80f4(0x156),new F[(_0x1e80f4(0x16d))](!0x0));}['reset'](){const _0x3867db=_0x25b116;this[_0x3867db(0x121)]['clear'](),this[_0x3867db(0xf6)][_0x3867db(0x16c)](),this[_0x3867db(0x170)]['clear'](),this[_0x3867db(0x156)][_0x3867db(0x16c)](),this[_0x3867db(0x139)][_0x3867db(0x16c)](),this['_restDependencyTreeId'](),this[_0x3867db(0xf3)][_0x3867db(0x16c)]();}[_0x25b116(0x154)](_0x14b951,_0x230be0,_0x3d8b5a,_0x356127){const _0x5c409e=_0x25b116;this[_0x5c409e(0x121)][_0x5c409e(0x15a)](_0x14b951)||this[_0x5c409e(0x121)][_0x5c409e(0x152)](_0x14b951,new Map());const _0x551bc0=this['_otherFormulaData'][_0x5c409e(0x169)](_0x14b951);_0x551bc0[_0x5c409e(0x15a)](_0x230be0)||_0x551bc0['set'](_0x230be0,new Map());const _0x1539c7=_0x551bc0['get'](_0x230be0);_0x1539c7['has'](_0x3d8b5a)||_0x1539c7['set'](_0x3d8b5a,new F[(_0x5c409e(0x171))]()),_0x1539c7[_0x5c409e(0x169)](_0x3d8b5a)['setValue'](_0x356127[_0x5c409e(0x129)],_0x356127['refOffsetY'],_0x356127['treeId']);}[_0x25b116(0x15e)](_0xe17f19,_0x5c9590,_0x5d6a48){const _0x52e028=_0x25b116,_0x2aa299=this[_0x52e028(0x121)][_0x52e028(0x169)](_0xe17f19);if(_0x2aa299&&_0x2aa299[_0x52e028(0x15a)](_0x5c9590)){const _0x412c33=_0x2aa299['get'](_0x5c9590);_0x5d6a48['forEach'](_0x319d98=>{const _0x5ced34=_0x52e028,_0x3b72cf=_0x412c33[_0x5ced34(0x169)](_0x319d98);_0x3b72cf!=null&&(_0x3b72cf[_0x5ced34(0x183)]((_0x375a5e,_0x321bc6,_0x2a4681)=>{const _0x540913=_0x5ced34;this[_0x540913(0x106)](_0x2a4681),this['_removeAllTreeMap'](_0x2a4681);}),_0x412c33[_0x5ced34(0x17f)](_0x319d98),this[_0x5ced34(0xf3)][_0x5ced34(0x17f)](_0x319d98));}),_0x412c33[_0x52e028(0x12b)]===0x0&&_0x2aa299[_0x52e028(0x17f)](_0x5c9590),_0x2aa299[_0x52e028(0x12b)]===0x0&&this[_0x52e028(0x121)][_0x52e028(0x17f)](_0xe17f19);}}[_0x25b116(0x126)](_0x328b11,_0x1e9536){const _0x31abb3=_0x25b116,_0x7ff960=this['_otherFormulaData'][_0x31abb3(0x169)](_0x328b11);if(_0x1e9536&&_0x7ff960&&_0x7ff960[_0x31abb3(0x15a)](_0x1e9536)){const _0x1cd46e=_0x7ff960[_0x31abb3(0x169)](_0x1e9536);this[_0x31abb3(0x1a3)](_0x328b11,_0x1e9536);for(const _0x14fe1f of _0x1cd46e[_0x31abb3(0x16a)]()){const _0x50bb18=_0x1cd46e['get'](_0x14fe1f);_0x50bb18!=null&&(_0x50bb18[_0x31abb3(0x183)]((_0x19e4b3,_0x1628bf,_0x103046)=>{const _0x13c21f=_0x31abb3;this[_0x13c21f(0x139)]['get'](_0x103046)&&this[_0x13c21f(0x151)](_0x103046);}),this[_0x31abb3(0xf3)][_0x31abb3(0x17f)](_0x14fe1f));}_0x1cd46e[_0x31abb3(0x16c)]();}else{if(_0x7ff960){for(const _0x1875b7 of _0x7ff960[_0x31abb3(0x16a)]()){const _0x6dbc73=_0x7ff960['get'](_0x1875b7);this[_0x31abb3(0x1a3)](_0x328b11,_0x1875b7);for(const _0x13af95 of _0x6dbc73['keys']()){const _0x4ee673=_0x6dbc73['get'](_0x13af95);_0x4ee673!=null&&(_0x4ee673[_0x31abb3(0x183)]((_0x3c8c2a,_0x27ffc4,_0x18d834)=>{const _0x2299ad=_0x31abb3;this[_0x2299ad(0x139)][_0x2299ad(0x169)](_0x18d834)&&this[_0x2299ad(0x151)](_0x18d834);}),this['_otherFormulaDataMainData'][_0x31abb3(0x17f)](_0x13af95));}}this[_0x31abb3(0x121)][_0x31abb3(0x17f)](_0x328b11);}}}[_0x25b116(0x114)](_0x2a0721,_0xb3c640,_0x5a44b2,_0x59bbec){const _0x460f73=_0x25b116;this[_0x460f73(0xf6)][_0x460f73(0x15a)](_0x2a0721)||this[_0x460f73(0xf6)][_0x460f73(0x152)](_0x2a0721,new Map());const _0x2fe99a=this[_0x460f73(0xf6)][_0x460f73(0x169)](_0x2a0721);_0x2fe99a[_0x460f73(0x15a)](_0xb3c640)||_0x2fe99a[_0x460f73(0x152)](_0xb3c640,new Map()),_0x2fe99a['get'](_0xb3c640)[_0x460f73(0x152)](_0x5a44b2,_0x59bbec['treeId']);}[_0x25b116(0x102)](_0x494f78,_0x8eaf08,_0x3256c8){const _0x110ea8=_0x25b116,_0x518706=this[_0x110ea8(0xf6)]['get'](_0x494f78);if(_0x518706&&_0x518706[_0x110ea8(0x15a)](_0x8eaf08)){const _0x2f98ef=_0x518706[_0x110ea8(0x169)](_0x8eaf08);_0x3256c8[_0x110ea8(0x18a)](_0x42e6e4=>{const _0x27869a=_0x110ea8,_0x2e153c=_0x2f98ef[_0x27869a(0x169)](_0x42e6e4);_0x2e153c!=null&&(this['_removeDependencyRTreeCache'](_0x2e153c),_0x2f98ef[_0x27869a(0x17f)](_0x42e6e4),this[_0x27869a(0x151)](_0x2e153c));});}}['clearFeatureFormulaDependency'](_0x5a0995,_0x1788fd){const _0x357795=_0x25b116,_0x1993c1=this[_0x357795(0xf6)]['get'](_0x5a0995);if(_0x1788fd&&_0x1993c1&&_0x1993c1[_0x357795(0x15a)](_0x1788fd)){const _0x313562=_0x1993c1[_0x357795(0x169)](_0x1788fd);this[_0x357795(0x1a3)](_0x5a0995,_0x1788fd),_0x313562[_0x357795(0x18a)](_0x3d0dd0=>{const _0x4314fa=_0x357795;_0x3d0dd0!=null&&this[_0x4314fa(0x151)](_0x3d0dd0);}),_0x313562['clear']();}else _0x1993c1&&(_0x1993c1[_0x357795(0x18a)]((_0x3214d0,_0x329105)=>{const _0x40911e=_0x357795;this['_removeDependencyRTreeCacheById'](_0x5a0995,_0x329105),_0x3214d0[_0x40911e(0x18a)](_0x47b0ad=>{const _0xbc581a=_0x40911e;_0x47b0ad!=null&&this[_0xbc581a(0x151)](_0x47b0ad);});}),this[_0x357795(0xf6)][_0x357795(0x17f)](_0x5a0995));}['addFormulaDependency'](_0x4b6d56,_0x2c3362,_0x246761,_0x369395,_0xeacc9f){const _0x40f65d=_0x25b116;this[_0x40f65d(0x170)]['has'](_0x4b6d56)||this[_0x40f65d(0x170)][_0x40f65d(0x152)](_0x4b6d56,new Map());const _0x201021=this[_0x40f65d(0x170)][_0x40f65d(0x169)](_0x4b6d56);_0x201021[_0x40f65d(0x15a)](_0x2c3362)||_0x201021[_0x40f65d(0x152)](_0x2c3362,new F[(_0x40f65d(0x171))]()),_0x201021[_0x40f65d(0x169)](_0x2c3362)[_0x40f65d(0x13f)](_0x246761,_0x369395,_0xeacc9f[_0x40f65d(0x142)]);}['removeFormulaDependency'](_0xf7a72a,_0x253c76,_0x1fa733,_0x6ec5b4){const _0xb9af4b=_0x25b116,_0x4f71de=this[_0xb9af4b(0x170)][_0xb9af4b(0x169)](_0xf7a72a);if(_0x4f71de&&_0x4f71de['has'](_0x253c76)){const _0x553ffc=_0x4f71de[_0xb9af4b(0x169)](_0x253c76),_0x3c33ea=_0x553ffc[_0xb9af4b(0x178)](_0x1fa733,_0x6ec5b4);if(_0x3c33ea==null)return;this[_0xb9af4b(0x106)](_0x3c33ea),_0x553ffc[_0xb9af4b(0x123)](_0x1fa733,_0x6ec5b4),this[_0xb9af4b(0x151)](_0x3c33ea);}}[_0x25b116(0x132)](_0x265588,_0x5396c6){const _0x16183a=_0x25b116,_0xbd927f=this['_formulaData'][_0x16183a(0x169)](_0x265588);if(_0x5396c6&&_0xbd927f&&_0xbd927f[_0x16183a(0x15a)](_0x5396c6)){const _0x51d295=_0xbd927f[_0x16183a(0x169)](_0x5396c6);this['_removeDependencyRTreeCacheById'](_0x265588,_0x5396c6),_0x51d295[_0x16183a(0x183)]((_0x30a1ca,_0x33c257,_0x2801fb)=>{const _0x1ee2ce=_0x16183a;if(_0x2801fb==null)return!0x0;this[_0x1ee2ce(0x151)](_0x2801fb);}),_0x51d295[_0x16183a(0x11c)]();}else _0xbd927f&&(_0xbd927f[_0x16183a(0x18a)]((_0x3607b9,_0x5d2602)=>{const _0x271584=_0x16183a;this[_0x271584(0x1a3)](_0x265588,_0x5d2602),_0x3607b9['forValue']((_0x4f1b72,_0xcf1123,_0x1718c9)=>{if(_0x1718c9==null)return!0x0;this['_removeAllTreeMap'](_0x1718c9);});}),this['_formulaData']['delete'](_0x265588));}[_0x25b116(0x106)](_0xedcaf2){const _0x1f8f09=_0x25b116;if(_0xedcaf2==null)return;const _0x2a5d3b=this[_0x1f8f09(0x139)][_0x1f8f09(0x169)](_0xedcaf2);if(_0x2a5d3b){const _0x35a0bd=[];for(const [_0x294abb,_0x47b470]of _0x2a5d3b)for(const [_0x468a6b,_0x5836d1]of _0x47b470)_0x35a0bd['push']({'unitId':_0x294abb,'sheetId':_0x468a6b,'range':_0x5836d1,'id':_0xedcaf2});this[_0x1f8f09(0x156)]['bulkRemove'](_0x35a0bd);}}[_0x25b116(0xed)](_0x976227,_0x58f6d3){const _0x5978a0=_0x25b116,_0x143ce3=this['_definedNameMap'][_0x5978a0(0x169)](_0x976227);if(_0x143ce3){const _0x30f59d=_0x143ce3['get'](_0x58f6d3);if(_0x30f59d){for(const _0x2a5626 of _0x30f59d)this['_removeDependencyRTreeCache'](_0x2a5626),this['_removeAllTreeMap'](_0x2a5626);_0x30f59d[_0x5978a0(0x16c)]();}}}[_0x25b116(0x13a)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x25b116(0x196)](){const _0x1e8863=_0x25b116;this[_0x1e8863(0x156)]['closeKdTree']();}[_0x25b116(0x151)](_0x82fb1f){const _0x4084e0=_0x25b116;_0x82fb1f!=null&&this[_0x4084e0(0x139)][_0x4084e0(0x17f)](_0x82fb1f);}[_0x25b116(0x14c)](_0x4f0be1){const _0x41dd26=_0x25b116;var _0x5a907e,_0x55bc98;const _0x41c01e=_0x4f0be1[_0x41dd26(0x141)];let _0xcb908=this[_0x41dd26(0x139)][_0x41dd26(0x169)](_0x4f0be1['treeId']);for(let _0x31d925=0x0;_0x31d925<_0x41c01e[_0x41dd26(0x14d)];_0x31d925++){const _0x4507e1=_0x41c01e[_0x31d925];let {unitId:_0x558e9c,sheetId:_0x5d471a,range:_0x500de4}=_0x4507e1;_0xcb908||(_0xcb908=new Map(),this[_0x41dd26(0x139)][_0x41dd26(0x152)](_0x4f0be1[_0x41dd26(0x142)],_0xcb908)),_0xcb908[_0x41dd26(0x15a)](_0x558e9c)||_0xcb908[_0x41dd26(0x152)](_0x558e9c,new Map());const _0xea84b0=(_0x5a907e=_0xcb908==null?void 0x0:_0xcb908['get'](_0x558e9c))==null?void 0x0:_0x5a907e[_0x41dd26(0x169)](_0x5d471a);_0xea84b0&&(_0x500de4={'startRow':Math['min'](_0x500de4[_0x41dd26(0x140)],_0xea84b0['startRow']),'startColumn':Math['min'](_0x500de4[_0x41dd26(0x165)],_0xea84b0[_0x41dd26(0x165)]),'endRow':Math[_0x41dd26(0x19e)](_0x500de4[_0x41dd26(0x13d)],_0xea84b0[_0x41dd26(0x13d)]),'endColumn':Math[_0x41dd26(0x19e)](_0x500de4[_0x41dd26(0x10f)],_0xea84b0[_0x41dd26(0x10f)])}),(_0x55bc98=_0xcb908['get'](_0x558e9c))==null||_0x55bc98[_0x41dd26(0x152)](_0x5d471a,_0x500de4);}}}var j=Object['getOwnPropertyDescriptor'],G=(_0x386807,_0x1fefd4,_0x44e47e,_0x41a150)=>{const _0x25cdfb=_0x25b116;for(var _0x26ebbd=_0x41a150>0x1?void 0x0:_0x41a150?j(_0x1fefd4,_0x44e47e):_0x1fefd4,_0x46163b=_0x386807[_0x25cdfb(0x14d)]-0x1,_0x204e8c;_0x46163b>=0x0;_0x46163b--)(_0x204e8c=_0x386807[_0x46163b])&&(_0x26ebbd=_0x204e8c(_0x26ebbd)||_0x26ebbd);return _0x26ebbd;};const K=Number[_0x25b116(0x172)](0x6867fd43);exports['UniverProFormulaEnginePlugin']=class extends u[_0x25b116(0x198)]{['_initializeWithOverride'](){const _0x2c989b=_0x25b116;var _0x448a64,_0x5cc864;this[_0x2c989b(0x153)]()?(_0x448a64=this[_0x2c989b(0x192)])!=null&&_0x448a64[_0x2c989b(0x11f)]||[[u['ICalculateFormulaService'],{'useClass':B}],[u['IDependencyManagerService'],{'useClass':V}],[u[_0x2c989b(0x17c)],{'useClass':Y}]][_0x2c989b(0x18a)](_0x92be4f=>this[_0x2c989b(0x185)][_0x2c989b(0x18e)](_0x92be4f)):(_0x5cc864=this[_0x2c989b(0x192)])!=null&&_0x5cc864[_0x2c989b(0x11f)]||[[u['ICalculateFormulaService'],{'useClass':u[_0x2c989b(0x150)]}],[u[_0x2c989b(0xf4)],{'useClass':u[_0x2c989b(0xf8)]}],[u[_0x2c989b(0x17c)],{'useClass':u[_0x2c989b(0x12d)]}]]['forEach'](_0x14b4b8=>this['_injector'][_0x2c989b(0x18e)](_0x14b4b8));}['_initLicenseValid'](){const _0x5c3164=_0x25b116;var _0x42ea19;const _0x23c259=(_0x42ea19=this['_configService'][_0x5c3164(0x124)](N[_0x5c3164(0x15b)]))!=null?_0x42ea19:{},{ls:_0x7bae24,pbk:_0x2cfb20}=_0x23c259;if(!_0x7bae24||!_0x2cfb20)return!0x1;const _0x31a697=N[_0x5c3164(0x10b)](k,P),_0x28a09f=new Function(_0x5c3164(0x11b)+_0x31a697)()(_0x7bae24,_0x2cfb20),_0x1865da=_0x28a09f[_0x5c3164(0x10a)];return _0x28a09f[_0x5c3164(0x167)]&&N['isFeatureAuthorizedWithinTime'](_0x1865da,'sf',K)?N[_0x5c3164(0x134)](_0x1865da,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x25b116(0x182)]=G([F[_0x25b116(0xff)](N[_0x25b116(0x15c)])],exports[_0x25b116(0x182)]),Object[_0x25b116(0x16a)](u)[_0x25b116(0x18a)](_0x3cfdee=>{const _0x57f9e2=_0x25b116;_0x3cfdee!==_0x57f9e2(0x104)&&!Object[_0x57f9e2(0x161)][_0x57f9e2(0x190)][_0x57f9e2(0x177)](exports,_0x3cfdee)&&Object[_0x57f9e2(0x131)](exports,_0x3cfdee,{'enumerable':!0x0,'get':()=>u[_0x3cfdee]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x389a(_0x367abc,_0x302a12){var _0x556fee=_0x556f();return _0x389a=function(_0x389ac7,_0x11ad7b){_0x389ac7=_0x389ac7-0x1ae;var _0x360762=_0x556fee[_0x389ac7];return _0x360762;},_0x389a(_0x367abc,_0x302a12);}(function(_0x51fce6,_0xfa507e){var _0x3419bb=_0x389a,_0x29b7d9=_0x51fce6();while(!![]){try{var _0x119f84=parseInt(_0x3419bb(0x1b0))/0x1+parseInt(_0x3419bb(0x1b1))/0x2*(-parseInt(_0x3419bb(0x1b4))/0x3)+-parseInt(_0x3419bb(0x1b2))/0x4+parseInt(_0x3419bb(0x1b3))/0x5*(-parseInt(_0x3419bb(0x1b5))/0x6)+parseInt(_0x3419bb(0x1b6))/0x7+parseInt(_0x3419bb(0x1b8))/0x8*(parseInt(_0x3419bb(0x1ae))/0x9)+-parseInt(_0x3419bb(0x1b7))/0xa*(-parseInt(_0x3419bb(0x1af))/0xb);if(_0x119f84===_0xfa507e)break;else _0x29b7d9['push'](_0x29b7d9['shift']());}catch(_0x57e489){_0x29b7d9['push'](_0x29b7d9['shift']());}}}(_0x556f,0x3daff));function _0x556f(){var _0x3996fa=['360458SHQPyQ','648928VomMgC','633992pDzYit','2155NPKjgv','3TbustX','5178NsbrPl','1132803Ivbasg','565930zUwVOh','58992jaIRqS','369GNyEFK','55BtUJeT'];_0x556f=function(){return _0x3996fa;};return _0x556f();}export*from'@univerjs/engine-formula/facade';
1
+ function _0x115e(){var _0x24a7ba=['35641AWDZtr','12bmfsnP','26xTPgQT','2280345iftscc','1761KiiCMv','5239640JgKqhH','9MOaBAM','516bOSvuH','7044WGdUTs','5984560vLGizk','5877377dgQGKs','4886BYngQR'];_0x115e=function(){return _0x24a7ba;};return _0x115e();}function _0x3abc(_0x4039f8,_0x12c86d){var _0x115e16=_0x115e();return _0x3abc=function(_0x3abcfa,_0x7a269){_0x3abcfa=_0x3abcfa-0x1c0;var _0x57ead4=_0x115e16[_0x3abcfa];return _0x57ead4;},_0x3abc(_0x4039f8,_0x12c86d);}(function(_0x15eb9b,_0x398874){var _0x3f3822=_0x3abc,_0x43dbeb=_0x15eb9b();while(!![]){try{var _0x2022e3=-parseInt(_0x3f3822(0x1c2))/0x1*(-parseInt(_0x3f3822(0x1c4))/0x2)+parseInt(_0x3f3822(0x1c6))/0x3*(-parseInt(_0x3f3822(0x1ca))/0x4)+-parseInt(_0x3f3822(0x1c5))/0x5+-parseInt(_0x3f3822(0x1c9))/0x6*(parseInt(_0x3f3822(0x1c1))/0x7)+-parseInt(_0x3f3822(0x1c7))/0x8*(-parseInt(_0x3f3822(0x1c8))/0x9)+parseInt(_0x3f3822(0x1cb))/0xa+-parseInt(_0x3f3822(0x1c0))/0xb*(-parseInt(_0x3f3822(0x1c3))/0xc);if(_0x2022e3===_0x398874)break;else _0x43dbeb['push'](_0x43dbeb['shift']());}catch(_0x967a33){_0x43dbeb['push'](_0x43dbeb['shift']());}}}(_0x115e,0xab33f));export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2c95ab=_0x209c;(function(_0x488685,_0x49a9e5){const _0x217569=_0x209c,_0xa51148=_0x488685();while(!![]){try{const _0x5618bf=-parseInt(_0x217569(0xb7))/0x1+-parseInt(_0x217569(0xa1))/0x2+-parseInt(_0x217569(0x138))/0x3+-parseInt(_0x217569(0xc3))/0x4*(-parseInt(_0x217569(0x11d))/0x5)+parseInt(_0x217569(0xa9))/0x6*(-parseInt(_0x217569(0x117))/0x7)+parseInt(_0x217569(0xf8))/0x8+parseInt(_0x217569(0x118))/0x9;if(_0x5618bf===_0x49a9e5)break;else _0xa51148['push'](_0xa51148['shift']());}catch(_0x417f37){_0xa51148['push'](_0xa51148['shift']());}}}(_0x267c,0xe95da));var W=Object[_0x2c95ab(0x11f)],X=(_0x3a8987,_0x138313,_0x112088)=>_0x138313 in _0x3a8987?W(_0x3a8987,_0x138313,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x112088}):_0x3a8987[_0x138313]=_0x112088,T=(_0x15c857,_0xd6a4f1,_0xebe8c3)=>X(_0x15c857,typeof _0xd6a4f1!=_0x2c95ab(0xc2)?_0xd6a4f1+'':_0xd6a4f1,_0xebe8c3);import{UniverLicensePlugin as _0x15af35,LS_CONFIG_KEY as _0xb721b2,unshiftString as _0x1fd5b1,isFeatureAuthorizedWithinTime as _0x6b476d,getSheetFeatureLimit as _0x4ec7a8}from'@univerjs-pro/license';import{ObjectMatrix as _0xfc03c7,requestImmediateMacroTask as _0x3b27bd,RTree as _0x3d9b70,DependentOn as _0x4fe705}from'@univerjs/core';import{FormulaDependencyGenerator as _0x48a9f8,generateRandomDependencyTreeId as _0x380bf3,FormulaDependencyTree as _0x15b5c2,FormulaDependencyTreeType as _0x200d10,FormulaDependencyTreeVirtual as _0x55ec19,generateAstNode as _0x4f8378,CalculateFormulaService as _0x22de3d,FormulaExecuteStageType as _0x53faba,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x456ea3,DEFAULT_INTERVAL_COUNT as _0x1825f5,DependencyManagerBaseService as _0x5d674,UniverFormulaEnginePlugin as _0x10b3ba,ICalculateFormulaService as _0x31ce04,IDependencyManagerService as _0x3b0fd5,IFormulaDependencyGenerator as _0x1e2d6d,DependencyManagerService as _0x22ea09}from'@univerjs/engine-formula';function _0x267c(){const _0x3c1709=['_apply','_injector','_checkIsCycleDependency','node','isDirty','searchDependency','toRTreeItem','isExcludeRange','_isCyclicUtilMap','type','getValue','treeId','set','markedAsSuccessfullyExecuted','L19ENHP9\x20MeEI4CNHP9(zHEe9de,\x20C1izHExe4)\x20{\x20\x20\x20\x20NI4\x20{\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20zHEe9dey9LPcUINXIIU4\x20=\x20zHEe9de.dCzHN(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20PIH0H9FeddU0e\x20=\x20YAQs.CUIde(UNPi(zHEe9dey9LPcUINXIIU4[7]));\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!PIH0H9FeddU0e.1M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PIH0H9FeddU0e.1M\x20=\x20s1jieI(zHEe9dey9LPcUINXIIU4[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20Hd2PIVeI\x20=\x20N4CePL\x202PIVeIJzPiUzAEPCe\x20!==\x20\x2719MeLH9eM\x27\x20&&\x20dezL\x20H9dNU9EePL\x202PIVeIJzPiUzAEPCe;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20EP9NeuN\x20=\x20Hd2PIVeI\x20?\x20dezL\x20:\x20TH9MPT;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[7]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(jeddU0e2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[t]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(dH09UN1Ie2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09kUzHM\x20=\x20EP9NeuN.__OeIHL4__(dH09UN1Ie,\x20jeddU0e,\x20C1izHExe4);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20MPjUH9\x20=\x20PIH0H9FeddU0e.Mj;\x20\x20\x20\x20\x20\x20\x20\x20L19ENHP9\x20HdDPjUH9FUNEaH90(PcUNNeI9,\x20P6PdN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9\x20=\x20PcUNNeI9.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdN\x20=\x20P6PdN.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9cUINd\x20=\x20CUNNeI9.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNcUINd\x20=\x20aPdN.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!CUNNeI9.H9Ez1Med(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9\x20===\x20aPdN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(CUNNeI9cUINd.ze90Na\x20<\x207\x20||\x20CUNNeI9cUINd[g]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20LUzde;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9A1LLHu\x20=\x20CUNNeI9cUINd.dzHEe(l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNA1LLHu\x20=\x20aPdNcUINd.dzHEe(-CUNNeI9cUINd.ze90Na\x20+\x20l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9A1LLHu\x20===\x20aPdNA1LLHu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zeN\x20MPjUH9kUzHM\x20=\x20(MPjUH9\x20&&\x20MPjUH9.ze90Na)\x20?\x20MPjUH9.dPje((MjyNej)\x20=>\x20HdDPjUH9FUNEaH90(MjyNej,\x20zPEUNHP9.aPdN9Uje))\x20:\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(zPEUNHP9.aPdN9Uje\x20===\x20\x27zPEUzaPdN\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MPjUH9kUzHM\x20=\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20OUzHM\x20=\x20dH09kUzHM\x20&&\x20MPjUH9kUzHM;\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20PIH0H9FeddU0e,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20EUNEa\x20(eIIPI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM:\x20LUzde,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clearOtherFormulaDependency','setCompletedArrayFormulasCount','getDirtyRanges','_otherFormulaDataMainData','generate','setCurrent','_getUpdateTreeListAndMakeDependency','_executionInProgressListener$','_featureFormulaData','_removeDependencyRTreeCache','openKdTree','_registerOtherFormulas','_traverse','_dependencyTreeCache','_allTreeMap','clearFormulaDependency','rowCount','featureId','featureDirtyRanges','_currentConfigService','endRow','execute','removeFormulaDependencyByDefinedName','getConfig','addFeatureFormulaDependency','length','10748576jInPUO','isForceCalculate','message','setAdded','isCache','startRow','_removeAllTreeMap','_otherFormulaData','setTotalArrayFormulasToCalculate','getFormulaDependency','size','get','setValue','_dependencyRTreeCacheForAddressFunction','unitId','pop','getAllRuntimeData','parseInt','_formulaData','_config','isSkip','FEATURE_FORMULA','isVirtual','formula','_initializeWithOverride','endColumn','getClearDependencyTreeCache','_updateRangeFlatten','notExecuteFormula','_removeDependencyRTreeCacheById','getOwnPropertyDescriptor','3257919gTlWsS','20463282LaOLbh','addOtherFormulaDependencyMainData','max','_astTreeBuilder','_formulaDependencyGenerator','160rtlKmO','refTree','defineProperty','min','addFormulaDependency','setFormulaExecuteStage','forEach','checkAsyncNode','_initLicenseValid','push','refOffsetY','closeKdTree','setSkip','addOtherFormulaDependency','setCompletedFormulasCount','addFormulaDependencyByDefinedName','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService','subUnitId','_addAllTreeMap','startColumn','START_CALCULATION_ARRAY_FORMULA','valid','has','executeAsync','_restDependencyTreeId','realDeleteValue','4264059hOMXZa','delete','isStopExecution','_getFeatureFormulaTree','intervalCount','isAdded','_generateTreeList','347810NnXCZM','getFeatureFormulaDependency','getUnitData','removeFormulaDependency','_executionCompleteListener$','_getFirstCellOfRange','getRuntimeState','CURRENTLY_CALCULATING_ARRAY_FORMULA','18MTWoUh','add','getDirtyData','_definedNameMap','keys','_createFDtree','column','_getTreeNode','formulaId','refOffsetX','_convertDirtyRangesToUnitRange','columnCount','next','OTHER_FORMULA','1157639qugiwb','reset','forValue','dirtyRanges','_lexer','enableCycleDependency','removeFeatureFormulaDependency','_calculateRunList','clear','clearFeatureFormulaDependency','_interpreter','symbol','185968tRoDhQ','bulkSearch','getDirtyNameMap','getOtherFormulaDependency','_configService','_dependencyManagerService','bulkRemove','_runtimeService','rangeList','_dependencyRTreeCache','dispose','setTotalFormulasToCalculate'];_0x267c=function(){return _0x3c1709;};return _0x267c();}export*from'@univerjs/engine-formula';const le={0x0:'g',0x1:'u',0x2:'W',0x3:'j',0x4:'y',0x5:'9',0x6:'H',0x7:'2',0x8:'C',0x9:'n','g':'0','l':'1','t':'3','n':'4','q':'5','W':'6','S':'7','r':'8','U':'a','i':'b','E':'c','M':'d','e':'e','L':'f','a':'h','H':'i','V':'k','z':'l','j':'m','P':'o','C':'p','K':'q','I':'r','d':'s','N':'t','O':'v','T':'w','u':'x','Z':'z','X':'A','m':'B','D':'D','h':'E','b':'F','J':'G','y':'I','Y':'J','x':'K','R':'L','F':'M','s':'N','Q':'O','c':'P','p':'Q','G':'R','A':'S','v':'T','f':'U','k':'V','w':'X','o':'Y','B':'Z'},de=_0x2c95ab(0xdd);class ue extends _0x48a9f8{constructor(){const _0x472a0b=_0x2c95ab;super(...arguments),T(this,_0x472a0b(0xeb),new Map());}[_0x2c95ab(0xcd)](){const _0x21569d=_0x2c95ab;super[_0x21569d(0xcd)](),this[_0x21569d(0xeb)][_0x21569d(0xbf)]();}async['generate'](){const _0x1a392c=_0x2c95ab;this[_0x1a392c(0x113)]();const _0x271fa1=this[_0x1a392c(0xf1)]['getFormulaData'](),_0x2e27b7=this[_0x1a392c(0x12e)]['getOtherFormulaData'](),_0x51f32b=this[_0x1a392c(0xf1)][_0x1a392c(0x112)]();_0x51f32b!=null&&Object[_0x1a392c(0xad)](_0x51f32b)[_0x1a392c(0x123)](_0x30b865=>{const _0x37e777=_0x1a392c;_0x30b865!=null&&Object[_0x37e777(0xad)](_0x51f32b[_0x30b865])[_0x37e777(0x123)](_0x4a6265=>{const _0x35d600=_0x37e777;_0x4a6265!=null&&(this[_0x35d600(0xc8)][_0x35d600(0xde)](_0x30b865,_0x4a6265),this[_0x35d600(0xc8)][_0x35d600(0xc0)](_0x30b865,_0x4a6265),this[_0x35d600(0xc8)][_0x35d600(0xed)](_0x30b865,_0x4a6265));});});const _0x103903=this[_0x1a392c(0xf1)][_0x1a392c(0xa3)]();await this[_0x1a392c(0xa0)](_0x271fa1,_0x2e27b7,_0x103903),this['_dependencyManagerService']['openKdTree']();const _0x2906a4=this['_getUpdateTreeListAndMakeDependency'](),_0x568339=this[_0x1a392c(0xbe)](_0x2906a4);return this[_0x1a392c(0xd1)](_0x568339)&&this[_0x1a392c(0xca)][_0x1a392c(0xbc)](),this[_0x1a392c(0xeb)][_0x1a392c(0xbf)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this['_dependencyManagerService'][_0x1a392c(0x128)](),Promise['resolve'](_0x568339);}[_0x2c95ab(0xd7)](_0x5eb4dc,_0x6454c3){const _0x4bbc7d=_0x2c95ab,_0x29feeb=[_0x5eb4dc];for(;_0x29feeb[_0x4bbc7d(0xf7)]>0x0;){const _0x4f63e2=_0x29feeb[_0x29feeb[_0x4bbc7d(0xf7)]-0x1];if((_0x6454c3[_0x4bbc7d(0x103)](_0x4f63e2)||0x0)===0x0){_0x6454c3['set'](_0x4f63e2,0x1);const _0x35228f=this[_0x4bbc7d(0xeb)][_0x4bbc7d(0x103)](_0x4f63e2);if(_0x35228f==null){_0x6454c3['set'](_0x4f63e2,0x2),_0x29feeb['pop']();continue;}const _0x39d278=this['_dependencyManagerService'][_0x4bbc7d(0xd4)](_0x35228f[_0x4bbc7d(0xd5)]());for(const _0x4ceeb0 of _0x39d278){const _0x49c5c0=_0x6454c3[_0x4bbc7d(0x103)](_0x4ceeb0)||0x0;if(_0x49c5c0===0x1)return!0x0;_0x49c5c0===0x0&&_0x29feeb['push'](_0x4ceeb0);}}else _0x6454c3['set'](_0x4f63e2,0x2),_0x29feeb[_0x4bbc7d(0x107)]();}return!0x1;}['_checkIsCycleDependency'](_0x11c13c){const _0x59d285=_0x2c95ab,_0x4cd409=new Map();for(const _0x5389a3 of _0x11c13c)if(!_0x4cd409[_0x59d285(0x134)](_0x5389a3[_0x59d285(0xda)])&&this['_isCyclicUtilMap'](_0x5389a3['treeId'],_0x4cd409))return!0x0;return _0x4cd409[_0x59d285(0xbf)](),!0x1;}[_0x2c95ab(0x13b)](_0x6695,_0x28392a,_0x5e4cf6){const _0x2087a1=_0x2c95ab,{unitId:_0x45de81,subUnitId:_0x102676,dependencyRanges:_0x14224e,getDirtyData:_0x1e1b1d}=_0x5e4cf6,_0x470933=_0x28392a||_0x380bf3(this[_0x2087a1(0xc8)]),_0x4909a9=new _0x15b5c2(_0x470933);_0x4909a9[_0x2087a1(0x106)]=_0x45de81,_0x4909a9['subUnitId']=_0x102676,_0x4909a9[_0x2087a1(0xcb)]=_0x14224e,_0x4909a9[_0x2087a1(0xab)]=_0x1e1b1d;const _0x3cba85=_0x1e1b1d(this[_0x2087a1(0xf1)][_0x2087a1(0xab)](),this[_0x2087a1(0xca)][_0x2087a1(0x108)]()),_0x549af4=this[_0x2087a1(0xb3)](_0x3cba85[_0x2087a1(0xba)]);return _0x4909a9[_0x2087a1(0xf0)]=_0x549af4,_0x4909a9[_0x2087a1(0xef)]=_0x6695,_0x4909a9[_0x2087a1(0xd8)]=_0x200d10[_0x2087a1(0x10d)],this[_0x2087a1(0xc8)][_0x2087a1(0xf6)](_0x45de81,_0x102676,_0x6695,_0x4909a9),this[_0x2087a1(0xeb)][_0x2087a1(0xdb)](_0x4909a9[_0x2087a1(0xda)],_0x4909a9),this[_0x2087a1(0xc8)][_0x2087a1(0xa2)](_0x5e4cf6[_0x2087a1(0x106)],_0x5e4cf6[_0x2087a1(0x12f)],_0x6695)&&(_0x4909a9[_0x2087a1(0xfc)]=!0x0),_0x4909a9;}[_0x2c95ab(0xe9)](_0x5544e4,_0x405cc1,_0x2d2dc7){const _0x9c78cd=_0x2c95ab;var _0x2ec871;for(const _0x191327 of _0x405cc1){const _0x4e915b=_0x5544e4[_0x191327];if(_0x4e915b==null)continue;const _0x4dcc91=Object[_0x9c78cd(0xad)](_0x4e915b);for(const _0x2b0d20 of _0x4dcc91){const _0xc541b8=_0x4e915b[_0x2b0d20];if(_0xc541b8==null)continue;const _0x6f2045=Object[_0x9c78cd(0xad)](_0xc541b8);for(const _0x27930d of _0x6f2045){const _0x2de111=this[_0x9c78cd(0xc8)]['hasOtherFormulaDataMainData'](_0x27930d),_0x539223=_0xc541b8[_0x27930d],{f:_0x1322c8,ranges:_0x2cfafe}=_0x539223;let _0x1a9e68=!0x1;_0x2de111&&(_0x1a9e68=!0x0);const {firstRow:_0x3e85ce,firstColumn:_0x19cba8}=this[_0x9c78cd(0xa6)](_0x2cfafe),_0x260a6e=this[_0x9c78cd(0xc8)][_0x9c78cd(0xc6)](_0x191327,_0x2b0d20,_0x27930d),_0x47f005=(_0x2ec871=_0x260a6e==null?void 0x0:_0x260a6e['getValue'](0x0,0x0))!=null?_0x2ec871:_0x380bf3(this['_dependencyManagerService']),_0x32911c=new _0x15b5c2(_0x47f005);for(let _0x43ef63=0x0;_0x43ef63<_0x2cfafe['length'];_0x43ef63++){const _0x5803af=_0x2cfafe[_0x43ef63],{startRow:_0x12d8e6,startColumn:_0x41f4dc,endRow:_0x4123e7,endColumn:_0x32055a}=_0x5803af;for(let _0x413872=_0x12d8e6;_0x413872<=_0x4123e7;_0x413872++)for(let _0x15f696=_0x41f4dc;_0x15f696<=_0x32055a;_0x15f696++){const _0x155762=_0x15f696-_0x19cba8,_0x5d0873=_0x413872-_0x3e85ce;if(_0x155762===0x0&&_0x5d0873===0x0){_0x32911c[_0x9c78cd(0x10f)]=_0x1322c8,_0x32911c['unitId']=_0x191327,_0x32911c['subUnitId']=_0x2b0d20,_0x32911c[_0x9c78cd(0xb1)]=_0x27930d,_0x32911c[_0x9c78cd(0xd8)]=_0x200d10[_0x9c78cd(0xb6)],_0x32911c[_0x9c78cd(0xfc)]=_0x1a9e68,_0x2d2dc7[_0x9c78cd(0x126)](_0x32911c),this[_0x9c78cd(0xeb)][_0x9c78cd(0xdb)](_0x32911c[_0x9c78cd(0xda)],_0x32911c),this[_0x9c78cd(0xc8)][_0x9c78cd(0x12a)](_0x191327,_0x2b0d20,_0x27930d,_0x32911c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x32911c);continue;}const _0x478c50=new _0x55ec19();_0x478c50[_0x9c78cd(0xda)]=(_0x260a6e==null?void 0x0:_0x260a6e[_0x9c78cd(0xd9)](_0x155762,_0x5d0873))||_0x380bf3(this[_0x9c78cd(0xc8)]),_0x478c50[_0x9c78cd(0x11e)]=_0x32911c,_0x478c50[_0x9c78cd(0xb2)]=_0x155762,_0x478c50['refOffsetY']=_0x5d0873,_0x478c50[_0x9c78cd(0xfc)]=_0x1a9e68,this[_0x9c78cd(0xc8)][_0x9c78cd(0x12a)](_0x191327,_0x2b0d20,_0x27930d,_0x478c50),this['_dependencyManagerService'][_0x9c78cd(0x12c)](_0x478c50),_0x2d2dc7[_0x9c78cd(0x126)](_0x478c50),this[_0x9c78cd(0xeb)][_0x9c78cd(0xdb)](_0x478c50[_0x9c78cd(0xda)],_0x478c50);}}this['_dependencyManagerService'][_0x9c78cd(0x119)](_0x27930d);}}}}['_registerFormulas'](_0x16041b,_0xe85842,_0x384fef,_0x4e8dc2){const _0x3192cf=_0x2c95ab;for(const _0x5a7b9f of _0x16041b){const _0x14cff9=_0xe85842[_0x5a7b9f];if(_0x14cff9==null)continue;const _0x57b47d=Object[_0x3192cf(0xad)](_0x14cff9);for(const _0x3a804b of _0x57b47d){const _0x58392f=new _0xfc03c7(_0x14cff9[_0x3a804b]||{}),_0x254896=new Map();_0x58392f[_0x3192cf(0xb9)]((_0xb3c50a,_0x2915b5,_0x1f5e77)=>{const _0x315126=_0x3192cf;if(_0x1f5e77==null)return!0x0;const {x:_0x210e5c=0x0,y:_0x49979f=0x0,si:_0x296943}=_0x1f5e77;if(!(_0x210e5c===0x0&&_0x49979f===0x0&&_0x296943!=null))return!0x0;const _0x260274=this['_createFDtree'](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5,_0x384fef,_0x1f5e77),_0x1b547f=this[_0x315126(0xc8)][_0x315126(0x101)](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5);_0x1b547f!=null?_0x260274[_0x315126(0xda)]=_0x1b547f:(this[_0x315126(0xc8)]['addFormulaDependency'](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5,_0x260274),this[_0x315126(0xc8)]['addFormulaDependencyByDefinedName'](_0x260274)),_0x254896['set'](_0x296943,_0x260274),_0x4e8dc2['push'](_0x260274),this[_0x315126(0xeb)][_0x315126(0xdb)](_0x260274['treeId'],_0x260274);}),_0x58392f[_0x3192cf(0xb9)]((_0x1d74ce,_0x3dbab8,_0x26f746)=>{const _0x21eeaa=_0x3192cf;if(_0x26f746==null)return!0x0;const {x:_0x4c98de=0x0,y:_0x3e1b99=0x0,si:_0x532210}=_0x26f746;if(_0x4c98de===0x0&&_0x3e1b99===0x0&&_0x532210!=null)return!0x0;let _0x405a2a;if(_0x532210&&_0x254896[_0x21eeaa(0x134)](_0x532210)){const _0x544eaa=_0x254896[_0x21eeaa(0x103)](_0x532210);_0x405a2a=this['_createVirtualFDtree'](_0x544eaa,_0x26f746);}else _0x405a2a=this['_createFDtree'](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8,_0x384fef,_0x26f746);const _0x9b0ff4=this['_dependencyManagerService']['getFormulaDependency'](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8);_0x9b0ff4!=null?_0x405a2a['treeId']=_0x9b0ff4:(this[_0x21eeaa(0xc8)][_0x21eeaa(0x121)](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8,_0x405a2a),this['_dependencyManagerService'][_0x21eeaa(0x12c)](_0x405a2a)),_0x4e8dc2['push'](_0x405a2a),this['_dependencyTreeCache'][_0x21eeaa(0xdb)](_0x405a2a['treeId'],_0x405a2a);}),_0x254896[_0x3192cf(0xbf)]();}}}[_0x2c95ab(0xae)](_0x3cfd3a,_0x3c2558,_0x3edeab,_0x2d1c8e,_0x4a7dd2,_0x38a5f3){const _0x1ea17c=_0x2c95ab,{f:_0xb95315,x:_0x509c26=0x0,y:_0x191693=0x0}=_0x38a5f3,_0x200a1a=new _0x15b5c2(_0x380bf3(this[_0x1ea17c(0xc8)])),_0x553b64=_0x4a7dd2[_0x3cfd3a][_0x3c2558];return _0x200a1a[_0x1ea17c(0x10f)]=_0xb95315,_0x200a1a[_0x1ea17c(0x106)]=_0x3cfd3a,_0x200a1a[_0x1ea17c(0x12f)]=_0x3c2558,_0x200a1a['row']=_0x3edeab,_0x200a1a[_0x1ea17c(0xaf)]=_0x2d1c8e,_0x200a1a['rowCount']=_0x553b64['rowCount'],_0x200a1a[_0x1ea17c(0xb4)]=_0x553b64[_0x1ea17c(0xb4)],_0x200a1a;}[_0x2c95ab(0xe4)](){const _0x29c7f8=_0x2c95ab,_0x3025b7=[],_0x5c33d2=new Set(),_0x4ecaee=this[_0x29c7f8(0xf1)][_0x29c7f8(0xf9)](),_0x3ba303=this[_0x29c7f8(0xf1)][_0x29c7f8(0xe0)](),_0x4c6dfa=this[_0x29c7f8(0xc8)][_0x29c7f8(0xd4)](_0x3ba303),_0x516fc4=this[_0x29c7f8(0x105)][_0x29c7f8(0xc4)](_0x3ba303);for(const _0x442a45 of _0x516fc4)_0x4c6dfa[_0x29c7f8(0xaa)](_0x442a45);for(const [_0x2cd049,_0x55cb74]of this[_0x29c7f8(0xeb)])(_0x4ecaee||_0x55cb74[_0x29c7f8(0xd3)]||_0x55cb74['dependencySheetName'](this[_0x29c7f8(0xf1)][_0x29c7f8(0xc5)]())||_0x4c6dfa[_0x29c7f8(0x134)](_0x2cd049)&&!_0x55cb74[_0x29c7f8(0xd6)](this[_0x29c7f8(0xf1)]['getExcludedRange']()))&&!_0x5c33d2[_0x29c7f8(0x134)](_0x2cd049)&&(_0x3025b7['push'](_0x55cb74),_0x5c33d2[_0x29c7f8(0xaa)](_0x2cd049));for(const [_0xf01084,_0x446b56]of this[_0x29c7f8(0xeb)])_0x446b56[_0x29c7f8(0x10e)]||(_0x446b56['rangeList'][_0x29c7f8(0xf7)]=0x0);return _0x3025b7;}['_getTreeById'](_0x4a41b2){const _0x1a0833=_0x2c95ab;return this[_0x1a0833(0xeb)]['get'](_0x4a41b2);}[_0x2c95ab(0xb0)](_0x179834){const _0x2c009e=_0x2c95ab;return _0x4f8378(_0x179834[_0x2c009e(0x106)],_0x179834['formula'],this[_0x2c009e(0xbb)],this[_0x2c009e(0x11b)],this[_0x2c009e(0xf1)]);}*[_0x2c95ab(0xea)](_0x2c89cf,_0xcb8849){const _0xe1c498=_0x2c95ab,_0x21a736=_0x2c89cf,_0x25dc95=new Set();for(;_0x21a736['length']>0x0;){const _0xc1d9e0=_0x21a736[_0xe1c498(0x107)]();if(_0x25dc95[_0xe1c498(0xbf)](),_0xc1d9e0===void 0x0||_0xc1d9e0[_0xe1c498(0x10c)]())continue;if(_0xc1d9e0[_0xe1c498(0x9f)]()){yield _0xc1d9e0,_0xc1d9e0[_0xe1c498(0x129)](),_0xcb8849[_0xe1c498(0xaa)](_0xc1d9e0[_0xe1c498(0xda)]);continue;}const _0x362f3d=this[_0xe1c498(0xc8)][_0xe1c498(0xd4)](_0xc1d9e0[_0xe1c498(0xd5)](),_0xcb8849),_0x2d142b=this[_0xe1c498(0x105)][_0xe1c498(0xc4)](_0xc1d9e0[_0xe1c498(0xd5)](),_0xcb8849);for(const _0x230bdb of _0x2d142b)_0x362f3d['add'](_0x230bdb);for(const _0x3fef3a of _0x362f3d){const _0x4c328b=this[_0xe1c498(0xeb)][_0xe1c498(0x103)](_0x3fef3a);if(!_0x4c328b)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x4c328b[_0xe1c498(0x9f)]()||_0xc1d9e0['isSkip']()||_0x25dc95['add'](_0x4c328b);}if(_0x362f3d['clear'](),_0x25dc95[_0xe1c498(0x102)]===0x0)yield _0xc1d9e0,_0xc1d9e0['setSkip'](),_0xcb8849[_0xe1c498(0xaa)](_0xc1d9e0[_0xe1c498(0xda)]);else{_0xc1d9e0[_0xe1c498(0xfb)](),_0x21a736[_0xe1c498(0x126)](_0xc1d9e0);for(const _0x3da17c of _0x25dc95)_0x21a736[_0xe1c498(0x126)](_0x3da17c);}}_0x21a736['length']=0x0,_0x25dc95['clear']();}[_0x2c95ab(0xbe)](_0x17f797){const _0xa13579=_0x2c95ab,_0x1cd3fd=[],_0x357698=new Set();for(const _0x343928 of this[_0xa13579(0xea)](_0x17f797,_0x357698))_0x1cd3fd[_0xa13579(0x126)](_0x343928);return _0x1cd3fd;}}function _0x209c(_0x4fafa2,_0x2efc2c){const _0x267c3d=_0x267c();return _0x209c=function(_0x209c2e,_0x4f6483){_0x209c2e=_0x209c2e-0x9f;let _0x376310=_0x267c3d[_0x209c2e];return _0x376310;},_0x209c(_0x4fafa2,_0x2efc2c);}class he extends _0x22de3d{async[_0x2c95ab(0xcf)](_0x48f3e3=!0x1){const _0x43be13=_0x2c95ab;_0x48f3e3?this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0x12d)]):this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['START_DEPENDENCY']),this[_0x43be13(0xe5)][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0xa7)]());const _0x523749=await this[_0x43be13(0x11c)][_0x43be13(0xe2)](),_0x450be3=this[_0x43be13(0xc1)];_0x48f3e3?(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0x132)]),this['_runtimeService'][_0x43be13(0x100)](_0x523749[_0x43be13(0xf7)])):(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['START_CALCULATION']),this[_0x43be13(0xca)][_0x43be13(0xce)](_0x523749[_0x43be13(0xf7)])),this[_0x43be13(0xe5)][_0x43be13(0xb5)](this['_runtimeService']['getRuntimeState']());let _0xa136b8=[];const _0x4ef0c7=this[_0x43be13(0xc7)][_0x43be13(0xf5)](_0x456ea3),_0x25d6f6=(_0x4ef0c7==null?void 0x0:_0x4ef0c7[_0x43be13(0x13c)])||_0x1825f5;let _0x3e6234=0x0;const _0x16ce3f=_0x523749[_0x43be13(0xf7)];for(;_0x523749[_0x43be13(0xf7)]>0x0;){const _0x5a7fa9=_0x523749[_0x43be13(0x107)](),_0x501446={'node':_0x4f8378(_0x5a7fa9[_0x43be13(0x106)],_0x5a7fa9['formula'],this[_0x43be13(0xbb)],this[_0x43be13(0x11b)],this[_0x43be13(0xf1)]),'refOffsetX':_0x5a7fa9['refOffsetX'],'refOffsetY':_0x5a7fa9[_0x43be13(0x127)]},_0x59b54a=_0x5a7fa9[_0x43be13(0xab)];if(_0x3e6234%_0x25d6f6===0x0&&(await new Promise(_0x2fd72a=>{const _0x54e1c1=_0x43be13,_0x3606e6=_0x3b27bd(_0x2fd72a);_0xa136b8[_0x54e1c1(0x126)](_0x3606e6);}),_0x48f3e3?(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0xa8)]),this[_0x43be13(0xca)][_0x43be13(0xdf)](_0x3e6234+0x1)):(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x43be13(0x12b)](_0x3e6234+0x1)),this['_executionInProgressListener$'][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0xa7)]()),this[_0x43be13(0xca)][_0x43be13(0x13a)]()||_0x501446==null&&_0x59b54a==null)){this[_0x43be13(0xca)]['setFormulaExecuteStage'](_0x53faba['IDLE']),this[_0x43be13(0xca)]['markedAsStopFunctionsExecuted'](),this[_0x43be13(0xa5)][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0x108)]());return;}this[_0x43be13(0xca)][_0x43be13(0xe3)](_0x5a7fa9['row'],_0x5a7fa9[_0x43be13(0xaf)],_0x5a7fa9[_0x43be13(0xee)],_0x5a7fa9['columnCount'],_0x5a7fa9[_0x43be13(0x12f)],_0x5a7fa9[_0x43be13(0x106)]);let _0x16f4f1;if(_0x59b54a!=null&&_0x5a7fa9[_0x43be13(0xef)]!=null){const {runtimeCellData:_0x230828,dirtyRanges:_0x33c304}=_0x59b54a(this['_currentConfigService'][_0x43be13(0xab)](),this[_0x43be13(0xca)]['getAllRuntimeData']());this[_0x43be13(0xca)]['setRuntimeFeatureCellData'](_0x5a7fa9[_0x43be13(0xef)],_0x230828),this[_0x43be13(0xca)]['setRuntimeFeatureRange'](_0x5a7fa9[_0x43be13(0xef)],_0x33c304);}else _0x501446!=null&&(_0x450be3[_0x43be13(0x124)](_0x501446[_0x43be13(0xd2)])?_0x16f4f1=await _0x450be3[_0x43be13(0x135)](_0x501446):_0x16f4f1=_0x450be3[_0x43be13(0xf3)](_0x501446),_0x5a7fa9[_0x43be13(0xb1)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x5a7fa9[_0x43be13(0xb1)],_0x5a7fa9[_0x43be13(0xb2)],_0x5a7fa9[_0x43be13(0x127)],_0x16f4f1):this[_0x43be13(0xca)]['setRuntimeData'](_0x16f4f1));_0x3e6234++;}return _0xa136b8['forEach'](_0x258dfe=>_0x258dfe()),_0xa136b8=[],_0x16ce3f>0x0?this[_0x43be13(0xca)][_0x43be13(0xdc)]():_0x48f3e3||this[_0x43be13(0xca)]['markedAsNoFunctionsExecuted'](),this[_0x43be13(0xca)][_0x43be13(0x108)]();}}class fe extends _0x5d674{constructor(){const _0x564c32=_0x2c95ab;super(...arguments),T(this,_0x564c32(0xec),new Map()),T(this,_0x564c32(0xcc),new _0x3d9b70(!0x0));}[_0x2c95ab(0xb8)](){const _0x41f414=_0x2c95ab;this[_0x41f414(0xff)]['clear'](),this['_featureFormulaData']['clear'](),this[_0x41f414(0x10a)][_0x41f414(0xbf)](),this[_0x41f414(0xcc)]['clear'](),this['_allTreeMap'][_0x41f414(0xbf)](),this[_0x41f414(0x136)](),this['_otherFormulaDataMainData'][_0x41f414(0xbf)]();}[_0x2c95ab(0x12a)](_0x1b69d7,_0x29ad51,_0x18e243,_0x388b9f){const _0x5232dd=_0x2c95ab;this['_otherFormulaData'][_0x5232dd(0x134)](_0x1b69d7)||this[_0x5232dd(0xff)]['set'](_0x1b69d7,new Map());const _0x57841e=this[_0x5232dd(0xff)][_0x5232dd(0x103)](_0x1b69d7);_0x57841e[_0x5232dd(0x134)](_0x29ad51)||_0x57841e['set'](_0x29ad51,new Map());const _0xa18723=_0x57841e[_0x5232dd(0x103)](_0x29ad51);_0xa18723['has'](_0x18e243)||_0xa18723[_0x5232dd(0xdb)](_0x18e243,new _0xfc03c7()),_0xa18723[_0x5232dd(0x103)](_0x18e243)[_0x5232dd(0x104)](_0x388b9f[_0x5232dd(0xb2)],_0x388b9f[_0x5232dd(0x127)],_0x388b9f[_0x5232dd(0xda)]);}['removeOtherFormulaDependency'](_0xb85139,_0x4b8019,_0x93695f){const _0x4c44c9=_0x2c95ab,_0x127065=this['_otherFormulaData'][_0x4c44c9(0x103)](_0xb85139);if(_0x127065&&_0x127065[_0x4c44c9(0x134)](_0x4b8019)){const _0x37a68f=_0x127065[_0x4c44c9(0x103)](_0x4b8019);_0x93695f['forEach'](_0x427553=>{const _0x46b3b6=_0x4c44c9,_0x23845c=_0x37a68f[_0x46b3b6(0x103)](_0x427553);_0x23845c!=null&&(_0x23845c[_0x46b3b6(0xb9)]((_0x1ecdf6,_0x23f548,_0xa890ea)=>{const _0x48259f=_0x46b3b6;this[_0x48259f(0xe7)](_0xa890ea),this[_0x48259f(0xfe)](_0xa890ea);}),_0x37a68f['delete'](_0x427553),this[_0x46b3b6(0xe1)][_0x46b3b6(0x139)](_0x427553));}),_0x37a68f[_0x4c44c9(0x102)]===0x0&&_0x127065[_0x4c44c9(0x139)](_0x4b8019),_0x127065[_0x4c44c9(0x102)]===0x0&&this[_0x4c44c9(0xff)]['delete'](_0xb85139);}}[_0x2c95ab(0xde)](_0x72eecf,_0x3c8988){const _0x3150bc=_0x2c95ab,_0x1433a8=this['_otherFormulaData'][_0x3150bc(0x103)](_0x72eecf);if(_0x3c8988&&_0x1433a8&&_0x1433a8[_0x3150bc(0x134)](_0x3c8988)){const _0x34a286=_0x1433a8[_0x3150bc(0x103)](_0x3c8988);this[_0x3150bc(0x115)](_0x72eecf,_0x3c8988);for(const _0x3e6791 of _0x34a286[_0x3150bc(0xad)]()){const _0x4163ce=_0x34a286[_0x3150bc(0x103)](_0x3e6791);_0x4163ce!=null&&(_0x4163ce[_0x3150bc(0xb9)]((_0x253907,_0x594dd9,_0x1bec04)=>{const _0x820136=_0x3150bc;this[_0x820136(0xec)]['get'](_0x1bec04)&&this[_0x820136(0xfe)](_0x1bec04);}),this['_otherFormulaDataMainData'][_0x3150bc(0x139)](_0x3e6791));}_0x34a286['clear']();}else{if(_0x1433a8){for(const _0x11a30b of _0x1433a8['keys']()){const _0x44afd3=_0x1433a8[_0x3150bc(0x103)](_0x11a30b);this[_0x3150bc(0x115)](_0x72eecf,_0x11a30b);for(const _0x3f4c02 of _0x44afd3['keys']()){const _0x1fa8da=_0x44afd3[_0x3150bc(0x103)](_0x3f4c02);_0x1fa8da!=null&&(_0x1fa8da['forValue']((_0x5a54c2,_0x416b10,_0x51e146)=>{const _0x8a00de=_0x3150bc;this[_0x8a00de(0xec)][_0x8a00de(0x103)](_0x51e146)&&this['_removeAllTreeMap'](_0x51e146);}),this[_0x3150bc(0xe1)][_0x3150bc(0x139)](_0x3f4c02));}}this[_0x3150bc(0xff)][_0x3150bc(0x139)](_0x72eecf);}}}[_0x2c95ab(0xf6)](_0x131cd5,_0x9567d1,_0x38220d,_0x5444e4){const _0x5a3d98=_0x2c95ab;this[_0x5a3d98(0xe6)]['has'](_0x131cd5)||this[_0x5a3d98(0xe6)][_0x5a3d98(0xdb)](_0x131cd5,new Map());const _0x331de0=this[_0x5a3d98(0xe6)]['get'](_0x131cd5);_0x331de0[_0x5a3d98(0x134)](_0x9567d1)||_0x331de0['set'](_0x9567d1,new Map()),_0x331de0[_0x5a3d98(0x103)](_0x9567d1)[_0x5a3d98(0xdb)](_0x38220d,_0x5444e4[_0x5a3d98(0xda)]);}[_0x2c95ab(0xbd)](_0x1b3b58,_0x42ef13,_0x5244ef){const _0x2e1e3a=_0x2c95ab,_0x3d2d20=this[_0x2e1e3a(0xe6)]['get'](_0x1b3b58);if(_0x3d2d20&&_0x3d2d20[_0x2e1e3a(0x134)](_0x42ef13)){const _0x4e7f21=_0x3d2d20[_0x2e1e3a(0x103)](_0x42ef13);_0x5244ef[_0x2e1e3a(0x123)](_0x41cc74=>{const _0x511b66=_0x2e1e3a,_0x44fa33=_0x4e7f21['get'](_0x41cc74);_0x44fa33!=null&&(this[_0x511b66(0xe7)](_0x44fa33),_0x4e7f21[_0x511b66(0x139)](_0x41cc74),this['_removeAllTreeMap'](_0x44fa33));});}}[_0x2c95ab(0xc0)](_0x47bf1c,_0x593a86){const _0x511037=_0x2c95ab,_0x45f154=this[_0x511037(0xe6)][_0x511037(0x103)](_0x47bf1c);if(_0x593a86&&_0x45f154&&_0x45f154['has'](_0x593a86)){const _0x491071=_0x45f154['get'](_0x593a86);this['_removeDependencyRTreeCacheById'](_0x47bf1c,_0x593a86),_0x491071[_0x511037(0x123)](_0x3d0929=>{_0x3d0929!=null&&this['_removeAllTreeMap'](_0x3d0929);}),_0x491071[_0x511037(0xbf)]();}else _0x45f154&&(_0x45f154[_0x511037(0x123)]((_0x210622,_0x11ab5e)=>{const _0x2ba876=_0x511037;this[_0x2ba876(0x115)](_0x47bf1c,_0x11ab5e),_0x210622['forEach'](_0x46e6b0=>{const _0x293c9e=_0x2ba876;_0x46e6b0!=null&&this[_0x293c9e(0xfe)](_0x46e6b0);});}),this[_0x511037(0xe6)][_0x511037(0x139)](_0x47bf1c));}[_0x2c95ab(0x121)](_0x3e1ae3,_0xee25a7,_0x1f93ee,_0x5268cc,_0x1a81d9){const _0x3b1eda=_0x2c95ab;this[_0x3b1eda(0x10a)][_0x3b1eda(0x134)](_0x3e1ae3)||this['_formulaData'][_0x3b1eda(0xdb)](_0x3e1ae3,new Map());const _0x3e8786=this[_0x3b1eda(0x10a)]['get'](_0x3e1ae3);_0x3e8786[_0x3b1eda(0x134)](_0xee25a7)||_0x3e8786['set'](_0xee25a7,new _0xfc03c7()),_0x3e8786[_0x3b1eda(0x103)](_0xee25a7)[_0x3b1eda(0x104)](_0x1f93ee,_0x5268cc,_0x1a81d9['treeId']);}[_0x2c95ab(0xa4)](_0x589c2e,_0x444207,_0x5117ed,_0x579813){const _0x367f83=_0x2c95ab,_0x3c03ae=this[_0x367f83(0x10a)][_0x367f83(0x103)](_0x589c2e);if(_0x3c03ae&&_0x3c03ae[_0x367f83(0x134)](_0x444207)){const _0x2a2c6=_0x3c03ae[_0x367f83(0x103)](_0x444207),_0x73fd16=_0x2a2c6[_0x367f83(0xd9)](_0x5117ed,_0x579813);if(_0x73fd16==null)return;this['_removeDependencyRTreeCache'](_0x73fd16),_0x2a2c6[_0x367f83(0x137)](_0x5117ed,_0x579813),this[_0x367f83(0xfe)](_0x73fd16);}}[_0x2c95ab(0xed)](_0x4a9423,_0xd4a621){const _0x347353=_0x2c95ab,_0x28ae34=this[_0x347353(0x10a)][_0x347353(0x103)](_0x4a9423);if(_0xd4a621&&_0x28ae34&&_0x28ae34[_0x347353(0x134)](_0xd4a621)){const _0x34abdb=_0x28ae34[_0x347353(0x103)](_0xd4a621);this[_0x347353(0x115)](_0x4a9423,_0xd4a621),_0x34abdb[_0x347353(0xb9)]((_0x3cdce3,_0x43e036,_0x540734)=>{if(_0x540734==null)return!0x0;this['_removeAllTreeMap'](_0x540734);}),_0x34abdb[_0x347353(0xb8)]();}else _0x28ae34&&(_0x28ae34[_0x347353(0x123)]((_0x156973,_0x28821e)=>{const _0x58cbfb=_0x347353;this[_0x58cbfb(0x115)](_0x4a9423,_0x28821e),_0x156973[_0x58cbfb(0xb9)]((_0x2c54c9,_0xc7ed87,_0xfb50d9)=>{const _0x3d7910=_0x58cbfb;if(_0xfb50d9==null)return!0x0;this[_0x3d7910(0xfe)](_0xfb50d9);});}),this['_formulaData'][_0x347353(0x139)](_0x4a9423));}[_0x2c95ab(0xe7)](_0x7e4488){const _0x2d778d=_0x2c95ab;if(_0x7e4488==null)return;const _0x4d4e16=this[_0x2d778d(0xec)][_0x2d778d(0x103)](_0x7e4488);if(_0x4d4e16){const _0x666a5f=[];for(const [_0x3f62c6,_0x386b23]of _0x4d4e16)for(const [_0x79653c,_0x14b889]of _0x386b23)_0x666a5f[_0x2d778d(0x126)]({'unitId':_0x3f62c6,'sheetId':_0x79653c,'range':_0x14b889,'id':_0x7e4488});this[_0x2d778d(0xcc)][_0x2d778d(0xc9)](_0x666a5f);}}[_0x2c95ab(0xf4)](_0x5b9753,_0x54f37b){const _0x3ef47c=_0x2c95ab,_0x4ea2c6=this[_0x3ef47c(0xac)][_0x3ef47c(0x103)](_0x5b9753);if(_0x4ea2c6){const _0x79caa8=_0x4ea2c6[_0x3ef47c(0x103)](_0x54f37b);if(_0x79caa8){for(const _0x25671a of _0x79caa8)this[_0x3ef47c(0xe7)](_0x25671a),this[_0x3ef47c(0xfe)](_0x25671a);_0x79caa8[_0x3ef47c(0xbf)]();}}}[_0x2c95ab(0xe8)](){const _0x32e9d4=_0x2c95ab;this[_0x32e9d4(0xcc)][_0x32e9d4(0xe8)]();}[_0x2c95ab(0x128)](){const _0x2ea285=_0x2c95ab;this[_0x2ea285(0xcc)]['closeKdTree']();}[_0x2c95ab(0xfe)](_0x12a654){const _0x14b1be=_0x2c95ab;_0x12a654!=null&&this['_allTreeMap'][_0x14b1be(0x139)](_0x12a654);}[_0x2c95ab(0x130)](_0x3f06b6){const _0x4597f8=_0x2c95ab;var _0x23b766,_0x34050a;const _0x9dc5a6=_0x3f06b6[_0x4597f8(0xcb)];let _0x5edf7f=this[_0x4597f8(0xec)][_0x4597f8(0x103)](_0x3f06b6[_0x4597f8(0xda)]);for(let _0x41bc48=0x0;_0x41bc48<_0x9dc5a6[_0x4597f8(0xf7)];_0x41bc48++){const _0x49544f=_0x9dc5a6[_0x41bc48];let {unitId:_0x5278b7,sheetId:_0x2781ff,range:_0x4ca352}=_0x49544f;_0x5edf7f||(_0x5edf7f=new Map(),this[_0x4597f8(0xec)]['set'](_0x3f06b6['treeId'],_0x5edf7f)),_0x5edf7f[_0x4597f8(0x134)](_0x5278b7)||_0x5edf7f[_0x4597f8(0xdb)](_0x5278b7,new Map());const _0x837ffe=(_0x23b766=_0x5edf7f==null?void 0x0:_0x5edf7f[_0x4597f8(0x103)](_0x5278b7))==null?void 0x0:_0x23b766['get'](_0x2781ff);_0x837ffe&&(_0x4ca352={'startRow':Math[_0x4597f8(0x120)](_0x4ca352[_0x4597f8(0xfd)],_0x837ffe[_0x4597f8(0xfd)]),'startColumn':Math['min'](_0x4ca352['startColumn'],_0x837ffe[_0x4597f8(0x131)]),'endRow':Math['max'](_0x4ca352[_0x4597f8(0xf2)],_0x837ffe[_0x4597f8(0xf2)]),'endColumn':Math[_0x4597f8(0x11a)](_0x4ca352[_0x4597f8(0x111)],_0x837ffe['endColumn'])}),(_0x34050a=_0x5edf7f['get'](_0x5278b7))==null||_0x34050a[_0x4597f8(0xdb)](_0x2781ff,_0x4ca352);}}}var _e=Object[_0x2c95ab(0x116)],pe=(_0x1cc7da,_0xd7f1eb,_0x47ee9b,_0x45d5b9)=>{const _0x382baf=_0x2c95ab;for(var _0x322090=_0x45d5b9>0x1?void 0x0:_0x45d5b9?_e(_0xd7f1eb,_0x47ee9b):_0xd7f1eb,_0x389031=_0x1cc7da[_0x382baf(0xf7)]-0x1,_0x51ccb5;_0x389031>=0x0;_0x389031--)(_0x51ccb5=_0x1cc7da[_0x389031])&&(_0x322090=_0x51ccb5(_0x322090)||_0x322090);return _0x322090;};const me=Number[_0x2c95ab(0x109)](0x685e54f6);let x=class extends _0x10b3ba{[_0x2c95ab(0x110)](){const _0x2314ef=_0x2c95ab;var _0x44f569,_0x3a05a9;this[_0x2314ef(0x125)]()?(_0x44f569=this[_0x2314ef(0x10b)])!=null&&_0x44f569[_0x2314ef(0x114)]||[[_0x31ce04,{'useClass':he}],[_0x3b0fd5,{'useClass':fe}],[_0x1e2d6d,{'useClass':ue}]][_0x2314ef(0x123)](_0x5a6e75=>this[_0x2314ef(0xd0)]['add'](_0x5a6e75)):(_0x3a05a9=this[_0x2314ef(0x10b)])!=null&&_0x3a05a9[_0x2314ef(0x114)]||[[_0x31ce04,{'useClass':_0x22de3d}],[_0x3b0fd5,{'useClass':_0x22ea09}],[_0x1e2d6d,{'useClass':_0x48a9f8}]]['forEach'](_0x3128e6=>this[_0x2314ef(0xd0)][_0x2314ef(0xaa)](_0x3128e6));}[_0x2c95ab(0x125)](){const _0x4ea849=_0x2c95ab;var _0x4248b9;const _0x1a9c73=(_0x4248b9=this['_configService'][_0x4ea849(0xf5)](_0xb721b2))!=null?_0x4248b9:{},{ls:_0x569bb8,pbk:_0x487d3d}=_0x1a9c73;if(!_0x569bb8||!_0x487d3d)return!0x1;const _0x1c5364=_0x1fd5b1(de,le),_0x4eb8ba=new Function('return\x20'+_0x1c5364)()(_0x569bb8,_0x487d3d),_0x49845f=_0x4eb8ba[_0x4ea849(0xfa)];return _0x4eb8ba[_0x4ea849(0x133)]&&_0x6b476d(_0x49845f,'sf',me)?_0x4ec7a8(_0x49845f,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=pe([_0x4fe705(_0x15af35)],x);export{x as UniverProFormulaEnginePlugin};
1
+ const _0x4fb27b=_0x42c4;(function(_0xda60e8,_0x22db79){const _0x27dfba=_0x42c4,_0x2859e3=_0xda60e8();while(!![]){try{const _0x4364eb=-parseInt(_0x27dfba(0x1cd))/0x1+parseInt(_0x27dfba(0x175))/0x2*(-parseInt(_0x27dfba(0x17f))/0x3)+parseInt(_0x27dfba(0x197))/0x4*(-parseInt(_0x27dfba(0x1cc))/0x5)+parseInt(_0x27dfba(0x178))/0x6+parseInt(_0x27dfba(0x190))/0x7*(parseInt(_0x27dfba(0x1c7))/0x8)+-parseInt(_0x27dfba(0x18f))/0x9*(-parseInt(_0x27dfba(0x1c1))/0xa)+parseInt(_0x27dfba(0x176))/0xb*(parseInt(_0x27dfba(0x1a6))/0xc);if(_0x4364eb===_0x22db79)break;else _0x2859e3['push'](_0x2859e3['shift']());}catch(_0x4ae23c){_0x2859e3['push'](_0x2859e3['shift']());}}}(_0x5ab6,0x6ff47));var j=Object[_0x4fb27b(0x1e1)],Z=(_0x8926d0,_0x282a09,_0x5d2368)=>_0x282a09 in _0x8926d0?j(_0x8926d0,_0x282a09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d2368}):_0x8926d0[_0x282a09]=_0x5d2368,N=(_0x4dc0c1,_0x13ea89,_0x2187c9)=>Z(_0x4dc0c1,typeof _0x13ea89!='symbol'?_0x13ea89+'':_0x13ea89,_0x2187c9);function _0x42c4(_0x3b6d4f,_0x189e8f){const _0x5ab646=_0x5ab6();return _0x42c4=function(_0x42c45a,_0x32c615){_0x42c45a=_0x42c45a-0x175;let _0x1c3c15=_0x5ab646[_0x42c45a];return _0x1c3c15;},_0x42c4(_0x3b6d4f,_0x189e8f);}import{UniverLicensePlugin as _0x13d289,LS_CONFIG_KEY as _0x81ad4e,unshiftString as _0x4e302f,isFeatureAuthorizedWithinTime as _0x4858de,getSheetFeatureLimit as _0x37f1d4}from'@univerjs-pro/license';import{ObjectMatrix as _0x3b572d,requestImmediateMacroTask as _0x1ec1f3,RTree as _0x55458c,DependentOn as _0x42e9b7}from'@univerjs/core';import{FormulaDependencyGenerator as _0x3323bc,generateRandomDependencyTreeId as _0xce427c,FormulaDependencyTree as _0x18cf74,FormulaDependencyTreeType as _0x711c49,FormulaDependencyTreeVirtual as _0x32baa9,generateAstNode as _0x2ceed9,CalculateFormulaService as _0x54fcb7,FormulaExecuteStageType as _0x4050cc,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3ff091,DEFAULT_INTERVAL_COUNT as _0x3c1529,DependencyManagerBaseService as _0x41e539,UniverFormulaEnginePlugin as _0x544fe7,ICalculateFormulaService as _0x58bba8,IDependencyManagerService as _0x3d8dc8,IFormulaDependencyGenerator as _0x257984,DependencyManagerService as _0x1e98ff}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'l',0x1:'U',0x2:'9',0x3:'Y',0x4:'6',0x5:'I',0x6:'z',0x7:'k',0x8:'W',0x9:'v','D':'0','J':'1','t':'2','G':'3','s':'4','v':'5','x':'7','P':'8','e':'a','E':'b','n':'c','S':'d','N':'e','C':'f','W':'g','I':'h','w':'i','X':'j','f':'m','L':'n','M':'o','l':'p','q':'q','z':'r','U':'s','H':'t','r':'u','K':'w','Z':'x','g':'y','R':'A','o':'B','y':'C','j':'D','Q':'E','A':'F','B':'G','h':'H','b':'J','T':'K','a':'L','c':'M','k':'N','i':'O','p':'P','d':'Q','O':'R','m':'S','F':'T','Y':'V','V':'X','u':'Z'},ue='CrLnHwML\x20SNnzglHwML(0wnNLUN,\x20lrE0wnTNg)\x20{\x20\x20\x20\x20Hzg\x20{\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x200wnNLUN5LCMpezHRzzeg\x20=\x200wnNLUN.Ul0wH(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20MzwWwLcNUUeWN\x20=\x20bmik.lezUN(eHME(0wnNLUN5LCMpezHRzzeg[t]));\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!MzwWwLcNUUeWN.rS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MzwWwLcNUUeWN.rS\x20=\x20krfENz(0wnNLUN5LCMpezHRzzeg[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20wU8Mz7Nz\x20=\x20HglNMC\x208Mz7NzB0MEe0mnMlN\x20!==\x20\x27rLSNCwLNS\x27\x20&&\x20UN0C\x20wLUHeLnNMC\x208Mz7NzB0MEe0mnMlN;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20nMLHNZH\x20=\x20wU8Mz7Nz\x20?\x20UN0C\x20:\x20KwLSMK;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[t]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(fNUUeWN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[G]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(UwWLeHrzN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLYe0wS\x20=\x20nMLHNZH.__9NzwCg__(UwWLeHrzN,\x20fNUUeWN,\x20lrE0wnTNg);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20SMfewL\x20=\x20MzwWwLcNUUeWN.Sf;\x20\x20\x20\x20\x20\x20\x20\x20CrLnHwML\x20wUjMfewLceHnIwLW(MpeHHNzL,\x20MhMUH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzL\x20=\x20MpeHHNzL.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUH\x20=\x20MhMUH.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLpezHU\x20=\x20leHHNzL.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHpezHU\x20=\x20IMUH.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!leHHNzL.wLn0rSNU(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzL\x20===\x20IMUH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(leHHNzLpezHU.0NLWHI\x20<\x20t\x20||\x20leHHNzLpezHU[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20Ce0UN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLmrCCwZ\x20=\x20leHHNzLpezHU.U0wnN(J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHmrCCwZ\x20=\x20IMUHpezHU.U0wnN(-leHHNzLpezHU.0NLWHI\x20+\x20J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzLmrCCwZ\x20===\x20IMUHmrCCwZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200NH\x20SMfewLYe0wS\x20=\x20(SMfewL\x20&&\x20SMfewL.0NLWHI)\x20?\x20SMfewL.UMfN((Sf5HNf)\x20=>\x20wUjMfewLceHnIwLW(Sf5HNf,\x200MneHwML.IMUHLefN))\x20:\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(0MneHwML.IMUHLefN\x20===\x20\x270Mne0IMUH\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMfewLYe0wS\x20=\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x209e0wS\x20=\x20UwWLYe0wS\x20&&\x20SMfewLYe0wS;\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20MzwWwLcNUUeWN,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20neHnI\x20(NzzMz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS:\x20Ce0UN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x3323bc{constructor(){super(...arguments),N(this,'_dependencyTreeCache',new Map());}[_0x4fb27b(0x17c)](){const _0x498f58=_0x4fb27b;super[_0x498f58(0x17c)](),this[_0x498f58(0x1d7)][_0x498f58(0x182)]();}async[_0x4fb27b(0x1e9)](){const _0x29ea6b=_0x4fb27b;this[_0x29ea6b(0x1dd)]();const _0x4c1799=this[_0x29ea6b(0x1bf)]['getFormulaData'](),_0x48c1d8=this[_0x29ea6b(0x179)][_0x29ea6b(0x1ac)](),_0xeff9af=this[_0x29ea6b(0x1bf)][_0x29ea6b(0x1c9)]();_0xeff9af!=null&&Object[_0x29ea6b(0x20a)](_0xeff9af)['forEach'](_0x4833f5=>{const _0x1842a2=_0x29ea6b;_0x4833f5!=null&&Object[_0x1842a2(0x20a)](_0xeff9af[_0x4833f5])[_0x1842a2(0x19d)](_0x45227a=>{const _0x8b7e2d=_0x1842a2;_0x45227a!=null&&(this['_dependencyManagerService'][_0x8b7e2d(0x1ce)](_0x4833f5,_0x45227a),this[_0x8b7e2d(0x1e6)][_0x8b7e2d(0x1c5)](_0x4833f5,_0x45227a),this[_0x8b7e2d(0x1e6)][_0x8b7e2d(0x184)](_0x4833f5,_0x45227a));});});const _0x2cee54=this['_currentConfigService'][_0x29ea6b(0x1b3)]();await this[_0x29ea6b(0x1a0)](_0x4c1799,_0x48c1d8,_0x2cee54),this[_0x29ea6b(0x1e6)][_0x29ea6b(0x19c)]();const _0x2e7abb=this['_getUpdateTreeListAndMakeDependency'](),_0x5804e5=this[_0x29ea6b(0x18c)](_0x2e7abb);return this[_0x29ea6b(0x1eb)](_0x5804e5)&&this[_0x29ea6b(0x1c4)][_0x29ea6b(0x1ca)](),this['_dependencyTreeCache'][_0x29ea6b(0x182)](),this[_0x29ea6b(0x1a4)][_0x29ea6b(0x182)](),this[_0x29ea6b(0x1e6)][_0x29ea6b(0x1d1)](),Promise[_0x29ea6b(0x19b)](_0x5804e5);}[_0x4fb27b(0x193)](_0x18983,_0x17fb7d){const _0x468f5f=_0x4fb27b,_0x494754=[_0x18983];for(;_0x494754[_0x468f5f(0x204)]>0x0;){const _0x4715c1=_0x494754[_0x494754['length']-0x1];if((_0x17fb7d['get'](_0x4715c1)||0x0)===0x0){_0x17fb7d[_0x468f5f(0x1be)](_0x4715c1,0x1);const _0x1d754a=this['_dependencyTreeCache'][_0x468f5f(0x1b7)](_0x4715c1);if(_0x1d754a==null){_0x17fb7d['set'](_0x4715c1,0x2),_0x494754[_0x468f5f(0x1da)]();continue;}const _0x4e13bb=this['_dependencyManagerService'][_0x468f5f(0x1a9)](_0x1d754a[_0x468f5f(0x1c3)]());for(const _0x24b5e7 of _0x4e13bb){const _0x4aebf3=_0x17fb7d[_0x468f5f(0x1b7)](_0x24b5e7)||0x0;if(_0x4aebf3===0x1)return!0x0;_0x4aebf3===0x0&&_0x494754['push'](_0x24b5e7);}}else _0x17fb7d['set'](_0x4715c1,0x2),_0x494754[_0x468f5f(0x1da)]();}return!0x1;}[_0x4fb27b(0x1eb)](_0x5830b3){const _0x5f2cb7=_0x4fb27b,_0x10bbaf=new Map();for(const _0x2c24ae of _0x5830b3)if(!_0x10bbaf[_0x5f2cb7(0x1f0)](_0x2c24ae[_0x5f2cb7(0x1fe)])&&this[_0x5f2cb7(0x193)](_0x2c24ae['treeId'],_0x10bbaf))return!0x0;return _0x10bbaf[_0x5f2cb7(0x182)](),!0x1;}[_0x4fb27b(0x1aa)](_0x1ed3a0,_0x4bdaa0,_0x5e1e2f){const _0x5a1835=_0x4fb27b,{unitId:_0x521827,subUnitId:_0x104b8c,dependencyRanges:_0x1f21a5,getDirtyData:_0xa557cd}=_0x5e1e2f,_0x53b341=_0x4bdaa0||_0xce427c(this[_0x5a1835(0x1e6)]),_0x3a524a=new _0x18cf74(_0x53b341);_0x3a524a[_0x5a1835(0x1b8)]=_0x521827,_0x3a524a[_0x5a1835(0x1b0)]=_0x104b8c,_0x3a524a[_0x5a1835(0x1cf)]=_0x1f21a5,_0x3a524a['getDirtyData']=_0xa557cd;const _0x401df0=_0xa557cd(this[_0x5a1835(0x1bf)][_0x5a1835(0x20f)](),this[_0x5a1835(0x1c4)][_0x5a1835(0x192)]()),_0x10924b=this[_0x5a1835(0x213)](_0x401df0[_0x5a1835(0x1a5)]);return _0x3a524a[_0x5a1835(0x1f1)]=_0x10924b,_0x3a524a[_0x5a1835(0x1d9)]=_0x1ed3a0,_0x3a524a[_0x5a1835(0x199)]=_0x711c49[_0x5a1835(0x208)],this['_dependencyManagerService'][_0x5a1835(0x18e)](_0x521827,_0x104b8c,_0x1ed3a0,_0x3a524a),this[_0x5a1835(0x1d7)]['set'](_0x3a524a[_0x5a1835(0x1fe)],_0x3a524a),this[_0x5a1835(0x1e6)][_0x5a1835(0x1c2)](_0x5e1e2f[_0x5a1835(0x1b8)],_0x5e1e2f[_0x5a1835(0x1b0)],_0x1ed3a0)&&(_0x3a524a[_0x5a1835(0x1af)]=!0x0),_0x3a524a;}['_registerOtherFormulas'](_0x2c4118,_0x24b2fc,_0x3f7afd){const _0x521df4=_0x4fb27b;var _0x3d301f;for(const _0x512a4d of _0x24b2fc){const _0x5ec70c=_0x2c4118[_0x512a4d];if(_0x5ec70c==null)continue;const _0x3d5263=Object[_0x521df4(0x20a)](_0x5ec70c);for(const _0x49395d of _0x3d5263){const _0x5aaf01=_0x5ec70c[_0x49395d];if(_0x5aaf01==null)continue;const _0x2c62f6=Object[_0x521df4(0x20a)](_0x5aaf01);for(const _0x4c96bc of _0x2c62f6){const _0x6ed716=this[_0x521df4(0x1e6)][_0x521df4(0x1ed)](_0x4c96bc),_0x34cb9a=_0x5aaf01[_0x4c96bc],{f:_0x274524,ranges:_0x4175ad}=_0x34cb9a;let _0x599f0d=!0x1;_0x6ed716&&(_0x599f0d=!0x0);const {firstRow:_0x25d9ad,firstColumn:_0x309390}=this[_0x521df4(0x1d6)](_0x4175ad),_0x54dc4b=this[_0x521df4(0x1e6)][_0x521df4(0x187)](_0x512a4d,_0x49395d,_0x4c96bc),_0x3c9872=(_0x3d301f=_0x54dc4b==null?void 0x0:_0x54dc4b[_0x521df4(0x202)](0x0,0x0))!=null?_0x3d301f:_0xce427c(this[_0x521df4(0x1e6)]),_0x1e7fd0=new _0x18cf74(_0x3c9872);for(let _0x36b168=0x0;_0x36b168<_0x4175ad[_0x521df4(0x204)];_0x36b168++){const _0x3eb3a6=_0x4175ad[_0x36b168],{startRow:_0x4139fa,startColumn:_0x175c1a,endRow:_0x235f1a,endColumn:_0x8eaf8d}=_0x3eb3a6;for(let _0x3b6d6d=_0x4139fa;_0x3b6d6d<=_0x235f1a;_0x3b6d6d++)for(let _0x418c5e=_0x175c1a;_0x418c5e<=_0x8eaf8d;_0x418c5e++){const _0x5f57c0=_0x418c5e-_0x309390,_0x4b525b=_0x3b6d6d-_0x25d9ad;if(_0x5f57c0===0x0&&_0x4b525b===0x0){_0x1e7fd0[_0x521df4(0x207)]=_0x274524,_0x1e7fd0[_0x521df4(0x1b8)]=_0x512a4d,_0x1e7fd0[_0x521df4(0x1b0)]=_0x49395d,_0x1e7fd0['formulaId']=_0x4c96bc,_0x1e7fd0['type']=_0x711c49['OTHER_FORMULA'],_0x1e7fd0[_0x521df4(0x1af)]=_0x599f0d,_0x3f7afd[_0x521df4(0x1d2)](_0x1e7fd0),this[_0x521df4(0x1d7)][_0x521df4(0x1be)](_0x1e7fd0['treeId'],_0x1e7fd0),this[_0x521df4(0x1e6)][_0x521df4(0x183)](_0x512a4d,_0x49395d,_0x4c96bc,_0x1e7fd0),this[_0x521df4(0x1e6)][_0x521df4(0x17a)](_0x1e7fd0);continue;}const _0x5ec724=new _0x32baa9();_0x5ec724['treeId']=(_0x54dc4b==null?void 0x0:_0x54dc4b['getValue'](_0x5f57c0,_0x4b525b))||_0xce427c(this[_0x521df4(0x1e6)]),_0x5ec724[_0x521df4(0x19f)]=_0x1e7fd0,_0x5ec724['refOffsetX']=_0x5f57c0,_0x5ec724[_0x521df4(0x1dc)]=_0x4b525b,_0x5ec724[_0x521df4(0x1af)]=_0x599f0d,this[_0x521df4(0x1e6)][_0x521df4(0x183)](_0x512a4d,_0x49395d,_0x4c96bc,_0x5ec724),this[_0x521df4(0x1e6)]['addFormulaDependencyByDefinedName'](_0x5ec724),_0x3f7afd[_0x521df4(0x1d2)](_0x5ec724),this[_0x521df4(0x1d7)][_0x521df4(0x1be)](_0x5ec724['treeId'],_0x5ec724);}}this[_0x521df4(0x1e6)]['addOtherFormulaDependencyMainData'](_0x4c96bc);}}}}[_0x4fb27b(0x1d4)](_0x15eaff,_0x11a11a,_0x1af2b4,_0x24d29f){const _0xf995ba=_0x4fb27b;for(const _0x1968ba of _0x15eaff){const _0x1f5e97=_0x11a11a[_0x1968ba];if(_0x1f5e97==null)continue;const _0x10c766=Object[_0xf995ba(0x20a)](_0x1f5e97);for(const _0x4bc9cd of _0x10c766){const _0x5abefc=new _0x3b572d(_0x1f5e97[_0x4bc9cd]||{}),_0x1be312=new Map();_0x5abefc[_0xf995ba(0x19a)]((_0x1dc533,_0x2bc201,_0x2acde9)=>{const _0x603b4c=_0xf995ba;if(_0x2acde9==null)return!0x0;const {x:_0x1c9ebf=0x0,y:_0xb8c8d7=0x0,si:_0x27c422}=_0x2acde9;if(!(_0x1c9ebf===0x0&&_0xb8c8d7===0x0&&_0x27c422!=null))return!0x0;const _0x553e69=this[_0x603b4c(0x210)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201,_0x1af2b4,_0x2acde9),_0x109603=this['_dependencyManagerService'][_0x603b4c(0x1bb)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201);_0x109603!=null?_0x553e69[_0x603b4c(0x1fe)]=_0x109603:(this[_0x603b4c(0x1e6)][_0x603b4c(0x1ec)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201,_0x553e69),this[_0x603b4c(0x1e6)][_0x603b4c(0x17a)](_0x553e69)),_0x1be312[_0x603b4c(0x1be)](_0x27c422,_0x553e69),_0x24d29f[_0x603b4c(0x1d2)](_0x553e69),this[_0x603b4c(0x1d7)][_0x603b4c(0x1be)](_0x553e69[_0x603b4c(0x1fe)],_0x553e69);}),_0x5abefc['forValue']((_0x58aa96,_0x4c67cf,_0x23e4e8)=>{const _0x303630=_0xf995ba;if(_0x23e4e8==null)return!0x0;const {x:_0xc3b94c=0x0,y:_0x2dd1f0=0x0,si:_0x457891}=_0x23e4e8;if(_0xc3b94c===0x0&&_0x2dd1f0===0x0&&_0x457891!=null)return!0x0;let _0x11c9cb;if(_0x457891&&_0x1be312[_0x303630(0x1f0)](_0x457891)){const _0x476c58=_0x1be312[_0x303630(0x1b7)](_0x457891);_0x11c9cb=this[_0x303630(0x195)](_0x476c58,_0x23e4e8);}else _0x11c9cb=this['_createFDtree'](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf,_0x1af2b4,_0x23e4e8);const _0x46a60d=this[_0x303630(0x1e6)][_0x303630(0x1bb)](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf);_0x46a60d!=null?_0x11c9cb['treeId']=_0x46a60d:(this[_0x303630(0x1e6)][_0x303630(0x1ec)](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf,_0x11c9cb),this[_0x303630(0x1e6)]['addFormulaDependencyByDefinedName'](_0x11c9cb)),_0x24d29f['push'](_0x11c9cb),this['_dependencyTreeCache'][_0x303630(0x1be)](_0x11c9cb[_0x303630(0x1fe)],_0x11c9cb);}),_0x1be312[_0xf995ba(0x182)]();}}}[_0x4fb27b(0x210)](_0x3abfe2,_0x59d4bb,_0x314e74,_0x4a56f5,_0x33e461,_0x52b31b){const _0x3b0167=_0x4fb27b,{f:_0x238d31,x:_0x4370b5=0x0,y:_0x25ed3a=0x0}=_0x52b31b,_0x28a8c3=new _0x18cf74(_0xce427c(this[_0x3b0167(0x1e6)])),_0xb01a8d=_0x33e461[_0x3abfe2][_0x59d4bb];return _0x28a8c3['formula']=_0x238d31,_0x28a8c3[_0x3b0167(0x1b8)]=_0x3abfe2,_0x28a8c3[_0x3b0167(0x1b0)]=_0x59d4bb,_0x28a8c3[_0x3b0167(0x1bc)]=_0x314e74,_0x28a8c3[_0x3b0167(0x1d5)]=_0x4a56f5,_0x28a8c3[_0x3b0167(0x1fb)]=_0xb01a8d[_0x3b0167(0x1fb)],_0x28a8c3[_0x3b0167(0x1f6)]=_0xb01a8d[_0x3b0167(0x1f6)],_0x28a8c3;}['_getUpdateTreeListAndMakeDependency'](){const _0x9d6e31=_0x4fb27b,_0x29a8e2=[],_0xee5f05=new Set(),_0x221120=this['_currentConfigService']['isForceCalculate'](),_0x56fe89=this[_0x9d6e31(0x1bf)]['getDirtyRanges'](),_0x52b4ae=this[_0x9d6e31(0x1e6)]['searchDependency'](_0x56fe89),_0xd08d5f=this['_dependencyRTreeCacheForAddressFunction'][_0x9d6e31(0x1b4)](_0x56fe89);for(const _0x4b7df7 of _0xd08d5f)_0x52b4ae['add'](_0x4b7df7);for(const [_0x411c7c,_0x3c50e6]of this[_0x9d6e31(0x1d7)])(_0x221120||_0x3c50e6[_0x9d6e31(0x1f3)]||_0x3c50e6[_0x9d6e31(0x1c6)](this[_0x9d6e31(0x1bf)][_0x9d6e31(0x20c)]())||_0x52b4ae[_0x9d6e31(0x1f0)](_0x411c7c)&&!_0x3c50e6[_0x9d6e31(0x1e7)](this[_0x9d6e31(0x1bf)][_0x9d6e31(0x1c8)]()))&&!_0xee5f05[_0x9d6e31(0x1f0)](_0x411c7c)&&(_0x29a8e2['push'](_0x3c50e6),_0xee5f05[_0x9d6e31(0x1fa)](_0x411c7c));for(const [_0x32dc88,_0x3eaffd]of this[_0x9d6e31(0x1d7)])_0x3eaffd[_0x9d6e31(0x17b)]||(_0x3eaffd['rangeList'][_0x9d6e31(0x204)]=0x0);return _0x29a8e2;}[_0x4fb27b(0x216)](_0x120a1f){const _0x425d20=_0x4fb27b;return this[_0x425d20(0x1d7)]['get'](_0x120a1f);}[_0x4fb27b(0x1a3)](_0x2dd209){const _0x3e51bf=_0x4fb27b;return _0x2ceed9(_0x2dd209['unitId'],_0x2dd209['formula'],this[_0x3e51bf(0x194)],this[_0x3e51bf(0x1f2)],this['_currentConfigService']);}*[_0x4fb27b(0x1f4)](_0x2222f3,_0x3fa3ca){const _0x3a0603=_0x4fb27b,_0x556d0a=_0x2222f3,_0x25cc64=new Set();for(;_0x556d0a[_0x3a0603(0x204)]>0x0;){const _0x3add15=_0x556d0a[_0x3a0603(0x1da)]();if(_0x25cc64[_0x3a0603(0x182)](),_0x3add15===void 0x0||_0x3add15[_0x3a0603(0x212)]())continue;if(_0x3add15[_0x3a0603(0x19e)]()){yield _0x3add15,_0x3add15[_0x3a0603(0x1c0)](),_0x3fa3ca[_0x3a0603(0x1fa)](_0x3add15[_0x3a0603(0x1fe)]);continue;}const _0x1e0390=this[_0x3a0603(0x1e6)][_0x3a0603(0x1a9)](_0x3add15[_0x3a0603(0x1c3)](),_0x3fa3ca),_0x5b84a1=this[_0x3a0603(0x1a4)]['bulkSearch'](_0x3add15['toRTreeItem'](),_0x3fa3ca);for(const _0x44e456 of _0x5b84a1)_0x1e0390[_0x3a0603(0x1fa)](_0x44e456);for(const _0x3fb7c9 of _0x1e0390){const _0x47f72b=this[_0x3a0603(0x1d7)][_0x3a0603(0x1b7)](_0x3fb7c9);if(!_0x47f72b)throw new Error(_0x3a0603(0x1b5));_0x47f72b['isAdded']()||_0x3add15['isSkip']()||_0x25cc64['add'](_0x47f72b);}if(_0x1e0390['clear'](),_0x25cc64[_0x3a0603(0x18b)]===0x0)yield _0x3add15,_0x3add15['setSkip'](),_0x3fa3ca[_0x3a0603(0x1fa)](_0x3add15[_0x3a0603(0x1fe)]);else{_0x3add15[_0x3a0603(0x20d)](),_0x556d0a[_0x3a0603(0x1d2)](_0x3add15);for(const _0xee5b of _0x25cc64)_0x556d0a['push'](_0xee5b);}}_0x556d0a['length']=0x0,_0x25cc64[_0x3a0603(0x182)]();}[_0x4fb27b(0x18c)](_0x38cf74){const _0x480403=_0x4fb27b,_0x743bc0=[],_0x4dea4d=new Set();for(const _0x560b8e of this[_0x480403(0x1f4)](_0x38cf74,_0x4dea4d))_0x743bc0[_0x480403(0x1d2)](_0x560b8e);return _0x743bc0;}}class he extends _0x54fcb7{async['_apply'](_0x2d9058=!0x1){const _0x87d9b0=_0x4fb27b;_0x2d9058?this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1b1)]):this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x203)]),this[_0x87d9b0(0x211)]['next'](this['_runtimeService'][_0x87d9b0(0x1a2)]());const _0x4541ec=await this[_0x87d9b0(0x1f7)][_0x87d9b0(0x1e9)](),_0x4cc603=this[_0x87d9b0(0x1b2)];_0x2d9058?(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x201)]),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1d0)](_0x4541ec[_0x87d9b0(0x204)])):(this['_runtimeService'][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1ee)]),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x185)](_0x4541ec[_0x87d9b0(0x204)])),this[_0x87d9b0(0x211)]['next'](this[_0x87d9b0(0x1c4)]['getRuntimeState']());let _0x1df6cc=[];const _0x1fa5ec=this[_0x87d9b0(0x200)][_0x87d9b0(0x1f8)](_0x3ff091),_0x23a38b=(_0x1fa5ec==null?void 0x0:_0x1fa5ec[_0x87d9b0(0x17e)])||_0x3c1529;let _0x696795=0x0;const _0x3ea490=_0x4541ec[_0x87d9b0(0x204)];for(;_0x4541ec[_0x87d9b0(0x204)]>0x0;){const _0x381249=_0x4541ec['pop'](),_0x55d5d5={'node':_0x2ceed9(_0x381249['unitId'],_0x381249[_0x87d9b0(0x207)],this[_0x87d9b0(0x194)],this[_0x87d9b0(0x1f2)],this[_0x87d9b0(0x1bf)]),'refOffsetX':_0x381249['refOffsetX'],'refOffsetY':_0x381249['refOffsetY']},_0xe475b4=_0x381249[_0x87d9b0(0x20f)];if(_0x696795%_0x23a38b===0x0&&(await new Promise(_0x36c602=>{const _0x26f2ef=_0x87d9b0,_0x1dc7f5=_0x1ec1f3(_0x36c602);_0x1df6cc[_0x26f2ef(0x1d2)](_0x1dc7f5);}),_0x2d9058?(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x87d9b0(0x215)](_0x696795+0x1)):(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1e0)]),this[_0x87d9b0(0x1c4)]['setCompletedFormulasCount'](_0x696795+0x1)),this['_executionInProgressListener$']['next'](this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1a2)]()),this['_runtimeService'][_0x87d9b0(0x186)]()||_0x55d5d5==null&&_0xe475b4==null)){this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc['IDLE']),this['_runtimeService'][_0x87d9b0(0x1f5)](),this[_0x87d9b0(0x1fc)][_0x87d9b0(0x189)](this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]());return;}this[_0x87d9b0(0x1c4)]['setCurrent'](_0x381249[_0x87d9b0(0x1bc)],_0x381249['column'],_0x381249[_0x87d9b0(0x1fb)],_0x381249['columnCount'],_0x381249[_0x87d9b0(0x1b0)],_0x381249[_0x87d9b0(0x1b8)]);let _0x39d558;if(_0xe475b4!=null&&_0x381249['featureId']!=null){const {runtimeCellData:_0xe79aa1,dirtyRanges:_0x280424}=_0xe475b4(this['_currentConfigService'][_0x87d9b0(0x20f)](),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]());this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b6)](_0x381249[_0x87d9b0(0x1d9)],_0xe79aa1),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x17d)](_0x381249[_0x87d9b0(0x1d9)],_0x280424);}else _0x55d5d5!=null&&(_0x4cc603[_0x87d9b0(0x1ba)](_0x55d5d5[_0x87d9b0(0x177)])?_0x39d558=await _0x4cc603[_0x87d9b0(0x1e5)](_0x55d5d5):_0x39d558=_0x4cc603[_0x87d9b0(0x191)](_0x55d5d5),_0x381249[_0x87d9b0(0x1bd)]!=null?this['_runtimeService'][_0x87d9b0(0x1fd)](_0x381249['formulaId'],_0x381249[_0x87d9b0(0x196)],_0x381249['refOffsetY'],_0x39d558):this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1ff)](_0x39d558));_0x696795++;}return _0x1df6cc[_0x87d9b0(0x19d)](_0x34b005=>_0x34b005()),_0x1df6cc=[],_0x3ea490>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x2d9058||this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1a8)](),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]();}}class fe extends _0x41e539{constructor(){const _0x1849f3=_0x4fb27b;super(...arguments),N(this,_0x1849f3(0x1a1),new Map()),N(this,'_dependencyRTreeCache',new _0x55458c(!0x0));}['reset'](){const _0x49a788=_0x4fb27b;this['_otherFormulaData'][_0x49a788(0x182)](),this['_featureFormulaData'][_0x49a788(0x182)](),this[_0x49a788(0x1ea)][_0x49a788(0x182)](),this[_0x49a788(0x1cb)][_0x49a788(0x182)](),this[_0x49a788(0x1a1)][_0x49a788(0x182)](),this[_0x49a788(0x1de)](),this[_0x49a788(0x1d3)][_0x49a788(0x182)]();}[_0x4fb27b(0x183)](_0x2972e0,_0x163040,_0x5994b8,_0x42a3f8){const _0x31e47b=_0x4fb27b;this[_0x31e47b(0x1e8)][_0x31e47b(0x1f0)](_0x2972e0)||this[_0x31e47b(0x1e8)][_0x31e47b(0x1be)](_0x2972e0,new Map());const _0x3d1a0d=this[_0x31e47b(0x1e8)][_0x31e47b(0x1b7)](_0x2972e0);_0x3d1a0d['has'](_0x163040)||_0x3d1a0d[_0x31e47b(0x1be)](_0x163040,new Map());const _0x4367c7=_0x3d1a0d[_0x31e47b(0x1b7)](_0x163040);_0x4367c7[_0x31e47b(0x1f0)](_0x5994b8)||_0x4367c7[_0x31e47b(0x1be)](_0x5994b8,new _0x3b572d()),_0x4367c7[_0x31e47b(0x1b7)](_0x5994b8)[_0x31e47b(0x1ad)](_0x42a3f8[_0x31e47b(0x196)],_0x42a3f8[_0x31e47b(0x1dc)],_0x42a3f8['treeId']);}['removeOtherFormulaDependency'](_0x3c32ca,_0x143f6b,_0x745f7b){const _0x5e3a0d=_0x4fb27b,_0x4c73d6=this[_0x5e3a0d(0x1e8)][_0x5e3a0d(0x1b7)](_0x3c32ca);if(_0x4c73d6&&_0x4c73d6[_0x5e3a0d(0x1f0)](_0x143f6b)){const _0x700a20=_0x4c73d6[_0x5e3a0d(0x1b7)](_0x143f6b);_0x745f7b[_0x5e3a0d(0x19d)](_0x608fc4=>{const _0x14c697=_0x5e3a0d,_0x2dd79a=_0x700a20['get'](_0x608fc4);_0x2dd79a!=null&&(_0x2dd79a['forValue']((_0x206908,_0x85aad8,_0x2232c6)=>{const _0xb6654a=_0x42c4;this[_0xb6654a(0x18a)](_0x2232c6),this['_removeAllTreeMap'](_0x2232c6);}),_0x700a20[_0x14c697(0x1e4)](_0x608fc4),this[_0x14c697(0x1d3)][_0x14c697(0x1e4)](_0x608fc4));}),_0x700a20['size']===0x0&&_0x4c73d6[_0x5e3a0d(0x1e4)](_0x143f6b),_0x4c73d6['size']===0x0&&this[_0x5e3a0d(0x1e8)][_0x5e3a0d(0x1e4)](_0x3c32ca);}}['clearOtherFormulaDependency'](_0x34ac7d,_0x4f6727){const _0x47c045=_0x4fb27b,_0x520a53=this[_0x47c045(0x1e8)][_0x47c045(0x1b7)](_0x34ac7d);if(_0x4f6727&&_0x520a53&&_0x520a53['has'](_0x4f6727)){const _0x19ec9c=_0x520a53['get'](_0x4f6727);this['_removeDependencyRTreeCacheById'](_0x34ac7d,_0x4f6727);for(const _0x52e632 of _0x19ec9c[_0x47c045(0x20a)]()){const _0x274bd9=_0x19ec9c[_0x47c045(0x1b7)](_0x52e632);_0x274bd9!=null&&(_0x274bd9[_0x47c045(0x19a)]((_0x19489d,_0x1fd69a,_0x56d03b)=>{const _0x259c8b=_0x47c045;this[_0x259c8b(0x1a1)][_0x259c8b(0x1b7)](_0x56d03b)&&this['_removeAllTreeMap'](_0x56d03b);}),this[_0x47c045(0x1d3)][_0x47c045(0x1e4)](_0x52e632));}_0x19ec9c[_0x47c045(0x182)]();}else{if(_0x520a53){for(const _0x2fe0e7 of _0x520a53[_0x47c045(0x20a)]()){const _0x23a589=_0x520a53[_0x47c045(0x1b7)](_0x2fe0e7);this[_0x47c045(0x198)](_0x34ac7d,_0x2fe0e7);for(const _0xefc137 of _0x23a589[_0x47c045(0x20a)]()){const _0x39fa93=_0x23a589[_0x47c045(0x1b7)](_0xefc137);_0x39fa93!=null&&(_0x39fa93[_0x47c045(0x19a)]((_0x49d6c1,_0x5323cb,_0x56fae3)=>{const _0x3e9547=_0x47c045;this['_allTreeMap'][_0x3e9547(0x1b7)](_0x56fae3)&&this[_0x3e9547(0x1d8)](_0x56fae3);}),this[_0x47c045(0x1d3)]['delete'](_0xefc137));}}this['_otherFormulaData'][_0x47c045(0x1e4)](_0x34ac7d);}}}[_0x4fb27b(0x18e)](_0xfa8a5c,_0x5290b7,_0x4efebb,_0xb34cb9){const _0x5eea63=_0x4fb27b;this[_0x5eea63(0x1df)][_0x5eea63(0x1f0)](_0xfa8a5c)||this['_featureFormulaData'][_0x5eea63(0x1be)](_0xfa8a5c,new Map());const _0x4dd0a5=this[_0x5eea63(0x1df)][_0x5eea63(0x1b7)](_0xfa8a5c);_0x4dd0a5[_0x5eea63(0x1f0)](_0x5290b7)||_0x4dd0a5[_0x5eea63(0x1be)](_0x5290b7,new Map()),_0x4dd0a5['get'](_0x5290b7)['set'](_0x4efebb,_0xb34cb9[_0x5eea63(0x1fe)]);}[_0x4fb27b(0x1ab)](_0x5f1cfe,_0x5e82a5,_0x3c6385){const _0xb2087f=_0x4fb27b,_0x523290=this[_0xb2087f(0x1df)][_0xb2087f(0x1b7)](_0x5f1cfe);if(_0x523290&&_0x523290[_0xb2087f(0x1f0)](_0x5e82a5)){const _0x53ecc2=_0x523290[_0xb2087f(0x1b7)](_0x5e82a5);_0x3c6385['forEach'](_0x5a0aa5=>{const _0x5c44c7=_0xb2087f,_0x4c9f36=_0x53ecc2[_0x5c44c7(0x1b7)](_0x5a0aa5);_0x4c9f36!=null&&(this[_0x5c44c7(0x18a)](_0x4c9f36),_0x53ecc2[_0x5c44c7(0x1e4)](_0x5a0aa5),this[_0x5c44c7(0x1d8)](_0x4c9f36));});}}[_0x4fb27b(0x1c5)](_0x2ec65f,_0x14a56e){const _0x200562=_0x4fb27b,_0x550b5c=this[_0x200562(0x1df)][_0x200562(0x1b7)](_0x2ec65f);if(_0x14a56e&&_0x550b5c&&_0x550b5c['has'](_0x14a56e)){const _0x373f1a=_0x550b5c['get'](_0x14a56e);this[_0x200562(0x198)](_0x2ec65f,_0x14a56e),_0x373f1a[_0x200562(0x19d)](_0x47fdc0=>{const _0x190d57=_0x200562;_0x47fdc0!=null&&this[_0x190d57(0x1d8)](_0x47fdc0);}),_0x373f1a['clear']();}else _0x550b5c&&(_0x550b5c['forEach']((_0x2f3d20,_0x466d61)=>{const _0x5eced5=_0x200562;this[_0x5eced5(0x198)](_0x2ec65f,_0x466d61),_0x2f3d20[_0x5eced5(0x19d)](_0x33db26=>{const _0x5d3498=_0x5eced5;_0x33db26!=null&&this[_0x5d3498(0x1d8)](_0x33db26);});}),this[_0x200562(0x1df)]['delete'](_0x2ec65f));}[_0x4fb27b(0x1ec)](_0x36cb49,_0x19ebd1,_0x39c6f5,_0x514dca,_0x3f66bf){const _0x52470d=_0x4fb27b;this[_0x52470d(0x1ea)][_0x52470d(0x1f0)](_0x36cb49)||this['_formulaData'][_0x52470d(0x1be)](_0x36cb49,new Map());const _0x2e3ab4=this[_0x52470d(0x1ea)][_0x52470d(0x1b7)](_0x36cb49);_0x2e3ab4[_0x52470d(0x1f0)](_0x19ebd1)||_0x2e3ab4[_0x52470d(0x1be)](_0x19ebd1,new _0x3b572d()),_0x2e3ab4[_0x52470d(0x1b7)](_0x19ebd1)[_0x52470d(0x1ad)](_0x39c6f5,_0x514dca,_0x3f66bf[_0x52470d(0x1fe)]);}[_0x4fb27b(0x1ef)](_0x4d35e3,_0x2ad31f,_0x5f3592,_0x4b6709){const _0x32a0b6=_0x4fb27b,_0x3f2c48=this[_0x32a0b6(0x1ea)][_0x32a0b6(0x1b7)](_0x4d35e3);if(_0x3f2c48&&_0x3f2c48[_0x32a0b6(0x1f0)](_0x2ad31f)){const _0x2512c9=_0x3f2c48['get'](_0x2ad31f),_0x338ed4=_0x2512c9['getValue'](_0x5f3592,_0x4b6709);if(_0x338ed4==null)return;this[_0x32a0b6(0x18a)](_0x338ed4),_0x2512c9[_0x32a0b6(0x1e3)](_0x5f3592,_0x4b6709),this['_removeAllTreeMap'](_0x338ed4);}}[_0x4fb27b(0x184)](_0x3865c1,_0x25da7d){const _0x57aeb7=_0x4fb27b,_0x571f71=this['_formulaData']['get'](_0x3865c1);if(_0x25da7d&&_0x571f71&&_0x571f71['has'](_0x25da7d)){const _0x332036=_0x571f71['get'](_0x25da7d);this[_0x57aeb7(0x198)](_0x3865c1,_0x25da7d),_0x332036[_0x57aeb7(0x19a)]((_0x2fab96,_0x3313da,_0x59d4c8)=>{const _0x2014a7=_0x57aeb7;if(_0x59d4c8==null)return!0x0;this[_0x2014a7(0x1d8)](_0x59d4c8);}),_0x332036['reset']();}else _0x571f71&&(_0x571f71[_0x57aeb7(0x19d)]((_0x4695b1,_0x46f96c)=>{const _0xff36a8=_0x57aeb7;this[_0xff36a8(0x198)](_0x3865c1,_0x46f96c),_0x4695b1[_0xff36a8(0x19a)]((_0x4e8755,_0x452b6e,_0x2ad591)=>{const _0x5dbec9=_0xff36a8;if(_0x2ad591==null)return!0x0;this[_0x5dbec9(0x1d8)](_0x2ad591);});}),this[_0x57aeb7(0x1ea)][_0x57aeb7(0x1e4)](_0x3865c1));}['_removeDependencyRTreeCache'](_0x56a2df){const _0x5e0847=_0x4fb27b;if(_0x56a2df==null)return;const _0x56b949=this[_0x5e0847(0x1a1)][_0x5e0847(0x1b7)](_0x56a2df);if(_0x56b949){const _0x4f0c8c=[];for(const [_0x338a3c,_0x264883]of _0x56b949)for(const [_0x520200,_0x1f260d]of _0x264883)_0x4f0c8c[_0x5e0847(0x1d2)]({'unitId':_0x338a3c,'sheetId':_0x520200,'range':_0x1f260d,'id':_0x56a2df});this['_dependencyRTreeCache'][_0x5e0847(0x1db)](_0x4f0c8c);}}['removeFormulaDependencyByDefinedName'](_0x4d7975,_0xdeff21){const _0x130e7c=_0x4fb27b,_0x163615=this[_0x130e7c(0x180)][_0x130e7c(0x1b7)](_0x4d7975);if(_0x163615){const _0x2606fa=_0x163615['get'](_0xdeff21);if(_0x2606fa){for(const _0x4a372f of _0x2606fa)this[_0x130e7c(0x18a)](_0x4a372f),this[_0x130e7c(0x1d8)](_0x4a372f);_0x2606fa['clear']();}}}[_0x4fb27b(0x19c)](){const _0x1a5356=_0x4fb27b;this[_0x1a5356(0x1cb)][_0x1a5356(0x19c)]();}['closeKdTree'](){const _0x27e1cb=_0x4fb27b;this[_0x27e1cb(0x1cb)][_0x27e1cb(0x1d1)]();}['_removeAllTreeMap'](_0x1aefaf){_0x1aefaf!=null&&this['_allTreeMap']['delete'](_0x1aefaf);}[_0x4fb27b(0x20b)](_0xdfd85f){const _0xab27da=_0x4fb27b;var _0x7d1eee,_0x72f817;const _0x20d850=_0xdfd85f[_0xab27da(0x1cf)];let _0x524e3f=this[_0xab27da(0x1a1)][_0xab27da(0x1b7)](_0xdfd85f[_0xab27da(0x1fe)]);for(let _0x51a666=0x0;_0x51a666<_0x20d850[_0xab27da(0x204)];_0x51a666++){const _0x275e5c=_0x20d850[_0x51a666];let {unitId:_0x4e728d,sheetId:_0x49b15c,range:_0x3d7d98}=_0x275e5c;_0x524e3f||(_0x524e3f=new Map(),this[_0xab27da(0x1a1)][_0xab27da(0x1be)](_0xdfd85f[_0xab27da(0x1fe)],_0x524e3f)),_0x524e3f['has'](_0x4e728d)||_0x524e3f[_0xab27da(0x1be)](_0x4e728d,new Map());const _0x422d7e=(_0x7d1eee=_0x524e3f==null?void 0x0:_0x524e3f[_0xab27da(0x1b7)](_0x4e728d))==null?void 0x0:_0x7d1eee[_0xab27da(0x1b7)](_0x49b15c);_0x422d7e&&(_0x3d7d98={'startRow':Math[_0xab27da(0x209)](_0x3d7d98[_0xab27da(0x205)],_0x422d7e[_0xab27da(0x205)]),'startColumn':Math[_0xab27da(0x209)](_0x3d7d98[_0xab27da(0x1f9)],_0x422d7e[_0xab27da(0x1f9)]),'endRow':Math['max'](_0x3d7d98['endRow'],_0x422d7e['endRow']),'endColumn':Math[_0xab27da(0x20e)](_0x3d7d98['endColumn'],_0x422d7e['endColumn'])}),(_0x72f817=_0x524e3f['get'](_0x4e728d))==null||_0x72f817['set'](_0x49b15c,_0x3d7d98);}}}var pe=Object['getOwnPropertyDescriptor'],_e=(_0x5e63a5,_0x550c19,_0x28556a,_0x569855)=>{const _0x40929d=_0x4fb27b;for(var _0x39caa6=_0x569855>0x1?void 0x0:_0x569855?pe(_0x550c19,_0x28556a):_0x550c19,_0xb90887=_0x5e63a5[_0x40929d(0x204)]-0x1,_0x578eba;_0xb90887>=0x0;_0xb90887--)(_0x578eba=_0x5e63a5[_0xb90887])&&(_0x39caa6=_0x578eba(_0x39caa6)||_0x39caa6);return _0x39caa6;};const me=Number[_0x4fb27b(0x188)](0x6867fd43);let x=class extends _0x544fe7{['_initializeWithOverride'](){const _0x43ca2d=_0x4fb27b;var _0xb94539,_0x48914e;this[_0x43ca2d(0x1e2)]()?(_0xb94539=this['_config'])!=null&&_0xb94539['notExecuteFormula']||[[_0x58bba8,{'useClass':he}],[_0x3d8dc8,{'useClass':fe}],[_0x257984,{'useClass':de}]][_0x43ca2d(0x19d)](_0x22e3ff=>this[_0x43ca2d(0x181)]['add'](_0x22e3ff)):(_0x48914e=this[_0x43ca2d(0x214)])!=null&&_0x48914e[_0x43ca2d(0x18d)]||[[_0x58bba8,{'useClass':_0x54fcb7}],[_0x3d8dc8,{'useClass':_0x1e98ff}],[_0x257984,{'useClass':_0x3323bc}]][_0x43ca2d(0x19d)](_0x2bb4d8=>this[_0x43ca2d(0x181)][_0x43ca2d(0x1fa)](_0x2bb4d8));}[_0x4fb27b(0x1e2)](){const _0x2a5823=_0x4fb27b;var _0x9e943b;const _0x250f2f=(_0x9e943b=this[_0x2a5823(0x200)][_0x2a5823(0x1f8)](_0x81ad4e))!=null?_0x9e943b:{},{ls:_0x131dc9,pbk:_0x1cf5de}=_0x250f2f;if(!_0x131dc9||!_0x1cf5de)return!0x1;const _0x397e7b=_0x4e302f(ue,le),_0x5d8c75=new Function(_0x2a5823(0x1ae)+_0x397e7b)()(_0x131dc9,_0x1cf5de),_0x8918a6=_0x5d8c75[_0x2a5823(0x1a7)];return _0x5d8c75[_0x2a5823(0x206)]&&_0x4858de(_0x8918a6,'sf',me)?_0x37f1d4(_0x8918a6,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x5ab6(){const _0x4b8bd8=['intervalCount','57blcDSM','_definedNameMap','_injector','clear','addOtherFormulaDependency','clearFormulaDependency','setTotalFormulasToCalculate','isStopExecution','getOtherFormulaDependency','parseInt','next','_removeDependencyRTreeCache','size','_calculateRunList','notExecuteFormula','addFeatureFormulaDependency','212508soJspn','14WjjVri','execute','getAllRuntimeData','_isCyclicUtilMap','_lexer','_createVirtualFDtree','refOffsetX','20lorKhu','_removeDependencyRTreeCacheById','type','forValue','resolve','openKdTree','forEach','isAdded','refTree','_generateTreeList','_allTreeMap','getRuntimeState','_getTreeNode','_dependencyRTreeCacheForAddressFunction','dirtyRanges','102612oXpmBm','message','markedAsNoFunctionsExecuted','searchDependency','_getFeatureFormulaTree','removeFeatureFormulaDependency','getOtherFormulaData','setValue','return\x20','isCache','subUnitId','START_DEPENDENCY_ARRAY_FORMULA','_interpreter','getUnitData','bulkSearch','ParentDependencyTree\x20object\x20is\x20null','setRuntimeFeatureCellData','get','unitId','setFormulaExecuteStage','checkAsyncNode','getFormulaDependency','row','formulaId','set','_currentConfigService','setSkip','40cBWZRC','getFeatureFormulaDependency','toRTreeItem','_runtimeService','clearFeatureFormulaDependency','dependencySheetName','2508128fnYHny','getExcludedRange','getClearDependencyTreeCache','enableCycleDependency','_dependencyRTreeCache','739165zyvRcb','124378UeEXVq','clearOtherFormulaDependency','rangeList','setTotalArrayFormulasToCalculate','closeKdTree','push','_otherFormulaDataMainData','_registerFormulas','column','_getFirstCellOfRange','_dependencyTreeCache','_removeAllTreeMap','featureId','pop','bulkRemove','refOffsetY','_updateRangeFlatten','_restDependencyTreeId','_featureFormulaData','CURRENTLY_CALCULATING','defineProperty','_initLicenseValid','realDeleteValue','delete','executeAsync','_dependencyManagerService','isExcludeRange','_otherFormulaData','generate','_formulaData','_checkIsCycleDependency','addFormulaDependency','hasOtherFormulaDataMainData','START_CALCULATION','removeFormulaDependency','has','featureDirtyRanges','_astTreeBuilder','isDirty','_traverse','markedAsStopFunctionsExecuted','columnCount','_formulaDependencyGenerator','getConfig','startColumn','add','rowCount','_executionCompleteListener$','setRuntimeOtherData','treeId','setRuntimeData','_configService','START_CALCULATION_ARRAY_FORMULA','getValue','START_DEPENDENCY','length','startRow','valid','formula','FEATURE_FORMULA','min','keys','_addAllTreeMap','getDirtyNameMap','setAdded','max','getDirtyData','_createFDtree','_executionInProgressListener$','isSkip','_convertDirtyRangesToUnitRange','_config','setCompletedArrayFormulasCount','_getTreeById','13534KWlkZq','253tTmXej','node','3195180XrOinH','_otherFormulaManagerService','addFormulaDependencyByDefinedName','isVirtual','dispose','setRuntimeFeatureRange'];_0x5ab6=function(){return _0x4b8bd8;};return _0x5ab6();}x=_e([_0x42e9b7(_0x13d289)],x);export{x as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x389a(_0x367abc,_0x302a12){var _0x556fee=_0x556f();return _0x389a=function(_0x389ac7,_0x11ad7b){_0x389ac7=_0x389ac7-0x1ae;var _0x360762=_0x556fee[_0x389ac7];return _0x360762;},_0x389a(_0x367abc,_0x302a12);}(function(_0x51fce6,_0xfa507e){var _0x3419bb=_0x389a,_0x29b7d9=_0x51fce6();while(!![]){try{var _0x119f84=parseInt(_0x3419bb(0x1b0))/0x1+parseInt(_0x3419bb(0x1b1))/0x2*(-parseInt(_0x3419bb(0x1b4))/0x3)+-parseInt(_0x3419bb(0x1b2))/0x4+parseInt(_0x3419bb(0x1b3))/0x5*(-parseInt(_0x3419bb(0x1b5))/0x6)+parseInt(_0x3419bb(0x1b6))/0x7+parseInt(_0x3419bb(0x1b8))/0x8*(parseInt(_0x3419bb(0x1ae))/0x9)+-parseInt(_0x3419bb(0x1b7))/0xa*(-parseInt(_0x3419bb(0x1af))/0xb);if(_0x119f84===_0xfa507e)break;else _0x29b7d9['push'](_0x29b7d9['shift']());}catch(_0x57e489){_0x29b7d9['push'](_0x29b7d9['shift']());}}}(_0x556f,0x3daff));function _0x556f(){var _0x3996fa=['360458SHQPyQ','648928VomMgC','633992pDzYit','2155NPKjgv','3TbustX','5178NsbrPl','1132803Ivbasg','565930zUwVOh','58992jaIRqS','369GNyEFK','55BtUJeT'];_0x556f=function(){return _0x3996fa;};return _0x556f();}export*from'@univerjs/engine-formula/facade';
1
+ function _0x115e(){var _0x24a7ba=['35641AWDZtr','12bmfsnP','26xTPgQT','2280345iftscc','1761KiiCMv','5239640JgKqhH','9MOaBAM','516bOSvuH','7044WGdUTs','5984560vLGizk','5877377dgQGKs','4886BYngQR'];_0x115e=function(){return _0x24a7ba;};return _0x115e();}function _0x3abc(_0x4039f8,_0x12c86d){var _0x115e16=_0x115e();return _0x3abc=function(_0x3abcfa,_0x7a269){_0x3abcfa=_0x3abcfa-0x1c0;var _0x57ead4=_0x115e16[_0x3abcfa];return _0x57ead4;},_0x3abc(_0x4039f8,_0x12c86d);}(function(_0x15eb9b,_0x398874){var _0x3f3822=_0x3abc,_0x43dbeb=_0x15eb9b();while(!![]){try{var _0x2022e3=-parseInt(_0x3f3822(0x1c2))/0x1*(-parseInt(_0x3f3822(0x1c4))/0x2)+parseInt(_0x3f3822(0x1c6))/0x3*(-parseInt(_0x3f3822(0x1ca))/0x4)+-parseInt(_0x3f3822(0x1c5))/0x5+-parseInt(_0x3f3822(0x1c9))/0x6*(parseInt(_0x3f3822(0x1c1))/0x7)+-parseInt(_0x3f3822(0x1c7))/0x8*(-parseInt(_0x3f3822(0x1c8))/0x9)+parseInt(_0x3f3822(0x1cb))/0xa+-parseInt(_0x3f3822(0x1c0))/0xb*(-parseInt(_0x3f3822(0x1c3))/0xc);if(_0x2022e3===_0x398874)break;else _0x43dbeb['push'](_0x43dbeb['shift']());}catch(_0x967a33){_0x43dbeb['push'](_0x43dbeb['shift']());}}}(_0x115e,0xab33f));export*from'@univerjs/engine-formula/facade';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2c95ab=_0x209c;(function(_0x488685,_0x49a9e5){const _0x217569=_0x209c,_0xa51148=_0x488685();while(!![]){try{const _0x5618bf=-parseInt(_0x217569(0xb7))/0x1+-parseInt(_0x217569(0xa1))/0x2+-parseInt(_0x217569(0x138))/0x3+-parseInt(_0x217569(0xc3))/0x4*(-parseInt(_0x217569(0x11d))/0x5)+parseInt(_0x217569(0xa9))/0x6*(-parseInt(_0x217569(0x117))/0x7)+parseInt(_0x217569(0xf8))/0x8+parseInt(_0x217569(0x118))/0x9;if(_0x5618bf===_0x49a9e5)break;else _0xa51148['push'](_0xa51148['shift']());}catch(_0x417f37){_0xa51148['push'](_0xa51148['shift']());}}}(_0x267c,0xe95da));var W=Object[_0x2c95ab(0x11f)],X=(_0x3a8987,_0x138313,_0x112088)=>_0x138313 in _0x3a8987?W(_0x3a8987,_0x138313,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x112088}):_0x3a8987[_0x138313]=_0x112088,T=(_0x15c857,_0xd6a4f1,_0xebe8c3)=>X(_0x15c857,typeof _0xd6a4f1!=_0x2c95ab(0xc2)?_0xd6a4f1+'':_0xd6a4f1,_0xebe8c3);import{UniverLicensePlugin as _0x15af35,LS_CONFIG_KEY as _0xb721b2,unshiftString as _0x1fd5b1,isFeatureAuthorizedWithinTime as _0x6b476d,getSheetFeatureLimit as _0x4ec7a8}from'@univerjs-pro/license';import{ObjectMatrix as _0xfc03c7,requestImmediateMacroTask as _0x3b27bd,RTree as _0x3d9b70,DependentOn as _0x4fe705}from'@univerjs/core';import{FormulaDependencyGenerator as _0x48a9f8,generateRandomDependencyTreeId as _0x380bf3,FormulaDependencyTree as _0x15b5c2,FormulaDependencyTreeType as _0x200d10,FormulaDependencyTreeVirtual as _0x55ec19,generateAstNode as _0x4f8378,CalculateFormulaService as _0x22de3d,FormulaExecuteStageType as _0x53faba,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x456ea3,DEFAULT_INTERVAL_COUNT as _0x1825f5,DependencyManagerBaseService as _0x5d674,UniverFormulaEnginePlugin as _0x10b3ba,ICalculateFormulaService as _0x31ce04,IDependencyManagerService as _0x3b0fd5,IFormulaDependencyGenerator as _0x1e2d6d,DependencyManagerService as _0x22ea09}from'@univerjs/engine-formula';function _0x267c(){const _0x3c1709=['_apply','_injector','_checkIsCycleDependency','node','isDirty','searchDependency','toRTreeItem','isExcludeRange','_isCyclicUtilMap','type','getValue','treeId','set','markedAsSuccessfullyExecuted','L19ENHP9\x20MeEI4CNHP9(zHEe9de,\x20C1izHExe4)\x20{\x20\x20\x20\x20NI4\x20{\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20zHEe9dey9LPcUINXIIU4\x20=\x20zHEe9de.dCzHN(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20PIH0H9FeddU0e\x20=\x20YAQs.CUIde(UNPi(zHEe9dey9LPcUINXIIU4[7]));\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!PIH0H9FeddU0e.1M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PIH0H9FeddU0e.1M\x20=\x20s1jieI(zHEe9dey9LPcUINXIIU4[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20Hd2PIVeI\x20=\x20N4CePL\x202PIVeIJzPiUzAEPCe\x20!==\x20\x2719MeLH9eM\x27\x20&&\x20dezL\x20H9dNU9EePL\x202PIVeIJzPiUzAEPCe;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20EP9NeuN\x20=\x20Hd2PIVeI\x20?\x20dezL\x20:\x20TH9MPT;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[7]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(jeddU0e2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[t]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(dH09UN1Ie2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09kUzHM\x20=\x20EP9NeuN.__OeIHL4__(dH09UN1Ie,\x20jeddU0e,\x20C1izHExe4);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20MPjUH9\x20=\x20PIH0H9FeddU0e.Mj;\x20\x20\x20\x20\x20\x20\x20\x20L19ENHP9\x20HdDPjUH9FUNEaH90(PcUNNeI9,\x20P6PdN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9\x20=\x20PcUNNeI9.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdN\x20=\x20P6PdN.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9cUINd\x20=\x20CUNNeI9.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNcUINd\x20=\x20aPdN.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!CUNNeI9.H9Ez1Med(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9\x20===\x20aPdN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(CUNNeI9cUINd.ze90Na\x20<\x207\x20||\x20CUNNeI9cUINd[g]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20LUzde;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9A1LLHu\x20=\x20CUNNeI9cUINd.dzHEe(l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNA1LLHu\x20=\x20aPdNcUINd.dzHEe(-CUNNeI9cUINd.ze90Na\x20+\x20l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9A1LLHu\x20===\x20aPdNA1LLHu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zeN\x20MPjUH9kUzHM\x20=\x20(MPjUH9\x20&&\x20MPjUH9.ze90Na)\x20?\x20MPjUH9.dPje((MjyNej)\x20=>\x20HdDPjUH9FUNEaH90(MjyNej,\x20zPEUNHP9.aPdN9Uje))\x20:\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(zPEUNHP9.aPdN9Uje\x20===\x20\x27zPEUzaPdN\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MPjUH9kUzHM\x20=\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20OUzHM\x20=\x20dH09kUzHM\x20&&\x20MPjUH9kUzHM;\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20PIH0H9FeddU0e,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20EUNEa\x20(eIIPI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM:\x20LUzde,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clearOtherFormulaDependency','setCompletedArrayFormulasCount','getDirtyRanges','_otherFormulaDataMainData','generate','setCurrent','_getUpdateTreeListAndMakeDependency','_executionInProgressListener$','_featureFormulaData','_removeDependencyRTreeCache','openKdTree','_registerOtherFormulas','_traverse','_dependencyTreeCache','_allTreeMap','clearFormulaDependency','rowCount','featureId','featureDirtyRanges','_currentConfigService','endRow','execute','removeFormulaDependencyByDefinedName','getConfig','addFeatureFormulaDependency','length','10748576jInPUO','isForceCalculate','message','setAdded','isCache','startRow','_removeAllTreeMap','_otherFormulaData','setTotalArrayFormulasToCalculate','getFormulaDependency','size','get','setValue','_dependencyRTreeCacheForAddressFunction','unitId','pop','getAllRuntimeData','parseInt','_formulaData','_config','isSkip','FEATURE_FORMULA','isVirtual','formula','_initializeWithOverride','endColumn','getClearDependencyTreeCache','_updateRangeFlatten','notExecuteFormula','_removeDependencyRTreeCacheById','getOwnPropertyDescriptor','3257919gTlWsS','20463282LaOLbh','addOtherFormulaDependencyMainData','max','_astTreeBuilder','_formulaDependencyGenerator','160rtlKmO','refTree','defineProperty','min','addFormulaDependency','setFormulaExecuteStage','forEach','checkAsyncNode','_initLicenseValid','push','refOffsetY','closeKdTree','setSkip','addOtherFormulaDependency','setCompletedFormulasCount','addFormulaDependencyByDefinedName','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaManagerService','subUnitId','_addAllTreeMap','startColumn','START_CALCULATION_ARRAY_FORMULA','valid','has','executeAsync','_restDependencyTreeId','realDeleteValue','4264059hOMXZa','delete','isStopExecution','_getFeatureFormulaTree','intervalCount','isAdded','_generateTreeList','347810NnXCZM','getFeatureFormulaDependency','getUnitData','removeFormulaDependency','_executionCompleteListener$','_getFirstCellOfRange','getRuntimeState','CURRENTLY_CALCULATING_ARRAY_FORMULA','18MTWoUh','add','getDirtyData','_definedNameMap','keys','_createFDtree','column','_getTreeNode','formulaId','refOffsetX','_convertDirtyRangesToUnitRange','columnCount','next','OTHER_FORMULA','1157639qugiwb','reset','forValue','dirtyRanges','_lexer','enableCycleDependency','removeFeatureFormulaDependency','_calculateRunList','clear','clearFeatureFormulaDependency','_interpreter','symbol','185968tRoDhQ','bulkSearch','getDirtyNameMap','getOtherFormulaDependency','_configService','_dependencyManagerService','bulkRemove','_runtimeService','rangeList','_dependencyRTreeCache','dispose','setTotalFormulasToCalculate'];_0x267c=function(){return _0x3c1709;};return _0x267c();}export*from'@univerjs/engine-formula';const le={0x0:'g',0x1:'u',0x2:'W',0x3:'j',0x4:'y',0x5:'9',0x6:'H',0x7:'2',0x8:'C',0x9:'n','g':'0','l':'1','t':'3','n':'4','q':'5','W':'6','S':'7','r':'8','U':'a','i':'b','E':'c','M':'d','e':'e','L':'f','a':'h','H':'i','V':'k','z':'l','j':'m','P':'o','C':'p','K':'q','I':'r','d':'s','N':'t','O':'v','T':'w','u':'x','Z':'z','X':'A','m':'B','D':'D','h':'E','b':'F','J':'G','y':'I','Y':'J','x':'K','R':'L','F':'M','s':'N','Q':'O','c':'P','p':'Q','G':'R','A':'S','v':'T','f':'U','k':'V','w':'X','o':'Y','B':'Z'},de=_0x2c95ab(0xdd);class ue extends _0x48a9f8{constructor(){const _0x472a0b=_0x2c95ab;super(...arguments),T(this,_0x472a0b(0xeb),new Map());}[_0x2c95ab(0xcd)](){const _0x21569d=_0x2c95ab;super[_0x21569d(0xcd)](),this[_0x21569d(0xeb)][_0x21569d(0xbf)]();}async['generate'](){const _0x1a392c=_0x2c95ab;this[_0x1a392c(0x113)]();const _0x271fa1=this[_0x1a392c(0xf1)]['getFormulaData'](),_0x2e27b7=this[_0x1a392c(0x12e)]['getOtherFormulaData'](),_0x51f32b=this[_0x1a392c(0xf1)][_0x1a392c(0x112)]();_0x51f32b!=null&&Object[_0x1a392c(0xad)](_0x51f32b)[_0x1a392c(0x123)](_0x30b865=>{const _0x37e777=_0x1a392c;_0x30b865!=null&&Object[_0x37e777(0xad)](_0x51f32b[_0x30b865])[_0x37e777(0x123)](_0x4a6265=>{const _0x35d600=_0x37e777;_0x4a6265!=null&&(this[_0x35d600(0xc8)][_0x35d600(0xde)](_0x30b865,_0x4a6265),this[_0x35d600(0xc8)][_0x35d600(0xc0)](_0x30b865,_0x4a6265),this[_0x35d600(0xc8)][_0x35d600(0xed)](_0x30b865,_0x4a6265));});});const _0x103903=this[_0x1a392c(0xf1)][_0x1a392c(0xa3)]();await this[_0x1a392c(0xa0)](_0x271fa1,_0x2e27b7,_0x103903),this['_dependencyManagerService']['openKdTree']();const _0x2906a4=this['_getUpdateTreeListAndMakeDependency'](),_0x568339=this[_0x1a392c(0xbe)](_0x2906a4);return this[_0x1a392c(0xd1)](_0x568339)&&this[_0x1a392c(0xca)][_0x1a392c(0xbc)](),this[_0x1a392c(0xeb)][_0x1a392c(0xbf)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this['_dependencyManagerService'][_0x1a392c(0x128)](),Promise['resolve'](_0x568339);}[_0x2c95ab(0xd7)](_0x5eb4dc,_0x6454c3){const _0x4bbc7d=_0x2c95ab,_0x29feeb=[_0x5eb4dc];for(;_0x29feeb[_0x4bbc7d(0xf7)]>0x0;){const _0x4f63e2=_0x29feeb[_0x29feeb[_0x4bbc7d(0xf7)]-0x1];if((_0x6454c3[_0x4bbc7d(0x103)](_0x4f63e2)||0x0)===0x0){_0x6454c3['set'](_0x4f63e2,0x1);const _0x35228f=this[_0x4bbc7d(0xeb)][_0x4bbc7d(0x103)](_0x4f63e2);if(_0x35228f==null){_0x6454c3['set'](_0x4f63e2,0x2),_0x29feeb['pop']();continue;}const _0x39d278=this['_dependencyManagerService'][_0x4bbc7d(0xd4)](_0x35228f[_0x4bbc7d(0xd5)]());for(const _0x4ceeb0 of _0x39d278){const _0x49c5c0=_0x6454c3[_0x4bbc7d(0x103)](_0x4ceeb0)||0x0;if(_0x49c5c0===0x1)return!0x0;_0x49c5c0===0x0&&_0x29feeb['push'](_0x4ceeb0);}}else _0x6454c3['set'](_0x4f63e2,0x2),_0x29feeb[_0x4bbc7d(0x107)]();}return!0x1;}['_checkIsCycleDependency'](_0x11c13c){const _0x59d285=_0x2c95ab,_0x4cd409=new Map();for(const _0x5389a3 of _0x11c13c)if(!_0x4cd409[_0x59d285(0x134)](_0x5389a3[_0x59d285(0xda)])&&this['_isCyclicUtilMap'](_0x5389a3['treeId'],_0x4cd409))return!0x0;return _0x4cd409[_0x59d285(0xbf)](),!0x1;}[_0x2c95ab(0x13b)](_0x6695,_0x28392a,_0x5e4cf6){const _0x2087a1=_0x2c95ab,{unitId:_0x45de81,subUnitId:_0x102676,dependencyRanges:_0x14224e,getDirtyData:_0x1e1b1d}=_0x5e4cf6,_0x470933=_0x28392a||_0x380bf3(this[_0x2087a1(0xc8)]),_0x4909a9=new _0x15b5c2(_0x470933);_0x4909a9[_0x2087a1(0x106)]=_0x45de81,_0x4909a9['subUnitId']=_0x102676,_0x4909a9[_0x2087a1(0xcb)]=_0x14224e,_0x4909a9[_0x2087a1(0xab)]=_0x1e1b1d;const _0x3cba85=_0x1e1b1d(this[_0x2087a1(0xf1)][_0x2087a1(0xab)](),this[_0x2087a1(0xca)][_0x2087a1(0x108)]()),_0x549af4=this[_0x2087a1(0xb3)](_0x3cba85[_0x2087a1(0xba)]);return _0x4909a9[_0x2087a1(0xf0)]=_0x549af4,_0x4909a9[_0x2087a1(0xef)]=_0x6695,_0x4909a9[_0x2087a1(0xd8)]=_0x200d10[_0x2087a1(0x10d)],this[_0x2087a1(0xc8)][_0x2087a1(0xf6)](_0x45de81,_0x102676,_0x6695,_0x4909a9),this[_0x2087a1(0xeb)][_0x2087a1(0xdb)](_0x4909a9[_0x2087a1(0xda)],_0x4909a9),this[_0x2087a1(0xc8)][_0x2087a1(0xa2)](_0x5e4cf6[_0x2087a1(0x106)],_0x5e4cf6[_0x2087a1(0x12f)],_0x6695)&&(_0x4909a9[_0x2087a1(0xfc)]=!0x0),_0x4909a9;}[_0x2c95ab(0xe9)](_0x5544e4,_0x405cc1,_0x2d2dc7){const _0x9c78cd=_0x2c95ab;var _0x2ec871;for(const _0x191327 of _0x405cc1){const _0x4e915b=_0x5544e4[_0x191327];if(_0x4e915b==null)continue;const _0x4dcc91=Object[_0x9c78cd(0xad)](_0x4e915b);for(const _0x2b0d20 of _0x4dcc91){const _0xc541b8=_0x4e915b[_0x2b0d20];if(_0xc541b8==null)continue;const _0x6f2045=Object[_0x9c78cd(0xad)](_0xc541b8);for(const _0x27930d of _0x6f2045){const _0x2de111=this[_0x9c78cd(0xc8)]['hasOtherFormulaDataMainData'](_0x27930d),_0x539223=_0xc541b8[_0x27930d],{f:_0x1322c8,ranges:_0x2cfafe}=_0x539223;let _0x1a9e68=!0x1;_0x2de111&&(_0x1a9e68=!0x0);const {firstRow:_0x3e85ce,firstColumn:_0x19cba8}=this[_0x9c78cd(0xa6)](_0x2cfafe),_0x260a6e=this[_0x9c78cd(0xc8)][_0x9c78cd(0xc6)](_0x191327,_0x2b0d20,_0x27930d),_0x47f005=(_0x2ec871=_0x260a6e==null?void 0x0:_0x260a6e['getValue'](0x0,0x0))!=null?_0x2ec871:_0x380bf3(this['_dependencyManagerService']),_0x32911c=new _0x15b5c2(_0x47f005);for(let _0x43ef63=0x0;_0x43ef63<_0x2cfafe['length'];_0x43ef63++){const _0x5803af=_0x2cfafe[_0x43ef63],{startRow:_0x12d8e6,startColumn:_0x41f4dc,endRow:_0x4123e7,endColumn:_0x32055a}=_0x5803af;for(let _0x413872=_0x12d8e6;_0x413872<=_0x4123e7;_0x413872++)for(let _0x15f696=_0x41f4dc;_0x15f696<=_0x32055a;_0x15f696++){const _0x155762=_0x15f696-_0x19cba8,_0x5d0873=_0x413872-_0x3e85ce;if(_0x155762===0x0&&_0x5d0873===0x0){_0x32911c[_0x9c78cd(0x10f)]=_0x1322c8,_0x32911c['unitId']=_0x191327,_0x32911c['subUnitId']=_0x2b0d20,_0x32911c[_0x9c78cd(0xb1)]=_0x27930d,_0x32911c[_0x9c78cd(0xd8)]=_0x200d10[_0x9c78cd(0xb6)],_0x32911c[_0x9c78cd(0xfc)]=_0x1a9e68,_0x2d2dc7[_0x9c78cd(0x126)](_0x32911c),this[_0x9c78cd(0xeb)][_0x9c78cd(0xdb)](_0x32911c[_0x9c78cd(0xda)],_0x32911c),this[_0x9c78cd(0xc8)][_0x9c78cd(0x12a)](_0x191327,_0x2b0d20,_0x27930d,_0x32911c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x32911c);continue;}const _0x478c50=new _0x55ec19();_0x478c50[_0x9c78cd(0xda)]=(_0x260a6e==null?void 0x0:_0x260a6e[_0x9c78cd(0xd9)](_0x155762,_0x5d0873))||_0x380bf3(this[_0x9c78cd(0xc8)]),_0x478c50[_0x9c78cd(0x11e)]=_0x32911c,_0x478c50[_0x9c78cd(0xb2)]=_0x155762,_0x478c50['refOffsetY']=_0x5d0873,_0x478c50[_0x9c78cd(0xfc)]=_0x1a9e68,this[_0x9c78cd(0xc8)][_0x9c78cd(0x12a)](_0x191327,_0x2b0d20,_0x27930d,_0x478c50),this['_dependencyManagerService'][_0x9c78cd(0x12c)](_0x478c50),_0x2d2dc7[_0x9c78cd(0x126)](_0x478c50),this[_0x9c78cd(0xeb)][_0x9c78cd(0xdb)](_0x478c50[_0x9c78cd(0xda)],_0x478c50);}}this['_dependencyManagerService'][_0x9c78cd(0x119)](_0x27930d);}}}}['_registerFormulas'](_0x16041b,_0xe85842,_0x384fef,_0x4e8dc2){const _0x3192cf=_0x2c95ab;for(const _0x5a7b9f of _0x16041b){const _0x14cff9=_0xe85842[_0x5a7b9f];if(_0x14cff9==null)continue;const _0x57b47d=Object[_0x3192cf(0xad)](_0x14cff9);for(const _0x3a804b of _0x57b47d){const _0x58392f=new _0xfc03c7(_0x14cff9[_0x3a804b]||{}),_0x254896=new Map();_0x58392f[_0x3192cf(0xb9)]((_0xb3c50a,_0x2915b5,_0x1f5e77)=>{const _0x315126=_0x3192cf;if(_0x1f5e77==null)return!0x0;const {x:_0x210e5c=0x0,y:_0x49979f=0x0,si:_0x296943}=_0x1f5e77;if(!(_0x210e5c===0x0&&_0x49979f===0x0&&_0x296943!=null))return!0x0;const _0x260274=this['_createFDtree'](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5,_0x384fef,_0x1f5e77),_0x1b547f=this[_0x315126(0xc8)][_0x315126(0x101)](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5);_0x1b547f!=null?_0x260274[_0x315126(0xda)]=_0x1b547f:(this[_0x315126(0xc8)]['addFormulaDependency'](_0x5a7b9f,_0x3a804b,_0xb3c50a,_0x2915b5,_0x260274),this[_0x315126(0xc8)]['addFormulaDependencyByDefinedName'](_0x260274)),_0x254896['set'](_0x296943,_0x260274),_0x4e8dc2['push'](_0x260274),this[_0x315126(0xeb)][_0x315126(0xdb)](_0x260274['treeId'],_0x260274);}),_0x58392f[_0x3192cf(0xb9)]((_0x1d74ce,_0x3dbab8,_0x26f746)=>{const _0x21eeaa=_0x3192cf;if(_0x26f746==null)return!0x0;const {x:_0x4c98de=0x0,y:_0x3e1b99=0x0,si:_0x532210}=_0x26f746;if(_0x4c98de===0x0&&_0x3e1b99===0x0&&_0x532210!=null)return!0x0;let _0x405a2a;if(_0x532210&&_0x254896[_0x21eeaa(0x134)](_0x532210)){const _0x544eaa=_0x254896[_0x21eeaa(0x103)](_0x532210);_0x405a2a=this['_createVirtualFDtree'](_0x544eaa,_0x26f746);}else _0x405a2a=this['_createFDtree'](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8,_0x384fef,_0x26f746);const _0x9b0ff4=this['_dependencyManagerService']['getFormulaDependency'](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8);_0x9b0ff4!=null?_0x405a2a['treeId']=_0x9b0ff4:(this[_0x21eeaa(0xc8)][_0x21eeaa(0x121)](_0x5a7b9f,_0x3a804b,_0x1d74ce,_0x3dbab8,_0x405a2a),this['_dependencyManagerService'][_0x21eeaa(0x12c)](_0x405a2a)),_0x4e8dc2['push'](_0x405a2a),this['_dependencyTreeCache'][_0x21eeaa(0xdb)](_0x405a2a['treeId'],_0x405a2a);}),_0x254896[_0x3192cf(0xbf)]();}}}[_0x2c95ab(0xae)](_0x3cfd3a,_0x3c2558,_0x3edeab,_0x2d1c8e,_0x4a7dd2,_0x38a5f3){const _0x1ea17c=_0x2c95ab,{f:_0xb95315,x:_0x509c26=0x0,y:_0x191693=0x0}=_0x38a5f3,_0x200a1a=new _0x15b5c2(_0x380bf3(this[_0x1ea17c(0xc8)])),_0x553b64=_0x4a7dd2[_0x3cfd3a][_0x3c2558];return _0x200a1a[_0x1ea17c(0x10f)]=_0xb95315,_0x200a1a[_0x1ea17c(0x106)]=_0x3cfd3a,_0x200a1a[_0x1ea17c(0x12f)]=_0x3c2558,_0x200a1a['row']=_0x3edeab,_0x200a1a[_0x1ea17c(0xaf)]=_0x2d1c8e,_0x200a1a['rowCount']=_0x553b64['rowCount'],_0x200a1a[_0x1ea17c(0xb4)]=_0x553b64[_0x1ea17c(0xb4)],_0x200a1a;}[_0x2c95ab(0xe4)](){const _0x29c7f8=_0x2c95ab,_0x3025b7=[],_0x5c33d2=new Set(),_0x4ecaee=this[_0x29c7f8(0xf1)][_0x29c7f8(0xf9)](),_0x3ba303=this[_0x29c7f8(0xf1)][_0x29c7f8(0xe0)](),_0x4c6dfa=this[_0x29c7f8(0xc8)][_0x29c7f8(0xd4)](_0x3ba303),_0x516fc4=this[_0x29c7f8(0x105)][_0x29c7f8(0xc4)](_0x3ba303);for(const _0x442a45 of _0x516fc4)_0x4c6dfa[_0x29c7f8(0xaa)](_0x442a45);for(const [_0x2cd049,_0x55cb74]of this[_0x29c7f8(0xeb)])(_0x4ecaee||_0x55cb74[_0x29c7f8(0xd3)]||_0x55cb74['dependencySheetName'](this[_0x29c7f8(0xf1)][_0x29c7f8(0xc5)]())||_0x4c6dfa[_0x29c7f8(0x134)](_0x2cd049)&&!_0x55cb74[_0x29c7f8(0xd6)](this[_0x29c7f8(0xf1)]['getExcludedRange']()))&&!_0x5c33d2[_0x29c7f8(0x134)](_0x2cd049)&&(_0x3025b7['push'](_0x55cb74),_0x5c33d2[_0x29c7f8(0xaa)](_0x2cd049));for(const [_0xf01084,_0x446b56]of this[_0x29c7f8(0xeb)])_0x446b56[_0x29c7f8(0x10e)]||(_0x446b56['rangeList'][_0x29c7f8(0xf7)]=0x0);return _0x3025b7;}['_getTreeById'](_0x4a41b2){const _0x1a0833=_0x2c95ab;return this[_0x1a0833(0xeb)]['get'](_0x4a41b2);}[_0x2c95ab(0xb0)](_0x179834){const _0x2c009e=_0x2c95ab;return _0x4f8378(_0x179834[_0x2c009e(0x106)],_0x179834['formula'],this[_0x2c009e(0xbb)],this[_0x2c009e(0x11b)],this[_0x2c009e(0xf1)]);}*[_0x2c95ab(0xea)](_0x2c89cf,_0xcb8849){const _0xe1c498=_0x2c95ab,_0x21a736=_0x2c89cf,_0x25dc95=new Set();for(;_0x21a736['length']>0x0;){const _0xc1d9e0=_0x21a736[_0xe1c498(0x107)]();if(_0x25dc95[_0xe1c498(0xbf)](),_0xc1d9e0===void 0x0||_0xc1d9e0[_0xe1c498(0x10c)]())continue;if(_0xc1d9e0[_0xe1c498(0x9f)]()){yield _0xc1d9e0,_0xc1d9e0[_0xe1c498(0x129)](),_0xcb8849[_0xe1c498(0xaa)](_0xc1d9e0[_0xe1c498(0xda)]);continue;}const _0x362f3d=this[_0xe1c498(0xc8)][_0xe1c498(0xd4)](_0xc1d9e0[_0xe1c498(0xd5)](),_0xcb8849),_0x2d142b=this[_0xe1c498(0x105)][_0xe1c498(0xc4)](_0xc1d9e0[_0xe1c498(0xd5)](),_0xcb8849);for(const _0x230bdb of _0x2d142b)_0x362f3d['add'](_0x230bdb);for(const _0x3fef3a of _0x362f3d){const _0x4c328b=this[_0xe1c498(0xeb)][_0xe1c498(0x103)](_0x3fef3a);if(!_0x4c328b)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x4c328b[_0xe1c498(0x9f)]()||_0xc1d9e0['isSkip']()||_0x25dc95['add'](_0x4c328b);}if(_0x362f3d['clear'](),_0x25dc95[_0xe1c498(0x102)]===0x0)yield _0xc1d9e0,_0xc1d9e0['setSkip'](),_0xcb8849[_0xe1c498(0xaa)](_0xc1d9e0[_0xe1c498(0xda)]);else{_0xc1d9e0[_0xe1c498(0xfb)](),_0x21a736[_0xe1c498(0x126)](_0xc1d9e0);for(const _0x3da17c of _0x25dc95)_0x21a736[_0xe1c498(0x126)](_0x3da17c);}}_0x21a736['length']=0x0,_0x25dc95['clear']();}[_0x2c95ab(0xbe)](_0x17f797){const _0xa13579=_0x2c95ab,_0x1cd3fd=[],_0x357698=new Set();for(const _0x343928 of this[_0xa13579(0xea)](_0x17f797,_0x357698))_0x1cd3fd[_0xa13579(0x126)](_0x343928);return _0x1cd3fd;}}function _0x209c(_0x4fafa2,_0x2efc2c){const _0x267c3d=_0x267c();return _0x209c=function(_0x209c2e,_0x4f6483){_0x209c2e=_0x209c2e-0x9f;let _0x376310=_0x267c3d[_0x209c2e];return _0x376310;},_0x209c(_0x4fafa2,_0x2efc2c);}class he extends _0x22de3d{async[_0x2c95ab(0xcf)](_0x48f3e3=!0x1){const _0x43be13=_0x2c95ab;_0x48f3e3?this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0x12d)]):this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['START_DEPENDENCY']),this[_0x43be13(0xe5)][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0xa7)]());const _0x523749=await this[_0x43be13(0x11c)][_0x43be13(0xe2)](),_0x450be3=this[_0x43be13(0xc1)];_0x48f3e3?(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0x132)]),this['_runtimeService'][_0x43be13(0x100)](_0x523749[_0x43be13(0xf7)])):(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['START_CALCULATION']),this[_0x43be13(0xca)][_0x43be13(0xce)](_0x523749[_0x43be13(0xf7)])),this[_0x43be13(0xe5)][_0x43be13(0xb5)](this['_runtimeService']['getRuntimeState']());let _0xa136b8=[];const _0x4ef0c7=this[_0x43be13(0xc7)][_0x43be13(0xf5)](_0x456ea3),_0x25d6f6=(_0x4ef0c7==null?void 0x0:_0x4ef0c7[_0x43be13(0x13c)])||_0x1825f5;let _0x3e6234=0x0;const _0x16ce3f=_0x523749[_0x43be13(0xf7)];for(;_0x523749[_0x43be13(0xf7)]>0x0;){const _0x5a7fa9=_0x523749[_0x43be13(0x107)](),_0x501446={'node':_0x4f8378(_0x5a7fa9[_0x43be13(0x106)],_0x5a7fa9['formula'],this[_0x43be13(0xbb)],this[_0x43be13(0x11b)],this[_0x43be13(0xf1)]),'refOffsetX':_0x5a7fa9['refOffsetX'],'refOffsetY':_0x5a7fa9[_0x43be13(0x127)]},_0x59b54a=_0x5a7fa9[_0x43be13(0xab)];if(_0x3e6234%_0x25d6f6===0x0&&(await new Promise(_0x2fd72a=>{const _0x54e1c1=_0x43be13,_0x3606e6=_0x3b27bd(_0x2fd72a);_0xa136b8[_0x54e1c1(0x126)](_0x3606e6);}),_0x48f3e3?(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba[_0x43be13(0xa8)]),this[_0x43be13(0xca)][_0x43be13(0xdf)](_0x3e6234+0x1)):(this[_0x43be13(0xca)][_0x43be13(0x122)](_0x53faba['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x43be13(0x12b)](_0x3e6234+0x1)),this['_executionInProgressListener$'][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0xa7)]()),this[_0x43be13(0xca)][_0x43be13(0x13a)]()||_0x501446==null&&_0x59b54a==null)){this[_0x43be13(0xca)]['setFormulaExecuteStage'](_0x53faba['IDLE']),this[_0x43be13(0xca)]['markedAsStopFunctionsExecuted'](),this[_0x43be13(0xa5)][_0x43be13(0xb5)](this[_0x43be13(0xca)][_0x43be13(0x108)]());return;}this[_0x43be13(0xca)][_0x43be13(0xe3)](_0x5a7fa9['row'],_0x5a7fa9[_0x43be13(0xaf)],_0x5a7fa9[_0x43be13(0xee)],_0x5a7fa9['columnCount'],_0x5a7fa9[_0x43be13(0x12f)],_0x5a7fa9[_0x43be13(0x106)]);let _0x16f4f1;if(_0x59b54a!=null&&_0x5a7fa9[_0x43be13(0xef)]!=null){const {runtimeCellData:_0x230828,dirtyRanges:_0x33c304}=_0x59b54a(this['_currentConfigService'][_0x43be13(0xab)](),this[_0x43be13(0xca)]['getAllRuntimeData']());this[_0x43be13(0xca)]['setRuntimeFeatureCellData'](_0x5a7fa9[_0x43be13(0xef)],_0x230828),this[_0x43be13(0xca)]['setRuntimeFeatureRange'](_0x5a7fa9[_0x43be13(0xef)],_0x33c304);}else _0x501446!=null&&(_0x450be3[_0x43be13(0x124)](_0x501446[_0x43be13(0xd2)])?_0x16f4f1=await _0x450be3[_0x43be13(0x135)](_0x501446):_0x16f4f1=_0x450be3[_0x43be13(0xf3)](_0x501446),_0x5a7fa9[_0x43be13(0xb1)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x5a7fa9[_0x43be13(0xb1)],_0x5a7fa9[_0x43be13(0xb2)],_0x5a7fa9[_0x43be13(0x127)],_0x16f4f1):this[_0x43be13(0xca)]['setRuntimeData'](_0x16f4f1));_0x3e6234++;}return _0xa136b8['forEach'](_0x258dfe=>_0x258dfe()),_0xa136b8=[],_0x16ce3f>0x0?this[_0x43be13(0xca)][_0x43be13(0xdc)]():_0x48f3e3||this[_0x43be13(0xca)]['markedAsNoFunctionsExecuted'](),this[_0x43be13(0xca)][_0x43be13(0x108)]();}}class fe extends _0x5d674{constructor(){const _0x564c32=_0x2c95ab;super(...arguments),T(this,_0x564c32(0xec),new Map()),T(this,_0x564c32(0xcc),new _0x3d9b70(!0x0));}[_0x2c95ab(0xb8)](){const _0x41f414=_0x2c95ab;this[_0x41f414(0xff)]['clear'](),this['_featureFormulaData']['clear'](),this[_0x41f414(0x10a)][_0x41f414(0xbf)](),this[_0x41f414(0xcc)]['clear'](),this['_allTreeMap'][_0x41f414(0xbf)](),this[_0x41f414(0x136)](),this['_otherFormulaDataMainData'][_0x41f414(0xbf)]();}[_0x2c95ab(0x12a)](_0x1b69d7,_0x29ad51,_0x18e243,_0x388b9f){const _0x5232dd=_0x2c95ab;this['_otherFormulaData'][_0x5232dd(0x134)](_0x1b69d7)||this[_0x5232dd(0xff)]['set'](_0x1b69d7,new Map());const _0x57841e=this[_0x5232dd(0xff)][_0x5232dd(0x103)](_0x1b69d7);_0x57841e[_0x5232dd(0x134)](_0x29ad51)||_0x57841e['set'](_0x29ad51,new Map());const _0xa18723=_0x57841e[_0x5232dd(0x103)](_0x29ad51);_0xa18723['has'](_0x18e243)||_0xa18723[_0x5232dd(0xdb)](_0x18e243,new _0xfc03c7()),_0xa18723[_0x5232dd(0x103)](_0x18e243)[_0x5232dd(0x104)](_0x388b9f[_0x5232dd(0xb2)],_0x388b9f[_0x5232dd(0x127)],_0x388b9f[_0x5232dd(0xda)]);}['removeOtherFormulaDependency'](_0xb85139,_0x4b8019,_0x93695f){const _0x4c44c9=_0x2c95ab,_0x127065=this['_otherFormulaData'][_0x4c44c9(0x103)](_0xb85139);if(_0x127065&&_0x127065[_0x4c44c9(0x134)](_0x4b8019)){const _0x37a68f=_0x127065[_0x4c44c9(0x103)](_0x4b8019);_0x93695f['forEach'](_0x427553=>{const _0x46b3b6=_0x4c44c9,_0x23845c=_0x37a68f[_0x46b3b6(0x103)](_0x427553);_0x23845c!=null&&(_0x23845c[_0x46b3b6(0xb9)]((_0x1ecdf6,_0x23f548,_0xa890ea)=>{const _0x48259f=_0x46b3b6;this[_0x48259f(0xe7)](_0xa890ea),this[_0x48259f(0xfe)](_0xa890ea);}),_0x37a68f['delete'](_0x427553),this[_0x46b3b6(0xe1)][_0x46b3b6(0x139)](_0x427553));}),_0x37a68f[_0x4c44c9(0x102)]===0x0&&_0x127065[_0x4c44c9(0x139)](_0x4b8019),_0x127065[_0x4c44c9(0x102)]===0x0&&this[_0x4c44c9(0xff)]['delete'](_0xb85139);}}[_0x2c95ab(0xde)](_0x72eecf,_0x3c8988){const _0x3150bc=_0x2c95ab,_0x1433a8=this['_otherFormulaData'][_0x3150bc(0x103)](_0x72eecf);if(_0x3c8988&&_0x1433a8&&_0x1433a8[_0x3150bc(0x134)](_0x3c8988)){const _0x34a286=_0x1433a8[_0x3150bc(0x103)](_0x3c8988);this[_0x3150bc(0x115)](_0x72eecf,_0x3c8988);for(const _0x3e6791 of _0x34a286[_0x3150bc(0xad)]()){const _0x4163ce=_0x34a286[_0x3150bc(0x103)](_0x3e6791);_0x4163ce!=null&&(_0x4163ce[_0x3150bc(0xb9)]((_0x253907,_0x594dd9,_0x1bec04)=>{const _0x820136=_0x3150bc;this[_0x820136(0xec)]['get'](_0x1bec04)&&this[_0x820136(0xfe)](_0x1bec04);}),this['_otherFormulaDataMainData'][_0x3150bc(0x139)](_0x3e6791));}_0x34a286['clear']();}else{if(_0x1433a8){for(const _0x11a30b of _0x1433a8['keys']()){const _0x44afd3=_0x1433a8[_0x3150bc(0x103)](_0x11a30b);this[_0x3150bc(0x115)](_0x72eecf,_0x11a30b);for(const _0x3f4c02 of _0x44afd3['keys']()){const _0x1fa8da=_0x44afd3[_0x3150bc(0x103)](_0x3f4c02);_0x1fa8da!=null&&(_0x1fa8da['forValue']((_0x5a54c2,_0x416b10,_0x51e146)=>{const _0x8a00de=_0x3150bc;this[_0x8a00de(0xec)][_0x8a00de(0x103)](_0x51e146)&&this['_removeAllTreeMap'](_0x51e146);}),this[_0x3150bc(0xe1)][_0x3150bc(0x139)](_0x3f4c02));}}this[_0x3150bc(0xff)][_0x3150bc(0x139)](_0x72eecf);}}}[_0x2c95ab(0xf6)](_0x131cd5,_0x9567d1,_0x38220d,_0x5444e4){const _0x5a3d98=_0x2c95ab;this[_0x5a3d98(0xe6)]['has'](_0x131cd5)||this[_0x5a3d98(0xe6)][_0x5a3d98(0xdb)](_0x131cd5,new Map());const _0x331de0=this[_0x5a3d98(0xe6)]['get'](_0x131cd5);_0x331de0[_0x5a3d98(0x134)](_0x9567d1)||_0x331de0['set'](_0x9567d1,new Map()),_0x331de0[_0x5a3d98(0x103)](_0x9567d1)[_0x5a3d98(0xdb)](_0x38220d,_0x5444e4[_0x5a3d98(0xda)]);}[_0x2c95ab(0xbd)](_0x1b3b58,_0x42ef13,_0x5244ef){const _0x2e1e3a=_0x2c95ab,_0x3d2d20=this[_0x2e1e3a(0xe6)]['get'](_0x1b3b58);if(_0x3d2d20&&_0x3d2d20[_0x2e1e3a(0x134)](_0x42ef13)){const _0x4e7f21=_0x3d2d20[_0x2e1e3a(0x103)](_0x42ef13);_0x5244ef[_0x2e1e3a(0x123)](_0x41cc74=>{const _0x511b66=_0x2e1e3a,_0x44fa33=_0x4e7f21['get'](_0x41cc74);_0x44fa33!=null&&(this[_0x511b66(0xe7)](_0x44fa33),_0x4e7f21[_0x511b66(0x139)](_0x41cc74),this['_removeAllTreeMap'](_0x44fa33));});}}[_0x2c95ab(0xc0)](_0x47bf1c,_0x593a86){const _0x511037=_0x2c95ab,_0x45f154=this[_0x511037(0xe6)][_0x511037(0x103)](_0x47bf1c);if(_0x593a86&&_0x45f154&&_0x45f154['has'](_0x593a86)){const _0x491071=_0x45f154['get'](_0x593a86);this['_removeDependencyRTreeCacheById'](_0x47bf1c,_0x593a86),_0x491071[_0x511037(0x123)](_0x3d0929=>{_0x3d0929!=null&&this['_removeAllTreeMap'](_0x3d0929);}),_0x491071[_0x511037(0xbf)]();}else _0x45f154&&(_0x45f154[_0x511037(0x123)]((_0x210622,_0x11ab5e)=>{const _0x2ba876=_0x511037;this[_0x2ba876(0x115)](_0x47bf1c,_0x11ab5e),_0x210622['forEach'](_0x46e6b0=>{const _0x293c9e=_0x2ba876;_0x46e6b0!=null&&this[_0x293c9e(0xfe)](_0x46e6b0);});}),this[_0x511037(0xe6)][_0x511037(0x139)](_0x47bf1c));}[_0x2c95ab(0x121)](_0x3e1ae3,_0xee25a7,_0x1f93ee,_0x5268cc,_0x1a81d9){const _0x3b1eda=_0x2c95ab;this[_0x3b1eda(0x10a)][_0x3b1eda(0x134)](_0x3e1ae3)||this['_formulaData'][_0x3b1eda(0xdb)](_0x3e1ae3,new Map());const _0x3e8786=this[_0x3b1eda(0x10a)]['get'](_0x3e1ae3);_0x3e8786[_0x3b1eda(0x134)](_0xee25a7)||_0x3e8786['set'](_0xee25a7,new _0xfc03c7()),_0x3e8786[_0x3b1eda(0x103)](_0xee25a7)[_0x3b1eda(0x104)](_0x1f93ee,_0x5268cc,_0x1a81d9['treeId']);}[_0x2c95ab(0xa4)](_0x589c2e,_0x444207,_0x5117ed,_0x579813){const _0x367f83=_0x2c95ab,_0x3c03ae=this[_0x367f83(0x10a)][_0x367f83(0x103)](_0x589c2e);if(_0x3c03ae&&_0x3c03ae[_0x367f83(0x134)](_0x444207)){const _0x2a2c6=_0x3c03ae[_0x367f83(0x103)](_0x444207),_0x73fd16=_0x2a2c6[_0x367f83(0xd9)](_0x5117ed,_0x579813);if(_0x73fd16==null)return;this['_removeDependencyRTreeCache'](_0x73fd16),_0x2a2c6[_0x367f83(0x137)](_0x5117ed,_0x579813),this[_0x367f83(0xfe)](_0x73fd16);}}[_0x2c95ab(0xed)](_0x4a9423,_0xd4a621){const _0x347353=_0x2c95ab,_0x28ae34=this[_0x347353(0x10a)][_0x347353(0x103)](_0x4a9423);if(_0xd4a621&&_0x28ae34&&_0x28ae34[_0x347353(0x134)](_0xd4a621)){const _0x34abdb=_0x28ae34[_0x347353(0x103)](_0xd4a621);this[_0x347353(0x115)](_0x4a9423,_0xd4a621),_0x34abdb[_0x347353(0xb9)]((_0x3cdce3,_0x43e036,_0x540734)=>{if(_0x540734==null)return!0x0;this['_removeAllTreeMap'](_0x540734);}),_0x34abdb[_0x347353(0xb8)]();}else _0x28ae34&&(_0x28ae34[_0x347353(0x123)]((_0x156973,_0x28821e)=>{const _0x58cbfb=_0x347353;this[_0x58cbfb(0x115)](_0x4a9423,_0x28821e),_0x156973[_0x58cbfb(0xb9)]((_0x2c54c9,_0xc7ed87,_0xfb50d9)=>{const _0x3d7910=_0x58cbfb;if(_0xfb50d9==null)return!0x0;this[_0x3d7910(0xfe)](_0xfb50d9);});}),this['_formulaData'][_0x347353(0x139)](_0x4a9423));}[_0x2c95ab(0xe7)](_0x7e4488){const _0x2d778d=_0x2c95ab;if(_0x7e4488==null)return;const _0x4d4e16=this[_0x2d778d(0xec)][_0x2d778d(0x103)](_0x7e4488);if(_0x4d4e16){const _0x666a5f=[];for(const [_0x3f62c6,_0x386b23]of _0x4d4e16)for(const [_0x79653c,_0x14b889]of _0x386b23)_0x666a5f[_0x2d778d(0x126)]({'unitId':_0x3f62c6,'sheetId':_0x79653c,'range':_0x14b889,'id':_0x7e4488});this[_0x2d778d(0xcc)][_0x2d778d(0xc9)](_0x666a5f);}}[_0x2c95ab(0xf4)](_0x5b9753,_0x54f37b){const _0x3ef47c=_0x2c95ab,_0x4ea2c6=this[_0x3ef47c(0xac)][_0x3ef47c(0x103)](_0x5b9753);if(_0x4ea2c6){const _0x79caa8=_0x4ea2c6[_0x3ef47c(0x103)](_0x54f37b);if(_0x79caa8){for(const _0x25671a of _0x79caa8)this[_0x3ef47c(0xe7)](_0x25671a),this[_0x3ef47c(0xfe)](_0x25671a);_0x79caa8[_0x3ef47c(0xbf)]();}}}[_0x2c95ab(0xe8)](){const _0x32e9d4=_0x2c95ab;this[_0x32e9d4(0xcc)][_0x32e9d4(0xe8)]();}[_0x2c95ab(0x128)](){const _0x2ea285=_0x2c95ab;this[_0x2ea285(0xcc)]['closeKdTree']();}[_0x2c95ab(0xfe)](_0x12a654){const _0x14b1be=_0x2c95ab;_0x12a654!=null&&this['_allTreeMap'][_0x14b1be(0x139)](_0x12a654);}[_0x2c95ab(0x130)](_0x3f06b6){const _0x4597f8=_0x2c95ab;var _0x23b766,_0x34050a;const _0x9dc5a6=_0x3f06b6[_0x4597f8(0xcb)];let _0x5edf7f=this[_0x4597f8(0xec)][_0x4597f8(0x103)](_0x3f06b6[_0x4597f8(0xda)]);for(let _0x41bc48=0x0;_0x41bc48<_0x9dc5a6[_0x4597f8(0xf7)];_0x41bc48++){const _0x49544f=_0x9dc5a6[_0x41bc48];let {unitId:_0x5278b7,sheetId:_0x2781ff,range:_0x4ca352}=_0x49544f;_0x5edf7f||(_0x5edf7f=new Map(),this[_0x4597f8(0xec)]['set'](_0x3f06b6['treeId'],_0x5edf7f)),_0x5edf7f[_0x4597f8(0x134)](_0x5278b7)||_0x5edf7f[_0x4597f8(0xdb)](_0x5278b7,new Map());const _0x837ffe=(_0x23b766=_0x5edf7f==null?void 0x0:_0x5edf7f[_0x4597f8(0x103)](_0x5278b7))==null?void 0x0:_0x23b766['get'](_0x2781ff);_0x837ffe&&(_0x4ca352={'startRow':Math[_0x4597f8(0x120)](_0x4ca352[_0x4597f8(0xfd)],_0x837ffe[_0x4597f8(0xfd)]),'startColumn':Math['min'](_0x4ca352['startColumn'],_0x837ffe[_0x4597f8(0x131)]),'endRow':Math['max'](_0x4ca352[_0x4597f8(0xf2)],_0x837ffe[_0x4597f8(0xf2)]),'endColumn':Math[_0x4597f8(0x11a)](_0x4ca352[_0x4597f8(0x111)],_0x837ffe['endColumn'])}),(_0x34050a=_0x5edf7f['get'](_0x5278b7))==null||_0x34050a[_0x4597f8(0xdb)](_0x2781ff,_0x4ca352);}}}var _e=Object[_0x2c95ab(0x116)],pe=(_0x1cc7da,_0xd7f1eb,_0x47ee9b,_0x45d5b9)=>{const _0x382baf=_0x2c95ab;for(var _0x322090=_0x45d5b9>0x1?void 0x0:_0x45d5b9?_e(_0xd7f1eb,_0x47ee9b):_0xd7f1eb,_0x389031=_0x1cc7da[_0x382baf(0xf7)]-0x1,_0x51ccb5;_0x389031>=0x0;_0x389031--)(_0x51ccb5=_0x1cc7da[_0x389031])&&(_0x322090=_0x51ccb5(_0x322090)||_0x322090);return _0x322090;};const me=Number[_0x2c95ab(0x109)](0x685e54f6);let x=class extends _0x10b3ba{[_0x2c95ab(0x110)](){const _0x2314ef=_0x2c95ab;var _0x44f569,_0x3a05a9;this[_0x2314ef(0x125)]()?(_0x44f569=this[_0x2314ef(0x10b)])!=null&&_0x44f569[_0x2314ef(0x114)]||[[_0x31ce04,{'useClass':he}],[_0x3b0fd5,{'useClass':fe}],[_0x1e2d6d,{'useClass':ue}]][_0x2314ef(0x123)](_0x5a6e75=>this[_0x2314ef(0xd0)]['add'](_0x5a6e75)):(_0x3a05a9=this[_0x2314ef(0x10b)])!=null&&_0x3a05a9[_0x2314ef(0x114)]||[[_0x31ce04,{'useClass':_0x22de3d}],[_0x3b0fd5,{'useClass':_0x22ea09}],[_0x1e2d6d,{'useClass':_0x48a9f8}]]['forEach'](_0x3128e6=>this[_0x2314ef(0xd0)][_0x2314ef(0xaa)](_0x3128e6));}[_0x2c95ab(0x125)](){const _0x4ea849=_0x2c95ab;var _0x4248b9;const _0x1a9c73=(_0x4248b9=this['_configService'][_0x4ea849(0xf5)](_0xb721b2))!=null?_0x4248b9:{},{ls:_0x569bb8,pbk:_0x487d3d}=_0x1a9c73;if(!_0x569bb8||!_0x487d3d)return!0x1;const _0x1c5364=_0x1fd5b1(de,le),_0x4eb8ba=new Function('return\x20'+_0x1c5364)()(_0x569bb8,_0x487d3d),_0x49845f=_0x4eb8ba[_0x4ea849(0xfa)];return _0x4eb8ba[_0x4ea849(0x133)]&&_0x6b476d(_0x49845f,'sf',me)?_0x4ec7a8(_0x49845f,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=pe([_0x4fe705(_0x15af35)],x);export{x as UniverProFormulaEnginePlugin};
1
+ const _0x4fb27b=_0x42c4;(function(_0xda60e8,_0x22db79){const _0x27dfba=_0x42c4,_0x2859e3=_0xda60e8();while(!![]){try{const _0x4364eb=-parseInt(_0x27dfba(0x1cd))/0x1+parseInt(_0x27dfba(0x175))/0x2*(-parseInt(_0x27dfba(0x17f))/0x3)+parseInt(_0x27dfba(0x197))/0x4*(-parseInt(_0x27dfba(0x1cc))/0x5)+parseInt(_0x27dfba(0x178))/0x6+parseInt(_0x27dfba(0x190))/0x7*(parseInt(_0x27dfba(0x1c7))/0x8)+-parseInt(_0x27dfba(0x18f))/0x9*(-parseInt(_0x27dfba(0x1c1))/0xa)+parseInt(_0x27dfba(0x176))/0xb*(parseInt(_0x27dfba(0x1a6))/0xc);if(_0x4364eb===_0x22db79)break;else _0x2859e3['push'](_0x2859e3['shift']());}catch(_0x4ae23c){_0x2859e3['push'](_0x2859e3['shift']());}}}(_0x5ab6,0x6ff47));var j=Object[_0x4fb27b(0x1e1)],Z=(_0x8926d0,_0x282a09,_0x5d2368)=>_0x282a09 in _0x8926d0?j(_0x8926d0,_0x282a09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d2368}):_0x8926d0[_0x282a09]=_0x5d2368,N=(_0x4dc0c1,_0x13ea89,_0x2187c9)=>Z(_0x4dc0c1,typeof _0x13ea89!='symbol'?_0x13ea89+'':_0x13ea89,_0x2187c9);function _0x42c4(_0x3b6d4f,_0x189e8f){const _0x5ab646=_0x5ab6();return _0x42c4=function(_0x42c45a,_0x32c615){_0x42c45a=_0x42c45a-0x175;let _0x1c3c15=_0x5ab646[_0x42c45a];return _0x1c3c15;},_0x42c4(_0x3b6d4f,_0x189e8f);}import{UniverLicensePlugin as _0x13d289,LS_CONFIG_KEY as _0x81ad4e,unshiftString as _0x4e302f,isFeatureAuthorizedWithinTime as _0x4858de,getSheetFeatureLimit as _0x37f1d4}from'@univerjs-pro/license';import{ObjectMatrix as _0x3b572d,requestImmediateMacroTask as _0x1ec1f3,RTree as _0x55458c,DependentOn as _0x42e9b7}from'@univerjs/core';import{FormulaDependencyGenerator as _0x3323bc,generateRandomDependencyTreeId as _0xce427c,FormulaDependencyTree as _0x18cf74,FormulaDependencyTreeType as _0x711c49,FormulaDependencyTreeVirtual as _0x32baa9,generateAstNode as _0x2ceed9,CalculateFormulaService as _0x54fcb7,FormulaExecuteStageType as _0x4050cc,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3ff091,DEFAULT_INTERVAL_COUNT as _0x3c1529,DependencyManagerBaseService as _0x41e539,UniverFormulaEnginePlugin as _0x544fe7,ICalculateFormulaService as _0x58bba8,IDependencyManagerService as _0x3d8dc8,IFormulaDependencyGenerator as _0x257984,DependencyManagerService as _0x1e98ff}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'l',0x1:'U',0x2:'9',0x3:'Y',0x4:'6',0x5:'I',0x6:'z',0x7:'k',0x8:'W',0x9:'v','D':'0','J':'1','t':'2','G':'3','s':'4','v':'5','x':'7','P':'8','e':'a','E':'b','n':'c','S':'d','N':'e','C':'f','W':'g','I':'h','w':'i','X':'j','f':'m','L':'n','M':'o','l':'p','q':'q','z':'r','U':'s','H':'t','r':'u','K':'w','Z':'x','g':'y','R':'A','o':'B','y':'C','j':'D','Q':'E','A':'F','B':'G','h':'H','b':'J','T':'K','a':'L','c':'M','k':'N','i':'O','p':'P','d':'Q','O':'R','m':'S','F':'T','Y':'V','V':'X','u':'Z'},ue='CrLnHwML\x20SNnzglHwML(0wnNLUN,\x20lrE0wnTNg)\x20{\x20\x20\x20\x20Hzg\x20{\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x200wnNLUN5LCMpezHRzzeg\x20=\x200wnNLUN.Ul0wH(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20MzwWwLcNUUeWN\x20=\x20bmik.lezUN(eHME(0wnNLUN5LCMpezHRzzeg[t]));\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!MzwWwLcNUUeWN.rS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MzwWwLcNUUeWN.rS\x20=\x20krfENz(0wnNLUN5LCMpezHRzzeg[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20wU8Mz7Nz\x20=\x20HglNMC\x208Mz7NzB0MEe0mnMlN\x20!==\x20\x27rLSNCwLNS\x27\x20&&\x20UN0C\x20wLUHeLnNMC\x208Mz7NzB0MEe0mnMlN;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20nMLHNZH\x20=\x20wU8Mz7Nz\x20?\x20UN0C\x20:\x20KwLSMK;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[t]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(fNUUeWN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[G]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(UwWLeHrzN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLYe0wS\x20=\x20nMLHNZH.__9NzwCg__(UwWLeHrzN,\x20fNUUeWN,\x20lrE0wnTNg);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20SMfewL\x20=\x20MzwWwLcNUUeWN.Sf;\x20\x20\x20\x20\x20\x20\x20\x20CrLnHwML\x20wUjMfewLceHnIwLW(MpeHHNzL,\x20MhMUH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzL\x20=\x20MpeHHNzL.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUH\x20=\x20MhMUH.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLpezHU\x20=\x20leHHNzL.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHpezHU\x20=\x20IMUH.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!leHHNzL.wLn0rSNU(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzL\x20===\x20IMUH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(leHHNzLpezHU.0NLWHI\x20<\x20t\x20||\x20leHHNzLpezHU[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20Ce0UN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLmrCCwZ\x20=\x20leHHNzLpezHU.U0wnN(J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHmrCCwZ\x20=\x20IMUHpezHU.U0wnN(-leHHNzLpezHU.0NLWHI\x20+\x20J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzLmrCCwZ\x20===\x20IMUHmrCCwZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200NH\x20SMfewLYe0wS\x20=\x20(SMfewL\x20&&\x20SMfewL.0NLWHI)\x20?\x20SMfewL.UMfN((Sf5HNf)\x20=>\x20wUjMfewLceHnIwLW(Sf5HNf,\x200MneHwML.IMUHLefN))\x20:\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(0MneHwML.IMUHLefN\x20===\x20\x270Mne0IMUH\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMfewLYe0wS\x20=\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x209e0wS\x20=\x20UwWLYe0wS\x20&&\x20SMfewLYe0wS;\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20MzwWwLcNUUeWN,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20neHnI\x20(NzzMz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS:\x20Ce0UN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x3323bc{constructor(){super(...arguments),N(this,'_dependencyTreeCache',new Map());}[_0x4fb27b(0x17c)](){const _0x498f58=_0x4fb27b;super[_0x498f58(0x17c)](),this[_0x498f58(0x1d7)][_0x498f58(0x182)]();}async[_0x4fb27b(0x1e9)](){const _0x29ea6b=_0x4fb27b;this[_0x29ea6b(0x1dd)]();const _0x4c1799=this[_0x29ea6b(0x1bf)]['getFormulaData'](),_0x48c1d8=this[_0x29ea6b(0x179)][_0x29ea6b(0x1ac)](),_0xeff9af=this[_0x29ea6b(0x1bf)][_0x29ea6b(0x1c9)]();_0xeff9af!=null&&Object[_0x29ea6b(0x20a)](_0xeff9af)['forEach'](_0x4833f5=>{const _0x1842a2=_0x29ea6b;_0x4833f5!=null&&Object[_0x1842a2(0x20a)](_0xeff9af[_0x4833f5])[_0x1842a2(0x19d)](_0x45227a=>{const _0x8b7e2d=_0x1842a2;_0x45227a!=null&&(this['_dependencyManagerService'][_0x8b7e2d(0x1ce)](_0x4833f5,_0x45227a),this[_0x8b7e2d(0x1e6)][_0x8b7e2d(0x1c5)](_0x4833f5,_0x45227a),this[_0x8b7e2d(0x1e6)][_0x8b7e2d(0x184)](_0x4833f5,_0x45227a));});});const _0x2cee54=this['_currentConfigService'][_0x29ea6b(0x1b3)]();await this[_0x29ea6b(0x1a0)](_0x4c1799,_0x48c1d8,_0x2cee54),this[_0x29ea6b(0x1e6)][_0x29ea6b(0x19c)]();const _0x2e7abb=this['_getUpdateTreeListAndMakeDependency'](),_0x5804e5=this[_0x29ea6b(0x18c)](_0x2e7abb);return this[_0x29ea6b(0x1eb)](_0x5804e5)&&this[_0x29ea6b(0x1c4)][_0x29ea6b(0x1ca)](),this['_dependencyTreeCache'][_0x29ea6b(0x182)](),this[_0x29ea6b(0x1a4)][_0x29ea6b(0x182)](),this[_0x29ea6b(0x1e6)][_0x29ea6b(0x1d1)](),Promise[_0x29ea6b(0x19b)](_0x5804e5);}[_0x4fb27b(0x193)](_0x18983,_0x17fb7d){const _0x468f5f=_0x4fb27b,_0x494754=[_0x18983];for(;_0x494754[_0x468f5f(0x204)]>0x0;){const _0x4715c1=_0x494754[_0x494754['length']-0x1];if((_0x17fb7d['get'](_0x4715c1)||0x0)===0x0){_0x17fb7d[_0x468f5f(0x1be)](_0x4715c1,0x1);const _0x1d754a=this['_dependencyTreeCache'][_0x468f5f(0x1b7)](_0x4715c1);if(_0x1d754a==null){_0x17fb7d['set'](_0x4715c1,0x2),_0x494754[_0x468f5f(0x1da)]();continue;}const _0x4e13bb=this['_dependencyManagerService'][_0x468f5f(0x1a9)](_0x1d754a[_0x468f5f(0x1c3)]());for(const _0x24b5e7 of _0x4e13bb){const _0x4aebf3=_0x17fb7d[_0x468f5f(0x1b7)](_0x24b5e7)||0x0;if(_0x4aebf3===0x1)return!0x0;_0x4aebf3===0x0&&_0x494754['push'](_0x24b5e7);}}else _0x17fb7d['set'](_0x4715c1,0x2),_0x494754[_0x468f5f(0x1da)]();}return!0x1;}[_0x4fb27b(0x1eb)](_0x5830b3){const _0x5f2cb7=_0x4fb27b,_0x10bbaf=new Map();for(const _0x2c24ae of _0x5830b3)if(!_0x10bbaf[_0x5f2cb7(0x1f0)](_0x2c24ae[_0x5f2cb7(0x1fe)])&&this[_0x5f2cb7(0x193)](_0x2c24ae['treeId'],_0x10bbaf))return!0x0;return _0x10bbaf[_0x5f2cb7(0x182)](),!0x1;}[_0x4fb27b(0x1aa)](_0x1ed3a0,_0x4bdaa0,_0x5e1e2f){const _0x5a1835=_0x4fb27b,{unitId:_0x521827,subUnitId:_0x104b8c,dependencyRanges:_0x1f21a5,getDirtyData:_0xa557cd}=_0x5e1e2f,_0x53b341=_0x4bdaa0||_0xce427c(this[_0x5a1835(0x1e6)]),_0x3a524a=new _0x18cf74(_0x53b341);_0x3a524a[_0x5a1835(0x1b8)]=_0x521827,_0x3a524a[_0x5a1835(0x1b0)]=_0x104b8c,_0x3a524a[_0x5a1835(0x1cf)]=_0x1f21a5,_0x3a524a['getDirtyData']=_0xa557cd;const _0x401df0=_0xa557cd(this[_0x5a1835(0x1bf)][_0x5a1835(0x20f)](),this[_0x5a1835(0x1c4)][_0x5a1835(0x192)]()),_0x10924b=this[_0x5a1835(0x213)](_0x401df0[_0x5a1835(0x1a5)]);return _0x3a524a[_0x5a1835(0x1f1)]=_0x10924b,_0x3a524a[_0x5a1835(0x1d9)]=_0x1ed3a0,_0x3a524a[_0x5a1835(0x199)]=_0x711c49[_0x5a1835(0x208)],this['_dependencyManagerService'][_0x5a1835(0x18e)](_0x521827,_0x104b8c,_0x1ed3a0,_0x3a524a),this[_0x5a1835(0x1d7)]['set'](_0x3a524a[_0x5a1835(0x1fe)],_0x3a524a),this[_0x5a1835(0x1e6)][_0x5a1835(0x1c2)](_0x5e1e2f[_0x5a1835(0x1b8)],_0x5e1e2f[_0x5a1835(0x1b0)],_0x1ed3a0)&&(_0x3a524a[_0x5a1835(0x1af)]=!0x0),_0x3a524a;}['_registerOtherFormulas'](_0x2c4118,_0x24b2fc,_0x3f7afd){const _0x521df4=_0x4fb27b;var _0x3d301f;for(const _0x512a4d of _0x24b2fc){const _0x5ec70c=_0x2c4118[_0x512a4d];if(_0x5ec70c==null)continue;const _0x3d5263=Object[_0x521df4(0x20a)](_0x5ec70c);for(const _0x49395d of _0x3d5263){const _0x5aaf01=_0x5ec70c[_0x49395d];if(_0x5aaf01==null)continue;const _0x2c62f6=Object[_0x521df4(0x20a)](_0x5aaf01);for(const _0x4c96bc of _0x2c62f6){const _0x6ed716=this[_0x521df4(0x1e6)][_0x521df4(0x1ed)](_0x4c96bc),_0x34cb9a=_0x5aaf01[_0x4c96bc],{f:_0x274524,ranges:_0x4175ad}=_0x34cb9a;let _0x599f0d=!0x1;_0x6ed716&&(_0x599f0d=!0x0);const {firstRow:_0x25d9ad,firstColumn:_0x309390}=this[_0x521df4(0x1d6)](_0x4175ad),_0x54dc4b=this[_0x521df4(0x1e6)][_0x521df4(0x187)](_0x512a4d,_0x49395d,_0x4c96bc),_0x3c9872=(_0x3d301f=_0x54dc4b==null?void 0x0:_0x54dc4b[_0x521df4(0x202)](0x0,0x0))!=null?_0x3d301f:_0xce427c(this[_0x521df4(0x1e6)]),_0x1e7fd0=new _0x18cf74(_0x3c9872);for(let _0x36b168=0x0;_0x36b168<_0x4175ad[_0x521df4(0x204)];_0x36b168++){const _0x3eb3a6=_0x4175ad[_0x36b168],{startRow:_0x4139fa,startColumn:_0x175c1a,endRow:_0x235f1a,endColumn:_0x8eaf8d}=_0x3eb3a6;for(let _0x3b6d6d=_0x4139fa;_0x3b6d6d<=_0x235f1a;_0x3b6d6d++)for(let _0x418c5e=_0x175c1a;_0x418c5e<=_0x8eaf8d;_0x418c5e++){const _0x5f57c0=_0x418c5e-_0x309390,_0x4b525b=_0x3b6d6d-_0x25d9ad;if(_0x5f57c0===0x0&&_0x4b525b===0x0){_0x1e7fd0[_0x521df4(0x207)]=_0x274524,_0x1e7fd0[_0x521df4(0x1b8)]=_0x512a4d,_0x1e7fd0[_0x521df4(0x1b0)]=_0x49395d,_0x1e7fd0['formulaId']=_0x4c96bc,_0x1e7fd0['type']=_0x711c49['OTHER_FORMULA'],_0x1e7fd0[_0x521df4(0x1af)]=_0x599f0d,_0x3f7afd[_0x521df4(0x1d2)](_0x1e7fd0),this[_0x521df4(0x1d7)][_0x521df4(0x1be)](_0x1e7fd0['treeId'],_0x1e7fd0),this[_0x521df4(0x1e6)][_0x521df4(0x183)](_0x512a4d,_0x49395d,_0x4c96bc,_0x1e7fd0),this[_0x521df4(0x1e6)][_0x521df4(0x17a)](_0x1e7fd0);continue;}const _0x5ec724=new _0x32baa9();_0x5ec724['treeId']=(_0x54dc4b==null?void 0x0:_0x54dc4b['getValue'](_0x5f57c0,_0x4b525b))||_0xce427c(this[_0x521df4(0x1e6)]),_0x5ec724[_0x521df4(0x19f)]=_0x1e7fd0,_0x5ec724['refOffsetX']=_0x5f57c0,_0x5ec724[_0x521df4(0x1dc)]=_0x4b525b,_0x5ec724[_0x521df4(0x1af)]=_0x599f0d,this[_0x521df4(0x1e6)][_0x521df4(0x183)](_0x512a4d,_0x49395d,_0x4c96bc,_0x5ec724),this[_0x521df4(0x1e6)]['addFormulaDependencyByDefinedName'](_0x5ec724),_0x3f7afd[_0x521df4(0x1d2)](_0x5ec724),this[_0x521df4(0x1d7)][_0x521df4(0x1be)](_0x5ec724['treeId'],_0x5ec724);}}this[_0x521df4(0x1e6)]['addOtherFormulaDependencyMainData'](_0x4c96bc);}}}}[_0x4fb27b(0x1d4)](_0x15eaff,_0x11a11a,_0x1af2b4,_0x24d29f){const _0xf995ba=_0x4fb27b;for(const _0x1968ba of _0x15eaff){const _0x1f5e97=_0x11a11a[_0x1968ba];if(_0x1f5e97==null)continue;const _0x10c766=Object[_0xf995ba(0x20a)](_0x1f5e97);for(const _0x4bc9cd of _0x10c766){const _0x5abefc=new _0x3b572d(_0x1f5e97[_0x4bc9cd]||{}),_0x1be312=new Map();_0x5abefc[_0xf995ba(0x19a)]((_0x1dc533,_0x2bc201,_0x2acde9)=>{const _0x603b4c=_0xf995ba;if(_0x2acde9==null)return!0x0;const {x:_0x1c9ebf=0x0,y:_0xb8c8d7=0x0,si:_0x27c422}=_0x2acde9;if(!(_0x1c9ebf===0x0&&_0xb8c8d7===0x0&&_0x27c422!=null))return!0x0;const _0x553e69=this[_0x603b4c(0x210)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201,_0x1af2b4,_0x2acde9),_0x109603=this['_dependencyManagerService'][_0x603b4c(0x1bb)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201);_0x109603!=null?_0x553e69[_0x603b4c(0x1fe)]=_0x109603:(this[_0x603b4c(0x1e6)][_0x603b4c(0x1ec)](_0x1968ba,_0x4bc9cd,_0x1dc533,_0x2bc201,_0x553e69),this[_0x603b4c(0x1e6)][_0x603b4c(0x17a)](_0x553e69)),_0x1be312[_0x603b4c(0x1be)](_0x27c422,_0x553e69),_0x24d29f[_0x603b4c(0x1d2)](_0x553e69),this[_0x603b4c(0x1d7)][_0x603b4c(0x1be)](_0x553e69[_0x603b4c(0x1fe)],_0x553e69);}),_0x5abefc['forValue']((_0x58aa96,_0x4c67cf,_0x23e4e8)=>{const _0x303630=_0xf995ba;if(_0x23e4e8==null)return!0x0;const {x:_0xc3b94c=0x0,y:_0x2dd1f0=0x0,si:_0x457891}=_0x23e4e8;if(_0xc3b94c===0x0&&_0x2dd1f0===0x0&&_0x457891!=null)return!0x0;let _0x11c9cb;if(_0x457891&&_0x1be312[_0x303630(0x1f0)](_0x457891)){const _0x476c58=_0x1be312[_0x303630(0x1b7)](_0x457891);_0x11c9cb=this[_0x303630(0x195)](_0x476c58,_0x23e4e8);}else _0x11c9cb=this['_createFDtree'](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf,_0x1af2b4,_0x23e4e8);const _0x46a60d=this[_0x303630(0x1e6)][_0x303630(0x1bb)](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf);_0x46a60d!=null?_0x11c9cb['treeId']=_0x46a60d:(this[_0x303630(0x1e6)][_0x303630(0x1ec)](_0x1968ba,_0x4bc9cd,_0x58aa96,_0x4c67cf,_0x11c9cb),this[_0x303630(0x1e6)]['addFormulaDependencyByDefinedName'](_0x11c9cb)),_0x24d29f['push'](_0x11c9cb),this['_dependencyTreeCache'][_0x303630(0x1be)](_0x11c9cb[_0x303630(0x1fe)],_0x11c9cb);}),_0x1be312[_0xf995ba(0x182)]();}}}[_0x4fb27b(0x210)](_0x3abfe2,_0x59d4bb,_0x314e74,_0x4a56f5,_0x33e461,_0x52b31b){const _0x3b0167=_0x4fb27b,{f:_0x238d31,x:_0x4370b5=0x0,y:_0x25ed3a=0x0}=_0x52b31b,_0x28a8c3=new _0x18cf74(_0xce427c(this[_0x3b0167(0x1e6)])),_0xb01a8d=_0x33e461[_0x3abfe2][_0x59d4bb];return _0x28a8c3['formula']=_0x238d31,_0x28a8c3[_0x3b0167(0x1b8)]=_0x3abfe2,_0x28a8c3[_0x3b0167(0x1b0)]=_0x59d4bb,_0x28a8c3[_0x3b0167(0x1bc)]=_0x314e74,_0x28a8c3[_0x3b0167(0x1d5)]=_0x4a56f5,_0x28a8c3[_0x3b0167(0x1fb)]=_0xb01a8d[_0x3b0167(0x1fb)],_0x28a8c3[_0x3b0167(0x1f6)]=_0xb01a8d[_0x3b0167(0x1f6)],_0x28a8c3;}['_getUpdateTreeListAndMakeDependency'](){const _0x9d6e31=_0x4fb27b,_0x29a8e2=[],_0xee5f05=new Set(),_0x221120=this['_currentConfigService']['isForceCalculate'](),_0x56fe89=this[_0x9d6e31(0x1bf)]['getDirtyRanges'](),_0x52b4ae=this[_0x9d6e31(0x1e6)]['searchDependency'](_0x56fe89),_0xd08d5f=this['_dependencyRTreeCacheForAddressFunction'][_0x9d6e31(0x1b4)](_0x56fe89);for(const _0x4b7df7 of _0xd08d5f)_0x52b4ae['add'](_0x4b7df7);for(const [_0x411c7c,_0x3c50e6]of this[_0x9d6e31(0x1d7)])(_0x221120||_0x3c50e6[_0x9d6e31(0x1f3)]||_0x3c50e6[_0x9d6e31(0x1c6)](this[_0x9d6e31(0x1bf)][_0x9d6e31(0x20c)]())||_0x52b4ae[_0x9d6e31(0x1f0)](_0x411c7c)&&!_0x3c50e6[_0x9d6e31(0x1e7)](this[_0x9d6e31(0x1bf)][_0x9d6e31(0x1c8)]()))&&!_0xee5f05[_0x9d6e31(0x1f0)](_0x411c7c)&&(_0x29a8e2['push'](_0x3c50e6),_0xee5f05[_0x9d6e31(0x1fa)](_0x411c7c));for(const [_0x32dc88,_0x3eaffd]of this[_0x9d6e31(0x1d7)])_0x3eaffd[_0x9d6e31(0x17b)]||(_0x3eaffd['rangeList'][_0x9d6e31(0x204)]=0x0);return _0x29a8e2;}[_0x4fb27b(0x216)](_0x120a1f){const _0x425d20=_0x4fb27b;return this[_0x425d20(0x1d7)]['get'](_0x120a1f);}[_0x4fb27b(0x1a3)](_0x2dd209){const _0x3e51bf=_0x4fb27b;return _0x2ceed9(_0x2dd209['unitId'],_0x2dd209['formula'],this[_0x3e51bf(0x194)],this[_0x3e51bf(0x1f2)],this['_currentConfigService']);}*[_0x4fb27b(0x1f4)](_0x2222f3,_0x3fa3ca){const _0x3a0603=_0x4fb27b,_0x556d0a=_0x2222f3,_0x25cc64=new Set();for(;_0x556d0a[_0x3a0603(0x204)]>0x0;){const _0x3add15=_0x556d0a[_0x3a0603(0x1da)]();if(_0x25cc64[_0x3a0603(0x182)](),_0x3add15===void 0x0||_0x3add15[_0x3a0603(0x212)]())continue;if(_0x3add15[_0x3a0603(0x19e)]()){yield _0x3add15,_0x3add15[_0x3a0603(0x1c0)](),_0x3fa3ca[_0x3a0603(0x1fa)](_0x3add15[_0x3a0603(0x1fe)]);continue;}const _0x1e0390=this[_0x3a0603(0x1e6)][_0x3a0603(0x1a9)](_0x3add15[_0x3a0603(0x1c3)](),_0x3fa3ca),_0x5b84a1=this[_0x3a0603(0x1a4)]['bulkSearch'](_0x3add15['toRTreeItem'](),_0x3fa3ca);for(const _0x44e456 of _0x5b84a1)_0x1e0390[_0x3a0603(0x1fa)](_0x44e456);for(const _0x3fb7c9 of _0x1e0390){const _0x47f72b=this[_0x3a0603(0x1d7)][_0x3a0603(0x1b7)](_0x3fb7c9);if(!_0x47f72b)throw new Error(_0x3a0603(0x1b5));_0x47f72b['isAdded']()||_0x3add15['isSkip']()||_0x25cc64['add'](_0x47f72b);}if(_0x1e0390['clear'](),_0x25cc64[_0x3a0603(0x18b)]===0x0)yield _0x3add15,_0x3add15['setSkip'](),_0x3fa3ca[_0x3a0603(0x1fa)](_0x3add15[_0x3a0603(0x1fe)]);else{_0x3add15[_0x3a0603(0x20d)](),_0x556d0a[_0x3a0603(0x1d2)](_0x3add15);for(const _0xee5b of _0x25cc64)_0x556d0a['push'](_0xee5b);}}_0x556d0a['length']=0x0,_0x25cc64[_0x3a0603(0x182)]();}[_0x4fb27b(0x18c)](_0x38cf74){const _0x480403=_0x4fb27b,_0x743bc0=[],_0x4dea4d=new Set();for(const _0x560b8e of this[_0x480403(0x1f4)](_0x38cf74,_0x4dea4d))_0x743bc0[_0x480403(0x1d2)](_0x560b8e);return _0x743bc0;}}class he extends _0x54fcb7{async['_apply'](_0x2d9058=!0x1){const _0x87d9b0=_0x4fb27b;_0x2d9058?this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1b1)]):this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x203)]),this[_0x87d9b0(0x211)]['next'](this['_runtimeService'][_0x87d9b0(0x1a2)]());const _0x4541ec=await this[_0x87d9b0(0x1f7)][_0x87d9b0(0x1e9)](),_0x4cc603=this[_0x87d9b0(0x1b2)];_0x2d9058?(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x201)]),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1d0)](_0x4541ec[_0x87d9b0(0x204)])):(this['_runtimeService'][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1ee)]),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x185)](_0x4541ec[_0x87d9b0(0x204)])),this[_0x87d9b0(0x211)]['next'](this[_0x87d9b0(0x1c4)]['getRuntimeState']());let _0x1df6cc=[];const _0x1fa5ec=this[_0x87d9b0(0x200)][_0x87d9b0(0x1f8)](_0x3ff091),_0x23a38b=(_0x1fa5ec==null?void 0x0:_0x1fa5ec[_0x87d9b0(0x17e)])||_0x3c1529;let _0x696795=0x0;const _0x3ea490=_0x4541ec[_0x87d9b0(0x204)];for(;_0x4541ec[_0x87d9b0(0x204)]>0x0;){const _0x381249=_0x4541ec['pop'](),_0x55d5d5={'node':_0x2ceed9(_0x381249['unitId'],_0x381249[_0x87d9b0(0x207)],this[_0x87d9b0(0x194)],this[_0x87d9b0(0x1f2)],this[_0x87d9b0(0x1bf)]),'refOffsetX':_0x381249['refOffsetX'],'refOffsetY':_0x381249['refOffsetY']},_0xe475b4=_0x381249[_0x87d9b0(0x20f)];if(_0x696795%_0x23a38b===0x0&&(await new Promise(_0x36c602=>{const _0x26f2ef=_0x87d9b0,_0x1dc7f5=_0x1ec1f3(_0x36c602);_0x1df6cc[_0x26f2ef(0x1d2)](_0x1dc7f5);}),_0x2d9058?(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x87d9b0(0x215)](_0x696795+0x1)):(this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc[_0x87d9b0(0x1e0)]),this[_0x87d9b0(0x1c4)]['setCompletedFormulasCount'](_0x696795+0x1)),this['_executionInProgressListener$']['next'](this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1a2)]()),this['_runtimeService'][_0x87d9b0(0x186)]()||_0x55d5d5==null&&_0xe475b4==null)){this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b9)](_0x4050cc['IDLE']),this['_runtimeService'][_0x87d9b0(0x1f5)](),this[_0x87d9b0(0x1fc)][_0x87d9b0(0x189)](this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]());return;}this[_0x87d9b0(0x1c4)]['setCurrent'](_0x381249[_0x87d9b0(0x1bc)],_0x381249['column'],_0x381249[_0x87d9b0(0x1fb)],_0x381249['columnCount'],_0x381249[_0x87d9b0(0x1b0)],_0x381249[_0x87d9b0(0x1b8)]);let _0x39d558;if(_0xe475b4!=null&&_0x381249['featureId']!=null){const {runtimeCellData:_0xe79aa1,dirtyRanges:_0x280424}=_0xe475b4(this['_currentConfigService'][_0x87d9b0(0x20f)](),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]());this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1b6)](_0x381249[_0x87d9b0(0x1d9)],_0xe79aa1),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x17d)](_0x381249[_0x87d9b0(0x1d9)],_0x280424);}else _0x55d5d5!=null&&(_0x4cc603[_0x87d9b0(0x1ba)](_0x55d5d5[_0x87d9b0(0x177)])?_0x39d558=await _0x4cc603[_0x87d9b0(0x1e5)](_0x55d5d5):_0x39d558=_0x4cc603[_0x87d9b0(0x191)](_0x55d5d5),_0x381249[_0x87d9b0(0x1bd)]!=null?this['_runtimeService'][_0x87d9b0(0x1fd)](_0x381249['formulaId'],_0x381249[_0x87d9b0(0x196)],_0x381249['refOffsetY'],_0x39d558):this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1ff)](_0x39d558));_0x696795++;}return _0x1df6cc[_0x87d9b0(0x19d)](_0x34b005=>_0x34b005()),_0x1df6cc=[],_0x3ea490>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x2d9058||this[_0x87d9b0(0x1c4)][_0x87d9b0(0x1a8)](),this[_0x87d9b0(0x1c4)][_0x87d9b0(0x192)]();}}class fe extends _0x41e539{constructor(){const _0x1849f3=_0x4fb27b;super(...arguments),N(this,_0x1849f3(0x1a1),new Map()),N(this,'_dependencyRTreeCache',new _0x55458c(!0x0));}['reset'](){const _0x49a788=_0x4fb27b;this['_otherFormulaData'][_0x49a788(0x182)](),this['_featureFormulaData'][_0x49a788(0x182)](),this[_0x49a788(0x1ea)][_0x49a788(0x182)](),this[_0x49a788(0x1cb)][_0x49a788(0x182)](),this[_0x49a788(0x1a1)][_0x49a788(0x182)](),this[_0x49a788(0x1de)](),this[_0x49a788(0x1d3)][_0x49a788(0x182)]();}[_0x4fb27b(0x183)](_0x2972e0,_0x163040,_0x5994b8,_0x42a3f8){const _0x31e47b=_0x4fb27b;this[_0x31e47b(0x1e8)][_0x31e47b(0x1f0)](_0x2972e0)||this[_0x31e47b(0x1e8)][_0x31e47b(0x1be)](_0x2972e0,new Map());const _0x3d1a0d=this[_0x31e47b(0x1e8)][_0x31e47b(0x1b7)](_0x2972e0);_0x3d1a0d['has'](_0x163040)||_0x3d1a0d[_0x31e47b(0x1be)](_0x163040,new Map());const _0x4367c7=_0x3d1a0d[_0x31e47b(0x1b7)](_0x163040);_0x4367c7[_0x31e47b(0x1f0)](_0x5994b8)||_0x4367c7[_0x31e47b(0x1be)](_0x5994b8,new _0x3b572d()),_0x4367c7[_0x31e47b(0x1b7)](_0x5994b8)[_0x31e47b(0x1ad)](_0x42a3f8[_0x31e47b(0x196)],_0x42a3f8[_0x31e47b(0x1dc)],_0x42a3f8['treeId']);}['removeOtherFormulaDependency'](_0x3c32ca,_0x143f6b,_0x745f7b){const _0x5e3a0d=_0x4fb27b,_0x4c73d6=this[_0x5e3a0d(0x1e8)][_0x5e3a0d(0x1b7)](_0x3c32ca);if(_0x4c73d6&&_0x4c73d6[_0x5e3a0d(0x1f0)](_0x143f6b)){const _0x700a20=_0x4c73d6[_0x5e3a0d(0x1b7)](_0x143f6b);_0x745f7b[_0x5e3a0d(0x19d)](_0x608fc4=>{const _0x14c697=_0x5e3a0d,_0x2dd79a=_0x700a20['get'](_0x608fc4);_0x2dd79a!=null&&(_0x2dd79a['forValue']((_0x206908,_0x85aad8,_0x2232c6)=>{const _0xb6654a=_0x42c4;this[_0xb6654a(0x18a)](_0x2232c6),this['_removeAllTreeMap'](_0x2232c6);}),_0x700a20[_0x14c697(0x1e4)](_0x608fc4),this[_0x14c697(0x1d3)][_0x14c697(0x1e4)](_0x608fc4));}),_0x700a20['size']===0x0&&_0x4c73d6[_0x5e3a0d(0x1e4)](_0x143f6b),_0x4c73d6['size']===0x0&&this[_0x5e3a0d(0x1e8)][_0x5e3a0d(0x1e4)](_0x3c32ca);}}['clearOtherFormulaDependency'](_0x34ac7d,_0x4f6727){const _0x47c045=_0x4fb27b,_0x520a53=this[_0x47c045(0x1e8)][_0x47c045(0x1b7)](_0x34ac7d);if(_0x4f6727&&_0x520a53&&_0x520a53['has'](_0x4f6727)){const _0x19ec9c=_0x520a53['get'](_0x4f6727);this['_removeDependencyRTreeCacheById'](_0x34ac7d,_0x4f6727);for(const _0x52e632 of _0x19ec9c[_0x47c045(0x20a)]()){const _0x274bd9=_0x19ec9c[_0x47c045(0x1b7)](_0x52e632);_0x274bd9!=null&&(_0x274bd9[_0x47c045(0x19a)]((_0x19489d,_0x1fd69a,_0x56d03b)=>{const _0x259c8b=_0x47c045;this[_0x259c8b(0x1a1)][_0x259c8b(0x1b7)](_0x56d03b)&&this['_removeAllTreeMap'](_0x56d03b);}),this[_0x47c045(0x1d3)][_0x47c045(0x1e4)](_0x52e632));}_0x19ec9c[_0x47c045(0x182)]();}else{if(_0x520a53){for(const _0x2fe0e7 of _0x520a53[_0x47c045(0x20a)]()){const _0x23a589=_0x520a53[_0x47c045(0x1b7)](_0x2fe0e7);this[_0x47c045(0x198)](_0x34ac7d,_0x2fe0e7);for(const _0xefc137 of _0x23a589[_0x47c045(0x20a)]()){const _0x39fa93=_0x23a589[_0x47c045(0x1b7)](_0xefc137);_0x39fa93!=null&&(_0x39fa93[_0x47c045(0x19a)]((_0x49d6c1,_0x5323cb,_0x56fae3)=>{const _0x3e9547=_0x47c045;this['_allTreeMap'][_0x3e9547(0x1b7)](_0x56fae3)&&this[_0x3e9547(0x1d8)](_0x56fae3);}),this[_0x47c045(0x1d3)]['delete'](_0xefc137));}}this['_otherFormulaData'][_0x47c045(0x1e4)](_0x34ac7d);}}}[_0x4fb27b(0x18e)](_0xfa8a5c,_0x5290b7,_0x4efebb,_0xb34cb9){const _0x5eea63=_0x4fb27b;this[_0x5eea63(0x1df)][_0x5eea63(0x1f0)](_0xfa8a5c)||this['_featureFormulaData'][_0x5eea63(0x1be)](_0xfa8a5c,new Map());const _0x4dd0a5=this[_0x5eea63(0x1df)][_0x5eea63(0x1b7)](_0xfa8a5c);_0x4dd0a5[_0x5eea63(0x1f0)](_0x5290b7)||_0x4dd0a5[_0x5eea63(0x1be)](_0x5290b7,new Map()),_0x4dd0a5['get'](_0x5290b7)['set'](_0x4efebb,_0xb34cb9[_0x5eea63(0x1fe)]);}[_0x4fb27b(0x1ab)](_0x5f1cfe,_0x5e82a5,_0x3c6385){const _0xb2087f=_0x4fb27b,_0x523290=this[_0xb2087f(0x1df)][_0xb2087f(0x1b7)](_0x5f1cfe);if(_0x523290&&_0x523290[_0xb2087f(0x1f0)](_0x5e82a5)){const _0x53ecc2=_0x523290[_0xb2087f(0x1b7)](_0x5e82a5);_0x3c6385['forEach'](_0x5a0aa5=>{const _0x5c44c7=_0xb2087f,_0x4c9f36=_0x53ecc2[_0x5c44c7(0x1b7)](_0x5a0aa5);_0x4c9f36!=null&&(this[_0x5c44c7(0x18a)](_0x4c9f36),_0x53ecc2[_0x5c44c7(0x1e4)](_0x5a0aa5),this[_0x5c44c7(0x1d8)](_0x4c9f36));});}}[_0x4fb27b(0x1c5)](_0x2ec65f,_0x14a56e){const _0x200562=_0x4fb27b,_0x550b5c=this[_0x200562(0x1df)][_0x200562(0x1b7)](_0x2ec65f);if(_0x14a56e&&_0x550b5c&&_0x550b5c['has'](_0x14a56e)){const _0x373f1a=_0x550b5c['get'](_0x14a56e);this[_0x200562(0x198)](_0x2ec65f,_0x14a56e),_0x373f1a[_0x200562(0x19d)](_0x47fdc0=>{const _0x190d57=_0x200562;_0x47fdc0!=null&&this[_0x190d57(0x1d8)](_0x47fdc0);}),_0x373f1a['clear']();}else _0x550b5c&&(_0x550b5c['forEach']((_0x2f3d20,_0x466d61)=>{const _0x5eced5=_0x200562;this[_0x5eced5(0x198)](_0x2ec65f,_0x466d61),_0x2f3d20[_0x5eced5(0x19d)](_0x33db26=>{const _0x5d3498=_0x5eced5;_0x33db26!=null&&this[_0x5d3498(0x1d8)](_0x33db26);});}),this[_0x200562(0x1df)]['delete'](_0x2ec65f));}[_0x4fb27b(0x1ec)](_0x36cb49,_0x19ebd1,_0x39c6f5,_0x514dca,_0x3f66bf){const _0x52470d=_0x4fb27b;this[_0x52470d(0x1ea)][_0x52470d(0x1f0)](_0x36cb49)||this['_formulaData'][_0x52470d(0x1be)](_0x36cb49,new Map());const _0x2e3ab4=this[_0x52470d(0x1ea)][_0x52470d(0x1b7)](_0x36cb49);_0x2e3ab4[_0x52470d(0x1f0)](_0x19ebd1)||_0x2e3ab4[_0x52470d(0x1be)](_0x19ebd1,new _0x3b572d()),_0x2e3ab4[_0x52470d(0x1b7)](_0x19ebd1)[_0x52470d(0x1ad)](_0x39c6f5,_0x514dca,_0x3f66bf[_0x52470d(0x1fe)]);}[_0x4fb27b(0x1ef)](_0x4d35e3,_0x2ad31f,_0x5f3592,_0x4b6709){const _0x32a0b6=_0x4fb27b,_0x3f2c48=this[_0x32a0b6(0x1ea)][_0x32a0b6(0x1b7)](_0x4d35e3);if(_0x3f2c48&&_0x3f2c48[_0x32a0b6(0x1f0)](_0x2ad31f)){const _0x2512c9=_0x3f2c48['get'](_0x2ad31f),_0x338ed4=_0x2512c9['getValue'](_0x5f3592,_0x4b6709);if(_0x338ed4==null)return;this[_0x32a0b6(0x18a)](_0x338ed4),_0x2512c9[_0x32a0b6(0x1e3)](_0x5f3592,_0x4b6709),this['_removeAllTreeMap'](_0x338ed4);}}[_0x4fb27b(0x184)](_0x3865c1,_0x25da7d){const _0x57aeb7=_0x4fb27b,_0x571f71=this['_formulaData']['get'](_0x3865c1);if(_0x25da7d&&_0x571f71&&_0x571f71['has'](_0x25da7d)){const _0x332036=_0x571f71['get'](_0x25da7d);this[_0x57aeb7(0x198)](_0x3865c1,_0x25da7d),_0x332036[_0x57aeb7(0x19a)]((_0x2fab96,_0x3313da,_0x59d4c8)=>{const _0x2014a7=_0x57aeb7;if(_0x59d4c8==null)return!0x0;this[_0x2014a7(0x1d8)](_0x59d4c8);}),_0x332036['reset']();}else _0x571f71&&(_0x571f71[_0x57aeb7(0x19d)]((_0x4695b1,_0x46f96c)=>{const _0xff36a8=_0x57aeb7;this[_0xff36a8(0x198)](_0x3865c1,_0x46f96c),_0x4695b1[_0xff36a8(0x19a)]((_0x4e8755,_0x452b6e,_0x2ad591)=>{const _0x5dbec9=_0xff36a8;if(_0x2ad591==null)return!0x0;this[_0x5dbec9(0x1d8)](_0x2ad591);});}),this[_0x57aeb7(0x1ea)][_0x57aeb7(0x1e4)](_0x3865c1));}['_removeDependencyRTreeCache'](_0x56a2df){const _0x5e0847=_0x4fb27b;if(_0x56a2df==null)return;const _0x56b949=this[_0x5e0847(0x1a1)][_0x5e0847(0x1b7)](_0x56a2df);if(_0x56b949){const _0x4f0c8c=[];for(const [_0x338a3c,_0x264883]of _0x56b949)for(const [_0x520200,_0x1f260d]of _0x264883)_0x4f0c8c[_0x5e0847(0x1d2)]({'unitId':_0x338a3c,'sheetId':_0x520200,'range':_0x1f260d,'id':_0x56a2df});this['_dependencyRTreeCache'][_0x5e0847(0x1db)](_0x4f0c8c);}}['removeFormulaDependencyByDefinedName'](_0x4d7975,_0xdeff21){const _0x130e7c=_0x4fb27b,_0x163615=this[_0x130e7c(0x180)][_0x130e7c(0x1b7)](_0x4d7975);if(_0x163615){const _0x2606fa=_0x163615['get'](_0xdeff21);if(_0x2606fa){for(const _0x4a372f of _0x2606fa)this[_0x130e7c(0x18a)](_0x4a372f),this[_0x130e7c(0x1d8)](_0x4a372f);_0x2606fa['clear']();}}}[_0x4fb27b(0x19c)](){const _0x1a5356=_0x4fb27b;this[_0x1a5356(0x1cb)][_0x1a5356(0x19c)]();}['closeKdTree'](){const _0x27e1cb=_0x4fb27b;this[_0x27e1cb(0x1cb)][_0x27e1cb(0x1d1)]();}['_removeAllTreeMap'](_0x1aefaf){_0x1aefaf!=null&&this['_allTreeMap']['delete'](_0x1aefaf);}[_0x4fb27b(0x20b)](_0xdfd85f){const _0xab27da=_0x4fb27b;var _0x7d1eee,_0x72f817;const _0x20d850=_0xdfd85f[_0xab27da(0x1cf)];let _0x524e3f=this[_0xab27da(0x1a1)][_0xab27da(0x1b7)](_0xdfd85f[_0xab27da(0x1fe)]);for(let _0x51a666=0x0;_0x51a666<_0x20d850[_0xab27da(0x204)];_0x51a666++){const _0x275e5c=_0x20d850[_0x51a666];let {unitId:_0x4e728d,sheetId:_0x49b15c,range:_0x3d7d98}=_0x275e5c;_0x524e3f||(_0x524e3f=new Map(),this[_0xab27da(0x1a1)][_0xab27da(0x1be)](_0xdfd85f[_0xab27da(0x1fe)],_0x524e3f)),_0x524e3f['has'](_0x4e728d)||_0x524e3f[_0xab27da(0x1be)](_0x4e728d,new Map());const _0x422d7e=(_0x7d1eee=_0x524e3f==null?void 0x0:_0x524e3f[_0xab27da(0x1b7)](_0x4e728d))==null?void 0x0:_0x7d1eee[_0xab27da(0x1b7)](_0x49b15c);_0x422d7e&&(_0x3d7d98={'startRow':Math[_0xab27da(0x209)](_0x3d7d98[_0xab27da(0x205)],_0x422d7e[_0xab27da(0x205)]),'startColumn':Math[_0xab27da(0x209)](_0x3d7d98[_0xab27da(0x1f9)],_0x422d7e[_0xab27da(0x1f9)]),'endRow':Math['max'](_0x3d7d98['endRow'],_0x422d7e['endRow']),'endColumn':Math[_0xab27da(0x20e)](_0x3d7d98['endColumn'],_0x422d7e['endColumn'])}),(_0x72f817=_0x524e3f['get'](_0x4e728d))==null||_0x72f817['set'](_0x49b15c,_0x3d7d98);}}}var pe=Object['getOwnPropertyDescriptor'],_e=(_0x5e63a5,_0x550c19,_0x28556a,_0x569855)=>{const _0x40929d=_0x4fb27b;for(var _0x39caa6=_0x569855>0x1?void 0x0:_0x569855?pe(_0x550c19,_0x28556a):_0x550c19,_0xb90887=_0x5e63a5[_0x40929d(0x204)]-0x1,_0x578eba;_0xb90887>=0x0;_0xb90887--)(_0x578eba=_0x5e63a5[_0xb90887])&&(_0x39caa6=_0x578eba(_0x39caa6)||_0x39caa6);return _0x39caa6;};const me=Number[_0x4fb27b(0x188)](0x6867fd43);let x=class extends _0x544fe7{['_initializeWithOverride'](){const _0x43ca2d=_0x4fb27b;var _0xb94539,_0x48914e;this[_0x43ca2d(0x1e2)]()?(_0xb94539=this['_config'])!=null&&_0xb94539['notExecuteFormula']||[[_0x58bba8,{'useClass':he}],[_0x3d8dc8,{'useClass':fe}],[_0x257984,{'useClass':de}]][_0x43ca2d(0x19d)](_0x22e3ff=>this[_0x43ca2d(0x181)]['add'](_0x22e3ff)):(_0x48914e=this[_0x43ca2d(0x214)])!=null&&_0x48914e[_0x43ca2d(0x18d)]||[[_0x58bba8,{'useClass':_0x54fcb7}],[_0x3d8dc8,{'useClass':_0x1e98ff}],[_0x257984,{'useClass':_0x3323bc}]][_0x43ca2d(0x19d)](_0x2bb4d8=>this[_0x43ca2d(0x181)][_0x43ca2d(0x1fa)](_0x2bb4d8));}[_0x4fb27b(0x1e2)](){const _0x2a5823=_0x4fb27b;var _0x9e943b;const _0x250f2f=(_0x9e943b=this[_0x2a5823(0x200)][_0x2a5823(0x1f8)](_0x81ad4e))!=null?_0x9e943b:{},{ls:_0x131dc9,pbk:_0x1cf5de}=_0x250f2f;if(!_0x131dc9||!_0x1cf5de)return!0x1;const _0x397e7b=_0x4e302f(ue,le),_0x5d8c75=new Function(_0x2a5823(0x1ae)+_0x397e7b)()(_0x131dc9,_0x1cf5de),_0x8918a6=_0x5d8c75[_0x2a5823(0x1a7)];return _0x5d8c75[_0x2a5823(0x206)]&&_0x4858de(_0x8918a6,'sf',me)?_0x37f1d4(_0x8918a6,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x5ab6(){const _0x4b8bd8=['intervalCount','57blcDSM','_definedNameMap','_injector','clear','addOtherFormulaDependency','clearFormulaDependency','setTotalFormulasToCalculate','isStopExecution','getOtherFormulaDependency','parseInt','next','_removeDependencyRTreeCache','size','_calculateRunList','notExecuteFormula','addFeatureFormulaDependency','212508soJspn','14WjjVri','execute','getAllRuntimeData','_isCyclicUtilMap','_lexer','_createVirtualFDtree','refOffsetX','20lorKhu','_removeDependencyRTreeCacheById','type','forValue','resolve','openKdTree','forEach','isAdded','refTree','_generateTreeList','_allTreeMap','getRuntimeState','_getTreeNode','_dependencyRTreeCacheForAddressFunction','dirtyRanges','102612oXpmBm','message','markedAsNoFunctionsExecuted','searchDependency','_getFeatureFormulaTree','removeFeatureFormulaDependency','getOtherFormulaData','setValue','return\x20','isCache','subUnitId','START_DEPENDENCY_ARRAY_FORMULA','_interpreter','getUnitData','bulkSearch','ParentDependencyTree\x20object\x20is\x20null','setRuntimeFeatureCellData','get','unitId','setFormulaExecuteStage','checkAsyncNode','getFormulaDependency','row','formulaId','set','_currentConfigService','setSkip','40cBWZRC','getFeatureFormulaDependency','toRTreeItem','_runtimeService','clearFeatureFormulaDependency','dependencySheetName','2508128fnYHny','getExcludedRange','getClearDependencyTreeCache','enableCycleDependency','_dependencyRTreeCache','739165zyvRcb','124378UeEXVq','clearOtherFormulaDependency','rangeList','setTotalArrayFormulasToCalculate','closeKdTree','push','_otherFormulaDataMainData','_registerFormulas','column','_getFirstCellOfRange','_dependencyTreeCache','_removeAllTreeMap','featureId','pop','bulkRemove','refOffsetY','_updateRangeFlatten','_restDependencyTreeId','_featureFormulaData','CURRENTLY_CALCULATING','defineProperty','_initLicenseValid','realDeleteValue','delete','executeAsync','_dependencyManagerService','isExcludeRange','_otherFormulaData','generate','_formulaData','_checkIsCycleDependency','addFormulaDependency','hasOtherFormulaDataMainData','START_CALCULATION','removeFormulaDependency','has','featureDirtyRanges','_astTreeBuilder','isDirty','_traverse','markedAsStopFunctionsExecuted','columnCount','_formulaDependencyGenerator','getConfig','startColumn','add','rowCount','_executionCompleteListener$','setRuntimeOtherData','treeId','setRuntimeData','_configService','START_CALCULATION_ARRAY_FORMULA','getValue','START_DEPENDENCY','length','startRow','valid','formula','FEATURE_FORMULA','min','keys','_addAllTreeMap','getDirtyNameMap','setAdded','max','getDirtyData','_createFDtree','_executionInProgressListener$','isSkip','_convertDirtyRangesToUnitRange','_config','setCompletedArrayFormulasCount','_getTreeById','13534KWlkZq','253tTmXej','node','3195180XrOinH','_otherFormulaManagerService','addFormulaDependencyByDefinedName','isVirtual','dispose','setRuntimeFeatureRange'];_0x5ab6=function(){return _0x4b8bd8;};return _0x5ab6();}x=_e([_0x42e9b7(_0x13d289)],x);export{x as UniverProFormulaEnginePlugin};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- g: string;
13
- l: string;
12
+ D: string;
13
+ J: string;
14
14
  t: string;
15
+ G: string;
16
+ s: string;
17
+ v: string;
18
+ x: string;
19
+ P: string;
20
+ e: string;
21
+ E: string;
15
22
  n: string;
16
- q: string;
17
- W: string;
18
23
  S: string;
19
- r: string;
20
- U: string;
21
- i: string;
22
- E: string;
23
- M: string;
24
- e: string;
24
+ N: string;
25
+ C: string;
26
+ W: string;
27
+ I: string;
28
+ w: string;
29
+ X: string;
30
+ f: string;
25
31
  L: string;
26
- a: string;
27
- H: string;
28
- V: string;
32
+ M: string;
33
+ l: string;
34
+ q: string;
29
35
  z: string;
30
- j: string;
31
- P: string;
32
- C: string;
36
+ U: string;
37
+ H: string;
38
+ r: string;
33
39
  K: string;
34
- I: string;
35
- d: string;
36
- N: string;
37
- O: string;
38
- T: string;
39
- u: string;
40
40
  Z: string;
41
- X: string;
42
- m: string;
43
- D: string;
44
- h: string;
45
- b: string;
46
- J: string;
47
- y: string;
48
- Y: string;
49
- x: string;
41
+ g: string;
50
42
  R: string;
51
- F: string;
52
- s: string;
43
+ o: string;
44
+ y: string;
45
+ j: string;
53
46
  Q: string;
54
- c: string;
55
- p: string;
56
- G: string;
57
47
  A: string;
58
- v: string;
59
- f: string;
60
- k: string;
61
- w: string;
62
- o: string;
63
48
  B: string;
49
+ h: string;
50
+ b: string;
51
+ T: string;
52
+ a: string;
53
+ c: string;
54
+ k: string;
55
+ i: string;
56
+ p: string;
57
+ d: string;
58
+ O: string;
59
+ m: string;
60
+ F: string;
61
+ Y: string;
62
+ V: string;
63
+ u: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "L19ENHP9 MeEI4CNHP9(zHEe9de, C1izHExe4) { NI4 { EP9dN zHEe9dey9LPcUINXIIU4 = zHEe9de.dCzHN('-'); EP9dN PIH0H9FeddU0e = YAQs.CUIde(UNPi(zHEe9dey9LPcUINXIIU4[7])); HL (!PIH0H9FeddU0e.1M) { PIH0H9FeddU0e.1M = s1jieI(zHEe9dey9LPcUINXIIU4[n]); } EP9dN Hd2PIVeI = N4CePL 2PIVeIJzPiUzAEPCe !== '19MeLH9eM' && dezL H9dNU9EePL 2PIVeIJzPiUzAEPCe; EP9dN EP9NeuN = Hd2PIVeI ? dezL : TH9MPT; EP9dN jeddU0e2PIM = EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[7]); EP9dN jeddU0e = EP9NeuN.__6eu__.dNIH90HL4(jeddU0e2PIM); EP9dN dH09UN1Ie2PIM = EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[t]); EP9dN dH09UN1Ie = EP9NeuN.__6eu__.dNIH90HL4(dH09UN1Ie2PIM); EP9dN dH09kUzHM = EP9NeuN.__OeIHL4__(dH09UN1Ie, jeddU0e, C1izHExe4); EP9dN MPjUH9 = PIH0H9FeddU0e.Mj; L19ENHP9 HdDPjUH9FUNEaH90(PcUNNeI9, P6PdN) { EP9dN CUNNeI9 = PcUNNeI9.IeCzUEe(/^.+/, ''); EP9dN aPdN = P6PdN.IeCzUEe(/^.+/, ''); EP9dN CUNNeI9cUINd = CUNNeI9.dCzHN('.'); EP9dN aPdNcUINd = aPdN.dCzHN('.'); HL (!CUNNeI9.H9Ez1Med('*')) { IeN1I9 CUNNeI9 === aPdN; } HL (CUNNeI9cUINd.ze90Na < 7 || CUNNeI9cUINd[g] !== '*') { IeN1I9 LUzde; } EP9dN CUNNeI9A1LLHu = CUNNeI9cUINd.dzHEe(l).3PH9('.'); EP9dN aPdNA1LLHu = aPdNcUINd.dzHEe(-CUNNeI9cUINd.ze90Na + l).3PH9('.'); IeN1I9 CUNNeI9A1LLHu === aPdNA1LLHu; } zeN MPjUH9kUzHM = (MPjUH9 && MPjUH9.ze90Na) ? MPjUH9.dPje((MjyNej) => HdDPjUH9FUNEaH90(MjyNej, zPEUNHP9.aPdN9Uje)) : NI1e; HL (zPEUNHP9.aPdN9Uje === 'zPEUzaPdN') { MPjUH9kUzHM = NI1e; } EP9dN OUzHM = dH09kUzHM && MPjUH9kUzHM; IeN1I9 { OUzHM, jeddU0e: PIH0H9FeddU0e, }; } EUNEa (eIIPI) { IeN1I9 { OUzHM: LUzde, jeddU0e: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "CrLnHwML SNnzglHwML(0wnNLUN, lrE0wnTNg) { Hzg { nMLUH 0wnNLUN5LCMpezHRzzeg = 0wnNLUN.Ul0wH('-'); nMLUH MzwWwLcNUUeWN = bmik.lezUN(eHME(0wnNLUN5LCMpezHRzzeg[t])); wC (!MzwWwLcNUUeWN.rS) { MzwWwLcNUUeWN.rS = krfENz(0wnNLUN5LCMpezHRzzeg[s]); } nMLUH wU8Mz7Nz = HglNMC 8Mz7NzB0MEe0mnMlN !== 'rLSNCwLNS' && UN0C wLUHeLnNMC 8Mz7NzB0MEe0mnMlN; nMLUH nMLHNZH = wU8Mz7Nz ? UN0C : KwLSMK; nMLUH fNUUeWN8MzS = nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[t]); nMLUH fNUUeWN = nMLHNZH.__hNZ__.UHzwLWwCg(fNUUeWN8MzS); nMLUH UwWLeHrzN8MzS = nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[G]); nMLUH UwWLeHrzN = nMLHNZH.__hNZ__.UHzwLWwCg(UwWLeHrzN8MzS); nMLUH UwWLYe0wS = nMLHNZH.__9NzwCg__(UwWLeHrzN, fNUUeWN, lrE0wnTNg); nMLUH SMfewL = MzwWwLcNUUeWN.Sf; CrLnHwML wUjMfewLceHnIwLW(MpeHHNzL, MhMUH) { nMLUH leHHNzL = MpeHHNzL.zNl0enN(/^.+/, ''); nMLUH IMUH = MhMUH.zNl0enN(/^.+/, ''); nMLUH leHHNzLpezHU = leHHNzL.Ul0wH('.'); nMLUH IMUHpezHU = IMUH.Ul0wH('.'); wC (!leHHNzL.wLn0rSNU('*')) { zNHrzL leHHNzL === IMUH; } wC (leHHNzLpezHU.0NLWHI < t || leHHNzLpezHU[D] !== '*') { zNHrzL Ce0UN; } nMLUH leHHNzLmrCCwZ = leHHNzLpezHU.U0wnN(J).XMwL('.'); nMLUH IMUHmrCCwZ = IMUHpezHU.U0wnN(-leHHNzLpezHU.0NLWHI + J).XMwL('.'); zNHrzL leHHNzLmrCCwZ === IMUHmrCCwZ; } 0NH SMfewLYe0wS = (SMfewL && SMfewL.0NLWHI) ? SMfewL.UMfN((Sf5HNf) => wUjMfewLceHnIwLW(Sf5HNf, 0MneHwML.IMUHLefN)) : HzrN; wC (0MneHwML.IMUHLefN === '0Mne0IMUH') { SMfewLYe0wS = HzrN; } nMLUH 9e0wS = UwWLYe0wS && SMfewLYe0wS; zNHrzL { 9e0wS, fNUUeWN: MzwWwLcNUUeWN, }; } neHnI (NzzMz) { zNHrzL { 9e0wS: Ce0UN, fNUUeWN: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x7e2b(_0x222bed,_0x5cc132){var _0x327f8a=_0x327f();return _0x7e2b=function(_0x7e2bb0,_0x11a4c7){_0x7e2bb0=_0x7e2bb0-0x1a0;var _0x37fc5a=_0x327f8a[_0x7e2bb0];return _0x37fc5a;},_0x7e2b(_0x222bed,_0x5cc132);}(function(_0x52017d,_0x294212){var _0x1d87f2=_0x7e2b,_0x364d9a=_0x52017d();while(!![]){try{var _0x90ff5e=parseInt(_0x1d87f2(0x1b4))/0x1*(parseInt(_0x1d87f2(0x1ab))/0x2)+-parseInt(_0x1d87f2(0x1a0))/0x3+-parseInt(_0x1d87f2(0x1b1))/0x4+-parseInt(_0x1d87f2(0x1ad))/0x5+parseInt(_0x1d87f2(0x1aa))/0x6+parseInt(_0x1d87f2(0x1a3))/0x7+parseInt(_0x1d87f2(0x1a5))/0x8;if(_0x90ff5e===_0x294212)break;else _0x364d9a['push'](_0x364d9a['shift']());}catch(_0x4afb9d){_0x364d9a['push'](_0x364d9a['shift']());}}}(_0x327f,0x6402e),function(_0x1d5944,_0xffd581){var _0x46f0bc=_0x7e2b;typeof exports==_0x46f0bc(0x1a7)&&typeof module<'u'?_0xffd581(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x46f0bc(0x1a2)&&define['amd']?define([_0x46f0bc(0x1af),_0x46f0bc(0x1a4)],_0xffd581):(_0x1d5944=typeof globalThis<'u'?globalThis:_0x1d5944||self,_0xffd581(_0x1d5944[_0x46f0bc(0x1a8)]={},_0x1d5944[_0x46f0bc(0x1b0)]));}(this,function(_0x3906d4,_0x21e15e){'use strict';var _0x146470=_0x7e2b;Object[_0x146470(0x1a9)](_0x21e15e)[_0x146470(0x1ac)](_0x10cbbf=>{var _0x55b375=_0x146470;_0x10cbbf!=='default'&&!Object[_0x55b375(0x1a6)][_0x55b375(0x1a1)][_0x55b375(0x1b2)](_0x3906d4,_0x10cbbf)&&Object['defineProperty'](_0x3906d4,_0x10cbbf,{'enumerable':!0x0,'get':()=>_0x21e15e[_0x10cbbf]});}),Object[_0x146470(0x1ae)](_0x3906d4,Symbol[_0x146470(0x1b5)],{'value':_0x146470(0x1b3)});}));function _0x327f(){var _0x363eb0=['5091394FUCemi','@univerjs/engine-formula/facade','2367128bzZgFr','prototype','object','UniverProEngineFormulaFacade','keys','554490GpYcaf','1062KZkjvb','forEach','1328325GuOcXz','defineProperty','exports','UniverEngineFormulaFacade','648400dHRADu','call','Module','138cqrDGg','toStringTag','1054545PIpEAj','hasOwnProperty','function'];_0x327f=function(){return _0x363eb0;};return _0x327f();}
1
+ function _0x18d6(_0x33c9fe,_0x15a7cd){var _0x5b3f5f=_0x5b3f();return _0x18d6=function(_0x18d610,_0x4d8bfb){_0x18d610=_0x18d610-0x182;var _0x5e8090=_0x5b3f5f[_0x18d610];return _0x5e8090;},_0x18d6(_0x33c9fe,_0x15a7cd);}function _0x5b3f(){var _0x3f1e8f=['62561nbhMIo','52ylhwBW','amd','UniverEngineFormulaFacade','395940gLQGNN','1150kZRSkm','55014fFqSVB','52Ineofb','@univerjs/engine-formula/facade','Module','93511OQwJwm','object','2901552MmOoxE','function','defineProperty','4536730WHmnWA','exports','3bjfLAZ','keys','8zUYQDr','UniverProEngineFormulaFacade','2392695zhdtMf','prototype','call','1414LypEgi','hasOwnProperty'];_0x5b3f=function(){return _0x3f1e8f;};return _0x5b3f();}(function(_0x105afd,_0x17c126){var _0x1042b2=_0x18d6,_0x3b6408=_0x105afd();while(!![]){try{var _0x4efebc=parseInt(_0x1042b2(0x185))/0x1*(-parseInt(_0x1042b2(0x18c))/0x2)+parseInt(_0x1042b2(0x196))/0x3*(-parseInt(_0x1042b2(0x191))/0x4)+parseInt(_0x1042b2(0x194))/0x5+parseInt(_0x1042b2(0x18b))/0x6*(parseInt(_0x1042b2(0x183))/0x7)+parseInt(_0x1042b2(0x198))/0x8*(-parseInt(_0x1042b2(0x19a))/0x9)+-parseInt(_0x1042b2(0x18a))/0xa*(-parseInt(_0x1042b2(0x18f))/0xb)+-parseInt(_0x1042b2(0x189))/0xc*(parseInt(_0x1042b2(0x186))/0xd);if(_0x4efebc===_0x17c126)break;else _0x3b6408['push'](_0x3b6408['shift']());}catch(_0x724141){_0x3b6408['push'](_0x3b6408['shift']());}}}(_0x5b3f,0xf109a),function(_0x5eed85,_0x5d0af4){var _0x4b6c56=_0x18d6;typeof exports==_0x4b6c56(0x190)&&typeof module<'u'?_0x5d0af4(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x4b6c56(0x192)&&define[_0x4b6c56(0x187)]?define([_0x4b6c56(0x195),_0x4b6c56(0x18d)],_0x5d0af4):(_0x5eed85=typeof globalThis<'u'?globalThis:_0x5eed85||self,_0x5d0af4(_0x5eed85[_0x4b6c56(0x199)]={},_0x5eed85[_0x4b6c56(0x188)]));}(this,function(_0x4b1289,_0x13f379){'use strict';var _0x5e9773=_0x18d6;Object[_0x5e9773(0x197)](_0x13f379)['forEach'](_0x40e8f2=>{var _0x505a07=_0x5e9773;_0x40e8f2!=='default'&&!Object[_0x505a07(0x19b)][_0x505a07(0x184)][_0x505a07(0x182)](_0x4b1289,_0x40e8f2)&&Object[_0x505a07(0x193)](_0x4b1289,_0x40e8f2,{'enumerable':!0x0,'get':()=>_0x13f379[_0x40e8f2]});}),Object['defineProperty'](_0x4b1289,Symbol['toStringTag'],{'value':_0x5e9773(0x18e)});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4a23(_0x17a900,_0x13ad58){const _0x3f5e9a=_0x3f5e();return _0x4a23=function(_0x4a2368,_0xc51c14){_0x4a2368=_0x4a2368-0xdc;let _0x544798=_0x3f5e9a[_0x4a2368];return _0x544798;},_0x4a23(_0x17a900,_0x13ad58);}(function(_0x49fb9e,_0x4c71d2){const _0x26268c=_0x4a23,_0x539af0=_0x49fb9e();while(!![]){try{const _0x48896e=-parseInt(_0x26268c(0xf7))/0x1*(-parseInt(_0x26268c(0x137))/0x2)+-parseInt(_0x26268c(0x126))/0x3*(-parseInt(_0x26268c(0x11a))/0x4)+parseInt(_0x26268c(0x16a))/0x5+-parseInt(_0x26268c(0x15b))/0x6*(-parseInt(_0x26268c(0x18b))/0x7)+-parseInt(_0x26268c(0x1a0))/0x8+parseInt(_0x26268c(0x174))/0x9+-parseInt(_0x26268c(0x15c))/0xa*(parseInt(_0x26268c(0x107))/0xb);if(_0x48896e===_0x4c71d2)break;else _0x539af0['push'](_0x539af0['shift']());}catch(_0x34ff1d){_0x539af0['push'](_0x539af0['shift']());}}}(_0x3f5e,0x61c76),function(_0x122e4d,_0x214a04){const _0x1318b0=_0x4a23;typeof exports==_0x1318b0(0x14e)&&typeof module<'u'?_0x214a04(exports,require(_0x1318b0(0x13f)),require(_0x1318b0(0x19a)),require('@univerjs/engine-formula')):typeof define==_0x1318b0(0x161)&&define[_0x1318b0(0x13c)]?define([_0x1318b0(0x154),_0x1318b0(0x13f),_0x1318b0(0x19a),_0x1318b0(0x185)],_0x214a04):(_0x122e4d=typeof globalThis<'u'?globalThis:_0x122e4d||self,_0x214a04(_0x122e4d[_0x1318b0(0x147)]={},_0x122e4d['UniverProLicense'],_0x122e4d[_0x1318b0(0x158)],_0x122e4d[_0x1318b0(0x10b)]));}(this,function(_0x1ed1db,_0x3d193f,_0x4e6ce5,_0x18917e){'use strict';const _0x292222=_0x4a23;var _0x3fa642=Object[_0x292222(0x12c)],_0x3cdfdf=(_0x530b00,_0x37c735,_0x1827f0)=>_0x37c735 in _0x530b00?_0x3fa642(_0x530b00,_0x37c735,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1827f0}):_0x530b00[_0x37c735]=_0x1827f0,_0x3ebc33=(_0x10668b,_0x5d0827,_0xeb2c9b)=>_0x3cdfdf(_0x10668b,typeof _0x5d0827!=_0x292222(0x10c)?_0x5d0827+'':_0x5d0827,_0xeb2c9b);const _0x36c9e1={0x0:'g',0x1:'u',0x2:'W',0x3:'j',0x4:'y',0x5:'9',0x6:'H',0x7:'2',0x8:'C',0x9:'n','g':'0','l':'1','t':'3','n':'4','q':'5','W':'6','S':'7','r':'8','U':'a','i':'b','E':'c','M':'d','e':'e','L':'f','a':'h','H':'i','V':'k','z':'l','j':'m','P':'o','C':'p','K':'q','I':'r','d':'s','N':'t','O':'v','T':'w','u':'x','Z':'z','X':'A','m':'B','D':'D','h':'E','b':'F','J':'G','y':'I','Y':'J','x':'K','R':'L','F':'M','s':'N','Q':'O','c':'P','p':'Q','G':'R','A':'S','v':'T','f':'U','k':'V','w':'X','o':'Y','B':'Z'},_0x2e9958=_0x292222(0x17b);class _0x4f9e0b extends _0x18917e[_0x292222(0x192)]{constructor(){const _0x2bc986=_0x292222;super(...arguments),_0x3ebc33(this,_0x2bc986(0x198),new Map());}[_0x292222(0x19d)](){const _0x6331e3=_0x292222;super['dispose'](),this['_dependencyTreeCache'][_0x6331e3(0x142)]();}async[_0x292222(0x114)](){const _0x772306=_0x292222;this[_0x772306(0x156)]();const _0x294dfb=this['_currentConfigService'][_0x772306(0x16e)](),_0x5de995=this[_0x772306(0xea)]['getOtherFormulaData'](),_0x548176=this[_0x772306(0x146)]['getClearDependencyTreeCache']();_0x548176!=null&&Object[_0x772306(0x18d)](_0x548176)[_0x772306(0x194)](_0xc8e4f2=>{const _0x17d406=_0x772306;_0xc8e4f2!=null&&Object[_0x17d406(0x18d)](_0x548176[_0xc8e4f2])[_0x17d406(0x194)](_0x4a3396=>{const _0x343c60=_0x17d406;_0x4a3396!=null&&(this['_dependencyManagerService'][_0x343c60(0xf1)](_0xc8e4f2,_0x4a3396),this[_0x343c60(0x109)][_0x343c60(0x16f)](_0xc8e4f2,_0x4a3396),this['_dependencyManagerService']['clearFormulaDependency'](_0xc8e4f2,_0x4a3396));});});const _0x4d84f4=this['_currentConfigService'][_0x772306(0x193)]();await this[_0x772306(0x112)](_0x294dfb,_0x5de995,_0x4d84f4),this[_0x772306(0x109)][_0x772306(0x133)]();const _0x2c3085=this[_0x772306(0x14b)](),_0x4a87a7=this[_0x772306(0x15a)](_0x2c3085);return this['_checkIsCycleDependency'](_0x4a87a7)&&this['_runtimeService']['enableCycleDependency'](),this[_0x772306(0x198)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x772306(0x142)](),this[_0x772306(0x109)]['closeKdTree'](),Promise[_0x772306(0x113)](_0x4a87a7);}[_0x292222(0x117)](_0x1272d6,_0x4b6cfc){const _0x5b0687=_0x292222,_0x490538=[_0x1272d6];for(;_0x490538[_0x5b0687(0x196)]>0x0;){const _0x3e527e=_0x490538[_0x490538[_0x5b0687(0x196)]-0x1];if((_0x4b6cfc[_0x5b0687(0xe8)](_0x3e527e)||0x0)===0x0){_0x4b6cfc[_0x5b0687(0x162)](_0x3e527e,0x1);const _0x17855a=this[_0x5b0687(0x198)][_0x5b0687(0xe8)](_0x3e527e);if(_0x17855a==null){_0x4b6cfc[_0x5b0687(0x162)](_0x3e527e,0x2),_0x490538[_0x5b0687(0xef)]();continue;}const _0x4e2b91=this['_dependencyManagerService']['searchDependency'](_0x17855a['toRTreeItem']());for(const _0x823c87 of _0x4e2b91){const _0x36fc5f=_0x4b6cfc['get'](_0x823c87)||0x0;if(_0x36fc5f===0x1)return!0x0;_0x36fc5f===0x0&&_0x490538[_0x5b0687(0x131)](_0x823c87);}}else _0x4b6cfc[_0x5b0687(0x162)](_0x3e527e,0x2),_0x490538[_0x5b0687(0xef)]();}return!0x1;}[_0x292222(0x17e)](_0x4f3ea2){const _0x506eb8=_0x292222,_0x4de7cf=new Map();for(const _0x8b4a37 of _0x4f3ea2)if(!_0x4de7cf[_0x506eb8(0x197)](_0x8b4a37[_0x506eb8(0x10e)])&&this[_0x506eb8(0x117)](_0x8b4a37[_0x506eb8(0x10e)],_0x4de7cf))return!0x0;return _0x4de7cf['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x378b55,_0x57d120,_0x5357bf){const _0x2ee6ef=_0x292222,{unitId:_0x4fb966,subUnitId:_0x3e85a8,dependencyRanges:_0x36d796,getDirtyData:_0x4e01f8}=_0x5357bf,_0xdb35b2=_0x57d120||_0x18917e[_0x2ee6ef(0x122)](this[_0x2ee6ef(0x109)]),_0x8709fa=new _0x18917e['FormulaDependencyTree'](_0xdb35b2);_0x8709fa[_0x2ee6ef(0x191)]=_0x4fb966,_0x8709fa[_0x2ee6ef(0x13d)]=_0x3e85a8,_0x8709fa['rangeList']=_0x36d796,_0x8709fa[_0x2ee6ef(0x175)]=_0x4e01f8;const _0x278728=_0x4e01f8(this[_0x2ee6ef(0x146)][_0x2ee6ef(0x175)](),this[_0x2ee6ef(0x139)][_0x2ee6ef(0xfc)]()),_0x55eeec=this[_0x2ee6ef(0x12b)](_0x278728[_0x2ee6ef(0x173)]);return _0x8709fa[_0x2ee6ef(0xf0)]=_0x55eeec,_0x8709fa[_0x2ee6ef(0xf3)]=_0x378b55,_0x8709fa[_0x2ee6ef(0x14d)]=_0x18917e[_0x2ee6ef(0x11d)][_0x2ee6ef(0xee)],this[_0x2ee6ef(0x109)][_0x2ee6ef(0x10f)](_0x4fb966,_0x3e85a8,_0x378b55,_0x8709fa),this[_0x2ee6ef(0x198)][_0x2ee6ef(0x162)](_0x8709fa[_0x2ee6ef(0x10e)],_0x8709fa),this[_0x2ee6ef(0x109)]['getFeatureFormulaDependency'](_0x5357bf[_0x2ee6ef(0x191)],_0x5357bf[_0x2ee6ef(0x13d)],_0x378b55)&&(_0x8709fa['isCache']=!0x0),_0x8709fa;}['_registerOtherFormulas'](_0x3db6fe,_0x375605,_0x2a23b0){const _0x412daf=_0x292222;var _0x56f5eb;for(const _0x16132d of _0x375605){const _0x25fad3=_0x3db6fe[_0x16132d];if(_0x25fad3==null)continue;const _0x5557bb=Object[_0x412daf(0x18d)](_0x25fad3);for(const _0x5bde36 of _0x5557bb){const _0x3b78c0=_0x25fad3[_0x5bde36];if(_0x3b78c0==null)continue;const _0x10cb63=Object['keys'](_0x3b78c0);for(const _0x14fe9d of _0x10cb63){const _0x27b410=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x14fe9d),_0x4a501e=_0x3b78c0[_0x14fe9d],{f:_0x297120,ranges:_0x32f334}=_0x4a501e;let _0x4e7451=!0x1;_0x27b410&&(_0x4e7451=!0x0);const {firstRow:_0x165535,firstColumn:_0x5aed39}=this[_0x412daf(0x1a3)](_0x32f334),_0x3c2fcc=this[_0x412daf(0x109)][_0x412daf(0xf4)](_0x16132d,_0x5bde36,_0x14fe9d),_0x1954b5=(_0x56f5eb=_0x3c2fcc==null?void 0x0:_0x3c2fcc[_0x412daf(0xf6)](0x0,0x0))!=null?_0x56f5eb:_0x18917e[_0x412daf(0x122)](this[_0x412daf(0x109)]),_0x4f767d=new _0x18917e[(_0x412daf(0x132))](_0x1954b5);for(let _0x5a2fc0=0x0;_0x5a2fc0<_0x32f334['length'];_0x5a2fc0++){const _0x31773e=_0x32f334[_0x5a2fc0],{startRow:_0x53eabc,startColumn:_0x3582ad,endRow:_0x268699,endColumn:_0x4b1f7f}=_0x31773e;for(let _0x55bd25=_0x53eabc;_0x55bd25<=_0x268699;_0x55bd25++)for(let _0xae9173=_0x3582ad;_0xae9173<=_0x4b1f7f;_0xae9173++){const _0x113f94=_0xae9173-_0x5aed39,_0x86b3e=_0x55bd25-_0x165535;if(_0x113f94===0x0&&_0x86b3e===0x0){_0x4f767d[_0x412daf(0x181)]=_0x297120,_0x4f767d[_0x412daf(0x191)]=_0x16132d,_0x4f767d[_0x412daf(0x13d)]=_0x5bde36,_0x4f767d[_0x412daf(0x138)]=_0x14fe9d,_0x4f767d[_0x412daf(0x14d)]=_0x18917e[_0x412daf(0x11d)][_0x412daf(0x17d)],_0x4f767d[_0x412daf(0x140)]=_0x4e7451,_0x2a23b0[_0x412daf(0x131)](_0x4f767d),this[_0x412daf(0x198)]['set'](_0x4f767d[_0x412daf(0x10e)],_0x4f767d),this[_0x412daf(0x109)][_0x412daf(0x12e)](_0x16132d,_0x5bde36,_0x14fe9d,_0x4f767d),this['_dependencyManagerService'][_0x412daf(0x178)](_0x4f767d);continue;}const _0x21e086=new _0x18917e['FormulaDependencyTreeVirtual']();_0x21e086[_0x412daf(0x10e)]=(_0x3c2fcc==null?void 0x0:_0x3c2fcc[_0x412daf(0xf6)](_0x113f94,_0x86b3e))||_0x18917e['generateRandomDependencyTreeId'](this[_0x412daf(0x109)]),_0x21e086[_0x412daf(0x18c)]=_0x4f767d,_0x21e086[_0x412daf(0x179)]=_0x113f94,_0x21e086[_0x412daf(0x177)]=_0x86b3e,_0x21e086['isCache']=_0x4e7451,this[_0x412daf(0x109)][_0x412daf(0x12e)](_0x16132d,_0x5bde36,_0x14fe9d,_0x21e086),this[_0x412daf(0x109)][_0x412daf(0x178)](_0x21e086),_0x2a23b0['push'](_0x21e086),this[_0x412daf(0x198)][_0x412daf(0x162)](_0x21e086[_0x412daf(0x10e)],_0x21e086);}}this[_0x412daf(0x109)][_0x412daf(0x1a2)](_0x14fe9d);}}}}[_0x292222(0xfb)](_0x39964b,_0x54cae2,_0x4fbe15,_0x392a05){const _0x3dbd43=_0x292222;for(const _0x817d18 of _0x39964b){const _0x5ee98b=_0x54cae2[_0x817d18];if(_0x5ee98b==null)continue;const _0x5efc11=Object[_0x3dbd43(0x18d)](_0x5ee98b);for(const _0x23eb57 of _0x5efc11){const _0x9571d6=new _0x4e6ce5[(_0x3dbd43(0x10d))](_0x5ee98b[_0x23eb57]||{}),_0x6f7801=new Map();_0x9571d6[_0x3dbd43(0x12f)]((_0x1b228f,_0x10ac3e,_0x547ccd)=>{const _0x1e3045=_0x3dbd43;if(_0x547ccd==null)return!0x0;const {x:_0x3fe209=0x0,y:_0x4d943b=0x0,si:_0x1efbaa}=_0x547ccd;if(!(_0x3fe209===0x0&&_0x4d943b===0x0&&_0x1efbaa!=null))return!0x0;const _0x351fa1=this[_0x1e3045(0x143)](_0x817d18,_0x23eb57,_0x1b228f,_0x10ac3e,_0x4fbe15,_0x547ccd),_0x1107a0=this[_0x1e3045(0x109)]['getFormulaDependency'](_0x817d18,_0x23eb57,_0x1b228f,_0x10ac3e);_0x1107a0!=null?_0x351fa1[_0x1e3045(0x10e)]=_0x1107a0:(this[_0x1e3045(0x109)][_0x1e3045(0x183)](_0x817d18,_0x23eb57,_0x1b228f,_0x10ac3e,_0x351fa1),this[_0x1e3045(0x109)][_0x1e3045(0x178)](_0x351fa1)),_0x6f7801[_0x1e3045(0x162)](_0x1efbaa,_0x351fa1),_0x392a05[_0x1e3045(0x131)](_0x351fa1),this[_0x1e3045(0x198)][_0x1e3045(0x162)](_0x351fa1[_0x1e3045(0x10e)],_0x351fa1);}),_0x9571d6[_0x3dbd43(0x12f)]((_0x23dacb,_0x1570ca,_0x23bdc1)=>{const _0x3fc329=_0x3dbd43;if(_0x23bdc1==null)return!0x0;const {x:_0x545f1b=0x0,y:_0x288f01=0x0,si:_0x551ebb}=_0x23bdc1;if(_0x545f1b===0x0&&_0x288f01===0x0&&_0x551ebb!=null)return!0x0;let _0x6abfc5;if(_0x551ebb&&_0x6f7801[_0x3fc329(0x197)](_0x551ebb)){const _0x442b41=_0x6f7801['get'](_0x551ebb);_0x6abfc5=this[_0x3fc329(0x16b)](_0x442b41,_0x23bdc1);}else _0x6abfc5=this[_0x3fc329(0x143)](_0x817d18,_0x23eb57,_0x23dacb,_0x1570ca,_0x4fbe15,_0x23bdc1);const _0x21ec6a=this['_dependencyManagerService'][_0x3fc329(0x12a)](_0x817d18,_0x23eb57,_0x23dacb,_0x1570ca);_0x21ec6a!=null?_0x6abfc5[_0x3fc329(0x10e)]=_0x21ec6a:(this[_0x3fc329(0x109)][_0x3fc329(0x183)](_0x817d18,_0x23eb57,_0x23dacb,_0x1570ca,_0x6abfc5),this[_0x3fc329(0x109)][_0x3fc329(0x178)](_0x6abfc5)),_0x392a05['push'](_0x6abfc5),this[_0x3fc329(0x198)][_0x3fc329(0x162)](_0x6abfc5[_0x3fc329(0x10e)],_0x6abfc5);}),_0x6f7801[_0x3dbd43(0x142)]();}}}['_createFDtree'](_0x27fc1b,_0x21c09c,_0x30d9e1,_0x321e8a,_0x3657b8,_0x518057){const _0x946751=_0x292222,{f:_0x373c9c,x:_0x21f8df=0x0,y:_0x33a11c=0x0}=_0x518057,_0x44777f=new _0x18917e[(_0x946751(0x132))](_0x18917e[_0x946751(0x122)](this[_0x946751(0x109)])),_0x15884f=_0x3657b8[_0x27fc1b][_0x21c09c];return _0x44777f[_0x946751(0x181)]=_0x373c9c,_0x44777f[_0x946751(0x191)]=_0x27fc1b,_0x44777f[_0x946751(0x13d)]=_0x21c09c,_0x44777f[_0x946751(0x10a)]=_0x30d9e1,_0x44777f[_0x946751(0x105)]=_0x321e8a,_0x44777f['rowCount']=_0x15884f['rowCount'],_0x44777f['columnCount']=_0x15884f[_0x946751(0x17a)],_0x44777f;}['_getUpdateTreeListAndMakeDependency'](){const _0x525df6=_0x292222,_0x99f388=[],_0x399450=new Set(),_0x16c3be=this[_0x525df6(0x146)][_0x525df6(0x19c)](),_0x117636=this[_0x525df6(0x146)][_0x525df6(0x16c)](),_0x2b269a=this[_0x525df6(0x109)]['searchDependency'](_0x117636),_0x57ee02=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x117636);for(const _0x7d69d6 of _0x57ee02)_0x2b269a['add'](_0x7d69d6);for(const [_0x8d470c,_0xd687a8]of this['_dependencyTreeCache'])(_0x16c3be||_0xd687a8[_0x525df6(0x135)]||_0xd687a8[_0x525df6(0xdd)](this[_0x525df6(0x146)][_0x525df6(0xff)]())||_0x2b269a['has'](_0x8d470c)&&!_0xd687a8[_0x525df6(0x141)](this[_0x525df6(0x146)][_0x525df6(0x153)]()))&&!_0x399450[_0x525df6(0x197)](_0x8d470c)&&(_0x99f388[_0x525df6(0x131)](_0xd687a8),_0x399450[_0x525df6(0x168)](_0x8d470c));for(const [_0x2898ee,_0x28cb5a]of this[_0x525df6(0x198)])_0x28cb5a[_0x525df6(0x157)]||(_0x28cb5a['rangeList'][_0x525df6(0x196)]=0x0);return _0x99f388;}['_getTreeById'](_0x270db3){const _0x4f393e=_0x292222;return this[_0x4f393e(0x198)][_0x4f393e(0xe8)](_0x270db3);}[_0x292222(0x166)](_0x22185a){const _0x59eb7e=_0x292222;return _0x18917e['generateAstNode'](_0x22185a[_0x59eb7e(0x191)],_0x22185a[_0x59eb7e(0x181)],this['_lexer'],this['_astTreeBuilder'],this[_0x59eb7e(0x146)]);}*['_traverse'](_0xda2ed0,_0x45e5da){const _0x13322c=_0x292222,_0x1efed3=_0xda2ed0,_0x2c70ca=new Set();for(;_0x1efed3['length']>0x0;){const _0x3673bb=_0x1efed3[_0x13322c(0xef)]();if(_0x2c70ca['clear'](),_0x3673bb===void 0x0||_0x3673bb[_0x13322c(0x128)]())continue;if(_0x3673bb[_0x13322c(0x19e)]()){yield _0x3673bb,_0x3673bb[_0x13322c(0x123)](),_0x45e5da[_0x13322c(0x168)](_0x3673bb['treeId']);continue;}const _0x4baad8=this['_dependencyManagerService'][_0x13322c(0xed)](_0x3673bb['toRTreeItem'](),_0x45e5da),_0x36ca81=this[_0x13322c(0x116)][_0x13322c(0x1a5)](_0x3673bb[_0x13322c(0x102)](),_0x45e5da);for(const _0x3fa97e of _0x36ca81)_0x4baad8[_0x13322c(0x168)](_0x3fa97e);for(const _0x287ba9 of _0x4baad8){const _0xa2bcb3=this['_dependencyTreeCache'][_0x13322c(0xe8)](_0x287ba9);if(!_0xa2bcb3)throw new Error(_0x13322c(0x120));_0xa2bcb3['isAdded']()||_0x3673bb[_0x13322c(0x128)]()||_0x2c70ca[_0x13322c(0x168)](_0xa2bcb3);}if(_0x4baad8[_0x13322c(0x142)](),_0x2c70ca[_0x13322c(0xe9)]===0x0)yield _0x3673bb,_0x3673bb[_0x13322c(0x123)](),_0x45e5da[_0x13322c(0x168)](_0x3673bb[_0x13322c(0x10e)]);else{_0x3673bb['setAdded'](),_0x1efed3[_0x13322c(0x131)](_0x3673bb);for(const _0x1d14aa of _0x2c70ca)_0x1efed3[_0x13322c(0x131)](_0x1d14aa);}}_0x1efed3['length']=0x0,_0x2c70ca[_0x13322c(0x142)]();}[_0x292222(0x15a)](_0x3ad04c){const _0x210093=_0x292222,_0x38769e=[],_0x22bcbe=new Set();for(const _0x49a0b4 of this['_traverse'](_0x3ad04c,_0x22bcbe))_0x38769e[_0x210093(0x131)](_0x49a0b4);return _0x38769e;}}class _0x5a7a9f extends _0x18917e['CalculateFormulaService']{async[_0x292222(0x14a)](_0x10d566=!0x1){const _0x5461f5=_0x292222;_0x10d566?this[_0x5461f5(0x139)]['setFormulaExecuteStage'](_0x18917e[_0x5461f5(0xf5)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5461f5(0x139)][_0x5461f5(0x11b)](_0x18917e['FormulaExecuteStageType'][_0x5461f5(0x124)]),this[_0x5461f5(0xe6)]['next'](this[_0x5461f5(0x139)][_0x5461f5(0x18e)]());const _0x508abf=await this[_0x5461f5(0xe1)][_0x5461f5(0x114)](),_0x747d12=this['_interpreter'];_0x10d566?(this[_0x5461f5(0x139)]['setFormulaExecuteStage'](_0x18917e[_0x5461f5(0xf5)][_0x5461f5(0x150)]),this[_0x5461f5(0x139)][_0x5461f5(0x15d)](_0x508abf[_0x5461f5(0x196)])):(this[_0x5461f5(0x139)][_0x5461f5(0x11b)](_0x18917e[_0x5461f5(0xf5)][_0x5461f5(0x163)]),this[_0x5461f5(0x139)]['setTotalFormulasToCalculate'](_0x508abf[_0x5461f5(0x196)])),this[_0x5461f5(0xe6)][_0x5461f5(0x17c)](this[_0x5461f5(0x139)][_0x5461f5(0x18e)]());let _0x22759f=[];const _0x27dbfc=this[_0x5461f5(0x199)][_0x5461f5(0x136)](_0x18917e[_0x5461f5(0x148)]),_0x577394=(_0x27dbfc==null?void 0x0:_0x27dbfc[_0x5461f5(0x125)])||_0x18917e[_0x5461f5(0x119)];let _0x556747=0x0;const _0x2dbc16=_0x508abf[_0x5461f5(0x196)];for(;_0x508abf[_0x5461f5(0x196)]>0x0;){const _0x20d11e=_0x508abf[_0x5461f5(0xef)](),_0x15a481={'node':_0x18917e[_0x5461f5(0xe2)](_0x20d11e['unitId'],_0x20d11e[_0x5461f5(0x181)],this[_0x5461f5(0xec)],this[_0x5461f5(0xfa)],this[_0x5461f5(0x146)]),'refOffsetX':_0x20d11e[_0x5461f5(0x179)],'refOffsetY':_0x20d11e[_0x5461f5(0x177)]},_0x81b2fd=_0x20d11e['getDirtyData'];if(_0x556747%_0x577394===0x0&&(await new Promise(_0x270da2=>{const _0x519ee9=_0x5461f5,_0x17e092=_0x4e6ce5[_0x519ee9(0xdf)](_0x270da2);_0x22759f[_0x519ee9(0x131)](_0x17e092);}),_0x10d566?(this[_0x5461f5(0x139)]['setFormulaExecuteStage'](_0x18917e[_0x5461f5(0xf5)][_0x5461f5(0x1a4)]),this[_0x5461f5(0x139)][_0x5461f5(0x176)](_0x556747+0x1)):(this[_0x5461f5(0x139)]['setFormulaExecuteStage'](_0x18917e['FormulaExecuteStageType'][_0x5461f5(0x172)]),this[_0x5461f5(0x139)][_0x5461f5(0x165)](_0x556747+0x1)),this[_0x5461f5(0xe6)][_0x5461f5(0x17c)](this[_0x5461f5(0x139)][_0x5461f5(0x18e)]()),this[_0x5461f5(0x139)][_0x5461f5(0xf9)]()||_0x15a481==null&&_0x81b2fd==null)){this['_runtimeService'][_0x5461f5(0x11b)](_0x18917e[_0x5461f5(0xf5)][_0x5461f5(0x17f)]),this['_runtimeService'][_0x5461f5(0x151)](),this[_0x5461f5(0x115)][_0x5461f5(0x17c)](this[_0x5461f5(0x139)][_0x5461f5(0xfc)]());return;}this[_0x5461f5(0x139)]['setCurrent'](_0x20d11e[_0x5461f5(0x10a)],_0x20d11e[_0x5461f5(0x105)],_0x20d11e[_0x5461f5(0x187)],_0x20d11e[_0x5461f5(0x17a)],_0x20d11e[_0x5461f5(0x13d)],_0x20d11e['unitId']);let _0x584aa9;if(_0x81b2fd!=null&&_0x20d11e[_0x5461f5(0xf3)]!=null){const {runtimeCellData:_0x5ae571,dirtyRanges:_0x1c5b65}=_0x81b2fd(this[_0x5461f5(0x146)][_0x5461f5(0x175)](),this['_runtimeService'][_0x5461f5(0xfc)]());this[_0x5461f5(0x139)][_0x5461f5(0x127)](_0x20d11e[_0x5461f5(0xf3)],_0x5ae571),this['_runtimeService']['setRuntimeFeatureRange'](_0x20d11e[_0x5461f5(0xf3)],_0x1c5b65);}else _0x15a481!=null&&(_0x747d12[_0x5461f5(0x15f)](_0x15a481[_0x5461f5(0x169)])?_0x584aa9=await _0x747d12[_0x5461f5(0xeb)](_0x15a481):_0x584aa9=_0x747d12[_0x5461f5(0x164)](_0x15a481),_0x20d11e[_0x5461f5(0x138)]!=null?this[_0x5461f5(0x139)][_0x5461f5(0x108)](_0x20d11e[_0x5461f5(0x138)],_0x20d11e[_0x5461f5(0x179)],_0x20d11e['refOffsetY'],_0x584aa9):this[_0x5461f5(0x139)][_0x5461f5(0x186)](_0x584aa9));_0x556747++;}return _0x22759f['forEach'](_0x14bd1f=>_0x14bd1f()),_0x22759f=[],_0x2dbc16>0x0?this['_runtimeService'][_0x5461f5(0x13a)]():_0x10d566||this['_runtimeService'][_0x5461f5(0x195)](),this['_runtimeService'][_0x5461f5(0xfc)]();}}class _0x3160f1 extends _0x18917e[_0x292222(0x182)]{constructor(){const _0x30ee23=_0x292222;super(...arguments),_0x3ebc33(this,_0x30ee23(0xf2),new Map()),_0x3ebc33(this,_0x30ee23(0x149),new _0x4e6ce5['RTree'](!0x0));}[_0x292222(0x18a)](){const _0x408e23=_0x292222;this[_0x408e23(0x118)][_0x408e23(0x142)](),this[_0x408e23(0x11e)][_0x408e23(0x142)](),this[_0x408e23(0xfd)][_0x408e23(0x142)](),this[_0x408e23(0x149)][_0x408e23(0x142)](),this[_0x408e23(0xf2)]['clear'](),this[_0x408e23(0x104)](),this[_0x408e23(0x18f)]['clear']();}[_0x292222(0x12e)](_0xf7d9a9,_0x35f099,_0x137b00,_0xf0523c){const _0x7fa389=_0x292222;this[_0x7fa389(0x118)][_0x7fa389(0x197)](_0xf7d9a9)||this[_0x7fa389(0x118)]['set'](_0xf7d9a9,new Map());const _0x1f5a76=this['_otherFormulaData'][_0x7fa389(0xe8)](_0xf7d9a9);_0x1f5a76['has'](_0x35f099)||_0x1f5a76['set'](_0x35f099,new Map());const _0x492859=_0x1f5a76[_0x7fa389(0xe8)](_0x35f099);_0x492859[_0x7fa389(0x197)](_0x137b00)||_0x492859['set'](_0x137b00,new _0x4e6ce5[(_0x7fa389(0x10d))]()),_0x492859[_0x7fa389(0xe8)](_0x137b00)[_0x7fa389(0x100)](_0xf0523c[_0x7fa389(0x179)],_0xf0523c[_0x7fa389(0x177)],_0xf0523c['treeId']);}[_0x292222(0x188)](_0x1dc2c1,_0x4f66bf,_0x4afd49){const _0x5bca3d=_0x292222,_0xdb62ee=this[_0x5bca3d(0x118)]['get'](_0x1dc2c1);if(_0xdb62ee&&_0xdb62ee[_0x5bca3d(0x197)](_0x4f66bf)){const _0x2a04d6=_0xdb62ee[_0x5bca3d(0xe8)](_0x4f66bf);_0x4afd49[_0x5bca3d(0x194)](_0x23b263=>{const _0x3dc332=_0x5bca3d,_0x1bb5c2=_0x2a04d6[_0x3dc332(0xe8)](_0x23b263);_0x1bb5c2!=null&&(_0x1bb5c2[_0x3dc332(0x12f)]((_0x4a71a4,_0x220ad9,_0x5ec3d3)=>{const _0x258018=_0x3dc332;this[_0x258018(0x14c)](_0x5ec3d3),this['_removeAllTreeMap'](_0x5ec3d3);}),_0x2a04d6[_0x3dc332(0x121)](_0x23b263),this[_0x3dc332(0x18f)][_0x3dc332(0x121)](_0x23b263));}),_0x2a04d6[_0x5bca3d(0xe9)]===0x0&&_0xdb62ee[_0x5bca3d(0x121)](_0x4f66bf),_0xdb62ee[_0x5bca3d(0xe9)]===0x0&&this[_0x5bca3d(0x118)][_0x5bca3d(0x121)](_0x1dc2c1);}}['clearOtherFormulaDependency'](_0x5c3729,_0x62d14f){const _0x2bff2c=_0x292222,_0x192511=this[_0x2bff2c(0x118)][_0x2bff2c(0xe8)](_0x5c3729);if(_0x62d14f&&_0x192511&&_0x192511[_0x2bff2c(0x197)](_0x62d14f)){const _0x15069f=_0x192511['get'](_0x62d14f);this[_0x2bff2c(0xe0)](_0x5c3729,_0x62d14f);for(const _0x7eaf60 of _0x15069f[_0x2bff2c(0x18d)]()){const _0x2a27e2=_0x15069f['get'](_0x7eaf60);_0x2a27e2!=null&&(_0x2a27e2[_0x2bff2c(0x12f)]((_0x2c5b4b,_0x1da4b1,_0x4a58a9)=>{const _0x5c1a74=_0x2bff2c;this['_allTreeMap'][_0x5c1a74(0xe8)](_0x4a58a9)&&this[_0x5c1a74(0xe5)](_0x4a58a9);}),this[_0x2bff2c(0x18f)][_0x2bff2c(0x121)](_0x7eaf60));}_0x15069f[_0x2bff2c(0x142)]();}else{if(_0x192511){for(const _0x527d59 of _0x192511[_0x2bff2c(0x18d)]()){const _0x566300=_0x192511[_0x2bff2c(0xe8)](_0x527d59);this[_0x2bff2c(0xe0)](_0x5c3729,_0x527d59);for(const _0x3f3d51 of _0x566300['keys']()){const _0x10f121=_0x566300['get'](_0x3f3d51);_0x10f121!=null&&(_0x10f121['forValue']((_0x45bd50,_0x21eb21,_0x38cae3)=>{const _0x16afc8=_0x2bff2c;this['_allTreeMap'][_0x16afc8(0xe8)](_0x38cae3)&&this[_0x16afc8(0xe5)](_0x38cae3);}),this[_0x2bff2c(0x18f)][_0x2bff2c(0x121)](_0x3f3d51));}}this['_otherFormulaData'][_0x2bff2c(0x121)](_0x5c3729);}}}[_0x292222(0x10f)](_0x12c634,_0x13f13f,_0x398bfa,_0x534867){const _0x4ece1f=_0x292222;this[_0x4ece1f(0x11e)]['has'](_0x12c634)||this['_featureFormulaData'][_0x4ece1f(0x162)](_0x12c634,new Map());const _0x3bfef4=this[_0x4ece1f(0x11e)][_0x4ece1f(0xe8)](_0x12c634);_0x3bfef4[_0x4ece1f(0x197)](_0x13f13f)||_0x3bfef4[_0x4ece1f(0x162)](_0x13f13f,new Map()),_0x3bfef4[_0x4ece1f(0xe8)](_0x13f13f)[_0x4ece1f(0x162)](_0x398bfa,_0x534867[_0x4ece1f(0x10e)]);}[_0x292222(0x184)](_0x693adb,_0x1d3eac,_0x5c4ebd){const _0x1d3a47=_0x292222,_0x280bb2=this[_0x1d3a47(0x11e)]['get'](_0x693adb);if(_0x280bb2&&_0x280bb2[_0x1d3a47(0x197)](_0x1d3eac)){const _0x3dff7f=_0x280bb2[_0x1d3a47(0xe8)](_0x1d3eac);_0x5c4ebd['forEach'](_0x58d8d2=>{const _0x31a3fc=_0x1d3a47,_0x5078b3=_0x3dff7f[_0x31a3fc(0xe8)](_0x58d8d2);_0x5078b3!=null&&(this['_removeDependencyRTreeCache'](_0x5078b3),_0x3dff7f[_0x31a3fc(0x121)](_0x58d8d2),this[_0x31a3fc(0xe5)](_0x5078b3));});}}['clearFeatureFormulaDependency'](_0x913845,_0x5e9496){const _0x3d1613=_0x292222,_0x138fa8=this['_featureFormulaData']['get'](_0x913845);if(_0x5e9496&&_0x138fa8&&_0x138fa8['has'](_0x5e9496)){const _0x2d960d=_0x138fa8[_0x3d1613(0xe8)](_0x5e9496);this[_0x3d1613(0xe0)](_0x913845,_0x5e9496),_0x2d960d['forEach'](_0x3e5a63=>{_0x3e5a63!=null&&this['_removeAllTreeMap'](_0x3e5a63);}),_0x2d960d[_0x3d1613(0x142)]();}else _0x138fa8&&(_0x138fa8[_0x3d1613(0x194)]((_0x480f63,_0x1af226)=>{const _0x1f4332=_0x3d1613;this['_removeDependencyRTreeCacheById'](_0x913845,_0x1af226),_0x480f63[_0x1f4332(0x194)](_0x246b18=>{_0x246b18!=null&&this['_removeAllTreeMap'](_0x246b18);});}),this[_0x3d1613(0x11e)]['delete'](_0x913845));}[_0x292222(0x183)](_0x5b5c3a,_0x4bfdd3,_0x5a665b,_0x3e7ea3,_0x2b922a){const _0x30bb73=_0x292222;this['_formulaData']['has'](_0x5b5c3a)||this[_0x30bb73(0xfd)][_0x30bb73(0x162)](_0x5b5c3a,new Map());const _0x243574=this['_formulaData']['get'](_0x5b5c3a);_0x243574[_0x30bb73(0x197)](_0x4bfdd3)||_0x243574['set'](_0x4bfdd3,new _0x4e6ce5[(_0x30bb73(0x10d))]()),_0x243574[_0x30bb73(0xe8)](_0x4bfdd3)[_0x30bb73(0x100)](_0x5a665b,_0x3e7ea3,_0x2b922a['treeId']);}[_0x292222(0x111)](_0x17b7ba,_0x2aa339,_0x2568a3,_0x43b810){const _0x240fe9=_0x292222,_0x4b2f8f=this[_0x240fe9(0xfd)][_0x240fe9(0xe8)](_0x17b7ba);if(_0x4b2f8f&&_0x4b2f8f['has'](_0x2aa339)){const _0x4e5f62=_0x4b2f8f['get'](_0x2aa339),_0x3bcf7a=_0x4e5f62[_0x240fe9(0xf6)](_0x2568a3,_0x43b810);if(_0x3bcf7a==null)return;this[_0x240fe9(0x14c)](_0x3bcf7a),_0x4e5f62[_0x240fe9(0x103)](_0x2568a3,_0x43b810),this[_0x240fe9(0xe5)](_0x3bcf7a);}}[_0x292222(0x159)](_0x223b5f,_0x43052d){const _0x4c5d9f=_0x292222,_0x1155ce=this[_0x4c5d9f(0xfd)][_0x4c5d9f(0xe8)](_0x223b5f);if(_0x43052d&&_0x1155ce&&_0x1155ce[_0x4c5d9f(0x197)](_0x43052d)){const _0x2a9096=_0x1155ce[_0x4c5d9f(0xe8)](_0x43052d);this[_0x4c5d9f(0xe0)](_0x223b5f,_0x43052d),_0x2a9096[_0x4c5d9f(0x12f)]((_0xfe6a8b,_0x266ed3,_0x2618df)=>{const _0x135999=_0x4c5d9f;if(_0x2618df==null)return!0x0;this[_0x135999(0xe5)](_0x2618df);}),_0x2a9096[_0x4c5d9f(0x18a)]();}else _0x1155ce&&(_0x1155ce['forEach']((_0x4c88f6,_0x552ba1)=>{const _0x14185f=_0x4c5d9f;this[_0x14185f(0xe0)](_0x223b5f,_0x552ba1),_0x4c88f6[_0x14185f(0x12f)]((_0x4008d7,_0x7addf5,_0x11792a)=>{const _0x5e1489=_0x14185f;if(_0x11792a==null)return!0x0;this[_0x5e1489(0xe5)](_0x11792a);});}),this[_0x4c5d9f(0xfd)][_0x4c5d9f(0x121)](_0x223b5f));}['_removeDependencyRTreeCache'](_0x3710fe){const _0x318e4b=_0x292222;if(_0x3710fe==null)return;const _0x281215=this[_0x318e4b(0xf2)][_0x318e4b(0xe8)](_0x3710fe);if(_0x281215){const _0x45e113=[];for(const [_0x974233,_0x102dd7]of _0x281215)for(const [_0x588916,_0x3fc466]of _0x102dd7)_0x45e113['push']({'unitId':_0x974233,'sheetId':_0x588916,'range':_0x3fc466,'id':_0x3710fe});this['_dependencyRTreeCache']['bulkRemove'](_0x45e113);}}[_0x292222(0x129)](_0x233788,_0x3be4af){const _0x278720=_0x292222,_0xb29a82=this['_definedNameMap'][_0x278720(0xe8)](_0x233788);if(_0xb29a82){const _0x4e3b44=_0xb29a82[_0x278720(0xe8)](_0x3be4af);if(_0x4e3b44){for(const _0x982427 of _0x4e3b44)this[_0x278720(0x14c)](_0x982427),this['_removeAllTreeMap'](_0x982427);_0x4e3b44['clear']();}}}[_0x292222(0x133)](){const _0x5c3dac=_0x292222;this[_0x5c3dac(0x149)]['openKdTree']();}[_0x292222(0x134)](){const _0x5d769d=_0x292222;this['_dependencyRTreeCache'][_0x5d769d(0x134)]();}[_0x292222(0xe5)](_0xae554e){const _0x167616=_0x292222;_0xae554e!=null&&this[_0x167616(0xf2)][_0x167616(0x121)](_0xae554e);}[_0x292222(0xe4)](_0x46b7f7){const _0x401f74=_0x292222;var _0x34e53d,_0x502d7e;const _0x450b21=_0x46b7f7['rangeList'];let _0x526503=this[_0x401f74(0xf2)][_0x401f74(0xe8)](_0x46b7f7['treeId']);for(let _0x575bbd=0x0;_0x575bbd<_0x450b21[_0x401f74(0x196)];_0x575bbd++){const _0x703850=_0x450b21[_0x575bbd];let {unitId:_0xdd8d08,sheetId:_0x4ce9ad,range:_0x427ed1}=_0x703850;_0x526503||(_0x526503=new Map(),this['_allTreeMap'][_0x401f74(0x162)](_0x46b7f7[_0x401f74(0x10e)],_0x526503)),_0x526503[_0x401f74(0x197)](_0xdd8d08)||_0x526503[_0x401f74(0x162)](_0xdd8d08,new Map());const _0x261523=(_0x34e53d=_0x526503==null?void 0x0:_0x526503[_0x401f74(0xe8)](_0xdd8d08))==null?void 0x0:_0x34e53d['get'](_0x4ce9ad);_0x261523&&(_0x427ed1={'startRow':Math[_0x401f74(0x155)](_0x427ed1[_0x401f74(0x12d)],_0x261523[_0x401f74(0x12d)]),'startColumn':Math['min'](_0x427ed1[_0x401f74(0x13b)],_0x261523[_0x401f74(0x13b)]),'endRow':Math[_0x401f74(0x144)](_0x427ed1[_0x401f74(0x11c)],_0x261523[_0x401f74(0x11c)]),'endColumn':Math['max'](_0x427ed1[_0x401f74(0xdc)],_0x261523[_0x401f74(0xdc)])}),(_0x502d7e=_0x526503[_0x401f74(0xe8)](_0xdd8d08))==null||_0x502d7e['set'](_0x4ce9ad,_0x427ed1);}}}var _0x2aa653=Object[_0x292222(0x11f)],_0x744dfb=(_0x432bb1,_0x7cd07e,_0x11552a,_0x51ebda)=>{const _0x3fc5ac=_0x292222;for(var _0x43f250=_0x51ebda>0x1?void 0x0:_0x51ebda?_0x2aa653(_0x7cd07e,_0x11552a):_0x7cd07e,_0x83ac62=_0x432bb1[_0x3fc5ac(0x196)]-0x1,_0x561540;_0x83ac62>=0x0;_0x83ac62--)(_0x561540=_0x432bb1[_0x83ac62])&&(_0x43f250=_0x561540(_0x43f250)||_0x43f250);return _0x43f250;};const _0x1ef14d=Number[_0x292222(0x145)](0x685e54f6);_0x1ed1db[_0x292222(0xde)]=class extends _0x18917e[_0x292222(0x1a1)]{[_0x292222(0x171)](){const _0x2c9535=_0x292222;var _0x400525,_0x43da1a;this[_0x2c9535(0x170)]()?(_0x400525=this[_0x2c9535(0xfe)])!=null&&_0x400525[_0x2c9535(0xe7)]||[[_0x18917e[_0x2c9535(0x152)],{'useClass':_0x5a7a9f}],[_0x18917e[_0x2c9535(0x190)],{'useClass':_0x3160f1}],[_0x18917e['IFormulaDependencyGenerator'],{'useClass':_0x4f9e0b}]][_0x2c9535(0x194)](_0x49a83f=>this[_0x2c9535(0x160)][_0x2c9535(0x168)](_0x49a83f)):(_0x43da1a=this['_config'])!=null&&_0x43da1a[_0x2c9535(0xe7)]||[[_0x18917e[_0x2c9535(0x152)],{'useClass':_0x18917e[_0x2c9535(0x106)]}],[_0x18917e[_0x2c9535(0x190)],{'useClass':_0x18917e[_0x2c9535(0x180)]}],[_0x18917e['IFormulaDependencyGenerator'],{'useClass':_0x18917e[_0x2c9535(0x192)]}]][_0x2c9535(0x194)](_0xd4ae67=>this[_0x2c9535(0x160)][_0x2c9535(0x168)](_0xd4ae67));}[_0x292222(0x170)](){const _0x50e824=_0x292222;var _0x25d1d2;const _0x31504c=(_0x25d1d2=this[_0x50e824(0x199)][_0x50e824(0x136)](_0x3d193f[_0x50e824(0x15e)]))!=null?_0x25d1d2:{},{ls:_0x131efc,pbk:_0x1fd2b6}=_0x31504c;if(!_0x131efc||!_0x1fd2b6)return!0x1;const _0x3ea345=_0x3d193f[_0x50e824(0xf8)](_0x2e9958,_0x36c9e1),_0x1b93bb=new Function(_0x50e824(0x19f)+_0x3ea345)()(_0x131efc,_0x1fd2b6),_0x3922c1=_0x1b93bb['message'];return _0x1b93bb[_0x50e824(0x101)]&&_0x3d193f[_0x50e824(0xe3)](_0x3922c1,'sf',_0x1ef14d)?_0x3d193f[_0x50e824(0x1a6)](_0x3922c1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x1ed1db['UniverProFormulaEnginePlugin']=_0x744dfb([_0x4e6ce5[_0x292222(0x167)](_0x3d193f[_0x292222(0x110)])],_0x1ed1db[_0x292222(0xde)]),Object[_0x292222(0x18d)](_0x18917e)['forEach'](_0x1b6b79=>{const _0x573dea=_0x292222;_0x1b6b79!==_0x573dea(0x130)&&!Object[_0x573dea(0x16d)][_0x573dea(0x189)][_0x573dea(0x14f)](_0x1ed1db,_0x1b6b79)&&Object[_0x573dea(0x12c)](_0x1ed1db,_0x1b6b79,{'enumerable':!0x0,'get':()=>_0x18917e[_0x1b6b79]});}),Object[_0x292222(0x12c)](_0x1ed1db,Symbol[_0x292222(0x13e)],{'value':_0x292222(0x19b)});}));function _0x3f5e(){const _0x52f0d9=['getUnitData','forEach','markedAsNoFunctionsExecuted','length','has','_dependencyTreeCache','_configService','@univerjs/core','Module','isForceCalculate','dispose','isAdded','return\x20','5695096bXXpKc','UniverFormulaEnginePlugin','addOtherFormulaDependencyMainData','_getFirstCellOfRange','CURRENTLY_CALCULATING_ARRAY_FORMULA','bulkSearch','getSheetFeatureLimit','endColumn','dependencySheetName','UniverProFormulaEnginePlugin','requestImmediateMacroTask','_removeDependencyRTreeCacheById','_formulaDependencyGenerator','generateAstNode','isFeatureAuthorizedWithinTime','_addAllTreeMap','_removeAllTreeMap','_executionInProgressListener$','notExecuteFormula','get','size','_otherFormulaManagerService','executeAsync','_lexer','searchDependency','FEATURE_FORMULA','pop','featureDirtyRanges','clearOtherFormulaDependency','_allTreeMap','featureId','getOtherFormulaDependency','FormulaExecuteStageType','getValue','17WsmyAY','unshiftString','isStopExecution','_astTreeBuilder','_registerFormulas','getAllRuntimeData','_formulaData','_config','getDirtyNameMap','setValue','valid','toRTreeItem','realDeleteValue','_restDependencyTreeId','column','CalculateFormulaService','80366CaNNuZ','setRuntimeOtherData','_dependencyManagerService','row','UniverEngineFormula','symbol','ObjectMatrix','treeId','addFeatureFormulaDependency','UniverLicensePlugin','removeFormulaDependency','_generateTreeList','resolve','generate','_executionCompleteListener$','_dependencyRTreeCacheForAddressFunction','_isCyclicUtilMap','_otherFormulaData','DEFAULT_INTERVAL_COUNT','184900PcCLrJ','setFormulaExecuteStage','endRow','FormulaDependencyTreeType','_featureFormulaData','getOwnPropertyDescriptor','ParentDependencyTree\x20object\x20is\x20null','delete','generateRandomDependencyTreeId','setSkip','START_DEPENDENCY','intervalCount','21ntlqfc','setRuntimeFeatureCellData','isSkip','removeFormulaDependencyByDefinedName','getFormulaDependency','_convertDirtyRangesToUnitRange','defineProperty','startRow','addOtherFormulaDependency','forValue','default','push','FormulaDependencyTree','openKdTree','closeKdTree','isDirty','getConfig','52886jHwtgA','formulaId','_runtimeService','markedAsSuccessfullyExecuted','startColumn','amd','subUnitId','toStringTag','@univerjs-pro/license','isCache','isExcludeRange','clear','_createFDtree','max','parseInt','_currentConfigService','UniverProEngineFormula','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_dependencyRTreeCache','_apply','_getUpdateTreeListAndMakeDependency','_removeDependencyRTreeCache','type','object','call','START_CALCULATION_ARRAY_FORMULA','markedAsStopFunctionsExecuted','ICalculateFormulaService','getExcludedRange','exports','min','_updateRangeFlatten','isVirtual','UniverCore','clearFormulaDependency','_calculateRunList','4316646VKGYGM','1240lsRmqB','setTotalArrayFormulasToCalculate','LS_CONFIG_KEY','checkAsyncNode','_injector','function','set','START_CALCULATION','execute','setCompletedFormulasCount','_getTreeNode','DependentOn','add','node','2312070SWuEIg','_createVirtualFDtree','getDirtyRanges','prototype','getFormulaData','clearFeatureFormulaDependency','_initLicenseValid','_initializeWithOverride','CURRENTLY_CALCULATING','dirtyRanges','570348VhiDuC','getDirtyData','setCompletedArrayFormulasCount','refOffsetY','addFormulaDependencyByDefinedName','refOffsetX','columnCount','L19ENHP9\x20MeEI4CNHP9(zHEe9de,\x20C1izHExe4)\x20{\x20\x20\x20\x20NI4\x20{\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20zHEe9dey9LPcUINXIIU4\x20=\x20zHEe9de.dCzHN(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20PIH0H9FeddU0e\x20=\x20YAQs.CUIde(UNPi(zHEe9dey9LPcUINXIIU4[7]));\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!PIH0H9FeddU0e.1M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PIH0H9FeddU0e.1M\x20=\x20s1jieI(zHEe9dey9LPcUINXIIU4[n]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20Hd2PIVeI\x20=\x20N4CePL\x202PIVeIJzPiUzAEPCe\x20!==\x20\x2719MeLH9eM\x27\x20&&\x20dezL\x20H9dNU9EePL\x202PIVeIJzPiUzAEPCe;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20EP9NeuN\x20=\x20Hd2PIVeI\x20?\x20dezL\x20:\x20TH9MPT;\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[7]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20jeddU0e\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(jeddU0e2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie2PIM\x20=\x20EP9NeuN.__mUdeWn__.CUIde(zHEe9dey9LPcUINXIIU4[t]);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09UN1Ie\x20=\x20EP9NeuN.__6eu__.dNIH90HL4(dH09UN1Ie2PIM);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20dH09kUzHM\x20=\x20EP9NeuN.__OeIHL4__(dH09UN1Ie,\x20jeddU0e,\x20C1izHExe4);\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20MPjUH9\x20=\x20PIH0H9FeddU0e.Mj;\x20\x20\x20\x20\x20\x20\x20\x20L19ENHP9\x20HdDPjUH9FUNEaH90(PcUNNeI9,\x20P6PdN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9\x20=\x20PcUNNeI9.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdN\x20=\x20P6PdN.IeCzUEe(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9cUINd\x20=\x20CUNNeI9.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNcUINd\x20=\x20aPdN.dCzHN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(!CUNNeI9.H9Ez1Med(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9\x20===\x20aPdN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(CUNNeI9cUINd.ze90Na\x20<\x207\x20||\x20CUNNeI9cUINd[g]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20LUzde;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20CUNNeI9A1LLHu\x20=\x20CUNNeI9cUINd.dzHEe(l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20aPdNA1LLHu\x20=\x20aPdNcUINd.dzHEe(-CUNNeI9cUINd.ze90Na\x20+\x20l).3PH9(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20CUNNeI9A1LLHu\x20===\x20aPdNA1LLHu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zeN\x20MPjUH9kUzHM\x20=\x20(MPjUH9\x20&&\x20MPjUH9.ze90Na)\x20?\x20MPjUH9.dPje((MjyNej)\x20=>\x20HdDPjUH9FUNEaH90(MjyNej,\x20zPEUNHP9.aPdN9Uje))\x20:\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20HL\x20(zPEUNHP9.aPdN9Uje\x20===\x20\x27zPEUzaPdN\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MPjUH9kUzHM\x20=\x20NI1e;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EP9dN\x20OUzHM\x20=\x20dH09kUzHM\x20&&\x20MPjUH9kUzHM;\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20PIH0H9FeddU0e,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20EUNEa\x20(eIIPI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IeN1I9\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OUzHM:\x20LUzde,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jeddU0e:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','next','OTHER_FORMULA','_checkIsCycleDependency','IDLE','DependencyManagerService','formula','DependencyManagerBaseService','addFormulaDependency','removeFeatureFormulaDependency','@univerjs/engine-formula','setRuntimeData','rowCount','removeOtherFormulaDependency','hasOwnProperty','reset','7SgrSIf','refTree','keys','getRuntimeState','_otherFormulaDataMainData','IDependencyManagerService','unitId','FormulaDependencyGenerator'];_0x3f5e=function(){return _0x52f0d9;};return _0x3f5e();}
1
+ function _0x5714(_0x559dc7,_0x3d740a){const _0x3b4785=_0x3b47();return _0x5714=function(_0x571404,_0x44e52c){_0x571404=_0x571404-0x17a;let _0x2bd60f=_0x3b4785[_0x571404];return _0x2bd60f;},_0x5714(_0x559dc7,_0x3d740a);}(function(_0x505483,_0x2e8cfd){const _0x3e976a=_0x5714,_0x35f177=_0x505483();while(!![]){try{const _0x38bf0e=-parseInt(_0x3e976a(0x1aa))/0x1*(-parseInt(_0x3e976a(0x20a))/0x2)+parseInt(_0x3e976a(0x1a4))/0x3+-parseInt(_0x3e976a(0x1c4))/0x4*(parseInt(_0x3e976a(0x1d0))/0x5)+parseInt(_0x3e976a(0x208))/0x6*(parseInt(_0x3e976a(0x232))/0x7)+-parseInt(_0x3e976a(0x231))/0x8*(parseInt(_0x3e976a(0x215))/0x9)+-parseInt(_0x3e976a(0x1e8))/0xa+parseInt(_0x3e976a(0x18d))/0xb;if(_0x38bf0e===_0x2e8cfd)break;else _0x35f177['push'](_0x35f177['shift']());}catch(_0xa1b4a9){_0x35f177['push'](_0x35f177['shift']());}}}(_0x3b47,0x32abf),function(_0x1ad4a3,_0x3a0fce){const _0x36c6c3=_0x5714;typeof exports=='object'&&typeof module<'u'?_0x3a0fce(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x36c6c3(0x1e1)&&define[_0x36c6c3(0x210)]?define([_0x36c6c3(0x194),_0x36c6c3(0x187),_0x36c6c3(0x1c3),_0x36c6c3(0x1fa)],_0x3a0fce):(_0x1ad4a3=typeof globalThis<'u'?globalThis:_0x1ad4a3||self,_0x3a0fce(_0x1ad4a3['UniverProEngineFormula']={},_0x1ad4a3[_0x36c6c3(0x22a)],_0x1ad4a3[_0x36c6c3(0x1cf)],_0x1ad4a3[_0x36c6c3(0x1b3)]));}(this,function(_0x3bd1c3,_0x3df8e4,_0x29fc51,_0x39d614){'use strict';const _0x31bc7c=_0x5714;var _0x214fb6=Object[_0x31bc7c(0x18f)],_0x5da0f8=(_0x3876b9,_0xf759f8,_0x38b2aa)=>_0xf759f8 in _0x3876b9?_0x214fb6(_0x3876b9,_0xf759f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b2aa}):_0x3876b9[_0xf759f8]=_0x38b2aa,_0x2c82be=(_0x1ea7ae,_0x45ad9d,_0x3c1fa1)=>_0x5da0f8(_0x1ea7ae,typeof _0x45ad9d!=_0x31bc7c(0x17d)?_0x45ad9d+'':_0x45ad9d,_0x3c1fa1);const _0x3dc583={0x0:'l',0x1:'U',0x2:'9',0x3:'Y',0x4:'6',0x5:'I',0x6:'z',0x7:'k',0x8:'W',0x9:'v','D':'0','J':'1','t':'2','G':'3','s':'4','v':'5','x':'7','P':'8','e':'a','E':'b','n':'c','S':'d','N':'e','C':'f','W':'g','I':'h','w':'i','X':'j','f':'m','L':'n','M':'o','l':'p','q':'q','z':'r','U':'s','H':'t','r':'u','K':'w','Z':'x','g':'y','R':'A','o':'B','y':'C','j':'D','Q':'E','A':'F','B':'G','h':'H','b':'J','T':'K','a':'L','c':'M','k':'N','i':'O','p':'P','d':'Q','O':'R','m':'S','F':'T','Y':'V','V':'X','u':'Z'},_0x5e9788='CrLnHwML\x20SNnzglHwML(0wnNLUN,\x20lrE0wnTNg)\x20{\x20\x20\x20\x20Hzg\x20{\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x200wnNLUN5LCMpezHRzzeg\x20=\x200wnNLUN.Ul0wH(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20MzwWwLcNUUeWN\x20=\x20bmik.lezUN(eHME(0wnNLUN5LCMpezHRzzeg[t]));\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!MzwWwLcNUUeWN.rS)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MzwWwLcNUUeWN.rS\x20=\x20krfENz(0wnNLUN5LCMpezHRzzeg[s]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20wU8Mz7Nz\x20=\x20HglNMC\x208Mz7NzB0MEe0mnMlN\x20!==\x20\x27rLSNCwLNS\x27\x20&&\x20UN0C\x20wLUHeLnNMC\x208Mz7NzB0MEe0mnMlN;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20nMLHNZH\x20=\x20wU8Mz7Nz\x20?\x20UN0C\x20:\x20KwLSMK;\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[t]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20fNUUeWN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(fNUUeWN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN8MzS\x20=\x20nMLHNZH.__oeUN4s__.lezUN(0wnNLUN5LCMpezHRzzeg[G]);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLeHrzN\x20=\x20nMLHNZH.__hNZ__.UHzwLWwCg(UwWLeHrzN8MzS);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20UwWLYe0wS\x20=\x20nMLHNZH.__9NzwCg__(UwWLeHrzN,\x20fNUUeWN,\x20lrE0wnTNg);\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20SMfewL\x20=\x20MzwWwLcNUUeWN.Sf;\x20\x20\x20\x20\x20\x20\x20\x20CrLnHwML\x20wUjMfewLceHnIwLW(MpeHHNzL,\x20MhMUH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzL\x20=\x20MpeHHNzL.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUH\x20=\x20MhMUH.zNl0enN(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLpezHU\x20=\x20leHHNzL.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHpezHU\x20=\x20IMUH.Ul0wH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(!leHHNzL.wLn0rSNU(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzL\x20===\x20IMUH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(leHHNzLpezHU.0NLWHI\x20<\x20t\x20||\x20leHHNzLpezHU[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20Ce0UN;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20leHHNzLmrCCwZ\x20=\x20leHHNzLpezHU.U0wnN(J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x20IMUHmrCCwZ\x20=\x20IMUHpezHU.U0wnN(-leHHNzLpezHU.0NLWHI\x20+\x20J).XMwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20leHHNzLmrCCwZ\x20===\x20IMUHmrCCwZ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200NH\x20SMfewLYe0wS\x20=\x20(SMfewL\x20&&\x20SMfewL.0NLWHI)\x20?\x20SMfewL.UMfN((Sf5HNf)\x20=>\x20wUjMfewLceHnIwLW(Sf5HNf,\x200MneHwML.IMUHLefN))\x20:\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20wC\x20(0MneHwML.IMUHLefN\x20===\x20\x270Mne0IMUH\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SMfewLYe0wS\x20=\x20HzrN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nMLUH\x209e0wS\x20=\x20UwWLYe0wS\x20&&\x20SMfewLYe0wS;\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20MzwWwLcNUUeWN,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20neHnI\x20(NzzMz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zNHrzL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209e0wS:\x20Ce0UN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fNUUeWN:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x24b4b8 extends _0x39d614[_0x31bc7c(0x23f)]{constructor(){super(...arguments),_0x2c82be(this,'_dependencyTreeCache',new Map());}[_0x31bc7c(0x19b)](){const _0x496aa0=_0x31bc7c;super['dispose'](),this[_0x496aa0(0x23b)][_0x496aa0(0x226)]();}async[_0x31bc7c(0x1f8)](){const _0xe8a435=_0x31bc7c;this['_updateRangeFlatten']();const _0x286d66=this[_0xe8a435(0x17c)][_0xe8a435(0x1be)](),_0x502ad4=this[_0xe8a435(0x216)]['getOtherFormulaData'](),_0x11f474=this[_0xe8a435(0x17c)][_0xe8a435(0x1ad)]();_0x11f474!=null&&Object['keys'](_0x11f474)['forEach'](_0x1beb25=>{const _0x4f2247=_0xe8a435;_0x1beb25!=null&&Object[_0x4f2247(0x19c)](_0x11f474[_0x1beb25])[_0x4f2247(0x219)](_0x2a9318=>{const _0x5c1708=_0x4f2247;_0x2a9318!=null&&(this[_0x5c1708(0x1a8)]['clearOtherFormulaDependency'](_0x1beb25,_0x2a9318),this[_0x5c1708(0x1a8)][_0x5c1708(0x19a)](_0x1beb25,_0x2a9318),this[_0x5c1708(0x1a8)]['clearFormulaDependency'](_0x1beb25,_0x2a9318));});});const _0x537b53=this['_currentConfigService'][_0xe8a435(0x237)]();await this[_0xe8a435(0x23a)](_0x286d66,_0x502ad4,_0x537b53),this[_0xe8a435(0x1a8)][_0xe8a435(0x228)]();const _0x387b70=this['_getUpdateTreeListAndMakeDependency'](),_0x3f12b7=this[_0xe8a435(0x238)](_0x387b70);return this[_0xe8a435(0x1da)](_0x3f12b7)&&this[_0xe8a435(0x1a6)][_0xe8a435(0x1b8)](),this[_0xe8a435(0x23b)][_0xe8a435(0x226)](),this[_0xe8a435(0x21f)][_0xe8a435(0x226)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0xe8a435(0x180)](_0x3f12b7);}['_isCyclicUtilMap'](_0x1cd22b,_0x2bf61f){const _0x8543cb=_0x31bc7c,_0x53b004=[_0x1cd22b];for(;_0x53b004['length']>0x0;){const _0x2eadb7=_0x53b004[_0x53b004[_0x8543cb(0x1d8)]-0x1];if((_0x2bf61f['get'](_0x2eadb7)||0x0)===0x0){_0x2bf61f[_0x8543cb(0x1ac)](_0x2eadb7,0x1);const _0x109da8=this[_0x8543cb(0x23b)]['get'](_0x2eadb7);if(_0x109da8==null){_0x2bf61f[_0x8543cb(0x1ac)](_0x2eadb7,0x2),_0x53b004[_0x8543cb(0x1d4)]();continue;}const _0x308cd6=this[_0x8543cb(0x1a8)][_0x8543cb(0x185)](_0x109da8[_0x8543cb(0x1f0)]());for(const _0x1dbff3 of _0x308cd6){const _0x53b62b=_0x2bf61f[_0x8543cb(0x1e5)](_0x1dbff3)||0x0;if(_0x53b62b===0x1)return!0x0;_0x53b62b===0x0&&_0x53b004[_0x8543cb(0x190)](_0x1dbff3);}}else _0x2bf61f[_0x8543cb(0x1ac)](_0x2eadb7,0x2),_0x53b004[_0x8543cb(0x1d4)]();}return!0x1;}['_checkIsCycleDependency'](_0x30f029){const _0x46a237=_0x31bc7c,_0x1ec3ae=new Map();for(const _0x175349 of _0x30f029)if(!_0x1ec3ae[_0x46a237(0x1e2)](_0x175349[_0x46a237(0x1db)])&&this[_0x46a237(0x1a7)](_0x175349[_0x46a237(0x1db)],_0x1ec3ae))return!0x0;return _0x1ec3ae[_0x46a237(0x226)](),!0x1;}[_0x31bc7c(0x1d1)](_0x55d1cd,_0x195618,_0x1d8fe7){const _0xb5b65=_0x31bc7c,{unitId:_0x4a0252,subUnitId:_0x3b5a21,dependencyRanges:_0x1d0639,getDirtyData:_0x31b45d}=_0x1d8fe7,_0xe7bc77=_0x195618||_0x39d614[_0xb5b65(0x1f6)](this[_0xb5b65(0x1a8)]),_0x35e797=new _0x39d614[(_0xb5b65(0x206))](_0xe7bc77);_0x35e797[_0xb5b65(0x1eb)]=_0x4a0252,_0x35e797[_0xb5b65(0x1bb)]=_0x3b5a21,_0x35e797['rangeList']=_0x1d0639,_0x35e797[_0xb5b65(0x225)]=_0x31b45d;const _0x4d75c0=_0x31b45d(this['_currentConfigService'][_0xb5b65(0x225)](),this['_runtimeService'][_0xb5b65(0x17a)]()),_0x3d9fab=this[_0xb5b65(0x23d)](_0x4d75c0['dirtyRanges']);return _0x35e797[_0xb5b65(0x1f4)]=_0x3d9fab,_0x35e797[_0xb5b65(0x1c0)]=_0x55d1cd,_0x35e797[_0xb5b65(0x1c6)]=_0x39d614['FormulaDependencyTreeType'][_0xb5b65(0x18e)],this[_0xb5b65(0x1a8)][_0xb5b65(0x1e4)](_0x4a0252,_0x3b5a21,_0x55d1cd,_0x35e797),this[_0xb5b65(0x23b)][_0xb5b65(0x1ac)](_0x35e797[_0xb5b65(0x1db)],_0x35e797),this[_0xb5b65(0x1a8)][_0xb5b65(0x20c)](_0x1d8fe7['unitId'],_0x1d8fe7[_0xb5b65(0x1bb)],_0x55d1cd)&&(_0x35e797['isCache']=!0x0),_0x35e797;}['_registerOtherFormulas'](_0x3c6303,_0x4c5c3b,_0xe64c40){const _0x36a4b2=_0x31bc7c;var _0x53f36d;for(const _0x48e542 of _0x4c5c3b){const _0x22daa2=_0x3c6303[_0x48e542];if(_0x22daa2==null)continue;const _0x5887e6=Object['keys'](_0x22daa2);for(const _0x15eb98 of _0x5887e6){const _0x98737f=_0x22daa2[_0x15eb98];if(_0x98737f==null)continue;const _0x5e63cf=Object[_0x36a4b2(0x19c)](_0x98737f);for(const _0x401681 of _0x5e63cf){const _0x24e8fa=this['_dependencyManagerService'][_0x36a4b2(0x198)](_0x401681),_0x2a9008=_0x98737f[_0x401681],{f:_0x5ad515,ranges:_0x1b14d6}=_0x2a9008;let _0xbcc574=!0x1;_0x24e8fa&&(_0xbcc574=!0x0);const {firstRow:_0x59d96e,firstColumn:_0x167a57}=this[_0x36a4b2(0x217)](_0x1b14d6),_0x4277b2=this[_0x36a4b2(0x1a8)][_0x36a4b2(0x1e3)](_0x48e542,_0x15eb98,_0x401681),_0x63cba0=(_0x53f36d=_0x4277b2==null?void 0x0:_0x4277b2[_0x36a4b2(0x211)](0x0,0x0))!=null?_0x53f36d:_0x39d614[_0x36a4b2(0x1f6)](this[_0x36a4b2(0x1a8)]),_0x2d84dc=new _0x39d614[(_0x36a4b2(0x206))](_0x63cba0);for(let _0x4b0263=0x0;_0x4b0263<_0x1b14d6['length'];_0x4b0263++){const _0x3435a8=_0x1b14d6[_0x4b0263],{startRow:_0x44184f,startColumn:_0x54b267,endRow:_0xaf2ab7,endColumn:_0x1a49be}=_0x3435a8;for(let _0x34b4f4=_0x44184f;_0x34b4f4<=_0xaf2ab7;_0x34b4f4++)for(let _0x98a699=_0x54b267;_0x98a699<=_0x1a49be;_0x98a699++){const _0x2e27cf=_0x98a699-_0x167a57,_0x512ba4=_0x34b4f4-_0x59d96e;if(_0x2e27cf===0x0&&_0x512ba4===0x0){_0x2d84dc['formula']=_0x5ad515,_0x2d84dc['unitId']=_0x48e542,_0x2d84dc['subUnitId']=_0x15eb98,_0x2d84dc[_0x36a4b2(0x1f5)]=_0x401681,_0x2d84dc[_0x36a4b2(0x1c6)]=_0x39d614[_0x36a4b2(0x230)][_0x36a4b2(0x1ca)],_0x2d84dc[_0x36a4b2(0x17f)]=_0xbcc574,_0xe64c40[_0x36a4b2(0x190)](_0x2d84dc),this[_0x36a4b2(0x23b)][_0x36a4b2(0x1ac)](_0x2d84dc[_0x36a4b2(0x1db)],_0x2d84dc),this[_0x36a4b2(0x1a8)]['addOtherFormulaDependency'](_0x48e542,_0x15eb98,_0x401681,_0x2d84dc),this[_0x36a4b2(0x1a8)][_0x36a4b2(0x1d6)](_0x2d84dc);continue;}const _0x4d12be=new _0x39d614[(_0x36a4b2(0x239))]();_0x4d12be['treeId']=(_0x4277b2==null?void 0x0:_0x4277b2['getValue'](_0x2e27cf,_0x512ba4))||_0x39d614[_0x36a4b2(0x1f6)](this[_0x36a4b2(0x1a8)]),_0x4d12be['refTree']=_0x2d84dc,_0x4d12be[_0x36a4b2(0x200)]=_0x2e27cf,_0x4d12be[_0x36a4b2(0x1fd)]=_0x512ba4,_0x4d12be[_0x36a4b2(0x17f)]=_0xbcc574,this['_dependencyManagerService']['addOtherFormulaDependency'](_0x48e542,_0x15eb98,_0x401681,_0x4d12be),this[_0x36a4b2(0x1a8)][_0x36a4b2(0x1d6)](_0x4d12be),_0xe64c40[_0x36a4b2(0x190)](_0x4d12be),this['_dependencyTreeCache'][_0x36a4b2(0x1ac)](_0x4d12be[_0x36a4b2(0x1db)],_0x4d12be);}}this[_0x36a4b2(0x1a8)][_0x36a4b2(0x18b)](_0x401681);}}}}['_registerFormulas'](_0x3aca37,_0x176049,_0x56a720,_0x97c5ca){const _0xb68c4a=_0x31bc7c;for(const _0x1c0ab of _0x3aca37){const _0x2cba8a=_0x176049[_0x1c0ab];if(_0x2cba8a==null)continue;const _0x50f651=Object['keys'](_0x2cba8a);for(const _0x2ed230 of _0x50f651){const _0x5f2b32=new _0x29fc51[(_0xb68c4a(0x22f))](_0x2cba8a[_0x2ed230]||{}),_0x788d65=new Map();_0x5f2b32['forValue']((_0x369674,_0x415e7f,_0x1bd751)=>{const _0x5a2e16=_0xb68c4a;if(_0x1bd751==null)return!0x0;const {x:_0x1dbf77=0x0,y:_0x2f62c0=0x0,si:_0x268454}=_0x1bd751;if(!(_0x1dbf77===0x0&&_0x2f62c0===0x0&&_0x268454!=null))return!0x0;const _0x594abf=this[_0x5a2e16(0x199)](_0x1c0ab,_0x2ed230,_0x369674,_0x415e7f,_0x56a720,_0x1bd751),_0x23de84=this[_0x5a2e16(0x1a8)][_0x5a2e16(0x17e)](_0x1c0ab,_0x2ed230,_0x369674,_0x415e7f);_0x23de84!=null?_0x594abf['treeId']=_0x23de84:(this[_0x5a2e16(0x1a8)][_0x5a2e16(0x1cc)](_0x1c0ab,_0x2ed230,_0x369674,_0x415e7f,_0x594abf),this[_0x5a2e16(0x1a8)][_0x5a2e16(0x1d6)](_0x594abf)),_0x788d65[_0x5a2e16(0x1ac)](_0x268454,_0x594abf),_0x97c5ca[_0x5a2e16(0x190)](_0x594abf),this[_0x5a2e16(0x23b)][_0x5a2e16(0x1ac)](_0x594abf[_0x5a2e16(0x1db)],_0x594abf);}),_0x5f2b32[_0xb68c4a(0x218)]((_0x17a71a,_0x6316d7,_0x4e671a)=>{const _0x491b60=_0xb68c4a;if(_0x4e671a==null)return!0x0;const {x:_0x31f49c=0x0,y:_0x49c1e1=0x0,si:_0x589ad2}=_0x4e671a;if(_0x31f49c===0x0&&_0x49c1e1===0x0&&_0x589ad2!=null)return!0x0;let _0x175d4e;if(_0x589ad2&&_0x788d65[_0x491b60(0x1e2)](_0x589ad2)){const _0x1480ba=_0x788d65[_0x491b60(0x1e5)](_0x589ad2);_0x175d4e=this[_0x491b60(0x20b)](_0x1480ba,_0x4e671a);}else _0x175d4e=this[_0x491b60(0x199)](_0x1c0ab,_0x2ed230,_0x17a71a,_0x6316d7,_0x56a720,_0x4e671a);const _0x2cd8d5=this[_0x491b60(0x1a8)][_0x491b60(0x17e)](_0x1c0ab,_0x2ed230,_0x17a71a,_0x6316d7);_0x2cd8d5!=null?_0x175d4e[_0x491b60(0x1db)]=_0x2cd8d5:(this[_0x491b60(0x1a8)][_0x491b60(0x1cc)](_0x1c0ab,_0x2ed230,_0x17a71a,_0x6316d7,_0x175d4e),this['_dependencyManagerService'][_0x491b60(0x1d6)](_0x175d4e)),_0x97c5ca['push'](_0x175d4e),this['_dependencyTreeCache']['set'](_0x175d4e['treeId'],_0x175d4e);}),_0x788d65[_0xb68c4a(0x226)]();}}}[_0x31bc7c(0x199)](_0x568d95,_0xa9b83,_0x4467f7,_0x29cc40,_0x3bf9d1,_0x12e767){const _0x591635=_0x31bc7c,{f:_0x6700cd,x:_0x57ade1=0x0,y:_0x44b9e9=0x0}=_0x12e767,_0x3ef773=new _0x39d614[(_0x591635(0x206))](_0x39d614[_0x591635(0x1f6)](this[_0x591635(0x1a8)])),_0x4cf342=_0x3bf9d1[_0x568d95][_0xa9b83];return _0x3ef773['formula']=_0x6700cd,_0x3ef773['unitId']=_0x568d95,_0x3ef773['subUnitId']=_0xa9b83,_0x3ef773[_0x591635(0x209)]=_0x4467f7,_0x3ef773['column']=_0x29cc40,_0x3ef773[_0x591635(0x1ec)]=_0x4cf342[_0x591635(0x1ec)],_0x3ef773[_0x591635(0x1e9)]=_0x4cf342[_0x591635(0x1e9)],_0x3ef773;}[_0x31bc7c(0x193)](){const _0x498897=_0x31bc7c,_0x4195b6=[],_0x21d790=new Set(),_0x3d7d3d=this[_0x498897(0x17c)][_0x498897(0x181)](),_0x39f899=this[_0x498897(0x17c)]['getDirtyRanges'](),_0x425628=this[_0x498897(0x1a8)][_0x498897(0x185)](_0x39f899),_0x153c58=this['_dependencyRTreeCacheForAddressFunction'][_0x498897(0x234)](_0x39f899);for(const _0x5959c0 of _0x153c58)_0x425628[_0x498897(0x1e6)](_0x5959c0);for(const [_0x234f89,_0x189269]of this[_0x498897(0x23b)])(_0x3d7d3d||_0x189269[_0x498897(0x1a3)]||_0x189269['dependencySheetName'](this['_currentConfigService'][_0x498897(0x20d)]())||_0x425628[_0x498897(0x1e2)](_0x234f89)&&!_0x189269[_0x498897(0x1ba)](this['_currentConfigService'][_0x498897(0x17b)]()))&&!_0x21d790[_0x498897(0x1e2)](_0x234f89)&&(_0x4195b6[_0x498897(0x190)](_0x189269),_0x21d790[_0x498897(0x1e6)](_0x234f89));for(const [_0x52b951,_0x5b0168]of this[_0x498897(0x23b)])_0x5b0168['isVirtual']||(_0x5b0168[_0x498897(0x1ea)][_0x498897(0x1d8)]=0x0);return _0x4195b6;}[_0x31bc7c(0x191)](_0xa58e50){const _0x385123=_0x31bc7c;return this[_0x385123(0x23b)][_0x385123(0x1e5)](_0xa58e50);}[_0x31bc7c(0x1b1)](_0x5aac20){const _0x2243f8=_0x31bc7c;return _0x39d614[_0x2243f8(0x22d)](_0x5aac20['unitId'],_0x5aac20[_0x2243f8(0x1c8)],this['_lexer'],this['_astTreeBuilder'],this[_0x2243f8(0x17c)]);}*['_traverse'](_0x3803f4,_0x1f098c){const _0x6b1232=_0x31bc7c,_0x321b94=_0x3803f4,_0x296d24=new Set();for(;_0x321b94[_0x6b1232(0x1d8)]>0x0;){const _0x9955a3=_0x321b94[_0x6b1232(0x1d4)]();if(_0x296d24[_0x6b1232(0x226)](),_0x9955a3===void 0x0||_0x9955a3[_0x6b1232(0x220)]())continue;if(_0x9955a3['isAdded']()){yield _0x9955a3,_0x9955a3[_0x6b1232(0x222)](),_0x1f098c['add'](_0x9955a3[_0x6b1232(0x1db)]);continue;}const _0x536766=this[_0x6b1232(0x1a8)]['searchDependency'](_0x9955a3['toRTreeItem'](),_0x1f098c),_0x5f1a71=this['_dependencyRTreeCacheForAddressFunction'][_0x6b1232(0x234)](_0x9955a3[_0x6b1232(0x1f0)](),_0x1f098c);for(const _0x1954e0 of _0x5f1a71)_0x536766[_0x6b1232(0x1e6)](_0x1954e0);for(const _0x2ae8bc of _0x536766){const _0x43b82d=this['_dependencyTreeCache'][_0x6b1232(0x1e5)](_0x2ae8bc);if(!_0x43b82d)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x43b82d[_0x6b1232(0x192)]()||_0x9955a3['isSkip']()||_0x296d24['add'](_0x43b82d);}if(_0x536766[_0x6b1232(0x226)](),_0x296d24[_0x6b1232(0x233)]===0x0)yield _0x9955a3,_0x9955a3[_0x6b1232(0x222)](),_0x1f098c[_0x6b1232(0x1e6)](_0x9955a3[_0x6b1232(0x1db)]);else{_0x9955a3[_0x6b1232(0x1c9)](),_0x321b94[_0x6b1232(0x190)](_0x9955a3);for(const _0x417538 of _0x296d24)_0x321b94[_0x6b1232(0x190)](_0x417538);}}_0x321b94[_0x6b1232(0x1d8)]=0x0,_0x296d24[_0x6b1232(0x226)]();}['_calculateRunList'](_0x7f23bd){const _0x348068=_0x31bc7c,_0xbedb54=[],_0xb51611=new Set();for(const _0x445392 of this[_0x348068(0x22c)](_0x7f23bd,_0xb51611))_0xbedb54[_0x348068(0x190)](_0x445392);return _0xbedb54;}}class _0x4c4824 extends _0x39d614[_0x31bc7c(0x1af)]{async[_0x31bc7c(0x1ab)](_0x5bcf74=!0x1){const _0x48bfe9=_0x31bc7c;_0x5bcf74?this[_0x48bfe9(0x1a6)]['setFormulaExecuteStage'](_0x39d614[_0x48bfe9(0x1bd)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x48bfe9(0x1a6)]['setFormulaExecuteStage'](_0x39d614[_0x48bfe9(0x1bd)][_0x48bfe9(0x21c)]),this['_executionInProgressListener$'][_0x48bfe9(0x203)](this[_0x48bfe9(0x1a6)][_0x48bfe9(0x214)]());const _0x93f1dc=await this[_0x48bfe9(0x204)][_0x48bfe9(0x1f8)](),_0x535018=this[_0x48bfe9(0x1ed)];_0x5bcf74?(this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1f1)](_0x39d614['FormulaExecuteStageType'][_0x48bfe9(0x1ef)]),this[_0x48bfe9(0x1a6)]['setTotalArrayFormulasToCalculate'](_0x93f1dc[_0x48bfe9(0x1d8)])):(this[_0x48bfe9(0x1a6)]['setFormulaExecuteStage'](_0x39d614[_0x48bfe9(0x1bd)]['START_CALCULATION']),this[_0x48bfe9(0x1a6)][_0x48bfe9(0x201)](_0x93f1dc[_0x48bfe9(0x1d8)])),this[_0x48bfe9(0x1dc)][_0x48bfe9(0x203)](this[_0x48bfe9(0x1a6)][_0x48bfe9(0x214)]());let _0x94ea7d=[];const _0x359754=this[_0x48bfe9(0x1b2)][_0x48bfe9(0x183)](_0x39d614[_0x48bfe9(0x1bc)]),_0x942817=(_0x359754==null?void 0x0:_0x359754[_0x48bfe9(0x1a2)])||_0x39d614[_0x48bfe9(0x1e0)];let _0x4571e2=0x0;const _0x4c54c8=_0x93f1dc[_0x48bfe9(0x1d8)];for(;_0x93f1dc[_0x48bfe9(0x1d8)]>0x0;){const _0x3d3254=_0x93f1dc[_0x48bfe9(0x1d4)](),_0x110dbe={'node':_0x39d614[_0x48bfe9(0x22d)](_0x3d3254[_0x48bfe9(0x1eb)],_0x3d3254[_0x48bfe9(0x1c8)],this[_0x48bfe9(0x195)],this[_0x48bfe9(0x227)],this['_currentConfigService']),'refOffsetX':_0x3d3254[_0x48bfe9(0x200)],'refOffsetY':_0x3d3254[_0x48bfe9(0x1fd)]},_0x5b1997=_0x3d3254[_0x48bfe9(0x225)];if(_0x4571e2%_0x942817===0x0&&(await new Promise(_0x36e2d5=>{const _0x242ed6=_0x48bfe9,_0x599a6d=_0x29fc51[_0x242ed6(0x221)](_0x36e2d5);_0x94ea7d[_0x242ed6(0x190)](_0x599a6d);}),_0x5bcf74?(this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1f1)](_0x39d614['FormulaExecuteStageType'][_0x48bfe9(0x236)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x4571e2+0x1)):(this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1f1)](_0x39d614[_0x48bfe9(0x1bd)][_0x48bfe9(0x1cd)]),this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1a9)](_0x4571e2+0x1)),this[_0x48bfe9(0x1dc)][_0x48bfe9(0x203)](this[_0x48bfe9(0x1a6)][_0x48bfe9(0x214)]()),this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1e7)]()||_0x110dbe==null&&_0x5b1997==null)){this['_runtimeService'][_0x48bfe9(0x1f1)](_0x39d614[_0x48bfe9(0x1bd)][_0x48bfe9(0x205)]),this[_0x48bfe9(0x1a6)]['markedAsStopFunctionsExecuted'](),this[_0x48bfe9(0x1ee)][_0x48bfe9(0x203)](this[_0x48bfe9(0x1a6)][_0x48bfe9(0x17a)]());return;}this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1d9)](_0x3d3254[_0x48bfe9(0x209)],_0x3d3254[_0x48bfe9(0x21a)],_0x3d3254['rowCount'],_0x3d3254[_0x48bfe9(0x1e9)],_0x3d3254[_0x48bfe9(0x1bb)],_0x3d3254[_0x48bfe9(0x1eb)]);let _0x3b6741;if(_0x5b1997!=null&&_0x3d3254['featureId']!=null){const {runtimeCellData:_0x55270b,dirtyRanges:_0x4d974e}=_0x5b1997(this['_currentConfigService'][_0x48bfe9(0x225)](),this[_0x48bfe9(0x1a6)][_0x48bfe9(0x17a)]());this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1b5)](_0x3d3254[_0x48bfe9(0x1c0)],_0x55270b),this[_0x48bfe9(0x1a6)][_0x48bfe9(0x229)](_0x3d3254[_0x48bfe9(0x1c0)],_0x4d974e);}else _0x110dbe!=null&&(_0x535018[_0x48bfe9(0x19e)](_0x110dbe['node'])?_0x3b6741=await _0x535018[_0x48bfe9(0x1b7)](_0x110dbe):_0x3b6741=_0x535018[_0x48bfe9(0x1de)](_0x110dbe),_0x3d3254[_0x48bfe9(0x1f5)]!=null?this[_0x48bfe9(0x1a6)][_0x48bfe9(0x186)](_0x3d3254[_0x48bfe9(0x1f5)],_0x3d3254[_0x48bfe9(0x200)],_0x3d3254['refOffsetY'],_0x3b6741):this['_runtimeService'][_0x48bfe9(0x213)](_0x3b6741));_0x4571e2++;}return _0x94ea7d[_0x48bfe9(0x219)](_0x2bf12a=>_0x2bf12a()),_0x94ea7d=[],_0x4c54c8>0x0?this[_0x48bfe9(0x1a6)][_0x48bfe9(0x1f2)]():_0x5bcf74||this['_runtimeService'][_0x48bfe9(0x1c1)](),this['_runtimeService'][_0x48bfe9(0x17a)]();}}class _0xcfcebc extends _0x39d614[_0x31bc7c(0x20e)]{constructor(){const _0xa27f10=_0x31bc7c;super(...arguments),_0x2c82be(this,_0xa27f10(0x19f),new Map()),_0x2c82be(this,'_dependencyRTreeCache',new _0x29fc51[(_0xa27f10(0x20f))](!0x0));}[_0x31bc7c(0x1b4)](){const _0x3404e6=_0x31bc7c;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x3404e6(0x226)](),this[_0x3404e6(0x1dd)][_0x3404e6(0x226)](),this['_dependencyRTreeCache'][_0x3404e6(0x226)](),this['_allTreeMap'][_0x3404e6(0x226)](),this['_restDependencyTreeId'](),this[_0x3404e6(0x1a1)][_0x3404e6(0x226)]();}['addOtherFormulaDependency'](_0x2b8955,_0x3eb2d2,_0x4cda94,_0x503985){const _0x4eaa1a=_0x31bc7c;this[_0x4eaa1a(0x1cb)][_0x4eaa1a(0x1e2)](_0x2b8955)||this[_0x4eaa1a(0x1cb)][_0x4eaa1a(0x1ac)](_0x2b8955,new Map());const _0x2a66dd=this[_0x4eaa1a(0x1cb)][_0x4eaa1a(0x1e5)](_0x2b8955);_0x2a66dd[_0x4eaa1a(0x1e2)](_0x3eb2d2)||_0x2a66dd[_0x4eaa1a(0x1ac)](_0x3eb2d2,new Map());const _0x3a1c3d=_0x2a66dd[_0x4eaa1a(0x1e5)](_0x3eb2d2);_0x3a1c3d[_0x4eaa1a(0x1e2)](_0x4cda94)||_0x3a1c3d[_0x4eaa1a(0x1ac)](_0x4cda94,new _0x29fc51[(_0x4eaa1a(0x22f))]()),_0x3a1c3d[_0x4eaa1a(0x1e5)](_0x4cda94)['setValue'](_0x503985[_0x4eaa1a(0x200)],_0x503985[_0x4eaa1a(0x1fd)],_0x503985[_0x4eaa1a(0x1db)]);}['removeOtherFormulaDependency'](_0x3e966f,_0x57c6cc,_0x4a33a4){const _0x47d8a5=_0x31bc7c,_0x26f5be=this[_0x47d8a5(0x1cb)][_0x47d8a5(0x1e5)](_0x3e966f);if(_0x26f5be&&_0x26f5be[_0x47d8a5(0x1e2)](_0x57c6cc)){const _0x4908a2=_0x26f5be[_0x47d8a5(0x1e5)](_0x57c6cc);_0x4a33a4['forEach'](_0x3f3010=>{const _0xfe534e=_0x47d8a5,_0x854030=_0x4908a2[_0xfe534e(0x1e5)](_0x3f3010);_0x854030!=null&&(_0x854030[_0xfe534e(0x218)]((_0x2a0e95,_0x33bf70,_0x60e1ba)=>{const _0x24dfc0=_0xfe534e;this['_removeDependencyRTreeCache'](_0x60e1ba),this[_0x24dfc0(0x1c2)](_0x60e1ba);}),_0x4908a2[_0xfe534e(0x1ce)](_0x3f3010),this[_0xfe534e(0x1a1)][_0xfe534e(0x1ce)](_0x3f3010));}),_0x4908a2[_0x47d8a5(0x233)]===0x0&&_0x26f5be[_0x47d8a5(0x1ce)](_0x57c6cc),_0x26f5be['size']===0x0&&this[_0x47d8a5(0x1cb)][_0x47d8a5(0x1ce)](_0x3e966f);}}['clearOtherFormulaDependency'](_0x54b227,_0x37c6a9){const _0xfacf71=_0x31bc7c,_0x288656=this[_0xfacf71(0x1cb)]['get'](_0x54b227);if(_0x37c6a9&&_0x288656&&_0x288656[_0xfacf71(0x1e2)](_0x37c6a9)){const _0x13fe7c=_0x288656[_0xfacf71(0x1e5)](_0x37c6a9);this[_0xfacf71(0x1b6)](_0x54b227,_0x37c6a9);for(const _0x56db3a of _0x13fe7c['keys']()){const _0x270cca=_0x13fe7c[_0xfacf71(0x1e5)](_0x56db3a);_0x270cca!=null&&(_0x270cca[_0xfacf71(0x218)]((_0x102b92,_0x6842d1,_0x5c9253)=>{const _0x54c0ea=_0xfacf71;this[_0x54c0ea(0x19f)][_0x54c0ea(0x1e5)](_0x5c9253)&&this['_removeAllTreeMap'](_0x5c9253);}),this['_otherFormulaDataMainData'][_0xfacf71(0x1ce)](_0x56db3a));}_0x13fe7c[_0xfacf71(0x226)]();}else{if(_0x288656){for(const _0x5c4a41 of _0x288656[_0xfacf71(0x19c)]()){const _0x2b8b0=_0x288656['get'](_0x5c4a41);this['_removeDependencyRTreeCacheById'](_0x54b227,_0x5c4a41);for(const _0x6b08b2 of _0x2b8b0['keys']()){const _0x4da2e5=_0x2b8b0[_0xfacf71(0x1e5)](_0x6b08b2);_0x4da2e5!=null&&(_0x4da2e5[_0xfacf71(0x218)]((_0x2eeac5,_0x1cb97f,_0xfb2bd)=>{const _0x173a74=_0xfacf71;this[_0x173a74(0x19f)][_0x173a74(0x1e5)](_0xfb2bd)&&this[_0x173a74(0x1c2)](_0xfb2bd);}),this[_0xfacf71(0x1a1)][_0xfacf71(0x1ce)](_0x6b08b2));}}this[_0xfacf71(0x1cb)][_0xfacf71(0x1ce)](_0x54b227);}}}[_0x31bc7c(0x1e4)](_0x4edc57,_0x4e99fa,_0x13d428,_0x11700b){const _0x4daaac=_0x31bc7c;this['_featureFormulaData'][_0x4daaac(0x1e2)](_0x4edc57)||this['_featureFormulaData'][_0x4daaac(0x1ac)](_0x4edc57,new Map());const _0x4b5202=this[_0x4daaac(0x1d7)]['get'](_0x4edc57);_0x4b5202['has'](_0x4e99fa)||_0x4b5202[_0x4daaac(0x1ac)](_0x4e99fa,new Map()),_0x4b5202['get'](_0x4e99fa)['set'](_0x13d428,_0x11700b['treeId']);}[_0x31bc7c(0x1a0)](_0x4bff94,_0x288380,_0x6f7694){const _0x1ccac3=_0x31bc7c,_0x3410b3=this[_0x1ccac3(0x1d7)][_0x1ccac3(0x1e5)](_0x4bff94);if(_0x3410b3&&_0x3410b3[_0x1ccac3(0x1e2)](_0x288380)){const _0x32cf8b=_0x3410b3['get'](_0x288380);_0x6f7694[_0x1ccac3(0x219)](_0x2bcff5=>{const _0x41dd49=_0x1ccac3,_0x536e4e=_0x32cf8b['get'](_0x2bcff5);_0x536e4e!=null&&(this[_0x41dd49(0x240)](_0x536e4e),_0x32cf8b[_0x41dd49(0x1ce)](_0x2bcff5),this[_0x41dd49(0x1c2)](_0x536e4e));});}}[_0x31bc7c(0x19a)](_0x568bda,_0x20be10){const _0xb5f265=_0x31bc7c,_0x4d4df3=this[_0xb5f265(0x1d7)][_0xb5f265(0x1e5)](_0x568bda);if(_0x20be10&&_0x4d4df3&&_0x4d4df3['has'](_0x20be10)){const _0x3b983c=_0x4d4df3[_0xb5f265(0x1e5)](_0x20be10);this[_0xb5f265(0x1b6)](_0x568bda,_0x20be10),_0x3b983c['forEach'](_0x4dc482=>{const _0x10c1a5=_0xb5f265;_0x4dc482!=null&&this[_0x10c1a5(0x1c2)](_0x4dc482);}),_0x3b983c[_0xb5f265(0x226)]();}else _0x4d4df3&&(_0x4d4df3['forEach']((_0x2b5a21,_0x3c1ba0)=>{const _0x292e85=_0xb5f265;this['_removeDependencyRTreeCacheById'](_0x568bda,_0x3c1ba0),_0x2b5a21[_0x292e85(0x219)](_0x236e48=>{const _0x199c8f=_0x292e85;_0x236e48!=null&&this[_0x199c8f(0x1c2)](_0x236e48);});}),this[_0xb5f265(0x1d7)][_0xb5f265(0x1ce)](_0x568bda));}[_0x31bc7c(0x1cc)](_0x7c256c,_0x4e329a,_0x156050,_0xfa0560,_0x3bff7e){const _0x54ebf3=_0x31bc7c;this[_0x54ebf3(0x1dd)]['has'](_0x7c256c)||this[_0x54ebf3(0x1dd)]['set'](_0x7c256c,new Map());const _0x3c0182=this[_0x54ebf3(0x1dd)][_0x54ebf3(0x1e5)](_0x7c256c);_0x3c0182[_0x54ebf3(0x1e2)](_0x4e329a)||_0x3c0182[_0x54ebf3(0x1ac)](_0x4e329a,new _0x29fc51[(_0x54ebf3(0x22f))]()),_0x3c0182[_0x54ebf3(0x1e5)](_0x4e329a)[_0x54ebf3(0x1f9)](_0x156050,_0xfa0560,_0x3bff7e[_0x54ebf3(0x1db)]);}[_0x31bc7c(0x223)](_0x489952,_0x447a85,_0xe1a803,_0x2de4c7){const _0x3c5972=_0x31bc7c,_0x4d1bbd=this[_0x3c5972(0x1dd)][_0x3c5972(0x1e5)](_0x489952);if(_0x4d1bbd&&_0x4d1bbd[_0x3c5972(0x1e2)](_0x447a85)){const _0x30106e=_0x4d1bbd[_0x3c5972(0x1e5)](_0x447a85),_0x17ce8b=_0x30106e[_0x3c5972(0x211)](_0xe1a803,_0x2de4c7);if(_0x17ce8b==null)return;this['_removeDependencyRTreeCache'](_0x17ce8b),_0x30106e[_0x3c5972(0x224)](_0xe1a803,_0x2de4c7),this[_0x3c5972(0x1c2)](_0x17ce8b);}}[_0x31bc7c(0x19d)](_0x2f5a2d,_0xdc9d03){const _0x43213b=_0x31bc7c,_0x638a02=this[_0x43213b(0x1dd)][_0x43213b(0x1e5)](_0x2f5a2d);if(_0xdc9d03&&_0x638a02&&_0x638a02[_0x43213b(0x1e2)](_0xdc9d03)){const _0x4d28de=_0x638a02[_0x43213b(0x1e5)](_0xdc9d03);this[_0x43213b(0x1b6)](_0x2f5a2d,_0xdc9d03),_0x4d28de[_0x43213b(0x218)]((_0x534fd2,_0x46acb1,_0x4620bd)=>{const _0x194423=_0x43213b;if(_0x4620bd==null)return!0x0;this[_0x194423(0x1c2)](_0x4620bd);}),_0x4d28de[_0x43213b(0x1b4)]();}else _0x638a02&&(_0x638a02['forEach']((_0x4e131f,_0x5d71e9)=>{const _0x93cdc8=_0x43213b;this[_0x93cdc8(0x1b6)](_0x2f5a2d,_0x5d71e9),_0x4e131f[_0x93cdc8(0x218)]((_0x51d0a4,_0xe3abdd,_0x2adccd)=>{const _0x1a9fbe=_0x93cdc8;if(_0x2adccd==null)return!0x0;this[_0x1a9fbe(0x1c2)](_0x2adccd);});}),this[_0x43213b(0x1dd)]['delete'](_0x2f5a2d));}[_0x31bc7c(0x240)](_0x3c9ab8){const _0x34d654=_0x31bc7c;if(_0x3c9ab8==null)return;const _0x887f13=this[_0x34d654(0x19f)][_0x34d654(0x1e5)](_0x3c9ab8);if(_0x887f13){const _0x5b9ed9=[];for(const [_0x4a3b81,_0x256ebb]of _0x887f13)for(const [_0x3b0f0d,_0x3e62a7]of _0x256ebb)_0x5b9ed9['push']({'unitId':_0x4a3b81,'sheetId':_0x3b0f0d,'range':_0x3e62a7,'id':_0x3c9ab8});this[_0x34d654(0x1fe)][_0x34d654(0x1d5)](_0x5b9ed9);}}[_0x31bc7c(0x23e)](_0x17d6bd,_0xf490e5){const _0x58aa28=_0x31bc7c,_0x27ea56=this[_0x58aa28(0x1ae)]['get'](_0x17d6bd);if(_0x27ea56){const _0x1b5f96=_0x27ea56[_0x58aa28(0x1e5)](_0xf490e5);if(_0x1b5f96){for(const _0x2c183d of _0x1b5f96)this['_removeDependencyRTreeCache'](_0x2c183d),this[_0x58aa28(0x1c2)](_0x2c183d);_0x1b5f96[_0x58aa28(0x226)]();}}}[_0x31bc7c(0x228)](){const _0x348a52=_0x31bc7c;this[_0x348a52(0x1fe)]['openKdTree']();}[_0x31bc7c(0x22b)](){const _0x195c5b=_0x31bc7c;this[_0x195c5b(0x1fe)][_0x195c5b(0x22b)]();}['_removeAllTreeMap'](_0x13f28c){const _0x909f14=_0x31bc7c;_0x13f28c!=null&&this[_0x909f14(0x19f)][_0x909f14(0x1ce)](_0x13f28c);}[_0x31bc7c(0x1bf)](_0xfbf6b7){const _0x19d171=_0x31bc7c;var _0x4fe956,_0x31b52b;const _0x39169d=_0xfbf6b7[_0x19d171(0x1ea)];let _0x344f78=this['_allTreeMap'][_0x19d171(0x1e5)](_0xfbf6b7[_0x19d171(0x1db)]);for(let _0xdbc858=0x0;_0xdbc858<_0x39169d[_0x19d171(0x1d8)];_0xdbc858++){const _0xa9c839=_0x39169d[_0xdbc858];let {unitId:_0x32a313,sheetId:_0x270dca,range:_0x550b31}=_0xa9c839;_0x344f78||(_0x344f78=new Map(),this[_0x19d171(0x19f)]['set'](_0xfbf6b7[_0x19d171(0x1db)],_0x344f78)),_0x344f78[_0x19d171(0x1e2)](_0x32a313)||_0x344f78[_0x19d171(0x1ac)](_0x32a313,new Map());const _0x1afc04=(_0x4fe956=_0x344f78==null?void 0x0:_0x344f78['get'](_0x32a313))==null?void 0x0:_0x4fe956[_0x19d171(0x1e5)](_0x270dca);_0x1afc04&&(_0x550b31={'startRow':Math['min'](_0x550b31[_0x19d171(0x1b9)],_0x1afc04[_0x19d171(0x1b9)]),'startColumn':Math[_0x19d171(0x1ff)](_0x550b31[_0x19d171(0x196)],_0x1afc04[_0x19d171(0x196)]),'endRow':Math[_0x19d171(0x182)](_0x550b31['endRow'],_0x1afc04['endRow']),'endColumn':Math['max'](_0x550b31[_0x19d171(0x22e)],_0x1afc04[_0x19d171(0x22e)])}),(_0x31b52b=_0x344f78[_0x19d171(0x1e5)](_0x32a313))==null||_0x31b52b['set'](_0x270dca,_0x550b31);}}}var _0x43a386=Object['getOwnPropertyDescriptor'],_0x58bd1a=(_0x5e9555,_0x1792ad,_0x45e602,_0x49692b)=>{const _0x3e9092=_0x31bc7c;for(var _0x300d41=_0x49692b>0x1?void 0x0:_0x49692b?_0x43a386(_0x1792ad,_0x45e602):_0x1792ad,_0x28e9c7=_0x5e9555[_0x3e9092(0x1d8)]-0x1,_0x9356b9;_0x28e9c7>=0x0;_0x28e9c7--)(_0x9356b9=_0x5e9555[_0x28e9c7])&&(_0x300d41=_0x9356b9(_0x300d41)||_0x300d41);return _0x300d41;};const _0x1a2f4a=Number[_0x31bc7c(0x1c5)](0x6867fd43);_0x3bd1c3[_0x31bc7c(0x184)]=class extends _0x39d614[_0x31bc7c(0x1d2)]{[_0x31bc7c(0x1c7)](){const _0xb30570=_0x31bc7c;var _0x335023,_0x1ce7c8;this[_0xb30570(0x207)]()?(_0x335023=this[_0xb30570(0x1d3)])!=null&&_0x335023[_0xb30570(0x18a)]||[[_0x39d614[_0xb30570(0x1f7)],{'useClass':_0x4c4824}],[_0x39d614[_0xb30570(0x235)],{'useClass':_0xcfcebc}],[_0x39d614['IFormulaDependencyGenerator'],{'useClass':_0x24b4b8}]][_0xb30570(0x219)](_0x5ad8ac=>this['_injector'][_0xb30570(0x1e6)](_0x5ad8ac)):(_0x1ce7c8=this['_config'])!=null&&_0x1ce7c8['notExecuteFormula']||[[_0x39d614['ICalculateFormulaService'],{'useClass':_0x39d614[_0xb30570(0x1af)]}],[_0x39d614[_0xb30570(0x235)],{'useClass':_0x39d614[_0xb30570(0x1fc)]}],[_0x39d614[_0xb30570(0x1fb)],{'useClass':_0x39d614['FormulaDependencyGenerator']}]]['forEach'](_0x576bd4=>this['_injector'][_0xb30570(0x1e6)](_0x576bd4));}[_0x31bc7c(0x207)](){const _0x2836b2=_0x31bc7c;var _0x360421;const _0xd83d2d=(_0x360421=this[_0x2836b2(0x1b2)]['getConfig'](_0x3df8e4[_0x2836b2(0x21e)]))!=null?_0x360421:{},{ls:_0x4fe64b,pbk:_0x1cf523}=_0xd83d2d;if(!_0x4fe64b||!_0x1cf523)return!0x1;const _0x5a3616=_0x3df8e4[_0x2836b2(0x1a5)](_0x5e9788,_0x3dc583),_0xa87d74=new Function('return\x20'+_0x5a3616)()(_0x4fe64b,_0x1cf523),_0x4fb3fc=_0xa87d74[_0x2836b2(0x18c)];return _0xa87d74[_0x2836b2(0x21d)]&&_0x3df8e4[_0x2836b2(0x212)](_0x4fb3fc,'sf',_0x1a2f4a)?_0x3df8e4[_0x2836b2(0x21b)](_0x4fb3fc,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x3bd1c3[_0x31bc7c(0x184)]=_0x58bd1a([_0x29fc51[_0x31bc7c(0x23c)](_0x3df8e4[_0x31bc7c(0x197)])],_0x3bd1c3[_0x31bc7c(0x184)]),Object[_0x31bc7c(0x19c)](_0x39d614)['forEach'](_0x13f1a8=>{const _0x316f79=_0x31bc7c;_0x13f1a8!==_0x316f79(0x1f3)&&!Object[_0x316f79(0x189)][_0x316f79(0x188)][_0x316f79(0x1df)](_0x3bd1c3,_0x13f1a8)&&Object['defineProperty'](_0x3bd1c3,_0x13f1a8,{'enumerable':!0x0,'get':()=>_0x39d614[_0x13f1a8]});}),Object[_0x31bc7c(0x18f)](_0x3bd1c3,Symbol[_0x31bc7c(0x1b0)],{'value':_0x31bc7c(0x202)});}));function _0x3b47(){const _0x529554=['_executionCompleteListener$','START_CALCULATION_ARRAY_FORMULA','toRTreeItem','setFormulaExecuteStage','markedAsSuccessfullyExecuted','default','featureDirtyRanges','formulaId','generateRandomDependencyTreeId','ICalculateFormulaService','generate','setValue','@univerjs/engine-formula','IFormulaDependencyGenerator','DependencyManagerService','refOffsetY','_dependencyRTreeCache','min','refOffsetX','setTotalFormulasToCalculate','Module','next','_formulaDependencyGenerator','IDLE','FormulaDependencyTree','_initLicenseValid','6564mMUcMv','row','194406kPQGNM','_createVirtualFDtree','getFeatureFormulaDependency','getDirtyNameMap','DependencyManagerBaseService','RTree','amd','getValue','isFeatureAuthorizedWithinTime','setRuntimeData','getRuntimeState','801phJPmj','_otherFormulaManagerService','_getFirstCellOfRange','forValue','forEach','column','getSheetFeatureLimit','START_DEPENDENCY','valid','LS_CONFIG_KEY','_dependencyRTreeCacheForAddressFunction','isSkip','requestImmediateMacroTask','setSkip','removeFormulaDependency','realDeleteValue','getDirtyData','clear','_astTreeBuilder','openKdTree','setRuntimeFeatureRange','UniverProLicense','closeKdTree','_traverse','generateAstNode','endColumn','ObjectMatrix','FormulaDependencyTreeType','7016XYEanT','1589UOaBnV','size','bulkSearch','IDependencyManagerService','CURRENTLY_CALCULATING_ARRAY_FORMULA','getUnitData','_calculateRunList','FormulaDependencyTreeVirtual','_generateTreeList','_dependencyTreeCache','DependentOn','_convertDirtyRangesToUnitRange','removeFormulaDependencyByDefinedName','FormulaDependencyGenerator','_removeDependencyRTreeCache','getAllRuntimeData','getExcludedRange','_currentConfigService','symbol','getFormulaDependency','isCache','resolve','isForceCalculate','max','getConfig','UniverProFormulaEnginePlugin','searchDependency','setRuntimeOtherData','@univerjs-pro/license','hasOwnProperty','prototype','notExecuteFormula','addOtherFormulaDependencyMainData','message','1801657OnAXPs','FEATURE_FORMULA','defineProperty','push','_getTreeById','isAdded','_getUpdateTreeListAndMakeDependency','exports','_lexer','startColumn','UniverLicensePlugin','hasOtherFormulaDataMainData','_createFDtree','clearFeatureFormulaDependency','dispose','keys','clearFormulaDependency','checkAsyncNode','_allTreeMap','removeFeatureFormulaDependency','_otherFormulaDataMainData','intervalCount','isDirty','792336YbqBRu','unshiftString','_runtimeService','_isCyclicUtilMap','_dependencyManagerService','setCompletedFormulasCount','1OZpgAr','_apply','set','getClearDependencyTreeCache','_definedNameMap','CalculateFormulaService','toStringTag','_getTreeNode','_configService','UniverEngineFormula','reset','setRuntimeFeatureCellData','_removeDependencyRTreeCacheById','executeAsync','enableCycleDependency','startRow','isExcludeRange','subUnitId','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','FormulaExecuteStageType','getFormulaData','_addAllTreeMap','featureId','markedAsNoFunctionsExecuted','_removeAllTreeMap','@univerjs/core','812228ZbQMTj','parseInt','type','_initializeWithOverride','formula','setAdded','OTHER_FORMULA','_otherFormulaData','addFormulaDependency','CURRENTLY_CALCULATING','delete','UniverCore','5CBKEGy','_getFeatureFormulaTree','UniverFormulaEnginePlugin','_config','pop','bulkRemove','addFormulaDependencyByDefinedName','_featureFormulaData','length','setCurrent','_checkIsCycleDependency','treeId','_executionInProgressListener$','_formulaData','execute','call','DEFAULT_INTERVAL_COUNT','function','has','getOtherFormulaDependency','addFeatureFormulaDependency','get','add','isStopExecution','2847790nuoTfF','columnCount','rangeList','unitId','rowCount','_interpreter'];_0x3b47=function(){return _0x529554;};return _0x3b47();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.8.3",
3
+ "version": "0.9.1-nightly.202507041607",
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.8.3",
61
- "@univerjs/core": "0.8.3",
62
- "@univerjs/engine-formula": "0.8.3"
60
+ "@univerjs-pro/license": "0.9.1-nightly.202507041607",
61
+ "@univerjs/core": "0.9.1-nightly.202507041607",
62
+ "@univerjs/engine-formula": "0.9.1-nightly.202507041607"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "^5.8.3",
67
67
  "vite": "^6.3.5",
68
68
  "vitest": "^3.2.4",
69
- "@univerjs-infra/shared": "0.8.3"
69
+ "@univerjs-infra/shared": "0.9.1"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",