@univerjs-pro/engine-formula 0.12.1-nightly.202511221011 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0xe256(_0x3c9288,_0x3f919f){const _0x502fdf=_0x502f();return _0xe256=function(_0xe2562e,_0x5deeeb){_0xe2562e=_0xe2562e-0x6a;let _0x1758dc=_0x502fdf[_0xe2562e];return _0x1758dc;},_0xe256(_0x3c9288,_0x3f919f);}const _0x1a21db=_0xe256;(function(_0x2c0fff,_0x503809){const _0xe3c643=_0xe256,_0x2f54e6=_0x2c0fff();while(!![]){try{const _0x5ef519=-parseInt(_0xe3c643(0x6c))/0x1*(parseInt(_0xe3c643(0x6b))/0x2)+parseInt(_0xe3c643(0x71))/0x3+parseInt(_0xe3c643(0x79))/0x4*(-parseInt(_0xe3c643(0x7b))/0x5)+-parseInt(_0xe3c643(0x75))/0x6+parseInt(_0xe3c643(0x72))/0x7*(-parseInt(_0xe3c643(0x6a))/0x8)+parseInt(_0xe3c643(0x70))/0x9*(-parseInt(_0xe3c643(0x73))/0xa)+parseInt(_0xe3c643(0x6d))/0xb*(parseInt(_0xe3c643(0x78))/0xc);if(_0x5ef519===_0x503809)break;else _0x2f54e6['push'](_0x2f54e6['shift']());}catch(_0x505fef){_0x2f54e6['push'](_0x2f54e6['shift']());}}}(_0x502f,0x875ae));Object[_0x1a21db(0x6e)](exports,Symbol[_0x1a21db(0x74)],{'value':_0x1a21db(0x76)});function _0x502f(){const _0x225d9d=['call','forEach','default','8754488eGednw','2dBFIyq','1059937RSdtof','13021063VaCHqH','defineProperty','prototype','99utwaGI','68955dZFcRM','7VtAjWB','507370DdGbZI','toStringTag','6559776DCWFel','Module','keys','48kuvQiQ','397852wAiweI','hasOwnProperty','20BBrnuQ'];_0x502f=function(){return _0x225d9d;};return _0x502f();}const t=require('@univerjs/engine-formula/facade');Object[_0x1a21db(0x77)](t)[_0x1a21db(0x7d)](_0x3dec03=>{const _0xe351a6=_0x1a21db;_0x3dec03!==_0xe351a6(0x7e)&&!Object[_0xe351a6(0x6f)][_0xe351a6(0x7a)][_0xe351a6(0x7c)](exports,_0x3dec03)&&Object[_0xe351a6(0x6e)](exports,_0x3dec03,{'enumerable':!0x0,'get':()=>t[_0x3dec03]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x209261=_0x39c0;(function(_0x409ef9,_0x22688f){const _0x127454=_0x39c0,_0x32d045=_0x409ef9();while(!![]){try{const _0x230dab=parseInt(_0x127454(0x159))/0x1*(-parseInt(_0x127454(0x1ae))/0x2)+-parseInt(_0x127454(0x1d3))/0x3+parseInt(_0x127454(0x212))/0x4*(parseInt(_0x127454(0x1c5))/0x5)+parseInt(_0x127454(0x1cc))/0x6*(parseInt(_0x127454(0x1dc))/0x7)+-parseInt(_0x127454(0x165))/0x8*(parseInt(_0x127454(0x200))/0x9)+-parseInt(_0x127454(0x195))/0xa+parseInt(_0x127454(0x204))/0xb;if(_0x230dab===_0x22688f)break;else _0x32d045['push'](_0x32d045['shift']());}catch(_0x3a788c){_0x32d045['push'](_0x32d045['shift']());}}}(_0x4b2d,0xc6ec7));var I=Object[_0x209261(0x1fb)],X=(_0x148f84,_0x2f7c57,_0x798e9d)=>_0x2f7c57 in _0x148f84?I(_0x148f84,_0x2f7c57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x798e9d}):_0x148f84[_0x2f7c57]=_0x798e9d,P=(_0x15b6ee,_0x4bc5d1,_0x4e969a)=>X(_0x15b6ee,typeof _0x4bc5d1!=_0x209261(0x1e8)?_0x4bc5d1+'':_0x4bc5d1,_0x4e969a);Object[_0x209261(0x1fb)](exports,Symbol[_0x209261(0x1ef)],{'value':_0x209261(0x181)});const U=require('@univerjs-pro/license'),v=require('@univerjs/core'),i=require('@univerjs/engine-formula'),J={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},V=_0x209261(0x17f);class B extends i[_0x209261(0x1eb)]{constructor(){super(...arguments),P(this,'_dependencyTreeCache',new Map());}[_0x209261(0x17e)](){const _0x2f999e=_0x209261;super[_0x2f999e(0x17e)](),this['_dependencyTreeCache'][_0x2f999e(0x1ec)]();}async[_0x209261(0x197)](){const _0xc57900=_0x209261;this[_0xc57900(0x16d)]();const _0x243141=this[_0xc57900(0x1da)][_0xc57900(0x21e)](),_0x1f570f=this[_0xc57900(0x160)][_0xc57900(0x16e)](),_0xc88171=this[_0xc57900(0x1da)]['getClearDependencyTreeCache']();_0xc88171!=null&&Object[_0xc57900(0x176)](_0xc88171)[_0xc57900(0x1e9)](_0x443139=>{const _0x16ab72=_0xc57900;_0x443139!=null&&Object[_0x16ab72(0x176)](_0xc88171[_0x443139])[_0x16ab72(0x1e9)](_0x4bbefc=>{const _0x19cb49=_0x16ab72;_0x4bbefc!=null&&(this[_0x19cb49(0x19f)]['clearOtherFormulaDependency'](_0x443139,_0x4bbefc),this[_0x19cb49(0x19f)][_0x19cb49(0x1db)](_0x443139,_0x4bbefc),this[_0x19cb49(0x19f)]['clearFormulaDependency'](_0x443139,_0x4bbefc));});});const _0x519dc7=this['_currentConfigService']['getUnitData']();await this[_0xc57900(0x221)](_0x243141,_0x1f570f,_0x519dc7),this['_dependencyManagerService']['openKdTree']();const _0x21d546=this[_0xc57900(0x1f8)](),_0xe36af1=this['_calculateRunList'](_0x21d546);return this[_0xc57900(0x1bb)](_0xe36af1)&&this[_0xc57900(0x182)]['enableCycleDependency'](),this[_0xc57900(0x1e2)][_0xc57900(0x1ec)](),this[_0xc57900(0x1f7)][_0xc57900(0x1ec)](),this[_0xc57900(0x19f)][_0xc57900(0x18c)](),this['_runtimeService'][_0xc57900(0x1b5)](),Promise['resolve'](_0xe36af1);}[_0x209261(0x211)](_0x42c5fe,_0xce7efb){const _0x1b015f=_0x209261,_0x158fe7=[_0x42c5fe];for(;_0x158fe7['length']>0x0;){const _0x8d84fe=_0x158fe7[_0x158fe7[_0x1b015f(0x1b8)]-0x1];if((_0xce7efb[_0x1b015f(0x20b)](_0x8d84fe)||0x0)===0x0){_0xce7efb[_0x1b015f(0x1a8)](_0x8d84fe,0x1);const _0x43b75b=this[_0x1b015f(0x1e2)][_0x1b015f(0x20b)](_0x8d84fe);if(_0x43b75b==null){_0xce7efb['set'](_0x8d84fe,0x2),_0x158fe7[_0x1b015f(0x1df)]();continue;}const _0x2e7c7a=this[_0x1b015f(0x19f)][_0x1b015f(0x229)](_0x43b75b['toRTreeItem']());for(const _0x5c4eb2 of _0x2e7c7a){const _0x4cca0d=_0xce7efb[_0x1b015f(0x20b)](_0x5c4eb2)||0x0;if(_0x4cca0d===0x1)return!0x0;_0x4cca0d===0x0&&_0x158fe7[_0x1b015f(0x18d)](_0x5c4eb2);}}else _0xce7efb[_0x1b015f(0x1a8)](_0x8d84fe,0x2),_0x158fe7[_0x1b015f(0x1df)]();}return!0x1;}[_0x209261(0x1bb)](_0x316c69){const _0x108c43=_0x209261,_0x350bc2=new Map();for(const _0x2c63f7 of _0x316c69)if(!_0x350bc2[_0x108c43(0x1a9)](_0x2c63f7['treeId'])&&this[_0x108c43(0x211)](_0x2c63f7[_0x108c43(0x1b2)],_0x350bc2))return!0x0;return _0x350bc2['clear'](),!0x1;}[_0x209261(0x227)](_0x45bd84,_0x316676,_0x5208f4){const _0x171246=_0x209261,{unitId:_0x5efe92,subUnitId:_0x2f11b7,dependencyRanges:_0x4e2ca5,getDirtyData:_0x4c1077}=_0x5208f4,_0x1a8913=_0x316676||i[_0x171246(0x1c9)](this[_0x171246(0x19f)]),_0x34f318=new i[(_0x171246(0x199))](_0x1a8913);_0x34f318['unitId']=_0x5efe92,_0x34f318[_0x171246(0x19a)]=_0x2f11b7,_0x34f318[_0x171246(0x16f)]=_0x4e2ca5,_0x34f318[_0x171246(0x1a5)]=_0x4c1077;const _0x2d0008=_0x4c1077(this[_0x171246(0x1da)]['getDirtyData'](),this[_0x171246(0x182)]['getAllRuntimeData']()),_0x25ea91=this[_0x171246(0x1b0)](_0x2d0008['dirtyRanges']);return _0x34f318[_0x171246(0x1de)]=_0x25ea91,_0x34f318[_0x171246(0x217)]=_0x45bd84,_0x34f318[_0x171246(0x187)]=i[_0x171246(0x1d7)]['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x171246(0x1aa)](_0x5efe92,_0x2f11b7,_0x45bd84,_0x34f318),this[_0x171246(0x1e2)][_0x171246(0x1a8)](_0x34f318[_0x171246(0x1b2)],_0x34f318),this[_0x171246(0x19f)][_0x171246(0x190)](_0x5208f4['unitId'],_0x5208f4['subUnitId'],_0x45bd84)&&(_0x34f318[_0x171246(0x1a6)]=!0x0),_0x34f318;}['_registerOtherFormulas'](_0x21e70b,_0x5f2ae5,_0x1356f4){const _0x218115=_0x209261;var _0x442645;for(const _0x2752f6 of _0x5f2ae5){const _0x378b87=_0x21e70b[_0x2752f6];if(_0x378b87==null)continue;const _0x2764bb=Object[_0x218115(0x176)](_0x378b87);for(const _0x3234c5 of _0x2764bb){const _0x2f1db0=_0x378b87[_0x3234c5];if(_0x2f1db0==null)continue;const _0x380acd=Object[_0x218115(0x176)](_0x2f1db0);for(const _0x31ebec of _0x380acd){const _0x344e39=this['_dependencyManagerService'][_0x218115(0x178)](_0x31ebec),_0x43611=_0x2f1db0[_0x31ebec],{f:_0x279183,ranges:_0x4f394b}=_0x43611;let _0x170f37=!0x1;_0x344e39&&(_0x170f37=!0x0);const {firstRow:_0x2ae3ed,firstColumn:_0x4a148e}=this[_0x218115(0x1a0)](_0x4f394b),_0x44c21d=this[_0x218115(0x19f)][_0x218115(0x1a2)](_0x2752f6,_0x3234c5,_0x31ebec),_0x1b8506=(_0x442645=_0x44c21d==null?void 0x0:_0x44c21d[_0x218115(0x228)](0x0,0x0))!=null?_0x442645:i['generateRandomDependencyTreeId'](this[_0x218115(0x19f)]),_0x16964c=new i[(_0x218115(0x199))](_0x1b8506);for(let _0x55fd35=0x0;_0x55fd35<_0x4f394b['length'];_0x55fd35++){const _0xa2e8b3=_0x4f394b[_0x55fd35],{startRow:_0x2585e4,startColumn:_0x4f215a,endRow:_0x2afc02,endColumn:_0x24b72e}=_0xa2e8b3;for(let _0x1da770=_0x2585e4;_0x1da770<=_0x2afc02;_0x1da770++)for(let _0x54480e=_0x4f215a;_0x54480e<=_0x24b72e;_0x54480e++){const _0x29e486=_0x54480e-_0x4a148e,_0xb2950a=_0x1da770-_0x2ae3ed;if(_0x29e486===0x0&&_0xb2950a===0x0){_0x16964c[_0x218115(0x201)]=_0x279183,_0x16964c['unitId']=_0x2752f6,_0x16964c[_0x218115(0x19a)]=_0x3234c5,_0x16964c[_0x218115(0x207)]=_0x31ebec,_0x16964c['type']=i[_0x218115(0x1d7)][_0x218115(0x16b)],_0x16964c[_0x218115(0x1a6)]=_0x170f37,_0x1356f4[_0x218115(0x18d)](_0x16964c),this[_0x218115(0x1e2)]['set'](_0x16964c[_0x218115(0x1b2)],_0x16964c),this[_0x218115(0x19f)][_0x218115(0x194)](_0x2752f6,_0x3234c5,_0x31ebec,_0x16964c),this[_0x218115(0x19f)][_0x218115(0x1c8)](_0x16964c);continue;}const _0x947ed5=new i['FormulaDependencyTreeVirtual']();_0x947ed5[_0x218115(0x1b2)]=(_0x44c21d==null?void 0x0:_0x44c21d['getValue'](_0x29e486,_0xb2950a))||i['generateRandomDependencyTreeId'](this[_0x218115(0x19f)]),_0x947ed5[_0x218115(0x223)]=_0x16964c,_0x947ed5[_0x218115(0x1be)]=_0x29e486,_0x947ed5['refOffsetY']=_0xb2950a,_0x947ed5[_0x218115(0x1a6)]=_0x170f37,this[_0x218115(0x19f)]['addOtherFormulaDependency'](_0x2752f6,_0x3234c5,_0x31ebec,_0x947ed5),this[_0x218115(0x19f)][_0x218115(0x1c8)](_0x947ed5),_0x1356f4['push'](_0x947ed5),this[_0x218115(0x1e2)]['set'](_0x947ed5[_0x218115(0x1b2)],_0x947ed5);}}this[_0x218115(0x19f)][_0x218115(0x18e)](_0x31ebec);}}}}[_0x209261(0x184)](_0xae7b74,_0x44e76a,_0x3d643c,_0x4ef67b){const _0x5c6e53=_0x209261;for(const _0x1d589e of _0xae7b74){const _0x2c3460=_0x44e76a[_0x1d589e];if(_0x2c3460==null)continue;const _0x3dad10=Object[_0x5c6e53(0x176)](_0x2c3460);for(const _0x31e482 of _0x3dad10){const _0x17f186=new v[(_0x5c6e53(0x175))](_0x2c3460[_0x31e482]||{}),_0x561c24=new Map();_0x17f186[_0x5c6e53(0x18f)]((_0x54c3dd,_0x14a240,_0x3e891d)=>{const _0x46f8be=_0x5c6e53;if(_0x3e891d==null)return!0x0;const {x:_0x10245f=0x0,y:_0x54aca2=0x0,si:_0x43ee7f}=_0x3e891d;if(!(_0x10245f===0x0&&_0x54aca2===0x0&&_0x43ee7f!=null))return!0x0;const _0x4bd2f6=this['_createFDtree'](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240,_0x3d643c,_0x3e891d),_0x2d31e0=this[_0x46f8be(0x19f)][_0x46f8be(0x20e)](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240);_0x2d31e0!=null?_0x4bd2f6[_0x46f8be(0x1b2)]=_0x2d31e0:(this[_0x46f8be(0x19f)][_0x46f8be(0x162)](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240,_0x4bd2f6),this['_dependencyManagerService'][_0x46f8be(0x1c8)](_0x4bd2f6)),_0x561c24[_0x46f8be(0x1a8)](_0x43ee7f,_0x4bd2f6),_0x4ef67b[_0x46f8be(0x18d)](_0x4bd2f6),this[_0x46f8be(0x1e2)][_0x46f8be(0x1a8)](_0x4bd2f6[_0x46f8be(0x1b2)],_0x4bd2f6);}),_0x17f186[_0x5c6e53(0x18f)]((_0x18673c,_0x4d68c8,_0x21c471)=>{const _0x16d52e=_0x5c6e53;if(_0x21c471==null)return!0x0;const {x:_0x40324c=0x0,y:_0x57907e=0x0,si:_0x1d5697}=_0x21c471;if(_0x40324c===0x0&&_0x57907e===0x0&&_0x1d5697!=null)return!0x0;let _0x4be3d9;if(_0x1d5697&&_0x561c24[_0x16d52e(0x1a9)](_0x1d5697)){const _0x5a0524=_0x561c24[_0x16d52e(0x20b)](_0x1d5697);_0x4be3d9=this['_createVirtualFDtree'](_0x5a0524,_0x21c471);}else _0x4be3d9=this[_0x16d52e(0x18b)](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8,_0x3d643c,_0x21c471);const _0x2a89e2=this[_0x16d52e(0x19f)]['getFormulaDependency'](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8);_0x2a89e2!=null?_0x4be3d9[_0x16d52e(0x1b2)]=_0x2a89e2:(this[_0x16d52e(0x19f)]['addFormulaDependency'](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8,_0x4be3d9),this[_0x16d52e(0x19f)][_0x16d52e(0x1c8)](_0x4be3d9)),_0x4ef67b['push'](_0x4be3d9),this[_0x16d52e(0x1e2)][_0x16d52e(0x1a8)](_0x4be3d9[_0x16d52e(0x1b2)],_0x4be3d9);}),_0x561c24[_0x5c6e53(0x1ec)]();}}}[_0x209261(0x18b)](_0x327c04,_0x268760,_0x186ec3,_0x14846b,_0x12c740,_0xc65069){const _0x558d41=_0x209261,{f:_0x5910b6,x:_0x3d51de=0x0,y:_0x32f72f=0x0}=_0xc65069,_0x146835=new i[(_0x558d41(0x199))](i[_0x558d41(0x1c9)](this[_0x558d41(0x19f)])),_0x415add=_0x12c740[_0x327c04][_0x268760];return _0x146835['formula']=_0x5910b6,_0x146835[_0x558d41(0x1dd)]=_0x327c04,_0x146835['subUnitId']=_0x268760,_0x146835[_0x558d41(0x163)]=_0x186ec3,_0x146835[_0x558d41(0x17c)]=_0x14846b,_0x146835[_0x558d41(0x196)]=_0x415add[_0x558d41(0x196)],_0x146835['columnCount']=_0x415add['columnCount'],_0x146835;}[_0x209261(0x1f8)](){const _0x5bf2f5=_0x209261,_0x108940=[],_0x33894c=new Set(),_0x354ab2=this['_currentConfigService'][_0x5bf2f5(0x1f3)](),_0x4fcf47=this[_0x5bf2f5(0x1da)]['getDirtyRanges'](),_0x4d8dcf=this[_0x5bf2f5(0x19f)][_0x5bf2f5(0x229)](_0x4fcf47),_0x5a14f1=this[_0x5bf2f5(0x1f7)][_0x5bf2f5(0x19c)](_0x4fcf47);for(const _0x3f7a9d of _0x5a14f1)_0x4d8dcf[_0x5bf2f5(0x15e)](_0x3f7a9d);for(const [_0x56d22b,_0x28650c]of this[_0x5bf2f5(0x1e2)])(_0x354ab2||_0x28650c[_0x5bf2f5(0x169)]||_0x28650c['dependencySheetName'](this[_0x5bf2f5(0x1da)][_0x5bf2f5(0x17a)]())||_0x4d8dcf[_0x5bf2f5(0x1a9)](_0x56d22b)&&!_0x28650c[_0x5bf2f5(0x1ba)](this['_currentConfigService'][_0x5bf2f5(0x215)]()))&&!_0x33894c[_0x5bf2f5(0x1a9)](_0x56d22b)&&(_0x108940['push'](_0x28650c),_0x33894c[_0x5bf2f5(0x15e)](_0x56d22b));for(const [_0x15f232,_0xd2690d]of this[_0x5bf2f5(0x1e2)])_0xd2690d[_0x5bf2f5(0x15f)]||(_0xd2690d[_0x5bf2f5(0x16f)][_0x5bf2f5(0x1b8)]=0x0);return _0x108940;}['_getTreeById'](_0x32f72e){const _0x597eeb=_0x209261;return this[_0x597eeb(0x1e2)][_0x597eeb(0x20b)](_0x32f72e);}['_getTreeNode'](_0x28eee7){const _0x174e09=_0x209261;return i[_0x174e09(0x1d4)](_0x28eee7[_0x174e09(0x1dd)],_0x28eee7['formula'],this[_0x174e09(0x171)],this[_0x174e09(0x203)],this[_0x174e09(0x1da)]);}*[_0x209261(0x1e3)](_0x94b0b6,_0x11a1f5){const _0x246db8=_0x209261,_0x295c93=_0x94b0b6,_0x3043f1=new Set();for(;_0x295c93[_0x246db8(0x1b8)]>0x0;){const _0x220289=_0x295c93[_0x246db8(0x1df)]();if(_0x3043f1[_0x246db8(0x1ec)](),_0x220289===void 0x0||_0x220289['isSkip']())continue;if(_0x220289[_0x246db8(0x179)]()){yield _0x220289,_0x220289[_0x246db8(0x18a)](),_0x11a1f5[_0x246db8(0x15e)](_0x220289[_0x246db8(0x1b2)]);continue;}const _0x3f3387=this['_dependencyManagerService']['searchDependency'](_0x220289['toRTreeItem'](),_0x11a1f5),_0x227a25=this[_0x246db8(0x1f7)]['bulkSearch'](_0x220289[_0x246db8(0x1e0)](),_0x11a1f5);for(const _0x2d5f4e of _0x227a25)_0x3f3387[_0x246db8(0x15e)](_0x2d5f4e);for(const _0x124061 of _0x3f3387){const _0x30d033=this[_0x246db8(0x1e2)][_0x246db8(0x20b)](_0x124061);if(!_0x30d033)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x30d033[_0x246db8(0x179)]()||_0x220289[_0x246db8(0x1f2)]()||_0x3043f1[_0x246db8(0x15e)](_0x30d033);}if(_0x3f3387[_0x246db8(0x1ec)](),_0x3043f1[_0x246db8(0x157)]===0x0)yield _0x220289,_0x220289[_0x246db8(0x18a)](),_0x11a1f5['add'](_0x220289['treeId']);else{_0x220289[_0x246db8(0x15c)](),_0x295c93[_0x246db8(0x18d)](_0x220289);for(const _0x3f2007 of _0x3043f1)_0x295c93[_0x246db8(0x18d)](_0x3f2007);}}_0x295c93[_0x246db8(0x1b8)]=0x0,_0x3043f1[_0x246db8(0x1ec)]();}[_0x209261(0x1d0)](_0x4cbe46){const _0x2204dc=_0x209261,_0x621730=[],_0x1c3f94=new Set();for(const _0x4e5413 of this[_0x2204dc(0x1e3)](_0x4cbe46,_0x1c3f94))_0x621730['push'](_0x4e5413);return _0x621730;}}class K extends i['LexerTreeBuilder']{constructor(){const _0x26bbfb=_0x209261;super(...arguments),P(this,_0x26bbfb(0x177),!0x1),P(this,'_lambdaFunctionParameterSet',new Set());}['getNewFormulaWithPrefix'](_0xaee2a9,_0x44bea3){const _0x3f348e=_0x209261,_0x44e27c=this['treeBuilder'](_0xaee2a9,!0x1);if(!_0x44e27c||_0x44e27c===i['ErrorType']['VALUE']||Array[_0x3f348e(0x1e1)](_0x44e27c))return null;const _0x38ac93=[];return this[_0x3f348e(0x177)]=!0x1,this[_0x3f348e(0x1a3)](_0x44e27c,_0x38ac93,_0x44bea3),this[_0x3f348e(0x177)]?'='+_0x38ac93[_0x3f348e(0x173)](''):null;}[_0x209261(0x1a3)](_0x27dd3f,_0x22ab5f,_0x372ba8){const _0x183fb6=_0x209261,_0x57cbb1=_0x27dd3f['getToken'](),_0x1df21c=_0x57cbb1[_0x183fb6(0x198)](),_0x5c008f=_0x1df21c[_0x183fb6(0x208)](),_0x4aab28=this['_clearFunctionString'](_0x5c008f),_0x500535=_0x372ba8(_0x4aab28);let _0x3b53fd=0x0;_0x57cbb1===i[_0x183fb6(0x202)]?_0x3b53fd=0x3:_0x57cbb1===i[_0x183fb6(0x210)]?_0x3b53fd=0x4:_0x57cbb1===i['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x3b53fd=0x5:i[_0x183fb6(0x20a)][_0x183fb6(0x1a9)](_0x4aab28)?(_0x22ab5f['push']('_xlfn.'+_0x1df21c),this[_0x183fb6(0x177)]=!0x0):_0x5c008f===i['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x22ab5f['push'](_0x183fb6(0x1a1)+_0x1df21c),this[_0x183fb6(0x177)]=!0x0,_0x3b53fd=0x2):_0x5c008f===i['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1a1)+_0x1df21c),this[_0x183fb6(0x177)]=!0x0,_0x3b53fd=0x1):_0x5c008f===i['matchToken'][_0x183fb6(0x225)]?_0x3b53fd=0x8:i[_0x183fb6(0x1f9)][_0x183fb6(0x1a9)](_0x5c008f)?_0x3b53fd=0x7:_0x5c008f===i['prefixToken'][_0x183fb6(0x1ee)]?(this['_checkAddBracketForMinus'](_0x27dd3f)&&(_0x3b53fd=0x9),_0x22ab5f['push'](_0x57cbb1)):(_0x22ab5f[_0x183fb6(0x18d)](_0x57cbb1),_0x3b53fd=0xa),_0x500535?(_0x3b53fd!==0x2&&_0x3b53fd!==0x1&&(_0x3b53fd=0x6),_0x22ab5f[_0x183fb6(0x18d)]('(')):_0x3b53fd===0x9&&_0x22ab5f[_0x183fb6(0x18d)]('(');const _0x1d37f8=_0x27dd3f['getChildren'](),_0xe208af=_0x1d37f8[_0x183fb6(0x1b8)];if(_0x3b53fd===0x2){const _0x277c04=_0x1d37f8[0x0];let _0x2e1a0d=0x0;_0x277c04 instanceof i[_0x183fb6(0x15a)]&&_0x277c04[_0x183fb6(0x220)]()===i[_0x183fb6(0x156)]&&(_0x2e1a0d=0x1);for(let _0x387c94=_0x2e1a0d;_0x387c94<_0xe208af-0x1;_0x387c94++){const _0x236f1d=_0x1d37f8[_0x387c94];if(_0x236f1d instanceof i['LexerNode']){const _0x2f6c6f=_0x236f1d[_0x183fb6(0x172)]()[0x0];typeof _0x2f6c6f==_0x183fb6(0x191)&&(this[_0x183fb6(0x1f5)][_0x183fb6(0x1a9)](_0x2f6c6f)&&console[_0x183fb6(0x1ea)](_0x183fb6(0x21d)+_0x2f6c6f+'\x22\x20is\x20duplicated.'),this[_0x183fb6(0x1f5)][_0x183fb6(0x15e)](_0x2f6c6f),_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1ac)+_0x2f6c6f),this[_0x183fb6(0x177)]=!0x0);}_0x22ab5f[_0x183fb6(0x18d)](',');}this[_0x183fb6(0x1e7)](_0x1d37f8[_0xe208af-0x1],_0x22ab5f,_0x372ba8),_0x2e1a0d===0x1&&(_0x22ab5f[_0x183fb6(0x18d)](')'),_0x22ab5f[_0x183fb6(0x18d)]('('),this[_0x183fb6(0x1a3)](_0x277c04,_0x22ab5f,_0x372ba8)),_0x22ab5f[_0x183fb6(0x18d)](')');return;}else{if(_0x3b53fd===0x1){for(let _0x35f226=0x0;_0x35f226<_0xe208af-0x1;_0x35f226++){const _0x401f35=_0x1d37f8[_0x35f226];if(_0x401f35 instanceof i[_0x183fb6(0x15a)]&&_0x35f226%0x2===0x0){const _0x51ed9f=_0x401f35[_0x183fb6(0x172)]()[0x0];if(typeof _0x51ed9f==_0x183fb6(0x191)){this[_0x183fb6(0x1f5)][_0x183fb6(0x1a9)](_0x51ed9f)&&console['error'](_0x183fb6(0x19d)+_0x51ed9f+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x183fb6(0x15e)](_0x51ed9f),_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1ac)+_0x51ed9f),this[_0x183fb6(0x177)]=!0x0,_0x22ab5f[_0x183fb6(0x18d)](',');continue;}}if(this[_0x183fb6(0x1e7)](_0x401f35,_0x22ab5f,_0x372ba8),_0x401f35 instanceof i[_0x183fb6(0x15a)]){const _0x401620=_0x1d37f8[_0x35f226+0x1];_0x401620&&_0x401620 instanceof i[_0x183fb6(0x15a)]&&_0x22ab5f[_0x183fb6(0x18d)](',');}}this[_0x183fb6(0x1e7)](_0x1d37f8[_0xe208af-0x1],_0x22ab5f,_0x372ba8),_0x22ab5f[_0x183fb6(0x18d)](')');return;}else{if(_0x3b53fd===0x8){const _0x56b339=_0x1d37f8[0x0],_0x4d79f4=_0x1d37f8[0x1];this['_handleNewFunctionChild'](_0x56b339,_0x22ab5f,_0x372ba8),_0x22ab5f['push'](_0x57cbb1),this[_0x183fb6(0x1e7)](_0x4d79f4,_0x22ab5f,_0x372ba8);return;}}}for(let _0x570782=0x0;_0x570782<_0xe208af;_0x570782++){const _0x5f0470=_0x1d37f8[_0x570782];if(this[_0x183fb6(0x1e7)](_0x5f0470,_0x22ab5f,_0x372ba8),_0x5f0470 instanceof i[_0x183fb6(0x15a)]){const _0x140432=_0x1d37f8[_0x570782+0x1];_0x140432&&_0x140432 instanceof i['LexerNode']&&_0x22ab5f[_0x183fb6(0x18d)](',');}}_0x3b53fd===0x7&&_0x22ab5f['push'](_0x57cbb1),(_0x500535||_0x3b53fd===0x9)&&_0x22ab5f['push'](')');}[_0x209261(0x1e7)](_0x5b75f0,_0x3e3507,_0x322792){const _0xb561c2=_0x209261;_0x5b75f0 instanceof i[_0xb561c2(0x15a)]?this['_generateNewFunctionString'](_0x5b75f0,_0x3e3507,_0x322792):this[_0xb561c2(0x1f5)][_0xb561c2(0x1a9)](_0x5b75f0)?(_0x3e3507['push'](_0xb561c2(0x1ac)+_0x5b75f0),this[_0xb561c2(0x177)]=!0x0):_0x3e3507[_0xb561c2(0x18d)](_0x5b75f0);}[_0x209261(0x183)](_0xbc96af){const _0x3b5992=_0x209261;let _0x2ffe93=_0xbc96af['trim']();if(!_0x2ffe93)return _0x2ffe93;const _0x50c777=_0x2ffe93[0x0];if((_0x50c777===i[_0x3b5992(0x1f1)]['AT']||_0x50c777===i[_0x3b5992(0x1f1)][_0x3b5992(0x1ee)]||_0x50c777===i['prefixToken'][_0x3b5992(0x1c0)])&&(_0x2ffe93=_0x2ffe93[_0x3b5992(0x1c6)](0x1)),!_0x2ffe93)return _0x2ffe93;const _0x29e467=_0x2ffe93[_0x2ffe93['length']-0x1];return i[_0x3b5992(0x1f9)][_0x3b5992(0x1a9)](_0x29e467)&&(_0x2ffe93=_0x2ffe93[_0x3b5992(0x1c6)](0x0,-0x1)),_0x2ffe93;}[_0x209261(0x216)](_0x20dbdf){const _0x2409d9=_0x209261,_0x2db6c2=_0x20dbdf[_0x2409d9(0x172)]()[0x0];if(!_0x2db6c2||!(_0x2db6c2 instanceof i[_0x2409d9(0x15a)])||_0x20dbdf['getChildren']()['length']>0x1)return!0x1;const _0x5b3848=_0x2db6c2[_0x2409d9(0x172)](),_0x5f4418=_0x5b3848[_0x2409d9(0x1b8)];if(_0x5f4418===0x1)return!0x1;for(let _0x59a7b0=0x0;_0x59a7b0<_0x5f4418;_0x59a7b0++){const _0x4e38bd=_0x5b3848[_0x59a7b0];if(!(_0x4e38bd instanceof i[_0x2409d9(0x15a)])&&i['OPERATOR_TOKEN_SET'][_0x2409d9(0x1a9)](_0x4e38bd))return!0x0;}return!0x1;}}function _0x39c0(_0x3f87b9,_0x490718){const _0x4b2d81=_0x4b2d();return _0x39c0=function(_0x39c029,_0x5ebffb){_0x39c029=_0x39c029-0x156;let _0x9208ba=_0x4b2d81[_0x39c029];return _0x9208ba;},_0x39c0(_0x3f87b9,_0x490718);}class W extends i[_0x209261(0x1f4)]{async['_apply'](_0x1d2bac=!0x1){const _0x4c9c2d=_0x209261;_0x1d2bac?this['_runtimeService'][_0x4c9c2d(0x1cb)](i['FormulaExecuteStageType'][_0x4c9c2d(0x1f0)]):this['_runtimeService'][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1b7)]),this[_0x4c9c2d(0x1b4)][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1c2)]());const _0x5b1a74=await this[_0x4c9c2d(0x1bf)]['generate'](),_0x2d388f=this[_0x4c9c2d(0x1ad)];_0x1d2bac?(this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1b6)](_0x5b1a74['length'])):(this[_0x4c9c2d(0x182)]['setFormulaExecuteStage'](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1fe)]),this['_runtimeService'][_0x4c9c2d(0x189)](_0x5b1a74[_0x4c9c2d(0x1b8)])),this[_0x4c9c2d(0x1b4)][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1c2)]());let _0x31cc0e=[];const _0x33ad44=this['_configService'][_0x4c9c2d(0x19b)](i['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x246fc6=(_0x33ad44==null?void 0x0:_0x33ad44[_0x4c9c2d(0x15d)])||i['DEFAULT_INTERVAL_COUNT'];let _0x300dd3=0x0;const _0x14b08a=_0x5b1a74[_0x4c9c2d(0x1b8)];for(;_0x5b1a74['length']>0x0;){const _0x2ac17f=_0x5b1a74[_0x4c9c2d(0x1df)](),_0x341601=i['generateAstNode'](_0x2ac17f[_0x4c9c2d(0x1dd)],_0x2ac17f[_0x4c9c2d(0x201)],this[_0x4c9c2d(0x171)],this[_0x4c9c2d(0x203)],this[_0x4c9c2d(0x1da)]),_0x8345b9={'node':_0x341601,'refOffsetX':_0x2ac17f[_0x4c9c2d(0x1be)],'refOffsetY':_0x2ac17f[_0x4c9c2d(0x1b3)]},_0x4adb50=_0x2ac17f[_0x4c9c2d(0x1a5)];if(_0x300dd3%_0x246fc6===0x0&&(await new Promise(_0x43b944=>{const _0x456c05=_0x4c9c2d,_0x354a3b=v['requestImmediateMacroTask'](_0x43b944);_0x31cc0e[_0x456c05(0x18d)](_0x354a3b);}),_0x1d2bac?(this['_runtimeService'][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x224)]),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x186)](_0x300dd3+0x1)):(this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i['FormulaExecuteStageType'][_0x4c9c2d(0x1d1)]),this[_0x4c9c2d(0x182)]['setCompletedFormulasCount'](_0x300dd3+0x1)),this['_executionInProgressListener$'][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)]['getRuntimeState']()),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x19e)]()||_0x8345b9==null&&_0x4adb50==null)){this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1ff)]),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x21c)](),this[_0x4c9c2d(0x1bc)][_0x4c9c2d(0x174)](this['_runtimeService']['getAllRuntimeData']());return;}this['_runtimeService'][_0x4c9c2d(0x213)](_0x2ac17f[_0x4c9c2d(0x163)],_0x2ac17f['column'],_0x2ac17f[_0x4c9c2d(0x196)],_0x2ac17f['columnCount'],_0x2ac17f[_0x4c9c2d(0x19a)],_0x2ac17f[_0x4c9c2d(0x1dd)]);let _0x5ecbe4;if(_0x4adb50!=null&&_0x2ac17f[_0x4c9c2d(0x217)]!=null){const {runtimeCellData:_0x31b1ca,dirtyRanges:_0x5a7963}=_0x4adb50(this[_0x4c9c2d(0x1da)]['getDirtyData'](),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1af)]());this[_0x4c9c2d(0x182)]['setRuntimeFeatureCellData'](_0x2ac17f['featureId'],_0x31b1ca),this['_runtimeService'][_0x4c9c2d(0x1e6)](_0x2ac17f[_0x4c9c2d(0x217)],_0x5a7963);}else _0x8345b9!=null&&(_0x2d388f[_0x4c9c2d(0x161)](_0x8345b9['node'])?_0x5ecbe4=await _0x2d388f['executeAsync'](_0x8345b9):_0x5ecbe4=_0x2d388f[_0x4c9c2d(0x17b)](_0x8345b9),_0x2ac17f[_0x4c9c2d(0x207)]!=null?this[_0x4c9c2d(0x182)][_0x4c9c2d(0x214)](_0x2ac17f[_0x4c9c2d(0x207)],_0x2ac17f['refOffsetX'],_0x2ac17f[_0x4c9c2d(0x1b3)],_0x5ecbe4):this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1ab)](_0x5ecbe4));_0x341601[_0x4c9c2d(0x1cf)](),_0x300dd3++;}return _0x31cc0e[_0x4c9c2d(0x1e9)](_0x385f04=>_0x385f04()),_0x31cc0e=[],_0x14b08a>0x0?this[_0x4c9c2d(0x182)]['markedAsSuccessfullyExecuted']():_0x1d2bac||this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1f6)](),this['_runtimeService'][_0x4c9c2d(0x1af)]();}}class G extends i[_0x209261(0x20f)]{constructor(){const _0x4c6924=_0x209261;super(...arguments),P(this,_0x4c6924(0x1c7),new Map()),P(this,_0x4c6924(0x1c1),new v[(_0x4c6924(0x1e4))](!0x0));}['reset'](){const _0x3c5d95=_0x209261;this[_0x3c5d95(0x1a4)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x1c4)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x218)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x1c1)][_0x3c5d95(0x1ec)](),this['_allTreeMap'][_0x3c5d95(0x1ec)](),this['_restDependencyTreeId'](),this['_otherFormulaDataMainData'][_0x3c5d95(0x1ec)]();}[_0x209261(0x194)](_0x3d0e22,_0x1c70a1,_0x5136f1,_0xb5788a){const _0x619631=_0x209261;this[_0x619631(0x1a4)][_0x619631(0x1a9)](_0x3d0e22)||this['_otherFormulaData'][_0x619631(0x1a8)](_0x3d0e22,new Map());const _0xd91119=this[_0x619631(0x1a4)][_0x619631(0x20b)](_0x3d0e22);_0xd91119['has'](_0x1c70a1)||_0xd91119[_0x619631(0x1a8)](_0x1c70a1,new Map());const _0x3d5b2b=_0xd91119[_0x619631(0x20b)](_0x1c70a1);_0x3d5b2b[_0x619631(0x1a9)](_0x5136f1)||_0x3d5b2b[_0x619631(0x1a8)](_0x5136f1,new v['ObjectMatrix']()),_0x3d5b2b[_0x619631(0x20b)](_0x5136f1)[_0x619631(0x17d)](_0xb5788a[_0x619631(0x1be)],_0xb5788a[_0x619631(0x1b3)],_0xb5788a[_0x619631(0x1b2)]);}[_0x209261(0x1c3)](_0xa472d3,_0x59f52c,_0x5932a8){const _0x4a6daa=_0x209261,_0x34d5dc=this[_0x4a6daa(0x1a4)][_0x4a6daa(0x20b)](_0xa472d3);if(_0x34d5dc&&_0x34d5dc['has'](_0x59f52c)){const _0x2198f3=_0x34d5dc[_0x4a6daa(0x20b)](_0x59f52c);_0x5932a8[_0x4a6daa(0x1e9)](_0x321970=>{const _0x551c90=_0x4a6daa,_0x5995a7=_0x2198f3[_0x551c90(0x20b)](_0x321970);_0x5995a7!=null&&(_0x5995a7[_0x551c90(0x18f)]((_0x439e95,_0x3b2159,_0x39314a)=>{const _0xe2627b=_0x551c90;this[_0xe2627b(0x1b9)](_0x39314a),this[_0xe2627b(0x1ed)](_0x39314a);}),_0x2198f3[_0x551c90(0x21f)](_0x321970),this['_otherFormulaDataMainData'][_0x551c90(0x21f)](_0x321970));}),_0x2198f3[_0x4a6daa(0x157)]===0x0&&_0x34d5dc[_0x4a6daa(0x21f)](_0x59f52c),_0x34d5dc[_0x4a6daa(0x157)]===0x0&&this[_0x4a6daa(0x1a4)][_0x4a6daa(0x21f)](_0xa472d3);}}['clearOtherFormulaDependency'](_0x13db93,_0x103f59){const _0x1646f0=_0x209261,_0x2a7ea6=this['_otherFormulaData'][_0x1646f0(0x20b)](_0x13db93);if(_0x103f59&&_0x2a7ea6&&_0x2a7ea6[_0x1646f0(0x1a9)](_0x103f59)){const _0x391d3c=_0x2a7ea6[_0x1646f0(0x20b)](_0x103f59);this[_0x1646f0(0x167)](_0x13db93,_0x103f59);for(const _0x255785 of _0x391d3c[_0x1646f0(0x176)]()){const _0x52221a=_0x391d3c[_0x1646f0(0x20b)](_0x255785);_0x52221a!=null&&(_0x52221a[_0x1646f0(0x18f)]((_0x56033,_0xdf25ff,_0x264696)=>{const _0x79ad4=_0x1646f0;this[_0x79ad4(0x1c7)]['get'](_0x264696)&&this['_removeAllTreeMap'](_0x264696);}),this[_0x1646f0(0x16c)]['delete'](_0x255785));}_0x391d3c[_0x1646f0(0x1ec)]();}else{if(_0x2a7ea6){for(const _0x36d9b1 of _0x2a7ea6['keys']()){const _0x3fcdbd=_0x2a7ea6[_0x1646f0(0x20b)](_0x36d9b1);this[_0x1646f0(0x167)](_0x13db93,_0x36d9b1);for(const _0x34beac of _0x3fcdbd['keys']()){const _0x478298=_0x3fcdbd[_0x1646f0(0x20b)](_0x34beac);_0x478298!=null&&(_0x478298['forValue']((_0x3bea7b,_0x3b371d,_0x540675)=>{const _0x3e5619=_0x1646f0;this[_0x3e5619(0x1c7)][_0x3e5619(0x20b)](_0x540675)&&this['_removeAllTreeMap'](_0x540675);}),this[_0x1646f0(0x16c)][_0x1646f0(0x21f)](_0x34beac));}}this[_0x1646f0(0x1a4)][_0x1646f0(0x21f)](_0x13db93);}}}[_0x209261(0x1aa)](_0xdca0de,_0x39b0c2,_0x5eb61a,_0x3c92a1){const _0xd067d2=_0x209261;this[_0xd067d2(0x1c4)][_0xd067d2(0x1a9)](_0xdca0de)||this[_0xd067d2(0x1c4)][_0xd067d2(0x1a8)](_0xdca0de,new Map());const _0x271675=this['_featureFormulaData']['get'](_0xdca0de);_0x271675[_0xd067d2(0x1a9)](_0x39b0c2)||_0x271675[_0xd067d2(0x1a8)](_0x39b0c2,new Map()),_0x271675[_0xd067d2(0x20b)](_0x39b0c2)[_0xd067d2(0x1a8)](_0x5eb61a,_0x3c92a1[_0xd067d2(0x1b2)]);}['removeFeatureFormulaDependency'](_0x38a661,_0x2dea5b,_0x153db9){const _0xc80751=_0x209261,_0x151306=this['_featureFormulaData']['get'](_0x38a661);if(_0x151306&&_0x151306[_0xc80751(0x1a9)](_0x2dea5b)){const _0x1ea4e9=_0x151306['get'](_0x2dea5b);_0x153db9[_0xc80751(0x1e9)](_0x1d9317=>{const _0x54695b=_0xc80751,_0x2e205c=_0x1ea4e9[_0x54695b(0x20b)](_0x1d9317);_0x2e205c!=null&&(this['_removeDependencyRTreeCache'](_0x2e205c),_0x1ea4e9['delete'](_0x1d9317),this['_removeAllTreeMap'](_0x2e205c));});}}['clearFeatureFormulaDependency'](_0x4d04d1,_0x272562){const _0x31f94f=_0x209261,_0x3c263a=this['_featureFormulaData'][_0x31f94f(0x20b)](_0x4d04d1);if(_0x272562&&_0x3c263a&&_0x3c263a[_0x31f94f(0x1a9)](_0x272562)){const _0x4587b6=_0x3c263a[_0x31f94f(0x20b)](_0x272562);this[_0x31f94f(0x167)](_0x4d04d1,_0x272562),_0x4587b6[_0x31f94f(0x1e9)](_0x2bf687=>{_0x2bf687!=null&&this['_removeAllTreeMap'](_0x2bf687);}),_0x4587b6[_0x31f94f(0x1ec)]();}else _0x3c263a&&(_0x3c263a['forEach']((_0x31b267,_0x313b59)=>{const _0x2824c3=_0x31f94f;this[_0x2824c3(0x167)](_0x4d04d1,_0x313b59),_0x31b267[_0x2824c3(0x1e9)](_0x1647a9=>{const _0x2ebe87=_0x2824c3;_0x1647a9!=null&&this[_0x2ebe87(0x1ed)](_0x1647a9);});}),this[_0x31f94f(0x1c4)]['delete'](_0x4d04d1));}['addFormulaDependency'](_0x1fc9ea,_0x52556e,_0x20616c,_0x353e73,_0x3e84d6){const _0x4d5765=_0x209261;this[_0x4d5765(0x218)][_0x4d5765(0x1a9)](_0x1fc9ea)||this[_0x4d5765(0x218)][_0x4d5765(0x1a8)](_0x1fc9ea,new Map());const _0x4b7973=this[_0x4d5765(0x218)]['get'](_0x1fc9ea);_0x4b7973[_0x4d5765(0x1a9)](_0x52556e)||_0x4b7973[_0x4d5765(0x1a8)](_0x52556e,new v[(_0x4d5765(0x175))]()),_0x4b7973[_0x4d5765(0x20b)](_0x52556e)['setValue'](_0x20616c,_0x353e73,_0x3e84d6[_0x4d5765(0x1b2)]);}[_0x209261(0x192)](_0x206acb,_0x5e5498,_0x1ab50c,_0x1df465){const _0x5e805b=_0x209261,_0x480532=this[_0x5e805b(0x218)]['get'](_0x206acb);if(_0x480532&&_0x480532[_0x5e805b(0x1a9)](_0x5e5498)){const _0x3f2e44=_0x480532['get'](_0x5e5498),_0x5068c0=_0x3f2e44['getValue'](_0x1ab50c,_0x1df465);if(_0x5068c0==null)return;this[_0x5e805b(0x1b9)](_0x5068c0),_0x3f2e44['realDeleteValue'](_0x1ab50c,_0x1df465),this[_0x5e805b(0x1ed)](_0x5068c0);}}[_0x209261(0x193)](_0x3a2b70,_0x4dab3e){const _0x1f4c5f=_0x209261,_0x4b5b85=this[_0x1f4c5f(0x218)][_0x1f4c5f(0x20b)](_0x3a2b70);if(_0x4dab3e&&_0x4b5b85&&_0x4b5b85[_0x1f4c5f(0x1a9)](_0x4dab3e)){const _0x22db41=_0x4b5b85[_0x1f4c5f(0x20b)](_0x4dab3e);this[_0x1f4c5f(0x167)](_0x3a2b70,_0x4dab3e),_0x22db41[_0x1f4c5f(0x18f)]((_0x2a368e,_0x1f0d7e,_0x5129bc)=>{if(_0x5129bc==null)return!0x0;this['_removeAllTreeMap'](_0x5129bc);}),_0x22db41[_0x1f4c5f(0x1d2)]();}else _0x4b5b85&&(_0x4b5b85[_0x1f4c5f(0x1e9)]((_0x1c56a5,_0x3e8445)=>{const _0x314a1f=_0x1f4c5f;this['_removeDependencyRTreeCacheById'](_0x3a2b70,_0x3e8445),_0x1c56a5[_0x314a1f(0x18f)]((_0x250c39,_0x3a1f9f,_0x5a8587)=>{const _0x3097b8=_0x314a1f;if(_0x5a8587==null)return!0x0;this[_0x3097b8(0x1ed)](_0x5a8587);});}),this['_formulaData'][_0x1f4c5f(0x21f)](_0x3a2b70));}['_removeDependencyRTreeCache'](_0x31c874){const _0x315953=_0x209261;if(_0x31c874==null)return;const _0x14cf91=this[_0x315953(0x1c7)]['get'](_0x31c874);if(_0x14cf91){const _0xea689=[];for(const [_0x11993e,_0x1c2d24]of _0x14cf91)for(const [_0x1f5894,_0x33c184]of _0x1c2d24)_0xea689[_0x315953(0x18d)]({'unitId':_0x11993e,'sheetId':_0x1f5894,'range':_0x33c184,'id':_0x31c874});this['_dependencyRTreeCache'][_0x315953(0x206)](_0xea689);}}[_0x209261(0x168)](_0x255634,_0x217ce8){const _0x1c2219=_0x209261,_0x249b7f=this['_definedNameMap'][_0x1c2219(0x20b)](_0x255634);if(_0x249b7f){const _0x5f18e0=_0x249b7f[_0x1c2219(0x20b)](_0x217ce8);if(_0x5f18e0){for(const _0x19d083 of _0x5f18e0)this[_0x1c2219(0x1b9)](_0x19d083),this[_0x1c2219(0x1ed)](_0x19d083);_0x5f18e0[_0x1c2219(0x1ec)]();}}}[_0x209261(0x226)](){const _0x485c6a=_0x209261;this[_0x485c6a(0x1c1)][_0x485c6a(0x226)]();}[_0x209261(0x18c)](){const _0x59e059=_0x209261;this['_dependencyRTreeCache'][_0x59e059(0x18c)]();}[_0x209261(0x1ed)](_0x5970c0){const _0x526e58=_0x209261;_0x5970c0!=null&&this['_allTreeMap'][_0x526e58(0x21f)](_0x5970c0);}[_0x209261(0x20d)](_0x2eb55f){const _0x4ac79e=_0x209261;var _0x54701a,_0x30aa42;const _0x3d7471=_0x2eb55f[_0x4ac79e(0x16f)];let _0x220fe2=this[_0x4ac79e(0x1c7)][_0x4ac79e(0x20b)](_0x2eb55f['treeId']);for(let _0xbac7f8=0x0;_0xbac7f8<_0x3d7471[_0x4ac79e(0x1b8)];_0xbac7f8++){const _0x2e6798=_0x3d7471[_0xbac7f8];let {unitId:_0x21ca77,sheetId:_0x454dbc,range:_0x2ce574}=_0x2e6798;_0x220fe2||(_0x220fe2=new Map(),this[_0x4ac79e(0x1c7)][_0x4ac79e(0x1a8)](_0x2eb55f[_0x4ac79e(0x1b2)],_0x220fe2)),_0x220fe2[_0x4ac79e(0x1a9)](_0x21ca77)||_0x220fe2[_0x4ac79e(0x1a8)](_0x21ca77,new Map());const _0x4fa0f8=(_0x54701a=_0x220fe2==null?void 0x0:_0x220fe2[_0x4ac79e(0x20b)](_0x21ca77))==null?void 0x0:_0x54701a['get'](_0x454dbc);_0x4fa0f8&&(_0x2ce574={'startRow':Math[_0x4ac79e(0x1d5)](_0x2ce574['startRow'],_0x4fa0f8['startRow']),'startColumn':Math[_0x4ac79e(0x1d5)](_0x2ce574['startColumn'],_0x4fa0f8[_0x4ac79e(0x20c)]),'endRow':Math[_0x4ac79e(0x22a)](_0x2ce574[_0x4ac79e(0x164)],_0x4fa0f8[_0x4ac79e(0x164)]),'endColumn':Math[_0x4ac79e(0x22a)](_0x2ce574[_0x4ac79e(0x170)],_0x4fa0f8[_0x4ac79e(0x170)])}),(_0x30aa42=_0x220fe2[_0x4ac79e(0x20b)](_0x21ca77))==null||_0x30aa42[_0x4ac79e(0x1a8)](_0x454dbc,_0x2ce574);}}}var Y=Object[_0x209261(0x16a)],j=(_0x272fef,_0x2906a3,_0x19ac12,_0x2addb0)=>{const _0xc6c5fe=_0x209261;for(var _0x7a123=_0x2addb0>0x1?void 0x0:_0x2addb0?Y(_0x2906a3,_0x19ac12):_0x2906a3,_0x11aaea=_0x272fef[_0xc6c5fe(0x1b8)]-0x1,_0x3b230d;_0x11aaea>=0x0;_0x11aaea--)(_0x3b230d=_0x272fef[_0x11aaea])&&(_0x7a123=_0x3b230d(_0x7a123)||_0x7a123);return _0x7a123;};const $=Number[_0x209261(0x1d8)](0x69218da5);function _0x4b2d(){const _0x37b8c0=['DependentOn','setFormulaExecuteStage','136842mKkhTe','isFeatureAuthorizedWithinTime','valid','resetCalculationState','_calculateRunList','CURRENTLY_CALCULATING','reset','85350ztIhaq','generateAstNode','min','notExecuteFormula','FormulaDependencyTreeType','parseInt','DependencyManagerService','_currentConfigService','clearFeatureFormulaDependency','329BHJIEk','unitId','featureDirtyRanges','pop','toRTreeItem','isArray','_dependencyTreeCache','_traverse','RTree','_injector','setRuntimeFeatureRange','_handleNewFunctionChild','symbol','forEach','error','FormulaDependencyGenerator','clear','_removeAllTreeMap','MINUS','toStringTag','START_DEPENDENCY_ARRAY_FORMULA','prefixToken','isSkip','isForceCalculate','CalculateFormulaService','_lambdaFunctionParameterSet','markedAsNoFunctionsExecuted','_dependencyRTreeCacheForAddressFunction','_getUpdateTreeListAndMakeDependency','SUFFIX_TOKEN_SET','_initializeWithOverride','defineProperty','UniverProFormulaEnginePlugin','IDependencyManagerService','START_CALCULATION','IDLE','45IGjOZR','formula','DEFAULT_TOKEN_TYPE_ROOT','_astTreeBuilder','14361655EzJnvE','ICalculateFormulaService','bulkRemove','formulaId','toUpperCase','FormulaExecuteStageType','NEW_EXCEL_FUNCTIONS','get','startColumn','_addAllTreeMap','getFormulaDependency','DependencyManagerBaseService','DEFAULT_TOKEN_TYPE_PARAMETER','_isCyclicUtilMap','6320348CfkkUK','setCurrent','setRuntimeOtherData','getExcludedRange','_checkAddBracketForMinus','featureId','_formulaData','_configService','LS_CONFIG_KEY','message','markedAsStopFunctionsExecuted','Lambda\x20parameter\x20name\x20\x22','getFormulaData','delete','getToken','_generateTreeList','call','refTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','COLON','openKdTree','_getFeatureFormulaTree','getValue','searchDependency','max','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','size','_config','3vpsHOx','LexerNode','UniverFormulaEnginePlugin','setAdded','intervalCount','add','isVirtual','_otherFormulaManagerService','checkAsyncNode','addFormulaDependency','row','endRow','2338528RDzQqC','prototype','_removeDependencyRTreeCacheById','removeFormulaDependencyByDefinedName','isDirty','getOwnPropertyDescriptor','OTHER_FORMULA','_otherFormulaDataMainData','_updateRangeFlatten','getOtherFormulaData','rangeList','endColumn','_lexer','getChildren','join','next','ObjectMatrix','keys','_hasNewExcelFunction','hasOtherFormulaDataMainData','isAdded','getDirtyNameMap','execute','column','setValue','dispose','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','LexerTreeBuilder','Module','_runtimeService','_clearFunctionString','_registerFormulas','_initLicenseValid','setCompletedArrayFormulasCount','type','UniverLicensePlugin','setTotalFormulasToCalculate','setSkip','_createFDtree','closeKdTree','push','addOtherFormulaDependencyMainData','forValue','getFeatureFormulaDependency','string','removeFormulaDependency','clearFormulaDependency','addOtherFormulaDependency','10289860YXChzq','rowCount','generate','trim','FormulaDependencyTree','subUnitId','getConfig','bulkSearch','Let\x20variable\x20name\x20\x22','isStopExecution','_dependencyManagerService','_getFirstCellOfRange','_xlfn.','getOtherFormulaDependency','_generateNewFunctionString','_otherFormulaData','getDirtyData','isCache','IFormulaDependencyGenerator','set','has','addFeatureFormulaDependency','setRuntimeData','_xlpm.','_interpreter','415876SMmmTn','getAllRuntimeData','_convertDirtyRangesToUnitRange','getSheetFeatureLimit','treeId','refOffsetY','_executionInProgressListener$','clearArrayObjectCache','setTotalArrayFormulasToCalculate','START_DEPENDENCY','length','_removeDependencyRTreeCache','isExcludeRange','_checkIsCycleDependency','_executionCompleteListener$','hasOwnProperty','refOffsetX','_formulaDependencyGenerator','PLUS','_dependencyRTreeCache','getRuntimeState','removeOtherFormulaDependency','_featureFormulaData','5ASnaCl','slice','_allTreeMap','addFormulaDependencyByDefinedName','generateRandomDependencyTreeId'];_0x4b2d=function(){return _0x37b8c0;};return _0x4b2d();}exports[_0x209261(0x1fc)]=class extends i[_0x209261(0x15b)]{[_0x209261(0x1fa)](){const _0x1653ff=_0x209261;var _0x1c10d4,_0x113b27;this[_0x1653ff(0x185)]()?(this[_0x1653ff(0x1e5)][_0x1653ff(0x15e)]([i[_0x1653ff(0x180)],{'useClass':K}]),(_0x1c10d4=this[_0x1653ff(0x158)])!=null&&_0x1c10d4[_0x1653ff(0x1d6)]||[[i[_0x1653ff(0x205)],{'useClass':W}],[i[_0x1653ff(0x1fd)],{'useClass':G}],[i[_0x1653ff(0x1a7)],{'useClass':B}]][_0x1653ff(0x1e9)](_0x3df318=>this['_injector'][_0x1653ff(0x15e)](_0x3df318))):(this[_0x1653ff(0x1e5)]['add']([i['LexerTreeBuilder'],{'useClass':i[_0x1653ff(0x180)]}]),(_0x113b27=this['_config'])!=null&&_0x113b27[_0x1653ff(0x1d6)]||[[i[_0x1653ff(0x205)],{'useClass':i[_0x1653ff(0x1f4)]}],[i[_0x1653ff(0x1fd)],{'useClass':i[_0x1653ff(0x1d9)]}],[i[_0x1653ff(0x1a7)],{'useClass':i['FormulaDependencyGenerator']}]]['forEach'](_0x109c3b=>this[_0x1653ff(0x1e5)][_0x1653ff(0x15e)](_0x109c3b)));}[_0x209261(0x185)](){const _0x46a72f=_0x209261;var _0x2318a9;const _0x536b15=(_0x2318a9=this[_0x46a72f(0x219)]['getConfig'](U[_0x46a72f(0x21a)]))!=null?_0x2318a9:{},{ls:_0x59e140,pbk:_0x5384bb}=_0x536b15;if(!_0x59e140||!_0x5384bb)return!0x1;const _0x387a49=U['unshiftString'](V,J),_0x2b4ec2=new Function('return\x20'+_0x387a49)()(_0x59e140,_0x5384bb),_0x5a3942=_0x2b4ec2[_0x46a72f(0x21b)];return _0x2b4ec2[_0x46a72f(0x1ce)]&&U[_0x46a72f(0x1cd)](_0x5a3942,'sf',$)?U[_0x46a72f(0x1b1)](_0x5a3942,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x209261(0x1fc)]=j([v[_0x209261(0x1ca)](U[_0x209261(0x188)])],exports[_0x209261(0x1fc)]),Object[_0x209261(0x176)](i)[_0x209261(0x1e9)](_0x33c5d4=>{const _0x2110a4=_0x209261;_0x33c5d4!=='default'&&!Object[_0x2110a4(0x166)][_0x2110a4(0x1bd)][_0x2110a4(0x222)](exports,_0x33c5d4)&&Object[_0x2110a4(0x1fb)](exports,_0x33c5d4,{'enumerable':!0x0,'get':()=>i[_0x33c5d4]});});
|
|
1
|
+
'use strict';const _0x4dc510=_0xc88b;(function(_0x5c477f,_0x15cc7d){const _0xe5cb79=_0xc88b,_0x2ee539=_0x5c477f();while(!![]){try{const _0x58f23b=-parseInt(_0xe5cb79(0x12e))/0x1*(-parseInt(_0xe5cb79(0x7b))/0x2)+-parseInt(_0xe5cb79(0xe5))/0x3+-parseInt(_0xe5cb79(0xb0))/0x4*(-parseInt(_0xe5cb79(0x129))/0x5)+parseInt(_0xe5cb79(0x97))/0x6+-parseInt(_0xe5cb79(0x8f))/0x7*(-parseInt(_0xe5cb79(0xdc))/0x8)+parseInt(_0xe5cb79(0x8d))/0x9+parseInt(_0xe5cb79(0xaf))/0xa*(-parseInt(_0xe5cb79(0x13d))/0xb);if(_0x58f23b===_0x15cc7d)break;else _0x2ee539['push'](_0x2ee539['shift']());}catch(_0x565ac5){_0x2ee539['push'](_0x2ee539['shift']());}}}(_0x2755,0x1f0d7));var w=Object['defineProperty'],B=(_0x287c39,_0x4947cd,_0x2b4bc7)=>_0x4947cd in _0x287c39?w(_0x287c39,_0x4947cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b4bc7}):_0x287c39[_0x4947cd]=_0x2b4bc7,U=(_0x1c47e9,_0x3244e5,_0x30bdbb)=>B(_0x1c47e9,typeof _0x3244e5!=_0x4dc510(0x125)?_0x3244e5+'':_0x3244e5,_0x30bdbb);function _0xc88b(_0x5acbb8,_0x33fc47){const _0x275504=_0x2755();return _0xc88b=function(_0xc88b04,_0x46427b){_0xc88b04=_0xc88b04-0x73;let _0x1eb839=_0x275504[_0xc88b04];return _0x1eb839;},_0xc88b(_0x5acbb8,_0x33fc47);}Object[_0x4dc510(0xe6)](exports,Symbol[_0x4dc510(0xed)],{'value':'Module'});const v=require('@univerjs-pro/license'),R=require('@univerjs/core'),o=require('@univerjs/engine-formula'),I={0x0:'h',0x1:'x',0x2:'m',0x3:'u',0x4:'D',0x5:'Q',0x6:'P',0x7:'W',0x8:'E',0x9:'b','s':'0','S':'1','x':'2','E':'3','L':'4','j':'5','a':'6','f':'7','J':'8','Q':'9','q':'a','M':'c','B':'d','y':'e','R':'f','O':'g','V':'i','c':'j','T':'k','l':'l','U':'n','X':'o','g':'p','b':'q','o':'r','G':'s','F':'t','C':'v','v':'w','t':'y','H':'z','e':'A','D':'B','Y':'C','p':'F','A':'G','d':'H','u':'I','K':'J','I':'K','N':'L','w':'M','P':'N','n':'O','r':'R','z':'S','W':'T','k':'U','h':'V','Z':'X','m':'Y','i':'Z'},P=_0x4dc510(0x10a);class k extends o['FormulaDependencyGenerator']{constructor(){const _0x134cdf=_0x4dc510;super(...arguments),U(this,_0x134cdf(0xf9),new Map());}[_0x4dc510(0x11a)](){super['dispose'](),this['_dependencyTreeCache']['clear']();}async[_0x4dc510(0x9c)](){const _0x282d23=_0x4dc510;this['_updateRangeFlatten']();const _0x3a08a0=this['_currentConfigService'][_0x282d23(0x147)](),_0x1d5ed1=this[_0x282d23(0xd7)][_0x282d23(0x12f)](),_0x29afb0=this[_0x282d23(0x146)][_0x282d23(0x8b)]();_0x29afb0!=null&&Object[_0x282d23(0xa4)](_0x29afb0)[_0x282d23(0xcf)](_0x191028=>{const _0x11807a=_0x282d23;_0x191028!=null&&Object[_0x11807a(0xa4)](_0x29afb0[_0x191028])[_0x11807a(0xcf)](_0x1cd9ae=>{const _0x13994f=_0x11807a;_0x1cd9ae!=null&&(this[_0x13994f(0xb8)]['clearOtherFormulaDependency'](_0x191028,_0x1cd9ae),this[_0x13994f(0xb8)][_0x13994f(0xfb)](_0x191028,_0x1cd9ae),this[_0x13994f(0xb8)][_0x13994f(0x93)](_0x191028,_0x1cd9ae));});});const _0x12e253=this[_0x282d23(0x146)][_0x282d23(0x8a)]();await this[_0x282d23(0x12c)](_0x3a08a0,_0x1d5ed1,_0x12e253),this[_0x282d23(0xb8)][_0x282d23(0x8e)]();const _0x23abc9=this[_0x282d23(0x131)](),_0x330056=this[_0x282d23(0x78)](_0x23abc9);return this['_checkIsCycleDependency'](_0x330056)&&this['_runtimeService'][_0x282d23(0x13c)](),this[_0x282d23(0xf9)]['clear'](),this[_0x282d23(0xb7)][_0x282d23(0x139)](),this[_0x282d23(0xb8)]['closeKdTree'](),this[_0x282d23(0x89)]['clearArrayObjectCache'](),Promise[_0x282d23(0xbc)](_0x330056);}[_0x4dc510(0x120)](_0xbef1e9,_0x5a60e7){const _0x190a07=_0x4dc510,_0x4c0764=[_0xbef1e9];for(;_0x4c0764[_0x190a07(0xf1)]>0x0;){const _0x58f563=_0x4c0764[_0x4c0764['length']-0x1];if((_0x5a60e7['get'](_0x58f563)||0x0)===0x0){_0x5a60e7[_0x190a07(0xc1)](_0x58f563,0x1);const _0x4e27ef=this['_dependencyTreeCache'][_0x190a07(0xa6)](_0x58f563);if(_0x4e27ef==null){_0x5a60e7['set'](_0x58f563,0x2),_0x4c0764[_0x190a07(0xec)]();continue;}const _0x249984=this[_0x190a07(0xb8)][_0x190a07(0xad)](_0x4e27ef[_0x190a07(0x126)]());for(const _0x2dae79 of _0x249984){const _0x16600f=_0x5a60e7['get'](_0x2dae79)||0x0;if(_0x16600f===0x1)return!0x0;_0x16600f===0x0&&_0x4c0764[_0x190a07(0xa9)](_0x2dae79);}}else _0x5a60e7[_0x190a07(0xc1)](_0x58f563,0x2),_0x4c0764[_0x190a07(0xec)]();}return!0x1;}['_checkIsCycleDependency'](_0x5cfbc6){const _0x5a5013=_0x4dc510,_0x4d4f0b=new Map();for(const _0x5638ee of _0x5cfbc6)if(!_0x4d4f0b[_0x5a5013(0x103)](_0x5638ee[_0x5a5013(0xc9)])&&this['_isCyclicUtilMap'](_0x5638ee[_0x5a5013(0xc9)],_0x4d4f0b))return!0x0;return _0x4d4f0b[_0x5a5013(0x139)](),!0x1;}[_0x4dc510(0x137)](_0x385d43,_0x4154f3,_0x1a8792){const _0x2d32d7=_0x4dc510,{unitId:_0x33017f,subUnitId:_0x530cd5,dependencyRanges:_0x193c80,getDirtyData:_0x4a4078}=_0x1a8792,_0x163e9e=_0x4154f3||o['generateRandomDependencyTreeId'](this[_0x2d32d7(0xb8)]),_0x319ae9=new o[(_0x2d32d7(0x10d))](_0x163e9e);_0x319ae9[_0x2d32d7(0x145)]=_0x33017f,_0x319ae9[_0x2d32d7(0x141)]=_0x530cd5,_0x319ae9[_0x2d32d7(0xb2)]=_0x193c80,_0x319ae9[_0x2d32d7(0x149)]=_0x4a4078;const _0xb8fa41=_0x4a4078(this[_0x2d32d7(0x146)][_0x2d32d7(0x149)](),this[_0x2d32d7(0x89)][_0x2d32d7(0xab)]()),_0x1069b1=this[_0x2d32d7(0xff)](_0xb8fa41['dirtyRanges']);return _0x319ae9[_0x2d32d7(0xb4)]=_0x1069b1,_0x319ae9[_0x2d32d7(0x132)]=_0x385d43,_0x319ae9[_0x2d32d7(0xf4)]=o[_0x2d32d7(0xd9)][_0x2d32d7(0x111)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x33017f,_0x530cd5,_0x385d43,_0x319ae9),this[_0x2d32d7(0xf9)][_0x2d32d7(0xc1)](_0x319ae9[_0x2d32d7(0xc9)],_0x319ae9),this[_0x2d32d7(0xb8)]['getFeatureFormulaDependency'](_0x1a8792[_0x2d32d7(0x145)],_0x1a8792[_0x2d32d7(0x141)],_0x385d43)&&(_0x319ae9[_0x2d32d7(0x88)]=!0x0),_0x319ae9;}[_0x4dc510(0xda)](_0x3af62b,_0x11250c,_0x47f950){const _0x5c42ca=_0x4dc510;var _0x49659f;for(const _0x594899 of _0x11250c){const _0x599c9d=_0x3af62b[_0x594899];if(_0x599c9d==null)continue;const _0x5d4057=Object['keys'](_0x599c9d);for(const _0x1bd9f2 of _0x5d4057){const _0x27069d=_0x599c9d[_0x1bd9f2];if(_0x27069d==null)continue;const _0x7a87e1=Object[_0x5c42ca(0xa4)](_0x27069d);for(const _0xf96ae4 of _0x7a87e1){const _0x1acbe3=this[_0x5c42ca(0xb8)][_0x5c42ca(0xcc)](_0xf96ae4),_0x532cc1=_0x27069d[_0xf96ae4],{f:_0x315be1,ranges:_0xebaeb8}=_0x532cc1;let _0x1b1d26=!0x1;_0x1acbe3&&(_0x1b1d26=!0x0);const {firstRow:_0x3570c3,firstColumn:_0x4482af}=this['_getFirstCellOfRange'](_0xebaeb8),_0x49cb86=this[_0x5c42ca(0xb8)][_0x5c42ca(0x7e)](_0x594899,_0x1bd9f2,_0xf96ae4),_0x3f2985=(_0x49659f=_0x49cb86==null?void 0x0:_0x49cb86[_0x5c42ca(0xa1)](0x0,0x0))!=null?_0x49659f:o[_0x5c42ca(0x134)](this[_0x5c42ca(0xb8)]),_0x1b69e4=new o[(_0x5c42ca(0x10d))](_0x3f2985);for(let _0x46011d=0x0;_0x46011d<_0xebaeb8[_0x5c42ca(0xf1)];_0x46011d++){const _0x5d04a3=_0xebaeb8[_0x46011d],{startRow:_0x28b4c5,startColumn:_0x41c11a,endRow:_0x2cb4bb,endColumn:_0x42abf5}=_0x5d04a3;for(let _0xf22263=_0x28b4c5;_0xf22263<=_0x2cb4bb;_0xf22263++)for(let _0x561172=_0x41c11a;_0x561172<=_0x42abf5;_0x561172++){const _0x22c46a=_0x561172-_0x4482af,_0x5bc21b=_0xf22263-_0x3570c3;if(_0x22c46a===0x0&&_0x5bc21b===0x0){_0x1b69e4[_0x5c42ca(0xa2)]=_0x315be1,_0x1b69e4[_0x5c42ca(0x145)]=_0x594899,_0x1b69e4[_0x5c42ca(0x141)]=_0x1bd9f2,_0x1b69e4[_0x5c42ca(0xef)]=_0xf96ae4,_0x1b69e4[_0x5c42ca(0xf4)]=o[_0x5c42ca(0xd9)][_0x5c42ca(0xde)],_0x1b69e4[_0x5c42ca(0x88)]=_0x1b1d26,_0x47f950[_0x5c42ca(0xa9)](_0x1b69e4),this[_0x5c42ca(0xf9)][_0x5c42ca(0xc1)](_0x1b69e4[_0x5c42ca(0xc9)],_0x1b69e4),this[_0x5c42ca(0xb8)][_0x5c42ca(0x117)](_0x594899,_0x1bd9f2,_0xf96ae4,_0x1b69e4),this['_dependencyManagerService'][_0x5c42ca(0xf5)](_0x1b69e4);continue;}const _0x4a0772=new o[(_0x5c42ca(0x109))]();_0x4a0772['treeId']=(_0x49cb86==null?void 0x0:_0x49cb86[_0x5c42ca(0xa1)](_0x22c46a,_0x5bc21b))||o[_0x5c42ca(0x134)](this['_dependencyManagerService']),_0x4a0772[_0x5c42ca(0x79)]=_0x1b69e4,_0x4a0772[_0x5c42ca(0xc5)]=_0x22c46a,_0x4a0772[_0x5c42ca(0xa8)]=_0x5bc21b,_0x4a0772[_0x5c42ca(0x88)]=_0x1b1d26,this[_0x5c42ca(0xb8)]['addOtherFormulaDependency'](_0x594899,_0x1bd9f2,_0xf96ae4,_0x4a0772),this[_0x5c42ca(0xb8)][_0x5c42ca(0xf5)](_0x4a0772),_0x47f950[_0x5c42ca(0xa9)](_0x4a0772),this[_0x5c42ca(0xf9)][_0x5c42ca(0xc1)](_0x4a0772[_0x5c42ca(0xc9)],_0x4a0772);}}this[_0x5c42ca(0xb8)]['addOtherFormulaDependencyMainData'](_0xf96ae4);}}}}[_0x4dc510(0xa0)](_0x34ca7a,_0x1f2628,_0xdd618e,_0x15017e){const _0x3191ff=_0x4dc510;for(const _0x6fe981 of _0x34ca7a){const _0x7eab13=_0x1f2628[_0x6fe981];if(_0x7eab13==null)continue;const _0x5a5ac9=Object[_0x3191ff(0xa4)](_0x7eab13);for(const _0x3e01c9 of _0x5a5ac9){const _0x21f516=new R[(_0x3191ff(0xd6))](_0x7eab13[_0x3e01c9]||{}),_0x48d92f=new Map();_0x21f516[_0x3191ff(0xea)]((_0x5c1e1f,_0x787732,_0x3b89e9)=>{const _0x26ad89=_0x3191ff;if(_0x3b89e9==null)return!0x0;const {x:_0x34923f=0x0,y:_0x1e8ce7=0x0,si:_0x1a5cef}=_0x3b89e9;if(!(_0x34923f===0x0&&_0x1e8ce7===0x0&&_0x1a5cef!=null))return!0x0;const _0x507c1f=this[_0x26ad89(0x13b)](_0x6fe981,_0x3e01c9,_0x5c1e1f,_0x787732,_0xdd618e,_0x3b89e9),_0x28e6a4=this[_0x26ad89(0xb8)][_0x26ad89(0x123)](_0x6fe981,_0x3e01c9,_0x5c1e1f,_0x787732);_0x28e6a4!=null?_0x507c1f[_0x26ad89(0xc9)]=_0x28e6a4:(this[_0x26ad89(0xb8)][_0x26ad89(0x77)](_0x6fe981,_0x3e01c9,_0x5c1e1f,_0x787732,_0x507c1f),this['_dependencyManagerService'][_0x26ad89(0xf5)](_0x507c1f)),_0x48d92f[_0x26ad89(0xc1)](_0x1a5cef,_0x507c1f),_0x15017e[_0x26ad89(0xa9)](_0x507c1f),this[_0x26ad89(0xf9)][_0x26ad89(0xc1)](_0x507c1f[_0x26ad89(0xc9)],_0x507c1f);}),_0x21f516['forValue']((_0xccfa13,_0x2eeda3,_0x33816e)=>{const _0x58afe1=_0x3191ff;if(_0x33816e==null)return!0x0;const {x:_0x79e50e=0x0,y:_0x2c825b=0x0,si:_0x24d805}=_0x33816e;if(_0x79e50e===0x0&&_0x2c825b===0x0&&_0x24d805!=null)return!0x0;let _0x2e84fa;if(_0x24d805&&_0x48d92f[_0x58afe1(0x103)](_0x24d805)){const _0x1de907=_0x48d92f[_0x58afe1(0xa6)](_0x24d805);_0x2e84fa=this['_createVirtualFDtree'](_0x1de907,_0x33816e);}else _0x2e84fa=this[_0x58afe1(0x13b)](_0x6fe981,_0x3e01c9,_0xccfa13,_0x2eeda3,_0xdd618e,_0x33816e);const _0x16d64d=this[_0x58afe1(0xb8)][_0x58afe1(0x123)](_0x6fe981,_0x3e01c9,_0xccfa13,_0x2eeda3);_0x16d64d!=null?_0x2e84fa[_0x58afe1(0xc9)]=_0x16d64d:(this[_0x58afe1(0xb8)][_0x58afe1(0x77)](_0x6fe981,_0x3e01c9,_0xccfa13,_0x2eeda3,_0x2e84fa),this['_dependencyManagerService'][_0x58afe1(0xf5)](_0x2e84fa)),_0x15017e[_0x58afe1(0xa9)](_0x2e84fa),this[_0x58afe1(0xf9)]['set'](_0x2e84fa['treeId'],_0x2e84fa);}),_0x48d92f[_0x3191ff(0x139)]();}}}['_createFDtree'](_0x2b6935,_0x57d2ab,_0x22b9f9,_0x214875,_0x1e4298,_0x3b5f78){const _0x3d9323=_0x4dc510,{f:_0x58075e,x:_0x3a2589=0x0,y:_0x4e82b1=0x0}=_0x3b5f78,_0x1cca0b=new o[(_0x3d9323(0x10d))](o[_0x3d9323(0x134)](this[_0x3d9323(0xb8)])),_0x40bde8=_0x1e4298[_0x2b6935][_0x57d2ab];return _0x1cca0b[_0x3d9323(0xa2)]=_0x58075e,_0x1cca0b[_0x3d9323(0x145)]=_0x2b6935,_0x1cca0b[_0x3d9323(0x141)]=_0x57d2ab,_0x1cca0b[_0x3d9323(0x9d)]=_0x22b9f9,_0x1cca0b[_0x3d9323(0x118)]=_0x214875,_0x1cca0b['rowCount']=_0x40bde8['rowCount'],_0x1cca0b['columnCount']=_0x40bde8[_0x3d9323(0x86)],_0x1cca0b;}['_getUpdateTreeListAndMakeDependency'](){const _0x40ee9d=_0x4dc510,_0x588502=[],_0x4db463=new Set(),_0x2c292d=this[_0x40ee9d(0x146)][_0x40ee9d(0xf2)](),_0x5e20b7=this[_0x40ee9d(0x146)][_0x40ee9d(0x98)](),_0x13640f=this[_0x40ee9d(0xb8)][_0x40ee9d(0xad)](_0x5e20b7),_0x2bc032=this[_0x40ee9d(0xb7)][_0x40ee9d(0x11c)](_0x5e20b7);for(const _0x4add57 of _0x2bc032)_0x13640f[_0x40ee9d(0x119)](_0x4add57);for(const [_0x246671,_0x3c4320]of this[_0x40ee9d(0xf9)])(_0x2c292d||_0x3c4320[_0x40ee9d(0x7a)]||_0x3c4320['dependencySheetName'](this['_currentConfigService'][_0x40ee9d(0x142)]())||_0x13640f[_0x40ee9d(0x103)](_0x246671)&&!_0x3c4320[_0x40ee9d(0x76)](this[_0x40ee9d(0x146)]['getExcludedRange']()))&&!_0x4db463[_0x40ee9d(0x103)](_0x246671)&&(_0x588502[_0x40ee9d(0xa9)](_0x3c4320),_0x4db463[_0x40ee9d(0x119)](_0x246671));for(const [_0x2894ec,_0x55be58]of this[_0x40ee9d(0xf9)])_0x55be58['isVirtual']||(_0x55be58[_0x40ee9d(0xb2)][_0x40ee9d(0xf1)]=0x0);return _0x588502;}[_0x4dc510(0xc4)](_0x2abf84){const _0x18ad03=_0x4dc510;return this[_0x18ad03(0xf9)][_0x18ad03(0xa6)](_0x2abf84);}[_0x4dc510(0x101)](_0x1ee43a){const _0x4ecfb7=_0x4dc510;return o['generateAstNode'](_0x1ee43a[_0x4ecfb7(0x145)],_0x1ee43a[_0x4ecfb7(0xa2)],this[_0x4ecfb7(0xa3)],this[_0x4ecfb7(0x7f)],this[_0x4ecfb7(0x146)]);}*[_0x4dc510(0x84)](_0x5285c0,_0x2cdbe4){const _0x1b4cc4=_0x4dc510,_0x2aebcf=_0x5285c0,_0x23a03d=new Set();for(;_0x2aebcf[_0x1b4cc4(0xf1)]>0x0;){const _0x1442c1=_0x2aebcf['pop']();if(_0x23a03d[_0x1b4cc4(0x139)](),_0x1442c1===void 0x0||_0x1442c1['isSkip']())continue;if(_0x1442c1['isAdded']()){yield _0x1442c1,_0x1442c1['setSkip'](),_0x2cdbe4[_0x1b4cc4(0x119)](_0x1442c1['treeId']);continue;}const _0x470dee=this['_dependencyManagerService'][_0x1b4cc4(0xad)](_0x1442c1[_0x1b4cc4(0x126)](),_0x2cdbe4),_0xda91e4=this['_dependencyRTreeCacheForAddressFunction'][_0x1b4cc4(0x11c)](_0x1442c1[_0x1b4cc4(0x126)](),_0x2cdbe4);for(const _0x2e6fbe of _0xda91e4)_0x470dee[_0x1b4cc4(0x119)](_0x2e6fbe);for(const _0x8a13e9 of _0x470dee){const _0x1cc6d4=this['_dependencyTreeCache'][_0x1b4cc4(0xa6)](_0x8a13e9);if(!_0x1cc6d4)throw new Error(_0x1b4cc4(0xb6));_0x1cc6d4[_0x1b4cc4(0xac)]()||_0x1442c1[_0x1b4cc4(0x115)]()||_0x23a03d[_0x1b4cc4(0x119)](_0x1cc6d4);}if(_0x470dee[_0x1b4cc4(0x139)](),_0x23a03d['size']===0x0)yield _0x1442c1,_0x1442c1[_0x1b4cc4(0xce)](),_0x2cdbe4[_0x1b4cc4(0x119)](_0x1442c1[_0x1b4cc4(0xc9)]);else{_0x1442c1[_0x1b4cc4(0xfa)](),_0x2aebcf[_0x1b4cc4(0xa9)](_0x1442c1);for(const _0x3d70ae of _0x23a03d)_0x2aebcf['push'](_0x3d70ae);}}_0x2aebcf['length']=0x0,_0x23a03d['clear']();}[_0x4dc510(0x78)](_0x49f353){const _0x391c5e=_0x4dc510,_0x3953b7=[],_0x186c0a=new Set();for(const _0x26d12a of this[_0x391c5e(0x84)](_0x49f353,_0x186c0a))_0x3953b7[_0x391c5e(0xa9)](_0x26d12a);return _0x3953b7;}}class b extends o[_0x4dc510(0xd4)]{constructor(){const _0x4b1261=_0x4dc510;super(...arguments),U(this,_0x4b1261(0xc2),!0x1),U(this,_0x4b1261(0x13e),new Set());}[_0x4dc510(0xa7)](_0x164e0a,_0x28600a){const _0x37a125=_0x4dc510,_0xefd2c=this[_0x37a125(0x10c)](_0x164e0a,!0x1);if(!_0xefd2c||_0xefd2c===o[_0x37a125(0x9a)][_0x37a125(0xca)]||Array[_0x37a125(0xe1)](_0xefd2c))return null;const _0xf8e6de=[];return this[_0x37a125(0xc2)]=!0x1,this[_0x37a125(0x9e)](_0xefd2c,_0xf8e6de,_0x28600a),this[_0x37a125(0xc2)]?'='+_0xf8e6de[_0x37a125(0x12a)](''):null;}['_generateNewFunctionString'](_0x262786,_0x30ac26,_0x4a6a33){const _0x110afe=_0x4dc510,_0x59c8f5=_0x262786['getToken'](),_0x528c25=_0x59c8f5['trim'](),_0x5d8270=_0x528c25[_0x110afe(0x113)](),_0x4cf359=this[_0x110afe(0xbe)](_0x5d8270),_0x2f9e7f=_0x4a6a33(_0x4cf359);let _0x4b8997=0x0;_0x59c8f5===o[_0x110afe(0x99)]?_0x4b8997=0x3:_0x59c8f5===o[_0x110afe(0x12b)]?_0x4b8997=0x4:_0x59c8f5===o[_0x110afe(0x8c)]?_0x4b8997=0x5:o[_0x110afe(0xf7)][_0x110afe(0x103)](_0x4cf359)?(_0x30ac26['push']('_xlfn.'+_0x528c25),this[_0x110afe(0xc2)]=!0x0):_0x5d8270===o['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x30ac26[_0x110afe(0xa9)](_0x110afe(0xfd)+_0x528c25),this[_0x110afe(0xc2)]=!0x0,_0x4b8997=0x2):_0x5d8270===o[_0x110afe(0xd5)]?(_0x30ac26[_0x110afe(0xa9)]('_xlfn.'+_0x528c25),this[_0x110afe(0xc2)]=!0x0,_0x4b8997=0x1):_0x5d8270===o['matchToken']['COLON']?_0x4b8997=0x8:o['SUFFIX_TOKEN_SET'][_0x110afe(0x103)](_0x5d8270)?_0x4b8997=0x7:_0x5d8270===o[_0x110afe(0x148)][_0x110afe(0x95)]?(this['_checkAddBracketForMinus'](_0x262786)&&(_0x4b8997=0x9),_0x30ac26['push'](_0x59c8f5)):(_0x30ac26[_0x110afe(0xa9)](_0x59c8f5),_0x4b8997=0xa),_0x2f9e7f?(_0x4b8997!==0x2&&_0x4b8997!==0x1&&(_0x4b8997=0x6),_0x30ac26[_0x110afe(0xa9)]('(')):_0x4b8997===0x9&&_0x30ac26[_0x110afe(0xa9)]('(');const _0x185174=_0x262786[_0x110afe(0x11b)](),_0x43d856=_0x185174[_0x110afe(0xf1)];if(_0x4b8997===0x2){const _0x4d1a21=_0x185174[0x0];let _0x519982=0x0;_0x4d1a21 instanceof o[_0x110afe(0xbf)]&&_0x4d1a21[_0x110afe(0x96)]()===o[_0x110afe(0x8c)]&&(_0x519982=0x1);for(let _0x41ed5a=_0x519982;_0x41ed5a<_0x43d856-0x1;_0x41ed5a++){const _0xac25e9=_0x185174[_0x41ed5a];if(_0xac25e9 instanceof o[_0x110afe(0xbf)]){const _0x348328=_0xac25e9[_0x110afe(0x11b)]()[0x0];typeof _0x348328==_0x110afe(0xaa)&&(this[_0x110afe(0x13e)]['has'](_0x348328)&&console[_0x110afe(0x124)](_0x110afe(0xc0)+_0x348328+'\x22\x20is\x20duplicated.'),this[_0x110afe(0x13e)][_0x110afe(0x119)](_0x348328),_0x30ac26[_0x110afe(0xa9)](_0x110afe(0xae)+_0x348328),this[_0x110afe(0xc2)]=!0x0);}_0x30ac26[_0x110afe(0xa9)](',');}this[_0x110afe(0x81)](_0x185174[_0x43d856-0x1],_0x30ac26,_0x4a6a33),_0x519982===0x1&&(_0x30ac26[_0x110afe(0xa9)](')'),_0x30ac26['push']('('),this[_0x110afe(0x9e)](_0x4d1a21,_0x30ac26,_0x4a6a33)),_0x30ac26[_0x110afe(0xa9)](')');return;}else{if(_0x4b8997===0x1){for(let _0x566b65=0x0;_0x566b65<_0x43d856-0x1;_0x566b65++){const _0x2b12da=_0x185174[_0x566b65];if(_0x2b12da instanceof o[_0x110afe(0xbf)]&&_0x566b65%0x2===0x0){const _0x17984e=_0x2b12da[_0x110afe(0x11b)]()[0x0];if(typeof _0x17984e=='string'){this['_lambdaFunctionParameterSet'][_0x110afe(0x103)](_0x17984e)&&console[_0x110afe(0x124)](_0x110afe(0xc7)+_0x17984e+_0x110afe(0xa5)),this[_0x110afe(0x13e)]['add'](_0x17984e),_0x30ac26['push'](_0x110afe(0xae)+_0x17984e),this[_0x110afe(0xc2)]=!0x0,_0x30ac26[_0x110afe(0xa9)](',');continue;}}if(this[_0x110afe(0x81)](_0x2b12da,_0x30ac26,_0x4a6a33),_0x2b12da instanceof o[_0x110afe(0xbf)]){const _0x571a8e=_0x185174[_0x566b65+0x1];_0x571a8e&&_0x571a8e instanceof o[_0x110afe(0xbf)]&&_0x30ac26[_0x110afe(0xa9)](',');}}this['_handleNewFunctionChild'](_0x185174[_0x43d856-0x1],_0x30ac26,_0x4a6a33),_0x30ac26[_0x110afe(0xa9)](')');return;}else{if(_0x4b8997===0x8){const _0x48b4f7=_0x185174[0x0],_0x1e9ab7=_0x185174[0x1];this[_0x110afe(0x81)](_0x48b4f7,_0x30ac26,_0x4a6a33),_0x30ac26[_0x110afe(0xa9)](_0x59c8f5),this[_0x110afe(0x81)](_0x1e9ab7,_0x30ac26,_0x4a6a33);return;}}}for(let _0x54742b=0x0;_0x54742b<_0x43d856;_0x54742b++){const _0x17ec3f=_0x185174[_0x54742b];if(this[_0x110afe(0x81)](_0x17ec3f,_0x30ac26,_0x4a6a33),_0x17ec3f instanceof o[_0x110afe(0xbf)]){const _0x45d900=_0x185174[_0x54742b+0x1];_0x45d900&&_0x45d900 instanceof o[_0x110afe(0xbf)]&&_0x30ac26[_0x110afe(0xa9)](',');}}_0x4b8997===0x7&&_0x30ac26[_0x110afe(0xa9)](_0x59c8f5),(_0x2f9e7f||_0x4b8997===0x9)&&_0x30ac26['push'](')');}[_0x4dc510(0x81)](_0x381414,_0x1442f5,_0x19b117){const _0x5808ae=_0x4dc510;_0x381414 instanceof o[_0x5808ae(0xbf)]?this['_generateNewFunctionString'](_0x381414,_0x1442f5,_0x19b117):this[_0x5808ae(0x13e)][_0x5808ae(0x103)](_0x381414)?(_0x1442f5['push']('_xlpm.'+_0x381414),this[_0x5808ae(0xc2)]=!0x0):_0x1442f5[_0x5808ae(0xa9)](_0x381414);}[_0x4dc510(0xbe)](_0x2d9fe6){const _0x1e09b7=_0x4dc510;let _0x3d7539=_0x2d9fe6['trim']();if(!_0x3d7539)return _0x3d7539;const _0x18ee70=_0x3d7539[0x0];if((_0x18ee70===o[_0x1e09b7(0x148)]['AT']||_0x18ee70===o[_0x1e09b7(0x148)][_0x1e09b7(0x95)]||_0x18ee70===o[_0x1e09b7(0x148)][_0x1e09b7(0x127)])&&(_0x3d7539=_0x3d7539[_0x1e09b7(0xcb)](0x1)),!_0x3d7539)return _0x3d7539;const _0x47e1e5=_0x3d7539[_0x3d7539[_0x1e09b7(0xf1)]-0x1];return o[_0x1e09b7(0xd3)][_0x1e09b7(0x103)](_0x47e1e5)&&(_0x3d7539=_0x3d7539[_0x1e09b7(0xcb)](0x0,-0x1)),_0x3d7539;}['_checkAddBracketForMinus'](_0x3abe71){const _0x55f77c=_0x4dc510,_0x2550dd=_0x3abe71[_0x55f77c(0x11b)]()[0x0];if(!_0x2550dd||!(_0x2550dd instanceof o['LexerNode'])||_0x3abe71[_0x55f77c(0x11b)]()[_0x55f77c(0xf1)]>0x1)return!0x1;const _0x113b5c=_0x2550dd['getChildren'](),_0x45eb49=_0x113b5c[_0x55f77c(0xf1)];if(_0x45eb49===0x1)return!0x1;for(let _0x4312ed=0x0;_0x4312ed<_0x45eb49;_0x4312ed++){const _0x4e03e1=_0x113b5c[_0x4312ed];if(!(_0x4e03e1 instanceof o[_0x55f77c(0xbf)])&&o[_0x55f77c(0x133)][_0x55f77c(0x103)](_0x4e03e1))return!0x0;}return!0x1;}}class K extends o[_0x4dc510(0x107)]{async[_0x4dc510(0xdd)](_0x4affb4=!0x1){const _0x12fa60=_0x4dc510;_0x4affb4?this[_0x12fa60(0x89)][_0x12fa60(0xbb)](o[_0x12fa60(0x114)][_0x12fa60(0x143)]):this[_0x12fa60(0x89)][_0x12fa60(0xbb)](o[_0x12fa60(0x114)][_0x12fa60(0x14a)]),this['_executionInProgressListener$'][_0x12fa60(0x128)](this['_runtimeService'][_0x12fa60(0x92)]());const _0x296be3=await this[_0x12fa60(0x12d)][_0x12fa60(0x9c)](),_0x2cd342=this[_0x12fa60(0x136)];_0x4affb4?(this[_0x12fa60(0x89)][_0x12fa60(0xbb)](o[_0x12fa60(0x114)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x12fa60(0x89)][_0x12fa60(0xeb)](_0x296be3[_0x12fa60(0xf1)])):(this[_0x12fa60(0x89)]['setFormulaExecuteStage'](o['FormulaExecuteStageType'][_0x12fa60(0xd1)]),this['_runtimeService'][_0x12fa60(0x138)](_0x296be3[_0x12fa60(0xf1)])),this[_0x12fa60(0x11e)][_0x12fa60(0x128)](this[_0x12fa60(0x89)][_0x12fa60(0x92)]());let _0x4e551d=[];const _0x50b100=this[_0x12fa60(0x94)][_0x12fa60(0x106)](o[_0x12fa60(0x80)]),_0x35575a=(_0x50b100==null?void 0x0:_0x50b100['intervalCount'])||o['DEFAULT_INTERVAL_COUNT'];let _0x51ee3a=0x0;const _0xde5a32=_0x296be3[_0x12fa60(0xf1)];for(;_0x296be3[_0x12fa60(0xf1)]>0x0;){const _0x2dfc6c=_0x296be3[_0x12fa60(0xec)](),_0x50f192=o[_0x12fa60(0x9b)](_0x2dfc6c[_0x12fa60(0x145)],_0x2dfc6c['formula'],this[_0x12fa60(0xa3)],this[_0x12fa60(0x7f)],this[_0x12fa60(0x146)]),_0x4b8dd4={'node':_0x50f192,'refOffsetX':_0x2dfc6c['refOffsetX'],'refOffsetY':_0x2dfc6c[_0x12fa60(0xa8)]},_0xd7db04=_0x2dfc6c[_0x12fa60(0x149)];if(_0x51ee3a%_0x35575a===0x0&&(await new Promise(_0x4a3cfb=>{const _0x28e667=_0x12fa60,_0x2da15d=R[_0x28e667(0xf8)](_0x4a3cfb);_0x4e551d[_0x28e667(0xa9)](_0x2da15d);}),_0x4affb4?(this['_runtimeService'][_0x12fa60(0xbb)](o[_0x12fa60(0x114)][_0x12fa60(0xf6)]),this[_0x12fa60(0x89)][_0x12fa60(0x9f)](_0x51ee3a+0x1)):(this['_runtimeService'][_0x12fa60(0xbb)](o[_0x12fa60(0x114)][_0x12fa60(0xe9)]),this[_0x12fa60(0x89)][_0x12fa60(0x102)](_0x51ee3a+0x1)),this[_0x12fa60(0x11e)][_0x12fa60(0x128)](this[_0x12fa60(0x89)]['getRuntimeState']()),this['_runtimeService'][_0x12fa60(0xcd)]()||_0x4b8dd4==null&&_0xd7db04==null)){this[_0x12fa60(0x89)]['setFormulaExecuteStage'](o[_0x12fa60(0x114)][_0x12fa60(0x116)]),this[_0x12fa60(0x89)][_0x12fa60(0x13a)](),this['_executionCompleteListener$'][_0x12fa60(0x128)](this[_0x12fa60(0x89)][_0x12fa60(0xab)]());return;}this[_0x12fa60(0x89)][_0x12fa60(0xee)](_0x2dfc6c[_0x12fa60(0x9d)],_0x2dfc6c['column'],_0x2dfc6c['rowCount'],_0x2dfc6c[_0x12fa60(0x86)],_0x2dfc6c[_0x12fa60(0x141)],_0x2dfc6c[_0x12fa60(0x145)]);let _0x14d911;if(_0xd7db04!=null&&_0x2dfc6c[_0x12fa60(0x132)]!=null){const {runtimeCellData:_0x2cd68d,dirtyRanges:_0x24ace1}=_0xd7db04(this[_0x12fa60(0x146)][_0x12fa60(0x149)](),this['_runtimeService'][_0x12fa60(0xab)]());this[_0x12fa60(0x89)][_0x12fa60(0x104)](_0x2dfc6c[_0x12fa60(0x132)],_0x2cd68d),this['_runtimeService']['setRuntimeFeatureRange'](_0x2dfc6c[_0x12fa60(0x132)],_0x24ace1);}else _0x4b8dd4!=null&&(_0x2cd342[_0x12fa60(0x85)](_0x4b8dd4['node'])?_0x14d911=await _0x2cd342[_0x12fa60(0xe2)](_0x4b8dd4):_0x14d911=_0x2cd342[_0x12fa60(0x135)](_0x4b8dd4),_0x2dfc6c[_0x12fa60(0xef)]!=null?this[_0x12fa60(0x89)][_0x12fa60(0x144)](_0x2dfc6c['formulaId'],_0x2dfc6c[_0x12fa60(0xc5)],_0x2dfc6c[_0x12fa60(0xa8)],_0x14d911):this[_0x12fa60(0x89)][_0x12fa60(0x11d)](_0x14d911));_0x50f192[_0x12fa60(0xe3)](),_0x51ee3a++;}return _0x4e551d[_0x12fa60(0xcf)](_0x4d8878=>_0x4d8878()),_0x4e551d=[],_0xde5a32>0x0?this[_0x12fa60(0x89)][_0x12fa60(0x82)]():_0x4affb4||this[_0x12fa60(0x89)][_0x12fa60(0xe8)](),this[_0x12fa60(0x89)][_0x12fa60(0xab)]();}}class Y extends o[_0x4dc510(0xfc)]{constructor(){const _0xd81308=_0x4dc510;super(...arguments),U(this,_0xd81308(0xe0),new Map()),U(this,'_dependencyRTreeCache',new R['RTree'](!0x0));}[_0x4dc510(0xd0)](){const _0x50dcba=_0x4dc510;this[_0x50dcba(0xdf)][_0x50dcba(0x139)](),this[_0x50dcba(0x121)]['clear'](),this[_0x50dcba(0x10f)][_0x50dcba(0x139)](),this['_dependencyRTreeCache']['clear'](),this[_0x50dcba(0xe0)][_0x50dcba(0x139)](),this[_0x50dcba(0xd2)](),this[_0x50dcba(0x91)][_0x50dcba(0x139)]();}[_0x4dc510(0x117)](_0x10a89f,_0x275f41,_0x530229,_0x456e68){const _0x2194a4=_0x4dc510;this[_0x2194a4(0xdf)][_0x2194a4(0x103)](_0x10a89f)||this[_0x2194a4(0xdf)][_0x2194a4(0xc1)](_0x10a89f,new Map());const _0x3a874d=this[_0x2194a4(0xdf)][_0x2194a4(0xa6)](_0x10a89f);_0x3a874d[_0x2194a4(0x103)](_0x275f41)||_0x3a874d[_0x2194a4(0xc1)](_0x275f41,new Map());const _0x1065a1=_0x3a874d[_0x2194a4(0xa6)](_0x275f41);_0x1065a1['has'](_0x530229)||_0x1065a1['set'](_0x530229,new R[(_0x2194a4(0xd6))]()),_0x1065a1[_0x2194a4(0xa6)](_0x530229)[_0x2194a4(0x13f)](_0x456e68[_0x2194a4(0xc5)],_0x456e68[_0x2194a4(0xa8)],_0x456e68[_0x2194a4(0xc9)]);}[_0x4dc510(0x105)](_0x35e2a1,_0x285d2c,_0x1b27e8){const _0x2c81d0=_0x4dc510,_0x1cbf65=this[_0x2c81d0(0xdf)]['get'](_0x35e2a1);if(_0x1cbf65&&_0x1cbf65[_0x2c81d0(0x103)](_0x285d2c)){const _0x5e7e0b=_0x1cbf65[_0x2c81d0(0xa6)](_0x285d2c);_0x1b27e8[_0x2c81d0(0xcf)](_0x39bce3=>{const _0x4c435c=_0x2c81d0,_0x2549e5=_0x5e7e0b['get'](_0x39bce3);_0x2549e5!=null&&(_0x2549e5['forValue']((_0x224cae,_0x591815,_0x2724d5)=>{const _0x4c04c3=_0xc88b;this[_0x4c04c3(0xe4)](_0x2724d5),this[_0x4c04c3(0x110)](_0x2724d5);}),_0x5e7e0b[_0x4c435c(0x140)](_0x39bce3),this[_0x4c435c(0x91)]['delete'](_0x39bce3));}),_0x5e7e0b['size']===0x0&&_0x1cbf65[_0x2c81d0(0x140)](_0x285d2c),_0x1cbf65[_0x2c81d0(0x7d)]===0x0&&this[_0x2c81d0(0xdf)][_0x2c81d0(0x140)](_0x35e2a1);}}[_0x4dc510(0x10e)](_0x1b2ae6,_0x14930c){const _0x53d8b5=_0x4dc510,_0x1a3a21=this[_0x53d8b5(0xdf)]['get'](_0x1b2ae6);if(_0x14930c&&_0x1a3a21&&_0x1a3a21[_0x53d8b5(0x103)](_0x14930c)){const _0x34cf32=_0x1a3a21[_0x53d8b5(0xa6)](_0x14930c);this['_removeDependencyRTreeCacheById'](_0x1b2ae6,_0x14930c);for(const _0x157403 of _0x34cf32[_0x53d8b5(0xa4)]()){const _0x4f79bc=_0x34cf32[_0x53d8b5(0xa6)](_0x157403);_0x4f79bc!=null&&(_0x4f79bc[_0x53d8b5(0xea)]((_0x57fcfc,_0x1861a4,_0xc79b1f)=>{const _0x7d93d1=_0x53d8b5;this[_0x7d93d1(0xe0)][_0x7d93d1(0xa6)](_0xc79b1f)&&this[_0x7d93d1(0x110)](_0xc79b1f);}),this['_otherFormulaDataMainData'][_0x53d8b5(0x140)](_0x157403));}_0x34cf32['clear']();}else{if(_0x1a3a21){for(const _0x45eb03 of _0x1a3a21[_0x53d8b5(0xa4)]()){const _0x624c5=_0x1a3a21[_0x53d8b5(0xa6)](_0x45eb03);this[_0x53d8b5(0xdb)](_0x1b2ae6,_0x45eb03);for(const _0x49545b of _0x624c5['keys']()){const _0x3d0449=_0x624c5[_0x53d8b5(0xa6)](_0x49545b);_0x3d0449!=null&&(_0x3d0449['forValue']((_0x42811b,_0x28b93d,_0x24cb38)=>{const _0x193b68=_0x53d8b5;this['_allTreeMap'][_0x193b68(0xa6)](_0x24cb38)&&this[_0x193b68(0x110)](_0x24cb38);}),this['_otherFormulaDataMainData'][_0x53d8b5(0x140)](_0x49545b));}}this[_0x53d8b5(0xdf)]['delete'](_0x1b2ae6);}}}[_0x4dc510(0x74)](_0x19eb3b,_0x15a1ca,_0x13f705,_0x3deef7){const _0x422454=_0x4dc510;this[_0x422454(0x121)][_0x422454(0x103)](_0x19eb3b)||this[_0x422454(0x121)][_0x422454(0xc1)](_0x19eb3b,new Map());const _0x324957=this[_0x422454(0x121)][_0x422454(0xa6)](_0x19eb3b);_0x324957['has'](_0x15a1ca)||_0x324957[_0x422454(0xc1)](_0x15a1ca,new Map()),_0x324957[_0x422454(0xa6)](_0x15a1ca)['set'](_0x13f705,_0x3deef7['treeId']);}[_0x4dc510(0x73)](_0xa8ceb0,_0x1aedf3,_0x29cd6c){const _0x41caa7=_0x4dc510,_0x50d541=this['_featureFormulaData'][_0x41caa7(0xa6)](_0xa8ceb0);if(_0x50d541&&_0x50d541[_0x41caa7(0x103)](_0x1aedf3)){const _0x2c131d=_0x50d541['get'](_0x1aedf3);_0x29cd6c['forEach'](_0x3e5928=>{const _0x3cf4c0=_0x41caa7,_0xd3f668=_0x2c131d[_0x3cf4c0(0xa6)](_0x3e5928);_0xd3f668!=null&&(this['_removeDependencyRTreeCache'](_0xd3f668),_0x2c131d[_0x3cf4c0(0x140)](_0x3e5928),this[_0x3cf4c0(0x110)](_0xd3f668));});}}['clearFeatureFormulaDependency'](_0x57f428,_0x30884b){const _0x46464b=_0x4dc510,_0x2c05ef=this['_featureFormulaData'][_0x46464b(0xa6)](_0x57f428);if(_0x30884b&&_0x2c05ef&&_0x2c05ef['has'](_0x30884b)){const _0x58c410=_0x2c05ef[_0x46464b(0xa6)](_0x30884b);this[_0x46464b(0xdb)](_0x57f428,_0x30884b),_0x58c410['forEach'](_0x527208=>{const _0xa8672=_0x46464b;_0x527208!=null&&this[_0xa8672(0x110)](_0x527208);}),_0x58c410[_0x46464b(0x139)]();}else _0x2c05ef&&(_0x2c05ef[_0x46464b(0xcf)]((_0x47d68d,_0x205c01)=>{const _0x5aff18=_0x46464b;this[_0x5aff18(0xdb)](_0x57f428,_0x205c01),_0x47d68d['forEach'](_0x49a645=>{_0x49a645!=null&&this['_removeAllTreeMap'](_0x49a645);});}),this[_0x46464b(0x121)][_0x46464b(0x140)](_0x57f428));}[_0x4dc510(0x77)](_0x1a9824,_0x444837,_0x52d7d1,_0x80f710,_0x24c02e){const _0x21468d=_0x4dc510;this[_0x21468d(0x10f)][_0x21468d(0x103)](_0x1a9824)||this['_formulaData'][_0x21468d(0xc1)](_0x1a9824,new Map());const _0xaddf39=this['_formulaData'][_0x21468d(0xa6)](_0x1a9824);_0xaddf39[_0x21468d(0x103)](_0x444837)||_0xaddf39[_0x21468d(0xc1)](_0x444837,new R[(_0x21468d(0xd6))]()),_0xaddf39['get'](_0x444837)[_0x21468d(0x13f)](_0x52d7d1,_0x80f710,_0x24c02e['treeId']);}['removeFormulaDependency'](_0x58ec73,_0x5e6bf5,_0x1d8fe6,_0x44c41a){const _0x43db6a=_0x4dc510,_0x5359ff=this[_0x43db6a(0x10f)][_0x43db6a(0xa6)](_0x58ec73);if(_0x5359ff&&_0x5359ff[_0x43db6a(0x103)](_0x5e6bf5)){const _0x2dd87a=_0x5359ff['get'](_0x5e6bf5),_0x18f8f0=_0x2dd87a[_0x43db6a(0xa1)](_0x1d8fe6,_0x44c41a);if(_0x18f8f0==null)return;this[_0x43db6a(0xe4)](_0x18f8f0),_0x2dd87a[_0x43db6a(0xba)](_0x1d8fe6,_0x44c41a),this[_0x43db6a(0x110)](_0x18f8f0);}}['clearFormulaDependency'](_0x27b44e,_0x27d5f9){const _0x5382a9=_0x4dc510,_0x23ded6=this[_0x5382a9(0x10f)][_0x5382a9(0xa6)](_0x27b44e);if(_0x27d5f9&&_0x23ded6&&_0x23ded6[_0x5382a9(0x103)](_0x27d5f9)){const _0xf0bb1a=_0x23ded6[_0x5382a9(0xa6)](_0x27d5f9);this['_removeDependencyRTreeCacheById'](_0x27b44e,_0x27d5f9),_0xf0bb1a[_0x5382a9(0xea)]((_0x9154ec,_0x4e61e6,_0x2fcfd7)=>{if(_0x2fcfd7==null)return!0x0;this['_removeAllTreeMap'](_0x2fcfd7);}),_0xf0bb1a['reset']();}else _0x23ded6&&(_0x23ded6[_0x5382a9(0xcf)]((_0x2f47a7,_0x52b954)=>{const _0x4675b3=_0x5382a9;this[_0x4675b3(0xdb)](_0x27b44e,_0x52b954),_0x2f47a7[_0x4675b3(0xea)]((_0xf03b55,_0x27fafa,_0x50d169)=>{const _0x2e78b5=_0x4675b3;if(_0x50d169==null)return!0x0;this[_0x2e78b5(0x110)](_0x50d169);});}),this['_formulaData'][_0x5382a9(0x140)](_0x27b44e));}[_0x4dc510(0xe4)](_0x594dac){const _0x2b61eb=_0x4dc510;if(_0x594dac==null)return;const _0x3691dc=this[_0x2b61eb(0xe0)]['get'](_0x594dac);if(_0x3691dc){const _0x2411b5=[];for(const [_0x31b6b4,_0x515102]of _0x3691dc)for(const [_0x47e5ff,_0x432a4d]of _0x515102)_0x2411b5[_0x2b61eb(0xa9)]({'unitId':_0x31b6b4,'sheetId':_0x47e5ff,'range':_0x432a4d,'id':_0x594dac});this['_dependencyRTreeCache']['bulkRemove'](_0x2411b5);}}['removeFormulaDependencyByDefinedName'](_0x1f0d17,_0x77b531){const _0x2b40f2=_0x4dc510,_0x2ac339=this[_0x2b40f2(0xfe)][_0x2b40f2(0xa6)](_0x1f0d17);if(_0x2ac339){const _0x166356=_0x2ac339[_0x2b40f2(0xa6)](_0x77b531);if(_0x166356){for(const _0x1015bf of _0x166356)this[_0x2b40f2(0xe4)](_0x1015bf),this[_0x2b40f2(0x110)](_0x1015bf);_0x166356[_0x2b40f2(0x139)]();}}}[_0x4dc510(0x8e)](){const _0x3a5819=_0x4dc510;this['_dependencyRTreeCache'][_0x3a5819(0x8e)]();}['closeKdTree'](){this['_dependencyRTreeCache']['closeKdTree']();}[_0x4dc510(0x110)](_0x32d9cf){const _0x5d71e3=_0x4dc510;_0x32d9cf!=null&&this[_0x5d71e3(0xe0)][_0x5d71e3(0x140)](_0x32d9cf);}['_addAllTreeMap'](_0xc6f80e){const _0x1a1a08=_0x4dc510;var _0x514071,_0x42c809;const _0x1b01c8=_0xc6f80e[_0x1a1a08(0xb2)];let _0x56c0d5=this[_0x1a1a08(0xe0)][_0x1a1a08(0xa6)](_0xc6f80e[_0x1a1a08(0xc9)]);for(let _0xc5be2d=0x0;_0xc5be2d<_0x1b01c8['length'];_0xc5be2d++){const _0x324a06=_0x1b01c8[_0xc5be2d];let {unitId:_0x13aaa,sheetId:_0x2849dc,range:_0x14fbbd}=_0x324a06;_0x56c0d5||(_0x56c0d5=new Map(),this[_0x1a1a08(0xe0)][_0x1a1a08(0xc1)](_0xc6f80e['treeId'],_0x56c0d5)),_0x56c0d5[_0x1a1a08(0x103)](_0x13aaa)||_0x56c0d5['set'](_0x13aaa,new Map());const _0x97fd38=(_0x514071=_0x56c0d5==null?void 0x0:_0x56c0d5['get'](_0x13aaa))==null?void 0x0:_0x514071[_0x1a1a08(0xa6)](_0x2849dc);_0x97fd38&&(_0x14fbbd={'startRow':Math[_0x1a1a08(0x75)](_0x14fbbd[_0x1a1a08(0x122)],_0x97fd38[_0x1a1a08(0x122)]),'startColumn':Math['min'](_0x14fbbd[_0x1a1a08(0x100)],_0x97fd38[_0x1a1a08(0x100)]),'endRow':Math[_0x1a1a08(0xf0)](_0x14fbbd['endRow'],_0x97fd38[_0x1a1a08(0x10b)]),'endColumn':Math['max'](_0x14fbbd['endColumn'],_0x97fd38[_0x1a1a08(0xb1)])}),(_0x42c809=_0x56c0d5[_0x1a1a08(0xa6)](_0x13aaa))==null||_0x42c809[_0x1a1a08(0xc1)](_0x2849dc,_0x14fbbd);}}}var j=Object[_0x4dc510(0x87)],z=(_0x5734b1,_0x563d9b,_0xa0c75b,_0x80f440)=>{const _0x5274ec=_0x4dc510;for(var _0x4eb910=_0x80f440>0x1?void 0x0:_0x80f440?j(_0x563d9b,_0xa0c75b):_0x563d9b,_0x4fd29d=_0x5734b1[_0x5274ec(0xf1)]-0x1,_0x361b78;_0x4fd29d>=0x0;_0x4fd29d--)(_0x361b78=_0x5734b1[_0x4fd29d])&&(_0x4eb910=_0x361b78(_0x4eb910)||_0x4eb910);return _0x4eb910;};function _0x2755(){const _0x334b3e=['FormulaDependencyTreeType','_registerOtherFormulas','_removeDependencyRTreeCacheById','177872AQYAOL','_apply','OTHER_FORMULA','_otherFormulaData','_allTreeMap','isArray','executeAsync','resetCalculationState','_removeDependencyRTreeCache','71904Jvsiwf','defineProperty','UniverFormulaEnginePlugin','markedAsNoFunctionsExecuted','CURRENTLY_CALCULATING','forValue','setTotalArrayFormulasToCalculate','pop','toStringTag','setCurrent','formulaId','max','length','isForceCalculate','_injector','type','addFormulaDependencyByDefinedName','CURRENTLY_CALCULATING_ARRAY_FORMULA','NEW_EXCEL_FUNCTIONS','requestImmediateMacroTask','_dependencyTreeCache','setAdded','clearFeatureFormulaDependency','DependencyManagerBaseService','_xlfn.','_definedNameMap','_convertDirtyRangesToUnitRange','startColumn','_getTreeNode','setCompletedFormulasCount','has','setRuntimeFeatureCellData','removeOtherFormulaDependency','getConfig','CalculateFormulaService','return\x20','FormulaDependencyTreeVirtual','R3UMFVXU\x20ByMotgFVXU(lVMyUGy,\x20g39lVMIyt)\x20{\x20\x20\x20\x20Fot\x20{\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20lVMyUGyuURX6qoFeooqt\x20=\x20lVMyUGy.GglVF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20XoVOVUwyGGqOy\x20=\x20KznP.gqoGy(qFX9(lVMyUGyuURX6qoFeooqt[x]));\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!XoVOVUwyGGqOy.3B)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XoVOVUwyGGqOy.3B\x20=\x20P329yo(lVMyUGyuURX6qoFeooqt[L]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VG7XoTyo\x20=\x20FtgyXR\x207XoTyoAlX9qlzMXgy\x20!==\x20\x273UByRVUyB\x27\x20&&\x20GylR\x20VUGFqUMyXR\x207XoTyoAlX9qlzMXgy;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VGDoXvGyo\x20=\x20FtgyXR\x20vVUBXv\x20!==\x20\x273UByRVUyB\x27\x20&&\x20FtgyXR\x20vVUBXv.lXMqFVXU\x20!==\x20\x273UByRVUyB\x27;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20MXUFy1F\x20=\x20VG7XoTyo\x20?\x20GylR\x20:\x20(VGDoXvGyo\x20?\x20vVUBXv\x20:\x20OlX9qlW0VG);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[x]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(2yGGqOy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[E]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(GVOUqF3oy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUhqlVB\x20=\x20MXUFy1F.__CyoVRt__(GVOUqF3oy,\x202yGGqOy,\x20g39lVMIyt);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20BX2qVU\x20=\x20XoVOVUwyGGqOy.B2;\x20\x20\x20\x20\x20\x20\x20\x20R3UMFVXU\x20VG4X2qVUwqFM0VUO(X6qFFyoU,\x20XdXGF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU\x20=\x20X6qFFyoU.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF\x20=\x20XdXGF.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU6qoFG\x20=\x20gqFFyoU.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF6qoFG\x20=\x200XGF.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!gqFFyoU.VUMl3ByG(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoU\x20===\x200XGF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(gqFFyoU6qoFG.lyUOF0\x20<\x20x\x20||\x20gqFFyoU6qoFG[s]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoUz3RRV1\x20=\x20gqFFyoU6qoFG.GlVMy(S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGFz3RRV1\x20=\x200XGF6qoFG.GlVMy(-gqFFyoU6qoFG.lyUOF0\x20+\x20S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoUz3RRV1\x20===\x200XGFz3RRV1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lyF\x20BX2qVUhqlVB\x20=\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(VGDoXvGyo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20(BX2qVU\x20&&\x20BX2qVU.lyUOF0)\x20?\x20BX2qVU.GX2y((B2uFy2)\x20=>\x20VG4X2qVUwqFM0VUO(B2uFy2,\x20lXMqFVXU.0XGFUq2y))\x20:\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(lXMqFVXU.0XGFUq2y\x20===\x20\x27lXMql0XGF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20ylGy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20CqlVB\x20=\x20GVOUhqlVB\x20&&\x20BX2qVUhqlVB;\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20XoVOVUwyGGqOy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20MqFM0\x20(yooXo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB:\x20RqlGy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','endRow','treeBuilder','FormulaDependencyTree','clearOtherFormulaDependency','_formulaData','_removeAllTreeMap','FEATURE_FORMULA','getSheetFeatureLimit','toUpperCase','FormulaExecuteStageType','isSkip','IDLE','addOtherFormulaDependency','column','add','dispose','getChildren','bulkSearch','setRuntimeData','_executionInProgressListener$','valid','_isCyclicUtilMap','_featureFormulaData','startRow','getFormulaDependency','error','symbol','toRTreeItem','PLUS','next','5QGowFD','join','DEFAULT_TOKEN_TYPE_PARAMETER','_generateTreeList','_formulaDependencyGenerator','1zNdlEB','getOtherFormulaData','notExecuteFormula','_getUpdateTreeListAndMakeDependency','featureId','OPERATOR_TOKEN_SET','generateRandomDependencyTreeId','execute','_interpreter','_getFeatureFormulaTree','setTotalFormulasToCalculate','clear','markedAsStopFunctionsExecuted','_createFDtree','enableCycleDependency','209ifIcBh','_lambdaFunctionParameterSet','setValue','delete','subUnitId','getDirtyNameMap','START_DEPENDENCY_ARRAY_FORMULA','setRuntimeOtherData','unitId','_currentConfigService','getFormulaData','prefixToken','getDirtyData','START_DEPENDENCY','removeFeatureFormulaDependency','addFeatureFormulaDependency','min','isExcludeRange','addFormulaDependency','_calculateRunList','refTree','isDirty','8182grkzGt','UniverLicensePlugin','size','getOtherFormulaDependency','_astTreeBuilder','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_handleNewFunctionChild','markedAsSuccessfullyExecuted','parseInt','_traverse','checkAsyncNode','columnCount','getOwnPropertyDescriptor','isCache','_runtimeService','getUnitData','getClearDependencyTreeCache','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','1760580TQTTls','openKdTree','63CDOMAG','UniverProFormulaEnginePlugin','_otherFormulaDataMainData','getRuntimeState','clearFormulaDependency','_configService','MINUS','getToken','226248ULtUJN','getDirtyRanges','DEFAULT_TOKEN_TYPE_ROOT','ErrorType','generateAstNode','generate','row','_generateNewFunctionString','setCompletedArrayFormulasCount','_registerFormulas','getValue','formula','_lexer','keys','\x22\x20is\x20duplicated.','get','getNewFormulaWithPrefix','refOffsetY','push','string','getAllRuntimeData','isAdded','searchDependency','_xlpm.','232370PtMboh','620548tVXcPR','endColumn','rangeList','_config','featureDirtyRanges','ICalculateFormulaService','ParentDependencyTree\x20object\x20is\x20null','_dependencyRTreeCacheForAddressFunction','_dependencyManagerService','DependencyManagerService','realDeleteValue','setFormulaExecuteStage','resolve','prototype','_clearFunctionString','LexerNode','Lambda\x20parameter\x20name\x20\x22','set','_hasNewExcelFunction','IDependencyManagerService','_getTreeById','refOffsetX','_initLicenseValid','Let\x20variable\x20name\x20\x22','default','treeId','VALUE','slice','hasOtherFormulaDataMainData','isStopExecution','setSkip','forEach','reset','START_CALCULATION','_restDependencyTreeId','SUFFIX_TOKEN_SET','LexerTreeBuilder','DEFAULT_TOKEN_LET_FUNCTION_NAME','ObjectMatrix','_otherFormulaManagerService','unshiftString'];_0x2755=function(){return _0x334b3e;};return _0x2755();}const $=Number[_0x4dc510(0x83)](0x6921992b);exports[_0x4dc510(0x90)]=class extends o[_0x4dc510(0xe7)]{['_initializeWithOverride'](){const _0x28e589=_0x4dc510;var _0xdaa4c9,_0x1422e9;this[_0x28e589(0xc6)]()?(this[_0x28e589(0xf3)][_0x28e589(0x119)]([o['LexerTreeBuilder'],{'useClass':b}]),(_0xdaa4c9=this['_config'])!=null&&_0xdaa4c9[_0x28e589(0x130)]||[[o['ICalculateFormulaService'],{'useClass':K}],[o[_0x28e589(0xc3)],{'useClass':Y}],[o['IFormulaDependencyGenerator'],{'useClass':k}]][_0x28e589(0xcf)](_0x671a25=>this['_injector'][_0x28e589(0x119)](_0x671a25))):(this['_injector'][_0x28e589(0x119)]([o[_0x28e589(0xd4)],{'useClass':o[_0x28e589(0xd4)]}]),(_0x1422e9=this[_0x28e589(0xb3)])!=null&&_0x1422e9['notExecuteFormula']||[[o[_0x28e589(0xb5)],{'useClass':o[_0x28e589(0x107)]}],[o[_0x28e589(0xc3)],{'useClass':o[_0x28e589(0xb9)]}],[o['IFormulaDependencyGenerator'],{'useClass':o['FormulaDependencyGenerator']}]][_0x28e589(0xcf)](_0x3a41f8=>this[_0x28e589(0xf3)][_0x28e589(0x119)](_0x3a41f8)));}[_0x4dc510(0xc6)](){const _0x3135de=_0x4dc510;var _0x8e4fc6;const _0xb8c066=(_0x8e4fc6=this[_0x3135de(0x94)]['getConfig'](v['LS_CONFIG_KEY']))!=null?_0x8e4fc6:{},{ls:_0x1fcc89,pbk:_0x358d38}=_0xb8c066;if(!_0x1fcc89||!_0x358d38)return!0x1;const _0xaee67d=v[_0x3135de(0xd8)](P,I),_0x1d7c4f=new Function(_0x3135de(0x108)+_0xaee67d)()(_0x1fcc89,_0x358d38),_0xfd40db=_0x1d7c4f['message'];return _0x1d7c4f[_0x3135de(0x11f)]&&v['isFeatureAuthorizedWithinTime'](_0xfd40db,'sf',$)?v[_0x3135de(0x112)](_0xfd40db,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x4dc510(0x90)]=z([R['DependentOn'](v[_0x4dc510(0x7c)])],exports[_0x4dc510(0x90)]),Object[_0x4dc510(0xa4)](o)[_0x4dc510(0xcf)](_0xfe6c06=>{const _0x51453a=_0x4dc510;_0xfe6c06!==_0x51453a(0xc8)&&!Object[_0x51453a(0xbd)]['hasOwnProperty']['call'](exports,_0xfe6c06)&&Object[_0x51453a(0xe6)](exports,_0xfe6c06,{'enumerable':!0x0,'get':()=>o[_0xfe6c06]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x47ecd8,_0x25e066){var _0x2bf264=_0x50b0,_0x4de9f0=_0x47ecd8();while(!![]){try{var _0x1f89f8=-parseInt(_0x2bf264(0x169))/0x1+parseInt(_0x2bf264(0x170))/0x2*(parseInt(_0x2bf264(0x16d))/0x3)+-parseInt(_0x2bf264(0x171))/0x4+parseInt(_0x2bf264(0x16e))/0x5+parseInt(_0x2bf264(0x16a))/0x6+-parseInt(_0x2bf264(0x168))/0x7*(-parseInt(_0x2bf264(0x16c))/0x8)+-parseInt(_0x2bf264(0x16f))/0x9*(-parseInt(_0x2bf264(0x16b))/0xa);if(_0x1f89f8===_0x25e066)break;else _0x4de9f0['push'](_0x4de9f0['shift']());}catch(_0x5108c5){_0x4de9f0['push'](_0x4de9f0['shift']());}}}(_0x2025,0x9eec1));function _0x2025(){var _0x1b3616=['10uJZOHt','8xEofwf','6KgUbOG','3898985eHozhx','680796KcLmEI','4552vpFnYU','3676308QCrErz','3104829gXOOmn','382871MKfPzY','3896118pkLGxc'];_0x2025=function(){return _0x1b3616;};return _0x2025();}function _0x50b0(_0x4071f6,_0x1aefa8){var _0x202589=_0x2025();return _0x50b0=function(_0x50b0c1,_0x3aff86){_0x50b0c1=_0x50b0c1-0x168;var _0x44e270=_0x202589[_0x50b0c1];return _0x44e270;},_0x50b0(_0x4071f6,_0x1aefa8);}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x573964=_0xdec2;(function(_0x11cc79,_0xa53e58){const _0x5d8cc5=_0xdec2,_0x5e9a93=_0x11cc79();while(!![]){try{const _0x5935c9=-parseInt(_0x5d8cc5(0x23c))/0x1+parseInt(_0x5d8cc5(0x1a6))/0x2*(parseInt(_0x5d8cc5(0x257))/0x3)+parseInt(_0x5d8cc5(0x1f3))/0x4+-parseInt(_0x5d8cc5(0x215))/0x5+-parseInt(_0x5d8cc5(0x220))/0x6+-parseInt(_0x5d8cc5(0x202))/0x7*(parseInt(_0x5d8cc5(0x22e))/0x8)+parseInt(_0x5d8cc5(0x1be))/0x9;if(_0x5935c9===_0xa53e58)break;else _0x5e9a93['push'](_0x5e9a93['shift']());}catch(_0x581ee5){_0x5e9a93['push'](_0x5e9a93['shift']());}}}(_0x1b92,0xdc6e3));var Q=Object['defineProperty'],Z=(_0x486833,_0x596c02,_0x594078)=>_0x596c02 in _0x486833?Q(_0x486833,_0x596c02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594078}):_0x486833[_0x596c02]=_0x594078,U=(_0x32577e,_0xceb5ee,_0x150e0d)=>Z(_0x32577e,typeof _0xceb5ee!=_0x573964(0x1b4)?_0xceb5ee+'':_0xceb5ee,_0x150e0d);import{UniverLicensePlugin as _0x2cd21f,LS_CONFIG_KEY as _0x2af99a,unshiftString as _0x2d427c,isFeatureAuthorizedWithinTime as _0x38ee9b,getSheetFeatureLimit as _0x456be1}from'@univerjs-pro/license';import{ObjectMatrix as _0x5ac77f,requestImmediateMacroTask as _0x89b5b9,RTree as _0xb5d364,DependentOn as _0x3cc641}from'@univerjs/core';import{FormulaDependencyGenerator as _0x255910,generateRandomDependencyTreeId as _0x3cc5c5,FormulaDependencyTree as _0x4be2a4,FormulaDependencyTreeType as _0x3e40fc,FormulaDependencyTreeVirtual as _0x24ba35,generateAstNode as _0x2df1a6,LexerTreeBuilder as _0x2e2257,ErrorType as _0x1a8afa,DEFAULT_TOKEN_TYPE_ROOT as _0xb16712,DEFAULT_TOKEN_TYPE_PARAMETER as _0xbd1cbf,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x10ce6a,NEW_EXCEL_FUNCTIONS as _0x39446b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13976a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x12300a,matchToken as _0x9d5387,SUFFIX_TOKEN_SET as _0x5d1a12,prefixToken as _0x1cb147,LexerNode as _0x23cfaa,OPERATOR_TOKEN_SET as _0x19d9d1,CalculateFormulaService as _0x36e8da,FormulaExecuteStageType as _0x7e20d4,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x584a32,DEFAULT_INTERVAL_COUNT as _0x143eb6,DependencyManagerBaseService as _0x3514fc,UniverFormulaEnginePlugin as _0x16eec9,ICalculateFormulaService as _0x19f4ab,IDependencyManagerService as _0x345d5c,IFormulaDependencyGenerator as _0x1e8dfb,DependencyManagerService as _0x5f330d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x1b92(){const _0x104f99=['setFormulaExecuteStage','_otherFormulaData','_otherFormulaManagerService','ParentDependencyTree\x20object\x20is\x20null','error','max','_hasNewExcelFunction','featureId','START_CALCULATION','getDirtyNameMap','valid','_lexer','_allTreeMap','dispose','delete','addFormulaDependency','getAllRuntimeData','getOtherFormulaData','addOtherFormulaDependency','3tlYCPp','join','209942AfPBTb','getValue','bulkRemove','set','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','closeKdTree','subUnitId','refOffsetX','getDirtyRanges','isSkip','_generateNewFunctionString','_isCyclicUtilMap','markedAsSuccessfullyExecuted','_generateTreeList','symbol','IDLE','getToken','isForceCalculate','treeId','markedAsNoFunctionsExecuted','addFeatureFormulaDependency','_xlpm.','isCache','setSkip','38847150oOdwUV','realDeleteValue','_initLicenseValid','parseInt','resetCalculationState','endRow','_handleNewFunctionChild','clearOtherFormulaDependency','_otherFormulaDataMainData','keys','execute','setTotalArrayFormulasToCalculate','getChildren','isArray','isDirty','MINUS','getNewFormulaWithPrefix','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','_config','_registerOtherFormulas','push','openKdTree','_getTreeNode','START_CALCULATION_ARRAY_FORMULA','_dependencyTreeCache','_convertDirtyRangesToUnitRange','OTHER_FORMULA','bulkSearch','_configService','getExcludedRange','string','get','endColumn','_injector','_getFeatureFormulaTree','addFormulaDependencyByDefinedName','COLON','_removeDependencyRTreeCacheById','size','pop','removeFeatureFormulaDependency','_executionInProgressListener$','getClearDependencyTreeCache','formula','clearFeatureFormulaDependency','has','executeAsync','_featureFormulaData','addOtherFormulaDependencyMainData','clear','_getTreeById','_dependencyManagerService','663700hYitDg','_runtimeService','formulaId','setValue','getConfig','min','_createVirtualFDtree','_xlfn.','toRTreeItem','removeFormulaDependency','_formulaDependencyGenerator','_updateRangeFlatten','_traverse','setRuntimeData','_dependencyRTreeCache','11972821DedAQM','removeFormulaDependencyByDefinedName','_dependencyRTreeCacheForAddressFunction','searchDependency','return\x20','rowCount','refOffsetY','setRuntimeFeatureRange','getFormulaData','PLUS','setCurrent','_removeDependencyRTreeCache','dirtyRanges','slice','_calculateRunList','treeBuilder','getFormulaDependency','setCompletedFormulasCount','_formulaData','6750640cJHINv','_restDependencyTreeId','markedAsStopFunctionsExecuted','getUnitData','hasOtherFormulaDataMainData','_getFirstCellOfRange','getRuntimeState','row','_checkIsCycleDependency','isAdded','add','3706590aTbNyh','columnCount','removeOtherFormulaDependency','_interpreter','forEach','CURRENTLY_CALCULATING','setAdded','reset','startRow','_currentConfigService','type','_createFDtree','generate','length','8remAet','_apply','startColumn','Let\x20variable\x20name\x20\x22','notExecuteFormula','VALUE','node','getDirtyData','CURRENTLY_CALCULATING_ARRAY_FORMULA','next','forValue','_checkAddBracketForMinus','_initializeWithOverride','_clearFunctionString','6067CweXqa','rangeList','isVirtual','_astTreeBuilder','clearFormulaDependency','column','unitId','_lambdaFunctionParameterSet'];_0x1b92=function(){return _0x104f99;};return _0x1b92();}function _0xdec2(_0x2cb59f,_0x2373ae){const _0x1b9212=_0x1b92();return _0xdec2=function(_0xdec25f,_0x2eacbe){_0xdec25f=_0xdec25f-0x1a6;let _0x338fbc=_0x1b9212[_0xdec25f];return _0x338fbc;},_0xdec2(_0x2cb59f,_0x2373ae);}const Ce={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},Oe=_0x573964(0x1aa);class Pe extends _0x255910{constructor(){const _0x5d40bc=_0x573964;super(...arguments),U(this,_0x5d40bc(0x1d7),new Map());}[_0x573964(0x251)](){const _0x68f2f9=_0x573964;super[_0x68f2f9(0x251)](),this[_0x68f2f9(0x1d7)][_0x68f2f9(0x1f0)]();}async[_0x573964(0x22c)](){const _0x54a827=_0x573964;this[_0x54a827(0x1fe)]();const _0x4db9ed=this[_0x54a827(0x229)][_0x54a827(0x20a)](),_0x17fb1b=this[_0x54a827(0x246)][_0x54a827(0x255)](),_0x4b553a=this['_currentConfigService'][_0x54a827(0x1e9)]();_0x4b553a!=null&&Object[_0x54a827(0x1c7)](_0x4b553a)[_0x54a827(0x224)](_0xf2de57=>{const _0x1997a9=_0x54a827;_0xf2de57!=null&&Object['keys'](_0x4b553a[_0xf2de57])[_0x1997a9(0x224)](_0x2d2e93=>{const _0x1aaa6e=_0x1997a9;_0x2d2e93!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x1eb)](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x240)](_0xf2de57,_0x2d2e93));});});const _0x37d60e=this['_currentConfigService'][_0x54a827(0x218)]();await this[_0x54a827(0x1b3)](_0x4db9ed,_0x17fb1b,_0x37d60e),this[_0x54a827(0x1f2)]['openKdTree']();const _0x18d700=this[_0x54a827(0x1d0)](),_0x5ba848=this[_0x54a827(0x210)](_0x18d700);return this[_0x54a827(0x21d)](_0x5ba848)&&this['_runtimeService']['enableCycleDependency'](),this[_0x54a827(0x1d7)][_0x54a827(0x1f0)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x54a827(0x1f2)][_0x54a827(0x1ab)](),this[_0x54a827(0x1f4)]['clearArrayObjectCache'](),Promise['resolve'](_0x5ba848);}[_0x573964(0x1b1)](_0x9f2d08,_0x54ff9b){const _0x343479=_0x573964,_0x1ab94e=[_0x9f2d08];for(;_0x1ab94e['length']>0x0;){const _0x4213ae=_0x1ab94e[_0x1ab94e[_0x343479(0x22d)]-0x1];if((_0x54ff9b[_0x343479(0x1de)](_0x4213ae)||0x0)===0x0){_0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x1);const _0x3d8580=this['_dependencyTreeCache']['get'](_0x4213ae);if(_0x3d8580==null){_0x54ff9b['set'](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();continue;}const _0x76a0=this[_0x343479(0x1f2)]['searchDependency'](_0x3d8580[_0x343479(0x1fb)]());for(const _0x17691f of _0x76a0){const _0x37bf87=_0x54ff9b['get'](_0x17691f)||0x0;if(_0x37bf87===0x1)return!0x0;_0x37bf87===0x0&&_0x1ab94e[_0x343479(0x1d3)](_0x17691f);}}else _0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();}return!0x1;}[_0x573964(0x21d)](_0x42621a){const _0x42e45e=_0x573964,_0x5a25d2=new Map();for(const _0x21d8a7 of _0x42621a)if(!_0x5a25d2['has'](_0x21d8a7[_0x42e45e(0x1b8)])&&this[_0x42e45e(0x1b1)](_0x21d8a7[_0x42e45e(0x1b8)],_0x5a25d2))return!0x0;return _0x5a25d2[_0x42e45e(0x1f0)](),!0x1;}[_0x573964(0x1e1)](_0x140883,_0x389e85,_0x1a9118){const _0x380d80=_0x573964,{unitId:_0x55f45c,subUnitId:_0x185ab9,dependencyRanges:_0x3cc1fc,getDirtyData:_0x847009}=_0x1a9118,_0x2f5075=_0x389e85||_0x3cc5c5(this[_0x380d80(0x1f2)]),_0x3788ab=new _0x4be2a4(_0x2f5075);_0x3788ab[_0x380d80(0x242)]=_0x55f45c,_0x3788ab[_0x380d80(0x1ac)]=_0x185ab9,_0x3788ab['rangeList']=_0x3cc1fc,_0x3788ab['getDirtyData']=_0x847009;const _0x2a4b60=_0x847009(this[_0x380d80(0x229)][_0x380d80(0x235)](),this[_0x380d80(0x1f4)]['getAllRuntimeData']()),_0x7ae88=this[_0x380d80(0x1d8)](_0x2a4b60[_0x380d80(0x20e)]);return _0x3788ab['featureDirtyRanges']=_0x7ae88,_0x3788ab[_0x380d80(0x24b)]=_0x140883,_0x3788ab[_0x380d80(0x22a)]=_0x3e40fc['FEATURE_FORMULA'],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x55f45c,_0x185ab9,_0x140883,_0x3788ab),this['_dependencyTreeCache']['set'](_0x3788ab[_0x380d80(0x1b8)],_0x3788ab),this[_0x380d80(0x1f2)]['getFeatureFormulaDependency'](_0x1a9118[_0x380d80(0x242)],_0x1a9118[_0x380d80(0x1ac)],_0x140883)&&(_0x3788ab['isCache']=!0x0),_0x3788ab;}[_0x573964(0x1d2)](_0xfa9a7e,_0x1e2f05,_0x29b769){const _0x192a23=_0x573964;var _0x5a1d7b;for(const _0x4d2917 of _0x1e2f05){const _0x5dbda8=_0xfa9a7e[_0x4d2917];if(_0x5dbda8==null)continue;const _0x1e32d7=Object[_0x192a23(0x1c7)](_0x5dbda8);for(const _0x242f09 of _0x1e32d7){const _0xdb21e=_0x5dbda8[_0x242f09];if(_0xdb21e==null)continue;const _0x30709d=Object[_0x192a23(0x1c7)](_0xdb21e);for(const _0x114ba1 of _0x30709d){const _0x56f161=this['_dependencyManagerService'][_0x192a23(0x219)](_0x114ba1),_0x202af5=_0xdb21e[_0x114ba1],{f:_0x346451,ranges:_0x5e183c}=_0x202af5;let _0x5a6b52=!0x1;_0x56f161&&(_0x5a6b52=!0x0);const {firstRow:_0x1b9a17,firstColumn:_0x580518}=this[_0x192a23(0x21a)](_0x5e183c),_0x121454=this[_0x192a23(0x1f2)]['getOtherFormulaDependency'](_0x4d2917,_0x242f09,_0x114ba1),_0x1ff71e=(_0x5a1d7b=_0x121454==null?void 0x0:_0x121454['getValue'](0x0,0x0))!=null?_0x5a1d7b:_0x3cc5c5(this['_dependencyManagerService']),_0x408d6e=new _0x4be2a4(_0x1ff71e);for(let _0x2aa1e5=0x0;_0x2aa1e5<_0x5e183c['length'];_0x2aa1e5++){const _0x405e3d=_0x5e183c[_0x2aa1e5],{startRow:_0x5c7849,startColumn:_0x1bc072,endRow:_0x367b71,endColumn:_0x328112}=_0x405e3d;for(let _0x3be458=_0x5c7849;_0x3be458<=_0x367b71;_0x3be458++)for(let _0x377cd2=_0x1bc072;_0x377cd2<=_0x328112;_0x377cd2++){const _0x32d2ab=_0x377cd2-_0x580518,_0x19b72d=_0x3be458-_0x1b9a17;if(_0x32d2ab===0x0&&_0x19b72d===0x0){_0x408d6e[_0x192a23(0x1ea)]=_0x346451,_0x408d6e[_0x192a23(0x242)]=_0x4d2917,_0x408d6e[_0x192a23(0x1ac)]=_0x242f09,_0x408d6e[_0x192a23(0x1f5)]=_0x114ba1,_0x408d6e[_0x192a23(0x22a)]=_0x3e40fc[_0x192a23(0x1d9)],_0x408d6e[_0x192a23(0x1bc)]=_0x5a6b52,_0x29b769[_0x192a23(0x1d3)](_0x408d6e),this[_0x192a23(0x1d7)]['set'](_0x408d6e['treeId'],_0x408d6e),this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x408d6e),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x408d6e);continue;}const _0x10f2b0=new _0x24ba35();_0x10f2b0[_0x192a23(0x1b8)]=(_0x121454==null?void 0x0:_0x121454[_0x192a23(0x1a7)](_0x32d2ab,_0x19b72d))||_0x3cc5c5(this[_0x192a23(0x1f2)]),_0x10f2b0['refTree']=_0x408d6e,_0x10f2b0[_0x192a23(0x1ad)]=_0x32d2ab,_0x10f2b0[_0x192a23(0x208)]=_0x19b72d,_0x10f2b0[_0x192a23(0x1bc)]=_0x5a6b52,this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x10f2b0),this[_0x192a23(0x1f2)]['addFormulaDependencyByDefinedName'](_0x10f2b0),_0x29b769[_0x192a23(0x1d3)](_0x10f2b0),this[_0x192a23(0x1d7)][_0x192a23(0x1a9)](_0x10f2b0[_0x192a23(0x1b8)],_0x10f2b0);}}this['_dependencyManagerService'][_0x192a23(0x1ef)](_0x114ba1);}}}}['_registerFormulas'](_0x1fec30,_0x2daaff,_0xdb84fa,_0x4ff9bb){const _0x36577d=_0x573964;for(const _0x5bcbdf of _0x1fec30){const _0x24b38a=_0x2daaff[_0x5bcbdf];if(_0x24b38a==null)continue;const _0x14fcb4=Object['keys'](_0x24b38a);for(const _0x5f405c of _0x14fcb4){const _0x5a9616=new _0x5ac77f(_0x24b38a[_0x5f405c]||{}),_0x4be4ee=new Map();_0x5a9616['forValue']((_0x37d1a4,_0x1c1cf3,_0x173a98)=>{const _0x2aa89b=_0xdec2;if(_0x173a98==null)return!0x0;const {x:_0x416e46=0x0,y:_0x5abb17=0x0,si:_0x20588d}=_0x173a98;if(!(_0x416e46===0x0&&_0x5abb17===0x0&&_0x20588d!=null))return!0x0;const _0x3674e4=this[_0x2aa89b(0x22b)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0xdb84fa,_0x173a98),_0x5a6e90=this[_0x2aa89b(0x1f2)][_0x2aa89b(0x212)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3);_0x5a6e90!=null?_0x3674e4['treeId']=_0x5a6e90:(this[_0x2aa89b(0x1f2)][_0x2aa89b(0x253)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0x3674e4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x3674e4)),_0x4be4ee[_0x2aa89b(0x1a9)](_0x20588d,_0x3674e4),_0x4ff9bb['push'](_0x3674e4),this[_0x2aa89b(0x1d7)][_0x2aa89b(0x1a9)](_0x3674e4[_0x2aa89b(0x1b8)],_0x3674e4);}),_0x5a9616[_0x36577d(0x238)]((_0x41fba4,_0x403e18,_0x3604aa)=>{const _0x3e3253=_0x36577d;if(_0x3604aa==null)return!0x0;const {x:_0x47d746=0x0,y:_0x916d83=0x0,si:_0x4c6ac8}=_0x3604aa;if(_0x47d746===0x0&&_0x916d83===0x0&&_0x4c6ac8!=null)return!0x0;let _0x274d26;if(_0x4c6ac8&&_0x4be4ee['has'](_0x4c6ac8)){const _0x301e80=_0x4be4ee[_0x3e3253(0x1de)](_0x4c6ac8);_0x274d26=this[_0x3e3253(0x1f9)](_0x301e80,_0x3604aa);}else _0x274d26=this[_0x3e3253(0x22b)](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0xdb84fa,_0x3604aa);const _0xfa3126=this[_0x3e3253(0x1f2)]['getFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18);_0xfa3126!=null?_0x274d26[_0x3e3253(0x1b8)]=_0xfa3126:(this[_0x3e3253(0x1f2)]['addFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0x274d26),this[_0x3e3253(0x1f2)][_0x3e3253(0x1e2)](_0x274d26)),_0x4ff9bb[_0x3e3253(0x1d3)](_0x274d26),this['_dependencyTreeCache'][_0x3e3253(0x1a9)](_0x274d26[_0x3e3253(0x1b8)],_0x274d26);}),_0x4be4ee[_0x36577d(0x1f0)]();}}}[_0x573964(0x22b)](_0x35d2f9,_0x52d3f5,_0x18458d,_0x5befd8,_0x876e56,_0x163d16){const _0x4cb018=_0x573964,{f:_0x50888c,x:_0x1c13fc=0x0,y:_0xd3ae70=0x0}=_0x163d16,_0x2e415c=new _0x4be2a4(_0x3cc5c5(this[_0x4cb018(0x1f2)])),_0x4f64f4=_0x876e56[_0x35d2f9][_0x52d3f5];return _0x2e415c[_0x4cb018(0x1ea)]=_0x50888c,_0x2e415c[_0x4cb018(0x242)]=_0x35d2f9,_0x2e415c[_0x4cb018(0x1ac)]=_0x52d3f5,_0x2e415c[_0x4cb018(0x21c)]=_0x18458d,_0x2e415c[_0x4cb018(0x241)]=_0x5befd8,_0x2e415c['rowCount']=_0x4f64f4[_0x4cb018(0x207)],_0x2e415c[_0x4cb018(0x221)]=_0x4f64f4[_0x4cb018(0x221)],_0x2e415c;}[_0x573964(0x1d0)](){const _0x198d50=_0x573964,_0x4daea4=[],_0x631f05=new Set(),_0x33a245=this['_currentConfigService'][_0x198d50(0x1b7)](),_0x1f5ac4=this[_0x198d50(0x229)][_0x198d50(0x1ae)](),_0x4d725a=this[_0x198d50(0x1f2)][_0x198d50(0x205)](_0x1f5ac4),_0x537f65=this[_0x198d50(0x204)][_0x198d50(0x1da)](_0x1f5ac4);for(const _0x3c5b83 of _0x537f65)_0x4d725a[_0x198d50(0x21f)](_0x3c5b83);for(const [_0x5ee843,_0x31d2cf]of this[_0x198d50(0x1d7)])(_0x33a245||_0x31d2cf[_0x198d50(0x1cc)]||_0x31d2cf['dependencySheetName'](this[_0x198d50(0x229)][_0x198d50(0x24d)]())||_0x4d725a[_0x198d50(0x1ec)](_0x5ee843)&&!_0x31d2cf['isExcludeRange'](this[_0x198d50(0x229)][_0x198d50(0x1dc)]()))&&!_0x631f05['has'](_0x5ee843)&&(_0x4daea4[_0x198d50(0x1d3)](_0x31d2cf),_0x631f05['add'](_0x5ee843));for(const [_0x5bcf6a,_0x3f4bfd]of this[_0x198d50(0x1d7)])_0x3f4bfd[_0x198d50(0x23e)]||(_0x3f4bfd[_0x198d50(0x23d)]['length']=0x0);return _0x4daea4;}[_0x573964(0x1f1)](_0x20f5a4){const _0x42a457=_0x573964;return this[_0x42a457(0x1d7)][_0x42a457(0x1de)](_0x20f5a4);}[_0x573964(0x1d5)](_0x289cbe){const _0x56c7bb=_0x573964;return _0x2df1a6(_0x289cbe[_0x56c7bb(0x242)],_0x289cbe[_0x56c7bb(0x1ea)],this[_0x56c7bb(0x24f)],this['_astTreeBuilder'],this[_0x56c7bb(0x229)]);}*[_0x573964(0x1ff)](_0x52867e,_0x5b0b4a){const _0x32bee4=_0x573964,_0x131aff=_0x52867e,_0x2ed826=new Set();for(;_0x131aff[_0x32bee4(0x22d)]>0x0;){const _0x7d586d=_0x131aff[_0x32bee4(0x1e6)]();if(_0x2ed826[_0x32bee4(0x1f0)](),_0x7d586d===void 0x0||_0x7d586d[_0x32bee4(0x1af)]())continue;if(_0x7d586d[_0x32bee4(0x21e)]()){yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a[_0x32bee4(0x21f)](_0x7d586d[_0x32bee4(0x1b8)]);continue;}const _0xa0267e=this['_dependencyManagerService'][_0x32bee4(0x205)](_0x7d586d['toRTreeItem'](),_0x5b0b4a),_0x338a34=this[_0x32bee4(0x204)][_0x32bee4(0x1da)](_0x7d586d[_0x32bee4(0x1fb)](),_0x5b0b4a);for(const _0x4daf06 of _0x338a34)_0xa0267e[_0x32bee4(0x21f)](_0x4daf06);for(const _0x1df8df of _0xa0267e){const _0x678f46=this[_0x32bee4(0x1d7)][_0x32bee4(0x1de)](_0x1df8df);if(!_0x678f46)throw new Error(_0x32bee4(0x247));_0x678f46['isAdded']()||_0x7d586d[_0x32bee4(0x1af)]()||_0x2ed826[_0x32bee4(0x21f)](_0x678f46);}if(_0xa0267e[_0x32bee4(0x1f0)](),_0x2ed826[_0x32bee4(0x1e5)]===0x0)yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a['add'](_0x7d586d['treeId']);else{_0x7d586d[_0x32bee4(0x226)](),_0x131aff[_0x32bee4(0x1d3)](_0x7d586d);for(const _0x220093 of _0x2ed826)_0x131aff['push'](_0x220093);}}_0x131aff[_0x32bee4(0x22d)]=0x0,_0x2ed826[_0x32bee4(0x1f0)]();}['_calculateRunList'](_0x5d770d){const _0x30afa2=_0x573964,_0x325e8b=[],_0x48d382=new Set();for(const _0x441ba0 of this[_0x30afa2(0x1ff)](_0x5d770d,_0x48d382))_0x325e8b['push'](_0x441ba0);return _0x325e8b;}}class Ue extends _0x2e2257{constructor(){const _0x4f3767=_0x573964;super(...arguments),U(this,_0x4f3767(0x24a),!0x1),U(this,'_lambdaFunctionParameterSet',new Set());}[_0x573964(0x1ce)](_0x169dd7,_0xe5e1f1){const _0xa78c9=_0x573964,_0x17d5b7=this[_0xa78c9(0x211)](_0x169dd7,!0x1);if(!_0x17d5b7||_0x17d5b7===_0x1a8afa[_0xa78c9(0x233)]||Array[_0xa78c9(0x1cb)](_0x17d5b7))return null;const _0x20e245=[];return this[_0xa78c9(0x24a)]=!0x1,this[_0xa78c9(0x1b0)](_0x17d5b7,_0x20e245,_0xe5e1f1),this[_0xa78c9(0x24a)]?'='+_0x20e245[_0xa78c9(0x258)](''):null;}[_0x573964(0x1b0)](_0x33db93,_0x1ee4d6,_0x331d42){const _0x51cf4f=_0x573964,_0x3b98c9=_0x33db93[_0x51cf4f(0x1b6)](),_0x58aa21=_0x3b98c9['trim'](),_0x4f35f4=_0x58aa21['toUpperCase'](),_0x521670=this['_clearFunctionString'](_0x4f35f4),_0x5182a6=_0x331d42(_0x521670);let _0x166538=0x0;_0x3b98c9===_0xb16712?_0x166538=0x3:_0x3b98c9===_0xbd1cbf?_0x166538=0x4:_0x3b98c9===_0x10ce6a?_0x166538=0x5:_0x39446b[_0x51cf4f(0x1ec)](_0x521670)?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0):_0x4f35f4===_0x13976a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x2):_0x4f35f4===_0x12300a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x1):_0x4f35f4===_0x9d5387[_0x51cf4f(0x1e3)]?_0x166538=0x8:_0x5d1a12['has'](_0x4f35f4)?_0x166538=0x7:_0x4f35f4===_0x1cb147[_0x51cf4f(0x1cd)]?(this[_0x51cf4f(0x239)](_0x33db93)&&(_0x166538=0x9),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9)):(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),_0x166538=0xa),_0x5182a6?(_0x166538!==0x2&&_0x166538!==0x1&&(_0x166538=0x6),_0x1ee4d6[_0x51cf4f(0x1d3)]('(')):_0x166538===0x9&&_0x1ee4d6[_0x51cf4f(0x1d3)]('(');const _0x3d5688=_0x33db93['getChildren'](),_0x1bbd43=_0x3d5688[_0x51cf4f(0x22d)];if(_0x166538===0x2){const _0x217afc=_0x3d5688[0x0];let _0x75e0d4=0x0;_0x217afc instanceof _0x23cfaa&&_0x217afc[_0x51cf4f(0x1b6)]()===_0x10ce6a&&(_0x75e0d4=0x1);for(let _0x3ad051=_0x75e0d4;_0x3ad051<_0x1bbd43-0x1;_0x3ad051++){const _0x574db7=_0x3d5688[_0x3ad051];if(_0x574db7 instanceof _0x23cfaa){const _0x25d965=_0x574db7[_0x51cf4f(0x1ca)]()[0x0];typeof _0x25d965==_0x51cf4f(0x1dd)&&(this['_lambdaFunctionParameterSet'][_0x51cf4f(0x1ec)](_0x25d965)&&console[_0x51cf4f(0x248)]('Lambda\x20parameter\x20name\x20\x22'+_0x25d965+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x25d965),_0x1ee4d6[_0x51cf4f(0x1d3)]('_xlpm.'+_0x25d965),this[_0x51cf4f(0x24a)]=!0x0);}_0x1ee4d6['push'](',');}this['_handleNewFunctionChild'](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x75e0d4===0x1&&(_0x1ee4d6[_0x51cf4f(0x1d3)](')'),_0x1ee4d6['push']('('),this[_0x51cf4f(0x1b0)](_0x217afc,_0x1ee4d6,_0x331d42)),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x1){for(let _0x582546=0x0;_0x582546<_0x1bbd43-0x1;_0x582546++){const _0x2c9e50=_0x3d5688[_0x582546];if(_0x2c9e50 instanceof _0x23cfaa&&_0x582546%0x2===0x0){const _0x5f17cb=_0x2c9e50['getChildren']()[0x0];if(typeof _0x5f17cb==_0x51cf4f(0x1dd)){this[_0x51cf4f(0x243)][_0x51cf4f(0x1ec)](_0x5f17cb)&&console[_0x51cf4f(0x248)](_0x51cf4f(0x231)+_0x5f17cb+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x5f17cb),_0x1ee4d6['push'](_0x51cf4f(0x1bb)+_0x5f17cb),this['_hasNewExcelFunction']=!0x0,_0x1ee4d6[_0x51cf4f(0x1d3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2c9e50,_0x1ee4d6,_0x331d42),_0x2c9e50 instanceof _0x23cfaa){const _0x252cb8=_0x3d5688[_0x582546+0x1];_0x252cb8&&_0x252cb8 instanceof _0x23cfaa&&_0x1ee4d6[_0x51cf4f(0x1d3)](',');}}this[_0x51cf4f(0x1c4)](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x8){const _0x2ca367=_0x3d5688[0x0],_0x64a63=_0x3d5688[0x1];this[_0x51cf4f(0x1c4)](_0x2ca367,_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),this[_0x51cf4f(0x1c4)](_0x64a63,_0x1ee4d6,_0x331d42);return;}}}for(let _0x21591e=0x0;_0x21591e<_0x1bbd43;_0x21591e++){const _0x3c1c98=_0x3d5688[_0x21591e];if(this[_0x51cf4f(0x1c4)](_0x3c1c98,_0x1ee4d6,_0x331d42),_0x3c1c98 instanceof _0x23cfaa){const _0x303017=_0x3d5688[_0x21591e+0x1];_0x303017&&_0x303017 instanceof _0x23cfaa&&_0x1ee4d6['push'](',');}}_0x166538===0x7&&_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),(_0x5182a6||_0x166538===0x9)&&_0x1ee4d6[_0x51cf4f(0x1d3)](')');}[_0x573964(0x1c4)](_0xca0f6f,_0x5ebe9a,_0x19e32c){const _0x2443ea=_0x573964;_0xca0f6f instanceof _0x23cfaa?this[_0x2443ea(0x1b0)](_0xca0f6f,_0x5ebe9a,_0x19e32c):this['_lambdaFunctionParameterSet'][_0x2443ea(0x1ec)](_0xca0f6f)?(_0x5ebe9a[_0x2443ea(0x1d3)]('_xlpm.'+_0xca0f6f),this[_0x2443ea(0x24a)]=!0x0):_0x5ebe9a[_0x2443ea(0x1d3)](_0xca0f6f);}[_0x573964(0x23b)](_0x47adf6){const _0xe51e86=_0x573964;let _0x4b85a1=_0x47adf6['trim']();if(!_0x4b85a1)return _0x4b85a1;const _0x9187d5=_0x4b85a1[0x0];if((_0x9187d5===_0x1cb147['AT']||_0x9187d5===_0x1cb147[_0xe51e86(0x1cd)]||_0x9187d5===_0x1cb147[_0xe51e86(0x20b)])&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x1)),!_0x4b85a1)return _0x4b85a1;const _0xaf532e=_0x4b85a1[_0x4b85a1[_0xe51e86(0x22d)]-0x1];return _0x5d1a12[_0xe51e86(0x1ec)](_0xaf532e)&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x0,-0x1)),_0x4b85a1;}[_0x573964(0x239)](_0x36877d){const _0x136346=_0x573964,_0x4a073f=_0x36877d['getChildren']()[0x0];if(!_0x4a073f||!(_0x4a073f instanceof _0x23cfaa)||_0x36877d[_0x136346(0x1ca)]()[_0x136346(0x22d)]>0x1)return!0x1;const _0x28f459=_0x4a073f[_0x136346(0x1ca)](),_0x1fe506=_0x28f459['length'];if(_0x1fe506===0x1)return!0x1;for(let _0x437ba3=0x0;_0x437ba3<_0x1fe506;_0x437ba3++){const _0x4efad5=_0x28f459[_0x437ba3];if(!(_0x4efad5 instanceof _0x23cfaa)&&_0x19d9d1['has'](_0x4efad5))return!0x0;}return!0x1;}}class ve extends _0x36e8da{async[_0x573964(0x22f)](_0x49f77a=!0x1){const _0x5086d8=_0x573964;_0x49f77a?this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY']),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());const _0x2a0846=await this[_0x5086d8(0x1fd)][_0x5086d8(0x22c)](),_0x53adc8=this[_0x5086d8(0x223)];_0x49f77a?(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x1d6)]),this['_runtimeService'][_0x5086d8(0x1c9)](_0x2a0846[_0x5086d8(0x22d)])):(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x24c)]),this[_0x5086d8(0x1f4)]['setTotalFormulasToCalculate'](_0x2a0846[_0x5086d8(0x22d)])),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());let _0x478b8c=[];const _0x4c36ee=this[_0x5086d8(0x1db)][_0x5086d8(0x1f7)](_0x584a32),_0x38a6f2=(_0x4c36ee==null?void 0x0:_0x4c36ee['intervalCount'])||_0x143eb6;let _0x363438=0x0;const _0x185b05=_0x2a0846[_0x5086d8(0x22d)];for(;_0x2a0846[_0x5086d8(0x22d)]>0x0;){const _0x35f5b5=_0x2a0846[_0x5086d8(0x1e6)](),_0x5f4662=_0x2df1a6(_0x35f5b5[_0x5086d8(0x242)],_0x35f5b5[_0x5086d8(0x1ea)],this[_0x5086d8(0x24f)],this[_0x5086d8(0x23f)],this[_0x5086d8(0x229)]),_0x5429fa={'node':_0x5f4662,'refOffsetX':_0x35f5b5['refOffsetX'],'refOffsetY':_0x35f5b5[_0x5086d8(0x208)]},_0x2c5d04=_0x35f5b5['getDirtyData'];if(_0x363438%_0x38a6f2===0x0&&(await new Promise(_0x13a954=>{const _0x176115=_0x89b5b9(_0x13a954);_0x478b8c['push'](_0x176115);}),_0x49f77a?(this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x236)]),this[_0x5086d8(0x1f4)]['setCompletedArrayFormulasCount'](_0x363438+0x1)):(this['_runtimeService'][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x225)]),this[_0x5086d8(0x1f4)][_0x5086d8(0x213)](_0x363438+0x1)),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)]['getRuntimeState']()),this['_runtimeService']['isStopExecution']()||_0x5429fa==null&&_0x2c5d04==null)){this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x1b5)]),this['_runtimeService'][_0x5086d8(0x217)](),this['_executionCompleteListener$'][_0x5086d8(0x237)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x5086d8(0x1f4)][_0x5086d8(0x20c)](_0x35f5b5['row'],_0x35f5b5[_0x5086d8(0x241)],_0x35f5b5['rowCount'],_0x35f5b5[_0x5086d8(0x221)],_0x35f5b5['subUnitId'],_0x35f5b5[_0x5086d8(0x242)]);let _0xe73bd5;if(_0x2c5d04!=null&&_0x35f5b5[_0x5086d8(0x24b)]!=null){const {runtimeCellData:_0x8e4660,dirtyRanges:_0x1bc327}=_0x2c5d04(this[_0x5086d8(0x229)][_0x5086d8(0x235)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]());this[_0x5086d8(0x1f4)]['setRuntimeFeatureCellData'](_0x35f5b5[_0x5086d8(0x24b)],_0x8e4660),this[_0x5086d8(0x1f4)][_0x5086d8(0x209)](_0x35f5b5['featureId'],_0x1bc327);}else _0x5429fa!=null&&(_0x53adc8['checkAsyncNode'](_0x5429fa[_0x5086d8(0x234)])?_0xe73bd5=await _0x53adc8[_0x5086d8(0x1ed)](_0x5429fa):_0xe73bd5=_0x53adc8[_0x5086d8(0x1c8)](_0x5429fa),_0x35f5b5[_0x5086d8(0x1f5)]!=null?this[_0x5086d8(0x1f4)]['setRuntimeOtherData'](_0x35f5b5['formulaId'],_0x35f5b5[_0x5086d8(0x1ad)],_0x35f5b5[_0x5086d8(0x208)],_0xe73bd5):this['_runtimeService'][_0x5086d8(0x200)](_0xe73bd5));_0x5f4662[_0x5086d8(0x1c2)](),_0x363438++;}return _0x478b8c['forEach'](_0x52a1f5=>_0x52a1f5()),_0x478b8c=[],_0x185b05>0x0?this[_0x5086d8(0x1f4)][_0x5086d8(0x1b2)]():_0x49f77a||this['_runtimeService'][_0x5086d8(0x1b9)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]();}}class we extends _0x3514fc{constructor(){const _0x295d5e=_0x573964;super(...arguments),U(this,_0x295d5e(0x250),new Map()),U(this,_0x295d5e(0x201),new _0xb5d364(!0x0));}[_0x573964(0x227)](){const _0x1552c5=_0x573964;this[_0x1552c5(0x245)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x1ee)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x214)][_0x1552c5(0x1f0)](),this['_dependencyRTreeCache'][_0x1552c5(0x1f0)](),this[_0x1552c5(0x250)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x216)](),this[_0x1552c5(0x1c6)]['clear']();}['addOtherFormulaDependency'](_0x393259,_0x27c53d,_0x2c1ae9,_0x4d1d7d){const _0x4724f2=_0x573964;this[_0x4724f2(0x245)][_0x4724f2(0x1ec)](_0x393259)||this[_0x4724f2(0x245)]['set'](_0x393259,new Map());const _0xc59ded=this['_otherFormulaData'][_0x4724f2(0x1de)](_0x393259);_0xc59ded[_0x4724f2(0x1ec)](_0x27c53d)||_0xc59ded[_0x4724f2(0x1a9)](_0x27c53d,new Map());const _0x5d8f7a=_0xc59ded[_0x4724f2(0x1de)](_0x27c53d);_0x5d8f7a['has'](_0x2c1ae9)||_0x5d8f7a[_0x4724f2(0x1a9)](_0x2c1ae9,new _0x5ac77f()),_0x5d8f7a[_0x4724f2(0x1de)](_0x2c1ae9)[_0x4724f2(0x1f6)](_0x4d1d7d[_0x4724f2(0x1ad)],_0x4d1d7d[_0x4724f2(0x208)],_0x4d1d7d[_0x4724f2(0x1b8)]);}[_0x573964(0x222)](_0x2fab56,_0x44b7e3,_0x247895){const _0x206db3=_0x573964,_0x5b54f2=this['_otherFormulaData'][_0x206db3(0x1de)](_0x2fab56);if(_0x5b54f2&&_0x5b54f2[_0x206db3(0x1ec)](_0x44b7e3)){const _0x33616c=_0x5b54f2[_0x206db3(0x1de)](_0x44b7e3);_0x247895['forEach'](_0x44269f=>{const _0x26705f=_0x206db3,_0x47c5e1=_0x33616c['get'](_0x44269f);_0x47c5e1!=null&&(_0x47c5e1['forValue']((_0xa5b42b,_0x66e3fd,_0x1c631a)=>{const _0x424623=_0xdec2;this[_0x424623(0x20d)](_0x1c631a),this['_removeAllTreeMap'](_0x1c631a);}),_0x33616c[_0x26705f(0x252)](_0x44269f),this[_0x26705f(0x1c6)][_0x26705f(0x252)](_0x44269f));}),_0x33616c[_0x206db3(0x1e5)]===0x0&&_0x5b54f2[_0x206db3(0x252)](_0x44b7e3),_0x5b54f2[_0x206db3(0x1e5)]===0x0&&this['_otherFormulaData'][_0x206db3(0x252)](_0x2fab56);}}[_0x573964(0x1c5)](_0x34ecf4,_0x9ac1c2){const _0x4cb7d0=_0x573964,_0x4d8e87=this[_0x4cb7d0(0x245)][_0x4cb7d0(0x1de)](_0x34ecf4);if(_0x9ac1c2&&_0x4d8e87&&_0x4d8e87[_0x4cb7d0(0x1ec)](_0x9ac1c2)){const _0x34d9fb=_0x4d8e87['get'](_0x9ac1c2);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0x9ac1c2);for(const _0x427b8a of _0x34d9fb[_0x4cb7d0(0x1c7)]()){const _0x565d3c=_0x34d9fb['get'](_0x427b8a);_0x565d3c!=null&&(_0x565d3c[_0x4cb7d0(0x238)]((_0x16fc62,_0x14e68e,_0xa7d9a)=>{const _0x94973a=_0x4cb7d0;this[_0x94973a(0x250)][_0x94973a(0x1de)](_0xa7d9a)&&this['_removeAllTreeMap'](_0xa7d9a);}),this['_otherFormulaDataMainData'][_0x4cb7d0(0x252)](_0x427b8a));}_0x34d9fb['clear']();}else{if(_0x4d8e87){for(const _0xe41ff5 of _0x4d8e87['keys']()){const _0x2f2843=_0x4d8e87[_0x4cb7d0(0x1de)](_0xe41ff5);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0xe41ff5);for(const _0x1be7fe of _0x2f2843[_0x4cb7d0(0x1c7)]()){const _0xb930d7=_0x2f2843[_0x4cb7d0(0x1de)](_0x1be7fe);_0xb930d7!=null&&(_0xb930d7['forValue']((_0x8bf310,_0x25f292,_0x45f102)=>{const _0x3cccfc=_0x4cb7d0;this[_0x3cccfc(0x250)][_0x3cccfc(0x1de)](_0x45f102)&&this[_0x3cccfc(0x1cf)](_0x45f102);}),this[_0x4cb7d0(0x1c6)][_0x4cb7d0(0x252)](_0x1be7fe));}}this['_otherFormulaData'][_0x4cb7d0(0x252)](_0x34ecf4);}}}[_0x573964(0x1ba)](_0x5121ef,_0x30bde5,_0x4c4034,_0x18c808){const _0x180054=_0x573964;this[_0x180054(0x1ee)][_0x180054(0x1ec)](_0x5121ef)||this[_0x180054(0x1ee)][_0x180054(0x1a9)](_0x5121ef,new Map());const _0x391148=this[_0x180054(0x1ee)]['get'](_0x5121ef);_0x391148['has'](_0x30bde5)||_0x391148[_0x180054(0x1a9)](_0x30bde5,new Map()),_0x391148['get'](_0x30bde5)[_0x180054(0x1a9)](_0x4c4034,_0x18c808[_0x180054(0x1b8)]);}[_0x573964(0x1e7)](_0x26c6f9,_0xe47f96,_0x2c3497){const _0x396520=_0x573964,_0xd376ef=this[_0x396520(0x1ee)][_0x396520(0x1de)](_0x26c6f9);if(_0xd376ef&&_0xd376ef[_0x396520(0x1ec)](_0xe47f96)){const _0x3d9fe4=_0xd376ef[_0x396520(0x1de)](_0xe47f96);_0x2c3497[_0x396520(0x224)](_0x43f7d0=>{const _0x65fa37=_0x396520,_0x21e7e5=_0x3d9fe4[_0x65fa37(0x1de)](_0x43f7d0);_0x21e7e5!=null&&(this[_0x65fa37(0x20d)](_0x21e7e5),_0x3d9fe4[_0x65fa37(0x252)](_0x43f7d0),this[_0x65fa37(0x1cf)](_0x21e7e5));});}}[_0x573964(0x1eb)](_0x523b57,_0x41e5b5){const _0x4bd84f=_0x573964,_0x308d35=this[_0x4bd84f(0x1ee)][_0x4bd84f(0x1de)](_0x523b57);if(_0x41e5b5&&_0x308d35&&_0x308d35[_0x4bd84f(0x1ec)](_0x41e5b5)){const _0x1349b5=_0x308d35[_0x4bd84f(0x1de)](_0x41e5b5);this[_0x4bd84f(0x1e4)](_0x523b57,_0x41e5b5),_0x1349b5[_0x4bd84f(0x224)](_0x28df37=>{const _0x4ae3ca=_0x4bd84f;_0x28df37!=null&&this[_0x4ae3ca(0x1cf)](_0x28df37);}),_0x1349b5[_0x4bd84f(0x1f0)]();}else _0x308d35&&(_0x308d35['forEach']((_0x2cc08b,_0x19d9e3)=>{const _0x5e4f3b=_0x4bd84f;this[_0x5e4f3b(0x1e4)](_0x523b57,_0x19d9e3),_0x2cc08b[_0x5e4f3b(0x224)](_0xdbb06=>{_0xdbb06!=null&&this['_removeAllTreeMap'](_0xdbb06);});}),this[_0x4bd84f(0x1ee)]['delete'](_0x523b57));}['addFormulaDependency'](_0x318f3f,_0x4387a7,_0xf42f60,_0x5b8fbf,_0x5db769){const _0x54d585=_0x573964;this[_0x54d585(0x214)][_0x54d585(0x1ec)](_0x318f3f)||this['_formulaData']['set'](_0x318f3f,new Map());const _0x177267=this[_0x54d585(0x214)]['get'](_0x318f3f);_0x177267[_0x54d585(0x1ec)](_0x4387a7)||_0x177267[_0x54d585(0x1a9)](_0x4387a7,new _0x5ac77f()),_0x177267['get'](_0x4387a7)['setValue'](_0xf42f60,_0x5b8fbf,_0x5db769[_0x54d585(0x1b8)]);}[_0x573964(0x1fc)](_0x276225,_0x465c40,_0x424aa5,_0x469417){const _0x4c81f1=_0x573964,_0x2a3f61=this[_0x4c81f1(0x214)]['get'](_0x276225);if(_0x2a3f61&&_0x2a3f61[_0x4c81f1(0x1ec)](_0x465c40)){const _0x2b78a1=_0x2a3f61[_0x4c81f1(0x1de)](_0x465c40),_0x33d3bc=_0x2b78a1[_0x4c81f1(0x1a7)](_0x424aa5,_0x469417);if(_0x33d3bc==null)return;this[_0x4c81f1(0x20d)](_0x33d3bc),_0x2b78a1[_0x4c81f1(0x1bf)](_0x424aa5,_0x469417),this['_removeAllTreeMap'](_0x33d3bc);}}[_0x573964(0x240)](_0xb91544,_0x25d15e){const _0x1349ec=_0x573964,_0x461702=this[_0x1349ec(0x214)][_0x1349ec(0x1de)](_0xb91544);if(_0x25d15e&&_0x461702&&_0x461702[_0x1349ec(0x1ec)](_0x25d15e)){const _0x308395=_0x461702['get'](_0x25d15e);this[_0x1349ec(0x1e4)](_0xb91544,_0x25d15e),_0x308395[_0x1349ec(0x238)]((_0x31e7a5,_0x3e4109,_0x295834)=>{const _0xb327e2=_0x1349ec;if(_0x295834==null)return!0x0;this[_0xb327e2(0x1cf)](_0x295834);}),_0x308395[_0x1349ec(0x227)]();}else _0x461702&&(_0x461702[_0x1349ec(0x224)]((_0x339d2a,_0x46d02c)=>{const _0x1bb173=_0x1349ec;this['_removeDependencyRTreeCacheById'](_0xb91544,_0x46d02c),_0x339d2a[_0x1bb173(0x238)]((_0xc4f6b8,_0x48b034,_0x89ce40)=>{if(_0x89ce40==null)return!0x0;this['_removeAllTreeMap'](_0x89ce40);});}),this[_0x1349ec(0x214)][_0x1349ec(0x252)](_0xb91544));}['_removeDependencyRTreeCache'](_0x4b1fa4){const _0x2675d3=_0x573964;if(_0x4b1fa4==null)return;const _0x49d62a=this[_0x2675d3(0x250)][_0x2675d3(0x1de)](_0x4b1fa4);if(_0x49d62a){const _0x35ad35=[];for(const [_0x346148,_0x4e39e9]of _0x49d62a)for(const [_0x113283,_0x1e0b67]of _0x4e39e9)_0x35ad35[_0x2675d3(0x1d3)]({'unitId':_0x346148,'sheetId':_0x113283,'range':_0x1e0b67,'id':_0x4b1fa4});this['_dependencyRTreeCache'][_0x2675d3(0x1a8)](_0x35ad35);}}[_0x573964(0x203)](_0x5ad3d3,_0x4a6959){const _0x41c875=_0x573964,_0xafbf1a=this['_definedNameMap'][_0x41c875(0x1de)](_0x5ad3d3);if(_0xafbf1a){const _0x5dac1c=_0xafbf1a[_0x41c875(0x1de)](_0x4a6959);if(_0x5dac1c){for(const _0x70bdc of _0x5dac1c)this[_0x41c875(0x20d)](_0x70bdc),this[_0x41c875(0x1cf)](_0x70bdc);_0x5dac1c[_0x41c875(0x1f0)]();}}}[_0x573964(0x1d4)](){const _0x308219=_0x573964;this[_0x308219(0x201)][_0x308219(0x1d4)]();}[_0x573964(0x1ab)](){const _0x3ad32f=_0x573964;this[_0x3ad32f(0x201)][_0x3ad32f(0x1ab)]();}['_removeAllTreeMap'](_0x3b0872){const _0x4c43f8=_0x573964;_0x3b0872!=null&&this[_0x4c43f8(0x250)][_0x4c43f8(0x252)](_0x3b0872);}['_addAllTreeMap'](_0x398d57){const _0x4d4ad4=_0x573964;var _0xb6bdaf,_0x480abb;const _0x4997de=_0x398d57[_0x4d4ad4(0x23d)];let _0x544060=this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1de)](_0x398d57[_0x4d4ad4(0x1b8)]);for(let _0x4b959d=0x0;_0x4b959d<_0x4997de['length'];_0x4b959d++){const _0x210e31=_0x4997de[_0x4b959d];let {unitId:_0x3bdc35,sheetId:_0x5c1d2c,range:_0x25dfb5}=_0x210e31;_0x544060||(_0x544060=new Map(),this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1a9)](_0x398d57['treeId'],_0x544060)),_0x544060['has'](_0x3bdc35)||_0x544060[_0x4d4ad4(0x1a9)](_0x3bdc35,new Map());const _0x23eccc=(_0xb6bdaf=_0x544060==null?void 0x0:_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null?void 0x0:_0xb6bdaf['get'](_0x5c1d2c);_0x23eccc&&(_0x25dfb5={'startRow':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x228)],_0x23eccc[_0x4d4ad4(0x228)]),'startColumn':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x230)],_0x23eccc['startColumn']),'endRow':Math[_0x4d4ad4(0x249)](_0x25dfb5['endRow'],_0x23eccc[_0x4d4ad4(0x1c3)]),'endColumn':Math[_0x4d4ad4(0x249)](_0x25dfb5[_0x4d4ad4(0x1df)],_0x23eccc['endColumn'])}),(_0x480abb=_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null||_0x480abb['set'](_0x5c1d2c,_0x25dfb5);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x509aa9,_0x71470c,_0x322a65,_0x47dc97)=>{const _0x32f391=_0x573964;for(var _0x1afd9c=_0x47dc97>0x1?void 0x0:_0x47dc97?Me(_0x71470c,_0x322a65):_0x71470c,_0x1290c0=_0x509aa9[_0x32f391(0x22d)]-0x1,_0x583d23;_0x1290c0>=0x0;_0x1290c0--)(_0x583d23=_0x509aa9[_0x1290c0])&&(_0x1afd9c=_0x583d23(_0x1afd9c)||_0x1afd9c);return _0x1afd9c;};const Re=Number[_0x573964(0x1c1)](0x69218da5);let B=class extends _0x16eec9{[_0x573964(0x23a)](){const _0x1d0137=_0x573964;var _0x100686,_0x399100;this[_0x1d0137(0x1c0)]()?(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':Ue}]),(_0x100686=this[_0x1d0137(0x1d1)])!=null&&_0x100686[_0x1d0137(0x232)]||[[_0x19f4ab,{'useClass':ve}],[_0x345d5c,{'useClass':we}],[_0x1e8dfb,{'useClass':Pe}]][_0x1d0137(0x224)](_0x30ac47=>this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)](_0x30ac47))):(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':_0x2e2257}]),(_0x399100=this[_0x1d0137(0x1d1)])!=null&&_0x399100['notExecuteFormula']||[[_0x19f4ab,{'useClass':_0x36e8da}],[_0x345d5c,{'useClass':_0x5f330d}],[_0x1e8dfb,{'useClass':_0x255910}]]['forEach'](_0x591f48=>this[_0x1d0137(0x1e0)]['add'](_0x591f48)));}[_0x573964(0x1c0)](){const _0x160f77=_0x573964;var _0x3e82fb;const _0x40ffd2=(_0x3e82fb=this[_0x160f77(0x1db)][_0x160f77(0x1f7)](_0x2af99a))!=null?_0x3e82fb:{},{ls:_0x32b9a9,pbk:_0x169d09}=_0x40ffd2;if(!_0x32b9a9||!_0x169d09)return!0x1;const _0xa3bba8=_0x2d427c(Oe,Ce),_0x1d8837=new Function(_0x160f77(0x206)+_0xa3bba8)()(_0x32b9a9,_0x169d09),_0x1baff1=_0x1d8837['message'];return _0x1d8837[_0x160f77(0x24e)]&&_0x38ee9b(_0x1baff1,'sf',Re)?_0x456be1(_0x1baff1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};B=Se([_0x3cc641(_0x2cd21f)],B);export{B as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5be7cc=_0x256e;(function(_0x386476,_0x5cbee0){const _0xda2f2=_0x256e,_0x46fd96=_0x386476();while(!![]){try{const _0x488a96=-parseInt(_0xda2f2(0x136))/0x1+parseInt(_0xda2f2(0x120))/0x2+-parseInt(_0xda2f2(0xe5))/0x3*(parseInt(_0xda2f2(0xc1))/0x4)+parseInt(_0xda2f2(0x106))/0x5+parseInt(_0xda2f2(0x10c))/0x6*(parseInt(_0xda2f2(0x105))/0x7)+-parseInt(_0xda2f2(0x11f))/0x8+parseInt(_0xda2f2(0xfc))/0x9;if(_0x488a96===_0x5cbee0)break;else _0x46fd96['push'](_0x46fd96['shift']());}catch(_0x367d2d){_0x46fd96['push'](_0x46fd96['shift']());}}}(_0x228a,0xc7462));var Q=Object[_0x5be7cc(0xa0)],Z=(_0x4fe628,_0x5c4000,_0x5b7ec7)=>_0x5c4000 in _0x4fe628?Q(_0x4fe628,_0x5c4000,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b7ec7}):_0x4fe628[_0x5c4000]=_0x5b7ec7,R=(_0x490f3e,_0x5df043,_0x206599)=>Z(_0x490f3e,typeof _0x5df043!='symbol'?_0x5df043+'':_0x5df043,_0x206599);import{UniverLicensePlugin as _0x5f75ec,LS_CONFIG_KEY as _0x50b1b7,unshiftString as _0x2979d7,isFeatureAuthorizedWithinTime as _0x509243,getSheetFeatureLimit as _0x484bcc}from'@univerjs-pro/license';import{ObjectMatrix as _0x3ca31c,requestImmediateMacroTask as _0x184844,RTree as _0x23e3d8,DependentOn as _0x31e99a}from'@univerjs/core';function _0x228a(){const _0x3ba270=['row','length','formula','clearOtherFormulaDependency','addFormulaDependencyByDefinedName','_xlpm.','keys','_otherFormulaDataMainData','parseInt','setRuntimeFeatureRange','next','column','rangeList','executeAsync','_removeDependencyRTreeCacheById','addOtherFormulaDependency','bulkRemove','\x22\x20is\x20duplicated.','getToken','setValue','execute','_configService','startRow','getChildren','_config','_dependencyTreeCache','generate','removeFormulaDependencyByDefinedName','addFeatureFormulaDependency','isExcludeRange','featureId','markedAsSuccessfullyExecuted','_executionCompleteListener$','return\x20','141234lwKnev','getOtherFormulaData','hasOtherFormulaDataMainData','isArray','_lambdaFunctionParameterSet','COLON','reset','_initializeWithOverride','clearFeatureFormulaDependency','has','_dependencyRTreeCacheForAddressFunction','setFormulaExecuteStage','endRow','openKdTree','checkAsyncNode','refTree','_removeAllTreeMap','_restDependencyTreeId','_calculateRunList','_dependencyManagerService','_injector','getDirtyNameMap','_getUpdateTreeListAndMakeDependency','4070790JQvjCo','_featureFormulaData','_checkAddBracketForMinus','max','Let\x20variable\x20name\x20\x22','_generateNewFunctionString','dispose','getValue','_allTreeMap','2478112lUKZgl','7373080GHyTzL','refOffsetY','rowCount','ParentDependencyTree\x20object\x20is\x20null','_updateRangeFlatten','refOffsetX','18mgwaHQ','closeKdTree','_runtimeService','getAllRuntimeData','formulaId','forEach','_getFeatureFormulaTree','CURRENTLY_CALCULATING','Lambda\x20parameter\x20name\x20\x22','isStopExecution','searchDependency','setTotalArrayFormulasToCalculate','isForceCalculate','addFormulaDependency','trim','toRTreeItem','START_DEPENDENCY_ARRAY_FORMULA','_currentConfigService','_registerFormulas','10171664fwoiWO','2030252DuzYTn','setTotalFormulasToCalculate','endColumn','_isCyclicUtilMap','_handleNewFunctionChild','columnCount','_registerOtherFormulas','treeId','getFormulaData','forValue','pop','_astTreeBuilder','delete','startColumn','CURRENTLY_CALCULATING_ARRAY_FORMULA','_hasNewExcelFunction','R3UMFVXU\x20ByMotgFVXU(lVMyUGy,\x20g39lVMIyt)\x20{\x20\x20\x20\x20Fot\x20{\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20lVMyUGyuURX6qoFeooqt\x20=\x20lVMyUGy.GglVF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20XoVOVUwyGGqOy\x20=\x20KznP.gqoGy(qFX9(lVMyUGyuURX6qoFeooqt[x]));\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!XoVOVUwyGGqOy.3B)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XoVOVUwyGGqOy.3B\x20=\x20P329yo(lVMyUGyuURX6qoFeooqt[L]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VG7XoTyo\x20=\x20FtgyXR\x207XoTyoAlX9qlzMXgy\x20!==\x20\x273UByRVUyB\x27\x20&&\x20GylR\x20VUGFqUMyXR\x207XoTyoAlX9qlzMXgy;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VGDoXvGyo\x20=\x20FtgyXR\x20vVUBXv\x20!==\x20\x273UByRVUyB\x27\x20&&\x20FtgyXR\x20vVUBXv.lXMqFVXU\x20!==\x20\x273UByRVUyB\x27;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20MXUFy1F\x20=\x20VG7XoTyo\x20?\x20GylR\x20:\x20(VGDoXvGyo\x20?\x20vVUBXv\x20:\x20OlX9qlW0VG);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[x]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(2yGGqOy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[E]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(GVOUqF3oy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUhqlVB\x20=\x20MXUFy1F.__CyoVRt__(GVOUqF3oy,\x202yGGqOy,\x20g39lVMIyt);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20BX2qVU\x20=\x20XoVOVUwyGGqOy.B2;\x20\x20\x20\x20\x20\x20\x20\x20R3UMFVXU\x20VG4X2qVUwqFM0VUO(X6qFFyoU,\x20XdXGF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU\x20=\x20X6qFFyoU.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF\x20=\x20XdXGF.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU6qoFG\x20=\x20gqFFyoU.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF6qoFG\x20=\x200XGF.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!gqFFyoU.VUMl3ByG(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoU\x20===\x200XGF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(gqFFyoU6qoFG.lyUOF0\x20<\x20x\x20||\x20gqFFyoU6qoFG[s]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoUz3RRV1\x20=\x20gqFFyoU6qoFG.GlVMy(S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGFz3RRV1\x20=\x200XGF6qoFG.GlVMy(-gqFFyoU6qoFG.lyUOF0\x20+\x20S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoUz3RRV1\x20===\x200XGFz3RRV1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lyF\x20BX2qVUhqlVB\x20=\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(VGDoXvGyo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20(BX2qVU\x20&&\x20BX2qVU.lyUOF0)\x20?\x20BX2qVU.GX2y((B2uFy2)\x20=>\x20VG4X2qVUwqFM0VUO(B2uFy2,\x20lXMqFVXU.0XGFUq2y))\x20:\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(lXMqFVXU.0XGFUq2y\x20===\x20\x27lXMql0XGF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20ylGy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20CqlVB\x20=\x20GVOUhqlVB\x20&&\x20BX2qVUhqlVB;\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20XoVOVUwyGGqOy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20MqFM0\x20(yooXo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB:\x20RqlGy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_xlfn.','getExcludedRange','node','join','bulkSearch','315764NNuRQp','clearFormulaDependency','getConfig','add','setSkip','_formulaData','push','addOtherFormulaDependencyMainData','unitId','getClearDependencyTreeCache','_removeDependencyRTreeCache','_createFDtree','type','clearArrayObjectCache','string','_otherFormulaData','getFormulaDependency','getDirtyData','getNewFormulaWithPrefix','treeBuilder','intervalCount','size','defineProperty','_definedNameMap','set','setRuntimeData','subUnitId','START_DEPENDENCY','OTHER_FORMULA','_dependencyRTreeCache','isVirtual','_generateTreeList','get','isCache','START_CALCULATION_ARRAY_FORMULA','isSkip','dependencySheetName','setCompletedFormulasCount','clear','_interpreter','PLUS','_clearFunctionString','_executionInProgressListener$','getRuntimeState','MINUS','_traverse','_initLicenseValid','resolve','IDLE','getUnitData','valid','min','markedAsStopFunctionsExecuted','_formulaDependencyGenerator','dirtyRanges','136bzjPIZ','removeFeatureFormulaDependency'];_0x228a=function(){return _0x3ba270;};return _0x228a();}import{FormulaDependencyGenerator as _0x2b4f99,generateRandomDependencyTreeId as _0x148431,FormulaDependencyTree as _0x15d920,FormulaDependencyTreeType as _0x25082c,FormulaDependencyTreeVirtual as _0xe83157,generateAstNode as _0x29f220,LexerTreeBuilder as _0x4b7001,ErrorType as _0x51d341,DEFAULT_TOKEN_TYPE_ROOT as _0x360ae4,DEFAULT_TOKEN_TYPE_PARAMETER as _0x37b20a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x21960f,NEW_EXCEL_FUNCTIONS as _0x135ce3,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x2cb580,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x56c907,matchToken as _0x311e8e,SUFFIX_TOKEN_SET as _0x159065,prefixToken as _0x2547d8,LexerNode as _0x16e21a,OPERATOR_TOKEN_SET as _0x35d1c4,CalculateFormulaService as _0x2f6c3f,FormulaExecuteStageType as _0x364130,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x408e1a,DEFAULT_INTERVAL_COUNT as _0x50c519,DependencyManagerBaseService as _0x2e749c,UniverFormulaEnginePlugin as _0x773104,ICalculateFormulaService as _0x14d79c,IDependencyManagerService as _0x14ac23,IFormulaDependencyGenerator as _0x3a0813,DependencyManagerService as _0x540147}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'h',0x1:'x',0x2:'m',0x3:'u',0x4:'D',0x5:'Q',0x6:'P',0x7:'W',0x8:'E',0x9:'b','s':'0','S':'1','x':'2','E':'3','L':'4','j':'5','a':'6','f':'7','J':'8','Q':'9','q':'a','M':'c','B':'d','y':'e','R':'f','O':'g','V':'i','c':'j','T':'k','l':'l','U':'n','X':'o','g':'p','b':'q','o':'r','G':'s','F':'t','C':'v','v':'w','t':'y','H':'z','e':'A','D':'B','Y':'C','p':'F','A':'G','d':'H','u':'I','K':'J','I':'K','N':'L','w':'M','P':'N','n':'O','r':'R','z':'S','W':'T','k':'U','h':'V','Z':'X','m':'Y','i':'Z'},Ce=_0x5be7cc(0x130);class Ue extends _0x2b4f99{constructor(){const _0x4d792d=_0x5be7cc;super(...arguments),R(this,_0x4d792d(0xdc),new Map());}[_0x5be7cc(0x102)](){const _0x143954=_0x5be7cc;super['dispose'](),this[_0x143954(0xdc)][_0x143954(0xb0)]();}async[_0x5be7cc(0xdd)](){const _0x401ce1=_0x5be7cc;this[_0x401ce1(0x10a)]();const _0x2dae24=this[_0x401ce1(0x11d)][_0x401ce1(0x128)](),_0xf94ba8=this['_otherFormulaManagerService'][_0x401ce1(0xe6)](),_0x1b3994=this[_0x401ce1(0x11d)][_0x401ce1(0x13f)]();_0x1b3994!=null&&Object['keys'](_0x1b3994)[_0x401ce1(0x111)](_0x1bd878=>{_0x1bd878!=null&&Object['keys'](_0x1b3994[_0x1bd878])['forEach'](_0x1817f1=>{const _0x2da5c0=_0x256e;_0x1817f1!=null&&(this['_dependencyManagerService'][_0x2da5c0(0xc6)](_0x1bd878,_0x1817f1),this[_0x2da5c0(0xf8)][_0x2da5c0(0xed)](_0x1bd878,_0x1817f1),this[_0x2da5c0(0xf8)][_0x2da5c0(0x137)](_0x1bd878,_0x1817f1));});});const _0x44395b=this[_0x401ce1(0x11d)][_0x401ce1(0xbb)]();await this[_0x401ce1(0xa9)](_0x2dae24,_0xf94ba8,_0x44395b),this[_0x401ce1(0xf8)][_0x401ce1(0xf2)]();const _0xd02901=this['_getUpdateTreeListAndMakeDependency'](),_0x5b34ff=this[_0x401ce1(0xf7)](_0xd02901);return this['_checkIsCycleDependency'](_0x5b34ff)&&this[_0x401ce1(0x10e)]['enableCycleDependency'](),this[_0x401ce1(0xdc)][_0x401ce1(0xb0)](),this[_0x401ce1(0xef)][_0x401ce1(0xb0)](),this[_0x401ce1(0xf8)][_0x401ce1(0x10d)](),this['_runtimeService'][_0x401ce1(0x143)](),Promise[_0x401ce1(0xb9)](_0x5b34ff);}['_isCyclicUtilMap'](_0x2d5ddc,_0x271da1){const _0xc97ffa=_0x5be7cc,_0x16bb92=[_0x2d5ddc];for(;_0x16bb92['length']>0x0;){const _0x300629=_0x16bb92[_0x16bb92[_0xc97ffa(0xc4)]-0x1];if((_0x271da1[_0xc97ffa(0xaa)](_0x300629)||0x0)===0x0){_0x271da1['set'](_0x300629,0x1);const _0x27d808=this['_dependencyTreeCache'][_0xc97ffa(0xaa)](_0x300629);if(_0x27d808==null){_0x271da1[_0xc97ffa(0xa2)](_0x300629,0x2),_0x16bb92[_0xc97ffa(0x12a)]();continue;}const _0x5ebe29=this['_dependencyManagerService'][_0xc97ffa(0x116)](_0x27d808[_0xc97ffa(0x11b)]());for(const _0x566bb6 of _0x5ebe29){const _0x3330ee=_0x271da1['get'](_0x566bb6)||0x0;if(_0x3330ee===0x1)return!0x0;_0x3330ee===0x0&&_0x16bb92['push'](_0x566bb6);}}else _0x271da1['set'](_0x300629,0x2),_0x16bb92[_0xc97ffa(0x12a)]();}return!0x1;}['_checkIsCycleDependency'](_0x1baa5d){const _0x1b1c11=_0x5be7cc,_0x27c4f4=new Map();for(const _0x4714a0 of _0x1baa5d)if(!_0x27c4f4[_0x1b1c11(0xee)](_0x4714a0[_0x1b1c11(0x127)])&&this[_0x1b1c11(0x123)](_0x4714a0[_0x1b1c11(0x127)],_0x27c4f4))return!0x0;return _0x27c4f4['clear'](),!0x1;}[_0x5be7cc(0x112)](_0x2769db,_0x35db05,_0x182cbc){const _0x22768f=_0x5be7cc,{unitId:_0x3b9c04,subUnitId:_0x5a25fa,dependencyRanges:_0x36126c,getDirtyData:_0x1a28ae}=_0x182cbc,_0x1f8c7e=_0x35db05||_0x148431(this['_dependencyManagerService']),_0x597538=new _0x15d920(_0x1f8c7e);_0x597538[_0x22768f(0x13e)]=_0x3b9c04,_0x597538[_0x22768f(0xa4)]=_0x5a25fa,_0x597538['rangeList']=_0x36126c,_0x597538[_0x22768f(0x147)]=_0x1a28ae;const _0x2446ff=_0x1a28ae(this['_currentConfigService'][_0x22768f(0x147)](),this[_0x22768f(0x10e)][_0x22768f(0x10f)]()),_0x3303f4=this['_convertDirtyRangesToUnitRange'](_0x2446ff[_0x22768f(0xc0)]);return _0x597538['featureDirtyRanges']=_0x3303f4,_0x597538['featureId']=_0x2769db,_0x597538[_0x22768f(0x142)]=_0x25082c['FEATURE_FORMULA'],this[_0x22768f(0xf8)]['addFeatureFormulaDependency'](_0x3b9c04,_0x5a25fa,_0x2769db,_0x597538),this['_dependencyTreeCache'][_0x22768f(0xa2)](_0x597538[_0x22768f(0x127)],_0x597538),this[_0x22768f(0xf8)]['getFeatureFormulaDependency'](_0x182cbc['unitId'],_0x182cbc[_0x22768f(0xa4)],_0x2769db)&&(_0x597538[_0x22768f(0xab)]=!0x0),_0x597538;}[_0x5be7cc(0x126)](_0xa11e4f,_0x886701,_0x123d7c){const _0x248386=_0x5be7cc;var _0xea61e;for(const _0x246261 of _0x886701){const _0x412394=_0xa11e4f[_0x246261];if(_0x412394==null)continue;const _0x70e78f=Object[_0x248386(0xc9)](_0x412394);for(const _0x18f99a of _0x70e78f){const _0xc83095=_0x412394[_0x18f99a];if(_0xc83095==null)continue;const _0x20b927=Object[_0x248386(0xc9)](_0xc83095);for(const _0x4657f0 of _0x20b927){const _0x6dd5fc=this[_0x248386(0xf8)][_0x248386(0xe7)](_0x4657f0),_0x4a618b=_0xc83095[_0x4657f0],{f:_0xdee6fe,ranges:_0x294b94}=_0x4a618b;let _0xcb2208=!0x1;_0x6dd5fc&&(_0xcb2208=!0x0);const {firstRow:_0x1bb0fd,firstColumn:_0x4537bf}=this['_getFirstCellOfRange'](_0x294b94),_0x4d8f5a=this[_0x248386(0xf8)]['getOtherFormulaDependency'](_0x246261,_0x18f99a,_0x4657f0),_0x197f57=(_0xea61e=_0x4d8f5a==null?void 0x0:_0x4d8f5a[_0x248386(0x103)](0x0,0x0))!=null?_0xea61e:_0x148431(this['_dependencyManagerService']),_0x1446bb=new _0x15d920(_0x197f57);for(let _0x3a6234=0x0;_0x3a6234<_0x294b94[_0x248386(0xc4)];_0x3a6234++){const _0x22606d=_0x294b94[_0x3a6234],{startRow:_0x213366,startColumn:_0x2714bd,endRow:_0xa94721,endColumn:_0x342922}=_0x22606d;for(let _0x4331fd=_0x213366;_0x4331fd<=_0xa94721;_0x4331fd++)for(let _0x1fbb7c=_0x2714bd;_0x1fbb7c<=_0x342922;_0x1fbb7c++){const _0x337a7c=_0x1fbb7c-_0x4537bf,_0x128a60=_0x4331fd-_0x1bb0fd;if(_0x337a7c===0x0&&_0x128a60===0x0){_0x1446bb[_0x248386(0xc5)]=_0xdee6fe,_0x1446bb['unitId']=_0x246261,_0x1446bb[_0x248386(0xa4)]=_0x18f99a,_0x1446bb[_0x248386(0x110)]=_0x4657f0,_0x1446bb[_0x248386(0x142)]=_0x25082c[_0x248386(0xa6)],_0x1446bb[_0x248386(0xab)]=_0xcb2208,_0x123d7c[_0x248386(0x13c)](_0x1446bb),this['_dependencyTreeCache'][_0x248386(0xa2)](_0x1446bb[_0x248386(0x127)],_0x1446bb),this[_0x248386(0xf8)][_0x248386(0xd2)](_0x246261,_0x18f99a,_0x4657f0,_0x1446bb),this[_0x248386(0xf8)][_0x248386(0xc7)](_0x1446bb);continue;}const _0x2c580a=new _0xe83157();_0x2c580a[_0x248386(0x127)]=(_0x4d8f5a==null?void 0x0:_0x4d8f5a[_0x248386(0x103)](_0x337a7c,_0x128a60))||_0x148431(this['_dependencyManagerService']),_0x2c580a[_0x248386(0xf4)]=_0x1446bb,_0x2c580a['refOffsetX']=_0x337a7c,_0x2c580a[_0x248386(0x107)]=_0x128a60,_0x2c580a['isCache']=_0xcb2208,this[_0x248386(0xf8)][_0x248386(0xd2)](_0x246261,_0x18f99a,_0x4657f0,_0x2c580a),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x2c580a),_0x123d7c['push'](_0x2c580a),this[_0x248386(0xdc)][_0x248386(0xa2)](_0x2c580a[_0x248386(0x127)],_0x2c580a);}}this[_0x248386(0xf8)][_0x248386(0x13d)](_0x4657f0);}}}}[_0x5be7cc(0x11e)](_0x2f7507,_0x46e782,_0x20369d,_0x31aa81){const _0x38d6f7=_0x5be7cc;for(const _0x17a7f6 of _0x2f7507){const _0x526f0c=_0x46e782[_0x17a7f6];if(_0x526f0c==null)continue;const _0x44e1dc=Object[_0x38d6f7(0xc9)](_0x526f0c);for(const _0x404c62 of _0x44e1dc){const _0x57f7c4=new _0x3ca31c(_0x526f0c[_0x404c62]||{}),_0x3df29b=new Map();_0x57f7c4['forValue']((_0xc03bbc,_0x701869,_0x33c9f5)=>{const _0x1d0b1a=_0x38d6f7;if(_0x33c9f5==null)return!0x0;const {x:_0x179828=0x0,y:_0x15b130=0x0,si:_0x1e1af6}=_0x33c9f5;if(!(_0x179828===0x0&&_0x15b130===0x0&&_0x1e1af6!=null))return!0x0;const _0x50f92c=this['_createFDtree'](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869,_0x20369d,_0x33c9f5),_0x53c53a=this['_dependencyManagerService'][_0x1d0b1a(0x146)](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869);_0x53c53a!=null?_0x50f92c[_0x1d0b1a(0x127)]=_0x53c53a:(this[_0x1d0b1a(0xf8)]['addFormulaDependency'](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869,_0x50f92c),this[_0x1d0b1a(0xf8)][_0x1d0b1a(0xc7)](_0x50f92c)),_0x3df29b['set'](_0x1e1af6,_0x50f92c),_0x31aa81[_0x1d0b1a(0x13c)](_0x50f92c),this[_0x1d0b1a(0xdc)][_0x1d0b1a(0xa2)](_0x50f92c[_0x1d0b1a(0x127)],_0x50f92c);}),_0x57f7c4[_0x38d6f7(0x129)]((_0x1dff39,_0x3ba990,_0x5aba60)=>{const _0x45bb44=_0x38d6f7;if(_0x5aba60==null)return!0x0;const {x:_0x2dfbf6=0x0,y:_0x344e0b=0x0,si:_0x1272d6}=_0x5aba60;if(_0x2dfbf6===0x0&&_0x344e0b===0x0&&_0x1272d6!=null)return!0x0;let _0x401084;if(_0x1272d6&&_0x3df29b['has'](_0x1272d6)){const _0xfc427=_0x3df29b[_0x45bb44(0xaa)](_0x1272d6);_0x401084=this['_createVirtualFDtree'](_0xfc427,_0x5aba60);}else _0x401084=this[_0x45bb44(0x141)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990,_0x20369d,_0x5aba60);const _0x433f45=this[_0x45bb44(0xf8)][_0x45bb44(0x146)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990);_0x433f45!=null?_0x401084[_0x45bb44(0x127)]=_0x433f45:(this[_0x45bb44(0xf8)][_0x45bb44(0x119)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990,_0x401084),this['_dependencyManagerService'][_0x45bb44(0xc7)](_0x401084)),_0x31aa81[_0x45bb44(0x13c)](_0x401084),this[_0x45bb44(0xdc)][_0x45bb44(0xa2)](_0x401084[_0x45bb44(0x127)],_0x401084);}),_0x3df29b[_0x38d6f7(0xb0)]();}}}['_createFDtree'](_0x4a4f9a,_0x155f9c,_0x61f8cb,_0x16343f,_0x203330,_0x53b629){const _0x5f0450=_0x5be7cc,{f:_0x20d5d6,x:_0x2c371d=0x0,y:_0xae23e1=0x0}=_0x53b629,_0x5eaadd=new _0x15d920(_0x148431(this[_0x5f0450(0xf8)])),_0x35f261=_0x203330[_0x4a4f9a][_0x155f9c];return _0x5eaadd[_0x5f0450(0xc5)]=_0x20d5d6,_0x5eaadd[_0x5f0450(0x13e)]=_0x4a4f9a,_0x5eaadd['subUnitId']=_0x155f9c,_0x5eaadd[_0x5f0450(0xc3)]=_0x61f8cb,_0x5eaadd[_0x5f0450(0xce)]=_0x16343f,_0x5eaadd[_0x5f0450(0x108)]=_0x35f261[_0x5f0450(0x108)],_0x5eaadd[_0x5f0450(0x125)]=_0x35f261[_0x5f0450(0x125)],_0x5eaadd;}[_0x5be7cc(0xfb)](){const _0x5118c5=_0x5be7cc,_0x3debd6=[],_0x27d7e1=new Set(),_0x33837e=this[_0x5118c5(0x11d)][_0x5118c5(0x118)](),_0xd3f5c3=this[_0x5118c5(0x11d)]['getDirtyRanges'](),_0x45bda0=this[_0x5118c5(0xf8)]['searchDependency'](_0xd3f5c3),_0x46629a=this['_dependencyRTreeCacheForAddressFunction'][_0x5118c5(0x135)](_0xd3f5c3);for(const _0x5ba10f of _0x46629a)_0x45bda0['add'](_0x5ba10f);for(const [_0x4d2f3b,_0x181989]of this[_0x5118c5(0xdc)])(_0x33837e||_0x181989['isDirty']||_0x181989[_0x5118c5(0xae)](this[_0x5118c5(0x11d)][_0x5118c5(0xfa)]())||_0x45bda0[_0x5118c5(0xee)](_0x4d2f3b)&&!_0x181989[_0x5118c5(0xe0)](this[_0x5118c5(0x11d)][_0x5118c5(0x132)]()))&&!_0x27d7e1[_0x5118c5(0xee)](_0x4d2f3b)&&(_0x3debd6[_0x5118c5(0x13c)](_0x181989),_0x27d7e1[_0x5118c5(0x139)](_0x4d2f3b));for(const [_0x5e6bc3,_0x81d7a4]of this['_dependencyTreeCache'])_0x81d7a4[_0x5118c5(0xa8)]||(_0x81d7a4[_0x5118c5(0xcf)][_0x5118c5(0xc4)]=0x0);return _0x3debd6;}['_getTreeById'](_0xeca27c){const _0xcf4956=_0x5be7cc;return this[_0xcf4956(0xdc)]['get'](_0xeca27c);}['_getTreeNode'](_0x3deac5){const _0x19249=_0x5be7cc;return _0x29f220(_0x3deac5[_0x19249(0x13e)],_0x3deac5[_0x19249(0xc5)],this['_lexer'],this['_astTreeBuilder'],this[_0x19249(0x11d)]);}*[_0x5be7cc(0xb7)](_0x3047ff,_0x1d9dcf){const _0x56c28c=_0x5be7cc,_0x36c5f8=_0x3047ff,_0x29092b=new Set();for(;_0x36c5f8['length']>0x0;){const _0x34e470=_0x36c5f8[_0x56c28c(0x12a)]();if(_0x29092b[_0x56c28c(0xb0)](),_0x34e470===void 0x0||_0x34e470[_0x56c28c(0xad)]())continue;if(_0x34e470['isAdded']()){yield _0x34e470,_0x34e470[_0x56c28c(0x13a)](),_0x1d9dcf['add'](_0x34e470[_0x56c28c(0x127)]);continue;}const _0x5cdb7f=this[_0x56c28c(0xf8)]['searchDependency'](_0x34e470[_0x56c28c(0x11b)](),_0x1d9dcf),_0x2bfb14=this[_0x56c28c(0xef)][_0x56c28c(0x135)](_0x34e470['toRTreeItem'](),_0x1d9dcf);for(const _0x4e52ec of _0x2bfb14)_0x5cdb7f[_0x56c28c(0x139)](_0x4e52ec);for(const _0x135b5e of _0x5cdb7f){const _0x1a0135=this[_0x56c28c(0xdc)][_0x56c28c(0xaa)](_0x135b5e);if(!_0x1a0135)throw new Error(_0x56c28c(0x109));_0x1a0135['isAdded']()||_0x34e470[_0x56c28c(0xad)]()||_0x29092b[_0x56c28c(0x139)](_0x1a0135);}if(_0x5cdb7f[_0x56c28c(0xb0)](),_0x29092b[_0x56c28c(0x9f)]===0x0)yield _0x34e470,_0x34e470[_0x56c28c(0x13a)](),_0x1d9dcf[_0x56c28c(0x139)](_0x34e470[_0x56c28c(0x127)]);else{_0x34e470['setAdded'](),_0x36c5f8[_0x56c28c(0x13c)](_0x34e470);for(const _0xa1ac4e of _0x29092b)_0x36c5f8[_0x56c28c(0x13c)](_0xa1ac4e);}}_0x36c5f8[_0x56c28c(0xc4)]=0x0,_0x29092b[_0x56c28c(0xb0)]();}[_0x5be7cc(0xf7)](_0x4cb780){const _0x300975=_0x5be7cc,_0x4ecdd7=[],_0xf7ce0=new Set();for(const _0x37ab6c of this[_0x300975(0xb7)](_0x4cb780,_0xf7ce0))_0x4ecdd7['push'](_0x37ab6c);return _0x4ecdd7;}}class Re extends _0x4b7001{constructor(){const _0x37c4e2=_0x5be7cc;super(...arguments),R(this,_0x37c4e2(0x12f),!0x1),R(this,_0x37c4e2(0xe9),new Set());}[_0x5be7cc(0x148)](_0x3d64c8,_0x4673de){const _0x50a072=_0x5be7cc,_0x27b86d=this[_0x50a072(0x149)](_0x3d64c8,!0x1);if(!_0x27b86d||_0x27b86d===_0x51d341['VALUE']||Array[_0x50a072(0xe8)](_0x27b86d))return null;const _0x198c8d=[];return this['_hasNewExcelFunction']=!0x1,this[_0x50a072(0x101)](_0x27b86d,_0x198c8d,_0x4673de),this['_hasNewExcelFunction']?'='+_0x198c8d[_0x50a072(0x134)](''):null;}[_0x5be7cc(0x101)](_0x25d579,_0xeafc48,_0x22c696){const _0x5b8c4b=_0x5be7cc,_0x22bcd9=_0x25d579[_0x5b8c4b(0xd5)](),_0x1ded28=_0x22bcd9[_0x5b8c4b(0x11a)](),_0xfb0cfe=_0x1ded28['toUpperCase'](),_0x25b77b=this[_0x5b8c4b(0xb3)](_0xfb0cfe),_0x546b04=_0x22c696(_0x25b77b);let _0xdffa94=0x0;_0x22bcd9===_0x360ae4?_0xdffa94=0x3:_0x22bcd9===_0x37b20a?_0xdffa94=0x4:_0x22bcd9===_0x21960f?_0xdffa94=0x5:_0x135ce3['has'](_0x25b77b)?(_0xeafc48[_0x5b8c4b(0x13c)](_0x5b8c4b(0x131)+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0):_0xfb0cfe===_0x2cb580?(_0xeafc48[_0x5b8c4b(0x13c)]('_xlfn.'+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0,_0xdffa94=0x2):_0xfb0cfe===_0x56c907?(_0xeafc48[_0x5b8c4b(0x13c)]('_xlfn.'+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0,_0xdffa94=0x1):_0xfb0cfe===_0x311e8e[_0x5b8c4b(0xea)]?_0xdffa94=0x8:_0x159065[_0x5b8c4b(0xee)](_0xfb0cfe)?_0xdffa94=0x7:_0xfb0cfe===_0x2547d8[_0x5b8c4b(0xb6)]?(this[_0x5b8c4b(0xfe)](_0x25d579)&&(_0xdffa94=0x9),_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9)):(_0xeafc48['push'](_0x22bcd9),_0xdffa94=0xa),_0x546b04?(_0xdffa94!==0x2&&_0xdffa94!==0x1&&(_0xdffa94=0x6),_0xeafc48[_0x5b8c4b(0x13c)]('(')):_0xdffa94===0x9&&_0xeafc48['push']('(');const _0x5ead1f=_0x25d579['getChildren'](),_0x50066d=_0x5ead1f[_0x5b8c4b(0xc4)];if(_0xdffa94===0x2){const _0x4a7824=_0x5ead1f[0x0];let _0x16e868=0x0;_0x4a7824 instanceof _0x16e21a&&_0x4a7824[_0x5b8c4b(0xd5)]()===_0x21960f&&(_0x16e868=0x1);for(let _0x417053=_0x16e868;_0x417053<_0x50066d-0x1;_0x417053++){const _0x2fcce7=_0x5ead1f[_0x417053];if(_0x2fcce7 instanceof _0x16e21a){const _0x3f3bbd=_0x2fcce7[_0x5b8c4b(0xda)]()[0x0];typeof _0x3f3bbd=='string'&&(this[_0x5b8c4b(0xe9)]['has'](_0x3f3bbd)&&console['error'](_0x5b8c4b(0x114)+_0x3f3bbd+'\x22\x20is\x20duplicated.'),this[_0x5b8c4b(0xe9)]['add'](_0x3f3bbd),_0xeafc48[_0x5b8c4b(0x13c)](_0x5b8c4b(0xc8)+_0x3f3bbd),this[_0x5b8c4b(0x12f)]=!0x0);}_0xeafc48['push'](',');}this[_0x5b8c4b(0x124)](_0x5ead1f[_0x50066d-0x1],_0xeafc48,_0x22c696),_0x16e868===0x1&&(_0xeafc48[_0x5b8c4b(0x13c)](')'),_0xeafc48['push']('('),this[_0x5b8c4b(0x101)](_0x4a7824,_0xeafc48,_0x22c696)),_0xeafc48[_0x5b8c4b(0x13c)](')');return;}else{if(_0xdffa94===0x1){for(let _0x3bae24=0x0;_0x3bae24<_0x50066d-0x1;_0x3bae24++){const _0xfed246=_0x5ead1f[_0x3bae24];if(_0xfed246 instanceof _0x16e21a&&_0x3bae24%0x2===0x0){const _0x54dd2b=_0xfed246['getChildren']()[0x0];if(typeof _0x54dd2b==_0x5b8c4b(0x144)){this[_0x5b8c4b(0xe9)][_0x5b8c4b(0xee)](_0x54dd2b)&&console['error'](_0x5b8c4b(0x100)+_0x54dd2b+_0x5b8c4b(0xd4)),this[_0x5b8c4b(0xe9)][_0x5b8c4b(0x139)](_0x54dd2b),_0xeafc48['push'](_0x5b8c4b(0xc8)+_0x54dd2b),this[_0x5b8c4b(0x12f)]=!0x0,_0xeafc48[_0x5b8c4b(0x13c)](',');continue;}}if(this[_0x5b8c4b(0x124)](_0xfed246,_0xeafc48,_0x22c696),_0xfed246 instanceof _0x16e21a){const _0x22a4c0=_0x5ead1f[_0x3bae24+0x1];_0x22a4c0&&_0x22a4c0 instanceof _0x16e21a&&_0xeafc48[_0x5b8c4b(0x13c)](',');}}this['_handleNewFunctionChild'](_0x5ead1f[_0x50066d-0x1],_0xeafc48,_0x22c696),_0xeafc48['push'](')');return;}else{if(_0xdffa94===0x8){const _0x4f4b7c=_0x5ead1f[0x0],_0x478cf9=_0x5ead1f[0x1];this[_0x5b8c4b(0x124)](_0x4f4b7c,_0xeafc48,_0x22c696),_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9),this[_0x5b8c4b(0x124)](_0x478cf9,_0xeafc48,_0x22c696);return;}}}for(let _0xd4e577=0x0;_0xd4e577<_0x50066d;_0xd4e577++){const _0x3669dd=_0x5ead1f[_0xd4e577];if(this[_0x5b8c4b(0x124)](_0x3669dd,_0xeafc48,_0x22c696),_0x3669dd instanceof _0x16e21a){const _0x1d7af1=_0x5ead1f[_0xd4e577+0x1];_0x1d7af1&&_0x1d7af1 instanceof _0x16e21a&&_0xeafc48[_0x5b8c4b(0x13c)](',');}}_0xdffa94===0x7&&_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9),(_0x546b04||_0xdffa94===0x9)&&_0xeafc48[_0x5b8c4b(0x13c)](')');}[_0x5be7cc(0x124)](_0x48aa11,_0x4b3500,_0x539972){const _0x49ce11=_0x5be7cc;_0x48aa11 instanceof _0x16e21a?this[_0x49ce11(0x101)](_0x48aa11,_0x4b3500,_0x539972):this['_lambdaFunctionParameterSet']['has'](_0x48aa11)?(_0x4b3500[_0x49ce11(0x13c)](_0x49ce11(0xc8)+_0x48aa11),this[_0x49ce11(0x12f)]=!0x0):_0x4b3500[_0x49ce11(0x13c)](_0x48aa11);}['_clearFunctionString'](_0x341d00){const _0x5309ed=_0x5be7cc;let _0x1a432c=_0x341d00['trim']();if(!_0x1a432c)return _0x1a432c;const _0x3486a6=_0x1a432c[0x0];if((_0x3486a6===_0x2547d8['AT']||_0x3486a6===_0x2547d8['MINUS']||_0x3486a6===_0x2547d8[_0x5309ed(0xb2)])&&(_0x1a432c=_0x1a432c['slice'](0x1)),!_0x1a432c)return _0x1a432c;const _0x5d610b=_0x1a432c[_0x1a432c[_0x5309ed(0xc4)]-0x1];return _0x159065[_0x5309ed(0xee)](_0x5d610b)&&(_0x1a432c=_0x1a432c['slice'](0x0,-0x1)),_0x1a432c;}[_0x5be7cc(0xfe)](_0x2f81be){const _0x591395=_0x5be7cc,_0xc19747=_0x2f81be[_0x591395(0xda)]()[0x0];if(!_0xc19747||!(_0xc19747 instanceof _0x16e21a)||_0x2f81be[_0x591395(0xda)]()['length']>0x1)return!0x1;const _0x244df5=_0xc19747[_0x591395(0xda)](),_0x5627f1=_0x244df5[_0x591395(0xc4)];if(_0x5627f1===0x1)return!0x1;for(let _0x10600d=0x0;_0x10600d<_0x5627f1;_0x10600d++){const _0x50ef82=_0x244df5[_0x10600d];if(!(_0x50ef82 instanceof _0x16e21a)&&_0x35d1c4[_0x591395(0xee)](_0x50ef82))return!0x0;}return!0x1;}}class ve extends _0x2f6c3f{async['_apply'](_0x3d2d4a=!0x1){const _0x50447f=_0x5be7cc;_0x3d2d4a?this[_0x50447f(0x10e)]['setFormulaExecuteStage'](_0x364130[_0x50447f(0x11c)]):this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0xa5)]),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]());const _0x5f059d=await this[_0x50447f(0xbf)][_0x50447f(0xdd)](),_0x48c812=this[_0x50447f(0xb1)];_0x3d2d4a?(this['_runtimeService']['setFormulaExecuteStage'](_0x364130[_0x50447f(0xac)]),this[_0x50447f(0x10e)][_0x50447f(0x117)](_0x5f059d[_0x50447f(0xc4)])):(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130['START_CALCULATION']),this['_runtimeService'][_0x50447f(0x121)](_0x5f059d[_0x50447f(0xc4)])),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]());let _0x1a4d1e=[];const _0x806e25=this[_0x50447f(0xd8)]['getConfig'](_0x408e1a),_0x2bdbca=(_0x806e25==null?void 0x0:_0x806e25[_0x50447f(0x14a)])||_0x50c519;let _0x33e528=0x0;const _0x590340=_0x5f059d[_0x50447f(0xc4)];for(;_0x5f059d[_0x50447f(0xc4)]>0x0;){const _0xa5003a=_0x5f059d[_0x50447f(0x12a)](),_0x558134=_0x29f220(_0xa5003a[_0x50447f(0x13e)],_0xa5003a['formula'],this['_lexer'],this[_0x50447f(0x12b)],this[_0x50447f(0x11d)]),_0x4ff839={'node':_0x558134,'refOffsetX':_0xa5003a['refOffsetX'],'refOffsetY':_0xa5003a[_0x50447f(0x107)]},_0x2ee32b=_0xa5003a[_0x50447f(0x147)];if(_0x33e528%_0x2bdbca===0x0&&(await new Promise(_0x342d3b=>{const _0xbf8a72=_0x184844(_0x342d3b);_0x1a4d1e['push'](_0xbf8a72);}),_0x3d2d4a?(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0x12e)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x33e528+0x1)):(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0x113)]),this[_0x50447f(0x10e)][_0x50447f(0xaf)](_0x33e528+0x1)),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]()),this[_0x50447f(0x10e)][_0x50447f(0x115)]()||_0x4ff839==null&&_0x2ee32b==null)){this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0xba)]),this[_0x50447f(0x10e)][_0x50447f(0xbe)](),this[_0x50447f(0xe3)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0x10f)]());return;}this[_0x50447f(0x10e)]['setCurrent'](_0xa5003a[_0x50447f(0xc3)],_0xa5003a['column'],_0xa5003a[_0x50447f(0x108)],_0xa5003a[_0x50447f(0x125)],_0xa5003a['subUnitId'],_0xa5003a[_0x50447f(0x13e)]);let _0x151049;if(_0x2ee32b!=null&&_0xa5003a['featureId']!=null){const {runtimeCellData:_0x14e720,dirtyRanges:_0x537df8}=_0x2ee32b(this[_0x50447f(0x11d)][_0x50447f(0x147)](),this[_0x50447f(0x10e)][_0x50447f(0x10f)]());this[_0x50447f(0x10e)]['setRuntimeFeatureCellData'](_0xa5003a['featureId'],_0x14e720),this['_runtimeService'][_0x50447f(0xcc)](_0xa5003a[_0x50447f(0xe1)],_0x537df8);}else _0x4ff839!=null&&(_0x48c812[_0x50447f(0xf3)](_0x4ff839[_0x50447f(0x133)])?_0x151049=await _0x48c812[_0x50447f(0xd0)](_0x4ff839):_0x151049=_0x48c812[_0x50447f(0xd7)](_0x4ff839),_0xa5003a[_0x50447f(0x110)]!=null?this[_0x50447f(0x10e)]['setRuntimeOtherData'](_0xa5003a[_0x50447f(0x110)],_0xa5003a[_0x50447f(0x10b)],_0xa5003a['refOffsetY'],_0x151049):this[_0x50447f(0x10e)][_0x50447f(0xa3)](_0x151049));_0x558134['resetCalculationState'](),_0x33e528++;}return _0x1a4d1e[_0x50447f(0x111)](_0x14813c=>_0x14813c()),_0x1a4d1e=[],_0x590340>0x0?this[_0x50447f(0x10e)][_0x50447f(0xe2)]():_0x3d2d4a||this[_0x50447f(0x10e)]['markedAsNoFunctionsExecuted'](),this[_0x50447f(0x10e)][_0x50447f(0x10f)]();}}class Ge extends _0x2e749c{constructor(){const _0x4db4da=_0x5be7cc;super(...arguments),R(this,_0x4db4da(0x104),new Map()),R(this,_0x4db4da(0xa7),new _0x23e3d8(!0x0));}['reset'](){const _0x361308=_0x5be7cc;this[_0x361308(0x145)]['clear'](),this[_0x361308(0xfd)][_0x361308(0xb0)](),this['_formulaData']['clear'](),this[_0x361308(0xa7)][_0x361308(0xb0)](),this[_0x361308(0x104)]['clear'](),this[_0x361308(0xf6)](),this[_0x361308(0xca)][_0x361308(0xb0)]();}[_0x5be7cc(0xd2)](_0x3c3750,_0xd338f0,_0x4c88f5,_0x1cb64e){const _0x2dc151=_0x5be7cc;this[_0x2dc151(0x145)][_0x2dc151(0xee)](_0x3c3750)||this[_0x2dc151(0x145)]['set'](_0x3c3750,new Map());const _0x54f75b=this[_0x2dc151(0x145)]['get'](_0x3c3750);_0x54f75b['has'](_0xd338f0)||_0x54f75b['set'](_0xd338f0,new Map());const _0x540293=_0x54f75b[_0x2dc151(0xaa)](_0xd338f0);_0x540293[_0x2dc151(0xee)](_0x4c88f5)||_0x540293[_0x2dc151(0xa2)](_0x4c88f5,new _0x3ca31c()),_0x540293[_0x2dc151(0xaa)](_0x4c88f5)[_0x2dc151(0xd6)](_0x1cb64e[_0x2dc151(0x10b)],_0x1cb64e[_0x2dc151(0x107)],_0x1cb64e[_0x2dc151(0x127)]);}['removeOtherFormulaDependency'](_0x118213,_0x455b28,_0x1575da){const _0x109e84=_0x5be7cc,_0x575616=this[_0x109e84(0x145)]['get'](_0x118213);if(_0x575616&&_0x575616[_0x109e84(0xee)](_0x455b28)){const _0x5e6fbb=_0x575616['get'](_0x455b28);_0x1575da[_0x109e84(0x111)](_0x5f9f89=>{const _0x9f4ecc=_0x109e84,_0x1c4fe7=_0x5e6fbb['get'](_0x5f9f89);_0x1c4fe7!=null&&(_0x1c4fe7[_0x9f4ecc(0x129)]((_0x9c1692,_0x21a435,_0x4987b8)=>{const _0x3ac7c6=_0x9f4ecc;this[_0x3ac7c6(0x140)](_0x4987b8),this['_removeAllTreeMap'](_0x4987b8);}),_0x5e6fbb[_0x9f4ecc(0x12c)](_0x5f9f89),this[_0x9f4ecc(0xca)][_0x9f4ecc(0x12c)](_0x5f9f89));}),_0x5e6fbb['size']===0x0&&_0x575616[_0x109e84(0x12c)](_0x455b28),_0x575616[_0x109e84(0x9f)]===0x0&&this[_0x109e84(0x145)][_0x109e84(0x12c)](_0x118213);}}[_0x5be7cc(0xc6)](_0x355473,_0x517817){const _0x4abc2c=_0x5be7cc,_0xd729b4=this[_0x4abc2c(0x145)][_0x4abc2c(0xaa)](_0x355473);if(_0x517817&&_0xd729b4&&_0xd729b4[_0x4abc2c(0xee)](_0x517817)){const _0x5571ea=_0xd729b4[_0x4abc2c(0xaa)](_0x517817);this['_removeDependencyRTreeCacheById'](_0x355473,_0x517817);for(const _0x39a438 of _0x5571ea[_0x4abc2c(0xc9)]()){const _0x1da274=_0x5571ea['get'](_0x39a438);_0x1da274!=null&&(_0x1da274[_0x4abc2c(0x129)]((_0x877521,_0x53f50b,_0x2c1776)=>{const _0x1c108d=_0x4abc2c;this['_allTreeMap'][_0x1c108d(0xaa)](_0x2c1776)&&this[_0x1c108d(0xf5)](_0x2c1776);}),this['_otherFormulaDataMainData'][_0x4abc2c(0x12c)](_0x39a438));}_0x5571ea[_0x4abc2c(0xb0)]();}else{if(_0xd729b4){for(const _0x2ce1fc of _0xd729b4['keys']()){const _0x458601=_0xd729b4[_0x4abc2c(0xaa)](_0x2ce1fc);this['_removeDependencyRTreeCacheById'](_0x355473,_0x2ce1fc);for(const _0x1da838 of _0x458601[_0x4abc2c(0xc9)]()){const _0x56a0ce=_0x458601['get'](_0x1da838);_0x56a0ce!=null&&(_0x56a0ce[_0x4abc2c(0x129)]((_0xf068f8,_0x5347f8,_0x2919c1)=>{const _0x3aab99=_0x4abc2c;this[_0x3aab99(0x104)][_0x3aab99(0xaa)](_0x2919c1)&&this['_removeAllTreeMap'](_0x2919c1);}),this['_otherFormulaDataMainData'][_0x4abc2c(0x12c)](_0x1da838));}}this[_0x4abc2c(0x145)][_0x4abc2c(0x12c)](_0x355473);}}}[_0x5be7cc(0xdf)](_0x49fb51,_0x5b260b,_0x4f80c5,_0x3e9e95){const _0x567a29=_0x5be7cc;this[_0x567a29(0xfd)][_0x567a29(0xee)](_0x49fb51)||this[_0x567a29(0xfd)]['set'](_0x49fb51,new Map());const _0x338dea=this['_featureFormulaData'][_0x567a29(0xaa)](_0x49fb51);_0x338dea[_0x567a29(0xee)](_0x5b260b)||_0x338dea[_0x567a29(0xa2)](_0x5b260b,new Map()),_0x338dea[_0x567a29(0xaa)](_0x5b260b)[_0x567a29(0xa2)](_0x4f80c5,_0x3e9e95[_0x567a29(0x127)]);}[_0x5be7cc(0xc2)](_0x2d4d99,_0x2a8670,_0x41720b){const _0x20382c=_0x5be7cc,_0x42c773=this[_0x20382c(0xfd)][_0x20382c(0xaa)](_0x2d4d99);if(_0x42c773&&_0x42c773[_0x20382c(0xee)](_0x2a8670)){const _0x2f240d=_0x42c773[_0x20382c(0xaa)](_0x2a8670);_0x41720b['forEach'](_0xffe4f5=>{const _0x5f587f=_0x20382c,_0x5857b0=_0x2f240d['get'](_0xffe4f5);_0x5857b0!=null&&(this[_0x5f587f(0x140)](_0x5857b0),_0x2f240d['delete'](_0xffe4f5),this['_removeAllTreeMap'](_0x5857b0));});}}[_0x5be7cc(0xed)](_0x47fcc0,_0x355641){const _0x17a17c=_0x5be7cc,_0x1b35f3=this[_0x17a17c(0xfd)][_0x17a17c(0xaa)](_0x47fcc0);if(_0x355641&&_0x1b35f3&&_0x1b35f3['has'](_0x355641)){const _0x1dcadc=_0x1b35f3[_0x17a17c(0xaa)](_0x355641);this['_removeDependencyRTreeCacheById'](_0x47fcc0,_0x355641),_0x1dcadc[_0x17a17c(0x111)](_0x456eac=>{const _0x4525b5=_0x17a17c;_0x456eac!=null&&this[_0x4525b5(0xf5)](_0x456eac);}),_0x1dcadc[_0x17a17c(0xb0)]();}else _0x1b35f3&&(_0x1b35f3[_0x17a17c(0x111)]((_0x30d96f,_0x446080)=>{const _0x42f029=_0x17a17c;this[_0x42f029(0xd1)](_0x47fcc0,_0x446080),_0x30d96f['forEach'](_0x19d53e=>{const _0x1d3473=_0x42f029;_0x19d53e!=null&&this[_0x1d3473(0xf5)](_0x19d53e);});}),this['_featureFormulaData'][_0x17a17c(0x12c)](_0x47fcc0));}[_0x5be7cc(0x119)](_0x2280da,_0x45708c,_0x52fb4f,_0x937d74,_0x3d5ca2){const _0x3bc132=_0x5be7cc;this[_0x3bc132(0x13b)][_0x3bc132(0xee)](_0x2280da)||this[_0x3bc132(0x13b)]['set'](_0x2280da,new Map());const _0x29fd07=this[_0x3bc132(0x13b)]['get'](_0x2280da);_0x29fd07['has'](_0x45708c)||_0x29fd07[_0x3bc132(0xa2)](_0x45708c,new _0x3ca31c()),_0x29fd07[_0x3bc132(0xaa)](_0x45708c)['setValue'](_0x52fb4f,_0x937d74,_0x3d5ca2['treeId']);}['removeFormulaDependency'](_0x28e886,_0x59d9e4,_0x244ff9,_0x4ff2d4){const _0x2ced9d=_0x5be7cc,_0x1da11f=this['_formulaData']['get'](_0x28e886);if(_0x1da11f&&_0x1da11f[_0x2ced9d(0xee)](_0x59d9e4)){const _0x166509=_0x1da11f[_0x2ced9d(0xaa)](_0x59d9e4),_0x217bfe=_0x166509[_0x2ced9d(0x103)](_0x244ff9,_0x4ff2d4);if(_0x217bfe==null)return;this[_0x2ced9d(0x140)](_0x217bfe),_0x166509['realDeleteValue'](_0x244ff9,_0x4ff2d4),this[_0x2ced9d(0xf5)](_0x217bfe);}}[_0x5be7cc(0x137)](_0x54cb0f,_0x59fc02){const _0x5ca60d=_0x5be7cc,_0x2193e1=this[_0x5ca60d(0x13b)][_0x5ca60d(0xaa)](_0x54cb0f);if(_0x59fc02&&_0x2193e1&&_0x2193e1[_0x5ca60d(0xee)](_0x59fc02)){const _0x3d9a8e=_0x2193e1[_0x5ca60d(0xaa)](_0x59fc02);this['_removeDependencyRTreeCacheById'](_0x54cb0f,_0x59fc02),_0x3d9a8e[_0x5ca60d(0x129)]((_0x51863e,_0x54db88,_0x328bf9)=>{const _0x156db0=_0x5ca60d;if(_0x328bf9==null)return!0x0;this[_0x156db0(0xf5)](_0x328bf9);}),_0x3d9a8e[_0x5ca60d(0xeb)]();}else _0x2193e1&&(_0x2193e1['forEach']((_0x6e0e20,_0x262432)=>{const _0x19800a=_0x5ca60d;this[_0x19800a(0xd1)](_0x54cb0f,_0x262432),_0x6e0e20['forValue']((_0x28860a,_0x31c74,_0x2ce024)=>{if(_0x2ce024==null)return!0x0;this['_removeAllTreeMap'](_0x2ce024);});}),this['_formulaData'][_0x5ca60d(0x12c)](_0x54cb0f));}['_removeDependencyRTreeCache'](_0x355209){const _0x44c0e3=_0x5be7cc;if(_0x355209==null)return;const _0x6d0b32=this[_0x44c0e3(0x104)][_0x44c0e3(0xaa)](_0x355209);if(_0x6d0b32){const _0x3b3c7f=[];for(const [_0x4f51ae,_0x4e12f1]of _0x6d0b32)for(const [_0x17e89d,_0x17dd38]of _0x4e12f1)_0x3b3c7f[_0x44c0e3(0x13c)]({'unitId':_0x4f51ae,'sheetId':_0x17e89d,'range':_0x17dd38,'id':_0x355209});this[_0x44c0e3(0xa7)][_0x44c0e3(0xd3)](_0x3b3c7f);}}[_0x5be7cc(0xde)](_0x38feec,_0x1c57f8){const _0x2caf3b=_0x5be7cc,_0x3cf8db=this[_0x2caf3b(0xa1)][_0x2caf3b(0xaa)](_0x38feec);if(_0x3cf8db){const _0x4424e0=_0x3cf8db['get'](_0x1c57f8);if(_0x4424e0){for(const _0x4342c2 of _0x4424e0)this[_0x2caf3b(0x140)](_0x4342c2),this[_0x2caf3b(0xf5)](_0x4342c2);_0x4424e0[_0x2caf3b(0xb0)]();}}}[_0x5be7cc(0xf2)](){const _0x2c5b9d=_0x5be7cc;this[_0x2c5b9d(0xa7)][_0x2c5b9d(0xf2)]();}[_0x5be7cc(0x10d)](){const _0x514a1d=_0x5be7cc;this[_0x514a1d(0xa7)][_0x514a1d(0x10d)]();}[_0x5be7cc(0xf5)](_0x129d25){const _0x120d05=_0x5be7cc;_0x129d25!=null&&this[_0x120d05(0x104)]['delete'](_0x129d25);}['_addAllTreeMap'](_0x4d2f6c){const _0x212cf6=_0x5be7cc;var _0x596ea8,_0x248992;const _0x2b2f41=_0x4d2f6c[_0x212cf6(0xcf)];let _0x3247fa=this[_0x212cf6(0x104)][_0x212cf6(0xaa)](_0x4d2f6c[_0x212cf6(0x127)]);for(let _0x4a56b7=0x0;_0x4a56b7<_0x2b2f41[_0x212cf6(0xc4)];_0x4a56b7++){const _0x5ba1d8=_0x2b2f41[_0x4a56b7];let {unitId:_0x52970b,sheetId:_0x5b3f94,range:_0x4619b0}=_0x5ba1d8;_0x3247fa||(_0x3247fa=new Map(),this[_0x212cf6(0x104)][_0x212cf6(0xa2)](_0x4d2f6c[_0x212cf6(0x127)],_0x3247fa)),_0x3247fa['has'](_0x52970b)||_0x3247fa[_0x212cf6(0xa2)](_0x52970b,new Map());const _0x345fd2=(_0x596ea8=_0x3247fa==null?void 0x0:_0x3247fa[_0x212cf6(0xaa)](_0x52970b))==null?void 0x0:_0x596ea8[_0x212cf6(0xaa)](_0x5b3f94);_0x345fd2&&(_0x4619b0={'startRow':Math[_0x212cf6(0xbd)](_0x4619b0[_0x212cf6(0xd9)],_0x345fd2[_0x212cf6(0xd9)]),'startColumn':Math[_0x212cf6(0xbd)](_0x4619b0['startColumn'],_0x345fd2[_0x212cf6(0x12d)]),'endRow':Math['max'](_0x4619b0[_0x212cf6(0xf1)],_0x345fd2[_0x212cf6(0xf1)]),'endColumn':Math[_0x212cf6(0xff)](_0x4619b0['endColumn'],_0x345fd2[_0x212cf6(0x122)])}),(_0x248992=_0x3247fa[_0x212cf6(0xaa)](_0x52970b))==null||_0x248992[_0x212cf6(0xa2)](_0x5b3f94,_0x4619b0);}}}var Ve=Object['getOwnPropertyDescriptor'],Se=(_0x19afed,_0x471603,_0x466de5,_0x1b70dd)=>{const _0x589f81=_0x5be7cc;for(var _0x7cca2=_0x1b70dd>0x1?void 0x0:_0x1b70dd?Ve(_0x471603,_0x466de5):_0x471603,_0x217a78=_0x19afed[_0x589f81(0xc4)]-0x1,_0x5299d9;_0x217a78>=0x0;_0x217a78--)(_0x5299d9=_0x19afed[_0x217a78])&&(_0x7cca2=_0x5299d9(_0x7cca2)||_0x7cca2);return _0x7cca2;};const Xe=Number[_0x5be7cc(0xcb)](0x6921992b);let P=class extends _0x773104{[_0x5be7cc(0xec)](){const _0x3d02dd=_0x5be7cc;var _0x554eca,_0x208757;this[_0x3d02dd(0xb8)]()?(this[_0x3d02dd(0xf9)]['add']([_0x4b7001,{'useClass':Re}]),(_0x554eca=this[_0x3d02dd(0xdb)])!=null&&_0x554eca['notExecuteFormula']||[[_0x14d79c,{'useClass':ve}],[_0x14ac23,{'useClass':Ge}],[_0x3a0813,{'useClass':Ue}]][_0x3d02dd(0x111)](_0x5828be=>this[_0x3d02dd(0xf9)][_0x3d02dd(0x139)](_0x5828be))):(this['_injector'][_0x3d02dd(0x139)]([_0x4b7001,{'useClass':_0x4b7001}]),(_0x208757=this['_config'])!=null&&_0x208757['notExecuteFormula']||[[_0x14d79c,{'useClass':_0x2f6c3f}],[_0x14ac23,{'useClass':_0x540147}],[_0x3a0813,{'useClass':_0x2b4f99}]][_0x3d02dd(0x111)](_0x5bfe75=>this['_injector'][_0x3d02dd(0x139)](_0x5bfe75)));}['_initLicenseValid'](){const _0x48398f=_0x5be7cc;var _0x2091bf;const _0x57121d=(_0x2091bf=this['_configService'][_0x48398f(0x138)](_0x50b1b7))!=null?_0x2091bf:{},{ls:_0x513c5a,pbk:_0xad50f0}=_0x57121d;if(!_0x513c5a||!_0xad50f0)return!0x1;const _0x42991f=_0x2979d7(Ce,Te),_0x20396e=new Function(_0x48398f(0xe4)+_0x42991f)()(_0x513c5a,_0xad50f0),_0x3d1356=_0x20396e['message'];return _0x20396e[_0x48398f(0xbc)]&&_0x509243(_0x3d1356,'sf',Xe)?_0x484bcc(_0x3d1356,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=Se([_0x31e99a(_0x5f75ec)],P);function _0x256e(_0x242330,_0x5c6c97){const _0x228a70=_0x228a();return _0x256e=function(_0x256e0e,_0x504b5c){_0x256e0e=_0x256e0e-0x9f;let _0x417c77=_0x228a70[_0x256e0e];return _0x417c77;},_0x256e(_0x242330,_0x5c6c97);}export{P as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x47ecd8,_0x25e066){var _0x2bf264=_0x50b0,_0x4de9f0=_0x47ecd8();while(!![]){try{var _0x1f89f8=-parseInt(_0x2bf264(0x169))/0x1+parseInt(_0x2bf264(0x170))/0x2*(parseInt(_0x2bf264(0x16d))/0x3)+-parseInt(_0x2bf264(0x171))/0x4+parseInt(_0x2bf264(0x16e))/0x5+parseInt(_0x2bf264(0x16a))/0x6+-parseInt(_0x2bf264(0x168))/0x7*(-parseInt(_0x2bf264(0x16c))/0x8)+-parseInt(_0x2bf264(0x16f))/0x9*(-parseInt(_0x2bf264(0x16b))/0xa);if(_0x1f89f8===_0x25e066)break;else _0x4de9f0['push'](_0x4de9f0['shift']());}catch(_0x5108c5){_0x4de9f0['push'](_0x4de9f0['shift']());}}}(_0x2025,0x9eec1));function _0x2025(){var _0x1b3616=['10uJZOHt','8xEofwf','6KgUbOG','3898985eHozhx','680796KcLmEI','4552vpFnYU','3676308QCrErz','3104829gXOOmn','382871MKfPzY','3896118pkLGxc'];_0x2025=function(){return _0x1b3616;};return _0x2025();}function _0x50b0(_0x4071f6,_0x1aefa8){var _0x202589=_0x2025();return _0x50b0=function(_0x50b0c1,_0x3aff86){_0x50b0c1=_0x50b0c1-0x168;var _0x44e270=_0x202589[_0x50b0c1];return _0x44e270;},_0x50b0(_0x4071f6,_0x1aefa8);}export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x573964=_0xdec2;(function(_0x11cc79,_0xa53e58){const _0x5d8cc5=_0xdec2,_0x5e9a93=_0x11cc79();while(!![]){try{const _0x5935c9=-parseInt(_0x5d8cc5(0x23c))/0x1+parseInt(_0x5d8cc5(0x1a6))/0x2*(parseInt(_0x5d8cc5(0x257))/0x3)+parseInt(_0x5d8cc5(0x1f3))/0x4+-parseInt(_0x5d8cc5(0x215))/0x5+-parseInt(_0x5d8cc5(0x220))/0x6+-parseInt(_0x5d8cc5(0x202))/0x7*(parseInt(_0x5d8cc5(0x22e))/0x8)+parseInt(_0x5d8cc5(0x1be))/0x9;if(_0x5935c9===_0xa53e58)break;else _0x5e9a93['push'](_0x5e9a93['shift']());}catch(_0x581ee5){_0x5e9a93['push'](_0x5e9a93['shift']());}}}(_0x1b92,0xdc6e3));var Q=Object['defineProperty'],Z=(_0x486833,_0x596c02,_0x594078)=>_0x596c02 in _0x486833?Q(_0x486833,_0x596c02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594078}):_0x486833[_0x596c02]=_0x594078,U=(_0x32577e,_0xceb5ee,_0x150e0d)=>Z(_0x32577e,typeof _0xceb5ee!=_0x573964(0x1b4)?_0xceb5ee+'':_0xceb5ee,_0x150e0d);import{UniverLicensePlugin as _0x2cd21f,LS_CONFIG_KEY as _0x2af99a,unshiftString as _0x2d427c,isFeatureAuthorizedWithinTime as _0x38ee9b,getSheetFeatureLimit as _0x456be1}from'@univerjs-pro/license';import{ObjectMatrix as _0x5ac77f,requestImmediateMacroTask as _0x89b5b9,RTree as _0xb5d364,DependentOn as _0x3cc641}from'@univerjs/core';import{FormulaDependencyGenerator as _0x255910,generateRandomDependencyTreeId as _0x3cc5c5,FormulaDependencyTree as _0x4be2a4,FormulaDependencyTreeType as _0x3e40fc,FormulaDependencyTreeVirtual as _0x24ba35,generateAstNode as _0x2df1a6,LexerTreeBuilder as _0x2e2257,ErrorType as _0x1a8afa,DEFAULT_TOKEN_TYPE_ROOT as _0xb16712,DEFAULT_TOKEN_TYPE_PARAMETER as _0xbd1cbf,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x10ce6a,NEW_EXCEL_FUNCTIONS as _0x39446b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13976a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x12300a,matchToken as _0x9d5387,SUFFIX_TOKEN_SET as _0x5d1a12,prefixToken as _0x1cb147,LexerNode as _0x23cfaa,OPERATOR_TOKEN_SET as _0x19d9d1,CalculateFormulaService as _0x36e8da,FormulaExecuteStageType as _0x7e20d4,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x584a32,DEFAULT_INTERVAL_COUNT as _0x143eb6,DependencyManagerBaseService as _0x3514fc,UniverFormulaEnginePlugin as _0x16eec9,ICalculateFormulaService as _0x19f4ab,IDependencyManagerService as _0x345d5c,IFormulaDependencyGenerator as _0x1e8dfb,DependencyManagerService as _0x5f330d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x1b92(){const _0x104f99=['setFormulaExecuteStage','_otherFormulaData','_otherFormulaManagerService','ParentDependencyTree\x20object\x20is\x20null','error','max','_hasNewExcelFunction','featureId','START_CALCULATION','getDirtyNameMap','valid','_lexer','_allTreeMap','dispose','delete','addFormulaDependency','getAllRuntimeData','getOtherFormulaData','addOtherFormulaDependency','3tlYCPp','join','209942AfPBTb','getValue','bulkRemove','set','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','closeKdTree','subUnitId','refOffsetX','getDirtyRanges','isSkip','_generateNewFunctionString','_isCyclicUtilMap','markedAsSuccessfullyExecuted','_generateTreeList','symbol','IDLE','getToken','isForceCalculate','treeId','markedAsNoFunctionsExecuted','addFeatureFormulaDependency','_xlpm.','isCache','setSkip','38847150oOdwUV','realDeleteValue','_initLicenseValid','parseInt','resetCalculationState','endRow','_handleNewFunctionChild','clearOtherFormulaDependency','_otherFormulaDataMainData','keys','execute','setTotalArrayFormulasToCalculate','getChildren','isArray','isDirty','MINUS','getNewFormulaWithPrefix','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','_config','_registerOtherFormulas','push','openKdTree','_getTreeNode','START_CALCULATION_ARRAY_FORMULA','_dependencyTreeCache','_convertDirtyRangesToUnitRange','OTHER_FORMULA','bulkSearch','_configService','getExcludedRange','string','get','endColumn','_injector','_getFeatureFormulaTree','addFormulaDependencyByDefinedName','COLON','_removeDependencyRTreeCacheById','size','pop','removeFeatureFormulaDependency','_executionInProgressListener$','getClearDependencyTreeCache','formula','clearFeatureFormulaDependency','has','executeAsync','_featureFormulaData','addOtherFormulaDependencyMainData','clear','_getTreeById','_dependencyManagerService','663700hYitDg','_runtimeService','formulaId','setValue','getConfig','min','_createVirtualFDtree','_xlfn.','toRTreeItem','removeFormulaDependency','_formulaDependencyGenerator','_updateRangeFlatten','_traverse','setRuntimeData','_dependencyRTreeCache','11972821DedAQM','removeFormulaDependencyByDefinedName','_dependencyRTreeCacheForAddressFunction','searchDependency','return\x20','rowCount','refOffsetY','setRuntimeFeatureRange','getFormulaData','PLUS','setCurrent','_removeDependencyRTreeCache','dirtyRanges','slice','_calculateRunList','treeBuilder','getFormulaDependency','setCompletedFormulasCount','_formulaData','6750640cJHINv','_restDependencyTreeId','markedAsStopFunctionsExecuted','getUnitData','hasOtherFormulaDataMainData','_getFirstCellOfRange','getRuntimeState','row','_checkIsCycleDependency','isAdded','add','3706590aTbNyh','columnCount','removeOtherFormulaDependency','_interpreter','forEach','CURRENTLY_CALCULATING','setAdded','reset','startRow','_currentConfigService','type','_createFDtree','generate','length','8remAet','_apply','startColumn','Let\x20variable\x20name\x20\x22','notExecuteFormula','VALUE','node','getDirtyData','CURRENTLY_CALCULATING_ARRAY_FORMULA','next','forValue','_checkAddBracketForMinus','_initializeWithOverride','_clearFunctionString','6067CweXqa','rangeList','isVirtual','_astTreeBuilder','clearFormulaDependency','column','unitId','_lambdaFunctionParameterSet'];_0x1b92=function(){return _0x104f99;};return _0x1b92();}function _0xdec2(_0x2cb59f,_0x2373ae){const _0x1b9212=_0x1b92();return _0xdec2=function(_0xdec25f,_0x2eacbe){_0xdec25f=_0xdec25f-0x1a6;let _0x338fbc=_0x1b9212[_0xdec25f];return _0x338fbc;},_0xdec2(_0x2cb59f,_0x2373ae);}const Ce={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},Oe=_0x573964(0x1aa);class Pe extends _0x255910{constructor(){const _0x5d40bc=_0x573964;super(...arguments),U(this,_0x5d40bc(0x1d7),new Map());}[_0x573964(0x251)](){const _0x68f2f9=_0x573964;super[_0x68f2f9(0x251)](),this[_0x68f2f9(0x1d7)][_0x68f2f9(0x1f0)]();}async[_0x573964(0x22c)](){const _0x54a827=_0x573964;this[_0x54a827(0x1fe)]();const _0x4db9ed=this[_0x54a827(0x229)][_0x54a827(0x20a)](),_0x17fb1b=this[_0x54a827(0x246)][_0x54a827(0x255)](),_0x4b553a=this['_currentConfigService'][_0x54a827(0x1e9)]();_0x4b553a!=null&&Object[_0x54a827(0x1c7)](_0x4b553a)[_0x54a827(0x224)](_0xf2de57=>{const _0x1997a9=_0x54a827;_0xf2de57!=null&&Object['keys'](_0x4b553a[_0xf2de57])[_0x1997a9(0x224)](_0x2d2e93=>{const _0x1aaa6e=_0x1997a9;_0x2d2e93!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x1eb)](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x240)](_0xf2de57,_0x2d2e93));});});const _0x37d60e=this['_currentConfigService'][_0x54a827(0x218)]();await this[_0x54a827(0x1b3)](_0x4db9ed,_0x17fb1b,_0x37d60e),this[_0x54a827(0x1f2)]['openKdTree']();const _0x18d700=this[_0x54a827(0x1d0)](),_0x5ba848=this[_0x54a827(0x210)](_0x18d700);return this[_0x54a827(0x21d)](_0x5ba848)&&this['_runtimeService']['enableCycleDependency'](),this[_0x54a827(0x1d7)][_0x54a827(0x1f0)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x54a827(0x1f2)][_0x54a827(0x1ab)](),this[_0x54a827(0x1f4)]['clearArrayObjectCache'](),Promise['resolve'](_0x5ba848);}[_0x573964(0x1b1)](_0x9f2d08,_0x54ff9b){const _0x343479=_0x573964,_0x1ab94e=[_0x9f2d08];for(;_0x1ab94e['length']>0x0;){const _0x4213ae=_0x1ab94e[_0x1ab94e[_0x343479(0x22d)]-0x1];if((_0x54ff9b[_0x343479(0x1de)](_0x4213ae)||0x0)===0x0){_0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x1);const _0x3d8580=this['_dependencyTreeCache']['get'](_0x4213ae);if(_0x3d8580==null){_0x54ff9b['set'](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();continue;}const _0x76a0=this[_0x343479(0x1f2)]['searchDependency'](_0x3d8580[_0x343479(0x1fb)]());for(const _0x17691f of _0x76a0){const _0x37bf87=_0x54ff9b['get'](_0x17691f)||0x0;if(_0x37bf87===0x1)return!0x0;_0x37bf87===0x0&&_0x1ab94e[_0x343479(0x1d3)](_0x17691f);}}else _0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();}return!0x1;}[_0x573964(0x21d)](_0x42621a){const _0x42e45e=_0x573964,_0x5a25d2=new Map();for(const _0x21d8a7 of _0x42621a)if(!_0x5a25d2['has'](_0x21d8a7[_0x42e45e(0x1b8)])&&this[_0x42e45e(0x1b1)](_0x21d8a7[_0x42e45e(0x1b8)],_0x5a25d2))return!0x0;return _0x5a25d2[_0x42e45e(0x1f0)](),!0x1;}[_0x573964(0x1e1)](_0x140883,_0x389e85,_0x1a9118){const _0x380d80=_0x573964,{unitId:_0x55f45c,subUnitId:_0x185ab9,dependencyRanges:_0x3cc1fc,getDirtyData:_0x847009}=_0x1a9118,_0x2f5075=_0x389e85||_0x3cc5c5(this[_0x380d80(0x1f2)]),_0x3788ab=new _0x4be2a4(_0x2f5075);_0x3788ab[_0x380d80(0x242)]=_0x55f45c,_0x3788ab[_0x380d80(0x1ac)]=_0x185ab9,_0x3788ab['rangeList']=_0x3cc1fc,_0x3788ab['getDirtyData']=_0x847009;const _0x2a4b60=_0x847009(this[_0x380d80(0x229)][_0x380d80(0x235)](),this[_0x380d80(0x1f4)]['getAllRuntimeData']()),_0x7ae88=this[_0x380d80(0x1d8)](_0x2a4b60[_0x380d80(0x20e)]);return _0x3788ab['featureDirtyRanges']=_0x7ae88,_0x3788ab[_0x380d80(0x24b)]=_0x140883,_0x3788ab[_0x380d80(0x22a)]=_0x3e40fc['FEATURE_FORMULA'],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x55f45c,_0x185ab9,_0x140883,_0x3788ab),this['_dependencyTreeCache']['set'](_0x3788ab[_0x380d80(0x1b8)],_0x3788ab),this[_0x380d80(0x1f2)]['getFeatureFormulaDependency'](_0x1a9118[_0x380d80(0x242)],_0x1a9118[_0x380d80(0x1ac)],_0x140883)&&(_0x3788ab['isCache']=!0x0),_0x3788ab;}[_0x573964(0x1d2)](_0xfa9a7e,_0x1e2f05,_0x29b769){const _0x192a23=_0x573964;var _0x5a1d7b;for(const _0x4d2917 of _0x1e2f05){const _0x5dbda8=_0xfa9a7e[_0x4d2917];if(_0x5dbda8==null)continue;const _0x1e32d7=Object[_0x192a23(0x1c7)](_0x5dbda8);for(const _0x242f09 of _0x1e32d7){const _0xdb21e=_0x5dbda8[_0x242f09];if(_0xdb21e==null)continue;const _0x30709d=Object[_0x192a23(0x1c7)](_0xdb21e);for(const _0x114ba1 of _0x30709d){const _0x56f161=this['_dependencyManagerService'][_0x192a23(0x219)](_0x114ba1),_0x202af5=_0xdb21e[_0x114ba1],{f:_0x346451,ranges:_0x5e183c}=_0x202af5;let _0x5a6b52=!0x1;_0x56f161&&(_0x5a6b52=!0x0);const {firstRow:_0x1b9a17,firstColumn:_0x580518}=this[_0x192a23(0x21a)](_0x5e183c),_0x121454=this[_0x192a23(0x1f2)]['getOtherFormulaDependency'](_0x4d2917,_0x242f09,_0x114ba1),_0x1ff71e=(_0x5a1d7b=_0x121454==null?void 0x0:_0x121454['getValue'](0x0,0x0))!=null?_0x5a1d7b:_0x3cc5c5(this['_dependencyManagerService']),_0x408d6e=new _0x4be2a4(_0x1ff71e);for(let _0x2aa1e5=0x0;_0x2aa1e5<_0x5e183c['length'];_0x2aa1e5++){const _0x405e3d=_0x5e183c[_0x2aa1e5],{startRow:_0x5c7849,startColumn:_0x1bc072,endRow:_0x367b71,endColumn:_0x328112}=_0x405e3d;for(let _0x3be458=_0x5c7849;_0x3be458<=_0x367b71;_0x3be458++)for(let _0x377cd2=_0x1bc072;_0x377cd2<=_0x328112;_0x377cd2++){const _0x32d2ab=_0x377cd2-_0x580518,_0x19b72d=_0x3be458-_0x1b9a17;if(_0x32d2ab===0x0&&_0x19b72d===0x0){_0x408d6e[_0x192a23(0x1ea)]=_0x346451,_0x408d6e[_0x192a23(0x242)]=_0x4d2917,_0x408d6e[_0x192a23(0x1ac)]=_0x242f09,_0x408d6e[_0x192a23(0x1f5)]=_0x114ba1,_0x408d6e[_0x192a23(0x22a)]=_0x3e40fc[_0x192a23(0x1d9)],_0x408d6e[_0x192a23(0x1bc)]=_0x5a6b52,_0x29b769[_0x192a23(0x1d3)](_0x408d6e),this[_0x192a23(0x1d7)]['set'](_0x408d6e['treeId'],_0x408d6e),this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x408d6e),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x408d6e);continue;}const _0x10f2b0=new _0x24ba35();_0x10f2b0[_0x192a23(0x1b8)]=(_0x121454==null?void 0x0:_0x121454[_0x192a23(0x1a7)](_0x32d2ab,_0x19b72d))||_0x3cc5c5(this[_0x192a23(0x1f2)]),_0x10f2b0['refTree']=_0x408d6e,_0x10f2b0[_0x192a23(0x1ad)]=_0x32d2ab,_0x10f2b0[_0x192a23(0x208)]=_0x19b72d,_0x10f2b0[_0x192a23(0x1bc)]=_0x5a6b52,this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x10f2b0),this[_0x192a23(0x1f2)]['addFormulaDependencyByDefinedName'](_0x10f2b0),_0x29b769[_0x192a23(0x1d3)](_0x10f2b0),this[_0x192a23(0x1d7)][_0x192a23(0x1a9)](_0x10f2b0[_0x192a23(0x1b8)],_0x10f2b0);}}this['_dependencyManagerService'][_0x192a23(0x1ef)](_0x114ba1);}}}}['_registerFormulas'](_0x1fec30,_0x2daaff,_0xdb84fa,_0x4ff9bb){const _0x36577d=_0x573964;for(const _0x5bcbdf of _0x1fec30){const _0x24b38a=_0x2daaff[_0x5bcbdf];if(_0x24b38a==null)continue;const _0x14fcb4=Object['keys'](_0x24b38a);for(const _0x5f405c of _0x14fcb4){const _0x5a9616=new _0x5ac77f(_0x24b38a[_0x5f405c]||{}),_0x4be4ee=new Map();_0x5a9616['forValue']((_0x37d1a4,_0x1c1cf3,_0x173a98)=>{const _0x2aa89b=_0xdec2;if(_0x173a98==null)return!0x0;const {x:_0x416e46=0x0,y:_0x5abb17=0x0,si:_0x20588d}=_0x173a98;if(!(_0x416e46===0x0&&_0x5abb17===0x0&&_0x20588d!=null))return!0x0;const _0x3674e4=this[_0x2aa89b(0x22b)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0xdb84fa,_0x173a98),_0x5a6e90=this[_0x2aa89b(0x1f2)][_0x2aa89b(0x212)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3);_0x5a6e90!=null?_0x3674e4['treeId']=_0x5a6e90:(this[_0x2aa89b(0x1f2)][_0x2aa89b(0x253)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0x3674e4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x3674e4)),_0x4be4ee[_0x2aa89b(0x1a9)](_0x20588d,_0x3674e4),_0x4ff9bb['push'](_0x3674e4),this[_0x2aa89b(0x1d7)][_0x2aa89b(0x1a9)](_0x3674e4[_0x2aa89b(0x1b8)],_0x3674e4);}),_0x5a9616[_0x36577d(0x238)]((_0x41fba4,_0x403e18,_0x3604aa)=>{const _0x3e3253=_0x36577d;if(_0x3604aa==null)return!0x0;const {x:_0x47d746=0x0,y:_0x916d83=0x0,si:_0x4c6ac8}=_0x3604aa;if(_0x47d746===0x0&&_0x916d83===0x0&&_0x4c6ac8!=null)return!0x0;let _0x274d26;if(_0x4c6ac8&&_0x4be4ee['has'](_0x4c6ac8)){const _0x301e80=_0x4be4ee[_0x3e3253(0x1de)](_0x4c6ac8);_0x274d26=this[_0x3e3253(0x1f9)](_0x301e80,_0x3604aa);}else _0x274d26=this[_0x3e3253(0x22b)](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0xdb84fa,_0x3604aa);const _0xfa3126=this[_0x3e3253(0x1f2)]['getFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18);_0xfa3126!=null?_0x274d26[_0x3e3253(0x1b8)]=_0xfa3126:(this[_0x3e3253(0x1f2)]['addFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0x274d26),this[_0x3e3253(0x1f2)][_0x3e3253(0x1e2)](_0x274d26)),_0x4ff9bb[_0x3e3253(0x1d3)](_0x274d26),this['_dependencyTreeCache'][_0x3e3253(0x1a9)](_0x274d26[_0x3e3253(0x1b8)],_0x274d26);}),_0x4be4ee[_0x36577d(0x1f0)]();}}}[_0x573964(0x22b)](_0x35d2f9,_0x52d3f5,_0x18458d,_0x5befd8,_0x876e56,_0x163d16){const _0x4cb018=_0x573964,{f:_0x50888c,x:_0x1c13fc=0x0,y:_0xd3ae70=0x0}=_0x163d16,_0x2e415c=new _0x4be2a4(_0x3cc5c5(this[_0x4cb018(0x1f2)])),_0x4f64f4=_0x876e56[_0x35d2f9][_0x52d3f5];return _0x2e415c[_0x4cb018(0x1ea)]=_0x50888c,_0x2e415c[_0x4cb018(0x242)]=_0x35d2f9,_0x2e415c[_0x4cb018(0x1ac)]=_0x52d3f5,_0x2e415c[_0x4cb018(0x21c)]=_0x18458d,_0x2e415c[_0x4cb018(0x241)]=_0x5befd8,_0x2e415c['rowCount']=_0x4f64f4[_0x4cb018(0x207)],_0x2e415c[_0x4cb018(0x221)]=_0x4f64f4[_0x4cb018(0x221)],_0x2e415c;}[_0x573964(0x1d0)](){const _0x198d50=_0x573964,_0x4daea4=[],_0x631f05=new Set(),_0x33a245=this['_currentConfigService'][_0x198d50(0x1b7)](),_0x1f5ac4=this[_0x198d50(0x229)][_0x198d50(0x1ae)](),_0x4d725a=this[_0x198d50(0x1f2)][_0x198d50(0x205)](_0x1f5ac4),_0x537f65=this[_0x198d50(0x204)][_0x198d50(0x1da)](_0x1f5ac4);for(const _0x3c5b83 of _0x537f65)_0x4d725a[_0x198d50(0x21f)](_0x3c5b83);for(const [_0x5ee843,_0x31d2cf]of this[_0x198d50(0x1d7)])(_0x33a245||_0x31d2cf[_0x198d50(0x1cc)]||_0x31d2cf['dependencySheetName'](this[_0x198d50(0x229)][_0x198d50(0x24d)]())||_0x4d725a[_0x198d50(0x1ec)](_0x5ee843)&&!_0x31d2cf['isExcludeRange'](this[_0x198d50(0x229)][_0x198d50(0x1dc)]()))&&!_0x631f05['has'](_0x5ee843)&&(_0x4daea4[_0x198d50(0x1d3)](_0x31d2cf),_0x631f05['add'](_0x5ee843));for(const [_0x5bcf6a,_0x3f4bfd]of this[_0x198d50(0x1d7)])_0x3f4bfd[_0x198d50(0x23e)]||(_0x3f4bfd[_0x198d50(0x23d)]['length']=0x0);return _0x4daea4;}[_0x573964(0x1f1)](_0x20f5a4){const _0x42a457=_0x573964;return this[_0x42a457(0x1d7)][_0x42a457(0x1de)](_0x20f5a4);}[_0x573964(0x1d5)](_0x289cbe){const _0x56c7bb=_0x573964;return _0x2df1a6(_0x289cbe[_0x56c7bb(0x242)],_0x289cbe[_0x56c7bb(0x1ea)],this[_0x56c7bb(0x24f)],this['_astTreeBuilder'],this[_0x56c7bb(0x229)]);}*[_0x573964(0x1ff)](_0x52867e,_0x5b0b4a){const _0x32bee4=_0x573964,_0x131aff=_0x52867e,_0x2ed826=new Set();for(;_0x131aff[_0x32bee4(0x22d)]>0x0;){const _0x7d586d=_0x131aff[_0x32bee4(0x1e6)]();if(_0x2ed826[_0x32bee4(0x1f0)](),_0x7d586d===void 0x0||_0x7d586d[_0x32bee4(0x1af)]())continue;if(_0x7d586d[_0x32bee4(0x21e)]()){yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a[_0x32bee4(0x21f)](_0x7d586d[_0x32bee4(0x1b8)]);continue;}const _0xa0267e=this['_dependencyManagerService'][_0x32bee4(0x205)](_0x7d586d['toRTreeItem'](),_0x5b0b4a),_0x338a34=this[_0x32bee4(0x204)][_0x32bee4(0x1da)](_0x7d586d[_0x32bee4(0x1fb)](),_0x5b0b4a);for(const _0x4daf06 of _0x338a34)_0xa0267e[_0x32bee4(0x21f)](_0x4daf06);for(const _0x1df8df of _0xa0267e){const _0x678f46=this[_0x32bee4(0x1d7)][_0x32bee4(0x1de)](_0x1df8df);if(!_0x678f46)throw new Error(_0x32bee4(0x247));_0x678f46['isAdded']()||_0x7d586d[_0x32bee4(0x1af)]()||_0x2ed826[_0x32bee4(0x21f)](_0x678f46);}if(_0xa0267e[_0x32bee4(0x1f0)](),_0x2ed826[_0x32bee4(0x1e5)]===0x0)yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a['add'](_0x7d586d['treeId']);else{_0x7d586d[_0x32bee4(0x226)](),_0x131aff[_0x32bee4(0x1d3)](_0x7d586d);for(const _0x220093 of _0x2ed826)_0x131aff['push'](_0x220093);}}_0x131aff[_0x32bee4(0x22d)]=0x0,_0x2ed826[_0x32bee4(0x1f0)]();}['_calculateRunList'](_0x5d770d){const _0x30afa2=_0x573964,_0x325e8b=[],_0x48d382=new Set();for(const _0x441ba0 of this[_0x30afa2(0x1ff)](_0x5d770d,_0x48d382))_0x325e8b['push'](_0x441ba0);return _0x325e8b;}}class Ue extends _0x2e2257{constructor(){const _0x4f3767=_0x573964;super(...arguments),U(this,_0x4f3767(0x24a),!0x1),U(this,'_lambdaFunctionParameterSet',new Set());}[_0x573964(0x1ce)](_0x169dd7,_0xe5e1f1){const _0xa78c9=_0x573964,_0x17d5b7=this[_0xa78c9(0x211)](_0x169dd7,!0x1);if(!_0x17d5b7||_0x17d5b7===_0x1a8afa[_0xa78c9(0x233)]||Array[_0xa78c9(0x1cb)](_0x17d5b7))return null;const _0x20e245=[];return this[_0xa78c9(0x24a)]=!0x1,this[_0xa78c9(0x1b0)](_0x17d5b7,_0x20e245,_0xe5e1f1),this[_0xa78c9(0x24a)]?'='+_0x20e245[_0xa78c9(0x258)](''):null;}[_0x573964(0x1b0)](_0x33db93,_0x1ee4d6,_0x331d42){const _0x51cf4f=_0x573964,_0x3b98c9=_0x33db93[_0x51cf4f(0x1b6)](),_0x58aa21=_0x3b98c9['trim'](),_0x4f35f4=_0x58aa21['toUpperCase'](),_0x521670=this['_clearFunctionString'](_0x4f35f4),_0x5182a6=_0x331d42(_0x521670);let _0x166538=0x0;_0x3b98c9===_0xb16712?_0x166538=0x3:_0x3b98c9===_0xbd1cbf?_0x166538=0x4:_0x3b98c9===_0x10ce6a?_0x166538=0x5:_0x39446b[_0x51cf4f(0x1ec)](_0x521670)?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0):_0x4f35f4===_0x13976a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x2):_0x4f35f4===_0x12300a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x1):_0x4f35f4===_0x9d5387[_0x51cf4f(0x1e3)]?_0x166538=0x8:_0x5d1a12['has'](_0x4f35f4)?_0x166538=0x7:_0x4f35f4===_0x1cb147[_0x51cf4f(0x1cd)]?(this[_0x51cf4f(0x239)](_0x33db93)&&(_0x166538=0x9),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9)):(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),_0x166538=0xa),_0x5182a6?(_0x166538!==0x2&&_0x166538!==0x1&&(_0x166538=0x6),_0x1ee4d6[_0x51cf4f(0x1d3)]('(')):_0x166538===0x9&&_0x1ee4d6[_0x51cf4f(0x1d3)]('(');const _0x3d5688=_0x33db93['getChildren'](),_0x1bbd43=_0x3d5688[_0x51cf4f(0x22d)];if(_0x166538===0x2){const _0x217afc=_0x3d5688[0x0];let _0x75e0d4=0x0;_0x217afc instanceof _0x23cfaa&&_0x217afc[_0x51cf4f(0x1b6)]()===_0x10ce6a&&(_0x75e0d4=0x1);for(let _0x3ad051=_0x75e0d4;_0x3ad051<_0x1bbd43-0x1;_0x3ad051++){const _0x574db7=_0x3d5688[_0x3ad051];if(_0x574db7 instanceof _0x23cfaa){const _0x25d965=_0x574db7[_0x51cf4f(0x1ca)]()[0x0];typeof _0x25d965==_0x51cf4f(0x1dd)&&(this['_lambdaFunctionParameterSet'][_0x51cf4f(0x1ec)](_0x25d965)&&console[_0x51cf4f(0x248)]('Lambda\x20parameter\x20name\x20\x22'+_0x25d965+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x25d965),_0x1ee4d6[_0x51cf4f(0x1d3)]('_xlpm.'+_0x25d965),this[_0x51cf4f(0x24a)]=!0x0);}_0x1ee4d6['push'](',');}this['_handleNewFunctionChild'](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x75e0d4===0x1&&(_0x1ee4d6[_0x51cf4f(0x1d3)](')'),_0x1ee4d6['push']('('),this[_0x51cf4f(0x1b0)](_0x217afc,_0x1ee4d6,_0x331d42)),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x1){for(let _0x582546=0x0;_0x582546<_0x1bbd43-0x1;_0x582546++){const _0x2c9e50=_0x3d5688[_0x582546];if(_0x2c9e50 instanceof _0x23cfaa&&_0x582546%0x2===0x0){const _0x5f17cb=_0x2c9e50['getChildren']()[0x0];if(typeof _0x5f17cb==_0x51cf4f(0x1dd)){this[_0x51cf4f(0x243)][_0x51cf4f(0x1ec)](_0x5f17cb)&&console[_0x51cf4f(0x248)](_0x51cf4f(0x231)+_0x5f17cb+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x5f17cb),_0x1ee4d6['push'](_0x51cf4f(0x1bb)+_0x5f17cb),this['_hasNewExcelFunction']=!0x0,_0x1ee4d6[_0x51cf4f(0x1d3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2c9e50,_0x1ee4d6,_0x331d42),_0x2c9e50 instanceof _0x23cfaa){const _0x252cb8=_0x3d5688[_0x582546+0x1];_0x252cb8&&_0x252cb8 instanceof _0x23cfaa&&_0x1ee4d6[_0x51cf4f(0x1d3)](',');}}this[_0x51cf4f(0x1c4)](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x8){const _0x2ca367=_0x3d5688[0x0],_0x64a63=_0x3d5688[0x1];this[_0x51cf4f(0x1c4)](_0x2ca367,_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),this[_0x51cf4f(0x1c4)](_0x64a63,_0x1ee4d6,_0x331d42);return;}}}for(let _0x21591e=0x0;_0x21591e<_0x1bbd43;_0x21591e++){const _0x3c1c98=_0x3d5688[_0x21591e];if(this[_0x51cf4f(0x1c4)](_0x3c1c98,_0x1ee4d6,_0x331d42),_0x3c1c98 instanceof _0x23cfaa){const _0x303017=_0x3d5688[_0x21591e+0x1];_0x303017&&_0x303017 instanceof _0x23cfaa&&_0x1ee4d6['push'](',');}}_0x166538===0x7&&_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),(_0x5182a6||_0x166538===0x9)&&_0x1ee4d6[_0x51cf4f(0x1d3)](')');}[_0x573964(0x1c4)](_0xca0f6f,_0x5ebe9a,_0x19e32c){const _0x2443ea=_0x573964;_0xca0f6f instanceof _0x23cfaa?this[_0x2443ea(0x1b0)](_0xca0f6f,_0x5ebe9a,_0x19e32c):this['_lambdaFunctionParameterSet'][_0x2443ea(0x1ec)](_0xca0f6f)?(_0x5ebe9a[_0x2443ea(0x1d3)]('_xlpm.'+_0xca0f6f),this[_0x2443ea(0x24a)]=!0x0):_0x5ebe9a[_0x2443ea(0x1d3)](_0xca0f6f);}[_0x573964(0x23b)](_0x47adf6){const _0xe51e86=_0x573964;let _0x4b85a1=_0x47adf6['trim']();if(!_0x4b85a1)return _0x4b85a1;const _0x9187d5=_0x4b85a1[0x0];if((_0x9187d5===_0x1cb147['AT']||_0x9187d5===_0x1cb147[_0xe51e86(0x1cd)]||_0x9187d5===_0x1cb147[_0xe51e86(0x20b)])&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x1)),!_0x4b85a1)return _0x4b85a1;const _0xaf532e=_0x4b85a1[_0x4b85a1[_0xe51e86(0x22d)]-0x1];return _0x5d1a12[_0xe51e86(0x1ec)](_0xaf532e)&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x0,-0x1)),_0x4b85a1;}[_0x573964(0x239)](_0x36877d){const _0x136346=_0x573964,_0x4a073f=_0x36877d['getChildren']()[0x0];if(!_0x4a073f||!(_0x4a073f instanceof _0x23cfaa)||_0x36877d[_0x136346(0x1ca)]()[_0x136346(0x22d)]>0x1)return!0x1;const _0x28f459=_0x4a073f[_0x136346(0x1ca)](),_0x1fe506=_0x28f459['length'];if(_0x1fe506===0x1)return!0x1;for(let _0x437ba3=0x0;_0x437ba3<_0x1fe506;_0x437ba3++){const _0x4efad5=_0x28f459[_0x437ba3];if(!(_0x4efad5 instanceof _0x23cfaa)&&_0x19d9d1['has'](_0x4efad5))return!0x0;}return!0x1;}}class ve extends _0x36e8da{async[_0x573964(0x22f)](_0x49f77a=!0x1){const _0x5086d8=_0x573964;_0x49f77a?this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY']),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());const _0x2a0846=await this[_0x5086d8(0x1fd)][_0x5086d8(0x22c)](),_0x53adc8=this[_0x5086d8(0x223)];_0x49f77a?(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x1d6)]),this['_runtimeService'][_0x5086d8(0x1c9)](_0x2a0846[_0x5086d8(0x22d)])):(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x24c)]),this[_0x5086d8(0x1f4)]['setTotalFormulasToCalculate'](_0x2a0846[_0x5086d8(0x22d)])),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());let _0x478b8c=[];const _0x4c36ee=this[_0x5086d8(0x1db)][_0x5086d8(0x1f7)](_0x584a32),_0x38a6f2=(_0x4c36ee==null?void 0x0:_0x4c36ee['intervalCount'])||_0x143eb6;let _0x363438=0x0;const _0x185b05=_0x2a0846[_0x5086d8(0x22d)];for(;_0x2a0846[_0x5086d8(0x22d)]>0x0;){const _0x35f5b5=_0x2a0846[_0x5086d8(0x1e6)](),_0x5f4662=_0x2df1a6(_0x35f5b5[_0x5086d8(0x242)],_0x35f5b5[_0x5086d8(0x1ea)],this[_0x5086d8(0x24f)],this[_0x5086d8(0x23f)],this[_0x5086d8(0x229)]),_0x5429fa={'node':_0x5f4662,'refOffsetX':_0x35f5b5['refOffsetX'],'refOffsetY':_0x35f5b5[_0x5086d8(0x208)]},_0x2c5d04=_0x35f5b5['getDirtyData'];if(_0x363438%_0x38a6f2===0x0&&(await new Promise(_0x13a954=>{const _0x176115=_0x89b5b9(_0x13a954);_0x478b8c['push'](_0x176115);}),_0x49f77a?(this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x236)]),this[_0x5086d8(0x1f4)]['setCompletedArrayFormulasCount'](_0x363438+0x1)):(this['_runtimeService'][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x225)]),this[_0x5086d8(0x1f4)][_0x5086d8(0x213)](_0x363438+0x1)),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)]['getRuntimeState']()),this['_runtimeService']['isStopExecution']()||_0x5429fa==null&&_0x2c5d04==null)){this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x1b5)]),this['_runtimeService'][_0x5086d8(0x217)](),this['_executionCompleteListener$'][_0x5086d8(0x237)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x5086d8(0x1f4)][_0x5086d8(0x20c)](_0x35f5b5['row'],_0x35f5b5[_0x5086d8(0x241)],_0x35f5b5['rowCount'],_0x35f5b5[_0x5086d8(0x221)],_0x35f5b5['subUnitId'],_0x35f5b5[_0x5086d8(0x242)]);let _0xe73bd5;if(_0x2c5d04!=null&&_0x35f5b5[_0x5086d8(0x24b)]!=null){const {runtimeCellData:_0x8e4660,dirtyRanges:_0x1bc327}=_0x2c5d04(this[_0x5086d8(0x229)][_0x5086d8(0x235)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]());this[_0x5086d8(0x1f4)]['setRuntimeFeatureCellData'](_0x35f5b5[_0x5086d8(0x24b)],_0x8e4660),this[_0x5086d8(0x1f4)][_0x5086d8(0x209)](_0x35f5b5['featureId'],_0x1bc327);}else _0x5429fa!=null&&(_0x53adc8['checkAsyncNode'](_0x5429fa[_0x5086d8(0x234)])?_0xe73bd5=await _0x53adc8[_0x5086d8(0x1ed)](_0x5429fa):_0xe73bd5=_0x53adc8[_0x5086d8(0x1c8)](_0x5429fa),_0x35f5b5[_0x5086d8(0x1f5)]!=null?this[_0x5086d8(0x1f4)]['setRuntimeOtherData'](_0x35f5b5['formulaId'],_0x35f5b5[_0x5086d8(0x1ad)],_0x35f5b5[_0x5086d8(0x208)],_0xe73bd5):this['_runtimeService'][_0x5086d8(0x200)](_0xe73bd5));_0x5f4662[_0x5086d8(0x1c2)](),_0x363438++;}return _0x478b8c['forEach'](_0x52a1f5=>_0x52a1f5()),_0x478b8c=[],_0x185b05>0x0?this[_0x5086d8(0x1f4)][_0x5086d8(0x1b2)]():_0x49f77a||this['_runtimeService'][_0x5086d8(0x1b9)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]();}}class we extends _0x3514fc{constructor(){const _0x295d5e=_0x573964;super(...arguments),U(this,_0x295d5e(0x250),new Map()),U(this,_0x295d5e(0x201),new _0xb5d364(!0x0));}[_0x573964(0x227)](){const _0x1552c5=_0x573964;this[_0x1552c5(0x245)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x1ee)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x214)][_0x1552c5(0x1f0)](),this['_dependencyRTreeCache'][_0x1552c5(0x1f0)](),this[_0x1552c5(0x250)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x216)](),this[_0x1552c5(0x1c6)]['clear']();}['addOtherFormulaDependency'](_0x393259,_0x27c53d,_0x2c1ae9,_0x4d1d7d){const _0x4724f2=_0x573964;this[_0x4724f2(0x245)][_0x4724f2(0x1ec)](_0x393259)||this[_0x4724f2(0x245)]['set'](_0x393259,new Map());const _0xc59ded=this['_otherFormulaData'][_0x4724f2(0x1de)](_0x393259);_0xc59ded[_0x4724f2(0x1ec)](_0x27c53d)||_0xc59ded[_0x4724f2(0x1a9)](_0x27c53d,new Map());const _0x5d8f7a=_0xc59ded[_0x4724f2(0x1de)](_0x27c53d);_0x5d8f7a['has'](_0x2c1ae9)||_0x5d8f7a[_0x4724f2(0x1a9)](_0x2c1ae9,new _0x5ac77f()),_0x5d8f7a[_0x4724f2(0x1de)](_0x2c1ae9)[_0x4724f2(0x1f6)](_0x4d1d7d[_0x4724f2(0x1ad)],_0x4d1d7d[_0x4724f2(0x208)],_0x4d1d7d[_0x4724f2(0x1b8)]);}[_0x573964(0x222)](_0x2fab56,_0x44b7e3,_0x247895){const _0x206db3=_0x573964,_0x5b54f2=this['_otherFormulaData'][_0x206db3(0x1de)](_0x2fab56);if(_0x5b54f2&&_0x5b54f2[_0x206db3(0x1ec)](_0x44b7e3)){const _0x33616c=_0x5b54f2[_0x206db3(0x1de)](_0x44b7e3);_0x247895['forEach'](_0x44269f=>{const _0x26705f=_0x206db3,_0x47c5e1=_0x33616c['get'](_0x44269f);_0x47c5e1!=null&&(_0x47c5e1['forValue']((_0xa5b42b,_0x66e3fd,_0x1c631a)=>{const _0x424623=_0xdec2;this[_0x424623(0x20d)](_0x1c631a),this['_removeAllTreeMap'](_0x1c631a);}),_0x33616c[_0x26705f(0x252)](_0x44269f),this[_0x26705f(0x1c6)][_0x26705f(0x252)](_0x44269f));}),_0x33616c[_0x206db3(0x1e5)]===0x0&&_0x5b54f2[_0x206db3(0x252)](_0x44b7e3),_0x5b54f2[_0x206db3(0x1e5)]===0x0&&this['_otherFormulaData'][_0x206db3(0x252)](_0x2fab56);}}[_0x573964(0x1c5)](_0x34ecf4,_0x9ac1c2){const _0x4cb7d0=_0x573964,_0x4d8e87=this[_0x4cb7d0(0x245)][_0x4cb7d0(0x1de)](_0x34ecf4);if(_0x9ac1c2&&_0x4d8e87&&_0x4d8e87[_0x4cb7d0(0x1ec)](_0x9ac1c2)){const _0x34d9fb=_0x4d8e87['get'](_0x9ac1c2);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0x9ac1c2);for(const _0x427b8a of _0x34d9fb[_0x4cb7d0(0x1c7)]()){const _0x565d3c=_0x34d9fb['get'](_0x427b8a);_0x565d3c!=null&&(_0x565d3c[_0x4cb7d0(0x238)]((_0x16fc62,_0x14e68e,_0xa7d9a)=>{const _0x94973a=_0x4cb7d0;this[_0x94973a(0x250)][_0x94973a(0x1de)](_0xa7d9a)&&this['_removeAllTreeMap'](_0xa7d9a);}),this['_otherFormulaDataMainData'][_0x4cb7d0(0x252)](_0x427b8a));}_0x34d9fb['clear']();}else{if(_0x4d8e87){for(const _0xe41ff5 of _0x4d8e87['keys']()){const _0x2f2843=_0x4d8e87[_0x4cb7d0(0x1de)](_0xe41ff5);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0xe41ff5);for(const _0x1be7fe of _0x2f2843[_0x4cb7d0(0x1c7)]()){const _0xb930d7=_0x2f2843[_0x4cb7d0(0x1de)](_0x1be7fe);_0xb930d7!=null&&(_0xb930d7['forValue']((_0x8bf310,_0x25f292,_0x45f102)=>{const _0x3cccfc=_0x4cb7d0;this[_0x3cccfc(0x250)][_0x3cccfc(0x1de)](_0x45f102)&&this[_0x3cccfc(0x1cf)](_0x45f102);}),this[_0x4cb7d0(0x1c6)][_0x4cb7d0(0x252)](_0x1be7fe));}}this['_otherFormulaData'][_0x4cb7d0(0x252)](_0x34ecf4);}}}[_0x573964(0x1ba)](_0x5121ef,_0x30bde5,_0x4c4034,_0x18c808){const _0x180054=_0x573964;this[_0x180054(0x1ee)][_0x180054(0x1ec)](_0x5121ef)||this[_0x180054(0x1ee)][_0x180054(0x1a9)](_0x5121ef,new Map());const _0x391148=this[_0x180054(0x1ee)]['get'](_0x5121ef);_0x391148['has'](_0x30bde5)||_0x391148[_0x180054(0x1a9)](_0x30bde5,new Map()),_0x391148['get'](_0x30bde5)[_0x180054(0x1a9)](_0x4c4034,_0x18c808[_0x180054(0x1b8)]);}[_0x573964(0x1e7)](_0x26c6f9,_0xe47f96,_0x2c3497){const _0x396520=_0x573964,_0xd376ef=this[_0x396520(0x1ee)][_0x396520(0x1de)](_0x26c6f9);if(_0xd376ef&&_0xd376ef[_0x396520(0x1ec)](_0xe47f96)){const _0x3d9fe4=_0xd376ef[_0x396520(0x1de)](_0xe47f96);_0x2c3497[_0x396520(0x224)](_0x43f7d0=>{const _0x65fa37=_0x396520,_0x21e7e5=_0x3d9fe4[_0x65fa37(0x1de)](_0x43f7d0);_0x21e7e5!=null&&(this[_0x65fa37(0x20d)](_0x21e7e5),_0x3d9fe4[_0x65fa37(0x252)](_0x43f7d0),this[_0x65fa37(0x1cf)](_0x21e7e5));});}}[_0x573964(0x1eb)](_0x523b57,_0x41e5b5){const _0x4bd84f=_0x573964,_0x308d35=this[_0x4bd84f(0x1ee)][_0x4bd84f(0x1de)](_0x523b57);if(_0x41e5b5&&_0x308d35&&_0x308d35[_0x4bd84f(0x1ec)](_0x41e5b5)){const _0x1349b5=_0x308d35[_0x4bd84f(0x1de)](_0x41e5b5);this[_0x4bd84f(0x1e4)](_0x523b57,_0x41e5b5),_0x1349b5[_0x4bd84f(0x224)](_0x28df37=>{const _0x4ae3ca=_0x4bd84f;_0x28df37!=null&&this[_0x4ae3ca(0x1cf)](_0x28df37);}),_0x1349b5[_0x4bd84f(0x1f0)]();}else _0x308d35&&(_0x308d35['forEach']((_0x2cc08b,_0x19d9e3)=>{const _0x5e4f3b=_0x4bd84f;this[_0x5e4f3b(0x1e4)](_0x523b57,_0x19d9e3),_0x2cc08b[_0x5e4f3b(0x224)](_0xdbb06=>{_0xdbb06!=null&&this['_removeAllTreeMap'](_0xdbb06);});}),this[_0x4bd84f(0x1ee)]['delete'](_0x523b57));}['addFormulaDependency'](_0x318f3f,_0x4387a7,_0xf42f60,_0x5b8fbf,_0x5db769){const _0x54d585=_0x573964;this[_0x54d585(0x214)][_0x54d585(0x1ec)](_0x318f3f)||this['_formulaData']['set'](_0x318f3f,new Map());const _0x177267=this[_0x54d585(0x214)]['get'](_0x318f3f);_0x177267[_0x54d585(0x1ec)](_0x4387a7)||_0x177267[_0x54d585(0x1a9)](_0x4387a7,new _0x5ac77f()),_0x177267['get'](_0x4387a7)['setValue'](_0xf42f60,_0x5b8fbf,_0x5db769[_0x54d585(0x1b8)]);}[_0x573964(0x1fc)](_0x276225,_0x465c40,_0x424aa5,_0x469417){const _0x4c81f1=_0x573964,_0x2a3f61=this[_0x4c81f1(0x214)]['get'](_0x276225);if(_0x2a3f61&&_0x2a3f61[_0x4c81f1(0x1ec)](_0x465c40)){const _0x2b78a1=_0x2a3f61[_0x4c81f1(0x1de)](_0x465c40),_0x33d3bc=_0x2b78a1[_0x4c81f1(0x1a7)](_0x424aa5,_0x469417);if(_0x33d3bc==null)return;this[_0x4c81f1(0x20d)](_0x33d3bc),_0x2b78a1[_0x4c81f1(0x1bf)](_0x424aa5,_0x469417),this['_removeAllTreeMap'](_0x33d3bc);}}[_0x573964(0x240)](_0xb91544,_0x25d15e){const _0x1349ec=_0x573964,_0x461702=this[_0x1349ec(0x214)][_0x1349ec(0x1de)](_0xb91544);if(_0x25d15e&&_0x461702&&_0x461702[_0x1349ec(0x1ec)](_0x25d15e)){const _0x308395=_0x461702['get'](_0x25d15e);this[_0x1349ec(0x1e4)](_0xb91544,_0x25d15e),_0x308395[_0x1349ec(0x238)]((_0x31e7a5,_0x3e4109,_0x295834)=>{const _0xb327e2=_0x1349ec;if(_0x295834==null)return!0x0;this[_0xb327e2(0x1cf)](_0x295834);}),_0x308395[_0x1349ec(0x227)]();}else _0x461702&&(_0x461702[_0x1349ec(0x224)]((_0x339d2a,_0x46d02c)=>{const _0x1bb173=_0x1349ec;this['_removeDependencyRTreeCacheById'](_0xb91544,_0x46d02c),_0x339d2a[_0x1bb173(0x238)]((_0xc4f6b8,_0x48b034,_0x89ce40)=>{if(_0x89ce40==null)return!0x0;this['_removeAllTreeMap'](_0x89ce40);});}),this[_0x1349ec(0x214)][_0x1349ec(0x252)](_0xb91544));}['_removeDependencyRTreeCache'](_0x4b1fa4){const _0x2675d3=_0x573964;if(_0x4b1fa4==null)return;const _0x49d62a=this[_0x2675d3(0x250)][_0x2675d3(0x1de)](_0x4b1fa4);if(_0x49d62a){const _0x35ad35=[];for(const [_0x346148,_0x4e39e9]of _0x49d62a)for(const [_0x113283,_0x1e0b67]of _0x4e39e9)_0x35ad35[_0x2675d3(0x1d3)]({'unitId':_0x346148,'sheetId':_0x113283,'range':_0x1e0b67,'id':_0x4b1fa4});this['_dependencyRTreeCache'][_0x2675d3(0x1a8)](_0x35ad35);}}[_0x573964(0x203)](_0x5ad3d3,_0x4a6959){const _0x41c875=_0x573964,_0xafbf1a=this['_definedNameMap'][_0x41c875(0x1de)](_0x5ad3d3);if(_0xafbf1a){const _0x5dac1c=_0xafbf1a[_0x41c875(0x1de)](_0x4a6959);if(_0x5dac1c){for(const _0x70bdc of _0x5dac1c)this[_0x41c875(0x20d)](_0x70bdc),this[_0x41c875(0x1cf)](_0x70bdc);_0x5dac1c[_0x41c875(0x1f0)]();}}}[_0x573964(0x1d4)](){const _0x308219=_0x573964;this[_0x308219(0x201)][_0x308219(0x1d4)]();}[_0x573964(0x1ab)](){const _0x3ad32f=_0x573964;this[_0x3ad32f(0x201)][_0x3ad32f(0x1ab)]();}['_removeAllTreeMap'](_0x3b0872){const _0x4c43f8=_0x573964;_0x3b0872!=null&&this[_0x4c43f8(0x250)][_0x4c43f8(0x252)](_0x3b0872);}['_addAllTreeMap'](_0x398d57){const _0x4d4ad4=_0x573964;var _0xb6bdaf,_0x480abb;const _0x4997de=_0x398d57[_0x4d4ad4(0x23d)];let _0x544060=this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1de)](_0x398d57[_0x4d4ad4(0x1b8)]);for(let _0x4b959d=0x0;_0x4b959d<_0x4997de['length'];_0x4b959d++){const _0x210e31=_0x4997de[_0x4b959d];let {unitId:_0x3bdc35,sheetId:_0x5c1d2c,range:_0x25dfb5}=_0x210e31;_0x544060||(_0x544060=new Map(),this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1a9)](_0x398d57['treeId'],_0x544060)),_0x544060['has'](_0x3bdc35)||_0x544060[_0x4d4ad4(0x1a9)](_0x3bdc35,new Map());const _0x23eccc=(_0xb6bdaf=_0x544060==null?void 0x0:_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null?void 0x0:_0xb6bdaf['get'](_0x5c1d2c);_0x23eccc&&(_0x25dfb5={'startRow':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x228)],_0x23eccc[_0x4d4ad4(0x228)]),'startColumn':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x230)],_0x23eccc['startColumn']),'endRow':Math[_0x4d4ad4(0x249)](_0x25dfb5['endRow'],_0x23eccc[_0x4d4ad4(0x1c3)]),'endColumn':Math[_0x4d4ad4(0x249)](_0x25dfb5[_0x4d4ad4(0x1df)],_0x23eccc['endColumn'])}),(_0x480abb=_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null||_0x480abb['set'](_0x5c1d2c,_0x25dfb5);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x509aa9,_0x71470c,_0x322a65,_0x47dc97)=>{const _0x32f391=_0x573964;for(var _0x1afd9c=_0x47dc97>0x1?void 0x0:_0x47dc97?Me(_0x71470c,_0x322a65):_0x71470c,_0x1290c0=_0x509aa9[_0x32f391(0x22d)]-0x1,_0x583d23;_0x1290c0>=0x0;_0x1290c0--)(_0x583d23=_0x509aa9[_0x1290c0])&&(_0x1afd9c=_0x583d23(_0x1afd9c)||_0x1afd9c);return _0x1afd9c;};const Re=Number[_0x573964(0x1c1)](0x69218da5);let B=class extends _0x16eec9{[_0x573964(0x23a)](){const _0x1d0137=_0x573964;var _0x100686,_0x399100;this[_0x1d0137(0x1c0)]()?(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':Ue}]),(_0x100686=this[_0x1d0137(0x1d1)])!=null&&_0x100686[_0x1d0137(0x232)]||[[_0x19f4ab,{'useClass':ve}],[_0x345d5c,{'useClass':we}],[_0x1e8dfb,{'useClass':Pe}]][_0x1d0137(0x224)](_0x30ac47=>this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)](_0x30ac47))):(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':_0x2e2257}]),(_0x399100=this[_0x1d0137(0x1d1)])!=null&&_0x399100['notExecuteFormula']||[[_0x19f4ab,{'useClass':_0x36e8da}],[_0x345d5c,{'useClass':_0x5f330d}],[_0x1e8dfb,{'useClass':_0x255910}]]['forEach'](_0x591f48=>this[_0x1d0137(0x1e0)]['add'](_0x591f48)));}[_0x573964(0x1c0)](){const _0x160f77=_0x573964;var _0x3e82fb;const _0x40ffd2=(_0x3e82fb=this[_0x160f77(0x1db)][_0x160f77(0x1f7)](_0x2af99a))!=null?_0x3e82fb:{},{ls:_0x32b9a9,pbk:_0x169d09}=_0x40ffd2;if(!_0x32b9a9||!_0x169d09)return!0x1;const _0xa3bba8=_0x2d427c(Oe,Ce),_0x1d8837=new Function(_0x160f77(0x206)+_0xa3bba8)()(_0x32b9a9,_0x169d09),_0x1baff1=_0x1d8837['message'];return _0x1d8837[_0x160f77(0x24e)]&&_0x38ee9b(_0x1baff1,'sf',Re)?_0x456be1(_0x1baff1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};B=Se([_0x3cc641(_0x2cd21f)],B);export{B as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5be7cc=_0x256e;(function(_0x386476,_0x5cbee0){const _0xda2f2=_0x256e,_0x46fd96=_0x386476();while(!![]){try{const _0x488a96=-parseInt(_0xda2f2(0x136))/0x1+parseInt(_0xda2f2(0x120))/0x2+-parseInt(_0xda2f2(0xe5))/0x3*(parseInt(_0xda2f2(0xc1))/0x4)+parseInt(_0xda2f2(0x106))/0x5+parseInt(_0xda2f2(0x10c))/0x6*(parseInt(_0xda2f2(0x105))/0x7)+-parseInt(_0xda2f2(0x11f))/0x8+parseInt(_0xda2f2(0xfc))/0x9;if(_0x488a96===_0x5cbee0)break;else _0x46fd96['push'](_0x46fd96['shift']());}catch(_0x367d2d){_0x46fd96['push'](_0x46fd96['shift']());}}}(_0x228a,0xc7462));var Q=Object[_0x5be7cc(0xa0)],Z=(_0x4fe628,_0x5c4000,_0x5b7ec7)=>_0x5c4000 in _0x4fe628?Q(_0x4fe628,_0x5c4000,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b7ec7}):_0x4fe628[_0x5c4000]=_0x5b7ec7,R=(_0x490f3e,_0x5df043,_0x206599)=>Z(_0x490f3e,typeof _0x5df043!='symbol'?_0x5df043+'':_0x5df043,_0x206599);import{UniverLicensePlugin as _0x5f75ec,LS_CONFIG_KEY as _0x50b1b7,unshiftString as _0x2979d7,isFeatureAuthorizedWithinTime as _0x509243,getSheetFeatureLimit as _0x484bcc}from'@univerjs-pro/license';import{ObjectMatrix as _0x3ca31c,requestImmediateMacroTask as _0x184844,RTree as _0x23e3d8,DependentOn as _0x31e99a}from'@univerjs/core';function _0x228a(){const _0x3ba270=['row','length','formula','clearOtherFormulaDependency','addFormulaDependencyByDefinedName','_xlpm.','keys','_otherFormulaDataMainData','parseInt','setRuntimeFeatureRange','next','column','rangeList','executeAsync','_removeDependencyRTreeCacheById','addOtherFormulaDependency','bulkRemove','\x22\x20is\x20duplicated.','getToken','setValue','execute','_configService','startRow','getChildren','_config','_dependencyTreeCache','generate','removeFormulaDependencyByDefinedName','addFeatureFormulaDependency','isExcludeRange','featureId','markedAsSuccessfullyExecuted','_executionCompleteListener$','return\x20','141234lwKnev','getOtherFormulaData','hasOtherFormulaDataMainData','isArray','_lambdaFunctionParameterSet','COLON','reset','_initializeWithOverride','clearFeatureFormulaDependency','has','_dependencyRTreeCacheForAddressFunction','setFormulaExecuteStage','endRow','openKdTree','checkAsyncNode','refTree','_removeAllTreeMap','_restDependencyTreeId','_calculateRunList','_dependencyManagerService','_injector','getDirtyNameMap','_getUpdateTreeListAndMakeDependency','4070790JQvjCo','_featureFormulaData','_checkAddBracketForMinus','max','Let\x20variable\x20name\x20\x22','_generateNewFunctionString','dispose','getValue','_allTreeMap','2478112lUKZgl','7373080GHyTzL','refOffsetY','rowCount','ParentDependencyTree\x20object\x20is\x20null','_updateRangeFlatten','refOffsetX','18mgwaHQ','closeKdTree','_runtimeService','getAllRuntimeData','formulaId','forEach','_getFeatureFormulaTree','CURRENTLY_CALCULATING','Lambda\x20parameter\x20name\x20\x22','isStopExecution','searchDependency','setTotalArrayFormulasToCalculate','isForceCalculate','addFormulaDependency','trim','toRTreeItem','START_DEPENDENCY_ARRAY_FORMULA','_currentConfigService','_registerFormulas','10171664fwoiWO','2030252DuzYTn','setTotalFormulasToCalculate','endColumn','_isCyclicUtilMap','_handleNewFunctionChild','columnCount','_registerOtherFormulas','treeId','getFormulaData','forValue','pop','_astTreeBuilder','delete','startColumn','CURRENTLY_CALCULATING_ARRAY_FORMULA','_hasNewExcelFunction','R3UMFVXU\x20ByMotgFVXU(lVMyUGy,\x20g39lVMIyt)\x20{\x20\x20\x20\x20Fot\x20{\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20lVMyUGyuURX6qoFeooqt\x20=\x20lVMyUGy.GglVF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20XoVOVUwyGGqOy\x20=\x20KznP.gqoGy(qFX9(lVMyUGyuURX6qoFeooqt[x]));\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!XoVOVUwyGGqOy.3B)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XoVOVUwyGGqOy.3B\x20=\x20P329yo(lVMyUGyuURX6qoFeooqt[L]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VG7XoTyo\x20=\x20FtgyXR\x207XoTyoAlX9qlzMXgy\x20!==\x20\x273UByRVUyB\x27\x20&&\x20GylR\x20VUGFqUMyXR\x207XoTyoAlX9qlzMXgy;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VGDoXvGyo\x20=\x20FtgyXR\x20vVUBXv\x20!==\x20\x273UByRVUyB\x27\x20&&\x20FtgyXR\x20vVUBXv.lXMqFVXU\x20!==\x20\x273UByRVUyB\x27;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20MXUFy1F\x20=\x20VG7XoTyo\x20?\x20GylR\x20:\x20(VGDoXvGyo\x20?\x20vVUBXv\x20:\x20OlX9qlW0VG);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[x]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(2yGGqOy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[E]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(GVOUqF3oy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUhqlVB\x20=\x20MXUFy1F.__CyoVRt__(GVOUqF3oy,\x202yGGqOy,\x20g39lVMIyt);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20BX2qVU\x20=\x20XoVOVUwyGGqOy.B2;\x20\x20\x20\x20\x20\x20\x20\x20R3UMFVXU\x20VG4X2qVUwqFM0VUO(X6qFFyoU,\x20XdXGF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU\x20=\x20X6qFFyoU.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF\x20=\x20XdXGF.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU6qoFG\x20=\x20gqFFyoU.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF6qoFG\x20=\x200XGF.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!gqFFyoU.VUMl3ByG(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoU\x20===\x200XGF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(gqFFyoU6qoFG.lyUOF0\x20<\x20x\x20||\x20gqFFyoU6qoFG[s]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoUz3RRV1\x20=\x20gqFFyoU6qoFG.GlVMy(S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGFz3RRV1\x20=\x200XGF6qoFG.GlVMy(-gqFFyoU6qoFG.lyUOF0\x20+\x20S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoUz3RRV1\x20===\x200XGFz3RRV1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lyF\x20BX2qVUhqlVB\x20=\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(VGDoXvGyo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20(BX2qVU\x20&&\x20BX2qVU.lyUOF0)\x20?\x20BX2qVU.GX2y((B2uFy2)\x20=>\x20VG4X2qVUwqFM0VUO(B2uFy2,\x20lXMqFVXU.0XGFUq2y))\x20:\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(lXMqFVXU.0XGFUq2y\x20===\x20\x27lXMql0XGF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20ylGy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20CqlVB\x20=\x20GVOUhqlVB\x20&&\x20BX2qVUhqlVB;\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20XoVOVUwyGGqOy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20MqFM0\x20(yooXo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB:\x20RqlGy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_xlfn.','getExcludedRange','node','join','bulkSearch','315764NNuRQp','clearFormulaDependency','getConfig','add','setSkip','_formulaData','push','addOtherFormulaDependencyMainData','unitId','getClearDependencyTreeCache','_removeDependencyRTreeCache','_createFDtree','type','clearArrayObjectCache','string','_otherFormulaData','getFormulaDependency','getDirtyData','getNewFormulaWithPrefix','treeBuilder','intervalCount','size','defineProperty','_definedNameMap','set','setRuntimeData','subUnitId','START_DEPENDENCY','OTHER_FORMULA','_dependencyRTreeCache','isVirtual','_generateTreeList','get','isCache','START_CALCULATION_ARRAY_FORMULA','isSkip','dependencySheetName','setCompletedFormulasCount','clear','_interpreter','PLUS','_clearFunctionString','_executionInProgressListener$','getRuntimeState','MINUS','_traverse','_initLicenseValid','resolve','IDLE','getUnitData','valid','min','markedAsStopFunctionsExecuted','_formulaDependencyGenerator','dirtyRanges','136bzjPIZ','removeFeatureFormulaDependency'];_0x228a=function(){return _0x3ba270;};return _0x228a();}import{FormulaDependencyGenerator as _0x2b4f99,generateRandomDependencyTreeId as _0x148431,FormulaDependencyTree as _0x15d920,FormulaDependencyTreeType as _0x25082c,FormulaDependencyTreeVirtual as _0xe83157,generateAstNode as _0x29f220,LexerTreeBuilder as _0x4b7001,ErrorType as _0x51d341,DEFAULT_TOKEN_TYPE_ROOT as _0x360ae4,DEFAULT_TOKEN_TYPE_PARAMETER as _0x37b20a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x21960f,NEW_EXCEL_FUNCTIONS as _0x135ce3,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x2cb580,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x56c907,matchToken as _0x311e8e,SUFFIX_TOKEN_SET as _0x159065,prefixToken as _0x2547d8,LexerNode as _0x16e21a,OPERATOR_TOKEN_SET as _0x35d1c4,CalculateFormulaService as _0x2f6c3f,FormulaExecuteStageType as _0x364130,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x408e1a,DEFAULT_INTERVAL_COUNT as _0x50c519,DependencyManagerBaseService as _0x2e749c,UniverFormulaEnginePlugin as _0x773104,ICalculateFormulaService as _0x14d79c,IDependencyManagerService as _0x14ac23,IFormulaDependencyGenerator as _0x3a0813,DependencyManagerService as _0x540147}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Te={0x0:'h',0x1:'x',0x2:'m',0x3:'u',0x4:'D',0x5:'Q',0x6:'P',0x7:'W',0x8:'E',0x9:'b','s':'0','S':'1','x':'2','E':'3','L':'4','j':'5','a':'6','f':'7','J':'8','Q':'9','q':'a','M':'c','B':'d','y':'e','R':'f','O':'g','V':'i','c':'j','T':'k','l':'l','U':'n','X':'o','g':'p','b':'q','o':'r','G':'s','F':'t','C':'v','v':'w','t':'y','H':'z','e':'A','D':'B','Y':'C','p':'F','A':'G','d':'H','u':'I','K':'J','I':'K','N':'L','w':'M','P':'N','n':'O','r':'R','z':'S','W':'T','k':'U','h':'V','Z':'X','m':'Y','i':'Z'},Ce=_0x5be7cc(0x130);class Ue extends _0x2b4f99{constructor(){const _0x4d792d=_0x5be7cc;super(...arguments),R(this,_0x4d792d(0xdc),new Map());}[_0x5be7cc(0x102)](){const _0x143954=_0x5be7cc;super['dispose'](),this[_0x143954(0xdc)][_0x143954(0xb0)]();}async[_0x5be7cc(0xdd)](){const _0x401ce1=_0x5be7cc;this[_0x401ce1(0x10a)]();const _0x2dae24=this[_0x401ce1(0x11d)][_0x401ce1(0x128)](),_0xf94ba8=this['_otherFormulaManagerService'][_0x401ce1(0xe6)](),_0x1b3994=this[_0x401ce1(0x11d)][_0x401ce1(0x13f)]();_0x1b3994!=null&&Object['keys'](_0x1b3994)[_0x401ce1(0x111)](_0x1bd878=>{_0x1bd878!=null&&Object['keys'](_0x1b3994[_0x1bd878])['forEach'](_0x1817f1=>{const _0x2da5c0=_0x256e;_0x1817f1!=null&&(this['_dependencyManagerService'][_0x2da5c0(0xc6)](_0x1bd878,_0x1817f1),this[_0x2da5c0(0xf8)][_0x2da5c0(0xed)](_0x1bd878,_0x1817f1),this[_0x2da5c0(0xf8)][_0x2da5c0(0x137)](_0x1bd878,_0x1817f1));});});const _0x44395b=this[_0x401ce1(0x11d)][_0x401ce1(0xbb)]();await this[_0x401ce1(0xa9)](_0x2dae24,_0xf94ba8,_0x44395b),this[_0x401ce1(0xf8)][_0x401ce1(0xf2)]();const _0xd02901=this['_getUpdateTreeListAndMakeDependency'](),_0x5b34ff=this[_0x401ce1(0xf7)](_0xd02901);return this['_checkIsCycleDependency'](_0x5b34ff)&&this[_0x401ce1(0x10e)]['enableCycleDependency'](),this[_0x401ce1(0xdc)][_0x401ce1(0xb0)](),this[_0x401ce1(0xef)][_0x401ce1(0xb0)](),this[_0x401ce1(0xf8)][_0x401ce1(0x10d)](),this['_runtimeService'][_0x401ce1(0x143)](),Promise[_0x401ce1(0xb9)](_0x5b34ff);}['_isCyclicUtilMap'](_0x2d5ddc,_0x271da1){const _0xc97ffa=_0x5be7cc,_0x16bb92=[_0x2d5ddc];for(;_0x16bb92['length']>0x0;){const _0x300629=_0x16bb92[_0x16bb92[_0xc97ffa(0xc4)]-0x1];if((_0x271da1[_0xc97ffa(0xaa)](_0x300629)||0x0)===0x0){_0x271da1['set'](_0x300629,0x1);const _0x27d808=this['_dependencyTreeCache'][_0xc97ffa(0xaa)](_0x300629);if(_0x27d808==null){_0x271da1[_0xc97ffa(0xa2)](_0x300629,0x2),_0x16bb92[_0xc97ffa(0x12a)]();continue;}const _0x5ebe29=this['_dependencyManagerService'][_0xc97ffa(0x116)](_0x27d808[_0xc97ffa(0x11b)]());for(const _0x566bb6 of _0x5ebe29){const _0x3330ee=_0x271da1['get'](_0x566bb6)||0x0;if(_0x3330ee===0x1)return!0x0;_0x3330ee===0x0&&_0x16bb92['push'](_0x566bb6);}}else _0x271da1['set'](_0x300629,0x2),_0x16bb92[_0xc97ffa(0x12a)]();}return!0x1;}['_checkIsCycleDependency'](_0x1baa5d){const _0x1b1c11=_0x5be7cc,_0x27c4f4=new Map();for(const _0x4714a0 of _0x1baa5d)if(!_0x27c4f4[_0x1b1c11(0xee)](_0x4714a0[_0x1b1c11(0x127)])&&this[_0x1b1c11(0x123)](_0x4714a0[_0x1b1c11(0x127)],_0x27c4f4))return!0x0;return _0x27c4f4['clear'](),!0x1;}[_0x5be7cc(0x112)](_0x2769db,_0x35db05,_0x182cbc){const _0x22768f=_0x5be7cc,{unitId:_0x3b9c04,subUnitId:_0x5a25fa,dependencyRanges:_0x36126c,getDirtyData:_0x1a28ae}=_0x182cbc,_0x1f8c7e=_0x35db05||_0x148431(this['_dependencyManagerService']),_0x597538=new _0x15d920(_0x1f8c7e);_0x597538[_0x22768f(0x13e)]=_0x3b9c04,_0x597538[_0x22768f(0xa4)]=_0x5a25fa,_0x597538['rangeList']=_0x36126c,_0x597538[_0x22768f(0x147)]=_0x1a28ae;const _0x2446ff=_0x1a28ae(this['_currentConfigService'][_0x22768f(0x147)](),this[_0x22768f(0x10e)][_0x22768f(0x10f)]()),_0x3303f4=this['_convertDirtyRangesToUnitRange'](_0x2446ff[_0x22768f(0xc0)]);return _0x597538['featureDirtyRanges']=_0x3303f4,_0x597538['featureId']=_0x2769db,_0x597538[_0x22768f(0x142)]=_0x25082c['FEATURE_FORMULA'],this[_0x22768f(0xf8)]['addFeatureFormulaDependency'](_0x3b9c04,_0x5a25fa,_0x2769db,_0x597538),this['_dependencyTreeCache'][_0x22768f(0xa2)](_0x597538[_0x22768f(0x127)],_0x597538),this[_0x22768f(0xf8)]['getFeatureFormulaDependency'](_0x182cbc['unitId'],_0x182cbc[_0x22768f(0xa4)],_0x2769db)&&(_0x597538[_0x22768f(0xab)]=!0x0),_0x597538;}[_0x5be7cc(0x126)](_0xa11e4f,_0x886701,_0x123d7c){const _0x248386=_0x5be7cc;var _0xea61e;for(const _0x246261 of _0x886701){const _0x412394=_0xa11e4f[_0x246261];if(_0x412394==null)continue;const _0x70e78f=Object[_0x248386(0xc9)](_0x412394);for(const _0x18f99a of _0x70e78f){const _0xc83095=_0x412394[_0x18f99a];if(_0xc83095==null)continue;const _0x20b927=Object[_0x248386(0xc9)](_0xc83095);for(const _0x4657f0 of _0x20b927){const _0x6dd5fc=this[_0x248386(0xf8)][_0x248386(0xe7)](_0x4657f0),_0x4a618b=_0xc83095[_0x4657f0],{f:_0xdee6fe,ranges:_0x294b94}=_0x4a618b;let _0xcb2208=!0x1;_0x6dd5fc&&(_0xcb2208=!0x0);const {firstRow:_0x1bb0fd,firstColumn:_0x4537bf}=this['_getFirstCellOfRange'](_0x294b94),_0x4d8f5a=this[_0x248386(0xf8)]['getOtherFormulaDependency'](_0x246261,_0x18f99a,_0x4657f0),_0x197f57=(_0xea61e=_0x4d8f5a==null?void 0x0:_0x4d8f5a[_0x248386(0x103)](0x0,0x0))!=null?_0xea61e:_0x148431(this['_dependencyManagerService']),_0x1446bb=new _0x15d920(_0x197f57);for(let _0x3a6234=0x0;_0x3a6234<_0x294b94[_0x248386(0xc4)];_0x3a6234++){const _0x22606d=_0x294b94[_0x3a6234],{startRow:_0x213366,startColumn:_0x2714bd,endRow:_0xa94721,endColumn:_0x342922}=_0x22606d;for(let _0x4331fd=_0x213366;_0x4331fd<=_0xa94721;_0x4331fd++)for(let _0x1fbb7c=_0x2714bd;_0x1fbb7c<=_0x342922;_0x1fbb7c++){const _0x337a7c=_0x1fbb7c-_0x4537bf,_0x128a60=_0x4331fd-_0x1bb0fd;if(_0x337a7c===0x0&&_0x128a60===0x0){_0x1446bb[_0x248386(0xc5)]=_0xdee6fe,_0x1446bb['unitId']=_0x246261,_0x1446bb[_0x248386(0xa4)]=_0x18f99a,_0x1446bb[_0x248386(0x110)]=_0x4657f0,_0x1446bb[_0x248386(0x142)]=_0x25082c[_0x248386(0xa6)],_0x1446bb[_0x248386(0xab)]=_0xcb2208,_0x123d7c[_0x248386(0x13c)](_0x1446bb),this['_dependencyTreeCache'][_0x248386(0xa2)](_0x1446bb[_0x248386(0x127)],_0x1446bb),this[_0x248386(0xf8)][_0x248386(0xd2)](_0x246261,_0x18f99a,_0x4657f0,_0x1446bb),this[_0x248386(0xf8)][_0x248386(0xc7)](_0x1446bb);continue;}const _0x2c580a=new _0xe83157();_0x2c580a[_0x248386(0x127)]=(_0x4d8f5a==null?void 0x0:_0x4d8f5a[_0x248386(0x103)](_0x337a7c,_0x128a60))||_0x148431(this['_dependencyManagerService']),_0x2c580a[_0x248386(0xf4)]=_0x1446bb,_0x2c580a['refOffsetX']=_0x337a7c,_0x2c580a[_0x248386(0x107)]=_0x128a60,_0x2c580a['isCache']=_0xcb2208,this[_0x248386(0xf8)][_0x248386(0xd2)](_0x246261,_0x18f99a,_0x4657f0,_0x2c580a),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x2c580a),_0x123d7c['push'](_0x2c580a),this[_0x248386(0xdc)][_0x248386(0xa2)](_0x2c580a[_0x248386(0x127)],_0x2c580a);}}this[_0x248386(0xf8)][_0x248386(0x13d)](_0x4657f0);}}}}[_0x5be7cc(0x11e)](_0x2f7507,_0x46e782,_0x20369d,_0x31aa81){const _0x38d6f7=_0x5be7cc;for(const _0x17a7f6 of _0x2f7507){const _0x526f0c=_0x46e782[_0x17a7f6];if(_0x526f0c==null)continue;const _0x44e1dc=Object[_0x38d6f7(0xc9)](_0x526f0c);for(const _0x404c62 of _0x44e1dc){const _0x57f7c4=new _0x3ca31c(_0x526f0c[_0x404c62]||{}),_0x3df29b=new Map();_0x57f7c4['forValue']((_0xc03bbc,_0x701869,_0x33c9f5)=>{const _0x1d0b1a=_0x38d6f7;if(_0x33c9f5==null)return!0x0;const {x:_0x179828=0x0,y:_0x15b130=0x0,si:_0x1e1af6}=_0x33c9f5;if(!(_0x179828===0x0&&_0x15b130===0x0&&_0x1e1af6!=null))return!0x0;const _0x50f92c=this['_createFDtree'](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869,_0x20369d,_0x33c9f5),_0x53c53a=this['_dependencyManagerService'][_0x1d0b1a(0x146)](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869);_0x53c53a!=null?_0x50f92c[_0x1d0b1a(0x127)]=_0x53c53a:(this[_0x1d0b1a(0xf8)]['addFormulaDependency'](_0x17a7f6,_0x404c62,_0xc03bbc,_0x701869,_0x50f92c),this[_0x1d0b1a(0xf8)][_0x1d0b1a(0xc7)](_0x50f92c)),_0x3df29b['set'](_0x1e1af6,_0x50f92c),_0x31aa81[_0x1d0b1a(0x13c)](_0x50f92c),this[_0x1d0b1a(0xdc)][_0x1d0b1a(0xa2)](_0x50f92c[_0x1d0b1a(0x127)],_0x50f92c);}),_0x57f7c4[_0x38d6f7(0x129)]((_0x1dff39,_0x3ba990,_0x5aba60)=>{const _0x45bb44=_0x38d6f7;if(_0x5aba60==null)return!0x0;const {x:_0x2dfbf6=0x0,y:_0x344e0b=0x0,si:_0x1272d6}=_0x5aba60;if(_0x2dfbf6===0x0&&_0x344e0b===0x0&&_0x1272d6!=null)return!0x0;let _0x401084;if(_0x1272d6&&_0x3df29b['has'](_0x1272d6)){const _0xfc427=_0x3df29b[_0x45bb44(0xaa)](_0x1272d6);_0x401084=this['_createVirtualFDtree'](_0xfc427,_0x5aba60);}else _0x401084=this[_0x45bb44(0x141)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990,_0x20369d,_0x5aba60);const _0x433f45=this[_0x45bb44(0xf8)][_0x45bb44(0x146)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990);_0x433f45!=null?_0x401084[_0x45bb44(0x127)]=_0x433f45:(this[_0x45bb44(0xf8)][_0x45bb44(0x119)](_0x17a7f6,_0x404c62,_0x1dff39,_0x3ba990,_0x401084),this['_dependencyManagerService'][_0x45bb44(0xc7)](_0x401084)),_0x31aa81[_0x45bb44(0x13c)](_0x401084),this[_0x45bb44(0xdc)][_0x45bb44(0xa2)](_0x401084[_0x45bb44(0x127)],_0x401084);}),_0x3df29b[_0x38d6f7(0xb0)]();}}}['_createFDtree'](_0x4a4f9a,_0x155f9c,_0x61f8cb,_0x16343f,_0x203330,_0x53b629){const _0x5f0450=_0x5be7cc,{f:_0x20d5d6,x:_0x2c371d=0x0,y:_0xae23e1=0x0}=_0x53b629,_0x5eaadd=new _0x15d920(_0x148431(this[_0x5f0450(0xf8)])),_0x35f261=_0x203330[_0x4a4f9a][_0x155f9c];return _0x5eaadd[_0x5f0450(0xc5)]=_0x20d5d6,_0x5eaadd[_0x5f0450(0x13e)]=_0x4a4f9a,_0x5eaadd['subUnitId']=_0x155f9c,_0x5eaadd[_0x5f0450(0xc3)]=_0x61f8cb,_0x5eaadd[_0x5f0450(0xce)]=_0x16343f,_0x5eaadd[_0x5f0450(0x108)]=_0x35f261[_0x5f0450(0x108)],_0x5eaadd[_0x5f0450(0x125)]=_0x35f261[_0x5f0450(0x125)],_0x5eaadd;}[_0x5be7cc(0xfb)](){const _0x5118c5=_0x5be7cc,_0x3debd6=[],_0x27d7e1=new Set(),_0x33837e=this[_0x5118c5(0x11d)][_0x5118c5(0x118)](),_0xd3f5c3=this[_0x5118c5(0x11d)]['getDirtyRanges'](),_0x45bda0=this[_0x5118c5(0xf8)]['searchDependency'](_0xd3f5c3),_0x46629a=this['_dependencyRTreeCacheForAddressFunction'][_0x5118c5(0x135)](_0xd3f5c3);for(const _0x5ba10f of _0x46629a)_0x45bda0['add'](_0x5ba10f);for(const [_0x4d2f3b,_0x181989]of this[_0x5118c5(0xdc)])(_0x33837e||_0x181989['isDirty']||_0x181989[_0x5118c5(0xae)](this[_0x5118c5(0x11d)][_0x5118c5(0xfa)]())||_0x45bda0[_0x5118c5(0xee)](_0x4d2f3b)&&!_0x181989[_0x5118c5(0xe0)](this[_0x5118c5(0x11d)][_0x5118c5(0x132)]()))&&!_0x27d7e1[_0x5118c5(0xee)](_0x4d2f3b)&&(_0x3debd6[_0x5118c5(0x13c)](_0x181989),_0x27d7e1[_0x5118c5(0x139)](_0x4d2f3b));for(const [_0x5e6bc3,_0x81d7a4]of this['_dependencyTreeCache'])_0x81d7a4[_0x5118c5(0xa8)]||(_0x81d7a4[_0x5118c5(0xcf)][_0x5118c5(0xc4)]=0x0);return _0x3debd6;}['_getTreeById'](_0xeca27c){const _0xcf4956=_0x5be7cc;return this[_0xcf4956(0xdc)]['get'](_0xeca27c);}['_getTreeNode'](_0x3deac5){const _0x19249=_0x5be7cc;return _0x29f220(_0x3deac5[_0x19249(0x13e)],_0x3deac5[_0x19249(0xc5)],this['_lexer'],this['_astTreeBuilder'],this[_0x19249(0x11d)]);}*[_0x5be7cc(0xb7)](_0x3047ff,_0x1d9dcf){const _0x56c28c=_0x5be7cc,_0x36c5f8=_0x3047ff,_0x29092b=new Set();for(;_0x36c5f8['length']>0x0;){const _0x34e470=_0x36c5f8[_0x56c28c(0x12a)]();if(_0x29092b[_0x56c28c(0xb0)](),_0x34e470===void 0x0||_0x34e470[_0x56c28c(0xad)]())continue;if(_0x34e470['isAdded']()){yield _0x34e470,_0x34e470[_0x56c28c(0x13a)](),_0x1d9dcf['add'](_0x34e470[_0x56c28c(0x127)]);continue;}const _0x5cdb7f=this[_0x56c28c(0xf8)]['searchDependency'](_0x34e470[_0x56c28c(0x11b)](),_0x1d9dcf),_0x2bfb14=this[_0x56c28c(0xef)][_0x56c28c(0x135)](_0x34e470['toRTreeItem'](),_0x1d9dcf);for(const _0x4e52ec of _0x2bfb14)_0x5cdb7f[_0x56c28c(0x139)](_0x4e52ec);for(const _0x135b5e of _0x5cdb7f){const _0x1a0135=this[_0x56c28c(0xdc)][_0x56c28c(0xaa)](_0x135b5e);if(!_0x1a0135)throw new Error(_0x56c28c(0x109));_0x1a0135['isAdded']()||_0x34e470[_0x56c28c(0xad)]()||_0x29092b[_0x56c28c(0x139)](_0x1a0135);}if(_0x5cdb7f[_0x56c28c(0xb0)](),_0x29092b[_0x56c28c(0x9f)]===0x0)yield _0x34e470,_0x34e470[_0x56c28c(0x13a)](),_0x1d9dcf[_0x56c28c(0x139)](_0x34e470[_0x56c28c(0x127)]);else{_0x34e470['setAdded'](),_0x36c5f8[_0x56c28c(0x13c)](_0x34e470);for(const _0xa1ac4e of _0x29092b)_0x36c5f8[_0x56c28c(0x13c)](_0xa1ac4e);}}_0x36c5f8[_0x56c28c(0xc4)]=0x0,_0x29092b[_0x56c28c(0xb0)]();}[_0x5be7cc(0xf7)](_0x4cb780){const _0x300975=_0x5be7cc,_0x4ecdd7=[],_0xf7ce0=new Set();for(const _0x37ab6c of this[_0x300975(0xb7)](_0x4cb780,_0xf7ce0))_0x4ecdd7['push'](_0x37ab6c);return _0x4ecdd7;}}class Re extends _0x4b7001{constructor(){const _0x37c4e2=_0x5be7cc;super(...arguments),R(this,_0x37c4e2(0x12f),!0x1),R(this,_0x37c4e2(0xe9),new Set());}[_0x5be7cc(0x148)](_0x3d64c8,_0x4673de){const _0x50a072=_0x5be7cc,_0x27b86d=this[_0x50a072(0x149)](_0x3d64c8,!0x1);if(!_0x27b86d||_0x27b86d===_0x51d341['VALUE']||Array[_0x50a072(0xe8)](_0x27b86d))return null;const _0x198c8d=[];return this['_hasNewExcelFunction']=!0x1,this[_0x50a072(0x101)](_0x27b86d,_0x198c8d,_0x4673de),this['_hasNewExcelFunction']?'='+_0x198c8d[_0x50a072(0x134)](''):null;}[_0x5be7cc(0x101)](_0x25d579,_0xeafc48,_0x22c696){const _0x5b8c4b=_0x5be7cc,_0x22bcd9=_0x25d579[_0x5b8c4b(0xd5)](),_0x1ded28=_0x22bcd9[_0x5b8c4b(0x11a)](),_0xfb0cfe=_0x1ded28['toUpperCase'](),_0x25b77b=this[_0x5b8c4b(0xb3)](_0xfb0cfe),_0x546b04=_0x22c696(_0x25b77b);let _0xdffa94=0x0;_0x22bcd9===_0x360ae4?_0xdffa94=0x3:_0x22bcd9===_0x37b20a?_0xdffa94=0x4:_0x22bcd9===_0x21960f?_0xdffa94=0x5:_0x135ce3['has'](_0x25b77b)?(_0xeafc48[_0x5b8c4b(0x13c)](_0x5b8c4b(0x131)+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0):_0xfb0cfe===_0x2cb580?(_0xeafc48[_0x5b8c4b(0x13c)]('_xlfn.'+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0,_0xdffa94=0x2):_0xfb0cfe===_0x56c907?(_0xeafc48[_0x5b8c4b(0x13c)]('_xlfn.'+_0x1ded28),this[_0x5b8c4b(0x12f)]=!0x0,_0xdffa94=0x1):_0xfb0cfe===_0x311e8e[_0x5b8c4b(0xea)]?_0xdffa94=0x8:_0x159065[_0x5b8c4b(0xee)](_0xfb0cfe)?_0xdffa94=0x7:_0xfb0cfe===_0x2547d8[_0x5b8c4b(0xb6)]?(this[_0x5b8c4b(0xfe)](_0x25d579)&&(_0xdffa94=0x9),_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9)):(_0xeafc48['push'](_0x22bcd9),_0xdffa94=0xa),_0x546b04?(_0xdffa94!==0x2&&_0xdffa94!==0x1&&(_0xdffa94=0x6),_0xeafc48[_0x5b8c4b(0x13c)]('(')):_0xdffa94===0x9&&_0xeafc48['push']('(');const _0x5ead1f=_0x25d579['getChildren'](),_0x50066d=_0x5ead1f[_0x5b8c4b(0xc4)];if(_0xdffa94===0x2){const _0x4a7824=_0x5ead1f[0x0];let _0x16e868=0x0;_0x4a7824 instanceof _0x16e21a&&_0x4a7824[_0x5b8c4b(0xd5)]()===_0x21960f&&(_0x16e868=0x1);for(let _0x417053=_0x16e868;_0x417053<_0x50066d-0x1;_0x417053++){const _0x2fcce7=_0x5ead1f[_0x417053];if(_0x2fcce7 instanceof _0x16e21a){const _0x3f3bbd=_0x2fcce7[_0x5b8c4b(0xda)]()[0x0];typeof _0x3f3bbd=='string'&&(this[_0x5b8c4b(0xe9)]['has'](_0x3f3bbd)&&console['error'](_0x5b8c4b(0x114)+_0x3f3bbd+'\x22\x20is\x20duplicated.'),this[_0x5b8c4b(0xe9)]['add'](_0x3f3bbd),_0xeafc48[_0x5b8c4b(0x13c)](_0x5b8c4b(0xc8)+_0x3f3bbd),this[_0x5b8c4b(0x12f)]=!0x0);}_0xeafc48['push'](',');}this[_0x5b8c4b(0x124)](_0x5ead1f[_0x50066d-0x1],_0xeafc48,_0x22c696),_0x16e868===0x1&&(_0xeafc48[_0x5b8c4b(0x13c)](')'),_0xeafc48['push']('('),this[_0x5b8c4b(0x101)](_0x4a7824,_0xeafc48,_0x22c696)),_0xeafc48[_0x5b8c4b(0x13c)](')');return;}else{if(_0xdffa94===0x1){for(let _0x3bae24=0x0;_0x3bae24<_0x50066d-0x1;_0x3bae24++){const _0xfed246=_0x5ead1f[_0x3bae24];if(_0xfed246 instanceof _0x16e21a&&_0x3bae24%0x2===0x0){const _0x54dd2b=_0xfed246['getChildren']()[0x0];if(typeof _0x54dd2b==_0x5b8c4b(0x144)){this[_0x5b8c4b(0xe9)][_0x5b8c4b(0xee)](_0x54dd2b)&&console['error'](_0x5b8c4b(0x100)+_0x54dd2b+_0x5b8c4b(0xd4)),this[_0x5b8c4b(0xe9)][_0x5b8c4b(0x139)](_0x54dd2b),_0xeafc48['push'](_0x5b8c4b(0xc8)+_0x54dd2b),this[_0x5b8c4b(0x12f)]=!0x0,_0xeafc48[_0x5b8c4b(0x13c)](',');continue;}}if(this[_0x5b8c4b(0x124)](_0xfed246,_0xeafc48,_0x22c696),_0xfed246 instanceof _0x16e21a){const _0x22a4c0=_0x5ead1f[_0x3bae24+0x1];_0x22a4c0&&_0x22a4c0 instanceof _0x16e21a&&_0xeafc48[_0x5b8c4b(0x13c)](',');}}this['_handleNewFunctionChild'](_0x5ead1f[_0x50066d-0x1],_0xeafc48,_0x22c696),_0xeafc48['push'](')');return;}else{if(_0xdffa94===0x8){const _0x4f4b7c=_0x5ead1f[0x0],_0x478cf9=_0x5ead1f[0x1];this[_0x5b8c4b(0x124)](_0x4f4b7c,_0xeafc48,_0x22c696),_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9),this[_0x5b8c4b(0x124)](_0x478cf9,_0xeafc48,_0x22c696);return;}}}for(let _0xd4e577=0x0;_0xd4e577<_0x50066d;_0xd4e577++){const _0x3669dd=_0x5ead1f[_0xd4e577];if(this[_0x5b8c4b(0x124)](_0x3669dd,_0xeafc48,_0x22c696),_0x3669dd instanceof _0x16e21a){const _0x1d7af1=_0x5ead1f[_0xd4e577+0x1];_0x1d7af1&&_0x1d7af1 instanceof _0x16e21a&&_0xeafc48[_0x5b8c4b(0x13c)](',');}}_0xdffa94===0x7&&_0xeafc48[_0x5b8c4b(0x13c)](_0x22bcd9),(_0x546b04||_0xdffa94===0x9)&&_0xeafc48[_0x5b8c4b(0x13c)](')');}[_0x5be7cc(0x124)](_0x48aa11,_0x4b3500,_0x539972){const _0x49ce11=_0x5be7cc;_0x48aa11 instanceof _0x16e21a?this[_0x49ce11(0x101)](_0x48aa11,_0x4b3500,_0x539972):this['_lambdaFunctionParameterSet']['has'](_0x48aa11)?(_0x4b3500[_0x49ce11(0x13c)](_0x49ce11(0xc8)+_0x48aa11),this[_0x49ce11(0x12f)]=!0x0):_0x4b3500[_0x49ce11(0x13c)](_0x48aa11);}['_clearFunctionString'](_0x341d00){const _0x5309ed=_0x5be7cc;let _0x1a432c=_0x341d00['trim']();if(!_0x1a432c)return _0x1a432c;const _0x3486a6=_0x1a432c[0x0];if((_0x3486a6===_0x2547d8['AT']||_0x3486a6===_0x2547d8['MINUS']||_0x3486a6===_0x2547d8[_0x5309ed(0xb2)])&&(_0x1a432c=_0x1a432c['slice'](0x1)),!_0x1a432c)return _0x1a432c;const _0x5d610b=_0x1a432c[_0x1a432c[_0x5309ed(0xc4)]-0x1];return _0x159065[_0x5309ed(0xee)](_0x5d610b)&&(_0x1a432c=_0x1a432c['slice'](0x0,-0x1)),_0x1a432c;}[_0x5be7cc(0xfe)](_0x2f81be){const _0x591395=_0x5be7cc,_0xc19747=_0x2f81be[_0x591395(0xda)]()[0x0];if(!_0xc19747||!(_0xc19747 instanceof _0x16e21a)||_0x2f81be[_0x591395(0xda)]()['length']>0x1)return!0x1;const _0x244df5=_0xc19747[_0x591395(0xda)](),_0x5627f1=_0x244df5[_0x591395(0xc4)];if(_0x5627f1===0x1)return!0x1;for(let _0x10600d=0x0;_0x10600d<_0x5627f1;_0x10600d++){const _0x50ef82=_0x244df5[_0x10600d];if(!(_0x50ef82 instanceof _0x16e21a)&&_0x35d1c4[_0x591395(0xee)](_0x50ef82))return!0x0;}return!0x1;}}class ve extends _0x2f6c3f{async['_apply'](_0x3d2d4a=!0x1){const _0x50447f=_0x5be7cc;_0x3d2d4a?this[_0x50447f(0x10e)]['setFormulaExecuteStage'](_0x364130[_0x50447f(0x11c)]):this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0xa5)]),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]());const _0x5f059d=await this[_0x50447f(0xbf)][_0x50447f(0xdd)](),_0x48c812=this[_0x50447f(0xb1)];_0x3d2d4a?(this['_runtimeService']['setFormulaExecuteStage'](_0x364130[_0x50447f(0xac)]),this[_0x50447f(0x10e)][_0x50447f(0x117)](_0x5f059d[_0x50447f(0xc4)])):(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130['START_CALCULATION']),this['_runtimeService'][_0x50447f(0x121)](_0x5f059d[_0x50447f(0xc4)])),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]());let _0x1a4d1e=[];const _0x806e25=this[_0x50447f(0xd8)]['getConfig'](_0x408e1a),_0x2bdbca=(_0x806e25==null?void 0x0:_0x806e25[_0x50447f(0x14a)])||_0x50c519;let _0x33e528=0x0;const _0x590340=_0x5f059d[_0x50447f(0xc4)];for(;_0x5f059d[_0x50447f(0xc4)]>0x0;){const _0xa5003a=_0x5f059d[_0x50447f(0x12a)](),_0x558134=_0x29f220(_0xa5003a[_0x50447f(0x13e)],_0xa5003a['formula'],this['_lexer'],this[_0x50447f(0x12b)],this[_0x50447f(0x11d)]),_0x4ff839={'node':_0x558134,'refOffsetX':_0xa5003a['refOffsetX'],'refOffsetY':_0xa5003a[_0x50447f(0x107)]},_0x2ee32b=_0xa5003a[_0x50447f(0x147)];if(_0x33e528%_0x2bdbca===0x0&&(await new Promise(_0x342d3b=>{const _0xbf8a72=_0x184844(_0x342d3b);_0x1a4d1e['push'](_0xbf8a72);}),_0x3d2d4a?(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0x12e)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x33e528+0x1)):(this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0x113)]),this[_0x50447f(0x10e)][_0x50447f(0xaf)](_0x33e528+0x1)),this[_0x50447f(0xb4)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0xb5)]()),this[_0x50447f(0x10e)][_0x50447f(0x115)]()||_0x4ff839==null&&_0x2ee32b==null)){this[_0x50447f(0x10e)][_0x50447f(0xf0)](_0x364130[_0x50447f(0xba)]),this[_0x50447f(0x10e)][_0x50447f(0xbe)](),this[_0x50447f(0xe3)][_0x50447f(0xcd)](this['_runtimeService'][_0x50447f(0x10f)]());return;}this[_0x50447f(0x10e)]['setCurrent'](_0xa5003a[_0x50447f(0xc3)],_0xa5003a['column'],_0xa5003a[_0x50447f(0x108)],_0xa5003a[_0x50447f(0x125)],_0xa5003a['subUnitId'],_0xa5003a[_0x50447f(0x13e)]);let _0x151049;if(_0x2ee32b!=null&&_0xa5003a['featureId']!=null){const {runtimeCellData:_0x14e720,dirtyRanges:_0x537df8}=_0x2ee32b(this[_0x50447f(0x11d)][_0x50447f(0x147)](),this[_0x50447f(0x10e)][_0x50447f(0x10f)]());this[_0x50447f(0x10e)]['setRuntimeFeatureCellData'](_0xa5003a['featureId'],_0x14e720),this['_runtimeService'][_0x50447f(0xcc)](_0xa5003a[_0x50447f(0xe1)],_0x537df8);}else _0x4ff839!=null&&(_0x48c812[_0x50447f(0xf3)](_0x4ff839[_0x50447f(0x133)])?_0x151049=await _0x48c812[_0x50447f(0xd0)](_0x4ff839):_0x151049=_0x48c812[_0x50447f(0xd7)](_0x4ff839),_0xa5003a[_0x50447f(0x110)]!=null?this[_0x50447f(0x10e)]['setRuntimeOtherData'](_0xa5003a[_0x50447f(0x110)],_0xa5003a[_0x50447f(0x10b)],_0xa5003a['refOffsetY'],_0x151049):this[_0x50447f(0x10e)][_0x50447f(0xa3)](_0x151049));_0x558134['resetCalculationState'](),_0x33e528++;}return _0x1a4d1e[_0x50447f(0x111)](_0x14813c=>_0x14813c()),_0x1a4d1e=[],_0x590340>0x0?this[_0x50447f(0x10e)][_0x50447f(0xe2)]():_0x3d2d4a||this[_0x50447f(0x10e)]['markedAsNoFunctionsExecuted'](),this[_0x50447f(0x10e)][_0x50447f(0x10f)]();}}class Ge extends _0x2e749c{constructor(){const _0x4db4da=_0x5be7cc;super(...arguments),R(this,_0x4db4da(0x104),new Map()),R(this,_0x4db4da(0xa7),new _0x23e3d8(!0x0));}['reset'](){const _0x361308=_0x5be7cc;this[_0x361308(0x145)]['clear'](),this[_0x361308(0xfd)][_0x361308(0xb0)](),this['_formulaData']['clear'](),this[_0x361308(0xa7)][_0x361308(0xb0)](),this[_0x361308(0x104)]['clear'](),this[_0x361308(0xf6)](),this[_0x361308(0xca)][_0x361308(0xb0)]();}[_0x5be7cc(0xd2)](_0x3c3750,_0xd338f0,_0x4c88f5,_0x1cb64e){const _0x2dc151=_0x5be7cc;this[_0x2dc151(0x145)][_0x2dc151(0xee)](_0x3c3750)||this[_0x2dc151(0x145)]['set'](_0x3c3750,new Map());const _0x54f75b=this[_0x2dc151(0x145)]['get'](_0x3c3750);_0x54f75b['has'](_0xd338f0)||_0x54f75b['set'](_0xd338f0,new Map());const _0x540293=_0x54f75b[_0x2dc151(0xaa)](_0xd338f0);_0x540293[_0x2dc151(0xee)](_0x4c88f5)||_0x540293[_0x2dc151(0xa2)](_0x4c88f5,new _0x3ca31c()),_0x540293[_0x2dc151(0xaa)](_0x4c88f5)[_0x2dc151(0xd6)](_0x1cb64e[_0x2dc151(0x10b)],_0x1cb64e[_0x2dc151(0x107)],_0x1cb64e[_0x2dc151(0x127)]);}['removeOtherFormulaDependency'](_0x118213,_0x455b28,_0x1575da){const _0x109e84=_0x5be7cc,_0x575616=this[_0x109e84(0x145)]['get'](_0x118213);if(_0x575616&&_0x575616[_0x109e84(0xee)](_0x455b28)){const _0x5e6fbb=_0x575616['get'](_0x455b28);_0x1575da[_0x109e84(0x111)](_0x5f9f89=>{const _0x9f4ecc=_0x109e84,_0x1c4fe7=_0x5e6fbb['get'](_0x5f9f89);_0x1c4fe7!=null&&(_0x1c4fe7[_0x9f4ecc(0x129)]((_0x9c1692,_0x21a435,_0x4987b8)=>{const _0x3ac7c6=_0x9f4ecc;this[_0x3ac7c6(0x140)](_0x4987b8),this['_removeAllTreeMap'](_0x4987b8);}),_0x5e6fbb[_0x9f4ecc(0x12c)](_0x5f9f89),this[_0x9f4ecc(0xca)][_0x9f4ecc(0x12c)](_0x5f9f89));}),_0x5e6fbb['size']===0x0&&_0x575616[_0x109e84(0x12c)](_0x455b28),_0x575616[_0x109e84(0x9f)]===0x0&&this[_0x109e84(0x145)][_0x109e84(0x12c)](_0x118213);}}[_0x5be7cc(0xc6)](_0x355473,_0x517817){const _0x4abc2c=_0x5be7cc,_0xd729b4=this[_0x4abc2c(0x145)][_0x4abc2c(0xaa)](_0x355473);if(_0x517817&&_0xd729b4&&_0xd729b4[_0x4abc2c(0xee)](_0x517817)){const _0x5571ea=_0xd729b4[_0x4abc2c(0xaa)](_0x517817);this['_removeDependencyRTreeCacheById'](_0x355473,_0x517817);for(const _0x39a438 of _0x5571ea[_0x4abc2c(0xc9)]()){const _0x1da274=_0x5571ea['get'](_0x39a438);_0x1da274!=null&&(_0x1da274[_0x4abc2c(0x129)]((_0x877521,_0x53f50b,_0x2c1776)=>{const _0x1c108d=_0x4abc2c;this['_allTreeMap'][_0x1c108d(0xaa)](_0x2c1776)&&this[_0x1c108d(0xf5)](_0x2c1776);}),this['_otherFormulaDataMainData'][_0x4abc2c(0x12c)](_0x39a438));}_0x5571ea[_0x4abc2c(0xb0)]();}else{if(_0xd729b4){for(const _0x2ce1fc of _0xd729b4['keys']()){const _0x458601=_0xd729b4[_0x4abc2c(0xaa)](_0x2ce1fc);this['_removeDependencyRTreeCacheById'](_0x355473,_0x2ce1fc);for(const _0x1da838 of _0x458601[_0x4abc2c(0xc9)]()){const _0x56a0ce=_0x458601['get'](_0x1da838);_0x56a0ce!=null&&(_0x56a0ce[_0x4abc2c(0x129)]((_0xf068f8,_0x5347f8,_0x2919c1)=>{const _0x3aab99=_0x4abc2c;this[_0x3aab99(0x104)][_0x3aab99(0xaa)](_0x2919c1)&&this['_removeAllTreeMap'](_0x2919c1);}),this['_otherFormulaDataMainData'][_0x4abc2c(0x12c)](_0x1da838));}}this[_0x4abc2c(0x145)][_0x4abc2c(0x12c)](_0x355473);}}}[_0x5be7cc(0xdf)](_0x49fb51,_0x5b260b,_0x4f80c5,_0x3e9e95){const _0x567a29=_0x5be7cc;this[_0x567a29(0xfd)][_0x567a29(0xee)](_0x49fb51)||this[_0x567a29(0xfd)]['set'](_0x49fb51,new Map());const _0x338dea=this['_featureFormulaData'][_0x567a29(0xaa)](_0x49fb51);_0x338dea[_0x567a29(0xee)](_0x5b260b)||_0x338dea[_0x567a29(0xa2)](_0x5b260b,new Map()),_0x338dea[_0x567a29(0xaa)](_0x5b260b)[_0x567a29(0xa2)](_0x4f80c5,_0x3e9e95[_0x567a29(0x127)]);}[_0x5be7cc(0xc2)](_0x2d4d99,_0x2a8670,_0x41720b){const _0x20382c=_0x5be7cc,_0x42c773=this[_0x20382c(0xfd)][_0x20382c(0xaa)](_0x2d4d99);if(_0x42c773&&_0x42c773[_0x20382c(0xee)](_0x2a8670)){const _0x2f240d=_0x42c773[_0x20382c(0xaa)](_0x2a8670);_0x41720b['forEach'](_0xffe4f5=>{const _0x5f587f=_0x20382c,_0x5857b0=_0x2f240d['get'](_0xffe4f5);_0x5857b0!=null&&(this[_0x5f587f(0x140)](_0x5857b0),_0x2f240d['delete'](_0xffe4f5),this['_removeAllTreeMap'](_0x5857b0));});}}[_0x5be7cc(0xed)](_0x47fcc0,_0x355641){const _0x17a17c=_0x5be7cc,_0x1b35f3=this[_0x17a17c(0xfd)][_0x17a17c(0xaa)](_0x47fcc0);if(_0x355641&&_0x1b35f3&&_0x1b35f3['has'](_0x355641)){const _0x1dcadc=_0x1b35f3[_0x17a17c(0xaa)](_0x355641);this['_removeDependencyRTreeCacheById'](_0x47fcc0,_0x355641),_0x1dcadc[_0x17a17c(0x111)](_0x456eac=>{const _0x4525b5=_0x17a17c;_0x456eac!=null&&this[_0x4525b5(0xf5)](_0x456eac);}),_0x1dcadc[_0x17a17c(0xb0)]();}else _0x1b35f3&&(_0x1b35f3[_0x17a17c(0x111)]((_0x30d96f,_0x446080)=>{const _0x42f029=_0x17a17c;this[_0x42f029(0xd1)](_0x47fcc0,_0x446080),_0x30d96f['forEach'](_0x19d53e=>{const _0x1d3473=_0x42f029;_0x19d53e!=null&&this[_0x1d3473(0xf5)](_0x19d53e);});}),this['_featureFormulaData'][_0x17a17c(0x12c)](_0x47fcc0));}[_0x5be7cc(0x119)](_0x2280da,_0x45708c,_0x52fb4f,_0x937d74,_0x3d5ca2){const _0x3bc132=_0x5be7cc;this[_0x3bc132(0x13b)][_0x3bc132(0xee)](_0x2280da)||this[_0x3bc132(0x13b)]['set'](_0x2280da,new Map());const _0x29fd07=this[_0x3bc132(0x13b)]['get'](_0x2280da);_0x29fd07['has'](_0x45708c)||_0x29fd07[_0x3bc132(0xa2)](_0x45708c,new _0x3ca31c()),_0x29fd07[_0x3bc132(0xaa)](_0x45708c)['setValue'](_0x52fb4f,_0x937d74,_0x3d5ca2['treeId']);}['removeFormulaDependency'](_0x28e886,_0x59d9e4,_0x244ff9,_0x4ff2d4){const _0x2ced9d=_0x5be7cc,_0x1da11f=this['_formulaData']['get'](_0x28e886);if(_0x1da11f&&_0x1da11f[_0x2ced9d(0xee)](_0x59d9e4)){const _0x166509=_0x1da11f[_0x2ced9d(0xaa)](_0x59d9e4),_0x217bfe=_0x166509[_0x2ced9d(0x103)](_0x244ff9,_0x4ff2d4);if(_0x217bfe==null)return;this[_0x2ced9d(0x140)](_0x217bfe),_0x166509['realDeleteValue'](_0x244ff9,_0x4ff2d4),this[_0x2ced9d(0xf5)](_0x217bfe);}}[_0x5be7cc(0x137)](_0x54cb0f,_0x59fc02){const _0x5ca60d=_0x5be7cc,_0x2193e1=this[_0x5ca60d(0x13b)][_0x5ca60d(0xaa)](_0x54cb0f);if(_0x59fc02&&_0x2193e1&&_0x2193e1[_0x5ca60d(0xee)](_0x59fc02)){const _0x3d9a8e=_0x2193e1[_0x5ca60d(0xaa)](_0x59fc02);this['_removeDependencyRTreeCacheById'](_0x54cb0f,_0x59fc02),_0x3d9a8e[_0x5ca60d(0x129)]((_0x51863e,_0x54db88,_0x328bf9)=>{const _0x156db0=_0x5ca60d;if(_0x328bf9==null)return!0x0;this[_0x156db0(0xf5)](_0x328bf9);}),_0x3d9a8e[_0x5ca60d(0xeb)]();}else _0x2193e1&&(_0x2193e1['forEach']((_0x6e0e20,_0x262432)=>{const _0x19800a=_0x5ca60d;this[_0x19800a(0xd1)](_0x54cb0f,_0x262432),_0x6e0e20['forValue']((_0x28860a,_0x31c74,_0x2ce024)=>{if(_0x2ce024==null)return!0x0;this['_removeAllTreeMap'](_0x2ce024);});}),this['_formulaData'][_0x5ca60d(0x12c)](_0x54cb0f));}['_removeDependencyRTreeCache'](_0x355209){const _0x44c0e3=_0x5be7cc;if(_0x355209==null)return;const _0x6d0b32=this[_0x44c0e3(0x104)][_0x44c0e3(0xaa)](_0x355209);if(_0x6d0b32){const _0x3b3c7f=[];for(const [_0x4f51ae,_0x4e12f1]of _0x6d0b32)for(const [_0x17e89d,_0x17dd38]of _0x4e12f1)_0x3b3c7f[_0x44c0e3(0x13c)]({'unitId':_0x4f51ae,'sheetId':_0x17e89d,'range':_0x17dd38,'id':_0x355209});this[_0x44c0e3(0xa7)][_0x44c0e3(0xd3)](_0x3b3c7f);}}[_0x5be7cc(0xde)](_0x38feec,_0x1c57f8){const _0x2caf3b=_0x5be7cc,_0x3cf8db=this[_0x2caf3b(0xa1)][_0x2caf3b(0xaa)](_0x38feec);if(_0x3cf8db){const _0x4424e0=_0x3cf8db['get'](_0x1c57f8);if(_0x4424e0){for(const _0x4342c2 of _0x4424e0)this[_0x2caf3b(0x140)](_0x4342c2),this[_0x2caf3b(0xf5)](_0x4342c2);_0x4424e0[_0x2caf3b(0xb0)]();}}}[_0x5be7cc(0xf2)](){const _0x2c5b9d=_0x5be7cc;this[_0x2c5b9d(0xa7)][_0x2c5b9d(0xf2)]();}[_0x5be7cc(0x10d)](){const _0x514a1d=_0x5be7cc;this[_0x514a1d(0xa7)][_0x514a1d(0x10d)]();}[_0x5be7cc(0xf5)](_0x129d25){const _0x120d05=_0x5be7cc;_0x129d25!=null&&this[_0x120d05(0x104)]['delete'](_0x129d25);}['_addAllTreeMap'](_0x4d2f6c){const _0x212cf6=_0x5be7cc;var _0x596ea8,_0x248992;const _0x2b2f41=_0x4d2f6c[_0x212cf6(0xcf)];let _0x3247fa=this[_0x212cf6(0x104)][_0x212cf6(0xaa)](_0x4d2f6c[_0x212cf6(0x127)]);for(let _0x4a56b7=0x0;_0x4a56b7<_0x2b2f41[_0x212cf6(0xc4)];_0x4a56b7++){const _0x5ba1d8=_0x2b2f41[_0x4a56b7];let {unitId:_0x52970b,sheetId:_0x5b3f94,range:_0x4619b0}=_0x5ba1d8;_0x3247fa||(_0x3247fa=new Map(),this[_0x212cf6(0x104)][_0x212cf6(0xa2)](_0x4d2f6c[_0x212cf6(0x127)],_0x3247fa)),_0x3247fa['has'](_0x52970b)||_0x3247fa[_0x212cf6(0xa2)](_0x52970b,new Map());const _0x345fd2=(_0x596ea8=_0x3247fa==null?void 0x0:_0x3247fa[_0x212cf6(0xaa)](_0x52970b))==null?void 0x0:_0x596ea8[_0x212cf6(0xaa)](_0x5b3f94);_0x345fd2&&(_0x4619b0={'startRow':Math[_0x212cf6(0xbd)](_0x4619b0[_0x212cf6(0xd9)],_0x345fd2[_0x212cf6(0xd9)]),'startColumn':Math[_0x212cf6(0xbd)](_0x4619b0['startColumn'],_0x345fd2[_0x212cf6(0x12d)]),'endRow':Math['max'](_0x4619b0[_0x212cf6(0xf1)],_0x345fd2[_0x212cf6(0xf1)]),'endColumn':Math[_0x212cf6(0xff)](_0x4619b0['endColumn'],_0x345fd2[_0x212cf6(0x122)])}),(_0x248992=_0x3247fa[_0x212cf6(0xaa)](_0x52970b))==null||_0x248992[_0x212cf6(0xa2)](_0x5b3f94,_0x4619b0);}}}var Ve=Object['getOwnPropertyDescriptor'],Se=(_0x19afed,_0x471603,_0x466de5,_0x1b70dd)=>{const _0x589f81=_0x5be7cc;for(var _0x7cca2=_0x1b70dd>0x1?void 0x0:_0x1b70dd?Ve(_0x471603,_0x466de5):_0x471603,_0x217a78=_0x19afed[_0x589f81(0xc4)]-0x1,_0x5299d9;_0x217a78>=0x0;_0x217a78--)(_0x5299d9=_0x19afed[_0x217a78])&&(_0x7cca2=_0x5299d9(_0x7cca2)||_0x7cca2);return _0x7cca2;};const Xe=Number[_0x5be7cc(0xcb)](0x6921992b);let P=class extends _0x773104{[_0x5be7cc(0xec)](){const _0x3d02dd=_0x5be7cc;var _0x554eca,_0x208757;this[_0x3d02dd(0xb8)]()?(this[_0x3d02dd(0xf9)]['add']([_0x4b7001,{'useClass':Re}]),(_0x554eca=this[_0x3d02dd(0xdb)])!=null&&_0x554eca['notExecuteFormula']||[[_0x14d79c,{'useClass':ve}],[_0x14ac23,{'useClass':Ge}],[_0x3a0813,{'useClass':Ue}]][_0x3d02dd(0x111)](_0x5828be=>this[_0x3d02dd(0xf9)][_0x3d02dd(0x139)](_0x5828be))):(this['_injector'][_0x3d02dd(0x139)]([_0x4b7001,{'useClass':_0x4b7001}]),(_0x208757=this['_config'])!=null&&_0x208757['notExecuteFormula']||[[_0x14d79c,{'useClass':_0x2f6c3f}],[_0x14ac23,{'useClass':_0x540147}],[_0x3a0813,{'useClass':_0x2b4f99}]][_0x3d02dd(0x111)](_0x5bfe75=>this['_injector'][_0x3d02dd(0x139)](_0x5bfe75)));}['_initLicenseValid'](){const _0x48398f=_0x5be7cc;var _0x2091bf;const _0x57121d=(_0x2091bf=this['_configService'][_0x48398f(0x138)](_0x50b1b7))!=null?_0x2091bf:{},{ls:_0x513c5a,pbk:_0xad50f0}=_0x57121d;if(!_0x513c5a||!_0xad50f0)return!0x1;const _0x42991f=_0x2979d7(Ce,Te),_0x20396e=new Function(_0x48398f(0xe4)+_0x42991f)()(_0x513c5a,_0xad50f0),_0x3d1356=_0x20396e['message'];return _0x20396e[_0x48398f(0xbc)]&&_0x509243(_0x3d1356,'sf',Xe)?_0x484bcc(_0x3d1356,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=Se([_0x31e99a(_0x5f75ec)],P);function _0x256e(_0x242330,_0x5c6c97){const _0x228a70=_0x228a();return _0x256e=function(_0x256e0e,_0x504b5c){_0x256e0e=_0x256e0e-0x9f;let _0x417c77=_0x228a70[_0x256e0e];return _0x417c77;},_0x256e(_0x242330,_0x5c6c97);}export{P as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
Z: string;
|
|
14
|
-
C: string;
|
|
15
|
-
Y: string;
|
|
16
|
-
r: string;
|
|
17
|
-
z: string;
|
|
18
|
-
x: string;
|
|
12
|
+
s: string;
|
|
19
13
|
S: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
J: string;
|
|
25
|
-
d: string;
|
|
14
|
+
x: string;
|
|
15
|
+
E: string;
|
|
16
|
+
L: string;
|
|
17
|
+
j: string;
|
|
26
18
|
a: string;
|
|
19
|
+
f: string;
|
|
20
|
+
J: string;
|
|
21
|
+
Q: string;
|
|
22
|
+
q: string;
|
|
23
|
+
M: string;
|
|
24
|
+
B: string;
|
|
25
|
+
y: string;
|
|
26
|
+
R: string;
|
|
27
27
|
O: string;
|
|
28
|
-
|
|
28
|
+
V: string;
|
|
29
|
+
c: string;
|
|
29
30
|
T: string;
|
|
30
|
-
w: string;
|
|
31
|
-
k: string;
|
|
32
31
|
l: string;
|
|
33
|
-
P: string;
|
|
34
|
-
b: string;
|
|
35
|
-
f: string;
|
|
36
32
|
U: string;
|
|
37
|
-
|
|
38
|
-
i: string;
|
|
39
|
-
V: string;
|
|
40
|
-
s: string;
|
|
41
|
-
h: string;
|
|
42
|
-
B: string;
|
|
43
|
-
q: string;
|
|
44
|
-
D: string;
|
|
45
|
-
L: string;
|
|
46
|
-
Q: string;
|
|
47
|
-
I: string;
|
|
48
|
-
G: string;
|
|
33
|
+
X: string;
|
|
49
34
|
g: string;
|
|
50
|
-
|
|
51
|
-
y: string;
|
|
52
|
-
e: string;
|
|
35
|
+
b: string;
|
|
53
36
|
o: string;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
n: string;
|
|
58
|
-
E: string;
|
|
59
|
-
A: string;
|
|
37
|
+
G: string;
|
|
38
|
+
F: string;
|
|
39
|
+
C: string;
|
|
60
40
|
v: string;
|
|
61
|
-
|
|
41
|
+
t: string;
|
|
42
|
+
H: string;
|
|
43
|
+
e: string;
|
|
44
|
+
D: string;
|
|
45
|
+
Y: string;
|
|
62
46
|
p: string;
|
|
63
|
-
|
|
47
|
+
A: string;
|
|
48
|
+
d: string;
|
|
49
|
+
u: string;
|
|
50
|
+
K: string;
|
|
51
|
+
I: string;
|
|
52
|
+
N: string;
|
|
53
|
+
w: string;
|
|
54
|
+
P: string;
|
|
55
|
+
n: string;
|
|
56
|
+
r: string;
|
|
57
|
+
z: string;
|
|
58
|
+
W: string;
|
|
59
|
+
k: string;
|
|
60
|
+
h: string;
|
|
61
|
+
Z: string;
|
|
62
|
+
m: string;
|
|
63
|
+
i: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "R3UMFVXU ByMotgFVXU(lVMyUGy, g39lVMIyt) { Fot { MXUGF lVMyUGyuURX6qoFeooqt = lVMyUGy.GglVF('-'); MXUGF XoVOVUwyGGqOy = KznP.gqoGy(qFX9(lVMyUGyuURX6qoFeooqt[x])); VR (!XoVOVUwyGGqOy.3B) { XoVOVUwyGGqOy.3B = P329yo(lVMyUGyuURX6qoFeooqt[L]); } MXUGF VG7XoTyo = FtgyXR 7XoTyoAlX9qlzMXgy !== '3UByRVUyB' && GylR VUGFqUMyXR 7XoTyoAlX9qlzMXgy; MXUGF VGDoXvGyo = FtgyXR vVUBXv !== '3UByRVUyB' && FtgyXR vVUBXv.lXMqFVXU !== '3UByRVUyB'; MXUGF MXUFy1F = VG7XoTyo ? GylR : (VGDoXvGyo ? vVUBXv : OlX9qlW0VG); MXUGF 2yGGqOy7XoB = MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[x]); MXUGF 2yGGqOy = MXUFy1F.__dy1__.GFoVUOVRt(2yGGqOy7XoB); MXUGF GVOUqF3oy7XoB = MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[E]); MXUGF GVOUqF3oy = MXUFy1F.__dy1__.GFoVUOVRt(GVOUqF3oy7XoB); MXUGF GVOUhqlVB = MXUFy1F.__CyoVRt__(GVOUqF3oy, 2yGGqOy, g39lVMIyt); MXUGF BX2qVU = XoVOVUwyGGqOy.B2; R3UMFVXU VG4X2qVUwqFM0VUO(X6qFFyoU, XdXGF) { MXUGF gqFFyoU = X6qFFyoU.oyglqMy(/^.+/, ''); MXUGF 0XGF = XdXGF.oyglqMy(/^.+/, ''); MXUGF gqFFyoU6qoFG = gqFFyoU.GglVF('.'); MXUGF 0XGF6qoFG = 0XGF.GglVF('.'); VR (!gqFFyoU.VUMl3ByG('*')) { oyF3oU gqFFyoU === 0XGF; } VR (gqFFyoU6qoFG.lyUOF0 < x || gqFFyoU6qoFG[s] !== '*') { oyF3oU RqlGy; } MXUGF gqFFyoUz3RRV1 = gqFFyoU6qoFG.GlVMy(S).cXVU('.'); MXUGF 0XGFz3RRV1 = 0XGF6qoFG.GlVMy(-gqFFyoU6qoFG.lyUOF0 + S).cXVU('.'); oyF3oU gqFFyoUz3RRV1 === 0XGFz3RRV1; } lyF BX2qVUhqlVB = RqlGy; VR (VGDoXvGyo) { BX2qVUhqlVB = (BX2qVU && BX2qVU.lyUOF0) ? BX2qVU.GX2y((B2uFy2) => VG4X2qVUwqFM0VUO(B2uFy2, lXMqFVXU.0XGFUq2y)) : Fo3y; VR (lXMqFVXU.0XGFUq2y === 'lXMql0XGF') { BX2qVUhqlVB = Fo3y; } } ylGy { BX2qVUhqlVB = Fo3y; } MXUGF CqlVB = GVOUhqlVB && BX2qVUhqlVB; oyF3oU { CqlVB, 2yGGqOy: XoVOVUwyGGqOy, }; } MqFM0 (yooXo) { oyF3oU { CqlVB: RqlGy, 2yGGqOy: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x23a4(){var _0x43cdbe=['UniverProEngineFormulaFacade','Module','18872982UuKLRT','amd','UniverEngineFormulaFacade','object','hasOwnProperty','call','230305IhRZpi','4737456AlnAxt','function','keys','prototype','@univerjs/engine-formula/facade','78uGJFLK','18621sghfhY','toStringTag','823878NCorqZ','defineProperty','6849990sUBjlS','exports','default','464kaztzc','1952280KHfgXr'];_0x23a4=function(){return _0x43cdbe;};return _0x23a4();}function _0x1e54(_0x2baa58,_0xbf0027){var _0x23a4f3=_0x23a4();return _0x1e54=function(_0x1e541c,_0x1b534a){_0x1e541c=_0x1e541c-0x12b;var _0x3b2a3f=_0x23a4f3[_0x1e541c];return _0x3b2a3f;},_0x1e54(_0x2baa58,_0xbf0027);}(function(_0x36b973,_0x393109){var _0x2e08f8=_0x1e54,_0x4c35c3=_0x36b973();while(!![]){try{var _0x49ae03=parseInt(_0x2e08f8(0x139))/0x1+parseInt(_0x2e08f8(0x13e))/0x2*(-parseInt(_0x2e08f8(0x137))/0x3)+parseInt(_0x2e08f8(0x131))/0x4+parseInt(_0x2e08f8(0x130))/0x5*(-parseInt(_0x2e08f8(0x136))/0x6)+-parseInt(_0x2e08f8(0x13b))/0x7+-parseInt(_0x2e08f8(0x13f))/0x8+parseInt(_0x2e08f8(0x142))/0x9;if(_0x49ae03===_0x393109)break;else _0x4c35c3['push'](_0x4c35c3['shift']());}catch(_0x19efcb){_0x4c35c3['push'](_0x4c35c3['shift']());}}}(_0x23a4,0xce02a),function(_0x4b54e1,_0x28e3de){var _0x58e8fc=_0x1e54;typeof exports==_0x58e8fc(0x12d)&&typeof module<'u'?_0x28e3de(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x58e8fc(0x132)&&define[_0x58e8fc(0x12b)]?define([_0x58e8fc(0x13c),_0x58e8fc(0x135)],_0x28e3de):(_0x4b54e1=typeof globalThis<'u'?globalThis:_0x4b54e1||self,_0x28e3de(_0x4b54e1[_0x58e8fc(0x140)]={},_0x4b54e1[_0x58e8fc(0x12c)]));}(this,function(_0x38f633,_0x594ef7){'use strict';var _0x3a2a8d=_0x1e54;Object[_0x3a2a8d(0x133)](_0x594ef7)['forEach'](_0x5dfd7a=>{var _0x29743a=_0x3a2a8d;_0x5dfd7a!==_0x29743a(0x13d)&&!Object[_0x29743a(0x134)][_0x29743a(0x12e)][_0x29743a(0x12f)](_0x38f633,_0x5dfd7a)&&Object[_0x29743a(0x13a)](_0x38f633,_0x5dfd7a,{'enumerable':!0x0,'get':()=>_0x594ef7[_0x5dfd7a]});}),Object[_0x3a2a8d(0x13a)](_0x38f633,Symbol[_0x3a2a8d(0x138)],{'value':_0x3a2a8d(0x141)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x453592,_0xc209bb){const _0x10f449=_0xdd86,_0x2bb7ec=_0x453592();while(!![]){try{const _0x5226d5=parseInt(_0x10f449(0x150))/0x1*(parseInt(_0x10f449(0xdc))/0x2)+parseInt(_0x10f449(0x153))/0x3+-parseInt(_0x10f449(0xe0))/0x4+parseInt(_0x10f449(0xbf))/0x5*(-parseInt(_0x10f449(0x124))/0x6)+parseInt(_0x10f449(0x119))/0x7*(parseInt(_0x10f449(0x12d))/0x8)+parseInt(_0x10f449(0xbb))/0x9+-parseInt(_0x10f449(0x90))/0xa*(parseInt(_0x10f449(0x125))/0xb);if(_0x5226d5===_0xc209bb)break;else _0x2bb7ec['push'](_0x2bb7ec['shift']());}catch(_0x2f83c8){_0x2bb7ec['push'](_0x2bb7ec['shift']());}}}(_0x58fb,0x1e21c),function(_0x42da7f,_0x1df26e){const _0x1d755e=_0xdd86;typeof exports==_0x1d755e(0x13e)&&typeof module<'u'?_0x1df26e(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x1d755e(0x146)&&define[_0x1d755e(0x10c)]?define([_0x1d755e(0x135),_0x1d755e(0xa4),'@univerjs/core',_0x1d755e(0xf7)],_0x1df26e):(_0x42da7f=typeof globalThis<'u'?globalThis:_0x42da7f||self,_0x1df26e(_0x42da7f['UniverProEngineFormula']={},_0x42da7f[_0x1d755e(0x10f)],_0x42da7f[_0x1d755e(0xed)],_0x42da7f[_0x1d755e(0xeb)]));}(this,function(_0x2bf6ff,_0x2b199a,_0x52630f,_0x1cbc9f){'use strict';const _0x42332d=_0xdd86;var _0x1b9795=Object[_0x42332d(0xfd)],_0x366487=(_0x44f3cf,_0x417614,_0x594f18)=>_0x417614 in _0x44f3cf?_0x1b9795(_0x44f3cf,_0x417614,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594f18}):_0x44f3cf[_0x417614]=_0x594f18,_0x53d696=(_0x4700cc,_0x5d0a2d,_0x1fa878)=>_0x366487(_0x4700cc,typeof _0x5d0a2d!=_0x42332d(0x12f)?_0x5d0a2d+'':_0x5d0a2d,_0x1fa878);const _0x2b247c={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},_0xe43e9f=_0x42332d(0x86);class _0x326068 extends _0x1cbc9f[_0x42332d(0x136)]{constructor(){const _0x81ff9=_0x42332d;super(...arguments),_0x53d696(this,_0x81ff9(0xf9),new Map());}['dispose'](){const _0x3430db=_0x42332d;super[_0x3430db(0xd8)](),this[_0x3430db(0xf9)][_0x3430db(0x8c)]();}async[_0x42332d(0xa5)](){const _0x445caa=_0x42332d;this[_0x445caa(0x8f)]();const _0x32fb42=this[_0x445caa(0xa1)]['getFormulaData'](),_0x168822=this['_otherFormulaManagerService'][_0x445caa(0xdd)](),_0x515e55=this[_0x445caa(0xa1)][_0x445caa(0x152)]();_0x515e55!=null&&Object[_0x445caa(0x13b)](_0x515e55)[_0x445caa(0x12b)](_0x3a8763=>{const _0x2e4cbc=_0x445caa;_0x3a8763!=null&&Object[_0x2e4cbc(0x13b)](_0x515e55[_0x3a8763])[_0x2e4cbc(0x12b)](_0x27f5ce=>{const _0x40964c=_0x2e4cbc;_0x27f5ce!=null&&(this[_0x40964c(0xe6)][_0x40964c(0x101)](_0x3a8763,_0x27f5ce),this[_0x40964c(0xe6)][_0x40964c(0xcc)](_0x3a8763,_0x27f5ce),this[_0x40964c(0xe6)]['clearFormulaDependency'](_0x3a8763,_0x27f5ce));});});const _0x3e9536=this[_0x445caa(0xa1)]['getUnitData']();await this['_generateTreeList'](_0x32fb42,_0x168822,_0x3e9536),this['_dependencyManagerService'][_0x445caa(0xd1)]();const _0x17e2c1=this[_0x445caa(0x156)](),_0x4d561f=this[_0x445caa(0xff)](_0x17e2c1);return this[_0x445caa(0xe2)](_0x4d561f)&&this[_0x445caa(0x103)][_0x445caa(0xbc)](),this[_0x445caa(0xf9)]['clear'](),this[_0x445caa(0x13a)][_0x445caa(0x8c)](),this['_dependencyManagerService'][_0x445caa(0x147)](),this['_runtimeService']['clearArrayObjectCache'](),Promise['resolve'](_0x4d561f);}['_isCyclicUtilMap'](_0x5ee301,_0x4517c6){const _0x1c4d89=_0x42332d,_0x4f72a8=[_0x5ee301];for(;_0x4f72a8[_0x1c4d89(0xc4)]>0x0;){const _0x223c49=_0x4f72a8[_0x4f72a8['length']-0x1];if((_0x4517c6[_0x1c4d89(0x127)](_0x223c49)||0x0)===0x0){_0x4517c6[_0x1c4d89(0xc6)](_0x223c49,0x1);const _0x2e3cbf=this['_dependencyTreeCache'][_0x1c4d89(0x127)](_0x223c49);if(_0x2e3cbf==null){_0x4517c6['set'](_0x223c49,0x2),_0x4f72a8[_0x1c4d89(0x96)]();continue;}const _0x6b6eea=this['_dependencyManagerService'][_0x1c4d89(0x11c)](_0x2e3cbf[_0x1c4d89(0xbd)]());for(const _0x1860ea of _0x6b6eea){const _0x5e74eb=_0x4517c6[_0x1c4d89(0x127)](_0x1860ea)||0x0;if(_0x5e74eb===0x1)return!0x0;_0x5e74eb===0x0&&_0x4f72a8[_0x1c4d89(0x15a)](_0x1860ea);}}else _0x4517c6['set'](_0x223c49,0x2),_0x4f72a8[_0x1c4d89(0x96)]();}return!0x1;}['_checkIsCycleDependency'](_0x158c5e){const _0x471661=_0x42332d,_0x1d078f=new Map();for(const _0x362b84 of _0x158c5e)if(!_0x1d078f[_0x471661(0x88)](_0x362b84[_0x471661(0xde)])&&this[_0x471661(0x107)](_0x362b84[_0x471661(0xde)],_0x1d078f))return!0x0;return _0x1d078f[_0x471661(0x8c)](),!0x1;}[_0x42332d(0x158)](_0x5098ab,_0x4b5ea0,_0x5ad703){const _0x10835a=_0x42332d,{unitId:_0x2604c9,subUnitId:_0x5a91e1,dependencyRanges:_0x2b322f,getDirtyData:_0x4205fc}=_0x5ad703,_0x2159fd=_0x4b5ea0||_0x1cbc9f[_0x10835a(0xa7)](this[_0x10835a(0xe6)]),_0x8c9a77=new _0x1cbc9f[(_0x10835a(0xda))](_0x2159fd);_0x8c9a77['unitId']=_0x2604c9,_0x8c9a77[_0x10835a(0x159)]=_0x5a91e1,_0x8c9a77[_0x10835a(0xfa)]=_0x2b322f,_0x8c9a77[_0x10835a(0x163)]=_0x4205fc;const _0x1cbf3b=_0x4205fc(this['_currentConfigService'][_0x10835a(0x163)](),this['_runtimeService'][_0x10835a(0x9c)]()),_0xdd0c6f=this[_0x10835a(0x109)](_0x1cbf3b[_0x10835a(0x14d)]);return _0x8c9a77[_0x10835a(0x120)]=_0xdd0c6f,_0x8c9a77[_0x10835a(0x97)]=_0x5098ab,_0x8c9a77[_0x10835a(0x154)]=_0x1cbc9f[_0x10835a(0x8b)][_0x10835a(0xd2)],this[_0x10835a(0xe6)]['addFeatureFormulaDependency'](_0x2604c9,_0x5a91e1,_0x5098ab,_0x8c9a77),this['_dependencyTreeCache']['set'](_0x8c9a77['treeId'],_0x8c9a77),this[_0x10835a(0xe6)][_0x10835a(0xc3)](_0x5ad703['unitId'],_0x5ad703['subUnitId'],_0x5098ab)&&(_0x8c9a77[_0x10835a(0x8a)]=!0x0),_0x8c9a77;}['_registerOtherFormulas'](_0x1a7ec1,_0x1f5098,_0x3ba481){const _0x518202=_0x42332d;var _0xeeca22;for(const _0x281c64 of _0x1f5098){const _0x25240b=_0x1a7ec1[_0x281c64];if(_0x25240b==null)continue;const _0x161821=Object[_0x518202(0x13b)](_0x25240b);for(const _0x54f4d9 of _0x161821){const _0x7a85cd=_0x25240b[_0x54f4d9];if(_0x7a85cd==null)continue;const _0x23e060=Object[_0x518202(0x13b)](_0x7a85cd);for(const _0x26c46f of _0x23e060){const _0x15258c=this[_0x518202(0xe6)]['hasOtherFormulaDataMainData'](_0x26c46f),_0x2ad6a7=_0x7a85cd[_0x26c46f],{f:_0x216bc2,ranges:_0x11a7f3}=_0x2ad6a7;let _0x1e8cf4=!0x1;_0x15258c&&(_0x1e8cf4=!0x0);const {firstRow:_0xeda024,firstColumn:_0x179fa3}=this[_0x518202(0xe9)](_0x11a7f3),_0x3bb897=this[_0x518202(0xe6)][_0x518202(0xfb)](_0x281c64,_0x54f4d9,_0x26c46f),_0x16c591=(_0xeeca22=_0x3bb897==null?void 0x0:_0x3bb897['getValue'](0x0,0x0))!=null?_0xeeca22:_0x1cbc9f[_0x518202(0xa7)](this[_0x518202(0xe6)]),_0x20c3f5=new _0x1cbc9f[(_0x518202(0xda))](_0x16c591);for(let _0x5e5884=0x0;_0x5e5884<_0x11a7f3[_0x518202(0xc4)];_0x5e5884++){const _0x2c2515=_0x11a7f3[_0x5e5884],{startRow:_0x5564f5,startColumn:_0x53f99d,endRow:_0x3ca3a3,endColumn:_0x1b9016}=_0x2c2515;for(let _0x39df68=_0x5564f5;_0x39df68<=_0x3ca3a3;_0x39df68++)for(let _0x3eddec=_0x53f99d;_0x3eddec<=_0x1b9016;_0x3eddec++){const _0x56c823=_0x3eddec-_0x179fa3,_0x4fcd40=_0x39df68-_0xeda024;if(_0x56c823===0x0&&_0x4fcd40===0x0){_0x20c3f5[_0x518202(0x167)]=_0x216bc2,_0x20c3f5['unitId']=_0x281c64,_0x20c3f5[_0x518202(0x159)]=_0x54f4d9,_0x20c3f5['formulaId']=_0x26c46f,_0x20c3f5['type']=_0x1cbc9f[_0x518202(0x8b)][_0x518202(0xcb)],_0x20c3f5[_0x518202(0x8a)]=_0x1e8cf4,_0x3ba481[_0x518202(0x15a)](_0x20c3f5),this[_0x518202(0xf9)][_0x518202(0xc6)](_0x20c3f5[_0x518202(0xde)],_0x20c3f5),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x281c64,_0x54f4d9,_0x26c46f,_0x20c3f5),this['_dependencyManagerService'][_0x518202(0xc5)](_0x20c3f5);continue;}const _0x47bd7d=new _0x1cbc9f[(_0x518202(0x132))]();_0x47bd7d['treeId']=(_0x3bb897==null?void 0x0:_0x3bb897[_0x518202(0xec)](_0x56c823,_0x4fcd40))||_0x1cbc9f[_0x518202(0xa7)](this[_0x518202(0xe6)]),_0x47bd7d[_0x518202(0x105)]=_0x20c3f5,_0x47bd7d[_0x518202(0x162)]=_0x56c823,_0x47bd7d[_0x518202(0x116)]=_0x4fcd40,_0x47bd7d[_0x518202(0x8a)]=_0x1e8cf4,this[_0x518202(0xe6)][_0x518202(0xef)](_0x281c64,_0x54f4d9,_0x26c46f,_0x47bd7d),this[_0x518202(0xe6)][_0x518202(0xc5)](_0x47bd7d),_0x3ba481[_0x518202(0x15a)](_0x47bd7d),this[_0x518202(0xf9)]['set'](_0x47bd7d['treeId'],_0x47bd7d);}}this[_0x518202(0xe6)][_0x518202(0xe7)](_0x26c46f);}}}}[_0x42332d(0x145)](_0x7dff23,_0x2c10fc,_0x332dd0,_0x1bfcfa){const _0x127c3a=_0x42332d;for(const _0xe0615a of _0x7dff23){const _0x483a54=_0x2c10fc[_0xe0615a];if(_0x483a54==null)continue;const _0x43eb2b=Object[_0x127c3a(0x13b)](_0x483a54);for(const _0x571517 of _0x43eb2b){const _0x277b1c=new _0x52630f[(_0x127c3a(0x144))](_0x483a54[_0x571517]||{}),_0x4e9f13=new Map();_0x277b1c[_0x127c3a(0xdf)]((_0x5521c5,_0x829766,_0xcbb66b)=>{const _0x2954ee=_0x127c3a;if(_0xcbb66b==null)return!0x0;const {x:_0x18b96f=0x0,y:_0xd8228e=0x0,si:_0x296ef0}=_0xcbb66b;if(!(_0x18b96f===0x0&&_0xd8228e===0x0&&_0x296ef0!=null))return!0x0;const _0x238ddf=this['_createFDtree'](_0xe0615a,_0x571517,_0x5521c5,_0x829766,_0x332dd0,_0xcbb66b),_0x324945=this['_dependencyManagerService']['getFormulaDependency'](_0xe0615a,_0x571517,_0x5521c5,_0x829766);_0x324945!=null?_0x238ddf[_0x2954ee(0xde)]=_0x324945:(this[_0x2954ee(0xe6)][_0x2954ee(0x11a)](_0xe0615a,_0x571517,_0x5521c5,_0x829766,_0x238ddf),this[_0x2954ee(0xe6)]['addFormulaDependencyByDefinedName'](_0x238ddf)),_0x4e9f13['set'](_0x296ef0,_0x238ddf),_0x1bfcfa[_0x2954ee(0x15a)](_0x238ddf),this[_0x2954ee(0xf9)][_0x2954ee(0xc6)](_0x238ddf[_0x2954ee(0xde)],_0x238ddf);}),_0x277b1c[_0x127c3a(0xdf)]((_0x11a136,_0x12934a,_0x526b7a)=>{const _0x470a60=_0x127c3a;if(_0x526b7a==null)return!0x0;const {x:_0x253476=0x0,y:_0xaced1e=0x0,si:_0x54b521}=_0x526b7a;if(_0x253476===0x0&&_0xaced1e===0x0&&_0x54b521!=null)return!0x0;let _0x4c0cd9;if(_0x54b521&&_0x4e9f13[_0x470a60(0x88)](_0x54b521)){const _0x2b54aa=_0x4e9f13['get'](_0x54b521);_0x4c0cd9=this[_0x470a60(0xad)](_0x2b54aa,_0x526b7a);}else _0x4c0cd9=this['_createFDtree'](_0xe0615a,_0x571517,_0x11a136,_0x12934a,_0x332dd0,_0x526b7a);const _0x58663b=this[_0x470a60(0xe6)][_0x470a60(0xf0)](_0xe0615a,_0x571517,_0x11a136,_0x12934a);_0x58663b!=null?_0x4c0cd9[_0x470a60(0xde)]=_0x58663b:(this[_0x470a60(0xe6)][_0x470a60(0x11a)](_0xe0615a,_0x571517,_0x11a136,_0x12934a,_0x4c0cd9),this[_0x470a60(0xe6)][_0x470a60(0xc5)](_0x4c0cd9)),_0x1bfcfa[_0x470a60(0x15a)](_0x4c0cd9),this[_0x470a60(0xf9)][_0x470a60(0xc6)](_0x4c0cd9[_0x470a60(0xde)],_0x4c0cd9);}),_0x4e9f13[_0x127c3a(0x8c)]();}}}['_createFDtree'](_0x14ca03,_0x31084a,_0x474cd9,_0x5e96a9,_0x49feec,_0xc9b372){const _0x47a454=_0x42332d,{f:_0xd0725d,x:_0x261048=0x0,y:_0x2bf822=0x0}=_0xc9b372,_0x6b516d=new _0x1cbc9f[(_0x47a454(0xda))](_0x1cbc9f[_0x47a454(0xa7)](this[_0x47a454(0xe6)])),_0x40835c=_0x49feec[_0x14ca03][_0x31084a];return _0x6b516d['formula']=_0xd0725d,_0x6b516d['unitId']=_0x14ca03,_0x6b516d[_0x47a454(0x159)]=_0x31084a,_0x6b516d[_0x47a454(0x142)]=_0x474cd9,_0x6b516d[_0x47a454(0xb1)]=_0x5e96a9,_0x6b516d[_0x47a454(0xca)]=_0x40835c[_0x47a454(0xca)],_0x6b516d[_0x47a454(0xd7)]=_0x40835c[_0x47a454(0xd7)],_0x6b516d;}[_0x42332d(0x156)](){const _0x21a153=_0x42332d,_0x16562b=[],_0x5ea000=new Set(),_0x5b4726=this['_currentConfigService']['isForceCalculate'](),_0x297180=this['_currentConfigService'][_0x21a153(0x128)](),_0x366938=this[_0x21a153(0xe6)][_0x21a153(0x11c)](_0x297180),_0x24ad93=this['_dependencyRTreeCacheForAddressFunction'][_0x21a153(0xfe)](_0x297180);for(const _0x34dc9b of _0x24ad93)_0x366938[_0x21a153(0xea)](_0x34dc9b);for(const [_0x556ffd,_0x658ba1]of this[_0x21a153(0xf9)])(_0x5b4726||_0x658ba1[_0x21a153(0x138)]||_0x658ba1[_0x21a153(0x165)](this['_currentConfigService']['getDirtyNameMap']())||_0x366938[_0x21a153(0x88)](_0x556ffd)&&!_0x658ba1['isExcludeRange'](this[_0x21a153(0xa1)]['getExcludedRange']()))&&!_0x5ea000[_0x21a153(0x88)](_0x556ffd)&&(_0x16562b[_0x21a153(0x15a)](_0x658ba1),_0x5ea000[_0x21a153(0xea)](_0x556ffd));for(const [_0x24ae82,_0x1ddc3f]of this['_dependencyTreeCache'])_0x1ddc3f[_0x21a153(0xe4)]||(_0x1ddc3f[_0x21a153(0xfa)]['length']=0x0);return _0x16562b;}[_0x42332d(0x91)](_0x548125){const _0x24b63a=_0x42332d;return this[_0x24b63a(0xf9)][_0x24b63a(0x127)](_0x548125);}[_0x42332d(0xc2)](_0x15767f){const _0x3ae0cb=_0x42332d;return _0x1cbc9f['generateAstNode'](_0x15767f[_0x3ae0cb(0xf1)],_0x15767f[_0x3ae0cb(0x167)],this[_0x3ae0cb(0x12e)],this[_0x3ae0cb(0xaf)],this['_currentConfigService']);}*['_traverse'](_0x5343e4,_0x29b6ff){const _0x4dec36=_0x42332d,_0x441456=_0x5343e4,_0x5952b9=new Set();for(;_0x441456['length']>0x0;){const _0x10aa98=_0x441456[_0x4dec36(0x96)]();if(_0x5952b9[_0x4dec36(0x8c)](),_0x10aa98===void 0x0||_0x10aa98[_0x4dec36(0xfc)]())continue;if(_0x10aa98[_0x4dec36(0xcd)]()){yield _0x10aa98,_0x10aa98[_0x4dec36(0xb4)](),_0x29b6ff[_0x4dec36(0xea)](_0x10aa98[_0x4dec36(0xde)]);continue;}const _0x1fa68b=this[_0x4dec36(0xe6)][_0x4dec36(0x11c)](_0x10aa98['toRTreeItem'](),_0x29b6ff),_0x380dfe=this['_dependencyRTreeCacheForAddressFunction'][_0x4dec36(0xfe)](_0x10aa98[_0x4dec36(0xbd)](),_0x29b6ff);for(const _0x24e218 of _0x380dfe)_0x1fa68b[_0x4dec36(0xea)](_0x24e218);for(const _0x133832 of _0x1fa68b){const _0x2b7a27=this[_0x4dec36(0xf9)][_0x4dec36(0x127)](_0x133832);if(!_0x2b7a27)throw new Error(_0x4dec36(0xd0));_0x2b7a27['isAdded']()||_0x10aa98['isSkip']()||_0x5952b9[_0x4dec36(0xea)](_0x2b7a27);}if(_0x1fa68b['clear'](),_0x5952b9['size']===0x0)yield _0x10aa98,_0x10aa98[_0x4dec36(0xb4)](),_0x29b6ff[_0x4dec36(0xea)](_0x10aa98[_0x4dec36(0xde)]);else{_0x10aa98[_0x4dec36(0xb8)](),_0x441456[_0x4dec36(0x15a)](_0x10aa98);for(const _0x7ee6a9 of _0x5952b9)_0x441456[_0x4dec36(0x15a)](_0x7ee6a9);}}_0x441456['length']=0x0,_0x5952b9[_0x4dec36(0x8c)]();}[_0x42332d(0xff)](_0x715957){const _0x21a8bd=_0x42332d,_0x41d5b3=[],_0x21cebc=new Set();for(const _0x5dc1ce of this[_0x21a8bd(0x121)](_0x715957,_0x21cebc))_0x41d5b3[_0x21a8bd(0x15a)](_0x5dc1ce);return _0x41d5b3;}}class _0x2de218 extends _0x1cbc9f[_0x42332d(0x9a)]{constructor(){const _0x584a45=_0x42332d;super(...arguments),_0x53d696(this,_0x584a45(0xb0),!0x1),_0x53d696(this,_0x584a45(0x94),new Set());}['getNewFormulaWithPrefix'](_0x3a552e,_0x251752){const _0x3da31b=_0x42332d,_0xcb34ae=this[_0x3da31b(0xb7)](_0x3a552e,!0x1);if(!_0xcb34ae||_0xcb34ae===_0x1cbc9f['ErrorType']['VALUE']||Array[_0x3da31b(0x8e)](_0xcb34ae))return null;const _0xc1e523=[];return this[_0x3da31b(0xb0)]=!0x1,this[_0x3da31b(0xe1)](_0xcb34ae,_0xc1e523,_0x251752),this[_0x3da31b(0xb0)]?'='+_0xc1e523[_0x3da31b(0xdb)](''):null;}['_generateNewFunctionString'](_0x38e0c9,_0x27de31,_0x2d0072){const _0x6d65b=_0x42332d,_0x22168c=_0x38e0c9[_0x6d65b(0x114)](),_0x4e5789=_0x22168c[_0x6d65b(0xe3)](),_0x242d02=_0x4e5789[_0x6d65b(0x139)](),_0x42ece2=this[_0x6d65b(0xe5)](_0x242d02),_0x216f3c=_0x2d0072(_0x42ece2);let _0x20bd62=0x0;_0x22168c===_0x1cbc9f[_0x6d65b(0xd3)]?_0x20bd62=0x3:_0x22168c===_0x1cbc9f[_0x6d65b(0x141)]?_0x20bd62=0x4:_0x22168c===_0x1cbc9f[_0x6d65b(0x12a)]?_0x20bd62=0x5:_0x1cbc9f[_0x6d65b(0x13d)][_0x6d65b(0x88)](_0x42ece2)?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this[_0x6d65b(0xb0)]=!0x0):_0x242d02===_0x1cbc9f[_0x6d65b(0x168)]?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this[_0x6d65b(0xb0)]=!0x0,_0x20bd62=0x2):_0x242d02===_0x1cbc9f[_0x6d65b(0xee)]?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this['_hasNewExcelFunction']=!0x0,_0x20bd62=0x1):_0x242d02===_0x1cbc9f['matchToken']['COLON']?_0x20bd62=0x8:_0x1cbc9f['SUFFIX_TOKEN_SET'][_0x6d65b(0x88)](_0x242d02)?_0x20bd62=0x7:_0x242d02===_0x1cbc9f[_0x6d65b(0x98)][_0x6d65b(0x111)]?(this[_0x6d65b(0x130)](_0x38e0c9)&&(_0x20bd62=0x9),_0x27de31[_0x6d65b(0x15a)](_0x22168c)):(_0x27de31[_0x6d65b(0x15a)](_0x22168c),_0x20bd62=0xa),_0x216f3c?(_0x20bd62!==0x2&&_0x20bd62!==0x1&&(_0x20bd62=0x6),_0x27de31[_0x6d65b(0x15a)]('(')):_0x20bd62===0x9&&_0x27de31[_0x6d65b(0x15a)]('(');const _0x2e4c58=_0x38e0c9['getChildren'](),_0x2a7294=_0x2e4c58[_0x6d65b(0xc4)];if(_0x20bd62===0x2){const _0x2d5dcc=_0x2e4c58[0x0];let _0x1d195e=0x0;_0x2d5dcc instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x2d5dcc[_0x6d65b(0x114)]()===_0x1cbc9f[_0x6d65b(0x12a)]&&(_0x1d195e=0x1);for(let _0x13a952=_0x1d195e;_0x13a952<_0x2a7294-0x1;_0x13a952++){const _0x17a56e=_0x2e4c58[_0x13a952];if(_0x17a56e instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x56d689=_0x17a56e[_0x6d65b(0x14c)]()[0x0];typeof _0x56d689==_0x6d65b(0xf3)&&(this[_0x6d65b(0x94)][_0x6d65b(0x88)](_0x56d689)&&console[_0x6d65b(0xf5)](_0x6d65b(0x118)+_0x56d689+_0x6d65b(0x123)),this[_0x6d65b(0x94)][_0x6d65b(0xea)](_0x56d689),_0x27de31[_0x6d65b(0x15a)](_0x6d65b(0x11e)+_0x56d689),this['_hasNewExcelFunction']=!0x0);}_0x27de31[_0x6d65b(0x15a)](',');}this[_0x6d65b(0x9f)](_0x2e4c58[_0x2a7294-0x1],_0x27de31,_0x2d0072),_0x1d195e===0x1&&(_0x27de31[_0x6d65b(0x15a)](')'),_0x27de31['push']('('),this[_0x6d65b(0xe1)](_0x2d5dcc,_0x27de31,_0x2d0072)),_0x27de31[_0x6d65b(0x15a)](')');return;}else{if(_0x20bd62===0x1){for(let _0x64344f=0x0;_0x64344f<_0x2a7294-0x1;_0x64344f++){const _0x74b08c=_0x2e4c58[_0x64344f];if(_0x74b08c instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x64344f%0x2===0x0){const _0x127c94=_0x74b08c[_0x6d65b(0x14c)]()[0x0];if(typeof _0x127c94==_0x6d65b(0xf3)){this[_0x6d65b(0x94)][_0x6d65b(0x88)](_0x127c94)&&console[_0x6d65b(0xf5)](_0x6d65b(0x89)+_0x127c94+'\x22\x20is\x20duplicated.'),this[_0x6d65b(0x94)][_0x6d65b(0xea)](_0x127c94),_0x27de31[_0x6d65b(0x15a)](_0x6d65b(0x11e)+_0x127c94),this[_0x6d65b(0xb0)]=!0x0,_0x27de31[_0x6d65b(0x15a)](',');continue;}}if(this[_0x6d65b(0x9f)](_0x74b08c,_0x27de31,_0x2d0072),_0x74b08c instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x4f9aa6=_0x2e4c58[_0x64344f+0x1];_0x4f9aa6&&_0x4f9aa6 instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x27de31[_0x6d65b(0x15a)](',');}}this[_0x6d65b(0x9f)](_0x2e4c58[_0x2a7294-0x1],_0x27de31,_0x2d0072),_0x27de31['push'](')');return;}else{if(_0x20bd62===0x8){const _0x4afb57=_0x2e4c58[0x0],_0x4e0dfa=_0x2e4c58[0x1];this[_0x6d65b(0x9f)](_0x4afb57,_0x27de31,_0x2d0072),_0x27de31['push'](_0x22168c),this[_0x6d65b(0x9f)](_0x4e0dfa,_0x27de31,_0x2d0072);return;}}}for(let _0x4983aa=0x0;_0x4983aa<_0x2a7294;_0x4983aa++){const _0x4f0509=_0x2e4c58[_0x4983aa];if(this['_handleNewFunctionChild'](_0x4f0509,_0x27de31,_0x2d0072),_0x4f0509 instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x11e566=_0x2e4c58[_0x4983aa+0x1];_0x11e566&&_0x11e566 instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x27de31[_0x6d65b(0x15a)](',');}}_0x20bd62===0x7&&_0x27de31[_0x6d65b(0x15a)](_0x22168c),(_0x216f3c||_0x20bd62===0x9)&&_0x27de31[_0x6d65b(0x15a)](')');}['_handleNewFunctionChild'](_0x5c92be,_0x46a8d8,_0x492ceb){const _0x1fdd62=_0x42332d;_0x5c92be instanceof _0x1cbc9f[_0x1fdd62(0x11f)]?this['_generateNewFunctionString'](_0x5c92be,_0x46a8d8,_0x492ceb):this['_lambdaFunctionParameterSet'][_0x1fdd62(0x88)](_0x5c92be)?(_0x46a8d8[_0x1fdd62(0x15a)]('_xlpm.'+_0x5c92be),this[_0x1fdd62(0xb0)]=!0x0):_0x46a8d8[_0x1fdd62(0x15a)](_0x5c92be);}[_0x42332d(0xe5)](_0x264b4c){const _0x297608=_0x42332d;let _0x3030ce=_0x264b4c[_0x297608(0xe3)]();if(!_0x3030ce)return _0x3030ce;const _0x1367c0=_0x3030ce[0x0];if((_0x1367c0===_0x1cbc9f[_0x297608(0x98)]['AT']||_0x1367c0===_0x1cbc9f['prefixToken'][_0x297608(0x111)]||_0x1367c0===_0x1cbc9f[_0x297608(0x98)][_0x297608(0xb9)])&&(_0x3030ce=_0x3030ce[_0x297608(0x113)](0x1)),!_0x3030ce)return _0x3030ce;const _0x25bfce=_0x3030ce[_0x3030ce[_0x297608(0xc4)]-0x1];return _0x1cbc9f['SUFFIX_TOKEN_SET'][_0x297608(0x88)](_0x25bfce)&&(_0x3030ce=_0x3030ce[_0x297608(0x113)](0x0,-0x1)),_0x3030ce;}['_checkAddBracketForMinus'](_0x3b4f9f){const _0x3773c2=_0x42332d,_0x5a4077=_0x3b4f9f[_0x3773c2(0x14c)]()[0x0];if(!_0x5a4077||!(_0x5a4077 instanceof _0x1cbc9f[_0x3773c2(0x11f)])||_0x3b4f9f[_0x3773c2(0x14c)]()[_0x3773c2(0xc4)]>0x1)return!0x1;const _0x5849f5=_0x5a4077[_0x3773c2(0x14c)](),_0xa22be8=_0x5849f5['length'];if(_0xa22be8===0x1)return!0x1;for(let _0x35ae88=0x0;_0x35ae88<_0xa22be8;_0x35ae88++){const _0xe1236b=_0x5849f5[_0x35ae88];if(!(_0xe1236b instanceof _0x1cbc9f[_0x3773c2(0x11f)])&&_0x1cbc9f[_0x3773c2(0xba)][_0x3773c2(0x88)](_0xe1236b))return!0x0;}return!0x1;}}class _0x21b4e4 extends _0x1cbc9f['CalculateFormulaService']{async[_0x42332d(0xd5)](_0x3d8c5c=!0x1){const _0x3ebbd1=_0x42332d;_0x3d8c5c?this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)]['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0x11b)]),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this['_runtimeService']['getRuntimeState']());const _0x2da32e=await this[_0x3ebbd1(0x16a)][_0x3ebbd1(0xa5)](),_0x1b8ce4=this[_0x3ebbd1(0x9d)];_0x3d8c5c?(this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xd9)]),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x10a)](_0x2da32e[_0x3ebbd1(0xc4)])):(this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)]['START_CALCULATION']),this['_runtimeService'][_0x3ebbd1(0xb5)](_0x2da32e[_0x3ebbd1(0xc4)])),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x93)]());let _0x484537=[];const _0x551e54=this[_0x3ebbd1(0x148)][_0x3ebbd1(0xc1)](_0x1cbc9f[_0x3ebbd1(0x149)]),_0x518b85=(_0x551e54==null?void 0x0:_0x551e54[_0x3ebbd1(0x8d)])||_0x1cbc9f[_0x3ebbd1(0x134)];let _0x49790a=0x0;const _0x55b4d9=_0x2da32e['length'];for(;_0x2da32e['length']>0x0;){const _0x4e6c5b=_0x2da32e[_0x3ebbd1(0x96)](),_0x34a46f=_0x1cbc9f['generateAstNode'](_0x4e6c5b[_0x3ebbd1(0xf1)],_0x4e6c5b['formula'],this[_0x3ebbd1(0x12e)],this[_0x3ebbd1(0xaf)],this['_currentConfigService']),_0x4514cd={'node':_0x34a46f,'refOffsetX':_0x4e6c5b[_0x3ebbd1(0x162)],'refOffsetY':_0x4e6c5b[_0x3ebbd1(0x116)]},_0x81f3cb=_0x4e6c5b[_0x3ebbd1(0x163)];if(_0x49790a%_0x518b85===0x0&&(await new Promise(_0x39bc2a=>{const _0xe531b5=_0x3ebbd1,_0x201b2a=_0x52630f[_0xe531b5(0xbe)](_0x39bc2a);_0x484537[_0xe531b5(0x15a)](_0x201b2a);}),_0x3d8c5c?(this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xc7)]),this['_runtimeService'][_0x3ebbd1(0x129)](_0x49790a+0x1)):(this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0x14a)]),this['_runtimeService'][_0x3ebbd1(0x14f)](_0x49790a+0x1)),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x93)]()),this[_0x3ebbd1(0x103)][_0x3ebbd1(0xc8)]()||_0x4514cd==null&&_0x81f3cb==null)){this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xf8)]),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x100)](),this[_0x3ebbd1(0x155)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]());return;}this[_0x3ebbd1(0x103)][_0x3ebbd1(0xc0)](_0x4e6c5b[_0x3ebbd1(0x142)],_0x4e6c5b[_0x3ebbd1(0xb1)],_0x4e6c5b[_0x3ebbd1(0xca)],_0x4e6c5b[_0x3ebbd1(0xd7)],_0x4e6c5b['subUnitId'],_0x4e6c5b['unitId']);let _0x54de0c;if(_0x81f3cb!=null&&_0x4e6c5b[_0x3ebbd1(0x97)]!=null){const {runtimeCellData:_0x36effb,dirtyRanges:_0x462cc4}=_0x81f3cb(this[_0x3ebbd1(0xa1)][_0x3ebbd1(0x163)](),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]());this[_0x3ebbd1(0x103)][_0x3ebbd1(0x122)](_0x4e6c5b[_0x3ebbd1(0x97)],_0x36effb),this['_runtimeService'][_0x3ebbd1(0x110)](_0x4e6c5b[_0x3ebbd1(0x97)],_0x462cc4);}else _0x4514cd!=null&&(_0x1b8ce4[_0x3ebbd1(0xab)](_0x4514cd['node'])?_0x54de0c=await _0x1b8ce4[_0x3ebbd1(0x10d)](_0x4514cd):_0x54de0c=_0x1b8ce4['execute'](_0x4514cd),_0x4e6c5b[_0x3ebbd1(0xcf)]!=null?this[_0x3ebbd1(0x103)]['setRuntimeOtherData'](_0x4e6c5b[_0x3ebbd1(0xcf)],_0x4e6c5b[_0x3ebbd1(0x162)],_0x4e6c5b['refOffsetY'],_0x54de0c):this[_0x3ebbd1(0x103)][_0x3ebbd1(0x87)](_0x54de0c));_0x34a46f[_0x3ebbd1(0xe8)](),_0x49790a++;}return _0x484537['forEach'](_0x3b2ff5=>_0x3b2ff5()),_0x484537=[],_0x55b4d9>0x0?this[_0x3ebbd1(0x103)][_0x3ebbd1(0x15f)]():_0x3d8c5c||this['_runtimeService'][_0x3ebbd1(0xb2)](),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]();}}class _0x6d0c01 extends _0x1cbc9f[_0x42332d(0xac)]{constructor(){const _0xf5b58d=_0x42332d;super(...arguments),_0x53d696(this,_0xf5b58d(0x104),new Map()),_0x53d696(this,_0xf5b58d(0x14b),new _0x52630f['RTree'](!0x0));}[_0x42332d(0xa9)](){const _0x2480fc=_0x42332d;this[_0x2480fc(0xd6)][_0x2480fc(0x8c)](),this[_0x2480fc(0x9b)][_0x2480fc(0x8c)](),this[_0x2480fc(0x115)][_0x2480fc(0x8c)](),this[_0x2480fc(0x14b)]['clear'](),this['_allTreeMap'][_0x2480fc(0x8c)](),this['_restDependencyTreeId'](),this[_0x2480fc(0x157)][_0x2480fc(0x8c)]();}['addOtherFormulaDependency'](_0x59fd11,_0x2e05e5,_0x4d51ec,_0x54e37e){const _0x342b6d=_0x42332d;this['_otherFormulaData']['has'](_0x59fd11)||this[_0x342b6d(0xd6)][_0x342b6d(0xc6)](_0x59fd11,new Map());const _0xd16f0d=this[_0x342b6d(0xd6)][_0x342b6d(0x127)](_0x59fd11);_0xd16f0d[_0x342b6d(0x88)](_0x2e05e5)||_0xd16f0d['set'](_0x2e05e5,new Map());const _0x5bb794=_0xd16f0d['get'](_0x2e05e5);_0x5bb794[_0x342b6d(0x88)](_0x4d51ec)||_0x5bb794['set'](_0x4d51ec,new _0x52630f[(_0x342b6d(0x144))]()),_0x5bb794[_0x342b6d(0x127)](_0x4d51ec)[_0x342b6d(0x12c)](_0x54e37e[_0x342b6d(0x162)],_0x54e37e[_0x342b6d(0x116)],_0x54e37e['treeId']);}['removeOtherFormulaDependency'](_0x18a843,_0x3b9a2e,_0x2edcad){const _0x41336c=_0x42332d,_0x4e980b=this[_0x41336c(0xd6)][_0x41336c(0x127)](_0x18a843);if(_0x4e980b&&_0x4e980b[_0x41336c(0x88)](_0x3b9a2e)){const _0x351c9e=_0x4e980b['get'](_0x3b9a2e);_0x2edcad['forEach'](_0x5ca717=>{const _0x4aa410=_0x41336c,_0x365c9b=_0x351c9e['get'](_0x5ca717);_0x365c9b!=null&&(_0x365c9b[_0x4aa410(0xdf)]((_0x17910e,_0x2af9e5,_0x4fccdb)=>{const _0x48b8b0=_0x4aa410;this[_0x48b8b0(0x14e)](_0x4fccdb),this['_removeAllTreeMap'](_0x4fccdb);}),_0x351c9e[_0x4aa410(0x9e)](_0x5ca717),this['_otherFormulaDataMainData']['delete'](_0x5ca717));}),_0x351c9e[_0x41336c(0x143)]===0x0&&_0x4e980b[_0x41336c(0x9e)](_0x3b9a2e),_0x4e980b[_0x41336c(0x143)]===0x0&&this[_0x41336c(0xd6)]['delete'](_0x18a843);}}['clearOtherFormulaDependency'](_0x51c8bf,_0x59acd3){const _0x4073f6=_0x42332d,_0x11d903=this[_0x4073f6(0xd6)][_0x4073f6(0x127)](_0x51c8bf);if(_0x59acd3&&_0x11d903&&_0x11d903[_0x4073f6(0x88)](_0x59acd3)){const _0x76e40a=_0x11d903[_0x4073f6(0x127)](_0x59acd3);this[_0x4073f6(0x13f)](_0x51c8bf,_0x59acd3);for(const _0x2a88e9 of _0x76e40a[_0x4073f6(0x13b)]()){const _0xe4bcb4=_0x76e40a[_0x4073f6(0x127)](_0x2a88e9);_0xe4bcb4!=null&&(_0xe4bcb4[_0x4073f6(0xdf)]((_0x1fa0bc,_0x403f82,_0x1e19be)=>{const _0x29520d=_0x4073f6;this[_0x29520d(0x104)][_0x29520d(0x127)](_0x1e19be)&&this[_0x29520d(0x106)](_0x1e19be);}),this[_0x4073f6(0x157)][_0x4073f6(0x9e)](_0x2a88e9));}_0x76e40a['clear']();}else{if(_0x11d903){for(const _0x97623d of _0x11d903[_0x4073f6(0x13b)]()){const _0x56c9ea=_0x11d903['get'](_0x97623d);this[_0x4073f6(0x13f)](_0x51c8bf,_0x97623d);for(const _0x328ef7 of _0x56c9ea[_0x4073f6(0x13b)]()){const _0x53e1b7=_0x56c9ea[_0x4073f6(0x127)](_0x328ef7);_0x53e1b7!=null&&(_0x53e1b7[_0x4073f6(0xdf)]((_0x528bf7,_0x2f7c91,_0x2526f8)=>{const _0x3f4d49=_0x4073f6;this['_allTreeMap'][_0x3f4d49(0x127)](_0x2526f8)&&this[_0x3f4d49(0x106)](_0x2526f8);}),this[_0x4073f6(0x157)]['delete'](_0x328ef7));}}this[_0x4073f6(0xd6)]['delete'](_0x51c8bf);}}}[_0x42332d(0xa8)](_0x154818,_0x852eab,_0x2792d0,_0x46312f){const _0x4bb30d=_0x42332d;this[_0x4bb30d(0x9b)]['has'](_0x154818)||this[_0x4bb30d(0x9b)][_0x4bb30d(0xc6)](_0x154818,new Map());const _0x2ef42b=this['_featureFormulaData'][_0x4bb30d(0x127)](_0x154818);_0x2ef42b[_0x4bb30d(0x88)](_0x852eab)||_0x2ef42b[_0x4bb30d(0xc6)](_0x852eab,new Map()),_0x2ef42b[_0x4bb30d(0x127)](_0x852eab)['set'](_0x2792d0,_0x46312f[_0x4bb30d(0xde)]);}[_0x42332d(0x140)](_0x454cb5,_0x1acc76,_0x538d20){const _0x2f6544=_0x42332d,_0x360dc2=this[_0x2f6544(0x9b)]['get'](_0x454cb5);if(_0x360dc2&&_0x360dc2[_0x2f6544(0x88)](_0x1acc76)){const _0x3ab0bd=_0x360dc2['get'](_0x1acc76);_0x538d20['forEach'](_0x229ae5=>{const _0x1265be=_0x2f6544,_0x3e4ef7=_0x3ab0bd['get'](_0x229ae5);_0x3e4ef7!=null&&(this[_0x1265be(0x14e)](_0x3e4ef7),_0x3ab0bd[_0x1265be(0x9e)](_0x229ae5),this[_0x1265be(0x106)](_0x3e4ef7));});}}['clearFeatureFormulaDependency'](_0x316eb6,_0x1fe4ab){const _0x2ddbe6=_0x42332d,_0x5c9527=this['_featureFormulaData'][_0x2ddbe6(0x127)](_0x316eb6);if(_0x1fe4ab&&_0x5c9527&&_0x5c9527[_0x2ddbe6(0x88)](_0x1fe4ab)){const _0x44f5d6=_0x5c9527[_0x2ddbe6(0x127)](_0x1fe4ab);this['_removeDependencyRTreeCacheById'](_0x316eb6,_0x1fe4ab),_0x44f5d6['forEach'](_0x2abc26=>{const _0x27dddd=_0x2ddbe6;_0x2abc26!=null&&this[_0x27dddd(0x106)](_0x2abc26);}),_0x44f5d6[_0x2ddbe6(0x8c)]();}else _0x5c9527&&(_0x5c9527[_0x2ddbe6(0x12b)]((_0x27e9d8,_0x2856d3)=>{const _0xc99a6f=_0x2ddbe6;this[_0xc99a6f(0x13f)](_0x316eb6,_0x2856d3),_0x27e9d8[_0xc99a6f(0x12b)](_0x5609a5=>{const _0x555b2b=_0xc99a6f;_0x5609a5!=null&&this[_0x555b2b(0x106)](_0x5609a5);});}),this['_featureFormulaData'][_0x2ddbe6(0x9e)](_0x316eb6));}[_0x42332d(0x11a)](_0x764698,_0x548972,_0x49ea97,_0x561bc8,_0x311886){const _0x353d5b=_0x42332d;this[_0x353d5b(0x115)][_0x353d5b(0x88)](_0x764698)||this[_0x353d5b(0x115)]['set'](_0x764698,new Map());const _0x285ab9=this[_0x353d5b(0x115)][_0x353d5b(0x127)](_0x764698);_0x285ab9[_0x353d5b(0x88)](_0x548972)||_0x285ab9[_0x353d5b(0xc6)](_0x548972,new _0x52630f[(_0x353d5b(0x144))]()),_0x285ab9[_0x353d5b(0x127)](_0x548972)[_0x353d5b(0x12c)](_0x49ea97,_0x561bc8,_0x311886[_0x353d5b(0xde)]);}[_0x42332d(0x10e)](_0x391999,_0x412bbd,_0x1a95ae,_0x1c2532){const _0x3601b3=_0x42332d,_0x89751b=this[_0x3601b3(0x115)][_0x3601b3(0x127)](_0x391999);if(_0x89751b&&_0x89751b[_0x3601b3(0x88)](_0x412bbd)){const _0x3d5203=_0x89751b['get'](_0x412bbd),_0x9fbb6=_0x3d5203[_0x3601b3(0xec)](_0x1a95ae,_0x1c2532);if(_0x9fbb6==null)return;this['_removeDependencyRTreeCache'](_0x9fbb6),_0x3d5203[_0x3601b3(0xf4)](_0x1a95ae,_0x1c2532),this[_0x3601b3(0x106)](_0x9fbb6);}}[_0x42332d(0x15b)](_0x44b679,_0x1f69ea){const _0xe63046=_0x42332d,_0x3dd642=this['_formulaData'][_0xe63046(0x127)](_0x44b679);if(_0x1f69ea&&_0x3dd642&&_0x3dd642[_0xe63046(0x88)](_0x1f69ea)){const _0x1dc411=_0x3dd642[_0xe63046(0x127)](_0x1f69ea);this[_0xe63046(0x13f)](_0x44b679,_0x1f69ea),_0x1dc411[_0xe63046(0xdf)]((_0x13f868,_0x38c7ed,_0xace3e5)=>{if(_0xace3e5==null)return!0x0;this['_removeAllTreeMap'](_0xace3e5);}),_0x1dc411[_0xe63046(0xa9)]();}else _0x3dd642&&(_0x3dd642['forEach']((_0x5a80fe,_0x50a64d)=>{const _0x468eb5=_0xe63046;this[_0x468eb5(0x13f)](_0x44b679,_0x50a64d),_0x5a80fe[_0x468eb5(0xdf)]((_0x177354,_0x20697e,_0x33c25f)=>{if(_0x33c25f==null)return!0x0;this['_removeAllTreeMap'](_0x33c25f);});}),this['_formulaData'][_0xe63046(0x9e)](_0x44b679));}[_0x42332d(0x14e)](_0x184e16){const _0x150df1=_0x42332d;if(_0x184e16==null)return;const _0xe8aad9=this[_0x150df1(0x104)][_0x150df1(0x127)](_0x184e16);if(_0xe8aad9){const _0x31e0f8=[];for(const [_0x4232a7,_0x58c42f]of _0xe8aad9)for(const [_0x528427,_0x22bbcc]of _0x58c42f)_0x31e0f8[_0x150df1(0x15a)]({'unitId':_0x4232a7,'sheetId':_0x528427,'range':_0x22bbcc,'id':_0x184e16});this[_0x150df1(0x14b)][_0x150df1(0x131)](_0x31e0f8);}}[_0x42332d(0x137)](_0x181a1d,_0x537f73){const _0x254652=_0x42332d,_0x4024fb=this[_0x254652(0x112)][_0x254652(0x127)](_0x181a1d);if(_0x4024fb){const _0x2572e2=_0x4024fb[_0x254652(0x127)](_0x537f73);if(_0x2572e2){for(const _0x7ecbc0 of _0x2572e2)this[_0x254652(0x14e)](_0x7ecbc0),this[_0x254652(0x106)](_0x7ecbc0);_0x2572e2[_0x254652(0x8c)]();}}}[_0x42332d(0xd1)](){const _0x42d90b=_0x42332d;this[_0x42d90b(0x14b)][_0x42d90b(0xd1)]();}[_0x42332d(0x147)](){const _0x5b8da9=_0x42332d;this['_dependencyRTreeCache'][_0x5b8da9(0x147)]();}[_0x42332d(0x106)](_0x1fb719){const _0x240f0e=_0x42332d;_0x1fb719!=null&&this[_0x240f0e(0x104)][_0x240f0e(0x9e)](_0x1fb719);}[_0x42332d(0x92)](_0x5f0a71){const _0x125698=_0x42332d;var _0x30f893,_0x24bbdc;const _0x58826c=_0x5f0a71[_0x125698(0xfa)];let _0x1d1b25=this[_0x125698(0x104)]['get'](_0x5f0a71['treeId']);for(let _0x25c84e=0x0;_0x25c84e<_0x58826c[_0x125698(0xc4)];_0x25c84e++){const _0xd3bf51=_0x58826c[_0x25c84e];let {unitId:_0x5d4ddc,sheetId:_0x5abfe9,range:_0x3eb98f}=_0xd3bf51;_0x1d1b25||(_0x1d1b25=new Map(),this['_allTreeMap'][_0x125698(0xc6)](_0x5f0a71[_0x125698(0xde)],_0x1d1b25)),_0x1d1b25[_0x125698(0x88)](_0x5d4ddc)||_0x1d1b25[_0x125698(0xc6)](_0x5d4ddc,new Map());const _0x4418e8=(_0x30f893=_0x1d1b25==null?void 0x0:_0x1d1b25['get'](_0x5d4ddc))==null?void 0x0:_0x30f893[_0x125698(0x127)](_0x5abfe9);_0x4418e8&&(_0x3eb98f={'startRow':Math[_0x125698(0x102)](_0x3eb98f[_0x125698(0xb3)],_0x4418e8['startRow']),'startColumn':Math['min'](_0x3eb98f[_0x125698(0xa0)],_0x4418e8[_0x125698(0xa0)]),'endRow':Math[_0x125698(0x15d)](_0x3eb98f[_0x125698(0xce)],_0x4418e8[_0x125698(0xce)]),'endColumn':Math[_0x125698(0x15d)](_0x3eb98f[_0x125698(0x95)],_0x4418e8[_0x125698(0x95)])}),(_0x24bbdc=_0x1d1b25[_0x125698(0x127)](_0x5d4ddc))==null||_0x24bbdc['set'](_0x5abfe9,_0x3eb98f);}}}var _0x2f7379=Object['getOwnPropertyDescriptor'],_0x77172d=(_0x1bf6b4,_0x3c16b5,_0x2fa433,_0x21598a)=>{const _0x1cb3dc=_0x42332d;for(var _0x79a7b1=_0x21598a>0x1?void 0x0:_0x21598a?_0x2f7379(_0x3c16b5,_0x2fa433):_0x3c16b5,_0x20bf1e=_0x1bf6b4[_0x1cb3dc(0xc4)]-0x1,_0x754f61;_0x20bf1e>=0x0;_0x20bf1e--)(_0x754f61=_0x1bf6b4[_0x20bf1e])&&(_0x79a7b1=_0x754f61(_0x79a7b1)||_0x79a7b1);return _0x79a7b1;};const _0x1bea91=Number[_0x42332d(0xb6)](0x69218da5);_0x2bf6ff['UniverProFormulaEnginePlugin']=class extends _0x1cbc9f['UniverFormulaEnginePlugin']{[_0x42332d(0x99)](){const _0x4f0b94=_0x42332d;var _0x29b702,_0xfa3c24;this['_initLicenseValid']()?(this[_0x4f0b94(0x161)][_0x4f0b94(0xea)]([_0x1cbc9f['LexerTreeBuilder'],{'useClass':_0x2de218}]),(_0x29b702=this[_0x4f0b94(0x13c)])!=null&&_0x29b702['notExecuteFormula']||[[_0x1cbc9f[_0x4f0b94(0x126)],{'useClass':_0x21b4e4}],[_0x1cbc9f[_0x4f0b94(0xf2)],{'useClass':_0x6d0c01}],[_0x1cbc9f['IFormulaDependencyGenerator'],{'useClass':_0x326068}]]['forEach'](_0x3d47d0=>this[_0x4f0b94(0x161)][_0x4f0b94(0xea)](_0x3d47d0))):(this[_0x4f0b94(0x161)][_0x4f0b94(0xea)]([_0x1cbc9f[_0x4f0b94(0x9a)],{'useClass':_0x1cbc9f[_0x4f0b94(0x9a)]}]),(_0xfa3c24=this[_0x4f0b94(0x13c)])!=null&&_0xfa3c24[_0x4f0b94(0xf6)]||[[_0x1cbc9f[_0x4f0b94(0x126)],{'useClass':_0x1cbc9f['CalculateFormulaService']}],[_0x1cbc9f[_0x4f0b94(0xf2)],{'useClass':_0x1cbc9f[_0x4f0b94(0x11d)]}],[_0x1cbc9f[_0x4f0b94(0x15e)],{'useClass':_0x1cbc9f[_0x4f0b94(0x136)]}]][_0x4f0b94(0x12b)](_0x109f54=>this[_0x4f0b94(0x161)][_0x4f0b94(0xea)](_0x109f54)));}['_initLicenseValid'](){const _0x5b6559=_0x42332d;var _0x51688e;const _0x58fda5=(_0x51688e=this[_0x5b6559(0x148)][_0x5b6559(0xc1)](_0x2b199a[_0x5b6559(0xd4)]))!=null?_0x51688e:{},{ls:_0x267a24,pbk:_0x5cfa21}=_0x58fda5;if(!_0x267a24||!_0x5cfa21)return!0x1;const _0x522dda=_0x2b199a[_0x5b6559(0xa6)](_0xe43e9f,_0x2b247c),_0xcd5f5e=new Function(_0x5b6559(0x15c)+_0x522dda)()(_0x267a24,_0x5cfa21),_0x5af28d=_0xcd5f5e[_0x5b6559(0x169)];return _0xcd5f5e[_0x5b6559(0x133)]&&_0x2b199a[_0x5b6559(0x151)](_0x5af28d,'sf',_0x1bea91)?_0x2b199a[_0x5b6559(0xc9)](_0x5af28d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x2bf6ff[_0x42332d(0xa3)]=_0x77172d([_0x52630f['DependentOn'](_0x2b199a[_0x42332d(0xaa)])],_0x2bf6ff[_0x42332d(0xa3)]),Object[_0x42332d(0x13b)](_0x1cbc9f)[_0x42332d(0x12b)](_0x307da4=>{const _0x48db9d=_0x42332d;_0x307da4!=='default'&&!Object[_0x48db9d(0x108)][_0x48db9d(0x117)][_0x48db9d(0xa2)](_0x2bf6ff,_0x307da4)&&Object[_0x48db9d(0xfd)](_0x2bf6ff,_0x307da4,{'enumerable':!0x0,'get':()=>_0x1cbc9f[_0x307da4]});}),Object['defineProperty'](_0x2bf6ff,Symbol['toStringTag'],{'value':_0x42332d(0x166)});}));function _0xdd86(_0x31d02e,_0x3d6fdf){const _0x58fbd8=_0x58fb();return _0xdd86=function(_0xdd86ec,_0xca0ba4){_0xdd86ec=_0xdd86ec-0x86;let _0x5ae49c=_0x58fbd8[_0xdd86ec];return _0x5ae49c;},_0xdd86(_0x31d02e,_0x3d6fdf);}function _0x58fb(){const _0x7ff329=['_handleNewFunctionChild','startColumn','_currentConfigService','call','UniverProFormulaEnginePlugin','@univerjs-pro/license','generate','unshiftString','generateRandomDependencyTreeId','addFeatureFormulaDependency','reset','UniverLicensePlugin','checkAsyncNode','DependencyManagerBaseService','_createVirtualFDtree','setFormulaExecuteStage','_astTreeBuilder','_hasNewExcelFunction','column','markedAsNoFunctionsExecuted','startRow','setSkip','setTotalFormulasToCalculate','parseInt','treeBuilder','setAdded','PLUS','OPERATOR_TOKEN_SET','678429pfmhVk','enableCycleDependency','toRTreeItem','requestImmediateMacroTask','378205whhcEh','setCurrent','getConfig','_getTreeNode','getFeatureFormulaDependency','length','addFormulaDependencyByDefinedName','set','CURRENTLY_CALCULATING_ARRAY_FORMULA','isStopExecution','getSheetFeatureLimit','rowCount','OTHER_FORMULA','clearFeatureFormulaDependency','isAdded','endRow','formulaId','ParentDependencyTree\x20object\x20is\x20null','openKdTree','FEATURE_FORMULA','DEFAULT_TOKEN_TYPE_ROOT','LS_CONFIG_KEY','_apply','_otherFormulaData','columnCount','dispose','START_CALCULATION_ARRAY_FORMULA','FormulaDependencyTree','join','12EgOebh','getOtherFormulaData','treeId','forValue','737340jPGqng','_generateNewFunctionString','_checkIsCycleDependency','trim','isVirtual','_clearFunctionString','_dependencyManagerService','addOtherFormulaDependencyMainData','resetCalculationState','_getFirstCellOfRange','add','UniverEngineFormula','getValue','UniverCore','DEFAULT_TOKEN_LET_FUNCTION_NAME','addOtherFormulaDependency','getFormulaDependency','unitId','IDependencyManagerService','string','realDeleteValue','error','notExecuteFormula','@univerjs/engine-formula','IDLE','_dependencyTreeCache','rangeList','getOtherFormulaDependency','isSkip','defineProperty','bulkSearch','_calculateRunList','markedAsStopFunctionsExecuted','clearOtherFormulaDependency','min','_runtimeService','_allTreeMap','refTree','_removeAllTreeMap','_isCyclicUtilMap','prototype','_convertDirtyRangesToUnitRange','setTotalArrayFormulasToCalculate','FormulaExecuteStageType','amd','executeAsync','removeFormulaDependency','UniverProLicense','setRuntimeFeatureRange','MINUS','_definedNameMap','slice','getToken','_formulaData','refOffsetY','hasOwnProperty','Lambda\x20parameter\x20name\x20\x22','14hnRuIl','addFormulaDependency','START_DEPENDENCY','searchDependency','DependencyManagerService','_xlpm.','LexerNode','featureDirtyRanges','_traverse','setRuntimeFeatureCellData','\x22\x20is\x20duplicated.','6AwwkkL','55ANqrEF','ICalculateFormulaService','get','getDirtyRanges','setCompletedArrayFormulasCount','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','forEach','setValue','552504oVFYOC','_lexer','symbol','_checkAddBracketForMinus','bulkRemove','FormulaDependencyTreeVirtual','valid','DEFAULT_INTERVAL_COUNT','exports','FormulaDependencyGenerator','removeFormulaDependencyByDefinedName','isDirty','toUpperCase','_dependencyRTreeCacheForAddressFunction','keys','_config','NEW_EXCEL_FUNCTIONS','object','_removeDependencyRTreeCacheById','removeFeatureFormulaDependency','DEFAULT_TOKEN_TYPE_PARAMETER','row','size','ObjectMatrix','_registerFormulas','function','closeKdTree','_configService','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','CURRENTLY_CALCULATING','_dependencyRTreeCache','getChildren','dirtyRanges','_removeDependencyRTreeCache','setCompletedFormulasCount','32796fOjOLA','isFeatureAuthorizedWithinTime','getClearDependencyTreeCache','157734DKtSjT','type','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','_otherFormulaDataMainData','_getFeatureFormulaTree','subUnitId','push','clearFormulaDependency','return\x20','max','IFormulaDependencyGenerator','markedAsSuccessfullyExecuted','next','_injector','refOffsetX','getDirtyData','_executionInProgressListener$','dependencySheetName','Module','formula','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','message','_formulaDependencyGenerator','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setRuntimeData','has','Let\x20variable\x20name\x20\x22','isCache','FormulaDependencyTreeType','clear','intervalCount','isArray','_updateRangeFlatten','158930nUrlpX','_getTreeById','_addAllTreeMap','getRuntimeState','_lambdaFunctionParameterSet','endColumn','pop','featureId','prefixToken','_initializeWithOverride','LexerTreeBuilder','_featureFormulaData','getAllRuntimeData','_interpreter','delete'];_0x58fb=function(){return _0x7ff329;};return _0x58fb();}
|
|
1
|
+
function _0x37b4(){const _0x95ebbf=['forEach','_featureFormulaData','CURRENTLY_CALCULATING','_initLicenseValid','22mduofH','_apply','VALUE','FormulaExecuteStageType','_checkAddBracketForMinus','_interpreter','Lambda\x20parameter\x20name\x20\x22','_clearFunctionString','bulkRemove','START_CALCULATION_ARRAY_FORMULA','_isCyclicUtilMap','next','realDeleteValue','max','LexerTreeBuilder','hasOwnProperty','setFormulaExecuteStage','executeAsync','CalculateFormulaService','_otherFormulaDataMainData','subUnitId','getOtherFormulaDependency','SUFFIX_TOKEN_SET','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','featureId','MINUS','_addAllTreeMap','setValue','addFormulaDependency','clearFeatureFormulaDependency','ICalculateFormulaService','removeFormulaDependencyByDefinedName','11236440gQgWTf','getRuntimeState','node','getFormulaDependency','addOtherFormulaDependencyMainData','getSheetFeatureLimit','setCurrent','FormulaDependencyTreeVirtual','RTree','toRTreeItem','dispose','execute','setTotalFormulasToCalculate','UniverCore','pop','_executionInProgressListener$','@univerjs/engine-formula','bulkSearch','endColumn','getConfig','rowCount','clearArrayObjectCache','1554825RUxRth','_formulaData','addFeatureFormulaDependency','_checkIsCycleDependency','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','getToken','exports','notExecuteFormula','_definedNameMap','ParentDependencyTree\x20object\x20is\x20null','startRow','refOffsetY','endRow','IFormulaDependencyGenerator','_updateRangeFlatten','setCompletedArrayFormulasCount','_createFDtree','push','_registerFormulas','DependencyManagerBaseService','_getUpdateTreeListAndMakeDependency','getDirtyNameMap','_runtimeService','column','hasOtherFormulaDataMainData','DEFAULT_TOKEN_TYPE_PARAMETER','clear','reset','formula','_getTreeNode','setRuntimeOtherData','getFormulaData','R3UMFVXU\x20ByMotgFVXU(lVMyUGy,\x20g39lVMIyt)\x20{\x20\x20\x20\x20Fot\x20{\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20lVMyUGyuURX6qoFeooqt\x20=\x20lVMyUGy.GglVF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20XoVOVUwyGGqOy\x20=\x20KznP.gqoGy(qFX9(lVMyUGyuURX6qoFeooqt[x]));\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!XoVOVUwyGGqOy.3B)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XoVOVUwyGGqOy.3B\x20=\x20P329yo(lVMyUGyuURX6qoFeooqt[L]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VG7XoTyo\x20=\x20FtgyXR\x207XoTyoAlX9qlzMXgy\x20!==\x20\x273UByRVUyB\x27\x20&&\x20GylR\x20VUGFqUMyXR\x207XoTyoAlX9qlzMXgy;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20VGDoXvGyo\x20=\x20FtgyXR\x20vVUBXv\x20!==\x20\x273UByRVUyB\x27\x20&&\x20FtgyXR\x20vVUBXv.lXMqFVXU\x20!==\x20\x273UByRVUyB\x27;\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20MXUFy1F\x20=\x20VG7XoTyo\x20?\x20GylR\x20:\x20(VGDoXvGyo\x20?\x20vVUBXv\x20:\x20OlX9qlW0VG);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[x]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x202yGGqOy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(2yGGqOy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy7XoB\x20=\x20MXUFy1F.__DqGyaL__.gqoGy(lVMyUGyuURX6qoFeooqt[E]);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUqF3oy\x20=\x20MXUFy1F.__dy1__.GFoVUOVRt(GVOUqF3oy7XoB);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20GVOUhqlVB\x20=\x20MXUFy1F.__CyoVRt__(GVOUqF3oy,\x202yGGqOy,\x20g39lVMIyt);\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20BX2qVU\x20=\x20XoVOVUwyGGqOy.B2;\x20\x20\x20\x20\x20\x20\x20\x20R3UMFVXU\x20VG4X2qVUwqFM0VUO(X6qFFyoU,\x20XdXGF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU\x20=\x20X6qFFyoU.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF\x20=\x20XdXGF.oyglqMy(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoU6qoFG\x20=\x20gqFFyoU.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGF6qoFG\x20=\x200XGF.GglVF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(!gqFFyoU.VUMl3ByG(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoU\x20===\x200XGF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(gqFFyoU6qoFG.lyUOF0\x20<\x20x\x20||\x20gqFFyoU6qoFG[s]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20gqFFyoUz3RRV1\x20=\x20gqFFyoU6qoFG.GlVMy(S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x200XGFz3RRV1\x20=\x200XGF6qoFG.GlVMy(-gqFFyoU6qoFG.lyUOF0\x20+\x20S).cXVU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20gqFFyoUz3RRV1\x20===\x200XGFz3RRV1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lyF\x20BX2qVUhqlVB\x20=\x20RqlGy;\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(VGDoXvGyo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20(BX2qVU\x20&&\x20BX2qVU.lyUOF0)\x20?\x20BX2qVU.GX2y((B2uFy2)\x20=>\x20VG4X2qVUwqFM0VUO(B2uFy2,\x20lXMqFVXU.0XGFUq2y))\x20:\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VR\x20(lXMqFVXU.0XGFUq2y\x20===\x20\x27lXMql0XGF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20ylGy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BX2qVUhqlVB\x20=\x20Fo3y;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20MXUGF\x20CqlVB\x20=\x20GVOUhqlVB\x20&&\x20BX2qVUhqlVB;\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20XoVOVUwyGGqOy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20MqFM0\x20(yooXo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20oyF3oU\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CqlVB:\x20RqlGy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202yGGqOy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','treeBuilder','_config','symbol','intervalCount','treeId','_executionCompleteListener$','getOwnPropertyDescriptor','string','CURRENTLY_CALCULATING_ARRAY_FORMULA','slice','amd','getFeatureFormulaDependency','join','setTotalArrayFormulasToCalculate','_removeDependencyRTreeCache','columnCount','getDirtyRanges','addOtherFormulaDependency','prefixToken','set','3cAnRll','UniverEngineFormula','11383695LXsgsE','object','rangeList','default','getAllRuntimeData','markedAsStopFunctionsExecuted','error','_dependencyRTreeCacheForAddressFunction','message','_lexer','UniverProFormulaEnginePlugin','_dependencyManagerService','setSkip','has','row','startColumn','_xlpm.','_getTreeById','FormulaDependencyGenerator','getDirtyData','UniverProEngineFormula','Let\x20variable\x20name\x20\x22','openKdTree','_removeAllTreeMap','IDLE','markedAsNoFunctionsExecuted','_formulaDependencyGenerator','Module','min','enableCycleDependency','getUnitData','_hasNewExcelFunction','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_allTreeMap','closeKdTree','_getFirstCellOfRange','getNewFormulaWithPrefix','generateRandomDependencyTreeId','FormulaDependencyTreeType','4516016WAfANw','FEATURE_FORMULA','_lambdaFunctionParameterSet','_calculateRunList','24xDEhoI','@univerjs/core','getClearDependencyTreeCache','size','resolve','keys','\x22\x20is\x20duplicated.','_convertDirtyRangesToUnitRange','isDirty','prototype','markedAsSuccessfullyExecuted','valid','@univerjs-pro/license','addFormulaDependencyByDefinedName','START_DEPENDENCY_ARRAY_FORMULA','length','ObjectMatrix','DEFAULT_TOKEN_TYPE_ROOT','PLUS','OPERATOR_TOKEN_SET','_injector','_generateNewFunctionString','get','isArray','clearFormulaDependency','searchDependency','removeFeatureFormulaDependency','dependencySheetName','delete','_registerOtherFormulas','_traverse','unitId','_removeDependencyRTreeCacheById','_initializeWithOverride','matchToken','isAdded','_currentConfigService','generateAstNode','_handleNewFunctionChild','trim','forValue','isVirtual','_dependencyRTreeCache','598883ieDNWZ','UniverProLicense','defineProperty','isFeatureAuthorizedWithinTime','refOffsetX','228308ElhsBe','removeFormulaDependency','_otherFormulaData','918872JdtAZQ','_getFeatureFormulaTree','OTHER_FORMULA','isCache','_createVirtualFDtree','getValue','isExcludeRange','toStringTag','IDependencyManagerService','FormulaDependencyTree','isSkip','setCompletedFormulasCount','14YfruAV','type','_xlfn.','function','getChildren','checkAsyncNode','_dependencyTreeCache','UniverFormulaEnginePlugin','START_DEPENDENCY','add','formulaId','LexerNode'];_0x37b4=function(){return _0x95ebbf;};return _0x37b4();}function _0xba4e(_0x4d01cf,_0x33138e){const _0x37b439=_0x37b4();return _0xba4e=function(_0xba4e73,_0x59d864){_0xba4e73=_0xba4e73-0x1c6;let _0x26efce=_0x37b439[_0xba4e73];return _0x26efce;},_0xba4e(_0x4d01cf,_0x33138e);}(function(_0xa6415c,_0x3bdc8c){const _0x5209d0=_0xba4e,_0x3bb29e=_0xa6415c();while(!![]){try{const _0x3991e0=-parseInt(_0x5209d0(0x28b))/0x1+parseInt(_0x5209d0(0x293))/0x2+parseInt(_0x5209d0(0x233))/0x3*(-parseInt(_0x5209d0(0x290))/0x4)+parseInt(_0x5209d0(0x1fe))/0x5*(-parseInt(_0x5209d0(0x260))/0x6)+-parseInt(_0x5209d0(0x29f))/0x7*(-parseInt(_0x5209d0(0x25c))/0x8)+-parseInt(_0x5209d0(0x235))/0x9+parseInt(_0x5209d0(0x1e8))/0xa*(parseInt(_0x5209d0(0x1c8))/0xb);if(_0x3991e0===_0x3bdc8c)break;else _0x3bb29e['push'](_0x3bb29e['shift']());}catch(_0x54c3a7){_0x3bb29e['push'](_0x3bb29e['shift']());}}}(_0x37b4,0xa3d4d),function(_0x402356,_0x4aacba){const _0x175563=_0xba4e;typeof exports==_0x175563(0x236)&&typeof module<'u'?_0x4aacba(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x175563(0x2a2)&&define[_0x175563(0x229)]?define([_0x175563(0x204),_0x175563(0x26c),_0x175563(0x261),_0x175563(0x1f8)],_0x4aacba):(_0x402356=typeof globalThis<'u'?globalThis:_0x402356||self,_0x4aacba(_0x402356[_0x175563(0x249)]={},_0x402356[_0x175563(0x28c)],_0x402356[_0x175563(0x1f5)],_0x402356[_0x175563(0x234)]));}(this,function(_0x878cf1,_0x38665d,_0x405fae,_0x8b1633){'use strict';const _0x21ffd1=_0xba4e;var _0xe5291d=Object[_0x21ffd1(0x28d)],_0x60647f=(_0x4e45fa,_0xc00b9,_0x190361)=>_0xc00b9 in _0x4e45fa?_0xe5291d(_0x4e45fa,_0xc00b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x190361}):_0x4e45fa[_0xc00b9]=_0x190361,_0x49ab97=(_0x414277,_0x54c016,_0x4b4a3d)=>_0x60647f(_0x414277,typeof _0x54c016!=_0x21ffd1(0x221)?_0x54c016+'':_0x54c016,_0x4b4a3d);const _0x601362={0x0:'h',0x1:'x',0x2:'m',0x3:'u',0x4:'D',0x5:'Q',0x6:'P',0x7:'W',0x8:'E',0x9:'b','s':'0','S':'1','x':'2','E':'3','L':'4','j':'5','a':'6','f':'7','J':'8','Q':'9','q':'a','M':'c','B':'d','y':'e','R':'f','O':'g','V':'i','c':'j','T':'k','l':'l','U':'n','X':'o','g':'p','b':'q','o':'r','G':'s','F':'t','C':'v','v':'w','t':'y','H':'z','e':'A','D':'B','Y':'C','p':'F','A':'G','d':'H','u':'I','K':'J','I':'K','N':'L','w':'M','P':'N','n':'O','r':'R','z':'S','W':'T','k':'U','h':'V','Z':'X','m':'Y','i':'Z'},_0x3b27e5=_0x21ffd1(0x21e);class _0x66c524 extends _0x8b1633[_0x21ffd1(0x247)]{constructor(){const _0x452ef6=_0x21ffd1;super(...arguments),_0x49ab97(this,_0x452ef6(0x2a5),new Map());}[_0x21ffd1(0x1f2)](){const _0x36923a=_0x21ffd1;super[_0x36923a(0x1f2)](),this[_0x36923a(0x2a5)]['clear']();}async['generate'](){const _0x4a4e2a=_0x21ffd1;this[_0x4a4e2a(0x20c)]();const _0x3ca2f4=this[_0x4a4e2a(0x284)][_0x4a4e2a(0x21d)](),_0x328477=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x453a13=this['_currentConfigService'][_0x4a4e2a(0x262)]();_0x453a13!=null&&Object[_0x4a4e2a(0x265)](_0x453a13)[_0x4a4e2a(0x2ab)](_0x10cb52=>{const _0x1719fd=_0x4a4e2a;_0x10cb52!=null&&Object[_0x1719fd(0x265)](_0x453a13[_0x10cb52])['forEach'](_0x2392bd=>{const _0x19c497=_0x1719fd;_0x2392bd!=null&&(this[_0x19c497(0x240)]['clearOtherFormulaDependency'](_0x10cb52,_0x2392bd),this['_dependencyManagerService'][_0x19c497(0x1e5)](_0x10cb52,_0x2392bd),this[_0x19c497(0x240)]['clearFormulaDependency'](_0x10cb52,_0x2392bd));});});const _0x1bd75f=this[_0x4a4e2a(0x284)][_0x4a4e2a(0x253)]();await this['_generateTreeList'](_0x3ca2f4,_0x328477,_0x1bd75f),this[_0x4a4e2a(0x240)]['openKdTree']();const _0x4b8fb8=this[_0x4a4e2a(0x212)](),_0x52ee34=this['_calculateRunList'](_0x4b8fb8);return this[_0x4a4e2a(0x201)](_0x52ee34)&&this[_0x4a4e2a(0x214)][_0x4a4e2a(0x252)](),this[_0x4a4e2a(0x2a5)][_0x4a4e2a(0x218)](),this[_0x4a4e2a(0x23c)]['clear'](),this[_0x4a4e2a(0x240)][_0x4a4e2a(0x257)](),this[_0x4a4e2a(0x214)][_0x4a4e2a(0x1fd)](),Promise[_0x4a4e2a(0x264)](_0x52ee34);}[_0x21ffd1(0x1d2)](_0x221ddd,_0x41b8d6){const _0x5576e1=_0x21ffd1,_0x1208a7=[_0x221ddd];for(;_0x1208a7[_0x5576e1(0x26f)]>0x0;){const _0x192f0c=_0x1208a7[_0x1208a7[_0x5576e1(0x26f)]-0x1];if((_0x41b8d6['get'](_0x192f0c)||0x0)===0x0){_0x41b8d6[_0x5576e1(0x232)](_0x192f0c,0x1);const _0x439488=this[_0x5576e1(0x2a5)][_0x5576e1(0x276)](_0x192f0c);if(_0x439488==null){_0x41b8d6['set'](_0x192f0c,0x2),_0x1208a7[_0x5576e1(0x1f6)]();continue;}const _0x937060=this['_dependencyManagerService'][_0x5576e1(0x279)](_0x439488[_0x5576e1(0x1f1)]());for(const _0x471a25 of _0x937060){const _0x51de1b=_0x41b8d6[_0x5576e1(0x276)](_0x471a25)||0x0;if(_0x51de1b===0x1)return!0x0;_0x51de1b===0x0&&_0x1208a7[_0x5576e1(0x20f)](_0x471a25);}}else _0x41b8d6[_0x5576e1(0x232)](_0x192f0c,0x2),_0x1208a7['pop']();}return!0x1;}[_0x21ffd1(0x201)](_0x264908){const _0x273f46=_0x21ffd1,_0x3501da=new Map();for(const _0x1e6678 of _0x264908)if(!_0x3501da[_0x273f46(0x242)](_0x1e6678[_0x273f46(0x223)])&&this[_0x273f46(0x1d2)](_0x1e6678[_0x273f46(0x223)],_0x3501da))return!0x0;return _0x3501da[_0x273f46(0x218)](),!0x1;}[_0x21ffd1(0x294)](_0x281a28,_0x156571,_0x13eaa7){const _0x24b7f7=_0x21ffd1,{unitId:_0x25a6c4,subUnitId:_0xd6e903,dependencyRanges:_0x39367f,getDirtyData:_0x3f3a67}=_0x13eaa7,_0x1c12db=_0x156571||_0x8b1633['generateRandomDependencyTreeId'](this[_0x24b7f7(0x240)]),_0x385b36=new _0x8b1633[(_0x24b7f7(0x29c))](_0x1c12db);_0x385b36[_0x24b7f7(0x27f)]=_0x25a6c4,_0x385b36[_0x24b7f7(0x1dc)]=_0xd6e903,_0x385b36[_0x24b7f7(0x237)]=_0x39367f,_0x385b36[_0x24b7f7(0x248)]=_0x3f3a67;const _0x25f1e1=_0x3f3a67(this[_0x24b7f7(0x284)][_0x24b7f7(0x248)](),this[_0x24b7f7(0x214)][_0x24b7f7(0x239)]()),_0x25975b=this[_0x24b7f7(0x267)](_0x25f1e1['dirtyRanges']);return _0x385b36['featureDirtyRanges']=_0x25975b,_0x385b36[_0x24b7f7(0x1e0)]=_0x281a28,_0x385b36[_0x24b7f7(0x2a0)]=_0x8b1633[_0x24b7f7(0x25b)][_0x24b7f7(0x25d)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x25a6c4,_0xd6e903,_0x281a28,_0x385b36),this['_dependencyTreeCache'][_0x24b7f7(0x232)](_0x385b36[_0x24b7f7(0x223)],_0x385b36),this[_0x24b7f7(0x240)][_0x24b7f7(0x22a)](_0x13eaa7[_0x24b7f7(0x27f)],_0x13eaa7[_0x24b7f7(0x1dc)],_0x281a28)&&(_0x385b36['isCache']=!0x0),_0x385b36;}[_0x21ffd1(0x27d)](_0x1e1de3,_0x307d67,_0x5096f4){const _0x4fde33=_0x21ffd1;var _0x4fda63;for(const _0x52cd3e of _0x307d67){const _0xad2bf1=_0x1e1de3[_0x52cd3e];if(_0xad2bf1==null)continue;const _0xf3897=Object[_0x4fde33(0x265)](_0xad2bf1);for(const _0x284f71 of _0xf3897){const _0x254f73=_0xad2bf1[_0x284f71];if(_0x254f73==null)continue;const _0xaf1f02=Object[_0x4fde33(0x265)](_0x254f73);for(const _0x46a641 of _0xaf1f02){const _0xc9ca00=this[_0x4fde33(0x240)][_0x4fde33(0x216)](_0x46a641),_0x5e863b=_0x254f73[_0x46a641],{f:_0x3e3a59,ranges:_0x18cbf5}=_0x5e863b;let _0x26d8f4=!0x1;_0xc9ca00&&(_0x26d8f4=!0x0);const {firstRow:_0x1cdd88,firstColumn:_0x18d71d}=this[_0x4fde33(0x258)](_0x18cbf5),_0x3659f9=this[_0x4fde33(0x240)][_0x4fde33(0x1dd)](_0x52cd3e,_0x284f71,_0x46a641),_0x45fa4c=(_0x4fda63=_0x3659f9==null?void 0x0:_0x3659f9[_0x4fde33(0x298)](0x0,0x0))!=null?_0x4fda63:_0x8b1633[_0x4fde33(0x25a)](this[_0x4fde33(0x240)]),_0x4401e6=new _0x8b1633[(_0x4fde33(0x29c))](_0x45fa4c);for(let _0x3a71ee=0x0;_0x3a71ee<_0x18cbf5['length'];_0x3a71ee++){const _0x7971c2=_0x18cbf5[_0x3a71ee],{startRow:_0x40fc58,startColumn:_0x52222c,endRow:_0x3498a4,endColumn:_0x2150b6}=_0x7971c2;for(let _0x35e754=_0x40fc58;_0x35e754<=_0x3498a4;_0x35e754++)for(let _0x245f4e=_0x52222c;_0x245f4e<=_0x2150b6;_0x245f4e++){const _0xf9ec85=_0x245f4e-_0x18d71d,_0x43fca9=_0x35e754-_0x1cdd88;if(_0xf9ec85===0x0&&_0x43fca9===0x0){_0x4401e6[_0x4fde33(0x21a)]=_0x3e3a59,_0x4401e6[_0x4fde33(0x27f)]=_0x52cd3e,_0x4401e6[_0x4fde33(0x1dc)]=_0x284f71,_0x4401e6[_0x4fde33(0x2a9)]=_0x46a641,_0x4401e6['type']=_0x8b1633[_0x4fde33(0x25b)][_0x4fde33(0x295)],_0x4401e6[_0x4fde33(0x296)]=_0x26d8f4,_0x5096f4[_0x4fde33(0x20f)](_0x4401e6),this[_0x4fde33(0x2a5)][_0x4fde33(0x232)](_0x4401e6[_0x4fde33(0x223)],_0x4401e6),this[_0x4fde33(0x240)][_0x4fde33(0x230)](_0x52cd3e,_0x284f71,_0x46a641,_0x4401e6),this[_0x4fde33(0x240)][_0x4fde33(0x26d)](_0x4401e6);continue;}const _0x50a04c=new _0x8b1633[(_0x4fde33(0x1ef))]();_0x50a04c[_0x4fde33(0x223)]=(_0x3659f9==null?void 0x0:_0x3659f9[_0x4fde33(0x298)](_0xf9ec85,_0x43fca9))||_0x8b1633[_0x4fde33(0x25a)](this['_dependencyManagerService']),_0x50a04c['refTree']=_0x4401e6,_0x50a04c[_0x4fde33(0x28f)]=_0xf9ec85,_0x50a04c[_0x4fde33(0x209)]=_0x43fca9,_0x50a04c['isCache']=_0x26d8f4,this[_0x4fde33(0x240)][_0x4fde33(0x230)](_0x52cd3e,_0x284f71,_0x46a641,_0x50a04c),this['_dependencyManagerService'][_0x4fde33(0x26d)](_0x50a04c),_0x5096f4['push'](_0x50a04c),this[_0x4fde33(0x2a5)]['set'](_0x50a04c[_0x4fde33(0x223)],_0x50a04c);}}this[_0x4fde33(0x240)][_0x4fde33(0x1ec)](_0x46a641);}}}}[_0x21ffd1(0x210)](_0x2598e3,_0x125abe,_0x44cd1c,_0x4b66b9){const _0x3e85e5=_0x21ffd1;for(const _0x2f69ff of _0x2598e3){const _0x51c15e=_0x125abe[_0x2f69ff];if(_0x51c15e==null)continue;const _0x272231=Object['keys'](_0x51c15e);for(const _0x46350e of _0x272231){const _0x556096=new _0x405fae['ObjectMatrix'](_0x51c15e[_0x46350e]||{}),_0x3a3e24=new Map();_0x556096[_0x3e85e5(0x288)]((_0x1a0021,_0x295986,_0x22b0aa)=>{const _0x5aadbd=_0x3e85e5;if(_0x22b0aa==null)return!0x0;const {x:_0x4f00d3=0x0,y:_0x235227=0x0,si:_0x36c3c0}=_0x22b0aa;if(!(_0x4f00d3===0x0&&_0x235227===0x0&&_0x36c3c0!=null))return!0x0;const _0x37e2b3=this['_createFDtree'](_0x2f69ff,_0x46350e,_0x1a0021,_0x295986,_0x44cd1c,_0x22b0aa),_0x14c57a=this[_0x5aadbd(0x240)][_0x5aadbd(0x1eb)](_0x2f69ff,_0x46350e,_0x1a0021,_0x295986);_0x14c57a!=null?_0x37e2b3[_0x5aadbd(0x223)]=_0x14c57a:(this[_0x5aadbd(0x240)][_0x5aadbd(0x1e4)](_0x2f69ff,_0x46350e,_0x1a0021,_0x295986,_0x37e2b3),this[_0x5aadbd(0x240)][_0x5aadbd(0x26d)](_0x37e2b3)),_0x3a3e24[_0x5aadbd(0x232)](_0x36c3c0,_0x37e2b3),_0x4b66b9[_0x5aadbd(0x20f)](_0x37e2b3),this[_0x5aadbd(0x2a5)]['set'](_0x37e2b3[_0x5aadbd(0x223)],_0x37e2b3);}),_0x556096[_0x3e85e5(0x288)]((_0x2373ec,_0x2fcefc,_0x25829b)=>{const _0x58a242=_0x3e85e5;if(_0x25829b==null)return!0x0;const {x:_0x33771b=0x0,y:_0x59bd2d=0x0,si:_0x44be4b}=_0x25829b;if(_0x33771b===0x0&&_0x59bd2d===0x0&&_0x44be4b!=null)return!0x0;let _0x945eef;if(_0x44be4b&&_0x3a3e24['has'](_0x44be4b)){const _0x3dafc3=_0x3a3e24[_0x58a242(0x276)](_0x44be4b);_0x945eef=this[_0x58a242(0x297)](_0x3dafc3,_0x25829b);}else _0x945eef=this[_0x58a242(0x20e)](_0x2f69ff,_0x46350e,_0x2373ec,_0x2fcefc,_0x44cd1c,_0x25829b);const _0x2732a0=this['_dependencyManagerService'][_0x58a242(0x1eb)](_0x2f69ff,_0x46350e,_0x2373ec,_0x2fcefc);_0x2732a0!=null?_0x945eef[_0x58a242(0x223)]=_0x2732a0:(this[_0x58a242(0x240)][_0x58a242(0x1e4)](_0x2f69ff,_0x46350e,_0x2373ec,_0x2fcefc,_0x945eef),this['_dependencyManagerService'][_0x58a242(0x26d)](_0x945eef)),_0x4b66b9[_0x58a242(0x20f)](_0x945eef),this[_0x58a242(0x2a5)][_0x58a242(0x232)](_0x945eef[_0x58a242(0x223)],_0x945eef);}),_0x3a3e24[_0x3e85e5(0x218)]();}}}['_createFDtree'](_0x355c1a,_0x8e1fbd,_0x4c7209,_0x4b4acd,_0x562c39,_0x45c442){const _0x15b1fe=_0x21ffd1,{f:_0x57ba2a,x:_0x2f58a3=0x0,y:_0x7ce4d6=0x0}=_0x45c442,_0x1c251c=new _0x8b1633[(_0x15b1fe(0x29c))](_0x8b1633[_0x15b1fe(0x25a)](this[_0x15b1fe(0x240)])),_0x3da73a=_0x562c39[_0x355c1a][_0x8e1fbd];return _0x1c251c['formula']=_0x57ba2a,_0x1c251c[_0x15b1fe(0x27f)]=_0x355c1a,_0x1c251c[_0x15b1fe(0x1dc)]=_0x8e1fbd,_0x1c251c[_0x15b1fe(0x243)]=_0x4c7209,_0x1c251c[_0x15b1fe(0x215)]=_0x4b4acd,_0x1c251c[_0x15b1fe(0x1fc)]=_0x3da73a['rowCount'],_0x1c251c[_0x15b1fe(0x22e)]=_0x3da73a[_0x15b1fe(0x22e)],_0x1c251c;}[_0x21ffd1(0x212)](){const _0x242a78=_0x21ffd1,_0x57b216=[],_0x180220=new Set(),_0x4528cf=this[_0x242a78(0x284)]['isForceCalculate'](),_0x5222cb=this['_currentConfigService'][_0x242a78(0x22f)](),_0x7e9469=this['_dependencyManagerService'][_0x242a78(0x279)](_0x5222cb),_0x2047cc=this[_0x242a78(0x23c)]['bulkSearch'](_0x5222cb);for(const _0x206d29 of _0x2047cc)_0x7e9469[_0x242a78(0x2a8)](_0x206d29);for(const [_0x3a378b,_0x213f73]of this[_0x242a78(0x2a5)])(_0x4528cf||_0x213f73[_0x242a78(0x268)]||_0x213f73[_0x242a78(0x27b)](this[_0x242a78(0x284)][_0x242a78(0x213)]())||_0x7e9469[_0x242a78(0x242)](_0x3a378b)&&!_0x213f73[_0x242a78(0x299)](this['_currentConfigService']['getExcludedRange']()))&&!_0x180220[_0x242a78(0x242)](_0x3a378b)&&(_0x57b216[_0x242a78(0x20f)](_0x213f73),_0x180220[_0x242a78(0x2a8)](_0x3a378b));for(const [_0x57d175,_0x270bfc]of this['_dependencyTreeCache'])_0x270bfc[_0x242a78(0x289)]||(_0x270bfc[_0x242a78(0x237)][_0x242a78(0x26f)]=0x0);return _0x57b216;}[_0x21ffd1(0x246)](_0x187479){const _0x5ae2a0=_0x21ffd1;return this[_0x5ae2a0(0x2a5)][_0x5ae2a0(0x276)](_0x187479);}[_0x21ffd1(0x21b)](_0x1a5e6c){const _0x56c6fa=_0x21ffd1;return _0x8b1633[_0x56c6fa(0x285)](_0x1a5e6c[_0x56c6fa(0x27f)],_0x1a5e6c[_0x56c6fa(0x21a)],this[_0x56c6fa(0x23e)],this['_astTreeBuilder'],this[_0x56c6fa(0x284)]);}*[_0x21ffd1(0x27e)](_0x534cfd,_0x563059){const _0x3e14da=_0x21ffd1,_0xf47d86=_0x534cfd,_0x16ac03=new Set();for(;_0xf47d86[_0x3e14da(0x26f)]>0x0;){const _0x132dae=_0xf47d86[_0x3e14da(0x1f6)]();if(_0x16ac03[_0x3e14da(0x218)](),_0x132dae===void 0x0||_0x132dae[_0x3e14da(0x29d)]())continue;if(_0x132dae[_0x3e14da(0x283)]()){yield _0x132dae,_0x132dae[_0x3e14da(0x241)](),_0x563059[_0x3e14da(0x2a8)](_0x132dae[_0x3e14da(0x223)]);continue;}const _0x21014b=this['_dependencyManagerService'][_0x3e14da(0x279)](_0x132dae[_0x3e14da(0x1f1)](),_0x563059),_0x2cce15=this[_0x3e14da(0x23c)][_0x3e14da(0x1f9)](_0x132dae[_0x3e14da(0x1f1)](),_0x563059);for(const _0x884dbb of _0x2cce15)_0x21014b[_0x3e14da(0x2a8)](_0x884dbb);for(const _0x9638dd of _0x21014b){const _0x4fe5ed=this[_0x3e14da(0x2a5)]['get'](_0x9638dd);if(!_0x4fe5ed)throw new Error(_0x3e14da(0x207));_0x4fe5ed[_0x3e14da(0x283)]()||_0x132dae[_0x3e14da(0x29d)]()||_0x16ac03[_0x3e14da(0x2a8)](_0x4fe5ed);}if(_0x21014b['clear'](),_0x16ac03['size']===0x0)yield _0x132dae,_0x132dae[_0x3e14da(0x241)](),_0x563059['add'](_0x132dae[_0x3e14da(0x223)]);else{_0x132dae['setAdded'](),_0xf47d86[_0x3e14da(0x20f)](_0x132dae);for(const _0x41577d of _0x16ac03)_0xf47d86[_0x3e14da(0x20f)](_0x41577d);}}_0xf47d86['length']=0x0,_0x16ac03['clear']();}[_0x21ffd1(0x25f)](_0x47849a){const _0x54c715=_0x21ffd1,_0x16adcc=[],_0x7a6269=new Set();for(const _0x3b49b7 of this[_0x54c715(0x27e)](_0x47849a,_0x7a6269))_0x16adcc[_0x54c715(0x20f)](_0x3b49b7);return _0x16adcc;}}class _0x5eba60 extends _0x8b1633[_0x21ffd1(0x1d6)]{constructor(){super(...arguments),_0x49ab97(this,'_hasNewExcelFunction',!0x1),_0x49ab97(this,'_lambdaFunctionParameterSet',new Set());}[_0x21ffd1(0x259)](_0x48c904,_0x2aec85){const _0x22be5d=_0x21ffd1,_0x5d24d1=this[_0x22be5d(0x21f)](_0x48c904,!0x1);if(!_0x5d24d1||_0x5d24d1===_0x8b1633['ErrorType'][_0x22be5d(0x1ca)]||Array[_0x22be5d(0x277)](_0x5d24d1))return null;const _0x1b204c=[];return this[_0x22be5d(0x254)]=!0x1,this[_0x22be5d(0x275)](_0x5d24d1,_0x1b204c,_0x2aec85),this['_hasNewExcelFunction']?'='+_0x1b204c[_0x22be5d(0x22b)](''):null;}[_0x21ffd1(0x275)](_0x4212b9,_0x11b4b8,_0x1bbb63){const _0x14bd57=_0x21ffd1,_0x191140=_0x4212b9[_0x14bd57(0x203)](),_0x167e0d=_0x191140[_0x14bd57(0x287)](),_0x1d43f3=_0x167e0d['toUpperCase'](),_0x29be05=this['_clearFunctionString'](_0x1d43f3),_0x4c4beb=_0x1bbb63(_0x29be05);let _0x5e939d=0x0;_0x191140===_0x8b1633[_0x14bd57(0x271)]?_0x5e939d=0x3:_0x191140===_0x8b1633[_0x14bd57(0x217)]?_0x5e939d=0x4:_0x191140===_0x8b1633[_0x14bd57(0x202)]?_0x5e939d=0x5:_0x8b1633['NEW_EXCEL_FUNCTIONS'][_0x14bd57(0x242)](_0x29be05)?(_0x11b4b8[_0x14bd57(0x20f)](_0x14bd57(0x2a1)+_0x167e0d),this[_0x14bd57(0x254)]=!0x0):_0x1d43f3===_0x8b1633[_0x14bd57(0x255)]?(_0x11b4b8[_0x14bd57(0x20f)](_0x14bd57(0x2a1)+_0x167e0d),this[_0x14bd57(0x254)]=!0x0,_0x5e939d=0x2):_0x1d43f3===_0x8b1633['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x11b4b8[_0x14bd57(0x20f)](_0x14bd57(0x2a1)+_0x167e0d),this['_hasNewExcelFunction']=!0x0,_0x5e939d=0x1):_0x1d43f3===_0x8b1633[_0x14bd57(0x282)]['COLON']?_0x5e939d=0x8:_0x8b1633[_0x14bd57(0x1de)]['has'](_0x1d43f3)?_0x5e939d=0x7:_0x1d43f3===_0x8b1633[_0x14bd57(0x231)][_0x14bd57(0x1e1)]?(this[_0x14bd57(0x1cc)](_0x4212b9)&&(_0x5e939d=0x9),_0x11b4b8['push'](_0x191140)):(_0x11b4b8[_0x14bd57(0x20f)](_0x191140),_0x5e939d=0xa),_0x4c4beb?(_0x5e939d!==0x2&&_0x5e939d!==0x1&&(_0x5e939d=0x6),_0x11b4b8[_0x14bd57(0x20f)]('(')):_0x5e939d===0x9&&_0x11b4b8[_0x14bd57(0x20f)]('(');const _0x223e4f=_0x4212b9[_0x14bd57(0x2a3)](),_0x27a663=_0x223e4f[_0x14bd57(0x26f)];if(_0x5e939d===0x2){const _0x8ef593=_0x223e4f[0x0];let _0x383dc3=0x0;_0x8ef593 instanceof _0x8b1633[_0x14bd57(0x2aa)]&&_0x8ef593[_0x14bd57(0x203)]()===_0x8b1633[_0x14bd57(0x202)]&&(_0x383dc3=0x1);for(let _0xb65ac0=_0x383dc3;_0xb65ac0<_0x27a663-0x1;_0xb65ac0++){const _0x4936e6=_0x223e4f[_0xb65ac0];if(_0x4936e6 instanceof _0x8b1633[_0x14bd57(0x2aa)]){const _0xfe21e8=_0x4936e6['getChildren']()[0x0];typeof _0xfe21e8=='string'&&(this[_0x14bd57(0x25e)][_0x14bd57(0x242)](_0xfe21e8)&&console[_0x14bd57(0x23b)](_0x14bd57(0x1ce)+_0xfe21e8+_0x14bd57(0x266)),this['_lambdaFunctionParameterSet']['add'](_0xfe21e8),_0x11b4b8[_0x14bd57(0x20f)](_0x14bd57(0x245)+_0xfe21e8),this[_0x14bd57(0x254)]=!0x0);}_0x11b4b8[_0x14bd57(0x20f)](',');}this['_handleNewFunctionChild'](_0x223e4f[_0x27a663-0x1],_0x11b4b8,_0x1bbb63),_0x383dc3===0x1&&(_0x11b4b8[_0x14bd57(0x20f)](')'),_0x11b4b8['push']('('),this['_generateNewFunctionString'](_0x8ef593,_0x11b4b8,_0x1bbb63)),_0x11b4b8[_0x14bd57(0x20f)](')');return;}else{if(_0x5e939d===0x1){for(let _0x3b911d=0x0;_0x3b911d<_0x27a663-0x1;_0x3b911d++){const _0x25e09a=_0x223e4f[_0x3b911d];if(_0x25e09a instanceof _0x8b1633['LexerNode']&&_0x3b911d%0x2===0x0){const _0x1c099b=_0x25e09a[_0x14bd57(0x2a3)]()[0x0];if(typeof _0x1c099b==_0x14bd57(0x226)){this[_0x14bd57(0x25e)][_0x14bd57(0x242)](_0x1c099b)&&console[_0x14bd57(0x23b)](_0x14bd57(0x24a)+_0x1c099b+_0x14bd57(0x266)),this[_0x14bd57(0x25e)]['add'](_0x1c099b),_0x11b4b8[_0x14bd57(0x20f)](_0x14bd57(0x245)+_0x1c099b),this[_0x14bd57(0x254)]=!0x0,_0x11b4b8[_0x14bd57(0x20f)](',');continue;}}if(this[_0x14bd57(0x286)](_0x25e09a,_0x11b4b8,_0x1bbb63),_0x25e09a instanceof _0x8b1633[_0x14bd57(0x2aa)]){const _0x4a90e0=_0x223e4f[_0x3b911d+0x1];_0x4a90e0&&_0x4a90e0 instanceof _0x8b1633[_0x14bd57(0x2aa)]&&_0x11b4b8[_0x14bd57(0x20f)](',');}}this[_0x14bd57(0x286)](_0x223e4f[_0x27a663-0x1],_0x11b4b8,_0x1bbb63),_0x11b4b8[_0x14bd57(0x20f)](')');return;}else{if(_0x5e939d===0x8){const _0x130a59=_0x223e4f[0x0],_0x26e3b4=_0x223e4f[0x1];this[_0x14bd57(0x286)](_0x130a59,_0x11b4b8,_0x1bbb63),_0x11b4b8[_0x14bd57(0x20f)](_0x191140),this[_0x14bd57(0x286)](_0x26e3b4,_0x11b4b8,_0x1bbb63);return;}}}for(let _0x1b77a0=0x0;_0x1b77a0<_0x27a663;_0x1b77a0++){const _0x3a0b29=_0x223e4f[_0x1b77a0];if(this[_0x14bd57(0x286)](_0x3a0b29,_0x11b4b8,_0x1bbb63),_0x3a0b29 instanceof _0x8b1633[_0x14bd57(0x2aa)]){const _0x11a4aa=_0x223e4f[_0x1b77a0+0x1];_0x11a4aa&&_0x11a4aa instanceof _0x8b1633['LexerNode']&&_0x11b4b8[_0x14bd57(0x20f)](',');}}_0x5e939d===0x7&&_0x11b4b8[_0x14bd57(0x20f)](_0x191140),(_0x4c4beb||_0x5e939d===0x9)&&_0x11b4b8[_0x14bd57(0x20f)](')');}[_0x21ffd1(0x286)](_0x127d10,_0x46d360,_0x418569){const _0x576cfd=_0x21ffd1;_0x127d10 instanceof _0x8b1633[_0x576cfd(0x2aa)]?this[_0x576cfd(0x275)](_0x127d10,_0x46d360,_0x418569):this[_0x576cfd(0x25e)][_0x576cfd(0x242)](_0x127d10)?(_0x46d360[_0x576cfd(0x20f)](_0x576cfd(0x245)+_0x127d10),this[_0x576cfd(0x254)]=!0x0):_0x46d360[_0x576cfd(0x20f)](_0x127d10);}[_0x21ffd1(0x1cf)](_0x5a6338){const _0x85c0b7=_0x21ffd1;let _0x33fc85=_0x5a6338[_0x85c0b7(0x287)]();if(!_0x33fc85)return _0x33fc85;const _0xdcfdc0=_0x33fc85[0x0];if((_0xdcfdc0===_0x8b1633[_0x85c0b7(0x231)]['AT']||_0xdcfdc0===_0x8b1633[_0x85c0b7(0x231)][_0x85c0b7(0x1e1)]||_0xdcfdc0===_0x8b1633['prefixToken'][_0x85c0b7(0x272)])&&(_0x33fc85=_0x33fc85[_0x85c0b7(0x228)](0x1)),!_0x33fc85)return _0x33fc85;const _0xbc739c=_0x33fc85[_0x33fc85[_0x85c0b7(0x26f)]-0x1];return _0x8b1633[_0x85c0b7(0x1de)][_0x85c0b7(0x242)](_0xbc739c)&&(_0x33fc85=_0x33fc85[_0x85c0b7(0x228)](0x0,-0x1)),_0x33fc85;}['_checkAddBracketForMinus'](_0x25670e){const _0x4715d8=_0x21ffd1,_0x5998ab=_0x25670e['getChildren']()[0x0];if(!_0x5998ab||!(_0x5998ab instanceof _0x8b1633[_0x4715d8(0x2aa)])||_0x25670e[_0x4715d8(0x2a3)]()[_0x4715d8(0x26f)]>0x1)return!0x1;const _0x16bfb6=_0x5998ab[_0x4715d8(0x2a3)](),_0x24fd50=_0x16bfb6['length'];if(_0x24fd50===0x1)return!0x1;for(let _0x26163a=0x0;_0x26163a<_0x24fd50;_0x26163a++){const _0x28c33e=_0x16bfb6[_0x26163a];if(!(_0x28c33e instanceof _0x8b1633['LexerNode'])&&_0x8b1633[_0x4715d8(0x273)]['has'](_0x28c33e))return!0x0;}return!0x1;}}class _0x2b8f6f extends _0x8b1633[_0x21ffd1(0x1da)]{async[_0x21ffd1(0x1c9)](_0x3a1fd=!0x1){const _0x1fc22b=_0x21ffd1;_0x3a1fd?this['_runtimeService'][_0x1fc22b(0x1d8)](_0x8b1633['FormulaExecuteStageType'][_0x1fc22b(0x26e)]):this[_0x1fc22b(0x214)]['setFormulaExecuteStage'](_0x8b1633[_0x1fc22b(0x1cb)][_0x1fc22b(0x2a7)]),this['_executionInProgressListener$'][_0x1fc22b(0x1d3)](this[_0x1fc22b(0x214)][_0x1fc22b(0x1e9)]());const _0x4feab7=await this[_0x1fc22b(0x24f)]['generate'](),_0xa51a72=this[_0x1fc22b(0x1cd)];_0x3a1fd?(this[_0x1fc22b(0x214)][_0x1fc22b(0x1d8)](_0x8b1633[_0x1fc22b(0x1cb)][_0x1fc22b(0x1d1)]),this[_0x1fc22b(0x214)][_0x1fc22b(0x22c)](_0x4feab7[_0x1fc22b(0x26f)])):(this[_0x1fc22b(0x214)][_0x1fc22b(0x1d8)](_0x8b1633['FormulaExecuteStageType']['START_CALCULATION']),this[_0x1fc22b(0x214)][_0x1fc22b(0x1f4)](_0x4feab7['length'])),this[_0x1fc22b(0x1f7)][_0x1fc22b(0x1d3)](this['_runtimeService'][_0x1fc22b(0x1e9)]());let _0x1a5d0e=[];const _0xc7a0e0=this['_configService'][_0x1fc22b(0x1fb)](_0x8b1633[_0x1fc22b(0x1df)]),_0x111366=(_0xc7a0e0==null?void 0x0:_0xc7a0e0[_0x1fc22b(0x222)])||_0x8b1633['DEFAULT_INTERVAL_COUNT'];let _0x1eb135=0x0;const _0x59a1f5=_0x4feab7[_0x1fc22b(0x26f)];for(;_0x4feab7[_0x1fc22b(0x26f)]>0x0;){const _0x2393be=_0x4feab7['pop'](),_0x37d980=_0x8b1633[_0x1fc22b(0x285)](_0x2393be[_0x1fc22b(0x27f)],_0x2393be['formula'],this[_0x1fc22b(0x23e)],this['_astTreeBuilder'],this['_currentConfigService']),_0x303717={'node':_0x37d980,'refOffsetX':_0x2393be[_0x1fc22b(0x28f)],'refOffsetY':_0x2393be['refOffsetY']},_0x3e8b0f=_0x2393be['getDirtyData'];if(_0x1eb135%_0x111366===0x0&&(await new Promise(_0x2887a9=>{const _0xba786b=_0x1fc22b,_0x3e162a=_0x405fae['requestImmediateMacroTask'](_0x2887a9);_0x1a5d0e[_0xba786b(0x20f)](_0x3e162a);}),_0x3a1fd?(this[_0x1fc22b(0x214)][_0x1fc22b(0x1d8)](_0x8b1633['FormulaExecuteStageType'][_0x1fc22b(0x227)]),this[_0x1fc22b(0x214)][_0x1fc22b(0x20d)](_0x1eb135+0x1)):(this['_runtimeService'][_0x1fc22b(0x1d8)](_0x8b1633['FormulaExecuteStageType'][_0x1fc22b(0x1c6)]),this[_0x1fc22b(0x214)][_0x1fc22b(0x29e)](_0x1eb135+0x1)),this[_0x1fc22b(0x1f7)][_0x1fc22b(0x1d3)](this['_runtimeService']['getRuntimeState']()),this[_0x1fc22b(0x214)]['isStopExecution']()||_0x303717==null&&_0x3e8b0f==null)){this[_0x1fc22b(0x214)][_0x1fc22b(0x1d8)](_0x8b1633[_0x1fc22b(0x1cb)][_0x1fc22b(0x24d)]),this[_0x1fc22b(0x214)][_0x1fc22b(0x23a)](),this[_0x1fc22b(0x224)][_0x1fc22b(0x1d3)](this[_0x1fc22b(0x214)][_0x1fc22b(0x239)]());return;}this['_runtimeService'][_0x1fc22b(0x1ee)](_0x2393be[_0x1fc22b(0x243)],_0x2393be[_0x1fc22b(0x215)],_0x2393be[_0x1fc22b(0x1fc)],_0x2393be[_0x1fc22b(0x22e)],_0x2393be['subUnitId'],_0x2393be['unitId']);let _0x936232;if(_0x3e8b0f!=null&&_0x2393be[_0x1fc22b(0x1e0)]!=null){const {runtimeCellData:_0xc34155,dirtyRanges:_0x32de1f}=_0x3e8b0f(this[_0x1fc22b(0x284)][_0x1fc22b(0x248)](),this['_runtimeService'][_0x1fc22b(0x239)]());this[_0x1fc22b(0x214)]['setRuntimeFeatureCellData'](_0x2393be[_0x1fc22b(0x1e0)],_0xc34155),this[_0x1fc22b(0x214)]['setRuntimeFeatureRange'](_0x2393be[_0x1fc22b(0x1e0)],_0x32de1f);}else _0x303717!=null&&(_0xa51a72[_0x1fc22b(0x2a4)](_0x303717[_0x1fc22b(0x1ea)])?_0x936232=await _0xa51a72[_0x1fc22b(0x1d9)](_0x303717):_0x936232=_0xa51a72[_0x1fc22b(0x1f3)](_0x303717),_0x2393be[_0x1fc22b(0x2a9)]!=null?this['_runtimeService'][_0x1fc22b(0x21c)](_0x2393be[_0x1fc22b(0x2a9)],_0x2393be[_0x1fc22b(0x28f)],_0x2393be[_0x1fc22b(0x209)],_0x936232):this[_0x1fc22b(0x214)]['setRuntimeData'](_0x936232));_0x37d980['resetCalculationState'](),_0x1eb135++;}return _0x1a5d0e[_0x1fc22b(0x2ab)](_0x5cc4ff=>_0x5cc4ff()),_0x1a5d0e=[],_0x59a1f5>0x0?this['_runtimeService'][_0x1fc22b(0x26a)]():_0x3a1fd||this['_runtimeService'][_0x1fc22b(0x24e)](),this[_0x1fc22b(0x214)][_0x1fc22b(0x239)]();}}class _0x383b69 extends _0x8b1633[_0x21ffd1(0x211)]{constructor(){const _0x3cb250=_0x21ffd1;super(...arguments),_0x49ab97(this,'_allTreeMap',new Map()),_0x49ab97(this,'_dependencyRTreeCache',new _0x405fae[(_0x3cb250(0x1f0))](!0x0));}['reset'](){const _0x29df33=_0x21ffd1;this[_0x29df33(0x292)][_0x29df33(0x218)](),this[_0x29df33(0x2ac)][_0x29df33(0x218)](),this['_formulaData'][_0x29df33(0x218)](),this[_0x29df33(0x28a)][_0x29df33(0x218)](),this[_0x29df33(0x256)]['clear'](),this['_restDependencyTreeId'](),this[_0x29df33(0x1db)][_0x29df33(0x218)]();}[_0x21ffd1(0x230)](_0x138d6f,_0x5c3d6a,_0x4e48bd,_0x11fb1f){const _0x566b6b=_0x21ffd1;this[_0x566b6b(0x292)][_0x566b6b(0x242)](_0x138d6f)||this[_0x566b6b(0x292)][_0x566b6b(0x232)](_0x138d6f,new Map());const _0x2c4e6c=this[_0x566b6b(0x292)][_0x566b6b(0x276)](_0x138d6f);_0x2c4e6c[_0x566b6b(0x242)](_0x5c3d6a)||_0x2c4e6c[_0x566b6b(0x232)](_0x5c3d6a,new Map());const _0x375ab8=_0x2c4e6c[_0x566b6b(0x276)](_0x5c3d6a);_0x375ab8['has'](_0x4e48bd)||_0x375ab8[_0x566b6b(0x232)](_0x4e48bd,new _0x405fae['ObjectMatrix']()),_0x375ab8[_0x566b6b(0x276)](_0x4e48bd)['setValue'](_0x11fb1f['refOffsetX'],_0x11fb1f[_0x566b6b(0x209)],_0x11fb1f[_0x566b6b(0x223)]);}['removeOtherFormulaDependency'](_0x4663fa,_0x4e10d5,_0x342311){const _0x1cc2ec=_0x21ffd1,_0x1438ac=this[_0x1cc2ec(0x292)]['get'](_0x4663fa);if(_0x1438ac&&_0x1438ac[_0x1cc2ec(0x242)](_0x4e10d5)){const _0x50700b=_0x1438ac[_0x1cc2ec(0x276)](_0x4e10d5);_0x342311['forEach'](_0x31686f=>{const _0x5d0e84=_0x1cc2ec,_0x63bf82=_0x50700b[_0x5d0e84(0x276)](_0x31686f);_0x63bf82!=null&&(_0x63bf82['forValue']((_0x2c0fb8,_0xb4600,_0xbeb27)=>{const _0x53f585=_0x5d0e84;this[_0x53f585(0x22d)](_0xbeb27),this[_0x53f585(0x24c)](_0xbeb27);}),_0x50700b[_0x5d0e84(0x27c)](_0x31686f),this[_0x5d0e84(0x1db)][_0x5d0e84(0x27c)](_0x31686f));}),_0x50700b[_0x1cc2ec(0x263)]===0x0&&_0x1438ac[_0x1cc2ec(0x27c)](_0x4e10d5),_0x1438ac['size']===0x0&&this[_0x1cc2ec(0x292)][_0x1cc2ec(0x27c)](_0x4663fa);}}['clearOtherFormulaDependency'](_0x44fc7d,_0x56f365){const _0x4a7ca0=_0x21ffd1,_0x525403=this[_0x4a7ca0(0x292)][_0x4a7ca0(0x276)](_0x44fc7d);if(_0x56f365&&_0x525403&&_0x525403[_0x4a7ca0(0x242)](_0x56f365)){const _0x4c3183=_0x525403[_0x4a7ca0(0x276)](_0x56f365);this[_0x4a7ca0(0x280)](_0x44fc7d,_0x56f365);for(const _0x43758c of _0x4c3183['keys']()){const _0x291ec5=_0x4c3183['get'](_0x43758c);_0x291ec5!=null&&(_0x291ec5['forValue']((_0x5d1946,_0x2b2e49,_0x575ce6)=>{const _0x5689cb=_0x4a7ca0;this['_allTreeMap'][_0x5689cb(0x276)](_0x575ce6)&&this[_0x5689cb(0x24c)](_0x575ce6);}),this[_0x4a7ca0(0x1db)][_0x4a7ca0(0x27c)](_0x43758c));}_0x4c3183['clear']();}else{if(_0x525403){for(const _0x3906a0 of _0x525403[_0x4a7ca0(0x265)]()){const _0x225825=_0x525403[_0x4a7ca0(0x276)](_0x3906a0);this[_0x4a7ca0(0x280)](_0x44fc7d,_0x3906a0);for(const _0x2d0f7d of _0x225825['keys']()){const _0x35b645=_0x225825[_0x4a7ca0(0x276)](_0x2d0f7d);_0x35b645!=null&&(_0x35b645[_0x4a7ca0(0x288)]((_0x378521,_0x599e77,_0x43c4bd)=>{const _0x2b310c=_0x4a7ca0;this['_allTreeMap'][_0x2b310c(0x276)](_0x43c4bd)&&this['_removeAllTreeMap'](_0x43c4bd);}),this['_otherFormulaDataMainData'][_0x4a7ca0(0x27c)](_0x2d0f7d));}}this[_0x4a7ca0(0x292)]['delete'](_0x44fc7d);}}}[_0x21ffd1(0x200)](_0x140fff,_0x578b4e,_0x3d4f52,_0xdb9e2a){const _0x46ea97=_0x21ffd1;this['_featureFormulaData']['has'](_0x140fff)||this[_0x46ea97(0x2ac)][_0x46ea97(0x232)](_0x140fff,new Map());const _0x311ca1=this['_featureFormulaData'][_0x46ea97(0x276)](_0x140fff);_0x311ca1[_0x46ea97(0x242)](_0x578b4e)||_0x311ca1['set'](_0x578b4e,new Map()),_0x311ca1[_0x46ea97(0x276)](_0x578b4e)[_0x46ea97(0x232)](_0x3d4f52,_0xdb9e2a[_0x46ea97(0x223)]);}[_0x21ffd1(0x27a)](_0x728d5,_0x161762,_0x3a6035){const _0x2de0ee=_0x21ffd1,_0x111af8=this[_0x2de0ee(0x2ac)][_0x2de0ee(0x276)](_0x728d5);if(_0x111af8&&_0x111af8[_0x2de0ee(0x242)](_0x161762)){const _0x839c9=_0x111af8['get'](_0x161762);_0x3a6035[_0x2de0ee(0x2ab)](_0x5ba504=>{const _0x1d89e5=_0x2de0ee,_0x58ee6a=_0x839c9[_0x1d89e5(0x276)](_0x5ba504);_0x58ee6a!=null&&(this[_0x1d89e5(0x22d)](_0x58ee6a),_0x839c9[_0x1d89e5(0x27c)](_0x5ba504),this[_0x1d89e5(0x24c)](_0x58ee6a));});}}['clearFeatureFormulaDependency'](_0x21d29c,_0x196af4){const _0x17d76e=_0x21ffd1,_0x5d02f8=this[_0x17d76e(0x2ac)][_0x17d76e(0x276)](_0x21d29c);if(_0x196af4&&_0x5d02f8&&_0x5d02f8[_0x17d76e(0x242)](_0x196af4)){const _0x46d88d=_0x5d02f8[_0x17d76e(0x276)](_0x196af4);this[_0x17d76e(0x280)](_0x21d29c,_0x196af4),_0x46d88d['forEach'](_0x26ab3c=>{const _0xcbb2de=_0x17d76e;_0x26ab3c!=null&&this[_0xcbb2de(0x24c)](_0x26ab3c);}),_0x46d88d[_0x17d76e(0x218)]();}else _0x5d02f8&&(_0x5d02f8[_0x17d76e(0x2ab)]((_0xaa907f,_0x3c604f)=>{const _0x34b377=_0x17d76e;this['_removeDependencyRTreeCacheById'](_0x21d29c,_0x3c604f),_0xaa907f[_0x34b377(0x2ab)](_0x5161fd=>{const _0x1b1fd3=_0x34b377;_0x5161fd!=null&&this[_0x1b1fd3(0x24c)](_0x5161fd);});}),this[_0x17d76e(0x2ac)]['delete'](_0x21d29c));}[_0x21ffd1(0x1e4)](_0xee2982,_0xa14706,_0x276b28,_0x335b6e,_0x48b3cd){const _0x23b788=_0x21ffd1;this['_formulaData'][_0x23b788(0x242)](_0xee2982)||this[_0x23b788(0x1ff)][_0x23b788(0x232)](_0xee2982,new Map());const _0x4a9490=this['_formulaData'][_0x23b788(0x276)](_0xee2982);_0x4a9490['has'](_0xa14706)||_0x4a9490[_0x23b788(0x232)](_0xa14706,new _0x405fae[(_0x23b788(0x270))]()),_0x4a9490['get'](_0xa14706)[_0x23b788(0x1e3)](_0x276b28,_0x335b6e,_0x48b3cd[_0x23b788(0x223)]);}[_0x21ffd1(0x291)](_0x2994e4,_0x29ee8c,_0x124b98,_0x5aefcf){const _0x509855=_0x21ffd1,_0x34229d=this[_0x509855(0x1ff)][_0x509855(0x276)](_0x2994e4);if(_0x34229d&&_0x34229d[_0x509855(0x242)](_0x29ee8c)){const _0x4b410b=_0x34229d[_0x509855(0x276)](_0x29ee8c),_0x4d05b0=_0x4b410b[_0x509855(0x298)](_0x124b98,_0x5aefcf);if(_0x4d05b0==null)return;this['_removeDependencyRTreeCache'](_0x4d05b0),_0x4b410b[_0x509855(0x1d4)](_0x124b98,_0x5aefcf),this['_removeAllTreeMap'](_0x4d05b0);}}[_0x21ffd1(0x278)](_0x2a712a,_0x212ab4){const _0x5ef783=_0x21ffd1,_0x45cd5c=this['_formulaData'][_0x5ef783(0x276)](_0x2a712a);if(_0x212ab4&&_0x45cd5c&&_0x45cd5c[_0x5ef783(0x242)](_0x212ab4)){const _0x33080a=_0x45cd5c[_0x5ef783(0x276)](_0x212ab4);this[_0x5ef783(0x280)](_0x2a712a,_0x212ab4),_0x33080a['forValue']((_0x48282e,_0x3110f3,_0x134631)=>{const _0x1478e0=_0x5ef783;if(_0x134631==null)return!0x0;this[_0x1478e0(0x24c)](_0x134631);}),_0x33080a[_0x5ef783(0x219)]();}else _0x45cd5c&&(_0x45cd5c[_0x5ef783(0x2ab)]((_0x3c0274,_0x2126fe)=>{const _0x1ea090=_0x5ef783;this[_0x1ea090(0x280)](_0x2a712a,_0x2126fe),_0x3c0274[_0x1ea090(0x288)]((_0x3c1bfc,_0x546453,_0x57bfe8)=>{const _0x5e0319=_0x1ea090;if(_0x57bfe8==null)return!0x0;this[_0x5e0319(0x24c)](_0x57bfe8);});}),this[_0x5ef783(0x1ff)]['delete'](_0x2a712a));}['_removeDependencyRTreeCache'](_0x9cb751){const _0x2b30d9=_0x21ffd1;if(_0x9cb751==null)return;const _0x54d73c=this[_0x2b30d9(0x256)]['get'](_0x9cb751);if(_0x54d73c){const _0x229858=[];for(const [_0x3de38c,_0x2a610a]of _0x54d73c)for(const [_0x57231c,_0xc21d74]of _0x2a610a)_0x229858[_0x2b30d9(0x20f)]({'unitId':_0x3de38c,'sheetId':_0x57231c,'range':_0xc21d74,'id':_0x9cb751});this[_0x2b30d9(0x28a)][_0x2b30d9(0x1d0)](_0x229858);}}[_0x21ffd1(0x1e7)](_0x393f72,_0x18c7a9){const _0x3571a5=_0x21ffd1,_0x5137f5=this[_0x3571a5(0x206)][_0x3571a5(0x276)](_0x393f72);if(_0x5137f5){const _0x30b264=_0x5137f5[_0x3571a5(0x276)](_0x18c7a9);if(_0x30b264){for(const _0x5c88fa of _0x30b264)this['_removeDependencyRTreeCache'](_0x5c88fa),this[_0x3571a5(0x24c)](_0x5c88fa);_0x30b264[_0x3571a5(0x218)]();}}}[_0x21ffd1(0x24b)](){const _0x225d34=_0x21ffd1;this[_0x225d34(0x28a)][_0x225d34(0x24b)]();}[_0x21ffd1(0x257)](){const _0x42f873=_0x21ffd1;this['_dependencyRTreeCache'][_0x42f873(0x257)]();}['_removeAllTreeMap'](_0x5704be){const _0xfbd7ac=_0x21ffd1;_0x5704be!=null&&this[_0xfbd7ac(0x256)]['delete'](_0x5704be);}[_0x21ffd1(0x1e2)](_0x539799){const _0xe81c81=_0x21ffd1;var _0x1a6f19,_0xb87734;const _0x381e8f=_0x539799[_0xe81c81(0x237)];let _0x8d5f69=this[_0xe81c81(0x256)][_0xe81c81(0x276)](_0x539799[_0xe81c81(0x223)]);for(let _0x43a1a2=0x0;_0x43a1a2<_0x381e8f[_0xe81c81(0x26f)];_0x43a1a2++){const _0x11fbc1=_0x381e8f[_0x43a1a2];let {unitId:_0xd1245c,sheetId:_0x1bdc5a,range:_0x2717c2}=_0x11fbc1;_0x8d5f69||(_0x8d5f69=new Map(),this['_allTreeMap']['set'](_0x539799[_0xe81c81(0x223)],_0x8d5f69)),_0x8d5f69[_0xe81c81(0x242)](_0xd1245c)||_0x8d5f69['set'](_0xd1245c,new Map());const _0x9a62a2=(_0x1a6f19=_0x8d5f69==null?void 0x0:_0x8d5f69[_0xe81c81(0x276)](_0xd1245c))==null?void 0x0:_0x1a6f19[_0xe81c81(0x276)](_0x1bdc5a);_0x9a62a2&&(_0x2717c2={'startRow':Math[_0xe81c81(0x251)](_0x2717c2[_0xe81c81(0x208)],_0x9a62a2[_0xe81c81(0x208)]),'startColumn':Math['min'](_0x2717c2['startColumn'],_0x9a62a2[_0xe81c81(0x244)]),'endRow':Math[_0xe81c81(0x1d5)](_0x2717c2[_0xe81c81(0x20a)],_0x9a62a2[_0xe81c81(0x20a)]),'endColumn':Math[_0xe81c81(0x1d5)](_0x2717c2[_0xe81c81(0x1fa)],_0x9a62a2['endColumn'])}),(_0xb87734=_0x8d5f69['get'](_0xd1245c))==null||_0xb87734[_0xe81c81(0x232)](_0x1bdc5a,_0x2717c2);}}}var _0x5a19bc=Object[_0x21ffd1(0x225)],_0x258e67=(_0x513d2f,_0x38e57f,_0x43eb86,_0x4586ae)=>{const _0xbd1161=_0x21ffd1;for(var _0x3ffbfa=_0x4586ae>0x1?void 0x0:_0x4586ae?_0x5a19bc(_0x38e57f,_0x43eb86):_0x38e57f,_0x2e4c58=_0x513d2f[_0xbd1161(0x26f)]-0x1,_0x5ee8e1;_0x2e4c58>=0x0;_0x2e4c58--)(_0x5ee8e1=_0x513d2f[_0x2e4c58])&&(_0x3ffbfa=_0x5ee8e1(_0x3ffbfa)||_0x3ffbfa);return _0x3ffbfa;};const _0x17658c=Number['parseInt'](0x6921992b);_0x878cf1[_0x21ffd1(0x23f)]=class extends _0x8b1633[_0x21ffd1(0x2a6)]{[_0x21ffd1(0x281)](){const _0x4ce8f6=_0x21ffd1;var _0x732806,_0x3f3baf;this[_0x4ce8f6(0x1c7)]()?(this[_0x4ce8f6(0x274)][_0x4ce8f6(0x2a8)]([_0x8b1633[_0x4ce8f6(0x1d6)],{'useClass':_0x5eba60}]),(_0x732806=this[_0x4ce8f6(0x220)])!=null&&_0x732806['notExecuteFormula']||[[_0x8b1633[_0x4ce8f6(0x1e6)],{'useClass':_0x2b8f6f}],[_0x8b1633[_0x4ce8f6(0x29b)],{'useClass':_0x383b69}],[_0x8b1633[_0x4ce8f6(0x20b)],{'useClass':_0x66c524}]][_0x4ce8f6(0x2ab)](_0x375a9b=>this[_0x4ce8f6(0x274)][_0x4ce8f6(0x2a8)](_0x375a9b))):(this[_0x4ce8f6(0x274)]['add']([_0x8b1633[_0x4ce8f6(0x1d6)],{'useClass':_0x8b1633[_0x4ce8f6(0x1d6)]}]),(_0x3f3baf=this[_0x4ce8f6(0x220)])!=null&&_0x3f3baf[_0x4ce8f6(0x205)]||[[_0x8b1633['ICalculateFormulaService'],{'useClass':_0x8b1633[_0x4ce8f6(0x1da)]}],[_0x8b1633[_0x4ce8f6(0x29b)],{'useClass':_0x8b1633['DependencyManagerService']}],[_0x8b1633[_0x4ce8f6(0x20b)],{'useClass':_0x8b1633[_0x4ce8f6(0x247)]}]][_0x4ce8f6(0x2ab)](_0x40373a=>this[_0x4ce8f6(0x274)][_0x4ce8f6(0x2a8)](_0x40373a)));}[_0x21ffd1(0x1c7)](){const _0x52fb33=_0x21ffd1;var _0x4e7003;const _0x387f4a=(_0x4e7003=this['_configService'][_0x52fb33(0x1fb)](_0x38665d['LS_CONFIG_KEY']))!=null?_0x4e7003:{},{ls:_0x4599ae,pbk:_0x514cdb}=_0x387f4a;if(!_0x4599ae||!_0x514cdb)return!0x1;const _0x32ffd9=_0x38665d['unshiftString'](_0x3b27e5,_0x601362),_0x2c5a4f=new Function('return\x20'+_0x32ffd9)()(_0x4599ae,_0x514cdb),_0x493e96=_0x2c5a4f[_0x52fb33(0x23d)];return _0x2c5a4f[_0x52fb33(0x26b)]&&_0x38665d[_0x52fb33(0x28e)](_0x493e96,'sf',_0x17658c)?_0x38665d[_0x52fb33(0x1ed)](_0x493e96,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x878cf1['UniverProFormulaEnginePlugin']=_0x258e67([_0x405fae['DependentOn'](_0x38665d['UniverLicensePlugin'])],_0x878cf1['UniverProFormulaEnginePlugin']),Object[_0x21ffd1(0x265)](_0x8b1633)[_0x21ffd1(0x2ab)](_0x24453a=>{const _0x69ddd7=_0x21ffd1;_0x24453a!==_0x69ddd7(0x238)&&!Object[_0x69ddd7(0x269)][_0x69ddd7(0x1d7)]['call'](_0x878cf1,_0x24453a)&&Object['defineProperty'](_0x878cf1,_0x24453a,{'enumerable':!0x0,'get':()=>_0x8b1633[_0x24453a]});}),Object[_0x21ffd1(0x28d)](_0x878cf1,Symbol[_0x21ffd1(0x29a)],{'value':_0x21ffd1(0x250)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
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
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs/core": "0.12.2",
|
|
61
|
+
"@univerjs/engine-formula": "0.12.2",
|
|
62
|
+
"@univerjs-pro/license": "0.12.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
67
|
"vite": "^7.2.2",
|
|
68
68
|
"vitest": "^3.2.4",
|
|
69
|
-
"@univerjs-infra/shared": "0.12.
|
|
69
|
+
"@univerjs-infra/shared": "0.12.2"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|