@univerjs-pro/engine-formula 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508150623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x2e39c1=_0x45f3;(function(_0x2eee53,_0x2cb990){const _0x567e21=_0x45f3,_0x165546=_0x2eee53();while(!![]){try{const _0x2dbc2b=-parseInt(_0x567e21(0x1a8))/0x1+parseInt(_0x567e21(0x1a9))/0x2+parseInt(_0x567e21(0x1b1))/0x3+parseInt(_0x567e21(0x1af))/0x4*(parseInt(_0x567e21(0x1ab))/0x5)+parseInt(_0x567e21(0x1a5))/0x6+parseInt(_0x567e21(0x1b0))/0x7*(-parseInt(_0x567e21(0x1ac))/0x8)+-parseInt(_0x567e21(0x1a6))/0x9;if(_0x2dbc2b===_0x2cb990)break;else _0x165546['push'](_0x165546['shift']());}catch(_0x1e2095){_0x165546['push'](_0x165546['shift']());}}}(_0x36d9,0x54fc3));function _0x45f3(_0xd29dde,_0x25d4f7){const _0x36d9b5=_0x36d9();return _0x45f3=function(_0x45f303,_0x1917d3){_0x45f303=_0x45f303-0x1a2;let _0x4e5c35=_0x36d9b5[_0x45f303];return _0x4e5c35;},_0x45f3(_0xd29dde,_0x25d4f7);}Object[_0x2e39c1(0x1a3)](exports,Symbol['toStringTag'],{'value':_0x2e39c1(0x1a4)});function _0x36d9(){const _0xeabb12=['3491010uKsoee','4526775TtdECz','hasOwnProperty','411110dDpzdx','908888yWPtwO','keys','10XGKsUH','3864936aABlbJ','call','prototype','257800sWonGp','7WyJmbE','1740366saaoMa','forEach','default','defineProperty','Module'];_0x36d9=function(){return _0xeabb12;};return _0x36d9();}const t=require('@univerjs/engine-formula/facade');Object[_0x2e39c1(0x1aa)](t)[_0x2e39c1(0x1b2)](_0x336943=>{const _0x1ac154=_0x2e39c1;_0x336943!==_0x1ac154(0x1a2)&&!Object[_0x1ac154(0x1ae)][_0x1ac154(0x1a7)][_0x1ac154(0x1ad)](exports,_0x336943)&&Object[_0x1ac154(0x1a3)](exports,_0x336943,{'enumerable':!0x0,'get':()=>t[_0x336943]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5161a1=_0x3310;(function(_0x8a5e92,_0x2cd10e){const _0x3dabeb=_0x3310,_0x36ce7b=_0x8a5e92();while(!![]){try{const _0x218787=parseInt(_0x3dabeb(0x191))/0x1+-parseInt(_0x3dabeb(0x1de))/0x2*(-parseInt(_0x3dabeb(0x16c))/0x3)+-parseInt(_0x3dabeb(0x166))/0x4+parseInt(_0x3dabeb(0x159))/0x5*(-parseInt(_0x3dabeb(0x16e))/0x6)+parseInt(_0x3dabeb(0x1dd))/0x7+-parseInt(_0x3dabeb(0x1e2))/0x8+parseInt(_0x3dabeb(0x171))/0x9;if(_0x218787===_0x2cd10e)break;else _0x36ce7b['push'](_0x36ce7b['shift']());}catch(_0x8a1b38){_0x36ce7b['push'](_0x36ce7b['shift']());}}}(_0x4cb2,0x5bf3f));function _0x3310(_0x230325,_0x2cf866){const _0x4cb2dd=_0x4cb2();return _0x3310=function(_0x3310a7,_0x3b0f12){_0x3310a7=_0x3310a7-0x137;let _0x29d5ac=_0x4cb2dd[_0x3310a7];return _0x29d5ac;},_0x3310(_0x230325,_0x2cf866);}var Q=Object[_0x5161a1(0x1a7)],I=(_0x330487,_0xeda68f,_0x19cce7)=>_0xeda68f in _0x330487?Q(_0x330487,_0xeda68f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19cce7}):_0x330487[_0xeda68f]=_0x19cce7,S=(_0x451bac,_0x4d6319,_0x15bf0a)=>I(_0x451bac,typeof _0x4d6319!=_0x5161a1(0x1bd)?_0x4d6319+'':_0x4d6319,_0x15bf0a);Object['defineProperty'](exports,Symbol[_0x5161a1(0x174)],{'value':_0x5161a1(0x1b6)});const C=require('@univerjs-pro/license'),w=require('@univerjs/core'),u=require('@univerjs/engine-formula'),N={0x0:'h',0x1:'B',0x2:'z',0x3:'3',0x4:'m',0x5:'H',0x6:'7',0x7:'9',0x8:'y',0x9:'f','h':'0','J':'1','c':'2','i':'4','a':'5','o':'6','k':'8','V':'a','O':'b','Q':'c','e':'d','l':'e','U':'g','w':'i','R':'j','y':'k','P':'l','n':'n','K':'o','s':'p','m':'q','W':'r','F':'s','L':'t','A':'u','T':'v','b':'w','r':'x','M':'A','t':'C','I':'D','u':'E','S':'F','v':'G','D':'I','B':'J','x':'K','p':'L','j':'M','Y':'N','E':'O','N':'P','H':'Q','C':'R','z':'S','Z':'T','X':'U','g':'V','G':'W','f':'X','q':'Y','d':'Z'},b=_0x5161a1(0x1c2);class k extends u[_0x5161a1(0x152)]{constructor(){const _0xb4b4fc=_0x5161a1;super(...arguments),S(this,_0xb4b4fc(0x151),new Map());}[_0x5161a1(0x15f)](){const _0x417c35=_0x5161a1;super['dispose'](),this[_0x417c35(0x151)][_0x417c35(0x13e)]();}async['generate'](){const _0x31cc14=_0x5161a1;this[_0x31cc14(0x1f1)]();const _0x11ddb1=this[_0x31cc14(0x15c)][_0x31cc14(0x14b)](),_0xe99d97=this[_0x31cc14(0x1c1)][_0x31cc14(0x1a5)](),_0x335668=this[_0x31cc14(0x15c)][_0x31cc14(0x1c6)]();_0x335668!=null&&Object[_0x31cc14(0x1d2)](_0x335668)[_0x31cc14(0x1e6)](_0x23b9da=>{const _0xf5ca70=_0x31cc14;_0x23b9da!=null&&Object[_0xf5ca70(0x1d2)](_0x335668[_0x23b9da])[_0xf5ca70(0x1e6)](_0x359fe5=>{const _0x5a5a34=_0xf5ca70;_0x359fe5!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x23b9da,_0x359fe5),this['_dependencyManagerService'][_0x5a5a34(0x1db)](_0x23b9da,_0x359fe5),this[_0x5a5a34(0x193)]['clearFormulaDependency'](_0x23b9da,_0x359fe5));});});const _0x168340=this[_0x31cc14(0x15c)][_0x31cc14(0x1dc)]();await this[_0x31cc14(0x13a)](_0x11ddb1,_0xe99d97,_0x168340),this['_dependencyManagerService'][_0x31cc14(0x148)]();const _0x2468b7=this[_0x31cc14(0x1c3)](),_0x5a9d83=this[_0x31cc14(0x177)](_0x2468b7);return this['_checkIsCycleDependency'](_0x5a9d83)&&this['_runtimeService'][_0x31cc14(0x1b9)](),this[_0x31cc14(0x151)][_0x31cc14(0x13e)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x31cc14(0x168)](_0x5a9d83);}['_isCyclicUtilMap'](_0x4a7c41,_0x2fb626){const _0x351b86=_0x5161a1,_0x57ef13=[_0x4a7c41];for(;_0x57ef13['length']>0x0;){const _0x415061=_0x57ef13[_0x57ef13[_0x351b86(0x1b1)]-0x1];if((_0x2fb626[_0x351b86(0x1cc)](_0x415061)||0x0)===0x0){_0x2fb626[_0x351b86(0x190)](_0x415061,0x1);const _0x32ddc9=this['_dependencyTreeCache']['get'](_0x415061);if(_0x32ddc9==null){_0x2fb626[_0x351b86(0x190)](_0x415061,0x2),_0x57ef13[_0x351b86(0x1cd)]();continue;}const _0x77b77c=this[_0x351b86(0x193)][_0x351b86(0x198)](_0x32ddc9[_0x351b86(0x192)]());for(const _0x168fdb of _0x77b77c){const _0x4c8c09=_0x2fb626[_0x351b86(0x1cc)](_0x168fdb)||0x0;if(_0x4c8c09===0x1)return!0x0;_0x4c8c09===0x0&&_0x57ef13[_0x351b86(0x19d)](_0x168fdb);}}else _0x2fb626['set'](_0x415061,0x2),_0x57ef13[_0x351b86(0x1cd)]();}return!0x1;}['_checkIsCycleDependency'](_0x3691b3){const _0x263d03=_0x5161a1,_0x2e9778=new Map();for(const _0x445854 of _0x3691b3)if(!_0x2e9778['has'](_0x445854['treeId'])&&this['_isCyclicUtilMap'](_0x445854[_0x263d03(0x1e4)],_0x2e9778))return!0x0;return _0x2e9778['clear'](),!0x1;}[_0x5161a1(0x18e)](_0x395bc1,_0x3d0915,_0x105f21){const _0x423ee6=_0x5161a1,{unitId:_0x25224d,subUnitId:_0x2af6f4,dependencyRanges:_0x2f6d1d,getDirtyData:_0x579a36}=_0x105f21,_0x4ed3ac=_0x3d0915||u[_0x423ee6(0x18f)](this['_dependencyManagerService']),_0x30b5bd=new u[(_0x423ee6(0x1d6))](_0x4ed3ac);_0x30b5bd['unitId']=_0x25224d,_0x30b5bd[_0x423ee6(0x19e)]=_0x2af6f4,_0x30b5bd[_0x423ee6(0x1ee)]=_0x2f6d1d,_0x30b5bd[_0x423ee6(0x1a6)]=_0x579a36;const _0x121c9c=_0x579a36(this[_0x423ee6(0x15c)][_0x423ee6(0x1a6)](),this[_0x423ee6(0x1c0)][_0x423ee6(0x1df)]()),_0x527ec5=this[_0x423ee6(0x13f)](_0x121c9c['dirtyRanges']);return _0x30b5bd[_0x423ee6(0x1c9)]=_0x527ec5,_0x30b5bd[_0x423ee6(0x196)]=_0x395bc1,_0x30b5bd[_0x423ee6(0x1aa)]=u['FormulaDependencyTreeType'][_0x423ee6(0x18a)],this['_dependencyManagerService'][_0x423ee6(0x195)](_0x25224d,_0x2af6f4,_0x395bc1,_0x30b5bd),this['_dependencyTreeCache']['set'](_0x30b5bd[_0x423ee6(0x1e4)],_0x30b5bd),this[_0x423ee6(0x193)][_0x423ee6(0x1a4)](_0x105f21[_0x423ee6(0x194)],_0x105f21['subUnitId'],_0x395bc1)&&(_0x30b5bd[_0x423ee6(0x1da)]=!0x0),_0x30b5bd;}[_0x5161a1(0x1d7)](_0x40d98e,_0x9406d1,_0x239416){const _0x403572=_0x5161a1;var _0x475fd4;for(const _0xfa0701 of _0x9406d1){const _0x3e2e71=_0x40d98e[_0xfa0701];if(_0x3e2e71==null)continue;const _0x2e6d98=Object['keys'](_0x3e2e71);for(const _0x28c381 of _0x2e6d98){const _0x5ab566=_0x3e2e71[_0x28c381];if(_0x5ab566==null)continue;const _0x35b38b=Object['keys'](_0x5ab566);for(const _0x29097d of _0x35b38b){const _0x2f104b=this[_0x403572(0x193)][_0x403572(0x156)](_0x29097d),_0x8bf739=_0x5ab566[_0x29097d],{f:_0x84ec59,ranges:_0x3b2c29}=_0x8bf739;let _0xa2d82=!0x1;_0x2f104b&&(_0xa2d82=!0x0);const {firstRow:_0x1454a5,firstColumn:_0x13f698}=this[_0x403572(0x1d5)](_0x3b2c29),_0x3e8004=this[_0x403572(0x193)]['getOtherFormulaDependency'](_0xfa0701,_0x28c381,_0x29097d),_0x9fb27d=(_0x475fd4=_0x3e8004==null?void 0x0:_0x3e8004[_0x403572(0x1ec)](0x0,0x0))!=null?_0x475fd4:u['generateRandomDependencyTreeId'](this[_0x403572(0x193)]),_0x38b6b5=new u[(_0x403572(0x1d6))](_0x9fb27d);for(let _0x21f68c=0x0;_0x21f68c<_0x3b2c29[_0x403572(0x1b1)];_0x21f68c++){const _0x258552=_0x3b2c29[_0x21f68c],{startRow:_0x271064,startColumn:_0x289b68,endRow:_0x30a6f5,endColumn:_0x23118c}=_0x258552;for(let _0x632c30=_0x271064;_0x632c30<=_0x30a6f5;_0x632c30++)for(let _0x389a5d=_0x289b68;_0x389a5d<=_0x23118c;_0x389a5d++){const _0x284ec8=_0x389a5d-_0x13f698,_0x20bd22=_0x632c30-_0x1454a5;if(_0x284ec8===0x0&&_0x20bd22===0x0){_0x38b6b5[_0x403572(0x14e)]=_0x84ec59,_0x38b6b5['unitId']=_0xfa0701,_0x38b6b5[_0x403572(0x19e)]=_0x28c381,_0x38b6b5[_0x403572(0x15e)]=_0x29097d,_0x38b6b5[_0x403572(0x1aa)]=u[_0x403572(0x180)][_0x403572(0x17d)],_0x38b6b5[_0x403572(0x1da)]=_0xa2d82,_0x239416[_0x403572(0x19d)](_0x38b6b5),this[_0x403572(0x151)][_0x403572(0x190)](_0x38b6b5[_0x403572(0x1e4)],_0x38b6b5),this[_0x403572(0x193)][_0x403572(0x1f3)](_0xfa0701,_0x28c381,_0x29097d,_0x38b6b5),this[_0x403572(0x193)]['addFormulaDependencyByDefinedName'](_0x38b6b5);continue;}const _0x258f9c=new u['FormulaDependencyTreeVirtual']();_0x258f9c[_0x403572(0x1e4)]=(_0x3e8004==null?void 0x0:_0x3e8004['getValue'](_0x284ec8,_0x20bd22))||u[_0x403572(0x18f)](this[_0x403572(0x193)]),_0x258f9c[_0x403572(0x144)]=_0x38b6b5,_0x258f9c[_0x403572(0x13d)]=_0x284ec8,_0x258f9c[_0x403572(0x150)]=_0x20bd22,_0x258f9c[_0x403572(0x1da)]=_0xa2d82,this[_0x403572(0x193)][_0x403572(0x1f3)](_0xfa0701,_0x28c381,_0x29097d,_0x258f9c),this[_0x403572(0x193)][_0x403572(0x14f)](_0x258f9c),_0x239416[_0x403572(0x19d)](_0x258f9c),this[_0x403572(0x151)][_0x403572(0x190)](_0x258f9c[_0x403572(0x1e4)],_0x258f9c);}}this[_0x403572(0x193)][_0x403572(0x1a8)](_0x29097d);}}}}[_0x5161a1(0x1bf)](_0x4ee519,_0x26c1c4,_0x1341a9,_0x8a3e37){const _0x386972=_0x5161a1;for(const _0x380183 of _0x4ee519){const _0xa6c572=_0x26c1c4[_0x380183];if(_0xa6c572==null)continue;const _0x530669=Object[_0x386972(0x1d2)](_0xa6c572);for(const _0xe51cb8 of _0x530669){const _0x595f9d=new w[(_0x386972(0x1c4))](_0xa6c572[_0xe51cb8]||{}),_0x18b726=new Map();_0x595f9d[_0x386972(0x1b5)]((_0x5b28d5,_0x1b394a,_0x4ccd6f)=>{const _0x5cb785=_0x386972;if(_0x4ccd6f==null)return!0x0;const {x:_0x507a5f=0x0,y:_0x21bc78=0x0,si:_0x3e4227}=_0x4ccd6f;if(!(_0x507a5f===0x0&&_0x21bc78===0x0&&_0x3e4227!=null))return!0x0;const _0xa73559=this['_createFDtree'](_0x380183,_0xe51cb8,_0x5b28d5,_0x1b394a,_0x1341a9,_0x4ccd6f),_0x47628a=this[_0x5cb785(0x193)][_0x5cb785(0x15d)](_0x380183,_0xe51cb8,_0x5b28d5,_0x1b394a);_0x47628a!=null?_0xa73559['treeId']=_0x47628a:(this[_0x5cb785(0x193)]['addFormulaDependency'](_0x380183,_0xe51cb8,_0x5b28d5,_0x1b394a,_0xa73559),this[_0x5cb785(0x193)][_0x5cb785(0x14f)](_0xa73559)),_0x18b726[_0x5cb785(0x190)](_0x3e4227,_0xa73559),_0x8a3e37[_0x5cb785(0x19d)](_0xa73559),this[_0x5cb785(0x151)][_0x5cb785(0x190)](_0xa73559[_0x5cb785(0x1e4)],_0xa73559);}),_0x595f9d[_0x386972(0x1b5)]((_0xf1257f,_0x48f864,_0x44a377)=>{const _0x508791=_0x386972;if(_0x44a377==null)return!0x0;const {x:_0x5ab12a=0x0,y:_0x41afec=0x0,si:_0x1b9a42}=_0x44a377;if(_0x5ab12a===0x0&&_0x41afec===0x0&&_0x1b9a42!=null)return!0x0;let _0x58f488;if(_0x1b9a42&&_0x18b726['has'](_0x1b9a42)){const _0x200a92=_0x18b726[_0x508791(0x1cc)](_0x1b9a42);_0x58f488=this[_0x508791(0x1ed)](_0x200a92,_0x44a377);}else _0x58f488=this[_0x508791(0x138)](_0x380183,_0xe51cb8,_0xf1257f,_0x48f864,_0x1341a9,_0x44a377);const _0x5de8ed=this['_dependencyManagerService']['getFormulaDependency'](_0x380183,_0xe51cb8,_0xf1257f,_0x48f864);_0x5de8ed!=null?_0x58f488[_0x508791(0x1e4)]=_0x5de8ed:(this[_0x508791(0x193)]['addFormulaDependency'](_0x380183,_0xe51cb8,_0xf1257f,_0x48f864,_0x58f488),this[_0x508791(0x193)]['addFormulaDependencyByDefinedName'](_0x58f488)),_0x8a3e37[_0x508791(0x19d)](_0x58f488),this[_0x508791(0x151)][_0x508791(0x190)](_0x58f488['treeId'],_0x58f488);}),_0x18b726['clear']();}}}[_0x5161a1(0x138)](_0x3d8c44,_0x18ddee,_0xea3bf,_0x1f0419,_0x14149b,_0x3e5cf5){const _0xd2ddd3=_0x5161a1,{f:_0x1abf79,x:_0x432def=0x0,y:_0x293eb8=0x0}=_0x3e5cf5,_0x3d1fae=new u[(_0xd2ddd3(0x1d6))](u[_0xd2ddd3(0x18f)](this[_0xd2ddd3(0x193)])),_0xb42254=_0x14149b[_0x3d8c44][_0x18ddee];return _0x3d1fae[_0xd2ddd3(0x14e)]=_0x1abf79,_0x3d1fae[_0xd2ddd3(0x194)]=_0x3d8c44,_0x3d1fae[_0xd2ddd3(0x19e)]=_0x18ddee,_0x3d1fae[_0xd2ddd3(0x17b)]=_0xea3bf,_0x3d1fae[_0xd2ddd3(0x161)]=_0x1f0419,_0x3d1fae[_0xd2ddd3(0x175)]=_0xb42254['rowCount'],_0x3d1fae[_0xd2ddd3(0x137)]=_0xb42254[_0xd2ddd3(0x137)],_0x3d1fae;}[_0x5161a1(0x1c3)](){const _0x185254=_0x5161a1,_0x299be0=[],_0x1803b9=new Set(),_0x1b6804=this[_0x185254(0x15c)][_0x185254(0x1ac)](),_0x44a849=this[_0x185254(0x15c)][_0x185254(0x1c8)](),_0xf79a1f=this['_dependencyManagerService'][_0x185254(0x198)](_0x44a849),_0x12ed55=this[_0x185254(0x1be)][_0x185254(0x1ca)](_0x44a849);for(const _0x1eac6c of _0x12ed55)_0xf79a1f[_0x185254(0x1b8)](_0x1eac6c);for(const [_0x5dfc4f,_0x13507b]of this['_dependencyTreeCache'])(_0x1b6804||_0x13507b['isDirty']||_0x13507b[_0x185254(0x1a1)](this[_0x185254(0x15c)][_0x185254(0x1d4)]())||_0xf79a1f[_0x185254(0x1d1)](_0x5dfc4f)&&!_0x13507b[_0x185254(0x184)](this[_0x185254(0x15c)][_0x185254(0x18b)]()))&&!_0x1803b9['has'](_0x5dfc4f)&&(_0x299be0['push'](_0x13507b),_0x1803b9[_0x185254(0x1b8)](_0x5dfc4f));for(const [_0x1f6d9e,_0x1fdf82]of this[_0x185254(0x151)])_0x1fdf82[_0x185254(0x155)]||(_0x1fdf82[_0x185254(0x1ee)]['length']=0x0);return _0x299be0;}['_getTreeById'](_0x270c29){const _0x426796=_0x5161a1;return this['_dependencyTreeCache'][_0x426796(0x1cc)](_0x270c29);}[_0x5161a1(0x197)](_0x1f79d4){const _0x394bbb=_0x5161a1;return u[_0x394bbb(0x169)](_0x1f79d4[_0x394bbb(0x194)],_0x1f79d4['formula'],this[_0x394bbb(0x1c5)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x5161a1(0x1b4)](_0x516308,_0x249b7c){const _0x4931e5=_0x5161a1,_0x5ce7e3=_0x516308,_0x1b81b6=new Set();for(;_0x5ce7e3[_0x4931e5(0x1b1)]>0x0;){const _0x4dcdab=_0x5ce7e3[_0x4931e5(0x1cd)]();if(_0x1b81b6[_0x4931e5(0x13e)](),_0x4dcdab===void 0x0||_0x4dcdab['isSkip']())continue;if(_0x4dcdab[_0x4931e5(0x188)]()){yield _0x4dcdab,_0x4dcdab[_0x4931e5(0x1ef)](),_0x249b7c[_0x4931e5(0x1b8)](_0x4dcdab['treeId']);continue;}const _0x5e9200=this[_0x4931e5(0x193)][_0x4931e5(0x198)](_0x4dcdab[_0x4931e5(0x192)](),_0x249b7c),_0x956178=this[_0x4931e5(0x1be)]['bulkSearch'](_0x4dcdab['toRTreeItem'](),_0x249b7c);for(const _0x100a92 of _0x956178)_0x5e9200[_0x4931e5(0x1b8)](_0x100a92);for(const _0x1ad00b of _0x5e9200){const _0x43c97e=this['_dependencyTreeCache'][_0x4931e5(0x1cc)](_0x1ad00b);if(!_0x43c97e)throw new Error(_0x4931e5(0x183));_0x43c97e[_0x4931e5(0x188)]()||_0x4dcdab[_0x4931e5(0x19b)]()||_0x1b81b6[_0x4931e5(0x1b8)](_0x43c97e);}if(_0x5e9200[_0x4931e5(0x13e)](),_0x1b81b6[_0x4931e5(0x1e8)]===0x0)yield _0x4dcdab,_0x4dcdab[_0x4931e5(0x1ef)](),_0x249b7c[_0x4931e5(0x1b8)](_0x4dcdab['treeId']);else{_0x4dcdab['setAdded'](),_0x5ce7e3[_0x4931e5(0x19d)](_0x4dcdab);for(const _0x2127d4 of _0x1b81b6)_0x5ce7e3['push'](_0x2127d4);}}_0x5ce7e3[_0x4931e5(0x1b1)]=0x0,_0x1b81b6[_0x4931e5(0x13e)]();}['_calculateRunList'](_0x45d3cb){const _0x26a790=_0x5161a1,_0x24f6c0=[],_0x5bd677=new Set();for(const _0x5538f1 of this[_0x26a790(0x1b4)](_0x45d3cb,_0x5bd677))_0x24f6c0[_0x26a790(0x19d)](_0x5538f1);return _0x24f6c0;}}class j extends u[_0x5161a1(0x141)]{async['_apply'](_0x1b6b03=!0x1){const _0x8ba62=_0x5161a1;_0x1b6b03?this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)][_0x8ba62(0x19f)]):this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)][_0x8ba62(0x157)]),this[_0x8ba62(0x1ba)]['next'](this[_0x8ba62(0x1c0)]['getRuntimeState']());const _0x495e2d=await this[_0x8ba62(0x16d)][_0x8ba62(0x163)](),_0xba2b0a=this[_0x8ba62(0x16a)];_0x1b6b03?(this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x8ba62(0x1c0)][_0x8ba62(0x15b)](_0x495e2d[_0x8ba62(0x1b1)])):(this['_runtimeService'][_0x8ba62(0x149)](u[_0x8ba62(0x18d)]['START_CALCULATION']),this[_0x8ba62(0x1c0)][_0x8ba62(0x1e7)](_0x495e2d[_0x8ba62(0x1b1)])),this['_executionInProgressListener$'][_0x8ba62(0x1ab)](this[_0x8ba62(0x1c0)]['getRuntimeState']());let _0x471afa=[];const _0xf47771=this[_0x8ba62(0x14d)]['getConfig'](u['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x34dd87=(_0xf47771==null?void 0x0:_0xf47771[_0x8ba62(0x1f2)])||u['DEFAULT_INTERVAL_COUNT'];let _0xda7627=0x0;const _0x5d0477=_0x495e2d[_0x8ba62(0x1b1)];for(;_0x495e2d[_0x8ba62(0x1b1)]>0x0;){const _0x5e486a=_0x495e2d[_0x8ba62(0x1cd)](),_0x588135={'node':u[_0x8ba62(0x169)](_0x5e486a[_0x8ba62(0x194)],_0x5e486a[_0x8ba62(0x14e)],this[_0x8ba62(0x1c5)],this[_0x8ba62(0x181)],this[_0x8ba62(0x15c)]),'refOffsetX':_0x5e486a[_0x8ba62(0x13d)],'refOffsetY':_0x5e486a['refOffsetY']},_0x5e927b=_0x5e486a[_0x8ba62(0x1a6)];if(_0xda7627%_0x34dd87===0x0&&(await new Promise(_0x1cd452=>{const _0xa60549=_0x8ba62,_0x29c303=w[_0xa60549(0x13b)](_0x1cd452);_0x471afa[_0xa60549(0x19d)](_0x29c303);}),_0x1b6b03?(this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)][_0x8ba62(0x14c)]),this[_0x8ba62(0x1c0)][_0x8ba62(0x172)](_0xda7627+0x1)):(this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)][_0x8ba62(0x164)]),this[_0x8ba62(0x1c0)]['setCompletedFormulasCount'](_0xda7627+0x1)),this[_0x8ba62(0x1ba)][_0x8ba62(0x1ab)](this[_0x8ba62(0x1c0)][_0x8ba62(0x1d9)]()),this['_runtimeService'][_0x8ba62(0x1a2)]()||_0x588135==null&&_0x5e927b==null)){this[_0x8ba62(0x1c0)][_0x8ba62(0x149)](u[_0x8ba62(0x18d)][_0x8ba62(0x13c)]),this['_runtimeService']['markedAsStopFunctionsExecuted'](),this[_0x8ba62(0x17a)][_0x8ba62(0x1ab)](this[_0x8ba62(0x1c0)]['getAllRuntimeData']());return;}this[_0x8ba62(0x1c0)]['setCurrent'](_0x5e486a[_0x8ba62(0x17b)],_0x5e486a[_0x8ba62(0x161)],_0x5e486a[_0x8ba62(0x175)],_0x5e486a[_0x8ba62(0x137)],_0x5e486a['subUnitId'],_0x5e486a[_0x8ba62(0x194)]);let _0x7a5823;if(_0x5e927b!=null&&_0x5e486a[_0x8ba62(0x196)]!=null){const {runtimeCellData:_0x48dc51,dirtyRanges:_0x2a3848}=_0x5e927b(this[_0x8ba62(0x15c)]['getDirtyData'](),this['_runtimeService'][_0x8ba62(0x1df)]());this[_0x8ba62(0x1c0)][_0x8ba62(0x182)](_0x5e486a[_0x8ba62(0x196)],_0x48dc51),this['_runtimeService']['setRuntimeFeatureRange'](_0x5e486a[_0x8ba62(0x196)],_0x2a3848);}else _0x588135!=null&&(_0xba2b0a[_0x8ba62(0x186)](_0x588135[_0x8ba62(0x185)])?_0x7a5823=await _0xba2b0a['executeAsync'](_0x588135):_0x7a5823=_0xba2b0a['execute'](_0x588135),_0x5e486a['formulaId']!=null?this[_0x8ba62(0x1c0)]['setRuntimeOtherData'](_0x5e486a['formulaId'],_0x5e486a[_0x8ba62(0x13d)],_0x5e486a[_0x8ba62(0x150)],_0x7a5823):this[_0x8ba62(0x1c0)][_0x8ba62(0x162)](_0x7a5823));_0xda7627++;}return _0x471afa[_0x8ba62(0x1e6)](_0x8b05d3=>_0x8b05d3()),_0x471afa=[],_0x5d0477>0x0?this[_0x8ba62(0x1c0)][_0x8ba62(0x167)]():_0x1b6b03||this[_0x8ba62(0x1c0)]['markedAsNoFunctionsExecuted'](),this[_0x8ba62(0x1c0)][_0x8ba62(0x1df)]();}}class G extends u[_0x5161a1(0x189)]{constructor(){const _0x136c5b=_0x5161a1;super(...arguments),S(this,_0x136c5b(0x199),new Map()),S(this,_0x136c5b(0x145),new w[(_0x136c5b(0x143))](!0x0));}[_0x5161a1(0x179)](){const _0x353b1=_0x5161a1;this[_0x353b1(0x19c)]['clear'](),this[_0x353b1(0x165)]['clear'](),this[_0x353b1(0x17e)]['clear'](),this[_0x353b1(0x145)]['clear'](),this['_allTreeMap'][_0x353b1(0x13e)](),this[_0x353b1(0x1eb)](),this['_otherFormulaDataMainData'][_0x353b1(0x13e)]();}[_0x5161a1(0x1f3)](_0x1bdb43,_0x45d605,_0x8cc2ef,_0x579b77){const _0x4d8cd0=_0x5161a1;this[_0x4d8cd0(0x19c)][_0x4d8cd0(0x1d1)](_0x1bdb43)||this[_0x4d8cd0(0x19c)][_0x4d8cd0(0x190)](_0x1bdb43,new Map());const _0x9510c5=this[_0x4d8cd0(0x19c)][_0x4d8cd0(0x1cc)](_0x1bdb43);_0x9510c5[_0x4d8cd0(0x1d1)](_0x45d605)||_0x9510c5[_0x4d8cd0(0x190)](_0x45d605,new Map());const _0x48e64d=_0x9510c5[_0x4d8cd0(0x1cc)](_0x45d605);_0x48e64d[_0x4d8cd0(0x1d1)](_0x8cc2ef)||_0x48e64d[_0x4d8cd0(0x190)](_0x8cc2ef,new w[(_0x4d8cd0(0x1c4))]()),_0x48e64d[_0x4d8cd0(0x1cc)](_0x8cc2ef)[_0x4d8cd0(0x1a0)](_0x579b77[_0x4d8cd0(0x13d)],_0x579b77['refOffsetY'],_0x579b77[_0x4d8cd0(0x1e4)]);}[_0x5161a1(0x1ea)](_0xa4629c,_0x11e5c9,_0x1dfe62){const _0x741956=_0x5161a1,_0x1ffc75=this['_otherFormulaData'][_0x741956(0x1cc)](_0xa4629c);if(_0x1ffc75&&_0x1ffc75['has'](_0x11e5c9)){const _0x28d481=_0x1ffc75[_0x741956(0x1cc)](_0x11e5c9);_0x1dfe62['forEach'](_0x24ac1c=>{const _0xa5f1e6=_0x741956,_0xbaa0f0=_0x28d481[_0xa5f1e6(0x1cc)](_0x24ac1c);_0xbaa0f0!=null&&(_0xbaa0f0[_0xa5f1e6(0x1b5)]((_0x8fa3c5,_0x57cb80,_0x401b2d)=>{this['_removeDependencyRTreeCache'](_0x401b2d),this['_removeAllTreeMap'](_0x401b2d);}),_0x28d481['delete'](_0x24ac1c),this[_0xa5f1e6(0x178)][_0xa5f1e6(0x19a)](_0x24ac1c));}),_0x28d481[_0x741956(0x1e8)]===0x0&&_0x1ffc75[_0x741956(0x19a)](_0x11e5c9),_0x1ffc75['size']===0x0&&this[_0x741956(0x19c)][_0x741956(0x19a)](_0xa4629c);}}[_0x5161a1(0x1d0)](_0x51ea51,_0x2ddc3d){const _0x7390e6=_0x5161a1,_0x305573=this[_0x7390e6(0x19c)][_0x7390e6(0x1cc)](_0x51ea51);if(_0x2ddc3d&&_0x305573&&_0x305573[_0x7390e6(0x1d1)](_0x2ddc3d)){const _0x2beaf7=_0x305573[_0x7390e6(0x1cc)](_0x2ddc3d);this['_removeDependencyRTreeCacheById'](_0x51ea51,_0x2ddc3d);for(const _0x4bafa4 of _0x2beaf7[_0x7390e6(0x1d2)]()){const _0x317b46=_0x2beaf7[_0x7390e6(0x1cc)](_0x4bafa4);_0x317b46!=null&&(_0x317b46[_0x7390e6(0x1b5)]((_0x3ebe72,_0x1a56f3,_0x5dcd5a)=>{const _0x48a757=_0x7390e6;this[_0x48a757(0x199)][_0x48a757(0x1cc)](_0x5dcd5a)&&this[_0x48a757(0x147)](_0x5dcd5a);}),this['_otherFormulaDataMainData'][_0x7390e6(0x19a)](_0x4bafa4));}_0x2beaf7[_0x7390e6(0x13e)]();}else{if(_0x305573){for(const _0x59aec1 of _0x305573[_0x7390e6(0x1d2)]()){const _0x4b0122=_0x305573[_0x7390e6(0x1cc)](_0x59aec1);this[_0x7390e6(0x1ce)](_0x51ea51,_0x59aec1);for(const _0x494445 of _0x4b0122[_0x7390e6(0x1d2)]()){const _0x3b1d15=_0x4b0122[_0x7390e6(0x1cc)](_0x494445);_0x3b1d15!=null&&(_0x3b1d15[_0x7390e6(0x1b5)]((_0x4a3281,_0x2eef33,_0x4a1849)=>{const _0x439565=_0x7390e6;this[_0x439565(0x199)][_0x439565(0x1cc)](_0x4a1849)&&this[_0x439565(0x147)](_0x4a1849);}),this[_0x7390e6(0x178)][_0x7390e6(0x19a)](_0x494445));}}this[_0x7390e6(0x19c)][_0x7390e6(0x19a)](_0x51ea51);}}}[_0x5161a1(0x195)](_0x42905a,_0x48fa41,_0x190110,_0xc4941a){const _0xdd8840=_0x5161a1;this[_0xdd8840(0x165)][_0xdd8840(0x1d1)](_0x42905a)||this['_featureFormulaData'][_0xdd8840(0x190)](_0x42905a,new Map());const _0x3bbafb=this[_0xdd8840(0x165)][_0xdd8840(0x1cc)](_0x42905a);_0x3bbafb[_0xdd8840(0x1d1)](_0x48fa41)||_0x3bbafb[_0xdd8840(0x190)](_0x48fa41,new Map()),_0x3bbafb[_0xdd8840(0x1cc)](_0x48fa41)[_0xdd8840(0x190)](_0x190110,_0xc4941a[_0xdd8840(0x1e4)]);}[_0x5161a1(0x173)](_0x1ccc25,_0x1f0924,_0x3c0f3f){const _0x550c92=_0x5161a1,_0x1df8db=this['_featureFormulaData'][_0x550c92(0x1cc)](_0x1ccc25);if(_0x1df8db&&_0x1df8db[_0x550c92(0x1d1)](_0x1f0924)){const _0x208a1f=_0x1df8db[_0x550c92(0x1cc)](_0x1f0924);_0x3c0f3f[_0x550c92(0x1e6)](_0x30552d=>{const _0x1c0a3f=_0x550c92,_0x3b00cd=_0x208a1f[_0x1c0a3f(0x1cc)](_0x30552d);_0x3b00cd!=null&&(this[_0x1c0a3f(0x158)](_0x3b00cd),_0x208a1f[_0x1c0a3f(0x19a)](_0x30552d),this['_removeAllTreeMap'](_0x3b00cd));});}}['clearFeatureFormulaDependency'](_0x1e8b09,_0x254a45){const _0x101de5=_0x5161a1,_0x404d0d=this[_0x101de5(0x165)][_0x101de5(0x1cc)](_0x1e8b09);if(_0x254a45&&_0x404d0d&&_0x404d0d[_0x101de5(0x1d1)](_0x254a45)){const _0x17106b=_0x404d0d[_0x101de5(0x1cc)](_0x254a45);this[_0x101de5(0x1ce)](_0x1e8b09,_0x254a45),_0x17106b['forEach'](_0x3a0c03=>{_0x3a0c03!=null&&this['_removeAllTreeMap'](_0x3a0c03);}),_0x17106b[_0x101de5(0x13e)]();}else _0x404d0d&&(_0x404d0d[_0x101de5(0x1e6)]((_0x5dfe57,_0x1d8c88)=>{const _0x2aa6cf=_0x101de5;this[_0x2aa6cf(0x1ce)](_0x1e8b09,_0x1d8c88),_0x5dfe57[_0x2aa6cf(0x1e6)](_0x206a58=>{const _0x343295=_0x2aa6cf;_0x206a58!=null&&this[_0x343295(0x147)](_0x206a58);});}),this[_0x101de5(0x165)][_0x101de5(0x19a)](_0x1e8b09));}[_0x5161a1(0x1e1)](_0x4770fc,_0x12c98f,_0x21114f,_0x98c46c,_0x2392ff){const _0x593a51=_0x5161a1;this['_formulaData']['has'](_0x4770fc)||this[_0x593a51(0x17e)][_0x593a51(0x190)](_0x4770fc,new Map());const _0x3bda0c=this[_0x593a51(0x17e)][_0x593a51(0x1cc)](_0x4770fc);_0x3bda0c['has'](_0x12c98f)||_0x3bda0c[_0x593a51(0x190)](_0x12c98f,new w[(_0x593a51(0x1c4))]()),_0x3bda0c[_0x593a51(0x1cc)](_0x12c98f)['setValue'](_0x21114f,_0x98c46c,_0x2392ff[_0x593a51(0x1e4)]);}[_0x5161a1(0x1f0)](_0x3f925b,_0x2eec74,_0x5c2824,_0x12561f){const _0x2d97e8=_0x5161a1,_0x3c0500=this[_0x2d97e8(0x17e)]['get'](_0x3f925b);if(_0x3c0500&&_0x3c0500[_0x2d97e8(0x1d1)](_0x2eec74)){const _0x33c682=_0x3c0500[_0x2d97e8(0x1cc)](_0x2eec74),_0xb917d5=_0x33c682['getValue'](_0x5c2824,_0x12561f);if(_0xb917d5==null)return;this[_0x2d97e8(0x158)](_0xb917d5),_0x33c682[_0x2d97e8(0x1b0)](_0x5c2824,_0x12561f),this[_0x2d97e8(0x147)](_0xb917d5);}}[_0x5161a1(0x1e0)](_0x2266f7,_0x586b3c){const _0x304107=_0x5161a1,_0x1f439b=this[_0x304107(0x17e)][_0x304107(0x1cc)](_0x2266f7);if(_0x586b3c&&_0x1f439b&&_0x1f439b[_0x304107(0x1d1)](_0x586b3c)){const _0x12e6a5=_0x1f439b[_0x304107(0x1cc)](_0x586b3c);this[_0x304107(0x1ce)](_0x2266f7,_0x586b3c),_0x12e6a5['forValue']((_0x310a1d,_0x2f8a49,_0x142847)=>{const _0x204cef=_0x304107;if(_0x142847==null)return!0x0;this[_0x204cef(0x147)](_0x142847);}),_0x12e6a5[_0x304107(0x179)]();}else _0x1f439b&&(_0x1f439b['forEach']((_0x33b51f,_0x5ececc)=>{const _0x15b0a3=_0x304107;this['_removeDependencyRTreeCacheById'](_0x2266f7,_0x5ececc),_0x33b51f[_0x15b0a3(0x1b5)]((_0x51bdd0,_0x1f4346,_0x3e7ed3)=>{const _0x15b46c=_0x15b0a3;if(_0x3e7ed3==null)return!0x0;this[_0x15b46c(0x147)](_0x3e7ed3);});}),this[_0x304107(0x17e)][_0x304107(0x19a)](_0x2266f7));}[_0x5161a1(0x158)](_0x26c58d){const _0x6b0ca2=_0x5161a1;if(_0x26c58d==null)return;const _0x77db09=this['_allTreeMap'][_0x6b0ca2(0x1cc)](_0x26c58d);if(_0x77db09){const _0x36a525=[];for(const [_0x9dc8dd,_0x24f019]of _0x77db09)for(const [_0x4232a7,_0xf4234f]of _0x24f019)_0x36a525[_0x6b0ca2(0x19d)]({'unitId':_0x9dc8dd,'sheetId':_0x4232a7,'range':_0xf4234f,'id':_0x26c58d});this['_dependencyRTreeCache'][_0x6b0ca2(0x1cf)](_0x36a525);}}[_0x5161a1(0x1b7)](_0x487208,_0x55577a){const _0x4a32a5=_0x5161a1,_0x932dbc=this['_definedNameMap']['get'](_0x487208);if(_0x932dbc){const _0x166008=_0x932dbc['get'](_0x55577a);if(_0x166008){for(const _0x59c6cf of _0x166008)this[_0x4a32a5(0x158)](_0x59c6cf),this['_removeAllTreeMap'](_0x59c6cf);_0x166008[_0x4a32a5(0x13e)]();}}}['openKdTree'](){const _0x5a8067=_0x5161a1;this[_0x5a8067(0x145)][_0x5a8067(0x148)]();}[_0x5161a1(0x142)](){const _0x3b556e=_0x5161a1;this['_dependencyRTreeCache'][_0x3b556e(0x142)]();}['_removeAllTreeMap'](_0x4c1868){const _0x3faa01=_0x5161a1;_0x4c1868!=null&&this[_0x3faa01(0x199)]['delete'](_0x4c1868);}[_0x5161a1(0x1e5)](_0x42f849){const _0x2efcd2=_0x5161a1;var _0x1b89a1,_0x298aee;const _0x2c7ffa=_0x42f849[_0x2efcd2(0x1ee)];let _0x3a5c53=this[_0x2efcd2(0x199)]['get'](_0x42f849['treeId']);for(let _0x2d8402=0x0;_0x2d8402<_0x2c7ffa[_0x2efcd2(0x1b1)];_0x2d8402++){const _0x54a131=_0x2c7ffa[_0x2d8402];let {unitId:_0x10c0a4,sheetId:_0x3c4665,range:_0x23014f}=_0x54a131;_0x3a5c53||(_0x3a5c53=new Map(),this[_0x2efcd2(0x199)][_0x2efcd2(0x190)](_0x42f849[_0x2efcd2(0x1e4)],_0x3a5c53)),_0x3a5c53[_0x2efcd2(0x1d1)](_0x10c0a4)||_0x3a5c53[_0x2efcd2(0x190)](_0x10c0a4,new Map());const _0x3d67c5=(_0x1b89a1=_0x3a5c53==null?void 0x0:_0x3a5c53[_0x2efcd2(0x1cc)](_0x10c0a4))==null?void 0x0:_0x1b89a1['get'](_0x3c4665);_0x3d67c5&&(_0x23014f={'startRow':Math[_0x2efcd2(0x1a3)](_0x23014f['startRow'],_0x3d67c5[_0x2efcd2(0x14a)]),'startColumn':Math['min'](_0x23014f[_0x2efcd2(0x1bb)],_0x3d67c5['startColumn']),'endRow':Math[_0x2efcd2(0x1b3)](_0x23014f['endRow'],_0x3d67c5['endRow']),'endColumn':Math[_0x2efcd2(0x1b3)](_0x23014f[_0x2efcd2(0x154)],_0x3d67c5[_0x2efcd2(0x154)])}),(_0x298aee=_0x3a5c53[_0x2efcd2(0x1cc)](_0x10c0a4))==null||_0x298aee['set'](_0x3c4665,_0x23014f);}}}var B=Object[_0x5161a1(0x170)],Y=(_0x1dd8d4,_0x451668,_0x327e57,_0x140080)=>{const _0x20ab60=_0x5161a1;for(var _0x59a75a=_0x140080>0x1?void 0x0:_0x140080?B(_0x451668,_0x327e57):_0x451668,_0x43ca51=_0x1dd8d4[_0x20ab60(0x1b1)]-0x1,_0x301bcc;_0x43ca51>=0x0;_0x43ca51--)(_0x301bcc=_0x1dd8d4[_0x43ca51])&&(_0x59a75a=_0x301bcc(_0x59a75a)||_0x59a75a);return _0x59a75a;};function _0x4cb2(){const _0x3ecbcf=['_runtimeService','_otherFormulaManagerService','9AnQLwKn\x20elQW8sLwKn(PwQlnFl,\x20sAOPwQxl8)\x20{\x20\x20\x20\x20LW8\x20{\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20PwQlnFlDn9KNVWLMWWV8\x20=\x20PwQlnFl.FsPwL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20KWwUwnjlFFVUl\x20=\x20BzEY.sVWFl(VLKO(PwQlnFlDn9KNVWLMWWV8[c]));\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!KWwUwnjlFFVUl.Ae)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KWwUwnjlFFVUl.Ae\x20=\x20YA4OlW(PwQlnFlDn9KNVWLMWWV8[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20wFGKWylW\x20=\x20L8slK9\x20GKWylWvPKOVPzQKsl\x20!==\x20\x27Anel9wnle\x27\x20&&\x20FlP9\x20wnFLVnQlK9\x20GKWylWvPKOVPzQKsl;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20QKnLlrL\x20=\x20wFGKWylW\x20?\x20FlP9\x20:\x20bwneKb;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[c]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(4lFFVUlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[3]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(FwUnVLAWlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUngVPwe\x20=\x20QKnLlrL.__TlWw98__(FwUnVLAWl,\x204lFFVUl,\x20sAOPwQxl8);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20eK4Vwn\x20=\x20KWwUwnjlFFVUl.e4;\x20\x20\x20\x20\x20\x20\x20\x209AnQLwKn\x20wFIK4VwnjVLQ0wnU(KNVLLlWn,\x20K5KFL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWn\x20=\x20KNVLLlWn.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFL\x20=\x20K5KFL.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnNVWLF\x20=\x20sVLLlWn.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLNVWLF\x20=\x200KFL.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!sVLLlWn.wnQPAelF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWn\x20===\x200KFL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(sVLLlWnNVWLF.PlnUL0\x20<\x20c\x20||\x20sVLLlWnNVWLF[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x209VPFl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnzA99wr\x20=\x20sVLLlWnNVWLF.FPwQl(J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLzA99wr\x20=\x200KFLNVWLF.FPwQl(-sVLLlWnNVWLF.PlnUL0\x20+\x20J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWnzA99wr\x20===\x200KFLzA99wr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PlL\x20eK4VwngVPwe\x20=\x20(eK4Vwn\x20&&\x20eK4Vwn.PlnUL0)\x20?\x20eK4Vwn.FK4l((e4DLl4)\x20=>\x20wFIK4VwnjVLQ0wnU(e4DLl4,\x20PKQVLwKn.0KFLnV4l))\x20:\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(PKQVLwKn.0KFLnV4l\x20===\x20\x27PKQVP0KFL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eK4VwngVPwe\x20=\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20TVPwe\x20=\x20FwUngVPwe\x20&&\x20eK4VwngVPwe;\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20KWwUwnjlFFVUl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20QVLQ0\x20(lWWKW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe:\x209VPFl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_getUpdateTreeListAndMakeDependency','ObjectMatrix','_lexer','getClearDependencyTreeCache','call','getDirtyRanges','featureDirtyRanges','bulkSearch','_injector','get','pop','_removeDependencyRTreeCacheById','bulkRemove','clearOtherFormulaDependency','has','keys','message','getDirtyNameMap','_getFirstCellOfRange','FormulaDependencyTree','_registerOtherFormulas','_initLicenseValid','getRuntimeState','isCache','clearFeatureFormulaDependency','getUnitData','3229443QHLGLy','3056BqXZdd','getAllRuntimeData','clearFormulaDependency','addFormulaDependency','461344SaHNDb','_initializeWithOverride','treeId','_addAllTreeMap','forEach','setTotalFormulasToCalculate','size','unshiftString','removeOtherFormulaDependency','_restDependencyTreeId','getValue','_createVirtualFDtree','rangeList','setSkip','removeFormulaDependency','_updateRangeFlatten','intervalCount','addOtherFormulaDependency','columnCount','_createFDtree','parseInt','_generateTreeList','requestImmediateMacroTask','IDLE','refOffsetX','clear','_convertDirtyRangesToUnitRange','_config','CalculateFormulaService','closeKdTree','RTree','refTree','_dependencyRTreeCache','ICalculateFormulaService','_removeAllTreeMap','openKdTree','setFormulaExecuteStage','startRow','getFormulaData','CURRENTLY_CALCULATING_ARRAY_FORMULA','_configService','formula','addFormulaDependencyByDefinedName','refOffsetY','_dependencyTreeCache','FormulaDependencyGenerator','return\x20','endColumn','isVirtual','hasOtherFormulaDataMainData','START_DEPENDENCY','_removeDependencyRTreeCache','5DrUpGf','valid','setTotalArrayFormulasToCalculate','_currentConfigService','getFormulaDependency','formulaId','dispose','LS_CONFIG_KEY','column','setRuntimeData','generate','CURRENTLY_CALCULATING','_featureFormulaData','1664356JRkDRN','markedAsSuccessfullyExecuted','resolve','generateAstNode','_interpreter','IDependencyManagerService','45UeCoaq','_formulaDependencyGenerator','3991266XbyDmU','hasOwnProperty','getOwnPropertyDescriptor','8424846SSBiqa','setCompletedArrayFormulasCount','removeFeatureFormulaDependency','toStringTag','rowCount','prototype','_calculateRunList','_otherFormulaDataMainData','reset','_executionCompleteListener$','row','isFeatureAuthorizedWithinTime','OTHER_FORMULA','_formulaData','default','FormulaDependencyTreeType','_astTreeBuilder','setRuntimeFeatureCellData','ParentDependencyTree\x20object\x20is\x20null','isExcludeRange','node','checkAsyncNode','UniverLicensePlugin','isAdded','DependencyManagerBaseService','FEATURE_FORMULA','getExcludedRange','notExecuteFormula','FormulaExecuteStageType','_getFeatureFormulaTree','generateRandomDependencyTreeId','set','95244uHTziz','toRTreeItem','_dependencyManagerService','unitId','addFeatureFormulaDependency','featureId','_getTreeNode','searchDependency','_allTreeMap','delete','isSkip','_otherFormulaData','push','subUnitId','START_DEPENDENCY_ARRAY_FORMULA','setValue','dependencySheetName','isStopExecution','min','getFeatureFormulaDependency','getOtherFormulaData','getDirtyData','defineProperty','addOtherFormulaDependencyMainData','DependencyManagerService','type','next','isForceCalculate','getSheetFeatureLimit','UniverProFormulaEnginePlugin','UniverFormulaEnginePlugin','realDeleteValue','length','getConfig','max','_traverse','forValue','Module','removeFormulaDependencyByDefinedName','add','enableCycleDependency','_executionInProgressListener$','startColumn','IFormulaDependencyGenerator','symbol','_dependencyRTreeCacheForAddressFunction','_registerFormulas'];_0x4cb2=function(){return _0x3ecbcf;};return _0x4cb2();}const z=Number[_0x5161a1(0x139)](0x689b2b81);exports['UniverProFormulaEnginePlugin']=class extends u[_0x5161a1(0x1af)]{[_0x5161a1(0x1e3)](){const _0x496286=_0x5161a1;var _0x413c8a,_0x444863;this['_initLicenseValid']()?(_0x413c8a=this[_0x496286(0x140)])!=null&&_0x413c8a[_0x496286(0x18c)]||[[u[_0x496286(0x146)],{'useClass':j}],[u[_0x496286(0x16b)],{'useClass':G}],[u[_0x496286(0x1bc)],{'useClass':k}]][_0x496286(0x1e6)](_0x18bc9c=>this[_0x496286(0x1cb)][_0x496286(0x1b8)](_0x18bc9c)):(_0x444863=this[_0x496286(0x140)])!=null&&_0x444863[_0x496286(0x18c)]||[[u[_0x496286(0x146)],{'useClass':u[_0x496286(0x141)]}],[u[_0x496286(0x16b)],{'useClass':u[_0x496286(0x1a9)]}],[u[_0x496286(0x1bc)],{'useClass':u[_0x496286(0x152)]}]][_0x496286(0x1e6)](_0xcd2ebc=>this['_injector'][_0x496286(0x1b8)](_0xcd2ebc));}[_0x5161a1(0x1d8)](){const _0x13412f=_0x5161a1;var _0x5d672d;const _0x2b3cba=(_0x5d672d=this[_0x13412f(0x14d)][_0x13412f(0x1b2)](C[_0x13412f(0x160)]))!=null?_0x5d672d:{},{ls:_0x46d38d,pbk:_0x14e79f}=_0x2b3cba;if(!_0x46d38d||!_0x14e79f)return!0x1;const _0x4e6ac1=C[_0x13412f(0x1e9)](b,N),_0x3b43fa=new Function(_0x13412f(0x153)+_0x4e6ac1)()(_0x46d38d,_0x14e79f),_0x27b6dd=_0x3b43fa[_0x13412f(0x1d3)];return _0x3b43fa[_0x13412f(0x15a)]&&C[_0x13412f(0x17c)](_0x27b6dd,'sf',z)?C[_0x13412f(0x1ad)](_0x27b6dd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x5161a1(0x1ae)]=Y([w['DependentOn'](C[_0x5161a1(0x187)])],exports[_0x5161a1(0x1ae)]),Object[_0x5161a1(0x1d2)](u)[_0x5161a1(0x1e6)](_0x3bdd50=>{const _0x9bdfb6=_0x5161a1;_0x3bdd50!==_0x9bdfb6(0x17f)&&!Object[_0x9bdfb6(0x176)][_0x9bdfb6(0x16f)][_0x9bdfb6(0x1c7)](exports,_0x3bdd50)&&Object[_0x9bdfb6(0x1a7)](exports,_0x3bdd50,{'enumerable':!0x0,'get':()=>u[_0x3bdd50]});});
|
|
1
|
+
'use strict';function _0x3a5b(_0x1e0197,_0x43613f){const _0x28f0e3=_0x28f0();return _0x3a5b=function(_0x3a5b61,_0x29470e){_0x3a5b61=_0x3a5b61-0xdb;let _0x5705e3=_0x28f0e3[_0x3a5b61];return _0x5705e3;},_0x3a5b(_0x1e0197,_0x43613f);}const _0x49d587=_0x3a5b;(function(_0x2af673,_0x20ccf9){const _0x7935f5=_0x3a5b,_0x5929f7=_0x2af673();while(!![]){try{const _0x17d8bd=-parseInt(_0x7935f5(0x18f))/0x1+parseInt(_0x7935f5(0x123))/0x2*(parseInt(_0x7935f5(0x137))/0x3)+-parseInt(_0x7935f5(0x159))/0x4*(-parseInt(_0x7935f5(0x115))/0x5)+-parseInt(_0x7935f5(0xf5))/0x6*(parseInt(_0x7935f5(0x187))/0x7)+-parseInt(_0x7935f5(0x14a))/0x8*(parseInt(_0x7935f5(0xe3))/0x9)+-parseInt(_0x7935f5(0x100))/0xa+-parseInt(_0x7935f5(0x11f))/0xb*(-parseInt(_0x7935f5(0x13e))/0xc);if(_0x17d8bd===_0x20ccf9)break;else _0x5929f7['push'](_0x5929f7['shift']());}catch(_0x2ebe98){_0x5929f7['push'](_0x5929f7['shift']());}}}(_0x28f0,0x89bba));var P=Object[_0x49d587(0x128)],U=(_0x2653a0,_0x53b533,_0x570296)=>_0x53b533 in _0x2653a0?P(_0x2653a0,_0x53b533,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x570296}):_0x2653a0[_0x53b533]=_0x570296,R=(_0x27b3b4,_0x4b30d6,_0x22192f)=>U(_0x27b3b4,typeof _0x4b30d6!=_0x49d587(0x16e)?_0x4b30d6+'':_0x4b30d6,_0x22192f);Object[_0x49d587(0x128)](exports,Symbol[_0x49d587(0x15c)],{'value':_0x49d587(0x175)});const M=require('@univerjs-pro/license'),S=require('@univerjs/core'),u=require('@univerjs/engine-formula'),N={0x0:'K',0x1:'h',0x2:'o',0x3:'9',0x4:'a',0x5:'d',0x6:'u',0x7:'S',0x8:'A',0x9:'q','H':'0','X':'1','Y':'2','z':'3','r':'4','i':'5','U':'6','M':'7','n':'8','b':'b','F':'c','g':'e','T':'f','I':'g','C':'i','f':'j','l':'k','O':'l','G':'m','s':'n','V':'p','Z':'r','D':'s','o':'t','J':'v','B':'w','R':'x','Q':'y','j':'z','m':'B','q':'C','u':'D','W':'E','L':'F','v':'G','x':'H','P':'I','A':'J','y':'L','h':'M','K':'N','d':'O','t':'P','p':'Q','k':'R','w':'T','E':'U','a':'V','c':'W','S':'X','N':'Y','e':'Z'},k=_0x49d587(0x11b);class B extends u['FormulaDependencyGenerator']{constructor(){super(...arguments),R(this,'_dependencyTreeCache',new Map());}[_0x49d587(0x171)](){const _0x17bb45=_0x49d587;super['dispose'](),this[_0x17bb45(0x118)][_0x17bb45(0x152)]();}async[_0x49d587(0x125)](){const _0x3b6c48=_0x49d587;this[_0x3b6c48(0x130)]();const _0x73ccda=this[_0x3b6c48(0x155)][_0x3b6c48(0x172)](),_0x4a0300=this[_0x3b6c48(0x15a)][_0x3b6c48(0x110)](),_0x26d0d0=this[_0x3b6c48(0x155)]['getClearDependencyTreeCache']();_0x26d0d0!=null&&Object[_0x3b6c48(0xea)](_0x26d0d0)[_0x3b6c48(0x131)](_0x382166=>{const _0x2e0559=_0x3b6c48;_0x382166!=null&&Object[_0x2e0559(0xea)](_0x26d0d0[_0x382166])[_0x2e0559(0x131)](_0x547851=>{const _0x5fd46=_0x2e0559;_0x547851!=null&&(this[_0x5fd46(0xfe)]['clearOtherFormulaDependency'](_0x382166,_0x547851),this[_0x5fd46(0xfe)][_0x5fd46(0x162)](_0x382166,_0x547851),this[_0x5fd46(0xfe)][_0x5fd46(0x10b)](_0x382166,_0x547851));});});const _0x5239c1=this['_currentConfigService']['getUnitData']();await this[_0x3b6c48(0x16f)](_0x73ccda,_0x4a0300,_0x5239c1),this[_0x3b6c48(0xfe)][_0x3b6c48(0xf1)]();const _0x49af2f=this[_0x3b6c48(0x109)](),_0x3c5645=this[_0x3b6c48(0x165)](_0x49af2f);return this[_0x3b6c48(0x15e)](_0x3c5645)&&this['_runtimeService']['enableCycleDependency'](),this[_0x3b6c48(0x118)]['clear'](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x3b6c48(0xfe)][_0x3b6c48(0x144)](),Promise[_0x3b6c48(0x116)](_0x3c5645);}['_isCyclicUtilMap'](_0x265331,_0x21d725){const _0x2a6f71=_0x49d587,_0xced9af=[_0x265331];for(;_0xced9af[_0x2a6f71(0x14c)]>0x0;){const _0x5bf947=_0xced9af[_0xced9af[_0x2a6f71(0x14c)]-0x1];if((_0x21d725[_0x2a6f71(0xf2)](_0x5bf947)||0x0)===0x0){_0x21d725[_0x2a6f71(0x160)](_0x5bf947,0x1);const _0x37193e=this[_0x2a6f71(0x118)]['get'](_0x5bf947);if(_0x37193e==null){_0x21d725[_0x2a6f71(0x160)](_0x5bf947,0x2),_0xced9af['pop']();continue;}const _0x415499=this[_0x2a6f71(0xfe)][_0x2a6f71(0x166)](_0x37193e['toRTreeItem']());for(const _0x54edb0 of _0x415499){const _0x3fe386=_0x21d725[_0x2a6f71(0xf2)](_0x54edb0)||0x0;if(_0x3fe386===0x1)return!0x0;_0x3fe386===0x0&&_0xced9af[_0x2a6f71(0x107)](_0x54edb0);}}else _0x21d725[_0x2a6f71(0x160)](_0x5bf947,0x2),_0xced9af[_0x2a6f71(0x132)]();}return!0x1;}[_0x49d587(0x15e)](_0x4fbff1){const _0x33c208=_0x49d587,_0x2af718=new Map();for(const _0x489d48 of _0x4fbff1)if(!_0x2af718[_0x33c208(0x138)](_0x489d48[_0x33c208(0x185)])&&this[_0x33c208(0x145)](_0x489d48[_0x33c208(0x185)],_0x2af718))return!0x0;return _0x2af718[_0x33c208(0x152)](),!0x1;}['_getFeatureFormulaTree'](_0x382f56,_0x36ee6e,_0x2ce671){const _0x4011e6=_0x49d587,{unitId:_0x206140,subUnitId:_0x1b021e,dependencyRanges:_0x19c9db,getDirtyData:_0x51a3c8}=_0x2ce671,_0x3a2dfe=_0x36ee6e||u[_0x4011e6(0x111)](this[_0x4011e6(0xfe)]),_0x5a2bea=new u['FormulaDependencyTree'](_0x3a2dfe);_0x5a2bea[_0x4011e6(0xf0)]=_0x206140,_0x5a2bea['subUnitId']=_0x1b021e,_0x5a2bea['rangeList']=_0x19c9db,_0x5a2bea[_0x4011e6(0xfb)]=_0x51a3c8;const _0x5bac19=_0x51a3c8(this[_0x4011e6(0x155)][_0x4011e6(0xfb)](),this['_runtimeService'][_0x4011e6(0x169)]()),_0x44becd=this[_0x4011e6(0xdf)](_0x5bac19[_0x4011e6(0x168)]);return _0x5a2bea[_0x4011e6(0x146)]=_0x44becd,_0x5a2bea[_0x4011e6(0x195)]=_0x382f56,_0x5a2bea[_0x4011e6(0x114)]=u[_0x4011e6(0x102)][_0x4011e6(0x12a)],this[_0x4011e6(0xfe)][_0x4011e6(0x184)](_0x206140,_0x1b021e,_0x382f56,_0x5a2bea),this[_0x4011e6(0x118)][_0x4011e6(0x160)](_0x5a2bea['treeId'],_0x5a2bea),this[_0x4011e6(0xfe)][_0x4011e6(0x15d)](_0x2ce671[_0x4011e6(0xf0)],_0x2ce671[_0x4011e6(0xf9)],_0x382f56)&&(_0x5a2bea['isCache']=!0x0),_0x5a2bea;}['_registerOtherFormulas'](_0x415721,_0x102c9a,_0x52c751){const _0x2c829a=_0x49d587;var _0x2d2bff;for(const _0x40f659 of _0x102c9a){const _0x292531=_0x415721[_0x40f659];if(_0x292531==null)continue;const _0x4ce047=Object['keys'](_0x292531);for(const _0x454849 of _0x4ce047){const _0x495dc9=_0x292531[_0x454849];if(_0x495dc9==null)continue;const _0x3769ba=Object[_0x2c829a(0xea)](_0x495dc9);for(const _0x566187 of _0x3769ba){const _0xf0c6a2=this[_0x2c829a(0xfe)][_0x2c829a(0x12d)](_0x566187),_0x6e0096=_0x495dc9[_0x566187],{f:_0x48e9ab,ranges:_0x2692e8}=_0x6e0096;let _0x528be0=!0x1;_0xf0c6a2&&(_0x528be0=!0x0);const {firstRow:_0x25c3c7,firstColumn:_0x7d4b81}=this[_0x2c829a(0x164)](_0x2692e8),_0x2d659a=this[_0x2c829a(0xfe)]['getOtherFormulaDependency'](_0x40f659,_0x454849,_0x566187),_0x41a883=(_0x2d2bff=_0x2d659a==null?void 0x0:_0x2d659a[_0x2c829a(0x14b)](0x0,0x0))!=null?_0x2d2bff:u[_0x2c829a(0x111)](this['_dependencyManagerService']),_0x51d95b=new u[(_0x2c829a(0x14e))](_0x41a883);for(let _0x4ed884=0x0;_0x4ed884<_0x2692e8[_0x2c829a(0x14c)];_0x4ed884++){const _0x3e6fc7=_0x2692e8[_0x4ed884],{startRow:_0x2de5d1,startColumn:_0x394305,endRow:_0x106253,endColumn:_0x2420c1}=_0x3e6fc7;for(let _0x56a17c=_0x2de5d1;_0x56a17c<=_0x106253;_0x56a17c++)for(let _0xd7e78e=_0x394305;_0xd7e78e<=_0x2420c1;_0xd7e78e++){const _0x191adc=_0xd7e78e-_0x7d4b81,_0x4b3335=_0x56a17c-_0x25c3c7;if(_0x191adc===0x0&&_0x4b3335===0x0){_0x51d95b['formula']=_0x48e9ab,_0x51d95b[_0x2c829a(0xf0)]=_0x40f659,_0x51d95b[_0x2c829a(0xf9)]=_0x454849,_0x51d95b[_0x2c829a(0xde)]=_0x566187,_0x51d95b[_0x2c829a(0x114)]=u[_0x2c829a(0x102)][_0x2c829a(0x140)],_0x51d95b[_0x2c829a(0x113)]=_0x528be0,_0x52c751[_0x2c829a(0x107)](_0x51d95b),this[_0x2c829a(0x118)][_0x2c829a(0x160)](_0x51d95b[_0x2c829a(0x185)],_0x51d95b),this[_0x2c829a(0xfe)][_0x2c829a(0x13d)](_0x40f659,_0x454849,_0x566187,_0x51d95b),this[_0x2c829a(0xfe)][_0x2c829a(0x15b)](_0x51d95b);continue;}const _0x5d98d9=new u['FormulaDependencyTreeVirtual']();_0x5d98d9[_0x2c829a(0x185)]=(_0x2d659a==null?void 0x0:_0x2d659a[_0x2c829a(0x14b)](_0x191adc,_0x4b3335))||u['generateRandomDependencyTreeId'](this[_0x2c829a(0xfe)]),_0x5d98d9['refTree']=_0x51d95b,_0x5d98d9['refOffsetX']=_0x191adc,_0x5d98d9[_0x2c829a(0x17a)]=_0x4b3335,_0x5d98d9['isCache']=_0x528be0,this['_dependencyManagerService'][_0x2c829a(0x13d)](_0x40f659,_0x454849,_0x566187,_0x5d98d9),this[_0x2c829a(0xfe)][_0x2c829a(0x15b)](_0x5d98d9),_0x52c751['push'](_0x5d98d9),this[_0x2c829a(0x118)][_0x2c829a(0x160)](_0x5d98d9[_0x2c829a(0x185)],_0x5d98d9);}}this[_0x2c829a(0xfe)]['addOtherFormulaDependencyMainData'](_0x566187);}}}}[_0x49d587(0xfa)](_0x1461d0,_0x28d40f,_0x3e3844,_0x40f44a){const _0x460b63=_0x49d587;for(const _0x4775e2 of _0x1461d0){const _0x491812=_0x28d40f[_0x4775e2];if(_0x491812==null)continue;const _0x4fd47a=Object[_0x460b63(0xea)](_0x491812);for(const _0x57320a of _0x4fd47a){const _0x2c42ee=new S['ObjectMatrix'](_0x491812[_0x57320a]||{}),_0x3c9db2=new Map();_0x2c42ee[_0x460b63(0x129)]((_0x4f8cf8,_0xe8f8cd,_0x22bcff)=>{const _0x3a5266=_0x460b63;if(_0x22bcff==null)return!0x0;const {x:_0x16719b=0x0,y:_0x2d0206=0x0,si:_0x1cd854}=_0x22bcff;if(!(_0x16719b===0x0&&_0x2d0206===0x0&&_0x1cd854!=null))return!0x0;const _0x6fa2f9=this['_createFDtree'](_0x4775e2,_0x57320a,_0x4f8cf8,_0xe8f8cd,_0x3e3844,_0x22bcff),_0x47fd60=this['_dependencyManagerService']['getFormulaDependency'](_0x4775e2,_0x57320a,_0x4f8cf8,_0xe8f8cd);_0x47fd60!=null?_0x6fa2f9['treeId']=_0x47fd60:(this[_0x3a5266(0xfe)][_0x3a5266(0x16a)](_0x4775e2,_0x57320a,_0x4f8cf8,_0xe8f8cd,_0x6fa2f9),this[_0x3a5266(0xfe)]['addFormulaDependencyByDefinedName'](_0x6fa2f9)),_0x3c9db2[_0x3a5266(0x160)](_0x1cd854,_0x6fa2f9),_0x40f44a['push'](_0x6fa2f9),this[_0x3a5266(0x118)]['set'](_0x6fa2f9['treeId'],_0x6fa2f9);}),_0x2c42ee['forValue']((_0x1b3746,_0x4761d1,_0x3b81aa)=>{const _0x31d003=_0x460b63;if(_0x3b81aa==null)return!0x0;const {x:_0x125f71=0x0,y:_0x30463e=0x0,si:_0x5eed49}=_0x3b81aa;if(_0x125f71===0x0&&_0x30463e===0x0&&_0x5eed49!=null)return!0x0;let _0x44c149;if(_0x5eed49&&_0x3c9db2[_0x31d003(0x138)](_0x5eed49)){const _0x2357e4=_0x3c9db2[_0x31d003(0xf2)](_0x5eed49);_0x44c149=this['_createVirtualFDtree'](_0x2357e4,_0x3b81aa);}else _0x44c149=this[_0x31d003(0x18d)](_0x4775e2,_0x57320a,_0x1b3746,_0x4761d1,_0x3e3844,_0x3b81aa);const _0x506da3=this[_0x31d003(0xfe)][_0x31d003(0x13c)](_0x4775e2,_0x57320a,_0x1b3746,_0x4761d1);_0x506da3!=null?_0x44c149[_0x31d003(0x185)]=_0x506da3:(this[_0x31d003(0xfe)][_0x31d003(0x16a)](_0x4775e2,_0x57320a,_0x1b3746,_0x4761d1,_0x44c149),this[_0x31d003(0xfe)][_0x31d003(0x15b)](_0x44c149)),_0x40f44a[_0x31d003(0x107)](_0x44c149),this[_0x31d003(0x118)][_0x31d003(0x160)](_0x44c149[_0x31d003(0x185)],_0x44c149);}),_0x3c9db2[_0x460b63(0x152)]();}}}['_createFDtree'](_0x13bf20,_0x570f1d,_0x5d88fe,_0x171345,_0x375d00,_0x355b15){const _0x56baeb=_0x49d587,{f:_0x4db94c,x:_0x26cf1d=0x0,y:_0xd43967=0x0}=_0x355b15,_0x279ba5=new u[(_0x56baeb(0x14e))](u[_0x56baeb(0x111)](this[_0x56baeb(0xfe)])),_0x3df401=_0x375d00[_0x13bf20][_0x570f1d];return _0x279ba5['formula']=_0x4db94c,_0x279ba5[_0x56baeb(0xf0)]=_0x13bf20,_0x279ba5['subUnitId']=_0x570f1d,_0x279ba5[_0x56baeb(0x13b)]=_0x5d88fe,_0x279ba5['column']=_0x171345,_0x279ba5[_0x56baeb(0x153)]=_0x3df401['rowCount'],_0x279ba5[_0x56baeb(0x141)]=_0x3df401[_0x56baeb(0x141)],_0x279ba5;}['_getUpdateTreeListAndMakeDependency'](){const _0x31a441=_0x49d587,_0x5cc2d8=[],_0x107d49=new Set(),_0x5e40dc=this['_currentConfigService'][_0x31a441(0x12e)](),_0x3c8937=this[_0x31a441(0x155)]['getDirtyRanges'](),_0x1b91cb=this[_0x31a441(0xfe)][_0x31a441(0x166)](_0x3c8937),_0xd76449=this[_0x31a441(0x179)]['bulkSearch'](_0x3c8937);for(const _0x39c9aa of _0xd76449)_0x1b91cb[_0x31a441(0x190)](_0x39c9aa);for(const [_0x147841,_0x3227ee]of this[_0x31a441(0x118)])(_0x5e40dc||_0x3227ee[_0x31a441(0xe6)]||_0x3227ee[_0x31a441(0x181)](this['_currentConfigService']['getDirtyNameMap']())||_0x1b91cb[_0x31a441(0x138)](_0x147841)&&!_0x3227ee[_0x31a441(0x105)](this[_0x31a441(0x155)]['getExcludedRange']()))&&!_0x107d49[_0x31a441(0x138)](_0x147841)&&(_0x5cc2d8[_0x31a441(0x107)](_0x3227ee),_0x107d49[_0x31a441(0x190)](_0x147841));for(const [_0xd51ba3,_0x32efac]of this[_0x31a441(0x118)])_0x32efac[_0x31a441(0xe0)]||(_0x32efac[_0x31a441(0x178)][_0x31a441(0x14c)]=0x0);return _0x5cc2d8;}[_0x49d587(0x112)](_0x22ea9f){const _0x454140=_0x49d587;return this[_0x454140(0x118)][_0x454140(0xf2)](_0x22ea9f);}[_0x49d587(0x18e)](_0x394a00){const _0x39740c=_0x49d587;return u[_0x39740c(0x161)](_0x394a00[_0x39740c(0xf0)],_0x394a00[_0x39740c(0x191)],this[_0x39740c(0x134)],this[_0x39740c(0x174)],this['_currentConfigService']);}*['_traverse'](_0x5e2641,_0x2c1118){const _0x563d80=_0x49d587,_0x2031af=_0x5e2641,_0x119161=new Set();for(;_0x2031af['length']>0x0;){const _0x49b520=_0x2031af[_0x563d80(0x132)]();if(_0x119161[_0x563d80(0x152)](),_0x49b520===void 0x0||_0x49b520[_0x563d80(0x170)]())continue;if(_0x49b520[_0x563d80(0x120)]()){yield _0x49b520,_0x49b520[_0x563d80(0x148)](),_0x2c1118['add'](_0x49b520[_0x563d80(0x185)]);continue;}const _0x3d59ff=this[_0x563d80(0xfe)][_0x563d80(0x166)](_0x49b520[_0x563d80(0x11e)](),_0x2c1118),_0x5dbacc=this[_0x563d80(0x179)][_0x563d80(0x182)](_0x49b520['toRTreeItem'](),_0x2c1118);for(const _0x9fa4b9 of _0x5dbacc)_0x3d59ff['add'](_0x9fa4b9);for(const _0x338676 of _0x3d59ff){const _0x3286e8=this[_0x563d80(0x118)]['get'](_0x338676);if(!_0x3286e8)throw new Error(_0x563d80(0x158));_0x3286e8[_0x563d80(0x120)]()||_0x49b520[_0x563d80(0x170)]()||_0x119161[_0x563d80(0x190)](_0x3286e8);}if(_0x3d59ff[_0x563d80(0x152)](),_0x119161[_0x563d80(0x192)]===0x0)yield _0x49b520,_0x49b520[_0x563d80(0x148)](),_0x2c1118[_0x563d80(0x190)](_0x49b520[_0x563d80(0x185)]);else{_0x49b520[_0x563d80(0x135)](),_0x2031af[_0x563d80(0x107)](_0x49b520);for(const _0x412e97 of _0x119161)_0x2031af[_0x563d80(0x107)](_0x412e97);}}_0x2031af[_0x563d80(0x14c)]=0x0,_0x119161[_0x563d80(0x152)]();}[_0x49d587(0x165)](_0x3c685c){const _0x2c58b1=_0x49d587,_0x19dba3=[],_0x14c7c6=new Set();for(const _0x5440bd of this[_0x2c58b1(0x167)](_0x3c685c,_0x14c7c6))_0x19dba3[_0x2c58b1(0x107)](_0x5440bd);return _0x19dba3;}}class Y extends u[_0x49d587(0xe7)]{async[_0x49d587(0x188)](_0x5d4254=!0x1){const _0x282deb=_0x49d587;_0x5d4254?this[_0x282deb(0x194)][_0x282deb(0xe1)](u[_0x282deb(0x12b)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x282deb(0x194)][_0x282deb(0xe1)](u[_0x282deb(0x12b)][_0x282deb(0xf7)]),this[_0x282deb(0x18a)][_0x282deb(0x180)](this[_0x282deb(0x194)][_0x282deb(0x17f)]());const _0x78b71a=await this[_0x282deb(0xec)][_0x282deb(0x125)](),_0x21a26e=this[_0x282deb(0x119)];_0x5d4254?(this['_runtimeService'][_0x282deb(0xe1)](u[_0x282deb(0x12b)][_0x282deb(0x14f)]),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x78b71a['length'])):(this[_0x282deb(0x194)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x282deb(0xed)]),this['_runtimeService'][_0x282deb(0x17b)](_0x78b71a[_0x282deb(0x14c)])),this['_executionInProgressListener$'][_0x282deb(0x180)](this['_runtimeService'][_0x282deb(0x17f)]());let _0x58e73c=[];const _0x3f5974=this[_0x282deb(0x186)][_0x282deb(0xdd)](u[_0x282deb(0x11a)]),_0x58efe8=(_0x3f5974==null?void 0x0:_0x3f5974[_0x282deb(0xf8)])||u[_0x282deb(0x157)];let _0xac894=0x0;const _0x11743d=_0x78b71a[_0x282deb(0x14c)];for(;_0x78b71a[_0x282deb(0x14c)]>0x0;){const _0x23c5fd=_0x78b71a['pop'](),_0xf29c78={'node':u['generateAstNode'](_0x23c5fd[_0x282deb(0xf0)],_0x23c5fd[_0x282deb(0x191)],this[_0x282deb(0x134)],this['_astTreeBuilder'],this[_0x282deb(0x155)]),'refOffsetX':_0x23c5fd[_0x282deb(0x13a)],'refOffsetY':_0x23c5fd[_0x282deb(0x17a)]},_0x28d2f9=_0x23c5fd[_0x282deb(0xfb)];if(_0xac894%_0x58efe8===0x0&&(await new Promise(_0x31caf5=>{const _0x3bb501=_0x282deb,_0x1a1e85=S['requestImmediateMacroTask'](_0x31caf5);_0x58e73c[_0x3bb501(0x107)](_0x1a1e85);}),_0x5d4254?(this[_0x282deb(0x194)]['setFormulaExecuteStage'](u[_0x282deb(0x12b)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x282deb(0x194)][_0x282deb(0x10e)](_0xac894+0x1)):(this[_0x282deb(0x194)][_0x282deb(0xe1)](u[_0x282deb(0x12b)][_0x282deb(0x122)]),this['_runtimeService']['setCompletedFormulasCount'](_0xac894+0x1)),this[_0x282deb(0x18a)][_0x282deb(0x180)](this[_0x282deb(0x194)][_0x282deb(0x17f)]()),this[_0x282deb(0x194)][_0x282deb(0x103)]()||_0xf29c78==null&&_0x28d2f9==null)){this[_0x282deb(0x194)][_0x282deb(0xe1)](u[_0x282deb(0x12b)]['IDLE']),this[_0x282deb(0x194)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x282deb(0x180)](this[_0x282deb(0x194)][_0x282deb(0x169)]());return;}this[_0x282deb(0x194)]['setCurrent'](_0x23c5fd[_0x282deb(0x13b)],_0x23c5fd['column'],_0x23c5fd['rowCount'],_0x23c5fd[_0x282deb(0x141)],_0x23c5fd[_0x282deb(0xf9)],_0x23c5fd[_0x282deb(0xf0)]);let _0x3a337b;if(_0x28d2f9!=null&&_0x23c5fd['featureId']!=null){const {runtimeCellData:_0x5d7b31,dirtyRanges:_0x55767d}=_0x28d2f9(this[_0x282deb(0x155)][_0x282deb(0xfb)](),this[_0x282deb(0x194)][_0x282deb(0x169)]());this['_runtimeService'][_0x282deb(0xe9)](_0x23c5fd[_0x282deb(0x195)],_0x5d7b31),this[_0x282deb(0x194)][_0x282deb(0x10c)](_0x23c5fd['featureId'],_0x55767d);}else _0xf29c78!=null&&(_0x21a26e[_0x282deb(0x10d)](_0xf29c78[_0x282deb(0x11d)])?_0x3a337b=await _0x21a26e[_0x282deb(0x11c)](_0xf29c78):_0x3a337b=_0x21a26e[_0x282deb(0x121)](_0xf29c78),_0x23c5fd[_0x282deb(0xde)]!=null?this[_0x282deb(0x194)][_0x282deb(0xfc)](_0x23c5fd['formulaId'],_0x23c5fd[_0x282deb(0x13a)],_0x23c5fd[_0x282deb(0x17a)],_0x3a337b):this[_0x282deb(0x194)][_0x282deb(0x150)](_0x3a337b));_0xac894++;}return _0x58e73c['forEach'](_0x213c4a=>_0x213c4a()),_0x58e73c=[],_0x11743d>0x0?this[_0x282deb(0x194)][_0x282deb(0x139)]():_0x5d4254||this['_runtimeService'][_0x282deb(0xfd)](),this[_0x282deb(0x194)][_0x282deb(0x169)]();}}class j extends u['DependencyManagerBaseService']{constructor(){const _0x27f073=_0x49d587;super(...arguments),R(this,_0x27f073(0x16c),new Map()),R(this,_0x27f073(0x149),new S[(_0x27f073(0xeb))](!0x0));}[_0x49d587(0xe4)](){const _0x3a7618=_0x49d587;this['_otherFormulaData'][_0x3a7618(0x152)](),this[_0x3a7618(0x151)]['clear'](),this[_0x3a7618(0x142)][_0x3a7618(0x152)](),this[_0x3a7618(0x149)][_0x3a7618(0x152)](),this[_0x3a7618(0x16c)][_0x3a7618(0x152)](),this[_0x3a7618(0x18c)](),this[_0x3a7618(0xf6)][_0x3a7618(0x152)]();}[_0x49d587(0x13d)](_0x2298d6,_0x287ff2,_0x2626fb,_0x2101d9){const _0xd8eb79=_0x49d587;this['_otherFormulaData'][_0xd8eb79(0x138)](_0x2298d6)||this[_0xd8eb79(0x14d)][_0xd8eb79(0x160)](_0x2298d6,new Map());const _0x4099bc=this[_0xd8eb79(0x14d)][_0xd8eb79(0xf2)](_0x2298d6);_0x4099bc['has'](_0x287ff2)||_0x4099bc[_0xd8eb79(0x160)](_0x287ff2,new Map());const _0x2d777e=_0x4099bc[_0xd8eb79(0xf2)](_0x287ff2);_0x2d777e['has'](_0x2626fb)||_0x2d777e[_0xd8eb79(0x160)](_0x2626fb,new S[(_0xd8eb79(0x12c))]()),_0x2d777e[_0xd8eb79(0xf2)](_0x2626fb)[_0xd8eb79(0x12f)](_0x2101d9['refOffsetX'],_0x2101d9['refOffsetY'],_0x2101d9[_0xd8eb79(0x185)]);}[_0x49d587(0x136)](_0x5cb57d,_0x247799,_0x57eac1){const _0x2e83f7=_0x49d587,_0x33040b=this[_0x2e83f7(0x14d)][_0x2e83f7(0xf2)](_0x5cb57d);if(_0x33040b&&_0x33040b[_0x2e83f7(0x138)](_0x247799)){const _0x378f65=_0x33040b[_0x2e83f7(0xf2)](_0x247799);_0x57eac1[_0x2e83f7(0x131)](_0x102a46=>{const _0x271a0d=_0x2e83f7,_0xf3d12=_0x378f65[_0x271a0d(0xf2)](_0x102a46);_0xf3d12!=null&&(_0xf3d12[_0x271a0d(0x129)]((_0x4f1c01,_0x4675c1,_0x1df8bb)=>{const _0xf2f1d9=_0x271a0d;this['_removeDependencyRTreeCache'](_0x1df8bb),this[_0xf2f1d9(0x189)](_0x1df8bb);}),_0x378f65['delete'](_0x102a46),this[_0x271a0d(0xf6)]['delete'](_0x102a46));}),_0x378f65[_0x2e83f7(0x192)]===0x0&&_0x33040b[_0x2e83f7(0x17c)](_0x247799),_0x33040b['size']===0x0&&this[_0x2e83f7(0x14d)][_0x2e83f7(0x17c)](_0x5cb57d);}}['clearOtherFormulaDependency'](_0x2cb747,_0x2e8fd9){const _0x4910ff=_0x49d587,_0x1dd42a=this[_0x4910ff(0x14d)][_0x4910ff(0xf2)](_0x2cb747);if(_0x2e8fd9&&_0x1dd42a&&_0x1dd42a[_0x4910ff(0x138)](_0x2e8fd9)){const _0x5f0615=_0x1dd42a[_0x4910ff(0xf2)](_0x2e8fd9);this[_0x4910ff(0x147)](_0x2cb747,_0x2e8fd9);for(const _0x2531dd of _0x5f0615[_0x4910ff(0xea)]()){const _0x15df81=_0x5f0615[_0x4910ff(0xf2)](_0x2531dd);_0x15df81!=null&&(_0x15df81['forValue']((_0x31cb62,_0x32f0ac,_0x41a704)=>{const _0x1e4656=_0x4910ff;this['_allTreeMap'][_0x1e4656(0xf2)](_0x41a704)&&this[_0x1e4656(0x189)](_0x41a704);}),this['_otherFormulaDataMainData']['delete'](_0x2531dd));}_0x5f0615[_0x4910ff(0x152)]();}else{if(_0x1dd42a){for(const _0x123c41 of _0x1dd42a[_0x4910ff(0xea)]()){const _0x5f0f56=_0x1dd42a[_0x4910ff(0xf2)](_0x123c41);this[_0x4910ff(0x147)](_0x2cb747,_0x123c41);for(const _0x19cd6e of _0x5f0f56['keys']()){const _0x28f5d1=_0x5f0f56[_0x4910ff(0xf2)](_0x19cd6e);_0x28f5d1!=null&&(_0x28f5d1[_0x4910ff(0x129)]((_0x381475,_0x18db97,_0x10cd2d)=>{const _0x3eec0a=_0x4910ff;this[_0x3eec0a(0x16c)][_0x3eec0a(0xf2)](_0x10cd2d)&&this[_0x3eec0a(0x189)](_0x10cd2d);}),this[_0x4910ff(0xf6)][_0x4910ff(0x17c)](_0x19cd6e));}}this[_0x4910ff(0x14d)]['delete'](_0x2cb747);}}}[_0x49d587(0x184)](_0xf3662c,_0x297fc7,_0x40183e,_0x5c17f4){const _0x53f734=_0x49d587;this[_0x53f734(0x151)][_0x53f734(0x138)](_0xf3662c)||this['_featureFormulaData'][_0x53f734(0x160)](_0xf3662c,new Map());const _0x18b693=this['_featureFormulaData']['get'](_0xf3662c);_0x18b693['has'](_0x297fc7)||_0x18b693[_0x53f734(0x160)](_0x297fc7,new Map()),_0x18b693[_0x53f734(0xf2)](_0x297fc7)[_0x53f734(0x160)](_0x40183e,_0x5c17f4[_0x53f734(0x185)]);}[_0x49d587(0x10f)](_0x222d90,_0x23431d,_0x29dd1c){const _0x5b7efb=_0x49d587,_0xd69e63=this[_0x5b7efb(0x151)][_0x5b7efb(0xf2)](_0x222d90);if(_0xd69e63&&_0xd69e63['has'](_0x23431d)){const _0x95b13f=_0xd69e63[_0x5b7efb(0xf2)](_0x23431d);_0x29dd1c[_0x5b7efb(0x131)](_0x5dad85=>{const _0x5cd833=_0x5b7efb,_0x4037fd=_0x95b13f[_0x5cd833(0xf2)](_0x5dad85);_0x4037fd!=null&&(this[_0x5cd833(0xdc)](_0x4037fd),_0x95b13f[_0x5cd833(0x17c)](_0x5dad85),this[_0x5cd833(0x189)](_0x4037fd));});}}['clearFeatureFormulaDependency'](_0x1859e5,_0x4b1469){const _0x169543=_0x49d587,_0x55ad4d=this[_0x169543(0x151)]['get'](_0x1859e5);if(_0x4b1469&&_0x55ad4d&&_0x55ad4d[_0x169543(0x138)](_0x4b1469)){const _0x348173=_0x55ad4d[_0x169543(0xf2)](_0x4b1469);this['_removeDependencyRTreeCacheById'](_0x1859e5,_0x4b1469),_0x348173[_0x169543(0x131)](_0xb663ab=>{const _0x3c3732=_0x169543;_0xb663ab!=null&&this[_0x3c3732(0x189)](_0xb663ab);}),_0x348173[_0x169543(0x152)]();}else _0x55ad4d&&(_0x55ad4d[_0x169543(0x131)]((_0x53773e,_0xd3843f)=>{const _0x294ea2=_0x169543;this[_0x294ea2(0x147)](_0x1859e5,_0xd3843f),_0x53773e[_0x294ea2(0x131)](_0x5ecc50=>{const _0xf8e62e=_0x294ea2;_0x5ecc50!=null&&this[_0xf8e62e(0x189)](_0x5ecc50);});}),this[_0x169543(0x151)][_0x169543(0x17c)](_0x1859e5));}[_0x49d587(0x16a)](_0x561554,_0x9b7c80,_0x3bd636,_0x41a8df,_0x50e515){const _0x1bd96c=_0x49d587;this['_formulaData'][_0x1bd96c(0x138)](_0x561554)||this['_formulaData'][_0x1bd96c(0x160)](_0x561554,new Map());const _0x2cd298=this[_0x1bd96c(0x142)]['get'](_0x561554);_0x2cd298[_0x1bd96c(0x138)](_0x9b7c80)||_0x2cd298['set'](_0x9b7c80,new S[(_0x1bd96c(0x12c))]()),_0x2cd298['get'](_0x9b7c80)['setValue'](_0x3bd636,_0x41a8df,_0x50e515[_0x1bd96c(0x185)]);}[_0x49d587(0x10a)](_0x1a0384,_0x2a75f5,_0x209639,_0x325f3a){const _0x2652c3=_0x49d587,_0x1071fc=this[_0x2652c3(0x142)][_0x2652c3(0xf2)](_0x1a0384);if(_0x1071fc&&_0x1071fc[_0x2652c3(0x138)](_0x2a75f5)){const _0x3c02a7=_0x1071fc[_0x2652c3(0xf2)](_0x2a75f5),_0x43aaa1=_0x3c02a7['getValue'](_0x209639,_0x325f3a);if(_0x43aaa1==null)return;this[_0x2652c3(0xdc)](_0x43aaa1),_0x3c02a7[_0x2652c3(0x15f)](_0x209639,_0x325f3a),this[_0x2652c3(0x189)](_0x43aaa1);}}[_0x49d587(0x10b)](_0x320a8f,_0x485b3c){const _0x1cc8bb=_0x49d587,_0x24511d=this[_0x1cc8bb(0x142)][_0x1cc8bb(0xf2)](_0x320a8f);if(_0x485b3c&&_0x24511d&&_0x24511d['has'](_0x485b3c)){const _0x41afae=_0x24511d['get'](_0x485b3c);this[_0x1cc8bb(0x147)](_0x320a8f,_0x485b3c),_0x41afae[_0x1cc8bb(0x129)]((_0x3a6f99,_0x42db56,_0x5c343b)=>{const _0x2ccdc6=_0x1cc8bb;if(_0x5c343b==null)return!0x0;this[_0x2ccdc6(0x189)](_0x5c343b);}),_0x41afae[_0x1cc8bb(0xe4)]();}else _0x24511d&&(_0x24511d['forEach']((_0x6150d2,_0x1ccb4f)=>{const _0x4e718a=_0x1cc8bb;this['_removeDependencyRTreeCacheById'](_0x320a8f,_0x1ccb4f),_0x6150d2[_0x4e718a(0x129)]((_0x38a849,_0x2e2794,_0x27c5ba)=>{if(_0x27c5ba==null)return!0x0;this['_removeAllTreeMap'](_0x27c5ba);});}),this[_0x1cc8bb(0x142)][_0x1cc8bb(0x17c)](_0x320a8f));}[_0x49d587(0xdc)](_0x567008){const _0x106cf9=_0x49d587;if(_0x567008==null)return;const _0xc169eb=this[_0x106cf9(0x16c)][_0x106cf9(0xf2)](_0x567008);if(_0xc169eb){const _0x22e1e7=[];for(const [_0x20ad21,_0x6b6185]of _0xc169eb)for(const [_0x5aae01,_0x23964e]of _0x6b6185)_0x22e1e7['push']({'unitId':_0x20ad21,'sheetId':_0x5aae01,'range':_0x23964e,'id':_0x567008});this[_0x106cf9(0x149)][_0x106cf9(0x16d)](_0x22e1e7);}}[_0x49d587(0xff)](_0x56327e,_0x5cd4b5){const _0xfcae2c=_0x49d587,_0x549970=this['_definedNameMap'][_0xfcae2c(0xf2)](_0x56327e);if(_0x549970){const _0x158cef=_0x549970[_0xfcae2c(0xf2)](_0x5cd4b5);if(_0x158cef){for(const _0xa8fee1 of _0x158cef)this['_removeDependencyRTreeCache'](_0xa8fee1),this[_0xfcae2c(0x189)](_0xa8fee1);_0x158cef[_0xfcae2c(0x152)]();}}}[_0x49d587(0xf1)](){const _0x3aed59=_0x49d587;this[_0x3aed59(0x149)][_0x3aed59(0xf1)]();}['closeKdTree'](){const _0x33e8b5=_0x49d587;this[_0x33e8b5(0x149)][_0x33e8b5(0x144)]();}[_0x49d587(0x189)](_0x22c54e){const _0x5220aa=_0x49d587;_0x22c54e!=null&&this['_allTreeMap'][_0x5220aa(0x17c)](_0x22c54e);}[_0x49d587(0x177)](_0x32cae1){const _0x5975ca=_0x49d587;var _0x12f04e,_0x4dba6f;const _0x207f98=_0x32cae1[_0x5975ca(0x178)];let _0x3accce=this['_allTreeMap'][_0x5975ca(0xf2)](_0x32cae1[_0x5975ca(0x185)]);for(let _0x171c8b=0x0;_0x171c8b<_0x207f98[_0x5975ca(0x14c)];_0x171c8b++){const _0x103383=_0x207f98[_0x171c8b];let {unitId:_0x31c6f8,sheetId:_0x3aa37a,range:_0x39a602}=_0x103383;_0x3accce||(_0x3accce=new Map(),this[_0x5975ca(0x16c)][_0x5975ca(0x160)](_0x32cae1[_0x5975ca(0x185)],_0x3accce)),_0x3accce['has'](_0x31c6f8)||_0x3accce[_0x5975ca(0x160)](_0x31c6f8,new Map());const _0xd8921=(_0x12f04e=_0x3accce==null?void 0x0:_0x3accce[_0x5975ca(0xf2)](_0x31c6f8))==null?void 0x0:_0x12f04e[_0x5975ca(0xf2)](_0x3aa37a);_0xd8921&&(_0x39a602={'startRow':Math['min'](_0x39a602['startRow'],_0xd8921['startRow']),'startColumn':Math[_0x5975ca(0x173)](_0x39a602[_0x5975ca(0x126)],_0xd8921[_0x5975ca(0x126)]),'endRow':Math[_0x5975ca(0xf4)](_0x39a602[_0x5975ca(0x193)],_0xd8921[_0x5975ca(0x193)]),'endColumn':Math[_0x5975ca(0xf4)](_0x39a602[_0x5975ca(0x106)],_0xd8921[_0x5975ca(0x106)])}),(_0x4dba6f=_0x3accce['get'](_0x31c6f8))==null||_0x4dba6f[_0x5975ca(0x160)](_0x3aa37a,_0x39a602);}}}var K=Object[_0x49d587(0xe8)],Q=(_0x5339b5,_0x284fff,_0x35bda5,_0x4a61d3)=>{const _0x15bdea=_0x49d587;for(var _0x3a2c79=_0x4a61d3>0x1?void 0x0:_0x4a61d3?K(_0x284fff,_0x35bda5):_0x284fff,_0x2724fe=_0x5339b5[_0x15bdea(0x14c)]-0x1,_0x12351c;_0x2724fe>=0x0;_0x2724fe--)(_0x12351c=_0x5339b5[_0x2724fe])&&(_0x3a2c79=_0x12351c(_0x3a2c79)||_0x3a2c79);return _0x3a2c79;};const W=Number[_0x49d587(0x13f)](0x689ed354);function _0x28f0(){const _0x58f319=['clearFormulaDependency','setRuntimeFeatureRange','checkAsyncNode','setCompletedArrayFormulasCount','removeFeatureFormulaDependency','getOtherFormulaData','generateRandomDependencyTreeId','_getTreeById','isCache','type','5oJTyvC','resolve','_initLicenseValid','_dependencyTreeCache','_interpreter','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','T6sFoC2s\x205gFZQVoC2s(OCFgsDg,\x20V6bOCF0gQ)\x20{\x20\x20\x20\x20oZQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20OCFgsDgPsT2t4Zo8ZZ4Q\x20=\x20OCFgsDg.DVOCo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x202ZCICshgDD4Ig\x20=\x20A7dK.V4ZDg(4o2b(OCFgsDgPsT2t4Zo8ZZ4Q[Y]));\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!2ZCICshgDD4Ig.65)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202ZCICshgDD4Ig.65\x20=\x20K6GbgZ(OCFgsDgPsT2t4Zo8ZZ4Q[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20CDc2ZlgZ\x20=\x20oQVg2T\x20c2ZlgZvO2b4O7F2Vg\x20!==\x20\x276s5gTCsg5\x27\x20&&\x20DgOT\x20CsDo4sFg2T\x20c2ZlgZvO2b4O7F2Vg;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20F2sogRo\x20=\x20CDc2ZlgZ\x20?\x20DgOT\x20:\x20BCs52B;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Igc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[Y]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Ig\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(GgDD4Igc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zgc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[z]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zg\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(DCIs4o6Zgc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIsa4OC5\x20=\x20F2sogRo.__JgZCTQ__(DCIs4o6Zg,\x20GgDD4Ig,\x20V6bOCF0gQ);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2052G4Cs\x20=\x202ZCICshgDD4Ig.5G;\x20\x20\x20\x20\x20\x20\x20\x20T6sFoC2s\x20CDu2G4Csh4oF1CsI(2t4oogZs,\x202x2Do)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs\x20=\x202t4oogZs.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do\x20=\x202x2Do.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZst4ZoD\x20=\x20V4oogZs.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Dot4ZoD\x20=\x2012Do.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!V4oogZs.CsFO65gD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs\x20===\x2012Do;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(V4oogZst4ZoD.OgsIo1\x20<\x20Y\x20||\x20V4oogZst4ZoD[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20T4ODg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs76TTCR\x20=\x20V4oogZst4ZoD.DOCFg(X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do76TTCR\x20=\x2012Dot4ZoD.DOCFg(-V4oogZst4ZoD.OgsIo1\x20+\x20X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs76TTCR\x20===\x2012Do76TTCR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ogo\x2052G4Csa4OC5\x20=\x20(52G4Cs\x20&&\x2052G4Cs.OgsIo1)\x20?\x2052G4Cs.D2Gg((5GPogG)\x20=>\x20CDu2G4Csh4oF1CsI(5GPogG,\x20O2F4oC2s.12Dos4Gg))\x20:\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(O2F4oC2s.12Dos4Gg\x20===\x20\x27O2F4O12Do\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2052G4Csa4OC5\x20=\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20J4OC5\x20=\x20DCIsa4OC5\x20&&\x2052G4Csa4OC5;\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x202ZCICshgDD4Ig,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20F4oF1\x20(gZZ2Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5:\x20T4ODg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','executeAsync','node','toRTreeItem','22vgHotf','isAdded','execute','CURRENTLY_CALCULATING','862WRXpgx','unshiftString','generate','startColumn','LS_CONFIG_KEY','defineProperty','forValue','FEATURE_FORMULA','FormulaExecuteStageType','ObjectMatrix','hasOtherFormulaDataMainData','isForceCalculate','setValue','_updateRangeFlatten','forEach','pop','hasOwnProperty','_lexer','setAdded','removeOtherFormulaDependency','4155nNbyKd','has','markedAsSuccessfullyExecuted','refOffsetX','row','getFormulaDependency','addOtherFormulaDependency','14225916MhSAGW','parseInt','OTHER_FORMULA','columnCount','_formulaData','ICalculateFormulaService','closeKdTree','_isCyclicUtilMap','featureDirtyRanges','_removeDependencyRTreeCacheById','setSkip','_dependencyRTreeCache','2245216cRrRUC','getValue','length','_otherFormulaData','FormulaDependencyTree','START_CALCULATION_ARRAY_FORMULA','setRuntimeData','_featureFormulaData','clear','rowCount','IFormulaDependencyGenerator','_currentConfigService','return\x20','DEFAULT_INTERVAL_COUNT','ParentDependencyTree\x20object\x20is\x20null','1158904jwqPse','_otherFormulaManagerService','addFormulaDependencyByDefinedName','toStringTag','getFeatureFormulaDependency','_checkIsCycleDependency','realDeleteValue','set','generateAstNode','clearFeatureFormulaDependency','IDependencyManagerService','_getFirstCellOfRange','_calculateRunList','searchDependency','_traverse','dirtyRanges','getAllRuntimeData','addFormulaDependency','_initializeWithOverride','_allTreeMap','bulkRemove','symbol','_generateTreeList','isSkip','dispose','getFormulaData','min','_astTreeBuilder','Module','DependencyManagerService','_addAllTreeMap','rangeList','_dependencyRTreeCacheForAddressFunction','refOffsetY','setTotalFormulasToCalculate','delete','call','FormulaDependencyGenerator','getRuntimeState','next','dependencySheetName','bulkSearch','message','addFeatureFormulaDependency','treeId','_configService','56FljkMB','_apply','_removeAllTreeMap','_executionInProgressListener$','default','_restDependencyTreeId','_createFDtree','_getTreeNode','1053310znaNav','add','formula','size','endRow','_runtimeService','featureId','isFeatureAuthorizedWithinTime','_removeDependencyRTreeCache','getConfig','formulaId','_convertDirtyRangesToUnitRange','isVirtual','setFormulaExecuteStage','_injector','27BfTOHa','reset','_config','isDirty','CalculateFormulaService','getOwnPropertyDescriptor','setRuntimeFeatureCellData','keys','RTree','_formulaDependencyGenerator','START_CALCULATION','notExecuteFormula','prototype','unitId','openKdTree','get','DependentOn','max','411528PJLWAC','_otherFormulaDataMainData','START_DEPENDENCY','intervalCount','subUnitId','_registerFormulas','getDirtyData','setRuntimeOtherData','markedAsNoFunctionsExecuted','_dependencyManagerService','removeFormulaDependencyByDefinedName','2495230FxGTBi','UniverProFormulaEnginePlugin','FormulaDependencyTreeType','isStopExecution','getSheetFeatureLimit','isExcludeRange','endColumn','push','UniverLicensePlugin','_getUpdateTreeListAndMakeDependency','removeFormulaDependency'];_0x28f0=function(){return _0x58f319;};return _0x28f0();}exports[_0x49d587(0x101)]=class extends u['UniverFormulaEnginePlugin']{[_0x49d587(0x16b)](){const _0x53edd8=_0x49d587;var _0x5d21d6,_0x2fc8bb;this[_0x53edd8(0x117)]()?(_0x5d21d6=this[_0x53edd8(0xe5)])!=null&&_0x5d21d6[_0x53edd8(0xee)]||[[u[_0x53edd8(0x143)],{'useClass':Y}],[u[_0x53edd8(0x163)],{'useClass':j}],[u[_0x53edd8(0x154)],{'useClass':B}]]['forEach'](_0x52ad3d=>this['_injector'][_0x53edd8(0x190)](_0x52ad3d)):(_0x2fc8bb=this[_0x53edd8(0xe5)])!=null&&_0x2fc8bb[_0x53edd8(0xee)]||[[u[_0x53edd8(0x143)],{'useClass':u[_0x53edd8(0xe7)]}],[u[_0x53edd8(0x163)],{'useClass':u[_0x53edd8(0x176)]}],[u[_0x53edd8(0x154)],{'useClass':u[_0x53edd8(0x17e)]}]][_0x53edd8(0x131)](_0x462586=>this[_0x53edd8(0xe2)]['add'](_0x462586));}['_initLicenseValid'](){const _0x39335d=_0x49d587;var _0x1a54ac;const _0xf35ffc=(_0x1a54ac=this['_configService'][_0x39335d(0xdd)](M[_0x39335d(0x127)]))!=null?_0x1a54ac:{},{ls:_0x3c3984,pbk:_0x114973}=_0xf35ffc;if(!_0x3c3984||!_0x114973)return!0x1;const _0x44a43a=M[_0x39335d(0x124)](k,N),_0x5a6998=new Function(_0x39335d(0x156)+_0x44a43a)()(_0x3c3984,_0x114973),_0x4aa3f5=_0x5a6998[_0x39335d(0x183)];return _0x5a6998['valid']&&M[_0x39335d(0xdb)](_0x4aa3f5,'sf',W)?M[_0x39335d(0x104)](_0x4aa3f5,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x49d587(0x101)]=Q([S[_0x49d587(0xf3)](M[_0x49d587(0x108)])],exports[_0x49d587(0x101)]),Object[_0x49d587(0xea)](u)['forEach'](_0x394c85=>{const _0x26f4b0=_0x49d587;_0x394c85!==_0x26f4b0(0x18b)&&!Object[_0x26f4b0(0xef)][_0x26f4b0(0x133)][_0x26f4b0(0x17d)](exports,_0x394c85)&&Object[_0x26f4b0(0x128)](exports,_0x394c85,{'enumerable':!0x0,'get':()=>u[_0x394c85]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5367(){var _0x514e17=['66brbPAk','14WZfmhK','10809205gilnsP','13846560JhfKYo','7221728eFXdyB','8wEmwTt','389361GtpISF','7LYZAeO','440jltBpD','79880FzUwDU','19051PbkzNj','102798aVDOKa'];_0x5367=function(){return _0x514e17;};return _0x5367();}function _0x2003(_0x416ced,_0x1a83cc){var _0x53675a=_0x5367();return _0x2003=function(_0x200355,_0x5d4331){_0x200355=_0x200355-0xab;var _0x439a0f=_0x53675a[_0x200355];return _0x439a0f;},_0x2003(_0x416ced,_0x1a83cc);}(function(_0x50747c,_0x247639){var _0x5f2697=_0x2003,_0x2c61d3=_0x50747c();while(!![]){try{var _0x44a680=-parseInt(_0x5f2697(0xb4))/0x1*(-parseInt(_0x5f2697(0xab))/0x2)+-parseInt(_0x5f2697(0xb0))/0x3*(parseInt(_0x5f2697(0xaf))/0x4)+-parseInt(_0x5f2697(0xb3))/0x5*(-parseInt(_0x5f2697(0xb6))/0x6)+-parseInt(_0x5f2697(0xb1))/0x7*(-parseInt(_0x5f2697(0xae))/0x8)+-parseInt(_0x5f2697(0xb5))/0x9*(parseInt(_0x5f2697(0xb2))/0xa)+-parseInt(_0x5f2697(0xac))/0xb+parseInt(_0x5f2697(0xad))/0xc;if(_0x44a680===_0x247639)break;else _0x2c61d3['push'](_0x2c61d3['shift']());}catch(_0x3cc970){_0x2c61d3['push'](_0x2c61d3['shift']());}}}(_0x5367,0x9795c));export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5c07(_0x118c68,_0x52c8a4){const _0x111270=_0x1112();return _0x5c07=function(_0x5c07bf,_0x2af5ea){_0x5c07bf=_0x5c07bf-0x1e0;let _0x77c59a=_0x111270[_0x5c07bf];return _0x77c59a;},_0x5c07(_0x118c68,_0x52c8a4);}const _0x54eca0=_0x5c07;(function(_0x3ecea6,_0x5219be){const _0x20b3f4=_0x5c07,_0x4cf6b5=_0x3ecea6();while(!![]){try{const _0x3e3391=parseInt(_0x20b3f4(0x1f0))/0x1*(-parseInt(_0x20b3f4(0x20e))/0x2)+-parseInt(_0x20b3f4(0x209))/0x3+-parseInt(_0x20b3f4(0x248))/0x4*(-parseInt(_0x20b3f4(0x276))/0x5)+-parseInt(_0x20b3f4(0x210))/0x6+parseInt(_0x20b3f4(0x255))/0x7*(parseInt(_0x20b3f4(0x1f8))/0x8)+parseInt(_0x20b3f4(0x1fd))/0x9*(-parseInt(_0x20b3f4(0x25c))/0xa)+parseInt(_0x20b3f4(0x253))/0xb*(parseInt(_0x20b3f4(0x211))/0xc);if(_0x3e3391===_0x5219be)break;else _0x4cf6b5['push'](_0x4cf6b5['shift']());}catch(_0x4e1807){_0x4cf6b5['push'](_0x4cf6b5['shift']());}}}(_0x1112,0xe97c5));var z=Object[_0x54eca0(0x274)],H=(_0x4bcc7,_0x324167,_0x19c24c)=>_0x324167 in _0x4bcc7?z(_0x4bcc7,_0x324167,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19c24c}):_0x4bcc7[_0x324167]=_0x19c24c,C=(_0x4036f7,_0x5defe4,_0x225fdc)=>H(_0x4036f7,typeof _0x5defe4!=_0x54eca0(0x225)?_0x5defe4+'':_0x5defe4,_0x225fdc);import{UniverLicensePlugin as _0x5d6d79,LS_CONFIG_KEY as _0x470751,unshiftString as _0x5b72b0,isFeatureAuthorizedWithinTime as _0x4f675d,getSheetFeatureLimit as _0x54b105}from'@univerjs-pro/license';import{ObjectMatrix as _0x11b7ac,requestImmediateMacroTask as _0x2c911e,RTree as _0x2ecdcb,DependentOn as _0x30b0c0}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1e565a,generateRandomDependencyTreeId as _0x435cf6,FormulaDependencyTree as _0x11a628,FormulaDependencyTreeType as _0x332396,FormulaDependencyTreeVirtual as _0x76a86e,generateAstNode as _0x1ff9e8,CalculateFormulaService as _0x6c3a87,FormulaExecuteStageType as _0x54bd0b,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3b6565,DEFAULT_INTERVAL_COUNT as _0x5d5993,DependencyManagerBaseService as _0x16c730,UniverFormulaEnginePlugin as _0x540b90,ICalculateFormulaService as _0xc9200c,IDependencyManagerService as _0x2e452b,IFormulaDependencyGenerator as _0x1c1458,DependencyManagerService as _0x4472ae}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const oe={0x0:'h',0x1:'B',0x2:'z',0x3:'3',0x4:'m',0x5:'H',0x6:'7',0x7:'9',0x8:'y',0x9:'f','h':'0','J':'1','c':'2','i':'4','a':'5','o':'6','k':'8','V':'a','O':'b','Q':'c','e':'d','l':'e','U':'g','w':'i','R':'j','y':'k','P':'l','n':'n','K':'o','s':'p','m':'q','W':'r','F':'s','L':'t','A':'u','T':'v','b':'w','r':'x','M':'A','t':'C','I':'D','u':'E','S':'F','v':'G','D':'I','B':'J','x':'K','p':'L','j':'M','Y':'N','E':'O','N':'P','H':'Q','C':'R','z':'S','Z':'T','X':'U','g':'V','G':'W','f':'X','q':'Y','d':'Z'},ue='9AnQLwKn\x20elQW8sLwKn(PwQlnFl,\x20sAOPwQxl8)\x20{\x20\x20\x20\x20LW8\x20{\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20PwQlnFlDn9KNVWLMWWV8\x20=\x20PwQlnFl.FsPwL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20KWwUwnjlFFVUl\x20=\x20BzEY.sVWFl(VLKO(PwQlnFlDn9KNVWLMWWV8[c]));\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!KWwUwnjlFFVUl.Ae)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KWwUwnjlFFVUl.Ae\x20=\x20YA4OlW(PwQlnFlDn9KNVWLMWWV8[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20wFGKWylW\x20=\x20L8slK9\x20GKWylWvPKOVPzQKsl\x20!==\x20\x27Anel9wnle\x27\x20&&\x20FlP9\x20wnFLVnQlK9\x20GKWylWvPKOVPzQKsl;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20QKnLlrL\x20=\x20wFGKWylW\x20?\x20FlP9\x20:\x20bwneKb;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[c]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(4lFFVUlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[3]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(FwUnVLAWlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUngVPwe\x20=\x20QKnLlrL.__TlWw98__(FwUnVLAWl,\x204lFFVUl,\x20sAOPwQxl8);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20eK4Vwn\x20=\x20KWwUwnjlFFVUl.e4;\x20\x20\x20\x20\x20\x20\x20\x209AnQLwKn\x20wFIK4VwnjVLQ0wnU(KNVLLlWn,\x20K5KFL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWn\x20=\x20KNVLLlWn.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFL\x20=\x20K5KFL.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnNVWLF\x20=\x20sVLLlWn.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLNVWLF\x20=\x200KFL.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!sVLLlWn.wnQPAelF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWn\x20===\x200KFL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(sVLLlWnNVWLF.PlnUL0\x20<\x20c\x20||\x20sVLLlWnNVWLF[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x209VPFl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnzA99wr\x20=\x20sVLLlWnNVWLF.FPwQl(J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLzA99wr\x20=\x200KFLNVWLF.FPwQl(-sVLLlWnNVWLF.PlnUL0\x20+\x20J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWnzA99wr\x20===\x200KFLzA99wr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PlL\x20eK4VwngVPwe\x20=\x20(eK4Vwn\x20&&\x20eK4Vwn.PlnUL0)\x20?\x20eK4Vwn.FK4l((e4DLl4)\x20=>\x20wFIK4VwnjVLQ0wnU(e4DLl4,\x20PKQVLwKn.0KFLnV4l))\x20:\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(PKQVLwKn.0KFLnV4l\x20===\x20\x27PKQVP0KFL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eK4VwngVPwe\x20=\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20TVPwe\x20=\x20FwUngVPwe\x20&&\x20eK4VwngVPwe;\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20KWwUwnjlFFVUl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20QVLQ0\x20(lWWKW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe:\x209VPFl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1e565a{constructor(){const _0xfbdb4a=_0x54eca0;super(...arguments),C(this,_0xfbdb4a(0x220),new Map());}[_0x54eca0(0x258)](){const _0x30e210=_0x54eca0;super[_0x30e210(0x258)](),this[_0x30e210(0x220)]['clear']();}async['generate'](){const _0x248f74=_0x54eca0;this[_0x248f74(0x1fe)]();const _0x248f3e=this[_0x248f74(0x272)][_0x248f74(0x212)](),_0xf37696=this['_otherFormulaManagerService'][_0x248f74(0x1e0)](),_0x41adb1=this[_0x248f74(0x272)][_0x248f74(0x27c)]();_0x41adb1!=null&&Object[_0x248f74(0x242)](_0x41adb1)[_0x248f74(0x252)](_0x1c6e46=>{const _0x24c8b2=_0x248f74;_0x1c6e46!=null&&Object['keys'](_0x41adb1[_0x1c6e46])[_0x24c8b2(0x252)](_0x129466=>{const _0x2fcada=_0x24c8b2;_0x129466!=null&&(this['_dependencyManagerService'][_0x2fcada(0x234)](_0x1c6e46,_0x129466),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x1c6e46,_0x129466),this[_0x2fcada(0x21d)][_0x2fcada(0x250)](_0x1c6e46,_0x129466));});});const _0x4dac5a=this[_0x248f74(0x272)][_0x248f74(0x221)]();await this['_generateTreeList'](_0x248f3e,_0xf37696,_0x4dac5a),this[_0x248f74(0x21d)]['openKdTree']();const _0x270e32=this['_getUpdateTreeListAndMakeDependency'](),_0x37b96b=this[_0x248f74(0x25f)](_0x270e32);return this[_0x248f74(0x23e)](_0x37b96b)&&this[_0x248f74(0x222)][_0x248f74(0x1ff)](),this['_dependencyTreeCache'][_0x248f74(0x241)](),this[_0x248f74(0x215)]['clear'](),this[_0x248f74(0x21d)]['closeKdTree'](),Promise['resolve'](_0x37b96b);}[_0x54eca0(0x266)](_0x72ccbe,_0x5a3157){const _0x4a9edd=_0x54eca0,_0x37e4ac=[_0x72ccbe];for(;_0x37e4ac[_0x4a9edd(0x1ef)]>0x0;){const _0x4e3b9b=_0x37e4ac[_0x37e4ac[_0x4a9edd(0x1ef)]-0x1];if((_0x5a3157['get'](_0x4e3b9b)||0x0)===0x0){_0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x1);const _0x1caeb0=this[_0x4a9edd(0x220)]['get'](_0x4e3b9b);if(_0x1caeb0==null){_0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x2),_0x37e4ac[_0x4a9edd(0x21c)]();continue;}const _0x33041d=this[_0x4a9edd(0x21d)]['searchDependency'](_0x1caeb0[_0x4a9edd(0x22e)]());for(const _0x3b64c1 of _0x33041d){const _0x4cd01c=_0x5a3157[_0x4a9edd(0x24c)](_0x3b64c1)||0x0;if(_0x4cd01c===0x1)return!0x0;_0x4cd01c===0x0&&_0x37e4ac[_0x4a9edd(0x1f7)](_0x3b64c1);}}else _0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x2),_0x37e4ac[_0x4a9edd(0x21c)]();}return!0x1;}[_0x54eca0(0x23e)](_0x2239ec){const _0x5a19cf=_0x54eca0,_0x6948b=new Map();for(const _0x460c2d of _0x2239ec)if(!_0x6948b['has'](_0x460c2d[_0x5a19cf(0x217)])&&this[_0x5a19cf(0x266)](_0x460c2d[_0x5a19cf(0x217)],_0x6948b))return!0x0;return _0x6948b[_0x5a19cf(0x241)](),!0x1;}['_getFeatureFormulaTree'](_0x1437b0,_0x27557e,_0x4ce17a){const _0x28b8da=_0x54eca0,{unitId:_0x34721f,subUnitId:_0x4619cf,dependencyRanges:_0x318c25,getDirtyData:_0x5849b7}=_0x4ce17a,_0x48e0e8=_0x27557e||_0x435cf6(this[_0x28b8da(0x21d)]),_0x4c6d47=new _0x11a628(_0x48e0e8);_0x4c6d47[_0x28b8da(0x22d)]=_0x34721f,_0x4c6d47[_0x28b8da(0x205)]=_0x4619cf,_0x4c6d47[_0x28b8da(0x219)]=_0x318c25,_0x4c6d47['getDirtyData']=_0x5849b7;const _0xef90a2=_0x5849b7(this['_currentConfigService']['getDirtyData'](),this[_0x28b8da(0x222)]['getAllRuntimeData']()),_0x44d405=this['_convertDirtyRangesToUnitRange'](_0xef90a2[_0x28b8da(0x261)]);return _0x4c6d47[_0x28b8da(0x224)]=_0x44d405,_0x4c6d47[_0x28b8da(0x1f5)]=_0x1437b0,_0x4c6d47[_0x28b8da(0x26d)]=_0x332396[_0x28b8da(0x262)],this['_dependencyManagerService'][_0x28b8da(0x246)](_0x34721f,_0x4619cf,_0x1437b0,_0x4c6d47),this[_0x28b8da(0x220)][_0x28b8da(0x1fb)](_0x4c6d47[_0x28b8da(0x217)],_0x4c6d47),this[_0x28b8da(0x21d)][_0x28b8da(0x1fc)](_0x4ce17a[_0x28b8da(0x22d)],_0x4ce17a[_0x28b8da(0x205)],_0x1437b0)&&(_0x4c6d47['isCache']=!0x0),_0x4c6d47;}[_0x54eca0(0x20d)](_0x570d40,_0xd2f766,_0x2055bd){const _0x342851=_0x54eca0;var _0x2c410b;for(const _0x3c1312 of _0xd2f766){const _0xbac3ed=_0x570d40[_0x3c1312];if(_0xbac3ed==null)continue;const _0x2f0835=Object[_0x342851(0x242)](_0xbac3ed);for(const _0x2cedc0 of _0x2f0835){const _0x43a61e=_0xbac3ed[_0x2cedc0];if(_0x43a61e==null)continue;const _0x178503=Object[_0x342851(0x242)](_0x43a61e);for(const _0x5f0e18 of _0x178503){const _0x5e9cc7=this[_0x342851(0x21d)][_0x342851(0x1f3)](_0x5f0e18),_0x337ade=_0x43a61e[_0x5f0e18],{f:_0x440a70,ranges:_0x12d7cc}=_0x337ade;let _0x3ccdbc=!0x1;_0x5e9cc7&&(_0x3ccdbc=!0x0);const {firstRow:_0x47c771,firstColumn:_0x1010b6}=this['_getFirstCellOfRange'](_0x12d7cc),_0x47c92e=this['_dependencyManagerService'][_0x342851(0x1ec)](_0x3c1312,_0x2cedc0,_0x5f0e18),_0x5795b9=(_0x2c410b=_0x47c92e==null?void 0x0:_0x47c92e['getValue'](0x0,0x0))!=null?_0x2c410b:_0x435cf6(this[_0x342851(0x21d)]),_0x3ace32=new _0x11a628(_0x5795b9);for(let _0x389525=0x0;_0x389525<_0x12d7cc[_0x342851(0x1ef)];_0x389525++){const _0x55716c=_0x12d7cc[_0x389525],{startRow:_0x5def0e,startColumn:_0x47cf22,endRow:_0x212d49,endColumn:_0x308cc5}=_0x55716c;for(let _0x4c1678=_0x5def0e;_0x4c1678<=_0x212d49;_0x4c1678++)for(let _0x12d12c=_0x47cf22;_0x12d12c<=_0x308cc5;_0x12d12c++){const _0x2089c1=_0x12d12c-_0x1010b6,_0x1db078=_0x4c1678-_0x47c771;if(_0x2089c1===0x0&&_0x1db078===0x0){_0x3ace32[_0x342851(0x22c)]=_0x440a70,_0x3ace32[_0x342851(0x22d)]=_0x3c1312,_0x3ace32['subUnitId']=_0x2cedc0,_0x3ace32['formulaId']=_0x5f0e18,_0x3ace32[_0x342851(0x26d)]=_0x332396[_0x342851(0x22f)],_0x3ace32[_0x342851(0x23d)]=_0x3ccdbc,_0x2055bd[_0x342851(0x1f7)](_0x3ace32),this[_0x342851(0x220)]['set'](_0x3ace32[_0x342851(0x217)],_0x3ace32),this[_0x342851(0x21d)][_0x342851(0x1e4)](_0x3c1312,_0x2cedc0,_0x5f0e18,_0x3ace32),this['_dependencyManagerService'][_0x342851(0x24e)](_0x3ace32);continue;}const _0x4b5607=new _0x76a86e();_0x4b5607['treeId']=(_0x47c92e==null?void 0x0:_0x47c92e['getValue'](_0x2089c1,_0x1db078))||_0x435cf6(this[_0x342851(0x21d)]),_0x4b5607[_0x342851(0x279)]=_0x3ace32,_0x4b5607[_0x342851(0x203)]=_0x2089c1,_0x4b5607[_0x342851(0x270)]=_0x1db078,_0x4b5607[_0x342851(0x23d)]=_0x3ccdbc,this[_0x342851(0x21d)][_0x342851(0x1e4)](_0x3c1312,_0x2cedc0,_0x5f0e18,_0x4b5607),this['_dependencyManagerService'][_0x342851(0x24e)](_0x4b5607),_0x2055bd[_0x342851(0x1f7)](_0x4b5607),this[_0x342851(0x220)][_0x342851(0x1fb)](_0x4b5607[_0x342851(0x217)],_0x4b5607);}}this[_0x342851(0x21d)][_0x342851(0x267)](_0x5f0e18);}}}}[_0x54eca0(0x218)](_0x38b150,_0x7b5579,_0x25be29,_0x286641){const _0x512ced=_0x54eca0;for(const _0x462a6c of _0x38b150){const _0x129b97=_0x7b5579[_0x462a6c];if(_0x129b97==null)continue;const _0x205f0e=Object[_0x512ced(0x242)](_0x129b97);for(const _0x3d0328 of _0x205f0e){const _0x18ff61=new _0x11b7ac(_0x129b97[_0x3d0328]||{}),_0xc56123=new Map();_0x18ff61[_0x512ced(0x23a)]((_0x16664a,_0x8355d2,_0x448957)=>{const _0x5d0750=_0x512ced;if(_0x448957==null)return!0x0;const {x:_0x15b1bd=0x0,y:_0x4ded70=0x0,si:_0x31c42a}=_0x448957;if(!(_0x15b1bd===0x0&&_0x4ded70===0x0&&_0x31c42a!=null))return!0x0;const _0x171237=this[_0x5d0750(0x237)](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2,_0x25be29,_0x448957),_0x5d4b66=this[_0x5d0750(0x21d)][_0x5d0750(0x22a)](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2);_0x5d4b66!=null?_0x171237['treeId']=_0x5d4b66:(this[_0x5d0750(0x21d)]['addFormulaDependency'](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2,_0x171237),this[_0x5d0750(0x21d)][_0x5d0750(0x24e)](_0x171237)),_0xc56123[_0x5d0750(0x1fb)](_0x31c42a,_0x171237),_0x286641[_0x5d0750(0x1f7)](_0x171237),this['_dependencyTreeCache'][_0x5d0750(0x1fb)](_0x171237[_0x5d0750(0x217)],_0x171237);}),_0x18ff61[_0x512ced(0x23a)]((_0x252fdd,_0x1c393b,_0x52f2e3)=>{const _0x529d20=_0x512ced;if(_0x52f2e3==null)return!0x0;const {x:_0x4debf1=0x0,y:_0x5adf0c=0x0,si:_0x2d63c2}=_0x52f2e3;if(_0x4debf1===0x0&&_0x5adf0c===0x0&&_0x2d63c2!=null)return!0x0;let _0x4a089b;if(_0x2d63c2&&_0xc56123[_0x529d20(0x235)](_0x2d63c2)){const _0x29e084=_0xc56123['get'](_0x2d63c2);_0x4a089b=this['_createVirtualFDtree'](_0x29e084,_0x52f2e3);}else _0x4a089b=this['_createFDtree'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b,_0x25be29,_0x52f2e3);const _0x16fb40=this[_0x529d20(0x21d)]['getFormulaDependency'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b);_0x16fb40!=null?_0x4a089b[_0x529d20(0x217)]=_0x16fb40:(this[_0x529d20(0x21d)]['addFormulaDependency'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b,_0x4a089b),this[_0x529d20(0x21d)]['addFormulaDependencyByDefinedName'](_0x4a089b)),_0x286641[_0x529d20(0x1f7)](_0x4a089b),this[_0x529d20(0x220)]['set'](_0x4a089b[_0x529d20(0x217)],_0x4a089b);}),_0xc56123[_0x512ced(0x241)]();}}}[_0x54eca0(0x237)](_0xd3050f,_0x1222a4,_0x56ce4e,_0x5ba471,_0x503a28,_0x3359ab){const _0x5af630=_0x54eca0,{f:_0x13746b,x:_0x3a4007=0x0,y:_0x302178=0x0}=_0x3359ab,_0x1de68d=new _0x11a628(_0x435cf6(this[_0x5af630(0x21d)])),_0x59dd65=_0x503a28[_0xd3050f][_0x1222a4];return _0x1de68d[_0x5af630(0x22c)]=_0x13746b,_0x1de68d['unitId']=_0xd3050f,_0x1de68d[_0x5af630(0x205)]=_0x1222a4,_0x1de68d['row']=_0x56ce4e,_0x1de68d[_0x5af630(0x216)]=_0x5ba471,_0x1de68d[_0x5af630(0x200)]=_0x59dd65[_0x5af630(0x200)],_0x1de68d[_0x5af630(0x21f)]=_0x59dd65[_0x5af630(0x21f)],_0x1de68d;}['_getUpdateTreeListAndMakeDependency'](){const _0x385c34=_0x54eca0,_0x1ca36c=[],_0x4709ef=new Set(),_0x4c01f2=this[_0x385c34(0x272)][_0x385c34(0x1ea)](),_0x44502b=this[_0x385c34(0x272)][_0x385c34(0x1e2)](),_0x580479=this[_0x385c34(0x21d)]['searchDependency'](_0x44502b),_0x469b8c=this[_0x385c34(0x215)]['bulkSearch'](_0x44502b);for(const _0x3d6940 of _0x469b8c)_0x580479['add'](_0x3d6940);for(const [_0x96188e,_0x1d1647]of this[_0x385c34(0x220)])(_0x4c01f2||_0x1d1647[_0x385c34(0x213)]||_0x1d1647[_0x385c34(0x229)](this[_0x385c34(0x272)][_0x385c34(0x1e7)]())||_0x580479[_0x385c34(0x235)](_0x96188e)&&!_0x1d1647[_0x385c34(0x20a)](this[_0x385c34(0x272)][_0x385c34(0x239)]()))&&!_0x4709ef[_0x385c34(0x235)](_0x96188e)&&(_0x1ca36c[_0x385c34(0x1f7)](_0x1d1647),_0x4709ef[_0x385c34(0x1fa)](_0x96188e));for(const [_0x33fb0e,_0x217b03]of this[_0x385c34(0x220)])_0x217b03[_0x385c34(0x269)]||(_0x217b03[_0x385c34(0x219)][_0x385c34(0x1ef)]=0x0);return _0x1ca36c;}[_0x54eca0(0x207)](_0x925233){const _0x487e2=_0x54eca0;return this[_0x487e2(0x220)][_0x487e2(0x24c)](_0x925233);}['_getTreeNode'](_0x81cfc4){const _0x215b6f=_0x54eca0;return _0x1ff9e8(_0x81cfc4[_0x215b6f(0x22d)],_0x81cfc4[_0x215b6f(0x22c)],this[_0x215b6f(0x247)],this[_0x215b6f(0x208)],this['_currentConfigService']);}*['_traverse'](_0x1c51b3,_0x26bf7f){const _0x13396f=_0x54eca0,_0x1ab5ea=_0x1c51b3,_0x13f2f8=new Set();for(;_0x1ab5ea[_0x13396f(0x1ef)]>0x0;){const _0x16bc38=_0x1ab5ea['pop']();if(_0x13f2f8[_0x13396f(0x241)](),_0x16bc38===void 0x0||_0x16bc38['isSkip']())continue;if(_0x16bc38['isAdded']()){yield _0x16bc38,_0x16bc38[_0x13396f(0x23b)](),_0x26bf7f['add'](_0x16bc38['treeId']);continue;}const _0x453e29=this[_0x13396f(0x21d)]['searchDependency'](_0x16bc38['toRTreeItem'](),_0x26bf7f),_0x35ab93=this['_dependencyRTreeCacheForAddressFunction'][_0x13396f(0x1f9)](_0x16bc38[_0x13396f(0x22e)](),_0x26bf7f);for(const _0x13ac6d of _0x35ab93)_0x453e29[_0x13396f(0x1fa)](_0x13ac6d);for(const _0x32320e of _0x453e29){const _0x682e24=this[_0x13396f(0x220)]['get'](_0x32320e);if(!_0x682e24)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x682e24[_0x13396f(0x25a)]()||_0x16bc38[_0x13396f(0x264)]()||_0x13f2f8[_0x13396f(0x1fa)](_0x682e24);}if(_0x453e29[_0x13396f(0x241)](),_0x13f2f8[_0x13396f(0x1e9)]===0x0)yield _0x16bc38,_0x16bc38['setSkip'](),_0x26bf7f[_0x13396f(0x1fa)](_0x16bc38[_0x13396f(0x217)]);else{_0x16bc38['setAdded'](),_0x1ab5ea[_0x13396f(0x1f7)](_0x16bc38);for(const _0xb7a256 of _0x13f2f8)_0x1ab5ea[_0x13396f(0x1f7)](_0xb7a256);}}_0x1ab5ea[_0x13396f(0x1ef)]=0x0,_0x13f2f8['clear']();}[_0x54eca0(0x25f)](_0x269a89){const _0x4b50f9=_0x54eca0,_0x52754e=[],_0x36086e=new Set();for(const _0x297837 of this[_0x4b50f9(0x251)](_0x269a89,_0x36086e))_0x52754e['push'](_0x297837);return _0x52754e;}}class he extends _0x6c3a87{async['_apply'](_0x52b562=!0x1){const _0xfc23d7=_0x54eca0;_0x52b562?this[_0xfc23d7(0x222)]['setFormulaExecuteStage'](_0x54bd0b[_0xfc23d7(0x263)]):this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x256)]),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this['_runtimeService'][_0xfc23d7(0x22b)]());const _0x71c067=await this[_0xfc23d7(0x1f4)][_0xfc23d7(0x25b)](),_0x32acbe=this[_0xfc23d7(0x1f2)];_0x52b562?(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x26f)]),this['_runtimeService'][_0xfc23d7(0x232)](_0x71c067[_0xfc23d7(0x1ef)])):(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x26c)]),this[_0xfc23d7(0x222)][_0xfc23d7(0x226)](_0x71c067[_0xfc23d7(0x1ef)])),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this[_0xfc23d7(0x222)]['getRuntimeState']());let _0x44ef73=[];const _0x2773a9=this[_0xfc23d7(0x26e)][_0xfc23d7(0x223)](_0x3b6565),_0x2daf10=(_0x2773a9==null?void 0x0:_0x2773a9['intervalCount'])||_0x5d5993;let _0x328143=0x0;const _0x3da5e2=_0x71c067[_0xfc23d7(0x1ef)];for(;_0x71c067['length']>0x0;){const _0x1b77d2=_0x71c067[_0xfc23d7(0x21c)](),_0x9e03eb={'node':_0x1ff9e8(_0x1b77d2[_0xfc23d7(0x22d)],_0x1b77d2['formula'],this['_lexer'],this[_0xfc23d7(0x208)],this[_0xfc23d7(0x272)]),'refOffsetX':_0x1b77d2[_0xfc23d7(0x203)],'refOffsetY':_0x1b77d2['refOffsetY']},_0x2f9920=_0x1b77d2[_0xfc23d7(0x25d)];if(_0x328143%_0x2daf10===0x0&&(await new Promise(_0x39eac5=>{const _0x5f1a3b=_0xfc23d7,_0x4ab841=_0x2c911e(_0x39eac5);_0x44ef73[_0x5f1a3b(0x1f7)](_0x4ab841);}),_0x52b562?(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0xfc23d7(0x222)]['setCompletedArrayFormulasCount'](_0x328143+0x1)):(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x240)]),this[_0xfc23d7(0x222)][_0xfc23d7(0x1f1)](_0x328143+0x1)),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this[_0xfc23d7(0x222)][_0xfc23d7(0x22b)]()),this[_0xfc23d7(0x222)][_0xfc23d7(0x228)]()||_0x9e03eb==null&&_0x2f9920==null)){this[_0xfc23d7(0x222)]['setFormulaExecuteStage'](_0x54bd0b['IDLE']),this[_0xfc23d7(0x222)][_0xfc23d7(0x277)](),this[_0xfc23d7(0x25e)]['next'](this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]());return;}this['_runtimeService']['setCurrent'](_0x1b77d2[_0xfc23d7(0x21b)],_0x1b77d2[_0xfc23d7(0x216)],_0x1b77d2[_0xfc23d7(0x200)],_0x1b77d2[_0xfc23d7(0x21f)],_0x1b77d2[_0xfc23d7(0x205)],_0x1b77d2[_0xfc23d7(0x22d)]);let _0x1a3175;if(_0x2f9920!=null&&_0x1b77d2[_0xfc23d7(0x1f5)]!=null){const {runtimeCellData:_0x1e58cd,dirtyRanges:_0x262ac5}=_0x2f9920(this[_0xfc23d7(0x272)][_0xfc23d7(0x25d)](),this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]());this[_0xfc23d7(0x222)]['setRuntimeFeatureCellData'](_0x1b77d2['featureId'],_0x1e58cd),this[_0xfc23d7(0x222)][_0xfc23d7(0x230)](_0x1b77d2['featureId'],_0x262ac5);}else _0x9e03eb!=null&&(_0x32acbe[_0xfc23d7(0x27b)](_0x9e03eb[_0xfc23d7(0x24a)])?_0x1a3175=await _0x32acbe['executeAsync'](_0x9e03eb):_0x1a3175=_0x32acbe['execute'](_0x9e03eb),_0x1b77d2['formulaId']!=null?this[_0xfc23d7(0x222)]['setRuntimeOtherData'](_0x1b77d2[_0xfc23d7(0x204)],_0x1b77d2[_0xfc23d7(0x203)],_0x1b77d2[_0xfc23d7(0x270)],_0x1a3175):this[_0xfc23d7(0x222)]['setRuntimeData'](_0x1a3175));_0x328143++;}return _0x44ef73[_0xfc23d7(0x252)](_0x2ef358=>_0x2ef358()),_0x44ef73=[],_0x3da5e2>0x0?this[_0xfc23d7(0x222)][_0xfc23d7(0x278)]():_0x52b562||this['_runtimeService'][_0xfc23d7(0x1ed)](),this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]();}}function _0x1112(){const _0x2b6602=['message','clearOtherFormulaDependency','has','delete','_createFDtree','_formulaData','getExcludedRange','forValue','setSkip','endRow','isCache','_checkIsCycleDependency','next','CURRENTLY_CALCULATING','clear','keys','removeOtherFormulaDependency','_allTreeMap','_definedNameMap','addFeatureFormulaDependency','_lexer','1328JyHVNo','endColumn','node','_removeDependencyRTreeCache','get','openKdTree','addFormulaDependencyByDefinedName','valid','clearFormulaDependency','_traverse','forEach','33173393kjRLXx','_config','40628stGhhc','START_DEPENDENCY','_featureFormulaData','dispose','getOwnPropertyDescriptor','isAdded','generate','20wsLIAt','getDirtyData','_executionCompleteListener$','_calculateRunList','_otherFormulaData','dirtyRanges','FEATURE_FORMULA','START_DEPENDENCY_ARRAY_FORMULA','isSkip','_injector','_isCyclicUtilMap','addOtherFormulaDependencyMainData','_initializeWithOverride','isVirtual','min','_removeAllTreeMap','START_CALCULATION','type','_configService','START_CALCULATION_ARRAY_FORMULA','refOffsetY','_removeDependencyRTreeCacheById','_currentConfigService','startRow','defineProperty','max','19730LZhMad','markedAsStopFunctionsExecuted','markedAsSuccessfullyExecuted','refTree','removeFeatureFormulaDependency','checkAsyncNode','getClearDependencyTreeCache','getOtherFormulaData','_executionInProgressListener$','getDirtyRanges','parseInt','addOtherFormulaDependency','bulkRemove','getAllRuntimeData','getDirtyNameMap','closeKdTree','size','isForceCalculate','setFormulaExecuteStage','getOtherFormulaDependency','markedAsNoFunctionsExecuted','_dependencyRTreeCache','length','597926FTIxGf','setCompletedFormulasCount','_interpreter','hasOtherFormulaDataMainData','_formulaDependencyGenerator','featureId','startColumn','push','1136RheJfT','bulkSearch','add','set','getFeatureFormulaDependency','6442731PZThwJ','_updateRangeFlatten','enableCycleDependency','rowCount','clearFeatureFormulaDependency','_restDependencyTreeId','refOffsetX','formulaId','subUnitId','getValue','_getTreeById','_astTreeBuilder','4492899PJWgSs','isExcludeRange','setValue','realDeleteValue','_registerOtherFormulas','2QZUwbd','notExecuteFormula','3998214hnQits','12UdAPWK','getFormulaData','isDirty','reset','_dependencyRTreeCacheForAddressFunction','column','treeId','_registerFormulas','rangeList','removeFormulaDependencyByDefinedName','row','pop','_dependencyManagerService','_initLicenseValid','columnCount','_dependencyTreeCache','getUnitData','_runtimeService','getConfig','featureDirtyRanges','symbol','setTotalFormulasToCalculate','_otherFormulaDataMainData','isStopExecution','dependencySheetName','getFormulaDependency','getRuntimeState','formula','unitId','toRTreeItem','OTHER_FORMULA','setRuntimeFeatureRange','removeFormulaDependency','setTotalArrayFormulasToCalculate'];_0x1112=function(){return _0x2b6602;};return _0x1112();}class fe extends _0x16c730{constructor(){const _0x57e2e2=_0x54eca0;super(...arguments),C(this,_0x57e2e2(0x244),new Map()),C(this,_0x57e2e2(0x1ee),new _0x2ecdcb(!0x0));}[_0x54eca0(0x214)](){const _0x3de1bd=_0x54eca0;this['_otherFormulaData'][_0x3de1bd(0x241)](),this[_0x3de1bd(0x257)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x238)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x1ee)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x244)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x202)](),this[_0x3de1bd(0x227)][_0x3de1bd(0x241)]();}['addOtherFormulaDependency'](_0x5c0842,_0x464083,_0x27a421,_0x135f69){const _0x20e901=_0x54eca0;this[_0x20e901(0x260)][_0x20e901(0x235)](_0x5c0842)||this[_0x20e901(0x260)][_0x20e901(0x1fb)](_0x5c0842,new Map());const _0x291db6=this['_otherFormulaData'][_0x20e901(0x24c)](_0x5c0842);_0x291db6[_0x20e901(0x235)](_0x464083)||_0x291db6[_0x20e901(0x1fb)](_0x464083,new Map());const _0x47d4b9=_0x291db6[_0x20e901(0x24c)](_0x464083);_0x47d4b9[_0x20e901(0x235)](_0x27a421)||_0x47d4b9['set'](_0x27a421,new _0x11b7ac()),_0x47d4b9['get'](_0x27a421)[_0x20e901(0x20b)](_0x135f69[_0x20e901(0x203)],_0x135f69[_0x20e901(0x270)],_0x135f69['treeId']);}[_0x54eca0(0x243)](_0x2ef66d,_0x4c8549,_0x4184e5){const _0x5a8ed4=_0x54eca0,_0x5309cb=this['_otherFormulaData']['get'](_0x2ef66d);if(_0x5309cb&&_0x5309cb[_0x5a8ed4(0x235)](_0x4c8549)){const _0x1b6d56=_0x5309cb[_0x5a8ed4(0x24c)](_0x4c8549);_0x4184e5[_0x5a8ed4(0x252)](_0x4a7173=>{const _0x519159=_0x5a8ed4,_0x4dbe97=_0x1b6d56[_0x519159(0x24c)](_0x4a7173);_0x4dbe97!=null&&(_0x4dbe97[_0x519159(0x23a)]((_0x510421,_0x105dc0,_0x3f5d29)=>{const _0x45dbb7=_0x519159;this[_0x45dbb7(0x24b)](_0x3f5d29),this[_0x45dbb7(0x26b)](_0x3f5d29);}),_0x1b6d56[_0x519159(0x236)](_0x4a7173),this[_0x519159(0x227)]['delete'](_0x4a7173));}),_0x1b6d56[_0x5a8ed4(0x1e9)]===0x0&&_0x5309cb[_0x5a8ed4(0x236)](_0x4c8549),_0x5309cb[_0x5a8ed4(0x1e9)]===0x0&&this[_0x5a8ed4(0x260)][_0x5a8ed4(0x236)](_0x2ef66d);}}['clearOtherFormulaDependency'](_0x38e36b,_0x56eda8){const _0x3e91db=_0x54eca0,_0x49e3e0=this['_otherFormulaData'][_0x3e91db(0x24c)](_0x38e36b);if(_0x56eda8&&_0x49e3e0&&_0x49e3e0[_0x3e91db(0x235)](_0x56eda8)){const _0xeb4bde=_0x49e3e0['get'](_0x56eda8);this[_0x3e91db(0x271)](_0x38e36b,_0x56eda8);for(const _0x4e6a34 of _0xeb4bde[_0x3e91db(0x242)]()){const _0x3b2fa6=_0xeb4bde[_0x3e91db(0x24c)](_0x4e6a34);_0x3b2fa6!=null&&(_0x3b2fa6['forValue']((_0x55bba9,_0x3ab8a7,_0x9677a2)=>{const _0x1b86bb=_0x3e91db;this[_0x1b86bb(0x244)][_0x1b86bb(0x24c)](_0x9677a2)&&this[_0x1b86bb(0x26b)](_0x9677a2);}),this['_otherFormulaDataMainData']['delete'](_0x4e6a34));}_0xeb4bde[_0x3e91db(0x241)]();}else{if(_0x49e3e0){for(const _0x306a40 of _0x49e3e0[_0x3e91db(0x242)]()){const _0x35aa1d=_0x49e3e0['get'](_0x306a40);this[_0x3e91db(0x271)](_0x38e36b,_0x306a40);for(const _0x28514c of _0x35aa1d['keys']()){const _0x427334=_0x35aa1d['get'](_0x28514c);_0x427334!=null&&(_0x427334[_0x3e91db(0x23a)]((_0x499d0d,_0x151d26,_0x435bf9)=>{const _0x3c3b37=_0x3e91db;this['_allTreeMap'][_0x3c3b37(0x24c)](_0x435bf9)&&this['_removeAllTreeMap'](_0x435bf9);}),this[_0x3e91db(0x227)]['delete'](_0x28514c));}}this['_otherFormulaData'][_0x3e91db(0x236)](_0x38e36b);}}}[_0x54eca0(0x246)](_0xc15ea8,_0x57afaf,_0x43035a,_0x556d74){const _0x3db193=_0x54eca0;this[_0x3db193(0x257)][_0x3db193(0x235)](_0xc15ea8)||this['_featureFormulaData'][_0x3db193(0x1fb)](_0xc15ea8,new Map());const _0x51cbe1=this[_0x3db193(0x257)][_0x3db193(0x24c)](_0xc15ea8);_0x51cbe1['has'](_0x57afaf)||_0x51cbe1[_0x3db193(0x1fb)](_0x57afaf,new Map()),_0x51cbe1[_0x3db193(0x24c)](_0x57afaf)[_0x3db193(0x1fb)](_0x43035a,_0x556d74[_0x3db193(0x217)]);}[_0x54eca0(0x27a)](_0x4399a5,_0x1098c6,_0x2fb4fb){const _0x38b28b=_0x54eca0,_0x10ebb1=this[_0x38b28b(0x257)][_0x38b28b(0x24c)](_0x4399a5);if(_0x10ebb1&&_0x10ebb1[_0x38b28b(0x235)](_0x1098c6)){const _0x432eae=_0x10ebb1[_0x38b28b(0x24c)](_0x1098c6);_0x2fb4fb[_0x38b28b(0x252)](_0x326beb=>{const _0x554624=_0x38b28b,_0x3e05d8=_0x432eae['get'](_0x326beb);_0x3e05d8!=null&&(this['_removeDependencyRTreeCache'](_0x3e05d8),_0x432eae['delete'](_0x326beb),this[_0x554624(0x26b)](_0x3e05d8));});}}[_0x54eca0(0x201)](_0x481002,_0x197ca2){const _0x51f771=_0x54eca0,_0xe7c9b0=this['_featureFormulaData'][_0x51f771(0x24c)](_0x481002);if(_0x197ca2&&_0xe7c9b0&&_0xe7c9b0[_0x51f771(0x235)](_0x197ca2)){const _0x594512=_0xe7c9b0[_0x51f771(0x24c)](_0x197ca2);this[_0x51f771(0x271)](_0x481002,_0x197ca2),_0x594512['forEach'](_0x11779f=>{_0x11779f!=null&&this['_removeAllTreeMap'](_0x11779f);}),_0x594512[_0x51f771(0x241)]();}else _0xe7c9b0&&(_0xe7c9b0[_0x51f771(0x252)]((_0x5de995,_0x3d7d89)=>{const _0x3e32e8=_0x51f771;this['_removeDependencyRTreeCacheById'](_0x481002,_0x3d7d89),_0x5de995[_0x3e32e8(0x252)](_0x17d7cd=>{_0x17d7cd!=null&&this['_removeAllTreeMap'](_0x17d7cd);});}),this[_0x51f771(0x257)][_0x51f771(0x236)](_0x481002));}['addFormulaDependency'](_0xe10870,_0x2ceeae,_0xba0de6,_0x3d590b,_0x4d418a){const _0x53aefc=_0x54eca0;this[_0x53aefc(0x238)][_0x53aefc(0x235)](_0xe10870)||this['_formulaData'][_0x53aefc(0x1fb)](_0xe10870,new Map());const _0x832da5=this['_formulaData'][_0x53aefc(0x24c)](_0xe10870);_0x832da5[_0x53aefc(0x235)](_0x2ceeae)||_0x832da5[_0x53aefc(0x1fb)](_0x2ceeae,new _0x11b7ac()),_0x832da5[_0x53aefc(0x24c)](_0x2ceeae)[_0x53aefc(0x20b)](_0xba0de6,_0x3d590b,_0x4d418a[_0x53aefc(0x217)]);}[_0x54eca0(0x231)](_0x285d8e,_0x2df975,_0x2e2673,_0x59c49f){const _0x5ea9c1=_0x54eca0,_0x5dc816=this[_0x5ea9c1(0x238)]['get'](_0x285d8e);if(_0x5dc816&&_0x5dc816[_0x5ea9c1(0x235)](_0x2df975)){const _0x49668b=_0x5dc816[_0x5ea9c1(0x24c)](_0x2df975),_0x1f3312=_0x49668b[_0x5ea9c1(0x206)](_0x2e2673,_0x59c49f);if(_0x1f3312==null)return;this[_0x5ea9c1(0x24b)](_0x1f3312),_0x49668b[_0x5ea9c1(0x20c)](_0x2e2673,_0x59c49f),this['_removeAllTreeMap'](_0x1f3312);}}[_0x54eca0(0x250)](_0x593715,_0x24e6ab){const _0x470107=_0x54eca0,_0x4884ad=this['_formulaData'][_0x470107(0x24c)](_0x593715);if(_0x24e6ab&&_0x4884ad&&_0x4884ad[_0x470107(0x235)](_0x24e6ab)){const _0x585186=_0x4884ad['get'](_0x24e6ab);this[_0x470107(0x271)](_0x593715,_0x24e6ab),_0x585186['forValue']((_0x418d1e,_0x420fd5,_0x3ebf24)=>{const _0xc7d764=_0x470107;if(_0x3ebf24==null)return!0x0;this[_0xc7d764(0x26b)](_0x3ebf24);}),_0x585186[_0x470107(0x214)]();}else _0x4884ad&&(_0x4884ad[_0x470107(0x252)]((_0x1b5f02,_0x2dc454)=>{const _0x441101=_0x470107;this[_0x441101(0x271)](_0x593715,_0x2dc454),_0x1b5f02[_0x441101(0x23a)]((_0x57f63f,_0x538141,_0x1ef16a)=>{const _0x289d11=_0x441101;if(_0x1ef16a==null)return!0x0;this[_0x289d11(0x26b)](_0x1ef16a);});}),this[_0x470107(0x238)][_0x470107(0x236)](_0x593715));}[_0x54eca0(0x24b)](_0x411663){const _0x5928d6=_0x54eca0;if(_0x411663==null)return;const _0x46b289=this[_0x5928d6(0x244)][_0x5928d6(0x24c)](_0x411663);if(_0x46b289){const _0x34df0e=[];for(const [_0x12bd1e,_0x26ecea]of _0x46b289)for(const [_0x5e7e65,_0x3c2c28]of _0x26ecea)_0x34df0e[_0x5928d6(0x1f7)]({'unitId':_0x12bd1e,'sheetId':_0x5e7e65,'range':_0x3c2c28,'id':_0x411663});this[_0x5928d6(0x1ee)][_0x5928d6(0x1e5)](_0x34df0e);}}[_0x54eca0(0x21a)](_0x5b5bd5,_0x47b497){const _0x10472d=_0x54eca0,_0x334742=this[_0x10472d(0x245)]['get'](_0x5b5bd5);if(_0x334742){const _0x2be8e9=_0x334742['get'](_0x47b497);if(_0x2be8e9){for(const _0x4e578f of _0x2be8e9)this[_0x10472d(0x24b)](_0x4e578f),this[_0x10472d(0x26b)](_0x4e578f);_0x2be8e9[_0x10472d(0x241)]();}}}['openKdTree'](){const _0x29194b=_0x54eca0;this[_0x29194b(0x1ee)][_0x29194b(0x24d)]();}[_0x54eca0(0x1e8)](){const _0x2bc5d2=_0x54eca0;this['_dependencyRTreeCache'][_0x2bc5d2(0x1e8)]();}[_0x54eca0(0x26b)](_0xef46b7){const _0x566000=_0x54eca0;_0xef46b7!=null&&this[_0x566000(0x244)]['delete'](_0xef46b7);}['_addAllTreeMap'](_0x368907){const _0xb04e85=_0x54eca0;var _0xb8d2a3,_0x4ea353;const _0x5c7a50=_0x368907[_0xb04e85(0x219)];let _0x20f3d9=this[_0xb04e85(0x244)][_0xb04e85(0x24c)](_0x368907['treeId']);for(let _0x28ab6e=0x0;_0x28ab6e<_0x5c7a50[_0xb04e85(0x1ef)];_0x28ab6e++){const _0x1cc5a9=_0x5c7a50[_0x28ab6e];let {unitId:_0x11c9f3,sheetId:_0x2aa4d0,range:_0x51b712}=_0x1cc5a9;_0x20f3d9||(_0x20f3d9=new Map(),this[_0xb04e85(0x244)][_0xb04e85(0x1fb)](_0x368907[_0xb04e85(0x217)],_0x20f3d9)),_0x20f3d9['has'](_0x11c9f3)||_0x20f3d9[_0xb04e85(0x1fb)](_0x11c9f3,new Map());const _0x3c4fca=(_0xb8d2a3=_0x20f3d9==null?void 0x0:_0x20f3d9[_0xb04e85(0x24c)](_0x11c9f3))==null?void 0x0:_0xb8d2a3['get'](_0x2aa4d0);_0x3c4fca&&(_0x51b712={'startRow':Math[_0xb04e85(0x26a)](_0x51b712[_0xb04e85(0x273)],_0x3c4fca[_0xb04e85(0x273)]),'startColumn':Math[_0xb04e85(0x26a)](_0x51b712[_0xb04e85(0x1f6)],_0x3c4fca[_0xb04e85(0x1f6)]),'endRow':Math[_0xb04e85(0x275)](_0x51b712[_0xb04e85(0x23c)],_0x3c4fca[_0xb04e85(0x23c)]),'endColumn':Math[_0xb04e85(0x275)](_0x51b712[_0xb04e85(0x249)],_0x3c4fca[_0xb04e85(0x249)])}),(_0x4ea353=_0x20f3d9[_0xb04e85(0x24c)](_0x11c9f3))==null||_0x4ea353[_0xb04e85(0x1fb)](_0x2aa4d0,_0x51b712);}}}var _e=Object[_0x54eca0(0x259)],pe=(_0x4285e7,_0x3838b9,_0x5e72e7,_0xc5bbcf)=>{for(var _0x4093ed=_0xc5bbcf>0x1?void 0x0:_0xc5bbcf?_e(_0x3838b9,_0x5e72e7):_0x3838b9,_0x31bd27=_0x4285e7['length']-0x1,_0x13286a;_0x31bd27>=0x0;_0x31bd27--)(_0x13286a=_0x4285e7[_0x31bd27])&&(_0x4093ed=_0x13286a(_0x4093ed)||_0x4093ed);return _0x4093ed;};const Fe=Number[_0x54eca0(0x1e3)](0x689b2b81);let Q=class extends _0x540b90{[_0x54eca0(0x268)](){const _0x3a2189=_0x54eca0;var _0x474fa0,_0xd39ddb;this[_0x3a2189(0x21e)]()?(_0x474fa0=this[_0x3a2189(0x254)])!=null&&_0x474fa0[_0x3a2189(0x20f)]||[[_0xc9200c,{'useClass':he}],[_0x2e452b,{'useClass':fe}],[_0x1c1458,{'useClass':de}]][_0x3a2189(0x252)](_0x3ff4a9=>this[_0x3a2189(0x265)]['add'](_0x3ff4a9)):(_0xd39ddb=this[_0x3a2189(0x254)])!=null&&_0xd39ddb['notExecuteFormula']||[[_0xc9200c,{'useClass':_0x6c3a87}],[_0x2e452b,{'useClass':_0x4472ae}],[_0x1c1458,{'useClass':_0x1e565a}]]['forEach'](_0x26032d=>this['_injector'][_0x3a2189(0x1fa)](_0x26032d));}[_0x54eca0(0x21e)](){const _0x4d00e9=_0x54eca0;var _0x247adb;const _0x85e88c=(_0x247adb=this[_0x4d00e9(0x26e)][_0x4d00e9(0x223)](_0x470751))!=null?_0x247adb:{},{ls:_0x1a96a3,pbk:_0x352055}=_0x85e88c;if(!_0x1a96a3||!_0x352055)return!0x1;const _0x43b8f6=_0x5b72b0(ue,oe),_0x5932b5=new Function('return\x20'+_0x43b8f6)()(_0x1a96a3,_0x352055),_0x249f25=_0x5932b5[_0x4d00e9(0x233)];return _0x5932b5[_0x4d00e9(0x24f)]&&_0x4f675d(_0x249f25,'sf',Fe)?_0x54b105(_0x249f25,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};Q=pe([_0x30b0c0(_0x5d6d79)],Q);export{Q as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x36b4d0=_0x4091;(function(_0x58c978,_0x3f40d6){const _0x322f81=_0x4091,_0x2573f1=_0x58c978();while(!![]){try{const _0x209afb=parseInt(_0x322f81(0x1c2))/0x1+parseInt(_0x322f81(0x19a))/0x2*(-parseInt(_0x322f81(0x1b5))/0x3)+parseInt(_0x322f81(0x1b8))/0x4*(parseInt(_0x322f81(0x1d1))/0x5)+parseInt(_0x322f81(0x1c1))/0x6+-parseInt(_0x322f81(0x1a6))/0x7+parseInt(_0x322f81(0x199))/0x8*(parseInt(_0x322f81(0x1b9))/0x9)+parseInt(_0x322f81(0x1c4))/0xa*(-parseInt(_0x322f81(0x1a1))/0xb);if(_0x209afb===_0x3f40d6)break;else _0x2573f1['push'](_0x2573f1['shift']());}catch(_0xf34ae2){_0x2573f1['push'](_0x2573f1['shift']());}}}(_0x3ea4,0xe3864));var W=Object[_0x36b4d0(0x16a)],H=(_0x1cfe17,_0x319095,_0x3e04e2)=>_0x319095 in _0x1cfe17?W(_0x1cfe17,_0x319095,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e04e2}):_0x1cfe17[_0x319095]=_0x3e04e2,S=(_0x53cb20,_0x101f96,_0x26a2e6)=>H(_0x53cb20,typeof _0x101f96!='symbol'?_0x101f96+'':_0x101f96,_0x26a2e6);import{UniverLicensePlugin as _0x5ba6ec,LS_CONFIG_KEY as _0x185044,unshiftString as _0x4fcf89,isFeatureAuthorizedWithinTime as _0x2a503a,getSheetFeatureLimit as _0x20935d}from'@univerjs-pro/license';import{ObjectMatrix as _0xcdd134,requestImmediateMacroTask as _0xfe6a7b,RTree as _0x639d9b,DependentOn as _0x5ef185}from'@univerjs/core';function _0x4091(_0x568ee9,_0x5575c9){const _0x3ea4a6=_0x3ea4();return _0x4091=function(_0x409127,_0x436259){_0x409127=_0x409127-0x148;let _0x26b7dd=_0x3ea4a6[_0x409127];return _0x26b7dd;},_0x4091(_0x568ee9,_0x5575c9);}import{FormulaDependencyGenerator as _0x45ddb7,generateRandomDependencyTreeId as _0x126995,FormulaDependencyTree as _0x3fccb1,FormulaDependencyTreeType as _0x575515,FormulaDependencyTreeVirtual as _0x212da2,generateAstNode as _0x1fb637,CalculateFormulaService as _0x4d46b7,FormulaExecuteStageType as _0x3d0d6d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3f3a12,DEFAULT_INTERVAL_COUNT as _0x252373,DependencyManagerBaseService as _0x52fcda,UniverFormulaEnginePlugin as _0x1c87b8,ICalculateFormulaService as _0x4b83a2,IDependencyManagerService as _0x2784d7,IFormulaDependencyGenerator as _0x19aac6,DependencyManagerService as _0x51b177}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'K',0x1:'h',0x2:'o',0x3:'9',0x4:'a',0x5:'d',0x6:'u',0x7:'S',0x8:'A',0x9:'q','H':'0','X':'1','Y':'2','z':'3','r':'4','i':'5','U':'6','M':'7','n':'8','b':'b','F':'c','g':'e','T':'f','I':'g','C':'i','f':'j','l':'k','O':'l','G':'m','s':'n','V':'p','Z':'r','D':'s','o':'t','J':'v','B':'w','R':'x','Q':'y','j':'z','m':'B','q':'C','u':'D','W':'E','L':'F','v':'G','x':'H','P':'I','A':'J','y':'L','h':'M','K':'N','d':'O','t':'P','p':'Q','k':'R','w':'T','E':'U','a':'V','c':'W','S':'X','N':'Y','e':'Z'},ue='T6sFoC2s\x205gFZQVoC2s(OCFgsDg,\x20V6bOCF0gQ)\x20{\x20\x20\x20\x20oZQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20OCFgsDgPsT2t4Zo8ZZ4Q\x20=\x20OCFgsDg.DVOCo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x202ZCICshgDD4Ig\x20=\x20A7dK.V4ZDg(4o2b(OCFgsDgPsT2t4Zo8ZZ4Q[Y]));\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!2ZCICshgDD4Ig.65)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202ZCICshgDD4Ig.65\x20=\x20K6GbgZ(OCFgsDgPsT2t4Zo8ZZ4Q[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20CDc2ZlgZ\x20=\x20oQVg2T\x20c2ZlgZvO2b4O7F2Vg\x20!==\x20\x276s5gTCsg5\x27\x20&&\x20DgOT\x20CsDo4sFg2T\x20c2ZlgZvO2b4O7F2Vg;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20F2sogRo\x20=\x20CDc2ZlgZ\x20?\x20DgOT\x20:\x20BCs52B;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Igc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[Y]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Ig\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(GgDD4Igc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zgc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[z]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zg\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(DCIs4o6Zgc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIsa4OC5\x20=\x20F2sogRo.__JgZCTQ__(DCIs4o6Zg,\x20GgDD4Ig,\x20V6bOCF0gQ);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2052G4Cs\x20=\x202ZCICshgDD4Ig.5G;\x20\x20\x20\x20\x20\x20\x20\x20T6sFoC2s\x20CDu2G4Csh4oF1CsI(2t4oogZs,\x202x2Do)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs\x20=\x202t4oogZs.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do\x20=\x202x2Do.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZst4ZoD\x20=\x20V4oogZs.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Dot4ZoD\x20=\x2012Do.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!V4oogZs.CsFO65gD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs\x20===\x2012Do;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(V4oogZst4ZoD.OgsIo1\x20<\x20Y\x20||\x20V4oogZst4ZoD[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20T4ODg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs76TTCR\x20=\x20V4oogZst4ZoD.DOCFg(X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do76TTCR\x20=\x2012Dot4ZoD.DOCFg(-V4oogZst4ZoD.OgsIo1\x20+\x20X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs76TTCR\x20===\x2012Do76TTCR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ogo\x2052G4Csa4OC5\x20=\x20(52G4Cs\x20&&\x2052G4Cs.OgsIo1)\x20?\x2052G4Cs.D2Gg((5GPogG)\x20=>\x20CDu2G4Csh4oF1CsI(5GPogG,\x20O2F4oC2s.12Dos4Gg))\x20:\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(O2F4oC2s.12Dos4Gg\x20===\x20\x27O2F4O12Do\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2052G4Csa4OC5\x20=\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20J4OC5\x20=\x20DCIsa4OC5\x20&&\x2052G4Csa4OC5;\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x202ZCICshgDD4Ig,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20F4oF1\x20(gZZ2Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5:\x20T4ODg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class he extends _0x45ddb7{constructor(){super(...arguments),S(this,'_dependencyTreeCache',new Map());}[_0x36b4d0(0x1e6)](){const _0x2960ba=_0x36b4d0;super['dispose'](),this[_0x2960ba(0x18d)]['clear']();}async[_0x36b4d0(0x1a9)](){const _0x14a38a=_0x36b4d0;this[_0x14a38a(0x175)]();const _0x8b4aef=this[_0x14a38a(0x1e7)][_0x14a38a(0x159)](),_0x2275c1=this[_0x14a38a(0x14a)][_0x14a38a(0x185)](),_0x5b1824=this[_0x14a38a(0x1e7)]['getClearDependencyTreeCache']();_0x5b1824!=null&&Object[_0x14a38a(0x1c7)](_0x5b1824)[_0x14a38a(0x19c)](_0x148398=>{const _0x4003db=_0x14a38a;_0x148398!=null&&Object[_0x4003db(0x1c7)](_0x5b1824[_0x148398])['forEach'](_0x2dfc7b=>{const _0x11763f=_0x4003db;_0x2dfc7b!=null&&(this[_0x11763f(0x157)][_0x11763f(0x1cf)](_0x148398,_0x2dfc7b),this['_dependencyManagerService'][_0x11763f(0x190)](_0x148398,_0x2dfc7b),this[_0x11763f(0x157)][_0x11763f(0x162)](_0x148398,_0x2dfc7b));});});const _0x286c79=this[_0x14a38a(0x1e7)][_0x14a38a(0x1c0)]();await this['_generateTreeList'](_0x8b4aef,_0x2275c1,_0x286c79),this[_0x14a38a(0x157)][_0x14a38a(0x172)]();const _0x53b39b=this[_0x14a38a(0x1b1)](),_0x100258=this[_0x14a38a(0x188)](_0x53b39b);return this[_0x14a38a(0x15d)](_0x100258)&&this['_runtimeService']['enableCycleDependency'](),this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x14a38a(0x1e4)](),this[_0x14a38a(0x157)][_0x14a38a(0x1a5)](),Promise['resolve'](_0x100258);}['_isCyclicUtilMap'](_0x1d09a7,_0xd0659c){const _0xe22822=_0x36b4d0,_0x5f101e=[_0x1d09a7];for(;_0x5f101e[_0xe22822(0x1a2)]>0x0;){const _0x5228e1=_0x5f101e[_0x5f101e[_0xe22822(0x1a2)]-0x1];if((_0xd0659c[_0xe22822(0x191)](_0x5228e1)||0x0)===0x0){_0xd0659c['set'](_0x5228e1,0x1);const _0x5a2139=this[_0xe22822(0x18d)][_0xe22822(0x191)](_0x5228e1);if(_0x5a2139==null){_0xd0659c[_0xe22822(0x18b)](_0x5228e1,0x2),_0x5f101e['pop']();continue;}const _0x129375=this['_dependencyManagerService'][_0xe22822(0x174)](_0x5a2139[_0xe22822(0x1da)]());for(const _0x54bb4e of _0x129375){const _0x362fb7=_0xd0659c[_0xe22822(0x191)](_0x54bb4e)||0x0;if(_0x362fb7===0x1)return!0x0;_0x362fb7===0x0&&_0x5f101e[_0xe22822(0x183)](_0x54bb4e);}}else _0xd0659c[_0xe22822(0x18b)](_0x5228e1,0x2),_0x5f101e[_0xe22822(0x167)]();}return!0x1;}[_0x36b4d0(0x15d)](_0x2ded89){const _0x35e010=_0x36b4d0,_0x59d8f8=new Map();for(const _0x4c074f of _0x2ded89)if(!_0x59d8f8[_0x35e010(0x15b)](_0x4c074f[_0x35e010(0x1bf)])&&this[_0x35e010(0x195)](_0x4c074f[_0x35e010(0x1bf)],_0x59d8f8))return!0x0;return _0x59d8f8[_0x35e010(0x1e4)](),!0x1;}[_0x36b4d0(0x1ac)](_0x51a494,_0x2958eb,_0x55ee00){const _0xc75029=_0x36b4d0,{unitId:_0x1bef9e,subUnitId:_0x2fb93f,dependencyRanges:_0x24a6be,getDirtyData:_0x435218}=_0x55ee00,_0x3652e4=_0x2958eb||_0x126995(this[_0xc75029(0x157)]),_0x4ebc21=new _0x3fccb1(_0x3652e4);_0x4ebc21[_0xc75029(0x173)]=_0x1bef9e,_0x4ebc21[_0xc75029(0x17a)]=_0x2fb93f,_0x4ebc21['rangeList']=_0x24a6be,_0x4ebc21['getDirtyData']=_0x435218;const _0x486596=_0x435218(this[_0xc75029(0x1e7)]['getDirtyData'](),this[_0xc75029(0x1b6)][_0xc75029(0x1b7)]()),_0xaad5e8=this[_0xc75029(0x1cb)](_0x486596['dirtyRanges']);return _0x4ebc21[_0xc75029(0x1dd)]=_0xaad5e8,_0x4ebc21['featureId']=_0x51a494,_0x4ebc21['type']=_0x575515['FEATURE_FORMULA'],this[_0xc75029(0x157)][_0xc75029(0x1de)](_0x1bef9e,_0x2fb93f,_0x51a494,_0x4ebc21),this[_0xc75029(0x18d)][_0xc75029(0x18b)](_0x4ebc21[_0xc75029(0x1bf)],_0x4ebc21),this['_dependencyManagerService'][_0xc75029(0x1e5)](_0x55ee00[_0xc75029(0x173)],_0x55ee00[_0xc75029(0x17a)],_0x51a494)&&(_0x4ebc21[_0xc75029(0x16c)]=!0x0),_0x4ebc21;}[_0x36b4d0(0x1ab)](_0x278f60,_0x5b6017,_0x3f2030){const _0x9d9a3f=_0x36b4d0;var _0x3e3801;for(const _0x3c6527 of _0x5b6017){const _0x56eb3b=_0x278f60[_0x3c6527];if(_0x56eb3b==null)continue;const _0x440907=Object[_0x9d9a3f(0x1c7)](_0x56eb3b);for(const _0x59c589 of _0x440907){const _0x1c8a74=_0x56eb3b[_0x59c589];if(_0x1c8a74==null)continue;const _0x2ef546=Object[_0x9d9a3f(0x1c7)](_0x1c8a74);for(const _0x5e7913 of _0x2ef546){const _0x563ed0=this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1e3)](_0x5e7913),_0x2f8619=_0x1c8a74[_0x5e7913],{f:_0x13131d,ranges:_0xe4e1bb}=_0x2f8619;let _0xb8892=!0x1;_0x563ed0&&(_0xb8892=!0x0);const {firstRow:_0x2d2e72,firstColumn:_0x504e6e}=this[_0x9d9a3f(0x179)](_0xe4e1bb),_0x3c1239=this[_0x9d9a3f(0x157)][_0x9d9a3f(0x170)](_0x3c6527,_0x59c589,_0x5e7913),_0xae4aa3=(_0x3e3801=_0x3c1239==null?void 0x0:_0x3c1239[_0x9d9a3f(0x1db)](0x0,0x0))!=null?_0x3e3801:_0x126995(this[_0x9d9a3f(0x157)]),_0x411dd4=new _0x3fccb1(_0xae4aa3);for(let _0x89e15e=0x0;_0x89e15e<_0xe4e1bb['length'];_0x89e15e++){const _0x58efa5=_0xe4e1bb[_0x89e15e],{startRow:_0x19f04b,startColumn:_0x1a2f78,endRow:_0x2e3275,endColumn:_0x58e8a9}=_0x58efa5;for(let _0x239427=_0x19f04b;_0x239427<=_0x2e3275;_0x239427++)for(let _0x334c8a=_0x1a2f78;_0x334c8a<=_0x58e8a9;_0x334c8a++){const _0xd3914c=_0x334c8a-_0x504e6e,_0x2ef98f=_0x239427-_0x2d2e72;if(_0xd3914c===0x0&&_0x2ef98f===0x0){_0x411dd4[_0x9d9a3f(0x16d)]=_0x13131d,_0x411dd4['unitId']=_0x3c6527,_0x411dd4[_0x9d9a3f(0x17a)]=_0x59c589,_0x411dd4[_0x9d9a3f(0x156)]=_0x5e7913,_0x411dd4[_0x9d9a3f(0x1ae)]=_0x575515['OTHER_FORMULA'],_0x411dd4[_0x9d9a3f(0x16c)]=_0xb8892,_0x3f2030[_0x9d9a3f(0x183)](_0x411dd4),this[_0x9d9a3f(0x18d)]['set'](_0x411dd4[_0x9d9a3f(0x1bf)],_0x411dd4),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x18f)](_0x3c6527,_0x59c589,_0x5e7913,_0x411dd4),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1af)](_0x411dd4);continue;}const _0x1a0a17=new _0x212da2();_0x1a0a17[_0x9d9a3f(0x1bf)]=(_0x3c1239==null?void 0x0:_0x3c1239[_0x9d9a3f(0x1db)](_0xd3914c,_0x2ef98f))||_0x126995(this[_0x9d9a3f(0x157)]),_0x1a0a17[_0x9d9a3f(0x1c5)]=_0x411dd4,_0x1a0a17[_0x9d9a3f(0x1a4)]=_0xd3914c,_0x1a0a17[_0x9d9a3f(0x1a0)]=_0x2ef98f,_0x1a0a17[_0x9d9a3f(0x16c)]=_0xb8892,this[_0x9d9a3f(0x157)][_0x9d9a3f(0x18f)](_0x3c6527,_0x59c589,_0x5e7913,_0x1a0a17),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1af)](_0x1a0a17),_0x3f2030['push'](_0x1a0a17),this[_0x9d9a3f(0x18d)]['set'](_0x1a0a17[_0x9d9a3f(0x1bf)],_0x1a0a17);}}this['_dependencyManagerService'][_0x9d9a3f(0x1d6)](_0x5e7913);}}}}[_0x36b4d0(0x1cd)](_0x4b32a6,_0x1c9324,_0x5f3ebf,_0x30aea3){const _0x36e555=_0x36b4d0;for(const _0x5231ee of _0x4b32a6){const _0x93df66=_0x1c9324[_0x5231ee];if(_0x93df66==null)continue;const _0x44c025=Object['keys'](_0x93df66);for(const _0x4b6d6c of _0x44c025){const _0x8b54c4=new _0xcdd134(_0x93df66[_0x4b6d6c]||{}),_0x7c8e7=new Map();_0x8b54c4[_0x36e555(0x163)]((_0xf1b78c,_0x30a8b0,_0x1f745c)=>{const _0x3de178=_0x36e555;if(_0x1f745c==null)return!0x0;const {x:_0x31ca45=0x0,y:y=0x0,si:_0x5af52d}=_0x1f745c;if(!(_0x31ca45===0x0&&y===0x0&&_0x5af52d!=null))return!0x0;const _0x2d0eae=this[_0x3de178(0x14f)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0,_0x5f3ebf,_0x1f745c),_0x41d2d6=this['_dependencyManagerService'][_0x3de178(0x1b0)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0);_0x41d2d6!=null?_0x2d0eae[_0x3de178(0x1bf)]=_0x41d2d6:(this[_0x3de178(0x157)][_0x3de178(0x19b)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0,_0x2d0eae),this['_dependencyManagerService'][_0x3de178(0x1af)](_0x2d0eae)),_0x7c8e7['set'](_0x5af52d,_0x2d0eae),_0x30aea3['push'](_0x2d0eae),this[_0x3de178(0x18d)][_0x3de178(0x18b)](_0x2d0eae['treeId'],_0x2d0eae);}),_0x8b54c4['forValue']((_0x9b6a7a,_0x65c0bd,_0xe94693)=>{const _0x506da2=_0x36e555;if(_0xe94693==null)return!0x0;const {x:_0x357683=0x0,y:y=0x0,si:_0xef9fe6}=_0xe94693;if(_0x357683===0x0&&y===0x0&&_0xef9fe6!=null)return!0x0;let _0x4f60f3;if(_0xef9fe6&&_0x7c8e7[_0x506da2(0x15b)](_0xef9fe6)){const _0x54b45b=_0x7c8e7[_0x506da2(0x191)](_0xef9fe6);_0x4f60f3=this['_createVirtualFDtree'](_0x54b45b,_0xe94693);}else _0x4f60f3=this[_0x506da2(0x14f)](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd,_0x5f3ebf,_0xe94693);const _0x18a909=this[_0x506da2(0x157)][_0x506da2(0x1b0)](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd);_0x18a909!=null?_0x4f60f3[_0x506da2(0x1bf)]=_0x18a909:(this[_0x506da2(0x157)]['addFormulaDependency'](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd,_0x4f60f3),this['_dependencyManagerService'][_0x506da2(0x1af)](_0x4f60f3)),_0x30aea3[_0x506da2(0x183)](_0x4f60f3),this[_0x506da2(0x18d)][_0x506da2(0x18b)](_0x4f60f3['treeId'],_0x4f60f3);}),_0x7c8e7[_0x36e555(0x1e4)]();}}}['_createFDtree'](_0x47f49a,_0x2c4f0c,_0x366076,_0x3da4c9,_0x587234,_0x576da1){const _0x369fce=_0x36b4d0,{f:_0x5c3a26,x:_0x4512f9=0x0,y:_0x4b1d91=0x0}=_0x576da1,_0x19696b=new _0x3fccb1(_0x126995(this[_0x369fce(0x157)])),_0x4b34da=_0x587234[_0x47f49a][_0x2c4f0c];return _0x19696b[_0x369fce(0x16d)]=_0x5c3a26,_0x19696b[_0x369fce(0x173)]=_0x47f49a,_0x19696b[_0x369fce(0x17a)]=_0x2c4f0c,_0x19696b['row']=_0x366076,_0x19696b[_0x369fce(0x1e1)]=_0x3da4c9,_0x19696b[_0x369fce(0x19e)]=_0x4b34da['rowCount'],_0x19696b[_0x369fce(0x1ce)]=_0x4b34da['columnCount'],_0x19696b;}[_0x36b4d0(0x1b1)](){const _0x353494=_0x36b4d0,_0x47408f=[],_0x33468e=new Set(),_0x1c7a15=this[_0x353494(0x1e7)][_0x353494(0x164)](),_0x41dc9b=this[_0x353494(0x1e7)]['getDirtyRanges'](),_0x26097a=this[_0x353494(0x157)][_0x353494(0x174)](_0x41dc9b),_0x260517=this[_0x353494(0x1b3)][_0x353494(0x1ba)](_0x41dc9b);for(const _0x238a6c of _0x260517)_0x26097a['add'](_0x238a6c);for(const [_0x9808fe,_0x150973]of this[_0x353494(0x18d)])(_0x1c7a15||_0x150973[_0x353494(0x14b)]||_0x150973['dependencySheetName'](this[_0x353494(0x1e7)][_0x353494(0x165)]())||_0x26097a[_0x353494(0x15b)](_0x9808fe)&&!_0x150973[_0x353494(0x18e)](this[_0x353494(0x1e7)][_0x353494(0x1b4)]()))&&!_0x33468e[_0x353494(0x15b)](_0x9808fe)&&(_0x47408f['push'](_0x150973),_0x33468e[_0x353494(0x182)](_0x9808fe));for(const [_0x4234f8,_0x17a307]of this[_0x353494(0x18d)])_0x17a307[_0x353494(0x196)]||(_0x17a307[_0x353494(0x186)][_0x353494(0x1a2)]=0x0);return _0x47408f;}[_0x36b4d0(0x17f)](_0x327d01){const _0x81566b=_0x36b4d0;return this[_0x81566b(0x18d)][_0x81566b(0x191)](_0x327d01);}[_0x36b4d0(0x15e)](_0x3e09c5){const _0x261f1e=_0x36b4d0;return _0x1fb637(_0x3e09c5[_0x261f1e(0x173)],_0x3e09c5[_0x261f1e(0x16d)],this[_0x261f1e(0x1d2)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x36b4d0(0x158)](_0x5317da,_0x27aea4){const _0x5b3124=_0x36b4d0,_0x35d4e3=_0x5317da,_0x4106a2=new Set();for(;_0x35d4e3[_0x5b3124(0x1a2)]>0x0;){const _0x550bc0=_0x35d4e3['pop']();if(_0x4106a2[_0x5b3124(0x1e4)](),_0x550bc0===void 0x0||_0x550bc0['isSkip']())continue;if(_0x550bc0['isAdded']()){yield _0x550bc0,_0x550bc0[_0x5b3124(0x17e)](),_0x27aea4['add'](_0x550bc0[_0x5b3124(0x1bf)]);continue;}const _0x1b3110=this[_0x5b3124(0x157)]['searchDependency'](_0x550bc0[_0x5b3124(0x1da)](),_0x27aea4),_0x2ae55d=this['_dependencyRTreeCacheForAddressFunction'][_0x5b3124(0x1ba)](_0x550bc0[_0x5b3124(0x1da)](),_0x27aea4);for(const _0x46a87e of _0x2ae55d)_0x1b3110[_0x5b3124(0x182)](_0x46a87e);for(const _0x557a61 of _0x1b3110){const _0x198bdf=this[_0x5b3124(0x18d)][_0x5b3124(0x191)](_0x557a61);if(!_0x198bdf)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x198bdf[_0x5b3124(0x1ca)]()||_0x550bc0[_0x5b3124(0x171)]()||_0x4106a2[_0x5b3124(0x182)](_0x198bdf);}if(_0x1b3110['clear'](),_0x4106a2[_0x5b3124(0x176)]===0x0)yield _0x550bc0,_0x550bc0[_0x5b3124(0x17e)](),_0x27aea4['add'](_0x550bc0[_0x5b3124(0x1bf)]);else{_0x550bc0[_0x5b3124(0x18a)](),_0x35d4e3[_0x5b3124(0x183)](_0x550bc0);for(const _0x29c319 of _0x4106a2)_0x35d4e3[_0x5b3124(0x183)](_0x29c319);}}_0x35d4e3[_0x5b3124(0x1a2)]=0x0,_0x4106a2['clear']();}[_0x36b4d0(0x188)](_0x164568){const _0x176d05=_0x36b4d0,_0x3bc09c=[],_0x306252=new Set();for(const _0x17ce31 of this['_traverse'](_0x164568,_0x306252))_0x3bc09c[_0x176d05(0x183)](_0x17ce31);return _0x3bc09c;}}class de extends _0x4d46b7{async[_0x36b4d0(0x1d3)](_0x44142d=!0x1){const _0x7e7a8b=_0x36b4d0;_0x44142d?this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x1bc)]):this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x15f)]),this[_0x7e7a8b(0x192)][_0x7e7a8b(0x1b2)](this['_runtimeService']['getRuntimeState']());const _0x4ba404=await this['_formulaDependencyGenerator'][_0x7e7a8b(0x1a9)](),_0x23c132=this['_interpreter'];_0x44142d?(this[_0x7e7a8b(0x1b6)]['setFormulaExecuteStage'](_0x3d0d6d[_0x7e7a8b(0x1d9)]),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x160)](_0x4ba404['length'])):(this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x18c)]),this['_runtimeService'][_0x7e7a8b(0x1bb)](_0x4ba404[_0x7e7a8b(0x1a2)])),this[_0x7e7a8b(0x192)]['next'](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x17c)]());let _0x538f9f=[];const _0x4464f0=this[_0x7e7a8b(0x19f)][_0x7e7a8b(0x149)](_0x3f3a12),_0x203249=(_0x4464f0==null?void 0x0:_0x4464f0['intervalCount'])||_0x252373;let _0x2b5375=0x0;const _0x33f908=_0x4ba404[_0x7e7a8b(0x1a2)];for(;_0x4ba404['length']>0x0;){const _0x31194e=_0x4ba404[_0x7e7a8b(0x167)](),_0x3b6c3f={'node':_0x1fb637(_0x31194e[_0x7e7a8b(0x173)],_0x31194e[_0x7e7a8b(0x16d)],this['_lexer'],this[_0x7e7a8b(0x1ad)],this[_0x7e7a8b(0x1e7)]),'refOffsetX':_0x31194e['refOffsetX'],'refOffsetY':_0x31194e[_0x7e7a8b(0x1a0)]},_0x4dcfb9=_0x31194e[_0x7e7a8b(0x14c)];if(_0x2b5375%_0x203249===0x0&&(await new Promise(_0x35844c=>{const _0x35e769=_0x7e7a8b,_0x5bba36=_0xfe6a7b(_0x35844c);_0x538f9f[_0x35e769(0x183)](_0x5bba36);}),_0x44142d?(this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x166)]),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d0)](_0x2b5375+0x1)):(this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x168)]),this['_runtimeService']['setCompletedFormulasCount'](_0x2b5375+0x1)),this['_executionInProgressListener$'][_0x7e7a8b(0x1b2)](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x17c)]()),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1dc)]()||_0x3b6c3f==null&&_0x4dcfb9==null)){this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x19d)]),this['_runtimeService'][_0x7e7a8b(0x193)](),this[_0x7e7a8b(0x169)]['next'](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1b7)]());return;}this['_runtimeService'][_0x7e7a8b(0x1c9)](_0x31194e[_0x7e7a8b(0x155)],_0x31194e[_0x7e7a8b(0x1e1)],_0x31194e[_0x7e7a8b(0x19e)],_0x31194e[_0x7e7a8b(0x1ce)],_0x31194e[_0x7e7a8b(0x17a)],_0x31194e[_0x7e7a8b(0x173)]);let _0x352bbc;if(_0x4dcfb9!=null&&_0x31194e[_0x7e7a8b(0x1aa)]!=null){const {runtimeCellData:_0x11642c,dirtyRanges:_0x520c71}=_0x4dcfb9(this['_currentConfigService'][_0x7e7a8b(0x14c)](),this[_0x7e7a8b(0x1b6)]['getAllRuntimeData']());this[_0x7e7a8b(0x1b6)]['setRuntimeFeatureCellData'](_0x31194e[_0x7e7a8b(0x1aa)],_0x11642c),this['_runtimeService'][_0x7e7a8b(0x1c3)](_0x31194e[_0x7e7a8b(0x1aa)],_0x520c71);}else _0x3b6c3f!=null&&(_0x23c132[_0x7e7a8b(0x1d5)](_0x3b6c3f[_0x7e7a8b(0x177)])?_0x352bbc=await _0x23c132[_0x7e7a8b(0x178)](_0x3b6c3f):_0x352bbc=_0x23c132[_0x7e7a8b(0x1e2)](_0x3b6c3f),_0x31194e[_0x7e7a8b(0x156)]!=null?this['_runtimeService'][_0x7e7a8b(0x1df)](_0x31194e['formulaId'],_0x31194e[_0x7e7a8b(0x1a4)],_0x31194e[_0x7e7a8b(0x1a0)],_0x352bbc):this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1e0)](_0x352bbc));_0x2b5375++;}return _0x538f9f[_0x7e7a8b(0x19c)](_0xcbfa23=>_0xcbfa23()),_0x538f9f=[],_0x33f908>0x0?this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x16b)]():_0x44142d||this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1cc)](),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1b7)]();}}function _0x3ea4(){const _0x5cb147=['1165SwHYfE','_lexer','_apply','setFormulaExecuteStage','checkAsyncNode','addOtherFormulaDependencyMainData','_otherFormulaDataMainData','_otherFormulaData','START_CALCULATION_ARRAY_FORMULA','toRTreeItem','getValue','isStopExecution','featureDirtyRanges','addFeatureFormulaDependency','setRuntimeOtherData','setRuntimeData','column','execute','hasOtherFormulaDataMainData','clear','getFeatureFormulaDependency','dispose','_currentConfigService','removeFormulaDependencyByDefinedName','realDeleteValue','getConfig','_otherFormulaManagerService','isDirty','getDirtyData','min','getOwnPropertyDescriptor','_createFDtree','endColumn','_featureFormulaData','delete','_injector','reset','row','formulaId','_dependencyManagerService','_traverse','getFormulaData','_definedNameMap','has','_config','_checkIsCycleDependency','_getTreeNode','START_DEPENDENCY','setTotalArrayFormulasToCalculate','startColumn','clearFormulaDependency','forValue','isForceCalculate','getDirtyNameMap','CURRENTLY_CALCULATING_ARRAY_FORMULA','pop','CURRENTLY_CALCULATING','_executionCompleteListener$','defineProperty','markedAsSuccessfullyExecuted','isCache','formula','startRow','_formulaData','getOtherFormulaDependency','isSkip','openKdTree','unitId','searchDependency','_updateRangeFlatten','size','node','executeAsync','_getFirstCellOfRange','subUnitId','removeFormulaDependency','getRuntimeState','_dependencyRTreeCache','setSkip','_getTreeById','valid','_initLicenseValid','add','push','_removeDependencyRTreeCacheById','getOtherFormulaData','rangeList','notExecuteFormula','_calculateRunList','removeFeatureFormulaDependency','setAdded','set','START_CALCULATION','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependency','clearFeatureFormulaDependency','get','_executionInProgressListener$','markedAsStopFunctionsExecuted','_allTreeMap','_isCyclicUtilMap','isVirtual','setValue','_addAllTreeMap','264IfzGPN','3462802GkrisU','addFormulaDependency','forEach','IDLE','rowCount','_configService','refOffsetY','2739341kGeglP','length','endRow','refOffsetX','closeKdTree','1759891uQcmxO','max','_initializeWithOverride','generate','featureId','_registerOtherFormulas','_getFeatureFormulaTree','_astTreeBuilder','type','addFormulaDependencyByDefinedName','getFormulaDependency','_getUpdateTreeListAndMakeDependency','next','_dependencyRTreeCacheForAddressFunction','getExcludedRange','3pKfbaP','_runtimeService','getAllRuntimeData','11652YhwXbq','130401HQenHH','bulkSearch','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','return\x20','_removeAllTreeMap','treeId','getUnitData','2800674zbQIIp','1540140cSRdmx','setRuntimeFeatureRange','10zYelhD','refTree','_removeDependencyRTreeCache','keys','_restDependencyTreeId','setCurrent','isAdded','_convertDirtyRangesToUnitRange','markedAsNoFunctionsExecuted','_registerFormulas','columnCount','clearOtherFormulaDependency','setCompletedArrayFormulasCount'];_0x3ea4=function(){return _0x5cb147;};return _0x3ea4();}class ge extends _0x52fcda{constructor(){const _0x3bc60b=_0x36b4d0;super(...arguments),S(this,_0x3bc60b(0x194),new Map()),S(this,_0x3bc60b(0x17d),new _0x639d9b(!0x0));}[_0x36b4d0(0x154)](){const _0x509c98=_0x36b4d0;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x509c98(0x1e4)](),this[_0x509c98(0x16f)][_0x509c98(0x1e4)](),this[_0x509c98(0x17d)]['clear'](),this['_allTreeMap']['clear'](),this[_0x509c98(0x1c8)](),this['_otherFormulaDataMainData'][_0x509c98(0x1e4)]();}[_0x36b4d0(0x18f)](_0x30811f,_0x2191ee,_0x124dd4,_0x4de6bb){const _0x13bce8=_0x36b4d0;this[_0x13bce8(0x1d8)][_0x13bce8(0x15b)](_0x30811f)||this[_0x13bce8(0x1d8)][_0x13bce8(0x18b)](_0x30811f,new Map());const _0x115579=this['_otherFormulaData'][_0x13bce8(0x191)](_0x30811f);_0x115579['has'](_0x2191ee)||_0x115579[_0x13bce8(0x18b)](_0x2191ee,new Map());const _0xba7818=_0x115579[_0x13bce8(0x191)](_0x2191ee);_0xba7818[_0x13bce8(0x15b)](_0x124dd4)||_0xba7818[_0x13bce8(0x18b)](_0x124dd4,new _0xcdd134()),_0xba7818[_0x13bce8(0x191)](_0x124dd4)[_0x13bce8(0x197)](_0x4de6bb[_0x13bce8(0x1a4)],_0x4de6bb[_0x13bce8(0x1a0)],_0x4de6bb[_0x13bce8(0x1bf)]);}['removeOtherFormulaDependency'](_0x42a329,_0x44b943,_0x40c77e){const _0x12e4d3=_0x36b4d0,_0x14b664=this['_otherFormulaData'][_0x12e4d3(0x191)](_0x42a329);if(_0x14b664&&_0x14b664[_0x12e4d3(0x15b)](_0x44b943)){const _0x20963e=_0x14b664[_0x12e4d3(0x191)](_0x44b943);_0x40c77e[_0x12e4d3(0x19c)](_0x41954b=>{const _0x404efd=_0x12e4d3,_0x3a1477=_0x20963e['get'](_0x41954b);_0x3a1477!=null&&(_0x3a1477[_0x404efd(0x163)]((_0x37673e,_0x189640,_0x50be96)=>{const _0x506478=_0x404efd;this[_0x506478(0x1c6)](_0x50be96),this[_0x506478(0x1be)](_0x50be96);}),_0x20963e[_0x404efd(0x152)](_0x41954b),this[_0x404efd(0x1d7)]['delete'](_0x41954b));}),_0x20963e[_0x12e4d3(0x176)]===0x0&&_0x14b664[_0x12e4d3(0x152)](_0x44b943),_0x14b664['size']===0x0&&this[_0x12e4d3(0x1d8)][_0x12e4d3(0x152)](_0x42a329);}}[_0x36b4d0(0x1cf)](_0x2542b2,_0x47f743){const _0x12821d=_0x36b4d0,_0x14601a=this[_0x12821d(0x1d8)][_0x12821d(0x191)](_0x2542b2);if(_0x47f743&&_0x14601a&&_0x14601a[_0x12821d(0x15b)](_0x47f743)){const _0x318221=_0x14601a['get'](_0x47f743);this[_0x12821d(0x184)](_0x2542b2,_0x47f743);for(const _0x2a447d of _0x318221['keys']()){const _0x14faa3=_0x318221['get'](_0x2a447d);_0x14faa3!=null&&(_0x14faa3[_0x12821d(0x163)]((_0x44b608,_0x2b2a3d,_0x22dfd1)=>{const _0x1fbe10=_0x12821d;this[_0x1fbe10(0x194)]['get'](_0x22dfd1)&&this[_0x1fbe10(0x1be)](_0x22dfd1);}),this[_0x12821d(0x1d7)]['delete'](_0x2a447d));}_0x318221[_0x12821d(0x1e4)]();}else{if(_0x14601a){for(const _0x4c363d of _0x14601a['keys']()){const _0x4b4d0b=_0x14601a[_0x12821d(0x191)](_0x4c363d);this[_0x12821d(0x184)](_0x2542b2,_0x4c363d);for(const _0x4272d0 of _0x4b4d0b[_0x12821d(0x1c7)]()){const _0x118ce7=_0x4b4d0b[_0x12821d(0x191)](_0x4272d0);_0x118ce7!=null&&(_0x118ce7[_0x12821d(0x163)]((_0x21af89,_0x201bea,_0x3bd5fb)=>{const _0x42f041=_0x12821d;this[_0x42f041(0x194)][_0x42f041(0x191)](_0x3bd5fb)&&this[_0x42f041(0x1be)](_0x3bd5fb);}),this['_otherFormulaDataMainData'][_0x12821d(0x152)](_0x4272d0));}}this[_0x12821d(0x1d8)]['delete'](_0x2542b2);}}}[_0x36b4d0(0x1de)](_0x432e61,_0x109a17,_0x2a9f6e,_0x2ff982){const _0x300e85=_0x36b4d0;this[_0x300e85(0x151)][_0x300e85(0x15b)](_0x432e61)||this[_0x300e85(0x151)][_0x300e85(0x18b)](_0x432e61,new Map());const _0x33ebee=this['_featureFormulaData'][_0x300e85(0x191)](_0x432e61);_0x33ebee[_0x300e85(0x15b)](_0x109a17)||_0x33ebee[_0x300e85(0x18b)](_0x109a17,new Map()),_0x33ebee[_0x300e85(0x191)](_0x109a17)[_0x300e85(0x18b)](_0x2a9f6e,_0x2ff982['treeId']);}[_0x36b4d0(0x189)](_0x4d9638,_0x4e2f56,_0x2d00f4){const _0x261338=_0x36b4d0,_0x339866=this['_featureFormulaData']['get'](_0x4d9638);if(_0x339866&&_0x339866[_0x261338(0x15b)](_0x4e2f56)){const _0x495c47=_0x339866[_0x261338(0x191)](_0x4e2f56);_0x2d00f4[_0x261338(0x19c)](_0x50df62=>{const _0x2e1253=_0x261338,_0x7fa9d=_0x495c47[_0x2e1253(0x191)](_0x50df62);_0x7fa9d!=null&&(this[_0x2e1253(0x1c6)](_0x7fa9d),_0x495c47[_0x2e1253(0x152)](_0x50df62),this['_removeAllTreeMap'](_0x7fa9d));});}}[_0x36b4d0(0x190)](_0xd1e8a4,_0x243f42){const _0x323250=_0x36b4d0,_0x56ff5c=this['_featureFormulaData']['get'](_0xd1e8a4);if(_0x243f42&&_0x56ff5c&&_0x56ff5c[_0x323250(0x15b)](_0x243f42)){const _0x344402=_0x56ff5c['get'](_0x243f42);this[_0x323250(0x184)](_0xd1e8a4,_0x243f42),_0x344402[_0x323250(0x19c)](_0x4bc32f=>{const _0x43db46=_0x323250;_0x4bc32f!=null&&this[_0x43db46(0x1be)](_0x4bc32f);}),_0x344402[_0x323250(0x1e4)]();}else _0x56ff5c&&(_0x56ff5c[_0x323250(0x19c)]((_0x346c5b,_0xdcf028)=>{const _0x4780e2=_0x323250;this['_removeDependencyRTreeCacheById'](_0xd1e8a4,_0xdcf028),_0x346c5b[_0x4780e2(0x19c)](_0x20163c=>{_0x20163c!=null&&this['_removeAllTreeMap'](_0x20163c);});}),this[_0x323250(0x151)]['delete'](_0xd1e8a4));}[_0x36b4d0(0x19b)](_0x193fa7,_0x1e83e6,_0x3b74ad,_0x434514,_0xb9a135){const _0x343c6e=_0x36b4d0;this[_0x343c6e(0x16f)][_0x343c6e(0x15b)](_0x193fa7)||this[_0x343c6e(0x16f)][_0x343c6e(0x18b)](_0x193fa7,new Map());const _0x252ed2=this[_0x343c6e(0x16f)][_0x343c6e(0x191)](_0x193fa7);_0x252ed2['has'](_0x1e83e6)||_0x252ed2[_0x343c6e(0x18b)](_0x1e83e6,new _0xcdd134()),_0x252ed2['get'](_0x1e83e6)[_0x343c6e(0x197)](_0x3b74ad,_0x434514,_0xb9a135[_0x343c6e(0x1bf)]);}[_0x36b4d0(0x17b)](_0x5dcabc,_0x68edd6,_0x4e6400,_0x3410c8){const _0x83431c=_0x36b4d0,_0x1d1837=this[_0x83431c(0x16f)][_0x83431c(0x191)](_0x5dcabc);if(_0x1d1837&&_0x1d1837[_0x83431c(0x15b)](_0x68edd6)){const _0x41d694=_0x1d1837[_0x83431c(0x191)](_0x68edd6),_0x4c6849=_0x41d694[_0x83431c(0x1db)](_0x4e6400,_0x3410c8);if(_0x4c6849==null)return;this[_0x83431c(0x1c6)](_0x4c6849),_0x41d694[_0x83431c(0x148)](_0x4e6400,_0x3410c8),this[_0x83431c(0x1be)](_0x4c6849);}}[_0x36b4d0(0x162)](_0x25a6ec,_0x1d558d){const _0x126d82=_0x36b4d0,_0x4d5703=this['_formulaData'][_0x126d82(0x191)](_0x25a6ec);if(_0x1d558d&&_0x4d5703&&_0x4d5703[_0x126d82(0x15b)](_0x1d558d)){const _0x5b1aa3=_0x4d5703[_0x126d82(0x191)](_0x1d558d);this['_removeDependencyRTreeCacheById'](_0x25a6ec,_0x1d558d),_0x5b1aa3[_0x126d82(0x163)]((_0x462321,_0x49827a,_0x4be08c)=>{const _0x2d9207=_0x126d82;if(_0x4be08c==null)return!0x0;this[_0x2d9207(0x1be)](_0x4be08c);}),_0x5b1aa3[_0x126d82(0x154)]();}else _0x4d5703&&(_0x4d5703[_0x126d82(0x19c)]((_0x2c56cc,_0x3bdf06)=>{const _0x2fa1f1=_0x126d82;this[_0x2fa1f1(0x184)](_0x25a6ec,_0x3bdf06),_0x2c56cc[_0x2fa1f1(0x163)]((_0x69d9a6,_0x2f9d1f,_0x3a35af)=>{const _0x8fa5be=_0x2fa1f1;if(_0x3a35af==null)return!0x0;this[_0x8fa5be(0x1be)](_0x3a35af);});}),this[_0x126d82(0x16f)][_0x126d82(0x152)](_0x25a6ec));}[_0x36b4d0(0x1c6)](_0xd5a49c){const _0x1c22ec=_0x36b4d0;if(_0xd5a49c==null)return;const _0x18dc86=this[_0x1c22ec(0x194)]['get'](_0xd5a49c);if(_0x18dc86){const _0xcf21a=[];for(const [_0x439677,_0x525168]of _0x18dc86)for(const [_0x359036,_0x30b3ae]of _0x525168)_0xcf21a[_0x1c22ec(0x183)]({'unitId':_0x439677,'sheetId':_0x359036,'range':_0x30b3ae,'id':_0xd5a49c});this[_0x1c22ec(0x17d)]['bulkRemove'](_0xcf21a);}}[_0x36b4d0(0x1e8)](_0x38d803,_0x21b0a8){const _0x1d4b31=_0x36b4d0,_0x418248=this[_0x1d4b31(0x15a)]['get'](_0x38d803);if(_0x418248){const _0x3b6d5c=_0x418248[_0x1d4b31(0x191)](_0x21b0a8);if(_0x3b6d5c){for(const _0x3ec2e6 of _0x3b6d5c)this[_0x1d4b31(0x1c6)](_0x3ec2e6),this[_0x1d4b31(0x1be)](_0x3ec2e6);_0x3b6d5c[_0x1d4b31(0x1e4)]();}}}[_0x36b4d0(0x172)](){const _0x3ee9d3=_0x36b4d0;this[_0x3ee9d3(0x17d)][_0x3ee9d3(0x172)]();}[_0x36b4d0(0x1a5)](){const _0x509eff=_0x36b4d0;this[_0x509eff(0x17d)]['closeKdTree']();}['_removeAllTreeMap'](_0x41ab98){const _0x15f9cc=_0x36b4d0;_0x41ab98!=null&&this[_0x15f9cc(0x194)][_0x15f9cc(0x152)](_0x41ab98);}[_0x36b4d0(0x198)](_0x3787e4){const _0x1ce95d=_0x36b4d0;var _0x50a19f,_0x3351d9;const _0x49e761=_0x3787e4[_0x1ce95d(0x186)];let _0x3df7f1=this[_0x1ce95d(0x194)][_0x1ce95d(0x191)](_0x3787e4[_0x1ce95d(0x1bf)]);for(let _0x87fd37=0x0;_0x87fd37<_0x49e761[_0x1ce95d(0x1a2)];_0x87fd37++){const _0x22f4b5=_0x49e761[_0x87fd37];let {unitId:_0x309503,sheetId:_0x2cc118,range:_0x274afc}=_0x22f4b5;_0x3df7f1||(_0x3df7f1=new Map(),this[_0x1ce95d(0x194)][_0x1ce95d(0x18b)](_0x3787e4[_0x1ce95d(0x1bf)],_0x3df7f1)),_0x3df7f1[_0x1ce95d(0x15b)](_0x309503)||_0x3df7f1[_0x1ce95d(0x18b)](_0x309503,new Map());const _0x77c6cf=(_0x50a19f=_0x3df7f1==null?void 0x0:_0x3df7f1[_0x1ce95d(0x191)](_0x309503))==null?void 0x0:_0x50a19f[_0x1ce95d(0x191)](_0x2cc118);_0x77c6cf&&(_0x274afc={'startRow':Math[_0x1ce95d(0x14d)](_0x274afc[_0x1ce95d(0x16e)],_0x77c6cf[_0x1ce95d(0x16e)]),'startColumn':Math[_0x1ce95d(0x14d)](_0x274afc[_0x1ce95d(0x161)],_0x77c6cf['startColumn']),'endRow':Math[_0x1ce95d(0x1a7)](_0x274afc[_0x1ce95d(0x1a3)],_0x77c6cf['endRow']),'endColumn':Math[_0x1ce95d(0x1a7)](_0x274afc[_0x1ce95d(0x150)],_0x77c6cf[_0x1ce95d(0x150)])}),(_0x3351d9=_0x3df7f1[_0x1ce95d(0x191)](_0x309503))==null||_0x3351d9[_0x1ce95d(0x18b)](_0x2cc118,_0x274afc);}}}var fe=Object[_0x36b4d0(0x14e)],De=(_0x29e543,_0x462c2f,_0xed6b0,_0x4c5346)=>{const _0x13a909=_0x36b4d0;for(var _0x5c04df=_0x4c5346>0x1?void 0x0:_0x4c5346?fe(_0x462c2f,_0xed6b0):_0x462c2f,_0xe1dfa5=_0x29e543[_0x13a909(0x1a2)]-0x1,_0x3805b5;_0xe1dfa5>=0x0;_0xe1dfa5--)(_0x3805b5=_0x29e543[_0xe1dfa5])&&(_0x5c04df=_0x3805b5(_0x5c04df)||_0x5c04df);return _0x5c04df;};const _e=Number['parseInt'](0x689ed354);let U=class extends _0x1c87b8{[_0x36b4d0(0x1a8)](){const _0xe2b441=_0x36b4d0;var _0x18acdb,_0x1c5862;this[_0xe2b441(0x181)]()?(_0x18acdb=this[_0xe2b441(0x15c)])!=null&&_0x18acdb[_0xe2b441(0x187)]||[[_0x4b83a2,{'useClass':de}],[_0x2784d7,{'useClass':ge}],[_0x19aac6,{'useClass':he}]]['forEach'](_0x3dfcfe=>this[_0xe2b441(0x153)][_0xe2b441(0x182)](_0x3dfcfe)):(_0x1c5862=this[_0xe2b441(0x15c)])!=null&&_0x1c5862[_0xe2b441(0x187)]||[[_0x4b83a2,{'useClass':_0x4d46b7}],[_0x2784d7,{'useClass':_0x51b177}],[_0x19aac6,{'useClass':_0x45ddb7}]]['forEach'](_0x405a03=>this[_0xe2b441(0x153)][_0xe2b441(0x182)](_0x405a03));}[_0x36b4d0(0x181)](){const _0x555171=_0x36b4d0;var _0x36fa76;const _0x2cc712=(_0x36fa76=this['_configService']['getConfig'](_0x185044))!=null?_0x36fa76:{},{ls:_0x3a9c3d,pbk:_0x148e59}=_0x2cc712;if(!_0x3a9c3d||!_0x148e59)return!0x1;const _0x230606=_0x4fcf89(ue,le),_0x8c478=new Function(_0x555171(0x1bd)+_0x230606)()(_0x3a9c3d,_0x148e59),_0x4517eb=_0x8c478['message'];return _0x8c478[_0x555171(0x180)]&&_0x2a503a(_0x4517eb,'sf',_e)?_0x20935d(_0x4517eb,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};U=De([_0x5ef185(_0x5ba6ec)],U);export{U as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5367(){var _0x514e17=['66brbPAk','14WZfmhK','10809205gilnsP','13846560JhfKYo','7221728eFXdyB','8wEmwTt','389361GtpISF','7LYZAeO','440jltBpD','79880FzUwDU','19051PbkzNj','102798aVDOKa'];_0x5367=function(){return _0x514e17;};return _0x5367();}function _0x2003(_0x416ced,_0x1a83cc){var _0x53675a=_0x5367();return _0x2003=function(_0x200355,_0x5d4331){_0x200355=_0x200355-0xab;var _0x439a0f=_0x53675a[_0x200355];return _0x439a0f;},_0x2003(_0x416ced,_0x1a83cc);}(function(_0x50747c,_0x247639){var _0x5f2697=_0x2003,_0x2c61d3=_0x50747c();while(!![]){try{var _0x44a680=-parseInt(_0x5f2697(0xb4))/0x1*(-parseInt(_0x5f2697(0xab))/0x2)+-parseInt(_0x5f2697(0xb0))/0x3*(parseInt(_0x5f2697(0xaf))/0x4)+-parseInt(_0x5f2697(0xb3))/0x5*(-parseInt(_0x5f2697(0xb6))/0x6)+-parseInt(_0x5f2697(0xb1))/0x7*(-parseInt(_0x5f2697(0xae))/0x8)+-parseInt(_0x5f2697(0xb5))/0x9*(parseInt(_0x5f2697(0xb2))/0xa)+-parseInt(_0x5f2697(0xac))/0xb+parseInt(_0x5f2697(0xad))/0xc;if(_0x44a680===_0x247639)break;else _0x2c61d3['push'](_0x2c61d3['shift']());}catch(_0x3cc970){_0x2c61d3['push'](_0x2c61d3['shift']());}}}(_0x5367,0x9795c));export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5c07(_0x118c68,_0x52c8a4){const _0x111270=_0x1112();return _0x5c07=function(_0x5c07bf,_0x2af5ea){_0x5c07bf=_0x5c07bf-0x1e0;let _0x77c59a=_0x111270[_0x5c07bf];return _0x77c59a;},_0x5c07(_0x118c68,_0x52c8a4);}const _0x54eca0=_0x5c07;(function(_0x3ecea6,_0x5219be){const _0x20b3f4=_0x5c07,_0x4cf6b5=_0x3ecea6();while(!![]){try{const _0x3e3391=parseInt(_0x20b3f4(0x1f0))/0x1*(-parseInt(_0x20b3f4(0x20e))/0x2)+-parseInt(_0x20b3f4(0x209))/0x3+-parseInt(_0x20b3f4(0x248))/0x4*(-parseInt(_0x20b3f4(0x276))/0x5)+-parseInt(_0x20b3f4(0x210))/0x6+parseInt(_0x20b3f4(0x255))/0x7*(parseInt(_0x20b3f4(0x1f8))/0x8)+parseInt(_0x20b3f4(0x1fd))/0x9*(-parseInt(_0x20b3f4(0x25c))/0xa)+parseInt(_0x20b3f4(0x253))/0xb*(parseInt(_0x20b3f4(0x211))/0xc);if(_0x3e3391===_0x5219be)break;else _0x4cf6b5['push'](_0x4cf6b5['shift']());}catch(_0x4e1807){_0x4cf6b5['push'](_0x4cf6b5['shift']());}}}(_0x1112,0xe97c5));var z=Object[_0x54eca0(0x274)],H=(_0x4bcc7,_0x324167,_0x19c24c)=>_0x324167 in _0x4bcc7?z(_0x4bcc7,_0x324167,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19c24c}):_0x4bcc7[_0x324167]=_0x19c24c,C=(_0x4036f7,_0x5defe4,_0x225fdc)=>H(_0x4036f7,typeof _0x5defe4!=_0x54eca0(0x225)?_0x5defe4+'':_0x5defe4,_0x225fdc);import{UniverLicensePlugin as _0x5d6d79,LS_CONFIG_KEY as _0x470751,unshiftString as _0x5b72b0,isFeatureAuthorizedWithinTime as _0x4f675d,getSheetFeatureLimit as _0x54b105}from'@univerjs-pro/license';import{ObjectMatrix as _0x11b7ac,requestImmediateMacroTask as _0x2c911e,RTree as _0x2ecdcb,DependentOn as _0x30b0c0}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1e565a,generateRandomDependencyTreeId as _0x435cf6,FormulaDependencyTree as _0x11a628,FormulaDependencyTreeType as _0x332396,FormulaDependencyTreeVirtual as _0x76a86e,generateAstNode as _0x1ff9e8,CalculateFormulaService as _0x6c3a87,FormulaExecuteStageType as _0x54bd0b,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3b6565,DEFAULT_INTERVAL_COUNT as _0x5d5993,DependencyManagerBaseService as _0x16c730,UniverFormulaEnginePlugin as _0x540b90,ICalculateFormulaService as _0xc9200c,IDependencyManagerService as _0x2e452b,IFormulaDependencyGenerator as _0x1c1458,DependencyManagerService as _0x4472ae}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const oe={0x0:'h',0x1:'B',0x2:'z',0x3:'3',0x4:'m',0x5:'H',0x6:'7',0x7:'9',0x8:'y',0x9:'f','h':'0','J':'1','c':'2','i':'4','a':'5','o':'6','k':'8','V':'a','O':'b','Q':'c','e':'d','l':'e','U':'g','w':'i','R':'j','y':'k','P':'l','n':'n','K':'o','s':'p','m':'q','W':'r','F':'s','L':'t','A':'u','T':'v','b':'w','r':'x','M':'A','t':'C','I':'D','u':'E','S':'F','v':'G','D':'I','B':'J','x':'K','p':'L','j':'M','Y':'N','E':'O','N':'P','H':'Q','C':'R','z':'S','Z':'T','X':'U','g':'V','G':'W','f':'X','q':'Y','d':'Z'},ue='9AnQLwKn\x20elQW8sLwKn(PwQlnFl,\x20sAOPwQxl8)\x20{\x20\x20\x20\x20LW8\x20{\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20PwQlnFlDn9KNVWLMWWV8\x20=\x20PwQlnFl.FsPwL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20KWwUwnjlFFVUl\x20=\x20BzEY.sVWFl(VLKO(PwQlnFlDn9KNVWLMWWV8[c]));\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!KWwUwnjlFFVUl.Ae)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KWwUwnjlFFVUl.Ae\x20=\x20YA4OlW(PwQlnFlDn9KNVWLMWWV8[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20wFGKWylW\x20=\x20L8slK9\x20GKWylWvPKOVPzQKsl\x20!==\x20\x27Anel9wnle\x27\x20&&\x20FlP9\x20wnFLVnQlK9\x20GKWylWvPKOVPzQKsl;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20QKnLlrL\x20=\x20wFGKWylW\x20?\x20FlP9\x20:\x20bwneKb;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[c]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(4lFFVUlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[3]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(FwUnVLAWlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUngVPwe\x20=\x20QKnLlrL.__TlWw98__(FwUnVLAWl,\x204lFFVUl,\x20sAOPwQxl8);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20eK4Vwn\x20=\x20KWwUwnjlFFVUl.e4;\x20\x20\x20\x20\x20\x20\x20\x209AnQLwKn\x20wFIK4VwnjVLQ0wnU(KNVLLlWn,\x20K5KFL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWn\x20=\x20KNVLLlWn.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFL\x20=\x20K5KFL.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnNVWLF\x20=\x20sVLLlWn.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLNVWLF\x20=\x200KFL.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!sVLLlWn.wnQPAelF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWn\x20===\x200KFL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(sVLLlWnNVWLF.PlnUL0\x20<\x20c\x20||\x20sVLLlWnNVWLF[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x209VPFl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnzA99wr\x20=\x20sVLLlWnNVWLF.FPwQl(J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLzA99wr\x20=\x200KFLNVWLF.FPwQl(-sVLLlWnNVWLF.PlnUL0\x20+\x20J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWnzA99wr\x20===\x200KFLzA99wr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PlL\x20eK4VwngVPwe\x20=\x20(eK4Vwn\x20&&\x20eK4Vwn.PlnUL0)\x20?\x20eK4Vwn.FK4l((e4DLl4)\x20=>\x20wFIK4VwnjVLQ0wnU(e4DLl4,\x20PKQVLwKn.0KFLnV4l))\x20:\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(PKQVLwKn.0KFLnV4l\x20===\x20\x27PKQVP0KFL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eK4VwngVPwe\x20=\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20TVPwe\x20=\x20FwUngVPwe\x20&&\x20eK4VwngVPwe;\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20KWwUwnjlFFVUl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20QVLQ0\x20(lWWKW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe:\x209VPFl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1e565a{constructor(){const _0xfbdb4a=_0x54eca0;super(...arguments),C(this,_0xfbdb4a(0x220),new Map());}[_0x54eca0(0x258)](){const _0x30e210=_0x54eca0;super[_0x30e210(0x258)](),this[_0x30e210(0x220)]['clear']();}async['generate'](){const _0x248f74=_0x54eca0;this[_0x248f74(0x1fe)]();const _0x248f3e=this[_0x248f74(0x272)][_0x248f74(0x212)](),_0xf37696=this['_otherFormulaManagerService'][_0x248f74(0x1e0)](),_0x41adb1=this[_0x248f74(0x272)][_0x248f74(0x27c)]();_0x41adb1!=null&&Object[_0x248f74(0x242)](_0x41adb1)[_0x248f74(0x252)](_0x1c6e46=>{const _0x24c8b2=_0x248f74;_0x1c6e46!=null&&Object['keys'](_0x41adb1[_0x1c6e46])[_0x24c8b2(0x252)](_0x129466=>{const _0x2fcada=_0x24c8b2;_0x129466!=null&&(this['_dependencyManagerService'][_0x2fcada(0x234)](_0x1c6e46,_0x129466),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x1c6e46,_0x129466),this[_0x2fcada(0x21d)][_0x2fcada(0x250)](_0x1c6e46,_0x129466));});});const _0x4dac5a=this[_0x248f74(0x272)][_0x248f74(0x221)]();await this['_generateTreeList'](_0x248f3e,_0xf37696,_0x4dac5a),this[_0x248f74(0x21d)]['openKdTree']();const _0x270e32=this['_getUpdateTreeListAndMakeDependency'](),_0x37b96b=this[_0x248f74(0x25f)](_0x270e32);return this[_0x248f74(0x23e)](_0x37b96b)&&this[_0x248f74(0x222)][_0x248f74(0x1ff)](),this['_dependencyTreeCache'][_0x248f74(0x241)](),this[_0x248f74(0x215)]['clear'](),this[_0x248f74(0x21d)]['closeKdTree'](),Promise['resolve'](_0x37b96b);}[_0x54eca0(0x266)](_0x72ccbe,_0x5a3157){const _0x4a9edd=_0x54eca0,_0x37e4ac=[_0x72ccbe];for(;_0x37e4ac[_0x4a9edd(0x1ef)]>0x0;){const _0x4e3b9b=_0x37e4ac[_0x37e4ac[_0x4a9edd(0x1ef)]-0x1];if((_0x5a3157['get'](_0x4e3b9b)||0x0)===0x0){_0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x1);const _0x1caeb0=this[_0x4a9edd(0x220)]['get'](_0x4e3b9b);if(_0x1caeb0==null){_0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x2),_0x37e4ac[_0x4a9edd(0x21c)]();continue;}const _0x33041d=this[_0x4a9edd(0x21d)]['searchDependency'](_0x1caeb0[_0x4a9edd(0x22e)]());for(const _0x3b64c1 of _0x33041d){const _0x4cd01c=_0x5a3157[_0x4a9edd(0x24c)](_0x3b64c1)||0x0;if(_0x4cd01c===0x1)return!0x0;_0x4cd01c===0x0&&_0x37e4ac[_0x4a9edd(0x1f7)](_0x3b64c1);}}else _0x5a3157[_0x4a9edd(0x1fb)](_0x4e3b9b,0x2),_0x37e4ac[_0x4a9edd(0x21c)]();}return!0x1;}[_0x54eca0(0x23e)](_0x2239ec){const _0x5a19cf=_0x54eca0,_0x6948b=new Map();for(const _0x460c2d of _0x2239ec)if(!_0x6948b['has'](_0x460c2d[_0x5a19cf(0x217)])&&this[_0x5a19cf(0x266)](_0x460c2d[_0x5a19cf(0x217)],_0x6948b))return!0x0;return _0x6948b[_0x5a19cf(0x241)](),!0x1;}['_getFeatureFormulaTree'](_0x1437b0,_0x27557e,_0x4ce17a){const _0x28b8da=_0x54eca0,{unitId:_0x34721f,subUnitId:_0x4619cf,dependencyRanges:_0x318c25,getDirtyData:_0x5849b7}=_0x4ce17a,_0x48e0e8=_0x27557e||_0x435cf6(this[_0x28b8da(0x21d)]),_0x4c6d47=new _0x11a628(_0x48e0e8);_0x4c6d47[_0x28b8da(0x22d)]=_0x34721f,_0x4c6d47[_0x28b8da(0x205)]=_0x4619cf,_0x4c6d47[_0x28b8da(0x219)]=_0x318c25,_0x4c6d47['getDirtyData']=_0x5849b7;const _0xef90a2=_0x5849b7(this['_currentConfigService']['getDirtyData'](),this[_0x28b8da(0x222)]['getAllRuntimeData']()),_0x44d405=this['_convertDirtyRangesToUnitRange'](_0xef90a2[_0x28b8da(0x261)]);return _0x4c6d47[_0x28b8da(0x224)]=_0x44d405,_0x4c6d47[_0x28b8da(0x1f5)]=_0x1437b0,_0x4c6d47[_0x28b8da(0x26d)]=_0x332396[_0x28b8da(0x262)],this['_dependencyManagerService'][_0x28b8da(0x246)](_0x34721f,_0x4619cf,_0x1437b0,_0x4c6d47),this[_0x28b8da(0x220)][_0x28b8da(0x1fb)](_0x4c6d47[_0x28b8da(0x217)],_0x4c6d47),this[_0x28b8da(0x21d)][_0x28b8da(0x1fc)](_0x4ce17a[_0x28b8da(0x22d)],_0x4ce17a[_0x28b8da(0x205)],_0x1437b0)&&(_0x4c6d47['isCache']=!0x0),_0x4c6d47;}[_0x54eca0(0x20d)](_0x570d40,_0xd2f766,_0x2055bd){const _0x342851=_0x54eca0;var _0x2c410b;for(const _0x3c1312 of _0xd2f766){const _0xbac3ed=_0x570d40[_0x3c1312];if(_0xbac3ed==null)continue;const _0x2f0835=Object[_0x342851(0x242)](_0xbac3ed);for(const _0x2cedc0 of _0x2f0835){const _0x43a61e=_0xbac3ed[_0x2cedc0];if(_0x43a61e==null)continue;const _0x178503=Object[_0x342851(0x242)](_0x43a61e);for(const _0x5f0e18 of _0x178503){const _0x5e9cc7=this[_0x342851(0x21d)][_0x342851(0x1f3)](_0x5f0e18),_0x337ade=_0x43a61e[_0x5f0e18],{f:_0x440a70,ranges:_0x12d7cc}=_0x337ade;let _0x3ccdbc=!0x1;_0x5e9cc7&&(_0x3ccdbc=!0x0);const {firstRow:_0x47c771,firstColumn:_0x1010b6}=this['_getFirstCellOfRange'](_0x12d7cc),_0x47c92e=this['_dependencyManagerService'][_0x342851(0x1ec)](_0x3c1312,_0x2cedc0,_0x5f0e18),_0x5795b9=(_0x2c410b=_0x47c92e==null?void 0x0:_0x47c92e['getValue'](0x0,0x0))!=null?_0x2c410b:_0x435cf6(this[_0x342851(0x21d)]),_0x3ace32=new _0x11a628(_0x5795b9);for(let _0x389525=0x0;_0x389525<_0x12d7cc[_0x342851(0x1ef)];_0x389525++){const _0x55716c=_0x12d7cc[_0x389525],{startRow:_0x5def0e,startColumn:_0x47cf22,endRow:_0x212d49,endColumn:_0x308cc5}=_0x55716c;for(let _0x4c1678=_0x5def0e;_0x4c1678<=_0x212d49;_0x4c1678++)for(let _0x12d12c=_0x47cf22;_0x12d12c<=_0x308cc5;_0x12d12c++){const _0x2089c1=_0x12d12c-_0x1010b6,_0x1db078=_0x4c1678-_0x47c771;if(_0x2089c1===0x0&&_0x1db078===0x0){_0x3ace32[_0x342851(0x22c)]=_0x440a70,_0x3ace32[_0x342851(0x22d)]=_0x3c1312,_0x3ace32['subUnitId']=_0x2cedc0,_0x3ace32['formulaId']=_0x5f0e18,_0x3ace32[_0x342851(0x26d)]=_0x332396[_0x342851(0x22f)],_0x3ace32[_0x342851(0x23d)]=_0x3ccdbc,_0x2055bd[_0x342851(0x1f7)](_0x3ace32),this[_0x342851(0x220)]['set'](_0x3ace32[_0x342851(0x217)],_0x3ace32),this[_0x342851(0x21d)][_0x342851(0x1e4)](_0x3c1312,_0x2cedc0,_0x5f0e18,_0x3ace32),this['_dependencyManagerService'][_0x342851(0x24e)](_0x3ace32);continue;}const _0x4b5607=new _0x76a86e();_0x4b5607['treeId']=(_0x47c92e==null?void 0x0:_0x47c92e['getValue'](_0x2089c1,_0x1db078))||_0x435cf6(this[_0x342851(0x21d)]),_0x4b5607[_0x342851(0x279)]=_0x3ace32,_0x4b5607[_0x342851(0x203)]=_0x2089c1,_0x4b5607[_0x342851(0x270)]=_0x1db078,_0x4b5607[_0x342851(0x23d)]=_0x3ccdbc,this[_0x342851(0x21d)][_0x342851(0x1e4)](_0x3c1312,_0x2cedc0,_0x5f0e18,_0x4b5607),this['_dependencyManagerService'][_0x342851(0x24e)](_0x4b5607),_0x2055bd[_0x342851(0x1f7)](_0x4b5607),this[_0x342851(0x220)][_0x342851(0x1fb)](_0x4b5607[_0x342851(0x217)],_0x4b5607);}}this[_0x342851(0x21d)][_0x342851(0x267)](_0x5f0e18);}}}}[_0x54eca0(0x218)](_0x38b150,_0x7b5579,_0x25be29,_0x286641){const _0x512ced=_0x54eca0;for(const _0x462a6c of _0x38b150){const _0x129b97=_0x7b5579[_0x462a6c];if(_0x129b97==null)continue;const _0x205f0e=Object[_0x512ced(0x242)](_0x129b97);for(const _0x3d0328 of _0x205f0e){const _0x18ff61=new _0x11b7ac(_0x129b97[_0x3d0328]||{}),_0xc56123=new Map();_0x18ff61[_0x512ced(0x23a)]((_0x16664a,_0x8355d2,_0x448957)=>{const _0x5d0750=_0x512ced;if(_0x448957==null)return!0x0;const {x:_0x15b1bd=0x0,y:_0x4ded70=0x0,si:_0x31c42a}=_0x448957;if(!(_0x15b1bd===0x0&&_0x4ded70===0x0&&_0x31c42a!=null))return!0x0;const _0x171237=this[_0x5d0750(0x237)](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2,_0x25be29,_0x448957),_0x5d4b66=this[_0x5d0750(0x21d)][_0x5d0750(0x22a)](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2);_0x5d4b66!=null?_0x171237['treeId']=_0x5d4b66:(this[_0x5d0750(0x21d)]['addFormulaDependency'](_0x462a6c,_0x3d0328,_0x16664a,_0x8355d2,_0x171237),this[_0x5d0750(0x21d)][_0x5d0750(0x24e)](_0x171237)),_0xc56123[_0x5d0750(0x1fb)](_0x31c42a,_0x171237),_0x286641[_0x5d0750(0x1f7)](_0x171237),this['_dependencyTreeCache'][_0x5d0750(0x1fb)](_0x171237[_0x5d0750(0x217)],_0x171237);}),_0x18ff61[_0x512ced(0x23a)]((_0x252fdd,_0x1c393b,_0x52f2e3)=>{const _0x529d20=_0x512ced;if(_0x52f2e3==null)return!0x0;const {x:_0x4debf1=0x0,y:_0x5adf0c=0x0,si:_0x2d63c2}=_0x52f2e3;if(_0x4debf1===0x0&&_0x5adf0c===0x0&&_0x2d63c2!=null)return!0x0;let _0x4a089b;if(_0x2d63c2&&_0xc56123[_0x529d20(0x235)](_0x2d63c2)){const _0x29e084=_0xc56123['get'](_0x2d63c2);_0x4a089b=this['_createVirtualFDtree'](_0x29e084,_0x52f2e3);}else _0x4a089b=this['_createFDtree'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b,_0x25be29,_0x52f2e3);const _0x16fb40=this[_0x529d20(0x21d)]['getFormulaDependency'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b);_0x16fb40!=null?_0x4a089b[_0x529d20(0x217)]=_0x16fb40:(this[_0x529d20(0x21d)]['addFormulaDependency'](_0x462a6c,_0x3d0328,_0x252fdd,_0x1c393b,_0x4a089b),this[_0x529d20(0x21d)]['addFormulaDependencyByDefinedName'](_0x4a089b)),_0x286641[_0x529d20(0x1f7)](_0x4a089b),this[_0x529d20(0x220)]['set'](_0x4a089b[_0x529d20(0x217)],_0x4a089b);}),_0xc56123[_0x512ced(0x241)]();}}}[_0x54eca0(0x237)](_0xd3050f,_0x1222a4,_0x56ce4e,_0x5ba471,_0x503a28,_0x3359ab){const _0x5af630=_0x54eca0,{f:_0x13746b,x:_0x3a4007=0x0,y:_0x302178=0x0}=_0x3359ab,_0x1de68d=new _0x11a628(_0x435cf6(this[_0x5af630(0x21d)])),_0x59dd65=_0x503a28[_0xd3050f][_0x1222a4];return _0x1de68d[_0x5af630(0x22c)]=_0x13746b,_0x1de68d['unitId']=_0xd3050f,_0x1de68d[_0x5af630(0x205)]=_0x1222a4,_0x1de68d['row']=_0x56ce4e,_0x1de68d[_0x5af630(0x216)]=_0x5ba471,_0x1de68d[_0x5af630(0x200)]=_0x59dd65[_0x5af630(0x200)],_0x1de68d[_0x5af630(0x21f)]=_0x59dd65[_0x5af630(0x21f)],_0x1de68d;}['_getUpdateTreeListAndMakeDependency'](){const _0x385c34=_0x54eca0,_0x1ca36c=[],_0x4709ef=new Set(),_0x4c01f2=this[_0x385c34(0x272)][_0x385c34(0x1ea)](),_0x44502b=this[_0x385c34(0x272)][_0x385c34(0x1e2)](),_0x580479=this[_0x385c34(0x21d)]['searchDependency'](_0x44502b),_0x469b8c=this[_0x385c34(0x215)]['bulkSearch'](_0x44502b);for(const _0x3d6940 of _0x469b8c)_0x580479['add'](_0x3d6940);for(const [_0x96188e,_0x1d1647]of this[_0x385c34(0x220)])(_0x4c01f2||_0x1d1647[_0x385c34(0x213)]||_0x1d1647[_0x385c34(0x229)](this[_0x385c34(0x272)][_0x385c34(0x1e7)]())||_0x580479[_0x385c34(0x235)](_0x96188e)&&!_0x1d1647[_0x385c34(0x20a)](this[_0x385c34(0x272)][_0x385c34(0x239)]()))&&!_0x4709ef[_0x385c34(0x235)](_0x96188e)&&(_0x1ca36c[_0x385c34(0x1f7)](_0x1d1647),_0x4709ef[_0x385c34(0x1fa)](_0x96188e));for(const [_0x33fb0e,_0x217b03]of this[_0x385c34(0x220)])_0x217b03[_0x385c34(0x269)]||(_0x217b03[_0x385c34(0x219)][_0x385c34(0x1ef)]=0x0);return _0x1ca36c;}[_0x54eca0(0x207)](_0x925233){const _0x487e2=_0x54eca0;return this[_0x487e2(0x220)][_0x487e2(0x24c)](_0x925233);}['_getTreeNode'](_0x81cfc4){const _0x215b6f=_0x54eca0;return _0x1ff9e8(_0x81cfc4[_0x215b6f(0x22d)],_0x81cfc4[_0x215b6f(0x22c)],this[_0x215b6f(0x247)],this[_0x215b6f(0x208)],this['_currentConfigService']);}*['_traverse'](_0x1c51b3,_0x26bf7f){const _0x13396f=_0x54eca0,_0x1ab5ea=_0x1c51b3,_0x13f2f8=new Set();for(;_0x1ab5ea[_0x13396f(0x1ef)]>0x0;){const _0x16bc38=_0x1ab5ea['pop']();if(_0x13f2f8[_0x13396f(0x241)](),_0x16bc38===void 0x0||_0x16bc38['isSkip']())continue;if(_0x16bc38['isAdded']()){yield _0x16bc38,_0x16bc38[_0x13396f(0x23b)](),_0x26bf7f['add'](_0x16bc38['treeId']);continue;}const _0x453e29=this[_0x13396f(0x21d)]['searchDependency'](_0x16bc38['toRTreeItem'](),_0x26bf7f),_0x35ab93=this['_dependencyRTreeCacheForAddressFunction'][_0x13396f(0x1f9)](_0x16bc38[_0x13396f(0x22e)](),_0x26bf7f);for(const _0x13ac6d of _0x35ab93)_0x453e29[_0x13396f(0x1fa)](_0x13ac6d);for(const _0x32320e of _0x453e29){const _0x682e24=this[_0x13396f(0x220)]['get'](_0x32320e);if(!_0x682e24)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x682e24[_0x13396f(0x25a)]()||_0x16bc38[_0x13396f(0x264)]()||_0x13f2f8[_0x13396f(0x1fa)](_0x682e24);}if(_0x453e29[_0x13396f(0x241)](),_0x13f2f8[_0x13396f(0x1e9)]===0x0)yield _0x16bc38,_0x16bc38['setSkip'](),_0x26bf7f[_0x13396f(0x1fa)](_0x16bc38[_0x13396f(0x217)]);else{_0x16bc38['setAdded'](),_0x1ab5ea[_0x13396f(0x1f7)](_0x16bc38);for(const _0xb7a256 of _0x13f2f8)_0x1ab5ea[_0x13396f(0x1f7)](_0xb7a256);}}_0x1ab5ea[_0x13396f(0x1ef)]=0x0,_0x13f2f8['clear']();}[_0x54eca0(0x25f)](_0x269a89){const _0x4b50f9=_0x54eca0,_0x52754e=[],_0x36086e=new Set();for(const _0x297837 of this[_0x4b50f9(0x251)](_0x269a89,_0x36086e))_0x52754e['push'](_0x297837);return _0x52754e;}}class he extends _0x6c3a87{async['_apply'](_0x52b562=!0x1){const _0xfc23d7=_0x54eca0;_0x52b562?this[_0xfc23d7(0x222)]['setFormulaExecuteStage'](_0x54bd0b[_0xfc23d7(0x263)]):this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x256)]),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this['_runtimeService'][_0xfc23d7(0x22b)]());const _0x71c067=await this[_0xfc23d7(0x1f4)][_0xfc23d7(0x25b)](),_0x32acbe=this[_0xfc23d7(0x1f2)];_0x52b562?(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x26f)]),this['_runtimeService'][_0xfc23d7(0x232)](_0x71c067[_0xfc23d7(0x1ef)])):(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x26c)]),this[_0xfc23d7(0x222)][_0xfc23d7(0x226)](_0x71c067[_0xfc23d7(0x1ef)])),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this[_0xfc23d7(0x222)]['getRuntimeState']());let _0x44ef73=[];const _0x2773a9=this[_0xfc23d7(0x26e)][_0xfc23d7(0x223)](_0x3b6565),_0x2daf10=(_0x2773a9==null?void 0x0:_0x2773a9['intervalCount'])||_0x5d5993;let _0x328143=0x0;const _0x3da5e2=_0x71c067[_0xfc23d7(0x1ef)];for(;_0x71c067['length']>0x0;){const _0x1b77d2=_0x71c067[_0xfc23d7(0x21c)](),_0x9e03eb={'node':_0x1ff9e8(_0x1b77d2[_0xfc23d7(0x22d)],_0x1b77d2['formula'],this['_lexer'],this[_0xfc23d7(0x208)],this[_0xfc23d7(0x272)]),'refOffsetX':_0x1b77d2[_0xfc23d7(0x203)],'refOffsetY':_0x1b77d2['refOffsetY']},_0x2f9920=_0x1b77d2[_0xfc23d7(0x25d)];if(_0x328143%_0x2daf10===0x0&&(await new Promise(_0x39eac5=>{const _0x5f1a3b=_0xfc23d7,_0x4ab841=_0x2c911e(_0x39eac5);_0x44ef73[_0x5f1a3b(0x1f7)](_0x4ab841);}),_0x52b562?(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0xfc23d7(0x222)]['setCompletedArrayFormulasCount'](_0x328143+0x1)):(this[_0xfc23d7(0x222)][_0xfc23d7(0x1eb)](_0x54bd0b[_0xfc23d7(0x240)]),this[_0xfc23d7(0x222)][_0xfc23d7(0x1f1)](_0x328143+0x1)),this[_0xfc23d7(0x1e1)][_0xfc23d7(0x23f)](this[_0xfc23d7(0x222)][_0xfc23d7(0x22b)]()),this[_0xfc23d7(0x222)][_0xfc23d7(0x228)]()||_0x9e03eb==null&&_0x2f9920==null)){this[_0xfc23d7(0x222)]['setFormulaExecuteStage'](_0x54bd0b['IDLE']),this[_0xfc23d7(0x222)][_0xfc23d7(0x277)](),this[_0xfc23d7(0x25e)]['next'](this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]());return;}this['_runtimeService']['setCurrent'](_0x1b77d2[_0xfc23d7(0x21b)],_0x1b77d2[_0xfc23d7(0x216)],_0x1b77d2[_0xfc23d7(0x200)],_0x1b77d2[_0xfc23d7(0x21f)],_0x1b77d2[_0xfc23d7(0x205)],_0x1b77d2[_0xfc23d7(0x22d)]);let _0x1a3175;if(_0x2f9920!=null&&_0x1b77d2[_0xfc23d7(0x1f5)]!=null){const {runtimeCellData:_0x1e58cd,dirtyRanges:_0x262ac5}=_0x2f9920(this[_0xfc23d7(0x272)][_0xfc23d7(0x25d)](),this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]());this[_0xfc23d7(0x222)]['setRuntimeFeatureCellData'](_0x1b77d2['featureId'],_0x1e58cd),this[_0xfc23d7(0x222)][_0xfc23d7(0x230)](_0x1b77d2['featureId'],_0x262ac5);}else _0x9e03eb!=null&&(_0x32acbe[_0xfc23d7(0x27b)](_0x9e03eb[_0xfc23d7(0x24a)])?_0x1a3175=await _0x32acbe['executeAsync'](_0x9e03eb):_0x1a3175=_0x32acbe['execute'](_0x9e03eb),_0x1b77d2['formulaId']!=null?this[_0xfc23d7(0x222)]['setRuntimeOtherData'](_0x1b77d2[_0xfc23d7(0x204)],_0x1b77d2[_0xfc23d7(0x203)],_0x1b77d2[_0xfc23d7(0x270)],_0x1a3175):this[_0xfc23d7(0x222)]['setRuntimeData'](_0x1a3175));_0x328143++;}return _0x44ef73[_0xfc23d7(0x252)](_0x2ef358=>_0x2ef358()),_0x44ef73=[],_0x3da5e2>0x0?this[_0xfc23d7(0x222)][_0xfc23d7(0x278)]():_0x52b562||this['_runtimeService'][_0xfc23d7(0x1ed)](),this[_0xfc23d7(0x222)][_0xfc23d7(0x1e6)]();}}function _0x1112(){const _0x2b6602=['message','clearOtherFormulaDependency','has','delete','_createFDtree','_formulaData','getExcludedRange','forValue','setSkip','endRow','isCache','_checkIsCycleDependency','next','CURRENTLY_CALCULATING','clear','keys','removeOtherFormulaDependency','_allTreeMap','_definedNameMap','addFeatureFormulaDependency','_lexer','1328JyHVNo','endColumn','node','_removeDependencyRTreeCache','get','openKdTree','addFormulaDependencyByDefinedName','valid','clearFormulaDependency','_traverse','forEach','33173393kjRLXx','_config','40628stGhhc','START_DEPENDENCY','_featureFormulaData','dispose','getOwnPropertyDescriptor','isAdded','generate','20wsLIAt','getDirtyData','_executionCompleteListener$','_calculateRunList','_otherFormulaData','dirtyRanges','FEATURE_FORMULA','START_DEPENDENCY_ARRAY_FORMULA','isSkip','_injector','_isCyclicUtilMap','addOtherFormulaDependencyMainData','_initializeWithOverride','isVirtual','min','_removeAllTreeMap','START_CALCULATION','type','_configService','START_CALCULATION_ARRAY_FORMULA','refOffsetY','_removeDependencyRTreeCacheById','_currentConfigService','startRow','defineProperty','max','19730LZhMad','markedAsStopFunctionsExecuted','markedAsSuccessfullyExecuted','refTree','removeFeatureFormulaDependency','checkAsyncNode','getClearDependencyTreeCache','getOtherFormulaData','_executionInProgressListener$','getDirtyRanges','parseInt','addOtherFormulaDependency','bulkRemove','getAllRuntimeData','getDirtyNameMap','closeKdTree','size','isForceCalculate','setFormulaExecuteStage','getOtherFormulaDependency','markedAsNoFunctionsExecuted','_dependencyRTreeCache','length','597926FTIxGf','setCompletedFormulasCount','_interpreter','hasOtherFormulaDataMainData','_formulaDependencyGenerator','featureId','startColumn','push','1136RheJfT','bulkSearch','add','set','getFeatureFormulaDependency','6442731PZThwJ','_updateRangeFlatten','enableCycleDependency','rowCount','clearFeatureFormulaDependency','_restDependencyTreeId','refOffsetX','formulaId','subUnitId','getValue','_getTreeById','_astTreeBuilder','4492899PJWgSs','isExcludeRange','setValue','realDeleteValue','_registerOtherFormulas','2QZUwbd','notExecuteFormula','3998214hnQits','12UdAPWK','getFormulaData','isDirty','reset','_dependencyRTreeCacheForAddressFunction','column','treeId','_registerFormulas','rangeList','removeFormulaDependencyByDefinedName','row','pop','_dependencyManagerService','_initLicenseValid','columnCount','_dependencyTreeCache','getUnitData','_runtimeService','getConfig','featureDirtyRanges','symbol','setTotalFormulasToCalculate','_otherFormulaDataMainData','isStopExecution','dependencySheetName','getFormulaDependency','getRuntimeState','formula','unitId','toRTreeItem','OTHER_FORMULA','setRuntimeFeatureRange','removeFormulaDependency','setTotalArrayFormulasToCalculate'];_0x1112=function(){return _0x2b6602;};return _0x1112();}class fe extends _0x16c730{constructor(){const _0x57e2e2=_0x54eca0;super(...arguments),C(this,_0x57e2e2(0x244),new Map()),C(this,_0x57e2e2(0x1ee),new _0x2ecdcb(!0x0));}[_0x54eca0(0x214)](){const _0x3de1bd=_0x54eca0;this['_otherFormulaData'][_0x3de1bd(0x241)](),this[_0x3de1bd(0x257)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x238)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x1ee)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x244)][_0x3de1bd(0x241)](),this[_0x3de1bd(0x202)](),this[_0x3de1bd(0x227)][_0x3de1bd(0x241)]();}['addOtherFormulaDependency'](_0x5c0842,_0x464083,_0x27a421,_0x135f69){const _0x20e901=_0x54eca0;this[_0x20e901(0x260)][_0x20e901(0x235)](_0x5c0842)||this[_0x20e901(0x260)][_0x20e901(0x1fb)](_0x5c0842,new Map());const _0x291db6=this['_otherFormulaData'][_0x20e901(0x24c)](_0x5c0842);_0x291db6[_0x20e901(0x235)](_0x464083)||_0x291db6[_0x20e901(0x1fb)](_0x464083,new Map());const _0x47d4b9=_0x291db6[_0x20e901(0x24c)](_0x464083);_0x47d4b9[_0x20e901(0x235)](_0x27a421)||_0x47d4b9['set'](_0x27a421,new _0x11b7ac()),_0x47d4b9['get'](_0x27a421)[_0x20e901(0x20b)](_0x135f69[_0x20e901(0x203)],_0x135f69[_0x20e901(0x270)],_0x135f69['treeId']);}[_0x54eca0(0x243)](_0x2ef66d,_0x4c8549,_0x4184e5){const _0x5a8ed4=_0x54eca0,_0x5309cb=this['_otherFormulaData']['get'](_0x2ef66d);if(_0x5309cb&&_0x5309cb[_0x5a8ed4(0x235)](_0x4c8549)){const _0x1b6d56=_0x5309cb[_0x5a8ed4(0x24c)](_0x4c8549);_0x4184e5[_0x5a8ed4(0x252)](_0x4a7173=>{const _0x519159=_0x5a8ed4,_0x4dbe97=_0x1b6d56[_0x519159(0x24c)](_0x4a7173);_0x4dbe97!=null&&(_0x4dbe97[_0x519159(0x23a)]((_0x510421,_0x105dc0,_0x3f5d29)=>{const _0x45dbb7=_0x519159;this[_0x45dbb7(0x24b)](_0x3f5d29),this[_0x45dbb7(0x26b)](_0x3f5d29);}),_0x1b6d56[_0x519159(0x236)](_0x4a7173),this[_0x519159(0x227)]['delete'](_0x4a7173));}),_0x1b6d56[_0x5a8ed4(0x1e9)]===0x0&&_0x5309cb[_0x5a8ed4(0x236)](_0x4c8549),_0x5309cb[_0x5a8ed4(0x1e9)]===0x0&&this[_0x5a8ed4(0x260)][_0x5a8ed4(0x236)](_0x2ef66d);}}['clearOtherFormulaDependency'](_0x38e36b,_0x56eda8){const _0x3e91db=_0x54eca0,_0x49e3e0=this['_otherFormulaData'][_0x3e91db(0x24c)](_0x38e36b);if(_0x56eda8&&_0x49e3e0&&_0x49e3e0[_0x3e91db(0x235)](_0x56eda8)){const _0xeb4bde=_0x49e3e0['get'](_0x56eda8);this[_0x3e91db(0x271)](_0x38e36b,_0x56eda8);for(const _0x4e6a34 of _0xeb4bde[_0x3e91db(0x242)]()){const _0x3b2fa6=_0xeb4bde[_0x3e91db(0x24c)](_0x4e6a34);_0x3b2fa6!=null&&(_0x3b2fa6['forValue']((_0x55bba9,_0x3ab8a7,_0x9677a2)=>{const _0x1b86bb=_0x3e91db;this[_0x1b86bb(0x244)][_0x1b86bb(0x24c)](_0x9677a2)&&this[_0x1b86bb(0x26b)](_0x9677a2);}),this['_otherFormulaDataMainData']['delete'](_0x4e6a34));}_0xeb4bde[_0x3e91db(0x241)]();}else{if(_0x49e3e0){for(const _0x306a40 of _0x49e3e0[_0x3e91db(0x242)]()){const _0x35aa1d=_0x49e3e0['get'](_0x306a40);this[_0x3e91db(0x271)](_0x38e36b,_0x306a40);for(const _0x28514c of _0x35aa1d['keys']()){const _0x427334=_0x35aa1d['get'](_0x28514c);_0x427334!=null&&(_0x427334[_0x3e91db(0x23a)]((_0x499d0d,_0x151d26,_0x435bf9)=>{const _0x3c3b37=_0x3e91db;this['_allTreeMap'][_0x3c3b37(0x24c)](_0x435bf9)&&this['_removeAllTreeMap'](_0x435bf9);}),this[_0x3e91db(0x227)]['delete'](_0x28514c));}}this['_otherFormulaData'][_0x3e91db(0x236)](_0x38e36b);}}}[_0x54eca0(0x246)](_0xc15ea8,_0x57afaf,_0x43035a,_0x556d74){const _0x3db193=_0x54eca0;this[_0x3db193(0x257)][_0x3db193(0x235)](_0xc15ea8)||this['_featureFormulaData'][_0x3db193(0x1fb)](_0xc15ea8,new Map());const _0x51cbe1=this[_0x3db193(0x257)][_0x3db193(0x24c)](_0xc15ea8);_0x51cbe1['has'](_0x57afaf)||_0x51cbe1[_0x3db193(0x1fb)](_0x57afaf,new Map()),_0x51cbe1[_0x3db193(0x24c)](_0x57afaf)[_0x3db193(0x1fb)](_0x43035a,_0x556d74[_0x3db193(0x217)]);}[_0x54eca0(0x27a)](_0x4399a5,_0x1098c6,_0x2fb4fb){const _0x38b28b=_0x54eca0,_0x10ebb1=this[_0x38b28b(0x257)][_0x38b28b(0x24c)](_0x4399a5);if(_0x10ebb1&&_0x10ebb1[_0x38b28b(0x235)](_0x1098c6)){const _0x432eae=_0x10ebb1[_0x38b28b(0x24c)](_0x1098c6);_0x2fb4fb[_0x38b28b(0x252)](_0x326beb=>{const _0x554624=_0x38b28b,_0x3e05d8=_0x432eae['get'](_0x326beb);_0x3e05d8!=null&&(this['_removeDependencyRTreeCache'](_0x3e05d8),_0x432eae['delete'](_0x326beb),this[_0x554624(0x26b)](_0x3e05d8));});}}[_0x54eca0(0x201)](_0x481002,_0x197ca2){const _0x51f771=_0x54eca0,_0xe7c9b0=this['_featureFormulaData'][_0x51f771(0x24c)](_0x481002);if(_0x197ca2&&_0xe7c9b0&&_0xe7c9b0[_0x51f771(0x235)](_0x197ca2)){const _0x594512=_0xe7c9b0[_0x51f771(0x24c)](_0x197ca2);this[_0x51f771(0x271)](_0x481002,_0x197ca2),_0x594512['forEach'](_0x11779f=>{_0x11779f!=null&&this['_removeAllTreeMap'](_0x11779f);}),_0x594512[_0x51f771(0x241)]();}else _0xe7c9b0&&(_0xe7c9b0[_0x51f771(0x252)]((_0x5de995,_0x3d7d89)=>{const _0x3e32e8=_0x51f771;this['_removeDependencyRTreeCacheById'](_0x481002,_0x3d7d89),_0x5de995[_0x3e32e8(0x252)](_0x17d7cd=>{_0x17d7cd!=null&&this['_removeAllTreeMap'](_0x17d7cd);});}),this[_0x51f771(0x257)][_0x51f771(0x236)](_0x481002));}['addFormulaDependency'](_0xe10870,_0x2ceeae,_0xba0de6,_0x3d590b,_0x4d418a){const _0x53aefc=_0x54eca0;this[_0x53aefc(0x238)][_0x53aefc(0x235)](_0xe10870)||this['_formulaData'][_0x53aefc(0x1fb)](_0xe10870,new Map());const _0x832da5=this['_formulaData'][_0x53aefc(0x24c)](_0xe10870);_0x832da5[_0x53aefc(0x235)](_0x2ceeae)||_0x832da5[_0x53aefc(0x1fb)](_0x2ceeae,new _0x11b7ac()),_0x832da5[_0x53aefc(0x24c)](_0x2ceeae)[_0x53aefc(0x20b)](_0xba0de6,_0x3d590b,_0x4d418a[_0x53aefc(0x217)]);}[_0x54eca0(0x231)](_0x285d8e,_0x2df975,_0x2e2673,_0x59c49f){const _0x5ea9c1=_0x54eca0,_0x5dc816=this[_0x5ea9c1(0x238)]['get'](_0x285d8e);if(_0x5dc816&&_0x5dc816[_0x5ea9c1(0x235)](_0x2df975)){const _0x49668b=_0x5dc816[_0x5ea9c1(0x24c)](_0x2df975),_0x1f3312=_0x49668b[_0x5ea9c1(0x206)](_0x2e2673,_0x59c49f);if(_0x1f3312==null)return;this[_0x5ea9c1(0x24b)](_0x1f3312),_0x49668b[_0x5ea9c1(0x20c)](_0x2e2673,_0x59c49f),this['_removeAllTreeMap'](_0x1f3312);}}[_0x54eca0(0x250)](_0x593715,_0x24e6ab){const _0x470107=_0x54eca0,_0x4884ad=this['_formulaData'][_0x470107(0x24c)](_0x593715);if(_0x24e6ab&&_0x4884ad&&_0x4884ad[_0x470107(0x235)](_0x24e6ab)){const _0x585186=_0x4884ad['get'](_0x24e6ab);this[_0x470107(0x271)](_0x593715,_0x24e6ab),_0x585186['forValue']((_0x418d1e,_0x420fd5,_0x3ebf24)=>{const _0xc7d764=_0x470107;if(_0x3ebf24==null)return!0x0;this[_0xc7d764(0x26b)](_0x3ebf24);}),_0x585186[_0x470107(0x214)]();}else _0x4884ad&&(_0x4884ad[_0x470107(0x252)]((_0x1b5f02,_0x2dc454)=>{const _0x441101=_0x470107;this[_0x441101(0x271)](_0x593715,_0x2dc454),_0x1b5f02[_0x441101(0x23a)]((_0x57f63f,_0x538141,_0x1ef16a)=>{const _0x289d11=_0x441101;if(_0x1ef16a==null)return!0x0;this[_0x289d11(0x26b)](_0x1ef16a);});}),this[_0x470107(0x238)][_0x470107(0x236)](_0x593715));}[_0x54eca0(0x24b)](_0x411663){const _0x5928d6=_0x54eca0;if(_0x411663==null)return;const _0x46b289=this[_0x5928d6(0x244)][_0x5928d6(0x24c)](_0x411663);if(_0x46b289){const _0x34df0e=[];for(const [_0x12bd1e,_0x26ecea]of _0x46b289)for(const [_0x5e7e65,_0x3c2c28]of _0x26ecea)_0x34df0e[_0x5928d6(0x1f7)]({'unitId':_0x12bd1e,'sheetId':_0x5e7e65,'range':_0x3c2c28,'id':_0x411663});this[_0x5928d6(0x1ee)][_0x5928d6(0x1e5)](_0x34df0e);}}[_0x54eca0(0x21a)](_0x5b5bd5,_0x47b497){const _0x10472d=_0x54eca0,_0x334742=this[_0x10472d(0x245)]['get'](_0x5b5bd5);if(_0x334742){const _0x2be8e9=_0x334742['get'](_0x47b497);if(_0x2be8e9){for(const _0x4e578f of _0x2be8e9)this[_0x10472d(0x24b)](_0x4e578f),this[_0x10472d(0x26b)](_0x4e578f);_0x2be8e9[_0x10472d(0x241)]();}}}['openKdTree'](){const _0x29194b=_0x54eca0;this[_0x29194b(0x1ee)][_0x29194b(0x24d)]();}[_0x54eca0(0x1e8)](){const _0x2bc5d2=_0x54eca0;this['_dependencyRTreeCache'][_0x2bc5d2(0x1e8)]();}[_0x54eca0(0x26b)](_0xef46b7){const _0x566000=_0x54eca0;_0xef46b7!=null&&this[_0x566000(0x244)]['delete'](_0xef46b7);}['_addAllTreeMap'](_0x368907){const _0xb04e85=_0x54eca0;var _0xb8d2a3,_0x4ea353;const _0x5c7a50=_0x368907[_0xb04e85(0x219)];let _0x20f3d9=this[_0xb04e85(0x244)][_0xb04e85(0x24c)](_0x368907['treeId']);for(let _0x28ab6e=0x0;_0x28ab6e<_0x5c7a50[_0xb04e85(0x1ef)];_0x28ab6e++){const _0x1cc5a9=_0x5c7a50[_0x28ab6e];let {unitId:_0x11c9f3,sheetId:_0x2aa4d0,range:_0x51b712}=_0x1cc5a9;_0x20f3d9||(_0x20f3d9=new Map(),this[_0xb04e85(0x244)][_0xb04e85(0x1fb)](_0x368907[_0xb04e85(0x217)],_0x20f3d9)),_0x20f3d9['has'](_0x11c9f3)||_0x20f3d9[_0xb04e85(0x1fb)](_0x11c9f3,new Map());const _0x3c4fca=(_0xb8d2a3=_0x20f3d9==null?void 0x0:_0x20f3d9[_0xb04e85(0x24c)](_0x11c9f3))==null?void 0x0:_0xb8d2a3['get'](_0x2aa4d0);_0x3c4fca&&(_0x51b712={'startRow':Math[_0xb04e85(0x26a)](_0x51b712[_0xb04e85(0x273)],_0x3c4fca[_0xb04e85(0x273)]),'startColumn':Math[_0xb04e85(0x26a)](_0x51b712[_0xb04e85(0x1f6)],_0x3c4fca[_0xb04e85(0x1f6)]),'endRow':Math[_0xb04e85(0x275)](_0x51b712[_0xb04e85(0x23c)],_0x3c4fca[_0xb04e85(0x23c)]),'endColumn':Math[_0xb04e85(0x275)](_0x51b712[_0xb04e85(0x249)],_0x3c4fca[_0xb04e85(0x249)])}),(_0x4ea353=_0x20f3d9[_0xb04e85(0x24c)](_0x11c9f3))==null||_0x4ea353[_0xb04e85(0x1fb)](_0x2aa4d0,_0x51b712);}}}var _e=Object[_0x54eca0(0x259)],pe=(_0x4285e7,_0x3838b9,_0x5e72e7,_0xc5bbcf)=>{for(var _0x4093ed=_0xc5bbcf>0x1?void 0x0:_0xc5bbcf?_e(_0x3838b9,_0x5e72e7):_0x3838b9,_0x31bd27=_0x4285e7['length']-0x1,_0x13286a;_0x31bd27>=0x0;_0x31bd27--)(_0x13286a=_0x4285e7[_0x31bd27])&&(_0x4093ed=_0x13286a(_0x4093ed)||_0x4093ed);return _0x4093ed;};const Fe=Number[_0x54eca0(0x1e3)](0x689b2b81);let Q=class extends _0x540b90{[_0x54eca0(0x268)](){const _0x3a2189=_0x54eca0;var _0x474fa0,_0xd39ddb;this[_0x3a2189(0x21e)]()?(_0x474fa0=this[_0x3a2189(0x254)])!=null&&_0x474fa0[_0x3a2189(0x20f)]||[[_0xc9200c,{'useClass':he}],[_0x2e452b,{'useClass':fe}],[_0x1c1458,{'useClass':de}]][_0x3a2189(0x252)](_0x3ff4a9=>this[_0x3a2189(0x265)]['add'](_0x3ff4a9)):(_0xd39ddb=this[_0x3a2189(0x254)])!=null&&_0xd39ddb['notExecuteFormula']||[[_0xc9200c,{'useClass':_0x6c3a87}],[_0x2e452b,{'useClass':_0x4472ae}],[_0x1c1458,{'useClass':_0x1e565a}]]['forEach'](_0x26032d=>this['_injector'][_0x3a2189(0x1fa)](_0x26032d));}[_0x54eca0(0x21e)](){const _0x4d00e9=_0x54eca0;var _0x247adb;const _0x85e88c=(_0x247adb=this[_0x4d00e9(0x26e)][_0x4d00e9(0x223)](_0x470751))!=null?_0x247adb:{},{ls:_0x1a96a3,pbk:_0x352055}=_0x85e88c;if(!_0x1a96a3||!_0x352055)return!0x1;const _0x43b8f6=_0x5b72b0(ue,oe),_0x5932b5=new Function('return\x20'+_0x43b8f6)()(_0x1a96a3,_0x352055),_0x249f25=_0x5932b5[_0x4d00e9(0x233)];return _0x5932b5[_0x4d00e9(0x24f)]&&_0x4f675d(_0x249f25,'sf',Fe)?_0x54b105(_0x249f25,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};Q=pe([_0x30b0c0(_0x5d6d79)],Q);export{Q as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x36b4d0=_0x4091;(function(_0x58c978,_0x3f40d6){const _0x322f81=_0x4091,_0x2573f1=_0x58c978();while(!![]){try{const _0x209afb=parseInt(_0x322f81(0x1c2))/0x1+parseInt(_0x322f81(0x19a))/0x2*(-parseInt(_0x322f81(0x1b5))/0x3)+parseInt(_0x322f81(0x1b8))/0x4*(parseInt(_0x322f81(0x1d1))/0x5)+parseInt(_0x322f81(0x1c1))/0x6+-parseInt(_0x322f81(0x1a6))/0x7+parseInt(_0x322f81(0x199))/0x8*(parseInt(_0x322f81(0x1b9))/0x9)+parseInt(_0x322f81(0x1c4))/0xa*(-parseInt(_0x322f81(0x1a1))/0xb);if(_0x209afb===_0x3f40d6)break;else _0x2573f1['push'](_0x2573f1['shift']());}catch(_0xf34ae2){_0x2573f1['push'](_0x2573f1['shift']());}}}(_0x3ea4,0xe3864));var W=Object[_0x36b4d0(0x16a)],H=(_0x1cfe17,_0x319095,_0x3e04e2)=>_0x319095 in _0x1cfe17?W(_0x1cfe17,_0x319095,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e04e2}):_0x1cfe17[_0x319095]=_0x3e04e2,S=(_0x53cb20,_0x101f96,_0x26a2e6)=>H(_0x53cb20,typeof _0x101f96!='symbol'?_0x101f96+'':_0x101f96,_0x26a2e6);import{UniverLicensePlugin as _0x5ba6ec,LS_CONFIG_KEY as _0x185044,unshiftString as _0x4fcf89,isFeatureAuthorizedWithinTime as _0x2a503a,getSheetFeatureLimit as _0x20935d}from'@univerjs-pro/license';import{ObjectMatrix as _0xcdd134,requestImmediateMacroTask as _0xfe6a7b,RTree as _0x639d9b,DependentOn as _0x5ef185}from'@univerjs/core';function _0x4091(_0x568ee9,_0x5575c9){const _0x3ea4a6=_0x3ea4();return _0x4091=function(_0x409127,_0x436259){_0x409127=_0x409127-0x148;let _0x26b7dd=_0x3ea4a6[_0x409127];return _0x26b7dd;},_0x4091(_0x568ee9,_0x5575c9);}import{FormulaDependencyGenerator as _0x45ddb7,generateRandomDependencyTreeId as _0x126995,FormulaDependencyTree as _0x3fccb1,FormulaDependencyTreeType as _0x575515,FormulaDependencyTreeVirtual as _0x212da2,generateAstNode as _0x1fb637,CalculateFormulaService as _0x4d46b7,FormulaExecuteStageType as _0x3d0d6d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3f3a12,DEFAULT_INTERVAL_COUNT as _0x252373,DependencyManagerBaseService as _0x52fcda,UniverFormulaEnginePlugin as _0x1c87b8,ICalculateFormulaService as _0x4b83a2,IDependencyManagerService as _0x2784d7,IFormulaDependencyGenerator as _0x19aac6,DependencyManagerService as _0x51b177}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'K',0x1:'h',0x2:'o',0x3:'9',0x4:'a',0x5:'d',0x6:'u',0x7:'S',0x8:'A',0x9:'q','H':'0','X':'1','Y':'2','z':'3','r':'4','i':'5','U':'6','M':'7','n':'8','b':'b','F':'c','g':'e','T':'f','I':'g','C':'i','f':'j','l':'k','O':'l','G':'m','s':'n','V':'p','Z':'r','D':'s','o':'t','J':'v','B':'w','R':'x','Q':'y','j':'z','m':'B','q':'C','u':'D','W':'E','L':'F','v':'G','x':'H','P':'I','A':'J','y':'L','h':'M','K':'N','d':'O','t':'P','p':'Q','k':'R','w':'T','E':'U','a':'V','c':'W','S':'X','N':'Y','e':'Z'},ue='T6sFoC2s\x205gFZQVoC2s(OCFgsDg,\x20V6bOCF0gQ)\x20{\x20\x20\x20\x20oZQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20OCFgsDgPsT2t4Zo8ZZ4Q\x20=\x20OCFgsDg.DVOCo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x202ZCICshgDD4Ig\x20=\x20A7dK.V4ZDg(4o2b(OCFgsDgPsT2t4Zo8ZZ4Q[Y]));\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!2ZCICshgDD4Ig.65)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202ZCICshgDD4Ig.65\x20=\x20K6GbgZ(OCFgsDgPsT2t4Zo8ZZ4Q[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20CDc2ZlgZ\x20=\x20oQVg2T\x20c2ZlgZvO2b4O7F2Vg\x20!==\x20\x276s5gTCsg5\x27\x20&&\x20DgOT\x20CsDo4sFg2T\x20c2ZlgZvO2b4O7F2Vg;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20F2sogRo\x20=\x20CDc2ZlgZ\x20?\x20DgOT\x20:\x20BCs52B;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Igc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[Y]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Ig\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(GgDD4Igc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zgc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[z]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zg\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(DCIs4o6Zgc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIsa4OC5\x20=\x20F2sogRo.__JgZCTQ__(DCIs4o6Zg,\x20GgDD4Ig,\x20V6bOCF0gQ);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2052G4Cs\x20=\x202ZCICshgDD4Ig.5G;\x20\x20\x20\x20\x20\x20\x20\x20T6sFoC2s\x20CDu2G4Csh4oF1CsI(2t4oogZs,\x202x2Do)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs\x20=\x202t4oogZs.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do\x20=\x202x2Do.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZst4ZoD\x20=\x20V4oogZs.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Dot4ZoD\x20=\x2012Do.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!V4oogZs.CsFO65gD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs\x20===\x2012Do;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(V4oogZst4ZoD.OgsIo1\x20<\x20Y\x20||\x20V4oogZst4ZoD[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20T4ODg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs76TTCR\x20=\x20V4oogZst4ZoD.DOCFg(X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do76TTCR\x20=\x2012Dot4ZoD.DOCFg(-V4oogZst4ZoD.OgsIo1\x20+\x20X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs76TTCR\x20===\x2012Do76TTCR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ogo\x2052G4Csa4OC5\x20=\x20(52G4Cs\x20&&\x2052G4Cs.OgsIo1)\x20?\x2052G4Cs.D2Gg((5GPogG)\x20=>\x20CDu2G4Csh4oF1CsI(5GPogG,\x20O2F4oC2s.12Dos4Gg))\x20:\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(O2F4oC2s.12Dos4Gg\x20===\x20\x27O2F4O12Do\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2052G4Csa4OC5\x20=\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20J4OC5\x20=\x20DCIsa4OC5\x20&&\x2052G4Csa4OC5;\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x202ZCICshgDD4Ig,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20F4oF1\x20(gZZ2Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5:\x20T4ODg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class he extends _0x45ddb7{constructor(){super(...arguments),S(this,'_dependencyTreeCache',new Map());}[_0x36b4d0(0x1e6)](){const _0x2960ba=_0x36b4d0;super['dispose'](),this[_0x2960ba(0x18d)]['clear']();}async[_0x36b4d0(0x1a9)](){const _0x14a38a=_0x36b4d0;this[_0x14a38a(0x175)]();const _0x8b4aef=this[_0x14a38a(0x1e7)][_0x14a38a(0x159)](),_0x2275c1=this[_0x14a38a(0x14a)][_0x14a38a(0x185)](),_0x5b1824=this[_0x14a38a(0x1e7)]['getClearDependencyTreeCache']();_0x5b1824!=null&&Object[_0x14a38a(0x1c7)](_0x5b1824)[_0x14a38a(0x19c)](_0x148398=>{const _0x4003db=_0x14a38a;_0x148398!=null&&Object[_0x4003db(0x1c7)](_0x5b1824[_0x148398])['forEach'](_0x2dfc7b=>{const _0x11763f=_0x4003db;_0x2dfc7b!=null&&(this[_0x11763f(0x157)][_0x11763f(0x1cf)](_0x148398,_0x2dfc7b),this['_dependencyManagerService'][_0x11763f(0x190)](_0x148398,_0x2dfc7b),this[_0x11763f(0x157)][_0x11763f(0x162)](_0x148398,_0x2dfc7b));});});const _0x286c79=this[_0x14a38a(0x1e7)][_0x14a38a(0x1c0)]();await this['_generateTreeList'](_0x8b4aef,_0x2275c1,_0x286c79),this[_0x14a38a(0x157)][_0x14a38a(0x172)]();const _0x53b39b=this[_0x14a38a(0x1b1)](),_0x100258=this[_0x14a38a(0x188)](_0x53b39b);return this[_0x14a38a(0x15d)](_0x100258)&&this['_runtimeService']['enableCycleDependency'](),this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x14a38a(0x1e4)](),this[_0x14a38a(0x157)][_0x14a38a(0x1a5)](),Promise['resolve'](_0x100258);}['_isCyclicUtilMap'](_0x1d09a7,_0xd0659c){const _0xe22822=_0x36b4d0,_0x5f101e=[_0x1d09a7];for(;_0x5f101e[_0xe22822(0x1a2)]>0x0;){const _0x5228e1=_0x5f101e[_0x5f101e[_0xe22822(0x1a2)]-0x1];if((_0xd0659c[_0xe22822(0x191)](_0x5228e1)||0x0)===0x0){_0xd0659c['set'](_0x5228e1,0x1);const _0x5a2139=this[_0xe22822(0x18d)][_0xe22822(0x191)](_0x5228e1);if(_0x5a2139==null){_0xd0659c[_0xe22822(0x18b)](_0x5228e1,0x2),_0x5f101e['pop']();continue;}const _0x129375=this['_dependencyManagerService'][_0xe22822(0x174)](_0x5a2139[_0xe22822(0x1da)]());for(const _0x54bb4e of _0x129375){const _0x362fb7=_0xd0659c[_0xe22822(0x191)](_0x54bb4e)||0x0;if(_0x362fb7===0x1)return!0x0;_0x362fb7===0x0&&_0x5f101e[_0xe22822(0x183)](_0x54bb4e);}}else _0xd0659c[_0xe22822(0x18b)](_0x5228e1,0x2),_0x5f101e[_0xe22822(0x167)]();}return!0x1;}[_0x36b4d0(0x15d)](_0x2ded89){const _0x35e010=_0x36b4d0,_0x59d8f8=new Map();for(const _0x4c074f of _0x2ded89)if(!_0x59d8f8[_0x35e010(0x15b)](_0x4c074f[_0x35e010(0x1bf)])&&this[_0x35e010(0x195)](_0x4c074f[_0x35e010(0x1bf)],_0x59d8f8))return!0x0;return _0x59d8f8[_0x35e010(0x1e4)](),!0x1;}[_0x36b4d0(0x1ac)](_0x51a494,_0x2958eb,_0x55ee00){const _0xc75029=_0x36b4d0,{unitId:_0x1bef9e,subUnitId:_0x2fb93f,dependencyRanges:_0x24a6be,getDirtyData:_0x435218}=_0x55ee00,_0x3652e4=_0x2958eb||_0x126995(this[_0xc75029(0x157)]),_0x4ebc21=new _0x3fccb1(_0x3652e4);_0x4ebc21[_0xc75029(0x173)]=_0x1bef9e,_0x4ebc21[_0xc75029(0x17a)]=_0x2fb93f,_0x4ebc21['rangeList']=_0x24a6be,_0x4ebc21['getDirtyData']=_0x435218;const _0x486596=_0x435218(this[_0xc75029(0x1e7)]['getDirtyData'](),this[_0xc75029(0x1b6)][_0xc75029(0x1b7)]()),_0xaad5e8=this[_0xc75029(0x1cb)](_0x486596['dirtyRanges']);return _0x4ebc21[_0xc75029(0x1dd)]=_0xaad5e8,_0x4ebc21['featureId']=_0x51a494,_0x4ebc21['type']=_0x575515['FEATURE_FORMULA'],this[_0xc75029(0x157)][_0xc75029(0x1de)](_0x1bef9e,_0x2fb93f,_0x51a494,_0x4ebc21),this[_0xc75029(0x18d)][_0xc75029(0x18b)](_0x4ebc21[_0xc75029(0x1bf)],_0x4ebc21),this['_dependencyManagerService'][_0xc75029(0x1e5)](_0x55ee00[_0xc75029(0x173)],_0x55ee00[_0xc75029(0x17a)],_0x51a494)&&(_0x4ebc21[_0xc75029(0x16c)]=!0x0),_0x4ebc21;}[_0x36b4d0(0x1ab)](_0x278f60,_0x5b6017,_0x3f2030){const _0x9d9a3f=_0x36b4d0;var _0x3e3801;for(const _0x3c6527 of _0x5b6017){const _0x56eb3b=_0x278f60[_0x3c6527];if(_0x56eb3b==null)continue;const _0x440907=Object[_0x9d9a3f(0x1c7)](_0x56eb3b);for(const _0x59c589 of _0x440907){const _0x1c8a74=_0x56eb3b[_0x59c589];if(_0x1c8a74==null)continue;const _0x2ef546=Object[_0x9d9a3f(0x1c7)](_0x1c8a74);for(const _0x5e7913 of _0x2ef546){const _0x563ed0=this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1e3)](_0x5e7913),_0x2f8619=_0x1c8a74[_0x5e7913],{f:_0x13131d,ranges:_0xe4e1bb}=_0x2f8619;let _0xb8892=!0x1;_0x563ed0&&(_0xb8892=!0x0);const {firstRow:_0x2d2e72,firstColumn:_0x504e6e}=this[_0x9d9a3f(0x179)](_0xe4e1bb),_0x3c1239=this[_0x9d9a3f(0x157)][_0x9d9a3f(0x170)](_0x3c6527,_0x59c589,_0x5e7913),_0xae4aa3=(_0x3e3801=_0x3c1239==null?void 0x0:_0x3c1239[_0x9d9a3f(0x1db)](0x0,0x0))!=null?_0x3e3801:_0x126995(this[_0x9d9a3f(0x157)]),_0x411dd4=new _0x3fccb1(_0xae4aa3);for(let _0x89e15e=0x0;_0x89e15e<_0xe4e1bb['length'];_0x89e15e++){const _0x58efa5=_0xe4e1bb[_0x89e15e],{startRow:_0x19f04b,startColumn:_0x1a2f78,endRow:_0x2e3275,endColumn:_0x58e8a9}=_0x58efa5;for(let _0x239427=_0x19f04b;_0x239427<=_0x2e3275;_0x239427++)for(let _0x334c8a=_0x1a2f78;_0x334c8a<=_0x58e8a9;_0x334c8a++){const _0xd3914c=_0x334c8a-_0x504e6e,_0x2ef98f=_0x239427-_0x2d2e72;if(_0xd3914c===0x0&&_0x2ef98f===0x0){_0x411dd4[_0x9d9a3f(0x16d)]=_0x13131d,_0x411dd4['unitId']=_0x3c6527,_0x411dd4[_0x9d9a3f(0x17a)]=_0x59c589,_0x411dd4[_0x9d9a3f(0x156)]=_0x5e7913,_0x411dd4[_0x9d9a3f(0x1ae)]=_0x575515['OTHER_FORMULA'],_0x411dd4[_0x9d9a3f(0x16c)]=_0xb8892,_0x3f2030[_0x9d9a3f(0x183)](_0x411dd4),this[_0x9d9a3f(0x18d)]['set'](_0x411dd4[_0x9d9a3f(0x1bf)],_0x411dd4),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x18f)](_0x3c6527,_0x59c589,_0x5e7913,_0x411dd4),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1af)](_0x411dd4);continue;}const _0x1a0a17=new _0x212da2();_0x1a0a17[_0x9d9a3f(0x1bf)]=(_0x3c1239==null?void 0x0:_0x3c1239[_0x9d9a3f(0x1db)](_0xd3914c,_0x2ef98f))||_0x126995(this[_0x9d9a3f(0x157)]),_0x1a0a17[_0x9d9a3f(0x1c5)]=_0x411dd4,_0x1a0a17[_0x9d9a3f(0x1a4)]=_0xd3914c,_0x1a0a17[_0x9d9a3f(0x1a0)]=_0x2ef98f,_0x1a0a17[_0x9d9a3f(0x16c)]=_0xb8892,this[_0x9d9a3f(0x157)][_0x9d9a3f(0x18f)](_0x3c6527,_0x59c589,_0x5e7913,_0x1a0a17),this[_0x9d9a3f(0x157)][_0x9d9a3f(0x1af)](_0x1a0a17),_0x3f2030['push'](_0x1a0a17),this[_0x9d9a3f(0x18d)]['set'](_0x1a0a17[_0x9d9a3f(0x1bf)],_0x1a0a17);}}this['_dependencyManagerService'][_0x9d9a3f(0x1d6)](_0x5e7913);}}}}[_0x36b4d0(0x1cd)](_0x4b32a6,_0x1c9324,_0x5f3ebf,_0x30aea3){const _0x36e555=_0x36b4d0;for(const _0x5231ee of _0x4b32a6){const _0x93df66=_0x1c9324[_0x5231ee];if(_0x93df66==null)continue;const _0x44c025=Object['keys'](_0x93df66);for(const _0x4b6d6c of _0x44c025){const _0x8b54c4=new _0xcdd134(_0x93df66[_0x4b6d6c]||{}),_0x7c8e7=new Map();_0x8b54c4[_0x36e555(0x163)]((_0xf1b78c,_0x30a8b0,_0x1f745c)=>{const _0x3de178=_0x36e555;if(_0x1f745c==null)return!0x0;const {x:_0x31ca45=0x0,y:y=0x0,si:_0x5af52d}=_0x1f745c;if(!(_0x31ca45===0x0&&y===0x0&&_0x5af52d!=null))return!0x0;const _0x2d0eae=this[_0x3de178(0x14f)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0,_0x5f3ebf,_0x1f745c),_0x41d2d6=this['_dependencyManagerService'][_0x3de178(0x1b0)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0);_0x41d2d6!=null?_0x2d0eae[_0x3de178(0x1bf)]=_0x41d2d6:(this[_0x3de178(0x157)][_0x3de178(0x19b)](_0x5231ee,_0x4b6d6c,_0xf1b78c,_0x30a8b0,_0x2d0eae),this['_dependencyManagerService'][_0x3de178(0x1af)](_0x2d0eae)),_0x7c8e7['set'](_0x5af52d,_0x2d0eae),_0x30aea3['push'](_0x2d0eae),this[_0x3de178(0x18d)][_0x3de178(0x18b)](_0x2d0eae['treeId'],_0x2d0eae);}),_0x8b54c4['forValue']((_0x9b6a7a,_0x65c0bd,_0xe94693)=>{const _0x506da2=_0x36e555;if(_0xe94693==null)return!0x0;const {x:_0x357683=0x0,y:y=0x0,si:_0xef9fe6}=_0xe94693;if(_0x357683===0x0&&y===0x0&&_0xef9fe6!=null)return!0x0;let _0x4f60f3;if(_0xef9fe6&&_0x7c8e7[_0x506da2(0x15b)](_0xef9fe6)){const _0x54b45b=_0x7c8e7[_0x506da2(0x191)](_0xef9fe6);_0x4f60f3=this['_createVirtualFDtree'](_0x54b45b,_0xe94693);}else _0x4f60f3=this[_0x506da2(0x14f)](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd,_0x5f3ebf,_0xe94693);const _0x18a909=this[_0x506da2(0x157)][_0x506da2(0x1b0)](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd);_0x18a909!=null?_0x4f60f3[_0x506da2(0x1bf)]=_0x18a909:(this[_0x506da2(0x157)]['addFormulaDependency'](_0x5231ee,_0x4b6d6c,_0x9b6a7a,_0x65c0bd,_0x4f60f3),this['_dependencyManagerService'][_0x506da2(0x1af)](_0x4f60f3)),_0x30aea3[_0x506da2(0x183)](_0x4f60f3),this[_0x506da2(0x18d)][_0x506da2(0x18b)](_0x4f60f3['treeId'],_0x4f60f3);}),_0x7c8e7[_0x36e555(0x1e4)]();}}}['_createFDtree'](_0x47f49a,_0x2c4f0c,_0x366076,_0x3da4c9,_0x587234,_0x576da1){const _0x369fce=_0x36b4d0,{f:_0x5c3a26,x:_0x4512f9=0x0,y:_0x4b1d91=0x0}=_0x576da1,_0x19696b=new _0x3fccb1(_0x126995(this[_0x369fce(0x157)])),_0x4b34da=_0x587234[_0x47f49a][_0x2c4f0c];return _0x19696b[_0x369fce(0x16d)]=_0x5c3a26,_0x19696b[_0x369fce(0x173)]=_0x47f49a,_0x19696b[_0x369fce(0x17a)]=_0x2c4f0c,_0x19696b['row']=_0x366076,_0x19696b[_0x369fce(0x1e1)]=_0x3da4c9,_0x19696b[_0x369fce(0x19e)]=_0x4b34da['rowCount'],_0x19696b[_0x369fce(0x1ce)]=_0x4b34da['columnCount'],_0x19696b;}[_0x36b4d0(0x1b1)](){const _0x353494=_0x36b4d0,_0x47408f=[],_0x33468e=new Set(),_0x1c7a15=this[_0x353494(0x1e7)][_0x353494(0x164)](),_0x41dc9b=this[_0x353494(0x1e7)]['getDirtyRanges'](),_0x26097a=this[_0x353494(0x157)][_0x353494(0x174)](_0x41dc9b),_0x260517=this[_0x353494(0x1b3)][_0x353494(0x1ba)](_0x41dc9b);for(const _0x238a6c of _0x260517)_0x26097a['add'](_0x238a6c);for(const [_0x9808fe,_0x150973]of this[_0x353494(0x18d)])(_0x1c7a15||_0x150973[_0x353494(0x14b)]||_0x150973['dependencySheetName'](this[_0x353494(0x1e7)][_0x353494(0x165)]())||_0x26097a[_0x353494(0x15b)](_0x9808fe)&&!_0x150973[_0x353494(0x18e)](this[_0x353494(0x1e7)][_0x353494(0x1b4)]()))&&!_0x33468e[_0x353494(0x15b)](_0x9808fe)&&(_0x47408f['push'](_0x150973),_0x33468e[_0x353494(0x182)](_0x9808fe));for(const [_0x4234f8,_0x17a307]of this[_0x353494(0x18d)])_0x17a307[_0x353494(0x196)]||(_0x17a307[_0x353494(0x186)][_0x353494(0x1a2)]=0x0);return _0x47408f;}[_0x36b4d0(0x17f)](_0x327d01){const _0x81566b=_0x36b4d0;return this[_0x81566b(0x18d)][_0x81566b(0x191)](_0x327d01);}[_0x36b4d0(0x15e)](_0x3e09c5){const _0x261f1e=_0x36b4d0;return _0x1fb637(_0x3e09c5[_0x261f1e(0x173)],_0x3e09c5[_0x261f1e(0x16d)],this[_0x261f1e(0x1d2)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x36b4d0(0x158)](_0x5317da,_0x27aea4){const _0x5b3124=_0x36b4d0,_0x35d4e3=_0x5317da,_0x4106a2=new Set();for(;_0x35d4e3[_0x5b3124(0x1a2)]>0x0;){const _0x550bc0=_0x35d4e3['pop']();if(_0x4106a2[_0x5b3124(0x1e4)](),_0x550bc0===void 0x0||_0x550bc0['isSkip']())continue;if(_0x550bc0['isAdded']()){yield _0x550bc0,_0x550bc0[_0x5b3124(0x17e)](),_0x27aea4['add'](_0x550bc0[_0x5b3124(0x1bf)]);continue;}const _0x1b3110=this[_0x5b3124(0x157)]['searchDependency'](_0x550bc0[_0x5b3124(0x1da)](),_0x27aea4),_0x2ae55d=this['_dependencyRTreeCacheForAddressFunction'][_0x5b3124(0x1ba)](_0x550bc0[_0x5b3124(0x1da)](),_0x27aea4);for(const _0x46a87e of _0x2ae55d)_0x1b3110[_0x5b3124(0x182)](_0x46a87e);for(const _0x557a61 of _0x1b3110){const _0x198bdf=this[_0x5b3124(0x18d)][_0x5b3124(0x191)](_0x557a61);if(!_0x198bdf)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x198bdf[_0x5b3124(0x1ca)]()||_0x550bc0[_0x5b3124(0x171)]()||_0x4106a2[_0x5b3124(0x182)](_0x198bdf);}if(_0x1b3110['clear'](),_0x4106a2[_0x5b3124(0x176)]===0x0)yield _0x550bc0,_0x550bc0[_0x5b3124(0x17e)](),_0x27aea4['add'](_0x550bc0[_0x5b3124(0x1bf)]);else{_0x550bc0[_0x5b3124(0x18a)](),_0x35d4e3[_0x5b3124(0x183)](_0x550bc0);for(const _0x29c319 of _0x4106a2)_0x35d4e3[_0x5b3124(0x183)](_0x29c319);}}_0x35d4e3[_0x5b3124(0x1a2)]=0x0,_0x4106a2['clear']();}[_0x36b4d0(0x188)](_0x164568){const _0x176d05=_0x36b4d0,_0x3bc09c=[],_0x306252=new Set();for(const _0x17ce31 of this['_traverse'](_0x164568,_0x306252))_0x3bc09c[_0x176d05(0x183)](_0x17ce31);return _0x3bc09c;}}class de extends _0x4d46b7{async[_0x36b4d0(0x1d3)](_0x44142d=!0x1){const _0x7e7a8b=_0x36b4d0;_0x44142d?this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x1bc)]):this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x15f)]),this[_0x7e7a8b(0x192)][_0x7e7a8b(0x1b2)](this['_runtimeService']['getRuntimeState']());const _0x4ba404=await this['_formulaDependencyGenerator'][_0x7e7a8b(0x1a9)](),_0x23c132=this['_interpreter'];_0x44142d?(this[_0x7e7a8b(0x1b6)]['setFormulaExecuteStage'](_0x3d0d6d[_0x7e7a8b(0x1d9)]),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x160)](_0x4ba404['length'])):(this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x18c)]),this['_runtimeService'][_0x7e7a8b(0x1bb)](_0x4ba404[_0x7e7a8b(0x1a2)])),this[_0x7e7a8b(0x192)]['next'](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x17c)]());let _0x538f9f=[];const _0x4464f0=this[_0x7e7a8b(0x19f)][_0x7e7a8b(0x149)](_0x3f3a12),_0x203249=(_0x4464f0==null?void 0x0:_0x4464f0['intervalCount'])||_0x252373;let _0x2b5375=0x0;const _0x33f908=_0x4ba404[_0x7e7a8b(0x1a2)];for(;_0x4ba404['length']>0x0;){const _0x31194e=_0x4ba404[_0x7e7a8b(0x167)](),_0x3b6c3f={'node':_0x1fb637(_0x31194e[_0x7e7a8b(0x173)],_0x31194e[_0x7e7a8b(0x16d)],this['_lexer'],this[_0x7e7a8b(0x1ad)],this[_0x7e7a8b(0x1e7)]),'refOffsetX':_0x31194e['refOffsetX'],'refOffsetY':_0x31194e[_0x7e7a8b(0x1a0)]},_0x4dcfb9=_0x31194e[_0x7e7a8b(0x14c)];if(_0x2b5375%_0x203249===0x0&&(await new Promise(_0x35844c=>{const _0x35e769=_0x7e7a8b,_0x5bba36=_0xfe6a7b(_0x35844c);_0x538f9f[_0x35e769(0x183)](_0x5bba36);}),_0x44142d?(this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x166)]),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1d0)](_0x2b5375+0x1)):(this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x168)]),this['_runtimeService']['setCompletedFormulasCount'](_0x2b5375+0x1)),this['_executionInProgressListener$'][_0x7e7a8b(0x1b2)](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x17c)]()),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1dc)]()||_0x3b6c3f==null&&_0x4dcfb9==null)){this['_runtimeService'][_0x7e7a8b(0x1d4)](_0x3d0d6d[_0x7e7a8b(0x19d)]),this['_runtimeService'][_0x7e7a8b(0x193)](),this[_0x7e7a8b(0x169)]['next'](this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1b7)]());return;}this['_runtimeService'][_0x7e7a8b(0x1c9)](_0x31194e[_0x7e7a8b(0x155)],_0x31194e[_0x7e7a8b(0x1e1)],_0x31194e[_0x7e7a8b(0x19e)],_0x31194e[_0x7e7a8b(0x1ce)],_0x31194e[_0x7e7a8b(0x17a)],_0x31194e[_0x7e7a8b(0x173)]);let _0x352bbc;if(_0x4dcfb9!=null&&_0x31194e[_0x7e7a8b(0x1aa)]!=null){const {runtimeCellData:_0x11642c,dirtyRanges:_0x520c71}=_0x4dcfb9(this['_currentConfigService'][_0x7e7a8b(0x14c)](),this[_0x7e7a8b(0x1b6)]['getAllRuntimeData']());this[_0x7e7a8b(0x1b6)]['setRuntimeFeatureCellData'](_0x31194e[_0x7e7a8b(0x1aa)],_0x11642c),this['_runtimeService'][_0x7e7a8b(0x1c3)](_0x31194e[_0x7e7a8b(0x1aa)],_0x520c71);}else _0x3b6c3f!=null&&(_0x23c132[_0x7e7a8b(0x1d5)](_0x3b6c3f[_0x7e7a8b(0x177)])?_0x352bbc=await _0x23c132[_0x7e7a8b(0x178)](_0x3b6c3f):_0x352bbc=_0x23c132[_0x7e7a8b(0x1e2)](_0x3b6c3f),_0x31194e[_0x7e7a8b(0x156)]!=null?this['_runtimeService'][_0x7e7a8b(0x1df)](_0x31194e['formulaId'],_0x31194e[_0x7e7a8b(0x1a4)],_0x31194e[_0x7e7a8b(0x1a0)],_0x352bbc):this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1e0)](_0x352bbc));_0x2b5375++;}return _0x538f9f[_0x7e7a8b(0x19c)](_0xcbfa23=>_0xcbfa23()),_0x538f9f=[],_0x33f908>0x0?this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x16b)]():_0x44142d||this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1cc)](),this[_0x7e7a8b(0x1b6)][_0x7e7a8b(0x1b7)]();}}function _0x3ea4(){const _0x5cb147=['1165SwHYfE','_lexer','_apply','setFormulaExecuteStage','checkAsyncNode','addOtherFormulaDependencyMainData','_otherFormulaDataMainData','_otherFormulaData','START_CALCULATION_ARRAY_FORMULA','toRTreeItem','getValue','isStopExecution','featureDirtyRanges','addFeatureFormulaDependency','setRuntimeOtherData','setRuntimeData','column','execute','hasOtherFormulaDataMainData','clear','getFeatureFormulaDependency','dispose','_currentConfigService','removeFormulaDependencyByDefinedName','realDeleteValue','getConfig','_otherFormulaManagerService','isDirty','getDirtyData','min','getOwnPropertyDescriptor','_createFDtree','endColumn','_featureFormulaData','delete','_injector','reset','row','formulaId','_dependencyManagerService','_traverse','getFormulaData','_definedNameMap','has','_config','_checkIsCycleDependency','_getTreeNode','START_DEPENDENCY','setTotalArrayFormulasToCalculate','startColumn','clearFormulaDependency','forValue','isForceCalculate','getDirtyNameMap','CURRENTLY_CALCULATING_ARRAY_FORMULA','pop','CURRENTLY_CALCULATING','_executionCompleteListener$','defineProperty','markedAsSuccessfullyExecuted','isCache','formula','startRow','_formulaData','getOtherFormulaDependency','isSkip','openKdTree','unitId','searchDependency','_updateRangeFlatten','size','node','executeAsync','_getFirstCellOfRange','subUnitId','removeFormulaDependency','getRuntimeState','_dependencyRTreeCache','setSkip','_getTreeById','valid','_initLicenseValid','add','push','_removeDependencyRTreeCacheById','getOtherFormulaData','rangeList','notExecuteFormula','_calculateRunList','removeFeatureFormulaDependency','setAdded','set','START_CALCULATION','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependency','clearFeatureFormulaDependency','get','_executionInProgressListener$','markedAsStopFunctionsExecuted','_allTreeMap','_isCyclicUtilMap','isVirtual','setValue','_addAllTreeMap','264IfzGPN','3462802GkrisU','addFormulaDependency','forEach','IDLE','rowCount','_configService','refOffsetY','2739341kGeglP','length','endRow','refOffsetX','closeKdTree','1759891uQcmxO','max','_initializeWithOverride','generate','featureId','_registerOtherFormulas','_getFeatureFormulaTree','_astTreeBuilder','type','addFormulaDependencyByDefinedName','getFormulaDependency','_getUpdateTreeListAndMakeDependency','next','_dependencyRTreeCacheForAddressFunction','getExcludedRange','3pKfbaP','_runtimeService','getAllRuntimeData','11652YhwXbq','130401HQenHH','bulkSearch','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','return\x20','_removeAllTreeMap','treeId','getUnitData','2800674zbQIIp','1540140cSRdmx','setRuntimeFeatureRange','10zYelhD','refTree','_removeDependencyRTreeCache','keys','_restDependencyTreeId','setCurrent','isAdded','_convertDirtyRangesToUnitRange','markedAsNoFunctionsExecuted','_registerFormulas','columnCount','clearOtherFormulaDependency','setCompletedArrayFormulasCount'];_0x3ea4=function(){return _0x5cb147;};return _0x3ea4();}class ge extends _0x52fcda{constructor(){const _0x3bc60b=_0x36b4d0;super(...arguments),S(this,_0x3bc60b(0x194),new Map()),S(this,_0x3bc60b(0x17d),new _0x639d9b(!0x0));}[_0x36b4d0(0x154)](){const _0x509c98=_0x36b4d0;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x509c98(0x1e4)](),this[_0x509c98(0x16f)][_0x509c98(0x1e4)](),this[_0x509c98(0x17d)]['clear'](),this['_allTreeMap']['clear'](),this[_0x509c98(0x1c8)](),this['_otherFormulaDataMainData'][_0x509c98(0x1e4)]();}[_0x36b4d0(0x18f)](_0x30811f,_0x2191ee,_0x124dd4,_0x4de6bb){const _0x13bce8=_0x36b4d0;this[_0x13bce8(0x1d8)][_0x13bce8(0x15b)](_0x30811f)||this[_0x13bce8(0x1d8)][_0x13bce8(0x18b)](_0x30811f,new Map());const _0x115579=this['_otherFormulaData'][_0x13bce8(0x191)](_0x30811f);_0x115579['has'](_0x2191ee)||_0x115579[_0x13bce8(0x18b)](_0x2191ee,new Map());const _0xba7818=_0x115579[_0x13bce8(0x191)](_0x2191ee);_0xba7818[_0x13bce8(0x15b)](_0x124dd4)||_0xba7818[_0x13bce8(0x18b)](_0x124dd4,new _0xcdd134()),_0xba7818[_0x13bce8(0x191)](_0x124dd4)[_0x13bce8(0x197)](_0x4de6bb[_0x13bce8(0x1a4)],_0x4de6bb[_0x13bce8(0x1a0)],_0x4de6bb[_0x13bce8(0x1bf)]);}['removeOtherFormulaDependency'](_0x42a329,_0x44b943,_0x40c77e){const _0x12e4d3=_0x36b4d0,_0x14b664=this['_otherFormulaData'][_0x12e4d3(0x191)](_0x42a329);if(_0x14b664&&_0x14b664[_0x12e4d3(0x15b)](_0x44b943)){const _0x20963e=_0x14b664[_0x12e4d3(0x191)](_0x44b943);_0x40c77e[_0x12e4d3(0x19c)](_0x41954b=>{const _0x404efd=_0x12e4d3,_0x3a1477=_0x20963e['get'](_0x41954b);_0x3a1477!=null&&(_0x3a1477[_0x404efd(0x163)]((_0x37673e,_0x189640,_0x50be96)=>{const _0x506478=_0x404efd;this[_0x506478(0x1c6)](_0x50be96),this[_0x506478(0x1be)](_0x50be96);}),_0x20963e[_0x404efd(0x152)](_0x41954b),this[_0x404efd(0x1d7)]['delete'](_0x41954b));}),_0x20963e[_0x12e4d3(0x176)]===0x0&&_0x14b664[_0x12e4d3(0x152)](_0x44b943),_0x14b664['size']===0x0&&this[_0x12e4d3(0x1d8)][_0x12e4d3(0x152)](_0x42a329);}}[_0x36b4d0(0x1cf)](_0x2542b2,_0x47f743){const _0x12821d=_0x36b4d0,_0x14601a=this[_0x12821d(0x1d8)][_0x12821d(0x191)](_0x2542b2);if(_0x47f743&&_0x14601a&&_0x14601a[_0x12821d(0x15b)](_0x47f743)){const _0x318221=_0x14601a['get'](_0x47f743);this[_0x12821d(0x184)](_0x2542b2,_0x47f743);for(const _0x2a447d of _0x318221['keys']()){const _0x14faa3=_0x318221['get'](_0x2a447d);_0x14faa3!=null&&(_0x14faa3[_0x12821d(0x163)]((_0x44b608,_0x2b2a3d,_0x22dfd1)=>{const _0x1fbe10=_0x12821d;this[_0x1fbe10(0x194)]['get'](_0x22dfd1)&&this[_0x1fbe10(0x1be)](_0x22dfd1);}),this[_0x12821d(0x1d7)]['delete'](_0x2a447d));}_0x318221[_0x12821d(0x1e4)]();}else{if(_0x14601a){for(const _0x4c363d of _0x14601a['keys']()){const _0x4b4d0b=_0x14601a[_0x12821d(0x191)](_0x4c363d);this[_0x12821d(0x184)](_0x2542b2,_0x4c363d);for(const _0x4272d0 of _0x4b4d0b[_0x12821d(0x1c7)]()){const _0x118ce7=_0x4b4d0b[_0x12821d(0x191)](_0x4272d0);_0x118ce7!=null&&(_0x118ce7[_0x12821d(0x163)]((_0x21af89,_0x201bea,_0x3bd5fb)=>{const _0x42f041=_0x12821d;this[_0x42f041(0x194)][_0x42f041(0x191)](_0x3bd5fb)&&this[_0x42f041(0x1be)](_0x3bd5fb);}),this['_otherFormulaDataMainData'][_0x12821d(0x152)](_0x4272d0));}}this[_0x12821d(0x1d8)]['delete'](_0x2542b2);}}}[_0x36b4d0(0x1de)](_0x432e61,_0x109a17,_0x2a9f6e,_0x2ff982){const _0x300e85=_0x36b4d0;this[_0x300e85(0x151)][_0x300e85(0x15b)](_0x432e61)||this[_0x300e85(0x151)][_0x300e85(0x18b)](_0x432e61,new Map());const _0x33ebee=this['_featureFormulaData'][_0x300e85(0x191)](_0x432e61);_0x33ebee[_0x300e85(0x15b)](_0x109a17)||_0x33ebee[_0x300e85(0x18b)](_0x109a17,new Map()),_0x33ebee[_0x300e85(0x191)](_0x109a17)[_0x300e85(0x18b)](_0x2a9f6e,_0x2ff982['treeId']);}[_0x36b4d0(0x189)](_0x4d9638,_0x4e2f56,_0x2d00f4){const _0x261338=_0x36b4d0,_0x339866=this['_featureFormulaData']['get'](_0x4d9638);if(_0x339866&&_0x339866[_0x261338(0x15b)](_0x4e2f56)){const _0x495c47=_0x339866[_0x261338(0x191)](_0x4e2f56);_0x2d00f4[_0x261338(0x19c)](_0x50df62=>{const _0x2e1253=_0x261338,_0x7fa9d=_0x495c47[_0x2e1253(0x191)](_0x50df62);_0x7fa9d!=null&&(this[_0x2e1253(0x1c6)](_0x7fa9d),_0x495c47[_0x2e1253(0x152)](_0x50df62),this['_removeAllTreeMap'](_0x7fa9d));});}}[_0x36b4d0(0x190)](_0xd1e8a4,_0x243f42){const _0x323250=_0x36b4d0,_0x56ff5c=this['_featureFormulaData']['get'](_0xd1e8a4);if(_0x243f42&&_0x56ff5c&&_0x56ff5c[_0x323250(0x15b)](_0x243f42)){const _0x344402=_0x56ff5c['get'](_0x243f42);this[_0x323250(0x184)](_0xd1e8a4,_0x243f42),_0x344402[_0x323250(0x19c)](_0x4bc32f=>{const _0x43db46=_0x323250;_0x4bc32f!=null&&this[_0x43db46(0x1be)](_0x4bc32f);}),_0x344402[_0x323250(0x1e4)]();}else _0x56ff5c&&(_0x56ff5c[_0x323250(0x19c)]((_0x346c5b,_0xdcf028)=>{const _0x4780e2=_0x323250;this['_removeDependencyRTreeCacheById'](_0xd1e8a4,_0xdcf028),_0x346c5b[_0x4780e2(0x19c)](_0x20163c=>{_0x20163c!=null&&this['_removeAllTreeMap'](_0x20163c);});}),this[_0x323250(0x151)]['delete'](_0xd1e8a4));}[_0x36b4d0(0x19b)](_0x193fa7,_0x1e83e6,_0x3b74ad,_0x434514,_0xb9a135){const _0x343c6e=_0x36b4d0;this[_0x343c6e(0x16f)][_0x343c6e(0x15b)](_0x193fa7)||this[_0x343c6e(0x16f)][_0x343c6e(0x18b)](_0x193fa7,new Map());const _0x252ed2=this[_0x343c6e(0x16f)][_0x343c6e(0x191)](_0x193fa7);_0x252ed2['has'](_0x1e83e6)||_0x252ed2[_0x343c6e(0x18b)](_0x1e83e6,new _0xcdd134()),_0x252ed2['get'](_0x1e83e6)[_0x343c6e(0x197)](_0x3b74ad,_0x434514,_0xb9a135[_0x343c6e(0x1bf)]);}[_0x36b4d0(0x17b)](_0x5dcabc,_0x68edd6,_0x4e6400,_0x3410c8){const _0x83431c=_0x36b4d0,_0x1d1837=this[_0x83431c(0x16f)][_0x83431c(0x191)](_0x5dcabc);if(_0x1d1837&&_0x1d1837[_0x83431c(0x15b)](_0x68edd6)){const _0x41d694=_0x1d1837[_0x83431c(0x191)](_0x68edd6),_0x4c6849=_0x41d694[_0x83431c(0x1db)](_0x4e6400,_0x3410c8);if(_0x4c6849==null)return;this[_0x83431c(0x1c6)](_0x4c6849),_0x41d694[_0x83431c(0x148)](_0x4e6400,_0x3410c8),this[_0x83431c(0x1be)](_0x4c6849);}}[_0x36b4d0(0x162)](_0x25a6ec,_0x1d558d){const _0x126d82=_0x36b4d0,_0x4d5703=this['_formulaData'][_0x126d82(0x191)](_0x25a6ec);if(_0x1d558d&&_0x4d5703&&_0x4d5703[_0x126d82(0x15b)](_0x1d558d)){const _0x5b1aa3=_0x4d5703[_0x126d82(0x191)](_0x1d558d);this['_removeDependencyRTreeCacheById'](_0x25a6ec,_0x1d558d),_0x5b1aa3[_0x126d82(0x163)]((_0x462321,_0x49827a,_0x4be08c)=>{const _0x2d9207=_0x126d82;if(_0x4be08c==null)return!0x0;this[_0x2d9207(0x1be)](_0x4be08c);}),_0x5b1aa3[_0x126d82(0x154)]();}else _0x4d5703&&(_0x4d5703[_0x126d82(0x19c)]((_0x2c56cc,_0x3bdf06)=>{const _0x2fa1f1=_0x126d82;this[_0x2fa1f1(0x184)](_0x25a6ec,_0x3bdf06),_0x2c56cc[_0x2fa1f1(0x163)]((_0x69d9a6,_0x2f9d1f,_0x3a35af)=>{const _0x8fa5be=_0x2fa1f1;if(_0x3a35af==null)return!0x0;this[_0x8fa5be(0x1be)](_0x3a35af);});}),this[_0x126d82(0x16f)][_0x126d82(0x152)](_0x25a6ec));}[_0x36b4d0(0x1c6)](_0xd5a49c){const _0x1c22ec=_0x36b4d0;if(_0xd5a49c==null)return;const _0x18dc86=this[_0x1c22ec(0x194)]['get'](_0xd5a49c);if(_0x18dc86){const _0xcf21a=[];for(const [_0x439677,_0x525168]of _0x18dc86)for(const [_0x359036,_0x30b3ae]of _0x525168)_0xcf21a[_0x1c22ec(0x183)]({'unitId':_0x439677,'sheetId':_0x359036,'range':_0x30b3ae,'id':_0xd5a49c});this[_0x1c22ec(0x17d)]['bulkRemove'](_0xcf21a);}}[_0x36b4d0(0x1e8)](_0x38d803,_0x21b0a8){const _0x1d4b31=_0x36b4d0,_0x418248=this[_0x1d4b31(0x15a)]['get'](_0x38d803);if(_0x418248){const _0x3b6d5c=_0x418248[_0x1d4b31(0x191)](_0x21b0a8);if(_0x3b6d5c){for(const _0x3ec2e6 of _0x3b6d5c)this[_0x1d4b31(0x1c6)](_0x3ec2e6),this[_0x1d4b31(0x1be)](_0x3ec2e6);_0x3b6d5c[_0x1d4b31(0x1e4)]();}}}[_0x36b4d0(0x172)](){const _0x3ee9d3=_0x36b4d0;this[_0x3ee9d3(0x17d)][_0x3ee9d3(0x172)]();}[_0x36b4d0(0x1a5)](){const _0x509eff=_0x36b4d0;this[_0x509eff(0x17d)]['closeKdTree']();}['_removeAllTreeMap'](_0x41ab98){const _0x15f9cc=_0x36b4d0;_0x41ab98!=null&&this[_0x15f9cc(0x194)][_0x15f9cc(0x152)](_0x41ab98);}[_0x36b4d0(0x198)](_0x3787e4){const _0x1ce95d=_0x36b4d0;var _0x50a19f,_0x3351d9;const _0x49e761=_0x3787e4[_0x1ce95d(0x186)];let _0x3df7f1=this[_0x1ce95d(0x194)][_0x1ce95d(0x191)](_0x3787e4[_0x1ce95d(0x1bf)]);for(let _0x87fd37=0x0;_0x87fd37<_0x49e761[_0x1ce95d(0x1a2)];_0x87fd37++){const _0x22f4b5=_0x49e761[_0x87fd37];let {unitId:_0x309503,sheetId:_0x2cc118,range:_0x274afc}=_0x22f4b5;_0x3df7f1||(_0x3df7f1=new Map(),this[_0x1ce95d(0x194)][_0x1ce95d(0x18b)](_0x3787e4[_0x1ce95d(0x1bf)],_0x3df7f1)),_0x3df7f1[_0x1ce95d(0x15b)](_0x309503)||_0x3df7f1[_0x1ce95d(0x18b)](_0x309503,new Map());const _0x77c6cf=(_0x50a19f=_0x3df7f1==null?void 0x0:_0x3df7f1[_0x1ce95d(0x191)](_0x309503))==null?void 0x0:_0x50a19f[_0x1ce95d(0x191)](_0x2cc118);_0x77c6cf&&(_0x274afc={'startRow':Math[_0x1ce95d(0x14d)](_0x274afc[_0x1ce95d(0x16e)],_0x77c6cf[_0x1ce95d(0x16e)]),'startColumn':Math[_0x1ce95d(0x14d)](_0x274afc[_0x1ce95d(0x161)],_0x77c6cf['startColumn']),'endRow':Math[_0x1ce95d(0x1a7)](_0x274afc[_0x1ce95d(0x1a3)],_0x77c6cf['endRow']),'endColumn':Math[_0x1ce95d(0x1a7)](_0x274afc[_0x1ce95d(0x150)],_0x77c6cf[_0x1ce95d(0x150)])}),(_0x3351d9=_0x3df7f1[_0x1ce95d(0x191)](_0x309503))==null||_0x3351d9[_0x1ce95d(0x18b)](_0x2cc118,_0x274afc);}}}var fe=Object[_0x36b4d0(0x14e)],De=(_0x29e543,_0x462c2f,_0xed6b0,_0x4c5346)=>{const _0x13a909=_0x36b4d0;for(var _0x5c04df=_0x4c5346>0x1?void 0x0:_0x4c5346?fe(_0x462c2f,_0xed6b0):_0x462c2f,_0xe1dfa5=_0x29e543[_0x13a909(0x1a2)]-0x1,_0x3805b5;_0xe1dfa5>=0x0;_0xe1dfa5--)(_0x3805b5=_0x29e543[_0xe1dfa5])&&(_0x5c04df=_0x3805b5(_0x5c04df)||_0x5c04df);return _0x5c04df;};const _e=Number['parseInt'](0x689ed354);let U=class extends _0x1c87b8{[_0x36b4d0(0x1a8)](){const _0xe2b441=_0x36b4d0;var _0x18acdb,_0x1c5862;this[_0xe2b441(0x181)]()?(_0x18acdb=this[_0xe2b441(0x15c)])!=null&&_0x18acdb[_0xe2b441(0x187)]||[[_0x4b83a2,{'useClass':de}],[_0x2784d7,{'useClass':ge}],[_0x19aac6,{'useClass':he}]]['forEach'](_0x3dfcfe=>this[_0xe2b441(0x153)][_0xe2b441(0x182)](_0x3dfcfe)):(_0x1c5862=this[_0xe2b441(0x15c)])!=null&&_0x1c5862[_0xe2b441(0x187)]||[[_0x4b83a2,{'useClass':_0x4d46b7}],[_0x2784d7,{'useClass':_0x51b177}],[_0x19aac6,{'useClass':_0x45ddb7}]]['forEach'](_0x405a03=>this[_0xe2b441(0x153)][_0xe2b441(0x182)](_0x405a03));}[_0x36b4d0(0x181)](){const _0x555171=_0x36b4d0;var _0x36fa76;const _0x2cc712=(_0x36fa76=this['_configService']['getConfig'](_0x185044))!=null?_0x36fa76:{},{ls:_0x3a9c3d,pbk:_0x148e59}=_0x2cc712;if(!_0x3a9c3d||!_0x148e59)return!0x1;const _0x230606=_0x4fcf89(ue,le),_0x8c478=new Function(_0x555171(0x1bd)+_0x230606)()(_0x3a9c3d,_0x148e59),_0x4517eb=_0x8c478['message'];return _0x8c478[_0x555171(0x180)]&&_0x2a503a(_0x4517eb,'sf',_e)?_0x20935d(_0x4517eb,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};U=De([_0x5ef185(_0x5ba6ec)],U);export{U 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
|
+
H: string;
|
|
13
|
+
X: string;
|
|
14
|
+
Y: string;
|
|
15
|
+
z: string;
|
|
16
|
+
r: string;
|
|
15
17
|
i: string;
|
|
16
|
-
a: string;
|
|
17
|
-
o: string;
|
|
18
|
-
k: string;
|
|
19
|
-
V: string;
|
|
20
|
-
O: string;
|
|
21
|
-
Q: string;
|
|
22
|
-
e: string;
|
|
23
|
-
l: string;
|
|
24
18
|
U: string;
|
|
25
|
-
|
|
26
|
-
R: string;
|
|
27
|
-
y: string;
|
|
28
|
-
P: string;
|
|
19
|
+
M: string;
|
|
29
20
|
n: string;
|
|
30
|
-
|
|
31
|
-
s: string;
|
|
32
|
-
m: string;
|
|
33
|
-
W: string;
|
|
21
|
+
b: string;
|
|
34
22
|
F: string;
|
|
35
|
-
|
|
36
|
-
A: string;
|
|
23
|
+
g: string;
|
|
37
24
|
T: string;
|
|
38
|
-
b: string;
|
|
39
|
-
r: string;
|
|
40
|
-
M: string;
|
|
41
|
-
t: string;
|
|
42
25
|
I: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
26
|
+
C: string;
|
|
27
|
+
f: string;
|
|
28
|
+
l: string;
|
|
29
|
+
O: string;
|
|
30
|
+
G: string;
|
|
31
|
+
s: string;
|
|
32
|
+
V: string;
|
|
33
|
+
Z: string;
|
|
46
34
|
D: string;
|
|
35
|
+
o: string;
|
|
36
|
+
J: string;
|
|
47
37
|
B: string;
|
|
38
|
+
R: string;
|
|
39
|
+
Q: string;
|
|
40
|
+
j: string;
|
|
41
|
+
m: string;
|
|
42
|
+
q: string;
|
|
43
|
+
u: string;
|
|
44
|
+
W: string;
|
|
45
|
+
L: string;
|
|
46
|
+
v: string;
|
|
48
47
|
x: string;
|
|
48
|
+
P: string;
|
|
49
|
+
A: string;
|
|
50
|
+
y: string;
|
|
51
|
+
h: string;
|
|
52
|
+
K: string;
|
|
53
|
+
d: string;
|
|
54
|
+
t: string;
|
|
49
55
|
p: string;
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
k: string;
|
|
57
|
+
w: string;
|
|
52
58
|
E: string;
|
|
59
|
+
a: string;
|
|
60
|
+
c: string;
|
|
61
|
+
S: string;
|
|
53
62
|
N: string;
|
|
54
|
-
|
|
55
|
-
C: string;
|
|
56
|
-
z: string;
|
|
57
|
-
Z: string;
|
|
58
|
-
X: string;
|
|
59
|
-
g: string;
|
|
60
|
-
G: string;
|
|
61
|
-
f: string;
|
|
62
|
-
q: string;
|
|
63
|
-
d: string;
|
|
63
|
+
e: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "T6sFoC2s 5gFZQVoC2s(OCFgsDg, V6bOCF0gQ) { oZQ { F2sDo OCFgsDgPsT2t4Zo8ZZ4Q = OCFgsDg.DVOCo('-'); F2sDo 2ZCICshgDD4Ig = A7dK.V4ZDg(4o2b(OCFgsDgPsT2t4Zo8ZZ4Q[Y])); CT (!2ZCICshgDD4Ig.65) { 2ZCICshgDD4Ig.65 = K6GbgZ(OCFgsDgPsT2t4Zo8ZZ4Q[r]); } F2sDo CDc2ZlgZ = oQVg2T c2ZlgZvO2b4O7F2Vg !== '6s5gTCsg5' && DgOT CsDo4sFg2T c2ZlgZvO2b4O7F2Vg; F2sDo F2sogRo = CDc2ZlgZ ? DgOT : BCs52B; F2sDo GgDD4Igc2Z5 = F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[Y]); F2sDo GgDD4Ig = F2sogRo.__xgR__.DoZCsICTQ(GgDD4Igc2Z5); F2sDo DCIs4o6Zgc2Z5 = F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[z]); F2sDo DCIs4o6Zg = F2sogRo.__xgR__.DoZCsICTQ(DCIs4o6Zgc2Z5); F2sDo DCIsa4OC5 = F2sogRo.__JgZCTQ__(DCIs4o6Zg, GgDD4Ig, V6bOCF0gQ); F2sDo 52G4Cs = 2ZCICshgDD4Ig.5G; T6sFoC2s CDu2G4Csh4oF1CsI(2t4oogZs, 2x2Do) { F2sDo V4oogZs = 2t4oogZs.ZgVO4Fg(/^.+/, ''); F2sDo 12Do = 2x2Do.ZgVO4Fg(/^.+/, ''); F2sDo V4oogZst4ZoD = V4oogZs.DVOCo('.'); F2sDo 12Dot4ZoD = 12Do.DVOCo('.'); CT (!V4oogZs.CsFO65gD('*')) { Zgo6Zs V4oogZs === 12Do; } CT (V4oogZst4ZoD.OgsIo1 < Y || V4oogZst4ZoD[H] !== '*') { Zgo6Zs T4ODg; } F2sDo V4oogZs76TTCR = V4oogZst4ZoD.DOCFg(X).f2Cs('.'); F2sDo 12Do76TTCR = 12Dot4ZoD.DOCFg(-V4oogZst4ZoD.OgsIo1 + X).f2Cs('.'); Zgo6Zs V4oogZs76TTCR === 12Do76TTCR; } Ogo 52G4Csa4OC5 = (52G4Cs && 52G4Cs.OgsIo1) ? 52G4Cs.D2Gg((5GPogG) => CDu2G4Csh4oF1CsI(5GPogG, O2F4oC2s.12Dos4Gg)) : oZ6g; CT (O2F4oC2s.12Dos4Gg === 'O2F4O12Do') { 52G4Csa4OC5 = oZ6g; } F2sDo J4OC5 = DCIsa4OC5 && 52G4Csa4OC5; Zgo6Zs { J4OC5, GgDD4Ig: 2ZCICshgDD4Ig, }; } F4oF1 (gZZ2Z) { Zgo6Zs { J4OC5: T4ODg, GgDD4Ig: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2ec9(_0x1297af,_0x2dfd17){var _0x5d4072=_0x5d40();return _0x2ec9=function(_0x2ec962,_0x2e3693){_0x2ec962=_0x2ec962-0x81;var _0x24c855=_0x5d4072[_0x2ec962];return _0x24c855;},_0x2ec9(_0x1297af,_0x2dfd17);}function _0x5d40(){var _0xdc1ddd=['exports','call','@univerjs/engine-formula/facade','20sssYnj','defineProperty','keys','12600585DyEyAd','514938bPUQFn','2173608IIyNLg','toStringTag','UniverProEngineFormulaFacade','function','5LsqMCl','20709LaYIPb','amd','hasOwnProperty','4701656rmIGFt','772059OMSDet','3128468KTOQLM'];_0x5d40=function(){return _0xdc1ddd;};return _0x5d40();}(function(_0x40b630,_0x48ed3f){var _0x1b8085=_0x2ec9,_0x3c19a4=_0x40b630();while(!![]){try{var _0x238e17=-parseInt(_0x1b8085(0x93))/0x1*(parseInt(_0x1b8085(0x89))/0x2)+parseInt(_0x1b8085(0x84))/0x3+parseInt(_0x1b8085(0x8e))/0x4+parseInt(_0x1b8085(0x92))/0x5*(parseInt(_0x1b8085(0x8d))/0x6)+parseInt(_0x1b8085(0x85))/0x7+parseInt(_0x1b8085(0x83))/0x8+-parseInt(_0x1b8085(0x8c))/0x9;if(_0x238e17===_0x48ed3f)break;else _0x3c19a4['push'](_0x3c19a4['shift']());}catch(_0x44ae1d){_0x3c19a4['push'](_0x3c19a4['shift']());}}}(_0x5d40,0x4cac6),function(_0x4ba1c2,_0x5d50df){var _0x57b441=_0x2ec9;typeof exports=='object'&&typeof module<'u'?_0x5d50df(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x57b441(0x91)&&define[_0x57b441(0x81)]?define([_0x57b441(0x86),_0x57b441(0x88)],_0x5d50df):(_0x4ba1c2=typeof globalThis<'u'?globalThis:_0x4ba1c2||self,_0x5d50df(_0x4ba1c2[_0x57b441(0x90)]={},_0x4ba1c2['UniverEngineFormulaFacade']));}(this,function(_0x3c6e20,_0x57b1f9){'use strict';var _0x138b88=_0x2ec9;Object[_0x138b88(0x8b)](_0x57b1f9)['forEach'](_0x369433=>{var _0x32027c=_0x138b88;_0x369433!=='default'&&!Object['prototype'][_0x32027c(0x82)][_0x32027c(0x87)](_0x3c6e20,_0x369433)&&Object[_0x32027c(0x8a)](_0x3c6e20,_0x369433,{'enumerable':!0x0,'get':()=>_0x57b1f9[_0x369433]});}),Object['defineProperty'](_0x3c6e20,Symbol[_0x138b88(0x8f)],{'value':'Module'});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x510b40,_0x51f270){const _0x305d42=_0x3763,_0x16acf7=_0x510b40();while(!![]){try{const _0x448db5=-parseInt(_0x305d42(0x140))/0x1*(-parseInt(_0x305d42(0x1b1))/0x2)+-parseInt(_0x305d42(0x188))/0x3+-parseInt(_0x305d42(0x12f))/0x4*(parseInt(_0x305d42(0x1aa))/0x5)+-parseInt(_0x305d42(0x166))/0x6+-parseInt(_0x305d42(0x1a1))/0x7+parseInt(_0x305d42(0x1b2))/0x8*(parseInt(_0x305d42(0x1c0))/0x9)+parseInt(_0x305d42(0x142))/0xa;if(_0x448db5===_0x51f270)break;else _0x16acf7['push'](_0x16acf7['shift']());}catch(_0xa62111){_0x16acf7['push'](_0x16acf7['shift']());}}}(_0x2fb3,0xe670a),function(_0x6e20ac,_0x556290){const _0x50a0ca=_0x3763;typeof exports==_0x50a0ca(0x155)&&typeof module<'u'?_0x556290(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x50a0ca(0x171)&&define['amd']?define([_0x50a0ca(0x1c1),_0x50a0ca(0x130),'@univerjs/core',_0x50a0ca(0x1c3)],_0x556290):(_0x6e20ac=typeof globalThis<'u'?globalThis:_0x6e20ac||self,_0x556290(_0x6e20ac[_0x50a0ca(0x187)]={},_0x6e20ac['UniverProLicense'],_0x6e20ac[_0x50a0ca(0x13f)],_0x6e20ac['UniverEngineFormula']));}(this,function(_0x20b924,_0x592589,_0x3568cc,_0xc2fbf2){'use strict';const _0x42038a=_0x3763;var _0x2ab9f4=Object[_0x42038a(0x163)],_0x564719=(_0x43ef75,_0x18ea9e,_0x5ed196)=>_0x18ea9e in _0x43ef75?_0x2ab9f4(_0x43ef75,_0x18ea9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ed196}):_0x43ef75[_0x18ea9e]=_0x5ed196,_0x28dbef=(_0x31c9a5,_0x2ac4fa,_0xd865cc)=>_0x564719(_0x31c9a5,typeof _0x2ac4fa!=_0x42038a(0x18a)?_0x2ac4fa+'':_0x2ac4fa,_0xd865cc);const _0x16d707={0x0:'h',0x1:'B',0x2:'z',0x3:'3',0x4:'m',0x5:'H',0x6:'7',0x7:'9',0x8:'y',0x9:'f','h':'0','J':'1','c':'2','i':'4','a':'5','o':'6','k':'8','V':'a','O':'b','Q':'c','e':'d','l':'e','U':'g','w':'i','R':'j','y':'k','P':'l','n':'n','K':'o','s':'p','m':'q','W':'r','F':'s','L':'t','A':'u','T':'v','b':'w','r':'x','M':'A','t':'C','I':'D','u':'E','S':'F','v':'G','D':'I','B':'J','x':'K','p':'L','j':'M','Y':'N','E':'O','N':'P','H':'Q','C':'R','z':'S','Z':'T','X':'U','g':'V','G':'W','f':'X','q':'Y','d':'Z'},_0x3ab23e='9AnQLwKn\x20elQW8sLwKn(PwQlnFl,\x20sAOPwQxl8)\x20{\x20\x20\x20\x20LW8\x20{\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20PwQlnFlDn9KNVWLMWWV8\x20=\x20PwQlnFl.FsPwL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20KWwUwnjlFFVUl\x20=\x20BzEY.sVWFl(VLKO(PwQlnFlDn9KNVWLMWWV8[c]));\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!KWwUwnjlFFVUl.Ae)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KWwUwnjlFFVUl.Ae\x20=\x20YA4OlW(PwQlnFlDn9KNVWLMWWV8[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20wFGKWylW\x20=\x20L8slK9\x20GKWylWvPKOVPzQKsl\x20!==\x20\x27Anel9wnle\x27\x20&&\x20FlP9\x20wnFLVnQlK9\x20GKWylWvPKOVPzQKsl;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20QKnLlrL\x20=\x20wFGKWylW\x20?\x20FlP9\x20:\x20bwneKb;\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[c]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x204lFFVUl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(4lFFVUlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWlGKWe\x20=\x20QKnLlrL.__1VFloi__.sVWFl(PwQlnFlDn9KNVWLMWWV8[3]);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUnVLAWl\x20=\x20QKnLlrL.__5lr__.FLWwnUw98(FwUnVLAWlGKWe);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20FwUngVPwe\x20=\x20QKnLlrL.__TlWw98__(FwUnVLAWl,\x204lFFVUl,\x20sAOPwQxl8);\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20eK4Vwn\x20=\x20KWwUwnjlFFVUl.e4;\x20\x20\x20\x20\x20\x20\x20\x209AnQLwKn\x20wFIK4VwnjVLQ0wnU(KNVLLlWn,\x20K5KFL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWn\x20=\x20KNVLLlWn.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFL\x20=\x20K5KFL.WlsPVQl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnNVWLF\x20=\x20sVLLlWn.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLNVWLF\x20=\x200KFL.FsPwL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(!sVLLlWn.wnQPAelF(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWn\x20===\x200KFL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(sVLLlWnNVWLF.PlnUL0\x20<\x20c\x20||\x20sVLLlWnNVWLF[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x209VPFl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20sVLLlWnzA99wr\x20=\x20sVLLlWnNVWLF.FPwQl(J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x200KFLzA99wr\x20=\x200KFLNVWLF.FPwQl(-sVLLlWnNVWLF.PlnUL0\x20+\x20J).RKwn(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20sVLLlWnzA99wr\x20===\x200KFLzA99wr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PlL\x20eK4VwngVPwe\x20=\x20(eK4Vwn\x20&&\x20eK4Vwn.PlnUL0)\x20?\x20eK4Vwn.FK4l((e4DLl4)\x20=>\x20wFIK4VwnjVLQ0wnU(e4DLl4,\x20PKQVLwKn.0KFLnV4l))\x20:\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20w9\x20(PKQVLwKn.0KFLnV4l\x20===\x20\x27PKQVP0KFL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eK4VwngVPwe\x20=\x20LWAl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20QKnFL\x20TVPwe\x20=\x20FwUngVPwe\x20&&\x20eK4VwngVPwe;\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20KWwUwnjlFFVUl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20QVLQ0\x20(lWWKW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20WlLAWn\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TVPwe:\x209VPFl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204lFFVUl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x159626 extends _0xc2fbf2[_0x42038a(0x115)]{constructor(){const _0x282e89=_0x42038a;super(...arguments),_0x28dbef(this,_0x282e89(0x136),new Map());}[_0x42038a(0x152)](){const _0xedb7d3=_0x42038a;super[_0xedb7d3(0x152)](),this[_0xedb7d3(0x136)][_0xedb7d3(0x110)]();}async[_0x42038a(0x116)](){const _0x245cc8=_0x42038a;this[_0x245cc8(0x191)]();const _0x436c41=this[_0x245cc8(0x156)][_0x245cc8(0x159)](),_0x3a952e=this[_0x245cc8(0x19a)]['getOtherFormulaData'](),_0x2fcbf9=this[_0x245cc8(0x156)][_0x245cc8(0x17a)]();_0x2fcbf9!=null&&Object['keys'](_0x2fcbf9)[_0x245cc8(0x1ba)](_0x502afa=>{const _0x42eede=_0x245cc8;_0x502afa!=null&&Object[_0x42eede(0x1c4)](_0x2fcbf9[_0x502afa])[_0x42eede(0x1ba)](_0x35a3b9=>{const _0xf491ea=_0x42eede;_0x35a3b9!=null&&(this['_dependencyManagerService'][_0xf491ea(0x14a)](_0x502afa,_0x35a3b9),this[_0xf491ea(0x11f)][_0xf491ea(0x16a)](_0x502afa,_0x35a3b9),this[_0xf491ea(0x11f)][_0xf491ea(0x192)](_0x502afa,_0x35a3b9));});});const _0x2d6c82=this[_0x245cc8(0x156)]['getUnitData']();await this[_0x245cc8(0x170)](_0x436c41,_0x3a952e,_0x2d6c82),this[_0x245cc8(0x11f)]['openKdTree']();const _0xe35f3=this[_0x245cc8(0x1a8)](),_0x32dbfc=this['_calculateRunList'](_0xe35f3);return this[_0x245cc8(0x190)](_0x32dbfc)&&this[_0x245cc8(0x139)]['enableCycleDependency'](),this[_0x245cc8(0x136)][_0x245cc8(0x110)](),this['_dependencyRTreeCacheForAddressFunction'][_0x245cc8(0x110)](),this['_dependencyManagerService'][_0x245cc8(0x1a3)](),Promise['resolve'](_0x32dbfc);}[_0x42038a(0x13e)](_0x5852f6,_0x335546){const _0x48b38a=_0x42038a,_0x5c39fa=[_0x5852f6];for(;_0x5c39fa[_0x48b38a(0x19c)]>0x0;){const _0x2f194f=_0x5c39fa[_0x5c39fa['length']-0x1];if((_0x335546[_0x48b38a(0x181)](_0x2f194f)||0x0)===0x0){_0x335546[_0x48b38a(0x169)](_0x2f194f,0x1);const _0x18ee98=this['_dependencyTreeCache'][_0x48b38a(0x181)](_0x2f194f);if(_0x18ee98==null){_0x335546[_0x48b38a(0x169)](_0x2f194f,0x2),_0x5c39fa[_0x48b38a(0x138)]();continue;}const _0x2cf65f=this[_0x48b38a(0x11f)][_0x48b38a(0x168)](_0x18ee98[_0x48b38a(0x15a)]());for(const _0x47d83d of _0x2cf65f){const _0x38092b=_0x335546[_0x48b38a(0x181)](_0x47d83d)||0x0;if(_0x38092b===0x1)return!0x0;_0x38092b===0x0&&_0x5c39fa['push'](_0x47d83d);}}else _0x335546['set'](_0x2f194f,0x2),_0x5c39fa[_0x48b38a(0x138)]();}return!0x1;}[_0x42038a(0x190)](_0x25a5c2){const _0x36c7cc=_0x42038a,_0x4cc9d4=new Map();for(const _0x5af382 of _0x25a5c2)if(!_0x4cc9d4[_0x36c7cc(0x15c)](_0x5af382[_0x36c7cc(0x16b)])&&this['_isCyclicUtilMap'](_0x5af382['treeId'],_0x4cc9d4))return!0x0;return _0x4cc9d4[_0x36c7cc(0x110)](),!0x1;}['_getFeatureFormulaTree'](_0x4ad1ec,_0x6ce903,_0x1ee9bb){const _0x2f31bf=_0x42038a,{unitId:_0x133def,subUnitId:_0x5b87ff,dependencyRanges:_0x2702df,getDirtyData:_0x377aff}=_0x1ee9bb,_0xa5d8a4=_0x6ce903||_0xc2fbf2[_0x2f31bf(0x1a9)](this[_0x2f31bf(0x11f)]),_0x24eff8=new _0xc2fbf2[(_0x2f31bf(0x1ad))](_0xa5d8a4);_0x24eff8[_0x2f31bf(0x145)]=_0x133def,_0x24eff8[_0x2f31bf(0x1cb)]=_0x5b87ff,_0x24eff8[_0x2f31bf(0x133)]=_0x2702df,_0x24eff8[_0x2f31bf(0x12d)]=_0x377aff;const _0x3245b6=_0x377aff(this[_0x2f31bf(0x156)]['getDirtyData'](),this[_0x2f31bf(0x139)][_0x2f31bf(0x147)]()),_0xb17577=this[_0x2f31bf(0x111)](_0x3245b6['dirtyRanges']);return _0x24eff8[_0x2f31bf(0x15d)]=_0xb17577,_0x24eff8[_0x2f31bf(0x117)]=_0x4ad1ec,_0x24eff8[_0x2f31bf(0x1a4)]=_0xc2fbf2[_0x2f31bf(0x146)]['FEATURE_FORMULA'],this[_0x2f31bf(0x11f)][_0x2f31bf(0x11a)](_0x133def,_0x5b87ff,_0x4ad1ec,_0x24eff8),this[_0x2f31bf(0x136)][_0x2f31bf(0x169)](_0x24eff8[_0x2f31bf(0x16b)],_0x24eff8),this[_0x2f31bf(0x11f)][_0x2f31bf(0x13d)](_0x1ee9bb[_0x2f31bf(0x145)],_0x1ee9bb[_0x2f31bf(0x1cb)],_0x4ad1ec)&&(_0x24eff8[_0x2f31bf(0x122)]=!0x0),_0x24eff8;}[_0x42038a(0x194)](_0xb65b4,_0x28f392,_0x46e04b){const _0x1b6bae=_0x42038a;var _0x1f4707;for(const _0x296214 of _0x28f392){const _0x16082e=_0xb65b4[_0x296214];if(_0x16082e==null)continue;const _0x5ebdbd=Object['keys'](_0x16082e);for(const _0x229936 of _0x5ebdbd){const _0xe4c87f=_0x16082e[_0x229936];if(_0xe4c87f==null)continue;const _0x2e9072=Object[_0x1b6bae(0x1c4)](_0xe4c87f);for(const _0x161969 of _0x2e9072){const _0x20ed6c=this[_0x1b6bae(0x11f)][_0x1b6bae(0x134)](_0x161969),_0x4ac9f3=_0xe4c87f[_0x161969],{f:_0x55cc19,ranges:_0x3cff0b}=_0x4ac9f3;let _0xcef24e=!0x1;_0x20ed6c&&(_0xcef24e=!0x0);const {firstRow:_0x1ee4cd,firstColumn:_0x21b39e}=this[_0x1b6bae(0x123)](_0x3cff0b),_0x46581a=this[_0x1b6bae(0x11f)][_0x1b6bae(0x1a6)](_0x296214,_0x229936,_0x161969),_0x26ad64=(_0x1f4707=_0x46581a==null?void 0x0:_0x46581a[_0x1b6bae(0x11d)](0x0,0x0))!=null?_0x1f4707:_0xc2fbf2[_0x1b6bae(0x1a9)](this[_0x1b6bae(0x11f)]),_0x38e72b=new _0xc2fbf2[(_0x1b6bae(0x1ad))](_0x26ad64);for(let _0x36e9e1=0x0;_0x36e9e1<_0x3cff0b[_0x1b6bae(0x19c)];_0x36e9e1++){const _0x248aa6=_0x3cff0b[_0x36e9e1],{startRow:_0x173be3,startColumn:_0x15f239,endRow:_0x9c92a8,endColumn:_0x123e41}=_0x248aa6;for(let _0x4c2a68=_0x173be3;_0x4c2a68<=_0x9c92a8;_0x4c2a68++)for(let _0x33a91e=_0x15f239;_0x33a91e<=_0x123e41;_0x33a91e++){const _0x2004c8=_0x33a91e-_0x21b39e,_0x33d094=_0x4c2a68-_0x1ee4cd;if(_0x2004c8===0x0&&_0x33d094===0x0){_0x38e72b[_0x1b6bae(0x135)]=_0x55cc19,_0x38e72b[_0x1b6bae(0x145)]=_0x296214,_0x38e72b['subUnitId']=_0x229936,_0x38e72b[_0x1b6bae(0x11e)]=_0x161969,_0x38e72b[_0x1b6bae(0x1a4)]=_0xc2fbf2[_0x1b6bae(0x146)][_0x1b6bae(0x10d)],_0x38e72b[_0x1b6bae(0x122)]=_0xcef24e,_0x46e04b[_0x1b6bae(0x15f)](_0x38e72b),this[_0x1b6bae(0x136)][_0x1b6bae(0x169)](_0x38e72b['treeId'],_0x38e72b),this[_0x1b6bae(0x11f)][_0x1b6bae(0x1a0)](_0x296214,_0x229936,_0x161969,_0x38e72b),this[_0x1b6bae(0x11f)][_0x1b6bae(0x18c)](_0x38e72b);continue;}const _0x414686=new _0xc2fbf2['FormulaDependencyTreeVirtual']();_0x414686['treeId']=(_0x46581a==null?void 0x0:_0x46581a[_0x1b6bae(0x11d)](_0x2004c8,_0x33d094))||_0xc2fbf2['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x414686[_0x1b6bae(0x18d)]=_0x38e72b,_0x414686['refOffsetX']=_0x2004c8,_0x414686[_0x1b6bae(0x1b6)]=_0x33d094,_0x414686[_0x1b6bae(0x122)]=_0xcef24e,this[_0x1b6bae(0x11f)][_0x1b6bae(0x1a0)](_0x296214,_0x229936,_0x161969,_0x414686),this[_0x1b6bae(0x11f)][_0x1b6bae(0x18c)](_0x414686),_0x46e04b[_0x1b6bae(0x15f)](_0x414686),this[_0x1b6bae(0x136)]['set'](_0x414686[_0x1b6bae(0x16b)],_0x414686);}}this[_0x1b6bae(0x11f)][_0x1b6bae(0x162)](_0x161969);}}}}[_0x42038a(0x12a)](_0x157f4d,_0x2cce58,_0x1b0d7a,_0x25bf20){const _0x129cd0=_0x42038a;for(const _0x937109 of _0x157f4d){const _0x4d2bbb=_0x2cce58[_0x937109];if(_0x4d2bbb==null)continue;const _0x18da82=Object[_0x129cd0(0x1c4)](_0x4d2bbb);for(const _0x24f529 of _0x18da82){const _0x3492cf=new _0x3568cc[(_0x129cd0(0x127))](_0x4d2bbb[_0x24f529]||{}),_0x259794=new Map();_0x3492cf['forValue']((_0x29f724,_0x28458c,_0x58013d)=>{const _0xc32513=_0x129cd0;if(_0x58013d==null)return!0x0;const {x:_0x47a82f=0x0,y:_0x59c0cf=0x0,si:_0x4e56e6}=_0x58013d;if(!(_0x47a82f===0x0&&_0x59c0cf===0x0&&_0x4e56e6!=null))return!0x0;const _0x513be2=this['_createFDtree'](_0x937109,_0x24f529,_0x29f724,_0x28458c,_0x1b0d7a,_0x58013d),_0x8c4aac=this[_0xc32513(0x11f)][_0xc32513(0x17f)](_0x937109,_0x24f529,_0x29f724,_0x28458c);_0x8c4aac!=null?_0x513be2['treeId']=_0x8c4aac:(this[_0xc32513(0x11f)]['addFormulaDependency'](_0x937109,_0x24f529,_0x29f724,_0x28458c,_0x513be2),this[_0xc32513(0x11f)]['addFormulaDependencyByDefinedName'](_0x513be2)),_0x259794[_0xc32513(0x169)](_0x4e56e6,_0x513be2),_0x25bf20[_0xc32513(0x15f)](_0x513be2),this[_0xc32513(0x136)]['set'](_0x513be2[_0xc32513(0x16b)],_0x513be2);}),_0x3492cf['forValue']((_0x504a79,_0x43156b,_0x17f16b)=>{const _0x40cfbd=_0x129cd0;if(_0x17f16b==null)return!0x0;const {x:_0x4f2db2=0x0,y:_0x535475=0x0,si:_0x3ef23f}=_0x17f16b;if(_0x4f2db2===0x0&&_0x535475===0x0&&_0x3ef23f!=null)return!0x0;let _0x1286be;if(_0x3ef23f&&_0x259794['has'](_0x3ef23f)){const _0x2f1847=_0x259794['get'](_0x3ef23f);_0x1286be=this[_0x40cfbd(0x165)](_0x2f1847,_0x17f16b);}else _0x1286be=this[_0x40cfbd(0x1c6)](_0x937109,_0x24f529,_0x504a79,_0x43156b,_0x1b0d7a,_0x17f16b);const _0x2f6253=this[_0x40cfbd(0x11f)][_0x40cfbd(0x17f)](_0x937109,_0x24f529,_0x504a79,_0x43156b);_0x2f6253!=null?_0x1286be[_0x40cfbd(0x16b)]=_0x2f6253:(this[_0x40cfbd(0x11f)]['addFormulaDependency'](_0x937109,_0x24f529,_0x504a79,_0x43156b,_0x1286be),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1286be)),_0x25bf20[_0x40cfbd(0x15f)](_0x1286be),this['_dependencyTreeCache'][_0x40cfbd(0x169)](_0x1286be['treeId'],_0x1286be);}),_0x259794[_0x129cd0(0x110)]();}}}[_0x42038a(0x1c6)](_0x25ed8b,_0x3fbe6d,_0x14850b,_0x19fd8e,_0x109a9a,_0x7d1d55){const _0x381f22=_0x42038a,{f:_0x56bd9c,x:_0x3a7cd3=0x0,y:_0x9e4034=0x0}=_0x7d1d55,_0x503df5=new _0xc2fbf2[(_0x381f22(0x1ad))](_0xc2fbf2[_0x381f22(0x1a9)](this['_dependencyManagerService'])),_0x100880=_0x109a9a[_0x25ed8b][_0x3fbe6d];return _0x503df5[_0x381f22(0x135)]=_0x56bd9c,_0x503df5[_0x381f22(0x145)]=_0x25ed8b,_0x503df5['subUnitId']=_0x3fbe6d,_0x503df5[_0x381f22(0x1b7)]=_0x14850b,_0x503df5[_0x381f22(0x1c5)]=_0x19fd8e,_0x503df5[_0x381f22(0x1b4)]=_0x100880[_0x381f22(0x1b4)],_0x503df5[_0x381f22(0x193)]=_0x100880['columnCount'],_0x503df5;}[_0x42038a(0x1a8)](){const _0x32688e=_0x42038a,_0x1d9617=[],_0xe15ea7=new Set(),_0x3d39b8=this[_0x32688e(0x156)][_0x32688e(0x174)](),_0x1e7765=this[_0x32688e(0x156)][_0x32688e(0x125)](),_0x456459=this[_0x32688e(0x11f)][_0x32688e(0x168)](_0x1e7765),_0x4849e6=this[_0x32688e(0x10c)]['bulkSearch'](_0x1e7765);for(const _0x2fff5e of _0x4849e6)_0x456459[_0x32688e(0x114)](_0x2fff5e);for(const [_0x508157,_0x1d862b]of this[_0x32688e(0x136)])(_0x3d39b8||_0x1d862b[_0x32688e(0x19d)]||_0x1d862b[_0x32688e(0x151)](this[_0x32688e(0x156)][_0x32688e(0x119)]())||_0x456459['has'](_0x508157)&&!_0x1d862b['isExcludeRange'](this['_currentConfigService'][_0x32688e(0x13a)]()))&&!_0xe15ea7['has'](_0x508157)&&(_0x1d9617[_0x32688e(0x15f)](_0x1d862b),_0xe15ea7[_0x32688e(0x114)](_0x508157));for(const [_0x2a9b45,_0x55fbd4]of this[_0x32688e(0x136)])_0x55fbd4[_0x32688e(0x161)]||(_0x55fbd4[_0x32688e(0x133)][_0x32688e(0x19c)]=0x0);return _0x1d9617;}['_getTreeById'](_0x528084){const _0x26ec42=_0x42038a;return this['_dependencyTreeCache'][_0x26ec42(0x181)](_0x528084);}[_0x42038a(0x14c)](_0xc02b1c){const _0x19fe0c=_0x42038a;return _0xc2fbf2[_0x19fe0c(0x182)](_0xc02b1c[_0x19fe0c(0x145)],_0xc02b1c[_0x19fe0c(0x135)],this[_0x19fe0c(0x178)],this[_0x19fe0c(0x126)],this[_0x19fe0c(0x156)]);}*[_0x42038a(0x1bf)](_0x2304c5,_0x2ef1b8){const _0x544352=_0x42038a,_0x2f6783=_0x2304c5,_0x38bb33=new Set();for(;_0x2f6783[_0x544352(0x19c)]>0x0;){const _0x4d8e25=_0x2f6783['pop']();if(_0x38bb33[_0x544352(0x110)](),_0x4d8e25===void 0x0||_0x4d8e25[_0x544352(0x14e)]())continue;if(_0x4d8e25['isAdded']()){yield _0x4d8e25,_0x4d8e25[_0x544352(0x17b)](),_0x2ef1b8['add'](_0x4d8e25[_0x544352(0x16b)]);continue;}const _0x66e3b7=this[_0x544352(0x11f)][_0x544352(0x168)](_0x4d8e25[_0x544352(0x15a)](),_0x2ef1b8),_0x4db5ae=this['_dependencyRTreeCacheForAddressFunction'][_0x544352(0x143)](_0x4d8e25[_0x544352(0x15a)](),_0x2ef1b8);for(const _0x193997 of _0x4db5ae)_0x66e3b7[_0x544352(0x114)](_0x193997);for(const _0x5a9f7c of _0x66e3b7){const _0x16902b=this['_dependencyTreeCache']['get'](_0x5a9f7c);if(!_0x16902b)throw new Error(_0x544352(0x149));_0x16902b[_0x544352(0x17e)]()||_0x4d8e25[_0x544352(0x14e)]()||_0x38bb33['add'](_0x16902b);}if(_0x66e3b7[_0x544352(0x110)](),_0x38bb33[_0x544352(0x1bd)]===0x0)yield _0x4d8e25,_0x4d8e25[_0x544352(0x17b)](),_0x2ef1b8[_0x544352(0x114)](_0x4d8e25[_0x544352(0x16b)]);else{_0x4d8e25[_0x544352(0x1b9)](),_0x2f6783[_0x544352(0x15f)](_0x4d8e25);for(const _0xdc1164 of _0x38bb33)_0x2f6783[_0x544352(0x15f)](_0xdc1164);}}_0x2f6783[_0x544352(0x19c)]=0x0,_0x38bb33['clear']();}[_0x42038a(0x153)](_0x3c5567){const _0x3b9d06=_0x42038a,_0x1551a8=[],_0xe851db=new Set();for(const _0x1f2305 of this[_0x3b9d06(0x1bf)](_0x3c5567,_0xe851db))_0x1551a8[_0x3b9d06(0x15f)](_0x1f2305);return _0x1551a8;}}class _0x1fa41e extends _0xc2fbf2[_0x42038a(0x1ab)]{async[_0x42038a(0x18b)](_0x2312b7=!0x1){const _0x360cda=_0x42038a;_0x2312b7?this['_runtimeService'][_0x360cda(0x158)](_0xc2fbf2[_0x360cda(0x1b0)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x360cda(0x139)][_0x360cda(0x158)](_0xc2fbf2['FormulaExecuteStageType'][_0x360cda(0x1af)]),this['_executionInProgressListener$'][_0x360cda(0x180)](this[_0x360cda(0x139)][_0x360cda(0x197)]());const _0x2a7bbd=await this[_0x360cda(0x17d)][_0x360cda(0x116)](),_0x47db13=this[_0x360cda(0x1ac)];_0x2312b7?(this['_runtimeService'][_0x360cda(0x158)](_0xc2fbf2['FormulaExecuteStageType'][_0x360cda(0x175)]),this[_0x360cda(0x139)][_0x360cda(0x11c)](_0x2a7bbd[_0x360cda(0x19c)])):(this[_0x360cda(0x139)][_0x360cda(0x158)](_0xc2fbf2[_0x360cda(0x1b0)]['START_CALCULATION']),this[_0x360cda(0x139)][_0x360cda(0x1b3)](_0x2a7bbd[_0x360cda(0x19c)])),this[_0x360cda(0x128)][_0x360cda(0x180)](this['_runtimeService'][_0x360cda(0x197)]());let _0xdd505d=[];const _0x302492=this['_configService'][_0x360cda(0x1a7)](_0xc2fbf2[_0x360cda(0x1b8)]),_0x67a1c0=(_0x302492==null?void 0x0:_0x302492['intervalCount'])||_0xc2fbf2[_0x360cda(0x1ae)];let _0x4a9bac=0x0;const _0x494375=_0x2a7bbd[_0x360cda(0x19c)];for(;_0x2a7bbd[_0x360cda(0x19c)]>0x0;){const _0x7ee38e=_0x2a7bbd[_0x360cda(0x138)](),_0x13b6a9={'node':_0xc2fbf2[_0x360cda(0x182)](_0x7ee38e[_0x360cda(0x145)],_0x7ee38e[_0x360cda(0x135)],this[_0x360cda(0x178)],this[_0x360cda(0x126)],this[_0x360cda(0x156)]),'refOffsetX':_0x7ee38e[_0x360cda(0x17c)],'refOffsetY':_0x7ee38e[_0x360cda(0x1b6)]},_0x3fe67f=_0x7ee38e[_0x360cda(0x12d)];if(_0x4a9bac%_0x67a1c0===0x0&&(await new Promise(_0x295b4f=>{const _0x36f8a3=_0x360cda,_0x56c4aa=_0x3568cc[_0x36f8a3(0x189)](_0x295b4f);_0xdd505d[_0x36f8a3(0x15f)](_0x56c4aa);}),_0x2312b7?(this[_0x360cda(0x139)][_0x360cda(0x158)](_0xc2fbf2[_0x360cda(0x1b0)][_0x360cda(0x10e)]),this[_0x360cda(0x139)]['setCompletedArrayFormulasCount'](_0x4a9bac+0x1)):(this[_0x360cda(0x139)][_0x360cda(0x158)](_0xc2fbf2[_0x360cda(0x1b0)][_0x360cda(0x1a2)]),this[_0x360cda(0x139)][_0x360cda(0x173)](_0x4a9bac+0x1)),this[_0x360cda(0x128)]['next'](this[_0x360cda(0x139)][_0x360cda(0x197)]()),this['_runtimeService'][_0x360cda(0x179)]()||_0x13b6a9==null&&_0x3fe67f==null)){this[_0x360cda(0x139)]['setFormulaExecuteStage'](_0xc2fbf2['FormulaExecuteStageType'][_0x360cda(0x183)]),this[_0x360cda(0x139)][_0x360cda(0x186)](),this['_executionCompleteListener$'][_0x360cda(0x180)](this['_runtimeService'][_0x360cda(0x147)]());return;}this[_0x360cda(0x139)][_0x360cda(0x195)](_0x7ee38e[_0x360cda(0x1b7)],_0x7ee38e['column'],_0x7ee38e['rowCount'],_0x7ee38e[_0x360cda(0x193)],_0x7ee38e['subUnitId'],_0x7ee38e[_0x360cda(0x145)]);let _0x3cfd10;if(_0x3fe67f!=null&&_0x7ee38e[_0x360cda(0x117)]!=null){const {runtimeCellData:_0x1612ae,dirtyRanges:_0x4176f3}=_0x3fe67f(this[_0x360cda(0x156)]['getDirtyData'](),this[_0x360cda(0x139)][_0x360cda(0x147)]());this[_0x360cda(0x139)][_0x360cda(0x16d)](_0x7ee38e['featureId'],_0x1612ae),this[_0x360cda(0x139)]['setRuntimeFeatureRange'](_0x7ee38e[_0x360cda(0x117)],_0x4176f3);}else _0x13b6a9!=null&&(_0x47db13['checkAsyncNode'](_0x13b6a9['node'])?_0x3cfd10=await _0x47db13[_0x360cda(0x198)](_0x13b6a9):_0x3cfd10=_0x47db13[_0x360cda(0x1c8)](_0x13b6a9),_0x7ee38e[_0x360cda(0x11e)]!=null?this[_0x360cda(0x139)][_0x360cda(0x132)](_0x7ee38e[_0x360cda(0x11e)],_0x7ee38e[_0x360cda(0x17c)],_0x7ee38e['refOffsetY'],_0x3cfd10):this[_0x360cda(0x139)]['setRuntimeData'](_0x3cfd10));_0x4a9bac++;}return _0xdd505d[_0x360cda(0x1ba)](_0x5d5d66=>_0x5d5d66()),_0xdd505d=[],_0x494375>0x0?this['_runtimeService'][_0x360cda(0x19e)]():_0x2312b7||this['_runtimeService'][_0x360cda(0x113)](),this[_0x360cda(0x139)][_0x360cda(0x147)]();}}class _0x59530f extends _0xc2fbf2[_0x42038a(0x12e)]{constructor(){const _0x4dea35=_0x42038a;super(...arguments),_0x28dbef(this,_0x4dea35(0x1be),new Map()),_0x28dbef(this,_0x4dea35(0x15e),new _0x3568cc[(_0x4dea35(0x1c9))](!0x0));}[_0x42038a(0x1a5)](){const _0x3e9654=_0x42038a;this['_otherFormulaData'][_0x3e9654(0x110)](),this[_0x3e9654(0x11b)][_0x3e9654(0x110)](),this[_0x3e9654(0x154)]['clear'](),this[_0x3e9654(0x15e)][_0x3e9654(0x110)](),this[_0x3e9654(0x1be)][_0x3e9654(0x110)](),this[_0x3e9654(0x176)](),this[_0x3e9654(0x1b5)]['clear']();}['addOtherFormulaDependency'](_0x1e3928,_0x2d3b95,_0x1832c0,_0x12a10e){const _0x345d62=_0x42038a;this[_0x345d62(0x1bc)][_0x345d62(0x15c)](_0x1e3928)||this[_0x345d62(0x1bc)]['set'](_0x1e3928,new Map());const _0x56a46a=this[_0x345d62(0x1bc)][_0x345d62(0x181)](_0x1e3928);_0x56a46a[_0x345d62(0x15c)](_0x2d3b95)||_0x56a46a[_0x345d62(0x169)](_0x2d3b95,new Map());const _0x4051d3=_0x56a46a[_0x345d62(0x181)](_0x2d3b95);_0x4051d3[_0x345d62(0x15c)](_0x1832c0)||_0x4051d3[_0x345d62(0x169)](_0x1832c0,new _0x3568cc['ObjectMatrix']()),_0x4051d3[_0x345d62(0x181)](_0x1832c0)[_0x345d62(0x199)](_0x12a10e[_0x345d62(0x17c)],_0x12a10e[_0x345d62(0x1b6)],_0x12a10e[_0x345d62(0x16b)]);}['removeOtherFormulaDependency'](_0x4df94f,_0x156fad,_0xd9fb4b){const _0x91ca19=_0x42038a,_0x3131dc=this['_otherFormulaData'][_0x91ca19(0x181)](_0x4df94f);if(_0x3131dc&&_0x3131dc[_0x91ca19(0x15c)](_0x156fad)){const _0x253018=_0x3131dc[_0x91ca19(0x181)](_0x156fad);_0xd9fb4b[_0x91ca19(0x1ba)](_0x3c8153=>{const _0x18b568=_0x91ca19,_0x4f57af=_0x253018['get'](_0x3c8153);_0x4f57af!=null&&(_0x4f57af['forValue']((_0x5b7737,_0x5abdd2,_0x48a80c)=>{const _0x226252=_0x3763;this[_0x226252(0x120)](_0x48a80c),this[_0x226252(0x121)](_0x48a80c);}),_0x253018[_0x18b568(0x137)](_0x3c8153),this[_0x18b568(0x1b5)][_0x18b568(0x137)](_0x3c8153));}),_0x253018[_0x91ca19(0x1bd)]===0x0&&_0x3131dc[_0x91ca19(0x137)](_0x156fad),_0x3131dc['size']===0x0&&this[_0x91ca19(0x1bc)][_0x91ca19(0x137)](_0x4df94f);}}[_0x42038a(0x14a)](_0x1e5133,_0x44ece0){const _0x344be0=_0x42038a,_0x1ac11a=this['_otherFormulaData'][_0x344be0(0x181)](_0x1e5133);if(_0x44ece0&&_0x1ac11a&&_0x1ac11a[_0x344be0(0x15c)](_0x44ece0)){const _0xa06447=_0x1ac11a[_0x344be0(0x181)](_0x44ece0);this[_0x344be0(0x18f)](_0x1e5133,_0x44ece0);for(const _0x5571b4 of _0xa06447[_0x344be0(0x1c4)]()){const _0x2806a4=_0xa06447[_0x344be0(0x181)](_0x5571b4);_0x2806a4!=null&&(_0x2806a4[_0x344be0(0x19f)]((_0xce7032,_0x57c9b5,_0x2240a5)=>{const _0x3cab95=_0x344be0;this[_0x3cab95(0x1be)][_0x3cab95(0x181)](_0x2240a5)&&this[_0x3cab95(0x121)](_0x2240a5);}),this[_0x344be0(0x1b5)][_0x344be0(0x137)](_0x5571b4));}_0xa06447['clear']();}else{if(_0x1ac11a){for(const _0x14b5fa of _0x1ac11a['keys']()){const _0x55bd12=_0x1ac11a[_0x344be0(0x181)](_0x14b5fa);this[_0x344be0(0x18f)](_0x1e5133,_0x14b5fa);for(const _0x283e50 of _0x55bd12[_0x344be0(0x1c4)]()){const _0x4eb7b4=_0x55bd12[_0x344be0(0x181)](_0x283e50);_0x4eb7b4!=null&&(_0x4eb7b4[_0x344be0(0x19f)]((_0x38f6de,_0x5d3ffa,_0x36c43a)=>{const _0x15f1c6=_0x344be0;this[_0x15f1c6(0x1be)][_0x15f1c6(0x181)](_0x36c43a)&&this[_0x15f1c6(0x121)](_0x36c43a);}),this[_0x344be0(0x1b5)][_0x344be0(0x137)](_0x283e50));}}this[_0x344be0(0x1bc)][_0x344be0(0x137)](_0x1e5133);}}}[_0x42038a(0x11a)](_0x3e6a05,_0xfe555,_0x104f59,_0x34fc50){const _0x1c074d=_0x42038a;this['_featureFormulaData'][_0x1c074d(0x15c)](_0x3e6a05)||this['_featureFormulaData'][_0x1c074d(0x169)](_0x3e6a05,new Map());const _0x2bf9cd=this['_featureFormulaData']['get'](_0x3e6a05);_0x2bf9cd[_0x1c074d(0x15c)](_0xfe555)||_0x2bf9cd['set'](_0xfe555,new Map()),_0x2bf9cd[_0x1c074d(0x181)](_0xfe555)[_0x1c074d(0x169)](_0x104f59,_0x34fc50['treeId']);}[_0x42038a(0x184)](_0x3e2f33,_0x4ce661,_0x1fa435){const _0x2ba235=_0x42038a,_0x2947a9=this[_0x2ba235(0x11b)][_0x2ba235(0x181)](_0x3e2f33);if(_0x2947a9&&_0x2947a9[_0x2ba235(0x15c)](_0x4ce661)){const _0x4315d8=_0x2947a9[_0x2ba235(0x181)](_0x4ce661);_0x1fa435[_0x2ba235(0x1ba)](_0x7034b0=>{const _0x4efb96=_0x2ba235,_0x4f6ece=_0x4315d8['get'](_0x7034b0);_0x4f6ece!=null&&(this[_0x4efb96(0x120)](_0x4f6ece),_0x4315d8[_0x4efb96(0x137)](_0x7034b0),this[_0x4efb96(0x121)](_0x4f6ece));});}}[_0x42038a(0x16a)](_0xbf10a3,_0xa10eb2){const _0x3b85e2=_0x42038a,_0x1fd3d5=this[_0x3b85e2(0x11b)][_0x3b85e2(0x181)](_0xbf10a3);if(_0xa10eb2&&_0x1fd3d5&&_0x1fd3d5['has'](_0xa10eb2)){const _0x400fc7=_0x1fd3d5[_0x3b85e2(0x181)](_0xa10eb2);this['_removeDependencyRTreeCacheById'](_0xbf10a3,_0xa10eb2),_0x400fc7[_0x3b85e2(0x1ba)](_0x375951=>{const _0x389f85=_0x3b85e2;_0x375951!=null&&this[_0x389f85(0x121)](_0x375951);}),_0x400fc7[_0x3b85e2(0x110)]();}else _0x1fd3d5&&(_0x1fd3d5[_0x3b85e2(0x1ba)]((_0x2cf034,_0x345c29)=>{const _0x9bee1d=_0x3b85e2;this[_0x9bee1d(0x18f)](_0xbf10a3,_0x345c29),_0x2cf034['forEach'](_0x52a580=>{const _0x206d5d=_0x9bee1d;_0x52a580!=null&&this[_0x206d5d(0x121)](_0x52a580);});}),this[_0x3b85e2(0x11b)]['delete'](_0xbf10a3));}['addFormulaDependency'](_0x8ad8c6,_0x589d9b,_0x1ef9dd,_0x31a15f,_0x294565){const _0x30b959=_0x42038a;this[_0x30b959(0x154)][_0x30b959(0x15c)](_0x8ad8c6)||this[_0x30b959(0x154)][_0x30b959(0x169)](_0x8ad8c6,new Map());const _0xb9940f=this[_0x30b959(0x154)]['get'](_0x8ad8c6);_0xb9940f[_0x30b959(0x15c)](_0x589d9b)||_0xb9940f['set'](_0x589d9b,new _0x3568cc[(_0x30b959(0x127))]()),_0xb9940f['get'](_0x589d9b)[_0x30b959(0x199)](_0x1ef9dd,_0x31a15f,_0x294565[_0x30b959(0x16b)]);}[_0x42038a(0x131)](_0x157a89,_0x8a898b,_0x47dbce,_0x33c71){const _0x250e9d=_0x42038a,_0x42d2cb=this[_0x250e9d(0x154)][_0x250e9d(0x181)](_0x157a89);if(_0x42d2cb&&_0x42d2cb[_0x250e9d(0x15c)](_0x8a898b)){const _0x3f75d8=_0x42d2cb[_0x250e9d(0x181)](_0x8a898b),_0x54fbfa=_0x3f75d8[_0x250e9d(0x11d)](_0x47dbce,_0x33c71);if(_0x54fbfa==null)return;this[_0x250e9d(0x120)](_0x54fbfa),_0x3f75d8[_0x250e9d(0x144)](_0x47dbce,_0x33c71),this[_0x250e9d(0x121)](_0x54fbfa);}}[_0x42038a(0x192)](_0x353b2b,_0x262853){const _0xa0f02e=_0x42038a,_0x399d12=this[_0xa0f02e(0x154)][_0xa0f02e(0x181)](_0x353b2b);if(_0x262853&&_0x399d12&&_0x399d12[_0xa0f02e(0x15c)](_0x262853)){const _0x59877a=_0x399d12[_0xa0f02e(0x181)](_0x262853);this[_0xa0f02e(0x18f)](_0x353b2b,_0x262853),_0x59877a['forValue']((_0x2ee185,_0xf6bad8,_0x11a177)=>{if(_0x11a177==null)return!0x0;this['_removeAllTreeMap'](_0x11a177);}),_0x59877a[_0xa0f02e(0x1a5)]();}else _0x399d12&&(_0x399d12[_0xa0f02e(0x1ba)]((_0x5d8df0,_0x403527)=>{const _0x1124ac=_0xa0f02e;this[_0x1124ac(0x18f)](_0x353b2b,_0x403527),_0x5d8df0[_0x1124ac(0x19f)]((_0x4544c1,_0x7c2b08,_0x53d2a7)=>{if(_0x53d2a7==null)return!0x0;this['_removeAllTreeMap'](_0x53d2a7);});}),this['_formulaData'][_0xa0f02e(0x137)](_0x353b2b));}[_0x42038a(0x120)](_0x23f0c3){const _0x49fbeb=_0x42038a;if(_0x23f0c3==null)return;const _0x21a829=this['_allTreeMap'][_0x49fbeb(0x181)](_0x23f0c3);if(_0x21a829){const _0x330513=[];for(const [_0x2698fb,_0x36d3b8]of _0x21a829)for(const [_0x2300ce,_0x12ea41]of _0x36d3b8)_0x330513[_0x49fbeb(0x15f)]({'unitId':_0x2698fb,'sheetId':_0x2300ce,'range':_0x12ea41,'id':_0x23f0c3});this[_0x49fbeb(0x15e)][_0x49fbeb(0x1c7)](_0x330513);}}['removeFormulaDependencyByDefinedName'](_0x52d426,_0x4c6c5c){const _0x146cc1=_0x42038a,_0x22f293=this[_0x146cc1(0x16f)][_0x146cc1(0x181)](_0x52d426);if(_0x22f293){const _0x12f0ad=_0x22f293[_0x146cc1(0x181)](_0x4c6c5c);if(_0x12f0ad){for(const _0x4d786b of _0x12f0ad)this[_0x146cc1(0x120)](_0x4d786b),this[_0x146cc1(0x121)](_0x4d786b);_0x12f0ad['clear']();}}}[_0x42038a(0x18e)](){const _0x310e53=_0x42038a;this[_0x310e53(0x15e)][_0x310e53(0x18e)]();}[_0x42038a(0x1a3)](){const _0x3293fa=_0x42038a;this['_dependencyRTreeCache'][_0x3293fa(0x1a3)]();}[_0x42038a(0x121)](_0xfb577c){const _0x3f502a=_0x42038a;_0xfb577c!=null&&this[_0x3f502a(0x1be)][_0x3f502a(0x137)](_0xfb577c);}[_0x42038a(0x1bb)](_0x536fdd){const _0xeb91e3=_0x42038a;var _0x3a9191,_0x540d22;const _0x1b6a71=_0x536fdd[_0xeb91e3(0x133)];let _0x1a7d5d=this[_0xeb91e3(0x1be)]['get'](_0x536fdd[_0xeb91e3(0x16b)]);for(let _0x27079d=0x0;_0x27079d<_0x1b6a71[_0xeb91e3(0x19c)];_0x27079d++){const _0x1ba12f=_0x1b6a71[_0x27079d];let {unitId:_0x4c545c,sheetId:_0xca3025,range:_0x4e772f}=_0x1ba12f;_0x1a7d5d||(_0x1a7d5d=new Map(),this[_0xeb91e3(0x1be)][_0xeb91e3(0x169)](_0x536fdd[_0xeb91e3(0x16b)],_0x1a7d5d)),_0x1a7d5d[_0xeb91e3(0x15c)](_0x4c545c)||_0x1a7d5d[_0xeb91e3(0x169)](_0x4c545c,new Map());const _0x420a40=(_0x3a9191=_0x1a7d5d==null?void 0x0:_0x1a7d5d[_0xeb91e3(0x181)](_0x4c545c))==null?void 0x0:_0x3a9191[_0xeb91e3(0x181)](_0xca3025);_0x420a40&&(_0x4e772f={'startRow':Math['min'](_0x4e772f['startRow'],_0x420a40[_0xeb91e3(0x19b)]),'startColumn':Math[_0xeb91e3(0x12b)](_0x4e772f[_0xeb91e3(0x196)],_0x420a40[_0xeb91e3(0x196)]),'endRow':Math['max'](_0x4e772f[_0xeb91e3(0x1ca)],_0x420a40[_0xeb91e3(0x1ca)]),'endColumn':Math['max'](_0x4e772f[_0xeb91e3(0x13b)],_0x420a40[_0xeb91e3(0x13b)])}),(_0x540d22=_0x1a7d5d['get'](_0x4c545c))==null||_0x540d22['set'](_0xca3025,_0x4e772f);}}}var _0xbc912b=Object[_0x42038a(0x177)],_0x547d0f=(_0x3be5a2,_0x5874b1,_0x31440f,_0x193668)=>{const _0x266189=_0x42038a;for(var _0x4639ac=_0x193668>0x1?void 0x0:_0x193668?_0xbc912b(_0x5874b1,_0x31440f):_0x5874b1,_0x1d311a=_0x3be5a2[_0x266189(0x19c)]-0x1,_0x4c5488;_0x1d311a>=0x0;_0x1d311a--)(_0x4c5488=_0x3be5a2[_0x1d311a])&&(_0x4639ac=_0x4c5488(_0x4639ac)||_0x4639ac);return _0x4639ac;};const _0x4fccb1=Number['parseInt'](0x689b2b81);_0x20b924['UniverProFormulaEnginePlugin']=class extends _0xc2fbf2[_0x42038a(0x13c)]{['_initializeWithOverride'](){const _0x275f47=_0x42038a;var _0x1fcd7f,_0x49a4be;this[_0x275f47(0x160)]()?(_0x1fcd7f=this['_config'])!=null&&_0x1fcd7f[_0x275f47(0x157)]||[[_0xc2fbf2['ICalculateFormulaService'],{'useClass':_0x1fa41e}],[_0xc2fbf2['IDependencyManagerService'],{'useClass':_0x59530f}],[_0xc2fbf2[_0x275f47(0x118)],{'useClass':_0x159626}]][_0x275f47(0x1ba)](_0x44fa83=>this[_0x275f47(0x16e)][_0x275f47(0x114)](_0x44fa83)):(_0x49a4be=this[_0x275f47(0x1c2)])!=null&&_0x49a4be[_0x275f47(0x157)]||[[_0xc2fbf2[_0x275f47(0x16c)],{'useClass':_0xc2fbf2[_0x275f47(0x1ab)]}],[_0xc2fbf2[_0x275f47(0x112)],{'useClass':_0xc2fbf2[_0x275f47(0x148)]}],[_0xc2fbf2[_0x275f47(0x118)],{'useClass':_0xc2fbf2['FormulaDependencyGenerator']}]][_0x275f47(0x1ba)](_0x353259=>this[_0x275f47(0x16e)]['add'](_0x353259));}[_0x42038a(0x160)](){const _0x78b4a0=_0x42038a;var _0x46a739;const _0x4bef47=(_0x46a739=this[_0x78b4a0(0x12c)]['getConfig'](_0x592589[_0x78b4a0(0x1cc)]))!=null?_0x46a739:{},{ls:_0x57fb64,pbk:_0x80748f}=_0x4bef47;if(!_0x57fb64||!_0x80748f)return!0x1;const _0x2f674c=_0x592589[_0x78b4a0(0x141)](_0x3ab23e,_0x16d707),_0x397985=new Function(_0x78b4a0(0x14b)+_0x2f674c)()(_0x57fb64,_0x80748f),_0xbd02a1=_0x397985['message'];return _0x397985[_0x78b4a0(0x150)]&&_0x592589[_0x78b4a0(0x167)](_0xbd02a1,'sf',_0x4fccb1)?_0x592589[_0x78b4a0(0x15b)](_0xbd02a1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x20b924[_0x42038a(0x185)]=_0x547d0f([_0x3568cc[_0x42038a(0x124)](_0x592589['UniverLicensePlugin'])],_0x20b924['UniverProFormulaEnginePlugin']),Object[_0x42038a(0x1c4)](_0xc2fbf2)[_0x42038a(0x1ba)](_0x26eb46=>{const _0x4436e3=_0x42038a;_0x26eb46!==_0x4436e3(0x10f)&&!Object[_0x4436e3(0x14f)][_0x4436e3(0x14d)][_0x4436e3(0x129)](_0x20b924,_0x26eb46)&&Object[_0x4436e3(0x163)](_0x20b924,_0x26eb46,{'enumerable':!0x0,'get':()=>_0xc2fbf2[_0x26eb46]});}),Object[_0x42038a(0x163)](_0x20b924,Symbol[_0x42038a(0x172)],{'value':_0x42038a(0x164)});}));function _0x3763(_0x1fa238,_0x593bc6){const _0x2fb306=_0x2fb3();return _0x3763=function(_0x3763d5,_0x54b9fd){_0x3763d5=_0x3763d5-0x10c;let _0x1f3312=_0x2fb306[_0x3763d5];return _0x1f3312;},_0x3763(_0x1fa238,_0x593bc6);}function _0x2fb3(){const _0x3d301b=['reset','getOtherFormulaDependency','getConfig','_getUpdateTreeListAndMakeDependency','generateRandomDependencyTreeId','2712135vGhEnu','CalculateFormulaService','_interpreter','FormulaDependencyTree','DEFAULT_INTERVAL_COUNT','START_DEPENDENCY','FormulaExecuteStageType','96IJgMIm','16kKIXOQ','setTotalFormulasToCalculate','rowCount','_otherFormulaDataMainData','refOffsetY','row','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setAdded','forEach','_addAllTreeMap','_otherFormulaData','size','_allTreeMap','_traverse','4030101uKHtMt','exports','_config','@univerjs/engine-formula','keys','column','_createFDtree','bulkRemove','execute','RTree','endRow','subUnitId','LS_CONFIG_KEY','_dependencyRTreeCacheForAddressFunction','OTHER_FORMULA','CURRENTLY_CALCULATING_ARRAY_FORMULA','default','clear','_convertDirtyRangesToUnitRange','IDependencyManagerService','markedAsNoFunctionsExecuted','add','FormulaDependencyGenerator','generate','featureId','IFormulaDependencyGenerator','getDirtyNameMap','addFeatureFormulaDependency','_featureFormulaData','setTotalArrayFormulasToCalculate','getValue','formulaId','_dependencyManagerService','_removeDependencyRTreeCache','_removeAllTreeMap','isCache','_getFirstCellOfRange','DependentOn','getDirtyRanges','_astTreeBuilder','ObjectMatrix','_executionInProgressListener$','call','_registerFormulas','min','_configService','getDirtyData','DependencyManagerBaseService','4GufxTb','@univerjs-pro/license','removeFormulaDependency','setRuntimeOtherData','rangeList','hasOtherFormulaDataMainData','formula','_dependencyTreeCache','delete','pop','_runtimeService','getExcludedRange','endColumn','UniverFormulaEnginePlugin','getFeatureFormulaDependency','_isCyclicUtilMap','UniverCore','3673xpDZlt','unshiftString','38830250EFgLgt','bulkSearch','realDeleteValue','unitId','FormulaDependencyTreeType','getAllRuntimeData','DependencyManagerService','ParentDependencyTree\x20object\x20is\x20null','clearOtherFormulaDependency','return\x20','_getTreeNode','hasOwnProperty','isSkip','prototype','valid','dependencySheetName','dispose','_calculateRunList','_formulaData','object','_currentConfigService','notExecuteFormula','setFormulaExecuteStage','getFormulaData','toRTreeItem','getSheetFeatureLimit','has','featureDirtyRanges','_dependencyRTreeCache','push','_initLicenseValid','isVirtual','addOtherFormulaDependencyMainData','defineProperty','Module','_createVirtualFDtree','4949334xceBuz','isFeatureAuthorizedWithinTime','searchDependency','set','clearFeatureFormulaDependency','treeId','ICalculateFormulaService','setRuntimeFeatureCellData','_injector','_definedNameMap','_generateTreeList','function','toStringTag','setCompletedFormulasCount','isForceCalculate','START_CALCULATION_ARRAY_FORMULA','_restDependencyTreeId','getOwnPropertyDescriptor','_lexer','isStopExecution','getClearDependencyTreeCache','setSkip','refOffsetX','_formulaDependencyGenerator','isAdded','getFormulaDependency','next','get','generateAstNode','IDLE','removeFeatureFormulaDependency','UniverProFormulaEnginePlugin','markedAsStopFunctionsExecuted','UniverProEngineFormula','3512871tJSBZo','requestImmediateMacroTask','symbol','_apply','addFormulaDependencyByDefinedName','refTree','openKdTree','_removeDependencyRTreeCacheById','_checkIsCycleDependency','_updateRangeFlatten','clearFormulaDependency','columnCount','_registerOtherFormulas','setCurrent','startColumn','getRuntimeState','executeAsync','setValue','_otherFormulaManagerService','startRow','length','isDirty','markedAsSuccessfullyExecuted','forValue','addOtherFormulaDependency','10309264kzluSC','CURRENTLY_CALCULATING','closeKdTree','type'];_0x2fb3=function(){return _0x3d301b;};return _0x2fb3();}
|
|
1
|
+
(function(_0x4c11a7,_0x53133d){const _0x14b384=_0x1c8e,_0x4ff668=_0x4c11a7();while(!![]){try{const _0x5b3791=-parseInt(_0x14b384(0x163))/0x1*(parseInt(_0x14b384(0x18c))/0x2)+-parseInt(_0x14b384(0x1a5))/0x3+-parseInt(_0x14b384(0x198))/0x4+parseInt(_0x14b384(0x156))/0x5*(parseInt(_0x14b384(0x1ca))/0x6)+-parseInt(_0x14b384(0x171))/0x7*(parseInt(_0x14b384(0x141))/0x8)+parseInt(_0x14b384(0x1a2))/0x9*(-parseInt(_0x14b384(0x15e))/0xa)+parseInt(_0x14b384(0x1a3))/0xb*(parseInt(_0x14b384(0x160))/0xc);if(_0x5b3791===_0x53133d)break;else _0x4ff668['push'](_0x4ff668['shift']());}catch(_0x543410){_0x4ff668['push'](_0x4ff668['shift']());}}}(_0x1da8,0x25be0),function(_0x15d88f,_0x2bdcf0){const _0x5121d8=_0x1c8e;typeof exports==_0x5121d8(0x120)&&typeof module<'u'?_0x2bdcf0(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x5121d8(0x142)&&define['amd']?define([_0x5121d8(0x173),_0x5121d8(0x153),'@univerjs/core',_0x5121d8(0x148)],_0x2bdcf0):(_0x15d88f=typeof globalThis<'u'?globalThis:_0x15d88f||self,_0x2bdcf0(_0x15d88f[_0x5121d8(0x12a)]={},_0x15d88f[_0x5121d8(0x1ac)],_0x15d88f[_0x5121d8(0x1c9)],_0x15d88f[_0x5121d8(0x1c6)]));}(this,function(_0x4df195,_0x7973f1,_0x7b34cf,_0x231336){'use strict';const _0x2d63c9=_0x1c8e;var _0x48298b=Object[_0x2d63c9(0x137)],_0x32b98a=(_0x3a4a08,_0x556e7e,_0x3ed343)=>_0x556e7e in _0x3a4a08?_0x48298b(_0x3a4a08,_0x556e7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed343}):_0x3a4a08[_0x556e7e]=_0x3ed343,_0x422c8a=(_0x5145b9,_0x386ef1,_0x5ae134)=>_0x32b98a(_0x5145b9,typeof _0x386ef1!=_0x2d63c9(0x1d4)?_0x386ef1+'':_0x386ef1,_0x5ae134);const _0x2f5294={0x0:'K',0x1:'h',0x2:'o',0x3:'9',0x4:'a',0x5:'d',0x6:'u',0x7:'S',0x8:'A',0x9:'q','H':'0','X':'1','Y':'2','z':'3','r':'4','i':'5','U':'6','M':'7','n':'8','b':'b','F':'c','g':'e','T':'f','I':'g','C':'i','f':'j','l':'k','O':'l','G':'m','s':'n','V':'p','Z':'r','D':'s','o':'t','J':'v','B':'w','R':'x','Q':'y','j':'z','m':'B','q':'C','u':'D','W':'E','L':'F','v':'G','x':'H','P':'I','A':'J','y':'L','h':'M','K':'N','d':'O','t':'P','p':'Q','k':'R','w':'T','E':'U','a':'V','c':'W','S':'X','N':'Y','e':'Z'},_0x440146=_0x2d63c9(0x14d);class _0x221608 extends _0x231336[_0x2d63c9(0x17d)]{constructor(){const _0x4516ca=_0x2d63c9;super(...arguments),_0x422c8a(this,_0x4516ca(0x11a),new Map());}[_0x2d63c9(0x13d)](){const _0x1b14c2=_0x2d63c9;super['dispose'](),this[_0x1b14c2(0x11a)][_0x1b14c2(0x1b1)]();}async[_0x2d63c9(0x1d2)](){const _0x2defde=_0x2d63c9;this['_updateRangeFlatten']();const _0x7cf900=this[_0x2defde(0x12f)][_0x2defde(0x1bf)](),_0x3e5554=this[_0x2defde(0x19c)][_0x2defde(0x125)](),_0x36a176=this[_0x2defde(0x12f)]['getClearDependencyTreeCache']();_0x36a176!=null&&Object[_0x2defde(0x1c3)](_0x36a176)[_0x2defde(0x1a1)](_0x3b2f38=>{const _0x3caf03=_0x2defde;_0x3b2f38!=null&&Object[_0x3caf03(0x1c3)](_0x36a176[_0x3b2f38])[_0x3caf03(0x1a1)](_0x2121df=>{const _0x3aeaea=_0x3caf03;_0x2121df!=null&&(this['_dependencyManagerService'][_0x3aeaea(0x11d)](_0x3b2f38,_0x2121df),this['_dependencyManagerService'][_0x3aeaea(0x1cf)](_0x3b2f38,_0x2121df),this[_0x3aeaea(0x143)][_0x3aeaea(0x126)](_0x3b2f38,_0x2121df));});});const _0x2edff4=this[_0x2defde(0x12f)][_0x2defde(0x19f)]();await this[_0x2defde(0x181)](_0x7cf900,_0x3e5554,_0x2edff4),this[_0x2defde(0x143)]['openKdTree']();const _0x5ab703=this[_0x2defde(0x19b)](),_0x5aa761=this[_0x2defde(0x1c1)](_0x5ab703);return this[_0x2defde(0x174)](_0x5aa761)&&this[_0x2defde(0x18d)][_0x2defde(0x144)](),this[_0x2defde(0x11a)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x2defde(0x1b1)](),this[_0x2defde(0x143)][_0x2defde(0x197)](),Promise['resolve'](_0x5aa761);}[_0x2d63c9(0x127)](_0x3c3a79,_0x57a8be){const _0x45fc8c=_0x2d63c9,_0x1c582f=[_0x3c3a79];for(;_0x1c582f[_0x45fc8c(0x11c)]>0x0;){const _0x433ef6=_0x1c582f[_0x1c582f[_0x45fc8c(0x11c)]-0x1];if((_0x57a8be['get'](_0x433ef6)||0x0)===0x0){_0x57a8be[_0x45fc8c(0x11b)](_0x433ef6,0x1);const _0x3d0ef7=this[_0x45fc8c(0x11a)]['get'](_0x433ef6);if(_0x3d0ef7==null){_0x57a8be[_0x45fc8c(0x11b)](_0x433ef6,0x2),_0x1c582f[_0x45fc8c(0x169)]();continue;}const _0x59031c=this[_0x45fc8c(0x143)][_0x45fc8c(0x17a)](_0x3d0ef7[_0x45fc8c(0x14b)]());for(const _0x489d59 of _0x59031c){const _0x5b0dae=_0x57a8be[_0x45fc8c(0x119)](_0x489d59)||0x0;if(_0x5b0dae===0x1)return!0x0;_0x5b0dae===0x0&&_0x1c582f[_0x45fc8c(0x1ce)](_0x489d59);}}else _0x57a8be[_0x45fc8c(0x11b)](_0x433ef6,0x2),_0x1c582f[_0x45fc8c(0x169)]();}return!0x1;}[_0x2d63c9(0x174)](_0x2992c4){const _0x157033=_0x2d63c9,_0x34ee04=new Map();for(const _0x41961e of _0x2992c4)if(!_0x34ee04[_0x157033(0x18e)](_0x41961e[_0x157033(0x152)])&&this[_0x157033(0x127)](_0x41961e[_0x157033(0x152)],_0x34ee04))return!0x0;return _0x34ee04[_0x157033(0x1b1)](),!0x1;}['_getFeatureFormulaTree'](_0x73457c,_0x441d84,_0x5c33fa){const _0x2855b2=_0x2d63c9,{unitId:_0x4f6ccf,subUnitId:_0x2b1467,dependencyRanges:_0x41c8a4,getDirtyData:_0x14953b}=_0x5c33fa,_0x5d8cd1=_0x441d84||_0x231336[_0x2855b2(0x15b)](this[_0x2855b2(0x143)]),_0x1a2788=new _0x231336[(_0x2855b2(0x1b4))](_0x5d8cd1);_0x1a2788[_0x2855b2(0x1d6)]=_0x4f6ccf,_0x1a2788['subUnitId']=_0x2b1467,_0x1a2788['rangeList']=_0x41c8a4,_0x1a2788[_0x2855b2(0x1aa)]=_0x14953b;const _0x2b8ab4=_0x14953b(this[_0x2855b2(0x12f)][_0x2855b2(0x1aa)](),this[_0x2855b2(0x18d)][_0x2855b2(0x14e)]()),_0x2de68b=this[_0x2855b2(0x187)](_0x2b8ab4[_0x2855b2(0x1b3)]);return _0x1a2788[_0x2855b2(0x18b)]=_0x2de68b,_0x1a2788[_0x2855b2(0x1b2)]=_0x73457c,_0x1a2788['type']=_0x231336[_0x2855b2(0x1c7)]['FEATURE_FORMULA'],this[_0x2855b2(0x143)][_0x2855b2(0x1c2)](_0x4f6ccf,_0x2b1467,_0x73457c,_0x1a2788),this[_0x2855b2(0x11a)][_0x2855b2(0x11b)](_0x1a2788[_0x2855b2(0x152)],_0x1a2788),this[_0x2855b2(0x143)][_0x2855b2(0x1a7)](_0x5c33fa['unitId'],_0x5c33fa[_0x2855b2(0x1bd)],_0x73457c)&&(_0x1a2788[_0x2855b2(0x196)]=!0x0),_0x1a2788;}[_0x2d63c9(0x11e)](_0x43a968,_0xb7395a,_0xdd9f37){const _0x4d159f=_0x2d63c9;var _0x326b94;for(const _0x288a95 of _0xb7395a){const _0x46a28c=_0x43a968[_0x288a95];if(_0x46a28c==null)continue;const _0x62caaf=Object['keys'](_0x46a28c);for(const _0x1b1885 of _0x62caaf){const _0x183b72=_0x46a28c[_0x1b1885];if(_0x183b72==null)continue;const _0xd0867a=Object['keys'](_0x183b72);for(const _0x4ce379 of _0xd0867a){const _0x2708ec=this[_0x4d159f(0x143)][_0x4d159f(0x167)](_0x4ce379),_0x3c7956=_0x183b72[_0x4ce379],{f:_0x3bf37f,ranges:_0x5e83ca}=_0x3c7956;let _0x4d0fe2=!0x1;_0x2708ec&&(_0x4d0fe2=!0x0);const {firstRow:_0x3552c4,firstColumn:_0x1e2a76}=this[_0x4d159f(0x1b6)](_0x5e83ca),_0x44d7e2=this[_0x4d159f(0x143)]['getOtherFormulaDependency'](_0x288a95,_0x1b1885,_0x4ce379),_0x4b52a7=(_0x326b94=_0x44d7e2==null?void 0x0:_0x44d7e2['getValue'](0x0,0x0))!=null?_0x326b94:_0x231336['generateRandomDependencyTreeId'](this[_0x4d159f(0x143)]),_0x36e226=new _0x231336[(_0x4d159f(0x1b4))](_0x4b52a7);for(let _0x535b2c=0x0;_0x535b2c<_0x5e83ca[_0x4d159f(0x11c)];_0x535b2c++){const _0x245698=_0x5e83ca[_0x535b2c],{startRow:_0x8999bc,startColumn:_0x191bd8,endRow:_0x580ddc,endColumn:_0x11a9ff}=_0x245698;for(let _0x1908bf=_0x8999bc;_0x1908bf<=_0x580ddc;_0x1908bf++)for(let _0x4a2831=_0x191bd8;_0x4a2831<=_0x11a9ff;_0x4a2831++){const _0x21d7ea=_0x4a2831-_0x1e2a76,_0x56a570=_0x1908bf-_0x3552c4;if(_0x21d7ea===0x0&&_0x56a570===0x0){_0x36e226[_0x4d159f(0x161)]=_0x3bf37f,_0x36e226[_0x4d159f(0x1d6)]=_0x288a95,_0x36e226[_0x4d159f(0x1bd)]=_0x1b1885,_0x36e226[_0x4d159f(0x138)]=_0x4ce379,_0x36e226[_0x4d159f(0x13b)]=_0x231336[_0x4d159f(0x1c7)][_0x4d159f(0x188)],_0x36e226[_0x4d159f(0x196)]=_0x4d0fe2,_0xdd9f37[_0x4d159f(0x1ce)](_0x36e226),this[_0x4d159f(0x11a)][_0x4d159f(0x11b)](_0x36e226[_0x4d159f(0x152)],_0x36e226),this[_0x4d159f(0x143)]['addOtherFormulaDependency'](_0x288a95,_0x1b1885,_0x4ce379,_0x36e226),this['_dependencyManagerService'][_0x4d159f(0x16b)](_0x36e226);continue;}const _0x13feb5=new _0x231336['FormulaDependencyTreeVirtual']();_0x13feb5[_0x4d159f(0x152)]=(_0x44d7e2==null?void 0x0:_0x44d7e2[_0x4d159f(0x172)](_0x21d7ea,_0x56a570))||_0x231336[_0x4d159f(0x15b)](this['_dependencyManagerService']),_0x13feb5[_0x4d159f(0x194)]=_0x36e226,_0x13feb5[_0x4d159f(0x1b7)]=_0x21d7ea,_0x13feb5[_0x4d159f(0x18a)]=_0x56a570,_0x13feb5[_0x4d159f(0x196)]=_0x4d0fe2,this[_0x4d159f(0x143)][_0x4d159f(0x1d0)](_0x288a95,_0x1b1885,_0x4ce379,_0x13feb5),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x13feb5),_0xdd9f37[_0x4d159f(0x1ce)](_0x13feb5),this[_0x4d159f(0x11a)][_0x4d159f(0x11b)](_0x13feb5[_0x4d159f(0x152)],_0x13feb5);}}this['_dependencyManagerService'][_0x4d159f(0x15a)](_0x4ce379);}}}}[_0x2d63c9(0x195)](_0x4ab6c7,_0x181d72,_0x57ffaa,_0x2feaea){const _0x30c265=_0x2d63c9;for(const _0x24041c of _0x4ab6c7){const _0x353727=_0x181d72[_0x24041c];if(_0x353727==null)continue;const _0x53d32e=Object[_0x30c265(0x1c3)](_0x353727);for(const _0x398ac7 of _0x53d32e){const _0x6ac98e=new _0x7b34cf[(_0x30c265(0x114))](_0x353727[_0x398ac7]||{}),_0x4387da=new Map();_0x6ac98e[_0x30c265(0x192)]((_0x463a9a,_0x303984,_0x49cc1b)=>{const _0x5e82f1=_0x30c265;if(_0x49cc1b==null)return!0x0;const {x:_0x5bb232=0x0,y:_0x575415=0x0,si:_0x5e2b31}=_0x49cc1b;if(!(_0x5bb232===0x0&&_0x575415===0x0&&_0x5e2b31!=null))return!0x0;const _0x44d611=this[_0x5e82f1(0x164)](_0x24041c,_0x398ac7,_0x463a9a,_0x303984,_0x57ffaa,_0x49cc1b),_0x3aa125=this[_0x5e82f1(0x143)][_0x5e82f1(0x15d)](_0x24041c,_0x398ac7,_0x463a9a,_0x303984);_0x3aa125!=null?_0x44d611[_0x5e82f1(0x152)]=_0x3aa125:(this['_dependencyManagerService'][_0x5e82f1(0x190)](_0x24041c,_0x398ac7,_0x463a9a,_0x303984,_0x44d611),this[_0x5e82f1(0x143)]['addFormulaDependencyByDefinedName'](_0x44d611)),_0x4387da['set'](_0x5e2b31,_0x44d611),_0x2feaea[_0x5e82f1(0x1ce)](_0x44d611),this['_dependencyTreeCache'][_0x5e82f1(0x11b)](_0x44d611[_0x5e82f1(0x152)],_0x44d611);}),_0x6ac98e[_0x30c265(0x192)]((_0x4272ae,_0x20144c,_0x50bcb6)=>{const _0x48889f=_0x30c265;if(_0x50bcb6==null)return!0x0;const {x:_0x11f1ff=0x0,y:_0x55f163=0x0,si:_0x195351}=_0x50bcb6;if(_0x11f1ff===0x0&&_0x55f163===0x0&&_0x195351!=null)return!0x0;let _0x1e9b93;if(_0x195351&&_0x4387da[_0x48889f(0x18e)](_0x195351)){const _0x38b4df=_0x4387da[_0x48889f(0x119)](_0x195351);_0x1e9b93=this[_0x48889f(0x1a0)](_0x38b4df,_0x50bcb6);}else _0x1e9b93=this[_0x48889f(0x164)](_0x24041c,_0x398ac7,_0x4272ae,_0x20144c,_0x57ffaa,_0x50bcb6);const _0x3878a7=this[_0x48889f(0x143)][_0x48889f(0x15d)](_0x24041c,_0x398ac7,_0x4272ae,_0x20144c);_0x3878a7!=null?_0x1e9b93['treeId']=_0x3878a7:(this['_dependencyManagerService']['addFormulaDependency'](_0x24041c,_0x398ac7,_0x4272ae,_0x20144c,_0x1e9b93),this[_0x48889f(0x143)][_0x48889f(0x16b)](_0x1e9b93)),_0x2feaea['push'](_0x1e9b93),this[_0x48889f(0x11a)][_0x48889f(0x11b)](_0x1e9b93['treeId'],_0x1e9b93);}),_0x4387da[_0x30c265(0x1b1)]();}}}[_0x2d63c9(0x164)](_0x37eccd,_0x126831,_0xc86cbd,_0x295996,_0x22c924,_0x56fa30){const _0x32f10b=_0x2d63c9,{f:_0x38ae84,x:_0x4a3d6e=0x0,y:_0x46c5ec=0x0}=_0x56fa30,_0x1a6ff7=new _0x231336[(_0x32f10b(0x1b4))](_0x231336[_0x32f10b(0x15b)](this[_0x32f10b(0x143)])),_0x54dedd=_0x22c924[_0x37eccd][_0x126831];return _0x1a6ff7[_0x32f10b(0x161)]=_0x38ae84,_0x1a6ff7['unitId']=_0x37eccd,_0x1a6ff7[_0x32f10b(0x1bd)]=_0x126831,_0x1a6ff7[_0x32f10b(0x121)]=_0xc86cbd,_0x1a6ff7[_0x32f10b(0x14f)]=_0x295996,_0x1a6ff7[_0x32f10b(0x154)]=_0x54dedd[_0x32f10b(0x154)],_0x1a6ff7[_0x32f10b(0x189)]=_0x54dedd[_0x32f10b(0x189)],_0x1a6ff7;}['_getUpdateTreeListAndMakeDependency'](){const _0x5cfe11=_0x2d63c9,_0x77b319=[],_0x272c46=new Set(),_0x3cd514=this[_0x5cfe11(0x12f)][_0x5cfe11(0x12e)](),_0x512bdc=this['_currentConfigService']['getDirtyRanges'](),_0x4c0bf0=this[_0x5cfe11(0x143)][_0x5cfe11(0x17a)](_0x512bdc),_0x547634=this[_0x5cfe11(0x1b0)]['bulkSearch'](_0x512bdc);for(const _0x334f10 of _0x547634)_0x4c0bf0['add'](_0x334f10);for(const [_0x480fc6,_0x434d75]of this[_0x5cfe11(0x11a)])(_0x3cd514||_0x434d75[_0x5cfe11(0x1ad)]||_0x434d75[_0x5cfe11(0x123)](this[_0x5cfe11(0x12f)][_0x5cfe11(0x1be)]())||_0x4c0bf0[_0x5cfe11(0x18e)](_0x480fc6)&&!_0x434d75[_0x5cfe11(0x118)](this[_0x5cfe11(0x12f)][_0x5cfe11(0x1a4)]()))&&!_0x272c46[_0x5cfe11(0x18e)](_0x480fc6)&&(_0x77b319[_0x5cfe11(0x1ce)](_0x434d75),_0x272c46[_0x5cfe11(0x183)](_0x480fc6));for(const [_0x1be5a8,_0x7dd211]of this[_0x5cfe11(0x11a)])_0x7dd211[_0x5cfe11(0x184)]||(_0x7dd211[_0x5cfe11(0x13f)][_0x5cfe11(0x11c)]=0x0);return _0x77b319;}[_0x2d63c9(0x1b8)](_0x287d43){const _0x3f60b8=_0x2d63c9;return this[_0x3f60b8(0x11a)][_0x3f60b8(0x119)](_0x287d43);}['_getTreeNode'](_0x379e3a){const _0x235366=_0x2d63c9;return _0x231336[_0x235366(0x17f)](_0x379e3a[_0x235366(0x1d6)],_0x379e3a[_0x235366(0x161)],this['_lexer'],this[_0x235366(0x1c0)],this['_currentConfigService']);}*[_0x2d63c9(0x145)](_0x19ea86,_0x2d073a){const _0x5ecc94=_0x2d63c9,_0x53e2f7=_0x19ea86,_0x559b19=new Set();for(;_0x53e2f7['length']>0x0;){const _0x223bd4=_0x53e2f7[_0x5ecc94(0x169)]();if(_0x559b19[_0x5ecc94(0x1b1)](),_0x223bd4===void 0x0||_0x223bd4[_0x5ecc94(0x1a8)]())continue;if(_0x223bd4[_0x5ecc94(0x15c)]()){yield _0x223bd4,_0x223bd4[_0x5ecc94(0x115)](),_0x2d073a[_0x5ecc94(0x183)](_0x223bd4['treeId']);continue;}const _0x37f932=this['_dependencyManagerService'][_0x5ecc94(0x17a)](_0x223bd4['toRTreeItem'](),_0x2d073a),_0x5509f7=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x223bd4['toRTreeItem'](),_0x2d073a);for(const _0x3d8428 of _0x5509f7)_0x37f932[_0x5ecc94(0x183)](_0x3d8428);for(const _0x425e80 of _0x37f932){const _0xc8826=this[_0x5ecc94(0x11a)][_0x5ecc94(0x119)](_0x425e80);if(!_0xc8826)throw new Error(_0x5ecc94(0x1a6));_0xc8826[_0x5ecc94(0x15c)]()||_0x223bd4['isSkip']()||_0x559b19['add'](_0xc8826);}if(_0x37f932[_0x5ecc94(0x1b1)](),_0x559b19[_0x5ecc94(0x175)]===0x0)yield _0x223bd4,_0x223bd4['setSkip'](),_0x2d073a[_0x5ecc94(0x183)](_0x223bd4[_0x5ecc94(0x152)]);else{_0x223bd4[_0x5ecc94(0x12c)](),_0x53e2f7[_0x5ecc94(0x1ce)](_0x223bd4);for(const _0x358c6a of _0x559b19)_0x53e2f7[_0x5ecc94(0x1ce)](_0x358c6a);}}_0x53e2f7['length']=0x0,_0x559b19[_0x5ecc94(0x1b1)]();}[_0x2d63c9(0x1c1)](_0x4140ec){const _0xb87ff9=_0x2d63c9,_0x51e369=[],_0x192ab2=new Set();for(const _0x329dc6 of this[_0xb87ff9(0x145)](_0x4140ec,_0x192ab2))_0x51e369[_0xb87ff9(0x1ce)](_0x329dc6);return _0x51e369;}}class _0x2ce4f5 extends _0x231336[_0x2d63c9(0x179)]{async[_0x2d63c9(0x155)](_0x10a682=!0x1){const _0x1f8789=_0x2d63c9;_0x10a682?this[_0x1f8789(0x18d)][_0x1f8789(0x159)](_0x231336[_0x1f8789(0x128)][_0x1f8789(0x157)]):this[_0x1f8789(0x18d)][_0x1f8789(0x159)](_0x231336[_0x1f8789(0x128)][_0x1f8789(0x149)]),this['_executionInProgressListener$'][_0x1f8789(0x151)](this['_runtimeService'][_0x1f8789(0x1a9)]());const _0x3df8d9=await this[_0x1f8789(0x133)][_0x1f8789(0x1d2)](),_0x5612ad=this['_interpreter'];_0x10a682?(this[_0x1f8789(0x18d)][_0x1f8789(0x159)](_0x231336['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this[_0x1f8789(0x18d)][_0x1f8789(0x132)](_0x3df8d9[_0x1f8789(0x11c)])):(this['_runtimeService'][_0x1f8789(0x159)](_0x231336['FormulaExecuteStageType']['START_CALCULATION']),this[_0x1f8789(0x18d)][_0x1f8789(0x166)](_0x3df8d9[_0x1f8789(0x11c)])),this[_0x1f8789(0x1ae)][_0x1f8789(0x151)](this['_runtimeService'][_0x1f8789(0x1a9)]());let _0x1f498a=[];const _0x236021=this[_0x1f8789(0x146)][_0x1f8789(0x170)](_0x231336[_0x1f8789(0x14a)]),_0x23c6de=(_0x236021==null?void 0x0:_0x236021[_0x1f8789(0x165)])||_0x231336[_0x1f8789(0x1cb)];let _0x553237=0x0;const _0x3b7af6=_0x3df8d9['length'];for(;_0x3df8d9[_0x1f8789(0x11c)]>0x0;){const _0x1594df=_0x3df8d9[_0x1f8789(0x169)](),_0x263939={'node':_0x231336[_0x1f8789(0x17f)](_0x1594df['unitId'],_0x1594df['formula'],this[_0x1f8789(0x18f)],this[_0x1f8789(0x1c0)],this[_0x1f8789(0x12f)]),'refOffsetX':_0x1594df['refOffsetX'],'refOffsetY':_0x1594df[_0x1f8789(0x18a)]},_0x1a9e4e=_0x1594df['getDirtyData'];if(_0x553237%_0x23c6de===0x0&&(await new Promise(_0x2ad147=>{const _0x55bceb=_0x1f8789,_0x47cd79=_0x7b34cf[_0x55bceb(0x1c8)](_0x2ad147);_0x1f498a[_0x55bceb(0x1ce)](_0x47cd79);}),_0x10a682?(this[_0x1f8789(0x18d)][_0x1f8789(0x159)](_0x231336[_0x1f8789(0x128)][_0x1f8789(0x15f)]),this[_0x1f8789(0x18d)][_0x1f8789(0x1d5)](_0x553237+0x1)):(this[_0x1f8789(0x18d)]['setFormulaExecuteStage'](_0x231336[_0x1f8789(0x128)][_0x1f8789(0x1c4)]),this['_runtimeService'][_0x1f8789(0x1cc)](_0x553237+0x1)),this[_0x1f8789(0x1ae)][_0x1f8789(0x151)](this['_runtimeService'][_0x1f8789(0x1a9)]()),this['_runtimeService']['isStopExecution']()||_0x263939==null&&_0x1a9e4e==null)){this[_0x1f8789(0x18d)][_0x1f8789(0x159)](_0x231336[_0x1f8789(0x128)][_0x1f8789(0x186)]),this[_0x1f8789(0x18d)][_0x1f8789(0x17b)](),this['_executionCompleteListener$']['next'](this[_0x1f8789(0x18d)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x1f8789(0x136)](_0x1594df['row'],_0x1594df[_0x1f8789(0x14f)],_0x1594df[_0x1f8789(0x154)],_0x1594df[_0x1f8789(0x189)],_0x1594df[_0x1f8789(0x1bd)],_0x1594df[_0x1f8789(0x1d6)]);let _0x2d4e6d;if(_0x1a9e4e!=null&&_0x1594df[_0x1f8789(0x1b2)]!=null){const {runtimeCellData:_0x2c7367,dirtyRanges:_0x3a8098}=_0x1a9e4e(this[_0x1f8789(0x12f)][_0x1f8789(0x1aa)](),this['_runtimeService'][_0x1f8789(0x14e)]());this[_0x1f8789(0x18d)]['setRuntimeFeatureCellData'](_0x1594df[_0x1f8789(0x1b2)],_0x2c7367),this['_runtimeService'][_0x1f8789(0x14c)](_0x1594df[_0x1f8789(0x1b2)],_0x3a8098);}else _0x263939!=null&&(_0x5612ad['checkAsyncNode'](_0x263939[_0x1f8789(0x16d)])?_0x2d4e6d=await _0x5612ad[_0x1f8789(0x178)](_0x263939):_0x2d4e6d=_0x5612ad[_0x1f8789(0x134)](_0x263939),_0x1594df[_0x1f8789(0x138)]!=null?this[_0x1f8789(0x18d)][_0x1f8789(0x19d)](_0x1594df[_0x1f8789(0x138)],_0x1594df['refOffsetX'],_0x1594df[_0x1f8789(0x18a)],_0x2d4e6d):this['_runtimeService']['setRuntimeData'](_0x2d4e6d));_0x553237++;}return _0x1f498a[_0x1f8789(0x1a1)](_0x3e2e47=>_0x3e2e47()),_0x1f498a=[],_0x3b7af6>0x0?this[_0x1f8789(0x18d)]['markedAsSuccessfullyExecuted']():_0x10a682||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x1f8789(0x18d)][_0x1f8789(0x14e)]();}}class _0x5235da extends _0x231336[_0x2d63c9(0x124)]{constructor(){const _0x8db09c=_0x2d63c9;super(...arguments),_0x422c8a(this,'_allTreeMap',new Map()),_0x422c8a(this,_0x8db09c(0x1ab),new _0x7b34cf[(_0x8db09c(0x16a))](!0x0));}[_0x2d63c9(0x140)](){const _0x10cece=_0x2d63c9;this[_0x10cece(0x129)][_0x10cece(0x1b1)](),this[_0x10cece(0x139)][_0x10cece(0x1b1)](),this[_0x10cece(0x199)][_0x10cece(0x1b1)](),this[_0x10cece(0x1ab)][_0x10cece(0x1b1)](),this['_allTreeMap'][_0x10cece(0x1b1)](),this['_restDependencyTreeId'](),this[_0x10cece(0x135)]['clear']();}[_0x2d63c9(0x1d0)](_0x2b287c,_0x4053fb,_0xab7c2a,_0x81a93){const _0x402092=_0x2d63c9;this['_otherFormulaData'][_0x402092(0x18e)](_0x2b287c)||this['_otherFormulaData'][_0x402092(0x11b)](_0x2b287c,new Map());const _0x4a3bfc=this[_0x402092(0x129)][_0x402092(0x119)](_0x2b287c);_0x4a3bfc[_0x402092(0x18e)](_0x4053fb)||_0x4a3bfc['set'](_0x4053fb,new Map());const _0x284b44=_0x4a3bfc[_0x402092(0x119)](_0x4053fb);_0x284b44[_0x402092(0x18e)](_0xab7c2a)||_0x284b44[_0x402092(0x11b)](_0xab7c2a,new _0x7b34cf['ObjectMatrix']()),_0x284b44[_0x402092(0x119)](_0xab7c2a)[_0x402092(0x158)](_0x81a93['refOffsetX'],_0x81a93[_0x402092(0x18a)],_0x81a93['treeId']);}[_0x2d63c9(0x19a)](_0x5b4220,_0x1bb27c,_0x2f6cff){const _0x2ed5cd=_0x2d63c9,_0x40a9f4=this[_0x2ed5cd(0x129)]['get'](_0x5b4220);if(_0x40a9f4&&_0x40a9f4[_0x2ed5cd(0x18e)](_0x1bb27c)){const _0x22aac7=_0x40a9f4[_0x2ed5cd(0x119)](_0x1bb27c);_0x2f6cff[_0x2ed5cd(0x1a1)](_0x537949=>{const _0x1f879f=_0x2ed5cd,_0x1b5493=_0x22aac7[_0x1f879f(0x119)](_0x537949);_0x1b5493!=null&&(_0x1b5493[_0x1f879f(0x192)]((_0x48ea3d,_0x45922f,_0x229bce)=>{const _0xbcf015=_0x1f879f;this[_0xbcf015(0x16e)](_0x229bce),this[_0xbcf015(0x13a)](_0x229bce);}),_0x22aac7['delete'](_0x537949),this[_0x1f879f(0x135)][_0x1f879f(0x193)](_0x537949));}),_0x22aac7[_0x2ed5cd(0x175)]===0x0&&_0x40a9f4[_0x2ed5cd(0x193)](_0x1bb27c),_0x40a9f4[_0x2ed5cd(0x175)]===0x0&&this[_0x2ed5cd(0x129)]['delete'](_0x5b4220);}}[_0x2d63c9(0x11d)](_0x1b29dc,_0xb1e0a1){const _0x4f55be=_0x2d63c9,_0x107483=this['_otherFormulaData'][_0x4f55be(0x119)](_0x1b29dc);if(_0xb1e0a1&&_0x107483&&_0x107483[_0x4f55be(0x18e)](_0xb1e0a1)){const _0xad2e95=_0x107483[_0x4f55be(0x119)](_0xb1e0a1);this['_removeDependencyRTreeCacheById'](_0x1b29dc,_0xb1e0a1);for(const _0x2e3141 of _0xad2e95[_0x4f55be(0x1c3)]()){const _0x1d85be=_0xad2e95[_0x4f55be(0x119)](_0x2e3141);_0x1d85be!=null&&(_0x1d85be[_0x4f55be(0x192)]((_0x20d782,_0x44dc7c,_0x475d44)=>{const _0x165423=_0x4f55be;this[_0x165423(0x1bb)]['get'](_0x475d44)&&this[_0x165423(0x13a)](_0x475d44);}),this['_otherFormulaDataMainData'][_0x4f55be(0x193)](_0x2e3141));}_0xad2e95[_0x4f55be(0x1b1)]();}else{if(_0x107483){for(const _0x4acb12 of _0x107483[_0x4f55be(0x1c3)]()){const _0x34f20d=_0x107483[_0x4f55be(0x119)](_0x4acb12);this[_0x4f55be(0x168)](_0x1b29dc,_0x4acb12);for(const _0x20a59e of _0x34f20d[_0x4f55be(0x1c3)]()){const _0x162be3=_0x34f20d[_0x4f55be(0x119)](_0x20a59e);_0x162be3!=null&&(_0x162be3[_0x4f55be(0x192)]((_0x2916ef,_0xc7349b,_0x2e54ba)=>{const _0xce2a32=_0x4f55be;this['_allTreeMap'][_0xce2a32(0x119)](_0x2e54ba)&&this[_0xce2a32(0x13a)](_0x2e54ba);}),this[_0x4f55be(0x135)]['delete'](_0x20a59e));}}this['_otherFormulaData']['delete'](_0x1b29dc);}}}[_0x2d63c9(0x1c2)](_0x575997,_0x41b6c2,_0x521118,_0x5b913a){const _0x530b0b=_0x2d63c9;this[_0x530b0b(0x139)]['has'](_0x575997)||this[_0x530b0b(0x139)][_0x530b0b(0x11b)](_0x575997,new Map());const _0x2f0825=this[_0x530b0b(0x139)][_0x530b0b(0x119)](_0x575997);_0x2f0825[_0x530b0b(0x18e)](_0x41b6c2)||_0x2f0825['set'](_0x41b6c2,new Map()),_0x2f0825['get'](_0x41b6c2)[_0x530b0b(0x11b)](_0x521118,_0x5b913a[_0x530b0b(0x152)]);}[_0x2d63c9(0x19e)](_0x3efc94,_0x45944f,_0xd753d6){const _0x25c3c0=_0x2d63c9,_0x4e211c=this[_0x25c3c0(0x139)][_0x25c3c0(0x119)](_0x3efc94);if(_0x4e211c&&_0x4e211c[_0x25c3c0(0x18e)](_0x45944f)){const _0xbe1ef8=_0x4e211c['get'](_0x45944f);_0xd753d6['forEach'](_0x53c08f=>{const _0x8c9ef8=_0x25c3c0,_0x41ddde=_0xbe1ef8[_0x8c9ef8(0x119)](_0x53c08f);_0x41ddde!=null&&(this[_0x8c9ef8(0x16e)](_0x41ddde),_0xbe1ef8[_0x8c9ef8(0x193)](_0x53c08f),this['_removeAllTreeMap'](_0x41ddde));});}}['clearFeatureFormulaDependency'](_0x4c1721,_0x1a657e){const _0x4db4a0=_0x2d63c9,_0x467435=this['_featureFormulaData'][_0x4db4a0(0x119)](_0x4c1721);if(_0x1a657e&&_0x467435&&_0x467435[_0x4db4a0(0x18e)](_0x1a657e)){const _0x3bee7e=_0x467435[_0x4db4a0(0x119)](_0x1a657e);this['_removeDependencyRTreeCacheById'](_0x4c1721,_0x1a657e),_0x3bee7e[_0x4db4a0(0x1a1)](_0x34472c=>{const _0x258014=_0x4db4a0;_0x34472c!=null&&this[_0x258014(0x13a)](_0x34472c);}),_0x3bee7e[_0x4db4a0(0x1b1)]();}else _0x467435&&(_0x467435[_0x4db4a0(0x1a1)]((_0x326547,_0xa342ac)=>{const _0x13904e=_0x4db4a0;this[_0x13904e(0x168)](_0x4c1721,_0xa342ac),_0x326547[_0x13904e(0x1a1)](_0x4204f2=>{const _0xc9d40a=_0x13904e;_0x4204f2!=null&&this[_0xc9d40a(0x13a)](_0x4204f2);});}),this[_0x4db4a0(0x139)][_0x4db4a0(0x193)](_0x4c1721));}[_0x2d63c9(0x190)](_0x21e396,_0x179e70,_0x29ca8d,_0x4942bd,_0x9c3a70){const _0x30d9a9=_0x2d63c9;this[_0x30d9a9(0x199)]['has'](_0x21e396)||this[_0x30d9a9(0x199)][_0x30d9a9(0x11b)](_0x21e396,new Map());const _0x4fa2f4=this[_0x30d9a9(0x199)][_0x30d9a9(0x119)](_0x21e396);_0x4fa2f4[_0x30d9a9(0x18e)](_0x179e70)||_0x4fa2f4[_0x30d9a9(0x11b)](_0x179e70,new _0x7b34cf[(_0x30d9a9(0x114))]()),_0x4fa2f4['get'](_0x179e70)['setValue'](_0x29ca8d,_0x4942bd,_0x9c3a70[_0x30d9a9(0x152)]);}[_0x2d63c9(0x1d1)](_0x1012b0,_0x11b50c,_0x55e20a,_0x407a9e){const _0x1d324d=_0x2d63c9,_0x1c1398=this[_0x1d324d(0x199)][_0x1d324d(0x119)](_0x1012b0);if(_0x1c1398&&_0x1c1398[_0x1d324d(0x18e)](_0x11b50c)){const _0xa87f7e=_0x1c1398[_0x1d324d(0x119)](_0x11b50c),_0x255f35=_0xa87f7e[_0x1d324d(0x172)](_0x55e20a,_0x407a9e);if(_0x255f35==null)return;this[_0x1d324d(0x16e)](_0x255f35),_0xa87f7e[_0x1d324d(0x1c5)](_0x55e20a,_0x407a9e),this[_0x1d324d(0x13a)](_0x255f35);}}[_0x2d63c9(0x126)](_0x334236,_0x496ba2){const _0x2c1b78=_0x2d63c9,_0x5f7e00=this[_0x2c1b78(0x199)]['get'](_0x334236);if(_0x496ba2&&_0x5f7e00&&_0x5f7e00[_0x2c1b78(0x18e)](_0x496ba2)){const _0x1c998e=_0x5f7e00[_0x2c1b78(0x119)](_0x496ba2);this[_0x2c1b78(0x168)](_0x334236,_0x496ba2),_0x1c998e[_0x2c1b78(0x192)]((_0x15cc69,_0x20c80d,_0x26397f)=>{const _0x5c9d2b=_0x2c1b78;if(_0x26397f==null)return!0x0;this[_0x5c9d2b(0x13a)](_0x26397f);}),_0x1c998e[_0x2c1b78(0x140)]();}else _0x5f7e00&&(_0x5f7e00[_0x2c1b78(0x1a1)]((_0x23e773,_0x33c692)=>{const _0x2bdf63=_0x2c1b78;this[_0x2bdf63(0x168)](_0x334236,_0x33c692),_0x23e773['forValue']((_0x3f96d9,_0x132233,_0x112184)=>{const _0xbd64d4=_0x2bdf63;if(_0x112184==null)return!0x0;this[_0xbd64d4(0x13a)](_0x112184);});}),this['_formulaData'][_0x2c1b78(0x193)](_0x334236));}[_0x2d63c9(0x16e)](_0x3023d4){const _0x421b5d=_0x2d63c9;if(_0x3023d4==null)return;const _0x569d7d=this[_0x421b5d(0x1bb)][_0x421b5d(0x119)](_0x3023d4);if(_0x569d7d){const _0x196c38=[];for(const [_0x201b0b,_0x217c4c]of _0x569d7d)for(const [_0x5c44a5,_0x522cb5]of _0x217c4c)_0x196c38[_0x421b5d(0x1ce)]({'unitId':_0x201b0b,'sheetId':_0x5c44a5,'range':_0x522cb5,'id':_0x3023d4});this[_0x421b5d(0x1ab)]['bulkRemove'](_0x196c38);}}[_0x2d63c9(0x1d3)](_0x2a5045,_0x142fcc){const _0x2c7b2a=_0x2d63c9,_0x5dc924=this[_0x2c7b2a(0x13c)]['get'](_0x2a5045);if(_0x5dc924){const _0xf89ebd=_0x5dc924[_0x2c7b2a(0x119)](_0x142fcc);if(_0xf89ebd){for(const _0x27402c of _0xf89ebd)this['_removeDependencyRTreeCache'](_0x27402c),this[_0x2c7b2a(0x13a)](_0x27402c);_0xf89ebd[_0x2c7b2a(0x1b1)]();}}}[_0x2d63c9(0x182)](){const _0x36186c=_0x2d63c9;this[_0x36186c(0x1ab)][_0x36186c(0x182)]();}['closeKdTree'](){const _0x55548b=_0x2d63c9;this[_0x55548b(0x1ab)][_0x55548b(0x197)]();}[_0x2d63c9(0x13a)](_0x4c24b0){const _0x57ab0f=_0x2d63c9;_0x4c24b0!=null&&this[_0x57ab0f(0x1bb)][_0x57ab0f(0x193)](_0x4c24b0);}[_0x2d63c9(0x147)](_0x1f6846){const _0x2f71df=_0x2d63c9;var _0x37aa85,_0x5ed404;const _0x51b9f5=_0x1f6846['rangeList'];let _0x5a5aad=this['_allTreeMap'][_0x2f71df(0x119)](_0x1f6846[_0x2f71df(0x152)]);for(let _0x38af50=0x0;_0x38af50<_0x51b9f5[_0x2f71df(0x11c)];_0x38af50++){const _0x2225d6=_0x51b9f5[_0x38af50];let {unitId:_0x261a5e,sheetId:_0x4358b6,range:_0x39c0c2}=_0x2225d6;_0x5a5aad||(_0x5a5aad=new Map(),this[_0x2f71df(0x1bb)]['set'](_0x1f6846[_0x2f71df(0x152)],_0x5a5aad)),_0x5a5aad[_0x2f71df(0x18e)](_0x261a5e)||_0x5a5aad['set'](_0x261a5e,new Map());const _0x8f3aa3=(_0x37aa85=_0x5a5aad==null?void 0x0:_0x5a5aad[_0x2f71df(0x119)](_0x261a5e))==null?void 0x0:_0x37aa85[_0x2f71df(0x119)](_0x4358b6);_0x8f3aa3&&(_0x39c0c2={'startRow':Math[_0x2f71df(0x185)](_0x39c0c2[_0x2f71df(0x1b9)],_0x8f3aa3[_0x2f71df(0x1b9)]),'startColumn':Math[_0x2f71df(0x185)](_0x39c0c2[_0x2f71df(0x13e)],_0x8f3aa3[_0x2f71df(0x13e)]),'endRow':Math[_0x2f71df(0x122)](_0x39c0c2[_0x2f71df(0x16c)],_0x8f3aa3[_0x2f71df(0x16c)]),'endColumn':Math[_0x2f71df(0x122)](_0x39c0c2['endColumn'],_0x8f3aa3[_0x2f71df(0x162)])}),(_0x5ed404=_0x5a5aad['get'](_0x261a5e))==null||_0x5ed404[_0x2f71df(0x11b)](_0x4358b6,_0x39c0c2);}}}var _0x5e9d72=Object[_0x2d63c9(0x150)],_0x1c136f=(_0x494dea,_0x3c51bb,_0x4d757d,_0x5ea48d)=>{const _0x39521b=_0x2d63c9;for(var _0x5532e6=_0x5ea48d>0x1?void 0x0:_0x5ea48d?_0x5e9d72(_0x3c51bb,_0x4d757d):_0x3c51bb,_0x377484=_0x494dea[_0x39521b(0x11c)]-0x1,_0xc81559;_0x377484>=0x0;_0x377484--)(_0xc81559=_0x494dea[_0x377484])&&(_0x5532e6=_0xc81559(_0x5532e6)||_0x5532e6);return _0x5532e6;};const _0x38d67f=Number['parseInt'](0x689ed354);_0x4df195[_0x2d63c9(0x1bc)]=class extends _0x231336['UniverFormulaEnginePlugin']{[_0x2d63c9(0x1af)](){const _0x51e124=_0x2d63c9;var _0x2bb00f,_0x1be9c9;this[_0x51e124(0x177)]()?(_0x2bb00f=this[_0x51e124(0x17c)])!=null&&_0x2bb00f[_0x51e124(0x1cd)]||[[_0x231336[_0x51e124(0x130)],{'useClass':_0x2ce4f5}],[_0x231336[_0x51e124(0x11f)],{'useClass':_0x5235da}],[_0x231336[_0x51e124(0x12b)],{'useClass':_0x221608}]][_0x51e124(0x1a1)](_0x579dcd=>this[_0x51e124(0x180)][_0x51e124(0x183)](_0x579dcd)):(_0x1be9c9=this[_0x51e124(0x17c)])!=null&&_0x1be9c9[_0x51e124(0x1cd)]||[[_0x231336[_0x51e124(0x130)],{'useClass':_0x231336[_0x51e124(0x179)]}],[_0x231336['IDependencyManagerService'],{'useClass':_0x231336['DependencyManagerService']}],[_0x231336[_0x51e124(0x12b)],{'useClass':_0x231336['FormulaDependencyGenerator']}]][_0x51e124(0x1a1)](_0x15d652=>this[_0x51e124(0x180)][_0x51e124(0x183)](_0x15d652));}['_initLicenseValid'](){const _0x48792a=_0x2d63c9;var _0x119187;const _0x492054=(_0x119187=this[_0x48792a(0x146)][_0x48792a(0x170)](_0x7973f1['LS_CONFIG_KEY']))!=null?_0x119187:{},{ls:_0x4a19d5,pbk:_0xc8712b}=_0x492054;if(!_0x4a19d5||!_0xc8712b)return!0x1;const _0x2a2012=_0x7973f1[_0x48792a(0x1b5)](_0x440146,_0x2f5294),_0x4828d0=new Function(_0x48792a(0x191)+_0x2a2012)()(_0x4a19d5,_0xc8712b),_0x59e1ed=_0x4828d0['message'];return _0x4828d0[_0x48792a(0x17e)]&&_0x7973f1['isFeatureAuthorizedWithinTime'](_0x59e1ed,'sf',_0x38d67f)?_0x7973f1[_0x48792a(0x12d)](_0x59e1ed,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x4df195['UniverProFormulaEnginePlugin']=_0x1c136f([_0x7b34cf[_0x2d63c9(0x116)](_0x7973f1[_0x2d63c9(0x117)])],_0x4df195[_0x2d63c9(0x1bc)]),Object[_0x2d63c9(0x1c3)](_0x231336)[_0x2d63c9(0x1a1)](_0x31b7c8=>{const _0x48ac19=_0x2d63c9;_0x31b7c8!==_0x48ac19(0x131)&&!Object['prototype'][_0x48ac19(0x1ba)][_0x48ac19(0x176)](_0x4df195,_0x31b7c8)&&Object['defineProperty'](_0x4df195,_0x31b7c8,{'enumerable':!0x0,'get':()=>_0x231336[_0x31b7c8]});}),Object['defineProperty'](_0x4df195,Symbol[_0x2d63c9(0x16f)],{'value':'Module'});}));function _0x1c8e(_0x3a5645,_0x43f849){const _0x1da8cb=_0x1da8();return _0x1c8e=function(_0x1c8e73,_0x34fd4e){_0x1c8e73=_0x1c8e73-0x114;let _0x345943=_0x1da8cb[_0x1c8e73];return _0x345943;},_0x1c8e(_0x3a5645,_0x43f849);}function _0x1da8(){const _0x1f525e=['getUnitData','_createVirtualFDtree','forEach','9bzgGYP','2268387hOrJoZ','getExcludedRange','132006gkyjgL','ParentDependencyTree\x20object\x20is\x20null','getFeatureFormulaDependency','isSkip','getRuntimeState','getDirtyData','_dependencyRTreeCache','UniverProLicense','isDirty','_executionInProgressListener$','_initializeWithOverride','_dependencyRTreeCacheForAddressFunction','clear','featureId','dirtyRanges','FormulaDependencyTree','unshiftString','_getFirstCellOfRange','refOffsetX','_getTreeById','startRow','hasOwnProperty','_allTreeMap','UniverProFormulaEnginePlugin','subUnitId','getDirtyNameMap','getFormulaData','_astTreeBuilder','_calculateRunList','addFeatureFormulaDependency','keys','CURRENTLY_CALCULATING','realDeleteValue','UniverEngineFormula','FormulaDependencyTreeType','requestImmediateMacroTask','UniverCore','29730sXcdBV','DEFAULT_INTERVAL_COUNT','setCompletedFormulasCount','notExecuteFormula','push','clearFeatureFormulaDependency','addOtherFormulaDependency','removeFormulaDependency','generate','removeFormulaDependencyByDefinedName','symbol','setCompletedArrayFormulasCount','unitId','ObjectMatrix','setSkip','DependentOn','UniverLicensePlugin','isExcludeRange','get','_dependencyTreeCache','set','length','clearOtherFormulaDependency','_registerOtherFormulas','IDependencyManagerService','object','row','max','dependencySheetName','DependencyManagerBaseService','getOtherFormulaData','clearFormulaDependency','_isCyclicUtilMap','FormulaExecuteStageType','_otherFormulaData','UniverProEngineFormula','IFormulaDependencyGenerator','setAdded','getSheetFeatureLimit','isForceCalculate','_currentConfigService','ICalculateFormulaService','default','setTotalArrayFormulasToCalculate','_formulaDependencyGenerator','execute','_otherFormulaDataMainData','setCurrent','defineProperty','formulaId','_featureFormulaData','_removeAllTreeMap','type','_definedNameMap','dispose','startColumn','rangeList','reset','1640KJDdBK','function','_dependencyManagerService','enableCycleDependency','_traverse','_configService','_addAllTreeMap','@univerjs/engine-formula','START_DEPENDENCY','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','toRTreeItem','setRuntimeFeatureRange','T6sFoC2s\x205gFZQVoC2s(OCFgsDg,\x20V6bOCF0gQ)\x20{\x20\x20\x20\x20oZQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20OCFgsDgPsT2t4Zo8ZZ4Q\x20=\x20OCFgsDg.DVOCo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x202ZCICshgDD4Ig\x20=\x20A7dK.V4ZDg(4o2b(OCFgsDgPsT2t4Zo8ZZ4Q[Y]));\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!2ZCICshgDD4Ig.65)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202ZCICshgDD4Ig.65\x20=\x20K6GbgZ(OCFgsDgPsT2t4Zo8ZZ4Q[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20CDc2ZlgZ\x20=\x20oQVg2T\x20c2ZlgZvO2b4O7F2Vg\x20!==\x20\x276s5gTCsg5\x27\x20&&\x20DgOT\x20CsDo4sFg2T\x20c2ZlgZvO2b4O7F2Vg;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20F2sogRo\x20=\x20CDc2ZlgZ\x20?\x20DgOT\x20:\x20BCs52B;\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Igc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[Y]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20GgDD4Ig\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(GgDD4Igc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zgc2Z5\x20=\x20F2sogRo.__m4DgUr__.V4ZDg(OCFgsDgPsT2t4Zo8ZZ4Q[z]);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIs4o6Zg\x20=\x20F2sogRo.__xgR__.DoZCsICTQ(DCIs4o6Zgc2Z5);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20DCIsa4OC5\x20=\x20F2sogRo.__JgZCTQ__(DCIs4o6Zg,\x20GgDD4Ig,\x20V6bOCF0gQ);\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2052G4Cs\x20=\x202ZCICshgDD4Ig.5G;\x20\x20\x20\x20\x20\x20\x20\x20T6sFoC2s\x20CDu2G4Csh4oF1CsI(2t4oogZs,\x202x2Do)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs\x20=\x202t4oogZs.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do\x20=\x202x2Do.ZgVO4Fg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZst4ZoD\x20=\x20V4oogZs.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Dot4ZoD\x20=\x2012Do.DVOCo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(!V4oogZs.CsFO65gD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs\x20===\x2012Do;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(V4oogZst4ZoD.OgsIo1\x20<\x20Y\x20||\x20V4oogZst4ZoD[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20T4ODg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20V4oogZs76TTCR\x20=\x20V4oogZst4ZoD.DOCFg(X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x2012Do76TTCR\x20=\x2012Dot4ZoD.DOCFg(-V4oogZst4ZoD.OgsIo1\x20+\x20X).f2Cs(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20V4oogZs76TTCR\x20===\x2012Do76TTCR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ogo\x2052G4Csa4OC5\x20=\x20(52G4Cs\x20&&\x2052G4Cs.OgsIo1)\x20?\x2052G4Cs.D2Gg((5GPogG)\x20=>\x20CDu2G4Csh4oF1CsI(5GPogG,\x20O2F4oC2s.12Dos4Gg))\x20:\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20CT\x20(O2F4oC2s.12Dos4Gg\x20===\x20\x27O2F4O12Do\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2052G4Csa4OC5\x20=\x20oZ6g;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20F2sDo\x20J4OC5\x20=\x20DCIsa4OC5\x20&&\x2052G4Csa4OC5;\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x202ZCICshgDD4Ig,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20F4oF1\x20(gZZ2Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Zgo6Zs\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20J4OC5:\x20T4ODg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GgDD4Ig:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getAllRuntimeData','column','getOwnPropertyDescriptor','next','treeId','@univerjs-pro/license','rowCount','_apply','15LeZXWc','START_DEPENDENCY_ARRAY_FORMULA','setValue','setFormulaExecuteStage','addOtherFormulaDependencyMainData','generateRandomDependencyTreeId','isAdded','getFormulaDependency','472970csAaPZ','CURRENTLY_CALCULATING_ARRAY_FORMULA','36EJXdft','formula','endColumn','4EXUprd','_createFDtree','intervalCount','setTotalFormulasToCalculate','hasOtherFormulaDataMainData','_removeDependencyRTreeCacheById','pop','RTree','addFormulaDependencyByDefinedName','endRow','node','_removeDependencyRTreeCache','toStringTag','getConfig','1792NafaEj','getValue','exports','_checkIsCycleDependency','size','call','_initLicenseValid','executeAsync','CalculateFormulaService','searchDependency','markedAsStopFunctionsExecuted','_config','FormulaDependencyGenerator','valid','generateAstNode','_injector','_generateTreeList','openKdTree','add','isVirtual','min','IDLE','_convertDirtyRangesToUnitRange','OTHER_FORMULA','columnCount','refOffsetY','featureDirtyRanges','36202dkLgkv','_runtimeService','has','_lexer','addFormulaDependency','return\x20','forValue','delete','refTree','_registerFormulas','isCache','closeKdTree','1050964cicyAb','_formulaData','removeOtherFormulaDependency','_getUpdateTreeListAndMakeDependency','_otherFormulaManagerService','setRuntimeOtherData','removeFeatureFormulaDependency'];_0x1da8=function(){return _0x1f525e;};return _0x1da8();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.10.3-
|
|
3
|
+
"version": "0.10.3-nightly.202508150623",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs-pro/license": "0.10.3-
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs-pro/license": "0.10.3-nightly.202508150623",
|
|
61
|
+
"@univerjs/core": "0.10.3-nightly.202508150623",
|
|
62
|
+
"@univerjs/engine-formula": "0.10.3-nightly.202508150623"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|