@univerjs-pro/engine-formula 0.6.8 → 0.6.9
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 +37 -37
- 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';
|
|
1
|
+
'use strict';const _0x4b23a4=_0x5199;(function(_0x540deb,_0x1fa6bb){const _0x1fcf18=_0x5199,_0x568ebc=_0x540deb();while(!![]){try{const _0x3f6959=-parseInt(_0x1fcf18(0x15f))/0x1+-parseInt(_0x1fcf18(0x15e))/0x2*(-parseInt(_0x1fcf18(0x166))/0x3)+parseInt(_0x1fcf18(0x16c))/0x4+parseInt(_0x1fcf18(0x15c))/0x5*(-parseInt(_0x1fcf18(0x161))/0x6)+parseInt(_0x1fcf18(0x163))/0x7+parseInt(_0x1fcf18(0x164))/0x8*(-parseInt(_0x1fcf18(0x168))/0x9)+parseInt(_0x1fcf18(0x16a))/0xa*(parseInt(_0x1fcf18(0x160))/0xb);if(_0x3f6959===_0x1fa6bb)break;else _0x568ebc['push'](_0x568ebc['shift']());}catch(_0x64c19c){_0x568ebc['push'](_0x568ebc['shift']());}}}(_0xa0da,0x65d2f));function _0xa0da(){const _0x1257f7=['4198264BONNOj','424GfxBuK','hasOwnProperty','3peckmk','prototype','17946ODMbse','@univerjs/engine-formula/facade','20BVtNMM','call','2798256ZDgkdE','default','defineProperty','25AmVqNY','forEach','503974uuZTXu','537592sTzwdS','247236wyzPuF','643092aNPwBk','keys'];_0xa0da=function(){return _0x1257f7;};return _0xa0da();}Object[_0x4b23a4(0x15b)](exports,Symbol['toStringTag'],{'value':'Module'});const t=require(_0x4b23a4(0x169));function _0x5199(_0x3ec29f,_0x3be2bd){const _0xa0dae6=_0xa0da();return _0x5199=function(_0x519996,_0xd7714c){_0x519996=_0x519996-0x15a;let _0x848a52=_0xa0dae6[_0x519996];return _0x848a52;},_0x5199(_0x3ec29f,_0x3be2bd);}Object[_0x4b23a4(0x162)](t)[_0x4b23a4(0x15d)](_0x3b2220=>{const _0x1aa8b0=_0x4b23a4;_0x3b2220!==_0x1aa8b0(0x15a)&&!Object[_0x1aa8b0(0x167)][_0x1aa8b0(0x165)][_0x1aa8b0(0x16b)](exports,_0x3b2220)&&Object[_0x1aa8b0(0x15b)](exports,_0x3b2220,{'enumerable':!0x0,'get':()=>t[_0x3b2220]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x4a62(_0x252b93,_0x5163bc){const _0x2a9835=_0x2a98();return _0x4a62=function(_0x4a623f,_0x18c164){_0x4a623f=_0x4a623f-0x170;let _0x176e97=_0x2a9835[_0x4a623f];return _0x176e97;},_0x4a62(_0x252b93,_0x5163bc);}const _0xb93bd3=_0x4a62;(function(_0x29f050,_0x1e2d20){const _0x46b642=_0x4a62,_0x2d14d8=_0x29f050();while(!![]){try{const _0x335d69=-parseInt(_0x46b642(0x18c))/0x1*(-parseInt(_0x46b642(0x1f8))/0x2)+parseInt(_0x46b642(0x216))/0x3*(-parseInt(_0x46b642(0x196))/0x4)+-parseInt(_0x46b642(0x1b8))/0x5*(-parseInt(_0x46b642(0x183))/0x6)+-parseInt(_0x46b642(0x1d7))/0x7*(-parseInt(_0x46b642(0x1ba))/0x8)+parseInt(_0x46b642(0x1d6))/0x9*(-parseInt(_0x46b642(0x1e4))/0xa)+parseInt(_0x46b642(0x1ac))/0xb*(parseInt(_0x46b642(0x1ee))/0xc)+-parseInt(_0x46b642(0x18a))/0xd*(parseInt(_0x46b642(0x179))/0xe);if(_0x335d69===_0x1e2d20)break;else _0x2d14d8['push'](_0x2d14d8['shift']());}catch(_0x348785){_0x2d14d8['push'](_0x2d14d8['shift']());}}}(_0x2a98,0xc7b3d));var N=Object[_0xb93bd3(0x1a3)],H=(_0x420c64,_0x5c291c,_0x4af729)=>_0x5c291c in _0x420c64?N(_0x420c64,_0x5c291c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4af729}):_0x420c64[_0x5c291c]=_0x4af729,C=(_0x101d21,_0xbad1d6,_0x5a7629)=>H(_0x101d21,typeof _0xbad1d6!=_0xb93bd3(0x18b)?_0xbad1d6+'':_0xbad1d6,_0x5a7629);Object[_0xb93bd3(0x1a3)](exports,Symbol['toStringTag'],{'value':_0xb93bd3(0x22b)});const T=require(_0xb93bd3(0x1cc)),F=require('@univerjs/core'),u=require(_0xb93bd3(0x225)),k={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},V=_0xb93bd3(0x1fa);class B extends u[_0xb93bd3(0x228)]{constructor(){super(...arguments),C(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x426677=_0xb93bd3;super[_0x426677(0x1eb)](),this[_0x426677(0x20d)][_0x426677(0x1e0)]();}async[_0xb93bd3(0x20f)](){const _0x452844=_0xb93bd3;this[_0x452844(0x1b5)]();const _0x56edce=this[_0x452844(0x1ad)]['getFormulaData'](),_0x485c5a=this[_0x452844(0x1c2)][_0x452844(0x189)](),_0x2b22f6=this[_0x452844(0x1ad)]['getClearDependencyTreeCache']();_0x2b22f6!=null&&Object[_0x452844(0x1e1)](_0x2b22f6)[_0x452844(0x188)](_0x6e02e=>{const _0x150434=_0x452844;_0x6e02e!=null&&Object[_0x150434(0x1e1)](_0x2b22f6[_0x6e02e])['forEach'](_0x776e53=>{const _0x377aaa=_0x150434;_0x776e53!=null&&(this[_0x377aaa(0x22d)][_0x377aaa(0x1a7)](_0x6e02e,_0x776e53),this[_0x377aaa(0x22d)][_0x377aaa(0x198)](_0x6e02e,_0x776e53),this[_0x377aaa(0x22d)][_0x377aaa(0x1a8)](_0x6e02e,_0x776e53));});});const _0xabb60e=this[_0x452844(0x1ad)][_0x452844(0x1df)]();await this[_0x452844(0x22c)](_0x56edce,_0x485c5a,_0xabb60e),this[_0x452844(0x22d)][_0x452844(0x1bc)]();const _0x2b8f54=this['_getUpdateTreeListAndMakeDependency'](),_0x4d55e2=this['_calculateRunList'](_0x2b8f54);return this[_0x452844(0x1ed)](_0x4d55e2)&&this[_0x452844(0x1a6)][_0x452844(0x212)](),this[_0x452844(0x20d)][_0x452844(0x1e0)](),this['_dependencyRTreeCacheForAddressFunction'][_0x452844(0x1e0)](),this['_dependencyManagerService'][_0x452844(0x17e)](),Promise[_0x452844(0x1a9)](_0x4d55e2);}[_0xb93bd3(0x1ce)](_0x290297,_0x196d74){const _0x5e9e2a=_0xb93bd3,_0x1dd45d=[_0x290297];for(;_0x1dd45d[_0x5e9e2a(0x204)]>0x0;){const _0x36f814=_0x1dd45d[_0x1dd45d[_0x5e9e2a(0x204)]-0x1];if((_0x196d74[_0x5e9e2a(0x1b4)](_0x36f814)||0x0)===0x0){_0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x1);const _0x28b5f7=this[_0x5e9e2a(0x20d)][_0x5e9e2a(0x1b4)](_0x36f814);if(_0x28b5f7==null){_0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x2),_0x1dd45d['pop']();continue;}const _0x3a4c5a=this[_0x5e9e2a(0x22d)][_0x5e9e2a(0x21b)](_0x28b5f7[_0x5e9e2a(0x186)]());for(const _0x46eae2 of _0x3a4c5a){const _0x5b7c29=_0x196d74[_0x5e9e2a(0x1b4)](_0x46eae2)||0x0;if(_0x5b7c29===0x1)return!0x0;_0x5b7c29===0x0&&_0x1dd45d[_0x5e9e2a(0x21e)](_0x46eae2);}}else _0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x2),_0x1dd45d[_0x5e9e2a(0x1fb)]();}return!0x1;}['_checkIsCycleDependency'](_0x2c702d){const _0x2e86d2=_0xb93bd3,_0xcb300c=new Map();for(const _0x435d26 of _0x2c702d)if(!_0xcb300c['has'](_0x435d26[_0x2e86d2(0x22e)])&&this[_0x2e86d2(0x1ce)](_0x435d26[_0x2e86d2(0x22e)],_0xcb300c))return!0x0;return _0xcb300c[_0x2e86d2(0x1e0)](),!0x1;}[_0xb93bd3(0x17a)](_0x56f7d0,_0x319f46,_0x48f5a6){const _0x364c60=_0xb93bd3,{unitId:_0xf5cca8,subUnitId:_0x258b00,dependencyRanges:_0xaf01c1,getDirtyData:_0x42e788}=_0x48f5a6,_0x144fca=_0x319f46||u[_0x364c60(0x1ea)](this[_0x364c60(0x22d)]),_0x5c0317=new u[(_0x364c60(0x173))](_0x144fca);_0x5c0317[_0x364c60(0x1db)]=_0xf5cca8,_0x5c0317[_0x364c60(0x1ff)]=_0x258b00,_0x5c0317[_0x364c60(0x1b2)]=_0xaf01c1,_0x5c0317['getDirtyData']=_0x42e788;const _0x341a5c=_0x42e788(this[_0x364c60(0x1ad)][_0x364c60(0x1dd)](),this[_0x364c60(0x1a6)][_0x364c60(0x21c)]()),_0x4768ae=this['_convertDirtyRangesToUnitRange'](_0x341a5c[_0x364c60(0x176)]);return _0x5c0317['featureDirtyRanges']=_0x4768ae,_0x5c0317[_0x364c60(0x1e2)]=_0x56f7d0,_0x5c0317[_0x364c60(0x1a2)]=u[_0x364c60(0x1f6)][_0x364c60(0x22a)],this[_0x364c60(0x22d)]['addFeatureFormulaDependency'](_0xf5cca8,_0x258b00,_0x56f7d0,_0x5c0317),this[_0x364c60(0x20d)][_0x364c60(0x19a)](_0x5c0317[_0x364c60(0x22e)],_0x5c0317),this[_0x364c60(0x22d)][_0x364c60(0x1d1)](_0x48f5a6[_0x364c60(0x1db)],_0x48f5a6[_0x364c60(0x1ff)],_0x56f7d0)&&(_0x5c0317[_0x364c60(0x193)]=!0x0),_0x5c0317;}[_0xb93bd3(0x1bd)](_0x169729,_0x505f89,_0x579c4f){const _0x265f14=_0xb93bd3;var _0x42ef9c;for(const _0x55d5a5 of _0x505f89){const _0xf7b1f=_0x169729[_0x55d5a5];if(_0xf7b1f==null)continue;const _0x4add53=Object[_0x265f14(0x1e1)](_0xf7b1f);for(const _0x1ee424 of _0x4add53){const _0x1a3c97=_0xf7b1f[_0x1ee424];if(_0x1a3c97==null)continue;const _0x3fa44f=Object[_0x265f14(0x1e1)](_0x1a3c97);for(const _0xeeb1d3 of _0x3fa44f){const _0x4fcea3=this[_0x265f14(0x22d)][_0x265f14(0x17f)](_0xeeb1d3),_0x575314=_0x1a3c97[_0xeeb1d3],{f:_0x314a56,ranges:_0x3e3a55}=_0x575314;let _0x232628=!0x1;_0x4fcea3&&(_0x232628=!0x0);const {firstRow:_0x50e315,firstColumn:_0x53e51b}=this[_0x265f14(0x192)](_0x3e3a55),_0x1354cb=this[_0x265f14(0x22d)]['getOtherFormulaDependency'](_0x55d5a5,_0x1ee424,_0xeeb1d3),_0x3abf2c=(_0x42ef9c=_0x1354cb==null?void 0x0:_0x1354cb[_0x265f14(0x1d8)](0x0,0x0))!=null?_0x42ef9c:u['generateRandomDependencyTreeId'](this[_0x265f14(0x22d)]),_0x3dcac4=new u[(_0x265f14(0x173))](_0x3abf2c);for(let _0xa96ca=0x0;_0xa96ca<_0x3e3a55[_0x265f14(0x204)];_0xa96ca++){const _0x3cc8f9=_0x3e3a55[_0xa96ca],{startRow:_0x4cdc7b,startColumn:_0xfc3654,endRow:_0x305c0d,endColumn:_0x39ceb2}=_0x3cc8f9;for(let _0x1a431d=_0x4cdc7b;_0x1a431d<=_0x305c0d;_0x1a431d++)for(let _0x2bfd9b=_0xfc3654;_0x2bfd9b<=_0x39ceb2;_0x2bfd9b++){const _0xcb1dcc=_0x2bfd9b-_0x53e51b,_0x24d8dc=_0x1a431d-_0x50e315;if(_0xcb1dcc===0x0&&_0x24d8dc===0x0){_0x3dcac4['formula']=_0x314a56,_0x3dcac4[_0x265f14(0x1db)]=_0x55d5a5,_0x3dcac4[_0x265f14(0x1ff)]=_0x1ee424,_0x3dcac4['formulaId']=_0xeeb1d3,_0x3dcac4[_0x265f14(0x1a2)]=u[_0x265f14(0x1f6)]['OTHER_FORMULA'],_0x3dcac4[_0x265f14(0x193)]=_0x232628,_0x579c4f['push'](_0x3dcac4),this[_0x265f14(0x20d)]['set'](_0x3dcac4[_0x265f14(0x22e)],_0x3dcac4),this[_0x265f14(0x22d)][_0x265f14(0x17c)](_0x55d5a5,_0x1ee424,_0xeeb1d3,_0x3dcac4),this['_dependencyManagerService'][_0x265f14(0x197)](_0x3dcac4);continue;}const _0x3e3343=new u[(_0x265f14(0x1dc))]();_0x3e3343[_0x265f14(0x22e)]=(_0x1354cb==null?void 0x0:_0x1354cb[_0x265f14(0x1d8)](_0xcb1dcc,_0x24d8dc))||u[_0x265f14(0x1ea)](this['_dependencyManagerService']),_0x3e3343[_0x265f14(0x223)]=_0x3dcac4,_0x3e3343['refOffsetX']=_0xcb1dcc,_0x3e3343[_0x265f14(0x229)]=_0x24d8dc,_0x3e3343[_0x265f14(0x193)]=_0x232628,this[_0x265f14(0x22d)][_0x265f14(0x17c)](_0x55d5a5,_0x1ee424,_0xeeb1d3,_0x3e3343),this[_0x265f14(0x22d)][_0x265f14(0x197)](_0x3e3343),_0x579c4f[_0x265f14(0x21e)](_0x3e3343),this[_0x265f14(0x20d)][_0x265f14(0x19a)](_0x3e3343[_0x265f14(0x22e)],_0x3e3343);}}this[_0x265f14(0x22d)][_0x265f14(0x1f2)](_0xeeb1d3);}}}}[_0xb93bd3(0x1c0)](_0x52800d,_0x54c50a,_0x108d5a,_0x120ed9){const _0x410b3a=_0xb93bd3;for(const _0x5844cf of _0x52800d){const _0x307fb8=_0x54c50a[_0x5844cf];if(_0x307fb8==null)continue;const _0x28eeb0=Object['keys'](_0x307fb8);for(const _0x322200 of _0x28eeb0){const _0x213bb3=new F[(_0x410b3a(0x1fe))](_0x307fb8[_0x322200]||{}),_0x4be2b0=new Map();_0x213bb3[_0x410b3a(0x1a4)]((_0xcaa670,_0x1b8e68,_0x1b9231)=>{const _0x25177e=_0x410b3a;if(_0x1b9231==null)return!0x0;const {x:_0x4911fe=0x0,y:_0x16248=0x0,si:_0x303455}=_0x1b9231;if(!(_0x4911fe===0x0&&_0x16248===0x0&&_0x303455!=null))return!0x0;const _0x411325=this['_createFDtree'](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68,_0x108d5a,_0x1b9231),_0x1de956=this[_0x25177e(0x22d)]['getFormulaDependency'](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68);_0x1de956!=null?_0x411325['treeId']=_0x1de956:(this['_dependencyManagerService'][_0x25177e(0x1cf)](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68,_0x411325),this['_dependencyManagerService'][_0x25177e(0x197)](_0x411325)),_0x4be2b0[_0x25177e(0x19a)](_0x303455,_0x411325),_0x120ed9[_0x25177e(0x21e)](_0x411325),this['_dependencyTreeCache']['set'](_0x411325[_0x25177e(0x22e)],_0x411325);}),_0x213bb3['forValue']((_0x3eba50,_0x43be72,_0x18ede7)=>{const _0x5d6827=_0x410b3a;if(_0x18ede7==null)return!0x0;const {x:_0x4b15d5=0x0,y:_0x138392=0x0,si:_0x5e7b07}=_0x18ede7;if(_0x4b15d5===0x0&&_0x138392===0x0&&_0x5e7b07!=null)return!0x0;let _0xaab182;if(_0x5e7b07&&_0x4be2b0[_0x5d6827(0x1bb)](_0x5e7b07)){const _0x251e29=_0x4be2b0[_0x5d6827(0x1b4)](_0x5e7b07);_0xaab182=this[_0x5d6827(0x174)](_0x251e29,_0x18ede7);}else _0xaab182=this[_0x5d6827(0x20a)](_0x5844cf,_0x322200,_0x3eba50,_0x43be72,_0x108d5a,_0x18ede7);const _0x38999e=this[_0x5d6827(0x22d)][_0x5d6827(0x1af)](_0x5844cf,_0x322200,_0x3eba50,_0x43be72);_0x38999e!=null?_0xaab182['treeId']=_0x38999e:(this[_0x5d6827(0x22d)]['addFormulaDependency'](_0x5844cf,_0x322200,_0x3eba50,_0x43be72,_0xaab182),this['_dependencyManagerService'][_0x5d6827(0x197)](_0xaab182)),_0x120ed9[_0x5d6827(0x21e)](_0xaab182),this[_0x5d6827(0x20d)][_0x5d6827(0x19a)](_0xaab182['treeId'],_0xaab182);}),_0x4be2b0[_0x410b3a(0x1e0)]();}}}[_0xb93bd3(0x20a)](_0x101367,_0x5b1e2f,_0x5b89d4,_0x1b05c8,_0x13c824,_0xb0dd10){const _0x5c5b47=_0xb93bd3,{f:_0x34d24b,x:_0x53205a=0x0,y:_0x4c16df=0x0}=_0xb0dd10,_0x38f1e3=new u[(_0x5c5b47(0x173))](u[_0x5c5b47(0x1ea)](this[_0x5c5b47(0x22d)])),_0x452b2b=_0x13c824[_0x101367][_0x5b1e2f];return _0x38f1e3[_0x5c5b47(0x218)]=_0x34d24b,_0x38f1e3[_0x5c5b47(0x1db)]=_0x101367,_0x38f1e3[_0x5c5b47(0x1ff)]=_0x5b1e2f,_0x38f1e3[_0x5c5b47(0x206)]=_0x5b89d4,_0x38f1e3[_0x5c5b47(0x178)]=_0x1b05c8,_0x38f1e3[_0x5c5b47(0x20c)]=_0x452b2b[_0x5c5b47(0x20c)],_0x38f1e3[_0x5c5b47(0x182)]=_0x452b2b[_0x5c5b47(0x182)],_0x38f1e3;}[_0xb93bd3(0x1ec)](){const _0x2c64ca=_0xb93bd3,_0x5aa7fb=[],_0x1ec3f5=new Set(),_0x389235=this[_0x2c64ca(0x1ad)][_0x2c64ca(0x1e3)](),_0x5b343c=this[_0x2c64ca(0x1ad)]['getDirtyRanges'](),_0x47b3ac=this[_0x2c64ca(0x22d)][_0x2c64ca(0x21b)](_0x5b343c),_0x53bd89=this[_0x2c64ca(0x20e)][_0x2c64ca(0x226)](_0x5b343c);for(const _0x10c44c of _0x53bd89)_0x47b3ac[_0x2c64ca(0x1d4)](_0x10c44c);for(const [_0x565aa5,_0x1b4fdd]of this['_dependencyTreeCache'])(_0x389235||_0x1b4fdd[_0x2c64ca(0x19c)]||_0x1b4fdd[_0x2c64ca(0x1ca)](this[_0x2c64ca(0x1ad)]['getDirtyNameMap']())||_0x47b3ac[_0x2c64ca(0x1bb)](_0x565aa5)&&!_0x1b4fdd[_0x2c64ca(0x1a0)](this[_0x2c64ca(0x1ad)]['getExcludedRange']()))&&!_0x1ec3f5[_0x2c64ca(0x1bb)](_0x565aa5)&&(_0x5aa7fb[_0x2c64ca(0x21e)](_0x1b4fdd),_0x1ec3f5[_0x2c64ca(0x1d4)](_0x565aa5));for(const [_0x227a35,_0x22d24d]of this[_0x2c64ca(0x20d)])_0x22d24d[_0x2c64ca(0x221)]||(_0x22d24d[_0x2c64ca(0x1b2)][_0x2c64ca(0x204)]=0x0);return _0x5aa7fb;}['_getTreeById'](_0x5acbdf){const _0x445ccf=_0xb93bd3;return this['_dependencyTreeCache'][_0x445ccf(0x1b4)](_0x5acbdf);}[_0xb93bd3(0x1c9)](_0x5e88ed){const _0x3ed3eb=_0xb93bd3;return u[_0x3ed3eb(0x191)](_0x5e88ed[_0x3ed3eb(0x1db)],_0x5e88ed[_0x3ed3eb(0x218)],this[_0x3ed3eb(0x1c8)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0xb93bd3(0x1de)](_0x1b6fd9,_0x53dca5){const _0x5af70b=_0xb93bd3,_0xa6163d=_0x1b6fd9,_0x5f48b7=new Set();for(;_0xa6163d['length']>0x0;){const _0x4aa6e0=_0xa6163d[_0x5af70b(0x1fb)]();if(_0x5f48b7[_0x5af70b(0x1e0)](),_0x4aa6e0===void 0x0||_0x4aa6e0[_0x5af70b(0x21f)]())continue;if(_0x4aa6e0[_0x5af70b(0x18d)]()){yield _0x4aa6e0,_0x4aa6e0[_0x5af70b(0x18f)](),_0x53dca5[_0x5af70b(0x1d4)](_0x4aa6e0[_0x5af70b(0x22e)]);continue;}const _0x3fd03d=this[_0x5af70b(0x22d)]['searchDependency'](_0x4aa6e0[_0x5af70b(0x186)](),_0x53dca5),_0x19a8d6=this[_0x5af70b(0x20e)]['bulkSearch'](_0x4aa6e0[_0x5af70b(0x186)](),_0x53dca5);for(const _0x3a1759 of _0x19a8d6)_0x3fd03d[_0x5af70b(0x1d4)](_0x3a1759);for(const _0x184304 of _0x3fd03d){const _0x504ba7=this[_0x5af70b(0x20d)][_0x5af70b(0x1b4)](_0x184304);if(!_0x504ba7)throw new Error(_0x5af70b(0x1e8));_0x504ba7[_0x5af70b(0x18d)]()||_0x4aa6e0[_0x5af70b(0x21f)]()||_0x5f48b7[_0x5af70b(0x1d4)](_0x504ba7);}if(_0x3fd03d[_0x5af70b(0x1e0)](),_0x5f48b7[_0x5af70b(0x170)]===0x0)yield _0x4aa6e0,_0x4aa6e0[_0x5af70b(0x18f)](),_0x53dca5['add'](_0x4aa6e0[_0x5af70b(0x22e)]);else{_0x4aa6e0[_0x5af70b(0x18e)](),_0xa6163d[_0x5af70b(0x21e)](_0x4aa6e0);for(const _0x14d407 of _0x5f48b7)_0xa6163d[_0x5af70b(0x21e)](_0x14d407);}}_0xa6163d[_0x5af70b(0x204)]=0x0,_0x5f48b7['clear']();}['_calculateRunList'](_0x51e7b5){const _0x23b503=_0xb93bd3,_0x44bbaf=[],_0x3e477a=new Set();for(const _0x1dbf24 of this[_0x23b503(0x1de)](_0x51e7b5,_0x3e477a))_0x44bbaf[_0x23b503(0x21e)](_0x1dbf24);return _0x44bbaf;}}class j extends u[_0xb93bd3(0x180)]{async[_0xb93bd3(0x209)](_0x3b447a=!0x1){const _0x50939e=_0xb93bd3;_0x3b447a?this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x50939e(0x207)]):this[_0x50939e(0x1a6)][_0x50939e(0x175)](u[_0x50939e(0x194)][_0x50939e(0x1a5)]),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this[_0x50939e(0x1a6)]['getRuntimeState']());const _0x96c169=await this[_0x50939e(0x217)]['generate'](),_0x55f0f4=this[_0x50939e(0x21d)];_0x3b447a?(this['_runtimeService'][_0x50939e(0x175)](u[_0x50939e(0x194)][_0x50939e(0x19d)]),this[_0x50939e(0x1a6)][_0x50939e(0x213)](_0x96c169['length'])):(this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u[_0x50939e(0x194)]['START_CALCULATION']),this[_0x50939e(0x1a6)][_0x50939e(0x220)](_0x96c169[_0x50939e(0x204)])),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this[_0x50939e(0x1a6)]['getRuntimeState']());let _0x19256a=[];const _0x21b8eb=this[_0x50939e(0x1ae)]['getConfig'](u[_0x50939e(0x1bf)]),_0x3ce597=(_0x21b8eb==null?void 0x0:_0x21b8eb['intervalCount'])||u[_0x50939e(0x214)];let _0x151e0e=0x0;const _0x41f2d7=_0x96c169['length'];for(;_0x96c169[_0x50939e(0x204)]>0x0;){const _0x2adec5=_0x96c169[_0x50939e(0x1fb)](),_0xd4da1f={'node':u[_0x50939e(0x191)](_0x2adec5[_0x50939e(0x1db)],_0x2adec5['formula'],this[_0x50939e(0x1c8)],this['_astTreeBuilder'],this[_0x50939e(0x1ad)]),'refOffsetX':_0x2adec5[_0x50939e(0x1d2)],'refOffsetY':_0x2adec5[_0x50939e(0x229)]},_0x136729=_0x2adec5[_0x50939e(0x1dd)];if(_0x151e0e%_0x3ce597===0x0&&(await new Promise(_0x3dd0e5=>{const _0x26a822=_0x50939e,_0x2ca5dd=F[_0x26a822(0x205)](_0x3dd0e5);_0x19256a[_0x26a822(0x21e)](_0x2ca5dd);}),_0x3b447a?(this[_0x50939e(0x1a6)][_0x50939e(0x175)](u['FormulaExecuteStageType'][_0x50939e(0x1cd)]),this[_0x50939e(0x1a6)]['setCompletedArrayFormulasCount'](_0x151e0e+0x1)):(this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u[_0x50939e(0x194)]['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x50939e(0x201)](_0x151e0e+0x1)),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this['_runtimeService'][_0x50939e(0x203)]()),this[_0x50939e(0x1a6)][_0x50939e(0x1c6)]()||_0xd4da1f==null&&_0x136729==null)){this['_runtimeService']['setFormulaExecuteStage'](u[_0x50939e(0x194)][_0x50939e(0x1b1)]),this[_0x50939e(0x1a6)][_0x50939e(0x1a1)](),this[_0x50939e(0x202)][_0x50939e(0x222)](this['_runtimeService'][_0x50939e(0x21c)]());return;}this[_0x50939e(0x1a6)][_0x50939e(0x210)](_0x2adec5[_0x50939e(0x206)],_0x2adec5[_0x50939e(0x178)],_0x2adec5[_0x50939e(0x20c)],_0x2adec5['columnCount'],_0x2adec5[_0x50939e(0x1ff)],_0x2adec5[_0x50939e(0x1db)]);let _0x42872f;if(_0x136729!=null&&_0x2adec5['featureId']!=null){const {runtimeCellData:_0x39b31a,dirtyRanges:_0x4d65c3}=_0x136729(this['_currentConfigService']['getDirtyData'](),this[_0x50939e(0x1a6)][_0x50939e(0x21c)]());this['_runtimeService'][_0x50939e(0x1f7)](_0x2adec5[_0x50939e(0x1e2)],_0x39b31a),this[_0x50939e(0x1a6)][_0x50939e(0x1d3)](_0x2adec5[_0x50939e(0x1e2)],_0x4d65c3);}else _0xd4da1f!=null&&(_0x55f0f4['checkAsyncNode'](_0xd4da1f['node'])?_0x42872f=await _0x55f0f4[_0x50939e(0x1f4)](_0xd4da1f):_0x42872f=_0x55f0f4[_0x50939e(0x19f)](_0xd4da1f),_0x2adec5[_0x50939e(0x1aa)]!=null?this[_0x50939e(0x1a6)][_0x50939e(0x211)](_0x2adec5[_0x50939e(0x1aa)],_0x2adec5[_0x50939e(0x1d2)],_0x2adec5['refOffsetY'],_0x42872f):this[_0x50939e(0x1a6)][_0x50939e(0x172)](_0x42872f));_0x151e0e++;}return _0x19256a[_0x50939e(0x188)](_0x2400a0=>_0x2400a0()),_0x19256a=[],_0x41f2d7>0x0?this[_0x50939e(0x1a6)]['markedAsSuccessfullyExecuted']():_0x3b447a||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x50939e(0x21c)]();}}class Y extends u[_0xb93bd3(0x1b7)]{constructor(){const _0x518e9c=_0xb93bd3;super(...arguments),C(this,_0x518e9c(0x1b9),new Map()),C(this,_0x518e9c(0x1b3),new F[(_0x518e9c(0x195))](!0x0));}[_0xb93bd3(0x219)](){const _0x151903=_0xb93bd3;this[_0x151903(0x208)][_0x151903(0x1e0)](),this['_featureFormulaData'][_0x151903(0x1e0)](),this['_formulaData'][_0x151903(0x1e0)](),this[_0x151903(0x1b3)][_0x151903(0x1e0)](),this[_0x151903(0x1b9)][_0x151903(0x1e0)](),this[_0x151903(0x1f3)](),this[_0x151903(0x1c7)]['clear']();}[_0xb93bd3(0x17c)](_0x578664,_0x295bb5,_0x5899ff,_0x1740ea){const _0x516209=_0xb93bd3;this[_0x516209(0x208)][_0x516209(0x1bb)](_0x578664)||this['_otherFormulaData'][_0x516209(0x19a)](_0x578664,new Map());const _0x95e9da=this[_0x516209(0x208)][_0x516209(0x1b4)](_0x578664);_0x95e9da[_0x516209(0x1bb)](_0x295bb5)||_0x95e9da['set'](_0x295bb5,new Map());const _0x2e99d6=_0x95e9da[_0x516209(0x1b4)](_0x295bb5);_0x2e99d6[_0x516209(0x1bb)](_0x5899ff)||_0x2e99d6[_0x516209(0x19a)](_0x5899ff,new F[(_0x516209(0x1fe))]()),_0x2e99d6[_0x516209(0x1b4)](_0x5899ff)[_0x516209(0x1cb)](_0x1740ea['refOffsetX'],_0x1740ea[_0x516209(0x229)],_0x1740ea[_0x516209(0x22e)]);}['removeOtherFormulaDependency'](_0x3d356f,_0x4e9351,_0x49e0b3){const _0x1a3f33=_0xb93bd3,_0x3147ba=this['_otherFormulaData'][_0x1a3f33(0x1b4)](_0x3d356f);if(_0x3147ba&&_0x3147ba[_0x1a3f33(0x1bb)](_0x4e9351)){const _0x4e65d5=_0x3147ba['get'](_0x4e9351);_0x49e0b3[_0x1a3f33(0x188)](_0x1452c3=>{const _0x14e122=_0x1a3f33,_0x5db79e=_0x4e65d5['get'](_0x1452c3);_0x5db79e!=null&&(_0x5db79e[_0x14e122(0x1a4)]((_0x248a79,_0x270554,_0x417037)=>{const _0x5a7886=_0x14e122;this[_0x5a7886(0x185)](_0x417037),this[_0x5a7886(0x1d0)](_0x417037);}),_0x4e65d5[_0x14e122(0x181)](_0x1452c3),this[_0x14e122(0x1c7)][_0x14e122(0x181)](_0x1452c3));}),_0x4e65d5[_0x1a3f33(0x170)]===0x0&&_0x3147ba[_0x1a3f33(0x181)](_0x4e9351),_0x3147ba[_0x1a3f33(0x170)]===0x0&&this['_otherFormulaData'][_0x1a3f33(0x181)](_0x3d356f);}}['clearOtherFormulaDependency'](_0x4168f9,_0x16fc88){const _0x3afab0=_0xb93bd3,_0x5b1699=this[_0x3afab0(0x208)][_0x3afab0(0x1b4)](_0x4168f9);if(_0x16fc88&&_0x5b1699&&_0x5b1699[_0x3afab0(0x1bb)](_0x16fc88)){const _0x1a5ed7=_0x5b1699[_0x3afab0(0x1b4)](_0x16fc88);this[_0x3afab0(0x1e7)](_0x4168f9,_0x16fc88);for(const _0x5850ab of _0x1a5ed7['keys']()){const _0x3ed219=_0x1a5ed7['get'](_0x5850ab);_0x3ed219!=null&&(_0x3ed219[_0x3afab0(0x1a4)]((_0x14bebc,_0x495784,_0x33dfe4)=>{const _0x4651d6=_0x3afab0;this[_0x4651d6(0x1b9)][_0x4651d6(0x1b4)](_0x33dfe4)&&this['_removeAllTreeMap'](_0x33dfe4);}),this['_otherFormulaDataMainData'][_0x3afab0(0x181)](_0x5850ab));}_0x1a5ed7[_0x3afab0(0x1e0)]();}else{if(_0x5b1699){for(const _0x5639a9 of _0x5b1699[_0x3afab0(0x1e1)]()){const _0x1db199=_0x5b1699[_0x3afab0(0x1b4)](_0x5639a9);this[_0x3afab0(0x1e7)](_0x4168f9,_0x5639a9);for(const _0x5f05e5 of _0x1db199['keys']()){const _0xbe1170=_0x1db199[_0x3afab0(0x1b4)](_0x5f05e5);_0xbe1170!=null&&(_0xbe1170['forValue']((_0x2851c6,_0x341470,_0x3930f5)=>{const _0x2e151c=_0x3afab0;this[_0x2e151c(0x1b9)][_0x2e151c(0x1b4)](_0x3930f5)&&this[_0x2e151c(0x1d0)](_0x3930f5);}),this['_otherFormulaDataMainData'][_0x3afab0(0x181)](_0x5f05e5));}}this[_0x3afab0(0x208)][_0x3afab0(0x181)](_0x4168f9);}}}['addFeatureFormulaDependency'](_0x237ffb,_0x3d1c18,_0xd3ba8b,_0x5d3a09){const _0x3b6391=_0xb93bd3;this[_0x3b6391(0x1ef)][_0x3b6391(0x1bb)](_0x237ffb)||this[_0x3b6391(0x1ef)][_0x3b6391(0x19a)](_0x237ffb,new Map());const _0x5d27d4=this[_0x3b6391(0x1ef)]['get'](_0x237ffb);_0x5d27d4[_0x3b6391(0x1bb)](_0x3d1c18)||_0x5d27d4[_0x3b6391(0x19a)](_0x3d1c18,new Map()),_0x5d27d4[_0x3b6391(0x1b4)](_0x3d1c18)[_0x3b6391(0x19a)](_0xd3ba8b,_0x5d3a09[_0x3b6391(0x22e)]);}[_0xb93bd3(0x200)](_0x22a2ab,_0x220528,_0x4cd84c){const _0xe774f1=_0xb93bd3,_0x3b0d07=this['_featureFormulaData'][_0xe774f1(0x1b4)](_0x22a2ab);if(_0x3b0d07&&_0x3b0d07[_0xe774f1(0x1bb)](_0x220528)){const _0x5bc4e8=_0x3b0d07[_0xe774f1(0x1b4)](_0x220528);_0x4cd84c['forEach'](_0x52002d=>{const _0x640eed=_0xe774f1,_0x1c62b9=_0x5bc4e8['get'](_0x52002d);_0x1c62b9!=null&&(this[_0x640eed(0x185)](_0x1c62b9),_0x5bc4e8[_0x640eed(0x181)](_0x52002d),this['_removeAllTreeMap'](_0x1c62b9));});}}[_0xb93bd3(0x198)](_0x3b4c5c,_0x1e00c1){const _0x3a0f90=_0xb93bd3,_0x4e3548=this[_0x3a0f90(0x1ef)]['get'](_0x3b4c5c);if(_0x1e00c1&&_0x4e3548&&_0x4e3548[_0x3a0f90(0x1bb)](_0x1e00c1)){const _0x45142b=_0x4e3548[_0x3a0f90(0x1b4)](_0x1e00c1);this[_0x3a0f90(0x1e7)](_0x3b4c5c,_0x1e00c1),_0x45142b[_0x3a0f90(0x188)](_0x264ebe=>{const _0x9b88cc=_0x3a0f90;_0x264ebe!=null&&this[_0x9b88cc(0x1d0)](_0x264ebe);}),_0x45142b[_0x3a0f90(0x1e0)]();}else _0x4e3548&&(_0x4e3548[_0x3a0f90(0x188)]((_0x2b1ff7,_0x2701dc)=>{this['_removeDependencyRTreeCacheById'](_0x3b4c5c,_0x2701dc),_0x2b1ff7['forEach'](_0x33b161=>{const _0x98a42e=_0x4a62;_0x33b161!=null&&this[_0x98a42e(0x1d0)](_0x33b161);});}),this[_0x3a0f90(0x1ef)]['delete'](_0x3b4c5c));}[_0xb93bd3(0x1cf)](_0x38d9b0,_0x52ebd8,_0x1742ff,_0x491b6f,_0x517f43){const _0x122d6e=_0xb93bd3;this[_0x122d6e(0x190)]['has'](_0x38d9b0)||this[_0x122d6e(0x190)][_0x122d6e(0x19a)](_0x38d9b0,new Map());const _0x30da77=this['_formulaData'][_0x122d6e(0x1b4)](_0x38d9b0);_0x30da77[_0x122d6e(0x1bb)](_0x52ebd8)||_0x30da77[_0x122d6e(0x19a)](_0x52ebd8,new F[(_0x122d6e(0x1fe))]()),_0x30da77[_0x122d6e(0x1b4)](_0x52ebd8)[_0x122d6e(0x1cb)](_0x1742ff,_0x491b6f,_0x517f43[_0x122d6e(0x22e)]);}[_0xb93bd3(0x17b)](_0x5dca8a,_0x2da7b8,_0x30590d,_0x59f98a){const _0x465846=_0xb93bd3,_0x1a32d8=this[_0x465846(0x190)][_0x465846(0x1b4)](_0x5dca8a);if(_0x1a32d8&&_0x1a32d8[_0x465846(0x1bb)](_0x2da7b8)){const _0x2eb13b=_0x1a32d8['get'](_0x2da7b8),_0x10b869=_0x2eb13b[_0x465846(0x1d8)](_0x30590d,_0x59f98a);if(_0x10b869==null)return;this[_0x465846(0x185)](_0x10b869),_0x2eb13b[_0x465846(0x17d)](_0x30590d,_0x59f98a),this[_0x465846(0x1d0)](_0x10b869);}}[_0xb93bd3(0x1a8)](_0x15ce5b,_0x56a8e0){const _0x4323d2=_0xb93bd3,_0x5cfd07=this['_formulaData']['get'](_0x15ce5b);if(_0x56a8e0&&_0x5cfd07&&_0x5cfd07['has'](_0x56a8e0)){const _0x32dbd5=_0x5cfd07['get'](_0x56a8e0);this[_0x4323d2(0x1e7)](_0x15ce5b,_0x56a8e0),_0x32dbd5[_0x4323d2(0x1a4)]((_0x2875ec,_0x2b8693,_0x21d979)=>{const _0x422ba9=_0x4323d2;if(_0x21d979==null)return!0x0;this[_0x422ba9(0x1d0)](_0x21d979);}),_0x32dbd5[_0x4323d2(0x219)]();}else _0x5cfd07&&(_0x5cfd07[_0x4323d2(0x188)]((_0x2bcbfa,_0x333df4)=>{const _0x252b5c=_0x4323d2;this['_removeDependencyRTreeCacheById'](_0x15ce5b,_0x333df4),_0x2bcbfa[_0x252b5c(0x1a4)]((_0x3ee247,_0x2991a7,_0x3705d8)=>{const _0x195726=_0x252b5c;if(_0x3705d8==null)return!0x0;this[_0x195726(0x1d0)](_0x3705d8);});}),this['_formulaData'][_0x4323d2(0x181)](_0x15ce5b));}[_0xb93bd3(0x185)](_0x54b110){const _0x27c3e7=_0xb93bd3;if(_0x54b110==null)return;const _0x3a952b=this[_0x27c3e7(0x1b9)][_0x27c3e7(0x1b4)](_0x54b110);if(_0x3a952b){const _0x4d7d5e=[];for(const [_0x9a5aa6,_0x3ae29c]of _0x3a952b)for(const [_0x2dcec0,_0x5b9b6a]of _0x3ae29c)_0x4d7d5e['push']({'unitId':_0x9a5aa6,'sheetId':_0x2dcec0,'range':_0x5b9b6a,'id':_0x54b110});this[_0x27c3e7(0x1b3)]['bulkRemove'](_0x4d7d5e);}}[_0xb93bd3(0x1c1)](_0x330835,_0x41bd7a){const _0x16cb70=_0xb93bd3,_0xb87173=this['_definedNameMap'][_0x16cb70(0x1b4)](_0x330835);if(_0xb87173){const _0x5f01e3=_0xb87173['get'](_0x41bd7a);if(_0x5f01e3){for(const _0x1cf980 of _0x5f01e3)this[_0x16cb70(0x185)](_0x1cf980),this[_0x16cb70(0x1d0)](_0x1cf980);_0x5f01e3['clear']();}}}['openKdTree'](){const _0x23d586=_0xb93bd3;this[_0x23d586(0x1b3)]['openKdTree']();}[_0xb93bd3(0x17e)](){const _0x40dc2a=_0xb93bd3;this['_dependencyRTreeCache'][_0x40dc2a(0x17e)]();}['_removeAllTreeMap'](_0x2abeab){const _0x486c4f=_0xb93bd3;_0x2abeab!=null&&this['_allTreeMap'][_0x486c4f(0x181)](_0x2abeab);}[_0xb93bd3(0x1c5)](_0x236162){const _0x4a1450=_0xb93bd3;var _0x5c3a22,_0x22e7e3;const _0x1eacb2=_0x236162['rangeList'];let _0x534b23=this[_0x4a1450(0x1b9)][_0x4a1450(0x1b4)](_0x236162[_0x4a1450(0x22e)]);for(let _0xc248ef=0x0;_0xc248ef<_0x1eacb2[_0x4a1450(0x204)];_0xc248ef++){const _0x258a74=_0x1eacb2[_0xc248ef];let {unitId:_0x9acac7,sheetId:_0xb4d2a,range:_0x2222ef}=_0x258a74;_0x534b23||(_0x534b23=new Map(),this['_allTreeMap']['set'](_0x236162[_0x4a1450(0x22e)],_0x534b23)),_0x534b23[_0x4a1450(0x1bb)](_0x9acac7)||_0x534b23['set'](_0x9acac7,new Map());const _0x15c0e8=(_0x5c3a22=_0x534b23==null?void 0x0:_0x534b23['get'](_0x9acac7))==null?void 0x0:_0x5c3a22['get'](_0xb4d2a);_0x15c0e8&&(_0x2222ef={'startRow':Math[_0x4a1450(0x227)](_0x2222ef[_0x4a1450(0x1e6)],_0x15c0e8[_0x4a1450(0x1e6)]),'startColumn':Math[_0x4a1450(0x227)](_0x2222ef[_0x4a1450(0x1d9)],_0x15c0e8[_0x4a1450(0x1d9)]),'endRow':Math[_0x4a1450(0x19e)](_0x2222ef[_0x4a1450(0x171)],_0x15c0e8[_0x4a1450(0x171)]),'endColumn':Math[_0x4a1450(0x19e)](_0x2222ef['endColumn'],_0x15c0e8[_0x4a1450(0x20b)])}),(_0x22e7e3=_0x534b23[_0x4a1450(0x1b4)](_0x9acac7))==null||_0x22e7e3[_0x4a1450(0x19a)](_0xb4d2a,_0x2222ef);}}}var K=Object[_0xb93bd3(0x1e9)],J=(_0x53ac64,_0x4eda56,_0x1c35d1,_0x552f2a)=>{const _0x38ce4b=_0xb93bd3;for(var _0x47e79d=_0x552f2a>0x1?void 0x0:_0x552f2a?K(_0x4eda56,_0x1c35d1):_0x4eda56,_0x2a3d41=_0x53ac64[_0x38ce4b(0x204)]-0x1,_0x5d71c7;_0x2a3d41>=0x0;_0x2a3d41--)(_0x5d71c7=_0x53ac64[_0x2a3d41])&&(_0x47e79d=_0x5d71c7(_0x47e79d)||_0x47e79d);return _0x47e79d;};const z=Number[_0xb93bd3(0x1ab)](0x67ed1401);exports[_0xb93bd3(0x1f0)]=class extends u[_0xb93bd3(0x1da)]{[_0xb93bd3(0x1fc)](){const _0x36d97c=_0xb93bd3;var _0x595ade,_0x1309ec;this[_0x36d97c(0x215)]()?(_0x595ade=this[_0x36d97c(0x21a)])!=null&&_0x595ade[_0x36d97c(0x1b0)]||[[u[_0x36d97c(0x22f)],{'useClass':j}],[u[_0x36d97c(0x187)],{'useClass':Y}],[u[_0x36d97c(0x1c4)],{'useClass':B}]]['forEach'](_0x2607f6=>this['_injector'][_0x36d97c(0x1d4)](_0x2607f6)):(_0x1309ec=this['_config'])!=null&&_0x1309ec[_0x36d97c(0x1b0)]||[[u[_0x36d97c(0x22f)],{'useClass':u[_0x36d97c(0x180)]}],[u[_0x36d97c(0x187)],{'useClass':u[_0x36d97c(0x1f5)]}],[u[_0x36d97c(0x1c4)],{'useClass':u[_0x36d97c(0x228)]}]]['forEach'](_0x2f5516=>this[_0x36d97c(0x1d5)][_0x36d97c(0x1d4)](_0x2f5516));}[_0xb93bd3(0x215)](){const _0x3441d1=_0xb93bd3;var _0x4f7c18;const _0x5d1afb=(_0x4f7c18=this[_0x3441d1(0x1ae)][_0x3441d1(0x1b6)](T[_0x3441d1(0x1f1)]))!=null?_0x4f7c18:{},{ls:_0x5d4172,pbk:_0x2627ca}=_0x5d1afb;if(!_0x5d4172||!_0x2627ca)return!0x1;const _0x1e9b7a=T[_0x3441d1(0x1c3)](V,k),_0xa4afe5=new Function(_0x3441d1(0x184)+_0x1e9b7a)()(_0x5d4172,_0x2627ca),_0x17e624=_0xa4afe5['message'];return _0xa4afe5[_0x3441d1(0x1be)]&&T['isFeatureAuthorizedWithinTime'](_0x17e624,'sf',z)?T[_0x3441d1(0x19b)](_0x17e624,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0xb93bd3(0x1f0)]=J([F[_0xb93bd3(0x1f9)](T[_0xb93bd3(0x199)])],exports[_0xb93bd3(0x1f0)]),Object['keys'](u)[_0xb93bd3(0x188)](_0x3111e7=>{const _0x1d99e6=_0xb93bd3;_0x3111e7!=='default'&&!Object[_0x1d99e6(0x177)][_0x1d99e6(0x1fd)][_0x1d99e6(0x224)](exports,_0x3111e7)&&Object['defineProperty'](exports,_0x3111e7,{'enumerable':!0x0,'get':()=>u[_0x3111e7]});});function _0x2a98(){const _0x5887eb=['clearFormulaDependency','resolve','formulaId','parseInt','121Uqhegc','_currentConfigService','_configService','getFormulaDependency','notExecuteFormula','IDLE','rangeList','_dependencyRTreeCache','get','_updateRangeFlatten','getConfig','DependencyManagerBaseService','5308925MATPiS','_allTreeMap','416AbtJEP','has','openKdTree','_registerOtherFormulas','valid','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_registerFormulas','removeFormulaDependencyByDefinedName','_otherFormulaManagerService','unshiftString','IFormulaDependencyGenerator','_addAllTreeMap','isStopExecution','_otherFormulaDataMainData','_lexer','_getTreeNode','dependencySheetName','setValue','@univerjs-pro/license','CURRENTLY_CALCULATING_ARRAY_FORMULA','_isCyclicUtilMap','addFormulaDependency','_removeAllTreeMap','getFeatureFormulaDependency','refOffsetX','setRuntimeFeatureRange','add','_injector','9wUSxyD','127722sOWYql','getValue','startColumn','UniverFormulaEnginePlugin','unitId','FormulaDependencyTreeVirtual','getDirtyData','_traverse','getUnitData','clear','keys','featureId','isForceCalculate','673990BHGCCk','_executionInProgressListener$','startRow','_removeDependencyRTreeCacheById','ParentDependencyTree\x20object\x20is\x20null','getOwnPropertyDescriptor','generateRandomDependencyTreeId','dispose','_getUpdateTreeListAndMakeDependency','_checkIsCycleDependency','408792kfjJMG','_featureFormulaData','UniverProFormulaEnginePlugin','LS_CONFIG_KEY','addOtherFormulaDependencyMainData','_restDependencyTreeId','executeAsync','DependencyManagerService','FormulaDependencyTreeType','setRuntimeFeatureCellData','54862cSygRR','DependentOn','0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','pop','_initializeWithOverride','hasOwnProperty','ObjectMatrix','subUnitId','removeFeatureFormulaDependency','setCompletedFormulasCount','_executionCompleteListener$','getRuntimeState','length','requestImmediateMacroTask','row','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaData','_apply','_createFDtree','endColumn','rowCount','_dependencyTreeCache','_dependencyRTreeCacheForAddressFunction','generate','setCurrent','setRuntimeOtherData','enableCycleDependency','setTotalArrayFormulasToCalculate','DEFAULT_INTERVAL_COUNT','_initLicenseValid','3WmFXaV','_formulaDependencyGenerator','formula','reset','_config','searchDependency','getAllRuntimeData','_interpreter','push','isSkip','setTotalFormulasToCalculate','isVirtual','next','refTree','call','@univerjs/engine-formula','bulkSearch','min','FormulaDependencyGenerator','refOffsetY','FEATURE_FORMULA','Module','_generateTreeList','_dependencyManagerService','treeId','ICalculateFormulaService','size','endRow','setRuntimeData','FormulaDependencyTree','_createVirtualFDtree','setFormulaExecuteStage','dirtyRanges','prototype','column','14JCHFMA','_getFeatureFormulaTree','removeFormulaDependency','addOtherFormulaDependency','realDeleteValue','closeKdTree','hasOtherFormulaDataMainData','CalculateFormulaService','delete','columnCount','6IqwIbo','return\x20','_removeDependencyRTreeCache','toRTreeItem','IDependencyManagerService','forEach','getOtherFormulaData','27467414ThLFyo','symbol','34iIfgGw','isAdded','setAdded','setSkip','_formulaData','generateAstNode','_getFirstCellOfRange','isCache','FormulaExecuteStageType','RTree','1278796PsExDs','addFormulaDependencyByDefinedName','clearFeatureFormulaDependency','UniverLicensePlugin','set','getSheetFeatureLimit','isDirty','START_CALCULATION_ARRAY_FORMULA','max','execute','isExcludeRange','markedAsStopFunctionsExecuted','type','defineProperty','forValue','START_DEPENDENCY','_runtimeService','clearOtherFormulaDependency'];_0x2a98=function(){return _0x5887eb;};return _0x2a98();}
|
|
1
|
+
'use strict';const _0x5a161d=_0x3dc7;(function(_0x455a17,_0x3c4e04){const _0x51e580=_0x3dc7,_0x538abc=_0x455a17();while(!![]){try{const _0x1593e9=parseInt(_0x51e580(0x1a2))/0x1*(parseInt(_0x51e580(0x1a4))/0x2)+parseInt(_0x51e580(0x182))/0x3+-parseInt(_0x51e580(0x19e))/0x4+parseInt(_0x51e580(0x1cd))/0x5+-parseInt(_0x51e580(0x16e))/0x6*(parseInt(_0x51e580(0x1a7))/0x7)+parseInt(_0x51e580(0x167))/0x8*(parseInt(_0x51e580(0x1a0))/0x9)+parseInt(_0x51e580(0x1c3))/0xa*(parseInt(_0x51e580(0x175))/0xb);if(_0x1593e9===_0x3c4e04)break;else _0x538abc['push'](_0x538abc['shift']());}catch(_0x459699){_0x538abc['push'](_0x538abc['shift']());}}}(_0x3df3,0x4d1ce));function _0x3dc7(_0x290529,_0x59aad2){const _0x3df35e=_0x3df3();return _0x3dc7=function(_0x3dc787,_0x573347){_0x3dc787=_0x3dc787-0x14d;let _0x404243=_0x3df35e[_0x3dc787];return _0x404243;},_0x3dc7(_0x290529,_0x59aad2);}var k=Object[_0x5a161d(0x18c)],b=(_0x2a0239,_0x4d1497,_0x21da2d)=>_0x4d1497 in _0x2a0239?k(_0x2a0239,_0x4d1497,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21da2d}):_0x2a0239[_0x4d1497]=_0x21da2d,C=(_0x56cd56,_0x158aed,_0xbf9411)=>b(_0x56cd56,typeof _0x158aed!=_0x5a161d(0x160)?_0x158aed+'':_0x158aed,_0xbf9411);Object[_0x5a161d(0x18c)](exports,Symbol['toStringTag'],{'value':_0x5a161d(0x1d3)});const L=require(_0x5a161d(0x168)),v=require('@univerjs/core'),u=require(_0x5a161d(0x1bc)),U={0x0:'E',0x1:'y',0x2:'w',0x3:'4',0x4:'M',0x5:'7',0x6:'2',0x7:'P',0x8:'8',0x9:'N','z':'0','x':'1','g':'3','c':'5','o':'6','B':'9','f':'a','j':'b','T':'c','N':'d','F':'e','d':'f','h':'g','I':'h','G':'i','Z':'j','b':'k','y':'l','k':'m','H':'n','Y':'o','r':'p','J':'q','L':'r','E':'s','s':'t','M':'u','Q':'v','w':'x','R':'z','p':'A','v':'B','n':'C','D':'D','V':'F','P':'G','O':'H','a':'I','U':'J','l':'K','X':'L','A':'O','i':'Q','S':'R','m':'S','W':'T','C':'U','u':'V','K':'W','t':'X','e':'Y','q':'Z'},P=_0x5a161d(0x18a);class j extends u[_0x5a161d(0x1ad)]{constructor(){const _0x588bd2=_0x5a161d;super(...arguments),C(this,_0x588bd2(0x1b0),new Map());}['dispose'](){const _0x317e20=_0x5a161d;super[_0x317e20(0x1f2)](),this[_0x317e20(0x1b0)][_0x317e20(0x188)]();}async['generate'](){const _0x326713=_0x5a161d;this[_0x326713(0x1e4)]();const _0x489242=this[_0x326713(0x203)][_0x326713(0x199)](),_0x5f1899=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x5e5811=this['_currentConfigService']['getClearDependencyTreeCache']();_0x5e5811!=null&&Object[_0x326713(0x171)](_0x5e5811)[_0x326713(0x181)](_0x58120d=>{const _0xb571fc=_0x326713;_0x58120d!=null&&Object[_0xb571fc(0x171)](_0x5e5811[_0x58120d])[_0xb571fc(0x181)](_0x31e50e=>{const _0x2a9a39=_0xb571fc;_0x31e50e!=null&&(this[_0x2a9a39(0x1e8)]['clearOtherFormulaDependency'](_0x58120d,_0x31e50e),this['_dependencyManagerService'][_0x2a9a39(0x1d5)](_0x58120d,_0x31e50e),this[_0x2a9a39(0x1e8)][_0x2a9a39(0x170)](_0x58120d,_0x31e50e));});});const _0x29b7d4=this['_currentConfigService'][_0x326713(0x196)]();await this[_0x326713(0x200)](_0x489242,_0x5f1899,_0x29b7d4),this[_0x326713(0x1e8)][_0x326713(0x16d)]();const _0x3c2cb3=this['_getUpdateTreeListAndMakeDependency'](),_0x4f2510=this[_0x326713(0x1ca)](_0x3c2cb3);return this[_0x326713(0x1de)](_0x4f2510)&&this[_0x326713(0x202)][_0x326713(0x1aa)](),this[_0x326713(0x1b0)]['clear'](),this[_0x326713(0x18b)]['clear'](),this[_0x326713(0x1e8)][_0x326713(0x1d1)](),Promise[_0x326713(0x1ec)](_0x4f2510);}['_isCyclicUtilMap'](_0x14ddaf,_0x15db37){const _0x56e83d=_0x5a161d,_0x4a2cf=[_0x14ddaf];for(;_0x4a2cf[_0x56e83d(0x195)]>0x0;){const _0x5a56a3=_0x4a2cf[_0x4a2cf[_0x56e83d(0x195)]-0x1];if((_0x15db37[_0x56e83d(0x1d8)](_0x5a56a3)||0x0)===0x0){_0x15db37['set'](_0x5a56a3,0x1);const _0x1217a4=this[_0x56e83d(0x1b0)][_0x56e83d(0x1d8)](_0x5a56a3);if(_0x1217a4==null){_0x15db37['set'](_0x5a56a3,0x2),_0x4a2cf[_0x56e83d(0x1d6)]();continue;}const _0x2de7da=this[_0x56e83d(0x1e8)][_0x56e83d(0x1ac)](_0x1217a4[_0x56e83d(0x174)]());for(const _0x4b7d5f of _0x2de7da){const _0x188ec1=_0x15db37['get'](_0x4b7d5f)||0x0;if(_0x188ec1===0x1)return!0x0;_0x188ec1===0x0&&_0x4a2cf[_0x56e83d(0x17c)](_0x4b7d5f);}}else _0x15db37[_0x56e83d(0x1a1)](_0x5a56a3,0x2),_0x4a2cf[_0x56e83d(0x1d6)]();}return!0x1;}['_checkIsCycleDependency'](_0x5e196b){const _0x42b3af=_0x5a161d,_0x58a013=new Map();for(const _0x1b8ec6 of _0x5e196b)if(!_0x58a013[_0x42b3af(0x157)](_0x1b8ec6['treeId'])&&this[_0x42b3af(0x1f3)](_0x1b8ec6[_0x42b3af(0x1c5)],_0x58a013))return!0x0;return _0x58a013[_0x42b3af(0x188)](),!0x1;}[_0x5a161d(0x1dc)](_0x3cfd4e,_0x15322e,_0x1cba92){const _0x1a36c2=_0x5a161d,{unitId:_0x5e54b9,subUnitId:_0x2b4a0c,dependencyRanges:_0x274ca5,getDirtyData:_0x362b2c}=_0x1cba92,_0x205745=_0x15322e||u[_0x1a36c2(0x173)](this[_0x1a36c2(0x1e8)]),_0x5bb244=new u[(_0x1a36c2(0x153))](_0x205745);_0x5bb244[_0x1a36c2(0x189)]=_0x5e54b9,_0x5bb244[_0x1a36c2(0x1f1)]=_0x2b4a0c,_0x5bb244[_0x1a36c2(0x1f7)]=_0x274ca5,_0x5bb244[_0x1a36c2(0x186)]=_0x362b2c;const _0x5922e6=_0x362b2c(this['_currentConfigService'][_0x1a36c2(0x186)](),this[_0x1a36c2(0x202)][_0x1a36c2(0x1c6)]()),_0x2ef4c4=this['_convertDirtyRangesToUnitRange'](_0x5922e6['dirtyRanges']);return _0x5bb244[_0x1a36c2(0x17b)]=_0x2ef4c4,_0x5bb244[_0x1a36c2(0x154)]=_0x3cfd4e,_0x5bb244[_0x1a36c2(0x15b)]=u[_0x1a36c2(0x205)][_0x1a36c2(0x150)],this[_0x1a36c2(0x1e8)][_0x1a36c2(0x1d7)](_0x5e54b9,_0x2b4a0c,_0x3cfd4e,_0x5bb244),this[_0x1a36c2(0x1b0)][_0x1a36c2(0x1a1)](_0x5bb244['treeId'],_0x5bb244),this[_0x1a36c2(0x1e8)][_0x1a36c2(0x16f)](_0x1cba92['unitId'],_0x1cba92['subUnitId'],_0x3cfd4e)&&(_0x5bb244['isCache']=!0x0),_0x5bb244;}['_registerOtherFormulas'](_0x132d34,_0x8dbf86,_0x4d6aa0){const _0x3cbdab=_0x5a161d;var _0x716b06;for(const _0x4f1491 of _0x8dbf86){const _0x5bad15=_0x132d34[_0x4f1491];if(_0x5bad15==null)continue;const _0x2d50d7=Object[_0x3cbdab(0x171)](_0x5bad15);for(const _0x567c3a of _0x2d50d7){const _0x55b919=_0x5bad15[_0x567c3a];if(_0x55b919==null)continue;const _0x271b5e=Object[_0x3cbdab(0x171)](_0x55b919);for(const _0x262f47 of _0x271b5e){const _0x47129a=this[_0x3cbdab(0x1e8)][_0x3cbdab(0x191)](_0x262f47),_0x2078d6=_0x55b919[_0x262f47],{f:_0x2378dd,ranges:_0x36c651}=_0x2078d6;let _0x22d328=!0x1;_0x47129a&&(_0x22d328=!0x0);const {firstRow:_0x38d3d2,firstColumn:_0x1752b0}=this[_0x3cbdab(0x1b1)](_0x36c651),_0x44e78b=this[_0x3cbdab(0x1e8)][_0x3cbdab(0x179)](_0x4f1491,_0x567c3a,_0x262f47),_0x43c4cc=(_0x716b06=_0x44e78b==null?void 0x0:_0x44e78b['getValue'](0x0,0x0))!=null?_0x716b06:u[_0x3cbdab(0x173)](this['_dependencyManagerService']),_0x408a5b=new u[(_0x3cbdab(0x153))](_0x43c4cc);for(let _0x2b676e=0x0;_0x2b676e<_0x36c651['length'];_0x2b676e++){const _0x6474da=_0x36c651[_0x2b676e],{startRow:_0x5c0204,startColumn:_0x39a371,endRow:_0x4c1f10,endColumn:_0x11b802}=_0x6474da;for(let _0x458308=_0x5c0204;_0x458308<=_0x4c1f10;_0x458308++)for(let _0x51252e=_0x39a371;_0x51252e<=_0x11b802;_0x51252e++){const _0x3c8f6b=_0x51252e-_0x1752b0,_0x1a9cb8=_0x458308-_0x38d3d2;if(_0x3c8f6b===0x0&&_0x1a9cb8===0x0){_0x408a5b['formula']=_0x2378dd,_0x408a5b[_0x3cbdab(0x189)]=_0x4f1491,_0x408a5b['subUnitId']=_0x567c3a,_0x408a5b[_0x3cbdab(0x16a)]=_0x262f47,_0x408a5b[_0x3cbdab(0x15b)]=u[_0x3cbdab(0x205)][_0x3cbdab(0x1fa)],_0x408a5b['isCache']=_0x22d328,_0x4d6aa0['push'](_0x408a5b),this[_0x3cbdab(0x1b0)][_0x3cbdab(0x1a1)](_0x408a5b[_0x3cbdab(0x1c5)],_0x408a5b),this[_0x3cbdab(0x1e8)][_0x3cbdab(0x18d)](_0x4f1491,_0x567c3a,_0x262f47,_0x408a5b),this['_dependencyManagerService'][_0x3cbdab(0x14f)](_0x408a5b);continue;}const _0x141e4e=new u['FormulaDependencyTreeVirtual']();_0x141e4e['treeId']=(_0x44e78b==null?void 0x0:_0x44e78b['getValue'](_0x3c8f6b,_0x1a9cb8))||u[_0x3cbdab(0x173)](this[_0x3cbdab(0x1e8)]),_0x141e4e[_0x3cbdab(0x1c9)]=_0x408a5b,_0x141e4e[_0x3cbdab(0x15d)]=_0x3c8f6b,_0x141e4e[_0x3cbdab(0x1f8)]=_0x1a9cb8,_0x141e4e[_0x3cbdab(0x1ee)]=_0x22d328,this[_0x3cbdab(0x1e8)][_0x3cbdab(0x18d)](_0x4f1491,_0x567c3a,_0x262f47,_0x141e4e),this['_dependencyManagerService'][_0x3cbdab(0x14f)](_0x141e4e),_0x4d6aa0[_0x3cbdab(0x17c)](_0x141e4e),this[_0x3cbdab(0x1b0)][_0x3cbdab(0x1a1)](_0x141e4e[_0x3cbdab(0x1c5)],_0x141e4e);}}this[_0x3cbdab(0x1e8)][_0x3cbdab(0x1b3)](_0x262f47);}}}}[_0x5a161d(0x1c0)](_0x1d6b76,_0x5190a1,_0x4a5773,_0x3dacd0){const _0x340bbc=_0x5a161d;for(const _0x5a5bbb of _0x1d6b76){const _0x8304a2=_0x5190a1[_0x5a5bbb];if(_0x8304a2==null)continue;const _0x7c23fc=Object[_0x340bbc(0x171)](_0x8304a2);for(const _0x4b74ba of _0x7c23fc){const _0x3ee65d=new v[(_0x340bbc(0x1f9))](_0x8304a2[_0x4b74ba]||{}),_0xb9b02a=new Map();_0x3ee65d['forValue']((_0x44f3d1,_0x58db1e,_0x2abae9)=>{const _0x23d41b=_0x340bbc;if(_0x2abae9==null)return!0x0;const {x:_0x3be44=0x0,y:_0x60ca29=0x0,si:_0x14dcb6}=_0x2abae9;if(!(_0x3be44===0x0&&_0x60ca29===0x0&&_0x14dcb6!=null))return!0x0;const _0x1496c5=this[_0x23d41b(0x1b7)](_0x5a5bbb,_0x4b74ba,_0x44f3d1,_0x58db1e,_0x4a5773,_0x2abae9),_0x36d112=this[_0x23d41b(0x1e8)][_0x23d41b(0x1ab)](_0x5a5bbb,_0x4b74ba,_0x44f3d1,_0x58db1e);_0x36d112!=null?_0x1496c5[_0x23d41b(0x1c5)]=_0x36d112:(this[_0x23d41b(0x1e8)][_0x23d41b(0x16b)](_0x5a5bbb,_0x4b74ba,_0x44f3d1,_0x58db1e,_0x1496c5),this[_0x23d41b(0x1e8)][_0x23d41b(0x14f)](_0x1496c5)),_0xb9b02a['set'](_0x14dcb6,_0x1496c5),_0x3dacd0[_0x23d41b(0x17c)](_0x1496c5),this[_0x23d41b(0x1b0)][_0x23d41b(0x1a1)](_0x1496c5[_0x23d41b(0x1c5)],_0x1496c5);}),_0x3ee65d[_0x340bbc(0x204)]((_0x1b6e07,_0x335252,_0x4f03c9)=>{const _0x4939ae=_0x340bbc;if(_0x4f03c9==null)return!0x0;const {x:_0x40be6f=0x0,y:_0x1f2f5c=0x0,si:_0x4b0400}=_0x4f03c9;if(_0x40be6f===0x0&&_0x1f2f5c===0x0&&_0x4b0400!=null)return!0x0;let _0x190bcd;if(_0x4b0400&&_0xb9b02a[_0x4939ae(0x157)](_0x4b0400)){const _0x2b934c=_0xb9b02a[_0x4939ae(0x1d8)](_0x4b0400);_0x190bcd=this[_0x4939ae(0x184)](_0x2b934c,_0x4f03c9);}else _0x190bcd=this[_0x4939ae(0x1b7)](_0x5a5bbb,_0x4b74ba,_0x1b6e07,_0x335252,_0x4a5773,_0x4f03c9);const _0x5e027e=this['_dependencyManagerService'][_0x4939ae(0x1ab)](_0x5a5bbb,_0x4b74ba,_0x1b6e07,_0x335252);_0x5e027e!=null?_0x190bcd[_0x4939ae(0x1c5)]=_0x5e027e:(this[_0x4939ae(0x1e8)][_0x4939ae(0x16b)](_0x5a5bbb,_0x4b74ba,_0x1b6e07,_0x335252,_0x190bcd),this['_dependencyManagerService'][_0x4939ae(0x14f)](_0x190bcd)),_0x3dacd0[_0x4939ae(0x17c)](_0x190bcd),this[_0x4939ae(0x1b0)][_0x4939ae(0x1a1)](_0x190bcd['treeId'],_0x190bcd);}),_0xb9b02a[_0x340bbc(0x188)]();}}}['_createFDtree'](_0x3aeba2,_0x10e495,_0x18e7ef,_0x558505,_0x53349c,_0x42c485){const _0x1bdd56=_0x5a161d,{f:_0x4f4223,x:_0x855841=0x0,y:_0x2602db=0x0}=_0x42c485,_0x3df1fe=new u[(_0x1bdd56(0x153))](u[_0x1bdd56(0x173)](this[_0x1bdd56(0x1e8)])),_0x3747ac=_0x53349c[_0x3aeba2][_0x10e495];return _0x3df1fe[_0x1bdd56(0x17f)]=_0x4f4223,_0x3df1fe['unitId']=_0x3aeba2,_0x3df1fe['subUnitId']=_0x10e495,_0x3df1fe['row']=_0x18e7ef,_0x3df1fe['column']=_0x558505,_0x3df1fe[_0x1bdd56(0x1fc)]=_0x3747ac['rowCount'],_0x3df1fe[_0x1bdd56(0x1f6)]=_0x3747ac[_0x1bdd56(0x1f6)],_0x3df1fe;}['_getUpdateTreeListAndMakeDependency'](){const _0x46c23c=_0x5a161d,_0x18bf21=[],_0x4d26ac=new Set(),_0x27e883=this['_currentConfigService'][_0x46c23c(0x206)](),_0x3e65b2=this['_currentConfigService'][_0x46c23c(0x156)](),_0x2a1969=this['_dependencyManagerService'][_0x46c23c(0x1ac)](_0x3e65b2),_0x3325c5=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x3e65b2);for(const _0x260268 of _0x3325c5)_0x2a1969[_0x46c23c(0x155)](_0x260268);for(const [_0x4dcd7e,_0x22f18f]of this[_0x46c23c(0x1b0)])(_0x27e883||_0x22f18f[_0x46c23c(0x1db)]||_0x22f18f[_0x46c23c(0x1f0)](this['_currentConfigService'][_0x46c23c(0x162)]())||_0x2a1969[_0x46c23c(0x157)](_0x4dcd7e)&&!_0x22f18f[_0x46c23c(0x19a)](this[_0x46c23c(0x203)]['getExcludedRange']()))&&!_0x4d26ac['has'](_0x4dcd7e)&&(_0x18bf21[_0x46c23c(0x17c)](_0x22f18f),_0x4d26ac[_0x46c23c(0x155)](_0x4dcd7e));for(const [_0x37706f,_0x23aca2]of this['_dependencyTreeCache'])_0x23aca2[_0x46c23c(0x1e9)]||(_0x23aca2['rangeList'][_0x46c23c(0x195)]=0x0);return _0x18bf21;}['_getTreeById'](_0x3d907d){const _0x4c34b7=_0x5a161d;return this[_0x4c34b7(0x1b0)][_0x4c34b7(0x1d8)](_0x3d907d);}[_0x5a161d(0x14e)](_0x4c022e){const _0x2ef2e5=_0x5a161d;return u[_0x2ef2e5(0x180)](_0x4c022e[_0x2ef2e5(0x189)],_0x4c022e[_0x2ef2e5(0x17f)],this[_0x2ef2e5(0x192)],this[_0x2ef2e5(0x17d)],this['_currentConfigService']);}*[_0x5a161d(0x1fe)](_0x4dd045,_0x2918db){const _0x3b3483=_0x5a161d,_0x28ad33=_0x4dd045,_0x26b134=new Set();for(;_0x28ad33[_0x3b3483(0x195)]>0x0;){const _0x23ef2c=_0x28ad33[_0x3b3483(0x1d6)]();if(_0x26b134[_0x3b3483(0x188)](),_0x23ef2c===void 0x0||_0x23ef2c[_0x3b3483(0x1d2)]())continue;if(_0x23ef2c[_0x3b3483(0x1cc)]()){yield _0x23ef2c,_0x23ef2c[_0x3b3483(0x1a3)](),_0x2918db[_0x3b3483(0x155)](_0x23ef2c['treeId']);continue;}const _0x20fab4=this['_dependencyManagerService'][_0x3b3483(0x1ac)](_0x23ef2c['toRTreeItem'](),_0x2918db),_0x4fceed=this[_0x3b3483(0x18b)][_0x3b3483(0x1e1)](_0x23ef2c[_0x3b3483(0x174)](),_0x2918db);for(const _0x386979 of _0x4fceed)_0x20fab4['add'](_0x386979);for(const _0x4b7994 of _0x20fab4){const _0x79e68=this[_0x3b3483(0x1b0)]['get'](_0x4b7994);if(!_0x79e68)throw new Error(_0x3b3483(0x164));_0x79e68[_0x3b3483(0x1cc)]()||_0x23ef2c['isSkip']()||_0x26b134[_0x3b3483(0x155)](_0x79e68);}if(_0x20fab4['clear'](),_0x26b134[_0x3b3483(0x1a5)]===0x0)yield _0x23ef2c,_0x23ef2c[_0x3b3483(0x1a3)](),_0x2918db[_0x3b3483(0x155)](_0x23ef2c['treeId']);else{_0x23ef2c[_0x3b3483(0x1ce)](),_0x28ad33['push'](_0x23ef2c);for(const _0x2fa855 of _0x26b134)_0x28ad33[_0x3b3483(0x17c)](_0x2fa855);}}_0x28ad33[_0x3b3483(0x195)]=0x0,_0x26b134['clear']();}[_0x5a161d(0x1ca)](_0x145497){const _0x581d4c=_0x5a161d,_0x1b840b=[],_0x5dfe7b=new Set();for(const _0x26e987 of this[_0x581d4c(0x1fe)](_0x145497,_0x5dfe7b))_0x1b840b['push'](_0x26e987);return _0x1b840b;}}class K extends u[_0x5a161d(0x198)]{async[_0x5a161d(0x1cb)](_0x5cdd22=!0x1){const _0x1603db=_0x5a161d;_0x5cdd22?this[_0x1603db(0x202)][_0x1603db(0x14d)](u[_0x1603db(0x1ed)][_0x1603db(0x18f)]):this[_0x1603db(0x202)][_0x1603db(0x14d)](u[_0x1603db(0x1ed)][_0x1603db(0x1b5)]),this['_executionInProgressListener$'][_0x1603db(0x18e)](this[_0x1603db(0x202)][_0x1603db(0x161)]());const _0x325e42=await this[_0x1603db(0x1dd)][_0x1603db(0x1df)](),_0x3e1344=this['_interpreter'];_0x5cdd22?(this['_runtimeService'][_0x1603db(0x14d)](u[_0x1603db(0x1ed)][_0x1603db(0x190)]),this['_runtimeService'][_0x1603db(0x1c7)](_0x325e42[_0x1603db(0x195)])):(this[_0x1603db(0x202)]['setFormulaExecuteStage'](u[_0x1603db(0x1ed)][_0x1603db(0x1fb)]),this[_0x1603db(0x202)][_0x1603db(0x1cf)](_0x325e42['length'])),this['_executionInProgressListener$'][_0x1603db(0x18e)](this[_0x1603db(0x202)]['getRuntimeState']());let _0x229d5d=[];const _0x46fc71=this[_0x1603db(0x19c)][_0x1603db(0x1e2)](u[_0x1603db(0x1ef)]),_0x27c9ae=(_0x46fc71==null?void 0x0:_0x46fc71[_0x1603db(0x1eb)])||u[_0x1603db(0x15e)];let _0x5ad156=0x0;const _0x15e8ae=_0x325e42[_0x1603db(0x195)];for(;_0x325e42[_0x1603db(0x195)]>0x0;){const _0x5c1d16=_0x325e42[_0x1603db(0x1d6)](),_0x555f36={'node':u['generateAstNode'](_0x5c1d16[_0x1603db(0x189)],_0x5c1d16[_0x1603db(0x17f)],this[_0x1603db(0x192)],this[_0x1603db(0x17d)],this[_0x1603db(0x203)]),'refOffsetX':_0x5c1d16[_0x1603db(0x15d)],'refOffsetY':_0x5c1d16[_0x1603db(0x1f8)]},_0xdec9b4=_0x5c1d16[_0x1603db(0x186)];if(_0x5ad156%_0x27c9ae===0x0&&(await new Promise(_0x1de018=>{const _0x25b479=_0x1603db,_0x41973a=v[_0x25b479(0x1e7)](_0x1de018);_0x229d5d['push'](_0x41973a);}),_0x5cdd22?(this['_runtimeService']['setFormulaExecuteStage'](u['FormulaExecuteStageType']['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x1603db(0x202)][_0x1603db(0x201)](_0x5ad156+0x1)):(this['_runtimeService'][_0x1603db(0x14d)](u['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this[_0x1603db(0x202)][_0x1603db(0x187)](_0x5ad156+0x1)),this[_0x1603db(0x183)][_0x1603db(0x18e)](this[_0x1603db(0x202)][_0x1603db(0x161)]()),this['_runtimeService']['isStopExecution']()||_0x555f36==null&&_0xdec9b4==null)){this[_0x1603db(0x202)][_0x1603db(0x14d)](u[_0x1603db(0x1ed)][_0x1603db(0x19d)]),this[_0x1603db(0x202)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x1603db(0x18e)](this[_0x1603db(0x202)][_0x1603db(0x1c6)]());return;}this[_0x1603db(0x202)][_0x1603db(0x159)](_0x5c1d16[_0x1603db(0x1c2)],_0x5c1d16[_0x1603db(0x197)],_0x5c1d16[_0x1603db(0x1fc)],_0x5c1d16['columnCount'],_0x5c1d16[_0x1603db(0x1f1)],_0x5c1d16['unitId']);let _0x544267;if(_0xdec9b4!=null&&_0x5c1d16[_0x1603db(0x154)]!=null){const {runtimeCellData:_0x554626,dirtyRanges:_0x4653a5}=_0xdec9b4(this[_0x1603db(0x203)][_0x1603db(0x186)](),this[_0x1603db(0x202)]['getAllRuntimeData']());this['_runtimeService'][_0x1603db(0x1af)](_0x5c1d16[_0x1603db(0x154)],_0x554626),this['_runtimeService'][_0x1603db(0x178)](_0x5c1d16[_0x1603db(0x154)],_0x4653a5);}else _0x555f36!=null&&(_0x3e1344[_0x1603db(0x1a8)](_0x555f36[_0x1603db(0x1f5)])?_0x544267=await _0x3e1344[_0x1603db(0x1fd)](_0x555f36):_0x544267=_0x3e1344[_0x1603db(0x1ae)](_0x555f36),_0x5c1d16[_0x1603db(0x16a)]!=null?this[_0x1603db(0x202)][_0x1603db(0x1ba)](_0x5c1d16['formulaId'],_0x5c1d16['refOffsetX'],_0x5c1d16[_0x1603db(0x1f8)],_0x544267):this[_0x1603db(0x202)]['setRuntimeData'](_0x544267));_0x5ad156++;}return _0x229d5d[_0x1603db(0x181)](_0x24c1ae=>_0x24c1ae()),_0x229d5d=[],_0x15e8ae>0x0?this[_0x1603db(0x202)][_0x1603db(0x166)]():_0x5cdd22||this[_0x1603db(0x202)]['markedAsNoFunctionsExecuted'](),this[_0x1603db(0x202)][_0x1603db(0x1c6)]();}}class V extends u['DependencyManagerBaseService']{constructor(){const _0x4741b3=_0x5a161d;super(...arguments),C(this,_0x4741b3(0x152),new Map()),C(this,'_dependencyRTreeCache',new v[(_0x4741b3(0x165))](!0x0));}['reset'](){const _0x43f0a0=_0x5a161d;this['_otherFormulaData'][_0x43f0a0(0x188)](),this[_0x43f0a0(0x1e5)][_0x43f0a0(0x188)](),this[_0x43f0a0(0x1a6)][_0x43f0a0(0x188)](),this[_0x43f0a0(0x1b6)]['clear'](),this[_0x43f0a0(0x152)][_0x43f0a0(0x188)](),this[_0x43f0a0(0x194)](),this[_0x43f0a0(0x15c)][_0x43f0a0(0x188)]();}['addOtherFormulaDependency'](_0x5986dc,_0x2a5cbc,_0xe4ede,_0x599fce){const _0x393eac=_0x5a161d;this[_0x393eac(0x151)][_0x393eac(0x157)](_0x5986dc)||this[_0x393eac(0x151)][_0x393eac(0x1a1)](_0x5986dc,new Map());const _0x296d01=this[_0x393eac(0x151)][_0x393eac(0x1d8)](_0x5986dc);_0x296d01[_0x393eac(0x157)](_0x2a5cbc)||_0x296d01[_0x393eac(0x1a1)](_0x2a5cbc,new Map());const _0x30f76a=_0x296d01[_0x393eac(0x1d8)](_0x2a5cbc);_0x30f76a[_0x393eac(0x157)](_0xe4ede)||_0x30f76a['set'](_0xe4ede,new v[(_0x393eac(0x1f9))]()),_0x30f76a['get'](_0xe4ede)[_0x393eac(0x1b2)](_0x599fce[_0x393eac(0x15d)],_0x599fce['refOffsetY'],_0x599fce['treeId']);}[_0x5a161d(0x163)](_0x1fafe1,_0x43aafa,_0x125deb){const _0x31657d=_0x5a161d,_0x2f41e0=this[_0x31657d(0x151)][_0x31657d(0x1d8)](_0x1fafe1);if(_0x2f41e0&&_0x2f41e0[_0x31657d(0x157)](_0x43aafa)){const _0x3cd2f3=_0x2f41e0[_0x31657d(0x1d8)](_0x43aafa);_0x125deb['forEach'](_0x4844f5=>{const _0x1d234b=_0x31657d,_0x302922=_0x3cd2f3['get'](_0x4844f5);_0x302922!=null&&(_0x302922[_0x1d234b(0x204)]((_0x571ed2,_0x2c5135,_0x3dd00c)=>{const _0x336dfd=_0x1d234b;this[_0x336dfd(0x1e0)](_0x3dd00c),this[_0x336dfd(0x19b)](_0x3dd00c);}),_0x3cd2f3[_0x1d234b(0x1c8)](_0x4844f5),this['_otherFormulaDataMainData'][_0x1d234b(0x1c8)](_0x4844f5));}),_0x3cd2f3[_0x31657d(0x1a5)]===0x0&&_0x2f41e0[_0x31657d(0x1c8)](_0x43aafa),_0x2f41e0[_0x31657d(0x1a5)]===0x0&&this['_otherFormulaData'][_0x31657d(0x1c8)](_0x1fafe1);}}['clearOtherFormulaDependency'](_0x42c339,_0x375774){const _0x202f26=_0x5a161d,_0x555e36=this[_0x202f26(0x151)][_0x202f26(0x1d8)](_0x42c339);if(_0x375774&&_0x555e36&&_0x555e36[_0x202f26(0x157)](_0x375774)){const _0x47f9bc=_0x555e36['get'](_0x375774);this[_0x202f26(0x172)](_0x42c339,_0x375774);for(const _0x22b435 of _0x47f9bc[_0x202f26(0x171)]()){const _0x5725cc=_0x47f9bc[_0x202f26(0x1d8)](_0x22b435);_0x5725cc!=null&&(_0x5725cc[_0x202f26(0x204)]((_0x25ca63,_0x9613d3,_0x51e8f9)=>{const _0xb2c475=_0x202f26;this[_0xb2c475(0x152)][_0xb2c475(0x1d8)](_0x51e8f9)&&this['_removeAllTreeMap'](_0x51e8f9);}),this[_0x202f26(0x15c)][_0x202f26(0x1c8)](_0x22b435));}_0x47f9bc['clear']();}else{if(_0x555e36){for(const _0x1f30c6 of _0x555e36[_0x202f26(0x171)]()){const _0x205a2c=_0x555e36[_0x202f26(0x1d8)](_0x1f30c6);this[_0x202f26(0x172)](_0x42c339,_0x1f30c6);for(const _0x2fe77d of _0x205a2c['keys']()){const _0x5f28e7=_0x205a2c['get'](_0x2fe77d);_0x5f28e7!=null&&(_0x5f28e7[_0x202f26(0x204)]((_0x259d06,_0x15440e,_0x5e626d)=>{const _0x3d3cf9=_0x202f26;this['_allTreeMap'][_0x3d3cf9(0x1d8)](_0x5e626d)&&this['_removeAllTreeMap'](_0x5e626d);}),this['_otherFormulaDataMainData']['delete'](_0x2fe77d));}}this[_0x202f26(0x151)][_0x202f26(0x1c8)](_0x42c339);}}}[_0x5a161d(0x1d7)](_0x4063f8,_0x433a57,_0x1997fd,_0x347e37){const _0x214b34=_0x5a161d;this['_featureFormulaData'][_0x214b34(0x157)](_0x4063f8)||this[_0x214b34(0x1e5)][_0x214b34(0x1a1)](_0x4063f8,new Map());const _0x4aa068=this[_0x214b34(0x1e5)]['get'](_0x4063f8);_0x4aa068['has'](_0x433a57)||_0x4aa068[_0x214b34(0x1a1)](_0x433a57,new Map()),_0x4aa068[_0x214b34(0x1d8)](_0x433a57)[_0x214b34(0x1a1)](_0x1997fd,_0x347e37[_0x214b34(0x1c5)]);}[_0x5a161d(0x1b8)](_0x2619e6,_0x487ce5,_0x6d54b5){const _0x508f2e=_0x5a161d,_0x557125=this[_0x508f2e(0x1e5)][_0x508f2e(0x1d8)](_0x2619e6);if(_0x557125&&_0x557125[_0x508f2e(0x157)](_0x487ce5)){const _0x11de99=_0x557125[_0x508f2e(0x1d8)](_0x487ce5);_0x6d54b5['forEach'](_0xed166=>{const _0x3711a9=_0x508f2e,_0x13992f=_0x11de99[_0x3711a9(0x1d8)](_0xed166);_0x13992f!=null&&(this[_0x3711a9(0x1e0)](_0x13992f),_0x11de99[_0x3711a9(0x1c8)](_0xed166),this['_removeAllTreeMap'](_0x13992f));});}}['clearFeatureFormulaDependency'](_0x2c3563,_0x5b7a3a){const _0x3e5308=_0x5a161d,_0x4e3d5b=this[_0x3e5308(0x1e5)][_0x3e5308(0x1d8)](_0x2c3563);if(_0x5b7a3a&&_0x4e3d5b&&_0x4e3d5b[_0x3e5308(0x157)](_0x5b7a3a)){const _0x3f7081=_0x4e3d5b['get'](_0x5b7a3a);this['_removeDependencyRTreeCacheById'](_0x2c3563,_0x5b7a3a),_0x3f7081[_0x3e5308(0x181)](_0x3228e9=>{const _0x639f3b=_0x3e5308;_0x3228e9!=null&&this[_0x639f3b(0x19b)](_0x3228e9);}),_0x3f7081[_0x3e5308(0x188)]();}else _0x4e3d5b&&(_0x4e3d5b[_0x3e5308(0x181)]((_0x24721f,_0x35d5ee)=>{const _0x2fcfcd=_0x3e5308;this['_removeDependencyRTreeCacheById'](_0x2c3563,_0x35d5ee),_0x24721f[_0x2fcfcd(0x181)](_0x3022c7=>{const _0x2d79e2=_0x2fcfcd;_0x3022c7!=null&&this[_0x2d79e2(0x19b)](_0x3022c7);});}),this[_0x3e5308(0x1e5)][_0x3e5308(0x1c8)](_0x2c3563));}[_0x5a161d(0x16b)](_0x1a53dd,_0x16c558,_0x223425,_0x3d03a1,_0x240d95){const _0x135b89=_0x5a161d;this[_0x135b89(0x1a6)][_0x135b89(0x157)](_0x1a53dd)||this[_0x135b89(0x1a6)][_0x135b89(0x1a1)](_0x1a53dd,new Map());const _0x330081=this[_0x135b89(0x1a6)][_0x135b89(0x1d8)](_0x1a53dd);_0x330081[_0x135b89(0x157)](_0x16c558)||_0x330081[_0x135b89(0x1a1)](_0x16c558,new v[(_0x135b89(0x1f9))]()),_0x330081[_0x135b89(0x1d8)](_0x16c558)[_0x135b89(0x1b2)](_0x223425,_0x3d03a1,_0x240d95['treeId']);}[_0x5a161d(0x1d0)](_0x179d0f,_0x48b07f,_0x234fe0,_0x4cf976){const _0x186b28=_0x5a161d,_0xc0ad6c=this[_0x186b28(0x1a6)][_0x186b28(0x1d8)](_0x179d0f);if(_0xc0ad6c&&_0xc0ad6c[_0x186b28(0x157)](_0x48b07f)){const _0x524d65=_0xc0ad6c['get'](_0x48b07f),_0x22f3d9=_0x524d65[_0x186b28(0x177)](_0x234fe0,_0x4cf976);if(_0x22f3d9==null)return;this[_0x186b28(0x1e0)](_0x22f3d9),_0x524d65[_0x186b28(0x1be)](_0x234fe0,_0x4cf976),this[_0x186b28(0x19b)](_0x22f3d9);}}[_0x5a161d(0x170)](_0x258b02,_0x155c0d){const _0x502c1b=_0x5a161d,_0x38ec27=this[_0x502c1b(0x1a6)][_0x502c1b(0x1d8)](_0x258b02);if(_0x155c0d&&_0x38ec27&&_0x38ec27[_0x502c1b(0x157)](_0x155c0d)){const _0x5c476b=_0x38ec27[_0x502c1b(0x1d8)](_0x155c0d);this[_0x502c1b(0x172)](_0x258b02,_0x155c0d),_0x5c476b[_0x502c1b(0x204)]((_0x5953cb,_0x4286d3,_0x25172a)=>{const _0x39c607=_0x502c1b;if(_0x25172a==null)return!0x0;this[_0x39c607(0x19b)](_0x25172a);}),_0x5c476b[_0x502c1b(0x1b4)]();}else _0x38ec27&&(_0x38ec27[_0x502c1b(0x181)]((_0x6877db,_0x18a83b)=>{const _0x40538f=_0x502c1b;this['_removeDependencyRTreeCacheById'](_0x258b02,_0x18a83b),_0x6877db[_0x40538f(0x204)]((_0x377bf5,_0xb28f43,_0x2f8718)=>{const _0x273706=_0x40538f;if(_0x2f8718==null)return!0x0;this[_0x273706(0x19b)](_0x2f8718);});}),this[_0x502c1b(0x1a6)][_0x502c1b(0x1c8)](_0x258b02));}[_0x5a161d(0x1e0)](_0x27ff24){const _0x2e7897=_0x5a161d;if(_0x27ff24==null)return;const _0x983ba0=this['_allTreeMap'][_0x2e7897(0x1d8)](_0x27ff24);if(_0x983ba0){const _0x5a1158=[];for(const [_0x229354,_0x108979]of _0x983ba0)for(const [_0x3f568d,_0xc4ac57]of _0x108979)_0x5a1158[_0x2e7897(0x17c)]({'unitId':_0x229354,'sheetId':_0x3f568d,'range':_0xc4ac57,'id':_0x27ff24});this[_0x2e7897(0x1b6)]['bulkRemove'](_0x5a1158);}}[_0x5a161d(0x1da)](_0x75b61,_0x42fb57){const _0x37cd37=_0x5a161d,_0x206d29=this[_0x37cd37(0x1c1)]['get'](_0x75b61);if(_0x206d29){const _0x431a0a=_0x206d29[_0x37cd37(0x1d8)](_0x42fb57);if(_0x431a0a){for(const _0x3dede8 of _0x431a0a)this[_0x37cd37(0x1e0)](_0x3dede8),this['_removeAllTreeMap'](_0x3dede8);_0x431a0a[_0x37cd37(0x188)]();}}}['openKdTree'](){const _0x3f623b=_0x5a161d;this[_0x3f623b(0x1b6)][_0x3f623b(0x16d)]();}[_0x5a161d(0x1d1)](){const _0x398ebe=_0x5a161d;this['_dependencyRTreeCache'][_0x398ebe(0x1d1)]();}[_0x5a161d(0x19b)](_0x291c55){const _0x5732bc=_0x5a161d;_0x291c55!=null&&this[_0x5732bc(0x152)][_0x5732bc(0x1c8)](_0x291c55);}[_0x5a161d(0x1c4)](_0x4e1e64){const _0x2144b3=_0x5a161d;var _0x15d70f,_0x5bc8cb;const _0x2dcdcf=_0x4e1e64[_0x2144b3(0x1f7)];let _0x24bb5a=this[_0x2144b3(0x152)][_0x2144b3(0x1d8)](_0x4e1e64[_0x2144b3(0x1c5)]);for(let _0x46052b=0x0;_0x46052b<_0x2dcdcf['length'];_0x46052b++){const _0x1fad56=_0x2dcdcf[_0x46052b];let {unitId:_0x76323d,sheetId:_0x55bc5d,range:_0xa00e5f}=_0x1fad56;_0x24bb5a||(_0x24bb5a=new Map(),this['_allTreeMap']['set'](_0x4e1e64[_0x2144b3(0x1c5)],_0x24bb5a)),_0x24bb5a[_0x2144b3(0x157)](_0x76323d)||_0x24bb5a[_0x2144b3(0x1a1)](_0x76323d,new Map());const _0xb3a9a3=(_0x15d70f=_0x24bb5a==null?void 0x0:_0x24bb5a['get'](_0x76323d))==null?void 0x0:_0x15d70f[_0x2144b3(0x1d8)](_0x55bc5d);_0xb3a9a3&&(_0xa00e5f={'startRow':Math['min'](_0xa00e5f[_0x2144b3(0x17e)],_0xb3a9a3[_0x2144b3(0x17e)]),'startColumn':Math['min'](_0xa00e5f['startColumn'],_0xb3a9a3[_0x2144b3(0x1e6)]),'endRow':Math['max'](_0xa00e5f[_0x2144b3(0x1ff)],_0xb3a9a3[_0x2144b3(0x1ff)]),'endColumn':Math['max'](_0xa00e5f[_0x2144b3(0x1b9)],_0xb3a9a3['endColumn'])}),(_0x5bc8cb=_0x24bb5a[_0x2144b3(0x1d8)](_0x76323d))==null||_0x5bc8cb['set'](_0x55bc5d,_0xa00e5f);}}}var B=Object['getOwnPropertyDescriptor'],W=(_0x32dc45,_0x107bee,_0x2be698,_0xbcec6d)=>{const _0x2ba3ea=_0x5a161d;for(var _0x74185e=_0xbcec6d>0x1?void 0x0:_0xbcec6d?B(_0x107bee,_0x2be698):_0x107bee,_0x2eedca=_0x32dc45[_0x2ba3ea(0x195)]-0x1,_0x117b4e;_0x2eedca>=0x0;_0x2eedca--)(_0x117b4e=_0x32dc45[_0x2eedca])&&(_0x74185e=_0x117b4e(_0x74185e)||_0x74185e);return _0x74185e;};const z=Number[_0x5a161d(0x1bd)](0x67ed1a21);function _0x3df3(){const _0x49a306=['bulkSearch','getConfig','_initLicenseValid','_updateRangeFlatten','_featureFormulaData','startColumn','requestImmediateMacroTask','_dependencyManagerService','isVirtual','valid','intervalCount','resolve','FormulaExecuteStageType','isCache','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','dependencySheetName','subUnitId','dispose','_isCyclicUtilMap','LS_CONFIG_KEY','node','columnCount','rangeList','refOffsetY','ObjectMatrix','OTHER_FORMULA','START_CALCULATION','rowCount','executeAsync','_traverse','endRow','_generateTreeList','setCompletedArrayFormulasCount','_runtimeService','_currentConfigService','forValue','FormulaDependencyTreeType','isForceCalculate','setFormulaExecuteStage','_getTreeNode','addFormulaDependencyByDefinedName','FEATURE_FORMULA','_otherFormulaData','_allTreeMap','FormulaDependencyTree','featureId','add','getDirtyRanges','has','return\x20','setCurrent','default','type','_otherFormulaDataMainData','refOffsetX','DEFAULT_INTERVAL_COUNT','DependentOn','symbol','getRuntimeState','getDirtyNameMap','removeOtherFormulaDependency','ParentDependencyTree\x20object\x20is\x20null','RTree','markedAsSuccessfullyExecuted','24YnpbpV','@univerjs-pro/license','isFeatureAuthorizedWithinTime','formulaId','addFormulaDependency','prototype','openKdTree','215286rZthhL','getFeatureFormulaDependency','clearFormulaDependency','keys','_removeDependencyRTreeCacheById','generateRandomDependencyTreeId','toRTreeItem','44GQEUrF','unshiftString','getValue','setRuntimeFeatureRange','getOtherFormulaDependency','DependencyManagerService','featureDirtyRanges','push','_astTreeBuilder','startRow','formula','generateAstNode','forEach','359634zQUbMb','_executionInProgressListener$','_createVirtualFDtree','UniverFormulaEnginePlugin','getDirtyData','setCompletedFormulasCount','clear','unitId','dMHTsGYH\x20NFTL1rsGYH(yGTFHEF,\x20rMjyGTlF1)\x20{\x20\x20\x20\x20sL1\x20{\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20yGTFHEFaHdY7fLspLLf1\x20=\x20yGTFHEF.EryGs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20YLGhGH4FEEfhF\x20=\x20UmA9.rfLEF(fsYj(yGTFHEFaHdY7fLspLLf1[6]));\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!YLGhGH4FEEfhF.MN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YLGhGH4FEEfhF.MN\x20=\x209MkjFL(yGTFHEFaHdY7fLspLLf1[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20GEKYLbFL\x20=\x20s1rFYd\x20KYLbFLPyYjfymTYrF\x20!==\x20\x27MHNFdGHFN\x27\x20&&\x20EFyd\x20GHEsfHTFYd\x20KYLbFLPyYjfymTYrF;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20TYHsFws\x20=\x20GEKYLbFL\x20?\x20EFyd\x20:\x202GHNY2;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[6]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(kFEEfhFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[g]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(EGhHfsMLFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHufyGN\x20=\x20TYHsFws.__QFLGd1__(EGhHfsMLF,\x20kFEEfhF,\x20rMjyGTlF1);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20NYkfGH\x20=\x20YLGhGH4FEEfhF.Nk;\x20\x20\x20\x20\x20\x20\x20\x20dMHTsGYH\x20GEDYkfGH4fsTIGHh(Y7fssFLH,\x20YOYEs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH\x20=\x20Y7fssFLH.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs\x20=\x20YOYEs.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH7fLsE\x20=\x20rfssFLH.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs7fLsE\x20=\x20IYEs.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!rfssFLH.GHTyMNFE(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLH\x20===\x20IYEs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(rfssFLH7fLsE.yFHhsI\x20<\x206\x20||\x20rfssFLH7fLsE[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20dfyEF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLHmMddGw\x20=\x20rfssFLH7fLsE.EyGTF(x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEsmMddGw\x20=\x20IYEs7fLsE.EyGTF(-rfssFLH7fLsE.yFHhsI\x20+\x20x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLHmMddGw\x20===\x20IYEsmMddGw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yFs\x20NYkfGHufyGN\x20=\x20(NYkfGH\x20&&\x20NYkfGH.yFHhsI)\x20?\x20NYkfGH.EYkF((NkasFk)\x20=>\x20GEDYkfGH4fsTIGHh(NkasFk,\x20yYTfsGYH.IYEsHfkF))\x20:\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(yYTfsGYH.IYEsHfkF\x20===\x20\x27yYTfyIYEs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NYkfGHufyGN\x20=\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20QfyGN\x20=\x20EGhHufyGN\x20&&\x20NYkfGHufyGN;\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20YLGhGH4FEEfhF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TfsTI\x20(FLLYL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN:\x20dfyEF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyRTreeCacheForAddressFunction','defineProperty','addOtherFormulaDependency','next','START_DEPENDENCY_ARRAY_FORMULA','START_CALCULATION_ARRAY_FORMULA','hasOtherFormulaDataMainData','_lexer','call','_restDependencyTreeId','length','getUnitData','column','CalculateFormulaService','getFormulaData','isExcludeRange','_removeAllTreeMap','_configService','IDLE','1201744UWeMJp','hasOwnProperty','546984atKnlr','set','8408tPcoBU','setSkip','90YNyPRm','size','_formulaData','91exgPgE','checkAsyncNode','UniverProFormulaEnginePlugin','enableCycleDependency','getFormulaDependency','searchDependency','FormulaDependencyGenerator','execute','setRuntimeFeatureCellData','_dependencyTreeCache','_getFirstCellOfRange','setValue','addOtherFormulaDependencyMainData','reset','START_DEPENDENCY','_dependencyRTreeCache','_createFDtree','removeFeatureFormulaDependency','endColumn','setRuntimeOtherData','IFormulaDependencyGenerator','@univerjs/engine-formula','parseInt','realDeleteValue','_injector','_registerFormulas','_definedNameMap','row','341590nWMwxE','_addAllTreeMap','treeId','getAllRuntimeData','setTotalArrayFormulasToCalculate','delete','refTree','_calculateRunList','_apply','isAdded','1327705CLOxHA','setAdded','setTotalFormulasToCalculate','removeFormulaDependency','closeKdTree','isSkip','Module','ICalculateFormulaService','clearFeatureFormulaDependency','pop','addFeatureFormulaDependency','get','IDependencyManagerService','removeFormulaDependencyByDefinedName','isDirty','_getFeatureFormulaTree','_formulaDependencyGenerator','_checkIsCycleDependency','generate','_removeDependencyRTreeCache'];_0x3df3=function(){return _0x49a306;};return _0x3df3();}exports[_0x5a161d(0x1a9)]=class extends u[_0x5a161d(0x185)]{['_initializeWithOverride'](){const _0x56c89e=_0x5a161d;var _0x506bb8,_0x5cc7cc;this[_0x56c89e(0x1e3)]()?(_0x506bb8=this['_config'])!=null&&_0x506bb8['notExecuteFormula']||[[u[_0x56c89e(0x1d4)],{'useClass':K}],[u[_0x56c89e(0x1d9)],{'useClass':V}],[u[_0x56c89e(0x1bb)],{'useClass':j}]]['forEach'](_0x4ebee3=>this[_0x56c89e(0x1bf)][_0x56c89e(0x155)](_0x4ebee3)):(_0x5cc7cc=this['_config'])!=null&&_0x5cc7cc['notExecuteFormula']||[[u[_0x56c89e(0x1d4)],{'useClass':u[_0x56c89e(0x198)]}],[u['IDependencyManagerService'],{'useClass':u[_0x56c89e(0x17a)]}],[u['IFormulaDependencyGenerator'],{'useClass':u['FormulaDependencyGenerator']}]][_0x56c89e(0x181)](_0x317848=>this[_0x56c89e(0x1bf)][_0x56c89e(0x155)](_0x317848));}[_0x5a161d(0x1e3)](){const _0x39d64b=_0x5a161d;var _0x4571cf;const _0x50b0a9=(_0x4571cf=this[_0x39d64b(0x19c)][_0x39d64b(0x1e2)](L[_0x39d64b(0x1f4)]))!=null?_0x4571cf:{},{ls:_0x3acaac,pbk:_0x18c4e1}=_0x50b0a9;if(!_0x3acaac||!_0x18c4e1)return!0x1;const _0x295efe=L[_0x39d64b(0x176)](P,U),_0x5c535a=new Function(_0x39d64b(0x158)+_0x295efe)()(_0x3acaac,_0x18c4e1),_0x2faddf=_0x5c535a['message'];return _0x5c535a[_0x39d64b(0x1ea)]&&L[_0x39d64b(0x169)](_0x2faddf,'sf',z)?L['getSheetFeatureLimit'](_0x2faddf,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x5a161d(0x1a9)]=W([v[_0x5a161d(0x15f)](L['UniverLicensePlugin'])],exports[_0x5a161d(0x1a9)]),Object['keys'](u)['forEach'](_0x3cc3eb=>{const _0x5a86fe=_0x5a161d;_0x3cc3eb!==_0x5a86fe(0x15a)&&!Object[_0x5a86fe(0x16c)][_0x5a86fe(0x19f)][_0x5a86fe(0x193)](exports,_0x3cc3eb)&&Object[_0x5a86fe(0x18c)](exports,_0x3cc3eb,{'enumerable':!0x0,'get':()=>u[_0x3cc3eb]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x430695,_0x58a197){var _0x18d8c7=_0x2f16,_0x153223=_0x430695();while(!![]){try{var _0x5f1874=-parseInt(_0x18d8c7(0x8d))/0x1*(-parseInt(_0x18d8c7(0x93))/0x2)+parseInt(_0x18d8c7(0x8c))/0x3*(-parseInt(_0x18d8c7(0x98))/0x4)+-parseInt(_0x18d8c7(0x92))/0x5*(-parseInt(_0x18d8c7(0x95))/0x6)+parseInt(_0x18d8c7(0x8f))/0x7+parseInt(_0x18d8c7(0x94))/0x8*(parseInt(_0x18d8c7(0x96))/0x9)+parseInt(_0x18d8c7(0x97))/0xa*(-parseInt(_0x18d8c7(0x8e))/0xb)+parseInt(_0x18d8c7(0x90))/0xc*(-parseInt(_0x18d8c7(0x91))/0xd);if(_0x5f1874===_0x58a197)break;else _0x153223['push'](_0x153223['shift']());}catch(_0x3afe5c){_0x153223['push'](_0x153223['shift']());}}}(_0x5772,0x71f77));export*from'@univerjs/engine-formula/facade';function _0x2f16(_0x5b1b14,_0x12c0be){var _0x57727a=_0x5772();return _0x2f16=function(_0x2f1636,_0x2e8031){_0x2f1636=_0x2f1636-0x8c;var _0x33647c=_0x57727a[_0x2f1636];return _0x33647c;},_0x2f16(_0x5b1b14,_0x12c0be);}function _0x5772(){var _0x44a584=['6039HSQxzA','130970Mtxwli','27708mXbEyZ','4199wdFKoL','4730YSJMWl','2sIDSEX','20056mPTPlb','2466qBqXCL','3249XgfHEN','4300UAaxlN','262784IhNEvJ','36esOcnC','924493JJSYdC'];_0x5772=function(){return _0x44a584;};return _0x5772();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f8138=_0x448f;function _0x448f(_0x3fb5f8,_0x372ec2){const _0x37f812=_0x37f8();return _0x448f=function(_0x448fc7,_0x1ab8da){_0x448fc7=_0x448fc7-0x1db;let _0x1e1dfa=_0x37f812[_0x448fc7];return _0x1e1dfa;},_0x448f(_0x3fb5f8,_0x372ec2);}(function(_0x475436,_0x384fcb){const _0x3c8a54=_0x448f,_0x2e500f=_0x475436();while(!![]){try{const _0x3727d8=-parseInt(_0x3c8a54(0x218))/0x1+-parseInt(_0x3c8a54(0x228))/0x2*(-parseInt(_0x3c8a54(0x25b))/0x3)+-parseInt(_0x3c8a54(0x25d))/0x4*(parseInt(_0x3c8a54(0x1eb))/0x5)+parseInt(_0x3c8a54(0x236))/0x6+-parseInt(_0x3c8a54(0x211))/0x7*(parseInt(_0x3c8a54(0x22a))/0x8)+parseInt(_0x3c8a54(0x1f9))/0x9+-parseInt(_0x3c8a54(0x269))/0xa;if(_0x3727d8===_0x384fcb)break;else _0x2e500f['push'](_0x2e500f['shift']());}catch(_0x1110ea){_0x2e500f['push'](_0x2e500f['shift']());}}}(_0x37f8,0x79c71));var z=Object[_0x1f8138(0x203)],W=(_0x4a747b,_0x41744d,_0x22cdca)=>_0x41744d in _0x4a747b?z(_0x4a747b,_0x41744d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22cdca}):_0x4a747b[_0x41744d]=_0x22cdca,T=(_0x56f9c8,_0x3c3db1,_0x5c66a8)=>W(_0x56f9c8,typeof _0x3c3db1!=_0x1f8138(0x21b)?_0x3c3db1+'':_0x3c3db1,_0x5c66a8);import{UniverLicensePlugin as _0x322e28,LS_CONFIG_KEY as _0x246301,unshiftString as _0x28e67d,isFeatureAuthorizedWithinTime as _0x47ac6d,getSheetFeatureLimit as _0xf3f376}from'@univerjs-pro/license';import{ObjectMatrix as _0x3a71c1,requestImmediateMacroTask as _0x3b5570,RTree as _0x42247f,DependentOn as _0x319459}from'@univerjs/core';import{FormulaDependencyGenerator as _0x32f891,generateRandomDependencyTreeId as _0x29f821,FormulaDependencyTree as _0x41a9e9,FormulaDependencyTreeType as _0x2d7cdf,FormulaDependencyTreeVirtual as _0x50fe90,generateAstNode as _0x11868c,CalculateFormulaService as _0x28f8f2,FormulaExecuteStageType as _0x1c1849,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xce3d7,DEFAULT_INTERVAL_COUNT as _0x4de222,DependencyManagerBaseService as _0x5c0b1c,UniverFormulaEnginePlugin as _0x20b52a,ICalculateFormulaService as _0x22c75f,IDependencyManagerService as _0x5135d4,IFormulaDependencyGenerator as _0x10a5ff,DependencyManagerService as _0x49ea93}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},ue='0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x32f891{constructor(){const _0x4e3fa9=_0x1f8138;super(...arguments),T(this,_0x4e3fa9(0x1e2),new Map());}[_0x1f8138(0x272)](){const _0x34e9a3=_0x1f8138;super['dispose'](),this[_0x34e9a3(0x1e2)][_0x34e9a3(0x201)]();}async[_0x1f8138(0x24f)](){const _0x2a03e5=_0x1f8138;this[_0x2a03e5(0x264)]();const _0x263cf7=this['_currentConfigService'][_0x2a03e5(0x1e8)](),_0x44354e=this[_0x2a03e5(0x256)][_0x2a03e5(0x261)](),_0x42b219=this[_0x2a03e5(0x246)][_0x2a03e5(0x26d)]();_0x42b219!=null&&Object[_0x2a03e5(0x202)](_0x42b219)[_0x2a03e5(0x24b)](_0x51f9b=>{const _0x354f93=_0x2a03e5;_0x51f9b!=null&&Object[_0x354f93(0x202)](_0x42b219[_0x51f9b])[_0x354f93(0x24b)](_0xeeb0d=>{const _0x3fe53d=_0x354f93;_0xeeb0d!=null&&(this[_0x3fe53d(0x1e6)][_0x3fe53d(0x226)](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFeatureFormulaDependency'](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFormulaDependency'](_0x51f9b,_0xeeb0d));});});const _0x45d2e8=this['_currentConfigService'][_0x2a03e5(0x270)]();await this[_0x2a03e5(0x26a)](_0x263cf7,_0x44354e,_0x45d2e8),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x1f5)]();const _0xeb414c=this['_getUpdateTreeListAndMakeDependency'](),_0x5a6d75=this[_0x2a03e5(0x229)](_0xeb414c);return this['_checkIsCycleDependency'](_0x5a6d75)&&this['_runtimeService'][_0x2a03e5(0x21f)](),this[_0x2a03e5(0x1e2)]['clear'](),this[_0x2a03e5(0x1df)][_0x2a03e5(0x201)](),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x214)](),Promise[_0x2a03e5(0x20c)](_0x5a6d75);}[_0x1f8138(0x23d)](_0x500ed3,_0x59b8bf){const _0x117d2a=_0x1f8138,_0x6bf0da=[_0x500ed3];for(;_0x6bf0da[_0x117d2a(0x238)]>0x0;){const _0x56bfd2=_0x6bf0da[_0x6bf0da[_0x117d2a(0x238)]-0x1];if((_0x59b8bf[_0x117d2a(0x24d)](_0x56bfd2)||0x0)===0x0){_0x59b8bf[_0x117d2a(0x220)](_0x56bfd2,0x1);const _0x565ea4=this['_dependencyTreeCache']['get'](_0x56bfd2);if(_0x565ea4==null){_0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da[_0x117d2a(0x1e7)]();continue;}const _0x349998=this[_0x117d2a(0x1e6)][_0x117d2a(0x1e1)](_0x565ea4[_0x117d2a(0x26f)]());for(const _0x5c06b0 of _0x349998){const _0x50fbde=_0x59b8bf[_0x117d2a(0x24d)](_0x5c06b0)||0x0;if(_0x50fbde===0x1)return!0x0;_0x50fbde===0x0&&_0x6bf0da[_0x117d2a(0x239)](_0x5c06b0);}}else _0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x103cc4){const _0x29482f=_0x1f8138,_0xa210e5=new Map();for(const _0x3f24bf of _0x103cc4)if(!_0xa210e5[_0x29482f(0x215)](_0x3f24bf[_0x29482f(0x23c)])&&this[_0x29482f(0x23d)](_0x3f24bf[_0x29482f(0x23c)],_0xa210e5))return!0x0;return _0xa210e5[_0x29482f(0x201)](),!0x1;}[_0x1f8138(0x210)](_0x56e20f,_0x22052b,_0x2e2354){const _0x54b467=_0x1f8138,{unitId:_0x30a6e7,subUnitId:_0x1add19,dependencyRanges:_0xc3e169,getDirtyData:_0x5803e2}=_0x2e2354,_0x20ce8b=_0x22052b||_0x29f821(this[_0x54b467(0x1e6)]),_0x58a4e1=new _0x41a9e9(_0x20ce8b);_0x58a4e1[_0x54b467(0x1fd)]=_0x30a6e7,_0x58a4e1['subUnitId']=_0x1add19,_0x58a4e1[_0x54b467(0x204)]=_0xc3e169,_0x58a4e1[_0x54b467(0x242)]=_0x5803e2;const _0x33b5e5=_0x5803e2(this[_0x54b467(0x246)][_0x54b467(0x242)](),this[_0x54b467(0x25f)][_0x54b467(0x265)]()),_0x84286f=this['_convertDirtyRangesToUnitRange'](_0x33b5e5[_0x54b467(0x217)]);return _0x58a4e1[_0x54b467(0x1ed)]=_0x84286f,_0x58a4e1['featureId']=_0x56e20f,_0x58a4e1[_0x54b467(0x255)]=_0x2d7cdf[_0x54b467(0x23f)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x30a6e7,_0x1add19,_0x56e20f,_0x58a4e1),this[_0x54b467(0x1e2)]['set'](_0x58a4e1[_0x54b467(0x23c)],_0x58a4e1),this[_0x54b467(0x1e6)][_0x54b467(0x1e9)](_0x2e2354['unitId'],_0x2e2354[_0x54b467(0x234)],_0x56e20f)&&(_0x58a4e1[_0x54b467(0x25c)]=!0x0),_0x58a4e1;}['_registerOtherFormulas'](_0x57833b,_0xb0fc9a,_0x398906){const _0x2cf310=_0x1f8138;var _0x37a16f;for(const _0x51d18b of _0xb0fc9a){const _0x430f80=_0x57833b[_0x51d18b];if(_0x430f80==null)continue;const _0x1053da=Object['keys'](_0x430f80);for(const _0x414171 of _0x1053da){const _0x19bd86=_0x430f80[_0x414171];if(_0x19bd86==null)continue;const _0x2385e9=Object['keys'](_0x19bd86);for(const _0x3fb0c2 of _0x2385e9){const _0xe468a4=this[_0x2cf310(0x1e6)]['hasOtherFormulaDataMainData'](_0x3fb0c2),_0x2e8e50=_0x19bd86[_0x3fb0c2],{f:_0x2bf927,ranges:_0x1ef4f3}=_0x2e8e50;let _0xfa55fd=!0x1;_0xe468a4&&(_0xfa55fd=!0x0);const {firstRow:_0x51121c,firstColumn:_0x2fcb9e}=this[_0x2cf310(0x1e3)](_0x1ef4f3),_0x30bf40=this[_0x2cf310(0x1e6)][_0x2cf310(0x247)](_0x51d18b,_0x414171,_0x3fb0c2),_0x4e2eb4=(_0x37a16f=_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](0x0,0x0))!=null?_0x37a16f:_0x29f821(this[_0x2cf310(0x1e6)]),_0x391e58=new _0x41a9e9(_0x4e2eb4);for(let _0x3dc938=0x0;_0x3dc938<_0x1ef4f3[_0x2cf310(0x238)];_0x3dc938++){const _0x48baaa=_0x1ef4f3[_0x3dc938],{startRow:_0xe6c45a,startColumn:_0x4456ae,endRow:_0x1001d3,endColumn:_0x429d6b}=_0x48baaa;for(let _0x31bd67=_0xe6c45a;_0x31bd67<=_0x1001d3;_0x31bd67++)for(let _0x571a0f=_0x4456ae;_0x571a0f<=_0x429d6b;_0x571a0f++){const _0xfed246=_0x571a0f-_0x2fcb9e,_0x3e9b02=_0x31bd67-_0x51121c;if(_0xfed246===0x0&&_0x3e9b02===0x0){_0x391e58[_0x2cf310(0x252)]=_0x2bf927,_0x391e58['unitId']=_0x51d18b,_0x391e58[_0x2cf310(0x234)]=_0x414171,_0x391e58[_0x2cf310(0x216)]=_0x3fb0c2,_0x391e58[_0x2cf310(0x255)]=_0x2d7cdf['OTHER_FORMULA'],_0x391e58[_0x2cf310(0x25c)]=_0xfa55fd,_0x398906['push'](_0x391e58),this['_dependencyTreeCache'][_0x2cf310(0x220)](_0x391e58[_0x2cf310(0x23c)],_0x391e58),this[_0x2cf310(0x1e6)]['addOtherFormulaDependency'](_0x51d18b,_0x414171,_0x3fb0c2,_0x391e58),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x391e58);continue;}const _0x1f1e24=new _0x50fe90();_0x1f1e24[_0x2cf310(0x23c)]=(_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](_0xfed246,_0x3e9b02))||_0x29f821(this['_dependencyManagerService']),_0x1f1e24['refTree']=_0x391e58,_0x1f1e24[_0x2cf310(0x205)]=_0xfed246,_0x1f1e24[_0x2cf310(0x24a)]=_0x3e9b02,_0x1f1e24['isCache']=_0xfa55fd,this['_dependencyManagerService'][_0x2cf310(0x22d)](_0x51d18b,_0x414171,_0x3fb0c2,_0x1f1e24),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x1f1e24),_0x398906[_0x2cf310(0x239)](_0x1f1e24),this[_0x2cf310(0x1e2)][_0x2cf310(0x220)](_0x1f1e24[_0x2cf310(0x23c)],_0x1f1e24);}}this[_0x2cf310(0x1e6)][_0x2cf310(0x24e)](_0x3fb0c2);}}}}[_0x1f8138(0x230)](_0x2afa8c,_0x42da86,_0x4c517d,_0x3c1c88){const _0x39c027=_0x1f8138;for(const _0x3ae8e1 of _0x2afa8c){const _0x4fb760=_0x42da86[_0x3ae8e1];if(_0x4fb760==null)continue;const _0x280f95=Object[_0x39c027(0x202)](_0x4fb760);for(const _0x2475c0 of _0x280f95){const _0x16b622=new _0x3a71c1(_0x4fb760[_0x2475c0]||{}),_0x10388b=new Map();_0x16b622[_0x39c027(0x223)]((_0x467b19,_0x5975e6,_0x4258e9)=>{const _0x5f3dd4=_0x39c027;if(_0x4258e9==null)return!0x0;const {x:_0x3907e3=0x0,y:_0x4b8ebf=0x0,si:_0xa8b22e}=_0x4258e9;if(!(_0x3907e3===0x0&&_0x4b8ebf===0x0&&_0xa8b22e!=null))return!0x0;const _0x36fd31=this[_0x5f3dd4(0x271)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x4c517d,_0x4258e9),_0x162f0c=this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x1e4)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6);_0x162f0c!=null?_0x36fd31[_0x5f3dd4(0x23c)]=_0x162f0c:(this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x22e)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x36fd31),this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x244)](_0x36fd31)),_0x10388b[_0x5f3dd4(0x220)](_0xa8b22e,_0x36fd31),_0x3c1c88[_0x5f3dd4(0x239)](_0x36fd31),this['_dependencyTreeCache'][_0x5f3dd4(0x220)](_0x36fd31[_0x5f3dd4(0x23c)],_0x36fd31);}),_0x16b622[_0x39c027(0x223)]((_0x415e4e,_0x2c2c8f,_0x1d0533)=>{const _0x5e3151=_0x39c027;if(_0x1d0533==null)return!0x0;const {x:_0x33f4b5=0x0,y:_0x55e4aa=0x0,si:_0x49304a}=_0x1d0533;if(_0x33f4b5===0x0&&_0x55e4aa===0x0&&_0x49304a!=null)return!0x0;let _0x3a54c9;if(_0x49304a&&_0x10388b[_0x5e3151(0x215)](_0x49304a)){const _0x2c8d56=_0x10388b['get'](_0x49304a);_0x3a54c9=this[_0x5e3151(0x24c)](_0x2c8d56,_0x1d0533);}else _0x3a54c9=this[_0x5e3151(0x271)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x4c517d,_0x1d0533);const _0x462f3d=this[_0x5e3151(0x1e6)][_0x5e3151(0x1e4)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f);_0x462f3d!=null?_0x3a54c9[_0x5e3151(0x23c)]=_0x462f3d:(this['_dependencyManagerService'][_0x5e3151(0x22e)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x3a54c9),this[_0x5e3151(0x1e6)][_0x5e3151(0x244)](_0x3a54c9)),_0x3c1c88['push'](_0x3a54c9),this['_dependencyTreeCache']['set'](_0x3a54c9[_0x5e3151(0x23c)],_0x3a54c9);}),_0x10388b[_0x39c027(0x201)]();}}}[_0x1f8138(0x271)](_0x5f0a3d,_0x2e032f,_0x1b19ef,_0x48c18c,_0x129f6d,_0x518d71){const _0x3c059f=_0x1f8138,{f:_0x5dbc5b,x:_0x469407=0x0,y:_0x36d548=0x0}=_0x518d71,_0x2d25a9=new _0x41a9e9(_0x29f821(this[_0x3c059f(0x1e6)])),_0x4dfddf=_0x129f6d[_0x5f0a3d][_0x2e032f];return _0x2d25a9['formula']=_0x5dbc5b,_0x2d25a9[_0x3c059f(0x1fd)]=_0x5f0a3d,_0x2d25a9[_0x3c059f(0x234)]=_0x2e032f,_0x2d25a9[_0x3c059f(0x249)]=_0x1b19ef,_0x2d25a9[_0x3c059f(0x1ee)]=_0x48c18c,_0x2d25a9[_0x3c059f(0x20b)]=_0x4dfddf[_0x3c059f(0x20b)],_0x2d25a9['columnCount']=_0x4dfddf[_0x3c059f(0x26b)],_0x2d25a9;}[_0x1f8138(0x254)](){const _0x18fa9d=_0x1f8138,_0x20b336=[],_0x366eb1=new Set(),_0xd3de73=this[_0x18fa9d(0x246)][_0x18fa9d(0x209)](),_0x4608ed=this[_0x18fa9d(0x246)][_0x18fa9d(0x20e)](),_0x3f55e9=this[_0x18fa9d(0x1e6)][_0x18fa9d(0x1e1)](_0x4608ed),_0x4db3b8=this[_0x18fa9d(0x1df)][_0x18fa9d(0x276)](_0x4608ed);for(const _0x14ee1c of _0x4db3b8)_0x3f55e9[_0x18fa9d(0x1fa)](_0x14ee1c);for(const [_0x445ed2,_0x52976e]of this['_dependencyTreeCache'])(_0xd3de73||_0x52976e[_0x18fa9d(0x1e0)]||_0x52976e[_0x18fa9d(0x241)](this[_0x18fa9d(0x246)]['getDirtyNameMap']())||_0x3f55e9[_0x18fa9d(0x215)](_0x445ed2)&&!_0x52976e[_0x18fa9d(0x1fb)](this[_0x18fa9d(0x246)][_0x18fa9d(0x262)]()))&&!_0x366eb1[_0x18fa9d(0x215)](_0x445ed2)&&(_0x20b336[_0x18fa9d(0x239)](_0x52976e),_0x366eb1['add'](_0x445ed2));for(const [_0x530e6c,_0x5acda5]of this['_dependencyTreeCache'])_0x5acda5[_0x18fa9d(0x213)]||(_0x5acda5[_0x18fa9d(0x204)]['length']=0x0);return _0x20b336;}[_0x1f8138(0x1ff)](_0x301f4e){const _0x259397=_0x1f8138;return this['_dependencyTreeCache'][_0x259397(0x24d)](_0x301f4e);}['_getTreeNode'](_0x56bdb2){const _0x2363e5=_0x1f8138;return _0x11868c(_0x56bdb2[_0x2363e5(0x1fd)],_0x56bdb2[_0x2363e5(0x252)],this[_0x2363e5(0x21e)],this[_0x2363e5(0x22c)],this[_0x2363e5(0x246)]);}*[_0x1f8138(0x20a)](_0x3fbb1c,_0x2cc5e5){const _0xfe030c=_0x1f8138,_0x3fad38=_0x3fbb1c,_0xeade30=new Set();for(;_0x3fad38[_0xfe030c(0x238)]>0x0;){const _0x57e846=_0x3fad38[_0xfe030c(0x1e7)]();if(_0xeade30[_0xfe030c(0x201)](),_0x57e846===void 0x0||_0x57e846[_0xfe030c(0x1f4)]())continue;if(_0x57e846[_0xfe030c(0x206)]()){yield _0x57e846,_0x57e846[_0xfe030c(0x243)](),_0x2cc5e5[_0xfe030c(0x1fa)](_0x57e846[_0xfe030c(0x23c)]);continue;}const _0x391d9e=this['_dependencyManagerService'][_0xfe030c(0x1e1)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5),_0xee63ee=this[_0xfe030c(0x1df)][_0xfe030c(0x276)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5);for(const _0x169934 of _0xee63ee)_0x391d9e['add'](_0x169934);for(const _0xd84a94 of _0x391d9e){const _0x104ad5=this[_0xfe030c(0x1e2)]['get'](_0xd84a94);if(!_0x104ad5)throw new Error(_0xfe030c(0x21a));_0x104ad5[_0xfe030c(0x206)]()||_0x57e846['isSkip']()||_0xeade30[_0xfe030c(0x1fa)](_0x104ad5);}if(_0x391d9e[_0xfe030c(0x201)](),_0xeade30[_0xfe030c(0x1db)]===0x0)yield _0x57e846,_0x57e846['setSkip'](),_0x2cc5e5['add'](_0x57e846['treeId']);else{_0x57e846[_0xfe030c(0x231)](),_0x3fad38[_0xfe030c(0x239)](_0x57e846);for(const _0x42f21a of _0xeade30)_0x3fad38[_0xfe030c(0x239)](_0x42f21a);}}_0x3fad38[_0xfe030c(0x238)]=0x0,_0xeade30[_0xfe030c(0x201)]();}[_0x1f8138(0x229)](_0x262b84){const _0x16d47f=_0x1f8138,_0x3acbc1=[],_0x3ee96e=new Set();for(const _0x2d6a43 of this['_traverse'](_0x262b84,_0x3ee96e))_0x3acbc1[_0x16d47f(0x239)](_0x2d6a43);return _0x3acbc1;}}class he extends _0x28f8f2{async['_apply'](_0x413e39=!0x1){const _0x3a3cd0=_0x1f8138;_0x413e39?this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x248)]),this['_executionInProgressListener$']['next'](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());const _0x43e0ad=await this[_0x3a3cd0(0x1f1)][_0x3a3cd0(0x24f)](),_0xb20f07=this['_interpreter'];_0x413e39?(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x235)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x266)](_0x43e0ad[_0x3a3cd0(0x238)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x1dc)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x225)](_0x43e0ad[_0x3a3cd0(0x238)])),this[_0x3a3cd0(0x1ec)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());let _0x37be27=[];const _0x2f1dcf=this[_0x3a3cd0(0x237)]['getConfig'](_0xce3d7),_0x362b8e=(_0x2f1dcf==null?void 0x0:_0x2f1dcf[_0x3a3cd0(0x253)])||_0x4de222;let _0x161a88=0x0;const _0x49bb10=_0x43e0ad[_0x3a3cd0(0x238)];for(;_0x43e0ad[_0x3a3cd0(0x238)]>0x0;){const _0x5cc1f2=_0x43e0ad['pop'](),_0x55d6bc={'node':_0x11868c(_0x5cc1f2[_0x3a3cd0(0x1fd)],_0x5cc1f2[_0x3a3cd0(0x252)],this[_0x3a3cd0(0x21e)],this[_0x3a3cd0(0x22c)],this[_0x3a3cd0(0x246)]),'refOffsetX':_0x5cc1f2[_0x3a3cd0(0x205)],'refOffsetY':_0x5cc1f2[_0x3a3cd0(0x24a)]},_0xd72c77=_0x5cc1f2['getDirtyData'];if(_0x161a88%_0x362b8e===0x0&&(await new Promise(_0x561fe7=>{const _0x38d812=_0x3a3cd0,_0x21458c=_0x3b5570(_0x561fe7);_0x37be27[_0x38d812(0x239)](_0x21458c);}),_0x413e39?(this['_runtimeService'][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x21d)]),this[_0x3a3cd0(0x25f)]['setCompletedArrayFormulasCount'](_0x161a88+0x1)):(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['CURRENTLY_CALCULATING']),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x245)](_0x161a88+0x1)),this['_executionInProgressListener$'][_0x3a3cd0(0x26e)](this['_runtimeService'][_0x3a3cd0(0x222)]()),this['_runtimeService'][_0x3a3cd0(0x1ea)]()||_0x55d6bc==null&&_0xd72c77==null)){this[_0x3a3cd0(0x25f)]['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x257)]),this[_0x3a3cd0(0x25f)]['markedAsStopFunctionsExecuted'](),this[_0x3a3cd0(0x25a)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());return;}this[_0x3a3cd0(0x25f)]['setCurrent'](_0x5cc1f2[_0x3a3cd0(0x249)],_0x5cc1f2[_0x3a3cd0(0x1ee)],_0x5cc1f2[_0x3a3cd0(0x20b)],_0x5cc1f2[_0x3a3cd0(0x26b)],_0x5cc1f2[_0x3a3cd0(0x234)],_0x5cc1f2[_0x3a3cd0(0x1fd)]);let _0x3e5ff3;if(_0xd72c77!=null&&_0x5cc1f2[_0x3a3cd0(0x1f0)]!=null){const {runtimeCellData:_0x3ae045,dirtyRanges:_0x42ba5b}=_0xd72c77(this[_0x3a3cd0(0x246)][_0x3a3cd0(0x242)](),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());this['_runtimeService'][_0x3a3cd0(0x219)](_0x5cc1f2[_0x3a3cd0(0x1f0)],_0x3ae045),this[_0x3a3cd0(0x25f)]['setRuntimeFeatureRange'](_0x5cc1f2['featureId'],_0x42ba5b);}else _0x55d6bc!=null&&(_0xb20f07[_0x3a3cd0(0x22b)](_0x55d6bc[_0x3a3cd0(0x240)])?_0x3e5ff3=await _0xb20f07[_0x3a3cd0(0x1f2)](_0x55d6bc):_0x3e5ff3=_0xb20f07['execute'](_0x55d6bc),_0x5cc1f2['formulaId']!=null?this[_0x3a3cd0(0x25f)]['setRuntimeOtherData'](_0x5cc1f2[_0x3a3cd0(0x216)],_0x5cc1f2[_0x3a3cd0(0x205)],_0x5cc1f2[_0x3a3cd0(0x24a)],_0x3e5ff3):this['_runtimeService'][_0x3a3cd0(0x233)](_0x3e5ff3));_0x161a88++;}return _0x37be27[_0x3a3cd0(0x24b)](_0x52201d=>_0x52201d()),_0x37be27=[],_0x49bb10>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x413e39||this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x23e)](),this['_runtimeService'][_0x3a3cd0(0x265)]();}}class ge extends _0x5c0b1c{constructor(){const _0x532ae3=_0x1f8138;super(...arguments),T(this,'_allTreeMap',new Map()),T(this,_0x532ae3(0x200),new _0x42247f(!0x0));}[_0x1f8138(0x20f)](){const _0x73ed58=_0x1f8138;this['_otherFormulaData'][_0x73ed58(0x201)](),this['_featureFormulaData'][_0x73ed58(0x201)](),this['_formulaData']['clear'](),this[_0x73ed58(0x200)][_0x73ed58(0x201)](),this[_0x73ed58(0x1f7)][_0x73ed58(0x201)](),this[_0x73ed58(0x258)](),this[_0x73ed58(0x232)][_0x73ed58(0x201)]();}['addOtherFormulaDependency'](_0x40793a,_0x35c360,_0x394139,_0x29f2ca){const _0x155c59=_0x1f8138;this[_0x155c59(0x1e5)][_0x155c59(0x215)](_0x40793a)||this[_0x155c59(0x1e5)][_0x155c59(0x220)](_0x40793a,new Map());const _0x47c437=this[_0x155c59(0x1e5)][_0x155c59(0x24d)](_0x40793a);_0x47c437['has'](_0x35c360)||_0x47c437[_0x155c59(0x220)](_0x35c360,new Map());const _0x153fd2=_0x47c437[_0x155c59(0x24d)](_0x35c360);_0x153fd2['has'](_0x394139)||_0x153fd2[_0x155c59(0x220)](_0x394139,new _0x3a71c1()),_0x153fd2[_0x155c59(0x24d)](_0x394139)[_0x155c59(0x275)](_0x29f2ca[_0x155c59(0x205)],_0x29f2ca['refOffsetY'],_0x29f2ca['treeId']);}['removeOtherFormulaDependency'](_0x516cb1,_0x2999e3,_0x41e5c9){const _0x1510e0=_0x1f8138,_0x15b789=this[_0x1510e0(0x1e5)][_0x1510e0(0x24d)](_0x516cb1);if(_0x15b789&&_0x15b789[_0x1510e0(0x215)](_0x2999e3)){const _0x55f6db=_0x15b789['get'](_0x2999e3);_0x41e5c9[_0x1510e0(0x24b)](_0x59b8e6=>{const _0x2757fe=_0x1510e0,_0x1d3d31=_0x55f6db[_0x2757fe(0x24d)](_0x59b8e6);_0x1d3d31!=null&&(_0x1d3d31[_0x2757fe(0x223)]((_0x1c2a83,_0x1a8e93,_0x5e75f2)=>{const _0x364ac7=_0x2757fe;this[_0x364ac7(0x212)](_0x5e75f2),this[_0x364ac7(0x224)](_0x5e75f2);}),_0x55f6db['delete'](_0x59b8e6),this[_0x2757fe(0x232)][_0x2757fe(0x1dd)](_0x59b8e6));}),_0x55f6db['size']===0x0&&_0x15b789[_0x1510e0(0x1dd)](_0x2999e3),_0x15b789[_0x1510e0(0x1db)]===0x0&&this['_otherFormulaData'][_0x1510e0(0x1dd)](_0x516cb1);}}[_0x1f8138(0x226)](_0xa8fe10,_0x515bb6){const _0x5d35b2=_0x1f8138,_0x47079f=this[_0x5d35b2(0x1e5)][_0x5d35b2(0x24d)](_0xa8fe10);if(_0x515bb6&&_0x47079f&&_0x47079f[_0x5d35b2(0x215)](_0x515bb6)){const _0x40d6c2=_0x47079f['get'](_0x515bb6);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x515bb6);for(const _0x54d24e of _0x40d6c2[_0x5d35b2(0x202)]()){const _0x5c9754=_0x40d6c2[_0x5d35b2(0x24d)](_0x54d24e);_0x5c9754!=null&&(_0x5c9754[_0x5d35b2(0x223)]((_0x264fe1,_0x57026b,_0x51aeea)=>{const _0xfa6860=_0x5d35b2;this[_0xfa6860(0x1f7)][_0xfa6860(0x24d)](_0x51aeea)&&this[_0xfa6860(0x224)](_0x51aeea);}),this[_0x5d35b2(0x232)]['delete'](_0x54d24e));}_0x40d6c2['clear']();}else{if(_0x47079f){for(const _0x184472 of _0x47079f[_0x5d35b2(0x202)]()){const _0x2452e6=_0x47079f[_0x5d35b2(0x24d)](_0x184472);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x184472);for(const _0xe12146 of _0x2452e6['keys']()){const _0xd3a09d=_0x2452e6[_0x5d35b2(0x24d)](_0xe12146);_0xd3a09d!=null&&(_0xd3a09d[_0x5d35b2(0x223)]((_0x14a121,_0x46718a,_0x441c1c)=>{const _0x29c69f=_0x5d35b2;this[_0x29c69f(0x1f7)]['get'](_0x441c1c)&&this['_removeAllTreeMap'](_0x441c1c);}),this['_otherFormulaDataMainData'][_0x5d35b2(0x1dd)](_0xe12146));}}this[_0x5d35b2(0x1e5)][_0x5d35b2(0x1dd)](_0xa8fe10);}}}[_0x1f8138(0x259)](_0x18ec97,_0x544d3d,_0x2e2056,_0x23a031){const _0x4bdbd4=_0x1f8138;this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x215)](_0x18ec97)||this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x220)](_0x18ec97,new Map());const _0x1d8f60=this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x24d)](_0x18ec97);_0x1d8f60[_0x4bdbd4(0x215)](_0x544d3d)||_0x1d8f60[_0x4bdbd4(0x220)](_0x544d3d,new Map()),_0x1d8f60['get'](_0x544d3d)[_0x4bdbd4(0x220)](_0x2e2056,_0x23a031[_0x4bdbd4(0x23c)]);}[_0x1f8138(0x26c)](_0x29aaf0,_0x5eca71,_0x4cc6e3){const _0x43adb6=_0x1f8138,_0x505896=this[_0x43adb6(0x23a)]['get'](_0x29aaf0);if(_0x505896&&_0x505896['has'](_0x5eca71)){const _0x14df0f=_0x505896[_0x43adb6(0x24d)](_0x5eca71);_0x4cc6e3['forEach'](_0x1c6c9f=>{const _0x27eba7=_0x43adb6,_0x1683da=_0x14df0f[_0x27eba7(0x24d)](_0x1c6c9f);_0x1683da!=null&&(this[_0x27eba7(0x212)](_0x1683da),_0x14df0f[_0x27eba7(0x1dd)](_0x1c6c9f),this[_0x27eba7(0x224)](_0x1683da));});}}['clearFeatureFormulaDependency'](_0x206331,_0x247028){const _0x2cc313=_0x1f8138,_0x4fc1b1=this[_0x2cc313(0x23a)][_0x2cc313(0x24d)](_0x206331);if(_0x247028&&_0x4fc1b1&&_0x4fc1b1['has'](_0x247028)){const _0x45a3cb=_0x4fc1b1[_0x2cc313(0x24d)](_0x247028);this['_removeDependencyRTreeCacheById'](_0x206331,_0x247028),_0x45a3cb[_0x2cc313(0x24b)](_0x2b9a4c=>{const _0x1d48a7=_0x2cc313;_0x2b9a4c!=null&&this[_0x1d48a7(0x224)](_0x2b9a4c);}),_0x45a3cb['clear']();}else _0x4fc1b1&&(_0x4fc1b1[_0x2cc313(0x24b)]((_0x4c346f,_0x3312b5)=>{const _0x2b98db=_0x2cc313;this[_0x2b98db(0x23b)](_0x206331,_0x3312b5),_0x4c346f['forEach'](_0x51cfe0=>{const _0x316c34=_0x2b98db;_0x51cfe0!=null&&this[_0x316c34(0x224)](_0x51cfe0);});}),this[_0x2cc313(0x23a)][_0x2cc313(0x1dd)](_0x206331));}[_0x1f8138(0x22e)](_0x136d0f,_0x1c435c,_0x31fec1,_0x4eb645,_0x442834){const _0x2ef781=_0x1f8138;this[_0x2ef781(0x22f)][_0x2ef781(0x215)](_0x136d0f)||this['_formulaData']['set'](_0x136d0f,new Map());const _0x1447c9=this['_formulaData']['get'](_0x136d0f);_0x1447c9[_0x2ef781(0x215)](_0x1c435c)||_0x1447c9[_0x2ef781(0x220)](_0x1c435c,new _0x3a71c1()),_0x1447c9[_0x2ef781(0x24d)](_0x1c435c)[_0x2ef781(0x275)](_0x31fec1,_0x4eb645,_0x442834[_0x2ef781(0x23c)]);}['removeFormulaDependency'](_0x340720,_0x181d3c,_0x3e5851,_0x232d4a){const _0x1517b8=_0x1f8138,_0x1ba2d2=this[_0x1517b8(0x22f)][_0x1517b8(0x24d)](_0x340720);if(_0x1ba2d2&&_0x1ba2d2[_0x1517b8(0x215)](_0x181d3c)){const _0x3fb197=_0x1ba2d2[_0x1517b8(0x24d)](_0x181d3c),_0xd46a6c=_0x3fb197['getValue'](_0x3e5851,_0x232d4a);if(_0xd46a6c==null)return;this[_0x1517b8(0x212)](_0xd46a6c),_0x3fb197[_0x1517b8(0x273)](_0x3e5851,_0x232d4a),this[_0x1517b8(0x224)](_0xd46a6c);}}[_0x1f8138(0x263)](_0x1c1499,_0x26d89d){const _0xf392a0=_0x1f8138,_0xb3afd1=this[_0xf392a0(0x22f)]['get'](_0x1c1499);if(_0x26d89d&&_0xb3afd1&&_0xb3afd1[_0xf392a0(0x215)](_0x26d89d)){const _0x5a6d84=_0xb3afd1[_0xf392a0(0x24d)](_0x26d89d);this[_0xf392a0(0x23b)](_0x1c1499,_0x26d89d),_0x5a6d84['forValue']((_0x3af5ca,_0x17de54,_0x5a6be4)=>{const _0x9cf121=_0xf392a0;if(_0x5a6be4==null)return!0x0;this[_0x9cf121(0x224)](_0x5a6be4);}),_0x5a6d84[_0xf392a0(0x20f)]();}else _0xb3afd1&&(_0xb3afd1[_0xf392a0(0x24b)]((_0x30dcfb,_0x3afb13)=>{const _0x1029f6=_0xf392a0;this[_0x1029f6(0x23b)](_0x1c1499,_0x3afb13),_0x30dcfb[_0x1029f6(0x223)]((_0x50918c,_0x242d8c,_0x46f946)=>{if(_0x46f946==null)return!0x0;this['_removeAllTreeMap'](_0x46f946);});}),this[_0xf392a0(0x22f)]['delete'](_0x1c1499));}['_removeDependencyRTreeCache'](_0x3b99fc){const _0x48ee31=_0x1f8138;if(_0x3b99fc==null)return;const _0x46bdd3=this[_0x48ee31(0x1f7)][_0x48ee31(0x24d)](_0x3b99fc);if(_0x46bdd3){const _0x512ed9=[];for(const [_0x218695,_0x56afde]of _0x46bdd3)for(const [_0x4db8d7,_0x33e2e7]of _0x56afde)_0x512ed9['push']({'unitId':_0x218695,'sheetId':_0x4db8d7,'range':_0x33e2e7,'id':_0x3b99fc});this['_dependencyRTreeCache']['bulkRemove'](_0x512ed9);}}['removeFormulaDependencyByDefinedName'](_0x5aca72,_0x412331){const _0x5b7d7a=_0x1f8138,_0x436833=this[_0x5b7d7a(0x251)][_0x5b7d7a(0x24d)](_0x5aca72);if(_0x436833){const _0x920cdd=_0x436833['get'](_0x412331);if(_0x920cdd){for(const _0x137d2c of _0x920cdd)this['_removeDependencyRTreeCache'](_0x137d2c),this[_0x5b7d7a(0x224)](_0x137d2c);_0x920cdd['clear']();}}}['openKdTree'](){const _0xac9c6=_0x1f8138;this[_0xac9c6(0x200)]['openKdTree']();}[_0x1f8138(0x214)](){const _0x1b53a3=_0x1f8138;this[_0x1b53a3(0x200)]['closeKdTree']();}[_0x1f8138(0x224)](_0x407c26){const _0x5367db=_0x1f8138;_0x407c26!=null&&this[_0x5367db(0x1f7)][_0x5367db(0x1dd)](_0x407c26);}[_0x1f8138(0x1ef)](_0x31b84e){const _0x3fd8d6=_0x1f8138;var _0x3ce634,_0x26ec97;const _0xb2055=_0x31b84e['rangeList'];let _0x4778a2=this['_allTreeMap'][_0x3fd8d6(0x24d)](_0x31b84e['treeId']);for(let _0x41849c=0x0;_0x41849c<_0xb2055[_0x3fd8d6(0x238)];_0x41849c++){const _0x51f9b9=_0xb2055[_0x41849c];let {unitId:_0x21e767,sheetId:_0x3e2378,range:_0x485e90}=_0x51f9b9;_0x4778a2||(_0x4778a2=new Map(),this[_0x3fd8d6(0x1f7)][_0x3fd8d6(0x220)](_0x31b84e[_0x3fd8d6(0x23c)],_0x4778a2)),_0x4778a2[_0x3fd8d6(0x215)](_0x21e767)||_0x4778a2[_0x3fd8d6(0x220)](_0x21e767,new Map());const _0x322f32=(_0x3ce634=_0x4778a2==null?void 0x0:_0x4778a2['get'](_0x21e767))==null?void 0x0:_0x3ce634[_0x3fd8d6(0x24d)](_0x3e2378);_0x322f32&&(_0x485e90={'startRow':Math[_0x3fd8d6(0x268)](_0x485e90['startRow'],_0x322f32['startRow']),'startColumn':Math[_0x3fd8d6(0x268)](_0x485e90[_0x3fd8d6(0x227)],_0x322f32[_0x3fd8d6(0x227)]),'endRow':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1fc)],_0x322f32[_0x3fd8d6(0x1fc)]),'endColumn':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1f8)],_0x322f32[_0x3fd8d6(0x1f8)])}),(_0x26ec97=_0x4778a2[_0x3fd8d6(0x24d)](_0x21e767))==null||_0x26ec97[_0x3fd8d6(0x220)](_0x3e2378,_0x485e90);}}}function _0x37f8(){const _0x138550=['length','push','_featureFormulaData','_removeDependencyRTreeCacheById','treeId','_isCyclicUtilMap','markedAsNoFunctionsExecuted','FEATURE_FORMULA','node','dependencySheetName','getDirtyData','setSkip','addFormulaDependencyByDefinedName','setCompletedFormulasCount','_currentConfigService','getOtherFormulaDependency','START_DEPENDENCY','row','refOffsetY','forEach','_createVirtualFDtree','get','addOtherFormulaDependencyMainData','generate','_config','_definedNameMap','formula','intervalCount','_getUpdateTreeListAndMakeDependency','type','_otherFormulaManagerService','IDLE','_restDependencyTreeId','addFeatureFormulaDependency','_executionCompleteListener$','9auCifF','isCache','43732mGBocg','getOwnPropertyDescriptor','_runtimeService','_initializeWithOverride','getOtherFormulaData','getExcludedRange','clearFormulaDependency','_updateRangeFlatten','getAllRuntimeData','setTotalArrayFormulasToCalculate','getConfig','min','295330ZIFFKH','_generateTreeList','columnCount','removeFeatureFormulaDependency','getClearDependencyTreeCache','next','toRTreeItem','getUnitData','_createFDtree','dispose','realDeleteValue','setFormulaExecuteStage','setValue','bulkSearch','size','START_CALCULATION','delete','valid','_dependencyRTreeCacheForAddressFunction','isDirty','searchDependency','_dependencyTreeCache','_getFirstCellOfRange','getFormulaDependency','_otherFormulaData','_dependencyManagerService','pop','getFormulaData','getFeatureFormulaDependency','isStopExecution','290CRBhkY','_executionInProgressListener$','featureDirtyRanges','column','_addAllTreeMap','featureId','_formulaDependencyGenerator','executeAsync','_injector','isSkip','openKdTree','getValue','_allTreeMap','endColumn','6097122pYGClo','add','isExcludeRange','endRow','unitId','notExecuteFormula','_getTreeById','_dependencyRTreeCache','clear','keys','defineProperty','rangeList','refOffsetX','isAdded','parseInt','message','isForceCalculate','_traverse','rowCount','resolve','_initLicenseValid','getDirtyRanges','reset','_getFeatureFormulaTree','502754xXPEVr','_removeDependencyRTreeCache','isVirtual','closeKdTree','has','formulaId','dirtyRanges','157389dZwvEY','setRuntimeFeatureCellData','ParentDependencyTree\x20object\x20is\x20null','symbol','return\x20','CURRENTLY_CALCULATING_ARRAY_FORMULA','_lexer','enableCycleDependency','set','max','getRuntimeState','forValue','_removeAllTreeMap','setTotalFormulasToCalculate','clearOtherFormulaDependency','startColumn','363162vvqSfo','_calculateRunList','32tGIIVG','checkAsyncNode','_astTreeBuilder','addOtherFormulaDependency','addFormulaDependency','_formulaData','_registerFormulas','setAdded','_otherFormulaDataMainData','setRuntimeData','subUnitId','START_CALCULATION_ARRAY_FORMULA','2309544tSLbof','_configService'];_0x37f8=function(){return _0x138550;};return _0x37f8();}var fe=Object[_0x1f8138(0x25e)],pe=(_0x1bea54,_0x137af9,_0x20e090,_0x181ca7)=>{const _0x13ee9e=_0x1f8138;for(var _0x47400f=_0x181ca7>0x1?void 0x0:_0x181ca7?fe(_0x137af9,_0x20e090):_0x137af9,_0x3baaa8=_0x1bea54[_0x13ee9e(0x238)]-0x1,_0x3f89f4;_0x3baaa8>=0x0;_0x3baaa8--)(_0x3f89f4=_0x1bea54[_0x3baaa8])&&(_0x47400f=_0x3f89f4(_0x47400f)||_0x47400f);return _0x47400f;};const _e=Number[_0x1f8138(0x207)](0x67ed1401);let N=class extends _0x20b52a{[_0x1f8138(0x260)](){const _0x5c1b1b=_0x1f8138;var _0x567533,_0x4dac7f;this[_0x5c1b1b(0x20d)]()?(_0x567533=this['_config'])!=null&&_0x567533['notExecuteFormula']||[[_0x22c75f,{'useClass':he}],[_0x5135d4,{'useClass':ge}],[_0x10a5ff,{'useClass':de}]]['forEach'](_0x214de0=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x214de0)):(_0x4dac7f=this[_0x5c1b1b(0x250)])!=null&&_0x4dac7f[_0x5c1b1b(0x1fe)]||[[_0x22c75f,{'useClass':_0x28f8f2}],[_0x5135d4,{'useClass':_0x49ea93}],[_0x10a5ff,{'useClass':_0x32f891}]][_0x5c1b1b(0x24b)](_0x2fdcb6=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x2fdcb6));}[_0x1f8138(0x20d)](){const _0x3b3d3d=_0x1f8138;var _0x3a6d46;const _0x5df9a8=(_0x3a6d46=this[_0x3b3d3d(0x237)][_0x3b3d3d(0x267)](_0x246301))!=null?_0x3a6d46:{},{ls:_0x2e743b,pbk:_0x26bab1}=_0x5df9a8;if(!_0x2e743b||!_0x26bab1)return!0x1;const _0x3490fa=_0x28e67d(ue,le),_0x313fa3=new Function(_0x3b3d3d(0x21c)+_0x3490fa)()(_0x2e743b,_0x26bab1),_0x25c2b2=_0x313fa3[_0x3b3d3d(0x208)];return _0x313fa3[_0x3b3d3d(0x1de)]&&_0x47ac6d(_0x25c2b2,'sf',_e)?_0xf3f376(_0x25c2b2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=pe([_0x319459(_0x322e28)],N);export{N as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x428da3=_0x5f57;(function(_0x37a56a,_0x34f785){const _0x3250cc=_0x5f57,_0x471868=_0x37a56a();while(!![]){try{const _0x3cf83d=parseInt(_0x3250cc(0xd5))/0x1*(-parseInt(_0x3250cc(0x100))/0x2)+parseInt(_0x3250cc(0x110))/0x3*(parseInt(_0x3250cc(0xb8))/0x4)+-parseInt(_0x3250cc(0xcd))/0x5+parseInt(_0x3250cc(0xde))/0x6+-parseInt(_0x3250cc(0xd1))/0x7*(parseInt(_0x3250cc(0xff))/0x8)+-parseInt(_0x3250cc(0xdd))/0x9*(-parseInt(_0x3250cc(0xf1))/0xa)+-parseInt(_0x3250cc(0xba))/0xb*(-parseInt(_0x3250cc(0xb0))/0xc);if(_0x3cf83d===_0x34f785)break;else _0x471868['push'](_0x471868['shift']());}catch(_0x554f76){_0x471868['push'](_0x471868['shift']());}}}(_0xd697,0x8e2f5));var z=Object[_0x428da3(0x90)],X=(_0x1cd753,_0x5d37b7,_0x895b5e)=>_0x5d37b7 in _0x1cd753?z(_0x1cd753,_0x5d37b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x895b5e}):_0x1cd753[_0x5d37b7]=_0x895b5e,L=(_0x56a0b7,_0xb9db0f,_0x554fed)=>X(_0x56a0b7,typeof _0xb9db0f!=_0x428da3(0x92)?_0xb9db0f+'':_0xb9db0f,_0x554fed);function _0xd697(){const _0x2837fd=['resolve','_featureFormulaData','refOffsetY','_isCyclicUtilMap','setTotalFormulasToCalculate','defineProperty','set','symbol','isForceCalculate','_dependencyTreeCache','setFormulaExecuteStage','clear','OTHER_FORMULA','enableCycleDependency','_runtimeService','closeKdTree','_getFirstCellOfRange','formulaId','_removeDependencyRTreeCacheById','addOtherFormulaDependency','clearOtherFormulaDependency','notExecuteFormula','removeOtherFormulaDependency','_definedNameMap','_registerFormulas','forValue','_dependencyRTreeCacheForAddressFunction','START_CALCULATION','isCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','reset','subUnitId','add','hasOtherFormulaDataMainData','getExcludedRange','_addAllTreeMap','isAdded','120tlBEHk','featureId','executeAsync','dispose','realDeleteValue','_interpreter','isVirtual','START_DEPENDENCY_ARRAY_FORMULA','16htrxZZ','_getTreeById','576950ZKtbSP','getClearDependencyTreeCache','getOtherFormulaData','columnCount','getAllRuntimeData','removeFormulaDependency','getOwnPropertyDescriptor','has','addFeatureFormulaDependency','setRuntimeData','rowCount','_configService','addFormulaDependency','_injector','refOffsetX','_removeDependencyRTreeCache','push','isDirty','next','2045140sEmXXE','_apply','get','_dependencyManagerService','7mUTPqh','rangeList','_lexer','_getTreeNode','104FgFvjv','START_DEPENDENCY','checkAsyncNode','removeFeatureFormulaDependency','_calculateRunList','_formulaDependencyGenerator','size','_getFeatureFormulaTree','523242doVBvc','5524914zMjhWl','setTotalArrayFormulasToCalculate','_initLicenseValid','featureDirtyRanges','endColumn','getValue','IDLE','max','_createVirtualFDtree','row','unitId','column','formula','_traverse','setSkip','forEach','removeFormulaDependencyByDefinedName','setCompletedArrayFormulasCount','markedAsSuccessfullyExecuted','50diggFh','keys','_getUpdateTreeListAndMakeDependency','_restDependencyTreeId','_removeAllTreeMap','parseInt','_otherFormulaManagerService','toRTreeItem','FEATURE_FORMULA','_executionInProgressListener$','_createFDtree','valid','markedAsStopFunctionsExecuted','setRuntimeFeatureRange','3336576yeVEIo','12842DNXRdL','intervalCount','START_CALCULATION_ARRAY_FORMULA','startColumn','_allTreeMap','getRuntimeState','bulkRemove','_executionCompleteListener$','_config','getConfig','_dependencyRTreeCache','pop','node','type','_checkIsCycleDependency','length','255198vsGrhG','_otherFormulaData','refTree','isStopExecution','getFormulaData','openKdTree','generate','message','clearFeatureFormulaDependency','addFormulaDependencyByDefinedName','addOtherFormulaDependencyMainData','_formulaData','dependencySheetName','_currentConfigService','_initializeWithOverride','clearFormulaDependency','bulkSearch','getFormulaDependency','min','startRow','delete','getDirtyNameMap','_astTreeBuilder','_updateRangeFlatten','searchDependency','treeId','getDirtyRanges','_otherFormulaDataMainData','setValue','_registerOtherFormulas'];_0xd697=function(){return _0x2837fd;};return _0xd697();}import{UniverLicensePlugin as _0x1fee13,LS_CONFIG_KEY as _0x399e32,unshiftString as _0x37758e,isFeatureAuthorizedWithinTime as _0x24b750,getSheetFeatureLimit as _0x17a809}from'@univerjs-pro/license';import{ObjectMatrix as _0x35143a,requestImmediateMacroTask as _0x3095c4,RTree as _0x5c8891,DependentOn as _0x31fbec}from'@univerjs/core';import{FormulaDependencyGenerator as _0x50464b,generateRandomDependencyTreeId as _0x2d4784,FormulaDependencyTree as _0x1e8a2d,FormulaDependencyTreeType as _0x12d99c,FormulaDependencyTreeVirtual as _0x25d24a,generateAstNode as _0x1bb178,CalculateFormulaService as _0x134747,FormulaExecuteStageType as _0x2c7573,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x592dbd,DEFAULT_INTERVAL_COUNT as _0x519c23,DependencyManagerBaseService as _0x574a03,UniverFormulaEnginePlugin as _0x351cbb,ICalculateFormulaService as _0x37c749,IDependencyManagerService as _0x150ddc,IFormulaDependencyGenerator as _0x1493a3,DependencyManagerService as _0x2be659}from'@univerjs/engine-formula';function _0x5f57(_0x2e31d9,_0x4517c7){const _0xd6975f=_0xd697();return _0x5f57=function(_0x5f5710,_0x3543ae){_0x5f5710=_0x5f5710-0x76;let _0x4e17b3=_0xd6975f[_0x5f5710];return _0x4e17b3;},_0x5f57(_0x2e31d9,_0x4517c7);}export*from'@univerjs/engine-formula';const le={0x0:'E',0x1:'y',0x2:'w',0x3:'4',0x4:'M',0x5:'7',0x6:'2',0x7:'P',0x8:'8',0x9:'N','z':'0','x':'1','g':'3','c':'5','o':'6','B':'9','f':'a','j':'b','T':'c','N':'d','F':'e','d':'f','h':'g','I':'h','G':'i','Z':'j','b':'k','y':'l','k':'m','H':'n','Y':'o','r':'p','J':'q','L':'r','E':'s','s':'t','M':'u','Q':'v','w':'x','R':'z','p':'A','v':'B','n':'C','D':'D','V':'F','P':'G','O':'H','a':'I','U':'J','l':'K','X':'L','A':'O','i':'Q','S':'R','m':'S','W':'T','C':'U','u':'V','K':'W','t':'X','e':'Y','q':'Z'},ue='dMHTsGYH\x20NFTL1rsGYH(yGTFHEF,\x20rMjyGTlF1)\x20{\x20\x20\x20\x20sL1\x20{\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20yGTFHEFaHdY7fLspLLf1\x20=\x20yGTFHEF.EryGs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20YLGhGH4FEEfhF\x20=\x20UmA9.rfLEF(fsYj(yGTFHEFaHdY7fLspLLf1[6]));\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!YLGhGH4FEEfhF.MN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YLGhGH4FEEfhF.MN\x20=\x209MkjFL(yGTFHEFaHdY7fLspLLf1[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20GEKYLbFL\x20=\x20s1rFYd\x20KYLbFLPyYjfymTYrF\x20!==\x20\x27MHNFdGHFN\x27\x20&&\x20EFyd\x20GHEsfHTFYd\x20KYLbFLPyYjfymTYrF;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20TYHsFws\x20=\x20GEKYLbFL\x20?\x20EFyd\x20:\x202GHNY2;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[6]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(kFEEfhFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[g]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(EGhHfsMLFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHufyGN\x20=\x20TYHsFws.__QFLGd1__(EGhHfsMLF,\x20kFEEfhF,\x20rMjyGTlF1);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20NYkfGH\x20=\x20YLGhGH4FEEfhF.Nk;\x20\x20\x20\x20\x20\x20\x20\x20dMHTsGYH\x20GEDYkfGH4fsTIGHh(Y7fssFLH,\x20YOYEs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH\x20=\x20Y7fssFLH.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs\x20=\x20YOYEs.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH7fLsE\x20=\x20rfssFLH.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs7fLsE\x20=\x20IYEs.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!rfssFLH.GHTyMNFE(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLH\x20===\x20IYEs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(rfssFLH7fLsE.yFHhsI\x20<\x206\x20||\x20rfssFLH7fLsE[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20dfyEF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLHmMddGw\x20=\x20rfssFLH7fLsE.EyGTF(x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEsmMddGw\x20=\x20IYEs7fLsE.EyGTF(-rfssFLH7fLsE.yFHhsI\x20+\x20x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLHmMddGw\x20===\x20IYEsmMddGw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yFs\x20NYkfGHufyGN\x20=\x20(NYkfGH\x20&&\x20NYkfGH.yFHhsI)\x20?\x20NYkfGH.EYkF((NkasFk)\x20=>\x20GEDYkfGH4fsTIGHh(NkasFk,\x20yYTfsGYH.IYEsHfkF))\x20:\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(yYTfsGYH.IYEsHfkF\x20===\x20\x27yYTfyIYEs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NYkfGHufyGN\x20=\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20QfyGN\x20=\x20EGhHufyGN\x20&&\x20NYkfGHufyGN;\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20YLGhGH4FEEfhF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TfsTI\x20(FLLYL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN:\x20dfyEF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x50464b{constructor(){const _0x146eb8=_0x428da3;super(...arguments),L(this,_0x146eb8(0x94),new Map());}[_0x428da3(0xb3)](){const _0x86b281=_0x428da3;super[_0x86b281(0xb3)](),this[_0x86b281(0x94)][_0x86b281(0x96)]();}async[_0x428da3(0x116)](){const _0x510eb4=_0x428da3;this[_0x510eb4(0x84)]();const _0x39c5fd=this[_0x510eb4(0x7a)][_0x510eb4(0x114)](),_0x1b3a15=this[_0x510eb4(0xf7)][_0x510eb4(0xbc)](),_0x1c2ecb=this[_0x510eb4(0x7a)][_0x510eb4(0xbb)]();_0x1c2ecb!=null&&Object['keys'](_0x1c2ecb)['forEach'](_0x54a689=>{const _0x438174=_0x510eb4;_0x54a689!=null&&Object[_0x438174(0xf2)](_0x1c2ecb[_0x54a689])[_0x438174(0xed)](_0x563e60=>{const _0x2acfdd=_0x438174;_0x563e60!=null&&(this['_dependencyManagerService'][_0x2acfdd(0x9f)](_0x54a689,_0x563e60),this[_0x2acfdd(0xd0)][_0x2acfdd(0x118)](_0x54a689,_0x563e60),this[_0x2acfdd(0xd0)][_0x2acfdd(0x7c)](_0x54a689,_0x563e60));});});const _0x444c2c=this[_0x510eb4(0x7a)]['getUnitData']();await this['_generateTreeList'](_0x39c5fd,_0x1b3a15,_0x444c2c),this[_0x510eb4(0xd0)]['openKdTree']();const _0x508f3b=this[_0x510eb4(0xf3)](),_0x355c8b=this['_calculateRunList'](_0x508f3b);return this[_0x510eb4(0x10e)](_0x355c8b)&&this[_0x510eb4(0x99)][_0x510eb4(0x98)](),this[_0x510eb4(0x94)]['clear'](),this[_0x510eb4(0xa5)]['clear'](),this[_0x510eb4(0xd0)][_0x510eb4(0x9a)](),Promise[_0x510eb4(0x8b)](_0x355c8b);}[_0x428da3(0x8e)](_0x2500da,_0x145f76){const _0x16f089=_0x428da3,_0x2d7780=[_0x2500da];for(;_0x2d7780[_0x16f089(0x10f)]>0x0;){const _0x5c3ee5=_0x2d7780[_0x2d7780[_0x16f089(0x10f)]-0x1];if((_0x145f76[_0x16f089(0xcf)](_0x5c3ee5)||0x0)===0x0){_0x145f76['set'](_0x5c3ee5,0x1);const _0x2649df=this['_dependencyTreeCache']['get'](_0x5c3ee5);if(_0x2649df==null){_0x145f76['set'](_0x5c3ee5,0x2),_0x2d7780[_0x16f089(0x10b)]();continue;}const _0x4c3699=this[_0x16f089(0xd0)][_0x16f089(0x85)](_0x2649df[_0x16f089(0xf8)]());for(const _0x45308f of _0x4c3699){const _0x4589d1=_0x145f76[_0x16f089(0xcf)](_0x45308f)||0x0;if(_0x4589d1===0x1)return!0x0;_0x4589d1===0x0&&_0x2d7780[_0x16f089(0xca)](_0x45308f);}}else _0x145f76[_0x16f089(0x91)](_0x5c3ee5,0x2),_0x2d7780[_0x16f089(0x10b)]();}return!0x1;}['_checkIsCycleDependency'](_0x5b5a28){const _0x3b716f=_0x428da3,_0x58cca0=new Map();for(const _0xb08598 of _0x5b5a28)if(!_0x58cca0[_0x3b716f(0xc1)](_0xb08598[_0x3b716f(0x86)])&&this['_isCyclicUtilMap'](_0xb08598[_0x3b716f(0x86)],_0x58cca0))return!0x0;return _0x58cca0['clear'](),!0x1;}[_0x428da3(0xdc)](_0x34b320,_0x22cb73,_0xef4e98){const _0x320122=_0x428da3,{unitId:_0x369ca0,subUnitId:_0x19f9a4,dependencyRanges:_0x37f92d,getDirtyData:_0x53c291}=_0xef4e98,_0x32fa8f=_0x22cb73||_0x2d4784(this[_0x320122(0xd0)]),_0xdfcb10=new _0x1e8a2d(_0x32fa8f);_0xdfcb10[_0x320122(0xe8)]=_0x369ca0,_0xdfcb10[_0x320122(0xaa)]=_0x19f9a4,_0xdfcb10[_0x320122(0xd2)]=_0x37f92d,_0xdfcb10['getDirtyData']=_0x53c291;const _0x33eb6c=_0x53c291(this['_currentConfigService']['getDirtyData'](),this[_0x320122(0x99)][_0x320122(0xbe)]()),_0x1ed16a=this['_convertDirtyRangesToUnitRange'](_0x33eb6c['dirtyRanges']);return _0xdfcb10[_0x320122(0xe1)]=_0x1ed16a,_0xdfcb10[_0x320122(0xb1)]=_0x34b320,_0xdfcb10['type']=_0x12d99c[_0x320122(0xf9)],this[_0x320122(0xd0)][_0x320122(0xc2)](_0x369ca0,_0x19f9a4,_0x34b320,_0xdfcb10),this['_dependencyTreeCache'][_0x320122(0x91)](_0xdfcb10[_0x320122(0x86)],_0xdfcb10),this[_0x320122(0xd0)]['getFeatureFormulaDependency'](_0xef4e98[_0x320122(0xe8)],_0xef4e98['subUnitId'],_0x34b320)&&(_0xdfcb10[_0x320122(0xa7)]=!0x0),_0xdfcb10;}[_0x428da3(0x8a)](_0x4f7ecc,_0x5fc839,_0x2fe0fa){const _0x666e80=_0x428da3;var _0x27e9cd;for(const _0x1b48ab of _0x5fc839){const _0x20711a=_0x4f7ecc[_0x1b48ab];if(_0x20711a==null)continue;const _0xc164a5=Object[_0x666e80(0xf2)](_0x20711a);for(const _0x41186b of _0xc164a5){const _0x5396be=_0x20711a[_0x41186b];if(_0x5396be==null)continue;const _0x45166b=Object[_0x666e80(0xf2)](_0x5396be);for(const _0x53a0a2 of _0x45166b){const _0x588480=this[_0x666e80(0xd0)][_0x666e80(0xac)](_0x53a0a2),_0x32eb22=_0x5396be[_0x53a0a2],{f:_0x2622c2,ranges:_0xd5eeae}=_0x32eb22;let _0x3c84cf=!0x1;_0x588480&&(_0x3c84cf=!0x0);const {firstRow:_0x9b99be,firstColumn:_0x325192}=this[_0x666e80(0x9b)](_0xd5eeae),_0x51591e=this[_0x666e80(0xd0)]['getOtherFormulaDependency'](_0x1b48ab,_0x41186b,_0x53a0a2),_0x58e002=(_0x27e9cd=_0x51591e==null?void 0x0:_0x51591e[_0x666e80(0xe3)](0x0,0x0))!=null?_0x27e9cd:_0x2d4784(this['_dependencyManagerService']),_0x52d4ea=new _0x1e8a2d(_0x58e002);for(let _0xc8d443=0x0;_0xc8d443<_0xd5eeae[_0x666e80(0x10f)];_0xc8d443++){const _0x1f0fc6=_0xd5eeae[_0xc8d443],{startRow:_0x270ceb,startColumn:_0x166b1c,endRow:_0x17fe56,endColumn:_0x279116}=_0x1f0fc6;for(let _0x121887=_0x270ceb;_0x121887<=_0x17fe56;_0x121887++)for(let _0x37da33=_0x166b1c;_0x37da33<=_0x279116;_0x37da33++){const _0x561981=_0x37da33-_0x325192,_0xa3deda=_0x121887-_0x9b99be;if(_0x561981===0x0&&_0xa3deda===0x0){_0x52d4ea[_0x666e80(0xea)]=_0x2622c2,_0x52d4ea['unitId']=_0x1b48ab,_0x52d4ea['subUnitId']=_0x41186b,_0x52d4ea[_0x666e80(0x9c)]=_0x53a0a2,_0x52d4ea[_0x666e80(0x10d)]=_0x12d99c[_0x666e80(0x97)],_0x52d4ea[_0x666e80(0xa7)]=_0x3c84cf,_0x2fe0fa[_0x666e80(0xca)](_0x52d4ea),this['_dependencyTreeCache'][_0x666e80(0x91)](_0x52d4ea[_0x666e80(0x86)],_0x52d4ea),this[_0x666e80(0xd0)][_0x666e80(0x9e)](_0x1b48ab,_0x41186b,_0x53a0a2,_0x52d4ea),this[_0x666e80(0xd0)][_0x666e80(0x76)](_0x52d4ea);continue;}const _0x336c17=new _0x25d24a();_0x336c17[_0x666e80(0x86)]=(_0x51591e==null?void 0x0:_0x51591e[_0x666e80(0xe3)](_0x561981,_0xa3deda))||_0x2d4784(this[_0x666e80(0xd0)]),_0x336c17[_0x666e80(0x112)]=_0x52d4ea,_0x336c17[_0x666e80(0xc8)]=_0x561981,_0x336c17[_0x666e80(0x8d)]=_0xa3deda,_0x336c17[_0x666e80(0xa7)]=_0x3c84cf,this['_dependencyManagerService'][_0x666e80(0x9e)](_0x1b48ab,_0x41186b,_0x53a0a2,_0x336c17),this[_0x666e80(0xd0)]['addFormulaDependencyByDefinedName'](_0x336c17),_0x2fe0fa[_0x666e80(0xca)](_0x336c17),this[_0x666e80(0x94)]['set'](_0x336c17[_0x666e80(0x86)],_0x336c17);}}this['_dependencyManagerService'][_0x666e80(0x77)](_0x53a0a2);}}}}[_0x428da3(0xa3)](_0x4097a7,_0xd237c4,_0x4e8bdb,_0x11b287){const _0x5bd1b3=_0x428da3;for(const _0x1b47c6 of _0x4097a7){const _0x4c4401=_0xd237c4[_0x1b47c6];if(_0x4c4401==null)continue;const _0x41dc34=Object[_0x5bd1b3(0xf2)](_0x4c4401);for(const _0x7b9fbe of _0x41dc34){const _0x34ba41=new _0x35143a(_0x4c4401[_0x7b9fbe]||{}),_0x44445a=new Map();_0x34ba41[_0x5bd1b3(0xa4)]((_0x3b09f4,_0x1f39dc,_0x377849)=>{const _0x417282=_0x5bd1b3;if(_0x377849==null)return!0x0;const {x:_0xdc608=0x0,y:_0x5ae1cd=0x0,si:_0x46cf3b}=_0x377849;if(!(_0xdc608===0x0&&_0x5ae1cd===0x0&&_0x46cf3b!=null))return!0x0;const _0x48beab=this[_0x417282(0xfb)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc,_0x4e8bdb,_0x377849),_0x2623d3=this[_0x417282(0xd0)][_0x417282(0x7e)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc);_0x2623d3!=null?_0x48beab[_0x417282(0x86)]=_0x2623d3:(this[_0x417282(0xd0)][_0x417282(0xc6)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc,_0x48beab),this[_0x417282(0xd0)][_0x417282(0x76)](_0x48beab)),_0x44445a[_0x417282(0x91)](_0x46cf3b,_0x48beab),_0x11b287[_0x417282(0xca)](_0x48beab),this[_0x417282(0x94)][_0x417282(0x91)](_0x48beab['treeId'],_0x48beab);}),_0x34ba41[_0x5bd1b3(0xa4)]((_0x5dde5f,_0x4cf0cd,_0x26a7c3)=>{const _0x205b4e=_0x5bd1b3;if(_0x26a7c3==null)return!0x0;const {x:_0x30b67c=0x0,y:_0x429bf4=0x0,si:_0x2ff8d7}=_0x26a7c3;if(_0x30b67c===0x0&&_0x429bf4===0x0&&_0x2ff8d7!=null)return!0x0;let _0x4d5f8d;if(_0x2ff8d7&&_0x44445a['has'](_0x2ff8d7)){const _0x481dd6=_0x44445a[_0x205b4e(0xcf)](_0x2ff8d7);_0x4d5f8d=this[_0x205b4e(0xe6)](_0x481dd6,_0x26a7c3);}else _0x4d5f8d=this[_0x205b4e(0xfb)](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd,_0x4e8bdb,_0x26a7c3);const _0x11d564=this[_0x205b4e(0xd0)][_0x205b4e(0x7e)](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd);_0x11d564!=null?_0x4d5f8d[_0x205b4e(0x86)]=_0x11d564:(this[_0x205b4e(0xd0)]['addFormulaDependency'](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd,_0x4d5f8d),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4d5f8d)),_0x11b287[_0x205b4e(0xca)](_0x4d5f8d),this[_0x205b4e(0x94)][_0x205b4e(0x91)](_0x4d5f8d['treeId'],_0x4d5f8d);}),_0x44445a[_0x5bd1b3(0x96)]();}}}[_0x428da3(0xfb)](_0x21e45b,_0x50dc25,_0x4a5403,_0x5157c9,_0x3993b8,_0x4e0101){const _0x2bb4b1=_0x428da3,{f:_0x230bfd,x:_0x442abb=0x0,y:_0x463239=0x0}=_0x4e0101,_0x5d4f11=new _0x1e8a2d(_0x2d4784(this[_0x2bb4b1(0xd0)])),_0x36eb50=_0x3993b8[_0x21e45b][_0x50dc25];return _0x5d4f11[_0x2bb4b1(0xea)]=_0x230bfd,_0x5d4f11[_0x2bb4b1(0xe8)]=_0x21e45b,_0x5d4f11[_0x2bb4b1(0xaa)]=_0x50dc25,_0x5d4f11['row']=_0x4a5403,_0x5d4f11[_0x2bb4b1(0xe9)]=_0x5157c9,_0x5d4f11[_0x2bb4b1(0xc4)]=_0x36eb50[_0x2bb4b1(0xc4)],_0x5d4f11[_0x2bb4b1(0xbd)]=_0x36eb50['columnCount'],_0x5d4f11;}[_0x428da3(0xf3)](){const _0x141f79=_0x428da3,_0x15e105=[],_0xf3c774=new Set(),_0x49f8c7=this['_currentConfigService'][_0x141f79(0x93)](),_0x5e07af=this['_currentConfigService'][_0x141f79(0x87)](),_0x5d557c=this[_0x141f79(0xd0)]['searchDependency'](_0x5e07af),_0x39af50=this[_0x141f79(0xa5)][_0x141f79(0x7d)](_0x5e07af);for(const _0x237ecc of _0x39af50)_0x5d557c[_0x141f79(0xab)](_0x237ecc);for(const [_0x29e538,_0x535020]of this[_0x141f79(0x94)])(_0x49f8c7||_0x535020[_0x141f79(0xcb)]||_0x535020[_0x141f79(0x79)](this[_0x141f79(0x7a)][_0x141f79(0x82)]())||_0x5d557c[_0x141f79(0xc1)](_0x29e538)&&!_0x535020['isExcludeRange'](this['_currentConfigService'][_0x141f79(0xad)]()))&&!_0xf3c774[_0x141f79(0xc1)](_0x29e538)&&(_0x15e105[_0x141f79(0xca)](_0x535020),_0xf3c774[_0x141f79(0xab)](_0x29e538));for(const [_0xd80b4f,_0x1a13eb]of this[_0x141f79(0x94)])_0x1a13eb[_0x141f79(0xb6)]||(_0x1a13eb[_0x141f79(0xd2)]['length']=0x0);return _0x15e105;}[_0x428da3(0xb9)](_0x5226ee){const _0x59424f=_0x428da3;return this[_0x59424f(0x94)]['get'](_0x5226ee);}[_0x428da3(0xd4)](_0x7eb9aa){const _0x176171=_0x428da3;return _0x1bb178(_0x7eb9aa[_0x176171(0xe8)],_0x7eb9aa[_0x176171(0xea)],this['_lexer'],this[_0x176171(0x83)],this[_0x176171(0x7a)]);}*[_0x428da3(0xeb)](_0x4c20e2,_0x36be3e){const _0x5c3ed4=_0x428da3,_0x23da7a=_0x4c20e2,_0x15e86d=new Set();for(;_0x23da7a[_0x5c3ed4(0x10f)]>0x0;){const _0x540fb6=_0x23da7a[_0x5c3ed4(0x10b)]();if(_0x15e86d[_0x5c3ed4(0x96)](),_0x540fb6===void 0x0||_0x540fb6['isSkip']())continue;if(_0x540fb6[_0x5c3ed4(0xaf)]()){yield _0x540fb6,_0x540fb6['setSkip'](),_0x36be3e[_0x5c3ed4(0xab)](_0x540fb6[_0x5c3ed4(0x86)]);continue;}const _0x249b0a=this[_0x5c3ed4(0xd0)][_0x5c3ed4(0x85)](_0x540fb6[_0x5c3ed4(0xf8)](),_0x36be3e),_0x11479=this[_0x5c3ed4(0xa5)][_0x5c3ed4(0x7d)](_0x540fb6[_0x5c3ed4(0xf8)](),_0x36be3e);for(const _0x4ee7a0 of _0x11479)_0x249b0a[_0x5c3ed4(0xab)](_0x4ee7a0);for(const _0x3013b7 of _0x249b0a){const _0x476a84=this[_0x5c3ed4(0x94)][_0x5c3ed4(0xcf)](_0x3013b7);if(!_0x476a84)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x476a84[_0x5c3ed4(0xaf)]()||_0x540fb6['isSkip']()||_0x15e86d[_0x5c3ed4(0xab)](_0x476a84);}if(_0x249b0a[_0x5c3ed4(0x96)](),_0x15e86d[_0x5c3ed4(0xdb)]===0x0)yield _0x540fb6,_0x540fb6[_0x5c3ed4(0xec)](),_0x36be3e['add'](_0x540fb6[_0x5c3ed4(0x86)]);else{_0x540fb6['setAdded'](),_0x23da7a['push'](_0x540fb6);for(const _0x318e97 of _0x15e86d)_0x23da7a[_0x5c3ed4(0xca)](_0x318e97);}}_0x23da7a['length']=0x0,_0x15e86d[_0x5c3ed4(0x96)]();}[_0x428da3(0xd9)](_0x32ff9b){const _0x5584d0=_0x428da3,_0x41ce33=[],_0x575eba=new Set();for(const _0x170f70 of this[_0x5584d0(0xeb)](_0x32ff9b,_0x575eba))_0x41ce33['push'](_0x170f70);return _0x41ce33;}}class he extends _0x134747{async[_0x428da3(0xce)](_0xa7c6da=!0x1){const _0x19a1fe=_0x428da3;_0xa7c6da?this['_runtimeService'][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xb7)]):this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xd6)]),this['_executionInProgressListener$'][_0x19a1fe(0xcc)](this['_runtimeService'][_0x19a1fe(0x105)]());const _0x31c241=await this[_0x19a1fe(0xda)][_0x19a1fe(0x116)](),_0x220280=this[_0x19a1fe(0xb5)];_0xa7c6da?(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0x102)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xdf)](_0x31c241[_0x19a1fe(0x10f)])):(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xa6)]),this[_0x19a1fe(0x99)][_0x19a1fe(0x8f)](_0x31c241['length'])),this['_executionInProgressListener$'][_0x19a1fe(0xcc)](this[_0x19a1fe(0x99)]['getRuntimeState']());let _0x10e99c=[];const _0xcda468=this['_configService'][_0x19a1fe(0x109)](_0x592dbd),_0x2e758b=(_0xcda468==null?void 0x0:_0xcda468[_0x19a1fe(0x101)])||_0x519c23;let _0x5d1d00=0x0;const _0x3c5099=_0x31c241[_0x19a1fe(0x10f)];for(;_0x31c241[_0x19a1fe(0x10f)]>0x0;){const _0x2785d0=_0x31c241[_0x19a1fe(0x10b)](),_0x4c47a5={'node':_0x1bb178(_0x2785d0[_0x19a1fe(0xe8)],_0x2785d0[_0x19a1fe(0xea)],this[_0x19a1fe(0xd3)],this[_0x19a1fe(0x83)],this[_0x19a1fe(0x7a)]),'refOffsetX':_0x2785d0[_0x19a1fe(0xc8)],'refOffsetY':_0x2785d0['refOffsetY']},_0x8cb353=_0x2785d0['getDirtyData'];if(_0x5d1d00%_0x2e758b===0x0&&(await new Promise(_0x4c626b=>{const _0x35cf46=_0x19a1fe,_0x56246d=_0x3095c4(_0x4c626b);_0x10e99c[_0x35cf46(0xca)](_0x56246d);}),_0xa7c6da?(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xa8)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xef)](_0x5d1d00+0x1)):(this['_runtimeService'][_0x19a1fe(0x95)](_0x2c7573['CURRENTLY_CALCULATING']),this['_runtimeService']['setCompletedFormulasCount'](_0x5d1d00+0x1)),this[_0x19a1fe(0xfa)]['next'](this[_0x19a1fe(0x99)][_0x19a1fe(0x105)]()),this[_0x19a1fe(0x99)][_0x19a1fe(0x113)]()||_0x4c47a5==null&&_0x8cb353==null)){this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xe4)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xfd)](),this[_0x19a1fe(0x107)]['next'](this[_0x19a1fe(0x99)][_0x19a1fe(0xbe)]());return;}this[_0x19a1fe(0x99)]['setCurrent'](_0x2785d0[_0x19a1fe(0xe7)],_0x2785d0[_0x19a1fe(0xe9)],_0x2785d0['rowCount'],_0x2785d0[_0x19a1fe(0xbd)],_0x2785d0[_0x19a1fe(0xaa)],_0x2785d0['unitId']);let _0x1a3569;if(_0x8cb353!=null&&_0x2785d0[_0x19a1fe(0xb1)]!=null){const {runtimeCellData:_0x15f53b,dirtyRanges:_0x1b3cfa}=_0x8cb353(this['_currentConfigService']['getDirtyData'](),this[_0x19a1fe(0x99)][_0x19a1fe(0xbe)]());this[_0x19a1fe(0x99)]['setRuntimeFeatureCellData'](_0x2785d0[_0x19a1fe(0xb1)],_0x15f53b),this[_0x19a1fe(0x99)][_0x19a1fe(0xfe)](_0x2785d0['featureId'],_0x1b3cfa);}else _0x4c47a5!=null&&(_0x220280[_0x19a1fe(0xd7)](_0x4c47a5[_0x19a1fe(0x10c)])?_0x1a3569=await _0x220280[_0x19a1fe(0xb2)](_0x4c47a5):_0x1a3569=_0x220280['execute'](_0x4c47a5),_0x2785d0['formulaId']!=null?this[_0x19a1fe(0x99)]['setRuntimeOtherData'](_0x2785d0[_0x19a1fe(0x9c)],_0x2785d0[_0x19a1fe(0xc8)],_0x2785d0[_0x19a1fe(0x8d)],_0x1a3569):this['_runtimeService'][_0x19a1fe(0xc3)](_0x1a3569));_0x5d1d00++;}return _0x10e99c[_0x19a1fe(0xed)](_0x54fc6b=>_0x54fc6b()),_0x10e99c=[],_0x3c5099>0x0?this['_runtimeService'][_0x19a1fe(0xf0)]():_0xa7c6da||this[_0x19a1fe(0x99)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x19a1fe(0xbe)]();}}class fe extends _0x574a03{constructor(){const _0x36624d=_0x428da3;super(...arguments),L(this,_0x36624d(0x104),new Map()),L(this,_0x36624d(0x10a),new _0x5c8891(!0x0));}[_0x428da3(0xa9)](){const _0x4fd34b=_0x428da3;this[_0x4fd34b(0x111)][_0x4fd34b(0x96)](),this[_0x4fd34b(0x8c)][_0x4fd34b(0x96)](),this['_formulaData'][_0x4fd34b(0x96)](),this[_0x4fd34b(0x10a)][_0x4fd34b(0x96)](),this[_0x4fd34b(0x104)][_0x4fd34b(0x96)](),this[_0x4fd34b(0xf4)](),this[_0x4fd34b(0x88)][_0x4fd34b(0x96)]();}[_0x428da3(0x9e)](_0x3f3fbb,_0x4678dd,_0x27d512,_0x369412){const _0x564da8=_0x428da3;this[_0x564da8(0x111)][_0x564da8(0xc1)](_0x3f3fbb)||this[_0x564da8(0x111)]['set'](_0x3f3fbb,new Map());const _0x996a95=this[_0x564da8(0x111)]['get'](_0x3f3fbb);_0x996a95[_0x564da8(0xc1)](_0x4678dd)||_0x996a95[_0x564da8(0x91)](_0x4678dd,new Map());const _0x3720a=_0x996a95['get'](_0x4678dd);_0x3720a['has'](_0x27d512)||_0x3720a[_0x564da8(0x91)](_0x27d512,new _0x35143a()),_0x3720a[_0x564da8(0xcf)](_0x27d512)[_0x564da8(0x89)](_0x369412[_0x564da8(0xc8)],_0x369412['refOffsetY'],_0x369412[_0x564da8(0x86)]);}[_0x428da3(0xa1)](_0x466c7b,_0x1fc7e7,_0x41af0c){const _0x5a7acc=_0x428da3,_0xe0dd20=this['_otherFormulaData'][_0x5a7acc(0xcf)](_0x466c7b);if(_0xe0dd20&&_0xe0dd20['has'](_0x1fc7e7)){const _0x1f1bd5=_0xe0dd20[_0x5a7acc(0xcf)](_0x1fc7e7);_0x41af0c[_0x5a7acc(0xed)](_0x46cae7=>{const _0x559d14=_0x5a7acc,_0x3eab6f=_0x1f1bd5['get'](_0x46cae7);_0x3eab6f!=null&&(_0x3eab6f['forValue']((_0x581248,_0x24e61e,_0x57b2fa)=>{const _0x43b8c6=_0x5f57;this[_0x43b8c6(0xc9)](_0x57b2fa),this['_removeAllTreeMap'](_0x57b2fa);}),_0x1f1bd5[_0x559d14(0x81)](_0x46cae7),this[_0x559d14(0x88)][_0x559d14(0x81)](_0x46cae7));}),_0x1f1bd5[_0x5a7acc(0xdb)]===0x0&&_0xe0dd20[_0x5a7acc(0x81)](_0x1fc7e7),_0xe0dd20[_0x5a7acc(0xdb)]===0x0&&this[_0x5a7acc(0x111)][_0x5a7acc(0x81)](_0x466c7b);}}['clearOtherFormulaDependency'](_0x2f89fb,_0x2d826e){const _0x10829b=_0x428da3,_0x164c56=this[_0x10829b(0x111)][_0x10829b(0xcf)](_0x2f89fb);if(_0x2d826e&&_0x164c56&&_0x164c56['has'](_0x2d826e)){const _0x154046=_0x164c56[_0x10829b(0xcf)](_0x2d826e);this['_removeDependencyRTreeCacheById'](_0x2f89fb,_0x2d826e);for(const _0x196417 of _0x154046['keys']()){const _0x3a21ff=_0x154046[_0x10829b(0xcf)](_0x196417);_0x3a21ff!=null&&(_0x3a21ff[_0x10829b(0xa4)]((_0x111699,_0x1cac60,_0x221993)=>{const _0x386fee=_0x10829b;this[_0x386fee(0x104)]['get'](_0x221993)&&this[_0x386fee(0xf5)](_0x221993);}),this[_0x10829b(0x88)][_0x10829b(0x81)](_0x196417));}_0x154046[_0x10829b(0x96)]();}else{if(_0x164c56){for(const _0x6a4fca of _0x164c56[_0x10829b(0xf2)]()){const _0x57e8ac=_0x164c56['get'](_0x6a4fca);this[_0x10829b(0x9d)](_0x2f89fb,_0x6a4fca);for(const _0x49b1fc of _0x57e8ac[_0x10829b(0xf2)]()){const _0x1f95ba=_0x57e8ac[_0x10829b(0xcf)](_0x49b1fc);_0x1f95ba!=null&&(_0x1f95ba[_0x10829b(0xa4)]((_0x5c7552,_0x4e296d,_0x44d4cd)=>{const _0x33269d=_0x10829b;this['_allTreeMap'][_0x33269d(0xcf)](_0x44d4cd)&&this[_0x33269d(0xf5)](_0x44d4cd);}),this['_otherFormulaDataMainData'][_0x10829b(0x81)](_0x49b1fc));}}this[_0x10829b(0x111)][_0x10829b(0x81)](_0x2f89fb);}}}[_0x428da3(0xc2)](_0x39dbee,_0x469371,_0x5b41fb,_0x2cf4bb){const _0x26eef9=_0x428da3;this[_0x26eef9(0x8c)]['has'](_0x39dbee)||this[_0x26eef9(0x8c)][_0x26eef9(0x91)](_0x39dbee,new Map());const _0x591111=this['_featureFormulaData'][_0x26eef9(0xcf)](_0x39dbee);_0x591111[_0x26eef9(0xc1)](_0x469371)||_0x591111[_0x26eef9(0x91)](_0x469371,new Map()),_0x591111[_0x26eef9(0xcf)](_0x469371)[_0x26eef9(0x91)](_0x5b41fb,_0x2cf4bb['treeId']);}[_0x428da3(0xd8)](_0x3afdc9,_0x5b974d,_0x5e9338){const _0x18b276=_0x428da3,_0x48289b=this[_0x18b276(0x8c)][_0x18b276(0xcf)](_0x3afdc9);if(_0x48289b&&_0x48289b[_0x18b276(0xc1)](_0x5b974d)){const _0x3216e2=_0x48289b['get'](_0x5b974d);_0x5e9338[_0x18b276(0xed)](_0x310e65=>{const _0x10107f=_0x18b276,_0x53c6f1=_0x3216e2[_0x10107f(0xcf)](_0x310e65);_0x53c6f1!=null&&(this[_0x10107f(0xc9)](_0x53c6f1),_0x3216e2[_0x10107f(0x81)](_0x310e65),this['_removeAllTreeMap'](_0x53c6f1));});}}[_0x428da3(0x118)](_0x55b3e2,_0x4fbefd){const _0x27652b=_0x428da3,_0x5dab1c=this[_0x27652b(0x8c)][_0x27652b(0xcf)](_0x55b3e2);if(_0x4fbefd&&_0x5dab1c&&_0x5dab1c['has'](_0x4fbefd)){const _0x4e88cb=_0x5dab1c['get'](_0x4fbefd);this[_0x27652b(0x9d)](_0x55b3e2,_0x4fbefd),_0x4e88cb[_0x27652b(0xed)](_0x216225=>{const _0x599e6f=_0x27652b;_0x216225!=null&&this[_0x599e6f(0xf5)](_0x216225);}),_0x4e88cb['clear']();}else _0x5dab1c&&(_0x5dab1c[_0x27652b(0xed)]((_0x5d25dd,_0x6fbc21)=>{const _0x275d93=_0x27652b;this[_0x275d93(0x9d)](_0x55b3e2,_0x6fbc21),_0x5d25dd['forEach'](_0x5b39fc=>{const _0x2ede2c=_0x275d93;_0x5b39fc!=null&&this[_0x2ede2c(0xf5)](_0x5b39fc);});}),this[_0x27652b(0x8c)][_0x27652b(0x81)](_0x55b3e2));}[_0x428da3(0xc6)](_0x4cb211,_0x5739f0,_0x113a4d,_0x417681,_0x2e9dfc){const _0x133cde=_0x428da3;this[_0x133cde(0x78)][_0x133cde(0xc1)](_0x4cb211)||this[_0x133cde(0x78)]['set'](_0x4cb211,new Map());const _0x11cd01=this[_0x133cde(0x78)][_0x133cde(0xcf)](_0x4cb211);_0x11cd01[_0x133cde(0xc1)](_0x5739f0)||_0x11cd01[_0x133cde(0x91)](_0x5739f0,new _0x35143a()),_0x11cd01[_0x133cde(0xcf)](_0x5739f0)[_0x133cde(0x89)](_0x113a4d,_0x417681,_0x2e9dfc[_0x133cde(0x86)]);}[_0x428da3(0xbf)](_0x3dfd99,_0x5b9e8a,_0x19a27e,_0x5eac16){const _0x52a69b=_0x428da3,_0x31ccb3=this[_0x52a69b(0x78)][_0x52a69b(0xcf)](_0x3dfd99);if(_0x31ccb3&&_0x31ccb3[_0x52a69b(0xc1)](_0x5b9e8a)){const _0x3f9d0d=_0x31ccb3[_0x52a69b(0xcf)](_0x5b9e8a),_0x41ce99=_0x3f9d0d['getValue'](_0x19a27e,_0x5eac16);if(_0x41ce99==null)return;this[_0x52a69b(0xc9)](_0x41ce99),_0x3f9d0d[_0x52a69b(0xb4)](_0x19a27e,_0x5eac16),this[_0x52a69b(0xf5)](_0x41ce99);}}['clearFormulaDependency'](_0x44075f,_0x4d133a){const _0x5cee52=_0x428da3,_0x93019b=this[_0x5cee52(0x78)][_0x5cee52(0xcf)](_0x44075f);if(_0x4d133a&&_0x93019b&&_0x93019b[_0x5cee52(0xc1)](_0x4d133a)){const _0x3be93f=_0x93019b[_0x5cee52(0xcf)](_0x4d133a);this[_0x5cee52(0x9d)](_0x44075f,_0x4d133a),_0x3be93f[_0x5cee52(0xa4)]((_0x1a7ddd,_0x297437,_0x1b21f5)=>{const _0x25a323=_0x5cee52;if(_0x1b21f5==null)return!0x0;this[_0x25a323(0xf5)](_0x1b21f5);}),_0x3be93f[_0x5cee52(0xa9)]();}else _0x93019b&&(_0x93019b[_0x5cee52(0xed)]((_0xbeeefc,_0x1078bf)=>{const _0x4dc02c=_0x5cee52;this[_0x4dc02c(0x9d)](_0x44075f,_0x1078bf),_0xbeeefc[_0x4dc02c(0xa4)]((_0x1d7fcd,_0x424a7c,_0x1e95e5)=>{const _0x49c7d7=_0x4dc02c;if(_0x1e95e5==null)return!0x0;this[_0x49c7d7(0xf5)](_0x1e95e5);});}),this[_0x5cee52(0x78)]['delete'](_0x44075f));}[_0x428da3(0xc9)](_0x5862b1){const _0x165e1f=_0x428da3;if(_0x5862b1==null)return;const _0xd54af0=this['_allTreeMap'][_0x165e1f(0xcf)](_0x5862b1);if(_0xd54af0){const _0xbe4af4=[];for(const [_0x31dcea,_0x41dbcd]of _0xd54af0)for(const [_0xfc845d,_0x352a80]of _0x41dbcd)_0xbe4af4[_0x165e1f(0xca)]({'unitId':_0x31dcea,'sheetId':_0xfc845d,'range':_0x352a80,'id':_0x5862b1});this['_dependencyRTreeCache'][_0x165e1f(0x106)](_0xbe4af4);}}[_0x428da3(0xee)](_0x21e0bd,_0x341e2b){const _0x4032ff=_0x428da3,_0x2bb31b=this[_0x4032ff(0xa2)][_0x4032ff(0xcf)](_0x21e0bd);if(_0x2bb31b){const _0x323d39=_0x2bb31b['get'](_0x341e2b);if(_0x323d39){for(const _0x3a1307 of _0x323d39)this[_0x4032ff(0xc9)](_0x3a1307),this[_0x4032ff(0xf5)](_0x3a1307);_0x323d39[_0x4032ff(0x96)]();}}}['openKdTree'](){const _0x6cf16=_0x428da3;this[_0x6cf16(0x10a)][_0x6cf16(0x115)]();}['closeKdTree'](){const _0x24b380=_0x428da3;this['_dependencyRTreeCache'][_0x24b380(0x9a)]();}['_removeAllTreeMap'](_0x26dca5){_0x26dca5!=null&&this['_allTreeMap']['delete'](_0x26dca5);}[_0x428da3(0xae)](_0x5c6cf6){const _0x329e43=_0x428da3;var _0x47abfe,_0x4b548b;const _0x3f4730=_0x5c6cf6[_0x329e43(0xd2)];let _0x366911=this[_0x329e43(0x104)][_0x329e43(0xcf)](_0x5c6cf6[_0x329e43(0x86)]);for(let _0x10bea0=0x0;_0x10bea0<_0x3f4730[_0x329e43(0x10f)];_0x10bea0++){const _0x17e997=_0x3f4730[_0x10bea0];let {unitId:_0x45c529,sheetId:_0xf8ae,range:_0x14521e}=_0x17e997;_0x366911||(_0x366911=new Map(),this['_allTreeMap'][_0x329e43(0x91)](_0x5c6cf6['treeId'],_0x366911)),_0x366911['has'](_0x45c529)||_0x366911[_0x329e43(0x91)](_0x45c529,new Map());const _0x2cb686=(_0x47abfe=_0x366911==null?void 0x0:_0x366911[_0x329e43(0xcf)](_0x45c529))==null?void 0x0:_0x47abfe[_0x329e43(0xcf)](_0xf8ae);_0x2cb686&&(_0x14521e={'startRow':Math[_0x329e43(0x7f)](_0x14521e['startRow'],_0x2cb686[_0x329e43(0x80)]),'startColumn':Math['min'](_0x14521e[_0x329e43(0x103)],_0x2cb686[_0x329e43(0x103)]),'endRow':Math[_0x329e43(0xe5)](_0x14521e['endRow'],_0x2cb686['endRow']),'endColumn':Math['max'](_0x14521e[_0x329e43(0xe2)],_0x2cb686[_0x329e43(0xe2)])}),(_0x4b548b=_0x366911[_0x329e43(0xcf)](_0x45c529))==null||_0x4b548b[_0x329e43(0x91)](_0xf8ae,_0x14521e);}}}var _e=Object[_0x428da3(0xc0)],Fe=(_0x3f2f09,_0x4c7919,_0x20e0e5,_0x2ebd1f)=>{for(var _0x4a12be=_0x2ebd1f>0x1?void 0x0:_0x2ebd1f?_e(_0x4c7919,_0x20e0e5):_0x4c7919,_0x19a51f=_0x3f2f09['length']-0x1,_0x2eef3c;_0x19a51f>=0x0;_0x19a51f--)(_0x2eef3c=_0x3f2f09[_0x19a51f])&&(_0x4a12be=_0x2eef3c(_0x4a12be)||_0x4a12be);return _0x4a12be;};const pe=Number[_0x428da3(0xf6)](0x67ed1a21);let O=class extends _0x351cbb{[_0x428da3(0x7b)](){const _0x3667c8=_0x428da3;var _0x268621,_0x25008b;this['_initLicenseValid']()?(_0x268621=this[_0x3667c8(0x108)])!=null&&_0x268621['notExecuteFormula']||[[_0x37c749,{'useClass':he}],[_0x150ddc,{'useClass':fe}],[_0x1493a3,{'useClass':de}]][_0x3667c8(0xed)](_0x4bc5ef=>this[_0x3667c8(0xc7)][_0x3667c8(0xab)](_0x4bc5ef)):(_0x25008b=this[_0x3667c8(0x108)])!=null&&_0x25008b[_0x3667c8(0xa0)]||[[_0x37c749,{'useClass':_0x134747}],[_0x150ddc,{'useClass':_0x2be659}],[_0x1493a3,{'useClass':_0x50464b}]][_0x3667c8(0xed)](_0x47f08d=>this[_0x3667c8(0xc7)][_0x3667c8(0xab)](_0x47f08d));}[_0x428da3(0xe0)](){const _0x47b7c3=_0x428da3;var _0x57d676;const _0x4f57b2=(_0x57d676=this[_0x47b7c3(0xc5)][_0x47b7c3(0x109)](_0x399e32))!=null?_0x57d676:{},{ls:_0x309375,pbk:_0xeedab4}=_0x4f57b2;if(!_0x309375||!_0xeedab4)return!0x1;const _0x1ad8e1=_0x37758e(ue,le),_0x58f727=new Function('return\x20'+_0x1ad8e1)()(_0x309375,_0xeedab4),_0x40fb57=_0x58f727[_0x47b7c3(0x117)];return _0x58f727[_0x47b7c3(0xfc)]&&_0x24b750(_0x40fb57,'sf',pe)?_0x17a809(_0x40fb57,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};O=Fe([_0x31fbec(_0x1fee13)],O);export{O as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x430695,_0x58a197){var _0x18d8c7=_0x2f16,_0x153223=_0x430695();while(!![]){try{var _0x5f1874=-parseInt(_0x18d8c7(0x8d))/0x1*(-parseInt(_0x18d8c7(0x93))/0x2)+parseInt(_0x18d8c7(0x8c))/0x3*(-parseInt(_0x18d8c7(0x98))/0x4)+-parseInt(_0x18d8c7(0x92))/0x5*(-parseInt(_0x18d8c7(0x95))/0x6)+parseInt(_0x18d8c7(0x8f))/0x7+parseInt(_0x18d8c7(0x94))/0x8*(parseInt(_0x18d8c7(0x96))/0x9)+parseInt(_0x18d8c7(0x97))/0xa*(-parseInt(_0x18d8c7(0x8e))/0xb)+parseInt(_0x18d8c7(0x90))/0xc*(-parseInt(_0x18d8c7(0x91))/0xd);if(_0x5f1874===_0x58a197)break;else _0x153223['push'](_0x153223['shift']());}catch(_0x3afe5c){_0x153223['push'](_0x153223['shift']());}}}(_0x5772,0x71f77));export*from'@univerjs/engine-formula/facade';function _0x2f16(_0x5b1b14,_0x12c0be){var _0x57727a=_0x5772();return _0x2f16=function(_0x2f1636,_0x2e8031){_0x2f1636=_0x2f1636-0x8c;var _0x33647c=_0x57727a[_0x2f1636];return _0x33647c;},_0x2f16(_0x5b1b14,_0x12c0be);}function _0x5772(){var _0x44a584=['6039HSQxzA','130970Mtxwli','27708mXbEyZ','4199wdFKoL','4730YSJMWl','2sIDSEX','20056mPTPlb','2466qBqXCL','3249XgfHEN','4300UAaxlN','262784IhNEvJ','36esOcnC','924493JJSYdC'];_0x5772=function(){return _0x44a584;};return _0x5772();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f8138=_0x448f;function _0x448f(_0x3fb5f8,_0x372ec2){const _0x37f812=_0x37f8();return _0x448f=function(_0x448fc7,_0x1ab8da){_0x448fc7=_0x448fc7-0x1db;let _0x1e1dfa=_0x37f812[_0x448fc7];return _0x1e1dfa;},_0x448f(_0x3fb5f8,_0x372ec2);}(function(_0x475436,_0x384fcb){const _0x3c8a54=_0x448f,_0x2e500f=_0x475436();while(!![]){try{const _0x3727d8=-parseInt(_0x3c8a54(0x218))/0x1+-parseInt(_0x3c8a54(0x228))/0x2*(-parseInt(_0x3c8a54(0x25b))/0x3)+-parseInt(_0x3c8a54(0x25d))/0x4*(parseInt(_0x3c8a54(0x1eb))/0x5)+parseInt(_0x3c8a54(0x236))/0x6+-parseInt(_0x3c8a54(0x211))/0x7*(parseInt(_0x3c8a54(0x22a))/0x8)+parseInt(_0x3c8a54(0x1f9))/0x9+-parseInt(_0x3c8a54(0x269))/0xa;if(_0x3727d8===_0x384fcb)break;else _0x2e500f['push'](_0x2e500f['shift']());}catch(_0x1110ea){_0x2e500f['push'](_0x2e500f['shift']());}}}(_0x37f8,0x79c71));var z=Object[_0x1f8138(0x203)],W=(_0x4a747b,_0x41744d,_0x22cdca)=>_0x41744d in _0x4a747b?z(_0x4a747b,_0x41744d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22cdca}):_0x4a747b[_0x41744d]=_0x22cdca,T=(_0x56f9c8,_0x3c3db1,_0x5c66a8)=>W(_0x56f9c8,typeof _0x3c3db1!=_0x1f8138(0x21b)?_0x3c3db1+'':_0x3c3db1,_0x5c66a8);import{UniverLicensePlugin as _0x322e28,LS_CONFIG_KEY as _0x246301,unshiftString as _0x28e67d,isFeatureAuthorizedWithinTime as _0x47ac6d,getSheetFeatureLimit as _0xf3f376}from'@univerjs-pro/license';import{ObjectMatrix as _0x3a71c1,requestImmediateMacroTask as _0x3b5570,RTree as _0x42247f,DependentOn as _0x319459}from'@univerjs/core';import{FormulaDependencyGenerator as _0x32f891,generateRandomDependencyTreeId as _0x29f821,FormulaDependencyTree as _0x41a9e9,FormulaDependencyTreeType as _0x2d7cdf,FormulaDependencyTreeVirtual as _0x50fe90,generateAstNode as _0x11868c,CalculateFormulaService as _0x28f8f2,FormulaExecuteStageType as _0x1c1849,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xce3d7,DEFAULT_INTERVAL_COUNT as _0x4de222,DependencyManagerBaseService as _0x5c0b1c,UniverFormulaEnginePlugin as _0x20b52a,ICalculateFormulaService as _0x22c75f,IDependencyManagerService as _0x5135d4,IFormulaDependencyGenerator as _0x10a5ff,DependencyManagerService as _0x49ea93}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},ue='0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x32f891{constructor(){const _0x4e3fa9=_0x1f8138;super(...arguments),T(this,_0x4e3fa9(0x1e2),new Map());}[_0x1f8138(0x272)](){const _0x34e9a3=_0x1f8138;super['dispose'](),this[_0x34e9a3(0x1e2)][_0x34e9a3(0x201)]();}async[_0x1f8138(0x24f)](){const _0x2a03e5=_0x1f8138;this[_0x2a03e5(0x264)]();const _0x263cf7=this['_currentConfigService'][_0x2a03e5(0x1e8)](),_0x44354e=this[_0x2a03e5(0x256)][_0x2a03e5(0x261)](),_0x42b219=this[_0x2a03e5(0x246)][_0x2a03e5(0x26d)]();_0x42b219!=null&&Object[_0x2a03e5(0x202)](_0x42b219)[_0x2a03e5(0x24b)](_0x51f9b=>{const _0x354f93=_0x2a03e5;_0x51f9b!=null&&Object[_0x354f93(0x202)](_0x42b219[_0x51f9b])[_0x354f93(0x24b)](_0xeeb0d=>{const _0x3fe53d=_0x354f93;_0xeeb0d!=null&&(this[_0x3fe53d(0x1e6)][_0x3fe53d(0x226)](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFeatureFormulaDependency'](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFormulaDependency'](_0x51f9b,_0xeeb0d));});});const _0x45d2e8=this['_currentConfigService'][_0x2a03e5(0x270)]();await this[_0x2a03e5(0x26a)](_0x263cf7,_0x44354e,_0x45d2e8),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x1f5)]();const _0xeb414c=this['_getUpdateTreeListAndMakeDependency'](),_0x5a6d75=this[_0x2a03e5(0x229)](_0xeb414c);return this['_checkIsCycleDependency'](_0x5a6d75)&&this['_runtimeService'][_0x2a03e5(0x21f)](),this[_0x2a03e5(0x1e2)]['clear'](),this[_0x2a03e5(0x1df)][_0x2a03e5(0x201)](),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x214)](),Promise[_0x2a03e5(0x20c)](_0x5a6d75);}[_0x1f8138(0x23d)](_0x500ed3,_0x59b8bf){const _0x117d2a=_0x1f8138,_0x6bf0da=[_0x500ed3];for(;_0x6bf0da[_0x117d2a(0x238)]>0x0;){const _0x56bfd2=_0x6bf0da[_0x6bf0da[_0x117d2a(0x238)]-0x1];if((_0x59b8bf[_0x117d2a(0x24d)](_0x56bfd2)||0x0)===0x0){_0x59b8bf[_0x117d2a(0x220)](_0x56bfd2,0x1);const _0x565ea4=this['_dependencyTreeCache']['get'](_0x56bfd2);if(_0x565ea4==null){_0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da[_0x117d2a(0x1e7)]();continue;}const _0x349998=this[_0x117d2a(0x1e6)][_0x117d2a(0x1e1)](_0x565ea4[_0x117d2a(0x26f)]());for(const _0x5c06b0 of _0x349998){const _0x50fbde=_0x59b8bf[_0x117d2a(0x24d)](_0x5c06b0)||0x0;if(_0x50fbde===0x1)return!0x0;_0x50fbde===0x0&&_0x6bf0da[_0x117d2a(0x239)](_0x5c06b0);}}else _0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x103cc4){const _0x29482f=_0x1f8138,_0xa210e5=new Map();for(const _0x3f24bf of _0x103cc4)if(!_0xa210e5[_0x29482f(0x215)](_0x3f24bf[_0x29482f(0x23c)])&&this[_0x29482f(0x23d)](_0x3f24bf[_0x29482f(0x23c)],_0xa210e5))return!0x0;return _0xa210e5[_0x29482f(0x201)](),!0x1;}[_0x1f8138(0x210)](_0x56e20f,_0x22052b,_0x2e2354){const _0x54b467=_0x1f8138,{unitId:_0x30a6e7,subUnitId:_0x1add19,dependencyRanges:_0xc3e169,getDirtyData:_0x5803e2}=_0x2e2354,_0x20ce8b=_0x22052b||_0x29f821(this[_0x54b467(0x1e6)]),_0x58a4e1=new _0x41a9e9(_0x20ce8b);_0x58a4e1[_0x54b467(0x1fd)]=_0x30a6e7,_0x58a4e1['subUnitId']=_0x1add19,_0x58a4e1[_0x54b467(0x204)]=_0xc3e169,_0x58a4e1[_0x54b467(0x242)]=_0x5803e2;const _0x33b5e5=_0x5803e2(this[_0x54b467(0x246)][_0x54b467(0x242)](),this[_0x54b467(0x25f)][_0x54b467(0x265)]()),_0x84286f=this['_convertDirtyRangesToUnitRange'](_0x33b5e5[_0x54b467(0x217)]);return _0x58a4e1[_0x54b467(0x1ed)]=_0x84286f,_0x58a4e1['featureId']=_0x56e20f,_0x58a4e1[_0x54b467(0x255)]=_0x2d7cdf[_0x54b467(0x23f)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x30a6e7,_0x1add19,_0x56e20f,_0x58a4e1),this[_0x54b467(0x1e2)]['set'](_0x58a4e1[_0x54b467(0x23c)],_0x58a4e1),this[_0x54b467(0x1e6)][_0x54b467(0x1e9)](_0x2e2354['unitId'],_0x2e2354[_0x54b467(0x234)],_0x56e20f)&&(_0x58a4e1[_0x54b467(0x25c)]=!0x0),_0x58a4e1;}['_registerOtherFormulas'](_0x57833b,_0xb0fc9a,_0x398906){const _0x2cf310=_0x1f8138;var _0x37a16f;for(const _0x51d18b of _0xb0fc9a){const _0x430f80=_0x57833b[_0x51d18b];if(_0x430f80==null)continue;const _0x1053da=Object['keys'](_0x430f80);for(const _0x414171 of _0x1053da){const _0x19bd86=_0x430f80[_0x414171];if(_0x19bd86==null)continue;const _0x2385e9=Object['keys'](_0x19bd86);for(const _0x3fb0c2 of _0x2385e9){const _0xe468a4=this[_0x2cf310(0x1e6)]['hasOtherFormulaDataMainData'](_0x3fb0c2),_0x2e8e50=_0x19bd86[_0x3fb0c2],{f:_0x2bf927,ranges:_0x1ef4f3}=_0x2e8e50;let _0xfa55fd=!0x1;_0xe468a4&&(_0xfa55fd=!0x0);const {firstRow:_0x51121c,firstColumn:_0x2fcb9e}=this[_0x2cf310(0x1e3)](_0x1ef4f3),_0x30bf40=this[_0x2cf310(0x1e6)][_0x2cf310(0x247)](_0x51d18b,_0x414171,_0x3fb0c2),_0x4e2eb4=(_0x37a16f=_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](0x0,0x0))!=null?_0x37a16f:_0x29f821(this[_0x2cf310(0x1e6)]),_0x391e58=new _0x41a9e9(_0x4e2eb4);for(let _0x3dc938=0x0;_0x3dc938<_0x1ef4f3[_0x2cf310(0x238)];_0x3dc938++){const _0x48baaa=_0x1ef4f3[_0x3dc938],{startRow:_0xe6c45a,startColumn:_0x4456ae,endRow:_0x1001d3,endColumn:_0x429d6b}=_0x48baaa;for(let _0x31bd67=_0xe6c45a;_0x31bd67<=_0x1001d3;_0x31bd67++)for(let _0x571a0f=_0x4456ae;_0x571a0f<=_0x429d6b;_0x571a0f++){const _0xfed246=_0x571a0f-_0x2fcb9e,_0x3e9b02=_0x31bd67-_0x51121c;if(_0xfed246===0x0&&_0x3e9b02===0x0){_0x391e58[_0x2cf310(0x252)]=_0x2bf927,_0x391e58['unitId']=_0x51d18b,_0x391e58[_0x2cf310(0x234)]=_0x414171,_0x391e58[_0x2cf310(0x216)]=_0x3fb0c2,_0x391e58[_0x2cf310(0x255)]=_0x2d7cdf['OTHER_FORMULA'],_0x391e58[_0x2cf310(0x25c)]=_0xfa55fd,_0x398906['push'](_0x391e58),this['_dependencyTreeCache'][_0x2cf310(0x220)](_0x391e58[_0x2cf310(0x23c)],_0x391e58),this[_0x2cf310(0x1e6)]['addOtherFormulaDependency'](_0x51d18b,_0x414171,_0x3fb0c2,_0x391e58),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x391e58);continue;}const _0x1f1e24=new _0x50fe90();_0x1f1e24[_0x2cf310(0x23c)]=(_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](_0xfed246,_0x3e9b02))||_0x29f821(this['_dependencyManagerService']),_0x1f1e24['refTree']=_0x391e58,_0x1f1e24[_0x2cf310(0x205)]=_0xfed246,_0x1f1e24[_0x2cf310(0x24a)]=_0x3e9b02,_0x1f1e24['isCache']=_0xfa55fd,this['_dependencyManagerService'][_0x2cf310(0x22d)](_0x51d18b,_0x414171,_0x3fb0c2,_0x1f1e24),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x1f1e24),_0x398906[_0x2cf310(0x239)](_0x1f1e24),this[_0x2cf310(0x1e2)][_0x2cf310(0x220)](_0x1f1e24[_0x2cf310(0x23c)],_0x1f1e24);}}this[_0x2cf310(0x1e6)][_0x2cf310(0x24e)](_0x3fb0c2);}}}}[_0x1f8138(0x230)](_0x2afa8c,_0x42da86,_0x4c517d,_0x3c1c88){const _0x39c027=_0x1f8138;for(const _0x3ae8e1 of _0x2afa8c){const _0x4fb760=_0x42da86[_0x3ae8e1];if(_0x4fb760==null)continue;const _0x280f95=Object[_0x39c027(0x202)](_0x4fb760);for(const _0x2475c0 of _0x280f95){const _0x16b622=new _0x3a71c1(_0x4fb760[_0x2475c0]||{}),_0x10388b=new Map();_0x16b622[_0x39c027(0x223)]((_0x467b19,_0x5975e6,_0x4258e9)=>{const _0x5f3dd4=_0x39c027;if(_0x4258e9==null)return!0x0;const {x:_0x3907e3=0x0,y:_0x4b8ebf=0x0,si:_0xa8b22e}=_0x4258e9;if(!(_0x3907e3===0x0&&_0x4b8ebf===0x0&&_0xa8b22e!=null))return!0x0;const _0x36fd31=this[_0x5f3dd4(0x271)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x4c517d,_0x4258e9),_0x162f0c=this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x1e4)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6);_0x162f0c!=null?_0x36fd31[_0x5f3dd4(0x23c)]=_0x162f0c:(this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x22e)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x36fd31),this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x244)](_0x36fd31)),_0x10388b[_0x5f3dd4(0x220)](_0xa8b22e,_0x36fd31),_0x3c1c88[_0x5f3dd4(0x239)](_0x36fd31),this['_dependencyTreeCache'][_0x5f3dd4(0x220)](_0x36fd31[_0x5f3dd4(0x23c)],_0x36fd31);}),_0x16b622[_0x39c027(0x223)]((_0x415e4e,_0x2c2c8f,_0x1d0533)=>{const _0x5e3151=_0x39c027;if(_0x1d0533==null)return!0x0;const {x:_0x33f4b5=0x0,y:_0x55e4aa=0x0,si:_0x49304a}=_0x1d0533;if(_0x33f4b5===0x0&&_0x55e4aa===0x0&&_0x49304a!=null)return!0x0;let _0x3a54c9;if(_0x49304a&&_0x10388b[_0x5e3151(0x215)](_0x49304a)){const _0x2c8d56=_0x10388b['get'](_0x49304a);_0x3a54c9=this[_0x5e3151(0x24c)](_0x2c8d56,_0x1d0533);}else _0x3a54c9=this[_0x5e3151(0x271)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x4c517d,_0x1d0533);const _0x462f3d=this[_0x5e3151(0x1e6)][_0x5e3151(0x1e4)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f);_0x462f3d!=null?_0x3a54c9[_0x5e3151(0x23c)]=_0x462f3d:(this['_dependencyManagerService'][_0x5e3151(0x22e)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x3a54c9),this[_0x5e3151(0x1e6)][_0x5e3151(0x244)](_0x3a54c9)),_0x3c1c88['push'](_0x3a54c9),this['_dependencyTreeCache']['set'](_0x3a54c9[_0x5e3151(0x23c)],_0x3a54c9);}),_0x10388b[_0x39c027(0x201)]();}}}[_0x1f8138(0x271)](_0x5f0a3d,_0x2e032f,_0x1b19ef,_0x48c18c,_0x129f6d,_0x518d71){const _0x3c059f=_0x1f8138,{f:_0x5dbc5b,x:_0x469407=0x0,y:_0x36d548=0x0}=_0x518d71,_0x2d25a9=new _0x41a9e9(_0x29f821(this[_0x3c059f(0x1e6)])),_0x4dfddf=_0x129f6d[_0x5f0a3d][_0x2e032f];return _0x2d25a9['formula']=_0x5dbc5b,_0x2d25a9[_0x3c059f(0x1fd)]=_0x5f0a3d,_0x2d25a9[_0x3c059f(0x234)]=_0x2e032f,_0x2d25a9[_0x3c059f(0x249)]=_0x1b19ef,_0x2d25a9[_0x3c059f(0x1ee)]=_0x48c18c,_0x2d25a9[_0x3c059f(0x20b)]=_0x4dfddf[_0x3c059f(0x20b)],_0x2d25a9['columnCount']=_0x4dfddf[_0x3c059f(0x26b)],_0x2d25a9;}[_0x1f8138(0x254)](){const _0x18fa9d=_0x1f8138,_0x20b336=[],_0x366eb1=new Set(),_0xd3de73=this[_0x18fa9d(0x246)][_0x18fa9d(0x209)](),_0x4608ed=this[_0x18fa9d(0x246)][_0x18fa9d(0x20e)](),_0x3f55e9=this[_0x18fa9d(0x1e6)][_0x18fa9d(0x1e1)](_0x4608ed),_0x4db3b8=this[_0x18fa9d(0x1df)][_0x18fa9d(0x276)](_0x4608ed);for(const _0x14ee1c of _0x4db3b8)_0x3f55e9[_0x18fa9d(0x1fa)](_0x14ee1c);for(const [_0x445ed2,_0x52976e]of this['_dependencyTreeCache'])(_0xd3de73||_0x52976e[_0x18fa9d(0x1e0)]||_0x52976e[_0x18fa9d(0x241)](this[_0x18fa9d(0x246)]['getDirtyNameMap']())||_0x3f55e9[_0x18fa9d(0x215)](_0x445ed2)&&!_0x52976e[_0x18fa9d(0x1fb)](this[_0x18fa9d(0x246)][_0x18fa9d(0x262)]()))&&!_0x366eb1[_0x18fa9d(0x215)](_0x445ed2)&&(_0x20b336[_0x18fa9d(0x239)](_0x52976e),_0x366eb1['add'](_0x445ed2));for(const [_0x530e6c,_0x5acda5]of this['_dependencyTreeCache'])_0x5acda5[_0x18fa9d(0x213)]||(_0x5acda5[_0x18fa9d(0x204)]['length']=0x0);return _0x20b336;}[_0x1f8138(0x1ff)](_0x301f4e){const _0x259397=_0x1f8138;return this['_dependencyTreeCache'][_0x259397(0x24d)](_0x301f4e);}['_getTreeNode'](_0x56bdb2){const _0x2363e5=_0x1f8138;return _0x11868c(_0x56bdb2[_0x2363e5(0x1fd)],_0x56bdb2[_0x2363e5(0x252)],this[_0x2363e5(0x21e)],this[_0x2363e5(0x22c)],this[_0x2363e5(0x246)]);}*[_0x1f8138(0x20a)](_0x3fbb1c,_0x2cc5e5){const _0xfe030c=_0x1f8138,_0x3fad38=_0x3fbb1c,_0xeade30=new Set();for(;_0x3fad38[_0xfe030c(0x238)]>0x0;){const _0x57e846=_0x3fad38[_0xfe030c(0x1e7)]();if(_0xeade30[_0xfe030c(0x201)](),_0x57e846===void 0x0||_0x57e846[_0xfe030c(0x1f4)]())continue;if(_0x57e846[_0xfe030c(0x206)]()){yield _0x57e846,_0x57e846[_0xfe030c(0x243)](),_0x2cc5e5[_0xfe030c(0x1fa)](_0x57e846[_0xfe030c(0x23c)]);continue;}const _0x391d9e=this['_dependencyManagerService'][_0xfe030c(0x1e1)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5),_0xee63ee=this[_0xfe030c(0x1df)][_0xfe030c(0x276)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5);for(const _0x169934 of _0xee63ee)_0x391d9e['add'](_0x169934);for(const _0xd84a94 of _0x391d9e){const _0x104ad5=this[_0xfe030c(0x1e2)]['get'](_0xd84a94);if(!_0x104ad5)throw new Error(_0xfe030c(0x21a));_0x104ad5[_0xfe030c(0x206)]()||_0x57e846['isSkip']()||_0xeade30[_0xfe030c(0x1fa)](_0x104ad5);}if(_0x391d9e[_0xfe030c(0x201)](),_0xeade30[_0xfe030c(0x1db)]===0x0)yield _0x57e846,_0x57e846['setSkip'](),_0x2cc5e5['add'](_0x57e846['treeId']);else{_0x57e846[_0xfe030c(0x231)](),_0x3fad38[_0xfe030c(0x239)](_0x57e846);for(const _0x42f21a of _0xeade30)_0x3fad38[_0xfe030c(0x239)](_0x42f21a);}}_0x3fad38[_0xfe030c(0x238)]=0x0,_0xeade30[_0xfe030c(0x201)]();}[_0x1f8138(0x229)](_0x262b84){const _0x16d47f=_0x1f8138,_0x3acbc1=[],_0x3ee96e=new Set();for(const _0x2d6a43 of this['_traverse'](_0x262b84,_0x3ee96e))_0x3acbc1[_0x16d47f(0x239)](_0x2d6a43);return _0x3acbc1;}}class he extends _0x28f8f2{async['_apply'](_0x413e39=!0x1){const _0x3a3cd0=_0x1f8138;_0x413e39?this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x248)]),this['_executionInProgressListener$']['next'](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());const _0x43e0ad=await this[_0x3a3cd0(0x1f1)][_0x3a3cd0(0x24f)](),_0xb20f07=this['_interpreter'];_0x413e39?(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x235)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x266)](_0x43e0ad[_0x3a3cd0(0x238)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x1dc)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x225)](_0x43e0ad[_0x3a3cd0(0x238)])),this[_0x3a3cd0(0x1ec)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());let _0x37be27=[];const _0x2f1dcf=this[_0x3a3cd0(0x237)]['getConfig'](_0xce3d7),_0x362b8e=(_0x2f1dcf==null?void 0x0:_0x2f1dcf[_0x3a3cd0(0x253)])||_0x4de222;let _0x161a88=0x0;const _0x49bb10=_0x43e0ad[_0x3a3cd0(0x238)];for(;_0x43e0ad[_0x3a3cd0(0x238)]>0x0;){const _0x5cc1f2=_0x43e0ad['pop'](),_0x55d6bc={'node':_0x11868c(_0x5cc1f2[_0x3a3cd0(0x1fd)],_0x5cc1f2[_0x3a3cd0(0x252)],this[_0x3a3cd0(0x21e)],this[_0x3a3cd0(0x22c)],this[_0x3a3cd0(0x246)]),'refOffsetX':_0x5cc1f2[_0x3a3cd0(0x205)],'refOffsetY':_0x5cc1f2[_0x3a3cd0(0x24a)]},_0xd72c77=_0x5cc1f2['getDirtyData'];if(_0x161a88%_0x362b8e===0x0&&(await new Promise(_0x561fe7=>{const _0x38d812=_0x3a3cd0,_0x21458c=_0x3b5570(_0x561fe7);_0x37be27[_0x38d812(0x239)](_0x21458c);}),_0x413e39?(this['_runtimeService'][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x21d)]),this[_0x3a3cd0(0x25f)]['setCompletedArrayFormulasCount'](_0x161a88+0x1)):(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['CURRENTLY_CALCULATING']),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x245)](_0x161a88+0x1)),this['_executionInProgressListener$'][_0x3a3cd0(0x26e)](this['_runtimeService'][_0x3a3cd0(0x222)]()),this['_runtimeService'][_0x3a3cd0(0x1ea)]()||_0x55d6bc==null&&_0xd72c77==null)){this[_0x3a3cd0(0x25f)]['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x257)]),this[_0x3a3cd0(0x25f)]['markedAsStopFunctionsExecuted'](),this[_0x3a3cd0(0x25a)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());return;}this[_0x3a3cd0(0x25f)]['setCurrent'](_0x5cc1f2[_0x3a3cd0(0x249)],_0x5cc1f2[_0x3a3cd0(0x1ee)],_0x5cc1f2[_0x3a3cd0(0x20b)],_0x5cc1f2[_0x3a3cd0(0x26b)],_0x5cc1f2[_0x3a3cd0(0x234)],_0x5cc1f2[_0x3a3cd0(0x1fd)]);let _0x3e5ff3;if(_0xd72c77!=null&&_0x5cc1f2[_0x3a3cd0(0x1f0)]!=null){const {runtimeCellData:_0x3ae045,dirtyRanges:_0x42ba5b}=_0xd72c77(this[_0x3a3cd0(0x246)][_0x3a3cd0(0x242)](),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());this['_runtimeService'][_0x3a3cd0(0x219)](_0x5cc1f2[_0x3a3cd0(0x1f0)],_0x3ae045),this[_0x3a3cd0(0x25f)]['setRuntimeFeatureRange'](_0x5cc1f2['featureId'],_0x42ba5b);}else _0x55d6bc!=null&&(_0xb20f07[_0x3a3cd0(0x22b)](_0x55d6bc[_0x3a3cd0(0x240)])?_0x3e5ff3=await _0xb20f07[_0x3a3cd0(0x1f2)](_0x55d6bc):_0x3e5ff3=_0xb20f07['execute'](_0x55d6bc),_0x5cc1f2['formulaId']!=null?this[_0x3a3cd0(0x25f)]['setRuntimeOtherData'](_0x5cc1f2[_0x3a3cd0(0x216)],_0x5cc1f2[_0x3a3cd0(0x205)],_0x5cc1f2[_0x3a3cd0(0x24a)],_0x3e5ff3):this['_runtimeService'][_0x3a3cd0(0x233)](_0x3e5ff3));_0x161a88++;}return _0x37be27[_0x3a3cd0(0x24b)](_0x52201d=>_0x52201d()),_0x37be27=[],_0x49bb10>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x413e39||this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x23e)](),this['_runtimeService'][_0x3a3cd0(0x265)]();}}class ge extends _0x5c0b1c{constructor(){const _0x532ae3=_0x1f8138;super(...arguments),T(this,'_allTreeMap',new Map()),T(this,_0x532ae3(0x200),new _0x42247f(!0x0));}[_0x1f8138(0x20f)](){const _0x73ed58=_0x1f8138;this['_otherFormulaData'][_0x73ed58(0x201)](),this['_featureFormulaData'][_0x73ed58(0x201)](),this['_formulaData']['clear'](),this[_0x73ed58(0x200)][_0x73ed58(0x201)](),this[_0x73ed58(0x1f7)][_0x73ed58(0x201)](),this[_0x73ed58(0x258)](),this[_0x73ed58(0x232)][_0x73ed58(0x201)]();}['addOtherFormulaDependency'](_0x40793a,_0x35c360,_0x394139,_0x29f2ca){const _0x155c59=_0x1f8138;this[_0x155c59(0x1e5)][_0x155c59(0x215)](_0x40793a)||this[_0x155c59(0x1e5)][_0x155c59(0x220)](_0x40793a,new Map());const _0x47c437=this[_0x155c59(0x1e5)][_0x155c59(0x24d)](_0x40793a);_0x47c437['has'](_0x35c360)||_0x47c437[_0x155c59(0x220)](_0x35c360,new Map());const _0x153fd2=_0x47c437[_0x155c59(0x24d)](_0x35c360);_0x153fd2['has'](_0x394139)||_0x153fd2[_0x155c59(0x220)](_0x394139,new _0x3a71c1()),_0x153fd2[_0x155c59(0x24d)](_0x394139)[_0x155c59(0x275)](_0x29f2ca[_0x155c59(0x205)],_0x29f2ca['refOffsetY'],_0x29f2ca['treeId']);}['removeOtherFormulaDependency'](_0x516cb1,_0x2999e3,_0x41e5c9){const _0x1510e0=_0x1f8138,_0x15b789=this[_0x1510e0(0x1e5)][_0x1510e0(0x24d)](_0x516cb1);if(_0x15b789&&_0x15b789[_0x1510e0(0x215)](_0x2999e3)){const _0x55f6db=_0x15b789['get'](_0x2999e3);_0x41e5c9[_0x1510e0(0x24b)](_0x59b8e6=>{const _0x2757fe=_0x1510e0,_0x1d3d31=_0x55f6db[_0x2757fe(0x24d)](_0x59b8e6);_0x1d3d31!=null&&(_0x1d3d31[_0x2757fe(0x223)]((_0x1c2a83,_0x1a8e93,_0x5e75f2)=>{const _0x364ac7=_0x2757fe;this[_0x364ac7(0x212)](_0x5e75f2),this[_0x364ac7(0x224)](_0x5e75f2);}),_0x55f6db['delete'](_0x59b8e6),this[_0x2757fe(0x232)][_0x2757fe(0x1dd)](_0x59b8e6));}),_0x55f6db['size']===0x0&&_0x15b789[_0x1510e0(0x1dd)](_0x2999e3),_0x15b789[_0x1510e0(0x1db)]===0x0&&this['_otherFormulaData'][_0x1510e0(0x1dd)](_0x516cb1);}}[_0x1f8138(0x226)](_0xa8fe10,_0x515bb6){const _0x5d35b2=_0x1f8138,_0x47079f=this[_0x5d35b2(0x1e5)][_0x5d35b2(0x24d)](_0xa8fe10);if(_0x515bb6&&_0x47079f&&_0x47079f[_0x5d35b2(0x215)](_0x515bb6)){const _0x40d6c2=_0x47079f['get'](_0x515bb6);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x515bb6);for(const _0x54d24e of _0x40d6c2[_0x5d35b2(0x202)]()){const _0x5c9754=_0x40d6c2[_0x5d35b2(0x24d)](_0x54d24e);_0x5c9754!=null&&(_0x5c9754[_0x5d35b2(0x223)]((_0x264fe1,_0x57026b,_0x51aeea)=>{const _0xfa6860=_0x5d35b2;this[_0xfa6860(0x1f7)][_0xfa6860(0x24d)](_0x51aeea)&&this[_0xfa6860(0x224)](_0x51aeea);}),this[_0x5d35b2(0x232)]['delete'](_0x54d24e));}_0x40d6c2['clear']();}else{if(_0x47079f){for(const _0x184472 of _0x47079f[_0x5d35b2(0x202)]()){const _0x2452e6=_0x47079f[_0x5d35b2(0x24d)](_0x184472);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x184472);for(const _0xe12146 of _0x2452e6['keys']()){const _0xd3a09d=_0x2452e6[_0x5d35b2(0x24d)](_0xe12146);_0xd3a09d!=null&&(_0xd3a09d[_0x5d35b2(0x223)]((_0x14a121,_0x46718a,_0x441c1c)=>{const _0x29c69f=_0x5d35b2;this[_0x29c69f(0x1f7)]['get'](_0x441c1c)&&this['_removeAllTreeMap'](_0x441c1c);}),this['_otherFormulaDataMainData'][_0x5d35b2(0x1dd)](_0xe12146));}}this[_0x5d35b2(0x1e5)][_0x5d35b2(0x1dd)](_0xa8fe10);}}}[_0x1f8138(0x259)](_0x18ec97,_0x544d3d,_0x2e2056,_0x23a031){const _0x4bdbd4=_0x1f8138;this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x215)](_0x18ec97)||this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x220)](_0x18ec97,new Map());const _0x1d8f60=this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x24d)](_0x18ec97);_0x1d8f60[_0x4bdbd4(0x215)](_0x544d3d)||_0x1d8f60[_0x4bdbd4(0x220)](_0x544d3d,new Map()),_0x1d8f60['get'](_0x544d3d)[_0x4bdbd4(0x220)](_0x2e2056,_0x23a031[_0x4bdbd4(0x23c)]);}[_0x1f8138(0x26c)](_0x29aaf0,_0x5eca71,_0x4cc6e3){const _0x43adb6=_0x1f8138,_0x505896=this[_0x43adb6(0x23a)]['get'](_0x29aaf0);if(_0x505896&&_0x505896['has'](_0x5eca71)){const _0x14df0f=_0x505896[_0x43adb6(0x24d)](_0x5eca71);_0x4cc6e3['forEach'](_0x1c6c9f=>{const _0x27eba7=_0x43adb6,_0x1683da=_0x14df0f[_0x27eba7(0x24d)](_0x1c6c9f);_0x1683da!=null&&(this[_0x27eba7(0x212)](_0x1683da),_0x14df0f[_0x27eba7(0x1dd)](_0x1c6c9f),this[_0x27eba7(0x224)](_0x1683da));});}}['clearFeatureFormulaDependency'](_0x206331,_0x247028){const _0x2cc313=_0x1f8138,_0x4fc1b1=this[_0x2cc313(0x23a)][_0x2cc313(0x24d)](_0x206331);if(_0x247028&&_0x4fc1b1&&_0x4fc1b1['has'](_0x247028)){const _0x45a3cb=_0x4fc1b1[_0x2cc313(0x24d)](_0x247028);this['_removeDependencyRTreeCacheById'](_0x206331,_0x247028),_0x45a3cb[_0x2cc313(0x24b)](_0x2b9a4c=>{const _0x1d48a7=_0x2cc313;_0x2b9a4c!=null&&this[_0x1d48a7(0x224)](_0x2b9a4c);}),_0x45a3cb['clear']();}else _0x4fc1b1&&(_0x4fc1b1[_0x2cc313(0x24b)]((_0x4c346f,_0x3312b5)=>{const _0x2b98db=_0x2cc313;this[_0x2b98db(0x23b)](_0x206331,_0x3312b5),_0x4c346f['forEach'](_0x51cfe0=>{const _0x316c34=_0x2b98db;_0x51cfe0!=null&&this[_0x316c34(0x224)](_0x51cfe0);});}),this[_0x2cc313(0x23a)][_0x2cc313(0x1dd)](_0x206331));}[_0x1f8138(0x22e)](_0x136d0f,_0x1c435c,_0x31fec1,_0x4eb645,_0x442834){const _0x2ef781=_0x1f8138;this[_0x2ef781(0x22f)][_0x2ef781(0x215)](_0x136d0f)||this['_formulaData']['set'](_0x136d0f,new Map());const _0x1447c9=this['_formulaData']['get'](_0x136d0f);_0x1447c9[_0x2ef781(0x215)](_0x1c435c)||_0x1447c9[_0x2ef781(0x220)](_0x1c435c,new _0x3a71c1()),_0x1447c9[_0x2ef781(0x24d)](_0x1c435c)[_0x2ef781(0x275)](_0x31fec1,_0x4eb645,_0x442834[_0x2ef781(0x23c)]);}['removeFormulaDependency'](_0x340720,_0x181d3c,_0x3e5851,_0x232d4a){const _0x1517b8=_0x1f8138,_0x1ba2d2=this[_0x1517b8(0x22f)][_0x1517b8(0x24d)](_0x340720);if(_0x1ba2d2&&_0x1ba2d2[_0x1517b8(0x215)](_0x181d3c)){const _0x3fb197=_0x1ba2d2[_0x1517b8(0x24d)](_0x181d3c),_0xd46a6c=_0x3fb197['getValue'](_0x3e5851,_0x232d4a);if(_0xd46a6c==null)return;this[_0x1517b8(0x212)](_0xd46a6c),_0x3fb197[_0x1517b8(0x273)](_0x3e5851,_0x232d4a),this[_0x1517b8(0x224)](_0xd46a6c);}}[_0x1f8138(0x263)](_0x1c1499,_0x26d89d){const _0xf392a0=_0x1f8138,_0xb3afd1=this[_0xf392a0(0x22f)]['get'](_0x1c1499);if(_0x26d89d&&_0xb3afd1&&_0xb3afd1[_0xf392a0(0x215)](_0x26d89d)){const _0x5a6d84=_0xb3afd1[_0xf392a0(0x24d)](_0x26d89d);this[_0xf392a0(0x23b)](_0x1c1499,_0x26d89d),_0x5a6d84['forValue']((_0x3af5ca,_0x17de54,_0x5a6be4)=>{const _0x9cf121=_0xf392a0;if(_0x5a6be4==null)return!0x0;this[_0x9cf121(0x224)](_0x5a6be4);}),_0x5a6d84[_0xf392a0(0x20f)]();}else _0xb3afd1&&(_0xb3afd1[_0xf392a0(0x24b)]((_0x30dcfb,_0x3afb13)=>{const _0x1029f6=_0xf392a0;this[_0x1029f6(0x23b)](_0x1c1499,_0x3afb13),_0x30dcfb[_0x1029f6(0x223)]((_0x50918c,_0x242d8c,_0x46f946)=>{if(_0x46f946==null)return!0x0;this['_removeAllTreeMap'](_0x46f946);});}),this[_0xf392a0(0x22f)]['delete'](_0x1c1499));}['_removeDependencyRTreeCache'](_0x3b99fc){const _0x48ee31=_0x1f8138;if(_0x3b99fc==null)return;const _0x46bdd3=this[_0x48ee31(0x1f7)][_0x48ee31(0x24d)](_0x3b99fc);if(_0x46bdd3){const _0x512ed9=[];for(const [_0x218695,_0x56afde]of _0x46bdd3)for(const [_0x4db8d7,_0x33e2e7]of _0x56afde)_0x512ed9['push']({'unitId':_0x218695,'sheetId':_0x4db8d7,'range':_0x33e2e7,'id':_0x3b99fc});this['_dependencyRTreeCache']['bulkRemove'](_0x512ed9);}}['removeFormulaDependencyByDefinedName'](_0x5aca72,_0x412331){const _0x5b7d7a=_0x1f8138,_0x436833=this[_0x5b7d7a(0x251)][_0x5b7d7a(0x24d)](_0x5aca72);if(_0x436833){const _0x920cdd=_0x436833['get'](_0x412331);if(_0x920cdd){for(const _0x137d2c of _0x920cdd)this['_removeDependencyRTreeCache'](_0x137d2c),this[_0x5b7d7a(0x224)](_0x137d2c);_0x920cdd['clear']();}}}['openKdTree'](){const _0xac9c6=_0x1f8138;this[_0xac9c6(0x200)]['openKdTree']();}[_0x1f8138(0x214)](){const _0x1b53a3=_0x1f8138;this[_0x1b53a3(0x200)]['closeKdTree']();}[_0x1f8138(0x224)](_0x407c26){const _0x5367db=_0x1f8138;_0x407c26!=null&&this[_0x5367db(0x1f7)][_0x5367db(0x1dd)](_0x407c26);}[_0x1f8138(0x1ef)](_0x31b84e){const _0x3fd8d6=_0x1f8138;var _0x3ce634,_0x26ec97;const _0xb2055=_0x31b84e['rangeList'];let _0x4778a2=this['_allTreeMap'][_0x3fd8d6(0x24d)](_0x31b84e['treeId']);for(let _0x41849c=0x0;_0x41849c<_0xb2055[_0x3fd8d6(0x238)];_0x41849c++){const _0x51f9b9=_0xb2055[_0x41849c];let {unitId:_0x21e767,sheetId:_0x3e2378,range:_0x485e90}=_0x51f9b9;_0x4778a2||(_0x4778a2=new Map(),this[_0x3fd8d6(0x1f7)][_0x3fd8d6(0x220)](_0x31b84e[_0x3fd8d6(0x23c)],_0x4778a2)),_0x4778a2[_0x3fd8d6(0x215)](_0x21e767)||_0x4778a2[_0x3fd8d6(0x220)](_0x21e767,new Map());const _0x322f32=(_0x3ce634=_0x4778a2==null?void 0x0:_0x4778a2['get'](_0x21e767))==null?void 0x0:_0x3ce634[_0x3fd8d6(0x24d)](_0x3e2378);_0x322f32&&(_0x485e90={'startRow':Math[_0x3fd8d6(0x268)](_0x485e90['startRow'],_0x322f32['startRow']),'startColumn':Math[_0x3fd8d6(0x268)](_0x485e90[_0x3fd8d6(0x227)],_0x322f32[_0x3fd8d6(0x227)]),'endRow':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1fc)],_0x322f32[_0x3fd8d6(0x1fc)]),'endColumn':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1f8)],_0x322f32[_0x3fd8d6(0x1f8)])}),(_0x26ec97=_0x4778a2[_0x3fd8d6(0x24d)](_0x21e767))==null||_0x26ec97[_0x3fd8d6(0x220)](_0x3e2378,_0x485e90);}}}function _0x37f8(){const _0x138550=['length','push','_featureFormulaData','_removeDependencyRTreeCacheById','treeId','_isCyclicUtilMap','markedAsNoFunctionsExecuted','FEATURE_FORMULA','node','dependencySheetName','getDirtyData','setSkip','addFormulaDependencyByDefinedName','setCompletedFormulasCount','_currentConfigService','getOtherFormulaDependency','START_DEPENDENCY','row','refOffsetY','forEach','_createVirtualFDtree','get','addOtherFormulaDependencyMainData','generate','_config','_definedNameMap','formula','intervalCount','_getUpdateTreeListAndMakeDependency','type','_otherFormulaManagerService','IDLE','_restDependencyTreeId','addFeatureFormulaDependency','_executionCompleteListener$','9auCifF','isCache','43732mGBocg','getOwnPropertyDescriptor','_runtimeService','_initializeWithOverride','getOtherFormulaData','getExcludedRange','clearFormulaDependency','_updateRangeFlatten','getAllRuntimeData','setTotalArrayFormulasToCalculate','getConfig','min','295330ZIFFKH','_generateTreeList','columnCount','removeFeatureFormulaDependency','getClearDependencyTreeCache','next','toRTreeItem','getUnitData','_createFDtree','dispose','realDeleteValue','setFormulaExecuteStage','setValue','bulkSearch','size','START_CALCULATION','delete','valid','_dependencyRTreeCacheForAddressFunction','isDirty','searchDependency','_dependencyTreeCache','_getFirstCellOfRange','getFormulaDependency','_otherFormulaData','_dependencyManagerService','pop','getFormulaData','getFeatureFormulaDependency','isStopExecution','290CRBhkY','_executionInProgressListener$','featureDirtyRanges','column','_addAllTreeMap','featureId','_formulaDependencyGenerator','executeAsync','_injector','isSkip','openKdTree','getValue','_allTreeMap','endColumn','6097122pYGClo','add','isExcludeRange','endRow','unitId','notExecuteFormula','_getTreeById','_dependencyRTreeCache','clear','keys','defineProperty','rangeList','refOffsetX','isAdded','parseInt','message','isForceCalculate','_traverse','rowCount','resolve','_initLicenseValid','getDirtyRanges','reset','_getFeatureFormulaTree','502754xXPEVr','_removeDependencyRTreeCache','isVirtual','closeKdTree','has','formulaId','dirtyRanges','157389dZwvEY','setRuntimeFeatureCellData','ParentDependencyTree\x20object\x20is\x20null','symbol','return\x20','CURRENTLY_CALCULATING_ARRAY_FORMULA','_lexer','enableCycleDependency','set','max','getRuntimeState','forValue','_removeAllTreeMap','setTotalFormulasToCalculate','clearOtherFormulaDependency','startColumn','363162vvqSfo','_calculateRunList','32tGIIVG','checkAsyncNode','_astTreeBuilder','addOtherFormulaDependency','addFormulaDependency','_formulaData','_registerFormulas','setAdded','_otherFormulaDataMainData','setRuntimeData','subUnitId','START_CALCULATION_ARRAY_FORMULA','2309544tSLbof','_configService'];_0x37f8=function(){return _0x138550;};return _0x37f8();}var fe=Object[_0x1f8138(0x25e)],pe=(_0x1bea54,_0x137af9,_0x20e090,_0x181ca7)=>{const _0x13ee9e=_0x1f8138;for(var _0x47400f=_0x181ca7>0x1?void 0x0:_0x181ca7?fe(_0x137af9,_0x20e090):_0x137af9,_0x3baaa8=_0x1bea54[_0x13ee9e(0x238)]-0x1,_0x3f89f4;_0x3baaa8>=0x0;_0x3baaa8--)(_0x3f89f4=_0x1bea54[_0x3baaa8])&&(_0x47400f=_0x3f89f4(_0x47400f)||_0x47400f);return _0x47400f;};const _e=Number[_0x1f8138(0x207)](0x67ed1401);let N=class extends _0x20b52a{[_0x1f8138(0x260)](){const _0x5c1b1b=_0x1f8138;var _0x567533,_0x4dac7f;this[_0x5c1b1b(0x20d)]()?(_0x567533=this['_config'])!=null&&_0x567533['notExecuteFormula']||[[_0x22c75f,{'useClass':he}],[_0x5135d4,{'useClass':ge}],[_0x10a5ff,{'useClass':de}]]['forEach'](_0x214de0=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x214de0)):(_0x4dac7f=this[_0x5c1b1b(0x250)])!=null&&_0x4dac7f[_0x5c1b1b(0x1fe)]||[[_0x22c75f,{'useClass':_0x28f8f2}],[_0x5135d4,{'useClass':_0x49ea93}],[_0x10a5ff,{'useClass':_0x32f891}]][_0x5c1b1b(0x24b)](_0x2fdcb6=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x2fdcb6));}[_0x1f8138(0x20d)](){const _0x3b3d3d=_0x1f8138;var _0x3a6d46;const _0x5df9a8=(_0x3a6d46=this[_0x3b3d3d(0x237)][_0x3b3d3d(0x267)](_0x246301))!=null?_0x3a6d46:{},{ls:_0x2e743b,pbk:_0x26bab1}=_0x5df9a8;if(!_0x2e743b||!_0x26bab1)return!0x1;const _0x3490fa=_0x28e67d(ue,le),_0x313fa3=new Function(_0x3b3d3d(0x21c)+_0x3490fa)()(_0x2e743b,_0x26bab1),_0x25c2b2=_0x313fa3[_0x3b3d3d(0x208)];return _0x313fa3[_0x3b3d3d(0x1de)]&&_0x47ac6d(_0x25c2b2,'sf',_e)?_0xf3f376(_0x25c2b2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=pe([_0x319459(_0x322e28)],N);export{N as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x428da3=_0x5f57;(function(_0x37a56a,_0x34f785){const _0x3250cc=_0x5f57,_0x471868=_0x37a56a();while(!![]){try{const _0x3cf83d=parseInt(_0x3250cc(0xd5))/0x1*(-parseInt(_0x3250cc(0x100))/0x2)+parseInt(_0x3250cc(0x110))/0x3*(parseInt(_0x3250cc(0xb8))/0x4)+-parseInt(_0x3250cc(0xcd))/0x5+parseInt(_0x3250cc(0xde))/0x6+-parseInt(_0x3250cc(0xd1))/0x7*(parseInt(_0x3250cc(0xff))/0x8)+-parseInt(_0x3250cc(0xdd))/0x9*(-parseInt(_0x3250cc(0xf1))/0xa)+-parseInt(_0x3250cc(0xba))/0xb*(-parseInt(_0x3250cc(0xb0))/0xc);if(_0x3cf83d===_0x34f785)break;else _0x471868['push'](_0x471868['shift']());}catch(_0x554f76){_0x471868['push'](_0x471868['shift']());}}}(_0xd697,0x8e2f5));var z=Object[_0x428da3(0x90)],X=(_0x1cd753,_0x5d37b7,_0x895b5e)=>_0x5d37b7 in _0x1cd753?z(_0x1cd753,_0x5d37b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x895b5e}):_0x1cd753[_0x5d37b7]=_0x895b5e,L=(_0x56a0b7,_0xb9db0f,_0x554fed)=>X(_0x56a0b7,typeof _0xb9db0f!=_0x428da3(0x92)?_0xb9db0f+'':_0xb9db0f,_0x554fed);function _0xd697(){const _0x2837fd=['resolve','_featureFormulaData','refOffsetY','_isCyclicUtilMap','setTotalFormulasToCalculate','defineProperty','set','symbol','isForceCalculate','_dependencyTreeCache','setFormulaExecuteStage','clear','OTHER_FORMULA','enableCycleDependency','_runtimeService','closeKdTree','_getFirstCellOfRange','formulaId','_removeDependencyRTreeCacheById','addOtherFormulaDependency','clearOtherFormulaDependency','notExecuteFormula','removeOtherFormulaDependency','_definedNameMap','_registerFormulas','forValue','_dependencyRTreeCacheForAddressFunction','START_CALCULATION','isCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','reset','subUnitId','add','hasOtherFormulaDataMainData','getExcludedRange','_addAllTreeMap','isAdded','120tlBEHk','featureId','executeAsync','dispose','realDeleteValue','_interpreter','isVirtual','START_DEPENDENCY_ARRAY_FORMULA','16htrxZZ','_getTreeById','576950ZKtbSP','getClearDependencyTreeCache','getOtherFormulaData','columnCount','getAllRuntimeData','removeFormulaDependency','getOwnPropertyDescriptor','has','addFeatureFormulaDependency','setRuntimeData','rowCount','_configService','addFormulaDependency','_injector','refOffsetX','_removeDependencyRTreeCache','push','isDirty','next','2045140sEmXXE','_apply','get','_dependencyManagerService','7mUTPqh','rangeList','_lexer','_getTreeNode','104FgFvjv','START_DEPENDENCY','checkAsyncNode','removeFeatureFormulaDependency','_calculateRunList','_formulaDependencyGenerator','size','_getFeatureFormulaTree','523242doVBvc','5524914zMjhWl','setTotalArrayFormulasToCalculate','_initLicenseValid','featureDirtyRanges','endColumn','getValue','IDLE','max','_createVirtualFDtree','row','unitId','column','formula','_traverse','setSkip','forEach','removeFormulaDependencyByDefinedName','setCompletedArrayFormulasCount','markedAsSuccessfullyExecuted','50diggFh','keys','_getUpdateTreeListAndMakeDependency','_restDependencyTreeId','_removeAllTreeMap','parseInt','_otherFormulaManagerService','toRTreeItem','FEATURE_FORMULA','_executionInProgressListener$','_createFDtree','valid','markedAsStopFunctionsExecuted','setRuntimeFeatureRange','3336576yeVEIo','12842DNXRdL','intervalCount','START_CALCULATION_ARRAY_FORMULA','startColumn','_allTreeMap','getRuntimeState','bulkRemove','_executionCompleteListener$','_config','getConfig','_dependencyRTreeCache','pop','node','type','_checkIsCycleDependency','length','255198vsGrhG','_otherFormulaData','refTree','isStopExecution','getFormulaData','openKdTree','generate','message','clearFeatureFormulaDependency','addFormulaDependencyByDefinedName','addOtherFormulaDependencyMainData','_formulaData','dependencySheetName','_currentConfigService','_initializeWithOverride','clearFormulaDependency','bulkSearch','getFormulaDependency','min','startRow','delete','getDirtyNameMap','_astTreeBuilder','_updateRangeFlatten','searchDependency','treeId','getDirtyRanges','_otherFormulaDataMainData','setValue','_registerOtherFormulas'];_0xd697=function(){return _0x2837fd;};return _0xd697();}import{UniverLicensePlugin as _0x1fee13,LS_CONFIG_KEY as _0x399e32,unshiftString as _0x37758e,isFeatureAuthorizedWithinTime as _0x24b750,getSheetFeatureLimit as _0x17a809}from'@univerjs-pro/license';import{ObjectMatrix as _0x35143a,requestImmediateMacroTask as _0x3095c4,RTree as _0x5c8891,DependentOn as _0x31fbec}from'@univerjs/core';import{FormulaDependencyGenerator as _0x50464b,generateRandomDependencyTreeId as _0x2d4784,FormulaDependencyTree as _0x1e8a2d,FormulaDependencyTreeType as _0x12d99c,FormulaDependencyTreeVirtual as _0x25d24a,generateAstNode as _0x1bb178,CalculateFormulaService as _0x134747,FormulaExecuteStageType as _0x2c7573,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x592dbd,DEFAULT_INTERVAL_COUNT as _0x519c23,DependencyManagerBaseService as _0x574a03,UniverFormulaEnginePlugin as _0x351cbb,ICalculateFormulaService as _0x37c749,IDependencyManagerService as _0x150ddc,IFormulaDependencyGenerator as _0x1493a3,DependencyManagerService as _0x2be659}from'@univerjs/engine-formula';function _0x5f57(_0x2e31d9,_0x4517c7){const _0xd6975f=_0xd697();return _0x5f57=function(_0x5f5710,_0x3543ae){_0x5f5710=_0x5f5710-0x76;let _0x4e17b3=_0xd6975f[_0x5f5710];return _0x4e17b3;},_0x5f57(_0x2e31d9,_0x4517c7);}export*from'@univerjs/engine-formula';const le={0x0:'E',0x1:'y',0x2:'w',0x3:'4',0x4:'M',0x5:'7',0x6:'2',0x7:'P',0x8:'8',0x9:'N','z':'0','x':'1','g':'3','c':'5','o':'6','B':'9','f':'a','j':'b','T':'c','N':'d','F':'e','d':'f','h':'g','I':'h','G':'i','Z':'j','b':'k','y':'l','k':'m','H':'n','Y':'o','r':'p','J':'q','L':'r','E':'s','s':'t','M':'u','Q':'v','w':'x','R':'z','p':'A','v':'B','n':'C','D':'D','V':'F','P':'G','O':'H','a':'I','U':'J','l':'K','X':'L','A':'O','i':'Q','S':'R','m':'S','W':'T','C':'U','u':'V','K':'W','t':'X','e':'Y','q':'Z'},ue='dMHTsGYH\x20NFTL1rsGYH(yGTFHEF,\x20rMjyGTlF1)\x20{\x20\x20\x20\x20sL1\x20{\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20yGTFHEFaHdY7fLspLLf1\x20=\x20yGTFHEF.EryGs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20YLGhGH4FEEfhF\x20=\x20UmA9.rfLEF(fsYj(yGTFHEFaHdY7fLspLLf1[6]));\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!YLGhGH4FEEfhF.MN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YLGhGH4FEEfhF.MN\x20=\x209MkjFL(yGTFHEFaHdY7fLspLLf1[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20GEKYLbFL\x20=\x20s1rFYd\x20KYLbFLPyYjfymTYrF\x20!==\x20\x27MHNFdGHFN\x27\x20&&\x20EFyd\x20GHEsfHTFYd\x20KYLbFLPyYjfymTYrF;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20TYHsFws\x20=\x20GEKYLbFL\x20?\x20EFyd\x20:\x202GHNY2;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[6]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(kFEEfhFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[g]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(EGhHfsMLFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHufyGN\x20=\x20TYHsFws.__QFLGd1__(EGhHfsMLF,\x20kFEEfhF,\x20rMjyGTlF1);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20NYkfGH\x20=\x20YLGhGH4FEEfhF.Nk;\x20\x20\x20\x20\x20\x20\x20\x20dMHTsGYH\x20GEDYkfGH4fsTIGHh(Y7fssFLH,\x20YOYEs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH\x20=\x20Y7fssFLH.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs\x20=\x20YOYEs.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH7fLsE\x20=\x20rfssFLH.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs7fLsE\x20=\x20IYEs.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!rfssFLH.GHTyMNFE(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLH\x20===\x20IYEs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(rfssFLH7fLsE.yFHhsI\x20<\x206\x20||\x20rfssFLH7fLsE[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20dfyEF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLHmMddGw\x20=\x20rfssFLH7fLsE.EyGTF(x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEsmMddGw\x20=\x20IYEs7fLsE.EyGTF(-rfssFLH7fLsE.yFHhsI\x20+\x20x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLHmMddGw\x20===\x20IYEsmMddGw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yFs\x20NYkfGHufyGN\x20=\x20(NYkfGH\x20&&\x20NYkfGH.yFHhsI)\x20?\x20NYkfGH.EYkF((NkasFk)\x20=>\x20GEDYkfGH4fsTIGHh(NkasFk,\x20yYTfsGYH.IYEsHfkF))\x20:\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(yYTfsGYH.IYEsHfkF\x20===\x20\x27yYTfyIYEs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NYkfGHufyGN\x20=\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20QfyGN\x20=\x20EGhHufyGN\x20&&\x20NYkfGHufyGN;\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20YLGhGH4FEEfhF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TfsTI\x20(FLLYL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN:\x20dfyEF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x50464b{constructor(){const _0x146eb8=_0x428da3;super(...arguments),L(this,_0x146eb8(0x94),new Map());}[_0x428da3(0xb3)](){const _0x86b281=_0x428da3;super[_0x86b281(0xb3)](),this[_0x86b281(0x94)][_0x86b281(0x96)]();}async[_0x428da3(0x116)](){const _0x510eb4=_0x428da3;this[_0x510eb4(0x84)]();const _0x39c5fd=this[_0x510eb4(0x7a)][_0x510eb4(0x114)](),_0x1b3a15=this[_0x510eb4(0xf7)][_0x510eb4(0xbc)](),_0x1c2ecb=this[_0x510eb4(0x7a)][_0x510eb4(0xbb)]();_0x1c2ecb!=null&&Object['keys'](_0x1c2ecb)['forEach'](_0x54a689=>{const _0x438174=_0x510eb4;_0x54a689!=null&&Object[_0x438174(0xf2)](_0x1c2ecb[_0x54a689])[_0x438174(0xed)](_0x563e60=>{const _0x2acfdd=_0x438174;_0x563e60!=null&&(this['_dependencyManagerService'][_0x2acfdd(0x9f)](_0x54a689,_0x563e60),this[_0x2acfdd(0xd0)][_0x2acfdd(0x118)](_0x54a689,_0x563e60),this[_0x2acfdd(0xd0)][_0x2acfdd(0x7c)](_0x54a689,_0x563e60));});});const _0x444c2c=this[_0x510eb4(0x7a)]['getUnitData']();await this['_generateTreeList'](_0x39c5fd,_0x1b3a15,_0x444c2c),this[_0x510eb4(0xd0)]['openKdTree']();const _0x508f3b=this[_0x510eb4(0xf3)](),_0x355c8b=this['_calculateRunList'](_0x508f3b);return this[_0x510eb4(0x10e)](_0x355c8b)&&this[_0x510eb4(0x99)][_0x510eb4(0x98)](),this[_0x510eb4(0x94)]['clear'](),this[_0x510eb4(0xa5)]['clear'](),this[_0x510eb4(0xd0)][_0x510eb4(0x9a)](),Promise[_0x510eb4(0x8b)](_0x355c8b);}[_0x428da3(0x8e)](_0x2500da,_0x145f76){const _0x16f089=_0x428da3,_0x2d7780=[_0x2500da];for(;_0x2d7780[_0x16f089(0x10f)]>0x0;){const _0x5c3ee5=_0x2d7780[_0x2d7780[_0x16f089(0x10f)]-0x1];if((_0x145f76[_0x16f089(0xcf)](_0x5c3ee5)||0x0)===0x0){_0x145f76['set'](_0x5c3ee5,0x1);const _0x2649df=this['_dependencyTreeCache']['get'](_0x5c3ee5);if(_0x2649df==null){_0x145f76['set'](_0x5c3ee5,0x2),_0x2d7780[_0x16f089(0x10b)]();continue;}const _0x4c3699=this[_0x16f089(0xd0)][_0x16f089(0x85)](_0x2649df[_0x16f089(0xf8)]());for(const _0x45308f of _0x4c3699){const _0x4589d1=_0x145f76[_0x16f089(0xcf)](_0x45308f)||0x0;if(_0x4589d1===0x1)return!0x0;_0x4589d1===0x0&&_0x2d7780[_0x16f089(0xca)](_0x45308f);}}else _0x145f76[_0x16f089(0x91)](_0x5c3ee5,0x2),_0x2d7780[_0x16f089(0x10b)]();}return!0x1;}['_checkIsCycleDependency'](_0x5b5a28){const _0x3b716f=_0x428da3,_0x58cca0=new Map();for(const _0xb08598 of _0x5b5a28)if(!_0x58cca0[_0x3b716f(0xc1)](_0xb08598[_0x3b716f(0x86)])&&this['_isCyclicUtilMap'](_0xb08598[_0x3b716f(0x86)],_0x58cca0))return!0x0;return _0x58cca0['clear'](),!0x1;}[_0x428da3(0xdc)](_0x34b320,_0x22cb73,_0xef4e98){const _0x320122=_0x428da3,{unitId:_0x369ca0,subUnitId:_0x19f9a4,dependencyRanges:_0x37f92d,getDirtyData:_0x53c291}=_0xef4e98,_0x32fa8f=_0x22cb73||_0x2d4784(this[_0x320122(0xd0)]),_0xdfcb10=new _0x1e8a2d(_0x32fa8f);_0xdfcb10[_0x320122(0xe8)]=_0x369ca0,_0xdfcb10[_0x320122(0xaa)]=_0x19f9a4,_0xdfcb10[_0x320122(0xd2)]=_0x37f92d,_0xdfcb10['getDirtyData']=_0x53c291;const _0x33eb6c=_0x53c291(this['_currentConfigService']['getDirtyData'](),this[_0x320122(0x99)][_0x320122(0xbe)]()),_0x1ed16a=this['_convertDirtyRangesToUnitRange'](_0x33eb6c['dirtyRanges']);return _0xdfcb10[_0x320122(0xe1)]=_0x1ed16a,_0xdfcb10[_0x320122(0xb1)]=_0x34b320,_0xdfcb10['type']=_0x12d99c[_0x320122(0xf9)],this[_0x320122(0xd0)][_0x320122(0xc2)](_0x369ca0,_0x19f9a4,_0x34b320,_0xdfcb10),this['_dependencyTreeCache'][_0x320122(0x91)](_0xdfcb10[_0x320122(0x86)],_0xdfcb10),this[_0x320122(0xd0)]['getFeatureFormulaDependency'](_0xef4e98[_0x320122(0xe8)],_0xef4e98['subUnitId'],_0x34b320)&&(_0xdfcb10[_0x320122(0xa7)]=!0x0),_0xdfcb10;}[_0x428da3(0x8a)](_0x4f7ecc,_0x5fc839,_0x2fe0fa){const _0x666e80=_0x428da3;var _0x27e9cd;for(const _0x1b48ab of _0x5fc839){const _0x20711a=_0x4f7ecc[_0x1b48ab];if(_0x20711a==null)continue;const _0xc164a5=Object[_0x666e80(0xf2)](_0x20711a);for(const _0x41186b of _0xc164a5){const _0x5396be=_0x20711a[_0x41186b];if(_0x5396be==null)continue;const _0x45166b=Object[_0x666e80(0xf2)](_0x5396be);for(const _0x53a0a2 of _0x45166b){const _0x588480=this[_0x666e80(0xd0)][_0x666e80(0xac)](_0x53a0a2),_0x32eb22=_0x5396be[_0x53a0a2],{f:_0x2622c2,ranges:_0xd5eeae}=_0x32eb22;let _0x3c84cf=!0x1;_0x588480&&(_0x3c84cf=!0x0);const {firstRow:_0x9b99be,firstColumn:_0x325192}=this[_0x666e80(0x9b)](_0xd5eeae),_0x51591e=this[_0x666e80(0xd0)]['getOtherFormulaDependency'](_0x1b48ab,_0x41186b,_0x53a0a2),_0x58e002=(_0x27e9cd=_0x51591e==null?void 0x0:_0x51591e[_0x666e80(0xe3)](0x0,0x0))!=null?_0x27e9cd:_0x2d4784(this['_dependencyManagerService']),_0x52d4ea=new _0x1e8a2d(_0x58e002);for(let _0xc8d443=0x0;_0xc8d443<_0xd5eeae[_0x666e80(0x10f)];_0xc8d443++){const _0x1f0fc6=_0xd5eeae[_0xc8d443],{startRow:_0x270ceb,startColumn:_0x166b1c,endRow:_0x17fe56,endColumn:_0x279116}=_0x1f0fc6;for(let _0x121887=_0x270ceb;_0x121887<=_0x17fe56;_0x121887++)for(let _0x37da33=_0x166b1c;_0x37da33<=_0x279116;_0x37da33++){const _0x561981=_0x37da33-_0x325192,_0xa3deda=_0x121887-_0x9b99be;if(_0x561981===0x0&&_0xa3deda===0x0){_0x52d4ea[_0x666e80(0xea)]=_0x2622c2,_0x52d4ea['unitId']=_0x1b48ab,_0x52d4ea['subUnitId']=_0x41186b,_0x52d4ea[_0x666e80(0x9c)]=_0x53a0a2,_0x52d4ea[_0x666e80(0x10d)]=_0x12d99c[_0x666e80(0x97)],_0x52d4ea[_0x666e80(0xa7)]=_0x3c84cf,_0x2fe0fa[_0x666e80(0xca)](_0x52d4ea),this['_dependencyTreeCache'][_0x666e80(0x91)](_0x52d4ea[_0x666e80(0x86)],_0x52d4ea),this[_0x666e80(0xd0)][_0x666e80(0x9e)](_0x1b48ab,_0x41186b,_0x53a0a2,_0x52d4ea),this[_0x666e80(0xd0)][_0x666e80(0x76)](_0x52d4ea);continue;}const _0x336c17=new _0x25d24a();_0x336c17[_0x666e80(0x86)]=(_0x51591e==null?void 0x0:_0x51591e[_0x666e80(0xe3)](_0x561981,_0xa3deda))||_0x2d4784(this[_0x666e80(0xd0)]),_0x336c17[_0x666e80(0x112)]=_0x52d4ea,_0x336c17[_0x666e80(0xc8)]=_0x561981,_0x336c17[_0x666e80(0x8d)]=_0xa3deda,_0x336c17[_0x666e80(0xa7)]=_0x3c84cf,this['_dependencyManagerService'][_0x666e80(0x9e)](_0x1b48ab,_0x41186b,_0x53a0a2,_0x336c17),this[_0x666e80(0xd0)]['addFormulaDependencyByDefinedName'](_0x336c17),_0x2fe0fa[_0x666e80(0xca)](_0x336c17),this[_0x666e80(0x94)]['set'](_0x336c17[_0x666e80(0x86)],_0x336c17);}}this['_dependencyManagerService'][_0x666e80(0x77)](_0x53a0a2);}}}}[_0x428da3(0xa3)](_0x4097a7,_0xd237c4,_0x4e8bdb,_0x11b287){const _0x5bd1b3=_0x428da3;for(const _0x1b47c6 of _0x4097a7){const _0x4c4401=_0xd237c4[_0x1b47c6];if(_0x4c4401==null)continue;const _0x41dc34=Object[_0x5bd1b3(0xf2)](_0x4c4401);for(const _0x7b9fbe of _0x41dc34){const _0x34ba41=new _0x35143a(_0x4c4401[_0x7b9fbe]||{}),_0x44445a=new Map();_0x34ba41[_0x5bd1b3(0xa4)]((_0x3b09f4,_0x1f39dc,_0x377849)=>{const _0x417282=_0x5bd1b3;if(_0x377849==null)return!0x0;const {x:_0xdc608=0x0,y:_0x5ae1cd=0x0,si:_0x46cf3b}=_0x377849;if(!(_0xdc608===0x0&&_0x5ae1cd===0x0&&_0x46cf3b!=null))return!0x0;const _0x48beab=this[_0x417282(0xfb)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc,_0x4e8bdb,_0x377849),_0x2623d3=this[_0x417282(0xd0)][_0x417282(0x7e)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc);_0x2623d3!=null?_0x48beab[_0x417282(0x86)]=_0x2623d3:(this[_0x417282(0xd0)][_0x417282(0xc6)](_0x1b47c6,_0x7b9fbe,_0x3b09f4,_0x1f39dc,_0x48beab),this[_0x417282(0xd0)][_0x417282(0x76)](_0x48beab)),_0x44445a[_0x417282(0x91)](_0x46cf3b,_0x48beab),_0x11b287[_0x417282(0xca)](_0x48beab),this[_0x417282(0x94)][_0x417282(0x91)](_0x48beab['treeId'],_0x48beab);}),_0x34ba41[_0x5bd1b3(0xa4)]((_0x5dde5f,_0x4cf0cd,_0x26a7c3)=>{const _0x205b4e=_0x5bd1b3;if(_0x26a7c3==null)return!0x0;const {x:_0x30b67c=0x0,y:_0x429bf4=0x0,si:_0x2ff8d7}=_0x26a7c3;if(_0x30b67c===0x0&&_0x429bf4===0x0&&_0x2ff8d7!=null)return!0x0;let _0x4d5f8d;if(_0x2ff8d7&&_0x44445a['has'](_0x2ff8d7)){const _0x481dd6=_0x44445a[_0x205b4e(0xcf)](_0x2ff8d7);_0x4d5f8d=this[_0x205b4e(0xe6)](_0x481dd6,_0x26a7c3);}else _0x4d5f8d=this[_0x205b4e(0xfb)](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd,_0x4e8bdb,_0x26a7c3);const _0x11d564=this[_0x205b4e(0xd0)][_0x205b4e(0x7e)](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd);_0x11d564!=null?_0x4d5f8d[_0x205b4e(0x86)]=_0x11d564:(this[_0x205b4e(0xd0)]['addFormulaDependency'](_0x1b47c6,_0x7b9fbe,_0x5dde5f,_0x4cf0cd,_0x4d5f8d),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x4d5f8d)),_0x11b287[_0x205b4e(0xca)](_0x4d5f8d),this[_0x205b4e(0x94)][_0x205b4e(0x91)](_0x4d5f8d['treeId'],_0x4d5f8d);}),_0x44445a[_0x5bd1b3(0x96)]();}}}[_0x428da3(0xfb)](_0x21e45b,_0x50dc25,_0x4a5403,_0x5157c9,_0x3993b8,_0x4e0101){const _0x2bb4b1=_0x428da3,{f:_0x230bfd,x:_0x442abb=0x0,y:_0x463239=0x0}=_0x4e0101,_0x5d4f11=new _0x1e8a2d(_0x2d4784(this[_0x2bb4b1(0xd0)])),_0x36eb50=_0x3993b8[_0x21e45b][_0x50dc25];return _0x5d4f11[_0x2bb4b1(0xea)]=_0x230bfd,_0x5d4f11[_0x2bb4b1(0xe8)]=_0x21e45b,_0x5d4f11[_0x2bb4b1(0xaa)]=_0x50dc25,_0x5d4f11['row']=_0x4a5403,_0x5d4f11[_0x2bb4b1(0xe9)]=_0x5157c9,_0x5d4f11[_0x2bb4b1(0xc4)]=_0x36eb50[_0x2bb4b1(0xc4)],_0x5d4f11[_0x2bb4b1(0xbd)]=_0x36eb50['columnCount'],_0x5d4f11;}[_0x428da3(0xf3)](){const _0x141f79=_0x428da3,_0x15e105=[],_0xf3c774=new Set(),_0x49f8c7=this['_currentConfigService'][_0x141f79(0x93)](),_0x5e07af=this['_currentConfigService'][_0x141f79(0x87)](),_0x5d557c=this[_0x141f79(0xd0)]['searchDependency'](_0x5e07af),_0x39af50=this[_0x141f79(0xa5)][_0x141f79(0x7d)](_0x5e07af);for(const _0x237ecc of _0x39af50)_0x5d557c[_0x141f79(0xab)](_0x237ecc);for(const [_0x29e538,_0x535020]of this[_0x141f79(0x94)])(_0x49f8c7||_0x535020[_0x141f79(0xcb)]||_0x535020[_0x141f79(0x79)](this[_0x141f79(0x7a)][_0x141f79(0x82)]())||_0x5d557c[_0x141f79(0xc1)](_0x29e538)&&!_0x535020['isExcludeRange'](this['_currentConfigService'][_0x141f79(0xad)]()))&&!_0xf3c774[_0x141f79(0xc1)](_0x29e538)&&(_0x15e105[_0x141f79(0xca)](_0x535020),_0xf3c774[_0x141f79(0xab)](_0x29e538));for(const [_0xd80b4f,_0x1a13eb]of this[_0x141f79(0x94)])_0x1a13eb[_0x141f79(0xb6)]||(_0x1a13eb[_0x141f79(0xd2)]['length']=0x0);return _0x15e105;}[_0x428da3(0xb9)](_0x5226ee){const _0x59424f=_0x428da3;return this[_0x59424f(0x94)]['get'](_0x5226ee);}[_0x428da3(0xd4)](_0x7eb9aa){const _0x176171=_0x428da3;return _0x1bb178(_0x7eb9aa[_0x176171(0xe8)],_0x7eb9aa[_0x176171(0xea)],this['_lexer'],this[_0x176171(0x83)],this[_0x176171(0x7a)]);}*[_0x428da3(0xeb)](_0x4c20e2,_0x36be3e){const _0x5c3ed4=_0x428da3,_0x23da7a=_0x4c20e2,_0x15e86d=new Set();for(;_0x23da7a[_0x5c3ed4(0x10f)]>0x0;){const _0x540fb6=_0x23da7a[_0x5c3ed4(0x10b)]();if(_0x15e86d[_0x5c3ed4(0x96)](),_0x540fb6===void 0x0||_0x540fb6['isSkip']())continue;if(_0x540fb6[_0x5c3ed4(0xaf)]()){yield _0x540fb6,_0x540fb6['setSkip'](),_0x36be3e[_0x5c3ed4(0xab)](_0x540fb6[_0x5c3ed4(0x86)]);continue;}const _0x249b0a=this[_0x5c3ed4(0xd0)][_0x5c3ed4(0x85)](_0x540fb6[_0x5c3ed4(0xf8)](),_0x36be3e),_0x11479=this[_0x5c3ed4(0xa5)][_0x5c3ed4(0x7d)](_0x540fb6[_0x5c3ed4(0xf8)](),_0x36be3e);for(const _0x4ee7a0 of _0x11479)_0x249b0a[_0x5c3ed4(0xab)](_0x4ee7a0);for(const _0x3013b7 of _0x249b0a){const _0x476a84=this[_0x5c3ed4(0x94)][_0x5c3ed4(0xcf)](_0x3013b7);if(!_0x476a84)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x476a84[_0x5c3ed4(0xaf)]()||_0x540fb6['isSkip']()||_0x15e86d[_0x5c3ed4(0xab)](_0x476a84);}if(_0x249b0a[_0x5c3ed4(0x96)](),_0x15e86d[_0x5c3ed4(0xdb)]===0x0)yield _0x540fb6,_0x540fb6[_0x5c3ed4(0xec)](),_0x36be3e['add'](_0x540fb6[_0x5c3ed4(0x86)]);else{_0x540fb6['setAdded'](),_0x23da7a['push'](_0x540fb6);for(const _0x318e97 of _0x15e86d)_0x23da7a[_0x5c3ed4(0xca)](_0x318e97);}}_0x23da7a['length']=0x0,_0x15e86d[_0x5c3ed4(0x96)]();}[_0x428da3(0xd9)](_0x32ff9b){const _0x5584d0=_0x428da3,_0x41ce33=[],_0x575eba=new Set();for(const _0x170f70 of this[_0x5584d0(0xeb)](_0x32ff9b,_0x575eba))_0x41ce33['push'](_0x170f70);return _0x41ce33;}}class he extends _0x134747{async[_0x428da3(0xce)](_0xa7c6da=!0x1){const _0x19a1fe=_0x428da3;_0xa7c6da?this['_runtimeService'][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xb7)]):this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xd6)]),this['_executionInProgressListener$'][_0x19a1fe(0xcc)](this['_runtimeService'][_0x19a1fe(0x105)]());const _0x31c241=await this[_0x19a1fe(0xda)][_0x19a1fe(0x116)](),_0x220280=this[_0x19a1fe(0xb5)];_0xa7c6da?(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0x102)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xdf)](_0x31c241[_0x19a1fe(0x10f)])):(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xa6)]),this[_0x19a1fe(0x99)][_0x19a1fe(0x8f)](_0x31c241['length'])),this['_executionInProgressListener$'][_0x19a1fe(0xcc)](this[_0x19a1fe(0x99)]['getRuntimeState']());let _0x10e99c=[];const _0xcda468=this['_configService'][_0x19a1fe(0x109)](_0x592dbd),_0x2e758b=(_0xcda468==null?void 0x0:_0xcda468[_0x19a1fe(0x101)])||_0x519c23;let _0x5d1d00=0x0;const _0x3c5099=_0x31c241[_0x19a1fe(0x10f)];for(;_0x31c241[_0x19a1fe(0x10f)]>0x0;){const _0x2785d0=_0x31c241[_0x19a1fe(0x10b)](),_0x4c47a5={'node':_0x1bb178(_0x2785d0[_0x19a1fe(0xe8)],_0x2785d0[_0x19a1fe(0xea)],this[_0x19a1fe(0xd3)],this[_0x19a1fe(0x83)],this[_0x19a1fe(0x7a)]),'refOffsetX':_0x2785d0[_0x19a1fe(0xc8)],'refOffsetY':_0x2785d0['refOffsetY']},_0x8cb353=_0x2785d0['getDirtyData'];if(_0x5d1d00%_0x2e758b===0x0&&(await new Promise(_0x4c626b=>{const _0x35cf46=_0x19a1fe,_0x56246d=_0x3095c4(_0x4c626b);_0x10e99c[_0x35cf46(0xca)](_0x56246d);}),_0xa7c6da?(this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xa8)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xef)](_0x5d1d00+0x1)):(this['_runtimeService'][_0x19a1fe(0x95)](_0x2c7573['CURRENTLY_CALCULATING']),this['_runtimeService']['setCompletedFormulasCount'](_0x5d1d00+0x1)),this[_0x19a1fe(0xfa)]['next'](this[_0x19a1fe(0x99)][_0x19a1fe(0x105)]()),this[_0x19a1fe(0x99)][_0x19a1fe(0x113)]()||_0x4c47a5==null&&_0x8cb353==null)){this[_0x19a1fe(0x99)][_0x19a1fe(0x95)](_0x2c7573[_0x19a1fe(0xe4)]),this[_0x19a1fe(0x99)][_0x19a1fe(0xfd)](),this[_0x19a1fe(0x107)]['next'](this[_0x19a1fe(0x99)][_0x19a1fe(0xbe)]());return;}this[_0x19a1fe(0x99)]['setCurrent'](_0x2785d0[_0x19a1fe(0xe7)],_0x2785d0[_0x19a1fe(0xe9)],_0x2785d0['rowCount'],_0x2785d0[_0x19a1fe(0xbd)],_0x2785d0[_0x19a1fe(0xaa)],_0x2785d0['unitId']);let _0x1a3569;if(_0x8cb353!=null&&_0x2785d0[_0x19a1fe(0xb1)]!=null){const {runtimeCellData:_0x15f53b,dirtyRanges:_0x1b3cfa}=_0x8cb353(this['_currentConfigService']['getDirtyData'](),this[_0x19a1fe(0x99)][_0x19a1fe(0xbe)]());this[_0x19a1fe(0x99)]['setRuntimeFeatureCellData'](_0x2785d0[_0x19a1fe(0xb1)],_0x15f53b),this[_0x19a1fe(0x99)][_0x19a1fe(0xfe)](_0x2785d0['featureId'],_0x1b3cfa);}else _0x4c47a5!=null&&(_0x220280[_0x19a1fe(0xd7)](_0x4c47a5[_0x19a1fe(0x10c)])?_0x1a3569=await _0x220280[_0x19a1fe(0xb2)](_0x4c47a5):_0x1a3569=_0x220280['execute'](_0x4c47a5),_0x2785d0['formulaId']!=null?this[_0x19a1fe(0x99)]['setRuntimeOtherData'](_0x2785d0[_0x19a1fe(0x9c)],_0x2785d0[_0x19a1fe(0xc8)],_0x2785d0[_0x19a1fe(0x8d)],_0x1a3569):this['_runtimeService'][_0x19a1fe(0xc3)](_0x1a3569));_0x5d1d00++;}return _0x10e99c[_0x19a1fe(0xed)](_0x54fc6b=>_0x54fc6b()),_0x10e99c=[],_0x3c5099>0x0?this['_runtimeService'][_0x19a1fe(0xf0)]():_0xa7c6da||this[_0x19a1fe(0x99)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x19a1fe(0xbe)]();}}class fe extends _0x574a03{constructor(){const _0x36624d=_0x428da3;super(...arguments),L(this,_0x36624d(0x104),new Map()),L(this,_0x36624d(0x10a),new _0x5c8891(!0x0));}[_0x428da3(0xa9)](){const _0x4fd34b=_0x428da3;this[_0x4fd34b(0x111)][_0x4fd34b(0x96)](),this[_0x4fd34b(0x8c)][_0x4fd34b(0x96)](),this['_formulaData'][_0x4fd34b(0x96)](),this[_0x4fd34b(0x10a)][_0x4fd34b(0x96)](),this[_0x4fd34b(0x104)][_0x4fd34b(0x96)](),this[_0x4fd34b(0xf4)](),this[_0x4fd34b(0x88)][_0x4fd34b(0x96)]();}[_0x428da3(0x9e)](_0x3f3fbb,_0x4678dd,_0x27d512,_0x369412){const _0x564da8=_0x428da3;this[_0x564da8(0x111)][_0x564da8(0xc1)](_0x3f3fbb)||this[_0x564da8(0x111)]['set'](_0x3f3fbb,new Map());const _0x996a95=this[_0x564da8(0x111)]['get'](_0x3f3fbb);_0x996a95[_0x564da8(0xc1)](_0x4678dd)||_0x996a95[_0x564da8(0x91)](_0x4678dd,new Map());const _0x3720a=_0x996a95['get'](_0x4678dd);_0x3720a['has'](_0x27d512)||_0x3720a[_0x564da8(0x91)](_0x27d512,new _0x35143a()),_0x3720a[_0x564da8(0xcf)](_0x27d512)[_0x564da8(0x89)](_0x369412[_0x564da8(0xc8)],_0x369412['refOffsetY'],_0x369412[_0x564da8(0x86)]);}[_0x428da3(0xa1)](_0x466c7b,_0x1fc7e7,_0x41af0c){const _0x5a7acc=_0x428da3,_0xe0dd20=this['_otherFormulaData'][_0x5a7acc(0xcf)](_0x466c7b);if(_0xe0dd20&&_0xe0dd20['has'](_0x1fc7e7)){const _0x1f1bd5=_0xe0dd20[_0x5a7acc(0xcf)](_0x1fc7e7);_0x41af0c[_0x5a7acc(0xed)](_0x46cae7=>{const _0x559d14=_0x5a7acc,_0x3eab6f=_0x1f1bd5['get'](_0x46cae7);_0x3eab6f!=null&&(_0x3eab6f['forValue']((_0x581248,_0x24e61e,_0x57b2fa)=>{const _0x43b8c6=_0x5f57;this[_0x43b8c6(0xc9)](_0x57b2fa),this['_removeAllTreeMap'](_0x57b2fa);}),_0x1f1bd5[_0x559d14(0x81)](_0x46cae7),this[_0x559d14(0x88)][_0x559d14(0x81)](_0x46cae7));}),_0x1f1bd5[_0x5a7acc(0xdb)]===0x0&&_0xe0dd20[_0x5a7acc(0x81)](_0x1fc7e7),_0xe0dd20[_0x5a7acc(0xdb)]===0x0&&this[_0x5a7acc(0x111)][_0x5a7acc(0x81)](_0x466c7b);}}['clearOtherFormulaDependency'](_0x2f89fb,_0x2d826e){const _0x10829b=_0x428da3,_0x164c56=this[_0x10829b(0x111)][_0x10829b(0xcf)](_0x2f89fb);if(_0x2d826e&&_0x164c56&&_0x164c56['has'](_0x2d826e)){const _0x154046=_0x164c56[_0x10829b(0xcf)](_0x2d826e);this['_removeDependencyRTreeCacheById'](_0x2f89fb,_0x2d826e);for(const _0x196417 of _0x154046['keys']()){const _0x3a21ff=_0x154046[_0x10829b(0xcf)](_0x196417);_0x3a21ff!=null&&(_0x3a21ff[_0x10829b(0xa4)]((_0x111699,_0x1cac60,_0x221993)=>{const _0x386fee=_0x10829b;this[_0x386fee(0x104)]['get'](_0x221993)&&this[_0x386fee(0xf5)](_0x221993);}),this[_0x10829b(0x88)][_0x10829b(0x81)](_0x196417));}_0x154046[_0x10829b(0x96)]();}else{if(_0x164c56){for(const _0x6a4fca of _0x164c56[_0x10829b(0xf2)]()){const _0x57e8ac=_0x164c56['get'](_0x6a4fca);this[_0x10829b(0x9d)](_0x2f89fb,_0x6a4fca);for(const _0x49b1fc of _0x57e8ac[_0x10829b(0xf2)]()){const _0x1f95ba=_0x57e8ac[_0x10829b(0xcf)](_0x49b1fc);_0x1f95ba!=null&&(_0x1f95ba[_0x10829b(0xa4)]((_0x5c7552,_0x4e296d,_0x44d4cd)=>{const _0x33269d=_0x10829b;this['_allTreeMap'][_0x33269d(0xcf)](_0x44d4cd)&&this[_0x33269d(0xf5)](_0x44d4cd);}),this['_otherFormulaDataMainData'][_0x10829b(0x81)](_0x49b1fc));}}this[_0x10829b(0x111)][_0x10829b(0x81)](_0x2f89fb);}}}[_0x428da3(0xc2)](_0x39dbee,_0x469371,_0x5b41fb,_0x2cf4bb){const _0x26eef9=_0x428da3;this[_0x26eef9(0x8c)]['has'](_0x39dbee)||this[_0x26eef9(0x8c)][_0x26eef9(0x91)](_0x39dbee,new Map());const _0x591111=this['_featureFormulaData'][_0x26eef9(0xcf)](_0x39dbee);_0x591111[_0x26eef9(0xc1)](_0x469371)||_0x591111[_0x26eef9(0x91)](_0x469371,new Map()),_0x591111[_0x26eef9(0xcf)](_0x469371)[_0x26eef9(0x91)](_0x5b41fb,_0x2cf4bb['treeId']);}[_0x428da3(0xd8)](_0x3afdc9,_0x5b974d,_0x5e9338){const _0x18b276=_0x428da3,_0x48289b=this[_0x18b276(0x8c)][_0x18b276(0xcf)](_0x3afdc9);if(_0x48289b&&_0x48289b[_0x18b276(0xc1)](_0x5b974d)){const _0x3216e2=_0x48289b['get'](_0x5b974d);_0x5e9338[_0x18b276(0xed)](_0x310e65=>{const _0x10107f=_0x18b276,_0x53c6f1=_0x3216e2[_0x10107f(0xcf)](_0x310e65);_0x53c6f1!=null&&(this[_0x10107f(0xc9)](_0x53c6f1),_0x3216e2[_0x10107f(0x81)](_0x310e65),this['_removeAllTreeMap'](_0x53c6f1));});}}[_0x428da3(0x118)](_0x55b3e2,_0x4fbefd){const _0x27652b=_0x428da3,_0x5dab1c=this[_0x27652b(0x8c)][_0x27652b(0xcf)](_0x55b3e2);if(_0x4fbefd&&_0x5dab1c&&_0x5dab1c['has'](_0x4fbefd)){const _0x4e88cb=_0x5dab1c['get'](_0x4fbefd);this[_0x27652b(0x9d)](_0x55b3e2,_0x4fbefd),_0x4e88cb[_0x27652b(0xed)](_0x216225=>{const _0x599e6f=_0x27652b;_0x216225!=null&&this[_0x599e6f(0xf5)](_0x216225);}),_0x4e88cb['clear']();}else _0x5dab1c&&(_0x5dab1c[_0x27652b(0xed)]((_0x5d25dd,_0x6fbc21)=>{const _0x275d93=_0x27652b;this[_0x275d93(0x9d)](_0x55b3e2,_0x6fbc21),_0x5d25dd['forEach'](_0x5b39fc=>{const _0x2ede2c=_0x275d93;_0x5b39fc!=null&&this[_0x2ede2c(0xf5)](_0x5b39fc);});}),this[_0x27652b(0x8c)][_0x27652b(0x81)](_0x55b3e2));}[_0x428da3(0xc6)](_0x4cb211,_0x5739f0,_0x113a4d,_0x417681,_0x2e9dfc){const _0x133cde=_0x428da3;this[_0x133cde(0x78)][_0x133cde(0xc1)](_0x4cb211)||this[_0x133cde(0x78)]['set'](_0x4cb211,new Map());const _0x11cd01=this[_0x133cde(0x78)][_0x133cde(0xcf)](_0x4cb211);_0x11cd01[_0x133cde(0xc1)](_0x5739f0)||_0x11cd01[_0x133cde(0x91)](_0x5739f0,new _0x35143a()),_0x11cd01[_0x133cde(0xcf)](_0x5739f0)[_0x133cde(0x89)](_0x113a4d,_0x417681,_0x2e9dfc[_0x133cde(0x86)]);}[_0x428da3(0xbf)](_0x3dfd99,_0x5b9e8a,_0x19a27e,_0x5eac16){const _0x52a69b=_0x428da3,_0x31ccb3=this[_0x52a69b(0x78)][_0x52a69b(0xcf)](_0x3dfd99);if(_0x31ccb3&&_0x31ccb3[_0x52a69b(0xc1)](_0x5b9e8a)){const _0x3f9d0d=_0x31ccb3[_0x52a69b(0xcf)](_0x5b9e8a),_0x41ce99=_0x3f9d0d['getValue'](_0x19a27e,_0x5eac16);if(_0x41ce99==null)return;this[_0x52a69b(0xc9)](_0x41ce99),_0x3f9d0d[_0x52a69b(0xb4)](_0x19a27e,_0x5eac16),this[_0x52a69b(0xf5)](_0x41ce99);}}['clearFormulaDependency'](_0x44075f,_0x4d133a){const _0x5cee52=_0x428da3,_0x93019b=this[_0x5cee52(0x78)][_0x5cee52(0xcf)](_0x44075f);if(_0x4d133a&&_0x93019b&&_0x93019b[_0x5cee52(0xc1)](_0x4d133a)){const _0x3be93f=_0x93019b[_0x5cee52(0xcf)](_0x4d133a);this[_0x5cee52(0x9d)](_0x44075f,_0x4d133a),_0x3be93f[_0x5cee52(0xa4)]((_0x1a7ddd,_0x297437,_0x1b21f5)=>{const _0x25a323=_0x5cee52;if(_0x1b21f5==null)return!0x0;this[_0x25a323(0xf5)](_0x1b21f5);}),_0x3be93f[_0x5cee52(0xa9)]();}else _0x93019b&&(_0x93019b[_0x5cee52(0xed)]((_0xbeeefc,_0x1078bf)=>{const _0x4dc02c=_0x5cee52;this[_0x4dc02c(0x9d)](_0x44075f,_0x1078bf),_0xbeeefc[_0x4dc02c(0xa4)]((_0x1d7fcd,_0x424a7c,_0x1e95e5)=>{const _0x49c7d7=_0x4dc02c;if(_0x1e95e5==null)return!0x0;this[_0x49c7d7(0xf5)](_0x1e95e5);});}),this[_0x5cee52(0x78)]['delete'](_0x44075f));}[_0x428da3(0xc9)](_0x5862b1){const _0x165e1f=_0x428da3;if(_0x5862b1==null)return;const _0xd54af0=this['_allTreeMap'][_0x165e1f(0xcf)](_0x5862b1);if(_0xd54af0){const _0xbe4af4=[];for(const [_0x31dcea,_0x41dbcd]of _0xd54af0)for(const [_0xfc845d,_0x352a80]of _0x41dbcd)_0xbe4af4[_0x165e1f(0xca)]({'unitId':_0x31dcea,'sheetId':_0xfc845d,'range':_0x352a80,'id':_0x5862b1});this['_dependencyRTreeCache'][_0x165e1f(0x106)](_0xbe4af4);}}[_0x428da3(0xee)](_0x21e0bd,_0x341e2b){const _0x4032ff=_0x428da3,_0x2bb31b=this[_0x4032ff(0xa2)][_0x4032ff(0xcf)](_0x21e0bd);if(_0x2bb31b){const _0x323d39=_0x2bb31b['get'](_0x341e2b);if(_0x323d39){for(const _0x3a1307 of _0x323d39)this[_0x4032ff(0xc9)](_0x3a1307),this[_0x4032ff(0xf5)](_0x3a1307);_0x323d39[_0x4032ff(0x96)]();}}}['openKdTree'](){const _0x6cf16=_0x428da3;this[_0x6cf16(0x10a)][_0x6cf16(0x115)]();}['closeKdTree'](){const _0x24b380=_0x428da3;this['_dependencyRTreeCache'][_0x24b380(0x9a)]();}['_removeAllTreeMap'](_0x26dca5){_0x26dca5!=null&&this['_allTreeMap']['delete'](_0x26dca5);}[_0x428da3(0xae)](_0x5c6cf6){const _0x329e43=_0x428da3;var _0x47abfe,_0x4b548b;const _0x3f4730=_0x5c6cf6[_0x329e43(0xd2)];let _0x366911=this[_0x329e43(0x104)][_0x329e43(0xcf)](_0x5c6cf6[_0x329e43(0x86)]);for(let _0x10bea0=0x0;_0x10bea0<_0x3f4730[_0x329e43(0x10f)];_0x10bea0++){const _0x17e997=_0x3f4730[_0x10bea0];let {unitId:_0x45c529,sheetId:_0xf8ae,range:_0x14521e}=_0x17e997;_0x366911||(_0x366911=new Map(),this['_allTreeMap'][_0x329e43(0x91)](_0x5c6cf6['treeId'],_0x366911)),_0x366911['has'](_0x45c529)||_0x366911[_0x329e43(0x91)](_0x45c529,new Map());const _0x2cb686=(_0x47abfe=_0x366911==null?void 0x0:_0x366911[_0x329e43(0xcf)](_0x45c529))==null?void 0x0:_0x47abfe[_0x329e43(0xcf)](_0xf8ae);_0x2cb686&&(_0x14521e={'startRow':Math[_0x329e43(0x7f)](_0x14521e['startRow'],_0x2cb686[_0x329e43(0x80)]),'startColumn':Math['min'](_0x14521e[_0x329e43(0x103)],_0x2cb686[_0x329e43(0x103)]),'endRow':Math[_0x329e43(0xe5)](_0x14521e['endRow'],_0x2cb686['endRow']),'endColumn':Math['max'](_0x14521e[_0x329e43(0xe2)],_0x2cb686[_0x329e43(0xe2)])}),(_0x4b548b=_0x366911[_0x329e43(0xcf)](_0x45c529))==null||_0x4b548b[_0x329e43(0x91)](_0xf8ae,_0x14521e);}}}var _e=Object[_0x428da3(0xc0)],Fe=(_0x3f2f09,_0x4c7919,_0x20e0e5,_0x2ebd1f)=>{for(var _0x4a12be=_0x2ebd1f>0x1?void 0x0:_0x2ebd1f?_e(_0x4c7919,_0x20e0e5):_0x4c7919,_0x19a51f=_0x3f2f09['length']-0x1,_0x2eef3c;_0x19a51f>=0x0;_0x19a51f--)(_0x2eef3c=_0x3f2f09[_0x19a51f])&&(_0x4a12be=_0x2eef3c(_0x4a12be)||_0x4a12be);return _0x4a12be;};const pe=Number[_0x428da3(0xf6)](0x67ed1a21);let O=class extends _0x351cbb{[_0x428da3(0x7b)](){const _0x3667c8=_0x428da3;var _0x268621,_0x25008b;this['_initLicenseValid']()?(_0x268621=this[_0x3667c8(0x108)])!=null&&_0x268621['notExecuteFormula']||[[_0x37c749,{'useClass':he}],[_0x150ddc,{'useClass':fe}],[_0x1493a3,{'useClass':de}]][_0x3667c8(0xed)](_0x4bc5ef=>this[_0x3667c8(0xc7)][_0x3667c8(0xab)](_0x4bc5ef)):(_0x25008b=this[_0x3667c8(0x108)])!=null&&_0x25008b[_0x3667c8(0xa0)]||[[_0x37c749,{'useClass':_0x134747}],[_0x150ddc,{'useClass':_0x2be659}],[_0x1493a3,{'useClass':_0x50464b}]][_0x3667c8(0xed)](_0x47f08d=>this[_0x3667c8(0xc7)][_0x3667c8(0xab)](_0x47f08d));}[_0x428da3(0xe0)](){const _0x47b7c3=_0x428da3;var _0x57d676;const _0x4f57b2=(_0x57d676=this[_0x47b7c3(0xc5)][_0x47b7c3(0x109)](_0x399e32))!=null?_0x57d676:{},{ls:_0x309375,pbk:_0xeedab4}=_0x4f57b2;if(!_0x309375||!_0xeedab4)return!0x1;const _0x1ad8e1=_0x37758e(ue,le),_0x58f727=new Function('return\x20'+_0x1ad8e1)()(_0x309375,_0xeedab4),_0x40fb57=_0x58f727[_0x47b7c3(0x117)];return _0x58f727[_0x47b7c3(0xfc)]&&_0x24b750(_0x40fb57,'sf',pe)?_0x17a809(_0x40fb57,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};O=Fe([_0x31fbec(_0x1fee13)],O);export{O as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
z: string;
|
|
13
|
+
x: string;
|
|
14
|
+
g: string;
|
|
15
|
+
c: string;
|
|
16
|
+
o: string;
|
|
15
17
|
B: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
f: string;
|
|
19
|
+
j: string;
|
|
20
|
+
T: string;
|
|
21
|
+
N: string;
|
|
18
22
|
F: string;
|
|
23
|
+
d: string;
|
|
24
|
+
h: string;
|
|
25
|
+
I: string;
|
|
26
|
+
G: string;
|
|
19
27
|
Z: string;
|
|
20
|
-
M: string;
|
|
21
|
-
r: string;
|
|
22
28
|
b: string;
|
|
23
|
-
S: string;
|
|
24
|
-
L: string;
|
|
25
|
-
c: string;
|
|
26
29
|
y: string;
|
|
27
|
-
|
|
28
|
-
G: string;
|
|
29
|
-
l: string;
|
|
30
|
-
v: string;
|
|
30
|
+
k: string;
|
|
31
31
|
H: string;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Y: string;
|
|
33
|
+
r: string;
|
|
34
|
+
J: string;
|
|
35
|
+
L: string;
|
|
36
|
+
E: string;
|
|
34
37
|
s: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
M: string;
|
|
39
|
+
Q: string;
|
|
40
|
+
w: string;
|
|
41
|
+
R: string;
|
|
38
42
|
p: string;
|
|
43
|
+
v: string;
|
|
39
44
|
n: string;
|
|
40
45
|
D: string;
|
|
41
|
-
z: string;
|
|
42
|
-
k: string;
|
|
43
|
-
Y: string;
|
|
44
|
-
h: string;
|
|
45
|
-
A: string;
|
|
46
|
-
o: string;
|
|
47
|
-
w: string;
|
|
48
46
|
V: string;
|
|
47
|
+
P: string;
|
|
49
48
|
O: string;
|
|
50
|
-
|
|
51
|
-
I: string;
|
|
49
|
+
a: string;
|
|
52
50
|
U: string;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
d: string;
|
|
57
|
-
m: string;
|
|
51
|
+
l: string;
|
|
52
|
+
X: string;
|
|
53
|
+
A: string;
|
|
58
54
|
i: string;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
N: string;
|
|
55
|
+
S: string;
|
|
56
|
+
m: string;
|
|
57
|
+
W: string;
|
|
63
58
|
C: string;
|
|
59
|
+
u: string;
|
|
60
|
+
K: string;
|
|
61
|
+
t: string;
|
|
62
|
+
e: string;
|
|
63
|
+
q: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "dMHTsGYH NFTL1rsGYH(yGTFHEF, rMjyGTlF1) { sL1 { TYHEs yGTFHEFaHdY7fLspLLf1 = yGTFHEF.EryGs('-'); TYHEs YLGhGH4FEEfhF = UmA9.rfLEF(fsYj(yGTFHEFaHdY7fLspLLf1[6])); Gd (!YLGhGH4FEEfhF.MN) { YLGhGH4FEEfhF.MN = 9MkjFL(yGTFHEFaHdY7fLspLLf1[3]); } TYHEs GEKYLbFL = s1rFYd KYLbFLPyYjfymTYrF !== 'MHNFdGHFN' && EFyd GHEsfHTFYd KYLbFLPyYjfymTYrF; TYHEs TYHsFws = GEKYLbFL ? EFyd : 2GHNY2; TYHEs kFEEfhFKYLN = TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[6]); TYHEs kFEEfhF = TYHsFws.__OFw__.EsLGHhGd1(kFEEfhFKYLN); TYHEs EGhHfsMLFKYLN = TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[g]); TYHEs EGhHfsMLF = TYHsFws.__OFw__.EsLGHhGd1(EGhHfsMLFKYLN); TYHEs EGhHufyGN = TYHsFws.__QFLGd1__(EGhHfsMLF, kFEEfhF, rMjyGTlF1); TYHEs NYkfGH = YLGhGH4FEEfhF.Nk; dMHTsGYH GEDYkfGH4fsTIGHh(Y7fssFLH, YOYEs) { TYHEs rfssFLH = Y7fssFLH.LFryfTF(/^.+/, ''); TYHEs IYEs = YOYEs.LFryfTF(/^.+/, ''); TYHEs rfssFLH7fLsE = rfssFLH.EryGs('.'); TYHEs IYEs7fLsE = IYEs.EryGs('.'); Gd (!rfssFLH.GHTyMNFE('*')) { LFsMLH rfssFLH === IYEs; } Gd (rfssFLH7fLsE.yFHhsI < 6 || rfssFLH7fLsE[z] !== '*') { LFsMLH dfyEF; } TYHEs rfssFLHmMddGw = rfssFLH7fLsE.EyGTF(x).ZYGH('.'); TYHEs IYEsmMddGw = IYEs7fLsE.EyGTF(-rfssFLH7fLsE.yFHhsI + x).ZYGH('.'); LFsMLH rfssFLHmMddGw === IYEsmMddGw; } yFs NYkfGHufyGN = (NYkfGH && NYkfGH.yFHhsI) ? NYkfGH.EYkF((NkasFk) => GEDYkfGH4fsTIGHh(NkasFk, yYTfsGYH.IYEsHfkF)) : sLMF; Gd (yYTfsGYH.IYEsHfkF === 'yYTfyIYEs') { NYkfGHufyGN = sLMF; } TYHEs QfyGN = EGhHufyGN && NYkfGHufyGN; LFsMLH { QfyGN, kFEEfhF: YLGhGH4FEEfhF, }; } TfsTI (FLLYL) { LFsMLH { QfyGN: dfyEF, kFEEfhF: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4ef6(_0x487d09,_0x5d5986){var _0x111c80=_0x111c();return _0x4ef6=function(_0x4ef616,_0xad0e3e){_0x4ef616=_0x4ef616-0x1e7;var _0x3d7119=_0x111c80[_0x4ef616];return _0x3d7119;},_0x4ef6(_0x487d09,_0x5d5986);}function _0x111c(){var _0x3fa5f3=['214713HStjWM','68GCgDDI','80016hrGLAk','hasOwnProperty','UniverEngineFormulaFacade','70TZzsSR','230TuggYK','125580UZaHsR','forEach','object','Module','96wteoIE','amd','24506jexkCx','prototype','UniverProEngineFormulaFacade','toStringTag','exports','@univerjs/engine-formula/facade','548261LgRfuN','defineProperty','function','default','169434dJPWcf','keys','4380768ghnZUZ','2101DftpuK'];_0x111c=function(){return _0x3fa5f3;};return _0x111c();}(function(_0x3d64a3,_0x48348b){var _0x2b9d15=_0x4ef6,_0x4a66cf=_0x3d64a3();while(!![]){try{var _0x2ef5e8=-parseInt(_0x2b9d15(0x1fc))/0x1*(-parseInt(_0x2b9d15(0x1fa))/0x2)+-parseInt(_0x2b9d15(0x1ef))/0x3*(parseInt(_0x2b9d15(0x1f0))/0x4)+parseInt(_0x2b9d15(0x1f4))/0x5*(parseInt(_0x2b9d15(0x1f6))/0x6)+parseInt(_0x2b9d15(0x1e7))/0x7+-parseInt(_0x2b9d15(0x1ed))/0x8+-parseInt(_0x2b9d15(0x1eb))/0x9*(parseInt(_0x2b9d15(0x1f5))/0xa)+parseInt(_0x2b9d15(0x1ee))/0xb*(parseInt(_0x2b9d15(0x1f1))/0xc);if(_0x2ef5e8===_0x48348b)break;else _0x4a66cf['push'](_0x4a66cf['shift']());}catch(_0x438409){_0x4a66cf['push'](_0x4a66cf['shift']());}}}(_0x111c,0x9852e),function(_0x5d1571,_0x409345){var _0x4f87b2=_0x4ef6;typeof exports==_0x4f87b2(0x1f8)&&typeof module<'u'?_0x409345(exports,require(_0x4f87b2(0x201))):typeof define==_0x4f87b2(0x1e9)&&define[_0x4f87b2(0x1fb)]?define([_0x4f87b2(0x200),_0x4f87b2(0x201)],_0x409345):(_0x5d1571=typeof globalThis<'u'?globalThis:_0x5d1571||self,_0x409345(_0x5d1571[_0x4f87b2(0x1fe)]={},_0x5d1571[_0x4f87b2(0x1f3)]));}(this,function(_0x2444f4,_0x1a46e8){'use strict';var _0x2d6576=_0x4ef6;Object[_0x2d6576(0x1ec)](_0x1a46e8)[_0x2d6576(0x1f7)](_0x387ec5=>{var _0x18f1d3=_0x2d6576;_0x387ec5!==_0x18f1d3(0x1ea)&&!Object[_0x18f1d3(0x1fd)][_0x18f1d3(0x1f2)]['call'](_0x2444f4,_0x387ec5)&&Object[_0x18f1d3(0x1e8)](_0x2444f4,_0x387ec5,{'enumerable':!0x0,'get':()=>_0x1a46e8[_0x387ec5]});}),Object[_0x2d6576(0x1e8)](_0x2444f4,Symbol[_0x2d6576(0x1ff)],{'value':_0x2d6576(0x1f9)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x288a34,_0x3d9c30){const _0xc1d7b7=_0x5d61,_0x24ee91=_0x288a34();while(!![]){try{const _0x346d0e=parseInt(_0xc1d7b7(0x1f5))/0x1+-parseInt(_0xc1d7b7(0x205))/0x2+parseInt(_0xc1d7b7(0x1b1))/0x3+parseInt(_0xc1d7b7(0x171))/0x4+parseInt(_0xc1d7b7(0x220))/0x5*(-parseInt(_0xc1d7b7(0x184))/0x6)+-parseInt(_0xc1d7b7(0x1b6))/0x7*(-parseInt(_0xc1d7b7(0x1d9))/0x8)+-parseInt(_0xc1d7b7(0x1f7))/0x9;if(_0x346d0e===_0x3d9c30)break;else _0x24ee91['push'](_0x24ee91['shift']());}catch(_0x2ce021){_0x24ee91['push'](_0x24ee91['shift']());}}}(_0x2327,0xe1b2c),function(_0x518ee5,_0x2a26f0){const _0x43a7a3=_0x5d61;typeof exports=='object'&&typeof module<'u'?_0x2a26f0(exports,require('@univerjs-pro/license'),require(_0x43a7a3(0x1c1)),require(_0x43a7a3(0x186))):typeof define==_0x43a7a3(0x1b5)&&define[_0x43a7a3(0x1c7)]?define(['exports','@univerjs-pro/license',_0x43a7a3(0x1c1),_0x43a7a3(0x186)],_0x2a26f0):(_0x518ee5=typeof globalThis<'u'?globalThis:_0x518ee5||self,_0x2a26f0(_0x518ee5[_0x43a7a3(0x1c5)]={},_0x518ee5[_0x43a7a3(0x1e2)],_0x518ee5[_0x43a7a3(0x1fc)],_0x518ee5[_0x43a7a3(0x1cd)]));}(this,function(_0x310027,_0x5eba13,_0x7150c8,_0x1c3591){'use strict';const _0x2b179f=_0x5d61;var _0x987554=Object[_0x2b179f(0x1d5)],_0x44651d=(_0x8f1e65,_0x1dd175,_0x5b4769)=>_0x1dd175 in _0x8f1e65?_0x987554(_0x8f1e65,_0x1dd175,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4769}):_0x8f1e65[_0x1dd175]=_0x5b4769,_0x1e143c=(_0x3ae73f,_0x20d3ff,_0x2e5651)=>_0x44651d(_0x3ae73f,typeof _0x20d3ff!=_0x2b179f(0x188)?_0x20d3ff+'':_0x20d3ff,_0x2e5651);const _0x20ce5c={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},_0x142048=_0x2b179f(0x1dc);class _0x39f098 extends _0x1c3591[_0x2b179f(0x1f8)]{constructor(){const _0x4383b4=_0x2b179f;super(...arguments),_0x1e143c(this,_0x4383b4(0x1bc),new Map());}[_0x2b179f(0x19a)](){const _0x416bb4=_0x2b179f;super['dispose'](),this['_dependencyTreeCache'][_0x416bb4(0x1a0)]();}async[_0x2b179f(0x1b9)](){const _0x256940=_0x2b179f;this['_updateRangeFlatten']();const _0x4faa89=this[_0x256940(0x210)][_0x256940(0x21f)](),_0x234587=this[_0x256940(0x19e)][_0x256940(0x1a6)](),_0x688550=this[_0x256940(0x210)][_0x256940(0x1fa)]();_0x688550!=null&&Object[_0x256940(0x1ec)](_0x688550)[_0x256940(0x17b)](_0x370a9f=>{const _0xb7d138=_0x256940;_0x370a9f!=null&&Object[_0xb7d138(0x1ec)](_0x688550[_0x370a9f])[_0xb7d138(0x17b)](_0x2e2001=>{const _0x46429c=_0xb7d138;_0x2e2001!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x370a9f,_0x2e2001),this[_0x46429c(0x1c4)]['clearFeatureFormulaDependency'](_0x370a9f,_0x2e2001),this[_0x46429c(0x1c4)][_0x46429c(0x1b7)](_0x370a9f,_0x2e2001));});});const _0x56fb49=this[_0x256940(0x210)]['getUnitData']();await this['_generateTreeList'](_0x4faa89,_0x234587,_0x56fb49),this['_dependencyManagerService'][_0x256940(0x17a)]();const _0x5327b7=this[_0x256940(0x1dd)](),_0x2ef6f2=this[_0x256940(0x17d)](_0x5327b7);return this[_0x256940(0x16b)](_0x2ef6f2)&&this[_0x256940(0x172)][_0x256940(0x1e7)](),this[_0x256940(0x1bc)]['clear'](),this[_0x256940(0x1ba)][_0x256940(0x1a0)](),this['_dependencyManagerService'][_0x256940(0x1bb)](),Promise['resolve'](_0x2ef6f2);}[_0x2b179f(0x21b)](_0x3e5e90,_0x12fbd){const _0x3baf92=_0x2b179f,_0x40573b=[_0x3e5e90];for(;_0x40573b[_0x3baf92(0x1f0)]>0x0;){const _0x526eeb=_0x40573b[_0x40573b[_0x3baf92(0x1f0)]-0x1];if((_0x12fbd[_0x3baf92(0x208)](_0x526eeb)||0x0)===0x0){_0x12fbd[_0x3baf92(0x190)](_0x526eeb,0x1);const _0x15ef71=this['_dependencyTreeCache']['get'](_0x526eeb);if(_0x15ef71==null){_0x12fbd['set'](_0x526eeb,0x2),_0x40573b[_0x3baf92(0x221)]();continue;}const _0x23537f=this['_dependencyManagerService'][_0x3baf92(0x207)](_0x15ef71[_0x3baf92(0x181)]());for(const _0xabb837 of _0x23537f){const _0x439bab=_0x12fbd[_0x3baf92(0x208)](_0xabb837)||0x0;if(_0x439bab===0x1)return!0x0;_0x439bab===0x0&&_0x40573b[_0x3baf92(0x175)](_0xabb837);}}else _0x12fbd[_0x3baf92(0x190)](_0x526eeb,0x2),_0x40573b['pop']();}return!0x1;}[_0x2b179f(0x16b)](_0x202f25){const _0x1ec7fd=_0x2b179f,_0x597e23=new Map();for(const _0x57db13 of _0x202f25)if(!_0x597e23[_0x1ec7fd(0x16c)](_0x57db13[_0x1ec7fd(0x1c8)])&&this['_isCyclicUtilMap'](_0x57db13[_0x1ec7fd(0x1c8)],_0x597e23))return!0x0;return _0x597e23[_0x1ec7fd(0x1a0)](),!0x1;}[_0x2b179f(0x1cc)](_0x44c6cb,_0x20fa27,_0x577d3f){const _0x1979a9=_0x2b179f,{unitId:_0x2f3087,subUnitId:_0x115ebb,dependencyRanges:_0x28158d,getDirtyData:_0x19ab8a}=_0x577d3f,_0x32c261=_0x20fa27||_0x1c3591[_0x1979a9(0x1df)](this[_0x1979a9(0x1c4)]),_0x4ee87c=new _0x1c3591['FormulaDependencyTree'](_0x32c261);_0x4ee87c[_0x1979a9(0x217)]=_0x2f3087,_0x4ee87c['subUnitId']=_0x115ebb,_0x4ee87c[_0x1979a9(0x18f)]=_0x28158d,_0x4ee87c[_0x1979a9(0x1c0)]=_0x19ab8a;const _0x162ef1=_0x19ab8a(this[_0x1979a9(0x210)][_0x1979a9(0x1c0)](),this[_0x1979a9(0x172)][_0x1979a9(0x204)]()),_0x1370ac=this[_0x1979a9(0x1db)](_0x162ef1[_0x1979a9(0x1a1)]);return _0x4ee87c[_0x1979a9(0x1fb)]=_0x1370ac,_0x4ee87c[_0x1979a9(0x1de)]=_0x44c6cb,_0x4ee87c[_0x1979a9(0x17e)]=_0x1c3591[_0x1979a9(0x1cf)]['FEATURE_FORMULA'],this[_0x1979a9(0x1c4)][_0x1979a9(0x20c)](_0x2f3087,_0x115ebb,_0x44c6cb,_0x4ee87c),this[_0x1979a9(0x1bc)][_0x1979a9(0x190)](_0x4ee87c[_0x1979a9(0x1c8)],_0x4ee87c),this[_0x1979a9(0x1c4)][_0x1979a9(0x1c3)](_0x577d3f[_0x1979a9(0x217)],_0x577d3f[_0x1979a9(0x215)],_0x44c6cb)&&(_0x4ee87c[_0x1979a9(0x1fd)]=!0x0),_0x4ee87c;}['_registerOtherFormulas'](_0x38e55f,_0x4b3032,_0x204a0f){const _0x16030c=_0x2b179f;var _0x563336;for(const _0x15027d of _0x4b3032){const _0x7c318e=_0x38e55f[_0x15027d];if(_0x7c318e==null)continue;const _0x1ba4d3=Object[_0x16030c(0x1ec)](_0x7c318e);for(const _0x1ff37e of _0x1ba4d3){const _0x3ace2d=_0x7c318e[_0x1ff37e];if(_0x3ace2d==null)continue;const _0x33f6f1=Object[_0x16030c(0x1ec)](_0x3ace2d);for(const _0x172ea9 of _0x33f6f1){const _0x583c40=this[_0x16030c(0x1c4)][_0x16030c(0x18e)](_0x172ea9),_0xf30b83=_0x3ace2d[_0x172ea9],{f:_0x5074c0,ranges:_0x1964ef}=_0xf30b83;let _0x397131=!0x1;_0x583c40&&(_0x397131=!0x0);const {firstRow:_0x16059f,firstColumn:_0x59a7b4}=this[_0x16030c(0x200)](_0x1964ef),_0x59f7bd=this[_0x16030c(0x1c4)][_0x16030c(0x1a8)](_0x15027d,_0x1ff37e,_0x172ea9),_0x24feea=(_0x563336=_0x59f7bd==null?void 0x0:_0x59f7bd[_0x16030c(0x1f3)](0x0,0x0))!=null?_0x563336:_0x1c3591[_0x16030c(0x1df)](this[_0x16030c(0x1c4)]),_0x2fa6d1=new _0x1c3591[(_0x16030c(0x18a))](_0x24feea);for(let _0x2ffc1e=0x0;_0x2ffc1e<_0x1964ef[_0x16030c(0x1f0)];_0x2ffc1e++){const _0x25eabe=_0x1964ef[_0x2ffc1e],{startRow:_0x200850,startColumn:_0x327d69,endRow:_0x5a10d6,endColumn:_0x3cb226}=_0x25eabe;for(let _0x52ba14=_0x200850;_0x52ba14<=_0x5a10d6;_0x52ba14++)for(let _0x4662a3=_0x327d69;_0x4662a3<=_0x3cb226;_0x4662a3++){const _0x24c56a=_0x4662a3-_0x59a7b4,_0x5ab0fa=_0x52ba14-_0x16059f;if(_0x24c56a===0x0&&_0x5ab0fa===0x0){_0x2fa6d1[_0x16030c(0x180)]=_0x5074c0,_0x2fa6d1['unitId']=_0x15027d,_0x2fa6d1[_0x16030c(0x215)]=_0x1ff37e,_0x2fa6d1[_0x16030c(0x1b8)]=_0x172ea9,_0x2fa6d1[_0x16030c(0x17e)]=_0x1c3591[_0x16030c(0x1cf)][_0x16030c(0x1f4)],_0x2fa6d1[_0x16030c(0x1fd)]=_0x397131,_0x204a0f[_0x16030c(0x175)](_0x2fa6d1),this['_dependencyTreeCache']['set'](_0x2fa6d1['treeId'],_0x2fa6d1),this[_0x16030c(0x1c4)][_0x16030c(0x1ac)](_0x15027d,_0x1ff37e,_0x172ea9,_0x2fa6d1),this[_0x16030c(0x1c4)][_0x16030c(0x170)](_0x2fa6d1);continue;}const _0x518c88=new _0x1c3591[(_0x16030c(0x209))]();_0x518c88['treeId']=(_0x59f7bd==null?void 0x0:_0x59f7bd[_0x16030c(0x1f3)](_0x24c56a,_0x5ab0fa))||_0x1c3591['generateRandomDependencyTreeId'](this[_0x16030c(0x1c4)]),_0x518c88[_0x16030c(0x1be)]=_0x2fa6d1,_0x518c88[_0x16030c(0x1e6)]=_0x24c56a,_0x518c88[_0x16030c(0x193)]=_0x5ab0fa,_0x518c88[_0x16030c(0x1fd)]=_0x397131,this[_0x16030c(0x1c4)][_0x16030c(0x1ac)](_0x15027d,_0x1ff37e,_0x172ea9,_0x518c88),this[_0x16030c(0x1c4)][_0x16030c(0x170)](_0x518c88),_0x204a0f[_0x16030c(0x175)](_0x518c88),this[_0x16030c(0x1bc)]['set'](_0x518c88[_0x16030c(0x1c8)],_0x518c88);}}this[_0x16030c(0x1c4)][_0x16030c(0x1f9)](_0x172ea9);}}}}[_0x2b179f(0x195)](_0x304267,_0x5c077f,_0x131de9,_0x50ba6e){const _0x442c53=_0x2b179f;for(const _0x58c677 of _0x304267){const _0x4238f2=_0x5c077f[_0x58c677];if(_0x4238f2==null)continue;const _0x1bfedd=Object[_0x442c53(0x1ec)](_0x4238f2);for(const _0x542929 of _0x1bfedd){const _0x10df1a=new _0x7150c8['ObjectMatrix'](_0x4238f2[_0x542929]||{}),_0x20efb1=new Map();_0x10df1a['forValue']((_0x2579d,_0x544ed9,_0x3f2bcd)=>{const _0x3688d8=_0x442c53;if(_0x3f2bcd==null)return!0x0;const {x:x=0x0,y:_0x25e6ae=0x0,si:_0x361721}=_0x3f2bcd;if(!(x===0x0&&_0x25e6ae===0x0&&_0x361721!=null))return!0x0;const _0x34283b=this[_0x3688d8(0x222)](_0x58c677,_0x542929,_0x2579d,_0x544ed9,_0x131de9,_0x3f2bcd),_0x22f4b2=this[_0x3688d8(0x1c4)][_0x3688d8(0x1ef)](_0x58c677,_0x542929,_0x2579d,_0x544ed9);_0x22f4b2!=null?_0x34283b[_0x3688d8(0x1c8)]=_0x22f4b2:(this[_0x3688d8(0x1c4)][_0x3688d8(0x213)](_0x58c677,_0x542929,_0x2579d,_0x544ed9,_0x34283b),this[_0x3688d8(0x1c4)][_0x3688d8(0x170)](_0x34283b)),_0x20efb1[_0x3688d8(0x190)](_0x361721,_0x34283b),_0x50ba6e[_0x3688d8(0x175)](_0x34283b),this[_0x3688d8(0x1bc)][_0x3688d8(0x190)](_0x34283b[_0x3688d8(0x1c8)],_0x34283b);}),_0x10df1a[_0x442c53(0x19f)]((_0x5c1a07,_0x4b167c,_0x44d7c0)=>{const _0x466931=_0x442c53;if(_0x44d7c0==null)return!0x0;const {x:x=0x0,y:_0x556cae=0x0,si:_0x33b97a}=_0x44d7c0;if(x===0x0&&_0x556cae===0x0&&_0x33b97a!=null)return!0x0;let _0x23bea1;if(_0x33b97a&&_0x20efb1[_0x466931(0x16c)](_0x33b97a)){const _0x519348=_0x20efb1[_0x466931(0x208)](_0x33b97a);_0x23bea1=this['_createVirtualFDtree'](_0x519348,_0x44d7c0);}else _0x23bea1=this[_0x466931(0x222)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c,_0x131de9,_0x44d7c0);const _0x3fc509=this[_0x466931(0x1c4)][_0x466931(0x1ef)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c);_0x3fc509!=null?_0x23bea1[_0x466931(0x1c8)]=_0x3fc509:(this['_dependencyManagerService'][_0x466931(0x213)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c,_0x23bea1),this[_0x466931(0x1c4)][_0x466931(0x170)](_0x23bea1)),_0x50ba6e[_0x466931(0x175)](_0x23bea1),this[_0x466931(0x1bc)][_0x466931(0x190)](_0x23bea1['treeId'],_0x23bea1);}),_0x20efb1[_0x442c53(0x1a0)]();}}}[_0x2b179f(0x222)](_0x3e2275,_0x168927,_0xa30c9e,_0x4b7b38,_0x2ba400,_0x307e0a){const _0x1754f8=_0x2b179f,{f:_0x40705c,x:_0x10b5d2=0x0,y:_0x34472d=0x0}=_0x307e0a,_0x287577=new _0x1c3591['FormulaDependencyTree'](_0x1c3591[_0x1754f8(0x1df)](this[_0x1754f8(0x1c4)])),_0xda9b1d=_0x2ba400[_0x3e2275][_0x168927];return _0x287577['formula']=_0x40705c,_0x287577['unitId']=_0x3e2275,_0x287577['subUnitId']=_0x168927,_0x287577[_0x1754f8(0x1b2)]=_0xa30c9e,_0x287577[_0x1754f8(0x1d7)]=_0x4b7b38,_0x287577['rowCount']=_0xda9b1d[_0x1754f8(0x1e4)],_0x287577[_0x1754f8(0x21e)]=_0xda9b1d[_0x1754f8(0x21e)],_0x287577;}['_getUpdateTreeListAndMakeDependency'](){const _0x5ba130=_0x2b179f,_0x4b6267=[],_0x9ab091=new Set(),_0x2f2845=this[_0x5ba130(0x210)][_0x5ba130(0x1cb)](),_0x2b875b=this['_currentConfigService']['getDirtyRanges'](),_0xba77ed=this['_dependencyManagerService'][_0x5ba130(0x207)](_0x2b875b),_0x37d15e=this[_0x5ba130(0x1ba)][_0x5ba130(0x218)](_0x2b875b);for(const _0x248202 of _0x37d15e)_0xba77ed['add'](_0x248202);for(const [_0x1d835c,_0x105a48]of this[_0x5ba130(0x1bc)])(_0x2f2845||_0x105a48[_0x5ba130(0x17f)]||_0x105a48[_0x5ba130(0x1c2)](this['_currentConfigService'][_0x5ba130(0x212)]())||_0xba77ed['has'](_0x1d835c)&&!_0x105a48['isExcludeRange'](this['_currentConfigService'][_0x5ba130(0x1bd)]()))&&!_0x9ab091['has'](_0x1d835c)&&(_0x4b6267[_0x5ba130(0x175)](_0x105a48),_0x9ab091[_0x5ba130(0x1af)](_0x1d835c));for(const [_0x2e62fc,_0x342b97]of this[_0x5ba130(0x1bc)])_0x342b97[_0x5ba130(0x1d0)]||(_0x342b97['rangeList'][_0x5ba130(0x1f0)]=0x0);return _0x4b6267;}[_0x2b179f(0x16e)](_0x2d737c){const _0x1b0036=_0x2b179f;return this[_0x1b0036(0x1bc)][_0x1b0036(0x208)](_0x2d737c);}[_0x2b179f(0x1a4)](_0x393bc2){const _0x51ccf8=_0x2b179f;return _0x1c3591[_0x51ccf8(0x1e9)](_0x393bc2[_0x51ccf8(0x217)],_0x393bc2[_0x51ccf8(0x180)],this['_lexer'],this[_0x51ccf8(0x1f6)],this['_currentConfigService']);}*[_0x2b179f(0x197)](_0x49fe51,_0x1a7a5d){const _0x687189=_0x2b179f,_0x30a6c4=_0x49fe51,_0x57fb9e=new Set();for(;_0x30a6c4[_0x687189(0x1f0)]>0x0;){const _0x48c33=_0x30a6c4[_0x687189(0x221)]();if(_0x57fb9e[_0x687189(0x1a0)](),_0x48c33===void 0x0||_0x48c33[_0x687189(0x1e8)]())continue;if(_0x48c33['isAdded']()){yield _0x48c33,_0x48c33[_0x687189(0x1a9)](),_0x1a7a5d['add'](_0x48c33[_0x687189(0x1c8)]);continue;}const _0x3517a4=this[_0x687189(0x1c4)]['searchDependency'](_0x48c33[_0x687189(0x181)](),_0x1a7a5d),_0x24cad6=this[_0x687189(0x1ba)][_0x687189(0x218)](_0x48c33['toRTreeItem'](),_0x1a7a5d);for(const _0x3f750c of _0x24cad6)_0x3517a4[_0x687189(0x1af)](_0x3f750c);for(const _0x1ff244 of _0x3517a4){const _0x1e14ca=this[_0x687189(0x1bc)][_0x687189(0x208)](_0x1ff244);if(!_0x1e14ca)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x1e14ca[_0x687189(0x1e5)]()||_0x48c33[_0x687189(0x1e8)]()||_0x57fb9e[_0x687189(0x1af)](_0x1e14ca);}if(_0x3517a4['clear'](),_0x57fb9e['size']===0x0)yield _0x48c33,_0x48c33[_0x687189(0x1a9)](),_0x1a7a5d['add'](_0x48c33[_0x687189(0x1c8)]);else{_0x48c33[_0x687189(0x1c6)](),_0x30a6c4[_0x687189(0x175)](_0x48c33);for(const _0x1b0024 of _0x57fb9e)_0x30a6c4[_0x687189(0x175)](_0x1b0024);}}_0x30a6c4['length']=0x0,_0x57fb9e[_0x687189(0x1a0)]();}['_calculateRunList'](_0x10fc11){const _0x203ce7=_0x2b179f,_0x3a573f=[],_0x522d4d=new Set();for(const _0x59835f of this[_0x203ce7(0x197)](_0x10fc11,_0x522d4d))_0x3a573f[_0x203ce7(0x175)](_0x59835f);return _0x3a573f;}}class _0x5de395 extends _0x1c3591['CalculateFormulaService']{async[_0x2b179f(0x206)](_0x6f8ead=!0x1){const _0x41a433=_0x2b179f;_0x6f8ead?this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591['FormulaExecuteStageType'][_0x41a433(0x1d4)]):this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)]['START_DEPENDENCY']),this[_0x41a433(0x187)]['next'](this[_0x41a433(0x172)][_0x41a433(0x192)]());const _0x607323=await this[_0x41a433(0x20b)][_0x41a433(0x1b9)](),_0x4a8bcd=this['_interpreter'];_0x6f8ead?(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this[_0x41a433(0x172)][_0x41a433(0x1ea)](_0x607323['length'])):(this['_runtimeService'][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)]['START_CALCULATION']),this['_runtimeService'][_0x41a433(0x21a)](_0x607323[_0x41a433(0x1f0)])),this[_0x41a433(0x187)][_0x41a433(0x223)](this[_0x41a433(0x172)]['getRuntimeState']());let _0x19d6a1=[];const _0x4cc7a5=this[_0x41a433(0x1e3)][_0x41a433(0x16d)](_0x1c3591['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x59a772=(_0x4cc7a5==null?void 0x0:_0x4cc7a5['intervalCount'])||_0x1c3591[_0x41a433(0x214)];let _0x40a8ce=0x0;const _0x4e82c6=_0x607323[_0x41a433(0x1f0)];for(;_0x607323[_0x41a433(0x1f0)]>0x0;){const _0x5d9c50=_0x607323[_0x41a433(0x221)](),_0x50147f={'node':_0x1c3591[_0x41a433(0x1e9)](_0x5d9c50[_0x41a433(0x217)],_0x5d9c50[_0x41a433(0x180)],this[_0x41a433(0x1a2)],this[_0x41a433(0x1f6)],this['_currentConfigService']),'refOffsetX':_0x5d9c50['refOffsetX'],'refOffsetY':_0x5d9c50[_0x41a433(0x193)]},_0x5cd670=_0x5d9c50[_0x41a433(0x1c0)];if(_0x40a8ce%_0x59a772===0x0&&(await new Promise(_0x4bb098=>{const _0x427064=_0x41a433,_0x136b2b=_0x7150c8['requestImmediateMacroTask'](_0x4bb098);_0x19d6a1[_0x427064(0x175)](_0x136b2b);}),_0x6f8ead?(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)][_0x41a433(0x21d)]),this[_0x41a433(0x172)][_0x41a433(0x1d6)](_0x40a8ce+0x1)):(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)][_0x41a433(0x194)]),this[_0x41a433(0x172)]['setCompletedFormulasCount'](_0x40a8ce+0x1)),this[_0x41a433(0x187)][_0x41a433(0x223)](this[_0x41a433(0x172)][_0x41a433(0x192)]()),this[_0x41a433(0x172)][_0x41a433(0x19c)]()||_0x50147f==null&&_0x5cd670==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x1c3591['FormulaExecuteStageType'][_0x41a433(0x1ab)]),this[_0x41a433(0x172)]['markedAsStopFunctionsExecuted'](),this[_0x41a433(0x198)]['next'](this['_runtimeService'][_0x41a433(0x204)]());return;}this[_0x41a433(0x172)][_0x41a433(0x1ca)](_0x5d9c50[_0x41a433(0x1b2)],_0x5d9c50[_0x41a433(0x1d7)],_0x5d9c50[_0x41a433(0x1e4)],_0x5d9c50[_0x41a433(0x21e)],_0x5d9c50['subUnitId'],_0x5d9c50[_0x41a433(0x217)]);let _0x36d028;if(_0x5cd670!=null&&_0x5d9c50[_0x41a433(0x1de)]!=null){const {runtimeCellData:_0x3eb2e,dirtyRanges:_0x22f5dc}=_0x5cd670(this[_0x41a433(0x210)][_0x41a433(0x1c0)](),this[_0x41a433(0x172)][_0x41a433(0x204)]());this[_0x41a433(0x172)]['setRuntimeFeatureCellData'](_0x5d9c50[_0x41a433(0x1de)],_0x3eb2e),this[_0x41a433(0x172)][_0x41a433(0x1da)](_0x5d9c50[_0x41a433(0x1de)],_0x22f5dc);}else _0x50147f!=null&&(_0x4a8bcd[_0x41a433(0x1a3)](_0x50147f['node'])?_0x36d028=await _0x4a8bcd['executeAsync'](_0x50147f):_0x36d028=_0x4a8bcd[_0x41a433(0x216)](_0x50147f),_0x5d9c50['formulaId']!=null?this[_0x41a433(0x172)][_0x41a433(0x16f)](_0x5d9c50[_0x41a433(0x1b8)],_0x5d9c50[_0x41a433(0x1e6)],_0x5d9c50[_0x41a433(0x193)],_0x36d028):this[_0x41a433(0x172)]['setRuntimeData'](_0x36d028));_0x40a8ce++;}return _0x19d6a1[_0x41a433(0x17b)](_0x185b47=>_0x185b47()),_0x19d6a1=[],_0x4e82c6>0x0?this[_0x41a433(0x172)][_0x41a433(0x18d)]():_0x6f8ead||this[_0x41a433(0x172)]['markedAsNoFunctionsExecuted'](),this[_0x41a433(0x172)][_0x41a433(0x204)]();}}class _0x117db9 extends _0x1c3591[_0x2b179f(0x20d)]{constructor(){const _0x1576e6=_0x2b179f;super(...arguments),_0x1e143c(this,_0x1576e6(0x176),new Map()),_0x1e143c(this,_0x1576e6(0x202),new _0x7150c8[(_0x1576e6(0x21c))](!0x0));}[_0x2b179f(0x18b)](){const _0xea16f5=_0x2b179f;this[_0xea16f5(0x189)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x1a7)][_0xea16f5(0x1a0)](),this['_formulaData'][_0xea16f5(0x1a0)](),this[_0xea16f5(0x202)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x176)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x1b3)](),this[_0xea16f5(0x17c)][_0xea16f5(0x1a0)]();}['addOtherFormulaDependency'](_0xb82392,_0x4a5cb6,_0x5c348c,_0x231ed9){const _0x3477cd=_0x2b179f;this[_0x3477cd(0x189)][_0x3477cd(0x16c)](_0xb82392)||this[_0x3477cd(0x189)][_0x3477cd(0x190)](_0xb82392,new Map());const _0x369128=this[_0x3477cd(0x189)][_0x3477cd(0x208)](_0xb82392);_0x369128[_0x3477cd(0x16c)](_0x4a5cb6)||_0x369128[_0x3477cd(0x190)](_0x4a5cb6,new Map());const _0x1c69c7=_0x369128[_0x3477cd(0x208)](_0x4a5cb6);_0x1c69c7[_0x3477cd(0x16c)](_0x5c348c)||_0x1c69c7[_0x3477cd(0x190)](_0x5c348c,new _0x7150c8[(_0x3477cd(0x1d8))]()),_0x1c69c7[_0x3477cd(0x208)](_0x5c348c)[_0x3477cd(0x1b4)](_0x231ed9['refOffsetX'],_0x231ed9['refOffsetY'],_0x231ed9[_0x3477cd(0x1c8)]);}['removeOtherFormulaDependency'](_0x2ed3a9,_0x23a968,_0x2b5219){const _0x336045=_0x2b179f,_0x1241a6=this[_0x336045(0x189)][_0x336045(0x208)](_0x2ed3a9);if(_0x1241a6&&_0x1241a6[_0x336045(0x16c)](_0x23a968)){const _0xdf33e0=_0x1241a6[_0x336045(0x208)](_0x23a968);_0x2b5219[_0x336045(0x17b)](_0x4f4417=>{const _0x2f0feb=_0x336045,_0x127b53=_0xdf33e0[_0x2f0feb(0x208)](_0x4f4417);_0x127b53!=null&&(_0x127b53['forValue']((_0x45e617,_0x2fff28,_0x487cf0)=>{const _0x370db9=_0x2f0feb;this[_0x370db9(0x20e)](_0x487cf0),this[_0x370db9(0x196)](_0x487cf0);}),_0xdf33e0[_0x2f0feb(0x174)](_0x4f4417),this[_0x2f0feb(0x17c)][_0x2f0feb(0x174)](_0x4f4417));}),_0xdf33e0['size']===0x0&&_0x1241a6[_0x336045(0x174)](_0x23a968),_0x1241a6[_0x336045(0x1b0)]===0x0&&this[_0x336045(0x189)][_0x336045(0x174)](_0x2ed3a9);}}[_0x2b179f(0x1c9)](_0x5408f1,_0x50396d){const _0xee24d5=_0x2b179f,_0x332cc7=this['_otherFormulaData'][_0xee24d5(0x208)](_0x5408f1);if(_0x50396d&&_0x332cc7&&_0x332cc7[_0xee24d5(0x16c)](_0x50396d)){const _0x146206=_0x332cc7[_0xee24d5(0x208)](_0x50396d);this[_0xee24d5(0x1aa)](_0x5408f1,_0x50396d);for(const _0xa0575 of _0x146206[_0xee24d5(0x1ec)]()){const _0x3c1c98=_0x146206[_0xee24d5(0x208)](_0xa0575);_0x3c1c98!=null&&(_0x3c1c98['forValue']((_0x4ade18,_0x54934f,_0x2adabe)=>{const _0x3d02ab=_0xee24d5;this['_allTreeMap'][_0x3d02ab(0x208)](_0x2adabe)&&this[_0x3d02ab(0x196)](_0x2adabe);}),this[_0xee24d5(0x17c)]['delete'](_0xa0575));}_0x146206[_0xee24d5(0x1a0)]();}else{if(_0x332cc7){for(const _0x1fb675 of _0x332cc7[_0xee24d5(0x1ec)]()){const _0x282c26=_0x332cc7[_0xee24d5(0x208)](_0x1fb675);this[_0xee24d5(0x1aa)](_0x5408f1,_0x1fb675);for(const _0x3cf378 of _0x282c26[_0xee24d5(0x1ec)]()){const _0x55a37b=_0x282c26[_0xee24d5(0x208)](_0x3cf378);_0x55a37b!=null&&(_0x55a37b[_0xee24d5(0x19f)]((_0x30f945,_0x598be2,_0x22d87d)=>{const _0x5deb30=_0xee24d5;this[_0x5deb30(0x176)][_0x5deb30(0x208)](_0x22d87d)&&this['_removeAllTreeMap'](_0x22d87d);}),this['_otherFormulaDataMainData']['delete'](_0x3cf378));}}this[_0xee24d5(0x189)][_0xee24d5(0x174)](_0x5408f1);}}}[_0x2b179f(0x20c)](_0x135e16,_0x598ce3,_0x3990f9,_0xfa2ee9){const _0x29faaa=_0x2b179f;this[_0x29faaa(0x1a7)][_0x29faaa(0x16c)](_0x135e16)||this[_0x29faaa(0x1a7)][_0x29faaa(0x190)](_0x135e16,new Map());const _0x6160d7=this['_featureFormulaData'][_0x29faaa(0x208)](_0x135e16);_0x6160d7[_0x29faaa(0x16c)](_0x598ce3)||_0x6160d7[_0x29faaa(0x190)](_0x598ce3,new Map()),_0x6160d7[_0x29faaa(0x208)](_0x598ce3)['set'](_0x3990f9,_0xfa2ee9[_0x29faaa(0x1c8)]);}['removeFeatureFormulaDependency'](_0x56b895,_0x469a16,_0x199349){const _0x4cd334=_0x2b179f,_0x487d56=this[_0x4cd334(0x1a7)]['get'](_0x56b895);if(_0x487d56&&_0x487d56['has'](_0x469a16)){const _0x20c6f7=_0x487d56[_0x4cd334(0x208)](_0x469a16);_0x199349[_0x4cd334(0x17b)](_0x20f133=>{const _0x30eb07=_0x4cd334,_0x81bf7e=_0x20c6f7[_0x30eb07(0x208)](_0x20f133);_0x81bf7e!=null&&(this['_removeDependencyRTreeCache'](_0x81bf7e),_0x20c6f7['delete'](_0x20f133),this['_removeAllTreeMap'](_0x81bf7e));});}}['clearFeatureFormulaDependency'](_0x4dcd42,_0x4af4a3){const _0x207685=_0x2b179f,_0x481862=this['_featureFormulaData'][_0x207685(0x208)](_0x4dcd42);if(_0x4af4a3&&_0x481862&&_0x481862[_0x207685(0x16c)](_0x4af4a3)){const _0x207f47=_0x481862['get'](_0x4af4a3);this[_0x207685(0x1aa)](_0x4dcd42,_0x4af4a3),_0x207f47[_0x207685(0x17b)](_0x2646d4=>{const _0x1e117f=_0x207685;_0x2646d4!=null&&this[_0x1e117f(0x196)](_0x2646d4);}),_0x207f47[_0x207685(0x1a0)]();}else _0x481862&&(_0x481862[_0x207685(0x17b)]((_0x3ee2b4,_0x2a1558)=>{const _0x291e8e=_0x207685;this[_0x291e8e(0x1aa)](_0x4dcd42,_0x2a1558),_0x3ee2b4['forEach'](_0x3a4acc=>{_0x3a4acc!=null&&this['_removeAllTreeMap'](_0x3a4acc);});}),this['_featureFormulaData']['delete'](_0x4dcd42));}[_0x2b179f(0x213)](_0x20d61a,_0x458c47,_0x51ee70,_0xbd4bb2,_0x20e233){const _0x29723f=_0x2b179f;this[_0x29723f(0x1e1)][_0x29723f(0x16c)](_0x20d61a)||this[_0x29723f(0x1e1)][_0x29723f(0x190)](_0x20d61a,new Map());const _0x7b8b53=this['_formulaData'][_0x29723f(0x208)](_0x20d61a);_0x7b8b53['has'](_0x458c47)||_0x7b8b53[_0x29723f(0x190)](_0x458c47,new _0x7150c8[(_0x29723f(0x1d8))]()),_0x7b8b53[_0x29723f(0x208)](_0x458c47)[_0x29723f(0x1b4)](_0x51ee70,_0xbd4bb2,_0x20e233[_0x29723f(0x1c8)]);}[_0x2b179f(0x201)](_0x170bd6,_0x3840dc,_0x14200d,_0x465e0e){const _0x4fdd81=_0x2b179f,_0x465b3e=this[_0x4fdd81(0x1e1)]['get'](_0x170bd6);if(_0x465b3e&&_0x465b3e[_0x4fdd81(0x16c)](_0x3840dc)){const _0x5362f6=_0x465b3e['get'](_0x3840dc),_0x478899=_0x5362f6['getValue'](_0x14200d,_0x465e0e);if(_0x478899==null)return;this[_0x4fdd81(0x20e)](_0x478899),_0x5362f6[_0x4fdd81(0x219)](_0x14200d,_0x465e0e),this['_removeAllTreeMap'](_0x478899);}}[_0x2b179f(0x1b7)](_0x3e0580,_0x23fbde){const _0x4f20ca=_0x2b179f,_0x13121e=this[_0x4f20ca(0x1e1)][_0x4f20ca(0x208)](_0x3e0580);if(_0x23fbde&&_0x13121e&&_0x13121e[_0x4f20ca(0x16c)](_0x23fbde)){const _0x4b0a1f=_0x13121e[_0x4f20ca(0x208)](_0x23fbde);this['_removeDependencyRTreeCacheById'](_0x3e0580,_0x23fbde),_0x4b0a1f[_0x4f20ca(0x19f)]((_0x1fdc16,_0x1443ac,_0x44422d)=>{const _0x50a87a=_0x4f20ca;if(_0x44422d==null)return!0x0;this[_0x50a87a(0x196)](_0x44422d);}),_0x4b0a1f[_0x4f20ca(0x18b)]();}else _0x13121e&&(_0x13121e[_0x4f20ca(0x17b)]((_0x154529,_0x26f582)=>{const _0x5112ab=_0x4f20ca;this[_0x5112ab(0x1aa)](_0x3e0580,_0x26f582),_0x154529[_0x5112ab(0x19f)]((_0xb884d,_0x3b6c1d,_0x55ebbf)=>{const _0xce2cd3=_0x5112ab;if(_0x55ebbf==null)return!0x0;this[_0xce2cd3(0x196)](_0x55ebbf);});}),this[_0x4f20ca(0x1e1)][_0x4f20ca(0x174)](_0x3e0580));}[_0x2b179f(0x20e)](_0x43b15a){const _0x15f815=_0x2b179f;if(_0x43b15a==null)return;const _0x243e91=this['_allTreeMap']['get'](_0x43b15a);if(_0x243e91){const _0x1d7d52=[];for(const [_0x537b33,_0x2a70b8]of _0x243e91)for(const [_0x595c42,_0x47d90d]of _0x2a70b8)_0x1d7d52[_0x15f815(0x175)]({'unitId':_0x537b33,'sheetId':_0x595c42,'range':_0x47d90d,'id':_0x43b15a});this['_dependencyRTreeCache'][_0x15f815(0x1ae)](_0x1d7d52);}}[_0x2b179f(0x1ad)](_0x1178f1,_0x28f335){const _0x206d88=_0x2b179f,_0x518245=this[_0x206d88(0x173)][_0x206d88(0x208)](_0x1178f1);if(_0x518245){const _0x34e6c2=_0x518245[_0x206d88(0x208)](_0x28f335);if(_0x34e6c2){for(const _0x13ae3d of _0x34e6c2)this[_0x206d88(0x20e)](_0x13ae3d),this[_0x206d88(0x196)](_0x13ae3d);_0x34e6c2[_0x206d88(0x1a0)]();}}}[_0x2b179f(0x17a)](){const _0x41bbc8=_0x2b179f;this[_0x41bbc8(0x202)][_0x41bbc8(0x17a)]();}[_0x2b179f(0x1bb)](){const _0xe6fca0=_0x2b179f;this['_dependencyRTreeCache'][_0xe6fca0(0x1bb)]();}[_0x2b179f(0x196)](_0x425e29){const _0x1c1364=_0x2b179f;_0x425e29!=null&&this['_allTreeMap'][_0x1c1364(0x174)](_0x425e29);}[_0x2b179f(0x1ce)](_0x56cfb2){const _0x271b73=_0x2b179f;var _0x143775,_0x132b42;const _0x40835f=_0x56cfb2[_0x271b73(0x18f)];let _0x4d977c=this['_allTreeMap'][_0x271b73(0x208)](_0x56cfb2['treeId']);for(let _0x423f83=0x0;_0x423f83<_0x40835f['length'];_0x423f83++){const _0x30ec77=_0x40835f[_0x423f83];let {unitId:_0x4c21fe,sheetId:_0x9c2925,range:_0x2bbd7d}=_0x30ec77;_0x4d977c||(_0x4d977c=new Map(),this[_0x271b73(0x176)][_0x271b73(0x190)](_0x56cfb2[_0x271b73(0x1c8)],_0x4d977c)),_0x4d977c['has'](_0x4c21fe)||_0x4d977c[_0x271b73(0x190)](_0x4c21fe,new Map());const _0x31a422=(_0x143775=_0x4d977c==null?void 0x0:_0x4d977c[_0x271b73(0x208)](_0x4c21fe))==null?void 0x0:_0x143775[_0x271b73(0x208)](_0x9c2925);_0x31a422&&(_0x2bbd7d={'startRow':Math[_0x271b73(0x1ee)](_0x2bbd7d[_0x271b73(0x1f1)],_0x31a422['startRow']),'startColumn':Math['min'](_0x2bbd7d[_0x271b73(0x191)],_0x31a422['startColumn']),'endRow':Math['max'](_0x2bbd7d[_0x271b73(0x1fe)],_0x31a422[_0x271b73(0x1fe)]),'endColumn':Math[_0x271b73(0x203)](_0x2bbd7d['endColumn'],_0x31a422[_0x271b73(0x185)])}),(_0x132b42=_0x4d977c['get'](_0x4c21fe))==null||_0x132b42[_0x271b73(0x190)](_0x9c2925,_0x2bbd7d);}}}var _0x3cfbee=Object[_0x2b179f(0x183)],_0x3970bb=(_0x21249c,_0x5b7482,_0x4ecab0,_0x3b2370)=>{const _0x539192=_0x2b179f;for(var _0x348bd7=_0x3b2370>0x1?void 0x0:_0x3b2370?_0x3cfbee(_0x5b7482,_0x4ecab0):_0x5b7482,_0x38b27a=_0x21249c[_0x539192(0x1f0)]-0x1,_0x7b59c0;_0x38b27a>=0x0;_0x38b27a--)(_0x7b59c0=_0x21249c[_0x38b27a])&&(_0x348bd7=_0x7b59c0(_0x348bd7)||_0x348bd7);return _0x348bd7;};const _0x2fb07b=Number[_0x2b179f(0x1d3)](0x67ed1401);_0x310027[_0x2b179f(0x1a5)]=class extends _0x1c3591['UniverFormulaEnginePlugin']{[_0x2b179f(0x1d2)](){const _0x28d67a=_0x2b179f;var _0x463d3b,_0x21cb5d;this[_0x28d67a(0x1d1)]()?(_0x463d3b=this['_config'])!=null&&_0x463d3b['notExecuteFormula']||[[_0x1c3591['ICalculateFormulaService'],{'useClass':_0x5de395}],[_0x1c3591['IDependencyManagerService'],{'useClass':_0x117db9}],[_0x1c3591[_0x28d67a(0x1e0)],{'useClass':_0x39f098}]][_0x28d67a(0x17b)](_0x160022=>this[_0x28d67a(0x177)]['add'](_0x160022)):(_0x21cb5d=this['_config'])!=null&&_0x21cb5d['notExecuteFormula']||[[_0x1c3591['ICalculateFormulaService'],{'useClass':_0x1c3591['CalculateFormulaService']}],[_0x1c3591[_0x28d67a(0x179)],{'useClass':_0x1c3591[_0x28d67a(0x1bf)]}],[_0x1c3591[_0x28d67a(0x1e0)],{'useClass':_0x1c3591['FormulaDependencyGenerator']}]][_0x28d67a(0x17b)](_0x5c52fe=>this['_injector'][_0x28d67a(0x1af)](_0x5c52fe));}['_initLicenseValid'](){const _0x4ef81f=_0x2b179f;var _0x2969a6;const _0x2f2eea=(_0x2969a6=this[_0x4ef81f(0x1e3)]['getConfig'](_0x5eba13[_0x4ef81f(0x199)]))!=null?_0x2969a6:{},{ls:_0x2f7c93,pbk:_0x39c225}=_0x2f2eea;if(!_0x2f7c93||!_0x39c225)return!0x1;const _0x55158e=_0x5eba13[_0x4ef81f(0x182)](_0x142048,_0x20ce5c),_0x526824=new Function('return\x20'+_0x55158e)()(_0x2f7c93,_0x39c225),_0x4a072c=_0x526824[_0x4ef81f(0x20f)];return _0x526824[_0x4ef81f(0x211)]&&_0x5eba13[_0x4ef81f(0x178)](_0x4a072c,'sf',_0x2fb07b)?_0x5eba13[_0x4ef81f(0x1ed)](_0x4a072c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x310027[_0x2b179f(0x1a5)]=_0x3970bb([_0x7150c8[_0x2b179f(0x19d)](_0x5eba13[_0x2b179f(0x1f2)])],_0x310027[_0x2b179f(0x1a5)]),Object[_0x2b179f(0x1ec)](_0x1c3591)[_0x2b179f(0x17b)](_0x27c59b=>{const _0x4bb3e1=_0x2b179f;_0x27c59b!=='default'&&!Object[_0x4bb3e1(0x1ff)]['hasOwnProperty'][_0x4bb3e1(0x16a)](_0x310027,_0x27c59b)&&Object[_0x4bb3e1(0x1d5)](_0x310027,_0x27c59b,{'enumerable':!0x0,'get':()=>_0x1c3591[_0x27c59b]});}),Object[_0x2b179f(0x1d5)](_0x310027,Symbol[_0x2b179f(0x1eb)],{'value':_0x2b179f(0x18c)});}));function _0x5d61(_0x5a2ee5,_0x535d0b){const _0x23277a=_0x2327();return _0x5d61=function(_0x5d617c,_0x246a1e){_0x5d617c=_0x5d617c-0x16a;let _0x122738=_0x23277a[_0x5d617c];return _0x122738;},_0x5d61(_0x5a2ee5,_0x535d0b);}function _0x2327(){const _0x5807a1=['ObjectMatrix','8URLdIF','setRuntimeFeatureRange','_convertDirtyRangesToUnitRange','0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_getUpdateTreeListAndMakeDependency','featureId','generateRandomDependencyTreeId','IFormulaDependencyGenerator','_formulaData','UniverProLicense','_configService','rowCount','isAdded','refOffsetX','enableCycleDependency','isSkip','generateAstNode','setTotalArrayFormulasToCalculate','toStringTag','keys','getSheetFeatureLimit','min','getFormulaDependency','length','startRow','UniverLicensePlugin','getValue','OTHER_FORMULA','1222827hXXGKW','_astTreeBuilder','8356950umprGx','FormulaDependencyGenerator','addOtherFormulaDependencyMainData','getClearDependencyTreeCache','featureDirtyRanges','UniverCore','isCache','endRow','prototype','_getFirstCellOfRange','removeFormulaDependency','_dependencyRTreeCache','max','getAllRuntimeData','1805068FuRnbl','_apply','searchDependency','get','FormulaDependencyTreeVirtual','FormulaExecuteStageType','_formulaDependencyGenerator','addFeatureFormulaDependency','DependencyManagerBaseService','_removeDependencyRTreeCache','message','_currentConfigService','valid','getDirtyNameMap','addFormulaDependency','DEFAULT_INTERVAL_COUNT','subUnitId','execute','unitId','bulkSearch','realDeleteValue','setTotalFormulasToCalculate','_isCyclicUtilMap','RTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','columnCount','getFormulaData','1850MHQWBI','pop','_createFDtree','next','call','_checkIsCycleDependency','has','getConfig','_getTreeById','setRuntimeOtherData','addFormulaDependencyByDefinedName','1707916jsXdbC','_runtimeService','_definedNameMap','delete','push','_allTreeMap','_injector','isFeatureAuthorizedWithinTime','IDependencyManagerService','openKdTree','forEach','_otherFormulaDataMainData','_calculateRunList','type','isDirty','formula','toRTreeItem','unshiftString','getOwnPropertyDescriptor','20334dEeZni','endColumn','@univerjs/engine-formula','_executionInProgressListener$','symbol','_otherFormulaData','FormulaDependencyTree','reset','Module','markedAsSuccessfullyExecuted','hasOtherFormulaDataMainData','rangeList','set','startColumn','getRuntimeState','refOffsetY','CURRENTLY_CALCULATING','_registerFormulas','_removeAllTreeMap','_traverse','_executionCompleteListener$','LS_CONFIG_KEY','dispose','setFormulaExecuteStage','isStopExecution','DependentOn','_otherFormulaManagerService','forValue','clear','dirtyRanges','_lexer','checkAsyncNode','_getTreeNode','UniverProFormulaEnginePlugin','getOtherFormulaData','_featureFormulaData','getOtherFormulaDependency','setSkip','_removeDependencyRTreeCacheById','IDLE','addOtherFormulaDependency','removeFormulaDependencyByDefinedName','bulkRemove','add','size','4232136ypLzCO','row','_restDependencyTreeId','setValue','function','6642692oPvRbn','clearFormulaDependency','formulaId','generate','_dependencyRTreeCacheForAddressFunction','closeKdTree','_dependencyTreeCache','getExcludedRange','refTree','DependencyManagerService','getDirtyData','@univerjs/core','dependencySheetName','getFeatureFormulaDependency','_dependencyManagerService','UniverProEngineFormula','setAdded','amd','treeId','clearOtherFormulaDependency','setCurrent','isForceCalculate','_getFeatureFormulaTree','UniverEngineFormula','_addAllTreeMap','FormulaDependencyTreeType','isVirtual','_initLicenseValid','_initializeWithOverride','parseInt','START_DEPENDENCY_ARRAY_FORMULA','defineProperty','setCompletedArrayFormulasCount','column'];_0x2327=function(){return _0x5807a1;};return _0x2327();}
|
|
1
|
+
function _0x118a(_0x9fb3c4,_0x36f2f3){const _0x1c1222=_0x1c12();return _0x118a=function(_0x118ac9,_0x3949b8){_0x118ac9=_0x118ac9-0x169;let _0x2171b9=_0x1c1222[_0x118ac9];return _0x2171b9;},_0x118a(_0x9fb3c4,_0x36f2f3);}function _0x1c12(){const _0x22b43c=['generate','message','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','pop','setCurrent','_restDependencyTreeId','min','RTree','_registerOtherFormulas','10qYdiMQ','setAdded','reset','refTree','setValue','getOwnPropertyDescriptor','type','_getUpdateTreeListAndMakeDependency','markedAsNoFunctionsExecuted','checkAsyncNode','216pKRkNo','_otherFormulaData','ParentDependencyTree\x20object\x20is\x20null','symbol','getOtherFormulaData','addOtherFormulaDependencyMainData','setSkip','getValue','DependencyManagerBaseService','@univerjs-pro/license','getDirtyData','_calculateRunList','_featureFormulaData','_registerFormulas','FormulaExecuteStageType','length','_otherFormulaDataMainData','_interpreter','row','realDeleteValue','bulkRemove','_dependencyRTreeCacheForAddressFunction','_checkIsCycleDependency','DEFAULT_INTERVAL_COUNT','getUnitData','set','_configService','UniverProEngineFormula','LS_CONFIG_KEY','next','unitId','clearFormulaDependency','enableCycleDependency','refOffsetY','102918ejFDcF','68rZeMSm','3945105oANLub','refOffsetX','ICalculateFormulaService','START_DEPENDENCY','1336lIcjzH','START_CALCULATION','has','2248YRIuvY','push','startColumn','isAdded','generateRandomDependencyTreeId','UniverCore','addOtherFormulaDependency','valid','DependencyManagerService','removeOtherFormulaDependency','clearOtherFormulaDependency','requestImmediateMacroTask','_formulaData','IDependencyManagerService','125zyrVPQ','featureId','START_DEPENDENCY_ARRAY_FORMULA','_executionInProgressListener$','_config','_removeDependencyRTreeCacheById','dirtyRanges','1112774YsKSeU','FEATURE_FORMULA','_removeAllTreeMap','ObjectMatrix','_getTreeNode','_createFDtree','_lexer','hasOwnProperty','generateAstNode','setCompletedFormulasCount','getFeatureFormulaDependency','removeFormulaDependencyByDefinedName','FormulaDependencyGenerator','FormulaDependencyTreeVirtual','464172owyZPB','isSkip','isFeatureAuthorizedWithinTime','columnCount','setRuntimeFeatureRange','clear','call','addFeatureFormulaDependency','_dependencyManagerService','get','_initLicenseValid','_definedNameMap','addFormulaDependency','UniverEngineFormula','_traverse','_dependencyTreeCache','isForceCalculate','parseInt','startRow','UniverLicensePlugin','_executionCompleteListener$','add','closeKdTree','amd','setCompletedArrayFormulasCount','CalculateFormulaService','getConfig','clearFeatureFormulaDependency','_isCyclicUtilMap','setFormulaExecuteStage','_updateRangeFlatten','FormulaDependencyTreeType','START_CALCULATION_ARRAY_FORMULA','keys','subUnitId','forEach','getExcludedRange','getFormulaDependency','markedAsStopFunctionsExecuted','isVirtual','DependentOn','searchDependency','column','IFormulaDependencyGenerator','_removeDependencyRTreeCache','FormulaDependencyTree','_allTreeMap','_getTreeById','isStopExecution','3650416QuBMvB','getAllRuntimeData','_otherFormulaManagerService','_currentConfigService','UniverProFormulaEnginePlugin','removeFormulaDependency','getFormulaData','@univerjs/engine-formula','addFormulaDependencyByDefinedName','IDLE','function','rowCount','object','_dependencyRTreeCache','setTotalArrayFormulasToCalculate','6307IYdIQD','intervalCount','endColumn','treeId','forValue','OTHER_FORMULA','execute','_astTreeBuilder','UniverProLicense','_apply','getOtherFormulaDependency','_getFeatureFormulaTree','notExecuteFormula','getRuntimeState','prototype','_injector','defineProperty','getDirtyRanges','unshiftString','rangeList','max','toRTreeItem','isCache','_runtimeService','formula','setTotalFormulasToCalculate','openKdTree','UniverFormulaEnginePlugin','getSheetFeatureLimit','delete','CURRENTLY_CALCULATING','CURRENTLY_CALCULATING_ARRAY_FORMULA','_addAllTreeMap','_formulaDependencyGenerator','@univerjs/core','hasOtherFormulaDataMainData','default','endRow','35tdqBWJ','isDirty','formulaId'];_0x1c12=function(){return _0x22b43c;};return _0x1c12();}(function(_0x126295,_0x29f235){const _0x108fa2=_0x118a,_0x3a110c=_0x126295();while(!![]){try{const _0x235f6f=parseInt(_0x108fa2(0x1a1))/0x1*(parseInt(_0x108fa2(0x193))/0x2)+parseInt(_0x108fa2(0x18a))/0x3*(-parseInt(_0x108fa2(0x18b))/0x4)+-parseInt(_0x108fa2(0x21c))/0x5*(parseInt(_0x108fa2(0x1b6))/0x6)+parseInt(_0x108fa2(0x1f6))/0x7*(-parseInt(_0x108fa2(0x190))/0x8)+parseInt(_0x108fa2(0x18c))/0x9*(-parseInt(_0x108fa2(0x228))/0xa)+parseInt(_0x108fa2(0x1e7))/0xb+parseInt(_0x108fa2(0x232))/0xc*(parseInt(_0x108fa2(0x1a8))/0xd);if(_0x235f6f===_0x29f235)break;else _0x3a110c['push'](_0x3a110c['shift']());}catch(_0x257c53){_0x3a110c['push'](_0x3a110c['shift']());}}}(_0x1c12,0x49234),function(_0x14bc32,_0x1d0689){const _0x587593=_0x118a;typeof exports==_0x587593(0x1f3)&&typeof module<'u'?_0x1d0689(exports,require(_0x587593(0x171)),require('@univerjs/core'),require(_0x587593(0x1ee))):typeof define==_0x587593(0x1f1)&&define[_0x587593(0x1cd)]?define(['exports',_0x587593(0x171),_0x587593(0x218),_0x587593(0x1ee)],_0x1d0689):(_0x14bc32=typeof globalThis<'u'?globalThis:_0x14bc32||self,_0x1d0689(_0x14bc32[_0x587593(0x183)]={},_0x14bc32[_0x587593(0x1fe)],_0x14bc32[_0x587593(0x198)],_0x14bc32[_0x587593(0x1c3)]));}(this,function(_0x392706,_0x1ad3a8,_0x540d5d,_0x17f876){'use strict';const _0x48c8a2=_0x118a;var _0x18090a=Object[_0x48c8a2(0x206)],_0x47a32b=(_0x4dffc2,_0x1cd8b0,_0x20023f)=>_0x1cd8b0 in _0x4dffc2?_0x18090a(_0x4dffc2,_0x1cd8b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20023f}):_0x4dffc2[_0x1cd8b0]=_0x20023f,_0x5c6264=(_0x5c41f6,_0x46be3f,_0x288331)=>_0x47a32b(_0x5c41f6,typeof _0x46be3f!=_0x48c8a2(0x16b)?_0x46be3f+'':_0x46be3f,_0x288331);const _0x382d91={0x0:'E',0x1:'y',0x2:'w',0x3:'4',0x4:'M',0x5:'7',0x6:'2',0x7:'P',0x8:'8',0x9:'N','z':'0','x':'1','g':'3','c':'5','o':'6','B':'9','f':'a','j':'b','T':'c','N':'d','F':'e','d':'f','h':'g','I':'h','G':'i','Z':'j','b':'k','y':'l','k':'m','H':'n','Y':'o','r':'p','J':'q','L':'r','E':'s','s':'t','M':'u','Q':'v','w':'x','R':'z','p':'A','v':'B','n':'C','D':'D','V':'F','P':'G','O':'H','a':'I','U':'J','l':'K','X':'L','A':'O','i':'Q','S':'R','m':'S','W':'T','C':'U','u':'V','K':'W','t':'X','e':'Y','q':'Z'},_0x34c643='dMHTsGYH\x20NFTL1rsGYH(yGTFHEF,\x20rMjyGTlF1)\x20{\x20\x20\x20\x20sL1\x20{\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20yGTFHEFaHdY7fLspLLf1\x20=\x20yGTFHEF.EryGs(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20YLGhGH4FEEfhF\x20=\x20UmA9.rfLEF(fsYj(yGTFHEFaHdY7fLspLLf1[6]));\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!YLGhGH4FEEfhF.MN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YLGhGH4FEEfhF.MN\x20=\x209MkjFL(yGTFHEFaHdY7fLspLLf1[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20GEKYLbFL\x20=\x20s1rFYd\x20KYLbFLPyYjfymTYrF\x20!==\x20\x27MHNFdGHFN\x27\x20&&\x20EFyd\x20GHEsfHTFYd\x20KYLbFLPyYjfymTYrF;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20TYHsFws\x20=\x20GEKYLbFL\x20?\x20EFyd\x20:\x202GHNY2;\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[6]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20kFEEfhF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(kFEEfhFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLFKYLN\x20=\x20TYHsFws.__vfEFo3__.rfLEF(yGTFHEFaHdY7fLspLLf1[g]);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHfsMLF\x20=\x20TYHsFws.__OFw__.EsLGHhGd1(EGhHfsMLFKYLN);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20EGhHufyGN\x20=\x20TYHsFws.__QFLGd1__(EGhHfsMLF,\x20kFEEfhF,\x20rMjyGTlF1);\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20NYkfGH\x20=\x20YLGhGH4FEEfhF.Nk;\x20\x20\x20\x20\x20\x20\x20\x20dMHTsGYH\x20GEDYkfGH4fsTIGHh(Y7fssFLH,\x20YOYEs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH\x20=\x20Y7fssFLH.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs\x20=\x20YOYEs.LFryfTF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLH7fLsE\x20=\x20rfssFLH.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEs7fLsE\x20=\x20IYEs.EryGs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(!rfssFLH.GHTyMNFE(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLH\x20===\x20IYEs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(rfssFLH7fLsE.yFHhsI\x20<\x206\x20||\x20rfssFLH7fLsE[z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20dfyEF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20rfssFLHmMddGw\x20=\x20rfssFLH7fLsE.EyGTF(x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20IYEsmMddGw\x20=\x20IYEs7fLsE.EyGTF(-rfssFLH7fLsE.yFHhsI\x20+\x20x).ZYGH(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20rfssFLHmMddGw\x20===\x20IYEsmMddGw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yFs\x20NYkfGHufyGN\x20=\x20(NYkfGH\x20&&\x20NYkfGH.yFHhsI)\x20?\x20NYkfGH.EYkF((NkasFk)\x20=>\x20GEDYkfGH4fsTIGHh(NkasFk,\x20yYTfsGYH.IYEsHfkF))\x20:\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20Gd\x20(yYTfsGYH.IYEsHfkF\x20===\x20\x27yYTfyIYEs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NYkfGHufyGN\x20=\x20sLMF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TYHEs\x20QfyGN\x20=\x20EGhHufyGN\x20&&\x20NYkfGHufyGN;\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20YLGhGH4FEEfhF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TfsTI\x20(FLLYL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20LFsMLH\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QfyGN:\x20dfyEF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kFEEfhF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0xfa3f8c extends _0x17f876[_0x48c8a2(0x1b4)]{constructor(){const _0x47ff49=_0x48c8a2;super(...arguments),_0x5c6264(this,_0x47ff49(0x1c5),new Map());}['dispose'](){const _0x3e52d6=_0x48c8a2;super['dispose'](),this[_0x3e52d6(0x1c5)][_0x3e52d6(0x1bb)]();}async[_0x48c8a2(0x21f)](){const _0x395242=_0x48c8a2;this[_0x395242(0x1d4)]();const _0x1d7c36=this[_0x395242(0x1ea)][_0x395242(0x1ed)](),_0x596c7b=this[_0x395242(0x1e9)][_0x395242(0x16c)](),_0x156752=this['_currentConfigService']['getClearDependencyTreeCache']();_0x156752!=null&&Object[_0x395242(0x1d7)](_0x156752)[_0x395242(0x1d9)](_0x6a8513=>{const _0x9718ae=_0x395242;_0x6a8513!=null&&Object['keys'](_0x156752[_0x6a8513])[_0x9718ae(0x1d9)](_0x40149a=>{const _0x38e1d3=_0x9718ae;_0x40149a!=null&&(this[_0x38e1d3(0x1be)]['clearOtherFormulaDependency'](_0x6a8513,_0x40149a),this['_dependencyManagerService'][_0x38e1d3(0x1d1)](_0x6a8513,_0x40149a),this[_0x38e1d3(0x1be)][_0x38e1d3(0x187)](_0x6a8513,_0x40149a));});});const _0x4bc442=this[_0x395242(0x1ea)][_0x395242(0x180)]();await this['_generateTreeList'](_0x1d7c36,_0x596c7b,_0x4bc442),this['_dependencyManagerService'][_0x395242(0x210)]();const _0x1d178b=this[_0x395242(0x22f)](),_0xfc14=this[_0x395242(0x173)](_0x1d178b);return this[_0x395242(0x17e)](_0xfc14)&&this[_0x395242(0x20d)][_0x395242(0x188)](),this['_dependencyTreeCache'][_0x395242(0x1bb)](),this['_dependencyRTreeCacheForAddressFunction'][_0x395242(0x1bb)](),this['_dependencyManagerService'][_0x395242(0x1cc)](),Promise['resolve'](_0xfc14);}[_0x48c8a2(0x1d2)](_0x41a2dc,_0x13d1c5){const _0x18eda4=_0x48c8a2,_0x170fc7=[_0x41a2dc];for(;_0x170fc7[_0x18eda4(0x177)]>0x0;){const _0x25bf3c=_0x170fc7[_0x170fc7['length']-0x1];if((_0x13d1c5[_0x18eda4(0x1bf)](_0x25bf3c)||0x0)===0x0){_0x13d1c5[_0x18eda4(0x181)](_0x25bf3c,0x1);const _0x5350b6=this[_0x18eda4(0x1c5)][_0x18eda4(0x1bf)](_0x25bf3c);if(_0x5350b6==null){_0x13d1c5[_0x18eda4(0x181)](_0x25bf3c,0x2),_0x170fc7[_0x18eda4(0x222)]();continue;}const _0x4f64a5=this['_dependencyManagerService']['searchDependency'](_0x5350b6['toRTreeItem']());for(const _0x2ba876 of _0x4f64a5){const _0x4f2097=_0x13d1c5[_0x18eda4(0x1bf)](_0x2ba876)||0x0;if(_0x4f2097===0x1)return!0x0;_0x4f2097===0x0&&_0x170fc7['push'](_0x2ba876);}}else _0x13d1c5[_0x18eda4(0x181)](_0x25bf3c,0x2),_0x170fc7[_0x18eda4(0x222)]();}return!0x1;}[_0x48c8a2(0x17e)](_0x4490e1){const _0x55cbe1=_0x48c8a2,_0x5ea79a=new Map();for(const _0x124357 of _0x4490e1)if(!_0x5ea79a[_0x55cbe1(0x192)](_0x124357[_0x55cbe1(0x1f9)])&&this['_isCyclicUtilMap'](_0x124357[_0x55cbe1(0x1f9)],_0x5ea79a))return!0x0;return _0x5ea79a[_0x55cbe1(0x1bb)](),!0x1;}[_0x48c8a2(0x201)](_0x483e4a,_0x3f9b26,_0x3c4038){const _0x4d2cd0=_0x48c8a2,{unitId:_0x481171,subUnitId:_0x41fa16,dependencyRanges:_0x4eb2cf,getDirtyData:_0x80e57f}=_0x3c4038,_0x2d980f=_0x3f9b26||_0x17f876[_0x4d2cd0(0x197)](this['_dependencyManagerService']),_0x3d1d1e=new _0x17f876[(_0x4d2cd0(0x1e3))](_0x2d980f);_0x3d1d1e[_0x4d2cd0(0x186)]=_0x481171,_0x3d1d1e[_0x4d2cd0(0x1d8)]=_0x41fa16,_0x3d1d1e[_0x4d2cd0(0x209)]=_0x4eb2cf,_0x3d1d1e[_0x4d2cd0(0x172)]=_0x80e57f;const _0x5a3f93=_0x80e57f(this[_0x4d2cd0(0x1ea)][_0x4d2cd0(0x172)](),this['_runtimeService'][_0x4d2cd0(0x1e8)]()),_0x1b7fc8=this['_convertDirtyRangesToUnitRange'](_0x5a3f93[_0x4d2cd0(0x1a7)]);return _0x3d1d1e['featureDirtyRanges']=_0x1b7fc8,_0x3d1d1e[_0x4d2cd0(0x1a2)]=_0x483e4a,_0x3d1d1e[_0x4d2cd0(0x22e)]=_0x17f876['FormulaDependencyTreeType'][_0x4d2cd0(0x1a9)],this[_0x4d2cd0(0x1be)][_0x4d2cd0(0x1bd)](_0x481171,_0x41fa16,_0x483e4a,_0x3d1d1e),this['_dependencyTreeCache'][_0x4d2cd0(0x181)](_0x3d1d1e['treeId'],_0x3d1d1e),this[_0x4d2cd0(0x1be)][_0x4d2cd0(0x1b2)](_0x3c4038['unitId'],_0x3c4038[_0x4d2cd0(0x1d8)],_0x483e4a)&&(_0x3d1d1e[_0x4d2cd0(0x20c)]=!0x0),_0x3d1d1e;}[_0x48c8a2(0x227)](_0x32cdb5,_0xc7b2a1,_0x17b90f){const _0x12f188=_0x48c8a2;var _0x146cb1;for(const _0x308299 of _0xc7b2a1){const _0x287d04=_0x32cdb5[_0x308299];if(_0x287d04==null)continue;const _0x4b4d5d=Object[_0x12f188(0x1d7)](_0x287d04);for(const _0xc4106 of _0x4b4d5d){const _0x29f1a0=_0x287d04[_0xc4106];if(_0x29f1a0==null)continue;const _0x4fbb23=Object[_0x12f188(0x1d7)](_0x29f1a0);for(const _0x9836c3 of _0x4fbb23){const _0x589500=this[_0x12f188(0x1be)][_0x12f188(0x219)](_0x9836c3),_0x341b94=_0x29f1a0[_0x9836c3],{f:_0x124eab,ranges:_0xcecb07}=_0x341b94;let _0x5d0d71=!0x1;_0x589500&&(_0x5d0d71=!0x0);const {firstRow:_0x48dc45,firstColumn:_0x33cea4}=this['_getFirstCellOfRange'](_0xcecb07),_0x1b7b6e=this[_0x12f188(0x1be)][_0x12f188(0x200)](_0x308299,_0xc4106,_0x9836c3),_0x3d47e9=(_0x146cb1=_0x1b7b6e==null?void 0x0:_0x1b7b6e[_0x12f188(0x16f)](0x0,0x0))!=null?_0x146cb1:_0x17f876[_0x12f188(0x197)](this[_0x12f188(0x1be)]),_0x17612f=new _0x17f876[(_0x12f188(0x1e3))](_0x3d47e9);for(let _0x254f75=0x0;_0x254f75<_0xcecb07[_0x12f188(0x177)];_0x254f75++){const _0x377caa=_0xcecb07[_0x254f75],{startRow:_0x31dc3f,startColumn:_0x33bcf2,endRow:_0xb2e34,endColumn:_0x40af97}=_0x377caa;for(let _0x3060a4=_0x31dc3f;_0x3060a4<=_0xb2e34;_0x3060a4++)for(let _0x2d14c8=_0x33bcf2;_0x2d14c8<=_0x40af97;_0x2d14c8++){const _0xda75c1=_0x2d14c8-_0x33cea4,_0x5c5ad6=_0x3060a4-_0x48dc45;if(_0xda75c1===0x0&&_0x5c5ad6===0x0){_0x17612f['formula']=_0x124eab,_0x17612f[_0x12f188(0x186)]=_0x308299,_0x17612f[_0x12f188(0x1d8)]=_0xc4106,_0x17612f[_0x12f188(0x21e)]=_0x9836c3,_0x17612f[_0x12f188(0x22e)]=_0x17f876[_0x12f188(0x1d5)][_0x12f188(0x1fb)],_0x17612f[_0x12f188(0x20c)]=_0x5d0d71,_0x17b90f[_0x12f188(0x194)](_0x17612f),this[_0x12f188(0x1c5)][_0x12f188(0x181)](_0x17612f[_0x12f188(0x1f9)],_0x17612f),this['_dependencyManagerService'][_0x12f188(0x199)](_0x308299,_0xc4106,_0x9836c3,_0x17612f),this[_0x12f188(0x1be)][_0x12f188(0x1ef)](_0x17612f);continue;}const _0x532e2d=new _0x17f876[(_0x12f188(0x1b5))]();_0x532e2d['treeId']=(_0x1b7b6e==null?void 0x0:_0x1b7b6e[_0x12f188(0x16f)](_0xda75c1,_0x5c5ad6))||_0x17f876['generateRandomDependencyTreeId'](this[_0x12f188(0x1be)]),_0x532e2d[_0x12f188(0x22b)]=_0x17612f,_0x532e2d[_0x12f188(0x18d)]=_0xda75c1,_0x532e2d['refOffsetY']=_0x5c5ad6,_0x532e2d[_0x12f188(0x20c)]=_0x5d0d71,this[_0x12f188(0x1be)]['addOtherFormulaDependency'](_0x308299,_0xc4106,_0x9836c3,_0x532e2d),this[_0x12f188(0x1be)][_0x12f188(0x1ef)](_0x532e2d),_0x17b90f[_0x12f188(0x194)](_0x532e2d),this[_0x12f188(0x1c5)][_0x12f188(0x181)](_0x532e2d[_0x12f188(0x1f9)],_0x532e2d);}}this[_0x12f188(0x1be)][_0x12f188(0x16d)](_0x9836c3);}}}}[_0x48c8a2(0x175)](_0x23f86b,_0xa69727,_0x1afe21,_0x16853e){const _0x19992f=_0x48c8a2;for(const _0x11a08e of _0x23f86b){const _0x360fbd=_0xa69727[_0x11a08e];if(_0x360fbd==null)continue;const _0x2a64ac=Object['keys'](_0x360fbd);for(const _0xe705 of _0x2a64ac){const _0x49776d=new _0x540d5d[(_0x19992f(0x1ab))](_0x360fbd[_0xe705]||{}),_0x2a43c8=new Map();_0x49776d[_0x19992f(0x1fa)]((_0x4f28a3,_0x58a039,_0x26930c)=>{const _0x379e7b=_0x19992f;if(_0x26930c==null)return!0x0;const {x:_0x38f50a=0x0,y:_0x11d387=0x0,si:_0x3f801b}=_0x26930c;if(!(_0x38f50a===0x0&&_0x11d387===0x0&&_0x3f801b!=null))return!0x0;const _0x414e18=this[_0x379e7b(0x1ad)](_0x11a08e,_0xe705,_0x4f28a3,_0x58a039,_0x1afe21,_0x26930c),_0xce19d=this[_0x379e7b(0x1be)]['getFormulaDependency'](_0x11a08e,_0xe705,_0x4f28a3,_0x58a039);_0xce19d!=null?_0x414e18[_0x379e7b(0x1f9)]=_0xce19d:(this[_0x379e7b(0x1be)][_0x379e7b(0x1c2)](_0x11a08e,_0xe705,_0x4f28a3,_0x58a039,_0x414e18),this[_0x379e7b(0x1be)][_0x379e7b(0x1ef)](_0x414e18)),_0x2a43c8[_0x379e7b(0x181)](_0x3f801b,_0x414e18),_0x16853e[_0x379e7b(0x194)](_0x414e18),this['_dependencyTreeCache'][_0x379e7b(0x181)](_0x414e18['treeId'],_0x414e18);}),_0x49776d['forValue']((_0x31fbc5,_0x3ee63c,_0x235e6f)=>{const _0x3b43a2=_0x19992f;if(_0x235e6f==null)return!0x0;const {x:_0x56f7ec=0x0,y:_0x3fb299=0x0,si:_0x5aad9d}=_0x235e6f;if(_0x56f7ec===0x0&&_0x3fb299===0x0&&_0x5aad9d!=null)return!0x0;let _0x3eb467;if(_0x5aad9d&&_0x2a43c8[_0x3b43a2(0x192)](_0x5aad9d)){const _0xb084f9=_0x2a43c8[_0x3b43a2(0x1bf)](_0x5aad9d);_0x3eb467=this['_createVirtualFDtree'](_0xb084f9,_0x235e6f);}else _0x3eb467=this[_0x3b43a2(0x1ad)](_0x11a08e,_0xe705,_0x31fbc5,_0x3ee63c,_0x1afe21,_0x235e6f);const _0x24df76=this[_0x3b43a2(0x1be)][_0x3b43a2(0x1db)](_0x11a08e,_0xe705,_0x31fbc5,_0x3ee63c);_0x24df76!=null?_0x3eb467[_0x3b43a2(0x1f9)]=_0x24df76:(this[_0x3b43a2(0x1be)][_0x3b43a2(0x1c2)](_0x11a08e,_0xe705,_0x31fbc5,_0x3ee63c,_0x3eb467),this[_0x3b43a2(0x1be)]['addFormulaDependencyByDefinedName'](_0x3eb467)),_0x16853e[_0x3b43a2(0x194)](_0x3eb467),this[_0x3b43a2(0x1c5)][_0x3b43a2(0x181)](_0x3eb467[_0x3b43a2(0x1f9)],_0x3eb467);}),_0x2a43c8['clear']();}}}[_0x48c8a2(0x1ad)](_0x4aec73,_0x216ea4,_0x579760,_0x446753,_0x4fae07,_0x1e66b4){const _0xae5bf9=_0x48c8a2,{f:_0x3e061c,x:_0x1c4920=0x0,y:_0x4b67bf=0x0}=_0x1e66b4,_0x1c60bd=new _0x17f876[(_0xae5bf9(0x1e3))](_0x17f876[_0xae5bf9(0x197)](this[_0xae5bf9(0x1be)])),_0xf68af7=_0x4fae07[_0x4aec73][_0x216ea4];return _0x1c60bd[_0xae5bf9(0x20e)]=_0x3e061c,_0x1c60bd[_0xae5bf9(0x186)]=_0x4aec73,_0x1c60bd[_0xae5bf9(0x1d8)]=_0x216ea4,_0x1c60bd[_0xae5bf9(0x17a)]=_0x579760,_0x1c60bd['column']=_0x446753,_0x1c60bd[_0xae5bf9(0x1f2)]=_0xf68af7[_0xae5bf9(0x1f2)],_0x1c60bd['columnCount']=_0xf68af7[_0xae5bf9(0x1b9)],_0x1c60bd;}['_getUpdateTreeListAndMakeDependency'](){const _0x56c7b7=_0x48c8a2,_0x2ed933=[],_0x3630e2=new Set(),_0x4f1353=this[_0x56c7b7(0x1ea)][_0x56c7b7(0x1c6)](),_0x21838d=this[_0x56c7b7(0x1ea)][_0x56c7b7(0x207)](),_0x328f73=this[_0x56c7b7(0x1be)]['searchDependency'](_0x21838d),_0x385086=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x21838d);for(const _0x53cc99 of _0x385086)_0x328f73[_0x56c7b7(0x1cb)](_0x53cc99);for(const [_0x1da77e,_0x377eb1]of this[_0x56c7b7(0x1c5)])(_0x4f1353||_0x377eb1[_0x56c7b7(0x21d)]||_0x377eb1['dependencySheetName'](this['_currentConfigService']['getDirtyNameMap']())||_0x328f73[_0x56c7b7(0x192)](_0x1da77e)&&!_0x377eb1['isExcludeRange'](this[_0x56c7b7(0x1ea)][_0x56c7b7(0x1da)]()))&&!_0x3630e2[_0x56c7b7(0x192)](_0x1da77e)&&(_0x2ed933[_0x56c7b7(0x194)](_0x377eb1),_0x3630e2[_0x56c7b7(0x1cb)](_0x1da77e));for(const [_0x4b7a58,_0x518f75]of this[_0x56c7b7(0x1c5)])_0x518f75[_0x56c7b7(0x1dd)]||(_0x518f75[_0x56c7b7(0x209)]['length']=0x0);return _0x2ed933;}[_0x48c8a2(0x1e5)](_0x507775){return this['_dependencyTreeCache']['get'](_0x507775);}[_0x48c8a2(0x1ac)](_0x5e060e){const _0x528aec=_0x48c8a2;return _0x17f876[_0x528aec(0x1b0)](_0x5e060e['unitId'],_0x5e060e[_0x528aec(0x20e)],this['_lexer'],this[_0x528aec(0x1fd)],this[_0x528aec(0x1ea)]);}*[_0x48c8a2(0x1c4)](_0x71c966,_0x1b74b9){const _0x506bae=_0x48c8a2,_0x552b13=_0x71c966,_0x1e16cf=new Set();for(;_0x552b13['length']>0x0;){const _0x2bc516=_0x552b13['pop']();if(_0x1e16cf['clear'](),_0x2bc516===void 0x0||_0x2bc516['isSkip']())continue;if(_0x2bc516[_0x506bae(0x196)]()){yield _0x2bc516,_0x2bc516[_0x506bae(0x16e)](),_0x1b74b9[_0x506bae(0x1cb)](_0x2bc516[_0x506bae(0x1f9)]);continue;}const _0x150c50=this[_0x506bae(0x1be)][_0x506bae(0x1df)](_0x2bc516['toRTreeItem'](),_0x1b74b9),_0x2f43ce=this[_0x506bae(0x17d)]['bulkSearch'](_0x2bc516[_0x506bae(0x20b)](),_0x1b74b9);for(const _0x5dcc24 of _0x2f43ce)_0x150c50['add'](_0x5dcc24);for(const _0x58d140 of _0x150c50){const _0x58cf3d=this[_0x506bae(0x1c5)][_0x506bae(0x1bf)](_0x58d140);if(!_0x58cf3d)throw new Error(_0x506bae(0x16a));_0x58cf3d[_0x506bae(0x196)]()||_0x2bc516[_0x506bae(0x1b7)]()||_0x1e16cf[_0x506bae(0x1cb)](_0x58cf3d);}if(_0x150c50['clear'](),_0x1e16cf['size']===0x0)yield _0x2bc516,_0x2bc516[_0x506bae(0x16e)](),_0x1b74b9['add'](_0x2bc516[_0x506bae(0x1f9)]);else{_0x2bc516[_0x506bae(0x229)](),_0x552b13[_0x506bae(0x194)](_0x2bc516);for(const _0xd34c3c of _0x1e16cf)_0x552b13[_0x506bae(0x194)](_0xd34c3c);}}_0x552b13[_0x506bae(0x177)]=0x0,_0x1e16cf['clear']();}[_0x48c8a2(0x173)](_0x28b414){const _0x4f415b=_0x48c8a2,_0x559f46=[],_0x2869d4=new Set();for(const _0x3258de of this[_0x4f415b(0x1c4)](_0x28b414,_0x2869d4))_0x559f46[_0x4f415b(0x194)](_0x3258de);return _0x559f46;}}class _0x1343b9 extends _0x17f876[_0x48c8a2(0x1cf)]{async[_0x48c8a2(0x1ff)](_0x206d50=!0x1){const _0x1eaff4=_0x48c8a2;_0x206d50?this['_runtimeService'][_0x1eaff4(0x1d3)](_0x17f876[_0x1eaff4(0x176)][_0x1eaff4(0x1a3)]):this['_runtimeService'][_0x1eaff4(0x1d3)](_0x17f876['FormulaExecuteStageType'][_0x1eaff4(0x18f)]),this[_0x1eaff4(0x1a4)][_0x1eaff4(0x185)](this[_0x1eaff4(0x20d)]['getRuntimeState']());const _0x3cc017=await this[_0x1eaff4(0x217)][_0x1eaff4(0x21f)](),_0x436a41=this[_0x1eaff4(0x179)];_0x206d50?(this[_0x1eaff4(0x20d)][_0x1eaff4(0x1d3)](_0x17f876[_0x1eaff4(0x176)][_0x1eaff4(0x1d6)]),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1f5)](_0x3cc017['length'])):(this[_0x1eaff4(0x20d)][_0x1eaff4(0x1d3)](_0x17f876[_0x1eaff4(0x176)][_0x1eaff4(0x191)]),this['_runtimeService'][_0x1eaff4(0x20f)](_0x3cc017[_0x1eaff4(0x177)])),this[_0x1eaff4(0x1a4)][_0x1eaff4(0x185)](this[_0x1eaff4(0x20d)]['getRuntimeState']());let _0x3d0637=[];const _0x3c9a0e=this[_0x1eaff4(0x182)][_0x1eaff4(0x1d0)](_0x17f876[_0x1eaff4(0x221)]),_0x10dcf6=(_0x3c9a0e==null?void 0x0:_0x3c9a0e[_0x1eaff4(0x1f7)])||_0x17f876[_0x1eaff4(0x17f)];let _0x53be68=0x0;const _0x1353ce=_0x3cc017[_0x1eaff4(0x177)];for(;_0x3cc017[_0x1eaff4(0x177)]>0x0;){const _0x3103a5=_0x3cc017[_0x1eaff4(0x222)](),_0x20a7ab={'node':_0x17f876[_0x1eaff4(0x1b0)](_0x3103a5[_0x1eaff4(0x186)],_0x3103a5['formula'],this[_0x1eaff4(0x1ae)],this[_0x1eaff4(0x1fd)],this[_0x1eaff4(0x1ea)]),'refOffsetX':_0x3103a5[_0x1eaff4(0x18d)],'refOffsetY':_0x3103a5['refOffsetY']},_0x268df2=_0x3103a5[_0x1eaff4(0x172)];if(_0x53be68%_0x10dcf6===0x0&&(await new Promise(_0x50c9be=>{const _0x574069=_0x1eaff4,_0x134989=_0x540d5d[_0x574069(0x19e)](_0x50c9be);_0x3d0637[_0x574069(0x194)](_0x134989);}),_0x206d50?(this[_0x1eaff4(0x20d)][_0x1eaff4(0x1d3)](_0x17f876['FormulaExecuteStageType'][_0x1eaff4(0x215)]),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1ce)](_0x53be68+0x1)):(this['_runtimeService'][_0x1eaff4(0x1d3)](_0x17f876[_0x1eaff4(0x176)][_0x1eaff4(0x214)]),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1b1)](_0x53be68+0x1)),this[_0x1eaff4(0x1a4)]['next'](this[_0x1eaff4(0x20d)][_0x1eaff4(0x203)]()),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1e6)]()||_0x20a7ab==null&&_0x268df2==null)){this[_0x1eaff4(0x20d)][_0x1eaff4(0x1d3)](_0x17f876[_0x1eaff4(0x176)][_0x1eaff4(0x1f0)]),this['_runtimeService'][_0x1eaff4(0x1dc)](),this[_0x1eaff4(0x1ca)][_0x1eaff4(0x185)](this[_0x1eaff4(0x20d)][_0x1eaff4(0x1e8)]());return;}this[_0x1eaff4(0x20d)][_0x1eaff4(0x223)](_0x3103a5[_0x1eaff4(0x17a)],_0x3103a5[_0x1eaff4(0x1e0)],_0x3103a5[_0x1eaff4(0x1f2)],_0x3103a5[_0x1eaff4(0x1b9)],_0x3103a5['subUnitId'],_0x3103a5[_0x1eaff4(0x186)]);let _0x4aa9b9;if(_0x268df2!=null&&_0x3103a5[_0x1eaff4(0x1a2)]!=null){const {runtimeCellData:_0x3b89a6,dirtyRanges:_0xca9e39}=_0x268df2(this['_currentConfigService'][_0x1eaff4(0x172)](),this['_runtimeService'][_0x1eaff4(0x1e8)]());this[_0x1eaff4(0x20d)]['setRuntimeFeatureCellData'](_0x3103a5[_0x1eaff4(0x1a2)],_0x3b89a6),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1ba)](_0x3103a5['featureId'],_0xca9e39);}else _0x20a7ab!=null&&(_0x436a41[_0x1eaff4(0x231)](_0x20a7ab['node'])?_0x4aa9b9=await _0x436a41['executeAsync'](_0x20a7ab):_0x4aa9b9=_0x436a41[_0x1eaff4(0x1fc)](_0x20a7ab),_0x3103a5[_0x1eaff4(0x21e)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x3103a5['formulaId'],_0x3103a5['refOffsetX'],_0x3103a5[_0x1eaff4(0x189)],_0x4aa9b9):this['_runtimeService']['setRuntimeData'](_0x4aa9b9));_0x53be68++;}return _0x3d0637[_0x1eaff4(0x1d9)](_0x3ee3ca=>_0x3ee3ca()),_0x3d0637=[],_0x1353ce>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x206d50||this[_0x1eaff4(0x20d)][_0x1eaff4(0x230)](),this[_0x1eaff4(0x20d)][_0x1eaff4(0x1e8)]();}}class _0x295e61 extends _0x17f876[_0x48c8a2(0x170)]{constructor(){const _0x5ce36d=_0x48c8a2;super(...arguments),_0x5c6264(this,_0x5ce36d(0x1e4),new Map()),_0x5c6264(this,_0x5ce36d(0x1f4),new _0x540d5d[(_0x5ce36d(0x226))](!0x0));}[_0x48c8a2(0x22a)](){const _0x51f11a=_0x48c8a2;this[_0x51f11a(0x169)][_0x51f11a(0x1bb)](),this[_0x51f11a(0x174)][_0x51f11a(0x1bb)](),this['_formulaData']['clear'](),this[_0x51f11a(0x1f4)][_0x51f11a(0x1bb)](),this[_0x51f11a(0x1e4)][_0x51f11a(0x1bb)](),this[_0x51f11a(0x224)](),this['_otherFormulaDataMainData']['clear']();}[_0x48c8a2(0x199)](_0x3d5d94,_0x5b351f,_0x300f30,_0x4bbc51){const _0x10c9ec=_0x48c8a2;this[_0x10c9ec(0x169)]['has'](_0x3d5d94)||this['_otherFormulaData'][_0x10c9ec(0x181)](_0x3d5d94,new Map());const _0x40425c=this[_0x10c9ec(0x169)][_0x10c9ec(0x1bf)](_0x3d5d94);_0x40425c[_0x10c9ec(0x192)](_0x5b351f)||_0x40425c[_0x10c9ec(0x181)](_0x5b351f,new Map());const _0x1bcc2d=_0x40425c[_0x10c9ec(0x1bf)](_0x5b351f);_0x1bcc2d['has'](_0x300f30)||_0x1bcc2d['set'](_0x300f30,new _0x540d5d[(_0x10c9ec(0x1ab))]()),_0x1bcc2d[_0x10c9ec(0x1bf)](_0x300f30)[_0x10c9ec(0x22c)](_0x4bbc51[_0x10c9ec(0x18d)],_0x4bbc51[_0x10c9ec(0x189)],_0x4bbc51[_0x10c9ec(0x1f9)]);}[_0x48c8a2(0x19c)](_0x4d707e,_0x4d8247,_0x52a32a){const _0x5022df=_0x48c8a2,_0x4fa8a0=this[_0x5022df(0x169)][_0x5022df(0x1bf)](_0x4d707e);if(_0x4fa8a0&&_0x4fa8a0['has'](_0x4d8247)){const _0x4b7c21=_0x4fa8a0[_0x5022df(0x1bf)](_0x4d8247);_0x52a32a[_0x5022df(0x1d9)](_0x249e9a=>{const _0x3d829d=_0x5022df,_0x37366a=_0x4b7c21[_0x3d829d(0x1bf)](_0x249e9a);_0x37366a!=null&&(_0x37366a['forValue']((_0x5ccded,_0xa8da88,_0x57909d)=>{const _0x42be2d=_0x3d829d;this[_0x42be2d(0x1e2)](_0x57909d),this[_0x42be2d(0x1aa)](_0x57909d);}),_0x4b7c21[_0x3d829d(0x213)](_0x249e9a),this[_0x3d829d(0x178)][_0x3d829d(0x213)](_0x249e9a));}),_0x4b7c21['size']===0x0&&_0x4fa8a0[_0x5022df(0x213)](_0x4d8247),_0x4fa8a0['size']===0x0&&this[_0x5022df(0x169)]['delete'](_0x4d707e);}}[_0x48c8a2(0x19d)](_0x1f662a,_0x518c1e){const _0x24f223=_0x48c8a2,_0x36a6e0=this['_otherFormulaData'][_0x24f223(0x1bf)](_0x1f662a);if(_0x518c1e&&_0x36a6e0&&_0x36a6e0[_0x24f223(0x192)](_0x518c1e)){const _0x5bd154=_0x36a6e0[_0x24f223(0x1bf)](_0x518c1e);this[_0x24f223(0x1a6)](_0x1f662a,_0x518c1e);for(const _0x38bff0 of _0x5bd154[_0x24f223(0x1d7)]()){const _0x833fae=_0x5bd154[_0x24f223(0x1bf)](_0x38bff0);_0x833fae!=null&&(_0x833fae[_0x24f223(0x1fa)]((_0x53f9aa,_0x45946f,_0x14c005)=>{const _0x467112=_0x24f223;this['_allTreeMap'][_0x467112(0x1bf)](_0x14c005)&&this[_0x467112(0x1aa)](_0x14c005);}),this[_0x24f223(0x178)]['delete'](_0x38bff0));}_0x5bd154[_0x24f223(0x1bb)]();}else{if(_0x36a6e0){for(const _0x27ca8a of _0x36a6e0[_0x24f223(0x1d7)]()){const _0x24b492=_0x36a6e0[_0x24f223(0x1bf)](_0x27ca8a);this['_removeDependencyRTreeCacheById'](_0x1f662a,_0x27ca8a);for(const _0x4db326 of _0x24b492[_0x24f223(0x1d7)]()){const _0x13ed3c=_0x24b492[_0x24f223(0x1bf)](_0x4db326);_0x13ed3c!=null&&(_0x13ed3c[_0x24f223(0x1fa)]((_0x3e864e,_0x253870,_0x155585)=>{const _0x2e17e4=_0x24f223;this[_0x2e17e4(0x1e4)][_0x2e17e4(0x1bf)](_0x155585)&&this[_0x2e17e4(0x1aa)](_0x155585);}),this[_0x24f223(0x178)][_0x24f223(0x213)](_0x4db326));}}this[_0x24f223(0x169)][_0x24f223(0x213)](_0x1f662a);}}}[_0x48c8a2(0x1bd)](_0x2033f6,_0x385b61,_0x58f77d,_0x11ba7f){const _0x5274d8=_0x48c8a2;this[_0x5274d8(0x174)][_0x5274d8(0x192)](_0x2033f6)||this[_0x5274d8(0x174)][_0x5274d8(0x181)](_0x2033f6,new Map());const _0x8b52e8=this[_0x5274d8(0x174)]['get'](_0x2033f6);_0x8b52e8[_0x5274d8(0x192)](_0x385b61)||_0x8b52e8['set'](_0x385b61,new Map()),_0x8b52e8[_0x5274d8(0x1bf)](_0x385b61)[_0x5274d8(0x181)](_0x58f77d,_0x11ba7f[_0x5274d8(0x1f9)]);}['removeFeatureFormulaDependency'](_0x413639,_0x5eea9e,_0x6c7ded){const _0x435af4=_0x48c8a2,_0x8df627=this[_0x435af4(0x174)][_0x435af4(0x1bf)](_0x413639);if(_0x8df627&&_0x8df627[_0x435af4(0x192)](_0x5eea9e)){const _0x4f61fb=_0x8df627[_0x435af4(0x1bf)](_0x5eea9e);_0x6c7ded[_0x435af4(0x1d9)](_0x3a4bbf=>{const _0x241eba=_0x435af4,_0x67d588=_0x4f61fb[_0x241eba(0x1bf)](_0x3a4bbf);_0x67d588!=null&&(this[_0x241eba(0x1e2)](_0x67d588),_0x4f61fb['delete'](_0x3a4bbf),this[_0x241eba(0x1aa)](_0x67d588));});}}[_0x48c8a2(0x1d1)](_0x4d9562,_0x5eba43){const _0x49c3be=_0x48c8a2,_0xfea350=this[_0x49c3be(0x174)][_0x49c3be(0x1bf)](_0x4d9562);if(_0x5eba43&&_0xfea350&&_0xfea350[_0x49c3be(0x192)](_0x5eba43)){const _0x2dd73c=_0xfea350['get'](_0x5eba43);this[_0x49c3be(0x1a6)](_0x4d9562,_0x5eba43),_0x2dd73c['forEach'](_0x19d7a7=>{const _0x1f4952=_0x49c3be;_0x19d7a7!=null&&this[_0x1f4952(0x1aa)](_0x19d7a7);}),_0x2dd73c[_0x49c3be(0x1bb)]();}else _0xfea350&&(_0xfea350[_0x49c3be(0x1d9)]((_0x3746a9,_0x5e8b54)=>{const _0x1ae691=_0x49c3be;this[_0x1ae691(0x1a6)](_0x4d9562,_0x5e8b54),_0x3746a9[_0x1ae691(0x1d9)](_0x51541f=>{const _0x548738=_0x1ae691;_0x51541f!=null&&this[_0x548738(0x1aa)](_0x51541f);});}),this[_0x49c3be(0x174)][_0x49c3be(0x213)](_0x4d9562));}[_0x48c8a2(0x1c2)](_0x30a892,_0x31061f,_0x3f022e,_0x53a313,_0x44b05c){const _0x665337=_0x48c8a2;this[_0x665337(0x19f)]['has'](_0x30a892)||this['_formulaData']['set'](_0x30a892,new Map());const _0x2372a3=this[_0x665337(0x19f)][_0x665337(0x1bf)](_0x30a892);_0x2372a3['has'](_0x31061f)||_0x2372a3[_0x665337(0x181)](_0x31061f,new _0x540d5d[(_0x665337(0x1ab))]()),_0x2372a3[_0x665337(0x1bf)](_0x31061f)[_0x665337(0x22c)](_0x3f022e,_0x53a313,_0x44b05c[_0x665337(0x1f9)]);}[_0x48c8a2(0x1ec)](_0x4212de,_0x55f782,_0x4ffb3f,_0x1beccf){const _0x4d3cbc=_0x48c8a2,_0x5a27b6=this[_0x4d3cbc(0x19f)][_0x4d3cbc(0x1bf)](_0x4212de);if(_0x5a27b6&&_0x5a27b6['has'](_0x55f782)){const _0x47fac5=_0x5a27b6['get'](_0x55f782),_0x3fd0d2=_0x47fac5[_0x4d3cbc(0x16f)](_0x4ffb3f,_0x1beccf);if(_0x3fd0d2==null)return;this[_0x4d3cbc(0x1e2)](_0x3fd0d2),_0x47fac5[_0x4d3cbc(0x17b)](_0x4ffb3f,_0x1beccf),this['_removeAllTreeMap'](_0x3fd0d2);}}['clearFormulaDependency'](_0x12030a,_0x2a550a){const _0x2eb5ba=_0x48c8a2,_0x4b532d=this['_formulaData'][_0x2eb5ba(0x1bf)](_0x12030a);if(_0x2a550a&&_0x4b532d&&_0x4b532d[_0x2eb5ba(0x192)](_0x2a550a)){const _0x74759e=_0x4b532d[_0x2eb5ba(0x1bf)](_0x2a550a);this[_0x2eb5ba(0x1a6)](_0x12030a,_0x2a550a),_0x74759e[_0x2eb5ba(0x1fa)]((_0x31984c,_0x952169,_0x1829d7)=>{const _0x24a8c2=_0x2eb5ba;if(_0x1829d7==null)return!0x0;this[_0x24a8c2(0x1aa)](_0x1829d7);}),_0x74759e[_0x2eb5ba(0x22a)]();}else _0x4b532d&&(_0x4b532d[_0x2eb5ba(0x1d9)]((_0x33497e,_0x55686b)=>{const _0x4ede86=_0x2eb5ba;this[_0x4ede86(0x1a6)](_0x12030a,_0x55686b),_0x33497e['forValue']((_0x3175f7,_0x392a7b,_0x1ee9c2)=>{const _0xb994f1=_0x4ede86;if(_0x1ee9c2==null)return!0x0;this[_0xb994f1(0x1aa)](_0x1ee9c2);});}),this['_formulaData'][_0x2eb5ba(0x213)](_0x12030a));}[_0x48c8a2(0x1e2)](_0x22ebaf){const _0x3df1af=_0x48c8a2;if(_0x22ebaf==null)return;const _0x280c90=this[_0x3df1af(0x1e4)]['get'](_0x22ebaf);if(_0x280c90){const _0x361413=[];for(const [_0x2f71a2,_0x5a82a5]of _0x280c90)for(const [_0x9230ad,_0x5123bd]of _0x5a82a5)_0x361413[_0x3df1af(0x194)]({'unitId':_0x2f71a2,'sheetId':_0x9230ad,'range':_0x5123bd,'id':_0x22ebaf});this['_dependencyRTreeCache'][_0x3df1af(0x17c)](_0x361413);}}[_0x48c8a2(0x1b3)](_0x31dadd,_0x102be6){const _0x6a7bfe=_0x48c8a2,_0x34deee=this[_0x6a7bfe(0x1c1)][_0x6a7bfe(0x1bf)](_0x31dadd);if(_0x34deee){const _0x3d96cd=_0x34deee[_0x6a7bfe(0x1bf)](_0x102be6);if(_0x3d96cd){for(const _0x4e84cf of _0x3d96cd)this[_0x6a7bfe(0x1e2)](_0x4e84cf),this[_0x6a7bfe(0x1aa)](_0x4e84cf);_0x3d96cd[_0x6a7bfe(0x1bb)]();}}}[_0x48c8a2(0x210)](){const _0x361954=_0x48c8a2;this[_0x361954(0x1f4)][_0x361954(0x210)]();}['closeKdTree'](){const _0xc5c22b=_0x48c8a2;this['_dependencyRTreeCache'][_0xc5c22b(0x1cc)]();}[_0x48c8a2(0x1aa)](_0x21d088){const _0x51dbf2=_0x48c8a2;_0x21d088!=null&&this[_0x51dbf2(0x1e4)][_0x51dbf2(0x213)](_0x21d088);}[_0x48c8a2(0x216)](_0xc5cd1b){const _0x476bd9=_0x48c8a2;var _0x1ad37f,_0x9602cb;const _0x24c570=_0xc5cd1b[_0x476bd9(0x209)];let _0x516a17=this[_0x476bd9(0x1e4)]['get'](_0xc5cd1b['treeId']);for(let _0x3bdd56=0x0;_0x3bdd56<_0x24c570[_0x476bd9(0x177)];_0x3bdd56++){const _0x1b7a27=_0x24c570[_0x3bdd56];let {unitId:_0xc1605a,sheetId:_0x1c7f9b,range:_0x31176f}=_0x1b7a27;_0x516a17||(_0x516a17=new Map(),this['_allTreeMap'][_0x476bd9(0x181)](_0xc5cd1b[_0x476bd9(0x1f9)],_0x516a17)),_0x516a17[_0x476bd9(0x192)](_0xc1605a)||_0x516a17[_0x476bd9(0x181)](_0xc1605a,new Map());const _0xadf072=(_0x1ad37f=_0x516a17==null?void 0x0:_0x516a17[_0x476bd9(0x1bf)](_0xc1605a))==null?void 0x0:_0x1ad37f['get'](_0x1c7f9b);_0xadf072&&(_0x31176f={'startRow':Math[_0x476bd9(0x225)](_0x31176f[_0x476bd9(0x1c8)],_0xadf072[_0x476bd9(0x1c8)]),'startColumn':Math[_0x476bd9(0x225)](_0x31176f['startColumn'],_0xadf072[_0x476bd9(0x195)]),'endRow':Math[_0x476bd9(0x20a)](_0x31176f[_0x476bd9(0x21b)],_0xadf072['endRow']),'endColumn':Math[_0x476bd9(0x20a)](_0x31176f[_0x476bd9(0x1f8)],_0xadf072['endColumn'])}),(_0x9602cb=_0x516a17[_0x476bd9(0x1bf)](_0xc1605a))==null||_0x9602cb[_0x476bd9(0x181)](_0x1c7f9b,_0x31176f);}}}var _0x31af24=Object[_0x48c8a2(0x22d)],_0x50a9aa=(_0x5c75ab,_0x187982,_0x208580,_0x3cee17)=>{const _0xeafd97=_0x48c8a2;for(var _0x237e42=_0x3cee17>0x1?void 0x0:_0x3cee17?_0x31af24(_0x187982,_0x208580):_0x187982,_0x1a4010=_0x5c75ab[_0xeafd97(0x177)]-0x1,_0x3edfcc;_0x1a4010>=0x0;_0x1a4010--)(_0x3edfcc=_0x5c75ab[_0x1a4010])&&(_0x237e42=_0x3edfcc(_0x237e42)||_0x237e42);return _0x237e42;};const _0x371a08=Number[_0x48c8a2(0x1c7)](0x67ed1a21);_0x392706['UniverProFormulaEnginePlugin']=class extends _0x17f876[_0x48c8a2(0x211)]{['_initializeWithOverride'](){const _0x5a19a3=_0x48c8a2;var _0xb4edc2,_0x5b603a;this['_initLicenseValid']()?(_0xb4edc2=this[_0x5a19a3(0x1a5)])!=null&&_0xb4edc2['notExecuteFormula']||[[_0x17f876[_0x5a19a3(0x18e)],{'useClass':_0x1343b9}],[_0x17f876[_0x5a19a3(0x1a0)],{'useClass':_0x295e61}],[_0x17f876['IFormulaDependencyGenerator'],{'useClass':_0xfa3f8c}]]['forEach'](_0x94a317=>this[_0x5a19a3(0x205)][_0x5a19a3(0x1cb)](_0x94a317)):(_0x5b603a=this[_0x5a19a3(0x1a5)])!=null&&_0x5b603a[_0x5a19a3(0x202)]||[[_0x17f876[_0x5a19a3(0x18e)],{'useClass':_0x17f876[_0x5a19a3(0x1cf)]}],[_0x17f876[_0x5a19a3(0x1a0)],{'useClass':_0x17f876[_0x5a19a3(0x19b)]}],[_0x17f876[_0x5a19a3(0x1e1)],{'useClass':_0x17f876['FormulaDependencyGenerator']}]][_0x5a19a3(0x1d9)](_0x23b2bb=>this[_0x5a19a3(0x205)][_0x5a19a3(0x1cb)](_0x23b2bb));}[_0x48c8a2(0x1c0)](){const _0x24bb65=_0x48c8a2;var _0x12797a;const _0x5d980f=(_0x12797a=this[_0x24bb65(0x182)][_0x24bb65(0x1d0)](_0x1ad3a8[_0x24bb65(0x184)]))!=null?_0x12797a:{},{ls:_0x558de1,pbk:_0x1cf501}=_0x5d980f;if(!_0x558de1||!_0x1cf501)return!0x1;const _0x2badb8=_0x1ad3a8[_0x24bb65(0x208)](_0x34c643,_0x382d91),_0x96c5ed=new Function('return\x20'+_0x2badb8)()(_0x558de1,_0x1cf501),_0x3b3f3f=_0x96c5ed[_0x24bb65(0x220)];return _0x96c5ed[_0x24bb65(0x19a)]&&_0x1ad3a8[_0x24bb65(0x1b8)](_0x3b3f3f,'sf',_0x371a08)?_0x1ad3a8[_0x24bb65(0x212)](_0x3b3f3f,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x392706[_0x48c8a2(0x1eb)]=_0x50a9aa([_0x540d5d[_0x48c8a2(0x1de)](_0x1ad3a8[_0x48c8a2(0x1c9)])],_0x392706[_0x48c8a2(0x1eb)]),Object[_0x48c8a2(0x1d7)](_0x17f876)[_0x48c8a2(0x1d9)](_0x2ca4b2=>{const _0x3976cb=_0x48c8a2;_0x2ca4b2!==_0x3976cb(0x21a)&&!Object[_0x3976cb(0x204)][_0x3976cb(0x1af)][_0x3976cb(0x1bc)](_0x392706,_0x2ca4b2)&&Object[_0x3976cb(0x206)](_0x392706,_0x2ca4b2,{'enumerable':!0x0,'get':()=>_0x17f876[_0x2ca4b2]});}),Object[_0x48c8a2(0x206)](_0x392706,Symbol['toStringTag'],{'value':'Module'});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"rxjs": ">=7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@univerjs-
|
|
56
|
-
"@univerjs/core": "0.6.
|
|
57
|
-
"@univerjs/
|
|
55
|
+
"@univerjs/engine-formula": "0.6.9",
|
|
56
|
+
"@univerjs/core": "0.6.9",
|
|
57
|
+
"@univerjs-pro/license": "0.6.9"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"rxjs": "^7.8.1",
|
|
61
61
|
"typescript": "^5.8.2",
|
|
62
62
|
"vite": "^6.2.2",
|
|
63
63
|
"vitest": "^3.0.9",
|
|
64
|
-
"@univerjs-infra/shared": "0.6.
|
|
64
|
+
"@univerjs-infra/shared": "0.6.9"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"test": "vitest run",
|