@univerjs-pro/engine-formula 0.15.1-insiders.20260117-8ce4a01 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3999d8=_0x1c51;(function(_0x606a6b,_0x42fe76){const _0xef225=_0x1c51,_0xc989c2=_0x606a6b();while(!![]){try{const _0x2bccd7=-parseInt(_0xef225(0x272))/0x1*(parseInt(_0xef225(0x1fa))/0x2)+parseInt(_0xef225(0x256))/0x3*(parseInt(_0xef225(0x21c))/0x4)+-parseInt(_0xef225(0x1df))/0x5+-parseInt(_0xef225(0x221))/0x6*(parseInt(_0xef225(0x1ef))/0x7)+parseInt(_0xef225(0x284))/0x8+-parseInt(_0xef225(0x1d9))/0x9*(parseInt(_0xef225(0x276))/0xa)+parseInt(_0xef225(0x1cc))/0xb;if(_0x2bccd7===_0x42fe76)break;else _0xc989c2['push'](_0xc989c2['shift']());}catch(_0x53bd66){_0xc989c2['push'](_0xc989c2['shift']());}}}(_0x4517,0x9b2dd));var se=Object['defineProperty'],ce=(_0x299d1d,_0x1aabbf,_0xec99c6)=>_0x1aabbf in _0x299d1d?se(_0x299d1d,_0x1aabbf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xec99c6}):_0x299d1d[_0x1aabbf]=_0xec99c6,D=(_0x4caec2,_0x5101e3,_0x22e99b)=>ce(_0x4caec2,typeof _0x5101e3!=_0x3999d8(0x20f)?_0x5101e3+'':_0x5101e3,_0x22e99b);import{LexerTreeBuilder as _0x18977b,ErrorType as _0x59e111,DEFAULT_TOKEN_TYPE_ROOT as _0x510dda,DEFAULT_TOKEN_TYPE_PARAMETER as _0x4a351a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1747d6,NEW_EXCEL_FUNCTIONS as _0xd11881,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x744a49,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x49c877,matchToken as _0x451d39,SUFFIX_TOKEN_SET as _0x21dae7,prefixToken as _0x4b494c,LexerNode as _0x51d654,OPERATOR_TOKEN_SET as _0xb3e0a9,isReferenceString as _0x166fb1,splitTableStructuredRef as _0x12300a,FormulaDependencyGenerator as _0x5adc5c,generateRandomDependencyTreeId as _0x1a22c5,FormulaDependencyTree as _0x330a98,FormulaDependencyTreeType as _0x3fc8a3,FormulaDependencyTreeVirtual as _0x1d5f7b,generateAstNode as _0x5d1d80,CalculateFormulaService as _0x7fcbbf,FormulaExecuteStageType as _0x2d1461,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3ebccf,DEFAULT_INTERVAL_COUNT as _0x665138,DependencyManagerBaseService as _0x4e192b,UniverFormulaEnginePlugin as _0x3f4b6c,ICalculateFormulaService as _0x476ac0,IDependencyManagerService as _0x127de8,IFormulaDependencyGenerator as _0x1006b6,DependencyManagerService as _0x4c6b88}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x38b343,LS_CONFIG_KEY as _0x237260,unshiftString as _0x380e95,isFeatureAuthorizedWithinTime as _0x37fd9b,getSheetFeatureLimit as _0x98316b}from'@univerjs-pro/license';import{ObjectMatrix as _0x3487a2,requestImmediateMacroTask as _0xecd806,RTree as _0x93d090,DependentOn as _0x207774}from'@univerjs/core';class Ie extends _0x18977b{constructor(){const _0x5aa376=_0x3999d8;super(...arguments),D(this,_0x5aa376(0x22a),!0x1),D(this,'_lambdaFunctionParameterSet',new Set()),D(this,_0x5aa376(0x1d7),_0x5aa376(0x1e5)),D(this,_0x5aa376(0x1da),'_xlfn.'),D(this,_0x5aa376(0x20b),'');}[_0x3999d8(0x297)](){const _0x4f5764=_0x3999d8;this['_xlpmPrefix']=_0x4f5764(0x1e5),this[_0x4f5764(0x1da)]='_xlfn.';}[_0x3999d8(0x25e)](){const _0x5dc52a=_0x3999d8;this[_0x5dc52a(0x1d7)]='',this[_0x5dc52a(0x1da)]='';}[_0x3999d8(0x265)](_0x1a0d88,_0x23890f){const _0x15bc86=_0x3999d8,_0x54293b=this[_0x15bc86(0x1fb)](_0x1a0d88,!0x1);if(!_0x54293b||_0x54293b===_0x59e111[_0x15bc86(0x20e)]||Array['isArray'](_0x54293b))return null;const _0x301389=[];return this[_0x15bc86(0x22a)]=!0x1,this['_generateNewFunctionString'](_0x54293b,_0x301389,_0x23890f),this[_0x15bc86(0x22a)]?'='+_0x301389[_0x15bc86(0x1f9)](''):null;}[_0x3999d8(0x280)](_0x439f3a,_0x9a983e,_0x11780f){const _0x41fb42=_0x3999d8,_0x9f3672=_0x439f3a[_0x41fb42(0x247)](),_0x493a44=_0x9f3672[_0x41fb42(0x200)](),_0x5040fb=_0x493a44['toUpperCase'](),_0x5c3502=this[_0x41fb42(0x1e4)](_0x5040fb),_0x253f9a=_0x11780f(_0x5c3502);let _0x11a7cf=0x0;_0x9f3672===_0x510dda?_0x11a7cf=0x3:_0x9f3672===_0x4a351a?_0x11a7cf=0x4:_0x9f3672===_0x1747d6?_0x11a7cf=0x5:_0xd11881[_0x41fb42(0x233)](_0x5c3502)?(_0x9a983e[_0x41fb42(0x1e8)](''+this[_0x41fb42(0x1da)]+_0x493a44),this[_0x41fb42(0x22a)]=!0x0):_0x5040fb===_0x744a49?(_0x9a983e[_0x41fb42(0x1e8)](''+this[_0x41fb42(0x1da)]+_0x493a44),this[_0x41fb42(0x22a)]=!0x0,_0x11a7cf=0x2):_0x5040fb===_0x49c877?(_0x9a983e['push'](''+this['_xlfnPrefix']+_0x493a44),this[_0x41fb42(0x22a)]=!0x0,_0x11a7cf=0x1):_0x5040fb===_0x451d39[_0x41fb42(0x273)]?_0x11a7cf=0x8:_0x21dae7['has'](_0x5040fb)?_0x11a7cf=0x7:_0x5040fb===_0x4b494c[_0x41fb42(0x1cf)]?(this['_checkAddBracketForMinus'](_0x439f3a)&&(_0x11a7cf=0x9),_0x9a983e[_0x41fb42(0x1e8)](_0x9f3672)):(_0x9a983e['push'](_0x9f3672),_0x11a7cf=0xa),_0x253f9a?(_0x11a7cf!==0x2&&_0x11a7cf!==0x1&&(_0x11a7cf=0x6),_0x9a983e['push']('(')):_0x11a7cf===0x9&&_0x9a983e[_0x41fb42(0x1e8)]('(');const _0x297b49=_0x439f3a[_0x41fb42(0x275)](),_0x56dcb8=_0x297b49[_0x41fb42(0x26d)];if(_0x11a7cf===0x2){const _0x101e09=_0x297b49[0x0];let _0x4a10ca=0x0;_0x101e09 instanceof _0x51d654&&_0x101e09[_0x41fb42(0x247)]()===_0x1747d6&&(_0x4a10ca=0x1);for(let _0x3accea=_0x4a10ca;_0x3accea<_0x56dcb8-0x1;_0x3accea++){const _0xfdda06=_0x297b49[_0x3accea];if(_0xfdda06 instanceof _0x51d654){const _0x46d238=_0xfdda06[_0x41fb42(0x275)]()[0x0];typeof _0x46d238==_0x41fb42(0x1dd)&&(this[_0x41fb42(0x1ce)][_0x41fb42(0x233)](_0x46d238)&&console[_0x41fb42(0x212)](_0x41fb42(0x22e)+_0x46d238+'\x22\x20is\x20duplicated.'),this[_0x41fb42(0x1ce)][_0x41fb42(0x24b)](_0x46d238),_0x9a983e[_0x41fb42(0x1e8)](''+this[_0x41fb42(0x1d7)]+_0x46d238),this[_0x41fb42(0x22a)]=!0x0);}_0x9a983e['push'](',');}this[_0x41fb42(0x1f5)](_0x297b49[_0x56dcb8-0x1],_0x9a983e,_0x11780f),_0x4a10ca===0x1&&(_0x9a983e[_0x41fb42(0x1e8)](')'),_0x9a983e[_0x41fb42(0x1e8)]('('),this['_generateNewFunctionString'](_0x101e09,_0x9a983e,_0x11780f)),_0x9a983e[_0x41fb42(0x1e8)](')');return;}else{if(_0x11a7cf===0x1){for(let _0x3313c4=0x0;_0x3313c4<_0x56dcb8-0x1;_0x3313c4++){const _0x2183ce=_0x297b49[_0x3313c4];if(_0x2183ce instanceof _0x51d654&&_0x3313c4%0x2===0x0){const _0xee02ab=_0x2183ce[_0x41fb42(0x275)]()[0x0];if(typeof _0xee02ab=='string'){this[_0x41fb42(0x1ce)]['has'](_0xee02ab)&&console[_0x41fb42(0x212)]('Let\x20variable\x20name\x20\x22'+_0xee02ab+'\x22\x20is\x20duplicated.'),this[_0x41fb42(0x1ce)]['add'](_0xee02ab),_0x9a983e[_0x41fb42(0x1e8)](''+this[_0x41fb42(0x1d7)]+_0xee02ab),this[_0x41fb42(0x22a)]=!0x0,_0x9a983e[_0x41fb42(0x1e8)](',');continue;}}if(this[_0x41fb42(0x1f5)](_0x2183ce,_0x9a983e,_0x11780f),_0x2183ce instanceof _0x51d654){const _0xd9437e=_0x297b49[_0x3313c4+0x1];_0xd9437e&&_0xd9437e instanceof _0x51d654&&_0x9a983e['push'](',');}}this[_0x41fb42(0x1f5)](_0x297b49[_0x56dcb8-0x1],_0x9a983e,_0x11780f),_0x9a983e[_0x41fb42(0x1e8)](')');return;}else{if(_0x11a7cf===0x8){const _0x2970f8=_0x297b49[0x0],_0x4fa323=_0x297b49[0x1];this[_0x41fb42(0x1f5)](_0x2970f8,_0x9a983e,_0x11780f),_0x9a983e[_0x41fb42(0x1e8)](_0x9f3672),this[_0x41fb42(0x1f5)](_0x4fa323,_0x9a983e,_0x11780f);return;}}}for(let _0x57d2be=0x0;_0x57d2be<_0x56dcb8;_0x57d2be++){const _0x1dc56e=_0x297b49[_0x57d2be];if(this[_0x41fb42(0x1f5)](_0x1dc56e,_0x9a983e,_0x11780f),_0x1dc56e instanceof _0x51d654){const _0x254ec6=_0x297b49[_0x57d2be+0x1];_0x254ec6&&_0x254ec6 instanceof _0x51d654&&_0x9a983e[_0x41fb42(0x1e8)](',');}}_0x11a7cf===0x7&&_0x9a983e[_0x41fb42(0x1e8)](_0x9f3672),(_0x253f9a||_0x11a7cf===0x9)&&_0x9a983e[_0x41fb42(0x1e8)](')');}['_handleNewFunctionChild'](_0x4c6c0f,_0x351198,_0x31e69e){const _0x36ed0d=_0x3999d8;_0x4c6c0f instanceof _0x51d654?this['_generateNewFunctionString'](_0x4c6c0f,_0x351198,_0x31e69e):this[_0x36ed0d(0x1ce)][_0x36ed0d(0x233)](_0x4c6c0f)?(_0x351198[_0x36ed0d(0x1e8)](''+this[_0x36ed0d(0x1d7)]+_0x4c6c0f),this[_0x36ed0d(0x22a)]=!0x0):_0x351198['push'](_0x4c6c0f);}['_clearFunctionString'](_0x119892){const _0x5de22b=_0x3999d8;let _0x1f7437=_0x119892[_0x5de22b(0x200)]();if(!_0x1f7437)return _0x1f7437;const _0x42e981=_0x1f7437[0x0];if((_0x42e981===_0x4b494c['AT']||_0x42e981===_0x4b494c['MINUS']||_0x42e981===_0x4b494c[_0x5de22b(0x298)])&&(_0x1f7437=_0x1f7437[_0x5de22b(0x1e2)](0x1)),!_0x1f7437)return _0x1f7437;const _0x31da34=_0x1f7437[_0x1f7437[_0x5de22b(0x26d)]-0x1];return _0x21dae7['has'](_0x31da34)&&(_0x1f7437=_0x1f7437[_0x5de22b(0x1e2)](0x0,-0x1)),_0x1f7437;}[_0x3999d8(0x205)](_0x506af7){const _0x322bb8=_0x3999d8,_0x2a9762=_0x506af7[_0x322bb8(0x275)]()[0x0];if(!_0x2a9762||!(_0x2a9762 instanceof _0x51d654)||_0x506af7[_0x322bb8(0x275)]()['length']>0x1)return!0x1;const _0x25a08d=_0x2a9762[_0x322bb8(0x275)](),_0x367a20=_0x25a08d[_0x322bb8(0x26d)];if(_0x367a20===0x1)return!0x1;for(let _0x4f7236=0x0;_0x4f7236<_0x367a20;_0x4f7236++){const _0x55be37=_0x25a08d[_0x4f7236];if(!(_0x55be37 instanceof _0x51d654)&&_0xb3e0a9[_0x322bb8(0x233)](_0x55be37))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x26b6f2,_0x59636e,_0x461632,_0x30ccde,_0x3da3b2){const _0x4b42d5=_0x3999d8,_0x298946=this[_0x4b42d5(0x1fb)](_0x26b6f2,!0x1);if(!_0x298946||_0x298946===_0x59e111['VALUE']||Array[_0x4b42d5(0x21d)](_0x298946))return null;this[_0x4b42d5(0x25e)](),this[_0x4b42d5(0x20b)]=_0x59636e;const _0x21d64e=this['_generateExprTree'](_0x298946,_0x461632,_0x30ccde,_0x3da3b2);return this[_0x4b42d5(0x20b)]='',this['_resetPrefix'](),_0x21d64e;}[_0x3999d8(0x21e)](_0x2cd594,_0x482700,_0x584836,_0x1f1735){const _0x48cc5d=_0x3999d8,_0x2c73fd={'value':'','children':[],'startIndex':0x0};let _0x33ec41=_0x2cd594;if(_0x33ec41 instanceof _0x51d654&&(_0x33ec41['getToken']()===_0x510dda||_0x33ec41[_0x48cc5d(0x247)]()===_0x4a351a)&&_0x33ec41[_0x48cc5d(0x275)]()[_0x48cc5d(0x26d)]===0x1&&(_0x33ec41=_0x33ec41[_0x48cc5d(0x275)]()[0x0]),!(_0x33ec41 instanceof _0x51d654))return this[_0x48cc5d(0x23b)](_0x33ec41,_0x584836,_0x1f1735);const _0xf99415=_0x33ec41['getChildren'](),_0x15f11e=_0xf99415[_0x48cc5d(0x26d)],_0x4ef8db=[];this[_0x48cc5d(0x280)](_0x33ec41,_0x4ef8db,_0x482700),_0x2c73fd[_0x48cc5d(0x26c)]=_0x4ef8db[_0x48cc5d(0x1f9)](''),_0x2c73fd[_0x48cc5d(0x1e7)]=_0x33ec41[_0x48cc5d(0x1ff)]();const _0x641c18=this[_0x48cc5d(0x278)](_0x33ec41);if(_0x641c18===0x2){const _0x41e5c9=_0xf99415[0x0];if(_0x41e5c9 instanceof _0x51d654){if(_0x41e5c9[_0x48cc5d(0x247)]()[_0x48cc5d(0x200)]()!==_0x1747d6)return _0x2c73fd;this['_handleLambdaForExprTree'](_0x41e5c9,_0x2c73fd,_0x482700,_0x584836,_0x1f1735);}return _0x2c73fd;}else{if(_0x641c18===0x1){for(let _0x3826ac=0x0;_0x3826ac<_0x15f11e-0x1;_0x3826ac++){const _0x2b666b=_0xf99415[_0x3826ac];if(_0x2b666b instanceof _0x51d654&&_0x3826ac%0x2===0x1){const _0x5cd91c=_0x2b666b[_0x48cc5d(0x275)]();if(_0x5cd91c[_0x48cc5d(0x26d)]===0x1&&!(_0x5cd91c[0x0]instanceof _0x51d654))continue;const _0x45a9f9=this['_generateExprTree'](_0x2b666b,_0x482700,_0x584836,_0x1f1735);_0x45a9f9&&_0x2c73fd[_0x48cc5d(0x1dc)][_0x48cc5d(0x1e8)](_0x45a9f9);}}return _0x2c73fd;}else{if(_0x641c18===0x8){const _0x334923=_0xf99415[0x0];if(_0x334923 instanceof _0x51d654){const _0x5ab4e3=_0x334923[_0x48cc5d(0x275)]()[0x0];_0x5ab4e3 instanceof _0x51d654&&(_0x2c73fd[_0x48cc5d(0x1e7)]=_0x5ab4e3[_0x48cc5d(0x1ff)]());}if(this[_0x48cc5d(0x1ed)](_0x33ec41))return _0x2c73fd;}else{if(_0x641c18===0x7){const _0x400153=_0xf99415[0x0];if(_0x400153 instanceof _0x51d654){const _0x8bdafd=_0x400153[_0x48cc5d(0x275)]()[0x0];_0x8bdafd instanceof _0x51d654&&(_0x2c73fd[_0x48cc5d(0x1e7)]=_0x8bdafd[_0x48cc5d(0x1ff)]());}}}}}return this[_0x48cc5d(0x250)](_0xf99415,_0x641c18,_0x2c73fd,_0x482700,_0x584836,_0x1f1735),_0x2c73fd;}[_0x3999d8(0x250)](_0x3a567c,_0x1043ab,_0x4ca9ad,_0x1afa96,_0x2d1b14,_0x35d503){const _0x40d3c9=_0x3999d8;for(let _0x1d81b6=0x0;_0x1d81b6<_0x3a567c[_0x40d3c9(0x26d)];_0x1d81b6++){let _0x36aaa0=_0x3a567c[_0x1d81b6];if(!(_0x36aaa0 instanceof _0x51d654)){const _0x1a94bf=this[_0x40d3c9(0x23b)](_0x36aaa0,_0x2d1b14,_0x35d503);_0x1a94bf&&_0x4ca9ad['children'][_0x40d3c9(0x1e8)](_0x1a94bf);continue;}const _0x3b6100=_0x36aaa0[_0x40d3c9(0x275)]();if(_0x3b6100[_0x40d3c9(0x26d)]===0x1&&!(_0x3b6100[0x0]instanceof _0x51d654)){const _0x4d871e=_0x3b6100[0x0];if(!_0x2d1b14(this['_currentUnitId'],_0x4d871e)&&!this[_0x40d3c9(0x25a)](_0x4d871e,_0x35d503)&&!_0x166fb1(_0x4d871e))continue;}if(_0x1043ab===0x8){const _0x24fa93=_0x3b6100[0x0];if(_0x24fa93 instanceof _0x51d654){const _0x3384b8=_0x24fa93[_0x40d3c9(0x247)]()[_0x40d3c9(0x200)]();if(_0x166fb1(_0x3384b8))continue;_0x36aaa0=_0x24fa93;}}const _0x39fc80=this[_0x40d3c9(0x21e)](_0x36aaa0,_0x1afa96,_0x2d1b14,_0x35d503);_0x39fc80&&_0x4ca9ad[_0x40d3c9(0x1dc)]['push'](_0x39fc80);}}[_0x3999d8(0x1ed)](_0xe799ba){const _0x2cd86c=_0x3999d8,_0x1be1ee=_0xe799ba[_0x2cd86c(0x275)]();if(_0x1be1ee[_0x2cd86c(0x26d)]<0x2)return!0x1;const _0x112e00=_0x1be1ee[0x0],_0x1f0c5b=_0x1be1ee[0x1];if(!(_0x112e00 instanceof _0x51d654)||!(_0x1f0c5b instanceof _0x51d654))return!0x1;const _0x5e24b1=_0x112e00[_0x2cd86c(0x275)]()[0x0],_0x40bce5=_0x1f0c5b[_0x2cd86c(0x275)]()[0x0];if(!(_0x5e24b1 instanceof _0x51d654)||!(_0x40bce5 instanceof _0x51d654))return!0x1;const _0x25ca52=_0x5e24b1[_0x2cd86c(0x247)]()[_0x2cd86c(0x200)](),_0x479441=_0x40bce5[_0x2cd86c(0x247)]()[_0x2cd86c(0x200)]();return!!_0x166fb1(''+_0x25ca52+_0x451d39[_0x2cd86c(0x273)]+_0x479441);}['_handleTextNodeForExprTree'](_0x28496c,_0xc7a754,_0x3419eb){const _0x1b2e4d=_0x3999d8,_0x307865=_0x28496c['trim']();return _0x307865['startsWith']('{')&&_0x307865[_0x1b2e4d(0x287)]('}')||_0xc7a754(this[_0x1b2e4d(0x20b)],_0x307865)||this[_0x1b2e4d(0x25a)](_0x307865,_0x3419eb)||_0x166fb1(_0x307865)?{'value':_0x307865,'children':[],'startIndex':-0x1}:null;}[_0x3999d8(0x25a)](_0x820a82,_0x2d7f32){const _0x61ab4c=_0x3999d8,{tableName:_0x3bbe49}=_0x12300a(_0x820a82);return _0x2d7f32(this[_0x61ab4c(0x20b)],_0x3bbe49)?_0x3bbe49:null;}[_0x3999d8(0x1e9)](_0x1406df,_0x50e55e,_0x12a2fe,_0x555cd2,_0x3c1429){const _0x6afbe8=_0x3999d8,_0x5bfbd1=_0x1406df[_0x6afbe8(0x275)]();for(let _0x2543a0=0x0;_0x2543a0<_0x5bfbd1['length'];_0x2543a0++){const _0x19bdd3=_0x5bfbd1[_0x2543a0];if(!(_0x19bdd3 instanceof _0x51d654))continue;const _0x53af9f=_0x19bdd3['getChildren']();if(_0x53af9f[_0x6afbe8(0x26d)]===0x1&&!(_0x53af9f[0x0]instanceof _0x51d654))continue;const _0x18a014=this[_0x6afbe8(0x21e)](_0x19bdd3,_0x12a2fe,_0x555cd2,_0x3c1429);_0x18a014&&_0x50e55e[_0x6afbe8(0x1dc)]['push'](_0x18a014);}}[_0x3999d8(0x278)](_0x1bbc23){const _0x378747=_0x3999d8,_0x58e0da=_0x1bbc23[_0x378747(0x247)](),_0x535c1e=_0x58e0da['trim']()[_0x378747(0x229)]();let _0x396f9d=0x0;return _0x58e0da===_0x510dda?_0x396f9d=0x3:_0x58e0da===_0x4a351a?_0x396f9d=0x4:_0x58e0da===_0x1747d6?_0x396f9d=0x5:_0x535c1e===_0x744a49?_0x396f9d=0x2:_0x535c1e===_0x49c877?_0x396f9d=0x1:_0x535c1e===_0x451d39['COLON']?_0x396f9d=0x8:_0x21dae7[_0x378747(0x233)](_0x535c1e)?_0x396f9d=0x7:_0x535c1e===_0x4b494c[_0x378747(0x1cf)]?this[_0x378747(0x205)](_0x1bbc23)&&(_0x396f9d=0x9):_0x396f9d=0xa,_0x396f9d;}}const we={0x0:'F',0x1:'8',0x2:'\x20',0x3:'J',0x4:'C',0x5:'Q',0x6:'U',0x7:'0',0x8:'y',0x9:'9','f':'1','t':'2','A':'3','k':'4','o':'5','D':'6','M':'7','e':'a','P':'b','Q':'c','m':'d','K':'e','E':'f','B':'g','\x20':'h','X':'i','O':'j','q':'k','G':'l','r':'m','T':'n','I':'o','F':'p','p':'q','w':'r','c':'s','L':'t','l':'u','y':'v','g':'w','R':'x','u':'z','v':'A','W':'B','U':'D','s':'E','b':'G','n':'H','J':'I','V':'K','H':'L','Y':'M','x':'N','C':'O','i':'P','h':'R','N':'S','a':'T','j':'V','S':'W','z':'X','Z':'Y','d':'Z'},Ee=_0x3999d8(0x28b);class ve extends _0x5adc5c{constructor(){const _0x30a9bb=_0x3999d8;super(...arguments),D(this,_0x30a9bb(0x1ca),new Map());}[_0x3999d8(0x1c5)](){const _0x1a6c02=_0x3999d8;super[_0x1a6c02(0x1c5)](),this[_0x1a6c02(0x1ca)][_0x1a6c02(0x251)]();}async[_0x3999d8(0x1fe)](_0x31f45e=!0x1){const _0x201e3c=_0x3999d8;this[_0x201e3c(0x1f4)]();const _0x1363ef=this['_currentConfigService'][_0x201e3c(0x286)](),_0xa7f5cd=this[_0x201e3c(0x271)][_0x201e3c(0x234)](),_0x47d721=this[_0x201e3c(0x1e3)][_0x201e3c(0x270)]();_0x47d721!=null&&Object['keys'](_0x47d721)[_0x201e3c(0x25b)](_0x4f647b=>{const _0x176798=_0x201e3c;_0x4f647b!=null&&Object[_0x176798(0x1d1)](_0x47d721[_0x4f647b])[_0x176798(0x25b)](_0x1ebf6a=>{const _0x4b089f=_0x176798;_0x1ebf6a!=null&&(this[_0x4b089f(0x263)][_0x4b089f(0x231)](_0x4f647b,_0x1ebf6a),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x4f647b,_0x1ebf6a),this[_0x4b089f(0x263)][_0x4b089f(0x27f)](_0x4f647b,_0x1ebf6a));});});const _0x24fa91=this[_0x201e3c(0x1e3)][_0x201e3c(0x23a)]();await this[_0x201e3c(0x28f)](_0x1363ef,_0xa7f5cd,_0x24fa91),this['_dependencyManagerService']['openKdTree']();const _0x49f730=this[_0x201e3c(0x282)](),_0x2084af=this[_0x201e3c(0x220)](_0x49f730);return this[_0x201e3c(0x241)](_0x2084af)&&this[_0x201e3c(0x22b)][_0x201e3c(0x20d)](),_0x31f45e&&this[_0x201e3c(0x22b)][_0x201e3c(0x28c)](this[_0x201e3c(0x296)](Array[_0x201e3c(0x1f0)](this['_dependencyTreeCache'][_0x201e3c(0x213)]()))),this['_dependencyTreeCache'][_0x201e3c(0x251)](),this[_0x201e3c(0x1eb)][_0x201e3c(0x251)](),this['_dependencyManagerService'][_0x201e3c(0x209)](),this['_runtimeService']['clearArrayObjectCache'](),Promise['resolve'](_0x2084af);}[_0x3999d8(0x203)](_0x4acc95,_0x2655ea){const _0xe1227=_0x3999d8,_0x14bbeb=[_0x4acc95];for(;_0x14bbeb[_0xe1227(0x26d)]>0x0;){const _0x51e393=_0x14bbeb[_0x14bbeb[_0xe1227(0x26d)]-0x1];if((_0x2655ea[_0xe1227(0x1f3)](_0x51e393)||0x0)===0x0){_0x2655ea[_0xe1227(0x245)](_0x51e393,0x1);const _0x5438bd=this[_0xe1227(0x1ca)][_0xe1227(0x1f3)](_0x51e393);if(_0x5438bd==null){_0x2655ea[_0xe1227(0x245)](_0x51e393,0x2),_0x14bbeb[_0xe1227(0x1d6)]();continue;}const _0x5b793a=this[_0xe1227(0x263)]['searchDependency'](_0x5438bd[_0xe1227(0x1d3)]());for(const _0x322505 of _0x5b793a){const _0x245020=_0x2655ea[_0xe1227(0x1f3)](_0x322505)||0x0;if(_0x245020===0x1)return!0x0;_0x245020===0x0&&_0x14bbeb['push'](_0x322505);}}else _0x2655ea[_0xe1227(0x245)](_0x51e393,0x2),_0x14bbeb[_0xe1227(0x1d6)]();}return!0x1;}[_0x3999d8(0x241)](_0x3b5904){const _0x13c497=_0x3999d8,_0x529c2f=new Map();for(const _0x1b3885 of _0x3b5904)if(!_0x529c2f['has'](_0x1b3885[_0x13c497(0x24f)])&&this['_isCyclicUtilMap'](_0x1b3885[_0x13c497(0x24f)],_0x529c2f))return!0x0;return _0x529c2f[_0x13c497(0x251)](),!0x1;}[_0x3999d8(0x277)](_0x208616,_0x2bd9bb,_0x58b73c){const _0x1b9b3c=_0x3999d8,{unitId:_0x2b8858,subUnitId:_0x1c95af,dependencyRanges:_0x1bb377,getDirtyData:_0xd2e55a}=_0x58b73c,_0x4e3b79=_0x2bd9bb||_0x1a22c5(this[_0x1b9b3c(0x263)]),_0x2ea342=new _0x330a98(_0x4e3b79);_0x2ea342['unitId']=_0x2b8858,_0x2ea342[_0x1b9b3c(0x224)]=_0x1c95af,_0x2ea342[_0x1b9b3c(0x26a)]=_0x1bb377,_0x2ea342[_0x1b9b3c(0x266)]=_0xd2e55a;const _0x2db5e8=_0xd2e55a(this[_0x1b9b3c(0x1e3)]['getDirtyData'](),this[_0x1b9b3c(0x22b)][_0x1b9b3c(0x237)]()),_0x56df4f=this[_0x1b9b3c(0x219)](_0x2db5e8['dirtyRanges']);return _0x2ea342[_0x1b9b3c(0x223)]=_0x56df4f,_0x2ea342[_0x1b9b3c(0x243)]=_0x208616,_0x2ea342['type']=_0x3fc8a3[_0x1b9b3c(0x1c7)],this['_dependencyManagerService'][_0x1b9b3c(0x258)](_0x2b8858,_0x1c95af,_0x208616,_0x2ea342),this[_0x1b9b3c(0x1ca)][_0x1b9b3c(0x245)](_0x2ea342[_0x1b9b3c(0x24f)],_0x2ea342),this[_0x1b9b3c(0x263)][_0x1b9b3c(0x246)](_0x58b73c[_0x1b9b3c(0x1d0)],_0x58b73c[_0x1b9b3c(0x224)],_0x208616)&&(_0x2ea342[_0x1b9b3c(0x253)]=!0x0),_0x2ea342;}[_0x3999d8(0x1ee)](_0x3fabc8,_0x5450de,_0x26ad72){const _0x3c8623=_0x3999d8;var _0x5699e7;for(const _0x41ed2a of _0x5450de){const _0x3aea90=_0x3fabc8[_0x41ed2a];if(_0x3aea90==null)continue;const _0x59033d=Object[_0x3c8623(0x1d1)](_0x3aea90);for(const _0x5cb4e0 of _0x59033d){const _0x489faa=_0x3aea90[_0x5cb4e0];if(_0x489faa==null)continue;const _0x4ecf76=Object['keys'](_0x489faa);for(const _0x578b21 of _0x4ecf76){const _0x5d5185=this[_0x3c8623(0x263)]['hasOtherFormulaDataMainData'](_0x578b21),_0x12fbfc=_0x489faa[_0x578b21],{f:_0xb4b034,ranges:_0x1c40ed}=_0x12fbfc;let _0x19954f=!0x1;_0x5d5185&&(_0x19954f=!0x0);const {firstRow:_0x54d87d,firstColumn:_0x57fc5c}=this[_0x3c8623(0x228)](_0x1c40ed),_0x506a3e=this[_0x3c8623(0x263)][_0x3c8623(0x1fd)](_0x41ed2a,_0x5cb4e0,_0x578b21),_0x214f9b=(_0x5699e7=_0x506a3e==null?void 0x0:_0x506a3e['getValue'](0x0,0x0))!=null?_0x5699e7:_0x1a22c5(this[_0x3c8623(0x263)]),_0x3dd7b0=new _0x330a98(_0x214f9b);for(let _0x1f0da8=0x0;_0x1f0da8<_0x1c40ed[_0x3c8623(0x26d)];_0x1f0da8++){const _0x3c46ab=_0x1c40ed[_0x1f0da8],{startRow:_0x4611e5,startColumn:_0x49f527,endRow:_0x2fd0fb,endColumn:_0x4ac668}=_0x3c46ab;for(let _0x2bdc5d=_0x4611e5;_0x2bdc5d<=_0x2fd0fb;_0x2bdc5d++)for(let _0x3a6338=_0x49f527;_0x3a6338<=_0x4ac668;_0x3a6338++){const _0x48f894=_0x3a6338-_0x57fc5c,_0x569ca6=_0x2bdc5d-_0x54d87d;if(_0x48f894===0x0&&_0x569ca6===0x0){_0x3dd7b0[_0x3c8623(0x1cd)]=_0xb4b034,_0x3dd7b0[_0x3c8623(0x1d0)]=_0x41ed2a,_0x3dd7b0['subUnitId']=_0x5cb4e0,_0x3dd7b0[_0x3c8623(0x1c1)]=_0x578b21,_0x3dd7b0[_0x3c8623(0x1f8)]=_0x3fc8a3['OTHER_FORMULA'],_0x3dd7b0['isCache']=_0x19954f,_0x26ad72[_0x3c8623(0x1e8)](_0x3dd7b0),this[_0x3c8623(0x1ca)][_0x3c8623(0x245)](_0x3dd7b0['treeId'],_0x3dd7b0),this['_dependencyManagerService'][_0x3c8623(0x227)](_0x41ed2a,_0x5cb4e0,_0x578b21,_0x3dd7b0),this[_0x3c8623(0x263)][_0x3c8623(0x27c)](_0x3dd7b0);continue;}const _0x3cffa8=new _0x1d5f7b();_0x3cffa8['treeId']=(_0x506a3e==null?void 0x0:_0x506a3e[_0x3c8623(0x254)](_0x48f894,_0x569ca6))||_0x1a22c5(this[_0x3c8623(0x263)]),_0x3cffa8['refTree']=_0x3dd7b0,_0x3cffa8[_0x3c8623(0x22d)]=_0x48f894,_0x3cffa8[_0x3c8623(0x201)]=_0x569ca6,_0x3cffa8[_0x3c8623(0x253)]=_0x19954f,_0x3cffa8['type']=_0x3fc8a3[_0x3c8623(0x1e0)],this[_0x3c8623(0x263)][_0x3c8623(0x227)](_0x41ed2a,_0x5cb4e0,_0x578b21,_0x3cffa8),this[_0x3c8623(0x263)][_0x3c8623(0x27c)](_0x3cffa8),_0x26ad72[_0x3c8623(0x1e8)](_0x3cffa8),this[_0x3c8623(0x1ca)]['set'](_0x3cffa8[_0x3c8623(0x24f)],_0x3cffa8);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x578b21);}}}}['_registerFormulas'](_0x583d08,_0x5ac0c0,_0x1cfd2e,_0x38bbf2){const _0x597172=_0x3999d8;for(const _0x496c85 of _0x583d08){const _0x1eb609=_0x5ac0c0[_0x496c85];if(_0x1eb609==null)continue;const _0xbd2cc3=Object['keys'](_0x1eb609);for(const _0x363210 of _0xbd2cc3){const _0xaeef7e=new _0x3487a2(_0x1eb609[_0x363210]||{}),_0x31d4eb=new Map();_0xaeef7e[_0x597172(0x207)]((_0x5bfda5,_0x34b5f8,_0x46eab3)=>{const _0x334705=_0x597172;if(_0x46eab3==null)return!0x0;const {x:_0x241182=0x0,y:_0x3b13aa=0x0,si:_0x64242f}=_0x46eab3;if(!(_0x241182===0x0&&_0x3b13aa===0x0&&_0x64242f!=null))return!0x0;const _0x202ddb=this[_0x334705(0x1f7)](_0x496c85,_0x363210,_0x5bfda5,_0x34b5f8,_0x1cfd2e,_0x46eab3),_0x38673c=this[_0x334705(0x263)][_0x334705(0x274)](_0x496c85,_0x363210,_0x5bfda5,_0x34b5f8);_0x38673c!=null?_0x202ddb[_0x334705(0x24f)]=_0x38673c:(this[_0x334705(0x263)]['addFormulaDependency'](_0x496c85,_0x363210,_0x5bfda5,_0x34b5f8,_0x202ddb),this[_0x334705(0x263)][_0x334705(0x27c)](_0x202ddb)),_0x31d4eb[_0x334705(0x245)](_0x64242f,_0x202ddb),_0x38bbf2[_0x334705(0x1e8)](_0x202ddb),this['_dependencyTreeCache']['set'](_0x202ddb[_0x334705(0x24f)],_0x202ddb);}),_0xaeef7e[_0x597172(0x207)]((_0x1bbec6,_0x3b422d,_0x4c90ca)=>{const _0x3d668f=_0x597172;if(_0x4c90ca==null)return!0x0;const {x:_0x11cd45=0x0,y:_0x919230=0x0,si:_0x365177}=_0x4c90ca;if(_0x11cd45===0x0&&_0x919230===0x0&&_0x365177!=null)return!0x0;let _0x3b98a8;if(_0x365177&&_0x31d4eb[_0x3d668f(0x233)](_0x365177)){const _0x1275b8=_0x31d4eb[_0x3d668f(0x1f3)](_0x365177);_0x3b98a8=this[_0x3d668f(0x283)](_0x1275b8,_0x4c90ca);}else _0x3b98a8=this[_0x3d668f(0x1f7)](_0x496c85,_0x363210,_0x1bbec6,_0x3b422d,_0x1cfd2e,_0x4c90ca);const _0x3d3457=this[_0x3d668f(0x263)]['getFormulaDependency'](_0x496c85,_0x363210,_0x1bbec6,_0x3b422d);_0x3d3457!=null?_0x3b98a8[_0x3d668f(0x24f)]=_0x3d3457:(this[_0x3d668f(0x263)][_0x3d668f(0x226)](_0x496c85,_0x363210,_0x1bbec6,_0x3b422d,_0x3b98a8),this[_0x3d668f(0x263)][_0x3d668f(0x27c)](_0x3b98a8)),_0x38bbf2[_0x3d668f(0x1e8)](_0x3b98a8),this[_0x3d668f(0x1ca)][_0x3d668f(0x245)](_0x3b98a8['treeId'],_0x3b98a8);}),_0x31d4eb[_0x597172(0x251)]();}}}[_0x3999d8(0x1f7)](_0x33a29d,_0x124920,_0x4d1652,_0x340a9b,_0xd13fbc,_0x55afa9){const _0x35b46b=_0x3999d8,{f:_0x345c60,x:_0x2fb246=0x0,y:_0x1b3ee3=0x0}=_0x55afa9,_0x4dbae0=new _0x330a98(_0x1a22c5(this[_0x35b46b(0x263)])),_0x50609e=_0xd13fbc[_0x33a29d][_0x124920];return _0x4dbae0[_0x35b46b(0x1cd)]=_0x345c60,_0x4dbae0[_0x35b46b(0x1d0)]=_0x33a29d,_0x4dbae0[_0x35b46b(0x224)]=_0x124920,_0x4dbae0['row']=_0x4d1652,_0x4dbae0[_0x35b46b(0x249)]=_0x340a9b,_0x4dbae0['rowCount']=_0x50609e[_0x35b46b(0x289)],_0x4dbae0[_0x35b46b(0x281)]=_0x50609e[_0x35b46b(0x281)],_0x4dbae0;}['_getUpdateTreeListAndMakeDependency'](){const _0x29c636=_0x3999d8,_0x3aadf1=[],_0x499aa4=new Set(),_0x4fc9c9=this[_0x29c636(0x1e3)][_0x29c636(0x28a)](),_0x1892f3=this[_0x29c636(0x1e3)][_0x29c636(0x285)](),_0x35d1f6=this['_dependencyManagerService']['searchDependency'](_0x1892f3),_0x468a32=this[_0x29c636(0x1eb)][_0x29c636(0x267)](_0x1892f3);for(const _0x103665 of _0x468a32)_0x35d1f6['add'](_0x103665);for(const [_0x24e3e6,_0x4d0fef]of this[_0x29c636(0x1ca)])(_0x4fc9c9||_0x4d0fef[_0x29c636(0x260)]||_0x4d0fef[_0x29c636(0x248)](this['_currentConfigService'][_0x29c636(0x232)]())||_0x35d1f6[_0x29c636(0x233)](_0x24e3e6)&&!_0x4d0fef[_0x29c636(0x27d)](this[_0x29c636(0x1e3)][_0x29c636(0x1c8)]()))&&!_0x499aa4[_0x29c636(0x233)](_0x24e3e6)&&(_0x3aadf1[_0x29c636(0x1e8)](_0x4d0fef),_0x499aa4[_0x29c636(0x24b)](_0x24e3e6));for(const [_0x465d94,_0x1af1d0]of this[_0x29c636(0x1ca)])_0x1af1d0[_0x29c636(0x23d)]||(_0x1af1d0[_0x29c636(0x26a)]['length']=0x0);return _0x3aadf1;}[_0x3999d8(0x26f)](_0xf6c351){const _0x55eb84=_0x3999d8;return this[_0x55eb84(0x1ca)][_0x55eb84(0x1f3)](_0xf6c351);}[_0x3999d8(0x1d5)](_0x24e679){const _0x34165f=_0x3999d8;return _0x5d1d80(_0x24e679[_0x34165f(0x1d0)],_0x24e679[_0x34165f(0x1cd)],this['_lexer'],this[_0x34165f(0x1fc)],this[_0x34165f(0x1e3)]);}*['_traverse'](_0x3360e2,_0x6df03e){const _0x14d59d=_0x3999d8,_0xa3fe30=_0x3360e2,_0x1fee98=new Set();for(;_0xa3fe30[_0x14d59d(0x26d)]>0x0;){const _0x529870=_0xa3fe30[_0x14d59d(0x1d6)]();if(_0x1fee98[_0x14d59d(0x251)](),_0x529870===void 0x0||_0x529870[_0x14d59d(0x1cb)]())continue;if(_0x529870[_0x14d59d(0x208)]()){yield _0x529870,_0x529870['setSkip'](),_0x6df03e[_0x14d59d(0x24b)](_0x529870[_0x14d59d(0x24f)]);continue;}const _0xb98607=this[_0x14d59d(0x263)][_0x14d59d(0x206)](_0x529870[_0x14d59d(0x1d3)](),_0x6df03e),_0x427946=this[_0x14d59d(0x1eb)][_0x14d59d(0x267)](_0x529870[_0x14d59d(0x1d3)](),_0x6df03e);for(const _0x3ec653 of _0x427946)_0xb98607['add'](_0x3ec653);for(const _0x4999c0 of _0xb98607){const _0x413fb7=this[_0x14d59d(0x1ca)][_0x14d59d(0x1f3)](_0x4999c0);if(!_0x413fb7){console[_0x14d59d(0x212)](_0x14d59d(0x218),_0x4999c0);continue;}_0x413fb7[_0x14d59d(0x208)]()||_0x529870[_0x14d59d(0x1cb)]()||_0x1fee98[_0x14d59d(0x24b)](_0x413fb7);}if(_0xb98607['clear'](),_0x1fee98['size']===0x0)yield _0x529870,_0x529870[_0x14d59d(0x24a)](),_0x6df03e[_0x14d59d(0x24b)](_0x529870['treeId']);else{_0x529870[_0x14d59d(0x1f6)](),_0xa3fe30[_0x14d59d(0x1e8)](_0x529870);for(const _0x1ec782 of _0x1fee98)_0xa3fe30['push'](_0x1ec782);}}_0xa3fe30[_0x14d59d(0x26d)]=0x0,_0x1fee98['clear']();}['_calculateRunList'](_0x3fbf88){const _0x436f69=_0x3999d8,_0x5bbcf7=[],_0x367534=new Set();for(const _0x529e5d of this[_0x436f69(0x1c0)](_0x3fbf88,_0x367534))_0x5bbcf7['push'](_0x529e5d);return _0x5bbcf7;}async['_getAllTreeList'](){const _0x179756=_0x3999d8;return await this[_0x179756(0x210)](),Array['from'](this[_0x179756(0x1ca)][_0x179756(0x213)]());}[_0x3999d8(0x20c)](_0x4573ec){const _0x2b8bd9=_0x3999d8;return this[_0x2b8bd9(0x263)][_0x2b8bd9(0x206)](_0x4573ec[_0x2b8bd9(0x1d3)]());}[_0x3999d8(0x262)](_0x516a61){const _0xc75efb=_0x3999d8,_0x4fd9f6=new Set(),_0x376741=_0x516a61[_0xc75efb(0x26a)];for(const [_0x3974d0,_0x7b36d2]of this['_dependencyTreeCache'])for(const _0x18bc2c of _0x376741){const _0x53b2c1=_0x18bc2c[_0xc75efb(0x1d0)],_0xf6d793=_0x18bc2c[_0xc75efb(0x20a)];if(_0x7b36d2[_0xc75efb(0x1d0)]!==_0x53b2c1||_0x7b36d2[_0xc75efb(0x224)]!==_0xf6d793)continue;const _0x43c093=_0x18bc2c[_0xc75efb(0x244)];if(_0x7b36d2[_0xc75efb(0x27e)](_0x43c093)){_0x4fd9f6[_0xc75efb(0x24b)](_0x3974d0);break;}}return _0x4fd9f6;}[_0x3999d8(0x22c)](){const _0x25dba2=_0x3999d8;this[_0x25dba2(0x263)][_0x25dba2(0x215)]();}[_0x3999d8(0x1ec)](){const _0x426d32=_0x3999d8;this[_0x426d32(0x211)]['clear'](),this[_0x426d32(0x1ca)][_0x426d32(0x251)](),this[_0x426d32(0x263)][_0x426d32(0x209)]();}}class Ke extends _0x7fcbbf{async[_0x3999d8(0x27b)](_0x193f55=!0x1){const _0xc9bce6=_0x3999d8;_0x193f55?this[_0xc9bce6(0x22b)]['setFormulaExecuteStage'](_0x2d1461[_0xc9bce6(0x26b)]):this[_0xc9bce6(0x22b)]['setFormulaExecuteStage'](_0x2d1461[_0xc9bce6(0x1e1)]),this[_0xc9bce6(0x225)][_0xc9bce6(0x1db)](this[_0xc9bce6(0x22b)][_0xc9bce6(0x269)]());const _0x3eff6f=await this[_0xc9bce6(0x22f)]['generate'](this[_0xc9bce6(0x214)]),_0x5dbf92=this[_0xc9bce6(0x290)];_0x193f55?(this['_runtimeService']['setFormulaExecuteStage'](_0x2d1461[_0xc9bce6(0x1c3)]),this[_0xc9bce6(0x22b)]['setTotalArrayFormulasToCalculate'](_0x3eff6f[_0xc9bce6(0x26d)])):(this['_runtimeService'][_0xc9bce6(0x259)](_0x2d1461[_0xc9bce6(0x264)]),this[_0xc9bce6(0x22b)]['setTotalFormulasToCalculate'](_0x3eff6f[_0xc9bce6(0x26d)])),this['_executionInProgressListener$'][_0xc9bce6(0x1db)](this[_0xc9bce6(0x22b)]['getRuntimeState']());let _0x2806dd=[];const _0x39fb47=this[_0xc9bce6(0x238)][_0xc9bce6(0x1ea)](_0x3ebccf),_0x2678df=(_0x39fb47==null?void 0x0:_0x39fb47[_0xc9bce6(0x295)])||_0x665138;let _0x412c9a=0x0;const _0x4926c7=_0x3eff6f[_0xc9bce6(0x26d)];for(;_0x3eff6f[_0xc9bce6(0x26d)]>0x0;){const _0x38b6ea=_0x3eff6f['pop'](),_0x25e4f5=_0x5d1d80(_0x38b6ea[_0xc9bce6(0x1d0)],_0x38b6ea[_0xc9bce6(0x1cd)],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']),_0x2451bc={'node':_0x25e4f5,'refOffsetX':_0x38b6ea['refOffsetX'],'refOffsetY':_0x38b6ea[_0xc9bce6(0x201)]},_0x58f85f=_0x38b6ea[_0xc9bce6(0x266)];if(_0x412c9a%_0x2678df===0x0&&(await new Promise(_0x2cb50b=>{const _0x230b2c=_0xc9bce6,_0x2f08f3=_0xecd806(_0x2cb50b);_0x2806dd[_0x230b2c(0x1e8)](_0x2f08f3);}),_0x193f55?(this[_0xc9bce6(0x22b)][_0xc9bce6(0x259)](_0x2d1461[_0xc9bce6(0x235)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x412c9a+0x1)):(this[_0xc9bce6(0x22b)]['setFormulaExecuteStage'](_0x2d1461[_0xc9bce6(0x217)]),this[_0xc9bce6(0x22b)][_0xc9bce6(0x21f)](_0x412c9a+0x1)),this[_0xc9bce6(0x225)][_0xc9bce6(0x1db)](this['_runtimeService']['getRuntimeState']()),this[_0xc9bce6(0x22b)][_0xc9bce6(0x28e)]()||_0x2451bc==null&&_0x58f85f==null)){this['_runtimeService'][_0xc9bce6(0x259)](_0x2d1461[_0xc9bce6(0x1c9)]),this[_0xc9bce6(0x22b)]['markedAsStopFunctionsExecuted'](),this[_0xc9bce6(0x1d8)][_0xc9bce6(0x1db)](this[_0xc9bce6(0x22b)][_0xc9bce6(0x237)]());return;}this[_0xc9bce6(0x22b)][_0xc9bce6(0x222)](_0x38b6ea[_0xc9bce6(0x1d2)],_0x38b6ea[_0xc9bce6(0x249)],_0x38b6ea[_0xc9bce6(0x289)],_0x38b6ea['columnCount'],_0x38b6ea[_0xc9bce6(0x224)],_0x38b6ea[_0xc9bce6(0x1d0)]);let _0x18db80;if(_0x58f85f!=null&&_0x38b6ea[_0xc9bce6(0x243)]!=null){const {runtimeCellData:_0x2b7ffd,dirtyRanges:_0x4fe824}=_0x58f85f(this['_currentConfigService'][_0xc9bce6(0x266)](),this[_0xc9bce6(0x22b)][_0xc9bce6(0x237)]());this[_0xc9bce6(0x22b)]['setRuntimeFeatureCellData'](_0x38b6ea[_0xc9bce6(0x243)],_0x2b7ffd),this[_0xc9bce6(0x22b)][_0xc9bce6(0x26e)](_0x38b6ea[_0xc9bce6(0x243)],_0x4fe824);}else _0x2451bc!=null&&(_0x5dbf92[_0xc9bce6(0x21a)](_0x2451bc[_0xc9bce6(0x291)])?_0x18db80=await _0x5dbf92[_0xc9bce6(0x1c4)](_0x2451bc):_0x18db80=_0x5dbf92[_0xc9bce6(0x25f)](_0x2451bc),_0x38b6ea['formulaId']!=null?this['_runtimeService'][_0xc9bce6(0x257)](_0x38b6ea[_0xc9bce6(0x1c1)],_0x38b6ea[_0xc9bce6(0x22d)],_0x38b6ea['refOffsetY'],_0x18db80):this['_runtimeService']['setRuntimeData'](_0x18db80));_0x25e4f5['resetCalculationState'](),_0x412c9a++;}return _0x2806dd[_0xc9bce6(0x25b)](_0x5b2bd4=>_0x5b2bd4()),_0x2806dd=[],_0x4926c7>0x0?this[_0xc9bce6(0x22b)][_0xc9bce6(0x24c)]():_0x193f55||this[_0xc9bce6(0x22b)][_0xc9bce6(0x261)](),this['_runtimeService']['getAllRuntimeData']();}}class Se extends _0x4e192b{constructor(){const _0x5a274b=_0x3999d8;super(...arguments),D(this,_0x5a274b(0x24d),new Map()),D(this,_0x5a274b(0x242),new _0x93d090(!0x0));}[_0x3999d8(0x230)](){const _0x461878=_0x3999d8;this['_otherFormulaData'][_0x461878(0x251)](),this[_0x461878(0x23c)]['clear'](),this[_0x461878(0x252)][_0x461878(0x251)](),this[_0x461878(0x242)][_0x461878(0x251)](),this['_allTreeMap'][_0x461878(0x251)](),this[_0x461878(0x25d)](),this[_0x461878(0x25c)][_0x461878(0x251)]();}['addOtherFormulaDependency'](_0x21d44f,_0x4a5ddf,_0x41cfbd,_0x36c794){const _0x2b3aa9=_0x3999d8;this['_otherFormulaData'][_0x2b3aa9(0x233)](_0x21d44f)||this['_otherFormulaData'][_0x2b3aa9(0x245)](_0x21d44f,new Map());const _0x301c23=this[_0x2b3aa9(0x23e)][_0x2b3aa9(0x1f3)](_0x21d44f);_0x301c23[_0x2b3aa9(0x233)](_0x4a5ddf)||_0x301c23[_0x2b3aa9(0x245)](_0x4a5ddf,new Map());const _0x241851=_0x301c23[_0x2b3aa9(0x1f3)](_0x4a5ddf);_0x241851['has'](_0x41cfbd)||_0x241851[_0x2b3aa9(0x245)](_0x41cfbd,new _0x3487a2()),_0x241851[_0x2b3aa9(0x1f3)](_0x41cfbd)['setValue'](_0x36c794['refOffsetX'],_0x36c794[_0x2b3aa9(0x201)],_0x36c794[_0x2b3aa9(0x24f)]);}[_0x3999d8(0x28d)](_0x5257cb,_0x325e72,_0x48a21c){const _0x3b5197=_0x3999d8,_0x28c627=this[_0x3b5197(0x23e)][_0x3b5197(0x1f3)](_0x5257cb);if(_0x28c627&&_0x28c627[_0x3b5197(0x233)](_0x325e72)){const _0x242e28=_0x28c627[_0x3b5197(0x1f3)](_0x325e72);_0x48a21c['forEach'](_0x52dad2=>{const _0x19b1bb=_0x3b5197,_0x576993=_0x242e28[_0x19b1bb(0x1f3)](_0x52dad2);_0x576993!=null&&(_0x576993[_0x19b1bb(0x207)]((_0x55547e,_0x244364,_0x51094f)=>{const _0x2e4bdd=_0x19b1bb;this[_0x2e4bdd(0x255)](_0x51094f),this['_removeAllTreeMap'](_0x51094f);}),_0x242e28[_0x19b1bb(0x216)](_0x52dad2),this[_0x19b1bb(0x25c)][_0x19b1bb(0x216)](_0x52dad2));}),_0x242e28[_0x3b5197(0x268)]===0x0&&_0x28c627[_0x3b5197(0x216)](_0x325e72),_0x28c627[_0x3b5197(0x268)]===0x0&&this[_0x3b5197(0x23e)][_0x3b5197(0x216)](_0x5257cb);}}[_0x3999d8(0x231)](_0x5d183a,_0x10f85b){const _0x2d2bac=_0x3999d8,_0x3fbb61=this['_otherFormulaData'][_0x2d2bac(0x1f3)](_0x5d183a);if(_0x10f85b&&_0x3fbb61&&_0x3fbb61[_0x2d2bac(0x233)](_0x10f85b)){const _0x3c5ea6=_0x3fbb61[_0x2d2bac(0x1f3)](_0x10f85b);this[_0x2d2bac(0x23f)](_0x5d183a,_0x10f85b);for(const _0x5c2d7d of _0x3c5ea6[_0x2d2bac(0x1d1)]()){const _0x568fe3=_0x3c5ea6['get'](_0x5c2d7d);_0x568fe3!=null&&(_0x568fe3['forValue']((_0x52430f,_0x1223ea,_0x5710ed)=>{const _0x4e1579=_0x2d2bac;this[_0x4e1579(0x24d)][_0x4e1579(0x1f3)](_0x5710ed)&&this['_removeAllTreeMap'](_0x5710ed);}),this[_0x2d2bac(0x25c)]['delete'](_0x5c2d7d));}_0x3c5ea6[_0x2d2bac(0x251)]();}else{if(_0x3fbb61){for(const _0x3a0cd6 of _0x3fbb61['keys']()){const _0x3436b0=_0x3fbb61[_0x2d2bac(0x1f3)](_0x3a0cd6);this['_removeDependencyRTreeCacheById'](_0x5d183a,_0x3a0cd6);for(const _0x2ef35b of _0x3436b0[_0x2d2bac(0x1d1)]()){const _0xf465b4=_0x3436b0[_0x2d2bac(0x1f3)](_0x2ef35b);_0xf465b4!=null&&(_0xf465b4['forValue']((_0x5dabf9,_0x259e0f,_0x5bb984)=>{const _0x49ebb2=_0x2d2bac;this['_allTreeMap'][_0x49ebb2(0x1f3)](_0x5bb984)&&this['_removeAllTreeMap'](_0x5bb984);}),this['_otherFormulaDataMainData'][_0x2d2bac(0x216)](_0x2ef35b));}}this['_otherFormulaData'][_0x2d2bac(0x216)](_0x5d183a);}}}[_0x3999d8(0x258)](_0x53cc4c,_0x277dce,_0x479916,_0x42f10b){const _0x2b3037=_0x3999d8;this[_0x2b3037(0x23c)][_0x2b3037(0x233)](_0x53cc4c)||this[_0x2b3037(0x23c)][_0x2b3037(0x245)](_0x53cc4c,new Map());const _0x1d6728=this[_0x2b3037(0x23c)]['get'](_0x53cc4c);_0x1d6728[_0x2b3037(0x233)](_0x277dce)||_0x1d6728['set'](_0x277dce,new Map()),_0x1d6728[_0x2b3037(0x1f3)](_0x277dce)[_0x2b3037(0x245)](_0x479916,_0x42f10b[_0x2b3037(0x24f)]);}['removeFeatureFormulaDependency'](_0x144425,_0xbfc0ff,_0x3b51aa){const _0x21585d=_0x3999d8,_0x53a76e=this['_featureFormulaData'][_0x21585d(0x1f3)](_0x144425);if(_0x53a76e&&_0x53a76e['has'](_0xbfc0ff)){const _0x41b6ae=_0x53a76e[_0x21585d(0x1f3)](_0xbfc0ff);_0x3b51aa[_0x21585d(0x25b)](_0x484458=>{const _0x59848d=_0x21585d,_0x14996f=_0x41b6ae[_0x59848d(0x1f3)](_0x484458);_0x14996f!=null&&(this[_0x59848d(0x255)](_0x14996f),_0x41b6ae['delete'](_0x484458),this['_removeAllTreeMap'](_0x14996f));});}}['clearFeatureFormulaDependency'](_0x356e8c,_0x52bab6){const _0x2592e4=_0x3999d8,_0x4082c4=this[_0x2592e4(0x23c)][_0x2592e4(0x1f3)](_0x356e8c);if(_0x52bab6&&_0x4082c4&&_0x4082c4['has'](_0x52bab6)){const _0x268729=_0x4082c4[_0x2592e4(0x1f3)](_0x52bab6);this[_0x2592e4(0x23f)](_0x356e8c,_0x52bab6),_0x268729[_0x2592e4(0x25b)](_0x3ddf6d=>{const _0x19afca=_0x2592e4;_0x3ddf6d!=null&&this[_0x19afca(0x288)](_0x3ddf6d);}),_0x268729[_0x2592e4(0x251)]();}else _0x4082c4&&(_0x4082c4[_0x2592e4(0x25b)]((_0x5b2180,_0x1a78f3)=>{const _0x37ad7e=_0x2592e4;this[_0x37ad7e(0x23f)](_0x356e8c,_0x1a78f3),_0x5b2180[_0x37ad7e(0x25b)](_0x3c5738=>{const _0x3c2108=_0x37ad7e;_0x3c5738!=null&&this[_0x3c2108(0x288)](_0x3c5738);});}),this[_0x2592e4(0x23c)][_0x2592e4(0x216)](_0x356e8c));}[_0x3999d8(0x226)](_0x564f38,_0x474a55,_0x3a004d,_0x4d96c4,_0x19402c){const _0x37da5d=_0x3999d8;this[_0x37da5d(0x252)][_0x37da5d(0x233)](_0x564f38)||this['_formulaData']['set'](_0x564f38,new Map());const _0x2f7515=this[_0x37da5d(0x252)][_0x37da5d(0x1f3)](_0x564f38);_0x2f7515[_0x37da5d(0x233)](_0x474a55)||_0x2f7515[_0x37da5d(0x245)](_0x474a55,new _0x3487a2()),_0x2f7515[_0x37da5d(0x1f3)](_0x474a55)[_0x37da5d(0x1f2)](_0x3a004d,_0x4d96c4,_0x19402c[_0x37da5d(0x24f)]);}[_0x3999d8(0x294)](_0x24b576,_0x219ef4,_0x36885c,_0x5ef222){const _0x1d8fb7=_0x3999d8,_0x3f8e4f=this[_0x1d8fb7(0x252)][_0x1d8fb7(0x1f3)](_0x24b576);if(_0x3f8e4f&&_0x3f8e4f[_0x1d8fb7(0x233)](_0x219ef4)){const _0x443686=_0x3f8e4f[_0x1d8fb7(0x1f3)](_0x219ef4),_0x353b8c=_0x443686[_0x1d8fb7(0x254)](_0x36885c,_0x5ef222);if(_0x353b8c==null)return;this['_removeDependencyRTreeCache'](_0x353b8c),_0x443686['realDeleteValue'](_0x36885c,_0x5ef222),this[_0x1d8fb7(0x288)](_0x353b8c);}}[_0x3999d8(0x27f)](_0x1ba284,_0x220975){const _0x18aa08=_0x3999d8,_0x5b8ebb=this['_formulaData'][_0x18aa08(0x1f3)](_0x1ba284);if(_0x220975&&_0x5b8ebb&&_0x5b8ebb[_0x18aa08(0x233)](_0x220975)){const _0x481bca=_0x5b8ebb[_0x18aa08(0x1f3)](_0x220975);this[_0x18aa08(0x23f)](_0x1ba284,_0x220975),_0x481bca[_0x18aa08(0x207)]((_0x1fd464,_0x298ca9,_0x3f9ae3)=>{const _0x4705ff=_0x18aa08;if(_0x3f9ae3==null)return!0x0;this[_0x4705ff(0x288)](_0x3f9ae3);}),_0x481bca[_0x18aa08(0x230)]();}else _0x5b8ebb&&(_0x5b8ebb[_0x18aa08(0x25b)]((_0x3dd59f,_0x4c3a71)=>{const _0x4077d0=_0x18aa08;this[_0x4077d0(0x23f)](_0x1ba284,_0x4c3a71),_0x3dd59f[_0x4077d0(0x207)]((_0x2e5b89,_0x2c2c96,_0x33bcee)=>{const _0x2d6923=_0x4077d0;if(_0x33bcee==null)return!0x0;this[_0x2d6923(0x288)](_0x33bcee);});}),this['_formulaData'][_0x18aa08(0x216)](_0x1ba284));}[_0x3999d8(0x255)](_0x5cd45d){const _0x99b753=_0x3999d8;if(_0x5cd45d==null)return;const _0x13eb65=this[_0x99b753(0x24d)]['get'](_0x5cd45d);if(_0x13eb65){const _0xe4d36=[];for(const [_0x40fd7c,_0x361140]of _0x13eb65)for(const [_0x4ad740,_0x14dcad]of _0x361140)_0xe4d36['push']({'unitId':_0x40fd7c,'sheetId':_0x4ad740,'range':_0x14dcad,'id':_0x5cd45d});this[_0x99b753(0x242)][_0x99b753(0x1c2)](_0xe4d36);}}[_0x3999d8(0x202)](_0x5b5aa8,_0x3b9c8b){const _0x6d1512=_0x3999d8,_0x5d1d25=this[_0x6d1512(0x204)][_0x6d1512(0x1f3)](_0x5b5aa8);if(_0x5d1d25){const _0x1476cb=_0x5d1d25[_0x6d1512(0x1f3)](_0x3b9c8b);if(_0x1476cb){for(const _0x2d2b31 of _0x1476cb)this[_0x6d1512(0x255)](_0x2d2b31),this[_0x6d1512(0x288)](_0x2d2b31);_0x1476cb[_0x6d1512(0x251)]();}}}[_0x3999d8(0x215)](){const _0x50a394=_0x3999d8;this[_0x50a394(0x242)][_0x50a394(0x215)]();}['closeKdTree'](){const _0x222b4f=_0x3999d8;this[_0x222b4f(0x242)]['closeKdTree']();}[_0x3999d8(0x288)](_0x30f594){const _0xdb0dca=_0x3999d8;_0x30f594!=null&&this[_0xdb0dca(0x24d)][_0xdb0dca(0x216)](_0x30f594);}[_0x3999d8(0x236)](_0x1652a4){const _0x9b2864=_0x3999d8;var _0x35733e,_0x20d974;const _0x1cbbf4=_0x1652a4[_0x9b2864(0x26a)];let _0x2a2d85=this[_0x9b2864(0x24d)][_0x9b2864(0x1f3)](_0x1652a4[_0x9b2864(0x24f)]);for(let _0x2306e7=0x0;_0x2306e7<_0x1cbbf4[_0x9b2864(0x26d)];_0x2306e7++){const _0x2cde20=_0x1cbbf4[_0x2306e7];let {unitId:_0x7390f5,sheetId:_0x211787,range:_0xf34093}=_0x2cde20;_0x2a2d85||(_0x2a2d85=new Map(),this[_0x9b2864(0x24d)][_0x9b2864(0x245)](_0x1652a4[_0x9b2864(0x24f)],_0x2a2d85)),_0x2a2d85[_0x9b2864(0x233)](_0x7390f5)||_0x2a2d85['set'](_0x7390f5,new Map());const _0x4d14be=(_0x35733e=_0x2a2d85==null?void 0x0:_0x2a2d85[_0x9b2864(0x1f3)](_0x7390f5))==null?void 0x0:_0x35733e[_0x9b2864(0x1f3)](_0x211787);_0x4d14be&&(_0xf34093={'startRow':Math[_0x9b2864(0x1f1)](_0xf34093[_0x9b2864(0x1c6)],_0x4d14be['startRow']),'startColumn':Math[_0x9b2864(0x1f1)](_0xf34093[_0x9b2864(0x27a)],_0x4d14be['startColumn']),'endRow':Math[_0x9b2864(0x24e)](_0xf34093[_0x9b2864(0x1de)],_0x4d14be['endRow']),'endColumn':Math[_0x9b2864(0x24e)](_0xf34093[_0x9b2864(0x279)],_0x4d14be[_0x9b2864(0x279)])}),(_0x20d974=_0x2a2d85[_0x9b2864(0x1f3)](_0x7390f5))==null||_0x20d974['set'](_0x211787,_0xf34093);}}}function _0x1c51(_0x4f297a,_0x9cfc6f){_0x4f297a=_0x4f297a-0x1c0;const _0x451774=_0x4517();let _0x1c517f=_0x451774[_0x4f297a];return _0x1c517f;}function _0x4517(){const _0x46598e=['refOffsetX','Lambda\x20parameter\x20name\x20\x22','_formulaDependencyGenerator','reset','clearOtherFormulaDependency','getDirtyNameMap','has','getOtherFormulaData','CURRENTLY_CALCULATING_ARRAY_FORMULA','_addAllTreeMap','getAllRuntimeData','_configService','_injector','getUnitData','_handleTextNodeForExprTree','_featureFormulaData','isVirtual','_otherFormulaData','_removeDependencyRTreeCacheById','valid','_checkIsCycleDependency','_dependencyRTreeCache','featureId','range','set','getFeatureFormulaDependency','getToken','dependencySheetName','column','setSkip','add','markedAsSuccessfullyExecuted','_allTreeMap','max','treeId','_handleChildrenForExprTree','clear','_formulaData','isCache','getValue','_removeDependencyRTreeCache','354hJSHHx','setRuntimeOtherData','addFeatureFormulaDependency','setFormulaExecuteStage','_getTableNameFromStructuredRef','forEach','_otherFormulaDataMainData','_restDependencyTreeId','_clearPrefix','execute','isDirty','markedAsNoFunctionsExecuted','_getDependencyTreeChildrenIds','_dependencyManagerService','START_CALCULATION','getNewFormulaWithPrefix','getDirtyData','bulkSearch','size','getRuntimeState','rangeList','START_DEPENDENCY_ARRAY_FORMULA','value','length','setRuntimeFeatureRange','_getTreeById','getClearDependencyTreeCache','_otherFormulaManagerService','3YsclKz','COLON','getFormulaDependency','getChildren','9396970yFRvKb','_getFeatureFormulaTree','_getCurNodeTypeForExprTree','endColumn','startColumn','_apply','addFormulaDependencyByDefinedName','isExcludeRange','inRangeData','clearFormulaDependency','_generateNewFunctionString','columnCount','_getUpdateTreeListAndMakeDependency','_createVirtualFDtree','40616DNnDNF','getDirtyRanges','getFormulaData','endsWith','_removeAllTreeMap','rowCount','isForceCalculate','/*2KcGXTL-mXcePGK2FwKEKw-LKrFGeLK2*/ElTQLXIT2mKQw8FLXIT(GXQKTcK,2FlPGXQVK8)2{2222Lw82{22222222QITcL2GXQKTcKJTEIiewLvwwe82=2GXQKTcK.cFGXL(\x27-\x27);22222222QITcL2IwXBXTYKcceBK2=23NCx.FewcK(eLIP(GXQKTcKJTEIiewLvwwe8[t]));22222222XE2(!IwXBXTYKcceBK.lm)2{222222222222IwXBXTYKcceBK.lm2=2xlrPKw(GXQKTcKJTEIiewLvwwe8[k]);22222222}22222222QITcL2XcSIwqKw2=2L8FKIE2SIwqKwbGIPeGNQIFK2!==2\x27lTmKEXTKm\x272&&2cKGE2XTcLeTQKIE2SIwqKwbGIPeGNQIFK;22222222QITcL2XcWwIgcKw2=2L8FKIE2gXTmIg2!==2\x27lTmKEXTKm\x272&&2L8FKIE2gXTmIg.GIQeLXIT2!==2\x27lTmKEXTKm\x27;22222222QITcL2QITLKRL2=2XcSIwqKw2?2cKGE2:2(XcWwIgcKw2?2gXTmIg2:2BGIPeGa\x20Xc);22222222QITcL2rKcceBKSIwm2=2QITLKRL.__WecKDk__.FewcK(GXQKTcKJTEIiewLvwwe8[t]);22222222QITcL2rKcceBK2=2QITLKRL.__nKR__.cLwXTBXE8(rKcceBKSIwm);22222222QITcL2cXBTeLlwKSIwm2=2QITLKRL.__WecKDk__.FewcK(GXQKTcKJTEIiewLvwwe8[A]);22222222QITcL2cXBTeLlwK2=2QITLKRL.__nKR__.cLwXTBXE8(cXBTeLlwKSIwm);22222222QITcL2cXBTjeGXm2=2QITLKRL.__yKwXE8__(cXBTeLlwK,2rKcceBK,2FlPGXQVK8);22222222QITcL2mIreXT2=2IwXBXTYKcceBK.mr;22222222ElTQLXIT2XcUIreXTYeLQ\x20XTB(FeLLKwT,2\x20IcL)2{222222222222XE2(FeLLKwT2===2\x20IcL)2wKLlwT2LwlK;222222222222XE2(FeLLKwT.cLewLcSXL\x20(\x27*.\x27))2{2222222222222222QITcL2clEEXR2=2FeLLKwT.cGXQK(t);2222222222222222XE2(clEEXR2&&2clEEXR2===2\x20IcL)2{22222222222222222222wKLlwT2LwlK;2222222222222222}2222222222222222XE2(clEEXR2&&2!\x20IcL.cLewLcSXL\x20(\x27.\x27)2&&2\x20IcL.KTmcSXL\x20(\x27.\x272+2clEEXR))2{22222222222222222222wKLlwT2LwlK;2222222222222222}222222222222}222222222222wKLlwT2EeGcK;22222222}22222222GKL2mIreXTjeGXm2=2EeGcK;22222222XE2(XcWwIgcKw)2{222222222222mIreXTjeGXm2=2(mIreXT2&&2mIreXT.GKTBL\x20)2?2mIreXT.cIrK((mrJLKr)2=>2XcUIreXTYeLQ\x20XTB(mrJLKr,2GIQeLXIT.\x20IcLTerK))2:2LwlK;222222222222XE2(GIQeLXIT.\x20IcLTerK2===2\x27GIQeG\x20IcL\x27)2{2222222222222222mIreXTjeGXm2=2LwlK;222222222222}22222222}2KGcK2{222222222222mIreXTjeGXm2=2LwlK;22222222}22222222QITcL2yeGXm2=2cXBTjeGXm2&&2mIreXTjeGXm;22222222wKLlwT2{222222222222yeGXm,222222222222rKcceBK:2IwXBXTYKcceBK,22222222};2222}2QeLQ\x202(KwwIw)2{22222222wKLlwT2{222222222222yeGXm:2EeGcK,222222222222rKcceBK:2{},22222222};2222}}','setDependencyTreeModelData','removeOtherFormulaDependency','isStopExecution','_generateTreeList','_interpreter','node','_config','notExecuteFormula','removeFormulaDependency','intervalCount','_getAllDependencyJson','_resetPrefix','PLUS','_traverse','formulaId','bulkRemove','START_CALCULATION_ARRAY_FORMULA','executeAsync','dispose','startRow','FEATURE_FORMULA','getExcludedRange','IDLE','_dependencyTreeCache','isSkip','25584955ItBRbC','formula','_lambdaFunctionParameterSet','MINUS','unitId','keys','row','toRTreeItem','return\x20','_getTreeNode','pop','_xlpmPrefix','_executionCompleteListener$','9UjuVJv','_xlfnPrefix','next','children','string','endRow','167995Ybtgmr','OTHER_FORMULA','START_DEPENDENCY','slice','_currentConfigService','_clearFunctionString','_xlpm.','_initLicenseValid','startIndex','push','_handleLambdaForExprTree','getConfig','_dependencyRTreeCacheForAddressFunction','_endFormulaDependencyTreeModel','_checkColonNodeForExprTree','_registerOtherFormulas','315973uOXxKo','from','min','setValue','get','_updateRangeFlatten','_handleNewFunctionChild','setAdded','_createFDtree','type','join','104290iMAReS','treeBuilder','_astTreeBuilder','getOtherFormulaDependency','generate','getStartIndex','trim','refOffsetY','removeFormulaDependencyByDefinedName','_isCyclicUtilMap','_definedNameMap','_checkAddBracketForMinus','searchDependency','forValue','isAdded','closeKdTree','sheetId','_currentUnitId','_getDependencyTreeParenIds','enableCycleDependency','VALUE','symbol','_initializeGenerateTreeList','_formulaDependencyTreeModel','error','values','_isCalculateTreeModel','openKdTree','delete','CURRENTLY_CALCULATING','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_convertDirtyRangesToUnitRange','checkAsyncNode','getOwnPropertyDescriptor','5308uHnQXT','isArray','_generateExprTree','setCompletedFormulasCount','_calculateRunList','96ZiwBlZ','setCurrent','featureDirtyRanges','subUnitId','_executionInProgressListener$','addFormulaDependency','addOtherFormulaDependency','_getFirstCellOfRange','toUpperCase','_hasNewExcelFunction','_runtimeService','_startFormulaDependencyTreeModel'];_0x4517=function(){return _0x46598e;};return _0x4517();}var Me=Object[_0x3999d8(0x21b)],Re=(_0x2af408,_0x3e4aa6,_0x18af76,_0x20937a)=>{const _0x1f8d21=_0x3999d8;for(var _0x2e6ad2=_0x20937a>0x1?void 0x0:_0x20937a?Me(_0x3e4aa6,_0x18af76):_0x3e4aa6,_0x2dcf6b=_0x2af408[_0x1f8d21(0x26d)]-0x1,_0x427ee7;_0x2dcf6b>=0x0;_0x2dcf6b--)(_0x427ee7=_0x2af408[_0x2dcf6b])&&(_0x2e6ad2=_0x427ee7(_0x2e6ad2)||_0x2e6ad2);return _0x2e6ad2;};const xe=Number['parseInt'](0x696b35a5);let J=class extends _0x3f4b6c{['_initializeWithOverride'](){const _0x28264a=_0x3999d8;var _0x22b782,_0x4f54aa;this[_0x28264a(0x1e6)]()?(this['_injector'][_0x28264a(0x24b)]([_0x18977b,{'useClass':Ie}]),(_0x22b782=this[_0x28264a(0x292)])!=null&&_0x22b782[_0x28264a(0x293)]||[[_0x476ac0,{'useClass':Ke}],[_0x127de8,{'useClass':Se}],[_0x1006b6,{'useClass':ve}]][_0x28264a(0x25b)](_0x4ceab6=>this['_injector'][_0x28264a(0x24b)](_0x4ceab6))):(this[_0x28264a(0x239)]['add']([_0x18977b,{'useClass':_0x18977b}]),(_0x4f54aa=this[_0x28264a(0x292)])!=null&&_0x4f54aa['notExecuteFormula']||[[_0x476ac0,{'useClass':_0x7fcbbf}],[_0x127de8,{'useClass':_0x4c6b88}],[_0x1006b6,{'useClass':_0x5adc5c}]][_0x28264a(0x25b)](_0x4a2591=>this[_0x28264a(0x239)]['add'](_0x4a2591)));}[_0x3999d8(0x1e6)](){const _0x364672=_0x3999d8;var _0xd59fa;const _0x10b7f3=(_0xd59fa=this[_0x364672(0x238)][_0x364672(0x1ea)](_0x237260))!=null?_0xd59fa:{},{ls:_0x37f5a8,pbk:_0x2b2015}=_0x10b7f3;if(!_0x37f5a8||!_0x2b2015)return!0x1;const _0x62ee37=_0x380e95(Ee,we),_0x33d261=new Function(_0x364672(0x1d4)+_0x62ee37)()(_0x37f5a8,_0x2b2015),_0x5299f0=_0x33d261['message'];return _0x33d261[_0x364672(0x240)]&&_0x37fd9b(_0x5299f0,'sf',xe)?_0x98316b(_0x5299f0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};J=Re([_0x207774(_0x38b343)],J);export{Ie as LexerTreeProBuilder,J as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5c6bc5=_0x34a5;(function(_0x561748,_0x514463){const _0x360f2a=_0x34a5,_0xbe3c90=_0x561748();while(!![]){try{const _0x3145fe=-parseInt(_0x360f2a(0x237))/0x1*(parseInt(_0x360f2a(0x1d3))/0x2)+-parseInt(_0x360f2a(0x1d5))/0x3+-parseInt(_0x360f2a(0x189))/0x4*(parseInt(_0x360f2a(0x1d1))/0x5)+parseInt(_0x360f2a(0x176))/0x6*(-parseInt(_0x360f2a(0x225))/0x7)+parseInt(_0x360f2a(0x242))/0x8+-parseInt(_0x360f2a(0x218))/0x9+-parseInt(_0x360f2a(0x212))/0xa*(-parseInt(_0x360f2a(0x203))/0xb);if(_0x3145fe===_0x514463)break;else _0xbe3c90['push'](_0xbe3c90['shift']());}catch(_0x294bab){_0xbe3c90['push'](_0xbe3c90['shift']());}}}(_0x5a46,0x58758));var se=Object[_0x5c6bc5(0x1b9)],ae=(_0x20aa68,_0x5b357d,_0x1f17d4)=>_0x5b357d in _0x20aa68?se(_0x20aa68,_0x5b357d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f17d4}):_0x20aa68[_0x5b357d]=_0x1f17d4,F=(_0x2f3979,_0x239996,_0x3919fc)=>ae(_0x2f3979,typeof _0x239996!='symbol'?_0x239996+'':_0x239996,_0x3919fc);function _0x5a46(){const _0x5e2581=['join','node','addFormulaDependency','return\x20','_xlpm.','next','featureDirtyRanges','_getFirstCellOfRange','_removeDependencyRTreeCacheById','_executionInProgressListener$','_generateExprTree','endsWith','min','length','endColumn','getChildren','getStartIndex','endRow','getAllRuntimeData','refOffsetY','defineProperty','_removeDependencyRTreeCache','pop','_formulaData','startColumn','setAdded','_otherFormulaData','isForceCalculate','_isCyclicUtilMap','clearFormulaDependency','_getCurNodeTypeForExprTree','isDirty','formula','delete','/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ\x20N3vW33NZt=tch65Vn5.n8chv(\x27-\x27);tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ\x20N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ\x20N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t\x27MVO5dhV5O\x27t&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t\x27MVO5dhV5O\x27t&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t\x27MVO5dhV5O\x27;tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL(\x27*.\x27))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL(\x27.\x27)t&&tLQnv.5VOnmhvL(\x27.\x27t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t\x27cQ6NcLQnv\x27)t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}','_dependencyTreeCache','START_DEPENDENCY','featureId','_runtimeService','OTHER_FORMULA','dirtyRanges','values','getDirtyData','markedAsNoFunctionsExecuted','1025WJKuYJ','_registerOtherFormulas','458576QcavLX','realDeleteValue','864063tGevrc','subUnitId','startsWith','treeId','_getTableNameFromStructuredRef','_dependencyManagerService','_checkIsCycleDependency','setCompletedArrayFormulasCount','getClearDependencyTreeCache','_isCalculateTreeModel','addFeatureFormulaDependency','_lexer','inRangeData','max','refTree','_hasNewExcelFunction','_clearPrefix','_clearFunctionString','treeBuilder','set','VALUE','_featureFormulaData','getRuntimeState','clearArrayObjectCache','MINUS','clearOtherFormulaDependency','isVirtual','getNewFormulaWithPrefix','getDirtyNameMap','_xlpmPrefix','getExcludedRange','_handleLambdaForExprTree','addOtherFormulaDependency','_getTreeById','setCompletedFormulasCount','_initializeWithOverride','refOffsetX','_checkAddBracketForMinus','Lambda\x20parameter\x20name\x20\x22','_otherFormulaManagerService','rangeList','sheetId','_configService','generate','_dependencyRTreeCacheForAddressFunction','markedAsStopFunctionsExecuted','3179DtNPsK','_otherFormulaDataMainData','_getTreeNode','startRow','type','_checkColonNodeForExprTree','setRuntimeFeatureCellData','CURRENTLY_CALCULATING','toUpperCase','formulaId','_definedNameMap','START_CALCULATION','_resetPrefix','_currentUnitId','_generateTreeList','59490YgDXsN','_generateNewFunctionString','isArray','addFormulaDependencyByDefinedName','isAdded','clearFeatureFormulaDependency','3464028mhmNte','columnCount','getDirtyRanges','getOtherFormulaDependency','children','setDependencyTreeModelData','forEach','setSkip','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','getConfig','intervalCount','getToken','error','4489772XiKNPX','_handleNewFunctionChild','isCache','_injector','range','removeFormulaDependency','_convertDirtyRangesToUnitRange','_allTreeMap','_restDependencyTreeId','size','bulkRemove','get','_getUpdateTreeListAndMakeDependency','_currentConfigService','startIndex','openKdTree','checkAsyncNode','_dependencyRTreeCache','2WsoJRr','_handleChildrenForExprTree','removeOtherFormulaDependency','closeKdTree','getFormulaDependency','isSkip','_xlfnPrefix','IDLE','toRTreeItem','searchDependency','resetCalculationState','5005336IUfsTT','dependencySheetName','dispose','keys','trim','add','resolve','unitId','enableCycleDependency','6iiOhQP','has','value','COLON','setRuntimeData','_traverse','string','START_CALCULATION_ARRAY_FORMULA','_astTreeBuilder','message','_createFDtree','_initLicenseValid','setValue','FEATURE_FORMULA','_handleTextNodeForExprTree','row','getOtherFormulaData','_xlfn.','column','4092xlwdiY','_removeAllTreeMap','isExcludeRange','setFormulaExecuteStage','rowCount','_config','_getDependencyTreeChildrenIds','_getAllTreeList','addOtherFormulaDependencyMainData','slice','forValue','PLUS','setRuntimeOtherData','clear','hasOtherFormulaDataMainData','_lambdaFunctionParameterSet','push','notExecuteFormula','_endFormulaDependencyTreeModel','getFormulaExprTree','_createVirtualFDtree','getOwnPropertyDescriptor','reset','_startFormulaDependencyTreeModel','getValue','START_DEPENDENCY_ARRAY_FORMULA','execute','_updateRangeFlatten'];_0x5a46=function(){return _0x5e2581;};return _0x5a46();}import{LexerTreeBuilder as _0x91f99,ErrorType as _0x2989dd,DEFAULT_TOKEN_TYPE_ROOT as _0x34e908,DEFAULT_TOKEN_TYPE_PARAMETER as _0x386ef6,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5e865d,NEW_EXCEL_FUNCTIONS as _0x2fff4f,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x9ecc0a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5c37ce,matchToken as _0x13630a,SUFFIX_TOKEN_SET as _0x5f3bca,prefixToken as _0x1677d5,LexerNode as _0x2d699b,OPERATOR_TOKEN_SET as _0x448706,isReferenceString as _0x6059c5,splitTableStructuredRef as _0x5908ed,FormulaDependencyGenerator as _0x53d693,generateRandomDependencyTreeId as _0x1acf17,FormulaDependencyTree as _0x1ccf95,FormulaDependencyTreeType as _0x53e470,FormulaDependencyTreeVirtual as _0x29a9b6,generateAstNode as _0x4296ca,CalculateFormulaService as _0xf68831,FormulaExecuteStageType as _0x459e19,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x7e8350,DEFAULT_INTERVAL_COUNT as _0x2feba4,DependencyManagerBaseService as _0x49f871,UniverFormulaEnginePlugin as _0xae29cb,ICalculateFormulaService as _0x368fee,IDependencyManagerService as _0x265ca2,IFormulaDependencyGenerator as _0xc52b1e,DependencyManagerService as _0x1e709a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x7d460a,LS_CONFIG_KEY as _0x10aacf,unshiftString as _0x3fea30,isFeatureAuthorizedWithinTime as _0x27d9ce,getSheetFeatureLimit as _0x2cc88d}from'@univerjs-pro/license';import{ObjectMatrix as _0x5b53ec,requestImmediateMacroTask as _0x42d291,RTree as _0x50ca2b,DependentOn as _0x20a83e}from'@univerjs/core';class De extends _0x91f99{constructor(){const _0x1ffd1c=_0x5c6bc5;super(...arguments),F(this,_0x1ffd1c(0x1e4),!0x1),F(this,_0x1ffd1c(0x198),new Set()),F(this,_0x1ffd1c(0x1f2),_0x1ffd1c(0x1a9)),F(this,_0x1ffd1c(0x23d),_0x1ffd1c(0x187)),F(this,_0x1ffd1c(0x210),'');}[_0x5c6bc5(0x20f)](){const _0x2dd8ad=_0x5c6bc5;this[_0x2dd8ad(0x1f2)]=_0x2dd8ad(0x1a9),this['_xlfnPrefix']='_xlfn.';}[_0x5c6bc5(0x1e5)](){const _0x10e3a9=_0x5c6bc5;this['_xlpmPrefix']='',this[_0x10e3a9(0x23d)]='';}[_0x5c6bc5(0x1f0)](_0x173a01,_0x83883c){const _0x7d46f6=_0x5c6bc5,_0x3850e3=this[_0x7d46f6(0x1e7)](_0x173a01,!0x1);if(!_0x3850e3||_0x3850e3===_0x2989dd['VALUE']||Array['isArray'](_0x3850e3))return null;const _0x295636=[];return this[_0x7d46f6(0x1e4)]=!0x1,this[_0x7d46f6(0x213)](_0x3850e3,_0x295636,_0x83883c),this['_hasNewExcelFunction']?'='+_0x295636[_0x7d46f6(0x1a5)](''):null;}[_0x5c6bc5(0x213)](_0x34758e,_0x15a284,_0x49e316){const _0x3d3d6c=_0x5c6bc5,_0x1c7c79=_0x34758e[_0x3d3d6c(0x223)](),_0x521408=_0x1c7c79[_0x3d3d6c(0x171)](),_0x22d446=_0x521408[_0x3d3d6c(0x20b)](),_0x2b8314=this[_0x3d3d6c(0x1e6)](_0x22d446),_0x28894c=_0x49e316(_0x2b8314);let _0x915a9c=0x0;_0x1c7c79===_0x34e908?_0x915a9c=0x3:_0x1c7c79===_0x386ef6?_0x915a9c=0x4:_0x1c7c79===_0x5e865d?_0x915a9c=0x5:_0x2fff4f[_0x3d3d6c(0x177)](_0x2b8314)?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0):_0x22d446===_0x9ecc0a?(_0x15a284['push'](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x2):_0x22d446===_0x5c37ce?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x1):_0x22d446===_0x13630a[_0x3d3d6c(0x179)]?_0x915a9c=0x8:_0x5f3bca[_0x3d3d6c(0x177)](_0x22d446)?_0x915a9c=0x7:_0x22d446===_0x1677d5[_0x3d3d6c(0x1ed)]?(this['_checkAddBracketForMinus'](_0x34758e)&&(_0x915a9c=0x9),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79)):(_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),_0x915a9c=0xa),_0x28894c?(_0x915a9c!==0x2&&_0x915a9c!==0x1&&(_0x915a9c=0x6),_0x15a284[_0x3d3d6c(0x199)]('(')):_0x915a9c===0x9&&_0x15a284[_0x3d3d6c(0x199)]('(');const _0x4cf99e=_0x34758e[_0x3d3d6c(0x1b4)](),_0x52e26b=_0x4cf99e['length'];if(_0x915a9c===0x2){const _0x2de56b=_0x4cf99e[0x0];let _0x235389=0x0;_0x2de56b instanceof _0x2d699b&&_0x2de56b[_0x3d3d6c(0x223)]()===_0x5e865d&&(_0x235389=0x1);for(let _0x45cd49=_0x235389;_0x45cd49<_0x52e26b-0x1;_0x45cd49++){const _0x4869d8=_0x4cf99e[_0x45cd49];if(_0x4869d8 instanceof _0x2d699b){const _0x29abb7=_0x4869d8['getChildren']()[0x0];typeof _0x29abb7=='string'&&(this[_0x3d3d6c(0x198)]['has'](_0x29abb7)&&console[_0x3d3d6c(0x224)](_0x3d3d6c(0x1fb)+_0x29abb7+'\x22\x20is\x20duplicated.'),this[_0x3d3d6c(0x198)][_0x3d3d6c(0x172)](_0x29abb7),_0x15a284[_0x3d3d6c(0x199)](''+this[_0x3d3d6c(0x1f2)]+_0x29abb7),this['_hasNewExcelFunction']=!0x0);}_0x15a284[_0x3d3d6c(0x199)](',');}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x235389===0x1&&(_0x15a284[_0x3d3d6c(0x199)](')'),_0x15a284[_0x3d3d6c(0x199)]('('),this['_generateNewFunctionString'](_0x2de56b,_0x15a284,_0x49e316)),_0x15a284['push'](')');return;}else{if(_0x915a9c===0x1){for(let _0x176c45=0x0;_0x176c45<_0x52e26b-0x1;_0x176c45++){const _0x90c253=_0x4cf99e[_0x176c45];if(_0x90c253 instanceof _0x2d699b&&_0x176c45%0x2===0x0){const _0xcc4b5=_0x90c253[_0x3d3d6c(0x1b4)]()[0x0];if(typeof _0xcc4b5==_0x3d3d6c(0x17c)){this[_0x3d3d6c(0x198)]['has'](_0xcc4b5)&&console[_0x3d3d6c(0x224)]('Let\x20variable\x20name\x20\x22'+_0xcc4b5+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3d3d6c(0x172)](_0xcc4b5),_0x15a284['push'](''+this[_0x3d3d6c(0x1f2)]+_0xcc4b5),this['_hasNewExcelFunction']=!0x0,_0x15a284[_0x3d3d6c(0x199)](',');continue;}}if(this[_0x3d3d6c(0x226)](_0x90c253,_0x15a284,_0x49e316),_0x90c253 instanceof _0x2d699b){const _0x415991=_0x4cf99e[_0x176c45+0x1];_0x415991&&_0x415991 instanceof _0x2d699b&&_0x15a284[_0x3d3d6c(0x199)](',');}}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](')');return;}else{if(_0x915a9c===0x8){const _0x10942f=_0x4cf99e[0x0],_0x40e27e=_0x4cf99e[0x1];this[_0x3d3d6c(0x226)](_0x10942f,_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),this[_0x3d3d6c(0x226)](_0x40e27e,_0x15a284,_0x49e316);return;}}}for(let _0x255e4c=0x0;_0x255e4c<_0x52e26b;_0x255e4c++){const _0x5a487d=_0x4cf99e[_0x255e4c];if(this[_0x3d3d6c(0x226)](_0x5a487d,_0x15a284,_0x49e316),_0x5a487d instanceof _0x2d699b){const _0x56ce49=_0x4cf99e[_0x255e4c+0x1];_0x56ce49&&_0x56ce49 instanceof _0x2d699b&&_0x15a284['push'](',');}}_0x915a9c===0x7&&_0x15a284['push'](_0x1c7c79),(_0x28894c||_0x915a9c===0x9)&&_0x15a284['push'](')');}['_handleNewFunctionChild'](_0x1848e5,_0x125c4f,_0x120883){const _0x4f6e67=_0x5c6bc5;_0x1848e5 instanceof _0x2d699b?this[_0x4f6e67(0x213)](_0x1848e5,_0x125c4f,_0x120883):this[_0x4f6e67(0x198)][_0x4f6e67(0x177)](_0x1848e5)?(_0x125c4f['push'](''+this[_0x4f6e67(0x1f2)]+_0x1848e5),this[_0x4f6e67(0x1e4)]=!0x0):_0x125c4f['push'](_0x1848e5);}[_0x5c6bc5(0x1e6)](_0x1d41e5){const _0x557acd=_0x5c6bc5;let _0xfb2444=_0x1d41e5[_0x557acd(0x171)]();if(!_0xfb2444)return _0xfb2444;const _0xf3cc8=_0xfb2444[0x0];if((_0xf3cc8===_0x1677d5['AT']||_0xf3cc8===_0x1677d5['MINUS']||_0xf3cc8===_0x1677d5[_0x557acd(0x194)])&&(_0xfb2444=_0xfb2444['slice'](0x1)),!_0xfb2444)return _0xfb2444;const _0x3daaff=_0xfb2444[_0xfb2444['length']-0x1];return _0x5f3bca[_0x557acd(0x177)](_0x3daaff)&&(_0xfb2444=_0xfb2444[_0x557acd(0x192)](0x0,-0x1)),_0xfb2444;}[_0x5c6bc5(0x1fa)](_0x13cd93){const _0x4bc6fc=_0x5c6bc5,_0x3cba4f=_0x13cd93[_0x4bc6fc(0x1b4)]()[0x0];if(!_0x3cba4f||!(_0x3cba4f instanceof _0x2d699b)||_0x13cd93[_0x4bc6fc(0x1b4)]()[_0x4bc6fc(0x1b2)]>0x1)return!0x1;const _0x91d476=_0x3cba4f[_0x4bc6fc(0x1b4)](),_0x330637=_0x91d476[_0x4bc6fc(0x1b2)];if(_0x330637===0x1)return!0x1;for(let _0x3bf8f8=0x0;_0x3bf8f8<_0x330637;_0x3bf8f8++){const _0x2e569a=_0x91d476[_0x3bf8f8];if(!(_0x2e569a instanceof _0x2d699b)&&_0x448706['has'](_0x2e569a))return!0x0;}return!0x1;}[_0x5c6bc5(0x19c)](_0x2032f5,_0x2e7700,_0x86914c,_0x1a7bd9,_0x256d42){const _0x5b66ce=_0x5c6bc5,_0x323f61=this[_0x5b66ce(0x1e7)](_0x2032f5,!0x1);if(!_0x323f61||_0x323f61===_0x2989dd[_0x5b66ce(0x1e9)]||Array[_0x5b66ce(0x214)](_0x323f61))return null;this[_0x5b66ce(0x1e5)](),this[_0x5b66ce(0x210)]=_0x2e7700;const _0x18636f=this[_0x5b66ce(0x1af)](_0x323f61,_0x86914c,_0x1a7bd9,_0x256d42);return this[_0x5b66ce(0x210)]='',this[_0x5b66ce(0x20f)](),_0x18636f;}[_0x5c6bc5(0x1af)](_0x3de5e4,_0x30747c,_0xa26705,_0x3f7ea1){const _0xc86d72=_0x5c6bc5,_0x2040b2={'value':'','children':[],'startIndex':0x0};let _0x5032a5=_0x3de5e4;if(_0x5032a5 instanceof _0x2d699b&&(_0x5032a5[_0xc86d72(0x223)]()===_0x34e908||_0x5032a5[_0xc86d72(0x223)]()===_0x386ef6)&&_0x5032a5[_0xc86d72(0x1b4)]()[_0xc86d72(0x1b2)]===0x1&&(_0x5032a5=_0x5032a5['getChildren']()[0x0]),!(_0x5032a5 instanceof _0x2d699b))return this['_handleTextNodeForExprTree'](_0x5032a5,_0xa26705,_0x3f7ea1);const _0x368228=_0x5032a5[_0xc86d72(0x1b4)](),_0x1717c2=_0x368228['length'],_0x282d81=[];this['_generateNewFunctionString'](_0x5032a5,_0x282d81,_0x30747c),_0x2040b2[_0xc86d72(0x178)]=_0x282d81[_0xc86d72(0x1a5)](''),_0x2040b2[_0xc86d72(0x233)]=_0x5032a5[_0xc86d72(0x1b5)]();const _0x251a23=this['_getCurNodeTypeForExprTree'](_0x5032a5);if(_0x251a23===0x2){const _0x5e90a7=_0x368228[0x0];if(_0x5e90a7 instanceof _0x2d699b){if(_0x5e90a7[_0xc86d72(0x223)]()[_0xc86d72(0x171)]()!==_0x5e865d)return _0x2040b2;this[_0xc86d72(0x1f4)](_0x5e90a7,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1);}return _0x2040b2;}else{if(_0x251a23===0x1){for(let _0x3e2ca1=0x0;_0x3e2ca1<_0x1717c2-0x1;_0x3e2ca1++){const _0x15fd37=_0x368228[_0x3e2ca1];if(_0x15fd37 instanceof _0x2d699b&&_0x3e2ca1%0x2===0x1){const _0x5b434e=_0x15fd37['getChildren']();if(_0x5b434e[_0xc86d72(0x1b2)]===0x1&&!(_0x5b434e[0x0]instanceof _0x2d699b))continue;const _0x3b61d5=this['_generateExprTree'](_0x15fd37,_0x30747c,_0xa26705,_0x3f7ea1);_0x3b61d5&&_0x2040b2[_0xc86d72(0x21c)][_0xc86d72(0x199)](_0x3b61d5);}}return _0x2040b2;}else{if(_0x251a23===0x8){const _0x1c6a3e=_0x368228[0x0];if(_0x1c6a3e instanceof _0x2d699b){const _0x5e66ac=_0x1c6a3e[_0xc86d72(0x1b4)]()[0x0];_0x5e66ac instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x5e66ac[_0xc86d72(0x1b5)]());}if(this[_0xc86d72(0x208)](_0x5032a5))return _0x2040b2;}else{if(_0x251a23===0x7){const _0x2b27fa=_0x368228[0x0];if(_0x2b27fa instanceof _0x2d699b){const _0x34136e=_0x2b27fa[_0xc86d72(0x1b4)]()[0x0];_0x34136e instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x34136e[_0xc86d72(0x1b5)]());}}}}}return this['_handleChildrenForExprTree'](_0x368228,_0x251a23,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1),_0x2040b2;}[_0x5c6bc5(0x238)](_0x47e709,_0x38f9e9,_0x8ce992,_0x54f62a,_0x4fa729,_0x4515fb){const _0x3aa269=_0x5c6bc5;for(let _0x1d78ae=0x0;_0x1d78ae<_0x47e709['length'];_0x1d78ae++){let _0x3a9f42=_0x47e709[_0x1d78ae];if(!(_0x3a9f42 instanceof _0x2d699b)){const _0x314c53=this[_0x3aa269(0x184)](_0x3a9f42,_0x4fa729,_0x4515fb);_0x314c53&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x314c53);continue;}const _0x37e705=_0x3a9f42[_0x3aa269(0x1b4)]();if(_0x37e705['length']===0x1&&!(_0x37e705[0x0]instanceof _0x2d699b)){const _0x579a6c=_0x37e705[0x0];if(!_0x4fa729(this[_0x3aa269(0x210)],_0x579a6c)&&!this[_0x3aa269(0x1d9)](_0x579a6c,_0x4515fb)&&!_0x6059c5(_0x579a6c))continue;}if(_0x38f9e9===0x8){const _0x573f49=_0x37e705[0x0];if(_0x573f49 instanceof _0x2d699b){const _0x5863ed=_0x573f49[_0x3aa269(0x223)]()[_0x3aa269(0x171)]();if(_0x6059c5(_0x5863ed))continue;_0x3a9f42=_0x573f49;}}const _0x373ed6=this['_generateExprTree'](_0x3a9f42,_0x54f62a,_0x4fa729,_0x4515fb);_0x373ed6&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x373ed6);}}[_0x5c6bc5(0x208)](_0x20436f){const _0x4bfb78=_0x5c6bc5,_0x34053d=_0x20436f[_0x4bfb78(0x1b4)]();if(_0x34053d[_0x4bfb78(0x1b2)]<0x2)return!0x1;const _0x1d6e8f=_0x34053d[0x0],_0x5125ce=_0x34053d[0x1];if(!(_0x1d6e8f instanceof _0x2d699b)||!(_0x5125ce instanceof _0x2d699b))return!0x1;const _0xac9f24=_0x1d6e8f['getChildren']()[0x0],_0x348526=_0x5125ce['getChildren']()[0x0];if(!(_0xac9f24 instanceof _0x2d699b)||!(_0x348526 instanceof _0x2d699b))return!0x1;const _0x2cc54b=_0xac9f24[_0x4bfb78(0x223)]()[_0x4bfb78(0x171)](),_0x2f8da1=_0x348526['getToken']()['trim']();return!!_0x6059c5(''+_0x2cc54b+_0x13630a[_0x4bfb78(0x179)]+_0x2f8da1);}[_0x5c6bc5(0x184)](_0x35192,_0x363d7b,_0x3c21fb){const _0x27c23b=_0x5c6bc5,_0xca8956=_0x35192['trim']();return _0xca8956[_0x27c23b(0x1d7)]('{')&&_0xca8956[_0x27c23b(0x1b0)]('}')||_0x363d7b(this[_0x27c23b(0x210)],_0xca8956)||this[_0x27c23b(0x1d9)](_0xca8956,_0x3c21fb)||_0x6059c5(_0xca8956)?{'value':_0xca8956,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x5d338d,_0x589185){const {tableName:_0x44afd7}=_0x5908ed(_0x5d338d);return _0x589185(this['_currentUnitId'],_0x44afd7)?_0x44afd7:null;}[_0x5c6bc5(0x1f4)](_0x4caea4,_0x1b0f4c,_0xd8cf67,_0x2069e4,_0x3d8428){const _0x467c5d=_0x5c6bc5,_0x21d370=_0x4caea4[_0x467c5d(0x1b4)]();for(let _0x39092b=0x0;_0x39092b<_0x21d370[_0x467c5d(0x1b2)];_0x39092b++){const _0x2ca1dd=_0x21d370[_0x39092b];if(!(_0x2ca1dd instanceof _0x2d699b))continue;const _0x4d0bee=_0x2ca1dd[_0x467c5d(0x1b4)]();if(_0x4d0bee['length']===0x1&&!(_0x4d0bee[0x0]instanceof _0x2d699b))continue;const _0x41eb17=this[_0x467c5d(0x1af)](_0x2ca1dd,_0xd8cf67,_0x2069e4,_0x3d8428);_0x41eb17&&_0x1b0f4c['children'][_0x467c5d(0x199)](_0x41eb17);}}[_0x5c6bc5(0x1c3)](_0x2fcdb2){const _0x4c6478=_0x5c6bc5,_0x1300d7=_0x2fcdb2[_0x4c6478(0x223)](),_0x4fc093=_0x1300d7['trim']()['toUpperCase']();let _0x34425b=0x0;return _0x1300d7===_0x34e908?_0x34425b=0x3:_0x1300d7===_0x386ef6?_0x34425b=0x4:_0x1300d7===_0x5e865d?_0x34425b=0x5:_0x4fc093===_0x9ecc0a?_0x34425b=0x2:_0x4fc093===_0x5c37ce?_0x34425b=0x1:_0x4fc093===_0x13630a[_0x4c6478(0x179)]?_0x34425b=0x8:_0x5f3bca['has'](_0x4fc093)?_0x34425b=0x7:_0x4fc093===_0x1677d5[_0x4c6478(0x1ed)]?this['_checkAddBracketForMinus'](_0x2fcdb2)&&(_0x34425b=0x9):_0x34425b=0xa,_0x34425b;}}const Me={0x0:'Y',0x1:'O',0x2:'x',0x3:'r',0x4:'m',0x5:'e',0x6:'c',0x7:'M',0x8:'p',0x9:'R','k':'0','P':'1','G':'2','T':'3','A':'4','S':'5','p':'6','a':'7','g':'8','u':'9','N':'a','J':'b','O':'d','d':'f','y':'g','L':'h','h':'i','r':'j','I':'k','c':'l','V':'n','Q':'o','E':'q','n':'s','v':'t','M':'u','R':'v','l':'w','Z':'y','j':'z','W':'A','Y':'B','b':'C','F':'D','z':'E','B':'F','x':'G','H':'H','U':'I','D':'J','i':'K','f':'L','e':'N','\x20':'P','o':'Q','s':'S','K':'T','C':'U','X':'V','m':'W','w':'X','q':'Z','t':'\x20'},Se=_0x5c6bc5(0x1c7);class xe extends _0x53d693{constructor(){const _0x5e564c=_0x5c6bc5;super(...arguments),F(this,_0x5e564c(0x1c8),new Map());}[_0x5c6bc5(0x16f)](){const _0x5e3340=_0x5c6bc5;super[_0x5e3340(0x16f)](),this[_0x5e3340(0x1c8)]['clear']();}async[_0x5c6bc5(0x200)](_0x214f01=!0x1){const _0x110cbc=_0x5c6bc5;this[_0x110cbc(0x1a4)]();const _0x53676f=this[_0x110cbc(0x232)]['getFormulaData'](),_0x5296b1=this[_0x110cbc(0x1fc)][_0x110cbc(0x186)](),_0x5cfad8=this[_0x110cbc(0x232)][_0x110cbc(0x1dd)]();_0x5cfad8!=null&&Object[_0x110cbc(0x170)](_0x5cfad8)[_0x110cbc(0x21e)](_0x53bfe8=>{const _0x5b66fb=_0x110cbc;_0x53bfe8!=null&&Object[_0x5b66fb(0x170)](_0x5cfad8[_0x53bfe8])['forEach'](_0xd1e23f=>{const _0x58fc0f=_0x5b66fb;_0xd1e23f!=null&&(this[_0x58fc0f(0x1da)][_0x58fc0f(0x1ee)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x217)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x1c2)](_0x53bfe8,_0xd1e23f));});});const _0x56317f=this['_currentConfigService']['getUnitData']();await this[_0x110cbc(0x211)](_0x53676f,_0x5296b1,_0x56317f),this[_0x110cbc(0x1da)]['openKdTree']();const _0x1288a2=this[_0x110cbc(0x231)](),_0x3fcf98=this['_calculateRunList'](_0x1288a2);return this[_0x110cbc(0x1db)](_0x3fcf98)&&this[_0x110cbc(0x1cb)][_0x110cbc(0x175)](),_0x214f01&&this[_0x110cbc(0x1cb)][_0x110cbc(0x21d)](this['_getAllDependencyJson'](Array['from'](this[_0x110cbc(0x1c8)][_0x110cbc(0x1ce)]()))),this[_0x110cbc(0x1c8)]['clear'](),this[_0x110cbc(0x201)][_0x110cbc(0x196)](),this[_0x110cbc(0x1da)][_0x110cbc(0x23a)](),this['_runtimeService'][_0x110cbc(0x1ec)](),Promise[_0x110cbc(0x173)](_0x3fcf98);}['_isCyclicUtilMap'](_0x1bf846,_0x152829){const _0x204792=_0x5c6bc5,_0x5121ef=[_0x1bf846];for(;_0x5121ef[_0x204792(0x1b2)]>0x0;){const _0x5f1f10=_0x5121ef[_0x5121ef[_0x204792(0x1b2)]-0x1];if((_0x152829['get'](_0x5f1f10)||0x0)===0x0){_0x152829['set'](_0x5f1f10,0x1);const _0x3ab416=this[_0x204792(0x1c8)]['get'](_0x5f1f10);if(_0x3ab416==null){_0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();continue;}const _0x3852f4=this[_0x204792(0x1da)][_0x204792(0x240)](_0x3ab416[_0x204792(0x23f)]());for(const _0x394d97 of _0x3852f4){const _0x38632c=_0x152829['get'](_0x394d97)||0x0;if(_0x38632c===0x1)return!0x0;_0x38632c===0x0&&_0x5121ef[_0x204792(0x199)](_0x394d97);}}else _0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();}return!0x1;}[_0x5c6bc5(0x1db)](_0x548776){const _0x5a77ec=_0x5c6bc5,_0x1ab7e0=new Map();for(const _0x1af13f of _0x548776)if(!_0x1ab7e0[_0x5a77ec(0x177)](_0x1af13f[_0x5a77ec(0x1d8)])&&this[_0x5a77ec(0x1c1)](_0x1af13f[_0x5a77ec(0x1d8)],_0x1ab7e0))return!0x0;return _0x1ab7e0[_0x5a77ec(0x196)](),!0x1;}['_getFeatureFormulaTree'](_0x3d3931,_0x100aff,_0x43458c){const _0x1f2703=_0x5c6bc5,{unitId:_0x20043a,subUnitId:_0x28a9c9,dependencyRanges:_0x25138c,getDirtyData:_0x1b90ff}=_0x43458c,_0x3c0ae6=_0x100aff||_0x1acf17(this[_0x1f2703(0x1da)]),_0x1da353=new _0x1ccf95(_0x3c0ae6);_0x1da353[_0x1f2703(0x174)]=_0x20043a,_0x1da353[_0x1f2703(0x1d6)]=_0x28a9c9,_0x1da353['rangeList']=_0x25138c,_0x1da353[_0x1f2703(0x1cf)]=_0x1b90ff;const _0x56d184=_0x1b90ff(this[_0x1f2703(0x232)][_0x1f2703(0x1cf)](),this['_runtimeService'][_0x1f2703(0x1b7)]()),_0x26afb2=this[_0x1f2703(0x22b)](_0x56d184[_0x1f2703(0x1cd)]);return _0x1da353[_0x1f2703(0x1ab)]=_0x26afb2,_0x1da353[_0x1f2703(0x1ca)]=_0x3d3931,_0x1da353[_0x1f2703(0x207)]=_0x53e470[_0x1f2703(0x183)],this[_0x1f2703(0x1da)]['addFeatureFormulaDependency'](_0x20043a,_0x28a9c9,_0x3d3931,_0x1da353),this[_0x1f2703(0x1c8)][_0x1f2703(0x1e8)](_0x1da353[_0x1f2703(0x1d8)],_0x1da353),this[_0x1f2703(0x1da)]['getFeatureFormulaDependency'](_0x43458c[_0x1f2703(0x174)],_0x43458c[_0x1f2703(0x1d6)],_0x3d3931)&&(_0x1da353[_0x1f2703(0x227)]=!0x0),_0x1da353;}[_0x5c6bc5(0x1d2)](_0x53ef35,_0x1b799c,_0x34ebdc){const _0x15f2e2=_0x5c6bc5;var _0x578608;for(const _0x3088d2 of _0x1b799c){const _0x3b2a11=_0x53ef35[_0x3088d2];if(_0x3b2a11==null)continue;const _0x4a834a=Object[_0x15f2e2(0x170)](_0x3b2a11);for(const _0x4502ca of _0x4a834a){const _0xc3dfcb=_0x3b2a11[_0x4502ca];if(_0xc3dfcb==null)continue;const _0x258639=Object['keys'](_0xc3dfcb);for(const _0xd9234a of _0x258639){const _0x2b8c71=this[_0x15f2e2(0x1da)][_0x15f2e2(0x197)](_0xd9234a),_0x1f3450=_0xc3dfcb[_0xd9234a],{f:_0x2d8e8a,ranges:_0x10f83f}=_0x1f3450;let _0xd502f3=!0x1;_0x2b8c71&&(_0xd502f3=!0x0);const {firstRow:_0x581cb1,firstColumn:_0xeba3c0}=this[_0x15f2e2(0x1ac)](_0x10f83f),_0x48821c=this['_dependencyManagerService'][_0x15f2e2(0x21b)](_0x3088d2,_0x4502ca,_0xd9234a),_0x497561=(_0x578608=_0x48821c==null?void 0x0:_0x48821c[_0x15f2e2(0x1a1)](0x0,0x0))!=null?_0x578608:_0x1acf17(this[_0x15f2e2(0x1da)]),_0x25f26f=new _0x1ccf95(_0x497561);for(let _0x57020d=0x0;_0x57020d<_0x10f83f['length'];_0x57020d++){const _0x18196a=_0x10f83f[_0x57020d],{startRow:_0x556b74,startColumn:_0x2a8c33,endRow:_0x4ced3b,endColumn:_0x50d705}=_0x18196a;for(let _0x16b805=_0x556b74;_0x16b805<=_0x4ced3b;_0x16b805++)for(let _0x23f296=_0x2a8c33;_0x23f296<=_0x50d705;_0x23f296++){const _0x4346ad=_0x23f296-_0xeba3c0,_0x5e3693=_0x16b805-_0x581cb1;if(_0x4346ad===0x0&&_0x5e3693===0x0){_0x25f26f[_0x15f2e2(0x1c5)]=_0x2d8e8a,_0x25f26f[_0x15f2e2(0x174)]=_0x3088d2,_0x25f26f[_0x15f2e2(0x1d6)]=_0x4502ca,_0x25f26f[_0x15f2e2(0x20c)]=_0xd9234a,_0x25f26f[_0x15f2e2(0x207)]=_0x53e470[_0x15f2e2(0x1cc)],_0x25f26f[_0x15f2e2(0x227)]=_0xd502f3,_0x34ebdc[_0x15f2e2(0x199)](_0x25f26f),this[_0x15f2e2(0x1c8)][_0x15f2e2(0x1e8)](_0x25f26f['treeId'],_0x25f26f),this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x25f26f),this['_dependencyManagerService'][_0x15f2e2(0x215)](_0x25f26f);continue;}const _0x457ae4=new _0x29a9b6();_0x457ae4['treeId']=(_0x48821c==null?void 0x0:_0x48821c['getValue'](_0x4346ad,_0x5e3693))||_0x1acf17(this['_dependencyManagerService']),_0x457ae4[_0x15f2e2(0x1e3)]=_0x25f26f,_0x457ae4[_0x15f2e2(0x1f9)]=_0x4346ad,_0x457ae4[_0x15f2e2(0x1b8)]=_0x5e3693,_0x457ae4[_0x15f2e2(0x227)]=_0xd502f3,_0x457ae4['type']=_0x53e470[_0x15f2e2(0x1cc)],this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x457ae4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x457ae4),_0x34ebdc[_0x15f2e2(0x199)](_0x457ae4),this[_0x15f2e2(0x1c8)]['set'](_0x457ae4[_0x15f2e2(0x1d8)],_0x457ae4);}}this['_dependencyManagerService'][_0x15f2e2(0x191)](_0xd9234a);}}}}['_registerFormulas'](_0x703708,_0x20e083,_0x131736,_0x192624){const _0x23cd14=_0x5c6bc5;for(const _0x329ecb of _0x703708){const _0x2e5e43=_0x20e083[_0x329ecb];if(_0x2e5e43==null)continue;const _0x5df384=Object[_0x23cd14(0x170)](_0x2e5e43);for(const _0x16fe64 of _0x5df384){const _0x2d0966=new _0x5b53ec(_0x2e5e43[_0x16fe64]||{}),_0x13d043=new Map();_0x2d0966[_0x23cd14(0x193)]((_0x543f5e,_0x28b816,_0x4a7db6)=>{const _0x4d2d92=_0x23cd14;if(_0x4a7db6==null)return!0x0;const {x:_0x56b91d=0x0,y:_0x4baf9c=0x0,si:_0x29b7ed}=_0x4a7db6;if(!(_0x56b91d===0x0&&_0x4baf9c===0x0&&_0x29b7ed!=null))return!0x0;const _0x4b13b5=this['_createFDtree'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x131736,_0x4a7db6),_0x1d793d=this[_0x4d2d92(0x1da)]['getFormulaDependency'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816);_0x1d793d!=null?_0x4b13b5[_0x4d2d92(0x1d8)]=_0x1d793d:(this[_0x4d2d92(0x1da)][_0x4d2d92(0x1a7)](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x4b13b5),this['_dependencyManagerService'][_0x4d2d92(0x215)](_0x4b13b5)),_0x13d043['set'](_0x29b7ed,_0x4b13b5),_0x192624[_0x4d2d92(0x199)](_0x4b13b5),this['_dependencyTreeCache'][_0x4d2d92(0x1e8)](_0x4b13b5[_0x4d2d92(0x1d8)],_0x4b13b5);}),_0x2d0966[_0x23cd14(0x193)]((_0x58b7dd,_0x4a0e6a,_0x1a2ad1)=>{const _0x269486=_0x23cd14;if(_0x1a2ad1==null)return!0x0;const {x:_0xae603a=0x0,y:_0x39e338=0x0,si:_0x2b28d6}=_0x1a2ad1;if(_0xae603a===0x0&&_0x39e338===0x0&&_0x2b28d6!=null)return!0x0;let _0x595ff2;if(_0x2b28d6&&_0x13d043['has'](_0x2b28d6)){const _0x19733b=_0x13d043[_0x269486(0x230)](_0x2b28d6);_0x595ff2=this[_0x269486(0x19d)](_0x19733b,_0x1a2ad1);}else _0x595ff2=this[_0x269486(0x180)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x131736,_0x1a2ad1);const _0x2eedbe=this['_dependencyManagerService'][_0x269486(0x23b)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a);_0x2eedbe!=null?_0x595ff2[_0x269486(0x1d8)]=_0x2eedbe:(this[_0x269486(0x1da)]['addFormulaDependency'](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x595ff2),this[_0x269486(0x1da)][_0x269486(0x215)](_0x595ff2)),_0x192624[_0x269486(0x199)](_0x595ff2),this['_dependencyTreeCache']['set'](_0x595ff2[_0x269486(0x1d8)],_0x595ff2);}),_0x13d043[_0x23cd14(0x196)]();}}}[_0x5c6bc5(0x180)](_0x339a74,_0x2f30db,_0xb6de98,_0x4092d2,_0x1cf351,_0x41827d){const _0x287afb=_0x5c6bc5,{f:_0x5eb0ca,x:_0xd37d40=0x0,y:_0x127d33=0x0}=_0x41827d,_0x228297=new _0x1ccf95(_0x1acf17(this[_0x287afb(0x1da)])),_0x33f3a1=_0x1cf351[_0x339a74][_0x2f30db];return _0x228297[_0x287afb(0x1c5)]=_0x5eb0ca,_0x228297[_0x287afb(0x174)]=_0x339a74,_0x228297[_0x287afb(0x1d6)]=_0x2f30db,_0x228297['row']=_0xb6de98,_0x228297[_0x287afb(0x188)]=_0x4092d2,_0x228297[_0x287afb(0x18d)]=_0x33f3a1['rowCount'],_0x228297[_0x287afb(0x219)]=_0x33f3a1[_0x287afb(0x219)],_0x228297;}[_0x5c6bc5(0x231)](){const _0x48d096=_0x5c6bc5,_0x534dee=[],_0x1a8fdb=new Set(),_0x41bba1=this[_0x48d096(0x232)][_0x48d096(0x1c0)](),_0x11314e=this['_currentConfigService'][_0x48d096(0x21a)](),_0x4dbdef=this[_0x48d096(0x1da)][_0x48d096(0x240)](_0x11314e),_0x5d5c15=this[_0x48d096(0x201)]['bulkSearch'](_0x11314e);for(const _0x34f06b of _0x5d5c15)_0x4dbdef[_0x48d096(0x172)](_0x34f06b);for(const [_0x203228,_0x12d436]of this[_0x48d096(0x1c8)])(_0x41bba1||_0x12d436[_0x48d096(0x1c4)]||_0x12d436[_0x48d096(0x16e)](this[_0x48d096(0x232)][_0x48d096(0x1f1)]())||_0x4dbdef['has'](_0x203228)&&!_0x12d436[_0x48d096(0x18b)](this[_0x48d096(0x232)][_0x48d096(0x1f3)]()))&&!_0x1a8fdb['has'](_0x203228)&&(_0x534dee[_0x48d096(0x199)](_0x12d436),_0x1a8fdb[_0x48d096(0x172)](_0x203228));for(const [_0x1b2ee0,_0x44ae33]of this[_0x48d096(0x1c8)])_0x44ae33[_0x48d096(0x1ef)]||(_0x44ae33['rangeList'][_0x48d096(0x1b2)]=0x0);return _0x534dee;}[_0x5c6bc5(0x1f6)](_0x5202a3){const _0x19425f=_0x5c6bc5;return this[_0x19425f(0x1c8)][_0x19425f(0x230)](_0x5202a3);}[_0x5c6bc5(0x205)](_0x54cb95){const _0x2aad72=_0x5c6bc5;return _0x4296ca(_0x54cb95[_0x2aad72(0x174)],_0x54cb95[_0x2aad72(0x1c5)],this[_0x2aad72(0x1e0)],this[_0x2aad72(0x17e)],this['_currentConfigService']);}*[_0x5c6bc5(0x17b)](_0x384f03,_0x4930bd){const _0x206998=_0x5c6bc5,_0x541fc9=_0x384f03,_0x516086=new Set();for(;_0x541fc9[_0x206998(0x1b2)]>0x0;){const _0x53a3ab=_0x541fc9['pop']();if(_0x516086['clear'](),_0x53a3ab===void 0x0||_0x53a3ab['isSkip']())continue;if(_0x53a3ab['isAdded']()){yield _0x53a3ab,_0x53a3ab[_0x206998(0x21f)](),_0x4930bd[_0x206998(0x172)](_0x53a3ab[_0x206998(0x1d8)]);continue;}const _0x4be434=this[_0x206998(0x1da)]['searchDependency'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd),_0x446f76=this[_0x206998(0x201)]['bulkSearch'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd);for(const _0x3295cf of _0x446f76)_0x4be434[_0x206998(0x172)](_0x3295cf);for(const _0x1a9ec5 of _0x4be434){const _0x507216=this['_dependencyTreeCache'][_0x206998(0x230)](_0x1a9ec5);if(!_0x507216){console[_0x206998(0x224)](_0x206998(0x220),_0x1a9ec5);continue;}_0x507216[_0x206998(0x216)]()||_0x53a3ab[_0x206998(0x23c)]()||_0x516086[_0x206998(0x172)](_0x507216);}if(_0x4be434[_0x206998(0x196)](),_0x516086[_0x206998(0x22e)]===0x0)yield _0x53a3ab,_0x53a3ab['setSkip'](),_0x4930bd['add'](_0x53a3ab[_0x206998(0x1d8)]);else{_0x53a3ab[_0x206998(0x1be)](),_0x541fc9[_0x206998(0x199)](_0x53a3ab);for(const _0x2774fe of _0x516086)_0x541fc9[_0x206998(0x199)](_0x2774fe);}}_0x541fc9['length']=0x0,_0x516086[_0x206998(0x196)]();}['_calculateRunList'](_0x49a6c2){const _0xb7db01=_0x5c6bc5,_0xd6f40e=[],_0x2ce484=new Set();for(const _0x13d033 of this[_0xb7db01(0x17b)](_0x49a6c2,_0x2ce484))_0xd6f40e['push'](_0x13d033);return _0xd6f40e;}async[_0x5c6bc5(0x190)](){const _0x444bc8=_0x5c6bc5;return await this['_initializeGenerateTreeList'](),Array['from'](this['_dependencyTreeCache'][_0x444bc8(0x1ce)]());}['_getDependencyTreeParenIds'](_0x28b6eb){const _0xfa94af=_0x5c6bc5;return this[_0xfa94af(0x1da)][_0xfa94af(0x240)](_0x28b6eb[_0xfa94af(0x23f)]());}[_0x5c6bc5(0x18f)](_0x3c70c8){const _0x3ad66c=_0x5c6bc5,_0x15f503=new Set(),_0x16e552=_0x3c70c8[_0x3ad66c(0x1fd)];for(const [_0x2d8f0b,_0x5a3618]of this['_dependencyTreeCache'])for(const _0x33c5ec of _0x16e552){const _0x33d544=_0x33c5ec['unitId'],_0x296ad9=_0x33c5ec[_0x3ad66c(0x1fe)];if(_0x5a3618[_0x3ad66c(0x174)]!==_0x33d544||_0x5a3618[_0x3ad66c(0x1d6)]!==_0x296ad9)continue;const _0x20982a=_0x33c5ec[_0x3ad66c(0x229)];if(_0x5a3618[_0x3ad66c(0x1e1)](_0x20982a)){_0x15f503['add'](_0x2d8f0b);break;}}return _0x15f503;}[_0x5c6bc5(0x1a0)](){const _0x39a2cf=_0x5c6bc5;this[_0x39a2cf(0x1da)][_0x39a2cf(0x234)]();}[_0x5c6bc5(0x19b)](){const _0x42b9e7=_0x5c6bc5;this['_formulaDependencyTreeModel']['clear'](),this[_0x42b9e7(0x1c8)]['clear'](),this[_0x42b9e7(0x1da)][_0x42b9e7(0x23a)]();}}function _0x34a5(_0xb78921,_0x486880){_0xb78921=_0xb78921-0x16e;const _0x5a46f4=_0x5a46();let _0x34a513=_0x5a46f4[_0xb78921];return _0x34a513;}class Re extends _0xf68831{async['_apply'](_0x389655=!0x1){const _0x2b30b2=_0x5c6bc5;_0x389655?this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1a2)]):this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1c9)]),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());const _0x5a441f=await this['_formulaDependencyGenerator'][_0x2b30b2(0x200)](this[_0x2b30b2(0x1de)]),_0x9123f2=this['_interpreter'];_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x17d)]),this[_0x2b30b2(0x1cb)]['setTotalArrayFormulasToCalculate'](_0x5a441f['length'])):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20e)]),this[_0x2b30b2(0x1cb)]['setTotalFormulasToCalculate'](_0x5a441f['length'])),this['_executionInProgressListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());let _0x5e4abb=[];const _0x10314e=this['_configService'][_0x2b30b2(0x221)](_0x7e8350),_0x432016=(_0x10314e==null?void 0x0:_0x10314e[_0x2b30b2(0x222)])||_0x2feba4;let _0x1f8b0b=0x0;const _0x2d4238=_0x5a441f[_0x2b30b2(0x1b2)];for(;_0x5a441f[_0x2b30b2(0x1b2)]>0x0;){const _0x55cc6a=_0x5a441f[_0x2b30b2(0x1bb)](),_0x5941e5=_0x4296ca(_0x55cc6a[_0x2b30b2(0x174)],_0x55cc6a['formula'],this[_0x2b30b2(0x1e0)],this['_astTreeBuilder'],this[_0x2b30b2(0x232)]),_0x2d2db1={'node':_0x5941e5,'refOffsetX':_0x55cc6a[_0x2b30b2(0x1f9)],'refOffsetY':_0x55cc6a['refOffsetY']},_0x3f09b2=_0x55cc6a[_0x2b30b2(0x1cf)];if(_0x1f8b0b%_0x432016===0x0&&(await new Promise(_0x4d8e24=>{const _0x299a88=_0x2b30b2,_0x17fb7f=_0x42d291(_0x4d8e24);_0x5e4abb[_0x299a88(0x199)](_0x17fb7f);}),_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1dc)](_0x1f8b0b+0x1)):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20a)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1f7)](_0x1f8b0b+0x1)),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1eb)]()),this[_0x2b30b2(0x1cb)]['isStopExecution']()||_0x2d2db1==null&&_0x3f09b2==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x23e)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x202)](),this['_executionCompleteListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1b7)]());return;}this['_runtimeService']['setCurrent'](_0x55cc6a[_0x2b30b2(0x185)],_0x55cc6a[_0x2b30b2(0x188)],_0x55cc6a[_0x2b30b2(0x18d)],_0x55cc6a[_0x2b30b2(0x219)],_0x55cc6a[_0x2b30b2(0x1d6)],_0x55cc6a['unitId']);let _0x1d730f;if(_0x3f09b2!=null&&_0x55cc6a['featureId']!=null){const {runtimeCellData:_0x8f767c,dirtyRanges:_0x505cb8}=_0x3f09b2(this[_0x2b30b2(0x232)][_0x2b30b2(0x1cf)](),this['_runtimeService'][_0x2b30b2(0x1b7)]());this[_0x2b30b2(0x1cb)][_0x2b30b2(0x209)](_0x55cc6a['featureId'],_0x8f767c),this[_0x2b30b2(0x1cb)]['setRuntimeFeatureRange'](_0x55cc6a['featureId'],_0x505cb8);}else _0x2d2db1!=null&&(_0x9123f2[_0x2b30b2(0x235)](_0x2d2db1[_0x2b30b2(0x1a6)])?_0x1d730f=await _0x9123f2['executeAsync'](_0x2d2db1):_0x1d730f=_0x9123f2[_0x2b30b2(0x1a3)](_0x2d2db1),_0x55cc6a[_0x2b30b2(0x20c)]!=null?this[_0x2b30b2(0x1cb)][_0x2b30b2(0x195)](_0x55cc6a[_0x2b30b2(0x20c)],_0x55cc6a[_0x2b30b2(0x1f9)],_0x55cc6a['refOffsetY'],_0x1d730f):this['_runtimeService'][_0x2b30b2(0x17a)](_0x1d730f));_0x5941e5[_0x2b30b2(0x241)](),_0x1f8b0b++;}return _0x5e4abb['forEach'](_0x4141ad=>_0x4141ad()),_0x5e4abb=[],_0x2d4238>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x389655||this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1d0)](),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1b7)]();}}class Ve extends _0x49f871{constructor(){const _0x149e62=_0x5c6bc5;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x149e62(0x236),new _0x50ca2b(!0x0));}[_0x5c6bc5(0x19f)](){const _0x3f980c=_0x5c6bc5;this[_0x3f980c(0x1bf)][_0x3f980c(0x196)](),this[_0x3f980c(0x1ea)]['clear'](),this['_formulaData']['clear'](),this['_dependencyRTreeCache']['clear'](),this['_allTreeMap'][_0x3f980c(0x196)](),this[_0x3f980c(0x22d)](),this[_0x3f980c(0x204)][_0x3f980c(0x196)]();}[_0x5c6bc5(0x1f5)](_0x4a7c1f,_0x1926ac,_0x38b8e2,_0x516d3b){const _0x6e5a2b=_0x5c6bc5;this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x177)](_0x4a7c1f)||this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x1e8)](_0x4a7c1f,new Map());const _0x460a9d=this['_otherFormulaData'][_0x6e5a2b(0x230)](_0x4a7c1f);_0x460a9d[_0x6e5a2b(0x177)](_0x1926ac)||_0x460a9d[_0x6e5a2b(0x1e8)](_0x1926ac,new Map());const _0x32417e=_0x460a9d[_0x6e5a2b(0x230)](_0x1926ac);_0x32417e[_0x6e5a2b(0x177)](_0x38b8e2)||_0x32417e[_0x6e5a2b(0x1e8)](_0x38b8e2,new _0x5b53ec()),_0x32417e[_0x6e5a2b(0x230)](_0x38b8e2)[_0x6e5a2b(0x182)](_0x516d3b[_0x6e5a2b(0x1f9)],_0x516d3b[_0x6e5a2b(0x1b8)],_0x516d3b[_0x6e5a2b(0x1d8)]);}[_0x5c6bc5(0x239)](_0x2c08,_0x3a69f3,_0xb9010c){const _0x44ee3=_0x5c6bc5,_0x28c79c=this['_otherFormulaData'][_0x44ee3(0x230)](_0x2c08);if(_0x28c79c&&_0x28c79c[_0x44ee3(0x177)](_0x3a69f3)){const _0x566282=_0x28c79c[_0x44ee3(0x230)](_0x3a69f3);_0xb9010c['forEach'](_0x8306a9=>{const _0xbb2652=_0x44ee3,_0x1bca42=_0x566282[_0xbb2652(0x230)](_0x8306a9);_0x1bca42!=null&&(_0x1bca42[_0xbb2652(0x193)]((_0x4e7865,_0x3e14fb,_0x13e29b)=>{const _0x3d5d9e=_0xbb2652;this[_0x3d5d9e(0x1ba)](_0x13e29b),this[_0x3d5d9e(0x18a)](_0x13e29b);}),_0x566282[_0xbb2652(0x1c6)](_0x8306a9),this['_otherFormulaDataMainData']['delete'](_0x8306a9));}),_0x566282['size']===0x0&&_0x28c79c[_0x44ee3(0x1c6)](_0x3a69f3),_0x28c79c[_0x44ee3(0x22e)]===0x0&&this[_0x44ee3(0x1bf)][_0x44ee3(0x1c6)](_0x2c08);}}[_0x5c6bc5(0x1ee)](_0x3be3f2,_0x4d004f){const _0x2fac90=_0x5c6bc5,_0x4b1ffd=this[_0x2fac90(0x1bf)]['get'](_0x3be3f2);if(_0x4d004f&&_0x4b1ffd&&_0x4b1ffd[_0x2fac90(0x177)](_0x4d004f)){const _0x4b69bc=_0x4b1ffd[_0x2fac90(0x230)](_0x4d004f);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x4d004f);for(const _0x5d567b of _0x4b69bc[_0x2fac90(0x170)]()){const _0x587787=_0x4b69bc[_0x2fac90(0x230)](_0x5d567b);_0x587787!=null&&(_0x587787[_0x2fac90(0x193)]((_0x48a8e7,_0x1f89a1,_0x2d755f)=>{const _0x13eb29=_0x2fac90;this[_0x13eb29(0x22c)][_0x13eb29(0x230)](_0x2d755f)&&this[_0x13eb29(0x18a)](_0x2d755f);}),this[_0x2fac90(0x204)][_0x2fac90(0x1c6)](_0x5d567b));}_0x4b69bc[_0x2fac90(0x196)]();}else{if(_0x4b1ffd){for(const _0x5ee59b of _0x4b1ffd[_0x2fac90(0x170)]()){const _0x1919f1=_0x4b1ffd[_0x2fac90(0x230)](_0x5ee59b);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x5ee59b);for(const _0xf939c6 of _0x1919f1[_0x2fac90(0x170)]()){const _0xa9898e=_0x1919f1[_0x2fac90(0x230)](_0xf939c6);_0xa9898e!=null&&(_0xa9898e[_0x2fac90(0x193)]((_0x41c679,_0x527fe1,_0x27d52c)=>{const _0x5e75d2=_0x2fac90;this[_0x5e75d2(0x22c)][_0x5e75d2(0x230)](_0x27d52c)&&this[_0x5e75d2(0x18a)](_0x27d52c);}),this['_otherFormulaDataMainData'][_0x2fac90(0x1c6)](_0xf939c6));}}this['_otherFormulaData'][_0x2fac90(0x1c6)](_0x3be3f2);}}}[_0x5c6bc5(0x1df)](_0x4086eb,_0x49c3e5,_0x5a3a3f,_0x31f419){const _0x1398fc=_0x5c6bc5;this[_0x1398fc(0x1ea)][_0x1398fc(0x177)](_0x4086eb)||this[_0x1398fc(0x1ea)][_0x1398fc(0x1e8)](_0x4086eb,new Map());const _0x3634fc=this[_0x1398fc(0x1ea)]['get'](_0x4086eb);_0x3634fc[_0x1398fc(0x177)](_0x49c3e5)||_0x3634fc[_0x1398fc(0x1e8)](_0x49c3e5,new Map()),_0x3634fc[_0x1398fc(0x230)](_0x49c3e5)[_0x1398fc(0x1e8)](_0x5a3a3f,_0x31f419[_0x1398fc(0x1d8)]);}['removeFeatureFormulaDependency'](_0x1de1c9,_0x59ac67,_0x387e61){const _0x203b48=_0x5c6bc5,_0x50a448=this[_0x203b48(0x1ea)][_0x203b48(0x230)](_0x1de1c9);if(_0x50a448&&_0x50a448[_0x203b48(0x177)](_0x59ac67)){const _0x379982=_0x50a448['get'](_0x59ac67);_0x387e61[_0x203b48(0x21e)](_0x2b2c8a=>{const _0x44f8e3=_0x203b48,_0x46cbdf=_0x379982[_0x44f8e3(0x230)](_0x2b2c8a);_0x46cbdf!=null&&(this[_0x44f8e3(0x1ba)](_0x46cbdf),_0x379982[_0x44f8e3(0x1c6)](_0x2b2c8a),this[_0x44f8e3(0x18a)](_0x46cbdf));});}}[_0x5c6bc5(0x217)](_0x4017b2,_0x374ada){const _0x2d39a1=_0x5c6bc5,_0x524723=this[_0x2d39a1(0x1ea)][_0x2d39a1(0x230)](_0x4017b2);if(_0x374ada&&_0x524723&&_0x524723[_0x2d39a1(0x177)](_0x374ada)){const _0x2d027f=_0x524723[_0x2d39a1(0x230)](_0x374ada);this[_0x2d39a1(0x1ad)](_0x4017b2,_0x374ada),_0x2d027f['forEach'](_0x59bad2=>{_0x59bad2!=null&&this['_removeAllTreeMap'](_0x59bad2);}),_0x2d027f[_0x2d39a1(0x196)]();}else _0x524723&&(_0x524723['forEach']((_0xaf05b2,_0x8c2958)=>{const _0x54189c=_0x2d39a1;this[_0x54189c(0x1ad)](_0x4017b2,_0x8c2958),_0xaf05b2[_0x54189c(0x21e)](_0x2840b0=>{const _0x368159=_0x54189c;_0x2840b0!=null&&this[_0x368159(0x18a)](_0x2840b0);});}),this[_0x2d39a1(0x1ea)][_0x2d39a1(0x1c6)](_0x4017b2));}[_0x5c6bc5(0x1a7)](_0x405397,_0x3df7ba,_0x3419e2,_0x579795,_0x3889ee){const _0x229c24=_0x5c6bc5;this['_formulaData'][_0x229c24(0x177)](_0x405397)||this['_formulaData']['set'](_0x405397,new Map());const _0x54a502=this[_0x229c24(0x1bc)]['get'](_0x405397);_0x54a502[_0x229c24(0x177)](_0x3df7ba)||_0x54a502[_0x229c24(0x1e8)](_0x3df7ba,new _0x5b53ec()),_0x54a502[_0x229c24(0x230)](_0x3df7ba)[_0x229c24(0x182)](_0x3419e2,_0x579795,_0x3889ee[_0x229c24(0x1d8)]);}[_0x5c6bc5(0x22a)](_0x3bbde8,_0x4b2b5c,_0x42a1f8,_0x434084){const _0x25d7cc=_0x5c6bc5,_0x2a1e76=this[_0x25d7cc(0x1bc)]['get'](_0x3bbde8);if(_0x2a1e76&&_0x2a1e76[_0x25d7cc(0x177)](_0x4b2b5c)){const _0x3a9594=_0x2a1e76[_0x25d7cc(0x230)](_0x4b2b5c),_0x2353ef=_0x3a9594[_0x25d7cc(0x1a1)](_0x42a1f8,_0x434084);if(_0x2353ef==null)return;this[_0x25d7cc(0x1ba)](_0x2353ef),_0x3a9594[_0x25d7cc(0x1d4)](_0x42a1f8,_0x434084),this[_0x25d7cc(0x18a)](_0x2353ef);}}[_0x5c6bc5(0x1c2)](_0x1b34bc,_0x550701){const _0x121c76=_0x5c6bc5,_0x531e00=this[_0x121c76(0x1bc)]['get'](_0x1b34bc);if(_0x550701&&_0x531e00&&_0x531e00[_0x121c76(0x177)](_0x550701)){const _0x4bf699=_0x531e00[_0x121c76(0x230)](_0x550701);this[_0x121c76(0x1ad)](_0x1b34bc,_0x550701),_0x4bf699[_0x121c76(0x193)]((_0x4930a3,_0x2a4ac6,_0x2f717b)=>{if(_0x2f717b==null)return!0x0;this['_removeAllTreeMap'](_0x2f717b);}),_0x4bf699[_0x121c76(0x19f)]();}else _0x531e00&&(_0x531e00[_0x121c76(0x21e)]((_0x6e4276,_0x401048)=>{const _0x35a5d9=_0x121c76;this['_removeDependencyRTreeCacheById'](_0x1b34bc,_0x401048),_0x6e4276[_0x35a5d9(0x193)]((_0x101d91,_0x403d82,_0x2fba2e)=>{const _0x1b6cee=_0x35a5d9;if(_0x2fba2e==null)return!0x0;this[_0x1b6cee(0x18a)](_0x2fba2e);});}),this['_formulaData'][_0x121c76(0x1c6)](_0x1b34bc));}[_0x5c6bc5(0x1ba)](_0x523e9c){const _0x23d5b8=_0x5c6bc5;if(_0x523e9c==null)return;const _0x2b918a=this['_allTreeMap'][_0x23d5b8(0x230)](_0x523e9c);if(_0x2b918a){const _0x555571=[];for(const [_0x1d5dd0,_0x146490]of _0x2b918a)for(const [_0x2a14a6,_0x2d2e9c]of _0x146490)_0x555571[_0x23d5b8(0x199)]({'unitId':_0x1d5dd0,'sheetId':_0x2a14a6,'range':_0x2d2e9c,'id':_0x523e9c});this[_0x23d5b8(0x236)][_0x23d5b8(0x22f)](_0x555571);}}['removeFormulaDependencyByDefinedName'](_0x3cb31e,_0xd48a00){const _0x40adf1=_0x5c6bc5,_0x2fb74e=this[_0x40adf1(0x20d)][_0x40adf1(0x230)](_0x3cb31e);if(_0x2fb74e){const _0x50bb07=_0x2fb74e['get'](_0xd48a00);if(_0x50bb07){for(const _0x4c6dde of _0x50bb07)this[_0x40adf1(0x1ba)](_0x4c6dde),this['_removeAllTreeMap'](_0x4c6dde);_0x50bb07[_0x40adf1(0x196)]();}}}[_0x5c6bc5(0x234)](){const _0x3dfb3e=_0x5c6bc5;this['_dependencyRTreeCache'][_0x3dfb3e(0x234)]();}[_0x5c6bc5(0x23a)](){const _0x3a6476=_0x5c6bc5;this[_0x3a6476(0x236)][_0x3a6476(0x23a)]();}[_0x5c6bc5(0x18a)](_0x52983d){const _0x3752fb=_0x5c6bc5;_0x52983d!=null&&this['_allTreeMap'][_0x3752fb(0x1c6)](_0x52983d);}['_addAllTreeMap'](_0x552143){const _0x1e632a=_0x5c6bc5;var _0xcbe42a,_0x5139f6;const _0x5df9c5=_0x552143[_0x1e632a(0x1fd)];let _0x228137=this[_0x1e632a(0x22c)][_0x1e632a(0x230)](_0x552143['treeId']);for(let _0x1ae2ce=0x0;_0x1ae2ce<_0x5df9c5[_0x1e632a(0x1b2)];_0x1ae2ce++){const _0x391367=_0x5df9c5[_0x1ae2ce];let {unitId:_0x367961,sheetId:_0x5482a9,range:_0x474a9c}=_0x391367;_0x228137||(_0x228137=new Map(),this['_allTreeMap']['set'](_0x552143[_0x1e632a(0x1d8)],_0x228137)),_0x228137[_0x1e632a(0x177)](_0x367961)||_0x228137[_0x1e632a(0x1e8)](_0x367961,new Map());const _0x42b3e1=(_0xcbe42a=_0x228137==null?void 0x0:_0x228137[_0x1e632a(0x230)](_0x367961))==null?void 0x0:_0xcbe42a[_0x1e632a(0x230)](_0x5482a9);_0x42b3e1&&(_0x474a9c={'startRow':Math['min'](_0x474a9c[_0x1e632a(0x206)],_0x42b3e1['startRow']),'startColumn':Math[_0x1e632a(0x1b1)](_0x474a9c['startColumn'],_0x42b3e1[_0x1e632a(0x1bd)]),'endRow':Math[_0x1e632a(0x1e2)](_0x474a9c['endRow'],_0x42b3e1[_0x1e632a(0x1b6)]),'endColumn':Math[_0x1e632a(0x1e2)](_0x474a9c[_0x1e632a(0x1b3)],_0x42b3e1[_0x1e632a(0x1b3)])}),(_0x5139f6=_0x228137[_0x1e632a(0x230)](_0x367961))==null||_0x5139f6[_0x1e632a(0x1e8)](_0x5482a9,_0x474a9c);}}}var Ee=Object[_0x5c6bc5(0x19e)],Oe=(_0x48fe16,_0x29c928,_0xacff44,_0x3bfe68)=>{const _0x1a1f38=_0x5c6bc5;for(var _0x2e51e0=_0x3bfe68>0x1?void 0x0:_0x3bfe68?Ee(_0x29c928,_0xacff44):_0x29c928,_0x2f6dcd=_0x48fe16[_0x1a1f38(0x1b2)]-0x1,_0x114995;_0x2f6dcd>=0x0;_0x2f6dcd--)(_0x114995=_0x48fe16[_0x2f6dcd])&&(_0x2e51e0=_0x114995(_0x2e51e0)||_0x2e51e0);return _0x2e51e0;};const Ae=Number['parseInt'](0x696b4030);let X=class extends _0xae29cb{[_0x5c6bc5(0x1f8)](){const _0x176884=_0x5c6bc5;var _0x5e5643,_0x1b11ef;this[_0x176884(0x181)]()?(this[_0x176884(0x228)]['add']([_0x91f99,{'useClass':De}]),(_0x5e5643=this['_config'])!=null&&_0x5e5643[_0x176884(0x19a)]||[[_0x368fee,{'useClass':Re}],[_0x265ca2,{'useClass':Ve}],[_0xc52b1e,{'useClass':xe}]][_0x176884(0x21e)](_0x2815bf=>this[_0x176884(0x228)]['add'](_0x2815bf))):(this[_0x176884(0x228)][_0x176884(0x172)]([_0x91f99,{'useClass':_0x91f99}]),(_0x1b11ef=this[_0x176884(0x18e)])!=null&&_0x1b11ef[_0x176884(0x19a)]||[[_0x368fee,{'useClass':_0xf68831}],[_0x265ca2,{'useClass':_0x1e709a}],[_0xc52b1e,{'useClass':_0x53d693}]][_0x176884(0x21e)](_0x3d60cc=>this['_injector']['add'](_0x3d60cc)));}['_initLicenseValid'](){const _0x4bb4af=_0x5c6bc5;var _0x35aaa0;const _0xa63ecc=(_0x35aaa0=this[_0x4bb4af(0x1ff)][_0x4bb4af(0x221)](_0x10aacf))!=null?_0x35aaa0:{},{ls:_0x1108cc,pbk:_0x888e4a}=_0xa63ecc;if(!_0x1108cc||!_0x888e4a)return!0x1;const _0x265adf=_0x3fea30(Se,Me),_0x20a4b5=new Function(_0x4bb4af(0x1a8)+_0x265adf)()(_0x1108cc,_0x888e4a),_0x3f181c=_0x20a4b5[_0x4bb4af(0x17f)];return _0x20a4b5['valid']&&_0x27d9ce(_0x3f181c,'sf',Ae)?_0x2cc88d(_0x3f181c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};X=Oe([_0x20a83e(_0x7d460a)],X);export{De as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
|
|
@@ -9,57 +9,57 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
f: string;
|
|
13
|
-
t: string;
|
|
14
|
-
A: string;
|
|
15
12
|
k: string;
|
|
16
|
-
o: string;
|
|
17
|
-
D: string;
|
|
18
|
-
M: string;
|
|
19
|
-
e: string;
|
|
20
13
|
P: string;
|
|
21
|
-
Q: string;
|
|
22
|
-
m: string;
|
|
23
|
-
K: string;
|
|
24
|
-
E: string;
|
|
25
|
-
B: string;
|
|
26
|
-
" ": string;
|
|
27
|
-
X: string;
|
|
28
|
-
O: string;
|
|
29
|
-
q: string;
|
|
30
14
|
G: string;
|
|
31
|
-
r: string;
|
|
32
15
|
T: string;
|
|
33
|
-
|
|
34
|
-
|
|
16
|
+
A: string;
|
|
17
|
+
S: string;
|
|
35
18
|
p: string;
|
|
36
|
-
|
|
37
|
-
c: string;
|
|
38
|
-
L: string;
|
|
39
|
-
l: string;
|
|
40
|
-
y: string;
|
|
19
|
+
a: string;
|
|
41
20
|
g: string;
|
|
42
|
-
R: string;
|
|
43
21
|
u: string;
|
|
44
|
-
|
|
45
|
-
W: string;
|
|
46
|
-
U: string;
|
|
47
|
-
s: string;
|
|
48
|
-
b: string;
|
|
49
|
-
n: string;
|
|
22
|
+
N: string;
|
|
50
23
|
J: string;
|
|
24
|
+
O: string;
|
|
25
|
+
d: string;
|
|
26
|
+
y: string;
|
|
27
|
+
L: string;
|
|
28
|
+
h: string;
|
|
29
|
+
r: string;
|
|
30
|
+
I: string;
|
|
31
|
+
c: string;
|
|
51
32
|
V: string;
|
|
52
|
-
|
|
33
|
+
Q: string;
|
|
34
|
+
E: string;
|
|
35
|
+
n: string;
|
|
36
|
+
v: string;
|
|
37
|
+
M: string;
|
|
38
|
+
R: string;
|
|
39
|
+
l: string;
|
|
40
|
+
Z: string;
|
|
41
|
+
j: string;
|
|
42
|
+
W: string;
|
|
53
43
|
Y: string;
|
|
44
|
+
b: string;
|
|
45
|
+
F: string;
|
|
46
|
+
z: string;
|
|
47
|
+
B: string;
|
|
54
48
|
x: string;
|
|
55
|
-
|
|
49
|
+
H: string;
|
|
50
|
+
U: string;
|
|
51
|
+
D: string;
|
|
56
52
|
i: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
f: string;
|
|
54
|
+
e: string;
|
|
55
|
+
" ": string;
|
|
56
|
+
o: string;
|
|
57
|
+
s: string;
|
|
58
|
+
K: string;
|
|
59
|
+
C: string;
|
|
60
|
+
X: string;
|
|
61
|
+
m: string;
|
|
62
|
+
w: string;
|
|
63
|
+
q: string;
|
|
64
|
+
t: string;
|
|
65
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "/*
|
|
1
|
+
export declare const getLsInfoFuncStr = "/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ N3vW33NZt=tch65Vn5.n8chv('-');tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t'MVO5dhV5O't&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t'MVO5dhV5O't&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t'MVO5dhV5O';tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL('*.'))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL('.')t&&tLQnv.5VOnmhvL('.'t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t'cQ6NcLQnv')t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4a04(){var _0x2a7451=['exports','4338102XnWFNO','7101cMBqoV','prototype','717960SnfljZ','Module','forEach','call','UniverEngineFormulaFacade','@univerjs/engine-formula/facade','amd','15820uyPNej','52568qnIxqw','toStringTag','default','4321429kzPODH','332800tlxANz','3001635GtlKRx','keys','745KhNokX','object','3ecHWSN','hasOwnProperty'];_0x4a04=function(){return _0x2a7451;};return _0x4a04();}function _0x51c1(_0xb64f11,_0x5bf467){_0xb64f11=_0xb64f11-0x12e;var _0x4a04df=_0x4a04();var _0x51c186=_0x4a04df[_0xb64f11];return _0x51c186;}(function(_0x92c4df,_0x1a9833){var _0x21bf01=_0x51c1,_0x4dd331=_0x92c4df();while(!![]){try{var _0x5e8103=parseInt(_0x21bf01(0x13f))/0x1*(parseInt(_0x21bf01(0x13a))/0x2)+parseInt(_0x21bf01(0x13b))/0x3+-parseInt(_0x21bf01(0x136))/0x4*(parseInt(_0x21bf01(0x13d))/0x5)+parseInt(_0x21bf01(0x142))/0x6+-parseInt(_0x21bf01(0x139))/0x7+parseInt(_0x21bf01(0x12e))/0x8+-parseInt(_0x21bf01(0x143))/0x9*(-parseInt(_0x21bf01(0x135))/0xa);if(_0x5e8103===_0x1a9833)break;else _0x4dd331['push'](_0x4dd331['shift']());}catch(_0x49a36d){_0x4dd331['push'](_0x4dd331['shift']());}}}(_0x4a04,0xf0870),function(_0x2f0dec,_0x36bea8){var _0x3eb3c5=_0x51c1;typeof exports==_0x3eb3c5(0x13e)&&typeof module<'u'?_0x36bea8(exports,require('@univerjs/engine-formula/facade')):typeof define=='function'&&define[_0x3eb3c5(0x134)]?define([_0x3eb3c5(0x141),_0x3eb3c5(0x133)],_0x36bea8):(_0x2f0dec=typeof globalThis<'u'?globalThis:_0x2f0dec||self,_0x36bea8(_0x2f0dec['UniverProEngineFormulaFacade']={},_0x2f0dec[_0x3eb3c5(0x132)]));}(this,function(_0x2bade3,_0x157f94){'use strict';var _0x2dbde9=_0x51c1;Object[_0x2dbde9(0x13c)](_0x157f94)[_0x2dbde9(0x130)](_0x25703d=>{var _0x57430e=_0x2dbde9;_0x25703d!==_0x57430e(0x138)&&!Object[_0x57430e(0x144)][_0x57430e(0x140)][_0x57430e(0x131)](_0x2bade3,_0x25703d)&&Object['defineProperty'](_0x2bade3,_0x25703d,{'enumerable':!0x0,'get':()=>_0x157f94[_0x25703d]});}),Object['defineProperty'](_0x2bade3,Symbol[_0x2dbde9(0x137)],{'value':_0x2dbde9(0x12f)});}));
|