@univerjs-pro/docs-code 0.25.1 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0xaf9c01,_0xa653df){const _0x13a26e=_0x5b6d,_0x527325=_0xaf9c01();while(!![]){try{const _0x403be6=parseInt(_0x13a26e(0xa1))/0x1+-parseInt(_0x13a26e(0xd9))/0x2*(parseInt(_0x13a26e(0x13f))/0x3)+parseInt(_0x13a26e(0xd8))/0x4*(-parseInt(_0x13a26e(0x110))/0x5)+parseInt(_0x13a26e(0xea))/0x6+-parseInt(_0x13a26e(0x10f))/0x7*(-parseInt(_0x13a26e(0x138))/0x8)+-parseInt(_0x13a26e(0xdd))/0x9+parseInt(_0x13a26e(0x14e))/0xa;if(_0x403be6===_0xa653df)break;else _0x527325['push'](_0x527325['shift']());}catch(_0x23da84){_0x527325['push'](_0x527325['shift']());}}}(_0x52ed,0x80b8c),function(_0x549d4c,_0x53f60c){const _0x7e8366=_0x5b6d;typeof exports==_0x7e8366(0x11e)&&typeof module<'u'?_0x53f60c(exports,require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x7e8366(0x129)]?define([_0x7e8366(0x12f),_0x7e8366(0x148),'@univerjs/docs',_0x7e8366(0x150),_0x7e8366(0x132),_0x7e8366(0xba)],_0x53f60c):(_0x549d4c=typeof globalThis<'u'?globalThis:_0x549d4c||self,_0x53f60c(_0x549d4c[_0x7e8366(0xf6)]={},_0x549d4c[_0x7e8366(0xf8)],_0x549d4c[_0x7e8366(0x145)],_0x549d4c[_0x7e8366(0xd2)],_0x549d4c['rxjs'],_0x549d4c['UniverProLicense']));}(this,function(_0x2eba69,_0x2a53eb,_0x34c879,_0xc7fad0,_0x1004b4,_0x5bf04d){const _0x3a3c53=_0x5b6d;Object['defineProperty'](_0x2eba69,Symbol[_0x3a3c53(0xce)],{'value':_0x3a3c53(0xa5)});let _0x200cb5=_0x3a3c53(0xf7),_0x3d54ba=_0x3a3c53(0xb5),_0x33484f={'language':_0x3a3c53(0xe9),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x143e18(_0x3ac4af){return{..._0x33484f,..._0x3ac4af};}function _0x1d5048(_0x3b5c81){const _0x5cd92e=_0x3a3c53;var _0x59ee6f;let _0x1497f9=(_0x59ee6f=_0x3b5c81==null?void 0x0:_0x3b5c81[_0x5cd92e(0x10a)])==null?{}:_0x59ee6f;return{'codes':Object['fromEntries'](Object[_0x5cd92e(0x10e)](_0x1497f9)['map'](([_0x1c15d3,_0x117499])=>[_0x1c15d3,_0x143e18(_0x117499)]))};}function _0x39a9a1(_0x5acea3,_0x507d97,_0x2032cc){const _0x2f0b6f=_0x3a3c53;let _0xa6f07=_0x1d5048(_0x5acea3);return _0xa6f07['codes'][_0x507d97]=_0x143e18({..._0xa6f07[_0x2f0b6f(0x10a)][_0x507d97],..._0x2032cc}),_0xa6f07;}function _0x54cd1c(_0x4e94a6,_0x56de90){const _0xdd0a33=_0x3a3c53;let _0x265f28=_0x1d5048(_0x4e94a6);return delete _0x265f28[_0xdd0a33(0x10a)][_0x56de90],_0x265f28;}let _0x468b5f=_0x3a3c53(0x117);function _0x479efa(_0x17c585){const _0x1cd0dd=_0x3a3c53;var _0x5a1318,_0x47c2be,_0x27b274;let _0x5c69e5=_0x23298e(_0x17c585[_0x1cd0dd(0x103)]),_0x317594=_0x2ea890(_0x5c69e5),_0x3e1a16=_0xe4f3cf(_0x17c585[_0x1cd0dd(0x11a)],_0x17c585[_0x1cd0dd(0xd4)]),_0x534e67=_0x3e1a16?(_0x5a1318=_0x317594[_0x1cd0dd(0x155)])==null?void 0x0:_0x5a1318[_0x1cd0dd(0x119)](_0x310196=>_0x310196[_0x1cd0dd(0x127)]===_0x3e1a16[_0x1cd0dd(0x11a)]&&_0x310196[_0x1cd0dd(0xa3)]+0x1===_0x3e1a16[_0x1cd0dd(0xd4)]):void 0x0,{startOffset:_0x2a1a1b,endOffset:_0x47ca7e}=_0x534e67?_0x3e1a16:_0x5728bf(_0x317594,_0x17c585[_0x1cd0dd(0x11a)],_0x17c585[_0x1cd0dd(0xd4)]),_0x53f1dc=_0x168bb5(_0x317594,_0x2a1a1b,_0x47ca7e),_0x2db610=(_0x47c2be=_0x534e67==null?void 0x0:_0x534e67[_0x1cd0dd(0xe8)])==null?_0x17c585['blockId']:_0x47c2be,_0x5b7d57=_0x39a9a1(_0x17c585[_0x1cd0dd(0xc9)],_0x2db610,{..._0x33484f,..._0x17c585[_0x1cd0dd(0x112)]});if(_0x534e67)return _0x534e67[_0x1cd0dd(0xbd)]=_0x3d54ba,_0x81acdb(_0x317594,_0x2a1a1b,_0x47ca7e),_0x3357cf(_0x317594,_0x2a1a1b,_0x47ca7e,_0x53f1dc),{'nextDocumentData':_0x5c69e5,'nextMetadata':_0x5b7d57,'cursorOffset':_0x2a1a1b+0x1};if(_0x2a1a1b===_0x47ca7e){let _0x28f5f6=''+_0x2a53eb[_0x1cd0dd(0x126)][_0x1cd0dd(0xcc)]+_0x2a53eb[_0x1cd0dd(0x126)][_0x1cd0dd(0xbb)]+_0x2a53eb['DataStreamTreeTokenType'][_0x1cd0dd(0x13c)];return _0x259259(_0x317594,_0x2a1a1b,_0x28f5f6,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x23e46d(!0x0,!0x0,_0x53f1dc)}],'blockRanges':[{'blockId':_0x2db610,'blockType':_0x3d54ba,'startIndex':0x0,'endIndex':_0x28f5f6['length']-0x1}]}),{'nextDocumentData':_0x5c69e5,'nextMetadata':_0x5b7d57,'cursorOffset':_0x2a1a1b+0x1};}return _0x259259(_0x317594,_0x47ca7e,_0x2a53eb[_0x1cd0dd(0x126)][_0x1cd0dd(0x13c)]),_0x259259(_0x317594,_0x2a1a1b,_0x2a53eb[_0x1cd0dd(0x126)][_0x1cd0dd(0xcc)]),_0x3357cf(_0x317594,_0x2a1a1b,_0x47ca7e+0x1,_0x53f1dc),_0x317594[_0x1cd0dd(0x155)]=[...(_0x27b274=_0x317594[_0x1cd0dd(0x155)])==null?[]:_0x27b274,{'blockId':_0x2db610,'blockType':_0x3d54ba,'startIndex':_0x2a1a1b,'endIndex':_0x47ca7e+0x1}]['sort']((_0x4e55ba,_0x390759)=>_0x4e55ba[_0x1cd0dd(0x127)]-_0x390759['startIndex']),{'nextDocumentData':_0x5c69e5,'nextMetadata':_0x5b7d57,'cursorOffset':_0x2a1a1b+0x1};}function _0x81acdb(_0x1b10ce,_0x5bfd83,_0x12335a){const _0x1f33ba=_0x3a3c53;var _0x3a490d;((_0x3a490d=_0x1b10ce['paragraphs'])==null?[]:_0x3a490d)['filter'](_0x2da706=>_0x2da706['startIndex']>_0x5bfd83&&_0x2da706['startIndex']<_0x12335a)[_0x1f33ba(0xe1)](_0x25b1c8=>{const _0x778bc5=_0x1f33ba;var _0xd46045;let _0x100dd3={...(_0xd46045=_0x25b1c8[_0x778bc5(0xca)])==null?{}:_0xd46045};delete _0x100dd3['spaceAbove'],delete _0x100dd3[_0x778bc5(0x101)],_0x25b1c8['paragraphStyle']=_0x100dd3;});}function _0xe4f3cf(_0x4886f6,_0x161b26){const _0xcd0204=_0x3a3c53;return _0x4886f6==null||_0x161b26==null||_0x4886f6===_0x161b26?null:{'startOffset':Math[_0xcd0204(0x143)](_0x4886f6,_0x161b26),'endOffset':Math[_0xcd0204(0xf9)](_0x4886f6,_0x161b26)};}function _0x59b828(_0x41f457){const _0x4de695=_0x3a3c53;return{'nextDocumentData':_0x23298e(_0x41f457[_0x4de695(0x103)]),'nextMetadata':_0x39a9a1(_0x41f457[_0x4de695(0xc9)],_0x41f457['blockId'],_0x41f457[_0x4de695(0x112)]),'cursorOffset':0x0};}function _0x50fa25(_0x5962d6){const _0x60e966=_0x3a3c53;var _0x7f792e,_0x2be5c6;let _0x256fd5=_0x23298e(_0x5962d6[_0x60e966(0x103)]),_0x45c19b=_0x2ea890(_0x256fd5),_0x29bf25=_0xdd764a(_0x45c19b,_0x5962d6[_0x60e966(0xfa)]);if(!_0x29bf25)return null;let _0x5d6922=_0x9d644a(_0x45c19b,_0x29bf25),_0x12a1f2=_0x5d6922[_0x5d6922['length']-0x1];if(!_0x12a1f2||!_0x2be836(_0x45c19b,_0x29bf25,_0x12a1f2)||_0x5962d6['cursorOffset']<_0x12a1f2[_0x60e966(0x127)])return null;let _0x54ed1b=_0x1696b6(_0x45c19b,_0x29bf25,_0x12a1f2);if(_0x54ed1b>=_0x29bf25['endIndex'])return null;_0x45c19b[_0x60e966(0x10b)]=[_0x45c19b[_0x60e966(0x10b)]['slice'](0x0,_0x54ed1b),_0x2a53eb[_0x60e966(0x126)][_0x60e966(0x13c)],_0x45c19b['dataStream'][_0x60e966(0xe4)](_0x54ed1b,_0x29bf25['endIndex']),_0x45c19b['dataStream'][_0x60e966(0xe4)](_0x29bf25[_0x60e966(0xa3)]+0x1)][_0x60e966(0xde)](''),_0x52b272(_0x45c19b[_0x60e966(0x156)],_0x54ed1b,_0x29bf25[_0x60e966(0xa3)],0x1),_0x52b272(_0x45c19b[_0x60e966(0xb7)],_0x54ed1b,_0x29bf25['endIndex'],0x1),_0x52b272(_0x45c19b[_0x60e966(0xe3)],_0x54ed1b,_0x29bf25['endIndex'],0x1),_0x31b7e8(_0x45c19b[_0x60e966(0xbf)],_0x54ed1b,_0x29bf25[_0x60e966(0xa3)],0x1),_0x3468b3(_0x45c19b[_0x60e966(0xc5)],_0x54ed1b,_0x29bf25[_0x60e966(0xa3)],0x1),_0x3468b3(_0x45c19b[_0x60e966(0x114)],_0x54ed1b,_0x29bf25[_0x60e966(0xa3)],0x1),_0x3468b3(_0x45c19b[_0x60e966(0xfb)],_0x54ed1b,_0x29bf25[_0x60e966(0xa3)],0x1),(_0x7f792e=_0x45c19b[_0x60e966(0x155)])==null||_0x7f792e['forEach'](_0xe1135d=>{const _0x25beea=_0x60e966;_0xe1135d===_0x29bf25||_0xe1135d['blockId']===_0x29bf25[_0x25beea(0xe8)]?_0xe1135d[_0x25beea(0xa3)]=_0x54ed1b:_0xe1135d['startIndex']>=_0x54ed1b&&_0xe1135d[_0x25beea(0x127)]<_0x29bf25['endIndex']&&(_0xe1135d[_0x25beea(0x127)]+=0x1,_0xe1135d[_0x25beea(0xa3)]+=0x1);});let _0x418cd5=_0x9d644a(_0x45c19b,{..._0x29bf25,'endIndex':_0x54ed1b});_0x418cd5[_0x60e966(0xe1)]((_0x204d8d,_0x2c681a)=>{const _0x538f1a=_0x60e966;var _0x19242c;_0x204d8d[_0x538f1a(0xca)]={...(_0x19242c=_0x204d8d[_0x538f1a(0xca)])==null?{}:_0x19242c,..._0x23e46d(_0x2c681a===0x0,_0x2c681a===_0x418cd5[_0x538f1a(0x11c)]-0x1)};});let _0x1bd7bb=(_0x2be5c6=_0x45c19b[_0x60e966(0x156)])==null?void 0x0:_0x2be5c6[_0x60e966(0x119)](_0x4aedba=>_0x4aedba[_0x60e966(0x127)]===_0x54ed1b+0x1);return _0x1bd7bb&&(_0x1bd7bb[_0x60e966(0xca)]=_0x19e85a(_0x1bd7bb['paragraphStyle'])),{'nextDocumentData':_0x256fd5,'cursorOffset':_0x54ed1b+0x1};}function _0x16c222(_0x5e1373){const _0x5f1c78=_0x3a3c53;let _0x1a8e96=_0x23298e(_0x5e1373[_0x5f1c78(0x103)]),_0x25b061=_0x2ea890(_0x1a8e96),_0x4dfff9=_0xdd764a(_0x25b061,_0x5e1373[_0x5f1c78(0xfa)]);return _0x4dfff9&&_0x2edacf(_0x1a8e96,_0x25b061,_0x4dfff9,_0x5e1373[_0x5f1c78(0xfa)],_0x5e1373['paragraphStartIndex'])||null;}function _0x2edacf(_0x3448c3,_0xd939ea,_0x5c696d,_0x44e7cb,_0x1757ab){const _0x552848=_0x3a3c53;let _0x1830b8=_0x2f2fbe(_0xd939ea,_0x5c696d,_0x44e7cb,_0x1757ab);if(!_0x1830b8)return null;let _0x46792f=_0x1830b8[_0x552848(0xe0)]-0x1;return _0x1c3dee(_0xd939ea,_0x1830b8[_0x552848(0xa8)]['startIndex'],_0x1830b8[_0x552848(0xa8)][_0x552848(0x127)]+0x1),{'nextDocumentData':_0x3448c3,'cursorOffset':_0x46792f};}function _0x47f825(_0x400162,_0x3ccc46){const _0x208ed6=_0x3a3c53;var _0xe68dfc;return _0x400162==null||(_0xe68dfc=_0x400162['blockRanges'])==null?void 0x0:_0xe68dfc[_0x208ed6(0x119)](_0x46c146=>_0x46c146['blockType']===_0x208ed6(0xb5)&&_0x46c146['startIndex']<=_0x3ccc46&&_0x3ccc46<=_0x46c146[_0x208ed6(0xa3)]);}function _0x45a3f5(_0x5d232d){const _0x2fec63=_0x3a3c53;var _0x1b1f50;let _0xae7aed=_0x5d232d[_0x2fec63(0x103)][_0x2fec63(0xf0)];if(!_0xae7aed)return!0x1;let _0xf6dda0=_0x5d232d[_0x2fec63(0xad)]===_0x2fec63(0xe5)?_0x5d232d[_0x2fec63(0xfa)]-0x1:_0x5d232d['cursorOffset'],_0x102184=_0x5d232d[_0x2fec63(0xad)]===_0x2fec63(0x10c)?_0x5d232d[_0x2fec63(0xfa)]+0x1:_0xf6dda0;return((_0x1b1f50=_0xae7aed[_0x2fec63(0x155)])==null?[]:_0x1b1f50)[_0x2fec63(0x139)](_0xece01a=>_0xece01a[_0x2fec63(0xbd)]===_0x2fec63(0xb5)?_0xf6dda0===_0xece01a['startIndex']||_0xf6dda0===_0xece01a[_0x2fec63(0xa3)]||_0x102184===_0xece01a['startIndex']||_0x102184===_0xece01a['endIndex']:!0x1);}function _0xdd764a(_0x41b9cc,_0xcbbc6e){const _0x3eeb02=_0x3a3c53;var _0x365645;return(_0x365645=_0x41b9cc['blockRanges'])==null?void 0x0:_0x365645[_0x3eeb02(0x119)](_0x3e756d=>{const _0x42819b=_0x3eeb02;let _0x2e7c37=_0x1c5363(_0x41b9cc,_0x3e756d);return _0x3e756d[_0x42819b(0xbd)]===_0x42819b(0xb5)&&_0x3e756d[_0x42819b(0x127)]<=_0xcbbc6e&&_0xcbbc6e<=_0x2e7c37+0x2;});}function _0x23e46d(_0x190b04,_0x289386,_0x54f2c2=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x190b04&&_0x54f2c2?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x468b5f,'fs':0xc}};}function _0x3357cf(_0x21e9ba,_0x22406b,_0x144c1c,_0x32a6ee=!0x1){const _0x378109=_0x3a3c53;var _0x409a19;let _0x71796b=((_0x409a19=_0x21e9ba[_0x378109(0x156)])==null?[]:_0x409a19)[_0x378109(0x154)](_0x591743=>_0x591743[_0x378109(0x127)]>_0x22406b&&_0x591743[_0x378109(0x127)]<_0x144c1c);_0x71796b['forEach']((_0x21daf6,_0x5209ab)=>{const _0x69fa2c=_0x378109;var _0x2ccaea;_0x21daf6[_0x69fa2c(0xca)]={...(_0x2ccaea=_0x21daf6[_0x69fa2c(0xca)])==null?{}:_0x2ccaea,..._0x23e46d(_0x5209ab===0x0,_0x5209ab===_0x71796b['length']-0x1,_0x32a6ee)};});}function _0x19e85a(_0x134a74){const _0x272dc8=_0x3a3c53;var _0x2e501d,_0x5f015f;let _0x46875a={..._0x134a74==null?{}:_0x134a74};return delete _0x46875a[_0x272dc8(0x105)],delete _0x46875a[_0x272dc8(0x14a)],delete _0x46875a['spaceAbove'],delete _0x46875a['spaceBelow'],((_0x2e501d=_0x46875a[_0x272dc8(0x147)])==null?void 0x0:_0x2e501d['ff'])===_0x468b5f&&((_0x5f015f=_0x46875a[_0x272dc8(0x147)])==null?void 0x0:_0x5f015f['fs'])===0xc&&delete _0x46875a[_0x272dc8(0x147)],_0x46875a;}function _0x9d644a(_0x4493db,_0x36b38a){const _0x11fde9=_0x3a3c53;var _0x38ddb3;let _0xf61453=_0x1c5363(_0x4493db,_0x36b38a);return((_0x38ddb3=_0x4493db[_0x11fde9(0x156)])==null?[]:_0x38ddb3)[_0x11fde9(0x154)](_0xce0b91=>_0xce0b91[_0x11fde9(0x127)]>_0x36b38a[_0x11fde9(0x127)]&&_0xce0b91[_0x11fde9(0x127)]<_0xf61453);}function _0x2be836(_0x5a283c,_0x51f768,_0x5dc71a){const _0x161a43=_0x3a3c53;let _0x211de9=_0x1696b6(_0x5a283c,_0x51f768,_0x5dc71a),_0x5738b9=_0x5a283c[_0x161a43(0x10b)][_0x161a43(0xe4)](_0x211de9,_0x5dc71a[_0x161a43(0x127)]);return Array[_0x161a43(0x152)](_0x5738b9)[_0x161a43(0xb3)](_0x5bf8c1=>_0x5bf8c1===_0x2a53eb[_0x161a43(0x126)]['BLOCK_START']||_0x5bf8c1===_0x2a53eb[_0x161a43(0x126)]['BLOCK_END']);}function _0x23298e(_0x4edd7f){const _0x2e94e5=_0x3a3c53;return _0x2a53eb[_0x2e94e5(0xbe)][_0x2e94e5(0xef)](_0x4edd7f);}function _0x2ea890(_0x555187){const _0xc57bed=_0x3a3c53;if(!_0x555187[_0xc57bed(0xf0)])throw Error('Document\x20body\x20is\x20required');return _0x555187[_0xc57bed(0xf0)];}function _0x5728bf(_0x2df72d,_0x2d4fae,_0x421da9){const _0x522fbe=_0x3a3c53;if(_0x2d4fae==null||_0x421da9==null){let _0x4949d0=_0x44c25d(_0x2df72d);return{'startOffset':_0x4949d0,'endOffset':_0x4949d0};}let _0xd277f0=Math['min'](_0x2d4fae,_0x421da9),_0x149c37=Math[_0x522fbe(0xf9)](_0x2d4fae,_0x421da9);return _0xd277f0===_0x149c37?{'startOffset':_0xd277f0,'endOffset':_0xd277f0}:_0x450168(_0x2df72d,_0xd277f0,_0x149c37);}function _0x44c25d(_0x4d3e2a){const _0x17616d=_0x3a3c53;return _0x4d3e2a[_0x17616d(0x10b)][_0x17616d(0x136)](_0x2a53eb['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x17616d(0xf9)](0x0,_0x4d3e2a[_0x17616d(0x10b)][_0x17616d(0x11c)]-0x1):_0x4d3e2a[_0x17616d(0x10b)][_0x17616d(0x11c)];}function _0x168bb5(_0x3a6760,_0x26f07b,_0x52f602){const _0x1432ee=_0x3a3c53;var _0xd837ad;let _0x5694ad=Math[_0x1432ee(0x143)](_0x26f07b,_0x52f602),_0x404c30=Math[_0x1432ee(0xf9)](_0x26f07b,_0x52f602);return!!((_0xd837ad=_0x3a6760[_0x1432ee(0xc5)])!=null&&_0xd837ad[_0x1432ee(0x139)](_0x2d9f4c=>_0x5694ad>_0x2d9f4c[_0x1432ee(0x127)]&&_0x5694ad<_0x2d9f4c[_0x1432ee(0xa3)]||_0x404c30>_0x2d9f4c[_0x1432ee(0x127)]&&_0x404c30<_0x2d9f4c[_0x1432ee(0xa3)]||_0x5694ad<=_0x2d9f4c['startIndex']&&_0x404c30>=_0x2d9f4c[_0x1432ee(0xa3)]));}function _0x450168(_0x18c705,_0x490895,_0x3cae6a){const _0x489f1b=_0x3a3c53;var _0x8d7af,_0x4213b3;let _0x3fabc5=[...(_0x8d7af=_0x18c705['paragraphs'])==null?[]:_0x8d7af][_0x489f1b(0xf5)]((_0x5c154c,_0x2ca671)=>_0x5c154c[_0x489f1b(0x127)]-_0x2ca671[_0x489f1b(0x127)]),_0x1aa96f=_0x3fabc5['find']((_0x64b14b,_0x250bea)=>(_0x250bea===0x0?0x0:_0x3fabc5[_0x250bea-0x1][_0x489f1b(0x127)]+0x1)<=_0x490895&&_0x490895<=_0x64b14b[_0x489f1b(0x127)]),_0x18692a=(_0x4213b3=_0x3fabc5[_0x489f1b(0x119)](_0xb588a7=>_0xb588a7[_0x489f1b(0x127)]>=_0x3cae6a-0x1))==null?_0x3fabc5[_0x3fabc5['length']-0x1]:_0x4213b3;return{'startOffset':_0x1aa96f?_0x2409ee(_0x3fabc5,_0x1aa96f):_0x490895,'endOffset':_0x18692a?_0x18692a[_0x489f1b(0x127)]+0x1:_0x3cae6a};}function _0x2409ee(_0x57465e,_0x25cb0e){const _0x424a35=_0x3a3c53;let _0x3d5c6c=_0x57465e[_0x424a35(0x11f)](_0x25cb0e);return _0x3d5c6c>0x0?_0x57465e[_0x3d5c6c-0x1][_0x424a35(0x127)]+0x1:0x0;}function _0x1696b6(_0x4f0a8f,_0x2665c6,_0x19ade2){const _0x17dd16=_0x3a3c53;var _0x58b664;return Math[_0x17dd16(0xf9)](_0x2409ee((_0x58b664=_0x4f0a8f[_0x17dd16(0x156)])==null?[]:_0x58b664,_0x19ade2),_0x2665c6[_0x17dd16(0x127)]+0x1);}function _0x1c5363(_0x357631,_0x5b30c0){const _0x59dff0=_0x3a3c53;return _0x357631[_0x59dff0(0x10b)][_0x5b30c0['endIndex']]===_0x2a53eb['DataStreamTreeTokenType']['BLOCK_END']?_0x5b30c0[_0x59dff0(0xa3)]:_0x357631[_0x59dff0(0x10b)][_0x5b30c0[_0x59dff0(0xa3)]+0x1]===_0x2a53eb[_0x59dff0(0x126)]['BLOCK_END']?_0x5b30c0[_0x59dff0(0xa3)]+0x1:_0x5b30c0['endIndex'];}function _0x2f2fbe(_0xdc7763,_0x5f3cdb,_0xc4b655,_0x45f786){const _0x54b864=_0x3a3c53;var _0x42033c,_0x30c682;let _0x38a74a=_0x1c5363(_0xdc7763,_0x5f3cdb),_0x90508e=((_0x42033c=_0xdc7763['paragraphs'])==null?[]:_0x42033c)[_0x54b864(0x119)](_0xf627c9=>_0xf627c9[_0x54b864(0x127)]===_0x38a74a+0x1);if(!_0x90508e||_0x45f786!=null&&_0x90508e['startIndex']!==_0x45f786||_0xc4b655<_0x38a74a||_0xc4b655>_0x90508e[_0x54b864(0x127)]+0x1||_0xdc7763['dataStream'][_0x90508e[_0x54b864(0x127)]]!==_0x2a53eb[_0x54b864(0x126)][_0x54b864(0xbb)])return null;let _0x232f5d=_0x2409ee((_0x30c682=_0xdc7763[_0x54b864(0x156)])==null?[]:_0x30c682,_0x90508e),_0x333037=_0xdc7763[_0x54b864(0x10b)]['slice'](_0x232f5d,_0x90508e[_0x54b864(0x127)]);return Array[_0x54b864(0x152)](_0x333037)[_0x54b864(0xb3)](_0x430984=>_0x430984===_0x2a53eb[_0x54b864(0x126)][_0x54b864(0x13c)])?{'paragraph':_0x90508e,'endTokenOffset':_0x38a74a}:null;}function _0x259259(_0xd01643,_0x3fa409,_0x19a181,_0x599ade={}){const _0x22a37f=_0x3a3c53;var _0x31b3e1,_0x301cbc;if(_0x19a181){if(_0xd01643['dataStream']=''+_0xd01643[_0x22a37f(0x10b)][_0x22a37f(0xe4)](0x0,_0x3fa409)+_0x19a181+_0xd01643[_0x22a37f(0x10b)][_0x22a37f(0xe4)](_0x3fa409),_0x2cbc08(_0xd01643,_0x3fa409,_0x19a181[_0x22a37f(0x11c)]),(_0x31b3e1=_0x599ade[_0x22a37f(0x156)])!=null&&_0x31b3e1['length']){var _0x12ecf9;_0xd01643[_0x22a37f(0x156)]=[...(_0x12ecf9=_0xd01643['paragraphs'])==null?[]:_0x12ecf9,..._0x599ade['paragraphs'][_0x22a37f(0x142)](_0x488f85=>({..._0x488f85,'startIndex':_0x488f85['startIndex']+_0x3fa409}))][_0x22a37f(0xf5)]((_0x3c787d,_0x9ac568)=>_0x3c787d['startIndex']-_0x9ac568[_0x22a37f(0x127)]);}if((_0x301cbc=_0x599ade[_0x22a37f(0x155)])!=null&&_0x301cbc['length']){var _0x52c8a0;_0xd01643[_0x22a37f(0x155)]=[...(_0x52c8a0=_0xd01643[_0x22a37f(0x155)])==null?[]:_0x52c8a0,..._0x599ade[_0x22a37f(0x155)][_0x22a37f(0x142)](_0x153152=>({..._0x153152,'startIndex':_0x153152[_0x22a37f(0x127)]+_0x3fa409,'endIndex':_0x153152[_0x22a37f(0xa3)]+_0x3fa409}))]['sort']((_0x58cc7c,_0x2cd349)=>_0x58cc7c['startIndex']-_0x2cd349[_0x22a37f(0x127)]);}}}function _0x1c3dee(_0x5e0134,_0x3cc49b,_0x5867cb){const _0x5b241c=_0x3a3c53;let _0x1e6dc4=_0x5867cb-_0x3cc49b;_0x5e0134[_0x5b241c(0x10b)]=''+_0x5e0134['dataStream'][_0x5b241c(0xe4)](0x0,_0x3cc49b)+_0x5e0134[_0x5b241c(0x10b)][_0x5b241c(0xe4)](_0x5867cb),_0x4c6c2d(_0x5e0134,_0x3cc49b,_0x1e6dc4);}function _0x2cbc08(_0x395153,_0x1354fb,_0x5ac67a){const _0x2a7f0c=_0x3a3c53;_0x395153[_0x2a7f0c(0x156)]=_0x29a6f6(_0x395153[_0x2a7f0c(0x156)],_0x1354fb,_0x5ac67a),_0x395153[_0x2a7f0c(0xb7)]=_0x29a6f6(_0x395153[_0x2a7f0c(0xb7)],_0x1354fb,_0x5ac67a),_0x395153['customBlocks']=_0x29a6f6(_0x395153['customBlocks'],_0x1354fb,_0x5ac67a),_0x395153[_0x2a7f0c(0xbf)]=_0x2d51b5(_0x395153['textRuns'],_0x1354fb,_0x5ac67a),_0x395153[_0x2a7f0c(0xc5)]=_0x4d8a36(_0x395153[_0x2a7f0c(0xc5)],_0x1354fb,_0x5ac67a),_0x395153[_0x2a7f0c(0x114)]=_0x4d8a36(_0x395153['customRanges'],_0x1354fb,_0x5ac67a),_0x395153['customDecorations']=_0x4d8a36(_0x395153['customDecorations'],_0x1354fb,_0x5ac67a),_0x395153[_0x2a7f0c(0x155)]=_0x4d8a36(_0x395153[_0x2a7f0c(0x155)],_0x1354fb,_0x5ac67a);}function _0x4c6c2d(_0x4a2abb,_0x28b9b5,_0x51f425){const _0x4a72be=_0x3a3c53;var _0x490280,_0x486425;_0x4a2abb[_0x4a72be(0x156)]=_0x55fb14(_0x4a2abb[_0x4a72be(0x156)],_0x28b9b5,_0x51f425),_0x4a2abb[_0x4a72be(0xb7)]=_0x55fb14(_0x4a2abb[_0x4a72be(0xb7)],_0x28b9b5,_0x51f425),_0x4a2abb[_0x4a72be(0xe3)]=_0x55fb14(_0x4a2abb['customBlocks'],_0x28b9b5,_0x51f425),_0x4a2abb['textRuns']=(_0x490280=_0x311616((_0x486425=_0x4a2abb[_0x4a72be(0xbf)])==null?void 0x0:_0x486425[_0x4a72be(0x142)](_0x20ba60=>({..._0x20ba60,'startIndex':_0x20ba60['st'],'endIndex':_0x20ba60['ed']})),_0x28b9b5,_0x51f425))==null?void 0x0:_0x490280[_0x4a72be(0x142)](_0x679cb1=>{let {startIndex:_0x489de6,endIndex:_0x5274a6,..._0x13912e}=_0x679cb1;return{..._0x13912e,'st':_0x489de6,'ed':_0x5274a6};}),_0x4a2abb[_0x4a72be(0xc5)]=_0x311616(_0x4a2abb['tables'],_0x28b9b5,_0x51f425),_0x4a2abb[_0x4a72be(0x114)]=_0x311616(_0x4a2abb[_0x4a72be(0x114)],_0x28b9b5,_0x51f425),_0x4a2abb['customDecorations']=_0x311616(_0x4a2abb[_0x4a72be(0xfb)],_0x28b9b5,_0x51f425),_0x4a2abb[_0x4a72be(0x155)]=_0x311616(_0x4a2abb[_0x4a72be(0x155)],_0x28b9b5,_0x51f425);}function _0x29a6f6(_0x16904b,_0x18b32e,_0x376180){const _0x200607=_0x3a3c53;return _0x16904b==null?void 0x0:_0x16904b[_0x200607(0x142)](_0x18d2c3=>_0x18d2c3[_0x200607(0x127)]>=_0x18b32e?{..._0x18d2c3,'startIndex':_0x18d2c3[_0x200607(0x127)]+_0x376180}:_0x18d2c3);}function _0x55fb14(_0x199e3f,_0x206013,_0x3e0f46){const _0x3c0482=_0x3a3c53;let _0xea2b49=_0x206013+_0x3e0f46;return _0x199e3f==null?void 0x0:_0x199e3f['map'](_0x37de6f=>_0x37de6f['startIndex']>=_0x206013&&_0x37de6f['startIndex']<_0xea2b49?null:_0x37de6f[_0x3c0482(0x127)]>=_0xea2b49?{..._0x37de6f,'startIndex':_0x37de6f['startIndex']-_0x3e0f46}:_0x37de6f)[_0x3c0482(0x154)](_0x23542f=>_0x23542f!=null);}function _0x2d51b5(_0x2de385,_0x590e8b,_0x156ed1){const _0x2e51e7=_0x3a3c53;return _0x2de385==null?void 0x0:_0x2de385[_0x2e51e7(0x142)](_0x59b5a2=>_0x59b5a2['st']>=_0x590e8b?{..._0x59b5a2,'st':_0x59b5a2['st']+_0x156ed1,'ed':_0x59b5a2['ed']+_0x156ed1}:_0x59b5a2['ed']>_0x590e8b?{..._0x59b5a2,'ed':_0x59b5a2['ed']+_0x156ed1}:_0x59b5a2);}function _0x4d8a36(_0x4f5c36,_0x296761,_0xb9c2b0){const _0x527ec6=_0x3a3c53;return _0x4f5c36==null?void 0x0:_0x4f5c36['map'](_0x1b4d7c=>_0x1b4d7c[_0x527ec6(0x127)]>=_0x296761?{..._0x1b4d7c,'startIndex':_0x1b4d7c[_0x527ec6(0x127)]+_0xb9c2b0,'endIndex':_0x1b4d7c[_0x527ec6(0xa3)]+_0xb9c2b0}:_0x1b4d7c[_0x527ec6(0xa3)]>=_0x296761?{..._0x1b4d7c,'endIndex':_0x1b4d7c[_0x527ec6(0xa3)]+_0xb9c2b0}:_0x1b4d7c);}function _0x311616(_0x796e92,_0x35674e,_0x1d027a){const _0x33be51=_0x3a3c53;let _0x3c02e2=_0x35674e+_0x1d027a;return _0x796e92==null?void 0x0:_0x796e92[_0x33be51(0x142)](_0x76feb3=>_0x76feb3[_0x33be51(0x127)]>=_0x35674e&&_0x76feb3[_0x33be51(0xa3)]<_0x3c02e2?null:_0x76feb3[_0x33be51(0x127)]>=_0x3c02e2?{..._0x76feb3,'startIndex':_0x76feb3[_0x33be51(0x127)]-_0x1d027a,'endIndex':_0x76feb3[_0x33be51(0xa3)]-_0x1d027a}:_0x76feb3[_0x33be51(0xa3)]>=_0x35674e?{..._0x76feb3,'startIndex':_0x76feb3[_0x33be51(0x127)]<_0x35674e?_0x76feb3[_0x33be51(0x127)]:_0x35674e,'endIndex':Math['max'](_0x35674e,_0x76feb3[_0x33be51(0xa3)]-_0x1d027a)}:_0x76feb3)[_0x33be51(0x154)](_0x1392cb=>_0x1392cb!=null);}function _0x52b272(_0x2619c0,_0x25826a,_0x5ec251,_0x30bdd4){const _0x3e1659=_0x3a3c53;_0x2619c0==null||_0x2619c0[_0x3e1659(0xe1)](_0x4164cb=>{const _0x3605a9=_0x3e1659;_0x4164cb[_0x3605a9(0x127)]>=_0x25826a&&_0x4164cb[_0x3605a9(0x127)]<_0x5ec251&&(_0x4164cb[_0x3605a9(0x127)]+=_0x30bdd4);});}function _0x31b7e8(_0x6d84f0,_0x59865c,_0x43e0bb,_0x246f85){const _0x1c7ca7=_0x3a3c53;_0x6d84f0==null||_0x6d84f0[_0x1c7ca7(0xe1)](_0x121d96=>{_0x121d96['st']>=_0x59865c&&_0x121d96['st']<_0x43e0bb?(_0x121d96['st']+=_0x246f85,_0x121d96['ed']+=_0x246f85):_0x121d96['ed']>_0x59865c&&_0x121d96['ed']<_0x43e0bb&&(_0x121d96['ed']+=_0x246f85);});}function _0x3468b3(_0x1a2ea9,_0x538050,_0x303639,_0x208ace){const _0x46bb69=_0x3a3c53;_0x1a2ea9==null||_0x1a2ea9[_0x46bb69(0xe1)](_0x3ea157=>{const _0x5d33ad=_0x46bb69;_0x3ea157[_0x5d33ad(0x127)]>=_0x538050&&_0x3ea157[_0x5d33ad(0x127)]<_0x303639?(_0x3ea157[_0x5d33ad(0x127)]+=_0x208ace,_0x3ea157['endIndex']+=_0x208ace):_0x3ea157[_0x5d33ad(0xa3)]>_0x538050&&_0x3ea157[_0x5d33ad(0xa3)]<_0x303639&&(_0x3ea157[_0x5d33ad(0xa3)]+=_0x208ace);});}function _0x20aaf9(_0x15daae){'@babel/helpers - typeof';const _0x21b3ba=_0x3a3c53;return _0x20aaf9=typeof Symbol==_0x21b3ba(0xd1)&&typeof Symbol[_0x21b3ba(0xb2)]==_0x21b3ba(0x121)?function(_0x47ca8a){return typeof _0x47ca8a;}:function(_0x4e9d45){const _0x1a4c43=_0x21b3ba;return _0x4e9d45&&typeof Symbol==_0x1a4c43(0xd1)&&_0x4e9d45[_0x1a4c43(0xc2)]===Symbol&&_0x4e9d45!==Symbol[_0x1a4c43(0x13e)]?_0x1a4c43(0x121):typeof _0x4e9d45;},_0x20aaf9(_0x15daae);}function _0x24572f(_0x4ba439,_0x36524a){const _0x5ca45f=_0x3a3c53;if(_0x20aaf9(_0x4ba439)!=_0x5ca45f(0x11e)||!_0x4ba439)return _0x4ba439;var _0x5c2523=_0x4ba439[Symbol[_0x5ca45f(0x100)]];if(_0x5c2523!==void 0x0){var _0x539b6e=_0x5c2523[_0x5ca45f(0x113)](_0x4ba439,_0x36524a||_0x5ca45f(0xd5));if(_0x20aaf9(_0x539b6e)!=_0x5ca45f(0x11e))return _0x539b6e;throw TypeError(_0x5ca45f(0xb9));}return(_0x36524a===_0x5ca45f(0xda)?String:Number)(_0x4ba439);}function _0x12cc67(_0x48d0b9){const _0x1921ab=_0x3a3c53;var _0xd01084=_0x24572f(_0x48d0b9,_0x1921ab(0xda));return _0x20aaf9(_0xd01084)==_0x1921ab(0x121)?_0xd01084:_0xd01084+'';}function _0x5658e3(_0x1a2101,_0x2825a0,_0x3f00f2){const _0x31eaca=_0x3a3c53;return(_0x2825a0=_0x12cc67(_0x2825a0))in _0x1a2101?Object[_0x31eaca(0xc0)](_0x1a2101,_0x2825a0,{'value':_0x3f00f2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a2101[_0x2825a0]=_0x3f00f2,_0x1a2101;}var _0x3e0e8b=class extends _0x2a53eb['Disposable']{constructor(..._0x4f9dec){const _0x46b15a=_0x3a3c53;super(..._0x4f9dec),_0x5658e3(this,_0x46b15a(0xe6),new Map()),_0x5658e3(this,_0x46b15a(0x14f),new _0x1004b4[(_0x46b15a(0xee))]()),_0x5658e3(this,_0x46b15a(0xc6),this[_0x46b15a(0x14f)][_0x46b15a(0xec)]());}[_0x3a3c53(0xcd)](_0x21ae5,_0x379bbd){const _0x287f0a=_0x3a3c53;return _0x1d5048(this[_0x287f0a(0xe6)]['get'](_0x21ae5))[_0x287f0a(0x10a)][_0x379bbd];}['setCodeConfig'](_0xa0b5f4,_0xe8608,_0x143126){const _0x199bed=_0x3a3c53;this[_0x199bed(0x12a)](_0xa0b5f4,_0xe8608,_0x39a9a1(this[_0x199bed(0xe6)][_0x199bed(0xc1)](_0xa0b5f4),_0xe8608,_0x143126));}[_0x3a3c53(0x135)](_0x39a7bb,_0x20691c){const _0x148d6b=_0x3a3c53;this[_0x148d6b(0x12a)](_0x39a7bb,_0x20691c,_0x54cd1c(this['_resources'][_0x148d6b(0xc1)](_0x39a7bb),_0x20691c));}[_0x3a3c53(0x12c)](_0x335a21){const _0x59476e=_0x3a3c53;return _0x1d5048(this[_0x59476e(0xe6)][_0x59476e(0xc1)](_0x335a21));}['deserialize'](_0xe8f3ed,_0x216f0f){const _0x5604fc=_0x3a3c53;this[_0x5604fc(0xe6)][_0x5604fc(0x108)](_0xe8f3ed,_0x1d5048(_0x216f0f)),this[_0x5604fc(0x14f)][_0x5604fc(0xfd)]({'unitId':_0xe8f3ed});}[_0x3a3c53(0xdc)](_0x1db1e5){const _0x45a71b=_0x3a3c53;this[_0x45a71b(0xe6)]['delete'](_0x1db1e5),this['_change$'][_0x45a71b(0xfd)]({'unitId':_0x1db1e5});}['dispose'](){const _0xa0cef9=_0x3a3c53;super['dispose'](),this[_0xa0cef9(0xe6)][_0xa0cef9(0xe7)](),this[_0xa0cef9(0x14f)]['complete']();}[_0x3a3c53(0x12a)](_0xb5fea7,_0x4489f7,_0x2f63e6){const _0x29b959=_0x3a3c53;this[_0x29b959(0xe6)]['set'](_0xb5fea7,_0x2f63e6),this[_0x29b959(0x14f)][_0x29b959(0xfd)]({'unitId':_0xb5fea7,'blockId':_0x4489f7});}};let _0x5b4a36={'id':_0x3a3c53(0xb8),'type':_0x2a53eb['CommandType']['COMMAND'],'handler':_0x127270=>{const _0x228456=_0x3a3c53;let _0x894eee=_0x1766fc(_0x127270);if(_0x894eee)return _0x127270['get'](_0x2a53eb[_0x228456(0x151)])[_0x228456(0x12e)](_0x9f26d5['id'],{'startOffset':_0x894eee[_0x228456(0x11a)],'endOffset':_0x894eee[_0x228456(0xd4)],'unitId':_0x894eee['unitId']});let _0x416786=_0x256523(_0x127270);if(!_0x416786)return!0x1;let _0x1997c3=_0x416786[_0x228456(0x127)]+0x1;return _0x127270[_0x228456(0xc1)](_0x2a53eb[_0x228456(0x151)])[_0x228456(0x12e)](_0x9f26d5['id'],{'startOffset':_0x1997c3,'endOffset':_0x1997c3});}},_0x483510={'id':_0x3a3c53(0xa9),'type':_0x2a53eb['CommandType']['COMMAND'],'handler':()=>!0x0},_0x9f26d5={'id':'docs-code.command.insert','type':_0x2a53eb[_0x3a3c53(0x131)][_0x3a3c53(0xc4)],'handler':(_0x24fc9b,_0x663174)=>{const _0x3203c9=_0x3a3c53;var _0x147f13,_0x17c111,_0x55d006;let _0x2744b6=_0x5a0563(_0x24fc9b,_0x663174==null?void 0x0:_0x663174['unitId']);if(!_0x2744b6)return!0x1;let _0x7bf844=_0x43421c(_0x24fc9b),_0x169e63=_0x479efa({'blockId':(_0x147f13=_0x663174==null?void 0x0:_0x663174[_0x3203c9(0xe8)])==null?(0x0,_0x2a53eb[_0x3203c9(0xb6)])(0x6):_0x147f13,'config':_0x663174==null?void 0x0:_0x663174[_0x3203c9(0x112)],'documentData':_0x2744b6[_0x3203c9(0xe2)],'endOffset':(_0x17c111=_0x663174==null?void 0x0:_0x663174['endOffset'])==null?_0x7bf844==null?void 0x0:_0x7bf844['endOffset']:_0x17c111,'metadata':_0x2744b6[_0x3203c9(0xab)][_0x3203c9(0x12c)](_0x2744b6[_0x3203c9(0x11d)]),'startOffset':(_0x55d006=_0x663174==null?void 0x0:_0x663174[_0x3203c9(0x11a)])==null?_0x7bf844==null?void 0x0:_0x7bf844[_0x3203c9(0x11a)]:_0x55d006}),_0x40e7a8=_0x2a4004(_0x2744b6[_0x3203c9(0x109)],_0x2744b6[_0x3203c9(0x11d)],_0x2744b6[_0x3203c9(0xe2)],_0x169e63[_0x3203c9(0xf4)],_0x169e63['cursorOffset']);return _0x40e7a8&&_0x169e63[_0x3203c9(0xeb)]&&_0x2744b6[_0x3203c9(0xab)][_0x3203c9(0x118)](_0x2744b6['unitId'],_0x169e63['nextMetadata']),_0x40e7a8;}},_0x3a99cf={'id':_0x3a3c53(0x134),'type':_0x2a53eb[_0x3a3c53(0x131)][_0x3a3c53(0xc4)],'handler':(_0x1b0f35,_0x5484d7)=>{const _0x1c029a=_0x3a3c53;if(!_0x5484d7)return!0x1;let _0x34417e=_0x5a0563(_0x1b0f35,_0x5484d7[_0x1c029a(0x11d)]);if(!_0x34417e)return!0x1;let _0x517c31=_0x59b828({'blockId':_0x5484d7['blockId'],'config':_0x5484d7[_0x1c029a(0x112)],'documentData':_0x34417e['previousDocumentData'],'metadata':_0x34417e[_0x1c029a(0xab)]['serialize'](_0x34417e[_0x1c029a(0x11d)])});return _0x517c31[_0x1c029a(0xeb)]&&_0x34417e[_0x1c029a(0xab)][_0x1c029a(0x118)](_0x34417e[_0x1c029a(0x11d)],_0x517c31[_0x1c029a(0xeb)]),!0x0;}},_0x348820={'id':_0x3a3c53(0x125),'type':_0x2a53eb[_0x3a3c53(0x131)][_0x3a3c53(0xc4)],'handler':(_0x5ab723,_0x149bd8)=>{const _0x5df2dc=_0x3a3c53;var _0x4fdb9e,_0x47696c;let _0x56ad6f=_0x5a0563(_0x5ab723,_0x149bd8==null?void 0x0:_0x149bd8[_0x5df2dc(0x11d)]);if(!_0x56ad6f)return!0x1;let _0x5b30b4=(_0x4fdb9e=_0x149bd8==null?void 0x0:_0x149bd8[_0x5df2dc(0xfa)])==null?(_0x47696c=_0x43421c(_0x5ab723))==null?void 0x0:_0x47696c[_0x5df2dc(0x11a)]:_0x4fdb9e;if(_0x5b30b4==null)return!0x1;let _0x48f0b7=_0x50fa25({'cursorOffset':_0x5b30b4,'documentData':_0x56ad6f[_0x5df2dc(0xe2)]});return _0x48f0b7?_0x2a4004(_0x56ad6f[_0x5df2dc(0x109)],_0x56ad6f[_0x5df2dc(0x11d)],_0x56ad6f['previousDocumentData'],_0x48f0b7[_0x5df2dc(0xf4)],_0x48f0b7[_0x5df2dc(0xfa)]):!0x1;}},_0x18c0ea={'id':_0x3a3c53(0x130),'type':_0x2a53eb[_0x3a3c53(0x131)][_0x3a3c53(0xc4)],'handler':(_0x1d0bcf,_0x465c74)=>{const _0x19d3dd=_0x3a3c53;var _0x53fcf3,_0x37a05a;let _0x491965=_0x5a0563(_0x1d0bcf,_0x465c74==null?void 0x0:_0x465c74[_0x19d3dd(0x11d)]);if(!_0x491965)return!0x1;let _0x1492f0=(_0x53fcf3=_0x465c74==null?void 0x0:_0x465c74[_0x19d3dd(0xfa)])==null?(_0x37a05a=_0x43421c(_0x1d0bcf))==null?void 0x0:_0x37a05a['startOffset']:_0x53fcf3;if(_0x1492f0==null)return!0x1;let _0xf48828=_0x16c222({'cursorOffset':_0x1492f0,'documentData':_0x491965[_0x19d3dd(0xe2)],'paragraphStartIndex':_0x465c74==null?void 0x0:_0x465c74[_0x19d3dd(0x102)]});return _0xf48828?_0x2a4004(_0x491965['commandService'],_0x491965[_0x19d3dd(0x11d)],_0x491965[_0x19d3dd(0xe2)],_0xf48828[_0x19d3dd(0xf4)],_0xf48828['cursorOffset']):!0x1;}};function _0x5a0563(_0xab5b41,_0x4c0832){const _0x7ce17c=_0x3a3c53;let _0x4ef344=_0xab5b41[_0x7ce17c(0xc1)](_0x2a53eb['IUniverInstanceService']),_0x461c1b=_0x4c0832?_0x4ef344[_0x7ce17c(0xb1)](_0x4c0832):_0x4ef344['getCurrentUnitOfType'](_0x2a53eb['UniverInstanceType']['UNIVER_DOC']);return _0x461c1b?{'commandService':_0xab5b41[_0x7ce17c(0xc1)](_0x2a53eb['ICommandService']),'model':_0xab5b41[_0x7ce17c(0xc1)](_0x3e0e8b),'previousDocumentData':_0x461c1b[_0x7ce17c(0x12d)](),'unitId':_0x461c1b['getUnitId']()}:null;}function _0x43421c(_0x1ceaf3){var _0x448056;return(_0x448056=_0x1ceaf3['get'](_0x34c879['DocSelectionManagerService'])['getTextRanges']())==null?void 0x0:_0x448056[0x0];}function _0x1766fc(_0x1bc8b1){const _0x1b6f36=_0x3a3c53;var _0x51bbc2;let _0x5e6641=(_0x51bbc2=_0x1bc8b1[_0x1b6f36(0xc1)](_0x2a53eb[_0x1b6f36(0x140)])[_0x1b6f36(0xc7)](_0x2a53eb[_0x1b6f36(0x106)][_0x1b6f36(0x133)]))==null?void 0x0:_0x51bbc2[_0x1b6f36(0x116)]();try{return _0x1bc8b1[_0x1b6f36(0xc1)](_0xc7fad0['DocContentInsertService'])['consumeInsertRange'](_0x5e6641);}catch{return null;}}function _0x256523(_0x28efe9){const _0x14a32e=_0x3a3c53;var _0x40df60,_0x10e95e,_0x340356;let _0x477c0e=_0x43421c(_0x28efe9);if(!_0x477c0e)return null;let _0x524931=_0x28efe9[_0x14a32e(0xc1)](_0x2a53eb[_0x14a32e(0x140)])[_0x14a32e(0xc7)](_0x2a53eb['UniverInstanceType'][_0x14a32e(0x133)]),_0x280631=_0x524931==null?void 0x0:_0x524931[_0x14a32e(0x120)]();return _0x280631?(_0x40df60=_0x2a53eb[_0x14a32e(0x111)][_0x14a32e(0xd3)][_0x14a32e(0xaa)](_0x477c0e,(_0x10e95e=_0x280631[_0x14a32e(0x156)])==null?[]:_0x10e95e,(_0x340356=_0x280631[_0x14a32e(0x10b)])==null?'':_0x340356)[0x0])==null?null:_0x40df60:null;}function _0x1a2fd6(_0xef5a09,_0x5cd400){const _0x12c13a=_0x3a3c53;var _0x247972,_0x4ad6c1,_0x6608c9,_0x395310,_0x4ae687,_0x104d34,_0x78c840,_0x5ee0f8,_0x3251cf,_0x4143b0,_0x3db62,_0x6d027f,_0x2522c2,_0x3ceab0,_0x5742b6,_0x461eaa,_0x4b1bcc,_0x4cfb6c;let _0x3a14ab=_0x2a53eb[_0x12c13a(0x107)][_0x12c13a(0x13d)]();return[_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),'dataStream'],(_0x247972=_0xef5a09[_0x12c13a(0xf0)])==null?void 0x0:_0x247972[_0x12c13a(0x10b)],(_0x4ad6c1=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x4ad6c1[_0x12c13a(0x10b)]),_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),_0x12c13a(0x156)],(_0x6608c9=_0xef5a09['body'])==null?void 0x0:_0x6608c9[_0x12c13a(0x156)],(_0x395310=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x395310[_0x12c13a(0x156)]),_0x35c339(_0x3a14ab,['body',_0x12c13a(0xb7)],(_0x4ae687=_0xef5a09['body'])==null?void 0x0:_0x4ae687['sectionBreaks'],(_0x104d34=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x104d34[_0x12c13a(0xb7)]),_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),_0x12c13a(0xbf)],(_0x78c840=_0xef5a09[_0x12c13a(0xf0)])==null?void 0x0:_0x78c840[_0x12c13a(0xbf)],(_0x5ee0f8=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x5ee0f8['textRuns']),_0x35c339(_0x3a14ab,['body',_0x12c13a(0xe3)],(_0x3251cf=_0xef5a09[_0x12c13a(0xf0)])==null?void 0x0:_0x3251cf[_0x12c13a(0xe3)],(_0x4143b0=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x4143b0[_0x12c13a(0xe3)]),_0x35c339(_0x3a14ab,['body','customRanges'],(_0x3db62=_0xef5a09[_0x12c13a(0xf0)])==null?void 0x0:_0x3db62[_0x12c13a(0x114)],(_0x6d027f=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x6d027f['customRanges']),_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),'customDecorations'],(_0x2522c2=_0xef5a09['body'])==null?void 0x0:_0x2522c2[_0x12c13a(0xfb)],(_0x3ceab0=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x3ceab0[_0x12c13a(0xfb)]),_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),_0x12c13a(0xc5)],(_0x5742b6=_0xef5a09[_0x12c13a(0xf0)])==null?void 0x0:_0x5742b6[_0x12c13a(0xc5)],(_0x461eaa=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x461eaa[_0x12c13a(0xc5)]),_0x35c339(_0x3a14ab,[_0x12c13a(0xf0),_0x12c13a(0x155)],(_0x4b1bcc=_0xef5a09['body'])==null?void 0x0:_0x4b1bcc[_0x12c13a(0x155)],(_0x4cfb6c=_0x5cd400[_0x12c13a(0xf0)])==null?void 0x0:_0x4cfb6c[_0x12c13a(0x155)])][_0x12c13a(0x154)](Boolean)[_0x12c13a(0xf2)]((_0xc8beba,_0x1b9fd8)=>_0x2a53eb[_0x12c13a(0x107)]['compose'](_0xc8beba,_0x1b9fd8),null);}function _0x35c339(_0x817364,_0x5575df,_0x302bed,_0x529b43){const _0x5b02f0=_0x3a3c53;return _0x2a53eb[_0x5b02f0(0xbe)][_0x5b02f0(0x149)](_0x302bed,_0x529b43)?null:_0x817364['replaceOp'](_0x5575df,_0x302bed,_0x529b43);}function _0x2a4004(_0x45e1b6,_0x460428,_0x5af568,_0x9fa913,_0x46a7d2){const _0x1ddc9a=_0x3a3c53;let _0x59ba1b=_0x1a2fd6(_0x5af568,_0x9fa913);return _0x59ba1b?!!_0x45e1b6[_0x1ddc9a(0x12e)](_0x34c879[_0x1ddc9a(0x144)]['id'],{'unitId':_0x460428,'actions':_0x59ba1b,'textRanges':[{'startOffset':_0x46a7d2,'endOffset':_0x46a7d2,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x49a272=_0x3a3c53(0xa4),_0x1cbd00=_0x3a3c53(0xb0);let _0x3f2a15={};function _0x2bcf6c(_0x598581,_0xc1a136){return function(_0x387aa0,_0x2c6214){_0xc1a136(_0x387aa0,_0x2c6214,_0x598581);};}function _0x3ba673(_0x1f50f9,_0x22fd92,_0x424150,_0x6fc399){const _0x1aca32=_0x3a3c53;var _0x2ff204=arguments[_0x1aca32(0x11c)],_0x4982c3=_0x2ff204<0x3?_0x22fd92:_0x6fc399===null?_0x6fc399=Object[_0x1aca32(0xcf)](_0x22fd92,_0x424150):_0x6fc399,_0x416398;if(typeof Reflect==_0x1aca32(0x11e)&&typeof Reflect['decorate']==_0x1aca32(0xd1))_0x4982c3=Reflect['decorate'](_0x1f50f9,_0x22fd92,_0x424150,_0x6fc399);else{for(var _0x229480=_0x1f50f9[_0x1aca32(0x11c)]-0x1;_0x229480>=0x0;_0x229480--)(_0x416398=_0x1f50f9[_0x229480])&&(_0x4982c3=(_0x2ff204<0x3?_0x416398(_0x4982c3):_0x2ff204>0x3?_0x416398(_0x22fd92,_0x424150,_0x4982c3):_0x416398(_0x22fd92,_0x424150))||_0x4982c3);}return _0x2ff204>0x3&&_0x4982c3&&Object[_0x1aca32(0xc0)](_0x22fd92,_0x424150,_0x4982c3),_0x4982c3;}let _0x489ac1=class extends _0x2a53eb[_0x3a3c53(0xcb)]{constructor(_0x43fc83,_0x328fb6){const _0xef113c=_0x3a3c53;super(),this[_0xef113c(0x10d)]=_0x43fc83,this[_0xef113c(0xac)]=_0x328fb6,this[_0xef113c(0x122)]();}[_0x3a3c53(0x122)](){const _0x408e9f=_0x3a3c53;this[_0x408e9f(0xc8)](this[_0x408e9f(0x10d)][_0x408e9f(0x104)]({'pluginName':_0x200cb5,'businesses':[_0x2a53eb['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x257899=>JSON[_0x408e9f(0x124)](this[_0x408e9f(0xac)][_0x408e9f(0x12c)](_0x257899)),'parseJson':_0x26e374=>_0x1d5048(JSON[_0x408e9f(0xd7)](_0x26e374)),'onLoad':(_0x434dab,_0xefbbe0)=>this[_0x408e9f(0xac)][_0x408e9f(0x118)](_0x434dab,_0xefbbe0),'onUnLoad':_0x5dd24b=>this['_docsCodeModel'][_0x408e9f(0xdc)](_0x5dd24b)}));}};_0x489ac1=_0x3ba673([_0x2bcf6c(0x0,_0x2a53eb[_0x3a3c53(0x115)]),_0x2bcf6c(0x1,(0x0,_0x2a53eb['Inject'])(_0x3e0e8b))],_0x489ac1);let _0x544c93=class extends _0x2a53eb['Plugin']{constructor(_0x4c6bb7=_0x3f2a15,_0x2f5ab8,_0x4e207d,_0x177e9b){const _0xdd687=_0x3a3c53;super(),this[_0xdd687(0x14d)]=_0x4c6bb7,this[_0xdd687(0x13b)]=_0x2f5ab8,this['_commandService']=_0x4e207d,this[_0xdd687(0xaf)]=_0x177e9b;let {..._0x1491a7}=(0x0,_0x2a53eb[_0xdd687(0xa7)])({},_0x3f2a15,this['_config']);this['_configService'][_0xdd687(0xdb)](_0xdd687(0x14c),_0x1491a7);}[_0x3a3c53(0x14b)](){const _0x35280b=_0x3a3c53;this[_0x35280b(0x13b)]['add']([_0x3e0e8b]),this[_0x35280b(0x13b)][_0x35280b(0x11b)]([_0x489ac1]),this['_injector'][_0x35280b(0xc1)](_0x3e0e8b),this[_0x35280b(0x13b)]['get'](_0x489ac1),[_0x9f26d5,_0x5b4a36,_0x3a99cf,_0x348820,_0x18c0ea,_0x483510]['forEach'](_0x2b6fbf=>this[_0x35280b(0xc8)](this[_0x35280b(0xd0)][_0x35280b(0xf3)](_0x2b6fbf)));}};_0x5658e3(_0x544c93,'pluginName',_0x200cb5),_0x5658e3(_0x544c93,_0x3a3c53(0x146),_0x49a272),_0x5658e3(_0x544c93,_0x3a3c53(0xbc),_0x1cbd00),_0x5658e3(_0x544c93,_0x3a3c53(0xed),_0x2a53eb[_0x3a3c53(0x106)][_0x3a3c53(0x133)]),_0x544c93=_0x3ba673([(0x0,_0x2a53eb[_0x3a3c53(0x128)])(_0x5bf04d[_0x3a3c53(0xf1)],_0x34c879[_0x3a3c53(0xfc)]),_0x2bcf6c(0x1,(0x0,_0x2a53eb[_0x3a3c53(0x137)])(_0x2a53eb[_0x3a3c53(0xdf)])),_0x2bcf6c(0x2,_0x2a53eb[_0x3a3c53(0x151)]),_0x2bcf6c(0x3,_0x2a53eb['IConfigService'])],_0x544c93),_0x2eba69[_0x3a3c53(0x13a)]=_0x33484f,_0x2eba69[_0x3a3c53(0x141)]=_0x3d54ba,_0x2eba69['DOCS_CODE_PLUGIN']=_0x200cb5,_0x2eba69[_0x3a3c53(0xc3)]=_0x18c0ea,_0x2eba69['DocsCodeConsumeBoundaryDeleteCommand']=_0x483510,_0x2eba69[_0x3a3c53(0xff)]=_0x348820,_0x2eba69['DocsCodeInsertBelowCommand']=_0x5b4a36,_0x2eba69['DocsCodeInsertCommand']=_0x9f26d5,_0x2eba69[_0x3a3c53(0xa6)]=_0x3e0e8b,_0x2eba69[_0x3a3c53(0xfe)]=_0x3a99cf,Object[_0x3a3c53(0xc0)](_0x2eba69,_0x3a3c53(0xb4),{'enumerable':!0x0,'get':function(){return _0x544c93;}}),_0x2eba69[_0x3a3c53(0x153)]=_0x16c222,_0x2eba69[_0x3a3c53(0x123)]=_0x50fa25,_0x2eba69[_0x3a3c53(0x12b)]=_0x479efa,_0x2eba69['buildUpdateCodeActions']=_0x59b828,_0x2eba69[_0x3a3c53(0xa2)]=_0x47f825,_0x2eba69[_0x3a3c53(0xae)]=_0x45a3f5,_0x2eba69[_0x3a3c53(0xd6)]=_0x143e18;}));function _0x5b6d(_0x370ced,_0x399cee){_0x370ced=_0x370ced-0xa1;const _0x52ed3f=_0x52ed();let _0x5b6ddf=_0x52ed3f[_0x370ced];return _0x5b6ddf;}function _0x52ed(){const _0x2cd0c6=['left','_resources','clear','blockId','javascript','833460ZbVCra','nextMetadata','asObservable','type','Subject','deepClone','body','UniverLicensePlugin','reduce','registerCommand','nextDocumentData','sort','UniverProDocsCode','DOC_CODE_PLUGIN','UniverCore','max','cursorOffset','customDecorations','UniverDocsPlugin','next','DocsCodeUpdateCommand','DocsCodeExitCommand','toPrimitive','spaceBelow','paragraphStartIndex','documentData','registerPluginResource','indentEnd','UniverInstanceType','JSONX','set','commandService','codes','dataStream','right','_resourceManagerService','entries','65891fSHYZE','931330sLnEEE','BuildTextUtils','config','call','customRanges','IResourceManagerService','getUnitId','monospace','deserialize','find','startOffset','add','length','unitId','object','indexOf','getBody','symbol','_initResource','buildExitCodeActions','stringify','docs-code.command.exit','DataStreamTreeTokenType','startIndex','DependentOn','amd','_setResource','buildInsertCodeActions','serialize','getSnapshot','syncExecuteCommand','exports','docs-code.command.cancel-empty-paragraph','CommandType','rxjs','UNIVER_DOC','docs-code.command.update','removeCode','endsWith','Inject','24YRiAUK','some','DEFAULT_CODE_CONFIG','_injector','BLOCK_END','getInstance','prototype','4230PYlsow','IUniverInstanceService','DOCS_CODE_BLOCK_TYPE','map','min','RichTextEditingMutation','UniverDocs','packageName','textStyle','@univerjs/core','diffValue','indentStart','onStarting','docs-code.config','_config','11669920JrtmLV','_change$','@univerjs/docs-ui','ICommandService','from','buildCancelEmptyCodeParagraphActions','filter','blockRanges','paragraphs','651258FxnUZY','findCodeRangeAtOffset','endIndex','@univerjs-pro/docs-code','Module','DocsCodeModel','merge','paragraph','docs-code.command.consume-boundary-delete','getParagraphsInRange','model','_docsCodeModel','direction','isCodeBoundaryDelete','_configService','0.25.1','getUniverDocInstance','iterator','every','UniverDocsCodePlugin','code','generateRandomId','sectionBreaks','docs-code.command.insert-below','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/license','PARAGRAPH','version','blockType','Tools','textRuns','defineProperty','get','constructor','DocsCodeCancelEmptyParagraphCommand','COMMAND','tables','change$','getCurrentUnitOfType','disposeWithMe','metadata','paragraphStyle','Disposable','BLOCK_START','getCodeConfig','toStringTag','getOwnPropertyDescriptor','_commandService','function','UniverDocsUi','range','endOffset','default','normalizeDocsCodeConfig','parse','20uZPfGg','302TtFMGY','string','setConfig','removeUnit','2825235iEEYMl','join','Injector','endTokenOffset','forEach','previousDocumentData','customBlocks','slice'];_0x52ed=function(){return _0x2cd0c6;};return _0x52ed();}
1
+ function _0x1f0a(_0x330750,_0x55d101){_0x330750=_0x330750-0xe7;const _0x1d9db1=_0x1d9d();let _0x1f0ad8=_0x1d9db1[_0x330750];return _0x1f0ad8;}function _0x1d9d(){const _0x1064ba=['_change$','onStarting','Injector','startOffset','_config','commandService','dispose','docs-code.config','previousDocumentData','left','222736lYqzyY','length','UniverProLicense','4wuuBMl','range','decorate','get','entries','find','next','_docsCodeModel','endsWith','paragraphs','endTokenOffset','packageName','constructor','sectionBreaks','string','getUnitId','4182673UTBBLs','UniverDocsUi','SECTION_BREAK','_initResource','@univerjs/docs','startIndex','DataStreamTreeTokenType','10655592dqROds','RichTextEditingMutation','amd','BLOCK_END','javascript','DocsCodeExitCommand','DocsCodeCancelEmptyParagraphCommand','getInstance','customDecorations','registerPluginResource','Tools','Document\x20body\x20is\x20required','BuildTextUtils','dataStream','docs-code.command.insert','_configService','UniverProDocsCode','filter','object','docs-code.command.insert-below','forEach','max','paragraph','_injector','spaceBelow','@univerjs/core','CommandType','version','endIndex','PARAGRAPH','customBlocks','default','stringify','defineProperty','removeCode','IResourceManagerService','paragraphStartIndex','unitId','merge','306808ihhWMt','getCurrentUnitOfType','reduce','every','_setResource','add','getParagraphsInRange','rxjs','join','IUniverInstanceService','nextDocumentData','syncExecuteCommand','3IQfWlf','DocsCodeUpdateCommand','19014zSvDLX','body','registerCommand','map','COMMAND','indentStart','change$','customRanges','diffValue','Subject','fromEntries','model','getUniverDocInstance','getTextRanges','normalizeDocsCodeConfig','DocContentInsertService','min','_resourceManagerService','deserialize','JSONX','buildInsertCodeActions','docs-code.command.update','symbol','DependentOn','endOffset','cursorOffset','UniverDocsPlugin','UNIVER_DOC','metadata','documentData','indentEnd','1506204pPPvst','DOCS_CODE_BLOCK_TYPE','sort','UniverDocs','UniverDocsCodePlugin','docs-code.command.consume-boundary-delete','compose','UniverInstanceType','toPrimitive','_resources','textStyle','setCodeConfig','buildCancelEmptyCodeParagraphActions','paragraphStyle','call','UniverCore','@univerjs-pro/license','right','tables','415JSqvtO','function','code','getOwnPropertyDescriptor','indexOf','direction','config','docs-code.command.exit','BLOCK_START','pluginName','deepClone','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','from','DocsCodeInsertBelowCommand','@univerjs-pro/docs-code','complete','codes','prototype','ICommandService','Plugin','_commandService','type','slice','blockType','blockId','DocsCodeInsertCommand','Inject','0.25.2','blockRanges','10VxJDtR','setConfig','getBody','Disposable','nextMetadata','textRuns','disposeWithMe','spaceAbove','some','14nUgyOP','serialize','monospace','removeUnit','78362XdVTRe','exports','parse','replaceOp','DocsCodeConsumeBoundaryDeleteCommand','set'];_0x1d9d=function(){return _0x1064ba;};return _0x1d9d();}(function(_0x4dcf61,_0x474daa){const _0x4afcfd=_0x1f0a,_0x47f393=_0x4dcf61();while(!![]){try{const _0x52bf12=parseInt(_0x4afcfd(0x150))/0x1*(-parseInt(_0x4afcfd(0x163))/0x2)+-parseInt(_0x4afcfd(0xf2))/0x3*(parseInt(_0x4afcfd(0x1a1))/0x4)+-parseInt(_0x4afcfd(0x126))/0x5*(parseInt(_0x4afcfd(0xf4))/0x6)+parseInt(_0x4afcfd(0x14c))/0x7*(parseInt(_0x4afcfd(0x160))/0x8)+parseInt(_0x4afcfd(0x113))/0x9+parseInt(_0x4afcfd(0x143))/0xa*(-parseInt(_0x4afcfd(0x173))/0xb)+parseInt(_0x4afcfd(0x17a))/0xc;if(_0x52bf12===_0x474daa)break;else _0x47f393['push'](_0x47f393['shift']());}catch(_0x448c65){_0x47f393['push'](_0x47f393['shift']());}}}(_0x1d9d,0x39346),function(_0x34e27f,_0x416b15){const _0x29874c=_0x1f0a;typeof exports=='object'&&typeof module<'u'?_0x416b15(exports,require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x29874c(0x17c)]?define([_0x29874c(0x151),_0x29874c(0x193),_0x29874c(0x177),'@univerjs/docs-ui',_0x29874c(0xed),_0x29874c(0x123)],_0x416b15):(_0x34e27f=typeof globalThis<'u'?globalThis:_0x34e27f||self,_0x416b15(_0x34e27f[_0x29874c(0x18a)]={},_0x34e27f[_0x29874c(0x122)],_0x34e27f[_0x29874c(0x116)],_0x34e27f[_0x29874c(0x174)],_0x34e27f[_0x29874c(0xed)],_0x34e27f[_0x29874c(0x162)]));}(this,function(_0x56eaec,_0x4dd43d,_0x69c527,_0x1b5a72,_0x135813,_0x25de4d){const _0x1e488b=_0x1f0a;Object['defineProperty'](_0x56eaec,Symbol['toStringTag'],{'value':'Module'});let _0x198161='DOC_CODE_PLUGIN',_0x4784aa=_0x1e488b(0x128),_0x5884f7={'language':_0x1e488b(0x17e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x10fe38(_0x413771){return{..._0x5884f7,..._0x413771};}function _0x469a55(_0x26514e){const _0x2b8537=_0x1e488b;var _0x8ac186;let _0x17f5f7=(_0x8ac186=_0x26514e==null?void 0x0:_0x26514e[_0x2b8537(0x136)])==null?{}:_0x8ac186;return{'codes':Object[_0x2b8537(0xfe)](Object[_0x2b8537(0x167)](_0x17f5f7)[_0x2b8537(0xf7)](([_0x454fe9,_0x20ef1c])=>[_0x454fe9,_0x10fe38(_0x20ef1c)]))};}function _0x3b023b(_0x11ee12,_0x46fdfe,_0x44dfaf){const _0x112304=_0x1e488b;let _0x4930dd=_0x469a55(_0x11ee12);return _0x4930dd[_0x112304(0x136)][_0x46fdfe]=_0x10fe38({..._0x4930dd[_0x112304(0x136)][_0x46fdfe],..._0x44dfaf}),_0x4930dd;}function _0x3515a7(_0x3e4874,_0x35e177){let _0x415e42=_0x469a55(_0x3e4874);return delete _0x415e42['codes'][_0x35e177],_0x415e42;}let _0x55c85e=_0x1e488b(0x14e);function _0x3a347b(_0x4650eb){const _0x406fb7=_0x1e488b;var _0x1c2d74,_0x4df47b,_0x462dde;let _0x5ca4f1=_0x478790(_0x4650eb[_0x406fb7(0x111)]),_0x25de27=_0x16af19(_0x5ca4f1),_0xc56885=_0x1bec01(_0x4650eb[_0x406fb7(0x159)],_0x4650eb[_0x406fb7(0x10c)]),_0x56e05a=_0xc56885?(_0x1c2d74=_0x25de27[_0x406fb7(0x142)])==null?void 0x0:_0x1c2d74[_0x406fb7(0x168)](_0x424e6d=>_0x424e6d['startIndex']===_0xc56885[_0x406fb7(0x159)]&&_0x424e6d['endIndex']+0x1===_0xc56885[_0x406fb7(0x10c)]):void 0x0,{startOffset:_0x24ce90,endOffset:_0x1f974e}=_0x56e05a?_0xc56885:_0x5b625f(_0x25de27,_0x4650eb[_0x406fb7(0x159)],_0x4650eb[_0x406fb7(0x10c)]),_0x183d1e=_0x42f605(_0x25de27,_0x24ce90,_0x1f974e),_0x286cad=(_0x4df47b=_0x56e05a==null?void 0x0:_0x56e05a['blockId'])==null?_0x4650eb[_0x406fb7(0x13e)]:_0x4df47b,_0x246269=_0x3b023b(_0x4650eb[_0x406fb7(0x110)],_0x286cad,{..._0x5884f7,..._0x4650eb[_0x406fb7(0x12c)]});if(_0x56e05a)return _0x56e05a[_0x406fb7(0x13d)]=_0x4784aa,_0x448f22(_0x25de27,_0x24ce90,_0x1f974e),_0x2d4f45(_0x25de27,_0x24ce90,_0x1f974e,_0x183d1e),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};if(_0x24ce90===_0x1f974e){let _0x3fae45=''+_0x4dd43d[_0x406fb7(0x179)]['BLOCK_START']+_0x4dd43d['DataStreamTreeTokenType'][_0x406fb7(0x197)]+_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x17d)];return _0x261bcd(_0x25de27,_0x24ce90,_0x3fae45,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x2cc849(!0x0,!0x0,_0x183d1e)}],'blockRanges':[{'blockId':_0x286cad,'blockType':_0x4784aa,'startIndex':0x0,'endIndex':_0x3fae45[_0x406fb7(0x161)]-0x1}]}),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};}return _0x261bcd(_0x25de27,_0x1f974e,_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x17d)]),_0x261bcd(_0x25de27,_0x24ce90,_0x4dd43d[_0x406fb7(0x179)][_0x406fb7(0x12e)]),_0x2d4f45(_0x25de27,_0x24ce90,_0x1f974e+0x1,_0x183d1e),_0x25de27['blockRanges']=[...(_0x462dde=_0x25de27[_0x406fb7(0x142)])==null?[]:_0x462dde,{'blockId':_0x286cad,'blockType':_0x4784aa,'startIndex':_0x24ce90,'endIndex':_0x1f974e+0x1}][_0x406fb7(0x115)]((_0x4d1750,_0x34e6bd)=>_0x4d1750[_0x406fb7(0x178)]-_0x34e6bd['startIndex']),{'nextDocumentData':_0x5ca4f1,'nextMetadata':_0x246269,'cursorOffset':_0x24ce90+0x1};}function _0x448f22(_0x1b863c,_0x551e93,_0xc9dc3b){const _0x49aac0=_0x1e488b;var _0x5a4ba1;((_0x5a4ba1=_0x1b863c[_0x49aac0(0x16c)])==null?[]:_0x5a4ba1)[_0x49aac0(0x18b)](_0x42de37=>_0x42de37[_0x49aac0(0x178)]>_0x551e93&&_0x42de37[_0x49aac0(0x178)]<_0xc9dc3b)[_0x49aac0(0x18e)](_0x5e5dd4=>{const _0x38d215=_0x49aac0;var _0xb76b17;let _0x5edf96={...(_0xb76b17=_0x5e5dd4[_0x38d215(0x120)])==null?{}:_0xb76b17};delete _0x5edf96[_0x38d215(0x14a)],delete _0x5edf96['spaceBelow'],_0x5e5dd4[_0x38d215(0x120)]=_0x5edf96;});}function _0x1bec01(_0x290548,_0x4b8ae1){const _0x2e3a0f=_0x1e488b;return _0x290548==null||_0x4b8ae1==null||_0x290548===_0x4b8ae1?null:{'startOffset':Math[_0x2e3a0f(0x104)](_0x290548,_0x4b8ae1),'endOffset':Math[_0x2e3a0f(0x18f)](_0x290548,_0x4b8ae1)};}function _0x44e843(_0x29e294){const _0x433f9e=_0x1e488b;return{'nextDocumentData':_0x478790(_0x29e294['documentData']),'nextMetadata':_0x3b023b(_0x29e294[_0x433f9e(0x110)],_0x29e294['blockId'],_0x29e294['config']),'cursorOffset':0x0};}function _0x348164(_0x4af7ef){const _0x25243b=_0x1e488b;var _0x120c33,_0x1d84c2;let _0x5130c1=_0x478790(_0x4af7ef[_0x25243b(0x111)]),_0x54a6bf=_0x16af19(_0x5130c1),_0x3d8d3b=_0x4ea6cb(_0x54a6bf,_0x4af7ef[_0x25243b(0x10d)]);if(!_0x3d8d3b)return null;let _0x6fa49a=_0x2cfc5a(_0x54a6bf,_0x3d8d3b),_0x4480b0=_0x6fa49a[_0x6fa49a[_0x25243b(0x161)]-0x1];if(!_0x4480b0||!_0x251757(_0x54a6bf,_0x3d8d3b,_0x4480b0)||_0x4af7ef['cursorOffset']<_0x4480b0[_0x25243b(0x178)])return null;let _0x253b4f=_0x48767e(_0x54a6bf,_0x3d8d3b,_0x4480b0);if(_0x253b4f>=_0x3d8d3b[_0x25243b(0x196)])return null;_0x54a6bf['dataStream']=[_0x54a6bf['dataStream']['slice'](0x0,_0x253b4f),_0x4dd43d[_0x25243b(0x179)][_0x25243b(0x17d)],_0x54a6bf[_0x25243b(0x187)][_0x25243b(0x13c)](_0x253b4f,_0x3d8d3b[_0x25243b(0x196)]),_0x54a6bf[_0x25243b(0x187)][_0x25243b(0x13c)](_0x3d8d3b['endIndex']+0x1)][_0x25243b(0xee)](''),_0xd1a375(_0x54a6bf[_0x25243b(0x16c)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0xd1a375(_0x54a6bf['sectionBreaks'],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0xd1a375(_0x54a6bf[_0x25243b(0x198)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0x46c24f(_0x54a6bf[_0x25243b(0x148)],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0x7567ff(_0x54a6bf['tables'],_0x253b4f,_0x3d8d3b['endIndex'],0x1),_0x7567ff(_0x54a6bf['customRanges'],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),_0x7567ff(_0x54a6bf[_0x25243b(0x182)],_0x253b4f,_0x3d8d3b[_0x25243b(0x196)],0x1),(_0x120c33=_0x54a6bf[_0x25243b(0x142)])==null||_0x120c33[_0x25243b(0x18e)](_0x292168=>{const _0x1bfb62=_0x25243b;_0x292168===_0x3d8d3b||_0x292168['blockId']===_0x3d8d3b[_0x1bfb62(0x13e)]?_0x292168[_0x1bfb62(0x196)]=_0x253b4f:_0x292168[_0x1bfb62(0x178)]>=_0x253b4f&&_0x292168['startIndex']<_0x3d8d3b[_0x1bfb62(0x196)]&&(_0x292168[_0x1bfb62(0x178)]+=0x1,_0x292168[_0x1bfb62(0x196)]+=0x1);});let _0x290c06=_0x2cfc5a(_0x54a6bf,{..._0x3d8d3b,'endIndex':_0x253b4f});_0x290c06[_0x25243b(0x18e)]((_0x16b62e,_0x279b38)=>{const _0x2d2233=_0x25243b;var _0x3fc0e9;_0x16b62e[_0x2d2233(0x120)]={...(_0x3fc0e9=_0x16b62e[_0x2d2233(0x120)])==null?{}:_0x3fc0e9,..._0x2cc849(_0x279b38===0x0,_0x279b38===_0x290c06['length']-0x1)};});let _0x268271=(_0x1d84c2=_0x54a6bf[_0x25243b(0x16c)])==null?void 0x0:_0x1d84c2[_0x25243b(0x168)](_0x3a5724=>_0x3a5724[_0x25243b(0x178)]===_0x253b4f+0x1);return _0x268271&&(_0x268271['paragraphStyle']=_0x162668(_0x268271[_0x25243b(0x120)])),{'nextDocumentData':_0x5130c1,'cursorOffset':_0x253b4f+0x1};}function _0x49a1b3(_0x21b357){const _0x505f28=_0x1e488b;let _0x3d2a87=_0x478790(_0x21b357['documentData']),_0x583760=_0x16af19(_0x3d2a87),_0x20c948=_0x4ea6cb(_0x583760,_0x21b357[_0x505f28(0x10d)]);return _0x20c948&&_0x568744(_0x3d2a87,_0x583760,_0x20c948,_0x21b357[_0x505f28(0x10d)],_0x21b357[_0x505f28(0x19e)])||null;}function _0x568744(_0x19db0c,_0x2fa187,_0x5d88ac,_0xec140d,_0x6fb00b){const _0x45e445=_0x1e488b;let _0x424119=_0x543be0(_0x2fa187,_0x5d88ac,_0xec140d,_0x6fb00b);if(!_0x424119)return null;let _0x432a15=_0x424119[_0x45e445(0x16d)]-0x1;return _0x3bdb15(_0x2fa187,_0x424119[_0x45e445(0x190)][_0x45e445(0x178)],_0x424119[_0x45e445(0x190)][_0x45e445(0x178)]+0x1),{'nextDocumentData':_0x19db0c,'cursorOffset':_0x432a15};}function _0x1ef2e9(_0x467629,_0x500a37){const _0x351b9f=_0x1e488b;var _0x2db496;return _0x467629==null||(_0x2db496=_0x467629[_0x351b9f(0x142)])==null?void 0x0:_0x2db496['find'](_0x287dfb=>_0x287dfb[_0x351b9f(0x13d)]==='code'&&_0x287dfb['startIndex']<=_0x500a37&&_0x500a37<=_0x287dfb[_0x351b9f(0x196)]);}function _0x522134(_0x466e85){const _0x5b6bd4=_0x1e488b;var _0x250efc;let _0x30de07=_0x466e85[_0x5b6bd4(0x111)][_0x5b6bd4(0xf5)];if(!_0x30de07)return!0x1;let _0x5916f1=_0x466e85[_0x5b6bd4(0x12b)]===_0x5b6bd4(0x15f)?_0x466e85[_0x5b6bd4(0x10d)]-0x1:_0x466e85[_0x5b6bd4(0x10d)],_0xe359b3=_0x466e85[_0x5b6bd4(0x12b)]===_0x5b6bd4(0x124)?_0x466e85[_0x5b6bd4(0x10d)]+0x1:_0x5916f1;return((_0x250efc=_0x30de07[_0x5b6bd4(0x142)])==null?[]:_0x250efc)[_0x5b6bd4(0x14b)](_0x1c82d9=>_0x1c82d9[_0x5b6bd4(0x13d)]===_0x5b6bd4(0x128)?_0x5916f1===_0x1c82d9[_0x5b6bd4(0x178)]||_0x5916f1===_0x1c82d9[_0x5b6bd4(0x196)]||_0xe359b3===_0x1c82d9[_0x5b6bd4(0x178)]||_0xe359b3===_0x1c82d9[_0x5b6bd4(0x196)]:!0x1);}function _0x4ea6cb(_0x2d6c1e,_0x5c74f6){const _0x3fef47=_0x1e488b;var _0x2065d3;return(_0x2065d3=_0x2d6c1e[_0x3fef47(0x142)])==null?void 0x0:_0x2065d3[_0x3fef47(0x168)](_0x16eb1d=>{const _0x25d5c9=_0x3fef47;let _0x4d0bef=_0x464ce5(_0x2d6c1e,_0x16eb1d);return _0x16eb1d[_0x25d5c9(0x13d)]===_0x25d5c9(0x128)&&_0x16eb1d[_0x25d5c9(0x178)]<=_0x5c74f6&&_0x5c74f6<=_0x4d0bef+0x2;});}function _0x2cc849(_0x198452,_0x3c54a2,_0x2b585a=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x198452&&_0x2b585a?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x55c85e,'fs':0xc}};}function _0x2d4f45(_0x3969da,_0x5de069,_0x37ef8f,_0x2cadc2=!0x1){const _0xe04c0=_0x1e488b;var _0x29c197;let _0x5e1e72=((_0x29c197=_0x3969da[_0xe04c0(0x16c)])==null?[]:_0x29c197)['filter'](_0x94d338=>_0x94d338[_0xe04c0(0x178)]>_0x5de069&&_0x94d338['startIndex']<_0x37ef8f);_0x5e1e72[_0xe04c0(0x18e)]((_0x5d8735,_0x407205)=>{const _0x205e35=_0xe04c0;var _0x9ebc2b;_0x5d8735[_0x205e35(0x120)]={...(_0x9ebc2b=_0x5d8735[_0x205e35(0x120)])==null?{}:_0x9ebc2b,..._0x2cc849(_0x407205===0x0,_0x407205===_0x5e1e72[_0x205e35(0x161)]-0x1,_0x2cadc2)};});}function _0x162668(_0x218b77){const _0x169247=_0x1e488b;var _0x416f27,_0x185a58;let _0x5c6f9d={..._0x218b77==null?{}:_0x218b77};return delete _0x5c6f9d[_0x169247(0x112)],delete _0x5c6f9d[_0x169247(0xf9)],delete _0x5c6f9d[_0x169247(0x14a)],delete _0x5c6f9d[_0x169247(0x192)],((_0x416f27=_0x5c6f9d[_0x169247(0x11d)])==null?void 0x0:_0x416f27['ff'])===_0x55c85e&&((_0x185a58=_0x5c6f9d[_0x169247(0x11d)])==null?void 0x0:_0x185a58['fs'])===0xc&&delete _0x5c6f9d[_0x169247(0x11d)],_0x5c6f9d;}function _0x2cfc5a(_0x21d440,_0x3cc8c4){const _0x1cc7b4=_0x1e488b;var _0xca9166;let _0x161b5b=_0x464ce5(_0x21d440,_0x3cc8c4);return((_0xca9166=_0x21d440[_0x1cc7b4(0x16c)])==null?[]:_0xca9166)[_0x1cc7b4(0x18b)](_0xa5d934=>_0xa5d934[_0x1cc7b4(0x178)]>_0x3cc8c4['startIndex']&&_0xa5d934['startIndex']<_0x161b5b);}function _0x251757(_0x2687d0,_0x421414,_0x15b089){const _0x551ee6=_0x1e488b;let _0x54ecad=_0x48767e(_0x2687d0,_0x421414,_0x15b089),_0x4d81f3=_0x2687d0['dataStream'][_0x551ee6(0x13c)](_0x54ecad,_0x15b089['startIndex']);return Array[_0x551ee6(0x132)](_0x4d81f3)[_0x551ee6(0xe9)](_0x534c64=>_0x534c64===_0x4dd43d[_0x551ee6(0x179)][_0x551ee6(0x12e)]||_0x534c64===_0x4dd43d['DataStreamTreeTokenType'][_0x551ee6(0x17d)]);}function _0x478790(_0xb20f24){const _0x587c6d=_0x1e488b;return _0x4dd43d[_0x587c6d(0x184)][_0x587c6d(0x130)](_0xb20f24);}function _0x16af19(_0x53d4f0){const _0x51100e=_0x1e488b;if(!_0x53d4f0[_0x51100e(0xf5)])throw Error(_0x51100e(0x185));return _0x53d4f0[_0x51100e(0xf5)];}function _0x5b625f(_0x942d5,_0x554947,_0x4533a6){if(_0x554947==null||_0x4533a6==null){let _0x1fe308=_0x7518bc(_0x942d5);return{'startOffset':_0x1fe308,'endOffset':_0x1fe308};}let _0x583603=Math['min'](_0x554947,_0x4533a6),_0x4e21c5=Math['max'](_0x554947,_0x4533a6);return _0x583603===_0x4e21c5?{'startOffset':_0x583603,'endOffset':_0x583603}:_0x3cf9a7(_0x942d5,_0x583603,_0x4e21c5);}function _0x7518bc(_0x51f798){const _0x27c67d=_0x1e488b;return _0x51f798[_0x27c67d(0x187)][_0x27c67d(0x16b)](_0x4dd43d[_0x27c67d(0x179)][_0x27c67d(0x175)])?Math[_0x27c67d(0x18f)](0x0,_0x51f798[_0x27c67d(0x187)][_0x27c67d(0x161)]-0x1):_0x51f798['dataStream']['length'];}function _0x42f605(_0x41c964,_0x360584,_0x166039){const _0x435c80=_0x1e488b;var _0x3d9aca;let _0x561cfc=Math['min'](_0x360584,_0x166039),_0x4832d2=Math[_0x435c80(0x18f)](_0x360584,_0x166039);return!!((_0x3d9aca=_0x41c964[_0x435c80(0x125)])!=null&&_0x3d9aca['some'](_0xcb93a3=>_0x561cfc>_0xcb93a3[_0x435c80(0x178)]&&_0x561cfc<_0xcb93a3['endIndex']||_0x4832d2>_0xcb93a3[_0x435c80(0x178)]&&_0x4832d2<_0xcb93a3[_0x435c80(0x196)]||_0x561cfc<=_0xcb93a3[_0x435c80(0x178)]&&_0x4832d2>=_0xcb93a3[_0x435c80(0x196)]));}function _0x3cf9a7(_0x3c1921,_0x18dec7,_0x5b6adf){const _0x333000=_0x1e488b;var _0x2c76de,_0x30f1c6;let _0x577d0c=[...(_0x2c76de=_0x3c1921[_0x333000(0x16c)])==null?[]:_0x2c76de][_0x333000(0x115)]((_0x195d5a,_0x21fbda)=>_0x195d5a[_0x333000(0x178)]-_0x21fbda[_0x333000(0x178)]),_0x5bd7dc=_0x577d0c[_0x333000(0x168)]((_0x4e0225,_0x2cd277)=>(_0x2cd277===0x0?0x0:_0x577d0c[_0x2cd277-0x1][_0x333000(0x178)]+0x1)<=_0x18dec7&&_0x18dec7<=_0x4e0225['startIndex']),_0x33d4aa=(_0x30f1c6=_0x577d0c['find'](_0x3888aa=>_0x3888aa[_0x333000(0x178)]>=_0x5b6adf-0x1))==null?_0x577d0c[_0x577d0c[_0x333000(0x161)]-0x1]:_0x30f1c6;return{'startOffset':_0x5bd7dc?_0x16780d(_0x577d0c,_0x5bd7dc):_0x18dec7,'endOffset':_0x33d4aa?_0x33d4aa[_0x333000(0x178)]+0x1:_0x5b6adf};}function _0x16780d(_0xeddc6f,_0x5a8285){const _0x4dcc46=_0x1e488b;let _0x1a079d=_0xeddc6f[_0x4dcc46(0x12a)](_0x5a8285);return _0x1a079d>0x0?_0xeddc6f[_0x1a079d-0x1][_0x4dcc46(0x178)]+0x1:0x0;}function _0x48767e(_0x662595,_0x19d2d7,_0x1e81ff){const _0x408a97=_0x1e488b;var _0x350598;return Math[_0x408a97(0x18f)](_0x16780d((_0x350598=_0x662595[_0x408a97(0x16c)])==null?[]:_0x350598,_0x1e81ff),_0x19d2d7[_0x408a97(0x178)]+0x1);}function _0x464ce5(_0x5826b4,_0xf55040){const _0x3802b0=_0x1e488b;return _0x5826b4[_0x3802b0(0x187)][_0xf55040[_0x3802b0(0x196)]]===_0x4dd43d[_0x3802b0(0x179)][_0x3802b0(0x17d)]?_0xf55040[_0x3802b0(0x196)]:_0x5826b4['dataStream'][_0xf55040[_0x3802b0(0x196)]+0x1]===_0x4dd43d[_0x3802b0(0x179)][_0x3802b0(0x17d)]?_0xf55040[_0x3802b0(0x196)]+0x1:_0xf55040['endIndex'];}function _0x543be0(_0x4885cf,_0x18dd39,_0x4662ce,_0x175fff){const _0xcb1b86=_0x1e488b;var _0x25323a,_0x571ee3;let _0x59c77a=_0x464ce5(_0x4885cf,_0x18dd39),_0xa83afa=((_0x25323a=_0x4885cf[_0xcb1b86(0x16c)])==null?[]:_0x25323a)[_0xcb1b86(0x168)](_0x1fa07f=>_0x1fa07f[_0xcb1b86(0x178)]===_0x59c77a+0x1);if(!_0xa83afa||_0x175fff!=null&&_0xa83afa['startIndex']!==_0x175fff||_0x4662ce<_0x59c77a||_0x4662ce>_0xa83afa['startIndex']+0x1||_0x4885cf[_0xcb1b86(0x187)][_0xa83afa[_0xcb1b86(0x178)]]!==_0x4dd43d[_0xcb1b86(0x179)][_0xcb1b86(0x197)])return null;let _0x21bb69=_0x16780d((_0x571ee3=_0x4885cf['paragraphs'])==null?[]:_0x571ee3,_0xa83afa),_0x43911c=_0x4885cf[_0xcb1b86(0x187)]['slice'](_0x21bb69,_0xa83afa['startIndex']);return Array[_0xcb1b86(0x132)](_0x43911c)[_0xcb1b86(0xe9)](_0x324f7e=>_0x324f7e===_0x4dd43d[_0xcb1b86(0x179)][_0xcb1b86(0x17d)])?{'paragraph':_0xa83afa,'endTokenOffset':_0x59c77a}:null;}function _0x261bcd(_0x338fde,_0x3eca9b,_0x22e230,_0x102324={}){const _0x32ea52=_0x1e488b;var _0x113052,_0x3f22e2;if(_0x22e230){if(_0x338fde[_0x32ea52(0x187)]=''+_0x338fde['dataStream'][_0x32ea52(0x13c)](0x0,_0x3eca9b)+_0x22e230+_0x338fde[_0x32ea52(0x187)][_0x32ea52(0x13c)](_0x3eca9b),_0x2d038a(_0x338fde,_0x3eca9b,_0x22e230[_0x32ea52(0x161)]),(_0x113052=_0x102324[_0x32ea52(0x16c)])!=null&&_0x113052[_0x32ea52(0x161)]){var _0x24cc84;_0x338fde[_0x32ea52(0x16c)]=[...(_0x24cc84=_0x338fde['paragraphs'])==null?[]:_0x24cc84,..._0x102324[_0x32ea52(0x16c)][_0x32ea52(0xf7)](_0x52a6a2=>({..._0x52a6a2,'startIndex':_0x52a6a2[_0x32ea52(0x178)]+_0x3eca9b}))][_0x32ea52(0x115)]((_0x114c68,_0x13dbbb)=>_0x114c68[_0x32ea52(0x178)]-_0x13dbbb[_0x32ea52(0x178)]);}if((_0x3f22e2=_0x102324[_0x32ea52(0x142)])!=null&&_0x3f22e2['length']){var _0x482680;_0x338fde[_0x32ea52(0x142)]=[...(_0x482680=_0x338fde['blockRanges'])==null?[]:_0x482680,..._0x102324['blockRanges'][_0x32ea52(0xf7)](_0x42ed83=>({..._0x42ed83,'startIndex':_0x42ed83[_0x32ea52(0x178)]+_0x3eca9b,'endIndex':_0x42ed83[_0x32ea52(0x196)]+_0x3eca9b}))]['sort']((_0x5cd38e,_0x2d0337)=>_0x5cd38e['startIndex']-_0x2d0337[_0x32ea52(0x178)]);}}}function _0x3bdb15(_0x4a0366,_0x56ccce,_0x59657b){const _0xb5bcaa=_0x1e488b;let _0x1bf929=_0x59657b-_0x56ccce;_0x4a0366[_0xb5bcaa(0x187)]=''+_0x4a0366[_0xb5bcaa(0x187)][_0xb5bcaa(0x13c)](0x0,_0x56ccce)+_0x4a0366[_0xb5bcaa(0x187)][_0xb5bcaa(0x13c)](_0x59657b),_0x28127c(_0x4a0366,_0x56ccce,_0x1bf929);}function _0x2d038a(_0x2ebc72,_0x32ef25,_0x44f9a8){const _0x514ebf=_0x1e488b;_0x2ebc72[_0x514ebf(0x16c)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x16c)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x170)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x170)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x198)]=_0x22aed0(_0x2ebc72[_0x514ebf(0x198)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x148)]=_0x4ccc00(_0x2ebc72[_0x514ebf(0x148)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x125)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x125)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0xfb)]=_0x246bf6(_0x2ebc72['customRanges'],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x182)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x182)],_0x32ef25,_0x44f9a8),_0x2ebc72[_0x514ebf(0x142)]=_0x246bf6(_0x2ebc72[_0x514ebf(0x142)],_0x32ef25,_0x44f9a8);}function _0x28127c(_0x45f82f,_0x1f1c64,_0x571f6d){const _0x583d34=_0x1e488b;var _0x3796d3,_0x683137;_0x45f82f[_0x583d34(0x16c)]=_0x3ccc0e(_0x45f82f[_0x583d34(0x16c)],_0x1f1c64,_0x571f6d),_0x45f82f['sectionBreaks']=_0x3ccc0e(_0x45f82f['sectionBreaks'],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x198)]=_0x3ccc0e(_0x45f82f[_0x583d34(0x198)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x148)]=(_0x3796d3=_0x397bb5((_0x683137=_0x45f82f[_0x583d34(0x148)])==null?void 0x0:_0x683137['map'](_0x9fd2ee=>({..._0x9fd2ee,'startIndex':_0x9fd2ee['st'],'endIndex':_0x9fd2ee['ed']})),_0x1f1c64,_0x571f6d))==null?void 0x0:_0x3796d3[_0x583d34(0xf7)](_0x4bf64a=>{let {startIndex:_0x1efe1f,endIndex:_0x1ec9a5,..._0x1ff2ed}=_0x4bf64a;return{..._0x1ff2ed,'st':_0x1efe1f,'ed':_0x1ec9a5};}),_0x45f82f[_0x583d34(0x125)]=_0x397bb5(_0x45f82f[_0x583d34(0x125)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0xfb)]=_0x397bb5(_0x45f82f[_0x583d34(0xfb)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x182)]=_0x397bb5(_0x45f82f[_0x583d34(0x182)],_0x1f1c64,_0x571f6d),_0x45f82f[_0x583d34(0x142)]=_0x397bb5(_0x45f82f[_0x583d34(0x142)],_0x1f1c64,_0x571f6d);}function _0x22aed0(_0x2f7a2e,_0x1e1ac8,_0x3f23f9){const _0x4c9a35=_0x1e488b;return _0x2f7a2e==null?void 0x0:_0x2f7a2e[_0x4c9a35(0xf7)](_0x386a5c=>_0x386a5c[_0x4c9a35(0x178)]>=_0x1e1ac8?{..._0x386a5c,'startIndex':_0x386a5c[_0x4c9a35(0x178)]+_0x3f23f9}:_0x386a5c);}function _0x3ccc0e(_0x191d92,_0x2d414a,_0x3da170){const _0x4db2b2=_0x1e488b;let _0x1a1dde=_0x2d414a+_0x3da170;return _0x191d92==null?void 0x0:_0x191d92['map'](_0x2d1b65=>_0x2d1b65['startIndex']>=_0x2d414a&&_0x2d1b65[_0x4db2b2(0x178)]<_0x1a1dde?null:_0x2d1b65[_0x4db2b2(0x178)]>=_0x1a1dde?{..._0x2d1b65,'startIndex':_0x2d1b65[_0x4db2b2(0x178)]-_0x3da170}:_0x2d1b65)[_0x4db2b2(0x18b)](_0x1b22d0=>_0x1b22d0!=null);}function _0x4ccc00(_0x4e58ce,_0x190650,_0xd3b376){const _0x503c66=_0x1e488b;return _0x4e58ce==null?void 0x0:_0x4e58ce[_0x503c66(0xf7)](_0x21354b=>_0x21354b['st']>=_0x190650?{..._0x21354b,'st':_0x21354b['st']+_0xd3b376,'ed':_0x21354b['ed']+_0xd3b376}:_0x21354b['ed']>_0x190650?{..._0x21354b,'ed':_0x21354b['ed']+_0xd3b376}:_0x21354b);}function _0x246bf6(_0x373178,_0x5ac3f8,_0x958852){const _0xccd026=_0x1e488b;return _0x373178==null?void 0x0:_0x373178[_0xccd026(0xf7)](_0x5192dc=>_0x5192dc[_0xccd026(0x178)]>=_0x5ac3f8?{..._0x5192dc,'startIndex':_0x5192dc['startIndex']+_0x958852,'endIndex':_0x5192dc[_0xccd026(0x196)]+_0x958852}:_0x5192dc[_0xccd026(0x196)]>=_0x5ac3f8?{..._0x5192dc,'endIndex':_0x5192dc[_0xccd026(0x196)]+_0x958852}:_0x5192dc);}function _0x397bb5(_0x418600,_0xb333ad,_0x5e9567){const _0x1300a5=_0x1e488b;let _0x57d982=_0xb333ad+_0x5e9567;return _0x418600==null?void 0x0:_0x418600[_0x1300a5(0xf7)](_0x38d9bf=>_0x38d9bf[_0x1300a5(0x178)]>=_0xb333ad&&_0x38d9bf[_0x1300a5(0x196)]<_0x57d982?null:_0x38d9bf[_0x1300a5(0x178)]>=_0x57d982?{..._0x38d9bf,'startIndex':_0x38d9bf[_0x1300a5(0x178)]-_0x5e9567,'endIndex':_0x38d9bf[_0x1300a5(0x196)]-_0x5e9567}:_0x38d9bf[_0x1300a5(0x196)]>=_0xb333ad?{..._0x38d9bf,'startIndex':_0x38d9bf['startIndex']<_0xb333ad?_0x38d9bf[_0x1300a5(0x178)]:_0xb333ad,'endIndex':Math[_0x1300a5(0x18f)](_0xb333ad,_0x38d9bf[_0x1300a5(0x196)]-_0x5e9567)}:_0x38d9bf)[_0x1300a5(0x18b)](_0x43bc5a=>_0x43bc5a!=null);}function _0xd1a375(_0x4fd928,_0x330a2c,_0x11df05,_0x5d0585){const _0x290d93=_0x1e488b;_0x4fd928==null||_0x4fd928[_0x290d93(0x18e)](_0x428613=>{const _0x1e5e8c=_0x290d93;_0x428613['startIndex']>=_0x330a2c&&_0x428613[_0x1e5e8c(0x178)]<_0x11df05&&(_0x428613[_0x1e5e8c(0x178)]+=_0x5d0585);});}function _0x46c24f(_0x2a20fd,_0x11aae0,_0x2e71de,_0x2f8c83){const _0x21055d=_0x1e488b;_0x2a20fd==null||_0x2a20fd[_0x21055d(0x18e)](_0x54902c=>{_0x54902c['st']>=_0x11aae0&&_0x54902c['st']<_0x2e71de?(_0x54902c['st']+=_0x2f8c83,_0x54902c['ed']+=_0x2f8c83):_0x54902c['ed']>_0x11aae0&&_0x54902c['ed']<_0x2e71de&&(_0x54902c['ed']+=_0x2f8c83);});}function _0x7567ff(_0x21d535,_0x36a7e5,_0x41f05c,_0x295fa9){const _0x3adb94=_0x1e488b;_0x21d535==null||_0x21d535[_0x3adb94(0x18e)](_0x5ee2f5=>{const _0x14fdb2=_0x3adb94;_0x5ee2f5[_0x14fdb2(0x178)]>=_0x36a7e5&&_0x5ee2f5[_0x14fdb2(0x178)]<_0x41f05c?(_0x5ee2f5[_0x14fdb2(0x178)]+=_0x295fa9,_0x5ee2f5['endIndex']+=_0x295fa9):_0x5ee2f5[_0x14fdb2(0x196)]>_0x36a7e5&&_0x5ee2f5['endIndex']<_0x41f05c&&(_0x5ee2f5['endIndex']+=_0x295fa9);});}function _0x55b1bf(_0x27881a){'@babel/helpers - typeof';const _0x21a80d=_0x1e488b;return _0x55b1bf=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x21a80d(0x10a)?function(_0x1ada72){return typeof _0x1ada72;}:function(_0xf7592b){const _0x30baa8=_0x21a80d;return _0xf7592b&&typeof Symbol==_0x30baa8(0x127)&&_0xf7592b[_0x30baa8(0x16f)]===Symbol&&_0xf7592b!==Symbol[_0x30baa8(0x137)]?_0x30baa8(0x10a):typeof _0xf7592b;},_0x55b1bf(_0x27881a);}function _0x192a09(_0x4c899b,_0x1123a0){const _0x21927c=_0x1e488b;if(_0x55b1bf(_0x4c899b)!=_0x21927c(0x18c)||!_0x4c899b)return _0x4c899b;var _0x38edf7=_0x4c899b[Symbol[_0x21927c(0x11b)]];if(_0x38edf7!==void 0x0){var _0x2169e6=_0x38edf7[_0x21927c(0x121)](_0x4c899b,_0x1123a0||_0x21927c(0x199));if(_0x55b1bf(_0x2169e6)!=_0x21927c(0x18c))return _0x2169e6;throw TypeError(_0x21927c(0x131));}return(_0x1123a0===_0x21927c(0x171)?String:Number)(_0x4c899b);}function _0x7fbf1e(_0x4f4b6b){const _0x322e2a=_0x1e488b;var _0x16f621=_0x192a09(_0x4f4b6b,_0x322e2a(0x171));return _0x55b1bf(_0x16f621)==_0x322e2a(0x10a)?_0x16f621:_0x16f621+'';}function _0x4f4935(_0x3f8011,_0x2bf623,_0x571d52){return(_0x2bf623=_0x7fbf1e(_0x2bf623))in _0x3f8011?Object['defineProperty'](_0x3f8011,_0x2bf623,{'value':_0x571d52,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f8011[_0x2bf623]=_0x571d52,_0x3f8011;}var _0xdc5ef7=class extends _0x4dd43d[_0x1e488b(0x146)]{constructor(..._0x375830){const _0x143922=_0x1e488b;super(..._0x375830),_0x4f4935(this,_0x143922(0x11c),new Map()),_0x4f4935(this,_0x143922(0x156),new _0x135813[(_0x143922(0xfd))]()),_0x4f4935(this,_0x143922(0xfa),this['_change$']['asObservable']());}['getCodeConfig'](_0x34250b,_0x42f66b){const _0x12d5d9=_0x1e488b;return _0x469a55(this['_resources'][_0x12d5d9(0x166)](_0x34250b))['codes'][_0x42f66b];}[_0x1e488b(0x11e)](_0x40fc81,_0x4f592c,_0x43f497){const _0xeaee75=_0x1e488b;this[_0xeaee75(0xea)](_0x40fc81,_0x4f592c,_0x3b023b(this[_0xeaee75(0x11c)]['get'](_0x40fc81),_0x4f592c,_0x43f497));}[_0x1e488b(0x19c)](_0x13b7be,_0x12d8b0){const _0x13e36c=_0x1e488b;this[_0x13e36c(0xea)](_0x13b7be,_0x12d8b0,_0x3515a7(this[_0x13e36c(0x11c)][_0x13e36c(0x166)](_0x13b7be),_0x12d8b0));}[_0x1e488b(0x14d)](_0x2e0bd4){const _0x1b898b=_0x1e488b;return _0x469a55(this[_0x1b898b(0x11c)][_0x1b898b(0x166)](_0x2e0bd4));}['deserialize'](_0x47530b,_0x257b91){const _0x389e75=_0x1e488b;this['_resources'][_0x389e75(0x155)](_0x47530b,_0x469a55(_0x257b91)),this['_change$']['next']({'unitId':_0x47530b});}['removeUnit'](_0x437029){const _0x16e27b=_0x1e488b;this['_resources']['delete'](_0x437029),this[_0x16e27b(0x156)][_0x16e27b(0x169)]({'unitId':_0x437029});}[_0x1e488b(0x15c)](){const _0x961540=_0x1e488b;super['dispose'](),this[_0x961540(0x11c)]['clear'](),this[_0x961540(0x156)][_0x961540(0x135)]();}['_setResource'](_0x102b91,_0x125555,_0x443d73){const _0x1aff34=_0x1e488b;this[_0x1aff34(0x11c)][_0x1aff34(0x155)](_0x102b91,_0x443d73),this[_0x1aff34(0x156)]['next']({'unitId':_0x102b91,'blockId':_0x125555});}};let _0x5854aa={'id':_0x1e488b(0x18d),'type':_0x4dd43d['CommandType'][_0x1e488b(0xf8)],'handler':_0x1f0546=>{const _0x576562=_0x1e488b;let _0x34d470=_0x2a6662(_0x1f0546);if(_0x34d470)return _0x1f0546[_0x576562(0x166)](_0x4dd43d[_0x576562(0x138)])[_0x576562(0xf1)](_0x12e87e['id'],{'startOffset':_0x34d470['startOffset'],'endOffset':_0x34d470[_0x576562(0x10c)],'unitId':_0x34d470[_0x576562(0x19f)]});let _0x446df5=_0x4b31dd(_0x1f0546);if(!_0x446df5)return!0x1;let _0x483129=_0x446df5[_0x576562(0x178)]+0x1;return _0x1f0546[_0x576562(0x166)](_0x4dd43d[_0x576562(0x138)])[_0x576562(0xf1)](_0x12e87e['id'],{'startOffset':_0x483129,'endOffset':_0x483129});}},_0x26c7c={'id':_0x1e488b(0x118),'type':_0x4dd43d[_0x1e488b(0x194)]['COMMAND'],'handler':()=>!0x0},_0x12e87e={'id':_0x1e488b(0x188),'type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x198292,_0x538e3c)=>{const _0x17d10a=_0x1e488b;var _0x365105,_0x29b921,_0xdc6791;let _0xa9659a=_0x54d7b6(_0x198292,_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x19f)]);if(!_0xa9659a)return!0x1;let _0x427445=_0x2afdac(_0x198292),_0x1365be=_0x3a347b({'blockId':(_0x365105=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x13e)])==null?(0x0,_0x4dd43d['generateRandomId'])(0x6):_0x365105,'config':_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x12c)],'documentData':_0xa9659a[_0x17d10a(0x15e)],'endOffset':(_0x29b921=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x10c)])==null?_0x427445==null?void 0x0:_0x427445['endOffset']:_0x29b921,'metadata':_0xa9659a[_0x17d10a(0xff)]['serialize'](_0xa9659a[_0x17d10a(0x19f)]),'startOffset':(_0xdc6791=_0x538e3c==null?void 0x0:_0x538e3c[_0x17d10a(0x159)])==null?_0x427445==null?void 0x0:_0x427445['startOffset']:_0xdc6791}),_0x39797d=_0xf61891(_0xa9659a[_0x17d10a(0x15b)],_0xa9659a['unitId'],_0xa9659a[_0x17d10a(0x15e)],_0x1365be['nextDocumentData'],_0x1365be[_0x17d10a(0x10d)]);return _0x39797d&&_0x1365be['nextMetadata']&&_0xa9659a[_0x17d10a(0xff)]['deserialize'](_0xa9659a['unitId'],_0x1365be[_0x17d10a(0x147)]),_0x39797d;}},_0x1cb351={'id':_0x1e488b(0x109),'type':_0x4dd43d['CommandType'][_0x1e488b(0xf8)],'handler':(_0x4b4d87,_0x5b0ddb)=>{const _0x15b409=_0x1e488b;if(!_0x5b0ddb)return!0x1;let _0x4ea7a1=_0x54d7b6(_0x4b4d87,_0x5b0ddb[_0x15b409(0x19f)]);if(!_0x4ea7a1)return!0x1;let _0x56d1c8=_0x44e843({'blockId':_0x5b0ddb[_0x15b409(0x13e)],'config':_0x5b0ddb['config'],'documentData':_0x4ea7a1['previousDocumentData'],'metadata':_0x4ea7a1[_0x15b409(0xff)][_0x15b409(0x14d)](_0x4ea7a1[_0x15b409(0x19f)])});return _0x56d1c8[_0x15b409(0x147)]&&_0x4ea7a1[_0x15b409(0xff)][_0x15b409(0x106)](_0x4ea7a1['unitId'],_0x56d1c8[_0x15b409(0x147)]),!0x0;}},_0x2995a7={'id':_0x1e488b(0x12d),'type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x2ad388,_0x394f9a)=>{const _0x135f16=_0x1e488b;var _0x25b612,_0x84d012;let _0x3932f2=_0x54d7b6(_0x2ad388,_0x394f9a==null?void 0x0:_0x394f9a[_0x135f16(0x19f)]);if(!_0x3932f2)return!0x1;let _0x40461b=(_0x25b612=_0x394f9a==null?void 0x0:_0x394f9a['cursorOffset'])==null?(_0x84d012=_0x2afdac(_0x2ad388))==null?void 0x0:_0x84d012['startOffset']:_0x25b612;if(_0x40461b==null)return!0x1;let _0x405542=_0x348164({'cursorOffset':_0x40461b,'documentData':_0x3932f2[_0x135f16(0x15e)]});return _0x405542?_0xf61891(_0x3932f2[_0x135f16(0x15b)],_0x3932f2['unitId'],_0x3932f2[_0x135f16(0x15e)],_0x405542[_0x135f16(0xf0)],_0x405542['cursorOffset']):!0x1;}},_0x3bc18b={'id':'docs-code.command.cancel-empty-paragraph','type':_0x4dd43d[_0x1e488b(0x194)][_0x1e488b(0xf8)],'handler':(_0x39053a,_0x20f949)=>{const _0x28c2d0=_0x1e488b;var _0x207a56,_0x127842;let _0x4667b6=_0x54d7b6(_0x39053a,_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x19f)]);if(!_0x4667b6)return!0x1;let _0x221bed=(_0x207a56=_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x10d)])==null?(_0x127842=_0x2afdac(_0x39053a))==null?void 0x0:_0x127842[_0x28c2d0(0x159)]:_0x207a56;if(_0x221bed==null)return!0x1;let _0x3c89ec=_0x49a1b3({'cursorOffset':_0x221bed,'documentData':_0x4667b6['previousDocumentData'],'paragraphStartIndex':_0x20f949==null?void 0x0:_0x20f949[_0x28c2d0(0x19e)]});return _0x3c89ec?_0xf61891(_0x4667b6[_0x28c2d0(0x15b)],_0x4667b6[_0x28c2d0(0x19f)],_0x4667b6[_0x28c2d0(0x15e)],_0x3c89ec['nextDocumentData'],_0x3c89ec[_0x28c2d0(0x10d)]):!0x1;}};function _0x54d7b6(_0x41415f,_0x2f0ee1){const _0x52dc88=_0x1e488b;let _0xd6b37b=_0x41415f[_0x52dc88(0x166)](_0x4dd43d[_0x52dc88(0xef)]),_0x7c7abd=_0x2f0ee1?_0xd6b37b[_0x52dc88(0x100)](_0x2f0ee1):_0xd6b37b[_0x52dc88(0xe7)](_0x4dd43d['UniverInstanceType'][_0x52dc88(0x10f)]);return _0x7c7abd?{'commandService':_0x41415f[_0x52dc88(0x166)](_0x4dd43d[_0x52dc88(0x138)]),'model':_0x41415f[_0x52dc88(0x166)](_0xdc5ef7),'previousDocumentData':_0x7c7abd['getSnapshot'](),'unitId':_0x7c7abd[_0x52dc88(0x172)]()}:null;}function _0x2afdac(_0x58e0d7){const _0x275c8e=_0x1e488b;var _0x247c57;return(_0x247c57=_0x58e0d7['get'](_0x69c527['DocSelectionManagerService'])[_0x275c8e(0x101)]())==null?void 0x0:_0x247c57[0x0];}function _0x2a6662(_0xfc2dd3){const _0x52693b=_0x1e488b;var _0x242998;let _0x38ac08=(_0x242998=_0xfc2dd3[_0x52693b(0x166)](_0x4dd43d[_0x52693b(0xef)])[_0x52693b(0xe7)](_0x4dd43d[_0x52693b(0x11a)][_0x52693b(0x10f)]))==null?void 0x0:_0x242998[_0x52693b(0x172)]();try{return _0xfc2dd3[_0x52693b(0x166)](_0x1b5a72[_0x52693b(0x103)])['consumeInsertRange'](_0x38ac08);}catch{return null;}}function _0x4b31dd(_0x2593ca){const _0x49fb11=_0x1e488b;var _0x34d13e,_0x54f086,_0xedaf56;let _0x1b7228=_0x2afdac(_0x2593ca);if(!_0x1b7228)return null;let _0x23fea7=_0x2593ca[_0x49fb11(0x166)](_0x4dd43d[_0x49fb11(0xef)])[_0x49fb11(0xe7)](_0x4dd43d[_0x49fb11(0x11a)][_0x49fb11(0x10f)]),_0x366e0e=_0x23fea7==null?void 0x0:_0x23fea7[_0x49fb11(0x145)]();return _0x366e0e?(_0x34d13e=_0x4dd43d[_0x49fb11(0x186)][_0x49fb11(0x164)][_0x49fb11(0xec)](_0x1b7228,(_0x54f086=_0x366e0e[_0x49fb11(0x16c)])==null?[]:_0x54f086,(_0xedaf56=_0x366e0e[_0x49fb11(0x187)])==null?'':_0xedaf56)[0x0])==null?null:_0x34d13e:null;}function _0x44bbf2(_0x656fdb,_0xf29191){const _0x4d617c=_0x1e488b;var _0x1fa60f,_0x59e6c7,_0x146e9e,_0xd338c5,_0x57a357,_0x59c2e9,_0x5ee49c,_0x3217bd,_0x4a275f,_0x101427,_0x19e460,_0x11d45a,_0x2c8a49,_0x3e93ae,_0x1c208b,_0x4f6ae5,_0x2650c3,_0xf68c17;let _0x161b69=_0x4dd43d[_0x4d617c(0x107)][_0x4d617c(0x181)]();return[_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x187)],(_0x1fa60f=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x1fa60f[_0x4d617c(0x187)],(_0x59e6c7=_0xf29191['body'])==null?void 0x0:_0x59e6c7[_0x4d617c(0x187)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'paragraphs'],(_0x146e9e=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x146e9e['paragraphs'],(_0xd338c5=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0xd338c5[_0x4d617c(0x16c)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x170)],(_0x57a357=_0x656fdb['body'])==null?void 0x0:_0x57a357[_0x4d617c(0x170)],(_0x59c2e9=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x59c2e9[_0x4d617c(0x170)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x148)],(_0x5ee49c=_0x656fdb['body'])==null?void 0x0:_0x5ee49c['textRuns'],(_0x3217bd=_0xf29191['body'])==null?void 0x0:_0x3217bd[_0x4d617c(0x148)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x198)],(_0x4a275f=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x4a275f['customBlocks'],(_0x101427=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x101427['customBlocks']),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0xfb)],(_0x19e460=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x19e460[_0x4d617c(0xfb)],(_0x11d45a=_0xf29191['body'])==null?void 0x0:_0x11d45a[_0x4d617c(0xfb)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),_0x4d617c(0x182)],(_0x2c8a49=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x2c8a49['customDecorations'],(_0x3e93ae=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x3e93ae[_0x4d617c(0x182)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'tables'],(_0x1c208b=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x1c208b[_0x4d617c(0x125)],(_0x4f6ae5=_0xf29191[_0x4d617c(0xf5)])==null?void 0x0:_0x4f6ae5[_0x4d617c(0x125)]),_0x4f2a8a(_0x161b69,[_0x4d617c(0xf5),'blockRanges'],(_0x2650c3=_0x656fdb[_0x4d617c(0xf5)])==null?void 0x0:_0x2650c3['blockRanges'],(_0xf68c17=_0xf29191['body'])==null?void 0x0:_0xf68c17[_0x4d617c(0x142)])]['filter'](Boolean)[_0x4d617c(0xe8)]((_0xc73d75,_0x3a6dd3)=>_0x4dd43d[_0x4d617c(0x107)][_0x4d617c(0x119)](_0xc73d75,_0x3a6dd3),null);}function _0x4f2a8a(_0x7de7e4,_0xe79cd1,_0xb88fa6,_0x3dc92f){const _0x50a9a9=_0x1e488b;return _0x4dd43d[_0x50a9a9(0x184)][_0x50a9a9(0xfc)](_0xb88fa6,_0x3dc92f)?null:_0x7de7e4[_0x50a9a9(0x153)](_0xe79cd1,_0xb88fa6,_0x3dc92f);}function _0xf61891(_0x17cde7,_0x114a26,_0x1371f6,_0x307805,_0x3de717){const _0xf07a66=_0x1e488b;let _0x284171=_0x44bbf2(_0x1371f6,_0x307805);return _0x284171?!!_0x17cde7[_0xf07a66(0xf1)](_0x69c527[_0xf07a66(0x17b)]['id'],{'unitId':_0x114a26,'actions':_0x284171,'textRanges':[{'startOffset':_0x3de717,'endOffset':_0x3de717,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x34ad4e=_0x1e488b(0x134),_0xc416b7=_0x1e488b(0x141);let _0x935baf={};function _0x5ae7dd(_0x169ee4,_0x59f32d){return function(_0x498a6d,_0xaad024){_0x59f32d(_0x498a6d,_0xaad024,_0x169ee4);};}function _0x15b4b0(_0x749c9,_0x2a68f7,_0x391ef5,_0x429d17){const _0x1a7603=_0x1e488b;var _0x3efd72=arguments[_0x1a7603(0x161)],_0x5af59d=_0x3efd72<0x3?_0x2a68f7:_0x429d17===null?_0x429d17=Object[_0x1a7603(0x129)](_0x2a68f7,_0x391ef5):_0x429d17,_0x47d24a;if(typeof Reflect=='object'&&typeof Reflect[_0x1a7603(0x165)]==_0x1a7603(0x127))_0x5af59d=Reflect['decorate'](_0x749c9,_0x2a68f7,_0x391ef5,_0x429d17);else{for(var _0x3947a5=_0x749c9['length']-0x1;_0x3947a5>=0x0;_0x3947a5--)(_0x47d24a=_0x749c9[_0x3947a5])&&(_0x5af59d=(_0x3efd72<0x3?_0x47d24a(_0x5af59d):_0x3efd72>0x3?_0x47d24a(_0x2a68f7,_0x391ef5,_0x5af59d):_0x47d24a(_0x2a68f7,_0x391ef5))||_0x5af59d);}return _0x3efd72>0x3&&_0x5af59d&&Object[_0x1a7603(0x19b)](_0x2a68f7,_0x391ef5,_0x5af59d),_0x5af59d;}let _0x28bae4=class extends _0x4dd43d[_0x1e488b(0x146)]{constructor(_0x131812,_0xa04954){const _0x53736f=_0x1e488b;super(),this[_0x53736f(0x105)]=_0x131812,this[_0x53736f(0x16a)]=_0xa04954,this[_0x53736f(0x176)]();}[_0x1e488b(0x176)](){const _0x383dd9=_0x1e488b;this[_0x383dd9(0x149)](this[_0x383dd9(0x105)][_0x383dd9(0x183)]({'pluginName':_0x198161,'businesses':[_0x4dd43d[_0x383dd9(0x11a)][_0x383dd9(0x10f)]],'toJson':_0x2e386f=>JSON[_0x383dd9(0x19a)](this[_0x383dd9(0x16a)][_0x383dd9(0x14d)](_0x2e386f)),'parseJson':_0x1b838e=>_0x469a55(JSON[_0x383dd9(0x152)](_0x1b838e)),'onLoad':(_0x9cbbf6,_0x51132a)=>this[_0x383dd9(0x16a)][_0x383dd9(0x106)](_0x9cbbf6,_0x51132a),'onUnLoad':_0x115ac0=>this['_docsCodeModel'][_0x383dd9(0x14f)](_0x115ac0)}));}};_0x28bae4=_0x15b4b0([_0x5ae7dd(0x0,_0x4dd43d[_0x1e488b(0x19d)]),_0x5ae7dd(0x1,(0x0,_0x4dd43d['Inject'])(_0xdc5ef7))],_0x28bae4);let _0x1d976b=class extends _0x4dd43d[_0x1e488b(0x139)]{constructor(_0x2fdb03=_0x935baf,_0x40e102,_0xe34105,_0x4270da){const _0x1841f8=_0x1e488b;super(),this[_0x1841f8(0x15a)]=_0x2fdb03,this[_0x1841f8(0x191)]=_0x40e102,this[_0x1841f8(0x13a)]=_0xe34105,this[_0x1841f8(0x189)]=_0x4270da;let {..._0x25dd91}=(0x0,_0x4dd43d[_0x1841f8(0x1a0)])({},_0x935baf,this[_0x1841f8(0x15a)]);this[_0x1841f8(0x189)][_0x1841f8(0x144)](_0x1841f8(0x15d),_0x25dd91);}[_0x1e488b(0x157)](){const _0x3f6478=_0x1e488b;this[_0x3f6478(0x191)][_0x3f6478(0xeb)]([_0xdc5ef7]),this['_injector'][_0x3f6478(0xeb)]([_0x28bae4]),this['_injector'][_0x3f6478(0x166)](_0xdc5ef7),this[_0x3f6478(0x191)]['get'](_0x28bae4),[_0x12e87e,_0x5854aa,_0x1cb351,_0x2995a7,_0x3bc18b,_0x26c7c][_0x3f6478(0x18e)](_0x5a31f9=>this[_0x3f6478(0x149)](this[_0x3f6478(0x13a)][_0x3f6478(0xf6)](_0x5a31f9)));}};_0x4f4935(_0x1d976b,_0x1e488b(0x12f),_0x198161),_0x4f4935(_0x1d976b,_0x1e488b(0x16e),_0x34ad4e),_0x4f4935(_0x1d976b,_0x1e488b(0x195),_0xc416b7),_0x4f4935(_0x1d976b,_0x1e488b(0x13b),_0x4dd43d['UniverInstanceType'][_0x1e488b(0x10f)]),_0x1d976b=_0x15b4b0([(0x0,_0x4dd43d[_0x1e488b(0x10b)])(_0x25de4d['UniverLicensePlugin'],_0x69c527[_0x1e488b(0x10e)]),_0x5ae7dd(0x1,(0x0,_0x4dd43d[_0x1e488b(0x140)])(_0x4dd43d[_0x1e488b(0x158)])),_0x5ae7dd(0x2,_0x4dd43d[_0x1e488b(0x138)]),_0x5ae7dd(0x3,_0x4dd43d['IConfigService'])],_0x1d976b),_0x56eaec['DEFAULT_CODE_CONFIG']=_0x5884f7,_0x56eaec[_0x1e488b(0x114)]=_0x4784aa,_0x56eaec['DOCS_CODE_PLUGIN']=_0x198161,_0x56eaec[_0x1e488b(0x180)]=_0x3bc18b,_0x56eaec[_0x1e488b(0x154)]=_0x26c7c,_0x56eaec[_0x1e488b(0x17f)]=_0x2995a7,_0x56eaec[_0x1e488b(0x133)]=_0x5854aa,_0x56eaec[_0x1e488b(0x13f)]=_0x12e87e,_0x56eaec['DocsCodeModel']=_0xdc5ef7,_0x56eaec[_0x1e488b(0xf3)]=_0x1cb351,Object[_0x1e488b(0x19b)](_0x56eaec,_0x1e488b(0x117),{'enumerable':!0x0,'get':function(){return _0x1d976b;}}),_0x56eaec[_0x1e488b(0x11f)]=_0x49a1b3,_0x56eaec['buildExitCodeActions']=_0x348164,_0x56eaec[_0x1e488b(0x108)]=_0x3a347b,_0x56eaec['buildUpdateCodeActions']=_0x44e843,_0x56eaec['findCodeRangeAtOffset']=_0x1ef2e9,_0x56eaec['isCodeBoundaryDelete']=_0x522134,_0x56eaec[_0x1e488b(0x102)]=_0x10fe38;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,16 +61,16 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs/core": "0.25.1",
65
- "@univerjs-pro/license": "0.25.1",
66
- "@univerjs/docs": "0.25.1",
67
- "@univerjs/docs-ui": "0.25.1"
64
+ "@univerjs-pro/license": "0.25.2",
65
+ "@univerjs/core": "0.25.2",
66
+ "@univerjs/docs-ui": "0.25.2",
67
+ "@univerjs/docs": "0.25.2"
68
68
  },
69
69
  "devDependencies": {
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^6.0.3",
72
72
  "vitest": "^4.1.6",
73
- "@univerjs-infra/shared": "0.25.1"
73
+ "@univerjs-infra/shared": "0.25.2"
74
74
  },
75
75
  "scripts": {
76
76
  "test": "vitest run",