@univerjs-pro/docs-formula 1.0.0-alpha.8 → 1.0.0-beta.1
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 _0x5022(_0x2d294a,_0x58ee53){_0x2d294a=_0x2d294a-0x10e;const _0x471241=_0x4712();let _0x502286=_0x471241[_0x2d294a];return _0x502286;}(function(_0x1d4eac,_0x39d7d5){const _0xbc2fa=_0x5022,_0x5a80cd=_0x1d4eac();while(!![]){try{const _0x1825b=parseInt(_0xbc2fa(0x1e5))/0x1*(-parseInt(_0xbc2fa(0x185))/0x2)+-parseInt(_0xbc2fa(0x118))/0x3+-parseInt(_0xbc2fa(0x20c))/0x4*(-parseInt(_0xbc2fa(0x212))/0x5)+parseInt(_0xbc2fa(0x1c3))/0x6*(parseInt(_0xbc2fa(0x1c1))/0x7)+-parseInt(_0xbc2fa(0x234))/0x8*(parseInt(_0xbc2fa(0x1dc))/0x9)+parseInt(_0xbc2fa(0x137))/0xa*(-parseInt(_0xbc2fa(0x23d))/0xb)+-parseInt(_0xbc2fa(0x19a))/0xc*(-parseInt(_0xbc2fa(0x1d5))/0xd);if(_0x1825b===_0x39d7d5)break;else _0x5a80cd['push'](_0x5a80cd['shift']());}catch(_0x7f4827){_0x5a80cd['push'](_0x5a80cd['shift']());}}}(_0x4712,0x3702e),function(_0x1d058d,_0x475936){const _0x5a2029=_0x5022;typeof exports==_0x5a2029(0x183)&&typeof module<'u'?_0x475936(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x5a2029(0x1ac)&&define[_0x5a2029(0x22f)]?define([_0x5a2029(0x1cd),'@univerjs-pro/engine-formula',_0x5a2029(0x226),_0x5a2029(0x120),'@univerjs/engine-formula','rxjs',_0x5a2029(0x249)],_0x475936):(_0x1d058d=typeof globalThis<'u'?globalThis:_0x1d058d||self,_0x475936(_0x1d058d[_0x5a2029(0x124)]={},_0x1d058d[_0x5a2029(0x19d)],_0x1d058d[_0x5a2029(0x180)],_0x1d058d[_0x5a2029(0x164)],_0x1d058d['UniverEngineFormula'],_0x1d058d[_0x5a2029(0x21e)],_0x1d058d[_0x5a2029(0x24b)]));}(this,function(_0x33c4a4,_0x3c5cf2,_0x5ccade,_0x552610,_0x16df82,_0x183d08,_0x34ed53){const _0x68fc2d=_0x5022;Object[_0x68fc2d(0x115)](_0x33c4a4,Symbol[_0x68fc2d(0x1b0)],{'value':_0x68fc2d(0x19f)});let _0x52ee54=_0x68fc2d(0x1cc),_0x5a43ba=_0x68fc2d(0x24f);function _0x249ba4(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4b9e30(_0x4a2f25){const _0x4e3a2c=_0x68fc2d;return!_0x4a2f25||typeof _0x4a2f25!=_0x4e3a2c(0x183)||!_0x10abae(_0x4a2f25,[_0x4e3a2c(0x150),'formulas'])||!(_0x4e3a2c(0x150)in _0x4a2f25)||_0x4a2f25[_0x4e3a2c(0x150)]!==0x1||!('formulas'in _0x4a2f25)||!_0x4a2f25[_0x4e3a2c(0x25e)]||typeof _0x4a2f25['formulas']!=_0x4e3a2c(0x183)||Array[_0x4e3a2c(0x22a)](_0x4a2f25[_0x4e3a2c(0x25e)])?!0x1:Object[_0x4e3a2c(0x14f)](_0x4a2f25[_0x4e3a2c(0x25e)])['every'](([_0x577ebe,_0x5ac112])=>_0x577ebe['length']>0x0&&_0x2fd311(_0x5ac112));}function _0x2fd311(_0x185ab0){const _0x1e6ccd=_0x68fc2d;return!_0x185ab0||typeof _0x185ab0!=_0x1e6ccd(0x183)||!_0x10abae(_0x185ab0,['formula',_0x1e6ccd(0x176),_0x1e6ccd(0x117)])||!(_0x1e6ccd(0x1fe)in _0x185ab0)||typeof _0x185ab0[_0x1e6ccd(0x1fe)]!='string'||!_0x185ab0[_0x1e6ccd(0x1fe)][_0x1e6ccd(0x1de)]()||'numberFormat'in _0x185ab0&&_0x185ab0[_0x1e6ccd(0x176)]!=null&&(typeof _0x185ab0[_0x1e6ccd(0x176)]!=_0x1e6ccd(0x183)||!_0x10abae(_0x185ab0['numberFormat'],['pattern'])||!(_0x1e6ccd(0x23a)in _0x185ab0['numberFormat'])||typeof _0x185ab0['numberFormat'][_0x1e6ccd(0x23a)]!=_0x1e6ccd(0x1fd))?!0x1:!('lastValue'in _0x185ab0)||_0x185ab0[_0x1e6ccd(0x117)]==null||_0xa6d1e4(_0x185ab0['lastValue']);}function _0xa6d1e4(_0x473f20){const _0x3a0222=_0x68fc2d;return!_0x473f20||typeof _0x473f20!=_0x3a0222(0x183)||!_0x10abae(_0x473f20,['v','t','pattern'])||!('v'in _0x473f20)||_0x473f20['v']!==null&&typeof _0x473f20['v']!=_0x3a0222(0x1fd)&&typeof _0x473f20['v']!=_0x3a0222(0x1cb)&&typeof _0x473f20['v']!=_0x3a0222(0x211)||'t'in _0x473f20&&_0x473f20['t']!=null&&!_0x4a6d77(_0x473f20['t'])?!0x1:!(_0x3a0222(0x23a)in _0x473f20)||_0x473f20[_0x3a0222(0x23a)]==null||typeof _0x473f20[_0x3a0222(0x23a)]==_0x3a0222(0x1fd);}function _0x10abae(_0x4bf197,_0x40f124){const _0x175bd1=_0x68fc2d;let _0x6551ef=new Set(_0x40f124);return Object[_0x175bd1(0x143)](_0x4bf197)[_0x175bd1(0x11f)](_0xbdf4d2=>_0x6551ef[_0x175bd1(0x21c)](_0xbdf4d2));}function _0x4a6d77(_0xd5d728){const _0x5b8b57=_0x68fc2d;return typeof _0xd5d728==_0x5b8b57(0x1cb)&&Object[_0x5b8b57(0x18f)](_0x5ccade['CellValueType'])[_0x5b8b57(0x1e8)](_0xd5d728);}let _0x2e84d0=new Set([_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x215)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x129)],_0x5ccade['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x168)],_0x5ccade['DataStreamTreeTokenType'][_0x68fc2d(0x186)],_0x5ccade[_0x68fc2d(0x15a)]['TABLE_ROW_END'],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x193)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x1b4)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x21f)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x255)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x187)],_0x5ccade['DataStreamTreeTokenType'][_0x68fc2d(0x259)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x1b7)],_0x5ccade[_0x68fc2d(0x15a)][_0x68fc2d(0x171)]]);var _0x33e424=class extends Error{constructor(){const _0x37f08e=_0x68fc2d;super(_0x37f08e(0x173));}};function _0x55347d(_0x4ec1e9){const _0x53c117=_0x68fc2d;var _0x2df270,_0x51ecf9,_0x28865a,_0x514735;let _0xa1e173=_0x5ccade['Tools'][_0x53c117(0x20b)](_0x4ec1e9[_0x53c117(0x13a)]),_0x3b5410=_0x4a587e(_0xa1e173),{startOffset:_0x5bdf3a,endOffset:_0xbd78e6}=_0x301d0c(_0x3b5410,_0x4ec1e9[_0x53c117(0x21b)],_0x4ec1e9[_0x53c117(0x1ef)]);_0x1fdb77(_0x3b5410,_0x5bdf3a,_0xbd78e6);let _0x3ca675=(_0x2df270=(_0x51ecf9=_0x3b5410[_0x53c117(0x15d)])==null?void 0x0:_0x51ecf9[_0x53c117(0x261)](_0x610114=>{const _0x1a59e4=_0x53c117;if(!_0x219bde(_0x610114))return!0x1;let _0x2c6796=(0x0,_0x5ccade[_0x1a59e4(0x11a)])(_0x610114);return _0x2c6796[_0x1a59e4(0x1ef)]>_0x5bdf3a&&_0x2c6796[_0x1a59e4(0x21b)]<_0xbd78e6;})['map'](_0x4f1133=>_0x4f1133[_0x53c117(0x1e2)]))==null?[]:_0x2df270;_0x4ceaec(_0x3b5410,_0x5bdf3a,_0xbd78e6,''),_0x3b5410[_0x53c117(0x15d)]=[...(_0x28865a=(_0x514735=_0x3b5410[_0x53c117(0x15d)])==null?void 0x0:_0x514735['filter'](_0x592ebd=>!_0x3ca675[_0x53c117(0x1e8)](_0x592ebd[_0x53c117(0x1e2)])&&_0x592ebd[_0x53c117(0x1e2)]!==_0x4ec1e9[_0x53c117(0x1e2)]))==null?[]:_0x28865a,_0x5d1d51(_0x4ec1e9[_0x53c117(0x1e2)],_0x5bdf3a)][_0x53c117(0x229)]((_0x275930,_0x17f09e)=>_0x275930[_0x53c117(0x13d)]-_0x17f09e['startIndex']);let _0x21edb7=_0x5a1a1a(_0x4ec1e9['resource']);return _0x3ca675[_0x53c117(0x182)](_0x400b60=>{const _0x6c3806=_0x53c117;delete _0x21edb7[_0x6c3806(0x25e)][_0x400b60];}),_0x21edb7[_0x53c117(0x25e)][_0x4ec1e9[_0x53c117(0x1e2)]]=_0x5ccade[_0x53c117(0x110)]['deepClone'](_0x4ec1e9[_0x53c117(0x152)]),{'nextDocumentData':_0xa1e173,'nextResource':_0x21edb7,'cursorOffset':_0x5bdf3a+0x1};}function _0x116721(_0x47794a){const _0x330580=_0x68fc2d;var _0x3652ad,_0x5af6b3;let _0x268ad0=_0x5ccade[_0x330580(0x110)]['deepClone'](_0x47794a['documentData']),_0x2c1dc0=(_0x3652ad=_0x4a587e(_0x268ad0)[_0x330580(0x15d)])==null?void 0x0:_0x3652ad[_0x330580(0x24e)](_0x189144=>_0x189144['rangeId']===_0x47794a['rangeId']&&_0x219bde(_0x189144));if(!_0x2c1dc0||!((_0x5af6b3=_0x47794a[_0x330580(0x192)])!=null&&_0x5af6b3[_0x330580(0x25e)][_0x47794a[_0x330580(0x1e2)]]))return null;let _0x4281e0=_0x5a1a1a(_0x47794a[_0x330580(0x192)]);return _0x4281e0[_0x330580(0x25e)][_0x47794a[_0x330580(0x1e2)]]=_0x5ccade[_0x330580(0x110)][_0x330580(0x20b)](_0x47794a[_0x330580(0x152)]),{'nextDocumentData':_0x268ad0,'nextResource':_0x4281e0,'cursorOffset':_0x2c1dc0[_0x330580(0x174)]+0x1};}function _0x5114cd(_0x1c884b){const _0x152ad8=_0x68fc2d;var _0x14f341;let _0x1fc536=_0x5ccade[_0x152ad8(0x110)][_0x152ad8(0x20b)](_0x1c884b[_0x152ad8(0x13a)]),_0x298798=_0x1d3d17(_0x1fc536,_0x1c884b['rangeId'],(_0x14f341=_0x1c884b['text'])==null?'':_0x14f341);if(_0x298798==null)return null;let _0x2944b9=_0x5a1a1a(_0x1c884b[_0x152ad8(0x192)]);return delete _0x2944b9['formulas'][_0x1c884b[_0x152ad8(0x1e2)]],{'nextDocumentData':_0x1fc536,'nextResource':_0x2944b9,'cursorOffset':_0x298798};}function _0x1841ad(_0x42627a,_0x18b5df){const _0x15e656=_0x68fc2d;var _0x14bcaa,_0x28af70;let _0x16c836=_0x5ccade[_0x15e656(0x110)][_0x15e656(0x20b)](_0x42627a),_0x3837e3=_0x16c836['body'];if(!_0x3837e3)return _0x16c836;let _0x1b8ec0=new Map(_0x18b5df['map'](_0x111ba3=>[_0x111ba3[_0x15e656(0x1e2)],_0x111ba3[_0x15e656(0x200)]])),_0x116853=(_0x14bcaa=(_0x28af70=_0x3837e3[_0x15e656(0x15d)])==null?void 0x0:_0x28af70[_0x15e656(0x261)](_0x51f89c=>_0x219bde(_0x51f89c)&&_0x1b8ec0[_0x15e656(0x21c)](_0x51f89c['rangeId']))[_0x15e656(0x229)]((_0x4d42b4,_0xa6d061)=>_0xa6d061[_0x15e656(0x13d)]-_0x4d42b4[_0x15e656(0x13d)]))==null?[]:_0x14bcaa;for(let _0x386b89 of _0x116853){var _0x4ac3f7;_0x1d3d17(_0x16c836,_0x386b89[_0x15e656(0x1e2)],(_0x4ac3f7=_0x1b8ec0[_0x15e656(0x175)](_0x386b89[_0x15e656(0x1e2)]))==null?'':_0x4ac3f7);}return _0x16c836;}function _0x219bde(_0x72d3d){const _0x488d75=_0x68fc2d;var _0x4d4e3c;return(_0x72d3d==null?void 0x0:_0x72d3d['rangeType'])===_0x5ccade['CustomRangeType'][_0x488d75(0x113)]&&_0x72d3d['wholeEntity']===!0x0&&((_0x4d4e3c=_0x72d3d[_0x488d75(0x246)])==null?void 0x0:_0x4d4e3c[_0x488d75(0x184)])==='univer-docs-formula';}function _0x2a8744(_0x5a8a6f,_0x564095){const _0x1378e1=_0x68fc2d;var _0x3e130e;return _0x5a8a6f==null||(_0x3e130e=_0x5a8a6f[_0x1378e1(0x15d)])==null?void 0x0:_0x3e130e[_0x1378e1(0x24e)](_0x106229=>_0x106229[_0x1378e1(0x1e2)]===_0x564095&&_0x219bde(_0x106229));}function _0x1fdb77(_0x498be3,_0x4350a2,_0x16e042){const _0x30d19e=_0x68fc2d;if(_0x4350a2===_0x16e042){if(_0x2e84d0[_0x30d19e(0x21c)](_0x498be3['dataStream'][_0x4350a2]))throw new _0x33e424();return;}for(let _0x200adb=_0x4350a2;_0x200adb<_0x16e042;_0x200adb++)if(_0x498be3[_0x30d19e(0x1ce)][_0x200adb]===_0x5ccade[_0x30d19e(0x15a)]['PARAGRAPH']||_0x2e84d0[_0x30d19e(0x21c)](_0x498be3['dataStream'][_0x200adb]))throw new _0x33e424();}function _0x5d1d51(_0x342995,_0x25905a){const _0x410c7d=_0x68fc2d;return{'startIndex':_0x25905a,'endIndex':_0x25905a,'rangeId':_0x342995,'rangeType':_0x5ccade[_0x410c7d(0x128)][_0x410c7d(0x113)],'wholeEntity':!0x0,'properties':{'kind':_0x5a43ba}};}function _0x5a1a1a(_0x2c19c4){const _0x585bfc=_0x68fc2d;return _0x2c19c4?_0x5ccade['Tools'][_0x585bfc(0x20b)](_0x2c19c4):_0x249ba4();}function _0x301d0c(_0x396b63,_0x29ce88,_0x167a2a){const _0x66194=_0x68fc2d;let _0x3fbe71=_0x2c71d0(_0x396b63),_0xde7219=_0x29ce88==null?_0x3fbe71:_0x29ce88,_0x1dac99=_0x167a2a==null?_0xde7219:_0x167a2a;return{'startOffset':_0x1f4d6e(Math[_0x66194(0x1f2)](_0xde7219,_0x1dac99),_0x3fbe71),'endOffset':_0x1f4d6e(Math[_0x66194(0x17f)](_0xde7219,_0x1dac99),_0x3fbe71)};}function _0x1f4d6e(_0x12e9fc,_0x2dc981){const _0x425204=_0x68fc2d;return Math[_0x425204(0x17f)](0x0,Math[_0x425204(0x1f2)](_0x12e9fc,_0x2dc981));}function _0x2c71d0(_0x3ed0e6){const _0x1d2658=_0x68fc2d;return _0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1e9)](''+_0x5ccade['DataStreamTreeTokenType']['PARAGRAPH']+_0x5ccade['DataStreamTreeTokenType'][_0x1d2658(0x215)])?Math[_0x1d2658(0x17f)](0x0,_0x3ed0e6[_0x1d2658(0x1ce)]['length']-0x2):_0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1e9)](_0x5ccade[_0x1d2658(0x15a)][_0x1d2658(0x215)])?Math[_0x1d2658(0x17f)](0x0,_0x3ed0e6[_0x1d2658(0x1ce)]['length']-0x1):_0x3ed0e6[_0x1d2658(0x1ce)][_0x1d2658(0x1c4)];}function _0x4ceaec(_0x3efc6e,_0x1e2b89,_0x547676,_0x23e8c1){_0x547676>_0x1e2b89&&_0xa071dd(_0x3efc6e,_0x1e2b89,_0x547676),_0x2c9c1f(_0x3efc6e,_0x1e2b89,_0x23e8c1);}function _0x1d3d17(_0x29344d,_0xa22788,_0x13901f){const _0x98e553=_0x68fc2d;var _0x360903,_0xca461a;let _0x11f16c=_0x4a587e(_0x29344d),_0xa98274=(_0x360903=_0x11f16c[_0x98e553(0x15d)])==null?void 0x0:_0x360903[_0x98e553(0x24e)](_0x3874ed=>_0x3874ed[_0x98e553(0x1e2)]===_0xa22788&&_0x219bde(_0x3874ed));if(!_0xa98274)return null;let _0x33179c=(0x0,_0x5ccade[_0x98e553(0x11a)])(_0xa98274);return _0x4ceaec(_0x11f16c,_0x33179c[_0x98e553(0x21b)],_0x33179c[_0x98e553(0x1ef)],_0x13901f),_0x11f16c[_0x98e553(0x15d)]=(_0xca461a=_0x11f16c['customRanges'])==null?void 0x0:_0xca461a[_0x98e553(0x261)](_0x5206f4=>_0x5206f4[_0x98e553(0x1e2)]!==_0xa22788),_0x33179c['startOffset']+_0x13901f[_0x98e553(0x1c4)];}function _0x2c9c1f(_0xfa3a74,_0x1f422d,_0x414b18){const _0x5da795=_0x68fc2d;_0x414b18&&(_0xfa3a74[_0x5da795(0x1ce)]=''+_0xfa3a74['dataStream']['slice'](0x0,_0x1f422d)+_0x414b18+_0xfa3a74[_0x5da795(0x1ce)][_0x5da795(0x1b2)](_0x1f422d),_0x6b896f(_0xfa3a74,_0x1f422d,_0x414b18[_0x5da795(0x1c4)]));}function _0xa071dd(_0x42b8b2,_0x4fe597,_0x35cca6){const _0x202460=_0x68fc2d;let _0x2b979e=_0x35cca6-_0x4fe597;_0x42b8b2['dataStream']=''+_0x42b8b2[_0x202460(0x1ce)][_0x202460(0x1b2)](0x0,_0x4fe597)+_0x42b8b2['dataStream']['slice'](_0x35cca6),_0x1b632e(_0x42b8b2,_0x4fe597,_0x2b979e);}function _0x6b896f(_0x5dbd34,_0x2f6d4f,_0xf100d3){const _0x3e624e=_0x68fc2d;_0x5dbd34[_0x3e624e(0x14e)]=_0x196795(_0x5dbd34[_0x3e624e(0x14e)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x1c6)]=_0x196795(_0x5dbd34[_0x3e624e(0x1c6)],_0x2f6d4f,_0xf100d3),_0x5dbd34['customBlocks']=_0x196795(_0x5dbd34[_0x3e624e(0x1e7)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x254)]=_0x19227d(_0x5dbd34[_0x3e624e(0x254)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x17b)]=_0x16eb6d(_0x5dbd34['tables'],_0x2f6d4f,_0xf100d3),_0x5dbd34['columnGroups']=_0x13a7cb(_0x5dbd34[_0x3e624e(0x22e)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x15d)]=_0x13a7cb(_0x5dbd34['customRanges'],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x1fa)]=_0x13a7cb(_0x5dbd34[_0x3e624e(0x1fa)],_0x2f6d4f,_0xf100d3),_0x5dbd34[_0x3e624e(0x237)]=_0x13a7cb(_0x5dbd34['blockRanges'],_0x2f6d4f,_0xf100d3);}function _0x1b632e(_0x692e90,_0x5bc770,_0x20467d){const _0x3d7e19=_0x68fc2d;var _0x800ed,_0x155711;_0x692e90['paragraphs']=_0x52095c(_0x692e90[_0x3d7e19(0x14e)],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x1c6)]=_0x52095c(_0x692e90['sectionBreaks'],_0x5bc770,_0x20467d),_0x692e90['customBlocks']=_0x52095c(_0x692e90[_0x3d7e19(0x1e7)],_0x5bc770,_0x20467d),_0x692e90['textRuns']=(_0x800ed=_0x2d782d((_0x155711=_0x692e90[_0x3d7e19(0x254)])==null?void 0x0:_0x155711['map'](_0x3e070d=>({..._0x3e070d,'startIndex':_0x3e070d['st'],'endIndex':_0x3e070d['ed']})),_0x5bc770,_0x20467d))==null?void 0x0:_0x800ed[_0x3d7e19(0x125)](_0x8465e2=>{let {startIndex:_0x246b5c,endIndex:_0x4746b7,..._0x283308}=_0x8465e2;return{..._0x283308,'st':_0x246b5c,'ed':_0x4746b7};}),_0x692e90[_0x3d7e19(0x17b)]=_0x2d782d(_0x692e90['tables'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x22e)]=_0x25aad1(_0x692e90[_0x3d7e19(0x22e)],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x15d)]=_0x25aad1(_0x692e90['customRanges'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x1fa)]=_0x25aad1(_0x692e90['customDecorations'],_0x5bc770,_0x20467d),_0x692e90[_0x3d7e19(0x237)]=_0x25aad1(_0x692e90[_0x3d7e19(0x237)],_0x5bc770,_0x20467d);}function _0x196795(_0x80cc2d,_0x1fe632,_0x377c56){const _0x267e9c=_0x68fc2d;return _0x80cc2d==null?void 0x0:_0x80cc2d['map'](_0x378431=>_0x378431[_0x267e9c(0x13d)]>=_0x1fe632?{..._0x378431,'startIndex':_0x378431[_0x267e9c(0x13d)]+_0x377c56}:_0x378431);}function _0x52095c(_0x3b6fe3,_0x362458,_0x1a3847){const _0x568bad=_0x68fc2d;let _0x3b4561=_0x362458+_0x1a3847;return _0x3b6fe3==null?void 0x0:_0x3b6fe3[_0x568bad(0x125)](_0x3186b4=>_0x3186b4[_0x568bad(0x13d)]>=_0x362458&&_0x3186b4[_0x568bad(0x13d)]<_0x3b4561?null:_0x3186b4[_0x568bad(0x13d)]>=_0x3b4561?{..._0x3186b4,'startIndex':_0x3186b4[_0x568bad(0x13d)]-_0x1a3847}:_0x3186b4)[_0x568bad(0x261)](_0x9d4823=>_0x9d4823!=null);}function _0x19227d(_0x5f8fbe,_0x130690,_0x3bb48d){const _0x1381a8=_0x68fc2d;return _0x5f8fbe==null?void 0x0:_0x5f8fbe[_0x1381a8(0x125)](_0x591828=>_0x591828['st']>=_0x130690?{..._0x591828,'st':_0x591828['st']+_0x3bb48d,'ed':_0x591828['ed']+_0x3bb48d}:_0x591828['ed']>_0x130690?{..._0x591828,'ed':_0x591828['ed']+_0x3bb48d}:_0x591828);}function _0x13a7cb(_0x20b436,_0x4d2711,_0x3005f3){const _0x37ecff=_0x68fc2d;return _0x20b436==null?void 0x0:_0x20b436[_0x37ecff(0x125)](_0x55448a=>(0x0,_0x5ccade[_0x37ecff(0x12d)])(_0x55448a,_0x4d2711,_0x3005f3));}function _0x16eb6d(_0x4d33c2,_0x194ae3,_0x4ce9a5){const _0x1ad2e4=_0x68fc2d;return _0x4d33c2==null?void 0x0:_0x4d33c2[_0x1ad2e4(0x125)](_0x334937=>(0x0,_0x5ccade[_0x1ad2e4(0x1d3)])(_0x334937,_0x194ae3,_0x4ce9a5));}function _0x25aad1(_0x467dd8,_0x244f7b,_0x483c8e){const _0x3a805f=_0x68fc2d;return _0x467dd8==null?void 0x0:_0x467dd8[_0x3a805f(0x125)](_0x1d4821=>(0x0,_0x5ccade['shiftInclusiveRangeOnDelete'])(_0x1d4821,_0x244f7b,_0x483c8e))['filter'](_0x3bb18b=>_0x3bb18b!=null);}function _0x2d782d(_0x5e4e8b,_0x28d574,_0x7d3d5f){const _0x256cad=_0x68fc2d;return _0x5e4e8b==null?void 0x0:_0x5e4e8b[_0x256cad(0x125)](_0x519ad3=>(0x0,_0x5ccade[_0x256cad(0x1a7)])(_0x519ad3,_0x28d574,_0x7d3d5f))[_0x256cad(0x261)](_0x2fd78e=>_0x2fd78e!=null);}function _0x4a587e(_0xcdd59f){const _0x317152=_0x68fc2d;if(!_0xcdd59f[_0x317152(0x15e)])throw Error(_0x317152(0x198));return _0xcdd59f[_0x317152(0x15e)];}function _0x49975c(_0x52ac69){'@babel/helpers - typeof';const _0x10a62b=_0x68fc2d;return _0x49975c=typeof Symbol==_0x10a62b(0x1ac)&&typeof Symbol[_0x10a62b(0x195)]==_0x10a62b(0x1f1)?function(_0x55c756){return typeof _0x55c756;}:function(_0x1bd0a4){const _0x5183ae=_0x10a62b;return _0x1bd0a4&&typeof Symbol==_0x5183ae(0x1ac)&&_0x1bd0a4[_0x5183ae(0x127)]===Symbol&&_0x1bd0a4!==Symbol[_0x5183ae(0x161)]?_0x5183ae(0x1f1):typeof _0x1bd0a4;},_0x49975c(_0x52ac69);}function _0x1a7cc5(_0x48e872,_0x264ec8){const _0x1ff005=_0x68fc2d;if(_0x49975c(_0x48e872)!=_0x1ff005(0x183)||!_0x48e872)return _0x48e872;var _0x163a2e=_0x48e872[Symbol['toPrimitive']];if(_0x163a2e!==void 0x0){var _0x3a4653=_0x163a2e[_0x1ff005(0x1db)](_0x48e872,_0x264ec8||_0x1ff005(0x239));if(_0x49975c(_0x3a4653)!=_0x1ff005(0x183))return _0x3a4653;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x264ec8===_0x1ff005(0x1fd)?String:Number)(_0x48e872);}function _0x550790(_0x3e8290){const _0x2cd0aa=_0x68fc2d;var _0x225bbd=_0x1a7cc5(_0x3e8290,_0x2cd0aa(0x1fd));return _0x49975c(_0x225bbd)==_0x2cd0aa(0x1f1)?_0x225bbd:_0x225bbd+'';}function _0x2bdaa0(_0x493ebc,_0x435d84,_0x555553){return(_0x435d84=_0x550790(_0x435d84))in _0x493ebc?Object['defineProperty'](_0x493ebc,_0x435d84,{'value':_0x555553,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x493ebc[_0x435d84]=_0x555553,_0x493ebc;}var _0x2efa09=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(..._0x3cec60){const _0x4e97fb=_0x68fc2d;super(..._0x3cec60),_0x2bdaa0(this,_0x4e97fb(0x155),new Map()),_0x2bdaa0(this,'_rawResources',new Map()),_0x2bdaa0(this,_0x4e97fb(0x1ba),new Map()),_0x2bdaa0(this,_0x4e97fb(0x1f4),new _0x183d08['Subject']()),_0x2bdaa0(this,_0x4e97fb(0x1d6),this['_change$'][_0x4e97fb(0x25c)]());}['getFormula'](_0x8ca2d2,_0x214e6b){const _0xc4d10b=_0x68fc2d;var _0x542c10;let _0x3e13a0=(_0x542c10=this[_0xc4d10b(0x155)][_0xc4d10b(0x175)](_0x8ca2d2))==null?void 0x0:_0x542c10[_0xc4d10b(0x25e)][_0x214e6b];return _0x3e13a0?_0x5ccade[_0xc4d10b(0x110)][_0xc4d10b(0x20b)](_0x3e13a0):void 0x0;}[_0x68fc2d(0x179)](_0x58b354){const _0x55a37e=_0x68fc2d;var _0x364eae,_0x2b45b3;return _0x5ccade['Tools'][_0x55a37e(0x20b)]((_0x364eae=(_0x2b45b3=this[_0x55a37e(0x155)][_0x55a37e(0x175)](_0x58b354))==null?void 0x0:_0x2b45b3['formulas'])==null?{}:_0x364eae);}['getResource'](_0x99c816){const _0x521dcb=_0x68fc2d;let _0x931446=this[_0x521dcb(0x155)]['get'](_0x99c816);return _0x931446?_0x5ccade[_0x521dcb(0x110)][_0x521dcb(0x20b)](_0x931446):void 0x0;}['setFormula'](_0x5ae7dc,_0x480842,_0x5467a2){return this['setFormulas'](_0x5ae7dc,{[_0x480842]:_0x5467a2});}['setResource'](_0x3d72df,_0x483015){const _0x483593=_0x68fc2d;return this[_0x483593(0x1ba)][_0x483593(0x21c)](_0x3d72df)||!_0x4b9e30(_0x483015)?!0x1:(this[_0x483593(0x155)][_0x483593(0x210)](_0x3d72df,_0x5ccade[_0x483593(0x110)][_0x483593(0x20b)](_0x483015)),this[_0x483593(0x1f4)][_0x483593(0x256)]({'unitId':_0x3d72df}),!0x0);}[_0x68fc2d(0x1e1)](_0x28aab6,_0x188e15){const _0x2e4ce1=_0x68fc2d;var _0x75f763;if(this[_0x2e4ce1(0x1ba)]['has'](_0x28aab6)||!Object[_0x2e4ce1(0x143)](_0x188e15)['length']||!_0x4b9e30({'schemaVersion':0x1,'formulas':_0x188e15}))return!0x1;let _0x3aae23=(_0x75f763=this[_0x2e4ce1(0x155)][_0x2e4ce1(0x175)](_0x28aab6))==null?_0x249ba4():_0x75f763,_0x310719=_0x5ccade[_0x2e4ce1(0x110)][_0x2e4ce1(0x20b)](_0x3aae23);return Object[_0x2e4ce1(0x15b)](_0x310719[_0x2e4ce1(0x25e)],_0x5ccade[_0x2e4ce1(0x110)][_0x2e4ce1(0x20b)](_0x188e15)),this[_0x2e4ce1(0x155)][_0x2e4ce1(0x210)](_0x28aab6,_0x310719),this[_0x2e4ce1(0x1f4)][_0x2e4ce1(0x256)]({'unitId':_0x28aab6,'rangeIds':Object['keys'](_0x188e15)}),!0x0;}[_0x68fc2d(0x253)](_0x57fe33,_0x297ee8){const _0x402fa5=_0x68fc2d;if(this[_0x402fa5(0x1ba)]['has'](_0x57fe33))return!0x1;let _0x408e7a=this[_0x402fa5(0x155)][_0x402fa5(0x175)](_0x57fe33);if(!(_0x408e7a!=null&&_0x408e7a[_0x402fa5(0x25e)][_0x297ee8]))return!0x1;let _0x224cf4=_0x5ccade[_0x402fa5(0x110)][_0x402fa5(0x20b)](_0x408e7a);return delete _0x224cf4[_0x402fa5(0x25e)][_0x297ee8],this['_resources']['set'](_0x57fe33,_0x224cf4),this[_0x402fa5(0x1f4)][_0x402fa5(0x256)]({'unitId':_0x57fe33,'rangeIds':[_0x297ee8]}),!0x0;}[_0x68fc2d(0x244)](_0x9bc0ee,_0x31928b){const _0x239c23=_0x68fc2d;return _0x31928b&&typeof _0x31928b=='object'&&_0x239c23(0x150)in _0x31928b&&_0x31928b['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x9bc0ee,_0x31928b,_0x239c23(0x205)),!0x1):_0x4b9e30(_0x31928b)?(this[_0x239c23(0x155)][_0x239c23(0x210)](_0x9bc0ee,_0x5ccade[_0x239c23(0x110)][_0x239c23(0x20b)](_0x31928b)),this[_0x239c23(0x23f)]['delete'](_0x9bc0ee),this[_0x239c23(0x1ba)]['delete'](_0x9bc0ee),this[_0x239c23(0x1f4)]['next']({'unitId':_0x9bc0ee}),!0x0):(this['_preserveInvalid'](_0x9bc0ee,_0x31928b,_0x239c23(0x24d)),!0x1);}[_0x68fc2d(0x156)](_0x4304b0){const _0x4ad6aa=_0x68fc2d;let _0x59be74=this[_0x4ad6aa(0x155)]['get'](_0x4304b0);return _0x59be74?_0x5ccade[_0x4ad6aa(0x110)][_0x4ad6aa(0x20b)](_0x59be74):this[_0x4ad6aa(0x23f)]['has'](_0x4304b0)?_0x5ccade[_0x4ad6aa(0x110)][_0x4ad6aa(0x20b)](this[_0x4ad6aa(0x23f)][_0x4ad6aa(0x175)](_0x4304b0)):_0x249ba4();}[_0x68fc2d(0x219)](_0xa981b8){const _0x1b3f4d=_0x68fc2d;return this[_0x1b3f4d(0x1ba)][_0x1b3f4d(0x175)](_0xa981b8);}['removeUnit'](_0x21870d){const _0x4fe569=_0x68fc2d;this[_0x4fe569(0x155)][_0x4fe569(0x1d2)](_0x21870d),this[_0x4fe569(0x23f)][_0x4fe569(0x1d2)](_0x21870d),this['_loadErrors'][_0x4fe569(0x1d2)](_0x21870d),this[_0x4fe569(0x1f4)][_0x4fe569(0x256)]({'unitId':_0x21870d});}[_0x68fc2d(0x260)](){const _0x1fb982=_0x68fc2d;this[_0x1fb982(0x155)][_0x1fb982(0x147)](),this[_0x1fb982(0x23f)]['clear'](),this['_loadErrors'][_0x1fb982(0x147)](),this['_change$'][_0x1fb982(0x12a)](),super[_0x1fb982(0x260)]();}[_0x68fc2d(0x1b1)](_0x4d0e8f,_0x4bc7ea,_0x30566d){const _0x50130f=_0x68fc2d;this['_resources'][_0x50130f(0x1d2)](_0x4d0e8f),this[_0x50130f(0x23f)]['set'](_0x4d0e8f,_0x5ccade[_0x50130f(0x110)][_0x50130f(0x20b)](_0x4bc7ea)),this['_loadErrors'][_0x50130f(0x210)](_0x4d0e8f,_0x30566d),this[_0x50130f(0x1f4)][_0x50130f(0x256)]({'unitId':_0x4d0e8f});}};let _0x36e998=function(_0x57275f){const _0x4064ff=_0x68fc2d;return _0x57275f['EMPTY']=_0x4064ff(0x162),_0x57275f['PENDING']=_0x4064ff(0x157),_0x57275f[_0x4064ff(0x213)]=_0x4064ff(0x25d),_0x57275f[_0x4064ff(0x1f7)]=_0x4064ff(0x11d),_0x57275f;}({});function _0x112b31(_0x582aab,_0x2a1318){return function(_0x15f24d,_0x481963){_0x2a1318(_0x15f24d,_0x481963,_0x582aab);};}function _0x3ac92a(_0x2d6456,_0x2b6099,_0x3b541f,_0x15e4d9){const _0x39959b=_0x68fc2d;var _0x5a1dc4=arguments[_0x39959b(0x1c4)],_0x1116f6=_0x5a1dc4<0x3?_0x2b6099:_0x15e4d9===null?_0x15e4d9=Object[_0x39959b(0x189)](_0x2b6099,_0x3b541f):_0x15e4d9,_0x517267;if(typeof Reflect==_0x39959b(0x183)&&typeof Reflect['decorate']==_0x39959b(0x1ac))_0x1116f6=Reflect[_0x39959b(0x12e)](_0x2d6456,_0x2b6099,_0x3b541f,_0x15e4d9);else{for(var _0x18404d=_0x2d6456[_0x39959b(0x1c4)]-0x1;_0x18404d>=0x0;_0x18404d--)(_0x517267=_0x2d6456[_0x18404d])&&(_0x1116f6=(_0x5a1dc4<0x3?_0x517267(_0x1116f6):_0x5a1dc4>0x3?_0x517267(_0x2b6099,_0x3b541f,_0x1116f6):_0x517267(_0x2b6099,_0x3b541f))||_0x1116f6);}return _0x5a1dc4>0x3&&_0x1116f6&&Object['defineProperty'](_0x2b6099,_0x3b541f,_0x1116f6),_0x1116f6;}let _0x469dc0=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x5af6ed,_0x5de1d9,_0xc774b1){const _0x5148be=_0x68fc2d;super(),this['_model']=_0x5af6ed,this[_0x5148be(0x1aa)]=_0x5de1d9,this[_0x5148be(0x20f)]=_0xc774b1,_0x2bdaa0(this,'_registrations',new Map()),_0x2bdaa0(this,_0x5148be(0x1e4),new Map()),_0x2bdaa0(this,_0x5148be(0x258),new _0x183d08[(_0x5148be(0x112))]()),_0x2bdaa0(this,_0x5148be(0x1be),this[_0x5148be(0x258)][_0x5148be(0x25c)]()),this[_0x5148be(0x159)](this[_0x5148be(0x1aa)][_0x5148be(0x204)][_0x5148be(0x1f3)](_0x3aa161=>{const _0x3a5f30=_0x5148be;for(let _0x2eb878 of Object['values'](_0x3aa161))for(let _0x47c0f3 of Object[_0x3a5f30(0x18f)](_0x2eb878))_0x47c0f3[_0x3a5f30(0x182)](_0x45ce4c=>this[_0x3a5f30(0x1c0)](_0x45ce4c));}));}[_0x68fc2d(0x22b)](_0x244019){const _0x2118b3=_0x68fc2d;var _0x73116b,_0x503637;let _0x2bcfe1=_0x244019['getUnitId'](),_0x201797=(_0x73116b=(_0x503637=_0x244019[_0x2118b3(0x202)]()[_0x2118b3(0x15e)])==null||(_0x503637=_0x503637[_0x2118b3(0x15d)])==null?void 0x0:_0x503637[_0x2118b3(0x261)](_0x219bde))==null?[]:_0x73116b,_0x4d9d80=this[_0x2118b3(0x11e)]['getFormulas'](_0x2bcfe1),_0x219c70=new Set();for(let _0x2c93de of _0x201797){let _0x48ec6c=_0x4d9d80[_0x2c93de[_0x2118b3(0x1e2)]];_0x48ec6c&&(_0x219c70[_0x2118b3(0x221)](_0x99aea4(_0x2bcfe1,_0x2c93de[_0x2118b3(0x1e2)])),this['register']({'unitId':_0x2bcfe1,'rangeId':_0x2c93de['rangeId']},_0x48ec6c));}for(let _0x1014f2 of Array[_0x2118b3(0x145)](this[_0x2118b3(0x18e)][_0x2118b3(0x18f)]()))_0x1014f2[_0x2118b3(0x1c9)]===_0x2bcfe1&&!_0x219c70[_0x2118b3(0x21c)](_0x99aea4(_0x1014f2[_0x2118b3(0x1c9)],_0x1014f2[_0x2118b3(0x1e2)]))&&this[_0x2118b3(0x10f)](_0x1014f2);}[_0x68fc2d(0x23b)](_0x1ad3ba,_0x309942){const _0x3c3614=_0x68fc2d;let _0x29df41=_0x99aea4(_0x1ad3ba['unitId'],_0x1ad3ba[_0x3c3614(0x1e2)]),_0x4a3423=this[_0x3c3614(0x18e)]['get'](_0x29df41),_0xb1301c=this['_hostExternalReferenceModel'][_0x3c3614(0x134)](_0x1ad3ba[_0x3c3614(0x1c9)]);if(_0x4a3423&&_0x4a3423[_0x3c3614(0x152)][_0x3c3614(0x1fe)]===_0x309942[_0x3c3614(0x1fe)]&&_0x4a3423['referenceRevision']===_0xb1301c){var _0x53562c;_0x4a3423[_0x3c3614(0x152)]=_0x309942;let _0x2186b5=_0x4a3423[_0x3c3614(0x199)]?(_0x53562c=this[_0x3c3614(0x1aa)][_0x3c3614(0x12f)](_0x4a3423[_0x3c3614(0x1c9)],_0x4a3423[_0x3c3614(0x1c9)],_0x4a3423['formulaId']))==null?void 0x0:_0x53562c:void 0x0;_0x4a3423[_0x3c3614(0x1c5)]=_0x2186b5,this[_0x3c3614(0x1e6)](_0x29df41,_0x164016(_0x309942,_0x2186b5));return;}_0x4a3423!=null&&_0x4a3423[_0x3c3614(0x199)]&&this['_deleteRegistration'](_0x4a3423);let _0x588347={..._0x1ad3ba,'config':_0x309942,'referenceRevision':_0xb1301c,'presentation':_0x164016(_0x309942,void 0x0)};if(this['_registrations'][_0x3c3614(0x210)](_0x29df41,_0x588347),!_0x309942[_0x3c3614(0x1fe)][_0x3c3614(0x1de)]())return;let _0x5b4aa7=this[_0x3c3614(0x1aa)][_0x3c3614(0x1d9)](_0x1ad3ba[_0x3c3614(0x1c9)],_0x1ad3ba[_0x3c3614(0x1c9)],_0x309942[_0x3c3614(0x1fe)],void 0x0,{'rangeId':_0x1ad3ba['rangeId']},_0x16df82[_0x3c3614(0x170)]['DOC'],_0x1ad3ba[_0x3c3614(0x1e2)]);_0x588347[_0x3c3614(0x199)]=_0x5b4aa7,this[_0x3c3614(0x1e4)][_0x3c3614(0x210)](_0x5b4aa7,_0x29df41);}[_0x68fc2d(0x10f)](_0x2500da){const _0x58749d=_0x68fc2d;let _0x53a8f1=_0x99aea4(_0x2500da[_0x58749d(0x1c9)],_0x2500da[_0x58749d(0x1e2)]),_0x442d79=this[_0x58749d(0x18e)][_0x58749d(0x175)](_0x53a8f1);_0x442d79&&(this[_0x58749d(0x22c)](_0x442d79),this[_0x58749d(0x18e)][_0x58749d(0x1d2)](_0x53a8f1));}[_0x68fc2d(0x1d8)](_0x48fbb4){const _0x10e73a=_0x68fc2d;for(let _0x2e8828 of Array[_0x10e73a(0x145)](this[_0x10e73a(0x18e)][_0x10e73a(0x18f)]()))_0x2e8828[_0x10e73a(0x1c9)]===_0x48fbb4&&this[_0x10e73a(0x10f)](_0x2e8828);}[_0x68fc2d(0x167)](_0x19b038){const _0x2d93c9=_0x68fc2d;var _0x5f2784;return(_0x5f2784=this[_0x2d93c9(0x18e)][_0x2d93c9(0x175)](_0x99aea4(_0x19b038[_0x2d93c9(0x1c9)],_0x19b038[_0x2d93c9(0x1e2)])))==null?void 0x0:_0x5f2784['presentation'];}[_0x68fc2d(0x1ae)](_0x179179){const _0x1866a3=_0x68fc2d;let _0x3df45e=this[_0x1866a3(0x18e)][_0x1866a3(0x175)](_0x99aea4(_0x179179['unitId'],_0x179179[_0x1866a3(0x1e2)]));return _0x3df45e?_0x1e73f3(_0x3df45e):void 0x0;}[_0x68fc2d(0x14b)](){const _0x2da356=_0x68fc2d;return Array[_0x2da356(0x145)](this[_0x2da356(0x18e)][_0x2da356(0x18f)](),_0x5400bd=>({'identity':{'unitId':_0x5400bd[_0x2da356(0x1c9)],'rangeId':_0x5400bd[_0x2da356(0x1e2)]},'config':_0x5400bd[_0x2da356(0x152)],'referenceRevision':_0x5400bd[_0x2da356(0x16c)],..._0x5400bd['liveResult']?{'liveResult':_0x5400bd[_0x2da356(0x1c5)]}:null}));}[_0x68fc2d(0x260)](){const _0x493464=_0x68fc2d;for(let _0x178c4f of this[_0x493464(0x18e)][_0x493464(0x18f)]())this[_0x493464(0x22c)](_0x178c4f);this[_0x493464(0x18e)][_0x493464(0x147)](),this[_0x493464(0x1e4)][_0x493464(0x147)](),this[_0x493464(0x258)][_0x493464(0x12a)](),super[_0x493464(0x260)]();}[_0x68fc2d(0x1c0)](_0x319fd3){const _0x31749c=_0x68fc2d;let _0x283da9=this[_0x31749c(0x1e4)]['get'](_0x319fd3[_0x31749c(0x199)]),_0x559778=_0x283da9?this['_registrations'][_0x31749c(0x175)](_0x283da9):void 0x0;!_0x283da9||!_0x559778||(_0x559778[_0x31749c(0x1c5)]=_0x319fd3,this[_0x31749c(0x1e6)](_0x283da9,_0x164016(_0x559778[_0x31749c(0x152)],_0x319fd3)));}[_0x68fc2d(0x1e6)](_0x574a14,_0x5d836e){const _0x1e900c=_0x68fc2d;var _0x5f4e3a,_0x1a45b3,_0x2a51b1;let _0x3d47fe=this['_registrations'][_0x1e900c(0x175)](_0x574a14);if(!_0x3d47fe||_0x1d478(_0x3d47fe[_0x1e900c(0x141)],_0x5d836e))return;let _0x1ce829=_0x3d47fe[_0x1e900c(0x141)],_0x52ebb3=_0x1e73f3(_0x3d47fe);_0x3d47fe[_0x1e900c(0x141)]=_0x5d836e,this['_presentationChanged$'][_0x1e900c(0x256)]({'unitId':_0x3d47fe['unitId'],'rangeId':_0x3d47fe[_0x1e900c(0x1e2)],'presentation':_0x5d836e,'previousPresentation':_0x1ce829,'result':_0x1e73f3(_0x3d47fe),'previousResult':{..._0x52ebb3,..._0x1ce829,'value':(_0x5f4e3a=_0x1ce829[_0x1e900c(0x1bf)])==null?void 0x0:_0x5f4e3a['v'],'valueType':(_0x1a45b3=(_0x2a51b1=_0x1ce829['cell'])==null?void 0x0:_0x2a51b1['t'])==null?void 0x0:_0x1a45b3}});}[_0x68fc2d(0x22c)](_0x2efbd1){const _0x2c5507=_0x68fc2d;_0x2efbd1[_0x2c5507(0x199)]&&(this[_0x2c5507(0x1aa)][_0x2c5507(0x228)](_0x2efbd1[_0x2c5507(0x1c9)],_0x2efbd1[_0x2c5507(0x1c9)],[_0x2efbd1[_0x2c5507(0x199)]]),this[_0x2c5507(0x1e4)][_0x2c5507(0x1d2)](_0x2efbd1['formulaId']));}};_0x469dc0=_0x3ac92a([_0x112b31(0x0,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x2efa09)),_0x112b31(0x1,(0x0,_0x5ccade['Inject'])(_0x16df82[_0x68fc2d(0x1ec)])),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x3c5cf2['HostExternalReferenceModel']))],_0x469dc0);function _0x99aea4(_0x576d27,_0x36d178){return _0x576d27+'\x00'+_0x36d178;}function _0x164016(_0x408dbb,_0x18e5d0){const _0xd2267e=_0x68fc2d;return(0x0,_0x3c5cf2[_0xd2267e(0x16e)])({'numberFormat':_0x408dbb[_0xd2267e(0x176)],'lastValue':_0x408dbb[_0xd2267e(0x117)],'result':_0x18e5d0});}function _0x1e73f3(_0x48ffb3){const _0x5db74d=_0x68fc2d;var _0x4d601f,_0x5b569d,_0x2b01c7,_0x17d842;let _0x2286ef=_0x48ffb3['presentation'],_0xb8501f=_0x48ffb3[_0x5db74d(0x152)]['formula'][_0x5db74d(0x1de)]()?_0x2286ef[_0x5db74d(0x116)]||_0x2286ef['cell']==null?'pending':((_0x4d601f=_0x48ffb3[_0x5db74d(0x1c5)])==null?void 0x0:_0x4d601f[_0x5db74d(0x20d)])===_0x16df82[_0x5db74d(0x1fc)]['ERROR']?'error':_0x5db74d(0x25d):'empty';return{..._0x2286ef,'status':_0xb8501f,'value':(_0x5b569d=_0x2286ef[_0x5db74d(0x1bf)])==null?void 0x0:_0x5b569d['v'],'valueType':(_0x2b01c7=(_0x17d842=_0x2286ef[_0x5db74d(0x1bf)])==null?void 0x0:_0x17d842['t'])==null?void 0x0:_0x2b01c7};}function _0x1d478(_0x33dc73,_0x1b6a3a){const _0x3ab443=_0x68fc2d;var _0x4815b7,_0x3f075c,_0x108865,_0x203448;return _0x33dc73[_0x3ab443(0x200)]===_0x1b6a3a[_0x3ab443(0x200)]&&_0x33dc73['color']===_0x1b6a3a[_0x3ab443(0x121)]&&_0x33dc73[_0x3ab443(0x23a)]===_0x1b6a3a['pattern']&&_0x33dc73[_0x3ab443(0x1a2)]===_0x1b6a3a['source']&&_0x33dc73['stale']===_0x1b6a3a['stale']&&((_0x4815b7=_0x33dc73[_0x3ab443(0x1bf)])==null?void 0x0:_0x4815b7['t'])===((_0x3f075c=_0x1b6a3a[_0x3ab443(0x1bf)])==null?void 0x0:_0x3f075c['t'])&&Object['is']((_0x108865=_0x33dc73['cell'])==null?void 0x0:_0x108865['v'],(_0x203448=_0x1b6a3a[_0x3ab443(0x1bf)])==null?void 0x0:_0x203448['v']);}let _0x6b1270={'id':'docs-formula.mutation.set-formula','type':_0x5ccade['CommandType'][_0x68fc2d(0x119)],'handler':(_0x1c4036,_0x18fc47)=>!(_0x18fc47!=null&&_0x18fc47['unitId'])||!_0x18fc47[_0x68fc2d(0x1e2)]||!_0x18fc47[_0x68fc2d(0x152)]?!0x1:_0x1c4036['get'](_0x2efa09)['setFormula'](_0x18fc47[_0x68fc2d(0x1c9)],_0x18fc47['rangeId'],_0x18fc47[_0x68fc2d(0x152)])},_0x51ef55={'id':_0x68fc2d(0x14a),'type':_0x5ccade[_0x68fc2d(0x1cf)]['MUTATION'],'handler':(_0x248eba,_0x59c7de)=>!(_0x59c7de!=null&&_0x59c7de[_0x68fc2d(0x1c9)])||!_0x59c7de[_0x68fc2d(0x1e2)]?!0x1:_0x248eba[_0x68fc2d(0x175)](_0x2efa09)['removeFormula'](_0x59c7de[_0x68fc2d(0x1c9)],_0x59c7de[_0x68fc2d(0x1e2)])},_0x5c9db3={'id':_0x68fc2d(0x135),'type':_0x5ccade[_0x68fc2d(0x1cf)][_0x68fc2d(0x119)],'handler':(_0x5a349a,_0x5c2ac2)=>!(_0x5c2ac2!=null&&_0x5c2ac2[_0x68fc2d(0x1c9)])||!_0x5c2ac2[_0x68fc2d(0x192)]?!0x1:_0x5a349a['get'](_0x2efa09)['setResource'](_0x5c2ac2[_0x68fc2d(0x1c9)],_0x5c2ac2[_0x68fc2d(0x192)])},_0x102d83={'id':_0x68fc2d(0x1a3),'type':_0x5ccade[_0x68fc2d(0x1cf)]['MUTATION'],'handler':(_0x2a565e,_0x47c728)=>{const _0x5444ea=_0x68fc2d;if(!(_0x47c728!=null&&_0x47c728[_0x5444ea(0x1c9)])||!_0x47c728[_0x5444ea(0x1d7)][_0x5444ea(0x1c4)])return!0x1;let _0x4cec73=_0x2a565e[_0x5444ea(0x175)](_0x2efa09),_0x1fae65=_0x2a565e['get'](_0x3c5cf2[_0x5444ea(0x250)]),_0x1d63af=_0x4cec73[_0x5444ea(0x1e3)](_0x47c728[_0x5444ea(0x1c9)]);if(!_0x1d63af)return!0x1;let _0x27e194=_0x5ccade[_0x5444ea(0x110)][_0x5444ea(0x20b)](_0x1d63af),_0x2374d2=!0x1;for(let _0x2c549c of _0x47c728[_0x5444ea(0x1d7)]){var _0x120095,_0x14fbf0,_0x5e3faf,_0x4adde2;let _0x592a41=_0x27e194[_0x5444ea(0x25e)][_0x2c549c['rangeId']];!_0x592a41||_0x592a41[_0x5444ea(0x1fe)]!==_0x2c549c[_0x5444ea(0x217)]||((_0x120095=_0x592a41[_0x5444ea(0x176)])==null?void 0x0:_0x120095['pattern'])!==_0x2c549c['expectedNumberFormat']||_0x1fae65[_0x5444ea(0x134)](_0x47c728[_0x5444ea(0x1c9)])!==_0x2c549c[_0x5444ea(0x1a8)]||(((_0x14fbf0=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x14fbf0['v'])!==_0x2c549c[_0x5444ea(0x117)]['v']||((_0x5e3faf=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x5e3faf['t'])!==_0x2c549c[_0x5444ea(0x117)]['t']||((_0x4adde2=_0x592a41[_0x5444ea(0x117)])==null?void 0x0:_0x4adde2[_0x5444ea(0x23a)])!==_0x2c549c[_0x5444ea(0x117)][_0x5444ea(0x23a)])&&(_0x592a41['lastValue']=_0x5ccade['Tools'][_0x5444ea(0x20b)](_0x2c549c['lastValue']),_0x2374d2=!0x0);}return!_0x2374d2||_0x4cec73[_0x5444ea(0x25b)](_0x47c728[_0x5444ea(0x1c9)],_0x27e194);}},_0x2cba8c={'id':_0x68fc2d(0x190),'type':_0x5ccade['CommandType']['COMMAND'],'handler':(_0x9b7c9e,_0x553fe3)=>{const _0x578db2=_0x68fc2d;var _0x4124ec;if(!(_0x553fe3!=null&&_0x553fe3[_0x578db2(0x1fe)][_0x578db2(0x1de)]()))return!0x1;let _0x37c62b=_0x4f3472(_0x9b7c9e,_0x553fe3[_0x578db2(0x1c9)],'');if(!_0x37c62b)return!0x1;let _0x12b2c4=_0x529943(_0x553fe3[_0x578db2(0x23c)],_0x37c62b['body'],_0x250808(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)]));if(!_0x12b2c4)return!0x1;let _0x537ad8=_0x5ee8c8(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)],_0x553fe3[_0x578db2(0x1fe)],(_0x4124ec=_0x553fe3[_0x578db2(0x238)])==null?[]:_0x4124ec);if(!_0x537ad8)return!0x1;let _0x26c160=_0x2f2998(_0x37c62b['body'],_0x37c62b[_0x578db2(0x11b)],_0x37c62b[_0x578db2(0x1c9)]),_0x4cc104=_0x3cedf5({'documentData':_0x37c62b[_0x578db2(0x13a)],'resource':_0x37c62b[_0x578db2(0x192)],'rangeId':_0x26c160,'config':{'formula':_0x553fe3[_0x578db2(0x1fe)],..._0x553fe3[_0x578db2(0x176)]?{'numberFormat':_0x553fe3[_0x578db2(0x176)]}:null},'startOffset':_0x12b2c4[_0x578db2(0x21b)],'endOffset':_0x12b2c4['endOffset']});if(!_0x4cc104)return!0x1;let _0x124ce8=(0x0,_0x3c5cf2[_0x578db2(0x17d)])(_0x9b7c9e,_0x37c62b[_0x578db2(0x1c9)],_0x537ad8);return!_0x124ce8||!_0x5a8b3d({'accessor':_0x9b7c9e,'document':_0x37c62b[_0x578db2(0x19c)],'unitId':_0x37c62b[_0x578db2(0x1c9)],'trigger':_0x2cba8c['id'],'rangeId':_0x26c160,'previousResource':_0x37c62b[_0x578db2(0x192)],'nextResource':_0x4cc104[_0x578db2(0x245)],'previousDocumentData':_0x37c62b['documentData'],'nextDocumentData':_0x4cc104[_0x578db2(0x1ee)],'cursorOffset':_0x4cc104[_0x578db2(0x1a6)],'externalMutations':_0x124ce8})?!0x1:{'rangeId':_0x26c160,'startOffset':_0x4cc104['cursorOffset']-0x1,'endOffset':_0x4cc104['cursorOffset']};}},_0x590227={'id':_0x68fc2d(0x225),'type':_0x5ccade[_0x68fc2d(0x1cf)]['COMMAND'],'handler':(_0x3a16d5,_0x59c1b9)=>{const _0x51cf74=_0x68fc2d;var _0x303b5a;if(!(_0x59c1b9!=null&&_0x59c1b9[_0x51cf74(0x1e2)])||!_0x59c1b9[_0x51cf74(0x1fe)][_0x51cf74(0x1de)]())return!0x1;let _0x5c00d3=_0x4f3472(_0x3a16d5,_0x59c1b9[_0x51cf74(0x1c9)],''),_0x367490=_0x5c00d3==null?void 0x0:_0x5c00d3[_0x51cf74(0x11b)][_0x51cf74(0x1a9)](_0x5c00d3[_0x51cf74(0x1c9)],_0x59c1b9[_0x51cf74(0x1e2)]),_0x236838=_0x5c00d3?_0x2a8744(_0x5c00d3['documentData'][_0x51cf74(0x15e)],_0x59c1b9[_0x51cf74(0x1e2)]):void 0x0;if(!_0x5c00d3||!_0x367490||!_0x236838)return!0x1;let _0x81831f=_0x5ee8c8(_0x3a16d5,_0x5c00d3[_0x51cf74(0x1c9)],_0x59c1b9[_0x51cf74(0x1fe)],(_0x303b5a=_0x59c1b9[_0x51cf74(0x238)])==null?[]:_0x303b5a);if(!_0x81831f)return!0x1;let _0x4fd69e=(0x0,_0x3c5cf2[_0x51cf74(0x17d)])(_0x3a16d5,_0x5c00d3['unitId'],_0x81831f);if(!_0x4fd69e)return!0x1;let _0x55bc37=_0x147ce7(_0x5c00d3[_0x51cf74(0x192)]);return _0x55bc37[_0x51cf74(0x25e)][_0x59c1b9[_0x51cf74(0x1e2)]]={'formula':_0x59c1b9['formula'],..._0x59c1b9[_0x51cf74(0x176)]?{'numberFormat':_0x59c1b9[_0x51cf74(0x176)]}:_0x367490[_0x51cf74(0x176)]?{'numberFormat':_0x367490['numberFormat']}:null},_0x5a8b3d({'accessor':_0x3a16d5,'document':_0x5c00d3['document'],'unitId':_0x5c00d3[_0x51cf74(0x1c9)],'trigger':_0x590227['id'],'rangeId':_0x59c1b9['rangeId'],'previousResource':_0x5c00d3[_0x51cf74(0x192)],'nextResource':_0x55bc37,'cursorOffset':_0x236838['endIndex']+0x1,'externalMutations':_0x4fd69e});}},_0x1d8eaf={'id':_0x68fc2d(0x196),'type':_0x5ccade[_0x68fc2d(0x1cf)][_0x68fc2d(0x136)],'handler':(_0x88191e,_0x2b7376)=>{const _0x5b8a5b=_0x68fc2d;if(!(_0x2b7376!=null&&_0x2b7376[_0x5b8a5b(0x1e2)]))return!0x1;let _0x5dcf86=_0x4f3472(_0x88191e,_0x2b7376[_0x5b8a5b(0x1c9)],''),_0x22c9c0=_0x5dcf86==null?void 0x0:_0x5dcf86['model'][_0x5b8a5b(0x1a9)](_0x5dcf86['unitId'],_0x2b7376[_0x5b8a5b(0x1e2)]),_0x58973d=_0x5dcf86?_0x2a8744(_0x5dcf86[_0x5b8a5b(0x13a)][_0x5b8a5b(0x15e)],_0x2b7376[_0x5b8a5b(0x1e2)]):void 0x0;if(!_0x5dcf86||!_0x22c9c0||!_0x58973d)return!0x1;let _0x564224=_0x147ce7(_0x5dcf86[_0x5b8a5b(0x192)]);return _0x564224[_0x5b8a5b(0x25e)][_0x2b7376[_0x5b8a5b(0x1e2)]]={..._0x22c9c0,..._0x2b7376['numberFormat']?{'numberFormat':_0x2b7376[_0x5b8a5b(0x176)]}:null},_0x2b7376[_0x5b8a5b(0x176)]||delete _0x564224['formulas'][_0x2b7376[_0x5b8a5b(0x1e2)]][_0x5b8a5b(0x176)],_0x5a8b3d({'accessor':_0x88191e,'document':_0x5dcf86[_0x5b8a5b(0x19c)],'unitId':_0x5dcf86[_0x5b8a5b(0x1c9)],'trigger':_0x1d8eaf['id'],'rangeId':_0x2b7376[_0x5b8a5b(0x1e2)],'previousResource':_0x5dcf86[_0x5b8a5b(0x192)],'nextResource':_0x564224,'cursorOffset':_0x58973d[_0x5b8a5b(0x174)]+0x1,'externalMutations':{}});}},_0x69b1e4={'id':_0x68fc2d(0x1fb),'type':_0x5ccade['CommandType'][_0x68fc2d(0x136)],'handler':(_0x42ab62,_0x5ecc53)=>_0x546deb(_0x42ab62,_0x5ecc53,'',_0x69b1e4['id'])},_0x540511={'id':'docs-formula.command.replace-with-text','type':_0x5ccade['CommandType']['COMMAND'],'handler':(_0x51463b,_0x28631b)=>{const _0x19fa4e=_0x68fc2d;var _0x1f9676;return _0x546deb(_0x51463b,_0x28631b,(_0x1f9676=_0x28631b==null?void 0x0:_0x28631b[_0x19fa4e(0x200)])==null?'':_0x1f9676,_0x540511['id']);}},_0x109393={'id':_0x68fc2d(0x114),'type':_0x5ccade[_0x68fc2d(0x1cf)]['COMMAND'],'handler':(_0x59649b,_0x5913bd)=>{const _0xb81a2a=_0x68fc2d;if(!(_0x5913bd!=null&&_0x5913bd[_0xb81a2a(0x1e2)]))return!0x1;let _0x3dea0f=_0x4f3472(_0x59649b,_0x5913bd[_0xb81a2a(0x1c9)],'');if(!_0x3dea0f)return!0x1;let _0x5016d8=_0x59649b['get'](_0x469dc0)[_0xb81a2a(0x1ae)]({'unitId':_0x3dea0f[_0xb81a2a(0x1c9)],'rangeId':_0x5913bd[_0xb81a2a(0x1e2)]});return _0x5016d8?_0x546deb(_0x59649b,_0x5913bd,_0x5016d8[_0xb81a2a(0x200)],_0x109393['id']):!0x1;}};function _0x546deb(_0x3cbe67,_0x4bea83,_0x45d0d0,_0x2e83b2){const _0x24a4e=_0x68fc2d;if(!(_0x4bea83!=null&&_0x4bea83[_0x24a4e(0x1e2)]))return!0x1;let _0x4a4fe5=_0x4f3472(_0x3cbe67,_0x4bea83['unitId'],'');if(!_0x4a4fe5)return!0x1;let _0x1dac04=_0x5114cd({'documentData':_0x4a4fe5[_0x24a4e(0x13a)],'resource':_0x4a4fe5[_0x24a4e(0x192)],'rangeId':_0x4bea83[_0x24a4e(0x1e2)],'text':_0x45d0d0});return _0x1dac04?_0x5a8b3d({'accessor':_0x3cbe67,'document':_0x4a4fe5[_0x24a4e(0x19c)],'unitId':_0x4a4fe5['unitId'],'trigger':_0x2e83b2,'rangeId':_0x4bea83[_0x24a4e(0x1e2)],'previousResource':_0x4a4fe5['resource'],'nextResource':_0x1dac04['nextResource'],'previousDocumentData':_0x4a4fe5[_0x24a4e(0x13a)],'nextDocumentData':_0x1dac04[_0x24a4e(0x1ee)],'cursorOffset':_0x1dac04[_0x24a4e(0x1a6)],'externalMutations':{}}):!0x1;}function _0x4f3472(_0x2e18b1,_0x46e39e,_0x612c60){const _0x73140e=_0x68fc2d;var _0x2dfcf7,_0x1b694c;if(_0x612c60)return null;let _0x200f4c=_0x2e18b1[_0x73140e(0x175)](_0x5ccade[_0x73140e(0x16f)]),_0x1eab3c=(_0x2dfcf7=_0x46e39e?_0x200f4c[_0x73140e(0x154)](_0x46e39e,_0x5ccade[_0x73140e(0x18b)][_0x73140e(0x140)]):_0x200f4c['getCurrentUnitOfType'](_0x5ccade['UniverInstanceType'][_0x73140e(0x140)]))==null?null:_0x2dfcf7;if(!_0x1eab3c)return null;let _0x1f560e=_0x1eab3c[_0x73140e(0x202)](),_0x7f982e=_0x1f560e[_0x73140e(0x15e)];if(_0x1f560e[_0x73140e(0x1bd)]||!_0x7f982e)return null;let _0x1556e8=_0x2e18b1[_0x73140e(0x175)](_0x2efa09);return _0x1556e8[_0x73140e(0x219)](_0x1eab3c[_0x73140e(0x232)]())?null:{'document':_0x1eab3c,'body':_0x7f982e,'documentData':_0x1f560e,'model':_0x1556e8,'resource':(_0x1b694c=_0x1556e8[_0x73140e(0x1e3)](_0x1eab3c[_0x73140e(0x232)]()))==null?_0x249ba4():_0x1b694c,'unitId':_0x1eab3c[_0x73140e(0x232)]()};}function _0x250808(_0xa35e09,_0x275290){const _0x7fa32e=_0x68fc2d;var _0x448f1e;return(_0x448f1e=_0xa35e09[_0x7fa32e(0x175)](_0x552610['DocSelectionManagerService'])[_0x7fa32e(0x12c)]({'subUnitId':_0x275290,'unitId':_0x275290}))==null?void 0x0:_0x448f1e[0x0];}function _0x529943(_0x4b6ce4,_0x3d190b,_0x1fa41e){const _0x269182=_0x68fc2d;if((_0x4b6ce4==null?void 0x0:_0x4b6ce4[_0x269182(0x158)])===_0x269182(0x222)){var _0x5245e0,_0x15ac87;let _0x4184c4=(_0x5245e0=(_0x15ac87=_0x3d190b[_0x269182(0x14e)])==null?void 0x0:_0x15ac87[_0x269182(0x261)](_0x59026b=>_0x59026b[_0x269182(0x1c8)]===_0x4b6ce4['paragraphId']))==null?[]:_0x5245e0;if(_0x4184c4[_0x269182(0x1c4)]!==0x1)return null;let _0x45a33e=_0x4184c4[0x0],_0x2a0dac=(0x0,_0x5ccade[_0x269182(0x20a)])(_0x3d190b,_0x45a33e),_0x34920f=_0x45a33e['startIndex']-_0x2a0dac,_0x5e252e=_0x4b6ce4[_0x269182(0x12b)]==='end'?_0x34920f:_0x4b6ce4[_0x269182(0x12b)];if(!Number[_0x269182(0x1b5)](_0x5e252e)||_0x5e252e<0x0||_0x5e252e>_0x34920f)return null;let _0x4e16dc=_0x2a0dac+_0x5e252e;return{'startOffset':_0x4e16dc,'endOffset':_0x4e16dc};}if((_0x4b6ce4==null?void 0x0:_0x4b6ce4[_0x269182(0x158)])===_0x269182(0x13b))return!Number[_0x269182(0x1b5)](_0x4b6ce4[_0x269182(0x21b)])||!Number[_0x269182(0x1b5)](_0x4b6ce4[_0x269182(0x1ef)])?null:{'startOffset':Math[_0x269182(0x1f2)](_0x4b6ce4['startOffset'],_0x4b6ce4[_0x269182(0x1ef)]),'endOffset':Math[_0x269182(0x17f)](_0x4b6ce4['startOffset'],_0x4b6ce4[_0x269182(0x1ef)])};let _0x219eaa=(_0x4b6ce4==null?void 0x0:_0x4b6ce4['type'])===_0x269182(0x1b3)?_0x4b6ce4[_0x269182(0x1b3)]:_0x1fa41e;return!_0x219eaa||_0x219eaa[_0x269182(0x111)]?null:{'startOffset':Math[_0x269182(0x1f2)](_0x219eaa[_0x269182(0x21b)],_0x219eaa[_0x269182(0x1ef)]),'endOffset':Math[_0x269182(0x17f)](_0x219eaa['startOffset'],_0x219eaa[_0x269182(0x1ef)])};}function _0x5ee8c8(_0x32fb26,_0x51d921,_0x2df7dd,_0x4700d7){const _0x24eeb7=_0x68fc2d;let _0x4ffe27=_0x32fb26[_0x24eeb7(0x175)](_0x16df82['LexerTreeBuilder']),_0x1c1d95=_0x2df7dd['startsWith']('=')?_0x2df7dd['slice'](0x1):_0x2df7dd,_0x5572ad=_0x4ffe27[_0x24eeb7(0x10e)](_0x1c1d95);if(!_0x5572ad)return null;let _0x191e39=_0x32fb26[_0x24eeb7(0x175)](_0x3c5cf2[_0x24eeb7(0x250)]),_0xaad68b=(0x0,_0x3c5cf2[_0x24eeb7(0x169)])({'qualifiers':(0x0,_0x3c5cf2[_0x24eeb7(0x209)])(_0x5572ad),'explicitReferences':_0x4700d7==null?[]:_0x4700d7,'resolveBinding':_0x1fd15d=>_0x191e39[_0x24eeb7(0x262)](_0x51d921,_0x1fd15d)});return _0xaad68b[_0x24eeb7(0x20d)]==='resolved'?_0xaad68b[_0x24eeb7(0x1c7)]:null;}function _0x2f2998(_0x5af94b,_0x26937c,_0x1acc8a){const _0x50163b=_0x68fc2d;var _0x2a87e0;let _0x3de1b0=(0x0,_0x5ccade[_0x50163b(0x16a)])(0x6);for(;_0x5af94b!=null&&(_0x2a87e0=_0x5af94b[_0x50163b(0x15d)])!=null&&_0x2a87e0[_0x50163b(0x220)](_0x5bcd7b=>_0x5bcd7b[_0x50163b(0x1e2)]===_0x3de1b0)||_0x26937c[_0x50163b(0x1a9)](_0x1acc8a,_0x3de1b0);)_0x3de1b0=(0x0,_0x5ccade[_0x50163b(0x16a)])(0x6);return _0x3de1b0;}function _0x3cedf5(_0x2c73e4){try{return _0x55347d(_0x2c73e4);}catch(_0x2e9c2e){if(_0x2e9c2e instanceof _0x33e424)return null;throw _0x2e9c2e;}}function _0x2bfcdc(_0x186367){const _0x30a042=_0x68fc2d;let _0x311b3f=_0x186367[_0x30a042(0x214)]&&_0x186367[_0x30a042(0x1ee)]?_0x244f80(_0x186367[_0x30a042(0x19c)],_0x186367[_0x30a042(0x1c9)],_0x186367['previousDocumentData'],_0x186367[_0x30a042(0x1ee)],_0x186367['cursorOffset'],_0x186367[_0x30a042(0x151)]):null;return _0x186367[_0x30a042(0x214)]&&_0x186367[_0x30a042(0x1ee)]&&!_0x311b3f?null:{'documentRedo':_0x311b3f,'resourceRedo':{'id':_0x5c9db3['id'],'params':{'unitId':_0x186367['unitId'],'resource':_0x186367[_0x30a042(0x245)]}},'resourceUndo':{'id':_0x5c9db3['id'],'params':{'unitId':_0x186367[_0x30a042(0x1c9)],'resource':_0x186367[_0x30a042(0x13c)]}}};}function _0x535e52(_0x9e4c60,_0x4a0753,_0xcbf5fc,_0x2d44){const _0x52b7d6=_0x68fc2d;_0x2d44[_0x52b7d6(0x241)]({'id':_0x9e4c60['trigger']+':'+_0x9e4c60[_0x52b7d6(0x1e2)],'unitID':_0x9e4c60[_0x52b7d6(0x1c9)],'redoMutations':[..._0x9e4c60[_0x52b7d6(0x243)][_0x52b7d6(0x130)]?[_0x9e4c60['externalMutations']['redoMutation']]:[],..._0x4a0753[_0x52b7d6(0x1b8)]?[_0x4a0753[_0x52b7d6(0x1b8)]]:[],_0x4a0753[_0x52b7d6(0x14c)]],'undoMutations':[_0x4a0753[_0x52b7d6(0x1bc)],..._0xcbf5fc?[_0xcbf5fc]:[],..._0x9e4c60[_0x52b7d6(0x243)][_0x52b7d6(0x17e)]?[_0x9e4c60[_0x52b7d6(0x243)]['undoMutation']]:[]]});}function _0x5a8b3d(_0x26ff7b){const _0x28422c=_0x68fc2d;let _0x3a3dcb=_0x26ff7b['accessor'][_0x28422c(0x175)](_0x5ccade[_0x28422c(0x14d)]),_0x1c7e95=_0x26ff7b[_0x28422c(0x1d0)][_0x28422c(0x175)](_0x5ccade['IUndoRedoService']),_0x23ead6=_0x26ff7b['accessor']['get'](_0x552610[_0x28422c(0x16d)]),_0x1f9721=_0x2bfcdc(_0x26ff7b);if(!_0x1f9721)return!0x1;let _0x1fcd19=!0x1,_0x3ccf48=null,_0xb4570c=!0x1;try{if(_0x26ff7b[_0x28422c(0x243)][_0x28422c(0x130)]){if(!_0x3a3dcb['syncExecuteCommand'](_0x26ff7b[_0x28422c(0x243)]['redoMutation']['id'],_0x26ff7b[_0x28422c(0x243)][_0x28422c(0x130)][_0x28422c(0x1ff)]))return!0x1;_0x1fcd19=!0x0;}if(_0x1f9721[_0x28422c(0x1b8)]){let _0x1e5ab8=_0x3a3dcb['syncExecuteCommand'](_0x1f9721[_0x28422c(0x1b8)]['id'],_0x1f9721[_0x28422c(0x1b8)]['params']);if(!_0x1e5ab8)return _0xca9587(_0x3a3dcb,_0x26ff7b[_0x28422c(0x243)],_0x1fcd19),!0x1;_0x3ccf48={'id':_0x552610[_0x28422c(0x264)]['id'],'params':{..._0x1e5ab8,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x3a3dcb[_0x28422c(0x18d)](_0x1f9721[_0x28422c(0x14c)]['id'],_0x1f9721['resourceRedo'][_0x28422c(0x1ff)]))return _0x2e267f(_0x3a3dcb,_0x3ccf48),_0xca9587(_0x3a3dcb,_0x26ff7b['externalMutations'],_0x1fcd19),!0x1;_0xb4570c=!0x0,_0x535e52(_0x26ff7b,_0x1f9721,_0x3ccf48,_0x1c7e95);}catch(_0x9f2405){throw _0xb4570c&&_0x3a3dcb[_0x28422c(0x18d)](_0x1f9721[_0x28422c(0x1bc)]['id'],_0x1f9721[_0x28422c(0x1bc)][_0x28422c(0x1ff)]),_0x2e267f(_0x3a3dcb,_0x3ccf48),_0xca9587(_0x3a3dcb,_0x26ff7b[_0x28422c(0x243)],_0x1fcd19),_0x9f2405;}return _0x23ead6[_0x28422c(0x24a)]([{'startOffset':_0x26ff7b[_0x28422c(0x1a6)],'endOffset':_0x26ff7b[_0x28422c(0x1a6)],'segmentId':''}],{'unitId':_0x26ff7b['unitId'],'subUnitId':_0x26ff7b[_0x28422c(0x1c9)]},!0x1,{[_0x552610[_0x28422c(0x227)]]:!0x0}),!0x0;}function _0x244f80(_0x7cff5c,_0xb5cd29,_0x5e13ce,_0x41f725,_0x18b662,_0x40b8ec){const _0x44b0a4=_0x68fc2d;let _0x3191ba=_0x5c35a8(_0x5e13ce,_0x41f725,(0x0,_0x5ccade['getRichTextEditPath'])(_0x7cff5c,''));return _0x3191ba?{'id':_0x552610[_0x44b0a4(0x264)]['id'],'params':{'unitId':_0xb5cd29,'actions':_0x3191ba,'segmentId':'','textRanges':[{'startOffset':_0x18b662,'endOffset':_0x18b662,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x40b8ec}}:null;}function _0x2e267f(_0x369bd6,_0x20bff7){_0x20bff7&&_0x369bd6['syncExecuteCommand'](_0x20bff7['id'],_0x20bff7['params']);}function _0xca9587(_0x3709c2,_0x2aa76e,_0x308ac3){const _0x590b4a=_0x68fc2d;_0x308ac3&&_0x2aa76e[_0x590b4a(0x17e)]&&_0x3709c2['syncExecuteCommand'](_0x2aa76e[_0x590b4a(0x17e)]['id'],_0x2aa76e[_0x590b4a(0x17e)]['params']);}function _0x5c35a8(_0x2cb319,_0x44d167,_0x1a176e){const _0x4df718=_0x68fc2d;let _0x4a42ae=_0x2cb319[_0x4df718(0x15e)],_0x326922=_0x44d167[_0x4df718(0x15e)],_0x53316c=_0x2866ca(_0x4a42ae==null?void 0x0:_0x4a42ae[_0x4df718(0x1ce)],_0x326922==null?void 0x0:_0x326922['dataStream']);if(!_0x53316c||!_0x326922)return null;let _0x191bd7=new _0x5ccade[(_0x4df718(0x1eb))]();return _0x191bd7[_0x4df718(0x206)](_0x53316c['start']),_0x53316c[_0x4df718(0x18c)]>0x0&&_0x191bd7[_0x4df718(0x16b)](_0x53316c[_0x4df718(0x18c)],(0x0,_0x5ccade['getBodySliceForTextXAction'])(_0x326922,_0x53316c[_0x4df718(0x25f)],_0x53316c[_0x4df718(0x25f)]+_0x53316c[_0x4df718(0x18c)],!0x1)),_0x53316c[_0x4df718(0x11c)]>0x0&&_0x191bd7[_0x4df718(0x1d2)](_0x53316c['deleteLength']),_0x5ccade[_0x4df718(0x1d4)][_0x4df718(0x21d)]()[_0x4df718(0x1a5)](_0x191bd7['serialize'](),_0x1a176e);}function _0x2866ca(_0x951f2b,_0x33d796){const _0x13da81=_0x68fc2d;if(_0x951f2b==null||_0x33d796==null||_0x951f2b===_0x33d796)return null;let _0x3894ea=0x0;for(;_0x3894ea<_0x951f2b[_0x13da81(0x1c4)]&&_0x3894ea<_0x33d796['length']&&_0x951f2b[_0x3894ea]===_0x33d796[_0x3894ea];)_0x3894ea+=0x1;let _0x45dbf4=_0x951f2b[_0x13da81(0x1c4)],_0x4d419d=_0x33d796[_0x13da81(0x1c4)];for(;_0x45dbf4>_0x3894ea&&_0x4d419d>_0x3894ea&&_0x951f2b[_0x45dbf4-0x1]===_0x33d796[_0x4d419d-0x1];)--_0x45dbf4,--_0x4d419d;return{'start':_0x3894ea,'deleteLength':_0x45dbf4-_0x3894ea,'insertLength':_0x4d419d-_0x3894ea};}function _0x147ce7(_0x2ff7c7){const _0x446f73=_0x68fc2d;return{'schemaVersion':0x1,'formulas':Object[_0x446f73(0x122)](Object[_0x446f73(0x14f)](_0x2ff7c7['formulas'])[_0x446f73(0x125)](([_0x1421e3,_0x5badac])=>[_0x1421e3,{..._0x5badac,..._0x5badac[_0x446f73(0x176)]?{'numberFormat':{..._0x5badac[_0x446f73(0x176)]}}:null,..._0x5badac[_0x446f73(0x117)]?{'lastValue':{..._0x5badac[_0x446f73(0x117)]}}:null}]))};}let _0x3f3cff=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x551385,_0x4ca921,_0x50ccc7,_0x4559b8){const _0x12be5e=_0x68fc2d;super(),this[_0x12be5e(0x201)]=_0x551385,this[_0x12be5e(0x160)]=_0x4ca921,this[_0x12be5e(0x11e)]=_0x50ccc7,this[_0x12be5e(0x163)]=_0x4559b8,_0x2bdaa0(this,_0x12be5e(0x19e),new Set()),_0x2bdaa0(this,_0x12be5e(0x1dd),!0x1),_0x2bdaa0(this,'_isDisposed',!0x1),this['_instanceService'][_0x12be5e(0x1f6)](_0x5ccade[_0x12be5e(0x18b)][_0x12be5e(0x140)])[_0x12be5e(0x182)](_0x9044f1=>this[_0x12be5e(0x163)][_0x12be5e(0x22b)](_0x9044f1)),this[_0x12be5e(0x159)](this['_model']['change$'][_0x12be5e(0x1f3)](({unitId:_0xc2b08c})=>this[_0x12be5e(0x1bb)](_0xc2b08c))),this[_0x12be5e(0x159)](this['_instanceService'][_0x12be5e(0x153)]['subscribe'](({unit:_0x53dce0})=>{const _0x160e47=_0x12be5e;_0x53dce0[_0x160e47(0x158)]===_0x5ccade[_0x160e47(0x18b)][_0x160e47(0x140)]&&this['_queueSync'](_0x53dce0[_0x160e47(0x232)]());})),this[_0x12be5e(0x159)](this[_0x12be5e(0x201)][_0x12be5e(0x1b6)]['subscribe'](_0x33ce3f=>{const _0x5f4b8e=_0x12be5e;this[_0x5f4b8e(0x163)]['unregisterUnit'](_0x33ce3f['getUnitId']());})),this[_0x12be5e(0x159)](this['_commandService'][_0x12be5e(0x191)](_0x319121=>{const _0x383aab=_0x12be5e;if(_0x319121['id']===_0x552610[_0x383aab(0x264)]['id']&&_0x2e9e0a(_0x319121[_0x383aab(0x1ff)])){let _0x3c2dd2=_0x319121[_0x383aab(0x1ff)];_0x3c2dd2[_0x383aab(0x111)]||this['_syncUnit'](_0x3c2dd2['unitId']);}}));}['dispose'](){const _0x5b31ec=_0x68fc2d;this[_0x5b31ec(0x1f8)]=!0x0,super['dispose']();}[_0x68fc2d(0x1e0)](_0x4d3dc5){const _0x224d4a=_0x68fc2d;this[_0x224d4a(0x19e)]['add'](_0x4d3dc5),!this['_syncScheduled']&&(this[_0x224d4a(0x1dd)]=!0x0,queueMicrotask(()=>{const _0x33eaca=_0x224d4a;if(this[_0x33eaca(0x1dd)]=!0x1,this['_isDisposed'])return;let _0x1399ce=Array[_0x33eaca(0x145)](this[_0x33eaca(0x19e)]);this[_0x33eaca(0x19e)][_0x33eaca(0x147)](),_0x1399ce[_0x33eaca(0x182)](_0x2e02e4=>this[_0x33eaca(0x1bb)](_0x2e02e4));}));}[_0x68fc2d(0x1bb)](_0x10e8b4){const _0x362be4=_0x68fc2d;let _0x21d12a=this[_0x362be4(0x201)][_0x362be4(0x154)](_0x10e8b4,_0x5ccade['UniverInstanceType'][_0x362be4(0x140)]);_0x21d12a&&this[_0x362be4(0x163)]['syncUnit'](_0x21d12a);}};_0x3f3cff=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x16f)]),_0x112b31(0x1,_0x5ccade[_0x68fc2d(0x14d)]),_0x112b31(0x2,(0x0,_0x5ccade['Inject'])(_0x2efa09)),_0x112b31(0x3,(0x0,_0x5ccade['Inject'])(_0x469dc0))],_0x3f3cff);function _0x2e9e0a(_0x4aa062){const _0x4fa6c8=_0x68fc2d;return typeof _0x4aa062==_0x4fa6c8(0x183)&&!!_0x4aa062&&_0x4fa6c8(0x1c9)in _0x4aa062&&typeof _0x4aa062['unitId']=='string'&&(!(_0x4fa6c8(0x111)in _0x4aa062)||_0x4aa062[_0x4fa6c8(0x111)]===void 0x0||typeof _0x4aa062[_0x4fa6c8(0x111)]==_0x4fa6c8(0x1fd));}let _0x318565=class extends _0x5ccade['Disposable']{constructor(_0x21cba4,_0x28e0aa){const _0x4f0e67=_0x68fc2d;super(),this[_0x4f0e67(0x218)]=_0x21cba4,this['_docFormulaModel']=_0x28e0aa,this[_0x4f0e67(0x159)](this[_0x4f0e67(0x218)][_0x4f0e67(0x1ed)]({'pluginName':_0x52ee54,'businesses':[_0x5ccade[_0x4f0e67(0x18b)]['UNIVER_DOC']],'toJson':_0x5e635a=>JSON[_0x4f0e67(0x257)](this[_0x4f0e67(0x149)][_0x4f0e67(0x156)](_0x5e635a)),'parseJson':_0x4d8e03=>JSON[_0x4f0e67(0x165)](_0x4d8e03),'onLoad':(_0x791d4e,_0x56e6b9)=>{const _0x270dc8=_0x4f0e67;this[_0x270dc8(0x149)][_0x270dc8(0x244)](_0x791d4e,_0x56e6b9);},'onUnLoad':_0x382583=>this['_docFormulaModel'][_0x4f0e67(0x216)](_0x382583)}));}};_0x318565=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x240)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x2efa09))],_0x318565);var _0x413d92=_0x68fc2d(0x15c),_0x1ad243=_0x68fc2d(0x1a4);let _0x58ab0a={},_0x23102c=class extends _0x5ccade['Disposable']{constructor(_0x401cd8,_0x192113,_0x5c224a){const _0x320573=_0x68fc2d;super(),this[_0x320573(0x126)]=_0x401cd8,this[_0x320573(0x1ca)]=_0x192113,this['disposeWithMe'](_0x5c224a['register']({'resolve':(_0x12a8ae,_0x5e4197)=>{const _0x4d78dc=_0x320573;var _0x198f9c,_0x5aa9fe;return(_0x198f9c=(_0x5aa9fe=_0x5e4197[_0x4d78dc(0x15d)])==null?void 0x0:_0x5aa9fe[_0x4d78dc(0x261)](_0x219bde)[_0x4d78dc(0x125)](_0x351aac=>({'startOffset':_0x351aac[_0x4d78dc(0x13d)],'endOffset':_0x351aac['endIndex']+0x1,'text':this[_0x4d78dc(0x178)](_0x12a8ae,_0x351aac[_0x4d78dc(0x1e2)])})))==null?[]:_0x198f9c;}})),this['disposeWithMe'](this[_0x320573(0x1ca)]['presentationChanged$']['subscribe'](({unitId:_0x28cbdd})=>{const _0x71a639=_0x320573;_0x5c224a[_0x71a639(0x1c2)](_0x28cbdd);}));}[_0x68fc2d(0x178)](_0x1391b2,_0x3a4185){const _0x2b55e2=_0x68fc2d;var _0x16e008,_0x230392;return(_0x16e008=(_0x230392=this[_0x2b55e2(0x1ca)][_0x2b55e2(0x1ae)]({'unitId':_0x1391b2,'rangeId':_0x3a4185}))==null?void 0x0:_0x230392[_0x2b55e2(0x200)])==null?'':_0x16e008;}[_0x68fc2d(0x13f)](_0x53cf81,_0x5c8d46,_0x4f3999){const _0x51d419=_0x68fc2d;var _0x183a4c,_0x3e9695;let _0x23a56e=this[_0x51d419(0x126)][_0x51d419(0x154)](_0x53cf81,_0x5ccade['UniverInstanceType'][_0x51d419(0x140)]),_0x2b43ee=_0x23a56e==null?void 0x0:_0x23a56e[_0x51d419(0x172)]();if(!_0x2b43ee)return'';let _0x5c487f=_0x2b43ee['dataStream'][_0x51d419(0x1b2)](_0x5c8d46,_0x4f3999),_0x2c2771=(_0x183a4c=(_0x3e9695=_0x2b43ee[_0x51d419(0x15d)])==null?void 0x0:_0x3e9695[_0x51d419(0x261)](_0x2ae929=>_0x219bde(_0x2ae929)&&_0x2ae929[_0x51d419(0x13d)]>=_0x5c8d46&&_0x2ae929['endIndex']<_0x4f3999)['sort']((_0x278876,_0x569b44)=>_0x569b44['startIndex']-_0x278876[_0x51d419(0x13d)]))==null?[]:_0x183a4c;for(let _0x2e6648 of _0x2c2771){let _0x2b31d6=_0x2e6648[_0x51d419(0x13d)]-_0x5c8d46,_0x3486b0=_0x2e6648[_0x51d419(0x174)]-_0x5c8d46+0x1;_0x5c487f=''+_0x5c487f[_0x51d419(0x1b2)](0x0,_0x2b31d6)+this[_0x51d419(0x178)](_0x53cf81,_0x2e6648['rangeId'])+_0x5c487f[_0x51d419(0x1b2)](_0x3486b0);}return _0x5c487f;}[_0x68fc2d(0x242)](_0x38f0dd){return _0x28d5c9(_0x38f0dd);}['degradeBody'](_0x55257c,_0x2d699a,_0x5eaad8={}){const _0xd54d03=_0x68fc2d;var _0x5828e8,_0x27708a,_0x2c482d;return(_0x2c482d=_0x1841ad({'id':_0x55257c,'body':_0x2d699a,'documentStyle':{}},((_0x5828e8=(_0x27708a=_0x2d699a['customRanges'])==null?void 0x0:_0x27708a[_0xd54d03(0x261)](_0x219bde))==null?[]:_0x5828e8)[_0xd54d03(0x125)](_0x126b9c=>{const _0x3b548f=_0xd54d03;var _0x4d449a;return{'rangeId':_0x126b9c[_0x3b548f(0x1e2)],'text':(_0x4d449a=_0x5eaad8[_0x126b9c[_0x3b548f(0x1e2)]])==null?this['resolveFormula'](_0x55257c,_0x126b9c[_0x3b548f(0x1e2)]):_0x4d449a};}))[_0xd54d03(0x15e)])==null?{'dataStream':''}:_0x2c482d;}};_0x23102c=_0x3ac92a([_0x112b31(0x0,_0x5ccade[_0x68fc2d(0x16f)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x469dc0)),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x552610[_0x68fc2d(0x1d1)]))],_0x23102c);function _0x28d5c9(_0x24d804){const _0x11c87b=_0x68fc2d;var _0x2f6b4c,_0x107dda,_0x16fe1e;let _0x2364b5=_0x297d92(_0x24d804),_0x4ea787=_0x1841ad(_0x24d804,((_0x2f6b4c=(_0x107dda=_0x24d804[_0x11c87b(0x15e)])==null||(_0x107dda=_0x107dda['customRanges'])==null?void 0x0:_0x107dda[_0x11c87b(0x261)](_0x219bde))==null?[]:_0x2f6b4c)['map'](_0x53d238=>({'rangeId':_0x53d238[_0x11c87b(0x1e2)],'text':_0x4f4a7a(_0x2364b5==null?void 0x0:_0x2364b5['formulas'][_0x53d238[_0x11c87b(0x1e2)]])})));return _0x4ea787[_0x11c87b(0x146)]=(_0x16fe1e=_0x4ea787['resources'])==null?void 0x0:_0x16fe1e[_0x11c87b(0x261)](_0x299f92=>_0x299f92['name']!==_0x52ee54),_0x4ea787;}function _0x297d92(_0x120ea3){const _0x280bcf=_0x68fc2d;var _0x53aa34;let _0x5f57ec=(_0x53aa34=_0x120ea3[_0x280bcf(0x146)])==null||(_0x53aa34=_0x53aa34['find'](_0x2f8124=>_0x2f8124[_0x280bcf(0x203)]===_0x280bcf(0x1cc)))==null?void 0x0:_0x53aa34[_0x280bcf(0x233)];if(_0x5f57ec)try{let _0x3af7bc=JSON[_0x280bcf(0x165)](_0x5f57ec);return _0x4b9e30(_0x3af7bc)?_0x3af7bc:void 0x0;}catch{return;}}function _0x4f4a7a(_0x134721){const _0x167b5d=_0x68fc2d;return _0x134721?(0x0,_0x3c5cf2[_0x167b5d(0x16e)])({'lastValue':_0x134721[_0x167b5d(0x117)],'numberFormat':_0x134721[_0x167b5d(0x176)]})['text']:'';}let _0x41c9c8=class extends _0x5ccade[_0x68fc2d(0x24c)]{constructor(_0x504e3d,_0x3082fa,_0x552e9b){const _0x151d3c=_0x68fc2d;super(),this[_0x151d3c(0x1ca)]=_0x504e3d,this[_0x151d3c(0x142)]=_0x3082fa,this[_0x151d3c(0x159)](_0x552e9b[_0x151d3c(0x223)](this));}[_0x68fc2d(0x132)](_0xf5e866){const _0x310fac=_0x68fc2d;let _0x2a77e9=new Map();for(let _0x37226d of this[_0x310fac(0x1ca)][_0x310fac(0x14b)]()){var _0x42f503,_0x50af72;if(!this[_0x310fac(0x142)][_0x310fac(0x131)](_0x37226d['config'][_0x310fac(0x1fe)],_0x37226d[_0x310fac(0x1c5)])[_0x310fac(0x21a)])continue;let _0x56fb44=(0x0,_0x3c5cf2['getScalarFormulaResultCell'])(_0x37226d[_0x310fac(0x1c5)]),_0x386f16=_0x56fb44?(0x0,_0x3c5cf2[_0x310fac(0x1ea)])(_0x56fb44):null;if(!_0x386f16||_0x494304(_0x37226d['config']['lastValue'],_0x386f16))continue;let _0x2cf0a3=(_0x42f503=_0x2a77e9['get'](_0x37226d[_0x310fac(0x1a0)]['unitId']))==null?[]:_0x42f503;_0x2cf0a3['push']({'rangeId':_0x37226d[_0x310fac(0x1a0)]['rangeId'],'expectedFormula':_0x37226d['config'][_0x310fac(0x1fe)],'expectedNumberFormat':(_0x50af72=_0x37226d[_0x310fac(0x152)]['numberFormat'])==null?void 0x0:_0x50af72[_0x310fac(0x23a)],'expectedReferenceRevision':_0x37226d['referenceRevision'],'lastValue':_0x386f16}),_0x2a77e9[_0x310fac(0x210)](_0x37226d['identity']['unitId'],_0x2cf0a3);}return Array['from'](_0x2a77e9,([_0x3a673d,_0x216d1d])=>({'id':_0x102d83['id'],'params':{'unitId':_0x3a673d,'updates':_0x216d1d}}));}};_0x41c9c8=_0x3ac92a([_0x112b31(0x0,(0x0,_0x5ccade['Inject'])(_0x469dc0)),_0x112b31(0x1,(0x0,_0x5ccade['Inject'])(_0x3c5cf2[_0x68fc2d(0x20e)])),_0x112b31(0x2,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x3c5cf2[_0x68fc2d(0x248)]))],_0x41c9c8);function _0x494304(_0x40c7a9,_0x52f8be){const _0x193c1b=_0x68fc2d;return(_0x40c7a9==null?void 0x0:_0x40c7a9['v'])===_0x52f8be['v']&&(_0x40c7a9==null?void 0x0:_0x40c7a9['t'])===_0x52f8be['t']&&(_0x40c7a9==null?void 0x0:_0x40c7a9[_0x193c1b(0x23a)])===_0x52f8be['pattern'];}let _0x5c07b3=class extends _0x5ccade[_0x68fc2d(0x17c)]{constructor(_0x1f9b28=_0x58ab0a,_0x3e4554,_0x4e67a4,_0x340e54){const _0x30b38a=_0x68fc2d;super(),this[_0x30b38a(0x251)]=_0x1f9b28,this['_injector']=_0x3e4554,this[_0x30b38a(0x160)]=_0x4e67a4,this[_0x30b38a(0x1f9)]=_0x340e54;let {..._0x2cc8b}=(0x0,_0x5ccade['merge'])({},_0x58ab0a,this['_config']);this[_0x30b38a(0x1f9)][_0x30b38a(0x1af)](_0x30b38a(0x13e),_0x2cc8b);}[_0x68fc2d(0x177)](){const _0x43541e=_0x68fc2d;this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x2efa09]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x469dc0]),this['_injector'][_0x43541e(0x221)]([_0x318565]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x3f3cff]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x41c9c8]),this[_0x43541e(0x197)][_0x43541e(0x221)]([_0x23102c]),(0x0,_0x5ccade[_0x43541e(0x138)])(this['_injector'],[[_0x2efa09],[_0x318565],[_0x3f3cff],[_0x41c9c8],[_0x23102c]]),[_0x6b1270,_0x51ef55,_0x5c9db3,_0x102d83,_0x2cba8c,_0x590227,_0x1d8eaf,_0x69b1e4,_0x540511,_0x109393][_0x43541e(0x182)](_0x46601a=>this[_0x43541e(0x159)](this[_0x43541e(0x160)][_0x43541e(0x230)](_0x46601a)));}};_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x224),_0x52ee54),_0x2bdaa0(_0x5c07b3,'packageName',_0x413d92),_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x194),_0x1ad243),_0x2bdaa0(_0x5c07b3,_0x68fc2d(0x158),_0x5ccade[_0x68fc2d(0x18b)][_0x68fc2d(0x140)]),_0x5c07b3=_0x3ac92a([(0x0,_0x5ccade[_0x68fc2d(0x236)])(_0x34ed53[_0x68fc2d(0x1a1)],_0x3c5cf2['UniverProFormulaEnginePlugin'],_0x552610[_0x68fc2d(0x148)]),_0x112b31(0x1,(0x0,_0x5ccade[_0x68fc2d(0x181)])(_0x5ccade[_0x68fc2d(0x1b9)])),_0x112b31(0x2,_0x5ccade['ICommandService']),_0x112b31(0x3,_0x5ccade[_0x68fc2d(0x17a)])],_0x5c07b3),_0x33c4a4[_0x68fc2d(0x263)]=_0x109393,_0x33c4a4[_0x68fc2d(0x123)]=_0x5a43ba,_0x33c4a4[_0x68fc2d(0x1f5)]='',_0x33c4a4[_0x68fc2d(0x1cc)]=_0x52ee54,_0x33c4a4[_0x68fc2d(0x1ab)]=0x1,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x18a),{'enumerable':!0x0,'get':function(){return _0x23102c;}}),Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x1ad),{'enumerable':!0x0,'get':function(){return _0x3f3cff;}}),_0x33c4a4[_0x68fc2d(0x252)]=_0x2efa09,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x1df),{'enumerable':!0x0,'get':function(){return _0x318565;}}),_0x33c4a4[_0x68fc2d(0x25a)]=_0x36e998,Object[_0x68fc2d(0x115)](_0x33c4a4,_0x68fc2d(0x231),{'enumerable':!0x0,'get':function(){return _0x469dc0;}}),_0x33c4a4[_0x68fc2d(0x188)]=_0x2cba8c,_0x33c4a4['InvalidDocFormulaInsertRangeError']=_0x33e424,_0x33c4a4[_0x68fc2d(0x133)]=_0x69b1e4,_0x33c4a4[_0x68fc2d(0x23e)]=_0x51ef55,_0x33c4a4['ReplaceDocFormulaWithTextCommand']=_0x540511,_0x33c4a4['SetDocFormulaLastValuesMutation']=_0x102d83,_0x33c4a4[_0x68fc2d(0x144)]=_0x6b1270,_0x33c4a4[_0x68fc2d(0x22d)]=_0x1d8eaf,_0x33c4a4[_0x68fc2d(0x139)]=_0x5c9db3,Object[_0x68fc2d(0x115)](_0x33c4a4,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x5c07b3;}}),_0x33c4a4[_0x68fc2d(0x1f0)]=_0x590227,_0x33c4a4['assertSafeDocFormulaInsertRange']=_0x1fdb77,_0x33c4a4['buildInsertDocFormulaActions']=_0x55347d,_0x33c4a4[_0x68fc2d(0x208)]=_0x5114cd,_0x33c4a4['buildUpdateDocFormulaActions']=_0x116721,_0x33c4a4[_0x68fc2d(0x1da)]=_0x249ba4,_0x33c4a4[_0x68fc2d(0x235)]=_0x28d5c9,_0x33c4a4[_0x68fc2d(0x19b)]=_0x2a8744,_0x33c4a4[_0x68fc2d(0x247)]=_0x2fd311,_0x33c4a4[_0x68fc2d(0x15f)]=_0x219bde,_0x33c4a4[_0x68fc2d(0x166)]=_0x4b9e30,_0x33c4a4[_0x68fc2d(0x207)]=_0xa6d1e4;}));function _0x4712(){const _0x4405ef=['config','unitAdded$','getUnit','_resources','serialize','pending','type','disposeWithMe','DataStreamTreeTokenType','assign','@univerjs-pro/docs-formula','customRanges','body','isDocFormulaRange','_commandService','prototype','empty','_service','UniverDocs','parse','isDocFormulaResource','getPresentation','TABLE_CELL_START','resolveHostFormulaExternalReferences','generateRandomId','insert','referenceRevision','DocSelectionManagerService','resolveFormulaResultPresentation','IUniverInstanceService','OtherFormulaBizType','CUSTOM_BLOCK','getBody','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','endIndex','get','numberFormat','onStarting','resolveFormula','getFormulas','IConfigService','tables','Plugin','buildUpsertHostExternalReferenceMutations','undoMutation','max','UniverCore','Inject','forEach','object','kind','44558bsjPJh','TABLE_CELL_END','COLUMN_GROUP_END','InsertDocFormulaCommand','getOwnPropertyDescriptor','DocFormulaDisplayTextService','UniverInstanceType','insertLength','syncExecuteCommand','_registrations','values','docs-formula.command.insert','onCommandExecuted','resource','TABLE_END','version','iterator','docs-formula.command.set-number-format','_injector','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','formulaId','72MPwRUa','findDocFormulaRange','document','UniverProEngineFormula','_pendingUnitIds','Module','identity','UniverLicensePlugin','source','docs-formula.mutation.set-last-values','1.0.0-alpha.8','editOp','cursorOffset','shiftExclusiveRangeOnDelete','expectedReferenceRevision','getFormula','_registrationService','DOC_FORMULA_SCHEMA_VERSION','function','DocFormulaLifecycleController','getResult','setConfig','toStringTag','_preserveInvalid','slice','selection','COLUMN_GROUP_START','isInteger','unitDisposed$','BLOCK_END','documentRedo','Injector','_loadErrors','_syncUnit','resourceUndo','disabled','presentationChanged$','cell','_updateFormulaResult','21CUDvWW','notifyTextChanged','117942wNGDUA','length','liveResult','sectionBreaks','references','paragraphId','unitId','_formulaService','number','DOC_FORMULA_PLUGIN','exports','dataStream','CommandType','accessor','DocTextResolverService','delete','shiftExclusiveRangeOnInsert','JSONX','2253433EjQdBL','change$','updates','unregisterUnit','registerFormulaWithRange','createEmptyDocFormulaResource','call','9azIOZX','_syncScheduled','trim','DocFormulaResourceController','_queueSync','setFormulas','rangeId','getResource','_formulaKeys','11tYWvQn','_setPresentation','customBlocks','includes','endsWith','toFormulaLastValue','TextX','RegisterOtherFormulaService','registerPluginResource','nextDocumentData','endOffset','UpdateDocFormulaCommand','symbol','min','subscribe','_change$','DOC_FORMULA_OBJECT_REPLACEMENT','getAllUnitsForType','ERROR','_isDisposed','_configService','customDecorations','docs-formula.command.remove','FormulaResultStatus','string','formula','params','text','_instanceService','getSnapshot','name','formulaResult$','unsupported-version','retain','isFormulaLastValue','buildRemoveDocFormulaActions','collectFormulaExternalReferenceQualifiers','getParagraphContentStartOffset','deepClone','4FItHxg','status','FormulaCacheEligibilityService','_hostExternalReferenceModel','set','boolean','841465JpzHbc','SUCCESS','previousDocumentData','SECTION_BREAK','removeUnit','expectedFormula','_resourceManagerService','getLoadError','eligible','startOffset','has','getInstance','rxjs','COLUMN_START','some','add','paragraph','registerProvider','pluginName','docs-formula.command.update','@univerjs/core','DOC_SELECTION_OPTION_PRESERVE_CARET','deleteFormula','sort','isArray','syncUnit','_deleteRegistration','SetDocFormulaNumberFormatCommand','columnGroups','amd','registerCommand','DocFormulaService','getUnitId','data','2898712bEZMUl','degradeDocFormulaDocumentData','DependentOn','blockRanges','externalReferences','default','pattern','register','target','55286XdCTaw','RemoveDocFormulaMutation','_rawResources','IResourceManagerService','pushUndoRedo','degradeDocumentData','externalMutations','load','nextResource','properties','isDocFormulaConfig','FormulaLastValuePersistenceService','@univerjs-pro/license','replaceDocRanges','UniverProLicense','Disposable','invalid-resource','find','univer-docs-formula','HostExternalReferenceModel','_config','DocFormulaModel','removeFormula','textRuns','COLUMN_END','next','stringify','_presentationChanged$','BLOCK_START','DocFormulaResultStatus','setResource','asObservable','success','formulas','start','dispose','filter','resolveBinding','ConvertDocFormulaToTextCommand','RichTextEditingMutation','sequenceNodesBuilder','unregister','Tools','segmentId','Subject','CUSTOM','docs-formula.command.convert-to-text','defineProperty','stale','lastValue','399048FfutZa','MUTATION','getCustomRangeInterval','model','deleteLength','error','_model','every','@univerjs/docs','color','fromEntries','DOC_FORMULA_CUSTOM_RANGE_KIND','UniverProDocsFormula','map','_univerInstanceService','constructor','CustomRangeType','TABLE_START','complete','position','getTextRanges','shiftInclusiveRangeOnInsert','decorate','getFormulaValueSync','redoMutation','assess','collectMutations','RemoveDocFormulaCommand','getRevision','docs-formula.mutation.set-resource','COMMAND','600ymjZfC','touchDependencies','SetDocFormulaResourceMutation','documentData','range','previousResource','startIndex','docs-formula.config','resolveText','UNIVER_DOC','presentation','_cacheEligibilityService','keys','SetDocFormulaMutation','from','resources','clear','UniverDocsPlugin','_docFormulaModel','docs-formula.mutation.remove-formula','getRegisteredFormulas','resourceRedo','ICommandService','paragraphs','entries','schemaVersion','trigger'];_0x4712=function(){return _0x4405ef;};return _0x4712();}
|
|
1
|
+
function _0x55ce(){const _0x149323=['toFormulaLastValue','keys','UniverDocsPlugin','_commandService','SetDocFormulaNumberFormatCommand','docs-formula.mutation.set-resource','iterator','customRanges','LexerTreeBuilder','editOp','values','deleteFormula','1.0.0-beta.1','textRuns','trim','getResult','entries','position','accessor','buildInsertDocFormulaActions','syncExecuteCommand','DOC_FORMULA_OBJECT_REPLACEMENT','nextDocumentData','pushUndoRedo','_queueSync','source','getResource','shiftExclusiveRangeOnDelete','unitId','4688574IUjyVg','text','registerFormulaWithRange','parse','color','deepClone','rxjs','includes','_pendingUnitIds','externalReferences','max','RemoveDocFormulaMutation','expectedReferenceRevision','exports','UniverLicensePlugin','from','InvalidDocFormulaInsertRangeError','start','paragraphId','setResource','getLoadError','toPrimitive','DependentOn','forEach','document','rangeType','subscribe','add','sectionBreaks','IUndoRedoService','sequenceNodesBuilder','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','OtherFormulaBizType','expectedNumberFormat','DOC_FORMULA_PLUGIN','endIndex','startOffset','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','toStringTag','empty','sort','next','startsWith','delete','_loadErrors','150208sQnTRW','Plugin','body','min','UpdateDocFormulaCommand','_presentationChanged$','resourceUndo','Subject','numberFormat','getUnit','@univerjs/engine-formula','3324104xLpBnK','resourceRedo','docs-formula.command.insert','CustomRangeType','params','MUTATION','generateRandomId','_deleteRegistration','TABLE_END','undoMutation','collectMutations','CUSTOM','set','_setPresentation','removeUnit','customBlocks','segmentId','buildUpdateDocFormulaActions','TABLE_ROW_END','DocFormulaResultStatus','docs-formula.mutation.set-formula','UniverProEngineFormula','DocSelectionManagerService','docs-formula.command.replace-with-text','_instanceService','cursorOffset','call','CellValueType','getPresentation','disposeWithMe','lastValue','UNIVER_DOC','registerCommand','CUSTOM_BLOCK','setFormulas','blockRanges','registerProvider','model','map','symbol','DOC','retain','TABLE_CELL_START','resolveFormulaResultPresentation','_injector','isInteger','isDocFormulaResource','constructor','@univerjs/core','pattern','PARAGRAPH','getCustomRangeInterval','ConvertDocFormulaToTextCommand','complete','pending','touchDependencies','config','customDecorations','_univerInstanceService','unregisterUnit','isArray','CommandType','getBody','resolveBinding','invalid-resource','unsupported-version','RemoveDocFormulaCommand','merge','documentRedo','function','slice','IUniverInstanceService','number','_config','has','DataStreamTreeTokenType','buildRemoveDocFormulaActions','error','selection','length','paragraph','EMPTY','liveResult','endsWith','nextResource','ERROR','ICommandService','docs-formula.command.update','getFormulaValueSync','7245888EKlfSb','stale','register','UniverCore','docs-formula.command.convert-to-text','Injector','_resources','UniverDocsFormulaPlugin','isDocFormulaConfig','find','setConfig','DocTextResolverService','_updateFormulaResult','_hostExternalReferenceModel','get','docs-formula.command.set-number-format','formulaResult$','getSnapshot','univer-docs-formula','unregister','docs-formula.command.remove','getFormulas','resolveFormula','defineProperty','FormulaResultStatus','syncUnit','decorate','getRegisteredFormulas','Inject','HostExternalReferenceModel','presentationChanged$','degradeDocFormulaDocumentData','fromEntries','resolved','FormulaCacheEligibilityService','docs-formula.mutation.remove-formula','formulaId','updates','TABLE_ROW_START','onCommandExecuted','BLOCK_END','getParagraphContentStartOffset','presentation','@univerjs-pro/engine-formula','resources','COLUMN_GROUP_START','paragraphs','eligible','getInstance','stringify','getUnitId','object','DocFormulaResourceController','_isDisposed','documentData','degradeDocumentData','_docFormulaModel','getOwnPropertyDescriptor','wholeEntity','_registrations','DocFormulaLifecycleController','dataStream','RichTextEditingMutation','schemaVersion','data','FormulaLastValuePersistenceService','setFormula','clear','removeFormula','formulas','getFormula','redoMutation','_formulaService','isFormulaLastValue','identity','resolveHostFormulaExternalReferences','_configService','formula','UniverProFormulaEnginePlugin','@univerjs-pro/license','isDocFormulaRange','serialize','1260iMDGuC','resource','SECTION_BREAK','referenceRevision','COLUMN_GROUP_END','_syncUnit','default','target','createEmptyDocFormulaResource','properties','deleteLength','_model','Disposable','getBodySliceForTextXAction','COMMAND','JSONX','@univerjs/docs','name','_preserveInvalid','prototype','DocFormulaService','insertLength','UniverInstanceType','endOffset','replaceDocRanges','_change$','boolean','UniverProLicense','cell','previousDocumentData','_registrationService','disabled','1484789CwWqaH','_syncScheduled','@univerjs-pro/docs-formula','BLOCK_START','load','trigger','7404110TjoHKH','dispose','docs-formula.config','UniverDocs','SUCCESS','range','TABLE_START','InsertDocFormulaCommand','rangeId','buildUpsertHostExternalReferenceMutations','15456xSvYqT','notifyTextChanged','tables','change$','Tools','ReplaceDocFormulaWithTextCommand','_rawResources','filter','every','startIndex','status','DOC_SELECTION_OPTION_PRESERVE_CARET','SetDocFormulaLastValuesMutation','_cacheEligibilityService','type','_resourceManagerService','docs-formula.mutation.set-last-values','previousResource','amd','onStarting','shiftExclusiveRangeOnInsert','getRevision','columnGroups','externalMutations','string','_formulaKeys'];_0x55ce=function(){return _0x149323;};return _0x55ce();}function _0x20db(_0x18ec38,_0x32d1c0){_0x18ec38=_0x18ec38-0xfd;const _0x55ce1d=_0x55ce();let _0x20dba7=_0x55ce1d[_0x18ec38];return _0x20dba7;}(function(_0x251fe9,_0x2c9105){const _0x22a426=_0x20db,_0x19b0d8=_0x251fe9();while(!![]){try{const _0x499e2e=-parseInt(_0x22a426(0x114))/0x1+-parseInt(_0x22a426(0x193))/0x2+parseInt(_0x22a426(0x15b))/0x3+-parseInt(_0x22a426(0x188))/0x4+parseInt(_0x22a426(0x23e))/0x5*(parseInt(_0x22a426(0x124))/0x6)+parseInt(_0x22a426(0x11a))/0x7+parseInt(_0x22a426(0x1ec))/0x8;if(_0x499e2e===_0x2c9105)break;else _0x19b0d8['push'](_0x19b0d8['shift']());}catch(_0x184d13){_0x19b0d8['push'](_0x19b0d8['shift']());}}}(_0x55ce,0xf1f6b),function(_0x506a11,_0x34a4b5){const _0x4e5dfd=_0x20db;typeof exports==_0x4e5dfd(0x21f)&&typeof module<'u'?_0x34a4b5(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x4e5dfd(0x1d8)&&define[_0x4e5dfd(0x136)]?define([_0x4e5dfd(0x168),_0x4e5dfd(0x217),_0x4e5dfd(0x1c3),_0x4e5dfd(0x104),_0x4e5dfd(0x192),'rxjs',_0x4e5dfd(0x23b)],_0x34a4b5):(_0x506a11=typeof globalThis<'u'?globalThis:_0x506a11||self,_0x34a4b5(_0x506a11['UniverProDocsFormula']={},_0x506a11[_0x4e5dfd(0x1a8)],_0x506a11[_0x4e5dfd(0x1ef)],_0x506a11[_0x4e5dfd(0x11d)],_0x506a11['UniverEngineFormula'],_0x506a11[_0x4e5dfd(0x161)],_0x506a11[_0x4e5dfd(0x10f)]));}(this,function(_0x24865a,_0x49a424,_0x183152,_0x239b8e,_0x56a765,_0xb85794,_0x125396){const _0x5190c3=_0x20db;Object[_0x5190c3(0x203)](_0x24865a,Symbol[_0x5190c3(0x181)],{'value':'Module'});let _0x5df5c0=_0x5190c3(0x17d),_0x348d61=_0x5190c3(0x1fe);function _0x2d0395(){return{'schemaVersion':0x1,'formulas':{}};}function _0x48fcca(_0x157d6a){const _0x5aea7d=_0x5190c3;return!_0x157d6a||typeof _0x157d6a!=_0x5aea7d(0x21f)||!_0x1ffb1c(_0x157d6a,[_0x5aea7d(0x22b),_0x5aea7d(0x231)])||!('schemaVersion'in _0x157d6a)||_0x157d6a[_0x5aea7d(0x22b)]!==0x1||!(_0x5aea7d(0x231)in _0x157d6a)||!_0x157d6a['formulas']||typeof _0x157d6a[_0x5aea7d(0x231)]!=_0x5aea7d(0x21f)||Array[_0x5aea7d(0x1cf)](_0x157d6a[_0x5aea7d(0x231)])?!0x1:Object[_0x5aea7d(0x14e)](_0x157d6a[_0x5aea7d(0x231)])['every'](([_0xb37e,_0x64d60a])=>_0xb37e[_0x5aea7d(0x1e2)]>0x0&&_0x5aaa6e(_0x64d60a));}function _0x5aaa6e(_0x3315b3){const _0x964e6f=_0x5190c3;return!_0x3315b3||typeof _0x3315b3!=_0x964e6f(0x21f)||!_0x1ffb1c(_0x3315b3,['formula',_0x964e6f(0x190),_0x964e6f(0x1b1)])||!('formula'in _0x3315b3)||typeof _0x3315b3[_0x964e6f(0x239)]!=_0x964e6f(0x13c)||!_0x3315b3[_0x964e6f(0x239)][_0x964e6f(0x14c)]()||_0x964e6f(0x190)in _0x3315b3&&_0x3315b3[_0x964e6f(0x190)]!=null&&(typeof _0x3315b3[_0x964e6f(0x190)]!=_0x964e6f(0x21f)||!_0x1ffb1c(_0x3315b3[_0x964e6f(0x190)],[_0x964e6f(0x1c4)])||!('pattern'in _0x3315b3['numberFormat'])||typeof _0x3315b3[_0x964e6f(0x190)][_0x964e6f(0x1c4)]!='string')?!0x1:!(_0x964e6f(0x1b1)in _0x3315b3)||_0x3315b3['lastValue']==null||_0x2aa92a(_0x3315b3[_0x964e6f(0x1b1)]);}function _0x2aa92a(_0x3ff21d){const _0xfd991c=_0x5190c3;return!_0x3ff21d||typeof _0x3ff21d!=_0xfd991c(0x21f)||!_0x1ffb1c(_0x3ff21d,['v','t',_0xfd991c(0x1c4)])||!('v'in _0x3ff21d)||_0x3ff21d['v']!==null&&typeof _0x3ff21d['v']!=_0xfd991c(0x13c)&&typeof _0x3ff21d['v']!=_0xfd991c(0x1db)&&typeof _0x3ff21d['v']!=_0xfd991c(0x10e)||'t'in _0x3ff21d&&_0x3ff21d['t']!=null&&!_0x4ffc8b(_0x3ff21d['t'])?!0x1:!(_0xfd991c(0x1c4)in _0x3ff21d)||_0x3ff21d[_0xfd991c(0x1c4)]==null||typeof _0x3ff21d[_0xfd991c(0x1c4)]==_0xfd991c(0x13c);}function _0x1ffb1c(_0x16821e,_0x71da1){const _0x412461=_0x5190c3;let _0x793c76=new Set(_0x71da1);return Object[_0x412461(0x13f)](_0x16821e)[_0x412461(0x12c)](_0x176a8f=>_0x793c76[_0x412461(0x1dd)](_0x176a8f));}function _0x4ffc8b(_0x4114b2){const _0x37c6d5=_0x5190c3;return typeof _0x4114b2=='number'&&Object['values'](_0x183152[_0x37c6d5(0x1ae)])[_0x37c6d5(0x162)](_0x4114b2);}let _0x19820e=new Set([_0x183152[_0x5190c3(0x1de)][_0x5190c3(0x240)],_0x183152[_0x5190c3(0x1de)][_0x5190c3(0x120)],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x212)],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x1bd)],_0x183152[_0x5190c3(0x1de)]['TABLE_CELL_END'],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x1a5)],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x19b)],_0x183152[_0x5190c3(0x1de)][_0x5190c3(0x219)],_0x183152['DataStreamTreeTokenType']['COLUMN_START'],_0x183152['DataStreamTreeTokenType']['COLUMN_END'],_0x183152[_0x5190c3(0x1de)][_0x5190c3(0x242)],_0x183152[_0x5190c3(0x1de)][_0x5190c3(0x117)],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x214)],_0x183152['DataStreamTreeTokenType'][_0x5190c3(0x1b4)]]);var _0x3c9e54=class extends Error{constructor(){super('Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries');}};function _0x3aebe8(_0x3dad58){const _0x14973c=_0x5190c3;var _0x18c7be,_0x176237;let _0xc1837=_0x183152[_0x14973c(0x128)][_0x14973c(0x160)](_0x3dad58['documentData']),_0x454538=_0x3c7415(_0xc1837),{startOffset:_0x2e0a92,endOffset:_0x4cdfb0}=_0x4b0bcb(_0x454538,_0x3dad58[_0x14973c(0x17f)],_0x3dad58[_0x14973c(0x10b)]);_0xb71898(_0x454538,_0x2e0a92,_0x4cdfb0);let _0x4df932=((_0x18c7be=_0x454538[_0x14973c(0x145)])==null?void 0x0:_0x18c7be['filter'](_0x58d92c=>{const _0x35f8a1=_0x14973c;if(!_0x11642f(_0x58d92c))return!0x1;let _0x4e9b8d=(0x0,_0x183152[_0x35f8a1(0x1c6)])(_0x58d92c);return _0x4e9b8d['endOffset']>_0x2e0a92&&_0x4e9b8d['startOffset']<_0x4cdfb0;})[_0x14973c(0x1b9)](_0xb6d0f=>_0xb6d0f[_0x14973c(0x122)]))??[];_0x343636(_0x454538,_0x2e0a92,_0x4cdfb0,''),_0x454538['customRanges']=[...((_0x176237=_0x454538[_0x14973c(0x145)])==null?void 0x0:_0x176237[_0x14973c(0x12b)](_0x27c477=>!_0x4df932[_0x14973c(0x162)](_0x27c477[_0x14973c(0x122)])&&_0x27c477[_0x14973c(0x122)]!==_0x3dad58[_0x14973c(0x122)]))??[],_0x1399ed(_0x3dad58[_0x14973c(0x122)],_0x2e0a92)]['sort']((_0x31ad1b,_0x39cf95)=>_0x31ad1b[_0x14973c(0x12d)]-_0x39cf95[_0x14973c(0x12d)]);let _0x46a732=_0x165397(_0x3dad58[_0x14973c(0x23f)]);return _0x4df932[_0x14973c(0x172)](_0x541734=>{delete _0x46a732['formulas'][_0x541734];}),_0x46a732[_0x14973c(0x231)][_0x3dad58[_0x14973c(0x122)]]=_0x183152[_0x14973c(0x128)]['deepClone'](_0x3dad58[_0x14973c(0x1cb)]),{'nextDocumentData':_0xc1837,'nextResource':_0x46a732,'cursorOffset':_0x2e0a92+0x1};}function _0x3509c1(_0x597edb){const _0x2eb648=_0x5190c3;var _0x5a5c53,_0x2feea4;let _0x2871ee=_0x183152[_0x2eb648(0x128)]['deepClone'](_0x597edb['documentData']),_0x238a52=(_0x5a5c53=_0x3c7415(_0x2871ee)[_0x2eb648(0x145)])==null?void 0x0:_0x5a5c53[_0x2eb648(0x1f5)](_0xd1bdd0=>_0xd1bdd0[_0x2eb648(0x122)]===_0x597edb['rangeId']&&_0x11642f(_0xd1bdd0));if(!_0x238a52||!((_0x2feea4=_0x597edb[_0x2eb648(0x23f)])!=null&&_0x2feea4['formulas'][_0x597edb[_0x2eb648(0x122)]]))return null;let _0x21a155=_0x165397(_0x597edb[_0x2eb648(0x23f)]);return _0x21a155['formulas'][_0x597edb['rangeId']]=_0x183152[_0x2eb648(0x128)][_0x2eb648(0x160)](_0x597edb[_0x2eb648(0x1cb)]),{'nextDocumentData':_0x2871ee,'nextResource':_0x21a155,'cursorOffset':_0x238a52[_0x2eb648(0x17e)]+0x1};}function _0x580626(_0x2b0599){const _0x188ecc=_0x5190c3;let _0x2075b1=_0x183152[_0x188ecc(0x128)][_0x188ecc(0x160)](_0x2b0599['documentData']),_0x13d09f=_0x20e325(_0x2075b1,_0x2b0599['rangeId'],_0x2b0599[_0x188ecc(0x15c)]??'');if(_0x13d09f==null)return null;let _0x3b2a7a=_0x165397(_0x2b0599[_0x188ecc(0x23f)]);return delete _0x3b2a7a[_0x188ecc(0x231)][_0x2b0599[_0x188ecc(0x122)]],{'nextDocumentData':_0x2075b1,'nextResource':_0x3b2a7a,'cursorOffset':_0x13d09f};}function _0xe38112(_0x586b67,_0x90f39c){const _0x129081=_0x5190c3;var _0x41eab1;let _0x57f37c=_0x183152['Tools'][_0x129081(0x160)](_0x586b67),_0x4c1b78=_0x57f37c['body'];if(!_0x4c1b78)return _0x57f37c;let _0x44edb6=new Map(_0x90f39c[_0x129081(0x1b9)](_0x58e202=>[_0x58e202[_0x129081(0x122)],_0x58e202[_0x129081(0x15c)]])),_0x28a78a=((_0x41eab1=_0x4c1b78['customRanges'])==null?void 0x0:_0x41eab1[_0x129081(0x12b)](_0x6eac25=>_0x11642f(_0x6eac25)&&_0x44edb6[_0x129081(0x1dd)](_0x6eac25[_0x129081(0x122)]))[_0x129081(0x183)]((_0x24392d,_0x65dde9)=>_0x65dde9[_0x129081(0x12d)]-_0x24392d[_0x129081(0x12d)]))??[];for(let _0x675ff4 of _0x28a78a)_0x20e325(_0x57f37c,_0x675ff4[_0x129081(0x122)],_0x44edb6[_0x129081(0x1fa)](_0x675ff4['rangeId'])??'');return _0x57f37c;}function _0x11642f(_0x4b03ee){const _0x2e8191=_0x5190c3;var _0x6c992d;return(_0x4b03ee==null?void 0x0:_0x4b03ee[_0x2e8191(0x174)])===_0x183152[_0x2e8191(0x196)][_0x2e8191(0x19e)]&&_0x4b03ee[_0x2e8191(0x226)]===!0x0&&((_0x6c992d=_0x4b03ee[_0x2e8191(0xfd)])==null?void 0x0:_0x6c992d['kind'])===_0x2e8191(0x1fe);}function _0x5dd8f2(_0x3ccdf6,_0xb209d0){const _0x540640=_0x5190c3;var _0x55cd59;return _0x3ccdf6==null||(_0x55cd59=_0x3ccdf6[_0x540640(0x145)])==null?void 0x0:_0x55cd59[_0x540640(0x1f5)](_0x3ae608=>_0x3ae608[_0x540640(0x122)]===_0xb209d0&&_0x11642f(_0x3ae608));}function _0xb71898(_0x46af6d,_0x3f33ea,_0x1dfd02){const _0x5e3c81=_0x5190c3;if(_0x3f33ea===_0x1dfd02){if(_0x19820e[_0x5e3c81(0x1dd)](_0x46af6d[_0x5e3c81(0x229)][_0x3f33ea]))throw new _0x3c9e54();return;}for(let _0x48a630=_0x3f33ea;_0x48a630<_0x1dfd02;_0x48a630++)if(_0x46af6d[_0x5e3c81(0x229)][_0x48a630]===_0x183152['DataStreamTreeTokenType'][_0x5e3c81(0x1c5)]||_0x19820e[_0x5e3c81(0x1dd)](_0x46af6d[_0x5e3c81(0x229)][_0x48a630]))throw new _0x3c9e54();}function _0x1399ed(_0x29a9a3,_0x16b5a4){const _0x22db9b=_0x5190c3;return{'startIndex':_0x16b5a4,'endIndex':_0x16b5a4,'rangeId':_0x29a9a3,'rangeType':_0x183152['CustomRangeType'][_0x22db9b(0x19e)],'wholeEntity':!0x0,'properties':{'kind':_0x348d61}};}function _0x165397(_0x4d144b){const _0x450372=_0x5190c3;return _0x4d144b?_0x183152[_0x450372(0x128)][_0x450372(0x160)](_0x4d144b):_0x2d0395();}function _0x4b0bcb(_0x568ae6,_0x3e287f,_0x4371ea){const _0x1b0895=_0x5190c3;let _0x40599e=_0x3397e7(_0x568ae6),_0x44092a=_0x3e287f??_0x40599e,_0x2bb5fd=_0x4371ea??_0x44092a;return{'startOffset':_0x4207ec(Math[_0x1b0895(0x18b)](_0x44092a,_0x2bb5fd),_0x40599e),'endOffset':_0x4207ec(Math[_0x1b0895(0x165)](_0x44092a,_0x2bb5fd),_0x40599e)};}function _0x4207ec(_0x3342de,_0x437ad9){const _0x131ab4=_0x5190c3;return Math[_0x131ab4(0x165)](0x0,Math[_0x131ab4(0x18b)](_0x3342de,_0x437ad9));}function _0x3397e7(_0x3b4343){const _0x5795ff=_0x5190c3;return _0x3b4343[_0x5795ff(0x229)][_0x5795ff(0x1e6)](''+_0x183152['DataStreamTreeTokenType'][_0x5795ff(0x1c5)]+_0x183152[_0x5795ff(0x1de)][_0x5795ff(0x240)])?Math[_0x5795ff(0x165)](0x0,_0x3b4343[_0x5795ff(0x229)][_0x5795ff(0x1e2)]-0x2):_0x3b4343[_0x5795ff(0x229)]['endsWith'](_0x183152[_0x5795ff(0x1de)][_0x5795ff(0x240)])?Math[_0x5795ff(0x165)](0x0,_0x3b4343[_0x5795ff(0x229)][_0x5795ff(0x1e2)]-0x1):_0x3b4343['dataStream'][_0x5795ff(0x1e2)];}function _0x343636(_0x2afa95,_0x49be22,_0x40bdfd,_0x578aba){_0x40bdfd>_0x49be22&&_0x2b98d4(_0x2afa95,_0x49be22,_0x40bdfd),_0x249359(_0x2afa95,_0x49be22,_0x578aba);}function _0x20e325(_0x142908,_0x2ef9d5,_0x523539){const _0x520ce5=_0x5190c3;var _0x248a1d,_0x39ef1f;let _0x2b5f82=_0x3c7415(_0x142908),_0x1be49f=(_0x248a1d=_0x2b5f82[_0x520ce5(0x145)])==null?void 0x0:_0x248a1d[_0x520ce5(0x1f5)](_0xfa575e=>_0xfa575e[_0x520ce5(0x122)]===_0x2ef9d5&&_0x11642f(_0xfa575e));if(!_0x1be49f)return null;let _0x2514b4=(0x0,_0x183152['getCustomRangeInterval'])(_0x1be49f);return _0x343636(_0x2b5f82,_0x2514b4[_0x520ce5(0x17f)],_0x2514b4[_0x520ce5(0x10b)],_0x523539),_0x2b5f82[_0x520ce5(0x145)]=(_0x39ef1f=_0x2b5f82['customRanges'])==null?void 0x0:_0x39ef1f[_0x520ce5(0x12b)](_0x7200c6=>_0x7200c6[_0x520ce5(0x122)]!==_0x2ef9d5),_0x2514b4[_0x520ce5(0x17f)]+_0x523539['length'];}function _0x249359(_0x326316,_0x36f055,_0x2b3272){const _0x5f454d=_0x5190c3;_0x2b3272&&(_0x326316[_0x5f454d(0x229)]=''+_0x326316[_0x5f454d(0x229)]['slice'](0x0,_0x36f055)+_0x2b3272+_0x326316['dataStream'][_0x5f454d(0x1d9)](_0x36f055),_0x864a52(_0x326316,_0x36f055,_0x2b3272[_0x5f454d(0x1e2)]));}function _0x2b98d4(_0x2a21f,_0x1df60a,_0x3e4060){const _0xb85749=_0x5190c3;let _0x1c3d3c=_0x3e4060-_0x1df60a;_0x2a21f[_0xb85749(0x229)]=''+_0x2a21f['dataStream']['slice'](0x0,_0x1df60a)+_0x2a21f[_0xb85749(0x229)][_0xb85749(0x1d9)](_0x3e4060),_0x5317d6(_0x2a21f,_0x1df60a,_0x1c3d3c);}function _0x864a52(_0x2b2f49,_0x23e102,_0x5795f2){const _0x4b096f=_0x5190c3;_0x2b2f49[_0x4b096f(0x21a)]=_0x2ee326(_0x2b2f49['paragraphs'],_0x23e102,_0x5795f2),_0x2b2f49[_0x4b096f(0x177)]=_0x2ee326(_0x2b2f49[_0x4b096f(0x177)],_0x23e102,_0x5795f2),_0x2b2f49[_0x4b096f(0x1a2)]=_0x2ee326(_0x2b2f49[_0x4b096f(0x1a2)],_0x23e102,_0x5795f2),_0x2b2f49['textRuns']=_0x39c4a7(_0x2b2f49[_0x4b096f(0x14b)],_0x23e102,_0x5795f2),_0x2b2f49['tables']=_0x5347d9(_0x2b2f49[_0x4b096f(0x126)],_0x23e102,_0x5795f2),_0x2b2f49['columnGroups']=_0x217e9e(_0x2b2f49['columnGroups'],_0x23e102,_0x5795f2),_0x2b2f49[_0x4b096f(0x145)]=_0x217e9e(_0x2b2f49['customRanges'],_0x23e102,_0x5795f2),_0x2b2f49[_0x4b096f(0x1cc)]=_0x217e9e(_0x2b2f49[_0x4b096f(0x1cc)],_0x23e102,_0x5795f2),_0x2b2f49['blockRanges']=_0x217e9e(_0x2b2f49[_0x4b096f(0x1b6)],_0x23e102,_0x5795f2);}function _0x5317d6(_0x183075,_0x5bbb6a,_0x4db429){const _0x22f132=_0x5190c3;var _0x353101,_0x4bb5d7;_0x183075[_0x22f132(0x21a)]=_0x2868a0(_0x183075[_0x22f132(0x21a)],_0x5bbb6a,_0x4db429),_0x183075['sectionBreaks']=_0x2868a0(_0x183075['sectionBreaks'],_0x5bbb6a,_0x4db429),_0x183075[_0x22f132(0x1a2)]=_0x2868a0(_0x183075[_0x22f132(0x1a2)],_0x5bbb6a,_0x4db429),_0x183075['textRuns']=(_0x353101=_0x1a7aa9((_0x4bb5d7=_0x183075[_0x22f132(0x14b)])==null?void 0x0:_0x4bb5d7[_0x22f132(0x1b9)](_0x131c31=>({..._0x131c31,'startIndex':_0x131c31['st'],'endIndex':_0x131c31['ed']})),_0x5bbb6a,_0x4db429))==null?void 0x0:_0x353101[_0x22f132(0x1b9)](_0x3e7634=>{let {startIndex:_0x15d430,endIndex:_0x4bf208,..._0x41589e}=_0x3e7634;return{..._0x41589e,'st':_0x15d430,'ed':_0x4bf208};}),_0x183075[_0x22f132(0x126)]=_0x1a7aa9(_0x183075[_0x22f132(0x126)],_0x5bbb6a,_0x4db429),_0x183075[_0x22f132(0x13a)]=_0x4be033(_0x183075[_0x22f132(0x13a)],_0x5bbb6a,_0x4db429),_0x183075[_0x22f132(0x145)]=_0x4be033(_0x183075[_0x22f132(0x145)],_0x5bbb6a,_0x4db429),_0x183075[_0x22f132(0x1cc)]=_0x4be033(_0x183075[_0x22f132(0x1cc)],_0x5bbb6a,_0x4db429),_0x183075[_0x22f132(0x1b6)]=_0x4be033(_0x183075[_0x22f132(0x1b6)],_0x5bbb6a,_0x4db429);}function _0x2ee326(_0x45a071,_0x23c59e,_0x847fb){const _0x3d3fa3=_0x5190c3;return _0x45a071==null?void 0x0:_0x45a071[_0x3d3fa3(0x1b9)](_0x387c31=>_0x387c31[_0x3d3fa3(0x12d)]>=_0x23c59e?{..._0x387c31,'startIndex':_0x387c31['startIndex']+_0x847fb}:_0x387c31);}function _0x2868a0(_0x1f1274,_0x321d51,_0x2e31f1){const _0x408e2d=_0x5190c3;let _0x7ad7b9=_0x321d51+_0x2e31f1;return _0x1f1274==null?void 0x0:_0x1f1274[_0x408e2d(0x1b9)](_0x57f3d8=>_0x57f3d8[_0x408e2d(0x12d)]>=_0x321d51&&_0x57f3d8[_0x408e2d(0x12d)]<_0x7ad7b9?null:_0x57f3d8['startIndex']>=_0x7ad7b9?{..._0x57f3d8,'startIndex':_0x57f3d8['startIndex']-_0x2e31f1}:_0x57f3d8)[_0x408e2d(0x12b)](_0x1f6f5f=>_0x1f6f5f!=null);}function _0x39c4a7(_0x1cdac6,_0x36e928,_0x247b75){return _0x1cdac6==null?void 0x0:_0x1cdac6['map'](_0x7b776c=>_0x7b776c['st']>=_0x36e928?{..._0x7b776c,'st':_0x7b776c['st']+_0x247b75,'ed':_0x7b776c['ed']+_0x247b75}:_0x7b776c['ed']>_0x36e928?{..._0x7b776c,'ed':_0x7b776c['ed']+_0x247b75}:_0x7b776c);}function _0x217e9e(_0x10a6e0,_0x19624b,_0x21ac1b){const _0x139e1a=_0x5190c3;return _0x10a6e0==null?void 0x0:_0x10a6e0[_0x139e1a(0x1b9)](_0x59cb89=>(0x0,_0x183152['shiftInclusiveRangeOnInsert'])(_0x59cb89,_0x19624b,_0x21ac1b));}function _0x5347d9(_0x4c87ab,_0x42c2fd,_0x19a7dc){const _0x44b8ce=_0x5190c3;return _0x4c87ab==null?void 0x0:_0x4c87ab[_0x44b8ce(0x1b9)](_0x299612=>(0x0,_0x183152[_0x44b8ce(0x138)])(_0x299612,_0x42c2fd,_0x19a7dc));}function _0x4be033(_0x4749c1,_0x4114a9,_0x41115f){const _0x24474b=_0x5190c3;return _0x4749c1==null?void 0x0:_0x4749c1[_0x24474b(0x1b9)](_0x342c23=>(0x0,_0x183152['shiftInclusiveRangeOnDelete'])(_0x342c23,_0x4114a9,_0x41115f))[_0x24474b(0x12b)](_0x5f4a7f=>_0x5f4a7f!=null);}function _0x1a7aa9(_0x1290b6,_0x21121b,_0x35810f){const _0x14d7d6=_0x5190c3;return _0x1290b6==null?void 0x0:_0x1290b6[_0x14d7d6(0x1b9)](_0x4ebb9a=>(0x0,_0x183152[_0x14d7d6(0x159)])(_0x4ebb9a,_0x21121b,_0x35810f))[_0x14d7d6(0x12b)](_0x11c966=>_0x11c966!=null);}function _0x3c7415(_0x53173e){const _0x2a3c4f=_0x5190c3;if(!_0x53173e['body'])throw Error(_0x2a3c4f(0x17a));return _0x53173e[_0x2a3c4f(0x18a)];}function _0xf98fa8(_0x2abaf3){'@babel/helpers - typeof';const _0x1cadef=_0x5190c3;return _0xf98fa8=typeof Symbol=='function'&&typeof Symbol[_0x1cadef(0x144)]==_0x1cadef(0x1ba)?function(_0x2655c8){return typeof _0x2655c8;}:function(_0x3157fe){const _0x1214e5=_0x1cadef;return _0x3157fe&&typeof Symbol=='function'&&_0x3157fe[_0x1214e5(0x1c2)]===Symbol&&_0x3157fe!==Symbol[_0x1214e5(0x107)]?_0x1214e5(0x1ba):typeof _0x3157fe;},_0xf98fa8(_0x2abaf3);}function _0x1921c6(_0xfa79d4,_0x46f46b){const _0x58c890=_0x5190c3;if(_0xf98fa8(_0xfa79d4)!=_0x58c890(0x21f)||!_0xfa79d4)return _0xfa79d4;var _0x3ee981=_0xfa79d4[Symbol[_0x58c890(0x170)]];if(_0x3ee981!==void 0x0){var _0x20af67=_0x3ee981[_0x58c890(0x1ad)](_0xfa79d4,_0x46f46b||_0x58c890(0x244));if(_0xf98fa8(_0x20af67)!=_0x58c890(0x21f))return _0x20af67;throw TypeError(_0x58c890(0x180));}return(_0x46f46b===_0x58c890(0x13c)?String:Number)(_0xfa79d4);}function _0x3c7b7d(_0x3f5471){const _0xdd7e3b=_0x5190c3;var _0x2161d4=_0x1921c6(_0x3f5471,_0xdd7e3b(0x13c));return _0xf98fa8(_0x2161d4)==_0xdd7e3b(0x1ba)?_0x2161d4:_0x2161d4+'';}function _0x34651a(_0x5e6d78,_0x2d9f38,_0x12bc12){const _0x3f8901=_0x5190c3;return(_0x2d9f38=_0x3c7b7d(_0x2d9f38))in _0x5e6d78?Object[_0x3f8901(0x203)](_0x5e6d78,_0x2d9f38,{'value':_0x12bc12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5e6d78[_0x2d9f38]=_0x12bc12,_0x5e6d78;}var _0x11f2bf=class extends _0x183152[_0x5190c3(0x100)]{constructor(..._0x5dbe6d){const _0xcf2a7d=_0x5190c3;super(..._0x5dbe6d),_0x34651a(this,'_resources',new Map()),_0x34651a(this,_0xcf2a7d(0x12a),new Map()),_0x34651a(this,_0xcf2a7d(0x187),new Map()),_0x34651a(this,_0xcf2a7d(0x10d),new _0xb85794[(_0xcf2a7d(0x18f))]()),_0x34651a(this,_0xcf2a7d(0x127),this[_0xcf2a7d(0x10d)]['asObservable']());}[_0x5190c3(0x232)](_0x177c9e,_0x59cc9d){const _0x217ca6=_0x5190c3;var _0x588abb;let _0x2c6603=(_0x588abb=this[_0x217ca6(0x1f2)][_0x217ca6(0x1fa)](_0x177c9e))==null?void 0x0:_0x588abb['formulas'][_0x59cc9d];return _0x2c6603?_0x183152[_0x217ca6(0x128)][_0x217ca6(0x160)](_0x2c6603):void 0x0;}['getFormulas'](_0x5e898d){const _0x4fe1ce=_0x5190c3;var _0x23ad88;return _0x183152[_0x4fe1ce(0x128)][_0x4fe1ce(0x160)](((_0x23ad88=this[_0x4fe1ce(0x1f2)]['get'](_0x5e898d))==null?void 0x0:_0x23ad88['formulas'])??{});}[_0x5190c3(0x158)](_0x4b5609){const _0x421558=_0x5190c3;let _0x5c0877=this[_0x421558(0x1f2)]['get'](_0x4b5609);return _0x5c0877?_0x183152[_0x421558(0x128)][_0x421558(0x160)](_0x5c0877):void 0x0;}[_0x5190c3(0x22e)](_0x5ca471,_0x2e6a8b,_0xc97b96){const _0x4c6a91=_0x5190c3;return this[_0x4c6a91(0x1b5)](_0x5ca471,{[_0x2e6a8b]:_0xc97b96});}[_0x5190c3(0x16e)](_0x3c57c7,_0x355835){const _0x27bf9f=_0x5190c3;return this['_loadErrors'][_0x27bf9f(0x1dd)](_0x3c57c7)||!_0x48fcca(_0x355835)?!0x1:(this[_0x27bf9f(0x1f2)][_0x27bf9f(0x19f)](_0x3c57c7,_0x183152[_0x27bf9f(0x128)][_0x27bf9f(0x160)](_0x355835)),this[_0x27bf9f(0x10d)][_0x27bf9f(0x184)]({'unitId':_0x3c57c7}),!0x0);}[_0x5190c3(0x1b5)](_0x5d07e4,_0x16c8de){const _0x176b77=_0x5190c3;if(this[_0x176b77(0x187)][_0x176b77(0x1dd)](_0x5d07e4)||!Object[_0x176b77(0x13f)](_0x16c8de)[_0x176b77(0x1e2)]||!_0x48fcca({'schemaVersion':0x1,'formulas':_0x16c8de}))return!0x1;let _0x4c1eb5=this[_0x176b77(0x1f2)][_0x176b77(0x1fa)](_0x5d07e4)??_0x2d0395(),_0x31f848=_0x183152['Tools'][_0x176b77(0x160)](_0x4c1eb5);return Object['assign'](_0x31f848['formulas'],_0x183152[_0x176b77(0x128)]['deepClone'](_0x16c8de)),this[_0x176b77(0x1f2)][_0x176b77(0x19f)](_0x5d07e4,_0x31f848),this[_0x176b77(0x10d)][_0x176b77(0x184)]({'unitId':_0x5d07e4,'rangeIds':Object[_0x176b77(0x13f)](_0x16c8de)}),!0x0;}[_0x5190c3(0x230)](_0x3a0e8c,_0x2d64a8){const _0x21035a=_0x5190c3;if(this[_0x21035a(0x187)]['has'](_0x3a0e8c))return!0x1;let _0x34fca6=this['_resources'][_0x21035a(0x1fa)](_0x3a0e8c);if(!(_0x34fca6!=null&&_0x34fca6['formulas'][_0x2d64a8]))return!0x1;let _0x33a0e1=_0x183152[_0x21035a(0x128)]['deepClone'](_0x34fca6);return delete _0x33a0e1[_0x21035a(0x231)][_0x2d64a8],this['_resources'][_0x21035a(0x19f)](_0x3a0e8c,_0x33a0e1),this['_change$']['next']({'unitId':_0x3a0e8c,'rangeIds':[_0x2d64a8]}),!0x0;}[_0x5190c3(0x118)](_0x516e8d,_0x42dd10){const _0x2a9c7d=_0x5190c3;return _0x42dd10&&typeof _0x42dd10==_0x2a9c7d(0x21f)&&'schemaVersion'in _0x42dd10&&_0x42dd10['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x516e8d,_0x42dd10,_0x2a9c7d(0x1d4)),!0x1):_0x48fcca(_0x42dd10)?(this[_0x2a9c7d(0x1f2)]['set'](_0x516e8d,_0x183152[_0x2a9c7d(0x128)][_0x2a9c7d(0x160)](_0x42dd10)),this[_0x2a9c7d(0x12a)][_0x2a9c7d(0x186)](_0x516e8d),this[_0x2a9c7d(0x187)][_0x2a9c7d(0x186)](_0x516e8d),this[_0x2a9c7d(0x10d)]['next']({'unitId':_0x516e8d}),!0x0):(this[_0x2a9c7d(0x106)](_0x516e8d,_0x42dd10,_0x2a9c7d(0x1d3)),!0x1);}[_0x5190c3(0x23d)](_0x43557b){const _0x16765b=_0x5190c3;let _0x1b177c=this[_0x16765b(0x1f2)]['get'](_0x43557b);return _0x1b177c?_0x183152[_0x16765b(0x128)][_0x16765b(0x160)](_0x1b177c):this[_0x16765b(0x12a)]['has'](_0x43557b)?_0x183152['Tools'][_0x16765b(0x160)](this[_0x16765b(0x12a)][_0x16765b(0x1fa)](_0x43557b)):_0x2d0395();}[_0x5190c3(0x16f)](_0xd154a1){const _0x3cffc7=_0x5190c3;return this[_0x3cffc7(0x187)][_0x3cffc7(0x1fa)](_0xd154a1);}[_0x5190c3(0x1a1)](_0x48568e){const _0x530628=_0x5190c3;this[_0x530628(0x1f2)][_0x530628(0x186)](_0x48568e),this[_0x530628(0x12a)][_0x530628(0x186)](_0x48568e),this[_0x530628(0x187)][_0x530628(0x186)](_0x48568e),this['_change$'][_0x530628(0x184)]({'unitId':_0x48568e});}['dispose'](){const _0xd5fa83=_0x5190c3;this[_0xd5fa83(0x1f2)][_0xd5fa83(0x22f)](),this['_rawResources'][_0xd5fa83(0x22f)](),this[_0xd5fa83(0x187)][_0xd5fa83(0x22f)](),this['_change$'][_0xd5fa83(0x1c8)](),super[_0xd5fa83(0x11b)]();}[_0x5190c3(0x106)](_0x5b609c,_0x49f5d8,_0x15aae8){const _0x16d528=_0x5190c3;this['_resources']['delete'](_0x5b609c),this[_0x16d528(0x12a)][_0x16d528(0x19f)](_0x5b609c,_0x183152['Tools'][_0x16d528(0x160)](_0x49f5d8)),this[_0x16d528(0x187)]['set'](_0x5b609c,_0x15aae8),this[_0x16d528(0x10d)][_0x16d528(0x184)]({'unitId':_0x5b609c});}};let _0x2940b2=function(_0x30ad13){const _0x33c1ca=_0x5190c3;return _0x30ad13[_0x33c1ca(0x1e4)]='empty',_0x30ad13['PENDING']='pending',_0x30ad13[_0x33c1ca(0x11e)]='success',_0x30ad13[_0x33c1ca(0x1e8)]='error',_0x30ad13;}({});function _0x500cc3(_0x769908,_0x4c35b5){return function(_0x29b7b7,_0x27e78e){_0x4c35b5(_0x29b7b7,_0x27e78e,_0x769908);};}function _0x299920(_0x338ced,_0x326c86,_0x3ab65a,_0x495e53){const _0x38438d=_0x5190c3;var _0x4bff50=arguments[_0x38438d(0x1e2)],_0x49661=_0x4bff50<0x3?_0x326c86:_0x495e53===null?_0x495e53=Object[_0x38438d(0x225)](_0x326c86,_0x3ab65a):_0x495e53,_0x3034c9;if(typeof Reflect==_0x38438d(0x21f)&&typeof Reflect['decorate']==_0x38438d(0x1d8))_0x49661=Reflect[_0x38438d(0x206)](_0x338ced,_0x326c86,_0x3ab65a,_0x495e53);else{for(var _0x27d534=_0x338ced[_0x38438d(0x1e2)]-0x1;_0x27d534>=0x0;_0x27d534--)(_0x3034c9=_0x338ced[_0x27d534])&&(_0x49661=(_0x4bff50<0x3?_0x3034c9(_0x49661):_0x4bff50>0x3?_0x3034c9(_0x326c86,_0x3ab65a,_0x49661):_0x3034c9(_0x326c86,_0x3ab65a))||_0x49661);}return _0x4bff50>0x3&&_0x49661&&Object['defineProperty'](_0x326c86,_0x3ab65a,_0x49661),_0x49661;}let _0x2b3eec=class extends _0x183152[_0x5190c3(0x100)]{constructor(_0x10aedb,_0x159ea5,_0x13117b){const _0x48d237=_0x5190c3;super(),this[_0x48d237(0xff)]=_0x10aedb,this[_0x48d237(0x112)]=_0x159ea5,this[_0x48d237(0x1f9)]=_0x13117b,_0x34651a(this,_0x48d237(0x227),new Map()),_0x34651a(this,_0x48d237(0x13d),new Map()),_0x34651a(this,'_presentationChanged$',new _0xb85794[(_0x48d237(0x18f))]()),_0x34651a(this,'presentationChanged$',this[_0x48d237(0x18d)]['asObservable']()),this['disposeWithMe'](this['_registrationService'][_0x48d237(0x1fc)][_0x48d237(0x175)](_0x2cd366=>{const _0x2d9b9d=_0x48d237;for(let _0x51a8e4 of Object[_0x2d9b9d(0x148)](_0x2cd366))for(let _0xf95961 of Object[_0x2d9b9d(0x148)](_0x51a8e4))_0xf95961[_0x2d9b9d(0x172)](_0x4f1604=>this[_0x2d9b9d(0x1f8)](_0x4f1604));}));}['syncUnit'](_0x4717d7){const _0x1b5ef4=_0x5190c3;var _0x25c8bd;let _0x3da86e=_0x4717d7['getUnitId'](),_0x1cc6fe=((_0x25c8bd=_0x4717d7[_0x1b5ef4(0x1fd)]()[_0x1b5ef4(0x18a)])==null||(_0x25c8bd=_0x25c8bd[_0x1b5ef4(0x145)])==null?void 0x0:_0x25c8bd['filter'](_0x11642f))??[],_0xf04da4=this['_model'][_0x1b5ef4(0x201)](_0x3da86e),_0x3b26b9=new Set();for(let _0x432da9 of _0x1cc6fe){let _0xb040f1=_0xf04da4[_0x432da9['rangeId']];_0xb040f1&&(_0x3b26b9[_0x1b5ef4(0x176)](_0x3adbeb(_0x3da86e,_0x432da9[_0x1b5ef4(0x122)])),this[_0x1b5ef4(0x1ee)]({'unitId':_0x3da86e,'rangeId':_0x432da9[_0x1b5ef4(0x122)]},_0xb040f1));}for(let _0x1d30aa of Array[_0x1b5ef4(0x16a)](this['_registrations'][_0x1b5ef4(0x148)]()))_0x1d30aa[_0x1b5ef4(0x15a)]===_0x3da86e&&!_0x3b26b9['has'](_0x3adbeb(_0x1d30aa[_0x1b5ef4(0x15a)],_0x1d30aa[_0x1b5ef4(0x122)]))&&this['unregister'](_0x1d30aa);}['register'](_0x7120d0,_0x71595d){const _0x35427d=_0x5190c3;let _0x41d963=_0x3adbeb(_0x7120d0[_0x35427d(0x15a)],_0x7120d0[_0x35427d(0x122)]),_0x34d78e=this[_0x35427d(0x227)][_0x35427d(0x1fa)](_0x41d963),_0x24dfe8=this[_0x35427d(0x1f9)][_0x35427d(0x139)](_0x7120d0[_0x35427d(0x15a)]);if(_0x34d78e&&_0x34d78e[_0x35427d(0x1cb)][_0x35427d(0x239)]===_0x71595d[_0x35427d(0x239)]&&_0x34d78e[_0x35427d(0x241)]===_0x24dfe8){_0x34d78e[_0x35427d(0x1cb)]=_0x71595d;let _0x28250c=_0x34d78e['formulaId']?this[_0x35427d(0x112)][_0x35427d(0x1eb)](_0x34d78e[_0x35427d(0x15a)],_0x34d78e[_0x35427d(0x15a)],_0x34d78e[_0x35427d(0x210)])??void 0x0:void 0x0;_0x34d78e[_0x35427d(0x1e5)]=_0x28250c,this[_0x35427d(0x1a0)](_0x41d963,_0x453e00(_0x71595d,_0x28250c));return;}_0x34d78e!=null&&_0x34d78e[_0x35427d(0x210)]&&this[_0x35427d(0x19a)](_0x34d78e);let _0x45285b={..._0x7120d0,'config':_0x71595d,'referenceRevision':_0x24dfe8,'presentation':_0x453e00(_0x71595d,void 0x0)};if(this[_0x35427d(0x227)][_0x35427d(0x19f)](_0x41d963,_0x45285b),!_0x71595d[_0x35427d(0x239)][_0x35427d(0x14c)]())return;let _0x3e68c0=this[_0x35427d(0x112)][_0x35427d(0x15d)](_0x7120d0[_0x35427d(0x15a)],_0x7120d0[_0x35427d(0x15a)],_0x71595d[_0x35427d(0x239)],void 0x0,{'rangeId':_0x7120d0[_0x35427d(0x122)]},_0x56a765[_0x35427d(0x17b)][_0x35427d(0x1bb)],_0x7120d0[_0x35427d(0x122)]);_0x45285b[_0x35427d(0x210)]=_0x3e68c0,this['_formulaKeys']['set'](_0x3e68c0,_0x41d963);}[_0x5190c3(0x1ff)](_0x31ddf0){const _0x48cd07=_0x5190c3;let _0x388649=_0x3adbeb(_0x31ddf0[_0x48cd07(0x15a)],_0x31ddf0[_0x48cd07(0x122)]),_0x175774=this[_0x48cd07(0x227)][_0x48cd07(0x1fa)](_0x388649);_0x175774&&(this[_0x48cd07(0x19a)](_0x175774),this['_registrations'][_0x48cd07(0x186)](_0x388649));}[_0x5190c3(0x1ce)](_0x4cf8ca){const _0x35b84e=_0x5190c3;for(let _0x4d5dbf of Array[_0x35b84e(0x16a)](this[_0x35b84e(0x227)][_0x35b84e(0x148)]()))_0x4d5dbf[_0x35b84e(0x15a)]===_0x4cf8ca&&this['unregister'](_0x4d5dbf);}[_0x5190c3(0x1af)](_0x623311){const _0x18f4cf=_0x5190c3;var _0x11b536;return(_0x11b536=this[_0x18f4cf(0x227)][_0x18f4cf(0x1fa)](_0x3adbeb(_0x623311[_0x18f4cf(0x15a)],_0x623311[_0x18f4cf(0x122)])))==null?void 0x0:_0x11b536[_0x18f4cf(0x216)];}[_0x5190c3(0x14d)](_0x411b92){const _0x4ebd96=_0x5190c3;let _0x547b1e=this[_0x4ebd96(0x227)][_0x4ebd96(0x1fa)](_0x3adbeb(_0x411b92[_0x4ebd96(0x15a)],_0x411b92['rangeId']));return _0x547b1e?_0x1523e8(_0x547b1e):void 0x0;}[_0x5190c3(0x207)](){const _0x49bebe=_0x5190c3;return Array[_0x49bebe(0x16a)](this[_0x49bebe(0x227)][_0x49bebe(0x148)](),_0x386fa3=>({'identity':{'unitId':_0x386fa3[_0x49bebe(0x15a)],'rangeId':_0x386fa3[_0x49bebe(0x122)]},'config':_0x386fa3[_0x49bebe(0x1cb)],'referenceRevision':_0x386fa3[_0x49bebe(0x241)],..._0x386fa3['liveResult']?{'liveResult':_0x386fa3[_0x49bebe(0x1e5)]}:null}));}['dispose'](){const _0x408342=_0x5190c3;for(let _0x1eb781 of this['_registrations']['values']())this[_0x408342(0x19a)](_0x1eb781);this[_0x408342(0x227)][_0x408342(0x22f)](),this['_formulaKeys'][_0x408342(0x22f)](),this[_0x408342(0x18d)][_0x408342(0x1c8)](),super[_0x408342(0x11b)]();}['_updateFormulaResult'](_0x512b50){const _0x3f1e52=_0x5190c3;let _0x128c5b=this[_0x3f1e52(0x13d)][_0x3f1e52(0x1fa)](_0x512b50[_0x3f1e52(0x210)]),_0x444125=_0x128c5b?this[_0x3f1e52(0x227)][_0x3f1e52(0x1fa)](_0x128c5b):void 0x0;!_0x128c5b||!_0x444125||(_0x444125[_0x3f1e52(0x1e5)]=_0x512b50,this[_0x3f1e52(0x1a0)](_0x128c5b,_0x453e00(_0x444125['config'],_0x512b50)));}[_0x5190c3(0x1a0)](_0x24aeab,_0x549e27){const _0x132f6b=_0x5190c3;var _0x5d87b4,_0x708bf0;let _0x2687bb=this[_0x132f6b(0x227)]['get'](_0x24aeab);if(!_0x2687bb||_0x27f9b4(_0x2687bb['presentation'],_0x549e27))return;let _0x2aa42c=_0x2687bb['presentation'],_0x21c8be=_0x1523e8(_0x2687bb);_0x2687bb[_0x132f6b(0x216)]=_0x549e27,this[_0x132f6b(0x18d)][_0x132f6b(0x184)]({'unitId':_0x2687bb[_0x132f6b(0x15a)],'rangeId':_0x2687bb[_0x132f6b(0x122)],'presentation':_0x549e27,'previousPresentation':_0x2aa42c,'result':_0x1523e8(_0x2687bb),'previousResult':{..._0x21c8be,..._0x2aa42c,'value':(_0x5d87b4=_0x2aa42c[_0x132f6b(0x110)])==null?void 0x0:_0x5d87b4['v'],'valueType':((_0x708bf0=_0x2aa42c[_0x132f6b(0x110)])==null?void 0x0:_0x708bf0['t'])??void 0x0}});}[_0x5190c3(0x19a)](_0x1c345c){const _0x3494d3=_0x5190c3;_0x1c345c[_0x3494d3(0x210)]&&(this['_registrationService'][_0x3494d3(0x149)](_0x1c345c[_0x3494d3(0x15a)],_0x1c345c[_0x3494d3(0x15a)],[_0x1c345c[_0x3494d3(0x210)]]),this[_0x3494d3(0x13d)][_0x3494d3(0x186)](_0x1c345c[_0x3494d3(0x210)]));}};_0x2b3eec=_0x299920([_0x500cc3(0x0,(0x0,_0x183152['Inject'])(_0x11f2bf)),_0x500cc3(0x1,(0x0,_0x183152['Inject'])(_0x56a765['RegisterOtherFormulaService'])),_0x500cc3(0x2,(0x0,_0x183152[_0x5190c3(0x208)])(_0x49a424[_0x5190c3(0x209)]))],_0x2b3eec);function _0x3adbeb(_0x560ee0,_0x31075e){return _0x560ee0+'\x00'+_0x31075e;}function _0x453e00(_0x113b27,_0x93b8f){const _0x5076d0=_0x5190c3;return(0x0,_0x49a424[_0x5076d0(0x1be)])({'numberFormat':_0x113b27['numberFormat'],'lastValue':_0x113b27['lastValue'],'result':_0x93b8f});}function _0x1523e8(_0x599688){const _0x562c69=_0x5190c3;var _0x219f3b,_0x3714a5,_0x7eb281;let _0x27139a=_0x599688[_0x562c69(0x216)],_0x15ffa3=_0x599688['config'][_0x562c69(0x239)][_0x562c69(0x14c)]()?_0x27139a[_0x562c69(0x1ed)]||_0x27139a['cell']==null?_0x562c69(0x1c9):((_0x219f3b=_0x599688['liveResult'])==null?void 0x0:_0x219f3b[_0x562c69(0x12e)])===_0x56a765[_0x562c69(0x204)][_0x562c69(0x1e8)]?_0x562c69(0x1e0):'success':_0x562c69(0x182);return{..._0x27139a,'status':_0x15ffa3,'value':(_0x3714a5=_0x27139a[_0x562c69(0x110)])==null?void 0x0:_0x3714a5['v'],'valueType':((_0x7eb281=_0x27139a[_0x562c69(0x110)])==null?void 0x0:_0x7eb281['t'])??void 0x0};}function _0x27f9b4(_0x59a7ea,_0x46cad2){const _0x205637=_0x5190c3;var _0x15c7de,_0x42b7dd,_0x82655,_0x48908f;return _0x59a7ea[_0x205637(0x15c)]===_0x46cad2[_0x205637(0x15c)]&&_0x59a7ea['color']===_0x46cad2[_0x205637(0x15f)]&&_0x59a7ea[_0x205637(0x1c4)]===_0x46cad2[_0x205637(0x1c4)]&&_0x59a7ea[_0x205637(0x157)]===_0x46cad2[_0x205637(0x157)]&&_0x59a7ea['stale']===_0x46cad2['stale']&&((_0x15c7de=_0x59a7ea['cell'])==null?void 0x0:_0x15c7de['t'])===((_0x42b7dd=_0x46cad2[_0x205637(0x110)])==null?void 0x0:_0x42b7dd['t'])&&Object['is']((_0x82655=_0x59a7ea[_0x205637(0x110)])==null?void 0x0:_0x82655['v'],(_0x48908f=_0x46cad2[_0x205637(0x110)])==null?void 0x0:_0x48908f['v']);}let _0x33e542={'id':_0x5190c3(0x1a7),'type':_0x183152['CommandType']['MUTATION'],'handler':(_0x51a813,_0x53dd4c)=>!(_0x53dd4c!=null&&_0x53dd4c[_0x5190c3(0x15a)])||!_0x53dd4c[_0x5190c3(0x122)]||!_0x53dd4c[_0x5190c3(0x1cb)]?!0x1:_0x51a813[_0x5190c3(0x1fa)](_0x11f2bf)['setFormula'](_0x53dd4c[_0x5190c3(0x15a)],_0x53dd4c['rangeId'],_0x53dd4c[_0x5190c3(0x1cb)])},_0x33280a={'id':_0x5190c3(0x20f),'type':_0x183152[_0x5190c3(0x1d0)][_0x5190c3(0x198)],'handler':(_0x5f9de2,_0x175ecc)=>!(_0x175ecc!=null&&_0x175ecc[_0x5190c3(0x15a)])||!_0x175ecc['rangeId']?!0x1:_0x5f9de2[_0x5190c3(0x1fa)](_0x11f2bf)[_0x5190c3(0x230)](_0x175ecc['unitId'],_0x175ecc[_0x5190c3(0x122)])},_0x49adcc={'id':_0x5190c3(0x143),'type':_0x183152[_0x5190c3(0x1d0)]['MUTATION'],'handler':(_0xfce073,_0x4cd5bd)=>!(_0x4cd5bd!=null&&_0x4cd5bd['unitId'])||!_0x4cd5bd[_0x5190c3(0x23f)]?!0x1:_0xfce073['get'](_0x11f2bf)[_0x5190c3(0x16e)](_0x4cd5bd['unitId'],_0x4cd5bd[_0x5190c3(0x23f)])},_0x2a4ae2={'id':_0x5190c3(0x134),'type':_0x183152['CommandType'][_0x5190c3(0x198)],'handler':(_0x28819e,_0x296b60)=>{const _0x154bb3=_0x5190c3;if(!(_0x296b60!=null&&_0x296b60['unitId'])||!_0x296b60[_0x154bb3(0x211)][_0x154bb3(0x1e2)])return!0x1;let _0x5ccbc4=_0x28819e[_0x154bb3(0x1fa)](_0x11f2bf),_0xf45a74=_0x28819e[_0x154bb3(0x1fa)](_0x49a424['HostExternalReferenceModel']),_0x4461dd=_0x5ccbc4[_0x154bb3(0x158)](_0x296b60['unitId']);if(!_0x4461dd)return!0x1;let _0x22e881=_0x183152[_0x154bb3(0x128)]['deepClone'](_0x4461dd),_0x21fd9f=!0x1;for(let _0x142eae of _0x296b60[_0x154bb3(0x211)]){var _0x1a5911,_0x37b736,_0x388215,_0x24ffeb;let _0x5beae6=_0x22e881[_0x154bb3(0x231)][_0x142eae[_0x154bb3(0x122)]];!_0x5beae6||_0x5beae6[_0x154bb3(0x239)]!==_0x142eae['expectedFormula']||((_0x1a5911=_0x5beae6[_0x154bb3(0x190)])==null?void 0x0:_0x1a5911[_0x154bb3(0x1c4)])!==_0x142eae[_0x154bb3(0x17c)]||_0xf45a74[_0x154bb3(0x139)](_0x296b60['unitId'])!==_0x142eae[_0x154bb3(0x167)]||(((_0x37b736=_0x5beae6[_0x154bb3(0x1b1)])==null?void 0x0:_0x37b736['v'])!==_0x142eae['lastValue']['v']||((_0x388215=_0x5beae6[_0x154bb3(0x1b1)])==null?void 0x0:_0x388215['t'])!==_0x142eae[_0x154bb3(0x1b1)]['t']||((_0x24ffeb=_0x5beae6[_0x154bb3(0x1b1)])==null?void 0x0:_0x24ffeb[_0x154bb3(0x1c4)])!==_0x142eae['lastValue'][_0x154bb3(0x1c4)])&&(_0x5beae6[_0x154bb3(0x1b1)]=_0x183152[_0x154bb3(0x128)][_0x154bb3(0x160)](_0x142eae[_0x154bb3(0x1b1)]),_0x21fd9f=!0x0);}return!_0x21fd9f||_0x5ccbc4[_0x154bb3(0x16e)](_0x296b60['unitId'],_0x22e881);}},_0x381968={'id':_0x5190c3(0x195),'type':_0x183152[_0x5190c3(0x1d0)][_0x5190c3(0x102)],'handler':(_0x446a41,_0x34d706)=>{const _0x3f9efc=_0x5190c3;if(!(_0x34d706!=null&&_0x34d706[_0x3f9efc(0x239)][_0x3f9efc(0x14c)]()))return!0x1;let _0x32ab8d=_0x3548cd(_0x446a41,_0x34d706[_0x3f9efc(0x15a)],'');if(!_0x32ab8d)return!0x1;let _0x23846a=_0x239404(_0x34d706[_0x3f9efc(0x245)],_0x32ab8d[_0x3f9efc(0x18a)],_0x4a4592(_0x446a41,_0x32ab8d[_0x3f9efc(0x15a)]));if(!_0x23846a)return!0x1;let _0x52e465=_0x5acbc5(_0x446a41,_0x32ab8d[_0x3f9efc(0x15a)],_0x34d706[_0x3f9efc(0x239)],_0x34d706['externalReferences']??[]);if(!_0x52e465)return!0x1;let _0x3e70b6=_0x58b27b(_0x32ab8d[_0x3f9efc(0x18a)],_0x32ab8d[_0x3f9efc(0x1b8)],_0x32ab8d[_0x3f9efc(0x15a)]),_0x55e8e0=_0x4d6e72({'documentData':_0x32ab8d['documentData'],'resource':_0x32ab8d['resource'],'rangeId':_0x3e70b6,'config':{'formula':_0x34d706[_0x3f9efc(0x239)],..._0x34d706[_0x3f9efc(0x190)]?{'numberFormat':_0x34d706[_0x3f9efc(0x190)]}:null},'startOffset':_0x23846a[_0x3f9efc(0x17f)],'endOffset':_0x23846a[_0x3f9efc(0x10b)]});if(!_0x55e8e0)return!0x1;let _0x9c1788=(0x0,_0x49a424[_0x3f9efc(0x123)])(_0x446a41,_0x32ab8d[_0x3f9efc(0x15a)],_0x52e465);return!_0x9c1788||!_0x51ad31({'accessor':_0x446a41,'document':_0x32ab8d[_0x3f9efc(0x173)],'unitId':_0x32ab8d[_0x3f9efc(0x15a)],'trigger':_0x381968['id'],'rangeId':_0x3e70b6,'previousResource':_0x32ab8d[_0x3f9efc(0x23f)],'nextResource':_0x55e8e0[_0x3f9efc(0x1e7)],'previousDocumentData':_0x32ab8d['documentData'],'nextDocumentData':_0x55e8e0[_0x3f9efc(0x154)],'cursorOffset':_0x55e8e0[_0x3f9efc(0x1ac)],'externalMutations':_0x9c1788})?!0x1:{'rangeId':_0x3e70b6,'startOffset':_0x55e8e0[_0x3f9efc(0x1ac)]-0x1,'endOffset':_0x55e8e0[_0x3f9efc(0x1ac)]};}},_0x191887={'id':_0x5190c3(0x1ea),'type':_0x183152['CommandType'][_0x5190c3(0x102)],'handler':(_0x4149c1,_0x29abb3)=>{const _0x30364f=_0x5190c3;if(!(_0x29abb3!=null&&_0x29abb3['rangeId'])||!_0x29abb3[_0x30364f(0x239)]['trim']())return!0x1;let _0xe1d625=_0x3548cd(_0x4149c1,_0x29abb3[_0x30364f(0x15a)],''),_0x2ae640=_0xe1d625==null?void 0x0:_0xe1d625['model'][_0x30364f(0x232)](_0xe1d625[_0x30364f(0x15a)],_0x29abb3[_0x30364f(0x122)]),_0x352a13=_0xe1d625?_0x5dd8f2(_0xe1d625[_0x30364f(0x222)][_0x30364f(0x18a)],_0x29abb3['rangeId']):void 0x0;if(!_0xe1d625||!_0x2ae640||!_0x352a13)return!0x1;let _0x5e848c=_0x5acbc5(_0x4149c1,_0xe1d625[_0x30364f(0x15a)],_0x29abb3[_0x30364f(0x239)],_0x29abb3[_0x30364f(0x164)]??[]);if(!_0x5e848c)return!0x1;let _0x6064bd=(0x0,_0x49a424[_0x30364f(0x123)])(_0x4149c1,_0xe1d625[_0x30364f(0x15a)],_0x5e848c);if(!_0x6064bd)return!0x1;let _0xc054f9=_0x28b943(_0xe1d625['resource']);return _0xc054f9[_0x30364f(0x231)][_0x29abb3[_0x30364f(0x122)]]={'formula':_0x29abb3['formula'],..._0x29abb3['numberFormat']?{'numberFormat':_0x29abb3[_0x30364f(0x190)]}:_0x2ae640[_0x30364f(0x190)]?{'numberFormat':_0x2ae640[_0x30364f(0x190)]}:null},_0x51ad31({'accessor':_0x4149c1,'document':_0xe1d625[_0x30364f(0x173)],'unitId':_0xe1d625[_0x30364f(0x15a)],'trigger':_0x191887['id'],'rangeId':_0x29abb3[_0x30364f(0x122)],'previousResource':_0xe1d625[_0x30364f(0x23f)],'nextResource':_0xc054f9,'cursorOffset':_0x352a13[_0x30364f(0x17e)]+0x1,'externalMutations':_0x6064bd});}},_0x5e200b={'id':_0x5190c3(0x1fb),'type':_0x183152['CommandType'][_0x5190c3(0x102)],'handler':(_0x52687e,_0xf08c8e)=>{const _0x302189=_0x5190c3;if(!(_0xf08c8e!=null&&_0xf08c8e[_0x302189(0x122)]))return!0x1;let _0x17a1f8=_0x3548cd(_0x52687e,_0xf08c8e['unitId'],''),_0x1cb3ee=_0x17a1f8==null?void 0x0:_0x17a1f8[_0x302189(0x1b8)]['getFormula'](_0x17a1f8[_0x302189(0x15a)],_0xf08c8e[_0x302189(0x122)]),_0x57e2cd=_0x17a1f8?_0x5dd8f2(_0x17a1f8[_0x302189(0x222)][_0x302189(0x18a)],_0xf08c8e[_0x302189(0x122)]):void 0x0;if(!_0x17a1f8||!_0x1cb3ee||!_0x57e2cd)return!0x1;let _0x2223b8=_0x28b943(_0x17a1f8[_0x302189(0x23f)]);return _0x2223b8[_0x302189(0x231)][_0xf08c8e[_0x302189(0x122)]]={..._0x1cb3ee,..._0xf08c8e[_0x302189(0x190)]?{'numberFormat':_0xf08c8e[_0x302189(0x190)]}:null},_0xf08c8e['numberFormat']||delete _0x2223b8[_0x302189(0x231)][_0xf08c8e['rangeId']][_0x302189(0x190)],_0x51ad31({'accessor':_0x52687e,'document':_0x17a1f8[_0x302189(0x173)],'unitId':_0x17a1f8[_0x302189(0x15a)],'trigger':_0x5e200b['id'],'rangeId':_0xf08c8e[_0x302189(0x122)],'previousResource':_0x17a1f8[_0x302189(0x23f)],'nextResource':_0x2223b8,'cursorOffset':_0x57e2cd[_0x302189(0x17e)]+0x1,'externalMutations':{}});}},_0x591a56={'id':_0x5190c3(0x200),'type':_0x183152[_0x5190c3(0x1d0)][_0x5190c3(0x102)],'handler':(_0x203eaf,_0x2889e6)=>_0x54e9b3(_0x203eaf,_0x2889e6,'',_0x591a56['id'])},_0x58cd44={'id':_0x5190c3(0x1aa),'type':_0x183152[_0x5190c3(0x1d0)][_0x5190c3(0x102)],'handler':(_0x4d2376,_0x353063)=>_0x54e9b3(_0x4d2376,_0x353063,(_0x353063==null?void 0x0:_0x353063[_0x5190c3(0x15c)])??'',_0x58cd44['id'])},_0xd2841f={'id':_0x5190c3(0x1f0),'type':_0x183152[_0x5190c3(0x1d0)][_0x5190c3(0x102)],'handler':(_0x3b0ae1,_0x3577f9)=>{const _0x2e9923=_0x5190c3;if(!(_0x3577f9!=null&&_0x3577f9[_0x2e9923(0x122)]))return!0x1;let _0x284034=_0x3548cd(_0x3b0ae1,_0x3577f9[_0x2e9923(0x15a)],'');if(!_0x284034)return!0x1;let _0x1eb70c=_0x3b0ae1[_0x2e9923(0x1fa)](_0x2b3eec)[_0x2e9923(0x14d)]({'unitId':_0x284034[_0x2e9923(0x15a)],'rangeId':_0x3577f9[_0x2e9923(0x122)]});return _0x1eb70c?_0x54e9b3(_0x3b0ae1,_0x3577f9,_0x1eb70c['text'],_0xd2841f['id']):!0x1;}};function _0x54e9b3(_0x3e6371,_0x5d3420,_0x363a7d,_0xf43d74){const _0x5449f1=_0x5190c3;if(!(_0x5d3420!=null&&_0x5d3420[_0x5449f1(0x122)]))return!0x1;let _0x181aa4=_0x3548cd(_0x3e6371,_0x5d3420[_0x5449f1(0x15a)],'');if(!_0x181aa4)return!0x1;let _0x30fcaf=_0x580626({'documentData':_0x181aa4[_0x5449f1(0x222)],'resource':_0x181aa4['resource'],'rangeId':_0x5d3420['rangeId'],'text':_0x363a7d});return _0x30fcaf?_0x51ad31({'accessor':_0x3e6371,'document':_0x181aa4['document'],'unitId':_0x181aa4['unitId'],'trigger':_0xf43d74,'rangeId':_0x5d3420[_0x5449f1(0x122)],'previousResource':_0x181aa4[_0x5449f1(0x23f)],'nextResource':_0x30fcaf[_0x5449f1(0x1e7)],'previousDocumentData':_0x181aa4[_0x5449f1(0x222)],'nextDocumentData':_0x30fcaf['nextDocumentData'],'cursorOffset':_0x30fcaf['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x3548cd(_0x2f569b,_0x323cfa,_0x965cd2){const _0x47534=_0x5190c3;if(_0x965cd2)return null;let _0x2d5e34=_0x2f569b['get'](_0x183152[_0x47534(0x1da)]),_0x5126e8=(_0x323cfa?_0x2d5e34[_0x47534(0x191)](_0x323cfa,_0x183152[_0x47534(0x10a)][_0x47534(0x1b2)]):_0x2d5e34['getCurrentUnitOfType'](_0x183152[_0x47534(0x10a)][_0x47534(0x1b2)]))??null;if(!_0x5126e8)return null;let _0x156e5c=_0x5126e8[_0x47534(0x1fd)](),_0x37f5e0=_0x156e5c[_0x47534(0x18a)];if(_0x156e5c[_0x47534(0x113)]||!_0x37f5e0)return null;let _0x39f225=_0x2f569b[_0x47534(0x1fa)](_0x11f2bf);return _0x39f225[_0x47534(0x16f)](_0x5126e8[_0x47534(0x21e)]())?null:{'document':_0x5126e8,'body':_0x37f5e0,'documentData':_0x156e5c,'model':_0x39f225,'resource':_0x39f225[_0x47534(0x158)](_0x5126e8[_0x47534(0x21e)]())??_0x2d0395(),'unitId':_0x5126e8[_0x47534(0x21e)]()};}function _0x4a4592(_0x2f6068,_0xe9d221){const _0x3a3f74=_0x5190c3;var _0x48df98;return(_0x48df98=_0x2f6068[_0x3a3f74(0x1fa)](_0x239b8e[_0x3a3f74(0x1a9)])['getTextRanges']({'subUnitId':_0xe9d221,'unitId':_0xe9d221}))==null?void 0x0:_0x48df98[0x0];}function _0x239404(_0x7fabce,_0x122fd8,_0xb222f3){const _0xe95194=_0x5190c3;if((_0x7fabce==null?void 0x0:_0x7fabce[_0xe95194(0x132)])===_0xe95194(0x1e3)){var _0x2643d9;let _0x5ebed0=((_0x2643d9=_0x122fd8['paragraphs'])==null?void 0x0:_0x2643d9[_0xe95194(0x12b)](_0x1dcd3b=>_0x1dcd3b[_0xe95194(0x16d)]===_0x7fabce[_0xe95194(0x16d)]))??[];if(_0x5ebed0['length']!==0x1)return null;let _0x4b6ce0=_0x5ebed0[0x0],_0x40f222=(0x0,_0x183152[_0xe95194(0x215)])(_0x122fd8,_0x4b6ce0),_0x13f1de=_0x4b6ce0['startIndex']-_0x40f222,_0x5a9882=_0x7fabce[_0xe95194(0x14f)]==='end'?_0x13f1de:_0x7fabce['position'];if(!Number[_0xe95194(0x1c0)](_0x5a9882)||_0x5a9882<0x0||_0x5a9882>_0x13f1de)return null;let _0x9fff1=_0x40f222+_0x5a9882;return{'startOffset':_0x9fff1,'endOffset':_0x9fff1};}if((_0x7fabce==null?void 0x0:_0x7fabce[_0xe95194(0x132)])===_0xe95194(0x11f))return!Number[_0xe95194(0x1c0)](_0x7fabce[_0xe95194(0x17f)])||!Number[_0xe95194(0x1c0)](_0x7fabce[_0xe95194(0x10b)])?null:{'startOffset':Math['min'](_0x7fabce[_0xe95194(0x17f)],_0x7fabce['endOffset']),'endOffset':Math['max'](_0x7fabce[_0xe95194(0x17f)],_0x7fabce[_0xe95194(0x10b)])};let _0x428be0=(_0x7fabce==null?void 0x0:_0x7fabce[_0xe95194(0x132)])===_0xe95194(0x1e1)?_0x7fabce[_0xe95194(0x1e1)]:_0xb222f3;return!_0x428be0||_0x428be0[_0xe95194(0x1a3)]?null:{'startOffset':Math['min'](_0x428be0['startOffset'],_0x428be0[_0xe95194(0x10b)]),'endOffset':Math['max'](_0x428be0[_0xe95194(0x17f)],_0x428be0['endOffset'])};}function _0x5acbc5(_0x5c9ebb,_0x4b343a,_0x5e12c8,_0x9e0046){const _0x5a7ca9=_0x5190c3;let _0x3c02f3=_0x5c9ebb['get'](_0x56a765[_0x5a7ca9(0x146)]),_0x58fe3e=_0x5e12c8[_0x5a7ca9(0x185)]('=')?_0x5e12c8[_0x5a7ca9(0x1d9)](0x1):_0x5e12c8,_0x1cdb85=_0x3c02f3[_0x5a7ca9(0x179)](_0x58fe3e);if(!_0x1cdb85)return null;let _0xf1b04e=_0x5c9ebb['get'](_0x49a424[_0x5a7ca9(0x209)]),_0x5005ab=(0x0,_0x49a424[_0x5a7ca9(0x237)])({'qualifiers':(0x0,_0x49a424['collectFormulaExternalReferenceQualifiers'])(_0x1cdb85),'explicitReferences':_0x9e0046??[],'resolveBinding':_0x33adb1=>_0xf1b04e[_0x5a7ca9(0x1d2)](_0x4b343a,_0x33adb1)});return _0x5005ab[_0x5a7ca9(0x12e)]===_0x5a7ca9(0x20d)?_0x5005ab['references']:null;}function _0x58b27b(_0x116417,_0x28f7b1,_0x267daf){const _0x547477=_0x5190c3;var _0x586bf6;let _0x512f18=(0x0,_0x183152[_0x547477(0x199)])(0x6);for(;_0x116417!=null&&(_0x586bf6=_0x116417['customRanges'])!=null&&_0x586bf6['some'](_0x4fcb2d=>_0x4fcb2d[_0x547477(0x122)]===_0x512f18)||_0x28f7b1[_0x547477(0x232)](_0x267daf,_0x512f18);)_0x512f18=(0x0,_0x183152['generateRandomId'])(0x6);return _0x512f18;}function _0x4d6e72(_0x2592bf){try{return _0x3aebe8(_0x2592bf);}catch(_0x460264){if(_0x460264 instanceof _0x3c9e54)return null;throw _0x460264;}}function _0x4716ad(_0x3b2151){const _0x2bda33=_0x5190c3;let _0x532aa0=_0x3b2151['previousDocumentData']&&_0x3b2151[_0x2bda33(0x154)]?_0x2be070(_0x3b2151[_0x2bda33(0x173)],_0x3b2151[_0x2bda33(0x15a)],_0x3b2151['previousDocumentData'],_0x3b2151['nextDocumentData'],_0x3b2151[_0x2bda33(0x1ac)],_0x3b2151[_0x2bda33(0x119)]):null;return _0x3b2151[_0x2bda33(0x111)]&&_0x3b2151[_0x2bda33(0x154)]&&!_0x532aa0?null:{'documentRedo':_0x532aa0,'resourceRedo':{'id':_0x49adcc['id'],'params':{'unitId':_0x3b2151[_0x2bda33(0x15a)],'resource':_0x3b2151['nextResource']}},'resourceUndo':{'id':_0x49adcc['id'],'params':{'unitId':_0x3b2151[_0x2bda33(0x15a)],'resource':_0x3b2151[_0x2bda33(0x135)]}}};}function _0x225673(_0x3e1072,_0x5674ac,_0x22ef6a,_0x4024b9){const _0x2f446b=_0x5190c3;_0x4024b9[_0x2f446b(0x155)]({'id':_0x3e1072[_0x2f446b(0x119)]+':'+_0x3e1072[_0x2f446b(0x122)],'unitID':_0x3e1072[_0x2f446b(0x15a)],'redoMutations':[..._0x3e1072[_0x2f446b(0x13b)]['redoMutation']?[_0x3e1072[_0x2f446b(0x13b)][_0x2f446b(0x233)]]:[],..._0x5674ac['documentRedo']?[_0x5674ac[_0x2f446b(0x1d7)]]:[],_0x5674ac[_0x2f446b(0x194)]],'undoMutations':[_0x5674ac['resourceUndo'],..._0x22ef6a?[_0x22ef6a]:[],..._0x3e1072[_0x2f446b(0x13b)][_0x2f446b(0x19c)]?[_0x3e1072[_0x2f446b(0x13b)][_0x2f446b(0x19c)]]:[]]});}function _0x51ad31(_0x3dde7c){const _0x7d3d67=_0x5190c3;let _0x56cca8=_0x3dde7c[_0x7d3d67(0x150)][_0x7d3d67(0x1fa)](_0x183152[_0x7d3d67(0x1e9)]),_0x5b0c4c=_0x3dde7c['accessor']['get'](_0x183152[_0x7d3d67(0x178)]),_0x1ddacf=_0x3dde7c[_0x7d3d67(0x150)]['get'](_0x239b8e[_0x7d3d67(0x1a9)]),_0x18d109=_0x4716ad(_0x3dde7c);if(!_0x18d109)return!0x1;let _0x2dfb36=!0x1,_0x1b737f=null,_0x197029=!0x1;try{if(_0x3dde7c[_0x7d3d67(0x13b)]['redoMutation']){if(!_0x56cca8['syncExecuteCommand'](_0x3dde7c[_0x7d3d67(0x13b)][_0x7d3d67(0x233)]['id'],_0x3dde7c['externalMutations'][_0x7d3d67(0x233)][_0x7d3d67(0x197)]))return!0x1;_0x2dfb36=!0x0;}if(_0x18d109[_0x7d3d67(0x1d7)]){let _0x504941=_0x56cca8[_0x7d3d67(0x152)](_0x18d109[_0x7d3d67(0x1d7)]['id'],_0x18d109['documentRedo'][_0x7d3d67(0x197)]);if(!_0x504941)return _0x5729c5(_0x56cca8,_0x3dde7c[_0x7d3d67(0x13b)],_0x2dfb36),!0x1;_0x1b737f={'id':_0x239b8e[_0x7d3d67(0x22a)]['id'],'params':{..._0x504941,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x56cca8[_0x7d3d67(0x152)](_0x18d109[_0x7d3d67(0x194)]['id'],_0x18d109[_0x7d3d67(0x194)]['params']))return _0xe4acd3(_0x56cca8,_0x1b737f),_0x5729c5(_0x56cca8,_0x3dde7c[_0x7d3d67(0x13b)],_0x2dfb36),!0x1;_0x197029=!0x0,_0x225673(_0x3dde7c,_0x18d109,_0x1b737f,_0x5b0c4c);}catch(_0x3b067a){throw _0x197029&&_0x56cca8[_0x7d3d67(0x152)](_0x18d109[_0x7d3d67(0x18e)]['id'],_0x18d109['resourceUndo'][_0x7d3d67(0x197)]),_0xe4acd3(_0x56cca8,_0x1b737f),_0x5729c5(_0x56cca8,_0x3dde7c[_0x7d3d67(0x13b)],_0x2dfb36),_0x3b067a;}return _0x1ddacf[_0x7d3d67(0x10c)]([{'startOffset':_0x3dde7c[_0x7d3d67(0x1ac)],'endOffset':_0x3dde7c[_0x7d3d67(0x1ac)],'segmentId':''}],{'unitId':_0x3dde7c[_0x7d3d67(0x15a)],'subUnitId':_0x3dde7c[_0x7d3d67(0x15a)]},!0x1,{[_0x239b8e[_0x7d3d67(0x12f)]]:!0x0}),!0x0;}function _0x2be070(_0x195f98,_0x307d6c,_0x51c03b,_0x2cac11,_0x575b40,_0x5978e6){let _0x1a5250=_0x557272(_0x51c03b,_0x2cac11,(0x0,_0x183152['getRichTextEditPath'])(_0x195f98,''));return _0x1a5250?{'id':_0x239b8e['RichTextEditingMutation']['id'],'params':{'unitId':_0x307d6c,'actions':_0x1a5250,'segmentId':'','textRanges':[{'startOffset':_0x575b40,'endOffset':_0x575b40,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5978e6}}:null;}function _0xe4acd3(_0x3bcb02,_0x5a90f5){const _0x688f37=_0x5190c3;_0x5a90f5&&_0x3bcb02[_0x688f37(0x152)](_0x5a90f5['id'],_0x5a90f5[_0x688f37(0x197)]);}function _0x5729c5(_0x5bf073,_0x19067f,_0x493a74){const _0x261f5c=_0x5190c3;_0x493a74&&_0x19067f[_0x261f5c(0x19c)]&&_0x5bf073['syncExecuteCommand'](_0x19067f[_0x261f5c(0x19c)]['id'],_0x19067f[_0x261f5c(0x19c)][_0x261f5c(0x197)]);}function _0x557272(_0x56e22d,_0x4645d5,_0x43157f){const _0xd97156=_0x5190c3;let _0x241cf7=_0x56e22d['body'],_0x3e42b2=_0x4645d5[_0xd97156(0x18a)],_0x2355f1=_0x3f6b45(_0x241cf7==null?void 0x0:_0x241cf7[_0xd97156(0x229)],_0x3e42b2==null?void 0x0:_0x3e42b2[_0xd97156(0x229)]);if(!_0x2355f1||!_0x3e42b2)return null;let _0x24d922=new _0x183152['TextX']();return _0x24d922[_0xd97156(0x1bc)](_0x2355f1[_0xd97156(0x16c)]),_0x2355f1[_0xd97156(0x109)]>0x0&&_0x24d922['insert'](_0x2355f1[_0xd97156(0x109)],(0x0,_0x183152[_0xd97156(0x101)])(_0x3e42b2,_0x2355f1['start'],_0x2355f1[_0xd97156(0x16c)]+_0x2355f1[_0xd97156(0x109)],!0x1)),_0x2355f1[_0xd97156(0xfe)]>0x0&&_0x24d922['delete'](_0x2355f1[_0xd97156(0xfe)]),_0x183152[_0xd97156(0x103)][_0xd97156(0x21c)]()[_0xd97156(0x147)](_0x24d922[_0xd97156(0x23d)](),_0x43157f);}function _0x3f6b45(_0xcf5c86,_0x336e56){const _0x515ce6=_0x5190c3;if(_0xcf5c86==null||_0x336e56==null||_0xcf5c86===_0x336e56)return null;let _0x32adf8=0x0;for(;_0x32adf8<_0xcf5c86['length']&&_0x32adf8<_0x336e56[_0x515ce6(0x1e2)]&&_0xcf5c86[_0x32adf8]===_0x336e56[_0x32adf8];)_0x32adf8+=0x1;let _0xbaf652=_0xcf5c86[_0x515ce6(0x1e2)],_0x3b75de=_0x336e56[_0x515ce6(0x1e2)];for(;_0xbaf652>_0x32adf8&&_0x3b75de>_0x32adf8&&_0xcf5c86[_0xbaf652-0x1]===_0x336e56[_0x3b75de-0x1];)--_0xbaf652,--_0x3b75de;return{'start':_0x32adf8,'deleteLength':_0xbaf652-_0x32adf8,'insertLength':_0x3b75de-_0x32adf8};}function _0x28b943(_0x1b81f5){const _0x48e982=_0x5190c3;return{'schemaVersion':0x1,'formulas':Object[_0x48e982(0x20c)](Object[_0x48e982(0x14e)](_0x1b81f5['formulas'])[_0x48e982(0x1b9)](([_0x1388f6,_0x397024])=>[_0x1388f6,{..._0x397024,..._0x397024[_0x48e982(0x190)]?{'numberFormat':{..._0x397024[_0x48e982(0x190)]}}:null,..._0x397024[_0x48e982(0x1b1)]?{'lastValue':{..._0x397024[_0x48e982(0x1b1)]}}:null}]))};}let _0x4ab4c1=class extends _0x183152[_0x5190c3(0x100)]{constructor(_0x8f2b02,_0x5d7996,_0x36a6fc,_0x580d5d){const _0x2b6fc2=_0x5190c3;super(),this['_instanceService']=_0x8f2b02,this[_0x2b6fc2(0x141)]=_0x5d7996,this[_0x2b6fc2(0xff)]=_0x36a6fc,this['_service']=_0x580d5d,_0x34651a(this,_0x2b6fc2(0x163),new Set()),_0x34651a(this,_0x2b6fc2(0x115),!0x1),_0x34651a(this,'_isDisposed',!0x1),this['_instanceService']['getAllUnitsForType'](_0x183152[_0x2b6fc2(0x10a)][_0x2b6fc2(0x1b2)])[_0x2b6fc2(0x172)](_0x529f52=>this['_service'][_0x2b6fc2(0x205)](_0x529f52)),this[_0x2b6fc2(0x1b0)](this[_0x2b6fc2(0xff)][_0x2b6fc2(0x127)][_0x2b6fc2(0x175)](({unitId:_0x4f9eb6})=>this[_0x2b6fc2(0x243)](_0x4f9eb6))),this[_0x2b6fc2(0x1b0)](this['_instanceService']['unitAdded$'][_0x2b6fc2(0x175)](({unit:_0x4dcf3e})=>{const _0x565f09=_0x2b6fc2;_0x4dcf3e[_0x565f09(0x132)]===_0x183152[_0x565f09(0x10a)][_0x565f09(0x1b2)]&&this[_0x565f09(0x156)](_0x4dcf3e[_0x565f09(0x21e)]());})),this[_0x2b6fc2(0x1b0)](this[_0x2b6fc2(0x1ab)]['unitDisposed$'][_0x2b6fc2(0x175)](_0x5ad0cc=>{const _0x5b42f3=_0x2b6fc2;this['_service'][_0x5b42f3(0x1ce)](_0x5ad0cc[_0x5b42f3(0x21e)]());})),this['disposeWithMe'](this[_0x2b6fc2(0x141)][_0x2b6fc2(0x213)](_0x2316d1=>{const _0x9de394=_0x2b6fc2;if(_0x2316d1['id']===_0x239b8e[_0x9de394(0x22a)]['id']&&_0x1fc809(_0x2316d1[_0x9de394(0x197)])){let _0x14c488=_0x2316d1[_0x9de394(0x197)];_0x14c488[_0x9de394(0x1a3)]||this[_0x9de394(0x243)](_0x14c488[_0x9de394(0x15a)]);}}));}[_0x5190c3(0x11b)](){const _0xab87a0=_0x5190c3;this[_0xab87a0(0x221)]=!0x0,super['dispose']();}[_0x5190c3(0x156)](_0x3cd94c){const _0x1d1d03=_0x5190c3;this['_pendingUnitIds'][_0x1d1d03(0x176)](_0x3cd94c),!this[_0x1d1d03(0x115)]&&(this[_0x1d1d03(0x115)]=!0x0,queueMicrotask(()=>{const _0x4df394=_0x1d1d03;if(this[_0x4df394(0x115)]=!0x1,this[_0x4df394(0x221)])return;let _0xb2a4dc=Array[_0x4df394(0x16a)](this[_0x4df394(0x163)]);this[_0x4df394(0x163)][_0x4df394(0x22f)](),_0xb2a4dc[_0x4df394(0x172)](_0x3522bb=>this[_0x4df394(0x243)](_0x3522bb));}));}[_0x5190c3(0x243)](_0x194c53){const _0x205ec4=_0x5190c3;let _0x41fdcc=this['_instanceService'][_0x205ec4(0x191)](_0x194c53,_0x183152['UniverInstanceType'][_0x205ec4(0x1b2)]);_0x41fdcc&&this['_service'][_0x205ec4(0x205)](_0x41fdcc);}};_0x4ab4c1=_0x299920([_0x500cc3(0x0,_0x183152['IUniverInstanceService']),_0x500cc3(0x1,_0x183152['ICommandService']),_0x500cc3(0x2,(0x0,_0x183152['Inject'])(_0x11f2bf)),_0x500cc3(0x3,(0x0,_0x183152['Inject'])(_0x2b3eec))],_0x4ab4c1);function _0x1fc809(_0x34bc6f){const _0x447c88=_0x5190c3;return typeof _0x34bc6f==_0x447c88(0x21f)&&!!_0x34bc6f&&_0x447c88(0x15a)in _0x34bc6f&&typeof _0x34bc6f[_0x447c88(0x15a)]==_0x447c88(0x13c)&&(!('segmentId'in _0x34bc6f)||_0x34bc6f[_0x447c88(0x1a3)]===void 0x0||typeof _0x34bc6f['segmentId']==_0x447c88(0x13c));}let _0x1397e3=class extends _0x183152[_0x5190c3(0x100)]{constructor(_0x53ea6c,_0x5df274){const _0x17b3dc=_0x5190c3;super(),this[_0x17b3dc(0x133)]=_0x53ea6c,this[_0x17b3dc(0x224)]=_0x5df274,this['disposeWithMe'](this[_0x17b3dc(0x133)]['registerPluginResource']({'pluginName':_0x5df5c0,'businesses':[_0x183152['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x19606d=>JSON[_0x17b3dc(0x21d)](this['_docFormulaModel'][_0x17b3dc(0x23d)](_0x19606d)),'parseJson':_0x4f6381=>JSON[_0x17b3dc(0x15e)](_0x4f6381),'onLoad':(_0x4d257d,_0x599b93)=>{const _0x25d5d9=_0x17b3dc;this[_0x25d5d9(0x224)][_0x25d5d9(0x118)](_0x4d257d,_0x599b93);},'onUnLoad':_0xec1357=>this[_0x17b3dc(0x224)][_0x17b3dc(0x1a1)](_0xec1357)}));}};_0x1397e3=_0x299920([_0x500cc3(0x0,_0x183152['IResourceManagerService']),_0x500cc3(0x1,(0x0,_0x183152[_0x5190c3(0x208)])(_0x11f2bf))],_0x1397e3);var _0x325e90=_0x5190c3(0x116),_0x54e921=_0x5190c3(0x14a);let _0x5a830a={},_0x450d24=class extends _0x183152[_0x5190c3(0x100)]{constructor(_0x4569f1,_0x5f4d32,_0x2f330d){const _0x5df1d1=_0x5190c3;super(),this['_univerInstanceService']=_0x4569f1,this[_0x5df1d1(0x234)]=_0x5f4d32,this[_0x5df1d1(0x1b0)](_0x2f330d[_0x5df1d1(0x1ee)]({'resolve':(_0x2e0c27,_0x1ac1a0)=>{const _0x3840eb=_0x5df1d1;var _0x5b1956;return((_0x5b1956=_0x1ac1a0[_0x3840eb(0x145)])==null?void 0x0:_0x5b1956[_0x3840eb(0x12b)](_0x11642f)['map'](_0x3945ec=>({'startOffset':_0x3945ec[_0x3840eb(0x12d)],'endOffset':_0x3945ec[_0x3840eb(0x17e)]+0x1,'text':this[_0x3840eb(0x202)](_0x2e0c27,_0x3945ec['rangeId'])})))??[];}})),this[_0x5df1d1(0x1b0)](this['_formulaService'][_0x5df1d1(0x20a)][_0x5df1d1(0x175)](({unitId:_0x366781})=>{const _0x56c2ef=_0x5df1d1;_0x2f330d[_0x56c2ef(0x125)](_0x366781);}));}[_0x5190c3(0x202)](_0x3f8d71,_0x54ecec){const _0xd3fb3=_0x5190c3;var _0x14c180;return((_0x14c180=this[_0xd3fb3(0x234)][_0xd3fb3(0x14d)]({'unitId':_0x3f8d71,'rangeId':_0x54ecec}))==null?void 0x0:_0x14c180['text'])??'';}['resolveText'](_0x1b7eb8,_0x3cd17e,_0x4f7a41){const _0x4a77f4=_0x5190c3;var _0x479ad8;let _0x26d25b=this[_0x4a77f4(0x1cd)][_0x4a77f4(0x191)](_0x1b7eb8,_0x183152['UniverInstanceType']['UNIVER_DOC']),_0x3c2571=_0x26d25b==null?void 0x0:_0x26d25b[_0x4a77f4(0x1d1)]();if(!_0x3c2571)return'';let _0x21ed71=_0x3c2571[_0x4a77f4(0x229)][_0x4a77f4(0x1d9)](_0x3cd17e,_0x4f7a41),_0x2eea7d=((_0x479ad8=_0x3c2571[_0x4a77f4(0x145)])==null?void 0x0:_0x479ad8[_0x4a77f4(0x12b)](_0x3c2990=>_0x11642f(_0x3c2990)&&_0x3c2990['startIndex']>=_0x3cd17e&&_0x3c2990[_0x4a77f4(0x17e)]<_0x4f7a41)[_0x4a77f4(0x183)]((_0x1a276b,_0x1460bf)=>_0x1460bf[_0x4a77f4(0x12d)]-_0x1a276b[_0x4a77f4(0x12d)]))??[];for(let _0x15a80a of _0x2eea7d){let _0x2b5ba3=_0x15a80a['startIndex']-_0x3cd17e,_0x273b70=_0x15a80a[_0x4a77f4(0x17e)]-_0x3cd17e+0x1;_0x21ed71=''+_0x21ed71['slice'](0x0,_0x2b5ba3)+this[_0x4a77f4(0x202)](_0x1b7eb8,_0x15a80a[_0x4a77f4(0x122)])+_0x21ed71['slice'](_0x273b70);}return _0x21ed71;}[_0x5190c3(0x223)](_0x271176){return _0x2667d9(_0x271176);}['degradeBody'](_0x3323cf,_0x5485c5,_0x1f89d0={}){const _0x38b525=_0x5190c3;var _0x5bea7d;return _0xe38112({'id':_0x3323cf,'body':_0x5485c5,'documentStyle':{}},(((_0x5bea7d=_0x5485c5[_0x38b525(0x145)])==null?void 0x0:_0x5bea7d[_0x38b525(0x12b)](_0x11642f))??[])[_0x38b525(0x1b9)](_0x4d7ecd=>({'rangeId':_0x4d7ecd[_0x38b525(0x122)],'text':_0x1f89d0[_0x4d7ecd[_0x38b525(0x122)]]??this[_0x38b525(0x202)](_0x3323cf,_0x4d7ecd[_0x38b525(0x122)])})))[_0x38b525(0x18a)]??{'dataStream':''};}};_0x450d24=_0x299920([_0x500cc3(0x0,_0x183152[_0x5190c3(0x1da)]),_0x500cc3(0x1,(0x0,_0x183152[_0x5190c3(0x208)])(_0x2b3eec)),_0x500cc3(0x2,(0x0,_0x183152[_0x5190c3(0x208)])(_0x239b8e[_0x5190c3(0x1f7)]))],_0x450d24);function _0x2667d9(_0x2dd976){const _0x22bce5=_0x5190c3;var _0x5949a3,_0x51f388;let _0x534e28=_0xcb1b56(_0x2dd976),_0x27cf87=_0xe38112(_0x2dd976,(((_0x5949a3=_0x2dd976[_0x22bce5(0x18a)])==null||(_0x5949a3=_0x5949a3['customRanges'])==null?void 0x0:_0x5949a3[_0x22bce5(0x12b)](_0x11642f))??[])['map'](_0x1a8117=>({'rangeId':_0x1a8117[_0x22bce5(0x122)],'text':_0x426345(_0x534e28==null?void 0x0:_0x534e28[_0x22bce5(0x231)][_0x1a8117[_0x22bce5(0x122)]])})));return _0x27cf87[_0x22bce5(0x218)]=(_0x51f388=_0x27cf87[_0x22bce5(0x218)])==null?void 0x0:_0x51f388[_0x22bce5(0x12b)](_0x1b7ba2=>_0x1b7ba2[_0x22bce5(0x105)]!==_0x5df5c0),_0x27cf87;}function _0xcb1b56(_0x158511){const _0x2ea3a6=_0x5190c3;var _0xfe2283;let _0x47517e=(_0xfe2283=_0x158511[_0x2ea3a6(0x218)])==null||(_0xfe2283=_0xfe2283[_0x2ea3a6(0x1f5)](_0x2fbc15=>_0x2fbc15['name']===_0x2ea3a6(0x17d)))==null?void 0x0:_0xfe2283[_0x2ea3a6(0x22c)];if(_0x47517e)try{let _0x45b0df=JSON[_0x2ea3a6(0x15e)](_0x47517e);return _0x48fcca(_0x45b0df)?_0x45b0df:void 0x0;}catch{return;}}function _0x426345(_0x2b72ed){const _0x5754d7=_0x5190c3;return _0x2b72ed?(0x0,_0x49a424[_0x5754d7(0x1be)])({'lastValue':_0x2b72ed[_0x5754d7(0x1b1)],'numberFormat':_0x2b72ed['numberFormat']})[_0x5754d7(0x15c)]:'';}let _0x503fb3=class extends _0x183152[_0x5190c3(0x100)]{constructor(_0x55c763,_0x3ec635,_0x2ef381){const _0x1fd0b0=_0x5190c3;super(),this[_0x1fd0b0(0x234)]=_0x55c763,this[_0x1fd0b0(0x131)]=_0x3ec635,this[_0x1fd0b0(0x1b0)](_0x2ef381[_0x1fd0b0(0x1b7)](this));}[_0x5190c3(0x19d)](_0x1a62b3){const _0x1964a9=_0x5190c3;let _0x5faeb=new Map();for(let _0x223713 of this[_0x1964a9(0x234)]['getRegisteredFormulas']()){var _0x3aaae0;if(!this['_cacheEligibilityService']['assess'](_0x223713[_0x1964a9(0x1cb)][_0x1964a9(0x239)],_0x223713[_0x1964a9(0x1e5)])[_0x1964a9(0x21b)])continue;let _0x696d60=(0x0,_0x49a424['getScalarFormulaResultCell'])(_0x223713[_0x1964a9(0x1e5)]),_0x1c05d1=_0x696d60?(0x0,_0x49a424[_0x1964a9(0x13e)])(_0x696d60):null;if(!_0x1c05d1||_0x380330(_0x223713[_0x1964a9(0x1cb)][_0x1964a9(0x1b1)],_0x1c05d1))continue;let _0x414ee3=_0x5faeb[_0x1964a9(0x1fa)](_0x223713['identity'][_0x1964a9(0x15a)])??[];_0x414ee3['push']({'rangeId':_0x223713[_0x1964a9(0x236)]['rangeId'],'expectedFormula':_0x223713[_0x1964a9(0x1cb)][_0x1964a9(0x239)],'expectedNumberFormat':(_0x3aaae0=_0x223713[_0x1964a9(0x1cb)]['numberFormat'])==null?void 0x0:_0x3aaae0[_0x1964a9(0x1c4)],'expectedReferenceRevision':_0x223713[_0x1964a9(0x241)],'lastValue':_0x1c05d1}),_0x5faeb[_0x1964a9(0x19f)](_0x223713[_0x1964a9(0x236)][_0x1964a9(0x15a)],_0x414ee3);}return Array[_0x1964a9(0x16a)](_0x5faeb,([_0x50fc5d,_0x242617])=>({'id':_0x2a4ae2['id'],'params':{'unitId':_0x50fc5d,'updates':_0x242617}}));}};_0x503fb3=_0x299920([_0x500cc3(0x0,(0x0,_0x183152[_0x5190c3(0x208)])(_0x2b3eec)),_0x500cc3(0x1,(0x0,_0x183152[_0x5190c3(0x208)])(_0x49a424[_0x5190c3(0x20e)])),_0x500cc3(0x2,(0x0,_0x183152['Inject'])(_0x49a424[_0x5190c3(0x22d)]))],_0x503fb3);function _0x380330(_0x3d6cc5,_0x9031df){const _0x846f6e=_0x5190c3;return(_0x3d6cc5==null?void 0x0:_0x3d6cc5['v'])===_0x9031df['v']&&(_0x3d6cc5==null?void 0x0:_0x3d6cc5['t'])===_0x9031df['t']&&(_0x3d6cc5==null?void 0x0:_0x3d6cc5[_0x846f6e(0x1c4)])===_0x9031df[_0x846f6e(0x1c4)];}let _0x140593=class extends _0x183152[_0x5190c3(0x189)]{constructor(_0x51baf1=_0x5a830a,_0x14f558,_0x394a51,_0x3f6f2a){const _0x2e9182=_0x5190c3;super(),this['_config']=_0x51baf1,this['_injector']=_0x14f558,this[_0x2e9182(0x141)]=_0x394a51,this[_0x2e9182(0x238)]=_0x3f6f2a;let {..._0x3fddcf}=(0x0,_0x183152[_0x2e9182(0x1d6)])({},_0x5a830a,this[_0x2e9182(0x1dc)]);this[_0x2e9182(0x238)][_0x2e9182(0x1f6)](_0x2e9182(0x11c),_0x3fddcf);}[_0x5190c3(0x137)](){const _0x25f059=_0x5190c3;this['_injector'][_0x25f059(0x176)]([_0x11f2bf]),this[_0x25f059(0x1bf)]['add']([_0x2b3eec]),this[_0x25f059(0x1bf)][_0x25f059(0x176)]([_0x1397e3]),this[_0x25f059(0x1bf)][_0x25f059(0x176)]([_0x4ab4c1]),this[_0x25f059(0x1bf)][_0x25f059(0x176)]([_0x503fb3]),this[_0x25f059(0x1bf)]['add']([_0x450d24]),(0x0,_0x183152[_0x25f059(0x1ca)])(this['_injector'],[[_0x11f2bf],[_0x1397e3],[_0x4ab4c1],[_0x503fb3],[_0x450d24]]),[_0x33e542,_0x33280a,_0x49adcc,_0x2a4ae2,_0x381968,_0x191887,_0x5e200b,_0x591a56,_0x58cd44,_0xd2841f]['forEach'](_0x584857=>this[_0x25f059(0x1b0)](this[_0x25f059(0x141)][_0x25f059(0x1b3)](_0x584857)));}};_0x34651a(_0x140593,'pluginName',_0x5df5c0),_0x34651a(_0x140593,'packageName',_0x325e90),_0x34651a(_0x140593,'version',_0x54e921),_0x34651a(_0x140593,_0x5190c3(0x132),_0x183152['UniverInstanceType'][_0x5190c3(0x1b2)]),_0x140593=_0x299920([(0x0,_0x183152[_0x5190c3(0x171)])(_0x125396[_0x5190c3(0x169)],_0x49a424[_0x5190c3(0x23a)],_0x239b8e[_0x5190c3(0x140)]),_0x500cc3(0x1,(0x0,_0x183152[_0x5190c3(0x208)])(_0x183152[_0x5190c3(0x1f1)])),_0x500cc3(0x2,_0x183152[_0x5190c3(0x1e9)]),_0x500cc3(0x3,_0x183152['IConfigService'])],_0x140593),_0x24865a[_0x5190c3(0x1c7)]=_0xd2841f,_0x24865a['DOC_FORMULA_CUSTOM_RANGE_KIND']=_0x348d61,_0x24865a[_0x5190c3(0x153)]='',_0x24865a[_0x5190c3(0x17d)]=_0x5df5c0,_0x24865a['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x5190c3(0x203)](_0x24865a,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x450d24;}}),Object[_0x5190c3(0x203)](_0x24865a,_0x5190c3(0x228),{'enumerable':!0x0,'get':function(){return _0x4ab4c1;}}),_0x24865a['DocFormulaModel']=_0x11f2bf,Object[_0x5190c3(0x203)](_0x24865a,_0x5190c3(0x220),{'enumerable':!0x0,'get':function(){return _0x1397e3;}}),_0x24865a[_0x5190c3(0x1a6)]=_0x2940b2,Object[_0x5190c3(0x203)](_0x24865a,_0x5190c3(0x108),{'enumerable':!0x0,'get':function(){return _0x2b3eec;}}),_0x24865a[_0x5190c3(0x121)]=_0x381968,_0x24865a[_0x5190c3(0x16b)]=_0x3c9e54,_0x24865a[_0x5190c3(0x1d5)]=_0x591a56,_0x24865a[_0x5190c3(0x166)]=_0x33280a,_0x24865a[_0x5190c3(0x129)]=_0x58cd44,_0x24865a[_0x5190c3(0x130)]=_0x2a4ae2,_0x24865a['SetDocFormulaMutation']=_0x33e542,_0x24865a[_0x5190c3(0x142)]=_0x5e200b,_0x24865a['SetDocFormulaResourceMutation']=_0x49adcc,Object['defineProperty'](_0x24865a,_0x5190c3(0x1f3),{'enumerable':!0x0,'get':function(){return _0x140593;}}),_0x24865a[_0x5190c3(0x18c)]=_0x191887,_0x24865a['assertSafeDocFormulaInsertRange']=_0xb71898,_0x24865a[_0x5190c3(0x151)]=_0x3aebe8,_0x24865a[_0x5190c3(0x1df)]=_0x580626,_0x24865a[_0x5190c3(0x1a4)]=_0x3509c1,_0x24865a[_0x5190c3(0x246)]=_0x2d0395,_0x24865a[_0x5190c3(0x20b)]=_0x2667d9,_0x24865a['findDocFormulaRange']=_0x5dd8f2,_0x24865a[_0x5190c3(0x1f4)]=_0x5aaa6e,_0x24865a[_0x5190c3(0x23c)]=_0x11642f,_0x24865a[_0x5190c3(0x1c1)]=_0x48fcca,_0x24865a[_0x5190c3(0x235)]=_0x2aa92a;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-formula",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
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,18 +61,18 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/
|
|
65
|
-
"@univerjs-pro/
|
|
66
|
-
"@univerjs/core": "1.0.0-
|
|
67
|
-
"@univerjs/
|
|
68
|
-
"@univerjs/
|
|
64
|
+
"@univerjs-pro/license": "1.0.0-beta.1",
|
|
65
|
+
"@univerjs-pro/engine-formula": "1.0.0-beta.1",
|
|
66
|
+
"@univerjs/core": "1.0.0-beta.1",
|
|
67
|
+
"@univerjs/docs": "1.0.0-beta.1",
|
|
68
|
+
"@univerjs/engine-formula": "1.0.0-beta.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"rxjs": "7.8.2",
|
|
72
72
|
"typescript": "^6.0.3",
|
|
73
73
|
"vitest": "^4.1.10",
|
|
74
|
-
"@univerjs-infra/shared": "1.0.0-
|
|
75
|
-
"@univerjs/engine-render": "1.0.0-
|
|
74
|
+
"@univerjs-infra/shared": "1.0.0-beta.1",
|
|
75
|
+
"@univerjs/engine-render": "1.0.0-beta.1"
|
|
76
76
|
},
|
|
77
77
|
"scripts": {
|
|
78
78
|
"test": "vitest run",
|