@univerjs-pro/docs-code 0.25.1 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -7
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5d8d(){const _0x42e8ab=['get','length','text','body','object','forEach','call','getInstance','getRange','from','compose','previousDocumentData','toPrimitive','syncExecuteCommand','spaceAbove','reduce','change$','nextDocumentData','dataStream','model','nextMetadata','paragraph','next','startIndex','615CfMHDz','cursorOffset','serialize','getText','getTextRanges','filter','deserialize','spaceBelow','generateRandomId','textStyle','2654316TmZdFj','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverDocs','DocSelectionManagerService','getCodes','Subject','join','code','clear','docs-code-','_getBlockRange','paragraphs','map','JSONX','replaceOp','indexOf','every','BLOCK_START','prototype','UniverInstanceType','getUniverDocInstance','unitId','34950dbLMWV','1379174cNDnxz','replace','docs-code.command.insert','docs-code.command.cancel-empty-paragraph','@univerjs/docs-ui/facade','Tools','FDocument','commandService','paragraphStartIndex','BLOCK_END','getDocumentData','some','docs-code.command.exit','customDecorations','rxjs','dispose','Module','getConfig','indentEnd','fromEntries','amd','now','updateConfig','endTokenOffset','sort','16mbnQpB','string','endIndex','symbol','getCodeConfig','diffValue','UniverDocsUiFacade','_change$','defineProperty','min','assign','_resources','delete','@univerjs/core','endOffset','_commandService','find','Document\x20body\x20is\x20required','COMMAND','documentData','blockRanges','slice','metadata','deepClone','includes','toStringTag','getSnapshot','describe','cancelEmptyParagraph','paragraphStyle','function','max','default','210303jLzdna','blockId','tables','codes','customBlocks','asObservable','27024Tgjqea','removeUnit','_setResource','@univerjs/docs-ui','1763832aVTfWU','indentStart','javascript','_runtime','SECTION_BREAK','startOffset','set','DataStreamTreeTokenType','FDocsCode','UniverCore','@univerjs/docs','9289150zEosDs','blockType','CommandType','findCodes','18OKmasd','customRanges','textRuns','sectionBreaks','getUnitId','config','ICommandService','getId'];_0x5d8d=function(){return _0x42e8ab;};return _0x5d8d();}function _0xe374(_0x45391c,_0x52d691){_0x45391c=_0x45391c-0x8f;const _0x5d8db9=_0x5d8d();let _0xe374b2=_0x5d8db9[_0x45391c];return _0xe374b2;}(function(_0x38ba8f,_0x2ac555){const _0x3891cc=_0xe374,_0x350c40=_0x38ba8f();while(!![]){try{const _0x343935=-parseInt(_0x3891cc(0x11a))/0x1+parseInt(_0x3891cc(0x11b))/0x2+-parseInt(_0x3891cc(0x104))/0x3+parseInt(_0x3891cc(0xc7))/0x4*(-parseInt(_0x3891cc(0xfa))/0x5)+-parseInt(_0x3891cc(0xda))/0x6*(-parseInt(_0x3891cc(0xcb))/0x7)+parseInt(_0x3891cc(0xa0))/0x8*(-parseInt(_0x3891cc(0xc1))/0x9)+parseInt(_0x3891cc(0xd6))/0xa;if(_0x343935===_0x2ac555)break;else _0x350c40['push'](_0x350c40['shift']());}catch(_0x46e6fc){_0x350c40['push'](_0x350c40['shift']());}}}(_0x5d8d,0x8cdda),function(_0x37b6b0,_0x2d5a77){const _0x205215=_0xe374;typeof exports=='object'&&typeof module<'u'?_0x2d5a77(exports,require('@univerjs/core'),require('@univerjs/docs-ui/facade'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('rxjs')):typeof define==_0x205215(0xbe)&&define[_0x205215(0x9b)]?define(['exports',_0x205215(0xad),_0x205215(0x11f),_0x205215(0xd5),_0x205215(0xca),_0x205215(0x95)],_0x2d5a77):(_0x37b6b0=typeof globalThis<'u'?globalThis:_0x37b6b0||self,_0x2d5a77(_0x37b6b0['UniverProDocsCodeFacade']={},_0x37b6b0[_0x205215(0xd4)],_0x37b6b0[_0x205215(0xa6)],_0x37b6b0[_0x205215(0x106)],_0x37b6b0['UniverDocsUi'],_0x37b6b0[_0x205215(0x95)]));}(this,function(_0x44d374,_0x431ac1,_0x219e08,_0x378e18,_0x1be97d,_0x3ca085){const _0x7b5c2c=_0xe374;Object[_0x7b5c2c(0xa8)](_0x44d374,Symbol[_0x7b5c2c(0xb9)],{'value':_0x7b5c2c(0x97)});let _0x282176=_0x7b5c2c(0x10b),_0x624673={'language':_0x7b5c2c(0xcd),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0xe71c91(_0x39e02d){return{..._0x624673,..._0x39e02d};}function _0x5da300(_0x3e565d){const _0x5b2755=_0x7b5c2c;var _0x56e14b;let _0x30e3b0=(_0x56e14b=_0x3e565d==null?void 0x0:_0x3e565d[_0x5b2755(0xc4)])==null?{}:_0x56e14b;return{'codes':Object[_0x5b2755(0x9a)](Object['entries'](_0x30e3b0)[_0x5b2755(0x110)](([_0x388f7b,_0x2f3bb1])=>[_0x388f7b,_0xe71c91(_0x2f3bb1)]))};}function _0x33f24f(_0x3b7edc,_0x2e5fd0,_0x30cdd1){const _0xa06711=_0x7b5c2c;let _0x59bcc3=_0x5da300(_0x3b7edc);return _0x59bcc3['codes'][_0x2e5fd0]=_0xe71c91({..._0x59bcc3[_0xa06711(0xc4)][_0x2e5fd0],..._0x30cdd1}),_0x59bcc3;}function _0x1e0bce(_0x529a84,_0x386ede){const _0x38f131=_0x7b5c2c;let _0x373b04=_0x5da300(_0x529a84);return delete _0x373b04[_0x38f131(0xc4)][_0x386ede],_0x373b04;}let _0x1f74c6='monospace';function _0x4c6273(_0x3fc3e6){const _0x49eac6=_0x7b5c2c;var _0x51229b,_0x561589,_0x58a822;let _0x32bca9=_0x569b5a(_0x3fc3e6['documentData']),_0x5c26a5=_0x27dccd(_0x32bca9),_0x4cfcae=_0x4864e7(_0x3fc3e6[_0x49eac6(0xd0)],_0x3fc3e6[_0x49eac6(0xae)]),_0x43c16b=_0x4cfcae?(_0x51229b=_0x5c26a5[_0x49eac6(0xb4)])==null?void 0x0:_0x51229b[_0x49eac6(0xb0)](_0x3657af=>_0x3657af[_0x49eac6(0xf9)]===_0x4cfcae[_0x49eac6(0xd0)]&&_0x3657af[_0x49eac6(0xa2)]+0x1===_0x4cfcae[_0x49eac6(0xae)]):void 0x0,{startOffset:_0x5026c1,endOffset:_0x51b3e7}=_0x43c16b?_0x4cfcae:_0x5c4291(_0x5c26a5,_0x3fc3e6[_0x49eac6(0xd0)],_0x3fc3e6[_0x49eac6(0xae)]),_0x1b777e=_0x291260(_0x5c26a5,_0x5026c1,_0x51b3e7),_0x2f109f=(_0x561589=_0x43c16b==null?void 0x0:_0x43c16b[_0x49eac6(0xc2)])==null?_0x3fc3e6[_0x49eac6(0xc2)]:_0x561589,_0x41efbb=_0x33f24f(_0x3fc3e6[_0x49eac6(0xb6)],_0x2f109f,{..._0x624673,..._0x3fc3e6[_0x49eac6(0xdf)]});if(_0x43c16b)return _0x43c16b[_0x49eac6(0xd7)]=_0x282176,_0x5bc73d(_0x5c26a5,_0x5026c1,_0x51b3e7),_0x1bda46(_0x5c26a5,_0x5026c1,_0x51b3e7,_0x1b777e),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};if(_0x5026c1===_0x51b3e7){let _0x2dda68=''+_0x431ac1[_0x49eac6(0xd2)][_0x49eac6(0x115)]+_0x431ac1[_0x49eac6(0xd2)]['PARAGRAPH']+_0x431ac1['DataStreamTreeTokenType'][_0x49eac6(0x90)];return _0x30977d(_0x5c26a5,_0x5026c1,_0x2dda68,{'paragraphs':[{'startIndex':0x1,'paragraphStyle':_0x28bfe0(!0x0,!0x0,_0x1b777e)}],'blockRanges':[{'blockId':_0x2f109f,'blockType':_0x282176,'startIndex':0x0,'endIndex':_0x2dda68[_0x49eac6(0xe3)]-0x1}]}),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};}return _0x30977d(_0x5c26a5,_0x51b3e7,_0x431ac1[_0x49eac6(0xd2)]['BLOCK_END']),_0x30977d(_0x5c26a5,_0x5026c1,_0x431ac1['DataStreamTreeTokenType'][_0x49eac6(0x115)]),_0x1bda46(_0x5c26a5,_0x5026c1,_0x51b3e7+0x1,_0x1b777e),_0x5c26a5[_0x49eac6(0xb4)]=[...(_0x58a822=_0x5c26a5[_0x49eac6(0xb4)])==null?[]:_0x58a822,{'blockId':_0x2f109f,'blockType':_0x282176,'startIndex':_0x5026c1,'endIndex':_0x51b3e7+0x1}][_0x49eac6(0x9f)]((_0x23723d,_0x164e4a)=>_0x23723d[_0x49eac6(0xf9)]-_0x164e4a[_0x49eac6(0xf9)]),{'nextDocumentData':_0x32bca9,'nextMetadata':_0x41efbb,'cursorOffset':_0x5026c1+0x1};}function _0x5bc73d(_0x442078,_0x2558da,_0x4c5d22){const _0x11797f=_0x7b5c2c;var _0x2f486a;((_0x2f486a=_0x442078['paragraphs'])==null?[]:_0x2f486a)['filter'](_0x3670d8=>_0x3670d8['startIndex']>_0x2558da&&_0x3670d8[_0x11797f(0xf9)]<_0x4c5d22)[_0x11797f(0xe7)](_0x167b71=>{const _0xa8bda=_0x11797f;var _0xe0db93;let _0x42cbe3={...(_0xe0db93=_0x167b71[_0xa8bda(0xbd)])==null?{}:_0xe0db93};delete _0x42cbe3[_0xa8bda(0xf0)],delete _0x42cbe3[_0xa8bda(0x101)],_0x167b71['paragraphStyle']=_0x42cbe3;});}function _0x4864e7(_0x2841e5,_0x590032){const _0x4a3ddf=_0x7b5c2c;return _0x2841e5==null||_0x590032==null||_0x2841e5===_0x590032?null:{'startOffset':Math[_0x4a3ddf(0xa9)](_0x2841e5,_0x590032),'endOffset':Math[_0x4a3ddf(0xbf)](_0x2841e5,_0x590032)};}function _0x490615(_0x4de06e){const _0xbbc9cc=_0x7b5c2c;return{'nextDocumentData':_0x569b5a(_0x4de06e[_0xbbc9cc(0xb3)]),'nextMetadata':_0x33f24f(_0x4de06e[_0xbbc9cc(0xb6)],_0x4de06e[_0xbbc9cc(0xc2)],_0x4de06e[_0xbbc9cc(0xdf)]),'cursorOffset':0x0};}function _0x2387ec(_0x129c99){const _0x4beca6=_0x7b5c2c;var _0xf984eb,_0x5c3d4d;let _0x427d34=_0x569b5a(_0x129c99[_0x4beca6(0xb3)]),_0x1d5c77=_0x27dccd(_0x427d34),_0x43e73b=_0x580889(_0x1d5c77,_0x129c99[_0x4beca6(0xfb)]);if(!_0x43e73b)return null;let _0x5a046f=_0x89ea5a(_0x1d5c77,_0x43e73b),_0xdfe34d=_0x5a046f[_0x5a046f[_0x4beca6(0xe3)]-0x1];if(!_0xdfe34d||!_0x4e6ab6(_0x1d5c77,_0x43e73b,_0xdfe34d)||_0x129c99[_0x4beca6(0xfb)]<_0xdfe34d[_0x4beca6(0xf9)])return null;let _0x26cce8=_0x2a7bc4(_0x1d5c77,_0x43e73b,_0xdfe34d);if(_0x26cce8>=_0x43e73b[_0x4beca6(0xa2)])return null;_0x1d5c77[_0x4beca6(0xf4)]=[_0x1d5c77[_0x4beca6(0xf4)][_0x4beca6(0xb5)](0x0,_0x26cce8),_0x431ac1[_0x4beca6(0xd2)][_0x4beca6(0x90)],_0x1d5c77[_0x4beca6(0xf4)]['slice'](_0x26cce8,_0x43e73b['endIndex']),_0x1d5c77['dataStream']['slice'](_0x43e73b[_0x4beca6(0xa2)]+0x1)][_0x4beca6(0x10a)](''),_0x2c61e7(_0x1d5c77[_0x4beca6(0x10f)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x2c61e7(_0x1d5c77['sectionBreaks'],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x2c61e7(_0x1d5c77[_0x4beca6(0xc5)],_0x26cce8,_0x43e73b['endIndex'],0x1),_0x1add7e(_0x1d5c77[_0x4beca6(0xdc)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0xc3)],_0x26cce8,_0x43e73b['endIndex'],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0xdb)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),_0x47c34d(_0x1d5c77[_0x4beca6(0x94)],_0x26cce8,_0x43e73b[_0x4beca6(0xa2)],0x1),(_0xf984eb=_0x1d5c77[_0x4beca6(0xb4)])==null||_0xf984eb[_0x4beca6(0xe7)](_0xefcc9c=>{const _0x518b82=_0x4beca6;_0xefcc9c===_0x43e73b||_0xefcc9c[_0x518b82(0xc2)]===_0x43e73b[_0x518b82(0xc2)]?_0xefcc9c[_0x518b82(0xa2)]=_0x26cce8:_0xefcc9c[_0x518b82(0xf9)]>=_0x26cce8&&_0xefcc9c[_0x518b82(0xf9)]<_0x43e73b[_0x518b82(0xa2)]&&(_0xefcc9c[_0x518b82(0xf9)]+=0x1,_0xefcc9c[_0x518b82(0xa2)]+=0x1);});let _0x32a514=_0x89ea5a(_0x1d5c77,{..._0x43e73b,'endIndex':_0x26cce8});_0x32a514[_0x4beca6(0xe7)]((_0x367b46,_0x2a4fd8)=>{const _0x1a2a59=_0x4beca6;var _0x33ce3b;_0x367b46[_0x1a2a59(0xbd)]={...(_0x33ce3b=_0x367b46[_0x1a2a59(0xbd)])==null?{}:_0x33ce3b,..._0x28bfe0(_0x2a4fd8===0x0,_0x2a4fd8===_0x32a514['length']-0x1)};});let _0x1f38da=(_0x5c3d4d=_0x1d5c77['paragraphs'])==null?void 0x0:_0x5c3d4d[_0x4beca6(0xb0)](_0x1478ca=>_0x1478ca[_0x4beca6(0xf9)]===_0x26cce8+0x1);return _0x1f38da&&(_0x1f38da[_0x4beca6(0xbd)]=_0x5b7ecf(_0x1f38da[_0x4beca6(0xbd)])),{'nextDocumentData':_0x427d34,'cursorOffset':_0x26cce8+0x1};}function _0x3c5a6c(_0x10ed62){const _0x42069c=_0x7b5c2c;let _0x29ed06=_0x569b5a(_0x10ed62['documentData']),_0x5f4c8c=_0x27dccd(_0x29ed06),_0x4d78d3=_0x580889(_0x5f4c8c,_0x10ed62['cursorOffset']);return _0x4d78d3&&_0x158475(_0x29ed06,_0x5f4c8c,_0x4d78d3,_0x10ed62[_0x42069c(0xfb)],_0x10ed62[_0x42069c(0x8f)])||null;}function _0x158475(_0x5a98ea,_0x455563,_0x4e1bbc,_0x8e1363,_0x4b98d5){const _0x1822b3=_0x7b5c2c;let _0x180caf=_0x4c59fa(_0x455563,_0x4e1bbc,_0x8e1363,_0x4b98d5);if(!_0x180caf)return null;let _0x53559a=_0x180caf[_0x1822b3(0x9e)]-0x1;return _0x37dcaf(_0x455563,_0x180caf[_0x1822b3(0xf7)][_0x1822b3(0xf9)],_0x180caf[_0x1822b3(0xf7)]['startIndex']+0x1),{'nextDocumentData':_0x5a98ea,'cursorOffset':_0x53559a};}function _0x580889(_0x43641f,_0x221378){const _0x3fc500=_0x7b5c2c;var _0x216650;return(_0x216650=_0x43641f[_0x3fc500(0xb4)])==null?void 0x0:_0x216650[_0x3fc500(0xb0)](_0x265868=>{const _0x260e20=_0x3fc500;let _0x18992d=_0x2f6ccd(_0x43641f,_0x265868);return _0x265868[_0x260e20(0xd7)]===_0x260e20(0x10b)&&_0x265868['startIndex']<=_0x221378&&_0x221378<=_0x18992d+0x2;});}function _0x28bfe0(_0x4e1cf3,_0x3eec0f,_0x4ac6bc=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x4e1cf3&&_0x4ac6bc?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x1f74c6,'fs':0xc}};}function _0x1bda46(_0x337f6c,_0x5dd254,_0x1993a7,_0x592aee=!0x1){const _0x48a810=_0x7b5c2c;var _0x39d9d5;let _0x260ea3=((_0x39d9d5=_0x337f6c[_0x48a810(0x10f)])==null?[]:_0x39d9d5)['filter'](_0x4e409a=>_0x4e409a['startIndex']>_0x5dd254&&_0x4e409a[_0x48a810(0xf9)]<_0x1993a7);_0x260ea3[_0x48a810(0xe7)]((_0x19eca7,_0x1f78ed)=>{const _0x55d002=_0x48a810;var _0x26f38e;_0x19eca7['paragraphStyle']={...(_0x26f38e=_0x19eca7[_0x55d002(0xbd)])==null?{}:_0x26f38e,..._0x28bfe0(_0x1f78ed===0x0,_0x1f78ed===_0x260ea3[_0x55d002(0xe3)]-0x1,_0x592aee)};});}function _0x5b7ecf(_0x106c6f){const _0x4fc95a=_0x7b5c2c;var _0x23ffdf,_0x50e852;let _0x1b6d3d={..._0x106c6f==null?{}:_0x106c6f};return delete _0x1b6d3d[_0x4fc95a(0x99)],delete _0x1b6d3d[_0x4fc95a(0xcc)],delete _0x1b6d3d[_0x4fc95a(0xf0)],delete _0x1b6d3d[_0x4fc95a(0x101)],((_0x23ffdf=_0x1b6d3d['textStyle'])==null?void 0x0:_0x23ffdf['ff'])===_0x1f74c6&&((_0x50e852=_0x1b6d3d[_0x4fc95a(0x103)])==null?void 0x0:_0x50e852['fs'])===0xc&&delete _0x1b6d3d[_0x4fc95a(0x103)],_0x1b6d3d;}function _0x89ea5a(_0x1dd078,_0x5029b6){const _0x54c455=_0x7b5c2c;var _0x3ab0c8;let _0x19c6af=_0x2f6ccd(_0x1dd078,_0x5029b6);return((_0x3ab0c8=_0x1dd078[_0x54c455(0x10f)])==null?[]:_0x3ab0c8)['filter'](_0x1ee4e4=>_0x1ee4e4['startIndex']>_0x5029b6['startIndex']&&_0x1ee4e4['startIndex']<_0x19c6af);}function _0x4e6ab6(_0x2d6aef,_0x5947b5,_0x3c1ad5){const _0x170299=_0x7b5c2c;let _0x1ceb12=_0x2a7bc4(_0x2d6aef,_0x5947b5,_0x3c1ad5),_0x29a7bf=_0x2d6aef[_0x170299(0xf4)][_0x170299(0xb5)](_0x1ceb12,_0x3c1ad5[_0x170299(0xf9)]);return Array[_0x170299(0xeb)](_0x29a7bf)[_0x170299(0x114)](_0x211798=>_0x211798===_0x431ac1[_0x170299(0xd2)]['BLOCK_START']||_0x211798===_0x431ac1[_0x170299(0xd2)][_0x170299(0x90)]);}function _0x569b5a(_0x311990){const _0x57a49f=_0x7b5c2c;return _0x431ac1['Tools'][_0x57a49f(0xb7)](_0x311990);}function _0x27dccd(_0x572553){const _0x35482e=_0x7b5c2c;if(!_0x572553[_0x35482e(0xe5)])throw Error(_0x35482e(0xb1));return _0x572553[_0x35482e(0xe5)];}function _0x5c4291(_0x465d8c,_0x2ef549,_0x4925b2){const _0x5b300e=_0x7b5c2c;if(_0x2ef549==null||_0x4925b2==null){let _0x1da9e4=_0x4ff4b6(_0x465d8c);return{'startOffset':_0x1da9e4,'endOffset':_0x1da9e4};}let _0x1e6d2a=Math[_0x5b300e(0xa9)](_0x2ef549,_0x4925b2),_0x2296d2=Math[_0x5b300e(0xbf)](_0x2ef549,_0x4925b2);return _0x1e6d2a===_0x2296d2?{'startOffset':_0x1e6d2a,'endOffset':_0x1e6d2a}:_0x41a556(_0x465d8c,_0x1e6d2a,_0x2296d2);}function _0x4ff4b6(_0x5cbfca){const _0x900a32=_0x7b5c2c;return _0x5cbfca[_0x900a32(0xf4)]['endsWith'](_0x431ac1[_0x900a32(0xd2)][_0x900a32(0xcf)])?Math[_0x900a32(0xbf)](0x0,_0x5cbfca[_0x900a32(0xf4)]['length']-0x1):_0x5cbfca[_0x900a32(0xf4)][_0x900a32(0xe3)];}function _0x291260(_0x205ee9,_0x5a8e92,_0x2268c2){const _0x5ce981=_0x7b5c2c;var _0xee6cf1;let _0x225983=Math[_0x5ce981(0xa9)](_0x5a8e92,_0x2268c2),_0x3988d9=Math['max'](_0x5a8e92,_0x2268c2);return!!((_0xee6cf1=_0x205ee9[_0x5ce981(0xc3)])!=null&&_0xee6cf1[_0x5ce981(0x92)](_0x5384ac=>_0x225983>_0x5384ac[_0x5ce981(0xf9)]&&_0x225983<_0x5384ac[_0x5ce981(0xa2)]||_0x3988d9>_0x5384ac[_0x5ce981(0xf9)]&&_0x3988d9<_0x5384ac[_0x5ce981(0xa2)]||_0x225983<=_0x5384ac[_0x5ce981(0xf9)]&&_0x3988d9>=_0x5384ac[_0x5ce981(0xa2)]));}function _0x41a556(_0x2b2a06,_0x1d1cce,_0x2b4f47){const _0x3a9d66=_0x7b5c2c;var _0x1a1cae,_0x18cbbb;let _0x50ab1c=[...(_0x1a1cae=_0x2b2a06[_0x3a9d66(0x10f)])==null?[]:_0x1a1cae][_0x3a9d66(0x9f)]((_0x573113,_0x168bd3)=>_0x573113['startIndex']-_0x168bd3[_0x3a9d66(0xf9)]),_0x416cb9=_0x50ab1c['find']((_0x13fe76,_0x268231)=>(_0x268231===0x0?0x0:_0x50ab1c[_0x268231-0x1][_0x3a9d66(0xf9)]+0x1)<=_0x1d1cce&&_0x1d1cce<=_0x13fe76[_0x3a9d66(0xf9)]),_0x443a9d=(_0x18cbbb=_0x50ab1c[_0x3a9d66(0xb0)](_0x1ed73e=>_0x1ed73e['startIndex']>=_0x2b4f47-0x1))==null?_0x50ab1c[_0x50ab1c[_0x3a9d66(0xe3)]-0x1]:_0x18cbbb;return{'startOffset':_0x416cb9?_0x3ff899(_0x50ab1c,_0x416cb9):_0x1d1cce,'endOffset':_0x443a9d?_0x443a9d['startIndex']+0x1:_0x2b4f47};}function _0x3ff899(_0x3db912,_0x14f361){const _0x3a10be=_0x7b5c2c;let _0x29358f=_0x3db912[_0x3a10be(0x113)](_0x14f361);return _0x29358f>0x0?_0x3db912[_0x29358f-0x1][_0x3a10be(0xf9)]+0x1:0x0;}function _0x2a7bc4(_0x3d18b5,_0x4d7e52,_0x3eae08){const _0x22590a=_0x7b5c2c;var _0x42ecfb;return Math[_0x22590a(0xbf)](_0x3ff899((_0x42ecfb=_0x3d18b5[_0x22590a(0x10f)])==null?[]:_0x42ecfb,_0x3eae08),_0x4d7e52[_0x22590a(0xf9)]+0x1);}function _0x2f6ccd(_0x2c5c2f,_0x4aa135){const _0x596c05=_0x7b5c2c;return _0x2c5c2f['dataStream'][_0x4aa135[_0x596c05(0xa2)]]===_0x431ac1['DataStreamTreeTokenType'][_0x596c05(0x90)]?_0x4aa135[_0x596c05(0xa2)]:_0x2c5c2f[_0x596c05(0xf4)][_0x4aa135[_0x596c05(0xa2)]+0x1]===_0x431ac1[_0x596c05(0xd2)][_0x596c05(0x90)]?_0x4aa135[_0x596c05(0xa2)]+0x1:_0x4aa135[_0x596c05(0xa2)];}function _0x4c59fa(_0x330582,_0x3955ec,_0x3bb328,_0x5c75ab){const _0x329e57=_0x7b5c2c;var _0x3661b6,_0x3d0c79;let _0x5d6880=_0x2f6ccd(_0x330582,_0x3955ec),_0x81a67b=((_0x3661b6=_0x330582[_0x329e57(0x10f)])==null?[]:_0x3661b6)[_0x329e57(0xb0)](_0x24da3a=>_0x24da3a['startIndex']===_0x5d6880+0x1);if(!_0x81a67b||_0x5c75ab!=null&&_0x81a67b['startIndex']!==_0x5c75ab||_0x3bb328<_0x5d6880||_0x3bb328>_0x81a67b['startIndex']+0x1||_0x330582[_0x329e57(0xf4)][_0x81a67b[_0x329e57(0xf9)]]!==_0x431ac1[_0x329e57(0xd2)]['PARAGRAPH'])return null;let _0x47e0df=_0x3ff899((_0x3d0c79=_0x330582[_0x329e57(0x10f)])==null?[]:_0x3d0c79,_0x81a67b),_0x3833cc=_0x330582[_0x329e57(0xf4)][_0x329e57(0xb5)](_0x47e0df,_0x81a67b[_0x329e57(0xf9)]);return Array['from'](_0x3833cc)[_0x329e57(0x114)](_0x4d0be9=>_0x4d0be9===_0x431ac1[_0x329e57(0xd2)][_0x329e57(0x90)])?{'paragraph':_0x81a67b,'endTokenOffset':_0x5d6880}:null;}function _0x30977d(_0x5b88b0,_0x2e5cfe,_0x42f996,_0x500d94={}){const _0x49dbd3=_0x7b5c2c;var _0x43cd2a,_0x10bbd8;if(_0x42f996){if(_0x5b88b0['dataStream']=''+_0x5b88b0[_0x49dbd3(0xf4)]['slice'](0x0,_0x2e5cfe)+_0x42f996+_0x5b88b0[_0x49dbd3(0xf4)][_0x49dbd3(0xb5)](_0x2e5cfe),_0x1a68f1(_0x5b88b0,_0x2e5cfe,_0x42f996[_0x49dbd3(0xe3)]),(_0x43cd2a=_0x500d94[_0x49dbd3(0x10f)])!=null&&_0x43cd2a[_0x49dbd3(0xe3)]){var _0x13be4b;_0x5b88b0['paragraphs']=[...(_0x13be4b=_0x5b88b0[_0x49dbd3(0x10f)])==null?[]:_0x13be4b,..._0x500d94['paragraphs'][_0x49dbd3(0x110)](_0x55f317=>({..._0x55f317,'startIndex':_0x55f317['startIndex']+_0x2e5cfe}))][_0x49dbd3(0x9f)]((_0x33bdbb,_0x55db3f)=>_0x33bdbb[_0x49dbd3(0xf9)]-_0x55db3f[_0x49dbd3(0xf9)]);}if((_0x10bbd8=_0x500d94[_0x49dbd3(0xb4)])!=null&&_0x10bbd8['length']){var _0x148c2b;_0x5b88b0[_0x49dbd3(0xb4)]=[...(_0x148c2b=_0x5b88b0[_0x49dbd3(0xb4)])==null?[]:_0x148c2b,..._0x500d94[_0x49dbd3(0xb4)][_0x49dbd3(0x110)](_0x1f1292=>({..._0x1f1292,'startIndex':_0x1f1292[_0x49dbd3(0xf9)]+_0x2e5cfe,'endIndex':_0x1f1292[_0x49dbd3(0xa2)]+_0x2e5cfe}))][_0x49dbd3(0x9f)]((_0x3f277f,_0x54e0c6)=>_0x3f277f[_0x49dbd3(0xf9)]-_0x54e0c6[_0x49dbd3(0xf9)]);}}}function _0x37dcaf(_0x2ed34c,_0x3ed65f,_0x312810){const _0x2a07c9=_0x7b5c2c;let _0x4e1fe4=_0x312810-_0x3ed65f;_0x2ed34c[_0x2a07c9(0xf4)]=''+_0x2ed34c[_0x2a07c9(0xf4)]['slice'](0x0,_0x3ed65f)+_0x2ed34c['dataStream'][_0x2a07c9(0xb5)](_0x312810),_0x36b131(_0x2ed34c,_0x3ed65f,_0x4e1fe4);}function _0x1a68f1(_0x1a4151,_0x6313eb,_0x49894a){const _0x2d38b9=_0x7b5c2c;_0x1a4151['paragraphs']=_0x511fd2(_0x1a4151[_0x2d38b9(0x10f)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdd)]=_0x511fd2(_0x1a4151['sectionBreaks'],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xc5)]=_0x511fd2(_0x1a4151[_0x2d38b9(0xc5)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdc)]=_0x4589c0(_0x1a4151[_0x2d38b9(0xdc)],_0x6313eb,_0x49894a),_0x1a4151['tables']=_0x537bc6(_0x1a4151['tables'],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xdb)]=_0x537bc6(_0x1a4151[_0x2d38b9(0xdb)],_0x6313eb,_0x49894a),_0x1a4151['customDecorations']=_0x537bc6(_0x1a4151[_0x2d38b9(0x94)],_0x6313eb,_0x49894a),_0x1a4151[_0x2d38b9(0xb4)]=_0x537bc6(_0x1a4151[_0x2d38b9(0xb4)],_0x6313eb,_0x49894a);}function _0x36b131(_0x29a1df,_0x2d5888,_0x1bde94){const _0x58ed8c=_0x7b5c2c;var _0x28ce09,_0x2ab039;_0x29a1df['paragraphs']=_0x5ba6d6(_0x29a1df['paragraphs'],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdd)]=_0x5ba6d6(_0x29a1df[_0x58ed8c(0xdd)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xc5)]=_0x5ba6d6(_0x29a1df[_0x58ed8c(0xc5)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdc)]=(_0x28ce09=_0xda3dfe((_0x2ab039=_0x29a1df[_0x58ed8c(0xdc)])==null?void 0x0:_0x2ab039[_0x58ed8c(0x110)](_0x158ac8=>({..._0x158ac8,'startIndex':_0x158ac8['st'],'endIndex':_0x158ac8['ed']})),_0x2d5888,_0x1bde94))==null?void 0x0:_0x28ce09[_0x58ed8c(0x110)](_0x5c43e2=>{let {startIndex:_0x3e22ea,endIndex:_0x22eb64,..._0x2dd328}=_0x5c43e2;return{..._0x2dd328,'st':_0x3e22ea,'ed':_0x22eb64};}),_0x29a1df[_0x58ed8c(0xc3)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0xc3)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xdb)]=_0xda3dfe(_0x29a1df['customRanges'],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0x94)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0x94)],_0x2d5888,_0x1bde94),_0x29a1df[_0x58ed8c(0xb4)]=_0xda3dfe(_0x29a1df[_0x58ed8c(0xb4)],_0x2d5888,_0x1bde94);}function _0x511fd2(_0x5084f1,_0x26582e,_0x26f9d4){const _0x202ef9=_0x7b5c2c;return _0x5084f1==null?void 0x0:_0x5084f1['map'](_0x237f6f=>_0x237f6f[_0x202ef9(0xf9)]>=_0x26582e?{..._0x237f6f,'startIndex':_0x237f6f['startIndex']+_0x26f9d4}:_0x237f6f);}function _0x5ba6d6(_0x220f48,_0x2834d7,_0x1fd1af){const _0x2a1d00=_0x7b5c2c;let _0x66f269=_0x2834d7+_0x1fd1af;return _0x220f48==null?void 0x0:_0x220f48['map'](_0x1bc725=>_0x1bc725[_0x2a1d00(0xf9)]>=_0x2834d7&&_0x1bc725['startIndex']<_0x66f269?null:_0x1bc725[_0x2a1d00(0xf9)]>=_0x66f269?{..._0x1bc725,'startIndex':_0x1bc725[_0x2a1d00(0xf9)]-_0x1fd1af}:_0x1bc725)[_0x2a1d00(0xff)](_0x21ebee=>_0x21ebee!=null);}function _0x4589c0(_0x56d583,_0x5610c6,_0x5b294c){const _0x4ed553=_0x7b5c2c;return _0x56d583==null?void 0x0:_0x56d583[_0x4ed553(0x110)](_0x541f8e=>_0x541f8e['st']>=_0x5610c6?{..._0x541f8e,'st':_0x541f8e['st']+_0x5b294c,'ed':_0x541f8e['ed']+_0x5b294c}:_0x541f8e['ed']>_0x5610c6?{..._0x541f8e,'ed':_0x541f8e['ed']+_0x5b294c}:_0x541f8e);}function _0x537bc6(_0x4225c1,_0x2960c9,_0x520c2c){const _0x15ed83=_0x7b5c2c;return _0x4225c1==null?void 0x0:_0x4225c1[_0x15ed83(0x110)](_0x15b798=>_0x15b798[_0x15ed83(0xf9)]>=_0x2960c9?{..._0x15b798,'startIndex':_0x15b798[_0x15ed83(0xf9)]+_0x520c2c,'endIndex':_0x15b798[_0x15ed83(0xa2)]+_0x520c2c}:_0x15b798['endIndex']>=_0x2960c9?{..._0x15b798,'endIndex':_0x15b798[_0x15ed83(0xa2)]+_0x520c2c}:_0x15b798);}function _0xda3dfe(_0x2013db,_0x99246a,_0x1f3eb0){const _0x4f3225=_0x7b5c2c;let _0x4e5b0d=_0x99246a+_0x1f3eb0;return _0x2013db==null?void 0x0:_0x2013db[_0x4f3225(0x110)](_0x266793=>_0x266793[_0x4f3225(0xf9)]>=_0x99246a&&_0x266793[_0x4f3225(0xa2)]<_0x4e5b0d?null:_0x266793[_0x4f3225(0xf9)]>=_0x4e5b0d?{..._0x266793,'startIndex':_0x266793['startIndex']-_0x1f3eb0,'endIndex':_0x266793[_0x4f3225(0xa2)]-_0x1f3eb0}:_0x266793[_0x4f3225(0xa2)]>=_0x99246a?{..._0x266793,'startIndex':_0x266793[_0x4f3225(0xf9)]<_0x99246a?_0x266793[_0x4f3225(0xf9)]:_0x99246a,'endIndex':Math[_0x4f3225(0xbf)](_0x99246a,_0x266793[_0x4f3225(0xa2)]-_0x1f3eb0)}:_0x266793)[_0x4f3225(0xff)](_0x52cc18=>_0x52cc18!=null);}function _0x2c61e7(_0x49778d,_0x2bab89,_0x45c950,_0x4c69da){const _0xa85879=_0x7b5c2c;_0x49778d==null||_0x49778d[_0xa85879(0xe7)](_0x57371b=>{const _0x94d6b6=_0xa85879;_0x57371b[_0x94d6b6(0xf9)]>=_0x2bab89&&_0x57371b[_0x94d6b6(0xf9)]<_0x45c950&&(_0x57371b[_0x94d6b6(0xf9)]+=_0x4c69da);});}function _0x1add7e(_0x2d3dc2,_0x3b76da,_0x39ed0e,_0x285587){const _0x314c92=_0x7b5c2c;_0x2d3dc2==null||_0x2d3dc2[_0x314c92(0xe7)](_0x3571f4=>{_0x3571f4['st']>=_0x3b76da&&_0x3571f4['st']<_0x39ed0e?(_0x3571f4['st']+=_0x285587,_0x3571f4['ed']+=_0x285587):_0x3571f4['ed']>_0x3b76da&&_0x3571f4['ed']<_0x39ed0e&&(_0x3571f4['ed']+=_0x285587);});}function _0x47c34d(_0x5513aa,_0x2db617,_0x20515e,_0x20e7a5){_0x5513aa==null||_0x5513aa['forEach'](_0x40bd21=>{const _0x26b935=_0xe374;_0x40bd21['startIndex']>=_0x2db617&&_0x40bd21[_0x26b935(0xf9)]<_0x20515e?(_0x40bd21[_0x26b935(0xf9)]+=_0x20e7a5,_0x40bd21[_0x26b935(0xa2)]+=_0x20e7a5):_0x40bd21[_0x26b935(0xa2)]>_0x2db617&&_0x40bd21['endIndex']<_0x20515e&&(_0x40bd21['endIndex']+=_0x20e7a5);});}function _0x352909(_0x433e10){'@babel/helpers - typeof';return _0x352909=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x21f110){return typeof _0x21f110;}:function(_0x503586){const _0xe45652=_0xe374;return _0x503586&&typeof Symbol==_0xe45652(0xbe)&&_0x503586['constructor']===Symbol&&_0x503586!==Symbol[_0xe45652(0x116)]?_0xe45652(0xa3):typeof _0x503586;},_0x352909(_0x433e10);}function _0x2b6f63(_0x4b5bce,_0x3822e3){const _0x44b7f0=_0x7b5c2c;if(_0x352909(_0x4b5bce)!=_0x44b7f0(0xe6)||!_0x4b5bce)return _0x4b5bce;var _0x4ecab7=_0x4b5bce[Symbol[_0x44b7f0(0xee)]];if(_0x4ecab7!==void 0x0){var _0x3d9444=_0x4ecab7[_0x44b7f0(0xe8)](_0x4b5bce,_0x3822e3||_0x44b7f0(0xc0));if(_0x352909(_0x3d9444)!='object')return _0x3d9444;throw TypeError(_0x44b7f0(0x105));}return(_0x3822e3===_0x44b7f0(0xa1)?String:Number)(_0x4b5bce);}function _0x1a386f(_0x2769ad){const _0x115c80=_0x7b5c2c;var _0x145591=_0x2b6f63(_0x2769ad,_0x115c80(0xa1));return _0x352909(_0x145591)==_0x115c80(0xa3)?_0x145591:_0x145591+'';}function _0x57ce78(_0x776edd,_0x3968e4,_0x20044c){const _0x3852be=_0x7b5c2c;return(_0x3968e4=_0x1a386f(_0x3968e4))in _0x776edd?Object[_0x3852be(0xa8)](_0x776edd,_0x3968e4,{'value':_0x20044c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x776edd[_0x3968e4]=_0x20044c,_0x776edd;}var _0x37eff3=class extends _0x431ac1['Disposable']{constructor(..._0x111eea){const _0x56e907=_0x7b5c2c;super(..._0x111eea),_0x57ce78(this,_0x56e907(0xab),new Map()),_0x57ce78(this,_0x56e907(0xa7),new _0x3ca085[(_0x56e907(0x109))]()),_0x57ce78(this,_0x56e907(0xf2),this['_change$'][_0x56e907(0xc6)]());}[_0x7b5c2c(0xa4)](_0x7f1268,_0x5d6272){const _0x5f4ba7=_0x7b5c2c;return _0x5da300(this[_0x5f4ba7(0xab)][_0x5f4ba7(0xe2)](_0x7f1268))[_0x5f4ba7(0xc4)][_0x5d6272];}['setCodeConfig'](_0x441ea1,_0x14555f,_0x49d209){const _0x40864c=_0x7b5c2c;this[_0x40864c(0xc9)](_0x441ea1,_0x14555f,_0x33f24f(this[_0x40864c(0xab)][_0x40864c(0xe2)](_0x441ea1),_0x14555f,_0x49d209));}['removeCode'](_0x1eef0d,_0x425d96){const _0xa55ff0=_0x7b5c2c;this[_0xa55ff0(0xc9)](_0x1eef0d,_0x425d96,_0x1e0bce(this[_0xa55ff0(0xab)]['get'](_0x1eef0d),_0x425d96));}[_0x7b5c2c(0xfc)](_0x29fa8a){const _0x537759=_0x7b5c2c;return _0x5da300(this['_resources'][_0x537759(0xe2)](_0x29fa8a));}[_0x7b5c2c(0x100)](_0x5a3994,_0x5cccb1){const _0x44d99e=_0x7b5c2c;this[_0x44d99e(0xab)][_0x44d99e(0xd1)](_0x5a3994,_0x5da300(_0x5cccb1)),this[_0x44d99e(0xa7)][_0x44d99e(0xf8)]({'unitId':_0x5a3994});}[_0x7b5c2c(0xc8)](_0xdf6ce9){const _0x141599=_0x7b5c2c;this[_0x141599(0xab)][_0x141599(0xac)](_0xdf6ce9),this['_change$'][_0x141599(0xf8)]({'unitId':_0xdf6ce9});}[_0x7b5c2c(0x96)](){const _0xf98a28=_0x7b5c2c;super[_0xf98a28(0x96)](),this['_resources'][_0xf98a28(0x10c)](),this[_0xf98a28(0xa7)]['complete']();}[_0x7b5c2c(0xc9)](_0x3d2305,_0x3642db,_0x125894){const _0x221baa=_0x7b5c2c;this[_0x221baa(0xab)][_0x221baa(0xd1)](_0x3d2305,_0x125894),this[_0x221baa(0xa7)][_0x221baa(0xf8)]({'unitId':_0x3d2305,'blockId':_0x3642db});}};_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],_0x431ac1[_0x7b5c2c(0xd8)]['COMMAND'];let _0xa75296={'id':_0x7b5c2c(0x11d),'type':_0x431ac1['CommandType'][_0x7b5c2c(0xb2)],'handler':(_0x8af041,_0x25c212)=>{const _0x15c0a0=_0x7b5c2c;var _0x39da3b,_0x57b301,_0x5e8b75;let _0x273724=_0x1493ec(_0x8af041,_0x25c212==null?void 0x0:_0x25c212[_0x15c0a0(0x119)]);if(!_0x273724)return!0x1;let _0x483c38=_0x1d8dc1(_0x8af041),_0x20483e=_0x4c6273({'blockId':(_0x39da3b=_0x25c212==null?void 0x0:_0x25c212[_0x15c0a0(0xc2)])==null?(0x0,_0x431ac1[_0x15c0a0(0x102)])(0x6):_0x39da3b,'config':_0x25c212==null?void 0x0:_0x25c212['config'],'documentData':_0x273724[_0x15c0a0(0xed)],'endOffset':(_0x57b301=_0x25c212==null?void 0x0:_0x25c212['endOffset'])==null?_0x483c38==null?void 0x0:_0x483c38[_0x15c0a0(0xae)]:_0x57b301,'metadata':_0x273724[_0x15c0a0(0xf5)][_0x15c0a0(0xfc)](_0x273724[_0x15c0a0(0x119)]),'startOffset':(_0x5e8b75=_0x25c212==null?void 0x0:_0x25c212['startOffset'])==null?_0x483c38==null?void 0x0:_0x483c38[_0x15c0a0(0xd0)]:_0x5e8b75}),_0x3b4615=_0x14e91d(_0x273724['commandService'],_0x273724[_0x15c0a0(0x119)],_0x273724[_0x15c0a0(0xed)],_0x20483e[_0x15c0a0(0xf3)],_0x20483e[_0x15c0a0(0xfb)]);return _0x3b4615&&_0x20483e[_0x15c0a0(0xf6)]&&_0x273724['model']['deserialize'](_0x273724[_0x15c0a0(0x119)],_0x20483e[_0x15c0a0(0xf6)]),_0x3b4615;}},_0x572273={'id':'docs-code.command.update','type':_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],'handler':(_0xea335a,_0x2c65e9)=>{const _0x21e1bd=_0x7b5c2c;if(!_0x2c65e9)return!0x1;let _0x35bdbd=_0x1493ec(_0xea335a,_0x2c65e9['unitId']);if(!_0x35bdbd)return!0x1;let _0x8e0bd2=_0x490615({'blockId':_0x2c65e9[_0x21e1bd(0xc2)],'config':_0x2c65e9['config'],'documentData':_0x35bdbd[_0x21e1bd(0xed)],'metadata':_0x35bdbd[_0x21e1bd(0xf5)][_0x21e1bd(0xfc)](_0x35bdbd['unitId'])});return _0x8e0bd2[_0x21e1bd(0xf6)]&&_0x35bdbd[_0x21e1bd(0xf5)][_0x21e1bd(0x100)](_0x35bdbd[_0x21e1bd(0x119)],_0x8e0bd2['nextMetadata']),!0x0;}},_0x429f0a={'id':_0x7b5c2c(0x93),'type':_0x431ac1[_0x7b5c2c(0xd8)][_0x7b5c2c(0xb2)],'handler':(_0x24f010,_0x3049d6)=>{const _0x491e14=_0x7b5c2c;var _0xe5838,_0x447f35;let _0x5a7eab=_0x1493ec(_0x24f010,_0x3049d6==null?void 0x0:_0x3049d6['unitId']);if(!_0x5a7eab)return!0x1;let _0x3bc765=(_0xe5838=_0x3049d6==null?void 0x0:_0x3049d6[_0x491e14(0xfb)])==null?(_0x447f35=_0x1d8dc1(_0x24f010))==null?void 0x0:_0x447f35[_0x491e14(0xd0)]:_0xe5838;if(_0x3bc765==null)return!0x1;let _0x4329fb=_0x2387ec({'cursorOffset':_0x3bc765,'documentData':_0x5a7eab[_0x491e14(0xed)]});return _0x4329fb?_0x14e91d(_0x5a7eab['commandService'],_0x5a7eab[_0x491e14(0x119)],_0x5a7eab[_0x491e14(0xed)],_0x4329fb[_0x491e14(0xf3)],_0x4329fb[_0x491e14(0xfb)]):!0x1;}},_0x18928f={'id':_0x7b5c2c(0x11e),'type':_0x431ac1['CommandType'][_0x7b5c2c(0xb2)],'handler':(_0x3e1399,_0x1f29e3)=>{const _0x4af502=_0x7b5c2c;var _0x115726,_0x4ce43d;let _0x431581=_0x1493ec(_0x3e1399,_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0x119)]);if(!_0x431581)return!0x1;let _0x21dcf1=(_0x115726=_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0xfb)])==null?(_0x4ce43d=_0x1d8dc1(_0x3e1399))==null?void 0x0:_0x4ce43d[_0x4af502(0xd0)]:_0x115726;if(_0x21dcf1==null)return!0x1;let _0x4a0f80=_0x3c5a6c({'cursorOffset':_0x21dcf1,'documentData':_0x431581[_0x4af502(0xed)],'paragraphStartIndex':_0x1f29e3==null?void 0x0:_0x1f29e3[_0x4af502(0x8f)]});return _0x4a0f80?_0x14e91d(_0x431581['commandService'],_0x431581[_0x4af502(0x119)],_0x431581['previousDocumentData'],_0x4a0f80[_0x4af502(0xf3)],_0x4a0f80['cursorOffset']):!0x1;}};function _0x1493ec(_0x4a57f5,_0x4e644d){const _0x23b13a=_0x7b5c2c;let _0x3a39fc=_0x4a57f5[_0x23b13a(0xe2)](_0x431ac1['IUniverInstanceService']),_0x36e4b6=_0x4e644d?_0x3a39fc[_0x23b13a(0x118)](_0x4e644d):_0x3a39fc['getCurrentUnitOfType'](_0x431ac1[_0x23b13a(0x117)]['UNIVER_DOC']);return _0x36e4b6?{'commandService':_0x4a57f5[_0x23b13a(0xe2)](_0x431ac1[_0x23b13a(0xe0)]),'model':_0x4a57f5[_0x23b13a(0xe2)](_0x37eff3),'previousDocumentData':_0x36e4b6[_0x23b13a(0xba)](),'unitId':_0x36e4b6[_0x23b13a(0xde)]()}:null;}function _0x1d8dc1(_0xf34ffa){const _0x403dd2=_0x7b5c2c;var _0x33bef4;return(_0x33bef4=_0xf34ffa[_0x403dd2(0xe2)](_0x378e18[_0x403dd2(0x107)])[_0x403dd2(0xfe)]())==null?void 0x0:_0x33bef4[0x0];}function _0x283303(_0x59a33e,_0x3690dd){const _0x5f27c9=_0x7b5c2c;var _0x1c7610,_0xc19c8f,_0x170dc2,_0x2a1055,_0x1da183,_0x3cf7dd,_0x4d9879,_0x55d4a6,_0x496938,_0x34de3b,_0x457708,_0x4e7cb0,_0x4ddf47,_0x1dbfaf,_0x10fbe7,_0x4967a3,_0x7639bc,_0x892296;let _0x5b365d=_0x431ac1[_0x5f27c9(0x111)][_0x5f27c9(0xe9)]();return[_0x27f077(_0x5b365d,['body','dataStream'],(_0x1c7610=_0x59a33e['body'])==null?void 0x0:_0x1c7610[_0x5f27c9(0xf4)],(_0xc19c8f=_0x3690dd['body'])==null?void 0x0:_0xc19c8f['dataStream']),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'paragraphs'],(_0x170dc2=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x170dc2['paragraphs'],(_0x2a1055=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x2a1055['paragraphs']),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xdd)],(_0x1da183=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x1da183[_0x5f27c9(0xdd)],(_0x3cf7dd=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x3cf7dd[_0x5f27c9(0xdd)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xdc)],(_0x4d9879=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x4d9879[_0x5f27c9(0xdc)],(_0x55d4a6=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x55d4a6[_0x5f27c9(0xdc)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),_0x5f27c9(0xc5)],(_0x496938=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x496938[_0x5f27c9(0xc5)],(_0x34de3b=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x34de3b[_0x5f27c9(0xc5)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'customRanges'],(_0x457708=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x457708[_0x5f27c9(0xdb)],(_0x4e7cb0=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x4e7cb0[_0x5f27c9(0xdb)]),_0x27f077(_0x5b365d,['body',_0x5f27c9(0x94)],(_0x4ddf47=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x4ddf47['customDecorations'],(_0x1dbfaf=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x1dbfaf[_0x5f27c9(0x94)]),_0x27f077(_0x5b365d,[_0x5f27c9(0xe5),'tables'],(_0x10fbe7=_0x59a33e[_0x5f27c9(0xe5)])==null?void 0x0:_0x10fbe7[_0x5f27c9(0xc3)],(_0x4967a3=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x4967a3[_0x5f27c9(0xc3)]),_0x27f077(_0x5b365d,['body',_0x5f27c9(0xb4)],(_0x7639bc=_0x59a33e['body'])==null?void 0x0:_0x7639bc['blockRanges'],(_0x892296=_0x3690dd[_0x5f27c9(0xe5)])==null?void 0x0:_0x892296[_0x5f27c9(0xb4)])][_0x5f27c9(0xff)](Boolean)[_0x5f27c9(0xf1)]((_0x2ff8b7,_0x41e785)=>_0x431ac1[_0x5f27c9(0x111)][_0x5f27c9(0xec)](_0x2ff8b7,_0x41e785),null);}function _0x27f077(_0x8991c,_0x34c4b3,_0x2b0ae7,_0xd9f6f){const _0x3944af=_0x7b5c2c;return _0x431ac1[_0x3944af(0x120)][_0x3944af(0xa5)](_0x2b0ae7,_0xd9f6f)?null:_0x8991c[_0x3944af(0x112)](_0x34c4b3,_0x2b0ae7,_0xd9f6f);}function _0x14e91d(_0x2a4f19,_0x494272,_0x4fc767,_0x2a863b,_0x555eec){const _0x4c4630=_0x7b5c2c;let _0x18f767=_0x283303(_0x4fc767,_0x2a863b);return _0x18f767?!!_0x2a4f19[_0x4c4630(0xef)](_0x378e18['RichTextEditingMutation']['id'],{'unitId':_0x494272,'actions':_0x18f767,'textRanges':[{'startOffset':_0x555eec,'endOffset':_0x555eec,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}var _0x26408=class{constructor(_0x53fc14){const _0x35408b=_0x7b5c2c;this[_0x35408b(0xce)]=_0x53fc14;}[_0x7b5c2c(0xe1)](){const _0x34d6d3=_0x7b5c2c;return this[_0x34d6d3(0xce)][_0x34d6d3(0xc2)];}[_0x7b5c2c(0xea)](){const _0x591abc=_0x7b5c2c;let _0x58d1fa=this[_0x591abc(0x10e)]();return _0x58d1fa?{'blockId':_0x58d1fa[_0x591abc(0xc2)],'endIndex':_0x58d1fa[_0x591abc(0xa2)],'startIndex':_0x58d1fa[_0x591abc(0xf9)]}:null;}['getText'](){const _0x2ddf3a=_0x7b5c2c;var _0xff4b8e;let _0x22bd03=this['_getBlockRange'](),_0x35b83d=(_0xff4b8e=this[_0x2ddf3a(0xce)]['getDocumentData']()[_0x2ddf3a(0xe5)])==null?void 0x0:_0xff4b8e[_0x2ddf3a(0xf4)];return!_0x22bd03||!_0x35b83d?'':_0x1ab760(_0x35b83d[_0x2ddf3a(0xb5)](_0x22bd03[_0x2ddf3a(0xf9)]+0x1,_0x22bd03[_0x2ddf3a(0xa2)]));}[_0x7b5c2c(0xbb)](){const _0x3a792e=_0x7b5c2c;let _0x39a9b0=this['getRange']();return _0x39a9b0?{..._0x39a9b0,'config':this[_0x3a792e(0x98)](),'text':this[_0x3a792e(0xfd)](),'type':_0x3a792e(0x10b)}:null;}['getConfig'](){const _0x58e705=_0x7b5c2c;var _0x36250d;return _0xe71c91((_0x36250d=this[_0x58e705(0xce)]['model'])==null?void 0x0:_0x36250d['getCodeConfig'](this[_0x58e705(0xce)][_0x58e705(0x119)],this[_0x58e705(0xce)][_0x58e705(0xc2)]));}[_0x7b5c2c(0x9d)](_0x4f3b8f){const _0x2aa809=_0x7b5c2c;var _0x1c8fa7;return!!((_0x1c8fa7=this[_0x2aa809(0xce)][_0x2aa809(0x122)])!=null&&_0x1c8fa7[_0x2aa809(0xef)](_0x572273['id'],{'blockId':this[_0x2aa809(0xce)]['blockId'],'config':_0x4f3b8f[_0x2aa809(0xdf)],'unitId':this[_0x2aa809(0xce)][_0x2aa809(0x119)]}));}['exit'](_0x2547fc){const _0x214cfd=_0x7b5c2c;var _0x3ee1bc;return!!((_0x3ee1bc=this[_0x214cfd(0xce)][_0x214cfd(0x122)])!=null&&_0x3ee1bc[_0x214cfd(0xef)](_0x429f0a['id'],{'cursorOffset':_0x2547fc,'unitId':this[_0x214cfd(0xce)][_0x214cfd(0x119)]}));}[_0x7b5c2c(0xbc)](_0x53c7c8={}){const _0x37b1a0=_0x7b5c2c;var _0x2ab6a3;return!!((_0x2ab6a3=this[_0x37b1a0(0xce)][_0x37b1a0(0x122)])!=null&&_0x2ab6a3[_0x37b1a0(0xef)](_0x18928f['id'],{..._0x53c7c8,'unitId':this[_0x37b1a0(0xce)][_0x37b1a0(0x119)]}));}[_0x7b5c2c(0x10e)](){const _0x18063f=_0x7b5c2c;var _0x406fe9;return(_0x406fe9=this['_runtime'][_0x18063f(0x91)]()[_0x18063f(0xe5)])==null||(_0x406fe9=_0x406fe9['blockRanges'])==null?void 0x0:_0x406fe9[_0x18063f(0xb0)](_0x2dd78c=>_0x2dd78c['blockId']===this['_runtime'][_0x18063f(0xc2)]&&_0x2dd78c[_0x18063f(0xd7)]==='code');}};function _0x1ab760(_0x5e3e74){const _0x560603=_0x7b5c2c;return Array[_0x560603(0xeb)](_0x5e3e74)[_0x560603(0x110)](_0x26ef0b=>_0x26ef0b===_0x431ac1[_0x560603(0xd2)]['PARAGRAPH']?'\x0a':_0x26ef0b)['filter'](_0x45f5a8=>_0x45f5a8!==_0x431ac1[_0x560603(0xd2)]['BLOCK_START']&&_0x45f5a8!==_0x431ac1[_0x560603(0xd2)][_0x560603(0x90)]&&_0x45f5a8!==_0x431ac1[_0x560603(0xd2)]['SECTION_BREAK'])[_0x560603(0x10a)]('')[_0x560603(0x11c)](/\n$/,'');}Object[_0x7b5c2c(0xaa)](_0x219e08[_0x7b5c2c(0x121)][_0x7b5c2c(0x116)],{'getCodes'(){const _0x2d8909=_0x7b5c2c;var _0x5e57da,_0x5ac982;return(_0x5e57da=(_0x5ac982=this[_0x2d8909(0xba)]()[_0x2d8909(0xe5)])==null||(_0x5ac982=_0x5ac982[_0x2d8909(0xb4)])==null?void 0x0:_0x5ac982[_0x2d8909(0xff)](_0x23ee2b=>_0x23ee2b['blockType']===_0x2d8909(0x10b))[_0x2d8909(0x110)](_0x3b6449=>_0x49d969(this,_0x3b6449[_0x2d8909(0xc2)])))==null?[]:_0x5e57da;},'getCode'(_0x36d019){const _0x3b4e5d=_0x7b5c2c;var _0x222059;return!((_0x222059=this['getSnapshot']()[_0x3b4e5d(0xe5)])==null||(_0x222059=_0x222059[_0x3b4e5d(0xb4)])==null)&&_0x222059[_0x3b4e5d(0x92)](_0x50cbeb=>_0x50cbeb[_0x3b4e5d(0xc2)]===_0x36d019&&_0x50cbeb[_0x3b4e5d(0xd7)]===_0x3b4e5d(0x10b))?_0x49d969(this,_0x36d019):null;},'getCodeAt'(_0x30411e){const _0x17af56=_0x7b5c2c;var _0x10d0fc;let _0x4f4d89=(_0x10d0fc=this[_0x17af56(0xba)]()[_0x17af56(0xe5)])==null||(_0x10d0fc=_0x10d0fc[_0x17af56(0xb4)])==null||(_0x10d0fc=_0x10d0fc[_0x17af56(0xb0)](_0x5aeda3=>_0x5aeda3[_0x17af56(0xd7)]===_0x17af56(0x10b)&&_0x5aeda3[_0x17af56(0xf9)]<=_0x30411e&&_0x30411e<=_0x5aeda3[_0x17af56(0xa2)]))==null?void 0x0:_0x10d0fc[_0x17af56(0xc2)];return _0x4f4d89?_0x49d969(this,_0x4f4d89):null;},'findCodeByText'(_0x1d9d94){const _0x146994=_0x7b5c2c;var _0x37a8b0;return(_0x37a8b0=this[_0x146994(0xd9)](_0x1d9d94)[0x0])==null?null:_0x37a8b0;},'findCodes'(_0x4440ed){const _0x3a4a68=_0x7b5c2c;let _0x30f94a=typeof _0x4440ed==_0x3a4a68(0xa1)?{'text':_0x4440ed}:_0x4440ed;return this[_0x3a4a68(0x108)]()[_0x3a4a68(0xff)](_0x4d48f0=>!(_0x30f94a[_0x3a4a68(0xc2)]&&_0x4d48f0['getId']()!==_0x30f94a[_0x3a4a68(0xc2)]||_0x30f94a[_0x3a4a68(0xe4)]&&!_0x4d48f0[_0x3a4a68(0xfd)]()[_0x3a4a68(0xb8)](_0x30f94a['text'])));},'insertCode'(_0x4ec40d={}){const _0x5580f1=_0x7b5c2c;var _0x18784a,_0x3d6758;let _0x2fad86=(_0x18784a=_0x4ec40d[_0x5580f1(0xc2)])==null?_0x5580f1(0x10d)+Date[_0x5580f1(0x9c)]():_0x18784a;return(_0x3d6758=_0x5818b7(this))!=null&&_0x3d6758[_0x5580f1(0xef)](_0xa75296['id'],{..._0x4ec40d,'blockId':_0x2fad86,'unitId':this['getId']()})?_0x49d969(this,_0x2fad86):null;},'exitCode'(_0x2fcae7){const _0x2d18e8=_0x7b5c2c;var _0x578dd0;return!!((_0x578dd0=_0x5818b7(this))!=null&&_0x578dd0[_0x2d18e8(0xef)](_0x429f0a['id'],{'cursorOffset':_0x2fcae7,'unitId':this[_0x2d18e8(0xe1)]()}));},'cancelEmptyCodeParagraph'(_0x46cb4a={}){const _0x198336=_0x7b5c2c;var _0x42b7c9;return!!((_0x42b7c9=_0x5818b7(this))!=null&&_0x42b7c9['syncExecuteCommand'](_0x18928f['id'],{..._0x46cb4a,'unitId':this[_0x198336(0xe1)]()}));}});function _0x49d969(_0x51f4a3,_0x3c07aa){const _0x3a24ad=_0x7b5c2c;let _0x3ed24b=_0x46f1ee(_0x51f4a3);return new _0x26408({'blockId':_0x3c07aa,'commandService':_0x5818b7(_0x51f4a3),'getDocumentData':()=>_0x51f4a3[_0x3a24ad(0xba)](),'model':_0x3ed24b==null?void 0x0:_0x3ed24b[_0x3a24ad(0xe2)](_0x37eff3),'unitId':_0x51f4a3[_0x3a24ad(0xe1)]()});}function _0x5818b7(_0x246b0d){const _0x194ff2=_0x7b5c2c;var _0x51437e,_0x4d2476;return(_0x51437e=_0x246b0d[_0x194ff2(0xaf)])==null?(_0x4d2476=_0x46f1ee(_0x246b0d))==null?void 0x0:_0x4d2476['get'](_0x431ac1['ICommandService']):_0x51437e;}function _0x46f1ee(_0x5cd5dc){return _0x5cd5dc['_injector'];}_0x44d374[_0x7b5c2c(0xd3)]=_0x26408;}));
|
|
1
|
+
(function(_0x2fc9b3,_0x51ecee){var _0x49d87e=_0x261f,_0x5a9b9e=_0x2fc9b3();while(!![]){try{var _0x30c347=parseInt(_0x49d87e(0xce))/0x1*(parseInt(_0x49d87e(0xf5))/0x2)+-parseInt(_0x49d87e(0x109))/0x3*(-parseInt(_0x49d87e(0xd6))/0x4)+-parseInt(_0x49d87e(0xeb))/0x5*(-parseInt(_0x49d87e(0x108))/0x6)+parseInt(_0x49d87e(0x11c))/0x7+parseInt(_0x49d87e(0x100))/0x8+parseInt(_0x49d87e(0xe0))/0x9+-parseInt(_0x49d87e(0xd5))/0xa;if(_0x30c347===_0x51ecee)break;else _0x5a9b9e['push'](_0x5a9b9e['shift']());}catch(_0x544251){_0x5a9b9e['push'](_0x5a9b9e['shift']());}}}(_0x401d,0xa34f9),function(_0x2bf6fd,_0x162804){var _0xaa1e24=_0x261f;typeof exports=='object'&&typeof module<'u'?_0x162804(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0xaa1e24(0xd7)&&define[_0xaa1e24(0x113)]?define([_0xaa1e24(0xe1),_0xaa1e24(0xd9),'@univerjs/core','@univerjs/docs/facade'],_0x162804):(_0x2bf6fd=typeof globalThis<'u'?globalThis:_0x2bf6fd||self,_0x162804(_0x2bf6fd[_0xaa1e24(0x110)]={},_0x2bf6fd['UniverProDocsCode'],_0x2bf6fd[_0xaa1e24(0x105)],_0x2bf6fd[_0xaa1e24(0xea)]));}(this,function(_0x332042,_0xd2c11,_0xeebcc9,_0x10dfdf){var _0x3f7d9c=_0x261f;Object[_0x3f7d9c(0x119)](_0x332042,Symbol[_0x3f7d9c(0xf4)],{'value':_0x3f7d9c(0x103)});function _0x42f57b(_0x26c034){'@babel/helpers - typeof';var _0x3eb260=_0x3f7d9c;return _0x42f57b=typeof Symbol==_0x3eb260(0xd7)&&typeof Symbol['iterator']==_0x3eb260(0xf2)?function(_0x5c26db){return typeof _0x5c26db;}:function(_0x4c9c45){var _0x1ba7f1=_0x3eb260;return _0x4c9c45&&typeof Symbol==_0x1ba7f1(0xd7)&&_0x4c9c45[_0x1ba7f1(0xd4)]===Symbol&&_0x4c9c45!==Symbol[_0x1ba7f1(0x118)]?_0x1ba7f1(0xf2):typeof _0x4c9c45;},_0x42f57b(_0x26c034);}function _0x151441(_0x537ad1,_0x511c4d){var _0x5e6a22=_0x3f7d9c;if(_0x42f57b(_0x537ad1)!=_0x5e6a22(0xec)||!_0x537ad1)return _0x537ad1;var _0x5ac59c=_0x537ad1[Symbol[_0x5e6a22(0xee)]];if(_0x5ac59c!==void 0x0){var _0x3742ec=_0x5ac59c[_0x5e6a22(0xe7)](_0x537ad1,_0x511c4d||_0x5e6a22(0xe4));if(_0x42f57b(_0x3742ec)!=_0x5e6a22(0xec))return _0x3742ec;throw TypeError(_0x5e6a22(0xcb));}return(_0x511c4d===_0x5e6a22(0x10f)?String:Number)(_0x537ad1);}function _0x646ca4(_0x1fc35e){var _0x4e9529=_0x3f7d9c,_0x78682a=_0x151441(_0x1fc35e,_0x4e9529(0x10f));return _0x42f57b(_0x78682a)==_0x4e9529(0xf2)?_0x78682a:_0x78682a+'';}function _0x493317(_0x1ac5f9,_0x2b2250,_0x4dbcd9){var _0xc9c690=_0x3f7d9c;return(_0x2b2250=_0x646ca4(_0x2b2250))in _0x1ac5f9?Object[_0xc9c690(0x119)](_0x1ac5f9,_0x2b2250,{'value':_0x4dbcd9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ac5f9[_0x2b2250]=_0x4dbcd9,_0x1ac5f9;}function _0xe18890(_0x5545ad,_0x5ac693){return function(_0x4d3524,_0x133a7b){_0x5ac693(_0x4d3524,_0x133a7b,_0x5545ad);};}function _0x27454e(_0x20c443,_0x5331be,_0x331b61,_0xca4dd2){var _0x134248=_0x3f7d9c,_0x3ec866=arguments['length'],_0x43c383=_0x3ec866<0x3?_0x5331be:_0xca4dd2===null?_0xca4dd2=Object[_0x134248(0xd8)](_0x5331be,_0x331b61):_0xca4dd2,_0x223dca;if(typeof Reflect==_0x134248(0xec)&&typeof Reflect[_0x134248(0xe2)]==_0x134248(0xd7))_0x43c383=Reflect[_0x134248(0xe2)](_0x20c443,_0x5331be,_0x331b61,_0xca4dd2);else{for(var _0x428b6b=_0x20c443[_0x134248(0x10c)]-0x1;_0x428b6b>=0x0;_0x428b6b--)(_0x223dca=_0x20c443[_0x428b6b])&&(_0x43c383=(_0x3ec866<0x3?_0x223dca(_0x43c383):_0x3ec866>0x3?_0x223dca(_0x5331be,_0x331b61,_0x43c383):_0x223dca(_0x5331be,_0x331b61))||_0x43c383);}return _0x3ec866>0x3&&_0x43c383&&Object[_0x134248(0x119)](_0x5331be,_0x331b61,_0x43c383),_0x43c383;}let _0xab9e57=class{constructor(_0x4eb9ed,_0x1441f5,_0x2f6a16){var _0x1834c6=_0x3f7d9c;this[_0x1834c6(0xe8)]=_0x4eb9ed,this[_0x1834c6(0xfe)]=_0x1441f5,this[_0x1834c6(0x10a)]=_0x2f6a16,_0x493317(this,_0x1834c6(0xf0),void 0x0),this[_0x1834c6(0xf0)]=this['_document']['getId']();}['getId'](){var _0x4c3cc1=_0x3f7d9c;return this[_0x4c3cc1(0xfe)];}['getRange'](){var _0x239e86=_0x3f7d9c;let _0x4981f1=this[_0x239e86(0x104)]();return _0x4981f1?{'blockId':_0x4981f1[_0x239e86(0xd1)],'endIndex':_0x4981f1[_0x239e86(0x111)],'startIndex':_0x4981f1[_0x239e86(0xd3)]}:null;}[_0x3f7d9c(0xda)](){var _0x56a6d5=_0x3f7d9c,_0x206f26;let _0x1a3646=this['_getBlockRange'](),_0xc77a9a=(_0x206f26=this[_0x56a6d5(0x116)]()[_0x56a6d5(0xfa)])==null?void 0x0:_0x206f26[_0x56a6d5(0xd0)];return!_0x1a3646||!_0xc77a9a?'':_0x5cfcac(_0xc77a9a[_0x56a6d5(0x106)](_0x1a3646[_0x56a6d5(0xd3)]+0x1,_0x1a3646[_0x56a6d5(0x111)]));}[_0x3f7d9c(0xfc)](){var _0x3be99e=_0x3f7d9c;let _0x4b561b=this[_0x3be99e(0xf6)]();return _0x4b561b?{..._0x4b561b,'config':this[_0x3be99e(0x112)](),'text':this[_0x3be99e(0xda)](),'type':_0xeebcc9['DocumentBlockRangeType'][_0x3be99e(0xf8)]}:null;}[_0x3f7d9c(0x112)](){var _0x116654=_0x3f7d9c;return(0x0,_0xd2c11['normalizeDocsCodeConfig'])(this[_0x116654(0x10a)][_0x116654(0xef)](_0xd2c11['DocsCodeModel'])[_0x116654(0x10d)](this[_0x116654(0xf0)],this[_0x116654(0xfe)]));}['updateConfig'](_0x573cd6){var _0xc22eb4=_0x3f7d9c;return this[_0xc22eb4(0x10a)]['get'](_0xeebcc9['ICommandService'])[_0xc22eb4(0xed)](_0xd2c11[_0xc22eb4(0x102)]['id'],{'blockId':this[_0xc22eb4(0xfe)],'config':_0x573cd6[_0xc22eb4(0xdd)],'unitId':this[_0xc22eb4(0xf0)]});}[_0x3f7d9c(0x117)](_0x2036ad){var _0x38191b=_0x3f7d9c;return this[_0x38191b(0x10a)][_0x38191b(0xef)](_0xeebcc9[_0x38191b(0xdb)])[_0x38191b(0xed)](_0xd2c11['DocsCodeExitCommand']['id'],{'cursorOffset':_0x2036ad,'unitId':this['_unitId']});}['cancelEmptyParagraph'](_0x3bbfb0={}){var _0x3b0508=_0x3f7d9c;return this['_injector'][_0x3b0508(0xef)](_0xeebcc9[_0x3b0508(0xdb)])[_0x3b0508(0xed)](_0xd2c11[_0x3b0508(0xdc)]['id'],{..._0x3bbfb0,'unitId':this[_0x3b0508(0xf0)]});}[_0x3f7d9c(0x116)](){var _0xa497c1=_0x3f7d9c;return this[_0xa497c1(0xe8)][_0xa497c1(0xc7)]();}['_getBlockRange'](){var _0xfcfba2=_0x3f7d9c,_0x2952cc;let _0x31488a=(_0x2952cc=this[_0xfcfba2(0x116)]()[_0xfcfba2(0xfa)])==null||(_0x2952cc=_0x2952cc['blockRanges'])==null?void 0x0:_0x2952cc[_0xfcfba2(0x11d)](_0x2e37d3=>_0x2e37d3['blockId']===this[_0xfcfba2(0xfe)]&&_0x2e37d3[_0xfcfba2(0xf3)]===_0xeebcc9['DocumentBlockRangeType'][_0xfcfba2(0xf8)]);return _0x31488a==null?null:_0x31488a;}};_0xab9e57=_0x27454e([_0xe18890(0x2,(0x0,_0xeebcc9['Inject'])(_0xeebcc9[_0x3f7d9c(0xc8)]))],_0xab9e57);function _0x5cfcac(_0x12384b){var _0x145409=_0x3f7d9c;return Array[_0x145409(0xdf)](_0x12384b)[_0x145409(0xcc)](_0xed378d=>_0xed378d===_0xeebcc9[_0x145409(0x10b)]['PARAGRAPH']?'\x0a':_0xed378d)[_0x145409(0xca)](_0x10fd4f=>_0x10fd4f!==_0xeebcc9[_0x145409(0x10b)][_0x145409(0xc9)]&&_0x10fd4f!==_0xeebcc9[_0x145409(0x10b)]['BLOCK_END']&&_0x10fd4f!==_0xeebcc9[_0x145409(0x10b)][_0x145409(0xfb)])[_0x145409(0x115)]('')[_0x145409(0xd2)](/\n$/,'');}var _0x1820ac=class extends _0x10dfdf[_0x3f7d9c(0x107)]{[_0x3f7d9c(0xe6)](){var _0x20e7ad=_0x3f7d9c;return this[_0x20e7ad(0xe5)]()[_0x20e7ad(0xca)](_0x5b1eeb=>_0x5b1eeb[_0x20e7ad(0xf3)]===_0xeebcc9[_0x20e7ad(0xf7)][_0x20e7ad(0xf8)])['map'](_0x19a19b=>this[_0x20e7ad(0x11b)](_0x19a19b['blockId']));}[_0x3f7d9c(0xf1)](_0x2af45e){var _0xf01a88=_0x3f7d9c;return this[_0xf01a88(0xe5)]()['some'](_0x21722b=>_0x21722b[_0xf01a88(0xd1)]===_0x2af45e&&_0x21722b[_0xf01a88(0xf3)]===_0xeebcc9[_0xf01a88(0xf7)][_0xf01a88(0xf8)])?this[_0xf01a88(0x11b)](_0x2af45e):null;}['getCodeAt'](_0x4688ab){var _0x14200a=_0x3f7d9c;let _0x31df9c=this['_getBlockRanges']()['find'](_0x385e75=>_0x385e75[_0x14200a(0xf3)]===_0xeebcc9[_0x14200a(0xf7)][_0x14200a(0xf8)]&&_0x385e75['startIndex']<=_0x4688ab&&_0x4688ab<=_0x385e75[_0x14200a(0x111)]);return _0x31df9c?this[_0x14200a(0x11b)](_0x31df9c[_0x14200a(0xd1)]):null;}[_0x3f7d9c(0xde)](_0x8c3c24){var _0x13023e=_0x3f7d9c,_0x4b35e0;return(_0x4b35e0=this[_0x13023e(0xf9)](_0x8c3c24)[0x0])==null?null:_0x4b35e0;}[_0x3f7d9c(0xf9)](_0x25c39d){var _0x872002=_0x3f7d9c;let _0x480b99=typeof _0x25c39d==_0x872002(0x10f)?{'text':_0x25c39d}:_0x25c39d;return this[_0x872002(0xe6)]()[_0x872002(0xca)](_0x22a836=>!(_0x480b99['blockId']&&_0x22a836[_0x872002(0xfd)]()!==_0x480b99[_0x872002(0xd1)]||_0x480b99[_0x872002(0x11a)]&&!_0x22a836[_0x872002(0xda)]()['includes'](_0x480b99[_0x872002(0x11a)])));}[_0x3f7d9c(0x114)](_0x438cb6={},_0x1a06e5={}){var _0x4c01d7=_0x3f7d9c,_0x132af6;let _0x349648=this[_0x4c01d7(0x10a)][_0x4c01d7(0xef)](_0xeebcc9['ICommandService']),_0x35f51f=_0x2e1b85(_0x438cb6)?{..._0x1a06e5,..._0xed42e0(_0x438cb6)}:_0x438cb6,_0x28c29a=(_0x132af6=_0x35f51f['blockId'])==null?(0x0,_0xeebcc9[_0x4c01d7(0xff)])(0x6):_0x132af6;return _0x349648[_0x4c01d7(0xed)](_0xd2c11[_0x4c01d7(0xcd)]['id'],{..._0x35f51f,'blockId':_0x28c29a,'unitId':this[_0x4c01d7(0xfd)]()})?this[_0x4c01d7(0x11b)](_0x28c29a):null;}['exitCode'](_0xa7bfc){var _0x323a28=_0x3f7d9c;return this[_0x323a28(0x10a)][_0x323a28(0xef)](_0xeebcc9[_0x323a28(0xdb)])[_0x323a28(0xed)](_0xd2c11['DocsCodeExitCommand']['id'],{'cursorOffset':_0xa7bfc,'unitId':this[_0x323a28(0xfd)]()});}['cancelEmptyCodeParagraph'](_0x4132d4={}){var _0x5a8d13=_0x3f7d9c;return this[_0x5a8d13(0x10a)]['get'](_0xeebcc9[_0x5a8d13(0xdb)])['syncExecuteCommand'](_0xd2c11['DocsCodeCancelEmptyParagraphCommand']['id'],{..._0x4132d4,'unitId':this[_0x5a8d13(0xfd)]()});}['_getBlockRanges'](){var _0x45c102=_0x3f7d9c,_0x12d38c,_0x3b20e3;return(_0x12d38c=(_0x3b20e3=this[_0x45c102(0xc7)]()[_0x45c102(0xfa)])==null?void 0x0:_0x3b20e3[_0x45c102(0x10e)])==null?[]:_0x12d38c;}[_0x3f7d9c(0x11b)](_0x12cc22){var _0xad62ea=_0x3f7d9c;return this[_0xad62ea(0x10a)][_0xad62ea(0x101)](_0xab9e57,this,_0x12cc22);}};function _0x2e1b85(_0xcac523){var _0x177f69=_0x3f7d9c;return typeof _0xcac523==_0x177f69(0xec)&&!!_0xcac523&&typeof _0xcac523[_0x177f69(0xe3)]==_0x177f69(0xd7)&&typeof _0xcac523[_0x177f69(0xf6)]==_0x177f69(0xd7)&&typeof _0xcac523[_0x177f69(0xe9)]=='function'&&_0xcac523['getType']()==='paragraph';}function _0xed42e0(_0x15eb09){var _0x40d193=_0x3f7d9c;return _0x15eb09[_0x40d193(0xf6)]();}_0x10dfdf[_0x3f7d9c(0x107)][_0x3f7d9c(0xcf)](_0x1820ac),Object[_0x3f7d9c(0x119)](_0x332042,'FDocumentCode',{'enumerable':!0x0,'get':function(){return _0xab9e57;}});}));function _0x261f(_0x399cc2,_0x3d55e4){_0x399cc2=_0x399cc2-0xc7;var _0x401da4=_0x401d();var _0x261f56=_0x401da4[_0x399cc2];return _0x261f56;}function _0x401d(){var _0x284cd3=['syncExecuteCommand','toPrimitive','get','_unitId','getCode','symbol','blockType','toStringTag','160222sGSgkb','getRange','DocumentBlockRangeType','CODE','findCodes','body','SECTION_BREAK','describe','getId','_blockId','generateRandomId','7007824BUKcLD','createInstance','DocsCodeUpdateCommand','Module','_getBlockRange','UniverCore','slice','FDocument','333528NoHDHX','748725ExRWFr','_injector','DataStreamTreeTokenType','length','getCodeConfig','blockRanges','string','UniverProDocsCodeFacade','endIndex','getConfig','amd','insertCode','join','_getDocumentData','exit','prototype','defineProperty','text','_createFDocumentCode','4657478UjFJDl','find','save','Injector','BLOCK_START','filter','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','map','DocsCodeInsertCommand','11YpFfIT','extend','dataStream','blockId','replace','startIndex','constructor','35767930xGDTra','16ILCewl','function','getOwnPropertyDescriptor','@univerjs-pro/docs-code','getText','ICommandService','DocsCodeCancelEmptyParagraphCommand','config','findCodeByText','from','3921705sUsbha','exports','decorate','getKey','default','_getBlockRanges','getCodes','call','_document','getType','UniverDocsFacade','35IBfIlO','object'];_0x401d=function(){return _0x284cd3;};return _0x401d();}
|
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 _0x3e30(){const _0xe33266=['commandService','91092uDyKTZ','DocsCodeInsertBelowCommand','DocsCodeUpdateCommand','UniverDocs','indentStart','object','indentEnd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pluginName','version','string','IResourceManagerService','normalizeDocsCodeConfig','UniverDocsCodePlugin','_resources','symbol','asObservable','every','COMMAND','previousDocumentData','DEFAULT_CODE_CONFIG','isCodeBoundaryDelete','42JgBPdo','packageName','CODE','UNIVER_DOC','paragraphs','Tools','@univerjs-pro/license','customDecorations','DOC_CODE_PLUGIN','exports','UniverInstanceType','from','paragraphId','function','range','deserialize','direction','spaceAbove','next','model','buildExitCodeActions','set','map','blockRanges','syncExecuteCommand','javascript','indexOf','1325010vAAWpA','2204364VoKliI','PARAGRAPH','merge','DocsCodeInsertCommand','diffValue','DocContentInsertService','getTextRanges','find','get','length','@univerjs/core','UniverProLicense','clear','entries','1.0.0-alpha.1','getOwnPropertyDescriptor','blockType','spaceBelow','min','41292IhAZqW','startIndex','prototype','reduce','disposeWithMe','DependentOn','decorate','220703bduipV','parse','Injector','defineProperty','setConfig','nextMetadata','unitId','removeCode','getCurrentUnitOfType','getCodeConfig','docs-code.command.cancel-empty-paragraph','constructor','paragraph','toStringTag','_injector','RichTextEditingMutation','max','removeUnit','_change$','cursorOffset','registerPluginResource','JSONX','setCodeConfig','textStyle','textRuns','CommandType','nextDocumentData','_config','rxjs','complete','paragraphStartIndex','Disposable','join','buildUpdateCodeActions','9cnZtGc','buildInsertCodeActions','change$','4696JrrVxs','DocsCodeCancelEmptyParagraphCommand','22pVNdQg','_docsCodeModel','_commandService','@univerjs-pro/docs-code','deepClone','sort','endIndex','DocumentBlockRangeType','BLOCK_START','startOffset','forEach','_resourceManagerService','Inject','documentData','some','docs-code.config','DataStreamTreeTokenType','BLOCK_END','docs-code.command.insert-below','delete','serialize','call','dataStream','Subject','paragraphStyle','getInstance','findCodeRangeAtOffset','tables','dispose','add','sectionBreaks','_configService','900xFaNJD','getBody','blockId','body','endOffset','onStarting','filter','customBlocks','generateRandomId','IUniverInstanceService','codes','replaceOp','config','8TYJBDJ','getUnitId','monospace','_setResource','docs-code.command.insert','UniverDocsPlugin','createParagraphId','Module','ICommandService','SECTION_BREAK','slice','414320glvXpM','fromEntries','_initResource','UniverLicensePlugin','customRanges','amd','consumeInsertRange','type','getUniverDocInstance','metadata'];_0x3e30=function(){return _0xe33266;};return _0x3e30();}function _0x1a29(_0x539223,_0x200863){_0x539223=_0x539223-0x18b;const _0x3e3092=_0x3e30();let _0x1a29e4=_0x3e3092[_0x539223];return _0x1a29e4;}(function(_0xf86dfe,_0x210d9e){const _0x252623=_0x1a29,_0xc8e074=_0xf86dfe();while(!![]){try{const _0x49c647=parseInt(_0x252623(0x1c5))/0x1+-parseInt(_0x252623(0x220))/0x2*(-parseInt(_0x252623(0x236))/0x3)+parseInt(_0x252623(0x1f1))/0x4*(parseInt(_0x252623(0x213))/0x5)+parseInt(_0x252623(0x196))/0x6*(parseInt(_0x252623(0x1cc))/0x7)+parseInt(_0x252623(0x22b))/0x8+-parseInt(_0x252623(0x1ee))/0x9*(parseInt(_0x252623(0x1b1))/0xa)+-parseInt(_0x252623(0x1f3))/0xb*(parseInt(_0x252623(0x1b2))/0xc);if(_0x49c647===_0x210d9e)break;else _0xc8e074['push'](_0xc8e074['shift']());}catch(_0x23b5ed){_0xc8e074['push'](_0xc8e074['shift']());}}}(_0x3e30,0x23cea),function(_0x3ad434,_0x12ddfe){const _0x544dd5=_0x1a29;typeof exports=='object'&&typeof module<'u'?_0x12ddfe(exports,require('@univerjs/core'),require('@univerjs/docs'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x544dd5(0x1a3)&&define[_0x544dd5(0x230)]?define([_0x544dd5(0x19f),_0x544dd5(0x1bc),'@univerjs/docs',_0x544dd5(0x1e8),_0x544dd5(0x19c)],_0x12ddfe):(_0x3ad434=typeof globalThis<'u'?globalThis:_0x3ad434||self,_0x12ddfe(_0x3ad434['UniverProDocsCode']={},_0x3ad434['UniverCore'],_0x3ad434[_0x544dd5(0x239)],_0x3ad434[_0x544dd5(0x1e8)],_0x3ad434[_0x544dd5(0x1bd)]));}(this,function(_0x323281,_0x2d2ae4,_0x420f42,_0x6794,_0x181267){const _0x18bb44=_0x1a29;Object['defineProperty'](_0x323281,Symbol[_0x18bb44(0x1d9)],{'value':_0x18bb44(0x227)});let _0x44adb7={'language':_0x18bb44(0x1af),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x566ed2(_0x5cb8ac){return{..._0x44adb7,..._0x5cb8ac};}function _0x44cb53(_0x13c591){const _0x49ef01=_0x18bb44;var _0x327ffc;let _0x281d1b=(_0x327ffc=_0x13c591==null?void 0x0:_0x13c591[_0x49ef01(0x21d)])==null?{}:_0x327ffc;return{'codes':Object[_0x49ef01(0x22c)](Object[_0x49ef01(0x1bf)](_0x281d1b)[_0x49ef01(0x1ac)](([_0x35c427,_0x1df97e])=>[_0x35c427,_0x566ed2(_0x1df97e)]))};}function _0x372441(_0x24fc4e,_0x3f7693,_0x19c8bd){const _0x4c0027=_0x18bb44;let _0x47b713=_0x44cb53(_0x24fc4e);return _0x47b713[_0x4c0027(0x21d)][_0x3f7693]=_0x566ed2({..._0x47b713['codes'][_0x3f7693],..._0x19c8bd}),_0x47b713;}function _0x49632f(_0x37237b,_0x4c996f){const _0x50a16c=_0x18bb44;let _0x432c23=_0x44cb53(_0x37237b);return delete _0x432c23[_0x50a16c(0x21d)][_0x4c996f],_0x432c23;}let _0x40102b=_0x18bb44(0x222);function _0x125d20(_0x52e064){const _0x4bf278=_0x18bb44;var _0x1e8fd1,_0x52c250,_0x412ea2;let _0x4c3d42=_0x34bf55(_0x52e064[_0x4bf278(0x200)]),_0x19901f=_0x174fb6(_0x4c3d42),_0x455e18=_0x574187(_0x52e064[_0x4bf278(0x1fc)],_0x52e064[_0x4bf278(0x217)]),_0x7e67b5=_0x455e18?(_0x1e8fd1=_0x19901f['blockRanges'])==null?void 0x0:_0x1e8fd1[_0x4bf278(0x1b9)](_0x20d67c=>_0x20d67c[_0x4bf278(0x1c6)]===_0x455e18['startOffset']&&_0x20d67c['endIndex']+0x1===_0x455e18['endOffset']):void 0x0,{startOffset:_0x1aedd8,endOffset:_0x187a9b}=_0x7e67b5?_0x455e18:_0x1bfbe8(_0x19901f,_0x52e064[_0x4bf278(0x1fc)],_0x52e064[_0x4bf278(0x217)]),_0x19e468=_0x1d7302(_0x19901f,_0x1aedd8,_0x187a9b),_0x730958=(_0x52c250=_0x7e67b5==null?void 0x0:_0x7e67b5[_0x4bf278(0x215)])==null?_0x52e064['blockId']:_0x52c250,_0x5ba9cd=_0x372441(_0x52e064['metadata'],_0x730958,{..._0x44adb7,..._0x52e064['config']});if(_0x7e67b5)return _0x7e67b5[_0x4bf278(0x1c2)]=_0x2d2ae4['DocumentBlockRangeType'][_0x4bf278(0x198)],_0x569549(_0x19901f,_0x1aedd8,_0x187a9b),_0x9c4542(_0x19901f,_0x1aedd8,_0x187a9b,_0x19e468),_0x925f26(_0x19901f,_0x7e67b5),{'nextDocumentData':_0x4c3d42,'nextMetadata':_0x5ba9cd,'cursorOffset':_0x1aedd8+0x1};if(_0x1aedd8===_0x187a9b){var _0x1c5750,_0x40b1f6;let _0x363720=''+_0x2d2ae4[_0x4bf278(0x203)][_0x4bf278(0x1fb)]+_0x2d2ae4['DataStreamTreeTokenType'][_0x4bf278(0x1b3)]+_0x2d2ae4[_0x4bf278(0x203)]['BLOCK_END'];_0x2625f3(_0x19901f,_0x1aedd8,_0x363720,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x2d2ae4[_0x4bf278(0x226)])(new Set((_0x1c5750=_0x19901f['paragraphs'])==null?void 0x0:_0x1c5750['map'](_0x2f37f2=>_0x2f37f2[_0x4bf278(0x1a2)]))),'paragraphStyle':_0x4f732c(!0x0,!0x0,_0x19e468)}],'blockRanges':[{'blockId':_0x730958,'blockType':_0x2d2ae4['DocumentBlockRangeType']['CODE'],'startIndex':0x0,'endIndex':_0x363720[_0x4bf278(0x1bb)]-0x1}]});let _0x52a3be=(_0x40b1f6=_0x19901f['blockRanges'])==null?void 0x0:_0x40b1f6[_0x4bf278(0x1b9)](_0x1d8eef=>_0x1d8eef['blockId']===_0x730958);return _0x52a3be&&_0x925f26(_0x19901f,_0x52a3be),{'nextDocumentData':_0x4c3d42,'nextMetadata':_0x5ba9cd,'cursorOffset':_0x1aedd8+0x1};}_0x2625f3(_0x19901f,_0x187a9b,_0x2d2ae4[_0x4bf278(0x203)][_0x4bf278(0x204)]),_0x2625f3(_0x19901f,_0x1aedd8,_0x2d2ae4['DataStreamTreeTokenType'][_0x4bf278(0x1fb)]),_0x9c4542(_0x19901f,_0x1aedd8,_0x187a9b+0x1,_0x19e468);let _0x5bdffc={'blockId':_0x730958,'blockType':_0x2d2ae4[_0x4bf278(0x1fa)][_0x4bf278(0x198)],'startIndex':_0x1aedd8,'endIndex':_0x187a9b+0x1};return _0x19901f['blockRanges']=[...(_0x412ea2=_0x19901f[_0x4bf278(0x1ad)])==null?[]:_0x412ea2,_0x5bdffc][_0x4bf278(0x1f8)]((_0x24d1d2,_0x5386a3)=>_0x24d1d2[_0x4bf278(0x1c6)]-_0x5386a3[_0x4bf278(0x1c6)]),_0x925f26(_0x19901f,_0x5bdffc),{'nextDocumentData':_0x4c3d42,'nextMetadata':_0x5ba9cd,'cursorOffset':_0x1aedd8+0x1};}function _0x569549(_0x5be7ad,_0x8f172c,_0x3183ca){const _0x5b9ba6=_0x18bb44;var _0x22834f;((_0x22834f=_0x5be7ad[_0x5b9ba6(0x19a)])==null?[]:_0x22834f)[_0x5b9ba6(0x219)](_0x37b307=>_0x37b307['startIndex']>_0x8f172c&&_0x37b307[_0x5b9ba6(0x1c6)]<_0x3183ca)['forEach'](_0x4a284d=>{const _0xfac6fc=_0x5b9ba6;var _0x575833;let _0x429ac9={...(_0x575833=_0x4a284d[_0xfac6fc(0x20b)])==null?{}:_0x575833};delete _0x429ac9[_0xfac6fc(0x1a7)],delete _0x429ac9[_0xfac6fc(0x1c3)],_0x4a284d[_0xfac6fc(0x20b)]=_0x429ac9;});}function _0x574187(_0x22118b,_0x4e9e1b){const _0x252da2=_0x18bb44;return _0x22118b==null||_0x4e9e1b==null||_0x22118b===_0x4e9e1b?null:{'startOffset':Math[_0x252da2(0x1c4)](_0x22118b,_0x4e9e1b),'endOffset':Math[_0x252da2(0x1dc)](_0x22118b,_0x4e9e1b)};}function _0x5a5761(_0x1aacc8){const _0x1e7a80=_0x18bb44;return{'nextDocumentData':_0x34bf55(_0x1aacc8[_0x1e7a80(0x200)]),'nextMetadata':_0x372441(_0x1aacc8[_0x1e7a80(0x234)],_0x1aacc8[_0x1e7a80(0x215)],_0x1aacc8[_0x1e7a80(0x21f)]),'cursorOffset':0x0};}function _0x4f2c21(_0x571f50){const _0x2aeba7=_0x18bb44;var _0x4b41bf,_0x25c80f;let _0x3b1f80=_0x34bf55(_0x571f50[_0x2aeba7(0x200)]),_0x35e2b7=_0x174fb6(_0x3b1f80),_0x5d53ac=_0x178c6c(_0x35e2b7,_0x571f50[_0x2aeba7(0x1df)]);if(!_0x5d53ac)return null;let _0x1fbe82=_0x5ec5bf(_0x35e2b7,_0x5d53ac),_0x56ef03=_0x1fbe82[_0x1fbe82[_0x2aeba7(0x1bb)]-0x1];if(!_0x56ef03||!_0x20e23f(_0x35e2b7,_0x5d53ac,_0x56ef03)||_0x571f50[_0x2aeba7(0x1df)]<_0x56ef03[_0x2aeba7(0x1c6)])return null;let _0x4ec033=_0x509b08(_0x35e2b7,_0x5d53ac,_0x56ef03);if(_0x4ec033>=_0x5d53ac[_0x2aeba7(0x1f9)])return null;_0x35e2b7[_0x2aeba7(0x209)]=[_0x35e2b7['dataStream']['slice'](0x0,_0x4ec033),_0x2d2ae4[_0x2aeba7(0x203)][_0x2aeba7(0x204)],_0x35e2b7['dataStream'][_0x2aeba7(0x22a)](_0x4ec033,_0x5d53ac[_0x2aeba7(0x1f9)]),_0x35e2b7[_0x2aeba7(0x209)][_0x2aeba7(0x22a)](_0x5d53ac[_0x2aeba7(0x1f9)]+0x1)][_0x2aeba7(0x1ec)](''),_0x423a0d(_0x35e2b7[_0x2aeba7(0x19a)],_0x4ec033,_0x5d53ac['endIndex'],0x1),_0x423a0d(_0x35e2b7[_0x2aeba7(0x211)],_0x4ec033,_0x5d53ac[_0x2aeba7(0x1f9)],0x1),_0x423a0d(_0x35e2b7[_0x2aeba7(0x21a)],_0x4ec033,_0x5d53ac[_0x2aeba7(0x1f9)],0x1),_0x163ccc(_0x35e2b7[_0x2aeba7(0x1e4)],_0x4ec033,_0x5d53ac['endIndex'],0x1),_0x1f7efe(_0x35e2b7[_0x2aeba7(0x20e)],_0x4ec033,_0x5d53ac['endIndex'],0x1),_0x1f7efe(_0x35e2b7[_0x2aeba7(0x22f)],_0x4ec033,_0x5d53ac[_0x2aeba7(0x1f9)],0x1),_0x1f7efe(_0x35e2b7[_0x2aeba7(0x19d)],_0x4ec033,_0x5d53ac[_0x2aeba7(0x1f9)],0x1),(_0x4b41bf=_0x35e2b7[_0x2aeba7(0x1ad)])==null||_0x4b41bf[_0x2aeba7(0x1fd)](_0x1fb831=>{const _0x574da0=_0x2aeba7;_0x1fb831===_0x5d53ac||_0x1fb831[_0x574da0(0x215)]===_0x5d53ac[_0x574da0(0x215)]?_0x1fb831[_0x574da0(0x1f9)]=_0x4ec033:_0x1fb831['startIndex']>=_0x4ec033&&_0x1fb831['startIndex']<_0x5d53ac['endIndex']&&(_0x1fb831['startIndex']+=0x1,_0x1fb831['endIndex']+=0x1);});let _0x3157f6=_0x5ec5bf(_0x35e2b7,{..._0x5d53ac,'endIndex':_0x4ec033});_0x3157f6[_0x2aeba7(0x1fd)]((_0x461101,_0x3ab8f8)=>{const _0x550568=_0x2aeba7;var _0x54c794;_0x461101[_0x550568(0x20b)]={...(_0x54c794=_0x461101['paragraphStyle'])==null?{}:_0x54c794,..._0x4f732c(_0x3ab8f8===0x0,_0x3ab8f8===_0x3157f6['length']-0x1)};});let _0x43e4bf=(_0x25c80f=_0x35e2b7[_0x2aeba7(0x19a)])==null?void 0x0:_0x25c80f[_0x2aeba7(0x1b9)](_0x2545c3=>_0x2545c3[_0x2aeba7(0x1c6)]===_0x4ec033+0x1);return _0x43e4bf&&(_0x43e4bf['paragraphStyle']=_0xc6ed51(_0x43e4bf[_0x2aeba7(0x20b)])),{'nextDocumentData':_0x3b1f80,'cursorOffset':_0x4ec033+0x1};}function _0x5d4520(_0x162042){const _0x27c103=_0x18bb44;let _0x470e2d=_0x34bf55(_0x162042[_0x27c103(0x200)]),_0x39df63=_0x174fb6(_0x470e2d),_0xcf16b2=_0x178c6c(_0x39df63,_0x162042[_0x27c103(0x1df)]);return _0xcf16b2&&_0x156a22(_0x470e2d,_0x39df63,_0xcf16b2,_0x162042[_0x27c103(0x1df)],_0x162042[_0x27c103(0x1ea)])||null;}function _0x156a22(_0x405fa8,_0x3c96f3,_0x19a278,_0x5bb3fc,_0x26989e){const _0x521f8e=_0x18bb44;let _0x20df62=_0x377190(_0x3c96f3,_0x19a278,_0x5bb3fc,_0x26989e);if(!_0x20df62)return null;let _0x153687=_0x20df62['endTokenOffset']-0x1;return _0x2621f2(_0x3c96f3,_0x20df62[_0x521f8e(0x1d8)]['startIndex'],_0x20df62[_0x521f8e(0x1d8)][_0x521f8e(0x1c6)]+0x1),{'nextDocumentData':_0x405fa8,'cursorOffset':_0x153687};}function _0x13a49b(_0x596c29,_0x22f275){const _0x1ccf0e=_0x18bb44;var _0x52bdc7;return _0x596c29==null||(_0x52bdc7=_0x596c29['blockRanges'])==null?void 0x0:_0x52bdc7[_0x1ccf0e(0x1b9)](_0xf1a9b5=>_0xf1a9b5[_0x1ccf0e(0x1c2)]===_0x2d2ae4[_0x1ccf0e(0x1fa)][_0x1ccf0e(0x198)]&&_0xf1a9b5[_0x1ccf0e(0x1c6)]<=_0x22f275&&_0x22f275<=_0xf1a9b5[_0x1ccf0e(0x1f9)]);}function _0x363106(_0x393173){const _0x1cf706=_0x18bb44;var _0x5b1088;let _0x5abee0=_0x393173[_0x1cf706(0x200)][_0x1cf706(0x216)];if(!_0x5abee0)return!0x1;let _0x2284b3=_0x393173['direction']==='left'?_0x393173[_0x1cf706(0x1df)]-0x1:_0x393173[_0x1cf706(0x1df)],_0x1161cd=_0x393173[_0x1cf706(0x1a6)]==='right'?_0x393173[_0x1cf706(0x1df)]+0x1:_0x2284b3;return((_0x5b1088=_0x5abee0[_0x1cf706(0x1ad)])==null?[]:_0x5b1088)[_0x1cf706(0x201)](_0x3b0546=>_0x3b0546[_0x1cf706(0x1c2)]===_0x2d2ae4[_0x1cf706(0x1fa)]['CODE']?_0x2284b3===_0x3b0546[_0x1cf706(0x1c6)]||_0x2284b3===_0x3b0546[_0x1cf706(0x1f9)]||_0x1161cd===_0x3b0546[_0x1cf706(0x1c6)]||_0x1161cd===_0x3b0546[_0x1cf706(0x1f9)]:!0x1);}function _0x178c6c(_0x57008f,_0x2c975a){const _0x142e7f=_0x18bb44;var _0x286481;return(_0x286481=_0x57008f[_0x142e7f(0x1ad)])==null?void 0x0:_0x286481['find'](_0x436ec9=>{const _0xb554a6=_0x142e7f;let _0x11c5a4=_0x4aa120(_0x57008f,_0x436ec9);return _0x436ec9[_0xb554a6(0x1c2)]===_0x2d2ae4[_0xb554a6(0x1fa)][_0xb554a6(0x198)]&&_0x436ec9['startIndex']<=_0x2c975a&&_0x2c975a<=_0x11c5a4+0x2;});}function _0x4f732c(_0x1a6434,_0xd829aa,_0x5b21dd=!0x1){return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},..._0x1a6434&&_0x5b21dd?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x40102b,'fs':0xc}};}function _0x9c4542(_0x300898,_0x4817d1,_0x303131,_0x351454=!0x1){const _0x13da71=_0x18bb44;var _0x47ff0f;let _0x847421=((_0x47ff0f=_0x300898[_0x13da71(0x19a)])==null?[]:_0x47ff0f)[_0x13da71(0x219)](_0x162407=>_0x162407[_0x13da71(0x1c6)]>_0x4817d1&&_0x162407[_0x13da71(0x1c6)]<_0x303131);_0x847421['forEach']((_0xc8d7e6,_0x3ee914)=>{const _0x36c66a=_0x13da71;var _0x5537a2;_0xc8d7e6[_0x36c66a(0x20b)]={...(_0x5537a2=_0xc8d7e6[_0x36c66a(0x20b)])==null?{}:_0x5537a2,..._0x4f732c(_0x3ee914===0x0,_0x3ee914===_0x847421[_0x36c66a(0x1bb)]-0x1,_0x351454)};});}function _0xc6ed51(_0x2839cb){const _0x4698fa=_0x18bb44;var _0x1982b6,_0x3ecfb5;let _0x3a0586={..._0x2839cb==null?{}:_0x2839cb};return delete _0x3a0586[_0x4698fa(0x23c)],delete _0x3a0586[_0x4698fa(0x23a)],delete _0x3a0586[_0x4698fa(0x1a7)],delete _0x3a0586[_0x4698fa(0x1c3)],((_0x1982b6=_0x3a0586['textStyle'])==null?void 0x0:_0x1982b6['ff'])===_0x40102b&&((_0x3ecfb5=_0x3a0586[_0x4698fa(0x1e3)])==null?void 0x0:_0x3ecfb5['fs'])===0xc&&delete _0x3a0586[_0x4698fa(0x1e3)],_0x3a0586;}function _0x5ec5bf(_0x40e708,_0x305b86){const _0x4039d9=_0x18bb44;var _0x5d5722;let _0x1a33d8=_0x4aa120(_0x40e708,_0x305b86);return((_0x5d5722=_0x40e708[_0x4039d9(0x19a)])==null?[]:_0x5d5722)[_0x4039d9(0x219)](_0x1fa3c8=>_0x1fa3c8[_0x4039d9(0x1c6)]>_0x305b86[_0x4039d9(0x1c6)]&&_0x1fa3c8[_0x4039d9(0x1c6)]<_0x1a33d8);}function _0x20e23f(_0x38b7d9,_0x4621cd,_0x4c0df9){const _0x2a4490=_0x18bb44;let _0x139267=_0x509b08(_0x38b7d9,_0x4621cd,_0x4c0df9),_0x228329=_0x38b7d9[_0x2a4490(0x209)]['slice'](_0x139267,_0x4c0df9['startIndex']);return Array[_0x2a4490(0x1a1)](_0x228329)['every'](_0x18d486=>_0x18d486===_0x2d2ae4[_0x2a4490(0x203)][_0x2a4490(0x1fb)]||_0x18d486===_0x2d2ae4[_0x2a4490(0x203)]['BLOCK_END']);}function _0x34bf55(_0x5a1d90){const _0xb71dee=_0x18bb44;return _0x2d2ae4[_0xb71dee(0x19b)][_0xb71dee(0x1f7)](_0x5a1d90);}function _0x174fb6(_0xfd21fd){const _0x2ff199=_0x18bb44;if(!_0xfd21fd[_0x2ff199(0x216)])throw Error('Document\x20body\x20is\x20required');return _0xfd21fd['body'];}function _0x1bfbe8(_0x1f6a98,_0x207653,_0x273ecc){const _0x4c2466=_0x18bb44;if(_0x207653==null||_0x273ecc==null){let _0x4b98e6=_0x342a88(_0x1f6a98);return{'startOffset':_0x4b98e6,'endOffset':_0x4b98e6};}let _0x368f5c=Math[_0x4c2466(0x1c4)](_0x207653,_0x273ecc),_0x383d50=Math['max'](_0x207653,_0x273ecc);if(_0x368f5c===_0x383d50){let _0x3bad31=_0x125f8d(_0x1f6a98,_0x368f5c);return{'startOffset':_0x3bad31,'endOffset':_0x3bad31};}return _0x5ba5f5(_0x1f6a98,_0x368f5c,_0x383d50);}function _0x125f8d(_0x304a1a,_0x516ac3){const _0x5e28c3=_0x18bb44;return _0x516ac3===0x0&&_0x304a1a['dataStream'][0x0]===_0x2d2ae4[_0x5e28c3(0x203)][_0x5e28c3(0x1b3)]?0x1:_0x516ac3;}function _0x342a88(_0x1e1815){const _0x84e574=_0x18bb44;return _0x1e1815[_0x84e574(0x209)]['endsWith'](_0x2d2ae4[_0x84e574(0x203)]['SECTION_BREAK'])?Math[_0x84e574(0x1dc)](0x0,_0x1e1815['dataStream']['length']-0x1):_0x1e1815['dataStream'][_0x84e574(0x1bb)];}function _0x1d7302(_0x19113a,_0xce2cfa,_0x39cf86){const _0xa49e11=_0x18bb44;var _0x4d56d3;let _0x6f41a=Math[_0xa49e11(0x1c4)](_0xce2cfa,_0x39cf86),_0x3fe054=Math[_0xa49e11(0x1dc)](_0xce2cfa,_0x39cf86);return!!((_0x4d56d3=_0x19113a[_0xa49e11(0x20e)])!=null&&_0x4d56d3[_0xa49e11(0x201)](_0x1d63a1=>_0x6f41a>_0x1d63a1[_0xa49e11(0x1c6)]&&_0x6f41a<_0x1d63a1['endIndex']||_0x3fe054>_0x1d63a1[_0xa49e11(0x1c6)]&&_0x3fe054<_0x1d63a1[_0xa49e11(0x1f9)]||_0x6f41a<=_0x1d63a1['startIndex']&&_0x3fe054>=_0x1d63a1[_0xa49e11(0x1f9)]));}function _0x5ba5f5(_0x3f099e,_0x4200a5,_0x5b10c1){const _0x593c59=_0x18bb44;var _0x229c9f,_0x34c2fc;let _0x2e05b4=[...(_0x229c9f=_0x3f099e['paragraphs'])==null?[]:_0x229c9f][_0x593c59(0x1f8)]((_0x5286a6,_0x677ffb)=>_0x5286a6[_0x593c59(0x1c6)]-_0x677ffb[_0x593c59(0x1c6)]),_0xd97ea3=_0x2e05b4[_0x593c59(0x1b9)]((_0x5e36ce,_0x4a88e)=>(_0x4a88e===0x0?0x0:_0x2e05b4[_0x4a88e-0x1]['startIndex']+0x1)<=_0x4200a5&&_0x4200a5<=_0x5e36ce[_0x593c59(0x1c6)]),_0x5097b1=(_0x34c2fc=_0x2e05b4[_0x593c59(0x1b9)](_0x1ad0d8=>_0x1ad0d8[_0x593c59(0x1c6)]>=_0x5b10c1-0x1))==null?_0x2e05b4[_0x2e05b4[_0x593c59(0x1bb)]-0x1]:_0x34c2fc;return{'startOffset':_0xd97ea3?_0x3da0a2(_0x2e05b4,_0xd97ea3):_0x4200a5,'endOffset':_0x5097b1?_0x5097b1[_0x593c59(0x1c6)]+0x1:_0x5b10c1};}function _0x3da0a2(_0x1d0e7a,_0x5adc23){const _0x1853e6=_0x18bb44;let _0x50c771=_0x1d0e7a[_0x1853e6(0x1b0)](_0x5adc23);return _0x50c771>0x0?_0x1d0e7a[_0x50c771-0x1][_0x1853e6(0x1c6)]+0x1:0x0;}function _0x509b08(_0x598f10,_0x159419,_0x2ec6db){const _0x4c2d57=_0x18bb44;var _0x74962;return Math[_0x4c2d57(0x1dc)](_0x3da0a2((_0x74962=_0x598f10[_0x4c2d57(0x19a)])==null?[]:_0x74962,_0x2ec6db),_0x159419[_0x4c2d57(0x1c6)]+0x1);}function _0x4aa120(_0x22d98b,_0x4842b0){const _0x3e0eb9=_0x18bb44;return _0x22d98b[_0x3e0eb9(0x209)][_0x4842b0[_0x3e0eb9(0x1f9)]]===_0x2d2ae4[_0x3e0eb9(0x203)][_0x3e0eb9(0x204)]?_0x4842b0[_0x3e0eb9(0x1f9)]:_0x22d98b[_0x3e0eb9(0x209)][_0x4842b0[_0x3e0eb9(0x1f9)]+0x1]===_0x2d2ae4[_0x3e0eb9(0x203)][_0x3e0eb9(0x204)]?_0x4842b0[_0x3e0eb9(0x1f9)]+0x1:_0x4842b0['endIndex'];}function _0x377190(_0x292c49,_0x1015d1,_0x33e423,_0x12e49b){const _0x33bb15=_0x18bb44;var _0x370757,_0x250776;let _0x2e59cd=_0x4aa120(_0x292c49,_0x1015d1),_0x30d249=((_0x370757=_0x292c49[_0x33bb15(0x19a)])==null?[]:_0x370757)[_0x33bb15(0x1b9)](_0x50f871=>_0x50f871[_0x33bb15(0x1c6)]===_0x2e59cd+0x1);if(!_0x30d249||_0x12e49b!=null&&_0x30d249[_0x33bb15(0x1c6)]!==_0x12e49b||_0x33e423<_0x2e59cd||_0x33e423>_0x30d249[_0x33bb15(0x1c6)]+0x1||_0x292c49[_0x33bb15(0x209)][_0x30d249[_0x33bb15(0x1c6)]]!==_0x2d2ae4['DataStreamTreeTokenType'][_0x33bb15(0x1b3)])return null;let _0x1473de=_0x3da0a2((_0x250776=_0x292c49[_0x33bb15(0x19a)])==null?[]:_0x250776,_0x30d249),_0x57eca1=_0x292c49[_0x33bb15(0x209)]['slice'](_0x1473de,_0x30d249['startIndex']);return Array[_0x33bb15(0x1a1)](_0x57eca1)[_0x33bb15(0x191)](_0xc0202c=>_0xc0202c===_0x2d2ae4[_0x33bb15(0x203)][_0x33bb15(0x204)])?{'paragraph':_0x30d249,'endTokenOffset':_0x2e59cd}:null;}function _0x925f26(_0x2f9e8b,_0x54c307){const _0x428afa=_0x18bb44;var _0x5dfb20;let _0x4f57ab=_0x4aa120(_0x2f9e8b,_0x54c307),_0x47a0c3=_0x2f9e8b[_0x428afa(0x209)][_0x4f57ab+0x1];_0x47a0c3!==_0x2d2ae4[_0x428afa(0x203)][_0x428afa(0x229)]&&_0x47a0c3!==void 0x0||_0x2625f3(_0x2f9e8b,_0x4f57ab+0x1,_0x2d2ae4[_0x428afa(0x203)][_0x428afa(0x1b3)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x2d2ae4[_0x428afa(0x226)])(new Set((_0x5dfb20=_0x2f9e8b['paragraphs'])==null?void 0x0:_0x5dfb20['map'](_0x39aeef=>_0x39aeef[_0x428afa(0x1a2)])))}]});}function _0x2625f3(_0x12d926,_0x5ac570,_0x5e223b,_0x150b6b={}){const _0x3c3fb8=_0x18bb44;var _0x130b2a,_0x2d1c7f;if(_0x5e223b){if(_0x12d926['dataStream']=''+_0x12d926[_0x3c3fb8(0x209)]['slice'](0x0,_0x5ac570)+_0x5e223b+_0x12d926[_0x3c3fb8(0x209)][_0x3c3fb8(0x22a)](_0x5ac570),_0x344e10(_0x12d926,_0x5ac570,_0x5e223b[_0x3c3fb8(0x1bb)]),(_0x130b2a=_0x150b6b['paragraphs'])!=null&&_0x130b2a[_0x3c3fb8(0x1bb)]){var _0x2dfbc8;_0x12d926['paragraphs']=[...(_0x2dfbc8=_0x12d926['paragraphs'])==null?[]:_0x2dfbc8,..._0x150b6b[_0x3c3fb8(0x19a)]['map'](_0x1a2448=>({..._0x1a2448,'startIndex':_0x1a2448[_0x3c3fb8(0x1c6)]+_0x5ac570}))][_0x3c3fb8(0x1f8)]((_0x40449f,_0x188795)=>_0x40449f[_0x3c3fb8(0x1c6)]-_0x188795[_0x3c3fb8(0x1c6)]);}if((_0x2d1c7f=_0x150b6b[_0x3c3fb8(0x1ad)])!=null&&_0x2d1c7f['length']){var _0x3a89c3;_0x12d926[_0x3c3fb8(0x1ad)]=[...(_0x3a89c3=_0x12d926[_0x3c3fb8(0x1ad)])==null?[]:_0x3a89c3,..._0x150b6b[_0x3c3fb8(0x1ad)][_0x3c3fb8(0x1ac)](_0x122f5a=>({..._0x122f5a,'startIndex':_0x122f5a['startIndex']+_0x5ac570,'endIndex':_0x122f5a['endIndex']+_0x5ac570}))]['sort']((_0x3a5b84,_0xf35539)=>_0x3a5b84[_0x3c3fb8(0x1c6)]-_0xf35539[_0x3c3fb8(0x1c6)]);}}}function _0x2621f2(_0x5d5f9b,_0x325410,_0x27fc49){const _0x4206d8=_0x18bb44;let _0x4f412d=_0x27fc49-_0x325410;_0x5d5f9b[_0x4206d8(0x209)]=''+_0x5d5f9b[_0x4206d8(0x209)]['slice'](0x0,_0x325410)+_0x5d5f9b['dataStream']['slice'](_0x27fc49),_0x1afad3(_0x5d5f9b,_0x325410,_0x4f412d);}function _0x344e10(_0x30e8dc,_0x30db06,_0x1d915d){const _0x31e98c=_0x18bb44;_0x30e8dc['paragraphs']=_0x27650c(_0x30e8dc[_0x31e98c(0x19a)],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x211)]=_0x27650c(_0x30e8dc[_0x31e98c(0x211)],_0x30db06,_0x1d915d),_0x30e8dc['customBlocks']=_0x27650c(_0x30e8dc['customBlocks'],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x1e4)]=_0x4a3cef(_0x30e8dc[_0x31e98c(0x1e4)],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x20e)]=_0x10e841(_0x30e8dc['tables'],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x22f)]=_0x10e841(_0x30e8dc[_0x31e98c(0x22f)],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x19d)]=_0x10e841(_0x30e8dc[_0x31e98c(0x19d)],_0x30db06,_0x1d915d),_0x30e8dc[_0x31e98c(0x1ad)]=_0x10e841(_0x30e8dc[_0x31e98c(0x1ad)],_0x30db06,_0x1d915d);}function _0x1afad3(_0xd297f0,_0x5c6b6e,_0x5ed043){const _0x1620e9=_0x18bb44;var _0x5b0c2f,_0x5ba7ef;_0xd297f0[_0x1620e9(0x19a)]=_0x4c7590(_0xd297f0[_0x1620e9(0x19a)],_0x5c6b6e,_0x5ed043),_0xd297f0[_0x1620e9(0x211)]=_0x4c7590(_0xd297f0[_0x1620e9(0x211)],_0x5c6b6e,_0x5ed043),_0xd297f0['customBlocks']=_0x4c7590(_0xd297f0[_0x1620e9(0x21a)],_0x5c6b6e,_0x5ed043),_0xd297f0['textRuns']=(_0x5b0c2f=_0x35ffb6((_0x5ba7ef=_0xd297f0[_0x1620e9(0x1e4)])==null?void 0x0:_0x5ba7ef['map'](_0x44b1e2=>({..._0x44b1e2,'startIndex':_0x44b1e2['st'],'endIndex':_0x44b1e2['ed']})),_0x5c6b6e,_0x5ed043))==null?void 0x0:_0x5b0c2f['map'](_0x2c0c1d=>{let {startIndex:_0x51bfb4,endIndex:_0x320069,..._0x532592}=_0x2c0c1d;return{..._0x532592,'st':_0x51bfb4,'ed':_0x320069};}),_0xd297f0[_0x1620e9(0x20e)]=_0x35ffb6(_0xd297f0['tables'],_0x5c6b6e,_0x5ed043),_0xd297f0['customRanges']=_0x35ffb6(_0xd297f0[_0x1620e9(0x22f)],_0x5c6b6e,_0x5ed043),_0xd297f0['customDecorations']=_0x35ffb6(_0xd297f0[_0x1620e9(0x19d)],_0x5c6b6e,_0x5ed043),_0xd297f0['blockRanges']=_0x35ffb6(_0xd297f0['blockRanges'],_0x5c6b6e,_0x5ed043);}function _0x27650c(_0x461008,_0x2732fc,_0x2adf4c){const _0x261ab6=_0x18bb44;return _0x461008==null?void 0x0:_0x461008[_0x261ab6(0x1ac)](_0x5300cf=>_0x5300cf[_0x261ab6(0x1c6)]>=_0x2732fc?{..._0x5300cf,'startIndex':_0x5300cf[_0x261ab6(0x1c6)]+_0x2adf4c}:_0x5300cf);}function _0x4c7590(_0x40f355,_0x3a87c5,_0x1b7670){const _0x190ba9=_0x18bb44;let _0x151b59=_0x3a87c5+_0x1b7670;return _0x40f355==null?void 0x0:_0x40f355[_0x190ba9(0x1ac)](_0x354a96=>_0x354a96[_0x190ba9(0x1c6)]>=_0x3a87c5&&_0x354a96['startIndex']<_0x151b59?null:_0x354a96[_0x190ba9(0x1c6)]>=_0x151b59?{..._0x354a96,'startIndex':_0x354a96['startIndex']-_0x1b7670}:_0x354a96)['filter'](_0xa5755a=>_0xa5755a!=null);}function _0x4a3cef(_0x1f8d66,_0x295c5f,_0x38bdd2){const _0x2db228=_0x18bb44;return _0x1f8d66==null?void 0x0:_0x1f8d66[_0x2db228(0x1ac)](_0x535d57=>_0x535d57['st']>=_0x295c5f?{..._0x535d57,'st':_0x535d57['st']+_0x38bdd2,'ed':_0x535d57['ed']+_0x38bdd2}:_0x535d57['ed']>_0x295c5f?{..._0x535d57,'ed':_0x535d57['ed']+_0x38bdd2}:_0x535d57);}function _0x10e841(_0x12733a,_0x3bda48,_0x4a60e){const _0x11d4b8=_0x18bb44;return _0x12733a==null?void 0x0:_0x12733a[_0x11d4b8(0x1ac)](_0x13ecef=>_0x13ecef[_0x11d4b8(0x1c6)]>=_0x3bda48?{..._0x13ecef,'startIndex':_0x13ecef[_0x11d4b8(0x1c6)]+_0x4a60e,'endIndex':_0x13ecef[_0x11d4b8(0x1f9)]+_0x4a60e}:_0x13ecef[_0x11d4b8(0x1f9)]>=_0x3bda48?{..._0x13ecef,'endIndex':_0x13ecef['endIndex']+_0x4a60e}:_0x13ecef);}function _0x35ffb6(_0x507557,_0x5dc634,_0x224bf5){const _0x4f00d1=_0x18bb44;let _0x31dced=_0x5dc634+_0x224bf5;return _0x507557==null?void 0x0:_0x507557[_0x4f00d1(0x1ac)](_0x4ac6b9=>_0x4ac6b9['startIndex']>=_0x5dc634&&_0x4ac6b9[_0x4f00d1(0x1f9)]<_0x31dced?null:_0x4ac6b9[_0x4f00d1(0x1c6)]>=_0x31dced?{..._0x4ac6b9,'startIndex':_0x4ac6b9[_0x4f00d1(0x1c6)]-_0x224bf5,'endIndex':_0x4ac6b9[_0x4f00d1(0x1f9)]-_0x224bf5}:_0x4ac6b9[_0x4f00d1(0x1f9)]>=_0x5dc634?{..._0x4ac6b9,'startIndex':_0x4ac6b9[_0x4f00d1(0x1c6)]<_0x5dc634?_0x4ac6b9[_0x4f00d1(0x1c6)]:_0x5dc634,'endIndex':Math[_0x4f00d1(0x1dc)](_0x5dc634,_0x4ac6b9[_0x4f00d1(0x1f9)]-_0x224bf5)}:_0x4ac6b9)[_0x4f00d1(0x219)](_0x1434cf=>_0x1434cf!=null);}function _0x423a0d(_0x320c32,_0x13f96e,_0x1324fc,_0x45c31f){const _0x51480f=_0x18bb44;_0x320c32==null||_0x320c32[_0x51480f(0x1fd)](_0x36f06d=>{const _0x91c7ff=_0x51480f;_0x36f06d[_0x91c7ff(0x1c6)]>=_0x13f96e&&_0x36f06d[_0x91c7ff(0x1c6)]<_0x1324fc&&(_0x36f06d['startIndex']+=_0x45c31f);});}function _0x163ccc(_0x4ae414,_0xa60bfb,_0x224e2a,_0xcd427b){const _0x2d7317=_0x18bb44;_0x4ae414==null||_0x4ae414[_0x2d7317(0x1fd)](_0x88d4b0=>{_0x88d4b0['st']>=_0xa60bfb&&_0x88d4b0['st']<_0x224e2a?(_0x88d4b0['st']+=_0xcd427b,_0x88d4b0['ed']+=_0xcd427b):_0x88d4b0['ed']>_0xa60bfb&&_0x88d4b0['ed']<_0x224e2a&&(_0x88d4b0['ed']+=_0xcd427b);});}function _0x1f7efe(_0x2691e4,_0x44c1fa,_0x492ade,_0x14bb5a){const _0x5db0c9=_0x18bb44;_0x2691e4==null||_0x2691e4[_0x5db0c9(0x1fd)](_0x1d1e19=>{const _0x353a2f=_0x5db0c9;_0x1d1e19[_0x353a2f(0x1c6)]>=_0x44c1fa&&_0x1d1e19[_0x353a2f(0x1c6)]<_0x492ade?(_0x1d1e19[_0x353a2f(0x1c6)]+=_0x14bb5a,_0x1d1e19[_0x353a2f(0x1f9)]+=_0x14bb5a):_0x1d1e19[_0x353a2f(0x1f9)]>_0x44c1fa&&_0x1d1e19[_0x353a2f(0x1f9)]<_0x492ade&&(_0x1d1e19[_0x353a2f(0x1f9)]+=_0x14bb5a);});}function _0x52c8be(_0x10d523){'@babel/helpers - typeof';const _0x4d196e=_0x18bb44;return _0x52c8be=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x4d196e(0x18f)?function(_0x301c8c){return typeof _0x301c8c;}:function(_0x4dd721){const _0x1ba13d=_0x4d196e;return _0x4dd721&&typeof Symbol=='function'&&_0x4dd721[_0x1ba13d(0x1d7)]===Symbol&&_0x4dd721!==Symbol[_0x1ba13d(0x1c7)]?_0x1ba13d(0x18f):typeof _0x4dd721;},_0x52c8be(_0x10d523);}function _0x143cf9(_0x392153,_0x2f36f5){const _0x1055a6=_0x18bb44;if(_0x52c8be(_0x392153)!=_0x1055a6(0x23b)||!_0x392153)return _0x392153;var _0x4a18fa=_0x392153[Symbol['toPrimitive']];if(_0x4a18fa!==void 0x0){var _0x2cfced=_0x4a18fa[_0x1055a6(0x208)](_0x392153,_0x2f36f5||'default');if(_0x52c8be(_0x2cfced)!='object')return _0x2cfced;throw TypeError(_0x1055a6(0x23d));}return(_0x2f36f5===_0x1055a6(0x240)?String:Number)(_0x392153);}function _0x33500a(_0x339ef8){const _0x2cdf46=_0x18bb44;var _0x504876=_0x143cf9(_0x339ef8,_0x2cdf46(0x240));return _0x52c8be(_0x504876)==_0x2cdf46(0x18f)?_0x504876:_0x504876+'';}function _0x355256(_0x2fdda4,_0x4bd284,_0x4bb156){const _0x59efe0=_0x18bb44;return(_0x4bd284=_0x33500a(_0x4bd284))in _0x2fdda4?Object[_0x59efe0(0x1cf)](_0x2fdda4,_0x4bd284,{'value':_0x4bb156,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2fdda4[_0x4bd284]=_0x4bb156,_0x2fdda4;}var _0x4cee88=class extends _0x2d2ae4[_0x18bb44(0x1eb)]{constructor(..._0x28c1d1){const _0x43b4f5=_0x18bb44;super(..._0x28c1d1),_0x355256(this,_0x43b4f5(0x18e),new Map()),_0x355256(this,_0x43b4f5(0x1de),new _0x6794[(_0x43b4f5(0x20a))]()),_0x355256(this,_0x43b4f5(0x1f0),this[_0x43b4f5(0x1de)][_0x43b4f5(0x190)]());}[_0x18bb44(0x1d5)](_0x3e67a0,_0x5f065a){const _0x27820d=_0x18bb44;return _0x44cb53(this[_0x27820d(0x18e)][_0x27820d(0x1ba)](_0x3e67a0))[_0x27820d(0x21d)][_0x5f065a];}[_0x18bb44(0x1e2)](_0x553717,_0x57d6df,_0x25a829){const _0x53acea=_0x18bb44;this['_setResource'](_0x553717,_0x57d6df,_0x372441(this[_0x53acea(0x18e)]['get'](_0x553717),_0x57d6df,_0x25a829));}[_0x18bb44(0x1d3)](_0x2b31a3,_0x1b49bd){const _0x54c8ca=_0x18bb44;this[_0x54c8ca(0x223)](_0x2b31a3,_0x1b49bd,_0x49632f(this[_0x54c8ca(0x18e)][_0x54c8ca(0x1ba)](_0x2b31a3),_0x1b49bd));}['serialize'](_0x4531f6){const _0x3d9377=_0x18bb44;return _0x44cb53(this[_0x3d9377(0x18e)][_0x3d9377(0x1ba)](_0x4531f6));}[_0x18bb44(0x1a5)](_0x596950,_0x349d50){const _0x4dd7aa=_0x18bb44;this['_resources']['set'](_0x596950,_0x44cb53(_0x349d50)),this[_0x4dd7aa(0x1de)][_0x4dd7aa(0x1a8)]({'unitId':_0x596950});}[_0x18bb44(0x1dd)](_0x1afa52){const _0x5ec46b=_0x18bb44;this['_resources'][_0x5ec46b(0x206)](_0x1afa52),this[_0x5ec46b(0x1de)][_0x5ec46b(0x1a8)]({'unitId':_0x1afa52});}['dispose'](){const _0x99a486=_0x18bb44;super[_0x99a486(0x20f)](),this[_0x99a486(0x18e)][_0x99a486(0x1be)](),this[_0x99a486(0x1de)][_0x99a486(0x1e9)]();}['_setResource'](_0x5626a8,_0x1dfa8c,_0x1bcb54){const _0x58ef67=_0x18bb44;this['_resources'][_0x58ef67(0x1ab)](_0x5626a8,_0x1bcb54),this[_0x58ef67(0x1de)][_0x58ef67(0x1a8)]({'unitId':_0x5626a8,'blockId':_0x1dfa8c});}};let _0x31e639={'id':_0x18bb44(0x205),'type':_0x2d2ae4['CommandType'][_0x18bb44(0x192)],'handler':_0x2cd6d7=>{const _0x8a3151=_0x18bb44;let _0x2cf67e=_0x24fbff(_0x2cd6d7);if(_0x2cf67e)return _0x2cd6d7[_0x8a3151(0x1ba)](_0x2d2ae4[_0x8a3151(0x228)])['syncExecuteCommand'](_0x3da0e4['id'],{'startOffset':_0x2cf67e[_0x8a3151(0x1fc)],'endOffset':_0x2cf67e[_0x8a3151(0x217)],'unitId':_0x2cf67e['unitId']});let _0x469c2f=_0x8febec(_0x2cd6d7);if(!_0x469c2f)return!0x1;let _0x457185=_0x469c2f[_0x8a3151(0x1c6)]+0x1;return _0x2cd6d7[_0x8a3151(0x1ba)](_0x2d2ae4['ICommandService'])[_0x8a3151(0x1ae)](_0x3da0e4['id'],{'startOffset':_0x457185,'endOffset':_0x457185});}},_0x509773={'id':'docs-code.command.consume-boundary-delete','type':_0x2d2ae4['CommandType'][_0x18bb44(0x192)],'handler':()=>!0x0},_0x3da0e4={'id':_0x18bb44(0x224),'type':_0x2d2ae4[_0x18bb44(0x1e5)]['COMMAND'],'handler':(_0xe1e9ad,_0x48da87)=>{const _0x2cdebc=_0x18bb44;var _0x347e6a,_0x16cae9,_0x28e00d;let _0x308a97=_0x492273(_0xe1e9ad,_0x48da87==null?void 0x0:_0x48da87['unitId']);if(!_0x308a97)return!0x1;let _0x2a7516=_0x5330b4(_0xe1e9ad),_0x2f3e9a=_0x125d20({'blockId':(_0x347e6a=_0x48da87==null?void 0x0:_0x48da87['blockId'])==null?(0x0,_0x2d2ae4[_0x2cdebc(0x21b)])(0x6):_0x347e6a,'config':_0x48da87==null?void 0x0:_0x48da87['config'],'documentData':_0x308a97[_0x2cdebc(0x193)],'endOffset':(_0x16cae9=_0x48da87==null?void 0x0:_0x48da87[_0x2cdebc(0x217)])==null?_0x2a7516==null?void 0x0:_0x2a7516[_0x2cdebc(0x217)]:_0x16cae9,'metadata':_0x308a97[_0x2cdebc(0x1a9)][_0x2cdebc(0x207)](_0x308a97[_0x2cdebc(0x1d2)]),'startOffset':(_0x28e00d=_0x48da87==null?void 0x0:_0x48da87[_0x2cdebc(0x1fc)])==null?_0x2a7516==null?void 0x0:_0x2a7516[_0x2cdebc(0x1fc)]:_0x28e00d}),_0x32deae=_0x1bb343(_0x308a97['commandService'],_0x308a97[_0x2cdebc(0x1d2)],_0x308a97['previousDocumentData'],_0x2f3e9a['nextDocumentData'],_0x2f3e9a[_0x2cdebc(0x1df)]);return _0x32deae&&_0x2f3e9a[_0x2cdebc(0x1d1)]&&_0x308a97[_0x2cdebc(0x1a9)][_0x2cdebc(0x1a5)](_0x308a97['unitId'],_0x2f3e9a[_0x2cdebc(0x1d1)]),_0x32deae;}},_0x1fcaba={'id':'docs-code.command.update','type':_0x2d2ae4[_0x18bb44(0x1e5)][_0x18bb44(0x192)],'handler':(_0x22ef3c,_0x5a160a)=>{const _0x720427=_0x18bb44;if(!_0x5a160a)return!0x1;let _0xa50924=_0x492273(_0x22ef3c,_0x5a160a['unitId']);if(!_0xa50924)return!0x1;let _0x383662=_0x5a5761({'blockId':_0x5a160a[_0x720427(0x215)],'config':_0x5a160a[_0x720427(0x21f)],'documentData':_0xa50924['previousDocumentData'],'metadata':_0xa50924[_0x720427(0x1a9)][_0x720427(0x207)](_0xa50924['unitId'])});return _0x383662['nextMetadata']&&_0xa50924[_0x720427(0x1a9)][_0x720427(0x1a5)](_0xa50924[_0x720427(0x1d2)],_0x383662['nextMetadata']),!0x0;}},_0x37dca5={'id':'docs-code.command.exit','type':_0x2d2ae4[_0x18bb44(0x1e5)][_0x18bb44(0x192)],'handler':(_0x393e70,_0x4db286)=>{const _0x47d2aa=_0x18bb44;var _0x399394,_0x2c5738;let _0x276b1f=_0x492273(_0x393e70,_0x4db286==null?void 0x0:_0x4db286[_0x47d2aa(0x1d2)]);if(!_0x276b1f)return!0x1;let _0x188993=(_0x399394=_0x4db286==null?void 0x0:_0x4db286['cursorOffset'])==null?(_0x2c5738=_0x5330b4(_0x393e70))==null?void 0x0:_0x2c5738['startOffset']:_0x399394;if(_0x188993==null)return!0x1;let _0x392f65=_0x4f2c21({'cursorOffset':_0x188993,'documentData':_0x276b1f[_0x47d2aa(0x193)]});return _0x392f65?_0x1bb343(_0x276b1f['commandService'],_0x276b1f['unitId'],_0x276b1f[_0x47d2aa(0x193)],_0x392f65[_0x47d2aa(0x1e6)],_0x392f65['cursorOffset']):!0x1;}},_0x3b4d94={'id':_0x18bb44(0x1d6),'type':_0x2d2ae4[_0x18bb44(0x1e5)][_0x18bb44(0x192)],'handler':(_0x5bbf6b,_0x3bba85)=>{const _0x32a58d=_0x18bb44;var _0x135167,_0x446ba3;let _0xea79b6=_0x492273(_0x5bbf6b,_0x3bba85==null?void 0x0:_0x3bba85['unitId']);if(!_0xea79b6)return!0x1;let _0x61bffc=(_0x135167=_0x3bba85==null?void 0x0:_0x3bba85[_0x32a58d(0x1df)])==null?(_0x446ba3=_0x5330b4(_0x5bbf6b))==null?void 0x0:_0x446ba3[_0x32a58d(0x1fc)]:_0x135167;if(_0x61bffc==null)return!0x1;let _0x4e72f9=_0x5d4520({'cursorOffset':_0x61bffc,'documentData':_0xea79b6[_0x32a58d(0x193)],'paragraphStartIndex':_0x3bba85==null?void 0x0:_0x3bba85['paragraphStartIndex']});return _0x4e72f9?_0x1bb343(_0xea79b6[_0x32a58d(0x235)],_0xea79b6[_0x32a58d(0x1d2)],_0xea79b6[_0x32a58d(0x193)],_0x4e72f9[_0x32a58d(0x1e6)],_0x4e72f9['cursorOffset']):!0x1;}};function _0x492273(_0x2ce90c,_0xf6aeea){const _0x3042ad=_0x18bb44;let _0x2de3fa=_0x2ce90c['get'](_0x2d2ae4[_0x3042ad(0x21c)]),_0x443435=_0xf6aeea?_0x2de3fa[_0x3042ad(0x233)](_0xf6aeea):_0x2de3fa[_0x3042ad(0x1d4)](_0x2d2ae4['UniverInstanceType'][_0x3042ad(0x199)]);return _0x443435?{'commandService':_0x2ce90c[_0x3042ad(0x1ba)](_0x2d2ae4[_0x3042ad(0x228)]),'model':_0x2ce90c[_0x3042ad(0x1ba)](_0x4cee88),'previousDocumentData':_0x443435['getSnapshot'](),'unitId':_0x443435[_0x3042ad(0x221)]()}:null;}function _0x5330b4(_0x4da611){const _0x3c9643=_0x18bb44;var _0x473cd3;return(_0x473cd3=_0x4da611[_0x3c9643(0x1ba)](_0x420f42['DocSelectionManagerService'])[_0x3c9643(0x1b8)]())==null?void 0x0:_0x473cd3[0x0];}function _0x24fbff(_0x1d5246){const _0x12c983=_0x18bb44;var _0x477f8f;let _0x351969=(_0x477f8f=_0x1d5246[_0x12c983(0x1ba)](_0x2d2ae4[_0x12c983(0x21c)])['getCurrentUnitOfType'](_0x2d2ae4['UniverInstanceType'][_0x12c983(0x199)]))==null?void 0x0:_0x477f8f[_0x12c983(0x221)]();try{return _0x1d5246[_0x12c983(0x1ba)](_0x420f42[_0x12c983(0x1b7)])[_0x12c983(0x231)](_0x351969);}catch{return null;}}function _0x8febec(_0x4cbb88){const _0x3a2c9c=_0x18bb44;var _0x10209e,_0x4f1c07,_0x439eb3;let _0x5dde41=_0x5330b4(_0x4cbb88);if(!_0x5dde41)return null;let _0x56f504=_0x4cbb88[_0x3a2c9c(0x1ba)](_0x2d2ae4[_0x3a2c9c(0x21c)])[_0x3a2c9c(0x1d4)](_0x2d2ae4[_0x3a2c9c(0x1a0)]['UNIVER_DOC']),_0x3efb27=_0x56f504==null?void 0x0:_0x56f504[_0x3a2c9c(0x214)]();return _0x3efb27?(_0x10209e=_0x2d2ae4['BuildTextUtils'][_0x3a2c9c(0x1a4)]['getParagraphsInRange'](_0x5dde41,(_0x4f1c07=_0x3efb27[_0x3a2c9c(0x19a)])==null?[]:_0x4f1c07,(_0x439eb3=_0x3efb27['dataStream'])==null?'':_0x439eb3)[0x0])==null?null:_0x10209e:null;}function _0x1c1bc4(_0x207bf7,_0x25813a){const _0x2ce4c0=_0x18bb44;var _0x321c58,_0xf0aefe,_0x4811c4,_0xe33741,_0x240c61,_0x19d348,_0x75467b,_0x53698a,_0x316ed8,_0x23301a,_0x3a7cf3,_0x331b9c,_0x2c32eb,_0x440e19,_0x184870,_0x412711,_0x3aed07,_0x4809be;let _0x3b6d61=_0x2d2ae4[_0x2ce4c0(0x1e1)][_0x2ce4c0(0x20c)]();return[_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x209)],(_0x321c58=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x321c58[_0x2ce4c0(0x209)],(_0xf0aefe=_0x25813a['body'])==null?void 0x0:_0xf0aefe['dataStream']),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x19a)],(_0x4811c4=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x4811c4[_0x2ce4c0(0x19a)],(_0xe33741=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0xe33741['paragraphs']),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x211)],(_0x240c61=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x240c61[_0x2ce4c0(0x211)],(_0x19d348=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x19d348[_0x2ce4c0(0x211)]),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x1e4)],(_0x75467b=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x75467b[_0x2ce4c0(0x1e4)],(_0x53698a=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x53698a[_0x2ce4c0(0x1e4)]),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x21a)],(_0x316ed8=_0x207bf7['body'])==null?void 0x0:_0x316ed8[_0x2ce4c0(0x21a)],(_0x23301a=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x23301a[_0x2ce4c0(0x21a)]),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x22f)],(_0x3a7cf3=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x3a7cf3[_0x2ce4c0(0x22f)],(_0x331b9c=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x331b9c['customRanges']),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),_0x2ce4c0(0x19d)],(_0x2c32eb=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x2c32eb['customDecorations'],(_0x440e19=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x440e19[_0x2ce4c0(0x19d)]),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),'tables'],(_0x184870=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x184870[_0x2ce4c0(0x20e)],(_0x412711=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x412711[_0x2ce4c0(0x20e)]),_0x484a69(_0x3b6d61,[_0x2ce4c0(0x216),'blockRanges'],(_0x3aed07=_0x207bf7[_0x2ce4c0(0x216)])==null?void 0x0:_0x3aed07[_0x2ce4c0(0x1ad)],(_0x4809be=_0x25813a[_0x2ce4c0(0x216)])==null?void 0x0:_0x4809be[_0x2ce4c0(0x1ad)])]['filter'](Boolean)[_0x2ce4c0(0x1c8)]((_0x155421,_0x27252c)=>_0x2d2ae4[_0x2ce4c0(0x1e1)]['compose'](_0x155421,_0x27252c),null);}function _0x484a69(_0x3fdb40,_0x186b88,_0x414050,_0x340abb){const _0x42bbac=_0x18bb44;return _0x2d2ae4[_0x42bbac(0x19b)][_0x42bbac(0x1b6)](_0x414050,_0x340abb)?null:_0x3fdb40[_0x42bbac(0x21e)](_0x186b88,_0x414050,_0x340abb);}function _0x1bb343(_0x1b172d,_0x169d2d,_0x9d73b2,_0x520d15,_0x107c54){const _0x3add32=_0x18bb44;let _0x196673=_0x1c1bc4(_0x9d73b2,_0x520d15);return _0x196673?!!_0x1b172d['syncExecuteCommand'](_0x420f42[_0x3add32(0x1db)]['id'],{'unitId':_0x169d2d,'actions':_0x196673,'textRanges':[{'startOffset':_0x107c54,'endOffset':_0x107c54,'collapsed':!0x0}],'isEditing':!0x1}):!0x1;}let _0x1e3738=_0x18bb44(0x19e);var _0x5a3dcb=_0x18bb44(0x1f6),_0x54f6ef=_0x18bb44(0x1c0);let _0x234ecf={};function _0x5d501f(_0xc002d7,_0x45474e){return function(_0x3ec368,_0xc614dd){_0x45474e(_0x3ec368,_0xc614dd,_0xc002d7);};}function _0xc0f957(_0xd80a37,_0x5a3aa7,_0x80b769,_0x556801){const _0x1c92ae=_0x18bb44;var _0x334e88=arguments[_0x1c92ae(0x1bb)],_0x161254=_0x334e88<0x3?_0x5a3aa7:_0x556801===null?_0x556801=Object[_0x1c92ae(0x1c1)](_0x5a3aa7,_0x80b769):_0x556801,_0x2c8d52;if(typeof Reflect=='object'&&typeof Reflect[_0x1c92ae(0x1cb)]==_0x1c92ae(0x1a3))_0x161254=Reflect[_0x1c92ae(0x1cb)](_0xd80a37,_0x5a3aa7,_0x80b769,_0x556801);else{for(var _0x499bf2=_0xd80a37[_0x1c92ae(0x1bb)]-0x1;_0x499bf2>=0x0;_0x499bf2--)(_0x2c8d52=_0xd80a37[_0x499bf2])&&(_0x161254=(_0x334e88<0x3?_0x2c8d52(_0x161254):_0x334e88>0x3?_0x2c8d52(_0x5a3aa7,_0x80b769,_0x161254):_0x2c8d52(_0x5a3aa7,_0x80b769))||_0x161254);}return _0x334e88>0x3&&_0x161254&&Object[_0x1c92ae(0x1cf)](_0x5a3aa7,_0x80b769,_0x161254),_0x161254;}let _0x478c4e=class extends _0x2d2ae4['Disposable']{constructor(_0x31c1f1,_0x10e8d3){const _0x1e2832=_0x18bb44;super(),this[_0x1e2832(0x1fe)]=_0x31c1f1,this[_0x1e2832(0x1f4)]=_0x10e8d3,this[_0x1e2832(0x22d)]();}[_0x18bb44(0x22d)](){const _0x529a69=_0x18bb44;this[_0x529a69(0x1c9)](this['_resourceManagerService'][_0x529a69(0x1e0)]({'pluginName':_0x1e3738,'businesses':[_0x2d2ae4[_0x529a69(0x1a0)]['UNIVER_DOC']],'toJson':_0x3a1301=>JSON['stringify'](this[_0x529a69(0x1f4)][_0x529a69(0x207)](_0x3a1301)),'parseJson':_0x459c7f=>_0x44cb53(JSON[_0x529a69(0x1cd)](_0x459c7f)),'onLoad':(_0x36aaa8,_0x3fcd40)=>this[_0x529a69(0x1f4)][_0x529a69(0x1a5)](_0x36aaa8,_0x3fcd40),'onUnLoad':_0x5beba7=>this['_docsCodeModel'][_0x529a69(0x1dd)](_0x5beba7)}));}};_0x478c4e=_0xc0f957([_0x5d501f(0x0,_0x2d2ae4[_0x18bb44(0x18b)]),_0x5d501f(0x1,(0x0,_0x2d2ae4['Inject'])(_0x4cee88))],_0x478c4e);let _0x147529=class extends _0x2d2ae4['Plugin']{constructor(_0x1d0194=_0x234ecf,_0x3df27c,_0x4df3ea,_0x3e36cd){const _0x2a3508=_0x18bb44;super(),this['_config']=_0x1d0194,this[_0x2a3508(0x1da)]=_0x3df27c,this[_0x2a3508(0x1f5)]=_0x4df3ea,this[_0x2a3508(0x212)]=_0x3e36cd;let {..._0x6498fd}=(0x0,_0x2d2ae4[_0x2a3508(0x1b4)])({},_0x234ecf,this[_0x2a3508(0x1e7)]);this[_0x2a3508(0x212)][_0x2a3508(0x1d0)](_0x2a3508(0x202),_0x6498fd);}[_0x18bb44(0x218)](){const _0x26e5d6=_0x18bb44;this[_0x26e5d6(0x1da)][_0x26e5d6(0x210)]([_0x4cee88]),this[_0x26e5d6(0x1da)][_0x26e5d6(0x210)]([_0x478c4e]),this[_0x26e5d6(0x1da)][_0x26e5d6(0x1ba)](_0x4cee88),this[_0x26e5d6(0x1da)][_0x26e5d6(0x1ba)](_0x478c4e),[_0x3da0e4,_0x31e639,_0x1fcaba,_0x37dca5,_0x3b4d94,_0x509773]['forEach'](_0x4e3fd8=>this[_0x26e5d6(0x1c9)](this[_0x26e5d6(0x1f5)]['registerCommand'](_0x4e3fd8)));}};_0x355256(_0x147529,_0x18bb44(0x23e),_0x1e3738),_0x355256(_0x147529,_0x18bb44(0x197),_0x5a3dcb),_0x355256(_0x147529,_0x18bb44(0x23f),_0x54f6ef),_0x355256(_0x147529,_0x18bb44(0x232),_0x2d2ae4[_0x18bb44(0x1a0)][_0x18bb44(0x199)]),_0x147529=_0xc0f957([(0x0,_0x2d2ae4[_0x18bb44(0x1ca)])(_0x181267[_0x18bb44(0x22e)],_0x420f42[_0x18bb44(0x225)]),_0x5d501f(0x1,(0x0,_0x2d2ae4[_0x18bb44(0x1ff)])(_0x2d2ae4[_0x18bb44(0x1ce)])),_0x5d501f(0x2,_0x2d2ae4[_0x18bb44(0x228)]),_0x5d501f(0x3,_0x2d2ae4['IConfigService'])],_0x147529),_0x323281[_0x18bb44(0x194)]=_0x44adb7,_0x323281['DOCS_CODE_PLUGIN']=_0x1e3738,_0x323281[_0x18bb44(0x1f2)]=_0x3b4d94,_0x323281['DocsCodeConsumeBoundaryDeleteCommand']=_0x509773,_0x323281['DocsCodeExitCommand']=_0x37dca5,_0x323281[_0x18bb44(0x237)]=_0x31e639,_0x323281[_0x18bb44(0x1b5)]=_0x3da0e4,_0x323281['DocsCodeModel']=_0x4cee88,_0x323281[_0x18bb44(0x238)]=_0x1fcaba,Object[_0x18bb44(0x1cf)](_0x323281,_0x18bb44(0x18d),{'enumerable':!0x0,'get':function(){return _0x147529;}}),_0x323281['buildCancelEmptyCodeParagraphActions']=_0x5d4520,_0x323281[_0x18bb44(0x1aa)]=_0x4f2c21,_0x323281[_0x18bb44(0x1ef)]=_0x125d20,_0x323281[_0x18bb44(0x1ed)]=_0x5a5761,_0x323281[_0x18bb44(0x20d)]=_0x13a49b,_0x323281[_0x18bb44(0x195)]=_0x363106,_0x323281[_0x18bb44(0x18c)]=_0x566ed2;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
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,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs
|
|
66
|
-
"@univerjs/docs": "0.
|
|
67
|
-
"@univerjs/docs-ui": "0.25.1"
|
|
64
|
+
"@univerjs-pro/license": "1.0.0-alpha.1",
|
|
65
|
+
"@univerjs/core": "1.0.0-alpha.1",
|
|
66
|
+
"@univerjs/docs": "1.0.0-alpha.1"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {
|
|
70
69
|
"rxjs": "7.8.2",
|
|
71
70
|
"typescript": "^6.0.3",
|
|
72
|
-
"vitest": "^4.1.
|
|
73
|
-
"@univerjs-infra/shared": "0.
|
|
71
|
+
"vitest": "^4.1.9",
|
|
72
|
+
"@univerjs-infra/shared": "1.0.0-alpha.1"
|
|
74
73
|
},
|
|
75
74
|
"scripts": {
|
|
76
75
|
"test": "vitest run",
|