@univerjs-pro/docs-code 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x419a(_0x29af4f,_0x5f1c66){_0x29af4f=_0x29af4f-0x115;var _0x1a0357=_0x1a03();var _0x419a61=_0x1a0357[_0x29af4f];return _0x419a61;}(function(_0x1fd0b9,_0x5132ca){var _0x36fff3=_0x419a,_0x275414=_0x1fd0b9();while(!![]){try{var _0x5c13a6=parseInt(_0x36fff3(0x11b))/0x1+parseInt(_0x36fff3(0x14e))/0x2*(-parseInt(_0x36fff3(0x129))/0x3)+parseInt(_0x36fff3(0x115))/0x4*(parseInt(_0x36fff3(0x119))/0x5)+-parseInt(_0x36fff3(0x121))/0x6*(parseInt(_0x36fff3(0x11d))/0x7)+-parseInt(_0x36fff3(0x14f))/0x8+parseInt(_0x36fff3(0x15f))/0x9+parseInt(_0x36fff3(0x126))/0xa;if(_0x5c13a6===_0x5132ca)break;else _0x275414['push'](_0x275414['shift']());}catch(_0x4e7254){_0x275414['push'](_0x275414['shift']());}}}(_0x1a03,0xd7d98),function(_0x2ea1ef,_0x433ef7){var _0x115371=_0x419a;typeof exports==_0x115371(0x167)&&typeof module<'u'?_0x433ef7(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x115371(0x144)&&define[_0x115371(0x13e)]?define([_0x115371(0x11a),_0x115371(0x154),'@univerjs/core','@univerjs/docs/facade'],_0x433ef7):(_0x2ea1ef=typeof globalThis<'u'?globalThis:_0x2ea1ef||self,_0x433ef7(_0x2ea1ef[_0x115371(0x15a)]={},_0x2ea1ef['UniverProDocsCode'],_0x2ea1ef[_0x115371(0x137)],_0x2ea1ef['UniverDocsFacade']));}(this,function(_0x283528,_0x8ccb24,_0x18f01a,_0x2f557a){var _0x266d0a=_0x419a;Object[_0x266d0a(0x15c)](_0x283528,Symbol['toStringTag'],{'value':_0x266d0a(0x139)});function _0x2db9ba(_0xf832a0){'@babel/helpers - typeof';var _0x8a7eb=_0x266d0a;return _0x2db9ba=typeof Symbol==_0x8a7eb(0x144)&&typeof Symbol[_0x8a7eb(0x12f)]==_0x8a7eb(0x13c)?function(_0x453215){return typeof _0x453215;}:function(_0x543515){var _0x18cca7=_0x8a7eb;return _0x543515&&typeof Symbol==_0x18cca7(0x144)&&_0x543515[_0x18cca7(0x135)]===Symbol&&_0x543515!==Symbol[_0x18cca7(0x13f)]?_0x18cca7(0x13c):typeof _0x543515;},_0x2db9ba(_0xf832a0);}function _0x5ee1cb(_0x5a6671,_0x39f13c){var _0x590373=_0x266d0a;if(_0x2db9ba(_0x5a6671)!=_0x590373(0x167)||!_0x5a6671)return _0x5a6671;var _0x3bb1a3=_0x5a6671[Symbol[_0x590373(0x13d)]];if(_0x3bb1a3!==void 0x0){var _0x8f2168=_0x3bb1a3[_0x590373(0x13b)](_0x5a6671,_0x39f13c||_0x590373(0x168));if(_0x2db9ba(_0x8f2168)!=_0x590373(0x167))return _0x8f2168;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x39f13c==='string'?String:Number)(_0x5a6671);}function _0x3bbcaa(_0x5c4d46){var _0x2442de=_0x266d0a,_0x31c150=_0x5ee1cb(_0x5c4d46,_0x2442de(0x149));return _0x2db9ba(_0x31c150)==_0x2442de(0x13c)?_0x31c150:_0x31c150+'';}function _0x3f683b(_0x1aa708,_0x18a199,_0x343997){return(_0x18a199=_0x3bbcaa(_0x18a199))in _0x1aa708?Object['defineProperty'](_0x1aa708,_0x18a199,{'value':_0x343997,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1aa708[_0x18a199]=_0x343997,_0x1aa708;}function _0x701b3b(_0x800e9a,_0x4c596a){return function(_0x4ed05a,_0x23776c){_0x4c596a(_0x4ed05a,_0x23776c,_0x800e9a);};}function _0x192831(_0x3bdafe,_0x576e5e,_0x48bd93,_0x4e9a0d){var _0x243e08=_0x266d0a,_0x4e555b=arguments['length'],_0x268243=_0x4e555b<0x3?_0x576e5e:_0x4e9a0d===null?_0x4e9a0d=Object[_0x243e08(0x14a)](_0x576e5e,_0x48bd93):_0x4e9a0d,_0x224537;if(typeof Reflect=='object'&&typeof Reflect[_0x243e08(0x141)]==_0x243e08(0x144))_0x268243=Reflect[_0x243e08(0x141)](_0x3bdafe,_0x576e5e,_0x48bd93,_0x4e9a0d);else{for(var _0x564439=_0x3bdafe[_0x243e08(0x160)]-0x1;_0x564439>=0x0;_0x564439--)(_0x224537=_0x3bdafe[_0x564439])&&(_0x268243=(_0x4e555b<0x3?_0x224537(_0x268243):_0x4e555b>0x3?_0x224537(_0x576e5e,_0x48bd93,_0x268243):_0x224537(_0x576e5e,_0x48bd93))||_0x268243);}return _0x4e555b>0x3&&_0x268243&&Object[_0x243e08(0x15c)](_0x576e5e,_0x48bd93,_0x268243),_0x268243;}let _0x3f4385=class{constructor(_0x5d7d4c,_0x43cbf3,_0x5334e0){var _0x1e0780=_0x266d0a;this['_document']=_0x5d7d4c,this[_0x1e0780(0x165)]=_0x43cbf3,this['_injector']=_0x5334e0,_0x3f683b(this,'_unitId',void 0x0),this[_0x1e0780(0x159)]=this[_0x1e0780(0x162)][_0x1e0780(0x124)]();}[_0x266d0a(0x124)](){var _0x5b6411=_0x266d0a;return this[_0x5b6411(0x165)];}['getRange'](){var _0x504aee=_0x266d0a;let _0x321546=this[_0x504aee(0x140)]();return _0x321546?{'blockId':_0x321546['blockId'],'endIndex':_0x321546[_0x504aee(0x127)],'startIndex':_0x321546['startIndex']}:null;}[_0x266d0a(0x128)](){var _0x3556cf=_0x266d0a,_0x45128a;let _0xee0559=this[_0x3556cf(0x140)](),_0x7e1d50=(_0x45128a=this[_0x3556cf(0x142)]()['body'])==null?void 0x0:_0x45128a[_0x3556cf(0x125)];return!_0xee0559||!_0x7e1d50?'':_0x3717e2(_0x7e1d50[_0x3556cf(0x117)](_0xee0559[_0x3556cf(0x131)]+0x1,_0xee0559[_0x3556cf(0x127)]));}[_0x266d0a(0x156)](){var _0x5e5627=_0x266d0a;let _0x2a53b4=this['getRange']();return _0x2a53b4?{..._0x2a53b4,'config':this[_0x5e5627(0x146)](),'text':this[_0x5e5627(0x128)](),'type':_0x18f01a[_0x5e5627(0x12a)][_0x5e5627(0x136)]}:null;}[_0x266d0a(0x146)](){var _0x4b2198=_0x266d0a;let _0x33fb8e=this['_injector'][_0x4b2198(0x130)](_0x8ccb24[_0x4b2198(0x123)]);return(0x0,_0x8ccb24[_0x4b2198(0x120)])(_0x33fb8e['getCodeConfig'](this['_unitId'],this['_blockId']));}[_0x266d0a(0x158)](_0x4b4e55){var _0x2bc06b=_0x266d0a;return this['_injector']['get'](_0x18f01a[_0x2bc06b(0x150)])['syncExecuteCommand'](_0x8ccb24[_0x2bc06b(0x163)]['id'],{'blockId':this[_0x2bc06b(0x165)],'config':_0x4b4e55[_0x2bc06b(0x15d)],'unitId':this['_unitId']});}[_0x266d0a(0x164)](){var _0x216d67=_0x266d0a;return this['_injector'][_0x216d67(0x130)](_0x18f01a[_0x216d67(0x150)])[_0x216d67(0x11e)](_0x8ccb24['DocsCodeUnwrapCommand']['id'],{'blockId':this[_0x216d67(0x165)],'unitId':this[_0x216d67(0x159)]});}['remove'](){var _0x1c0a52=_0x266d0a;return this[_0x1c0a52(0x145)]['get'](_0x18f01a[_0x1c0a52(0x150)])[_0x1c0a52(0x11e)](_0x8ccb24['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x1c0a52(0x165)],'unitId':this['_unitId']});}[_0x266d0a(0x140)](){var _0x511d6e=_0x266d0a,_0x3c1184;return((_0x3c1184=this[_0x511d6e(0x142)]()[_0x511d6e(0x143)])==null||(_0x3c1184=_0x3c1184[_0x511d6e(0x12c)])==null?void 0x0:_0x3c1184[_0x511d6e(0x13a)](_0xa1f5d2=>_0xa1f5d2[_0x511d6e(0x134)]===this[_0x511d6e(0x165)]&&_0xa1f5d2[_0x511d6e(0x169)]===_0x18f01a[_0x511d6e(0x12a)][_0x511d6e(0x136)]))??null;}['_getDocumentData'](){var _0x512c39=_0x266d0a;return this[_0x512c39(0x162)]['save']();}};_0x3f4385=_0x192831([_0x701b3b(0x2,(0x0,_0x18f01a[_0x266d0a(0x14c)])(_0x18f01a[_0x266d0a(0x15b)]))],_0x3f4385);function _0x3717e2(_0x2999e8){var _0x21de29=_0x266d0a;return Array['from'](_0x2999e8)[_0x21de29(0x138)](_0x540781=>_0x540781===_0x18f01a[_0x21de29(0x152)]['PARAGRAPH']?'\x0a':_0x540781)[_0x21de29(0x147)](_0x39467a=>_0x39467a!==_0x18f01a[_0x21de29(0x152)][_0x21de29(0x133)]&&_0x39467a!==_0x18f01a[_0x21de29(0x152)][_0x21de29(0x12d)]&&_0x39467a!==_0x18f01a[_0x21de29(0x152)]['SECTION_BREAK'])['join']('')[_0x21de29(0x14b)](/\n$/,'');}var _0x1ccba2=class extends _0x2f557a[_0x266d0a(0x118)]{[_0x266d0a(0x157)](){var _0x36cc0d=_0x266d0a;return this[_0x36cc0d(0x166)]()['filter'](_0x4ebca4=>_0x4ebca4[_0x36cc0d(0x169)]===_0x18f01a['DocumentBlockRangeType']['CODE'])[_0x36cc0d(0x138)](_0x13a417=>this['_createFDocumentCode'](_0x13a417[_0x36cc0d(0x134)]));}[_0x266d0a(0x148)](_0x536382){var _0x5e0074=_0x266d0a;return this[_0x5e0074(0x166)]()[_0x5e0074(0x12e)](_0x16d855=>_0x16d855['blockId']===_0x536382&&_0x16d855['blockType']===_0x18f01a[_0x5e0074(0x12a)][_0x5e0074(0x136)])?this['_createFDocumentCode'](_0x536382):null;}['getCodeAt'](_0x2e9b2b){var _0x16a27d=_0x266d0a;let _0x564a79=this[_0x16a27d(0x166)]()[_0x16a27d(0x13a)](_0x8f1957=>_0x8f1957[_0x16a27d(0x169)]===_0x18f01a['DocumentBlockRangeType'][_0x16a27d(0x136)]&&_0x8f1957[_0x16a27d(0x131)]<=_0x2e9b2b&&_0x2e9b2b<=_0x8f1957[_0x16a27d(0x127)]);return _0x564a79?this[_0x16a27d(0x132)](_0x564a79[_0x16a27d(0x134)]):null;}[_0x266d0a(0x11f)](_0x4bc1b2){return this['findCodes'](_0x4bc1b2)[0x0]??null;}[_0x266d0a(0x151)](_0x5ef5fe){var _0x30f580=_0x266d0a;let _0x4066e6=typeof _0x5ef5fe==_0x30f580(0x149)?{'text':_0x5ef5fe}:_0x5ef5fe;return this[_0x30f580(0x157)]()[_0x30f580(0x147)](_0x5a35e5=>!(_0x4066e6[_0x30f580(0x134)]&&_0x5a35e5['getId']()!==_0x4066e6[_0x30f580(0x134)]||_0x4066e6['text']&&!_0x5a35e5['getText']()['includes'](_0x4066e6[_0x30f580(0x155)])));}[_0x266d0a(0x153)](_0x4837ea={},_0x43b4fe={}){var _0x5c46ac=_0x266d0a;let _0x5b212c=this['_injector'][_0x5c46ac(0x130)](_0x18f01a[_0x5c46ac(0x150)]),_0x30f2b4=(0x0,_0x2f557a['isParagraphFacade'])(_0x4837ea)?{..._0x43b4fe,..._0x4837ea[_0x5c46ac(0x12b)]()}:_0x4837ea,_0x51c294=_0x30f2b4[_0x5c46ac(0x134)]??(0x0,_0x18f01a[_0x5c46ac(0x11c)])(0x6);return _0x5b212c[_0x5c46ac(0x11e)](_0x8ccb24[_0x5c46ac(0x15e)]['id'],{..._0x30f2b4,'blockId':_0x51c294,'unitId':this[_0x5c46ac(0x124)]()})?this['getCode'](_0x51c294):null;}[_0x266d0a(0x166)](){var _0x44ec78=_0x266d0a,_0x5e98bd;return((_0x5e98bd=this[_0x44ec78(0x14d)]()['body'])==null?void 0x0:_0x5e98bd[_0x44ec78(0x12c)])??[];}[_0x266d0a(0x132)](_0x53298f){var _0x12a307=_0x266d0a;return this['_injector'][_0x12a307(0x116)](_0x3f4385,this,_0x53298f);}};_0x2f557a[_0x266d0a(0x118)][_0x266d0a(0x122)](_0x1ccba2),Object[_0x266d0a(0x15c)](_0x283528,_0x266d0a(0x161),{'enumerable':!0x0,'get':function(){return _0x3f4385;}});}));function _0x1a03(){var _0x19c2ab=['startIndex','_createFDocumentCode','BLOCK_START','blockId','constructor','CODE','UniverCore','map','Module','find','call','symbol','toPrimitive','amd','prototype','_getBlockRange','decorate','_getDocumentData','body','function','_injector','getConfig','filter','getCode','string','getOwnPropertyDescriptor','replace','Inject','save','2kJbkoB','890968cUgdTg','ICommandService','findCodes','DataStreamTreeTokenType','insertCode','@univerjs-pro/docs-code','text','describe','getCodes','updateConfig','_unitId','UniverProDocsCodeFacade','Injector','defineProperty','config','DocsCodeInsertCommand','5816223mAUOVi','length','FDocumentCode','_document','DocsCodeUpdateCommand','unwrap','_blockId','_getBlockRanges','object','default','blockType','7019744UZlmMP','createInstance','slice','FDocument','5nDSjHu','exports','84587eQqkDb','generateRandomId','1485953wSCxES','syncExecuteCommand','findCodeByText','normalizeDocsCodeConfig','42lWVwMe','extend','DocsCodeModel','getId','dataStream','3564410wUmyAJ','endIndex','getText','1082301hPYXWN','DocumentBlockRangeType','getRange','blockRanges','BLOCK_END','some','iterator','get'];_0x1a03=function(){return _0x19c2ab;};return _0x1a03();}
1
+ function _0x3114(){var _0x19520a=['symbol','_injector','12051603sDXOnm','toPrimitive','defineProperty','11694QsdJaX','@univerjs-pro/docs-code','_blockId','539599ZzFqoD','decorate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','3257448ssRafc','object','CODE','DocumentBlockRangeType','_getBlockRanges','normalizeDocsCodeConfig','unwrap','iterator','call','2516590bxQJOp','_getBlockRange','filter','remove','constructor','1099041LQQuXm','DocsCodeRemoveCommand','_getDocumentData','BLOCK_END','from','BLOCK_START','prototype','_createFDocumentCode','2KhVuGl','startIndex','toStringTag','DataStreamTreeTokenType','get','25370686bTEjei','Injector','UniverDocsFacade','updateConfig','getRange','isParagraphFacade','FDocumentCode','slice','text','Inject','createInstance','function','ICommandService','Module','map','getText','7HzVlSi','getCodes','_unitId','amd','FDocument','SECTION_BREAK','generateRandomId','findCodes','DocsCodeUnwrapCommand','syncExecuteCommand','find','getOwnPropertyDescriptor','blockRanges','DocsCodeModel','findCodeByText','dataStream','endIndex','some','UniverProDocsCodeFacade','length','blockType','getCodeAt','blockId','getConfig','_document','body','string','DocsCodeInsertCommand','getId','DocsCodeUpdateCommand','getCodeConfig','save','4lfPzFB','2425tIuDpM'];_0x3114=function(){return _0x19520a;};return _0x3114();}function _0x299b(_0x177f31,_0x35de84){_0x177f31=_0x177f31-0x9e;var _0x31146e=_0x3114();var _0x299b8e=_0x31146e[_0x177f31];return _0x299b8e;}(function(_0x32a07a,_0x38564a){var _0x4cea65=_0x299b,_0x370098=_0x32a07a();while(!![]){try{var _0x4e1586=-parseInt(_0x4cea65(0xc7))/0x1*(-parseInt(_0x4cea65(0xe0))/0x2)+-parseInt(_0x4cea65(0xd8))/0x3*(parseInt(_0x4cea65(0xbd))/0x4)+-parseInt(_0x4cea65(0xbe))/0x5*(parseInt(_0x4cea65(0xc4))/0x6)+-parseInt(_0x4cea65(0xf5))/0x7*(-parseInt(_0x4cea65(0xca))/0x8)+-parseInt(_0x4cea65(0xc1))/0x9+parseInt(_0x4cea65(0xd3))/0xa+parseInt(_0x4cea65(0xe5))/0xb;if(_0x4e1586===_0x38564a)break;else _0x370098['push'](_0x370098['shift']());}catch(_0xa5aafe){_0x370098['push'](_0x370098['shift']());}}}(_0x3114,0xd08aa),function(_0x1f5bab,_0x29d7e6){var _0x2932aa=_0x299b;typeof exports==_0x2932aa(0xcb)&&typeof module<'u'?_0x29d7e6(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x2932aa(0xf0)&&define[_0x2932aa(0xa0)]?define(['exports',_0x2932aa(0xc5),'@univerjs/core','@univerjs/docs/facade'],_0x29d7e6):(_0x1f5bab=typeof globalThis<'u'?globalThis:_0x1f5bab||self,_0x29d7e6(_0x1f5bab[_0x2932aa(0xaf)]={},_0x1f5bab['UniverProDocsCode'],_0x1f5bab['UniverCore'],_0x1f5bab[_0x2932aa(0xe7)]));}(this,function(_0x1cae52,_0x215ddd,_0x5069ce,_0x113430){var _0x5d0e10=_0x299b;Object[_0x5d0e10(0xc3)](_0x1cae52,Symbol[_0x5d0e10(0xe2)],{'value':_0x5d0e10(0xf2)});function _0x57cf60(_0x46c1bc){'@babel/helpers - typeof';var _0x2ea60a=_0x5d0e10;return _0x57cf60=typeof Symbol=='function'&&typeof Symbol[_0x2ea60a(0xd1)]==_0x2ea60a(0xbf)?function(_0x56410e){return typeof _0x56410e;}:function(_0x4a269f){var _0x52d0e7=_0x2ea60a;return _0x4a269f&&typeof Symbol==_0x52d0e7(0xf0)&&_0x4a269f[_0x52d0e7(0xd7)]===Symbol&&_0x4a269f!==Symbol[_0x52d0e7(0xde)]?_0x52d0e7(0xbf):typeof _0x4a269f;},_0x57cf60(_0x46c1bc);}function _0x1613a6(_0xf21e37,_0x4ea5e4){var _0x31a77=_0x5d0e10;if(_0x57cf60(_0xf21e37)!=_0x31a77(0xcb)||!_0xf21e37)return _0xf21e37;var _0x8a1656=_0xf21e37[Symbol[_0x31a77(0xc2)]];if(_0x8a1656!==void 0x0){var _0x56e37a=_0x8a1656[_0x31a77(0xd2)](_0xf21e37,_0x4ea5e4||'default');if(_0x57cf60(_0x56e37a)!=_0x31a77(0xcb))return _0x56e37a;throw TypeError(_0x31a77(0xc9));}return(_0x4ea5e4===_0x31a77(0xb7)?String:Number)(_0xf21e37);}function _0x5796d7(_0x476ac7){var _0x597286=_0x5d0e10,_0xd55e7c=_0x1613a6(_0x476ac7,'string');return _0x57cf60(_0xd55e7c)==_0x597286(0xbf)?_0xd55e7c:_0xd55e7c+'';}function _0x3863ce(_0x201994,_0x3d3e4b,_0x135a92){var _0x8ede46=_0x5d0e10;return(_0x3d3e4b=_0x5796d7(_0x3d3e4b))in _0x201994?Object[_0x8ede46(0xc3)](_0x201994,_0x3d3e4b,{'value':_0x135a92,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x201994[_0x3d3e4b]=_0x135a92,_0x201994;}function _0x58caf7(_0x27b65b,_0x4f3051){return function(_0x2bacfa,_0x31e907){_0x4f3051(_0x2bacfa,_0x31e907,_0x27b65b);};}function _0x4f2234(_0x5e2d29,_0x5da662,_0x575ce9,_0x2a6ac4){var _0x6b150e=_0x5d0e10,_0x5bbca2=arguments['length'],_0x241cb3=_0x5bbca2<0x3?_0x5da662:_0x2a6ac4===null?_0x2a6ac4=Object[_0x6b150e(0xa8)](_0x5da662,_0x575ce9):_0x2a6ac4,_0xdce955;if(typeof Reflect==_0x6b150e(0xcb)&&typeof Reflect[_0x6b150e(0xc8)]==_0x6b150e(0xf0))_0x241cb3=Reflect[_0x6b150e(0xc8)](_0x5e2d29,_0x5da662,_0x575ce9,_0x2a6ac4);else{for(var _0xb7ad5c=_0x5e2d29[_0x6b150e(0xb0)]-0x1;_0xb7ad5c>=0x0;_0xb7ad5c--)(_0xdce955=_0x5e2d29[_0xb7ad5c])&&(_0x241cb3=(_0x5bbca2<0x3?_0xdce955(_0x241cb3):_0x5bbca2>0x3?_0xdce955(_0x5da662,_0x575ce9,_0x241cb3):_0xdce955(_0x5da662,_0x575ce9))||_0x241cb3);}return _0x5bbca2>0x3&&_0x241cb3&&Object[_0x6b150e(0xc3)](_0x5da662,_0x575ce9,_0x241cb3),_0x241cb3;}let _0x421126=class{constructor(_0x2a92d1,_0x65a609,_0xf422ba){var _0x48c4ed=_0x5d0e10;this['_document']=_0x2a92d1,this['_blockId']=_0x65a609,this[_0x48c4ed(0xc0)]=_0xf422ba,_0x3863ce(this,_0x48c4ed(0x9f),void 0x0),this[_0x48c4ed(0x9f)]=this[_0x48c4ed(0xb5)][_0x48c4ed(0xb9)]();}['getId'](){var _0x3bb8c8=_0x5d0e10;return this[_0x3bb8c8(0xc6)];}['getRange'](){var _0x53da97=_0x5d0e10;let _0x3b1940=this[_0x53da97(0xd4)]();return _0x3b1940?{'blockId':_0x3b1940[_0x53da97(0xb3)],'endIndex':_0x3b1940[_0x53da97(0xad)],'startIndex':_0x3b1940[_0x53da97(0xe1)]}:null;}['getText'](){var _0x255537=_0x5d0e10,_0x1a3b50;let _0xb19fc6=this[_0x255537(0xd4)](),_0x5871bb=(_0x1a3b50=this[_0x255537(0xda)]()[_0x255537(0xb6)])==null?void 0x0:_0x1a3b50[_0x255537(0xac)];return!_0xb19fc6||!_0x5871bb?'':_0x39cc45(_0x5871bb[_0x255537(0xec)](_0xb19fc6[_0x255537(0xe1)]+0x1,_0xb19fc6[_0x255537(0xad)]));}['describe'](){var _0x5037d1=_0x5d0e10;let _0x1c71d7=this[_0x5037d1(0xe9)]();return _0x1c71d7?{..._0x1c71d7,'config':this[_0x5037d1(0xb4)](),'text':this['getText'](),'type':_0x5069ce[_0x5037d1(0xcd)][_0x5037d1(0xcc)]}:null;}['getConfig'](){var _0x22b74a=_0x5d0e10;let _0x52bec7=this[_0x22b74a(0xc0)]['get'](_0x215ddd[_0x22b74a(0xaa)]);return(0x0,_0x215ddd[_0x22b74a(0xcf)])(_0x52bec7[_0x22b74a(0xbb)](this[_0x22b74a(0x9f)],this[_0x22b74a(0xc6)]));}[_0x5d0e10(0xe8)](_0x5bb017){var _0x1d5232=_0x5d0e10;return this[_0x1d5232(0xc0)]['get'](_0x5069ce['ICommandService'])[_0x1d5232(0xa6)](_0x215ddd[_0x1d5232(0xba)]['id'],{'blockId':this[_0x1d5232(0xc6)],'config':_0x5bb017['config'],'unitId':this[_0x1d5232(0x9f)]});}[_0x5d0e10(0xd0)](){var _0x301b6a=_0x5d0e10;return this[_0x301b6a(0xc0)][_0x301b6a(0xe4)](_0x5069ce[_0x301b6a(0xf1)])['syncExecuteCommand'](_0x215ddd[_0x301b6a(0xa5)]['id'],{'blockId':this[_0x301b6a(0xc6)],'unitId':this[_0x301b6a(0x9f)]});}[_0x5d0e10(0xd6)](){var _0x12521f=_0x5d0e10;return this[_0x12521f(0xc0)]['get'](_0x5069ce[_0x12521f(0xf1)])[_0x12521f(0xa6)](_0x215ddd[_0x12521f(0xd9)]['id'],{'blockId':this['_blockId'],'unitId':this['_unitId']});}[_0x5d0e10(0xd4)](){var _0x4d1398=_0x5d0e10,_0x4530be;return((_0x4530be=this[_0x4d1398(0xda)]()[_0x4d1398(0xb6)])==null||(_0x4530be=_0x4530be[_0x4d1398(0xa9)])==null?void 0x0:_0x4530be[_0x4d1398(0xa7)](_0x285c86=>_0x285c86[_0x4d1398(0xb3)]===this['_blockId']&&_0x285c86[_0x4d1398(0xb1)]===_0x5069ce[_0x4d1398(0xcd)]['CODE']))??null;}[_0x5d0e10(0xda)](){var _0x2096cd=_0x5d0e10;return this['_document'][_0x2096cd(0xbc)]();}};_0x421126=_0x4f2234([_0x58caf7(0x2,(0x0,_0x5069ce[_0x5d0e10(0xee)])(_0x5069ce[_0x5d0e10(0xe6)]))],_0x421126);function _0x39cc45(_0x4d098c){var _0x2d06d4=_0x5d0e10;return Array[_0x2d06d4(0xdc)](_0x4d098c)['map'](_0x4c2bd7=>_0x4c2bd7===_0x5069ce[_0x2d06d4(0xe3)]['PARAGRAPH']?'\x0a':_0x4c2bd7)[_0x2d06d4(0xd5)](_0x2d4ed7=>_0x2d4ed7!==_0x5069ce[_0x2d06d4(0xe3)][_0x2d06d4(0xdd)]&&_0x2d4ed7!==_0x5069ce['DataStreamTreeTokenType'][_0x2d06d4(0xdb)]&&_0x2d4ed7!==_0x5069ce['DataStreamTreeTokenType'][_0x2d06d4(0xa2)])['join']('')['replace'](/\n$/,'');}var _0xaf6292=class extends _0x113430['FDocument']{[_0x5d0e10(0x9e)](){var _0x135cf4=_0x5d0e10;return this[_0x135cf4(0xce)]()[_0x135cf4(0xd5)](_0x5b6441=>_0x5b6441['blockType']===_0x5069ce[_0x135cf4(0xcd)]['CODE'])[_0x135cf4(0xf3)](_0x5d0d13=>this[_0x135cf4(0xdf)](_0x5d0d13[_0x135cf4(0xb3)]));}['getCode'](_0x256381){var _0x3bf55e=_0x5d0e10;return this[_0x3bf55e(0xce)]()[_0x3bf55e(0xae)](_0x1c5f74=>_0x1c5f74[_0x3bf55e(0xb3)]===_0x256381&&_0x1c5f74['blockType']===_0x5069ce[_0x3bf55e(0xcd)]['CODE'])?this[_0x3bf55e(0xdf)](_0x256381):null;}[_0x5d0e10(0xb2)](_0x20a3b3){var _0x2b1630=_0x5d0e10;let _0x27fa0e=this[_0x2b1630(0xce)]()[_0x2b1630(0xa7)](_0x3d804d=>_0x3d804d[_0x2b1630(0xb1)]===_0x5069ce[_0x2b1630(0xcd)][_0x2b1630(0xcc)]&&_0x3d804d['startIndex']<=_0x20a3b3&&_0x20a3b3<=_0x3d804d['endIndex']);return _0x27fa0e?this[_0x2b1630(0xdf)](_0x27fa0e[_0x2b1630(0xb3)]):null;}[_0x5d0e10(0xab)](_0x43778d){var _0x2b27d5=_0x5d0e10;return this[_0x2b27d5(0xa4)](_0x43778d)[0x0]??null;}[_0x5d0e10(0xa4)](_0x4e9660){var _0x45c00f=_0x5d0e10;let _0x397752=typeof _0x4e9660==_0x45c00f(0xb7)?{'text':_0x4e9660}:_0x4e9660;return this['getCodes']()[_0x45c00f(0xd5)](_0x57b977=>!(_0x397752[_0x45c00f(0xb3)]&&_0x57b977[_0x45c00f(0xb9)]()!==_0x397752['blockId']||_0x397752[_0x45c00f(0xed)]&&!_0x57b977[_0x45c00f(0xf4)]()['includes'](_0x397752[_0x45c00f(0xed)])));}['insertCode'](_0x210337={},_0x3e8bc2={}){var _0x3d7941=_0x5d0e10;let _0x5d15f1=this[_0x3d7941(0xc0)][_0x3d7941(0xe4)](_0x5069ce[_0x3d7941(0xf1)]),_0x7045c0=(0x0,_0x113430[_0x3d7941(0xea)])(_0x210337)?{..._0x3e8bc2,..._0x210337[_0x3d7941(0xe9)]()}:_0x210337,_0x4b7cf1=_0x7045c0[_0x3d7941(0xb3)]??(0x0,_0x5069ce[_0x3d7941(0xa3)])(0x6);return _0x5d15f1[_0x3d7941(0xa6)](_0x215ddd[_0x3d7941(0xb8)]['id'],{..._0x7045c0,'blockId':_0x4b7cf1,'unitId':this[_0x3d7941(0xb9)]()})?this['getCode'](_0x4b7cf1):null;}[_0x5d0e10(0xce)](){var _0x1be4a4=_0x5d0e10,_0x1dc84c;return((_0x1dc84c=this[_0x1be4a4(0xbc)]()['body'])==null?void 0x0:_0x1dc84c[_0x1be4a4(0xa9)])??[];}[_0x5d0e10(0xdf)](_0xc4c656){var _0x3e58df=_0x5d0e10;return this[_0x3e58df(0xc0)][_0x3e58df(0xef)](_0x421126,this,_0xc4c656);}};_0x113430[_0x5d0e10(0xa1)]['extend'](_0xaf6292),Object[_0x5d0e10(0xc3)](_0x1cae52,_0x5d0e10(0xeb),{'enumerable':!0x0,'get':function(){return _0x421126;}});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5220(_0x1bf233,_0x5e9330){_0x1bf233=_0x1bf233-0x105;const _0x2cf91e=_0x2cf9();let _0x52206c=_0x2cf91e[_0x1bf233];return _0x52206c;}function _0x2cf9(){const _0x4a8a6b=['monospace','JSONX','BuildTextUtils','change$','getUnitId','filter','get','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','endIndex','4gpuHJG','customBlocks','amd','getTextRanges','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','TABLE_CELL_END','removeOp','getCurrentUnitOfType','length','MUTATION','Document\x20body\x20is\x20required','DataStreamTreeTokenType','dataStream','docs-code.mutation.set-config','IUniverInstanceService','buildCancelEmptyCodeParagraphActions','DocsCodeUnwrapCommand','textRuns','selectionManager','Subject','@univerjs/docs','_setResource','TextX','syncExecuteCommand','version','_config','indentStart','18888eVtliK','function','paragraph','columnGroups','getOwnPropertyDescriptor','config','model','ICommandService','_resourceManagerService','@univerjs/core','DocumentBlockRangeType','push','iterator','startOffset','RemoveDocsCodeConfigMutation','sectionBreaks','shiftExclusiveRangeOnInsert','textStyle','min','paragraphStyle','max','Disposable','decorate','docs-code.command.exit','paragraphStartIndex','tables','documentData','symbol','keepNext','docs-code.config','BLOCK_END','bullet','getSnapshot','editOp','@univerjs-pro/license','compose','exports','_resources','parse','Injector','blockRanges','rxjs','paragraphId','setConfig','shiftInclusiveRangeOnDelete','stringify','sort','1938286pGUxAY','commandService','docs-code.mutation.remove-config','left','getParagraphsInRange','BooleanNumber','start','containsInteriorInsertionOffset','unitId','next','CommandType','createParagraphId','getCodeConfig','spaceAbove','blockId','getSingleDataStreamChange','paragraphs','map','convert-paragraph','DocsCodeUpdateCommand','some','replaceOp','docs-code.command.insert-below','UniverCore','cursorOffset','DocsCodeInsertCommand','UniverInstanceType','_change$','normalizeDocsCodeConfig','serialize','containsStreamIndex','body','indentEnd','_configService','PARAGRAPH','setCodeConfig','type','object','insertionMode','BLOCK_START','widowControl','set','DOCS_CODE_PLUGIN','SetDocsCodeConfigMutation','handler','from','reduce','removeUnit','UNIVER_DOC','pluginName','Plugin','DocsCodeModel','8MChAYg','_commandService','docs-code.command.insert','endTokenOffset','DocsCodeConsumeBoundaryDeleteCommand','_injector','add','_initResource','getInstance','1629678jRbbho','endOffset','153155nrfEOm','DocSelectionManagerService','dispose','keys','constructor','getContentInsertRange','customDecorations','startTokenOffset','Inject','onStarting','registerCommand','retain','4080096bphwkU','delete','keepLines','startIndex','Module','blockType','entries','fromEntries','UniverLicensePlugin','getParagraphContentStartOffset','11174895FhbJoF','columns','codes','_docsCodeModel','previousDocumentData','1.0.2','shiftExclusiveRangeOnDelete','shiftInclusiveRangeOnInsert','spaceBelow','slice','TRUE','TABLE_CELL_START','getBody','right','isArray','complete','intersectsOperationalIntervals','insert','find','SECTION_BREAK','range','packageName','clear','deserialize','CODE','disposeWithMe','getBlockRangeInterval','endsWith','@univerjs-pro/docs-code','COMMAND','getUnit','DocsCodeRemoveCommand','insertLength','customRanges','nextDocumentData','IResourceManagerService','UniverDocsPlugin','DocsCodeCancelEmptyParagraphCommand','asObservable','getParagraphContentStartOffsets','string','defineProperty','metadata','nextMetadata','deleteLength','docs-code.command.remove','removeCode','98899niFbye','forEach'];_0x2cf9=function(){return _0x4a8a6b;};return _0x2cf9();}(function(_0x351f1c,_0x114895){const _0x1f6806=_0x5220,_0x462e8d=_0x351f1c();while(!![]){try{const _0x3067f0=parseInt(_0x1f6806(0x1a9))/0x1*(-parseInt(_0x1f6806(0x159))/0x2)+parseInt(_0x1f6806(0x162))/0x3+parseInt(_0x1f6806(0x1b4))/0x4*(-parseInt(_0x1f6806(0x164))/0x5)+-parseInt(_0x1f6806(0x170))/0x6+-parseInt(_0x1f6806(0x125))/0x7+parseInt(_0x1f6806(0x1cf))/0x8+parseInt(_0x1f6806(0x17a))/0x9;if(_0x3067f0===_0x114895)break;else _0x462e8d['push'](_0x462e8d['shift']());}catch(_0x26223b){_0x462e8d['push'](_0x462e8d['shift']());}}}(_0x2cf9,0x62a85),function(_0x12df3c,_0x39cf48){const _0x598df1=_0x5220;typeof exports==_0x598df1(0x14a)&&typeof module<'u'?_0x39cf48(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x598df1(0x1d0)&&define[_0x598df1(0x1b6)]?define([_0x598df1(0x11a),_0x598df1(0x1d8),_0x598df1(0x11f),_0x598df1(0x1c8),_0x598df1(0x118)],_0x39cf48):(_0x12df3c=typeof globalThis<'u'?globalThis:_0x12df3c||self,_0x39cf48(_0x12df3c['UniverProDocsCode']={},_0x12df3c[_0x598df1(0x13c)],_0x12df3c[_0x598df1(0x11f)],_0x12df3c['UniverDocs'],_0x12df3c['UniverProLicense']));}(this,function(_0x2ac6e0,_0x16fbe0,_0x2d171b,_0x95c02f,_0x325972){const _0x4ef7d9=_0x5220;Object['defineProperty'](_0x2ac6e0,Symbol['toStringTag'],{'value':_0x4ef7d9(0x174)});let _0x1d1135={'language':'javascript','showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x230562(_0x149247){return{..._0x1d1135,..._0x149247};}function _0x1b1769(_0x2f28b4){const _0xcb9420=_0x4ef7d9;let _0x3fe446=(_0x2f28b4==null?void 0x0:_0x2f28b4['codes'])??{};return{'codes':Object[_0xcb9420(0x177)](Object[_0xcb9420(0x176)](_0x3fe446)[_0xcb9420(0x136)](([_0x37a631,_0x3ee6eb])=>[_0x37a631,_0x230562(_0x3ee6eb)]))};}function _0x1145de(_0x5c7f6a,_0x1890b4,_0x1e0fc8){const _0x2ee6a6=_0x4ef7d9;let _0x29646c=_0x1b1769(_0x5c7f6a);return _0x29646c[_0x2ee6a6(0x17c)][_0x1890b4]=_0x230562({..._0x29646c[_0x2ee6a6(0x17c)][_0x1890b4],..._0x1e0fc8}),_0x29646c;}function _0x2d5921(_0x36d090,_0x48bcf2){const _0x4d0e05=_0x4ef7d9;let _0x55b9fd=_0x1b1769(_0x36d090);return delete _0x55b9fd[_0x4d0e05(0x17c)][_0x48bcf2],_0x55b9fd;}function _0xeb69cc(_0x5d109c){'@babel/helpers - typeof';const _0x160284=_0x4ef7d9;return _0xeb69cc=typeof Symbol==_0x160284(0x1d0)&&typeof Symbol[_0x160284(0x1db)]==_0x160284(0x111)?function(_0xcbc1fd){return typeof _0xcbc1fd;}:function(_0x8756e1){const _0x9a5fd4=_0x160284;return _0x8756e1&&typeof Symbol==_0x9a5fd4(0x1d0)&&_0x8756e1[_0x9a5fd4(0x168)]===Symbol&&_0x8756e1!==Symbol['prototype']?_0x9a5fd4(0x111):typeof _0x8756e1;},_0xeb69cc(_0x5d109c);}function _0x38b0c0(_0x1095f9,_0xaba426){const _0x1ff880=_0x4ef7d9;if(_0xeb69cc(_0x1095f9)!='object'||!_0x1095f9)return _0x1095f9;var _0x211972=_0x1095f9[Symbol['toPrimitive']];if(_0x211972!==void 0x0){var _0x4d4609=_0x211972['call'](_0x1095f9,_0xaba426||'default');if(_0xeb69cc(_0x4d4609)!=_0x1ff880(0x14a))return _0x4d4609;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xaba426===_0x1ff880(0x1a2)?String:Number)(_0x1095f9);}function _0x25f7f1(_0x50644a){const _0x59dc36=_0x4ef7d9;var _0x11d0b4=_0x38b0c0(_0x50644a,'string');return _0xeb69cc(_0x11d0b4)==_0x59dc36(0x111)?_0x11d0b4:_0x11d0b4+'';}function _0x5a0992(_0x25a301,_0x5cfe1d,_0x1d7977){const _0x49d77f=_0x4ef7d9;return(_0x5cfe1d=_0x25f7f1(_0x5cfe1d))in _0x25a301?Object[_0x49d77f(0x1a3)](_0x25a301,_0x5cfe1d,{'value':_0x1d7977,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25a301[_0x5cfe1d]=_0x1d7977,_0x25a301;}var _0x14c27e=class extends _0x16fbe0[_0x4ef7d9(0x10b)]{constructor(..._0x20823d){const _0x2d6866=_0x4ef7d9;super(..._0x20823d),_0x5a0992(this,'_resources',new Map()),_0x5a0992(this,'_change$',new _0x2d171b[(_0x2d6866(0x1c7))]()),_0x5a0992(this,_0x2d6866(0x1ae),this['_change$'][_0x2d6866(0x1a0)]());}[_0x4ef7d9(0x131)](_0x5a7b66,_0x4af65e){const _0x2777cd=_0x4ef7d9;return _0x1b1769(this[_0x2777cd(0x11b)][_0x2777cd(0x1b1)](_0x5a7b66))[_0x2777cd(0x17c)][_0x4af65e];}[_0x4ef7d9(0x148)](_0x341a9d,_0x4209d5,_0x5c4a05){const _0x199212=_0x4ef7d9;this[_0x199212(0x1c9)](_0x341a9d,_0x4209d5,_0x1145de(this[_0x199212(0x11b)][_0x199212(0x1b1)](_0x341a9d),_0x4209d5,_0x5c4a05));}[_0x4ef7d9(0x1a8)](_0x248b50,_0x3d6648){const _0x612c62=_0x4ef7d9;this[_0x612c62(0x1c9)](_0x248b50,_0x3d6648,_0x2d5921(this['_resources'][_0x612c62(0x1b1)](_0x248b50),_0x3d6648));}[_0x4ef7d9(0x142)](_0x1a0d18){const _0x15a760=_0x4ef7d9;return _0x1b1769(this[_0x15a760(0x11b)][_0x15a760(0x1b1)](_0x1a0d18));}[_0x4ef7d9(0x191)](_0x2c9483,_0x42be8d){const _0x231d44=_0x4ef7d9;this[_0x231d44(0x11b)][_0x231d44(0x14e)](_0x2c9483,_0x1b1769(_0x42be8d)),this[_0x231d44(0x140)][_0x231d44(0x12e)]({'unitId':_0x2c9483});}[_0x4ef7d9(0x154)](_0x583248){const _0x4614a2=_0x4ef7d9;this[_0x4614a2(0x11b)][_0x4614a2(0x171)](_0x583248),this['_change$'][_0x4614a2(0x12e)]({'unitId':_0x583248});}[_0x4ef7d9(0x166)](){const _0x3786b2=_0x4ef7d9;super[_0x3786b2(0x166)](),this['_resources'][_0x3786b2(0x190)](),this[_0x3786b2(0x140)][_0x3786b2(0x189)]();}[_0x4ef7d9(0x1c9)](_0x2dc03a,_0x30931b,_0x5381a4){const _0x449444=_0x4ef7d9;this['_resources'][_0x449444(0x14e)](_0x2dc03a,_0x5381a4),this['_change$'][_0x449444(0x12e)]({'unitId':_0x2dc03a,'blockId':_0x30931b});}};let _0x2bc0c9={'id':_0x4ef7d9(0x1c1),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x1bd)],'handler':(_0x3e3ac2,_0x1c173b)=>!(_0x1c173b!=null&&_0x1c173b[_0x4ef7d9(0x12d)])||!_0x1c173b['blockId']?!0x1:(_0x3e3ac2[_0x4ef7d9(0x1b1)](_0x14c27e)[_0x4ef7d9(0x148)](_0x1c173b[_0x4ef7d9(0x12d)],_0x1c173b['blockId'],_0x1c173b[_0x4ef7d9(0x1d4)]),!0x0)},_0x12b758={'id':_0x4ef7d9(0x127),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x1bd)],'handler':(_0x149f68,_0x4d5257)=>!(_0x4d5257!=null&&_0x4d5257['unitId'])||!_0x4d5257[_0x4ef7d9(0x133)]?!0x1:(_0x149f68[_0x4ef7d9(0x1b1)](_0x14c27e)[_0x4ef7d9(0x1a8)](_0x4d5257[_0x4ef7d9(0x12d)],_0x4d5257[_0x4ef7d9(0x133)]),!0x0)},_0x5bdd69=_0x4ef7d9(0x1ab);var _0x58a179=class extends Error{constructor(_0x3bee4d=_0x4ef7d9(0x1b2)){super(_0x3bee4d);}};function _0x5dbf76(_0x5b06d7){const _0x53b1e2=_0x4ef7d9;var _0x1dd2d8;let _0x58d815=_0x5000f0(_0x5b06d7[_0x53b1e2(0x110)]),_0xbf76db=_0x5966ef(_0x58d815),_0xe0c286=_0x17ad50(_0x5b06d7[_0x53b1e2(0x1dc)],_0x5b06d7['endOffset']),_0x3be740=_0xe0c286?(_0x1dd2d8=_0xbf76db['blockRanges'])==null?void 0x0:_0x1dd2d8[_0x53b1e2(0x18c)](_0x371b5c=>{const _0x105a01=_0x53b1e2;let _0x2ab324=(0x0,_0x16fbe0[_0x105a01(0x194)])(_0x371b5c);return _0x2ab324['startOffset']===_0xe0c286[_0x105a01(0x1dc)]&&_0x2ab324['endOffset']===_0xe0c286[_0x105a01(0x163)];}):void 0x0,{startOffset:_0x36df1a,endOffset:_0x57a3d3}=_0x3be740?_0xe0c286:_0x28ba5d(_0xbf76db,_0x5b06d7[_0x53b1e2(0x1dc)],_0x5b06d7[_0x53b1e2(0x163)],_0x5b06d7[_0x53b1e2(0x14b)]);if(!_0x3be740&&_0x22b676(_0xbf76db,_0x36df1a,_0x57a3d3))throw new _0x58a179(_0x53b1e2(0x1b8));let _0x4c409e=_0xa60ef0(_0xbf76db,_0x36df1a,_0x57a3d3),_0x2c0ec8=(_0x3be740==null?void 0x0:_0x3be740[_0x53b1e2(0x133)])??_0x5b06d7[_0x53b1e2(0x133)],_0x48a32f=_0x1145de(_0x5b06d7[_0x53b1e2(0x1a4)],_0x2c0ec8,{..._0x1d1135,..._0x5b06d7[_0x53b1e2(0x1d4)]});if(_0x3be740)return _0x3be740['blockType']=_0x16fbe0[_0x53b1e2(0x1d9)][_0x53b1e2(0x192)],_0x39ccef(_0xbf76db,_0x36df1a,_0x57a3d3),_0x2c13b0(_0xbf76db,_0x36df1a,_0x57a3d3,_0x4c409e),_0x46f1cd(_0xbf76db,_0x3be740),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};if(_0x36df1a===_0x57a3d3){var _0x1fe69f,_0x48874c;let _0x2c5000=''+_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x14c)]+_0x16fbe0['DataStreamTreeTokenType'][_0x53b1e2(0x147)]+_0x16fbe0[_0x53b1e2(0x1bf)]['BLOCK_END'];_0x564ef8(_0xbf76db,_0x36df1a,_0x2c5000,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x16fbe0[_0x53b1e2(0x130)])(new Set((_0x1fe69f=_0xbf76db[_0x53b1e2(0x135)])==null?void 0x0:_0x1fe69f[_0x53b1e2(0x136)](_0x306141=>_0x306141[_0x53b1e2(0x120)]))),'paragraphStyle':_0x247fe8(!0x0,!0x0,_0x4c409e)}],'blockRanges':[{'blockId':_0x2c0ec8,'blockType':_0x16fbe0['DocumentBlockRangeType']['CODE'],'startIndex':0x0,'endIndex':_0x2c5000[_0x53b1e2(0x1bc)]-0x1}]});let _0x2d6f4f=(_0x48874c=_0xbf76db['blockRanges'])==null?void 0x0:_0x48874c[_0x53b1e2(0x18c)](_0x3fa993=>_0x3fa993[_0x53b1e2(0x133)]===_0x2c0ec8);return _0x2d6f4f&&_0x46f1cd(_0xbf76db,_0x2d6f4f),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};}_0x564ef8(_0xbf76db,_0x57a3d3,_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x114)]),_0x564ef8(_0xbf76db,_0x36df1a,_0x16fbe0[_0x53b1e2(0x1bf)][_0x53b1e2(0x14c)]),_0x2c13b0(_0xbf76db,_0x36df1a,_0x57a3d3+0x1,_0x4c409e);let _0x47d077={'blockId':_0x2c0ec8,'blockType':_0x16fbe0[_0x53b1e2(0x1d9)]['CODE'],'startIndex':_0x36df1a,'endIndex':_0x57a3d3+0x1};return _0xbf76db[_0x53b1e2(0x11e)]=[..._0xbf76db[_0x53b1e2(0x11e)]??[],_0x47d077][_0x53b1e2(0x124)]((_0x1287c1,_0x1ac7be)=>_0x1287c1[_0x53b1e2(0x173)]-_0x1ac7be['startIndex']),_0x46f1cd(_0xbf76db,_0x47d077),{'nextDocumentData':_0x58d815,'nextMetadata':_0x48a32f,'cursorOffset':_0x36df1a+0x1};}function _0x39ccef(_0x1847a7,_0x3d438d,_0x1f120f){const _0x1beaef=_0x4ef7d9;(_0x1847a7[_0x1beaef(0x135)]??[])[_0x1beaef(0x1b0)](_0x3dcb9a=>_0x3dcb9a[_0x1beaef(0x173)]>_0x3d438d&&_0x3dcb9a['startIndex']<_0x1f120f)[_0x1beaef(0x1aa)](_0x375974=>{const _0x2f9357=_0x1beaef;let _0x13831d={..._0x375974[_0x2f9357(0x109)]??{}};delete _0x13831d[_0x2f9357(0x132)],delete _0x13831d['spaceBelow'],_0x375974[_0x2f9357(0x109)]=_0x13831d;});}function _0x17ad50(_0x2ce649,_0xe5555d){const _0x2929e9=_0x4ef7d9;return _0x2ce649==null||_0xe5555d==null||_0x2ce649===_0xe5555d?null:{'startOffset':Math[_0x2929e9(0x108)](_0x2ce649,_0xe5555d),'endOffset':Math[_0x2929e9(0x10a)](_0x2ce649,_0xe5555d)};}function _0x22b676(_0x16975d,_0x39887f,_0x56631a){const _0x81925=_0x4ef7d9;return(_0x16975d['blockRanges']??[])[_0x81925(0x139)](_0x207e75=>{const _0x1433fb=_0x81925;let _0xc71f5e=(0x0,_0x16fbe0['getBlockRangeInterval'])(_0x207e75);return _0x39887f===_0x56631a?(0x0,_0x16fbe0[_0x1433fb(0x12c)])(_0xc71f5e,_0x39887f):(0x0,_0x16fbe0[_0x1433fb(0x18a)])(_0xc71f5e,{'startOffset':_0x39887f,'endOffset':_0x56631a});});}function _0x6829c0(_0x2123fb){const _0x1d9528=_0x4ef7d9;return{'nextDocumentData':_0x5000f0(_0x2123fb[_0x1d9528(0x110)]),'nextMetadata':_0x1145de(_0x2123fb['metadata'],_0x2123fb[_0x1d9528(0x133)],_0x2123fb[_0x1d9528(0x1d4)]),'cursorOffset':0x0};}function _0x34a7f7(_0x1bcfa3){const _0x4265ed=_0x4ef7d9;let _0x117f68=_0x5000f0(_0x1bcfa3[_0x4265ed(0x110)]),_0x5c1d9e=_0x5966ef(_0x117f68),_0x98023=_0x36d42a(_0x5c1d9e,_0x1bcfa3[_0x4265ed(0x133)]);if(!_0x98023)return null;let _0x401733=_0x5dc0c9(_0x5c1d9e,_0x98023);return{'nextDocumentData':_0x117f68,'nextMetadata':_0x2d5921(_0x1bcfa3[_0x4265ed(0x1a4)],_0x1bcfa3[_0x4265ed(0x133)]),'cursorOffset':_0x401733};}function _0x880375(_0x1bc394){const _0x4911d9=_0x4ef7d9;var _0x22d5a8;let _0x5cdb46=_0x5000f0(_0x1bc394['documentData']),_0x24786d=_0x5966ef(_0x5cdb46),_0x22b990=_0x36d42a(_0x24786d,_0x1bc394[_0x4911d9(0x133)]);if(!_0x22b990)return null;let _0x5155b1=(0x0,_0x16fbe0[_0x4911d9(0x194)])(_0x22b990);return _0x1083af(_0x24786d,_0x5155b1[_0x4911d9(0x1dc)],_0x5155b1[_0x4911d9(0x163)]),_0x24786d[_0x4911d9(0x11e)]=(_0x22d5a8=_0x24786d['blockRanges'])==null?void 0x0:_0x22d5a8[_0x4911d9(0x1b0)](_0x18345e=>_0x18345e[_0x4911d9(0x133)]!==_0x1bc394[_0x4911d9(0x133)]),{'nextDocumentData':_0x5cdb46,'nextMetadata':_0x2d5921(_0x1bc394[_0x4911d9(0x1a4)],_0x1bc394['blockId']),'cursorOffset':_0x22b990['startIndex']};}function _0x110b53(_0x4da39b){const _0x2002f5=_0x4ef7d9;let _0x554575=_0x5000f0(_0x4da39b[_0x2002f5(0x110)]),_0x566cd8=_0x5966ef(_0x554575),_0x295735=_0x380185(_0x566cd8,_0x4da39b[_0x2002f5(0x13d)]);return _0x295735&&_0x32f102(_0x554575,_0x566cd8,_0x295735,_0x4da39b['cursorOffset'],_0x4da39b[_0x2002f5(0x10e)])||null;}function _0x32f102(_0x2bce68,_0x3054cb,_0x26d84b,_0x2e580,_0x3b5cbe){const _0xb29e31=_0x4ef7d9;let _0x435e6c=_0x2dc747(_0x3054cb,_0x26d84b,_0x2e580,_0x3b5cbe);if(!_0x435e6c)return null;let _0x4abe83=_0x435e6c[_0xb29e31(0x15c)]-0x1;return _0x1083af(_0x3054cb,_0x435e6c[_0xb29e31(0x1d1)][_0xb29e31(0x173)],_0x435e6c['paragraph']['startIndex']+0x1),{'nextDocumentData':_0x2bce68,'cursorOffset':_0x4abe83};}function _0x36d42a(_0x1920b5,_0x596368){const _0x525ae1=_0x4ef7d9;var _0x18cf26;return _0x1920b5==null||(_0x18cf26=_0x1920b5[_0x525ae1(0x11e)])==null?void 0x0:_0x18cf26[_0x525ae1(0x18c)](_0xf53063=>_0xf53063[_0x525ae1(0x175)]===_0x16fbe0[_0x525ae1(0x1d9)]['CODE']&&_0xf53063[_0x525ae1(0x133)]===_0x596368);}function _0x401b72(_0x28f873){const _0x5b7000=_0x4ef7d9;let _0x48ee0a=_0x28f873[_0x5b7000(0x110)]['body'];if(!_0x48ee0a)return!0x1;let _0x588ea4=_0x28f873['direction']===_0x5b7000(0x128)?_0x28f873[_0x5b7000(0x13d)]-0x1:_0x28f873[_0x5b7000(0x13d)],_0x189cdd=_0x28f873['direction']===_0x5b7000(0x187)?_0x28f873[_0x5b7000(0x13d)]+0x1:_0x588ea4;return(_0x48ee0a[_0x5b7000(0x11e)]??[])[_0x5b7000(0x139)](_0xeea815=>_0xeea815[_0x5b7000(0x175)]===_0x16fbe0[_0x5b7000(0x1d9)][_0x5b7000(0x192)]?_0x588ea4===_0xeea815[_0x5b7000(0x173)]||_0x588ea4===_0xeea815[_0x5b7000(0x1b3)]||_0x189cdd===_0xeea815['startIndex']||_0x189cdd===_0xeea815[_0x5b7000(0x1b3)]:!0x1);}function _0x380185(_0x37221f,_0x53ecee){const _0x4beeb4=_0x4ef7d9;var _0x37510f;return(_0x37510f=_0x37221f[_0x4beeb4(0x11e)])==null?void 0x0:_0x37510f[_0x4beeb4(0x18c)](_0x1d48ee=>{const _0x55773f=_0x4beeb4;let _0x354c7f=_0x245833(_0x1d48ee);return _0x1d48ee[_0x55773f(0x175)]===_0x16fbe0['DocumentBlockRangeType']['CODE']&&_0x1d48ee[_0x55773f(0x173)]<=_0x53ecee&&_0x53ecee<=_0x354c7f+0x2;});}function _0x247fe8(_0x49c17e,_0xbe7dc4,_0x4ea039=!0x1){const _0x1de046=_0x4ef7d9;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x16fbe0[_0x1de046(0x12a)]['TRUE'],'keepNext':_0xbe7dc4?_0x16fbe0[_0x1de046(0x12a)]['FALSE']:_0x16fbe0[_0x1de046(0x12a)][_0x1de046(0x184)],'widowControl':_0x16fbe0[_0x1de046(0x12a)][_0x1de046(0x184)],..._0x49c17e&&_0x4ea039?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x5bdd69,'fs':0xc}};}function _0x2c13b0(_0x1b4ef8,_0x37d3a6,_0x5b1128,_0x24082c=!0x1){const _0x20a34b=_0x4ef7d9;let _0x2ebeaa=(_0x1b4ef8['paragraphs']??[])['filter'](_0x177972=>_0x177972[_0x20a34b(0x173)]>_0x37d3a6&&_0x177972[_0x20a34b(0x173)]<_0x5b1128);_0x2ebeaa[_0x20a34b(0x1aa)]((_0x4a55cc,_0x5f2c90)=>{const _0x1dcfe4=_0x20a34b;_0x4a55cc['paragraphStyle']={..._0x4a55cc[_0x1dcfe4(0x109)]??{},..._0x247fe8(_0x5f2c90===0x0,_0x5f2c90===_0x2ebeaa[_0x1dcfe4(0x1bc)]-0x1,_0x24082c)};});}function _0x47b89b(_0x3b39f2){const _0x491a45=_0x4ef7d9;var _0x253f4e,_0x32b1d8;let _0x4314fd={..._0x3b39f2??{}};return delete _0x4314fd[_0x491a45(0x145)],delete _0x4314fd[_0x491a45(0x1ce)],delete _0x4314fd['spaceAbove'],delete _0x4314fd[_0x491a45(0x182)],delete _0x4314fd[_0x491a45(0x172)],delete _0x4314fd[_0x491a45(0x112)],delete _0x4314fd[_0x491a45(0x14d)],((_0x253f4e=_0x4314fd['textStyle'])==null?void 0x0:_0x253f4e['ff'])===_0x5bdd69&&((_0x32b1d8=_0x4314fd[_0x491a45(0x107)])==null?void 0x0:_0x32b1d8['fs'])===0xc&&delete _0x4314fd[_0x491a45(0x107)],_0x4314fd;}function _0x43cba1(_0x47cdba,_0xcb3467){const _0x38e813=_0x4ef7d9;let _0x32c936=_0x245833(_0xcb3467);return(_0x47cdba[_0x38e813(0x135)]??[])[_0x38e813(0x1b0)](_0x26e679=>_0x26e679[_0x38e813(0x173)]>_0xcb3467[_0x38e813(0x173)]&&_0x26e679[_0x38e813(0x173)]<_0x32c936);}function _0x5dc0c9(_0x502daf,_0x3a6350){const _0x55c977=_0x4ef7d9;var _0x32b81d;let _0x520aee=_0x245833(_0x3a6350);return _0x43cba1(_0x502daf,_0x3a6350)[_0x55c977(0x1aa)](_0x4ac37d=>{const _0x178388=_0x55c977;_0x4ac37d['paragraphStyle']=_0x47b89b(_0x4ac37d[_0x178388(0x109)]);}),_0x1083af(_0x502daf,_0x520aee,_0x520aee+0x1),_0x1083af(_0x502daf,_0x3a6350[_0x55c977(0x173)],_0x3a6350[_0x55c977(0x173)]+0x1),_0x502daf['blockRanges']=(_0x32b81d=_0x502daf[_0x55c977(0x11e)])==null?void 0x0:_0x32b81d['filter'](_0x26cec8=>_0x26cec8[_0x55c977(0x133)]!==_0x3a6350[_0x55c977(0x133)]),_0x3a6350['startIndex'];}function _0x5000f0(_0x39ef40){const _0x1b005d=_0x4ef7d9;return{..._0x39ef40,'body':_0x39ef40['body']?_0x4ff171(_0x39ef40['body']):_0x39ef40[_0x1b005d(0x144)]};}function _0x4ff171(_0x224f8b){const _0x53e301=_0x4ef7d9;var _0x352ee5,_0x1a9a70,_0x1e7988,_0xd9bec8,_0x5c1711,_0x461f6d,_0x2a9c48,_0x4af382,_0x470a64;return{..._0x224f8b,'paragraphs':(_0x352ee5=_0x224f8b[_0x53e301(0x135)])==null?void 0x0:_0x352ee5[_0x53e301(0x136)](_0x10c5b9=>({..._0x10c5b9,'bullet':_0x24cf9f(_0x10c5b9[_0x53e301(0x115)]),'paragraphStyle':_0x24cf9f(_0x10c5b9[_0x53e301(0x109)])})),'sectionBreaks':(_0x1a9a70=_0x224f8b[_0x53e301(0x105)])==null?void 0x0:_0x1a9a70[_0x53e301(0x136)](_0x3dbdda=>({..._0x3dbdda})),'textRuns':(_0x1e7988=_0x224f8b['textRuns'])==null?void 0x0:_0x1e7988[_0x53e301(0x136)](_0x5a5ba0=>({..._0x5a5ba0})),'tables':(_0xd9bec8=_0x224f8b[_0x53e301(0x10f)])==null?void 0x0:_0xd9bec8[_0x53e301(0x136)](_0x581518=>({..._0x581518})),'columnGroups':(_0x5c1711=_0x224f8b[_0x53e301(0x1d2)])==null?void 0x0:_0x5c1711['map'](_0x30164b=>{const _0x29e10f=_0x53e301;var _0x4568b7;return{..._0x30164b,'columns':(_0x4568b7=_0x30164b[_0x29e10f(0x17b)])==null?void 0x0:_0x4568b7['map'](_0x1cf5a9=>_0x24cf9f(_0x1cf5a9))};}),'blockRanges':(_0x461f6d=_0x224f8b[_0x53e301(0x11e)])==null?void 0x0:_0x461f6d[_0x53e301(0x136)](_0x4754c5=>({..._0x4754c5})),'customRanges':(_0x2a9c48=_0x224f8b['customRanges'])==null?void 0x0:_0x2a9c48[_0x53e301(0x136)](_0x1a420e=>({..._0x1a420e})),'customDecorations':(_0x4af382=_0x224f8b[_0x53e301(0x16a)])==null?void 0x0:_0x4af382['map'](_0x471c06=>({..._0x471c06})),'customBlocks':(_0x470a64=_0x224f8b[_0x53e301(0x1b5)])==null?void 0x0:_0x470a64['map'](_0x5a6fe4=>({..._0x5a6fe4}))};}function _0x24cf9f(_0x30013a){const _0x43bdff=_0x4ef7d9;return Array[_0x43bdff(0x188)](_0x30013a)?_0x30013a[_0x43bdff(0x136)](_0x5ae255=>_0x24cf9f(_0x5ae255)):!_0x30013a||typeof _0x30013a!=_0x43bdff(0x14a)?_0x30013a:Object[_0x43bdff(0x177)](Object['entries'](_0x30013a)[_0x43bdff(0x136)](([_0xf56b8b,_0x487b27])=>[_0xf56b8b,_0x24cf9f(_0x487b27)]));}function _0x5966ef(_0x30ecc2){const _0x430dc2=_0x4ef7d9;if(!_0x30ecc2[_0x430dc2(0x144)])throw Error(_0x430dc2(0x1be));return _0x30ecc2[_0x430dc2(0x144)];}function _0x28ba5d(_0x18f595,_0x5d5d5e,_0x47d395,_0x4c1518=_0x4ef7d9(0x137)){const _0x452f3f=_0x4ef7d9;if(_0x5d5d5e==null||_0x47d395==null){let _0x21102f=_0xf744cf(_0x18f595);return{'startOffset':_0x21102f,'endOffset':_0x21102f};}let _0x5e7814=Math['min'](_0x5d5d5e,_0x47d395),_0x2392ca=Math[_0x452f3f(0x10a)](_0x5d5d5e,_0x47d395),_0x4faaf3=_0x94d82b(_0x18f595,_0x5e7814,_0x2392ca);return _0x5e7814===_0x2392ca?_0x4c1518==='insert-new'?{'startOffset':_0x5e7814,'endOffset':_0x2392ca}:_0x373a73(_0x18f595,_0x5e7814,_0x4faaf3):_0x231b6e(_0x18f595,_0x5e7814,_0x2392ca,_0x4faaf3);}function _0x373a73(_0x591e15,_0x1a1eaf,_0x2fc3cd){const _0x12d852=_0x4ef7d9;let _0x595f4a=_0xd617f(_0x591e15,_0x1a1eaf);if(_0x595f4a){let _0x3e67ac=_0x3c7464(_0x591e15,_0x595f4a,_0x2fc3cd);if(_0x3e67ac<_0x595f4a[_0x12d852(0x173)])return{'startOffset':_0x3e67ac,'endOffset':_0x2fc3cd?Math[_0x12d852(0x108)](_0x595f4a[_0x12d852(0x173)]+0x1,_0x2fc3cd[_0x12d852(0x163)]):_0x595f4a[_0x12d852(0x173)]+0x1};}let _0x1c1f11=_0x1a1eaf===0x0&&_0x591e15[_0x12d852(0x1c0)][0x0]===_0x16fbe0[_0x12d852(0x1bf)][_0x12d852(0x147)]?0x1:_0x1a1eaf;return{'startOffset':_0x1c1f11,'endOffset':_0x1c1f11};}function _0xf744cf(_0x259a25){const _0x5d1fb0=_0x4ef7d9;return _0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x195)](_0x16fbe0[_0x5d1fb0(0x1bf)][_0x5d1fb0(0x18d)])?Math[_0x5d1fb0(0x10a)](0x0,_0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x1bc)]-0x1):_0x259a25[_0x5d1fb0(0x1c0)][_0x5d1fb0(0x1bc)];}function _0xa60ef0(_0x1e9b9d,_0x3b6c9a,_0x443126){const _0x33b90e=_0x4ef7d9;var _0x466337;let _0x503736=Math['min'](_0x3b6c9a,_0x443126),_0x28bd15=Math['max'](_0x3b6c9a,_0x443126);return!!((_0x466337=_0x1e9b9d['tables'])!=null&&_0x466337[_0x33b90e(0x139)](_0x2cc048=>_0x503736>_0x2cc048[_0x33b90e(0x173)]&&_0x503736<_0x2cc048[_0x33b90e(0x1b3)]||_0x28bd15>_0x2cc048['startIndex']&&_0x28bd15<_0x2cc048[_0x33b90e(0x1b3)]||_0x503736<=_0x2cc048[_0x33b90e(0x173)]&&_0x28bd15>=_0x2cc048[_0x33b90e(0x1b3)]));}function _0x231b6e(_0x1abc7f,_0x35a8c8,_0xa8aecd,_0x32909b){const _0x3e858d=_0x4ef7d9;let _0x1bc705=[..._0x1abc7f[_0x3e858d(0x135)]??[]][_0x3e858d(0x124)]((_0x1f1f04,_0x37a7e8)=>_0x1f1f04[_0x3e858d(0x173)]-_0x37a7e8[_0x3e858d(0x173)]),_0x56109c=(0x0,_0x16fbe0['getParagraphContentStartOffsets'])(_0x1abc7f),_0x2a4c2e=_0x1bc705[_0x3e858d(0x18c)](_0x37fc79=>_0x3c7464(_0x1abc7f,_0x37fc79,_0x32909b,_0x56109c)<=_0x35a8c8&&_0x35a8c8<=_0x37fc79[_0x3e858d(0x173)]),_0x3156a9=_0x1bc705[_0x3e858d(0x18c)](_0x2b8a24=>_0x2b8a24[_0x3e858d(0x173)]>=_0xa8aecd-0x1)??_0x1bc705[_0x1bc705[_0x3e858d(0x1bc)]-0x1];return{'startOffset':_0x2a4c2e?_0x3c7464(_0x1abc7f,_0x2a4c2e,_0x32909b,_0x56109c):_0x35a8c8,'endOffset':_0x3156a9?_0x4e2b36(_0x3156a9,_0x32909b):_0xa8aecd};}function _0xd617f(_0x3c2340,_0x41ff81){const _0x19bf7c=_0x4ef7d9;let _0xb1e790=[..._0x3c2340[_0x19bf7c(0x135)]??[]][_0x19bf7c(0x124)]((_0x14821a,_0x1d5ecf)=>_0x14821a[_0x19bf7c(0x173)]-_0x1d5ecf[_0x19bf7c(0x173)]),_0x37fd31=(0x0,_0x16fbe0[_0x19bf7c(0x1a1)])(_0x3c2340);return _0xb1e790[_0x19bf7c(0x18c)](_0x473b50=>(_0x37fd31[_0x19bf7c(0x1b1)](_0x473b50[_0x19bf7c(0x173)])??0x0)<=_0x41ff81&&_0x41ff81<=_0x473b50['startIndex']);}function _0x3c7464(_0xa9c817,_0x270895,_0x3e11ca,_0x4f9a9a){const _0x34a530=_0x4ef7d9;let _0x4dae26=(_0x4f9a9a==null?void 0x0:_0x4f9a9a[_0x34a530(0x1b1)](_0x270895['startIndex']))??(0x0,_0x16fbe0[_0x34a530(0x179)])(_0xa9c817,_0x270895);return _0x3e11ca?Math['max'](_0x4dae26,_0x3e11ca[_0x34a530(0x1dc)]):_0x4dae26;}function _0x4e2b36(_0x23ce5f,_0x318224){const _0x15d611=_0x4ef7d9;let _0x5caee6=_0x23ce5f[_0x15d611(0x173)]+0x1;return _0x318224?Math[_0x15d611(0x108)](_0x5caee6,_0x318224[_0x15d611(0x163)]):_0x5caee6;}function _0x94d82b(_0xd51f04,_0x1834c6,_0x3fd9bb){const _0x18117d=_0x4ef7d9;let _0x4a2d5a=_0x285e1c(_0xd51f04,_0x1834c6),_0x238975=_0x285e1c(_0xd51f04,_0x1834c6===_0x3fd9bb?_0x3fd9bb:Math[_0x18117d(0x10a)](_0x1834c6,_0x3fd9bb-0x1));if(_0x4a2d5a||_0x238975){if(!_0x4a2d5a||!_0x238975||_0x4a2d5a[_0x18117d(0x16b)]!==_0x238975[_0x18117d(0x16b)]||_0x4a2d5a[_0x18117d(0x15c)]!==_0x238975[_0x18117d(0x15c)])throw new _0x58a179();return _0x4a2d5a;}}function _0x285e1c(_0x8a5b9c,_0x46c83c){const _0x4e16d2=_0x4ef7d9;let _0x13599b=_0x8a5b9c[_0x4e16d2(0x1c0)],_0xc13fcb=-0x1;for(let _0x3a6899=Math[_0x4e16d2(0x108)](_0x46c83c,_0x13599b['length']-0x1);_0x3a6899>=0x0;_0x3a6899--){let _0x3af69c=_0x13599b[_0x3a6899];if(_0x3af69c===_0x16fbe0[_0x4e16d2(0x1bf)][_0x4e16d2(0x1b9)])return;if(_0x3af69c===_0x16fbe0[_0x4e16d2(0x1bf)][_0x4e16d2(0x185)]){_0xc13fcb=_0x3a6899;break;}}if(_0xc13fcb<0x0)return;let _0x5260a9=_0x13599b['indexOf'](_0x16fbe0[_0x4e16d2(0x1bf)]['TABLE_CELL_END'],_0xc13fcb+0x1);if(!(_0x5260a9<0x0||_0x46c83c<_0xc13fcb+0x1||_0x46c83c>_0x5260a9-0x1))return{'startOffset':_0xc13fcb+0x1,'endOffset':Math[_0x4e16d2(0x10a)](_0xc13fcb+0x1,_0x5260a9-0x1),'startTokenOffset':_0xc13fcb,'endTokenOffset':_0x5260a9};}function _0x245833(_0x4e6634){const _0x18d7d2=_0x4ef7d9;return(0x0,_0x16fbe0[_0x18d7d2(0x194)])(_0x4e6634)[_0x18d7d2(0x163)]-0x1;}function _0x2dc747(_0x476e7b,_0x19b2bc,_0x55137b,_0x15e19d){const _0x3980e5=_0x4ef7d9;let _0x4754e6=_0x245833(_0x19b2bc),_0x202e1b=(_0x476e7b['paragraphs']??[])['find'](_0x557f5f=>_0x557f5f[_0x3980e5(0x173)]===_0x4754e6+0x1);if(!_0x202e1b||_0x15e19d!=null&&_0x202e1b[_0x3980e5(0x173)]!==_0x15e19d||_0x55137b!=null&&(_0x55137b<_0x4754e6||_0x55137b>_0x202e1b[_0x3980e5(0x173)]+0x1)||_0x476e7b['dataStream'][_0x202e1b[_0x3980e5(0x173)]]!==_0x16fbe0[_0x3980e5(0x1bf)][_0x3980e5(0x147)])return null;let _0x1e2ce3=(0x0,_0x16fbe0[_0x3980e5(0x179)])(_0x476e7b,_0x202e1b),_0x50f6d7=_0x476e7b['dataStream'][_0x3980e5(0x183)](_0x1e2ce3,_0x202e1b[_0x3980e5(0x173)]);return Array[_0x3980e5(0x152)](_0x50f6d7)['every'](_0x3d8240=>_0x3d8240===_0x16fbe0[_0x3980e5(0x1bf)][_0x3980e5(0x114)])?{'paragraph':_0x202e1b,'endTokenOffset':_0x4754e6}:null;}function _0x46f1cd(_0x51763c,_0x562d11){const _0x2b5da4=_0x4ef7d9;var _0x87c8b3;let _0x500e66=_0x245833(_0x562d11),_0x10cc5a=_0x51763c[_0x2b5da4(0x1c0)][_0x500e66+0x1];(_0x10cc5a===_0x16fbe0[_0x2b5da4(0x1bf)][_0x2b5da4(0x18d)]||_0x10cc5a===void 0x0)&&_0x564ef8(_0x51763c,_0x500e66+0x1,_0x16fbe0[_0x2b5da4(0x1bf)]['PARAGRAPH'],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x16fbe0[_0x2b5da4(0x130)])(new Set((_0x87c8b3=_0x51763c['paragraphs'])==null?void 0x0:_0x87c8b3['map'](_0x385872=>_0x385872[_0x2b5da4(0x120)])))}]});}function _0x564ef8(_0x1c2271,_0x500b24,_0x23be3b,_0x462110={}){const _0x2ae59d=_0x4ef7d9;var _0x2bd0ce,_0x30b764;_0x23be3b&&(_0x1c2271[_0x2ae59d(0x1c0)]=''+_0x1c2271[_0x2ae59d(0x1c0)][_0x2ae59d(0x183)](0x0,_0x500b24)+_0x23be3b+_0x1c2271[_0x2ae59d(0x1c0)][_0x2ae59d(0x183)](_0x500b24),_0xc7a4d9(_0x1c2271,_0x500b24,_0x23be3b[_0x2ae59d(0x1bc)]),(_0x2bd0ce=_0x462110[_0x2ae59d(0x135)])!=null&&_0x2bd0ce[_0x2ae59d(0x1bc)]&&(_0x1c2271['paragraphs']=[..._0x1c2271['paragraphs']??[],..._0x462110[_0x2ae59d(0x135)][_0x2ae59d(0x136)](_0x51b8ad=>({..._0x51b8ad,'startIndex':_0x51b8ad['startIndex']+_0x500b24}))][_0x2ae59d(0x124)]((_0x4ccd8b,_0x3fea22)=>_0x4ccd8b[_0x2ae59d(0x173)]-_0x3fea22['startIndex'])),(_0x30b764=_0x462110['blockRanges'])!=null&&_0x30b764[_0x2ae59d(0x1bc)]&&(_0x1c2271['blockRanges']=[..._0x1c2271['blockRanges']??[],..._0x462110[_0x2ae59d(0x11e)][_0x2ae59d(0x136)](_0x1b9967=>({..._0x1b9967,'startIndex':_0x1b9967[_0x2ae59d(0x173)]+_0x500b24,'endIndex':_0x1b9967[_0x2ae59d(0x1b3)]+_0x500b24}))][_0x2ae59d(0x124)]((_0x2ae251,_0x3cf811)=>_0x2ae251[_0x2ae59d(0x173)]-_0x3cf811[_0x2ae59d(0x173)])));}function _0x1083af(_0x182fd4,_0x5f29ca,_0x5e2314){const _0x56ad35=_0x4ef7d9;let _0x56c8bc=_0x5e2314-_0x5f29ca;_0x182fd4[_0x56ad35(0x1c0)]=''+_0x182fd4[_0x56ad35(0x1c0)][_0x56ad35(0x183)](0x0,_0x5f29ca)+_0x182fd4[_0x56ad35(0x1c0)][_0x56ad35(0x183)](_0x5e2314),_0xb53ba1(_0x182fd4,_0x5f29ca,_0x56c8bc);}function _0xc7a4d9(_0x3f1b86,_0x7fd89b,_0x1fd88a){const _0x42ddbd=_0x4ef7d9;_0x3f1b86[_0x42ddbd(0x135)]=_0xf385be(_0x3f1b86[_0x42ddbd(0x135)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x105)]=_0xf385be(_0x3f1b86[_0x42ddbd(0x105)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x1b5)]=_0xf385be(_0x3f1b86['customBlocks'],_0x7fd89b,_0x1fd88a),_0x3f1b86['textRuns']=_0x2ef468(_0x3f1b86[_0x42ddbd(0x1c5)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x10f)]=_0xd3b22f(_0x3f1b86[_0x42ddbd(0x10f)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x1d2)]=_0x409a60(_0x3f1b86['columnGroups'],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x19b)]=_0x409a60(_0x3f1b86[_0x42ddbd(0x19b)],_0x7fd89b,_0x1fd88a),_0x3f1b86['customDecorations']=_0x409a60(_0x3f1b86[_0x42ddbd(0x16a)],_0x7fd89b,_0x1fd88a),_0x3f1b86[_0x42ddbd(0x11e)]=_0x409a60(_0x3f1b86[_0x42ddbd(0x11e)],_0x7fd89b,_0x1fd88a);}function _0xb53ba1(_0x233921,_0x4960d7,_0x4f784f){const _0x27611a=_0x4ef7d9;var _0x49a397,_0x1d97e6;_0x233921[_0x27611a(0x135)]=_0x17bb5b(_0x233921['paragraphs'],_0x4960d7,_0x4f784f),_0x233921['sectionBreaks']=_0x17bb5b(_0x233921[_0x27611a(0x105)],_0x4960d7,_0x4f784f),_0x233921['customBlocks']=_0x17bb5b(_0x233921[_0x27611a(0x1b5)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x1c5)]=(_0x49a397=_0x47e853((_0x1d97e6=_0x233921[_0x27611a(0x1c5)])==null?void 0x0:_0x1d97e6[_0x27611a(0x136)](_0x1c017f=>({..._0x1c017f,'startIndex':_0x1c017f['st'],'endIndex':_0x1c017f['ed']})),_0x4960d7,_0x4f784f))==null?void 0x0:_0x49a397[_0x27611a(0x136)](_0x3a8513=>{let {startIndex:_0xcc8e84,endIndex:_0x2aed07,..._0x346fe1}=_0x3a8513;return{..._0x346fe1,'st':_0xcc8e84,'ed':_0x2aed07};}),_0x233921[_0x27611a(0x10f)]=_0x47e853(_0x233921['tables'],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x1d2)]=_0x4d6fda(_0x233921[_0x27611a(0x1d2)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x19b)]=_0x4d6fda(_0x233921['customRanges'],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x16a)]=_0x4d6fda(_0x233921[_0x27611a(0x16a)],_0x4960d7,_0x4f784f),_0x233921[_0x27611a(0x11e)]=_0x4d6fda(_0x233921[_0x27611a(0x11e)],_0x4960d7,_0x4f784f);}function _0xf385be(_0x2f7677,_0x2a8780,_0x133c4a){const _0x8d728=_0x4ef7d9;return _0x2f7677==null?void 0x0:_0x2f7677[_0x8d728(0x136)](_0x50f7fc=>_0x50f7fc['startIndex']>=_0x2a8780?{..._0x50f7fc,'startIndex':_0x50f7fc['startIndex']+_0x133c4a}:_0x50f7fc);}function _0x17bb5b(_0x1919b2,_0x2fa72e,_0x2b764c){const _0x49368d=_0x4ef7d9;let _0x2339a8=_0x2fa72e+_0x2b764c;return _0x1919b2==null?void 0x0:_0x1919b2['map'](_0x451e94=>_0x451e94[_0x49368d(0x173)]>=_0x2fa72e&&_0x451e94['startIndex']<_0x2339a8?null:_0x451e94[_0x49368d(0x173)]>=_0x2339a8?{..._0x451e94,'startIndex':_0x451e94[_0x49368d(0x173)]-_0x2b764c}:_0x451e94)['filter'](_0xd199b8=>_0xd199b8!=null);}function _0x2ef468(_0x39fcfd,_0x22a14f,_0x26173b){const _0x56b70c=_0x4ef7d9;return _0x39fcfd==null?void 0x0:_0x39fcfd[_0x56b70c(0x136)](_0x21b167=>_0x21b167['st']>=_0x22a14f?{..._0x21b167,'st':_0x21b167['st']+_0x26173b,'ed':_0x21b167['ed']+_0x26173b}:_0x21b167['ed']>_0x22a14f?{..._0x21b167,'ed':_0x21b167['ed']+_0x26173b}:_0x21b167);}function _0x409a60(_0x3ae033,_0x15652a,_0x3ec3db){const _0x4fb3d3=_0x4ef7d9;return _0x3ae033==null?void 0x0:_0x3ae033[_0x4fb3d3(0x136)](_0x1f5953=>(0x0,_0x16fbe0[_0x4fb3d3(0x181)])(_0x1f5953,_0x15652a,_0x3ec3db));}function _0xd3b22f(_0x35ac2c,_0x1efac8,_0x6e0a45){const _0x2109cf=_0x4ef7d9;return _0x35ac2c==null?void 0x0:_0x35ac2c[_0x2109cf(0x136)](_0x555218=>(0x0,_0x16fbe0[_0x2109cf(0x106)])(_0x555218,_0x1efac8,_0x6e0a45));}function _0x4d6fda(_0x379822,_0x12160c,_0x169c60){const _0x416546=_0x4ef7d9;return _0x379822==null?void 0x0:_0x379822[_0x416546(0x136)](_0x67910b=>(0x0,_0x16fbe0[_0x416546(0x122)])(_0x67910b,_0x12160c,_0x169c60))[_0x416546(0x1b0)](_0x3ebe27=>_0x3ebe27!=null);}function _0x47e853(_0x43ab10,_0x5ca87d,_0x2e0b2e){const _0x149eab=_0x4ef7d9;return _0x43ab10==null?void 0x0:_0x43ab10[_0x149eab(0x136)](_0x5c6d6f=>(0x0,_0x16fbe0[_0x149eab(0x180)])(_0x5c6d6f,_0x5ca87d,_0x2e0b2e))[_0x149eab(0x1b0)](_0x2fbfd3=>_0x2fbfd3!=null);}let _0x33c268={'id':_0x4ef7d9(0x13b),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':_0x5d41e4=>{const _0x570202=_0x4ef7d9;var _0x267a04;if((0x0,_0x95c02f['isHeaderFooterSelection'])(_0x5ea128(_0x5d41e4)))return!0x1;let _0x1c73dc=(0x0,_0x95c02f[_0x570202(0x169)])(_0x5d41e4);if(_0x1c73dc)return _0x5d41e4[_0x570202(0x1b1)](_0x16fbe0[_0x570202(0x1d6)])[_0x570202(0x1cb)](_0x5728c8['id'],{'startOffset':_0x1c73dc['startOffset'],'endOffset':_0x1c73dc['endOffset'],'insertionMode':'insert-new','unitId':_0x1c73dc[_0x570202(0x12d)]});let _0x1402f6=_0x2a6f93(_0x5d41e4);if(!_0x1402f6)return!0x1;let _0x131a04=(_0x267a04=_0x5d41e4[_0x570202(0x1b1)](_0x16fbe0['IUniverInstanceService'])[_0x570202(0x1bb)](_0x16fbe0['UniverInstanceType']['UNIVER_DOC']))==null?void 0x0:_0x267a04[_0x570202(0x186)](),_0x1808f9=_0x131a04?(0x0,_0x16fbe0['getParagraphFollowingBlockOffset'])(_0x131a04,_0x1402f6):_0x1402f6[_0x570202(0x173)]+0x1;return _0x5d41e4[_0x570202(0x1b1)](_0x16fbe0[_0x570202(0x1d6)])[_0x570202(0x1cb)](_0x5728c8['id'],{'startOffset':_0x1808f9,'endOffset':_0x1808f9});}},_0x166a89={'id':'docs-code.command.consume-boundary-delete','type':_0x16fbe0['CommandType']['COMMAND'],'handler':()=>!0x0},_0x5728c8={'id':_0x4ef7d9(0x15b),'type':_0x16fbe0[_0x4ef7d9(0x12f)]['COMMAND'],'handler':(_0x3b8dd5,_0x3b73ac)=>{const _0x305927=_0x4ef7d9;let _0x270965=_0x2c04e9(_0x3b8dd5,_0x3b73ac==null?void 0x0:_0x3b73ac['unitId']);if(!_0x270965)return!0x1;let _0x236007=_0x5ea128(_0x3b8dd5);if((0x0,_0x95c02f['isHeaderFooterSelection'])(_0x236007))return!0x1;let _0x322cc0=_0x270965['model'][_0x305927(0x142)](_0x270965[_0x305927(0x12d)]),_0x8a7520=_0x68c13f(_0x3b73ac,_0x236007),_0x4db004=_0x585e05(_0x270965[_0x305927(0x17e)],_0x8a7520);if(_0x4db004){if(_0x4db004[_0x305927(0x175)]!==_0x16fbe0[_0x305927(0x1d9)]['CODE'])return!0x1;let _0x570cc7=_0x34a7f7({'blockId':_0x4db004[_0x305927(0x133)],'documentData':_0x270965[_0x305927(0x17e)],'metadata':_0x322cc0});if(!_0x570cc7)return!0x1;let _0x2f16a4=_0x32dd29(_0x270965['commandService'],_0x270965['selectionManager'],_0x270965[_0x305927(0x12d)],_0x270965[_0x305927(0x17e)],_0x570cc7[_0x305927(0x19c)],_0x5728c8['id'],_0x570cc7[_0x305927(0x13d)]);return _0x2f16a4&&_0x570cc7[_0x305927(0x1a5)]&&_0x270965[_0x305927(0x1d5)][_0x305927(0x191)](_0x270965[_0x305927(0x12d)],_0x570cc7[_0x305927(0x1a5)]),_0x2f16a4;}let _0x5a549f=(_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x133)])??(0x0,_0x16fbe0['generateRandomId'])(0x6),_0x16f39f;try{_0x16f39f=_0x5dbf76({'blockId':_0x5a549f,'config':_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x1d4)],'documentData':_0x270965[_0x305927(0x17e)],'endOffset':_0x8a7520==null?void 0x0:_0x8a7520[_0x305927(0x163)],'insertionMode':_0x3b73ac==null?void 0x0:_0x3b73ac[_0x305927(0x14b)],'metadata':_0x322cc0,'startOffset':_0x8a7520==null?void 0x0:_0x8a7520[_0x305927(0x1dc)]});}catch(_0x58005e){if(_0x58005e instanceof _0x58a179)return!0x1;throw _0x58005e;}let _0x3be11a=_0x32dd29(_0x270965[_0x305927(0x126)],_0x270965[_0x305927(0x1c6)],_0x270965[_0x305927(0x12d)],_0x270965['previousDocumentData'],_0x16f39f[_0x305927(0x19c)],_0x5728c8['id'],_0x16f39f[_0x305927(0x13d)]);return _0x3be11a&&_0x16f39f[_0x305927(0x1a5)]&&_0x270965[_0x305927(0x1d5)]['deserialize'](_0x270965[_0x305927(0x12d)],_0x16f39f[_0x305927(0x1a5)]),_0x3be11a;}},_0x22fab1={'id':'docs-code.command.update','type':_0x16fbe0['CommandType'][_0x4ef7d9(0x197)],'handler':(_0x251fb8,_0x3dac1c)=>{const _0x19776b=_0x4ef7d9;if(!_0x3dac1c)return!0x1;let _0x2efc4a=_0x2c04e9(_0x251fb8,_0x3dac1c[_0x19776b(0x12d)]);if(!_0x2efc4a)return!0x1;let _0x4c88d4=_0x6829c0({'blockId':_0x3dac1c[_0x19776b(0x133)],'config':_0x3dac1c['config'],'documentData':_0x2efc4a[_0x19776b(0x17e)],'metadata':_0x2efc4a['model']['serialize'](_0x2efc4a[_0x19776b(0x12d)])});return _0x4c88d4[_0x19776b(0x1a5)]&&_0x2efc4a[_0x19776b(0x1d5)][_0x19776b(0x191)](_0x2efc4a[_0x19776b(0x12d)],_0x4c88d4[_0x19776b(0x1a5)]),!0x0;}},_0x24dd0d={'id':_0x4ef7d9(0x10d),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0xc5abd5,_0x4eb3e9)=>_0x5cbdcf[_0x4ef7d9(0x151)](_0xc5abd5,_0x4eb3e9)},_0x5cbdcf={'id':'docs-code.command.unwrap','type':_0x16fbe0[_0x4ef7d9(0x12f)]['COMMAND'],'handler':(_0xd28a17,_0x5f0beb)=>{const _0x78bf10=_0x4ef7d9;if(!_0x5f0beb)return!0x1;let _0x3572b7=_0x2c04e9(_0xd28a17,_0x5f0beb==null?void 0x0:_0x5f0beb[_0x78bf10(0x12d)]);if(!_0x3572b7)return!0x1;let _0x581c3b=_0x34a7f7({'blockId':_0x5f0beb[_0x78bf10(0x133)],'documentData':_0x3572b7[_0x78bf10(0x17e)],'metadata':_0x3572b7[_0x78bf10(0x1d5)][_0x78bf10(0x142)](_0x3572b7[_0x78bf10(0x12d)])});if(!_0x581c3b)return!0x1;let _0x375910=_0x32dd29(_0x3572b7['commandService'],_0x3572b7[_0x78bf10(0x1c6)],_0x3572b7[_0x78bf10(0x12d)],_0x3572b7[_0x78bf10(0x17e)],_0x581c3b[_0x78bf10(0x19c)],_0x5cbdcf['id'],_0x581c3b[_0x78bf10(0x13d)]);return _0x375910&&_0x581c3b[_0x78bf10(0x1a5)]&&_0x3572b7[_0x78bf10(0x1d5)][_0x78bf10(0x191)](_0x3572b7['unitId'],_0x581c3b['nextMetadata']),_0x375910;}},_0x33bc70={'id':_0x4ef7d9(0x1a7),'type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0x23dc64,_0x1e8063)=>{const _0x47f94d=_0x4ef7d9;if(!_0x1e8063)return!0x1;let _0x1f3052=_0x2c04e9(_0x23dc64,_0x1e8063==null?void 0x0:_0x1e8063['unitId']);if(!_0x1f3052)return!0x1;let _0x5782e8=_0x880375({'blockId':_0x1e8063[_0x47f94d(0x133)],'documentData':_0x1f3052['previousDocumentData'],'metadata':_0x1f3052[_0x47f94d(0x1d5)][_0x47f94d(0x142)](_0x1f3052[_0x47f94d(0x12d)])});if(!_0x5782e8)return!0x1;let _0x350d34=_0x32dd29(_0x1f3052[_0x47f94d(0x126)],_0x1f3052[_0x47f94d(0x1c6)],_0x1f3052[_0x47f94d(0x12d)],_0x1f3052[_0x47f94d(0x17e)],_0x5782e8['nextDocumentData'],_0x33bc70['id'],_0x5782e8[_0x47f94d(0x13d)]);return _0x350d34&&_0x5782e8['nextMetadata']&&_0x1f3052[_0x47f94d(0x1d5)][_0x47f94d(0x191)](_0x1f3052[_0x47f94d(0x12d)],_0x5782e8['nextMetadata']),_0x350d34;}},_0x5eb246={'id':'docs-code.command.cancel-empty-paragraph','type':_0x16fbe0[_0x4ef7d9(0x12f)][_0x4ef7d9(0x197)],'handler':(_0x1c2214,_0xe5823e)=>{const _0x4b4ef5=_0x4ef7d9;var _0x29bbb5;let _0x4569f0=_0x2c04e9(_0x1c2214,_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x12d)]);if(!_0x4569f0)return!0x1;let _0x138916=(_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x13d)])??((_0x29bbb5=_0x5ea128(_0x1c2214))==null?void 0x0:_0x29bbb5[_0x4b4ef5(0x1dc)]);if(_0x138916==null)return!0x1;let _0x100e81=_0x110b53({'cursorOffset':_0x138916,'documentData':_0x4569f0[_0x4b4ef5(0x17e)],'paragraphStartIndex':_0xe5823e==null?void 0x0:_0xe5823e[_0x4b4ef5(0x10e)]});return _0x100e81?_0x32dd29(_0x4569f0[_0x4b4ef5(0x126)],_0x4569f0[_0x4b4ef5(0x1c6)],_0x4569f0['unitId'],_0x4569f0[_0x4b4ef5(0x17e)],_0x100e81[_0x4b4ef5(0x19c)],_0x5eb246['id'],_0x100e81['cursorOffset']):!0x1;}};function _0x2c04e9(_0x976a12,_0x5020c2){const _0x3f2fe4=_0x4ef7d9;let _0x3eb677=_0x976a12[_0x3f2fe4(0x1b1)](_0x16fbe0[_0x3f2fe4(0x1c2)]),_0x275009=_0x5020c2?_0x3eb677[_0x3f2fe4(0x198)](_0x5020c2,_0x16fbe0[_0x3f2fe4(0x13f)]['UNIVER_DOC']):_0x3eb677[_0x3f2fe4(0x1bb)](_0x16fbe0['UniverInstanceType'][_0x3f2fe4(0x155)]);return _0x275009?{'commandService':_0x976a12[_0x3f2fe4(0x1b1)](_0x16fbe0[_0x3f2fe4(0x1d6)]),'model':_0x976a12[_0x3f2fe4(0x1b1)](_0x14c27e),'previousDocumentData':_0x275009[_0x3f2fe4(0x116)](),'selectionManager':_0x976a12[_0x3f2fe4(0x1b1)](_0x95c02f['DocSelectionManagerService']),'unitId':_0x275009[_0x3f2fe4(0x1af)]()}:null;}function _0x5ea128(_0xed3fd8){const _0x3f6703=_0x4ef7d9;var _0x23bc1e;return(_0x23bc1e=_0xed3fd8[_0x3f6703(0x1b1)](_0x95c02f[_0x3f6703(0x165)])[_0x3f6703(0x1b7)]())==null?void 0x0:_0x23bc1e[0x0];}function _0x68c13f(_0xa8d009,_0x25b4da){const _0x1f3e4c=_0x4ef7d9;let _0x525934=(_0xa8d009==null?void 0x0:_0xa8d009['startOffset'])??(_0x25b4da==null?void 0x0:_0x25b4da[_0x1f3e4c(0x1dc)]),_0x1530ec=(_0xa8d009==null?void 0x0:_0xa8d009[_0x1f3e4c(0x163)])??(_0x25b4da==null?void 0x0:_0x25b4da[_0x1f3e4c(0x163)]);if(_0x525934!=null&&_0x1530ec!=null)return{'endOffset':Math[_0x1f3e4c(0x10a)](_0x525934,_0x1530ec),'startOffset':Math[_0x1f3e4c(0x108)](_0x525934,_0x1530ec)};}function _0x585e05(_0x3e5396,_0x16eaa9){const _0xe53235=_0x4ef7d9;var _0x3c6474;if(!_0x16eaa9)return;let _0x52f850=_0x411014(_0x16eaa9);return(_0x3c6474=_0x3e5396[_0xe53235(0x144)])==null||(_0x3c6474=_0x3c6474[_0xe53235(0x11e)])==null?void 0x0:_0x3c6474[_0xe53235(0x18c)](_0x2ec3bd=>{const _0x2b3e23=_0xe53235;let _0x106c19=(0x0,_0x16fbe0['getBlockRangeInterval'])(_0x2ec3bd);return _0x16eaa9[_0x2b3e23(0x1dc)]===_0x16eaa9[_0x2b3e23(0x163)]?(0x0,_0x16fbe0['containsInteriorInsertionOffset'])(_0x106c19,_0x52f850):(0x0,_0x16fbe0[_0x2b3e23(0x143)])(_0x106c19,_0x52f850);});}function _0x411014(_0x4f86b4){const _0x483f1e=_0x4ef7d9;return _0x4f86b4[_0x483f1e(0x1dc)]===_0x4f86b4[_0x483f1e(0x163)]?_0x4f86b4[_0x483f1e(0x1dc)]:_0x4f86b4[_0x483f1e(0x1dc)]+0x1;}function _0x2a6f93(_0x4a9fbc){const _0x3cef1e=_0x4ef7d9;let _0x1377e7=_0x5ea128(_0x4a9fbc);if(!_0x1377e7)return null;let _0x505a32=_0x4a9fbc[_0x3cef1e(0x1b1)](_0x16fbe0[_0x3cef1e(0x1c2)])[_0x3cef1e(0x1bb)](_0x16fbe0[_0x3cef1e(0x13f)]['UNIVER_DOC']),_0x435f4c=_0x505a32==null?void 0x0:_0x505a32[_0x3cef1e(0x186)]();return _0x435f4c?_0x16fbe0[_0x3cef1e(0x1ad)][_0x3cef1e(0x18e)][_0x3cef1e(0x129)](_0x1377e7,_0x435f4c[_0x3cef1e(0x135)]??[],_0x435f4c[_0x3cef1e(0x1c0)]??'')[0x0]??null:null;}function _0x2d7463(_0x2ee15f,_0x15402c){const _0x37b272=_0x4ef7d9;let _0x27a00c=_0x2ee15f[_0x37b272(0x144)],_0x417e80=_0x15402c['body'],_0x458ed5=(0x0,_0x16fbe0[_0x37b272(0x134)])(_0x27a00c,_0x417e80);return[_0x458ed5&&_0x417e80?_0xf93984(_0x417e80,_0x458ed5):null,_0x458ed5?null:_0x4adb6c(_0x27a00c,_0x417e80)][_0x37b272(0x1b0)](Boolean)['reduce']((_0x41c5bb,_0x7f063b)=>_0x16fbe0[_0x37b272(0x1ac)][_0x37b272(0x119)](_0x41c5bb,_0x7f063b),null);}function _0xf93984(_0x583ccf,_0x137e8b){const _0x15eff1=_0x4ef7d9;let _0x4627df=new _0x16fbe0[(_0x15eff1(0x1ca))]();return _0x4627df[_0x15eff1(0x16f)](_0x137e8b[_0x15eff1(0x12b)]),_0x137e8b[_0x15eff1(0x19a)]>0x0&&_0x4627df[_0x15eff1(0x18b)](_0x137e8b[_0x15eff1(0x19a)],(0x0,_0x16fbe0['getBodySliceForTextXAction'])(_0x583ccf,_0x137e8b[_0x15eff1(0x12b)],_0x137e8b[_0x15eff1(0x12b)]+_0x137e8b[_0x15eff1(0x19a)],!0x1)),_0x137e8b[_0x15eff1(0x1a6)]>0x0&&_0x4627df[_0x15eff1(0x171)](_0x137e8b[_0x15eff1(0x1a6)]),_0x16fbe0['JSONX'][_0x15eff1(0x161)]()[_0x15eff1(0x117)](_0x4627df[_0x15eff1(0x142)](),['body']);}function _0x4adb6c(_0x4483a3,_0x27c98e){const _0x1409fd=_0x4ef7d9;let _0x54803b=[],_0x5a76fa=_0x4483a3?_0x1d9254(_0x4483a3):void 0x0,_0x42116e=_0x27c98e?_0x1d9254(_0x27c98e):void 0x0;for(let _0x311228 of _0x227445)_0x224f11(_0x16fbe0[_0x1409fd(0x1ac)][_0x1409fd(0x161)](),[_0x1409fd(0x144),_0x311228],_0x5a76fa==null?void 0x0:_0x5a76fa[_0x311228],_0x42116e==null?void 0x0:_0x42116e[_0x311228],_0x54803b);return _0x54803b[_0x1409fd(0x153)]((_0xc8aade,_0x18af09)=>_0x16fbe0[_0x1409fd(0x1ac)][_0x1409fd(0x119)](_0xc8aade,_0x18af09),null);}let _0x227445=[_0x4ef7d9(0x135),_0x4ef7d9(0x105),_0x4ef7d9(0x10f),_0x4ef7d9(0x1d2),'blockRanges',_0x4ef7d9(0x1b5),_0x4ef7d9(0x19b),_0x4ef7d9(0x16a),'textRuns'];function _0x1d9254(_0x4eabf4){return _0x4eabf4;}function _0x224f11(_0x3d81ba,_0xe86c11,_0x4be3b5,_0x5ebfb1,_0x19a270){const _0x4f461a=_0x4ef7d9;if(!_0x5258bf(_0x4be3b5,_0x5ebfb1)){if(_0x4be3b5==null){_0x19a270[_0x4f461a(0x1da)](_0x3d81ba['insertOp'](_0xe86c11,_0x5ebfb1));return;}if(_0x5ebfb1==null){_0x19a270[_0x4f461a(0x1da)](_0x3d81ba[_0x4f461a(0x1ba)](_0xe86c11,_0x4be3b5));return;}if(Array['isArray'](_0x4be3b5)&&Array['isArray'](_0x5ebfb1)){_0x3a71ff(_0x3d81ba,_0xe86c11,_0x4be3b5,_0x5ebfb1,_0x19a270);return;}if(_0x3982b6(_0x4be3b5)&&_0x3982b6(_0x5ebfb1)){new Set([...Object['keys'](_0x4be3b5),...Object[_0x4f461a(0x167)](_0x5ebfb1)])[_0x4f461a(0x1aa)](_0xa2541d=>{_0x224f11(_0x3d81ba,[..._0xe86c11,_0xa2541d],_0x4be3b5[_0xa2541d],_0x5ebfb1[_0xa2541d],_0x19a270);});return;}_0x19a270[_0x4f461a(0x1da)](_0x3d81ba[_0x4f461a(0x13a)](_0xe86c11,_0x4be3b5,_0x5ebfb1));}}function _0x3a71ff(_0x290f31,_0x27758c,_0x3e0902,_0x3a48df,_0x581230){const _0x270cf4=_0x4ef7d9;if(_0x3e0902[_0x270cf4(0x1bc)]===_0x3a48df['length']){_0x3e0902[_0x270cf4(0x1aa)]((_0x16a7da,_0x2b5276)=>_0x224f11(_0x290f31,[..._0x27758c,_0x2b5276],_0x16a7da,_0x3a48df[_0x2b5276],_0x581230));return;}let _0x280a32=0x0;for(;_0x280a32<_0x3e0902[_0x270cf4(0x1bc)]&&_0x280a32<_0x3a48df[_0x270cf4(0x1bc)]&&_0x5258bf(_0x3e0902[_0x280a32],_0x3a48df[_0x280a32]);)_0x280a32++;let _0x16475f=_0x3e0902[_0x270cf4(0x1bc)]-0x1,_0x1bd54e=_0x3a48df['length']-0x1;for(;_0x16475f>=_0x280a32&&_0x1bd54e>=_0x280a32&&_0x5258bf(_0x3e0902[_0x16475f],_0x3a48df[_0x1bd54e]);)_0x16475f--,_0x1bd54e--;for(let _0xd8792e=_0x16475f;_0xd8792e>=_0x280a32;_0xd8792e--)_0x581230[_0x270cf4(0x1da)](_0x290f31[_0x270cf4(0x1ba)]([..._0x27758c,_0xd8792e],_0x3e0902[_0xd8792e]));for(let _0x210255=_0x280a32;_0x210255<=_0x1bd54e;_0x210255++)_0x581230[_0x270cf4(0x1da)](_0x290f31['insertOp']([..._0x27758c,_0x210255],_0x3a48df[_0x210255]));}function _0x3982b6(_0xb29b49){const _0x3b58b7=_0x4ef7d9;return typeof _0xb29b49==_0x3b58b7(0x14a)&&!!_0xb29b49&&!Array[_0x3b58b7(0x188)](_0xb29b49);}function _0x5258bf(_0x2125f5,_0x229b12){const _0x4c02fc=_0x4ef7d9;return JSON[_0x4c02fc(0x123)](_0x2125f5)===JSON[_0x4c02fc(0x123)](_0x229b12);}function _0x32dd29(_0x191d22,_0x4fa9f4,_0x158d18,_0x725086,_0x576e6b,_0x4ffc81,_0x3835e3){const _0x4742f7=_0x4ef7d9;let _0x2fa1ba=_0x2d7463(_0x725086,_0x576e6b);return _0x2fa1ba?!!_0x191d22[_0x4742f7(0x1cb)](_0x95c02f['RichTextEditingMutation']['id'],{'unitId':_0x158d18,'actions':_0x2fa1ba,'textRanges':[{'startOffset':_0x3835e3,'endOffset':_0x3835e3,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x4ffc81}):(_0x4fa9f4['replaceDocRanges']([{'startOffset':_0x3835e3,'endOffset':_0x3835e3}],{'unitId':_0x158d18,'subUnitId':_0x158d18},!0x1),!0x0);}let _0x8cc1f2='DOC_CODE_PLUGIN';var _0x4becf7=_0x4ef7d9(0x196),_0x5b535b=_0x4ef7d9(0x17f);let _0x372beb={};function _0x2270af(_0x5ecde0,_0x5a03b3){return function(_0x1d55e0,_0x1a9721){_0x5a03b3(_0x1d55e0,_0x1a9721,_0x5ecde0);};}function _0x14bd8b(_0x19bd8b,_0x19a1ec,_0x28ce99,_0x503977){const _0xecc298=_0x4ef7d9;var _0x115166=arguments[_0xecc298(0x1bc)],_0x442b5b=_0x115166<0x3?_0x19a1ec:_0x503977===null?_0x503977=Object[_0xecc298(0x1d3)](_0x19a1ec,_0x28ce99):_0x503977,_0x2ad9a8;if(typeof Reflect==_0xecc298(0x14a)&&typeof Reflect[_0xecc298(0x10c)]==_0xecc298(0x1d0))_0x442b5b=Reflect[_0xecc298(0x10c)](_0x19bd8b,_0x19a1ec,_0x28ce99,_0x503977);else{for(var _0x4f8431=_0x19bd8b['length']-0x1;_0x4f8431>=0x0;_0x4f8431--)(_0x2ad9a8=_0x19bd8b[_0x4f8431])&&(_0x442b5b=(_0x115166<0x3?_0x2ad9a8(_0x442b5b):_0x115166>0x3?_0x2ad9a8(_0x19a1ec,_0x28ce99,_0x442b5b):_0x2ad9a8(_0x19a1ec,_0x28ce99))||_0x442b5b);}return _0x115166>0x3&&_0x442b5b&&Object['defineProperty'](_0x19a1ec,_0x28ce99,_0x442b5b),_0x442b5b;}let _0x2030f7=class extends _0x16fbe0['Disposable']{constructor(_0x3e336f,_0x35e23c){const _0x27b308=_0x4ef7d9;super(),this['_resourceManagerService']=_0x3e336f,this[_0x27b308(0x17d)]=_0x35e23c,this[_0x27b308(0x160)]();}[_0x4ef7d9(0x160)](){const _0x13d23e=_0x4ef7d9;this[_0x13d23e(0x193)](this[_0x13d23e(0x1d7)]['registerPluginResource']({'pluginName':_0x8cc1f2,'businesses':[_0x16fbe0[_0x13d23e(0x13f)][_0x13d23e(0x155)]],'toJson':_0x3d60eb=>JSON[_0x13d23e(0x123)](this['_docsCodeModel']['serialize'](_0x3d60eb)),'parseJson':_0x52d58e=>_0x1b1769(JSON[_0x13d23e(0x11c)](_0x52d58e)),'onLoad':(_0x8ad630,_0x242802)=>this[_0x13d23e(0x17d)][_0x13d23e(0x191)](_0x8ad630,_0x242802),'onUnLoad':_0x1c7e8d=>this['_docsCodeModel'][_0x13d23e(0x154)](_0x1c7e8d)}));}};_0x2030f7=_0x14bd8b([_0x2270af(0x0,_0x16fbe0[_0x4ef7d9(0x19d)]),_0x2270af(0x1,(0x0,_0x16fbe0[_0x4ef7d9(0x16c)])(_0x14c27e))],_0x2030f7);let _0x34c1c6=class extends _0x16fbe0[_0x4ef7d9(0x157)]{constructor(_0x411e5e=_0x372beb,_0x18ef46,_0x1b90ae,_0x31abee){const _0x24bb99=_0x4ef7d9;super(),this['_config']=_0x411e5e,this[_0x24bb99(0x15e)]=_0x18ef46,this[_0x24bb99(0x15a)]=_0x1b90ae,this['_configService']=_0x31abee;let {..._0x181914}=(0x0,_0x16fbe0['merge'])({},_0x372beb,this[_0x24bb99(0x1cd)]);this[_0x24bb99(0x146)][_0x24bb99(0x121)](_0x24bb99(0x113),_0x181914);}[_0x4ef7d9(0x16d)](){const _0x495145=_0x4ef7d9;this['_injector'][_0x495145(0x15f)]([_0x14c27e]),this[_0x495145(0x15e)]['add']([_0x2030f7]),this[_0x495145(0x15e)][_0x495145(0x1b1)](_0x14c27e),this[_0x495145(0x15e)][_0x495145(0x1b1)](_0x2030f7),[_0x5728c8,_0x33c268,_0x22fab1,_0x5cbdcf,_0x33bc70,_0x24dd0d,_0x5eb246,_0x166a89,_0x2bc0c9,_0x12b758][_0x495145(0x1aa)](_0x5643f3=>this[_0x495145(0x193)](this[_0x495145(0x15a)][_0x495145(0x16e)](_0x5643f3)));}};_0x5a0992(_0x34c1c6,_0x4ef7d9(0x156),_0x8cc1f2),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x18f),_0x4becf7),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x1cc),_0x5b535b),_0x5a0992(_0x34c1c6,_0x4ef7d9(0x149),_0x16fbe0[_0x4ef7d9(0x13f)][_0x4ef7d9(0x155)]),_0x34c1c6=_0x14bd8b([(0x0,_0x16fbe0['DependentOn'])(_0x325972[_0x4ef7d9(0x178)],_0x95c02f[_0x4ef7d9(0x19e)]),_0x2270af(0x1,(0x0,_0x16fbe0[_0x4ef7d9(0x16c)])(_0x16fbe0[_0x4ef7d9(0x11d)])),_0x2270af(0x2,_0x16fbe0[_0x4ef7d9(0x1d6)]),_0x2270af(0x3,_0x16fbe0['IConfigService'])],_0x34c1c6),_0x2ac6e0[_0x4ef7d9(0x14f)]=_0x8cc1f2,_0x2ac6e0[_0x4ef7d9(0x19f)]=_0x5eb246,_0x2ac6e0[_0x4ef7d9(0x15d)]=_0x166a89,_0x2ac6e0['DocsCodeInsertBelowCommand']=_0x33c268,_0x2ac6e0[_0x4ef7d9(0x13e)]=_0x5728c8,_0x2ac6e0[_0x4ef7d9(0x158)]=_0x14c27e,_0x2ac6e0[_0x4ef7d9(0x199)]=_0x33bc70,_0x2ac6e0[_0x4ef7d9(0x1c4)]=_0x5cbdcf,_0x2ac6e0[_0x4ef7d9(0x138)]=_0x22fab1,_0x2ac6e0[_0x4ef7d9(0x1dd)]=_0x12b758,_0x2ac6e0[_0x4ef7d9(0x150)]=_0x2bc0c9,Object[_0x4ef7d9(0x1a3)](_0x2ac6e0,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x34c1c6;}}),_0x2ac6e0[_0x4ef7d9(0x1c3)]=_0x110b53,_0x2ac6e0['isCodeBoundaryDelete']=_0x401b72,_0x2ac6e0[_0x4ef7d9(0x141)]=_0x230562,_0x2ac6e0['normalizeDocsCodeMetadataResource']=_0x1b1769;}));
1
+ (function(_0x80e8ba,_0x3f80cc){const _0x523886=_0x3926,_0x5b7735=_0x80e8ba();while(!![]){try{const _0x24b947=parseInt(_0x523886(0x23f))/0x1*(-parseInt(_0x523886(0x19c))/0x2)+-parseInt(_0x523886(0x182))/0x3+parseInt(_0x523886(0x1b4))/0x4+-parseInt(_0x523886(0x206))/0x5+-parseInt(_0x523886(0x227))/0x6*(-parseInt(_0x523886(0x219))/0x7)+parseInt(_0x523886(0x229))/0x8*(parseInt(_0x523886(0x234))/0x9)+parseInt(_0x523886(0x1f9))/0xa*(parseInt(_0x523886(0x257))/0xb);if(_0x24b947===_0x3f80cc)break;else _0x5b7735['push'](_0x5b7735['shift']());}catch(_0x2ac242){_0x5b7735['push'](_0x5b7735['shift']());}}}(_0x24eb,0x53f6a),function(_0x34f33d,_0x41080c){const _0x2fb5c0=_0x3926;typeof exports==_0x2fb5c0(0x259)&&typeof module<'u'?_0x41080c(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x2fb5c0(0x212)&&define[_0x2fb5c0(0x1f0)]?define([_0x2fb5c0(0x244),_0x2fb5c0(0x183),_0x2fb5c0(0x22b),_0x2fb5c0(0x220),'@univerjs-pro/license'],_0x41080c):(_0x34f33d=typeof globalThis<'u'?globalThis:_0x34f33d||self,_0x41080c(_0x34f33d[_0x2fb5c0(0x253)]={},_0x34f33d[_0x2fb5c0(0x200)],_0x34f33d[_0x2fb5c0(0x22b)],_0x34f33d[_0x2fb5c0(0x1e2)],_0x34f33d[_0x2fb5c0(0x1dc)]));}(this,function(_0x3a686e,_0x3ec08c,_0x1f3046,_0x514b03,_0x4d0859){const _0x309445=_0x3926;Object[_0x309445(0x24c)](_0x3a686e,Symbol[_0x309445(0x1bc)],{'value':_0x309445(0x1d4)});let _0x412018={'language':_0x309445(0x1b3),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x627ab3(_0x213aed){return{..._0x412018,..._0x213aed};}function _0x4d8be0(_0x16ccde){const _0x104b11=_0x309445;let _0x2c4f0a=(_0x16ccde==null?void 0x0:_0x16ccde[_0x104b11(0x242)])??{};return{'codes':Object[_0x104b11(0x1a0)](Object[_0x104b11(0x1c1)](_0x2c4f0a)[_0x104b11(0x23a)](([_0x5707d3,_0x49a61c])=>[_0x5707d3,_0x627ab3(_0x49a61c)]))};}function _0x546965(_0x2fd52d,_0x243cb8,_0x57a2c6){const _0x474fdb=_0x309445;let _0x116a75=_0x4d8be0(_0x2fd52d);return _0x116a75[_0x474fdb(0x242)][_0x243cb8]=_0x627ab3({..._0x116a75[_0x474fdb(0x242)][_0x243cb8],..._0x57a2c6}),_0x116a75;}function _0x2fa9af(_0x563606,_0x5bd1ec){const _0x5a44e9=_0x309445;let _0x5bfc51=_0x4d8be0(_0x563606);return delete _0x5bfc51[_0x5a44e9(0x242)][_0x5bd1ec],_0x5bfc51;}function _0x5292f5(_0x1f4016){'@babel/helpers - typeof';const _0x52fd65=_0x309445;return _0x5292f5=typeof Symbol==_0x52fd65(0x212)&&typeof Symbol[_0x52fd65(0x256)]==_0x52fd65(0x1f6)?function(_0x5547e4){return typeof _0x5547e4;}:function(_0x1a65f7){const _0x32561c=_0x52fd65;return _0x1a65f7&&typeof Symbol==_0x32561c(0x212)&&_0x1a65f7[_0x32561c(0x203)]===Symbol&&_0x1a65f7!==Symbol[_0x32561c(0x185)]?'symbol':typeof _0x1a65f7;},_0x5292f5(_0x1f4016);}function _0x3812bd(_0x2642f7,_0x5db434){const _0xe7cfef=_0x309445;if(_0x5292f5(_0x2642f7)!=_0xe7cfef(0x259)||!_0x2642f7)return _0x2642f7;var _0x3687cd=_0x2642f7[Symbol[_0xe7cfef(0x197)]];if(_0x3687cd!==void 0x0){var _0x4a7859=_0x3687cd[_0xe7cfef(0x1bb)](_0x2642f7,_0x5db434||'default');if(_0x5292f5(_0x4a7859)!=_0xe7cfef(0x259))return _0x4a7859;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5db434==='string'?String:Number)(_0x2642f7);}function _0x16b248(_0x361385){const _0xd097dc=_0x309445;var _0x3ce6fa=_0x3812bd(_0x361385,'string');return _0x5292f5(_0x3ce6fa)==_0xd097dc(0x1f6)?_0x3ce6fa:_0x3ce6fa+'';}function _0x6a7255(_0x55fec6,_0x8d1cc7,_0x52415c){return(_0x8d1cc7=_0x16b248(_0x8d1cc7))in _0x55fec6?Object['defineProperty'](_0x55fec6,_0x8d1cc7,{'value':_0x52415c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55fec6[_0x8d1cc7]=_0x52415c,_0x55fec6;}var _0xea2109=class extends _0x3ec08c[_0x309445(0x23d)]{constructor(..._0x3f9109){const _0x28b242=_0x309445;super(..._0x3f9109),_0x6a7255(this,_0x28b242(0x199),new Map()),_0x6a7255(this,'_change$',new _0x1f3046[(_0x28b242(0x1ea))]()),_0x6a7255(this,_0x28b242(0x221),this[_0x28b242(0x1ca)]['asObservable']());}['getCodeConfig'](_0x2b3582,_0x41165d){const _0x394e7d=_0x309445;return _0x4d8be0(this[_0x394e7d(0x199)][_0x394e7d(0x23b)](_0x2b3582))[_0x394e7d(0x242)][_0x41165d];}[_0x309445(0x231)](_0x5bd5a0,_0x271ef8,_0x471f13){const _0x3d64e3=_0x309445;this[_0x3d64e3(0x1f7)](_0x5bd5a0,_0x271ef8,_0x546965(this[_0x3d64e3(0x199)]['get'](_0x5bd5a0),_0x271ef8,_0x471f13));}[_0x309445(0x1af)](_0x12e015,_0x1145a6){const _0xb9740a=_0x309445;this['_setResource'](_0x12e015,_0x1145a6,_0x2fa9af(this[_0xb9740a(0x199)][_0xb9740a(0x23b)](_0x12e015),_0x1145a6));}['serialize'](_0x40566a){const _0x31a5c3=_0x309445;return _0x4d8be0(this[_0x31a5c3(0x199)][_0x31a5c3(0x23b)](_0x40566a));}['deserialize'](_0x2ac7b5,_0x2ab5c6){const _0x2c6c41=_0x309445;this[_0x2c6c41(0x199)][_0x2c6c41(0x1c8)](_0x2ac7b5,_0x4d8be0(_0x2ab5c6)),this['_change$'][_0x2c6c41(0x1fe)]({'unitId':_0x2ac7b5});}[_0x309445(0x210)](_0x1f5c1a){const _0x4ad742=_0x309445;this['_resources'][_0x4ad742(0x1ee)](_0x1f5c1a),this[_0x4ad742(0x1ca)][_0x4ad742(0x1fe)]({'unitId':_0x1f5c1a});}[_0x309445(0x18f)](){const _0x3eabea=_0x309445;super[_0x3eabea(0x18f)](),this[_0x3eabea(0x199)][_0x3eabea(0x1a6)](),this[_0x3eabea(0x1ca)][_0x3eabea(0x1f5)]();}[_0x309445(0x1f7)](_0x198774,_0x40f4fc,_0x9b1196){const _0x535a42=_0x309445;this[_0x535a42(0x199)]['set'](_0x198774,_0x9b1196),this['_change$'][_0x535a42(0x1fe)]({'unitId':_0x198774,'blockId':_0x40f4fc});}};let _0x58a5db={'id':_0x309445(0x1ae),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1d0)],'handler':(_0x5ac279,_0x3889d3)=>!(_0x3889d3!=null&&_0x3889d3[_0x309445(0x17e)])||!_0x3889d3['blockId']?!0x1:(_0x5ac279['get'](_0xea2109)[_0x309445(0x231)](_0x3889d3[_0x309445(0x17e)],_0x3889d3[_0x309445(0x254)],_0x3889d3[_0x309445(0x1e7)]),!0x0)},_0x2ef9cf={'id':_0x309445(0x237),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1d0)],'handler':(_0x19689d,_0xcfa5c2)=>!(_0xcfa5c2!=null&&_0xcfa5c2[_0x309445(0x17e)])||!_0xcfa5c2[_0x309445(0x254)]?!0x1:(_0x19689d[_0x309445(0x23b)](_0xea2109)['removeCode'](_0xcfa5c2['unitId'],_0xcfa5c2[_0x309445(0x254)]),!0x0)},_0x2fda6a=_0x309445(0x17f);var _0x4601fe=class extends Error{constructor(_0x2c2e22=_0x309445(0x1b8)){super(_0x2c2e22);}};function _0x4ca597(_0x33b51f){const _0x39ef35=_0x309445;var _0x4a4ac8;let _0x2339f4=_0x5ad516(_0x33b51f[_0x39ef35(0x1ff)]),_0x345f1a=_0x20c914(_0x2339f4),_0x341c76=_0x194a78(_0x33b51f['startOffset'],_0x33b51f['endOffset']),_0x251342=_0x341c76?(_0x4a4ac8=_0x345f1a[_0x39ef35(0x1bd)])==null?void 0x0:_0x4a4ac8[_0x39ef35(0x18d)](_0x3ea5a5=>{const _0x599a47=_0x39ef35;let _0x5b8ce9=(0x0,_0x3ec08c['getBlockRangeInterval'])(_0x3ea5a5);return _0x5b8ce9[_0x599a47(0x1ed)]===_0x341c76['startOffset']&&_0x5b8ce9['endOffset']===_0x341c76[_0x599a47(0x1f1)];}):void 0x0,{startOffset:_0x3ae533,endOffset:_0x2ea353}=_0x251342?_0x341c76:_0x2e4700(_0x345f1a,_0x33b51f[_0x39ef35(0x1ed)],_0x33b51f[_0x39ef35(0x1f1)],_0x33b51f[_0x39ef35(0x1cd)]);if(!_0x251342&&_0x430dad(_0x345f1a,_0x3ae533,_0x2ea353))throw new _0x4601fe('Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block');let _0x5b951f=_0x2e93d4(_0x345f1a,_0x3ae533,_0x2ea353),_0x24adff=(_0x251342==null?void 0x0:_0x251342[_0x39ef35(0x254)])??_0x33b51f['blockId'],_0x5a6346=_0x546965(_0x33b51f[_0x39ef35(0x251)],_0x24adff,{..._0x412018,..._0x33b51f[_0x39ef35(0x1e7)]});if(_0x251342)return _0x251342[_0x39ef35(0x24d)]=_0x3ec08c[_0x39ef35(0x1f3)]['CODE'],_0x391f2e(_0x345f1a,_0x3ae533,_0x2ea353),_0x166b4c(_0x345f1a,_0x3ae533,_0x2ea353,_0x5b951f),_0xabc62f(_0x345f1a,_0x251342),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};if(_0x3ae533===_0x2ea353){var _0x4d62e6,_0x11fb1b;let _0x3752a5=''+_0x3ec08c['DataStreamTreeTokenType'][_0x39ef35(0x252)]+_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1de)]+_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1ec)];_0x41f5f3(_0x345f1a,_0x3ae533,_0x3752a5,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x3ec08c[_0x39ef35(0x25b)])(new Set((_0x4d62e6=_0x345f1a[_0x39ef35(0x236)])==null?void 0x0:_0x4d62e6[_0x39ef35(0x23a)](_0x27587b=>_0x27587b['paragraphId']))),'paragraphStyle':_0xaa3d3e(!0x0,!0x0,_0x5b951f)}],'blockRanges':[{'blockId':_0x24adff,'blockType':_0x3ec08c[_0x39ef35(0x1f3)]['CODE'],'startIndex':0x0,'endIndex':_0x3752a5[_0x39ef35(0x1ba)]-0x1}]});let _0x5c5e81=(_0x11fb1b=_0x345f1a['blockRanges'])==null?void 0x0:_0x11fb1b['find'](_0x59e639=>_0x59e639['blockId']===_0x24adff);return _0x5c5e81&&_0xabc62f(_0x345f1a,_0x5c5e81),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};}_0x41f5f3(_0x345f1a,_0x2ea353,_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1ec)]),_0x41f5f3(_0x345f1a,_0x3ae533,_0x3ec08c['DataStreamTreeTokenType'][_0x39ef35(0x252)]),_0x166b4c(_0x345f1a,_0x3ae533,_0x2ea353+0x1,_0x5b951f);let _0x2cc587={'blockId':_0x24adff,'blockType':_0x3ec08c['DocumentBlockRangeType'][_0x39ef35(0x20a)],'startIndex':_0x3ae533,'endIndex':_0x2ea353+0x1};return _0x345f1a[_0x39ef35(0x1bd)]=[..._0x345f1a[_0x39ef35(0x1bd)]??[],_0x2cc587][_0x39ef35(0x19e)]((_0x23d2eb,_0x561cfa)=>_0x23d2eb[_0x39ef35(0x207)]-_0x561cfa['startIndex']),_0xabc62f(_0x345f1a,_0x2cc587),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};}function _0x391f2e(_0x4d5159,_0x294bb7,_0x2ed28d){const _0x11b162=_0x309445;(_0x4d5159[_0x11b162(0x236)]??[])['filter'](_0x2706a3=>_0x2706a3[_0x11b162(0x207)]>_0x294bb7&&_0x2706a3[_0x11b162(0x207)]<_0x2ed28d)[_0x11b162(0x1d6)](_0xe3d4a6=>{const _0x1ea9e0=_0x11b162;let _0x5a26da={..._0xe3d4a6[_0x1ea9e0(0x21b)]??{}};delete _0x5a26da[_0x1ea9e0(0x1d5)],delete _0x5a26da[_0x1ea9e0(0x17c)],_0xe3d4a6[_0x1ea9e0(0x21b)]=_0x5a26da;});}function _0x194a78(_0x1802c4,_0x3f262c){const _0x18c6aa=_0x309445;return _0x1802c4==null||_0x3f262c==null||_0x1802c4===_0x3f262c?null:{'startOffset':Math[_0x18c6aa(0x18a)](_0x1802c4,_0x3f262c),'endOffset':Math['max'](_0x1802c4,_0x3f262c)};}function _0x430dad(_0x1f2f2f,_0x1844da,_0x831dcb){const _0x1d08fe=_0x309445;return(_0x1f2f2f[_0x1d08fe(0x1bd)]??[])[_0x1d08fe(0x1dd)](_0x2cb1a0=>{const _0x32aa32=_0x1d08fe;let _0x54519c=(0x0,_0x3ec08c[_0x32aa32(0x194)])(_0x2cb1a0);return _0x1844da===_0x831dcb?(0x0,_0x3ec08c[_0x32aa32(0x1ad)])(_0x54519c,_0x1844da):(0x0,_0x3ec08c[_0x32aa32(0x1c3)])(_0x54519c,{'startOffset':_0x1844da,'endOffset':_0x831dcb});});}function _0x2e4649(_0x15007a){const _0x56d0fe=_0x309445;return{'nextDocumentData':_0x5ad516(_0x15007a[_0x56d0fe(0x1ff)]),'nextMetadata':_0x546965(_0x15007a['metadata'],_0x15007a['blockId'],_0x15007a['config']),'cursorOffset':0x0};}function _0x25ca4a(_0x4c42df){const _0x5a3a72=_0x309445;let _0x2efd18=_0x5ad516(_0x4c42df['documentData']),_0x261d53=_0x20c914(_0x2efd18),_0x264580=_0x2929e2(_0x261d53,_0x4c42df['blockId']);if(!_0x264580)return null;let _0x42c33d=_0x12281d(_0x261d53,_0x264580);return{'nextDocumentData':_0x2efd18,'nextMetadata':_0x2fa9af(_0x4c42df[_0x5a3a72(0x251)],_0x4c42df[_0x5a3a72(0x254)]),'cursorOffset':_0x42c33d};}function _0x5d58a9(_0x578933){const _0x1d1609=_0x309445;var _0x4bb3d6;let _0x13b15c=_0x5ad516(_0x578933[_0x1d1609(0x1ff)]),_0x3c74d4=_0x20c914(_0x13b15c),_0x67db74=_0x2929e2(_0x3c74d4,_0x578933[_0x1d1609(0x254)]);if(!_0x67db74)return null;let _0x16cb4b=(0x0,_0x3ec08c[_0x1d1609(0x194)])(_0x67db74);return _0x410d4e(_0x3c74d4,_0x16cb4b[_0x1d1609(0x1ed)],_0x16cb4b['endOffset']),_0x3c74d4[_0x1d1609(0x1bd)]=(_0x4bb3d6=_0x3c74d4['blockRanges'])==null?void 0x0:_0x4bb3d6[_0x1d1609(0x1eb)](_0x13b002=>_0x13b002[_0x1d1609(0x254)]!==_0x578933['blockId']),{'nextDocumentData':_0x13b15c,'nextMetadata':_0x2fa9af(_0x578933['metadata'],_0x578933['blockId']),'cursorOffset':_0x67db74[_0x1d1609(0x207)]};}function _0x1ad099(_0x4aef37){const _0x31a923=_0x309445;let _0x3669fd=_0x5ad516(_0x4aef37[_0x31a923(0x1ff)]),_0x309ccb=_0x20c914(_0x3669fd),_0x5adfef=_0x2f96b7(_0x309ccb,_0x4aef37[_0x31a923(0x250)]);return _0x5adfef&&_0xc612c6(_0x3669fd,_0x309ccb,_0x5adfef,_0x4aef37[_0x31a923(0x250)],_0x4aef37[_0x31a923(0x20f)])||null;}function _0xc612c6(_0x172b2f,_0x2a67df,_0x21ae3d,_0x1146ab,_0x126674){const _0x39c6c4=_0x309445;let _0x5d1f0f=_0x14ad24(_0x2a67df,_0x21ae3d,_0x1146ab,_0x126674);if(!_0x5d1f0f)return null;let _0x32d892=_0x5d1f0f[_0x39c6c4(0x21a)]-0x1;return _0x410d4e(_0x2a67df,_0x5d1f0f[_0x39c6c4(0x189)]['startIndex'],_0x5d1f0f[_0x39c6c4(0x189)][_0x39c6c4(0x207)]+0x1),{'nextDocumentData':_0x172b2f,'cursorOffset':_0x32d892};}function _0x2929e2(_0x5b8fb6,_0x123f66){const _0x1776f1=_0x309445;var _0x2dc39f;return _0x5b8fb6==null||(_0x2dc39f=_0x5b8fb6[_0x1776f1(0x1bd)])==null?void 0x0:_0x2dc39f[_0x1776f1(0x18d)](_0x3afc1e=>_0x3afc1e['blockType']===_0x3ec08c['DocumentBlockRangeType'][_0x1776f1(0x20a)]&&_0x3afc1e[_0x1776f1(0x254)]===_0x123f66);}function _0x280fb7(_0x85aad1){const _0x444e64=_0x309445;let _0x51c7c3=_0x85aad1[_0x444e64(0x1ff)][_0x444e64(0x1fd)];if(!_0x51c7c3)return!0x1;let _0x4df73b=_0x85aad1[_0x444e64(0x1aa)]==='left'?_0x85aad1[_0x444e64(0x250)]-0x1:_0x85aad1['cursorOffset'],_0x68250f=_0x85aad1[_0x444e64(0x1aa)]==='right'?_0x85aad1[_0x444e64(0x250)]+0x1:_0x4df73b;return(_0x51c7c3[_0x444e64(0x1bd)]??[])['some'](_0x5ed7aa=>_0x5ed7aa[_0x444e64(0x24d)]===_0x3ec08c[_0x444e64(0x1f3)]['CODE']?_0x4df73b===_0x5ed7aa[_0x444e64(0x207)]||_0x4df73b===_0x5ed7aa['endIndex']||_0x68250f===_0x5ed7aa['startIndex']||_0x68250f===_0x5ed7aa['endIndex']:!0x1);}function _0x2f96b7(_0x26fce1,_0x37c45c){var _0x173f44;return(_0x173f44=_0x26fce1['blockRanges'])==null?void 0x0:_0x173f44['find'](_0x2664f0=>{const _0x804aaa=_0x3926;let _0x44e451=_0x5444ff(_0x2664f0);return _0x2664f0[_0x804aaa(0x24d)]===_0x3ec08c[_0x804aaa(0x1f3)][_0x804aaa(0x20a)]&&_0x2664f0[_0x804aaa(0x207)]<=_0x37c45c&&_0x37c45c<=_0x44e451+0x2;});}function _0xaa3d3e(_0x2efd59,_0x43528b,_0x3d57d7=!0x1){const _0x2f7d8e=_0x309445;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x3ec08c[_0x2f7d8e(0x21e)]['TRUE'],'keepNext':_0x43528b?_0x3ec08c[_0x2f7d8e(0x21e)][_0x2f7d8e(0x247)]:_0x3ec08c[_0x2f7d8e(0x21e)][_0x2f7d8e(0x19f)],'widowControl':_0x3ec08c['BooleanNumber'][_0x2f7d8e(0x19f)],..._0x2efd59&&_0x3d57d7?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x2fda6a,'fs':0xc}};}function _0x166b4c(_0x428ea2,_0x15a295,_0x54ae90,_0x5457d6=!0x1){const _0x415742=_0x309445;let _0x30f7ed=(_0x428ea2[_0x415742(0x236)]??[])[_0x415742(0x1eb)](_0x4ed5ce=>_0x4ed5ce[_0x415742(0x207)]>_0x15a295&&_0x4ed5ce['startIndex']<_0x54ae90);_0x30f7ed[_0x415742(0x1d6)]((_0x49df62,_0x17dca0)=>{const _0xbdc6c5=_0x415742;_0x49df62[_0xbdc6c5(0x21b)]={..._0x49df62[_0xbdc6c5(0x21b)]??{},..._0xaa3d3e(_0x17dca0===0x0,_0x17dca0===_0x30f7ed[_0xbdc6c5(0x1ba)]-0x1,_0x5457d6)};});}function _0x598b24(_0x30171a){const _0x111257=_0x309445;var _0x1f323a,_0x5d41f1;let _0x19dbfe={..._0x30171a??{}};return delete _0x19dbfe[_0x111257(0x209)],delete _0x19dbfe['indentStart'],delete _0x19dbfe['spaceAbove'],delete _0x19dbfe[_0x111257(0x17c)],delete _0x19dbfe['keepLines'],delete _0x19dbfe[_0x111257(0x240)],delete _0x19dbfe[_0x111257(0x202)],((_0x1f323a=_0x19dbfe['textStyle'])==null?void 0x0:_0x1f323a['ff'])===_0x2fda6a&&((_0x5d41f1=_0x19dbfe[_0x111257(0x211)])==null?void 0x0:_0x5d41f1['fs'])===0xc&&delete _0x19dbfe[_0x111257(0x211)],_0x19dbfe;}function _0x4c506d(_0x14571d,_0x4ddf10){const _0x2578a0=_0x309445;let _0x3effb6=_0x5444ff(_0x4ddf10);return(_0x14571d['paragraphs']??[])['filter'](_0x3c7d08=>_0x3c7d08[_0x2578a0(0x207)]>_0x4ddf10['startIndex']&&_0x3c7d08[_0x2578a0(0x207)]<_0x3effb6);}function _0x12281d(_0x125912,_0x52e885){const _0x3241da=_0x309445;var _0x1ac71c;let _0x394bbb=_0x5444ff(_0x52e885);return _0x4c506d(_0x125912,_0x52e885)[_0x3241da(0x1d6)](_0x1a45e2=>{const _0x4fda6d=_0x3241da;_0x1a45e2[_0x4fda6d(0x21b)]=_0x598b24(_0x1a45e2[_0x4fda6d(0x21b)]);}),_0x410d4e(_0x125912,_0x394bbb,_0x394bbb+0x1),_0x410d4e(_0x125912,_0x52e885['startIndex'],_0x52e885[_0x3241da(0x207)]+0x1),_0x125912[_0x3241da(0x1bd)]=(_0x1ac71c=_0x125912[_0x3241da(0x1bd)])==null?void 0x0:_0x1ac71c['filter'](_0x3980da=>_0x3980da[_0x3241da(0x254)]!==_0x52e885['blockId']),_0x52e885['startIndex'];}function _0x5ad516(_0x5f0335){const _0x1d6a09=_0x309445;return{..._0x5f0335,'body':_0x5f0335[_0x1d6a09(0x1fd)]?_0x1497c4(_0x5f0335[_0x1d6a09(0x1fd)]):_0x5f0335[_0x1d6a09(0x1fd)]};}function _0x1497c4(_0x4b67d3){const _0x33162e=_0x309445;var _0x274bcb,_0x37c2c0,_0xb7816a,_0xb5a80,_0x516a1e,_0x559b86,_0x5c1621,_0x16a08f,_0x11e692;return{..._0x4b67d3,'paragraphs':(_0x274bcb=_0x4b67d3[_0x33162e(0x236)])==null?void 0x0:_0x274bcb[_0x33162e(0x23a)](_0x4c0daf=>({..._0x4c0daf,'bullet':_0x257efd(_0x4c0daf[_0x33162e(0x188)]),'paragraphStyle':_0x257efd(_0x4c0daf[_0x33162e(0x21b)])})),'sectionBreaks':(_0x37c2c0=_0x4b67d3[_0x33162e(0x249)])==null?void 0x0:_0x37c2c0[_0x33162e(0x23a)](_0x950118=>({..._0x950118})),'textRuns':(_0xb7816a=_0x4b67d3[_0x33162e(0x23c)])==null?void 0x0:_0xb7816a[_0x33162e(0x23a)](_0x2ade04=>({..._0x2ade04})),'tables':(_0xb5a80=_0x4b67d3['tables'])==null?void 0x0:_0xb5a80[_0x33162e(0x23a)](_0xd93775=>({..._0xd93775})),'columnGroups':(_0x516a1e=_0x4b67d3[_0x33162e(0x1c0)])==null?void 0x0:_0x516a1e[_0x33162e(0x23a)](_0x3bdbf5=>{const _0x9d6a67=_0x33162e;var _0x1b5605;return{..._0x3bdbf5,'columns':(_0x1b5605=_0x3bdbf5[_0x9d6a67(0x24a)])==null?void 0x0:_0x1b5605['map'](_0x23c639=>_0x257efd(_0x23c639))};}),'blockRanges':(_0x559b86=_0x4b67d3[_0x33162e(0x1bd)])==null?void 0x0:_0x559b86[_0x33162e(0x23a)](_0x4ed843=>({..._0x4ed843})),'customRanges':(_0x5c1621=_0x4b67d3[_0x33162e(0x232)])==null?void 0x0:_0x5c1621['map'](_0x460fa4=>({..._0x460fa4})),'customDecorations':(_0x16a08f=_0x4b67d3['customDecorations'])==null?void 0x0:_0x16a08f['map'](_0x2660d7=>({..._0x2660d7})),'customBlocks':(_0x11e692=_0x4b67d3[_0x33162e(0x178)])==null?void 0x0:_0x11e692[_0x33162e(0x23a)](_0x4caf74=>({..._0x4caf74}))};}function _0x257efd(_0x2d4bb4){const _0x23e793=_0x309445;return Array[_0x23e793(0x238)](_0x2d4bb4)?_0x2d4bb4[_0x23e793(0x23a)](_0x2f6f04=>_0x257efd(_0x2f6f04)):!_0x2d4bb4||typeof _0x2d4bb4!=_0x23e793(0x259)?_0x2d4bb4:Object[_0x23e793(0x1a0)](Object[_0x23e793(0x1c1)](_0x2d4bb4)[_0x23e793(0x23a)](([_0x11a0ef,_0x23dbc9])=>[_0x11a0ef,_0x257efd(_0x23dbc9)]));}function _0x20c914(_0xd9b823){const _0x32143c=_0x309445;if(!_0xd9b823[_0x32143c(0x1fd)])throw Error(_0x32143c(0x1a8));return _0xd9b823[_0x32143c(0x1fd)];}function _0x2e4700(_0xae0ab4,_0xbd2cdd,_0x38afb8,_0x1fff7e=_0x309445(0x1ac)){const _0x5a62d7=_0x309445;if(_0xbd2cdd==null||_0x38afb8==null){let _0x2a7d26=_0x45652d(_0xae0ab4);return{'startOffset':_0x2a7d26,'endOffset':_0x2a7d26};}let _0x3ecc82=Math[_0x5a62d7(0x18a)](_0xbd2cdd,_0x38afb8),_0x4bd126=Math[_0x5a62d7(0x24e)](_0xbd2cdd,_0x38afb8),_0x2473c6=_0xa28212(_0xae0ab4,_0x3ecc82,_0x4bd126);return _0x3ecc82===_0x4bd126?_0x1fff7e===_0x5a62d7(0x21f)?{'startOffset':_0x3ecc82,'endOffset':_0x4bd126}:_0x185d66(_0xae0ab4,_0x3ecc82,_0x2473c6):_0x3926b9(_0xae0ab4,_0x3ecc82,_0x4bd126,_0x2473c6);}function _0x185d66(_0x559ba8,_0x3f234b,_0x2b4b14){const _0x442927=_0x309445;let _0x52e000=_0x5a91c4(_0x559ba8,_0x3f234b);if(_0x52e000){let _0x4449f5=_0x1ba2b4(_0x559ba8,_0x52e000,_0x2b4b14);if(_0x4449f5<_0x52e000['startIndex'])return{'startOffset':_0x4449f5,'endOffset':_0x2b4b14?Math[_0x442927(0x18a)](_0x52e000[_0x442927(0x207)]+0x1,_0x2b4b14[_0x442927(0x1f1)]):_0x52e000[_0x442927(0x207)]+0x1};}let _0x316b63=_0x3f234b===0x0&&_0x559ba8['dataStream'][0x0]===_0x3ec08c[_0x442927(0x218)][_0x442927(0x1de)]?0x1:_0x3f234b;return{'startOffset':_0x316b63,'endOffset':_0x316b63};}function _0x45652d(_0x373fd1){const _0x1dadbf=_0x309445;return _0x373fd1['dataStream'][_0x1dadbf(0x22a)](_0x3ec08c[_0x1dadbf(0x218)][_0x1dadbf(0x239)])?Math[_0x1dadbf(0x24e)](0x0,_0x373fd1[_0x1dadbf(0x1b5)][_0x1dadbf(0x1ba)]-0x1):_0x373fd1[_0x1dadbf(0x1b5)][_0x1dadbf(0x1ba)];}function _0x2e93d4(_0x40d678,_0x2bc3e8,_0x457625){const _0x1a250b=_0x309445;var _0x5ad671;let _0x400f10=Math['min'](_0x2bc3e8,_0x457625),_0x2bcf3f=Math[_0x1a250b(0x24e)](_0x2bc3e8,_0x457625);return!!((_0x5ad671=_0x40d678['tables'])!=null&&_0x5ad671[_0x1a250b(0x1dd)](_0x28cbcc=>_0x400f10>_0x28cbcc['startIndex']&&_0x400f10<_0x28cbcc['endIndex']||_0x2bcf3f>_0x28cbcc[_0x1a250b(0x207)]&&_0x2bcf3f<_0x28cbcc[_0x1a250b(0x243)]||_0x400f10<=_0x28cbcc['startIndex']&&_0x2bcf3f>=_0x28cbcc['endIndex']));}function _0x3926b9(_0x5d8582,_0x2c465f,_0x64fb5d,_0x1cf188){const _0x37f29f=_0x309445;let _0x59201f=[..._0x5d8582[_0x37f29f(0x236)]??[]][_0x37f29f(0x19e)]((_0x225d87,_0x48cc6f)=>_0x225d87[_0x37f29f(0x207)]-_0x48cc6f['startIndex']),_0x3d78b1=(0x0,_0x3ec08c['getParagraphContentStartOffsets'])(_0x5d8582),_0x222599=_0x59201f[_0x37f29f(0x18d)](_0x4bfc72=>_0x1ba2b4(_0x5d8582,_0x4bfc72,_0x1cf188,_0x3d78b1)<=_0x2c465f&&_0x2c465f<=_0x4bfc72[_0x37f29f(0x207)]),_0x49536a=_0x59201f[_0x37f29f(0x18d)](_0x823bf6=>_0x823bf6[_0x37f29f(0x207)]>=_0x64fb5d-0x1)??_0x59201f[_0x59201f[_0x37f29f(0x1ba)]-0x1];return{'startOffset':_0x222599?_0x1ba2b4(_0x5d8582,_0x222599,_0x1cf188,_0x3d78b1):_0x2c465f,'endOffset':_0x49536a?_0x3136a9(_0x49536a,_0x1cf188):_0x64fb5d};}function _0x5a91c4(_0x4664cb,_0x52d5f1){const _0x54196d=_0x309445;let _0x2dca90=[..._0x4664cb[_0x54196d(0x236)]??[]][_0x54196d(0x19e)]((_0x451f25,_0x408106)=>_0x451f25[_0x54196d(0x207)]-_0x408106[_0x54196d(0x207)]),_0x5f14e7=(0x0,_0x3ec08c[_0x54196d(0x1c4)])(_0x4664cb);return _0x2dca90[_0x54196d(0x18d)](_0x31fcc9=>(_0x5f14e7[_0x54196d(0x23b)](_0x31fcc9[_0x54196d(0x207)])??0x0)<=_0x52d5f1&&_0x52d5f1<=_0x31fcc9['startIndex']);}function _0x1ba2b4(_0x4d4171,_0x1b61ef,_0x489cd2,_0x382ab5){const _0x1c4e9a=_0x309445;let _0x241b93=(_0x382ab5==null?void 0x0:_0x382ab5[_0x1c4e9a(0x23b)](_0x1b61ef['startIndex']))??(0x0,_0x3ec08c[_0x1c4e9a(0x1a7)])(_0x4d4171,_0x1b61ef);return _0x489cd2?Math[_0x1c4e9a(0x24e)](_0x241b93,_0x489cd2[_0x1c4e9a(0x1ed)]):_0x241b93;}function _0x3136a9(_0xd40439,_0x319dd9){const _0x12f12c=_0x309445;let _0x4cb353=_0xd40439[_0x12f12c(0x207)]+0x1;return _0x319dd9?Math[_0x12f12c(0x18a)](_0x4cb353,_0x319dd9[_0x12f12c(0x1f1)]):_0x4cb353;}function _0xa28212(_0x30a8da,_0x7427b9,_0x1ddeef){const _0x51ad5e=_0x309445;let _0x3fb856=_0x195d09(_0x30a8da,_0x7427b9),_0x2f6eb7=_0x195d09(_0x30a8da,_0x7427b9===_0x1ddeef?_0x1ddeef:Math['max'](_0x7427b9,_0x1ddeef-0x1));if(_0x3fb856||_0x2f6eb7){if(!_0x3fb856||!_0x2f6eb7||_0x3fb856[_0x51ad5e(0x1a5)]!==_0x2f6eb7[_0x51ad5e(0x1a5)]||_0x3fb856[_0x51ad5e(0x21a)]!==_0x2f6eb7[_0x51ad5e(0x21a)])throw new _0x4601fe();return _0x3fb856;}}function _0x195d09(_0x268c41,_0x513400){const _0x3948aa=_0x309445;let _0x3a6d55=_0x268c41[_0x3948aa(0x1b5)],_0x206c04=-0x1;for(let _0x1d160a=Math[_0x3948aa(0x18a)](_0x513400,_0x3a6d55[_0x3948aa(0x1ba)]-0x1);_0x1d160a>=0x0;_0x1d160a--){let _0x2e6546=_0x3a6d55[_0x1d160a];if(_0x2e6546===_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x19d)])return;if(_0x2e6546===_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x1f4)]){_0x206c04=_0x1d160a;break;}}if(_0x206c04<0x0)return;let _0x2b7f88=_0x3a6d55[_0x3948aa(0x1cc)](_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x19d)],_0x206c04+0x1);if(!(_0x2b7f88<0x0||_0x513400<_0x206c04+0x1||_0x513400>_0x2b7f88-0x1))return{'startOffset':_0x206c04+0x1,'endOffset':Math[_0x3948aa(0x24e)](_0x206c04+0x1,_0x2b7f88-0x1),'startTokenOffset':_0x206c04,'endTokenOffset':_0x2b7f88};}function _0x5444ff(_0x2b05e8){const _0xedfef3=_0x309445;return(0x0,_0x3ec08c['getBlockRangeInterval'])(_0x2b05e8)[_0xedfef3(0x1f1)]-0x1;}function _0x14ad24(_0x430e2d,_0x52ff54,_0x786521,_0x35f4df){const _0xa5826d=_0x309445;let _0x1d7e1a=_0x5444ff(_0x52ff54),_0x341c36=(_0x430e2d[_0xa5826d(0x236)]??[])[_0xa5826d(0x18d)](_0x4524d1=>_0x4524d1[_0xa5826d(0x207)]===_0x1d7e1a+0x1);if(!_0x341c36||_0x35f4df!=null&&_0x341c36[_0xa5826d(0x207)]!==_0x35f4df||_0x786521!=null&&(_0x786521<_0x1d7e1a||_0x786521>_0x341c36[_0xa5826d(0x207)]+0x1)||_0x430e2d['dataStream'][_0x341c36[_0xa5826d(0x207)]]!==_0x3ec08c[_0xa5826d(0x218)][_0xa5826d(0x1de)])return null;let _0x46a8e2=(0x0,_0x3ec08c[_0xa5826d(0x1a7)])(_0x430e2d,_0x341c36),_0x5f1520=_0x430e2d[_0xa5826d(0x1b5)][_0xa5826d(0x258)](_0x46a8e2,_0x341c36[_0xa5826d(0x207)]);return Array['from'](_0x5f1520)[_0xa5826d(0x1d8)](_0x282447=>_0x282447===_0x3ec08c[_0xa5826d(0x218)][_0xa5826d(0x1ec)])?{'paragraph':_0x341c36,'endTokenOffset':_0x1d7e1a}:null;}function _0xabc62f(_0x1caad4,_0x36bdeb){const _0x594fe6=_0x309445;var _0x12b68b;let _0x33d695=_0x5444ff(_0x36bdeb),_0x586694=_0x1caad4['dataStream'][_0x33d695+0x1];(_0x586694===_0x3ec08c[_0x594fe6(0x218)][_0x594fe6(0x239)]||_0x586694===void 0x0)&&_0x41f5f3(_0x1caad4,_0x33d695+0x1,_0x3ec08c[_0x594fe6(0x218)]['PARAGRAPH'],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x3ec08c[_0x594fe6(0x25b)])(new Set((_0x12b68b=_0x1caad4['paragraphs'])==null?void 0x0:_0x12b68b['map'](_0x395fea=>_0x395fea[_0x594fe6(0x1fc)])))}]});}function _0x41f5f3(_0x2e25fb,_0x41f3c8,_0xbed15a,_0x46578f={}){const _0x4ff6ac=_0x309445;var _0x32d10d,_0xe09952;_0xbed15a&&(_0x2e25fb[_0x4ff6ac(0x1b5)]=''+_0x2e25fb[_0x4ff6ac(0x1b5)][_0x4ff6ac(0x258)](0x0,_0x41f3c8)+_0xbed15a+_0x2e25fb['dataStream'][_0x4ff6ac(0x258)](_0x41f3c8),_0x4159c0(_0x2e25fb,_0x41f3c8,_0xbed15a['length']),(_0x32d10d=_0x46578f[_0x4ff6ac(0x236)])!=null&&_0x32d10d[_0x4ff6ac(0x1ba)]&&(_0x2e25fb['paragraphs']=[..._0x2e25fb['paragraphs']??[],..._0x46578f[_0x4ff6ac(0x236)][_0x4ff6ac(0x23a)](_0x4805a0=>({..._0x4805a0,'startIndex':_0x4805a0[_0x4ff6ac(0x207)]+_0x41f3c8}))][_0x4ff6ac(0x19e)]((_0x341019,_0x425ada)=>_0x341019[_0x4ff6ac(0x207)]-_0x425ada[_0x4ff6ac(0x207)])),(_0xe09952=_0x46578f[_0x4ff6ac(0x1bd)])!=null&&_0xe09952[_0x4ff6ac(0x1ba)]&&(_0x2e25fb[_0x4ff6ac(0x1bd)]=[..._0x2e25fb[_0x4ff6ac(0x1bd)]??[],..._0x46578f['blockRanges'][_0x4ff6ac(0x23a)](_0x1ad0b5=>({..._0x1ad0b5,'startIndex':_0x1ad0b5[_0x4ff6ac(0x207)]+_0x41f3c8,'endIndex':_0x1ad0b5[_0x4ff6ac(0x243)]+_0x41f3c8}))][_0x4ff6ac(0x19e)]((_0x3eaaab,_0x395641)=>_0x3eaaab[_0x4ff6ac(0x207)]-_0x395641[_0x4ff6ac(0x207)])));}function _0x410d4e(_0x56d7bf,_0x1a749f,_0x596680){const _0x17f163=_0x309445;let _0x5006fc=_0x596680-_0x1a749f;_0x56d7bf['dataStream']=''+_0x56d7bf[_0x17f163(0x1b5)][_0x17f163(0x258)](0x0,_0x1a749f)+_0x56d7bf[_0x17f163(0x1b5)][_0x17f163(0x258)](_0x596680),_0x5bc6a4(_0x56d7bf,_0x1a749f,_0x5006fc);}function _0x4159c0(_0x2a5fbe,_0x2194b8,_0x13101e){const _0x28c411=_0x309445;_0x2a5fbe[_0x28c411(0x236)]=_0x5a3dc0(_0x2a5fbe['paragraphs'],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x249)]=_0x5a3dc0(_0x2a5fbe[_0x28c411(0x249)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x178)]=_0x5a3dc0(_0x2a5fbe[_0x28c411(0x178)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x23c)]=_0x563dd8(_0x2a5fbe[_0x28c411(0x23c)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x216)]=_0x5e87c7(_0x2a5fbe[_0x28c411(0x216)],_0x2194b8,_0x13101e),_0x2a5fbe['columnGroups']=_0x51f654(_0x2a5fbe[_0x28c411(0x1c0)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x232)]=_0x51f654(_0x2a5fbe['customRanges'],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x177)]=_0x51f654(_0x2a5fbe[_0x28c411(0x177)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x1bd)]=_0x51f654(_0x2a5fbe[_0x28c411(0x1bd)],_0x2194b8,_0x13101e);}function _0x5bc6a4(_0x1d53ec,_0x56e356,_0x27e771){const _0x470c76=_0x309445;var _0xb4ce2a,_0x38780e;_0x1d53ec[_0x470c76(0x236)]=_0xee02f2(_0x1d53ec[_0x470c76(0x236)],_0x56e356,_0x27e771),_0x1d53ec['sectionBreaks']=_0xee02f2(_0x1d53ec['sectionBreaks'],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x178)]=_0xee02f2(_0x1d53ec[_0x470c76(0x178)],_0x56e356,_0x27e771),_0x1d53ec['textRuns']=(_0xb4ce2a=_0x3457e3((_0x38780e=_0x1d53ec[_0x470c76(0x23c)])==null?void 0x0:_0x38780e[_0x470c76(0x23a)](_0x16ff97=>({..._0x16ff97,'startIndex':_0x16ff97['st'],'endIndex':_0x16ff97['ed']})),_0x56e356,_0x27e771))==null?void 0x0:_0xb4ce2a[_0x470c76(0x23a)](_0x5afc3f=>{let {startIndex:_0x41a474,endIndex:_0x8e2297,..._0x3ca5ac}=_0x5afc3f;return{..._0x3ca5ac,'st':_0x41a474,'ed':_0x8e2297};}),_0x1d53ec[_0x470c76(0x216)]=_0x3457e3(_0x1d53ec[_0x470c76(0x216)],_0x56e356,_0x27e771),_0x1d53ec['columnGroups']=_0x1e0249(_0x1d53ec[_0x470c76(0x1c0)],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x232)]=_0x1e0249(_0x1d53ec[_0x470c76(0x232)],_0x56e356,_0x27e771),_0x1d53ec['customDecorations']=_0x1e0249(_0x1d53ec[_0x470c76(0x177)],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x1bd)]=_0x1e0249(_0x1d53ec[_0x470c76(0x1bd)],_0x56e356,_0x27e771);}function _0x5a3dc0(_0x2cdc57,_0x4f6ebf,_0x192d11){const _0x2c4817=_0x309445;return _0x2cdc57==null?void 0x0:_0x2cdc57[_0x2c4817(0x23a)](_0x346f0d=>_0x346f0d['startIndex']>=_0x4f6ebf?{..._0x346f0d,'startIndex':_0x346f0d['startIndex']+_0x192d11}:_0x346f0d);}function _0xee02f2(_0x42141e,_0x4f9c8f,_0x4f8164){const _0x39f4c2=_0x309445;let _0x5e97b1=_0x4f9c8f+_0x4f8164;return _0x42141e==null?void 0x0:_0x42141e['map'](_0x374bc6=>_0x374bc6[_0x39f4c2(0x207)]>=_0x4f9c8f&&_0x374bc6[_0x39f4c2(0x207)]<_0x5e97b1?null:_0x374bc6[_0x39f4c2(0x207)]>=_0x5e97b1?{..._0x374bc6,'startIndex':_0x374bc6[_0x39f4c2(0x207)]-_0x4f8164}:_0x374bc6)[_0x39f4c2(0x1eb)](_0x37b88d=>_0x37b88d!=null);}function _0x563dd8(_0x2cc7c1,_0x497f3c,_0x226944){const _0x3713d9=_0x309445;return _0x2cc7c1==null?void 0x0:_0x2cc7c1[_0x3713d9(0x23a)](_0x2f8714=>_0x2f8714['st']>=_0x497f3c?{..._0x2f8714,'st':_0x2f8714['st']+_0x226944,'ed':_0x2f8714['ed']+_0x226944}:_0x2f8714['ed']>_0x497f3c?{..._0x2f8714,'ed':_0x2f8714['ed']+_0x226944}:_0x2f8714);}function _0x51f654(_0x2db351,_0x17907f,_0x4543ae){const _0xa4391=_0x309445;return _0x2db351==null?void 0x0:_0x2db351['map'](_0x2542bf=>(0x0,_0x3ec08c[_0xa4391(0x18e)])(_0x2542bf,_0x17907f,_0x4543ae));}function _0x5e87c7(_0x2a03d6,_0x119a62,_0x4aca89){const _0x3ab191=_0x309445;return _0x2a03d6==null?void 0x0:_0x2a03d6[_0x3ab191(0x23a)](_0x175083=>(0x0,_0x3ec08c[_0x3ab191(0x1c6)])(_0x175083,_0x119a62,_0x4aca89));}function _0x1e0249(_0x3d1146,_0x533629,_0x8e9fd2){const _0x10f94=_0x309445;return _0x3d1146==null?void 0x0:_0x3d1146[_0x10f94(0x23a)](_0x49d39f=>(0x0,_0x3ec08c[_0x10f94(0x22d)])(_0x49d39f,_0x533629,_0x8e9fd2))[_0x10f94(0x1eb)](_0x20c68b=>_0x20c68b!=null);}function _0x3457e3(_0x1c7281,_0x1b7097,_0x2fd7ef){const _0x267c17=_0x309445;return _0x1c7281==null?void 0x0:_0x1c7281[_0x267c17(0x23a)](_0x402bb0=>(0x0,_0x3ec08c[_0x267c17(0x208)])(_0x402bb0,_0x1b7097,_0x2fd7ef))[_0x267c17(0x1eb)](_0x10c87c=>_0x10c87c!=null);}let _0x2328e8={'id':'docs-code.command.insert-below','type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':_0x1ae7b1=>{const _0x440827=_0x309445;var _0x289c78;if((0x0,_0x514b03[_0x440827(0x19a)])(_0x1fa215(_0x1ae7b1)))return!0x1;let _0x4e3713=(0x0,_0x514b03[_0x440827(0x1da)])(_0x1ae7b1);if(_0x4e3713)return _0x1ae7b1[_0x440827(0x23b)](_0x3ec08c[_0x440827(0x187)])[_0x440827(0x196)](_0x3112ef['id'],{'startOffset':_0x4e3713[_0x440827(0x1ed)],'endOffset':_0x4e3713[_0x440827(0x1f1)],'insertionMode':_0x440827(0x21f),'unitId':_0x4e3713[_0x440827(0x17e)]});let _0x2da9dd=_0x19d772(_0x1ae7b1);if(!_0x2da9dd)return!0x1;let _0x11c343=(_0x289c78=_0x1ae7b1[_0x440827(0x23b)](_0x3ec08c['IUniverInstanceService'])[_0x440827(0x1b9)](_0x3ec08c[_0x440827(0x246)][_0x440827(0x1cf)]))==null?void 0x0:_0x289c78[_0x440827(0x1d1)](),_0x43b100=_0x11c343?(0x0,_0x3ec08c[_0x440827(0x17b)])(_0x11c343,_0x2da9dd):_0x2da9dd['startIndex']+0x1;return _0x1ae7b1[_0x440827(0x23b)](_0x3ec08c[_0x440827(0x187)])[_0x440827(0x196)](_0x3112ef['id'],{'startOffset':_0x43b100,'endOffset':_0x43b100});}},_0x3cbc80={'id':_0x309445(0x224),'type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':()=>!0x0},_0x3112ef={'id':'docs-code.command.insert','type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0x6b9da4,_0x57b76f)=>{const _0x335f06=_0x309445;let _0x3bff04=_0x150413(_0x6b9da4,_0x57b76f==null?void 0x0:_0x57b76f['unitId']);if(!_0x3bff04)return!0x1;let _0x52df43=_0x1fa215(_0x6b9da4);if((0x0,_0x514b03[_0x335f06(0x19a)])(_0x52df43))return!0x1;let _0x541ea5=_0x3bff04[_0x335f06(0x1c2)]['serialize'](_0x3bff04['unitId']),_0x465fd4=_0x46b6dc(_0x57b76f,_0x52df43),_0x34e8b9=_0x2d098a(_0x3bff04[_0x335f06(0x1fa)],_0x465fd4);if(_0x34e8b9){if(_0x34e8b9[_0x335f06(0x24d)]!==_0x3ec08c[_0x335f06(0x1f3)][_0x335f06(0x20a)])return!0x1;let _0x42c169=_0x25ca4a({'blockId':_0x34e8b9[_0x335f06(0x254)],'documentData':_0x3bff04[_0x335f06(0x1fa)],'metadata':_0x541ea5});if(!_0x42c169)return!0x1;let _0x1634bb=_0x6f2592(_0x3bff04[_0x335f06(0x245)],_0x3bff04[_0x335f06(0x20c)],_0x3bff04[_0x335f06(0x17e)],_0x3bff04[_0x335f06(0x1fa)],_0x42c169[_0x335f06(0x180)],_0x3112ef['id'],_0x42c169[_0x335f06(0x250)]);return _0x1634bb&&_0x42c169['nextMetadata']&&_0x3bff04[_0x335f06(0x1c2)]['deserialize'](_0x3bff04[_0x335f06(0x17e)],_0x42c169[_0x335f06(0x1d9)]),_0x1634bb;}let _0x18c3b2=(_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x254)])??(0x0,_0x3ec08c['generateRandomId'])(0x6),_0x59a15e;try{_0x59a15e=_0x4ca597({'blockId':_0x18c3b2,'config':_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x1e7)],'documentData':_0x3bff04['previousDocumentData'],'endOffset':_0x465fd4==null?void 0x0:_0x465fd4['endOffset'],'insertionMode':_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x1cd)],'metadata':_0x541ea5,'startOffset':_0x465fd4==null?void 0x0:_0x465fd4['startOffset']});}catch(_0x3dba25){if(_0x3dba25 instanceof _0x4601fe)return!0x1;throw _0x3dba25;}let _0x40562c=_0x6f2592(_0x3bff04[_0x335f06(0x245)],_0x3bff04[_0x335f06(0x20c)],_0x3bff04[_0x335f06(0x17e)],_0x3bff04[_0x335f06(0x1fa)],_0x59a15e[_0x335f06(0x180)],_0x3112ef['id'],_0x59a15e[_0x335f06(0x250)]);return _0x40562c&&_0x59a15e['nextMetadata']&&_0x3bff04['model'][_0x335f06(0x1fb)](_0x3bff04[_0x335f06(0x17e)],_0x59a15e[_0x335f06(0x1d9)]),_0x40562c;}},_0x321568={'id':_0x309445(0x205),'type':_0x3ec08c[_0x309445(0x21d)]['COMMAND'],'handler':(_0x13d179,_0x5b43a9)=>{const _0x42db43=_0x309445;if(!_0x5b43a9)return!0x1;let _0x2add82=_0x150413(_0x13d179,_0x5b43a9[_0x42db43(0x17e)]);if(!_0x2add82)return!0x1;let _0x51b6e1=_0x2e4649({'blockId':_0x5b43a9[_0x42db43(0x254)],'config':_0x5b43a9[_0x42db43(0x1e7)],'documentData':_0x2add82[_0x42db43(0x1fa)],'metadata':_0x2add82[_0x42db43(0x1c2)][_0x42db43(0x1c9)](_0x2add82[_0x42db43(0x17e)])});return _0x51b6e1[_0x42db43(0x1d9)]&&_0x2add82['model'][_0x42db43(0x1fb)](_0x2add82['unitId'],_0x51b6e1[_0x42db43(0x1d9)]),!0x0;}},_0x4476ba={'id':_0x309445(0x179),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0xc82163,_0x3a1318)=>_0x4b3dc6[_0x309445(0x1b1)](_0xc82163,_0x3a1318)},_0x4b3dc6={'id':'docs-code.command.unwrap','type':_0x3ec08c[_0x309445(0x21d)]['COMMAND'],'handler':(_0x2f0689,_0x4fa847)=>{const _0x53797c=_0x309445;if(!_0x4fa847)return!0x1;let _0x2eac01=_0x150413(_0x2f0689,_0x4fa847==null?void 0x0:_0x4fa847[_0x53797c(0x17e)]);if(!_0x2eac01)return!0x1;let _0x357b00=_0x25ca4a({'blockId':_0x4fa847[_0x53797c(0x254)],'documentData':_0x2eac01[_0x53797c(0x1fa)],'metadata':_0x2eac01[_0x53797c(0x1c2)][_0x53797c(0x1c9)](_0x2eac01[_0x53797c(0x17e)])});if(!_0x357b00)return!0x1;let _0x2cac05=_0x6f2592(_0x2eac01[_0x53797c(0x245)],_0x2eac01[_0x53797c(0x20c)],_0x2eac01[_0x53797c(0x17e)],_0x2eac01[_0x53797c(0x1fa)],_0x357b00[_0x53797c(0x180)],_0x4b3dc6['id'],_0x357b00[_0x53797c(0x250)]);return _0x2cac05&&_0x357b00[_0x53797c(0x1d9)]&&_0x2eac01['model'][_0x53797c(0x1fb)](_0x2eac01[_0x53797c(0x17e)],_0x357b00[_0x53797c(0x1d9)]),_0x2cac05;}},_0x522564={'id':'docs-code.command.remove','type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':(_0x51956,_0x34f3ce)=>{const _0x4691b0=_0x309445;if(!_0x34f3ce)return!0x1;let _0x5f38dc=_0x150413(_0x51956,_0x34f3ce==null?void 0x0:_0x34f3ce['unitId']);if(!_0x5f38dc)return!0x1;let _0x597dee=_0x5d58a9({'blockId':_0x34f3ce[_0x4691b0(0x254)],'documentData':_0x5f38dc['previousDocumentData'],'metadata':_0x5f38dc['model'][_0x4691b0(0x1c9)](_0x5f38dc[_0x4691b0(0x17e)])});if(!_0x597dee)return!0x1;let _0x41b22d=_0x6f2592(_0x5f38dc[_0x4691b0(0x245)],_0x5f38dc[_0x4691b0(0x20c)],_0x5f38dc[_0x4691b0(0x17e)],_0x5f38dc['previousDocumentData'],_0x597dee[_0x4691b0(0x180)],_0x522564['id'],_0x597dee[_0x4691b0(0x250)]);return _0x41b22d&&_0x597dee[_0x4691b0(0x1d9)]&&_0x5f38dc['model']['deserialize'](_0x5f38dc[_0x4691b0(0x17e)],_0x597dee[_0x4691b0(0x1d9)]),_0x41b22d;}},_0x3396e4={'id':_0x309445(0x192),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0x1479fa,_0x589e4a)=>{const _0x544268=_0x309445;var _0x21b46b;let _0x3b1db6=_0x150413(_0x1479fa,_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x17e)]);if(!_0x3b1db6)return!0x1;let _0x3cc2e2=(_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x250)])??((_0x21b46b=_0x1fa215(_0x1479fa))==null?void 0x0:_0x21b46b[_0x544268(0x1ed)]);if(_0x3cc2e2==null)return!0x1;let _0x59b424=_0x1ad099({'cursorOffset':_0x3cc2e2,'documentData':_0x3b1db6[_0x544268(0x1fa)],'paragraphStartIndex':_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x20f)]});return _0x59b424?_0x6f2592(_0x3b1db6['commandService'],_0x3b1db6['selectionManager'],_0x3b1db6[_0x544268(0x17e)],_0x3b1db6['previousDocumentData'],_0x59b424[_0x544268(0x180)],_0x3396e4['id'],_0x59b424[_0x544268(0x250)]):!0x1;}};function _0x150413(_0x3c1926,_0x2a0e91){const _0x360181=_0x309445;let _0x24b698=_0x3c1926[_0x360181(0x23b)](_0x3ec08c[_0x360181(0x1e9)]),_0x41aa99=_0x2a0e91?_0x24b698[_0x360181(0x1f2)](_0x2a0e91,_0x3ec08c[_0x360181(0x246)]['UNIVER_DOC']):_0x24b698[_0x360181(0x1b9)](_0x3ec08c[_0x360181(0x246)][_0x360181(0x1cf)]);return _0x41aa99?{'commandService':_0x3c1926[_0x360181(0x23b)](_0x3ec08c['ICommandService']),'model':_0x3c1926[_0x360181(0x23b)](_0xea2109),'previousDocumentData':_0x41aa99[_0x360181(0x181)](),'selectionManager':_0x3c1926[_0x360181(0x23b)](_0x514b03[_0x360181(0x21c)]),'unitId':_0x41aa99[_0x360181(0x19b)]()}:null;}function _0x1fa215(_0x3f3a14){const _0x300693=_0x309445;var _0xe0afdd;return(_0xe0afdd=_0x3f3a14[_0x300693(0x23b)](_0x514b03[_0x300693(0x21c)])[_0x300693(0x201)]())==null?void 0x0:_0xe0afdd[0x0];}function _0x46b6dc(_0x3f067a,_0x10ebd3){const _0xcf56a9=_0x309445;let _0x409cc7=(_0x3f067a==null?void 0x0:_0x3f067a[_0xcf56a9(0x1ed)])??(_0x10ebd3==null?void 0x0:_0x10ebd3[_0xcf56a9(0x1ed)]),_0x27c2c6=(_0x3f067a==null?void 0x0:_0x3f067a[_0xcf56a9(0x1f1)])??(_0x10ebd3==null?void 0x0:_0x10ebd3[_0xcf56a9(0x1f1)]);if(_0x409cc7!=null&&_0x27c2c6!=null)return{'endOffset':Math[_0xcf56a9(0x24e)](_0x409cc7,_0x27c2c6),'startOffset':Math[_0xcf56a9(0x18a)](_0x409cc7,_0x27c2c6)};}function _0x2d098a(_0x4cc3a5,_0x11fb0c){const _0x13788c=_0x309445;var _0x559bd2;if(!_0x11fb0c)return;let _0x5c0285=_0x231382(_0x11fb0c);return(_0x559bd2=_0x4cc3a5[_0x13788c(0x1fd)])==null||(_0x559bd2=_0x559bd2['blockRanges'])==null?void 0x0:_0x559bd2[_0x13788c(0x18d)](_0x11dbd2=>{const _0x1bdf0b=_0x13788c;let _0x13f981=(0x0,_0x3ec08c[_0x1bdf0b(0x194)])(_0x11dbd2);return _0x11fb0c[_0x1bdf0b(0x1ed)]===_0x11fb0c[_0x1bdf0b(0x1f1)]?(0x0,_0x3ec08c[_0x1bdf0b(0x1ad)])(_0x13f981,_0x5c0285):(0x0,_0x3ec08c[_0x1bdf0b(0x1a3)])(_0x13f981,_0x5c0285);});}function _0x231382(_0x17f4a4){const _0x40e335=_0x309445;return _0x17f4a4[_0x40e335(0x1ed)]===_0x17f4a4[_0x40e335(0x1f1)]?_0x17f4a4[_0x40e335(0x1ed)]:_0x17f4a4[_0x40e335(0x1ed)]+0x1;}function _0x19d772(_0x3bb941){const _0x3705e1=_0x309445;let _0x6dd5f0=_0x1fa215(_0x3bb941);if(!_0x6dd5f0)return null;let _0x37e0af=_0x3bb941['get'](_0x3ec08c[_0x3705e1(0x1e9)])[_0x3705e1(0x1b9)](_0x3ec08c[_0x3705e1(0x246)]['UNIVER_DOC']),_0x4a902c=_0x37e0af==null?void 0x0:_0x37e0af[_0x3705e1(0x1d1)]();return _0x4a902c?_0x3ec08c[_0x3705e1(0x184)][_0x3705e1(0x1f8)][_0x3705e1(0x1e3)](_0x6dd5f0,_0x4a902c[_0x3705e1(0x236)]??[],_0x4a902c[_0x3705e1(0x1b5)]??'')[0x0]??null:null;}function _0x1e0dad(_0x49422f,_0x14e869){const _0x270214=_0x309445;let _0x33e2ca=_0x49422f[_0x270214(0x1fd)],_0x3132af=_0x14e869[_0x270214(0x1fd)],_0x598c85=(0x0,_0x3ec08c[_0x270214(0x1c5)])(_0x33e2ca,_0x3132af);return[_0x598c85&&_0x3132af?_0xcb09df(_0x3132af,_0x598c85):null,_0x598c85?null:_0x2007ec(_0x33e2ca,_0x3132af)]['filter'](Boolean)[_0x270214(0x226)]((_0x36ae68,_0x2012ac)=>_0x3ec08c[_0x270214(0x22e)][_0x270214(0x1db)](_0x36ae68,_0x2012ac),null);}function _0xcb09df(_0x5e037b,_0x40fbc7){const _0x32db72=_0x309445;let _0x4abd70=new _0x3ec08c[(_0x32db72(0x20d))]();return _0x4abd70[_0x32db72(0x233)](_0x40fbc7[_0x32db72(0x213)]),_0x40fbc7[_0x32db72(0x1ab)]>0x0&&_0x4abd70[_0x32db72(0x20e)](_0x40fbc7[_0x32db72(0x1ab)],(0x0,_0x3ec08c[_0x32db72(0x1bf)])(_0x5e037b,_0x40fbc7[_0x32db72(0x213)],_0x40fbc7['start']+_0x40fbc7[_0x32db72(0x1ab)],!0x1)),_0x40fbc7[_0x32db72(0x186)]>0x0&&_0x4abd70[_0x32db72(0x1ee)](_0x40fbc7[_0x32db72(0x186)]),_0x3ec08c[_0x32db72(0x22e)][_0x32db72(0x1e1)]()[_0x32db72(0x230)](_0x4abd70[_0x32db72(0x1c9)](),[_0x32db72(0x1fd)]);}function _0x2007ec(_0x48e490,_0xa53c05){const _0x5d3b91=_0x309445;let _0x1ed6d1=[],_0x167c7c=_0x48e490?_0x17d000(_0x48e490):void 0x0,_0x37626d=_0xa53c05?_0x17d000(_0xa53c05):void 0x0;for(let _0x186dac of _0x26cc6a)_0x264040(_0x3ec08c[_0x5d3b91(0x22e)][_0x5d3b91(0x1e1)](),[_0x5d3b91(0x1fd),_0x186dac],_0x167c7c==null?void 0x0:_0x167c7c[_0x186dac],_0x37626d==null?void 0x0:_0x37626d[_0x186dac],_0x1ed6d1);return _0x1ed6d1[_0x5d3b91(0x226)]((_0x48f7db,_0x285c1c)=>_0x3ec08c[_0x5d3b91(0x22e)][_0x5d3b91(0x1db)](_0x48f7db,_0x285c1c),null);}let _0x26cc6a=[_0x309445(0x236),_0x309445(0x249),_0x309445(0x216),_0x309445(0x1c0),_0x309445(0x1bd),_0x309445(0x178),_0x309445(0x232),_0x309445(0x177),_0x309445(0x23c)];function _0x17d000(_0x1a0bd4){return _0x1a0bd4;}function _0x264040(_0x422b60,_0x43b74c,_0x2e17d1,_0x58d956,_0x13fa7b){const _0xd5ea71=_0x309445;if(!_0x32b90a(_0x2e17d1,_0x58d956)){if(_0x2e17d1==null){_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60[_0xd5ea71(0x1e0)](_0x43b74c,_0x58d956));return;}if(_0x58d956==null){_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60['removeOp'](_0x43b74c,_0x2e17d1));return;}if(Array[_0xd5ea71(0x238)](_0x2e17d1)&&Array[_0xd5ea71(0x238)](_0x58d956)){_0x2e3584(_0x422b60,_0x43b74c,_0x2e17d1,_0x58d956,_0x13fa7b);return;}if(_0x8fd3ba(_0x2e17d1)&&_0x8fd3ba(_0x58d956)){new Set([...Object[_0xd5ea71(0x20b)](_0x2e17d1),...Object[_0xd5ea71(0x20b)](_0x58d956)])[_0xd5ea71(0x1d6)](_0x1f5118=>{_0x264040(_0x422b60,[..._0x43b74c,_0x1f5118],_0x2e17d1[_0x1f5118],_0x58d956[_0x1f5118],_0x13fa7b);});return;}_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60[_0xd5ea71(0x17d)](_0x43b74c,_0x2e17d1,_0x58d956));}}function _0x2e3584(_0x45d29b,_0x354f20,_0xa095a4,_0x6f575,_0x2d2a22){const _0x59deb9=_0x309445;if(_0xa095a4[_0x59deb9(0x1ba)]===_0x6f575[_0x59deb9(0x1ba)]){_0xa095a4[_0x59deb9(0x1d6)]((_0x4641da,_0x5bca36)=>_0x264040(_0x45d29b,[..._0x354f20,_0x5bca36],_0x4641da,_0x6f575[_0x5bca36],_0x2d2a22));return;}let _0x12fbe5=0x0;for(;_0x12fbe5<_0xa095a4[_0x59deb9(0x1ba)]&&_0x12fbe5<_0x6f575['length']&&_0x32b90a(_0xa095a4[_0x12fbe5],_0x6f575[_0x12fbe5]);)_0x12fbe5++;let _0x4ad834=_0xa095a4[_0x59deb9(0x1ba)]-0x1,_0x86c129=_0x6f575[_0x59deb9(0x1ba)]-0x1;for(;_0x4ad834>=_0x12fbe5&&_0x86c129>=_0x12fbe5&&_0x32b90a(_0xa095a4[_0x4ad834],_0x6f575[_0x86c129]);)_0x4ad834--,_0x86c129--;for(let _0x3d4fe4=_0x4ad834;_0x3d4fe4>=_0x12fbe5;_0x3d4fe4--)_0x2d2a22[_0x59deb9(0x1e5)](_0x45d29b[_0x59deb9(0x1ce)]([..._0x354f20,_0x3d4fe4],_0xa095a4[_0x3d4fe4]));for(let _0x1c7d3a=_0x12fbe5;_0x1c7d3a<=_0x86c129;_0x1c7d3a++)_0x2d2a22[_0x59deb9(0x1e5)](_0x45d29b['insertOp']([..._0x354f20,_0x1c7d3a],_0x6f575[_0x1c7d3a]));}function _0x8fd3ba(_0x4dbb4b){const _0x7a5bca=_0x309445;return typeof _0x4dbb4b==_0x7a5bca(0x259)&&!!_0x4dbb4b&&!Array[_0x7a5bca(0x238)](_0x4dbb4b);}function _0x32b90a(_0x35e460,_0x3e54ad){const _0x4d7b4a=_0x309445;return JSON[_0x4d7b4a(0x215)](_0x35e460)===JSON[_0x4d7b4a(0x215)](_0x3e54ad);}function _0x6f2592(_0x35ebc1,_0x20aaf8,_0x78cb26,_0x256168,_0xc1654,_0x440cee,_0x3460a3){const _0x5b90c5=_0x309445;let _0x119269=_0x1e0dad(_0x256168,_0xc1654);return _0x119269?!!_0x35ebc1[_0x5b90c5(0x196)](_0x514b03[_0x5b90c5(0x225)]['id'],{'unitId':_0x78cb26,'actions':_0x119269,'textRanges':[{'startOffset':_0x3460a3,'endOffset':_0x3460a3,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x440cee}):(_0x20aaf8[_0x5b90c5(0x228)]([{'startOffset':_0x3460a3,'endOffset':_0x3460a3}],{'unitId':_0x78cb26,'subUnitId':_0x78cb26},!0x1),!0x0);}let _0x445a9a=_0x309445(0x1b2);var _0x6b502c='@univerjs-pro/docs-code',_0x29bf2a=_0x309445(0x24f);let _0x59c2a2={};function _0x1f371c(_0x5922f2,_0x449309){return function(_0x5a0235,_0x451def){_0x449309(_0x5a0235,_0x451def,_0x5922f2);};}function _0x18bfcc(_0xad962f,_0x1ab7df,_0x315011,_0x53531e){const _0x284d73=_0x309445;var _0x5c3b2a=arguments['length'],_0x3b5ea8=_0x5c3b2a<0x3?_0x1ab7df:_0x53531e===null?_0x53531e=Object[_0x284d73(0x1df)](_0x1ab7df,_0x315011):_0x53531e,_0x1c8487;if(typeof Reflect==_0x284d73(0x259)&&typeof Reflect['decorate']==_0x284d73(0x212))_0x3b5ea8=Reflect['decorate'](_0xad962f,_0x1ab7df,_0x315011,_0x53531e);else{for(var _0x369fc0=_0xad962f[_0x284d73(0x1ba)]-0x1;_0x369fc0>=0x0;_0x369fc0--)(_0x1c8487=_0xad962f[_0x369fc0])&&(_0x3b5ea8=(_0x5c3b2a<0x3?_0x1c8487(_0x3b5ea8):_0x5c3b2a>0x3?_0x1c8487(_0x1ab7df,_0x315011,_0x3b5ea8):_0x1c8487(_0x1ab7df,_0x315011))||_0x3b5ea8);}return _0x5c3b2a>0x3&&_0x3b5ea8&&Object[_0x284d73(0x24c)](_0x1ab7df,_0x315011,_0x3b5ea8),_0x3b5ea8;}let _0x1654c2=class extends _0x3ec08c[_0x309445(0x23d)]{constructor(_0x5198a3,_0x32f2a7){const _0x413b0f=_0x309445;super(),this['_resourceManagerService']=_0x5198a3,this[_0x413b0f(0x235)]=_0x32f2a7,this[_0x413b0f(0x1e8)]();}[_0x309445(0x1e8)](){const _0x393857=_0x309445;this[_0x393857(0x255)](this[_0x393857(0x217)]['registerPluginResource']({'pluginName':_0x445a9a,'businesses':[_0x3ec08c[_0x393857(0x246)]['UNIVER_DOC']],'toJson':_0x1a8e3f=>JSON[_0x393857(0x215)](this[_0x393857(0x235)][_0x393857(0x1c9)](_0x1a8e3f)),'parseJson':_0x33a8e1=>_0x4d8be0(JSON[_0x393857(0x25a)](_0x33a8e1)),'onLoad':(_0x398f5d,_0x3001e4)=>this[_0x393857(0x235)]['deserialize'](_0x398f5d,_0x3001e4),'onUnLoad':_0x5d1a3d=>this['_docsCodeModel'][_0x393857(0x210)](_0x5d1a3d)}));}};_0x1654c2=_0x18bfcc([_0x1f371c(0x0,_0x3ec08c[_0x309445(0x1cb)]),_0x1f371c(0x1,(0x0,_0x3ec08c[_0x309445(0x1a4)])(_0xea2109))],_0x1654c2);let _0x4c15b8=class extends _0x3ec08c[_0x309445(0x241)]{constructor(_0x4b4817=_0x59c2a2,_0xaf620d,_0x161775,_0x407ee0){const _0x4ab1fc=_0x309445;super(),this['_config']=_0x4b4817,this[_0x4ab1fc(0x1e4)]=_0xaf620d,this['_commandService']=_0x161775,this['_configService']=_0x407ee0;let {..._0x2827a5}=(0x0,_0x3ec08c[_0x4ab1fc(0x23e)])({},_0x59c2a2,this['_config']);this[_0x4ab1fc(0x17a)][_0x4ab1fc(0x1b6)](_0x4ab1fc(0x18b),_0x2827a5);}[_0x309445(0x1c7)](){const _0x2dab5f=_0x309445;this[_0x2dab5f(0x1e4)][_0x2dab5f(0x22f)]([_0xea2109]),this[_0x2dab5f(0x1e4)][_0x2dab5f(0x22f)]([_0x1654c2]),this[_0x2dab5f(0x1e4)][_0x2dab5f(0x23b)](_0xea2109),this[_0x2dab5f(0x1e4)]['get'](_0x1654c2),[_0x3112ef,_0x2328e8,_0x321568,_0x4b3dc6,_0x522564,_0x4476ba,_0x3396e4,_0x3cbc80,_0x58a5db,_0x2ef9cf][_0x2dab5f(0x1d6)](_0x21c5c4=>this['disposeWithMe'](this[_0x2dab5f(0x223)][_0x2dab5f(0x1b7)](_0x21c5c4)));}};_0x6a7255(_0x4c15b8,'pluginName',_0x445a9a),_0x6a7255(_0x4c15b8,_0x309445(0x22c),_0x6b502c),_0x6a7255(_0x4c15b8,_0x309445(0x204),_0x29bf2a),_0x6a7255(_0x4c15b8,_0x309445(0x1a9),_0x3ec08c[_0x309445(0x246)]['UNIVER_DOC']),_0x4c15b8=_0x18bfcc([(0x0,_0x3ec08c[_0x309445(0x18c)])(_0x4d0859[_0x309445(0x1d2)],_0x514b03[_0x309445(0x198)]),_0x1f371c(0x1,(0x0,_0x3ec08c[_0x309445(0x1a4)])(_0x3ec08c[_0x309445(0x190)])),_0x1f371c(0x2,_0x3ec08c['ICommandService']),_0x1f371c(0x3,_0x3ec08c[_0x309445(0x195)])],_0x4c15b8),_0x3a686e[_0x309445(0x248)]=_0x445a9a,_0x3a686e['DocsCodeCancelEmptyParagraphCommand']=_0x3396e4,_0x3a686e[_0x309445(0x222)]=_0x3cbc80,_0x3a686e[_0x309445(0x24b)]=_0x2328e8,_0x3a686e['DocsCodeInsertCommand']=_0x3112ef,_0x3a686e[_0x309445(0x1a2)]=_0xea2109,_0x3a686e['DocsCodeRemoveCommand']=_0x522564,_0x3a686e[_0x309445(0x214)]=_0x4b3dc6,_0x3a686e[_0x309445(0x1be)]=_0x321568,_0x3a686e[_0x309445(0x1a1)]=_0x2ef9cf,_0x3a686e[_0x309445(0x1e6)]=_0x58a5db,Object[_0x309445(0x24c)](_0x3a686e,_0x309445(0x193),{'enumerable':!0x0,'get':function(){return _0x4c15b8;}}),_0x3a686e[_0x309445(0x1d7)]=_0x1ad099,_0x3a686e[_0x309445(0x1b0)]=_0x280fb7,_0x3a686e[_0x309445(0x191)]=_0x627ab3,_0x3a686e[_0x309445(0x1d3)]=_0x4d8be0;}));function _0x3926(_0x47116a,_0x3270ce){_0x47116a=_0x47116a-0x177;const _0x24eb4d=_0x24eb();let _0x392608=_0x24eb4d[_0x47116a];return _0x392608;}function _0x24eb(){const _0x5f0c88=['FALSE','DOCS_CODE_PLUGIN','sectionBreaks','columns','DocsCodeInsertBelowCommand','defineProperty','blockType','max','1.0.3','cursorOffset','metadata','BLOCK_START','UniverProDocsCode','blockId','disposeWithMe','iterator','11npfylU','slice','object','parse','createParagraphId','customDecorations','customBlocks','docs-code.command.exit','_configService','getParagraphFollowingBlockOffset','spaceBelow','replaceOp','unitId','monospace','nextDocumentData','getSnapshot','1765860zxYcyG','@univerjs/core','BuildTextUtils','prototype','deleteLength','ICommandService','bullet','paragraph','min','docs-code.config','DependentOn','find','shiftInclusiveRangeOnInsert','dispose','Injector','normalizeDocsCodeConfig','docs-code.command.cancel-empty-paragraph','UniverDocsCodePlugin','getBlockRangeInterval','IConfigService','syncExecuteCommand','toPrimitive','UniverDocsPlugin','_resources','isHeaderFooterSelection','getUnitId','4TWqvGV','TABLE_CELL_END','sort','TRUE','fromEntries','RemoveDocsCodeConfigMutation','DocsCodeModel','containsStreamIndex','Inject','startTokenOffset','clear','getParagraphContentStartOffset','Document\x20body\x20is\x20required','type','direction','insertLength','convert-paragraph','containsInteriorInsertionOffset','docs-code.mutation.set-config','removeCode','isCodeBoundaryDelete','handler','DOC_CODE_PLUGIN','javascript','289544vSyUzD','dataStream','setConfig','registerCommand','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','getCurrentUnitOfType','length','call','toStringTag','blockRanges','DocsCodeUpdateCommand','getBodySliceForTextXAction','columnGroups','entries','model','intersectsOperationalIntervals','getParagraphContentStartOffsets','getSingleDataStreamChange','shiftExclusiveRangeOnInsert','onStarting','set','serialize','_change$','IResourceManagerService','indexOf','insertionMode','removeOp','UNIVER_DOC','MUTATION','getBody','UniverLicensePlugin','normalizeDocsCodeMetadataResource','Module','spaceAbove','forEach','buildCancelEmptyCodeParagraphActions','every','nextMetadata','getContentInsertRange','compose','UniverProLicense','some','PARAGRAPH','getOwnPropertyDescriptor','insertOp','getInstance','UniverDocs','getParagraphsInRange','_injector','push','SetDocsCodeConfigMutation','config','_initResource','IUniverInstanceService','Subject','filter','BLOCK_END','startOffset','delete','COMMAND','amd','endOffset','getUnit','DocumentBlockRangeType','TABLE_CELL_START','complete','symbol','_setResource','range','8696500pbCZBw','previousDocumentData','deserialize','paragraphId','body','next','documentData','UniverCore','getTextRanges','widowControl','constructor','version','docs-code.command.update','2213710pHMEgE','startIndex','shiftExclusiveRangeOnDelete','indentEnd','CODE','keys','selectionManager','TextX','insert','paragraphStartIndex','removeUnit','textStyle','function','start','DocsCodeUnwrapCommand','stringify','tables','_resourceManagerService','DataStreamTreeTokenType','358855naKFIy','endTokenOffset','paragraphStyle','DocSelectionManagerService','CommandType','BooleanNumber','insert-new','@univerjs/docs','change$','DocsCodeConsumeBoundaryDeleteCommand','_commandService','docs-code.command.consume-boundary-delete','RichTextEditingMutation','reduce','78wSikJV','replaceDocRanges','8osEcXR','endsWith','rxjs','packageName','shiftInclusiveRangeOnDelete','JSONX','add','editOp','setCodeConfig','customRanges','retain','2188989ZGFrHc','_docsCodeModel','paragraphs','docs-code.mutation.remove-config','isArray','SECTION_BREAK','map','get','textRuns','Disposable','merge','238213OOqQUy','keepNext','Plugin','codes','endIndex','exports','commandService','UniverInstanceType'];_0x24eb=function(){return _0x5f0c88;};return _0x24eb();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,12 +61,12 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "1.0.2",
65
- "@univerjs/core": "1.0.2",
66
- "@univerjs/docs": "1.0.2"
64
+ "@univerjs-pro/license": "1.0.3",
65
+ "@univerjs/core": "1.0.3",
66
+ "@univerjs/docs": "1.0.3"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.0.2",
69
+ "@univerjs-infra/shared": "1.0.3",
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^6.0.3",
72
72
  "vitest": "^5.0.0"