@univerjs-pro/docs-code 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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;}});}));
|
|
1
|
+
function _0x3114(){var _0x19520a=['symbol','_injector','12051603sDXOnm','toPrimitive','defineProperty','11694QsdJaX','@univerjs-pro/docs-code','_blockId','539599ZzFqoD','decorate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','3257448ssRafc','object','CODE','DocumentBlockRangeType','_getBlockRanges','normalizeDocsCodeConfig','unwrap','iterator','call','2516590bxQJOp','_getBlockRange','filter','remove','constructor','1099041LQQuXm','DocsCodeRemoveCommand','_getDocumentData','BLOCK_END','from','BLOCK_START','prototype','_createFDocumentCode','2KhVuGl','startIndex','toStringTag','DataStreamTreeTokenType','get','25370686bTEjei','Injector','UniverDocsFacade','updateConfig','getRange','isParagraphFacade','FDocumentCode','slice','text','Inject','createInstance','function','ICommandService','Module','map','getText','7HzVlSi','getCodes','_unitId','amd','FDocument','SECTION_BREAK','generateRandomId','findCodes','DocsCodeUnwrapCommand','syncExecuteCommand','find','getOwnPropertyDescriptor','blockRanges','DocsCodeModel','findCodeByText','dataStream','endIndex','some','UniverProDocsCodeFacade','length','blockType','getCodeAt','blockId','getConfig','_document','body','string','DocsCodeInsertCommand','getId','DocsCodeUpdateCommand','getCodeConfig','save','4lfPzFB','2425tIuDpM'];_0x3114=function(){return _0x19520a;};return _0x3114();}function _0x299b(_0x177f31,_0x35de84){_0x177f31=_0x177f31-0x9e;var _0x31146e=_0x3114();var _0x299b8e=_0x31146e[_0x177f31];return _0x299b8e;}(function(_0x32a07a,_0x38564a){var _0x4cea65=_0x299b,_0x370098=_0x32a07a();while(!![]){try{var _0x4e1586=-parseInt(_0x4cea65(0xc7))/0x1*(-parseInt(_0x4cea65(0xe0))/0x2)+-parseInt(_0x4cea65(0xd8))/0x3*(parseInt(_0x4cea65(0xbd))/0x4)+-parseInt(_0x4cea65(0xbe))/0x5*(parseInt(_0x4cea65(0xc4))/0x6)+-parseInt(_0x4cea65(0xf5))/0x7*(-parseInt(_0x4cea65(0xca))/0x8)+-parseInt(_0x4cea65(0xc1))/0x9+parseInt(_0x4cea65(0xd3))/0xa+parseInt(_0x4cea65(0xe5))/0xb;if(_0x4e1586===_0x38564a)break;else _0x370098['push'](_0x370098['shift']());}catch(_0xa5aafe){_0x370098['push'](_0x370098['shift']());}}}(_0x3114,0xd08aa),function(_0x1f5bab,_0x29d7e6){var _0x2932aa=_0x299b;typeof exports==_0x2932aa(0xcb)&&typeof module<'u'?_0x29d7e6(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x2932aa(0xf0)&&define[_0x2932aa(0xa0)]?define(['exports',_0x2932aa(0xc5),'@univerjs/core','@univerjs/docs/facade'],_0x29d7e6):(_0x1f5bab=typeof globalThis<'u'?globalThis:_0x1f5bab||self,_0x29d7e6(_0x1f5bab[_0x2932aa(0xaf)]={},_0x1f5bab['UniverProDocsCode'],_0x1f5bab['UniverCore'],_0x1f5bab[_0x2932aa(0xe7)]));}(this,function(_0x1cae52,_0x215ddd,_0x5069ce,_0x113430){var _0x5d0e10=_0x299b;Object[_0x5d0e10(0xc3)](_0x1cae52,Symbol[_0x5d0e10(0xe2)],{'value':_0x5d0e10(0xf2)});function _0x57cf60(_0x46c1bc){'@babel/helpers - typeof';var _0x2ea60a=_0x5d0e10;return _0x57cf60=typeof Symbol=='function'&&typeof Symbol[_0x2ea60a(0xd1)]==_0x2ea60a(0xbf)?function(_0x56410e){return typeof _0x56410e;}:function(_0x4a269f){var _0x52d0e7=_0x2ea60a;return _0x4a269f&&typeof Symbol==_0x52d0e7(0xf0)&&_0x4a269f[_0x52d0e7(0xd7)]===Symbol&&_0x4a269f!==Symbol[_0x52d0e7(0xde)]?_0x52d0e7(0xbf):typeof _0x4a269f;},_0x57cf60(_0x46c1bc);}function _0x1613a6(_0xf21e37,_0x4ea5e4){var _0x31a77=_0x5d0e10;if(_0x57cf60(_0xf21e37)!=_0x31a77(0xcb)||!_0xf21e37)return _0xf21e37;var _0x8a1656=_0xf21e37[Symbol[_0x31a77(0xc2)]];if(_0x8a1656!==void 0x0){var _0x56e37a=_0x8a1656[_0x31a77(0xd2)](_0xf21e37,_0x4ea5e4||'default');if(_0x57cf60(_0x56e37a)!=_0x31a77(0xcb))return _0x56e37a;throw TypeError(_0x31a77(0xc9));}return(_0x4ea5e4===_0x31a77(0xb7)?String:Number)(_0xf21e37);}function _0x5796d7(_0x476ac7){var _0x597286=_0x5d0e10,_0xd55e7c=_0x1613a6(_0x476ac7,'string');return _0x57cf60(_0xd55e7c)==_0x597286(0xbf)?_0xd55e7c:_0xd55e7c+'';}function _0x3863ce(_0x201994,_0x3d3e4b,_0x135a92){var _0x8ede46=_0x5d0e10;return(_0x3d3e4b=_0x5796d7(_0x3d3e4b))in _0x201994?Object[_0x8ede46(0xc3)](_0x201994,_0x3d3e4b,{'value':_0x135a92,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x201994[_0x3d3e4b]=_0x135a92,_0x201994;}function _0x58caf7(_0x27b65b,_0x4f3051){return function(_0x2bacfa,_0x31e907){_0x4f3051(_0x2bacfa,_0x31e907,_0x27b65b);};}function _0x4f2234(_0x5e2d29,_0x5da662,_0x575ce9,_0x2a6ac4){var _0x6b150e=_0x5d0e10,_0x5bbca2=arguments['length'],_0x241cb3=_0x5bbca2<0x3?_0x5da662:_0x2a6ac4===null?_0x2a6ac4=Object[_0x6b150e(0xa8)](_0x5da662,_0x575ce9):_0x2a6ac4,_0xdce955;if(typeof Reflect==_0x6b150e(0xcb)&&typeof Reflect[_0x6b150e(0xc8)]==_0x6b150e(0xf0))_0x241cb3=Reflect[_0x6b150e(0xc8)](_0x5e2d29,_0x5da662,_0x575ce9,_0x2a6ac4);else{for(var _0xb7ad5c=_0x5e2d29[_0x6b150e(0xb0)]-0x1;_0xb7ad5c>=0x0;_0xb7ad5c--)(_0xdce955=_0x5e2d29[_0xb7ad5c])&&(_0x241cb3=(_0x5bbca2<0x3?_0xdce955(_0x241cb3):_0x5bbca2>0x3?_0xdce955(_0x5da662,_0x575ce9,_0x241cb3):_0xdce955(_0x5da662,_0x575ce9))||_0x241cb3);}return _0x5bbca2>0x3&&_0x241cb3&&Object[_0x6b150e(0xc3)](_0x5da662,_0x575ce9,_0x241cb3),_0x241cb3;}let _0x421126=class{constructor(_0x2a92d1,_0x65a609,_0xf422ba){var _0x48c4ed=_0x5d0e10;this['_document']=_0x2a92d1,this['_blockId']=_0x65a609,this[_0x48c4ed(0xc0)]=_0xf422ba,_0x3863ce(this,_0x48c4ed(0x9f),void 0x0),this[_0x48c4ed(0x9f)]=this[_0x48c4ed(0xb5)][_0x48c4ed(0xb9)]();}['getId'](){var _0x3bb8c8=_0x5d0e10;return this[_0x3bb8c8(0xc6)];}['getRange'](){var _0x53da97=_0x5d0e10;let _0x3b1940=this[_0x53da97(0xd4)]();return _0x3b1940?{'blockId':_0x3b1940[_0x53da97(0xb3)],'endIndex':_0x3b1940[_0x53da97(0xad)],'startIndex':_0x3b1940[_0x53da97(0xe1)]}:null;}['getText'](){var _0x255537=_0x5d0e10,_0x1a3b50;let _0xb19fc6=this[_0x255537(0xd4)](),_0x5871bb=(_0x1a3b50=this[_0x255537(0xda)]()[_0x255537(0xb6)])==null?void 0x0:_0x1a3b50[_0x255537(0xac)];return!_0xb19fc6||!_0x5871bb?'':_0x39cc45(_0x5871bb[_0x255537(0xec)](_0xb19fc6[_0x255537(0xe1)]+0x1,_0xb19fc6[_0x255537(0xad)]));}['describe'](){var _0x5037d1=_0x5d0e10;let _0x1c71d7=this[_0x5037d1(0xe9)]();return _0x1c71d7?{..._0x1c71d7,'config':this[_0x5037d1(0xb4)](),'text':this['getText'](),'type':_0x5069ce[_0x5037d1(0xcd)][_0x5037d1(0xcc)]}:null;}['getConfig'](){var _0x22b74a=_0x5d0e10;let _0x52bec7=this[_0x22b74a(0xc0)]['get'](_0x215ddd[_0x22b74a(0xaa)]);return(0x0,_0x215ddd[_0x22b74a(0xcf)])(_0x52bec7[_0x22b74a(0xbb)](this[_0x22b74a(0x9f)],this[_0x22b74a(0xc6)]));}[_0x5d0e10(0xe8)](_0x5bb017){var _0x1d5232=_0x5d0e10;return this[_0x1d5232(0xc0)]['get'](_0x5069ce['ICommandService'])[_0x1d5232(0xa6)](_0x215ddd[_0x1d5232(0xba)]['id'],{'blockId':this[_0x1d5232(0xc6)],'config':_0x5bb017['config'],'unitId':this[_0x1d5232(0x9f)]});}[_0x5d0e10(0xd0)](){var _0x301b6a=_0x5d0e10;return this[_0x301b6a(0xc0)][_0x301b6a(0xe4)](_0x5069ce[_0x301b6a(0xf1)])['syncExecuteCommand'](_0x215ddd[_0x301b6a(0xa5)]['id'],{'blockId':this[_0x301b6a(0xc6)],'unitId':this[_0x301b6a(0x9f)]});}[_0x5d0e10(0xd6)](){var _0x12521f=_0x5d0e10;return this[_0x12521f(0xc0)]['get'](_0x5069ce[_0x12521f(0xf1)])[_0x12521f(0xa6)](_0x215ddd[_0x12521f(0xd9)]['id'],{'blockId':this['_blockId'],'unitId':this['_unitId']});}[_0x5d0e10(0xd4)](){var _0x4d1398=_0x5d0e10,_0x4530be;return((_0x4530be=this[_0x4d1398(0xda)]()[_0x4d1398(0xb6)])==null||(_0x4530be=_0x4530be[_0x4d1398(0xa9)])==null?void 0x0:_0x4530be[_0x4d1398(0xa7)](_0x285c86=>_0x285c86[_0x4d1398(0xb3)]===this['_blockId']&&_0x285c86[_0x4d1398(0xb1)]===_0x5069ce[_0x4d1398(0xcd)]['CODE']))??null;}[_0x5d0e10(0xda)](){var _0x2096cd=_0x5d0e10;return this['_document'][_0x2096cd(0xbc)]();}};_0x421126=_0x4f2234([_0x58caf7(0x2,(0x0,_0x5069ce[_0x5d0e10(0xee)])(_0x5069ce[_0x5d0e10(0xe6)]))],_0x421126);function _0x39cc45(_0x4d098c){var _0x2d06d4=_0x5d0e10;return Array[_0x2d06d4(0xdc)](_0x4d098c)['map'](_0x4c2bd7=>_0x4c2bd7===_0x5069ce[_0x2d06d4(0xe3)]['PARAGRAPH']?'\x0a':_0x4c2bd7)[_0x2d06d4(0xd5)](_0x2d4ed7=>_0x2d4ed7!==_0x5069ce[_0x2d06d4(0xe3)][_0x2d06d4(0xdd)]&&_0x2d4ed7!==_0x5069ce['DataStreamTreeTokenType'][_0x2d06d4(0xdb)]&&_0x2d4ed7!==_0x5069ce['DataStreamTreeTokenType'][_0x2d06d4(0xa2)])['join']('')['replace'](/\n$/,'');}var _0xaf6292=class extends _0x113430['FDocument']{[_0x5d0e10(0x9e)](){var _0x135cf4=_0x5d0e10;return this[_0x135cf4(0xce)]()[_0x135cf4(0xd5)](_0x5b6441=>_0x5b6441['blockType']===_0x5069ce[_0x135cf4(0xcd)]['CODE'])[_0x135cf4(0xf3)](_0x5d0d13=>this[_0x135cf4(0xdf)](_0x5d0d13[_0x135cf4(0xb3)]));}['getCode'](_0x256381){var _0x3bf55e=_0x5d0e10;return this[_0x3bf55e(0xce)]()[_0x3bf55e(0xae)](_0x1c5f74=>_0x1c5f74[_0x3bf55e(0xb3)]===_0x256381&&_0x1c5f74['blockType']===_0x5069ce[_0x3bf55e(0xcd)]['CODE'])?this[_0x3bf55e(0xdf)](_0x256381):null;}[_0x5d0e10(0xb2)](_0x20a3b3){var _0x2b1630=_0x5d0e10;let _0x27fa0e=this[_0x2b1630(0xce)]()[_0x2b1630(0xa7)](_0x3d804d=>_0x3d804d[_0x2b1630(0xb1)]===_0x5069ce[_0x2b1630(0xcd)][_0x2b1630(0xcc)]&&_0x3d804d['startIndex']<=_0x20a3b3&&_0x20a3b3<=_0x3d804d['endIndex']);return _0x27fa0e?this[_0x2b1630(0xdf)](_0x27fa0e[_0x2b1630(0xb3)]):null;}[_0x5d0e10(0xab)](_0x43778d){var _0x2b27d5=_0x5d0e10;return this[_0x2b27d5(0xa4)](_0x43778d)[0x0]??null;}[_0x5d0e10(0xa4)](_0x4e9660){var _0x45c00f=_0x5d0e10;let _0x397752=typeof _0x4e9660==_0x45c00f(0xb7)?{'text':_0x4e9660}:_0x4e9660;return this['getCodes']()[_0x45c00f(0xd5)](_0x57b977=>!(_0x397752[_0x45c00f(0xb3)]&&_0x57b977[_0x45c00f(0xb9)]()!==_0x397752['blockId']||_0x397752[_0x45c00f(0xed)]&&!_0x57b977[_0x45c00f(0xf4)]()['includes'](_0x397752[_0x45c00f(0xed)])));}['insertCode'](_0x210337={},_0x3e8bc2={}){var _0x3d7941=_0x5d0e10;let _0x5d15f1=this[_0x3d7941(0xc0)][_0x3d7941(0xe4)](_0x5069ce[_0x3d7941(0xf1)]),_0x7045c0=(0x0,_0x113430[_0x3d7941(0xea)])(_0x210337)?{..._0x3e8bc2,..._0x210337[_0x3d7941(0xe9)]()}:_0x210337,_0x4b7cf1=_0x7045c0[_0x3d7941(0xb3)]??(0x0,_0x5069ce[_0x3d7941(0xa3)])(0x6);return _0x5d15f1[_0x3d7941(0xa6)](_0x215ddd[_0x3d7941(0xb8)]['id'],{..._0x7045c0,'blockId':_0x4b7cf1,'unitId':this[_0x3d7941(0xb9)]()})?this['getCode'](_0x4b7cf1):null;}[_0x5d0e10(0xce)](){var _0x1be4a4=_0x5d0e10,_0x1dc84c;return((_0x1dc84c=this[_0x1be4a4(0xbc)]()['body'])==null?void 0x0:_0x1dc84c[_0x1be4a4(0xa9)])??[];}[_0x5d0e10(0xdf)](_0xc4c656){var _0x3e58df=_0x5d0e10;return this[_0x3e58df(0xc0)][_0x3e58df(0xef)](_0x421126,this,_0xc4c656);}};_0x113430[_0x5d0e10(0xa1)]['extend'](_0xaf6292),Object[_0x5d0e10(0xc3)](_0x1cae52,_0x5d0e10(0xeb),{'enumerable':!0x0,'get':function(){return _0x421126;}});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _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();}
|
|
1
|
+
(function(_0x80e8ba,_0x3f80cc){const _0x523886=_0x3926,_0x5b7735=_0x80e8ba();while(!![]){try{const _0x24b947=parseInt(_0x523886(0x23f))/0x1*(-parseInt(_0x523886(0x19c))/0x2)+-parseInt(_0x523886(0x182))/0x3+parseInt(_0x523886(0x1b4))/0x4+-parseInt(_0x523886(0x206))/0x5+-parseInt(_0x523886(0x227))/0x6*(-parseInt(_0x523886(0x219))/0x7)+parseInt(_0x523886(0x229))/0x8*(parseInt(_0x523886(0x234))/0x9)+parseInt(_0x523886(0x1f9))/0xa*(parseInt(_0x523886(0x257))/0xb);if(_0x24b947===_0x3f80cc)break;else _0x5b7735['push'](_0x5b7735['shift']());}catch(_0x2ac242){_0x5b7735['push'](_0x5b7735['shift']());}}}(_0x24eb,0x53f6a),function(_0x34f33d,_0x41080c){const _0x2fb5c0=_0x3926;typeof exports==_0x2fb5c0(0x259)&&typeof module<'u'?_0x41080c(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x2fb5c0(0x212)&&define[_0x2fb5c0(0x1f0)]?define([_0x2fb5c0(0x244),_0x2fb5c0(0x183),_0x2fb5c0(0x22b),_0x2fb5c0(0x220),'@univerjs-pro/license'],_0x41080c):(_0x34f33d=typeof globalThis<'u'?globalThis:_0x34f33d||self,_0x41080c(_0x34f33d[_0x2fb5c0(0x253)]={},_0x34f33d[_0x2fb5c0(0x200)],_0x34f33d[_0x2fb5c0(0x22b)],_0x34f33d[_0x2fb5c0(0x1e2)],_0x34f33d[_0x2fb5c0(0x1dc)]));}(this,function(_0x3a686e,_0x3ec08c,_0x1f3046,_0x514b03,_0x4d0859){const _0x309445=_0x3926;Object[_0x309445(0x24c)](_0x3a686e,Symbol[_0x309445(0x1bc)],{'value':_0x309445(0x1d4)});let _0x412018={'language':_0x309445(0x1b3),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x627ab3(_0x213aed){return{..._0x412018,..._0x213aed};}function _0x4d8be0(_0x16ccde){const _0x104b11=_0x309445;let _0x2c4f0a=(_0x16ccde==null?void 0x0:_0x16ccde[_0x104b11(0x242)])??{};return{'codes':Object[_0x104b11(0x1a0)](Object[_0x104b11(0x1c1)](_0x2c4f0a)[_0x104b11(0x23a)](([_0x5707d3,_0x49a61c])=>[_0x5707d3,_0x627ab3(_0x49a61c)]))};}function _0x546965(_0x2fd52d,_0x243cb8,_0x57a2c6){const _0x474fdb=_0x309445;let _0x116a75=_0x4d8be0(_0x2fd52d);return _0x116a75[_0x474fdb(0x242)][_0x243cb8]=_0x627ab3({..._0x116a75[_0x474fdb(0x242)][_0x243cb8],..._0x57a2c6}),_0x116a75;}function _0x2fa9af(_0x563606,_0x5bd1ec){const _0x5a44e9=_0x309445;let _0x5bfc51=_0x4d8be0(_0x563606);return delete _0x5bfc51[_0x5a44e9(0x242)][_0x5bd1ec],_0x5bfc51;}function _0x5292f5(_0x1f4016){'@babel/helpers - typeof';const _0x52fd65=_0x309445;return _0x5292f5=typeof Symbol==_0x52fd65(0x212)&&typeof Symbol[_0x52fd65(0x256)]==_0x52fd65(0x1f6)?function(_0x5547e4){return typeof _0x5547e4;}:function(_0x1a65f7){const _0x32561c=_0x52fd65;return _0x1a65f7&&typeof Symbol==_0x32561c(0x212)&&_0x1a65f7[_0x32561c(0x203)]===Symbol&&_0x1a65f7!==Symbol[_0x32561c(0x185)]?'symbol':typeof _0x1a65f7;},_0x5292f5(_0x1f4016);}function _0x3812bd(_0x2642f7,_0x5db434){const _0xe7cfef=_0x309445;if(_0x5292f5(_0x2642f7)!=_0xe7cfef(0x259)||!_0x2642f7)return _0x2642f7;var _0x3687cd=_0x2642f7[Symbol[_0xe7cfef(0x197)]];if(_0x3687cd!==void 0x0){var _0x4a7859=_0x3687cd[_0xe7cfef(0x1bb)](_0x2642f7,_0x5db434||'default');if(_0x5292f5(_0x4a7859)!=_0xe7cfef(0x259))return _0x4a7859;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5db434==='string'?String:Number)(_0x2642f7);}function _0x16b248(_0x361385){const _0xd097dc=_0x309445;var _0x3ce6fa=_0x3812bd(_0x361385,'string');return _0x5292f5(_0x3ce6fa)==_0xd097dc(0x1f6)?_0x3ce6fa:_0x3ce6fa+'';}function _0x6a7255(_0x55fec6,_0x8d1cc7,_0x52415c){return(_0x8d1cc7=_0x16b248(_0x8d1cc7))in _0x55fec6?Object['defineProperty'](_0x55fec6,_0x8d1cc7,{'value':_0x52415c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55fec6[_0x8d1cc7]=_0x52415c,_0x55fec6;}var _0xea2109=class extends _0x3ec08c[_0x309445(0x23d)]{constructor(..._0x3f9109){const _0x28b242=_0x309445;super(..._0x3f9109),_0x6a7255(this,_0x28b242(0x199),new Map()),_0x6a7255(this,'_change$',new _0x1f3046[(_0x28b242(0x1ea))]()),_0x6a7255(this,_0x28b242(0x221),this[_0x28b242(0x1ca)]['asObservable']());}['getCodeConfig'](_0x2b3582,_0x41165d){const _0x394e7d=_0x309445;return _0x4d8be0(this[_0x394e7d(0x199)][_0x394e7d(0x23b)](_0x2b3582))[_0x394e7d(0x242)][_0x41165d];}[_0x309445(0x231)](_0x5bd5a0,_0x271ef8,_0x471f13){const _0x3d64e3=_0x309445;this[_0x3d64e3(0x1f7)](_0x5bd5a0,_0x271ef8,_0x546965(this[_0x3d64e3(0x199)]['get'](_0x5bd5a0),_0x271ef8,_0x471f13));}[_0x309445(0x1af)](_0x12e015,_0x1145a6){const _0xb9740a=_0x309445;this['_setResource'](_0x12e015,_0x1145a6,_0x2fa9af(this[_0xb9740a(0x199)][_0xb9740a(0x23b)](_0x12e015),_0x1145a6));}['serialize'](_0x40566a){const _0x31a5c3=_0x309445;return _0x4d8be0(this[_0x31a5c3(0x199)][_0x31a5c3(0x23b)](_0x40566a));}['deserialize'](_0x2ac7b5,_0x2ab5c6){const _0x2c6c41=_0x309445;this[_0x2c6c41(0x199)][_0x2c6c41(0x1c8)](_0x2ac7b5,_0x4d8be0(_0x2ab5c6)),this['_change$'][_0x2c6c41(0x1fe)]({'unitId':_0x2ac7b5});}[_0x309445(0x210)](_0x1f5c1a){const _0x4ad742=_0x309445;this['_resources'][_0x4ad742(0x1ee)](_0x1f5c1a),this[_0x4ad742(0x1ca)][_0x4ad742(0x1fe)]({'unitId':_0x1f5c1a});}[_0x309445(0x18f)](){const _0x3eabea=_0x309445;super[_0x3eabea(0x18f)](),this[_0x3eabea(0x199)][_0x3eabea(0x1a6)](),this[_0x3eabea(0x1ca)][_0x3eabea(0x1f5)]();}[_0x309445(0x1f7)](_0x198774,_0x40f4fc,_0x9b1196){const _0x535a42=_0x309445;this[_0x535a42(0x199)]['set'](_0x198774,_0x9b1196),this['_change$'][_0x535a42(0x1fe)]({'unitId':_0x198774,'blockId':_0x40f4fc});}};let _0x58a5db={'id':_0x309445(0x1ae),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1d0)],'handler':(_0x5ac279,_0x3889d3)=>!(_0x3889d3!=null&&_0x3889d3[_0x309445(0x17e)])||!_0x3889d3['blockId']?!0x1:(_0x5ac279['get'](_0xea2109)[_0x309445(0x231)](_0x3889d3[_0x309445(0x17e)],_0x3889d3[_0x309445(0x254)],_0x3889d3[_0x309445(0x1e7)]),!0x0)},_0x2ef9cf={'id':_0x309445(0x237),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1d0)],'handler':(_0x19689d,_0xcfa5c2)=>!(_0xcfa5c2!=null&&_0xcfa5c2[_0x309445(0x17e)])||!_0xcfa5c2[_0x309445(0x254)]?!0x1:(_0x19689d[_0x309445(0x23b)](_0xea2109)['removeCode'](_0xcfa5c2['unitId'],_0xcfa5c2[_0x309445(0x254)]),!0x0)},_0x2fda6a=_0x309445(0x17f);var _0x4601fe=class extends Error{constructor(_0x2c2e22=_0x309445(0x1b8)){super(_0x2c2e22);}};function _0x4ca597(_0x33b51f){const _0x39ef35=_0x309445;var _0x4a4ac8;let _0x2339f4=_0x5ad516(_0x33b51f[_0x39ef35(0x1ff)]),_0x345f1a=_0x20c914(_0x2339f4),_0x341c76=_0x194a78(_0x33b51f['startOffset'],_0x33b51f['endOffset']),_0x251342=_0x341c76?(_0x4a4ac8=_0x345f1a[_0x39ef35(0x1bd)])==null?void 0x0:_0x4a4ac8[_0x39ef35(0x18d)](_0x3ea5a5=>{const _0x599a47=_0x39ef35;let _0x5b8ce9=(0x0,_0x3ec08c['getBlockRangeInterval'])(_0x3ea5a5);return _0x5b8ce9[_0x599a47(0x1ed)]===_0x341c76['startOffset']&&_0x5b8ce9['endOffset']===_0x341c76[_0x599a47(0x1f1)];}):void 0x0,{startOffset:_0x3ae533,endOffset:_0x2ea353}=_0x251342?_0x341c76:_0x2e4700(_0x345f1a,_0x33b51f[_0x39ef35(0x1ed)],_0x33b51f[_0x39ef35(0x1f1)],_0x33b51f[_0x39ef35(0x1cd)]);if(!_0x251342&&_0x430dad(_0x345f1a,_0x3ae533,_0x2ea353))throw new _0x4601fe('Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block');let _0x5b951f=_0x2e93d4(_0x345f1a,_0x3ae533,_0x2ea353),_0x24adff=(_0x251342==null?void 0x0:_0x251342[_0x39ef35(0x254)])??_0x33b51f['blockId'],_0x5a6346=_0x546965(_0x33b51f[_0x39ef35(0x251)],_0x24adff,{..._0x412018,..._0x33b51f[_0x39ef35(0x1e7)]});if(_0x251342)return _0x251342[_0x39ef35(0x24d)]=_0x3ec08c[_0x39ef35(0x1f3)]['CODE'],_0x391f2e(_0x345f1a,_0x3ae533,_0x2ea353),_0x166b4c(_0x345f1a,_0x3ae533,_0x2ea353,_0x5b951f),_0xabc62f(_0x345f1a,_0x251342),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};if(_0x3ae533===_0x2ea353){var _0x4d62e6,_0x11fb1b;let _0x3752a5=''+_0x3ec08c['DataStreamTreeTokenType'][_0x39ef35(0x252)]+_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1de)]+_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1ec)];_0x41f5f3(_0x345f1a,_0x3ae533,_0x3752a5,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x3ec08c[_0x39ef35(0x25b)])(new Set((_0x4d62e6=_0x345f1a[_0x39ef35(0x236)])==null?void 0x0:_0x4d62e6[_0x39ef35(0x23a)](_0x27587b=>_0x27587b['paragraphId']))),'paragraphStyle':_0xaa3d3e(!0x0,!0x0,_0x5b951f)}],'blockRanges':[{'blockId':_0x24adff,'blockType':_0x3ec08c[_0x39ef35(0x1f3)]['CODE'],'startIndex':0x0,'endIndex':_0x3752a5[_0x39ef35(0x1ba)]-0x1}]});let _0x5c5e81=(_0x11fb1b=_0x345f1a['blockRanges'])==null?void 0x0:_0x11fb1b['find'](_0x59e639=>_0x59e639['blockId']===_0x24adff);return _0x5c5e81&&_0xabc62f(_0x345f1a,_0x5c5e81),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};}_0x41f5f3(_0x345f1a,_0x2ea353,_0x3ec08c[_0x39ef35(0x218)][_0x39ef35(0x1ec)]),_0x41f5f3(_0x345f1a,_0x3ae533,_0x3ec08c['DataStreamTreeTokenType'][_0x39ef35(0x252)]),_0x166b4c(_0x345f1a,_0x3ae533,_0x2ea353+0x1,_0x5b951f);let _0x2cc587={'blockId':_0x24adff,'blockType':_0x3ec08c['DocumentBlockRangeType'][_0x39ef35(0x20a)],'startIndex':_0x3ae533,'endIndex':_0x2ea353+0x1};return _0x345f1a[_0x39ef35(0x1bd)]=[..._0x345f1a[_0x39ef35(0x1bd)]??[],_0x2cc587][_0x39ef35(0x19e)]((_0x23d2eb,_0x561cfa)=>_0x23d2eb[_0x39ef35(0x207)]-_0x561cfa['startIndex']),_0xabc62f(_0x345f1a,_0x2cc587),{'nextDocumentData':_0x2339f4,'nextMetadata':_0x5a6346,'cursorOffset':_0x3ae533+0x1};}function _0x391f2e(_0x4d5159,_0x294bb7,_0x2ed28d){const _0x11b162=_0x309445;(_0x4d5159[_0x11b162(0x236)]??[])['filter'](_0x2706a3=>_0x2706a3[_0x11b162(0x207)]>_0x294bb7&&_0x2706a3[_0x11b162(0x207)]<_0x2ed28d)[_0x11b162(0x1d6)](_0xe3d4a6=>{const _0x1ea9e0=_0x11b162;let _0x5a26da={..._0xe3d4a6[_0x1ea9e0(0x21b)]??{}};delete _0x5a26da[_0x1ea9e0(0x1d5)],delete _0x5a26da[_0x1ea9e0(0x17c)],_0xe3d4a6[_0x1ea9e0(0x21b)]=_0x5a26da;});}function _0x194a78(_0x1802c4,_0x3f262c){const _0x18c6aa=_0x309445;return _0x1802c4==null||_0x3f262c==null||_0x1802c4===_0x3f262c?null:{'startOffset':Math[_0x18c6aa(0x18a)](_0x1802c4,_0x3f262c),'endOffset':Math['max'](_0x1802c4,_0x3f262c)};}function _0x430dad(_0x1f2f2f,_0x1844da,_0x831dcb){const _0x1d08fe=_0x309445;return(_0x1f2f2f[_0x1d08fe(0x1bd)]??[])[_0x1d08fe(0x1dd)](_0x2cb1a0=>{const _0x32aa32=_0x1d08fe;let _0x54519c=(0x0,_0x3ec08c[_0x32aa32(0x194)])(_0x2cb1a0);return _0x1844da===_0x831dcb?(0x0,_0x3ec08c[_0x32aa32(0x1ad)])(_0x54519c,_0x1844da):(0x0,_0x3ec08c[_0x32aa32(0x1c3)])(_0x54519c,{'startOffset':_0x1844da,'endOffset':_0x831dcb});});}function _0x2e4649(_0x15007a){const _0x56d0fe=_0x309445;return{'nextDocumentData':_0x5ad516(_0x15007a[_0x56d0fe(0x1ff)]),'nextMetadata':_0x546965(_0x15007a['metadata'],_0x15007a['blockId'],_0x15007a['config']),'cursorOffset':0x0};}function _0x25ca4a(_0x4c42df){const _0x5a3a72=_0x309445;let _0x2efd18=_0x5ad516(_0x4c42df['documentData']),_0x261d53=_0x20c914(_0x2efd18),_0x264580=_0x2929e2(_0x261d53,_0x4c42df['blockId']);if(!_0x264580)return null;let _0x42c33d=_0x12281d(_0x261d53,_0x264580);return{'nextDocumentData':_0x2efd18,'nextMetadata':_0x2fa9af(_0x4c42df[_0x5a3a72(0x251)],_0x4c42df[_0x5a3a72(0x254)]),'cursorOffset':_0x42c33d};}function _0x5d58a9(_0x578933){const _0x1d1609=_0x309445;var _0x4bb3d6;let _0x13b15c=_0x5ad516(_0x578933[_0x1d1609(0x1ff)]),_0x3c74d4=_0x20c914(_0x13b15c),_0x67db74=_0x2929e2(_0x3c74d4,_0x578933[_0x1d1609(0x254)]);if(!_0x67db74)return null;let _0x16cb4b=(0x0,_0x3ec08c[_0x1d1609(0x194)])(_0x67db74);return _0x410d4e(_0x3c74d4,_0x16cb4b[_0x1d1609(0x1ed)],_0x16cb4b['endOffset']),_0x3c74d4[_0x1d1609(0x1bd)]=(_0x4bb3d6=_0x3c74d4['blockRanges'])==null?void 0x0:_0x4bb3d6[_0x1d1609(0x1eb)](_0x13b002=>_0x13b002[_0x1d1609(0x254)]!==_0x578933['blockId']),{'nextDocumentData':_0x13b15c,'nextMetadata':_0x2fa9af(_0x578933['metadata'],_0x578933['blockId']),'cursorOffset':_0x67db74[_0x1d1609(0x207)]};}function _0x1ad099(_0x4aef37){const _0x31a923=_0x309445;let _0x3669fd=_0x5ad516(_0x4aef37[_0x31a923(0x1ff)]),_0x309ccb=_0x20c914(_0x3669fd),_0x5adfef=_0x2f96b7(_0x309ccb,_0x4aef37[_0x31a923(0x250)]);return _0x5adfef&&_0xc612c6(_0x3669fd,_0x309ccb,_0x5adfef,_0x4aef37[_0x31a923(0x250)],_0x4aef37[_0x31a923(0x20f)])||null;}function _0xc612c6(_0x172b2f,_0x2a67df,_0x21ae3d,_0x1146ab,_0x126674){const _0x39c6c4=_0x309445;let _0x5d1f0f=_0x14ad24(_0x2a67df,_0x21ae3d,_0x1146ab,_0x126674);if(!_0x5d1f0f)return null;let _0x32d892=_0x5d1f0f[_0x39c6c4(0x21a)]-0x1;return _0x410d4e(_0x2a67df,_0x5d1f0f[_0x39c6c4(0x189)]['startIndex'],_0x5d1f0f[_0x39c6c4(0x189)][_0x39c6c4(0x207)]+0x1),{'nextDocumentData':_0x172b2f,'cursorOffset':_0x32d892};}function _0x2929e2(_0x5b8fb6,_0x123f66){const _0x1776f1=_0x309445;var _0x2dc39f;return _0x5b8fb6==null||(_0x2dc39f=_0x5b8fb6[_0x1776f1(0x1bd)])==null?void 0x0:_0x2dc39f[_0x1776f1(0x18d)](_0x3afc1e=>_0x3afc1e['blockType']===_0x3ec08c['DocumentBlockRangeType'][_0x1776f1(0x20a)]&&_0x3afc1e[_0x1776f1(0x254)]===_0x123f66);}function _0x280fb7(_0x85aad1){const _0x444e64=_0x309445;let _0x51c7c3=_0x85aad1[_0x444e64(0x1ff)][_0x444e64(0x1fd)];if(!_0x51c7c3)return!0x1;let _0x4df73b=_0x85aad1[_0x444e64(0x1aa)]==='left'?_0x85aad1[_0x444e64(0x250)]-0x1:_0x85aad1['cursorOffset'],_0x68250f=_0x85aad1[_0x444e64(0x1aa)]==='right'?_0x85aad1[_0x444e64(0x250)]+0x1:_0x4df73b;return(_0x51c7c3[_0x444e64(0x1bd)]??[])['some'](_0x5ed7aa=>_0x5ed7aa[_0x444e64(0x24d)]===_0x3ec08c[_0x444e64(0x1f3)]['CODE']?_0x4df73b===_0x5ed7aa[_0x444e64(0x207)]||_0x4df73b===_0x5ed7aa['endIndex']||_0x68250f===_0x5ed7aa['startIndex']||_0x68250f===_0x5ed7aa['endIndex']:!0x1);}function _0x2f96b7(_0x26fce1,_0x37c45c){var _0x173f44;return(_0x173f44=_0x26fce1['blockRanges'])==null?void 0x0:_0x173f44['find'](_0x2664f0=>{const _0x804aaa=_0x3926;let _0x44e451=_0x5444ff(_0x2664f0);return _0x2664f0[_0x804aaa(0x24d)]===_0x3ec08c[_0x804aaa(0x1f3)][_0x804aaa(0x20a)]&&_0x2664f0[_0x804aaa(0x207)]<=_0x37c45c&&_0x37c45c<=_0x44e451+0x2;});}function _0xaa3d3e(_0x2efd59,_0x43528b,_0x3d57d7=!0x1){const _0x2f7d8e=_0x309445;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x3ec08c[_0x2f7d8e(0x21e)]['TRUE'],'keepNext':_0x43528b?_0x3ec08c[_0x2f7d8e(0x21e)][_0x2f7d8e(0x247)]:_0x3ec08c[_0x2f7d8e(0x21e)][_0x2f7d8e(0x19f)],'widowControl':_0x3ec08c['BooleanNumber'][_0x2f7d8e(0x19f)],..._0x2efd59&&_0x3d57d7?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x2fda6a,'fs':0xc}};}function _0x166b4c(_0x428ea2,_0x15a295,_0x54ae90,_0x5457d6=!0x1){const _0x415742=_0x309445;let _0x30f7ed=(_0x428ea2[_0x415742(0x236)]??[])[_0x415742(0x1eb)](_0x4ed5ce=>_0x4ed5ce[_0x415742(0x207)]>_0x15a295&&_0x4ed5ce['startIndex']<_0x54ae90);_0x30f7ed[_0x415742(0x1d6)]((_0x49df62,_0x17dca0)=>{const _0xbdc6c5=_0x415742;_0x49df62[_0xbdc6c5(0x21b)]={..._0x49df62[_0xbdc6c5(0x21b)]??{},..._0xaa3d3e(_0x17dca0===0x0,_0x17dca0===_0x30f7ed[_0xbdc6c5(0x1ba)]-0x1,_0x5457d6)};});}function _0x598b24(_0x30171a){const _0x111257=_0x309445;var _0x1f323a,_0x5d41f1;let _0x19dbfe={..._0x30171a??{}};return delete _0x19dbfe[_0x111257(0x209)],delete _0x19dbfe['indentStart'],delete _0x19dbfe['spaceAbove'],delete _0x19dbfe[_0x111257(0x17c)],delete _0x19dbfe['keepLines'],delete _0x19dbfe[_0x111257(0x240)],delete _0x19dbfe[_0x111257(0x202)],((_0x1f323a=_0x19dbfe['textStyle'])==null?void 0x0:_0x1f323a['ff'])===_0x2fda6a&&((_0x5d41f1=_0x19dbfe[_0x111257(0x211)])==null?void 0x0:_0x5d41f1['fs'])===0xc&&delete _0x19dbfe[_0x111257(0x211)],_0x19dbfe;}function _0x4c506d(_0x14571d,_0x4ddf10){const _0x2578a0=_0x309445;let _0x3effb6=_0x5444ff(_0x4ddf10);return(_0x14571d['paragraphs']??[])['filter'](_0x3c7d08=>_0x3c7d08[_0x2578a0(0x207)]>_0x4ddf10['startIndex']&&_0x3c7d08[_0x2578a0(0x207)]<_0x3effb6);}function _0x12281d(_0x125912,_0x52e885){const _0x3241da=_0x309445;var _0x1ac71c;let _0x394bbb=_0x5444ff(_0x52e885);return _0x4c506d(_0x125912,_0x52e885)[_0x3241da(0x1d6)](_0x1a45e2=>{const _0x4fda6d=_0x3241da;_0x1a45e2[_0x4fda6d(0x21b)]=_0x598b24(_0x1a45e2[_0x4fda6d(0x21b)]);}),_0x410d4e(_0x125912,_0x394bbb,_0x394bbb+0x1),_0x410d4e(_0x125912,_0x52e885['startIndex'],_0x52e885[_0x3241da(0x207)]+0x1),_0x125912[_0x3241da(0x1bd)]=(_0x1ac71c=_0x125912[_0x3241da(0x1bd)])==null?void 0x0:_0x1ac71c['filter'](_0x3980da=>_0x3980da[_0x3241da(0x254)]!==_0x52e885['blockId']),_0x52e885['startIndex'];}function _0x5ad516(_0x5f0335){const _0x1d6a09=_0x309445;return{..._0x5f0335,'body':_0x5f0335[_0x1d6a09(0x1fd)]?_0x1497c4(_0x5f0335[_0x1d6a09(0x1fd)]):_0x5f0335[_0x1d6a09(0x1fd)]};}function _0x1497c4(_0x4b67d3){const _0x33162e=_0x309445;var _0x274bcb,_0x37c2c0,_0xb7816a,_0xb5a80,_0x516a1e,_0x559b86,_0x5c1621,_0x16a08f,_0x11e692;return{..._0x4b67d3,'paragraphs':(_0x274bcb=_0x4b67d3[_0x33162e(0x236)])==null?void 0x0:_0x274bcb[_0x33162e(0x23a)](_0x4c0daf=>({..._0x4c0daf,'bullet':_0x257efd(_0x4c0daf[_0x33162e(0x188)]),'paragraphStyle':_0x257efd(_0x4c0daf[_0x33162e(0x21b)])})),'sectionBreaks':(_0x37c2c0=_0x4b67d3[_0x33162e(0x249)])==null?void 0x0:_0x37c2c0[_0x33162e(0x23a)](_0x950118=>({..._0x950118})),'textRuns':(_0xb7816a=_0x4b67d3[_0x33162e(0x23c)])==null?void 0x0:_0xb7816a[_0x33162e(0x23a)](_0x2ade04=>({..._0x2ade04})),'tables':(_0xb5a80=_0x4b67d3['tables'])==null?void 0x0:_0xb5a80[_0x33162e(0x23a)](_0xd93775=>({..._0xd93775})),'columnGroups':(_0x516a1e=_0x4b67d3[_0x33162e(0x1c0)])==null?void 0x0:_0x516a1e[_0x33162e(0x23a)](_0x3bdbf5=>{const _0x9d6a67=_0x33162e;var _0x1b5605;return{..._0x3bdbf5,'columns':(_0x1b5605=_0x3bdbf5[_0x9d6a67(0x24a)])==null?void 0x0:_0x1b5605['map'](_0x23c639=>_0x257efd(_0x23c639))};}),'blockRanges':(_0x559b86=_0x4b67d3[_0x33162e(0x1bd)])==null?void 0x0:_0x559b86[_0x33162e(0x23a)](_0x4ed843=>({..._0x4ed843})),'customRanges':(_0x5c1621=_0x4b67d3[_0x33162e(0x232)])==null?void 0x0:_0x5c1621['map'](_0x460fa4=>({..._0x460fa4})),'customDecorations':(_0x16a08f=_0x4b67d3['customDecorations'])==null?void 0x0:_0x16a08f['map'](_0x2660d7=>({..._0x2660d7})),'customBlocks':(_0x11e692=_0x4b67d3[_0x33162e(0x178)])==null?void 0x0:_0x11e692[_0x33162e(0x23a)](_0x4caf74=>({..._0x4caf74}))};}function _0x257efd(_0x2d4bb4){const _0x23e793=_0x309445;return Array[_0x23e793(0x238)](_0x2d4bb4)?_0x2d4bb4[_0x23e793(0x23a)](_0x2f6f04=>_0x257efd(_0x2f6f04)):!_0x2d4bb4||typeof _0x2d4bb4!=_0x23e793(0x259)?_0x2d4bb4:Object[_0x23e793(0x1a0)](Object[_0x23e793(0x1c1)](_0x2d4bb4)[_0x23e793(0x23a)](([_0x11a0ef,_0x23dbc9])=>[_0x11a0ef,_0x257efd(_0x23dbc9)]));}function _0x20c914(_0xd9b823){const _0x32143c=_0x309445;if(!_0xd9b823[_0x32143c(0x1fd)])throw Error(_0x32143c(0x1a8));return _0xd9b823[_0x32143c(0x1fd)];}function _0x2e4700(_0xae0ab4,_0xbd2cdd,_0x38afb8,_0x1fff7e=_0x309445(0x1ac)){const _0x5a62d7=_0x309445;if(_0xbd2cdd==null||_0x38afb8==null){let _0x2a7d26=_0x45652d(_0xae0ab4);return{'startOffset':_0x2a7d26,'endOffset':_0x2a7d26};}let _0x3ecc82=Math[_0x5a62d7(0x18a)](_0xbd2cdd,_0x38afb8),_0x4bd126=Math[_0x5a62d7(0x24e)](_0xbd2cdd,_0x38afb8),_0x2473c6=_0xa28212(_0xae0ab4,_0x3ecc82,_0x4bd126);return _0x3ecc82===_0x4bd126?_0x1fff7e===_0x5a62d7(0x21f)?{'startOffset':_0x3ecc82,'endOffset':_0x4bd126}:_0x185d66(_0xae0ab4,_0x3ecc82,_0x2473c6):_0x3926b9(_0xae0ab4,_0x3ecc82,_0x4bd126,_0x2473c6);}function _0x185d66(_0x559ba8,_0x3f234b,_0x2b4b14){const _0x442927=_0x309445;let _0x52e000=_0x5a91c4(_0x559ba8,_0x3f234b);if(_0x52e000){let _0x4449f5=_0x1ba2b4(_0x559ba8,_0x52e000,_0x2b4b14);if(_0x4449f5<_0x52e000['startIndex'])return{'startOffset':_0x4449f5,'endOffset':_0x2b4b14?Math[_0x442927(0x18a)](_0x52e000[_0x442927(0x207)]+0x1,_0x2b4b14[_0x442927(0x1f1)]):_0x52e000[_0x442927(0x207)]+0x1};}let _0x316b63=_0x3f234b===0x0&&_0x559ba8['dataStream'][0x0]===_0x3ec08c[_0x442927(0x218)][_0x442927(0x1de)]?0x1:_0x3f234b;return{'startOffset':_0x316b63,'endOffset':_0x316b63};}function _0x45652d(_0x373fd1){const _0x1dadbf=_0x309445;return _0x373fd1['dataStream'][_0x1dadbf(0x22a)](_0x3ec08c[_0x1dadbf(0x218)][_0x1dadbf(0x239)])?Math[_0x1dadbf(0x24e)](0x0,_0x373fd1[_0x1dadbf(0x1b5)][_0x1dadbf(0x1ba)]-0x1):_0x373fd1[_0x1dadbf(0x1b5)][_0x1dadbf(0x1ba)];}function _0x2e93d4(_0x40d678,_0x2bc3e8,_0x457625){const _0x1a250b=_0x309445;var _0x5ad671;let _0x400f10=Math['min'](_0x2bc3e8,_0x457625),_0x2bcf3f=Math[_0x1a250b(0x24e)](_0x2bc3e8,_0x457625);return!!((_0x5ad671=_0x40d678['tables'])!=null&&_0x5ad671[_0x1a250b(0x1dd)](_0x28cbcc=>_0x400f10>_0x28cbcc['startIndex']&&_0x400f10<_0x28cbcc['endIndex']||_0x2bcf3f>_0x28cbcc[_0x1a250b(0x207)]&&_0x2bcf3f<_0x28cbcc[_0x1a250b(0x243)]||_0x400f10<=_0x28cbcc['startIndex']&&_0x2bcf3f>=_0x28cbcc['endIndex']));}function _0x3926b9(_0x5d8582,_0x2c465f,_0x64fb5d,_0x1cf188){const _0x37f29f=_0x309445;let _0x59201f=[..._0x5d8582[_0x37f29f(0x236)]??[]][_0x37f29f(0x19e)]((_0x225d87,_0x48cc6f)=>_0x225d87[_0x37f29f(0x207)]-_0x48cc6f['startIndex']),_0x3d78b1=(0x0,_0x3ec08c['getParagraphContentStartOffsets'])(_0x5d8582),_0x222599=_0x59201f[_0x37f29f(0x18d)](_0x4bfc72=>_0x1ba2b4(_0x5d8582,_0x4bfc72,_0x1cf188,_0x3d78b1)<=_0x2c465f&&_0x2c465f<=_0x4bfc72[_0x37f29f(0x207)]),_0x49536a=_0x59201f[_0x37f29f(0x18d)](_0x823bf6=>_0x823bf6[_0x37f29f(0x207)]>=_0x64fb5d-0x1)??_0x59201f[_0x59201f[_0x37f29f(0x1ba)]-0x1];return{'startOffset':_0x222599?_0x1ba2b4(_0x5d8582,_0x222599,_0x1cf188,_0x3d78b1):_0x2c465f,'endOffset':_0x49536a?_0x3136a9(_0x49536a,_0x1cf188):_0x64fb5d};}function _0x5a91c4(_0x4664cb,_0x52d5f1){const _0x54196d=_0x309445;let _0x2dca90=[..._0x4664cb[_0x54196d(0x236)]??[]][_0x54196d(0x19e)]((_0x451f25,_0x408106)=>_0x451f25[_0x54196d(0x207)]-_0x408106[_0x54196d(0x207)]),_0x5f14e7=(0x0,_0x3ec08c[_0x54196d(0x1c4)])(_0x4664cb);return _0x2dca90[_0x54196d(0x18d)](_0x31fcc9=>(_0x5f14e7[_0x54196d(0x23b)](_0x31fcc9[_0x54196d(0x207)])??0x0)<=_0x52d5f1&&_0x52d5f1<=_0x31fcc9['startIndex']);}function _0x1ba2b4(_0x4d4171,_0x1b61ef,_0x489cd2,_0x382ab5){const _0x1c4e9a=_0x309445;let _0x241b93=(_0x382ab5==null?void 0x0:_0x382ab5[_0x1c4e9a(0x23b)](_0x1b61ef['startIndex']))??(0x0,_0x3ec08c[_0x1c4e9a(0x1a7)])(_0x4d4171,_0x1b61ef);return _0x489cd2?Math[_0x1c4e9a(0x24e)](_0x241b93,_0x489cd2[_0x1c4e9a(0x1ed)]):_0x241b93;}function _0x3136a9(_0xd40439,_0x319dd9){const _0x12f12c=_0x309445;let _0x4cb353=_0xd40439[_0x12f12c(0x207)]+0x1;return _0x319dd9?Math[_0x12f12c(0x18a)](_0x4cb353,_0x319dd9[_0x12f12c(0x1f1)]):_0x4cb353;}function _0xa28212(_0x30a8da,_0x7427b9,_0x1ddeef){const _0x51ad5e=_0x309445;let _0x3fb856=_0x195d09(_0x30a8da,_0x7427b9),_0x2f6eb7=_0x195d09(_0x30a8da,_0x7427b9===_0x1ddeef?_0x1ddeef:Math['max'](_0x7427b9,_0x1ddeef-0x1));if(_0x3fb856||_0x2f6eb7){if(!_0x3fb856||!_0x2f6eb7||_0x3fb856[_0x51ad5e(0x1a5)]!==_0x2f6eb7[_0x51ad5e(0x1a5)]||_0x3fb856[_0x51ad5e(0x21a)]!==_0x2f6eb7[_0x51ad5e(0x21a)])throw new _0x4601fe();return _0x3fb856;}}function _0x195d09(_0x268c41,_0x513400){const _0x3948aa=_0x309445;let _0x3a6d55=_0x268c41[_0x3948aa(0x1b5)],_0x206c04=-0x1;for(let _0x1d160a=Math[_0x3948aa(0x18a)](_0x513400,_0x3a6d55[_0x3948aa(0x1ba)]-0x1);_0x1d160a>=0x0;_0x1d160a--){let _0x2e6546=_0x3a6d55[_0x1d160a];if(_0x2e6546===_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x19d)])return;if(_0x2e6546===_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x1f4)]){_0x206c04=_0x1d160a;break;}}if(_0x206c04<0x0)return;let _0x2b7f88=_0x3a6d55[_0x3948aa(0x1cc)](_0x3ec08c[_0x3948aa(0x218)][_0x3948aa(0x19d)],_0x206c04+0x1);if(!(_0x2b7f88<0x0||_0x513400<_0x206c04+0x1||_0x513400>_0x2b7f88-0x1))return{'startOffset':_0x206c04+0x1,'endOffset':Math[_0x3948aa(0x24e)](_0x206c04+0x1,_0x2b7f88-0x1),'startTokenOffset':_0x206c04,'endTokenOffset':_0x2b7f88};}function _0x5444ff(_0x2b05e8){const _0xedfef3=_0x309445;return(0x0,_0x3ec08c['getBlockRangeInterval'])(_0x2b05e8)[_0xedfef3(0x1f1)]-0x1;}function _0x14ad24(_0x430e2d,_0x52ff54,_0x786521,_0x35f4df){const _0xa5826d=_0x309445;let _0x1d7e1a=_0x5444ff(_0x52ff54),_0x341c36=(_0x430e2d[_0xa5826d(0x236)]??[])[_0xa5826d(0x18d)](_0x4524d1=>_0x4524d1[_0xa5826d(0x207)]===_0x1d7e1a+0x1);if(!_0x341c36||_0x35f4df!=null&&_0x341c36[_0xa5826d(0x207)]!==_0x35f4df||_0x786521!=null&&(_0x786521<_0x1d7e1a||_0x786521>_0x341c36[_0xa5826d(0x207)]+0x1)||_0x430e2d['dataStream'][_0x341c36[_0xa5826d(0x207)]]!==_0x3ec08c[_0xa5826d(0x218)][_0xa5826d(0x1de)])return null;let _0x46a8e2=(0x0,_0x3ec08c[_0xa5826d(0x1a7)])(_0x430e2d,_0x341c36),_0x5f1520=_0x430e2d[_0xa5826d(0x1b5)][_0xa5826d(0x258)](_0x46a8e2,_0x341c36[_0xa5826d(0x207)]);return Array['from'](_0x5f1520)[_0xa5826d(0x1d8)](_0x282447=>_0x282447===_0x3ec08c[_0xa5826d(0x218)][_0xa5826d(0x1ec)])?{'paragraph':_0x341c36,'endTokenOffset':_0x1d7e1a}:null;}function _0xabc62f(_0x1caad4,_0x36bdeb){const _0x594fe6=_0x309445;var _0x12b68b;let _0x33d695=_0x5444ff(_0x36bdeb),_0x586694=_0x1caad4['dataStream'][_0x33d695+0x1];(_0x586694===_0x3ec08c[_0x594fe6(0x218)][_0x594fe6(0x239)]||_0x586694===void 0x0)&&_0x41f5f3(_0x1caad4,_0x33d695+0x1,_0x3ec08c[_0x594fe6(0x218)]['PARAGRAPH'],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x3ec08c[_0x594fe6(0x25b)])(new Set((_0x12b68b=_0x1caad4['paragraphs'])==null?void 0x0:_0x12b68b['map'](_0x395fea=>_0x395fea[_0x594fe6(0x1fc)])))}]});}function _0x41f5f3(_0x2e25fb,_0x41f3c8,_0xbed15a,_0x46578f={}){const _0x4ff6ac=_0x309445;var _0x32d10d,_0xe09952;_0xbed15a&&(_0x2e25fb[_0x4ff6ac(0x1b5)]=''+_0x2e25fb[_0x4ff6ac(0x1b5)][_0x4ff6ac(0x258)](0x0,_0x41f3c8)+_0xbed15a+_0x2e25fb['dataStream'][_0x4ff6ac(0x258)](_0x41f3c8),_0x4159c0(_0x2e25fb,_0x41f3c8,_0xbed15a['length']),(_0x32d10d=_0x46578f[_0x4ff6ac(0x236)])!=null&&_0x32d10d[_0x4ff6ac(0x1ba)]&&(_0x2e25fb['paragraphs']=[..._0x2e25fb['paragraphs']??[],..._0x46578f[_0x4ff6ac(0x236)][_0x4ff6ac(0x23a)](_0x4805a0=>({..._0x4805a0,'startIndex':_0x4805a0[_0x4ff6ac(0x207)]+_0x41f3c8}))][_0x4ff6ac(0x19e)]((_0x341019,_0x425ada)=>_0x341019[_0x4ff6ac(0x207)]-_0x425ada[_0x4ff6ac(0x207)])),(_0xe09952=_0x46578f[_0x4ff6ac(0x1bd)])!=null&&_0xe09952[_0x4ff6ac(0x1ba)]&&(_0x2e25fb[_0x4ff6ac(0x1bd)]=[..._0x2e25fb[_0x4ff6ac(0x1bd)]??[],..._0x46578f['blockRanges'][_0x4ff6ac(0x23a)](_0x1ad0b5=>({..._0x1ad0b5,'startIndex':_0x1ad0b5[_0x4ff6ac(0x207)]+_0x41f3c8,'endIndex':_0x1ad0b5[_0x4ff6ac(0x243)]+_0x41f3c8}))][_0x4ff6ac(0x19e)]((_0x3eaaab,_0x395641)=>_0x3eaaab[_0x4ff6ac(0x207)]-_0x395641[_0x4ff6ac(0x207)])));}function _0x410d4e(_0x56d7bf,_0x1a749f,_0x596680){const _0x17f163=_0x309445;let _0x5006fc=_0x596680-_0x1a749f;_0x56d7bf['dataStream']=''+_0x56d7bf[_0x17f163(0x1b5)][_0x17f163(0x258)](0x0,_0x1a749f)+_0x56d7bf[_0x17f163(0x1b5)][_0x17f163(0x258)](_0x596680),_0x5bc6a4(_0x56d7bf,_0x1a749f,_0x5006fc);}function _0x4159c0(_0x2a5fbe,_0x2194b8,_0x13101e){const _0x28c411=_0x309445;_0x2a5fbe[_0x28c411(0x236)]=_0x5a3dc0(_0x2a5fbe['paragraphs'],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x249)]=_0x5a3dc0(_0x2a5fbe[_0x28c411(0x249)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x178)]=_0x5a3dc0(_0x2a5fbe[_0x28c411(0x178)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x23c)]=_0x563dd8(_0x2a5fbe[_0x28c411(0x23c)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x216)]=_0x5e87c7(_0x2a5fbe[_0x28c411(0x216)],_0x2194b8,_0x13101e),_0x2a5fbe['columnGroups']=_0x51f654(_0x2a5fbe[_0x28c411(0x1c0)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x232)]=_0x51f654(_0x2a5fbe['customRanges'],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x177)]=_0x51f654(_0x2a5fbe[_0x28c411(0x177)],_0x2194b8,_0x13101e),_0x2a5fbe[_0x28c411(0x1bd)]=_0x51f654(_0x2a5fbe[_0x28c411(0x1bd)],_0x2194b8,_0x13101e);}function _0x5bc6a4(_0x1d53ec,_0x56e356,_0x27e771){const _0x470c76=_0x309445;var _0xb4ce2a,_0x38780e;_0x1d53ec[_0x470c76(0x236)]=_0xee02f2(_0x1d53ec[_0x470c76(0x236)],_0x56e356,_0x27e771),_0x1d53ec['sectionBreaks']=_0xee02f2(_0x1d53ec['sectionBreaks'],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x178)]=_0xee02f2(_0x1d53ec[_0x470c76(0x178)],_0x56e356,_0x27e771),_0x1d53ec['textRuns']=(_0xb4ce2a=_0x3457e3((_0x38780e=_0x1d53ec[_0x470c76(0x23c)])==null?void 0x0:_0x38780e[_0x470c76(0x23a)](_0x16ff97=>({..._0x16ff97,'startIndex':_0x16ff97['st'],'endIndex':_0x16ff97['ed']})),_0x56e356,_0x27e771))==null?void 0x0:_0xb4ce2a[_0x470c76(0x23a)](_0x5afc3f=>{let {startIndex:_0x41a474,endIndex:_0x8e2297,..._0x3ca5ac}=_0x5afc3f;return{..._0x3ca5ac,'st':_0x41a474,'ed':_0x8e2297};}),_0x1d53ec[_0x470c76(0x216)]=_0x3457e3(_0x1d53ec[_0x470c76(0x216)],_0x56e356,_0x27e771),_0x1d53ec['columnGroups']=_0x1e0249(_0x1d53ec[_0x470c76(0x1c0)],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x232)]=_0x1e0249(_0x1d53ec[_0x470c76(0x232)],_0x56e356,_0x27e771),_0x1d53ec['customDecorations']=_0x1e0249(_0x1d53ec[_0x470c76(0x177)],_0x56e356,_0x27e771),_0x1d53ec[_0x470c76(0x1bd)]=_0x1e0249(_0x1d53ec[_0x470c76(0x1bd)],_0x56e356,_0x27e771);}function _0x5a3dc0(_0x2cdc57,_0x4f6ebf,_0x192d11){const _0x2c4817=_0x309445;return _0x2cdc57==null?void 0x0:_0x2cdc57[_0x2c4817(0x23a)](_0x346f0d=>_0x346f0d['startIndex']>=_0x4f6ebf?{..._0x346f0d,'startIndex':_0x346f0d['startIndex']+_0x192d11}:_0x346f0d);}function _0xee02f2(_0x42141e,_0x4f9c8f,_0x4f8164){const _0x39f4c2=_0x309445;let _0x5e97b1=_0x4f9c8f+_0x4f8164;return _0x42141e==null?void 0x0:_0x42141e['map'](_0x374bc6=>_0x374bc6[_0x39f4c2(0x207)]>=_0x4f9c8f&&_0x374bc6[_0x39f4c2(0x207)]<_0x5e97b1?null:_0x374bc6[_0x39f4c2(0x207)]>=_0x5e97b1?{..._0x374bc6,'startIndex':_0x374bc6[_0x39f4c2(0x207)]-_0x4f8164}:_0x374bc6)[_0x39f4c2(0x1eb)](_0x37b88d=>_0x37b88d!=null);}function _0x563dd8(_0x2cc7c1,_0x497f3c,_0x226944){const _0x3713d9=_0x309445;return _0x2cc7c1==null?void 0x0:_0x2cc7c1[_0x3713d9(0x23a)](_0x2f8714=>_0x2f8714['st']>=_0x497f3c?{..._0x2f8714,'st':_0x2f8714['st']+_0x226944,'ed':_0x2f8714['ed']+_0x226944}:_0x2f8714['ed']>_0x497f3c?{..._0x2f8714,'ed':_0x2f8714['ed']+_0x226944}:_0x2f8714);}function _0x51f654(_0x2db351,_0x17907f,_0x4543ae){const _0xa4391=_0x309445;return _0x2db351==null?void 0x0:_0x2db351['map'](_0x2542bf=>(0x0,_0x3ec08c[_0xa4391(0x18e)])(_0x2542bf,_0x17907f,_0x4543ae));}function _0x5e87c7(_0x2a03d6,_0x119a62,_0x4aca89){const _0x3ab191=_0x309445;return _0x2a03d6==null?void 0x0:_0x2a03d6[_0x3ab191(0x23a)](_0x175083=>(0x0,_0x3ec08c[_0x3ab191(0x1c6)])(_0x175083,_0x119a62,_0x4aca89));}function _0x1e0249(_0x3d1146,_0x533629,_0x8e9fd2){const _0x10f94=_0x309445;return _0x3d1146==null?void 0x0:_0x3d1146[_0x10f94(0x23a)](_0x49d39f=>(0x0,_0x3ec08c[_0x10f94(0x22d)])(_0x49d39f,_0x533629,_0x8e9fd2))[_0x10f94(0x1eb)](_0x20c68b=>_0x20c68b!=null);}function _0x3457e3(_0x1c7281,_0x1b7097,_0x2fd7ef){const _0x267c17=_0x309445;return _0x1c7281==null?void 0x0:_0x1c7281[_0x267c17(0x23a)](_0x402bb0=>(0x0,_0x3ec08c[_0x267c17(0x208)])(_0x402bb0,_0x1b7097,_0x2fd7ef))[_0x267c17(0x1eb)](_0x10c87c=>_0x10c87c!=null);}let _0x2328e8={'id':'docs-code.command.insert-below','type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':_0x1ae7b1=>{const _0x440827=_0x309445;var _0x289c78;if((0x0,_0x514b03[_0x440827(0x19a)])(_0x1fa215(_0x1ae7b1)))return!0x1;let _0x4e3713=(0x0,_0x514b03[_0x440827(0x1da)])(_0x1ae7b1);if(_0x4e3713)return _0x1ae7b1[_0x440827(0x23b)](_0x3ec08c[_0x440827(0x187)])[_0x440827(0x196)](_0x3112ef['id'],{'startOffset':_0x4e3713[_0x440827(0x1ed)],'endOffset':_0x4e3713[_0x440827(0x1f1)],'insertionMode':_0x440827(0x21f),'unitId':_0x4e3713[_0x440827(0x17e)]});let _0x2da9dd=_0x19d772(_0x1ae7b1);if(!_0x2da9dd)return!0x1;let _0x11c343=(_0x289c78=_0x1ae7b1[_0x440827(0x23b)](_0x3ec08c['IUniverInstanceService'])[_0x440827(0x1b9)](_0x3ec08c[_0x440827(0x246)][_0x440827(0x1cf)]))==null?void 0x0:_0x289c78[_0x440827(0x1d1)](),_0x43b100=_0x11c343?(0x0,_0x3ec08c[_0x440827(0x17b)])(_0x11c343,_0x2da9dd):_0x2da9dd['startIndex']+0x1;return _0x1ae7b1[_0x440827(0x23b)](_0x3ec08c[_0x440827(0x187)])[_0x440827(0x196)](_0x3112ef['id'],{'startOffset':_0x43b100,'endOffset':_0x43b100});}},_0x3cbc80={'id':_0x309445(0x224),'type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':()=>!0x0},_0x3112ef={'id':'docs-code.command.insert','type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0x6b9da4,_0x57b76f)=>{const _0x335f06=_0x309445;let _0x3bff04=_0x150413(_0x6b9da4,_0x57b76f==null?void 0x0:_0x57b76f['unitId']);if(!_0x3bff04)return!0x1;let _0x52df43=_0x1fa215(_0x6b9da4);if((0x0,_0x514b03[_0x335f06(0x19a)])(_0x52df43))return!0x1;let _0x541ea5=_0x3bff04[_0x335f06(0x1c2)]['serialize'](_0x3bff04['unitId']),_0x465fd4=_0x46b6dc(_0x57b76f,_0x52df43),_0x34e8b9=_0x2d098a(_0x3bff04[_0x335f06(0x1fa)],_0x465fd4);if(_0x34e8b9){if(_0x34e8b9[_0x335f06(0x24d)]!==_0x3ec08c[_0x335f06(0x1f3)][_0x335f06(0x20a)])return!0x1;let _0x42c169=_0x25ca4a({'blockId':_0x34e8b9[_0x335f06(0x254)],'documentData':_0x3bff04[_0x335f06(0x1fa)],'metadata':_0x541ea5});if(!_0x42c169)return!0x1;let _0x1634bb=_0x6f2592(_0x3bff04[_0x335f06(0x245)],_0x3bff04[_0x335f06(0x20c)],_0x3bff04[_0x335f06(0x17e)],_0x3bff04[_0x335f06(0x1fa)],_0x42c169[_0x335f06(0x180)],_0x3112ef['id'],_0x42c169[_0x335f06(0x250)]);return _0x1634bb&&_0x42c169['nextMetadata']&&_0x3bff04[_0x335f06(0x1c2)]['deserialize'](_0x3bff04[_0x335f06(0x17e)],_0x42c169[_0x335f06(0x1d9)]),_0x1634bb;}let _0x18c3b2=(_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x254)])??(0x0,_0x3ec08c['generateRandomId'])(0x6),_0x59a15e;try{_0x59a15e=_0x4ca597({'blockId':_0x18c3b2,'config':_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x1e7)],'documentData':_0x3bff04['previousDocumentData'],'endOffset':_0x465fd4==null?void 0x0:_0x465fd4['endOffset'],'insertionMode':_0x57b76f==null?void 0x0:_0x57b76f[_0x335f06(0x1cd)],'metadata':_0x541ea5,'startOffset':_0x465fd4==null?void 0x0:_0x465fd4['startOffset']});}catch(_0x3dba25){if(_0x3dba25 instanceof _0x4601fe)return!0x1;throw _0x3dba25;}let _0x40562c=_0x6f2592(_0x3bff04[_0x335f06(0x245)],_0x3bff04[_0x335f06(0x20c)],_0x3bff04[_0x335f06(0x17e)],_0x3bff04[_0x335f06(0x1fa)],_0x59a15e[_0x335f06(0x180)],_0x3112ef['id'],_0x59a15e[_0x335f06(0x250)]);return _0x40562c&&_0x59a15e['nextMetadata']&&_0x3bff04['model'][_0x335f06(0x1fb)](_0x3bff04[_0x335f06(0x17e)],_0x59a15e[_0x335f06(0x1d9)]),_0x40562c;}},_0x321568={'id':_0x309445(0x205),'type':_0x3ec08c[_0x309445(0x21d)]['COMMAND'],'handler':(_0x13d179,_0x5b43a9)=>{const _0x42db43=_0x309445;if(!_0x5b43a9)return!0x1;let _0x2add82=_0x150413(_0x13d179,_0x5b43a9[_0x42db43(0x17e)]);if(!_0x2add82)return!0x1;let _0x51b6e1=_0x2e4649({'blockId':_0x5b43a9[_0x42db43(0x254)],'config':_0x5b43a9[_0x42db43(0x1e7)],'documentData':_0x2add82[_0x42db43(0x1fa)],'metadata':_0x2add82[_0x42db43(0x1c2)][_0x42db43(0x1c9)](_0x2add82[_0x42db43(0x17e)])});return _0x51b6e1[_0x42db43(0x1d9)]&&_0x2add82['model'][_0x42db43(0x1fb)](_0x2add82['unitId'],_0x51b6e1[_0x42db43(0x1d9)]),!0x0;}},_0x4476ba={'id':_0x309445(0x179),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0xc82163,_0x3a1318)=>_0x4b3dc6[_0x309445(0x1b1)](_0xc82163,_0x3a1318)},_0x4b3dc6={'id':'docs-code.command.unwrap','type':_0x3ec08c[_0x309445(0x21d)]['COMMAND'],'handler':(_0x2f0689,_0x4fa847)=>{const _0x53797c=_0x309445;if(!_0x4fa847)return!0x1;let _0x2eac01=_0x150413(_0x2f0689,_0x4fa847==null?void 0x0:_0x4fa847[_0x53797c(0x17e)]);if(!_0x2eac01)return!0x1;let _0x357b00=_0x25ca4a({'blockId':_0x4fa847[_0x53797c(0x254)],'documentData':_0x2eac01[_0x53797c(0x1fa)],'metadata':_0x2eac01[_0x53797c(0x1c2)][_0x53797c(0x1c9)](_0x2eac01[_0x53797c(0x17e)])});if(!_0x357b00)return!0x1;let _0x2cac05=_0x6f2592(_0x2eac01[_0x53797c(0x245)],_0x2eac01[_0x53797c(0x20c)],_0x2eac01[_0x53797c(0x17e)],_0x2eac01[_0x53797c(0x1fa)],_0x357b00[_0x53797c(0x180)],_0x4b3dc6['id'],_0x357b00[_0x53797c(0x250)]);return _0x2cac05&&_0x357b00[_0x53797c(0x1d9)]&&_0x2eac01['model'][_0x53797c(0x1fb)](_0x2eac01[_0x53797c(0x17e)],_0x357b00[_0x53797c(0x1d9)]),_0x2cac05;}},_0x522564={'id':'docs-code.command.remove','type':_0x3ec08c['CommandType'][_0x309445(0x1ef)],'handler':(_0x51956,_0x34f3ce)=>{const _0x4691b0=_0x309445;if(!_0x34f3ce)return!0x1;let _0x5f38dc=_0x150413(_0x51956,_0x34f3ce==null?void 0x0:_0x34f3ce['unitId']);if(!_0x5f38dc)return!0x1;let _0x597dee=_0x5d58a9({'blockId':_0x34f3ce[_0x4691b0(0x254)],'documentData':_0x5f38dc['previousDocumentData'],'metadata':_0x5f38dc['model'][_0x4691b0(0x1c9)](_0x5f38dc[_0x4691b0(0x17e)])});if(!_0x597dee)return!0x1;let _0x41b22d=_0x6f2592(_0x5f38dc[_0x4691b0(0x245)],_0x5f38dc[_0x4691b0(0x20c)],_0x5f38dc[_0x4691b0(0x17e)],_0x5f38dc['previousDocumentData'],_0x597dee[_0x4691b0(0x180)],_0x522564['id'],_0x597dee[_0x4691b0(0x250)]);return _0x41b22d&&_0x597dee[_0x4691b0(0x1d9)]&&_0x5f38dc['model']['deserialize'](_0x5f38dc[_0x4691b0(0x17e)],_0x597dee[_0x4691b0(0x1d9)]),_0x41b22d;}},_0x3396e4={'id':_0x309445(0x192),'type':_0x3ec08c[_0x309445(0x21d)][_0x309445(0x1ef)],'handler':(_0x1479fa,_0x589e4a)=>{const _0x544268=_0x309445;var _0x21b46b;let _0x3b1db6=_0x150413(_0x1479fa,_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x17e)]);if(!_0x3b1db6)return!0x1;let _0x3cc2e2=(_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x250)])??((_0x21b46b=_0x1fa215(_0x1479fa))==null?void 0x0:_0x21b46b[_0x544268(0x1ed)]);if(_0x3cc2e2==null)return!0x1;let _0x59b424=_0x1ad099({'cursorOffset':_0x3cc2e2,'documentData':_0x3b1db6[_0x544268(0x1fa)],'paragraphStartIndex':_0x589e4a==null?void 0x0:_0x589e4a[_0x544268(0x20f)]});return _0x59b424?_0x6f2592(_0x3b1db6['commandService'],_0x3b1db6['selectionManager'],_0x3b1db6[_0x544268(0x17e)],_0x3b1db6['previousDocumentData'],_0x59b424[_0x544268(0x180)],_0x3396e4['id'],_0x59b424[_0x544268(0x250)]):!0x1;}};function _0x150413(_0x3c1926,_0x2a0e91){const _0x360181=_0x309445;let _0x24b698=_0x3c1926[_0x360181(0x23b)](_0x3ec08c[_0x360181(0x1e9)]),_0x41aa99=_0x2a0e91?_0x24b698[_0x360181(0x1f2)](_0x2a0e91,_0x3ec08c[_0x360181(0x246)]['UNIVER_DOC']):_0x24b698[_0x360181(0x1b9)](_0x3ec08c[_0x360181(0x246)][_0x360181(0x1cf)]);return _0x41aa99?{'commandService':_0x3c1926[_0x360181(0x23b)](_0x3ec08c['ICommandService']),'model':_0x3c1926[_0x360181(0x23b)](_0xea2109),'previousDocumentData':_0x41aa99[_0x360181(0x181)](),'selectionManager':_0x3c1926[_0x360181(0x23b)](_0x514b03[_0x360181(0x21c)]),'unitId':_0x41aa99[_0x360181(0x19b)]()}:null;}function _0x1fa215(_0x3f3a14){const _0x300693=_0x309445;var _0xe0afdd;return(_0xe0afdd=_0x3f3a14[_0x300693(0x23b)](_0x514b03[_0x300693(0x21c)])[_0x300693(0x201)]())==null?void 0x0:_0xe0afdd[0x0];}function _0x46b6dc(_0x3f067a,_0x10ebd3){const _0xcf56a9=_0x309445;let _0x409cc7=(_0x3f067a==null?void 0x0:_0x3f067a[_0xcf56a9(0x1ed)])??(_0x10ebd3==null?void 0x0:_0x10ebd3[_0xcf56a9(0x1ed)]),_0x27c2c6=(_0x3f067a==null?void 0x0:_0x3f067a[_0xcf56a9(0x1f1)])??(_0x10ebd3==null?void 0x0:_0x10ebd3[_0xcf56a9(0x1f1)]);if(_0x409cc7!=null&&_0x27c2c6!=null)return{'endOffset':Math[_0xcf56a9(0x24e)](_0x409cc7,_0x27c2c6),'startOffset':Math[_0xcf56a9(0x18a)](_0x409cc7,_0x27c2c6)};}function _0x2d098a(_0x4cc3a5,_0x11fb0c){const _0x13788c=_0x309445;var _0x559bd2;if(!_0x11fb0c)return;let _0x5c0285=_0x231382(_0x11fb0c);return(_0x559bd2=_0x4cc3a5[_0x13788c(0x1fd)])==null||(_0x559bd2=_0x559bd2['blockRanges'])==null?void 0x0:_0x559bd2[_0x13788c(0x18d)](_0x11dbd2=>{const _0x1bdf0b=_0x13788c;let _0x13f981=(0x0,_0x3ec08c[_0x1bdf0b(0x194)])(_0x11dbd2);return _0x11fb0c[_0x1bdf0b(0x1ed)]===_0x11fb0c[_0x1bdf0b(0x1f1)]?(0x0,_0x3ec08c[_0x1bdf0b(0x1ad)])(_0x13f981,_0x5c0285):(0x0,_0x3ec08c[_0x1bdf0b(0x1a3)])(_0x13f981,_0x5c0285);});}function _0x231382(_0x17f4a4){const _0x40e335=_0x309445;return _0x17f4a4[_0x40e335(0x1ed)]===_0x17f4a4[_0x40e335(0x1f1)]?_0x17f4a4[_0x40e335(0x1ed)]:_0x17f4a4[_0x40e335(0x1ed)]+0x1;}function _0x19d772(_0x3bb941){const _0x3705e1=_0x309445;let _0x6dd5f0=_0x1fa215(_0x3bb941);if(!_0x6dd5f0)return null;let _0x37e0af=_0x3bb941['get'](_0x3ec08c[_0x3705e1(0x1e9)])[_0x3705e1(0x1b9)](_0x3ec08c[_0x3705e1(0x246)]['UNIVER_DOC']),_0x4a902c=_0x37e0af==null?void 0x0:_0x37e0af[_0x3705e1(0x1d1)]();return _0x4a902c?_0x3ec08c[_0x3705e1(0x184)][_0x3705e1(0x1f8)][_0x3705e1(0x1e3)](_0x6dd5f0,_0x4a902c[_0x3705e1(0x236)]??[],_0x4a902c[_0x3705e1(0x1b5)]??'')[0x0]??null:null;}function _0x1e0dad(_0x49422f,_0x14e869){const _0x270214=_0x309445;let _0x33e2ca=_0x49422f[_0x270214(0x1fd)],_0x3132af=_0x14e869[_0x270214(0x1fd)],_0x598c85=(0x0,_0x3ec08c[_0x270214(0x1c5)])(_0x33e2ca,_0x3132af);return[_0x598c85&&_0x3132af?_0xcb09df(_0x3132af,_0x598c85):null,_0x598c85?null:_0x2007ec(_0x33e2ca,_0x3132af)]['filter'](Boolean)[_0x270214(0x226)]((_0x36ae68,_0x2012ac)=>_0x3ec08c[_0x270214(0x22e)][_0x270214(0x1db)](_0x36ae68,_0x2012ac),null);}function _0xcb09df(_0x5e037b,_0x40fbc7){const _0x32db72=_0x309445;let _0x4abd70=new _0x3ec08c[(_0x32db72(0x20d))]();return _0x4abd70[_0x32db72(0x233)](_0x40fbc7[_0x32db72(0x213)]),_0x40fbc7[_0x32db72(0x1ab)]>0x0&&_0x4abd70[_0x32db72(0x20e)](_0x40fbc7[_0x32db72(0x1ab)],(0x0,_0x3ec08c[_0x32db72(0x1bf)])(_0x5e037b,_0x40fbc7[_0x32db72(0x213)],_0x40fbc7['start']+_0x40fbc7[_0x32db72(0x1ab)],!0x1)),_0x40fbc7[_0x32db72(0x186)]>0x0&&_0x4abd70[_0x32db72(0x1ee)](_0x40fbc7[_0x32db72(0x186)]),_0x3ec08c[_0x32db72(0x22e)][_0x32db72(0x1e1)]()[_0x32db72(0x230)](_0x4abd70[_0x32db72(0x1c9)](),[_0x32db72(0x1fd)]);}function _0x2007ec(_0x48e490,_0xa53c05){const _0x5d3b91=_0x309445;let _0x1ed6d1=[],_0x167c7c=_0x48e490?_0x17d000(_0x48e490):void 0x0,_0x37626d=_0xa53c05?_0x17d000(_0xa53c05):void 0x0;for(let _0x186dac of _0x26cc6a)_0x264040(_0x3ec08c[_0x5d3b91(0x22e)][_0x5d3b91(0x1e1)](),[_0x5d3b91(0x1fd),_0x186dac],_0x167c7c==null?void 0x0:_0x167c7c[_0x186dac],_0x37626d==null?void 0x0:_0x37626d[_0x186dac],_0x1ed6d1);return _0x1ed6d1[_0x5d3b91(0x226)]((_0x48f7db,_0x285c1c)=>_0x3ec08c[_0x5d3b91(0x22e)][_0x5d3b91(0x1db)](_0x48f7db,_0x285c1c),null);}let _0x26cc6a=[_0x309445(0x236),_0x309445(0x249),_0x309445(0x216),_0x309445(0x1c0),_0x309445(0x1bd),_0x309445(0x178),_0x309445(0x232),_0x309445(0x177),_0x309445(0x23c)];function _0x17d000(_0x1a0bd4){return _0x1a0bd4;}function _0x264040(_0x422b60,_0x43b74c,_0x2e17d1,_0x58d956,_0x13fa7b){const _0xd5ea71=_0x309445;if(!_0x32b90a(_0x2e17d1,_0x58d956)){if(_0x2e17d1==null){_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60[_0xd5ea71(0x1e0)](_0x43b74c,_0x58d956));return;}if(_0x58d956==null){_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60['removeOp'](_0x43b74c,_0x2e17d1));return;}if(Array[_0xd5ea71(0x238)](_0x2e17d1)&&Array[_0xd5ea71(0x238)](_0x58d956)){_0x2e3584(_0x422b60,_0x43b74c,_0x2e17d1,_0x58d956,_0x13fa7b);return;}if(_0x8fd3ba(_0x2e17d1)&&_0x8fd3ba(_0x58d956)){new Set([...Object[_0xd5ea71(0x20b)](_0x2e17d1),...Object[_0xd5ea71(0x20b)](_0x58d956)])[_0xd5ea71(0x1d6)](_0x1f5118=>{_0x264040(_0x422b60,[..._0x43b74c,_0x1f5118],_0x2e17d1[_0x1f5118],_0x58d956[_0x1f5118],_0x13fa7b);});return;}_0x13fa7b[_0xd5ea71(0x1e5)](_0x422b60[_0xd5ea71(0x17d)](_0x43b74c,_0x2e17d1,_0x58d956));}}function _0x2e3584(_0x45d29b,_0x354f20,_0xa095a4,_0x6f575,_0x2d2a22){const _0x59deb9=_0x309445;if(_0xa095a4[_0x59deb9(0x1ba)]===_0x6f575[_0x59deb9(0x1ba)]){_0xa095a4[_0x59deb9(0x1d6)]((_0x4641da,_0x5bca36)=>_0x264040(_0x45d29b,[..._0x354f20,_0x5bca36],_0x4641da,_0x6f575[_0x5bca36],_0x2d2a22));return;}let _0x12fbe5=0x0;for(;_0x12fbe5<_0xa095a4[_0x59deb9(0x1ba)]&&_0x12fbe5<_0x6f575['length']&&_0x32b90a(_0xa095a4[_0x12fbe5],_0x6f575[_0x12fbe5]);)_0x12fbe5++;let _0x4ad834=_0xa095a4[_0x59deb9(0x1ba)]-0x1,_0x86c129=_0x6f575[_0x59deb9(0x1ba)]-0x1;for(;_0x4ad834>=_0x12fbe5&&_0x86c129>=_0x12fbe5&&_0x32b90a(_0xa095a4[_0x4ad834],_0x6f575[_0x86c129]);)_0x4ad834--,_0x86c129--;for(let _0x3d4fe4=_0x4ad834;_0x3d4fe4>=_0x12fbe5;_0x3d4fe4--)_0x2d2a22[_0x59deb9(0x1e5)](_0x45d29b[_0x59deb9(0x1ce)]([..._0x354f20,_0x3d4fe4],_0xa095a4[_0x3d4fe4]));for(let _0x1c7d3a=_0x12fbe5;_0x1c7d3a<=_0x86c129;_0x1c7d3a++)_0x2d2a22[_0x59deb9(0x1e5)](_0x45d29b['insertOp']([..._0x354f20,_0x1c7d3a],_0x6f575[_0x1c7d3a]));}function _0x8fd3ba(_0x4dbb4b){const _0x7a5bca=_0x309445;return typeof _0x4dbb4b==_0x7a5bca(0x259)&&!!_0x4dbb4b&&!Array[_0x7a5bca(0x238)](_0x4dbb4b);}function _0x32b90a(_0x35e460,_0x3e54ad){const _0x4d7b4a=_0x309445;return JSON[_0x4d7b4a(0x215)](_0x35e460)===JSON[_0x4d7b4a(0x215)](_0x3e54ad);}function _0x6f2592(_0x35ebc1,_0x20aaf8,_0x78cb26,_0x256168,_0xc1654,_0x440cee,_0x3460a3){const _0x5b90c5=_0x309445;let _0x119269=_0x1e0dad(_0x256168,_0xc1654);return _0x119269?!!_0x35ebc1[_0x5b90c5(0x196)](_0x514b03[_0x5b90c5(0x225)]['id'],{'unitId':_0x78cb26,'actions':_0x119269,'textRanges':[{'startOffset':_0x3460a3,'endOffset':_0x3460a3,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x440cee}):(_0x20aaf8[_0x5b90c5(0x228)]([{'startOffset':_0x3460a3,'endOffset':_0x3460a3}],{'unitId':_0x78cb26,'subUnitId':_0x78cb26},!0x1),!0x0);}let _0x445a9a=_0x309445(0x1b2);var _0x6b502c='@univerjs-pro/docs-code',_0x29bf2a=_0x309445(0x24f);let _0x59c2a2={};function _0x1f371c(_0x5922f2,_0x449309){return function(_0x5a0235,_0x451def){_0x449309(_0x5a0235,_0x451def,_0x5922f2);};}function _0x18bfcc(_0xad962f,_0x1ab7df,_0x315011,_0x53531e){const _0x284d73=_0x309445;var _0x5c3b2a=arguments['length'],_0x3b5ea8=_0x5c3b2a<0x3?_0x1ab7df:_0x53531e===null?_0x53531e=Object[_0x284d73(0x1df)](_0x1ab7df,_0x315011):_0x53531e,_0x1c8487;if(typeof Reflect==_0x284d73(0x259)&&typeof Reflect['decorate']==_0x284d73(0x212))_0x3b5ea8=Reflect['decorate'](_0xad962f,_0x1ab7df,_0x315011,_0x53531e);else{for(var _0x369fc0=_0xad962f[_0x284d73(0x1ba)]-0x1;_0x369fc0>=0x0;_0x369fc0--)(_0x1c8487=_0xad962f[_0x369fc0])&&(_0x3b5ea8=(_0x5c3b2a<0x3?_0x1c8487(_0x3b5ea8):_0x5c3b2a>0x3?_0x1c8487(_0x1ab7df,_0x315011,_0x3b5ea8):_0x1c8487(_0x1ab7df,_0x315011))||_0x3b5ea8);}return _0x5c3b2a>0x3&&_0x3b5ea8&&Object[_0x284d73(0x24c)](_0x1ab7df,_0x315011,_0x3b5ea8),_0x3b5ea8;}let _0x1654c2=class extends _0x3ec08c[_0x309445(0x23d)]{constructor(_0x5198a3,_0x32f2a7){const _0x413b0f=_0x309445;super(),this['_resourceManagerService']=_0x5198a3,this[_0x413b0f(0x235)]=_0x32f2a7,this[_0x413b0f(0x1e8)]();}[_0x309445(0x1e8)](){const _0x393857=_0x309445;this[_0x393857(0x255)](this[_0x393857(0x217)]['registerPluginResource']({'pluginName':_0x445a9a,'businesses':[_0x3ec08c[_0x393857(0x246)]['UNIVER_DOC']],'toJson':_0x1a8e3f=>JSON[_0x393857(0x215)](this[_0x393857(0x235)][_0x393857(0x1c9)](_0x1a8e3f)),'parseJson':_0x33a8e1=>_0x4d8be0(JSON[_0x393857(0x25a)](_0x33a8e1)),'onLoad':(_0x398f5d,_0x3001e4)=>this[_0x393857(0x235)]['deserialize'](_0x398f5d,_0x3001e4),'onUnLoad':_0x5d1a3d=>this['_docsCodeModel'][_0x393857(0x210)](_0x5d1a3d)}));}};_0x1654c2=_0x18bfcc([_0x1f371c(0x0,_0x3ec08c[_0x309445(0x1cb)]),_0x1f371c(0x1,(0x0,_0x3ec08c[_0x309445(0x1a4)])(_0xea2109))],_0x1654c2);let _0x4c15b8=class extends _0x3ec08c[_0x309445(0x241)]{constructor(_0x4b4817=_0x59c2a2,_0xaf620d,_0x161775,_0x407ee0){const _0x4ab1fc=_0x309445;super(),this['_config']=_0x4b4817,this[_0x4ab1fc(0x1e4)]=_0xaf620d,this['_commandService']=_0x161775,this['_configService']=_0x407ee0;let {..._0x2827a5}=(0x0,_0x3ec08c[_0x4ab1fc(0x23e)])({},_0x59c2a2,this['_config']);this[_0x4ab1fc(0x17a)][_0x4ab1fc(0x1b6)](_0x4ab1fc(0x18b),_0x2827a5);}[_0x309445(0x1c7)](){const _0x2dab5f=_0x309445;this[_0x2dab5f(0x1e4)][_0x2dab5f(0x22f)]([_0xea2109]),this[_0x2dab5f(0x1e4)][_0x2dab5f(0x22f)]([_0x1654c2]),this[_0x2dab5f(0x1e4)][_0x2dab5f(0x23b)](_0xea2109),this[_0x2dab5f(0x1e4)]['get'](_0x1654c2),[_0x3112ef,_0x2328e8,_0x321568,_0x4b3dc6,_0x522564,_0x4476ba,_0x3396e4,_0x3cbc80,_0x58a5db,_0x2ef9cf][_0x2dab5f(0x1d6)](_0x21c5c4=>this['disposeWithMe'](this[_0x2dab5f(0x223)][_0x2dab5f(0x1b7)](_0x21c5c4)));}};_0x6a7255(_0x4c15b8,'pluginName',_0x445a9a),_0x6a7255(_0x4c15b8,_0x309445(0x22c),_0x6b502c),_0x6a7255(_0x4c15b8,_0x309445(0x204),_0x29bf2a),_0x6a7255(_0x4c15b8,_0x309445(0x1a9),_0x3ec08c[_0x309445(0x246)]['UNIVER_DOC']),_0x4c15b8=_0x18bfcc([(0x0,_0x3ec08c[_0x309445(0x18c)])(_0x4d0859[_0x309445(0x1d2)],_0x514b03[_0x309445(0x198)]),_0x1f371c(0x1,(0x0,_0x3ec08c[_0x309445(0x1a4)])(_0x3ec08c[_0x309445(0x190)])),_0x1f371c(0x2,_0x3ec08c['ICommandService']),_0x1f371c(0x3,_0x3ec08c[_0x309445(0x195)])],_0x4c15b8),_0x3a686e[_0x309445(0x248)]=_0x445a9a,_0x3a686e['DocsCodeCancelEmptyParagraphCommand']=_0x3396e4,_0x3a686e[_0x309445(0x222)]=_0x3cbc80,_0x3a686e[_0x309445(0x24b)]=_0x2328e8,_0x3a686e['DocsCodeInsertCommand']=_0x3112ef,_0x3a686e[_0x309445(0x1a2)]=_0xea2109,_0x3a686e['DocsCodeRemoveCommand']=_0x522564,_0x3a686e[_0x309445(0x214)]=_0x4b3dc6,_0x3a686e[_0x309445(0x1be)]=_0x321568,_0x3a686e[_0x309445(0x1a1)]=_0x2ef9cf,_0x3a686e[_0x309445(0x1e6)]=_0x58a5db,Object[_0x309445(0x24c)](_0x3a686e,_0x309445(0x193),{'enumerable':!0x0,'get':function(){return _0x4c15b8;}}),_0x3a686e[_0x309445(0x1d7)]=_0x1ad099,_0x3a686e[_0x309445(0x1b0)]=_0x280fb7,_0x3a686e[_0x309445(0x191)]=_0x627ab3,_0x3a686e[_0x309445(0x1d3)]=_0x4d8be0;}));function _0x3926(_0x47116a,_0x3270ce){_0x47116a=_0x47116a-0x177;const _0x24eb4d=_0x24eb();let _0x392608=_0x24eb4d[_0x47116a];return _0x392608;}function _0x24eb(){const _0x5f0c88=['FALSE','DOCS_CODE_PLUGIN','sectionBreaks','columns','DocsCodeInsertBelowCommand','defineProperty','blockType','max','1.0.3','cursorOffset','metadata','BLOCK_START','UniverProDocsCode','blockId','disposeWithMe','iterator','11npfylU','slice','object','parse','createParagraphId','customDecorations','customBlocks','docs-code.command.exit','_configService','getParagraphFollowingBlockOffset','spaceBelow','replaceOp','unitId','monospace','nextDocumentData','getSnapshot','1765860zxYcyG','@univerjs/core','BuildTextUtils','prototype','deleteLength','ICommandService','bullet','paragraph','min','docs-code.config','DependentOn','find','shiftInclusiveRangeOnInsert','dispose','Injector','normalizeDocsCodeConfig','docs-code.command.cancel-empty-paragraph','UniverDocsCodePlugin','getBlockRangeInterval','IConfigService','syncExecuteCommand','toPrimitive','UniverDocsPlugin','_resources','isHeaderFooterSelection','getUnitId','4TWqvGV','TABLE_CELL_END','sort','TRUE','fromEntries','RemoveDocsCodeConfigMutation','DocsCodeModel','containsStreamIndex','Inject','startTokenOffset','clear','getParagraphContentStartOffset','Document\x20body\x20is\x20required','type','direction','insertLength','convert-paragraph','containsInteriorInsertionOffset','docs-code.mutation.set-config','removeCode','isCodeBoundaryDelete','handler','DOC_CODE_PLUGIN','javascript','289544vSyUzD','dataStream','setConfig','registerCommand','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','getCurrentUnitOfType','length','call','toStringTag','blockRanges','DocsCodeUpdateCommand','getBodySliceForTextXAction','columnGroups','entries','model','intersectsOperationalIntervals','getParagraphContentStartOffsets','getSingleDataStreamChange','shiftExclusiveRangeOnInsert','onStarting','set','serialize','_change$','IResourceManagerService','indexOf','insertionMode','removeOp','UNIVER_DOC','MUTATION','getBody','UniverLicensePlugin','normalizeDocsCodeMetadataResource','Module','spaceAbove','forEach','buildCancelEmptyCodeParagraphActions','every','nextMetadata','getContentInsertRange','compose','UniverProLicense','some','PARAGRAPH','getOwnPropertyDescriptor','insertOp','getInstance','UniverDocs','getParagraphsInRange','_injector','push','SetDocsCodeConfigMutation','config','_initResource','IUniverInstanceService','Subject','filter','BLOCK_END','startOffset','delete','COMMAND','amd','endOffset','getUnit','DocumentBlockRangeType','TABLE_CELL_START','complete','symbol','_setResource','range','8696500pbCZBw','previousDocumentData','deserialize','paragraphId','body','next','documentData','UniverCore','getTextRanges','widowControl','constructor','version','docs-code.command.update','2213710pHMEgE','startIndex','shiftExclusiveRangeOnDelete','indentEnd','CODE','keys','selectionManager','TextX','insert','paragraphStartIndex','removeUnit','textStyle','function','start','DocsCodeUnwrapCommand','stringify','tables','_resourceManagerService','DataStreamTreeTokenType','358855naKFIy','endTokenOffset','paragraphStyle','DocSelectionManagerService','CommandType','BooleanNumber','insert-new','@univerjs/docs','change$','DocsCodeConsumeBoundaryDeleteCommand','_commandService','docs-code.command.consume-boundary-delete','RichTextEditingMutation','reduce','78wSikJV','replaceDocRanges','8osEcXR','endsWith','rxjs','packageName','shiftInclusiveRangeOnDelete','JSONX','add','editOp','setCodeConfig','customRanges','retain','2188989ZGFrHc','_docsCodeModel','paragraphs','docs-code.mutation.remove-config','isArray','SECTION_BREAK','map','get','textRuns','Disposable','merge','238213OOqQUy','keepNext','Plugin','codes','endIndex','exports','commandService','UniverInstanceType'];_0x24eb=function(){return _0x5f0c88;};return _0x24eb();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.0.
|
|
65
|
-
"@univerjs/core": "1.0.
|
|
66
|
-
"@univerjs/docs": "1.0.
|
|
64
|
+
"@univerjs-pro/license": "1.0.3",
|
|
65
|
+
"@univerjs/core": "1.0.3",
|
|
66
|
+
"@univerjs/docs": "1.0.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.0.
|
|
69
|
+
"@univerjs-infra/shared": "1.0.3",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^5.0.0"
|