@univerjs-pro/engine-formula 0.12.4 → 0.13.0-insiders.20251216-1519cb7
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 +43 -43
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/engine/formula-dependency.d.ts +6 -1
- package/lib/types/engine/lexer-tree-builder.d.ts +14 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3259a6=_0x5e04;(function(_0x44fc07,_0x49c56f){const _0x124663=_0x5e04,_0x140e9d=_0x44fc07();while(!![]){try{const _0x20632f=-parseInt(_0x124663(0x10a))/0x1*(-parseInt(_0x124663(0x9c))/0x2)+parseInt(_0x124663(0x12f))/0x3+-parseInt(_0x124663(0xba))/0x4+-parseInt(_0x124663(0xc3))/0x5*(-parseInt(_0x124663(0xc8))/0x6)+-parseInt(_0x124663(0xe5))/0x7*(-parseInt(_0x124663(0xce))/0x8)+parseInt(_0x124663(0xb8))/0x9+-parseInt(_0x124663(0x11f))/0xa;if(_0x20632f===_0x49c56f)break;else _0x140e9d['push'](_0x140e9d['shift']());}catch(_0x1c404e){_0x140e9d['push'](_0x140e9d['shift']());}}}(_0x37c2,0x9cf9f));var J=Object[_0x3259a6(0xa1)],Z=(_0x4874b0,_0x4afea2,_0x7abc6)=>_0x4afea2 in _0x4874b0?J(_0x4874b0,_0x4afea2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7abc6}):_0x4874b0[_0x4afea2]=_0x7abc6,M=(_0x2903e2,_0x3c41fc,_0x4d8124)=>Z(_0x2903e2,typeof _0x3c41fc!=_0x3259a6(0x117)?_0x3c41fc+'':_0x3c41fc,_0x4d8124);import{UniverLicensePlugin as _0x2f7436,LS_CONFIG_KEY as _0x2ac5af,unshiftString as _0x53284f,isFeatureAuthorizedWithinTime as _0x7d5d24,getSheetFeatureLimit as _0x167def}from'@univerjs-pro/license';import{ObjectMatrix as _0x57fc3a,requestImmediateMacroTask as _0x1d2584,RTree as _0x3b1e60,DependentOn as _0x36d96b}from'@univerjs/core';import{FormulaDependencyGenerator as _0x2a7356,generateRandomDependencyTreeId as _0x38f211,FormulaDependencyTree as _0x561522,FormulaDependencyTreeType as _0x585145,FormulaDependencyTreeVirtual as _0x346ec2,generateAstNode as _0x2069fc,LexerTreeBuilder as _0x5c6d37,ErrorType as _0x57e381,DEFAULT_TOKEN_TYPE_ROOT as _0x471653,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1e9497,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x22e0bc,NEW_EXCEL_FUNCTIONS as _0x3d9dbe,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x459a6a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x2805d1,matchToken as _0xc58be3,SUFFIX_TOKEN_SET as _0x1de32f,prefixToken as _0x5428c8,LexerNode as _0x5a420f,OPERATOR_TOKEN_SET as _0x3623aa,CalculateFormulaService as _0x4278fd,FormulaExecuteStageType as _0x2f0386,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3fb7d4,DEFAULT_INTERVAL_COUNT as _0x4660ca,DependencyManagerBaseService as _0x4cab92,UniverFormulaEnginePlugin as _0x41e239,ICalculateFormulaService as _0x439801,IDependencyManagerService as _0x54930a,IFormulaDependencyGenerator as _0xad1b7b,DependencyManagerService as _0x44198a}from'@univerjs/engine-formula';function _0x5e04(_0x1e49da,_0x4b3ffb){_0x1e49da=_0x1e49da-0x93;const _0x37c27c=_0x37c2();let _0x5e043a=_0x37c27c[_0x1e49da];return _0x5e043a;}export*from'@univerjs/engine-formula';const Ae={0x0:'H',0x1:'K',0x2:'h',0x3:'E',0x4:'y',0x5:'5',0x6:'e',0x7:'Z',0x8:'X',0x9:'C','v':'0','H':'1','X':'2','o':'3','W':'4','t':'6','h':'7','d':'8','s':'9','R':'a','V':'b','r':'c','Q':'d','T':'f','p':'g','w':'i','Z':'j','J':'k','M':'l','a':'m','S':'n','A':'o','b':'p','z':'q','L':'r','N':'s','F':'t','K':'u','u':'v','U':'w','n':'x','G':'z','e':'A','i':'B','O':'D','y':'F','j':'G','B':'I','k':'J','D':'L','Y':'M','m':'N','c':'O','I':'P','l':'Q','g':'R','C':'S','x':'T','f':'U','q':'V','E':'W','P':'Y'},Ne=_0x3259a6(0xd8);class ye extends _0x2a7356{constructor(){super(...arguments),M(this,'_dependencyTreeCache',new Map());}[_0x3259a6(0x9a)](){const _0x3c44c9=_0x3259a6;super['dispose'](),this[_0x3c44c9(0xa8)][_0x3c44c9(0x134)]();}async[_0x3259a6(0xea)](){const _0x1a48c2=_0x3259a6;this[_0x1a48c2(0x11c)]();const _0x1f5c34=this[_0x1a48c2(0xb0)]['getFormulaData'](),_0x222cb0=this[_0x1a48c2(0xb3)][_0x1a48c2(0x13a)](),_0x20de78=this[_0x1a48c2(0xb0)]['getClearDependencyTreeCache']();_0x20de78!=null&&Object[_0x1a48c2(0xe4)](_0x20de78)['forEach'](_0x34062d=>{const _0x504e30=_0x1a48c2;_0x34062d!=null&&Object[_0x504e30(0xe4)](_0x20de78[_0x34062d])['forEach'](_0x3a1583=>{const _0x5d55f3=_0x504e30;_0x3a1583!=null&&(this[_0x5d55f3(0x123)][_0x5d55f3(0xc5)](_0x34062d,_0x3a1583),this[_0x5d55f3(0x123)]['clearFeatureFormulaDependency'](_0x34062d,_0x3a1583),this[_0x5d55f3(0x123)]['clearFormulaDependency'](_0x34062d,_0x3a1583));});});const _0x4b13bc=this['_currentConfigService'][_0x1a48c2(0x140)]();await this[_0x1a48c2(0xfe)](_0x1f5c34,_0x222cb0,_0x4b13bc),this[_0x1a48c2(0x123)]['openKdTree']();const _0x3995d8=this[_0x1a48c2(0x135)](),_0x20bf40=this['_calculateRunList'](_0x3995d8);return this[_0x1a48c2(0x104)](_0x20bf40)&&this['_runtimeService'][_0x1a48c2(0xd7)](),this[_0x1a48c2(0xa8)][_0x1a48c2(0x134)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x1a48c2(0x123)][_0x1a48c2(0xa7)](),this[_0x1a48c2(0x118)][_0x1a48c2(0xe8)](),Promise[_0x1a48c2(0xe1)](_0x20bf40);}[_0x3259a6(0x10b)](_0x575258,_0x4fdec5){const _0x5f4dfa=_0x3259a6,_0x141899=[_0x575258];for(;_0x141899['length']>0x0;){const _0x42329f=_0x141899[_0x141899[_0x5f4dfa(0xe6)]-0x1];if((_0x4fdec5[_0x5f4dfa(0xe3)](_0x42329f)||0x0)===0x0){_0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x1);const _0x1014cb=this[_0x5f4dfa(0xa8)]['get'](_0x42329f);if(_0x1014cb==null){_0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x2),_0x141899[_0x5f4dfa(0xf2)]();continue;}const _0x38e62b=this[_0x5f4dfa(0x123)][_0x5f4dfa(0x13f)](_0x1014cb[_0x5f4dfa(0xf8)]());for(const _0x5d5b99 of _0x38e62b){const _0x1a9a08=_0x4fdec5['get'](_0x5d5b99)||0x0;if(_0x1a9a08===0x1)return!0x0;_0x1a9a08===0x0&&_0x141899[_0x5f4dfa(0xb4)](_0x5d5b99);}}else _0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x2),_0x141899[_0x5f4dfa(0xf2)]();}return!0x1;}[_0x3259a6(0x104)](_0x54bdff){const _0x3c2985=_0x3259a6,_0xf8dc5d=new Map();for(const _0x353581 of _0x54bdff)if(!_0xf8dc5d['has'](_0x353581[_0x3c2985(0x145)])&&this[_0x3c2985(0x10b)](_0x353581[_0x3c2985(0x145)],_0xf8dc5d))return!0x0;return _0xf8dc5d['clear'](),!0x1;}[_0x3259a6(0x13d)](_0x487c2f,_0x1dcb15,_0x2fdd53){const _0x3b3484=_0x3259a6,{unitId:_0x3a663f,subUnitId:_0x16ae4c,dependencyRanges:_0x2ede2c,getDirtyData:_0x5a64a0}=_0x2fdd53,_0x4341e7=_0x1dcb15||_0x38f211(this[_0x3b3484(0x123)]),_0x1158c6=new _0x561522(_0x4341e7);_0x1158c6['unitId']=_0x3a663f,_0x1158c6['subUnitId']=_0x16ae4c,_0x1158c6['rangeList']=_0x2ede2c,_0x1158c6[_0x3b3484(0x10d)]=_0x5a64a0;const _0x119434=_0x5a64a0(this['_currentConfigService']['getDirtyData'](),this[_0x3b3484(0x118)][_0x3b3484(0x144)]()),_0x2dd4cb=this[_0x3b3484(0x129)](_0x119434[_0x3b3484(0x11d)]);return _0x1158c6['featureDirtyRanges']=_0x2dd4cb,_0x1158c6[_0x3b3484(0x131)]=_0x487c2f,_0x1158c6[_0x3b3484(0x128)]=_0x585145[_0x3b3484(0x103)],this[_0x3b3484(0x123)][_0x3b3484(0x9d)](_0x3a663f,_0x16ae4c,_0x487c2f,_0x1158c6),this['_dependencyTreeCache'][_0x3b3484(0xf4)](_0x1158c6['treeId'],_0x1158c6),this[_0x3b3484(0x123)]['getFeatureFormulaDependency'](_0x2fdd53[_0x3b3484(0xaf)],_0x2fdd53[_0x3b3484(0xd5)],_0x487c2f)&&(_0x1158c6['isCache']=!0x0),_0x1158c6;}[_0x3259a6(0xac)](_0x9005b2,_0x5f45e5,_0x4e7c9a){const _0x386cc2=_0x3259a6;var _0x543646;for(const _0x4846a1 of _0x5f45e5){const _0x5caf81=_0x9005b2[_0x4846a1];if(_0x5caf81==null)continue;const _0x2fcb0d=Object[_0x386cc2(0xe4)](_0x5caf81);for(const _0x4650fb of _0x2fcb0d){const _0x2d5ef5=_0x5caf81[_0x4650fb];if(_0x2d5ef5==null)continue;const _0x374b36=Object[_0x386cc2(0xe4)](_0x2d5ef5);for(const _0x5633dd of _0x374b36){const _0x52529b=this[_0x386cc2(0x123)][_0x386cc2(0x125)](_0x5633dd),_0x4c7c81=_0x2d5ef5[_0x5633dd],{f:_0x3abe41,ranges:_0x26d246}=_0x4c7c81;let _0x18034e=!0x1;_0x52529b&&(_0x18034e=!0x0);const {firstRow:_0x25b3ea,firstColumn:_0x18a7dd}=this[_0x386cc2(0x132)](_0x26d246),_0xa6c7aa=this[_0x386cc2(0x123)][_0x386cc2(0x133)](_0x4846a1,_0x4650fb,_0x5633dd),_0x4a506c=(_0x543646=_0xa6c7aa==null?void 0x0:_0xa6c7aa[_0x386cc2(0x142)](0x0,0x0))!=null?_0x543646:_0x38f211(this[_0x386cc2(0x123)]),_0x3f358a=new _0x561522(_0x4a506c);for(let _0x1f7ad1=0x0;_0x1f7ad1<_0x26d246[_0x386cc2(0xe6)];_0x1f7ad1++){const _0x5a380e=_0x26d246[_0x1f7ad1],{startRow:_0x1d75db,startColumn:_0x12d5da,endRow:_0x5dae2d,endColumn:_0x3e8331}=_0x5a380e;for(let _0x4f8b8b=_0x1d75db;_0x4f8b8b<=_0x5dae2d;_0x4f8b8b++)for(let _0x1d7109=_0x12d5da;_0x1d7109<=_0x3e8331;_0x1d7109++){const _0x5110f9=_0x1d7109-_0x18a7dd,_0x9c310b=_0x4f8b8b-_0x25b3ea;if(_0x5110f9===0x0&&_0x9c310b===0x0){_0x3f358a[_0x386cc2(0x12e)]=_0x3abe41,_0x3f358a['unitId']=_0x4846a1,_0x3f358a[_0x386cc2(0xd5)]=_0x4650fb,_0x3f358a[_0x386cc2(0xc9)]=_0x5633dd,_0x3f358a['type']=_0x585145[_0x386cc2(0x115)],_0x3f358a[_0x386cc2(0x106)]=_0x18034e,_0x4e7c9a[_0x386cc2(0xb4)](_0x3f358a),this['_dependencyTreeCache'][_0x386cc2(0xf4)](_0x3f358a[_0x386cc2(0x145)],_0x3f358a),this[_0x386cc2(0x123)][_0x386cc2(0x146)](_0x4846a1,_0x4650fb,_0x5633dd,_0x3f358a),this[_0x386cc2(0x123)][_0x386cc2(0xf3)](_0x3f358a);continue;}const _0x3d03ab=new _0x346ec2();_0x3d03ab['treeId']=(_0xa6c7aa==null?void 0x0:_0xa6c7aa[_0x386cc2(0x142)](_0x5110f9,_0x9c310b))||_0x38f211(this[_0x386cc2(0x123)]),_0x3d03ab['refTree']=_0x3f358a,_0x3d03ab[_0x386cc2(0x130)]=_0x5110f9,_0x3d03ab[_0x386cc2(0xf1)]=_0x9c310b,_0x3d03ab[_0x386cc2(0x106)]=_0x18034e,this[_0x386cc2(0x123)][_0x386cc2(0x146)](_0x4846a1,_0x4650fb,_0x5633dd,_0x3d03ab),this[_0x386cc2(0x123)][_0x386cc2(0xf3)](_0x3d03ab),_0x4e7c9a[_0x386cc2(0xb4)](_0x3d03ab),this[_0x386cc2(0xa8)][_0x386cc2(0xf4)](_0x3d03ab[_0x386cc2(0x145)],_0x3d03ab);}}this[_0x386cc2(0x123)][_0x386cc2(0xa0)](_0x5633dd);}}}}[_0x3259a6(0xd3)](_0x17d6f4,_0x3a12f3,_0x39a481,_0x25c7fb){const _0x2753aa=_0x3259a6;for(const _0x175d6d of _0x17d6f4){const _0x21390e=_0x3a12f3[_0x175d6d];if(_0x21390e==null)continue;const _0x20094a=Object['keys'](_0x21390e);for(const _0x8a36d7 of _0x20094a){const _0x5d5da4=new _0x57fc3a(_0x21390e[_0x8a36d7]||{}),_0x2560c1=new Map();_0x5d5da4[_0x2753aa(0x108)]((_0x5cd1dc,_0x5ae941,_0x223dee)=>{const _0x3251a6=_0x2753aa;if(_0x223dee==null)return!0x0;const {x:_0x31782c=0x0,y:_0x4b30b4=0x0,si:_0x26c6f1}=_0x223dee;if(!(_0x31782c===0x0&&_0x4b30b4===0x0&&_0x26c6f1!=null))return!0x0;const _0x5584f=this['_createFDtree'](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941,_0x39a481,_0x223dee),_0x27daea=this['_dependencyManagerService']['getFormulaDependency'](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941);_0x27daea!=null?_0x5584f[_0x3251a6(0x145)]=_0x27daea:(this[_0x3251a6(0x123)][_0x3251a6(0x12c)](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941,_0x5584f),this['_dependencyManagerService'][_0x3251a6(0xf3)](_0x5584f)),_0x2560c1['set'](_0x26c6f1,_0x5584f),_0x25c7fb[_0x3251a6(0xb4)](_0x5584f),this['_dependencyTreeCache'][_0x3251a6(0xf4)](_0x5584f['treeId'],_0x5584f);}),_0x5d5da4[_0x2753aa(0x108)]((_0xd89eb9,_0x47d29b,_0x23387a)=>{const _0x4a42f4=_0x2753aa;if(_0x23387a==null)return!0x0;const {x:_0x59165d=0x0,y:_0x1aefab=0x0,si:_0x246da2}=_0x23387a;if(_0x59165d===0x0&&_0x1aefab===0x0&&_0x246da2!=null)return!0x0;let _0x2de06a;if(_0x246da2&&_0x2560c1['has'](_0x246da2)){const _0x5d7736=_0x2560c1[_0x4a42f4(0xe3)](_0x246da2);_0x2de06a=this['_createVirtualFDtree'](_0x5d7736,_0x23387a);}else _0x2de06a=this[_0x4a42f4(0x10f)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b,_0x39a481,_0x23387a);const _0xa286f1=this[_0x4a42f4(0x123)][_0x4a42f4(0xd1)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b);_0xa286f1!=null?_0x2de06a[_0x4a42f4(0x145)]=_0xa286f1:(this[_0x4a42f4(0x123)][_0x4a42f4(0x12c)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b,_0x2de06a),this[_0x4a42f4(0x123)][_0x4a42f4(0xf3)](_0x2de06a)),_0x25c7fb[_0x4a42f4(0xb4)](_0x2de06a),this[_0x4a42f4(0xa8)][_0x4a42f4(0xf4)](_0x2de06a['treeId'],_0x2de06a);}),_0x2560c1[_0x2753aa(0x134)]();}}}[_0x3259a6(0x10f)](_0x506e4a,_0x49a187,_0x5ebab3,_0x1ade1e,_0xcec449,_0x46a77e){const _0x8e7bba=_0x3259a6,{f:_0x1e5322,x:_0x5228ff=0x0,y:_0x1f8d78=0x0}=_0x46a77e,_0x32ff8d=new _0x561522(_0x38f211(this[_0x8e7bba(0x123)])),_0x41c2ac=_0xcec449[_0x506e4a][_0x49a187];return _0x32ff8d['formula']=_0x1e5322,_0x32ff8d[_0x8e7bba(0xaf)]=_0x506e4a,_0x32ff8d[_0x8e7bba(0xd5)]=_0x49a187,_0x32ff8d['row']=_0x5ebab3,_0x32ff8d[_0x8e7bba(0x9f)]=_0x1ade1e,_0x32ff8d[_0x8e7bba(0xfb)]=_0x41c2ac[_0x8e7bba(0xfb)],_0x32ff8d[_0x8e7bba(0x10e)]=_0x41c2ac['columnCount'],_0x32ff8d;}[_0x3259a6(0x135)](){const _0x591bed=_0x3259a6,_0x36b2f2=[],_0x4b6fca=new Set(),_0xced6a1=this[_0x591bed(0xb0)][_0x591bed(0xca)](),_0x529179=this[_0x591bed(0xb0)]['getDirtyRanges'](),_0x144681=this[_0x591bed(0x123)]['searchDependency'](_0x529179),_0x1a2210=this[_0x591bed(0x138)]['bulkSearch'](_0x529179);for(const _0x30179 of _0x1a2210)_0x144681['add'](_0x30179);for(const [_0x333929,_0x45cc25]of this[_0x591bed(0xa8)])(_0xced6a1||_0x45cc25[_0x591bed(0x95)]||_0x45cc25[_0x591bed(0xd2)](this[_0x591bed(0xb0)]['getDirtyNameMap']())||_0x144681[_0x591bed(0xa3)](_0x333929)&&!_0x45cc25[_0x591bed(0x12d)](this['_currentConfigService']['getExcludedRange']()))&&!_0x4b6fca[_0x591bed(0xa3)](_0x333929)&&(_0x36b2f2[_0x591bed(0xb4)](_0x45cc25),_0x4b6fca[_0x591bed(0xd0)](_0x333929));for(const [_0xfd32e7,_0x36e8ca]of this[_0x591bed(0xa8)])_0x36e8ca[_0x591bed(0xae)]||(_0x36e8ca['rangeList']['length']=0x0);return _0x36b2f2;}[_0x3259a6(0x121)](_0x143a6b){const _0x4e35c3=_0x3259a6;return this[_0x4e35c3(0xa8)][_0x4e35c3(0xe3)](_0x143a6b);}[_0x3259a6(0x111)](_0x2369d7){const _0x3059ce=_0x3259a6;return _0x2069fc(_0x2369d7[_0x3059ce(0xaf)],_0x2369d7[_0x3059ce(0x12e)],this[_0x3059ce(0x124)],this[_0x3059ce(0x122)],this[_0x3059ce(0xb0)]);}*['_traverse'](_0x3f6bd3,_0x287eb8){const _0x1421f8=_0x3259a6,_0x2e387a=_0x3f6bd3,_0x51750f=new Set();for(;_0x2e387a[_0x1421f8(0xe6)]>0x0;){const _0x256e13=_0x2e387a[_0x1421f8(0xf2)]();if(_0x51750f['clear'](),_0x256e13===void 0x0||_0x256e13['isSkip']())continue;if(_0x256e13[_0x1421f8(0xc6)]()){yield _0x256e13,_0x256e13[_0x1421f8(0x12a)](),_0x287eb8[_0x1421f8(0xd0)](_0x256e13['treeId']);continue;}const _0x538195=this['_dependencyManagerService'][_0x1421f8(0x13f)](_0x256e13[_0x1421f8(0xf8)](),_0x287eb8),_0x519ac4=this[_0x1421f8(0x138)][_0x1421f8(0xf5)](_0x256e13[_0x1421f8(0xf8)](),_0x287eb8);for(const _0x330fd0 of _0x519ac4)_0x538195[_0x1421f8(0xd0)](_0x330fd0);for(const _0x1ae0f5 of _0x538195){const _0x1c57d3=this[_0x1421f8(0xa8)]['get'](_0x1ae0f5);if(!_0x1c57d3)throw new Error(_0x1421f8(0xad));_0x1c57d3[_0x1421f8(0xc6)]()||_0x256e13['isSkip']()||_0x51750f[_0x1421f8(0xd0)](_0x1c57d3);}if(_0x538195[_0x1421f8(0x134)](),_0x51750f['size']===0x0)yield _0x256e13,_0x256e13[_0x1421f8(0x12a)](),_0x287eb8[_0x1421f8(0xd0)](_0x256e13['treeId']);else{_0x256e13[_0x1421f8(0xdb)](),_0x2e387a[_0x1421f8(0xb4)](_0x256e13);for(const _0x4d9bf1 of _0x51750f)_0x2e387a[_0x1421f8(0xb4)](_0x4d9bf1);}}_0x2e387a[_0x1421f8(0xe6)]=0x0,_0x51750f[_0x1421f8(0x134)]();}[_0x3259a6(0x109)](_0x53a8e2){const _0x39f097=_0x3259a6,_0x3ef2b8=[],_0x100d9d=new Set();for(const _0x26d15c of this[_0x39f097(0xe0)](_0x53a8e2,_0x100d9d))_0x3ef2b8['push'](_0x26d15c);return _0x3ef2b8;}}class Me extends _0x5c6d37{constructor(){const _0x1c649a=_0x3259a6;super(...arguments),M(this,_0x1c649a(0xd6),!0x1),M(this,_0x1c649a(0x93),new Set());}['getNewFormulaWithPrefix'](_0x435ee9,_0x342362){const _0x1a00b1=_0x3259a6,_0x1305ac=this[_0x1a00b1(0x9b)](_0x435ee9,!0x1);if(!_0x1305ac||_0x1305ac===_0x57e381[_0x1a00b1(0xcc)]||Array[_0x1a00b1(0x105)](_0x1305ac))return null;const _0xc097ad=[];return this[_0x1a00b1(0xd6)]=!0x1,this[_0x1a00b1(0x139)](_0x1305ac,_0xc097ad,_0x342362),this[_0x1a00b1(0xd6)]?'='+_0xc097ad[_0x1a00b1(0x11e)](''):null;}[_0x3259a6(0x139)](_0x4cca30,_0x349f76,_0x1704a1){const _0x3b76f7=_0x3259a6,_0x1fbeba=_0x4cca30[_0x3b76f7(0xef)](),_0x3a8acc=_0x1fbeba[_0x3b76f7(0xd4)](),_0x5346f6=_0x3a8acc[_0x3b76f7(0x98)](),_0xc41a84=this['_clearFunctionString'](_0x5346f6),_0x5d498d=_0x1704a1(_0xc41a84);let _0x144a64=0x0;_0x1fbeba===_0x471653?_0x144a64=0x3:_0x1fbeba===_0x1e9497?_0x144a64=0x4:_0x1fbeba===_0x22e0bc?_0x144a64=0x5:_0x3d9dbe[_0x3b76f7(0xa3)](_0xc41a84)?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this['_hasNewExcelFunction']=!0x0):_0x5346f6===_0x459a6a?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this['_hasNewExcelFunction']=!0x0,_0x144a64=0x2):_0x5346f6===_0x2805d1?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this[_0x3b76f7(0xd6)]=!0x0,_0x144a64=0x1):_0x5346f6===_0xc58be3[_0x3b76f7(0xe7)]?_0x144a64=0x8:_0x1de32f[_0x3b76f7(0xa3)](_0x5346f6)?_0x144a64=0x7:_0x5346f6===_0x5428c8[_0x3b76f7(0x97)]?(this[_0x3b76f7(0xaa)](_0x4cca30)&&(_0x144a64=0x9),_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba)):(_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),_0x144a64=0xa),_0x5d498d?(_0x144a64!==0x2&&_0x144a64!==0x1&&(_0x144a64=0x6),_0x349f76[_0x3b76f7(0xb4)]('(')):_0x144a64===0x9&&_0x349f76[_0x3b76f7(0xb4)]('(');const _0x1af218=_0x4cca30['getChildren'](),_0x257c72=_0x1af218[_0x3b76f7(0xe6)];if(_0x144a64===0x2){const _0x113a85=_0x1af218[0x0];let _0x3893fc=0x0;_0x113a85 instanceof _0x5a420f&&_0x113a85['getToken']()===_0x22e0bc&&(_0x3893fc=0x1);for(let _0x35c53b=_0x3893fc;_0x35c53b<_0x257c72-0x1;_0x35c53b++){const _0x33693e=_0x1af218[_0x35c53b];if(_0x33693e instanceof _0x5a420f){const _0x5500d2=_0x33693e[_0x3b76f7(0x112)]()[0x0];typeof _0x5500d2=='string'&&(this['_lambdaFunctionParameterSet'][_0x3b76f7(0xa3)](_0x5500d2)&&console[_0x3b76f7(0xbc)](_0x3b76f7(0xa5)+_0x5500d2+_0x3b76f7(0xc1)),this[_0x3b76f7(0x93)][_0x3b76f7(0xd0)](_0x5500d2),_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xf7)+_0x5500d2),this[_0x3b76f7(0xd6)]=!0x0);}_0x349f76[_0x3b76f7(0xb4)](',');}this[_0x3b76f7(0x119)](_0x1af218[_0x257c72-0x1],_0x349f76,_0x1704a1),_0x3893fc===0x1&&(_0x349f76[_0x3b76f7(0xb4)](')'),_0x349f76[_0x3b76f7(0xb4)]('('),this[_0x3b76f7(0x139)](_0x113a85,_0x349f76,_0x1704a1)),_0x349f76['push'](')');return;}else{if(_0x144a64===0x1){for(let _0x355055=0x0;_0x355055<_0x257c72-0x1;_0x355055++){const _0x7bd757=_0x1af218[_0x355055];if(_0x7bd757 instanceof _0x5a420f&&_0x355055%0x2===0x0){const _0x298e0c=_0x7bd757['getChildren']()[0x0];if(typeof _0x298e0c==_0x3b76f7(0xf9)){this['_lambdaFunctionParameterSet']['has'](_0x298e0c)&&console['error'](_0x3b76f7(0xb9)+_0x298e0c+_0x3b76f7(0xc1)),this[_0x3b76f7(0x93)]['add'](_0x298e0c),_0x349f76[_0x3b76f7(0xb4)]('_xlpm.'+_0x298e0c),this[_0x3b76f7(0xd6)]=!0x0,_0x349f76['push'](',');continue;}}if(this[_0x3b76f7(0x119)](_0x7bd757,_0x349f76,_0x1704a1),_0x7bd757 instanceof _0x5a420f){const _0x56ae35=_0x1af218[_0x355055+0x1];_0x56ae35&&_0x56ae35 instanceof _0x5a420f&&_0x349f76[_0x3b76f7(0xb4)](',');}}this[_0x3b76f7(0x119)](_0x1af218[_0x257c72-0x1],_0x349f76,_0x1704a1),_0x349f76[_0x3b76f7(0xb4)](')');return;}else{if(_0x144a64===0x8){const _0x53f583=_0x1af218[0x0],_0x2017d6=_0x1af218[0x1];this[_0x3b76f7(0x119)](_0x53f583,_0x349f76,_0x1704a1),_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),this[_0x3b76f7(0x119)](_0x2017d6,_0x349f76,_0x1704a1);return;}}}for(let _0x5d8834=0x0;_0x5d8834<_0x257c72;_0x5d8834++){const _0x54b87a=_0x1af218[_0x5d8834];if(this[_0x3b76f7(0x119)](_0x54b87a,_0x349f76,_0x1704a1),_0x54b87a instanceof _0x5a420f){const _0x159567=_0x1af218[_0x5d8834+0x1];_0x159567&&_0x159567 instanceof _0x5a420f&&_0x349f76[_0x3b76f7(0xb4)](',');}}_0x144a64===0x7&&_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),(_0x5d498d||_0x144a64===0x9)&&_0x349f76[_0x3b76f7(0xb4)](')');}['_handleNewFunctionChild'](_0x5660b7,_0x3e3f57,_0x3e0655){const _0x17257e=_0x3259a6;_0x5660b7 instanceof _0x5a420f?this['_generateNewFunctionString'](_0x5660b7,_0x3e3f57,_0x3e0655):this['_lambdaFunctionParameterSet'][_0x17257e(0xa3)](_0x5660b7)?(_0x3e3f57[_0x17257e(0xb4)]('_xlpm.'+_0x5660b7),this[_0x17257e(0xd6)]=!0x0):_0x3e3f57[_0x17257e(0xb4)](_0x5660b7);}[_0x3259a6(0x101)](_0x4253e2){const _0x387f5e=_0x3259a6;let _0x538913=_0x4253e2[_0x387f5e(0xd4)]();if(!_0x538913)return _0x538913;const _0x2436a9=_0x538913[0x0];if((_0x2436a9===_0x5428c8['AT']||_0x2436a9===_0x5428c8[_0x387f5e(0x97)]||_0x2436a9===_0x5428c8[_0x387f5e(0x147)])&&(_0x538913=_0x538913[_0x387f5e(0xfa)](0x1)),!_0x538913)return _0x538913;const _0x8de3f7=_0x538913[_0x538913['length']-0x1];return _0x1de32f[_0x387f5e(0xa3)](_0x8de3f7)&&(_0x538913=_0x538913[_0x387f5e(0xfa)](0x0,-0x1)),_0x538913;}[_0x3259a6(0xaa)](_0x52f087){const _0x577b2d=_0x3259a6,_0xc845b4=_0x52f087[_0x577b2d(0x112)]()[0x0];if(!_0xc845b4||!(_0xc845b4 instanceof _0x5a420f)||_0x52f087[_0x577b2d(0x112)]()[_0x577b2d(0xe6)]>0x1)return!0x1;const _0x56ca67=_0xc845b4['getChildren'](),_0x27d0c2=_0x56ca67[_0x577b2d(0xe6)];if(_0x27d0c2===0x1)return!0x1;for(let _0xeca8bd=0x0;_0xeca8bd<_0x27d0c2;_0xeca8bd++){const _0x59f340=_0x56ca67[_0xeca8bd];if(!(_0x59f340 instanceof _0x5a420f)&&_0x3623aa['has'](_0x59f340))return!0x0;}return!0x1;}}class De extends _0x4278fd{async['_apply'](_0x2e53d1=!0x1){const _0x284f9b=_0x3259a6;_0x2e53d1?this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0xbe)]):this['_runtimeService'][_0x284f9b(0x13b)](_0x2f0386[_0x284f9b(0xcf)]),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)]['getRuntimeState']());const _0x3cf2bb=await this[_0x284f9b(0x116)][_0x284f9b(0xea)](),_0x5532ed=this['_interpreter'];_0x2e53d1?(this['_runtimeService'][_0x284f9b(0x13b)](_0x2f0386['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x284f9b(0x13e)](_0x3cf2bb[_0x284f9b(0xe6)])):(this[_0x284f9b(0x118)][_0x284f9b(0x13b)](_0x2f0386['START_CALCULATION']),this[_0x284f9b(0x118)]['setTotalFormulasToCalculate'](_0x3cf2bb['length'])),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0xb7)]());let _0x5afa0f=[];const _0x372e25=this[_0x284f9b(0xd9)]['getConfig'](_0x3fb7d4),_0x2ea178=(_0x372e25==null?void 0x0:_0x372e25[_0x284f9b(0xf6)])||_0x4660ca;let _0xb22103=0x0;const _0x5cae57=_0x3cf2bb['length'];for(;_0x3cf2bb[_0x284f9b(0xe6)]>0x0;){const _0x3c02ac=_0x3cf2bb['pop'](),_0x581a99=_0x2069fc(_0x3c02ac[_0x284f9b(0xaf)],_0x3c02ac[_0x284f9b(0x12e)],this[_0x284f9b(0x124)],this[_0x284f9b(0x122)],this['_currentConfigService']),_0x1ab38c={'node':_0x581a99,'refOffsetX':_0x3c02ac[_0x284f9b(0x130)],'refOffsetY':_0x3c02ac[_0x284f9b(0xf1)]},_0x5acd4f=_0x3c02ac['getDirtyData'];if(_0xb22103%_0x2ea178===0x0&&(await new Promise(_0x482989=>{const _0x1d8ca1=_0x284f9b,_0xed1c94=_0x1d2584(_0x482989);_0x5afa0f[_0x1d8ca1(0xb4)](_0xed1c94);}),_0x2e53d1?(this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0xa2)]),this[_0x284f9b(0x118)][_0x284f9b(0xc0)](_0xb22103+0x1)):(this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0x10c)]),this[_0x284f9b(0x118)][_0x284f9b(0x127)](_0xb22103+0x1)),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0xb7)]()),this[_0x284f9b(0x118)]['isStopExecution']()||_0x1ab38c==null&&_0x5acd4f==null)){this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0x11a)]),this[_0x284f9b(0x118)][_0x284f9b(0xda)](),this[_0x284f9b(0xc4)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0x144)]());return;}this[_0x284f9b(0x118)][_0x284f9b(0x120)](_0x3c02ac[_0x284f9b(0x113)],_0x3c02ac['column'],_0x3c02ac[_0x284f9b(0xfb)],_0x3c02ac[_0x284f9b(0x10e)],_0x3c02ac['subUnitId'],_0x3c02ac[_0x284f9b(0xaf)]);let _0x53a4a6;if(_0x5acd4f!=null&&_0x3c02ac[_0x284f9b(0x131)]!=null){const {runtimeCellData:_0x26d932,dirtyRanges:_0x28113c}=_0x5acd4f(this[_0x284f9b(0xb0)][_0x284f9b(0x10d)](),this['_runtimeService'][_0x284f9b(0x144)]());this[_0x284f9b(0x118)][_0x284f9b(0x107)](_0x3c02ac[_0x284f9b(0x131)],_0x26d932),this[_0x284f9b(0x118)][_0x284f9b(0xcb)](_0x3c02ac[_0x284f9b(0x131)],_0x28113c);}else _0x1ab38c!=null&&(_0x5532ed[_0x284f9b(0xcd)](_0x1ab38c[_0x284f9b(0x96)])?_0x53a4a6=await _0x5532ed[_0x284f9b(0x136)](_0x1ab38c):_0x53a4a6=_0x5532ed['execute'](_0x1ab38c),_0x3c02ac[_0x284f9b(0xc9)]!=null?this[_0x284f9b(0x118)][_0x284f9b(0xe9)](_0x3c02ac['formulaId'],_0x3c02ac[_0x284f9b(0x130)],_0x3c02ac[_0x284f9b(0xf1)],_0x53a4a6):this[_0x284f9b(0x118)]['setRuntimeData'](_0x53a4a6));_0x581a99[_0x284f9b(0x102)](),_0xb22103++;}return _0x5afa0f[_0x284f9b(0xee)](_0x592bfc=>_0x592bfc()),_0x5afa0f=[],_0x5cae57>0x0?this[_0x284f9b(0x118)][_0x284f9b(0x11b)]():_0x2e53d1||this[_0x284f9b(0x118)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x284f9b(0x144)]();}}class we extends _0x4cab92{constructor(){const _0x5a532d=_0x3259a6;super(...arguments),M(this,_0x5a532d(0x137),new Map()),M(this,_0x5a532d(0xb6),new _0x3b1e60(!0x0));}[_0x3259a6(0x12b)](){const _0x40a45a=_0x3259a6;this[_0x40a45a(0x100)][_0x40a45a(0x134)](),this['_featureFormulaData'][_0x40a45a(0x134)](),this[_0x40a45a(0xe2)][_0x40a45a(0x134)](),this[_0x40a45a(0xb6)][_0x40a45a(0x134)](),this['_allTreeMap'][_0x40a45a(0x134)](),this[_0x40a45a(0x110)](),this[_0x40a45a(0xb5)][_0x40a45a(0x134)]();}[_0x3259a6(0x146)](_0xf6763,_0x49446c,_0x515704,_0x23daee){const _0x1b5eab=_0x3259a6;this[_0x1b5eab(0x100)][_0x1b5eab(0xa3)](_0xf6763)||this[_0x1b5eab(0x100)][_0x1b5eab(0xf4)](_0xf6763,new Map());const _0x567126=this['_otherFormulaData'][_0x1b5eab(0xe3)](_0xf6763);_0x567126[_0x1b5eab(0xa3)](_0x49446c)||_0x567126[_0x1b5eab(0xf4)](_0x49446c,new Map());const _0x2172ff=_0x567126[_0x1b5eab(0xe3)](_0x49446c);_0x2172ff[_0x1b5eab(0xa3)](_0x515704)||_0x2172ff[_0x1b5eab(0xf4)](_0x515704,new _0x57fc3a()),_0x2172ff[_0x1b5eab(0xe3)](_0x515704)[_0x1b5eab(0xde)](_0x23daee[_0x1b5eab(0x130)],_0x23daee[_0x1b5eab(0xf1)],_0x23daee[_0x1b5eab(0x145)]);}[_0x3259a6(0xab)](_0x39141f,_0x4efed0,_0x1fb813){const _0x4332c4=_0x3259a6,_0x3c5bbe=this[_0x4332c4(0x100)]['get'](_0x39141f);if(_0x3c5bbe&&_0x3c5bbe[_0x4332c4(0xa3)](_0x4efed0)){const _0x1053ef=_0x3c5bbe[_0x4332c4(0xe3)](_0x4efed0);_0x1fb813[_0x4332c4(0xee)](_0x286afb=>{const _0x426e23=_0x4332c4,_0xf20ab6=_0x1053ef[_0x426e23(0xe3)](_0x286afb);_0xf20ab6!=null&&(_0xf20ab6[_0x426e23(0x108)]((_0x2164a2,_0x585c5a,_0x3737ef)=>{const _0x540756=_0x426e23;this[_0x540756(0xa9)](_0x3737ef),this[_0x540756(0x143)](_0x3737ef);}),_0x1053ef[_0x426e23(0xfc)](_0x286afb),this[_0x426e23(0xb5)]['delete'](_0x286afb));}),_0x1053ef[_0x4332c4(0xb2)]===0x0&&_0x3c5bbe[_0x4332c4(0xfc)](_0x4efed0),_0x3c5bbe['size']===0x0&&this['_otherFormulaData'][_0x4332c4(0xfc)](_0x39141f);}}[_0x3259a6(0xc5)](_0x1a0de4,_0x4d8c56){const _0x52f392=_0x3259a6,_0x28476f=this[_0x52f392(0x100)]['get'](_0x1a0de4);if(_0x4d8c56&&_0x28476f&&_0x28476f['has'](_0x4d8c56)){const _0x128943=_0x28476f['get'](_0x4d8c56);this[_0x52f392(0x126)](_0x1a0de4,_0x4d8c56);for(const _0x2a64e1 of _0x128943[_0x52f392(0xe4)]()){const _0x49f2ed=_0x128943['get'](_0x2a64e1);_0x49f2ed!=null&&(_0x49f2ed['forValue']((_0xd6bc92,_0x509c4d,_0x40c828)=>{const _0x504384=_0x52f392;this['_allTreeMap'][_0x504384(0xe3)](_0x40c828)&&this[_0x504384(0x143)](_0x40c828);}),this[_0x52f392(0xb5)][_0x52f392(0xfc)](_0x2a64e1));}_0x128943[_0x52f392(0x134)]();}else{if(_0x28476f){for(const _0x39f6a1 of _0x28476f[_0x52f392(0xe4)]()){const _0x21d21e=_0x28476f['get'](_0x39f6a1);this[_0x52f392(0x126)](_0x1a0de4,_0x39f6a1);for(const _0x47d087 of _0x21d21e[_0x52f392(0xe4)]()){const _0x2544af=_0x21d21e['get'](_0x47d087);_0x2544af!=null&&(_0x2544af[_0x52f392(0x108)]((_0x4d6c23,_0x56c5da,_0x2e7067)=>{const _0x249dcd=_0x52f392;this[_0x249dcd(0x137)][_0x249dcd(0xe3)](_0x2e7067)&&this[_0x249dcd(0x143)](_0x2e7067);}),this[_0x52f392(0xb5)]['delete'](_0x47d087));}}this[_0x52f392(0x100)]['delete'](_0x1a0de4);}}}[_0x3259a6(0x9d)](_0x3ce82b,_0x396728,_0x3f23a6,_0x1a88d0){const _0x438cf1=_0x3259a6;this[_0x438cf1(0x13c)][_0x438cf1(0xa3)](_0x3ce82b)||this[_0x438cf1(0x13c)][_0x438cf1(0xf4)](_0x3ce82b,new Map());const _0x384a63=this[_0x438cf1(0x13c)][_0x438cf1(0xe3)](_0x3ce82b);_0x384a63[_0x438cf1(0xa3)](_0x396728)||_0x384a63[_0x438cf1(0xf4)](_0x396728,new Map()),_0x384a63[_0x438cf1(0xe3)](_0x396728)['set'](_0x3f23a6,_0x1a88d0[_0x438cf1(0x145)]);}[_0x3259a6(0xa4)](_0x32aefd,_0x4459fa,_0x4897dd){const _0x59972e=_0x3259a6,_0x5a5a3c=this[_0x59972e(0x13c)][_0x59972e(0xe3)](_0x32aefd);if(_0x5a5a3c&&_0x5a5a3c[_0x59972e(0xa3)](_0x4459fa)){const _0x5bf73b=_0x5a5a3c[_0x59972e(0xe3)](_0x4459fa);_0x4897dd[_0x59972e(0xee)](_0x55fc6f=>{const _0x5eaa34=_0x59972e,_0x425820=_0x5bf73b[_0x5eaa34(0xe3)](_0x55fc6f);_0x425820!=null&&(this['_removeDependencyRTreeCache'](_0x425820),_0x5bf73b[_0x5eaa34(0xfc)](_0x55fc6f),this[_0x5eaa34(0x143)](_0x425820));});}}['clearFeatureFormulaDependency'](_0x36205b,_0x2b6cbe){const _0x28ea4d=_0x3259a6,_0x3d513a=this[_0x28ea4d(0x13c)][_0x28ea4d(0xe3)](_0x36205b);if(_0x2b6cbe&&_0x3d513a&&_0x3d513a[_0x28ea4d(0xa3)](_0x2b6cbe)){const _0x2e043a=_0x3d513a['get'](_0x2b6cbe);this['_removeDependencyRTreeCacheById'](_0x36205b,_0x2b6cbe),_0x2e043a[_0x28ea4d(0xee)](_0x5f2a49=>{const _0x3cb256=_0x28ea4d;_0x5f2a49!=null&&this[_0x3cb256(0x143)](_0x5f2a49);}),_0x2e043a[_0x28ea4d(0x134)]();}else _0x3d513a&&(_0x3d513a[_0x28ea4d(0xee)]((_0x11a2cb,_0x367f9e)=>{const _0x341532=_0x28ea4d;this[_0x341532(0x126)](_0x36205b,_0x367f9e),_0x11a2cb[_0x341532(0xee)](_0x1719e5=>{const _0x3b2f56=_0x341532;_0x1719e5!=null&&this[_0x3b2f56(0x143)](_0x1719e5);});}),this[_0x28ea4d(0x13c)][_0x28ea4d(0xfc)](_0x36205b));}[_0x3259a6(0x12c)](_0x2d626e,_0x42de36,_0x2de8dc,_0x25df03,_0x531e66){const _0x24f670=_0x3259a6;this[_0x24f670(0xe2)][_0x24f670(0xa3)](_0x2d626e)||this[_0x24f670(0xe2)][_0x24f670(0xf4)](_0x2d626e,new Map());const _0x4970e0=this['_formulaData'][_0x24f670(0xe3)](_0x2d626e);_0x4970e0[_0x24f670(0xa3)](_0x42de36)||_0x4970e0[_0x24f670(0xf4)](_0x42de36,new _0x57fc3a()),_0x4970e0['get'](_0x42de36)[_0x24f670(0xde)](_0x2de8dc,_0x25df03,_0x531e66['treeId']);}[_0x3259a6(0xeb)](_0xd16d48,_0x1cb9af,_0x25213c,_0x2c7a64){const _0x1d59b4=_0x3259a6,_0x57f082=this[_0x1d59b4(0xe2)][_0x1d59b4(0xe3)](_0xd16d48);if(_0x57f082&&_0x57f082['has'](_0x1cb9af)){const _0xed6c6f=_0x57f082[_0x1d59b4(0xe3)](_0x1cb9af),_0x55d034=_0xed6c6f[_0x1d59b4(0x142)](_0x25213c,_0x2c7a64);if(_0x55d034==null)return;this[_0x1d59b4(0xa9)](_0x55d034),_0xed6c6f['realDeleteValue'](_0x25213c,_0x2c7a64),this[_0x1d59b4(0x143)](_0x55d034);}}[_0x3259a6(0xf0)](_0x4f24cd,_0x20d472){const _0x4d3b41=_0x3259a6,_0x5b5b5b=this['_formulaData'][_0x4d3b41(0xe3)](_0x4f24cd);if(_0x20d472&&_0x5b5b5b&&_0x5b5b5b[_0x4d3b41(0xa3)](_0x20d472)){const _0x3b3aa9=_0x5b5b5b[_0x4d3b41(0xe3)](_0x20d472);this[_0x4d3b41(0x126)](_0x4f24cd,_0x20d472),_0x3b3aa9[_0x4d3b41(0x108)]((_0xaf6dd8,_0x388540,_0x89009e)=>{const _0x1bd183=_0x4d3b41;if(_0x89009e==null)return!0x0;this[_0x1bd183(0x143)](_0x89009e);}),_0x3b3aa9['reset']();}else _0x5b5b5b&&(_0x5b5b5b[_0x4d3b41(0xee)]((_0x52ebf6,_0x472af2)=>{const _0x479438=_0x4d3b41;this[_0x479438(0x126)](_0x4f24cd,_0x472af2),_0x52ebf6[_0x479438(0x108)]((_0x22ced6,_0x42f08d,_0x3c7832)=>{const _0x4493e5=_0x479438;if(_0x3c7832==null)return!0x0;this[_0x4493e5(0x143)](_0x3c7832);});}),this[_0x4d3b41(0xe2)]['delete'](_0x4f24cd));}[_0x3259a6(0xa9)](_0x1bc090){const _0xd7472=_0x3259a6;if(_0x1bc090==null)return;const _0x26075f=this[_0xd7472(0x137)][_0xd7472(0xe3)](_0x1bc090);if(_0x26075f){const _0x276100=[];for(const [_0x3d29ac,_0x172cb5]of _0x26075f)for(const [_0x373bff,_0x413696]of _0x172cb5)_0x276100[_0xd7472(0xb4)]({'unitId':_0x3d29ac,'sheetId':_0x373bff,'range':_0x413696,'id':_0x1bc090});this[_0xd7472(0xb6)]['bulkRemove'](_0x276100);}}[_0x3259a6(0xc7)](_0x103da3,_0x376006){const _0x5b3181=_0x3259a6,_0x32a8e1=this[_0x5b3181(0xbf)][_0x5b3181(0xe3)](_0x103da3);if(_0x32a8e1){const _0x155a81=_0x32a8e1[_0x5b3181(0xe3)](_0x376006);if(_0x155a81){for(const _0x10b916 of _0x155a81)this[_0x5b3181(0xa9)](_0x10b916),this[_0x5b3181(0x143)](_0x10b916);_0x155a81['clear']();}}}[_0x3259a6(0xb1)](){const _0x454d97=_0x3259a6;this[_0x454d97(0xb6)][_0x454d97(0xb1)]();}[_0x3259a6(0xa7)](){const _0x301e9b=_0x3259a6;this[_0x301e9b(0xb6)][_0x301e9b(0xa7)]();}[_0x3259a6(0x143)](_0x34c442){_0x34c442!=null&&this['_allTreeMap']['delete'](_0x34c442);}[_0x3259a6(0x99)](_0x4c4760){const _0x16930d=_0x3259a6;var _0xa98acb,_0x166831;const _0xe633ec=_0x4c4760[_0x16930d(0xec)];let _0x34a3e5=this[_0x16930d(0x137)][_0x16930d(0xe3)](_0x4c4760['treeId']);for(let _0x2e954d=0x0;_0x2e954d<_0xe633ec[_0x16930d(0xe6)];_0x2e954d++){const _0x107c71=_0xe633ec[_0x2e954d];let {unitId:_0x32a10c,sheetId:_0x483312,range:_0x3917d7}=_0x107c71;_0x34a3e5||(_0x34a3e5=new Map(),this[_0x16930d(0x137)][_0x16930d(0xf4)](_0x4c4760[_0x16930d(0x145)],_0x34a3e5)),_0x34a3e5[_0x16930d(0xa3)](_0x32a10c)||_0x34a3e5[_0x16930d(0xf4)](_0x32a10c,new Map());const _0xbacd7a=(_0xa98acb=_0x34a3e5==null?void 0x0:_0x34a3e5[_0x16930d(0xe3)](_0x32a10c))==null?void 0x0:_0xa98acb['get'](_0x483312);_0xbacd7a&&(_0x3917d7={'startRow':Math['min'](_0x3917d7[_0x16930d(0x9e)],_0xbacd7a[_0x16930d(0x9e)]),'startColumn':Math['min'](_0x3917d7[_0x16930d(0xfd)],_0xbacd7a['startColumn']),'endRow':Math['max'](_0x3917d7['endRow'],_0xbacd7a['endRow']),'endColumn':Math[_0x16930d(0xbb)](_0x3917d7[_0x16930d(0xbd)],_0xbacd7a['endColumn'])}),(_0x166831=_0x34a3e5['get'](_0x32a10c))==null||_0x166831['set'](_0x483312,_0x3917d7);}}}var Ce=Object['getOwnPropertyDescriptor'],Le=(_0x35a4f7,_0x1fa2a5,_0x13b4fb,_0x4274c4)=>{const _0x6139d9=_0x3259a6;for(var _0x3435cc=_0x4274c4>0x1?void 0x0:_0x4274c4?Ce(_0x1fa2a5,_0x13b4fb):_0x1fa2a5,_0x19293d=_0x35a4f7[_0x6139d9(0xe6)]-0x1,_0x55e6fb;_0x19293d>=0x0;_0x19293d--)(_0x55e6fb=_0x35a4f7[_0x19293d])&&(_0x3435cc=_0x55e6fb(_0x3435cc)||_0x3435cc);return _0x3435cc;};const ve=Number[_0x3259a6(0x114)](0x6933d6d1);let V=class extends _0x41e239{[_0x3259a6(0xdd)](){const _0x3fcf90=_0x3259a6;var _0x5c0c23,_0x17e5e0;this[_0x3fcf90(0xc2)]()?(this[_0x3fcf90(0x94)]['add']([_0x5c6d37,{'useClass':Me}]),(_0x5c0c23=this[_0x3fcf90(0x141)])!=null&&_0x5c0c23['notExecuteFormula']||[[_0x439801,{'useClass':De}],[_0x54930a,{'useClass':we}],[_0xad1b7b,{'useClass':ye}]][_0x3fcf90(0xee)](_0x51e167=>this['_injector'][_0x3fcf90(0xd0)](_0x51e167))):(this[_0x3fcf90(0x94)]['add']([_0x5c6d37,{'useClass':_0x5c6d37}]),(_0x17e5e0=this[_0x3fcf90(0x141)])!=null&&_0x17e5e0['notExecuteFormula']||[[_0x439801,{'useClass':_0x4278fd}],[_0x54930a,{'useClass':_0x44198a}],[_0xad1b7b,{'useClass':_0x2a7356}]][_0x3fcf90(0xee)](_0x3c3177=>this[_0x3fcf90(0x94)]['add'](_0x3c3177)));}['_initLicenseValid'](){const _0x4445d1=_0x3259a6;var _0x604d75;const _0x55e9b8=(_0x604d75=this[_0x4445d1(0xd9)]['getConfig'](_0x2ac5af))!=null?_0x604d75:{},{ls:_0x444465,pbk:_0x13be61}=_0x55e9b8;if(!_0x444465||!_0x13be61)return!0x1;const _0x52c2e2=_0x53284f(Ne,Ae),_0x12da91=new Function(_0x4445d1(0xff)+_0x52c2e2)()(_0x444465,_0x13be61),_0x2af235=_0x12da91[_0x4445d1(0xa6)];return _0x12da91['valid']&&_0x7d5d24(_0x2af235,'sf',ve)?_0x167def(_0x2af235,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x37c2(){const _0x3e8c78=['next','forEach','getToken','clearFormulaDependency','refOffsetY','pop','addFormulaDependencyByDefinedName','set','bulkSearch','intervalCount','_xlpm.','toRTreeItem','string','slice','rowCount','delete','startColumn','_generateTreeList','return\x20','_otherFormulaData','_clearFunctionString','resetCalculationState','FEATURE_FORMULA','_checkIsCycleDependency','isArray','isCache','setRuntimeFeatureCellData','forValue','_calculateRunList','602373maRdhE','_isCyclicUtilMap','CURRENTLY_CALCULATING','getDirtyData','columnCount','_createFDtree','_restDependencyTreeId','_getTreeNode','getChildren','row','parseInt','OTHER_FORMULA','_formulaDependencyGenerator','symbol','_runtimeService','_handleNewFunctionChild','IDLE','markedAsSuccessfullyExecuted','_updateRangeFlatten','dirtyRanges','join','19750370WpAbkw','setCurrent','_getTreeById','_astTreeBuilder','_dependencyManagerService','_lexer','hasOtherFormulaDataMainData','_removeDependencyRTreeCacheById','setCompletedFormulasCount','type','_convertDirtyRangesToUnitRange','setSkip','reset','addFormulaDependency','isExcludeRange','formula','2277072OcfYEy','refOffsetX','featureId','_getFirstCellOfRange','getOtherFormulaDependency','clear','_getUpdateTreeListAndMakeDependency','executeAsync','_allTreeMap','_dependencyRTreeCacheForAddressFunction','_generateNewFunctionString','getOtherFormulaData','setFormulaExecuteStage','_featureFormulaData','_getFeatureFormulaTree','setTotalArrayFormulasToCalculate','searchDependency','getUnitData','_config','getValue','_removeAllTreeMap','getAllRuntimeData','treeId','addOtherFormulaDependency','PLUS','_lambdaFunctionParameterSet','_injector','isDirty','node','MINUS','toUpperCase','_addAllTreeMap','dispose','treeBuilder','2ileWRK','addFeatureFormulaDependency','startRow','column','addOtherFormulaDependencyMainData','defineProperty','CURRENTLY_CALCULATING_ARRAY_FORMULA','has','removeFeatureFormulaDependency','Lambda\x20parameter\x20name\x20\x22','message','closeKdTree','_dependencyTreeCache','_removeDependencyRTreeCache','_checkAddBracketForMinus','removeOtherFormulaDependency','_registerOtherFormulas','ParentDependencyTree\x20object\x20is\x20null','isVirtual','unitId','_currentConfigService','openKdTree','size','_otherFormulaManagerService','push','_otherFormulaDataMainData','_dependencyRTreeCache','getRuntimeState','7715052agEmst','Let\x20variable\x20name\x20\x22','4209356XjvWkq','max','error','endColumn','START_DEPENDENCY_ARRAY_FORMULA','_definedNameMap','setCompletedArrayFormulasCount','\x22\x20is\x20duplicated.','_initLicenseValid','103895zkQbaE','_executionCompleteListener$','clearOtherFormulaDependency','isAdded','removeFormulaDependencyByDefinedName','258RiYatg','formulaId','isForceCalculate','setRuntimeFeatureRange','VALUE','checkAsyncNode','952gqgMhd','START_DEPENDENCY','add','getFormulaDependency','dependencySheetName','_registerFormulas','trim','subUnitId','_hasNewExcelFunction','enableCycleDependency','TKSrFwAS\x20Q6rL4bFwAS(Mwr6SN6,\x20bKVMwr164)\x20{\x20\x20\x20\x20FL4\x20{\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20Mwr6SN6BSTAIRLFeLLR4\x20=\x20Mwr6SN6.NbMwF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20ALwpwSY6NNRp6\x20=\x20kCcm.bRLN6(RFAV(Mwr6SN6BSTAIRLFeLLR4[X]));\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!ALwpwSY6NNRp6.KQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ALwpwSY6NNRp6.KQ\x20=\x20mKaV6L(Mwr6SN6BSTAIRLFeLLR4[W]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNEALJ6L\x20=\x20F4b6AT\x20EALJ6LjMAVRMCrAb6\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20N6MT\x20wSNFRSr6AT\x20EALJ6LjMAVRMCrAb6;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNiLAUN6L\x20=\x20F4b6AT\x20UwSQAU\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20F4b6AT\x20UwSQAU.MArRFwAS\x20!==\x20\x27KSQ6TwS6Q\x27;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20rASF6nF\x20=\x20wNEALJ6L\x20?\x20N6MT\x20:\x20(wNiLAUN6L\x20?\x20UwSQAU\x20:\x20pMAVRMx2wN);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[X]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(a6NNRp6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[o]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(NwpSRFKL6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSqRMwQ\x20=\x20rASF6nF.__u6LwT4__(NwpSRFKL6,\x20a6NNRp6,\x20bKVMwr164);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20QAaRwS\x20=\x20ALwpwSY6NNRp6.Qa;\x20\x20\x20\x20\x20\x20\x20\x20TKSrFwAS\x20wNOAaRwSYRFr2wSp(AIRFF6LS,\x20A0ANF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LS\x20=\x20AIRFF6LS.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANF\x20=\x20A0ANF.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSIRLFN\x20=\x20bRFF6LS.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFIRLFN\x20=\x202ANF.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!bRFF6LS.wSrMKQ6N(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LS\x20===\x202ANF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(bRFF6LSIRLFN.M6SpF2\x20<\x20X\x20||\x20bRFF6LSIRLFN[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSCKTTwn\x20=\x20bRFF6LSIRLFN.NMwr6(H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFCKTTwn\x20=\x202ANFIRLFN.NMwr6(-bRFF6LSIRLFN.M6SpF2\x20+\x20H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LSCKTTwn\x20===\x202ANFCKTTwn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20M6F\x20QAaRwSqRMwQ\x20=\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(wNiLAUN6L)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20(QAaRwS\x20&&\x20QAaRwS.M6SpF2)\x20?\x20QAaRwS.NAa6((QaBF6a)\x20=>\x20wNOAaRwSYRFr2wSp(QaBF6a,\x20MArRFwAS.2ANFSRa6))\x20:\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(MArRFwAS.2ANFSRa6\x20===\x20\x27MArRM2ANF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x206MN6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20uRMwQ\x20=\x20NwpSqRMwQ\x20&&\x20QAaRwSqRMwQ;\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20ALwpwSY6NNRp6,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20rRFr2\x20(6LLAL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ:\x20TRMN6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_configService','markedAsStopFunctionsExecuted','setAdded','_xlfn.','_initializeWithOverride','setValue','_executionInProgressListener$','_traverse','resolve','_formulaData','get','keys','32837EQsQwo','length','COLON','clearArrayObjectCache','setRuntimeOtherData','generate','removeFormulaDependency','rangeList'];_0x37c2=function(){return _0x3e8c78;};return _0x37c2();}V=Le([_0x36d96b(_0x2f7436)],V);export{V as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x2f765f=_0x3018;(function(_0x5bcbfb,_0xf7a5af){const _0x2aeac8=_0x3018,_0x1ffc51=_0x5bcbfb();while(!![]){try{const _0x2064d=parseInt(_0x2aeac8(0x169))/0x1*(parseInt(_0x2aeac8(0x12d))/0x2)+-parseInt(_0x2aeac8(0x10c))/0x3*(parseInt(_0x2aeac8(0x17d))/0x4)+-parseInt(_0x2aeac8(0x174))/0x5*(-parseInt(_0x2aeac8(0xf9))/0x6)+-parseInt(_0x2aeac8(0x12a))/0x7*(-parseInt(_0x2aeac8(0x10f))/0x8)+-parseInt(_0x2aeac8(0x14c))/0x9*(-parseInt(_0x2aeac8(0x110))/0xa)+-parseInt(_0x2aeac8(0x17e))/0xb+-parseInt(_0x2aeac8(0x14b))/0xc*(parseInt(_0x2aeac8(0x13b))/0xd);if(_0x2064d===_0xf7a5af)break;else _0x1ffc51['push'](_0x1ffc51['shift']());}catch(_0x233efb){_0x1ffc51['push'](_0x1ffc51['shift']());}}}(_0x2e69,0x7a84b));var se=Object[_0x2f765f(0x181)],ae=(_0x1b6ec1,_0x3c5b43,_0x441b7f)=>_0x3c5b43 in _0x1b6ec1?se(_0x1b6ec1,_0x3c5b43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x441b7f}):_0x1b6ec1[_0x3c5b43]=_0x441b7f,C=(_0x531450,_0x5e9754,_0x3d8dab)=>ae(_0x531450,typeof _0x5e9754!=_0x2f765f(0x1c8)?_0x5e9754+'':_0x5e9754,_0x3d8dab);import{LexerTreeBuilder as _0x3a7fe4,ErrorType as _0x7d96ff,DEFAULT_TOKEN_TYPE_ROOT as _0x2d8195,DEFAULT_TOKEN_TYPE_PARAMETER as _0x5a07a4,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x48ac3c,NEW_EXCEL_FUNCTIONS as _0x3b8afa,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x2a6050,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x4074b8,matchToken as _0x3120d0,SUFFIX_TOKEN_SET as _0x25505d,prefixToken as _0x4afaa7,LexerNode as _0x3547fe,OPERATOR_TOKEN_SET as _0x5189e8,isReferenceString as _0x54287c,splitTableStructuredRef as _0x4abbab,FormulaDependencyGenerator as _0x2761c2,generateRandomDependencyTreeId as _0x628ee3,FormulaDependencyTree as _0x428231,FormulaDependencyTreeType as _0x4fbfda,FormulaDependencyTreeVirtual as _0x57b456,generateAstNode as _0x21c28c,CalculateFormulaService as _0x110b53,FormulaExecuteStageType as _0x2ff540,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x169845,DEFAULT_INTERVAL_COUNT as _0x4bd9ba,DependencyManagerBaseService as _0x79b2fb,UniverFormulaEnginePlugin as _0x1d74df,ICalculateFormulaService as _0x714b4b,IDependencyManagerService as _0x48f21d,IFormulaDependencyGenerator as _0x361a6d,DependencyManagerService as _0xeb96c3}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x393322,LS_CONFIG_KEY as _0x3dd3e5,unshiftString as _0x81ce30,isFeatureAuthorizedWithinTime as _0x39ee99,getSheetFeatureLimit as _0x4e4f58}from'@univerjs-pro/license';function _0x2e69(){const _0x5b9320=['_dependencyTreeCache','_getDependencyTreeParenIds','_getTableNameFromStructuredRef','min','enableCycleDependency','column','_isCyclicUtilMap','_endFormulaDependencyTreeModel','unitId','START_DEPENDENCY_ARRAY_FORMULA','set','isCache','_generateTreeList','_astTreeBuilder','_handleNewFunctionChild','startRow','_initLicenseValid','_xlfn.','setCompletedArrayFormulasCount','_getDependencyTreeChildrenIds','sheetId','_configService','_otherFormulaDataMainData','refOffsetY','_config','_generateNewFunctionString','pop','markedAsStopFunctionsExecuted','rangeList','toUpperCase','START_DEPENDENCY','symbol','addFormulaDependency','featureId','_formulaData','clearOtherFormulaDependency','setValue','endRow','7824EKubUx','_checkIsCycleDependency','inRangeData','_generateExprTree','VALUE','type','clearFeatureFormulaDependency','isArray','_initializeGenerateTreeList','setFormulaExecuteStage','getFeatureFormulaDependency','columnCount','endColumn','treeId','markedAsNoFunctionsExecuted','_getFeatureFormulaTree','removeOtherFormulaDependency','searchDependency','_dependencyRTreeCache','722886oaJoVu','next','\x22\x20is\x20duplicated.','40vIUqvz','850030GPpuiO','getFormulaExprTree','_xlpmPrefix','_getUpdateTreeListAndMakeDependency','dirtyRanges','_registerFormulas','_dependencyManagerService','max','_definedNameMap','_hasNewExcelFunction','_lambdaFunctionParameterSet','rowCount','values','setAdded','has','delete','CURRENTLY_CALCULATING','_otherFormulaData','string','refOffsetX','_xlpm.','setRuntimeFeatureCellData','_featureFormulaData','_registerOtherFormulas','removeFormulaDependency','setTotalFormulasToCalculate','1206905ldEuaK','generate','getExcludedRange','109904PRgajy','_clearFunctionString','removeFeatureFormulaDependency','_currentConfigService','subUnitId','executeAsync','getOtherFormulaData','return\x20','_getTreeById','isForceCalculate','FEATURE_FORMULA','_removeDependencyRTreeCache','ParentDependencyTree\x20object\x20is\x20null','forEach','117cfteZB','_formulaDependencyGenerator','markedAsSuccessfullyExecuted','_removeAllTreeMap','dispose','COLON','_clearPrefix','_runtimeService','children','getDirtyNameMap','_xlfnPrefix','addFormulaDependencyByDefinedName','_handleTextNodeForExprTree','_updateRangeFlatten','setCompletedFormulasCount','_resetPrefix','1823628oYyMyz','45GBbiEJ','_handleLambdaForExprTree','getOtherFormulaDependency','notExecuteFormula','slice','getAllRuntimeData','formula','isDirty','forValue','length','getToken','getNewFormulaWithPrefix','_executionInProgressListener$','_getCurNodeTypeForExprTree','OTHER_FORMULA','trim','_removeDependencyRTreeCacheById','dependencySheetName','_injector','getRuntimeState','startColumn','parseInt','_lexer','setSkip','START_CALCULATION_ARRAY_FORMULA','setRuntimeFeatureRange','refTree','_currentUnitId','isAdded','18Podmqa','isStopExecution','_checkAddBracketForMinus','getConfig','_restDependencyTreeId','setTotalArrayFormulasToCalculate','addFeatureFormulaDependency','startsWith','Let\x20variable\x20name\x20\x22','_getTreeNode','bulkSearch','2260WbCsMx','_getFirstCellOfRange','clearArrayObjectCache','_otherFormulaManagerService','addOtherFormulaDependency','bulkRemove','formulaId','error','getFormulaData','12ryltNB','3005112PndiMj','_allTreeMap','Lambda\x20parameter\x20name\x20\x22','defineProperty','resolve','_apply','getDirtyData','get','_getAllDependencyJson','endsWith','PLUS','MINUS','_isCalculateTreeModel','_calculateRunList','_dependencyRTreeCacheForAddressFunction','getClearDependencyTreeCache','openKdTree','row','_handleChildrenForExprTree','add','push','clearFormulaDependency','value','size','getChildren','treeBuilder','_addAllTreeMap','hasOtherFormulaDataMainData','toRTreeItem','addOtherFormulaDependencyMainData','START_CALCULATION','_executionCompleteListener$','_traverse','getUnitData','keys','_createFDtree','closeKdTree','clear','isVirtual','_getAllTreeList','isSkip','getValue','resetCalculationState'];_0x2e69=function(){return _0x5b9320;};return _0x2e69();}function _0x3018(_0x5be713,_0x2ed1ce){_0x5be713=_0x5be713-0xf3;const _0x2e692a=_0x2e69();let _0x30188b=_0x2e692a[_0x5be713];return _0x30188b;}import{ObjectMatrix as _0x1a1dd8,requestImmediateMacroTask as _0x2df583,RTree as _0x5ceaa5,DependentOn as _0x51b35c}from'@univerjs/core';class Ee extends _0x3a7fe4{constructor(){const _0x3915e2=_0x2f765f;super(...arguments),C(this,_0x3915e2(0x119),!0x1),C(this,_0x3915e2(0x11a),new Set()),C(this,_0x3915e2(0x112),'_xlpm.'),C(this,_0x3915e2(0x145),_0x3915e2(0x1ba)),C(this,_0x3915e2(0x167),'');}[_0x2f765f(0x14a)](){const _0x136829=_0x2f765f;this['_xlpmPrefix']=_0x136829(0x124),this[_0x136829(0x145)]=_0x136829(0x1ba);}[_0x2f765f(0x141)](){const _0x90df7a=_0x2f765f;this[_0x90df7a(0x112)]='',this[_0x90df7a(0x145)]='';}[_0x2f765f(0x157)](_0x5eaebd,_0x218c26){const _0x471a16=_0x2f765f,_0x522144=this['treeBuilder'](_0x5eaebd,!0x1);if(!_0x522144||_0x522144===_0x7d96ff['VALUE']||Array[_0x471a16(0x100)](_0x522144))return null;const _0x452d71=[];return this[_0x471a16(0x119)]=!0x1,this[_0x471a16(0x1c2)](_0x522144,_0x452d71,_0x218c26),this['_hasNewExcelFunction']?'='+_0x452d71['join'](''):null;}[_0x2f765f(0x1c2)](_0x107709,_0x193818,_0x1c422a){const _0x90ff14=_0x2f765f,_0xef4483=_0x107709[_0x90ff14(0x156)](),_0xcc6cbe=_0xef4483[_0x90ff14(0x15b)](),_0x900377=_0xcc6cbe[_0x90ff14(0x1c6)](),_0x5b0a2c=this[_0x90ff14(0x12e)](_0x900377),_0x4c3565=_0x1c422a(_0x5b0a2c);let _0x457cda=0x0;_0xef4483===_0x2d8195?_0x457cda=0x3:_0xef4483===_0x5a07a4?_0x457cda=0x4:_0xef4483===_0x48ac3c?_0x457cda=0x5:_0x3b8afa[_0x90ff14(0x11e)](_0x5b0a2c)?(_0x193818['push'](''+this[_0x90ff14(0x145)]+_0xcc6cbe),this[_0x90ff14(0x119)]=!0x0):_0x900377===_0x2a6050?(_0x193818['push'](''+this[_0x90ff14(0x145)]+_0xcc6cbe),this[_0x90ff14(0x119)]=!0x0,_0x457cda=0x2):_0x900377===_0x4074b8?(_0x193818[_0x90ff14(0x192)](''+this[_0x90ff14(0x145)]+_0xcc6cbe),this[_0x90ff14(0x119)]=!0x0,_0x457cda=0x1):_0x900377===_0x3120d0[_0x90ff14(0x140)]?_0x457cda=0x8:_0x25505d[_0x90ff14(0x11e)](_0x900377)?_0x457cda=0x7:_0x900377===_0x4afaa7[_0x90ff14(0x189)]?(this[_0x90ff14(0x16b)](_0x107709)&&(_0x457cda=0x9),_0x193818[_0x90ff14(0x192)](_0xef4483)):(_0x193818['push'](_0xef4483),_0x457cda=0xa),_0x4c3565?(_0x457cda!==0x2&&_0x457cda!==0x1&&(_0x457cda=0x6),_0x193818[_0x90ff14(0x192)]('(')):_0x457cda===0x9&&_0x193818[_0x90ff14(0x192)]('(');const _0x14d01d=_0x107709[_0x90ff14(0x196)](),_0xf77068=_0x14d01d[_0x90ff14(0x155)];if(_0x457cda===0x2){const _0x27815a=_0x14d01d[0x0];let _0x2388df=0x0;_0x27815a instanceof _0x3547fe&&_0x27815a[_0x90ff14(0x156)]()===_0x48ac3c&&(_0x2388df=0x1);for(let _0x4d180e=_0x2388df;_0x4d180e<_0xf77068-0x1;_0x4d180e++){const _0x4e0e63=_0x14d01d[_0x4d180e];if(_0x4e0e63 instanceof _0x3547fe){const _0x5e2102=_0x4e0e63['getChildren']()[0x0];typeof _0x5e2102=='string'&&(this['_lambdaFunctionParameterSet']['has'](_0x5e2102)&&console[_0x90ff14(0x17b)](_0x90ff14(0x180)+_0x5e2102+_0x90ff14(0x10e)),this['_lambdaFunctionParameterSet'][_0x90ff14(0x191)](_0x5e2102),_0x193818[_0x90ff14(0x192)](''+this['_xlpmPrefix']+_0x5e2102),this['_hasNewExcelFunction']=!0x0);}_0x193818['push'](',');}this[_0x90ff14(0x1b7)](_0x14d01d[_0xf77068-0x1],_0x193818,_0x1c422a),_0x2388df===0x1&&(_0x193818['push'](')'),_0x193818[_0x90ff14(0x192)]('('),this[_0x90ff14(0x1c2)](_0x27815a,_0x193818,_0x1c422a)),_0x193818[_0x90ff14(0x192)](')');return;}else{if(_0x457cda===0x1){for(let _0x3fabb1=0x0;_0x3fabb1<_0xf77068-0x1;_0x3fabb1++){const _0x152df6=_0x14d01d[_0x3fabb1];if(_0x152df6 instanceof _0x3547fe&&_0x3fabb1%0x2===0x0){const _0x31597b=_0x152df6[_0x90ff14(0x196)]()[0x0];if(typeof _0x31597b==_0x90ff14(0x122)){this[_0x90ff14(0x11a)]['has'](_0x31597b)&&console[_0x90ff14(0x17b)](_0x90ff14(0x171)+_0x31597b+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x90ff14(0x191)](_0x31597b),_0x193818[_0x90ff14(0x192)](''+this['_xlpmPrefix']+_0x31597b),this[_0x90ff14(0x119)]=!0x0,_0x193818['push'](',');continue;}}if(this['_handleNewFunctionChild'](_0x152df6,_0x193818,_0x1c422a),_0x152df6 instanceof _0x3547fe){const _0xd4ed8b=_0x14d01d[_0x3fabb1+0x1];_0xd4ed8b&&_0xd4ed8b instanceof _0x3547fe&&_0x193818['push'](',');}}this[_0x90ff14(0x1b7)](_0x14d01d[_0xf77068-0x1],_0x193818,_0x1c422a),_0x193818[_0x90ff14(0x192)](')');return;}else{if(_0x457cda===0x8){const _0x550e3f=_0x14d01d[0x0],_0x11beca=_0x14d01d[0x1];this[_0x90ff14(0x1b7)](_0x550e3f,_0x193818,_0x1c422a),_0x193818[_0x90ff14(0x192)](_0xef4483),this['_handleNewFunctionChild'](_0x11beca,_0x193818,_0x1c422a);return;}}}for(let _0x4a298d=0x0;_0x4a298d<_0xf77068;_0x4a298d++){const _0x13013f=_0x14d01d[_0x4a298d];if(this[_0x90ff14(0x1b7)](_0x13013f,_0x193818,_0x1c422a),_0x13013f instanceof _0x3547fe){const _0x199821=_0x14d01d[_0x4a298d+0x1];_0x199821&&_0x199821 instanceof _0x3547fe&&_0x193818[_0x90ff14(0x192)](',');}}_0x457cda===0x7&&_0x193818[_0x90ff14(0x192)](_0xef4483),(_0x4c3565||_0x457cda===0x9)&&_0x193818['push'](')');}[_0x2f765f(0x1b7)](_0xc34ab9,_0x4941f7,_0x58ba00){const _0x17ba40=_0x2f765f;_0xc34ab9 instanceof _0x3547fe?this[_0x17ba40(0x1c2)](_0xc34ab9,_0x4941f7,_0x58ba00):this[_0x17ba40(0x11a)]['has'](_0xc34ab9)?(_0x4941f7[_0x17ba40(0x192)](''+this['_xlpmPrefix']+_0xc34ab9),this['_hasNewExcelFunction']=!0x0):_0x4941f7['push'](_0xc34ab9);}[_0x2f765f(0x12e)](_0x2fff00){const _0x1a5a0c=_0x2f765f;let _0x11c8a5=_0x2fff00[_0x1a5a0c(0x15b)]();if(!_0x11c8a5)return _0x11c8a5;const _0x19732c=_0x11c8a5[0x0];if((_0x19732c===_0x4afaa7['AT']||_0x19732c===_0x4afaa7[_0x1a5a0c(0x189)]||_0x19732c===_0x4afaa7[_0x1a5a0c(0x188)])&&(_0x11c8a5=_0x11c8a5[_0x1a5a0c(0x150)](0x1)),!_0x11c8a5)return _0x11c8a5;const _0x385c7d=_0x11c8a5[_0x11c8a5[_0x1a5a0c(0x155)]-0x1];return _0x25505d[_0x1a5a0c(0x11e)](_0x385c7d)&&(_0x11c8a5=_0x11c8a5[_0x1a5a0c(0x150)](0x0,-0x1)),_0x11c8a5;}['_checkAddBracketForMinus'](_0x3aa6a3){const _0x2e2f22=_0x2f765f,_0x18f61a=_0x3aa6a3['getChildren']()[0x0];if(!_0x18f61a||!(_0x18f61a instanceof _0x3547fe)||_0x3aa6a3[_0x2e2f22(0x196)]()[_0x2e2f22(0x155)]>0x1)return!0x1;const _0x2703dd=_0x18f61a[_0x2e2f22(0x196)](),_0x4102f1=_0x2703dd[_0x2e2f22(0x155)];if(_0x4102f1===0x1)return!0x1;for(let _0x44c156=0x0;_0x44c156<_0x4102f1;_0x44c156++){const _0x521461=_0x2703dd[_0x44c156];if(!(_0x521461 instanceof _0x3547fe)&&_0x5189e8[_0x2e2f22(0x11e)](_0x521461))return!0x0;}return!0x1;}[_0x2f765f(0x111)](_0x45e479,_0x3c400f,_0x2a5879,_0x24f1aa,_0x3d2983){const _0x2fe1d5=_0x2f765f,_0x35931a=this[_0x2fe1d5(0x197)](_0x45e479,!0x1);if(!_0x35931a||_0x35931a===_0x7d96ff[_0x2fe1d5(0xfd)]||Array['isArray'](_0x35931a))return null;this[_0x2fe1d5(0x141)](),this[_0x2fe1d5(0x167)]=_0x3c400f;const _0x408e4c=this['_generateExprTree'](_0x35931a,_0x2a5879,_0x24f1aa,_0x3d2983);return this['_currentUnitId']='',this[_0x2fe1d5(0x14a)](),_0x408e4c;}[_0x2f765f(0xfc)](_0x8bee25,_0x44c80a,_0x568b73,_0x22e80d){const _0x55660e=_0x2f765f,_0x17298c={'value':'','children':[]};let _0x327936=_0x8bee25;if(_0x327936 instanceof _0x3547fe&&(_0x327936[_0x55660e(0x156)]()===_0x2d8195||_0x327936[_0x55660e(0x156)]()===_0x5a07a4)&&_0x327936[_0x55660e(0x196)]()[_0x55660e(0x155)]===0x1&&(_0x327936=_0x327936[_0x55660e(0x196)]()[0x0]),!(_0x327936 instanceof _0x3547fe))return this[_0x55660e(0x147)](_0x327936,_0x568b73,_0x22e80d);const _0x3cd2dd=_0x327936[_0x55660e(0x196)](),_0x400b00=_0x3cd2dd[_0x55660e(0x155)],_0x263de1=[];this[_0x55660e(0x1c2)](_0x327936,_0x263de1,_0x44c80a),_0x17298c[_0x55660e(0x194)]=_0x263de1['join']('');const _0x5e18c4=this[_0x55660e(0x159)](_0x327936);if(_0x5e18c4===0x2){const _0x1ee6cc=_0x3cd2dd[0x0];if(_0x1ee6cc instanceof _0x3547fe){if(_0x1ee6cc['getToken']()[_0x55660e(0x15b)]()!==_0x48ac3c)return _0x17298c;this[_0x55660e(0x14d)](_0x1ee6cc,_0x17298c,_0x44c80a,_0x568b73,_0x22e80d);}return _0x17298c;}else{if(_0x5e18c4===0x1){for(let _0x251071=0x0;_0x251071<_0x400b00-0x1;_0x251071++){const _0x17e25f=_0x3cd2dd[_0x251071];if(_0x17e25f instanceof _0x3547fe&&_0x251071%0x2===0x1){const _0x570bba=_0x17e25f['getChildren']();if(_0x570bba[_0x55660e(0x155)]===0x1&&!(_0x570bba[0x0]instanceof _0x3547fe))continue;const _0x1670c7=this['_generateExprTree'](_0x17e25f,_0x44c80a,_0x568b73,_0x22e80d);_0x1670c7&&_0x17298c[_0x55660e(0x143)]['push'](_0x1670c7);}}return _0x17298c;}}return this['_handleChildrenForExprTree'](_0x3cd2dd,_0x5e18c4,_0x17298c,_0x44c80a,_0x568b73,_0x22e80d),_0x17298c;}[_0x2f765f(0x190)](_0x1a203c,_0x5b085d,_0x59f619,_0x483b53,_0x92128,_0x1b3ff7){const _0x1abe79=_0x2f765f;for(let _0x786bf2=0x0;_0x786bf2<_0x1a203c['length'];_0x786bf2++){let _0x57093c=_0x1a203c[_0x786bf2];if(!(_0x57093c instanceof _0x3547fe)){const _0x53325f=this[_0x1abe79(0x147)](_0x57093c,_0x92128,_0x1b3ff7);_0x53325f&&_0x59f619['children'][_0x1abe79(0x192)](_0x53325f);continue;}const _0xec400=_0x57093c[_0x1abe79(0x196)]();if(_0xec400[_0x1abe79(0x155)]===0x1&&!(_0xec400[0x0]instanceof _0x3547fe)){const _0x449332=_0xec400[0x0];if(!_0x92128(this[_0x1abe79(0x167)],_0x449332)&&!this[_0x1abe79(0x1ab)](_0x449332,_0x1b3ff7)&&!_0x54287c(_0x449332))continue;}if(_0x5b085d===0x8){const _0x343457=_0xec400[0x0];if(_0x343457 instanceof _0x3547fe){const _0x11f939=_0x343457[_0x1abe79(0x156)]()[_0x1abe79(0x15b)]();if(_0x54287c(_0x11f939))continue;_0x57093c=_0x343457;}}const _0x3de4b0=this[_0x1abe79(0xfc)](_0x57093c,_0x483b53,_0x92128,_0x1b3ff7);_0x3de4b0&&_0x59f619[_0x1abe79(0x143)][_0x1abe79(0x192)](_0x3de4b0);}}[_0x2f765f(0x147)](_0x57cc3b,_0x46d9a0,_0x1887e6){const _0x1359fc=_0x2f765f,_0x5874cb=_0x57cc3b[_0x1359fc(0x15b)]();return _0x5874cb[_0x1359fc(0x170)]('{')&&_0x5874cb[_0x1359fc(0x187)]('}')||_0x46d9a0(this[_0x1359fc(0x167)],_0x5874cb)||this[_0x1359fc(0x1ab)](_0x5874cb,_0x1887e6)||_0x54287c(_0x5874cb)?{'value':_0x5874cb,'children':[]}:null;}[_0x2f765f(0x1ab)](_0x39dd8f,_0xdd20f8){const {tableName:_0x4ce956}=_0x4abbab(_0x39dd8f);return _0xdd20f8(this['_currentUnitId'],_0x4ce956)?_0x4ce956:null;}['_handleLambdaForExprTree'](_0x2b052b,_0x1cf01d,_0x4cdcca,_0x1f4188,_0x147c3c){const _0x11496d=_0x2f765f,_0xd794ea=_0x2b052b[_0x11496d(0x196)]();for(let _0x4a95a3=0x0;_0x4a95a3<_0xd794ea[_0x11496d(0x155)];_0x4a95a3++){const _0x46c6e4=_0xd794ea[_0x4a95a3];if(!(_0x46c6e4 instanceof _0x3547fe))continue;const _0x4ad9d=_0x46c6e4[_0x11496d(0x196)]();if(_0x4ad9d[_0x11496d(0x155)]===0x1&&!(_0x4ad9d[0x0]instanceof _0x3547fe))continue;const _0x524632=this['_generateExprTree'](_0x46c6e4,_0x4cdcca,_0x1f4188,_0x147c3c);_0x524632&&_0x1cf01d[_0x11496d(0x143)][_0x11496d(0x192)](_0x524632);}}[_0x2f765f(0x159)](_0x27015e){const _0x12ea35=_0x2f765f,_0x200368=_0x27015e[_0x12ea35(0x156)](),_0x102238=_0x200368['trim']()[_0x12ea35(0x1c6)]();let _0xd997d9=0x0;return _0x200368===_0x2d8195?_0xd997d9=0x3:_0x200368===_0x5a07a4?_0xd997d9=0x4:_0x200368===_0x48ac3c?_0xd997d9=0x5:_0x102238===_0x2a6050?_0xd997d9=0x2:_0x102238===_0x4074b8?_0xd997d9=0x1:_0x102238===_0x3120d0[_0x12ea35(0x140)]?_0xd997d9=0x8:_0x25505d[_0x12ea35(0x11e)](_0x102238)?_0xd997d9=0x7:_0x102238===_0x4afaa7[_0x12ea35(0x189)]?this['_checkAddBracketForMinus'](_0x27015e)&&(_0xd997d9=0x9):_0xd997d9=0xa,_0xd997d9;}}const Me={0x0:'5',0x1:'u',0x2:'g',0x3:'9',0x4:'m',0x5:'W',0x6:'k',0x7:'x',0x8:'L',0x9:'i','N':'0','S':'1','M':'2','K':'3','C':'4','G':'6','P':'7','W':'8','z':'a','a':'b','F':'c','E':'d','T':'e','I':'f','R':'h','s':'j','H':'l','v':'n','p':'o','d':'p','h':'q','i':'r','e':'s','g':'t','f':'v','X':'w','y':'y','D':'z','J':'A','U':'B','Q':'C','x':'D','b':'E','Z':'F','Y':'G','O':'H','t':'I','o':'J','q':'K','B':'M','l':'N','k':'O','V':'P','n':'Q','j':'R','A':'S','L':'T','u':'U','c':'V','w':'X','r':'Y','m':'Z'},Re='I1vFg9pv\x20ETFiydg9pv(H9FTveT,\x20d1aH9FqTy)\x20{\x20\x20\x20\x20giy\x20{\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20H9FTveTtvIpVzigJiizy\x20=\x20H9FTveT.edH9g(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20pi929vBTeez2T\x20=\x20oAkl.dzieT(zgpa(H9FTveTtvIpVzigJiizy[M]));\x20\x20\x20\x20\x20\x20\x20\x209I\x20(!pi929vBTeez2T.1E)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pi929vBTeez2T.1E\x20=\x20l14aTi(H9FTveTtvIpVzigJiizy[C]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x209e5pi6Ti\x20=\x20gydTpI\x205pi6TiYHpazHAFpdT\x20!==\x20\x271vETI9vTE\x27\x20&&\x20eTHI\x209vegzvFTpI\x205pi6TiYHpazHAFpdT;\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x209eUipXeTi\x20=\x20gydTpI\x20X9vEpX\x20!==\x20\x271vETI9vTE\x27\x20&&\x20gydTpI\x20X9vEpX.HpFzg9pv\x20!==\x20\x271vETI9vTE\x27;\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20FpvgT7g\x20=\x209e5pi6Ti\x20?\x20eTHI\x20:\x20(9eUipXeTi\x20?\x20X9vEpX\x20:\x202HpazHLR9e);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x204Teez2T5piE\x20=\x20FpvgT7g.__UzeTGC__.dzieT(H9FTveTtvIpVzigJiizy[M]);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x204Teez2T\x20=\x20FpvgT7g.__OT7__.egi9v29Iy(4Teez2T5piE);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20e92vzg1iT5piE\x20=\x20FpvgT7g.__UzeTGC__.dzieT(H9FTveTtvIpVzigJiizy[K]);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20e92vzg1iT\x20=\x20FpvgT7g.__OT7__.egi9v29Iy(e92vzg1iT5piE);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20e92vczH9E\x20=\x20FpvgT7g.__fTi9Iy__(e92vzg1iT,\x204Teez2T,\x20d1aH9FqTy);\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20Ep4z9v\x20=\x20pi929vBTeez2T.E4;\x20\x20\x20\x20\x20\x20\x20\x20I1vFg9pv\x209exp4z9vBzgFR9v2(pVzggTiv,\x20pOpeg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20dzggTiv\x20=\x20pVzggTiv.iTdHzFT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20Rpeg\x20=\x20pOpeg.iTdHzFT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20dzggTivVzige\x20=\x20dzggTiv.edH9g(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20RpegVzige\x20=\x20Rpeg.edH9g(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209I\x20(!dzggTiv.9vFH1ETe(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iTg1iv\x20dzggTiv\x20===\x20Rpeg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209I\x20(dzggTivVzige.HTv2gR\x20<\x20M\x20||\x20dzggTivVzige[N]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iTg1iv\x20IzHeT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20dzggTivA1II97\x20=\x20dzggTivVzige.eH9FT(S).sp9v(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20RpegA1II97\x20=\x20RpegVzige.eH9FT(-dzggTivVzige.HTv2gR\x20+\x20S).sp9v(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iTg1iv\x20dzggTivA1II97\x20===\x20RpegA1II97;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HTg\x20Ep4z9vczH9E\x20=\x20IzHeT;\x20\x20\x20\x20\x20\x20\x20\x209I\x20(9eUipXeTi)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ep4z9vczH9E\x20=\x20(Ep4z9v\x20&&\x20Ep4z9v.HTv2gR)\x20?\x20Ep4z9v.ep4T((E4tgT4)\x20=>\x209exp4z9vBzgFR9v2(E4tgT4,\x20HpFzg9pv.Rpegvz4T))\x20:\x20gi1T;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209I\x20(HpFzg9pv.Rpegvz4T\x20===\x20\x27HpFzHRpeg\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ep4z9vczH9E\x20=\x20gi1T;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20THeT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ep4z9vczH9E\x20=\x20gi1T;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Fpveg\x20fzH9E\x20=\x20e92vczH9E\x20&&\x20Ep4z9vczH9E;\x20\x20\x20\x20\x20\x20\x20\x20iTg1iv\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fzH9E,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204Teez2T:\x20pi929vBTeez2T,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20FzgFR\x20(Tiipi)\x20{\x20\x20\x20\x20\x20\x20\x20\x20iTg1iv\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fzH9E:\x20IzHeT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204Teez2T:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Se extends _0x2761c2{constructor(){const _0x4cdacb=_0x2f765f;super(...arguments),C(this,_0x4cdacb(0x1a9),new Map());}['dispose'](){const _0x135327=_0x2f765f;super[_0x135327(0x13f)](),this[_0x135327(0x1a9)][_0x135327(0x1a3)]();}async[_0x2f765f(0x12b)](_0x511b33=!0x1){const _0x993c01=_0x2f765f;this[_0x993c01(0x148)]();const _0x51171d=this[_0x993c01(0x130)][_0x993c01(0x17c)](),_0x49ba2e=this[_0x993c01(0x177)][_0x993c01(0x133)](),_0x165a6f=this[_0x993c01(0x130)][_0x993c01(0x18d)]();_0x165a6f!=null&&Object['keys'](_0x165a6f)[_0x993c01(0x13a)](_0xf0219a=>{const _0x2723e4=_0x993c01;_0xf0219a!=null&&Object[_0x2723e4(0x1a0)](_0x165a6f[_0xf0219a])[_0x2723e4(0x13a)](_0x542adc=>{const _0x38dd1b=_0x2723e4;_0x542adc!=null&&(this['_dependencyManagerService'][_0x38dd1b(0xf6)](_0xf0219a,_0x542adc),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0xf0219a,_0x542adc),this['_dependencyManagerService']['clearFormulaDependency'](_0xf0219a,_0x542adc));});});const _0xfe03ad=this[_0x993c01(0x130)][_0x993c01(0x19f)]();await this[_0x993c01(0x1b5)](_0x51171d,_0x49ba2e,_0xfe03ad),this[_0x993c01(0x116)][_0x993c01(0x18e)]();const _0x4d8422=this['_getUpdateTreeListAndMakeDependency'](),_0x331efb=this[_0x993c01(0x18b)](_0x4d8422);return this[_0x993c01(0xfa)](_0x331efb)&&this[_0x993c01(0x142)][_0x993c01(0x1ad)](),_0x511b33&&this[_0x993c01(0x142)]['setDependencyTreeModelData'](this[_0x993c01(0x186)](Array['from'](this[_0x993c01(0x1a9)][_0x993c01(0x11c)]()))),this[_0x993c01(0x1a9)][_0x993c01(0x1a3)](),this[_0x993c01(0x18c)][_0x993c01(0x1a3)](),this['_dependencyManagerService'][_0x993c01(0x1a2)](),this[_0x993c01(0x142)][_0x993c01(0x176)](),Promise[_0x993c01(0x182)](_0x331efb);}[_0x2f765f(0x1af)](_0x2d1e15,_0x49e30a){const _0x4b68c0=_0x2f765f,_0x55ad07=[_0x2d1e15];for(;_0x55ad07[_0x4b68c0(0x155)]>0x0;){const _0x207628=_0x55ad07[_0x55ad07[_0x4b68c0(0x155)]-0x1];if((_0x49e30a[_0x4b68c0(0x185)](_0x207628)||0x0)===0x0){_0x49e30a[_0x4b68c0(0x1b3)](_0x207628,0x1);const _0x9f23ba=this[_0x4b68c0(0x1a9)][_0x4b68c0(0x185)](_0x207628);if(_0x9f23ba==null){_0x49e30a[_0x4b68c0(0x1b3)](_0x207628,0x2),_0x55ad07[_0x4b68c0(0x1c3)]();continue;}const _0x13769a=this[_0x4b68c0(0x116)][_0x4b68c0(0x10a)](_0x9f23ba[_0x4b68c0(0x19a)]());for(const _0x2b919c of _0x13769a){const _0x2cdee1=_0x49e30a[_0x4b68c0(0x185)](_0x2b919c)||0x0;if(_0x2cdee1===0x1)return!0x0;_0x2cdee1===0x0&&_0x55ad07['push'](_0x2b919c);}}else _0x49e30a[_0x4b68c0(0x1b3)](_0x207628,0x2),_0x55ad07[_0x4b68c0(0x1c3)]();}return!0x1;}[_0x2f765f(0xfa)](_0x1db18b){const _0x4f30ee=_0x2f765f,_0x3ae300=new Map();for(const _0x1deb8c of _0x1db18b)if(!_0x3ae300[_0x4f30ee(0x11e)](_0x1deb8c[_0x4f30ee(0x106)])&&this[_0x4f30ee(0x1af)](_0x1deb8c[_0x4f30ee(0x106)],_0x3ae300))return!0x0;return _0x3ae300[_0x4f30ee(0x1a3)](),!0x1;}[_0x2f765f(0x108)](_0x137da6,_0x4d3898,_0x2dda6c){const _0x3cadc1=_0x2f765f,{unitId:_0x29518a,subUnitId:_0x4a0d82,dependencyRanges:_0x28987f,getDirtyData:_0x17cf3d}=_0x2dda6c,_0x4fe004=_0x4d3898||_0x628ee3(this[_0x3cadc1(0x116)]),_0xcc3d12=new _0x428231(_0x4fe004);_0xcc3d12[_0x3cadc1(0x1b1)]=_0x29518a,_0xcc3d12[_0x3cadc1(0x131)]=_0x4a0d82,_0xcc3d12[_0x3cadc1(0x1c5)]=_0x28987f,_0xcc3d12[_0x3cadc1(0x184)]=_0x17cf3d;const _0x5329a4=_0x17cf3d(this[_0x3cadc1(0x130)]['getDirtyData'](),this[_0x3cadc1(0x142)][_0x3cadc1(0x151)]()),_0x4314c4=this['_convertDirtyRangesToUnitRange'](_0x5329a4[_0x3cadc1(0x114)]);return _0xcc3d12['featureDirtyRanges']=_0x4314c4,_0xcc3d12['featureId']=_0x137da6,_0xcc3d12[_0x3cadc1(0xfe)]=_0x4fbfda[_0x3cadc1(0x137)],this[_0x3cadc1(0x116)][_0x3cadc1(0x16f)](_0x29518a,_0x4a0d82,_0x137da6,_0xcc3d12),this[_0x3cadc1(0x1a9)][_0x3cadc1(0x1b3)](_0xcc3d12[_0x3cadc1(0x106)],_0xcc3d12),this[_0x3cadc1(0x116)][_0x3cadc1(0x103)](_0x2dda6c[_0x3cadc1(0x1b1)],_0x2dda6c[_0x3cadc1(0x131)],_0x137da6)&&(_0xcc3d12[_0x3cadc1(0x1b4)]=!0x0),_0xcc3d12;}[_0x2f765f(0x127)](_0x40ed98,_0xb2645e,_0x42c953){const _0x27c060=_0x2f765f;var _0x506bbd;for(const _0x2afcd0 of _0xb2645e){const _0x87e03d=_0x40ed98[_0x2afcd0];if(_0x87e03d==null)continue;const _0x453dfd=Object[_0x27c060(0x1a0)](_0x87e03d);for(const _0x47e777 of _0x453dfd){const _0x49da3e=_0x87e03d[_0x47e777];if(_0x49da3e==null)continue;const _0x35da49=Object[_0x27c060(0x1a0)](_0x49da3e);for(const _0x2e6af0 of _0x35da49){const _0x5460cc=this[_0x27c060(0x116)][_0x27c060(0x199)](_0x2e6af0),_0x245fee=_0x49da3e[_0x2e6af0],{f:_0x17301c,ranges:_0x2c69fa}=_0x245fee;let _0x45b7ac=!0x1;_0x5460cc&&(_0x45b7ac=!0x0);const {firstRow:_0x40d94f,firstColumn:_0x37cd2f}=this[_0x27c060(0x175)](_0x2c69fa),_0x22ccf4=this[_0x27c060(0x116)][_0x27c060(0x14e)](_0x2afcd0,_0x47e777,_0x2e6af0),_0x443123=(_0x506bbd=_0x22ccf4==null?void 0x0:_0x22ccf4[_0x27c060(0x1a7)](0x0,0x0))!=null?_0x506bbd:_0x628ee3(this[_0x27c060(0x116)]),_0x1e1233=new _0x428231(_0x443123);for(let _0x11ee4d=0x0;_0x11ee4d<_0x2c69fa[_0x27c060(0x155)];_0x11ee4d++){const _0x5443e4=_0x2c69fa[_0x11ee4d],{startRow:_0x58814a,startColumn:_0xb648a2,endRow:_0x511cbe,endColumn:_0x21aca2}=_0x5443e4;for(let _0x2b09d0=_0x58814a;_0x2b09d0<=_0x511cbe;_0x2b09d0++)for(let _0x476ec4=_0xb648a2;_0x476ec4<=_0x21aca2;_0x476ec4++){const _0x274265=_0x476ec4-_0x37cd2f,_0x4cc3f0=_0x2b09d0-_0x40d94f;if(_0x274265===0x0&&_0x4cc3f0===0x0){_0x1e1233[_0x27c060(0x152)]=_0x17301c,_0x1e1233[_0x27c060(0x1b1)]=_0x2afcd0,_0x1e1233['subUnitId']=_0x47e777,_0x1e1233['formulaId']=_0x2e6af0,_0x1e1233[_0x27c060(0xfe)]=_0x4fbfda[_0x27c060(0x15a)],_0x1e1233['isCache']=_0x45b7ac,_0x42c953[_0x27c060(0x192)](_0x1e1233),this[_0x27c060(0x1a9)]['set'](_0x1e1233['treeId'],_0x1e1233),this[_0x27c060(0x116)][_0x27c060(0x178)](_0x2afcd0,_0x47e777,_0x2e6af0,_0x1e1233),this[_0x27c060(0x116)][_0x27c060(0x146)](_0x1e1233);continue;}const _0x879666=new _0x57b456();_0x879666[_0x27c060(0x106)]=(_0x22ccf4==null?void 0x0:_0x22ccf4[_0x27c060(0x1a7)](_0x274265,_0x4cc3f0))||_0x628ee3(this[_0x27c060(0x116)]),_0x879666[_0x27c060(0x166)]=_0x1e1233,_0x879666[_0x27c060(0x123)]=_0x274265,_0x879666[_0x27c060(0x1c0)]=_0x4cc3f0,_0x879666['isCache']=_0x45b7ac,_0x879666[_0x27c060(0xfe)]=_0x4fbfda[_0x27c060(0x15a)],this[_0x27c060(0x116)][_0x27c060(0x178)](_0x2afcd0,_0x47e777,_0x2e6af0,_0x879666),this[_0x27c060(0x116)]['addFormulaDependencyByDefinedName'](_0x879666),_0x42c953[_0x27c060(0x192)](_0x879666),this[_0x27c060(0x1a9)][_0x27c060(0x1b3)](_0x879666['treeId'],_0x879666);}}this[_0x27c060(0x116)][_0x27c060(0x19b)](_0x2e6af0);}}}}[_0x2f765f(0x115)](_0x52180a,_0x255898,_0x5641fe,_0x398bc1){const _0x3fe330=_0x2f765f;for(const _0x592452 of _0x52180a){const _0x12f329=_0x255898[_0x592452];if(_0x12f329==null)continue;const _0x53caea=Object[_0x3fe330(0x1a0)](_0x12f329);for(const _0xef6a71 of _0x53caea){const _0xf92575=new _0x1a1dd8(_0x12f329[_0xef6a71]||{}),_0x5b1e17=new Map();_0xf92575[_0x3fe330(0x154)]((_0x567fcc,_0x181e74,_0x1ed908)=>{const _0x253284=_0x3fe330;if(_0x1ed908==null)return!0x0;const {x:_0x362df5=0x0,y:y=0x0,si:_0xe02970}=_0x1ed908;if(!(_0x362df5===0x0&&y===0x0&&_0xe02970!=null))return!0x0;const _0x3e2c2e=this[_0x253284(0x1a1)](_0x592452,_0xef6a71,_0x567fcc,_0x181e74,_0x5641fe,_0x1ed908),_0x277b87=this[_0x253284(0x116)]['getFormulaDependency'](_0x592452,_0xef6a71,_0x567fcc,_0x181e74);_0x277b87!=null?_0x3e2c2e['treeId']=_0x277b87:(this[_0x253284(0x116)]['addFormulaDependency'](_0x592452,_0xef6a71,_0x567fcc,_0x181e74,_0x3e2c2e),this[_0x253284(0x116)][_0x253284(0x146)](_0x3e2c2e)),_0x5b1e17['set'](_0xe02970,_0x3e2c2e),_0x398bc1[_0x253284(0x192)](_0x3e2c2e),this[_0x253284(0x1a9)][_0x253284(0x1b3)](_0x3e2c2e['treeId'],_0x3e2c2e);}),_0xf92575[_0x3fe330(0x154)]((_0x326ae6,_0x21e9d1,_0x1c3144)=>{const _0x257644=_0x3fe330;if(_0x1c3144==null)return!0x0;const {x:_0x35464a=0x0,y:y=0x0,si:_0xbb0fec}=_0x1c3144;if(_0x35464a===0x0&&y===0x0&&_0xbb0fec!=null)return!0x0;let _0x16526e;if(_0xbb0fec&&_0x5b1e17['has'](_0xbb0fec)){const _0x2c3bdf=_0x5b1e17[_0x257644(0x185)](_0xbb0fec);_0x16526e=this['_createVirtualFDtree'](_0x2c3bdf,_0x1c3144);}else _0x16526e=this[_0x257644(0x1a1)](_0x592452,_0xef6a71,_0x326ae6,_0x21e9d1,_0x5641fe,_0x1c3144);const _0x2cd562=this['_dependencyManagerService']['getFormulaDependency'](_0x592452,_0xef6a71,_0x326ae6,_0x21e9d1);_0x2cd562!=null?_0x16526e[_0x257644(0x106)]=_0x2cd562:(this[_0x257644(0x116)][_0x257644(0xf3)](_0x592452,_0xef6a71,_0x326ae6,_0x21e9d1,_0x16526e),this[_0x257644(0x116)][_0x257644(0x146)](_0x16526e)),_0x398bc1[_0x257644(0x192)](_0x16526e),this[_0x257644(0x1a9)][_0x257644(0x1b3)](_0x16526e[_0x257644(0x106)],_0x16526e);}),_0x5b1e17[_0x3fe330(0x1a3)]();}}}[_0x2f765f(0x1a1)](_0x53be34,_0x41e506,_0x3887b0,_0x168f0f,_0x5c9ce5,_0x5e2c5f){const _0x1a1f5c=_0x2f765f,{f:_0x2bffb2,x:_0x19495f=0x0,y:_0x41fd7b=0x0}=_0x5e2c5f,_0x4a05a9=new _0x428231(_0x628ee3(this[_0x1a1f5c(0x116)])),_0x2de73e=_0x5c9ce5[_0x53be34][_0x41e506];return _0x4a05a9[_0x1a1f5c(0x152)]=_0x2bffb2,_0x4a05a9[_0x1a1f5c(0x1b1)]=_0x53be34,_0x4a05a9['subUnitId']=_0x41e506,_0x4a05a9[_0x1a1f5c(0x18f)]=_0x3887b0,_0x4a05a9[_0x1a1f5c(0x1ae)]=_0x168f0f,_0x4a05a9[_0x1a1f5c(0x11b)]=_0x2de73e['rowCount'],_0x4a05a9[_0x1a1f5c(0x104)]=_0x2de73e[_0x1a1f5c(0x104)],_0x4a05a9;}[_0x2f765f(0x113)](){const _0x285c45=_0x2f765f,_0x3a5a98=[],_0x1bede9=new Set(),_0x37e71e=this[_0x285c45(0x130)][_0x285c45(0x136)](),_0x3a4071=this[_0x285c45(0x130)]['getDirtyRanges'](),_0x454735=this[_0x285c45(0x116)][_0x285c45(0x10a)](_0x3a4071),_0x18ebd6=this[_0x285c45(0x18c)][_0x285c45(0x173)](_0x3a4071);for(const _0x2c25b6 of _0x18ebd6)_0x454735[_0x285c45(0x191)](_0x2c25b6);for(const [_0x508aef,_0x410280]of this['_dependencyTreeCache'])(_0x37e71e||_0x410280[_0x285c45(0x153)]||_0x410280[_0x285c45(0x15d)](this[_0x285c45(0x130)][_0x285c45(0x144)]())||_0x454735['has'](_0x508aef)&&!_0x410280['isExcludeRange'](this[_0x285c45(0x130)][_0x285c45(0x12c)]()))&&!_0x1bede9[_0x285c45(0x11e)](_0x508aef)&&(_0x3a5a98['push'](_0x410280),_0x1bede9['add'](_0x508aef));for(const [_0xfbdd3b,_0x5af8e5]of this[_0x285c45(0x1a9)])_0x5af8e5[_0x285c45(0x1a4)]||(_0x5af8e5[_0x285c45(0x1c5)][_0x285c45(0x155)]=0x0);return _0x3a5a98;}[_0x2f765f(0x135)](_0x213426){const _0x37c641=_0x2f765f;return this[_0x37c641(0x1a9)][_0x37c641(0x185)](_0x213426);}[_0x2f765f(0x172)](_0x4e1451){const _0x440fbc=_0x2f765f;return _0x21c28c(_0x4e1451[_0x440fbc(0x1b1)],_0x4e1451[_0x440fbc(0x152)],this[_0x440fbc(0x162)],this[_0x440fbc(0x1b6)],this[_0x440fbc(0x130)]);}*[_0x2f765f(0x19e)](_0x1fdc9b,_0x313b56){const _0x45c83a=_0x2f765f,_0x20fd39=_0x1fdc9b,_0x52c3ae=new Set();for(;_0x20fd39[_0x45c83a(0x155)]>0x0;){const _0x22f464=_0x20fd39[_0x45c83a(0x1c3)]();if(_0x52c3ae[_0x45c83a(0x1a3)](),_0x22f464===void 0x0||_0x22f464[_0x45c83a(0x1a6)]())continue;if(_0x22f464[_0x45c83a(0x168)]()){yield _0x22f464,_0x22f464[_0x45c83a(0x163)](),_0x313b56['add'](_0x22f464['treeId']);continue;}const _0x4f878d=this[_0x45c83a(0x116)][_0x45c83a(0x10a)](_0x22f464['toRTreeItem'](),_0x313b56),_0x26e0b6=this[_0x45c83a(0x18c)]['bulkSearch'](_0x22f464[_0x45c83a(0x19a)](),_0x313b56);for(const _0x2835b2 of _0x26e0b6)_0x4f878d[_0x45c83a(0x191)](_0x2835b2);for(const _0x44cc59 of _0x4f878d){const _0x38fe4d=this[_0x45c83a(0x1a9)][_0x45c83a(0x185)](_0x44cc59);if(!_0x38fe4d)throw new Error(_0x45c83a(0x139));_0x38fe4d[_0x45c83a(0x168)]()||_0x22f464[_0x45c83a(0x1a6)]()||_0x52c3ae['add'](_0x38fe4d);}if(_0x4f878d[_0x45c83a(0x1a3)](),_0x52c3ae[_0x45c83a(0x195)]===0x0)yield _0x22f464,_0x22f464['setSkip'](),_0x313b56['add'](_0x22f464[_0x45c83a(0x106)]);else{_0x22f464[_0x45c83a(0x11d)](),_0x20fd39['push'](_0x22f464);for(const _0x716b07 of _0x52c3ae)_0x20fd39['push'](_0x716b07);}}_0x20fd39[_0x45c83a(0x155)]=0x0,_0x52c3ae[_0x45c83a(0x1a3)]();}[_0x2f765f(0x18b)](_0x4f3b65){const _0x382ece=_0x2f765f,_0xb82d3d=[],_0x426238=new Set();for(const _0x415d9a of this[_0x382ece(0x19e)](_0x4f3b65,_0x426238))_0xb82d3d[_0x382ece(0x192)](_0x415d9a);return _0xb82d3d;}async[_0x2f765f(0x1a5)](){const _0x47af4e=_0x2f765f;return await this[_0x47af4e(0x101)](),Array['from'](this[_0x47af4e(0x1a9)][_0x47af4e(0x11c)]());}[_0x2f765f(0x1aa)](_0x2f9655){const _0x2ac51a=_0x2f765f;return this[_0x2ac51a(0x116)][_0x2ac51a(0x10a)](_0x2f9655[_0x2ac51a(0x19a)]());}[_0x2f765f(0x1bc)](_0xc53a31){const _0x318689=_0x2f765f,_0x11ba9b=new Set(),_0x2ea54f=_0xc53a31[_0x318689(0x1c5)];for(const [_0x1e8e2e,_0x2355f9]of this[_0x318689(0x1a9)])for(const _0x165678 of _0x2ea54f){const _0x1325d0=_0x165678[_0x318689(0x1b1)],_0x1bf6ed=_0x165678[_0x318689(0x1bd)];if(_0x2355f9['unitId']!==_0x1325d0||_0x2355f9['subUnitId']!==_0x1bf6ed)continue;const _0x5d611d=_0x165678['range'];if(_0x2355f9[_0x318689(0xfb)](_0x5d611d)){_0x11ba9b[_0x318689(0x191)](_0x1e8e2e);break;}}return _0x11ba9b;}['_startFormulaDependencyTreeModel'](){const _0x4578c5=_0x2f765f;this[_0x4578c5(0x116)]['openKdTree']();}[_0x2f765f(0x1b0)](){const _0x5d4a68=_0x2f765f;this['_formulaDependencyTreeModel']['clear'](),this[_0x5d4a68(0x1a9)][_0x5d4a68(0x1a3)](),this[_0x5d4a68(0x116)][_0x5d4a68(0x1a2)]();}}class xe extends _0x110b53{async[_0x2f765f(0x183)](_0x54dc22=!0x1){const _0x28aa71=_0x2f765f;_0x54dc22?this['_runtimeService'][_0x28aa71(0x102)](_0x2ff540[_0x28aa71(0x1b2)]):this[_0x28aa71(0x142)][_0x28aa71(0x102)](_0x2ff540[_0x28aa71(0x1c7)]),this[_0x28aa71(0x158)]['next'](this[_0x28aa71(0x142)][_0x28aa71(0x15f)]());const _0x3dc0b4=await this[_0x28aa71(0x13c)][_0x28aa71(0x12b)](this[_0x28aa71(0x18a)]),_0x46d448=this['_interpreter'];_0x54dc22?(this[_0x28aa71(0x142)]['setFormulaExecuteStage'](_0x2ff540[_0x28aa71(0x164)]),this[_0x28aa71(0x142)][_0x28aa71(0x16e)](_0x3dc0b4[_0x28aa71(0x155)])):(this[_0x28aa71(0x142)][_0x28aa71(0x102)](_0x2ff540[_0x28aa71(0x19c)]),this[_0x28aa71(0x142)][_0x28aa71(0x129)](_0x3dc0b4['length'])),this[_0x28aa71(0x158)][_0x28aa71(0x10d)](this[_0x28aa71(0x142)][_0x28aa71(0x15f)]());let _0x1030db=[];const _0x28034f=this['_configService'][_0x28aa71(0x16c)](_0x169845),_0x7db86e=(_0x28034f==null?void 0x0:_0x28034f['intervalCount'])||_0x4bd9ba;let _0x37510f=0x0;const _0x3b2918=_0x3dc0b4[_0x28aa71(0x155)];for(;_0x3dc0b4[_0x28aa71(0x155)]>0x0;){const _0x3c86d2=_0x3dc0b4[_0x28aa71(0x1c3)](),_0x99c340=_0x21c28c(_0x3c86d2['unitId'],_0x3c86d2['formula'],this[_0x28aa71(0x162)],this[_0x28aa71(0x1b6)],this[_0x28aa71(0x130)]),_0xc6db99={'node':_0x99c340,'refOffsetX':_0x3c86d2[_0x28aa71(0x123)],'refOffsetY':_0x3c86d2[_0x28aa71(0x1c0)]},_0x2cbd7c=_0x3c86d2['getDirtyData'];if(_0x37510f%_0x7db86e===0x0&&(await new Promise(_0xe75ee2=>{const _0x18ec62=_0x28aa71,_0x16e5ba=_0x2df583(_0xe75ee2);_0x1030db[_0x18ec62(0x192)](_0x16e5ba);}),_0x54dc22?(this[_0x28aa71(0x142)][_0x28aa71(0x102)](_0x2ff540['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x28aa71(0x142)][_0x28aa71(0x1bb)](_0x37510f+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x2ff540[_0x28aa71(0x120)]),this['_runtimeService'][_0x28aa71(0x149)](_0x37510f+0x1)),this[_0x28aa71(0x158)][_0x28aa71(0x10d)](this[_0x28aa71(0x142)][_0x28aa71(0x15f)]()),this[_0x28aa71(0x142)][_0x28aa71(0x16a)]()||_0xc6db99==null&&_0x2cbd7c==null)){this['_runtimeService'][_0x28aa71(0x102)](_0x2ff540['IDLE']),this[_0x28aa71(0x142)][_0x28aa71(0x1c4)](),this[_0x28aa71(0x19d)][_0x28aa71(0x10d)](this['_runtimeService'][_0x28aa71(0x151)]());return;}this[_0x28aa71(0x142)]['setCurrent'](_0x3c86d2['row'],_0x3c86d2[_0x28aa71(0x1ae)],_0x3c86d2['rowCount'],_0x3c86d2['columnCount'],_0x3c86d2['subUnitId'],_0x3c86d2[_0x28aa71(0x1b1)]);let _0x4506c8;if(_0x2cbd7c!=null&&_0x3c86d2[_0x28aa71(0xf4)]!=null){const {runtimeCellData:_0x1dc283,dirtyRanges:_0x592f66}=_0x2cbd7c(this[_0x28aa71(0x130)][_0x28aa71(0x184)](),this[_0x28aa71(0x142)][_0x28aa71(0x151)]());this[_0x28aa71(0x142)][_0x28aa71(0x125)](_0x3c86d2[_0x28aa71(0xf4)],_0x1dc283),this['_runtimeService'][_0x28aa71(0x165)](_0x3c86d2[_0x28aa71(0xf4)],_0x592f66);}else _0xc6db99!=null&&(_0x46d448['checkAsyncNode'](_0xc6db99['node'])?_0x4506c8=await _0x46d448[_0x28aa71(0x132)](_0xc6db99):_0x4506c8=_0x46d448['execute'](_0xc6db99),_0x3c86d2[_0x28aa71(0x17a)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x3c86d2['formulaId'],_0x3c86d2[_0x28aa71(0x123)],_0x3c86d2[_0x28aa71(0x1c0)],_0x4506c8):this[_0x28aa71(0x142)]['setRuntimeData'](_0x4506c8));_0x99c340[_0x28aa71(0x1a8)](),_0x37510f++;}return _0x1030db[_0x28aa71(0x13a)](_0x351e7f=>_0x351e7f()),_0x1030db=[],_0x3b2918>0x0?this[_0x28aa71(0x142)][_0x28aa71(0x13d)]():_0x54dc22||this['_runtimeService'][_0x28aa71(0x107)](),this['_runtimeService'][_0x28aa71(0x151)]();}}class Ie extends _0x79b2fb{constructor(){const _0x2a7045=_0x2f765f;super(...arguments),C(this,_0x2a7045(0x17f),new Map()),C(this,'_dependencyRTreeCache',new _0x5ceaa5(!0x0));}['reset'](){const _0x3b8a59=_0x2f765f;this[_0x3b8a59(0x121)]['clear'](),this[_0x3b8a59(0x126)][_0x3b8a59(0x1a3)](),this[_0x3b8a59(0xf5)][_0x3b8a59(0x1a3)](),this[_0x3b8a59(0x10b)][_0x3b8a59(0x1a3)](),this[_0x3b8a59(0x17f)]['clear'](),this[_0x3b8a59(0x16d)](),this[_0x3b8a59(0x1bf)][_0x3b8a59(0x1a3)]();}[_0x2f765f(0x178)](_0x5af69c,_0x5039e6,_0x32bf16,_0x545e25){const _0x174b2b=_0x2f765f;this[_0x174b2b(0x121)][_0x174b2b(0x11e)](_0x5af69c)||this[_0x174b2b(0x121)][_0x174b2b(0x1b3)](_0x5af69c,new Map());const _0x3747e5=this[_0x174b2b(0x121)]['get'](_0x5af69c);_0x3747e5[_0x174b2b(0x11e)](_0x5039e6)||_0x3747e5[_0x174b2b(0x1b3)](_0x5039e6,new Map());const _0x562977=_0x3747e5['get'](_0x5039e6);_0x562977[_0x174b2b(0x11e)](_0x32bf16)||_0x562977[_0x174b2b(0x1b3)](_0x32bf16,new _0x1a1dd8()),_0x562977[_0x174b2b(0x185)](_0x32bf16)[_0x174b2b(0xf7)](_0x545e25[_0x174b2b(0x123)],_0x545e25[_0x174b2b(0x1c0)],_0x545e25[_0x174b2b(0x106)]);}[_0x2f765f(0x109)](_0x2e0d3a,_0x2e593e,_0x15eb83){const _0x376003=_0x2f765f,_0x4a05d2=this[_0x376003(0x121)][_0x376003(0x185)](_0x2e0d3a);if(_0x4a05d2&&_0x4a05d2[_0x376003(0x11e)](_0x2e593e)){const _0x3139e8=_0x4a05d2[_0x376003(0x185)](_0x2e593e);_0x15eb83['forEach'](_0x1381c3=>{const _0x9a7d65=_0x376003,_0x146f74=_0x3139e8[_0x9a7d65(0x185)](_0x1381c3);_0x146f74!=null&&(_0x146f74[_0x9a7d65(0x154)]((_0x32dadb,_0x46479b,_0x137c20)=>{const _0x25fdcf=_0x9a7d65;this[_0x25fdcf(0x138)](_0x137c20),this['_removeAllTreeMap'](_0x137c20);}),_0x3139e8[_0x9a7d65(0x11f)](_0x1381c3),this[_0x9a7d65(0x1bf)][_0x9a7d65(0x11f)](_0x1381c3));}),_0x3139e8[_0x376003(0x195)]===0x0&&_0x4a05d2[_0x376003(0x11f)](_0x2e593e),_0x4a05d2[_0x376003(0x195)]===0x0&&this['_otherFormulaData'][_0x376003(0x11f)](_0x2e0d3a);}}[_0x2f765f(0xf6)](_0x5e87f1,_0x31a0bb){const _0x4f0061=_0x2f765f,_0x4f6e68=this[_0x4f0061(0x121)]['get'](_0x5e87f1);if(_0x31a0bb&&_0x4f6e68&&_0x4f6e68[_0x4f0061(0x11e)](_0x31a0bb)){const _0x183847=_0x4f6e68['get'](_0x31a0bb);this[_0x4f0061(0x15c)](_0x5e87f1,_0x31a0bb);for(const _0x3923b9 of _0x183847['keys']()){const _0x21db2f=_0x183847[_0x4f0061(0x185)](_0x3923b9);_0x21db2f!=null&&(_0x21db2f['forValue']((_0x1c818e,_0x568a76,_0x5ee6af)=>{const _0x137d2f=_0x4f0061;this['_allTreeMap'][_0x137d2f(0x185)](_0x5ee6af)&&this[_0x137d2f(0x13e)](_0x5ee6af);}),this[_0x4f0061(0x1bf)][_0x4f0061(0x11f)](_0x3923b9));}_0x183847[_0x4f0061(0x1a3)]();}else{if(_0x4f6e68){for(const _0x3467ef of _0x4f6e68['keys']()){const _0x5bd714=_0x4f6e68[_0x4f0061(0x185)](_0x3467ef);this[_0x4f0061(0x15c)](_0x5e87f1,_0x3467ef);for(const _0x1c2db2 of _0x5bd714['keys']()){const _0x3ab144=_0x5bd714[_0x4f0061(0x185)](_0x1c2db2);_0x3ab144!=null&&(_0x3ab144[_0x4f0061(0x154)]((_0x529570,_0x2501e7,_0x53948f)=>{const _0x438282=_0x4f0061;this['_allTreeMap'][_0x438282(0x185)](_0x53948f)&&this[_0x438282(0x13e)](_0x53948f);}),this['_otherFormulaDataMainData'][_0x4f0061(0x11f)](_0x1c2db2));}}this[_0x4f0061(0x121)][_0x4f0061(0x11f)](_0x5e87f1);}}}[_0x2f765f(0x16f)](_0x469685,_0x560dd9,_0x3bbcef,_0x47cd5a){const _0x13efd5=_0x2f765f;this['_featureFormulaData'][_0x13efd5(0x11e)](_0x469685)||this[_0x13efd5(0x126)]['set'](_0x469685,new Map());const _0x5290d8=this['_featureFormulaData']['get'](_0x469685);_0x5290d8[_0x13efd5(0x11e)](_0x560dd9)||_0x5290d8[_0x13efd5(0x1b3)](_0x560dd9,new Map()),_0x5290d8[_0x13efd5(0x185)](_0x560dd9)[_0x13efd5(0x1b3)](_0x3bbcef,_0x47cd5a[_0x13efd5(0x106)]);}[_0x2f765f(0x12f)](_0x4d4f4c,_0x503dad,_0x4aba24){const _0x227aa7=_0x2f765f,_0x3d77c6=this[_0x227aa7(0x126)]['get'](_0x4d4f4c);if(_0x3d77c6&&_0x3d77c6[_0x227aa7(0x11e)](_0x503dad)){const _0x4101ae=_0x3d77c6['get'](_0x503dad);_0x4aba24[_0x227aa7(0x13a)](_0x4a5dec=>{const _0x4c878c=_0x227aa7,_0x584703=_0x4101ae[_0x4c878c(0x185)](_0x4a5dec);_0x584703!=null&&(this[_0x4c878c(0x138)](_0x584703),_0x4101ae[_0x4c878c(0x11f)](_0x4a5dec),this[_0x4c878c(0x13e)](_0x584703));});}}[_0x2f765f(0xff)](_0x2bce2a,_0x574a59){const _0x3c1082=_0x2f765f,_0x485327=this[_0x3c1082(0x126)][_0x3c1082(0x185)](_0x2bce2a);if(_0x574a59&&_0x485327&&_0x485327['has'](_0x574a59)){const _0x1c1942=_0x485327[_0x3c1082(0x185)](_0x574a59);this[_0x3c1082(0x15c)](_0x2bce2a,_0x574a59),_0x1c1942[_0x3c1082(0x13a)](_0x4691e7=>{const _0x503943=_0x3c1082;_0x4691e7!=null&&this[_0x503943(0x13e)](_0x4691e7);}),_0x1c1942[_0x3c1082(0x1a3)]();}else _0x485327&&(_0x485327['forEach']((_0x581882,_0x36f6d7)=>{const _0x3a28c7=_0x3c1082;this[_0x3a28c7(0x15c)](_0x2bce2a,_0x36f6d7),_0x581882[_0x3a28c7(0x13a)](_0x558afa=>{const _0x2af621=_0x3a28c7;_0x558afa!=null&&this[_0x2af621(0x13e)](_0x558afa);});}),this['_featureFormulaData']['delete'](_0x2bce2a));}['addFormulaDependency'](_0x24bf6a,_0x128fcb,_0x465106,_0x49e158,_0x309257){const _0xb9d683=_0x2f765f;this[_0xb9d683(0xf5)][_0xb9d683(0x11e)](_0x24bf6a)||this[_0xb9d683(0xf5)][_0xb9d683(0x1b3)](_0x24bf6a,new Map());const _0x470cd9=this[_0xb9d683(0xf5)]['get'](_0x24bf6a);_0x470cd9[_0xb9d683(0x11e)](_0x128fcb)||_0x470cd9['set'](_0x128fcb,new _0x1a1dd8()),_0x470cd9[_0xb9d683(0x185)](_0x128fcb)[_0xb9d683(0xf7)](_0x465106,_0x49e158,_0x309257[_0xb9d683(0x106)]);}[_0x2f765f(0x128)](_0x1bdde8,_0x33ec61,_0x1c8624,_0x4c1ee1){const _0x3020f4=_0x2f765f,_0x14ffbe=this['_formulaData'][_0x3020f4(0x185)](_0x1bdde8);if(_0x14ffbe&&_0x14ffbe[_0x3020f4(0x11e)](_0x33ec61)){const _0x358757=_0x14ffbe[_0x3020f4(0x185)](_0x33ec61),_0x5eb76f=_0x358757[_0x3020f4(0x1a7)](_0x1c8624,_0x4c1ee1);if(_0x5eb76f==null)return;this[_0x3020f4(0x138)](_0x5eb76f),_0x358757['realDeleteValue'](_0x1c8624,_0x4c1ee1),this['_removeAllTreeMap'](_0x5eb76f);}}[_0x2f765f(0x193)](_0x3c59c7,_0x47eae6){const _0x4cd51d=_0x2f765f,_0x3cbd0c=this[_0x4cd51d(0xf5)][_0x4cd51d(0x185)](_0x3c59c7);if(_0x47eae6&&_0x3cbd0c&&_0x3cbd0c[_0x4cd51d(0x11e)](_0x47eae6)){const _0x4d3f92=_0x3cbd0c['get'](_0x47eae6);this[_0x4cd51d(0x15c)](_0x3c59c7,_0x47eae6),_0x4d3f92['forValue']((_0x517544,_0x1badef,_0x3ea31e)=>{const _0x22002c=_0x4cd51d;if(_0x3ea31e==null)return!0x0;this[_0x22002c(0x13e)](_0x3ea31e);}),_0x4d3f92['reset']();}else _0x3cbd0c&&(_0x3cbd0c['forEach']((_0x6215a7,_0x5241cd)=>{const _0x5cfbba=_0x4cd51d;this[_0x5cfbba(0x15c)](_0x3c59c7,_0x5241cd),_0x6215a7['forValue']((_0x166ffc,_0x59a219,_0x3e5789)=>{const _0x5c55a6=_0x5cfbba;if(_0x3e5789==null)return!0x0;this[_0x5c55a6(0x13e)](_0x3e5789);});}),this[_0x4cd51d(0xf5)]['delete'](_0x3c59c7));}['_removeDependencyRTreeCache'](_0x39697d){const _0x35b867=_0x2f765f;if(_0x39697d==null)return;const _0x368339=this[_0x35b867(0x17f)]['get'](_0x39697d);if(_0x368339){const _0x4358b5=[];for(const [_0x1f43e3,_0x5d38c5]of _0x368339)for(const [_0x5414bf,_0x21430f]of _0x5d38c5)_0x4358b5['push']({'unitId':_0x1f43e3,'sheetId':_0x5414bf,'range':_0x21430f,'id':_0x39697d});this[_0x35b867(0x10b)][_0x35b867(0x179)](_0x4358b5);}}['removeFormulaDependencyByDefinedName'](_0x3c6826,_0x5aafc7){const _0x89b198=_0x2f765f,_0xb5dce8=this[_0x89b198(0x118)][_0x89b198(0x185)](_0x3c6826);if(_0xb5dce8){const _0x5d76cd=_0xb5dce8['get'](_0x5aafc7);if(_0x5d76cd){for(const _0x1c2088 of _0x5d76cd)this[_0x89b198(0x138)](_0x1c2088),this[_0x89b198(0x13e)](_0x1c2088);_0x5d76cd['clear']();}}}['openKdTree'](){const _0x3db24a=_0x2f765f;this[_0x3db24a(0x10b)][_0x3db24a(0x18e)]();}[_0x2f765f(0x1a2)](){const _0x21a828=_0x2f765f;this[_0x21a828(0x10b)]['closeKdTree']();}['_removeAllTreeMap'](_0x553d09){const _0x5cc10c=_0x2f765f;_0x553d09!=null&&this[_0x5cc10c(0x17f)][_0x5cc10c(0x11f)](_0x553d09);}[_0x2f765f(0x198)](_0x4b401c){const _0x236af9=_0x2f765f;var _0x382f40,_0x2d47b0;const _0x1b9c71=_0x4b401c[_0x236af9(0x1c5)];let _0x1ddadb=this[_0x236af9(0x17f)][_0x236af9(0x185)](_0x4b401c[_0x236af9(0x106)]);for(let _0x6e50d7=0x0;_0x6e50d7<_0x1b9c71['length'];_0x6e50d7++){const _0x5d53a2=_0x1b9c71[_0x6e50d7];let {unitId:_0x676b53,sheetId:_0xa7f207,range:_0xd5edd8}=_0x5d53a2;_0x1ddadb||(_0x1ddadb=new Map(),this[_0x236af9(0x17f)][_0x236af9(0x1b3)](_0x4b401c['treeId'],_0x1ddadb)),_0x1ddadb[_0x236af9(0x11e)](_0x676b53)||_0x1ddadb[_0x236af9(0x1b3)](_0x676b53,new Map());const _0x22c56c=(_0x382f40=_0x1ddadb==null?void 0x0:_0x1ddadb['get'](_0x676b53))==null?void 0x0:_0x382f40['get'](_0xa7f207);_0x22c56c&&(_0xd5edd8={'startRow':Math[_0x236af9(0x1ac)](_0xd5edd8[_0x236af9(0x1b8)],_0x22c56c[_0x236af9(0x1b8)]),'startColumn':Math[_0x236af9(0x1ac)](_0xd5edd8['startColumn'],_0x22c56c[_0x236af9(0x160)]),'endRow':Math[_0x236af9(0x117)](_0xd5edd8['endRow'],_0x22c56c[_0x236af9(0xf8)]),'endColumn':Math[_0x236af9(0x117)](_0xd5edd8[_0x236af9(0x105)],_0x22c56c[_0x236af9(0x105)])}),(_0x2d47b0=_0x1ddadb[_0x236af9(0x185)](_0x676b53))==null||_0x2d47b0[_0x236af9(0x1b3)](_0xa7f207,_0xd5edd8);}}}var Ae=Object['getOwnPropertyDescriptor'],ze=(_0x25fd51,_0x4a728d,_0x5b88a1,_0x2a107e)=>{const _0x473403=_0x2f765f;for(var _0x57afe9=_0x2a107e>0x1?void 0x0:_0x2a107e?Ae(_0x4a728d,_0x5b88a1):_0x4a728d,_0x2398f7=_0x25fd51[_0x473403(0x155)]-0x1,_0x32e572;_0x2398f7>=0x0;_0x2398f7--)(_0x32e572=_0x25fd51[_0x2398f7])&&(_0x57afe9=_0x32e572(_0x57afe9)||_0x57afe9);return _0x57afe9;};const Ne=Number[_0x2f765f(0x161)](0x6940e988);let W=class extends _0x1d74df{['_initializeWithOverride'](){const _0x162255=_0x2f765f;var _0x37efef,_0x287a0f;this['_initLicenseValid']()?(this[_0x162255(0x15e)][_0x162255(0x191)]([_0x3a7fe4,{'useClass':Ee}]),(_0x37efef=this[_0x162255(0x1c1)])!=null&&_0x37efef[_0x162255(0x14f)]||[[_0x714b4b,{'useClass':xe}],[_0x48f21d,{'useClass':Ie}],[_0x361a6d,{'useClass':Se}]][_0x162255(0x13a)](_0x327ca8=>this[_0x162255(0x15e)][_0x162255(0x191)](_0x327ca8))):(this[_0x162255(0x15e)][_0x162255(0x191)]([_0x3a7fe4,{'useClass':_0x3a7fe4}]),(_0x287a0f=this['_config'])!=null&&_0x287a0f[_0x162255(0x14f)]||[[_0x714b4b,{'useClass':_0x110b53}],[_0x48f21d,{'useClass':_0xeb96c3}],[_0x361a6d,{'useClass':_0x2761c2}]]['forEach'](_0x35e733=>this[_0x162255(0x15e)]['add'](_0x35e733)));}[_0x2f765f(0x1b9)](){const _0x3986c8=_0x2f765f;var _0x4c3a86;const _0x1d30be=(_0x4c3a86=this[_0x3986c8(0x1be)][_0x3986c8(0x16c)](_0x3dd3e5))!=null?_0x4c3a86:{},{ls:_0x4db0f7,pbk:_0x9682ce}=_0x1d30be;if(!_0x4db0f7||!_0x9682ce)return!0x1;const _0x33448f=_0x81ce30(Re,Me),_0x15f8e7=new Function(_0x3986c8(0x134)+_0x33448f)()(_0x4db0f7,_0x9682ce),_0x39a430=_0x15f8e7['message'];return _0x15f8e7['valid']&&_0x39ee99(_0x39a430,'sf',Ne)?_0x4e4f58(_0x39a430,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};W=ze([_0x51b35c(_0x393322)],W);export{Ee as LexerTreeProBuilder,W 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
|
-
|
|
15
|
-
|
|
12
|
+
N: string;
|
|
13
|
+
S: string;
|
|
14
|
+
M: string;
|
|
15
|
+
K: string;
|
|
16
|
+
C: string;
|
|
17
|
+
G: string;
|
|
18
|
+
P: string;
|
|
16
19
|
W: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
R: string;
|
|
22
|
-
V: string;
|
|
23
|
-
r: string;
|
|
24
|
-
Q: string;
|
|
20
|
+
z: string;
|
|
21
|
+
a: string;
|
|
22
|
+
F: string;
|
|
23
|
+
E: string;
|
|
25
24
|
T: string;
|
|
25
|
+
I: string;
|
|
26
|
+
R: string;
|
|
27
|
+
s: string;
|
|
28
|
+
H: string;
|
|
29
|
+
v: string;
|
|
26
30
|
p: string;
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
d: string;
|
|
32
|
+
h: string;
|
|
33
|
+
i: string;
|
|
34
|
+
e: string;
|
|
35
|
+
g: string;
|
|
36
|
+
f: string;
|
|
37
|
+
X: string;
|
|
38
|
+
y: string;
|
|
39
|
+
D: string;
|
|
29
40
|
J: string;
|
|
30
|
-
M: string;
|
|
31
|
-
a: string;
|
|
32
|
-
S: string;
|
|
33
|
-
A: string;
|
|
34
|
-
b: string;
|
|
35
|
-
z: string;
|
|
36
|
-
L: string;
|
|
37
|
-
N: string;
|
|
38
|
-
F: string;
|
|
39
|
-
K: string;
|
|
40
|
-
u: string;
|
|
41
41
|
U: string;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
Q: string;
|
|
43
|
+
x: string;
|
|
44
|
+
b: string;
|
|
45
|
+
Z: string;
|
|
46
|
+
Y: string;
|
|
46
47
|
O: string;
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
t: string;
|
|
49
|
+
o: string;
|
|
50
|
+
q: string;
|
|
49
51
|
B: string;
|
|
52
|
+
l: string;
|
|
50
53
|
k: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
V: string;
|
|
55
|
+
n: string;
|
|
56
|
+
j: string;
|
|
57
|
+
A: string;
|
|
58
|
+
L: string;
|
|
59
|
+
u: string;
|
|
54
60
|
c: string;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
C: string;
|
|
59
|
-
x: string;
|
|
60
|
-
f: string;
|
|
61
|
-
q: string;
|
|
62
|
-
E: string;
|
|
63
|
-
P: string;
|
|
61
|
+
w: string;
|
|
62
|
+
r: string;
|
|
63
|
+
m: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "I1vFg9pv ETFiydg9pv(H9FTveT, d1aH9FqTy) { giy { Fpveg H9FTveTtvIpVzigJiizy = H9FTveT.edH9g('-'); Fpveg pi929vBTeez2T = oAkl.dzieT(zgpa(H9FTveTtvIpVzigJiizy[M])); 9I (!pi929vBTeez2T.1E) { pi929vBTeez2T.1E = l14aTi(H9FTveTtvIpVzigJiizy[C]); } Fpveg 9e5pi6Ti = gydTpI 5pi6TiYHpazHAFpdT !== '1vETI9vTE' && eTHI 9vegzvFTpI 5pi6TiYHpazHAFpdT; Fpveg 9eUipXeTi = gydTpI X9vEpX !== '1vETI9vTE' && gydTpI X9vEpX.HpFzg9pv !== '1vETI9vTE'; Fpveg FpvgT7g = 9e5pi6Ti ? eTHI : (9eUipXeTi ? X9vEpX : 2HpazHLR9e); Fpveg 4Teez2T5piE = FpvgT7g.__UzeTGC__.dzieT(H9FTveTtvIpVzigJiizy[M]); Fpveg 4Teez2T = FpvgT7g.__OT7__.egi9v29Iy(4Teez2T5piE); Fpveg e92vzg1iT5piE = FpvgT7g.__UzeTGC__.dzieT(H9FTveTtvIpVzigJiizy[K]); Fpveg e92vzg1iT = FpvgT7g.__OT7__.egi9v29Iy(e92vzg1iT5piE); Fpveg e92vczH9E = FpvgT7g.__fTi9Iy__(e92vzg1iT, 4Teez2T, d1aH9FqTy); Fpveg Ep4z9v = pi929vBTeez2T.E4; I1vFg9pv 9exp4z9vBzgFR9v2(pVzggTiv, pOpeg) { Fpveg dzggTiv = pVzggTiv.iTdHzFT(/^.+/, ''); Fpveg Rpeg = pOpeg.iTdHzFT(/^.+/, ''); Fpveg dzggTivVzige = dzggTiv.edH9g('.'); Fpveg RpegVzige = Rpeg.edH9g('.'); 9I (!dzggTiv.9vFH1ETe('*')) { iTg1iv dzggTiv === Rpeg; } 9I (dzggTivVzige.HTv2gR < M || dzggTivVzige[N] !== '*') { iTg1iv IzHeT; } Fpveg dzggTivA1II97 = dzggTivVzige.eH9FT(S).sp9v('.'); Fpveg RpegA1II97 = RpegVzige.eH9FT(-dzggTivVzige.HTv2gR + S).sp9v('.'); iTg1iv dzggTivA1II97 === RpegA1II97; } HTg Ep4z9vczH9E = IzHeT; 9I (9eUipXeTi) { Ep4z9vczH9E = (Ep4z9v && Ep4z9v.HTv2gR) ? Ep4z9v.ep4T((E4tgT4) => 9exp4z9vBzgFR9v2(E4tgT4, HpFzg9pv.Rpegvz4T)) : gi1T; 9I (HpFzg9pv.Rpegvz4T === 'HpFzHRpeg') { Ep4z9vczH9E = gi1T; } } THeT { Ep4z9vczH9E = gi1T; } Fpveg fzH9E = e92vczH9E && Ep4z9vczH9E; iTg1iv { fzH9E, 4Teez2T: pi929vBTeez2T, }; } FzgFR (Tiipi) { iTg1iv { fzH9E: IzHeT, 4Teez2T: {}, }; }}";
|
|
@@ -3,7 +3,7 @@ import { IFeatureCalculationManagerParam, IFormulaData, IFormulaDataItem, IFormu
|
|
|
3
3
|
export declare class FormulaDependencyProGenerator extends FormulaDependencyGenerator {
|
|
4
4
|
protected _dependencyTreeCache: Map<number, IFormulaDependencyTree>;
|
|
5
5
|
dispose(): void;
|
|
6
|
-
generate(): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
|
|
6
|
+
generate(isCalculateTreeModel?: boolean): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
|
|
7
7
|
private _isCyclicUtilMap;
|
|
8
8
|
protected _checkIsCycleDependency(treeList: IFormulaDependencyTree[]): boolean;
|
|
9
9
|
protected _getFeatureFormulaTree(featureId: string, treeId: Nullable<number>, params: IFeatureCalculationManagerParam): FormulaDependencyTree;
|
|
@@ -19,4 +19,9 @@ export declare class FormulaDependencyProGenerator extends FormulaDependencyGene
|
|
|
19
19
|
protected _getTreeNode(tree: IFormulaDependencyTree): import('@univerjs/engine-formula/engine/ast-node/ast-root-node.js').AstRootNode;
|
|
20
20
|
private _traverse;
|
|
21
21
|
protected _calculateRunList(treeList: IFormulaDependencyTree[]): (FormulaDependencyTree | FormulaDependencyTreeVirtual)[];
|
|
22
|
+
protected _getAllTreeList(): Promise<IFormulaDependencyTree[]>;
|
|
23
|
+
protected _getDependencyTreeParenIds(tree: IFormulaDependencyTree): Set<number>;
|
|
24
|
+
protected _getDependencyTreeChildrenIds(tree: IFormulaDependencyTree): Set<number>;
|
|
25
|
+
protected _startFormulaDependencyTreeModel(): void;
|
|
26
|
+
protected _endFormulaDependencyTreeModel(): void;
|
|
22
27
|
}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { IDefinedNamesServiceParam, IExprTreeNode, IFunctionNames, ISuperTable, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
2
3
|
export declare class LexerTreeProBuilder extends LexerTreeBuilder {
|
|
3
4
|
private _hasNewExcelFunction;
|
|
4
5
|
private _lambdaFunctionParameterSet;
|
|
6
|
+
private _xlpmPrefix;
|
|
7
|
+
private _xlfnPrefix;
|
|
8
|
+
private _resetPrefix;
|
|
9
|
+
private _clearPrefix;
|
|
5
10
|
getNewFormulaWithPrefix(formulaString: string, hasFunction: (functionToken: IFunctionNames) => boolean): string | null;
|
|
6
11
|
private _generateNewFunctionString;
|
|
7
12
|
private _handleNewFunctionChild;
|
|
8
13
|
private _clearFunctionString;
|
|
9
14
|
private _checkAddBracketForMinus;
|
|
15
|
+
private _currentUnitId;
|
|
16
|
+
getFormulaExprTree(formulaString: string, unitId: string, hasFunction: (functionToken: IFunctionNames) => boolean, getDefinedNameName: (unitId: string, name: string) => Nullable<IDefinedNamesServiceParam>, getTable: (unitId: string, tableName: string) => Nullable<ISuperTable>): IExprTreeNode | null;
|
|
17
|
+
private _generateExprTree;
|
|
18
|
+
private _handleChildrenForExprTree;
|
|
19
|
+
private _handleTextNodeForExprTree;
|
|
20
|
+
private _getTableNameFromStructuredRef;
|
|
21
|
+
private _handleLambdaForExprTree;
|
|
22
|
+
private _getCurNodeTypeForExprTree;
|
|
10
23
|
}
|
package/lib/types/index.d.ts
CHANGED
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2a28b8,_0x3137e2){var _0x2e2e8e=_0x7506,_0x12e09b=_0x2a28b8();while(!![]){try{var _0x1f3a69=parseInt(_0x2e2e8e(0xd9))/0x1+-parseInt(_0x2e2e8e(0xd4))/0x2+-parseInt(_0x2e2e8e(0xde))/0x3*(parseInt(_0x2e2e8e(0xda))/0x4)+parseInt(_0x2e2e8e(0xdf))/0x5+parseInt(_0x2e2e8e(0xd5))/0x6+parseInt(_0x2e2e8e(0xe5))/0x7+-parseInt(_0x2e2e8e(0xe4))/0x8;if(_0x1f3a69===_0x3137e2)break;else _0x12e09b['push'](_0x12e09b['shift']());}catch(_0x1b5be6){_0x12e09b['push'](_0x12e09b['shift']());}}}(_0x18e1,0xe5b92),function(_0x3ec25f,_0x503cba){var _0x2e8714=_0x7506;typeof exports==_0x2e8714(0xe3)&&typeof module<'u'?_0x503cba(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x2e8714(0xdd)&&define[_0x2e8714(0xe2)]?define(['exports',_0x2e8714(0xe6)],_0x503cba):(_0x3ec25f=typeof globalThis<'u'?globalThis:_0x3ec25f||self,_0x503cba(_0x3ec25f['UniverProEngineFormulaFacade']={},_0x3ec25f['UniverEngineFormulaFacade']));}(this,function(_0x1fc90b,_0x314260){'use strict';var _0xfd87f9=_0x7506;Object[_0xfd87f9(0xd6)](_0x314260)[_0xfd87f9(0xdc)](_0x5a54ed=>{var _0x255ffa=_0xfd87f9;_0x5a54ed!==_0x255ffa(0xd3)&&!Object[_0x255ffa(0xd8)][_0x255ffa(0xe1)][_0x255ffa(0xd7)](_0x1fc90b,_0x5a54ed)&&Object[_0x255ffa(0xdb)](_0x1fc90b,_0x5a54ed,{'enumerable':!0x0,'get':()=>_0x314260[_0x5a54ed]});}),Object['defineProperty'](_0x1fc90b,Symbol[_0xfd87f9(0xe0)],{'value':'Module'});}));function _0x7506(_0x106c12,_0x509d77){_0x106c12=_0x106c12-0xd3;var _0x18e1d0=_0x18e1();var _0x750669=_0x18e1d0[_0x106c12];return _0x750669;}function _0x18e1(){var _0x4529c4=['toStringTag','hasOwnProperty','amd','object','860208VDoXIs','7837620GvyWFV','@univerjs/engine-formula/facade','default','3459376wBniRx','5263806AuZGQm','keys','call','prototype','479534KIpwID','16hAddvN','defineProperty','forEach','function','578856Ghgkzm','5367365eFqDzv'];_0x18e1=function(){return _0x4529c4;};return _0x18e1();}
|