@univerjs-pro/docs-code 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x35d9(_0x5d0d9b,_0x3299a9){_0x5d0d9b=_0x5d0d9b-0x7c;var _0x269313=_0x2693();var _0x35d903=_0x269313[_0x5d0d9b];return _0x35d903;}function _0x2693(){var _0x136cb4=['_getBlockRanges','getId','1881200Ucigcc','UniverProDocsCodeFacade','_createFDocumentCode','blockType','toStringTag','toPrimitive','FDocumentCode','some','getOwnPropertyDescriptor','remove','join','replace','defineProperty','amd','CODE','DataStreamTreeTokenType','insertCode','syncExecuteCommand','startIndex','_document','blockRanges','UniverDocsFacade','getCode','72yAoXqk','find','_unitId','updateConfig','36148KthdiE','getConfig','UniverCore','default','_injector','findCodes','decorate','6bGZyMr','call','from','2JFDCPn','getCodeConfig','BLOCK_END','getText','endIndex','config','getCodes','function','string','createInstance','DocsCodeRemoveCommand','symbol','getCodeAt','DocsCodeModel','constructor','_getDocumentData','Module','body','4769045cJHSbI','@univerjs/docs/facade','4LfcHqn','ICommandService','1295742kYDdCH','@univerjs-pro/docs-code','32DyHoPk','SECTION_BREAK','@univerjs/core','map','DocumentBlockRangeType','includes','text','save','FDocument','iterator','dataStream','176799qEJgGr','blockId','2831481YcFxjh','UniverProDocsCode','PARAGRAPH','get','object','describe','getRange','normalizeDocsCodeConfig','filter','150909Eqfatr','length','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_blockId','isParagraphFacade'];_0x2693=function(){return _0x136cb4;};return _0x2693();}(function(_0x2e35db,_0x1bb5b1){var _0x4f74c1=_0x35d9,_0x108625=_0x2e35db();while(!![]){try{var _0x5daf0f=parseInt(_0x4f74c1(0xbe))/0x1*(-parseInt(_0x4f74c1(0xb4))/0x2)+parseInt(_0x4f74c1(0xd4))/0x3*(-parseInt(_0x4f74c1(0xd2))/0x4)+-parseInt(_0x4f74c1(0xd0))/0x5*(-parseInt(_0x4f74c1(0xbb))/0x6)+parseInt(_0x4f74c1(0x87))/0x7*(parseInt(_0x4f74c1(0x7c))/0x8)+-parseInt(_0x4f74c1(0x89))/0x9+parseInt(_0x4f74c1(0x99))/0xa+-parseInt(_0x4f74c1(0x92))/0xb*(-parseInt(_0x4f74c1(0xb0))/0xc);if(_0x5daf0f===_0x1bb5b1)break;else _0x108625['push'](_0x108625['shift']());}catch(_0x49ad62){_0x108625['push'](_0x108625['shift']());}}}(_0x2693,0x84788),function(_0x122577,_0x481a3a){var _0x4f32bb=_0x35d9;typeof exports=='object'&&typeof module<'u'?_0x481a3a(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x4f32bb(0xc5)&&define[_0x4f32bb(0xa6)]?define(['exports',_0x4f32bb(0xd5),_0x4f32bb(0x7e),_0x4f32bb(0xd1)],_0x481a3a):(_0x122577=typeof globalThis<'u'?globalThis:_0x122577||self,_0x481a3a(_0x122577[_0x4f32bb(0x9a)]={},_0x122577[_0x4f32bb(0x8a)],_0x122577[_0x4f32bb(0xb6)],_0x122577[_0x4f32bb(0xae)]));}(this,function(_0x407c07,_0x2f33cb,_0x3c0b92,_0x15da08){var _0x18dd95=_0x35d9;Object[_0x18dd95(0xa5)](_0x407c07,Symbol[_0x18dd95(0x9d)],{'value':_0x18dd95(0xce)});function _0x1d9abb(_0x11728a){'@babel/helpers - typeof';var _0x5d50bd=_0x18dd95;return _0x1d9abb=typeof Symbol==_0x5d50bd(0xc5)&&typeof Symbol[_0x5d50bd(0x85)]=='symbol'?function(_0x425824){return typeof _0x425824;}:function(_0x122c9a){var _0x1cf583=_0x5d50bd;return _0x122c9a&&typeof Symbol==_0x1cf583(0xc5)&&_0x122c9a[_0x1cf583(0xcc)]===Symbol&&_0x122c9a!==Symbol['prototype']?_0x1cf583(0xc9):typeof _0x122c9a;},_0x1d9abb(_0x11728a);}function _0x3b95fc(_0x4097bb,_0x32ba85){var _0x2e72fb=_0x18dd95;if(_0x1d9abb(_0x4097bb)!='object'||!_0x4097bb)return _0x4097bb;var _0x247313=_0x4097bb[Symbol[_0x2e72fb(0x9e)]];if(_0x247313!==void 0x0){var _0x13dda4=_0x247313[_0x2e72fb(0xbc)](_0x4097bb,_0x32ba85||_0x2e72fb(0xb7));if(_0x1d9abb(_0x13dda4)!='object')return _0x13dda4;throw TypeError(_0x2e72fb(0x94));}return(_0x32ba85==='string'?String:Number)(_0x4097bb);}function _0x2cd0a5(_0x506c24){var _0x16af8d=_0x18dd95,_0xc37a2=_0x3b95fc(_0x506c24,'string');return _0x1d9abb(_0xc37a2)==_0x16af8d(0xc9)?_0xc37a2:_0xc37a2+'';}function _0x150132(_0x320f80,_0x5ea3af,_0x4ea9fd){var _0x1c15c6=_0x18dd95;return(_0x5ea3af=_0x2cd0a5(_0x5ea3af))in _0x320f80?Object[_0x1c15c6(0xa5)](_0x320f80,_0x5ea3af,{'value':_0x4ea9fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x320f80[_0x5ea3af]=_0x4ea9fd,_0x320f80;}function _0x387893(_0x5b661c,_0x5caffe){return function(_0x584c58,_0x1e5127){_0x5caffe(_0x584c58,_0x1e5127,_0x5b661c);};}function _0x1b7b0f(_0x5732ca,_0x503796,_0x29987e,_0x3b2340){var _0x565240=_0x18dd95,_0x8d3f3b=arguments[_0x565240(0x93)],_0x44550d=_0x8d3f3b<0x3?_0x503796:_0x3b2340===null?_0x3b2340=Object[_0x565240(0xa1)](_0x503796,_0x29987e):_0x3b2340,_0x31dcc1;if(typeof Reflect==_0x565240(0x8d)&&typeof Reflect['decorate']==_0x565240(0xc5))_0x44550d=Reflect[_0x565240(0xba)](_0x5732ca,_0x503796,_0x29987e,_0x3b2340);else{for(var _0x40b175=_0x5732ca[_0x565240(0x93)]-0x1;_0x40b175>=0x0;_0x40b175--)(_0x31dcc1=_0x5732ca[_0x40b175])&&(_0x44550d=(_0x8d3f3b<0x3?_0x31dcc1(_0x44550d):_0x8d3f3b>0x3?_0x31dcc1(_0x503796,_0x29987e,_0x44550d):_0x31dcc1(_0x503796,_0x29987e))||_0x44550d);}return _0x8d3f3b>0x3&&_0x44550d&&Object[_0x565240(0xa5)](_0x503796,_0x29987e,_0x44550d),_0x44550d;}let _0x2e9201=class{constructor(_0x1807cf,_0x1a15d2,_0x46cbd1){var _0x166297=_0x18dd95;this[_0x166297(0xac)]=_0x1807cf,this['_blockId']=_0x1a15d2,this[_0x166297(0xb8)]=_0x46cbd1,_0x150132(this,'_unitId',void 0x0),this[_0x166297(0xb2)]=this[_0x166297(0xac)]['getId']();}[_0x18dd95(0x98)](){var _0x64e44b=_0x18dd95;return this[_0x64e44b(0x95)];}[_0x18dd95(0x8f)](){var _0x247306=_0x18dd95;let _0x11db2c=this['_getBlockRange']();return _0x11db2c?{'blockId':_0x11db2c[_0x247306(0x88)],'endIndex':_0x11db2c['endIndex'],'startIndex':_0x11db2c['startIndex']}:null;}[_0x18dd95(0xc1)](){var _0xc37728=_0x18dd95,_0x4de048;let _0x51786e=this['_getBlockRange'](),_0x48bf0d=(_0x4de048=this['_getDocumentData']()[_0xc37728(0xcf)])==null?void 0x0:_0x4de048[_0xc37728(0x86)];return!_0x51786e||!_0x48bf0d?'':_0x10ba45(_0x48bf0d['slice'](_0x51786e[_0xc37728(0xab)]+0x1,_0x51786e['endIndex']));}[_0x18dd95(0x8e)](){var _0x654743=_0x18dd95;let _0x155f73=this[_0x654743(0x8f)]();return _0x155f73?{..._0x155f73,'config':this[_0x654743(0xb5)](),'text':this[_0x654743(0xc1)](),'type':_0x3c0b92[_0x654743(0x80)]['CODE']}:null;}[_0x18dd95(0xb5)](){var _0x2e7fe8=_0x18dd95;let _0x55c08a=this[_0x2e7fe8(0xb8)][_0x2e7fe8(0x8c)](_0x2f33cb[_0x2e7fe8(0xcb)]);return(0x0,_0x2f33cb[_0x2e7fe8(0x90)])(_0x55c08a[_0x2e7fe8(0xbf)](this[_0x2e7fe8(0xb2)],this[_0x2e7fe8(0x95)]));}[_0x18dd95(0xb3)](_0x5e0bbe){var _0x4b8d6c=_0x18dd95;return this[_0x4b8d6c(0xb8)][_0x4b8d6c(0x8c)](_0x3c0b92[_0x4b8d6c(0xd3)])['syncExecuteCommand'](_0x2f33cb['DocsCodeUpdateCommand']['id'],{'blockId':this['_blockId'],'config':_0x5e0bbe[_0x4b8d6c(0xc3)],'unitId':this[_0x4b8d6c(0xb2)]});}['unwrap'](){var _0x562b35=_0x18dd95;return this[_0x562b35(0xb8)][_0x562b35(0x8c)](_0x3c0b92[_0x562b35(0xd3)])[_0x562b35(0xaa)](_0x2f33cb['DocsCodeUnwrapCommand']['id'],{'blockId':this[_0x562b35(0x95)],'unitId':this[_0x562b35(0xb2)]});}[_0x18dd95(0xa2)](){var _0x1825d7=_0x18dd95;return this[_0x1825d7(0xb8)][_0x1825d7(0x8c)](_0x3c0b92[_0x1825d7(0xd3)])['syncExecuteCommand'](_0x2f33cb[_0x1825d7(0xc8)]['id'],{'blockId':this[_0x1825d7(0x95)],'unitId':this[_0x1825d7(0xb2)]});}['_getBlockRange'](){var _0x2b2c45=_0x18dd95,_0x47b966;return((_0x47b966=this['_getDocumentData']()['body'])==null||(_0x47b966=_0x47b966[_0x2b2c45(0xad)])==null?void 0x0:_0x47b966[_0x2b2c45(0xb1)](_0x5b1808=>_0x5b1808[_0x2b2c45(0x88)]===this[_0x2b2c45(0x95)]&&_0x5b1808[_0x2b2c45(0x9c)]===_0x3c0b92[_0x2b2c45(0x80)][_0x2b2c45(0xa7)]))??null;}[_0x18dd95(0xcd)](){var _0x13d249=_0x18dd95;return this[_0x13d249(0xac)][_0x13d249(0x83)]();}};_0x2e9201=_0x1b7b0f([_0x387893(0x2,(0x0,_0x3c0b92['Inject'])(_0x3c0b92['Injector']))],_0x2e9201);function _0x10ba45(_0x4b192d){var _0x961ff1=_0x18dd95;return Array[_0x961ff1(0xbd)](_0x4b192d)['map'](_0x234335=>_0x234335===_0x3c0b92['DataStreamTreeTokenType'][_0x961ff1(0x8b)]?'\x0a':_0x234335)[_0x961ff1(0x91)](_0x303a66=>_0x303a66!==_0x3c0b92['DataStreamTreeTokenType']['BLOCK_START']&&_0x303a66!==_0x3c0b92[_0x961ff1(0xa8)][_0x961ff1(0xc0)]&&_0x303a66!==_0x3c0b92[_0x961ff1(0xa8)][_0x961ff1(0x7d)])[_0x961ff1(0xa3)]('')[_0x961ff1(0xa4)](/\n$/,'');}var _0x26d4f0=class extends _0x15da08[_0x18dd95(0x84)]{[_0x18dd95(0xc4)](){var _0x2292d2=_0x18dd95;return this[_0x2292d2(0x97)]()[_0x2292d2(0x91)](_0x319eea=>_0x319eea[_0x2292d2(0x9c)]===_0x3c0b92[_0x2292d2(0x80)][_0x2292d2(0xa7)])[_0x2292d2(0x7f)](_0x24e741=>this['_createFDocumentCode'](_0x24e741[_0x2292d2(0x88)]));}[_0x18dd95(0xaf)](_0x30c0d2){var _0x17c6be=_0x18dd95;return this[_0x17c6be(0x97)]()[_0x17c6be(0xa0)](_0x57e332=>_0x57e332['blockId']===_0x30c0d2&&_0x57e332[_0x17c6be(0x9c)]===_0x3c0b92[_0x17c6be(0x80)]['CODE'])?this[_0x17c6be(0x9b)](_0x30c0d2):null;}[_0x18dd95(0xca)](_0x2c6b55){var _0x33b3ac=_0x18dd95;let _0x3c5320=this[_0x33b3ac(0x97)]()[_0x33b3ac(0xb1)](_0x558e47=>_0x558e47['blockType']===_0x3c0b92[_0x33b3ac(0x80)][_0x33b3ac(0xa7)]&&_0x558e47[_0x33b3ac(0xab)]<=_0x2c6b55&&_0x2c6b55<=_0x558e47[_0x33b3ac(0xc2)]);return _0x3c5320?this[_0x33b3ac(0x9b)](_0x3c5320[_0x33b3ac(0x88)]):null;}['findCodeByText'](_0x484558){var _0x4eb0a7=_0x18dd95;return this[_0x4eb0a7(0xb9)](_0x484558)[0x0]??null;}[_0x18dd95(0xb9)](_0x2d7152){var _0x2e81d5=_0x18dd95;let _0x553040=typeof _0x2d7152==_0x2e81d5(0xc6)?{'text':_0x2d7152}:_0x2d7152;return this[_0x2e81d5(0xc4)]()[_0x2e81d5(0x91)](_0x248951=>!(_0x553040['blockId']&&_0x248951['getId']()!==_0x553040[_0x2e81d5(0x88)]||_0x553040[_0x2e81d5(0x82)]&&!_0x248951[_0x2e81d5(0xc1)]()[_0x2e81d5(0x81)](_0x553040['text'])));}[_0x18dd95(0xa9)](_0x2986c0={},_0x12e31d={}){var _0x59b069=_0x18dd95;let _0x5566a5=this[_0x59b069(0xb8)][_0x59b069(0x8c)](_0x3c0b92[_0x59b069(0xd3)]),_0x4bdada=(0x0,_0x15da08[_0x59b069(0x96)])(_0x2986c0)?{..._0x12e31d,..._0x2986c0[_0x59b069(0x8f)]()}:_0x2986c0,_0x28d56c=_0x4bdada[_0x59b069(0x88)]??(0x0,_0x3c0b92['generateRandomId'])(0x6);return _0x5566a5[_0x59b069(0xaa)](_0x2f33cb['DocsCodeInsertCommand']['id'],{..._0x4bdada,'blockId':_0x28d56c,'unitId':this[_0x59b069(0x98)]()})?this['getCode'](_0x28d56c):null;}[_0x18dd95(0x97)](){var _0x2bd6d4=_0x18dd95,_0x4fbd03;return((_0x4fbd03=this['save']()[_0x2bd6d4(0xcf)])==null?void 0x0:_0x4fbd03[_0x2bd6d4(0xad)])??[];}['_createFDocumentCode'](_0x482a18){var _0x443162=_0x18dd95;return this[_0x443162(0xb8)][_0x443162(0xc7)](_0x2e9201,this,_0x482a18);}};_0x15da08['FDocument']['extend'](_0x26d4f0),Object[_0x18dd95(0xa5)](_0x407c07,_0x18dd95(0x9f),{'enumerable':!0x0,'get':function(){return _0x2e9201;}});}));
1
+ function _0x5ec0(){var _0x2143df=['toPrimitive','7086373jUDJHp','text','generateRandomId','CODE','_createFDocumentCode','_injector','updateConfig','856590KAfsNR','symbol','length','_unitId','411374fpjCny','includes','FDocumentCode','_getDocumentData','@univerjs-pro/docs-code','isParagraphFacade','_getBlockRange','DocsCodeUnwrapCommand','10578hssFdE','getCodeAt','some','_blockId','DocsCodeRemoveCommand','_document','body','findCodeByText','call','default','getText','blockId','15hEgAaQ','save','syncExecuteCommand','join','getCodes','DocsCodeUpdateCommand','toStringTag','UniverProDocsCodeFacade','BLOCK_START','constructor','blockType','ICommandService','config','filter','@univerjs/docs/facade','startIndex','get','find','blockRanges','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','FDocument','findCodes','getId','from','extend','endIndex','prototype','PARAGRAPH','insertCode','Module','DataStreamTreeTokenType','DocumentBlockRangeType','3020zlNgkg','1646920Unsepl','function','replace','getRange','map','string','exports','iterator','605692vdHUSv','defineProperty','UniverProDocsCode','remove','18WSjPir','describe','object','dataStream','decorate','getConfig','4208944NRIyBm','_getBlockRanges'];_0x5ec0=function(){return _0x2143df;};return _0x5ec0();}function _0x568d(_0x1c5a8b,_0x100008){_0x1c5a8b=_0x1c5a8b-0xf9;var _0x5ec076=_0x5ec0();var _0x568d8e=_0x5ec076[_0x1c5a8b];return _0x568d8e;}(function(_0x4b09ba,_0x2ef3d7){var _0x85c047=_0x568d,_0x32c5ba=_0x4b09ba();while(!![]){try{var _0x14508c=parseInt(_0x85c047(0x11e))/0x1+parseInt(_0x85c047(0x136))/0x2*(-parseInt(_0x85c047(0x14a))/0x3)+parseInt(_0x85c047(0x128))/0x4+-parseInt(_0x85c047(0x115))/0x5*(-parseInt(_0x85c047(0x13e))/0x6)+-parseInt(_0x85c047(0x12b))/0x7+parseInt(_0x85c047(0x116))/0x8+-parseInt(_0x85c047(0x122))/0x9*(parseInt(_0x85c047(0x132))/0xa);if(_0x14508c===_0x2ef3d7)break;else _0x32c5ba['push'](_0x32c5ba['shift']());}catch(_0x5a1b18){_0x32c5ba['push'](_0x32c5ba['shift']());}}}(_0x5ec0,0xaef09),function(_0x5616ce,_0x146255){var _0x20bd69=_0x568d;typeof exports==_0x20bd69(0x124)&&typeof module<'u'?_0x146255(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define=='function'&&define['amd']?define([_0x20bd69(0x11c),_0x20bd69(0x13a),'@univerjs/core',_0x20bd69(0x103)],_0x146255):(_0x5616ce=typeof globalThis<'u'?globalThis:_0x5616ce||self,_0x146255(_0x5616ce[_0x20bd69(0xfc)]={},_0x5616ce[_0x20bd69(0x120)],_0x5616ce['UniverCore'],_0x5616ce['UniverDocsFacade']));}(this,function(_0x12bf0d,_0x177a31,_0x3d12df,_0x49fd77){var _0x4eece8=_0x568d;Object[_0x4eece8(0x11f)](_0x12bf0d,Symbol[_0x4eece8(0xfb)],{'value':_0x4eece8(0x112)});function _0x3a1aa6(_0x116132){'@babel/helpers - typeof';var _0x4c961b=_0x4eece8;return _0x3a1aa6=typeof Symbol=='function'&&typeof Symbol[_0x4c961b(0x11d)]=='symbol'?function(_0x4c3754){return typeof _0x4c3754;}:function(_0x1fe8cc){var _0x34e10b=_0x4c961b;return _0x1fe8cc&&typeof Symbol==_0x34e10b(0x117)&&_0x1fe8cc[_0x34e10b(0xfe)]===Symbol&&_0x1fe8cc!==Symbol[_0x34e10b(0x10f)]?_0x34e10b(0x133):typeof _0x1fe8cc;},_0x3a1aa6(_0x116132);}function _0x314ba9(_0x5ca3b2,_0x32b261){var _0x2ad591=_0x4eece8;if(_0x3a1aa6(_0x5ca3b2)!=_0x2ad591(0x124)||!_0x5ca3b2)return _0x5ca3b2;var _0xf8858f=_0x5ca3b2[Symbol[_0x2ad591(0x12a)]];if(_0xf8858f!==void 0x0){var _0x13bbfd=_0xf8858f[_0x2ad591(0x146)](_0x5ca3b2,_0x32b261||_0x2ad591(0x147));if(_0x3a1aa6(_0x13bbfd)!=_0x2ad591(0x124))return _0x13bbfd;throw TypeError(_0x2ad591(0x108));}return(_0x32b261===_0x2ad591(0x11b)?String:Number)(_0x5ca3b2);}function _0x4e90ea(_0x4a3f18){var _0x3704cc=_0x4eece8,_0x1ec40e=_0x314ba9(_0x4a3f18,_0x3704cc(0x11b));return _0x3a1aa6(_0x1ec40e)=='symbol'?_0x1ec40e:_0x1ec40e+'';}function _0x32cded(_0x36b1b4,_0xe89ea6,_0x52d425){var _0x5ae36a=_0x4eece8;return(_0xe89ea6=_0x4e90ea(_0xe89ea6))in _0x36b1b4?Object[_0x5ae36a(0x11f)](_0x36b1b4,_0xe89ea6,{'value':_0x52d425,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36b1b4[_0xe89ea6]=_0x52d425,_0x36b1b4;}function _0xb7bd93(_0x5dd691,_0x32fb90){return function(_0x173280,_0x5ccd37){_0x32fb90(_0x173280,_0x5ccd37,_0x5dd691);};}function _0x23b70d(_0x203d4d,_0x104620,_0x2e21bc,_0x2a67eb){var _0x253c4=_0x4eece8,_0x357b7e=arguments[_0x253c4(0x134)],_0x8dddf0=_0x357b7e<0x3?_0x104620:_0x2a67eb===null?_0x2a67eb=Object['getOwnPropertyDescriptor'](_0x104620,_0x2e21bc):_0x2a67eb,_0x4bcdd6;if(typeof Reflect==_0x253c4(0x124)&&typeof Reflect[_0x253c4(0x126)]==_0x253c4(0x117))_0x8dddf0=Reflect[_0x253c4(0x126)](_0x203d4d,_0x104620,_0x2e21bc,_0x2a67eb);else{for(var _0x25e517=_0x203d4d[_0x253c4(0x134)]-0x1;_0x25e517>=0x0;_0x25e517--)(_0x4bcdd6=_0x203d4d[_0x25e517])&&(_0x8dddf0=(_0x357b7e<0x3?_0x4bcdd6(_0x8dddf0):_0x357b7e>0x3?_0x4bcdd6(_0x104620,_0x2e21bc,_0x8dddf0):_0x4bcdd6(_0x104620,_0x2e21bc))||_0x8dddf0);}return _0x357b7e>0x3&&_0x8dddf0&&Object[_0x253c4(0x11f)](_0x104620,_0x2e21bc,_0x8dddf0),_0x8dddf0;}let _0xe19759=class{constructor(_0x1e7632,_0xc3c89f,_0x52dc93){var _0x18b562=_0x4eece8;this[_0x18b562(0x143)]=_0x1e7632,this[_0x18b562(0x141)]=_0xc3c89f,this[_0x18b562(0x130)]=_0x52dc93,_0x32cded(this,_0x18b562(0x135),void 0x0),this[_0x18b562(0x135)]=this[_0x18b562(0x143)]['getId']();}[_0x4eece8(0x10b)](){var _0x2bb3c9=_0x4eece8;return this[_0x2bb3c9(0x141)];}[_0x4eece8(0x119)](){var _0x44d5a9=_0x4eece8;let _0x356592=this[_0x44d5a9(0x13c)]();return _0x356592?{'blockId':_0x356592[_0x44d5a9(0x149)],'endIndex':_0x356592['endIndex'],'startIndex':_0x356592['startIndex']}:null;}[_0x4eece8(0x148)](){var _0x38e605=_0x4eece8,_0x540786;let _0x38abb8=this[_0x38e605(0x13c)](),_0xa1e9dd=(_0x540786=this[_0x38e605(0x139)]()[_0x38e605(0x144)])==null?void 0x0:_0x540786[_0x38e605(0x125)];return!_0x38abb8||!_0xa1e9dd?'':_0xe2cf3c(_0xa1e9dd['slice'](_0x38abb8[_0x38e605(0x104)]+0x1,_0x38abb8[_0x38e605(0x10e)]));}[_0x4eece8(0x123)](){var _0x130970=_0x4eece8;let _0x2f2b0b=this[_0x130970(0x119)]();return _0x2f2b0b?{..._0x2f2b0b,'config':this[_0x130970(0x127)](),'text':this[_0x130970(0x148)](),'type':_0x3d12df[_0x130970(0x114)][_0x130970(0x12e)]}:null;}[_0x4eece8(0x127)](){var _0xc10fb5=_0x4eece8;let _0x553628=this[_0xc10fb5(0x130)]['get'](_0x177a31['DocsCodeModel']);return(0x0,_0x177a31['normalizeDocsCodeConfig'])(_0x553628['getCodeConfig'](this[_0xc10fb5(0x135)],this[_0xc10fb5(0x141)]));}[_0x4eece8(0x131)](_0x222f04){var _0x220dd=_0x4eece8;return this[_0x220dd(0x130)][_0x220dd(0x105)](_0x3d12df[_0x220dd(0x100)])['syncExecuteCommand'](_0x177a31[_0x220dd(0xfa)]['id'],{'blockId':this[_0x220dd(0x141)],'config':_0x222f04[_0x220dd(0x101)],'unitId':this[_0x220dd(0x135)]});}['unwrap'](){var _0x13a379=_0x4eece8;return this[_0x13a379(0x130)][_0x13a379(0x105)](_0x3d12df[_0x13a379(0x100)])[_0x13a379(0x14c)](_0x177a31[_0x13a379(0x13d)]['id'],{'blockId':this['_blockId'],'unitId':this[_0x13a379(0x135)]});}[_0x4eece8(0x121)](){var _0x512025=_0x4eece8;return this['_injector'][_0x512025(0x105)](_0x3d12df[_0x512025(0x100)])[_0x512025(0x14c)](_0x177a31[_0x512025(0x142)]['id'],{'blockId':this[_0x512025(0x141)],'unitId':this[_0x512025(0x135)]});}[_0x4eece8(0x13c)](){var _0x160d9f=_0x4eece8,_0x4f5f46;return((_0x4f5f46=this[_0x160d9f(0x139)]()[_0x160d9f(0x144)])==null||(_0x4f5f46=_0x4f5f46[_0x160d9f(0x107)])==null?void 0x0:_0x4f5f46[_0x160d9f(0x106)](_0x2c09c5=>_0x2c09c5[_0x160d9f(0x149)]===this['_blockId']&&_0x2c09c5[_0x160d9f(0xff)]===_0x3d12df['DocumentBlockRangeType'][_0x160d9f(0x12e)]))??null;}['_getDocumentData'](){var _0x15b655=_0x4eece8;return this[_0x15b655(0x143)][_0x15b655(0x14b)]();}};_0xe19759=_0x23b70d([_0xb7bd93(0x2,(0x0,_0x3d12df['Inject'])(_0x3d12df['Injector']))],_0xe19759);function _0xe2cf3c(_0x169c42){var _0x436b9d=_0x4eece8;return Array[_0x436b9d(0x10c)](_0x169c42)['map'](_0x378506=>_0x378506===_0x3d12df[_0x436b9d(0x113)][_0x436b9d(0x110)]?'\x0a':_0x378506)[_0x436b9d(0x102)](_0x3f6e2b=>_0x3f6e2b!==_0x3d12df['DataStreamTreeTokenType'][_0x436b9d(0xfd)]&&_0x3f6e2b!==_0x3d12df[_0x436b9d(0x113)]['BLOCK_END']&&_0x3f6e2b!==_0x3d12df[_0x436b9d(0x113)]['SECTION_BREAK'])[_0x436b9d(0x14d)]('')[_0x436b9d(0x118)](/\n$/,'');}var _0x77c770=class extends _0x49fd77[_0x4eece8(0x109)]{[_0x4eece8(0xf9)](){var _0x428619=_0x4eece8;return this['_getBlockRanges']()[_0x428619(0x102)](_0x36bdfb=>_0x36bdfb[_0x428619(0xff)]===_0x3d12df[_0x428619(0x114)][_0x428619(0x12e)])[_0x428619(0x11a)](_0x124182=>this[_0x428619(0x12f)](_0x124182['blockId']));}['getCode'](_0x5cb720){var _0x85da7a=_0x4eece8;return this[_0x85da7a(0x129)]()[_0x85da7a(0x140)](_0x1d6119=>_0x1d6119[_0x85da7a(0x149)]===_0x5cb720&&_0x1d6119[_0x85da7a(0xff)]===_0x3d12df[_0x85da7a(0x114)][_0x85da7a(0x12e)])?this['_createFDocumentCode'](_0x5cb720):null;}[_0x4eece8(0x13f)](_0x4725c6){var _0x593ec2=_0x4eece8;let _0x1c342f=this[_0x593ec2(0x129)]()[_0x593ec2(0x106)](_0x2d9d08=>_0x2d9d08[_0x593ec2(0xff)]===_0x3d12df[_0x593ec2(0x114)][_0x593ec2(0x12e)]&&_0x2d9d08[_0x593ec2(0x104)]<=_0x4725c6&&_0x4725c6<=_0x2d9d08[_0x593ec2(0x10e)]);return _0x1c342f?this[_0x593ec2(0x12f)](_0x1c342f[_0x593ec2(0x149)]):null;}[_0x4eece8(0x145)](_0x48d44e){var _0x91d2f9=_0x4eece8;return this[_0x91d2f9(0x10a)](_0x48d44e)[0x0]??null;}[_0x4eece8(0x10a)](_0x2ff311){var _0x17690f=_0x4eece8;let _0x301b90=typeof _0x2ff311==_0x17690f(0x11b)?{'text':_0x2ff311}:_0x2ff311;return this[_0x17690f(0xf9)]()[_0x17690f(0x102)](_0x78cf26=>!(_0x301b90['blockId']&&_0x78cf26[_0x17690f(0x10b)]()!==_0x301b90[_0x17690f(0x149)]||_0x301b90[_0x17690f(0x12c)]&&!_0x78cf26[_0x17690f(0x148)]()[_0x17690f(0x137)](_0x301b90[_0x17690f(0x12c)])));}[_0x4eece8(0x111)](_0x262920={},_0x32891a={}){var _0x4606e1=_0x4eece8;let _0x45d8e5=this[_0x4606e1(0x130)][_0x4606e1(0x105)](_0x3d12df['ICommandService']),_0x511233=(0x0,_0x49fd77[_0x4606e1(0x13b)])(_0x262920)?{..._0x32891a,..._0x262920[_0x4606e1(0x119)]()}:_0x262920,_0x542342=_0x511233[_0x4606e1(0x149)]??(0x0,_0x3d12df[_0x4606e1(0x12d)])(0x6);return _0x45d8e5['syncExecuteCommand'](_0x177a31['DocsCodeInsertCommand']['id'],{..._0x511233,'blockId':_0x542342,'unitId':this[_0x4606e1(0x10b)]()})?this['getCode'](_0x542342):null;}['_getBlockRanges'](){var _0x467941=_0x4eece8,_0x58dca6;return((_0x58dca6=this[_0x467941(0x14b)]()[_0x467941(0x144)])==null?void 0x0:_0x58dca6[_0x467941(0x107)])??[];}[_0x4eece8(0x12f)](_0x24e837){var _0x47e6ab=_0x4eece8;return this[_0x47e6ab(0x130)]['createInstance'](_0xe19759,this,_0x24e837);}};_0x49fd77[_0x4eece8(0x109)][_0x4eece8(0x10d)](_0x77c770),Object[_0x4eece8(0x11f)](_0x12bf0d,_0x4eece8(0x138),{'enumerable':!0x0,'get':function(){return _0xe19759;}});}));
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x735f(){const _0x5a3ddc=['body','codes','documentData','constructor','nextDocumentData','22pEGKQJ','containsInteriorInsertionOffset','paragraphs','call','packageName','decorate','UNIVER_DOC','iterator','asObservable','TRUE','Injector','serialize','paragraphStyle','setConfig','compose','find','Disposable','add','141415vJVVxG','getTextRanges','Inject','getParagraphContentStartOffsets','COMMAND','customRanges','blockRanges','35hbEGSi','docs-code.command.cancel-empty-paragraph','UniverCore','previousDocumentData','metadata','registerCommand','UniverInstanceType','bullet','DocsCodeCancelEmptyParagraphCommand','parse','commandService','config','SetDocsCodeConfigMutation','tables','55816IvmSWY','_setResource','dataStream','set','docs-code.mutation.remove-config','TABLE_CELL_START','PARAGRAPH','DocsCodeInsertCommand','shiftInclusiveRangeOnDelete','indentEnd','string','fromEntries','insert','onStarting','filter','getParagraphsInRange','32DtPfiG','map','UniverDocsPlugin','CODE','docs-code.command.update','Document\x20body\x20is\x20required','DataStreamTreeTokenType','976122nZEPaa','UniverProLicense','@univerjs-pro/docs-code','docs-code.command.remove','disposeWithMe','cursorOffset','ICommandService','insert-new','nextMetadata','left','direction','shiftInclusiveRangeOnInsert','reduce','Plugin','_initResource','_injector','forEach','columnGroups','getUnitId','slice','handler','IUniverInstanceService','clear','function','DocsCodeConsumeBoundaryDeleteCommand','insertLength','keepLines','right','textRuns','RichTextEditingMutation','range','customBlocks','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','length','JSONX','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_configService','next','deserialize','monospace','removeOp','2343JouKkp','DocsCodeModel','model','IResourceManagerService','toStringTag','blockType','delete','pluginName','MUTATION','merge','docs-code.command.insert-below','selectionManager','DocsCodeInsertBelowCommand','complete','BLOCK_START','blockId','every','isArray','shiftExclusiveRangeOnInsert','DocsCodeUpdateCommand','DocsCodeRemoveCommand','removeUnit','unitId','some','insertOp','syncExecuteCommand','269510hqicYx','_resourceManagerService','customDecorations','startIndex','_resources','rxjs','1655784LsPFLS','UniverDocsCodePlugin','getParagraphFollowingBlockOffset','containsStreamIndex','replaceOp','isHeaderFooterSelection','columns','RemoveDocsCodeConfigMutation','object','amd','CommandType','spaceAbove','spaceBelow','32iewDIC','min','sort','keepNext','@univerjs/core','deleteLength','getBlockRangeInterval','TABLE_CELL_END','from','docs-code.config','intersectsOperationalIntervals','startOffset','getUnit','@univerjs-pro/license','indexOf','1.0.0','paragraphId','insertionMode','normalizeDocsCodeConfig','_change$','DocsCodeUnwrapCommand','stringify','docs-code.command.consume-boundary-delete','getOwnPropertyDescriptor','type','symbol','Subject','FALSE','endTokenOffset','190796lBkJPb','getCurrentUnitOfType','prototype','shiftExclusiveRangeOnDelete','DocumentBlockRangeType','getParagraphContentStartOffset','max','getBodySliceForTextXAction','docs-code.command.insert','paragraphStartIndex','endIndex','javascript','Module','BLOCK_END','BuildTextUtils','BooleanNumber','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','sectionBreaks','_config','entries','SECTION_BREAK','docs-code.command.exit','dispose','get','endOffset','generateRandomId','push','_docsCodeModel','UniverProDocsCode','toPrimitive','endsWith','start','defineProperty'];_0x735f=function(){return _0x5a3ddc;};return _0x735f();}function _0x2138(_0x4795bf,_0x3fcb0d){_0x4795bf=_0x4795bf-0xfe;const _0x735fb9=_0x735f();let _0x21385e=_0x735fb9[_0x4795bf];return _0x21385e;}(function(_0x28bb80,_0x25a6bf){const _0xe76ea2=_0x2138,_0x72d0e9=_0x28bb80();while(!![]){try{const _0x4ed65a=parseInt(_0xe76ea2(0x187))/0x1+parseInt(_0xe76ea2(0x16a))/0x2*(-parseInt(_0xe76ea2(0x13d))/0x3)+-parseInt(_0xe76ea2(0x10d))/0x4*(-parseInt(_0xe76ea2(0x1bf))/0x5)+-parseInt(_0xe76ea2(0x15d))/0x6+parseInt(_0xe76ea2(0x1c6))/0x7*(-parseInt(_0xe76ea2(0x1d4))/0x8)+parseInt(_0xe76ea2(0x114))/0x9+-parseInt(_0xe76ea2(0x157))/0xa*(parseInt(_0xe76ea2(0x1ad))/0xb);if(_0x4ed65a===_0x25a6bf)break;else _0x72d0e9['push'](_0x72d0e9['shift']());}catch(_0xbb7d3d){_0x72d0e9['push'](_0x72d0e9['shift']());}}}(_0x735f,0x2432f),function(_0x5cb5a0,_0x1e0859){const _0x25a1b9=_0x2138;typeof exports==_0x25a1b9(0x165)&&typeof module<'u'?_0x1e0859(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x25a1b9(0x166)]?define(['exports',_0x25a1b9(0x16e),'rxjs','@univerjs/docs',_0x25a1b9(0x177)],_0x1e0859):(_0x5cb5a0=typeof globalThis<'u'?globalThis:_0x5cb5a0||self,_0x1e0859(_0x5cb5a0[_0x25a1b9(0x1a3)]={},_0x5cb5a0[_0x25a1b9(0x1c8)],_0x5cb5a0[_0x25a1b9(0x15c)],_0x5cb5a0['UniverDocs'],_0x5cb5a0[_0x25a1b9(0x115)]));}(this,function(_0x35ee6a,_0x4288f3,_0x5a8803,_0x7ce81c,_0x387a4b){const _0x409a81=_0x2138;Object['defineProperty'](_0x35ee6a,Symbol[_0x409a81(0x141)],{'value':_0x409a81(0x193)});let _0x45ab96={'language':_0x409a81(0x192),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x1e7dfa(_0xfb549){return{..._0x45ab96,..._0xfb549};}function _0x529a31(_0x3080a7){const _0x5b7af5=_0x409a81;let _0x3b1e09=(_0x3080a7==null?void 0x0:_0x3080a7[_0x5b7af5(0x1a9)])??{};return{'codes':Object[_0x5b7af5(0x108)](Object[_0x5b7af5(0x19a)](_0x3b1e09)[_0x5b7af5(0x10e)](([_0x3de9ac,_0x5c29c0])=>[_0x3de9ac,_0x1e7dfa(_0x5c29c0)]))};}function _0x27dbc7(_0xe66cad,_0x5ca7fb,_0x4ddaf2){const _0x3a0298=_0x409a81;let _0x4b4d2f=_0x529a31(_0xe66cad);return _0x4b4d2f[_0x3a0298(0x1a9)][_0x5ca7fb]=_0x1e7dfa({..._0x4b4d2f[_0x3a0298(0x1a9)][_0x5ca7fb],..._0x4ddaf2}),_0x4b4d2f;}function _0x199e5f(_0x101df7,_0x4e57e7){let _0x3e81e1=_0x529a31(_0x101df7);return delete _0x3e81e1['codes'][_0x4e57e7],_0x3e81e1;}function _0x2e5882(_0x3fd162){'@babel/helpers - typeof';const _0x3d9ff8=_0x409a81;return _0x2e5882=typeof Symbol=='function'&&typeof Symbol[_0x3d9ff8(0x1b4)]==_0x3d9ff8(0x183)?function(_0x32e7d1){return typeof _0x32e7d1;}:function(_0x721c4d){const _0x3fa307=_0x3d9ff8;return _0x721c4d&&typeof Symbol==_0x3fa307(0x12b)&&_0x721c4d[_0x3fa307(0x1ab)]===Symbol&&_0x721c4d!==Symbol[_0x3fa307(0x189)]?_0x3fa307(0x183):typeof _0x721c4d;},_0x2e5882(_0x3fd162);}function _0x422a4a(_0xfcbe0b,_0x17d566){const _0x3c994f=_0x409a81;if(_0x2e5882(_0xfcbe0b)!=_0x3c994f(0x165)||!_0xfcbe0b)return _0xfcbe0b;var _0x470923=_0xfcbe0b[Symbol[_0x3c994f(0x1a4)]];if(_0x470923!==void 0x0){var _0x1732b0=_0x470923[_0x3c994f(0x1b0)](_0xfcbe0b,_0x17d566||'default');if(_0x2e5882(_0x1732b0)!=_0x3c994f(0x165))return _0x1732b0;throw TypeError(_0x3c994f(0x137));}return(_0x17d566===_0x3c994f(0x107)?String:Number)(_0xfcbe0b);}function _0x4dd418(_0xedb3a4){const _0x277bb8=_0x409a81;var _0x3d938c=_0x422a4a(_0xedb3a4,_0x277bb8(0x107));return _0x2e5882(_0x3d938c)==_0x277bb8(0x183)?_0x3d938c:_0x3d938c+'';}function _0x1f2196(_0x5a65a3,_0x52b258,_0x4a269b){const _0x382a62=_0x409a81;return(_0x52b258=_0x4dd418(_0x52b258))in _0x5a65a3?Object[_0x382a62(0x1a7)](_0x5a65a3,_0x52b258,{'value':_0x4a269b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a65a3[_0x52b258]=_0x4a269b,_0x5a65a3;}var _0x300b0f=class extends _0x4288f3[_0x409a81(0x1bd)]{constructor(..._0x391d06){const _0x44ff2d=_0x409a81;super(..._0x391d06),_0x1f2196(this,_0x44ff2d(0x15b),new Map()),_0x1f2196(this,_0x44ff2d(0x17d),new _0x5a8803[(_0x44ff2d(0x184))]()),_0x1f2196(this,'change$',this['_change$'][_0x44ff2d(0x1b5)]());}['getCodeConfig'](_0x1682e8,_0x1c65bc){const _0x3374df=_0x409a81;return _0x529a31(this[_0x3374df(0x15b)][_0x3374df(0x19e)](_0x1682e8))['codes'][_0x1c65bc];}['setCodeConfig'](_0x4e640c,_0xed9a6d,_0x5d46da){const _0x5cbee9=_0x409a81;this[_0x5cbee9(0xfe)](_0x4e640c,_0xed9a6d,_0x27dbc7(this[_0x5cbee9(0x15b)][_0x5cbee9(0x19e)](_0x4e640c),_0xed9a6d,_0x5d46da));}['removeCode'](_0x78114,_0x590db9){const _0x3d187e=_0x409a81;this['_setResource'](_0x78114,_0x590db9,_0x199e5f(this[_0x3d187e(0x15b)][_0x3d187e(0x19e)](_0x78114),_0x590db9));}[_0x409a81(0x1b8)](_0xf6250b){const _0x25c6be=_0x409a81;return _0x529a31(this[_0x25c6be(0x15b)]['get'](_0xf6250b));}[_0x409a81(0x13a)](_0x3220f4,_0x62c6c){const _0x1f3884=_0x409a81;this['_resources'][_0x1f3884(0x100)](_0x3220f4,_0x529a31(_0x62c6c)),this['_change$'][_0x1f3884(0x139)]({'unitId':_0x3220f4});}[_0x409a81(0x152)](_0x16a3b4){const _0x39c764=_0x409a81;this[_0x39c764(0x15b)][_0x39c764(0x143)](_0x16a3b4),this[_0x39c764(0x17d)][_0x39c764(0x139)]({'unitId':_0x16a3b4});}[_0x409a81(0x19d)](){const _0x55974b=_0x409a81;super[_0x55974b(0x19d)](),this['_resources'][_0x55974b(0x12a)](),this[_0x55974b(0x17d)][_0x55974b(0x14a)]();}[_0x409a81(0xfe)](_0xe4b546,_0x3b8b05,_0x40e086){const _0x1c9841=_0x409a81;this[_0x1c9841(0x15b)][_0x1c9841(0x100)](_0xe4b546,_0x40e086),this[_0x1c9841(0x17d)][_0x1c9841(0x139)]({'unitId':_0xe4b546,'blockId':_0x3b8b05});}};let _0x3572d9={'id':'docs-code.mutation.set-config','type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x145)],'handler':(_0x2b5610,_0x1c09b6)=>!(_0x1c09b6!=null&&_0x1c09b6[_0x409a81(0x153)])||!_0x1c09b6[_0x409a81(0x14c)]?!0x1:(_0x2b5610[_0x409a81(0x19e)](_0x300b0f)['setCodeConfig'](_0x1c09b6[_0x409a81(0x153)],_0x1c09b6[_0x409a81(0x14c)],_0x1c09b6[_0x409a81(0x1d1)]),!0x0)},_0x1da3d9={'id':_0x409a81(0x101),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x145)],'handler':(_0x55e7d0,_0x28c3c4)=>!(_0x28c3c4!=null&&_0x28c3c4['unitId'])||!_0x28c3c4[_0x409a81(0x14c)]?!0x1:(_0x55e7d0[_0x409a81(0x19e)](_0x300b0f)['removeCode'](_0x28c3c4[_0x409a81(0x153)],_0x28c3c4[_0x409a81(0x14c)]),!0x0)},_0x32dc5f=_0x409a81(0x13b);var _0x880fd9=class extends Error{constructor(_0x2bd8f1=_0x409a81(0x134)){super(_0x2bd8f1);}};function _0x3d2bf3(_0x11324a){const _0x3b5e19=_0x409a81;var _0x3bcf61;let _0x30944e=_0x125977(_0x11324a[_0x3b5e19(0x1aa)]),_0x3a5a8b=_0x39a0ad(_0x30944e),_0x5a62bc=_0x4c4175(_0x11324a[_0x3b5e19(0x175)],_0x11324a['endOffset']),_0x3542b3=_0x5a62bc?(_0x3bcf61=_0x3a5a8b[_0x3b5e19(0x1c5)])==null?void 0x0:_0x3bcf61['find'](_0x290edd=>{const _0x11afb0=_0x3b5e19;let _0x249f32=(0x0,_0x4288f3[_0x11afb0(0x170)])(_0x290edd);return _0x249f32[_0x11afb0(0x175)]===_0x5a62bc[_0x11afb0(0x175)]&&_0x249f32[_0x11afb0(0x19f)]===_0x5a62bc[_0x11afb0(0x19f)];}):void 0x0,{startOffset:_0x3fb104,endOffset:_0x295ab3}=_0x3542b3?_0x5a62bc:_0xea5a3c(_0x3a5a8b,_0x11324a['startOffset'],_0x11324a['endOffset'],_0x11324a[_0x3b5e19(0x17b)]);if(!_0x3542b3&&_0x2b7dd1(_0x3a5a8b,_0x3fb104,_0x295ab3))throw new _0x880fd9(_0x3b5e19(0x197));let _0x4a5396=_0x744ff6(_0x3a5a8b,_0x3fb104,_0x295ab3),_0x2ea86f=(_0x3542b3==null?void 0x0:_0x3542b3[_0x3b5e19(0x14c)])??_0x11324a[_0x3b5e19(0x14c)],_0x405193=_0x27dbc7(_0x11324a[_0x3b5e19(0x1ca)],_0x2ea86f,{..._0x45ab96,..._0x11324a[_0x3b5e19(0x1d1)]});if(_0x3542b3)return _0x3542b3[_0x3b5e19(0x142)]=_0x4288f3['DocumentBlockRangeType'][_0x3b5e19(0x110)],_0x2ead02(_0x3a5a8b,_0x3fb104,_0x295ab3),_0x3ab01b(_0x3a5a8b,_0x3fb104,_0x295ab3,_0x4a5396),_0x35110f(_0x3a5a8b,_0x3542b3),{'nextDocumentData':_0x30944e,'nextMetadata':_0x405193,'cursorOffset':_0x3fb104+0x1};if(_0x3fb104===_0x295ab3){var _0x207fd0,_0x54554f;let _0x280e34=''+_0x4288f3[_0x3b5e19(0x113)][_0x3b5e19(0x14b)]+_0x4288f3[_0x3b5e19(0x113)]['PARAGRAPH']+_0x4288f3[_0x3b5e19(0x113)][_0x3b5e19(0x194)];_0x3d78ef(_0x3a5a8b,_0x3fb104,_0x280e34,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x4288f3['createParagraphId'])(new Set((_0x207fd0=_0x3a5a8b[_0x3b5e19(0x1af)])==null?void 0x0:_0x207fd0[_0x3b5e19(0x10e)](_0x3e3682=>_0x3e3682[_0x3b5e19(0x17a)]))),'paragraphStyle':_0x5c3738(!0x0,!0x0,_0x4a5396)}],'blockRanges':[{'blockId':_0x2ea86f,'blockType':_0x4288f3['DocumentBlockRangeType'][_0x3b5e19(0x110)],'startIndex':0x0,'endIndex':_0x280e34[_0x3b5e19(0x135)]-0x1}]});let _0x47a8ca=(_0x54554f=_0x3a5a8b['blockRanges'])==null?void 0x0:_0x54554f[_0x3b5e19(0x1bc)](_0x5e43e2=>_0x5e43e2['blockId']===_0x2ea86f);return _0x47a8ca&&_0x35110f(_0x3a5a8b,_0x47a8ca),{'nextDocumentData':_0x30944e,'nextMetadata':_0x405193,'cursorOffset':_0x3fb104+0x1};}_0x3d78ef(_0x3a5a8b,_0x295ab3,_0x4288f3['DataStreamTreeTokenType']['BLOCK_END']),_0x3d78ef(_0x3a5a8b,_0x3fb104,_0x4288f3[_0x3b5e19(0x113)]['BLOCK_START']),_0x3ab01b(_0x3a5a8b,_0x3fb104,_0x295ab3+0x1,_0x4a5396);let _0x4785ae={'blockId':_0x2ea86f,'blockType':_0x4288f3[_0x3b5e19(0x18b)][_0x3b5e19(0x110)],'startIndex':_0x3fb104,'endIndex':_0x295ab3+0x1};return _0x3a5a8b[_0x3b5e19(0x1c5)]=[..._0x3a5a8b[_0x3b5e19(0x1c5)]??[],_0x4785ae][_0x3b5e19(0x16c)]((_0x94c1cc,_0x40bf9b)=>_0x94c1cc[_0x3b5e19(0x15a)]-_0x40bf9b[_0x3b5e19(0x15a)]),_0x35110f(_0x3a5a8b,_0x4785ae),{'nextDocumentData':_0x30944e,'nextMetadata':_0x405193,'cursorOffset':_0x3fb104+0x1};}function _0x2ead02(_0x22ca9b,_0x3599da,_0xc59d8d){const _0x4550c0=_0x409a81;(_0x22ca9b[_0x4550c0(0x1af)]??[])[_0x4550c0(0x10b)](_0x3c2a63=>_0x3c2a63[_0x4550c0(0x15a)]>_0x3599da&&_0x3c2a63[_0x4550c0(0x15a)]<_0xc59d8d)[_0x4550c0(0x124)](_0x828106=>{const _0xa76292=_0x4550c0;let _0x2c75da={..._0x828106['paragraphStyle']??{}};delete _0x2c75da[_0xa76292(0x168)],delete _0x2c75da[_0xa76292(0x169)],_0x828106['paragraphStyle']=_0x2c75da;});}function _0x4c4175(_0x1d4bce,_0x3b9753){const _0x45878a=_0x409a81;return _0x1d4bce==null||_0x3b9753==null||_0x1d4bce===_0x3b9753?null:{'startOffset':Math[_0x45878a(0x16b)](_0x1d4bce,_0x3b9753),'endOffset':Math[_0x45878a(0x18d)](_0x1d4bce,_0x3b9753)};}function _0x2b7dd1(_0x5e4ca9,_0x29c2e5,_0x2e2dde){const _0x3979cb=_0x409a81;return(_0x5e4ca9[_0x3979cb(0x1c5)]??[])[_0x3979cb(0x154)](_0x43dc9c=>{const _0x5044ae=_0x3979cb;let _0x3043dc=(0x0,_0x4288f3[_0x5044ae(0x170)])(_0x43dc9c);return _0x29c2e5===_0x2e2dde?(0x0,_0x4288f3[_0x5044ae(0x1ae)])(_0x3043dc,_0x29c2e5):(0x0,_0x4288f3[_0x5044ae(0x174)])(_0x3043dc,{'startOffset':_0x29c2e5,'endOffset':_0x2e2dde});});}function _0x3810b0(_0x429849){const _0x31a31d=_0x409a81;return{'nextDocumentData':_0x125977(_0x429849['documentData']),'nextMetadata':_0x27dbc7(_0x429849[_0x31a31d(0x1ca)],_0x429849[_0x31a31d(0x14c)],_0x429849[_0x31a31d(0x1d1)]),'cursorOffset':0x0};}function _0x4936ec(_0x2449d1){const _0x16c4ae=_0x409a81;let _0x3b4f6a=_0x125977(_0x2449d1[_0x16c4ae(0x1aa)]),_0x45c3fa=_0x39a0ad(_0x3b4f6a),_0x4a698f=_0x214469(_0x45c3fa,_0x2449d1['blockId']);if(!_0x4a698f)return null;let _0x1decb8=_0x3134da(_0x45c3fa,_0x4a698f);return{'nextDocumentData':_0x3b4f6a,'nextMetadata':_0x199e5f(_0x2449d1[_0x16c4ae(0x1ca)],_0x2449d1[_0x16c4ae(0x14c)]),'cursorOffset':_0x1decb8};}function _0x16d6f8(_0x4b9f93){const _0x45c714=_0x409a81;var _0x2aff86;let _0x199e16=_0x125977(_0x4b9f93[_0x45c714(0x1aa)]),_0x3146c7=_0x39a0ad(_0x199e16),_0x2ed82e=_0x214469(_0x3146c7,_0x4b9f93['blockId']);if(!_0x2ed82e)return null;let _0x227ee5=(0x0,_0x4288f3[_0x45c714(0x170)])(_0x2ed82e);return _0x5cddd9(_0x3146c7,_0x227ee5[_0x45c714(0x175)],_0x227ee5['endOffset']),_0x3146c7[_0x45c714(0x1c5)]=(_0x2aff86=_0x3146c7[_0x45c714(0x1c5)])==null?void 0x0:_0x2aff86[_0x45c714(0x10b)](_0x2ebaed=>_0x2ebaed['blockId']!==_0x4b9f93[_0x45c714(0x14c)]),{'nextDocumentData':_0x199e16,'nextMetadata':_0x199e5f(_0x4b9f93[_0x45c714(0x1ca)],_0x4b9f93['blockId']),'cursorOffset':_0x2ed82e['startIndex']};}function _0x476eb5(_0x2e0f31){const _0x22c8f1=_0x409a81;let _0x54dd85=_0x125977(_0x2e0f31[_0x22c8f1(0x1aa)]),_0x1719ec=_0x39a0ad(_0x54dd85),_0x17884b=_0x5e3e35(_0x1719ec,_0x2e0f31[_0x22c8f1(0x119)]);return _0x17884b&&_0xff91b4(_0x54dd85,_0x1719ec,_0x17884b,_0x2e0f31[_0x22c8f1(0x119)],_0x2e0f31[_0x22c8f1(0x190)])||null;}function _0xff91b4(_0x2c3d82,_0x3b82f9,_0x221ad3,_0x572679,_0xd19206){const _0x53e856=_0x409a81;let _0x13ed3a=_0x26168d(_0x3b82f9,_0x221ad3,_0x572679,_0xd19206);if(!_0x13ed3a)return null;let _0xe88c95=_0x13ed3a[_0x53e856(0x186)]-0x1;return _0x5cddd9(_0x3b82f9,_0x13ed3a['paragraph'][_0x53e856(0x15a)],_0x13ed3a['paragraph'][_0x53e856(0x15a)]+0x1),{'nextDocumentData':_0x2c3d82,'cursorOffset':_0xe88c95};}function _0x214469(_0x17cead,_0x410e2f){const _0x4d3a8d=_0x409a81;var _0x35a35c;return _0x17cead==null||(_0x35a35c=_0x17cead[_0x4d3a8d(0x1c5)])==null?void 0x0:_0x35a35c[_0x4d3a8d(0x1bc)](_0x85df5e=>_0x85df5e[_0x4d3a8d(0x142)]===_0x4288f3['DocumentBlockRangeType'][_0x4d3a8d(0x110)]&&_0x85df5e[_0x4d3a8d(0x14c)]===_0x410e2f);}function _0x24ace8(_0x2f34f8){const _0x514bc2=_0x409a81;let _0x135068=_0x2f34f8[_0x514bc2(0x1aa)][_0x514bc2(0x1a8)];if(!_0x135068)return!0x1;let _0x59fc29=_0x2f34f8[_0x514bc2(0x11e)]===_0x514bc2(0x11d)?_0x2f34f8[_0x514bc2(0x119)]-0x1:_0x2f34f8[_0x514bc2(0x119)],_0x5cc613=_0x2f34f8[_0x514bc2(0x11e)]===_0x514bc2(0x12f)?_0x2f34f8[_0x514bc2(0x119)]+0x1:_0x59fc29;return(_0x135068[_0x514bc2(0x1c5)]??[])[_0x514bc2(0x154)](_0x2876ac=>_0x2876ac[_0x514bc2(0x142)]===_0x4288f3[_0x514bc2(0x18b)][_0x514bc2(0x110)]?_0x59fc29===_0x2876ac[_0x514bc2(0x15a)]||_0x59fc29===_0x2876ac[_0x514bc2(0x191)]||_0x5cc613===_0x2876ac[_0x514bc2(0x15a)]||_0x5cc613===_0x2876ac[_0x514bc2(0x191)]:!0x1);}function _0x5e3e35(_0x21ff07,_0x3dfb7d){const _0x236c99=_0x409a81;var _0x5e77e0;return(_0x5e77e0=_0x21ff07[_0x236c99(0x1c5)])==null?void 0x0:_0x5e77e0['find'](_0x347b0e=>{const _0x1a235b=_0x236c99;let _0x2bcf6a=_0x17865c(_0x347b0e);return _0x347b0e['blockType']===_0x4288f3['DocumentBlockRangeType'][_0x1a235b(0x110)]&&_0x347b0e[_0x1a235b(0x15a)]<=_0x3dfb7d&&_0x3dfb7d<=_0x2bcf6a+0x2;});}function _0x5c3738(_0x14ee1f,_0x2e2304,_0x547bc1=!0x1){const _0x6f6b63=_0x409a81;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x4288f3[_0x6f6b63(0x196)]['TRUE'],'keepNext':_0x2e2304?_0x4288f3[_0x6f6b63(0x196)][_0x6f6b63(0x185)]:_0x4288f3[_0x6f6b63(0x196)][_0x6f6b63(0x1b6)],'widowControl':_0x4288f3[_0x6f6b63(0x196)][_0x6f6b63(0x1b6)],..._0x14ee1f&&_0x547bc1?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x32dc5f,'fs':0xc}};}function _0x3ab01b(_0x501f91,_0x4c505b,_0x3949fe,_0x2080b1=!0x1){const _0x332c37=_0x409a81;let _0x4315ef=(_0x501f91[_0x332c37(0x1af)]??[])['filter'](_0x2f8c3d=>_0x2f8c3d['startIndex']>_0x4c505b&&_0x2f8c3d[_0x332c37(0x15a)]<_0x3949fe);_0x4315ef[_0x332c37(0x124)]((_0x55c3d9,_0x6cec02)=>{const _0x295d19=_0x332c37;_0x55c3d9[_0x295d19(0x1b9)]={..._0x55c3d9[_0x295d19(0x1b9)]??{},..._0x5c3738(_0x6cec02===0x0,_0x6cec02===_0x4315ef['length']-0x1,_0x2080b1)};});}function _0x43c6bf(_0x505520){const _0x30520d=_0x409a81;var _0x28a6ab,_0x31059a;let _0x1b90cb={..._0x505520??{}};return delete _0x1b90cb[_0x30520d(0x106)],delete _0x1b90cb['indentStart'],delete _0x1b90cb['spaceAbove'],delete _0x1b90cb[_0x30520d(0x169)],delete _0x1b90cb[_0x30520d(0x12e)],delete _0x1b90cb[_0x30520d(0x16d)],delete _0x1b90cb['widowControl'],((_0x28a6ab=_0x1b90cb['textStyle'])==null?void 0x0:_0x28a6ab['ff'])===_0x32dc5f&&((_0x31059a=_0x1b90cb['textStyle'])==null?void 0x0:_0x31059a['fs'])===0xc&&delete _0x1b90cb['textStyle'],_0x1b90cb;}function _0x2c7827(_0x405f0a,_0x42149e){const _0x44ba12=_0x409a81;let _0x1467fb=_0x17865c(_0x42149e);return(_0x405f0a['paragraphs']??[])[_0x44ba12(0x10b)](_0x391ca3=>_0x391ca3[_0x44ba12(0x15a)]>_0x42149e[_0x44ba12(0x15a)]&&_0x391ca3['startIndex']<_0x1467fb);}function _0x3134da(_0x348251,_0x2288ba){const _0x5419c7=_0x409a81;var _0xc591dd;let _0x20d405=_0x17865c(_0x2288ba);return _0x2c7827(_0x348251,_0x2288ba)['forEach'](_0x427611=>{const _0xa1d9f9=_0x2138;_0x427611[_0xa1d9f9(0x1b9)]=_0x43c6bf(_0x427611[_0xa1d9f9(0x1b9)]);}),_0x5cddd9(_0x348251,_0x20d405,_0x20d405+0x1),_0x5cddd9(_0x348251,_0x2288ba[_0x5419c7(0x15a)],_0x2288ba['startIndex']+0x1),_0x348251[_0x5419c7(0x1c5)]=(_0xc591dd=_0x348251[_0x5419c7(0x1c5)])==null?void 0x0:_0xc591dd[_0x5419c7(0x10b)](_0xbdc4df=>_0xbdc4df[_0x5419c7(0x14c)]!==_0x2288ba[_0x5419c7(0x14c)]),_0x2288ba[_0x5419c7(0x15a)];}function _0x125977(_0x51717d){const _0x3c20d2=_0x409a81;return{..._0x51717d,'body':_0x51717d[_0x3c20d2(0x1a8)]?_0x1b64e9(_0x51717d[_0x3c20d2(0x1a8)]):_0x51717d['body']};}function _0x1b64e9(_0x56e9b7){const _0x4a7344=_0x409a81;var _0x25ee39,_0x3d9f83,_0x56ee98,_0x3e4822,_0x145370,_0x4efa30,_0x56b9de,_0x1cf4a0,_0x5265bc;return{..._0x56e9b7,'paragraphs':(_0x25ee39=_0x56e9b7[_0x4a7344(0x1af)])==null?void 0x0:_0x25ee39[_0x4a7344(0x10e)](_0x29bb3b=>({..._0x29bb3b,'bullet':_0x25e22c(_0x29bb3b[_0x4a7344(0x1cd)]),'paragraphStyle':_0x25e22c(_0x29bb3b[_0x4a7344(0x1b9)])})),'sectionBreaks':(_0x3d9f83=_0x56e9b7[_0x4a7344(0x198)])==null?void 0x0:_0x3d9f83[_0x4a7344(0x10e)](_0x2ec51d=>({..._0x2ec51d})),'textRuns':(_0x56ee98=_0x56e9b7[_0x4a7344(0x130)])==null?void 0x0:_0x56ee98[_0x4a7344(0x10e)](_0x26db77=>({..._0x26db77})),'tables':(_0x3e4822=_0x56e9b7['tables'])==null?void 0x0:_0x3e4822[_0x4a7344(0x10e)](_0x29e56f=>({..._0x29e56f})),'columnGroups':(_0x145370=_0x56e9b7[_0x4a7344(0x125)])==null?void 0x0:_0x145370[_0x4a7344(0x10e)](_0x3c3a5a=>{const _0x3a7304=_0x4a7344;var _0x18ef14;return{..._0x3c3a5a,'columns':(_0x18ef14=_0x3c3a5a[_0x3a7304(0x163)])==null?void 0x0:_0x18ef14[_0x3a7304(0x10e)](_0x306af7=>_0x25e22c(_0x306af7))};}),'blockRanges':(_0x4efa30=_0x56e9b7[_0x4a7344(0x1c5)])==null?void 0x0:_0x4efa30[_0x4a7344(0x10e)](_0x48d745=>({..._0x48d745})),'customRanges':(_0x56b9de=_0x56e9b7[_0x4a7344(0x1c4)])==null?void 0x0:_0x56b9de[_0x4a7344(0x10e)](_0xda3d73=>({..._0xda3d73})),'customDecorations':(_0x1cf4a0=_0x56e9b7[_0x4a7344(0x159)])==null?void 0x0:_0x1cf4a0['map'](_0x45ff55=>({..._0x45ff55})),'customBlocks':(_0x5265bc=_0x56e9b7['customBlocks'])==null?void 0x0:_0x5265bc['map'](_0x43b3f9=>({..._0x43b3f9}))};}function _0x25e22c(_0x7af144){const _0x259f48=_0x409a81;return Array[_0x259f48(0x14e)](_0x7af144)?_0x7af144['map'](_0x548cee=>_0x25e22c(_0x548cee)):!_0x7af144||typeof _0x7af144!=_0x259f48(0x165)?_0x7af144:Object[_0x259f48(0x108)](Object[_0x259f48(0x19a)](_0x7af144)[_0x259f48(0x10e)](([_0x3b7512,_0x3cadc4])=>[_0x3b7512,_0x25e22c(_0x3cadc4)]));}function _0x39a0ad(_0x5c3ecb){const _0x270412=_0x409a81;if(!_0x5c3ecb[_0x270412(0x1a8)])throw Error(_0x270412(0x112));return _0x5c3ecb['body'];}function _0xea5a3c(_0x462047,_0x418b6f,_0x38d98a,_0x16aaa4='convert-paragraph'){const _0x24bb90=_0x409a81;if(_0x418b6f==null||_0x38d98a==null){let _0x178b2b=_0x4fefaf(_0x462047);return{'startOffset':_0x178b2b,'endOffset':_0x178b2b};}let _0xdd5302=Math['min'](_0x418b6f,_0x38d98a),_0x55d953=Math['max'](_0x418b6f,_0x38d98a),_0x1bca1c=_0x1c66dd(_0x462047,_0xdd5302,_0x55d953);return _0xdd5302===_0x55d953?_0x16aaa4===_0x24bb90(0x11b)?{'startOffset':_0xdd5302,'endOffset':_0x55d953}:_0x1dc005(_0x462047,_0xdd5302,_0x1bca1c):_0x4f6799(_0x462047,_0xdd5302,_0x55d953,_0x1bca1c);}function _0x1dc005(_0x2aa58e,_0xc541ab,_0x33ae89){const _0x22be8d=_0x409a81;let _0x24a35b=_0x249d81(_0x2aa58e,_0xc541ab);if(_0x24a35b){let _0x472025=_0x19b1a9(_0x2aa58e,_0x24a35b,_0x33ae89);if(_0x472025<_0x24a35b['startIndex'])return{'startOffset':_0x472025,'endOffset':_0x33ae89?Math[_0x22be8d(0x16b)](_0x24a35b[_0x22be8d(0x15a)]+0x1,_0x33ae89[_0x22be8d(0x19f)]):_0x24a35b[_0x22be8d(0x15a)]+0x1};}let _0x440eec=_0xc541ab===0x0&&_0x2aa58e['dataStream'][0x0]===_0x4288f3[_0x22be8d(0x113)]['PARAGRAPH']?0x1:_0xc541ab;return{'startOffset':_0x440eec,'endOffset':_0x440eec};}function _0x4fefaf(_0x45bba2){const _0x40ccb9=_0x409a81;return _0x45bba2[_0x40ccb9(0xff)][_0x40ccb9(0x1a5)](_0x4288f3[_0x40ccb9(0x113)][_0x40ccb9(0x19b)])?Math[_0x40ccb9(0x18d)](0x0,_0x45bba2[_0x40ccb9(0xff)]['length']-0x1):_0x45bba2[_0x40ccb9(0xff)]['length'];}function _0x744ff6(_0x299efa,_0x388aaf,_0x3d09eb){const _0x18cb41=_0x409a81;var _0x11a116;let _0x4a65c5=Math['min'](_0x388aaf,_0x3d09eb),_0x302a78=Math[_0x18cb41(0x18d)](_0x388aaf,_0x3d09eb);return!!((_0x11a116=_0x299efa[_0x18cb41(0x1d3)])!=null&&_0x11a116[_0x18cb41(0x154)](_0x253824=>_0x4a65c5>_0x253824[_0x18cb41(0x15a)]&&_0x4a65c5<_0x253824[_0x18cb41(0x191)]||_0x302a78>_0x253824[_0x18cb41(0x15a)]&&_0x302a78<_0x253824[_0x18cb41(0x191)]||_0x4a65c5<=_0x253824[_0x18cb41(0x15a)]&&_0x302a78>=_0x253824['endIndex']));}function _0x4f6799(_0x5abcac,_0x5987f0,_0x56a303,_0x3fb6cf){const _0x3fc806=_0x409a81;let _0x13d75a=[..._0x5abcac[_0x3fc806(0x1af)]??[]][_0x3fc806(0x16c)]((_0x4dc367,_0x463bf0)=>_0x4dc367[_0x3fc806(0x15a)]-_0x463bf0[_0x3fc806(0x15a)]),_0x5207f2=(0x0,_0x4288f3[_0x3fc806(0x1c2)])(_0x5abcac),_0x3a11ac=_0x13d75a[_0x3fc806(0x1bc)](_0x31c8b4=>_0x19b1a9(_0x5abcac,_0x31c8b4,_0x3fb6cf,_0x5207f2)<=_0x5987f0&&_0x5987f0<=_0x31c8b4['startIndex']),_0x5c5e3e=_0x13d75a['find'](_0xf3f776=>_0xf3f776[_0x3fc806(0x15a)]>=_0x56a303-0x1)??_0x13d75a[_0x13d75a['length']-0x1];return{'startOffset':_0x3a11ac?_0x19b1a9(_0x5abcac,_0x3a11ac,_0x3fb6cf,_0x5207f2):_0x5987f0,'endOffset':_0x5c5e3e?_0x22dc44(_0x5c5e3e,_0x3fb6cf):_0x56a303};}function _0x249d81(_0x55782d,_0x36844c){const _0x3e3eaf=_0x409a81;let _0x1c9403=[..._0x55782d[_0x3e3eaf(0x1af)]??[]][_0x3e3eaf(0x16c)]((_0x3d6a3c,_0x1b4f15)=>_0x3d6a3c[_0x3e3eaf(0x15a)]-_0x1b4f15['startIndex']),_0x2bf76f=(0x0,_0x4288f3[_0x3e3eaf(0x1c2)])(_0x55782d);return _0x1c9403['find'](_0x4c58b3=>(_0x2bf76f[_0x3e3eaf(0x19e)](_0x4c58b3[_0x3e3eaf(0x15a)])??0x0)<=_0x36844c&&_0x36844c<=_0x4c58b3[_0x3e3eaf(0x15a)]);}function _0x19b1a9(_0x34dba5,_0x2fed92,_0x591aa9,_0x2cb88e){const _0x45ec9c=_0x409a81;let _0x41018f=(_0x2cb88e==null?void 0x0:_0x2cb88e[_0x45ec9c(0x19e)](_0x2fed92[_0x45ec9c(0x15a)]))??(0x0,_0x4288f3[_0x45ec9c(0x18c)])(_0x34dba5,_0x2fed92);return _0x591aa9?Math[_0x45ec9c(0x18d)](_0x41018f,_0x591aa9['startOffset']):_0x41018f;}function _0x22dc44(_0x58547e,_0x1a789d){const _0x8c633d=_0x409a81;let _0x30395f=_0x58547e['startIndex']+0x1;return _0x1a789d?Math[_0x8c633d(0x16b)](_0x30395f,_0x1a789d[_0x8c633d(0x19f)]):_0x30395f;}function _0x1c66dd(_0x5b9d4f,_0x2bd058,_0x38cd3c){const _0x50cf0d=_0x409a81;let _0x9ff61f=_0x524a25(_0x5b9d4f,_0x2bd058),_0x55729d=_0x524a25(_0x5b9d4f,_0x2bd058===_0x38cd3c?_0x38cd3c:Math['max'](_0x2bd058,_0x38cd3c-0x1));if(_0x9ff61f||_0x55729d){if(!_0x9ff61f||!_0x55729d||_0x9ff61f['startTokenOffset']!==_0x55729d['startTokenOffset']||_0x9ff61f[_0x50cf0d(0x186)]!==_0x55729d[_0x50cf0d(0x186)])throw new _0x880fd9();return _0x9ff61f;}}function _0x524a25(_0x3f97ad,_0x383cb6){const _0x5754d9=_0x409a81;let _0x1561d2=_0x3f97ad[_0x5754d9(0xff)],_0x3a10e1=-0x1;for(let _0x4a5c66=Math['min'](_0x383cb6,_0x1561d2['length']-0x1);_0x4a5c66>=0x0;_0x4a5c66--){let _0x170ec9=_0x1561d2[_0x4a5c66];if(_0x170ec9===_0x4288f3[_0x5754d9(0x113)][_0x5754d9(0x171)])return;if(_0x170ec9===_0x4288f3[_0x5754d9(0x113)][_0x5754d9(0x102)]){_0x3a10e1=_0x4a5c66;break;}}if(_0x3a10e1<0x0)return;let _0x240077=_0x1561d2[_0x5754d9(0x178)](_0x4288f3[_0x5754d9(0x113)][_0x5754d9(0x171)],_0x3a10e1+0x1);if(!(_0x240077<0x0||_0x383cb6<_0x3a10e1+0x1||_0x383cb6>_0x240077-0x1))return{'startOffset':_0x3a10e1+0x1,'endOffset':Math[_0x5754d9(0x18d)](_0x3a10e1+0x1,_0x240077-0x1),'startTokenOffset':_0x3a10e1,'endTokenOffset':_0x240077};}function _0x17865c(_0x4f3c47){const _0x50df16=_0x409a81;return(0x0,_0x4288f3[_0x50df16(0x170)])(_0x4f3c47)['endOffset']-0x1;}function _0x26168d(_0x5dd56c,_0x24ef53,_0xfa4126,_0x6234bc){const _0x4dc929=_0x409a81;let _0x5c272c=_0x17865c(_0x24ef53),_0x3546a4=(_0x5dd56c[_0x4dc929(0x1af)]??[])[_0x4dc929(0x1bc)](_0x2b87bd=>_0x2b87bd[_0x4dc929(0x15a)]===_0x5c272c+0x1);if(!_0x3546a4||_0x6234bc!=null&&_0x3546a4[_0x4dc929(0x15a)]!==_0x6234bc||_0xfa4126!=null&&(_0xfa4126<_0x5c272c||_0xfa4126>_0x3546a4['startIndex']+0x1)||_0x5dd56c['dataStream'][_0x3546a4[_0x4dc929(0x15a)]]!==_0x4288f3[_0x4dc929(0x113)][_0x4dc929(0x103)])return null;let _0x2ba6c6=(0x0,_0x4288f3[_0x4dc929(0x18c)])(_0x5dd56c,_0x3546a4),_0x311529=_0x5dd56c['dataStream'][_0x4dc929(0x127)](_0x2ba6c6,_0x3546a4[_0x4dc929(0x15a)]);return Array[_0x4dc929(0x172)](_0x311529)[_0x4dc929(0x14d)](_0x1385d0=>_0x1385d0===_0x4288f3['DataStreamTreeTokenType'][_0x4dc929(0x194)])?{'paragraph':_0x3546a4,'endTokenOffset':_0x5c272c}:null;}function _0x35110f(_0x41bbdb,_0x1d76c6){const _0x350884=_0x409a81;var _0x579116;let _0x4c7196=_0x17865c(_0x1d76c6),_0x1cd9cd=_0x41bbdb[_0x350884(0xff)][_0x4c7196+0x1];(_0x1cd9cd===_0x4288f3['DataStreamTreeTokenType'][_0x350884(0x19b)]||_0x1cd9cd===void 0x0)&&_0x3d78ef(_0x41bbdb,_0x4c7196+0x1,_0x4288f3[_0x350884(0x113)][_0x350884(0x103)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x4288f3['createParagraphId'])(new Set((_0x579116=_0x41bbdb['paragraphs'])==null?void 0x0:_0x579116[_0x350884(0x10e)](_0x1b857c=>_0x1b857c['paragraphId'])))}]});}function _0x3d78ef(_0x58c853,_0x5a2d17,_0xb0167c,_0x22eeef={}){const _0x3e3676=_0x409a81;var _0x43304d,_0x63b260;_0xb0167c&&(_0x58c853[_0x3e3676(0xff)]=''+_0x58c853[_0x3e3676(0xff)][_0x3e3676(0x127)](0x0,_0x5a2d17)+_0xb0167c+_0x58c853[_0x3e3676(0xff)][_0x3e3676(0x127)](_0x5a2d17),_0x1ab94c(_0x58c853,_0x5a2d17,_0xb0167c['length']),(_0x43304d=_0x22eeef['paragraphs'])!=null&&_0x43304d['length']&&(_0x58c853[_0x3e3676(0x1af)]=[..._0x58c853[_0x3e3676(0x1af)]??[],..._0x22eeef[_0x3e3676(0x1af)][_0x3e3676(0x10e)](_0x261b62=>({..._0x261b62,'startIndex':_0x261b62[_0x3e3676(0x15a)]+_0x5a2d17}))][_0x3e3676(0x16c)]((_0x5cf0af,_0x4cce7d)=>_0x5cf0af[_0x3e3676(0x15a)]-_0x4cce7d[_0x3e3676(0x15a)])),(_0x63b260=_0x22eeef['blockRanges'])!=null&&_0x63b260[_0x3e3676(0x135)]&&(_0x58c853[_0x3e3676(0x1c5)]=[..._0x58c853[_0x3e3676(0x1c5)]??[],..._0x22eeef[_0x3e3676(0x1c5)]['map'](_0x2b6995=>({..._0x2b6995,'startIndex':_0x2b6995[_0x3e3676(0x15a)]+_0x5a2d17,'endIndex':_0x2b6995['endIndex']+_0x5a2d17}))][_0x3e3676(0x16c)]((_0x56a411,_0xf8f24b)=>_0x56a411[_0x3e3676(0x15a)]-_0xf8f24b[_0x3e3676(0x15a)])));}function _0x5cddd9(_0x5b6c7c,_0x5a8a1e,_0x4348a6){const _0x337312=_0x409a81;let _0xe57570=_0x4348a6-_0x5a8a1e;_0x5b6c7c['dataStream']=''+_0x5b6c7c['dataStream'][_0x337312(0x127)](0x0,_0x5a8a1e)+_0x5b6c7c[_0x337312(0xff)][_0x337312(0x127)](_0x4348a6),_0x4d60d7(_0x5b6c7c,_0x5a8a1e,_0xe57570);}function _0x1ab94c(_0x1286fc,_0xb41d96,_0x28e031){const _0x59ad9d=_0x409a81;_0x1286fc[_0x59ad9d(0x1af)]=_0x1e8d62(_0x1286fc[_0x59ad9d(0x1af)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x198)]=_0x1e8d62(_0x1286fc[_0x59ad9d(0x198)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x133)]=_0x1e8d62(_0x1286fc[_0x59ad9d(0x133)],_0xb41d96,_0x28e031),_0x1286fc['textRuns']=_0x469a37(_0x1286fc[_0x59ad9d(0x130)],_0xb41d96,_0x28e031),_0x1286fc['tables']=_0x15a7cf(_0x1286fc[_0x59ad9d(0x1d3)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x125)]=_0x5ac8c0(_0x1286fc[_0x59ad9d(0x125)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x1c4)]=_0x5ac8c0(_0x1286fc[_0x59ad9d(0x1c4)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x159)]=_0x5ac8c0(_0x1286fc[_0x59ad9d(0x159)],_0xb41d96,_0x28e031),_0x1286fc[_0x59ad9d(0x1c5)]=_0x5ac8c0(_0x1286fc[_0x59ad9d(0x1c5)],_0xb41d96,_0x28e031);}function _0x4d60d7(_0xd220eb,_0x431684,_0x57fe25){const _0x2c7489=_0x409a81;var _0xa471bd,_0x450155;_0xd220eb[_0x2c7489(0x1af)]=_0x2e6688(_0xd220eb[_0x2c7489(0x1af)],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x198)]=_0x2e6688(_0xd220eb[_0x2c7489(0x198)],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x133)]=_0x2e6688(_0xd220eb[_0x2c7489(0x133)],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x130)]=(_0xa471bd=_0x10ff50((_0x450155=_0xd220eb[_0x2c7489(0x130)])==null?void 0x0:_0x450155[_0x2c7489(0x10e)](_0x1516da=>({..._0x1516da,'startIndex':_0x1516da['st'],'endIndex':_0x1516da['ed']})),_0x431684,_0x57fe25))==null?void 0x0:_0xa471bd['map'](_0x5501d5=>{let {startIndex:_0xefd229,endIndex:_0x348558,..._0x2c5d09}=_0x5501d5;return{..._0x2c5d09,'st':_0xefd229,'ed':_0x348558};}),_0xd220eb['tables']=_0x10ff50(_0xd220eb['tables'],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x125)]=_0x4d00cd(_0xd220eb[_0x2c7489(0x125)],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x1c4)]=_0x4d00cd(_0xd220eb['customRanges'],_0x431684,_0x57fe25),_0xd220eb[_0x2c7489(0x159)]=_0x4d00cd(_0xd220eb['customDecorations'],_0x431684,_0x57fe25),_0xd220eb['blockRanges']=_0x4d00cd(_0xd220eb[_0x2c7489(0x1c5)],_0x431684,_0x57fe25);}function _0x1e8d62(_0x3d7051,_0x4cf469,_0xaaaa0f){const _0xd4fac0=_0x409a81;return _0x3d7051==null?void 0x0:_0x3d7051[_0xd4fac0(0x10e)](_0x25c10f=>_0x25c10f[_0xd4fac0(0x15a)]>=_0x4cf469?{..._0x25c10f,'startIndex':_0x25c10f[_0xd4fac0(0x15a)]+_0xaaaa0f}:_0x25c10f);}function _0x2e6688(_0x471415,_0x52241b,_0xe7a0ca){const _0x4e31f8=_0x409a81;let _0x25655e=_0x52241b+_0xe7a0ca;return _0x471415==null?void 0x0:_0x471415[_0x4e31f8(0x10e)](_0x55c4ed=>_0x55c4ed[_0x4e31f8(0x15a)]>=_0x52241b&&_0x55c4ed['startIndex']<_0x25655e?null:_0x55c4ed[_0x4e31f8(0x15a)]>=_0x25655e?{..._0x55c4ed,'startIndex':_0x55c4ed[_0x4e31f8(0x15a)]-_0xe7a0ca}:_0x55c4ed)[_0x4e31f8(0x10b)](_0x477a59=>_0x477a59!=null);}function _0x469a37(_0x530679,_0x231adc,_0x352519){const _0x473c32=_0x409a81;return _0x530679==null?void 0x0:_0x530679[_0x473c32(0x10e)](_0x43caa4=>_0x43caa4['st']>=_0x231adc?{..._0x43caa4,'st':_0x43caa4['st']+_0x352519,'ed':_0x43caa4['ed']+_0x352519}:_0x43caa4['ed']>_0x231adc?{..._0x43caa4,'ed':_0x43caa4['ed']+_0x352519}:_0x43caa4);}function _0x5ac8c0(_0x43b954,_0x34822b,_0xd097ff){const _0x4c8096=_0x409a81;return _0x43b954==null?void 0x0:_0x43b954[_0x4c8096(0x10e)](_0x4ff890=>(0x0,_0x4288f3[_0x4c8096(0x11f)])(_0x4ff890,_0x34822b,_0xd097ff));}function _0x15a7cf(_0x498b9b,_0x367df9,_0x5a161b){const _0x3e2893=_0x409a81;return _0x498b9b==null?void 0x0:_0x498b9b[_0x3e2893(0x10e)](_0x5a9b8d=>(0x0,_0x4288f3[_0x3e2893(0x14f)])(_0x5a9b8d,_0x367df9,_0x5a161b));}function _0x4d00cd(_0x26d192,_0x5c53c9,_0x492249){const _0x216a96=_0x409a81;return _0x26d192==null?void 0x0:_0x26d192['map'](_0x35ba4c=>(0x0,_0x4288f3[_0x216a96(0x105)])(_0x35ba4c,_0x5c53c9,_0x492249))[_0x216a96(0x10b)](_0x12827c=>_0x12827c!=null);}function _0x10ff50(_0x54c172,_0x3758f4,_0x13a616){const _0x57325f=_0x409a81;return _0x54c172==null?void 0x0:_0x54c172[_0x57325f(0x10e)](_0x4b5f91=>(0x0,_0x4288f3[_0x57325f(0x18a)])(_0x4b5f91,_0x3758f4,_0x13a616))[_0x57325f(0x10b)](_0x4766e5=>_0x4766e5!=null);}let _0x1f8771={'id':_0x409a81(0x147),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':_0x3d7afe=>{const _0x5bad82=_0x409a81;var _0x4fecac;if((0x0,_0x7ce81c[_0x5bad82(0x162)])(_0x50d7bc(_0x3d7afe)))return!0x1;let _0x4df597=(0x0,_0x7ce81c['getContentInsertRange'])(_0x3d7afe);if(_0x4df597)return _0x3d7afe[_0x5bad82(0x19e)](_0x4288f3[_0x5bad82(0x11a)])[_0x5bad82(0x156)](_0x96ad7d['id'],{'startOffset':_0x4df597[_0x5bad82(0x175)],'endOffset':_0x4df597[_0x5bad82(0x19f)],'insertionMode':_0x5bad82(0x11b),'unitId':_0x4df597[_0x5bad82(0x153)]});let _0x55def4=_0x17ef1f(_0x3d7afe);if(!_0x55def4)return!0x1;let _0x475870=(_0x4fecac=_0x3d7afe[_0x5bad82(0x19e)](_0x4288f3[_0x5bad82(0x129)])[_0x5bad82(0x188)](_0x4288f3[_0x5bad82(0x1cc)][_0x5bad82(0x1b3)]))==null?void 0x0:_0x4fecac['getBody'](),_0x56069d=_0x475870?(0x0,_0x4288f3[_0x5bad82(0x15f)])(_0x475870,_0x55def4):_0x55def4[_0x5bad82(0x15a)]+0x1;return _0x3d7afe[_0x5bad82(0x19e)](_0x4288f3['ICommandService'])[_0x5bad82(0x156)](_0x96ad7d['id'],{'startOffset':_0x56069d,'endOffset':_0x56069d});}},_0x2c1ee1={'id':_0x409a81(0x180),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':()=>!0x0},_0x96ad7d={'id':_0x409a81(0x18f),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':(_0x5dfce7,_0x3ee7c3)=>{const _0x30c305=_0x409a81;let _0x4a5a8b=_0x4cc5f6(_0x5dfce7,_0x3ee7c3==null?void 0x0:_0x3ee7c3[_0x30c305(0x153)]);if(!_0x4a5a8b)return!0x1;let _0x410ae7=_0x50d7bc(_0x5dfce7);if((0x0,_0x7ce81c['isHeaderFooterSelection'])(_0x410ae7))return!0x1;let _0x2fd351=_0x4a5a8b[_0x30c305(0x13f)]['serialize'](_0x4a5a8b[_0x30c305(0x153)]),_0x449e1a=_0x11c9a4(_0x3ee7c3,_0x410ae7),_0x2eb7fc=_0x34e557(_0x4a5a8b[_0x30c305(0x1c9)],_0x449e1a);if(_0x2eb7fc){if(_0x2eb7fc[_0x30c305(0x142)]!==_0x4288f3['DocumentBlockRangeType'][_0x30c305(0x110)])return!0x1;let _0x57e55a=_0x4936ec({'blockId':_0x2eb7fc[_0x30c305(0x14c)],'documentData':_0x4a5a8b[_0x30c305(0x1c9)],'metadata':_0x2fd351});if(!_0x57e55a)return!0x1;let _0x35ad2d=_0x11fe59(_0x4a5a8b[_0x30c305(0x1d0)],_0x4a5a8b['selectionManager'],_0x4a5a8b[_0x30c305(0x153)],_0x4a5a8b['previousDocumentData'],_0x57e55a['nextDocumentData'],_0x96ad7d['id'],_0x57e55a[_0x30c305(0x119)]);return _0x35ad2d&&_0x57e55a['nextMetadata']&&_0x4a5a8b['model']['deserialize'](_0x4a5a8b[_0x30c305(0x153)],_0x57e55a['nextMetadata']),_0x35ad2d;}let _0x3f768b=(_0x3ee7c3==null?void 0x0:_0x3ee7c3[_0x30c305(0x14c)])??(0x0,_0x4288f3[_0x30c305(0x1a0)])(0x6),_0x66f056;try{_0x66f056=_0x3d2bf3({'blockId':_0x3f768b,'config':_0x3ee7c3==null?void 0x0:_0x3ee7c3['config'],'documentData':_0x4a5a8b[_0x30c305(0x1c9)],'endOffset':_0x449e1a==null?void 0x0:_0x449e1a[_0x30c305(0x19f)],'insertionMode':_0x3ee7c3==null?void 0x0:_0x3ee7c3[_0x30c305(0x17b)],'metadata':_0x2fd351,'startOffset':_0x449e1a==null?void 0x0:_0x449e1a['startOffset']});}catch(_0x398406){if(_0x398406 instanceof _0x880fd9)return!0x1;throw _0x398406;}let _0x7f9850=_0x11fe59(_0x4a5a8b[_0x30c305(0x1d0)],_0x4a5a8b[_0x30c305(0x148)],_0x4a5a8b[_0x30c305(0x153)],_0x4a5a8b[_0x30c305(0x1c9)],_0x66f056[_0x30c305(0x1ac)],_0x96ad7d['id'],_0x66f056[_0x30c305(0x119)]);return _0x7f9850&&_0x66f056[_0x30c305(0x11c)]&&_0x4a5a8b[_0x30c305(0x13f)][_0x30c305(0x13a)](_0x4a5a8b['unitId'],_0x66f056[_0x30c305(0x11c)]),_0x7f9850;}},_0x5c4260={'id':_0x409a81(0x111),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':(_0x21ec3a,_0x357f94)=>{const _0x34f791=_0x409a81;if(!_0x357f94)return!0x1;let _0x6a5554=_0x4cc5f6(_0x21ec3a,_0x357f94[_0x34f791(0x153)]);if(!_0x6a5554)return!0x1;let _0x3cc891=_0x3810b0({'blockId':_0x357f94[_0x34f791(0x14c)],'config':_0x357f94[_0x34f791(0x1d1)],'documentData':_0x6a5554['previousDocumentData'],'metadata':_0x6a5554[_0x34f791(0x13f)][_0x34f791(0x1b8)](_0x6a5554[_0x34f791(0x153)])});return _0x3cc891[_0x34f791(0x11c)]&&_0x6a5554['model'][_0x34f791(0x13a)](_0x6a5554[_0x34f791(0x153)],_0x3cc891['nextMetadata']),!0x0;}},_0xc4d418={'id':_0x409a81(0x19c),'type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':(_0x3d3514,_0x595151)=>_0x2d0841[_0x409a81(0x128)](_0x3d3514,_0x595151)},_0x2d0841={'id':'docs-code.command.unwrap','type':_0x4288f3[_0x409a81(0x167)][_0x409a81(0x1c3)],'handler':(_0x1fc5f3,_0x2559d7)=>{const _0x328bd6=_0x409a81;if(!_0x2559d7)return!0x1;let _0x1003af=_0x4cc5f6(_0x1fc5f3,_0x2559d7==null?void 0x0:_0x2559d7['unitId']);if(!_0x1003af)return!0x1;let _0x1d3848=_0x4936ec({'blockId':_0x2559d7[_0x328bd6(0x14c)],'documentData':_0x1003af[_0x328bd6(0x1c9)],'metadata':_0x1003af[_0x328bd6(0x13f)][_0x328bd6(0x1b8)](_0x1003af[_0x328bd6(0x153)])});if(!_0x1d3848)return!0x1;let _0x33ac55=_0x11fe59(_0x1003af[_0x328bd6(0x1d0)],_0x1003af['selectionManager'],_0x1003af[_0x328bd6(0x153)],_0x1003af['previousDocumentData'],_0x1d3848[_0x328bd6(0x1ac)],_0x2d0841['id'],_0x1d3848[_0x328bd6(0x119)]);return _0x33ac55&&_0x1d3848[_0x328bd6(0x11c)]&&_0x1003af[_0x328bd6(0x13f)]['deserialize'](_0x1003af['unitId'],_0x1d3848[_0x328bd6(0x11c)]),_0x33ac55;}},_0x4119eb={'id':_0x409a81(0x117),'type':_0x4288f3['CommandType'][_0x409a81(0x1c3)],'handler':(_0xb94093,_0x260a99)=>{const _0x323b66=_0x409a81;if(!_0x260a99)return!0x1;let _0x364625=_0x4cc5f6(_0xb94093,_0x260a99==null?void 0x0:_0x260a99[_0x323b66(0x153)]);if(!_0x364625)return!0x1;let _0x2cb9aa=_0x16d6f8({'blockId':_0x260a99[_0x323b66(0x14c)],'documentData':_0x364625[_0x323b66(0x1c9)],'metadata':_0x364625[_0x323b66(0x13f)][_0x323b66(0x1b8)](_0x364625[_0x323b66(0x153)])});if(!_0x2cb9aa)return!0x1;let _0x513669=_0x11fe59(_0x364625[_0x323b66(0x1d0)],_0x364625[_0x323b66(0x148)],_0x364625[_0x323b66(0x153)],_0x364625[_0x323b66(0x1c9)],_0x2cb9aa[_0x323b66(0x1ac)],_0x4119eb['id'],_0x2cb9aa[_0x323b66(0x119)]);return _0x513669&&_0x2cb9aa[_0x323b66(0x11c)]&&_0x364625[_0x323b66(0x13f)][_0x323b66(0x13a)](_0x364625['unitId'],_0x2cb9aa[_0x323b66(0x11c)]),_0x513669;}},_0xbd0a6d={'id':_0x409a81(0x1c7),'type':_0x4288f3[_0x409a81(0x167)]['COMMAND'],'handler':(_0x5f096c,_0x516c63)=>{const _0x1af0d0=_0x409a81;var _0x3fbdfc;let _0x5b95af=_0x4cc5f6(_0x5f096c,_0x516c63==null?void 0x0:_0x516c63['unitId']);if(!_0x5b95af)return!0x1;let _0x2ff0c9=(_0x516c63==null?void 0x0:_0x516c63[_0x1af0d0(0x119)])??((_0x3fbdfc=_0x50d7bc(_0x5f096c))==null?void 0x0:_0x3fbdfc[_0x1af0d0(0x175)]);if(_0x2ff0c9==null)return!0x1;let _0x48a5f5=_0x476eb5({'cursorOffset':_0x2ff0c9,'documentData':_0x5b95af['previousDocumentData'],'paragraphStartIndex':_0x516c63==null?void 0x0:_0x516c63[_0x1af0d0(0x190)]});return _0x48a5f5?_0x11fe59(_0x5b95af['commandService'],_0x5b95af['selectionManager'],_0x5b95af[_0x1af0d0(0x153)],_0x5b95af[_0x1af0d0(0x1c9)],_0x48a5f5['nextDocumentData'],_0xbd0a6d['id'],_0x48a5f5[_0x1af0d0(0x119)]):!0x1;}};function _0x4cc5f6(_0x430328,_0x54ff31){const _0x5d5e4b=_0x409a81;let _0x43179a=_0x430328[_0x5d5e4b(0x19e)](_0x4288f3[_0x5d5e4b(0x129)]),_0x787144=_0x54ff31?_0x43179a[_0x5d5e4b(0x176)](_0x54ff31,_0x4288f3[_0x5d5e4b(0x1cc)]['UNIVER_DOC']):_0x43179a[_0x5d5e4b(0x188)](_0x4288f3[_0x5d5e4b(0x1cc)][_0x5d5e4b(0x1b3)]);return _0x787144?{'commandService':_0x430328['get'](_0x4288f3[_0x5d5e4b(0x11a)]),'model':_0x430328['get'](_0x300b0f),'previousDocumentData':_0x787144['getSnapshot'](),'selectionManager':_0x430328['get'](_0x7ce81c['DocSelectionManagerService']),'unitId':_0x787144[_0x5d5e4b(0x126)]()}:null;}function _0x50d7bc(_0x1ac57f){const _0x53104d=_0x409a81;var _0x297b68;return(_0x297b68=_0x1ac57f[_0x53104d(0x19e)](_0x7ce81c['DocSelectionManagerService'])[_0x53104d(0x1c0)]())==null?void 0x0:_0x297b68[0x0];}function _0x11c9a4(_0x39ca14,_0x56735a){const _0x3599d4=_0x409a81;let _0x389593=(_0x39ca14==null?void 0x0:_0x39ca14[_0x3599d4(0x175)])??(_0x56735a==null?void 0x0:_0x56735a[_0x3599d4(0x175)]),_0x4639e4=(_0x39ca14==null?void 0x0:_0x39ca14[_0x3599d4(0x19f)])??(_0x56735a==null?void 0x0:_0x56735a[_0x3599d4(0x19f)]);if(_0x389593!=null&&_0x4639e4!=null)return{'endOffset':Math['max'](_0x389593,_0x4639e4),'startOffset':Math[_0x3599d4(0x16b)](_0x389593,_0x4639e4)};}function _0x34e557(_0x43f7fc,_0x223367){const _0x5847aa=_0x409a81;var _0x265a9c;if(!_0x223367)return;let _0x3beedf=_0x41c9c9(_0x223367);return(_0x265a9c=_0x43f7fc[_0x5847aa(0x1a8)])==null||(_0x265a9c=_0x265a9c['blockRanges'])==null?void 0x0:_0x265a9c[_0x5847aa(0x1bc)](_0x316e6f=>{const _0x54c582=_0x5847aa;let _0x148bba=(0x0,_0x4288f3[_0x54c582(0x170)])(_0x316e6f);return _0x223367[_0x54c582(0x175)]===_0x223367['endOffset']?(0x0,_0x4288f3[_0x54c582(0x1ae)])(_0x148bba,_0x3beedf):(0x0,_0x4288f3[_0x54c582(0x160)])(_0x148bba,_0x3beedf);});}function _0x41c9c9(_0x27d809){const _0x4b5aea=_0x409a81;return _0x27d809[_0x4b5aea(0x175)]===_0x27d809[_0x4b5aea(0x19f)]?_0x27d809['startOffset']:_0x27d809[_0x4b5aea(0x175)]+0x1;}function _0x17ef1f(_0x2d31f3){const _0xdeef9f=_0x409a81;let _0x3a4509=_0x50d7bc(_0x2d31f3);if(!_0x3a4509)return null;let _0x1f7978=_0x2d31f3['get'](_0x4288f3[_0xdeef9f(0x129)])[_0xdeef9f(0x188)](_0x4288f3[_0xdeef9f(0x1cc)][_0xdeef9f(0x1b3)]),_0x989e7a=_0x1f7978==null?void 0x0:_0x1f7978['getBody']();return _0x989e7a?_0x4288f3[_0xdeef9f(0x195)][_0xdeef9f(0x132)][_0xdeef9f(0x10c)](_0x3a4509,_0x989e7a[_0xdeef9f(0x1af)]??[],_0x989e7a['dataStream']??'')[0x0]??null:null;}function _0x122b75(_0x19852f,_0x7172c1){const _0x112dea=_0x409a81;let _0x1b8305=_0x19852f[_0x112dea(0x1a8)],_0x4e1c70=_0x7172c1[_0x112dea(0x1a8)],_0x3a7673=(0x0,_0x4288f3['getSingleDataStreamChange'])(_0x1b8305,_0x4e1c70);return[_0x3a7673&&_0x4e1c70?_0x2c42be(_0x4e1c70,_0x3a7673):null,_0x3a7673?null:_0x2b757d(_0x1b8305,_0x4e1c70)][_0x112dea(0x10b)](Boolean)[_0x112dea(0x120)]((_0xbc1a8b,_0x255d1d)=>_0x4288f3[_0x112dea(0x136)][_0x112dea(0x1bb)](_0xbc1a8b,_0x255d1d),null);}function _0x2c42be(_0x44e547,_0x5a7005){const _0x1600a6=_0x409a81;let _0x1e2a13=new _0x4288f3['TextX']();return _0x1e2a13['retain'](_0x5a7005['start']),_0x5a7005[_0x1600a6(0x12d)]>0x0&&_0x1e2a13[_0x1600a6(0x109)](_0x5a7005['insertLength'],(0x0,_0x4288f3[_0x1600a6(0x18e)])(_0x44e547,_0x5a7005[_0x1600a6(0x1a6)],_0x5a7005[_0x1600a6(0x1a6)]+_0x5a7005[_0x1600a6(0x12d)],!0x1)),_0x5a7005[_0x1600a6(0x16f)]>0x0&&_0x1e2a13[_0x1600a6(0x143)](_0x5a7005[_0x1600a6(0x16f)]),_0x4288f3[_0x1600a6(0x136)]['getInstance']()['editOp'](_0x1e2a13[_0x1600a6(0x1b8)](),[_0x1600a6(0x1a8)]);}function _0x2b757d(_0x10428a,_0x1e9153){const _0x419442=_0x409a81;let _0x3f0b69=[],_0x3f85c5=_0x10428a?_0x3ecb9d(_0x10428a):void 0x0,_0x1be7f4=_0x1e9153?_0x3ecb9d(_0x1e9153):void 0x0;for(let _0xc568e3 of _0x1ac950)_0x55f92e(_0x4288f3[_0x419442(0x136)]['getInstance'](),[_0x419442(0x1a8),_0xc568e3],_0x3f85c5==null?void 0x0:_0x3f85c5[_0xc568e3],_0x1be7f4==null?void 0x0:_0x1be7f4[_0xc568e3],_0x3f0b69);return _0x3f0b69['reduce']((_0x9c5223,_0x5eab04)=>_0x4288f3['JSONX'][_0x419442(0x1bb)](_0x9c5223,_0x5eab04),null);}let _0x1ac950=['paragraphs',_0x409a81(0x198),'tables',_0x409a81(0x125),_0x409a81(0x1c5),_0x409a81(0x133),_0x409a81(0x1c4),_0x409a81(0x159),_0x409a81(0x130)];function _0x3ecb9d(_0x1e206d){return _0x1e206d;}function _0x55f92e(_0x17f16b,_0x576437,_0x44ee0e,_0x4b409b,_0xa68673){const _0x11aee9=_0x409a81;if(!_0x4535fd(_0x44ee0e,_0x4b409b)){if(_0x44ee0e==null){_0xa68673[_0x11aee9(0x1a1)](_0x17f16b[_0x11aee9(0x155)](_0x576437,_0x4b409b));return;}if(_0x4b409b==null){_0xa68673['push'](_0x17f16b[_0x11aee9(0x13c)](_0x576437,_0x44ee0e));return;}if(Array['isArray'](_0x44ee0e)&&Array[_0x11aee9(0x14e)](_0x4b409b)){_0x4f584a(_0x17f16b,_0x576437,_0x44ee0e,_0x4b409b,_0xa68673);return;}if(_0x416942(_0x44ee0e)&&_0x416942(_0x4b409b)){new Set([...Object['keys'](_0x44ee0e),...Object['keys'](_0x4b409b)])[_0x11aee9(0x124)](_0x36a794=>{_0x55f92e(_0x17f16b,[..._0x576437,_0x36a794],_0x44ee0e[_0x36a794],_0x4b409b[_0x36a794],_0xa68673);});return;}_0xa68673[_0x11aee9(0x1a1)](_0x17f16b[_0x11aee9(0x161)](_0x576437,_0x44ee0e,_0x4b409b));}}function _0x4f584a(_0x4d2f53,_0xcf6229,_0x5e23e8,_0x167177,_0x329520){const _0x4193e6=_0x409a81;if(_0x5e23e8[_0x4193e6(0x135)]===_0x167177['length']){_0x5e23e8['forEach']((_0x807694,_0x3944d0)=>_0x55f92e(_0x4d2f53,[..._0xcf6229,_0x3944d0],_0x807694,_0x167177[_0x3944d0],_0x329520));return;}let _0x5c2fdb=0x0;for(;_0x5c2fdb<_0x5e23e8['length']&&_0x5c2fdb<_0x167177[_0x4193e6(0x135)]&&_0x4535fd(_0x5e23e8[_0x5c2fdb],_0x167177[_0x5c2fdb]);)_0x5c2fdb++;let _0x214b14=_0x5e23e8[_0x4193e6(0x135)]-0x1,_0x3a61eb=_0x167177[_0x4193e6(0x135)]-0x1;for(;_0x214b14>=_0x5c2fdb&&_0x3a61eb>=_0x5c2fdb&&_0x4535fd(_0x5e23e8[_0x214b14],_0x167177[_0x3a61eb]);)_0x214b14--,_0x3a61eb--;for(let _0x495329=_0x214b14;_0x495329>=_0x5c2fdb;_0x495329--)_0x329520['push'](_0x4d2f53[_0x4193e6(0x13c)]([..._0xcf6229,_0x495329],_0x5e23e8[_0x495329]));for(let _0x10dbb6=_0x5c2fdb;_0x10dbb6<=_0x3a61eb;_0x10dbb6++)_0x329520[_0x4193e6(0x1a1)](_0x4d2f53[_0x4193e6(0x155)]([..._0xcf6229,_0x10dbb6],_0x167177[_0x10dbb6]));}function _0x416942(_0xc5f58e){const _0xfa7f8=_0x409a81;return typeof _0xc5f58e==_0xfa7f8(0x165)&&!!_0xc5f58e&&!Array[_0xfa7f8(0x14e)](_0xc5f58e);}function _0x4535fd(_0x2a5f8d,_0x4bd3de){const _0xc4f97f=_0x409a81;return JSON[_0xc4f97f(0x17f)](_0x2a5f8d)===JSON[_0xc4f97f(0x17f)](_0x4bd3de);}function _0x11fe59(_0x2bd0a7,_0x4a35ab,_0x189dae,_0xbd9ce4,_0x447217,_0xa9f30,_0x130c50){const _0x5d5ed6=_0x409a81;let _0x53a432=_0x122b75(_0xbd9ce4,_0x447217);return _0x53a432?!!_0x2bd0a7[_0x5d5ed6(0x156)](_0x7ce81c[_0x5d5ed6(0x131)]['id'],{'unitId':_0x189dae,'actions':_0x53a432,'textRanges':[{'startOffset':_0x130c50,'endOffset':_0x130c50,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0xa9f30}):(_0x4a35ab['replaceDocRanges']([{'startOffset':_0x130c50,'endOffset':_0x130c50}],{'unitId':_0x189dae,'subUnitId':_0x189dae},!0x1),!0x0);}let _0x674a1b='DOC_CODE_PLUGIN';var _0x4e4481=_0x409a81(0x116),_0x267401=_0x409a81(0x179);let _0x275943={};function _0x4ebccd(_0x3d76f8,_0x30beb2){return function(_0x455cf9,_0x40b4d0){_0x30beb2(_0x455cf9,_0x40b4d0,_0x3d76f8);};}function _0xaee42(_0x510a48,_0x322f40,_0x3d2f24,_0xbbc6b9){const _0x5f4687=_0x409a81;var _0x27d88f=arguments['length'],_0x3a2d02=_0x27d88f<0x3?_0x322f40:_0xbbc6b9===null?_0xbbc6b9=Object[_0x5f4687(0x181)](_0x322f40,_0x3d2f24):_0xbbc6b9,_0x166e4e;if(typeof Reflect=='object'&&typeof Reflect[_0x5f4687(0x1b2)]=='function')_0x3a2d02=Reflect[_0x5f4687(0x1b2)](_0x510a48,_0x322f40,_0x3d2f24,_0xbbc6b9);else{for(var _0x3ebab6=_0x510a48['length']-0x1;_0x3ebab6>=0x0;_0x3ebab6--)(_0x166e4e=_0x510a48[_0x3ebab6])&&(_0x3a2d02=(_0x27d88f<0x3?_0x166e4e(_0x3a2d02):_0x27d88f>0x3?_0x166e4e(_0x322f40,_0x3d2f24,_0x3a2d02):_0x166e4e(_0x322f40,_0x3d2f24))||_0x3a2d02);}return _0x27d88f>0x3&&_0x3a2d02&&Object['defineProperty'](_0x322f40,_0x3d2f24,_0x3a2d02),_0x3a2d02;}let _0xabfae=class extends _0x4288f3[_0x409a81(0x1bd)]{constructor(_0x5a0c1e,_0x3fdef1){const _0x56f1ad=_0x409a81;super(),this[_0x56f1ad(0x158)]=_0x5a0c1e,this['_docsCodeModel']=_0x3fdef1,this[_0x56f1ad(0x122)]();}[_0x409a81(0x122)](){const _0x1adcf5=_0x409a81;this[_0x1adcf5(0x118)](this[_0x1adcf5(0x158)]['registerPluginResource']({'pluginName':_0x674a1b,'businesses':[_0x4288f3['UniverInstanceType'][_0x1adcf5(0x1b3)]],'toJson':_0x203a5d=>JSON[_0x1adcf5(0x17f)](this[_0x1adcf5(0x1a2)]['serialize'](_0x203a5d)),'parseJson':_0x3fe8b3=>_0x529a31(JSON[_0x1adcf5(0x1cf)](_0x3fe8b3)),'onLoad':(_0x46802d,_0x221454)=>this[_0x1adcf5(0x1a2)]['deserialize'](_0x46802d,_0x221454),'onUnLoad':_0x10dfd9=>this[_0x1adcf5(0x1a2)][_0x1adcf5(0x152)](_0x10dfd9)}));}};_0xabfae=_0xaee42([_0x4ebccd(0x0,_0x4288f3[_0x409a81(0x140)]),_0x4ebccd(0x1,(0x0,_0x4288f3[_0x409a81(0x1c1)])(_0x300b0f))],_0xabfae);let _0x505de3=class extends _0x4288f3[_0x409a81(0x121)]{constructor(_0x1852c0=_0x275943,_0x56f9d6,_0xb57a12,_0x3fc9c4){const _0x99b58f=_0x409a81;super(),this[_0x99b58f(0x199)]=_0x1852c0,this[_0x99b58f(0x123)]=_0x56f9d6,this['_commandService']=_0xb57a12,this[_0x99b58f(0x138)]=_0x3fc9c4;let {..._0x120b26}=(0x0,_0x4288f3[_0x99b58f(0x146)])({},_0x275943,this[_0x99b58f(0x199)]);this[_0x99b58f(0x138)][_0x99b58f(0x1ba)](_0x99b58f(0x173),_0x120b26);}[_0x409a81(0x10a)](){const _0x2c5d1f=_0x409a81;this[_0x2c5d1f(0x123)][_0x2c5d1f(0x1be)]([_0x300b0f]),this[_0x2c5d1f(0x123)][_0x2c5d1f(0x1be)]([_0xabfae]),this[_0x2c5d1f(0x123)]['get'](_0x300b0f),this[_0x2c5d1f(0x123)][_0x2c5d1f(0x19e)](_0xabfae),[_0x96ad7d,_0x1f8771,_0x5c4260,_0x2d0841,_0x4119eb,_0xc4d418,_0xbd0a6d,_0x2c1ee1,_0x3572d9,_0x1da3d9][_0x2c5d1f(0x124)](_0x4eae5d=>this[_0x2c5d1f(0x118)](this['_commandService'][_0x2c5d1f(0x1cb)](_0x4eae5d)));}};_0x1f2196(_0x505de3,_0x409a81(0x144),_0x674a1b),_0x1f2196(_0x505de3,_0x409a81(0x1b1),_0x4e4481),_0x1f2196(_0x505de3,'version',_0x267401),_0x1f2196(_0x505de3,_0x409a81(0x182),_0x4288f3[_0x409a81(0x1cc)][_0x409a81(0x1b3)]),_0x505de3=_0xaee42([(0x0,_0x4288f3['DependentOn'])(_0x387a4b['UniverLicensePlugin'],_0x7ce81c[_0x409a81(0x10f)]),_0x4ebccd(0x1,(0x0,_0x4288f3['Inject'])(_0x4288f3[_0x409a81(0x1b7)])),_0x4ebccd(0x2,_0x4288f3['ICommandService']),_0x4ebccd(0x3,_0x4288f3['IConfigService'])],_0x505de3),_0x35ee6a['DOCS_CODE_PLUGIN']=_0x674a1b,_0x35ee6a[_0x409a81(0x1ce)]=_0xbd0a6d,_0x35ee6a[_0x409a81(0x12c)]=_0x2c1ee1,_0x35ee6a[_0x409a81(0x149)]=_0x1f8771,_0x35ee6a[_0x409a81(0x104)]=_0x96ad7d,_0x35ee6a[_0x409a81(0x13e)]=_0x300b0f,_0x35ee6a[_0x409a81(0x151)]=_0x4119eb,_0x35ee6a[_0x409a81(0x17e)]=_0x2d0841,_0x35ee6a[_0x409a81(0x150)]=_0x5c4260,_0x35ee6a[_0x409a81(0x164)]=_0x1da3d9,_0x35ee6a[_0x409a81(0x1d2)]=_0x3572d9,Object[_0x409a81(0x1a7)](_0x35ee6a,_0x409a81(0x15e),{'enumerable':!0x0,'get':function(){return _0x505de3;}}),_0x35ee6a['buildCancelEmptyCodeParagraphActions']=_0x476eb5,_0x35ee6a['isCodeBoundaryDelete']=_0x24ace8,_0x35ee6a[_0x409a81(0x17c)]=_0x1e7dfa,_0x35ee6a['normalizeDocsCodeMetadataResource']=_0x529a31;}));
1
+ function _0x3ff6(_0x2e9b54,_0x2a2e5e){_0x2e9b54=_0x2e9b54-0x1ba;const _0x28af11=_0x28af();let _0x3ff623=_0x28af11[_0x2e9b54];return _0x3ff623;}(function(_0xdadb56,_0x50ae22){const _0x1b7453=_0x3ff6,_0x1934f1=_0xdadb56();while(!![]){try{const _0x5419d1=parseInt(_0x1b7453(0x295))/0x1*(parseInt(_0x1b7453(0x1d1))/0x2)+-parseInt(_0x1b7453(0x208))/0x3*(parseInt(_0x1b7453(0x20b))/0x4)+-parseInt(_0x1b7453(0x290))/0x5*(parseInt(_0x1b7453(0x248))/0x6)+parseInt(_0x1b7453(0x276))/0x7*(parseInt(_0x1b7453(0x1e6))/0x8)+-parseInt(_0x1b7453(0x202))/0x9+parseInt(_0x1b7453(0x219))/0xa+-parseInt(_0x1b7453(0x224))/0xb;if(_0x5419d1===_0x50ae22)break;else _0x1934f1['push'](_0x1934f1['shift']());}catch(_0x1046df){_0x1934f1['push'](_0x1934f1['shift']());}}}(_0x28af,0xba0b3),function(_0x1950af,_0x16c357){const _0x3220f0=_0x3ff6;typeof exports==_0x3220f0(0x246)&&typeof module<'u'?_0x16c357(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x3220f0(0x1be)&&define[_0x3220f0(0x1de)]?define([_0x3220f0(0x1bd),_0x3220f0(0x223),'rxjs','@univerjs/docs',_0x3220f0(0x242)],_0x16c357):(_0x1950af=typeof globalThis<'u'?globalThis:_0x1950af||self,_0x16c357(_0x1950af['UniverProDocsCode']={},_0x1950af['UniverCore'],_0x1950af['rxjs'],_0x1950af[_0x3220f0(0x273)],_0x1950af[_0x3220f0(0x252)]));}(this,function(_0x9f50bb,_0x5e56ba,_0x5638ce,_0x1e06fa,_0x5d5981){const _0x16a119=_0x3ff6;Object['defineProperty'](_0x9f50bb,Symbol[_0x16a119(0x1f0)],{'value':_0x16a119(0x1ef)});let _0x33b8f5={'language':_0x16a119(0x24e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x4d8eb6(_0x3398cf){return{..._0x33b8f5,..._0x3398cf};}function _0x54903e(_0x486bff){const _0x4c3e91=_0x16a119;let _0x386e9e=(_0x486bff==null?void 0x0:_0x486bff[_0x4c3e91(0x213)])??{};return{'codes':Object[_0x4c3e91(0x22b)](Object['entries'](_0x386e9e)[_0x4c3e91(0x1c2)](([_0x371aff,_0x10913b])=>[_0x371aff,_0x4d8eb6(_0x10913b)]))};}function _0xf26960(_0x5952f2,_0x44978,_0x1c324c){const _0x49c3fa=_0x16a119;let _0x19590b=_0x54903e(_0x5952f2);return _0x19590b[_0x49c3fa(0x213)][_0x44978]=_0x4d8eb6({..._0x19590b[_0x49c3fa(0x213)][_0x44978],..._0x1c324c}),_0x19590b;}function _0x9ccb71(_0x22896e,_0x5ac54d){const _0x4da5bd=_0x16a119;let _0x1d02b7=_0x54903e(_0x22896e);return delete _0x1d02b7[_0x4da5bd(0x213)][_0x5ac54d],_0x1d02b7;}function _0x1bcdc3(_0x42300c){'@babel/helpers - typeof';const _0x3523a9=_0x16a119;return _0x1bcdc3=typeof Symbol==_0x3523a9(0x1be)&&typeof Symbol[_0x3523a9(0x1ea)]==_0x3523a9(0x28c)?function(_0x716f38){return typeof _0x716f38;}:function(_0x2a126a){const _0x5d0333=_0x3523a9;return _0x2a126a&&typeof Symbol==_0x5d0333(0x1be)&&_0x2a126a[_0x5d0333(0x221)]===Symbol&&_0x2a126a!==Symbol[_0x5d0333(0x22f)]?_0x5d0333(0x28c):typeof _0x2a126a;},_0x1bcdc3(_0x42300c);}function _0x23a323(_0x27d917,_0x169709){const _0x32c7e5=_0x16a119;if(_0x1bcdc3(_0x27d917)!=_0x32c7e5(0x246)||!_0x27d917)return _0x27d917;var _0x4c62be=_0x27d917[Symbol[_0x32c7e5(0x28e)]];if(_0x4c62be!==void 0x0){var _0x285676=_0x4c62be['call'](_0x27d917,_0x169709||_0x32c7e5(0x1bc));if(_0x1bcdc3(_0x285676)!='object')return _0x285676;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x169709===_0x32c7e5(0x1f6)?String:Number)(_0x27d917);}function _0x10844c(_0x5b8620){const _0x21d160=_0x16a119;var _0x16b62e=_0x23a323(_0x5b8620,_0x21d160(0x1f6));return _0x1bcdc3(_0x16b62e)=='symbol'?_0x16b62e:_0x16b62e+'';}function _0x264d0e(_0x56ba7d,_0xbda2f4,_0x4bb5e9){const _0x244616=_0x16a119;return(_0xbda2f4=_0x10844c(_0xbda2f4))in _0x56ba7d?Object[_0x244616(0x20a)](_0x56ba7d,_0xbda2f4,{'value':_0x4bb5e9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x56ba7d[_0xbda2f4]=_0x4bb5e9,_0x56ba7d;}var _0x2320bb=class extends _0x5e56ba[_0x16a119(0x1f3)]{constructor(..._0x2229c6){const _0x448842=_0x16a119;super(..._0x2229c6),_0x264d0e(this,'_resources',new Map()),_0x264d0e(this,_0x448842(0x1ec),new _0x5638ce[(_0x448842(0x1c9))]()),_0x264d0e(this,_0x448842(0x1e0),this[_0x448842(0x1ec)][_0x448842(0x244)]());}[_0x16a119(0x261)](_0x236f30,_0x5207fa){const _0x19bb25=_0x16a119;return _0x54903e(this[_0x19bb25(0x25d)][_0x19bb25(0x228)](_0x236f30))[_0x19bb25(0x213)][_0x5207fa];}[_0x16a119(0x229)](_0x133b6b,_0x56f2e5,_0x50a777){const _0x2f28ae=_0x16a119;this[_0x2f28ae(0x279)](_0x133b6b,_0x56f2e5,_0xf26960(this['_resources']['get'](_0x133b6b),_0x56f2e5,_0x50a777));}[_0x16a119(0x1e3)](_0x550620,_0x4a591c){const _0x5bf751=_0x16a119;this[_0x5bf751(0x279)](_0x550620,_0x4a591c,_0x9ccb71(this['_resources'][_0x5bf751(0x228)](_0x550620),_0x4a591c));}[_0x16a119(0x258)](_0x1b0060){const _0x19d3bf=_0x16a119;return _0x54903e(this[_0x19d3bf(0x25d)]['get'](_0x1b0060));}[_0x16a119(0x233)](_0x3027aa,_0x17b057){const _0x2231c8=_0x16a119;this[_0x2231c8(0x25d)][_0x2231c8(0x278)](_0x3027aa,_0x54903e(_0x17b057)),this['_change$'][_0x2231c8(0x259)]({'unitId':_0x3027aa});}[_0x16a119(0x211)](_0x1aee17){const _0x1538f7=_0x16a119;this[_0x1538f7(0x25d)]['delete'](_0x1aee17),this[_0x1538f7(0x1ec)]['next']({'unitId':_0x1aee17});}[_0x16a119(0x23e)](){const _0x1776ca=_0x16a119;super[_0x1776ca(0x23e)](),this['_resources'][_0x1776ca(0x226)](),this[_0x1776ca(0x1ec)][_0x1776ca(0x1eb)]();}['_setResource'](_0x46074c,_0xf35fff,_0xd94221){const _0x4d583c=_0x16a119;this[_0x4d583c(0x25d)][_0x4d583c(0x278)](_0x46074c,_0xd94221),this[_0x4d583c(0x1ec)][_0x4d583c(0x259)]({'unitId':_0x46074c,'blockId':_0xf35fff});}};let _0x4ed727={'id':_0x16a119(0x1c3),'type':_0x5e56ba['CommandType'][_0x16a119(0x263)],'handler':(_0x5f2d1b,_0x148e9a)=>!(_0x148e9a!=null&&_0x148e9a['unitId'])||!_0x148e9a[_0x16a119(0x1ba)]?!0x1:(_0x5f2d1b[_0x16a119(0x228)](_0x2320bb)['setCodeConfig'](_0x148e9a[_0x16a119(0x210)],_0x148e9a[_0x16a119(0x1ba)],_0x148e9a[_0x16a119(0x26a)]),!0x0)},_0x1a2b6d={'id':_0x16a119(0x23f),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x263)],'handler':(_0x502760,_0x1e30cf)=>!(_0x1e30cf!=null&&_0x1e30cf[_0x16a119(0x210)])||!_0x1e30cf[_0x16a119(0x1ba)]?!0x1:(_0x502760[_0x16a119(0x228)](_0x2320bb)[_0x16a119(0x1e3)](_0x1e30cf[_0x16a119(0x210)],_0x1e30cf[_0x16a119(0x1ba)]),!0x0)},_0x2fe876=_0x16a119(0x27d);var _0xdcdbe=class extends Error{constructor(_0xb75d98='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0xb75d98);}};function _0x45a87e(_0x447bd7){const _0x172123=_0x16a119;var _0x1b5974;let _0x516367=_0x20a186(_0x447bd7[_0x172123(0x25e)]),_0x49f475=_0x2fc1ca(_0x516367),_0x20d62b=_0x2ac203(_0x447bd7[_0x172123(0x27f)],_0x447bd7['endOffset']),_0x1720b7=_0x20d62b?(_0x1b5974=_0x49f475[_0x172123(0x1d7)])==null?void 0x0:_0x1b5974[_0x172123(0x25f)](_0x18915e=>{const _0x36e409=_0x172123;let _0x3c86e4=(0x0,_0x5e56ba[_0x36e409(0x241)])(_0x18915e);return _0x3c86e4['startOffset']===_0x20d62b[_0x36e409(0x27f)]&&_0x3c86e4['endOffset']===_0x20d62b['endOffset'];}):void 0x0,{startOffset:_0x785226,endOffset:_0x3935d7}=_0x1720b7?_0x20d62b:_0x309e90(_0x49f475,_0x447bd7[_0x172123(0x27f)],_0x447bd7[_0x172123(0x1e7)],_0x447bd7[_0x172123(0x1d9)]);if(!_0x1720b7&&_0x51da94(_0x49f475,_0x785226,_0x3935d7))throw new _0xdcdbe(_0x172123(0x294));let _0x44b03c=_0x197d1c(_0x49f475,_0x785226,_0x3935d7),_0x2b1cfe=(_0x1720b7==null?void 0x0:_0x1720b7[_0x172123(0x1ba)])??_0x447bd7[_0x172123(0x1ba)],_0x39b41f=_0xf26960(_0x447bd7[_0x172123(0x1fc)],_0x2b1cfe,{..._0x33b8f5,..._0x447bd7[_0x172123(0x26a)]});if(_0x1720b7)return _0x1720b7[_0x172123(0x1c6)]=_0x5e56ba[_0x172123(0x254)][_0x172123(0x23d)],_0x548905(_0x49f475,_0x785226,_0x3935d7),_0x56a229(_0x49f475,_0x785226,_0x3935d7,_0x44b03c),_0x36eae6(_0x49f475,_0x1720b7),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};if(_0x785226===_0x3935d7){var _0x3e2e21,_0x54ee5d;let _0x32733d=''+_0x5e56ba[_0x172123(0x1d8)][_0x172123(0x1f7)]+_0x5e56ba[_0x172123(0x1d8)]['PARAGRAPH']+_0x5e56ba[_0x172123(0x1d8)]['BLOCK_END'];_0x40445c(_0x49f475,_0x785226,_0x32733d,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x5e56ba[_0x172123(0x1f4)])(new Set((_0x3e2e21=_0x49f475['paragraphs'])==null?void 0x0:_0x3e2e21[_0x172123(0x1c2)](_0x237dd7=>_0x237dd7[_0x172123(0x1e4)]))),'paragraphStyle':_0x510541(!0x0,!0x0,_0x44b03c)}],'blockRanges':[{'blockId':_0x2b1cfe,'blockType':_0x5e56ba['DocumentBlockRangeType'][_0x172123(0x23d)],'startIndex':0x0,'endIndex':_0x32733d[_0x172123(0x291)]-0x1}]});let _0x2e211e=(_0x54ee5d=_0x49f475[_0x172123(0x1d7)])==null?void 0x0:_0x54ee5d[_0x172123(0x25f)](_0xe46f3c=>_0xe46f3c[_0x172123(0x1ba)]===_0x2b1cfe);return _0x2e211e&&_0x36eae6(_0x49f475,_0x2e211e),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};}_0x40445c(_0x49f475,_0x3935d7,_0x5e56ba['DataStreamTreeTokenType']['BLOCK_END']),_0x40445c(_0x49f475,_0x785226,_0x5e56ba['DataStreamTreeTokenType'][_0x172123(0x1f7)]),_0x56a229(_0x49f475,_0x785226,_0x3935d7+0x1,_0x44b03c);let _0x10b500={'blockId':_0x2b1cfe,'blockType':_0x5e56ba['DocumentBlockRangeType'][_0x172123(0x23d)],'startIndex':_0x785226,'endIndex':_0x3935d7+0x1};return _0x49f475[_0x172123(0x1d7)]=[..._0x49f475['blockRanges']??[],_0x10b500][_0x172123(0x243)]((_0xdbe717,_0x37c73c)=>_0xdbe717[_0x172123(0x1e8)]-_0x37c73c[_0x172123(0x1e8)]),_0x36eae6(_0x49f475,_0x10b500),{'nextDocumentData':_0x516367,'nextMetadata':_0x39b41f,'cursorOffset':_0x785226+0x1};}function _0x548905(_0x20ff7b,_0x1ac827,_0x41783e){const _0x422379=_0x16a119;(_0x20ff7b[_0x422379(0x251)]??[])[_0x422379(0x22a)](_0x342efa=>_0x342efa[_0x422379(0x1e8)]>_0x1ac827&&_0x342efa['startIndex']<_0x41783e)[_0x422379(0x239)](_0x5ed842=>{const _0x5cf4a5=_0x422379;let _0x4cd6cd={..._0x5ed842['paragraphStyle']??{}};delete _0x4cd6cd[_0x5cf4a5(0x1c7)],delete _0x4cd6cd[_0x5cf4a5(0x28d)],_0x5ed842[_0x5cf4a5(0x1d2)]=_0x4cd6cd;});}function _0x2ac203(_0x3e043f,_0x2e4e58){const _0x375e30=_0x16a119;return _0x3e043f==null||_0x2e4e58==null||_0x3e043f===_0x2e4e58?null:{'startOffset':Math[_0x375e30(0x1bf)](_0x3e043f,_0x2e4e58),'endOffset':Math[_0x375e30(0x1ca)](_0x3e043f,_0x2e4e58)};}function _0x51da94(_0x9c2d7,_0x3d3de2,_0x41e166){const _0x296e89=_0x16a119;return(_0x9c2d7[_0x296e89(0x1d7)]??[])[_0x296e89(0x214)](_0x53e8bd=>{const _0x390367=_0x296e89;let _0x2e3208=(0x0,_0x5e56ba[_0x390367(0x241)])(_0x53e8bd);return _0x3d3de2===_0x41e166?(0x0,_0x5e56ba[_0x390367(0x27a)])(_0x2e3208,_0x3d3de2):(0x0,_0x5e56ba[_0x390367(0x27c)])(_0x2e3208,{'startOffset':_0x3d3de2,'endOffset':_0x41e166});});}function _0x465346(_0x3f3e3a){const _0x515d0d=_0x16a119;return{'nextDocumentData':_0x20a186(_0x3f3e3a[_0x515d0d(0x25e)]),'nextMetadata':_0xf26960(_0x3f3e3a['metadata'],_0x3f3e3a['blockId'],_0x3f3e3a[_0x515d0d(0x26a)]),'cursorOffset':0x0};}function _0x3a1a24(_0xb9182f){const _0xf33371=_0x16a119;let _0x8c96c9=_0x20a186(_0xb9182f[_0xf33371(0x25e)]),_0x4e3566=_0x2fc1ca(_0x8c96c9),_0x3ecce3=_0x30e1b6(_0x4e3566,_0xb9182f[_0xf33371(0x1ba)]);if(!_0x3ecce3)return null;let _0x17d30f=_0x22643c(_0x4e3566,_0x3ecce3);return{'nextDocumentData':_0x8c96c9,'nextMetadata':_0x9ccb71(_0xb9182f['metadata'],_0xb9182f[_0xf33371(0x1ba)]),'cursorOffset':_0x17d30f};}function _0x53e699(_0xb75168){const _0x707702=_0x16a119;var _0x3a5bf9;let _0x45025d=_0x20a186(_0xb75168[_0x707702(0x25e)]),_0x38f43c=_0x2fc1ca(_0x45025d),_0xc4ba56=_0x30e1b6(_0x38f43c,_0xb75168[_0x707702(0x1ba)]);if(!_0xc4ba56)return null;let _0x3808d3=(0x0,_0x5e56ba[_0x707702(0x241)])(_0xc4ba56);return _0x3b2e68(_0x38f43c,_0x3808d3[_0x707702(0x27f)],_0x3808d3[_0x707702(0x1e7)]),_0x38f43c[_0x707702(0x1d7)]=(_0x3a5bf9=_0x38f43c[_0x707702(0x1d7)])==null?void 0x0:_0x3a5bf9[_0x707702(0x22a)](_0x5cdc56=>_0x5cdc56[_0x707702(0x1ba)]!==_0xb75168[_0x707702(0x1ba)]),{'nextDocumentData':_0x45025d,'nextMetadata':_0x9ccb71(_0xb75168['metadata'],_0xb75168[_0x707702(0x1ba)]),'cursorOffset':_0xc4ba56[_0x707702(0x1e8)]};}function _0x5c5d27(_0x44ec6f){const _0x35b35a=_0x16a119;let _0x574337=_0x20a186(_0x44ec6f[_0x35b35a(0x25e)]),_0x391f31=_0x2fc1ca(_0x574337),_0x5a919a=_0xd51bc6(_0x391f31,_0x44ec6f[_0x35b35a(0x1fb)]);return _0x5a919a&&_0x4e4bf2(_0x574337,_0x391f31,_0x5a919a,_0x44ec6f[_0x35b35a(0x1fb)],_0x44ec6f[_0x35b35a(0x1bb)])||null;}function _0x4e4bf2(_0x5afa57,_0x2f3783,_0x5ebfc0,_0x5278e5,_0x34afd9){const _0xed4497=_0x16a119;let _0x5c2e25=_0x8abbae(_0x2f3783,_0x5ebfc0,_0x5278e5,_0x34afd9);if(!_0x5c2e25)return null;let _0x20c121=_0x5c2e25[_0xed4497(0x296)]-0x1;return _0x3b2e68(_0x2f3783,_0x5c2e25[_0xed4497(0x283)]['startIndex'],_0x5c2e25['paragraph']['startIndex']+0x1),{'nextDocumentData':_0x5afa57,'cursorOffset':_0x20c121};}function _0x30e1b6(_0x43ce8e,_0x5aa519){const _0x1d67f7=_0x16a119;var _0x1e6756;return _0x43ce8e==null||(_0x1e6756=_0x43ce8e[_0x1d67f7(0x1d7)])==null?void 0x0:_0x1e6756[_0x1d67f7(0x25f)](_0x328e7c=>_0x328e7c[_0x1d67f7(0x1c6)]===_0x5e56ba['DocumentBlockRangeType'][_0x1d67f7(0x23d)]&&_0x328e7c[_0x1d67f7(0x1ba)]===_0x5aa519);}function _0x5e421e(_0x26f4ac){const _0x3cb132=_0x16a119;let _0x21266f=_0x26f4ac[_0x3cb132(0x25e)][_0x3cb132(0x1d5)];if(!_0x21266f)return!0x1;let _0x4bf6ac=_0x26f4ac[_0x3cb132(0x25c)]===_0x3cb132(0x250)?_0x26f4ac[_0x3cb132(0x1fb)]-0x1:_0x26f4ac['cursorOffset'],_0x2063fe=_0x26f4ac['direction']===_0x3cb132(0x1d6)?_0x26f4ac['cursorOffset']+0x1:_0x4bf6ac;return(_0x21266f[_0x3cb132(0x1d7)]??[])['some'](_0x523ae1=>_0x523ae1['blockType']===_0x5e56ba['DocumentBlockRangeType'][_0x3cb132(0x23d)]?_0x4bf6ac===_0x523ae1['startIndex']||_0x4bf6ac===_0x523ae1['endIndex']||_0x2063fe===_0x523ae1[_0x3cb132(0x1e8)]||_0x2063fe===_0x523ae1['endIndex']:!0x1);}function _0xd51bc6(_0x2a2ec9,_0x4ab7ee){const _0x71faaf=_0x16a119;var _0x5819b6;return(_0x5819b6=_0x2a2ec9[_0x71faaf(0x1d7)])==null?void 0x0:_0x5819b6[_0x71faaf(0x25f)](_0x96e70=>{const _0x509d16=_0x71faaf;let _0x341e60=_0x569395(_0x96e70);return _0x96e70[_0x509d16(0x1c6)]===_0x5e56ba['DocumentBlockRangeType'][_0x509d16(0x23d)]&&_0x96e70[_0x509d16(0x1e8)]<=_0x4ab7ee&&_0x4ab7ee<=_0x341e60+0x2;});}function _0x510541(_0x489640,_0x2f1f78,_0x2ddb75=!0x1){const _0xa76489=_0x16a119;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x5e56ba[_0xa76489(0x1f9)][_0xa76489(0x215)],'keepNext':_0x2f1f78?_0x5e56ba[_0xa76489(0x1f9)][_0xa76489(0x1df)]:_0x5e56ba['BooleanNumber'][_0xa76489(0x215)],'widowControl':_0x5e56ba['BooleanNumber'][_0xa76489(0x215)],..._0x489640&&_0x2ddb75?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x2fe876,'fs':0xc}};}function _0x56a229(_0x5bb802,_0x1fd4f7,_0xbd651b,_0x56a8a2=!0x1){const _0x233b16=_0x16a119;let _0x3d57bf=(_0x5bb802[_0x233b16(0x251)]??[])[_0x233b16(0x22a)](_0x52a1b0=>_0x52a1b0[_0x233b16(0x1e8)]>_0x1fd4f7&&_0x52a1b0[_0x233b16(0x1e8)]<_0xbd651b);_0x3d57bf[_0x233b16(0x239)]((_0x1e2d29,_0x287caa)=>{const _0x4501fb=_0x233b16;_0x1e2d29[_0x4501fb(0x1d2)]={..._0x1e2d29['paragraphStyle']??{},..._0x510541(_0x287caa===0x0,_0x287caa===_0x3d57bf[_0x4501fb(0x291)]-0x1,_0x56a8a2)};});}function _0x559eb4(_0x4004b6){const _0x386650=_0x16a119;var _0x342b8a,_0x507c00;let _0x41ada7={..._0x4004b6??{}};return delete _0x41ada7[_0x386650(0x26c)],delete _0x41ada7[_0x386650(0x1dc)],delete _0x41ada7[_0x386650(0x1c7)],delete _0x41ada7['spaceBelow'],delete _0x41ada7[_0x386650(0x207)],delete _0x41ada7[_0x386650(0x22c)],delete _0x41ada7[_0x386650(0x282)],((_0x342b8a=_0x41ada7[_0x386650(0x203)])==null?void 0x0:_0x342b8a['ff'])===_0x2fe876&&((_0x507c00=_0x41ada7[_0x386650(0x203)])==null?void 0x0:_0x507c00['fs'])===0xc&&delete _0x41ada7[_0x386650(0x203)],_0x41ada7;}function _0x1b1fc2(_0x4e6a9d,_0x36515f){const _0x3e9d8c=_0x16a119;let _0x2ee107=_0x569395(_0x36515f);return(_0x4e6a9d['paragraphs']??[])[_0x3e9d8c(0x22a)](_0x2e5ad7=>_0x2e5ad7['startIndex']>_0x36515f['startIndex']&&_0x2e5ad7[_0x3e9d8c(0x1e8)]<_0x2ee107);}function _0x22643c(_0x468f7e,_0x3aeeca){const _0x2d1828=_0x16a119;var _0x3738d;let _0x395a8f=_0x569395(_0x3aeeca);return _0x1b1fc2(_0x468f7e,_0x3aeeca)[_0x2d1828(0x239)](_0x3e1e18=>{const _0x17804b=_0x2d1828;_0x3e1e18['paragraphStyle']=_0x559eb4(_0x3e1e18[_0x17804b(0x1d2)]);}),_0x3b2e68(_0x468f7e,_0x395a8f,_0x395a8f+0x1),_0x3b2e68(_0x468f7e,_0x3aeeca['startIndex'],_0x3aeeca[_0x2d1828(0x1e8)]+0x1),_0x468f7e['blockRanges']=(_0x3738d=_0x468f7e[_0x2d1828(0x1d7)])==null?void 0x0:_0x3738d['filter'](_0x336e40=>_0x336e40[_0x2d1828(0x1ba)]!==_0x3aeeca[_0x2d1828(0x1ba)]),_0x3aeeca['startIndex'];}function _0x20a186(_0xb8edcf){const _0x5a68eb=_0x16a119;return{..._0xb8edcf,'body':_0xb8edcf['body']?_0x1c44cc(_0xb8edcf[_0x5a68eb(0x1d5)]):_0xb8edcf[_0x5a68eb(0x1d5)]};}function _0x1c44cc(_0x4bfc61){const _0x128eb3=_0x16a119;var _0x57fff0,_0x2241a7,_0x14d3cd,_0x45c5b4,_0x2aa3cf,_0x111d07,_0x48cb50,_0x3e0d29,_0x4f1f8d;return{..._0x4bfc61,'paragraphs':(_0x57fff0=_0x4bfc61['paragraphs'])==null?void 0x0:_0x57fff0[_0x128eb3(0x1c2)](_0x4055b1=>({..._0x4055b1,'bullet':_0x20844a(_0x4055b1[_0x128eb3(0x1c5)]),'paragraphStyle':_0x20844a(_0x4055b1[_0x128eb3(0x1d2)])})),'sectionBreaks':(_0x2241a7=_0x4bfc61[_0x128eb3(0x1cc)])==null?void 0x0:_0x2241a7[_0x128eb3(0x1c2)](_0x3b3dd7=>({..._0x3b3dd7})),'textRuns':(_0x14d3cd=_0x4bfc61[_0x128eb3(0x1e1)])==null?void 0x0:_0x14d3cd[_0x128eb3(0x1c2)](_0xd69600=>({..._0xd69600})),'tables':(_0x45c5b4=_0x4bfc61[_0x128eb3(0x1e5)])==null?void 0x0:_0x45c5b4['map'](_0x4755cb=>({..._0x4755cb})),'columnGroups':(_0x2aa3cf=_0x4bfc61[_0x128eb3(0x21d)])==null?void 0x0:_0x2aa3cf['map'](_0xb88f63=>{const _0x1e6715=_0x128eb3;var _0x3e2eb8;return{..._0xb88f63,'columns':(_0x3e2eb8=_0xb88f63[_0x1e6715(0x209)])==null?void 0x0:_0x3e2eb8[_0x1e6715(0x1c2)](_0x54b773=>_0x20844a(_0x54b773))};}),'blockRanges':(_0x111d07=_0x4bfc61['blockRanges'])==null?void 0x0:_0x111d07[_0x128eb3(0x1c2)](_0x573204=>({..._0x573204})),'customRanges':(_0x48cb50=_0x4bfc61[_0x128eb3(0x200)])==null?void 0x0:_0x48cb50[_0x128eb3(0x1c2)](_0x418201=>({..._0x418201})),'customDecorations':(_0x3e0d29=_0x4bfc61[_0x128eb3(0x284)])==null?void 0x0:_0x3e0d29[_0x128eb3(0x1c2)](_0x3b12fc=>({..._0x3b12fc})),'customBlocks':(_0x4f1f8d=_0x4bfc61[_0x128eb3(0x287)])==null?void 0x0:_0x4f1f8d[_0x128eb3(0x1c2)](_0x4a760c=>({..._0x4a760c}))};}function _0x20844a(_0x4c29cd){const _0x3f8485=_0x16a119;return Array[_0x3f8485(0x212)](_0x4c29cd)?_0x4c29cd[_0x3f8485(0x1c2)](_0x487068=>_0x20844a(_0x487068)):!_0x4c29cd||typeof _0x4c29cd!='object'?_0x4c29cd:Object[_0x3f8485(0x22b)](Object[_0x3f8485(0x220)](_0x4c29cd)[_0x3f8485(0x1c2)](([_0x3af2dd,_0x422279])=>[_0x3af2dd,_0x20844a(_0x422279)]));}function _0x2fc1ca(_0x4334cb){const _0x36b1b3=_0x16a119;if(!_0x4334cb[_0x36b1b3(0x1d5)])throw Error(_0x36b1b3(0x1e2));return _0x4334cb[_0x36b1b3(0x1d5)];}function _0x309e90(_0x1917c5,_0x52a04a,_0x2cc801,_0x52721c='convert-paragraph'){const _0x3c678b=_0x16a119;if(_0x52a04a==null||_0x2cc801==null){let _0x1d322b=_0xb5c722(_0x1917c5);return{'startOffset':_0x1d322b,'endOffset':_0x1d322b};}let _0x27f28f=Math[_0x3c678b(0x1bf)](_0x52a04a,_0x2cc801),_0x526b04=Math[_0x3c678b(0x1ca)](_0x52a04a,_0x2cc801),_0x44ac9c=_0x12ff76(_0x1917c5,_0x27f28f,_0x526b04);return _0x27f28f===_0x526b04?_0x52721c==='insert-new'?{'startOffset':_0x27f28f,'endOffset':_0x526b04}:_0x4ebdb3(_0x1917c5,_0x27f28f,_0x44ac9c):_0x347261(_0x1917c5,_0x27f28f,_0x526b04,_0x44ac9c);}function _0x4ebdb3(_0x3b3dd6,_0x23f7fe,_0x3787c9){const _0x37980f=_0x16a119;let _0x234e9f=_0x2a818b(_0x3b3dd6,_0x23f7fe);if(_0x234e9f){let _0x4c8007=_0x974059(_0x3b3dd6,_0x234e9f,_0x3787c9);if(_0x4c8007<_0x234e9f['startIndex'])return{'startOffset':_0x4c8007,'endOffset':_0x3787c9?Math[_0x37980f(0x1bf)](_0x234e9f['startIndex']+0x1,_0x3787c9[_0x37980f(0x1e7)]):_0x234e9f[_0x37980f(0x1e8)]+0x1};}let _0x59cc07=_0x23f7fe===0x0&&_0x3b3dd6['dataStream'][0x0]===_0x5e56ba[_0x37980f(0x1d8)][_0x37980f(0x21b)]?0x1:_0x23f7fe;return{'startOffset':_0x59cc07,'endOffset':_0x59cc07};}function _0xb5c722(_0x517541){const _0x3ec01c=_0x16a119;return _0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x289)](_0x5e56ba[_0x3ec01c(0x1d8)][_0x3ec01c(0x249)])?Math[_0x3ec01c(0x1ca)](0x0,_0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x291)]-0x1):_0x517541[_0x3ec01c(0x24c)][_0x3ec01c(0x291)];}function _0x197d1c(_0x5e8a4d,_0x35d384,_0xe17363){const _0x37b837=_0x16a119;var _0x2786d2;let _0x13fef6=Math[_0x37b837(0x1bf)](_0x35d384,_0xe17363),_0x442a79=Math[_0x37b837(0x1ca)](_0x35d384,_0xe17363);return!!((_0x2786d2=_0x5e8a4d[_0x37b837(0x1e5)])!=null&&_0x2786d2[_0x37b837(0x214)](_0x51c498=>_0x13fef6>_0x51c498['startIndex']&&_0x13fef6<_0x51c498[_0x37b837(0x1f5)]||_0x442a79>_0x51c498[_0x37b837(0x1e8)]&&_0x442a79<_0x51c498['endIndex']||_0x13fef6<=_0x51c498[_0x37b837(0x1e8)]&&_0x442a79>=_0x51c498[_0x37b837(0x1f5)]));}function _0x347261(_0x2607b1,_0x147a6f,_0x3cc6e0,_0x96792){const _0x3598ac=_0x16a119;let _0xe6e8cd=[..._0x2607b1['paragraphs']??[]][_0x3598ac(0x243)]((_0x5850c9,_0x33852d)=>_0x5850c9[_0x3598ac(0x1e8)]-_0x33852d[_0x3598ac(0x1e8)]),_0x3716ac=(0x0,_0x5e56ba[_0x3598ac(0x20c)])(_0x2607b1),_0x4d4ad8=_0xe6e8cd[_0x3598ac(0x25f)](_0x4ba8dd=>_0x974059(_0x2607b1,_0x4ba8dd,_0x96792,_0x3716ac)<=_0x147a6f&&_0x147a6f<=_0x4ba8dd[_0x3598ac(0x1e8)]),_0x227cd2=_0xe6e8cd[_0x3598ac(0x25f)](_0x53c7aa=>_0x53c7aa[_0x3598ac(0x1e8)]>=_0x3cc6e0-0x1)??_0xe6e8cd[_0xe6e8cd[_0x3598ac(0x291)]-0x1];return{'startOffset':_0x4d4ad8?_0x974059(_0x2607b1,_0x4d4ad8,_0x96792,_0x3716ac):_0x147a6f,'endOffset':_0x227cd2?_0x6d0a70(_0x227cd2,_0x96792):_0x3cc6e0};}function _0x2a818b(_0x4659d2,_0x10d3cd){const _0x55d819=_0x16a119;let _0x4f0eaf=[..._0x4659d2[_0x55d819(0x251)]??[]][_0x55d819(0x243)]((_0x33efcb,_0x2462c3)=>_0x33efcb[_0x55d819(0x1e8)]-_0x2462c3['startIndex']),_0x454744=(0x0,_0x5e56ba['getParagraphContentStartOffsets'])(_0x4659d2);return _0x4f0eaf[_0x55d819(0x25f)](_0x690398=>(_0x454744['get'](_0x690398[_0x55d819(0x1e8)])??0x0)<=_0x10d3cd&&_0x10d3cd<=_0x690398[_0x55d819(0x1e8)]);}function _0x974059(_0x1c0d86,_0x25bb96,_0x488b7b,_0x367361){const _0x2fb11c=_0x16a119;let _0xefc642=(_0x367361==null?void 0x0:_0x367361[_0x2fb11c(0x228)](_0x25bb96[_0x2fb11c(0x1e8)]))??(0x0,_0x5e56ba[_0x2fb11c(0x1d0)])(_0x1c0d86,_0x25bb96);return _0x488b7b?Math[_0x2fb11c(0x1ca)](_0xefc642,_0x488b7b['startOffset']):_0xefc642;}function _0x6d0a70(_0x384ca2,_0x18d0fc){const _0x534cef=_0x16a119;let _0x5af1a0=_0x384ca2[_0x534cef(0x1e8)]+0x1;return _0x18d0fc?Math[_0x534cef(0x1bf)](_0x5af1a0,_0x18d0fc[_0x534cef(0x1e7)]):_0x5af1a0;}function _0x12ff76(_0x549b17,_0x10cea6,_0x507833){const _0xd7868c=_0x16a119;let _0x131884=_0x3010a6(_0x549b17,_0x10cea6),_0x2965f5=_0x3010a6(_0x549b17,_0x10cea6===_0x507833?_0x507833:Math[_0xd7868c(0x1ca)](_0x10cea6,_0x507833-0x1));if(_0x131884||_0x2965f5){if(!_0x131884||!_0x2965f5||_0x131884[_0xd7868c(0x21e)]!==_0x2965f5['startTokenOffset']||_0x131884[_0xd7868c(0x296)]!==_0x2965f5[_0xd7868c(0x296)])throw new _0xdcdbe();return _0x131884;}}function _0x3010a6(_0x4d630d,_0x270c7b){const _0x5cf6cd=_0x16a119;let _0x4b209e=_0x4d630d['dataStream'],_0x34b7ce=-0x1;for(let _0x6db7ab=Math[_0x5cf6cd(0x1bf)](_0x270c7b,_0x4b209e[_0x5cf6cd(0x291)]-0x1);_0x6db7ab>=0x0;_0x6db7ab--){let _0x1097dc=_0x4b209e[_0x6db7ab];if(_0x1097dc===_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x227)])return;if(_0x1097dc===_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x22d)]){_0x34b7ce=_0x6db7ab;break;}}if(_0x34b7ce<0x0)return;let _0x28dfb4=_0x4b209e[_0x5cf6cd(0x206)](_0x5e56ba[_0x5cf6cd(0x1d8)][_0x5cf6cd(0x227)],_0x34b7ce+0x1);if(!(_0x28dfb4<0x0||_0x270c7b<_0x34b7ce+0x1||_0x270c7b>_0x28dfb4-0x1))return{'startOffset':_0x34b7ce+0x1,'endOffset':Math[_0x5cf6cd(0x1ca)](_0x34b7ce+0x1,_0x28dfb4-0x1),'startTokenOffset':_0x34b7ce,'endTokenOffset':_0x28dfb4};}function _0x569395(_0x527cf2){const _0x3314ab=_0x16a119;return(0x0,_0x5e56ba[_0x3314ab(0x241)])(_0x527cf2)[_0x3314ab(0x1e7)]-0x1;}function _0x8abbae(_0x244407,_0x3aa40d,_0x169e13,_0x1a0b80){const _0x7a70c5=_0x16a119;let _0x853aea=_0x569395(_0x3aa40d),_0x1cc26e=(_0x244407[_0x7a70c5(0x251)]??[])[_0x7a70c5(0x25f)](_0x31f582=>_0x31f582[_0x7a70c5(0x1e8)]===_0x853aea+0x1);if(!_0x1cc26e||_0x1a0b80!=null&&_0x1cc26e[_0x7a70c5(0x1e8)]!==_0x1a0b80||_0x169e13!=null&&(_0x169e13<_0x853aea||_0x169e13>_0x1cc26e['startIndex']+0x1)||_0x244407[_0x7a70c5(0x24c)][_0x1cc26e[_0x7a70c5(0x1e8)]]!==_0x5e56ba['DataStreamTreeTokenType'][_0x7a70c5(0x21b)])return null;let _0x511fa1=(0x0,_0x5e56ba[_0x7a70c5(0x1d0)])(_0x244407,_0x1cc26e),_0x30b1c3=_0x244407[_0x7a70c5(0x24c)][_0x7a70c5(0x240)](_0x511fa1,_0x1cc26e[_0x7a70c5(0x1e8)]);return Array['from'](_0x30b1c3)[_0x7a70c5(0x292)](_0x4ca12b=>_0x4ca12b===_0x5e56ba[_0x7a70c5(0x1d8)][_0x7a70c5(0x27e)])?{'paragraph':_0x1cc26e,'endTokenOffset':_0x853aea}:null;}function _0x36eae6(_0x171b95,_0x13e5ed){const _0x56d9b5=_0x16a119;var _0x13c58d;let _0x48485a=_0x569395(_0x13e5ed),_0xa0fd99=_0x171b95[_0x56d9b5(0x24c)][_0x48485a+0x1];(_0xa0fd99===_0x5e56ba['DataStreamTreeTokenType']['SECTION_BREAK']||_0xa0fd99===void 0x0)&&_0x40445c(_0x171b95,_0x48485a+0x1,_0x5e56ba[_0x56d9b5(0x1d8)][_0x56d9b5(0x21b)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x5e56ba['createParagraphId'])(new Set((_0x13c58d=_0x171b95[_0x56d9b5(0x251)])==null?void 0x0:_0x13c58d[_0x56d9b5(0x1c2)](_0x3c4a9d=>_0x3c4a9d[_0x56d9b5(0x1e4)])))}]});}function _0x40445c(_0x4812b8,_0x13311a,_0x48588a,_0xc0c737={}){const _0x14be33=_0x16a119;var _0x108e8b,_0x5b2f2b;_0x48588a&&(_0x4812b8[_0x14be33(0x24c)]=''+_0x4812b8['dataStream'][_0x14be33(0x240)](0x0,_0x13311a)+_0x48588a+_0x4812b8[_0x14be33(0x24c)][_0x14be33(0x240)](_0x13311a),_0xec87c5(_0x4812b8,_0x13311a,_0x48588a[_0x14be33(0x291)]),(_0x108e8b=_0xc0c737['paragraphs'])!=null&&_0x108e8b['length']&&(_0x4812b8[_0x14be33(0x251)]=[..._0x4812b8['paragraphs']??[],..._0xc0c737['paragraphs'][_0x14be33(0x1c2)](_0x190fd8=>({..._0x190fd8,'startIndex':_0x190fd8[_0x14be33(0x1e8)]+_0x13311a}))][_0x14be33(0x243)]((_0x193028,_0x5f9f97)=>_0x193028['startIndex']-_0x5f9f97[_0x14be33(0x1e8)])),(_0x5b2f2b=_0xc0c737['blockRanges'])!=null&&_0x5b2f2b[_0x14be33(0x291)]&&(_0x4812b8[_0x14be33(0x1d7)]=[..._0x4812b8['blockRanges']??[],..._0xc0c737[_0x14be33(0x1d7)][_0x14be33(0x1c2)](_0x1f11a7=>({..._0x1f11a7,'startIndex':_0x1f11a7[_0x14be33(0x1e8)]+_0x13311a,'endIndex':_0x1f11a7[_0x14be33(0x1f5)]+_0x13311a}))]['sort']((_0x529e5f,_0x596288)=>_0x529e5f[_0x14be33(0x1e8)]-_0x596288[_0x14be33(0x1e8)])));}function _0x3b2e68(_0x2570f5,_0x19094a,_0x5aa982){const _0x55cb23=_0x16a119;let _0x270c91=_0x5aa982-_0x19094a;_0x2570f5[_0x55cb23(0x24c)]=''+_0x2570f5[_0x55cb23(0x24c)][_0x55cb23(0x240)](0x0,_0x19094a)+_0x2570f5[_0x55cb23(0x24c)]['slice'](_0x5aa982),_0x10c8d0(_0x2570f5,_0x19094a,_0x270c91);}function _0xec87c5(_0xd6eb68,_0xe5945c,_0x138b09){const _0x14de50=_0x16a119;_0xd6eb68[_0x14de50(0x251)]=_0x699969(_0xd6eb68[_0x14de50(0x251)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x1cc)]=_0x699969(_0xd6eb68[_0x14de50(0x1cc)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x287)]=_0x699969(_0xd6eb68[_0x14de50(0x287)],_0xe5945c,_0x138b09),_0xd6eb68['textRuns']=_0x2b5865(_0xd6eb68['textRuns'],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x1e5)]=_0x49f75f(_0xd6eb68[_0x14de50(0x1e5)],_0xe5945c,_0x138b09),_0xd6eb68['columnGroups']=_0x44e25a(_0xd6eb68[_0x14de50(0x21d)],_0xe5945c,_0x138b09),_0xd6eb68[_0x14de50(0x200)]=_0x44e25a(_0xd6eb68[_0x14de50(0x200)],_0xe5945c,_0x138b09),_0xd6eb68['customDecorations']=_0x44e25a(_0xd6eb68[_0x14de50(0x284)],_0xe5945c,_0x138b09),_0xd6eb68['blockRanges']=_0x44e25a(_0xd6eb68[_0x14de50(0x1d7)],_0xe5945c,_0x138b09);}function _0x10c8d0(_0x213c2,_0x12a70c,_0x565639){const _0x74c55=_0x16a119;var _0x2ddfa2,_0x4a5970;_0x213c2[_0x74c55(0x251)]=_0x402e98(_0x213c2[_0x74c55(0x251)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x1cc)]=_0x402e98(_0x213c2['sectionBreaks'],_0x12a70c,_0x565639),_0x213c2['customBlocks']=_0x402e98(_0x213c2[_0x74c55(0x287)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x1e1)]=(_0x2ddfa2=_0x120e36((_0x4a5970=_0x213c2['textRuns'])==null?void 0x0:_0x4a5970['map'](_0x3cc9c6=>({..._0x3cc9c6,'startIndex':_0x3cc9c6['st'],'endIndex':_0x3cc9c6['ed']})),_0x12a70c,_0x565639))==null?void 0x0:_0x2ddfa2[_0x74c55(0x1c2)](_0x1547e0=>{let {startIndex:_0x546ccb,endIndex:_0x2b7f4e,..._0x5c7116}=_0x1547e0;return{..._0x5c7116,'st':_0x546ccb,'ed':_0x2b7f4e};}),_0x213c2[_0x74c55(0x1e5)]=_0x120e36(_0x213c2[_0x74c55(0x1e5)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x21d)]=_0x1fd228(_0x213c2[_0x74c55(0x21d)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x200)]=_0x1fd228(_0x213c2[_0x74c55(0x200)],_0x12a70c,_0x565639),_0x213c2[_0x74c55(0x284)]=_0x1fd228(_0x213c2[_0x74c55(0x284)],_0x12a70c,_0x565639),_0x213c2['blockRanges']=_0x1fd228(_0x213c2[_0x74c55(0x1d7)],_0x12a70c,_0x565639);}function _0x699969(_0x4d3fa7,_0x2d6fef,_0x2f6f5c){const _0x28814a=_0x16a119;return _0x4d3fa7==null?void 0x0:_0x4d3fa7[_0x28814a(0x1c2)](_0x3a1b1b=>_0x3a1b1b[_0x28814a(0x1e8)]>=_0x2d6fef?{..._0x3a1b1b,'startIndex':_0x3a1b1b[_0x28814a(0x1e8)]+_0x2f6f5c}:_0x3a1b1b);}function _0x402e98(_0x2d7bf7,_0x21a940,_0x354023){const _0x42f495=_0x16a119;let _0x20b602=_0x21a940+_0x354023;return _0x2d7bf7==null?void 0x0:_0x2d7bf7[_0x42f495(0x1c2)](_0x19f14a=>_0x19f14a['startIndex']>=_0x21a940&&_0x19f14a[_0x42f495(0x1e8)]<_0x20b602?null:_0x19f14a[_0x42f495(0x1e8)]>=_0x20b602?{..._0x19f14a,'startIndex':_0x19f14a[_0x42f495(0x1e8)]-_0x354023}:_0x19f14a)[_0x42f495(0x22a)](_0x4f2f66=>_0x4f2f66!=null);}function _0x2b5865(_0x5606ac,_0x5d941b,_0x5cc92b){const _0x5f2272=_0x16a119;return _0x5606ac==null?void 0x0:_0x5606ac[_0x5f2272(0x1c2)](_0x572827=>_0x572827['st']>=_0x5d941b?{..._0x572827,'st':_0x572827['st']+_0x5cc92b,'ed':_0x572827['ed']+_0x5cc92b}:_0x572827['ed']>_0x5d941b?{..._0x572827,'ed':_0x572827['ed']+_0x5cc92b}:_0x572827);}function _0x44e25a(_0x3090b6,_0x2d4e63,_0x21a4e1){const _0x3f6661=_0x16a119;return _0x3090b6==null?void 0x0:_0x3090b6[_0x3f6661(0x1c2)](_0x32296d=>(0x0,_0x5e56ba['shiftInclusiveRangeOnInsert'])(_0x32296d,_0x2d4e63,_0x21a4e1));}function _0x49f75f(_0x36cefa,_0x4475c7,_0x16e017){const _0xfc740c=_0x16a119;return _0x36cefa==null?void 0x0:_0x36cefa[_0xfc740c(0x1c2)](_0x11a2bf=>(0x0,_0x5e56ba[_0xfc740c(0x222)])(_0x11a2bf,_0x4475c7,_0x16e017));}function _0x1fd228(_0x41fe98,_0x3e135e,_0x5ef9a6){const _0x55f842=_0x16a119;return _0x41fe98==null?void 0x0:_0x41fe98[_0x55f842(0x1c2)](_0x4a9d28=>(0x0,_0x5e56ba[_0x55f842(0x20d)])(_0x4a9d28,_0x3e135e,_0x5ef9a6))['filter'](_0x30286a=>_0x30286a!=null);}function _0x120e36(_0x4eac75,_0x28cdad,_0x53248d){const _0x17e55d=_0x16a119;return _0x4eac75==null?void 0x0:_0x4eac75[_0x17e55d(0x1c2)](_0x3c9311=>(0x0,_0x5e56ba[_0x17e55d(0x1c8)])(_0x3c9311,_0x28cdad,_0x53248d))[_0x17e55d(0x22a)](_0x51b54a=>_0x51b54a!=null);}let _0x316a05={'id':_0x16a119(0x28a),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':_0x1c23bd=>{const _0x1039aa=_0x16a119;var _0x14dcc3;if((0x0,_0x1e06fa[_0x1039aa(0x236)])(_0x1cb509(_0x1c23bd)))return!0x1;let _0x3b4b42=(0x0,_0x1e06fa[_0x1039aa(0x269)])(_0x1c23bd);if(_0x3b4b42)return _0x1c23bd['get'](_0x5e56ba[_0x1039aa(0x201)])['syncExecuteCommand'](_0x418564['id'],{'startOffset':_0x3b4b42[_0x1039aa(0x27f)],'endOffset':_0x3b4b42[_0x1039aa(0x1e7)],'insertionMode':_0x1039aa(0x238),'unitId':_0x3b4b42['unitId']});let _0x531444=_0x46d006(_0x1c23bd);if(!_0x531444)return!0x1;let _0x3e22bb=(_0x14dcc3=_0x1c23bd[_0x1039aa(0x228)](_0x5e56ba[_0x1039aa(0x20f)])[_0x1039aa(0x1ff)](_0x5e56ba[_0x1039aa(0x245)][_0x1039aa(0x1fd)]))==null?void 0x0:_0x14dcc3[_0x1039aa(0x1c1)](),_0x18e506=_0x3e22bb?(0x0,_0x5e56ba[_0x1039aa(0x21f)])(_0x3e22bb,_0x531444):_0x531444[_0x1039aa(0x1e8)]+0x1;return _0x1c23bd[_0x1039aa(0x228)](_0x5e56ba['ICommandService'])[_0x1039aa(0x1da)](_0x418564['id'],{'startOffset':_0x18e506,'endOffset':_0x18e506});}},_0x1a68ee={'id':_0x16a119(0x1ce),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':()=>!0x0},_0x418564={'id':_0x16a119(0x28b),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':(_0x26ed63,_0x1cc7af)=>{const _0x37d91b=_0x16a119;let _0x3d249a=_0x586438(_0x26ed63,_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x210)]);if(!_0x3d249a)return!0x1;let _0x486631=_0x1cb509(_0x26ed63);if((0x0,_0x1e06fa[_0x37d91b(0x236)])(_0x486631))return!0x1;let _0x431745=_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x258)](_0x3d249a[_0x37d91b(0x210)]),_0x753322=_0x458ec7(_0x1cc7af,_0x486631),_0x161422=_0x2c6fd2(_0x3d249a['previousDocumentData'],_0x753322);if(_0x161422){if(_0x161422[_0x37d91b(0x1c6)]!==_0x5e56ba[_0x37d91b(0x254)][_0x37d91b(0x23d)])return!0x1;let _0x8910ae=_0x3a1a24({'blockId':_0x161422['blockId'],'documentData':_0x3d249a[_0x37d91b(0x237)],'metadata':_0x431745});if(!_0x8910ae)return!0x1;let _0x264281=_0xd14432(_0x3d249a[_0x37d91b(0x247)],_0x3d249a['selectionManager'],_0x3d249a['unitId'],_0x3d249a[_0x37d91b(0x237)],_0x8910ae[_0x37d91b(0x205)],_0x418564['id'],_0x8910ae[_0x37d91b(0x1fb)]);return _0x264281&&_0x8910ae[_0x37d91b(0x232)]&&_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x233)](_0x3d249a[_0x37d91b(0x210)],_0x8910ae[_0x37d91b(0x232)]),_0x264281;}let _0x95dc28=(_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x1ba)])??(0x0,_0x5e56ba['generateRandomId'])(0x6),_0x5e3e86;try{_0x5e3e86=_0x45a87e({'blockId':_0x95dc28,'config':_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x26a)],'documentData':_0x3d249a[_0x37d91b(0x237)],'endOffset':_0x753322==null?void 0x0:_0x753322[_0x37d91b(0x1e7)],'insertionMode':_0x1cc7af==null?void 0x0:_0x1cc7af[_0x37d91b(0x1d9)],'metadata':_0x431745,'startOffset':_0x753322==null?void 0x0:_0x753322[_0x37d91b(0x27f)]});}catch(_0x5b7b98){if(_0x5b7b98 instanceof _0xdcdbe)return!0x1;throw _0x5b7b98;}let _0x344429=_0xd14432(_0x3d249a[_0x37d91b(0x247)],_0x3d249a[_0x37d91b(0x21a)],_0x3d249a[_0x37d91b(0x210)],_0x3d249a[_0x37d91b(0x237)],_0x5e3e86[_0x37d91b(0x205)],_0x418564['id'],_0x5e3e86[_0x37d91b(0x1fb)]);return _0x344429&&_0x5e3e86['nextMetadata']&&_0x3d249a[_0x37d91b(0x225)][_0x37d91b(0x233)](_0x3d249a[_0x37d91b(0x210)],_0x5e3e86[_0x37d91b(0x232)]),_0x344429;}},_0x1ba5e6={'id':_0x16a119(0x281),'type':_0x5e56ba['CommandType'][_0x16a119(0x275)],'handler':(_0x3c4559,_0x398f8c)=>{const _0x408d64=_0x16a119;if(!_0x398f8c)return!0x1;let _0x5a7d34=_0x586438(_0x3c4559,_0x398f8c[_0x408d64(0x210)]);if(!_0x5a7d34)return!0x1;let _0x2d9add=_0x465346({'blockId':_0x398f8c[_0x408d64(0x1ba)],'config':_0x398f8c[_0x408d64(0x26a)],'documentData':_0x5a7d34['previousDocumentData'],'metadata':_0x5a7d34['model'][_0x408d64(0x258)](_0x5a7d34['unitId'])});return _0x2d9add[_0x408d64(0x232)]&&_0x5a7d34['model']['deserialize'](_0x5a7d34['unitId'],_0x2d9add[_0x408d64(0x232)]),!0x0;}},_0x52d7e1={'id':_0x16a119(0x285),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x5f2b22,_0x4e9ae0)=>_0x1a6a26[_0x16a119(0x270)](_0x5f2b22,_0x4e9ae0)},_0x1a6a26={'id':_0x16a119(0x274),'type':_0x5e56ba[_0x16a119(0x272)][_0x16a119(0x275)],'handler':(_0x17255d,_0xa1484e)=>{const _0x1c0b63=_0x16a119;if(!_0xa1484e)return!0x1;let _0x20c57d=_0x586438(_0x17255d,_0xa1484e==null?void 0x0:_0xa1484e[_0x1c0b63(0x210)]);if(!_0x20c57d)return!0x1;let _0x180a7c=_0x3a1a24({'blockId':_0xa1484e[_0x1c0b63(0x1ba)],'documentData':_0x20c57d[_0x1c0b63(0x237)],'metadata':_0x20c57d[_0x1c0b63(0x225)][_0x1c0b63(0x258)](_0x20c57d[_0x1c0b63(0x210)])});if(!_0x180a7c)return!0x1;let _0x37aa5c=_0xd14432(_0x20c57d['commandService'],_0x20c57d[_0x1c0b63(0x21a)],_0x20c57d[_0x1c0b63(0x210)],_0x20c57d[_0x1c0b63(0x237)],_0x180a7c[_0x1c0b63(0x205)],_0x1a6a26['id'],_0x180a7c[_0x1c0b63(0x1fb)]);return _0x37aa5c&&_0x180a7c['nextMetadata']&&_0x20c57d[_0x1c0b63(0x225)]['deserialize'](_0x20c57d['unitId'],_0x180a7c[_0x1c0b63(0x232)]),_0x37aa5c;}},_0x17da02={'id':_0x16a119(0x21c),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x5bc2e9,_0x51e327)=>{const _0x539c41=_0x16a119;if(!_0x51e327)return!0x1;let _0x1e9c52=_0x586438(_0x5bc2e9,_0x51e327==null?void 0x0:_0x51e327[_0x539c41(0x210)]);if(!_0x1e9c52)return!0x1;let _0x5597cd=_0x53e699({'blockId':_0x51e327[_0x539c41(0x1ba)],'documentData':_0x1e9c52[_0x539c41(0x237)],'metadata':_0x1e9c52[_0x539c41(0x225)][_0x539c41(0x258)](_0x1e9c52[_0x539c41(0x210)])});if(!_0x5597cd)return!0x1;let _0x36a649=_0xd14432(_0x1e9c52[_0x539c41(0x247)],_0x1e9c52[_0x539c41(0x21a)],_0x1e9c52['unitId'],_0x1e9c52[_0x539c41(0x237)],_0x5597cd[_0x539c41(0x205)],_0x17da02['id'],_0x5597cd[_0x539c41(0x1fb)]);return _0x36a649&&_0x5597cd['nextMetadata']&&_0x1e9c52[_0x539c41(0x225)][_0x539c41(0x233)](_0x1e9c52[_0x539c41(0x210)],_0x5597cd[_0x539c41(0x232)]),_0x36a649;}},_0x828dfb={'id':_0x16a119(0x1f1),'type':_0x5e56ba[_0x16a119(0x272)]['COMMAND'],'handler':(_0x16ae1c,_0x3a8e21)=>{const _0x2db293=_0x16a119;var _0x1260a7;let _0x179264=_0x586438(_0x16ae1c,_0x3a8e21==null?void 0x0:_0x3a8e21[_0x2db293(0x210)]);if(!_0x179264)return!0x1;let _0x8ba3d2=(_0x3a8e21==null?void 0x0:_0x3a8e21['cursorOffset'])??((_0x1260a7=_0x1cb509(_0x16ae1c))==null?void 0x0:_0x1260a7[_0x2db293(0x27f)]);if(_0x8ba3d2==null)return!0x1;let _0x5aec66=_0x5c5d27({'cursorOffset':_0x8ba3d2,'documentData':_0x179264[_0x2db293(0x237)],'paragraphStartIndex':_0x3a8e21==null?void 0x0:_0x3a8e21[_0x2db293(0x1bb)]});return _0x5aec66?_0xd14432(_0x179264[_0x2db293(0x247)],_0x179264[_0x2db293(0x21a)],_0x179264['unitId'],_0x179264[_0x2db293(0x237)],_0x5aec66[_0x2db293(0x205)],_0x828dfb['id'],_0x5aec66[_0x2db293(0x1fb)]):!0x1;}};function _0x586438(_0x8b6d8e,_0x2844b1){const _0x17f195=_0x16a119;let _0x24c60a=_0x8b6d8e[_0x17f195(0x228)](_0x5e56ba['IUniverInstanceService']),_0x196983=_0x2844b1?_0x24c60a['getUnit'](_0x2844b1,_0x5e56ba[_0x17f195(0x245)][_0x17f195(0x1fd)]):_0x24c60a[_0x17f195(0x1ff)](_0x5e56ba[_0x17f195(0x245)][_0x17f195(0x1fd)]);return _0x196983?{'commandService':_0x8b6d8e['get'](_0x5e56ba[_0x17f195(0x201)]),'model':_0x8b6d8e['get'](_0x2320bb),'previousDocumentData':_0x196983[_0x17f195(0x235)](),'selectionManager':_0x8b6d8e[_0x17f195(0x228)](_0x1e06fa[_0x17f195(0x24a)]),'unitId':_0x196983[_0x17f195(0x1cd)]()}:null;}function _0x1cb509(_0x39f00f){const _0x3120b7=_0x16a119;var _0x36b1c6;return(_0x36b1c6=_0x39f00f['get'](_0x1e06fa[_0x3120b7(0x24a)])['getTextRanges']())==null?void 0x0:_0x36b1c6[0x0];}function _0x458ec7(_0x2ebf67,_0x373645){const _0x4b46d8=_0x16a119;let _0x11a706=(_0x2ebf67==null?void 0x0:_0x2ebf67[_0x4b46d8(0x27f)])??(_0x373645==null?void 0x0:_0x373645[_0x4b46d8(0x27f)]),_0x50d00e=(_0x2ebf67==null?void 0x0:_0x2ebf67['endOffset'])??(_0x373645==null?void 0x0:_0x373645[_0x4b46d8(0x1e7)]);if(_0x11a706!=null&&_0x50d00e!=null)return{'endOffset':Math['max'](_0x11a706,_0x50d00e),'startOffset':Math[_0x4b46d8(0x1bf)](_0x11a706,_0x50d00e)};}function _0x2c6fd2(_0x185050,_0x21a899){const _0x336490=_0x16a119;var _0x21a979;if(!_0x21a899)return;let _0x30021f=_0x59e18f(_0x21a899);return(_0x21a979=_0x185050[_0x336490(0x1d5)])==null||(_0x21a979=_0x21a979[_0x336490(0x1d7)])==null?void 0x0:_0x21a979[_0x336490(0x25f)](_0x3bd887=>{const _0x3f604c=_0x336490;let _0x464cc5=(0x0,_0x5e56ba[_0x3f604c(0x241)])(_0x3bd887);return _0x21a899[_0x3f604c(0x27f)]===_0x21a899[_0x3f604c(0x1e7)]?(0x0,_0x5e56ba[_0x3f604c(0x27a)])(_0x464cc5,_0x30021f):(0x0,_0x5e56ba[_0x3f604c(0x262)])(_0x464cc5,_0x30021f);});}function _0x59e18f(_0xc76336){const _0x3c317e=_0x16a119;return _0xc76336[_0x3c317e(0x27f)]===_0xc76336[_0x3c317e(0x1e7)]?_0xc76336['startOffset']:_0xc76336[_0x3c317e(0x27f)]+0x1;}function _0x46d006(_0x16d609){const _0x47fa78=_0x16a119;let _0x1e4f37=_0x1cb509(_0x16d609);if(!_0x1e4f37)return null;let _0x1fe71a=_0x16d609[_0x47fa78(0x228)](_0x5e56ba[_0x47fa78(0x20f)])[_0x47fa78(0x1ff)](_0x5e56ba[_0x47fa78(0x245)]['UNIVER_DOC']),_0x41722f=_0x1fe71a==null?void 0x0:_0x1fe71a['getBody']();return _0x41722f?_0x5e56ba[_0x47fa78(0x1c4)]['range']['getParagraphsInRange'](_0x1e4f37,_0x41722f[_0x47fa78(0x251)]??[],_0x41722f[_0x47fa78(0x24c)]??'')[0x0]??null:null;}function _0x115b0b(_0x4117af,_0x3e3a18){const _0x1394bc=_0x16a119;let _0x2ecbb6=_0x4117af[_0x1394bc(0x1d5)],_0xe57d2d=_0x3e3a18[_0x1394bc(0x1d5)],_0x3c7288=(0x0,_0x5e56ba[_0x1394bc(0x20e)])(_0x2ecbb6,_0xe57d2d);return[_0x3c7288&&_0xe57d2d?_0x4a8259(_0xe57d2d,_0x3c7288):null,_0x3c7288?null:_0x28d513(_0x2ecbb6,_0xe57d2d)][_0x1394bc(0x22a)](Boolean)[_0x1394bc(0x253)]((_0x5a0e53,_0x29299e)=>_0x5e56ba[_0x1394bc(0x1db)]['compose'](_0x5a0e53,_0x29299e),null);}function _0x4a8259(_0x428401,_0x377665){const _0x406f5d=_0x16a119;let _0x59ff13=new _0x5e56ba[(_0x406f5d(0x1c0))]();return _0x59ff13[_0x406f5d(0x23b)](_0x377665[_0x406f5d(0x266)]),_0x377665['insertLength']>0x0&&_0x59ff13['insert'](_0x377665['insertLength'],(0x0,_0x5e56ba[_0x406f5d(0x1ee)])(_0x428401,_0x377665[_0x406f5d(0x266)],_0x377665[_0x406f5d(0x266)]+_0x377665['insertLength'],!0x1)),_0x377665['deleteLength']>0x0&&_0x59ff13['delete'](_0x377665['deleteLength']),_0x5e56ba[_0x406f5d(0x1db)][_0x406f5d(0x25b)]()['editOp'](_0x59ff13[_0x406f5d(0x258)](),[_0x406f5d(0x1d5)]);}function _0x28d513(_0x477243,_0x24b968){const _0x225cdf=_0x16a119;let _0x414e68=[],_0x1f6d63=_0x477243?_0x33194e(_0x477243):void 0x0,_0x951d4c=_0x24b968?_0x33194e(_0x24b968):void 0x0;for(let _0x3118a7 of _0x57d1a1)_0x405e4e(_0x5e56ba['JSONX'][_0x225cdf(0x25b)](),[_0x225cdf(0x1d5),_0x3118a7],_0x1f6d63==null?void 0x0:_0x1f6d63[_0x3118a7],_0x951d4c==null?void 0x0:_0x951d4c[_0x3118a7],_0x414e68);return _0x414e68[_0x225cdf(0x253)]((_0x818fe5,_0x8e6e7)=>_0x5e56ba[_0x225cdf(0x1db)][_0x225cdf(0x1fe)](_0x818fe5,_0x8e6e7),null);}let _0x57d1a1=[_0x16a119(0x251),_0x16a119(0x1cc),'tables','columnGroups',_0x16a119(0x1d7),'customBlocks',_0x16a119(0x200),'customDecorations',_0x16a119(0x1e1)];function _0x33194e(_0x300322){return _0x300322;}function _0x405e4e(_0x4f404f,_0x19d2c7,_0x8b6070,_0x2eb3cc,_0x556cf7){const _0x3473da=_0x16a119;if(!_0xbab297(_0x8b6070,_0x2eb3cc)){if(_0x8b6070==null){_0x556cf7['push'](_0x4f404f[_0x3473da(0x1cf)](_0x19d2c7,_0x2eb3cc));return;}if(_0x2eb3cc==null){_0x556cf7[_0x3473da(0x255)](_0x4f404f['removeOp'](_0x19d2c7,_0x8b6070));return;}if(Array[_0x3473da(0x212)](_0x8b6070)&&Array[_0x3473da(0x212)](_0x2eb3cc)){_0x41665c(_0x4f404f,_0x19d2c7,_0x8b6070,_0x2eb3cc,_0x556cf7);return;}if(_0x2bdb2e(_0x8b6070)&&_0x2bdb2e(_0x2eb3cc)){new Set([...Object[_0x3473da(0x26b)](_0x8b6070),...Object[_0x3473da(0x26b)](_0x2eb3cc)])[_0x3473da(0x239)](_0x14755f=>{_0x405e4e(_0x4f404f,[..._0x19d2c7,_0x14755f],_0x8b6070[_0x14755f],_0x2eb3cc[_0x14755f],_0x556cf7);});return;}_0x556cf7['push'](_0x4f404f[_0x3473da(0x268)](_0x19d2c7,_0x8b6070,_0x2eb3cc));}}function _0x41665c(_0x518ea9,_0x363750,_0x235937,_0x1e1712,_0x1b0981){const _0x218604=_0x16a119;if(_0x235937[_0x218604(0x291)]===_0x1e1712[_0x218604(0x291)]){_0x235937[_0x218604(0x239)]((_0x8d856e,_0x42a59e)=>_0x405e4e(_0x518ea9,[..._0x363750,_0x42a59e],_0x8d856e,_0x1e1712[_0x42a59e],_0x1b0981));return;}let _0x24301c=0x0;for(;_0x24301c<_0x235937['length']&&_0x24301c<_0x1e1712[_0x218604(0x291)]&&_0xbab297(_0x235937[_0x24301c],_0x1e1712[_0x24301c]);)_0x24301c++;let _0x50b5aa=_0x235937[_0x218604(0x291)]-0x1,_0x4a5026=_0x1e1712[_0x218604(0x291)]-0x1;for(;_0x50b5aa>=_0x24301c&&_0x4a5026>=_0x24301c&&_0xbab297(_0x235937[_0x50b5aa],_0x1e1712[_0x4a5026]);)_0x50b5aa--,_0x4a5026--;for(let _0x507871=_0x50b5aa;_0x507871>=_0x24301c;_0x507871--)_0x1b0981[_0x218604(0x255)](_0x518ea9[_0x218604(0x1f2)]([..._0x363750,_0x507871],_0x235937[_0x507871]));for(let _0x141140=_0x24301c;_0x141140<=_0x4a5026;_0x141140++)_0x1b0981['push'](_0x518ea9[_0x218604(0x1cf)]([..._0x363750,_0x141140],_0x1e1712[_0x141140]));}function _0x2bdb2e(_0x2468ab){const _0x594163=_0x16a119;return typeof _0x2468ab==_0x594163(0x246)&&!!_0x2468ab&&!Array[_0x594163(0x212)](_0x2468ab);}function _0xbab297(_0x4eb596,_0x4c66ca){return JSON['stringify'](_0x4eb596)===JSON['stringify'](_0x4c66ca);}function _0xd14432(_0x20f13a,_0x14fc34,_0x2c16a8,_0x11ff1d,_0xec5eee,_0xe1916a,_0x4d7fbf){const _0x472873=_0x16a119;let _0x3e60e1=_0x115b0b(_0x11ff1d,_0xec5eee);return _0x3e60e1?!!_0x20f13a[_0x472873(0x1da)](_0x1e06fa[_0x472873(0x271)]['id'],{'unitId':_0x2c16a8,'actions':_0x3e60e1,'textRanges':[{'startOffset':_0x4d7fbf,'endOffset':_0x4d7fbf,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0xe1916a}):(_0x14fc34[_0x472873(0x216)]([{'startOffset':_0x4d7fbf,'endOffset':_0x4d7fbf}],{'unitId':_0x2c16a8,'subUnitId':_0x2c16a8},!0x1),!0x0);}let _0x4da496=_0x16a119(0x1ed);var _0x125d1b=_0x16a119(0x1d4),_0x1d76d0=_0x16a119(0x27b);let _0x51aa4c={};function _0x6abc19(_0x4e9bf6,_0x3bfb27){return function(_0x1e3b63,_0x42795f){_0x3bfb27(_0x1e3b63,_0x42795f,_0x4e9bf6);};}function _0x253236(_0x53fa8f,_0x452e02,_0x5dc9b3,_0x1b6553){const _0x251c0b=_0x16a119;var _0x5c0d20=arguments[_0x251c0b(0x291)],_0x3476a8=_0x5c0d20<0x3?_0x452e02:_0x1b6553===null?_0x1b6553=Object[_0x251c0b(0x217)](_0x452e02,_0x5dc9b3):_0x1b6553,_0x34eea3;if(typeof Reflect==_0x251c0b(0x246)&&typeof Reflect['decorate']=='function')_0x3476a8=Reflect[_0x251c0b(0x1d3)](_0x53fa8f,_0x452e02,_0x5dc9b3,_0x1b6553);else{for(var _0x2305ef=_0x53fa8f[_0x251c0b(0x291)]-0x1;_0x2305ef>=0x0;_0x2305ef--)(_0x34eea3=_0x53fa8f[_0x2305ef])&&(_0x3476a8=(_0x5c0d20<0x3?_0x34eea3(_0x3476a8):_0x5c0d20>0x3?_0x34eea3(_0x452e02,_0x5dc9b3,_0x3476a8):_0x34eea3(_0x452e02,_0x5dc9b3))||_0x3476a8);}return _0x5c0d20>0x3&&_0x3476a8&&Object[_0x251c0b(0x20a)](_0x452e02,_0x5dc9b3,_0x3476a8),_0x3476a8;}let _0x35b243=class extends _0x5e56ba[_0x16a119(0x1f3)]{constructor(_0x47e617,_0x5b7e04){const _0x5f5387=_0x16a119;super(),this['_resourceManagerService']=_0x47e617,this['_docsCodeModel']=_0x5b7e04,this[_0x5f5387(0x1cb)]();}[_0x16a119(0x1cb)](){const _0x233ee8=_0x16a119;this['disposeWithMe'](this[_0x233ee8(0x280)]['registerPluginResource']({'pluginName':_0x4da496,'businesses':[_0x5e56ba['UniverInstanceType'][_0x233ee8(0x1fd)]],'toJson':_0x3f0e72=>JSON[_0x233ee8(0x24f)](this[_0x233ee8(0x25a)][_0x233ee8(0x258)](_0x3f0e72)),'parseJson':_0x187ebe=>_0x54903e(JSON[_0x233ee8(0x26e)](_0x187ebe)),'onLoad':(_0x398dc6,_0x45a354)=>this['_docsCodeModel'][_0x233ee8(0x233)](_0x398dc6,_0x45a354),'onUnLoad':_0x3bd3b6=>this[_0x233ee8(0x25a)][_0x233ee8(0x211)](_0x3bd3b6)}));}};_0x35b243=_0x253236([_0x6abc19(0x0,_0x5e56ba[_0x16a119(0x24d)]),_0x6abc19(0x1,(0x0,_0x5e56ba[_0x16a119(0x286)])(_0x2320bb))],_0x35b243);let _0x1fa21f=class extends _0x5e56ba['Plugin']{constructor(_0x5740f3=_0x51aa4c,_0x1d656d,_0x8edff0,_0x3ce8a2){const _0xf7f80=_0x16a119;super(),this[_0xf7f80(0x293)]=_0x5740f3,this[_0xf7f80(0x230)]=_0x1d656d,this[_0xf7f80(0x204)]=_0x8edff0,this['_configService']=_0x3ce8a2;let {..._0x209452}=(0x0,_0x5e56ba[_0xf7f80(0x1fa)])({},_0x51aa4c,this[_0xf7f80(0x293)]);this[_0xf7f80(0x24b)][_0xf7f80(0x256)](_0xf7f80(0x288),_0x209452);}[_0x16a119(0x260)](){const _0x176bf0=_0x16a119;this['_injector'][_0x176bf0(0x28f)]([_0x2320bb]),this[_0x176bf0(0x230)][_0x176bf0(0x28f)]([_0x35b243]),this[_0x176bf0(0x230)]['get'](_0x2320bb),this[_0x176bf0(0x230)]['get'](_0x35b243),[_0x418564,_0x316a05,_0x1ba5e6,_0x1a6a26,_0x17da02,_0x52d7e1,_0x828dfb,_0x1a68ee,_0x4ed727,_0x1a2b6d]['forEach'](_0x13e9c0=>this[_0x176bf0(0x277)](this[_0x176bf0(0x204)][_0x176bf0(0x265)](_0x13e9c0)));}};_0x264d0e(_0x1fa21f,'pluginName',_0x4da496),_0x264d0e(_0x1fa21f,_0x16a119(0x264),_0x125d1b),_0x264d0e(_0x1fa21f,'version',_0x1d76d0),_0x264d0e(_0x1fa21f,'type',_0x5e56ba[_0x16a119(0x245)]['UNIVER_DOC']),_0x1fa21f=_0x253236([(0x0,_0x5e56ba[_0x16a119(0x22e)])(_0x5d5981[_0x16a119(0x1e9)],_0x1e06fa['UniverDocsPlugin']),_0x6abc19(0x1,(0x0,_0x5e56ba['Inject'])(_0x5e56ba[_0x16a119(0x234)])),_0x6abc19(0x2,_0x5e56ba[_0x16a119(0x201)]),_0x6abc19(0x3,_0x5e56ba[_0x16a119(0x23a)])],_0x1fa21f),_0x9f50bb[_0x16a119(0x1f8)]=_0x4da496,_0x9f50bb['DocsCodeCancelEmptyParagraphCommand']=_0x828dfb,_0x9f50bb[_0x16a119(0x257)]=_0x1a68ee,_0x9f50bb[_0x16a119(0x26f)]=_0x316a05,_0x9f50bb['DocsCodeInsertCommand']=_0x418564,_0x9f50bb[_0x16a119(0x218)]=_0x2320bb,_0x9f50bb['DocsCodeRemoveCommand']=_0x17da02,_0x9f50bb['DocsCodeUnwrapCommand']=_0x1a6a26,_0x9f50bb[_0x16a119(0x1dd)]=_0x1ba5e6,_0x9f50bb[_0x16a119(0x23c)]=_0x1a2b6d,_0x9f50bb['SetDocsCodeConfigMutation']=_0x4ed727,Object['defineProperty'](_0x9f50bb,_0x16a119(0x267),{'enumerable':!0x0,'get':function(){return _0x1fa21f;}}),_0x9f50bb[_0x16a119(0x26d)]=_0x5c5d27,_0x9f50bb[_0x16a119(0x231)]=_0x5e421e,_0x9f50bb['normalizeDocsCodeConfig']=_0x4d8eb6,_0x9f50bb[_0x16a119(0x297)]=_0x54903e;}));function _0x28af(){const _0x45edaa=['replaceDocRanges','getOwnPropertyDescriptor','DocsCodeModel','8307990LCxQSY','selectionManager','PARAGRAPH','docs-code.command.remove','columnGroups','startTokenOffset','getParagraphFollowingBlockOffset','entries','constructor','shiftExclusiveRangeOnInsert','@univerjs/core','3049629bQCzdI','model','clear','TABLE_CELL_END','get','setCodeConfig','filter','fromEntries','keepNext','TABLE_CELL_START','DependentOn','prototype','_injector','isCodeBoundaryDelete','nextMetadata','deserialize','Injector','getSnapshot','isHeaderFooterSelection','previousDocumentData','insert-new','forEach','IConfigService','retain','RemoveDocsCodeConfigMutation','CODE','dispose','docs-code.mutation.remove-config','slice','getBlockRangeInterval','@univerjs-pro/license','sort','asObservable','UniverInstanceType','object','commandService','134124SnNjbw','SECTION_BREAK','DocSelectionManagerService','_configService','dataStream','IResourceManagerService','javascript','stringify','left','paragraphs','UniverProLicense','reduce','DocumentBlockRangeType','push','setConfig','DocsCodeConsumeBoundaryDeleteCommand','serialize','next','_docsCodeModel','getInstance','direction','_resources','documentData','find','onStarting','getCodeConfig','containsStreamIndex','MUTATION','packageName','registerCommand','start','UniverDocsCodePlugin','replaceOp','getContentInsertRange','config','keys','indentEnd','buildCancelEmptyCodeParagraphActions','parse','DocsCodeInsertBelowCommand','handler','RichTextEditingMutation','CommandType','UniverDocs','docs-code.command.unwrap','COMMAND','2317lkuFbf','disposeWithMe','set','_setResource','containsInteriorInsertionOffset','1.0.1','intersectsOperationalIntervals','monospace','BLOCK_END','startOffset','_resourceManagerService','docs-code.command.update','widowControl','paragraph','customDecorations','docs-code.command.exit','Inject','customBlocks','docs-code.config','endsWith','docs-code.command.insert-below','docs-code.command.insert','symbol','spaceBelow','toPrimitive','add','65KnivNC','length','every','_config','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','1vyBocC','endTokenOffset','normalizeDocsCodeMetadataResource','blockId','paragraphStartIndex','default','exports','function','min','TextX','getBody','map','docs-code.mutation.set-config','BuildTextUtils','bullet','blockType','spaceAbove','shiftExclusiveRangeOnDelete','Subject','max','_initResource','sectionBreaks','getUnitId','docs-code.command.consume-boundary-delete','insertOp','getParagraphContentStartOffset','2344748sOUDgA','paragraphStyle','decorate','@univerjs-pro/docs-code','body','right','blockRanges','DataStreamTreeTokenType','insertionMode','syncExecuteCommand','JSONX','indentStart','DocsCodeUpdateCommand','amd','FALSE','change$','textRuns','Document\x20body\x20is\x20required','removeCode','paragraphId','tables','13984hgoBjw','endOffset','startIndex','UniverLicensePlugin','iterator','complete','_change$','DOC_CODE_PLUGIN','getBodySliceForTextXAction','Module','toStringTag','docs-code.command.cancel-empty-paragraph','removeOp','Disposable','createParagraphId','endIndex','string','BLOCK_START','DOCS_CODE_PLUGIN','BooleanNumber','merge','cursorOffset','metadata','UNIVER_DOC','compose','getCurrentUnitOfType','customRanges','ICommandService','5700798yZlvRe','textStyle','_commandService','nextDocumentData','indexOf','keepLines','3WDRSGX','columns','defineProperty','2473852TqbDRh','getParagraphContentStartOffsets','shiftInclusiveRangeOnDelete','getSingleDataStreamChange','IUniverInstanceService','unitId','removeUnit','isArray','codes','some','TRUE'];_0x28af=function(){return _0x45edaa;};return _0x28af();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Code block model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,12 +61,12 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/license": "1.0.0",
65
- "@univerjs/core": "1.0.0",
66
- "@univerjs/docs": "1.0.0"
64
+ "@univerjs-pro/license": "1.0.1",
65
+ "@univerjs/core": "1.0.1",
66
+ "@univerjs/docs": "1.0.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.0.0",
69
+ "@univerjs-infra/shared": "1.0.1",
70
70
  "rxjs": "7.8.2",
71
71
  "typescript": "^6.0.3",
72
72
  "vitest": "^5.0.0"