@univerjs-pro/engine-formula 0.8.3 → 0.9.0

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';const _0x291140=_0x2bd8;(function(_0x1b9475,_0x5786e0){const _0x3a0ca7=_0x2bd8,_0x24e80a=_0x1b9475();while(!![]){try{const _0x11cdfb=parseInt(_0x3a0ca7(0xc8))/0x1+-parseInt(_0x3a0ca7(0xd3))/0x2*(-parseInt(_0x3a0ca7(0xd1))/0x3)+parseInt(_0x3a0ca7(0xcb))/0x4+parseInt(_0x3a0ca7(0xd9))/0x5*(-parseInt(_0x3a0ca7(0xd2))/0x6)+-parseInt(_0x3a0ca7(0xc7))/0x7*(-parseInt(_0x3a0ca7(0xc9))/0x8)+-parseInt(_0x3a0ca7(0xcf))/0x9+parseInt(_0x3a0ca7(0xce))/0xa*(-parseInt(_0x3a0ca7(0xca))/0xb);if(_0x11cdfb===_0x5786e0)break;else _0x24e80a['push'](_0x24e80a['shift']());}catch(_0x1d29f6){_0x24e80a['push'](_0x24e80a['shift']());}}}(_0x5467,0x2a251));function _0x2bd8(_0x529e1e,_0x373125){const _0x546779=_0x5467();return _0x2bd8=function(_0x2bd89b,_0x3db7fa){_0x2bd89b=_0x2bd89b-0xc7;let _0x2a6275=_0x546779[_0x2bd89b];return _0x2a6275;},_0x2bd8(_0x529e1e,_0x373125);}Object[_0x291140(0xd7)](exports,Symbol[_0x291140(0xcc)],{'value':_0x291140(0xd4)});const t=require('@univerjs/engine-formula/facade');function _0x5467(){const _0x4c2a33=['15NDKGjN','63FSgZnc','337115qdSGYb','154680ngEeps','44SwUoWQ','1036608SAEYbH','toStringTag','prototype','1500890nZWVwq','580041KHzsSc','keys','1689XhkWeY','508650IixyqX','1142ZCCXBJ','Module','default','hasOwnProperty','defineProperty','call'];_0x5467=function(){return _0x4c2a33;};return _0x5467();}Object[_0x291140(0xd0)](t)['forEach'](_0xbac7be=>{const _0x22efa7=_0x291140;_0xbac7be!==_0x22efa7(0xd5)&&!Object[_0x22efa7(0xcd)][_0x22efa7(0xd6)][_0x22efa7(0xd8)](exports,_0xbac7be)&&Object[_0x22efa7(0xd7)](exports,_0xbac7be,{'enumerable':!0x0,'get':()=>t[_0xbac7be]});});
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';const _0x37b998=_0x5630;function _0x5630(_0x38d342,_0x319e67){const _0x55eb5b=_0x55eb();return _0x5630=function(_0x5630e8,_0x4e9fa4){_0x5630e8=_0x5630e8-0x6e;let _0x4fb7a4=_0x55eb5b[_0x5630e8];return _0x4fb7a4;},_0x5630(_0x38d342,_0x319e67);}(function(_0x4b93e4,_0x4c8237){const _0x4c7b40=_0x5630,_0x27b7d7=_0x4b93e4();while(!![]){try{const _0x5be6a1=parseInt(_0x4c7b40(0xf2))/0x1*(-parseInt(_0x4c7b40(0x112))/0x2)+parseInt(_0x4c7b40(0x82))/0x3*(-parseInt(_0x4c7b40(0xde))/0x4)+-parseInt(_0x4c7b40(0x8f))/0x5*(parseInt(_0x4c7b40(0xb9))/0x6)+-parseInt(_0x4c7b40(0xff))/0x7*(-parseInt(_0x4c7b40(0xe4))/0x8)+-parseInt(_0x4c7b40(0x120))/0x9*(parseInt(_0x4c7b40(0xa3))/0xa)+parseInt(_0x4c7b40(0xad))/0xb+-parseInt(_0x4c7b40(0x8e))/0xc*(-parseInt(_0x4c7b40(0xd9))/0xd);if(_0x5be6a1===_0x4c8237)break;else _0x27b7d7['push'](_0x27b7d7['shift']());}catch(_0x565f29){_0x27b7d7['push'](_0x27b7d7['shift']());}}}(_0x55eb,0xb7204));var j=Object[_0x37b998(0x7a)],G=(_0x2e4b44,_0x2419ab,_0x1ae997)=>_0x2419ab in _0x2e4b44?j(_0x2e4b44,_0x2419ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ae997}):_0x2e4b44[_0x2419ab]=_0x1ae997,S=(_0x1d88b9,_0x3afc36,_0x12ef54)=>G(_0x1d88b9,typeof _0x3afc36!=_0x37b998(0xec)?_0x3afc36+'':_0x3afc36,_0x12ef54);Object[_0x37b998(0x7a)](exports,Symbol['toStringTag'],{'value':_0x37b998(0xb1)});const T=require('@univerjs-pro/license'),C=require('@univerjs/core'),u=require('@univerjs/engine-formula'),k={0x0:'3',0x1:'p',0x2:'E',0x3:'h',0x4:'l',0x5:'s',0x6:'f',0x7:'J',0x8:'u',0x9:'I','k':'0','L':'1','N':'2','q':'4','d':'5','x':'6','w':'7','e':'8','m':'9','v':'a','W':'b','a':'c','C':'d','r':'e','g':'g','M':'i','l':'j','t':'k','i':'m','F':'n','p':'o','U':'q','f':'r','I':'t','b':'v','z':'w','n':'x','G':'y','s':'z','K':'A','h':'B','V':'C','P':'D','A':'F','c':'G','y':'H','O':'K','u':'L','R':'M','Q':'N','S':'O','j':'P','J':'Q','B':'R','Z':'S','Y':'T','T':'U','E':'V','o':'W','D':'X','H':'Y','X':'Z'},V='68FaIMpF\x20CrafG1IMpF(4MarF5r,\x2018W4MaOrG)\x20{\x20\x20\x20\x20IfG\x20{\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x204MarF5r9F6pjvfIKffvG\x20=\x204MarF5r.514MI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20pfMgMFRr55vgr\x20=\x207ZSQ.1vf5r(vIpW(4MarF5r9F6pjvfIKffvG[N]));\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!pfMgMFRr55vgr.8C)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pfMgMFRr55vgr.8C\x20=\x20Q8iWrf(4MarF5r9F6pjvfIKffvG[q]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20M5opftrf\x20=\x20IG1rp6\x20opftrfc4pWv4Zap1r\x20!==\x20\x278FCr6MFrC\x27\x20&&\x205r46\x20MF5IvFarp6\x20opftrfc4pWv4Zap1r;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20apFIrnI\x20=\x20M5opftrf\x20?\x205r46\x20:\x20zMFCpz;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[N]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(ir55vgropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[0]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(5MgFvI8fropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFEv4MC\x20=\x20apFIrnI.__brfM6G__(5MgFvI8fr,\x20ir55vgr,\x2018W4MaOrG);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20CpivMF\x20=\x20pfMgMFRr55vgr.Ci;\x20\x20\x20\x20\x20\x20\x20\x2068FaIMpF\x20M5PpivMFRvIa3MFg(pjvIIrfF,\x20pyp5I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfF\x20=\x20pjvIIrfF.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5I\x20=\x20pyp5I.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFjvfI5\x20=\x201vIIrfF.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IjvfI5\x20=\x203p5I.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!1vIIrfF.MFa48Cr5(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfF\x20===\x203p5I;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(1vIIrfFjvfI5.4rFgI3\x20<\x20N\x20||\x201vIIrfFjvfI5[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x206v45r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFZ866Mn\x20=\x201vIIrfFjvfI5.54Mar(L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IZ866Mn\x20=\x203p5IjvfI5.54Mar(-1vIIrfFjvfI5.4rFgI3\x20+\x20L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfFZ866Mn\x20===\x203p5IZ866Mn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204rI\x20CpivMFEv4MC\x20=\x20(CpivMF\x20&&\x20CpivMF.4rFgI3)\x20?\x20CpivMF.5pir((Ci9Iri)\x20=>\x20M5PpivMFRvIa3MFg(Ci9Iri,\x204pavIMpF.3p5IFvir))\x20:\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(4pavIMpF.3p5IFvir\x20===\x20\x274pav43p5I\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CpivMFEv4MC\x20=\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20bv4MC\x20=\x205MgFEv4MC\x20&&\x20CpivMFEv4MC;\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20pfMgMFRr55vgr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20avIa3\x20(rffpf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC:\x206v45r,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class B extends u['FormulaDependencyGenerator']{constructor(){const _0x379783=_0x37b998;super(...arguments),S(this,_0x379783(0x9e),new Map());}[_0x37b998(0x99)](){const _0x5a73d3=_0x37b998;super[_0x5a73d3(0x99)](),this[_0x5a73d3(0x9e)][_0x5a73d3(0xbc)]();}async['generate'](){const _0x2a86cd=_0x37b998;this[_0x2a86cd(0xcb)]();const _0x1aef05=this[_0x2a86cd(0xef)]['getFormulaData'](),_0x43ab2b=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x2a7485=this['_currentConfigService'][_0x2a86cd(0xb2)]();_0x2a7485!=null&&Object['keys'](_0x2a7485)[_0x2a86cd(0x7b)](_0x308316=>{const _0x5939e3=_0x2a86cd;_0x308316!=null&&Object[_0x5939e3(0x10c)](_0x2a7485[_0x308316])[_0x5939e3(0x7b)](_0x4df4f0=>{const _0x28e504=_0x5939e3;_0x4df4f0!=null&&(this['_dependencyManagerService'][_0x28e504(0xda)](_0x308316,_0x4df4f0),this[_0x28e504(0xfc)][_0x28e504(0x117)](_0x308316,_0x4df4f0),this[_0x28e504(0xfc)][_0x28e504(0xb8)](_0x308316,_0x4df4f0));});});const _0x458d43=this['_currentConfigService'][_0x2a86cd(0x119)]();await this[_0x2a86cd(0xa5)](_0x1aef05,_0x43ab2b,_0x458d43),this[_0x2a86cd(0xfc)]['openKdTree']();const _0x1b83ff=this[_0x2a86cd(0x92)](),_0x2e3cfa=this[_0x2a86cd(0xf0)](_0x1b83ff);return this[_0x2a86cd(0x8d)](_0x2e3cfa)&&this[_0x2a86cd(0x8b)][_0x2a86cd(0x83)](),this['_dependencyTreeCache'][_0x2a86cd(0xbc)](),this[_0x2a86cd(0x113)][_0x2a86cd(0xbc)](),this[_0x2a86cd(0xfc)][_0x2a86cd(0x72)](),Promise[_0x2a86cd(0x6e)](_0x2e3cfa);}['_isCyclicUtilMap'](_0x2eff41,_0x14a9d8){const _0x506df1=_0x37b998,_0x55a211=[_0x2eff41];for(;_0x55a211['length']>0x0;){const _0x5dd3eb=_0x55a211[_0x55a211[_0x506df1(0x10f)]-0x1];if((_0x14a9d8[_0x506df1(0xd4)](_0x5dd3eb)||0x0)===0x0){_0x14a9d8[_0x506df1(0xee)](_0x5dd3eb,0x1);const _0x40ec4f=this['_dependencyTreeCache'][_0x506df1(0xd4)](_0x5dd3eb);if(_0x40ec4f==null){_0x14a9d8[_0x506df1(0xee)](_0x5dd3eb,0x2),_0x55a211[_0x506df1(0x100)]();continue;}const _0xc1451e=this[_0x506df1(0xfc)][_0x506df1(0x77)](_0x40ec4f['toRTreeItem']());for(const _0x2655a8 of _0xc1451e){const _0x55bda5=_0x14a9d8[_0x506df1(0xd4)](_0x2655a8)||0x0;if(_0x55bda5===0x1)return!0x0;_0x55bda5===0x0&&_0x55a211[_0x506df1(0x95)](_0x2655a8);}}else _0x14a9d8[_0x506df1(0xee)](_0x5dd3eb,0x2),_0x55a211[_0x506df1(0x100)]();}return!0x1;}['_checkIsCycleDependency'](_0x524e88){const _0x122616=_0x37b998,_0x4e394e=new Map();for(const _0x2988b0 of _0x524e88)if(!_0x4e394e['has'](_0x2988b0['treeId'])&&this['_isCyclicUtilMap'](_0x2988b0[_0x122616(0xc5)],_0x4e394e))return!0x0;return _0x4e394e[_0x122616(0xbc)](),!0x1;}[_0x37b998(0x9d)](_0xe304f5,_0x507e70,_0x5905ac){const _0x2d0698=_0x37b998,{unitId:_0x2b76c4,subUnitId:_0x1fae99,dependencyRanges:_0x1e370d,getDirtyData:_0x285e65}=_0x5905ac,_0x2c65db=_0x507e70||u[_0x2d0698(0x94)](this[_0x2d0698(0xfc)]),_0x58b45a=new u[(_0x2d0698(0xb7))](_0x2c65db);_0x58b45a[_0x2d0698(0xd5)]=_0x2b76c4,_0x58b45a[_0x2d0698(0xd3)]=_0x1fae99,_0x58b45a[_0x2d0698(0xfe)]=_0x1e370d,_0x58b45a[_0x2d0698(0xd0)]=_0x285e65;const _0x337ed4=_0x285e65(this['_currentConfigService'][_0x2d0698(0xd0)](),this[_0x2d0698(0x8b)]['getAllRuntimeData']()),_0x909cc7=this[_0x2d0698(0x78)](_0x337ed4[_0x2d0698(0xc0)]);return _0x58b45a[_0x2d0698(0xca)]=_0x909cc7,_0x58b45a[_0x2d0698(0x80)]=_0xe304f5,_0x58b45a[_0x2d0698(0xf1)]=u[_0x2d0698(0x86)][_0x2d0698(0xed)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x2b76c4,_0x1fae99,_0xe304f5,_0x58b45a),this[_0x2d0698(0x9e)][_0x2d0698(0xee)](_0x58b45a[_0x2d0698(0xc5)],_0x58b45a),this[_0x2d0698(0xfc)]['getFeatureFormulaDependency'](_0x5905ac[_0x2d0698(0xd5)],_0x5905ac[_0x2d0698(0xd3)],_0xe304f5)&&(_0x58b45a['isCache']=!0x0),_0x58b45a;}[_0x37b998(0xe9)](_0xf3a488,_0x5ea6be,_0x1b0215){const _0x3369ba=_0x37b998;var _0x1f97a9;for(const _0x504cef of _0x5ea6be){const _0x2aed3d=_0xf3a488[_0x504cef];if(_0x2aed3d==null)continue;const _0x4d0eb1=Object[_0x3369ba(0x10c)](_0x2aed3d);for(const _0x2671df of _0x4d0eb1){const _0x524dba=_0x2aed3d[_0x2671df];if(_0x524dba==null)continue;const _0x3be061=Object[_0x3369ba(0x10c)](_0x524dba);for(const _0x4357a6 of _0x3be061){const _0x117373=this[_0x3369ba(0xfc)]['hasOtherFormulaDataMainData'](_0x4357a6),_0x204857=_0x524dba[_0x4357a6],{f:_0x132383,ranges:_0x1b1183}=_0x204857;let _0xacfb9f=!0x1;_0x117373&&(_0xacfb9f=!0x0);const {firstRow:_0x2dd338,firstColumn:_0x117c2c}=this['_getFirstCellOfRange'](_0x1b1183),_0x272ed0=this[_0x3369ba(0xfc)][_0x3369ba(0x8c)](_0x504cef,_0x2671df,_0x4357a6),_0x5821c4=(_0x1f97a9=_0x272ed0==null?void 0x0:_0x272ed0[_0x3369ba(0xd2)](0x0,0x0))!=null?_0x1f97a9:u[_0x3369ba(0x94)](this[_0x3369ba(0xfc)]),_0x55d1b6=new u[(_0x3369ba(0xb7))](_0x5821c4);for(let _0x121488=0x0;_0x121488<_0x1b1183['length'];_0x121488++){const _0x5b32be=_0x1b1183[_0x121488],{startRow:_0x32e0dc,startColumn:_0x14be39,endRow:_0x198cc5,endColumn:_0x4ad1a7}=_0x5b32be;for(let _0x48e267=_0x32e0dc;_0x48e267<=_0x198cc5;_0x48e267++)for(let _0x1e87fb=_0x14be39;_0x1e87fb<=_0x4ad1a7;_0x1e87fb++){const _0x3a1900=_0x1e87fb-_0x117c2c,_0x50f079=_0x48e267-_0x2dd338;if(_0x3a1900===0x0&&_0x50f079===0x0){_0x55d1b6[_0x3369ba(0x115)]=_0x132383,_0x55d1b6['unitId']=_0x504cef,_0x55d1b6[_0x3369ba(0xd3)]=_0x2671df,_0x55d1b6[_0x3369ba(0xb5)]=_0x4357a6,_0x55d1b6['type']=u['FormulaDependencyTreeType'][_0x3369ba(0xa9)],_0x55d1b6[_0x3369ba(0xcc)]=_0xacfb9f,_0x1b0215[_0x3369ba(0x95)](_0x55d1b6),this[_0x3369ba(0x9e)][_0x3369ba(0xee)](_0x55d1b6[_0x3369ba(0xc5)],_0x55d1b6),this[_0x3369ba(0xfc)][_0x3369ba(0x84)](_0x504cef,_0x2671df,_0x4357a6,_0x55d1b6),this[_0x3369ba(0xfc)]['addFormulaDependencyByDefinedName'](_0x55d1b6);continue;}const _0x534d3c=new u[(_0x3369ba(0xc9))]();_0x534d3c[_0x3369ba(0xc5)]=(_0x272ed0==null?void 0x0:_0x272ed0[_0x3369ba(0xd2)](_0x3a1900,_0x50f079))||u[_0x3369ba(0x94)](this['_dependencyManagerService']),_0x534d3c['refTree']=_0x55d1b6,_0x534d3c[_0x3369ba(0xbd)]=_0x3a1900,_0x534d3c[_0x3369ba(0x87)]=_0x50f079,_0x534d3c[_0x3369ba(0xcc)]=_0xacfb9f,this['_dependencyManagerService'][_0x3369ba(0x84)](_0x504cef,_0x2671df,_0x4357a6,_0x534d3c),this[_0x3369ba(0xfc)]['addFormulaDependencyByDefinedName'](_0x534d3c),_0x1b0215[_0x3369ba(0x95)](_0x534d3c),this['_dependencyTreeCache'][_0x3369ba(0xee)](_0x534d3c['treeId'],_0x534d3c);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x4357a6);}}}}[_0x37b998(0xaf)](_0x26996c,_0x24c4de,_0x3ba2fb,_0xe6baf0){const _0x41744e=_0x37b998;for(const _0x434a3f of _0x26996c){const _0x4dc59c=_0x24c4de[_0x434a3f];if(_0x4dc59c==null)continue;const _0x29d68b=Object[_0x41744e(0x10c)](_0x4dc59c);for(const _0x543fe9 of _0x29d68b){const _0x302e6c=new C[(_0x41744e(0x7e))](_0x4dc59c[_0x543fe9]||{}),_0x17641e=new Map();_0x302e6c[_0x41744e(0x116)]((_0x192732,_0x3c6e91,_0x38a4c6)=>{const _0x43887f=_0x41744e;if(_0x38a4c6==null)return!0x0;const {x:_0x818e87=0x0,y:_0x586943=0x0,si:_0x164833}=_0x38a4c6;if(!(_0x818e87===0x0&&_0x586943===0x0&&_0x164833!=null))return!0x0;const _0x1f8070=this[_0x43887f(0xf6)](_0x434a3f,_0x543fe9,_0x192732,_0x3c6e91,_0x3ba2fb,_0x38a4c6),_0x33878c=this[_0x43887f(0xfc)][_0x43887f(0x105)](_0x434a3f,_0x543fe9,_0x192732,_0x3c6e91);_0x33878c!=null?_0x1f8070[_0x43887f(0xc5)]=_0x33878c:(this[_0x43887f(0xfc)][_0x43887f(0x73)](_0x434a3f,_0x543fe9,_0x192732,_0x3c6e91,_0x1f8070),this[_0x43887f(0xfc)][_0x43887f(0x10b)](_0x1f8070)),_0x17641e[_0x43887f(0xee)](_0x164833,_0x1f8070),_0xe6baf0['push'](_0x1f8070),this[_0x43887f(0x9e)][_0x43887f(0xee)](_0x1f8070[_0x43887f(0xc5)],_0x1f8070);}),_0x302e6c[_0x41744e(0x116)]((_0x4d7370,_0x40dd26,_0x462cf3)=>{const _0x3e0bc6=_0x41744e;if(_0x462cf3==null)return!0x0;const {x:_0x3d001f=0x0,y:_0x162d46=0x0,si:_0x1cc2b2}=_0x462cf3;if(_0x3d001f===0x0&&_0x162d46===0x0&&_0x1cc2b2!=null)return!0x0;let _0x321843;if(_0x1cc2b2&&_0x17641e[_0x3e0bc6(0xc3)](_0x1cc2b2)){const _0x23566a=_0x17641e[_0x3e0bc6(0xd4)](_0x1cc2b2);_0x321843=this['_createVirtualFDtree'](_0x23566a,_0x462cf3);}else _0x321843=this[_0x3e0bc6(0xf6)](_0x434a3f,_0x543fe9,_0x4d7370,_0x40dd26,_0x3ba2fb,_0x462cf3);const _0x16fe5e=this[_0x3e0bc6(0xfc)][_0x3e0bc6(0x105)](_0x434a3f,_0x543fe9,_0x4d7370,_0x40dd26);_0x16fe5e!=null?_0x321843['treeId']=_0x16fe5e:(this['_dependencyManagerService'][_0x3e0bc6(0x73)](_0x434a3f,_0x543fe9,_0x4d7370,_0x40dd26,_0x321843),this['_dependencyManagerService'][_0x3e0bc6(0x10b)](_0x321843)),_0xe6baf0['push'](_0x321843),this[_0x3e0bc6(0x9e)][_0x3e0bc6(0xee)](_0x321843[_0x3e0bc6(0xc5)],_0x321843);}),_0x17641e['clear']();}}}[_0x37b998(0xf6)](_0x11dd67,_0x1248cb,_0x29c198,_0x5fea6b,_0xccef60,_0x316098){const _0x163c1b=_0x37b998,{f:_0x4688ac,x:_0x2351a6=0x0,y:_0x33e0c9=0x0}=_0x316098,_0x2e9e83=new u[(_0x163c1b(0xb7))](u[_0x163c1b(0x94)](this[_0x163c1b(0xfc)])),_0x41abdd=_0xccef60[_0x11dd67][_0x1248cb];return _0x2e9e83['formula']=_0x4688ac,_0x2e9e83[_0x163c1b(0xd5)]=_0x11dd67,_0x2e9e83['subUnitId']=_0x1248cb,_0x2e9e83[_0x163c1b(0x114)]=_0x29c198,_0x2e9e83['column']=_0x5fea6b,_0x2e9e83[_0x163c1b(0xb4)]=_0x41abdd[_0x163c1b(0xb4)],_0x2e9e83[_0x163c1b(0xaa)]=_0x41abdd[_0x163c1b(0xaa)],_0x2e9e83;}[_0x37b998(0x92)](){const _0x570f83=_0x37b998,_0x2a995e=[],_0x6249fd=new Set(),_0x45aae6=this[_0x570f83(0xef)][_0x570f83(0xdc)](),_0x527ac9=this['_currentConfigService'][_0x570f83(0x123)](),_0x40d32e=this[_0x570f83(0xfc)][_0x570f83(0x77)](_0x527ac9),_0x49d299=this[_0x570f83(0x113)][_0x570f83(0xd1)](_0x527ac9);for(const _0x1485cc of _0x49d299)_0x40d32e[_0x570f83(0x107)](_0x1485cc);for(const [_0x105c6d,_0x4334e1]of this[_0x570f83(0x9e)])(_0x45aae6||_0x4334e1[_0x570f83(0xf5)]||_0x4334e1['dependencySheetName'](this[_0x570f83(0xef)][_0x570f83(0x7f)]())||_0x40d32e['has'](_0x105c6d)&&!_0x4334e1[_0x570f83(0xb0)](this[_0x570f83(0xef)][_0x570f83(0x74)]()))&&!_0x6249fd['has'](_0x105c6d)&&(_0x2a995e['push'](_0x4334e1),_0x6249fd[_0x570f83(0x107)](_0x105c6d));for(const [_0x5a7ec0,_0x235aa9]of this[_0x570f83(0x9e)])_0x235aa9[_0x570f83(0xfd)]||(_0x235aa9[_0x570f83(0xfe)][_0x570f83(0x10f)]=0x0);return _0x2a995e;}[_0x37b998(0xa7)](_0x53d989){const _0xd2a19e=_0x37b998;return this[_0xd2a19e(0x9e)][_0xd2a19e(0xd4)](_0x53d989);}[_0x37b998(0xd6)](_0x34732b){const _0x4a0b2a=_0x37b998;return u[_0x4a0b2a(0xe2)](_0x34732b['unitId'],_0x34732b[_0x4a0b2a(0x115)],this[_0x4a0b2a(0xc4)],this[_0x4a0b2a(0xb6)],this[_0x4a0b2a(0xef)]);}*[_0x37b998(0x108)](_0x1a8aac,_0x5710b8){const _0x3fb2d8=_0x37b998,_0x2c2b53=_0x1a8aac,_0x2b6b5d=new Set();for(;_0x2c2b53[_0x3fb2d8(0x10f)]>0x0;){const _0x1ba3f9=_0x2c2b53['pop']();if(_0x2b6b5d[_0x3fb2d8(0xbc)](),_0x1ba3f9===void 0x0||_0x1ba3f9[_0x3fb2d8(0x90)]())continue;if(_0x1ba3f9[_0x3fb2d8(0xe8)]()){yield _0x1ba3f9,_0x1ba3f9['setSkip'](),_0x5710b8['add'](_0x1ba3f9[_0x3fb2d8(0xc5)]);continue;}const _0x4a88d4=this['_dependencyManagerService'][_0x3fb2d8(0x77)](_0x1ba3f9[_0x3fb2d8(0xae)](),_0x5710b8),_0x275faa=this[_0x3fb2d8(0x113)][_0x3fb2d8(0xd1)](_0x1ba3f9[_0x3fb2d8(0xae)](),_0x5710b8);for(const _0xaaf057 of _0x275faa)_0x4a88d4[_0x3fb2d8(0x107)](_0xaaf057);for(const _0x349db5 of _0x4a88d4){const _0x26fbc5=this[_0x3fb2d8(0x9e)][_0x3fb2d8(0xd4)](_0x349db5);if(!_0x26fbc5)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x26fbc5[_0x3fb2d8(0xe8)]()||_0x1ba3f9[_0x3fb2d8(0x90)]()||_0x2b6b5d[_0x3fb2d8(0x107)](_0x26fbc5);}if(_0x4a88d4[_0x3fb2d8(0xbc)](),_0x2b6b5d[_0x3fb2d8(0xbf)]===0x0)yield _0x1ba3f9,_0x1ba3f9['setSkip'](),_0x5710b8[_0x3fb2d8(0x107)](_0x1ba3f9[_0x3fb2d8(0xc5)]);else{_0x1ba3f9[_0x3fb2d8(0x79)](),_0x2c2b53[_0x3fb2d8(0x95)](_0x1ba3f9);for(const _0x3d68ab of _0x2b6b5d)_0x2c2b53[_0x3fb2d8(0x95)](_0x3d68ab);}}_0x2c2b53[_0x3fb2d8(0x10f)]=0x0,_0x2b6b5d[_0x3fb2d8(0xbc)]();}['_calculateRunList'](_0x4173fa){const _0x46a8c1=_0x37b998,_0x2be7a0=[],_0x24ad06=new Set();for(const _0x4c47c7 of this['_traverse'](_0x4173fa,_0x24ad06))_0x2be7a0[_0x46a8c1(0x95)](_0x4c47c7);return _0x2be7a0;}}class K extends u[_0x37b998(0x9b)]{async[_0x37b998(0xd8)](_0x3ddba0=!0x1){const _0x51d755=_0x37b998;_0x3ddba0?this[_0x51d755(0x8b)][_0x51d755(0x96)](u[_0x51d755(0xd7)][_0x51d755(0x109)]):this['_runtimeService']['setFormulaExecuteStage'](u[_0x51d755(0xd7)][_0x51d755(0xfb)]),this[_0x51d755(0x6f)]['next'](this[_0x51d755(0x8b)]['getRuntimeState']());const _0x38a66e=await this['_formulaDependencyGenerator'][_0x51d755(0xeb)](),_0x40678c=this[_0x51d755(0xf8)];_0x3ddba0?(this[_0x51d755(0x8b)][_0x51d755(0x96)](u[_0x51d755(0xd7)][_0x51d755(0x8a)]),this[_0x51d755(0x8b)][_0x51d755(0x10e)](_0x38a66e[_0x51d755(0x10f)])):(this[_0x51d755(0x8b)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x51d755(0xfa)]),this[_0x51d755(0x8b)]['setTotalFormulasToCalculate'](_0x38a66e[_0x51d755(0x10f)])),this[_0x51d755(0x6f)]['next'](this[_0x51d755(0x8b)][_0x51d755(0x76)]());let _0x4b59f3=[];const _0x3d98c6=this[_0x51d755(0xe6)][_0x51d755(0xcd)](u[_0x51d755(0x75)]),_0x4df866=(_0x3d98c6==null?void 0x0:_0x3d98c6[_0x51d755(0xa2)])||u['DEFAULT_INTERVAL_COUNT'];let _0x264541=0x0;const _0x1dc3bd=_0x38a66e[_0x51d755(0x10f)];for(;_0x38a66e[_0x51d755(0x10f)]>0x0;){const _0x36d0ec=_0x38a66e[_0x51d755(0x100)](),_0x90d0e9={'node':u[_0x51d755(0xe2)](_0x36d0ec[_0x51d755(0xd5)],_0x36d0ec[_0x51d755(0x115)],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']),'refOffsetX':_0x36d0ec[_0x51d755(0xbd)],'refOffsetY':_0x36d0ec['refOffsetY']},_0xb466d6=_0x36d0ec[_0x51d755(0xd0)];if(_0x264541%_0x4df866===0x0&&(await new Promise(_0x34ccb8=>{const _0x173478=_0x51d755,_0x423126=C[_0x173478(0x7c)](_0x34ccb8);_0x4b59f3[_0x173478(0x95)](_0x423126);}),_0x3ddba0?(this[_0x51d755(0x8b)][_0x51d755(0x96)](u[_0x51d755(0xd7)][_0x51d755(0x88)]),this[_0x51d755(0x8b)]['setCompletedArrayFormulasCount'](_0x264541+0x1)):(this[_0x51d755(0x8b)][_0x51d755(0x96)](u[_0x51d755(0xd7)][_0x51d755(0x111)]),this[_0x51d755(0x8b)]['setCompletedFormulasCount'](_0x264541+0x1)),this[_0x51d755(0x6f)][_0x51d755(0xb3)](this['_runtimeService'][_0x51d755(0x76)]()),this[_0x51d755(0x8b)][_0x51d755(0xf7)]()||_0x90d0e9==null&&_0xb466d6==null)){this[_0x51d755(0x8b)]['setFormulaExecuteStage'](u[_0x51d755(0xd7)]['IDLE']),this[_0x51d755(0x8b)][_0x51d755(0x71)](),this[_0x51d755(0xe3)][_0x51d755(0xb3)](this[_0x51d755(0x8b)]['getAllRuntimeData']());return;}this[_0x51d755(0x8b)][_0x51d755(0xac)](_0x36d0ec[_0x51d755(0x114)],_0x36d0ec[_0x51d755(0xc1)],_0x36d0ec[_0x51d755(0xb4)],_0x36d0ec[_0x51d755(0xaa)],_0x36d0ec[_0x51d755(0xd3)],_0x36d0ec['unitId']);let _0x1673d4;if(_0xb466d6!=null&&_0x36d0ec[_0x51d755(0x80)]!=null){const {runtimeCellData:_0x3914dd,dirtyRanges:_0x4ca715}=_0xb466d6(this[_0x51d755(0xef)][_0x51d755(0xd0)](),this[_0x51d755(0x8b)][_0x51d755(0xab)]());this[_0x51d755(0x8b)][_0x51d755(0xe7)](_0x36d0ec[_0x51d755(0x80)],_0x3914dd),this[_0x51d755(0x8b)][_0x51d755(0x85)](_0x36d0ec[_0x51d755(0x80)],_0x4ca715);}else _0x90d0e9!=null&&(_0x40678c['checkAsyncNode'](_0x90d0e9[_0x51d755(0xea)])?_0x1673d4=await _0x40678c['executeAsync'](_0x90d0e9):_0x1673d4=_0x40678c['execute'](_0x90d0e9),_0x36d0ec[_0x51d755(0xb5)]!=null?this[_0x51d755(0x8b)]['setRuntimeOtherData'](_0x36d0ec[_0x51d755(0xb5)],_0x36d0ec['refOffsetX'],_0x36d0ec[_0x51d755(0x87)],_0x1673d4):this['_runtimeService'][_0x51d755(0xc2)](_0x1673d4));_0x264541++;}return _0x4b59f3['forEach'](_0x5f4d40=>_0x5f4d40()),_0x4b59f3=[],_0x1dc3bd>0x0?this['_runtimeService'][_0x51d755(0xf3)]():_0x3ddba0||this[_0x51d755(0x8b)][_0x51d755(0x91)](),this[_0x51d755(0x8b)]['getAllRuntimeData']();}}class Y extends u[_0x37b998(0xba)]{constructor(){const _0x5d2544=_0x37b998;super(...arguments),S(this,_0x5d2544(0x97),new Map()),S(this,_0x5d2544(0x11b),new C[(_0x5d2544(0xc6))](!0x0));}['reset'](){const _0x1ecd3d=_0x37b998;this[_0x1ecd3d(0x9f)][_0x1ecd3d(0xbc)](),this[_0x1ecd3d(0xa4)][_0x1ecd3d(0xbc)](),this[_0x1ecd3d(0xa1)][_0x1ecd3d(0xbc)](),this['_dependencyRTreeCache'][_0x1ecd3d(0xbc)](),this[_0x1ecd3d(0x97)]['clear'](),this[_0x1ecd3d(0x103)](),this['_otherFormulaDataMainData'][_0x1ecd3d(0xbc)]();}[_0x37b998(0x84)](_0x52ea42,_0x4b5fbf,_0x25e10c,_0x57c8f2){const _0xedc663=_0x37b998;this[_0xedc663(0x9f)]['has'](_0x52ea42)||this[_0xedc663(0x9f)][_0xedc663(0xee)](_0x52ea42,new Map());const _0xa8c111=this['_otherFormulaData'][_0xedc663(0xd4)](_0x52ea42);_0xa8c111[_0xedc663(0xc3)](_0x4b5fbf)||_0xa8c111[_0xedc663(0xee)](_0x4b5fbf,new Map());const _0x46f831=_0xa8c111['get'](_0x4b5fbf);_0x46f831[_0xedc663(0xc3)](_0x25e10c)||_0x46f831[_0xedc663(0xee)](_0x25e10c,new C[(_0xedc663(0x7e))]()),_0x46f831['get'](_0x25e10c)[_0xedc663(0xa8)](_0x57c8f2[_0xedc663(0xbd)],_0x57c8f2[_0xedc663(0x87)],_0x57c8f2[_0xedc663(0xc5)]);}[_0x37b998(0x7d)](_0x168627,_0x587af2,_0x5e0593){const _0x1a2987=_0x37b998,_0x33a095=this[_0x1a2987(0x9f)][_0x1a2987(0xd4)](_0x168627);if(_0x33a095&&_0x33a095[_0x1a2987(0xc3)](_0x587af2)){const _0x3286b0=_0x33a095[_0x1a2987(0xd4)](_0x587af2);_0x5e0593[_0x1a2987(0x7b)](_0x1834cc=>{const _0x31ca97=_0x1a2987,_0x201c30=_0x3286b0['get'](_0x1834cc);_0x201c30!=null&&(_0x201c30[_0x31ca97(0x116)]((_0x37631b,_0x525621,_0x5a1738)=>{const _0x1e3bf7=_0x31ca97;this[_0x1e3bf7(0x121)](_0x5a1738),this['_removeAllTreeMap'](_0x5a1738);}),_0x3286b0[_0x31ca97(0xc7)](_0x1834cc),this['_otherFormulaDataMainData'][_0x31ca97(0xc7)](_0x1834cc));}),_0x3286b0[_0x1a2987(0xbf)]===0x0&&_0x33a095['delete'](_0x587af2),_0x33a095[_0x1a2987(0xbf)]===0x0&&this[_0x1a2987(0x9f)][_0x1a2987(0xc7)](_0x168627);}}[_0x37b998(0xda)](_0x55e219,_0x46c5bc){const _0x102a55=_0x37b998,_0x2ff762=this['_otherFormulaData'][_0x102a55(0xd4)](_0x55e219);if(_0x46c5bc&&_0x2ff762&&_0x2ff762['has'](_0x46c5bc)){const _0x17d6f0=_0x2ff762[_0x102a55(0xd4)](_0x46c5bc);this[_0x102a55(0x9c)](_0x55e219,_0x46c5bc);for(const _0xf3bdda of _0x17d6f0['keys']()){const _0x4cad72=_0x17d6f0['get'](_0xf3bdda);_0x4cad72!=null&&(_0x4cad72[_0x102a55(0x116)]((_0x4de415,_0x15bf15,_0x2ca9d7)=>{const _0x43ec6c=_0x102a55;this['_allTreeMap'][_0x43ec6c(0xd4)](_0x2ca9d7)&&this['_removeAllTreeMap'](_0x2ca9d7);}),this['_otherFormulaDataMainData'][_0x102a55(0xc7)](_0xf3bdda));}_0x17d6f0[_0x102a55(0xbc)]();}else{if(_0x2ff762){for(const _0xb4db89 of _0x2ff762[_0x102a55(0x10c)]()){const _0xeba322=_0x2ff762[_0x102a55(0xd4)](_0xb4db89);this['_removeDependencyRTreeCacheById'](_0x55e219,_0xb4db89);for(const _0x3edbc3 of _0xeba322['keys']()){const _0x2adb94=_0xeba322[_0x102a55(0xd4)](_0x3edbc3);_0x2adb94!=null&&(_0x2adb94['forValue']((_0x4cacf7,_0xe74250,_0x5bce1b)=>{const _0x376d9a=_0x102a55;this[_0x376d9a(0x97)][_0x376d9a(0xd4)](_0x5bce1b)&&this[_0x376d9a(0xdd)](_0x5bce1b);}),this[_0x102a55(0xc8)]['delete'](_0x3edbc3));}}this['_otherFormulaData'][_0x102a55(0xc7)](_0x55e219);}}}[_0x37b998(0xf9)](_0x566c9c,_0x56d361,_0x505cd8,_0x25155b){const _0x10639b=_0x37b998;this[_0x10639b(0xa4)][_0x10639b(0xc3)](_0x566c9c)||this[_0x10639b(0xa4)][_0x10639b(0xee)](_0x566c9c,new Map());const _0x4f3e4b=this[_0x10639b(0xa4)][_0x10639b(0xd4)](_0x566c9c);_0x4f3e4b[_0x10639b(0xc3)](_0x56d361)||_0x4f3e4b[_0x10639b(0xee)](_0x56d361,new Map()),_0x4f3e4b['get'](_0x56d361)[_0x10639b(0xee)](_0x505cd8,_0x25155b[_0x10639b(0xc5)]);}[_0x37b998(0x104)](_0xc9ff07,_0x1a79ba,_0x1828af){const _0xebd6b4=_0x37b998,_0x2cefc6=this[_0xebd6b4(0xa4)][_0xebd6b4(0xd4)](_0xc9ff07);if(_0x2cefc6&&_0x2cefc6[_0xebd6b4(0xc3)](_0x1a79ba)){const _0x1f736f=_0x2cefc6[_0xebd6b4(0xd4)](_0x1a79ba);_0x1828af[_0xebd6b4(0x7b)](_0x568a11=>{const _0x49711d=_0xebd6b4,_0x355c09=_0x1f736f[_0x49711d(0xd4)](_0x568a11);_0x355c09!=null&&(this[_0x49711d(0x121)](_0x355c09),_0x1f736f[_0x49711d(0xc7)](_0x568a11),this[_0x49711d(0xdd)](_0x355c09));});}}['clearFeatureFormulaDependency'](_0x3b8018,_0x1f6023){const _0x3acbc8=_0x37b998,_0x17d738=this[_0x3acbc8(0xa4)][_0x3acbc8(0xd4)](_0x3b8018);if(_0x1f6023&&_0x17d738&&_0x17d738[_0x3acbc8(0xc3)](_0x1f6023)){const _0x4266e4=_0x17d738['get'](_0x1f6023);this[_0x3acbc8(0x9c)](_0x3b8018,_0x1f6023),_0x4266e4[_0x3acbc8(0x7b)](_0x2f7d9c=>{_0x2f7d9c!=null&&this['_removeAllTreeMap'](_0x2f7d9c);}),_0x4266e4['clear']();}else _0x17d738&&(_0x17d738[_0x3acbc8(0x7b)]((_0xcfc565,_0x56da24)=>{const _0x1c43fe=_0x3acbc8;this[_0x1c43fe(0x9c)](_0x3b8018,_0x56da24),_0xcfc565['forEach'](_0x1daba8=>{const _0x4253fe=_0x1c43fe;_0x1daba8!=null&&this[_0x4253fe(0xdd)](_0x1daba8);});}),this['_featureFormulaData'][_0x3acbc8(0xc7)](_0x3b8018));}[_0x37b998(0x73)](_0x24eb40,_0x18bb60,_0x279ae9,_0x24beef,_0x4810a2){const _0x2f6606=_0x37b998;this[_0x2f6606(0xa1)][_0x2f6606(0xc3)](_0x24eb40)||this[_0x2f6606(0xa1)][_0x2f6606(0xee)](_0x24eb40,new Map());const _0x344f99=this[_0x2f6606(0xa1)]['get'](_0x24eb40);_0x344f99[_0x2f6606(0xc3)](_0x18bb60)||_0x344f99[_0x2f6606(0xee)](_0x18bb60,new C[(_0x2f6606(0x7e))]()),_0x344f99[_0x2f6606(0xd4)](_0x18bb60)[_0x2f6606(0xa8)](_0x279ae9,_0x24beef,_0x4810a2[_0x2f6606(0xc5)]);}[_0x37b998(0x10d)](_0x4aaf41,_0xb7dbe6,_0x5786b9,_0x165503){const _0x36ce7c=_0x37b998,_0x16d540=this[_0x36ce7c(0xa1)][_0x36ce7c(0xd4)](_0x4aaf41);if(_0x16d540&&_0x16d540[_0x36ce7c(0xc3)](_0xb7dbe6)){const _0x2752ac=_0x16d540[_0x36ce7c(0xd4)](_0xb7dbe6),_0x5d645a=_0x2752ac['getValue'](_0x5786b9,_0x165503);if(_0x5d645a==null)return;this[_0x36ce7c(0x121)](_0x5d645a),_0x2752ac[_0x36ce7c(0xe5)](_0x5786b9,_0x165503),this[_0x36ce7c(0xdd)](_0x5d645a);}}[_0x37b998(0xb8)](_0x315f21,_0x1a6e5d){const _0x188dd3=_0x37b998,_0x37d108=this[_0x188dd3(0xa1)][_0x188dd3(0xd4)](_0x315f21);if(_0x1a6e5d&&_0x37d108&&_0x37d108[_0x188dd3(0xc3)](_0x1a6e5d)){const _0x44eadb=_0x37d108[_0x188dd3(0xd4)](_0x1a6e5d);this['_removeDependencyRTreeCacheById'](_0x315f21,_0x1a6e5d),_0x44eadb[_0x188dd3(0x116)]((_0x1df22b,_0x2bba87,_0x193ef8)=>{const _0x35b901=_0x188dd3;if(_0x193ef8==null)return!0x0;this[_0x35b901(0xdd)](_0x193ef8);}),_0x44eadb[_0x188dd3(0x110)]();}else _0x37d108&&(_0x37d108['forEach']((_0x3875d5,_0x10c596)=>{const _0x3875a6=_0x188dd3;this['_removeDependencyRTreeCacheById'](_0x315f21,_0x10c596),_0x3875d5[_0x3875a6(0x116)]((_0x40f82b,_0x3c23d3,_0x23934a)=>{const _0xcd6a1=_0x3875a6;if(_0x23934a==null)return!0x0;this[_0xcd6a1(0xdd)](_0x23934a);});}),this['_formulaData'][_0x188dd3(0xc7)](_0x315f21));}[_0x37b998(0x121)](_0x4fb5a6){const _0x35a4f7=_0x37b998;if(_0x4fb5a6==null)return;const _0x12e285=this[_0x35a4f7(0x97)]['get'](_0x4fb5a6);if(_0x12e285){const _0x2c60b0=[];for(const [_0x13546e,_0x4397c4]of _0x12e285)for(const [_0x564ec6,_0x46a5c4]of _0x4397c4)_0x2c60b0[_0x35a4f7(0x95)]({'unitId':_0x13546e,'sheetId':_0x564ec6,'range':_0x46a5c4,'id':_0x4fb5a6});this['_dependencyRTreeCache']['bulkRemove'](_0x2c60b0);}}[_0x37b998(0xbe)](_0x4eae33,_0x1ea926){const _0x52c9c0=_0x37b998,_0x39d57a=this[_0x52c9c0(0xe1)][_0x52c9c0(0xd4)](_0x4eae33);if(_0x39d57a){const _0x52ba4f=_0x39d57a[_0x52c9c0(0xd4)](_0x1ea926);if(_0x52ba4f){for(const _0x52397a of _0x52ba4f)this[_0x52c9c0(0x121)](_0x52397a),this['_removeAllTreeMap'](_0x52397a);_0x52ba4f[_0x52c9c0(0xbc)]();}}}[_0x37b998(0xa6)](){const _0x1ea46e=_0x37b998;this[_0x1ea46e(0x11b)]['openKdTree']();}[_0x37b998(0x72)](){const _0x48b31a=_0x37b998;this[_0x48b31a(0x11b)]['closeKdTree']();}[_0x37b998(0xdd)](_0x20d98d){const _0x26fc37=_0x37b998;_0x20d98d!=null&&this['_allTreeMap'][_0x26fc37(0xc7)](_0x20d98d);}['_addAllTreeMap'](_0x14c136){const _0xe8ba8b=_0x37b998;var _0x3cbef4,_0x101f57;const _0x1d2537=_0x14c136['rangeList'];let _0x571fb9=this[_0xe8ba8b(0x97)][_0xe8ba8b(0xd4)](_0x14c136[_0xe8ba8b(0xc5)]);for(let _0xddb439=0x0;_0xddb439<_0x1d2537['length'];_0xddb439++){const _0x4084d7=_0x1d2537[_0xddb439];let {unitId:_0x3822ff,sheetId:_0x3afa46,range:_0x26e5ce}=_0x4084d7;_0x571fb9||(_0x571fb9=new Map(),this[_0xe8ba8b(0x97)]['set'](_0x14c136[_0xe8ba8b(0xc5)],_0x571fb9)),_0x571fb9[_0xe8ba8b(0xc3)](_0x3822ff)||_0x571fb9[_0xe8ba8b(0xee)](_0x3822ff,new Map());const _0xc3b4b2=(_0x3cbef4=_0x571fb9==null?void 0x0:_0x571fb9[_0xe8ba8b(0xd4)](_0x3822ff))==null?void 0x0:_0x3cbef4[_0xe8ba8b(0xd4)](_0x3afa46);_0xc3b4b2&&(_0x26e5ce={'startRow':Math[_0xe8ba8b(0x11c)](_0x26e5ce['startRow'],_0xc3b4b2['startRow']),'startColumn':Math[_0xe8ba8b(0x11c)](_0x26e5ce['startColumn'],_0xc3b4b2[_0xe8ba8b(0x11e)]),'endRow':Math['max'](_0x26e5ce[_0xe8ba8b(0x102)],_0xc3b4b2[_0xe8ba8b(0x102)]),'endColumn':Math[_0xe8ba8b(0x11d)](_0x26e5ce['endColumn'],_0xc3b4b2['endColumn'])}),(_0x101f57=_0x571fb9[_0xe8ba8b(0xd4)](_0x3822ff))==null||_0x101f57[_0xe8ba8b(0xee)](_0x3afa46,_0x26e5ce);}}}function _0x55eb(){const _0x348fba=['_calculateRunList','type','73039EzhdwG','markedAsSuccessfullyExecuted','parseInt','isDirty','_createFDtree','isStopExecution','_interpreter','addFeatureFormulaDependency','START_CALCULATION','START_DEPENDENCY','_dependencyManagerService','isVirtual','rangeList','2219iIxVqX','pop','_config','endRow','_restDependencyTreeId','removeFeatureFormulaDependency','getFormulaDependency','FormulaDependencyGenerator','add','_traverse','START_DEPENDENCY_ARRAY_FORMULA','prototype','addFormulaDependencyByDefinedName','keys','removeFormulaDependency','setTotalArrayFormulasToCalculate','length','reset','CURRENTLY_CALCULATING','30BFGlrV','_dependencyRTreeCacheForAddressFunction','row','formula','forValue','clearFeatureFormulaDependency','IFormulaDependencyGenerator','getUnitData','isFeatureAuthorizedWithinTime','_dependencyRTreeCache','min','max','startColumn','DependentOn','225TbIuSL','_removeDependencyRTreeCache','UniverLicensePlugin','getDirtyRanges','resolve','_executionInProgressListener$','hasOwnProperty','markedAsStopFunctionsExecuted','closeKdTree','addFormulaDependency','getExcludedRange','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','getRuntimeState','searchDependency','_convertDirtyRangesToUnitRange','setAdded','defineProperty','forEach','requestImmediateMacroTask','removeOtherFormulaDependency','ObjectMatrix','getDirtyNameMap','featureId','getSheetFeatureLimit','3914541RttKNo','enableCycleDependency','addOtherFormulaDependency','setRuntimeFeatureRange','FormulaDependencyTreeType','refOffsetY','CURRENTLY_CALCULATING_ARRAY_FORMULA','getOwnPropertyDescriptor','START_CALCULATION_ARRAY_FORMULA','_runtimeService','getOtherFormulaDependency','_checkIsCycleDependency','7763916HZuCJf','5754745mieZGc','isSkip','markedAsNoFunctionsExecuted','_getUpdateTreeListAndMakeDependency','message','generateRandomDependencyTreeId','push','setFormulaExecuteStage','_allTreeMap','unshiftString','dispose','ICalculateFormulaService','CalculateFormulaService','_removeDependencyRTreeCacheById','_getFeatureFormulaTree','_dependencyTreeCache','_otherFormulaData','DependencyManagerService','_formulaData','intervalCount','48550PhPFNo','_featureFormulaData','_generateTreeList','openKdTree','_getTreeById','setValue','OTHER_FORMULA','columnCount','getAllRuntimeData','setCurrent','7797724ynBvli','toRTreeItem','_registerFormulas','isExcludeRange','Module','getClearDependencyTreeCache','next','rowCount','formulaId','_astTreeBuilder','FormulaDependencyTree','clearFormulaDependency','6SwEyDw','DependencyManagerBaseService','IDependencyManagerService','clear','refOffsetX','removeFormulaDependencyByDefinedName','size','dirtyRanges','column','setRuntimeData','has','_lexer','treeId','RTree','delete','_otherFormulaDataMainData','FormulaDependencyTreeVirtual','featureDirtyRanges','_updateRangeFlatten','isCache','getConfig','_initializeWithOverride','valid','getDirtyData','bulkSearch','getValue','subUnitId','get','unitId','_getTreeNode','FormulaExecuteStageType','_apply','52LZbPMH','clearOtherFormulaDependency','UniverProFormulaEnginePlugin','isForceCalculate','_removeAllTreeMap','4SuxVPL','_initLicenseValid','_injector','_definedNameMap','generateAstNode','_executionCompleteListener$','28416psFmai','realDeleteValue','_configService','setRuntimeFeatureCellData','isAdded','_registerOtherFormulas','node','generate','symbol','FEATURE_FORMULA','set','_currentConfigService'];_0x55eb=function(){return _0x348fba;};return _0x55eb();}var W=Object[_0x37b998(0x89)],q=(_0xed318a,_0x268f8e,_0x23f47f,_0xbe6eea)=>{for(var _0x3e6f6a=_0xbe6eea>0x1?void 0x0:_0xbe6eea?W(_0x268f8e,_0x23f47f):_0x268f8e,_0x58b5ee=_0xed318a['length']-0x1,_0x3fadd7;_0x58b5ee>=0x0;_0x58b5ee--)(_0x3fadd7=_0xed318a[_0x58b5ee])&&(_0x3e6f6a=_0x3fadd7(_0x3e6f6a)||_0x3e6f6a);return _0x3e6f6a;};const z=Number[_0x37b998(0xf4)](0x68678842);exports[_0x37b998(0xdb)]=class extends u['UniverFormulaEnginePlugin']{[_0x37b998(0xce)](){const _0x2439bb=_0x37b998;var _0x199470,_0x32288f;this[_0x2439bb(0xdf)]()?(_0x199470=this['_config'])!=null&&_0x199470['notExecuteFormula']||[[u[_0x2439bb(0x9a)],{'useClass':K}],[u[_0x2439bb(0xbb)],{'useClass':Y}],[u[_0x2439bb(0x118)],{'useClass':B}]][_0x2439bb(0x7b)](_0x51996c=>this['_injector']['add'](_0x51996c)):(_0x32288f=this[_0x2439bb(0x101)])!=null&&_0x32288f['notExecuteFormula']||[[u[_0x2439bb(0x9a)],{'useClass':u[_0x2439bb(0x9b)]}],[u[_0x2439bb(0xbb)],{'useClass':u[_0x2439bb(0xa0)]}],[u[_0x2439bb(0x118)],{'useClass':u[_0x2439bb(0x106)]}]][_0x2439bb(0x7b)](_0x10bfb8=>this[_0x2439bb(0xe0)][_0x2439bb(0x107)](_0x10bfb8));}[_0x37b998(0xdf)](){const _0x11f67f=_0x37b998;var _0x229425;const _0x48aa51=(_0x229425=this['_configService']['getConfig'](T['LS_CONFIG_KEY']))!=null?_0x229425:{},{ls:_0x1d38ba,pbk:_0x330f08}=_0x48aa51;if(!_0x1d38ba||!_0x330f08)return!0x1;const _0x45ffec=T[_0x11f67f(0x98)](V,k),_0xbfce02=new Function('return\x20'+_0x45ffec)()(_0x1d38ba,_0x330f08),_0x58d37c=_0xbfce02[_0x11f67f(0x93)];return _0xbfce02[_0x11f67f(0xcf)]&&T[_0x11f67f(0x11a)](_0x58d37c,'sf',z)?T[_0x11f67f(0x81)](_0x58d37c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x37b998(0xdb)]=q([C[_0x37b998(0x11f)](T[_0x37b998(0x122)])],exports['UniverProFormulaEnginePlugin']),Object[_0x37b998(0x10c)](u)[_0x37b998(0x7b)](_0x164899=>{const _0x4b63e0=_0x37b998;_0x164899!=='default'&&!Object[_0x4b63e0(0x10a)][_0x4b63e0(0x70)]['call'](exports,_0x164899)&&Object[_0x4b63e0(0x7a)](exports,_0x164899,{'enumerable':!0x0,'get':()=>u[_0x164899]});});
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 _0x3e0d(){var _0x445f30=['2246764IfuaNm','10xmcLTL','36OAaHjc','395276uWgQCe','1785160hkEkyf','25806429IMEQDg','308235EzoNnR','159412mTKOHT','126qbYdIE','1248570IdAHWw'];_0x3e0d=function(){return _0x445f30;};return _0x3e0d();}function _0x3441(_0xe8ea32,_0x413d99){var _0x3e0d3f=_0x3e0d();return _0x3441=function(_0x3441ba,_0x2f46ee){_0x3441ba=_0x3441ba-0xbb;var _0xb093de=_0x3e0d3f[_0x3441ba];return _0xb093de;},_0x3441(_0xe8ea32,_0x413d99);}(function(_0x416a6f,_0x18587f){var _0x3b5700=_0x3441,_0x2c2fe0=_0x416a6f();while(!![]){try{var _0x2aeea3=parseInt(_0x3b5700(0xbe))/0x1+parseInt(_0x3b5700(0xbf))/0x2+parseInt(_0x3b5700(0xbd))/0x3*(parseInt(_0x3b5700(0xbc))/0x4)+-parseInt(_0x3b5700(0xbb))/0x5*(parseInt(_0x3b5700(0xc1))/0x6)+-parseInt(_0x3b5700(0xc2))/0x7+parseInt(_0x3b5700(0xc3))/0x8+-parseInt(_0x3b5700(0xc4))/0x9*(parseInt(_0x3b5700(0xc0))/0xa);if(_0x2aeea3===_0x18587f)break;else _0x2c2fe0['push'](_0x2c2fe0['shift']());}catch(_0x4c4c36){_0x2c2fe0['push'](_0x2c2fe0['shift']());}}}(_0x3e0d,0xee158));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
+ function _0x21ad(){const _0x4dfe23=['resolve','add','removeFormulaDependencyByDefinedName','clearFormulaDependency','setRuntimeFeatureRange','formula','setValue','setFormulaExecuteStage','toRTreeItem','getConfig','_registerOtherFormulas','forEach','_lexer','getRuntimeState','keys','bulkRemove','setCompletedArrayFormulasCount','68FaIMpF\x20CrafG1IMpF(4MarF5r,\x2018W4MaOrG)\x20{\x20\x20\x20\x20IfG\x20{\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x204MarF5r9F6pjvfIKffvG\x20=\x204MarF5r.514MI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20pfMgMFRr55vgr\x20=\x207ZSQ.1vf5r(vIpW(4MarF5r9F6pjvfIKffvG[N]));\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!pfMgMFRr55vgr.8C)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pfMgMFRr55vgr.8C\x20=\x20Q8iWrf(4MarF5r9F6pjvfIKffvG[q]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20M5opftrf\x20=\x20IG1rp6\x20opftrfc4pWv4Zap1r\x20!==\x20\x278FCr6MFrC\x27\x20&&\x205r46\x20MF5IvFarp6\x20opftrfc4pWv4Zap1r;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20apFIrnI\x20=\x20M5opftrf\x20?\x205r46\x20:\x20zMFCpz;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[N]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(ir55vgropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[0]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(5MgFvI8fropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFEv4MC\x20=\x20apFIrnI.__brfM6G__(5MgFvI8fr,\x20ir55vgr,\x2018W4MaOrG);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20CpivMF\x20=\x20pfMgMFRr55vgr.Ci;\x20\x20\x20\x20\x20\x20\x20\x2068FaIMpF\x20M5PpivMFRvIa3MFg(pjvIIrfF,\x20pyp5I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfF\x20=\x20pjvIIrfF.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5I\x20=\x20pyp5I.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFjvfI5\x20=\x201vIIrfF.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IjvfI5\x20=\x203p5I.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!1vIIrfF.MFa48Cr5(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfF\x20===\x203p5I;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(1vIIrfFjvfI5.4rFgI3\x20<\x20N\x20||\x201vIIrfFjvfI5[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x206v45r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFZ866Mn\x20=\x201vIIrfFjvfI5.54Mar(L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IZ866Mn\x20=\x203p5IjvfI5.54Mar(-1vIIrfFjvfI5.4rFgI3\x20+\x20L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfFZ866Mn\x20===\x203p5IZ866Mn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204rI\x20CpivMFEv4MC\x20=\x20(CpivMF\x20&&\x20CpivMF.4rFgI3)\x20?\x20CpivMF.5pir((Ci9Iri)\x20=>\x20M5PpivMFRvIa3MFg(Ci9Iri,\x204pavIMpF.3p5IFvir))\x20:\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(4pavIMpF.3p5IFvir\x20===\x20\x274pav43p5I\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CpivMFEv4MC\x20=\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20bv4MC\x20=\x205MgFEv4MC\x20&&\x20CpivMFEv4MC;\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20pfMgMFRr55vgr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20avIa3\x20(rffpf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC:\x206v45r,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','checkAsyncNode','next','parseInt','length','_injector','return\x20','_addAllTreeMap','_removeDependencyRTreeCache','_calculateRunList','CURRENTLY_CALCULATING','_registerFormulas','_getTreeById','_createVirtualFDtree','_getFeatureFormulaTree','1156064xkpFxf','_formulaDependencyGenerator','max','582756UOlAWS','FEATURE_FORMULA','clear','_initializeWithOverride','_createFDtree','min','treeId','markedAsStopFunctionsExecuted','_configService','removeFormulaDependency','hasOtherFormulaDataMainData','getAllRuntimeData','_getFirstCellOfRange','_config','isCache','setTotalArrayFormulasToCalculate','isSkip','notExecuteFormula','_dependencyRTreeCacheForAddressFunction','isForceCalculate','IDLE','getValue','_getUpdateTreeListAndMakeDependency','openKdTree','type','message','valid','addFormulaDependencyByDefinedName','OTHER_FORMULA','addFeatureFormulaDependency','getDirtyNameMap','getClearDependencyTreeCache','_otherFormulaDataMainData','11raqgRS','symbol','node','_allTreeMap','getFormulaDependency','getDirtyRanges','_executionInProgressListener$','clearFeatureFormulaDependency','8UWlruA','2334mJVlHk','startColumn','getUnitData','3906870fuddoN','_featureFormulaData','_updateRangeFlatten','startRow','_isCyclicUtilMap','formulaId','execute','CURRENTLY_CALCULATING_ARRAY_FORMULA','markedAsSuccessfullyExecuted','setRuntimeOtherData','closeKdTree','getFeatureFormulaDependency','addOtherFormulaDependency','dispose','isAdded','realDeleteValue','_checkIsCycleDependency','reset','_traverse','_dependencyManagerService','rangeList','1564317dxKdTh','_otherFormulaManagerService','_initLicenseValid','columnCount','_generateTreeList','_removeDependencyRTreeCacheById','setSkip','_removeAllTreeMap','setCompletedFormulasCount','enableCycleDependency','generate','unitId','pop','_definedNameMap','_dependencyRTreeCache','featureId','row','_otherFormulaData','bulkSearch','push','rowCount','ParentDependencyTree\x20object\x20is\x20null','delete','clearOtherFormulaDependency','START_CALCULATION','_currentConfigService','_runtimeService','subUnitId','column','get','START_DEPENDENCY','endRow','getExcludedRange','set','12603olTzyu','_dependencyTreeCache','forValue','removeOtherFormulaDependency','_astTreeBuilder','_restDependencyTreeId','isVirtual','getDirtyData','has','refOffsetY','1535mbGrSe','searchDependency','setRuntimeData','getOtherFormulaData','_executionCompleteListener$','defineProperty','98jiiZga','129832wUqscI','addFormulaDependency','endColumn','_formulaData','getOwnPropertyDescriptor','refOffsetX'];_0x21ad=function(){return _0x4dfe23;};return _0x21ad();}const _0x467be0=_0x1e73;(function(_0x247eb1,_0x4034bb){const _0x28c6f1=_0x1e73,_0x5191ed=_0x247eb1();while(!![]){try{const _0x47e137=-parseInt(_0x28c6f1(0x141))/0x1+-parseInt(_0x28c6f1(0x140))/0x2*(parseInt(_0x28c6f1(0x130))/0x3)+-parseInt(_0x28c6f1(0xcc))/0x4+parseInt(_0x28c6f1(0x13a))/0x5*(-parseInt(_0x28c6f1(0xf6))/0x6)+-parseInt(_0x28c6f1(0xc9))/0x7*(-parseInt(_0x28c6f1(0xf5))/0x8)+parseInt(_0x28c6f1(0x10e))/0x9+-parseInt(_0x28c6f1(0xf9))/0xa*(-parseInt(_0x28c6f1(0xed))/0xb);if(_0x47e137===_0x4034bb)break;else _0x5191ed['push'](_0x5191ed['shift']());}catch(_0x566b5d){_0x5191ed['push'](_0x5191ed['shift']());}}}(_0x21ad,0x1f75b));var Z=Object[_0x467be0(0x13f)],H=(_0x43f870,_0x182e72,_0x19957a)=>_0x182e72 in _0x43f870?Z(_0x43f870,_0x182e72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19957a}):_0x43f870[_0x182e72]=_0x19957a,I=(_0x107078,_0xba6616,_0x21ba89)=>H(_0x107078,typeof _0xba6616!=_0x467be0(0xee)?_0xba6616+'':_0xba6616,_0x21ba89);import{UniverLicensePlugin as _0x196769,LS_CONFIG_KEY as _0x44b299,unshiftString as _0x3251b6,isFeatureAuthorizedWithinTime as _0x369b11,getSheetFeatureLimit as _0x20cd47}from'@univerjs-pro/license';import{ObjectMatrix as _0x96164f,requestImmediateMacroTask as _0x32a640,RTree as _0x22505c,DependentOn as _0x3cb4fa}from'@univerjs/core';import{FormulaDependencyGenerator as _0x108708,generateRandomDependencyTreeId as _0x838ef9,FormulaDependencyTree as _0x244662,FormulaDependencyTreeType as _0x43607a,FormulaDependencyTreeVirtual as _0x1be864,generateAstNode as _0x3d1eca,CalculateFormulaService as _0x53eea7,FormulaExecuteStageType as _0xae7378,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3bffa0,DEFAULT_INTERVAL_COUNT as _0x3af803,DependencyManagerBaseService as _0x4dcaf1,UniverFormulaEnginePlugin as _0x5552ac,ICalculateFormulaService as _0x4ec4c6,IDependencyManagerService as _0xd715e2,IFormulaDependencyGenerator as _0x88fc10,DependencyManagerService as _0x2b7340}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'3',0x1:'p',0x2:'E',0x3:'h',0x4:'l',0x5:'s',0x6:'f',0x7:'J',0x8:'u',0x9:'I','k':'0','L':'1','N':'2','q':'4','d':'5','x':'6','w':'7','e':'8','m':'9','v':'a','W':'b','a':'c','C':'d','r':'e','g':'g','M':'i','l':'j','t':'k','i':'m','F':'n','p':'o','U':'q','f':'r','I':'t','b':'v','z':'w','n':'x','G':'y','s':'z','K':'A','h':'B','V':'C','P':'D','A':'F','c':'G','y':'H','O':'K','u':'L','R':'M','Q':'N','S':'O','j':'P','J':'Q','B':'R','Z':'S','Y':'T','T':'U','E':'V','o':'W','D':'X','H':'Y','X':'Z'},ue=_0x467be0(0xba);class fe extends _0x108708{constructor(){const _0x59629f=_0x467be0;super(...arguments),I(this,_0x59629f(0x131),new Map());}['dispose'](){const _0x29f931=_0x467be0;super[_0x29f931(0x106)](),this[_0x29f931(0x131)][_0x29f931(0xce)]();}async[_0x467be0(0x118)](){const _0x4515ce=_0x467be0;this[_0x4515ce(0xfb)]();const _0x6394f4=this['_currentConfigService']['getFormulaData'](),_0x299ef6=this[_0x4515ce(0x10f)][_0x4515ce(0x13d)](),_0x440b99=this[_0x4515ce(0x127)][_0x4515ce(0xeb)]();_0x440b99!=null&&Object[_0x4515ce(0xb7)](_0x440b99)[_0x4515ce(0xb4)](_0x1e90e3=>{const _0x2064df=_0x4515ce;_0x1e90e3!=null&&Object[_0x2064df(0xb7)](_0x440b99[_0x1e90e3])[_0x2064df(0xb4)](_0x5bfe47=>{const _0x533a19=_0x2064df;_0x5bfe47!=null&&(this[_0x533a19(0x10c)][_0x533a19(0x125)](_0x1e90e3,_0x5bfe47),this[_0x533a19(0x10c)][_0x533a19(0xf4)](_0x1e90e3,_0x5bfe47),this[_0x533a19(0x10c)][_0x533a19(0xac)](_0x1e90e3,_0x5bfe47));});});const _0x13a3ca=this[_0x4515ce(0x127)][_0x4515ce(0xf8)]();await this[_0x4515ce(0x112)](_0x6394f4,_0x299ef6,_0x13a3ca),this['_dependencyManagerService']['openKdTree']();const _0xa228fd=this[_0x4515ce(0xe2)](),_0x1057a0=this[_0x4515ce(0xc3)](_0xa228fd);return this['_checkIsCycleDependency'](_0x1057a0)&&this['_runtimeService'][_0x4515ce(0x117)](),this['_dependencyTreeCache'][_0x4515ce(0xce)](),this[_0x4515ce(0xde)]['clear'](),this[_0x4515ce(0x10c)]['closeKdTree'](),Promise[_0x4515ce(0x147)](_0x1057a0);}[_0x467be0(0xfd)](_0x100429,_0x48980a){const _0x2ec902=_0x467be0,_0x51d761=[_0x100429];for(;_0x51d761[_0x2ec902(0xbe)]>0x0;){const _0xb8665f=_0x51d761[_0x51d761[_0x2ec902(0xbe)]-0x1];if((_0x48980a[_0x2ec902(0x12b)](_0xb8665f)||0x0)===0x0){_0x48980a[_0x2ec902(0x12f)](_0xb8665f,0x1);const _0x54c1fd=this[_0x2ec902(0x131)][_0x2ec902(0x12b)](_0xb8665f);if(_0x54c1fd==null){_0x48980a['set'](_0xb8665f,0x2),_0x51d761[_0x2ec902(0x11a)]();continue;}const _0x551c93=this[_0x2ec902(0x10c)][_0x2ec902(0x13b)](_0x54c1fd[_0x2ec902(0xb1)]());for(const _0x362b69 of _0x551c93){const _0x17a980=_0x48980a[_0x2ec902(0x12b)](_0x362b69)||0x0;if(_0x17a980===0x1)return!0x0;_0x17a980===0x0&&_0x51d761['push'](_0x362b69);}}else _0x48980a['set'](_0xb8665f,0x2),_0x51d761['pop']();}return!0x1;}[_0x467be0(0x109)](_0x34408e){const _0x141cb4=_0x467be0,_0x1953a0=new Map();for(const _0x3f7de0 of _0x34408e)if(!_0x1953a0[_0x141cb4(0x138)](_0x3f7de0[_0x141cb4(0xd2)])&&this[_0x141cb4(0xfd)](_0x3f7de0[_0x141cb4(0xd2)],_0x1953a0))return!0x0;return _0x1953a0['clear'](),!0x1;}[_0x467be0(0xc8)](_0x3e1375,_0x265e4d,_0x1eb9aa){const _0x4653aa=_0x467be0,{unitId:_0x210706,subUnitId:_0x264e64,dependencyRanges:_0xd09412,getDirtyData:_0x37d8eb}=_0x1eb9aa,_0x5438ef=_0x265e4d||_0x838ef9(this['_dependencyManagerService']),_0x43173a=new _0x244662(_0x5438ef);_0x43173a['unitId']=_0x210706,_0x43173a[_0x4653aa(0x129)]=_0x264e64,_0x43173a[_0x4653aa(0x10d)]=_0xd09412,_0x43173a[_0x4653aa(0x137)]=_0x37d8eb;const _0x224c06=_0x37d8eb(this['_currentConfigService'][_0x4653aa(0x137)](),this[_0x4653aa(0x128)][_0x4653aa(0xd7)]()),_0x56fe38=this['_convertDirtyRangesToUnitRange'](_0x224c06['dirtyRanges']);return _0x43173a['featureDirtyRanges']=_0x56fe38,_0x43173a[_0x4653aa(0x11d)]=_0x3e1375,_0x43173a[_0x4653aa(0xe4)]=_0x43607a[_0x4653aa(0xcd)],this[_0x4653aa(0x10c)][_0x4653aa(0xe9)](_0x210706,_0x264e64,_0x3e1375,_0x43173a),this[_0x4653aa(0x131)]['set'](_0x43173a[_0x4653aa(0xd2)],_0x43173a),this[_0x4653aa(0x10c)][_0x4653aa(0x104)](_0x1eb9aa[_0x4653aa(0x119)],_0x1eb9aa['subUnitId'],_0x3e1375)&&(_0x43173a[_0x4653aa(0xda)]=!0x0),_0x43173a;}[_0x467be0(0xb3)](_0xb2a2fb,_0x52d901,_0x5ba6ef){const _0x505e61=_0x467be0;var _0x299780;for(const _0x44f0cb of _0x52d901){const _0x576747=_0xb2a2fb[_0x44f0cb];if(_0x576747==null)continue;const _0x5260b1=Object['keys'](_0x576747);for(const _0x1e34b4 of _0x5260b1){const _0x166543=_0x576747[_0x1e34b4];if(_0x166543==null)continue;const _0x29cc81=Object[_0x505e61(0xb7)](_0x166543);for(const _0x5b1a53 of _0x29cc81){const _0x518fa0=this[_0x505e61(0x10c)][_0x505e61(0xd6)](_0x5b1a53),_0x263acb=_0x166543[_0x5b1a53],{f:_0xf50824,ranges:_0x2e7651}=_0x263acb;let _0x2366bd=!0x1;_0x518fa0&&(_0x2366bd=!0x0);const {firstRow:_0x137d05,firstColumn:_0x120b8f}=this[_0x505e61(0xd8)](_0x2e7651),_0x436cdb=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x44f0cb,_0x1e34b4,_0x5b1a53),_0x2b1b64=(_0x299780=_0x436cdb==null?void 0x0:_0x436cdb['getValue'](0x0,0x0))!=null?_0x299780:_0x838ef9(this[_0x505e61(0x10c)]),_0x937ccf=new _0x244662(_0x2b1b64);for(let _0x3d9259=0x0;_0x3d9259<_0x2e7651[_0x505e61(0xbe)];_0x3d9259++){const _0x17da43=_0x2e7651[_0x3d9259],{startRow:_0x212b37,startColumn:_0x3faa6a,endRow:_0x140add,endColumn:_0x1fed3e}=_0x17da43;for(let _0x48976a=_0x212b37;_0x48976a<=_0x140add;_0x48976a++)for(let _0x2f205d=_0x3faa6a;_0x2f205d<=_0x1fed3e;_0x2f205d++){const _0x5c81b8=_0x2f205d-_0x120b8f,_0x5e634a=_0x48976a-_0x137d05;if(_0x5c81b8===0x0&&_0x5e634a===0x0){_0x937ccf['formula']=_0xf50824,_0x937ccf[_0x505e61(0x119)]=_0x44f0cb,_0x937ccf[_0x505e61(0x129)]=_0x1e34b4,_0x937ccf['formulaId']=_0x5b1a53,_0x937ccf[_0x505e61(0xe4)]=_0x43607a[_0x505e61(0xe8)],_0x937ccf[_0x505e61(0xda)]=_0x2366bd,_0x5ba6ef[_0x505e61(0x121)](_0x937ccf),this[_0x505e61(0x131)]['set'](_0x937ccf['treeId'],_0x937ccf),this[_0x505e61(0x10c)][_0x505e61(0x105)](_0x44f0cb,_0x1e34b4,_0x5b1a53,_0x937ccf),this['_dependencyManagerService'][_0x505e61(0xe7)](_0x937ccf);continue;}const _0x2f2285=new _0x1be864();_0x2f2285[_0x505e61(0xd2)]=(_0x436cdb==null?void 0x0:_0x436cdb[_0x505e61(0xe1)](_0x5c81b8,_0x5e634a))||_0x838ef9(this[_0x505e61(0x10c)]),_0x2f2285['refTree']=_0x937ccf,_0x2f2285[_0x505e61(0x146)]=_0x5c81b8,_0x2f2285[_0x505e61(0x139)]=_0x5e634a,_0x2f2285['isCache']=_0x2366bd,this[_0x505e61(0x10c)][_0x505e61(0x105)](_0x44f0cb,_0x1e34b4,_0x5b1a53,_0x2f2285),this[_0x505e61(0x10c)][_0x505e61(0xe7)](_0x2f2285),_0x5ba6ef['push'](_0x2f2285),this[_0x505e61(0x131)]['set'](_0x2f2285['treeId'],_0x2f2285);}}this[_0x505e61(0x10c)]['addOtherFormulaDependencyMainData'](_0x5b1a53);}}}}[_0x467be0(0xc5)](_0x3aee57,_0x3c1a7a,_0x824629,_0x31f2a6){const _0x268d29=_0x467be0;for(const _0x8eb41b of _0x3aee57){const _0x1bdfd2=_0x3c1a7a[_0x8eb41b];if(_0x1bdfd2==null)continue;const _0x4d77f3=Object[_0x268d29(0xb7)](_0x1bdfd2);for(const _0x117d5a of _0x4d77f3){const _0x543418=new _0x96164f(_0x1bdfd2[_0x117d5a]||{}),_0x1c2193=new Map();_0x543418['forValue']((_0x4171db,_0x1da8ad,_0x157b46)=>{const _0xc0f67a=_0x268d29;if(_0x157b46==null)return!0x0;const {x:_0xa988ce=0x0,y:y=0x0,si:_0x276dda}=_0x157b46;if(!(_0xa988ce===0x0&&y===0x0&&_0x276dda!=null))return!0x0;const _0x1ddb46=this['_createFDtree'](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad,_0x824629,_0x157b46),_0x474c08=this[_0xc0f67a(0x10c)][_0xc0f67a(0xf1)](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad);_0x474c08!=null?_0x1ddb46['treeId']=_0x474c08:(this[_0xc0f67a(0x10c)][_0xc0f67a(0x142)](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad,_0x1ddb46),this[_0xc0f67a(0x10c)][_0xc0f67a(0xe7)](_0x1ddb46)),_0x1c2193[_0xc0f67a(0x12f)](_0x276dda,_0x1ddb46),_0x31f2a6[_0xc0f67a(0x121)](_0x1ddb46),this['_dependencyTreeCache'][_0xc0f67a(0x12f)](_0x1ddb46[_0xc0f67a(0xd2)],_0x1ddb46);}),_0x543418[_0x268d29(0x132)]((_0x85d7bd,_0x32d03d,_0x4ee531)=>{const _0x45fcbb=_0x268d29;if(_0x4ee531==null)return!0x0;const {x:_0x3d74b0=0x0,y:y=0x0,si:_0x9165d8}=_0x4ee531;if(_0x3d74b0===0x0&&y===0x0&&_0x9165d8!=null)return!0x0;let _0x40fed2;if(_0x9165d8&&_0x1c2193[_0x45fcbb(0x138)](_0x9165d8)){const _0x3fa137=_0x1c2193[_0x45fcbb(0x12b)](_0x9165d8);_0x40fed2=this[_0x45fcbb(0xc7)](_0x3fa137,_0x4ee531);}else _0x40fed2=this[_0x45fcbb(0xd0)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d,_0x824629,_0x4ee531);const _0x55ba99=this['_dependencyManagerService'][_0x45fcbb(0xf1)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d);_0x55ba99!=null?_0x40fed2[_0x45fcbb(0xd2)]=_0x55ba99:(this['_dependencyManagerService'][_0x45fcbb(0x142)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d,_0x40fed2),this[_0x45fcbb(0x10c)][_0x45fcbb(0xe7)](_0x40fed2)),_0x31f2a6['push'](_0x40fed2),this[_0x45fcbb(0x131)][_0x45fcbb(0x12f)](_0x40fed2[_0x45fcbb(0xd2)],_0x40fed2);}),_0x1c2193['clear']();}}}[_0x467be0(0xd0)](_0x54a5d3,_0x530b5d,_0x59beb4,_0x8cbae1,_0x5549e6,_0x1fb9ee){const _0x43958e=_0x467be0,{f:_0x34fbac,x:_0x917e92=0x0,y:_0x2025f0=0x0}=_0x1fb9ee,_0x49923a=new _0x244662(_0x838ef9(this[_0x43958e(0x10c)])),_0x5b7665=_0x5549e6[_0x54a5d3][_0x530b5d];return _0x49923a[_0x43958e(0xae)]=_0x34fbac,_0x49923a['unitId']=_0x54a5d3,_0x49923a[_0x43958e(0x129)]=_0x530b5d,_0x49923a[_0x43958e(0x11e)]=_0x59beb4,_0x49923a[_0x43958e(0x12a)]=_0x8cbae1,_0x49923a['rowCount']=_0x5b7665[_0x43958e(0x122)],_0x49923a[_0x43958e(0x111)]=_0x5b7665[_0x43958e(0x111)],_0x49923a;}[_0x467be0(0xe2)](){const _0x6d7b40=_0x467be0,_0x20f4bc=[],_0x140061=new Set(),_0x5cb8cb=this[_0x6d7b40(0x127)][_0x6d7b40(0xdf)](),_0x593757=this['_currentConfigService'][_0x6d7b40(0xf2)](),_0x29befd=this[_0x6d7b40(0x10c)][_0x6d7b40(0x13b)](_0x593757),_0xa9ab99=this[_0x6d7b40(0xde)]['bulkSearch'](_0x593757);for(const _0x5d7721 of _0xa9ab99)_0x29befd[_0x6d7b40(0x148)](_0x5d7721);for(const [_0x3834ad,_0x122c83]of this[_0x6d7b40(0x131)])(_0x5cb8cb||_0x122c83['isDirty']||_0x122c83['dependencySheetName'](this[_0x6d7b40(0x127)][_0x6d7b40(0xea)]())||_0x29befd['has'](_0x3834ad)&&!_0x122c83['isExcludeRange'](this[_0x6d7b40(0x127)][_0x6d7b40(0x12e)]()))&&!_0x140061['has'](_0x3834ad)&&(_0x20f4bc['push'](_0x122c83),_0x140061[_0x6d7b40(0x148)](_0x3834ad));for(const [_0x3e3c72,_0x22dd5b]of this[_0x6d7b40(0x131)])_0x22dd5b[_0x6d7b40(0x136)]||(_0x22dd5b[_0x6d7b40(0x10d)]['length']=0x0);return _0x20f4bc;}[_0x467be0(0xc6)](_0x689866){const _0x14add2=_0x467be0;return this['_dependencyTreeCache'][_0x14add2(0x12b)](_0x689866);}['_getTreeNode'](_0x413511){const _0x10387a=_0x467be0;return _0x3d1eca(_0x413511['unitId'],_0x413511['formula'],this[_0x10387a(0xb5)],this[_0x10387a(0x134)],this[_0x10387a(0x127)]);}*[_0x467be0(0x10b)](_0x394552,_0x4b41c6){const _0x54b334=_0x467be0,_0x48eac1=_0x394552,_0x24311d=new Set();for(;_0x48eac1[_0x54b334(0xbe)]>0x0;){const _0x5e823e=_0x48eac1[_0x54b334(0x11a)]();if(_0x24311d[_0x54b334(0xce)](),_0x5e823e===void 0x0||_0x5e823e[_0x54b334(0xdc)]())continue;if(_0x5e823e[_0x54b334(0x107)]()){yield _0x5e823e,_0x5e823e[_0x54b334(0x114)](),_0x4b41c6[_0x54b334(0x148)](_0x5e823e['treeId']);continue;}const _0x3bae2f=this['_dependencyManagerService'][_0x54b334(0x13b)](_0x5e823e[_0x54b334(0xb1)](),_0x4b41c6),_0x1a802c=this['_dependencyRTreeCacheForAddressFunction'][_0x54b334(0x120)](_0x5e823e[_0x54b334(0xb1)](),_0x4b41c6);for(const _0x9fabaf of _0x1a802c)_0x3bae2f[_0x54b334(0x148)](_0x9fabaf);for(const _0x130e76 of _0x3bae2f){const _0x3ec55f=this[_0x54b334(0x131)][_0x54b334(0x12b)](_0x130e76);if(!_0x3ec55f)throw new Error(_0x54b334(0x123));_0x3ec55f[_0x54b334(0x107)]()||_0x5e823e[_0x54b334(0xdc)]()||_0x24311d[_0x54b334(0x148)](_0x3ec55f);}if(_0x3bae2f[_0x54b334(0xce)](),_0x24311d['size']===0x0)yield _0x5e823e,_0x5e823e[_0x54b334(0x114)](),_0x4b41c6[_0x54b334(0x148)](_0x5e823e['treeId']);else{_0x5e823e['setAdded'](),_0x48eac1['push'](_0x5e823e);for(const _0x45277e of _0x24311d)_0x48eac1[_0x54b334(0x121)](_0x45277e);}}_0x48eac1[_0x54b334(0xbe)]=0x0,_0x24311d[_0x54b334(0xce)]();}[_0x467be0(0xc3)](_0x4fab9c){const _0x22e61f=_0x467be0,_0xa54aa4=[],_0x2ae728=new Set();for(const _0x3d2103 of this[_0x22e61f(0x10b)](_0x4fab9c,_0x2ae728))_0xa54aa4[_0x22e61f(0x121)](_0x3d2103);return _0xa54aa4;}}class de extends _0x53eea7{async['_apply'](_0x518a89=!0x1){const _0x3c6713=_0x467be0;_0x518a89?this[_0x3c6713(0x128)]['setFormulaExecuteStage'](_0xae7378['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x12c)]),this[_0x3c6713(0xf3)]['next'](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]());const _0x321c0f=await this[_0x3c6713(0xca)][_0x3c6713(0x118)](),_0x553a1d=this['_interpreter'];_0x518a89?(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378['START_CALCULATION_ARRAY_FORMULA']),this[_0x3c6713(0x128)][_0x3c6713(0xdb)](_0x321c0f[_0x3c6713(0xbe)])):(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x126)]),this[_0x3c6713(0x128)]['setTotalFormulasToCalculate'](_0x321c0f[_0x3c6713(0xbe)])),this[_0x3c6713(0xf3)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]());let _0xa789fc=[];const _0x4f1a69=this[_0x3c6713(0xd4)]['getConfig'](_0x3bffa0),_0x3f1eea=(_0x4f1a69==null?void 0x0:_0x4f1a69['intervalCount'])||_0x3af803;let _0x1d12ed=0x0;const _0x15f3b0=_0x321c0f['length'];for(;_0x321c0f[_0x3c6713(0xbe)]>0x0;){const _0x4fb64b=_0x321c0f[_0x3c6713(0x11a)](),_0x24b310={'node':_0x3d1eca(_0x4fb64b[_0x3c6713(0x119)],_0x4fb64b[_0x3c6713(0xae)],this[_0x3c6713(0xb5)],this['_astTreeBuilder'],this[_0x3c6713(0x127)]),'refOffsetX':_0x4fb64b[_0x3c6713(0x146)],'refOffsetY':_0x4fb64b['refOffsetY']},_0x13935c=_0x4fb64b['getDirtyData'];if(_0x1d12ed%_0x3f1eea===0x0&&(await new Promise(_0x1bad69=>{const _0x3c5c05=_0x3c6713,_0x336646=_0x32a640(_0x1bad69);_0xa789fc[_0x3c5c05(0x121)](_0x336646);}),_0x518a89?(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x100)]),this[_0x3c6713(0x128)][_0x3c6713(0xb9)](_0x1d12ed+0x1)):(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0xc4)]),this[_0x3c6713(0x128)][_0x3c6713(0x116)](_0x1d12ed+0x1)),this[_0x3c6713(0xf3)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]()),this[_0x3c6713(0x128)]['isStopExecution']()||_0x24b310==null&&_0x13935c==null)){this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0xe0)]),this[_0x3c6713(0x128)][_0x3c6713(0xd3)](),this[_0x3c6713(0x13e)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)]['getAllRuntimeData']());return;}this[_0x3c6713(0x128)]['setCurrent'](_0x4fb64b[_0x3c6713(0x11e)],_0x4fb64b[_0x3c6713(0x12a)],_0x4fb64b[_0x3c6713(0x122)],_0x4fb64b['columnCount'],_0x4fb64b[_0x3c6713(0x129)],_0x4fb64b[_0x3c6713(0x119)]);let _0x22c1f4;if(_0x13935c!=null&&_0x4fb64b[_0x3c6713(0x11d)]!=null){const {runtimeCellData:_0x338bcc,dirtyRanges:_0x17cbc3}=_0x13935c(this[_0x3c6713(0x127)][_0x3c6713(0x137)](),this[_0x3c6713(0x128)][_0x3c6713(0xd7)]());this[_0x3c6713(0x128)]['setRuntimeFeatureCellData'](_0x4fb64b[_0x3c6713(0x11d)],_0x338bcc),this[_0x3c6713(0x128)][_0x3c6713(0xad)](_0x4fb64b['featureId'],_0x17cbc3);}else _0x24b310!=null&&(_0x553a1d[_0x3c6713(0xbb)](_0x24b310[_0x3c6713(0xef)])?_0x22c1f4=await _0x553a1d['executeAsync'](_0x24b310):_0x22c1f4=_0x553a1d[_0x3c6713(0xff)](_0x24b310),_0x4fb64b[_0x3c6713(0xfe)]!=null?this[_0x3c6713(0x128)][_0x3c6713(0x102)](_0x4fb64b[_0x3c6713(0xfe)],_0x4fb64b['refOffsetX'],_0x4fb64b[_0x3c6713(0x139)],_0x22c1f4):this[_0x3c6713(0x128)][_0x3c6713(0x13c)](_0x22c1f4));_0x1d12ed++;}return _0xa789fc[_0x3c6713(0xb4)](_0x5bf12e=>_0x5bf12e()),_0xa789fc=[],_0x15f3b0>0x0?this[_0x3c6713(0x128)][_0x3c6713(0x101)]():_0x518a89||this[_0x3c6713(0x128)]['markedAsNoFunctionsExecuted'](),this['_runtimeService']['getAllRuntimeData']();}}class he extends _0x4dcaf1{constructor(){const _0x3c16cc=_0x467be0;super(...arguments),I(this,_0x3c16cc(0xf0),new Map()),I(this,'_dependencyRTreeCache',new _0x22505c(!0x0));}[_0x467be0(0x10a)](){const _0x5799dd=_0x467be0;this[_0x5799dd(0x11f)]['clear'](),this[_0x5799dd(0xfa)][_0x5799dd(0xce)](),this[_0x5799dd(0x144)][_0x5799dd(0xce)](),this['_dependencyRTreeCache']['clear'](),this[_0x5799dd(0xf0)][_0x5799dd(0xce)](),this[_0x5799dd(0x135)](),this[_0x5799dd(0xec)][_0x5799dd(0xce)]();}[_0x467be0(0x105)](_0x13780b,_0x63bd80,_0x131d1d,_0x19d2b0){const _0x4c18f9=_0x467be0;this[_0x4c18f9(0x11f)]['has'](_0x13780b)||this[_0x4c18f9(0x11f)][_0x4c18f9(0x12f)](_0x13780b,new Map());const _0x16a676=this[_0x4c18f9(0x11f)][_0x4c18f9(0x12b)](_0x13780b);_0x16a676[_0x4c18f9(0x138)](_0x63bd80)||_0x16a676['set'](_0x63bd80,new Map());const _0x107f07=_0x16a676[_0x4c18f9(0x12b)](_0x63bd80);_0x107f07[_0x4c18f9(0x138)](_0x131d1d)||_0x107f07[_0x4c18f9(0x12f)](_0x131d1d,new _0x96164f()),_0x107f07[_0x4c18f9(0x12b)](_0x131d1d)[_0x4c18f9(0xaf)](_0x19d2b0[_0x4c18f9(0x146)],_0x19d2b0[_0x4c18f9(0x139)],_0x19d2b0[_0x4c18f9(0xd2)]);}[_0x467be0(0x133)](_0x4f28a5,_0x32aa62,_0x509a81){const _0x517cb0=_0x467be0,_0x1becd3=this['_otherFormulaData'][_0x517cb0(0x12b)](_0x4f28a5);if(_0x1becd3&&_0x1becd3[_0x517cb0(0x138)](_0x32aa62)){const _0x46c4cf=_0x1becd3[_0x517cb0(0x12b)](_0x32aa62);_0x509a81[_0x517cb0(0xb4)](_0x5951e8=>{const _0x4ecd5a=_0x517cb0,_0x5b35dd=_0x46c4cf[_0x4ecd5a(0x12b)](_0x5951e8);_0x5b35dd!=null&&(_0x5b35dd[_0x4ecd5a(0x132)]((_0x113098,_0x46773a,_0xcff275)=>{const _0x5f3438=_0x4ecd5a;this[_0x5f3438(0xc2)](_0xcff275),this[_0x5f3438(0x115)](_0xcff275);}),_0x46c4cf[_0x4ecd5a(0x124)](_0x5951e8),this['_otherFormulaDataMainData'][_0x4ecd5a(0x124)](_0x5951e8));}),_0x46c4cf['size']===0x0&&_0x1becd3[_0x517cb0(0x124)](_0x32aa62),_0x1becd3['size']===0x0&&this['_otherFormulaData'][_0x517cb0(0x124)](_0x4f28a5);}}[_0x467be0(0x125)](_0x72a6f,_0x245ce3){const _0x1759a6=_0x467be0,_0x27e255=this[_0x1759a6(0x11f)]['get'](_0x72a6f);if(_0x245ce3&&_0x27e255&&_0x27e255[_0x1759a6(0x138)](_0x245ce3)){const _0x3cddc2=_0x27e255[_0x1759a6(0x12b)](_0x245ce3);this['_removeDependencyRTreeCacheById'](_0x72a6f,_0x245ce3);for(const _0x4bcd84 of _0x3cddc2[_0x1759a6(0xb7)]()){const _0x209a67=_0x3cddc2[_0x1759a6(0x12b)](_0x4bcd84);_0x209a67!=null&&(_0x209a67[_0x1759a6(0x132)]((_0x4b5f4c,_0x446794,_0x54b611)=>{const _0x53127c=_0x1759a6;this[_0x53127c(0xf0)]['get'](_0x54b611)&&this['_removeAllTreeMap'](_0x54b611);}),this[_0x1759a6(0xec)][_0x1759a6(0x124)](_0x4bcd84));}_0x3cddc2[_0x1759a6(0xce)]();}else{if(_0x27e255){for(const _0xe5a4e9 of _0x27e255[_0x1759a6(0xb7)]()){const _0x3ee912=_0x27e255[_0x1759a6(0x12b)](_0xe5a4e9);this['_removeDependencyRTreeCacheById'](_0x72a6f,_0xe5a4e9);for(const _0x224dba of _0x3ee912[_0x1759a6(0xb7)]()){const _0x241685=_0x3ee912[_0x1759a6(0x12b)](_0x224dba);_0x241685!=null&&(_0x241685[_0x1759a6(0x132)]((_0x222b10,_0x5786ed,_0x3f400a)=>{const _0x15b761=_0x1759a6;this[_0x15b761(0xf0)][_0x15b761(0x12b)](_0x3f400a)&&this[_0x15b761(0x115)](_0x3f400a);}),this[_0x1759a6(0xec)]['delete'](_0x224dba));}}this[_0x1759a6(0x11f)][_0x1759a6(0x124)](_0x72a6f);}}}[_0x467be0(0xe9)](_0x4327dc,_0xa86393,_0x2094a7,_0x5d58c0){const _0x17d396=_0x467be0;this[_0x17d396(0xfa)][_0x17d396(0x138)](_0x4327dc)||this[_0x17d396(0xfa)]['set'](_0x4327dc,new Map());const _0x8f52d4=this['_featureFormulaData'][_0x17d396(0x12b)](_0x4327dc);_0x8f52d4['has'](_0xa86393)||_0x8f52d4[_0x17d396(0x12f)](_0xa86393,new Map()),_0x8f52d4[_0x17d396(0x12b)](_0xa86393)[_0x17d396(0x12f)](_0x2094a7,_0x5d58c0['treeId']);}['removeFeatureFormulaDependency'](_0x3fdbaf,_0x4fcb4e,_0x1c198d){const _0x2434ff=_0x467be0,_0x51a51d=this['_featureFormulaData'][_0x2434ff(0x12b)](_0x3fdbaf);if(_0x51a51d&&_0x51a51d[_0x2434ff(0x138)](_0x4fcb4e)){const _0x3319d2=_0x51a51d[_0x2434ff(0x12b)](_0x4fcb4e);_0x1c198d[_0x2434ff(0xb4)](_0x231f52=>{const _0x56f720=_0x2434ff,_0x2012db=_0x3319d2[_0x56f720(0x12b)](_0x231f52);_0x2012db!=null&&(this[_0x56f720(0xc2)](_0x2012db),_0x3319d2[_0x56f720(0x124)](_0x231f52),this[_0x56f720(0x115)](_0x2012db));});}}[_0x467be0(0xf4)](_0x588952,_0x30bd55){const _0x1e7756=_0x467be0,_0x42f567=this['_featureFormulaData'][_0x1e7756(0x12b)](_0x588952);if(_0x30bd55&&_0x42f567&&_0x42f567[_0x1e7756(0x138)](_0x30bd55)){const _0x5afbe4=_0x42f567[_0x1e7756(0x12b)](_0x30bd55);this[_0x1e7756(0x113)](_0x588952,_0x30bd55),_0x5afbe4[_0x1e7756(0xb4)](_0x30c566=>{const _0x3bb344=_0x1e7756;_0x30c566!=null&&this[_0x3bb344(0x115)](_0x30c566);}),_0x5afbe4[_0x1e7756(0xce)]();}else _0x42f567&&(_0x42f567['forEach']((_0xf3e048,_0x45ca44)=>{const _0xfa9a1b=_0x1e7756;this['_removeDependencyRTreeCacheById'](_0x588952,_0x45ca44),_0xf3e048[_0xfa9a1b(0xb4)](_0x695837=>{_0x695837!=null&&this['_removeAllTreeMap'](_0x695837);});}),this[_0x1e7756(0xfa)][_0x1e7756(0x124)](_0x588952));}['addFormulaDependency'](_0x5f1ca7,_0x3dc5ed,_0x51b64e,_0x1de729,_0x5195ff){const _0x29518b=_0x467be0;this[_0x29518b(0x144)][_0x29518b(0x138)](_0x5f1ca7)||this['_formulaData']['set'](_0x5f1ca7,new Map());const _0x3b1f63=this['_formulaData'][_0x29518b(0x12b)](_0x5f1ca7);_0x3b1f63[_0x29518b(0x138)](_0x3dc5ed)||_0x3b1f63['set'](_0x3dc5ed,new _0x96164f()),_0x3b1f63[_0x29518b(0x12b)](_0x3dc5ed)[_0x29518b(0xaf)](_0x51b64e,_0x1de729,_0x5195ff[_0x29518b(0xd2)]);}[_0x467be0(0xd5)](_0x4b1b73,_0xab3553,_0x5884dd,_0x518891){const _0x561856=_0x467be0,_0x2dbb3b=this['_formulaData']['get'](_0x4b1b73);if(_0x2dbb3b&&_0x2dbb3b['has'](_0xab3553)){const _0x3102c2=_0x2dbb3b[_0x561856(0x12b)](_0xab3553),_0x47d23d=_0x3102c2[_0x561856(0xe1)](_0x5884dd,_0x518891);if(_0x47d23d==null)return;this[_0x561856(0xc2)](_0x47d23d),_0x3102c2[_0x561856(0x108)](_0x5884dd,_0x518891),this['_removeAllTreeMap'](_0x47d23d);}}['clearFormulaDependency'](_0x39c7c7,_0x30d32c){const _0x1e84e9=_0x467be0,_0x3636a1=this[_0x1e84e9(0x144)][_0x1e84e9(0x12b)](_0x39c7c7);if(_0x30d32c&&_0x3636a1&&_0x3636a1[_0x1e84e9(0x138)](_0x30d32c)){const _0x3874e6=_0x3636a1[_0x1e84e9(0x12b)](_0x30d32c);this[_0x1e84e9(0x113)](_0x39c7c7,_0x30d32c),_0x3874e6[_0x1e84e9(0x132)]((_0x329c49,_0x3f5a35,_0x32527c)=>{if(_0x32527c==null)return!0x0;this['_removeAllTreeMap'](_0x32527c);}),_0x3874e6[_0x1e84e9(0x10a)]();}else _0x3636a1&&(_0x3636a1[_0x1e84e9(0xb4)]((_0x1b7e33,_0x1a7912)=>{const _0x537622=_0x1e84e9;this[_0x537622(0x113)](_0x39c7c7,_0x1a7912),_0x1b7e33[_0x537622(0x132)]((_0x39de34,_0xfcb00,_0xab249b)=>{const _0x39197c=_0x537622;if(_0xab249b==null)return!0x0;this[_0x39197c(0x115)](_0xab249b);});}),this[_0x1e84e9(0x144)]['delete'](_0x39c7c7));}[_0x467be0(0xc2)](_0x5bc106){const _0x2bee1e=_0x467be0;if(_0x5bc106==null)return;const _0xa94eb8=this[_0x2bee1e(0xf0)][_0x2bee1e(0x12b)](_0x5bc106);if(_0xa94eb8){const _0x19ab68=[];for(const [_0x576e9f,_0x494263]of _0xa94eb8)for(const [_0x102fee,_0x13eb98]of _0x494263)_0x19ab68[_0x2bee1e(0x121)]({'unitId':_0x576e9f,'sheetId':_0x102fee,'range':_0x13eb98,'id':_0x5bc106});this[_0x2bee1e(0x11c)][_0x2bee1e(0xb8)](_0x19ab68);}}[_0x467be0(0xab)](_0x1f9727,_0x14a84c){const _0x28f7fe=_0x467be0,_0x25f85d=this[_0x28f7fe(0x11b)]['get'](_0x1f9727);if(_0x25f85d){const _0x35aaf1=_0x25f85d['get'](_0x14a84c);if(_0x35aaf1){for(const _0x3323e4 of _0x35aaf1)this['_removeDependencyRTreeCache'](_0x3323e4),this[_0x28f7fe(0x115)](_0x3323e4);_0x35aaf1[_0x28f7fe(0xce)]();}}}[_0x467be0(0xe3)](){const _0x2a9357=_0x467be0;this[_0x2a9357(0x11c)][_0x2a9357(0xe3)]();}[_0x467be0(0x103)](){const _0x1dc6dd=_0x467be0;this[_0x1dc6dd(0x11c)]['closeKdTree']();}[_0x467be0(0x115)](_0x5be7b2){const _0x3e582c=_0x467be0;_0x5be7b2!=null&&this['_allTreeMap'][_0x3e582c(0x124)](_0x5be7b2);}[_0x467be0(0xc1)](_0xd89b6){const _0x2bed55=_0x467be0;var _0x385cca,_0x3f843b;const _0xb5a40e=_0xd89b6[_0x2bed55(0x10d)];let _0x2366c6=this[_0x2bed55(0xf0)][_0x2bed55(0x12b)](_0xd89b6[_0x2bed55(0xd2)]);for(let _0x422637=0x0;_0x422637<_0xb5a40e[_0x2bed55(0xbe)];_0x422637++){const _0x102f51=_0xb5a40e[_0x422637];let {unitId:_0x4d10d5,sheetId:_0x3181e6,range:_0x43b172}=_0x102f51;_0x2366c6||(_0x2366c6=new Map(),this[_0x2bed55(0xf0)][_0x2bed55(0x12f)](_0xd89b6['treeId'],_0x2366c6)),_0x2366c6[_0x2bed55(0x138)](_0x4d10d5)||_0x2366c6[_0x2bed55(0x12f)](_0x4d10d5,new Map());const _0x492a6e=(_0x385cca=_0x2366c6==null?void 0x0:_0x2366c6[_0x2bed55(0x12b)](_0x4d10d5))==null?void 0x0:_0x385cca['get'](_0x3181e6);_0x492a6e&&(_0x43b172={'startRow':Math[_0x2bed55(0xd1)](_0x43b172[_0x2bed55(0xfc)],_0x492a6e[_0x2bed55(0xfc)]),'startColumn':Math[_0x2bed55(0xd1)](_0x43b172[_0x2bed55(0xf7)],_0x492a6e['startColumn']),'endRow':Math[_0x2bed55(0xcb)](_0x43b172['endRow'],_0x492a6e[_0x2bed55(0x12d)]),'endColumn':Math[_0x2bed55(0xcb)](_0x43b172[_0x2bed55(0x143)],_0x492a6e[_0x2bed55(0x143)])}),(_0x3f843b=_0x2366c6[_0x2bed55(0x12b)](_0x4d10d5))==null||_0x3f843b[_0x2bed55(0x12f)](_0x3181e6,_0x43b172);}}}var pe=Object[_0x467be0(0x145)],_e=(_0x104e1b,_0x68df16,_0x886aaf,_0x38af1c)=>{const _0xdcc6db=_0x467be0;for(var _0x42572b=_0x38af1c>0x1?void 0x0:_0x38af1c?pe(_0x68df16,_0x886aaf):_0x68df16,_0x2676cf=_0x104e1b[_0xdcc6db(0xbe)]-0x1,_0x3288ed;_0x2676cf>=0x0;_0x2676cf--)(_0x3288ed=_0x104e1b[_0x2676cf])&&(_0x42572b=_0x3288ed(_0x42572b)||_0x42572b);return _0x42572b;};const ge=Number[_0x467be0(0xbd)](0x68678842);let b=class extends _0x5552ac{[_0x467be0(0xcf)](){const _0x2fa606=_0x467be0;var _0x341dde,_0x1d1ee7;this[_0x2fa606(0x110)]()?(_0x341dde=this['_config'])!=null&&_0x341dde[_0x2fa606(0xdd)]||[[_0x4ec4c6,{'useClass':de}],[_0xd715e2,{'useClass':he}],[_0x88fc10,{'useClass':fe}]]['forEach'](_0x1f4d73=>this[_0x2fa606(0xbf)][_0x2fa606(0x148)](_0x1f4d73)):(_0x1d1ee7=this[_0x2fa606(0xd9)])!=null&&_0x1d1ee7[_0x2fa606(0xdd)]||[[_0x4ec4c6,{'useClass':_0x53eea7}],[_0xd715e2,{'useClass':_0x2b7340}],[_0x88fc10,{'useClass':_0x108708}]][_0x2fa606(0xb4)](_0x141291=>this['_injector'][_0x2fa606(0x148)](_0x141291));}[_0x467be0(0x110)](){const _0x49aa91=_0x467be0;var _0xab0258;const _0x2a2edf=(_0xab0258=this['_configService'][_0x49aa91(0xb2)](_0x44b299))!=null?_0xab0258:{},{ls:_0x17908e,pbk:_0x34e9e2}=_0x2a2edf;if(!_0x17908e||!_0x34e9e2)return!0x1;const _0x5ba52a=_0x3251b6(ue,le),_0x26a6ae=new Function(_0x49aa91(0xc0)+_0x5ba52a)()(_0x17908e,_0x34e9e2),_0x478ba2=_0x26a6ae[_0x49aa91(0xe5)];return _0x26a6ae[_0x49aa91(0xe6)]&&_0x369b11(_0x478ba2,'sf',ge)?_0x20cd47(_0x478ba2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=_e([_0x3cb4fa(_0x196769)],b);function _0x1e73(_0x56ba5f,_0x59a367){const _0x21ad9c=_0x21ad();return _0x1e73=function(_0x1e7311,_0x19f181){_0x1e7311=_0x1e7311-0xab;let _0x319e48=_0x21ad9c[_0x1e7311];return _0x319e48;},_0x1e73(_0x56ba5f,_0x59a367);}export{b 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 _0x3e0d(){var _0x445f30=['2246764IfuaNm','10xmcLTL','36OAaHjc','395276uWgQCe','1785160hkEkyf','25806429IMEQDg','308235EzoNnR','159412mTKOHT','126qbYdIE','1248570IdAHWw'];_0x3e0d=function(){return _0x445f30;};return _0x3e0d();}function _0x3441(_0xe8ea32,_0x413d99){var _0x3e0d3f=_0x3e0d();return _0x3441=function(_0x3441ba,_0x2f46ee){_0x3441ba=_0x3441ba-0xbb;var _0xb093de=_0x3e0d3f[_0x3441ba];return _0xb093de;},_0x3441(_0xe8ea32,_0x413d99);}(function(_0x416a6f,_0x18587f){var _0x3b5700=_0x3441,_0x2c2fe0=_0x416a6f();while(!![]){try{var _0x2aeea3=parseInt(_0x3b5700(0xbe))/0x1+parseInt(_0x3b5700(0xbf))/0x2+parseInt(_0x3b5700(0xbd))/0x3*(parseInt(_0x3b5700(0xbc))/0x4)+-parseInt(_0x3b5700(0xbb))/0x5*(parseInt(_0x3b5700(0xc1))/0x6)+-parseInt(_0x3b5700(0xc2))/0x7+parseInt(_0x3b5700(0xc3))/0x8+-parseInt(_0x3b5700(0xc4))/0x9*(parseInt(_0x3b5700(0xc0))/0xa);if(_0x2aeea3===_0x18587f)break;else _0x2c2fe0['push'](_0x2c2fe0['shift']());}catch(_0x4c4c36){_0x2c2fe0['push'](_0x2c2fe0['shift']());}}}(_0x3e0d,0xee158));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
+ function _0x21ad(){const _0x4dfe23=['resolve','add','removeFormulaDependencyByDefinedName','clearFormulaDependency','setRuntimeFeatureRange','formula','setValue','setFormulaExecuteStage','toRTreeItem','getConfig','_registerOtherFormulas','forEach','_lexer','getRuntimeState','keys','bulkRemove','setCompletedArrayFormulasCount','68FaIMpF\x20CrafG1IMpF(4MarF5r,\x2018W4MaOrG)\x20{\x20\x20\x20\x20IfG\x20{\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x204MarF5r9F6pjvfIKffvG\x20=\x204MarF5r.514MI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20pfMgMFRr55vgr\x20=\x207ZSQ.1vf5r(vIpW(4MarF5r9F6pjvfIKffvG[N]));\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!pfMgMFRr55vgr.8C)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pfMgMFRr55vgr.8C\x20=\x20Q8iWrf(4MarF5r9F6pjvfIKffvG[q]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20M5opftrf\x20=\x20IG1rp6\x20opftrfc4pWv4Zap1r\x20!==\x20\x278FCr6MFrC\x27\x20&&\x205r46\x20MF5IvFarp6\x20opftrfc4pWv4Zap1r;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20apFIrnI\x20=\x20M5opftrf\x20?\x205r46\x20:\x20zMFCpz;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[N]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(ir55vgropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[0]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(5MgFvI8fropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFEv4MC\x20=\x20apFIrnI.__brfM6G__(5MgFvI8fr,\x20ir55vgr,\x2018W4MaOrG);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20CpivMF\x20=\x20pfMgMFRr55vgr.Ci;\x20\x20\x20\x20\x20\x20\x20\x2068FaIMpF\x20M5PpivMFRvIa3MFg(pjvIIrfF,\x20pyp5I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfF\x20=\x20pjvIIrfF.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5I\x20=\x20pyp5I.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFjvfI5\x20=\x201vIIrfF.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IjvfI5\x20=\x203p5I.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!1vIIrfF.MFa48Cr5(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfF\x20===\x203p5I;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(1vIIrfFjvfI5.4rFgI3\x20<\x20N\x20||\x201vIIrfFjvfI5[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x206v45r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFZ866Mn\x20=\x201vIIrfFjvfI5.54Mar(L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IZ866Mn\x20=\x203p5IjvfI5.54Mar(-1vIIrfFjvfI5.4rFgI3\x20+\x20L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfFZ866Mn\x20===\x203p5IZ866Mn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204rI\x20CpivMFEv4MC\x20=\x20(CpivMF\x20&&\x20CpivMF.4rFgI3)\x20?\x20CpivMF.5pir((Ci9Iri)\x20=>\x20M5PpivMFRvIa3MFg(Ci9Iri,\x204pavIMpF.3p5IFvir))\x20:\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(4pavIMpF.3p5IFvir\x20===\x20\x274pav43p5I\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CpivMFEv4MC\x20=\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20bv4MC\x20=\x205MgFEv4MC\x20&&\x20CpivMFEv4MC;\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20pfMgMFRr55vgr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20avIa3\x20(rffpf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC:\x206v45r,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','checkAsyncNode','next','parseInt','length','_injector','return\x20','_addAllTreeMap','_removeDependencyRTreeCache','_calculateRunList','CURRENTLY_CALCULATING','_registerFormulas','_getTreeById','_createVirtualFDtree','_getFeatureFormulaTree','1156064xkpFxf','_formulaDependencyGenerator','max','582756UOlAWS','FEATURE_FORMULA','clear','_initializeWithOverride','_createFDtree','min','treeId','markedAsStopFunctionsExecuted','_configService','removeFormulaDependency','hasOtherFormulaDataMainData','getAllRuntimeData','_getFirstCellOfRange','_config','isCache','setTotalArrayFormulasToCalculate','isSkip','notExecuteFormula','_dependencyRTreeCacheForAddressFunction','isForceCalculate','IDLE','getValue','_getUpdateTreeListAndMakeDependency','openKdTree','type','message','valid','addFormulaDependencyByDefinedName','OTHER_FORMULA','addFeatureFormulaDependency','getDirtyNameMap','getClearDependencyTreeCache','_otherFormulaDataMainData','11raqgRS','symbol','node','_allTreeMap','getFormulaDependency','getDirtyRanges','_executionInProgressListener$','clearFeatureFormulaDependency','8UWlruA','2334mJVlHk','startColumn','getUnitData','3906870fuddoN','_featureFormulaData','_updateRangeFlatten','startRow','_isCyclicUtilMap','formulaId','execute','CURRENTLY_CALCULATING_ARRAY_FORMULA','markedAsSuccessfullyExecuted','setRuntimeOtherData','closeKdTree','getFeatureFormulaDependency','addOtherFormulaDependency','dispose','isAdded','realDeleteValue','_checkIsCycleDependency','reset','_traverse','_dependencyManagerService','rangeList','1564317dxKdTh','_otherFormulaManagerService','_initLicenseValid','columnCount','_generateTreeList','_removeDependencyRTreeCacheById','setSkip','_removeAllTreeMap','setCompletedFormulasCount','enableCycleDependency','generate','unitId','pop','_definedNameMap','_dependencyRTreeCache','featureId','row','_otherFormulaData','bulkSearch','push','rowCount','ParentDependencyTree\x20object\x20is\x20null','delete','clearOtherFormulaDependency','START_CALCULATION','_currentConfigService','_runtimeService','subUnitId','column','get','START_DEPENDENCY','endRow','getExcludedRange','set','12603olTzyu','_dependencyTreeCache','forValue','removeOtherFormulaDependency','_astTreeBuilder','_restDependencyTreeId','isVirtual','getDirtyData','has','refOffsetY','1535mbGrSe','searchDependency','setRuntimeData','getOtherFormulaData','_executionCompleteListener$','defineProperty','98jiiZga','129832wUqscI','addFormulaDependency','endColumn','_formulaData','getOwnPropertyDescriptor','refOffsetX'];_0x21ad=function(){return _0x4dfe23;};return _0x21ad();}const _0x467be0=_0x1e73;(function(_0x247eb1,_0x4034bb){const _0x28c6f1=_0x1e73,_0x5191ed=_0x247eb1();while(!![]){try{const _0x47e137=-parseInt(_0x28c6f1(0x141))/0x1+-parseInt(_0x28c6f1(0x140))/0x2*(parseInt(_0x28c6f1(0x130))/0x3)+-parseInt(_0x28c6f1(0xcc))/0x4+parseInt(_0x28c6f1(0x13a))/0x5*(-parseInt(_0x28c6f1(0xf6))/0x6)+-parseInt(_0x28c6f1(0xc9))/0x7*(-parseInt(_0x28c6f1(0xf5))/0x8)+parseInt(_0x28c6f1(0x10e))/0x9+-parseInt(_0x28c6f1(0xf9))/0xa*(-parseInt(_0x28c6f1(0xed))/0xb);if(_0x47e137===_0x4034bb)break;else _0x5191ed['push'](_0x5191ed['shift']());}catch(_0x566b5d){_0x5191ed['push'](_0x5191ed['shift']());}}}(_0x21ad,0x1f75b));var Z=Object[_0x467be0(0x13f)],H=(_0x43f870,_0x182e72,_0x19957a)=>_0x182e72 in _0x43f870?Z(_0x43f870,_0x182e72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19957a}):_0x43f870[_0x182e72]=_0x19957a,I=(_0x107078,_0xba6616,_0x21ba89)=>H(_0x107078,typeof _0xba6616!=_0x467be0(0xee)?_0xba6616+'':_0xba6616,_0x21ba89);import{UniverLicensePlugin as _0x196769,LS_CONFIG_KEY as _0x44b299,unshiftString as _0x3251b6,isFeatureAuthorizedWithinTime as _0x369b11,getSheetFeatureLimit as _0x20cd47}from'@univerjs-pro/license';import{ObjectMatrix as _0x96164f,requestImmediateMacroTask as _0x32a640,RTree as _0x22505c,DependentOn as _0x3cb4fa}from'@univerjs/core';import{FormulaDependencyGenerator as _0x108708,generateRandomDependencyTreeId as _0x838ef9,FormulaDependencyTree as _0x244662,FormulaDependencyTreeType as _0x43607a,FormulaDependencyTreeVirtual as _0x1be864,generateAstNode as _0x3d1eca,CalculateFormulaService as _0x53eea7,FormulaExecuteStageType as _0xae7378,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3bffa0,DEFAULT_INTERVAL_COUNT as _0x3af803,DependencyManagerBaseService as _0x4dcaf1,UniverFormulaEnginePlugin as _0x5552ac,ICalculateFormulaService as _0x4ec4c6,IDependencyManagerService as _0xd715e2,IFormulaDependencyGenerator as _0x88fc10,DependencyManagerService as _0x2b7340}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'3',0x1:'p',0x2:'E',0x3:'h',0x4:'l',0x5:'s',0x6:'f',0x7:'J',0x8:'u',0x9:'I','k':'0','L':'1','N':'2','q':'4','d':'5','x':'6','w':'7','e':'8','m':'9','v':'a','W':'b','a':'c','C':'d','r':'e','g':'g','M':'i','l':'j','t':'k','i':'m','F':'n','p':'o','U':'q','f':'r','I':'t','b':'v','z':'w','n':'x','G':'y','s':'z','K':'A','h':'B','V':'C','P':'D','A':'F','c':'G','y':'H','O':'K','u':'L','R':'M','Q':'N','S':'O','j':'P','J':'Q','B':'R','Z':'S','Y':'T','T':'U','E':'V','o':'W','D':'X','H':'Y','X':'Z'},ue=_0x467be0(0xba);class fe extends _0x108708{constructor(){const _0x59629f=_0x467be0;super(...arguments),I(this,_0x59629f(0x131),new Map());}['dispose'](){const _0x29f931=_0x467be0;super[_0x29f931(0x106)](),this[_0x29f931(0x131)][_0x29f931(0xce)]();}async[_0x467be0(0x118)](){const _0x4515ce=_0x467be0;this[_0x4515ce(0xfb)]();const _0x6394f4=this['_currentConfigService']['getFormulaData'](),_0x299ef6=this[_0x4515ce(0x10f)][_0x4515ce(0x13d)](),_0x440b99=this[_0x4515ce(0x127)][_0x4515ce(0xeb)]();_0x440b99!=null&&Object[_0x4515ce(0xb7)](_0x440b99)[_0x4515ce(0xb4)](_0x1e90e3=>{const _0x2064df=_0x4515ce;_0x1e90e3!=null&&Object[_0x2064df(0xb7)](_0x440b99[_0x1e90e3])[_0x2064df(0xb4)](_0x5bfe47=>{const _0x533a19=_0x2064df;_0x5bfe47!=null&&(this[_0x533a19(0x10c)][_0x533a19(0x125)](_0x1e90e3,_0x5bfe47),this[_0x533a19(0x10c)][_0x533a19(0xf4)](_0x1e90e3,_0x5bfe47),this[_0x533a19(0x10c)][_0x533a19(0xac)](_0x1e90e3,_0x5bfe47));});});const _0x13a3ca=this[_0x4515ce(0x127)][_0x4515ce(0xf8)]();await this[_0x4515ce(0x112)](_0x6394f4,_0x299ef6,_0x13a3ca),this['_dependencyManagerService']['openKdTree']();const _0xa228fd=this[_0x4515ce(0xe2)](),_0x1057a0=this[_0x4515ce(0xc3)](_0xa228fd);return this['_checkIsCycleDependency'](_0x1057a0)&&this['_runtimeService'][_0x4515ce(0x117)](),this['_dependencyTreeCache'][_0x4515ce(0xce)](),this[_0x4515ce(0xde)]['clear'](),this[_0x4515ce(0x10c)]['closeKdTree'](),Promise[_0x4515ce(0x147)](_0x1057a0);}[_0x467be0(0xfd)](_0x100429,_0x48980a){const _0x2ec902=_0x467be0,_0x51d761=[_0x100429];for(;_0x51d761[_0x2ec902(0xbe)]>0x0;){const _0xb8665f=_0x51d761[_0x51d761[_0x2ec902(0xbe)]-0x1];if((_0x48980a[_0x2ec902(0x12b)](_0xb8665f)||0x0)===0x0){_0x48980a[_0x2ec902(0x12f)](_0xb8665f,0x1);const _0x54c1fd=this[_0x2ec902(0x131)][_0x2ec902(0x12b)](_0xb8665f);if(_0x54c1fd==null){_0x48980a['set'](_0xb8665f,0x2),_0x51d761[_0x2ec902(0x11a)]();continue;}const _0x551c93=this[_0x2ec902(0x10c)][_0x2ec902(0x13b)](_0x54c1fd[_0x2ec902(0xb1)]());for(const _0x362b69 of _0x551c93){const _0x17a980=_0x48980a[_0x2ec902(0x12b)](_0x362b69)||0x0;if(_0x17a980===0x1)return!0x0;_0x17a980===0x0&&_0x51d761['push'](_0x362b69);}}else _0x48980a['set'](_0xb8665f,0x2),_0x51d761['pop']();}return!0x1;}[_0x467be0(0x109)](_0x34408e){const _0x141cb4=_0x467be0,_0x1953a0=new Map();for(const _0x3f7de0 of _0x34408e)if(!_0x1953a0[_0x141cb4(0x138)](_0x3f7de0[_0x141cb4(0xd2)])&&this[_0x141cb4(0xfd)](_0x3f7de0[_0x141cb4(0xd2)],_0x1953a0))return!0x0;return _0x1953a0['clear'](),!0x1;}[_0x467be0(0xc8)](_0x3e1375,_0x265e4d,_0x1eb9aa){const _0x4653aa=_0x467be0,{unitId:_0x210706,subUnitId:_0x264e64,dependencyRanges:_0xd09412,getDirtyData:_0x37d8eb}=_0x1eb9aa,_0x5438ef=_0x265e4d||_0x838ef9(this['_dependencyManagerService']),_0x43173a=new _0x244662(_0x5438ef);_0x43173a['unitId']=_0x210706,_0x43173a[_0x4653aa(0x129)]=_0x264e64,_0x43173a[_0x4653aa(0x10d)]=_0xd09412,_0x43173a[_0x4653aa(0x137)]=_0x37d8eb;const _0x224c06=_0x37d8eb(this['_currentConfigService'][_0x4653aa(0x137)](),this[_0x4653aa(0x128)][_0x4653aa(0xd7)]()),_0x56fe38=this['_convertDirtyRangesToUnitRange'](_0x224c06['dirtyRanges']);return _0x43173a['featureDirtyRanges']=_0x56fe38,_0x43173a[_0x4653aa(0x11d)]=_0x3e1375,_0x43173a[_0x4653aa(0xe4)]=_0x43607a[_0x4653aa(0xcd)],this[_0x4653aa(0x10c)][_0x4653aa(0xe9)](_0x210706,_0x264e64,_0x3e1375,_0x43173a),this[_0x4653aa(0x131)]['set'](_0x43173a[_0x4653aa(0xd2)],_0x43173a),this[_0x4653aa(0x10c)][_0x4653aa(0x104)](_0x1eb9aa[_0x4653aa(0x119)],_0x1eb9aa['subUnitId'],_0x3e1375)&&(_0x43173a[_0x4653aa(0xda)]=!0x0),_0x43173a;}[_0x467be0(0xb3)](_0xb2a2fb,_0x52d901,_0x5ba6ef){const _0x505e61=_0x467be0;var _0x299780;for(const _0x44f0cb of _0x52d901){const _0x576747=_0xb2a2fb[_0x44f0cb];if(_0x576747==null)continue;const _0x5260b1=Object['keys'](_0x576747);for(const _0x1e34b4 of _0x5260b1){const _0x166543=_0x576747[_0x1e34b4];if(_0x166543==null)continue;const _0x29cc81=Object[_0x505e61(0xb7)](_0x166543);for(const _0x5b1a53 of _0x29cc81){const _0x518fa0=this[_0x505e61(0x10c)][_0x505e61(0xd6)](_0x5b1a53),_0x263acb=_0x166543[_0x5b1a53],{f:_0xf50824,ranges:_0x2e7651}=_0x263acb;let _0x2366bd=!0x1;_0x518fa0&&(_0x2366bd=!0x0);const {firstRow:_0x137d05,firstColumn:_0x120b8f}=this[_0x505e61(0xd8)](_0x2e7651),_0x436cdb=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x44f0cb,_0x1e34b4,_0x5b1a53),_0x2b1b64=(_0x299780=_0x436cdb==null?void 0x0:_0x436cdb['getValue'](0x0,0x0))!=null?_0x299780:_0x838ef9(this[_0x505e61(0x10c)]),_0x937ccf=new _0x244662(_0x2b1b64);for(let _0x3d9259=0x0;_0x3d9259<_0x2e7651[_0x505e61(0xbe)];_0x3d9259++){const _0x17da43=_0x2e7651[_0x3d9259],{startRow:_0x212b37,startColumn:_0x3faa6a,endRow:_0x140add,endColumn:_0x1fed3e}=_0x17da43;for(let _0x48976a=_0x212b37;_0x48976a<=_0x140add;_0x48976a++)for(let _0x2f205d=_0x3faa6a;_0x2f205d<=_0x1fed3e;_0x2f205d++){const _0x5c81b8=_0x2f205d-_0x120b8f,_0x5e634a=_0x48976a-_0x137d05;if(_0x5c81b8===0x0&&_0x5e634a===0x0){_0x937ccf['formula']=_0xf50824,_0x937ccf[_0x505e61(0x119)]=_0x44f0cb,_0x937ccf[_0x505e61(0x129)]=_0x1e34b4,_0x937ccf['formulaId']=_0x5b1a53,_0x937ccf[_0x505e61(0xe4)]=_0x43607a[_0x505e61(0xe8)],_0x937ccf[_0x505e61(0xda)]=_0x2366bd,_0x5ba6ef[_0x505e61(0x121)](_0x937ccf),this[_0x505e61(0x131)]['set'](_0x937ccf['treeId'],_0x937ccf),this[_0x505e61(0x10c)][_0x505e61(0x105)](_0x44f0cb,_0x1e34b4,_0x5b1a53,_0x937ccf),this['_dependencyManagerService'][_0x505e61(0xe7)](_0x937ccf);continue;}const _0x2f2285=new _0x1be864();_0x2f2285[_0x505e61(0xd2)]=(_0x436cdb==null?void 0x0:_0x436cdb[_0x505e61(0xe1)](_0x5c81b8,_0x5e634a))||_0x838ef9(this[_0x505e61(0x10c)]),_0x2f2285['refTree']=_0x937ccf,_0x2f2285[_0x505e61(0x146)]=_0x5c81b8,_0x2f2285[_0x505e61(0x139)]=_0x5e634a,_0x2f2285['isCache']=_0x2366bd,this[_0x505e61(0x10c)][_0x505e61(0x105)](_0x44f0cb,_0x1e34b4,_0x5b1a53,_0x2f2285),this[_0x505e61(0x10c)][_0x505e61(0xe7)](_0x2f2285),_0x5ba6ef['push'](_0x2f2285),this[_0x505e61(0x131)]['set'](_0x2f2285['treeId'],_0x2f2285);}}this[_0x505e61(0x10c)]['addOtherFormulaDependencyMainData'](_0x5b1a53);}}}}[_0x467be0(0xc5)](_0x3aee57,_0x3c1a7a,_0x824629,_0x31f2a6){const _0x268d29=_0x467be0;for(const _0x8eb41b of _0x3aee57){const _0x1bdfd2=_0x3c1a7a[_0x8eb41b];if(_0x1bdfd2==null)continue;const _0x4d77f3=Object[_0x268d29(0xb7)](_0x1bdfd2);for(const _0x117d5a of _0x4d77f3){const _0x543418=new _0x96164f(_0x1bdfd2[_0x117d5a]||{}),_0x1c2193=new Map();_0x543418['forValue']((_0x4171db,_0x1da8ad,_0x157b46)=>{const _0xc0f67a=_0x268d29;if(_0x157b46==null)return!0x0;const {x:_0xa988ce=0x0,y:y=0x0,si:_0x276dda}=_0x157b46;if(!(_0xa988ce===0x0&&y===0x0&&_0x276dda!=null))return!0x0;const _0x1ddb46=this['_createFDtree'](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad,_0x824629,_0x157b46),_0x474c08=this[_0xc0f67a(0x10c)][_0xc0f67a(0xf1)](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad);_0x474c08!=null?_0x1ddb46['treeId']=_0x474c08:(this[_0xc0f67a(0x10c)][_0xc0f67a(0x142)](_0x8eb41b,_0x117d5a,_0x4171db,_0x1da8ad,_0x1ddb46),this[_0xc0f67a(0x10c)][_0xc0f67a(0xe7)](_0x1ddb46)),_0x1c2193[_0xc0f67a(0x12f)](_0x276dda,_0x1ddb46),_0x31f2a6[_0xc0f67a(0x121)](_0x1ddb46),this['_dependencyTreeCache'][_0xc0f67a(0x12f)](_0x1ddb46[_0xc0f67a(0xd2)],_0x1ddb46);}),_0x543418[_0x268d29(0x132)]((_0x85d7bd,_0x32d03d,_0x4ee531)=>{const _0x45fcbb=_0x268d29;if(_0x4ee531==null)return!0x0;const {x:_0x3d74b0=0x0,y:y=0x0,si:_0x9165d8}=_0x4ee531;if(_0x3d74b0===0x0&&y===0x0&&_0x9165d8!=null)return!0x0;let _0x40fed2;if(_0x9165d8&&_0x1c2193[_0x45fcbb(0x138)](_0x9165d8)){const _0x3fa137=_0x1c2193[_0x45fcbb(0x12b)](_0x9165d8);_0x40fed2=this[_0x45fcbb(0xc7)](_0x3fa137,_0x4ee531);}else _0x40fed2=this[_0x45fcbb(0xd0)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d,_0x824629,_0x4ee531);const _0x55ba99=this['_dependencyManagerService'][_0x45fcbb(0xf1)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d);_0x55ba99!=null?_0x40fed2[_0x45fcbb(0xd2)]=_0x55ba99:(this['_dependencyManagerService'][_0x45fcbb(0x142)](_0x8eb41b,_0x117d5a,_0x85d7bd,_0x32d03d,_0x40fed2),this[_0x45fcbb(0x10c)][_0x45fcbb(0xe7)](_0x40fed2)),_0x31f2a6['push'](_0x40fed2),this[_0x45fcbb(0x131)][_0x45fcbb(0x12f)](_0x40fed2[_0x45fcbb(0xd2)],_0x40fed2);}),_0x1c2193['clear']();}}}[_0x467be0(0xd0)](_0x54a5d3,_0x530b5d,_0x59beb4,_0x8cbae1,_0x5549e6,_0x1fb9ee){const _0x43958e=_0x467be0,{f:_0x34fbac,x:_0x917e92=0x0,y:_0x2025f0=0x0}=_0x1fb9ee,_0x49923a=new _0x244662(_0x838ef9(this[_0x43958e(0x10c)])),_0x5b7665=_0x5549e6[_0x54a5d3][_0x530b5d];return _0x49923a[_0x43958e(0xae)]=_0x34fbac,_0x49923a['unitId']=_0x54a5d3,_0x49923a[_0x43958e(0x129)]=_0x530b5d,_0x49923a[_0x43958e(0x11e)]=_0x59beb4,_0x49923a[_0x43958e(0x12a)]=_0x8cbae1,_0x49923a['rowCount']=_0x5b7665[_0x43958e(0x122)],_0x49923a[_0x43958e(0x111)]=_0x5b7665[_0x43958e(0x111)],_0x49923a;}[_0x467be0(0xe2)](){const _0x6d7b40=_0x467be0,_0x20f4bc=[],_0x140061=new Set(),_0x5cb8cb=this[_0x6d7b40(0x127)][_0x6d7b40(0xdf)](),_0x593757=this['_currentConfigService'][_0x6d7b40(0xf2)](),_0x29befd=this[_0x6d7b40(0x10c)][_0x6d7b40(0x13b)](_0x593757),_0xa9ab99=this[_0x6d7b40(0xde)]['bulkSearch'](_0x593757);for(const _0x5d7721 of _0xa9ab99)_0x29befd[_0x6d7b40(0x148)](_0x5d7721);for(const [_0x3834ad,_0x122c83]of this[_0x6d7b40(0x131)])(_0x5cb8cb||_0x122c83['isDirty']||_0x122c83['dependencySheetName'](this[_0x6d7b40(0x127)][_0x6d7b40(0xea)]())||_0x29befd['has'](_0x3834ad)&&!_0x122c83['isExcludeRange'](this[_0x6d7b40(0x127)][_0x6d7b40(0x12e)]()))&&!_0x140061['has'](_0x3834ad)&&(_0x20f4bc['push'](_0x122c83),_0x140061[_0x6d7b40(0x148)](_0x3834ad));for(const [_0x3e3c72,_0x22dd5b]of this[_0x6d7b40(0x131)])_0x22dd5b[_0x6d7b40(0x136)]||(_0x22dd5b[_0x6d7b40(0x10d)]['length']=0x0);return _0x20f4bc;}[_0x467be0(0xc6)](_0x689866){const _0x14add2=_0x467be0;return this['_dependencyTreeCache'][_0x14add2(0x12b)](_0x689866);}['_getTreeNode'](_0x413511){const _0x10387a=_0x467be0;return _0x3d1eca(_0x413511['unitId'],_0x413511['formula'],this[_0x10387a(0xb5)],this[_0x10387a(0x134)],this[_0x10387a(0x127)]);}*[_0x467be0(0x10b)](_0x394552,_0x4b41c6){const _0x54b334=_0x467be0,_0x48eac1=_0x394552,_0x24311d=new Set();for(;_0x48eac1[_0x54b334(0xbe)]>0x0;){const _0x5e823e=_0x48eac1[_0x54b334(0x11a)]();if(_0x24311d[_0x54b334(0xce)](),_0x5e823e===void 0x0||_0x5e823e[_0x54b334(0xdc)]())continue;if(_0x5e823e[_0x54b334(0x107)]()){yield _0x5e823e,_0x5e823e[_0x54b334(0x114)](),_0x4b41c6[_0x54b334(0x148)](_0x5e823e['treeId']);continue;}const _0x3bae2f=this['_dependencyManagerService'][_0x54b334(0x13b)](_0x5e823e[_0x54b334(0xb1)](),_0x4b41c6),_0x1a802c=this['_dependencyRTreeCacheForAddressFunction'][_0x54b334(0x120)](_0x5e823e[_0x54b334(0xb1)](),_0x4b41c6);for(const _0x9fabaf of _0x1a802c)_0x3bae2f[_0x54b334(0x148)](_0x9fabaf);for(const _0x130e76 of _0x3bae2f){const _0x3ec55f=this[_0x54b334(0x131)][_0x54b334(0x12b)](_0x130e76);if(!_0x3ec55f)throw new Error(_0x54b334(0x123));_0x3ec55f[_0x54b334(0x107)]()||_0x5e823e[_0x54b334(0xdc)]()||_0x24311d[_0x54b334(0x148)](_0x3ec55f);}if(_0x3bae2f[_0x54b334(0xce)](),_0x24311d['size']===0x0)yield _0x5e823e,_0x5e823e[_0x54b334(0x114)](),_0x4b41c6[_0x54b334(0x148)](_0x5e823e['treeId']);else{_0x5e823e['setAdded'](),_0x48eac1['push'](_0x5e823e);for(const _0x45277e of _0x24311d)_0x48eac1[_0x54b334(0x121)](_0x45277e);}}_0x48eac1[_0x54b334(0xbe)]=0x0,_0x24311d[_0x54b334(0xce)]();}[_0x467be0(0xc3)](_0x4fab9c){const _0x22e61f=_0x467be0,_0xa54aa4=[],_0x2ae728=new Set();for(const _0x3d2103 of this[_0x22e61f(0x10b)](_0x4fab9c,_0x2ae728))_0xa54aa4[_0x22e61f(0x121)](_0x3d2103);return _0xa54aa4;}}class de extends _0x53eea7{async['_apply'](_0x518a89=!0x1){const _0x3c6713=_0x467be0;_0x518a89?this[_0x3c6713(0x128)]['setFormulaExecuteStage'](_0xae7378['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x12c)]),this[_0x3c6713(0xf3)]['next'](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]());const _0x321c0f=await this[_0x3c6713(0xca)][_0x3c6713(0x118)](),_0x553a1d=this['_interpreter'];_0x518a89?(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378['START_CALCULATION_ARRAY_FORMULA']),this[_0x3c6713(0x128)][_0x3c6713(0xdb)](_0x321c0f[_0x3c6713(0xbe)])):(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x126)]),this[_0x3c6713(0x128)]['setTotalFormulasToCalculate'](_0x321c0f[_0x3c6713(0xbe)])),this[_0x3c6713(0xf3)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]());let _0xa789fc=[];const _0x4f1a69=this[_0x3c6713(0xd4)]['getConfig'](_0x3bffa0),_0x3f1eea=(_0x4f1a69==null?void 0x0:_0x4f1a69['intervalCount'])||_0x3af803;let _0x1d12ed=0x0;const _0x15f3b0=_0x321c0f['length'];for(;_0x321c0f[_0x3c6713(0xbe)]>0x0;){const _0x4fb64b=_0x321c0f[_0x3c6713(0x11a)](),_0x24b310={'node':_0x3d1eca(_0x4fb64b[_0x3c6713(0x119)],_0x4fb64b[_0x3c6713(0xae)],this[_0x3c6713(0xb5)],this['_astTreeBuilder'],this[_0x3c6713(0x127)]),'refOffsetX':_0x4fb64b[_0x3c6713(0x146)],'refOffsetY':_0x4fb64b['refOffsetY']},_0x13935c=_0x4fb64b['getDirtyData'];if(_0x1d12ed%_0x3f1eea===0x0&&(await new Promise(_0x1bad69=>{const _0x3c5c05=_0x3c6713,_0x336646=_0x32a640(_0x1bad69);_0xa789fc[_0x3c5c05(0x121)](_0x336646);}),_0x518a89?(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0x100)]),this[_0x3c6713(0x128)][_0x3c6713(0xb9)](_0x1d12ed+0x1)):(this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0xc4)]),this[_0x3c6713(0x128)][_0x3c6713(0x116)](_0x1d12ed+0x1)),this[_0x3c6713(0xf3)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)][_0x3c6713(0xb6)]()),this[_0x3c6713(0x128)]['isStopExecution']()||_0x24b310==null&&_0x13935c==null)){this[_0x3c6713(0x128)][_0x3c6713(0xb0)](_0xae7378[_0x3c6713(0xe0)]),this[_0x3c6713(0x128)][_0x3c6713(0xd3)](),this[_0x3c6713(0x13e)][_0x3c6713(0xbc)](this[_0x3c6713(0x128)]['getAllRuntimeData']());return;}this[_0x3c6713(0x128)]['setCurrent'](_0x4fb64b[_0x3c6713(0x11e)],_0x4fb64b[_0x3c6713(0x12a)],_0x4fb64b[_0x3c6713(0x122)],_0x4fb64b['columnCount'],_0x4fb64b[_0x3c6713(0x129)],_0x4fb64b[_0x3c6713(0x119)]);let _0x22c1f4;if(_0x13935c!=null&&_0x4fb64b[_0x3c6713(0x11d)]!=null){const {runtimeCellData:_0x338bcc,dirtyRanges:_0x17cbc3}=_0x13935c(this[_0x3c6713(0x127)][_0x3c6713(0x137)](),this[_0x3c6713(0x128)][_0x3c6713(0xd7)]());this[_0x3c6713(0x128)]['setRuntimeFeatureCellData'](_0x4fb64b[_0x3c6713(0x11d)],_0x338bcc),this[_0x3c6713(0x128)][_0x3c6713(0xad)](_0x4fb64b['featureId'],_0x17cbc3);}else _0x24b310!=null&&(_0x553a1d[_0x3c6713(0xbb)](_0x24b310[_0x3c6713(0xef)])?_0x22c1f4=await _0x553a1d['executeAsync'](_0x24b310):_0x22c1f4=_0x553a1d[_0x3c6713(0xff)](_0x24b310),_0x4fb64b[_0x3c6713(0xfe)]!=null?this[_0x3c6713(0x128)][_0x3c6713(0x102)](_0x4fb64b[_0x3c6713(0xfe)],_0x4fb64b['refOffsetX'],_0x4fb64b[_0x3c6713(0x139)],_0x22c1f4):this[_0x3c6713(0x128)][_0x3c6713(0x13c)](_0x22c1f4));_0x1d12ed++;}return _0xa789fc[_0x3c6713(0xb4)](_0x5bf12e=>_0x5bf12e()),_0xa789fc=[],_0x15f3b0>0x0?this[_0x3c6713(0x128)][_0x3c6713(0x101)]():_0x518a89||this[_0x3c6713(0x128)]['markedAsNoFunctionsExecuted'](),this['_runtimeService']['getAllRuntimeData']();}}class he extends _0x4dcaf1{constructor(){const _0x3c16cc=_0x467be0;super(...arguments),I(this,_0x3c16cc(0xf0),new Map()),I(this,'_dependencyRTreeCache',new _0x22505c(!0x0));}[_0x467be0(0x10a)](){const _0x5799dd=_0x467be0;this[_0x5799dd(0x11f)]['clear'](),this[_0x5799dd(0xfa)][_0x5799dd(0xce)](),this[_0x5799dd(0x144)][_0x5799dd(0xce)](),this['_dependencyRTreeCache']['clear'](),this[_0x5799dd(0xf0)][_0x5799dd(0xce)](),this[_0x5799dd(0x135)](),this[_0x5799dd(0xec)][_0x5799dd(0xce)]();}[_0x467be0(0x105)](_0x13780b,_0x63bd80,_0x131d1d,_0x19d2b0){const _0x4c18f9=_0x467be0;this[_0x4c18f9(0x11f)]['has'](_0x13780b)||this[_0x4c18f9(0x11f)][_0x4c18f9(0x12f)](_0x13780b,new Map());const _0x16a676=this[_0x4c18f9(0x11f)][_0x4c18f9(0x12b)](_0x13780b);_0x16a676[_0x4c18f9(0x138)](_0x63bd80)||_0x16a676['set'](_0x63bd80,new Map());const _0x107f07=_0x16a676[_0x4c18f9(0x12b)](_0x63bd80);_0x107f07[_0x4c18f9(0x138)](_0x131d1d)||_0x107f07[_0x4c18f9(0x12f)](_0x131d1d,new _0x96164f()),_0x107f07[_0x4c18f9(0x12b)](_0x131d1d)[_0x4c18f9(0xaf)](_0x19d2b0[_0x4c18f9(0x146)],_0x19d2b0[_0x4c18f9(0x139)],_0x19d2b0[_0x4c18f9(0xd2)]);}[_0x467be0(0x133)](_0x4f28a5,_0x32aa62,_0x509a81){const _0x517cb0=_0x467be0,_0x1becd3=this['_otherFormulaData'][_0x517cb0(0x12b)](_0x4f28a5);if(_0x1becd3&&_0x1becd3[_0x517cb0(0x138)](_0x32aa62)){const _0x46c4cf=_0x1becd3[_0x517cb0(0x12b)](_0x32aa62);_0x509a81[_0x517cb0(0xb4)](_0x5951e8=>{const _0x4ecd5a=_0x517cb0,_0x5b35dd=_0x46c4cf[_0x4ecd5a(0x12b)](_0x5951e8);_0x5b35dd!=null&&(_0x5b35dd[_0x4ecd5a(0x132)]((_0x113098,_0x46773a,_0xcff275)=>{const _0x5f3438=_0x4ecd5a;this[_0x5f3438(0xc2)](_0xcff275),this[_0x5f3438(0x115)](_0xcff275);}),_0x46c4cf[_0x4ecd5a(0x124)](_0x5951e8),this['_otherFormulaDataMainData'][_0x4ecd5a(0x124)](_0x5951e8));}),_0x46c4cf['size']===0x0&&_0x1becd3[_0x517cb0(0x124)](_0x32aa62),_0x1becd3['size']===0x0&&this['_otherFormulaData'][_0x517cb0(0x124)](_0x4f28a5);}}[_0x467be0(0x125)](_0x72a6f,_0x245ce3){const _0x1759a6=_0x467be0,_0x27e255=this[_0x1759a6(0x11f)]['get'](_0x72a6f);if(_0x245ce3&&_0x27e255&&_0x27e255[_0x1759a6(0x138)](_0x245ce3)){const _0x3cddc2=_0x27e255[_0x1759a6(0x12b)](_0x245ce3);this['_removeDependencyRTreeCacheById'](_0x72a6f,_0x245ce3);for(const _0x4bcd84 of _0x3cddc2[_0x1759a6(0xb7)]()){const _0x209a67=_0x3cddc2[_0x1759a6(0x12b)](_0x4bcd84);_0x209a67!=null&&(_0x209a67[_0x1759a6(0x132)]((_0x4b5f4c,_0x446794,_0x54b611)=>{const _0x53127c=_0x1759a6;this[_0x53127c(0xf0)]['get'](_0x54b611)&&this['_removeAllTreeMap'](_0x54b611);}),this[_0x1759a6(0xec)][_0x1759a6(0x124)](_0x4bcd84));}_0x3cddc2[_0x1759a6(0xce)]();}else{if(_0x27e255){for(const _0xe5a4e9 of _0x27e255[_0x1759a6(0xb7)]()){const _0x3ee912=_0x27e255[_0x1759a6(0x12b)](_0xe5a4e9);this['_removeDependencyRTreeCacheById'](_0x72a6f,_0xe5a4e9);for(const _0x224dba of _0x3ee912[_0x1759a6(0xb7)]()){const _0x241685=_0x3ee912[_0x1759a6(0x12b)](_0x224dba);_0x241685!=null&&(_0x241685[_0x1759a6(0x132)]((_0x222b10,_0x5786ed,_0x3f400a)=>{const _0x15b761=_0x1759a6;this[_0x15b761(0xf0)][_0x15b761(0x12b)](_0x3f400a)&&this[_0x15b761(0x115)](_0x3f400a);}),this[_0x1759a6(0xec)]['delete'](_0x224dba));}}this[_0x1759a6(0x11f)][_0x1759a6(0x124)](_0x72a6f);}}}[_0x467be0(0xe9)](_0x4327dc,_0xa86393,_0x2094a7,_0x5d58c0){const _0x17d396=_0x467be0;this[_0x17d396(0xfa)][_0x17d396(0x138)](_0x4327dc)||this[_0x17d396(0xfa)]['set'](_0x4327dc,new Map());const _0x8f52d4=this['_featureFormulaData'][_0x17d396(0x12b)](_0x4327dc);_0x8f52d4['has'](_0xa86393)||_0x8f52d4[_0x17d396(0x12f)](_0xa86393,new Map()),_0x8f52d4[_0x17d396(0x12b)](_0xa86393)[_0x17d396(0x12f)](_0x2094a7,_0x5d58c0['treeId']);}['removeFeatureFormulaDependency'](_0x3fdbaf,_0x4fcb4e,_0x1c198d){const _0x2434ff=_0x467be0,_0x51a51d=this['_featureFormulaData'][_0x2434ff(0x12b)](_0x3fdbaf);if(_0x51a51d&&_0x51a51d[_0x2434ff(0x138)](_0x4fcb4e)){const _0x3319d2=_0x51a51d[_0x2434ff(0x12b)](_0x4fcb4e);_0x1c198d[_0x2434ff(0xb4)](_0x231f52=>{const _0x56f720=_0x2434ff,_0x2012db=_0x3319d2[_0x56f720(0x12b)](_0x231f52);_0x2012db!=null&&(this[_0x56f720(0xc2)](_0x2012db),_0x3319d2[_0x56f720(0x124)](_0x231f52),this[_0x56f720(0x115)](_0x2012db));});}}[_0x467be0(0xf4)](_0x588952,_0x30bd55){const _0x1e7756=_0x467be0,_0x42f567=this['_featureFormulaData'][_0x1e7756(0x12b)](_0x588952);if(_0x30bd55&&_0x42f567&&_0x42f567[_0x1e7756(0x138)](_0x30bd55)){const _0x5afbe4=_0x42f567[_0x1e7756(0x12b)](_0x30bd55);this[_0x1e7756(0x113)](_0x588952,_0x30bd55),_0x5afbe4[_0x1e7756(0xb4)](_0x30c566=>{const _0x3bb344=_0x1e7756;_0x30c566!=null&&this[_0x3bb344(0x115)](_0x30c566);}),_0x5afbe4[_0x1e7756(0xce)]();}else _0x42f567&&(_0x42f567['forEach']((_0xf3e048,_0x45ca44)=>{const _0xfa9a1b=_0x1e7756;this['_removeDependencyRTreeCacheById'](_0x588952,_0x45ca44),_0xf3e048[_0xfa9a1b(0xb4)](_0x695837=>{_0x695837!=null&&this['_removeAllTreeMap'](_0x695837);});}),this[_0x1e7756(0xfa)][_0x1e7756(0x124)](_0x588952));}['addFormulaDependency'](_0x5f1ca7,_0x3dc5ed,_0x51b64e,_0x1de729,_0x5195ff){const _0x29518b=_0x467be0;this[_0x29518b(0x144)][_0x29518b(0x138)](_0x5f1ca7)||this['_formulaData']['set'](_0x5f1ca7,new Map());const _0x3b1f63=this['_formulaData'][_0x29518b(0x12b)](_0x5f1ca7);_0x3b1f63[_0x29518b(0x138)](_0x3dc5ed)||_0x3b1f63['set'](_0x3dc5ed,new _0x96164f()),_0x3b1f63[_0x29518b(0x12b)](_0x3dc5ed)[_0x29518b(0xaf)](_0x51b64e,_0x1de729,_0x5195ff[_0x29518b(0xd2)]);}[_0x467be0(0xd5)](_0x4b1b73,_0xab3553,_0x5884dd,_0x518891){const _0x561856=_0x467be0,_0x2dbb3b=this['_formulaData']['get'](_0x4b1b73);if(_0x2dbb3b&&_0x2dbb3b['has'](_0xab3553)){const _0x3102c2=_0x2dbb3b[_0x561856(0x12b)](_0xab3553),_0x47d23d=_0x3102c2[_0x561856(0xe1)](_0x5884dd,_0x518891);if(_0x47d23d==null)return;this[_0x561856(0xc2)](_0x47d23d),_0x3102c2[_0x561856(0x108)](_0x5884dd,_0x518891),this['_removeAllTreeMap'](_0x47d23d);}}['clearFormulaDependency'](_0x39c7c7,_0x30d32c){const _0x1e84e9=_0x467be0,_0x3636a1=this[_0x1e84e9(0x144)][_0x1e84e9(0x12b)](_0x39c7c7);if(_0x30d32c&&_0x3636a1&&_0x3636a1[_0x1e84e9(0x138)](_0x30d32c)){const _0x3874e6=_0x3636a1[_0x1e84e9(0x12b)](_0x30d32c);this[_0x1e84e9(0x113)](_0x39c7c7,_0x30d32c),_0x3874e6[_0x1e84e9(0x132)]((_0x329c49,_0x3f5a35,_0x32527c)=>{if(_0x32527c==null)return!0x0;this['_removeAllTreeMap'](_0x32527c);}),_0x3874e6[_0x1e84e9(0x10a)]();}else _0x3636a1&&(_0x3636a1[_0x1e84e9(0xb4)]((_0x1b7e33,_0x1a7912)=>{const _0x537622=_0x1e84e9;this[_0x537622(0x113)](_0x39c7c7,_0x1a7912),_0x1b7e33[_0x537622(0x132)]((_0x39de34,_0xfcb00,_0xab249b)=>{const _0x39197c=_0x537622;if(_0xab249b==null)return!0x0;this[_0x39197c(0x115)](_0xab249b);});}),this[_0x1e84e9(0x144)]['delete'](_0x39c7c7));}[_0x467be0(0xc2)](_0x5bc106){const _0x2bee1e=_0x467be0;if(_0x5bc106==null)return;const _0xa94eb8=this[_0x2bee1e(0xf0)][_0x2bee1e(0x12b)](_0x5bc106);if(_0xa94eb8){const _0x19ab68=[];for(const [_0x576e9f,_0x494263]of _0xa94eb8)for(const [_0x102fee,_0x13eb98]of _0x494263)_0x19ab68[_0x2bee1e(0x121)]({'unitId':_0x576e9f,'sheetId':_0x102fee,'range':_0x13eb98,'id':_0x5bc106});this[_0x2bee1e(0x11c)][_0x2bee1e(0xb8)](_0x19ab68);}}[_0x467be0(0xab)](_0x1f9727,_0x14a84c){const _0x28f7fe=_0x467be0,_0x25f85d=this[_0x28f7fe(0x11b)]['get'](_0x1f9727);if(_0x25f85d){const _0x35aaf1=_0x25f85d['get'](_0x14a84c);if(_0x35aaf1){for(const _0x3323e4 of _0x35aaf1)this['_removeDependencyRTreeCache'](_0x3323e4),this[_0x28f7fe(0x115)](_0x3323e4);_0x35aaf1[_0x28f7fe(0xce)]();}}}[_0x467be0(0xe3)](){const _0x2a9357=_0x467be0;this[_0x2a9357(0x11c)][_0x2a9357(0xe3)]();}[_0x467be0(0x103)](){const _0x1dc6dd=_0x467be0;this[_0x1dc6dd(0x11c)]['closeKdTree']();}[_0x467be0(0x115)](_0x5be7b2){const _0x3e582c=_0x467be0;_0x5be7b2!=null&&this['_allTreeMap'][_0x3e582c(0x124)](_0x5be7b2);}[_0x467be0(0xc1)](_0xd89b6){const _0x2bed55=_0x467be0;var _0x385cca,_0x3f843b;const _0xb5a40e=_0xd89b6[_0x2bed55(0x10d)];let _0x2366c6=this[_0x2bed55(0xf0)][_0x2bed55(0x12b)](_0xd89b6[_0x2bed55(0xd2)]);for(let _0x422637=0x0;_0x422637<_0xb5a40e[_0x2bed55(0xbe)];_0x422637++){const _0x102f51=_0xb5a40e[_0x422637];let {unitId:_0x4d10d5,sheetId:_0x3181e6,range:_0x43b172}=_0x102f51;_0x2366c6||(_0x2366c6=new Map(),this[_0x2bed55(0xf0)][_0x2bed55(0x12f)](_0xd89b6['treeId'],_0x2366c6)),_0x2366c6[_0x2bed55(0x138)](_0x4d10d5)||_0x2366c6[_0x2bed55(0x12f)](_0x4d10d5,new Map());const _0x492a6e=(_0x385cca=_0x2366c6==null?void 0x0:_0x2366c6[_0x2bed55(0x12b)](_0x4d10d5))==null?void 0x0:_0x385cca['get'](_0x3181e6);_0x492a6e&&(_0x43b172={'startRow':Math[_0x2bed55(0xd1)](_0x43b172[_0x2bed55(0xfc)],_0x492a6e[_0x2bed55(0xfc)]),'startColumn':Math[_0x2bed55(0xd1)](_0x43b172[_0x2bed55(0xf7)],_0x492a6e['startColumn']),'endRow':Math[_0x2bed55(0xcb)](_0x43b172['endRow'],_0x492a6e[_0x2bed55(0x12d)]),'endColumn':Math[_0x2bed55(0xcb)](_0x43b172[_0x2bed55(0x143)],_0x492a6e[_0x2bed55(0x143)])}),(_0x3f843b=_0x2366c6[_0x2bed55(0x12b)](_0x4d10d5))==null||_0x3f843b[_0x2bed55(0x12f)](_0x3181e6,_0x43b172);}}}var pe=Object[_0x467be0(0x145)],_e=(_0x104e1b,_0x68df16,_0x886aaf,_0x38af1c)=>{const _0xdcc6db=_0x467be0;for(var _0x42572b=_0x38af1c>0x1?void 0x0:_0x38af1c?pe(_0x68df16,_0x886aaf):_0x68df16,_0x2676cf=_0x104e1b[_0xdcc6db(0xbe)]-0x1,_0x3288ed;_0x2676cf>=0x0;_0x2676cf--)(_0x3288ed=_0x104e1b[_0x2676cf])&&(_0x42572b=_0x3288ed(_0x42572b)||_0x42572b);return _0x42572b;};const ge=Number[_0x467be0(0xbd)](0x68678842);let b=class extends _0x5552ac{[_0x467be0(0xcf)](){const _0x2fa606=_0x467be0;var _0x341dde,_0x1d1ee7;this[_0x2fa606(0x110)]()?(_0x341dde=this['_config'])!=null&&_0x341dde[_0x2fa606(0xdd)]||[[_0x4ec4c6,{'useClass':de}],[_0xd715e2,{'useClass':he}],[_0x88fc10,{'useClass':fe}]]['forEach'](_0x1f4d73=>this[_0x2fa606(0xbf)][_0x2fa606(0x148)](_0x1f4d73)):(_0x1d1ee7=this[_0x2fa606(0xd9)])!=null&&_0x1d1ee7[_0x2fa606(0xdd)]||[[_0x4ec4c6,{'useClass':_0x53eea7}],[_0xd715e2,{'useClass':_0x2b7340}],[_0x88fc10,{'useClass':_0x108708}]][_0x2fa606(0xb4)](_0x141291=>this['_injector'][_0x2fa606(0x148)](_0x141291));}[_0x467be0(0x110)](){const _0x49aa91=_0x467be0;var _0xab0258;const _0x2a2edf=(_0xab0258=this['_configService'][_0x49aa91(0xb2)](_0x44b299))!=null?_0xab0258:{},{ls:_0x17908e,pbk:_0x34e9e2}=_0x2a2edf;if(!_0x17908e||!_0x34e9e2)return!0x1;const _0x5ba52a=_0x3251b6(ue,le),_0x26a6ae=new Function(_0x49aa91(0xc0)+_0x5ba52a)()(_0x17908e,_0x34e9e2),_0x478ba2=_0x26a6ae[_0x49aa91(0xe5)];return _0x26a6ae[_0x49aa91(0xe6)]&&_0x369b11(_0x478ba2,'sf',ge)?_0x20cd47(_0x478ba2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=_e([_0x3cb4fa(_0x196769)],b);function _0x1e73(_0x56ba5f,_0x59a367){const _0x21ad9c=_0x21ad();return _0x1e73=function(_0x1e7311,_0x19f181){_0x1e7311=_0x1e7311-0xab;let _0x319e48=_0x21ad9c[_0x1e7311];return _0x319e48;},_0x1e73(_0x56ba5f,_0x59a367);}export{b 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;
14
- t: string;
15
- n: string;
12
+ k: string;
13
+ L: string;
14
+ N: string;
16
15
  q: string;
16
+ d: string;
17
+ x: string;
18
+ w: string;
19
+ e: string;
20
+ m: string;
21
+ v: string;
17
22
  W: string;
18
- S: string;
23
+ a: string;
24
+ C: string;
19
25
  r: string;
20
- U: string;
21
- i: string;
22
- E: string;
26
+ g: string;
23
27
  M: string;
24
- e: string;
25
- L: string;
26
- a: string;
27
- H: string;
28
- V: string;
28
+ l: string;
29
+ t: string;
30
+ i: string;
31
+ F: string;
32
+ p: string;
33
+ U: string;
34
+ f: string;
35
+ I: string;
36
+ b: string;
29
37
  z: string;
30
- j: string;
31
- P: string;
32
- C: string;
38
+ n: string;
39
+ G: string;
40
+ s: string;
33
41
  K: string;
34
- I: string;
35
- d: string;
36
- N: string;
37
- O: string;
38
- T: string;
39
- u: string;
40
- Z: string;
41
- X: string;
42
- m: string;
43
- D: string;
44
42
  h: string;
45
- b: string;
46
- J: string;
43
+ V: string;
44
+ P: string;
45
+ A: string;
46
+ c: string;
47
47
  y: string;
48
- Y: string;
49
- x: string;
48
+ O: string;
49
+ u: string;
50
50
  R: string;
51
- F: string;
52
- s: string;
53
51
  Q: string;
54
- c: string;
55
- p: string;
56
- G: string;
57
- A: string;
58
- v: string;
59
- f: string;
60
- k: string;
61
- w: string;
62
- o: string;
52
+ S: string;
53
+ j: string;
54
+ J: string;
63
55
  B: string;
56
+ Z: string;
57
+ Y: string;
58
+ T: string;
59
+ E: string;
60
+ o: string;
61
+ D: string;
62
+ H: string;
63
+ X: 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 = "68FaIMpF CrafG1IMpF(4MarF5r, 18W4MaOrG) { IfG { apF5I 4MarF5r9F6pjvfIKffvG = 4MarF5r.514MI('-'); apF5I pfMgMFRr55vgr = 7ZSQ.1vf5r(vIpW(4MarF5r9F6pjvfIKffvG[N])); M6 (!pfMgMFRr55vgr.8C) { pfMgMFRr55vgr.8C = Q8iWrf(4MarF5r9F6pjvfIKffvG[q]); } apF5I M5opftrf = IG1rp6 opftrfc4pWv4Zap1r !== '8FCr6MFrC' && 5r46 MF5IvFarp6 opftrfc4pWv4Zap1r; apF5I apFIrnI = M5opftrf ? 5r46 : zMFCpz; apF5I ir55vgropfC = apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[N]); apF5I ir55vgr = apFIrnI.__yrn__.5IfMFgM6G(ir55vgropfC); apF5I 5MgFvI8fropfC = apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[0]); apF5I 5MgFvI8fr = apFIrnI.__yrn__.5IfMFgM6G(5MgFvI8fropfC); apF5I 5MgFEv4MC = apFIrnI.__brfM6G__(5MgFvI8fr, ir55vgr, 18W4MaOrG); apF5I CpivMF = pfMgMFRr55vgr.Ci; 68FaIMpF M5PpivMFRvIa3MFg(pjvIIrfF, pyp5I) { apF5I 1vIIrfF = pjvIIrfF.fr14var(/^.+/, ''); apF5I 3p5I = pyp5I.fr14var(/^.+/, ''); apF5I 1vIIrfFjvfI5 = 1vIIrfF.514MI('.'); apF5I 3p5IjvfI5 = 3p5I.514MI('.'); M6 (!1vIIrfF.MFa48Cr5('*')) { frI8fF 1vIIrfF === 3p5I; } M6 (1vIIrfFjvfI5.4rFgI3 < N || 1vIIrfFjvfI5[k] !== '*') { frI8fF 6v45r; } apF5I 1vIIrfFZ866Mn = 1vIIrfFjvfI5.54Mar(L).lpMF('.'); apF5I 3p5IZ866Mn = 3p5IjvfI5.54Mar(-1vIIrfFjvfI5.4rFgI3 + L).lpMF('.'); frI8fF 1vIIrfFZ866Mn === 3p5IZ866Mn; } 4rI CpivMFEv4MC = (CpivMF && CpivMF.4rFgI3) ? CpivMF.5pir((Ci9Iri) => M5PpivMFRvIa3MFg(Ci9Iri, 4pavIMpF.3p5IFvir)) : If8r; M6 (4pavIMpF.3p5IFvir === '4pav43p5I') { CpivMFEv4MC = If8r; } apF5I bv4MC = 5MgFEv4MC && CpivMFEv4MC; frI8fF { bv4MC, ir55vgr: pfMgMFRr55vgr, }; } avIa3 (rffpf) { frI8fF { bv4MC: 6v45r, ir55vgr: {}, }; }}";
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 _0x54b8(_0x328569,_0x3ca217){var _0x2afd9a=_0x2afd();return _0x54b8=function(_0x54b807,_0x3e8202){_0x54b807=_0x54b807-0x141;var _0x4a089d=_0x2afd9a[_0x54b807];return _0x4a089d;},_0x54b8(_0x328569,_0x3ca217);}(function(_0x9625c1,_0x58d9e3){var _0x3475cc=_0x54b8,_0x3e36d4=_0x9625c1();while(!![]){try{var _0xf91de3=parseInt(_0x3475cc(0x156))/0x1+parseInt(_0x3475cc(0x144))/0x2*(parseInt(_0x3475cc(0x152))/0x3)+parseInt(_0x3475cc(0x14d))/0x4+parseInt(_0x3475cc(0x14f))/0x5+-parseInt(_0x3475cc(0x143))/0x6+-parseInt(_0x3475cc(0x14c))/0x7*(-parseInt(_0x3475cc(0x157))/0x8)+parseInt(_0x3475cc(0x148))/0x9*(-parseInt(_0x3475cc(0x151))/0xa);if(_0xf91de3===_0x58d9e3)break;else _0x3e36d4['push'](_0x3e36d4['shift']());}catch(_0x1de209){_0x3e36d4['push'](_0x3e36d4['shift']());}}}(_0x2afd,0xd271c),function(_0x40c8a0,_0x3630eb){var _0x25eb29=_0x54b8;typeof exports==_0x25eb29(0x150)&&typeof module<'u'?_0x3630eb(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x25eb29(0x14b)&&define['amd']?define([_0x25eb29(0x145),_0x25eb29(0x149)],_0x3630eb):(_0x40c8a0=typeof globalThis<'u'?globalThis:_0x40c8a0||self,_0x3630eb(_0x40c8a0[_0x25eb29(0x14a)]={},_0x40c8a0[_0x25eb29(0x153)]));}(this,function(_0x3b4dde,_0x46310c){'use strict';var _0x5702e3=_0x54b8;Object[_0x5702e3(0x147)](_0x46310c)[_0x5702e3(0x142)](_0x4ea3f2=>{var _0x25e557=_0x5702e3;_0x4ea3f2!=='default'&&!Object[_0x25e557(0x155)][_0x25e557(0x141)][_0x25e557(0x158)](_0x3b4dde,_0x4ea3f2)&&Object[_0x25e557(0x14e)](_0x3b4dde,_0x4ea3f2,{'enumerable':!0x0,'get':()=>_0x46310c[_0x4ea3f2]});}),Object[_0x5702e3(0x14e)](_0x3b4dde,Symbol[_0x5702e3(0x146)],{'value':_0x5702e3(0x154)});}));function _0x2afd(){var _0x2f18cf=['144591iZtaus','UniverEngineFormulaFacade','Module','prototype','1391997KnewmU','8njYUnz','call','hasOwnProperty','forEach','2763330wXYAoS','14YNmDns','exports','toStringTag','keys','9sYKRlr','@univerjs/engine-formula/facade','UniverProEngineFormulaFacade','function','10132423ENZOaj','6380676lBhLgQ','defineProperty','6238990qCFELV','object','46972970gmBbMN'];_0x2afd=function(){return _0x2f18cf;};return _0x2afd();}
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(_0x206e24,_0x4cdf2c){const _0x2575e7=_0x49ec,_0x1b1595=_0x206e24();while(!![]){try{const _0x4e3583=parseInt(_0x2575e7(0x14f))/0x1+parseInt(_0x2575e7(0x11d))/0x2+-parseInt(_0x2575e7(0xa3))/0x3*(-parseInt(_0x2575e7(0x102))/0x4)+-parseInt(_0x2575e7(0x11b))/0x5*(parseInt(_0x2575e7(0x11f))/0x6)+parseInt(_0x2575e7(0x123))/0x7*(-parseInt(_0x2575e7(0xe2))/0x8)+parseInt(_0x2575e7(0x10c))/0x9+-parseInt(_0x2575e7(0x12f))/0xa;if(_0x4e3583===_0x4cdf2c)break;else _0x1b1595['push'](_0x1b1595['shift']());}catch(_0x29e522){_0x1b1595['push'](_0x1b1595['shift']());}}}(_0x406c,0x8df9d),function(_0x5aaea2,_0x429b9c){const _0x109a7f=_0x49ec;typeof exports=='object'&&typeof module<'u'?_0x429b9c(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define=='function'&&define[_0x109a7f(0xd5)]?define([_0x109a7f(0x15c),_0x109a7f(0x152),_0x109a7f(0xa2),'@univerjs/engine-formula'],_0x429b9c):(_0x5aaea2=typeof globalThis<'u'?globalThis:_0x5aaea2||self,_0x429b9c(_0x5aaea2[_0x109a7f(0xa8)]={},_0x5aaea2[_0x109a7f(0xe6)],_0x5aaea2[_0x109a7f(0x13e)],_0x5aaea2[_0x109a7f(0xb2)]));}(this,function(_0x1fda75,_0x2994ae,_0x18419e,_0x34820d){'use strict';const _0x121d98=_0x49ec;var _0xc574b7=Object[_0x121d98(0x10d)],_0x29fc16=(_0x45a736,_0x2dcb52,_0x8684db)=>_0x2dcb52 in _0x45a736?_0xc574b7(_0x45a736,_0x2dcb52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8684db}):_0x45a736[_0x2dcb52]=_0x8684db,_0x49a8a4=(_0x3bbd4b,_0x226a3a,_0x18e3aa)=>_0x29fc16(_0x3bbd4b,typeof _0x226a3a!=_0x121d98(0x141)?_0x226a3a+'':_0x226a3a,_0x18e3aa);const _0x55f809={0x0:'3',0x1:'p',0x2:'E',0x3:'h',0x4:'l',0x5:'s',0x6:'f',0x7:'J',0x8:'u',0x9:'I','k':'0','L':'1','N':'2','q':'4','d':'5','x':'6','w':'7','e':'8','m':'9','v':'a','W':'b','a':'c','C':'d','r':'e','g':'g','M':'i','l':'j','t':'k','i':'m','F':'n','p':'o','U':'q','f':'r','I':'t','b':'v','z':'w','n':'x','G':'y','s':'z','K':'A','h':'B','V':'C','P':'D','A':'F','c':'G','y':'H','O':'K','u':'L','R':'M','Q':'N','S':'O','j':'P','J':'Q','B':'R','Z':'S','Y':'T','T':'U','E':'V','o':'W','D':'X','H':'Y','X':'Z'},_0x3ef1d4='68FaIMpF\x20CrafG1IMpF(4MarF5r,\x2018W4MaOrG)\x20{\x20\x20\x20\x20IfG\x20{\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x204MarF5r9F6pjvfIKffvG\x20=\x204MarF5r.514MI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20pfMgMFRr55vgr\x20=\x207ZSQ.1vf5r(vIpW(4MarF5r9F6pjvfIKffvG[N]));\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!pfMgMFRr55vgr.8C)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pfMgMFRr55vgr.8C\x20=\x20Q8iWrf(4MarF5r9F6pjvfIKffvG[q]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20M5opftrf\x20=\x20IG1rp6\x20opftrfc4pWv4Zap1r\x20!==\x20\x278FCr6MFrC\x27\x20&&\x205r46\x20MF5IvFarp6\x20opftrfc4pWv4Zap1r;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20apFIrnI\x20=\x20M5opftrf\x20?\x205r46\x20:\x20zMFCpz;\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[N]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20ir55vgr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(ir55vgropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fropfC\x20=\x20apFIrnI.__hv5rxq__.1vf5r(4MarF5r9F6pjvfIKffvG[0]);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFvI8fr\x20=\x20apFIrnI.__yrn__.5IfMFgM6G(5MgFvI8fropfC);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x205MgFEv4MC\x20=\x20apFIrnI.__brfM6G__(5MgFvI8fr,\x20ir55vgr,\x2018W4MaOrG);\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20CpivMF\x20=\x20pfMgMFRr55vgr.Ci;\x20\x20\x20\x20\x20\x20\x20\x2068FaIMpF\x20M5PpivMFRvIa3MFg(pjvIIrfF,\x20pyp5I)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfF\x20=\x20pjvIIrfF.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5I\x20=\x20pyp5I.fr14var(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFjvfI5\x20=\x201vIIrfF.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IjvfI5\x20=\x203p5I.514MI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(!1vIIrfF.MFa48Cr5(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfF\x20===\x203p5I;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(1vIIrfFjvfI5.4rFgI3\x20<\x20N\x20||\x201vIIrfFjvfI5[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x206v45r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x201vIIrfFZ866Mn\x20=\x201vIIrfFjvfI5.54Mar(L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x203p5IZ866Mn\x20=\x203p5IjvfI5.54Mar(-1vIIrfFjvfI5.4rFgI3\x20+\x20L).lpMF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x201vIIrfFZ866Mn\x20===\x203p5IZ866Mn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204rI\x20CpivMFEv4MC\x20=\x20(CpivMF\x20&&\x20CpivMF.4rFgI3)\x20?\x20CpivMF.5pir((Ci9Iri)\x20=>\x20M5PpivMFRvIa3MFg(Ci9Iri,\x204pavIMpF.3p5IFvir))\x20:\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20M6\x20(4pavIMpF.3p5IFvir\x20===\x20\x274pav43p5I\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CpivMFEv4MC\x20=\x20If8r;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20apF5I\x20bv4MC\x20=\x205MgFEv4MC\x20&&\x20CpivMFEv4MC;\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20pfMgMFRr55vgr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20avIa3\x20(rffpf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20frI8fF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bv4MC:\x206v45r,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ir55vgr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x227015 extends _0x34820d['FormulaDependencyGenerator']{constructor(){const _0x64769b=_0x121d98;super(...arguments),_0x49a8a4(this,_0x64769b(0xc1),new Map());}['dispose'](){const _0x579df8=_0x121d98;super[_0x579df8(0x13b)](),this['_dependencyTreeCache'][_0x579df8(0x158)]();}async[_0x121d98(0x15f)](){const _0x5249eb=_0x121d98;this['_updateRangeFlatten']();const _0x1aa692=this['_currentConfigService'][_0x5249eb(0xc5)](),_0x3b7351=this[_0x5249eb(0xdf)][_0x5249eb(0xe5)](),_0x2e4d70=this['_currentConfigService'][_0x5249eb(0x12e)]();_0x2e4d70!=null&&Object[_0x5249eb(0x147)](_0x2e4d70)['forEach'](_0x4cebd6=>{const _0x17c179=_0x5249eb;_0x4cebd6!=null&&Object[_0x17c179(0x147)](_0x2e4d70[_0x4cebd6])['forEach'](_0x49674d=>{const _0x1a8637=_0x17c179;_0x49674d!=null&&(this[_0x1a8637(0x111)]['clearOtherFormulaDependency'](_0x4cebd6,_0x49674d),this['_dependencyManagerService'][_0x1a8637(0xef)](_0x4cebd6,_0x49674d),this['_dependencyManagerService']['clearFormulaDependency'](_0x4cebd6,_0x49674d));});});const _0x423f3c=this[_0x5249eb(0x127)][_0x5249eb(0xa4)]();await this[_0x5249eb(0xc6)](_0x1aa692,_0x3b7351,_0x423f3c),this[_0x5249eb(0x111)]['openKdTree']();const _0x398438=this[_0x5249eb(0xec)](),_0x22f1b4=this[_0x5249eb(0xd7)](_0x398438);return this[_0x5249eb(0x12a)](_0x22f1b4)&&this['_runtimeService']['enableCycleDependency'](),this[_0x5249eb(0xc1)][_0x5249eb(0x158)](),this['_dependencyRTreeCacheForAddressFunction'][_0x5249eb(0x158)](),this['_dependencyManagerService'][_0x5249eb(0xc0)](),Promise[_0x5249eb(0xaf)](_0x22f1b4);}[_0x121d98(0x12d)](_0x10bf39,_0x3484cf){const _0x5773dd=_0x121d98,_0x2c49df=[_0x10bf39];for(;_0x2c49df[_0x5773dd(0xa6)]>0x0;){const _0x1c6170=_0x2c49df[_0x2c49df[_0x5773dd(0xa6)]-0x1];if((_0x3484cf[_0x5773dd(0x12b)](_0x1c6170)||0x0)===0x0){_0x3484cf[_0x5773dd(0x10e)](_0x1c6170,0x1);const _0x27ecfb=this[_0x5773dd(0xc1)]['get'](_0x1c6170);if(_0x27ecfb==null){_0x3484cf[_0x5773dd(0x10e)](_0x1c6170,0x2),_0x2c49df['pop']();continue;}const _0x59f755=this[_0x5773dd(0x111)][_0x5773dd(0x13c)](_0x27ecfb[_0x5773dd(0x151)]());for(const _0x32dc4a of _0x59f755){const _0x190a5b=_0x3484cf[_0x5773dd(0x12b)](_0x32dc4a)||0x0;if(_0x190a5b===0x1)return!0x0;_0x190a5b===0x0&&_0x2c49df[_0x5773dd(0x104)](_0x32dc4a);}}else _0x3484cf['set'](_0x1c6170,0x2),_0x2c49df['pop']();}return!0x1;}[_0x121d98(0x12a)](_0x5748b7){const _0x2fb838=_0x121d98,_0x1d9df3=new Map();for(const _0x452b1a of _0x5748b7)if(!_0x1d9df3[_0x2fb838(0x107)](_0x452b1a[_0x2fb838(0xd2)])&&this[_0x2fb838(0x12d)](_0x452b1a[_0x2fb838(0xd2)],_0x1d9df3))return!0x0;return _0x1d9df3[_0x2fb838(0x158)](),!0x1;}['_getFeatureFormulaTree'](_0x289cd1,_0x11d69c,_0x2baa96){const _0x132164=_0x121d98,{unitId:_0x40872b,subUnitId:_0xd097f4,dependencyRanges:_0x148bc5,getDirtyData:_0x464d79}=_0x2baa96,_0x18e292=_0x11d69c||_0x34820d[_0x132164(0xe9)](this[_0x132164(0x111)]),_0x894461=new _0x34820d[(_0x132164(0xbf))](_0x18e292);_0x894461[_0x132164(0x15e)]=_0x40872b,_0x894461[_0x132164(0x129)]=_0xd097f4,_0x894461['rangeList']=_0x148bc5,_0x894461[_0x132164(0x143)]=_0x464d79;const _0xcde0e7=_0x464d79(this[_0x132164(0x127)][_0x132164(0x143)](),this[_0x132164(0xb7)][_0x132164(0xcd)]()),_0x38a77b=this['_convertDirtyRangesToUnitRange'](_0xcde0e7[_0x132164(0xbb)]);return _0x894461['featureDirtyRanges']=_0x38a77b,_0x894461[_0x132164(0x14c)]=_0x289cd1,_0x894461['type']=_0x34820d['FormulaDependencyTreeType'][_0x132164(0x139)],this[_0x132164(0x111)][_0x132164(0xa5)](_0x40872b,_0xd097f4,_0x289cd1,_0x894461),this[_0x132164(0xc1)][_0x132164(0x10e)](_0x894461[_0x132164(0xd2)],_0x894461),this[_0x132164(0x111)][_0x132164(0xd4)](_0x2baa96['unitId'],_0x2baa96['subUnitId'],_0x289cd1)&&(_0x894461['isCache']=!0x0),_0x894461;}[_0x121d98(0x14e)](_0xc22116,_0xc09291,_0x2e8aac){const _0x184588=_0x121d98;var _0x3cc532;for(const _0x480e7d of _0xc09291){const _0x3b6f0d=_0xc22116[_0x480e7d];if(_0x3b6f0d==null)continue;const _0x139c43=Object[_0x184588(0x147)](_0x3b6f0d);for(const _0x5d0eb9 of _0x139c43){const _0x44a8cb=_0x3b6f0d[_0x5d0eb9];if(_0x44a8cb==null)continue;const _0x26a71b=Object[_0x184588(0x147)](_0x44a8cb);for(const _0x17b732 of _0x26a71b){const _0x21160e=this[_0x184588(0x111)][_0x184588(0xdb)](_0x17b732),_0x333fef=_0x44a8cb[_0x17b732],{f:_0x1bc049,ranges:_0x2307cb}=_0x333fef;let _0x5224ca=!0x1;_0x21160e&&(_0x5224ca=!0x0);const {firstRow:_0x45c981,firstColumn:_0x4f9cb9}=this['_getFirstCellOfRange'](_0x2307cb),_0xe11319=this[_0x184588(0x111)][_0x184588(0x117)](_0x480e7d,_0x5d0eb9,_0x17b732),_0x2a50d8=(_0x3cc532=_0xe11319==null?void 0x0:_0xe11319[_0x184588(0x122)](0x0,0x0))!=null?_0x3cc532:_0x34820d[_0x184588(0xe9)](this[_0x184588(0x111)]),_0xbfe405=new _0x34820d[(_0x184588(0xbf))](_0x2a50d8);for(let _0x415e4a=0x0;_0x415e4a<_0x2307cb[_0x184588(0xa6)];_0x415e4a++){const _0x77d74a=_0x2307cb[_0x415e4a],{startRow:_0x565341,startColumn:_0x3598d3,endRow:_0x5c1b8f,endColumn:_0x229ae5}=_0x77d74a;for(let _0x412f39=_0x565341;_0x412f39<=_0x5c1b8f;_0x412f39++)for(let _0x1a3d6e=_0x3598d3;_0x1a3d6e<=_0x229ae5;_0x1a3d6e++){const _0x335b62=_0x1a3d6e-_0x4f9cb9,_0x332781=_0x412f39-_0x45c981;if(_0x335b62===0x0&&_0x332781===0x0){_0xbfe405[_0x184588(0x11c)]=_0x1bc049,_0xbfe405['unitId']=_0x480e7d,_0xbfe405['subUnitId']=_0x5d0eb9,_0xbfe405[_0x184588(0x10a)]=_0x17b732,_0xbfe405[_0x184588(0xf5)]=_0x34820d[_0x184588(0xac)][_0x184588(0x121)],_0xbfe405['isCache']=_0x5224ca,_0x2e8aac[_0x184588(0x104)](_0xbfe405),this['_dependencyTreeCache'][_0x184588(0x10e)](_0xbfe405['treeId'],_0xbfe405),this[_0x184588(0x111)]['addOtherFormulaDependency'](_0x480e7d,_0x5d0eb9,_0x17b732,_0xbfe405),this[_0x184588(0x111)][_0x184588(0xbc)](_0xbfe405);continue;}const _0x17f3c0=new _0x34820d['FormulaDependencyTreeVirtual']();_0x17f3c0[_0x184588(0xd2)]=(_0xe11319==null?void 0x0:_0xe11319['getValue'](_0x335b62,_0x332781))||_0x34820d[_0x184588(0xe9)](this[_0x184588(0x111)]),_0x17f3c0[_0x184588(0xbd)]=_0xbfe405,_0x17f3c0[_0x184588(0x15d)]=_0x335b62,_0x17f3c0[_0x184588(0x150)]=_0x332781,_0x17f3c0[_0x184588(0x156)]=_0x5224ca,this[_0x184588(0x111)][_0x184588(0x14a)](_0x480e7d,_0x5d0eb9,_0x17b732,_0x17f3c0),this[_0x184588(0x111)][_0x184588(0xbc)](_0x17f3c0),_0x2e8aac[_0x184588(0x104)](_0x17f3c0),this[_0x184588(0xc1)][_0x184588(0x10e)](_0x17f3c0[_0x184588(0xd2)],_0x17f3c0);}}this[_0x184588(0x111)][_0x184588(0xf6)](_0x17b732);}}}}[_0x121d98(0x154)](_0x25c6f9,_0x3f608f,_0x2b17e4,_0x2d6936){const _0x16a506=_0x121d98;for(const _0x3e3a3d of _0x25c6f9){const _0x5c276f=_0x3f608f[_0x3e3a3d];if(_0x5c276f==null)continue;const _0x4796fc=Object['keys'](_0x5c276f);for(const _0x19163c of _0x4796fc){const _0x536159=new _0x18419e[(_0x16a506(0x120))](_0x5c276f[_0x19163c]||{}),_0x42dfd2=new Map();_0x536159[_0x16a506(0x113)]((_0x48afb3,_0x57b161,_0x3c07a0)=>{const _0x3b8177=_0x16a506;if(_0x3c07a0==null)return!0x0;const {x:_0x3e92eb=0x0,y:_0x26dfb0=0x0,si:_0x49b090}=_0x3c07a0;if(!(_0x3e92eb===0x0&&_0x26dfb0===0x0&&_0x49b090!=null))return!0x0;const _0x58586c=this[_0x3b8177(0xda)](_0x3e3a3d,_0x19163c,_0x48afb3,_0x57b161,_0x2b17e4,_0x3c07a0),_0x1bc307=this[_0x3b8177(0x111)]['getFormulaDependency'](_0x3e3a3d,_0x19163c,_0x48afb3,_0x57b161);_0x1bc307!=null?_0x58586c[_0x3b8177(0xd2)]=_0x1bc307:(this[_0x3b8177(0x111)][_0x3b8177(0xfa)](_0x3e3a3d,_0x19163c,_0x48afb3,_0x57b161,_0x58586c),this[_0x3b8177(0x111)][_0x3b8177(0xbc)](_0x58586c)),_0x42dfd2[_0x3b8177(0x10e)](_0x49b090,_0x58586c),_0x2d6936['push'](_0x58586c),this[_0x3b8177(0xc1)]['set'](_0x58586c['treeId'],_0x58586c);}),_0x536159[_0x16a506(0x113)]((_0x500657,_0x324ca8,_0x975e4f)=>{const _0x3299f7=_0x16a506;if(_0x975e4f==null)return!0x0;const {x:_0x2004e1=0x0,y:_0x30f6ce=0x0,si:_0x3a7ede}=_0x975e4f;if(_0x2004e1===0x0&&_0x30f6ce===0x0&&_0x3a7ede!=null)return!0x0;let _0x5cd3e7;if(_0x3a7ede&&_0x42dfd2[_0x3299f7(0x107)](_0x3a7ede)){const _0x3b48c8=_0x42dfd2[_0x3299f7(0x12b)](_0x3a7ede);_0x5cd3e7=this[_0x3299f7(0xab)](_0x3b48c8,_0x975e4f);}else _0x5cd3e7=this[_0x3299f7(0xda)](_0x3e3a3d,_0x19163c,_0x500657,_0x324ca8,_0x2b17e4,_0x975e4f);const _0x136fd4=this[_0x3299f7(0x111)][_0x3299f7(0x100)](_0x3e3a3d,_0x19163c,_0x500657,_0x324ca8);_0x136fd4!=null?_0x5cd3e7[_0x3299f7(0xd2)]=_0x136fd4:(this[_0x3299f7(0x111)][_0x3299f7(0xfa)](_0x3e3a3d,_0x19163c,_0x500657,_0x324ca8,_0x5cd3e7),this[_0x3299f7(0x111)][_0x3299f7(0xbc)](_0x5cd3e7)),_0x2d6936[_0x3299f7(0x104)](_0x5cd3e7),this[_0x3299f7(0xc1)][_0x3299f7(0x10e)](_0x5cd3e7['treeId'],_0x5cd3e7);}),_0x42dfd2[_0x16a506(0x158)]();}}}[_0x121d98(0xda)](_0x424f66,_0x494575,_0xfb753c,_0x2ac0b9,_0x548b71,_0xa8f1df){const _0x2ef075=_0x121d98,{f:_0x41ab69,x:_0x3949a0=0x0,y:_0x17170a=0x0}=_0xa8f1df,_0x12569e=new _0x34820d[(_0x2ef075(0xbf))](_0x34820d['generateRandomDependencyTreeId'](this[_0x2ef075(0x111)])),_0x23ed94=_0x548b71[_0x424f66][_0x494575];return _0x12569e['formula']=_0x41ab69,_0x12569e[_0x2ef075(0x15e)]=_0x424f66,_0x12569e[_0x2ef075(0x129)]=_0x494575,_0x12569e[_0x2ef075(0xae)]=_0xfb753c,_0x12569e[_0x2ef075(0x10b)]=_0x2ac0b9,_0x12569e[_0x2ef075(0xa0)]=_0x23ed94[_0x2ef075(0xa0)],_0x12569e['columnCount']=_0x23ed94[_0x2ef075(0xcf)],_0x12569e;}['_getUpdateTreeListAndMakeDependency'](){const _0x40eab5=_0x121d98,_0x286269=[],_0x472b69=new Set(),_0x1501f3=this[_0x40eab5(0x127)]['isForceCalculate'](),_0x128a69=this[_0x40eab5(0x127)][_0x40eab5(0x108)](),_0x2be3cf=this[_0x40eab5(0x111)][_0x40eab5(0x13c)](_0x128a69),_0x51cad4=this['_dependencyRTreeCacheForAddressFunction'][_0x40eab5(0xeb)](_0x128a69);for(const _0x505694 of _0x51cad4)_0x2be3cf['add'](_0x505694);for(const [_0x5a4d89,_0x32d884]of this[_0x40eab5(0xc1)])(_0x1501f3||_0x32d884[_0x40eab5(0xa1)]||_0x32d884[_0x40eab5(0xbe)](this[_0x40eab5(0x127)][_0x40eab5(0xe7)]())||_0x2be3cf[_0x40eab5(0x107)](_0x5a4d89)&&!_0x32d884[_0x40eab5(0xe1)](this[_0x40eab5(0x127)][_0x40eab5(0xba)]()))&&!_0x472b69['has'](_0x5a4d89)&&(_0x286269[_0x40eab5(0x104)](_0x32d884),_0x472b69[_0x40eab5(0x106)](_0x5a4d89));for(const [_0x395834,_0x3eaeae]of this[_0x40eab5(0xc1)])_0x3eaeae[_0x40eab5(0xcc)]||(_0x3eaeae[_0x40eab5(0xff)]['length']=0x0);return _0x286269;}[_0x121d98(0x133)](_0x1a77fe){const _0x3a3ddd=_0x121d98;return this[_0x3a3ddd(0xc1)]['get'](_0x1a77fe);}[_0x121d98(0xdd)](_0x25c77a){const _0x33784c=_0x121d98;return _0x34820d[_0x33784c(0xf2)](_0x25c77a[_0x33784c(0x15e)],_0x25c77a[_0x33784c(0x11c)],this[_0x33784c(0x105)],this[_0x33784c(0x144)],this[_0x33784c(0x127)]);}*[_0x121d98(0x110)](_0x15bd05,_0x2f7191){const _0x32ab5e=_0x121d98,_0x23d42b=_0x15bd05,_0x5e9a58=new Set();for(;_0x23d42b[_0x32ab5e(0xa6)]>0x0;){const _0x5a176b=_0x23d42b[_0x32ab5e(0xd6)]();if(_0x5e9a58['clear'](),_0x5a176b===void 0x0||_0x5a176b[_0x32ab5e(0x126)]())continue;if(_0x5a176b[_0x32ab5e(0x137)]()){yield _0x5a176b,_0x5a176b[_0x32ab5e(0x140)](),_0x2f7191[_0x32ab5e(0x106)](_0x5a176b[_0x32ab5e(0xd2)]);continue;}const _0x2bab1c=this[_0x32ab5e(0x111)][_0x32ab5e(0x13c)](_0x5a176b[_0x32ab5e(0x151)](),_0x2f7191),_0x52b7d1=this['_dependencyRTreeCacheForAddressFunction'][_0x32ab5e(0xeb)](_0x5a176b[_0x32ab5e(0x151)](),_0x2f7191);for(const _0x3964a1 of _0x52b7d1)_0x2bab1c['add'](_0x3964a1);for(const _0x1aa79c of _0x2bab1c){const _0x348bce=this[_0x32ab5e(0xc1)][_0x32ab5e(0x12b)](_0x1aa79c);if(!_0x348bce)throw new Error(_0x32ab5e(0xc3));_0x348bce[_0x32ab5e(0x137)]()||_0x5a176b[_0x32ab5e(0x126)]()||_0x5e9a58[_0x32ab5e(0x106)](_0x348bce);}if(_0x2bab1c['clear'](),_0x5e9a58['size']===0x0)yield _0x5a176b,_0x5a176b[_0x32ab5e(0x140)](),_0x2f7191['add'](_0x5a176b[_0x32ab5e(0xd2)]);else{_0x5a176b[_0x32ab5e(0x13a)](),_0x23d42b[_0x32ab5e(0x104)](_0x5a176b);for(const _0x4baf15 of _0x5e9a58)_0x23d42b[_0x32ab5e(0x104)](_0x4baf15);}}_0x23d42b[_0x32ab5e(0xa6)]=0x0,_0x5e9a58[_0x32ab5e(0x158)]();}[_0x121d98(0xd7)](_0x46b127){const _0x19aed7=_0x121d98,_0x3be02f=[],_0x436760=new Set();for(const _0x18c553 of this[_0x19aed7(0x110)](_0x46b127,_0x436760))_0x3be02f['push'](_0x18c553);return _0x3be02f;}}class _0x383cc5 extends _0x34820d['CalculateFormulaService']{async['_apply'](_0x20367b=!0x1){const _0x1cc37c=_0x121d98;_0x20367b?this['_runtimeService'][_0x1cc37c(0xce)](_0x34820d[_0x1cc37c(0xc7)][_0x1cc37c(0xed)]):this['_runtimeService'][_0x1cc37c(0xce)](_0x34820d[_0x1cc37c(0xc7)]['START_DEPENDENCY']),this[_0x1cc37c(0x101)][_0x1cc37c(0xd3)](this[_0x1cc37c(0xb7)][_0x1cc37c(0xb3)]());const _0x2601ea=await this[_0x1cc37c(0xdc)][_0x1cc37c(0x15f)](),_0x33be92=this[_0x1cc37c(0x116)];_0x20367b?(this[_0x1cc37c(0xb7)][_0x1cc37c(0xce)](_0x34820d[_0x1cc37c(0xc7)][_0x1cc37c(0xd1)]),this[_0x1cc37c(0xb7)]['setTotalArrayFormulasToCalculate'](_0x2601ea[_0x1cc37c(0xa6)])):(this[_0x1cc37c(0xb7)][_0x1cc37c(0xce)](_0x34820d[_0x1cc37c(0xc7)][_0x1cc37c(0xfb)]),this[_0x1cc37c(0xb7)]['setTotalFormulasToCalculate'](_0x2601ea[_0x1cc37c(0xa6)])),this['_executionInProgressListener$'][_0x1cc37c(0xd3)](this['_runtimeService'][_0x1cc37c(0xb3)]());let _0x3faa54=[];const _0x435860=this['_configService'][_0x1cc37c(0x155)](_0x34820d['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x59ee15=(_0x435860==null?void 0x0:_0x435860[_0x1cc37c(0xe0)])||_0x34820d[_0x1cc37c(0x148)];let _0x42e811=0x0;const _0x1d2522=_0x2601ea[_0x1cc37c(0xa6)];for(;_0x2601ea[_0x1cc37c(0xa6)]>0x0;){const _0x3f2363=_0x2601ea[_0x1cc37c(0xd6)](),_0x152479={'node':_0x34820d['generateAstNode'](_0x3f2363[_0x1cc37c(0x15e)],_0x3f2363[_0x1cc37c(0x11c)],this['_lexer'],this[_0x1cc37c(0x144)],this['_currentConfigService']),'refOffsetX':_0x3f2363[_0x1cc37c(0x15d)],'refOffsetY':_0x3f2363[_0x1cc37c(0x150)]},_0x1a66da=_0x3f2363[_0x1cc37c(0x143)];if(_0x42e811%_0x59ee15===0x0&&(await new Promise(_0x33d8b9=>{const _0x2fd627=_0x18419e['requestImmediateMacroTask'](_0x33d8b9);_0x3faa54['push'](_0x2fd627);}),_0x20367b?(this['_runtimeService']['setFormulaExecuteStage'](_0x34820d[_0x1cc37c(0xc7)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x1cc37c(0xb7)]['setCompletedArrayFormulasCount'](_0x42e811+0x1)):(this[_0x1cc37c(0xb7)][_0x1cc37c(0xce)](_0x34820d['FormulaExecuteStageType'][_0x1cc37c(0x14d)]),this[_0x1cc37c(0xb7)][_0x1cc37c(0xa9)](_0x42e811+0x1)),this[_0x1cc37c(0x101)][_0x1cc37c(0xd3)](this[_0x1cc37c(0xb7)][_0x1cc37c(0xb3)]()),this[_0x1cc37c(0xb7)][_0x1cc37c(0x134)]()||_0x152479==null&&_0x1a66da==null)){this[_0x1cc37c(0xb7)][_0x1cc37c(0xce)](_0x34820d[_0x1cc37c(0xc7)]['IDLE']),this['_runtimeService'][_0x1cc37c(0x125)](),this[_0x1cc37c(0xf9)]['next'](this[_0x1cc37c(0xb7)][_0x1cc37c(0xcd)]());return;}this[_0x1cc37c(0xb7)][_0x1cc37c(0x103)](_0x3f2363[_0x1cc37c(0xae)],_0x3f2363[_0x1cc37c(0x10b)],_0x3f2363[_0x1cc37c(0xa0)],_0x3f2363[_0x1cc37c(0xcf)],_0x3f2363[_0x1cc37c(0x129)],_0x3f2363[_0x1cc37c(0x15e)]);let _0x24857a;if(_0x1a66da!=null&&_0x3f2363[_0x1cc37c(0x14c)]!=null){const {runtimeCellData:_0x2e5367,dirtyRanges:_0x24ee5d}=_0x1a66da(this[_0x1cc37c(0x127)][_0x1cc37c(0x143)](),this[_0x1cc37c(0xb7)][_0x1cc37c(0xcd)]());this[_0x1cc37c(0xb7)][_0x1cc37c(0xb8)](_0x3f2363[_0x1cc37c(0x14c)],_0x2e5367),this[_0x1cc37c(0xb7)][_0x1cc37c(0xad)](_0x3f2363[_0x1cc37c(0x14c)],_0x24ee5d);}else _0x152479!=null&&(_0x33be92[_0x1cc37c(0xb0)](_0x152479[_0x1cc37c(0x128)])?_0x24857a=await _0x33be92['executeAsync'](_0x152479):_0x24857a=_0x33be92['execute'](_0x152479),_0x3f2363[_0x1cc37c(0x10a)]!=null?this[_0x1cc37c(0xb7)][_0x1cc37c(0x112)](_0x3f2363[_0x1cc37c(0x10a)],_0x3f2363[_0x1cc37c(0x15d)],_0x3f2363[_0x1cc37c(0x150)],_0x24857a):this[_0x1cc37c(0xb7)][_0x1cc37c(0xde)](_0x24857a));_0x42e811++;}return _0x3faa54[_0x1cc37c(0x13f)](_0x2c488c=>_0x2c488c()),_0x3faa54=[],_0x1d2522>0x0?this[_0x1cc37c(0xb7)][_0x1cc37c(0xaa)]():_0x20367b||this[_0x1cc37c(0xb7)]['markedAsNoFunctionsExecuted'](),this[_0x1cc37c(0xb7)][_0x1cc37c(0xcd)]();}}class _0xb1e44a extends _0x34820d[_0x121d98(0xf3)]{constructor(){const _0x4f9ddf=_0x121d98;super(...arguments),_0x49a8a4(this,_0x4f9ddf(0x14b),new Map()),_0x49a8a4(this,_0x4f9ddf(0x115),new _0x18419e['RTree'](!0x0));}['reset'](){const _0x4d94bc=_0x121d98;this[_0x4d94bc(0x11e)][_0x4d94bc(0x158)](),this[_0x4d94bc(0x131)][_0x4d94bc(0x158)](),this[_0x4d94bc(0x13d)]['clear'](),this[_0x4d94bc(0x115)]['clear'](),this[_0x4d94bc(0x14b)]['clear'](),this[_0x4d94bc(0x159)](),this[_0x4d94bc(0xb9)][_0x4d94bc(0x158)]();}[_0x121d98(0x14a)](_0x67f15c,_0x1816fe,_0x2f4363,_0x2bfaf4){const _0x212e94=_0x121d98;this[_0x212e94(0x11e)][_0x212e94(0x107)](_0x67f15c)||this[_0x212e94(0x11e)][_0x212e94(0x10e)](_0x67f15c,new Map());const _0x48c110=this[_0x212e94(0x11e)][_0x212e94(0x12b)](_0x67f15c);_0x48c110[_0x212e94(0x107)](_0x1816fe)||_0x48c110[_0x212e94(0x10e)](_0x1816fe,new Map());const _0x3be2f4=_0x48c110['get'](_0x1816fe);_0x3be2f4[_0x212e94(0x107)](_0x2f4363)||_0x3be2f4['set'](_0x2f4363,new _0x18419e[(_0x212e94(0x120))]()),_0x3be2f4[_0x212e94(0x12b)](_0x2f4363)[_0x212e94(0x135)](_0x2bfaf4['refOffsetX'],_0x2bfaf4['refOffsetY'],_0x2bfaf4[_0x212e94(0xd2)]);}[_0x121d98(0xc2)](_0x26d5d6,_0x5e8baa,_0x1d464a){const _0x3f5062=_0x121d98,_0xd8c740=this['_otherFormulaData'][_0x3f5062(0x12b)](_0x26d5d6);if(_0xd8c740&&_0xd8c740[_0x3f5062(0x107)](_0x5e8baa)){const _0x28fe61=_0xd8c740['get'](_0x5e8baa);_0x1d464a['forEach'](_0x47c486=>{const _0x4f0b6e=_0x3f5062,_0x4092f2=_0x28fe61['get'](_0x47c486);_0x4092f2!=null&&(_0x4092f2[_0x4f0b6e(0x113)]((_0x14c3d4,_0x290621,_0x5a17fc)=>{const _0x514c5d=_0x4f0b6e;this[_0x514c5d(0xcb)](_0x5a17fc),this[_0x514c5d(0x15a)](_0x5a17fc);}),_0x28fe61['delete'](_0x47c486),this['_otherFormulaDataMainData'][_0x4f0b6e(0xf4)](_0x47c486));}),_0x28fe61[_0x3f5062(0xd9)]===0x0&&_0xd8c740[_0x3f5062(0xf4)](_0x5e8baa),_0xd8c740['size']===0x0&&this[_0x3f5062(0x11e)][_0x3f5062(0xf4)](_0x26d5d6);}}[_0x121d98(0xfc)](_0x20dbf7,_0x29a955){const _0x191107=_0x121d98,_0xf12a6c=this['_otherFormulaData'][_0x191107(0x12b)](_0x20dbf7);if(_0x29a955&&_0xf12a6c&&_0xf12a6c[_0x191107(0x107)](_0x29a955)){const _0x16f87b=_0xf12a6c[_0x191107(0x12b)](_0x29a955);this[_0x191107(0xf1)](_0x20dbf7,_0x29a955);for(const _0x13b0ec of _0x16f87b[_0x191107(0x147)]()){const _0x5b4af5=_0x16f87b['get'](_0x13b0ec);_0x5b4af5!=null&&(_0x5b4af5[_0x191107(0x113)]((_0x376487,_0x4e99b7,_0xc50136)=>{const _0x2ee960=_0x191107;this[_0x2ee960(0x14b)][_0x2ee960(0x12b)](_0xc50136)&&this[_0x2ee960(0x15a)](_0xc50136);}),this[_0x191107(0xb9)]['delete'](_0x13b0ec));}_0x16f87b['clear']();}else{if(_0xf12a6c){for(const _0x5219d7 of _0xf12a6c[_0x191107(0x147)]()){const _0x11efa7=_0xf12a6c[_0x191107(0x12b)](_0x5219d7);this[_0x191107(0xf1)](_0x20dbf7,_0x5219d7);for(const _0x44a356 of _0x11efa7[_0x191107(0x147)]()){const _0xeae98f=_0x11efa7[_0x191107(0x12b)](_0x44a356);_0xeae98f!=null&&(_0xeae98f['forValue']((_0x4d71c4,_0x3ff3e1,_0x2c76f0)=>{const _0x477818=_0x191107;this[_0x477818(0x14b)][_0x477818(0x12b)](_0x2c76f0)&&this[_0x477818(0x15a)](_0x2c76f0);}),this[_0x191107(0xb9)]['delete'](_0x44a356));}}this[_0x191107(0x11e)]['delete'](_0x20dbf7);}}}[_0x121d98(0xa5)](_0x350de6,_0x23cfd7,_0x26363c,_0x4b9e51){const _0x5adba6=_0x121d98;this[_0x5adba6(0x131)]['has'](_0x350de6)||this[_0x5adba6(0x131)][_0x5adba6(0x10e)](_0x350de6,new Map());const _0x3d0e79=this['_featureFormulaData']['get'](_0x350de6);_0x3d0e79[_0x5adba6(0x107)](_0x23cfd7)||_0x3d0e79['set'](_0x23cfd7,new Map()),_0x3d0e79[_0x5adba6(0x12b)](_0x23cfd7)[_0x5adba6(0x10e)](_0x26363c,_0x4b9e51['treeId']);}[_0x121d98(0xc4)](_0x431a52,_0x42e716,_0x3f979d){const _0x2b2fa9=_0x121d98,_0x4f0fcf=this[_0x2b2fa9(0x131)][_0x2b2fa9(0x12b)](_0x431a52);if(_0x4f0fcf&&_0x4f0fcf['has'](_0x42e716)){const _0x386573=_0x4f0fcf[_0x2b2fa9(0x12b)](_0x42e716);_0x3f979d['forEach'](_0x39a4d2=>{const _0x44ff65=_0x2b2fa9,_0x3e058d=_0x386573['get'](_0x39a4d2);_0x3e058d!=null&&(this[_0x44ff65(0xcb)](_0x3e058d),_0x386573[_0x44ff65(0xf4)](_0x39a4d2),this[_0x44ff65(0x15a)](_0x3e058d));});}}[_0x121d98(0xef)](_0x5d8f62,_0x45e888){const _0x4ff2c2=_0x121d98,_0x443b44=this[_0x4ff2c2(0x131)][_0x4ff2c2(0x12b)](_0x5d8f62);if(_0x45e888&&_0x443b44&&_0x443b44[_0x4ff2c2(0x107)](_0x45e888)){const _0x5474f2=_0x443b44[_0x4ff2c2(0x12b)](_0x45e888);this['_removeDependencyRTreeCacheById'](_0x5d8f62,_0x45e888),_0x5474f2['forEach'](_0x34b6ad=>{_0x34b6ad!=null&&this['_removeAllTreeMap'](_0x34b6ad);}),_0x5474f2[_0x4ff2c2(0x158)]();}else _0x443b44&&(_0x443b44[_0x4ff2c2(0x13f)]((_0x49c9c7,_0x267a9c)=>{const _0x41e550=_0x4ff2c2;this['_removeDependencyRTreeCacheById'](_0x5d8f62,_0x267a9c),_0x49c9c7[_0x41e550(0x13f)](_0x2ad992=>{const _0x136d0d=_0x41e550;_0x2ad992!=null&&this[_0x136d0d(0x15a)](_0x2ad992);});}),this[_0x4ff2c2(0x131)][_0x4ff2c2(0xf4)](_0x5d8f62));}[_0x121d98(0xfa)](_0x2d87e6,_0x368bfb,_0x2fe5de,_0x36c7d1,_0x241808){const _0x28097d=_0x121d98;this[_0x28097d(0x13d)][_0x28097d(0x107)](_0x2d87e6)||this[_0x28097d(0x13d)][_0x28097d(0x10e)](_0x2d87e6,new Map());const _0x5b0b15=this[_0x28097d(0x13d)][_0x28097d(0x12b)](_0x2d87e6);_0x5b0b15['has'](_0x368bfb)||_0x5b0b15[_0x28097d(0x10e)](_0x368bfb,new _0x18419e['ObjectMatrix']()),_0x5b0b15['get'](_0x368bfb)['setValue'](_0x2fe5de,_0x36c7d1,_0x241808[_0x28097d(0xd2)]);}['removeFormulaDependency'](_0x2528ef,_0x17dcc4,_0x47f1c5,_0x39d6cc){const _0x13274e=_0x121d98,_0x27dbdb=this[_0x13274e(0x13d)][_0x13274e(0x12b)](_0x2528ef);if(_0x27dbdb&&_0x27dbdb[_0x13274e(0x107)](_0x17dcc4)){const _0x8850a1=_0x27dbdb['get'](_0x17dcc4),_0x4f9125=_0x8850a1['getValue'](_0x47f1c5,_0x39d6cc);if(_0x4f9125==null)return;this[_0x13274e(0xcb)](_0x4f9125),_0x8850a1[_0x13274e(0xd8)](_0x47f1c5,_0x39d6cc),this[_0x13274e(0x15a)](_0x4f9125);}}[_0x121d98(0xc8)](_0xb82995,_0x295f2f){const _0x537f6a=_0x121d98,_0x562874=this[_0x537f6a(0x13d)][_0x537f6a(0x12b)](_0xb82995);if(_0x295f2f&&_0x562874&&_0x562874['has'](_0x295f2f)){const _0x29ffb8=_0x562874['get'](_0x295f2f);this[_0x537f6a(0xf1)](_0xb82995,_0x295f2f),_0x29ffb8[_0x537f6a(0x113)]((_0x1065e8,_0x3352f7,_0x2c3c84)=>{if(_0x2c3c84==null)return!0x0;this['_removeAllTreeMap'](_0x2c3c84);}),_0x29ffb8['reset']();}else _0x562874&&(_0x562874['forEach']((_0x5e414c,_0x188606)=>{const _0x5cea92=_0x537f6a;this[_0x5cea92(0xf1)](_0xb82995,_0x188606),_0x5e414c[_0x5cea92(0x113)]((_0x3dc2b9,_0x57a12b,_0xe998ee)=>{const _0x3ce803=_0x5cea92;if(_0xe998ee==null)return!0x0;this[_0x3ce803(0x15a)](_0xe998ee);});}),this[_0x537f6a(0x13d)]['delete'](_0xb82995));}[_0x121d98(0xcb)](_0x112765){const _0x6f5666=_0x121d98;if(_0x112765==null)return;const _0x1e49b8=this['_allTreeMap'][_0x6f5666(0x12b)](_0x112765);if(_0x1e49b8){const _0x13c24f=[];for(const [_0x430a01,_0x29eb2a]of _0x1e49b8)for(const [_0x3242d8,_0x252dcc]of _0x29eb2a)_0x13c24f[_0x6f5666(0x104)]({'unitId':_0x430a01,'sheetId':_0x3242d8,'range':_0x252dcc,'id':_0x112765});this[_0x6f5666(0x115)][_0x6f5666(0x118)](_0x13c24f);}}[_0x121d98(0xb6)](_0x6f5917,_0x36f887){const _0x2cbf49=_0x121d98,_0x89e607=this[_0x2cbf49(0x15b)][_0x2cbf49(0x12b)](_0x6f5917);if(_0x89e607){const _0x4673b7=_0x89e607[_0x2cbf49(0x12b)](_0x36f887);if(_0x4673b7){for(const _0x2b0e70 of _0x4673b7)this['_removeDependencyRTreeCache'](_0x2b0e70),this[_0x2cbf49(0x15a)](_0x2b0e70);_0x4673b7[_0x2cbf49(0x158)]();}}}[_0x121d98(0xb4)](){const _0x3b1585=_0x121d98;this['_dependencyRTreeCache'][_0x3b1585(0xb4)]();}[_0x121d98(0xc0)](){const _0x14739f=_0x121d98;this[_0x14739f(0x115)][_0x14739f(0xc0)]();}[_0x121d98(0x15a)](_0x362151){const _0x4eaa04=_0x121d98;_0x362151!=null&&this[_0x4eaa04(0x14b)]['delete'](_0x362151);}[_0x121d98(0x145)](_0x2530c5){const _0x5552dc=_0x121d98;var _0x4ee1bc,_0x345c23;const _0x1f8a7c=_0x2530c5[_0x5552dc(0xff)];let _0x3d2c59=this[_0x5552dc(0x14b)][_0x5552dc(0x12b)](_0x2530c5[_0x5552dc(0xd2)]);for(let _0x43b9a3=0x0;_0x43b9a3<_0x1f8a7c[_0x5552dc(0xa6)];_0x43b9a3++){const _0x1a7f85=_0x1f8a7c[_0x43b9a3];let {unitId:_0x39cd6e,sheetId:_0x1dc97e,range:_0x1288bd}=_0x1a7f85;_0x3d2c59||(_0x3d2c59=new Map(),this['_allTreeMap']['set'](_0x2530c5[_0x5552dc(0xd2)],_0x3d2c59)),_0x3d2c59[_0x5552dc(0x107)](_0x39cd6e)||_0x3d2c59[_0x5552dc(0x10e)](_0x39cd6e,new Map());const _0x4101c4=(_0x4ee1bc=_0x3d2c59==null?void 0x0:_0x3d2c59[_0x5552dc(0x12b)](_0x39cd6e))==null?void 0x0:_0x4ee1bc['get'](_0x1dc97e);_0x4101c4&&(_0x1288bd={'startRow':Math[_0x5552dc(0xfe)](_0x1288bd[_0x5552dc(0xe4)],_0x4101c4[_0x5552dc(0xe4)]),'startColumn':Math[_0x5552dc(0xfe)](_0x1288bd[_0x5552dc(0xf0)],_0x4101c4['startColumn']),'endRow':Math['max'](_0x1288bd[_0x5552dc(0x136)],_0x4101c4[_0x5552dc(0x136)]),'endColumn':Math[_0x5552dc(0xca)](_0x1288bd[_0x5552dc(0x153)],_0x4101c4[_0x5552dc(0x153)])}),(_0x345c23=_0x3d2c59[_0x5552dc(0x12b)](_0x39cd6e))==null||_0x345c23[_0x5552dc(0x10e)](_0x1dc97e,_0x1288bd);}}}var _0x45236b=Object['getOwnPropertyDescriptor'],_0x41e04c=(_0xe3a4dd,_0x16a0fd,_0x5bf22a,_0x4a63e9)=>{const _0x356582=_0x121d98;for(var _0x4924e0=_0x4a63e9>0x1?void 0x0:_0x4a63e9?_0x45236b(_0x16a0fd,_0x5bf22a):_0x16a0fd,_0x28ffad=_0xe3a4dd[_0x356582(0xa6)]-0x1,_0x35cab0;_0x28ffad>=0x0;_0x28ffad--)(_0x35cab0=_0xe3a4dd[_0x28ffad])&&(_0x4924e0=_0x35cab0(_0x4924e0)||_0x4924e0);return _0x4924e0;};const _0x452bbd=Number[_0x121d98(0xb5)](0x68678842);_0x1fda75[_0x121d98(0xd0)]=class extends _0x34820d[_0x121d98(0x12c)]{[_0x121d98(0xee)](){const _0xbd1fc7=_0x121d98;var _0x1cf967,_0x1bbd50;this[_0xbd1fc7(0x11a)]()?(_0x1cf967=this[_0xbd1fc7(0xe8)])!=null&&_0x1cf967[_0xbd1fc7(0x149)]||[[_0x34820d[_0xbd1fc7(0xf7)],{'useClass':_0x383cc5}],[_0x34820d['IDependencyManagerService'],{'useClass':_0xb1e44a}],[_0x34820d[_0xbd1fc7(0x138)],{'useClass':_0x227015}]][_0xbd1fc7(0x13f)](_0x464610=>this[_0xbd1fc7(0xea)]['add'](_0x464610)):(_0x1bbd50=this['_config'])!=null&&_0x1bbd50[_0xbd1fc7(0x149)]||[[_0x34820d['ICalculateFormulaService'],{'useClass':_0x34820d[_0xbd1fc7(0x10f)]}],[_0x34820d['IDependencyManagerService'],{'useClass':_0x34820d[_0xbd1fc7(0xe3)]}],[_0x34820d[_0xbd1fc7(0x138)],{'useClass':_0x34820d[_0xbd1fc7(0x157)]}]][_0xbd1fc7(0x13f)](_0x28a172=>this[_0xbd1fc7(0xea)][_0xbd1fc7(0x106)](_0x28a172));}[_0x121d98(0x11a)](){const _0x1b3194=_0x121d98;var _0x274b09;const _0x1dd76f=(_0x274b09=this[_0x1b3194(0x132)][_0x1b3194(0x155)](_0x2994ae[_0x1b3194(0xa7)]))!=null?_0x274b09:{},{ls:_0x45fa42,pbk:_0x581ce0}=_0x1dd76f;if(!_0x45fa42||!_0x581ce0)return!0x1;const _0x428d12=_0x2994ae[_0x1b3194(0x124)](_0x3ef1d4,_0x55f809),_0x460ed6=new Function(_0x1b3194(0xb1)+_0x428d12)()(_0x45fa42,_0x581ce0),_0x4a4928=_0x460ed6[_0x1b3194(0x119)];return _0x460ed6[_0x1b3194(0xf8)]&&_0x2994ae['isFeatureAuthorizedWithinTime'](_0x4a4928,'sf',_0x452bbd)?_0x2994ae[_0x1b3194(0x114)](_0x4a4928,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x1fda75[_0x121d98(0xd0)]=_0x41e04c([_0x18419e[_0x121d98(0x109)](_0x2994ae[_0x121d98(0xc9)])],_0x1fda75[_0x121d98(0xd0)]),Object[_0x121d98(0x147)](_0x34820d)['forEach'](_0x36d0b6=>{const _0x438df7=_0x121d98;_0x36d0b6!=='default'&&!Object['prototype'][_0x438df7(0xfd)][_0x438df7(0x146)](_0x1fda75,_0x36d0b6)&&Object[_0x438df7(0x10d)](_0x1fda75,_0x36d0b6,{'enumerable':!0x0,'get':()=>_0x34820d[_0x36d0b6]});}),Object[_0x121d98(0x10d)](_0x1fda75,Symbol[_0x121d98(0x142)],{'value':_0x121d98(0x130)});}));function _0x49ec(_0x3f4a32,_0x31dddf){const _0x406ce0=_0x406c();return _0x49ec=function(_0x49ec25,_0x59dbea){_0x49ec25=_0x49ec25-0xa0;let _0x50b3ec=_0x406ce0[_0x49ec25];return _0x50b3ec;},_0x49ec(_0x3f4a32,_0x31dddf);}function _0x406c(){const _0x2a68e7=['isVirtual','getAllRuntimeData','setFormulaExecuteStage','columnCount','UniverProFormulaEnginePlugin','START_CALCULATION_ARRAY_FORMULA','treeId','next','getFeatureFormulaDependency','amd','pop','_calculateRunList','realDeleteValue','size','_createFDtree','hasOtherFormulaDataMainData','_formulaDependencyGenerator','_getTreeNode','setRuntimeData','_otherFormulaManagerService','intervalCount','isExcludeRange','8qqnPrf','DependencyManagerService','startRow','getOtherFormulaData','UniverProLicense','getDirtyNameMap','_config','generateRandomDependencyTreeId','_injector','bulkSearch','_getUpdateTreeListAndMakeDependency','START_DEPENDENCY_ARRAY_FORMULA','_initializeWithOverride','clearFeatureFormulaDependency','startColumn','_removeDependencyRTreeCacheById','generateAstNode','DependencyManagerBaseService','delete','type','addOtherFormulaDependencyMainData','ICalculateFormulaService','valid','_executionCompleteListener$','addFormulaDependency','START_CALCULATION','clearOtherFormulaDependency','hasOwnProperty','min','rangeList','getFormulaDependency','_executionInProgressListener$','12EKQnZa','setCurrent','push','_lexer','add','has','getDirtyRanges','DependentOn','formulaId','column','4509792IkyAMD','defineProperty','set','CalculateFormulaService','_traverse','_dependencyManagerService','setRuntimeOtherData','forValue','getSheetFeatureLimit','_dependencyRTreeCache','_interpreter','getOtherFormulaDependency','bulkRemove','message','_initLicenseValid','66915xxjXuj','formula','892156QnsOAT','_otherFormulaData','324xzvGBR','ObjectMatrix','OTHER_FORMULA','getValue','3366062tQjYGq','unshiftString','markedAsStopFunctionsExecuted','isSkip','_currentConfigService','node','subUnitId','_checkIsCycleDependency','get','UniverFormulaEnginePlugin','_isCyclicUtilMap','getClearDependencyTreeCache','2257040LGMyPH','Module','_featureFormulaData','_configService','_getTreeById','isStopExecution','setValue','endRow','isAdded','IFormulaDependencyGenerator','FEATURE_FORMULA','setAdded','dispose','searchDependency','_formulaData','UniverCore','forEach','setSkip','symbol','toStringTag','getDirtyData','_astTreeBuilder','_addAllTreeMap','call','keys','DEFAULT_INTERVAL_COUNT','notExecuteFormula','addOtherFormulaDependency','_allTreeMap','featureId','CURRENTLY_CALCULATING','_registerOtherFormulas','91724IwCrvM','refOffsetY','toRTreeItem','@univerjs-pro/license','endColumn','_registerFormulas','getConfig','isCache','FormulaDependencyGenerator','clear','_restDependencyTreeId','_removeAllTreeMap','_definedNameMap','exports','refOffsetX','unitId','generate','rowCount','isDirty','@univerjs/core','971895aqtKhJ','getUnitData','addFeatureFormulaDependency','length','LS_CONFIG_KEY','UniverProEngineFormula','setCompletedFormulasCount','markedAsSuccessfullyExecuted','_createVirtualFDtree','FormulaDependencyTreeType','setRuntimeFeatureRange','row','resolve','checkAsyncNode','return\x20','UniverEngineFormula','getRuntimeState','openKdTree','parseInt','removeFormulaDependencyByDefinedName','_runtimeService','setRuntimeFeatureCellData','_otherFormulaDataMainData','getExcludedRange','dirtyRanges','addFormulaDependencyByDefinedName','refTree','dependencySheetName','FormulaDependencyTree','closeKdTree','_dependencyTreeCache','removeOtherFormulaDependency','ParentDependencyTree\x20object\x20is\x20null','removeFeatureFormulaDependency','getFormulaData','_generateTreeList','FormulaExecuteStageType','clearFormulaDependency','UniverLicensePlugin','max','_removeDependencyRTreeCache'];_0x406c=function(){return _0x2a68e7;};return _0x406c();}
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.0",
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.0",
61
+ "@univerjs/core": "0.9.0",
62
+ "@univerjs/engine-formula": "0.9.0"
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.0"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",