@univerjs-pro/docs-formula 1.0.2 → 1.0.3
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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x371c(_0x1bb790,_0x484b10){_0x1bb790=_0x1bb790-0x14f;const _0x4f32e1=_0x4f32();let _0x371cfb=_0x4f32e1[_0x1bb790];return _0x371cfb;}(function(_0x451183,_0x4bb4dc){const _0x4b0316=_0x371c,_0x112bbf=_0x451183();while(!![]){try{const _0x13419b=parseInt(_0x4b0316(0x27c))/0x1*(parseInt(_0x4b0316(0x1f2))/0x2)+parseInt(_0x4b0316(0x227))/0x3*(-parseInt(_0x4b0316(0x251))/0x4)+parseInt(_0x4b0316(0x1d2))/0x5+parseInt(_0x4b0316(0x1f6))/0x6+-parseInt(_0x4b0316(0x200))/0x7*(parseInt(_0x4b0316(0x1b4))/0x8)+parseInt(_0x4b0316(0x234))/0x9+-parseInt(_0x4b0316(0x247))/0xa;if(_0x13419b===_0x4bb4dc)break;else _0x112bbf['push'](_0x112bbf['shift']());}catch(_0x1ae892){_0x112bbf['push'](_0x112bbf['shift']());}}}(_0x4f32,0x1dd00),function(_0x3c4a63,_0x27e23){const _0x1a44dd=_0x371c;typeof exports==_0x1a44dd(0x1a5)&&typeof module<'u'?_0x27e23(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1a44dd(0x1f1)&&define['amd']?define([_0x1a44dd(0x26b),_0x1a44dd(0x28d),_0x1a44dd(0x1f0),_0x1a44dd(0x1ca),_0x1a44dd(0x182),'rxjs','@univerjs-pro/license'],_0x27e23):(_0x3c4a63=typeof globalThis<'u'?globalThis:_0x3c4a63||self,_0x27e23(_0x3c4a63[_0x1a44dd(0x1e5)]={},_0x3c4a63[_0x1a44dd(0x23d)],_0x3c4a63[_0x1a44dd(0x25c)],_0x3c4a63[_0x1a44dd(0x1bb)],_0x3c4a63[_0x1a44dd(0x1cc)],_0x3c4a63[_0x1a44dd(0x24e)],_0x3c4a63['UniverProLicense']));}(this,function(_0x1dc156,_0x4e3069,_0x4bed3b,_0x4e7dc9,_0x2b808c,_0x593723,_0x26a251){const _0x57f770=_0x371c;Object[_0x57f770(0x1b9)](_0x1dc156,Symbol['toStringTag'],{'value':'Module'});let _0xd27543=_0x57f770(0x162),_0xc6a381='univer-docs-formula';function _0x5e4c14(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c51c9(_0x24ec81){const _0x7bf154=_0x57f770;return!_0x24ec81||typeof _0x24ec81!=_0x7bf154(0x1a5)||!_0x52c67f(_0x24ec81,[_0x7bf154(0x16a),_0x7bf154(0x20f)])||!(_0x7bf154(0x16a)in _0x24ec81)||_0x24ec81[_0x7bf154(0x16a)]!==0x1||!('formulas'in _0x24ec81)||!_0x24ec81[_0x7bf154(0x20f)]||typeof _0x24ec81['formulas']!='object'||Array['isArray'](_0x24ec81[_0x7bf154(0x20f)])?!0x1:Object[_0x7bf154(0x22b)](_0x24ec81[_0x7bf154(0x20f)])['every'](([_0x47123c,_0x474d60])=>_0x47123c[_0x7bf154(0x23b)]>0x0&&_0x36e466(_0x474d60));}function _0x36e466(_0x4016a8){const _0x316be4=_0x57f770;return!_0x4016a8||typeof _0x4016a8!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8,[_0x316be4(0x1b8),_0x316be4(0x177),_0x316be4(0x246)])||!(_0x316be4(0x1b8)in _0x4016a8)||typeof _0x4016a8[_0x316be4(0x1b8)]!='string'||!_0x4016a8[_0x316be4(0x1b8)][_0x316be4(0x210)]()||_0x316be4(0x177)in _0x4016a8&&_0x4016a8[_0x316be4(0x177)]!=null&&(typeof _0x4016a8[_0x316be4(0x177)]!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8[_0x316be4(0x177)],[_0x316be4(0x28c)])||!(_0x316be4(0x28c)in _0x4016a8[_0x316be4(0x177)])||typeof _0x4016a8[_0x316be4(0x177)][_0x316be4(0x28c)]!='string')?!0x1:!(_0x316be4(0x246)in _0x4016a8)||_0x4016a8['lastValue']==null||_0x5b24ff(_0x4016a8[_0x316be4(0x246)]);}function _0x5b24ff(_0x1b6282){const _0x33ddb7=_0x57f770;return!_0x1b6282||typeof _0x1b6282!=_0x33ddb7(0x1a5)||!_0x52c67f(_0x1b6282,['v','t','pattern'])||!('v'in _0x1b6282)||_0x1b6282['v']!==null&&typeof _0x1b6282['v']!='string'&&typeof _0x1b6282['v']!='number'&&typeof _0x1b6282['v']!=_0x33ddb7(0x273)||'t'in _0x1b6282&&_0x1b6282['t']!=null&&!_0x2af51d(_0x1b6282['t'])?!0x1:!('pattern'in _0x1b6282)||_0x1b6282[_0x33ddb7(0x28c)]==null||typeof _0x1b6282[_0x33ddb7(0x28c)]=='string';}function _0x52c67f(_0x4f59a0,_0x478ea1){const _0x325f3e=_0x57f770;let _0x2a020c=new Set(_0x478ea1);return Object[_0x325f3e(0x283)](_0x4f59a0)['every'](_0x47c4a1=>_0x2a020c[_0x325f3e(0x221)](_0x47c4a1));}function _0x2af51d(_0x51295d){const _0x4a90e4=_0x57f770;return typeof _0x51295d==_0x4a90e4(0x1cf)&&Object['values'](_0x4bed3b[_0x4a90e4(0x269)])['includes'](_0x51295d);}let _0x41be3e=new Set([_0x4bed3b['DataStreamTreeTokenType']['SECTION_BREAK'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x266)],_0x4bed3b[_0x57f770(0x21a)]['TABLE_ROW_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_END'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x18b)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x213)],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x158)],_0x4bed3b[_0x57f770(0x21a)]['COLUMN_START'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x24d)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x241)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x1d7)],_0x4bed3b[_0x57f770(0x21a)]['BLOCK_END'],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x26d)]]);var _0x4b9dca=class extends Error{constructor(){const _0x481a25=_0x57f770;super(_0x481a25(0x222));}};function _0x2e6ab7(_0x223825){const _0x310cd9=_0x57f770;var _0x3cd856,_0xd9f568;let _0x975012=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['documentData']),_0x2fc1dc=_0x5e2027(_0x975012),{startOffset:_0x4aa48a,endOffset:_0x332eaa}=_0x16c630(_0x2fc1dc,_0x223825[_0x310cd9(0x1ef)],_0x223825['endOffset']);_0x36c271(_0x2fc1dc,_0x4aa48a,_0x332eaa);let _0x31306f=((_0x3cd856=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0x3cd856[_0x310cd9(0x25d)](_0x550fe4=>{const _0x3628de=_0x310cd9;if(!_0x3f3a71(_0x550fe4))return!0x1;let _0x21be4b=(0x0,_0x4bed3b['getCustomRangeInterval'])(_0x550fe4);return _0x21be4b[_0x3628de(0x199)]>_0x4aa48a&&_0x21be4b[_0x3628de(0x1ef)]<_0x332eaa;})['map'](_0x1aff0c=>_0x1aff0c[_0x310cd9(0x24b)]))??[];_0x337991(_0x2fc1dc,_0x4aa48a,_0x332eaa,''),_0x2fc1dc['customRanges']=[...((_0xd9f568=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0xd9f568[_0x310cd9(0x25d)](_0x1a6a3e=>!_0x31306f[_0x310cd9(0x235)](_0x1a6a3e[_0x310cd9(0x24b)])&&_0x1a6a3e[_0x310cd9(0x24b)]!==_0x223825[_0x310cd9(0x24b)]))??[],_0x318d5a(_0x223825[_0x310cd9(0x24b)],_0x4aa48a)][_0x310cd9(0x287)]((_0x43a5d8,_0xa4e84)=>_0x43a5d8[_0x310cd9(0x268)]-_0xa4e84[_0x310cd9(0x268)]);let _0x240bd9=_0x58dfbf(_0x223825[_0x310cd9(0x1c1)]);return _0x31306f[_0x310cd9(0x1e1)](_0x137a6f=>{const _0x23347c=_0x310cd9;delete _0x240bd9[_0x23347c(0x20f)][_0x137a6f];}),_0x240bd9[_0x310cd9(0x20f)][_0x223825[_0x310cd9(0x24b)]]=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['config']),{'nextDocumentData':_0x975012,'nextResource':_0x240bd9,'cursorOffset':_0x4aa48a+0x1};}function _0x496d24(_0x5e0470){const _0x1fee35=_0x57f770;var _0x56c0a1,_0x599266;let _0x2642b7=_0x4bed3b['Tools'][_0x1fee35(0x196)](_0x5e0470['documentData']),_0x39746c=(_0x56c0a1=_0x5e2027(_0x2642b7)[_0x1fee35(0x15e)])==null?void 0x0:_0x56c0a1[_0x1fee35(0x174)](_0x43c3a6=>_0x43c3a6[_0x1fee35(0x24b)]===_0x5e0470['rangeId']&&_0x3f3a71(_0x43c3a6));if(!_0x39746c||!((_0x599266=_0x5e0470['resource'])!=null&&_0x599266[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]))return null;let _0x406175=_0x58dfbf(_0x5e0470['resource']);return _0x406175[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]=_0x4bed3b[_0x1fee35(0x252)][_0x1fee35(0x196)](_0x5e0470[_0x1fee35(0x1c4)]),{'nextDocumentData':_0x2642b7,'nextResource':_0x406175,'cursorOffset':_0x39746c[_0x1fee35(0x23a)]+0x1};}function _0x562d2a(_0x561b24){const _0x3de149=_0x57f770;let _0x5a216d=_0x4bed3b[_0x3de149(0x252)]['deepClone'](_0x561b24[_0x3de149(0x185)]),_0x19502a=_0x587bcd(_0x5a216d,_0x561b24['rangeId'],_0x561b24[_0x3de149(0x159)]??'');if(_0x19502a==null)return null;let _0xeed849=_0x58dfbf(_0x561b24[_0x3de149(0x1c1)]);return delete _0xeed849['formulas'][_0x561b24[_0x3de149(0x24b)]],{'nextDocumentData':_0x5a216d,'nextResource':_0xeed849,'cursorOffset':_0x19502a};}function _0x12f0e6(_0x228a05,_0x5adbf7){const _0x55e7d7=_0x57f770;var _0x2f989a;let _0x296cf0=_0x4bed3b[_0x55e7d7(0x252)][_0x55e7d7(0x196)](_0x228a05),_0x307a6d=_0x296cf0['body'];if(!_0x307a6d)return _0x296cf0;let _0x32c7a5=new Map(_0x5adbf7[_0x55e7d7(0x261)](_0x471f3d=>[_0x471f3d[_0x55e7d7(0x24b)],_0x471f3d['text']])),_0x4f6b64=((_0x2f989a=_0x307a6d['customRanges'])==null?void 0x0:_0x2f989a[_0x55e7d7(0x25d)](_0xf52643=>_0x3f3a71(_0xf52643)&&_0x32c7a5[_0x55e7d7(0x221)](_0xf52643['rangeId']))[_0x55e7d7(0x287)]((_0x315137,_0x1077e3)=>_0x1077e3['startIndex']-_0x315137[_0x55e7d7(0x268)]))??[];for(let _0x22a305 of _0x4f6b64)_0x587bcd(_0x296cf0,_0x22a305['rangeId'],_0x32c7a5['get'](_0x22a305[_0x55e7d7(0x24b)])??'');return _0x296cf0;}function _0x3f3a71(_0x5d3b4b){const _0x56e9bb=_0x57f770;var _0x1a16ed;return(_0x5d3b4b==null?void 0x0:_0x5d3b4b[_0x56e9bb(0x1da)])===_0x4bed3b[_0x56e9bb(0x21c)][_0x56e9bb(0x280)]&&_0x5d3b4b[_0x56e9bb(0x20c)]===!0x0&&((_0x1a16ed=_0x5d3b4b[_0x56e9bb(0x1be)])==null?void 0x0:_0x1a16ed['kind'])===_0x56e9bb(0x163);}function _0x339a9d(_0xfede1a,_0x575493){const _0x5e0b6c=_0x57f770;var _0x28fb97;return _0xfede1a==null||(_0x28fb97=_0xfede1a['customRanges'])==null?void 0x0:_0x28fb97[_0x5e0b6c(0x174)](_0x267a8b=>_0x267a8b[_0x5e0b6c(0x24b)]===_0x575493&&_0x3f3a71(_0x267a8b));}function _0x36c271(_0x94d7a6,_0x163c8d,_0x279a0b){const _0x4b10d6=_0x57f770;if(_0x163c8d===_0x279a0b){if(_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x163c8d]))throw new _0x4b9dca();return;}for(let _0x567fcb=_0x163c8d;_0x567fcb<_0x279a0b;_0x567fcb++)if(_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]===_0x4bed3b[_0x4b10d6(0x21a)][_0x4b10d6(0x23e)]||_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]))throw new _0x4b9dca();}function _0x318d5a(_0x2fc422,_0x4dc72c){const _0x130b1e=_0x57f770;return{'startIndex':_0x4dc72c,'endIndex':_0x4dc72c,'rangeId':_0x2fc422,'rangeType':_0x4bed3b[_0x130b1e(0x21c)][_0x130b1e(0x280)],'wholeEntity':!0x0,'properties':{'kind':_0xc6a381}};}function _0x58dfbf(_0x5723f8){const _0x5d6ae8=_0x57f770;return _0x5723f8?_0x4bed3b['Tools'][_0x5d6ae8(0x196)](_0x5723f8):_0x5e4c14();}function _0x16c630(_0x25aa4a,_0x3ec1eb,_0x32c962){const _0x2dffcc=_0x57f770;let _0x32b789=_0x17029c(_0x25aa4a),_0x3c3cc3=_0x3ec1eb??_0x32b789,_0x3d1b2f=_0x32c962??_0x3c3cc3;return{'startOffset':_0x1566e6(Math[_0x2dffcc(0x254)](_0x3c3cc3,_0x3d1b2f),_0x32b789),'endOffset':_0x1566e6(Math['max'](_0x3c3cc3,_0x3d1b2f),_0x32b789)};}function _0x1566e6(_0x545456,_0x15fa37){const _0x2c95c1=_0x57f770;return Math[_0x2c95c1(0x219)](0x0,Math[_0x2c95c1(0x254)](_0x545456,_0x15fa37));}function _0x17029c(_0x57d9aa){const _0x4d457e=_0x57f770;return _0x57d9aa[_0x4d457e(0x25f)]['endsWith'](''+_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x23e)]+_0x4bed3b['DataStreamTreeTokenType'][_0x4d457e(0x197)])?Math[_0x4d457e(0x219)](0x0,_0x57d9aa[_0x4d457e(0x25f)][_0x4d457e(0x23b)]-0x2):_0x57d9aa[_0x4d457e(0x25f)]['endsWith'](_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x197)])?Math['max'](0x0,_0x57d9aa[_0x4d457e(0x25f)]['length']-0x1):_0x57d9aa[_0x4d457e(0x25f)]['length'];}function _0x337991(_0x4954a3,_0x41717b,_0x4c5943,_0x25f708){_0x4c5943>_0x41717b&&_0x2182db(_0x4954a3,_0x41717b,_0x4c5943),_0x550248(_0x4954a3,_0x41717b,_0x25f708);}function _0x587bcd(_0x874bce,_0x1d9070,_0x126def){const _0x2813bc=_0x57f770;var _0x827c7,_0x27b3e2;let _0xb73718=_0x5e2027(_0x874bce),_0x4c353f=(_0x827c7=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x827c7[_0x2813bc(0x174)](_0x421071=>_0x421071['rangeId']===_0x1d9070&&_0x3f3a71(_0x421071));if(!_0x4c353f)return null;let _0x3aed51=(0x0,_0x4bed3b[_0x2813bc(0x21b)])(_0x4c353f);return _0x337991(_0xb73718,_0x3aed51['startOffset'],_0x3aed51[_0x2813bc(0x199)],_0x126def),_0xb73718[_0x2813bc(0x15e)]=(_0x27b3e2=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x27b3e2['filter'](_0xdd67fc=>_0xdd67fc[_0x2813bc(0x24b)]!==_0x1d9070),_0x3aed51['startOffset']+_0x126def[_0x2813bc(0x23b)];}function _0x550248(_0x4cf388,_0x49e951,_0x15b341){const _0x5aa104=_0x57f770;_0x15b341&&(_0x4cf388[_0x5aa104(0x25f)]=''+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](0x0,_0x49e951)+_0x15b341+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](_0x49e951),_0x29e20a(_0x4cf388,_0x49e951,_0x15b341[_0x5aa104(0x23b)]));}function _0x2182db(_0x4043b5,_0xace62f,_0x3f5532){const _0x3cce05=_0x57f770;let _0x1621f7=_0x3f5532-_0xace62f;_0x4043b5[_0x3cce05(0x25f)]=''+_0x4043b5[_0x3cce05(0x25f)]['slice'](0x0,_0xace62f)+_0x4043b5[_0x3cce05(0x25f)][_0x3cce05(0x25b)](_0x3f5532),_0x433c39(_0x4043b5,_0xace62f,_0x1621f7);}function _0x29e20a(_0x5698ac,_0x36ace0,_0x3552ac){const _0x6885f0=_0x57f770;_0x5698ac[_0x6885f0(0x21f)]=_0x4c9873(_0x5698ac['paragraphs'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x228)]=_0x4c9873(_0x5698ac[_0x6885f0(0x228)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x167)]=_0x4c9873(_0x5698ac[_0x6885f0(0x167)],_0x36ace0,_0x3552ac),_0x5698ac['textRuns']=_0x4b8c8f(_0x5698ac[_0x6885f0(0x178)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x26c)]=_0x1c6f46(_0x5698ac[_0x6885f0(0x26c)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1aa)]=_0xf87d3d(_0x5698ac['columnGroups'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x15e)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x15e)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1fa)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x1fa)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x192)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x192)],_0x36ace0,_0x3552ac);}function _0x433c39(_0x5cb2c2,_0x28c6d1,_0x184571){const _0x5bdcbf=_0x57f770;var _0x3f3ec9,_0x18617d;_0x5cb2c2['paragraphs']=_0x167d18(_0x5cb2c2['paragraphs'],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x228)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x228)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x167)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x167)],_0x28c6d1,_0x184571),_0x5cb2c2['textRuns']=(_0x3f3ec9=_0x5bcf60((_0x18617d=_0x5cb2c2[_0x5bdcbf(0x178)])==null?void 0x0:_0x18617d['map'](_0x31b2ab=>({..._0x31b2ab,'startIndex':_0x31b2ab['st'],'endIndex':_0x31b2ab['ed']})),_0x28c6d1,_0x184571))==null?void 0x0:_0x3f3ec9[_0x5bdcbf(0x261)](_0x49a4d0=>{let {startIndex:_0x18e82e,endIndex:_0x519ae5,..._0x1c877e}=_0x49a4d0;return{..._0x1c877e,'st':_0x18e82e,'ed':_0x519ae5};}),_0x5cb2c2['tables']=_0x5bcf60(_0x5cb2c2[_0x5bdcbf(0x26c)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1aa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1aa)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x15e)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x15e)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1fa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1fa)],_0x28c6d1,_0x184571),_0x5cb2c2['blockRanges']=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x192)],_0x28c6d1,_0x184571);}function _0x4c9873(_0x136574,_0x2c7427,_0x2bf3e4){const _0x3712f1=_0x57f770;return _0x136574==null?void 0x0:_0x136574[_0x3712f1(0x261)](_0x199f6b=>_0x199f6b[_0x3712f1(0x268)]>=_0x2c7427?{..._0x199f6b,'startIndex':_0x199f6b[_0x3712f1(0x268)]+_0x2bf3e4}:_0x199f6b);}function _0x167d18(_0x43466f,_0x426f34,_0x49ed91){const _0x499eae=_0x57f770;let _0x140838=_0x426f34+_0x49ed91;return _0x43466f==null?void 0x0:_0x43466f[_0x499eae(0x261)](_0x522015=>_0x522015['startIndex']>=_0x426f34&&_0x522015['startIndex']<_0x140838?null:_0x522015[_0x499eae(0x268)]>=_0x140838?{..._0x522015,'startIndex':_0x522015[_0x499eae(0x268)]-_0x49ed91}:_0x522015)[_0x499eae(0x25d)](_0x112e66=>_0x112e66!=null);}function _0x4b8c8f(_0x3be01f,_0x290bbd,_0xe91446){return _0x3be01f==null?void 0x0:_0x3be01f['map'](_0x9d297d=>_0x9d297d['st']>=_0x290bbd?{..._0x9d297d,'st':_0x9d297d['st']+_0xe91446,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d['ed']>_0x290bbd?{..._0x9d297d,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d);}function _0xf87d3d(_0x56ae94,_0xfc0d3d,_0x550c1b){const _0x5c4b92=_0x57f770;return _0x56ae94==null?void 0x0:_0x56ae94[_0x5c4b92(0x261)](_0x228a9c=>(0x0,_0x4bed3b[_0x5c4b92(0x264)])(_0x228a9c,_0xfc0d3d,_0x550c1b));}function _0x1c6f46(_0x1b9330,_0x17c331,_0x14a90b){const _0x386b40=_0x57f770;return _0x1b9330==null?void 0x0:_0x1b9330['map'](_0x54e324=>(0x0,_0x4bed3b[_0x386b40(0x1a6)])(_0x54e324,_0x17c331,_0x14a90b));}function _0x4076a7(_0x22c128,_0x2e9053,_0x533e52){const _0x3aad79=_0x57f770;return _0x22c128==null?void 0x0:_0x22c128[_0x3aad79(0x261)](_0x12ad83=>(0x0,_0x4bed3b['shiftInclusiveRangeOnDelete'])(_0x12ad83,_0x2e9053,_0x533e52))[_0x3aad79(0x25d)](_0x5b06a9=>_0x5b06a9!=null);}function _0x5bcf60(_0x149cda,_0xd632c4,_0x149986){const _0x32ada7=_0x57f770;return _0x149cda==null?void 0x0:_0x149cda[_0x32ada7(0x261)](_0x258e46=>(0x0,_0x4bed3b[_0x32ada7(0x1ec)])(_0x258e46,_0xd632c4,_0x149986))[_0x32ada7(0x25d)](_0x29a692=>_0x29a692!=null);}function _0x5e2027(_0x4c9bc2){const _0x361949=_0x57f770;if(!_0x4c9bc2[_0x361949(0x1b0)])throw Error(_0x361949(0x16c));return _0x4c9bc2[_0x361949(0x1b0)];}function _0x29afda(_0xeceded){'@babel/helpers - typeof';const _0x34dafe=_0x57f770;return _0x29afda=typeof Symbol==_0x34dafe(0x1f1)&&typeof Symbol[_0x34dafe(0x169)]==_0x34dafe(0x17c)?function(_0x14489f){return typeof _0x14489f;}:function(_0x12a133){const _0x140878=_0x34dafe;return _0x12a133&&typeof Symbol==_0x140878(0x1f1)&&_0x12a133['constructor']===Symbol&&_0x12a133!==Symbol['prototype']?_0x140878(0x17c):typeof _0x12a133;},_0x29afda(_0xeceded);}function _0x21e00f(_0x561a03,_0x41e2cc){const _0x3aaf34=_0x57f770;if(_0x29afda(_0x561a03)!=_0x3aaf34(0x1a5)||!_0x561a03)return _0x561a03;var _0x5d7a13=_0x561a03[Symbol[_0x3aaf34(0x1e0)]];if(_0x5d7a13!==void 0x0){var _0x4418b4=_0x5d7a13[_0x3aaf34(0x208)](_0x561a03,_0x41e2cc||'default');if(_0x29afda(_0x4418b4)!='object')return _0x4418b4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x41e2cc===_0x3aaf34(0x262)?String:Number)(_0x561a03);}function _0x276234(_0x481580){const _0x131f57=_0x57f770;var _0x43ad6a=_0x21e00f(_0x481580,_0x131f57(0x262));return _0x29afda(_0x43ad6a)=='symbol'?_0x43ad6a:_0x43ad6a+'';}function _0x2c07ac(_0x17c19f,_0x23fb7b,_0x3d56f0){const _0x3f6e62=_0x57f770;return(_0x23fb7b=_0x276234(_0x23fb7b))in _0x17c19f?Object[_0x3f6e62(0x1b9)](_0x17c19f,_0x23fb7b,{'value':_0x3d56f0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c19f[_0x23fb7b]=_0x3d56f0,_0x17c19f;}var _0x419434=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(..._0x5b046d){const _0x5ab423=_0x57f770;super(..._0x5b046d),_0x2c07ac(this,_0x5ab423(0x1c2),new Map()),_0x2c07ac(this,'_rawResources',new Map()),_0x2c07ac(this,_0x5ab423(0x1b3),new Map()),_0x2c07ac(this,_0x5ab423(0x14f),new _0x593723[(_0x5ab423(0x17d))]()),_0x2c07ac(this,_0x5ab423(0x153),this[_0x5ab423(0x14f)]['asObservable']());}['getFormula'](_0x34bacf,_0xa72eb8){const _0x96e233=_0x57f770;var _0x4b1c10;let _0x46baac=(_0x4b1c10=this['_resources'][_0x96e233(0x1ff)](_0x34bacf))==null?void 0x0:_0x4b1c10['formulas'][_0xa72eb8];return _0x46baac?_0x4bed3b['Tools'][_0x96e233(0x196)](_0x46baac):void 0x0;}[_0x57f770(0x21e)](_0x4bcbdf){const _0x58667d=_0x57f770;var _0x231608;return _0x4bed3b[_0x58667d(0x252)][_0x58667d(0x196)](((_0x231608=this[_0x58667d(0x1c2)][_0x58667d(0x1ff)](_0x4bcbdf))==null?void 0x0:_0x231608['formulas'])??{});}[_0x57f770(0x1c5)](_0x421ae5){const _0xe6ba1f=_0x57f770;let _0x14641d=this['_resources'][_0xe6ba1f(0x1ff)](_0x421ae5);return _0x14641d?_0x4bed3b[_0xe6ba1f(0x252)][_0xe6ba1f(0x196)](_0x14641d):void 0x0;}[_0x57f770(0x1a1)](_0x42ea8f,_0x18c592,_0x26d4a6){const _0x395c88=_0x57f770;return this[_0x395c88(0x285)](_0x42ea8f,{[_0x18c592]:_0x26d4a6});}['setResource'](_0x3c8a12,_0x47cea2){const _0x41f2b4=_0x57f770;return this[_0x41f2b4(0x1b3)][_0x41f2b4(0x221)](_0x3c8a12)||!_0x2c51c9(_0x47cea2)?!0x1:(this[_0x41f2b4(0x1c2)]['set'](_0x3c8a12,_0x4bed3b['Tools'][_0x41f2b4(0x196)](_0x47cea2)),this[_0x41f2b4(0x14f)][_0x41f2b4(0x240)]({'unitId':_0x3c8a12}),!0x0);}[_0x57f770(0x285)](_0x13d333,_0x5aad2a){const _0x160e2b=_0x57f770;if(this[_0x160e2b(0x1b3)][_0x160e2b(0x221)](_0x13d333)||!Object['keys'](_0x5aad2a)[_0x160e2b(0x23b)]||!_0x2c51c9({'schemaVersion':0x1,'formulas':_0x5aad2a}))return!0x1;let _0x2031d9=this[_0x160e2b(0x1c2)][_0x160e2b(0x1ff)](_0x13d333)??_0x5e4c14(),_0x392f76=_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x2031d9);return Object[_0x160e2b(0x1cd)](_0x392f76['formulas'],_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x5aad2a)),this[_0x160e2b(0x1c2)][_0x160e2b(0x1e7)](_0x13d333,_0x392f76),this[_0x160e2b(0x14f)][_0x160e2b(0x240)]({'unitId':_0x13d333,'rangeIds':Object[_0x160e2b(0x283)](_0x5aad2a)}),!0x0;}[_0x57f770(0x231)](_0x4923b0,_0xfd0545){const _0x303ff2=_0x57f770;if(this[_0x303ff2(0x1b3)]['has'](_0x4923b0))return!0x1;let _0x4e154a=this[_0x303ff2(0x1c2)]['get'](_0x4923b0);if(!(_0x4e154a!=null&&_0x4e154a[_0x303ff2(0x20f)][_0xfd0545]))return!0x1;let _0x4f68c5=_0x4bed3b[_0x303ff2(0x252)][_0x303ff2(0x196)](_0x4e154a);return delete _0x4f68c5['formulas'][_0xfd0545],this[_0x303ff2(0x1c2)][_0x303ff2(0x1e7)](_0x4923b0,_0x4f68c5),this['_change$'][_0x303ff2(0x240)]({'unitId':_0x4923b0,'rangeIds':[_0xfd0545]}),!0x0;}[_0x57f770(0x180)](_0x110211,_0x53cb96){const _0x4d6408=_0x57f770;return _0x53cb96&&typeof _0x53cb96==_0x4d6408(0x1a5)&&_0x4d6408(0x16a)in _0x53cb96&&_0x53cb96[_0x4d6408(0x16a)]!==0x1?(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x172)),!0x1):_0x2c51c9(_0x53cb96)?(this[_0x4d6408(0x1c2)][_0x4d6408(0x1e7)](_0x110211,_0x4bed3b[_0x4d6408(0x252)][_0x4d6408(0x196)](_0x53cb96)),this[_0x4d6408(0x1a3)]['delete'](_0x110211),this[_0x4d6408(0x1b3)]['delete'](_0x110211),this[_0x4d6408(0x14f)]['next']({'unitId':_0x110211}),!0x0):(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x188)),!0x1);}[_0x57f770(0x238)](_0x4fab97){const _0x340339=_0x57f770;let _0x651f8=this[_0x340339(0x1c2)]['get'](_0x4fab97);return _0x651f8?_0x4bed3b[_0x340339(0x252)][_0x340339(0x196)](_0x651f8):this['_rawResources'][_0x340339(0x221)](_0x4fab97)?_0x4bed3b[_0x340339(0x252)]['deepClone'](this[_0x340339(0x1a3)]['get'](_0x4fab97)):_0x5e4c14();}[_0x57f770(0x15f)](_0x451f7e){const _0x37e956=_0x57f770;return this[_0x37e956(0x1b3)][_0x37e956(0x1ff)](_0x451f7e);}[_0x57f770(0x232)](_0x7da657){const _0x14244d=_0x57f770;this[_0x14244d(0x1c2)]['delete'](_0x7da657),this[_0x14244d(0x1a3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x1b3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x14f)]['next']({'unitId':_0x7da657});}[_0x57f770(0x16b)](){const _0x48379e=_0x57f770;this[_0x48379e(0x1c2)]['clear'](),this[_0x48379e(0x1a3)][_0x48379e(0x1bf)](),this[_0x48379e(0x1b3)]['clear'](),this['_change$'][_0x48379e(0x165)](),super[_0x48379e(0x16b)]();}[_0x57f770(0x203)](_0x370e64,_0x7d2c1b,_0x59deec){const _0x46f5cb=_0x57f770;this['_resources'][_0x46f5cb(0x215)](_0x370e64),this[_0x46f5cb(0x1a3)][_0x46f5cb(0x1e7)](_0x370e64,_0x4bed3b[_0x46f5cb(0x252)][_0x46f5cb(0x196)](_0x7d2c1b)),this['_loadErrors'][_0x46f5cb(0x1e7)](_0x370e64,_0x59deec),this[_0x46f5cb(0x14f)]['next']({'unitId':_0x370e64});}};let _0x3e772c=function(_0x3a9f58){const _0x4dd31a=_0x57f770;return _0x3a9f58['EMPTY']=_0x4dd31a(0x17b),_0x3a9f58['PENDING']=_0x4dd31a(0x24f),_0x3a9f58[_0x4dd31a(0x1d9)]=_0x4dd31a(0x1e2),_0x3a9f58['ERROR']=_0x4dd31a(0x17f),_0x3a9f58;}({});function _0x52ecc4(_0x2011b2,_0x425335){return function(_0x451549,_0x2461e0){_0x425335(_0x451549,_0x2461e0,_0x2011b2);};}function _0x4d4426(_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0){const _0x3f04b3=_0x57f770;var _0x1053ae=arguments[_0x3f04b3(0x23b)],_0x505722=_0x1053ae<0x3?_0x47952f:_0x27a8b0===null?_0x27a8b0=Object[_0x3f04b3(0x19c)](_0x47952f,_0x7abbc7):_0x27a8b0,_0xb5d806;if(typeof Reflect==_0x3f04b3(0x1a5)&&typeof Reflect[_0x3f04b3(0x1bd)]==_0x3f04b3(0x1f1))_0x505722=Reflect[_0x3f04b3(0x1bd)](_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0);else{for(var _0x144050=_0x54f76a['length']-0x1;_0x144050>=0x0;_0x144050--)(_0xb5d806=_0x54f76a[_0x144050])&&(_0x505722=(_0x1053ae<0x3?_0xb5d806(_0x505722):_0x1053ae>0x3?_0xb5d806(_0x47952f,_0x7abbc7,_0x505722):_0xb5d806(_0x47952f,_0x7abbc7))||_0x505722);}return _0x1053ae>0x3&&_0x505722&&Object['defineProperty'](_0x47952f,_0x7abbc7,_0x505722),_0x505722;}let _0x51a5f5=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x4bb5b7,_0x25cfe7,_0x3ab571){const _0x29c398=_0x57f770;super(),this[_0x29c398(0x211)]=_0x4bb5b7,this[_0x29c398(0x15a)]=_0x25cfe7,this[_0x29c398(0x1f8)]=_0x3ab571,_0x2c07ac(this,_0x29c398(0x19b),new Map()),_0x2c07ac(this,_0x29c398(0x270),new Map()),_0x2c07ac(this,_0x29c398(0x255),new _0x593723[(_0x29c398(0x17d))]()),_0x2c07ac(this,_0x29c398(0x1e4),this[_0x29c398(0x255)]['asObservable']()),this[_0x29c398(0x1c3)](this[_0x29c398(0x15a)][_0x29c398(0x1a0)][_0x29c398(0x243)](_0x367f42=>{const _0x1281ac=_0x29c398;for(let _0x4e597a of Object[_0x1281ac(0x1c9)](_0x367f42))for(let _0x4a6da1 of Object[_0x1281ac(0x1c9)](_0x4e597a))_0x4a6da1[_0x1281ac(0x1e1)](_0x110ecf=>this['_updateFormulaResult'](_0x110ecf));}));}[_0x57f770(0x179)](_0x5cce44){const _0x3ffb91=_0x57f770;var _0x4f94fc;let _0x58ff41=_0x5cce44['getUnitId'](),_0x432a52=((_0x4f94fc=_0x5cce44[_0x3ffb91(0x166)]()['body'])==null||(_0x4f94fc=_0x4f94fc['customRanges'])==null?void 0x0:_0x4f94fc[_0x3ffb91(0x25d)](_0x3f3a71))??[],_0x4af811=this[_0x3ffb91(0x211)][_0x3ffb91(0x21e)](_0x58ff41),_0x5ca630=new Set();for(let _0x81cd0f of _0x432a52){let _0x5dc309=_0x4af811[_0x81cd0f[_0x3ffb91(0x24b)]];_0x5dc309&&(_0x5ca630[_0x3ffb91(0x28b)](_0x43079d(_0x58ff41,_0x81cd0f[_0x3ffb91(0x24b)])),this[_0x3ffb91(0x217)]({'unitId':_0x58ff41,'rangeId':_0x81cd0f['rangeId']},_0x5dc309));}for(let _0x3e431d of Array[_0x3ffb91(0x1cb)](this[_0x3ffb91(0x19b)][_0x3ffb91(0x1c9)]()))_0x3e431d[_0x3ffb91(0x242)]===_0x58ff41&&!_0x5ca630[_0x3ffb91(0x221)](_0x43079d(_0x3e431d[_0x3ffb91(0x242)],_0x3e431d[_0x3ffb91(0x24b)]))&&this[_0x3ffb91(0x1df)](_0x3e431d);}[_0x57f770(0x217)](_0x4afe7e,_0x9c1cbd){const _0x2577df=_0x57f770;let _0x2f65d2=_0x43079d(_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x24b)]),_0x586bf2=this['_registrations'][_0x2577df(0x1ff)](_0x2f65d2),_0x1c2bc5=this[_0x2577df(0x1f8)][_0x2577df(0x18f)](_0x4afe7e[_0x2577df(0x242)]);if(_0x586bf2&&_0x586bf2[_0x2577df(0x1c4)]['formula']===_0x9c1cbd[_0x2577df(0x1b8)]&&_0x586bf2['referenceRevision']===_0x1c2bc5){_0x586bf2['config']=_0x9c1cbd;let _0x585261=_0x586bf2[_0x2577df(0x1f9)]?this[_0x2577df(0x15a)][_0x2577df(0x239)](_0x586bf2['unitId'],_0x586bf2['unitId'],_0x586bf2['formulaId'])??void 0x0:void 0x0;_0x586bf2[_0x2577df(0x1b5)]=_0x585261,this[_0x2577df(0x279)](_0x2f65d2,_0x9dc728(_0x9c1cbd,_0x585261));return;}_0x586bf2!=null&&_0x586bf2[_0x2577df(0x1f9)]&&this[_0x2577df(0x229)](_0x586bf2);let _0x3de715={..._0x4afe7e,'config':_0x9c1cbd,'referenceRevision':_0x1c2bc5,'presentation':_0x9dc728(_0x9c1cbd,void 0x0)};if(this['_registrations'][_0x2577df(0x1e7)](_0x2f65d2,_0x3de715),!_0x9c1cbd[_0x2577df(0x1b8)][_0x2577df(0x210)]())return;let _0x31a652=this[_0x2577df(0x15a)][_0x2577df(0x1de)](_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x242)],_0x9c1cbd[_0x2577df(0x1b8)],void 0x0,{'rangeId':_0x4afe7e[_0x2577df(0x24b)]},_0x2b808c['OtherFormulaBizType'][_0x2577df(0x19f)],_0x4afe7e[_0x2577df(0x24b)]);_0x3de715[_0x2577df(0x1f9)]=_0x31a652,this[_0x2577df(0x270)][_0x2577df(0x1e7)](_0x31a652,_0x2f65d2);}['unregister'](_0x26d0cf){const _0x4912f4=_0x57f770;let _0xaeb006=_0x43079d(_0x26d0cf[_0x4912f4(0x242)],_0x26d0cf[_0x4912f4(0x24b)]),_0xaf4444=this[_0x4912f4(0x19b)][_0x4912f4(0x1ff)](_0xaeb006);_0xaf4444&&(this['_deleteRegistration'](_0xaf4444),this['_registrations']['delete'](_0xaeb006));}[_0x57f770(0x22c)](_0x40e200){const _0x81f3b4=_0x57f770;for(let _0x3b8609 of Array[_0x81f3b4(0x1cb)](this['_registrations'][_0x81f3b4(0x1c9)]()))_0x3b8609[_0x81f3b4(0x242)]===_0x40e200&&this[_0x81f3b4(0x1df)](_0x3b8609);}[_0x57f770(0x23c)](_0x5990a8){const _0x59c466=_0x57f770;var _0x42bc64;return(_0x42bc64=this[_0x59c466(0x19b)][_0x59c466(0x1ff)](_0x43079d(_0x5990a8[_0x59c466(0x242)],_0x5990a8[_0x59c466(0x24b)])))==null?void 0x0:_0x42bc64['presentation'];}[_0x57f770(0x218)](_0x1d65ba){const _0x20dab1=_0x57f770;let _0x3802a9=this[_0x20dab1(0x19b)][_0x20dab1(0x1ff)](_0x43079d(_0x1d65ba['unitId'],_0x1d65ba['rangeId']));return _0x3802a9?_0x5a8e33(_0x3802a9):void 0x0;}[_0x57f770(0x259)](){const _0x4ddc9e=_0x57f770;return Array[_0x4ddc9e(0x1cb)](this[_0x4ddc9e(0x19b)]['values'](),_0x7c05d3=>({'identity':{'unitId':_0x7c05d3['unitId'],'rangeId':_0x7c05d3['rangeId']},'config':_0x7c05d3[_0x4ddc9e(0x1c4)],'referenceRevision':_0x7c05d3['referenceRevision'],..._0x7c05d3['liveResult']?{'liveResult':_0x7c05d3['liveResult']}:null}));}[_0x57f770(0x16b)](){const _0x1ca338=_0x57f770;for(let _0x17c78f of this[_0x1ca338(0x19b)][_0x1ca338(0x1c9)]())this[_0x1ca338(0x229)](_0x17c78f);this[_0x1ca338(0x19b)][_0x1ca338(0x1bf)](),this[_0x1ca338(0x270)]['clear'](),this[_0x1ca338(0x255)][_0x1ca338(0x165)](),super[_0x1ca338(0x16b)]();}['_updateFormulaResult'](_0x3c1bd1){const _0x3dcba6=_0x57f770;let _0x977ff8=this[_0x3dcba6(0x270)][_0x3dcba6(0x1ff)](_0x3c1bd1[_0x3dcba6(0x1f9)]),_0x4dc088=_0x977ff8?this[_0x3dcba6(0x19b)][_0x3dcba6(0x1ff)](_0x977ff8):void 0x0;_0x977ff8&&_0x4dc088&&(_0x4dc088[_0x3dcba6(0x1b5)]=_0x3c1bd1,this['_setPresentation'](_0x977ff8,_0x9dc728(_0x4dc088[_0x3dcba6(0x1c4)],_0x3c1bd1)));}[_0x57f770(0x279)](_0x4e0771,_0x302530){const _0x51a8e0=_0x57f770;var _0x15f7df,_0x4ad13f;let _0x72128a=this[_0x51a8e0(0x19b)][_0x51a8e0(0x1ff)](_0x4e0771);if(!_0x72128a||_0x30f295(_0x72128a[_0x51a8e0(0x263)],_0x302530))return;let _0x4654e6=_0x72128a[_0x51a8e0(0x263)],_0x3d8e55=_0x5a8e33(_0x72128a);_0x72128a[_0x51a8e0(0x263)]=_0x302530,this[_0x51a8e0(0x255)]['next']({'unitId':_0x72128a[_0x51a8e0(0x242)],'rangeId':_0x72128a[_0x51a8e0(0x24b)],'presentation':_0x302530,'previousPresentation':_0x4654e6,'result':_0x5a8e33(_0x72128a),'previousResult':{..._0x3d8e55,..._0x4654e6,'value':(_0x15f7df=_0x4654e6['cell'])==null?void 0x0:_0x15f7df['v'],'valueType':((_0x4ad13f=_0x4654e6[_0x51a8e0(0x184)])==null?void 0x0:_0x4ad13f['t'])??void 0x0}});}[_0x57f770(0x229)](_0x5004ed){const _0x359826=_0x57f770;_0x5004ed[_0x359826(0x1f9)]&&(this[_0x359826(0x15a)][_0x359826(0x22e)](_0x5004ed[_0x359826(0x242)],_0x5004ed['unitId'],[_0x5004ed[_0x359826(0x1f9)]]),this['_formulaKeys'][_0x359826(0x215)](_0x5004ed[_0x359826(0x1f9)]));}};_0x51a5f5=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x2b808c['RegisterOtherFormulaService'])),_0x52ecc4(0x2,(0x0,_0x4bed3b['Inject'])(_0x4e3069[_0x57f770(0x206)]))],_0x51a5f5);function _0x43079d(_0xd6e3eb,_0x1e7ae5){return _0xd6e3eb+'\x00'+_0x1e7ae5;}function _0x9dc728(_0x3936f0,_0x1ca06d){const _0x34b32d=_0x57f770;return(0x0,_0x4e3069[_0x34b32d(0x1d3)])({'numberFormat':_0x3936f0[_0x34b32d(0x177)],'lastValue':_0x3936f0[_0x34b32d(0x246)],'result':_0x1ca06d});}function _0x5a8e33(_0x15f867){const _0xcca399=_0x57f770;var _0x2e0d47,_0xce94f2,_0x11732a;let _0x2b036c=_0x15f867[_0xcca399(0x263)],_0x8554c1=_0x15f867[_0xcca399(0x1c4)][_0xcca399(0x1b8)]['trim']()?_0x2b036c['stale']||_0x2b036c[_0xcca399(0x184)]==null?_0xcca399(0x24f):((_0x2e0d47=_0x15f867['liveResult'])==null?void 0x0:_0x2e0d47['status'])===_0x2b808c[_0xcca399(0x224)]['ERROR']?_0xcca399(0x17f):_0xcca399(0x1e2):'empty';return{..._0x2b036c,'status':_0x8554c1,'value':(_0xce94f2=_0x2b036c[_0xcca399(0x184)])==null?void 0x0:_0xce94f2['v'],'valueType':((_0x11732a=_0x2b036c['cell'])==null?void 0x0:_0x11732a['t'])??void 0x0};}function _0x30f295(_0x157397,_0x36b063){const _0x3190cc=_0x57f770;var _0x3da0cc,_0x1aa229,_0x3210f9,_0x272814;return _0x157397['text']===_0x36b063[_0x3190cc(0x159)]&&_0x157397['color']===_0x36b063[_0x3190cc(0x1af)]&&_0x157397[_0x3190cc(0x28c)]===_0x36b063[_0x3190cc(0x28c)]&&_0x157397[_0x3190cc(0x18c)]===_0x36b063['source']&&_0x157397['stale']===_0x36b063[_0x3190cc(0x272)]&&((_0x3da0cc=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3da0cc['t'])===((_0x1aa229=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x1aa229['t'])&&Object['is']((_0x3210f9=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3210f9['v'],(_0x272814=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x272814['v']);}let _0x465b96={'id':_0x57f770(0x156),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x532d75,_0x4b1cb5)=>!(_0x4b1cb5!=null&&_0x4b1cb5[_0x57f770(0x242)])||!_0x4b1cb5[_0x57f770(0x24b)]||!_0x4b1cb5['config']?!0x1:_0x532d75[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x1a1)](_0x4b1cb5[_0x57f770(0x242)],_0x4b1cb5['rangeId'],_0x4b1cb5[_0x57f770(0x1c4)])},_0x30c2aa={'id':_0x57f770(0x16d),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x2ec433,_0x318f4c)=>!(_0x318f4c!=null&&_0x318f4c[_0x57f770(0x242)])||!_0x318f4c['rangeId']?!0x1:_0x2ec433['get'](_0x419434)[_0x57f770(0x231)](_0x318f4c[_0x57f770(0x242)],_0x318f4c['rangeId'])},_0x1b5161={'id':'docs-formula.mutation.set-resource','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x2d7e55,_0x1c0907)=>!(_0x1c0907!=null&&_0x1c0907['unitId'])||!_0x1c0907[_0x57f770(0x1c1)]?!0x1:_0x2d7e55[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x22f)](_0x1c0907[_0x57f770(0x242)],_0x1c0907[_0x57f770(0x1c1)])},_0x2d9019={'id':'docs-formula.mutation.set-last-values','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x389bd7,_0x1e8494)=>{const _0x25074=_0x57f770;if(!(_0x1e8494!=null&&_0x1e8494[_0x25074(0x242)])||!_0x1e8494['updates'][_0x25074(0x23b)])return!0x1;let _0x2e51fc=_0x389bd7[_0x25074(0x1ff)](_0x419434),_0x4c0f5d=_0x389bd7[_0x25074(0x1ff)](_0x4e3069[_0x25074(0x206)]),_0x60f2b0=_0x2e51fc[_0x25074(0x1c5)](_0x1e8494['unitId']);if(!_0x60f2b0)return!0x1;let _0x3e3ffc=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x60f2b0),_0x3cb65e=!0x1;for(let _0x472371 of _0x1e8494[_0x25074(0x249)]){var _0x219d62,_0x5be578,_0x5a579e,_0x233b23;let _0x4e50ca=_0x3e3ffc[_0x25074(0x20f)][_0x472371[_0x25074(0x24b)]];_0x4e50ca&&_0x4e50ca[_0x25074(0x1b8)]===_0x472371[_0x25074(0x274)]&&((_0x219d62=_0x4e50ca[_0x25074(0x177)])==null?void 0x0:_0x219d62[_0x25074(0x28c)])===_0x472371[_0x25074(0x245)]&&_0x4c0f5d[_0x25074(0x18f)](_0x1e8494['unitId'])===_0x472371[_0x25074(0x216)]&&(((_0x5be578=_0x4e50ca['lastValue'])==null?void 0x0:_0x5be578['v'])!==_0x472371[_0x25074(0x246)]['v']||((_0x5a579e=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x5a579e['t'])!==_0x472371[_0x25074(0x246)]['t']||((_0x233b23=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x233b23['pattern'])!==_0x472371[_0x25074(0x246)][_0x25074(0x28c)])&&(_0x4e50ca[_0x25074(0x246)]=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x472371['lastValue']),_0x3cb65e=!0x0);}return!_0x3cb65e||_0x2e51fc[_0x25074(0x22f)](_0x1e8494[_0x25074(0x242)],_0x3e3ffc);}},_0x2f5e40={'id':_0x57f770(0x209),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x48de4f,_0x1a48ed)=>{const _0x30cd5d=_0x57f770;if(!(_0x1a48ed!=null&&_0x1a48ed[_0x30cd5d(0x1b8)][_0x30cd5d(0x210)]()))return!0x1;let _0x97ceb2=_0x1c0b6b(_0x48de4f,_0x1a48ed[_0x30cd5d(0x242)],'');if(!_0x97ceb2)return!0x1;let _0x372431=_0x27bca5(_0x1a48ed[_0x30cd5d(0x1e9)],_0x97ceb2['body'],_0x172891(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)]));if(!_0x372431)return!0x1;let _0x20d9a3=_0x5a4c92(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x1a48ed['formula'],_0x1a48ed['externalReferences']??[]);if(!_0x20d9a3)return!0x1;let _0x3d697f=_0x2ae9aa(_0x97ceb2[_0x30cd5d(0x1b0)],_0x97ceb2[_0x30cd5d(0x1ae)],_0x97ceb2[_0x30cd5d(0x242)]),_0x2f3709=_0x3b7a23({'documentData':_0x97ceb2[_0x30cd5d(0x185)],'resource':_0x97ceb2[_0x30cd5d(0x1c1)],'rangeId':_0x3d697f,'config':{'formula':_0x1a48ed[_0x30cd5d(0x1b8)],..._0x1a48ed[_0x30cd5d(0x177)]?{'numberFormat':_0x1a48ed[_0x30cd5d(0x177)]}:null},'startOffset':_0x372431[_0x30cd5d(0x1ef)],'endOffset':_0x372431[_0x30cd5d(0x199)]});if(!_0x2f3709)return!0x1;let _0x2fd559=(0x0,_0x4e3069[_0x30cd5d(0x281)])(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x20d9a3);return!_0x2fd559||!_0x209fb5({'accessor':_0x48de4f,'document':_0x97ceb2[_0x30cd5d(0x225)],'unitId':_0x97ceb2['unitId'],'trigger':_0x2f5e40['id'],'rangeId':_0x3d697f,'previousResource':_0x97ceb2['resource'],'nextResource':_0x2f3709[_0x30cd5d(0x171)],'previousDocumentData':_0x97ceb2['documentData'],'nextDocumentData':_0x2f3709['nextDocumentData'],'cursorOffset':_0x2f3709[_0x30cd5d(0x1ba)],'externalMutations':_0x2fd559})?!0x1:{'rangeId':_0x3d697f,'startOffset':_0x2f3709[_0x30cd5d(0x1ba)]-0x1,'endOffset':_0x2f3709[_0x30cd5d(0x1ba)]};}},_0x1039f9={'id':'docs-formula.command.update','type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x2c6eac,_0x1ad623)=>{const _0x4d9469=_0x57f770;if(!(_0x1ad623!=null&&_0x1ad623[_0x4d9469(0x24b)])||!_0x1ad623[_0x4d9469(0x1b8)][_0x4d9469(0x210)]())return!0x1;let _0x176cd2=_0x1c0b6b(_0x2c6eac,_0x1ad623[_0x4d9469(0x242)],''),_0x1978bc=_0x176cd2==null?void 0x0:_0x176cd2['model'][_0x4d9469(0x160)](_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x24b)]),_0x403c6e=_0x176cd2?_0x339a9d(_0x176cd2[_0x4d9469(0x185)]['body'],_0x1ad623[_0x4d9469(0x24b)]):void 0x0;if(!_0x176cd2||!_0x1978bc||!_0x403c6e)return!0x1;let _0x5141ec=_0x5a4c92(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x1b8)],_0x1ad623[_0x4d9469(0x256)]??[]);if(!_0x5141ec)return!0x1;let _0x38aa0b=(0x0,_0x4e3069[_0x4d9469(0x281)])(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x5141ec);if(!_0x38aa0b)return!0x1;let _0x57b360=_0x585799(_0x176cd2[_0x4d9469(0x1c1)]);return _0x57b360[_0x4d9469(0x20f)][_0x1ad623['rangeId']]={'formula':_0x1ad623['formula'],..._0x1ad623[_0x4d9469(0x177)]?{'numberFormat':_0x1ad623[_0x4d9469(0x177)]}:_0x1978bc[_0x4d9469(0x177)]?{'numberFormat':_0x1978bc[_0x4d9469(0x177)]}:null},_0x209fb5({'accessor':_0x2c6eac,'document':_0x176cd2[_0x4d9469(0x225)],'unitId':_0x176cd2[_0x4d9469(0x242)],'trigger':_0x1039f9['id'],'rangeId':_0x1ad623[_0x4d9469(0x24b)],'previousResource':_0x176cd2[_0x4d9469(0x1c1)],'nextResource':_0x57b360,'cursorOffset':_0x403c6e[_0x4d9469(0x23a)]+0x1,'externalMutations':_0x38aa0b});}},_0x3c50cd={'id':_0x57f770(0x19a),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x4cc698,_0x36babf)=>{const _0x55f809=_0x57f770;if(!(_0x36babf!=null&&_0x36babf[_0x55f809(0x24b)]))return!0x1;let _0x435314=_0x1c0b6b(_0x4cc698,_0x36babf['unitId'],''),_0x25d19a=_0x435314==null?void 0x0:_0x435314[_0x55f809(0x1ae)][_0x55f809(0x160)](_0x435314[_0x55f809(0x242)],_0x36babf[_0x55f809(0x24b)]),_0x18d976=_0x435314?_0x339a9d(_0x435314[_0x55f809(0x185)][_0x55f809(0x1b0)],_0x36babf[_0x55f809(0x24b)]):void 0x0;if(!_0x435314||!_0x25d19a||!_0x18d976)return!0x1;let _0x2d91c0=_0x585799(_0x435314['resource']);return _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]={..._0x25d19a,..._0x36babf['numberFormat']?{'numberFormat':_0x36babf[_0x55f809(0x177)]}:null},_0x36babf[_0x55f809(0x177)]||delete _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]['numberFormat'],_0x209fb5({'accessor':_0x4cc698,'document':_0x435314[_0x55f809(0x225)],'unitId':_0x435314['unitId'],'trigger':_0x3c50cd['id'],'rangeId':_0x36babf['rangeId'],'previousResource':_0x435314[_0x55f809(0x1c1)],'nextResource':_0x2d91c0,'cursorOffset':_0x18d976[_0x55f809(0x23a)]+0x1,'externalMutations':{}});}},_0x16b842={'id':_0x57f770(0x275),'type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x448578,_0xba8508)=>_0x278e44(_0x448578,_0xba8508,'',_0x16b842['id'])},_0x4fdf1c={'id':'docs-formula.command.replace-with-text','type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x45657d,_0x38f557)=>_0x278e44(_0x45657d,_0x38f557,(_0x38f557==null?void 0x0:_0x38f557[_0x57f770(0x159)])??'',_0x4fdf1c['id'])},_0x38dc53={'id':_0x57f770(0x194),'type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x2fa56a,_0x484874)=>{const _0x4df6c4=_0x57f770;if(!(_0x484874!=null&&_0x484874['rangeId']))return!0x1;let _0x2ec813=_0x1c0b6b(_0x2fa56a,_0x484874['unitId'],'');if(!_0x2ec813)return!0x1;let _0x13fe72=_0x2fa56a[_0x4df6c4(0x1ff)](_0x51a5f5)[_0x4df6c4(0x218)]({'unitId':_0x2ec813[_0x4df6c4(0x242)],'rangeId':_0x484874['rangeId']});return _0x13fe72?_0x278e44(_0x2fa56a,_0x484874,_0x13fe72[_0x4df6c4(0x159)],_0x38dc53['id']):!0x1;}};function _0x278e44(_0x15e5e3,_0x2483b1,_0x4d2562,_0x2b0b1d){const _0x477759=_0x57f770;if(!(_0x2483b1!=null&&_0x2483b1[_0x477759(0x24b)]))return!0x1;let _0x13abe4=_0x1c0b6b(_0x15e5e3,_0x2483b1['unitId'],'');if(!_0x13abe4)return!0x1;let _0x38e485=_0x562d2a({'documentData':_0x13abe4['documentData'],'resource':_0x13abe4[_0x477759(0x1c1)],'rangeId':_0x2483b1[_0x477759(0x24b)],'text':_0x4d2562});return _0x38e485?_0x209fb5({'accessor':_0x15e5e3,'document':_0x13abe4[_0x477759(0x225)],'unitId':_0x13abe4[_0x477759(0x242)],'trigger':_0x2b0b1d,'rangeId':_0x2483b1[_0x477759(0x24b)],'previousResource':_0x13abe4[_0x477759(0x1c1)],'nextResource':_0x38e485[_0x477759(0x171)],'previousDocumentData':_0x13abe4[_0x477759(0x185)],'nextDocumentData':_0x38e485['nextDocumentData'],'cursorOffset':_0x38e485['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x1c0b6b(_0x4e46d1,_0x217b71,_0x33ba99){const _0x1518df=_0x57f770;if(_0x33ba99)return null;let _0x3a428b=_0x4e46d1[_0x1518df(0x1ff)](_0x4bed3b[_0x1518df(0x1f5)]),_0x59a6a2=(_0x217b71?_0x3a428b['getUnit'](_0x217b71,_0x4bed3b[_0x1518df(0x1eb)][_0x1518df(0x20e)]):_0x3a428b[_0x1518df(0x26e)](_0x4bed3b[_0x1518df(0x1eb)]['UNIVER_DOC']))??null;if(!_0x59a6a2)return null;let _0x5dc553=_0x59a6a2[_0x1518df(0x166)](),_0x34594d=_0x5dc553['body'];if(_0x5dc553['disabled']||!_0x34594d)return null;let _0x594f06=_0x4e46d1[_0x1518df(0x1ff)](_0x419434);return _0x594f06[_0x1518df(0x15f)](_0x59a6a2[_0x1518df(0x1fe)]())?null:{'document':_0x59a6a2,'body':_0x34594d,'documentData':_0x5dc553,'model':_0x594f06,'resource':_0x594f06[_0x1518df(0x1c5)](_0x59a6a2[_0x1518df(0x1fe)]())??_0x5e4c14(),'unitId':_0x59a6a2[_0x1518df(0x1fe)]()};}function _0x172891(_0x1c00f1,_0x3655fd){const _0x374f54=_0x57f770;var _0x17f36c;return(_0x17f36c=_0x1c00f1[_0x374f54(0x1ff)](_0x4e7dc9['DocSelectionManagerService'])['getTextRanges']({'subUnitId':_0x3655fd,'unitId':_0x3655fd}))==null?void 0x0:_0x17f36c[0x0];}function _0x27bca5(_0x506c7e,_0x201eb0,_0x474dae){const _0x5940c3=_0x57f770;if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])==='paragraph'){var _0xd032c5;let _0x579182=((_0xd032c5=_0x201eb0[_0x5940c3(0x21f)])==null?void 0x0:_0xd032c5['filter'](_0xe84f4=>_0xe84f4[_0x5940c3(0x277)]===_0x506c7e[_0x5940c3(0x277)]))??[];if(_0x579182[_0x5940c3(0x23b)]!==0x1)return null;let _0x5ea958=_0x579182[0x0],_0x56f2ba=(0x0,_0x4bed3b[_0x5940c3(0x170)])(_0x201eb0,_0x5ea958),_0x1d4fb9=_0x5ea958[_0x5940c3(0x268)]-_0x56f2ba,_0x428551=_0x506c7e[_0x5940c3(0x237)]===_0x5940c3(0x1a4)?_0x1d4fb9:_0x506c7e[_0x5940c3(0x237)];if(!Number[_0x5940c3(0x23f)](_0x428551)||_0x428551<0x0||_0x428551>_0x1d4fb9)return null;let _0x17950e=_0x56f2ba+_0x428551;return{'startOffset':_0x17950e,'endOffset':_0x17950e};}if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x1b6))return!Number[_0x5940c3(0x23f)](_0x506c7e[_0x5940c3(0x1ef)])||!Number['isInteger'](_0x506c7e['endOffset'])?null:{'startOffset':Math['min'](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e['endOffset']),'endOffset':Math[_0x5940c3(0x219)](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e[_0x5940c3(0x199)])};let _0x333a73=(_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x257)?_0x506c7e[_0x5940c3(0x257)]:_0x474dae;return!_0x333a73||_0x333a73[_0x5940c3(0x1fc)]?null:{'startOffset':Math[_0x5940c3(0x254)](_0x333a73['startOffset'],_0x333a73[_0x5940c3(0x199)]),'endOffset':Math[_0x5940c3(0x219)](_0x333a73[_0x5940c3(0x1ef)],_0x333a73[_0x5940c3(0x199)])};}function _0x5a4c92(_0xc083c8,_0x4416af,_0x2a267b,_0x1458fe){const _0x221c36=_0x57f770;let _0x2ad00e=_0xc083c8['get'](_0x2b808c[_0x221c36(0x204)]),_0x3f168f=_0x2a267b['startsWith']('=')?_0x2a267b[_0x221c36(0x25b)](0x1):_0x2a267b,_0x1e5a11=_0x2ad00e[_0x221c36(0x276)](_0x3f168f);if(!_0x1e5a11)return null;let _0x44d699=_0xc083c8[_0x221c36(0x1ff)](_0x4e3069[_0x221c36(0x206)]),_0x1774e6=(0x0,_0x4e3069['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x4e3069['collectFormulaExternalReferenceQualifiers'])(_0x1e5a11),'explicitReferences':_0x1458fe??[],'resolveBinding':_0x264af4=>_0x44d699[_0x221c36(0x1fd)](_0x4416af,_0x264af4)});return _0x1774e6['status']==='resolved'?_0x1774e6[_0x221c36(0x151)]:null;}function _0x2ae9aa(_0x579e25,_0x143e71,_0x269f38){const _0x59e34d=_0x57f770;var _0x32d90f;let _0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);for(;_0x579e25!=null&&(_0x32d90f=_0x579e25[_0x59e34d(0x15e)])!=null&&_0x32d90f[_0x59e34d(0x25e)](_0x184879=>_0x184879['rangeId']===_0x533681)||_0x143e71[_0x59e34d(0x160)](_0x269f38,_0x533681);)_0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);return _0x533681;}function _0x3b7a23(_0x3fba6a){try{return _0x2e6ab7(_0x3fba6a);}catch(_0x2c0277){if(_0x2c0277 instanceof _0x4b9dca)return null;throw _0x2c0277;}}function _0x355c8a(_0x17713c){const _0x5a6781=_0x57f770;let _0xfdcde8=_0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]?_0x16c2eb(_0x17713c[_0x5a6781(0x225)],_0x17713c[_0x5a6781(0x242)],_0x17713c[_0x5a6781(0x15d)],_0x17713c['nextDocumentData'],_0x17713c[_0x5a6781(0x1ba)],_0x17713c[_0x5a6781(0x1a2)]):null;return _0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]&&!_0xfdcde8?null:{'documentRedo':_0xfdcde8,'resourceRedo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c['nextResource']}},'resourceUndo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c[_0x5a6781(0x164)]}}};}function _0x1cbe6a(_0x572fd4,_0xe0dcd0,_0x508abd,_0x16a430){const _0x11d999=_0x57f770;_0x16a430[_0x11d999(0x226)]({'id':_0x572fd4[_0x11d999(0x1a2)]+':'+_0x572fd4['rangeId'],'unitID':_0x572fd4[_0x11d999(0x242)],'redoMutations':[..._0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x26f)]?[_0x572fd4['externalMutations'][_0x11d999(0x26f)]]:[],..._0xe0dcd0[_0x11d999(0x157)]?[_0xe0dcd0[_0x11d999(0x157)]]:[],_0xe0dcd0[_0x11d999(0x191)]],'undoMutations':[_0xe0dcd0['resourceUndo'],..._0x508abd?[_0x508abd]:[],..._0x572fd4[_0x11d999(0x1e8)]['undoMutation']?[_0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x288)]]:[]]});}function _0x209fb5(_0x1cfef8){const _0x5454ee=_0x57f770;let _0x435633=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x15c)]),_0x137c70=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x1d6)]),_0x12ca65=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4e7dc9[_0x5454ee(0x258)]),_0x43f89b=_0x355c8a(_0x1cfef8);if(!_0x43f89b)return!0x1;let _0x1c3eb5=!0x1,_0x4ee6ac=null,_0x3f204e=!0x1;try{if(_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]){if(!_0x435633[_0x5454ee(0x1ed)](_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]['id'],_0x1cfef8['externalMutations'][_0x5454ee(0x26f)]['params']))return!0x1;_0x1c3eb5=!0x0;}if(_0x43f89b[_0x5454ee(0x157)]){let _0xe168ed=_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x157)]['id'],_0x43f89b[_0x5454ee(0x157)][_0x5454ee(0x1a7)]);if(!_0xe168ed)return _0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x4ee6ac={'id':_0x4e7dc9['RichTextEditingMutation']['id'],'params':{..._0xe168ed,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x191)]['id'],_0x43f89b[_0x5454ee(0x191)][_0x5454ee(0x1a7)]))return _0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x3f204e=!0x0,_0x1cbe6a(_0x1cfef8,_0x43f89b,_0x4ee6ac,_0x137c70);}catch(_0x1a93d8){throw _0x3f204e&&_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x1c6)]['id'],_0x43f89b[_0x5454ee(0x1c6)][_0x5454ee(0x1a7)]),_0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),_0x1a93d8;}return _0x12ca65[_0x5454ee(0x1d1)]([{'startOffset':_0x1cfef8['cursorOffset'],'endOffset':_0x1cfef8[_0x5454ee(0x1ba)],'segmentId':''}],{'unitId':_0x1cfef8[_0x5454ee(0x242)],'subUnitId':_0x1cfef8[_0x5454ee(0x242)]},!0x1,{[_0x4e7dc9[_0x5454ee(0x1ee)]]:!0x0}),!0x0;}function _0x16c2eb(_0x55726a,_0x4f22e4,_0x1220fd,_0x37ad29,_0x37bd8f,_0x2aebe6){const _0x38b58a=_0x57f770;let _0xf23582=_0x3587e4(_0x1220fd,_0x37ad29,(0x0,_0x4bed3b['getRichTextEditPath'])(_0x55726a,''));return _0xf23582?{'id':_0x4e7dc9[_0x38b58a(0x181)]['id'],'params':{'unitId':_0x4f22e4,'actions':_0xf23582,'segmentId':'','textRanges':[{'startOffset':_0x37bd8f,'endOffset':_0x37bd8f,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x2aebe6}}:null;}function _0x256a50(_0x24c384,_0xdf65ae){const _0xf51b4d=_0x57f770;_0xdf65ae&&_0x24c384[_0xf51b4d(0x1ed)](_0xdf65ae['id'],_0xdf65ae[_0xf51b4d(0x1a7)]);}function _0x5069c3(_0x2a7ac1,_0x3dfc0d,_0x10d274){const _0x165818=_0x57f770;_0x10d274&&_0x3dfc0d['undoMutation']&&_0x2a7ac1[_0x165818(0x1ed)](_0x3dfc0d[_0x165818(0x288)]['id'],_0x3dfc0d['undoMutation']['params']);}function _0x3587e4(_0x2266c1,_0x300f85,_0x4c1999){const _0x17ada=_0x57f770;let _0x243f5a=_0x2266c1[_0x17ada(0x1b0)],_0x313cdf=_0x300f85[_0x17ada(0x1b0)],_0x54892e=_0x400a80(_0x243f5a==null?void 0x0:_0x243f5a[_0x17ada(0x25f)],_0x313cdf==null?void 0x0:_0x313cdf['dataStream']);if(!_0x54892e||!_0x313cdf)return null;let _0x2db9ab=new _0x4bed3b['TextX']();return _0x2db9ab[_0x17ada(0x186)](_0x54892e['start']),_0x54892e[_0x17ada(0x193)]>0x0&&_0x2db9ab[_0x17ada(0x21d)](_0x54892e[_0x17ada(0x193)],(0x0,_0x4bed3b[_0x17ada(0x154)])(_0x313cdf,_0x54892e[_0x17ada(0x155)],_0x54892e[_0x17ada(0x155)]+_0x54892e[_0x17ada(0x193)],!0x1)),_0x54892e[_0x17ada(0x1b1)]>0x0&&_0x2db9ab[_0x17ada(0x215)](_0x54892e[_0x17ada(0x1b1)]),_0x4bed3b[_0x17ada(0x150)]['getInstance']()[_0x17ada(0x1c0)](_0x2db9ab['serialize'](),_0x4c1999);}function _0x400a80(_0x42e84e,_0x122426){const _0x46c2d1=_0x57f770;if(_0x42e84e==null||_0x122426==null||_0x42e84e===_0x122426)return null;let _0xf47a9=0x0;for(;_0xf47a9<_0x42e84e[_0x46c2d1(0x23b)]&&_0xf47a9<_0x122426['length']&&_0x42e84e[_0xf47a9]===_0x122426[_0xf47a9];)_0xf47a9+=0x1;let _0x996816=_0x42e84e[_0x46c2d1(0x23b)],_0x589cbb=_0x122426[_0x46c2d1(0x23b)];for(;_0x996816>_0xf47a9&&_0x589cbb>_0xf47a9&&_0x42e84e[_0x996816-0x1]===_0x122426[_0x589cbb-0x1];)--_0x996816,--_0x589cbb;return{'start':_0xf47a9,'deleteLength':_0x996816-_0xf47a9,'insertLength':_0x589cbb-_0xf47a9};}function _0x585799(_0x50b140){const _0x467696=_0x57f770;return{'schemaVersion':0x1,'formulas':Object[_0x467696(0x16f)](Object['entries'](_0x50b140['formulas'])[_0x467696(0x261)](([_0x4b1111,_0x5a8865])=>[_0x4b1111,{..._0x5a8865,..._0x5a8865[_0x467696(0x177)]?{'numberFormat':{..._0x5a8865[_0x467696(0x177)]}}:null,..._0x5a8865[_0x467696(0x246)]?{'lastValue':{..._0x5a8865[_0x467696(0x246)]}}:null}]))};}let _0x57ea5b=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xfcef5b,_0x4edee6,_0x3b2fb7,_0x3bd260){const _0x1804fb=_0x57f770;super(),this[_0x1804fb(0x282)]=_0xfcef5b,this[_0x1804fb(0x244)]=_0x4edee6,this[_0x1804fb(0x211)]=_0x3b2fb7,this['_service']=_0x3bd260,_0x2c07ac(this,_0x1804fb(0x1ce),new Set()),_0x2c07ac(this,_0x1804fb(0x1ea),!0x1),_0x2c07ac(this,_0x1804fb(0x284),!0x1),this[_0x1804fb(0x282)][_0x1804fb(0x286)](_0x4bed3b[_0x1804fb(0x1eb)]['UNIVER_DOC'])[_0x1804fb(0x1e1)](_0xa2d827=>this[_0x1804fb(0x253)]['syncUnit'](_0xa2d827)),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x211)][_0x1804fb(0x153)][_0x1804fb(0x243)](({unitId:_0x4b97a0})=>this['_syncUnit'](_0x4b97a0))),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x282)]['unitAdded$'][_0x1804fb(0x243)](({unit:_0x235704})=>{const _0x2aa4e6=_0x1804fb;_0x235704[_0x2aa4e6(0x1db)]===_0x4bed3b['UniverInstanceType'][_0x2aa4e6(0x20e)]&&this['_queueSync'](_0x235704[_0x2aa4e6(0x1fe)]());})),this[_0x1804fb(0x1c3)](this['_instanceService']['unitDisposed$'][_0x1804fb(0x243)](_0x5ce540=>{const _0x53ca8d=_0x1804fb;this[_0x53ca8d(0x253)][_0x53ca8d(0x22c)](_0x5ce540[_0x53ca8d(0x1fe)]());})),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x244)][_0x1804fb(0x27f)](_0x4e7282=>{const _0x4daf88=_0x1804fb;if(_0x4e7282['id']===_0x4e7dc9[_0x4daf88(0x181)]['id']&&_0x10b641(_0x4e7282['params'])){let _0x483c05=_0x4e7282[_0x4daf88(0x1a7)];_0x483c05[_0x4daf88(0x1fc)]||this[_0x4daf88(0x1ab)](_0x483c05[_0x4daf88(0x242)]);}}));}[_0x57f770(0x16b)](){const _0x49f91a=_0x57f770;this['_isDisposed']=!0x0,super[_0x49f91a(0x16b)]();}[_0x57f770(0x20d)](_0x32868f){const _0x53bbac=_0x57f770;this[_0x53bbac(0x1ce)][_0x53bbac(0x28b)](_0x32868f),!this['_syncScheduled']&&(this[_0x53bbac(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x324d44=_0x53bbac;if(this[_0x324d44(0x1ea)]=!0x1,this[_0x324d44(0x284)])return;let _0x21f1ef=Array[_0x324d44(0x1cb)](this[_0x324d44(0x1ce)]);this[_0x324d44(0x1ce)][_0x324d44(0x1bf)](),_0x21f1ef[_0x324d44(0x1e1)](_0x1c48bf=>this['_syncUnit'](_0x1c48bf));}));}[_0x57f770(0x1ab)](_0x5bd09e){const _0x4d7d9d=_0x57f770;let _0x151ec4=this[_0x4d7d9d(0x282)]['getUnit'](_0x5bd09e,_0x4bed3b[_0x4d7d9d(0x1eb)][_0x4d7d9d(0x20e)]);_0x151ec4&&this['_service'][_0x4d7d9d(0x179)](_0x151ec4);}};_0x57ea5b=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x3,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5))],_0x57ea5b);function _0x10b641(_0x46669c){const _0xc362d6=_0x57f770;return typeof _0x46669c==_0xc362d6(0x1a5)&&!!_0x46669c&&_0xc362d6(0x242)in _0x46669c&&typeof _0x46669c[_0xc362d6(0x242)]==_0xc362d6(0x262)&&(!('segmentId'in _0x46669c)||_0x46669c['segmentId']===void 0x0||typeof _0x46669c['segmentId']==_0xc362d6(0x262));}let _0x206277=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x30f2ac,_0x1be1c7){const _0x31890b=_0x57f770;super(),this['_resourceManagerService']=_0x30f2ac,this[_0x31890b(0x233)]=_0x1be1c7,this[_0x31890b(0x1c3)](this['_resourceManagerService'][_0x31890b(0x17a)]({'pluginName':_0xd27543,'businesses':[_0x4bed3b[_0x31890b(0x1eb)][_0x31890b(0x20e)]],'toJson':_0xcff78b=>JSON[_0x31890b(0x27b)](this[_0x31890b(0x233)][_0x31890b(0x238)](_0xcff78b)),'parseJson':_0x2946b2=>JSON[_0x31890b(0x1b7)](_0x2946b2),'onLoad':(_0x3f977a,_0x15759e)=>{const _0x3f3a8f=_0x31890b;this[_0x3f3a8f(0x233)][_0x3f3a8f(0x180)](_0x3f977a,_0x15759e);},'onUnLoad':_0x25ce7b=>this[_0x31890b(0x233)]['removeUnit'](_0x25ce7b)}));}};_0x206277=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x22a)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434))],_0x206277);var _0x330da3=_0x57f770(0x28a),_0x181800='1.0.2';let _0x463c63={},_0x5e85b3=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x1132bf,_0x4c24ce,_0x1d17e0){const _0x2a961d=_0x57f770;super(),this['_univerInstanceService']=_0x1132bf,this[_0x2a961d(0x20a)]=_0x4c24ce,this['disposeWithMe'](_0x1d17e0[_0x2a961d(0x217)]({'resolve':(_0x382bb9,_0x2abd9e)=>{const _0x37b518=_0x2a961d;var _0x34171b;return((_0x34171b=_0x2abd9e[_0x37b518(0x15e)])==null?void 0x0:_0x34171b[_0x37b518(0x25d)](_0x3f3a71)[_0x37b518(0x261)](_0x29e438=>({'startOffset':_0x29e438[_0x37b518(0x268)],'endOffset':_0x29e438[_0x37b518(0x23a)]+0x1,'text':this[_0x37b518(0x1e6)](_0x382bb9,_0x29e438['rangeId'])})))??[];}})),this[_0x2a961d(0x1c3)](this[_0x2a961d(0x20a)][_0x2a961d(0x1e4)][_0x2a961d(0x243)](({unitId:_0x188d13})=>{_0x1d17e0['notifyTextChanged'](_0x188d13);}));}[_0x57f770(0x1e6)](_0x175d42,_0x1a4c84){const _0x25edf7=_0x57f770;var _0x4bbe53;return((_0x4bbe53=this[_0x25edf7(0x20a)][_0x25edf7(0x218)]({'unitId':_0x175d42,'rangeId':_0x1a4c84}))==null?void 0x0:_0x4bbe53[_0x25edf7(0x159)])??'';}[_0x57f770(0x19d)](_0x8e1fc6,_0x5d87ff,_0x27f10f){const _0x19da30=_0x57f770;var _0x54b4f3;let _0x6f643b=this[_0x19da30(0x24a)][_0x19da30(0x212)](_0x8e1fc6,_0x4bed3b['UniverInstanceType'][_0x19da30(0x20e)]),_0x418c21=_0x6f643b==null?void 0x0:_0x6f643b[_0x19da30(0x190)]();if(!_0x418c21)return'';let _0x228e01=_0x418c21['dataStream']['slice'](_0x5d87ff,_0x27f10f),_0x3324ee=((_0x54b4f3=_0x418c21['customRanges'])==null?void 0x0:_0x54b4f3[_0x19da30(0x25d)](_0x58e2fe=>_0x3f3a71(_0x58e2fe)&&_0x58e2fe[_0x19da30(0x268)]>=_0x5d87ff&&_0x58e2fe['endIndex']<_0x27f10f)[_0x19da30(0x287)]((_0x5020f5,_0x17004e)=>_0x17004e['startIndex']-_0x5020f5[_0x19da30(0x268)]))??[];for(let _0x41cf66 of _0x3324ee){let _0x2c4695=_0x41cf66[_0x19da30(0x268)]-_0x5d87ff,_0x13e856=_0x41cf66[_0x19da30(0x23a)]-_0x5d87ff+0x1;_0x228e01=''+_0x228e01[_0x19da30(0x25b)](0x0,_0x2c4695)+this[_0x19da30(0x1e6)](_0x8e1fc6,_0x41cf66[_0x19da30(0x24b)])+_0x228e01[_0x19da30(0x25b)](_0x13e856);}return _0x228e01;}['degradeDocumentData'](_0x39b34e){return _0x1baa5f(_0x39b34e);}[_0x57f770(0x189)](_0x57137c,_0x42796b,_0x4d88ba={}){const _0xff1088=_0x57f770;var _0x312e6c;return _0x12f0e6({'id':_0x57137c,'body':_0x42796b,'documentStyle':{}},(((_0x312e6c=_0x42796b[_0xff1088(0x15e)])==null?void 0x0:_0x312e6c['filter'](_0x3f3a71))??[])[_0xff1088(0x261)](_0x1abd5b=>({'rangeId':_0x1abd5b[_0xff1088(0x24b)],'text':_0x4d88ba[_0x1abd5b[_0xff1088(0x24b)]]??this[_0xff1088(0x1e6)](_0x57137c,_0x1abd5b[_0xff1088(0x24b)])})))[_0xff1088(0x1b0)]??{'dataStream':''};}};_0x5e85b3=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e7dc9[_0x57f770(0x214)]))],_0x5e85b3);function _0x1baa5f(_0x4629b5){const _0x40b484=_0x57f770;var _0x40b8b7,_0x40a704;let _0x183b67=_0x410d65(_0x4629b5),_0x3e15f6=_0x12f0e6(_0x4629b5,(((_0x40b8b7=_0x4629b5[_0x40b484(0x1b0)])==null||(_0x40b8b7=_0x40b8b7[_0x40b484(0x15e)])==null?void 0x0:_0x40b8b7[_0x40b484(0x25d)](_0x3f3a71))??[])[_0x40b484(0x261)](_0x22df74=>({'rangeId':_0x22df74[_0x40b484(0x24b)],'text':_0x59843b(_0x183b67==null?void 0x0:_0x183b67[_0x40b484(0x20f)][_0x22df74[_0x40b484(0x24b)]])})));return _0x3e15f6[_0x40b484(0x1ad)]=(_0x40a704=_0x3e15f6[_0x40b484(0x1ad)])==null?void 0x0:_0x40a704[_0x40b484(0x25d)](_0x428713=>_0x428713[_0x40b484(0x18e)]!==_0xd27543),_0x3e15f6;}function _0x410d65(_0x145552){const _0x2b3afb=_0x57f770;var _0xcfd1a0;let _0x402897=(_0xcfd1a0=_0x145552[_0x2b3afb(0x1ad)])==null||(_0xcfd1a0=_0xcfd1a0['find'](_0x301c71=>_0x301c71[_0x2b3afb(0x18e)]===_0x2b3afb(0x162)))==null?void 0x0:_0xcfd1a0[_0x2b3afb(0x1f4)];if(_0x402897)try{let _0x4b257=JSON[_0x2b3afb(0x1b7)](_0x402897);return _0x2c51c9(_0x4b257)?_0x4b257:void 0x0;}catch{return;}}function _0x59843b(_0x1021b9){const _0x5cf135=_0x57f770;return _0x1021b9?(0x0,_0x4e3069[_0x5cf135(0x1d3)])({'lastValue':_0x1021b9[_0x5cf135(0x246)],'numberFormat':_0x1021b9['numberFormat']})[_0x5cf135(0x159)]:'';}let _0x56817c=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xcde45b,_0x1a74f7,_0x255a55){const _0x16e531=_0x57f770;super(),this[_0x16e531(0x20a)]=_0xcde45b,this[_0x16e531(0x207)]=_0x1a74f7,this[_0x16e531(0x1c3)](_0x255a55[_0x16e531(0x250)](this));}[_0x57f770(0x152)](_0x3f9d80){const _0x4e6460=_0x57f770;let _0x3d685b=new Map();for(let _0x370a13 of this[_0x4e6460(0x20a)]['getRegisteredFormulas']()){var _0x37ac0b;if(!this[_0x4e6460(0x207)][_0x4e6460(0x173)](_0x370a13['config'][_0x4e6460(0x1b8)],_0x370a13[_0x4e6460(0x1b5)])[_0x4e6460(0x18a)])continue;let _0x57c855=(0x0,_0x4e3069[_0x4e6460(0x161)])(_0x370a13[_0x4e6460(0x1b5)]),_0x426fff=_0x57c855?(0x0,_0x4e3069['toFormulaLastValue'])(_0x57c855):null;if(!_0x426fff||_0x40bd36(_0x370a13['config'][_0x4e6460(0x246)],_0x426fff))continue;let _0x174465=_0x3d685b[_0x4e6460(0x1ff)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)])??[];_0x174465[_0x4e6460(0x236)]({'rangeId':_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x24b)],'expectedFormula':_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x1b8)],'expectedNumberFormat':(_0x37ac0b=_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x177)])==null?void 0x0:_0x37ac0b[_0x4e6460(0x28c)],'expectedReferenceRevision':_0x370a13[_0x4e6460(0x27a)],'lastValue':_0x426fff}),_0x3d685b[_0x4e6460(0x1e7)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)],_0x174465);}return Array[_0x4e6460(0x1cb)](_0x3d685b,([_0x599279,_0x52115e])=>({'id':_0x2d9019['id'],'params':{'unitId':_0x599279,'updates':_0x52115e}}));}};_0x56817c=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x248)])),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x205)]))],_0x56817c);function _0x40bd36(_0x23356c,_0x5dfaa3){const _0x3bd951=_0x57f770;return(_0x23356c==null?void 0x0:_0x23356c['v'])===_0x5dfaa3['v']&&(_0x23356c==null?void 0x0:_0x23356c['t'])===_0x5dfaa3['t']&&(_0x23356c==null?void 0x0:_0x23356c[_0x3bd951(0x28c)])===_0x5dfaa3[_0x3bd951(0x28c)];}let _0x2f90cc=class extends _0x4bed3b[_0x57f770(0x223)]{constructor(_0x3f0fa5=_0x463c63,_0x8e2438,_0x413c98,_0x47c54d){const _0x44a711=_0x57f770;super(),this[_0x44a711(0x1a8)]=_0x3f0fa5,this[_0x44a711(0x27e)]=_0x8e2438,this[_0x44a711(0x244)]=_0x413c98,this[_0x44a711(0x1ac)]=_0x47c54d;let {..._0xc0837f}=(0x0,_0x4bed3b[_0x44a711(0x230)])({},_0x463c63,this['_config']);this[_0x44a711(0x1ac)][_0x44a711(0x1b2)]('docs-formula.config',_0xc0837f);}[_0x57f770(0x26a)](){const _0x3d88e6=_0x57f770;this[_0x3d88e6(0x27e)]['add']([_0x419434]),this['_injector'][_0x3d88e6(0x28b)]([_0x51a5f5]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x206277]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x57ea5b]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x56817c]),this['_injector'][_0x3d88e6(0x28b)]([_0x5e85b3]),(0x0,_0x4bed3b[_0x3d88e6(0x1e3)])(this['_injector'],[[_0x419434],[_0x206277],[_0x57ea5b],[_0x56817c],[_0x5e85b3]]),[_0x465b96,_0x30c2aa,_0x1b5161,_0x2d9019,_0x2f5e40,_0x1039f9,_0x3c50cd,_0x16b842,_0x4fdf1c,_0x38dc53][_0x3d88e6(0x1e1)](_0x15a37d=>this['disposeWithMe'](this[_0x3d88e6(0x244)]['registerCommand'](_0x15a37d)));}};_0x2c07ac(_0x2f90cc,_0x57f770(0x260),_0xd27543),_0x2c07ac(_0x2f90cc,_0x57f770(0x1f7),_0x330da3),_0x2c07ac(_0x2f90cc,_0x57f770(0x28e),_0x181800),_0x2c07ac(_0x2f90cc,_0x57f770(0x1db),_0x4bed3b[_0x57f770(0x1eb)]['UNIVER_DOC']),_0x2f90cc=_0x4d4426([(0x0,_0x4bed3b['DependentOn'])(_0x26a251[_0x57f770(0x195)],_0x4e3069['UniverProFormulaEnginePlugin'],_0x4e7dc9[_0x57f770(0x18d)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4bed3b[_0x57f770(0x278)])),_0x52ecc4(0x2,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x3,_0x4bed3b[_0x57f770(0x16e)])],_0x2f90cc),_0x1dc156[_0x57f770(0x1c8)]=_0x38dc53,_0x1dc156[_0x57f770(0x1a9)]=_0xc6a381,_0x1dc156['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0x1dc156['DOC_FORMULA_PLUGIN']=_0xd27543,_0x1dc156['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object['defineProperty'](_0x1dc156,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e85b3;}}),Object['defineProperty'](_0x1dc156,_0x57f770(0x289),{'enumerable':!0x0,'get':function(){return _0x57ea5b;}}),_0x1dc156[_0x57f770(0x1dd)]=_0x419434,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x271),{'enumerable':!0x0,'get':function(){return _0x206277;}}),_0x1dc156['DocFormulaResultStatus']=_0x3e772c,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x1c7),{'enumerable':!0x0,'get':function(){return _0x51a5f5;}}),_0x1dc156[_0x57f770(0x24c)]=_0x2f5e40,_0x1dc156['InvalidDocFormulaInsertRangeError']=_0x4b9dca,_0x1dc156['RemoveDocFormulaCommand']=_0x16b842,_0x1dc156[_0x57f770(0x20b)]=_0x30c2aa,_0x1dc156[_0x57f770(0x15b)]=_0x4fdf1c,_0x1dc156[_0x57f770(0x22d)]=_0x2d9019,_0x1dc156[_0x57f770(0x1dc)]=_0x465b96,_0x1dc156[_0x57f770(0x19e)]=_0x3c50cd,_0x1dc156[_0x57f770(0x220)]=_0x1b5161,Object[_0x57f770(0x1b9)](_0x1dc156,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x2f90cc;}}),_0x1dc156[_0x57f770(0x27d)]=_0x1039f9,_0x1dc156[_0x57f770(0x265)]=_0x36c271,_0x1dc156['buildInsertDocFormulaActions']=_0x2e6ab7,_0x1dc156[_0x57f770(0x201)]=_0x562d2a,_0x1dc156[_0x57f770(0x1d4)]=_0x496d24,_0x1dc156[_0x57f770(0x1fb)]=_0x5e4c14,_0x1dc156[_0x57f770(0x1d0)]=_0x1baa5f,_0x1dc156[_0x57f770(0x1d5)]=_0x339a9d,_0x1dc156[_0x57f770(0x198)]=_0x36e466,_0x1dc156[_0x57f770(0x1bc)]=_0x3f3a71,_0x1dc156[_0x57f770(0x202)]=_0x2c51c9,_0x1dc156[_0x57f770(0x25a)]=_0x5b24ff;}));function _0x4f32(){const _0x5133af=['743850texWAX','FormulaCacheEligibilityService','updates','_univerInstanceService','rangeId','InsertDocFormulaCommand','COLUMN_END','rxjs','pending','registerProvider','12RWrymO','Tools','_service','min','_presentationChanged$','externalReferences','selection','DocSelectionManagerService','getRegisteredFormulas','isFormulaLastValue','slice','UniverCore','filter','some','dataStream','pluginName','map','string','presentation','shiftInclusiveRangeOnInsert','assertSafeDocFormulaInsertRange','TABLE_START','Disposable','startIndex','CellValueType','onStarting','exports','tables','CUSTOM_BLOCK','getCurrentUnitOfType','redoMutation','_formulaKeys','DocFormulaResourceController','stale','boolean','expectedFormula','docs-formula.command.remove','sequenceNodesBuilder','paragraphId','Injector','_setPresentation','referenceRevision','stringify','46BUOpSg','UpdateDocFormulaCommand','_injector','onCommandExecuted','CUSTOM','buildUpsertHostExternalReferenceMutations','_instanceService','keys','_isDisposed','setFormulas','getAllUnitsForType','sort','undoMutation','DocFormulaLifecycleController','@univerjs-pro/docs-formula','add','pattern','@univerjs-pro/engine-formula','version','_change$','JSONX','references','collectMutations','change$','getBodySliceForTextXAction','start','docs-formula.mutation.set-formula','documentRedo','COLUMN_GROUP_START','text','_registrationService','ReplaceDocFormulaWithTextCommand','ICommandService','previousDocumentData','customRanges','getLoadError','getFormula','getScalarFormulaResultCell','DOC_FORMULA_PLUGIN','univer-docs-formula','previousResource','complete','getSnapshot','customBlocks','identity','iterator','schemaVersion','dispose','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','docs-formula.mutation.remove-formula','IConfigService','fromEntries','getParagraphContentStartOffset','nextResource','unsupported-version','assess','find','COMMAND','Inject','numberFormat','textRuns','syncUnit','registerPluginResource','empty','symbol','Subject','nextDocumentData','error','load','RichTextEditingMutation','@univerjs/engine-formula','generateRandomId','cell','documentData','retain','accessor','invalid-resource','degradeBody','eligible','TABLE_ROW_END','source','UniverDocsPlugin','name','getRevision','getBody','resourceRedo','blockRanges','insertLength','docs-formula.command.convert-to-text','UniverLicensePlugin','deepClone','SECTION_BREAK','isDocFormulaConfig','endOffset','docs-formula.command.set-number-format','_registrations','getOwnPropertyDescriptor','resolveText','SetDocFormulaNumberFormatCommand','DOC','formulaResult$','setFormula','trigger','_rawResources','end','object','shiftExclusiveRangeOnInsert','params','_config','DOC_FORMULA_CUSTOM_RANGE_KIND','columnGroups','_syncUnit','_configService','resources','model','color','body','deleteLength','setConfig','_loadErrors','192yCSPaG','liveResult','range','parse','formula','defineProperty','cursorOffset','UniverDocs','isDocFormulaRange','decorate','properties','clear','editOp','resource','_resources','disposeWithMe','config','getResource','resourceUndo','DocFormulaService','ConvertDocFormulaToTextCommand','values','@univerjs/docs','from','UniverEngineFormula','assign','_pendingUnitIds','number','degradeDocFormulaDocumentData','replaceDocRanges','1187685Csobff','resolveFormulaResultPresentation','buildUpdateDocFormulaActions','findDocFormulaRange','IUndoRedoService','BLOCK_START','MUTATION','SUCCESS','rangeType','type','SetDocFormulaMutation','DocFormulaModel','registerFormulaWithRange','unregister','toPrimitive','forEach','success','touchDependencies','presentationChanged$','UniverProDocsFormula','resolveFormula','set','externalMutations','target','_syncScheduled','UniverInstanceType','shiftExclusiveRangeOnDelete','syncExecuteCommand','DOC_SELECTION_OPTION_PRESERVE_CARET','startOffset','@univerjs/core','function','4226HzSoVV','CommandType','data','IUniverInstanceService','330174CveFNH','packageName','_hostExternalReferenceModel','formulaId','customDecorations','createEmptyDocFormulaResource','segmentId','resolveBinding','getUnitId','get','59017AvABTT','buildRemoveDocFormulaActions','isDocFormulaResource','_preserveInvalid','LexerTreeBuilder','FormulaLastValuePersistenceService','HostExternalReferenceModel','_cacheEligibilityService','call','docs-formula.command.insert','_formulaService','RemoveDocFormulaMutation','wholeEntity','_queueSync','UNIVER_DOC','formulas','trim','_model','getUnit','TABLE_END','DocTextResolverService','delete','expectedReferenceRevision','register','getResult','max','DataStreamTreeTokenType','getCustomRangeInterval','CustomRangeType','insert','getFormulas','paragraphs','SetDocFormulaResourceMutation','has','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','Plugin','FormulaResultStatus','document','pushUndoRedo','19449iwnrGU','sectionBreaks','_deleteRegistration','IResourceManagerService','entries','unregisterUnit','SetDocFormulaLastValuesMutation','deleteFormula','setResource','merge','removeFormula','removeUnit','_docFormulaModel','256734FrqHQj','includes','push','position','serialize','getFormulaValueSync','endIndex','length','getPresentation','UniverProEngineFormula','PARAGRAPH','isInteger','next','COLUMN_GROUP_END','unitId','subscribe','_commandService','expectedNumberFormat','lastValue'];_0x4f32=function(){return _0x5133af;};return _0x4f32();}
|
|
1
|
+
function _0x4d7b(_0x467cd6,_0x4c92fb){_0x467cd6=_0x467cd6-0x12c;const _0x54e04d=_0x54e0();let _0x4d7b6e=_0x54e04d[_0x467cd6];return _0x4d7b6e;}function _0x54e0(){const _0x1c8c45=['getFormulaValueSync','expectedNumberFormat','decorate','createEmptyDocFormulaResource','empty','notifyTextChanged','PENDING','UniverProFormulaEnginePlugin','previousDocumentData','TextX','SetDocFormulaMutation','expectedReferenceRevision','params','getCustomRangeInterval','eligible','setConfig','text','CommandType','getLoadError','status','trigger','isFormulaLastValue','disposeWithMe','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','liveResult','externalReferences','assign','registerFormulaWithRange','_change$','getUnitId','call','FormulaLastValuePersistenceService','Subject','error','map','isDocFormulaRange','DependentOn','UniverDocs','expectedFormula','constructor','endOffset','forEach','shiftInclusiveRangeOnInsert','DocFormulaResourceController','UniverProDocsFormula','paragraphs','docs-formula.command.remove','2gyEBKb','startIndex','referenceRevision','getResource','dispose','startOffset','load','1.0.3','setResource','TABLE_CELL_END','PARAGRAPH','TABLE_START','DOC_FORMULA_PLUGIN','get','documentData','unitId','undoMutation','references','_model','docs-formula.command.replace-with-text','1735YAuVmH','getUnit','cursorOffset','includes','wholeEntity','getAllUnitsForType','10963841vCbRZh','HostExternalReferenceModel','set','getFormulas','UniverEngineFormula','end','kind','pending','Injector','findDocFormulaRange','_instanceService','DocTextResolverService','CUSTOM','presentationChanged$','12984YGXkrk','RemoveDocFormulaMutation','isDocFormulaResource','buildUpdateDocFormulaActions','serialize','textRuns','default','invalid-resource','boolean','filter','ReplaceDocFormulaWithTextCommand','resolved','register','MUTATION','removeFormula','customDecorations','_rawResources','UNIVER_DOC','identity','getParagraphContentStartOffset','change$','docs-formula.mutation.set-resource','retain','model','getCurrentUnitOfType','documentRedo','resolveText','ICommandService','next','syncExecuteCommand','insertLength','position','object','version','name','docs-formula.command.set-number-format','onStarting','rxjs','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','sectionBreaks','endIndex','range','@univerjs/engine-formula','7979288ntshCE','setFormula','_cacheEligibilityService','start','COLUMN_GROUP_START','buildInsertDocFormulaActions','clear','_docFormulaModel','ConvertDocFormulaToTextCommand','values','shiftExclusiveRangeOnInsert','docs-formula.mutation.set-formula','add','isDocFormulaConfig','getBody','nextDocumentData','max','formula','resources','DocFormulaResultStatus','slice','SECTION_BREAK','rangeId','entries','success','trim','RemoveDocFormulaCommand','SetDocFormulaResourceMutation','_configService','_formulaService','FormulaResultStatus','color','@univerjs-pro/engine-formula','document','body','SetDocFormulaNumberFormatCommand','tables','rangeType','DataStreamTreeTokenType','registerPluginResource','keys','UniverCore','_registrationService','symbol','toStringTag','univer-docs-formula','InsertDocFormulaCommand','registerCommand','blockRanges','removeUnit','resolveHostFormulaExternalReferences','length','formulaResult$','TABLE_END','getRevision','dataStream','delete','isInteger','exports','_isDisposed','_deleteRegistration','touchDependencies','_syncUnit','startsWith','unsupported-version','packageName','lastValue','unregister','@univerjs-pro/docs-formula','CellValueType','string','type','resolveFormula','getResult','generateRandomId','RichTextEditingMutation','461531CyKVUD','unitAdded$','has','BLOCK_END','resourceRedo','@univerjs/core','getFormula','shiftInclusiveRangeOnDelete','_registrations','_syncScheduled','disabled','COLUMN_GROUP_END','toPrimitive','_preserveInvalid','endsWith','complete','selection','getRegisteredFormulas','resourceUndo','formulas','UniverInstanceType','deepClone','toFormulaLastValue','COMMAND','editOp','segmentId','9432036MmVbAs','_pendingUnitIds','externalMutations','pattern','Tools','CustomRangeType','UniverDocsPlugin','getScalarFormulaResultCell','DocSelectionManagerService','OtherFormulaBizType','_formulaKeys','getRichTextEditPath','_injector','IResourceManagerService','previousResource','_service','deleteLength','UniverLicensePlugin','number','_univerInstanceService','redoMutation','prototype','_updateFormulaResult','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','_setPresentation','parse','min','customRanges','presentation','_presentationChanged$','Inject','_resourceManagerService','ERROR','_queueSync','function','properties','columnGroups','find','assess','schemaVersion','IUniverInstanceService','fromEntries','Module','InvalidDocFormulaInsertRangeError','merge','760812vDbiDT','DOC_FORMULA_SCHEMA_VERSION','customBlocks','registerProvider','formulaId','collectFormulaExternalReferenceQualifiers','iterator','docs-formula.command.update','amd','SUCCESS','defineProperty','DocFormulaService','resource','getInstance','getPresentation','docs-formula.command.insert','buildUpsertHostExternalReferenceMutations','TABLE_CELL_START','pushUndoRedo','_loadErrors','from','syncUnit','_hostExternalReferenceModel','replaceDocRanges','accessor','setFormulas','_resources','numberFormat','LexerTreeBuilder','cell','BLOCK_START','subscribe','Disposable','getOwnPropertyDescriptor','insert','RegisterOtherFormulaService','sort','updates','resolveFormulaResultPresentation','docs-formula.command.convert-to-text','unregisterUnit','data','paragraphId','6841296cOTFez','stale','config','getSnapshot','paragraph','DocFormulaDisplayTextService','assertSafeDocFormulaInsertRange','asObservable','UpdateDocFormulaCommand','_config'];_0x54e0=function(){return _0x1c8c45;};return _0x54e0();}(function(_0x4c4f3d,_0x30f3d0){const _0x4c21b0=_0x4d7b,_0x16b446=_0x4c4f3d();while(!![]){try{const _0x527eba=-parseInt(_0x4c21b0(0x154))/0x1+-parseInt(_0x4c21b0(0x1ff))/0x2*(parseInt(_0x4c21b0(0x19b))/0x3)+-parseInt(_0x4c21b0(0x227))/0x4*(-parseInt(_0x4c21b0(0x213))/0x5)+-parseInt(_0x4c21b0(0x1c6))/0x6+parseInt(_0x4c21b0(0x219))/0x7+parseInt(_0x4c21b0(0x252))/0x8+-parseInt(_0x4c21b0(0x16e))/0x9;if(_0x527eba===_0x30f3d0)break;else _0x16b446['push'](_0x16b446['shift']());}catch(_0xc84206){_0x16b446['push'](_0x16b446['shift']());}}}(_0x54e0,0xc00f9),function(_0xc92bff,_0x49ea38){const _0xfcae61=_0x4d7b;typeof exports==_0xfcae61(0x247)&&typeof module<'u'?_0x49ea38(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0xfcae61(0x1a3)]?define([_0xfcae61(0x142),_0xfcae61(0x272),_0xfcae61(0x159),'@univerjs/docs',_0xfcae61(0x251),'rxjs','@univerjs-pro/license'],_0x49ea38):(_0xc92bff=typeof globalThis<'u'?globalThis:_0xc92bff||self,_0x49ea38(_0xc92bff[_0xfcae61(0x1fc)]={},_0xc92bff['UniverProEngineFormula'],_0xc92bff[_0xfcae61(0x131)],_0xc92bff[_0xfcae61(0x1f5)],_0xc92bff[_0xfcae61(0x21d)],_0xc92bff[_0xfcae61(0x24c)],_0xc92bff['UniverProLicense']));}(this,function(_0xe6425f,_0x305999,_0x35ada0,_0x56ff97,_0x409f17,_0x4d1d3a,_0x33899c){const _0x5e1fd7=_0x4d7b;Object['defineProperty'](_0xe6425f,Symbol[_0x5e1fd7(0x134)],{'value':_0x5e1fd7(0x198)});let _0x542a71=_0x5e1fd7(0x20b),_0x24a7cd='univer-docs-formula';function _0x3fca4a(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c1ccf(_0x465503){const _0x40d384=_0x5e1fd7;return!_0x465503||typeof _0x465503!=_0x40d384(0x247)||!_0x3ecd0b(_0x465503,[_0x40d384(0x195),'formulas'])||!(_0x40d384(0x195)in _0x465503)||_0x465503[_0x40d384(0x195)]!==0x1||!(_0x40d384(0x167)in _0x465503)||!_0x465503['formulas']||typeof _0x465503['formulas']!='object'||Array['isArray'](_0x465503[_0x40d384(0x167)])?!0x1:Object[_0x40d384(0x269)](_0x465503[_0x40d384(0x167)])['every'](([_0x323364,_0x55459a])=>_0x323364[_0x40d384(0x13b)]>0x0&&_0x4983da(_0x55459a));}function _0x4983da(_0x5ea632){const _0x577c9e=_0x5e1fd7;return!_0x5ea632||typeof _0x5ea632!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632,[_0x577c9e(0x263),_0x577c9e(0x1b6),_0x577c9e(0x14a)])||!(_0x577c9e(0x263)in _0x5ea632)||typeof _0x5ea632[_0x577c9e(0x263)]!=_0x577c9e(0x14e)||!_0x5ea632['formula'][_0x577c9e(0x26b)]()||_0x577c9e(0x1b6)in _0x5ea632&&_0x5ea632[_0x577c9e(0x1b6)]!=null&&(typeof _0x5ea632['numberFormat']!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632[_0x577c9e(0x1b6)],[_0x577c9e(0x171)])||!(_0x577c9e(0x171)in _0x5ea632['numberFormat'])||typeof _0x5ea632[_0x577c9e(0x1b6)][_0x577c9e(0x171)]!=_0x577c9e(0x14e))?!0x1:!('lastValue'in _0x5ea632)||_0x5ea632[_0x577c9e(0x14a)]==null||_0x544890(_0x5ea632[_0x577c9e(0x14a)]);}function _0x544890(_0x3b008d){const _0x1544a8=_0x5e1fd7;return!_0x3b008d||typeof _0x3b008d!=_0x1544a8(0x247)||!_0x3ecd0b(_0x3b008d,['v','t',_0x1544a8(0x171)])||!('v'in _0x3b008d)||_0x3b008d['v']!==null&&typeof _0x3b008d['v']!=_0x1544a8(0x14e)&&typeof _0x3b008d['v']!=_0x1544a8(0x180)&&typeof _0x3b008d['v']!=_0x1544a8(0x22f)||'t'in _0x3b008d&&_0x3b008d['t']!=null&&!_0x83aac2(_0x3b008d['t'])?!0x1:!(_0x1544a8(0x171)in _0x3b008d)||_0x3b008d['pattern']==null||typeof _0x3b008d[_0x1544a8(0x171)]==_0x1544a8(0x14e);}function _0x3ecd0b(_0x49edea,_0x2ee457){const _0x45515b=_0x5e1fd7;let _0x1de38c=new Set(_0x2ee457);return Object['keys'](_0x49edea)['every'](_0x49c546=>_0x1de38c[_0x45515b(0x156)](_0x49c546));}function _0x83aac2(_0x58f280){const _0xe1ec6a=_0x5e1fd7;return typeof _0x58f280==_0xe1ec6a(0x180)&&Object[_0xe1ec6a(0x25b)](_0x35ada0[_0xe1ec6a(0x14d)])[_0xe1ec6a(0x216)](_0x58f280);}let _0x5bfed7=new Set([_0x35ada0[_0x5e1fd7(0x12e)]['SECTION_BREAK'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x20a)],_0x35ada0['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x1ac)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x208)],_0x35ada0[_0x5e1fd7(0x12e)]['TABLE_ROW_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x13d)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x256)],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_START'],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x15f)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x1b9)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x157)],_0x35ada0[_0x5e1fd7(0x12e)]['CUSTOM_BLOCK']]);var _0x84039e=class extends Error{constructor(){const _0x356e31=_0x5e1fd7;super(_0x356e31(0x185));}};function _0x50a02c(_0x50a9f1){const _0x560c44=_0x5e1fd7;var _0x36c1d1,_0x2d6722;let _0xddc41b=_0x35ada0['Tools'][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x20d)]),_0x3cbb64=_0x55248a(_0xddc41b),{startOffset:_0x57b3aa,endOffset:_0x7a2c4b}=_0x1c47bf(_0x3cbb64,_0x50a9f1[_0x560c44(0x204)],_0x50a9f1[_0x560c44(0x1f8)]);_0x5eec39(_0x3cbb64,_0x57b3aa,_0x7a2c4b);let _0x4e2b89=((_0x36c1d1=_0x3cbb64['customRanges'])==null?void 0x0:_0x36c1d1[_0x560c44(0x230)](_0x3999ba=>{const _0x5f0e0d=_0x560c44;if(!_0x5646e5(_0x3999ba))return!0x1;let _0x30abd5=(0x0,_0x35ada0[_0x5f0e0d(0x1dd)])(_0x3999ba);return _0x30abd5[_0x5f0e0d(0x1f8)]>_0x57b3aa&&_0x30abd5[_0x5f0e0d(0x204)]<_0x7a2c4b;})[_0x560c44(0x1f2)](_0x104b10=>_0x104b10[_0x560c44(0x268)]))??[];_0x5ebec6(_0x3cbb64,_0x57b3aa,_0x7a2c4b,''),_0x3cbb64[_0x560c44(0x189)]=[...((_0x2d6722=_0x3cbb64[_0x560c44(0x189)])==null?void 0x0:_0x2d6722[_0x560c44(0x230)](_0x2f412a=>!_0x4e2b89['includes'](_0x2f412a[_0x560c44(0x268)])&&_0x2f412a[_0x560c44(0x268)]!==_0x50a9f1['rangeId']))??[],_0x19ca4d(_0x50a9f1[_0x560c44(0x268)],_0x57b3aa)][_0x560c44(0x1bf)]((_0x4c9c84,_0xdf1573)=>_0x4c9c84[_0x560c44(0x200)]-_0xdf1573[_0x560c44(0x200)]);let _0x4a56dd=_0x32e049(_0x50a9f1[_0x560c44(0x1a7)]);return _0x4e2b89[_0x560c44(0x1f9)](_0x1c70b2=>{const _0x31cd87=_0x560c44;delete _0x4a56dd[_0x31cd87(0x167)][_0x1c70b2];}),_0x4a56dd[_0x560c44(0x167)][_0x50a9f1[_0x560c44(0x268)]]=_0x35ada0[_0x560c44(0x172)][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x1c8)]),{'nextDocumentData':_0xddc41b,'nextResource':_0x4a56dd,'cursorOffset':_0x57b3aa+0x1};}function _0x424b69(_0x1254b6){const _0x35d067=_0x5e1fd7;var _0x3d05f7,_0x52471c;let _0x5112ae=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6['documentData']),_0x265ea7=(_0x3d05f7=_0x55248a(_0x5112ae)[_0x35d067(0x189)])==null?void 0x0:_0x3d05f7[_0x35d067(0x193)](_0x495e8b=>_0x495e8b['rangeId']===_0x1254b6[_0x35d067(0x268)]&&_0x5646e5(_0x495e8b));if(!_0x265ea7||!((_0x52471c=_0x1254b6[_0x35d067(0x1a7)])!=null&&_0x52471c[_0x35d067(0x167)][_0x1254b6['rangeId']]))return null;let _0x34c6fc=_0x32e049(_0x1254b6['resource']);return _0x34c6fc[_0x35d067(0x167)][_0x1254b6['rangeId']]=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6[_0x35d067(0x1c8)]),{'nextDocumentData':_0x5112ae,'nextResource':_0x34c6fc,'cursorOffset':_0x265ea7['endIndex']+0x1};}function _0x44ab43(_0x44dd1e){const _0x29c326=_0x5e1fd7;let _0x3b7da1=_0x35ada0[_0x29c326(0x172)][_0x29c326(0x169)](_0x44dd1e[_0x29c326(0x20d)]),_0x4cf908=_0x3ff7e6(_0x3b7da1,_0x44dd1e[_0x29c326(0x268)],_0x44dd1e[_0x29c326(0x1e0)]??'');if(_0x4cf908==null)return null;let _0x5b7a66=_0x32e049(_0x44dd1e[_0x29c326(0x1a7)]);return delete _0x5b7a66[_0x29c326(0x167)][_0x44dd1e[_0x29c326(0x268)]],{'nextDocumentData':_0x3b7da1,'nextResource':_0x5b7a66,'cursorOffset':_0x4cf908};}function _0x562951(_0x51a45a,_0xe5b58a){const _0x33056d=_0x5e1fd7;var _0x29699b;let _0x10c1d8=_0x35ada0['Tools'][_0x33056d(0x169)](_0x51a45a),_0x5c22f9=_0x10c1d8[_0x33056d(0x274)];if(!_0x5c22f9)return _0x10c1d8;let _0x5a714e=new Map(_0xe5b58a[_0x33056d(0x1f2)](_0x560176=>[_0x560176[_0x33056d(0x268)],_0x560176[_0x33056d(0x1e0)]])),_0x3f6ed7=((_0x29699b=_0x5c22f9['customRanges'])==null?void 0x0:_0x29699b[_0x33056d(0x230)](_0xbbf63a=>_0x5646e5(_0xbbf63a)&&_0x5a714e[_0x33056d(0x156)](_0xbbf63a[_0x33056d(0x268)]))['sort']((_0xc9f1bc,_0x3464be)=>_0x3464be[_0x33056d(0x200)]-_0xc9f1bc[_0x33056d(0x200)]))??[];for(let _0x28568a of _0x3f6ed7)_0x3ff7e6(_0x10c1d8,_0x28568a['rangeId'],_0x5a714e[_0x33056d(0x20c)](_0x28568a[_0x33056d(0x268)])??'');return _0x10c1d8;}function _0x5646e5(_0x2b67b6){const _0x51cb72=_0x5e1fd7;var _0x2c2ed0;return(_0x2b67b6==null?void 0x0:_0x2b67b6[_0x51cb72(0x12d)])===_0x35ada0[_0x51cb72(0x173)]['CUSTOM']&&_0x2b67b6[_0x51cb72(0x217)]===!0x0&&((_0x2c2ed0=_0x2b67b6[_0x51cb72(0x191)])==null?void 0x0:_0x2c2ed0[_0x51cb72(0x21f)])===_0x51cb72(0x135);}function _0x251f7a(_0x5c8a20,_0x16ac7d){const _0x3e0c7e=_0x5e1fd7;var _0x37d6d5;return _0x5c8a20==null||(_0x37d6d5=_0x5c8a20[_0x3e0c7e(0x189)])==null?void 0x0:_0x37d6d5[_0x3e0c7e(0x193)](_0x2f18ee=>_0x2f18ee[_0x3e0c7e(0x268)]===_0x16ac7d&&_0x5646e5(_0x2f18ee));}function _0x5eec39(_0x4727a0,_0x3a4dc9,_0x33aa1f){const _0x1a6570=_0x5e1fd7;if(_0x3a4dc9===_0x33aa1f){if(_0x5bfed7['has'](_0x4727a0[_0x1a6570(0x13f)][_0x3a4dc9]))throw new _0x84039e();return;}for(let _0x986aee=_0x3a4dc9;_0x986aee<_0x33aa1f;_0x986aee++)if(_0x4727a0[_0x1a6570(0x13f)][_0x986aee]===_0x35ada0[_0x1a6570(0x12e)][_0x1a6570(0x209)]||_0x5bfed7[_0x1a6570(0x156)](_0x4727a0[_0x1a6570(0x13f)][_0x986aee]))throw new _0x84039e();}function _0x19ca4d(_0x25c009,_0x43288e){const _0x3a3f97=_0x5e1fd7;return{'startIndex':_0x43288e,'endIndex':_0x43288e,'rangeId':_0x25c009,'rangeType':_0x35ada0[_0x3a3f97(0x173)][_0x3a3f97(0x225)],'wholeEntity':!0x0,'properties':{'kind':_0x24a7cd}};}function _0x32e049(_0x268fd0){const _0x3d3ee9=_0x5e1fd7;return _0x268fd0?_0x35ada0[_0x3d3ee9(0x172)]['deepClone'](_0x268fd0):_0x3fca4a();}function _0x1c47bf(_0x460d41,_0x8381,_0x2da49c){const _0x51b676=_0x5e1fd7;let _0x372e71=_0x3113f0(_0x460d41),_0x437987=_0x8381??_0x372e71,_0x10ac0f=_0x2da49c??_0x437987;return{'startOffset':_0x15bf95(Math['min'](_0x437987,_0x10ac0f),_0x372e71),'endOffset':_0x15bf95(Math[_0x51b676(0x262)](_0x437987,_0x10ac0f),_0x372e71)};}function _0x15bf95(_0x189eb5,_0x561184){const _0x4ffe7d=_0x5e1fd7;return Math['max'](0x0,Math[_0x4ffe7d(0x188)](_0x189eb5,_0x561184));}function _0x3113f0(_0x9aafcb){const _0x46922f=_0x5e1fd7;return _0x9aafcb['dataStream']['endsWith'](''+_0x35ada0['DataStreamTreeTokenType'][_0x46922f(0x209)]+_0x35ada0['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x2):_0x9aafcb['dataStream'][_0x46922f(0x162)](_0x35ada0[_0x46922f(0x12e)][_0x46922f(0x267)])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x1):_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)];}function _0x5ebec6(_0x220718,_0x508ddd,_0x40fa2d,_0x155539){_0x40fa2d>_0x508ddd&&_0x27342e(_0x220718,_0x508ddd,_0x40fa2d),_0x270215(_0x220718,_0x508ddd,_0x155539);}function _0x3ff7e6(_0x23914c,_0x3001ea,_0x2e8814){const _0x292275=_0x5e1fd7;var _0x5419f8,_0x42457c;let _0x2e66c7=_0x55248a(_0x23914c),_0x349e77=(_0x5419f8=_0x2e66c7['customRanges'])==null?void 0x0:_0x5419f8['find'](_0x2b70e0=>_0x2b70e0[_0x292275(0x268)]===_0x3001ea&&_0x5646e5(_0x2b70e0));if(!_0x349e77)return null;let _0x460184=(0x0,_0x35ada0[_0x292275(0x1dd)])(_0x349e77);return _0x5ebec6(_0x2e66c7,_0x460184[_0x292275(0x204)],_0x460184[_0x292275(0x1f8)],_0x2e8814),_0x2e66c7['customRanges']=(_0x42457c=_0x2e66c7[_0x292275(0x189)])==null?void 0x0:_0x42457c[_0x292275(0x230)](_0x1558c3=>_0x1558c3['rangeId']!==_0x3001ea),_0x460184['startOffset']+_0x2e8814['length'];}function _0x270215(_0xf390c8,_0x2a6026,_0x1dbaa8){const _0x52ba5e=_0x5e1fd7;_0x1dbaa8&&(_0xf390c8[_0x52ba5e(0x13f)]=''+_0xf390c8[_0x52ba5e(0x13f)][_0x52ba5e(0x266)](0x0,_0x2a6026)+_0x1dbaa8+_0xf390c8['dataStream'][_0x52ba5e(0x266)](_0x2a6026),_0x5985c5(_0xf390c8,_0x2a6026,_0x1dbaa8[_0x52ba5e(0x13b)]));}function _0x27342e(_0x3a90f5,_0x3346ef,_0x502d79){const _0x3a5348=_0x5e1fd7;let _0x47d91f=_0x502d79-_0x3346ef;_0x3a90f5[_0x3a5348(0x13f)]=''+_0x3a90f5[_0x3a5348(0x13f)]['slice'](0x0,_0x3346ef)+_0x3a90f5[_0x3a5348(0x13f)][_0x3a5348(0x266)](_0x502d79),_0x5d040c(_0x3a90f5,_0x3346ef,_0x47d91f);}function _0x5985c5(_0x380e23,_0x5f31f0,_0x89a62b){const _0x2ea72f=_0x5e1fd7;_0x380e23[_0x2ea72f(0x1fd)]=_0x3722f6(_0x380e23[_0x2ea72f(0x1fd)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x24e)]=_0x3722f6(_0x380e23[_0x2ea72f(0x24e)],_0x5f31f0,_0x89a62b),_0x380e23['customBlocks']=_0x3722f6(_0x380e23[_0x2ea72f(0x19d)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x22c)]=_0x40bc08(_0x380e23['textRuns'],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x12c)]=_0x181e36(_0x380e23[_0x2ea72f(0x12c)],_0x5f31f0,_0x89a62b),_0x380e23['columnGroups']=_0x41f534(_0x380e23[_0x2ea72f(0x192)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x189)]=_0x41f534(_0x380e23[_0x2ea72f(0x189)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x236)]=_0x41f534(_0x380e23[_0x2ea72f(0x236)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x138)]=_0x41f534(_0x380e23[_0x2ea72f(0x138)],_0x5f31f0,_0x89a62b);}function _0x5d040c(_0x59ddfc,_0x26464c,_0x5d9c6e){const _0x100207=_0x5e1fd7;var _0x4e2a21,_0x581e71;_0x59ddfc[_0x100207(0x1fd)]=_0x15d5cc(_0x59ddfc[_0x100207(0x1fd)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x24e)]=_0x15d5cc(_0x59ddfc[_0x100207(0x24e)],_0x26464c,_0x5d9c6e),_0x59ddfc['customBlocks']=_0x15d5cc(_0x59ddfc[_0x100207(0x19d)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x22c)]=(_0x4e2a21=_0x1f02cf((_0x581e71=_0x59ddfc['textRuns'])==null?void 0x0:_0x581e71[_0x100207(0x1f2)](_0xe39058=>({..._0xe39058,'startIndex':_0xe39058['st'],'endIndex':_0xe39058['ed']})),_0x26464c,_0x5d9c6e))==null?void 0x0:_0x4e2a21[_0x100207(0x1f2)](_0x5be1dd=>{let {startIndex:_0x1b22e8,endIndex:_0x21ead8,..._0x3d151f}=_0x5be1dd;return{..._0x3d151f,'st':_0x1b22e8,'ed':_0x21ead8};}),_0x59ddfc[_0x100207(0x12c)]=_0x1f02cf(_0x59ddfc[_0x100207(0x12c)],_0x26464c,_0x5d9c6e),_0x59ddfc['columnGroups']=_0x192edd(_0x59ddfc[_0x100207(0x192)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x189)]=_0x192edd(_0x59ddfc[_0x100207(0x189)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x236)]=_0x192edd(_0x59ddfc[_0x100207(0x236)],_0x26464c,_0x5d9c6e),_0x59ddfc['blockRanges']=_0x192edd(_0x59ddfc['blockRanges'],_0x26464c,_0x5d9c6e);}function _0x3722f6(_0x211b97,_0x3d20f3,_0x5514db){const _0x59c477=_0x5e1fd7;return _0x211b97==null?void 0x0:_0x211b97['map'](_0x381872=>_0x381872['startIndex']>=_0x3d20f3?{..._0x381872,'startIndex':_0x381872[_0x59c477(0x200)]+_0x5514db}:_0x381872);}function _0x15d5cc(_0xeff995,_0x57776f,_0x58ff4d){const _0x3de58d=_0x5e1fd7;let _0x5e2356=_0x57776f+_0x58ff4d;return _0xeff995==null?void 0x0:_0xeff995[_0x3de58d(0x1f2)](_0x501085=>_0x501085[_0x3de58d(0x200)]>=_0x57776f&&_0x501085[_0x3de58d(0x200)]<_0x5e2356?null:_0x501085[_0x3de58d(0x200)]>=_0x5e2356?{..._0x501085,'startIndex':_0x501085[_0x3de58d(0x200)]-_0x58ff4d}:_0x501085)[_0x3de58d(0x230)](_0x465f29=>_0x465f29!=null);}function _0x40bc08(_0x401165,_0x219ab5,_0x4fd9f4){const _0x1033b8=_0x5e1fd7;return _0x401165==null?void 0x0:_0x401165[_0x1033b8(0x1f2)](_0x3979dd=>_0x3979dd['st']>=_0x219ab5?{..._0x3979dd,'st':_0x3979dd['st']+_0x4fd9f4,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd['ed']>_0x219ab5?{..._0x3979dd,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd);}function _0x41f534(_0x44ba2e,_0x5d5ba0,_0x1c9e9d){const _0x2cd7ad=_0x5e1fd7;return _0x44ba2e==null?void 0x0:_0x44ba2e[_0x2cd7ad(0x1f2)](_0x29eb67=>(0x0,_0x35ada0[_0x2cd7ad(0x1fa)])(_0x29eb67,_0x5d5ba0,_0x1c9e9d));}function _0x181e36(_0x2eac79,_0x570d83,_0x4c1924){const _0x4d702a=_0x5e1fd7;return _0x2eac79==null?void 0x0:_0x2eac79[_0x4d702a(0x1f2)](_0x4b765e=>(0x0,_0x35ada0[_0x4d702a(0x25c)])(_0x4b765e,_0x570d83,_0x4c1924));}function _0x192edd(_0x4e48ba,_0x1ab84d,_0x5ace19){const _0x2b5d32=_0x5e1fd7;return _0x4e48ba==null?void 0x0:_0x4e48ba[_0x2b5d32(0x1f2)](_0x55a11e=>(0x0,_0x35ada0[_0x2b5d32(0x15b)])(_0x55a11e,_0x1ab84d,_0x5ace19))['filter'](_0x1e3002=>_0x1e3002!=null);}function _0x1f02cf(_0x567321,_0x9d55d9,_0x47308e){const _0x4b2e55=_0x5e1fd7;return _0x567321==null?void 0x0:_0x567321[_0x4b2e55(0x1f2)](_0x225b12=>(0x0,_0x35ada0['shiftExclusiveRangeOnDelete'])(_0x225b12,_0x9d55d9,_0x47308e))[_0x4b2e55(0x230)](_0x199b9e=>_0x199b9e!=null);}function _0x55248a(_0x33bd2c){const _0x36d11d=_0x5e1fd7;if(!_0x33bd2c['body'])throw Error(_0x36d11d(0x24d));return _0x33bd2c[_0x36d11d(0x274)];}function _0x571c01(_0x523e41){'@babel/helpers - typeof';const _0x5a3706=_0x5e1fd7;return _0x571c01=typeof Symbol==_0x5a3706(0x190)&&typeof Symbol[_0x5a3706(0x1a1)]==_0x5a3706(0x133)?function(_0x517ea1){return typeof _0x517ea1;}:function(_0x220aab){const _0x20222d=_0x5a3706;return _0x220aab&&typeof Symbol==_0x20222d(0x190)&&_0x220aab[_0x20222d(0x1f7)]===Symbol&&_0x220aab!==Symbol[_0x20222d(0x183)]?'symbol':typeof _0x220aab;},_0x571c01(_0x523e41);}function _0x475ca1(_0x500c95,_0x387465){const _0x53c3b4=_0x5e1fd7;if(_0x571c01(_0x500c95)!=_0x53c3b4(0x247)||!_0x500c95)return _0x500c95;var _0x18b123=_0x500c95[Symbol[_0x53c3b4(0x160)]];if(_0x18b123!==void 0x0){var _0xdd4310=_0x18b123[_0x53c3b4(0x1ee)](_0x500c95,_0x387465||_0x53c3b4(0x22d));if(_0x571c01(_0xdd4310)!=_0x53c3b4(0x247))return _0xdd4310;throw TypeError(_0x53c3b4(0x1e7));}return(_0x387465===_0x53c3b4(0x14e)?String:Number)(_0x500c95);}function _0x59f7c5(_0x44cf15){const _0x532ed3=_0x5e1fd7;var _0x5b0f65=_0x475ca1(_0x44cf15,_0x532ed3(0x14e));return _0x571c01(_0x5b0f65)==_0x532ed3(0x133)?_0x5b0f65:_0x5b0f65+'';}function _0x427b68(_0x382e2a,_0x5a305f,_0x4d9065){const _0x421e24=_0x5e1fd7;return(_0x5a305f=_0x59f7c5(_0x5a305f))in _0x382e2a?Object[_0x421e24(0x1a5)](_0x382e2a,_0x5a305f,{'value':_0x4d9065,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x382e2a[_0x5a305f]=_0x4d9065,_0x382e2a;}var _0xde1cef=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(..._0x24310b){const _0x5b119a=_0x5e1fd7;super(..._0x24310b),_0x427b68(this,_0x5b119a(0x1b5),new Map()),_0x427b68(this,_0x5b119a(0x237),new Map()),_0x427b68(this,_0x5b119a(0x1ae),new Map()),_0x427b68(this,_0x5b119a(0x1ec),new _0x4d1d3a[(_0x5b119a(0x1f0))]()),_0x427b68(this,_0x5b119a(0x23b),this['_change$'][_0x5b119a(0x1cd)]());}[_0x5e1fd7(0x15a)](_0x5c3900,_0x3d55a9){const _0xd70ae8=_0x5e1fd7;var _0x46ebd1;let _0x33aa58=(_0x46ebd1=this['_resources'][_0xd70ae8(0x20c)](_0x5c3900))==null?void 0x0:_0x46ebd1[_0xd70ae8(0x167)][_0x3d55a9];return _0x33aa58?_0x35ada0[_0xd70ae8(0x172)]['deepClone'](_0x33aa58):void 0x0;}[_0x5e1fd7(0x21c)](_0x13d3ab){const _0x2872cf=_0x5e1fd7;var _0x2f1301;return _0x35ada0[_0x2872cf(0x172)][_0x2872cf(0x169)](((_0x2f1301=this['_resources'][_0x2872cf(0x20c)](_0x13d3ab))==null?void 0x0:_0x2f1301[_0x2872cf(0x167)])??{});}[_0x5e1fd7(0x202)](_0x3213bd){const _0x3b3999=_0x5e1fd7;let _0x320e34=this[_0x3b3999(0x1b5)][_0x3b3999(0x20c)](_0x3213bd);return _0x320e34?_0x35ada0[_0x3b3999(0x172)][_0x3b3999(0x169)](_0x320e34):void 0x0;}[_0x5e1fd7(0x253)](_0x4d4c0e,_0x1a5cc1,_0x412170){return this['setFormulas'](_0x4d4c0e,{[_0x1a5cc1]:_0x412170});}[_0x5e1fd7(0x207)](_0x2a532a,_0x16961c){const _0x2a40ab=_0x5e1fd7;return this[_0x2a40ab(0x1ae)][_0x2a40ab(0x156)](_0x2a532a)||!_0x2c1ccf(_0x16961c)?!0x1:(this['_resources']['set'](_0x2a532a,_0x35ada0[_0x2a40ab(0x172)][_0x2a40ab(0x169)](_0x16961c)),this['_change$'][_0x2a40ab(0x243)]({'unitId':_0x2a532a}),!0x0);}[_0x5e1fd7(0x1b4)](_0x68e8f6,_0x335f60){const _0x191920=_0x5e1fd7;if(this['_loadErrors'][_0x191920(0x156)](_0x68e8f6)||!Object[_0x191920(0x130)](_0x335f60)['length']||!_0x2c1ccf({'schemaVersion':0x1,'formulas':_0x335f60}))return!0x1;let _0x35aab1=this[_0x191920(0x1b5)]['get'](_0x68e8f6)??_0x3fca4a(),_0x3862c9=_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x35aab1);return Object[_0x191920(0x1ea)](_0x3862c9['formulas'],_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x335f60)),this[_0x191920(0x1b5)]['set'](_0x68e8f6,_0x3862c9),this[_0x191920(0x1ec)][_0x191920(0x243)]({'unitId':_0x68e8f6,'rangeIds':Object[_0x191920(0x130)](_0x335f60)}),!0x0;}[_0x5e1fd7(0x235)](_0x119d43,_0x2e78cc){const _0x483367=_0x5e1fd7;if(this[_0x483367(0x1ae)][_0x483367(0x156)](_0x119d43))return!0x1;let _0x4b60c8=this['_resources'][_0x483367(0x20c)](_0x119d43);if(!(_0x4b60c8!=null&&_0x4b60c8[_0x483367(0x167)][_0x2e78cc]))return!0x1;let _0x3cc0c2=_0x35ada0[_0x483367(0x172)][_0x483367(0x169)](_0x4b60c8);return delete _0x3cc0c2[_0x483367(0x167)][_0x2e78cc],this[_0x483367(0x1b5)][_0x483367(0x21b)](_0x119d43,_0x3cc0c2),this[_0x483367(0x1ec)][_0x483367(0x243)]({'unitId':_0x119d43,'rangeIds':[_0x2e78cc]}),!0x0;}[_0x5e1fd7(0x205)](_0x56b4d2,_0x5c1cf8){const _0x371e7a=_0x5e1fd7;return _0x5c1cf8&&typeof _0x5c1cf8==_0x371e7a(0x247)&&_0x371e7a(0x195)in _0x5c1cf8&&_0x5c1cf8[_0x371e7a(0x195)]!==0x1?(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x148)),!0x1):_0x2c1ccf(_0x5c1cf8)?(this[_0x371e7a(0x1b5)][_0x371e7a(0x21b)](_0x56b4d2,_0x35ada0[_0x371e7a(0x172)]['deepClone'](_0x5c1cf8)),this[_0x371e7a(0x237)]['delete'](_0x56b4d2),this[_0x371e7a(0x1ae)][_0x371e7a(0x140)](_0x56b4d2),this[_0x371e7a(0x1ec)][_0x371e7a(0x243)]({'unitId':_0x56b4d2}),!0x0):(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x22e)),!0x1);}['serialize'](_0x4e8745){const _0x227dc8=_0x5e1fd7;let _0x5eaa60=this[_0x227dc8(0x1b5)][_0x227dc8(0x20c)](_0x4e8745);return _0x5eaa60?_0x35ada0[_0x227dc8(0x172)]['deepClone'](_0x5eaa60):this[_0x227dc8(0x237)]['has'](_0x4e8745)?_0x35ada0[_0x227dc8(0x172)]['deepClone'](this[_0x227dc8(0x237)][_0x227dc8(0x20c)](_0x4e8745)):_0x3fca4a();}['getLoadError'](_0x5a02f9){const _0x114cd4=_0x5e1fd7;return this[_0x114cd4(0x1ae)][_0x114cd4(0x20c)](_0x5a02f9);}['removeUnit'](_0x3f734e){const _0x585c9f=_0x5e1fd7;this[_0x585c9f(0x1b5)]['delete'](_0x3f734e),this['_rawResources']['delete'](_0x3f734e),this[_0x585c9f(0x1ae)][_0x585c9f(0x140)](_0x3f734e),this['_change$'][_0x585c9f(0x243)]({'unitId':_0x3f734e});}[_0x5e1fd7(0x203)](){const _0x178cdd=_0x5e1fd7;this[_0x178cdd(0x1b5)][_0x178cdd(0x258)](),this['_rawResources'][_0x178cdd(0x258)](),this[_0x178cdd(0x1ae)][_0x178cdd(0x258)](),this[_0x178cdd(0x1ec)][_0x178cdd(0x163)](),super[_0x178cdd(0x203)]();}[_0x5e1fd7(0x161)](_0x1998ec,_0x264c59,_0x1bb734){const _0x2fa0f9=_0x5e1fd7;this[_0x2fa0f9(0x1b5)]['delete'](_0x1998ec),this[_0x2fa0f9(0x237)][_0x2fa0f9(0x21b)](_0x1998ec,_0x35ada0[_0x2fa0f9(0x172)][_0x2fa0f9(0x169)](_0x264c59)),this[_0x2fa0f9(0x1ae)][_0x2fa0f9(0x21b)](_0x1998ec,_0x1bb734),this['_change$'][_0x2fa0f9(0x243)]({'unitId':_0x1998ec});}};let _0x3ac023=function(_0x33f1b1){const _0x21d40d=_0x5e1fd7;return _0x33f1b1['EMPTY']=_0x21d40d(0x1d4),_0x33f1b1[_0x21d40d(0x1d6)]='pending',_0x33f1b1[_0x21d40d(0x1a4)]=_0x21d40d(0x26a),_0x33f1b1[_0x21d40d(0x18e)]=_0x21d40d(0x1f1),_0x33f1b1;}({});function _0xf1755d(_0x104b79,_0x4b3687){return function(_0x193420,_0x5ae800){_0x4b3687(_0x193420,_0x5ae800,_0x104b79);};}function _0x1ac6f5(_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae){const _0x391f4e=_0x5e1fd7;var _0x4ce771=arguments[_0x391f4e(0x13b)],_0x21c5b3=_0x4ce771<0x3?_0x1bacc3:_0x5c22ae===null?_0x5c22ae=Object[_0x391f4e(0x1bc)](_0x1bacc3,_0x5001e9):_0x5c22ae,_0x356782;if(typeof Reflect=='object'&&typeof Reflect[_0x391f4e(0x1d2)]==_0x391f4e(0x190))_0x21c5b3=Reflect['decorate'](_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae);else{for(var _0x3b99b4=_0x4f832d[_0x391f4e(0x13b)]-0x1;_0x3b99b4>=0x0;_0x3b99b4--)(_0x356782=_0x4f832d[_0x3b99b4])&&(_0x21c5b3=(_0x4ce771<0x3?_0x356782(_0x21c5b3):_0x4ce771>0x3?_0x356782(_0x1bacc3,_0x5001e9,_0x21c5b3):_0x356782(_0x1bacc3,_0x5001e9))||_0x21c5b3);}return _0x4ce771>0x3&&_0x21c5b3&&Object['defineProperty'](_0x1bacc3,_0x5001e9,_0x21c5b3),_0x21c5b3;}let _0x131ce3=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x1643e1,_0x13cec9,_0x52142c){const _0x324688=_0x5e1fd7;super(),this[_0x324688(0x211)]=_0x1643e1,this[_0x324688(0x132)]=_0x13cec9,this['_hostExternalReferenceModel']=_0x52142c,_0x427b68(this,_0x324688(0x15c),new Map()),_0x427b68(this,'_formulaKeys',new Map()),_0x427b68(this,_0x324688(0x18b),new _0x4d1d3a[(_0x324688(0x1f0))]()),_0x427b68(this,'presentationChanged$',this['_presentationChanged$'][_0x324688(0x1cd)]()),this[_0x324688(0x1e6)](this[_0x324688(0x132)][_0x324688(0x13c)][_0x324688(0x1ba)](_0x517ae9=>{for(let _0xc98433 of Object['values'](_0x517ae9))for(let _0xc95b1a of Object['values'](_0xc98433))_0xc95b1a['forEach'](_0x10b08c=>this['_updateFormulaResult'](_0x10b08c));}));}[_0x5e1fd7(0x1b0)](_0x4a6e14){const _0x14c609=_0x5e1fd7;var _0x4d07d9;let _0xc37837=_0x4a6e14[_0x14c609(0x1ed)](),_0x5005ec=((_0x4d07d9=_0x4a6e14[_0x14c609(0x1c9)]()[_0x14c609(0x274)])==null||(_0x4d07d9=_0x4d07d9[_0x14c609(0x189)])==null?void 0x0:_0x4d07d9[_0x14c609(0x230)](_0x5646e5))??[],_0x280811=this['_model'][_0x14c609(0x21c)](_0xc37837),_0x4aacd4=new Set();for(let _0x59034f of _0x5005ec){let _0x5564ad=_0x280811[_0x59034f['rangeId']];_0x5564ad&&(_0x4aacd4[_0x14c609(0x25e)](_0x256128(_0xc37837,_0x59034f[_0x14c609(0x268)])),this[_0x14c609(0x233)]({'unitId':_0xc37837,'rangeId':_0x59034f['rangeId']},_0x5564ad));}for(let _0xd4523e of Array['from'](this['_registrations'][_0x14c609(0x25b)]()))_0xd4523e[_0x14c609(0x20e)]===_0xc37837&&!_0x4aacd4[_0x14c609(0x156)](_0x256128(_0xd4523e[_0x14c609(0x20e)],_0xd4523e[_0x14c609(0x268)]))&&this[_0x14c609(0x14b)](_0xd4523e);}[_0x5e1fd7(0x233)](_0x5e84ad,_0x5a053f){const _0x6d7aeb=_0x5e1fd7;let _0x56ea37=_0x256128(_0x5e84ad['unitId'],_0x5e84ad[_0x6d7aeb(0x268)]),_0x25d624=this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x20c)](_0x56ea37),_0x590814=this[_0x6d7aeb(0x1b1)]['getRevision'](_0x5e84ad[_0x6d7aeb(0x20e)]);if(_0x25d624&&_0x25d624[_0x6d7aeb(0x1c8)][_0x6d7aeb(0x263)]===_0x5a053f[_0x6d7aeb(0x263)]&&_0x25d624[_0x6d7aeb(0x201)]===_0x590814){_0x25d624[_0x6d7aeb(0x1c8)]=_0x5a053f;let _0x62151f=_0x25d624['formulaId']?this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1d0)](_0x25d624['unitId'],_0x25d624[_0x6d7aeb(0x20e)],_0x25d624[_0x6d7aeb(0x19f)])??void 0x0:void 0x0;_0x25d624['liveResult']=_0x62151f,this[_0x6d7aeb(0x186)](_0x56ea37,_0x10ef27(_0x5a053f,_0x62151f));return;}_0x25d624!=null&&_0x25d624[_0x6d7aeb(0x19f)]&&this[_0x6d7aeb(0x144)](_0x25d624);let _0x1bcdec={..._0x5e84ad,'config':_0x5a053f,'referenceRevision':_0x590814,'presentation':_0x10ef27(_0x5a053f,void 0x0)};if(this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x21b)](_0x56ea37,_0x1bcdec),!_0x5a053f[_0x6d7aeb(0x263)][_0x6d7aeb(0x26b)]())return;let _0x45d865=this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1eb)](_0x5e84ad[_0x6d7aeb(0x20e)],_0x5e84ad[_0x6d7aeb(0x20e)],_0x5a053f[_0x6d7aeb(0x263)],void 0x0,{'rangeId':_0x5e84ad[_0x6d7aeb(0x268)]},_0x409f17[_0x6d7aeb(0x177)]['DOC'],_0x5e84ad[_0x6d7aeb(0x268)]);_0x1bcdec['formulaId']=_0x45d865,this['_formulaKeys'][_0x6d7aeb(0x21b)](_0x45d865,_0x56ea37);}[_0x5e1fd7(0x14b)](_0x1c4ce6){const _0x51cc6d=_0x5e1fd7;let _0x369cba=_0x256128(_0x1c4ce6[_0x51cc6d(0x20e)],_0x1c4ce6['rangeId']),_0x283417=this[_0x51cc6d(0x15c)][_0x51cc6d(0x20c)](_0x369cba);_0x283417&&(this[_0x51cc6d(0x144)](_0x283417),this[_0x51cc6d(0x15c)][_0x51cc6d(0x140)](_0x369cba));}[_0x5e1fd7(0x1c3)](_0x45c488){const _0x2703f0=_0x5e1fd7;for(let _0x124e2d of Array['from'](this[_0x2703f0(0x15c)][_0x2703f0(0x25b)]()))_0x124e2d['unitId']===_0x45c488&&this['unregister'](_0x124e2d);}[_0x5e1fd7(0x1a9)](_0x2d8104){const _0x1edf16=_0x5e1fd7;var _0x5358e7;return(_0x5358e7=this[_0x1edf16(0x15c)]['get'](_0x256128(_0x2d8104[_0x1edf16(0x20e)],_0x2d8104[_0x1edf16(0x268)])))==null?void 0x0:_0x5358e7['presentation'];}[_0x5e1fd7(0x151)](_0x19ef53){const _0x4d7a43=_0x5e1fd7;let _0x117400=this['_registrations'][_0x4d7a43(0x20c)](_0x256128(_0x19ef53[_0x4d7a43(0x20e)],_0x19ef53[_0x4d7a43(0x268)]));return _0x117400?_0xa64e3c(_0x117400):void 0x0;}['getRegisteredFormulas'](){const _0x219a89=_0x5e1fd7;return Array[_0x219a89(0x1af)](this[_0x219a89(0x15c)][_0x219a89(0x25b)](),_0x5c9f62=>({'identity':{'unitId':_0x5c9f62['unitId'],'rangeId':_0x5c9f62[_0x219a89(0x268)]},'config':_0x5c9f62['config'],'referenceRevision':_0x5c9f62[_0x219a89(0x201)],..._0x5c9f62['liveResult']?{'liveResult':_0x5c9f62[_0x219a89(0x1e8)]}:null}));}[_0x5e1fd7(0x203)](){const _0x2c271e=_0x5e1fd7;for(let _0x51d2b7 of this[_0x2c271e(0x15c)][_0x2c271e(0x25b)]())this['_deleteRegistration'](_0x51d2b7);this['_registrations']['clear'](),this[_0x2c271e(0x178)]['clear'](),this[_0x2c271e(0x18b)][_0x2c271e(0x163)](),super[_0x2c271e(0x203)]();}[_0x5e1fd7(0x184)](_0x2cf5f9){const _0x2815d9=_0x5e1fd7;let _0x5bb020=this[_0x2815d9(0x178)]['get'](_0x2cf5f9[_0x2815d9(0x19f)]),_0x1e9b25=_0x5bb020?this[_0x2815d9(0x15c)][_0x2815d9(0x20c)](_0x5bb020):void 0x0;_0x5bb020&&_0x1e9b25&&(_0x1e9b25[_0x2815d9(0x1e8)]=_0x2cf5f9,this[_0x2815d9(0x186)](_0x5bb020,_0x10ef27(_0x1e9b25[_0x2815d9(0x1c8)],_0x2cf5f9)));}['_setPresentation'](_0x4aa966,_0x31bf93){const _0x2df8d0=_0x5e1fd7;var _0x39e8bb,_0x192ebd;let _0xa311f0=this['_registrations']['get'](_0x4aa966);if(!_0xa311f0||_0x42d31b(_0xa311f0[_0x2df8d0(0x18a)],_0x31bf93))return;let _0x44a9ce=_0xa311f0['presentation'],_0x501e49=_0xa64e3c(_0xa311f0);_0xa311f0[_0x2df8d0(0x18a)]=_0x31bf93,this[_0x2df8d0(0x18b)][_0x2df8d0(0x243)]({'unitId':_0xa311f0[_0x2df8d0(0x20e)],'rangeId':_0xa311f0[_0x2df8d0(0x268)],'presentation':_0x31bf93,'previousPresentation':_0x44a9ce,'result':_0xa64e3c(_0xa311f0),'previousResult':{..._0x501e49,..._0x44a9ce,'value':(_0x39e8bb=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x39e8bb['v'],'valueType':((_0x192ebd=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x192ebd['t'])??void 0x0}});}[_0x5e1fd7(0x144)](_0xcbcdd2){const _0x573565=_0x5e1fd7;_0xcbcdd2['formulaId']&&(this['_registrationService']['deleteFormula'](_0xcbcdd2[_0x573565(0x20e)],_0xcbcdd2[_0x573565(0x20e)],[_0xcbcdd2[_0x573565(0x19f)]]),this[_0x573565(0x178)]['delete'](_0xcbcdd2[_0x573565(0x19f)]));}};_0x131ce3=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x409f17[_0x5e1fd7(0x1be)])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x21a)]))],_0x131ce3);function _0x256128(_0xc23680,_0x2faf84){return _0xc23680+'\x00'+_0x2faf84;}function _0x10ef27(_0x71e6ce,_0xe14cde){const _0x12c8d6=_0x5e1fd7;return(0x0,_0x305999[_0x12c8d6(0x1c1)])({'numberFormat':_0x71e6ce[_0x12c8d6(0x1b6)],'lastValue':_0x71e6ce[_0x12c8d6(0x14a)],'result':_0xe14cde});}function _0xa64e3c(_0x1cf182){const _0x55e75d=_0x5e1fd7;var _0x2d669b,_0x47e04c,_0x4a59bc;let _0xfd67fe=_0x1cf182[_0x55e75d(0x18a)],_0x36e040=_0x1cf182[_0x55e75d(0x1c8)][_0x55e75d(0x263)]['trim']()?_0xfd67fe[_0x55e75d(0x1c7)]||_0xfd67fe[_0x55e75d(0x1b8)]==null?_0x55e75d(0x220):((_0x2d669b=_0x1cf182['liveResult'])==null?void 0x0:_0x2d669b[_0x55e75d(0x1e3)])===_0x409f17[_0x55e75d(0x270)][_0x55e75d(0x18e)]?_0x55e75d(0x1f1):_0x55e75d(0x26a):_0x55e75d(0x1d4);return{..._0xfd67fe,'status':_0x36e040,'value':(_0x47e04c=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x47e04c['v'],'valueType':((_0x4a59bc=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x4a59bc['t'])??void 0x0};}function _0x42d31b(_0x12af05,_0x33ac85){const _0x28852d=_0x5e1fd7;var _0x36e391,_0x20e658,_0x1964c0,_0x370d18;return _0x12af05[_0x28852d(0x1e0)]===_0x33ac85['text']&&_0x12af05['color']===_0x33ac85[_0x28852d(0x271)]&&_0x12af05[_0x28852d(0x171)]===_0x33ac85['pattern']&&_0x12af05['source']===_0x33ac85['source']&&_0x12af05[_0x28852d(0x1c7)]===_0x33ac85[_0x28852d(0x1c7)]&&((_0x36e391=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x36e391['t'])===((_0x20e658=_0x33ac85['cell'])==null?void 0x0:_0x20e658['t'])&&Object['is']((_0x1964c0=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x1964c0['v'],(_0x370d18=_0x33ac85[_0x28852d(0x1b8)])==null?void 0x0:_0x370d18['v']);}let _0x3ac648={'id':_0x5e1fd7(0x25d),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x20f80a,_0x4eb683)=>!(_0x4eb683!=null&&_0x4eb683[_0x5e1fd7(0x20e)])||!_0x4eb683[_0x5e1fd7(0x268)]||!_0x4eb683[_0x5e1fd7(0x1c8)]?!0x1:_0x20f80a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x253)](_0x4eb683[_0x5e1fd7(0x20e)],_0x4eb683['rangeId'],_0x4eb683['config'])},_0x399640={'id':'docs-formula.mutation.remove-formula','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x37212a,_0x373a1c)=>!(_0x373a1c!=null&&_0x373a1c[_0x5e1fd7(0x20e)])||!_0x373a1c[_0x5e1fd7(0x268)]?!0x1:_0x37212a['get'](_0xde1cef)[_0x5e1fd7(0x235)](_0x373a1c['unitId'],_0x373a1c[_0x5e1fd7(0x268)])},_0x488e31={'id':_0x5e1fd7(0x23c),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x30d02a,_0x12f14f)=>!(_0x12f14f!=null&&_0x12f14f[_0x5e1fd7(0x20e)])||!_0x12f14f[_0x5e1fd7(0x1a7)]?!0x1:_0x30d02a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x207)](_0x12f14f[_0x5e1fd7(0x20e)],_0x12f14f[_0x5e1fd7(0x1a7)])},_0xb5810e={'id':'docs-formula.mutation.set-last-values','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x3548b6,_0x24ead8)=>{const _0x56cf41=_0x5e1fd7;if(!(_0x24ead8!=null&&_0x24ead8['unitId'])||!_0x24ead8[_0x56cf41(0x1c0)]['length'])return!0x1;let _0x596b8d=_0x3548b6[_0x56cf41(0x20c)](_0xde1cef),_0x46b4e7=_0x3548b6[_0x56cf41(0x20c)](_0x305999['HostExternalReferenceModel']),_0x5c3cc8=_0x596b8d['getResource'](_0x24ead8[_0x56cf41(0x20e)]);if(!_0x5c3cc8)return!0x1;let _0x570ef9=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x5c3cc8),_0x4eff5f=!0x1;for(let _0x47b937 of _0x24ead8['updates']){var _0x104958,_0x751550,_0x14352a,_0x1f9ec5;let _0x3e4607=_0x570ef9[_0x56cf41(0x167)][_0x47b937[_0x56cf41(0x268)]];_0x3e4607&&_0x3e4607[_0x56cf41(0x263)]===_0x47b937[_0x56cf41(0x1f6)]&&((_0x104958=_0x3e4607[_0x56cf41(0x1b6)])==null?void 0x0:_0x104958[_0x56cf41(0x171)])===_0x47b937[_0x56cf41(0x1d1)]&&_0x46b4e7[_0x56cf41(0x13e)](_0x24ead8['unitId'])===_0x47b937[_0x56cf41(0x1db)]&&(((_0x751550=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x751550['v'])!==_0x47b937[_0x56cf41(0x14a)]['v']||((_0x14352a=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x14352a['t'])!==_0x47b937[_0x56cf41(0x14a)]['t']||((_0x1f9ec5=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x1f9ec5[_0x56cf41(0x171)])!==_0x47b937[_0x56cf41(0x14a)][_0x56cf41(0x171)])&&(_0x3e4607[_0x56cf41(0x14a)]=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x47b937['lastValue']),_0x4eff5f=!0x0);}return!_0x4eff5f||_0x596b8d['setResource'](_0x24ead8[_0x56cf41(0x20e)],_0x570ef9);}},_0x235e40={'id':_0x5e1fd7(0x1aa),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d071b,_0x548a38)=>{const _0x15e687=_0x5e1fd7;if(!(_0x548a38!=null&&_0x548a38['formula'][_0x15e687(0x26b)]()))return!0x1;let _0x385197=_0xfe33eb(_0x2d071b,_0x548a38[_0x15e687(0x20e)],'');if(!_0x385197)return!0x1;let _0x312907=_0x16187b(_0x548a38['target'],_0x385197['body'],_0x505636(_0x2d071b,_0x385197[_0x15e687(0x20e)]));if(!_0x312907)return!0x1;let _0x4a5b19=_0x1fa3db(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x548a38[_0x15e687(0x263)],_0x548a38[_0x15e687(0x1e9)]??[]);if(!_0x4a5b19)return!0x1;let _0x1e3f3b=_0x9cbd09(_0x385197['body'],_0x385197['model'],_0x385197[_0x15e687(0x20e)]),_0x215167=_0x1e9063({'documentData':_0x385197['documentData'],'resource':_0x385197['resource'],'rangeId':_0x1e3f3b,'config':{'formula':_0x548a38['formula'],..._0x548a38[_0x15e687(0x1b6)]?{'numberFormat':_0x548a38['numberFormat']}:null},'startOffset':_0x312907['startOffset'],'endOffset':_0x312907['endOffset']});if(!_0x215167)return!0x1;let _0x247568=(0x0,_0x305999[_0x15e687(0x1ab)])(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x4a5b19);return!_0x247568||!_0x1242dc({'accessor':_0x2d071b,'document':_0x385197[_0x15e687(0x273)],'unitId':_0x385197[_0x15e687(0x20e)],'trigger':_0x235e40['id'],'rangeId':_0x1e3f3b,'previousResource':_0x385197[_0x15e687(0x1a7)],'nextResource':_0x215167['nextResource'],'previousDocumentData':_0x385197[_0x15e687(0x20d)],'nextDocumentData':_0x215167[_0x15e687(0x261)],'cursorOffset':_0x215167[_0x15e687(0x215)],'externalMutations':_0x247568})?!0x1:{'rangeId':_0x1e3f3b,'startOffset':_0x215167[_0x15e687(0x215)]-0x1,'endOffset':_0x215167[_0x15e687(0x215)]};}},_0x16a7c0={'id':_0x5e1fd7(0x1a2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x138a5b,_0x1a3189)=>{const _0x2b34f1=_0x5e1fd7;if(!(_0x1a3189!=null&&_0x1a3189[_0x2b34f1(0x268)])||!_0x1a3189[_0x2b34f1(0x263)][_0x2b34f1(0x26b)]())return!0x1;let _0x4924c9=_0xfe33eb(_0x138a5b,_0x1a3189[_0x2b34f1(0x20e)],''),_0x6bfe3c=_0x4924c9==null?void 0x0:_0x4924c9[_0x2b34f1(0x23e)]['getFormula'](_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x268)]),_0x175880=_0x4924c9?_0x251f7a(_0x4924c9['documentData'][_0x2b34f1(0x274)],_0x1a3189[_0x2b34f1(0x268)]):void 0x0;if(!_0x4924c9||!_0x6bfe3c||!_0x175880)return!0x1;let _0x3378dc=_0x1fa3db(_0x138a5b,_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x263)],_0x1a3189['externalReferences']??[]);if(!_0x3378dc)return!0x1;let _0x2a4905=(0x0,_0x305999[_0x2b34f1(0x1ab)])(_0x138a5b,_0x4924c9['unitId'],_0x3378dc);if(!_0x2a4905)return!0x1;let _0x246715=_0x1547ad(_0x4924c9['resource']);return _0x246715[_0x2b34f1(0x167)][_0x1a3189[_0x2b34f1(0x268)]]={'formula':_0x1a3189[_0x2b34f1(0x263)],..._0x1a3189[_0x2b34f1(0x1b6)]?{'numberFormat':_0x1a3189[_0x2b34f1(0x1b6)]}:_0x6bfe3c['numberFormat']?{'numberFormat':_0x6bfe3c[_0x2b34f1(0x1b6)]}:null},_0x1242dc({'accessor':_0x138a5b,'document':_0x4924c9[_0x2b34f1(0x273)],'unitId':_0x4924c9[_0x2b34f1(0x20e)],'trigger':_0x16a7c0['id'],'rangeId':_0x1a3189['rangeId'],'previousResource':_0x4924c9[_0x2b34f1(0x1a7)],'nextResource':_0x246715,'cursorOffset':_0x175880[_0x2b34f1(0x24f)]+0x1,'externalMutations':_0x2a4905});}},_0x154ac9={'id':_0x5e1fd7(0x24a),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x3b8082,_0x1b4e39)=>{const _0x3cca56=_0x5e1fd7;if(!(_0x1b4e39!=null&&_0x1b4e39[_0x3cca56(0x268)]))return!0x1;let _0x586fbd=_0xfe33eb(_0x3b8082,_0x1b4e39['unitId'],''),_0x2df4f2=_0x586fbd==null?void 0x0:_0x586fbd[_0x3cca56(0x23e)][_0x3cca56(0x15a)](_0x586fbd[_0x3cca56(0x20e)],_0x1b4e39[_0x3cca56(0x268)]),_0x3aa55a=_0x586fbd?_0x251f7a(_0x586fbd[_0x3cca56(0x20d)]['body'],_0x1b4e39[_0x3cca56(0x268)]):void 0x0;if(!_0x586fbd||!_0x2df4f2||!_0x3aa55a)return!0x1;let _0x2c3e9f=_0x1547ad(_0x586fbd[_0x3cca56(0x1a7)]);return _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39['rangeId']]={..._0x2df4f2,..._0x1b4e39[_0x3cca56(0x1b6)]?{'numberFormat':_0x1b4e39[_0x3cca56(0x1b6)]}:null},_0x1b4e39[_0x3cca56(0x1b6)]||delete _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39[_0x3cca56(0x268)]][_0x3cca56(0x1b6)],_0x1242dc({'accessor':_0x3b8082,'document':_0x586fbd['document'],'unitId':_0x586fbd[_0x3cca56(0x20e)],'trigger':_0x154ac9['id'],'rangeId':_0x1b4e39[_0x3cca56(0x268)],'previousResource':_0x586fbd[_0x3cca56(0x1a7)],'nextResource':_0x2c3e9f,'cursorOffset':_0x3aa55a[_0x3cca56(0x24f)]+0x1,'externalMutations':{}});}},_0x11cbf3={'id':_0x5e1fd7(0x1fe),'type':_0x35ada0['CommandType'][_0x5e1fd7(0x16b)],'handler':(_0x2318fd,_0x5182f7)=>_0x441f82(_0x2318fd,_0x5182f7,'',_0x11cbf3['id'])},_0x2df4f6={'id':_0x5e1fd7(0x212),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d9b4b,_0x59dc20)=>_0x441f82(_0x2d9b4b,_0x59dc20,(_0x59dc20==null?void 0x0:_0x59dc20[_0x5e1fd7(0x1e0)])??'',_0x2df4f6['id'])},_0x4c25bb={'id':_0x5e1fd7(0x1c2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x22797c,_0x4684c8)=>{const _0x542291=_0x5e1fd7;if(!(_0x4684c8!=null&&_0x4684c8['rangeId']))return!0x1;let _0x27530e=_0xfe33eb(_0x22797c,_0x4684c8[_0x542291(0x20e)],'');if(!_0x27530e)return!0x1;let _0x425454=_0x22797c['get'](_0x131ce3)[_0x542291(0x151)]({'unitId':_0x27530e[_0x542291(0x20e)],'rangeId':_0x4684c8[_0x542291(0x268)]});return _0x425454?_0x441f82(_0x22797c,_0x4684c8,_0x425454[_0x542291(0x1e0)],_0x4c25bb['id']):!0x1;}};function _0x441f82(_0x5ca2e3,_0x2e888d,_0x374739,_0x96e969){const _0x3cfd68=_0x5e1fd7;if(!(_0x2e888d!=null&&_0x2e888d[_0x3cfd68(0x268)]))return!0x1;let _0x269aba=_0xfe33eb(_0x5ca2e3,_0x2e888d[_0x3cfd68(0x20e)],'');if(!_0x269aba)return!0x1;let _0x49c322=_0x44ab43({'documentData':_0x269aba['documentData'],'resource':_0x269aba[_0x3cfd68(0x1a7)],'rangeId':_0x2e888d[_0x3cfd68(0x268)],'text':_0x374739});return _0x49c322?_0x1242dc({'accessor':_0x5ca2e3,'document':_0x269aba[_0x3cfd68(0x273)],'unitId':_0x269aba['unitId'],'trigger':_0x96e969,'rangeId':_0x2e888d[_0x3cfd68(0x268)],'previousResource':_0x269aba[_0x3cfd68(0x1a7)],'nextResource':_0x49c322['nextResource'],'previousDocumentData':_0x269aba['documentData'],'nextDocumentData':_0x49c322[_0x3cfd68(0x261)],'cursorOffset':_0x49c322[_0x3cfd68(0x215)],'externalMutations':{}}):!0x1;}function _0xfe33eb(_0x4b13f2,_0x2cae2c,_0x5ee282){const _0x3be947=_0x5e1fd7;if(_0x5ee282)return null;let _0x5ce1cb=_0x4b13f2[_0x3be947(0x20c)](_0x35ada0[_0x3be947(0x196)]),_0xf2bd3e=(_0x2cae2c?_0x5ce1cb[_0x3be947(0x214)](_0x2cae2c,_0x35ada0['UniverInstanceType'][_0x3be947(0x238)]):_0x5ce1cb[_0x3be947(0x23f)](_0x35ada0[_0x3be947(0x168)]['UNIVER_DOC']))??null;if(!_0xf2bd3e)return null;let _0x4825a9=_0xf2bd3e[_0x3be947(0x1c9)](),_0x1f2893=_0x4825a9[_0x3be947(0x274)];if(_0x4825a9[_0x3be947(0x15e)]||!_0x1f2893)return null;let _0x4bb21c=_0x4b13f2[_0x3be947(0x20c)](_0xde1cef);return _0x4bb21c[_0x3be947(0x1e2)](_0xf2bd3e[_0x3be947(0x1ed)]())?null:{'document':_0xf2bd3e,'body':_0x1f2893,'documentData':_0x4825a9,'model':_0x4bb21c,'resource':_0x4bb21c[_0x3be947(0x202)](_0xf2bd3e[_0x3be947(0x1ed)]())??_0x3fca4a(),'unitId':_0xf2bd3e[_0x3be947(0x1ed)]()};}function _0x505636(_0x24e8db,_0x439005){const _0x149c7f=_0x5e1fd7;var _0x1e5877;return(_0x1e5877=_0x24e8db[_0x149c7f(0x20c)](_0x56ff97[_0x149c7f(0x176)])['getTextRanges']({'subUnitId':_0x439005,'unitId':_0x439005}))==null?void 0x0:_0x1e5877[0x0];}function _0x16187b(_0x47a37c,_0x5e615a,_0x124d17){const _0x157185=_0x5e1fd7;if((_0x47a37c==null?void 0x0:_0x47a37c['type'])===_0x157185(0x1ca)){var _0x25d5f0;let _0x47fc67=((_0x25d5f0=_0x5e615a['paragraphs'])==null?void 0x0:_0x25d5f0[_0x157185(0x230)](_0x1e0ae1=>_0x1e0ae1[_0x157185(0x1c5)]===_0x47a37c[_0x157185(0x1c5)]))??[];if(_0x47fc67['length']!==0x1)return null;let _0x4db4fc=_0x47fc67[0x0],_0x42acf3=(0x0,_0x35ada0[_0x157185(0x23a)])(_0x5e615a,_0x4db4fc),_0x3ee6f1=_0x4db4fc[_0x157185(0x200)]-_0x42acf3,_0x27f1eb=_0x47a37c[_0x157185(0x246)]===_0x157185(0x21e)?_0x3ee6f1:_0x47a37c[_0x157185(0x246)];if(!Number[_0x157185(0x141)](_0x27f1eb)||_0x27f1eb<0x0||_0x27f1eb>_0x3ee6f1)return null;let _0x5393ac=_0x42acf3+_0x27f1eb;return{'startOffset':_0x5393ac,'endOffset':_0x5393ac};}if((_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x250))return!Number[_0x157185(0x141)](_0x47a37c['startOffset'])||!Number[_0x157185(0x141)](_0x47a37c[_0x157185(0x1f8)])?null:{'startOffset':Math[_0x157185(0x188)](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)]),'endOffset':Math['max'](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)])};let _0x52fb2f=(_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x164)?_0x47a37c['selection']:_0x124d17;return!_0x52fb2f||_0x52fb2f[_0x157185(0x16d)]?null:{'startOffset':Math[_0x157185(0x188)](_0x52fb2f['startOffset'],_0x52fb2f[_0x157185(0x1f8)]),'endOffset':Math[_0x157185(0x262)](_0x52fb2f[_0x157185(0x204)],_0x52fb2f['endOffset'])};}function _0x1fa3db(_0x1ecd85,_0x43ee67,_0x2b81e6,_0x58b016){const _0x3b94ee=_0x5e1fd7;let _0x1df155=_0x1ecd85['get'](_0x409f17[_0x3b94ee(0x1b7)]),_0x3864c0=_0x2b81e6[_0x3b94ee(0x147)]('=')?_0x2b81e6[_0x3b94ee(0x266)](0x1):_0x2b81e6,_0x1539cf=_0x1df155['sequenceNodesBuilder'](_0x3864c0);if(!_0x1539cf)return null;let _0x47e31e=_0x1ecd85[_0x3b94ee(0x20c)](_0x305999[_0x3b94ee(0x21a)]),_0x54c28d=(0x0,_0x305999[_0x3b94ee(0x13a)])({'qualifiers':(0x0,_0x305999[_0x3b94ee(0x1a0)])(_0x1539cf),'explicitReferences':_0x58b016??[],'resolveBinding':_0x2c3796=>_0x47e31e['resolveBinding'](_0x43ee67,_0x2c3796)});return _0x54c28d['status']===_0x3b94ee(0x232)?_0x54c28d[_0x3b94ee(0x210)]:null;}function _0x9cbd09(_0x54c36e,_0x5b814c,_0x360b8e){const _0x541191=_0x5e1fd7;var _0x18c870;let _0x3f08b3=(0x0,_0x35ada0[_0x541191(0x152)])(0x6);for(;_0x54c36e!=null&&(_0x18c870=_0x54c36e['customRanges'])!=null&&_0x18c870['some'](_0x2ba08b=>_0x2ba08b[_0x541191(0x268)]===_0x3f08b3)||_0x5b814c[_0x541191(0x15a)](_0x360b8e,_0x3f08b3);)_0x3f08b3=(0x0,_0x35ada0['generateRandomId'])(0x6);return _0x3f08b3;}function _0x1e9063(_0x2c443c){try{return _0x50a02c(_0x2c443c);}catch(_0x133beb){if(_0x133beb instanceof _0x84039e)return null;throw _0x133beb;}}function _0x3c676e(_0x536fdd){const _0x5266d9=_0x5e1fd7;let _0x173698=_0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd['nextDocumentData']?_0x594252(_0x536fdd[_0x5266d9(0x273)],_0x536fdd[_0x5266d9(0x20e)],_0x536fdd[_0x5266d9(0x1d8)],_0x536fdd[_0x5266d9(0x261)],_0x536fdd['cursorOffset'],_0x536fdd[_0x5266d9(0x1e4)]):null;return _0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd[_0x5266d9(0x261)]&&!_0x173698?null:{'documentRedo':_0x173698,'resourceRedo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd['unitId'],'resource':_0x536fdd['nextResource']}},'resourceUndo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd[_0x5266d9(0x20e)],'resource':_0x536fdd[_0x5266d9(0x17c)]}}};}function _0x4751a6(_0x582599,_0x3dacb8,_0x58c96b,_0x2d306b){const _0x1bd222=_0x5e1fd7;_0x2d306b[_0x1bd222(0x1ad)]({'id':_0x582599['trigger']+':'+_0x582599['rangeId'],'unitID':_0x582599['unitId'],'redoMutations':[..._0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]?[_0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]]:[],..._0x3dacb8[_0x1bd222(0x240)]?[_0x3dacb8['documentRedo']]:[],_0x3dacb8[_0x1bd222(0x158)]],'undoMutations':[_0x3dacb8[_0x1bd222(0x166)],..._0x58c96b?[_0x58c96b]:[],..._0x582599['externalMutations'][_0x1bd222(0x20f)]?[_0x582599['externalMutations'][_0x1bd222(0x20f)]]:[]]});}function _0x1242dc(_0xff913){const _0x68ca91=_0x5e1fd7;let _0x2ee862=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0[_0x68ca91(0x242)]),_0x42a22a=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0['IUndoRedoService']),_0x1203bd=_0xff913['accessor'][_0x68ca91(0x20c)](_0x56ff97[_0x68ca91(0x176)]),_0x1244f7=_0x3c676e(_0xff913);if(!_0x1244f7)return!0x1;let _0x411287=!0x1,_0x3cb486=null,_0x12fcd8=!0x1;try{if(_0xff913[_0x68ca91(0x170)]['redoMutation']){if(!_0x2ee862[_0x68ca91(0x244)](_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)]['id'],_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)][_0x68ca91(0x1dc)]))return!0x1;_0x411287=!0x0;}if(_0x1244f7[_0x68ca91(0x240)]){let _0x122a03=_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x240)]['id'],_0x1244f7['documentRedo'][_0x68ca91(0x1dc)]);if(!_0x122a03)return _0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x3cb486={'id':_0x56ff97[_0x68ca91(0x153)]['id'],'params':{..._0x122a03,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x158)]['id'],_0x1244f7[_0x68ca91(0x158)]['params']))return _0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x12fcd8=!0x0,_0x4751a6(_0xff913,_0x1244f7,_0x3cb486,_0x42a22a);}catch(_0x46994e){throw _0x12fcd8&&_0x2ee862[_0x68ca91(0x244)](_0x1244f7[_0x68ca91(0x166)]['id'],_0x1244f7[_0x68ca91(0x166)]['params']),_0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913[_0x68ca91(0x170)],_0x411287),_0x46994e;}return _0x1203bd[_0x68ca91(0x1b2)]([{'startOffset':_0xff913[_0x68ca91(0x215)],'endOffset':_0xff913['cursorOffset'],'segmentId':''}],{'unitId':_0xff913[_0x68ca91(0x20e)],'subUnitId':_0xff913[_0x68ca91(0x20e)]},!0x1,{[_0x56ff97['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x594252(_0x5799cd,_0x281cbf,_0x123a0c,_0xd1857e,_0x423ab8,_0xabe0b3){const _0x4e1480=_0x5e1fd7;let _0x3df849=_0x2069da(_0x123a0c,_0xd1857e,(0x0,_0x35ada0[_0x4e1480(0x179)])(_0x5799cd,''));return _0x3df849?{'id':_0x56ff97[_0x4e1480(0x153)]['id'],'params':{'unitId':_0x281cbf,'actions':_0x3df849,'segmentId':'','textRanges':[{'startOffset':_0x423ab8,'endOffset':_0x423ab8,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xabe0b3}}:null;}function _0x5c928d(_0x49f210,_0x2bbe95){const _0x27607d=_0x5e1fd7;_0x2bbe95&&_0x49f210[_0x27607d(0x244)](_0x2bbe95['id'],_0x2bbe95[_0x27607d(0x1dc)]);}function _0x5f3432(_0x2b586f,_0xfcf965,_0x8a3b22){const _0x3f030a=_0x5e1fd7;_0x8a3b22&&_0xfcf965[_0x3f030a(0x20f)]&&_0x2b586f[_0x3f030a(0x244)](_0xfcf965[_0x3f030a(0x20f)]['id'],_0xfcf965[_0x3f030a(0x20f)][_0x3f030a(0x1dc)]);}function _0x2069da(_0x7ccced,_0x3e6f2e,_0x3152f8){const _0x5df462=_0x5e1fd7;let _0x45665e=_0x7ccced['body'],_0x3da08b=_0x3e6f2e[_0x5df462(0x274)],_0x4a02a1=_0x2489de(_0x45665e==null?void 0x0:_0x45665e[_0x5df462(0x13f)],_0x3da08b==null?void 0x0:_0x3da08b['dataStream']);if(!_0x4a02a1||!_0x3da08b)return null;let _0x5e4f65=new _0x35ada0[(_0x5df462(0x1d9))]();return _0x5e4f65[_0x5df462(0x23d)](_0x4a02a1[_0x5df462(0x255)]),_0x4a02a1[_0x5df462(0x245)]>0x0&&_0x5e4f65[_0x5df462(0x1bd)](_0x4a02a1[_0x5df462(0x245)],(0x0,_0x35ada0['getBodySliceForTextXAction'])(_0x3da08b,_0x4a02a1[_0x5df462(0x255)],_0x4a02a1[_0x5df462(0x255)]+_0x4a02a1[_0x5df462(0x245)],!0x1)),_0x4a02a1[_0x5df462(0x17e)]>0x0&&_0x5e4f65[_0x5df462(0x140)](_0x4a02a1[_0x5df462(0x17e)]),_0x35ada0['JSONX'][_0x5df462(0x1a8)]()[_0x5df462(0x16c)](_0x5e4f65[_0x5df462(0x22b)](),_0x3152f8);}function _0x2489de(_0xa20a0e,_0x54f266){const _0x141762=_0x5e1fd7;if(_0xa20a0e==null||_0x54f266==null||_0xa20a0e===_0x54f266)return null;let _0x5082a0=0x0;for(;_0x5082a0<_0xa20a0e[_0x141762(0x13b)]&&_0x5082a0<_0x54f266[_0x141762(0x13b)]&&_0xa20a0e[_0x5082a0]===_0x54f266[_0x5082a0];)_0x5082a0+=0x1;let _0x10a8f5=_0xa20a0e[_0x141762(0x13b)],_0x13c392=_0x54f266[_0x141762(0x13b)];for(;_0x10a8f5>_0x5082a0&&_0x13c392>_0x5082a0&&_0xa20a0e[_0x10a8f5-0x1]===_0x54f266[_0x13c392-0x1];)--_0x10a8f5,--_0x13c392;return{'start':_0x5082a0,'deleteLength':_0x10a8f5-_0x5082a0,'insertLength':_0x13c392-_0x5082a0};}function _0x1547ad(_0x185161){const _0x1cc8e9=_0x5e1fd7;return{'schemaVersion':0x1,'formulas':Object[_0x1cc8e9(0x197)](Object['entries'](_0x185161[_0x1cc8e9(0x167)])[_0x1cc8e9(0x1f2)](([_0x1016b9,_0xd5ddc8])=>[_0x1016b9,{..._0xd5ddc8,..._0xd5ddc8['numberFormat']?{'numberFormat':{..._0xd5ddc8['numberFormat']}}:null,..._0xd5ddc8[_0x1cc8e9(0x14a)]?{'lastValue':{..._0xd5ddc8[_0x1cc8e9(0x14a)]}}:null}]))};}let _0x1c5633=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x446159,_0x4a67ad,_0x48a614,_0xe881e9){const _0x2b2c26=_0x5e1fd7;super(),this[_0x2b2c26(0x223)]=_0x446159,this['_commandService']=_0x4a67ad,this['_model']=_0x48a614,this[_0x2b2c26(0x17d)]=_0xe881e9,_0x427b68(this,_0x2b2c26(0x16f),new Set()),_0x427b68(this,_0x2b2c26(0x15d),!0x1),_0x427b68(this,_0x2b2c26(0x143),!0x1),this[_0x2b2c26(0x223)][_0x2b2c26(0x218)](_0x35ada0[_0x2b2c26(0x168)][_0x2b2c26(0x238)])['forEach'](_0x44fac3=>this['_service'][_0x2b2c26(0x1b0)](_0x44fac3)),this['disposeWithMe'](this[_0x2b2c26(0x211)][_0x2b2c26(0x23b)][_0x2b2c26(0x1ba)](({unitId:_0x11f7bf})=>this[_0x2b2c26(0x146)](_0x11f7bf))),this['disposeWithMe'](this[_0x2b2c26(0x223)][_0x2b2c26(0x155)][_0x2b2c26(0x1ba)](({unit:_0x5d1af9})=>{const _0x58f76b=_0x2b2c26;_0x5d1af9[_0x58f76b(0x14f)]===_0x35ada0[_0x58f76b(0x168)]['UNIVER_DOC']&&this['_queueSync'](_0x5d1af9[_0x58f76b(0x1ed)]());})),this[_0x2b2c26(0x1e6)](this['_instanceService']['unitDisposed$'][_0x2b2c26(0x1ba)](_0x1b24e8=>{this['_service']['unregisterUnit'](_0x1b24e8['getUnitId']());})),this[_0x2b2c26(0x1e6)](this['_commandService']['onCommandExecuted'](_0x50f309=>{const _0x3ec8b2=_0x2b2c26;if(_0x50f309['id']===_0x56ff97[_0x3ec8b2(0x153)]['id']&&_0x507eef(_0x50f309[_0x3ec8b2(0x1dc)])){let _0x427749=_0x50f309[_0x3ec8b2(0x1dc)];_0x427749[_0x3ec8b2(0x16d)]||this[_0x3ec8b2(0x146)](_0x427749['unitId']);}}));}['dispose'](){const _0x36f8dc=_0x5e1fd7;this['_isDisposed']=!0x0,super[_0x36f8dc(0x203)]();}[_0x5e1fd7(0x18f)](_0x8c8827){const _0x683c96=_0x5e1fd7;this['_pendingUnitIds']['add'](_0x8c8827),!this['_syncScheduled']&&(this[_0x683c96(0x15d)]=!0x0,queueMicrotask(()=>{const _0x17dc45=_0x683c96;if(this[_0x17dc45(0x15d)]=!0x1,this[_0x17dc45(0x143)])return;let _0x1cbd14=Array['from'](this[_0x17dc45(0x16f)]);this[_0x17dc45(0x16f)][_0x17dc45(0x258)](),_0x1cbd14['forEach'](_0x45b63f=>this[_0x17dc45(0x146)](_0x45b63f));}));}[_0x5e1fd7(0x146)](_0x93dbea){const _0x63f1f5=_0x5e1fd7;let _0x3d9a45=this[_0x63f1f5(0x223)][_0x63f1f5(0x214)](_0x93dbea,_0x35ada0[_0x63f1f5(0x168)][_0x63f1f5(0x238)]);_0x3d9a45&&this[_0x63f1f5(0x17d)][_0x63f1f5(0x1b0)](_0x3d9a45);}};_0x1c5633=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0['IUniverInstanceService']),_0xf1755d(0x1,_0x35ada0[_0x5e1fd7(0x242)]),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x3,(0x0,_0x35ada0['Inject'])(_0x131ce3))],_0x1c5633);function _0x507eef(_0x22e011){const _0x53fc04=_0x5e1fd7;return typeof _0x22e011==_0x53fc04(0x247)&&!!_0x22e011&&_0x53fc04(0x20e)in _0x22e011&&typeof _0x22e011[_0x53fc04(0x20e)]==_0x53fc04(0x14e)&&(!(_0x53fc04(0x16d)in _0x22e011)||_0x22e011[_0x53fc04(0x16d)]===void 0x0||typeof _0x22e011['segmentId']==_0x53fc04(0x14e));}let _0x8b51aa=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x24924d,_0x34cd4b){const _0x488594=_0x5e1fd7;super(),this[_0x488594(0x18d)]=_0x24924d,this['_docFormulaModel']=_0x34cd4b,this[_0x488594(0x1e6)](this['_resourceManagerService'][_0x488594(0x12f)]({'pluginName':_0x542a71,'businesses':[_0x35ada0['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x12f496=>JSON['stringify'](this[_0x488594(0x259)][_0x488594(0x22b)](_0x12f496)),'parseJson':_0x161524=>JSON['parse'](_0x161524),'onLoad':(_0x3e7efa,_0x42b058)=>{const _0x106fd6=_0x488594;this[_0x106fd6(0x259)][_0x106fd6(0x205)](_0x3e7efa,_0x42b058);},'onUnLoad':_0x20c8a2=>this[_0x488594(0x259)][_0x488594(0x139)](_0x20c8a2)}));}};_0x8b51aa=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x17b)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef))],_0x8b51aa);var _0x30e850=_0x5e1fd7(0x14c),_0x2875e9=_0x5e1fd7(0x206);let _0x18c23d={},_0x4da995=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2b80d0,_0x6804c6,_0x419328){const _0x23ef32=_0x5e1fd7;super(),this[_0x23ef32(0x181)]=_0x2b80d0,this[_0x23ef32(0x26f)]=_0x6804c6,this[_0x23ef32(0x1e6)](_0x419328[_0x23ef32(0x233)]({'resolve':(_0x12ccc6,_0x370ddc)=>{const _0x1361d4=_0x23ef32;var _0x5677bd;return((_0x5677bd=_0x370ddc['customRanges'])==null?void 0x0:_0x5677bd['filter'](_0x5646e5)[_0x1361d4(0x1f2)](_0x2557c1=>({'startOffset':_0x2557c1[_0x1361d4(0x200)],'endOffset':_0x2557c1[_0x1361d4(0x24f)]+0x1,'text':this[_0x1361d4(0x150)](_0x12ccc6,_0x2557c1[_0x1361d4(0x268)])})))??[];}})),this[_0x23ef32(0x1e6)](this[_0x23ef32(0x26f)][_0x23ef32(0x226)][_0x23ef32(0x1ba)](({unitId:_0x19c415})=>{const _0x357519=_0x23ef32;_0x419328[_0x357519(0x1d5)](_0x19c415);}));}['resolveFormula'](_0x4b9962,_0x11b812){const _0x167314=_0x5e1fd7;var _0x3245b4;return((_0x3245b4=this[_0x167314(0x26f)][_0x167314(0x151)]({'unitId':_0x4b9962,'rangeId':_0x11b812}))==null?void 0x0:_0x3245b4['text'])??'';}[_0x5e1fd7(0x241)](_0x347a0c,_0x12eb8a,_0x33731b){const _0x35c53c=_0x5e1fd7;var _0x46e549;let _0xd440b4=this[_0x35c53c(0x181)][_0x35c53c(0x214)](_0x347a0c,_0x35ada0['UniverInstanceType'][_0x35c53c(0x238)]),_0x6c07e1=_0xd440b4==null?void 0x0:_0xd440b4[_0x35c53c(0x260)]();if(!_0x6c07e1)return'';let _0x4c1860=_0x6c07e1[_0x35c53c(0x13f)][_0x35c53c(0x266)](_0x12eb8a,_0x33731b),_0x2566d4=((_0x46e549=_0x6c07e1['customRanges'])==null?void 0x0:_0x46e549['filter'](_0x2c1346=>_0x5646e5(_0x2c1346)&&_0x2c1346[_0x35c53c(0x200)]>=_0x12eb8a&&_0x2c1346[_0x35c53c(0x24f)]<_0x33731b)['sort']((_0x17a92f,_0x4006bf)=>_0x4006bf[_0x35c53c(0x200)]-_0x17a92f[_0x35c53c(0x200)]))??[];for(let _0x328784 of _0x2566d4){let _0x2f39e4=_0x328784[_0x35c53c(0x200)]-_0x12eb8a,_0x12ddb5=_0x328784[_0x35c53c(0x24f)]-_0x12eb8a+0x1;_0x4c1860=''+_0x4c1860[_0x35c53c(0x266)](0x0,_0x2f39e4)+this[_0x35c53c(0x150)](_0x347a0c,_0x328784[_0x35c53c(0x268)])+_0x4c1860[_0x35c53c(0x266)](_0x12ddb5);}return _0x4c1860;}['degradeDocumentData'](_0x24f552){return _0x2cb22a(_0x24f552);}['degradeBody'](_0x7a20ca,_0xe5d23,_0x445986={}){const _0x19e21d=_0x5e1fd7;var _0x504473;return _0x562951({'id':_0x7a20ca,'body':_0xe5d23,'documentStyle':{}},(((_0x504473=_0xe5d23['customRanges'])==null?void 0x0:_0x504473[_0x19e21d(0x230)](_0x5646e5))??[])[_0x19e21d(0x1f2)](_0x4741ad=>({'rangeId':_0x4741ad['rangeId'],'text':_0x445986[_0x4741ad[_0x19e21d(0x268)]]??this['resolveFormula'](_0x7a20ca,_0x4741ad[_0x19e21d(0x268)])})))[_0x19e21d(0x274)]??{'dataStream':''};}};_0x4da995=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x196)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x56ff97[_0x5e1fd7(0x224)]))],_0x4da995);function _0x2cb22a(_0x168811){const _0x57749a=_0x5e1fd7;var _0x37aa37,_0x8a1984;let _0x50495a=_0x5af54e(_0x168811),_0x5b7766=_0x562951(_0x168811,(((_0x37aa37=_0x168811[_0x57749a(0x274)])==null||(_0x37aa37=_0x37aa37[_0x57749a(0x189)])==null?void 0x0:_0x37aa37[_0x57749a(0x230)](_0x5646e5))??[])[_0x57749a(0x1f2)](_0x113092=>({'rangeId':_0x113092[_0x57749a(0x268)],'text':_0x1b7be2(_0x50495a==null?void 0x0:_0x50495a[_0x57749a(0x167)][_0x113092[_0x57749a(0x268)]])})));return _0x5b7766[_0x57749a(0x264)]=(_0x8a1984=_0x5b7766[_0x57749a(0x264)])==null?void 0x0:_0x8a1984[_0x57749a(0x230)](_0x499ff5=>_0x499ff5['name']!==_0x542a71),_0x5b7766;}function _0x5af54e(_0x234d4a){const _0x20588a=_0x5e1fd7;var _0x53fe47;let _0x5bf6f6=(_0x53fe47=_0x234d4a[_0x20588a(0x264)])==null||(_0x53fe47=_0x53fe47[_0x20588a(0x193)](_0x3986e3=>_0x3986e3[_0x20588a(0x249)]===_0x20588a(0x20b)))==null?void 0x0:_0x53fe47[_0x20588a(0x1c4)];if(_0x5bf6f6)try{let _0x8a1849=JSON[_0x20588a(0x187)](_0x5bf6f6);return _0x2c1ccf(_0x8a1849)?_0x8a1849:void 0x0;}catch{return;}}function _0x1b7be2(_0x7b3244){return _0x7b3244?(0x0,_0x305999['resolveFormulaResultPresentation'])({'lastValue':_0x7b3244['lastValue'],'numberFormat':_0x7b3244['numberFormat']})['text']:'';}let _0x4727c1=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2c9a36,_0x4bba23,_0x129fd4){const _0x36e51f=_0x5e1fd7;super(),this['_formulaService']=_0x2c9a36,this[_0x36e51f(0x254)]=_0x4bba23,this['disposeWithMe'](_0x129fd4[_0x36e51f(0x19e)](this));}['collectMutations'](_0x230107){const _0x2c31a1=_0x5e1fd7;let _0x15e346=new Map();for(let _0x19b7ad of this[_0x2c31a1(0x26f)][_0x2c31a1(0x165)]()){var _0x49ca65;if(!this[_0x2c31a1(0x254)][_0x2c31a1(0x194)](_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],_0x19b7ad[_0x2c31a1(0x1e8)])[_0x2c31a1(0x1de)])continue;let _0x26d75d=(0x0,_0x305999[_0x2c31a1(0x175)])(_0x19b7ad[_0x2c31a1(0x1e8)]),_0x506ea1=_0x26d75d?(0x0,_0x305999[_0x2c31a1(0x16a)])(_0x26d75d):null;if(!_0x506ea1||_0x17b958(_0x19b7ad['config'][_0x2c31a1(0x14a)],_0x506ea1))continue;let _0x3b1efc=_0x15e346['get'](_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x20e)])??[];_0x3b1efc['push']({'rangeId':_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x268)],'expectedFormula':_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],'expectedNumberFormat':(_0x49ca65=_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x1b6)])==null?void 0x0:_0x49ca65[_0x2c31a1(0x171)],'expectedReferenceRevision':_0x19b7ad[_0x2c31a1(0x201)],'lastValue':_0x506ea1}),_0x15e346[_0x2c31a1(0x21b)](_0x19b7ad[_0x2c31a1(0x239)]['unitId'],_0x3b1efc);}return Array[_0x2c31a1(0x1af)](_0x15e346,([_0x1eb414,_0x1891c8])=>({'id':_0xb5810e['id'],'params':{'unitId':_0x1eb414,'updates':_0x1891c8}}));}};_0x4727c1=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999['FormulaCacheEligibilityService'])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x1ef)]))],_0x4727c1);function _0x17b958(_0x2e9771,_0x34fcd2){const _0x155a0a=_0x5e1fd7;return(_0x2e9771==null?void 0x0:_0x2e9771['v'])===_0x34fcd2['v']&&(_0x2e9771==null?void 0x0:_0x2e9771['t'])===_0x34fcd2['t']&&(_0x2e9771==null?void 0x0:_0x2e9771[_0x155a0a(0x171)])===_0x34fcd2[_0x155a0a(0x171)];}let _0x3b5da5=class extends _0x35ada0['Plugin']{constructor(_0x3f98a1=_0x18c23d,_0x241902,_0x54303a,_0x1c69ae){const _0x547741=_0x5e1fd7;super(),this[_0x547741(0x1cf)]=_0x3f98a1,this['_injector']=_0x241902,this['_commandService']=_0x54303a,this['_configService']=_0x1c69ae;let {..._0x176cf2}=(0x0,_0x35ada0[_0x547741(0x19a)])({},_0x18c23d,this[_0x547741(0x1cf)]);this[_0x547741(0x26e)][_0x547741(0x1df)]('docs-formula.config',_0x176cf2);}[_0x5e1fd7(0x24b)](){const _0x3e9f99=_0x5e1fd7;this[_0x3e9f99(0x17a)][_0x3e9f99(0x25e)]([_0xde1cef]),this[_0x3e9f99(0x17a)]['add']([_0x131ce3]),this['_injector'][_0x3e9f99(0x25e)]([_0x8b51aa]),this[_0x3e9f99(0x17a)]['add']([_0x1c5633]),this['_injector'][_0x3e9f99(0x25e)]([_0x4727c1]),this[_0x3e9f99(0x17a)]['add']([_0x4da995]),(0x0,_0x35ada0[_0x3e9f99(0x145)])(this[_0x3e9f99(0x17a)],[[_0xde1cef],[_0x8b51aa],[_0x1c5633],[_0x4727c1],[_0x4da995]]),[_0x3ac648,_0x399640,_0x488e31,_0xb5810e,_0x235e40,_0x16a7c0,_0x154ac9,_0x11cbf3,_0x2df4f6,_0x4c25bb][_0x3e9f99(0x1f9)](_0x5369da=>this[_0x3e9f99(0x1e6)](this['_commandService'][_0x3e9f99(0x137)](_0x5369da)));}};_0x427b68(_0x3b5da5,'pluginName',_0x542a71),_0x427b68(_0x3b5da5,_0x5e1fd7(0x149),_0x30e850),_0x427b68(_0x3b5da5,_0x5e1fd7(0x248),_0x2875e9),_0x427b68(_0x3b5da5,'type',_0x35ada0['UniverInstanceType'][_0x5e1fd7(0x238)]),_0x3b5da5=_0x1ac6f5([(0x0,_0x35ada0[_0x5e1fd7(0x1f4)])(_0x33899c[_0x5e1fd7(0x17f)],_0x305999[_0x5e1fd7(0x1d7)],_0x56ff97[_0x5e1fd7(0x174)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x35ada0[_0x5e1fd7(0x221)])),_0xf1755d(0x2,_0x35ada0['ICommandService']),_0xf1755d(0x3,_0x35ada0['IConfigService'])],_0x3b5da5),_0xe6425f[_0x5e1fd7(0x25a)]=_0x4c25bb,_0xe6425f['DOC_FORMULA_CUSTOM_RANGE_KIND']=_0x24a7cd,_0xe6425f['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xe6425f[_0x5e1fd7(0x20b)]=_0x542a71,_0xe6425f[_0x5e1fd7(0x19c)]=0x1,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1cb),{'enumerable':!0x0,'get':function(){return _0x4da995;}}),Object[_0x5e1fd7(0x1a5)](_0xe6425f,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x1c5633;}}),_0xe6425f['DocFormulaModel']=_0xde1cef,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1fb),{'enumerable':!0x0,'get':function(){return _0x8b51aa;}}),_0xe6425f[_0x5e1fd7(0x265)]=_0x3ac023,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1a6),{'enumerable':!0x0,'get':function(){return _0x131ce3;}}),_0xe6425f[_0x5e1fd7(0x136)]=_0x235e40,_0xe6425f[_0x5e1fd7(0x199)]=_0x84039e,_0xe6425f[_0x5e1fd7(0x26c)]=_0x11cbf3,_0xe6425f[_0x5e1fd7(0x228)]=_0x399640,_0xe6425f[_0x5e1fd7(0x231)]=_0x2df4f6,_0xe6425f['SetDocFormulaLastValuesMutation']=_0xb5810e,_0xe6425f[_0x5e1fd7(0x1da)]=_0x3ac648,_0xe6425f[_0x5e1fd7(0x275)]=_0x154ac9,_0xe6425f[_0x5e1fd7(0x26d)]=_0x488e31,Object['defineProperty'](_0xe6425f,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x3b5da5;}}),_0xe6425f[_0x5e1fd7(0x1ce)]=_0x16a7c0,_0xe6425f[_0x5e1fd7(0x1cc)]=_0x5eec39,_0xe6425f[_0x5e1fd7(0x257)]=_0x50a02c,_0xe6425f['buildRemoveDocFormulaActions']=_0x44ab43,_0xe6425f[_0x5e1fd7(0x22a)]=_0x424b69,_0xe6425f[_0x5e1fd7(0x1d3)]=_0x3fca4a,_0xe6425f['degradeDocFormulaDocumentData']=_0x2cb22a,_0xe6425f[_0x5e1fd7(0x222)]=_0x251f7a,_0xe6425f[_0x5e1fd7(0x25f)]=_0x4983da,_0xe6425f[_0x5e1fd7(0x1f3)]=_0x5646e5,_0xe6425f[_0x5e1fd7(0x229)]=_0x2c1ccf,_0xe6425f[_0x5e1fd7(0x1e5)]=_0x544890;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Inline data formula model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/engine-formula": "1.0.
|
|
65
|
-
"@univerjs-pro/license": "1.0.
|
|
66
|
-
"@univerjs/core": "1.0.
|
|
67
|
-
"@univerjs/docs": "1.0.
|
|
68
|
-
"@univerjs/engine-formula": "1.0.
|
|
64
|
+
"@univerjs-pro/engine-formula": "1.0.3",
|
|
65
|
+
"@univerjs-pro/license": "1.0.3",
|
|
66
|
+
"@univerjs/core": "1.0.3",
|
|
67
|
+
"@univerjs/docs": "1.0.3",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.3"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@univerjs-infra/shared": "1.0.
|
|
72
|
-
"@univerjs/engine-render": "1.0.
|
|
71
|
+
"@univerjs-infra/shared": "1.0.3",
|
|
72
|
+
"@univerjs/engine-render": "1.0.3",
|
|
73
73
|
"rxjs": "7.8.2",
|
|
74
74
|
"typescript": "^6.0.3",
|
|
75
75
|
"vitest": "^5.0.0"
|