@univerjs-pro/docs-formula 1.4.0 → 1.5.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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3533(_0x5a245a,_0x3f49ef){_0x5a245a=_0x5a245a-0x1cc;const _0x51dcab=_0x51dc();let _0x3533c7=_0x51dcab[_0x5a245a];return _0x3533c7;}(function(_0x1dcc37,_0x4ae6fe){const _0x21377a=_0x3533,_0x3474ef=_0x1dcc37();while(!![]){try{const _0x3c648b=parseInt(_0x21377a(0x1f2))/0x1*(parseInt(_0x21377a(0x1fd))/0x2)+parseInt(_0x21377a(0x299))/0x3+parseInt(_0x21377a(0x2d6))/0x4*(-parseInt(_0x21377a(0x2fb))/0x5)+parseInt(_0x21377a(0x232))/0x6*(parseInt(_0x21377a(0x2cd))/0x7)+-parseInt(_0x21377a(0x208))/0x8*(parseInt(_0x21377a(0x1d6))/0x9)+-parseInt(_0x21377a(0x2b4))/0xa*(parseInt(_0x21377a(0x1f9))/0xb)+parseInt(_0x21377a(0x231))/0xc;if(_0x3c648b===_0x4ae6fe)break;else _0x3474ef['push'](_0x3474ef['shift']());}catch(_0x28ad31){_0x3474ef['push'](_0x3474ef['shift']());}}}(_0x51dc,0xb62f7),function(_0x348c9a,_0x4cce82){const _0x22de76=_0x3533;typeof exports==_0x22de76(0x2f0)&&typeof module<'u'?_0x4cce82(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x22de76(0x2cb)&&define[_0x22de76(0x2f7)]?define([_0x22de76(0x27a),'@univerjs-pro/engine-formula',_0x22de76(0x2e7),_0x22de76(0x25c),_0x22de76(0x2cc),'rxjs',_0x22de76(0x242)],_0x4cce82):(_0x348c9a=typeof globalThis<'u'?globalThis:_0x348c9a||self,_0x4cce82(_0x348c9a['UniverProDocsFormula']={},_0x348c9a[_0x22de76(0x206)],_0x348c9a[_0x22de76(0x20f)],_0x348c9a[_0x22de76(0x26b)],_0x348c9a[_0x22de76(0x316)],_0x348c9a['rxjs'],_0x348c9a[_0x22de76(0x1e4)]));}(this,function(_0x54a0ee,_0x35cdb4,_0x268d47,_0x13b587,_0x144841,_0x22c49e,_0x3ae0fa){const _0x2dd6cc=_0x3533;Object[_0x2dd6cc(0x1cd)](_0x54a0ee,Symbol[_0x2dd6cc(0x317)],{'value':'Module'});let _0x422f2b=_0x2dd6cc(0x2a0),_0x4f2d27='univer-docs-formula';function _0x2e7c75(){return{'formulas':{}};}function _0x277cf0(_0x5255db){const _0x10114b=_0x2dd6cc;return!_0x5255db||typeof _0x5255db!=_0x10114b(0x2f0)||!('formulas'in _0x5255db)||!_0x5255db[_0x10114b(0x2a3)]||typeof _0x5255db[_0x10114b(0x2a3)]!=_0x10114b(0x2f0)||Array[_0x10114b(0x277)](_0x5255db[_0x10114b(0x2a3)])?!0x1:Object['entries'](_0x5255db[_0x10114b(0x2a3)])[_0x10114b(0x236)](([_0x122e56,_0x4849ca])=>_0x122e56[_0x10114b(0x28f)]>0x0&&_0x4a8011(_0x4849ca));}function _0x4a8011(_0x513434){const _0x3d88ba=_0x2dd6cc;return!_0x513434||typeof _0x513434!=_0x3d88ba(0x2f0)||!_0x529d17(_0x513434,[_0x3d88ba(0x245),'numberFormat',_0x3d88ba(0x2c2)])||!('formula'in _0x513434)||typeof _0x513434['formula']!='string'||!_0x513434[_0x3d88ba(0x245)]['trim']()||'numberFormat'in _0x513434&&_0x513434[_0x3d88ba(0x23f)]!=null&&(typeof _0x513434[_0x3d88ba(0x23f)]!=_0x3d88ba(0x2f0)||!_0x529d17(_0x513434[_0x3d88ba(0x23f)],[_0x3d88ba(0x2b5)])||!(_0x3d88ba(0x2b5)in _0x513434['numberFormat'])||typeof _0x513434[_0x3d88ba(0x23f)][_0x3d88ba(0x2b5)]!=_0x3d88ba(0x1de))?!0x1:!('lastValue'in _0x513434)||_0x513434[_0x3d88ba(0x2c2)]==null||_0x1f5739(_0x513434['lastValue']);}function _0x1f5739(_0x1979a4){const _0x4f4902=_0x2dd6cc;return!_0x1979a4||typeof _0x1979a4!=_0x4f4902(0x2f0)||!_0x529d17(_0x1979a4,['v','t','pattern'])||!('v'in _0x1979a4)||_0x1979a4['v']!==null&&typeof _0x1979a4['v']!='string'&&typeof _0x1979a4['v']!=_0x4f4902(0x252)&&typeof _0x1979a4['v']!=_0x4f4902(0x21d)||'t'in _0x1979a4&&_0x1979a4['t']!=null&&!_0x505e6d(_0x1979a4['t'])?!0x1:!(_0x4f4902(0x2b5)in _0x1979a4)||_0x1979a4['pattern']==null||typeof _0x1979a4[_0x4f4902(0x2b5)]==_0x4f4902(0x1de);}function _0x529d17(_0x1aa55e,_0xa833cb){const _0x14ae0f=_0x2dd6cc;let _0xd610ec=new Set(_0xa833cb);return Object[_0x14ae0f(0x283)](_0x1aa55e)[_0x14ae0f(0x236)](_0x4bd2af=>_0xd610ec[_0x14ae0f(0x223)](_0x4bd2af));}function _0x505e6d(_0x1e7fc3){const _0x1be80f=_0x2dd6cc;return typeof _0x1e7fc3==_0x1be80f(0x252)&&Object[_0x1be80f(0x302)](_0x268d47[_0x1be80f(0x318)])[_0x1be80f(0x2b9)](_0x1e7fc3);}let _0x2275c4=new Set([_0x268d47['DataStreamTreeTokenType'][_0x2dd6cc(0x211)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x25a)],_0x268d47['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x287)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2c7)],_0x268d47['DataStreamTreeTokenType'][_0x2dd6cc(0x2ab)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2ef)],_0x268d47[_0x2dd6cc(0x1dd)]['COLUMN_GROUP_START'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x1dc)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x289)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2d1)],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x200)],_0x268d47['DataStreamTreeTokenType']['BLOCK_END'],_0x268d47[_0x2dd6cc(0x1dd)][_0x2dd6cc(0x2e6)]]);var _0x4d259a=class extends Error{constructor(){const _0x4adf5a=_0x2dd6cc;super(_0x4adf5a(0x28d));}};function _0x40b110(_0x33f98e){const _0x37bac5=_0x2dd6cc;var _0x41b4a7,_0x1c6116;let _0x1ab79f=_0x268d47[_0x37bac5(0x2da)][_0x37bac5(0x297)](_0x33f98e['documentData']),_0x423a28=_0x1ed592(_0x1ab79f),{startOffset:_0x2d9296,endOffset:_0x4d5fd8}=_0x338206(_0x423a28,_0x33f98e['startOffset'],_0x33f98e[_0x37bac5(0x1e9)]);_0x23ad2d(_0x423a28,_0x2d9296,_0x4d5fd8);let _0x5a298d=((_0x41b4a7=_0x423a28[_0x37bac5(0x31a)])==null?void 0x0:_0x41b4a7[_0x37bac5(0x2d9)](_0x4cf63b=>{const _0x3b2b86=_0x37bac5;if(!_0x10ebc7(_0x4cf63b))return!0x1;let _0x25784e=(0x0,_0x268d47[_0x3b2b86(0x21a)])(_0x4cf63b);return _0x25784e[_0x3b2b86(0x1e9)]>_0x2d9296&&_0x25784e['startOffset']<_0x4d5fd8;})[_0x37bac5(0x1cf)](_0x58b348=>_0x58b348['rangeId']))??[];_0x4e17a1(_0x423a28,_0x2d9296,_0x4d5fd8,''),_0x423a28[_0x37bac5(0x31a)]=[...((_0x1c6116=_0x423a28[_0x37bac5(0x31a)])==null?void 0x0:_0x1c6116[_0x37bac5(0x2d9)](_0x4c0087=>!_0x5a298d[_0x37bac5(0x2b9)](_0x4c0087[_0x37bac5(0x2e1)])&&_0x4c0087['rangeId']!==_0x33f98e['rangeId']))??[],_0x1f8a0c(_0x33f98e[_0x37bac5(0x2e1)],_0x2d9296)][_0x37bac5(0x203)]((_0xa124e5,_0x4c6d1c)=>_0xa124e5[_0x37bac5(0x210)]-_0x4c6d1c[_0x37bac5(0x210)]);let _0x40851f=_0x2c48de(_0x33f98e[_0x37bac5(0x22f)]);return _0x5a298d[_0x37bac5(0x2e9)](_0x38277a=>{delete _0x40851f['formulas'][_0x38277a];}),_0x40851f['formulas'][_0x33f98e['rangeId']]=_0x268d47[_0x37bac5(0x2da)][_0x37bac5(0x297)](_0x33f98e[_0x37bac5(0x2b6)]),{'nextDocumentData':_0x1ab79f,'nextResource':_0x40851f,'cursorOffset':_0x2d9296+0x1};}function _0x433876(_0x5e0db6){const _0x29ffd5=_0x2dd6cc;var _0x2f03e0,_0x5a5029;let _0x4a76c9=_0x268d47['Tools'][_0x29ffd5(0x297)](_0x5e0db6[_0x29ffd5(0x313)]),_0x5d31cf=(_0x2f03e0=_0x1ed592(_0x4a76c9)['customRanges'])==null?void 0x0:_0x2f03e0[_0x29ffd5(0x2e8)](_0x531685=>_0x531685[_0x29ffd5(0x2e1)]===_0x5e0db6[_0x29ffd5(0x2e1)]&&_0x10ebc7(_0x531685));if(!_0x5d31cf||!((_0x5a5029=_0x5e0db6[_0x29ffd5(0x22f)])!=null&&_0x5a5029[_0x29ffd5(0x2a3)][_0x5e0db6[_0x29ffd5(0x2e1)]]))return null;let _0x4ab27e=_0x2c48de(_0x5e0db6['resource']);return _0x4ab27e[_0x29ffd5(0x2a3)][_0x5e0db6[_0x29ffd5(0x2e1)]]=_0x268d47[_0x29ffd5(0x2da)]['deepClone'](_0x5e0db6[_0x29ffd5(0x2b6)]),{'nextDocumentData':_0x4a76c9,'nextResource':_0x4ab27e,'cursorOffset':_0x5d31cf[_0x29ffd5(0x31b)]+0x1};}function _0x366cd0(_0x403661){const _0x62d6cb=_0x2dd6cc;let _0x18325d=_0x268d47[_0x62d6cb(0x2da)][_0x62d6cb(0x297)](_0x403661['documentData']),_0x10e9cf=_0x234024(_0x18325d,_0x403661[_0x62d6cb(0x2e1)],_0x403661[_0x62d6cb(0x2fe)]??'');if(_0x10e9cf==null)return null;let _0x2ce88a=_0x2c48de(_0x403661['resource']);return delete _0x2ce88a[_0x62d6cb(0x2a3)][_0x403661[_0x62d6cb(0x2e1)]],{'nextDocumentData':_0x18325d,'nextResource':_0x2ce88a,'cursorOffset':_0x10e9cf};}function _0xff40f2(_0xf40445,_0x5c62e1){const _0x4f96ed=_0x2dd6cc;var _0x56c47a;let _0x4c119a=_0x268d47[_0x4f96ed(0x2da)]['deepClone'](_0xf40445),_0xfbc766=_0x4c119a[_0x4f96ed(0x31e)];if(!_0xfbc766)return _0x4c119a;let _0x2ff976=new Map(_0x5c62e1[_0x4f96ed(0x1cf)](_0x31807e=>[_0x31807e[_0x4f96ed(0x2e1)],_0x31807e[_0x4f96ed(0x2fe)]])),_0x2f5d3c=((_0x56c47a=_0xfbc766[_0x4f96ed(0x31a)])==null?void 0x0:_0x56c47a[_0x4f96ed(0x2d9)](_0x1141b1=>_0x10ebc7(_0x1141b1)&&_0x2ff976['has'](_0x1141b1[_0x4f96ed(0x2e1)]))[_0x4f96ed(0x203)]((_0x56734a,_0x43b273)=>_0x43b273[_0x4f96ed(0x210)]-_0x56734a[_0x4f96ed(0x210)]))??[];for(let _0x5a94c4 of _0x2f5d3c)_0x234024(_0x4c119a,_0x5a94c4['rangeId'],_0x2ff976[_0x4f96ed(0x249)](_0x5a94c4[_0x4f96ed(0x2e1)])??'');return _0x4c119a;}function _0x10ebc7(_0x1710a9){const _0x488f42=_0x2dd6cc;var _0x50b1c2;return(_0x1710a9==null?void 0x0:_0x1710a9[_0x488f42(0x27d)])===_0x268d47[_0x488f42(0x2cf)][_0x488f42(0x257)]&&_0x1710a9[_0x488f42(0x275)]===!0x0&&((_0x50b1c2=_0x1710a9['properties'])==null?void 0x0:_0x50b1c2[_0x488f42(0x1ec)])===_0x488f42(0x2ee);}function _0x5bfb7e(_0x3039ca,_0x4b5681){const _0x50c47d=_0x2dd6cc;var _0x3a1d17;return _0x3039ca==null||(_0x3a1d17=_0x3039ca[_0x50c47d(0x31a)])==null?void 0x0:_0x3a1d17[_0x50c47d(0x2e8)](_0xf91824=>_0xf91824[_0x50c47d(0x2e1)]===_0x4b5681&&_0x10ebc7(_0xf91824));}function _0x23ad2d(_0xfc9ca4,_0x5c80fb,_0x188774){const _0x1e3db3=_0x2dd6cc;if(_0x5c80fb===_0x188774){if(_0x2275c4[_0x1e3db3(0x223)](_0xfc9ca4['dataStream'][_0x5c80fb]))throw new _0x4d259a();}else{for(let _0x2eba74=_0x5c80fb;_0x2eba74<_0x188774;_0x2eba74++)if(_0xfc9ca4['dataStream'][_0x2eba74]===_0x268d47['DataStreamTreeTokenType'][_0x1e3db3(0x2af)]||_0x2275c4['has'](_0xfc9ca4[_0x1e3db3(0x2ea)][_0x2eba74]))throw new _0x4d259a();}}function _0x1f8a0c(_0x5a5446,_0x366f7b){const _0x1a5c9f=_0x2dd6cc;return{'startIndex':_0x366f7b,'endIndex':_0x366f7b,'rangeId':_0x5a5446,'rangeType':_0x268d47[_0x1a5c9f(0x2cf)][_0x1a5c9f(0x257)],'wholeEntity':!0x0,'properties':{'kind':_0x4f2d27}};}function _0x2c48de(_0x51becf){const _0x1a629c=_0x2dd6cc;return _0x51becf?_0x268d47['Tools'][_0x1a629c(0x297)](_0x51becf):_0x2e7c75();}function _0x338206(_0x39d24c,_0x23423a,_0x3de4b5){const _0x5c3579=_0x2dd6cc;let _0x5ea809=_0x5b6fc7(_0x39d24c),_0x58312a=_0x23423a??_0x5ea809,_0x5b072b=_0x3de4b5??_0x58312a;return{'startOffset':_0x297fd6(Math[_0x5c3579(0x1df)](_0x58312a,_0x5b072b),_0x5ea809),'endOffset':_0x297fd6(Math[_0x5c3579(0x1ea)](_0x58312a,_0x5b072b),_0x5ea809)};}function _0x297fd6(_0xf1a958,_0x5b66aa){const _0x1ad718=_0x2dd6cc;return Math[_0x1ad718(0x1ea)](0x0,Math[_0x1ad718(0x1df)](_0xf1a958,_0x5b66aa));}function _0x5b6fc7(_0x25dd8d){const _0x23d264=_0x2dd6cc;return _0x25dd8d['dataStream'][_0x23d264(0x2e3)](''+_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x2af)]+_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x211)])?Math[_0x23d264(0x1ea)](0x0,_0x25dd8d[_0x23d264(0x2ea)][_0x23d264(0x28f)]-0x2):_0x25dd8d['dataStream'][_0x23d264(0x2e3)](_0x268d47[_0x23d264(0x1dd)][_0x23d264(0x211)])?Math['max'](0x0,_0x25dd8d[_0x23d264(0x2ea)]['length']-0x1):_0x25dd8d['dataStream'][_0x23d264(0x28f)];}function _0x4e17a1(_0x4fab0c,_0x428072,_0x491e01,_0x4906aa){_0x491e01>_0x428072&&_0x279193(_0x4fab0c,_0x428072,_0x491e01),_0xd75f40(_0x4fab0c,_0x428072,_0x4906aa);}function _0x234024(_0x2291c0,_0xe86ab6,_0x552e88){const _0x20ebcf=_0x2dd6cc;var _0x549d1f,_0x72f189;let _0x49ae8f=_0x1ed592(_0x2291c0),_0x113965=(_0x549d1f=_0x49ae8f[_0x20ebcf(0x31a)])==null?void 0x0:_0x549d1f['find'](_0x404f15=>_0x404f15[_0x20ebcf(0x2e1)]===_0xe86ab6&&_0x10ebc7(_0x404f15));if(!_0x113965)return null;let _0x4a0e2d=(0x0,_0x268d47[_0x20ebcf(0x21a)])(_0x113965);return _0x4e17a1(_0x49ae8f,_0x4a0e2d['startOffset'],_0x4a0e2d[_0x20ebcf(0x1e9)],_0x552e88),_0x49ae8f['customRanges']=(_0x72f189=_0x49ae8f[_0x20ebcf(0x31a)])==null?void 0x0:_0x72f189['filter'](_0x3df66d=>_0x3df66d[_0x20ebcf(0x2e1)]!==_0xe86ab6),_0x4a0e2d[_0x20ebcf(0x30e)]+_0x552e88['length'];}function _0xd75f40(_0x2ffec4,_0x55540c,_0x12056e){const _0x4e6649=_0x2dd6cc;_0x12056e&&(_0x2ffec4[_0x4e6649(0x2ea)]=''+_0x2ffec4[_0x4e6649(0x2ea)][_0x4e6649(0x24c)](0x0,_0x55540c)+_0x12056e+_0x2ffec4['dataStream']['slice'](_0x55540c),_0x4b4995(_0x2ffec4,_0x55540c,_0x12056e[_0x4e6649(0x28f)]));}function _0x279193(_0x56d8b8,_0x1a7aa7,_0x378c6a){const _0x718355=_0x2dd6cc;let _0xeab786=_0x378c6a-_0x1a7aa7;_0x56d8b8['dataStream']=''+_0x56d8b8[_0x718355(0x2ea)]['slice'](0x0,_0x1a7aa7)+_0x56d8b8['dataStream'][_0x718355(0x24c)](_0x378c6a),_0x41a4d0(_0x56d8b8,_0x1a7aa7,_0xeab786);}function _0x4b4995(_0x4f8e9d,_0x628562,_0x43648a){const _0x439800=_0x2dd6cc;_0x4f8e9d[_0x439800(0x1cc)]=_0x28a97b(_0x4f8e9d[_0x439800(0x1cc)],_0x628562,_0x43648a),_0x4f8e9d['sectionBreaks']=_0x28a97b(_0x4f8e9d[_0x439800(0x264)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x22d)]=_0x28a97b(_0x4f8e9d['customBlocks'],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x26c)]=_0x1b3f8d(_0x4f8e9d[_0x439800(0x26c)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x2ca)]=_0x334085(_0x4f8e9d[_0x439800(0x2ca)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x2ae)]=_0x4c5561(_0x4f8e9d[_0x439800(0x2ae)],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x31a)]=_0x4c5561(_0x4f8e9d[_0x439800(0x31a)],_0x628562,_0x43648a),_0x4f8e9d['customDecorations']=_0x4c5561(_0x4f8e9d['customDecorations'],_0x628562,_0x43648a),_0x4f8e9d[_0x439800(0x248)]=_0x4c5561(_0x4f8e9d['blockRanges'],_0x628562,_0x43648a);}function _0x41a4d0(_0x24c515,_0x3c9400,_0x5c966e){const _0x3c995f=_0x2dd6cc;var _0xc15cdf,_0x1eef74;_0x24c515[_0x3c995f(0x1cc)]=_0x1d30be(_0x24c515[_0x3c995f(0x1cc)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x264)]=_0x1d30be(_0x24c515[_0x3c995f(0x264)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x22d)]=_0x1d30be(_0x24c515['customBlocks'],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x26c)]=(_0xc15cdf=_0x3a5d60((_0x1eef74=_0x24c515[_0x3c995f(0x26c)])==null?void 0x0:_0x1eef74[_0x3c995f(0x1cf)](_0x5ddc55=>({..._0x5ddc55,'startIndex':_0x5ddc55['st'],'endIndex':_0x5ddc55['ed']})),_0x3c9400,_0x5c966e))==null?void 0x0:_0xc15cdf[_0x3c995f(0x1cf)](_0x5d855c=>{let {startIndex:_0x1ad7f6,endIndex:_0x309844,..._0x9da194}=_0x5d855c;return{..._0x9da194,'st':_0x1ad7f6,'ed':_0x309844};}),_0x24c515[_0x3c995f(0x2ca)]=_0x3a5d60(_0x24c515[_0x3c995f(0x2ca)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x2ae)]=_0x453935(_0x24c515[_0x3c995f(0x2ae)],_0x3c9400,_0x5c966e),_0x24c515['customRanges']=_0x453935(_0x24c515['customRanges'],_0x3c9400,_0x5c966e),_0x24c515['customDecorations']=_0x453935(_0x24c515[_0x3c995f(0x207)],_0x3c9400,_0x5c966e),_0x24c515[_0x3c995f(0x248)]=_0x453935(_0x24c515[_0x3c995f(0x248)],_0x3c9400,_0x5c966e);}function _0x28a97b(_0x3b69aa,_0x99d3f5,_0x4d8540){const _0x9707fd=_0x2dd6cc;return _0x3b69aa==null?void 0x0:_0x3b69aa[_0x9707fd(0x1cf)](_0x32644a=>_0x32644a[_0x9707fd(0x210)]>=_0x99d3f5?{..._0x32644a,'startIndex':_0x32644a['startIndex']+_0x4d8540}:_0x32644a);}function _0x1d30be(_0x4575c2,_0x361e47,_0x242a7b){const _0xc61799=_0x2dd6cc;let _0x1e29ff=_0x361e47+_0x242a7b;return _0x4575c2==null?void 0x0:_0x4575c2[_0xc61799(0x1cf)](_0x95e5ba=>_0x95e5ba[_0xc61799(0x210)]>=_0x361e47&&_0x95e5ba['startIndex']<_0x1e29ff?null:_0x95e5ba[_0xc61799(0x210)]>=_0x1e29ff?{..._0x95e5ba,'startIndex':_0x95e5ba[_0xc61799(0x210)]-_0x242a7b}:_0x95e5ba)[_0xc61799(0x2d9)](_0x3c42e1=>_0x3c42e1!=null);}function _0x1b3f8d(_0x552013,_0xc95c5e,_0x525e29){const _0xc6fe05=_0x2dd6cc;return _0x552013==null?void 0x0:_0x552013[_0xc6fe05(0x1cf)](_0x3bbd5e=>_0x3bbd5e['st']>=_0xc95c5e?{..._0x3bbd5e,'st':_0x3bbd5e['st']+_0x525e29,'ed':_0x3bbd5e['ed']+_0x525e29}:_0x3bbd5e['ed']>_0xc95c5e?{..._0x3bbd5e,'ed':_0x3bbd5e['ed']+_0x525e29}:_0x3bbd5e);}function _0x4c5561(_0x274361,_0x531db6,_0x4b6fac){const _0x5eecdd=_0x2dd6cc;return _0x274361==null?void 0x0:_0x274361[_0x5eecdd(0x1cf)](_0x2ab0e0=>(0x0,_0x268d47[_0x5eecdd(0x2f9)])(_0x2ab0e0,_0x531db6,_0x4b6fac));}function _0x334085(_0x494d3b,_0x24a2f7,_0x8c462c){const _0x4c9081=_0x2dd6cc;return _0x494d3b==null?void 0x0:_0x494d3b[_0x4c9081(0x1cf)](_0x3d9dec=>(0x0,_0x268d47['shiftExclusiveRangeOnInsert'])(_0x3d9dec,_0x24a2f7,_0x8c462c));}function _0x453935(_0x2877f5,_0x500360,_0x344815){const _0x4eedb1=_0x2dd6cc;return _0x2877f5==null?void 0x0:_0x2877f5['map'](_0x56b16d=>(0x0,_0x268d47[_0x4eedb1(0x1fe)])(_0x56b16d,_0x500360,_0x344815))[_0x4eedb1(0x2d9)](_0x1fe2d2=>_0x1fe2d2!=null);}function _0x3a5d60(_0x3f55ec,_0x1da359,_0x5368a8){const _0x153953=_0x2dd6cc;return _0x3f55ec==null?void 0x0:_0x3f55ec[_0x153953(0x1cf)](_0x223c37=>(0x0,_0x268d47[_0x153953(0x2f5)])(_0x223c37,_0x1da359,_0x5368a8))['filter'](_0x46ca61=>_0x46ca61!=null);}function _0x1ed592(_0xb013d4){const _0x3de716=_0x2dd6cc;if(!_0xb013d4[_0x3de716(0x31e)])throw Error(_0x3de716(0x301));return _0xb013d4[_0x3de716(0x31e)];}function _0xf7d2ca(_0x781f83){'@babel/helpers - typeof';const _0x5db298=_0x2dd6cc;return _0xf7d2ca=typeof Symbol==_0x5db298(0x2cb)&&typeof Symbol[_0x5db298(0x319)]==_0x5db298(0x1d5)?function(_0x57218c){return typeof _0x57218c;}:function(_0x525f42){const _0x1cfdd1=_0x5db298;return _0x525f42&&typeof Symbol=='function'&&_0x525f42['constructor']===Symbol&&_0x525f42!==Symbol[_0x1cfdd1(0x26a)]?_0x1cfdd1(0x1d5):typeof _0x525f42;},_0xf7d2ca(_0x781f83);}function _0x2f3f6c(_0x1ba17d,_0x5a86db){const _0xede545=_0x2dd6cc;if(_0xf7d2ca(_0x1ba17d)!=_0xede545(0x2f0)||!_0x1ba17d)return _0x1ba17d;var _0x50b754=_0x1ba17d[Symbol['toPrimitive']];if(_0x50b754!==void 0x0){var _0x1d3dee=_0x50b754['call'](_0x1ba17d,_0x5a86db||_0xede545(0x1d9));if(_0xf7d2ca(_0x1d3dee)!=_0xede545(0x2f0))return _0x1d3dee;throw TypeError(_0xede545(0x29c));}return(_0x5a86db===_0xede545(0x1de)?String:Number)(_0x1ba17d);}function _0x300607(_0x432d55){const _0x2b9d92=_0x2dd6cc;var _0x324351=_0x2f3f6c(_0x432d55,_0x2b9d92(0x1de));return _0xf7d2ca(_0x324351)==_0x2b9d92(0x1d5)?_0x324351:_0x324351+'';}function _0x2997b9(_0x21bada,_0x3d043b,_0x1e2175){const _0x1caa9e=_0x2dd6cc;return(_0x3d043b=_0x300607(_0x3d043b))in _0x21bada?Object[_0x1caa9e(0x1cd)](_0x21bada,_0x3d043b,{'value':_0x1e2175,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x21bada[_0x3d043b]=_0x1e2175,_0x21bada;}var _0x400aa0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(..._0x6de162){const _0x1b23b1=_0x2dd6cc;super(..._0x6de162),_0x2997b9(this,'_resources',new Map()),_0x2997b9(this,_0x1b23b1(0x260),new Map()),_0x2997b9(this,_0x1b23b1(0x20d),new Map()),_0x2997b9(this,'_change$',new _0x22c49e['Subject']()),_0x2997b9(this,_0x1b23b1(0x2bc),this[_0x1b23b1(0x27b)]['asObservable']());}['getFormula'](_0x493b8a,_0x89bbb4){const _0x346b1d=_0x2dd6cc;var _0xcdbeac;let _0x349fad=(_0xcdbeac=this[_0x346b1d(0x239)]['get'](_0x493b8a))==null?void 0x0:_0xcdbeac[_0x346b1d(0x2a3)][_0x89bbb4];return _0x349fad?_0x268d47[_0x346b1d(0x2da)][_0x346b1d(0x297)](_0x349fad):void 0x0;}[_0x2dd6cc(0x205)](_0x2f1a30){const _0x28395d=_0x2dd6cc;var _0xd77836;return _0x268d47[_0x28395d(0x2da)][_0x28395d(0x297)](((_0xd77836=this[_0x28395d(0x239)]['get'](_0x2f1a30))==null?void 0x0:_0xd77836[_0x28395d(0x2a3)])??{});}['getResource'](_0x2383b4){const _0x17ee14=_0x2dd6cc;let _0x5290c5=this[_0x17ee14(0x239)]['get'](_0x2383b4);return _0x5290c5?_0x268d47[_0x17ee14(0x2da)][_0x17ee14(0x297)](_0x5290c5):void 0x0;}[_0x2dd6cc(0x24f)](_0x5bdf6d,_0x43e02d,_0x4c3083){const _0x30c029=_0x2dd6cc;return this[_0x30c029(0x265)](_0x5bdf6d,{[_0x43e02d]:_0x4c3083});}[_0x2dd6cc(0x26f)](_0x4f8f91,_0x5958a0){const _0x5d1e93=_0x2dd6cc;return this['_loadErrors'][_0x5d1e93(0x223)](_0x4f8f91)||!_0x277cf0(_0x5958a0)?!0x1:(this[_0x5d1e93(0x239)][_0x5d1e93(0x234)](_0x4f8f91,{'formulas':_0x268d47[_0x5d1e93(0x2da)][_0x5d1e93(0x297)](_0x5958a0['formulas'])}),this[_0x5d1e93(0x27b)][_0x5d1e93(0x1e3)]({'unitId':_0x4f8f91}),!0x0);}[_0x2dd6cc(0x265)](_0x44d420,_0x6fdc1c){const _0x38ae48=_0x2dd6cc;if(this['_loadErrors'][_0x38ae48(0x223)](_0x44d420)||!Object[_0x38ae48(0x283)](_0x6fdc1c)['length']||!_0x277cf0({'formulas':_0x6fdc1c}))return!0x1;let _0x4c4b50=this[_0x38ae48(0x239)][_0x38ae48(0x249)](_0x44d420)??_0x2e7c75(),_0x12577c=_0x268d47[_0x38ae48(0x2da)][_0x38ae48(0x297)](_0x4c4b50);return Object[_0x38ae48(0x2bf)](_0x12577c[_0x38ae48(0x2a3)],_0x268d47[_0x38ae48(0x2da)][_0x38ae48(0x297)](_0x6fdc1c)),this['_resources'][_0x38ae48(0x234)](_0x44d420,_0x12577c),this[_0x38ae48(0x27b)][_0x38ae48(0x1e3)]({'unitId':_0x44d420,'rangeIds':Object['keys'](_0x6fdc1c)}),!0x0;}['removeFormula'](_0x568163,_0x3b2e4c){const _0x29771c=_0x2dd6cc;if(this[_0x29771c(0x20d)][_0x29771c(0x223)](_0x568163))return!0x1;let _0x2a8249=this[_0x29771c(0x239)][_0x29771c(0x249)](_0x568163);if(!(_0x2a8249!=null&&_0x2a8249['formulas'][_0x3b2e4c]))return!0x1;let _0x462279=_0x268d47[_0x29771c(0x2da)][_0x29771c(0x297)](_0x2a8249);return delete _0x462279[_0x29771c(0x2a3)][_0x3b2e4c],this[_0x29771c(0x239)][_0x29771c(0x234)](_0x568163,_0x462279),this['_change$'][_0x29771c(0x1e3)]({'unitId':_0x568163,'rangeIds':[_0x3b2e4c]}),!0x0;}[_0x2dd6cc(0x1d8)](_0x350d9d,_0x37a75a){const _0x3a41c8=_0x2dd6cc;return _0x277cf0(_0x37a75a)?(this[_0x3a41c8(0x239)][_0x3a41c8(0x234)](_0x350d9d,{'formulas':_0x268d47[_0x3a41c8(0x2da)]['deepClone'](_0x37a75a[_0x3a41c8(0x2a3)])}),this[_0x3a41c8(0x260)][_0x3a41c8(0x2aa)](_0x350d9d),this[_0x3a41c8(0x20d)][_0x3a41c8(0x2aa)](_0x350d9d),this['_change$'][_0x3a41c8(0x1e3)]({'unitId':_0x350d9d}),!0x0):(this[_0x3a41c8(0x1ed)](_0x350d9d,_0x37a75a,_0x3a41c8(0x2e2)),!0x1);}[_0x2dd6cc(0x251)](_0x9d1f8){const _0x424981=_0x2dd6cc;let _0x41bffa=this[_0x424981(0x239)][_0x424981(0x249)](_0x9d1f8);return _0x41bffa?_0x268d47[_0x424981(0x2da)][_0x424981(0x297)](_0x41bffa):this['_rawResources']['has'](_0x9d1f8)?_0x268d47[_0x424981(0x2da)]['deepClone'](this[_0x424981(0x260)][_0x424981(0x249)](_0x9d1f8)):_0x2e7c75();}[_0x2dd6cc(0x1db)](_0x336b0e){const _0x572f19=_0x2dd6cc;return this[_0x572f19(0x20d)][_0x572f19(0x249)](_0x336b0e);}[_0x2dd6cc(0x1e1)](_0x3e658d){const _0x58d312=_0x2dd6cc;this[_0x58d312(0x239)][_0x58d312(0x2aa)](_0x3e658d),this[_0x58d312(0x260)][_0x58d312(0x2aa)](_0x3e658d),this['_loadErrors']['delete'](_0x3e658d),this[_0x58d312(0x27b)][_0x58d312(0x1e3)]({'unitId':_0x3e658d});}['dispose'](){const _0x1c0487=_0x2dd6cc;this[_0x1c0487(0x239)][_0x1c0487(0x25b)](),this[_0x1c0487(0x260)][_0x1c0487(0x25b)](),this[_0x1c0487(0x20d)][_0x1c0487(0x25b)](),this[_0x1c0487(0x27b)][_0x1c0487(0x308)](),super[_0x1c0487(0x259)]();}[_0x2dd6cc(0x1ed)](_0x52dab0,_0x2eae2b,_0x306412){const _0x17c4a1=_0x2dd6cc;this[_0x17c4a1(0x239)][_0x17c4a1(0x2aa)](_0x52dab0),this[_0x17c4a1(0x260)][_0x17c4a1(0x234)](_0x52dab0,_0x268d47[_0x17c4a1(0x2da)]['deepClone'](_0x2eae2b)),this['_loadErrors'][_0x17c4a1(0x234)](_0x52dab0,_0x306412),this[_0x17c4a1(0x27b)][_0x17c4a1(0x1e3)]({'unitId':_0x52dab0});}};let _0x4057d2=function(_0x4b3e5b){const _0x2ac7a3=_0x2dd6cc;return _0x4b3e5b[_0x2ac7a3(0x2be)]=_0x2ac7a3(0x2fc),_0x4b3e5b[_0x2ac7a3(0x237)]='pending',_0x4b3e5b[_0x2ac7a3(0x23a)]=_0x2ac7a3(0x278),_0x4b3e5b['ERROR']=_0x2ac7a3(0x2e5),_0x4b3e5b;}({});function _0x26635b(_0x7c0f1c,_0x7f39e4){return function(_0x33a996,_0xf49257){_0x7f39e4(_0x33a996,_0xf49257,_0x7c0f1c);};}function _0x1047e5(_0x3cbc49,_0x20413a,_0x597516,_0x4c5c9a){const _0x5369dd=_0x2dd6cc;var _0xab1e4b=arguments[_0x5369dd(0x28f)],_0x137f4a=_0xab1e4b<0x3?_0x20413a:_0x4c5c9a===null?_0x4c5c9a=Object[_0x5369dd(0x293)](_0x20413a,_0x597516):_0x4c5c9a,_0x33d1d3;if(typeof Reflect==_0x5369dd(0x2f0)&&typeof Reflect[_0x5369dd(0x306)]==_0x5369dd(0x2cb))_0x137f4a=Reflect[_0x5369dd(0x306)](_0x3cbc49,_0x20413a,_0x597516,_0x4c5c9a);else{for(var _0x27f8db=_0x3cbc49[_0x5369dd(0x28f)]-0x1;_0x27f8db>=0x0;_0x27f8db--)(_0x33d1d3=_0x3cbc49[_0x27f8db])&&(_0x137f4a=(_0xab1e4b<0x3?_0x33d1d3(_0x137f4a):_0xab1e4b>0x3?_0x33d1d3(_0x20413a,_0x597516,_0x137f4a):_0x33d1d3(_0x20413a,_0x597516))||_0x137f4a);}return _0xab1e4b>0x3&&_0x137f4a&&Object[_0x5369dd(0x1cd)](_0x20413a,_0x597516,_0x137f4a),_0x137f4a;}let _0xd0fdb1=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x5920d3,_0x3c526d,_0x38928b){const _0x5caae9=_0x2dd6cc;super(),this[_0x5caae9(0x2bb)]=_0x5920d3,this['_registrationService']=_0x3c526d,this[_0x5caae9(0x2b2)]=_0x38928b,_0x2997b9(this,_0x5caae9(0x2c5),new Map()),_0x2997b9(this,_0x5caae9(0x311),new Map()),_0x2997b9(this,_0x5caae9(0x244),new _0x22c49e[(_0x5caae9(0x23b))]()),_0x2997b9(this,_0x5caae9(0x267),this['_presentationChanged$'][_0x5caae9(0x273)]()),this[_0x5caae9(0x2d2)](this['_registrationService'][_0x5caae9(0x216)][_0x5caae9(0x28a)](_0x329234=>{const _0x5e5f8c=_0x5caae9;for(let _0x3afef0 of Object['values'](_0x329234))for(let _0x30dcbe of Object[_0x5e5f8c(0x302)](_0x3afef0))_0x30dcbe['forEach'](_0xa51315=>this[_0x5e5f8c(0x1ce)](_0xa51315));}));}[_0x2dd6cc(0x2c9)](_0x57115d){const _0x5d5c88=_0x2dd6cc;var _0x4a5159;let _0x17d4fc=_0x57115d[_0x5d5c88(0x204)](),_0x24b739=((_0x4a5159=_0x57115d[_0x5d5c88(0x291)]()[_0x5d5c88(0x31e)])==null||(_0x4a5159=_0x4a5159[_0x5d5c88(0x31a)])==null?void 0x0:_0x4a5159[_0x5d5c88(0x2d9)](_0x10ebc7))??[],_0xf1e420=this[_0x5d5c88(0x2bb)][_0x5d5c88(0x205)](_0x17d4fc),_0x3cfcf5=new Set();for(let _0xd28c6a of _0x24b739){let _0x5d31ff=_0xf1e420[_0xd28c6a[_0x5d5c88(0x2e1)]];_0x5d31ff&&(_0x3cfcf5[_0x5d5c88(0x2db)](_0x17fbe8(_0x17d4fc,_0xd28c6a[_0x5d5c88(0x2e1)])),this[_0x5d5c88(0x1e8)]({'unitId':_0x17d4fc,'rangeId':_0xd28c6a[_0x5d5c88(0x2e1)]},_0x5d31ff));}for(let _0x5ec6e8 of Array[_0x5d5c88(0x295)](this[_0x5d5c88(0x2c5)][_0x5d5c88(0x302)]()))_0x5ec6e8[_0x5d5c88(0x30f)]===_0x17d4fc&&!_0x3cfcf5['has'](_0x17fbe8(_0x5ec6e8[_0x5d5c88(0x30f)],_0x5ec6e8[_0x5d5c88(0x2e1)]))&&this[_0x5d5c88(0x238)](_0x5ec6e8);}[_0x2dd6cc(0x1e8)](_0x871ec5,_0x31a10a){const _0x48b313=_0x2dd6cc;let _0x222f05=_0x17fbe8(_0x871ec5[_0x48b313(0x30f)],_0x871ec5[_0x48b313(0x2e1)]),_0x4034d7=this['_registrations'][_0x48b313(0x249)](_0x222f05),_0x7c9410=this['_hostExternalReferenceModel'][_0x48b313(0x202)](_0x871ec5['unitId']);if(_0x4034d7&&_0x4034d7['config'][_0x48b313(0x245)]===_0x31a10a[_0x48b313(0x245)]&&_0x4034d7[_0x48b313(0x2ce)]===_0x7c9410){_0x4034d7[_0x48b313(0x2b6)]=_0x31a10a;let _0x34cdcc=_0x4034d7['formulaId']?this['_registrationService'][_0x48b313(0x2d8)](_0x4034d7[_0x48b313(0x30f)],_0x4034d7[_0x48b313(0x30f)],_0x4034d7[_0x48b313(0x25d)])??void 0x0:void 0x0;_0x4034d7[_0x48b313(0x2ed)]=_0x34cdcc,this['_setPresentation'](_0x222f05,_0x13a530(_0x31a10a,_0x34cdcc));return;}_0x4034d7!=null&&_0x4034d7['formulaId']&&this[_0x48b313(0x2df)](_0x4034d7);let _0x5b9b38={..._0x871ec5,'config':_0x31a10a,'referenceRevision':_0x7c9410,'presentation':_0x13a530(_0x31a10a,void 0x0)};if(this['_registrations'][_0x48b313(0x234)](_0x222f05,_0x5b9b38),!_0x31a10a[_0x48b313(0x245)]['trim']())return;let _0x4cdfc8=this[_0x48b313(0x1f0)][_0x48b313(0x25e)](_0x871ec5[_0x48b313(0x30f)],_0x871ec5[_0x48b313(0x30f)],_0x31a10a[_0x48b313(0x245)],void 0x0,{'rangeId':_0x871ec5[_0x48b313(0x2e1)]},_0x144841[_0x48b313(0x2a9)][_0x48b313(0x227)],_0x871ec5[_0x48b313(0x2e1)]);_0x5b9b38[_0x48b313(0x25d)]=_0x4cdfc8,this[_0x48b313(0x311)]['set'](_0x4cdfc8,_0x222f05);}['unregister'](_0xd98cbb){const _0x4629b4=_0x2dd6cc;let _0xab9753=_0x17fbe8(_0xd98cbb[_0x4629b4(0x30f)],_0xd98cbb[_0x4629b4(0x2e1)]),_0x2e7461=this[_0x4629b4(0x2c5)]['get'](_0xab9753);_0x2e7461&&(this['_deleteRegistration'](_0x2e7461),this[_0x4629b4(0x2c5)][_0x4629b4(0x2aa)](_0xab9753));}[_0x2dd6cc(0x1fb)](_0x5015de){const _0x8ddb69=_0x2dd6cc;for(let _0x2a31f6 of Array[_0x8ddb69(0x295)](this[_0x8ddb69(0x2c5)][_0x8ddb69(0x302)]()))_0x2a31f6[_0x8ddb69(0x30f)]===_0x5015de&&this[_0x8ddb69(0x238)](_0x2a31f6);}[_0x2dd6cc(0x1d0)](_0x97b292){const _0x5e8a13=_0x2dd6cc;var _0x1d4be6;return(_0x1d4be6=this[_0x5e8a13(0x2c5)][_0x5e8a13(0x249)](_0x17fbe8(_0x97b292[_0x5e8a13(0x30f)],_0x97b292[_0x5e8a13(0x2e1)])))==null?void 0x0:_0x1d4be6[_0x5e8a13(0x31d)];}[_0x2dd6cc(0x241)](_0xc71369){const _0x102ab0=_0x2dd6cc;let _0xb33e21=this['_registrations']['get'](_0x17fbe8(_0xc71369['unitId'],_0xc71369[_0x102ab0(0x2e1)]));return _0xb33e21?_0x48bec3(_0xb33e21):void 0x0;}[_0x2dd6cc(0x247)](){const _0x4fbaaa=_0x2dd6cc;return Array[_0x4fbaaa(0x295)](this[_0x4fbaaa(0x2c5)]['values'](),_0x3faddc=>({'identity':{'unitId':_0x3faddc[_0x4fbaaa(0x30f)],'rangeId':_0x3faddc['rangeId']},'config':_0x3faddc[_0x4fbaaa(0x2b6)],'referenceRevision':_0x3faddc[_0x4fbaaa(0x2ce)],..._0x3faddc[_0x4fbaaa(0x2ed)]?{'liveResult':_0x3faddc[_0x4fbaaa(0x2ed)]}:null}));}[_0x2dd6cc(0x259)](){const _0x346f54=_0x2dd6cc;for(let _0x364d4e of this[_0x346f54(0x2c5)][_0x346f54(0x302)]())this[_0x346f54(0x2df)](_0x364d4e);this[_0x346f54(0x2c5)][_0x346f54(0x25b)](),this[_0x346f54(0x311)][_0x346f54(0x25b)](),this[_0x346f54(0x244)][_0x346f54(0x308)](),super[_0x346f54(0x259)]();}[_0x2dd6cc(0x1ce)](_0x3d5ca6){const _0x4210f8=_0x2dd6cc;let _0x53649f=this[_0x4210f8(0x311)][_0x4210f8(0x249)](_0x3d5ca6[_0x4210f8(0x25d)]),_0x340013=_0x53649f?this['_registrations'][_0x4210f8(0x249)](_0x53649f):void 0x0;_0x53649f&&_0x340013&&(_0x340013[_0x4210f8(0x2ed)]=_0x3d5ca6,this[_0x4210f8(0x1d7)](_0x53649f,_0x13a530(_0x340013[_0x4210f8(0x2b6)],_0x3d5ca6)));}['_setPresentation'](_0x1db7f9,_0x46fbb9){const _0x4dec9e=_0x2dd6cc;var _0x2d54cf,_0x399997;let _0x279bbc=this['_registrations'][_0x4dec9e(0x249)](_0x1db7f9);if(!_0x279bbc||_0xa30ea7(_0x279bbc['presentation'],_0x46fbb9))return;let _0x4463ba=_0x279bbc['presentation'],_0x1c0a88=_0x48bec3(_0x279bbc);_0x279bbc[_0x4dec9e(0x31d)]=_0x46fbb9,this[_0x4dec9e(0x244)][_0x4dec9e(0x1e3)]({'unitId':_0x279bbc['unitId'],'rangeId':_0x279bbc[_0x4dec9e(0x2e1)],'presentation':_0x46fbb9,'previousPresentation':_0x4463ba,'result':_0x48bec3(_0x279bbc),'previousResult':{..._0x1c0a88,..._0x4463ba,'value':(_0x2d54cf=_0x4463ba[_0x4dec9e(0x22b)])==null?void 0x0:_0x2d54cf['v'],'valueType':((_0x399997=_0x4463ba['cell'])==null?void 0x0:_0x399997['t'])??void 0x0}});}['_deleteRegistration'](_0x4bc8fb){const _0x284115=_0x2dd6cc;_0x4bc8fb[_0x284115(0x25d)]&&(this['_registrationService']['deleteFormula'](_0x4bc8fb[_0x284115(0x30f)],_0x4bc8fb[_0x284115(0x30f)],[_0x4bc8fb['formulaId']]),this['_formulaKeys'][_0x284115(0x2aa)](_0x4bc8fb[_0x284115(0x25d)]));}};_0xd0fdb1=_0x1047e5([_0x26635b(0x0,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0)),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x144841[_0x2dd6cc(0x285)])),_0x26635b(0x2,(0x0,_0x268d47['Inject'])(_0x35cdb4[_0x2dd6cc(0x243)]))],_0xd0fdb1);function _0x17fbe8(_0x52c9c0,_0x437483){return _0x52c9c0+'\x00'+_0x437483;}function _0x13a530(_0x38ae37,_0x275014){const _0x14f19b=_0x2dd6cc;return(0x0,_0x35cdb4['resolveFormulaResultPresentation'])({'numberFormat':_0x38ae37[_0x14f19b(0x23f)],'lastValue':_0x38ae37['lastValue'],'result':_0x275014});}function _0x48bec3(_0x29a339){const _0xa3e2bc=_0x2dd6cc;var _0x3a9d55,_0x265ee2,_0xcd2af9;let _0x108e57=_0x29a339[_0xa3e2bc(0x31d)],_0x28ff92=_0x29a339[_0xa3e2bc(0x2b6)][_0xa3e2bc(0x245)]['trim']()?_0x108e57['stale']||_0x108e57[_0xa3e2bc(0x22b)]==null?_0xa3e2bc(0x29e):((_0x3a9d55=_0x29a339['liveResult'])==null?void 0x0:_0x3a9d55['status'])===_0x144841[_0xa3e2bc(0x30c)][_0xa3e2bc(0x22a)]?_0xa3e2bc(0x2e5):'success':_0xa3e2bc(0x2fc);return{..._0x108e57,'status':_0x28ff92,'value':(_0x265ee2=_0x108e57[_0xa3e2bc(0x22b)])==null?void 0x0:_0x265ee2['v'],'valueType':((_0xcd2af9=_0x108e57[_0xa3e2bc(0x22b)])==null?void 0x0:_0xcd2af9['t'])??void 0x0};}function _0xa30ea7(_0x42b65d,_0x4d163a){const _0x1372b8=_0x2dd6cc;var _0x1e0e3b,_0x2f18a5,_0x55bb4b,_0x1ad9b6;return _0x42b65d[_0x1372b8(0x2fe)]===_0x4d163a[_0x1372b8(0x2fe)]&&_0x42b65d[_0x1372b8(0x209)]===_0x4d163a[_0x1372b8(0x209)]&&_0x42b65d[_0x1372b8(0x2b5)]===_0x4d163a[_0x1372b8(0x2b5)]&&_0x42b65d[_0x1372b8(0x2a4)]===_0x4d163a[_0x1372b8(0x2a4)]&&_0x42b65d[_0x1372b8(0x240)]===_0x4d163a[_0x1372b8(0x240)]&&((_0x1e0e3b=_0x42b65d[_0x1372b8(0x22b)])==null?void 0x0:_0x1e0e3b['t'])===((_0x2f18a5=_0x4d163a['cell'])==null?void 0x0:_0x2f18a5['t'])&&Object['is']((_0x55bb4b=_0x42b65d[_0x1372b8(0x22b)])==null?void 0x0:_0x55bb4b['v'],(_0x1ad9b6=_0x4d163a[_0x1372b8(0x22b)])==null?void 0x0:_0x1ad9b6['v']);}let _0x2a530f={'id':_0x2dd6cc(0x26e),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x271)],'handler':(_0x5e96d3,_0x53dc0f)=>!(_0x53dc0f!=null&&_0x53dc0f[_0x2dd6cc(0x30f)])||!_0x53dc0f[_0x2dd6cc(0x2e1)]||!_0x53dc0f[_0x2dd6cc(0x2b6)]?!0x1:_0x5e96d3['get'](_0x400aa0)[_0x2dd6cc(0x24f)](_0x53dc0f[_0x2dd6cc(0x30f)],_0x53dc0f[_0x2dd6cc(0x2e1)],_0x53dc0f['config'])},_0x36f934={'id':_0x2dd6cc(0x2ac),'type':_0x268d47['CommandType'][_0x2dd6cc(0x271)],'handler':(_0x1e2f5b,_0x6265eb)=>!(_0x6265eb!=null&&_0x6265eb[_0x2dd6cc(0x30f)])||!_0x6265eb[_0x2dd6cc(0x2e1)]?!0x1:_0x1e2f5b[_0x2dd6cc(0x249)](_0x400aa0)['removeFormula'](_0x6265eb[_0x2dd6cc(0x30f)],_0x6265eb[_0x2dd6cc(0x2e1)])},_0x1245e8={'id':_0x2dd6cc(0x1ff),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x271)],'handler':(_0x1f750f,_0x20e152)=>!(_0x20e152!=null&&_0x20e152[_0x2dd6cc(0x30f)])||!_0x20e152[_0x2dd6cc(0x22f)]?!0x1:_0x1f750f[_0x2dd6cc(0x249)](_0x400aa0)['setResource'](_0x20e152['unitId'],_0x20e152['resource'])},_0x5b0b65={'id':_0x2dd6cc(0x1e5),'type':_0x268d47[_0x2dd6cc(0x2fa)]['MUTATION'],'handler':(_0x55f801,_0x3a0936)=>{const _0x3bb7a9=_0x2dd6cc;if(!(_0x3a0936!=null&&_0x3a0936[_0x3bb7a9(0x30f)])||!_0x3a0936[_0x3bb7a9(0x279)][_0x3bb7a9(0x28f)])return!0x1;let _0x5e4208=_0x55f801[_0x3bb7a9(0x249)](_0x400aa0),_0x50353d=_0x55f801[_0x3bb7a9(0x249)](_0x35cdb4['HostExternalReferenceModel']),_0x2d3053=_0x5e4208['getResource'](_0x3a0936[_0x3bb7a9(0x30f)]);if(!_0x2d3053)return!0x1;let _0x2bb0f9=_0x268d47[_0x3bb7a9(0x2da)]['deepClone'](_0x2d3053),_0x14b35d=!0x1;for(let _0x823061 of _0x3a0936[_0x3bb7a9(0x279)]){var _0x391b86,_0x5165a4,_0x1921fc,_0x95b8ee;let _0xd4c3f7=_0x2bb0f9['formulas'][_0x823061['rangeId']];_0xd4c3f7&&_0xd4c3f7[_0x3bb7a9(0x245)]===_0x823061['expectedFormula']&&((_0x391b86=_0xd4c3f7[_0x3bb7a9(0x23f)])==null?void 0x0:_0x391b86[_0x3bb7a9(0x2b5)])===_0x823061[_0x3bb7a9(0x310)]&&_0x50353d[_0x3bb7a9(0x202)](_0x3a0936[_0x3bb7a9(0x30f)])===_0x823061['expectedReferenceRevision']&&(((_0x5165a4=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x5165a4['v'])!==_0x823061[_0x3bb7a9(0x2c2)]['v']||((_0x1921fc=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x1921fc['t'])!==_0x823061[_0x3bb7a9(0x2c2)]['t']||((_0x95b8ee=_0xd4c3f7[_0x3bb7a9(0x2c2)])==null?void 0x0:_0x95b8ee[_0x3bb7a9(0x2b5)])!==_0x823061['lastValue'][_0x3bb7a9(0x2b5)])&&(_0xd4c3f7[_0x3bb7a9(0x2c2)]=_0x268d47[_0x3bb7a9(0x2da)][_0x3bb7a9(0x297)](_0x823061[_0x3bb7a9(0x2c2)]),_0x14b35d=!0x0);}return!_0x14b35d||_0x5e4208[_0x3bb7a9(0x26f)](_0x3a0936['unitId'],_0x2bb0f9);}},_0x2e61bb={'id':_0x2dd6cc(0x2c4),'type':_0x268d47[_0x2dd6cc(0x2fa)]['COMMAND'],'handler':(_0xb4ba4d,_0x4cf34c)=>{const _0x27e135=_0x2dd6cc;if(!(_0x4cf34c!=null&&_0x4cf34c['formula'][_0x27e135(0x2a8)]()))return!0x1;let _0x3205a1=_0x2a4cda(_0xb4ba4d,_0x4cf34c[_0x27e135(0x30f)],'');if(!_0x3205a1)return!0x1;let _0x4c77f4=_0x5e7b80(_0x4cf34c[_0x27e135(0x23e)],_0x3205a1[_0x27e135(0x31e)],_0x2ebd77(_0xb4ba4d,_0x3205a1['unitId']));if(!_0x4c77f4)return!0x1;let _0x347017=_0x4eaf68(_0xb4ba4d,_0x3205a1[_0x27e135(0x30f)],_0x4cf34c[_0x27e135(0x245)],_0x4cf34c[_0x27e135(0x28b)]??[]);if(!_0x347017)return!0x1;let _0x456956=_0x5c65a8(_0x3205a1['body'],_0x3205a1[_0x27e135(0x20c)],_0x3205a1[_0x27e135(0x30f)]),_0x5a0efe=_0x4ca3c2({'documentData':_0x3205a1[_0x27e135(0x313)],'resource':_0x3205a1['resource'],'rangeId':_0x456956,'config':{'formula':_0x4cf34c[_0x27e135(0x245)],..._0x4cf34c[_0x27e135(0x23f)]?{'numberFormat':_0x4cf34c[_0x27e135(0x23f)]}:null},'startOffset':_0x4c77f4[_0x27e135(0x30e)],'endOffset':_0x4c77f4[_0x27e135(0x1e9)]});if(!_0x5a0efe)return!0x1;let _0x4650aa=(0x0,_0x35cdb4['buildUpsertHostExternalReferenceMutations'])(_0xb4ba4d,_0x3205a1[_0x27e135(0x30f)],_0x347017);return!_0x4650aa||!_0x287b85({'accessor':_0xb4ba4d,'document':_0x3205a1['document'],'unitId':_0x3205a1[_0x27e135(0x30f)],'trigger':_0x2e61bb['id'],'rangeId':_0x456956,'previousResource':_0x3205a1[_0x27e135(0x22f)],'nextResource':_0x5a0efe[_0x27e135(0x290)],'previousDocumentData':_0x3205a1[_0x27e135(0x313)],'nextDocumentData':_0x5a0efe[_0x27e135(0x31c)],'cursorOffset':_0x5a0efe['cursorOffset'],'externalMutations':_0x4650aa})?!0x1:{'rangeId':_0x456956,'startOffset':_0x5a0efe[_0x27e135(0x23d)]-0x1,'endOffset':_0x5a0efe[_0x27e135(0x23d)]};}},_0x19bd2b={'id':_0x2dd6cc(0x2dc),'type':_0x268d47['CommandType'][_0x2dd6cc(0x1da)],'handler':(_0x49c613,_0x51795c)=>{const _0x5bd1e4=_0x2dd6cc;if(!(_0x51795c!=null&&_0x51795c['rangeId'])||!_0x51795c[_0x5bd1e4(0x245)][_0x5bd1e4(0x2a8)]())return!0x1;let _0x461fbc=_0x2a4cda(_0x49c613,_0x51795c[_0x5bd1e4(0x30f)],''),_0x1945a0=_0x461fbc==null?void 0x0:_0x461fbc[_0x5bd1e4(0x20c)][_0x5bd1e4(0x2a5)](_0x461fbc[_0x5bd1e4(0x30f)],_0x51795c[_0x5bd1e4(0x2e1)]),_0x1f03b3=_0x461fbc?_0x5bfb7e(_0x461fbc[_0x5bd1e4(0x313)][_0x5bd1e4(0x31e)],_0x51795c[_0x5bd1e4(0x2e1)]):void 0x0;if(!_0x461fbc||!_0x1945a0||!_0x1f03b3)return!0x1;let _0x93031e=_0x4eaf68(_0x49c613,_0x461fbc[_0x5bd1e4(0x30f)],_0x51795c['formula'],_0x51795c['externalReferences']??[]);if(!_0x93031e)return!0x1;let _0x31ae5b=(0x0,_0x35cdb4[_0x5bd1e4(0x276)])(_0x49c613,_0x461fbc['unitId'],_0x93031e);if(!_0x31ae5b)return!0x1;let _0x10ccfa=_0x28db7b(_0x461fbc[_0x5bd1e4(0x22f)]);return _0x10ccfa['formulas'][_0x51795c['rangeId']]={'formula':_0x51795c[_0x5bd1e4(0x245)],..._0x51795c[_0x5bd1e4(0x23f)]?{'numberFormat':_0x51795c[_0x5bd1e4(0x23f)]}:_0x1945a0[_0x5bd1e4(0x23f)]?{'numberFormat':_0x1945a0[_0x5bd1e4(0x23f)]}:null},_0x287b85({'accessor':_0x49c613,'document':_0x461fbc['document'],'unitId':_0x461fbc['unitId'],'trigger':_0x19bd2b['id'],'rangeId':_0x51795c[_0x5bd1e4(0x2e1)],'previousResource':_0x461fbc[_0x5bd1e4(0x22f)],'nextResource':_0x10ccfa,'cursorOffset':_0x1f03b3[_0x5bd1e4(0x31b)]+0x1,'externalMutations':_0x31ae5b});}},_0x450b4f={'id':_0x2dd6cc(0x23c),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x24136e,_0x4fc9f6)=>{const _0x480963=_0x2dd6cc;if(!(_0x4fc9f6!=null&&_0x4fc9f6[_0x480963(0x2e1)]))return!0x1;let _0x2869f2=_0x2a4cda(_0x24136e,_0x4fc9f6[_0x480963(0x30f)],''),_0x1d85fe=_0x2869f2==null?void 0x0:_0x2869f2[_0x480963(0x20c)]['getFormula'](_0x2869f2[_0x480963(0x30f)],_0x4fc9f6[_0x480963(0x2e1)]),_0x256b68=_0x2869f2?_0x5bfb7e(_0x2869f2[_0x480963(0x313)][_0x480963(0x31e)],_0x4fc9f6[_0x480963(0x2e1)]):void 0x0;if(!_0x2869f2||!_0x1d85fe||!_0x256b68)return!0x1;let _0x4bf076=_0x28db7b(_0x2869f2[_0x480963(0x22f)]);return _0x4bf076[_0x480963(0x2a3)][_0x4fc9f6['rangeId']]={..._0x1d85fe,..._0x4fc9f6[_0x480963(0x23f)]?{'numberFormat':_0x4fc9f6['numberFormat']}:null},_0x4fc9f6[_0x480963(0x23f)]||delete _0x4bf076[_0x480963(0x2a3)][_0x4fc9f6[_0x480963(0x2e1)]][_0x480963(0x23f)],_0x287b85({'accessor':_0x24136e,'document':_0x2869f2['document'],'unitId':_0x2869f2[_0x480963(0x30f)],'trigger':_0x450b4f['id'],'rangeId':_0x4fc9f6['rangeId'],'previousResource':_0x2869f2['resource'],'nextResource':_0x4bf076,'cursorOffset':_0x256b68[_0x480963(0x31b)]+0x1,'externalMutations':{}});}},_0x36cdb0={'id':'docs-formula.command.remove','type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x35fb26,_0x3c4ddc)=>_0x3f1faf(_0x35fb26,_0x3c4ddc,'',_0x36cdb0['id'])},_0x360b38={'id':_0x2dd6cc(0x1f5),'type':_0x268d47[_0x2dd6cc(0x2fa)][_0x2dd6cc(0x1da)],'handler':(_0x4d6ee8,_0x307bf6)=>_0x3f1faf(_0x4d6ee8,_0x307bf6,(_0x307bf6==null?void 0x0:_0x307bf6['text'])??'',_0x360b38['id'])},_0x4196d1={'id':_0x2dd6cc(0x282),'type':_0x268d47['CommandType'][_0x2dd6cc(0x1da)],'handler':(_0xbf27cb,_0x2c9688)=>{const _0x814be5=_0x2dd6cc;if(!(_0x2c9688!=null&&_0x2c9688[_0x814be5(0x2e1)]))return!0x1;let _0x322760=_0x2a4cda(_0xbf27cb,_0x2c9688[_0x814be5(0x30f)],'');if(!_0x322760)return!0x1;let _0x15983c=_0xbf27cb['get'](_0xd0fdb1)[_0x814be5(0x241)]({'unitId':_0x322760[_0x814be5(0x30f)],'rangeId':_0x2c9688[_0x814be5(0x2e1)]});return _0x15983c?_0x3f1faf(_0xbf27cb,_0x2c9688,_0x15983c[_0x814be5(0x2fe)],_0x4196d1['id']):!0x1;}};function _0x3f1faf(_0x1502e0,_0x25580d,_0x27c686,_0x3d4ec5){const _0x2d9240=_0x2dd6cc;if(!(_0x25580d!=null&&_0x25580d['rangeId']))return!0x1;let _0x151fe1=_0x2a4cda(_0x1502e0,_0x25580d[_0x2d9240(0x30f)],'');if(!_0x151fe1)return!0x1;let _0x3eba76=_0x366cd0({'documentData':_0x151fe1[_0x2d9240(0x313)],'resource':_0x151fe1[_0x2d9240(0x22f)],'rangeId':_0x25580d['rangeId'],'text':_0x27c686});return _0x3eba76?_0x287b85({'accessor':_0x1502e0,'document':_0x151fe1[_0x2d9240(0x2a1)],'unitId':_0x151fe1[_0x2d9240(0x30f)],'trigger':_0x3d4ec5,'rangeId':_0x25580d[_0x2d9240(0x2e1)],'previousResource':_0x151fe1[_0x2d9240(0x22f)],'nextResource':_0x3eba76['nextResource'],'previousDocumentData':_0x151fe1[_0x2d9240(0x313)],'nextDocumentData':_0x3eba76[_0x2d9240(0x31c)],'cursorOffset':_0x3eba76[_0x2d9240(0x23d)],'externalMutations':{}}):!0x1;}function _0x2a4cda(_0x845b88,_0xc47cde,_0xe88d04){const _0x5114b4=_0x2dd6cc;if(_0xe88d04)return null;let _0x4ca932=_0x845b88['get'](_0x268d47['IUniverInstanceService']),_0x4aaf0f=(_0xc47cde?_0x4ca932[_0x5114b4(0x2a2)](_0xc47cde,_0x268d47[_0x5114b4(0x212)][_0x5114b4(0x254)]):_0x4ca932['getCurrentUnitOfType'](_0x268d47['UniverInstanceType'][_0x5114b4(0x254)]))??null;if(!_0x4aaf0f)return null;let _0x498a35=_0x4aaf0f['getSnapshot'](),_0xb3eb8e=_0x498a35[_0x5114b4(0x31e)];if(_0x498a35[_0x5114b4(0x250)]||!_0xb3eb8e)return null;let _0x2bae34=_0x845b88['get'](_0x400aa0);return _0x2bae34['getLoadError'](_0x4aaf0f[_0x5114b4(0x204)]())?null:{'document':_0x4aaf0f,'body':_0xb3eb8e,'documentData':_0x498a35,'model':_0x2bae34,'resource':_0x2bae34[_0x5114b4(0x30b)](_0x4aaf0f['getUnitId']())??_0x2e7c75(),'unitId':_0x4aaf0f[_0x5114b4(0x204)]()};}function _0x2ebd77(_0x25f21f,_0x47916d){const _0xc3af5e=_0x2dd6cc;var _0xfdf299;return(_0xfdf299=_0x25f21f[_0xc3af5e(0x249)](_0x13b587[_0xc3af5e(0x2d7)])['getTextRanges']({'subUnitId':_0x47916d,'unitId':_0x47916d}))==null?void 0x0:_0xfdf299[0x0];}function _0x5e7b80(_0x5e136f,_0x4d270b,_0x5adde4){const _0x1533c9=_0x2dd6cc;if((_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x2dd)){var _0x3e3484;let _0x536916=((_0x3e3484=_0x4d270b[_0x1533c9(0x1cc)])==null?void 0x0:_0x3e3484[_0x1533c9(0x2d9)](_0x1bea6e=>_0x1bea6e['paragraphId']===_0x5e136f[_0x1533c9(0x220)]))??[];if(_0x536916['length']!==0x1)return null;let _0x57932c=_0x536916[0x0],_0x1b6d1f=(0x0,_0x268d47[_0x1533c9(0x222)])(_0x4d270b,_0x57932c),_0x5ed7cc=_0x57932c[_0x1533c9(0x210)]-_0x1b6d1f,_0x271a49=_0x5e136f['position']===_0x1533c9(0x2eb)?_0x5ed7cc:_0x5e136f[_0x1533c9(0x27e)];if(!Number['isInteger'](_0x271a49)||_0x271a49<0x0||_0x271a49>_0x5ed7cc)return null;let _0x2d81e5=_0x1b6d1f+_0x271a49;return{'startOffset':_0x2d81e5,'endOffset':_0x2d81e5};}if((_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x305))return!Number[_0x1533c9(0x307)](_0x5e136f[_0x1533c9(0x30e)])||!Number[_0x1533c9(0x307)](_0x5e136f['endOffset'])?null:{'startOffset':Math[_0x1533c9(0x1df)](_0x5e136f[_0x1533c9(0x30e)],_0x5e136f[_0x1533c9(0x1e9)]),'endOffset':Math[_0x1533c9(0x1ea)](_0x5e136f[_0x1533c9(0x30e)],_0x5e136f[_0x1533c9(0x1e9)])};let _0x4362c2=(_0x5e136f==null?void 0x0:_0x5e136f[_0x1533c9(0x253)])===_0x1533c9(0x2d4)?_0x5e136f[_0x1533c9(0x2d4)]:_0x5adde4;return!_0x4362c2||_0x4362c2[_0x1533c9(0x233)]?null:{'startOffset':Math[_0x1533c9(0x1df)](_0x4362c2['startOffset'],_0x4362c2['endOffset']),'endOffset':Math[_0x1533c9(0x1ea)](_0x4362c2['startOffset'],_0x4362c2[_0x1533c9(0x1e9)])};}function _0x4eaf68(_0x74cb9b,_0xf8b55d,_0x232643,_0x5ad803){const _0x479e85=_0x2dd6cc;let _0xf057d=_0x74cb9b[_0x479e85(0x249)](_0x144841[_0x479e85(0x256)]),_0x18714f=_0x232643['startsWith']('=')?_0x232643[_0x479e85(0x24c)](0x1):_0x232643,_0x1f1e04=_0xf057d[_0x479e85(0x280)](_0x18714f);if(!_0x1f1e04)return null;let _0x263955=_0x74cb9b[_0x479e85(0x249)](_0x35cdb4[_0x479e85(0x243)]),_0x1ebfd2=(0x0,_0x35cdb4[_0x479e85(0x255)])({'qualifiers':(0x0,_0x35cdb4[_0x479e85(0x270)])(_0x1f1e04),'explicitReferences':_0x5ad803??[],'resolveBinding':_0x12b8b3=>_0x263955[_0x479e85(0x1e2)](_0xf8b55d,_0x12b8b3)});return _0x1ebfd2[_0x479e85(0x1e7)]===_0x479e85(0x2b3)?_0x1ebfd2[_0x479e85(0x281)]:null;}function _0x5c65a8(_0x3622af,_0x1bdc4c,_0x12b388){const _0x50b430=_0x2dd6cc;var _0x4015a3;let _0x1efa2b=(0x0,_0x268d47[_0x50b430(0x269)])(0x6);for(;_0x3622af!=null&&(_0x4015a3=_0x3622af[_0x50b430(0x31a)])!=null&&_0x4015a3[_0x50b430(0x218)](_0xfee56c=>_0xfee56c[_0x50b430(0x2e1)]===_0x1efa2b)||_0x1bdc4c[_0x50b430(0x2a5)](_0x12b388,_0x1efa2b);)_0x1efa2b=(0x0,_0x268d47[_0x50b430(0x269)])(0x6);return _0x1efa2b;}function _0x4ca3c2(_0x1aaedf){try{return _0x40b110(_0x1aaedf);}catch(_0xeb8ea0){if(_0xeb8ea0 instanceof _0x4d259a)return null;throw _0xeb8ea0;}}function _0x476677(_0x3b9222){const _0x7f4748=_0x2dd6cc;let _0x46672e=_0x3b9222['previousDocumentData']&&_0x3b9222[_0x7f4748(0x31c)]?_0x2a0ac5(_0x3b9222[_0x7f4748(0x2a1)],_0x3b9222[_0x7f4748(0x30f)],_0x3b9222[_0x7f4748(0x1d3)],_0x3b9222['nextDocumentData'],_0x3b9222[_0x7f4748(0x23d)],_0x3b9222[_0x7f4748(0x2d3)]):null;return _0x3b9222[_0x7f4748(0x1d3)]&&_0x3b9222[_0x7f4748(0x31c)]&&!_0x46672e?null:{'documentRedo':_0x46672e,'resourceRedo':{'id':_0x1245e8['id'],'params':{'unitId':_0x3b9222[_0x7f4748(0x30f)],'resource':_0x3b9222[_0x7f4748(0x290)]}},'resourceUndo':{'id':_0x1245e8['id'],'params':{'unitId':_0x3b9222['unitId'],'resource':_0x3b9222[_0x7f4748(0x21e)]}}};}function _0x8660bc(_0x3a9d5a,_0x2e620a,_0x1cbde6,_0x49311e){const _0x2ff6cf=_0x2dd6cc;_0x49311e[_0x2ff6cf(0x288)]({'id':_0x3a9d5a[_0x2ff6cf(0x2d3)]+':'+_0x3a9d5a[_0x2ff6cf(0x2e1)],'unitID':_0x3a9d5a[_0x2ff6cf(0x30f)],'redoMutations':[..._0x3a9d5a[_0x2ff6cf(0x29d)][_0x2ff6cf(0x2de)]?[_0x3a9d5a[_0x2ff6cf(0x29d)]['redoMutation']]:[],..._0x2e620a['documentRedo']?[_0x2e620a['documentRedo']]:[],_0x2e620a['resourceRedo']],'undoMutations':[_0x2e620a['resourceUndo'],..._0x1cbde6?[_0x1cbde6]:[],..._0x3a9d5a[_0x2ff6cf(0x29d)]['undoMutation']?[_0x3a9d5a[_0x2ff6cf(0x29d)]['undoMutation']]:[]]});}function _0x287b85(_0x3f6cdb){const _0x2762c4=_0x2dd6cc;let _0x530fd1=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x268d47[_0x2762c4(0x1ef)]),_0x30f62f=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x268d47[_0x2762c4(0x2ff)]),_0x551318=_0x3f6cdb[_0x2762c4(0x221)][_0x2762c4(0x249)](_0x13b587[_0x2762c4(0x2d7)]),_0x43e76b=_0x476677(_0x3f6cdb);if(!_0x43e76b)return!0x1;let _0x6dfb78=!0x1,_0x3cbb44=null,_0x112753=!0x1;try{if(_0x3f6cdb[_0x2762c4(0x29d)][_0x2762c4(0x2de)]){if(!_0x530fd1[_0x2762c4(0x1f8)](_0x3f6cdb[_0x2762c4(0x29d)]['redoMutation']['id'],_0x3f6cdb[_0x2762c4(0x29d)][_0x2762c4(0x2de)]['params']))return!0x1;_0x6dfb78=!0x0;}if(_0x43e76b[_0x2762c4(0x30a)]){let _0x39366a=_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x30a)]['id'],_0x43e76b['documentRedo'][_0x2762c4(0x2d5)]);if(!_0x39366a)return _0xb9b145(_0x530fd1,_0x3f6cdb[_0x2762c4(0x29d)],_0x6dfb78),!0x1;_0x3cbb44={'id':_0x13b587[_0x2762c4(0x1eb)]['id'],'params':{..._0x39366a,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x24a)]['id'],_0x43e76b[_0x2762c4(0x24a)][_0x2762c4(0x2d5)]))return _0x25a2c0(_0x530fd1,_0x3cbb44),_0xb9b145(_0x530fd1,_0x3f6cdb[_0x2762c4(0x29d)],_0x6dfb78),!0x1;_0x112753=!0x0,_0x8660bc(_0x3f6cdb,_0x43e76b,_0x3cbb44,_0x30f62f);}catch(_0x588ff9){throw _0x112753&&_0x530fd1[_0x2762c4(0x1f8)](_0x43e76b[_0x2762c4(0x224)]['id'],_0x43e76b[_0x2762c4(0x224)][_0x2762c4(0x2d5)]),_0x25a2c0(_0x530fd1,_0x3cbb44),_0xb9b145(_0x530fd1,_0x3f6cdb['externalMutations'],_0x6dfb78),_0x588ff9;}return _0x551318[_0x2762c4(0x2f8)]([{'startOffset':_0x3f6cdb[_0x2762c4(0x23d)],'endOffset':_0x3f6cdb[_0x2762c4(0x23d)],'segmentId':''}],{'unitId':_0x3f6cdb['unitId'],'subUnitId':_0x3f6cdb[_0x2762c4(0x30f)]},!0x1,{[_0x13b587[_0x2762c4(0x304)]]:!0x0}),!0x0;}function _0x2a0ac5(_0x259087,_0x210302,_0x1dbc52,_0xa033ab,_0x35b562,_0x4369bd){const _0x1a2d2e=_0x2dd6cc;let _0x35f1db=_0x383ae5(_0x1dbc52,_0xa033ab,(0x0,_0x268d47[_0x1a2d2e(0x2c8)])(_0x259087,''));return _0x35f1db?{'id':_0x13b587[_0x1a2d2e(0x1eb)]['id'],'params':{'unitId':_0x210302,'actions':_0x35f1db,'segmentId':'','textRanges':[{'startOffset':_0x35b562,'endOffset':_0x35b562,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x4369bd}}:null;}function _0x25a2c0(_0x29319f,_0x14ba57){const _0x1b4a4e=_0x2dd6cc;_0x14ba57&&_0x29319f[_0x1b4a4e(0x1f8)](_0x14ba57['id'],_0x14ba57[_0x1b4a4e(0x2d5)]);}function _0xb9b145(_0x2b6bad,_0x1d5d62,_0x20c652){const _0x1e6f1c=_0x2dd6cc;_0x20c652&&_0x1d5d62[_0x1e6f1c(0x1d4)]&&_0x2b6bad[_0x1e6f1c(0x1f8)](_0x1d5d62[_0x1e6f1c(0x1d4)]['id'],_0x1d5d62[_0x1e6f1c(0x1d4)][_0x1e6f1c(0x2d5)]);}function _0x383ae5(_0x348555,_0x52dfc5,_0x28a1b6){const _0x35fb24=_0x2dd6cc;let _0x2b1627=_0x348555[_0x35fb24(0x31e)],_0x5b763a=_0x52dfc5[_0x35fb24(0x31e)],_0x10c9d7=_0x497697(_0x2b1627==null?void 0x0:_0x2b1627['dataStream'],_0x5b763a==null?void 0x0:_0x5b763a[_0x35fb24(0x2ea)]);if(!_0x10c9d7||!_0x5b763a)return null;let _0x260304=new _0x268d47[(_0x35fb24(0x1f7))]();return _0x260304[_0x35fb24(0x25f)](_0x10c9d7[_0x35fb24(0x2f3)]),_0x10c9d7[_0x35fb24(0x28c)]>0x0&&_0x260304[_0x35fb24(0x294)](_0x10c9d7[_0x35fb24(0x28c)],(0x0,_0x268d47[_0x35fb24(0x268)])(_0x5b763a,_0x10c9d7[_0x35fb24(0x2f3)],_0x10c9d7['start']+_0x10c9d7[_0x35fb24(0x28c)],!0x1)),_0x10c9d7[_0x35fb24(0x201)]>0x0&&_0x260304[_0x35fb24(0x2aa)](_0x10c9d7[_0x35fb24(0x201)]),_0x268d47[_0x35fb24(0x258)]['getInstance']()['editOp'](_0x260304[_0x35fb24(0x251)](),_0x28a1b6);}function _0x497697(_0x3879b0,_0x418d77){const _0x8f301d=_0x2dd6cc;if(_0x3879b0==null||_0x418d77==null||_0x3879b0===_0x418d77)return null;let _0x30d6bc=0x0;for(;_0x30d6bc<_0x3879b0[_0x8f301d(0x28f)]&&_0x30d6bc<_0x418d77[_0x8f301d(0x28f)]&&_0x3879b0[_0x30d6bc]===_0x418d77[_0x30d6bc];)_0x30d6bc+=0x1;let _0x11a9a1=_0x3879b0['length'],_0x39ae8e=_0x418d77[_0x8f301d(0x28f)];for(;_0x11a9a1>_0x30d6bc&&_0x39ae8e>_0x30d6bc&&_0x3879b0[_0x11a9a1-0x1]===_0x418d77[_0x39ae8e-0x1];)--_0x11a9a1,--_0x39ae8e;return{'start':_0x30d6bc,'deleteLength':_0x11a9a1-_0x30d6bc,'insertLength':_0x39ae8e-_0x30d6bc};}function _0x28db7b(_0x31b277){const _0x16e26d=_0x2dd6cc;return{'formulas':Object[_0x16e26d(0x2b7)](Object['entries'](_0x31b277[_0x16e26d(0x2a3)])[_0x16e26d(0x1cf)](([_0x2f25b0,_0x2e1829])=>[_0x2f25b0,{..._0x2e1829,..._0x2e1829[_0x16e26d(0x23f)]?{'numberFormat':{..._0x2e1829[_0x16e26d(0x23f)]}}:null,..._0x2e1829[_0x16e26d(0x2c2)]?{'lastValue':{..._0x2e1829[_0x16e26d(0x2c2)]}}:null}]))};}let _0x4a4ef0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x1f6f12,_0x1332d5,_0x169c11,_0x39e933){const _0x2b06f0=_0x2dd6cc;super(),this[_0x2b06f0(0x30d)]=_0x1f6f12,this[_0x2b06f0(0x261)]=_0x1332d5,this['_model']=_0x169c11,this[_0x2b06f0(0x2c0)]=_0x39e933,_0x2997b9(this,'_pendingUnitIds',new Set()),_0x2997b9(this,'_syncScheduled',!0x1),_0x2997b9(this,_0x2b06f0(0x1e0),!0x1),this[_0x2b06f0(0x30d)]['getAllUnitsForType'](_0x268d47[_0x2b06f0(0x212)][_0x2b06f0(0x254)])[_0x2b06f0(0x2e9)](_0x469ca8=>this[_0x2b06f0(0x2c0)][_0x2b06f0(0x2c9)](_0x469ca8)),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x2bb)][_0x2b06f0(0x2bc)][_0x2b06f0(0x28a)](({unitId:_0x43d3e7})=>this[_0x2b06f0(0x229)](_0x43d3e7))),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x30d)][_0x2b06f0(0x1f6)][_0x2b06f0(0x28a)](({unit:_0x2b0b68})=>{const _0xd12d=_0x2b06f0;_0x2b0b68[_0xd12d(0x253)]===_0x268d47[_0xd12d(0x212)][_0xd12d(0x254)]&&this[_0xd12d(0x1d2)](_0x2b0b68[_0xd12d(0x204)]());})),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x30d)][_0x2b06f0(0x284)][_0x2b06f0(0x28a)](_0x38bf09=>{const _0x53d48f=_0x2b06f0;this[_0x53d48f(0x2c0)][_0x53d48f(0x1fb)](_0x38bf09[_0x53d48f(0x204)]());})),this[_0x2b06f0(0x2d2)](this[_0x2b06f0(0x261)][_0x2b06f0(0x29b)](_0x707ef7=>{const _0x4d80b2=_0x2b06f0;if(_0x707ef7['id']===_0x13b587[_0x4d80b2(0x1eb)]['id']&&_0x543fff(_0x707ef7[_0x4d80b2(0x2d5)])){let _0x290750=_0x707ef7[_0x4d80b2(0x2d5)];_0x290750[_0x4d80b2(0x233)]||this[_0x4d80b2(0x229)](_0x290750[_0x4d80b2(0x30f)]);}}));}[_0x2dd6cc(0x259)](){const _0x1fb1fd=_0x2dd6cc;this['_isDisposed']=!0x0,super[_0x1fb1fd(0x259)]();}[_0x2dd6cc(0x1d2)](_0x2e2968){const _0x56c577=_0x2dd6cc;this['_pendingUnitIds']['add'](_0x2e2968),this[_0x56c577(0x20b)]||(this[_0x56c577(0x20b)]=!0x0,queueMicrotask(()=>{const _0x4479c9=_0x56c577;if(this['_syncScheduled']=!0x1,this[_0x4479c9(0x1e0)])return;let _0x2a3458=Array[_0x4479c9(0x295)](this[_0x4479c9(0x246)]);this[_0x4479c9(0x246)]['clear'](),_0x2a3458[_0x4479c9(0x2e9)](_0x32805f=>this[_0x4479c9(0x229)](_0x32805f));}));}[_0x2dd6cc(0x229)](_0x7e6b0a){const _0x3d296d=_0x2dd6cc;let _0x2f5a45=this['_instanceService'][_0x3d296d(0x2a2)](_0x7e6b0a,_0x268d47[_0x3d296d(0x212)][_0x3d296d(0x254)]);_0x2f5a45&&this[_0x3d296d(0x2c0)][_0x3d296d(0x2c9)](_0x2f5a45);}};_0x4a4ef0=_0x1047e5([_0x26635b(0x0,_0x268d47[_0x2dd6cc(0x292)]),_0x26635b(0x1,_0x268d47[_0x2dd6cc(0x1ef)]),_0x26635b(0x2,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0)),_0x26635b(0x3,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1))],_0x4a4ef0);function _0x543fff(_0x37c442){const _0x335b0d=_0x2dd6cc;return typeof _0x37c442==_0x335b0d(0x2f0)&&!!_0x37c442&&_0x335b0d(0x30f)in _0x37c442&&typeof _0x37c442[_0x335b0d(0x30f)]==_0x335b0d(0x1de)&&(!(_0x335b0d(0x233)in _0x37c442)||_0x37c442[_0x335b0d(0x233)]===void 0x0||typeof _0x37c442[_0x335b0d(0x233)]==_0x335b0d(0x1de));}let _0x13cea0=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x1cdc9a,_0x14feec){const _0x414364=_0x2dd6cc;super(),this[_0x414364(0x215)]=_0x1cdc9a,this[_0x414364(0x217)]=_0x14feec,this[_0x414364(0x2d2)](this[_0x414364(0x215)]['registerPluginResource']({'pluginName':_0x422f2b,'businesses':[_0x268d47[_0x414364(0x212)][_0x414364(0x254)]],'toJson':_0x2195b4=>JSON[_0x414364(0x1f1)](this[_0x414364(0x217)][_0x414364(0x251)](_0x2195b4)),'parseJson':_0x2ca72c=>JSON[_0x414364(0x22c)](_0x2ca72c),'onLoad':(_0x3aa044,_0x26022a)=>{const _0xba6e89=_0x414364;this[_0xba6e89(0x217)][_0xba6e89(0x1d8)](_0x3aa044,_0x26022a);},'onUnLoad':_0x32a460=>this['_docFormulaModel'][_0x414364(0x1e1)](_0x32a460)}));}};_0x13cea0=_0x1047e5([_0x26635b(0x0,_0x268d47[_0x2dd6cc(0x29f)]),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x400aa0))],_0x13cea0);var _0x4a78a4=_0x2dd6cc(0x2ec),_0x6c6a1a='1.4.0';let _0x3b21dd={},_0x222882=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x3b1b3b,_0x339d2e,_0x1f57c4){const _0x536a93=_0x2dd6cc;super(),this[_0x536a93(0x2c1)]=_0x3b1b3b,this[_0x536a93(0x2e0)]=_0x339d2e,this['disposeWithMe'](_0x1f57c4[_0x536a93(0x1e8)]({'resolve':(_0x5f0b7f,_0x1356f3)=>{const _0x4d3d7e=_0x536a93;var _0x26dec7;return((_0x26dec7=_0x1356f3['customRanges'])==null?void 0x0:_0x26dec7[_0x4d3d7e(0x2d9)](_0x10ebc7)[_0x4d3d7e(0x1cf)](_0x2ba9aa=>({'startOffset':_0x2ba9aa['startIndex'],'endOffset':_0x2ba9aa[_0x4d3d7e(0x31b)]+0x1,'text':this['resolveFormula'](_0x5f0b7f,_0x2ba9aa[_0x4d3d7e(0x2e1)])})))??[];}})),this[_0x536a93(0x2d2)](this['_formulaService'][_0x536a93(0x267)][_0x536a93(0x28a)](({unitId:_0x44ed63})=>{_0x1f57c4['notifyTextChanged'](_0x44ed63);}));}[_0x2dd6cc(0x214)](_0x572d87,_0x8df16d){const _0x5849a3=_0x2dd6cc;var _0x5089fa;return((_0x5089fa=this['_formulaService'][_0x5849a3(0x241)]({'unitId':_0x572d87,'rangeId':_0x8df16d}))==null?void 0x0:_0x5089fa['text'])??'';}['resolveText'](_0x20bcf1,_0x5e4e4d,_0x1e293b){const _0x5c955a=_0x2dd6cc;var _0x306f5f;let _0x928583=this[_0x5c955a(0x2c1)][_0x5c955a(0x2a2)](_0x20bcf1,_0x268d47['UniverInstanceType'][_0x5c955a(0x254)]),_0x50f65e=_0x928583==null?void 0x0:_0x928583[_0x5c955a(0x27f)]();if(!_0x50f65e)return'';let _0x51259a=_0x50f65e[_0x5c955a(0x2ea)]['slice'](_0x5e4e4d,_0x1e293b),_0x50f127=((_0x306f5f=_0x50f65e[_0x5c955a(0x31a)])==null?void 0x0:_0x306f5f['filter'](_0x2c2aac=>_0x10ebc7(_0x2c2aac)&&_0x2c2aac['startIndex']>=_0x5e4e4d&&_0x2c2aac[_0x5c955a(0x31b)]<_0x1e293b)[_0x5c955a(0x203)]((_0x552d82,_0x34380a)=>_0x34380a[_0x5c955a(0x210)]-_0x552d82['startIndex']))??[];for(let _0x543010 of _0x50f127){let _0x2a270c=_0x543010[_0x5c955a(0x210)]-_0x5e4e4d,_0x2c3cab=_0x543010[_0x5c955a(0x31b)]-_0x5e4e4d+0x1;_0x51259a=''+_0x51259a[_0x5c955a(0x24c)](0x0,_0x2a270c)+this[_0x5c955a(0x214)](_0x20bcf1,_0x543010[_0x5c955a(0x2e1)])+_0x51259a['slice'](_0x2c3cab);}return _0x51259a;}[_0x2dd6cc(0x2f1)](_0x180c99){return _0x25d135(_0x180c99);}[_0x2dd6cc(0x24d)](_0x319dc2,_0xd856d8,_0x49cbb1={}){const _0x39df64=_0x2dd6cc;var _0x430ff5;return _0xff40f2({'id':_0x319dc2,'body':_0xd856d8,'documentStyle':{}},(((_0x430ff5=_0xd856d8[_0x39df64(0x31a)])==null?void 0x0:_0x430ff5[_0x39df64(0x2d9)](_0x10ebc7))??[])['map'](_0x4b175c=>({'rangeId':_0x4b175c['rangeId'],'text':_0x49cbb1[_0x4b175c[_0x39df64(0x2e1)]]??this[_0x39df64(0x214)](_0x319dc2,_0x4b175c[_0x39df64(0x2e1)])})))['body']??{'dataStream':''};}};_0x222882=_0x1047e5([_0x26635b(0x0,_0x268d47['IUniverInstanceService']),_0x26635b(0x1,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1)),_0x26635b(0x2,(0x0,_0x268d47['Inject'])(_0x13b587['DocTextResolverService']))],_0x222882);function _0x25d135(_0x4275d1){const _0x5155f2=_0x2dd6cc;var _0x2ee3f7,_0x40a4d0;let _0x23654a=_0x37118b(_0x4275d1),_0x2cb4b0=_0xff40f2(_0x4275d1,(((_0x2ee3f7=_0x4275d1[_0x5155f2(0x31e)])==null||(_0x2ee3f7=_0x2ee3f7[_0x5155f2(0x31a)])==null?void 0x0:_0x2ee3f7[_0x5155f2(0x2d9)](_0x10ebc7))??[])[_0x5155f2(0x1cf)](_0x56976e=>({'rangeId':_0x56976e[_0x5155f2(0x2e1)],'text':_0x55f822(_0x23654a==null?void 0x0:_0x23654a[_0x5155f2(0x2a3)][_0x56976e['rangeId']])})));return _0x2cb4b0[_0x5155f2(0x2a6)]=(_0x40a4d0=_0x2cb4b0[_0x5155f2(0x2a6)])==null?void 0x0:_0x40a4d0['filter'](_0x30e854=>_0x30e854[_0x5155f2(0x315)]!==_0x422f2b),_0x2cb4b0;}function _0x37118b(_0x201d14){const _0x828753=_0x2dd6cc;var _0x395c19;let _0xf530b3=(_0x395c19=_0x201d14[_0x828753(0x2a6)])==null||(_0x395c19=_0x395c19['find'](_0xbfa8ba=>_0xbfa8ba['name']===_0x828753(0x2a0)))==null?void 0x0:_0x395c19[_0x828753(0x312)];if(_0xf530b3)try{let _0x39e5bb=JSON[_0x828753(0x22c)](_0xf530b3);return _0x277cf0(_0x39e5bb)?_0x39e5bb:void 0x0;}catch{return;}}function _0x55f822(_0x1ebda3){const _0x1c027c=_0x2dd6cc;return _0x1ebda3?(0x0,_0x35cdb4[_0x1c027c(0x24e)])({'lastValue':_0x1ebda3[_0x1c027c(0x2c2)],'numberFormat':_0x1ebda3[_0x1c027c(0x23f)]})['text']:'';}let _0x25da14=class extends _0x268d47[_0x2dd6cc(0x298)]{constructor(_0x11c9ee,_0x2a974a,_0x333b7e){const _0x1831b5=_0x2dd6cc;super(),this[_0x1831b5(0x2e0)]=_0x11c9ee,this[_0x1831b5(0x1ee)]=_0x2a974a,this[_0x1831b5(0x2d2)](_0x333b7e[_0x1831b5(0x1f3)](this));}[_0x2dd6cc(0x20a)](_0x22f37c){const _0x8f6843=_0x2dd6cc;let _0x28363d=new Map();for(let _0x5dd32a of this[_0x8f6843(0x2e0)][_0x8f6843(0x247)]()){var _0x25476e;if(!this['_cacheEligibilityService'][_0x8f6843(0x28e)](_0x5dd32a['config'][_0x8f6843(0x245)],_0x5dd32a[_0x8f6843(0x2ed)])['eligible'])continue;let _0x1a66de=(0x0,_0x35cdb4[_0x8f6843(0x24b)])(_0x5dd32a['liveResult']),_0x17a4e8=_0x1a66de?(0x0,_0x35cdb4['toFormulaLastValue'])(_0x1a66de):null;if(!_0x17a4e8||_0x5e6240(_0x5dd32a[_0x8f6843(0x2b6)][_0x8f6843(0x2c2)],_0x17a4e8))continue;let _0x151ccf=_0x28363d[_0x8f6843(0x249)](_0x5dd32a[_0x8f6843(0x263)][_0x8f6843(0x30f)])??[];_0x151ccf[_0x8f6843(0x2c3)]({'rangeId':_0x5dd32a[_0x8f6843(0x263)][_0x8f6843(0x2e1)],'expectedFormula':_0x5dd32a[_0x8f6843(0x2b6)]['formula'],'expectedNumberFormat':(_0x25476e=_0x5dd32a[_0x8f6843(0x2b6)][_0x8f6843(0x23f)])==null?void 0x0:_0x25476e[_0x8f6843(0x2b5)],'expectedReferenceRevision':_0x5dd32a[_0x8f6843(0x2ce)],'lastValue':_0x17a4e8}),_0x28363d[_0x8f6843(0x234)](_0x5dd32a['identity'][_0x8f6843(0x30f)],_0x151ccf);}return Array[_0x8f6843(0x295)](_0x28363d,([_0x22ef38,_0x5a8f40])=>({'id':_0x5b0b65['id'],'params':{'unitId':_0x22ef38,'updates':_0x5a8f40}}));}};_0x25da14=_0x1047e5([_0x26635b(0x0,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0xd0fdb1)),_0x26635b(0x1,(0x0,_0x268d47['Inject'])(_0x35cdb4[_0x2dd6cc(0x21f)])),_0x26635b(0x2,(0x0,_0x268d47[_0x2dd6cc(0x266)])(_0x35cdb4[_0x2dd6cc(0x29a)]))],_0x25da14);function _0x5e6240(_0x4ed543,_0x18b7d5){const _0x3af7bc=_0x2dd6cc;return(_0x4ed543==null?void 0x0:_0x4ed543['v'])===_0x18b7d5['v']&&(_0x4ed543==null?void 0x0:_0x4ed543['t'])===_0x18b7d5['t']&&(_0x4ed543==null?void 0x0:_0x4ed543[_0x3af7bc(0x2b5)])===_0x18b7d5[_0x3af7bc(0x2b5)];}let _0x4204df=class extends _0x268d47[_0x2dd6cc(0x230)]{constructor(_0x221bf1=_0x3b21dd,_0x47bb91,_0x3b4fb5,_0x29cb8b){const _0x2be84b=_0x2dd6cc;super(),this[_0x2be84b(0x21b)]=_0x221bf1,this[_0x2be84b(0x262)]=_0x47bb91,this[_0x2be84b(0x261)]=_0x3b4fb5,this[_0x2be84b(0x225)]=_0x29cb8b;let {..._0x501299}=(0x0,_0x268d47[_0x2be84b(0x1d1)])({},_0x3b21dd,this[_0x2be84b(0x21b)]);this['_configService'][_0x2be84b(0x272)](_0x2be84b(0x27c),_0x501299);}[_0x2dd6cc(0x213)](){const _0x2d1a6f=_0x2dd6cc;this['_injector']['add']([_0x400aa0]),this[_0x2d1a6f(0x262)][_0x2d1a6f(0x2db)]([_0xd0fdb1]),this['_injector'][_0x2d1a6f(0x2db)]([_0x13cea0]),this[_0x2d1a6f(0x262)]['add']([_0x4a4ef0]),this['_injector'][_0x2d1a6f(0x2db)]([_0x25da14]),this[_0x2d1a6f(0x262)][_0x2d1a6f(0x2db)]([_0x222882]),(0x0,_0x268d47[_0x2d1a6f(0x2b8)])(this['_injector'],[[_0x400aa0],[_0x13cea0],[_0x4a4ef0],[_0x25da14],[_0x222882]]),[_0x2a530f,_0x36f934,_0x1245e8,_0x5b0b65,_0x2e61bb,_0x19bd2b,_0x450b4f,_0x36cdb0,_0x360b38,_0x4196d1][_0x2d1a6f(0x2e9)](_0x4de43d=>this['disposeWithMe'](this[_0x2d1a6f(0x261)][_0x2d1a6f(0x2c6)](_0x4de43d)));}};_0x2997b9(_0x4204df,_0x2dd6cc(0x2f6),_0x422f2b),_0x2997b9(_0x4204df,'packageName',_0x4a78a4),_0x2997b9(_0x4204df,_0x2dd6cc(0x235),_0x6c6a1a),_0x2997b9(_0x4204df,'type',_0x268d47['UniverInstanceType'][_0x2dd6cc(0x254)]),_0x4204df=_0x1047e5([(0x0,_0x268d47[_0x2dd6cc(0x2bd)])(_0x3ae0fa[_0x2dd6cc(0x2e4)],_0x35cdb4[_0x2dd6cc(0x1e6)],_0x13b587[_0x2dd6cc(0x2b0)]),_0x26635b(0x1,(0x0,_0x268d47['Inject'])(_0x268d47[_0x2dd6cc(0x303)])),_0x26635b(0x2,_0x268d47[_0x2dd6cc(0x1ef)]),_0x26635b(0x3,_0x268d47['IConfigService'])],_0x4204df),_0x54a0ee[_0x2dd6cc(0x2f4)]=_0x4196d1,_0x54a0ee[_0x2dd6cc(0x226)]=_0x4f2d27,_0x54a0ee[_0x2dd6cc(0x286)]='',_0x54a0ee[_0x2dd6cc(0x2a0)]=_0x422f2b,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x300),{'enumerable':!0x0,'get':function(){return _0x222882;}}),Object[_0x2dd6cc(0x1cd)](_0x54a0ee,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x4a4ef0;}}),_0x54a0ee[_0x2dd6cc(0x1f4)]=_0x400aa0,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x2ad),{'enumerable':!0x0,'get':function(){return _0x13cea0;}}),_0x54a0ee[_0x2dd6cc(0x20e)]=_0x4057d2,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,_0x2dd6cc(0x2b1),{'enumerable':!0x0,'get':function(){return _0xd0fdb1;}}),_0x54a0ee[_0x2dd6cc(0x1fa)]=_0x2e61bb,_0x54a0ee[_0x2dd6cc(0x2ba)]=_0x4d259a,_0x54a0ee['RemoveDocFormulaCommand']=_0x36cdb0,_0x54a0ee[_0x2dd6cc(0x309)]=_0x36f934,_0x54a0ee[_0x2dd6cc(0x1fc)]=_0x360b38,_0x54a0ee['SetDocFormulaLastValuesMutation']=_0x5b0b65,_0x54a0ee['SetDocFormulaMutation']=_0x2a530f,_0x54a0ee[_0x2dd6cc(0x219)]=_0x450b4f,_0x54a0ee[_0x2dd6cc(0x228)]=_0x1245e8,Object[_0x2dd6cc(0x1cd)](_0x54a0ee,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x4204df;}}),_0x54a0ee[_0x2dd6cc(0x274)]=_0x19bd2b,_0x54a0ee[_0x2dd6cc(0x2a7)]=_0x23ad2d,_0x54a0ee[_0x2dd6cc(0x296)]=_0x40b110,_0x54a0ee[_0x2dd6cc(0x26d)]=_0x366cd0,_0x54a0ee[_0x2dd6cc(0x21c)]=_0x433876,_0x54a0ee[_0x2dd6cc(0x2fd)]=_0x2e7c75,_0x54a0ee['degradeDocFormulaDocumentData']=_0x25d135,_0x54a0ee[_0x2dd6cc(0x22e)]=_0x5bfb7e,_0x54a0ee[_0x2dd6cc(0x314)]=_0x4a8011,_0x54a0ee[_0x2dd6cc(0x2d0)]=_0x10ebc7,_0x54a0ee[_0x2dd6cc(0x2f2)]=_0x277cf0,_0x54a0ee['isFormulaLastValue']=_0x1f5739;}));function _0x51dc(){const _0x1cf4e1=['asObservable','UpdateDocFormulaCommand','wholeEntity','buildUpsertHostExternalReferenceMutations','isArray','success','updates','exports','_change$','docs-formula.config','rangeType','position','getBody','sequenceNodesBuilder','references','docs-formula.command.convert-to-text','keys','unitDisposed$','RegisterOtherFormulaService','DOC_FORMULA_OBJECT_REPLACEMENT','TABLE_CELL_START','pushUndoRedo','COLUMN_END','subscribe','externalReferences','insertLength','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','assess','length','nextResource','getSnapshot','IUniverInstanceService','getOwnPropertyDescriptor','insert','from','buildInsertDocFormulaActions','deepClone','Disposable','3411744QvuGWz','FormulaLastValuePersistenceService','onCommandExecuted','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','externalMutations','pending','IResourceManagerService','DOC_FORMULA_PLUGIN','document','getUnit','formulas','source','getFormula','resources','assertSafeDocFormulaInsertRange','trim','OtherFormulaBizType','delete','TABLE_ROW_END','docs-formula.mutation.remove-formula','DocFormulaResourceController','columnGroups','PARAGRAPH','UniverDocsPlugin','DocFormulaService','_hostExternalReferenceModel','resolved','10iVQckX','pattern','config','fromEntries','touchDependencies','includes','InvalidDocFormulaInsertRangeError','_model','change$','DependentOn','EMPTY','assign','_service','_univerInstanceService','lastValue','push','docs-formula.command.insert','_registrations','registerCommand','TABLE_CELL_END','getRichTextEditPath','syncUnit','tables','function','@univerjs/engine-formula','1722EuQPDF','referenceRevision','CustomRangeType','isDocFormulaRange','COLUMN_GROUP_END','disposeWithMe','trigger','selection','params','32332AnWYzb','DocSelectionManagerService','getFormulaValueSync','filter','Tools','add','docs-formula.command.update','paragraph','redoMutation','_deleteRegistration','_formulaService','rangeId','invalid-resource','endsWith','UniverLicensePlugin','error','CUSTOM_BLOCK','@univerjs/core','find','forEach','dataStream','end','@univerjs-pro/docs-formula','liveResult','univer-docs-formula','TABLE_END','object','degradeDocumentData','isDocFormulaResource','start','ConvertDocFormulaToTextCommand','shiftExclusiveRangeOnDelete','pluginName','amd','replaceDocRanges','shiftInclusiveRangeOnInsert','CommandType','410vjDmAg','empty','createEmptyDocFormulaResource','text','IUndoRedoService','DocFormulaDisplayTextService','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','values','Injector','DOC_SELECTION_OPTION_PRESERVE_CARET','range','decorate','isInteger','complete','RemoveDocFormulaMutation','documentRedo','getResource','FormulaResultStatus','_instanceService','startOffset','unitId','expectedNumberFormat','_formulaKeys','data','documentData','isDocFormulaConfig','name','UniverEngineFormula','toStringTag','CellValueType','iterator','customRanges','endIndex','nextDocumentData','presentation','body','paragraphs','defineProperty','_updateFormulaResult','map','getPresentation','merge','_queueSync','previousDocumentData','undoMutation','symbol','1575nwsgvH','_setPresentation','load','default','COMMAND','getLoadError','COLUMN_START','DataStreamTreeTokenType','string','min','_isDisposed','removeUnit','resolveBinding','next','UniverProLicense','docs-formula.mutation.set-last-values','UniverProFormulaEnginePlugin','status','register','endOffset','max','RichTextEditingMutation','kind','_preserveInvalid','_cacheEligibilityService','ICommandService','_registrationService','stringify','443433hgGIxB','registerProvider','DocFormulaModel','docs-formula.command.replace-with-text','unitAdded$','TextX','syncExecuteCommand','12210473YbMdoP','InsertDocFormulaCommand','unregisterUnit','ReplaceDocFormulaWithTextCommand','2gOrbEZ','shiftInclusiveRangeOnDelete','docs-formula.mutation.set-resource','BLOCK_START','deleteLength','getRevision','sort','getUnitId','getFormulas','UniverProEngineFormula','customDecorations','51592FDZRyh','color','collectMutations','_syncScheduled','model','_loadErrors','DocFormulaResultStatus','UniverCore','startIndex','SECTION_BREAK','UniverInstanceType','onStarting','resolveFormula','_resourceManagerService','formulaResult$','_docFormulaModel','some','SetDocFormulaNumberFormatCommand','getCustomRangeInterval','_config','buildUpdateDocFormulaActions','boolean','previousResource','FormulaCacheEligibilityService','paragraphId','accessor','getParagraphContentStartOffset','has','resourceUndo','_configService','DOC_FORMULA_CUSTOM_RANGE_KIND','DOC','SetDocFormulaResourceMutation','_syncUnit','ERROR','cell','parse','customBlocks','findDocFormulaRange','resource','Plugin','19593408tgwwvn','10590CdHsiL','segmentId','set','version','every','PENDING','unregister','_resources','SUCCESS','Subject','docs-formula.command.set-number-format','cursorOffset','target','numberFormat','stale','getResult','@univerjs-pro/license','HostExternalReferenceModel','_presentationChanged$','formula','_pendingUnitIds','getRegisteredFormulas','blockRanges','get','resourceRedo','getScalarFormulaResultCell','slice','degradeBody','resolveFormulaResultPresentation','setFormula','disabled','serialize','number','type','UNIVER_DOC','resolveHostFormulaExternalReferences','LexerTreeBuilder','CUSTOM','JSONX','dispose','TABLE_START','clear','@univerjs/docs','formulaId','registerFormulaWithRange','retain','_rawResources','_commandService','_injector','identity','sectionBreaks','setFormulas','Inject','presentationChanged$','getBodySliceForTextXAction','generateRandomId','prototype','UniverDocs','textRuns','buildRemoveDocFormulaActions','docs-formula.mutation.set-formula','setResource','collectFormulaExternalReferenceQualifiers','MUTATION','setConfig'];_0x51dc=function(){return _0x1cf4e1;};return _0x51dc();}
1
+ (function(_0x742752,_0x245b2d){const _0x1e038a=_0x3f33,_0x4d493c=_0x742752();while(!![]){try{const _0x449cb2=parseInt(_0x1e038a(0x289))/0x1*(-parseInt(_0x1e038a(0x239))/0x2)+-parseInt(_0x1e038a(0x1af))/0x3+parseInt(_0x1e038a(0x1e4))/0x4+parseInt(_0x1e038a(0x16c))/0x5*(-parseInt(_0x1e038a(0x26f))/0x6)+-parseInt(_0x1e038a(0x295))/0x7*(parseInt(_0x1e038a(0x1f7))/0x8)+parseInt(_0x1e038a(0x19f))/0x9*(parseInt(_0x1e038a(0x213))/0xa)+-parseInt(_0x1e038a(0x19a))/0xb;if(_0x449cb2===_0x245b2d)break;else _0x4d493c['push'](_0x4d493c['shift']());}catch(_0x2b3613){_0x4d493c['push'](_0x4d493c['shift']());}}}(_0x6a50,0x99f36),function(_0x48e6fc,_0x2d73c1){const _0x1bd0d5=_0x3f33;typeof exports==_0x1bd0d5(0x24f)&&typeof module<'u'?_0x2d73c1(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1bd0d5(0x1b1)&&define[_0x1bd0d5(0x226)]?define(['exports',_0x1bd0d5(0x219),_0x1bd0d5(0x1a0),_0x1bd0d5(0x248),_0x1bd0d5(0x1e9),_0x1bd0d5(0x180),'@univerjs-pro/license'],_0x2d73c1):(_0x48e6fc=typeof globalThis<'u'?globalThis:_0x48e6fc||self,_0x2d73c1(_0x48e6fc['UniverProDocsFormula']={},_0x48e6fc[_0x1bd0d5(0x16e)],_0x48e6fc[_0x1bd0d5(0x246)],_0x48e6fc[_0x1bd0d5(0x171)],_0x48e6fc[_0x1bd0d5(0x1b6)],_0x48e6fc['rxjs'],_0x48e6fc[_0x1bd0d5(0x1b8)]));}(this,function(_0x40eb1e,_0x51228b,_0x534dbf,_0x584402,_0x546eeb,_0x57d587,_0x2387b5){const _0xddde37=_0x3f33;Object[_0xddde37(0x1d9)](_0x40eb1e,Symbol[_0xddde37(0x1ee)],{'value':_0xddde37(0x272)});let _0x1b57f6='DOC_FORMULA_PLUGIN',_0x1735d2='univer-docs-formula';function _0xdeec8b(){return{'formulas':{}};}function _0x5bb3ce(_0x4090c8){const _0x4a8ed3=_0xddde37;return!_0x4090c8||typeof _0x4090c8!=_0x4a8ed3(0x24f)||!(_0x4a8ed3(0x1c7)in _0x4090c8)||!_0x4090c8[_0x4a8ed3(0x1c7)]||typeof _0x4090c8[_0x4a8ed3(0x1c7)]!=_0x4a8ed3(0x24f)||Array[_0x4a8ed3(0x168)](_0x4090c8['formulas'])?!0x1:Object[_0x4a8ed3(0x252)](_0x4090c8['formulas'])['every'](([_0x379dbe,_0x23f215])=>_0x379dbe[_0x4a8ed3(0x1fd)]>0x0&&_0x3c30c5(_0x23f215));}function _0x3c30c5(_0x575465){const _0xc6f65c=_0xddde37;return!_0x575465||typeof _0x575465!=_0xc6f65c(0x24f)||!_0x43f933(_0x575465,[_0xc6f65c(0x166),'numberFormat',_0xc6f65c(0x17e)])||!('formula'in _0x575465)||typeof _0x575465[_0xc6f65c(0x166)]!=_0xc6f65c(0x1bf)||!_0x575465[_0xc6f65c(0x166)][_0xc6f65c(0x209)]()||'numberFormat'in _0x575465&&_0x575465[_0xc6f65c(0x196)]!=null&&(typeof _0x575465[_0xc6f65c(0x196)]!=_0xc6f65c(0x24f)||!_0x43f933(_0x575465[_0xc6f65c(0x196)],[_0xc6f65c(0x1f2)])||!(_0xc6f65c(0x1f2)in _0x575465['numberFormat'])||typeof _0x575465[_0xc6f65c(0x196)][_0xc6f65c(0x1f2)]!=_0xc6f65c(0x1bf))?!0x1:!('lastValue'in _0x575465)||_0x575465[_0xc6f65c(0x17e)]==null||_0x2c66cb(_0x575465[_0xc6f65c(0x17e)]);}function _0x2c66cb(_0x484010){const _0x176442=_0xddde37;return!_0x484010||typeof _0x484010!=_0x176442(0x24f)||!_0x43f933(_0x484010,['v','t',_0x176442(0x1f2)])||!('v'in _0x484010)||_0x484010['v']!==null&&typeof _0x484010['v']!=_0x176442(0x1bf)&&typeof _0x484010['v']!=_0x176442(0x1f4)&&typeof _0x484010['v']!=_0x176442(0x235)||'t'in _0x484010&&_0x484010['t']!=null&&!_0x2c159f(_0x484010['t'])?!0x1:!(_0x176442(0x1f2)in _0x484010)||_0x484010['pattern']==null||typeof _0x484010[_0x176442(0x1f2)]==_0x176442(0x1bf);}function _0x43f933(_0x2e06d9,_0x203ed7){const _0x110a97=_0xddde37;let _0x12a952=new Set(_0x203ed7);return Object[_0x110a97(0x245)](_0x2e06d9)[_0x110a97(0x1d0)](_0x5c2773=>_0x12a952['has'](_0x5c2773));}function _0x2c159f(_0x1eeaeb){const _0x1b554b=_0xddde37;return typeof _0x1eeaeb==_0x1b554b(0x1f4)&&Object[_0x1b554b(0x1b7)](_0x534dbf[_0x1b554b(0x1dc)])[_0x1b554b(0x269)](_0x1eeaeb);}let _0x1f2f70=new Set([_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x184)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x264)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x254)],_0x534dbf[_0xddde37(0x1b5)]['TABLE_CELL_START'],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x1c6)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x28d)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x293)],_0x534dbf['DataStreamTreeTokenType']['COLUMN_GROUP_START'],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x19b)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x1ef)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x176)],_0x534dbf['DataStreamTreeTokenType'][_0xddde37(0x279)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x241)],_0x534dbf[_0xddde37(0x1b5)][_0xddde37(0x164)]]);var _0x5b78e9=class extends Error{constructor(){const _0x216c81=_0xddde37;super(_0x216c81(0x27f));}};function _0x4b7fbd(_0x1e5c30){const _0x243104=_0xddde37;var _0x198413,_0x36e1e1;let _0x2586e8=_0x534dbf[_0x243104(0x1b0)][_0x243104(0x183)](_0x1e5c30[_0x243104(0x19d)]),_0x538326=_0x3230c3(_0x2586e8),{startOffset:_0x5ef02e,endOffset:_0x4e917e}=_0x4fea91(_0x538326,_0x1e5c30[_0x243104(0x21c)],_0x1e5c30[_0x243104(0x206)]);_0x4671de(_0x538326,_0x5ef02e,_0x4e917e);let _0x992984=((_0x198413=_0x538326[_0x243104(0x1ea)])==null?void 0x0:_0x198413[_0x243104(0x1bc)](_0x46ee7c=>{const _0x281388=_0x243104;if(!_0x1db77c(_0x46ee7c))return!0x1;let _0x3ab84e=(0x0,_0x534dbf['getCustomRangeInterval'])(_0x46ee7c);return _0x3ab84e[_0x281388(0x206)]>_0x5ef02e&&_0x3ab84e['startOffset']<_0x4e917e;})[_0x243104(0x231)](_0xb3086f=>_0xb3086f[_0x243104(0x22a)]))??[];_0x1d3bbb(_0x538326,_0x5ef02e,_0x4e917e,''),_0x538326['customRanges']=[...((_0x36e1e1=_0x538326['customRanges'])==null?void 0x0:_0x36e1e1[_0x243104(0x1bc)](_0x45fb8b=>!_0x992984['includes'](_0x45fb8b[_0x243104(0x22a)])&&_0x45fb8b[_0x243104(0x22a)]!==_0x1e5c30[_0x243104(0x22a)]))??[],_0x33c8b9(_0x1e5c30['rangeId'],_0x5ef02e)][_0x243104(0x273)]((_0x1a4491,_0x500362)=>_0x1a4491[_0x243104(0x18f)]-_0x500362[_0x243104(0x18f)]);let _0x1de69c=_0x3181c5(_0x1e5c30[_0x243104(0x1ed)]);return _0x992984[_0x243104(0x281)](_0x36e6cd=>{const _0x307d69=_0x243104;delete _0x1de69c[_0x307d69(0x1c7)][_0x36e6cd];}),_0x1de69c['formulas'][_0x1e5c30[_0x243104(0x22a)]]=_0x534dbf[_0x243104(0x1b0)][_0x243104(0x183)](_0x1e5c30[_0x243104(0x1ac)]),{'nextDocumentData':_0x2586e8,'nextResource':_0x1de69c,'cursorOffset':_0x5ef02e+0x1};}function _0xccfc38(_0x39c2c3){const _0xce7f7e=_0xddde37;var _0x2a4201,_0x5c0ba7;let _0x20d497=_0x534dbf['Tools'][_0xce7f7e(0x183)](_0x39c2c3[_0xce7f7e(0x19d)]),_0x1ecea2=(_0x2a4201=_0x3230c3(_0x20d497)['customRanges'])==null?void 0x0:_0x2a4201[_0xce7f7e(0x1e3)](_0x543fdd=>_0x543fdd[_0xce7f7e(0x22a)]===_0x39c2c3[_0xce7f7e(0x22a)]&&_0x1db77c(_0x543fdd));if(!_0x1ecea2||!((_0x5c0ba7=_0x39c2c3[_0xce7f7e(0x1ed)])!=null&&_0x5c0ba7[_0xce7f7e(0x1c7)][_0x39c2c3[_0xce7f7e(0x22a)]]))return null;let _0x5e7745=_0x3181c5(_0x39c2c3[_0xce7f7e(0x1ed)]);return _0x5e7745[_0xce7f7e(0x1c7)][_0x39c2c3[_0xce7f7e(0x22a)]]=_0x534dbf[_0xce7f7e(0x1b0)][_0xce7f7e(0x183)](_0x39c2c3['config']),{'nextDocumentData':_0x20d497,'nextResource':_0x5e7745,'cursorOffset':_0x1ecea2[_0xce7f7e(0x165)]+0x1};}function _0x595916(_0x37e38b){const _0x591efc=_0xddde37;let _0x3b5715=_0x534dbf[_0x591efc(0x1b0)][_0x591efc(0x183)](_0x37e38b[_0x591efc(0x19d)]),_0x161644=_0x2a2b17(_0x3b5715,_0x37e38b['rangeId'],_0x37e38b[_0x591efc(0x18c)]??'');if(_0x161644==null)return null;let _0x2e9464=_0x3181c5(_0x37e38b[_0x591efc(0x1ed)]);return delete _0x2e9464['formulas'][_0x37e38b[_0x591efc(0x22a)]],{'nextDocumentData':_0x3b5715,'nextResource':_0x2e9464,'cursorOffset':_0x161644};}function _0x2c580a(_0x21c2e3,_0x78bb0d){const _0x5db7c9=_0xddde37;var _0x227dcd;let _0x301a37=_0x534dbf['Tools'][_0x5db7c9(0x183)](_0x21c2e3),_0x54179e=_0x301a37[_0x5db7c9(0x267)];if(!_0x54179e)return _0x301a37;let _0x400ea9=new Map(_0x78bb0d[_0x5db7c9(0x231)](_0x3cd9d0=>[_0x3cd9d0['rangeId'],_0x3cd9d0['text']])),_0xef8723=((_0x227dcd=_0x54179e['customRanges'])==null?void 0x0:_0x227dcd[_0x5db7c9(0x1bc)](_0x5c61a7=>_0x1db77c(_0x5c61a7)&&_0x400ea9[_0x5db7c9(0x221)](_0x5c61a7[_0x5db7c9(0x22a)]))['sort']((_0x27d27c,_0x5bc0d8)=>_0x5bc0d8[_0x5db7c9(0x18f)]-_0x27d27c[_0x5db7c9(0x18f)]))??[];for(let _0x49c4bc of _0xef8723)_0x2a2b17(_0x301a37,_0x49c4bc[_0x5db7c9(0x22a)],_0x400ea9[_0x5db7c9(0x189)](_0x49c4bc[_0x5db7c9(0x22a)])??'');return _0x301a37;}function _0x1db77c(_0x17c0e5){const _0x3ad3a8=_0xddde37;var _0x53775a;return(_0x17c0e5==null?void 0x0:_0x17c0e5[_0x3ad3a8(0x296)])===_0x534dbf[_0x3ad3a8(0x1eb)][_0x3ad3a8(0x28e)]&&_0x17c0e5['wholeEntity']===!0x0&&((_0x53775a=_0x17c0e5[_0x3ad3a8(0x1a9)])==null?void 0x0:_0x53775a[_0x3ad3a8(0x1be)])===_0x3ad3a8(0x256);}function _0x40a861(_0x5f4c1a,_0x4915b0){const _0x4a04c4=_0xddde37;var _0x194bf5;return _0x5f4c1a==null||(_0x194bf5=_0x5f4c1a['customRanges'])==null?void 0x0:_0x194bf5[_0x4a04c4(0x1e3)](_0x4b7ebf=>_0x4b7ebf['rangeId']===_0x4915b0&&_0x1db77c(_0x4b7ebf));}function _0x4671de(_0x463ee1,_0x4d9a59,_0x118470){const _0x83c638=_0xddde37;if(_0x4d9a59===_0x118470){if(_0x1f2f70[_0x83c638(0x221)](_0x463ee1['dataStream'][_0x4d9a59]))throw new _0x5b78e9();}else{for(let _0x4ee419=_0x4d9a59;_0x4ee419<_0x118470;_0x4ee419++)if(_0x463ee1[_0x83c638(0x249)][_0x4ee419]===_0x534dbf[_0x83c638(0x1b5)][_0x83c638(0x1c4)]||_0x1f2f70['has'](_0x463ee1[_0x83c638(0x249)][_0x4ee419]))throw new _0x5b78e9();}}function _0x33c8b9(_0x4b8f44,_0x56dd6c){return{'startIndex':_0x56dd6c,'endIndex':_0x56dd6c,'rangeId':_0x4b8f44,'rangeType':_0x534dbf['CustomRangeType']['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x1735d2}};}function _0x3181c5(_0x383578){const _0xd52a40=_0xddde37;return _0x383578?_0x534dbf[_0xd52a40(0x1b0)]['deepClone'](_0x383578):_0xdeec8b();}function _0x4fea91(_0x5c2d91,_0x4782c2,_0x53c223){const _0x2caa23=_0xddde37;let _0x254224=_0x4cdf49(_0x5c2d91),_0x56730c=_0x4782c2??_0x254224,_0x87554e=_0x53c223??_0x56730c;return{'startOffset':_0x231c53(Math[_0x2caa23(0x190)](_0x56730c,_0x87554e),_0x254224),'endOffset':_0x231c53(Math[_0x2caa23(0x22b)](_0x56730c,_0x87554e),_0x254224)};}function _0x231c53(_0x53505a,_0x473086){const _0xc12a70=_0xddde37;return Math[_0xc12a70(0x22b)](0x0,Math[_0xc12a70(0x190)](_0x53505a,_0x473086));}function _0x4cdf49(_0x20f843){const _0x321ffe=_0xddde37;return _0x20f843[_0x321ffe(0x249)]['endsWith'](''+_0x534dbf[_0x321ffe(0x1b5)][_0x321ffe(0x1c4)]+_0x534dbf[_0x321ffe(0x1b5)][_0x321ffe(0x184)])?Math[_0x321ffe(0x22b)](0x0,_0x20f843['dataStream'][_0x321ffe(0x1fd)]-0x2):_0x20f843['dataStream'][_0x321ffe(0x1f6)](_0x534dbf['DataStreamTreeTokenType'][_0x321ffe(0x184)])?Math[_0x321ffe(0x22b)](0x0,_0x20f843[_0x321ffe(0x249)][_0x321ffe(0x1fd)]-0x1):_0x20f843[_0x321ffe(0x249)]['length'];}function _0x1d3bbb(_0x1fbbb8,_0x58537f,_0x29f81b,_0xeb6682){_0x29f81b>_0x58537f&&_0x5b8b08(_0x1fbbb8,_0x58537f,_0x29f81b),_0x53dc03(_0x1fbbb8,_0x58537f,_0xeb6682);}function _0x2a2b17(_0x48621b,_0x52e8d4,_0x5e0ff6){const _0x3b4ed3=_0xddde37;var _0x9d159f,_0xba22a9;let _0x3a2bb8=_0x3230c3(_0x48621b),_0x16f36e=(_0x9d159f=_0x3a2bb8[_0x3b4ed3(0x1ea)])==null?void 0x0:_0x9d159f[_0x3b4ed3(0x1e3)](_0x5d3707=>_0x5d3707[_0x3b4ed3(0x22a)]===_0x52e8d4&&_0x1db77c(_0x5d3707));if(!_0x16f36e)return null;let _0x5fccb1=(0x0,_0x534dbf[_0x3b4ed3(0x26d)])(_0x16f36e);return _0x1d3bbb(_0x3a2bb8,_0x5fccb1[_0x3b4ed3(0x21c)],_0x5fccb1['endOffset'],_0x5e0ff6),_0x3a2bb8[_0x3b4ed3(0x1ea)]=(_0xba22a9=_0x3a2bb8[_0x3b4ed3(0x1ea)])==null?void 0x0:_0xba22a9[_0x3b4ed3(0x1bc)](_0x44da0c=>_0x44da0c['rangeId']!==_0x52e8d4),_0x5fccb1[_0x3b4ed3(0x21c)]+_0x5e0ff6[_0x3b4ed3(0x1fd)];}function _0x53dc03(_0x533750,_0x5c1430,_0x4e8a44){const _0x8d068c=_0xddde37;_0x4e8a44&&(_0x533750['dataStream']=''+_0x533750[_0x8d068c(0x249)][_0x8d068c(0x1bd)](0x0,_0x5c1430)+_0x4e8a44+_0x533750[_0x8d068c(0x249)][_0x8d068c(0x1bd)](_0x5c1430),_0x81839a(_0x533750,_0x5c1430,_0x4e8a44['length']));}function _0x5b8b08(_0x291362,_0x474092,_0x4effe0){const _0x42729d=_0xddde37;let _0x18371d=_0x4effe0-_0x474092;_0x291362[_0x42729d(0x249)]=''+_0x291362[_0x42729d(0x249)][_0x42729d(0x1bd)](0x0,_0x474092)+_0x291362[_0x42729d(0x249)][_0x42729d(0x1bd)](_0x4effe0),_0x52d55a(_0x291362,_0x474092,_0x18371d);}function _0x81839a(_0x24bc56,_0x572798,_0x1dcb47){const _0x2da649=_0xddde37;_0x24bc56[_0x2da649(0x238)]=_0x182312(_0x24bc56[_0x2da649(0x238)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x271)]=_0x182312(_0x24bc56[_0x2da649(0x271)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x1c0)]=_0x182312(_0x24bc56[_0x2da649(0x1c0)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x215)]=_0x2c9d93(_0x24bc56[_0x2da649(0x215)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x205)]=_0x99c2f0(_0x24bc56[_0x2da649(0x205)],_0x572798,_0x1dcb47),_0x24bc56['columnGroups']=_0x34a80c(_0x24bc56[_0x2da649(0x160)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x1ea)]=_0x34a80c(_0x24bc56['customRanges'],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x157)]=_0x34a80c(_0x24bc56[_0x2da649(0x157)],_0x572798,_0x1dcb47),_0x24bc56[_0x2da649(0x28b)]=_0x34a80c(_0x24bc56[_0x2da649(0x28b)],_0x572798,_0x1dcb47);}function _0x52d55a(_0x122970,_0x42d95f,_0x1a54cd){const _0x501e57=_0xddde37;var _0x1b16bb,_0x3b0e62;_0x122970[_0x501e57(0x238)]=_0x8335e6(_0x122970[_0x501e57(0x238)],_0x42d95f,_0x1a54cd),_0x122970[_0x501e57(0x271)]=_0x8335e6(_0x122970['sectionBreaks'],_0x42d95f,_0x1a54cd),_0x122970[_0x501e57(0x1c0)]=_0x8335e6(_0x122970['customBlocks'],_0x42d95f,_0x1a54cd),_0x122970[_0x501e57(0x215)]=(_0x1b16bb=_0x372d22((_0x3b0e62=_0x122970[_0x501e57(0x215)])==null?void 0x0:_0x3b0e62[_0x501e57(0x231)](_0x24ada1=>({..._0x24ada1,'startIndex':_0x24ada1['st'],'endIndex':_0x24ada1['ed']})),_0x42d95f,_0x1a54cd))==null?void 0x0:_0x1b16bb[_0x501e57(0x231)](_0x374f5b=>{let {startIndex:_0x1e3339,endIndex:_0x53150d,..._0x5312a2}=_0x374f5b;return{..._0x5312a2,'st':_0x1e3339,'ed':_0x53150d};}),_0x122970[_0x501e57(0x205)]=_0x372d22(_0x122970['tables'],_0x42d95f,_0x1a54cd),_0x122970[_0x501e57(0x160)]=_0x1aeaa4(_0x122970['columnGroups'],_0x42d95f,_0x1a54cd),_0x122970['customRanges']=_0x1aeaa4(_0x122970[_0x501e57(0x1ea)],_0x42d95f,_0x1a54cd),_0x122970[_0x501e57(0x157)]=_0x1aeaa4(_0x122970[_0x501e57(0x157)],_0x42d95f,_0x1a54cd),_0x122970['blockRanges']=_0x1aeaa4(_0x122970[_0x501e57(0x28b)],_0x42d95f,_0x1a54cd);}function _0x182312(_0x5a1b4f,_0x2ae550,_0x268702){const _0x8761ef=_0xddde37;return _0x5a1b4f==null?void 0x0:_0x5a1b4f['map'](_0x21f462=>_0x21f462[_0x8761ef(0x18f)]>=_0x2ae550?{..._0x21f462,'startIndex':_0x21f462[_0x8761ef(0x18f)]+_0x268702}:_0x21f462);}function _0x8335e6(_0x4e3d92,_0x28621f,_0xf9f157){const _0x525c44=_0xddde37;let _0x441155=_0x28621f+_0xf9f157;return _0x4e3d92==null?void 0x0:_0x4e3d92['map'](_0x289f5b=>_0x289f5b[_0x525c44(0x18f)]>=_0x28621f&&_0x289f5b[_0x525c44(0x18f)]<_0x441155?null:_0x289f5b['startIndex']>=_0x441155?{..._0x289f5b,'startIndex':_0x289f5b[_0x525c44(0x18f)]-_0xf9f157}:_0x289f5b)['filter'](_0x282327=>_0x282327!=null);}function _0x2c9d93(_0x217128,_0x339a5a,_0x25070f){const _0x24848c=_0xddde37;return _0x217128==null?void 0x0:_0x217128[_0x24848c(0x231)](_0x125bf5=>_0x125bf5['st']>=_0x339a5a?{..._0x125bf5,'st':_0x125bf5['st']+_0x25070f,'ed':_0x125bf5['ed']+_0x25070f}:_0x125bf5['ed']>_0x339a5a?{..._0x125bf5,'ed':_0x125bf5['ed']+_0x25070f}:_0x125bf5);}function _0x34a80c(_0x8eef43,_0x32e290,_0x567c57){const _0xe06f50=_0xddde37;return _0x8eef43==null?void 0x0:_0x8eef43['map'](_0x125a86=>(0x0,_0x534dbf[_0xe06f50(0x266)])(_0x125a86,_0x32e290,_0x567c57));}function _0x99c2f0(_0x26c608,_0x2d74e1,_0x285e4c){const _0x2f92fd=_0xddde37;return _0x26c608==null?void 0x0:_0x26c608[_0x2f92fd(0x231)](_0x443f77=>(0x0,_0x534dbf[_0x2f92fd(0x237)])(_0x443f77,_0x2d74e1,_0x285e4c));}function _0x1aeaa4(_0x53736a,_0x1911ef,_0x1ed8e4){const _0x15ae58=_0xddde37;return _0x53736a==null?void 0x0:_0x53736a['map'](_0x529ad0=>(0x0,_0x534dbf[_0x15ae58(0x216)])(_0x529ad0,_0x1911ef,_0x1ed8e4))[_0x15ae58(0x1bc)](_0x432c24=>_0x432c24!=null);}function _0x372d22(_0xb35cac,_0x53ad96,_0x2bb609){const _0x32a6d7=_0xddde37;return _0xb35cac==null?void 0x0:_0xb35cac['map'](_0x454941=>(0x0,_0x534dbf[_0x32a6d7(0x1c3)])(_0x454941,_0x53ad96,_0x2bb609))[_0x32a6d7(0x1bc)](_0x2d1a8f=>_0x2d1a8f!=null);}function _0x3230c3(_0x83edc){const _0xd1a3c5=_0xddde37;if(!_0x83edc[_0xd1a3c5(0x267)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x83edc[_0xd1a3c5(0x267)];}function _0x1d25e4(_0x69ba69){'@babel/helpers - typeof';const _0x1e2a65=_0xddde37;return _0x1d25e4=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1e2a65(0x229)?function(_0x402faa){return typeof _0x402faa;}:function(_0xeb3893){const _0x5189e5=_0x1e2a65;return _0xeb3893&&typeof Symbol==_0x5189e5(0x1b1)&&_0xeb3893['constructor']===Symbol&&_0xeb3893!==Symbol[_0x5189e5(0x24a)]?_0x5189e5(0x229):typeof _0xeb3893;},_0x1d25e4(_0x69ba69);}function _0x2db29b(_0x2ef706,_0x374e8d){const _0x184bc9=_0xddde37;if(_0x1d25e4(_0x2ef706)!=_0x184bc9(0x24f)||!_0x2ef706)return _0x2ef706;var _0x24ee69;if(typeof Symbol<'u'&&(_0x24ee69=_0x2ef706[Symbol[_0x184bc9(0x1cb)]])!==void 0x0){var _0x5d078c=_0x24ee69[_0x184bc9(0x287)](_0x2ef706,_0x374e8d||_0x184bc9(0x211));if(_0x1d25e4(_0x5d078c)!=_0x184bc9(0x24f))return _0x5d078c;throw TypeError(_0x184bc9(0x1cf));}return(_0x374e8d===_0x184bc9(0x1bf)?String:Number)(_0x2ef706);}function _0x23aa3c(_0x1065ab){const _0x1ad971=_0xddde37;var _0x3bbba4=_0x2db29b(_0x1065ab,_0x1ad971(0x1bf));return _0x1d25e4(_0x3bbba4)==_0x1ad971(0x229)?_0x3bbba4:_0x3bbba4+'';}function _0xa1107b(_0x36d9ab,_0x2d2761,_0x180a73){const _0x259c4e=_0xddde37;return(_0x2d2761=_0x23aa3c(_0x2d2761))in _0x36d9ab?Object[_0x259c4e(0x1d9)](_0x36d9ab,_0x2d2761,{'value':_0x180a73,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36d9ab[_0x2d2761]=_0x180a73,_0x36d9ab;}var _0x43af87=class extends _0x534dbf[_0xddde37(0x24c)]{constructor(..._0x4a4f05){const _0x10e884=_0xddde37;super(..._0x4a4f05),_0xa1107b(this,_0x10e884(0x1e6),new Map()),_0xa1107b(this,'_rawResources',new Map()),_0xa1107b(this,_0x10e884(0x228),new Map()),_0xa1107b(this,'_change$',new _0x57d587[(_0x10e884(0x154))]()),_0xa1107b(this,_0x10e884(0x23f),this[_0x10e884(0x201)]['asObservable']());}[_0xddde37(0x25d)](_0x596e8a,_0x26f6ad){const _0x37f925=_0xddde37;var _0x504284;let _0x29b650=(_0x504284=this[_0x37f925(0x1e6)][_0x37f925(0x189)](_0x596e8a))==null?void 0x0:_0x504284[_0x37f925(0x1c7)][_0x26f6ad];return _0x29b650?_0x534dbf[_0x37f925(0x1b0)]['deepClone'](_0x29b650):void 0x0;}[_0xddde37(0x204)](_0x2b616f){const _0x517c76=_0xddde37;var _0x34d96a;return _0x534dbf['Tools']['deepClone'](((_0x34d96a=this[_0x517c76(0x1e6)][_0x517c76(0x189)](_0x2b616f))==null?void 0x0:_0x34d96a[_0x517c76(0x1c7)])??{});}[_0xddde37(0x181)](_0xc0a92b){const _0x36e3d9=_0xddde37;let _0x5dd705=this['_resources'][_0x36e3d9(0x189)](_0xc0a92b);return _0x5dd705?_0x534dbf[_0x36e3d9(0x1b0)][_0x36e3d9(0x183)](_0x5dd705):void 0x0;}[_0xddde37(0x214)](_0x12ad9a,_0x1ba15c,_0x1abcfd){const _0x58c58c=_0xddde37;return this[_0x58c58c(0x1d6)](_0x12ad9a,{[_0x1ba15c]:_0x1abcfd});}['setResource'](_0x4afcf1,_0x3d47e4){const _0x2de903=_0xddde37;return this[_0x2de903(0x228)][_0x2de903(0x221)](_0x4afcf1)||!_0x5bb3ce(_0x3d47e4)?!0x1:(this[_0x2de903(0x1e6)][_0x2de903(0x200)](_0x4afcf1,{'formulas':_0x534dbf[_0x2de903(0x1b0)]['deepClone'](_0x3d47e4['formulas'])}),this['_change$'][_0x2de903(0x275)]({'unitId':_0x4afcf1}),!0x0);}['setFormulas'](_0x50531e,_0xf929cb){const _0x2411af=_0xddde37;if(this[_0x2411af(0x228)][_0x2411af(0x221)](_0x50531e)||!Object[_0x2411af(0x245)](_0xf929cb)[_0x2411af(0x1fd)]||!_0x5bb3ce({'formulas':_0xf929cb}))return!0x1;let _0x2752ce=this[_0x2411af(0x1e6)][_0x2411af(0x189)](_0x50531e)??_0xdeec8b(),_0x32cd73=_0x534dbf['Tools'][_0x2411af(0x183)](_0x2752ce);return Object[_0x2411af(0x1fc)](_0x32cd73[_0x2411af(0x1c7)],_0x534dbf[_0x2411af(0x1b0)]['deepClone'](_0xf929cb)),this[_0x2411af(0x1e6)]['set'](_0x50531e,_0x32cd73),this[_0x2411af(0x201)]['next']({'unitId':_0x50531e,'rangeIds':Object[_0x2411af(0x245)](_0xf929cb)}),!0x0;}[_0xddde37(0x1cd)](_0x290ea4,_0x5cf654){const _0x6be7a=_0xddde37;if(this[_0x6be7a(0x228)][_0x6be7a(0x221)](_0x290ea4))return!0x1;let _0x33c8a6=this['_resources'][_0x6be7a(0x189)](_0x290ea4);if(!(_0x33c8a6!=null&&_0x33c8a6[_0x6be7a(0x1c7)][_0x5cf654]))return!0x1;let _0x24f04a=_0x534dbf[_0x6be7a(0x1b0)][_0x6be7a(0x183)](_0x33c8a6);return delete _0x24f04a[_0x6be7a(0x1c7)][_0x5cf654],this['_resources'][_0x6be7a(0x200)](_0x290ea4,_0x24f04a),this[_0x6be7a(0x201)][_0x6be7a(0x275)]({'unitId':_0x290ea4,'rangeIds':[_0x5cf654]}),!0x0;}['load'](_0x58faca,_0x3afd38){const _0x5a987e=_0xddde37;return _0x5bb3ce(_0x3afd38)?(this['_resources']['set'](_0x58faca,{'formulas':_0x534dbf[_0x5a987e(0x1b0)][_0x5a987e(0x183)](_0x3afd38[_0x5a987e(0x1c7)])}),this[_0x5a987e(0x1e0)][_0x5a987e(0x1ae)](_0x58faca),this[_0x5a987e(0x228)][_0x5a987e(0x1ae)](_0x58faca),this[_0x5a987e(0x201)][_0x5a987e(0x275)]({'unitId':_0x58faca}),!0x0):(this[_0x5a987e(0x192)](_0x58faca,_0x3afd38,_0x5a987e(0x1a1)),!0x1);}[_0xddde37(0x1e2)](_0x31c3bf){const _0x2050c9=_0xddde37;let _0x43971a=this[_0x2050c9(0x1e6)][_0x2050c9(0x189)](_0x31c3bf);return _0x43971a?_0x534dbf[_0x2050c9(0x1b0)][_0x2050c9(0x183)](_0x43971a):this[_0x2050c9(0x1e0)]['has'](_0x31c3bf)?_0x534dbf[_0x2050c9(0x1b0)][_0x2050c9(0x183)](this['_rawResources'][_0x2050c9(0x189)](_0x31c3bf)):_0xdeec8b();}['getLoadError'](_0xb90380){const _0x5e5667=_0xddde37;return this[_0x5e5667(0x228)][_0x5e5667(0x189)](_0xb90380);}[_0xddde37(0x1ba)](_0x5473af){const _0x3673c5=_0xddde37;this['_resources']['delete'](_0x5473af),this[_0x3673c5(0x1e0)]['delete'](_0x5473af),this[_0x3673c5(0x228)]['delete'](_0x5473af),this[_0x3673c5(0x201)]['next']({'unitId':_0x5473af});}[_0xddde37(0x1f0)](){const _0xceda25=_0xddde37;this[_0xceda25(0x1e6)][_0xceda25(0x20d)](),this[_0xceda25(0x1e0)][_0xceda25(0x20d)](),this[_0xceda25(0x228)][_0xceda25(0x20d)](),this[_0xceda25(0x201)]['complete'](),super['dispose']();}[_0xddde37(0x192)](_0x5ec8b3,_0x2f48a8,_0x2c2e84){const _0x225a31=_0xddde37;this[_0x225a31(0x1e6)]['delete'](_0x5ec8b3),this[_0x225a31(0x1e0)]['set'](_0x5ec8b3,_0x534dbf[_0x225a31(0x1b0)]['deepClone'](_0x2f48a8)),this[_0x225a31(0x228)][_0x225a31(0x200)](_0x5ec8b3,_0x2c2e84),this['_change$'][_0x225a31(0x275)]({'unitId':_0x5ec8b3});}};let _0x3a2323=function(_0x372782){const _0x46abc8=_0xddde37;return _0x372782[_0x46abc8(0x169)]=_0x46abc8(0x16d),_0x372782[_0x46abc8(0x195)]=_0x46abc8(0x27b),_0x372782[_0x46abc8(0x27c)]=_0x46abc8(0x1c1),_0x372782[_0x46abc8(0x23e)]='error',_0x372782;}({});function _0x15f532(_0x479cfc,_0x435f3c){return function(_0x61aa27,_0x4af59c){_0x435f3c(_0x61aa27,_0x4af59c,_0x479cfc);};}function _0x35d3cd(_0x380e29,_0x1aca43,_0x193275,_0x496830){const _0x54b9f3=_0xddde37;var _0x1f38af=arguments[_0x54b9f3(0x1fd)],_0x2e05f0=_0x1f38af<0x3?_0x1aca43:_0x496830===null?_0x496830=Object['getOwnPropertyDescriptor'](_0x1aca43,_0x193275):_0x496830,_0x50b6f6;if(typeof Reflect=='object'&&typeof Reflect[_0x54b9f3(0x1a8)]=='function')_0x2e05f0=Reflect[_0x54b9f3(0x1a8)](_0x380e29,_0x1aca43,_0x193275,_0x496830);else{for(var _0x1bc782=_0x380e29[_0x54b9f3(0x1fd)]-0x1;_0x1bc782>=0x0;_0x1bc782--)(_0x50b6f6=_0x380e29[_0x1bc782])&&(_0x2e05f0=(_0x1f38af<0x3?_0x50b6f6(_0x2e05f0):_0x1f38af>0x3?_0x50b6f6(_0x1aca43,_0x193275,_0x2e05f0):_0x50b6f6(_0x1aca43,_0x193275))||_0x2e05f0);}return _0x1f38af>0x3&&_0x2e05f0&&Object[_0x54b9f3(0x1d9)](_0x1aca43,_0x193275,_0x2e05f0),_0x2e05f0;}let _0x488730=class extends _0x534dbf['Disposable']{constructor(_0x4deafa,_0x16a346,_0x143a73){const _0x128009=_0xddde37;super(),this['_model']=_0x4deafa,this[_0x128009(0x290)]=_0x16a346,this['_hostExternalReferenceModel']=_0x143a73,_0xa1107b(this,'_registrations',new Map()),_0xa1107b(this,'_formulaKeys',new Map()),_0xa1107b(this,_0x128009(0x222),new _0x57d587[(_0x128009(0x154))]()),_0xa1107b(this,_0x128009(0x1e5),this[_0x128009(0x222)]['asObservable']()),this[_0x128009(0x277)](this[_0x128009(0x290)][_0x128009(0x18b)][_0x128009(0x1df)](_0x3ba59b=>{const _0x4817cf=_0x128009;for(let _0x3119b9 of Object['values'](_0x3ba59b))for(let _0x4fea36 of Object[_0x4817cf(0x1b7)](_0x3119b9))_0x4fea36[_0x4817cf(0x281)](_0x33735b=>this[_0x4817cf(0x17b)](_0x33735b));}));}[_0xddde37(0x182)](_0x2c397f){const _0x1d02f5=_0xddde37;var _0x2f97f7;let _0x4248d9=_0x2c397f[_0x1d02f5(0x1a4)](),_0x45571c=((_0x2f97f7=_0x2c397f[_0x1d02f5(0x1f8)]()['body'])==null||(_0x2f97f7=_0x2f97f7['customRanges'])==null?void 0x0:_0x2f97f7[_0x1d02f5(0x1bc)](_0x1db77c))??[],_0x44a8fe=this[_0x1d02f5(0x218)]['getFormulas'](_0x4248d9),_0x100688=new Set();for(let _0x3ee441 of _0x45571c){let _0x135031=_0x44a8fe[_0x3ee441[_0x1d02f5(0x22a)]];_0x135031&&(_0x100688['add'](_0x224885(_0x4248d9,_0x3ee441['rangeId'])),this[_0x1d02f5(0x20c)]({'unitId':_0x4248d9,'rangeId':_0x3ee441[_0x1d02f5(0x22a)]},_0x135031));}for(let _0x2855e9 of Array[_0x1d02f5(0x27d)](this[_0x1d02f5(0x1f5)][_0x1d02f5(0x1b7)]()))_0x2855e9[_0x1d02f5(0x1b2)]===_0x4248d9&&!_0x100688['has'](_0x224885(_0x2855e9['unitId'],_0x2855e9[_0x1d02f5(0x22a)]))&&this[_0x1d02f5(0x280)](_0x2855e9);}[_0xddde37(0x20c)](_0x55166e,_0x4e9208){const _0x180dab=_0xddde37;let _0x2baa5f=_0x224885(_0x55166e[_0x180dab(0x1b2)],_0x55166e[_0x180dab(0x22a)]),_0x2d643f=this[_0x180dab(0x1f5)][_0x180dab(0x189)](_0x2baa5f),_0x2bfcfc=this[_0x180dab(0x230)][_0x180dab(0x217)](_0x55166e[_0x180dab(0x1b2)]);if(_0x2d643f&&_0x2d643f['config'][_0x180dab(0x166)]===_0x4e9208['formula']&&_0x2d643f['referenceRevision']===_0x2bfcfc){_0x2d643f[_0x180dab(0x1ac)]=_0x4e9208;let _0x56b39a=_0x2d643f[_0x180dab(0x159)]?this[_0x180dab(0x290)]['getFormulaValueSync'](_0x2d643f[_0x180dab(0x1b2)],_0x2d643f[_0x180dab(0x1b2)],_0x2d643f['formulaId'])??void 0x0:void 0x0;_0x2d643f[_0x180dab(0x257)]=_0x56b39a,this[_0x180dab(0x175)](_0x2baa5f,_0x19c272(_0x4e9208,_0x56b39a));return;}_0x2d643f!=null&&_0x2d643f[_0x180dab(0x159)]&&this[_0x180dab(0x236)](_0x2d643f);let _0x445ca6={..._0x55166e,'config':_0x4e9208,'referenceRevision':_0x2bfcfc,'presentation':_0x19c272(_0x4e9208,void 0x0)};if(this[_0x180dab(0x1f5)][_0x180dab(0x200)](_0x2baa5f,_0x445ca6),!_0x4e9208[_0x180dab(0x166)][_0x180dab(0x209)]())return;let _0x2ae1a4=this[_0x180dab(0x290)]['registerFormulaWithRange'](_0x55166e[_0x180dab(0x1b2)],_0x55166e['unitId'],_0x4e9208[_0x180dab(0x166)],void 0x0,{'rangeId':_0x55166e['rangeId']},_0x546eeb[_0x180dab(0x263)][_0x180dab(0x1fb)],_0x55166e[_0x180dab(0x22a)]);_0x445ca6[_0x180dab(0x159)]=_0x2ae1a4,this['_formulaKeys'][_0x180dab(0x200)](_0x2ae1a4,_0x2baa5f);}[_0xddde37(0x280)](_0x15a171){const _0xce915a=_0xddde37;let _0x42109a=_0x224885(_0x15a171[_0xce915a(0x1b2)],_0x15a171[_0xce915a(0x22a)]),_0x2225f8=this[_0xce915a(0x1f5)][_0xce915a(0x189)](_0x42109a);_0x2225f8&&(this['_deleteRegistration'](_0x2225f8),this[_0xce915a(0x1f5)][_0xce915a(0x1ae)](_0x42109a));}[_0xddde37(0x253)](_0x577397){const _0x22f0a2=_0xddde37;for(let _0x139b6f of Array['from'](this[_0x22f0a2(0x1f5)]['values']()))_0x139b6f['unitId']===_0x577397&&this['unregister'](_0x139b6f);}[_0xddde37(0x262)](_0x41f48f){const _0x5368e5=_0xddde37;var _0x114cd4;return(_0x114cd4=this[_0x5368e5(0x1f5)]['get'](_0x224885(_0x41f48f[_0x5368e5(0x1b2)],_0x41f48f['rangeId'])))==null?void 0x0:_0x114cd4[_0x5368e5(0x162)];}[_0xddde37(0x1ab)](_0x568864){const _0x5bf562=_0xddde37;let _0x5c85d8=this[_0x5bf562(0x1f5)][_0x5bf562(0x189)](_0x224885(_0x568864[_0x5bf562(0x1b2)],_0x568864[_0x5bf562(0x22a)]));return _0x5c85d8?_0x4adfde(_0x5c85d8):void 0x0;}[_0xddde37(0x24b)](){const _0x377b56=_0xddde37;return Array[_0x377b56(0x27d)](this[_0x377b56(0x1f5)][_0x377b56(0x1b7)](),_0x564bc8=>({'identity':{'unitId':_0x564bc8['unitId'],'rangeId':_0x564bc8['rangeId']},'config':_0x564bc8['config'],'referenceRevision':_0x564bc8[_0x377b56(0x20f)],..._0x564bc8[_0x377b56(0x257)]?{'liveResult':_0x564bc8[_0x377b56(0x257)]}:null}));}['dispose'](){const _0x550023=_0xddde37;for(let _0x5850da of this[_0x550023(0x1f5)][_0x550023(0x1b7)]())this[_0x550023(0x236)](_0x5850da);this[_0x550023(0x1f5)][_0x550023(0x20d)](),this[_0x550023(0x20a)][_0x550023(0x20d)](),this[_0x550023(0x222)][_0x550023(0x203)](),super[_0x550023(0x1f0)]();}[_0xddde37(0x17b)](_0x42744e){const _0x4d4076=_0xddde37;let _0xcabf3e=this[_0x4d4076(0x20a)]['get'](_0x42744e['formulaId']),_0x386786=_0xcabf3e?this['_registrations'][_0x4d4076(0x189)](_0xcabf3e):void 0x0;_0xcabf3e&&_0x386786&&(_0x386786[_0x4d4076(0x257)]=_0x42744e,this[_0x4d4076(0x175)](_0xcabf3e,_0x19c272(_0x386786[_0x4d4076(0x1ac)],_0x42744e)));}['_setPresentation'](_0xfa7c6b,_0x44e1e5){const _0x23ba99=_0xddde37;var _0x964992,_0x4ed9c6;let _0x57f776=this[_0x23ba99(0x1f5)][_0x23ba99(0x189)](_0xfa7c6b);if(!_0x57f776||_0x59269d(_0x57f776[_0x23ba99(0x162)],_0x44e1e5))return;let _0x416920=_0x57f776[_0x23ba99(0x162)],_0x2be897=_0x4adfde(_0x57f776);_0x57f776['presentation']=_0x44e1e5,this[_0x23ba99(0x222)][_0x23ba99(0x275)]({'unitId':_0x57f776[_0x23ba99(0x1b2)],'rangeId':_0x57f776['rangeId'],'presentation':_0x44e1e5,'previousPresentation':_0x416920,'result':_0x4adfde(_0x57f776),'previousResult':{..._0x2be897,..._0x416920,'value':(_0x964992=_0x416920[_0x23ba99(0x21d)])==null?void 0x0:_0x964992['v'],'valueType':((_0x4ed9c6=_0x416920[_0x23ba99(0x21d)])==null?void 0x0:_0x4ed9c6['t'])??void 0x0}});}[_0xddde37(0x236)](_0x35850b){const _0x2e2498=_0xddde37;_0x35850b[_0x2e2498(0x159)]&&(this[_0x2e2498(0x290)][_0x2e2498(0x255)](_0x35850b[_0x2e2498(0x1b2)],_0x35850b[_0x2e2498(0x1b2)],[_0x35850b[_0x2e2498(0x159)]]),this[_0x2e2498(0x20a)][_0x2e2498(0x1ae)](_0x35850b[_0x2e2498(0x159)]));}};_0x488730=_0x35d3cd([_0x15f532(0x0,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x43af87)),_0x15f532(0x1,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x546eeb[_0xddde37(0x212)])),_0x15f532(0x2,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x51228b[_0xddde37(0x15a)]))],_0x488730);function _0x224885(_0x291974,_0x4bb908){return _0x291974+'\x00'+_0x4bb908;}function _0x19c272(_0x5bd517,_0x2f7450){const _0x1b848c=_0xddde37;return(0x0,_0x51228b['resolveFormulaResultPresentation'])({'numberFormat':_0x5bd517[_0x1b848c(0x196)],'lastValue':_0x5bd517[_0x1b848c(0x17e)],'result':_0x2f7450});}function _0x4adfde(_0x47e44d){const _0x1b84c5=_0xddde37;var _0x2ff7b4,_0x3f446e,_0x11a6b0;let _0x4597d3=_0x47e44d[_0x1b84c5(0x162)],_0x380bc0=_0x47e44d[_0x1b84c5(0x1ac)][_0x1b84c5(0x166)][_0x1b84c5(0x209)]()?_0x4597d3[_0x1b84c5(0x198)]||_0x4597d3['cell']==null?'pending':((_0x2ff7b4=_0x47e44d[_0x1b84c5(0x257)])==null?void 0x0:_0x2ff7b4[_0x1b84c5(0x22c)])===_0x546eeb[_0x1b84c5(0x286)][_0x1b84c5(0x23e)]?'error':_0x1b84c5(0x1c1):'empty';return{..._0x4597d3,'status':_0x380bc0,'value':(_0x3f446e=_0x4597d3['cell'])==null?void 0x0:_0x3f446e['v'],'valueType':((_0x11a6b0=_0x4597d3[_0x1b84c5(0x21d)])==null?void 0x0:_0x11a6b0['t'])??void 0x0};}function _0x59269d(_0x5846de,_0x315bb4){const _0x4bb048=_0xddde37;var _0x49556c,_0x3fc473,_0x42742e,_0x2436a2;return _0x5846de[_0x4bb048(0x18c)]===_0x315bb4['text']&&_0x5846de['color']===_0x315bb4['color']&&_0x5846de['pattern']===_0x315bb4[_0x4bb048(0x1f2)]&&_0x5846de[_0x4bb048(0x1d8)]===_0x315bb4['source']&&_0x5846de[_0x4bb048(0x198)]===_0x315bb4[_0x4bb048(0x198)]&&((_0x49556c=_0x5846de[_0x4bb048(0x21d)])==null?void 0x0:_0x49556c['t'])===((_0x3fc473=_0x315bb4[_0x4bb048(0x21d)])==null?void 0x0:_0x3fc473['t'])&&Object['is']((_0x42742e=_0x5846de[_0x4bb048(0x21d)])==null?void 0x0:_0x42742e['v'],(_0x2436a2=_0x315bb4[_0x4bb048(0x21d)])==null?void 0x0:_0x2436a2['v']);}let _0x5b8f47={'id':_0xddde37(0x202),'type':_0x534dbf[_0xddde37(0x187)]['MUTATION'],'handler':(_0x20ca54,_0x10e1e4)=>!(_0x10e1e4!=null&&_0x10e1e4['unitId'])||!_0x10e1e4[_0xddde37(0x22a)]||!_0x10e1e4[_0xddde37(0x1ac)]?!0x1:_0x20ca54[_0xddde37(0x189)](_0x43af87)['setFormula'](_0x10e1e4['unitId'],_0x10e1e4[_0xddde37(0x22a)],_0x10e1e4[_0xddde37(0x1ac)])},_0x2cc3cc={'id':'docs-formula.mutation.remove-formula','type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x1e7)],'handler':(_0x3be829,_0xef9ff7)=>!(_0xef9ff7!=null&&_0xef9ff7[_0xddde37(0x1b2)])||!_0xef9ff7[_0xddde37(0x22a)]?!0x1:_0x3be829['get'](_0x43af87)[_0xddde37(0x1cd)](_0xef9ff7[_0xddde37(0x1b2)],_0xef9ff7['rangeId'])},_0x2270ae={'id':_0xddde37(0x1a5),'type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x1e7)],'handler':(_0x39f5fb,_0x53bf8e)=>!(_0x53bf8e!=null&&_0x53bf8e['unitId'])||!_0x53bf8e['resource']?!0x1:_0x39f5fb[_0xddde37(0x189)](_0x43af87)['setResource'](_0x53bf8e[_0xddde37(0x1b2)],_0x53bf8e[_0xddde37(0x1ed)])},_0x2e19e9={'id':_0xddde37(0x17a),'type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x1e7)],'handler':(_0x285c04,_0x2bc698)=>{const _0x2b9938=_0xddde37;if(!(_0x2bc698!=null&&_0x2bc698['unitId'])||!_0x2bc698['updates'][_0x2b9938(0x1fd)])return!0x1;let _0x4a69c1=_0x285c04[_0x2b9938(0x189)](_0x43af87),_0x21a701=_0x285c04['get'](_0x51228b[_0x2b9938(0x15a)]),_0x439acb=_0x4a69c1[_0x2b9938(0x181)](_0x2bc698[_0x2b9938(0x1b2)]);if(!_0x439acb)return!0x1;let _0xf1a9f8=_0x534dbf[_0x2b9938(0x1b0)][_0x2b9938(0x183)](_0x439acb),_0x16b9ea=!0x1;for(let _0x2a84e1 of _0x2bc698[_0x2b9938(0x288)]){var _0x529c95,_0x450cee,_0x1060d7,_0x5eca92;let _0x591998=_0xf1a9f8[_0x2b9938(0x1c7)][_0x2a84e1['rangeId']];_0x591998&&_0x591998[_0x2b9938(0x166)]===_0x2a84e1['expectedFormula']&&((_0x529c95=_0x591998[_0x2b9938(0x196)])==null?void 0x0:_0x529c95[_0x2b9938(0x1f2)])===_0x2a84e1['expectedNumberFormat']&&_0x21a701[_0x2b9938(0x217)](_0x2bc698[_0x2b9938(0x1b2)])===_0x2a84e1['expectedReferenceRevision']&&(((_0x450cee=_0x591998['lastValue'])==null?void 0x0:_0x450cee['v'])!==_0x2a84e1['lastValue']['v']||((_0x1060d7=_0x591998[_0x2b9938(0x17e)])==null?void 0x0:_0x1060d7['t'])!==_0x2a84e1[_0x2b9938(0x17e)]['t']||((_0x5eca92=_0x591998[_0x2b9938(0x17e)])==null?void 0x0:_0x5eca92[_0x2b9938(0x1f2)])!==_0x2a84e1[_0x2b9938(0x17e)]['pattern'])&&(_0x591998['lastValue']=_0x534dbf[_0x2b9938(0x1b0)]['deepClone'](_0x2a84e1[_0x2b9938(0x17e)]),_0x16b9ea=!0x0);}return!_0x16b9ea||_0x4a69c1[_0x2b9938(0x1bb)](_0x2bc698[_0x2b9938(0x1b2)],_0xf1a9f8);}},_0x2a63dd={'id':_0xddde37(0x207),'type':_0x534dbf['CommandType'][_0xddde37(0x26c)],'handler':(_0x535e52,_0x3b01f8)=>{const _0x3e7a6a=_0xddde37;if(!(_0x3b01f8!=null&&_0x3b01f8[_0x3e7a6a(0x166)][_0x3e7a6a(0x209)]()))return!0x1;let _0x7d64e8=_0x9dbe7(_0x535e52,_0x3b01f8['unitId'],'');if(!_0x7d64e8)return!0x1;let _0x35dda7=_0x26a3bb(_0x3b01f8[_0x3e7a6a(0x28a)],_0x7d64e8['body'],_0x210ca6(_0x535e52,_0x7d64e8[_0x3e7a6a(0x1b2)]));if(!_0x35dda7)return!0x1;let _0x2d642a=_0x32dfb9(_0x535e52,_0x7d64e8[_0x3e7a6a(0x1b2)],_0x3b01f8[_0x3e7a6a(0x166)],_0x3b01f8[_0x3e7a6a(0x208)]??[]);if(!_0x2d642a)return!0x1;let _0xff13d7=_0x552d7b(_0x7d64e8[_0x3e7a6a(0x267)],_0x7d64e8['model'],_0x7d64e8[_0x3e7a6a(0x1b2)]),_0x1e5b74=_0x2e712c({'documentData':_0x7d64e8[_0x3e7a6a(0x19d)],'resource':_0x7d64e8[_0x3e7a6a(0x1ed)],'rangeId':_0xff13d7,'config':{'formula':_0x3b01f8[_0x3e7a6a(0x166)],..._0x3b01f8['numberFormat']?{'numberFormat':_0x3b01f8[_0x3e7a6a(0x196)]}:null},'startOffset':_0x35dda7[_0x3e7a6a(0x21c)],'endOffset':_0x35dda7[_0x3e7a6a(0x206)]});if(!_0x1e5b74)return!0x1;let _0x1b5c71=(0x0,_0x51228b[_0x3e7a6a(0x20e)])(_0x535e52,_0x7d64e8['unitId'],_0x2d642a);return!_0x1b5c71||!_0x5dba21({'accessor':_0x535e52,'document':_0x7d64e8[_0x3e7a6a(0x1ec)],'unitId':_0x7d64e8[_0x3e7a6a(0x1b2)],'trigger':_0x2a63dd['id'],'rangeId':_0xff13d7,'previousResource':_0x7d64e8[_0x3e7a6a(0x1ed)],'nextResource':_0x1e5b74[_0x3e7a6a(0x225)],'previousDocumentData':_0x7d64e8['documentData'],'nextDocumentData':_0x1e5b74[_0x3e7a6a(0x161)],'cursorOffset':_0x1e5b74[_0x3e7a6a(0x278)],'externalMutations':_0x1b5c71})?!0x1:{'rangeId':_0xff13d7,'startOffset':_0x1e5b74[_0x3e7a6a(0x278)]-0x1,'endOffset':_0x1e5b74[_0x3e7a6a(0x278)]};}},_0x21e783={'id':_0xddde37(0x27a),'type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x26c)],'handler':(_0x3985eb,_0x3922e0)=>{const _0x5ebcfc=_0xddde37;if(!(_0x3922e0!=null&&_0x3922e0[_0x5ebcfc(0x22a)])||!_0x3922e0['formula'][_0x5ebcfc(0x209)]())return!0x1;let _0x2c5148=_0x9dbe7(_0x3985eb,_0x3922e0[_0x5ebcfc(0x1b2)],''),_0x40c31c=_0x2c5148==null?void 0x0:_0x2c5148[_0x5ebcfc(0x15b)]['getFormula'](_0x2c5148[_0x5ebcfc(0x1b2)],_0x3922e0[_0x5ebcfc(0x22a)]),_0x3938f6=_0x2c5148?_0x40a861(_0x2c5148[_0x5ebcfc(0x19d)][_0x5ebcfc(0x267)],_0x3922e0[_0x5ebcfc(0x22a)]):void 0x0;if(!_0x2c5148||!_0x40c31c||!_0x3938f6)return!0x1;let _0x4e2431=_0x32dfb9(_0x3985eb,_0x2c5148[_0x5ebcfc(0x1b2)],_0x3922e0[_0x5ebcfc(0x166)],_0x3922e0[_0x5ebcfc(0x208)]??[]);if(!_0x4e2431)return!0x1;let _0x4346c9=(0x0,_0x51228b[_0x5ebcfc(0x20e)])(_0x3985eb,_0x2c5148[_0x5ebcfc(0x1b2)],_0x4e2431);if(!_0x4346c9)return!0x1;let _0x5b154b=_0x30d23a(_0x2c5148[_0x5ebcfc(0x1ed)]);return _0x5b154b[_0x5ebcfc(0x1c7)][_0x3922e0['rangeId']]={'formula':_0x3922e0[_0x5ebcfc(0x166)],..._0x3922e0[_0x5ebcfc(0x196)]?{'numberFormat':_0x3922e0[_0x5ebcfc(0x196)]}:_0x40c31c[_0x5ebcfc(0x196)]?{'numberFormat':_0x40c31c[_0x5ebcfc(0x196)]}:null},_0x5dba21({'accessor':_0x3985eb,'document':_0x2c5148[_0x5ebcfc(0x1ec)],'unitId':_0x2c5148[_0x5ebcfc(0x1b2)],'trigger':_0x21e783['id'],'rangeId':_0x3922e0[_0x5ebcfc(0x22a)],'previousResource':_0x2c5148['resource'],'nextResource':_0x5b154b,'cursorOffset':_0x3938f6[_0x5ebcfc(0x165)]+0x1,'externalMutations':_0x4346c9});}},_0x46722c={'id':'docs-formula.command.set-number-format','type':_0x534dbf['CommandType'][_0xddde37(0x26c)],'handler':(_0x6ef13f,_0x5b920d)=>{const _0x5767d3=_0xddde37;if(!(_0x5b920d!=null&&_0x5b920d[_0x5767d3(0x22a)]))return!0x1;let _0x3363f7=_0x9dbe7(_0x6ef13f,_0x5b920d['unitId'],''),_0x2dcb90=_0x3363f7==null?void 0x0:_0x3363f7[_0x5767d3(0x15b)][_0x5767d3(0x25d)](_0x3363f7['unitId'],_0x5b920d['rangeId']),_0x14e0a7=_0x3363f7?_0x40a861(_0x3363f7[_0x5767d3(0x19d)][_0x5767d3(0x267)],_0x5b920d[_0x5767d3(0x22a)]):void 0x0;if(!_0x3363f7||!_0x2dcb90||!_0x14e0a7)return!0x1;let _0x1fb4d7=_0x30d23a(_0x3363f7[_0x5767d3(0x1ed)]);return _0x1fb4d7['formulas'][_0x5b920d[_0x5767d3(0x22a)]]={..._0x2dcb90,..._0x5b920d[_0x5767d3(0x196)]?{'numberFormat':_0x5b920d[_0x5767d3(0x196)]}:null},_0x5b920d[_0x5767d3(0x196)]||delete _0x1fb4d7[_0x5767d3(0x1c7)][_0x5b920d[_0x5767d3(0x22a)]][_0x5767d3(0x196)],_0x5dba21({'accessor':_0x6ef13f,'document':_0x3363f7[_0x5767d3(0x1ec)],'unitId':_0x3363f7[_0x5767d3(0x1b2)],'trigger':_0x46722c['id'],'rangeId':_0x5b920d[_0x5767d3(0x22a)],'previousResource':_0x3363f7[_0x5767d3(0x1ed)],'nextResource':_0x1fb4d7,'cursorOffset':_0x14e0a7[_0x5767d3(0x165)]+0x1,'externalMutations':{}});}},_0x5367e8={'id':'docs-formula.command.remove','type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x26c)],'handler':(_0x149520,_0x3f1865)=>_0x3fcc03(_0x149520,_0x3f1865,'',_0x5367e8['id'])},_0x4bb066={'id':'docs-formula.command.replace-with-text','type':_0x534dbf['CommandType'][_0xddde37(0x26c)],'handler':(_0x3c2a14,_0x719461)=>_0x3fcc03(_0x3c2a14,_0x719461,(_0x719461==null?void 0x0:_0x719461[_0xddde37(0x18c)])??'',_0x4bb066['id'])},_0x91d31e={'id':'docs-formula.command.convert-to-text','type':_0x534dbf[_0xddde37(0x187)][_0xddde37(0x26c)],'handler':(_0x2dfde1,_0xba0589)=>{const _0x7e71dc=_0xddde37;if(!(_0xba0589!=null&&_0xba0589[_0x7e71dc(0x22a)]))return!0x1;let _0x3a1be9=_0x9dbe7(_0x2dfde1,_0xba0589[_0x7e71dc(0x1b2)],'');if(!_0x3a1be9)return!0x1;let _0x39115e=_0x2dfde1[_0x7e71dc(0x189)](_0x488730)['getResult']({'unitId':_0x3a1be9[_0x7e71dc(0x1b2)],'rangeId':_0xba0589[_0x7e71dc(0x22a)]});return _0x39115e?_0x3fcc03(_0x2dfde1,_0xba0589,_0x39115e[_0x7e71dc(0x18c)],_0x91d31e['id']):!0x1;}};function _0x3fcc03(_0x111cca,_0x3c88fb,_0x529136,_0x1aa4c7){const _0x302b27=_0xddde37;if(!(_0x3c88fb!=null&&_0x3c88fb[_0x302b27(0x22a)]))return!0x1;let _0x5437a1=_0x9dbe7(_0x111cca,_0x3c88fb[_0x302b27(0x1b2)],'');if(!_0x5437a1)return!0x1;let _0x5cf926=_0x595916({'documentData':_0x5437a1[_0x302b27(0x19d)],'resource':_0x5437a1[_0x302b27(0x1ed)],'rangeId':_0x3c88fb[_0x302b27(0x22a)],'text':_0x529136});return _0x5cf926?_0x5dba21({'accessor':_0x111cca,'document':_0x5437a1[_0x302b27(0x1ec)],'unitId':_0x5437a1['unitId'],'trigger':_0x1aa4c7,'rangeId':_0x3c88fb[_0x302b27(0x22a)],'previousResource':_0x5437a1[_0x302b27(0x1ed)],'nextResource':_0x5cf926[_0x302b27(0x225)],'previousDocumentData':_0x5437a1[_0x302b27(0x19d)],'nextDocumentData':_0x5cf926['nextDocumentData'],'cursorOffset':_0x5cf926['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x9dbe7(_0x135038,_0x538293,_0x391f12){const _0x222d30=_0xddde37;if(_0x391f12)return null;let _0x547f74=_0x135038[_0x222d30(0x189)](_0x534dbf[_0x222d30(0x177)]),_0x1cc254=(_0x538293?_0x547f74[_0x222d30(0x283)](_0x538293,_0x534dbf[_0x222d30(0x224)][_0x222d30(0x261)]):_0x547f74[_0x222d30(0x1c8)](_0x534dbf[_0x222d30(0x224)][_0x222d30(0x261)]))??null;if(!_0x1cc254)return null;let _0x8e5421=_0x1cc254['getSnapshot'](),_0x416ece=_0x8e5421['body'];if(_0x8e5421[_0x222d30(0x1d7)]||!_0x416ece)return null;let _0x5a0bdd=_0x135038[_0x222d30(0x189)](_0x43af87);return _0x5a0bdd[_0x222d30(0x26b)](_0x1cc254[_0x222d30(0x1a4)]())?null:{'document':_0x1cc254,'body':_0x416ece,'documentData':_0x8e5421,'model':_0x5a0bdd,'resource':_0x5a0bdd[_0x222d30(0x181)](_0x1cc254[_0x222d30(0x1a4)]())??_0xdeec8b(),'unitId':_0x1cc254[_0x222d30(0x1a4)]()};}function _0x210ca6(_0x4536d5,_0x45fb73){const _0x497104=_0xddde37;var _0x458483;return(_0x458483=_0x4536d5[_0x497104(0x189)](_0x584402[_0x497104(0x1de)])['getTextRanges']({'subUnitId':_0x45fb73,'unitId':_0x45fb73}))==null?void 0x0:_0x458483[0x0];}function _0x26a3bb(_0x2aaae6,_0x3f8a6b,_0x495180){const _0x1b646f=_0xddde37;if((_0x2aaae6==null?void 0x0:_0x2aaae6[_0x1b646f(0x18d)])==='paragraph'){var _0x40a0eb;let _0x611127=((_0x40a0eb=_0x3f8a6b[_0x1b646f(0x238)])==null?void 0x0:_0x40a0eb[_0x1b646f(0x1bc)](_0x471eef=>_0x471eef[_0x1b646f(0x1fe)]===_0x2aaae6[_0x1b646f(0x1fe)]))??[];if(_0x611127[_0x1b646f(0x1fd)]!==0x1)return null;let _0x4126d1=_0x611127[0x0],_0x25a6a1=(0x0,_0x534dbf[_0x1b646f(0x234)])(_0x3f8a6b,_0x4126d1),_0x5ca287=_0x4126d1[_0x1b646f(0x18f)]-_0x25a6a1,_0x40e690=_0x2aaae6[_0x1b646f(0x23b)]===_0x1b646f(0x188)?_0x5ca287:_0x2aaae6[_0x1b646f(0x23b)];if(!Number[_0x1b646f(0x193)](_0x40e690)||_0x40e690<0x0||_0x40e690>_0x5ca287)return null;let _0x3a31e3=_0x25a6a1+_0x40e690;return{'startOffset':_0x3a31e3,'endOffset':_0x3a31e3};}if((_0x2aaae6==null?void 0x0:_0x2aaae6['type'])==='range')return!Number['isInteger'](_0x2aaae6[_0x1b646f(0x21c)])||!Number['isInteger'](_0x2aaae6[_0x1b646f(0x206)])?null:{'startOffset':Math['min'](_0x2aaae6[_0x1b646f(0x21c)],_0x2aaae6[_0x1b646f(0x206)]),'endOffset':Math[_0x1b646f(0x22b)](_0x2aaae6[_0x1b646f(0x21c)],_0x2aaae6[_0x1b646f(0x206)])};let _0x4da169=(_0x2aaae6==null?void 0x0:_0x2aaae6['type'])==='selection'?_0x2aaae6[_0x1b646f(0x15d)]:_0x495180;return!_0x4da169||_0x4da169[_0x1b646f(0x1a7)]?null:{'startOffset':Math[_0x1b646f(0x190)](_0x4da169[_0x1b646f(0x21c)],_0x4da169[_0x1b646f(0x206)]),'endOffset':Math[_0x1b646f(0x22b)](_0x4da169['startOffset'],_0x4da169['endOffset'])};}function _0x32dfb9(_0x399060,_0x12f00c,_0x1e632b,_0x3ce43c){const _0x36615e=_0xddde37;let _0x178877=_0x399060[_0x36615e(0x189)](_0x546eeb[_0x36615e(0x1b4)]),_0xb842b3=_0x1e632b['startsWith']('=')?_0x1e632b[_0x36615e(0x1bd)](0x1):_0x1e632b,_0x3c31a7=_0x178877[_0x36615e(0x25f)](_0xb842b3);if(!_0x3c31a7)return null;let _0x571eb7=_0x399060['get'](_0x51228b[_0x36615e(0x15a)]),_0x2a974d=(0x0,_0x51228b[_0x36615e(0x194)])({'qualifiers':(0x0,_0x51228b[_0x36615e(0x22d)])(_0x3c31a7),'explicitReferences':_0x3ce43c??[],'resolveBinding':_0x4c4cbd=>_0x571eb7['resolveBinding'](_0x12f00c,_0x4c4cbd)});return _0x2a974d['status']===_0x36615e(0x1a6)?_0x2a974d[_0x36615e(0x21f)]:null;}function _0x552d7b(_0x341ca4,_0x4ae912,_0x1bd5a3){const _0xdeab06=_0xddde37;var _0x5bb8ae;let _0x18234f=(0x0,_0x534dbf[_0xdeab06(0x233)])(0x6);for(;_0x341ca4!=null&&(_0x5bb8ae=_0x341ca4[_0xdeab06(0x1ea)])!=null&&_0x5bb8ae[_0xdeab06(0x17c)](_0x2d099e=>_0x2d099e['rangeId']===_0x18234f)||_0x4ae912[_0xdeab06(0x25d)](_0x1bd5a3,_0x18234f);)_0x18234f=(0x0,_0x534dbf[_0xdeab06(0x233)])(0x6);return _0x18234f;}function _0x2e712c(_0x4a94c1){try{return _0x4b7fbd(_0x4a94c1);}catch(_0x23ba85){if(_0x23ba85 instanceof _0x5b78e9)return null;throw _0x23ba85;}}function _0x839a80(_0x5a4e2e){const _0x1d5302=_0xddde37;let _0x26d779=_0x5a4e2e[_0x1d5302(0x23a)]&&_0x5a4e2e[_0x1d5302(0x161)]?_0x3202a9(_0x5a4e2e[_0x1d5302(0x1ec)],_0x5a4e2e['unitId'],_0x5a4e2e[_0x1d5302(0x23a)],_0x5a4e2e[_0x1d5302(0x161)],_0x5a4e2e['cursorOffset'],_0x5a4e2e[_0x1d5302(0x25a)]):null;return _0x5a4e2e[_0x1d5302(0x23a)]&&_0x5a4e2e[_0x1d5302(0x161)]&&!_0x26d779?null:{'documentRedo':_0x26d779,'resourceRedo':{'id':_0x2270ae['id'],'params':{'unitId':_0x5a4e2e[_0x1d5302(0x1b2)],'resource':_0x5a4e2e[_0x1d5302(0x225)]}},'resourceUndo':{'id':_0x2270ae['id'],'params':{'unitId':_0x5a4e2e[_0x1d5302(0x1b2)],'resource':_0x5a4e2e[_0x1d5302(0x1db)]}}};}function _0x53607a(_0x2cb022,_0x2b33a8,_0x546f4b,_0x58e0c1){const _0x4ed295=_0xddde37;_0x58e0c1['pushUndoRedo']({'id':_0x2cb022[_0x4ed295(0x25a)]+':'+_0x2cb022[_0x4ed295(0x22a)],'unitID':_0x2cb022[_0x4ed295(0x1b2)],'redoMutations':[..._0x2cb022['externalMutations'][_0x4ed295(0x265)]?[_0x2cb022[_0x4ed295(0x292)]['redoMutation']]:[],..._0x2b33a8['documentRedo']?[_0x2b33a8['documentRedo']]:[],_0x2b33a8['resourceRedo']],'undoMutations':[_0x2b33a8['resourceUndo'],..._0x546f4b?[_0x546f4b]:[],..._0x2cb022['externalMutations'][_0x4ed295(0x158)]?[_0x2cb022['externalMutations']['undoMutation']]:[]]});}function _0x5dba21(_0x17be8e){const _0x127e00=_0xddde37;let _0x52f321=_0x17be8e['accessor']['get'](_0x534dbf[_0x127e00(0x1e1)]),_0x15e6dc=_0x17be8e[_0x127e00(0x19c)]['get'](_0x534dbf[_0x127e00(0x276)]),_0x1c76ea=_0x17be8e['accessor'][_0x127e00(0x189)](_0x584402[_0x127e00(0x1de)]),_0x5edbc6=_0x839a80(_0x17be8e);if(!_0x5edbc6)return!0x1;let _0x5b880e=!0x1,_0x443c4e=null,_0x40aa87=!0x1;try{if(_0x17be8e[_0x127e00(0x292)][_0x127e00(0x265)]){if(!_0x52f321[_0x127e00(0x1f3)](_0x17be8e[_0x127e00(0x292)][_0x127e00(0x265)]['id'],_0x17be8e[_0x127e00(0x292)]['redoMutation'][_0x127e00(0x156)]))return!0x1;_0x5b880e=!0x0;}if(_0x5edbc6[_0x127e00(0x227)]){let _0x2ffc23=_0x52f321[_0x127e00(0x1f3)](_0x5edbc6[_0x127e00(0x227)]['id'],_0x5edbc6[_0x127e00(0x227)][_0x127e00(0x156)]);if(!_0x2ffc23)return _0x280135(_0x52f321,_0x17be8e[_0x127e00(0x292)],_0x5b880e),!0x1;_0x443c4e={'id':_0x584402[_0x127e00(0x1c2)]['id'],'params':{..._0x2ffc23,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x52f321[_0x127e00(0x1f3)](_0x5edbc6[_0x127e00(0x21a)]['id'],_0x5edbc6[_0x127e00(0x21a)][_0x127e00(0x156)]))return _0x31b54f(_0x52f321,_0x443c4e),_0x280135(_0x52f321,_0x17be8e[_0x127e00(0x292)],_0x5b880e),!0x1;_0x40aa87=!0x0,_0x53607a(_0x17be8e,_0x5edbc6,_0x443c4e,_0x15e6dc);}catch(_0x5994a9){throw _0x40aa87&&_0x52f321[_0x127e00(0x1f3)](_0x5edbc6[_0x127e00(0x15e)]['id'],_0x5edbc6[_0x127e00(0x15e)][_0x127e00(0x156)]),_0x31b54f(_0x52f321,_0x443c4e),_0x280135(_0x52f321,_0x17be8e[_0x127e00(0x292)],_0x5b880e),_0x5994a9;}return _0x1c76ea[_0x127e00(0x179)]([{'startOffset':_0x17be8e[_0x127e00(0x278)],'endOffset':_0x17be8e[_0x127e00(0x278)],'segmentId':''}],{'unitId':_0x17be8e[_0x127e00(0x1b2)],'subUnitId':_0x17be8e[_0x127e00(0x1b2)]},!0x1,{[_0x584402[_0x127e00(0x291)]]:!0x0}),!0x0;}function _0x3202a9(_0x368cbb,_0x31ea11,_0x374b2c,_0x51cb66,_0x9e76d7,_0x532b2c){const _0x455f32=_0xddde37;let _0x5dd6a7=_0x65742f(_0x374b2c,_0x51cb66,(0x0,_0x534dbf[_0x455f32(0x17f)])(_0x368cbb,''));return _0x5dd6a7?{'id':_0x584402[_0x455f32(0x1c2)]['id'],'params':{'unitId':_0x31ea11,'actions':_0x5dd6a7,'segmentId':'','textRanges':[{'startOffset':_0x9e76d7,'endOffset':_0x9e76d7,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x532b2c}}:null;}function _0x31b54f(_0x3dcd75,_0x2381b2){const _0x41727f=_0xddde37;_0x2381b2&&_0x3dcd75['syncExecuteCommand'](_0x2381b2['id'],_0x2381b2[_0x41727f(0x156)]);}function _0x280135(_0x59999d,_0x32b606,_0x366454){const _0x3efa45=_0xddde37;_0x366454&&_0x32b606[_0x3efa45(0x158)]&&_0x59999d[_0x3efa45(0x1f3)](_0x32b606[_0x3efa45(0x158)]['id'],_0x32b606[_0x3efa45(0x158)][_0x3efa45(0x156)]);}function _0x65742f(_0x2e5c8a,_0x52655e,_0x144250){const _0x3984f4=_0xddde37;let _0x3df508=_0x2e5c8a[_0x3984f4(0x267)],_0x3cf0c4=_0x52655e[_0x3984f4(0x267)],_0x3d5871=_0x45da4f(_0x3df508==null?void 0x0:_0x3df508[_0x3984f4(0x249)],_0x3cf0c4==null?void 0x0:_0x3cf0c4['dataStream']);if(!_0x3d5871||!_0x3cf0c4)return null;let _0x2d674c=new _0x534dbf['TextX']();return _0x2d674c[_0x3984f4(0x28c)](_0x3d5871[_0x3984f4(0x18e)]),_0x3d5871[_0x3984f4(0x240)]>0x0&&_0x2d674c[_0x3984f4(0x1d3)](_0x3d5871[_0x3984f4(0x240)],(0x0,_0x534dbf[_0x3984f4(0x294)])(_0x3cf0c4,_0x3d5871[_0x3984f4(0x18e)],_0x3d5871[_0x3984f4(0x18e)]+_0x3d5871[_0x3984f4(0x240)],!0x1)),_0x3d5871[_0x3984f4(0x25c)]>0x0&&_0x2d674c['delete'](_0x3d5871['deleteLength']),_0x534dbf['JSONX'][_0x3984f4(0x242)]()[_0x3984f4(0x174)](_0x2d674c[_0x3984f4(0x1e2)](),_0x144250);}function _0x45da4f(_0x43e447,_0x4ef04d){const _0x1c4f09=_0xddde37;if(_0x43e447==null||_0x4ef04d==null||_0x43e447===_0x4ef04d)return null;let _0x17296a=0x0;for(;_0x17296a<_0x43e447['length']&&_0x17296a<_0x4ef04d[_0x1c4f09(0x1fd)]&&_0x43e447[_0x17296a]===_0x4ef04d[_0x17296a];)_0x17296a+=0x1;let _0x374ead=_0x43e447[_0x1c4f09(0x1fd)],_0x1cb57b=_0x4ef04d[_0x1c4f09(0x1fd)];for(;_0x374ead>_0x17296a&&_0x1cb57b>_0x17296a&&_0x43e447[_0x374ead-0x1]===_0x4ef04d[_0x1cb57b-0x1];)--_0x374ead,--_0x1cb57b;return{'start':_0x17296a,'deleteLength':_0x374ead-_0x17296a,'insertLength':_0x1cb57b-_0x17296a};}function _0x30d23a(_0x40f0df){const _0x177b23=_0xddde37;return{'formulas':Object['fromEntries'](Object[_0x177b23(0x252)](_0x40f0df['formulas'])[_0x177b23(0x231)](([_0x188ce6,_0x3fdd6f])=>[_0x188ce6,{..._0x3fdd6f,..._0x3fdd6f[_0x177b23(0x196)]?{'numberFormat':{..._0x3fdd6f[_0x177b23(0x196)]}}:null,..._0x3fdd6f[_0x177b23(0x17e)]?{'lastValue':{..._0x3fdd6f[_0x177b23(0x17e)]}}:null}]))};}let _0x19633f=class extends _0x534dbf['Disposable']{constructor(_0x310d3c,_0x1fa562,_0x2b85fb,_0x456910){const _0x40e017=_0xddde37;super(),this['_instanceService']=_0x310d3c,this[_0x40e017(0x199)]=_0x1fa562,this[_0x40e017(0x218)]=_0x2b85fb,this[_0x40e017(0x1a3)]=_0x456910,_0xa1107b(this,_0x40e017(0x210),new Set()),_0xa1107b(this,'_syncScheduled',!0x1),_0xa1107b(this,'_isDisposed',!0x1),this[_0x40e017(0x19e)][_0x40e017(0x1ad)](_0x534dbf['UniverInstanceType'][_0x40e017(0x261)])[_0x40e017(0x281)](_0x21c452=>this[_0x40e017(0x1a3)]['syncUnit'](_0x21c452)),this[_0x40e017(0x277)](this[_0x40e017(0x218)][_0x40e017(0x23f)][_0x40e017(0x1df)](({unitId:_0x422483})=>this[_0x40e017(0x258)](_0x422483))),this[_0x40e017(0x277)](this[_0x40e017(0x19e)][_0x40e017(0x16a)]['subscribe'](({unit:_0x8d6fbb})=>{const _0x3202aa=_0x40e017;_0x8d6fbb[_0x3202aa(0x18d)]===_0x534dbf[_0x3202aa(0x224)][_0x3202aa(0x261)]&&this['_queueSync'](_0x8d6fbb['getUnitId']());})),this[_0x40e017(0x277)](this[_0x40e017(0x19e)]['unitDisposed$']['subscribe'](_0x577b87=>{const _0x4e28ac=_0x40e017;this[_0x4e28ac(0x1a3)][_0x4e28ac(0x253)](_0x577b87[_0x4e28ac(0x1a4)]());})),this[_0x40e017(0x277)](this[_0x40e017(0x199)][_0x40e017(0x243)](_0x12d97f=>{const _0x381ecb=_0x40e017;if(_0x12d97f['id']===_0x584402[_0x381ecb(0x1c2)]['id']&&_0x2284be(_0x12d97f[_0x381ecb(0x156)])){let _0x4c3203=_0x12d97f[_0x381ecb(0x156)];_0x4c3203['segmentId']||this['_syncUnit'](_0x4c3203[_0x381ecb(0x1b2)]);}}));}[_0xddde37(0x1f0)](){const _0x52acd3=_0xddde37;this[_0x52acd3(0x25b)]=!0x0,super[_0x52acd3(0x1f0)]();}[_0xddde37(0x24d)](_0x239909){const _0x391de5=_0xddde37;this[_0x391de5(0x210)][_0x391de5(0x1e8)](_0x239909),this['_syncScheduled']||(this[_0x391de5(0x197)]=!0x0,queueMicrotask(()=>{const _0x12ac70=_0x391de5;if(this[_0x12ac70(0x197)]=!0x1,this[_0x12ac70(0x25b)])return;let _0x5645ab=Array[_0x12ac70(0x27d)](this[_0x12ac70(0x210)]);this[_0x12ac70(0x210)]['clear'](),_0x5645ab[_0x12ac70(0x281)](_0x4167c6=>this[_0x12ac70(0x258)](_0x4167c6));}));}[_0xddde37(0x258)](_0xce10a6){const _0x58f825=_0xddde37;let _0x2a2bfe=this[_0x58f825(0x19e)][_0x58f825(0x283)](_0xce10a6,_0x534dbf[_0x58f825(0x224)][_0x58f825(0x261)]);_0x2a2bfe&&this[_0x58f825(0x1a3)][_0x58f825(0x182)](_0x2a2bfe);}};_0x19633f=_0x35d3cd([_0x15f532(0x0,_0x534dbf['IUniverInstanceService']),_0x15f532(0x1,_0x534dbf['ICommandService']),_0x15f532(0x2,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x43af87)),_0x15f532(0x3,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x488730))],_0x19633f);function _0x2284be(_0x44ab9a){const _0x44e3e0=_0xddde37;return typeof _0x44ab9a==_0x44e3e0(0x24f)&&!!_0x44ab9a&&_0x44e3e0(0x1b2)in _0x44ab9a&&typeof _0x44ab9a[_0x44e3e0(0x1b2)]==_0x44e3e0(0x1bf)&&(!(_0x44e3e0(0x1a7)in _0x44ab9a)||_0x44ab9a[_0x44e3e0(0x1a7)]===void 0x0||typeof _0x44ab9a[_0x44e3e0(0x1a7)]==_0x44e3e0(0x1bf));}let _0x32f69e=class extends _0x534dbf['Disposable']{constructor(_0x5d1156,_0x359d2a){const _0x448bfe=_0xddde37;super(),this['_resourceManagerService']=_0x5d1156,this[_0x448bfe(0x178)]=_0x359d2a,this['disposeWithMe'](this[_0x448bfe(0x232)][_0x448bfe(0x244)]({'pluginName':_0x1b57f6,'businesses':[_0x534dbf[_0x448bfe(0x224)][_0x448bfe(0x261)]],'toJson':_0x51604e=>JSON[_0x448bfe(0x22e)](this['_docFormulaModel'][_0x448bfe(0x1e2)](_0x51604e)),'parseJson':_0x4cbcb0=>JSON['parse'](_0x4cbcb0),'onLoad':(_0x8df06,_0x19eb71)=>{const _0x3b8157=_0x448bfe;this[_0x3b8157(0x178)][_0x3b8157(0x282)](_0x8df06,_0x19eb71);},'onUnLoad':_0xa5356c=>this[_0x448bfe(0x178)][_0x448bfe(0x1ba)](_0xa5356c)}));}};_0x32f69e=_0x35d3cd([_0x15f532(0x0,_0x534dbf[_0xddde37(0x223)]),_0x15f532(0x1,(0x0,_0x534dbf['Inject'])(_0x43af87))],_0x32f69e);var _0x447905=_0xddde37(0x1a2),_0x6e6d5d=_0xddde37(0x172);let _0x36595e={},_0x49ca5e=class extends _0x534dbf[_0xddde37(0x24c)]{constructor(_0x363ed4,_0x43259e,_0x4e7ad6){const _0x4ac4dd=_0xddde37;super(),this[_0x4ac4dd(0x268)]=_0x363ed4,this['_formulaService']=_0x43259e,this[_0x4ac4dd(0x277)](_0x4e7ad6[_0x4ac4dd(0x20c)]({'resolve':(_0x1038ca,_0x364552)=>{const _0x2b84f5=_0x4ac4dd;var _0xcfb43b;return((_0xcfb43b=_0x364552[_0x2b84f5(0x1ea)])==null?void 0x0:_0xcfb43b['filter'](_0x1db77c)[_0x2b84f5(0x231)](_0x5ee666=>({'startOffset':_0x5ee666['startIndex'],'endOffset':_0x5ee666[_0x2b84f5(0x165)]+0x1,'text':this[_0x2b84f5(0x25e)](_0x1038ca,_0x5ee666['rangeId'])})))??[];}})),this[_0x4ac4dd(0x277)](this[_0x4ac4dd(0x21e)][_0x4ac4dd(0x1e5)][_0x4ac4dd(0x1df)](({unitId:_0x2f01fc})=>{const _0x5b8d71=_0x4ac4dd;_0x4e7ad6[_0x5b8d71(0x167)](_0x2f01fc);}));}[_0xddde37(0x25e)](_0x5d89e1,_0x2098e9){const _0x826c2b=_0xddde37;var _0x2662d3;return((_0x2662d3=this[_0x826c2b(0x21e)][_0x826c2b(0x1ab)]({'unitId':_0x5d89e1,'rangeId':_0x2098e9}))==null?void 0x0:_0x2662d3[_0x826c2b(0x18c)])??'';}[_0xddde37(0x270)](_0x328286,_0x52ddd4,_0x2d1fdb){const _0x43c338=_0xddde37;var _0x43a67b;let _0x20c6f4=this['_univerInstanceService']['getUnit'](_0x328286,_0x534dbf[_0x43c338(0x224)]['UNIVER_DOC']),_0x25e206=_0x20c6f4==null?void 0x0:_0x20c6f4['getBody']();if(!_0x25e206)return'';let _0x6e6c41=_0x25e206[_0x43c338(0x249)][_0x43c338(0x1bd)](_0x52ddd4,_0x2d1fdb),_0xc25a71=((_0x43a67b=_0x25e206['customRanges'])==null?void 0x0:_0x43a67b[_0x43c338(0x1bc)](_0x1c3140=>_0x1db77c(_0x1c3140)&&_0x1c3140['startIndex']>=_0x52ddd4&&_0x1c3140[_0x43c338(0x165)]<_0x2d1fdb)['sort']((_0x36743c,_0x168079)=>_0x168079[_0x43c338(0x18f)]-_0x36743c[_0x43c338(0x18f)]))??[];for(let _0x41d020 of _0xc25a71){let _0x3fce27=_0x41d020[_0x43c338(0x18f)]-_0x52ddd4,_0x51e8e1=_0x41d020['endIndex']-_0x52ddd4+0x1;_0x6e6c41=''+_0x6e6c41[_0x43c338(0x1bd)](0x0,_0x3fce27)+this[_0x43c338(0x25e)](_0x328286,_0x41d020[_0x43c338(0x22a)])+_0x6e6c41[_0x43c338(0x1bd)](_0x51e8e1);}return _0x6e6c41;}['degradeDocumentData'](_0x13dd3e){return _0x1551e9(_0x13dd3e);}[_0xddde37(0x163)](_0x3b3834,_0x27b427,_0x585131={}){const _0x24597b=_0xddde37;var _0x53234f;return _0x2c580a({'id':_0x3b3834,'body':_0x27b427,'documentStyle':{}},(((_0x53234f=_0x27b427['customRanges'])==null?void 0x0:_0x53234f[_0x24597b(0x1bc)](_0x1db77c))??[])['map'](_0x118713=>({'rangeId':_0x118713[_0x24597b(0x22a)],'text':_0x585131[_0x118713['rangeId']]??this[_0x24597b(0x25e)](_0x3b3834,_0x118713[_0x24597b(0x22a)])})))['body']??{'dataStream':''};}};_0x49ca5e=_0x35d3cd([_0x15f532(0x0,_0x534dbf[_0xddde37(0x177)]),_0x15f532(0x1,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x488730)),_0x15f532(0x2,(0x0,_0x534dbf['Inject'])(_0x584402[_0xddde37(0x24e)]))],_0x49ca5e);function _0x1551e9(_0x136db0){const _0x2da465=_0xddde37;var _0x3f1925,_0xeae461;let _0x2ea9e4=_0x2a5deb(_0x136db0),_0x28c170=_0x2c580a(_0x136db0,(((_0x3f1925=_0x136db0['body'])==null||(_0x3f1925=_0x3f1925[_0x2da465(0x1ea)])==null?void 0x0:_0x3f1925[_0x2da465(0x1bc)](_0x1db77c))??[])[_0x2da465(0x231)](_0x138602=>({'rangeId':_0x138602[_0x2da465(0x22a)],'text':_0x57471d(_0x2ea9e4==null?void 0x0:_0x2ea9e4['formulas'][_0x138602[_0x2da465(0x22a)]])})));return _0x28c170[_0x2da465(0x21b)]=(_0xeae461=_0x28c170['resources'])==null?void 0x0:_0xeae461[_0x2da465(0x1bc)](_0x22afca=>_0x22afca[_0x2da465(0x284)]!==_0x1b57f6),_0x28c170;}function _0x2a5deb(_0x55778b){const _0x50d8b5=_0xddde37;var _0x1d4450;let _0x14ceda=(_0x1d4450=_0x55778b['resources'])==null||(_0x1d4450=_0x1d4450['find'](_0x376fc8=>_0x376fc8[_0x50d8b5(0x284)]===_0x50d8b5(0x1ff)))==null?void 0x0:_0x1d4450['data'];if(_0x14ceda)try{let _0x4e4428=JSON[_0x50d8b5(0x15f)](_0x14ceda);return _0x5bb3ce(_0x4e4428)?_0x4e4428:void 0x0;}catch{return;}}function _0x57471d(_0x4ca5ab){const _0x2b2a6a=_0xddde37;return _0x4ca5ab?(0x0,_0x51228b[_0x2b2a6a(0x251)])({'lastValue':_0x4ca5ab['lastValue'],'numberFormat':_0x4ca5ab['numberFormat']})[_0x2b2a6a(0x18c)]:'';}let _0x5e52f0=class extends _0x534dbf[_0xddde37(0x24c)]{constructor(_0x2f4579,_0x1b9cd2,_0x5f0738){const _0xa88e3d=_0xddde37;super(),this['_formulaService']=_0x2f4579,this[_0xa88e3d(0x23c)]=_0x1b9cd2,this[_0xa88e3d(0x277)](_0x5f0738[_0xa88e3d(0x1aa)](this));}['collectMutations'](_0xd1fda0){const _0x9155e0=_0xddde37;let _0x609f5f=new Map();for(let _0xe77aa7 of this['_formulaService'][_0x9155e0(0x24b)]()){var _0x10c4ef;if(!this[_0x9155e0(0x23c)][_0x9155e0(0x16f)](_0xe77aa7[_0x9155e0(0x1ac)]['formula'],_0xe77aa7[_0x9155e0(0x257)])['eligible'])continue;let _0x520922=(0x0,_0x51228b[_0x9155e0(0x20b)])(_0xe77aa7[_0x9155e0(0x257)]),_0x3f9571=_0x520922?(0x0,_0x51228b['toFormulaLastValue'])(_0x520922):null;if(!_0x3f9571||_0x1d44ee(_0xe77aa7[_0x9155e0(0x1ac)][_0x9155e0(0x17e)],_0x3f9571))continue;let _0xa9b452=_0x609f5f[_0x9155e0(0x189)](_0xe77aa7[_0x9155e0(0x185)]['unitId'])??[];_0xa9b452[_0x9155e0(0x16b)]({'rangeId':_0xe77aa7[_0x9155e0(0x185)][_0x9155e0(0x22a)],'expectedFormula':_0xe77aa7[_0x9155e0(0x1ac)][_0x9155e0(0x166)],'expectedNumberFormat':(_0x10c4ef=_0xe77aa7[_0x9155e0(0x1ac)][_0x9155e0(0x196)])==null?void 0x0:_0x10c4ef[_0x9155e0(0x1f2)],'expectedReferenceRevision':_0xe77aa7[_0x9155e0(0x20f)],'lastValue':_0x3f9571}),_0x609f5f[_0x9155e0(0x200)](_0xe77aa7[_0x9155e0(0x185)][_0x9155e0(0x1b2)],_0xa9b452);}return Array[_0x9155e0(0x27d)](_0x609f5f,([_0x40fd2f,_0x44c869])=>({'id':_0x2e19e9['id'],'params':{'unitId':_0x40fd2f,'updates':_0x44c869}}));}};_0x5e52f0=_0x35d3cd([_0x15f532(0x0,(0x0,_0x534dbf['Inject'])(_0x488730)),_0x15f532(0x1,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x51228b['FormulaCacheEligibilityService'])),_0x15f532(0x2,(0x0,_0x534dbf['Inject'])(_0x51228b[_0xddde37(0x23d)]))],_0x5e52f0);function _0x1d44ee(_0x3a52a2,_0x4e3506){const _0x2eb113=_0xddde37;return(_0x3a52a2==null?void 0x0:_0x3a52a2['v'])===_0x4e3506['v']&&(_0x3a52a2==null?void 0x0:_0x3a52a2['t'])===_0x4e3506['t']&&(_0x3a52a2==null?void 0x0:_0x3a52a2[_0x2eb113(0x1f2)])===_0x4e3506[_0x2eb113(0x1f2)];}let _0x3107d9=class extends _0x534dbf['Plugin']{constructor(_0x3e348f=_0x36595e,_0x458888,_0x34ceec,_0x13ff04){const _0xb278dc=_0xddde37;super(),this['_config']=_0x3e348f,this['_injector']=_0x458888,this[_0xb278dc(0x199)]=_0x34ceec,this[_0xb278dc(0x22f)]=_0x13ff04;let {..._0xd9925}=(0x0,_0x534dbf[_0xb278dc(0x28f)])({},_0x36595e,this[_0xb278dc(0x1dd)]);this[_0xb278dc(0x22f)][_0xb278dc(0x26e)](_0xb278dc(0x186),_0xd9925);}[_0xddde37(0x1f1)](){const _0x4ee4a4=_0xddde37;this[_0x4ee4a4(0x247)][_0x4ee4a4(0x1e8)]([_0x43af87]),this['_injector'][_0x4ee4a4(0x1e8)]([_0x488730]),this[_0x4ee4a4(0x247)][_0x4ee4a4(0x1e8)]([_0x32f69e]),this[_0x4ee4a4(0x247)][_0x4ee4a4(0x1e8)]([_0x19633f]),this[_0x4ee4a4(0x247)][_0x4ee4a4(0x1e8)]([_0x5e52f0]),this[_0x4ee4a4(0x247)][_0x4ee4a4(0x1e8)]([_0x49ca5e]),(0x0,_0x534dbf[_0x4ee4a4(0x191)])(this[_0x4ee4a4(0x247)],[[_0x43af87],[_0x32f69e],[_0x19633f],[_0x5e52f0],[_0x49ca5e]]),[_0x5b8f47,_0x2cc3cc,_0x2270ae,_0x2e19e9,_0x2a63dd,_0x21e783,_0x46722c,_0x5367e8,_0x4bb066,_0x91d31e][_0x4ee4a4(0x281)](_0x2f0453=>this[_0x4ee4a4(0x277)](this[_0x4ee4a4(0x199)][_0x4ee4a4(0x1fa)](_0x2f0453)));}};_0xa1107b(_0x3107d9,_0xddde37(0x220),_0x1b57f6),_0xa1107b(_0x3107d9,'packageName',_0x447905),_0xa1107b(_0x3107d9,'version',_0x6e6d5d),_0xa1107b(_0x3107d9,'type',_0x534dbf[_0xddde37(0x224)][_0xddde37(0x261)]),_0x3107d9=_0x35d3cd([(0x0,_0x534dbf['DependentOn'])(_0x2387b5[_0xddde37(0x1ce)],_0x51228b[_0xddde37(0x1b3)],_0x584402[_0xddde37(0x1ca)]),_0x15f532(0x1,(0x0,_0x534dbf[_0xddde37(0x260)])(_0x534dbf[_0xddde37(0x15c)])),_0x15f532(0x2,_0x534dbf[_0xddde37(0x1e1)]),_0x15f532(0x3,_0x534dbf['IConfigService'])],_0x3107d9),_0x40eb1e[_0xddde37(0x250)]=_0x91d31e,_0x40eb1e[_0xddde37(0x1c9)]=_0x1735d2,_0x40eb1e[_0xddde37(0x1b9)]='',_0x40eb1e['DOC_FORMULA_PLUGIN']=_0x1b57f6,Object[_0xddde37(0x1d9)](_0x40eb1e,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x49ca5e;}}),Object['defineProperty'](_0x40eb1e,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x19633f;}}),_0x40eb1e[_0xddde37(0x1d4)]=_0x43af87,Object[_0xddde37(0x1d9)](_0x40eb1e,_0xddde37(0x1da),{'enumerable':!0x0,'get':function(){return _0x32f69e;}}),_0x40eb1e[_0xddde37(0x170)]=_0x3a2323,Object[_0xddde37(0x1d9)](_0x40eb1e,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x488730;}}),_0x40eb1e[_0xddde37(0x1d2)]=_0x2a63dd,_0x40eb1e['InvalidDocFormulaInsertRangeError']=_0x5b78e9,_0x40eb1e[_0xddde37(0x155)]=_0x5367e8,_0x40eb1e[_0xddde37(0x173)]=_0x2cc3cc,_0x40eb1e['ReplaceDocFormulaWithTextCommand']=_0x4bb066,_0x40eb1e[_0xddde37(0x18a)]=_0x2e19e9,_0x40eb1e[_0xddde37(0x285)]=_0x5b8f47,_0x40eb1e['SetDocFormulaNumberFormatCommand']=_0x46722c,_0x40eb1e['SetDocFormulaResourceMutation']=_0x2270ae,Object[_0xddde37(0x1d9)](_0x40eb1e,_0xddde37(0x1f9),{'enumerable':!0x0,'get':function(){return _0x3107d9;}}),_0x40eb1e['UpdateDocFormulaCommand']=_0x21e783,_0x40eb1e[_0xddde37(0x17d)]=_0x4671de,_0x40eb1e[_0xddde37(0x1d1)]=_0x4b7fbd,_0x40eb1e['buildRemoveDocFormulaActions']=_0x595916,_0x40eb1e[_0xddde37(0x26a)]=_0xccfc38,_0x40eb1e[_0xddde37(0x1d5)]=_0xdeec8b,_0x40eb1e['degradeDocFormulaDocumentData']=_0x1551e9,_0x40eb1e[_0xddde37(0x274)]=_0x40a861,_0x40eb1e[_0xddde37(0x1c5)]=_0x3c30c5,_0x40eb1e[_0xddde37(0x27e)]=_0x1db77c,_0x40eb1e[_0xddde37(0x259)]=_0x5bb3ce,_0x40eb1e[_0xddde37(0x1cc)]=_0x2c66cb;}));function _0x3f33(_0x1377e5,_0x6a073c){_0x1377e5=_0x1377e5-0x154;const _0x6a50b4=_0x6a50();let _0x3f339f=_0x6a50b4[_0x1377e5];return _0x3f339f;}function _0x6a50(){const _0x4dabe3=['DOC_FORMULA_PLUGIN','set','_change$','docs-formula.mutation.set-formula','complete','getFormulas','tables','endOffset','docs-formula.command.insert','externalReferences','trim','_formulaKeys','getScalarFormulaResultCell','register','clear','buildUpsertHostExternalReferenceMutations','referenceRevision','_pendingUnitIds','default','RegisterOtherFormulaService','1850BiTUuY','setFormula','textRuns','shiftInclusiveRangeOnDelete','getRevision','_model','@univerjs-pro/engine-formula','resourceRedo','resources','startOffset','cell','_formulaService','references','pluginName','has','_presentationChanged$','IResourceManagerService','UniverInstanceType','nextResource','amd','documentRedo','_loadErrors','symbol','rangeId','max','status','collectFormulaExternalReferenceQualifiers','stringify','_configService','_hostExternalReferenceModel','map','_resourceManagerService','generateRandomId','getParagraphContentStartOffset','boolean','_deleteRegistration','shiftExclusiveRangeOnInsert','paragraphs','1078162rgTXJk','previousDocumentData','position','_cacheEligibilityService','FormulaLastValuePersistenceService','ERROR','change$','insertLength','BLOCK_END','getInstance','onCommandExecuted','registerPluginResource','keys','UniverCore','_injector','@univerjs/docs','dataStream','prototype','getRegisteredFormulas','Disposable','_queueSync','DocTextResolverService','object','ConvertDocFormulaToTextCommand','resolveFormulaResultPresentation','entries','unregisterUnit','TABLE_ROW_START','deleteFormula','univer-docs-formula','liveResult','_syncUnit','isDocFormulaResource','trigger','_isDisposed','deleteLength','getFormula','resolveFormula','sequenceNodesBuilder','Inject','UNIVER_DOC','getPresentation','OtherFormulaBizType','TABLE_START','redoMutation','shiftInclusiveRangeOnInsert','body','_univerInstanceService','includes','buildUpdateDocFormulaActions','getLoadError','COMMAND','getCustomRangeInterval','setConfig','2862PQOLjx','resolveText','sectionBreaks','Module','sort','findDocFormulaRange','next','IUndoRedoService','disposeWithMe','cursorOffset','BLOCK_START','docs-formula.command.update','pending','SUCCESS','from','isDocFormulaRange','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','unregister','forEach','load','getUnit','name','SetDocFormulaMutation','FormulaResultStatus','call','updates','1IJZYnu','target','blockRanges','retain','TABLE_ROW_END','CUSTOM','merge','_registrationService','DOC_SELECTION_OPTION_PRESERVE_CARET','externalMutations','TABLE_END','getBodySliceForTextXAction','70GFFZVm','rangeType','Subject','RemoveDocFormulaCommand','params','customDecorations','undoMutation','formulaId','HostExternalReferenceModel','model','Injector','selection','resourceUndo','parse','columnGroups','nextDocumentData','presentation','degradeBody','CUSTOM_BLOCK','endIndex','formula','notifyTextChanged','isArray','EMPTY','unitAdded$','push','4280nIpwtu','empty','UniverProEngineFormula','assess','DocFormulaResultStatus','UniverDocs','1.5.1','RemoveDocFormulaMutation','editOp','_setPresentation','COLUMN_GROUP_END','IUniverInstanceService','_docFormulaModel','replaceDocRanges','docs-formula.mutation.set-last-values','_updateFormulaResult','some','assertSafeDocFormulaInsertRange','lastValue','getRichTextEditPath','rxjs','getResource','syncUnit','deepClone','SECTION_BREAK','identity','docs-formula.config','CommandType','end','get','SetDocFormulaLastValuesMutation','formulaResult$','text','type','start','startIndex','min','touchDependencies','_preserveInvalid','isInteger','resolveHostFormulaExternalReferences','PENDING','numberFormat','_syncScheduled','stale','_commandService','5301494KSjqot','COLUMN_START','accessor','documentData','_instanceService','55251qisHmD','@univerjs/core','invalid-resource','@univerjs-pro/docs-formula','_service','getUnitId','docs-formula.mutation.set-resource','resolved','segmentId','decorate','properties','registerProvider','getResult','config','getAllUnitsForType','delete','756834wVZNjp','Tools','function','unitId','UniverProFormulaEnginePlugin','LexerTreeBuilder','DataStreamTreeTokenType','UniverEngineFormula','values','UniverProLicense','DOC_FORMULA_OBJECT_REPLACEMENT','removeUnit','setResource','filter','slice','kind','string','customBlocks','success','RichTextEditingMutation','shiftExclusiveRangeOnDelete','PARAGRAPH','isDocFormulaConfig','TABLE_CELL_END','formulas','getCurrentUnitOfType','DOC_FORMULA_CUSTOM_RANGE_KIND','UniverDocsPlugin','toPrimitive','isFormulaLastValue','removeFormula','UniverLicensePlugin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','every','buildInsertDocFormulaActions','InsertDocFormulaCommand','insert','DocFormulaModel','createEmptyDocFormulaResource','setFormulas','disabled','source','defineProperty','DocFormulaResourceController','previousResource','CellValueType','_config','DocSelectionManagerService','subscribe','_rawResources','ICommandService','serialize','find','4886168kqgVhM','presentationChanged$','_resources','MUTATION','add','@univerjs/engine-formula','customRanges','CustomRangeType','document','resource','toStringTag','COLUMN_END','dispose','onStarting','pattern','syncExecuteCommand','number','_registrations','endsWith','36040CPtHWM','getSnapshot','UniverDocsFormulaPlugin','registerCommand','DOC','assign','length','paragraphId'];_0x6a50=function(){return _0x4dabe3;};return _0x6a50();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.4.0",
3
+ "version": "1.5.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/engine-formula": "1.4.0",
65
- "@univerjs-pro/license": "1.4.0",
66
- "@univerjs/core": "1.4.0",
67
- "@univerjs/docs": "1.4.0",
68
- "@univerjs/engine-formula": "1.4.0"
64
+ "@univerjs-pro/engine-formula": "1.5.1",
65
+ "@univerjs-pro/license": "1.5.1",
66
+ "@univerjs/core": "1.5.1",
67
+ "@univerjs/docs": "1.5.1",
68
+ "@univerjs/engine-formula": "1.5.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.4.0",
72
- "@univerjs/engine-render": "1.4.0",
71
+ "@univerjs-infra/shared": "1.5.1",
72
+ "@univerjs/engine-render": "1.5.1",
73
73
  "rxjs": "7.8.2",
74
- "tsrs": "0.20.1-ts7.1.0-beta",
75
- "vitest": "^5.0.5"
74
+ "tsrs": "0.23.0-ts7.1.0-beta",
75
+ "vitest": "^5.1.0"
76
76
  },
77
77
  "scripts": {
78
78
  "test": "vitest run",