@univerjs-pro/docs-code 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4196(_0x1d32d9,_0x254af9){_0x1d32d9=_0x1d32d9-0xf7;var _0x8c96f7=_0x8c96();var _0x419619=_0x8c96f7[_0x1d32d9];return _0x419619;}(function(_0x5bade5,_0x2d1261){var _0x360c35=_0x4196,_0x22708d=_0x5bade5();while(!![]){try{var _0x1b19e0=parseInt(_0x360c35(0x14c))/0x1+parseInt(_0x360c35(0x104))/0x2+parseInt(_0x360c35(0x13a))/0x3*(-parseInt(_0x360c35(0xf8))/0x4)+parseInt(_0x360c35(0x103))/0x5+-parseInt(_0x360c35(0x11c))/0x6+-parseInt(_0x360c35(0x131))/0x7*(-parseInt(_0x360c35(0x11e))/0x8)+parseInt(_0x360c35(0x128))/0x9*(-parseInt(_0x360c35(0x12c))/0xa);if(_0x1b19e0===_0x2d1261)break;else _0x22708d['push'](_0x22708d['shift']());}catch(_0x3e12c8){_0x22708d['push'](_0x22708d['shift']());}}}(_0x8c96,0x93812),function(_0x385e2a,_0x3f1a1a){var _0x36edf2=_0x4196;typeof exports=='object'&&typeof module<'u'?_0x3f1a1a(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x36edf2(0x10a)&&define[_0x36edf2(0xff)]?define(['exports','@univerjs-pro/docs-code','@univerjs/core',_0x36edf2(0x110)],_0x3f1a1a):(_0x385e2a=typeof globalThis<'u'?globalThis:_0x385e2a||self,_0x3f1a1a(_0x385e2a[_0x36edf2(0x114)]={},_0x385e2a[_0x36edf2(0x109)],_0x385e2a[_0x36edf2(0x149)],_0x385e2a[_0x36edf2(0xfb)]));}(this,function(_0x36bbb2,_0x3e6acf,_0x270289,_0x139e45){var _0x448ab1=_0x4196;Object[_0x448ab1(0x11a)](_0x36bbb2,Symbol[_0x448ab1(0x147)],{'value':_0x448ab1(0x13d)});function _0x1714fe(_0x533331){'@babel/helpers - typeof';var _0x26bea0=_0x448ab1;return _0x1714fe=typeof Symbol==_0x26bea0(0x10a)&&typeof Symbol[_0x26bea0(0x146)]==_0x26bea0(0x106)?function(_0x2f8dd9){return typeof _0x2f8dd9;}:function(_0x5dd11c){var _0xca152e=_0x26bea0;return _0x5dd11c&&typeof Symbol=='function'&&_0x5dd11c[_0xca152e(0x101)]===Symbol&&_0x5dd11c!==Symbol[_0xca152e(0x10e)]?_0xca152e(0x106):typeof _0x5dd11c;},_0x1714fe(_0x533331);}function _0x95b71c(_0x54fe8f,_0xb6a39e){var _0x266608=_0x448ab1;if(_0x1714fe(_0x54fe8f)!=_0x266608(0x119)||!_0x54fe8f)return _0x54fe8f;var _0x4f542f=_0x54fe8f[Symbol[_0x266608(0x10d)]];if(_0x4f542f!==void 0x0){var _0x53946f=_0x4f542f[_0x266608(0x13c)](_0x54fe8f,_0xb6a39e||_0x266608(0x11f));if(_0x1714fe(_0x53946f)!='object')return _0x53946f;throw TypeError(_0x266608(0x140));}return(_0xb6a39e===_0x266608(0x144)?String:Number)(_0x54fe8f);}function _0x3a20b9(_0x23b10f){var _0xd5af0a=_0x95b71c(_0x23b10f,'string');return _0x1714fe(_0xd5af0a)=='symbol'?_0xd5af0a:_0xd5af0a+'';}function _0x594c3c(_0x328e8d,_0x305ca1,_0x16f66d){return(_0x305ca1=_0x3a20b9(_0x305ca1))in _0x328e8d?Object['defineProperty'](_0x328e8d,_0x305ca1,{'value':_0x16f66d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x328e8d[_0x305ca1]=_0x16f66d,_0x328e8d;}function _0x5dd0a7(_0x317a9e,_0x29971d){return function(_0x4dd103,_0x397c23){_0x29971d(_0x4dd103,_0x397c23,_0x317a9e);};}function _0x3c6e25(_0xe4b392,_0x3a4d6e,_0x3b84fd,_0x3ca0c1){var _0x45a92e=_0x448ab1,_0x16bf7c=arguments[_0x45a92e(0x100)],_0x1cb1ed=_0x16bf7c<0x3?_0x3a4d6e:_0x3ca0c1===null?_0x3ca0c1=Object['getOwnPropertyDescriptor'](_0x3a4d6e,_0x3b84fd):_0x3ca0c1,_0x381f34;if(typeof Reflect==_0x45a92e(0x119)&&typeof Reflect[_0x45a92e(0x108)]==_0x45a92e(0x10a))_0x1cb1ed=Reflect['decorate'](_0xe4b392,_0x3a4d6e,_0x3b84fd,_0x3ca0c1);else{for(var _0x287029=_0xe4b392[_0x45a92e(0x100)]-0x1;_0x287029>=0x0;_0x287029--)(_0x381f34=_0xe4b392[_0x287029])&&(_0x1cb1ed=(_0x16bf7c<0x3?_0x381f34(_0x1cb1ed):_0x16bf7c>0x3?_0x381f34(_0x3a4d6e,_0x3b84fd,_0x1cb1ed):_0x381f34(_0x3a4d6e,_0x3b84fd))||_0x1cb1ed);}return _0x16bf7c>0x3&&_0x1cb1ed&&Object[_0x45a92e(0x11a)](_0x3a4d6e,_0x3b84fd,_0x1cb1ed),_0x1cb1ed;}let _0x5d2b42=class{constructor(_0x47822b,_0x228b59,_0x251d8a){var _0x30f2e6=_0x448ab1;this[_0x30f2e6(0x118)]=_0x47822b,this['_blockId']=_0x228b59,this[_0x30f2e6(0x141)]=_0x251d8a,_0x594c3c(this,'_unitId',void 0x0),this['_unitId']=this[_0x30f2e6(0x118)][_0x30f2e6(0x107)]();}[_0x448ab1(0x107)](){var _0x42894c=_0x448ab1;return this[_0x42894c(0x133)];}[_0x448ab1(0x12f)](){var _0x2a6f68=_0x448ab1;let _0x15c09b=this['_getBlockRange']();return _0x15c09b?{'blockId':_0x15c09b[_0x2a6f68(0x12b)],'endIndex':_0x15c09b[_0x2a6f68(0x14e)],'startIndex':_0x15c09b['startIndex']}:null;}['getText'](){var _0x2c6c01=_0x448ab1,_0x4eca01;let _0x300982=this[_0x2c6c01(0x148)](),_0x593f20=(_0x4eca01=this[_0x2c6c01(0x145)]()[_0x2c6c01(0xfc)])==null?void 0x0:_0x4eca01[_0x2c6c01(0x11b)];return!_0x300982||!_0x593f20?'':_0x27c1e8(_0x593f20[_0x2c6c01(0xfa)](_0x300982['startIndex']+0x1,_0x300982[_0x2c6c01(0x14e)]));}[_0x448ab1(0x11d)](){var _0x4a8fd3=_0x448ab1;let _0x2a3ce3=this[_0x4a8fd3(0x12f)]();return _0x2a3ce3?{..._0x2a3ce3,'config':this[_0x4a8fd3(0x102)](),'text':this[_0x4a8fd3(0xf7)](),'type':_0x270289[_0x4a8fd3(0x112)][_0x4a8fd3(0x127)]}:null;}[_0x448ab1(0x102)](){var _0x4f7d2d=_0x448ab1;let _0x3a520d=this[_0x4f7d2d(0x141)][_0x4f7d2d(0x12a)](_0x3e6acf['DocsCodeModel']);return(0x0,_0x3e6acf[_0x4f7d2d(0x121)])(_0x3a520d['getCodeConfig'](this[_0x4f7d2d(0x14f)],this['_blockId']));}['updateConfig'](_0x2b1b36){var _0x4e0cf9=_0x448ab1;return this[_0x4e0cf9(0x141)][_0x4e0cf9(0x12a)](_0x270289['ICommandService'])[_0x4e0cf9(0x12d)](_0x3e6acf[_0x4e0cf9(0x111)]['id'],{'blockId':this[_0x4e0cf9(0x133)],'config':_0x2b1b36['config'],'unitId':this[_0x4e0cf9(0x14f)]});}[_0x448ab1(0x124)](){var _0x5bf50a=_0x448ab1;return this[_0x5bf50a(0x141)][_0x5bf50a(0x12a)](_0x270289['ICommandService'])[_0x5bf50a(0x12d)](_0x3e6acf[_0x5bf50a(0x130)]['id'],{'blockId':this[_0x5bf50a(0x133)],'unitId':this[_0x5bf50a(0x14f)]});}[_0x448ab1(0x10c)](){var _0x566206=_0x448ab1;return this[_0x566206(0x141)][_0x566206(0x12a)](_0x270289[_0x566206(0x138)])[_0x566206(0x12d)](_0x3e6acf[_0x566206(0x139)]['id'],{'blockId':this[_0x566206(0x133)],'unitId':this[_0x566206(0x14f)]});}['_getBlockRange'](){var _0x31a70f=_0x448ab1,_0x1ccd75;return((_0x1ccd75=this[_0x31a70f(0x145)]()[_0x31a70f(0xfc)])==null||(_0x1ccd75=_0x1ccd75['blockRanges'])==null?void 0x0:_0x1ccd75[_0x31a70f(0x143)](_0xde0333=>_0xde0333['blockId']===this['_blockId']&&_0xde0333[_0x31a70f(0x105)]===_0x270289[_0x31a70f(0x112)]['CODE']))??null;}[_0x448ab1(0x145)](){var _0x3e4ad2=_0x448ab1;return this['_document'][_0x3e4ad2(0x10f)]();}};_0x5d2b42=_0x3c6e25([_0x5dd0a7(0x2,(0x0,_0x270289[_0x448ab1(0xf9)])(_0x270289[_0x448ab1(0x13e)]))],_0x5d2b42);function _0x27c1e8(_0x38ea99){var _0xb2a89d=_0x448ab1;return Array[_0xb2a89d(0x135)](_0x38ea99)[_0xb2a89d(0x122)](_0x37eeca=>_0x37eeca===_0x270289['DataStreamTreeTokenType'][_0xb2a89d(0x115)]?'\x0a':_0x37eeca)[_0xb2a89d(0x134)](_0x2942ec=>_0x2942ec!==_0x270289[_0xb2a89d(0x117)]['BLOCK_START']&&_0x2942ec!==_0x270289[_0xb2a89d(0x117)][_0xb2a89d(0x129)]&&_0x2942ec!==_0x270289[_0xb2a89d(0x117)][_0xb2a89d(0x13b)])['join']('')[_0xb2a89d(0x113)](/\n$/,'');}var _0x3b434e=class extends _0x139e45[_0x448ab1(0x142)]{[_0x448ab1(0x10b)](){var _0x14e9b7=_0x448ab1;return this[_0x14e9b7(0x123)]()[_0x14e9b7(0x134)](_0x427ca8=>_0x427ca8['blockType']===_0x270289[_0x14e9b7(0x112)][_0x14e9b7(0x127)])[_0x14e9b7(0x122)](_0x4e5b4a=>this[_0x14e9b7(0x136)](_0x4e5b4a[_0x14e9b7(0x12b)]));}['getCode'](_0x48f1a3){var _0x5141e7=_0x448ab1;return this['_getBlockRanges']()[_0x5141e7(0x120)](_0x121a13=>_0x121a13[_0x5141e7(0x12b)]===_0x48f1a3&&_0x121a13['blockType']===_0x270289[_0x5141e7(0x112)][_0x5141e7(0x127)])?this[_0x5141e7(0x136)](_0x48f1a3):null;}['getCodeAt'](_0x3ca603){var _0x4df877=_0x448ab1;let _0x48c605=this[_0x4df877(0x123)]()[_0x4df877(0x143)](_0xeec2ed=>_0xeec2ed[_0x4df877(0x105)]===_0x270289['DocumentBlockRangeType'][_0x4df877(0x127)]&&_0xeec2ed[_0x4df877(0x14a)]<=_0x3ca603&&_0x3ca603<=_0xeec2ed[_0x4df877(0x14e)]);return _0x48c605?this[_0x4df877(0x136)](_0x48c605[_0x4df877(0x12b)]):null;}[_0x448ab1(0x126)](_0x52d36e){return this['findCodes'](_0x52d36e)[0x0]??null;}[_0x448ab1(0x132)](_0x46974b){var _0x5f03b1=_0x448ab1;let _0x920069=typeof _0x46974b==_0x5f03b1(0x144)?{'text':_0x46974b}:_0x46974b;return this['getCodes']()[_0x5f03b1(0x134)](_0x427359=>!(_0x920069['blockId']&&_0x427359[_0x5f03b1(0x107)]()!==_0x920069[_0x5f03b1(0x12b)]||_0x920069['text']&&!_0x427359[_0x5f03b1(0xf7)]()[_0x5f03b1(0x137)](_0x920069[_0x5f03b1(0x13f)])));}[_0x448ab1(0x116)](_0x493bf7={},_0x3bfb1c={}){var _0x141988=_0x448ab1;let _0x58473e=this['_injector'][_0x141988(0x12a)](_0x270289[_0x141988(0x138)]),_0x2da9f2=(0x0,_0x139e45[_0x141988(0x14b)])(_0x493bf7)?{..._0x3bfb1c,..._0x493bf7['getRange']()}:_0x493bf7,_0x3333f1=_0x2da9f2[_0x141988(0x12b)]??(0x0,_0x270289[_0x141988(0x12e)])(0x6);return _0x58473e[_0x141988(0x12d)](_0x3e6acf[_0x141988(0x14d)]['id'],{..._0x2da9f2,'blockId':_0x3333f1,'unitId':this['getId']()})?this[_0x141988(0xfe)](_0x3333f1):null;}[_0x448ab1(0x123)](){var _0x10452f=_0x448ab1,_0x2ccc62;return((_0x2ccc62=this[_0x10452f(0x10f)]()[_0x10452f(0xfc)])==null?void 0x0:_0x2ccc62['blockRanges'])??[];}[_0x448ab1(0x136)](_0x4d1d66){var _0x16750b=_0x448ab1;return this[_0x16750b(0x141)][_0x16750b(0xfd)](_0x5d2b42,this,_0x4d1d66);}};_0x139e45['FDocument'][_0x448ab1(0x125)](_0x3b434e),Object[_0x448ab1(0x11a)](_0x36bbb2,'FDocumentCode',{'enumerable':!0x0,'get':function(){return _0x5d2b42;}});}));function _0x8c96(){var _0x46a572=['_getDocumentData','iterator','toStringTag','_getBlockRange','UniverCore','startIndex','isParagraphFacade','115120qLIXQG','DocsCodeInsertCommand','endIndex','_unitId','getText','4quxfEr','Inject','slice','UniverDocsFacade','body','createInstance','getCode','amd','length','constructor','getConfig','4637720qWvToY','1614960EkIndC','blockType','symbol','getId','decorate','UniverProDocsCode','function','getCodes','remove','toPrimitive','prototype','save','@univerjs/docs/facade','DocsCodeUpdateCommand','DocumentBlockRangeType','replace','UniverProDocsCodeFacade','PARAGRAPH','insertCode','DataStreamTreeTokenType','_document','object','defineProperty','dataStream','5794932NMlZCH','describe','32BXVElf','default','some','normalizeDocsCodeConfig','map','_getBlockRanges','unwrap','extend','findCodeByText','CODE','261fxQucQ','BLOCK_END','get','blockId','198830KDxSJT','syncExecuteCommand','generateRandomId','getRange','DocsCodeUnwrapCommand','1060661UtGgNi','findCodes','_blockId','filter','from','_createFDocumentCode','includes','ICommandService','DocsCodeRemoveCommand','928887fgtHAc','SECTION_BREAK','call','Module','Injector','text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_injector','FDocument','find','string'];_0x8c96=function(){return _0x46a572;};return _0x8c96();}
|
|
1
|
+
(function(_0x350739,_0x548912){var _0x253db6=_0x15b8,_0x3ab1a2=_0x350739();while(!![]){try{var _0x2b7656=-parseInt(_0x253db6(0x11e))/0x1*(parseInt(_0x253db6(0x13e))/0x2)+parseInt(_0x253db6(0x149))/0x3+parseInt(_0x253db6(0x164))/0x4+-parseInt(_0x253db6(0x135))/0x5+-parseInt(_0x253db6(0x14d))/0x6*(parseInt(_0x253db6(0x144))/0x7)+-parseInt(_0x253db6(0x155))/0x8+parseInt(_0x253db6(0x11c))/0x9*(parseInt(_0x253db6(0x158))/0xa);if(_0x2b7656===_0x548912)break;else _0x3ab1a2['push'](_0x3ab1a2['shift']());}catch(_0x44dfc1){_0x3ab1a2['push'](_0x3ab1a2['shift']());}}}(_0x1352,0x455e3),function(_0x30c1e5,_0x30bd5f){var _0x1cc198=_0x15b8;typeof exports==_0x1cc198(0x121)&&typeof module<'u'?_0x30bd5f(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x1cc198(0x131)&&define[_0x1cc198(0x136)]?define([_0x1cc198(0x118),_0x1cc198(0x11f),_0x1cc198(0x138),_0x1cc198(0x139)],_0x30bd5f):(_0x30c1e5=typeof globalThis<'u'?globalThis:_0x30c1e5||self,_0x30bd5f(_0x30c1e5['UniverProDocsCodeFacade']={},_0x30c1e5[_0x1cc198(0x124)],_0x30c1e5[_0x1cc198(0x11d)],_0x30c1e5[_0x1cc198(0x15e)]));}(this,function(_0x3035c6,_0x585c90,_0x1dad66,_0x198ccf){var _0x4cde46=_0x15b8;Object[_0x4cde46(0x141)](_0x3035c6,Symbol[_0x4cde46(0x117)],{'value':_0x4cde46(0x140)});function _0x423fe5(_0x2a94ac){'@babel/helpers - typeof';var _0x274108=_0x4cde46;return _0x423fe5=typeof Symbol=='function'&&typeof Symbol[_0x274108(0x14e)]==_0x274108(0x153)?function(_0x1203c7){return typeof _0x1203c7;}:function(_0x9f10c){var _0x8c51ae=_0x274108;return _0x9f10c&&typeof Symbol==_0x8c51ae(0x131)&&_0x9f10c[_0x8c51ae(0x126)]===Symbol&&_0x9f10c!==Symbol[_0x8c51ae(0x12c)]?_0x8c51ae(0x153):typeof _0x9f10c;},_0x423fe5(_0x2a94ac);}function _0x48ffaa(_0x315b25,_0x27e26f){var _0x288bf2=_0x4cde46;if(_0x423fe5(_0x315b25)!=_0x288bf2(0x121)||!_0x315b25)return _0x315b25;var _0x4a48d0=_0x315b25[Symbol[_0x288bf2(0x15d)]];if(_0x4a48d0!==void 0x0){var _0x24cd47=_0x4a48d0[_0x288bf2(0x156)](_0x315b25,_0x27e26f||_0x288bf2(0x15a));if(_0x423fe5(_0x24cd47)!=_0x288bf2(0x121))return _0x24cd47;throw TypeError(_0x288bf2(0x171));}return(_0x27e26f==='string'?String:Number)(_0x315b25);}function _0xf9e028(_0x346769){var _0x1dec10=_0x4cde46,_0x10cb50=_0x48ffaa(_0x346769,_0x1dec10(0x157));return _0x423fe5(_0x10cb50)=='symbol'?_0x10cb50:_0x10cb50+'';}function _0x18c7c3(_0x17ac97,_0x46b78c,_0x436be1){return(_0x46b78c=_0xf9e028(_0x46b78c))in _0x17ac97?Object['defineProperty'](_0x17ac97,_0x46b78c,{'value':_0x436be1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17ac97[_0x46b78c]=_0x436be1,_0x17ac97;}function _0x244dce(_0x325b1d,_0x5146fb){return function(_0x4c3d31,_0x9c16cc){_0x5146fb(_0x4c3d31,_0x9c16cc,_0x325b1d);};}function _0x2b8e6f(_0x5f5752,_0x38b9ea,_0x384323,_0x4f81d4){var _0x139d7f=_0x4cde46,_0x2f8f95=arguments[_0x139d7f(0x143)],_0x2966bc=_0x2f8f95<0x3?_0x38b9ea:_0x4f81d4===null?_0x4f81d4=Object[_0x139d7f(0x125)](_0x38b9ea,_0x384323):_0x4f81d4,_0xb1a71f;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x2966bc=Reflect[_0x139d7f(0x160)](_0x5f5752,_0x38b9ea,_0x384323,_0x4f81d4);else{for(var _0x18d3a0=_0x5f5752[_0x139d7f(0x143)]-0x1;_0x18d3a0>=0x0;_0x18d3a0--)(_0xb1a71f=_0x5f5752[_0x18d3a0])&&(_0x2966bc=(_0x2f8f95<0x3?_0xb1a71f(_0x2966bc):_0x2f8f95>0x3?_0xb1a71f(_0x38b9ea,_0x384323,_0x2966bc):_0xb1a71f(_0x38b9ea,_0x384323))||_0x2966bc);}return _0x2f8f95>0x3&&_0x2966bc&&Object[_0x139d7f(0x141)](_0x38b9ea,_0x384323,_0x2966bc),_0x2966bc;}let _0x25ddc7=class{constructor(_0xa3f898,_0x311bdf,_0x26043c){var _0x344f3f=_0x4cde46;this[_0x344f3f(0x15c)]=_0xa3f898,this[_0x344f3f(0x11a)]=_0x311bdf,this['_injector']=_0x26043c,_0x18c7c3(this,_0x344f3f(0x12e),void 0x0),this['_unitId']=this[_0x344f3f(0x15c)][_0x344f3f(0x129)]();}[_0x4cde46(0x129)](){var _0x6afefb=_0x4cde46;return this[_0x6afefb(0x11a)];}['getRange'](){var _0x4cf352=_0x4cde46;let _0x158c2d=this[_0x4cf352(0x154)]();return _0x158c2d?{'blockId':_0x158c2d[_0x4cf352(0x13a)],'endIndex':_0x158c2d[_0x4cf352(0x170)],'startIndex':_0x158c2d['startIndex']}:null;}[_0x4cde46(0x167)](){var _0xbff262=_0x4cde46,_0x2f57c6;let _0x38270f=this['_getBlockRange'](),_0x3e079a=(_0x2f57c6=this[_0xbff262(0x122)]()['body'])==null?void 0x0:_0x2f57c6[_0xbff262(0x15f)];return!_0x38270f||!_0x3e079a?'':_0x214a03(_0x3e079a[_0xbff262(0x12b)](_0x38270f[_0xbff262(0x169)]+0x1,_0x38270f[_0xbff262(0x170)]));}['describe'](){var _0x186839=_0x4cde46;let _0x161521=this[_0x186839(0x162)]();return _0x161521?{..._0x161521,'config':this[_0x186839(0x16b)](),'text':this[_0x186839(0x167)](),'type':_0x1dad66['DocumentBlockRangeType'][_0x186839(0x14c)]}:null;}['getConfig'](){var _0x574732=_0x4cde46;let _0x126f77=this['_injector'][_0x574732(0x16a)](_0x585c90[_0x574732(0x145)]);return(0x0,_0x585c90[_0x574732(0x128)])(_0x126f77[_0x574732(0x13c)](this[_0x574732(0x12e)],this['_blockId']));}[_0x4cde46(0x127)](_0x516b68){var _0x115a85=_0x4cde46;return this['_injector'][_0x115a85(0x16a)](_0x1dad66[_0x115a85(0x12f)])[_0x115a85(0x13d)](_0x585c90[_0x115a85(0x142)]['id'],{'blockId':this[_0x115a85(0x11a)],'config':_0x516b68[_0x115a85(0x123)],'unitId':this[_0x115a85(0x12e)]});}['unwrap'](){var _0x22b4c4=_0x4cde46;return this[_0x22b4c4(0x172)][_0x22b4c4(0x16a)](_0x1dad66[_0x22b4c4(0x12f)])[_0x22b4c4(0x13d)](_0x585c90['DocsCodeUnwrapCommand']['id'],{'blockId':this[_0x22b4c4(0x11a)],'unitId':this[_0x22b4c4(0x12e)]});}[_0x4cde46(0x16d)](){var _0x2be9ff=_0x4cde46;return this[_0x2be9ff(0x172)]['get'](_0x1dad66[_0x2be9ff(0x12f)])[_0x2be9ff(0x13d)](_0x585c90['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2be9ff(0x11a)],'unitId':this['_unitId']});}[_0x4cde46(0x154)](){var _0x1f0f6c=_0x4cde46,_0xabc66c;return((_0xabc66c=this[_0x1f0f6c(0x122)]()[_0x1f0f6c(0x163)])==null||(_0xabc66c=_0xabc66c[_0x1f0f6c(0x13b)])==null?void 0x0:_0xabc66c[_0x1f0f6c(0x15b)](_0x4b0801=>_0x4b0801[_0x1f0f6c(0x13a)]===this[_0x1f0f6c(0x11a)]&&_0x4b0801[_0x1f0f6c(0x148)]===_0x1dad66[_0x1f0f6c(0x14b)][_0x1f0f6c(0x14c)]))??null;}[_0x4cde46(0x122)](){var _0xe16fbf=_0x4cde46;return this[_0xe16fbf(0x15c)][_0xe16fbf(0x152)]();}};_0x25ddc7=_0x2b8e6f([_0x244dce(0x2,(0x0,_0x1dad66[_0x4cde46(0x134)])(_0x1dad66[_0x4cde46(0x165)]))],_0x25ddc7);function _0x214a03(_0x3b4842){var _0x47b218=_0x4cde46;return Array[_0x47b218(0x146)](_0x3b4842)[_0x47b218(0x159)](_0x485878=>_0x485878===_0x1dad66[_0x47b218(0x173)][_0x47b218(0x166)]?'\x0a':_0x485878)['filter'](_0xb4091b=>_0xb4091b!==_0x1dad66[_0x47b218(0x173)][_0x47b218(0x130)]&&_0xb4091b!==_0x1dad66[_0x47b218(0x173)]['BLOCK_END']&&_0xb4091b!==_0x1dad66[_0x47b218(0x173)][_0x47b218(0x120)])[_0x47b218(0x16c)]('')[_0x47b218(0x14f)](/\n$/,'');}var _0x5bf339=class extends _0x198ccf[_0x4cde46(0x14a)]{[_0x4cde46(0x13f)](){var _0x4ba1fe=_0x4cde46;return this[_0x4ba1fe(0x151)]()[_0x4ba1fe(0x132)](_0x4e119e=>_0x4e119e['blockType']===_0x1dad66[_0x4ba1fe(0x14b)][_0x4ba1fe(0x14c)])[_0x4ba1fe(0x159)](_0x5ca10a=>this[_0x4ba1fe(0x161)](_0x5ca10a['blockId']));}[_0x4cde46(0x119)](_0x5c3198){var _0x22920c=_0x4cde46;return this[_0x22920c(0x151)]()[_0x22920c(0x133)](_0x132187=>_0x132187['blockId']===_0x5c3198&&_0x132187[_0x22920c(0x148)]===_0x1dad66[_0x22920c(0x14b)][_0x22920c(0x14c)])?this['_createFDocumentCode'](_0x5c3198):null;}[_0x4cde46(0x168)](_0x329847){var _0x3be1ed=_0x4cde46;let _0x458d10=this['_getBlockRanges']()['find'](_0xe7703b=>_0xe7703b[_0x3be1ed(0x148)]===_0x1dad66[_0x3be1ed(0x14b)][_0x3be1ed(0x14c)]&&_0xe7703b[_0x3be1ed(0x169)]<=_0x329847&&_0x329847<=_0xe7703b[_0x3be1ed(0x170)]);return _0x458d10?this[_0x3be1ed(0x161)](_0x458d10['blockId']):null;}[_0x4cde46(0x137)](_0x1a55e6){var _0x2cf910=_0x4cde46;return this[_0x2cf910(0x12a)](_0x1a55e6)[0x0]??null;}[_0x4cde46(0x12a)](_0x1f8cc5){var _0x2ce014=_0x4cde46;let _0x1e6641=typeof _0x1f8cc5==_0x2ce014(0x157)?{'text':_0x1f8cc5}:_0x1f8cc5;return this['getCodes']()[_0x2ce014(0x132)](_0x1c3a2e=>!(_0x1e6641[_0x2ce014(0x13a)]&&_0x1c3a2e['getId']()!==_0x1e6641[_0x2ce014(0x13a)]||_0x1e6641[_0x2ce014(0x16e)]&&!_0x1c3a2e[_0x2ce014(0x167)]()[_0x2ce014(0x12d)](_0x1e6641[_0x2ce014(0x16e)])));}[_0x4cde46(0x16f)](_0x537e71={},_0x2ba30a={}){var _0x4cf393=_0x4cde46;let _0x43722e=this['_injector'][_0x4cf393(0x16a)](_0x1dad66['ICommandService']),_0x5922d8=(0x0,_0x198ccf[_0x4cf393(0x150)])(_0x537e71)?{..._0x2ba30a,..._0x537e71[_0x4cf393(0x162)]()}:_0x537e71,_0x577311=_0x5922d8[_0x4cf393(0x13a)]??(0x0,_0x1dad66['generateRandomId'])(0x6);return _0x43722e[_0x4cf393(0x13d)](_0x585c90[_0x4cf393(0x11b)]['id'],{..._0x5922d8,'blockId':_0x577311,'unitId':this[_0x4cf393(0x129)]()})?this['getCode'](_0x577311):null;}[_0x4cde46(0x151)](){var _0x1d84f6=_0x4cde46,_0x2e252d;return((_0x2e252d=this[_0x1d84f6(0x152)]()['body'])==null?void 0x0:_0x2e252d[_0x1d84f6(0x13b)])??[];}['_createFDocumentCode'](_0x54c378){var _0x4e4c4f=_0x4cde46;return this[_0x4e4c4f(0x172)]['createInstance'](_0x25ddc7,this,_0x54c378);}};_0x198ccf[_0x4cde46(0x14a)]['extend'](_0x5bf339),Object[_0x4cde46(0x141)](_0x3035c6,_0x4cde46(0x147),{'enumerable':!0x0,'get':function(){return _0x25ddc7;}});}));function _0x15b8(_0x3ca212,_0x270075){_0x3ca212=_0x3ca212-0x117;var _0x1352ac=_0x1352();var _0x15b807=_0x1352ac[_0x3ca212];return _0x15b807;}function _0x1352(){var _0x4727d9=['Injector','PARAGRAPH','getText','getCodeAt','startIndex','get','getConfig','join','remove','text','insertCode','endIndex','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_injector','DataStreamTreeTokenType','toStringTag','exports','getCode','_blockId','DocsCodeInsertCommand','63dHftRe','UniverCore','5xbhDWV','@univerjs-pro/docs-code','SECTION_BREAK','object','_getDocumentData','config','UniverProDocsCode','getOwnPropertyDescriptor','constructor','updateConfig','normalizeDocsCodeConfig','getId','findCodes','slice','prototype','includes','_unitId','ICommandService','BLOCK_START','function','filter','some','Inject','1570110vZaqHS','amd','findCodeByText','@univerjs/core','@univerjs/docs/facade','blockId','blockRanges','getCodeConfig','syncExecuteCommand','148646beQGvq','getCodes','Module','defineProperty','DocsCodeUpdateCommand','length','14462zWbXth','DocsCodeModel','from','FDocumentCode','blockType','1550280ugEJqF','FDocument','DocumentBlockRangeType','CODE','1416yiQAro','iterator','replace','isParagraphFacade','_getBlockRanges','save','symbol','_getBlockRange','4523048uqWqlt','call','string','1360620yUCWOD','map','default','find','_document','toPrimitive','UniverDocsFacade','dataStream','decorate','_createFDocumentCode','getRange','body','2214124zVinsi'];_0x1352=function(){return _0x4727d9;};return _0x1352();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x206131,_0x3b51bf){const _0x187af0=_0x580a,_0x57e7dc=_0x206131();while(!![]){try{const _0x2d4692=parseInt(_0x187af0(0x168))/0x1*(parseInt(_0x187af0(0x112))/0x2)+parseInt(_0x187af0(0x134))/0x3*(-parseInt(_0x187af0(0x129))/0x4)+-parseInt(_0x187af0(0x182))/0x5+parseInt(_0x187af0(0x118))/0x6+parseInt(_0x187af0(0x16a))/0x7+-parseInt(_0x187af0(0x10a))/0x8*(-parseInt(_0x187af0(0x105))/0x9)+-parseInt(_0x187af0(0xdb))/0xa;if(_0x2d4692===_0x3b51bf)break;else _0x57e7dc['push'](_0x57e7dc['shift']());}catch(_0x59aad8){_0x57e7dc['push'](_0x57e7dc['shift']());}}}(_0x8da3,0xedb9b),function(_0x323f41,_0x53b707){const _0x106d8a=_0x580a;typeof exports=='object'&&typeof module<'u'?_0x53b707(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x106d8a(0x18d)&&define[_0x106d8a(0xfd)]?define([_0x106d8a(0xf3),'@univerjs/core','rxjs','@univerjs/docs','@univerjs-pro/license'],_0x53b707):(_0x323f41=typeof globalThis<'u'?globalThis:_0x323f41||self,_0x53b707(_0x323f41['UniverProDocsCode']={},_0x323f41[_0x106d8a(0x170)],_0x323f41[_0x106d8a(0x188)],_0x323f41['UniverDocs'],_0x323f41[_0x106d8a(0x136)]));}(this,function(_0x3acef2,_0xd38cf3,_0x3e42bb,_0x4f58d8,_0x3332d7){const _0x2afdb6=_0x580a;Object[_0x2afdb6(0x121)](_0x3acef2,Symbol[_0x2afdb6(0x142)],{'value':_0x2afdb6(0xe6)});let _0x493fbc={'language':'javascript','showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x212ab5(_0x4285cd){return{..._0x493fbc,..._0x4285cd};}function _0x3133e5(_0x1b5598){const _0x542bf9=_0x2afdb6;let _0x352263=(_0x1b5598==null?void 0x0:_0x1b5598['codes'])??{};return{'codes':Object['fromEntries'](Object['entries'](_0x352263)[_0x542bf9(0x151)](([_0x40fc90,_0x4c9684])=>[_0x40fc90,_0x212ab5(_0x4c9684)]))};}function _0x366088(_0x1f3062,_0x105d0b,_0x534050){const _0x391fad=_0x2afdb6;let _0x22a6ee=_0x3133e5(_0x1f3062);return _0x22a6ee['codes'][_0x105d0b]=_0x212ab5({..._0x22a6ee[_0x391fad(0xd7)][_0x105d0b],..._0x534050}),_0x22a6ee;}function _0x24a4c4(_0x5a2bad,_0x3c97cf){const _0x39b11e=_0x2afdb6;let _0x3bd9c4=_0x3133e5(_0x5a2bad);return delete _0x3bd9c4[_0x39b11e(0xd7)][_0x3c97cf],_0x3bd9c4;}function _0x36567b(_0x25dbf0){'@babel/helpers - typeof';const _0x2ec989=_0x2afdb6;return _0x36567b=typeof Symbol==_0x2ec989(0x18d)&&typeof Symbol[_0x2ec989(0xd4)]==_0x2ec989(0x195)?function(_0x372ee1){return typeof _0x372ee1;}:function(_0x2b49ce){const _0x459f98=_0x2ec989;return _0x2b49ce&&typeof Symbol==_0x459f98(0x18d)&&_0x2b49ce[_0x459f98(0x169)]===Symbol&&_0x2b49ce!==Symbol['prototype']?_0x459f98(0x195):typeof _0x2b49ce;},_0x36567b(_0x25dbf0);}function _0x43465d(_0x5cb610,_0x5c82d6){const _0x2327ca=_0x2afdb6;if(_0x36567b(_0x5cb610)!='object'||!_0x5cb610)return _0x5cb610;var _0x330d23=_0x5cb610[Symbol[_0x2327ca(0x150)]];if(_0x330d23!==void 0x0){var _0x4dd7bd=_0x330d23[_0x2327ca(0x162)](_0x5cb610,_0x5c82d6||'default');if(_0x36567b(_0x4dd7bd)!=_0x2327ca(0x17f))return _0x4dd7bd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5c82d6===_0x2327ca(0x103)?String:Number)(_0x5cb610);}function _0x29ead6(_0x567f62){const _0x29a45d=_0x2afdb6;var _0x862a16=_0x43465d(_0x567f62,_0x29a45d(0x103));return _0x36567b(_0x862a16)==_0x29a45d(0x195)?_0x862a16:_0x862a16+'';}function _0x5a41eb(_0x15a0a,_0x54aa91,_0x51f4ac){const _0x44bbe2=_0x2afdb6;return(_0x54aa91=_0x29ead6(_0x54aa91))in _0x15a0a?Object[_0x44bbe2(0x121)](_0x15a0a,_0x54aa91,{'value':_0x51f4ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x15a0a[_0x54aa91]=_0x51f4ac,_0x15a0a;}var _0x3f2913=class extends _0xd38cf3[_0x2afdb6(0xf1)]{constructor(..._0x3b5130){const _0x5b80cb=_0x2afdb6;super(..._0x3b5130),_0x5a41eb(this,_0x5b80cb(0xef),new Map()),_0x5a41eb(this,'_change$',new _0x3e42bb[(_0x5b80cb(0x131))]()),_0x5a41eb(this,_0x5b80cb(0x154),this[_0x5b80cb(0x180)][_0x5b80cb(0xcc)]());}[_0x2afdb6(0x190)](_0x5ee488,_0x40e5a0){const _0x549ec8=_0x2afdb6;return _0x3133e5(this[_0x549ec8(0xef)]['get'](_0x5ee488))[_0x549ec8(0xd7)][_0x40e5a0];}['setCodeConfig'](_0x137d83,_0x4536cf,_0x54eb2c){const _0x52a185=_0x2afdb6;this[_0x52a185(0x174)](_0x137d83,_0x4536cf,_0x366088(this[_0x52a185(0xef)][_0x52a185(0x175)](_0x137d83),_0x4536cf,_0x54eb2c));}[_0x2afdb6(0x12d)](_0x29b72e,_0x433b8e){const _0x398472=_0x2afdb6;this[_0x398472(0x174)](_0x29b72e,_0x433b8e,_0x24a4c4(this[_0x398472(0xef)][_0x398472(0x175)](_0x29b72e),_0x433b8e));}[_0x2afdb6(0x12c)](_0x33aa82){const _0x1e50d5=_0x2afdb6;return _0x3133e5(this[_0x1e50d5(0xef)]['get'](_0x33aa82));}[_0x2afdb6(0x165)](_0x3fc523,_0x131596){const _0x2359c1=_0x2afdb6;this[_0x2359c1(0xef)][_0x2359c1(0x15f)](_0x3fc523,_0x3133e5(_0x131596)),this[_0x2359c1(0x180)][_0x2359c1(0x16b)]({'unitId':_0x3fc523});}[_0x2afdb6(0x187)](_0x32745d){const _0x3d93a1=_0x2afdb6;this[_0x3d93a1(0xef)][_0x3d93a1(0xeb)](_0x32745d),this[_0x3d93a1(0x180)]['next']({'unitId':_0x32745d});}[_0x2afdb6(0x110)](){const _0x1d977e=_0x2afdb6;super[_0x1d977e(0x110)](),this[_0x1d977e(0xef)][_0x1d977e(0x17e)](),this[_0x1d977e(0x180)][_0x1d977e(0x13f)]();}[_0x2afdb6(0x174)](_0xecdeed,_0x194bd0,_0x8b5916){const _0x6ca9f5=_0x2afdb6;this[_0x6ca9f5(0xef)][_0x6ca9f5(0x15f)](_0xecdeed,_0x8b5916),this[_0x6ca9f5(0x180)][_0x6ca9f5(0x16b)]({'unitId':_0xecdeed,'blockId':_0x194bd0});}};let _0xce451a={'id':_0x2afdb6(0x179),'type':_0xd38cf3[_0x2afdb6(0x10c)]['MUTATION'],'handler':(_0x5e7e64,_0x2d61e5)=>!(_0x2d61e5!=null&&_0x2d61e5['unitId'])||!_0x2d61e5['blockId']?!0x1:(_0x5e7e64[_0x2afdb6(0x175)](_0x3f2913)[_0x2afdb6(0x196)](_0x2d61e5[_0x2afdb6(0x147)],_0x2d61e5[_0x2afdb6(0x106)],_0x2d61e5[_0x2afdb6(0x128)]),!0x0)},_0x5c0f3a={'id':_0x2afdb6(0x12b),'type':_0xd38cf3[_0x2afdb6(0x10c)]['MUTATION'],'handler':(_0x30cab8,_0x1bd3f6)=>!(_0x1bd3f6!=null&&_0x1bd3f6['unitId'])||!_0x1bd3f6[_0x2afdb6(0x106)]?!0x1:(_0x30cab8[_0x2afdb6(0x175)](_0x3f2913)['removeCode'](_0x1bd3f6[_0x2afdb6(0x147)],_0x1bd3f6[_0x2afdb6(0x106)]),!0x0)},_0x164bbe=_0x2afdb6(0xec);var _0x5fa9e8=class extends Error{constructor(_0x37e1a2=_0x2afdb6(0xd0)){super(_0x37e1a2);}};function _0x24f6fc(_0x78ac3f){const _0x1ade06=_0x2afdb6;var _0x2940db;let _0x1304e0=_0x433f92(_0x78ac3f[_0x1ade06(0xd8)]),_0xd1dc7b=_0x517ef8(_0x1304e0),_0xeb0dcd=_0x22b08d(_0x78ac3f[_0x1ade06(0x144)],_0x78ac3f[_0x1ade06(0xd2)]),_0x5ea88c=_0xeb0dcd?(_0x2940db=_0xd1dc7b[_0x1ade06(0x14d)])==null?void 0x0:_0x2940db[_0x1ade06(0x156)](_0xc5d577=>{const _0x8c3b0=_0x1ade06;let _0x32198a=(0x0,_0xd38cf3['getBlockRangeInterval'])(_0xc5d577);return _0x32198a[_0x8c3b0(0x144)]===_0xeb0dcd[_0x8c3b0(0x144)]&&_0x32198a[_0x8c3b0(0xd2)]===_0xeb0dcd[_0x8c3b0(0xd2)];}):void 0x0,{startOffset:_0x404de9,endOffset:_0x5378e5}=_0x5ea88c?_0xeb0dcd:_0x33e70f(_0xd1dc7b,_0x78ac3f['startOffset'],_0x78ac3f['endOffset'],_0x78ac3f[_0x1ade06(0x176)]);if(!_0x5ea88c&&_0x1dc7b3(_0xd1dc7b,_0x404de9,_0x5378e5))throw new _0x5fa9e8(_0x1ade06(0x15b));let _0x21ec1b=_0x345c62(_0xd1dc7b,_0x404de9,_0x5378e5),_0xe7e0e7=(_0x5ea88c==null?void 0x0:_0x5ea88c[_0x1ade06(0x106)])??_0x78ac3f[_0x1ade06(0x106)],_0x523b3b=_0x366088(_0x78ac3f[_0x1ade06(0x15d)],_0xe7e0e7,{..._0x493fbc,..._0x78ac3f[_0x1ade06(0x128)]});if(_0x5ea88c)return _0x5ea88c['blockType']=_0xd38cf3[_0x1ade06(0x10d)]['CODE'],_0x54b2dd(_0xd1dc7b,_0x404de9,_0x5378e5),_0x5d453c(_0xd1dc7b,_0x404de9,_0x5378e5,_0x21ec1b),_0xd0dac5(_0xd1dc7b,_0x5ea88c),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};if(_0x404de9===_0x5378e5){var _0x130c87,_0x3ee200;let _0x52119e=''+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xe4)]+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0x16d)]+_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xd6)];_0x5addc3(_0xd1dc7b,_0x404de9,_0x52119e,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0xd38cf3[_0x1ade06(0x14e)])(new Set((_0x130c87=_0xd1dc7b[_0x1ade06(0x14c)])==null?void 0x0:_0x130c87[_0x1ade06(0x151)](_0x1efcc6=>_0x1efcc6[_0x1ade06(0x11c)]))),'paragraphStyle':_0x3548b4(!0x0,!0x0,_0x21ec1b)}],'blockRanges':[{'blockId':_0xe7e0e7,'blockType':_0xd38cf3[_0x1ade06(0x10d)]['CODE'],'startIndex':0x0,'endIndex':_0x52119e[_0x1ade06(0x19d)]-0x1}]});let _0x183b13=(_0x3ee200=_0xd1dc7b['blockRanges'])==null?void 0x0:_0x3ee200[_0x1ade06(0x156)](_0x454b3c=>_0x454b3c[_0x1ade06(0x106)]===_0xe7e0e7);return _0x183b13&&_0xd0dac5(_0xd1dc7b,_0x183b13),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};}_0x5addc3(_0xd1dc7b,_0x5378e5,_0xd38cf3[_0x1ade06(0x148)][_0x1ade06(0xd6)]),_0x5addc3(_0xd1dc7b,_0x404de9,_0xd38cf3[_0x1ade06(0x148)]['BLOCK_START']),_0x5d453c(_0xd1dc7b,_0x404de9,_0x5378e5+0x1,_0x21ec1b);let _0x2bca6b={'blockId':_0xe7e0e7,'blockType':_0xd38cf3[_0x1ade06(0x10d)][_0x1ade06(0xcf)],'startIndex':_0x404de9,'endIndex':_0x5378e5+0x1};return _0xd1dc7b[_0x1ade06(0x14d)]=[..._0xd1dc7b[_0x1ade06(0x14d)]??[],_0x2bca6b][_0x1ade06(0xda)]((_0x44577a,_0x407f5f)=>_0x44577a[_0x1ade06(0xdc)]-_0x407f5f[_0x1ade06(0xdc)]),_0xd0dac5(_0xd1dc7b,_0x2bca6b),{'nextDocumentData':_0x1304e0,'nextMetadata':_0x523b3b,'cursorOffset':_0x404de9+0x1};}function _0x54b2dd(_0xf60ba6,_0x2cf445,_0x4d49f3){const _0x110a48=_0x2afdb6;(_0xf60ba6['paragraphs']??[])['filter'](_0x295e6e=>_0x295e6e[_0x110a48(0xdc)]>_0x2cf445&&_0x295e6e[_0x110a48(0xdc)]<_0x4d49f3)[_0x110a48(0x133)](_0x5dff5f=>{const _0x379677=_0x110a48;let _0x47bde4={..._0x5dff5f[_0x379677(0x130)]??{}};delete _0x47bde4[_0x379677(0x19b)],delete _0x47bde4[_0x379677(0xe5)],_0x5dff5f[_0x379677(0x130)]=_0x47bde4;});}function _0x22b08d(_0x48aada,_0xcc67fc){const _0x1ef73b=_0x2afdb6;return _0x48aada==null||_0xcc67fc==null||_0x48aada===_0xcc67fc?null:{'startOffset':Math['min'](_0x48aada,_0xcc67fc),'endOffset':Math[_0x1ef73b(0x149)](_0x48aada,_0xcc67fc)};}function _0x1dc7b3(_0xe69746,_0x5a6b51,_0x2e86e8){const _0x3b75f4=_0x2afdb6;return(_0xe69746[_0x3b75f4(0x14d)]??[])[_0x3b75f4(0x12f)](_0x3a10f6=>{const _0x556903=_0x3b75f4;let _0x4fe6f7=(0x0,_0xd38cf3['getBlockRangeInterval'])(_0x3a10f6);return _0x5a6b51===_0x2e86e8?(0x0,_0xd38cf3[_0x556903(0x186)])(_0x4fe6f7,_0x5a6b51):(0x0,_0xd38cf3['intersectsOperationalIntervals'])(_0x4fe6f7,{'startOffset':_0x5a6b51,'endOffset':_0x2e86e8});});}function _0x150871(_0x19d763){const _0x1ccd96=_0x2afdb6;return{'nextDocumentData':_0x433f92(_0x19d763[_0x1ccd96(0xd8)]),'nextMetadata':_0x366088(_0x19d763['metadata'],_0x19d763[_0x1ccd96(0x106)],_0x19d763[_0x1ccd96(0x128)]),'cursorOffset':0x0};}function _0x57d96c(_0x58f309){const _0x2187bc=_0x2afdb6;let _0x598381=_0x433f92(_0x58f309['documentData']),_0x4b40b8=_0x517ef8(_0x598381),_0x1dfae0=_0x3ccaa9(_0x4b40b8,_0x58f309[_0x2187bc(0x106)]);if(!_0x1dfae0)return null;let _0x470066=_0x2b84fe(_0x4b40b8,_0x1dfae0);return{'nextDocumentData':_0x598381,'nextMetadata':_0x24a4c4(_0x58f309['metadata'],_0x58f309[_0x2187bc(0x106)]),'cursorOffset':_0x470066};}function _0x14fe73(_0x13cb0b){const _0x5887c8=_0x2afdb6;var _0x5b8d9b;let _0x30f392=_0x433f92(_0x13cb0b[_0x5887c8(0xd8)]),_0x136a28=_0x517ef8(_0x30f392),_0x572e72=_0x3ccaa9(_0x136a28,_0x13cb0b['blockId']);if(!_0x572e72)return null;let _0x5a79ee=(0x0,_0xd38cf3[_0x5887c8(0x126)])(_0x572e72);return _0x4228ee(_0x136a28,_0x5a79ee[_0x5887c8(0x144)],_0x5a79ee[_0x5887c8(0xd2)]),_0x136a28[_0x5887c8(0x14d)]=(_0x5b8d9b=_0x136a28['blockRanges'])==null?void 0x0:_0x5b8d9b['filter'](_0x3354a6=>_0x3354a6[_0x5887c8(0x106)]!==_0x13cb0b[_0x5887c8(0x106)]),{'nextDocumentData':_0x30f392,'nextMetadata':_0x24a4c4(_0x13cb0b[_0x5887c8(0x15d)],_0x13cb0b['blockId']),'cursorOffset':_0x572e72[_0x5887c8(0xdc)]};}function _0x3a3c9d(_0x224efe){const _0xdc9875=_0x2afdb6;let _0x51831f=_0x433f92(_0x224efe[_0xdc9875(0xd8)]),_0x50d17d=_0x517ef8(_0x51831f),_0x2b6aad=_0x4e3840(_0x50d17d,_0x224efe[_0xdc9875(0x15a)]);return _0x2b6aad&&_0x5decc2(_0x51831f,_0x50d17d,_0x2b6aad,_0x224efe[_0xdc9875(0x15a)],_0x224efe[_0xdc9875(0x111)])||null;}function _0x5decc2(_0x2d0896,_0x1d1096,_0x14c74d,_0xae8860,_0x5bc8dd){const _0x5df40a=_0x2afdb6;let _0x53e13d=_0x23f2d0(_0x1d1096,_0x14c74d,_0xae8860,_0x5bc8dd);if(!_0x53e13d)return null;let _0x3afc70=_0x53e13d[_0x5df40a(0x183)]-0x1;return _0x4228ee(_0x1d1096,_0x53e13d[_0x5df40a(0x152)][_0x5df40a(0xdc)],_0x53e13d['paragraph'][_0x5df40a(0xdc)]+0x1),{'nextDocumentData':_0x2d0896,'cursorOffset':_0x3afc70};}function _0x3ccaa9(_0x4ce9bf,_0x39053e){const _0x52a97b=_0x2afdb6;var _0x5970a2;return _0x4ce9bf==null||(_0x5970a2=_0x4ce9bf[_0x52a97b(0x14d)])==null?void 0x0:_0x5970a2[_0x52a97b(0x156)](_0x25cfd7=>_0x25cfd7['blockType']===_0xd38cf3[_0x52a97b(0x10d)][_0x52a97b(0xcf)]&&_0x25cfd7[_0x52a97b(0x106)]===_0x39053e);}function _0x59b944(_0x511be2){const _0x243f3e=_0x2afdb6;let _0x4d5764=_0x511be2[_0x243f3e(0xd8)]['body'];if(!_0x4d5764)return!0x1;let _0xfa7c7f=_0x511be2['direction']==='left'?_0x511be2[_0x243f3e(0x15a)]-0x1:_0x511be2[_0x243f3e(0x15a)],_0x4297ba=_0x511be2[_0x243f3e(0x13b)]===_0x243f3e(0xdf)?_0x511be2['cursorOffset']+0x1:_0xfa7c7f;return(_0x4d5764[_0x243f3e(0x14d)]??[])[_0x243f3e(0x12f)](_0x4b2c9e=>_0x4b2c9e[_0x243f3e(0x19f)]===_0xd38cf3[_0x243f3e(0x10d)][_0x243f3e(0xcf)]?_0xfa7c7f===_0x4b2c9e[_0x243f3e(0xdc)]||_0xfa7c7f===_0x4b2c9e[_0x243f3e(0x198)]||_0x4297ba===_0x4b2c9e[_0x243f3e(0xdc)]||_0x4297ba===_0x4b2c9e[_0x243f3e(0x198)]:!0x1);}function _0x4e3840(_0x21df6f,_0x469fa9){const _0x59e860=_0x2afdb6;var _0x16a399;return(_0x16a399=_0x21df6f[_0x59e860(0x14d)])==null?void 0x0:_0x16a399[_0x59e860(0x156)](_0x3c6ade=>{const _0x398d63=_0x59e860;let _0x2cde5c=_0x31cf86(_0x3c6ade);return _0x3c6ade['blockType']===_0xd38cf3[_0x398d63(0x10d)][_0x398d63(0xcf)]&&_0x3c6ade[_0x398d63(0xdc)]<=_0x469fa9&&_0x469fa9<=_0x2cde5c+0x2;});}function _0x3548b4(_0xa310dd,_0x7db1bc,_0x24d3b2=!0x1){const _0x5f3d40=_0x2afdb6;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],'keepNext':_0x7db1bc?_0xd38cf3[_0x5f3d40(0x123)]['FALSE']:_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],'widowControl':_0xd38cf3[_0x5f3d40(0x123)]['TRUE'],..._0xa310dd&&_0x24d3b2?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x164bbe,'fs':0xc}};}function _0x5d453c(_0x1f1196,_0x16e20e,_0x3b3c94,_0x1c5ded=!0x1){const _0x25aba9=_0x2afdb6;let _0x267b94=(_0x1f1196[_0x25aba9(0x14c)]??[])[_0x25aba9(0x13a)](_0x2c3631=>_0x2c3631[_0x25aba9(0xdc)]>_0x16e20e&&_0x2c3631['startIndex']<_0x3b3c94);_0x267b94['forEach']((_0x3239a3,_0x249a53)=>{const _0x1d2c00=_0x25aba9;_0x3239a3[_0x1d2c00(0x130)]={..._0x3239a3['paragraphStyle']??{},..._0x3548b4(_0x249a53===0x0,_0x249a53===_0x267b94[_0x1d2c00(0x19d)]-0x1,_0x1c5ded)};});}function _0x3cba34(_0x5d4d3f){const _0x591eed=_0x2afdb6;var _0x2b80bb,_0x318ee4;let _0x97fd56={..._0x5d4d3f??{}};return delete _0x97fd56[_0x591eed(0x192)],delete _0x97fd56[_0x591eed(0x113)],delete _0x97fd56[_0x591eed(0x19b)],delete _0x97fd56[_0x591eed(0xe5)],delete _0x97fd56[_0x591eed(0x171)],delete _0x97fd56['keepNext'],delete _0x97fd56[_0x591eed(0x140)],((_0x2b80bb=_0x97fd56[_0x591eed(0x15c)])==null?void 0x0:_0x2b80bb['ff'])===_0x164bbe&&((_0x318ee4=_0x97fd56[_0x591eed(0x15c)])==null?void 0x0:_0x318ee4['fs'])===0xc&&delete _0x97fd56[_0x591eed(0x15c)],_0x97fd56;}function _0x2dd2d4(_0xcf47fb,_0x10ba39){const _0x4b655e=_0x2afdb6;let _0x57ac4b=_0x31cf86(_0x10ba39);return(_0xcf47fb[_0x4b655e(0x14c)]??[])[_0x4b655e(0x13a)](_0x596a43=>_0x596a43[_0x4b655e(0xdc)]>_0x10ba39[_0x4b655e(0xdc)]&&_0x596a43[_0x4b655e(0xdc)]<_0x57ac4b);}function _0x2b84fe(_0x953ca5,_0x32436a){const _0x46a95c=_0x2afdb6;var _0x90e0f7;let _0x2dc13b=_0x31cf86(_0x32436a);return _0x2dd2d4(_0x953ca5,_0x32436a)[_0x46a95c(0x133)](_0x3c707f=>{const _0x39e7aa=_0x46a95c;_0x3c707f[_0x39e7aa(0x130)]=_0x3cba34(_0x3c707f[_0x39e7aa(0x130)]);}),_0x4228ee(_0x953ca5,_0x2dc13b,_0x2dc13b+0x1),_0x4228ee(_0x953ca5,_0x32436a[_0x46a95c(0xdc)],_0x32436a[_0x46a95c(0xdc)]+0x1),_0x953ca5['blockRanges']=(_0x90e0f7=_0x953ca5[_0x46a95c(0x14d)])==null?void 0x0:_0x90e0f7['filter'](_0x5262a7=>_0x5262a7['blockId']!==_0x32436a[_0x46a95c(0x106)]),_0x32436a['startIndex'];}function _0x433f92(_0x30695a){const _0x14c58a=_0x2afdb6;return{..._0x30695a,'body':_0x30695a['body']?_0x1372a9(_0x30695a[_0x14c58a(0x161)]):_0x30695a['body']};}function _0x1372a9(_0x224054){const _0x46055c=_0x2afdb6;var _0x361f3f,_0x361522,_0x5d68e2,_0x1e51e8,_0x1a7be8,_0x2e5326,_0x3b4835,_0xabb501,_0x35300f;return{..._0x224054,'paragraphs':(_0x361f3f=_0x224054[_0x46055c(0x14c)])==null?void 0x0:_0x361f3f[_0x46055c(0x151)](_0x3af83b=>({..._0x3af83b,'bullet':_0x551cbb(_0x3af83b[_0x46055c(0x115)]),'paragraphStyle':_0x551cbb(_0x3af83b['paragraphStyle'])})),'sectionBreaks':(_0x361522=_0x224054[_0x46055c(0xfa)])==null?void 0x0:_0x361522[_0x46055c(0x151)](_0x3d46b1=>({..._0x3d46b1})),'textRuns':(_0x5d68e2=_0x224054[_0x46055c(0x18f)])==null?void 0x0:_0x5d68e2['map'](_0x3391ec=>({..._0x3391ec})),'tables':(_0x1e51e8=_0x224054[_0x46055c(0x178)])==null?void 0x0:_0x1e51e8[_0x46055c(0x151)](_0x46c795=>({..._0x46c795})),'columnGroups':(_0x1a7be8=_0x224054[_0x46055c(0x137)])==null?void 0x0:_0x1a7be8['map'](_0x2d5996=>{const _0x31df82=_0x46055c;var _0x33ca9b;return{..._0x2d5996,'columns':(_0x33ca9b=_0x2d5996['columns'])==null?void 0x0:_0x33ca9b[_0x31df82(0x151)](_0x13f2e7=>_0x551cbb(_0x13f2e7))};}),'blockRanges':(_0x2e5326=_0x224054[_0x46055c(0x14d)])==null?void 0x0:_0x2e5326['map'](_0x5b8a31=>({..._0x5b8a31})),'customRanges':(_0x3b4835=_0x224054[_0x46055c(0x173)])==null?void 0x0:_0x3b4835[_0x46055c(0x151)](_0x2504e0=>({..._0x2504e0})),'customDecorations':(_0xabb501=_0x224054[_0x46055c(0x193)])==null?void 0x0:_0xabb501[_0x46055c(0x151)](_0x569725=>({..._0x569725})),'customBlocks':(_0x35300f=_0x224054[_0x46055c(0x17d)])==null?void 0x0:_0x35300f[_0x46055c(0x151)](_0x8b9126=>({..._0x8b9126}))};}function _0x551cbb(_0x200695){const _0x8115fb=_0x2afdb6;return Array[_0x8115fb(0x1a1)](_0x200695)?_0x200695[_0x8115fb(0x151)](_0x1f5e09=>_0x551cbb(_0x1f5e09)):!_0x200695||typeof _0x200695!=_0x8115fb(0x17f)?_0x200695:Object[_0x8115fb(0x145)](Object[_0x8115fb(0x122)](_0x200695)[_0x8115fb(0x151)](([_0x35abec,_0x4f07b3])=>[_0x35abec,_0x551cbb(_0x4f07b3)]));}function _0x517ef8(_0x2044d5){const _0x50e9b6=_0x2afdb6;if(!_0x2044d5[_0x50e9b6(0x161)])throw Error(_0x50e9b6(0x132));return _0x2044d5[_0x50e9b6(0x161)];}function _0x33e70f(_0x479743,_0x3ff724,_0x17e025,_0xb793af='convert-paragraph'){const _0x557f89=_0x2afdb6;if(_0x3ff724==null||_0x17e025==null){let _0x3c8979=_0x44be4a(_0x479743);return{'startOffset':_0x3c8979,'endOffset':_0x3c8979};}let _0x5afdaf=Math[_0x557f89(0xe9)](_0x3ff724,_0x17e025),_0x5721ea=Math[_0x557f89(0x149)](_0x3ff724,_0x17e025),_0x129d91=_0x4e53ad(_0x479743,_0x5afdaf,_0x5721ea);return _0x5afdaf===_0x5721ea?_0xb793af===_0x557f89(0x167)?{'startOffset':_0x5afdaf,'endOffset':_0x5721ea}:_0x4b2ba2(_0x479743,_0x5afdaf,_0x129d91):_0x5ba93c(_0x479743,_0x5afdaf,_0x5721ea,_0x129d91);}function _0x4b2ba2(_0x5c0ad9,_0x119d92,_0x43b28b){const _0x5741ef=_0x2afdb6;let _0x1998c9=_0x1c5733(_0x5c0ad9,_0x119d92);if(_0x1998c9){let _0x503354=_0x3803bb(_0x5c0ad9,_0x1998c9,_0x43b28b);if(_0x503354<_0x1998c9[_0x5741ef(0xdc)])return{'startOffset':_0x503354,'endOffset':_0x43b28b?Math[_0x5741ef(0xe9)](_0x1998c9['startIndex']+0x1,_0x43b28b[_0x5741ef(0xd2)]):_0x1998c9['startIndex']+0x1};}let _0x14b2f2=_0x119d92===0x0&&_0x5c0ad9[_0x5741ef(0x16c)][0x0]===_0xd38cf3[_0x5741ef(0x148)][_0x5741ef(0x16d)]?0x1:_0x119d92;return{'startOffset':_0x14b2f2,'endOffset':_0x14b2f2};}function _0x44be4a(_0xa0e720){const _0x585b1f=_0x2afdb6;return _0xa0e720[_0x585b1f(0x16c)][_0x585b1f(0x17c)](_0xd38cf3[_0x585b1f(0x148)][_0x585b1f(0x14f)])?Math['max'](0x0,_0xa0e720['dataStream'][_0x585b1f(0x19d)]-0x1):_0xa0e720[_0x585b1f(0x16c)][_0x585b1f(0x19d)];}function _0x345c62(_0x4f6d82,_0x29c65,_0x3d81df){const _0x1c777e=_0x2afdb6;var _0xe4e440;let _0x58ff27=Math[_0x1c777e(0xe9)](_0x29c65,_0x3d81df),_0x1867fe=Math[_0x1c777e(0x149)](_0x29c65,_0x3d81df);return!!((_0xe4e440=_0x4f6d82[_0x1c777e(0x178)])!=null&&_0xe4e440[_0x1c777e(0x12f)](_0x1f9bdc=>_0x58ff27>_0x1f9bdc[_0x1c777e(0xdc)]&&_0x58ff27<_0x1f9bdc[_0x1c777e(0x198)]||_0x1867fe>_0x1f9bdc[_0x1c777e(0xdc)]&&_0x1867fe<_0x1f9bdc[_0x1c777e(0x198)]||_0x58ff27<=_0x1f9bdc[_0x1c777e(0xdc)]&&_0x1867fe>=_0x1f9bdc[_0x1c777e(0x198)]));}function _0x5ba93c(_0xeadcb0,_0x53ff6c,_0x3f5b3c,_0x1a37cb){const _0x5c720e=_0x2afdb6;let _0x572702=[..._0xeadcb0['paragraphs']??[]]['sort']((_0x4c1210,_0x563fc0)=>_0x4c1210['startIndex']-_0x563fc0['startIndex']),_0x509e9b=(0x0,_0xd38cf3[_0x5c720e(0x11f)])(_0xeadcb0),_0x30516a=_0x572702['find'](_0x510be6=>_0x3803bb(_0xeadcb0,_0x510be6,_0x1a37cb,_0x509e9b)<=_0x53ff6c&&_0x53ff6c<=_0x510be6[_0x5c720e(0xdc)]),_0x51def7=_0x572702[_0x5c720e(0x156)](_0x33fdd4=>_0x33fdd4[_0x5c720e(0xdc)]>=_0x3f5b3c-0x1)??_0x572702[_0x572702[_0x5c720e(0x19d)]-0x1];return{'startOffset':_0x30516a?_0x3803bb(_0xeadcb0,_0x30516a,_0x1a37cb,_0x509e9b):_0x53ff6c,'endOffset':_0x51def7?_0x8336f0(_0x51def7,_0x1a37cb):_0x3f5b3c};}function _0x1c5733(_0x53cf3c,_0x139a30){const _0x514258=_0x2afdb6;let _0x123cbb=[..._0x53cf3c[_0x514258(0x14c)]??[]][_0x514258(0xda)]((_0x4c9f34,_0x51443b)=>_0x4c9f34[_0x514258(0xdc)]-_0x51443b[_0x514258(0xdc)]),_0x11161f=(0x0,_0xd38cf3[_0x514258(0x11f)])(_0x53cf3c);return _0x123cbb[_0x514258(0x156)](_0x3ae516=>(_0x11161f['get'](_0x3ae516['startIndex'])??0x0)<=_0x139a30&&_0x139a30<=_0x3ae516[_0x514258(0xdc)]);}function _0x3803bb(_0x53b3f1,_0x1f1670,_0x4f4dc8,_0x236b4f){const _0x68a326=_0x2afdb6;let _0x2d7c9a=(_0x236b4f==null?void 0x0:_0x236b4f[_0x68a326(0x175)](_0x1f1670['startIndex']))??(0x0,_0xd38cf3[_0x68a326(0x10f)])(_0x53b3f1,_0x1f1670);return _0x4f4dc8?Math[_0x68a326(0x149)](_0x2d7c9a,_0x4f4dc8[_0x68a326(0x144)]):_0x2d7c9a;}function _0x8336f0(_0x16780c,_0x20e4ef){const _0xe6e775=_0x2afdb6;let _0x4a7857=_0x16780c[_0xe6e775(0xdc)]+0x1;return _0x20e4ef?Math['min'](_0x4a7857,_0x20e4ef[_0xe6e775(0xd2)]):_0x4a7857;}function _0x4e53ad(_0x4ad901,_0x4c04f2,_0x1cd11b){const _0x230c78=_0x2afdb6;let _0x525bb7=_0x3c0931(_0x4ad901,_0x4c04f2),_0x597af5=_0x3c0931(_0x4ad901,_0x4c04f2===_0x1cd11b?_0x1cd11b:Math[_0x230c78(0x149)](_0x4c04f2,_0x1cd11b-0x1));if(_0x525bb7||_0x597af5){if(!_0x525bb7||!_0x597af5||_0x525bb7[_0x230c78(0xd9)]!==_0x597af5[_0x230c78(0xd9)]||_0x525bb7['endTokenOffset']!==_0x597af5['endTokenOffset'])throw new _0x5fa9e8();return _0x525bb7;}}function _0x3c0931(_0x370591,_0x5d7fcc){const _0x5710be=_0x2afdb6;let _0x397f27=_0x370591[_0x5710be(0x16c)],_0xde91da=-0x1;for(let _0x3689f1=Math['min'](_0x5d7fcc,_0x397f27[_0x5710be(0x19d)]-0x1);_0x3689f1>=0x0;_0x3689f1--){let _0x50207f=_0x397f27[_0x3689f1];if(_0x50207f===_0xd38cf3[_0x5710be(0x148)][_0x5710be(0x11e)])return;if(_0x50207f===_0xd38cf3['DataStreamTreeTokenType'][_0x5710be(0x119)]){_0xde91da=_0x3689f1;break;}}if(_0xde91da<0x0)return;let _0x3e1ff4=_0x397f27[_0x5710be(0xf7)](_0xd38cf3[_0x5710be(0x148)][_0x5710be(0x11e)],_0xde91da+0x1);if(!(_0x3e1ff4<0x0||_0x5d7fcc<_0xde91da+0x1||_0x5d7fcc>_0x3e1ff4-0x1))return{'startOffset':_0xde91da+0x1,'endOffset':Math[_0x5710be(0x149)](_0xde91da+0x1,_0x3e1ff4-0x1),'startTokenOffset':_0xde91da,'endTokenOffset':_0x3e1ff4};}function _0x31cf86(_0x187e00){const _0x377628=_0x2afdb6;return(0x0,_0xd38cf3[_0x377628(0x126)])(_0x187e00)[_0x377628(0xd2)]-0x1;}function _0x23f2d0(_0x5c6447,_0x368d2e,_0x912803,_0x34d7f9){const _0x3822fe=_0x2afdb6;let _0x57977a=_0x31cf86(_0x368d2e),_0x2e2b54=(_0x5c6447['paragraphs']??[])[_0x3822fe(0x156)](_0x3f7dd5=>_0x3f7dd5[_0x3822fe(0xdc)]===_0x57977a+0x1);if(!_0x2e2b54||_0x34d7f9!=null&&_0x2e2b54[_0x3822fe(0xdc)]!==_0x34d7f9||_0x912803!=null&&(_0x912803<_0x57977a||_0x912803>_0x2e2b54[_0x3822fe(0xdc)]+0x1)||_0x5c6447[_0x3822fe(0x16c)][_0x2e2b54[_0x3822fe(0xdc)]]!==_0xd38cf3[_0x3822fe(0x148)][_0x3822fe(0x16d)])return null;let _0x3d3ec3=(0x0,_0xd38cf3[_0x3822fe(0x10f)])(_0x5c6447,_0x2e2b54),_0x1a0771=_0x5c6447[_0x3822fe(0x16c)][_0x3822fe(0x159)](_0x3d3ec3,_0x2e2b54[_0x3822fe(0xdc)]);return Array['from'](_0x1a0771)[_0x3822fe(0x14b)](_0x19b972=>_0x19b972===_0xd38cf3[_0x3822fe(0x148)][_0x3822fe(0xd6)])?{'paragraph':_0x2e2b54,'endTokenOffset':_0x57977a}:null;}function _0xd0dac5(_0x2f8464,_0x2df025){const _0x444b96=_0x2afdb6;var _0xc11a91;let _0x346bdb=_0x31cf86(_0x2df025),_0x6737a8=_0x2f8464[_0x444b96(0x16c)][_0x346bdb+0x1];(_0x6737a8===_0xd38cf3['DataStreamTreeTokenType']['SECTION_BREAK']||_0x6737a8===void 0x0)&&_0x5addc3(_0x2f8464,_0x346bdb+0x1,_0xd38cf3['DataStreamTreeTokenType'][_0x444b96(0x16d)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0xd38cf3[_0x444b96(0x14e)])(new Set((_0xc11a91=_0x2f8464[_0x444b96(0x14c)])==null?void 0x0:_0xc11a91[_0x444b96(0x151)](_0x494bab=>_0x494bab[_0x444b96(0x11c)])))}]});}function _0x5addc3(_0x1ab02e,_0x40b009,_0x424e4c,_0x5d6e2d={}){const _0x62cd46=_0x2afdb6;var _0x55f488,_0x97007c;_0x424e4c&&(_0x1ab02e[_0x62cd46(0x16c)]=''+_0x1ab02e[_0x62cd46(0x16c)]['slice'](0x0,_0x40b009)+_0x424e4c+_0x1ab02e[_0x62cd46(0x16c)][_0x62cd46(0x159)](_0x40b009),_0xaa3790(_0x1ab02e,_0x40b009,_0x424e4c[_0x62cd46(0x19d)]),(_0x55f488=_0x5d6e2d[_0x62cd46(0x14c)])!=null&&_0x55f488[_0x62cd46(0x19d)]&&(_0x1ab02e['paragraphs']=[..._0x1ab02e[_0x62cd46(0x14c)]??[],..._0x5d6e2d[_0x62cd46(0x14c)]['map'](_0x34bdfa=>({..._0x34bdfa,'startIndex':_0x34bdfa[_0x62cd46(0xdc)]+_0x40b009}))]['sort']((_0x5a8ecc,_0x1d062b)=>_0x5a8ecc['startIndex']-_0x1d062b[_0x62cd46(0xdc)])),(_0x97007c=_0x5d6e2d[_0x62cd46(0x14d)])!=null&&_0x97007c[_0x62cd46(0x19d)]&&(_0x1ab02e[_0x62cd46(0x14d)]=[..._0x1ab02e[_0x62cd46(0x14d)]??[],..._0x5d6e2d['blockRanges'][_0x62cd46(0x151)](_0x66711a=>({..._0x66711a,'startIndex':_0x66711a[_0x62cd46(0xdc)]+_0x40b009,'endIndex':_0x66711a[_0x62cd46(0x198)]+_0x40b009}))][_0x62cd46(0xda)]((_0xe0349d,_0x4384b2)=>_0xe0349d[_0x62cd46(0xdc)]-_0x4384b2[_0x62cd46(0xdc)])));}function _0x4228ee(_0x12b7e8,_0x51d051,_0x303f0e){const _0x5a212c=_0x2afdb6;let _0x4dc1ac=_0x303f0e-_0x51d051;_0x12b7e8['dataStream']=''+_0x12b7e8['dataStream'][_0x5a212c(0x159)](0x0,_0x51d051)+_0x12b7e8[_0x5a212c(0x16c)][_0x5a212c(0x159)](_0x303f0e),_0x8e2877(_0x12b7e8,_0x51d051,_0x4dc1ac);}function _0xaa3790(_0x495528,_0x44af15,_0x2ed846){const _0x130aec=_0x2afdb6;_0x495528[_0x130aec(0x14c)]=_0x33d3ef(_0x495528[_0x130aec(0x14c)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0xfa)]=_0x33d3ef(_0x495528['sectionBreaks'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x17d)]=_0x33d3ef(_0x495528['customBlocks'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x18f)]=_0x56f793(_0x495528[_0x130aec(0x18f)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x178)]=_0xa84319(_0x495528['tables'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x137)]=_0x4225b1(_0x495528['columnGroups'],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x173)]=_0x4225b1(_0x495528[_0x130aec(0x173)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x193)]=_0x4225b1(_0x495528[_0x130aec(0x193)],_0x44af15,_0x2ed846),_0x495528[_0x130aec(0x14d)]=_0x4225b1(_0x495528[_0x130aec(0x14d)],_0x44af15,_0x2ed846);}function _0x8e2877(_0x2621b4,_0x9e3c45,_0x453a54){const _0x417c74=_0x2afdb6;var _0x3cb493,_0x40cca1;_0x2621b4['paragraphs']=_0x407e68(_0x2621b4['paragraphs'],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0xfa)]=_0x407e68(_0x2621b4[_0x417c74(0xfa)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x17d)]=_0x407e68(_0x2621b4[_0x417c74(0x17d)],_0x9e3c45,_0x453a54),_0x2621b4['textRuns']=(_0x3cb493=_0x3297f6((_0x40cca1=_0x2621b4[_0x417c74(0x18f)])==null?void 0x0:_0x40cca1[_0x417c74(0x151)](_0x587d1a=>({..._0x587d1a,'startIndex':_0x587d1a['st'],'endIndex':_0x587d1a['ed']})),_0x9e3c45,_0x453a54))==null?void 0x0:_0x3cb493[_0x417c74(0x151)](_0x3ce0f9=>{let {startIndex:_0x53a23c,endIndex:_0x47bca7,..._0x4240b5}=_0x3ce0f9;return{..._0x4240b5,'st':_0x53a23c,'ed':_0x47bca7};}),_0x2621b4[_0x417c74(0x178)]=_0x3297f6(_0x2621b4[_0x417c74(0x178)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x137)]=_0x3f6524(_0x2621b4[_0x417c74(0x137)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x173)]=_0x3f6524(_0x2621b4[_0x417c74(0x173)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x193)]=_0x3f6524(_0x2621b4[_0x417c74(0x193)],_0x9e3c45,_0x453a54),_0x2621b4[_0x417c74(0x14d)]=_0x3f6524(_0x2621b4[_0x417c74(0x14d)],_0x9e3c45,_0x453a54);}function _0x33d3ef(_0x2908c7,_0xe192e5,_0x5a160b){const _0x598888=_0x2afdb6;return _0x2908c7==null?void 0x0:_0x2908c7[_0x598888(0x151)](_0x111e53=>_0x111e53[_0x598888(0xdc)]>=_0xe192e5?{..._0x111e53,'startIndex':_0x111e53[_0x598888(0xdc)]+_0x5a160b}:_0x111e53);}function _0x407e68(_0x2968e3,_0x48f04c,_0x1a677c){const _0x520226=_0x2afdb6;let _0x5539e6=_0x48f04c+_0x1a677c;return _0x2968e3==null?void 0x0:_0x2968e3[_0x520226(0x151)](_0x5a5fbb=>_0x5a5fbb['startIndex']>=_0x48f04c&&_0x5a5fbb[_0x520226(0xdc)]<_0x5539e6?null:_0x5a5fbb[_0x520226(0xdc)]>=_0x5539e6?{..._0x5a5fbb,'startIndex':_0x5a5fbb['startIndex']-_0x1a677c}:_0x5a5fbb)[_0x520226(0x13a)](_0xc5d3a4=>_0xc5d3a4!=null);}function _0x56f793(_0x199868,_0x56a927,_0x324a2f){const _0x17f459=_0x2afdb6;return _0x199868==null?void 0x0:_0x199868[_0x17f459(0x151)](_0x218456=>_0x218456['st']>=_0x56a927?{..._0x218456,'st':_0x218456['st']+_0x324a2f,'ed':_0x218456['ed']+_0x324a2f}:_0x218456['ed']>_0x56a927?{..._0x218456,'ed':_0x218456['ed']+_0x324a2f}:_0x218456);}function _0x4225b1(_0x4111ac,_0x2b04f7,_0x3ab780){const _0x1070ff=_0x2afdb6;return _0x4111ac==null?void 0x0:_0x4111ac['map'](_0x2a5584=>(0x0,_0xd38cf3[_0x1070ff(0xf2)])(_0x2a5584,_0x2b04f7,_0x3ab780));}function _0xa84319(_0x4f18eb,_0x1fc781,_0x1839f8){const _0x1a8869=_0x2afdb6;return _0x4f18eb==null?void 0x0:_0x4f18eb[_0x1a8869(0x151)](_0x373a4c=>(0x0,_0xd38cf3[_0x1a8869(0xe8)])(_0x373a4c,_0x1fc781,_0x1839f8));}function _0x3f6524(_0x145a6e,_0x10bc61,_0x314e55){const _0x3feeb1=_0x2afdb6;return _0x145a6e==null?void 0x0:_0x145a6e[_0x3feeb1(0x151)](_0x9ca98e=>(0x0,_0xd38cf3[_0x3feeb1(0xfb)])(_0x9ca98e,_0x10bc61,_0x314e55))[_0x3feeb1(0x13a)](_0x1c2ec4=>_0x1c2ec4!=null);}function _0x3297f6(_0x53f9a6,_0x5a35e5,_0x5b2ffa){const _0x35aabe=_0x2afdb6;return _0x53f9a6==null?void 0x0:_0x53f9a6[_0x35aabe(0x151)](_0x190b2a=>(0x0,_0xd38cf3[_0x35aabe(0xcb)])(_0x190b2a,_0x5a35e5,_0x5b2ffa))[_0x35aabe(0x13a)](_0x30f3ea=>_0x30f3ea!=null);}let _0x2c620d={'id':_0x2afdb6(0x18e),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':_0xcfee5e=>{const _0x45fca0=_0x2afdb6;var _0x1a95dd;if((0x0,_0x4f58d8[_0x45fca0(0x135)])(_0x176948(_0xcfee5e)))return!0x1;let _0x5e92ee=(0x0,_0x4f58d8[_0x45fca0(0x10b)])(_0xcfee5e);if(_0x5e92ee)return _0xcfee5e[_0x45fca0(0x175)](_0xd38cf3[_0x45fca0(0x158)])[_0x45fca0(0xfc)](_0x1458f8['id'],{'startOffset':_0x5e92ee[_0x45fca0(0x144)],'endOffset':_0x5e92ee[_0x45fca0(0xd2)],'insertionMode':_0x45fca0(0x167),'unitId':_0x5e92ee['unitId']});let _0x3bb5ed=_0x4b13c2(_0xcfee5e);if(!_0x3bb5ed)return!0x1;let _0x48b665=(_0x1a95dd=_0xcfee5e[_0x45fca0(0x175)](_0xd38cf3[_0x45fca0(0x18c)])[_0x45fca0(0xe2)](_0xd38cf3[_0x45fca0(0x10e)]['UNIVER_DOC']))==null?void 0x0:_0x1a95dd['getBody'](),_0x45d120=_0x48b665?(0x0,_0xd38cf3[_0x45fca0(0x155)])(_0x48b665,_0x3bb5ed):_0x3bb5ed['startIndex']+0x1;return _0xcfee5e['get'](_0xd38cf3[_0x45fca0(0x158)])[_0x45fca0(0xfc)](_0x1458f8['id'],{'startOffset':_0x45d120,'endOffset':_0x45d120});}},_0x2921ca={'id':'docs-code.command.consume-boundary-delete','type':_0xd38cf3['CommandType'][_0x2afdb6(0xdd)],'handler':()=>!0x0},_0x1458f8={'id':_0x2afdb6(0x117),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x3faa36,_0x2e5a24)=>{const _0x56f1ca=_0x2afdb6;let _0x78994c=_0x2732d7(_0x3faa36,_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x147)]);if(!_0x78994c)return!0x1;let _0x1b89ee=_0x176948(_0x3faa36);if((0x0,_0x4f58d8[_0x56f1ca(0x135)])(_0x1b89ee))return!0x1;let _0x589801=_0x78994c[_0x56f1ca(0x184)][_0x56f1ca(0x12c)](_0x78994c[_0x56f1ca(0x147)]),_0x4ce023=_0x5e4c6f(_0x2e5a24,_0x1b89ee),_0x14ab54=_0x544c6e(_0x78994c[_0x56f1ca(0x13e)],_0x4ce023);if(_0x14ab54){if(_0x14ab54[_0x56f1ca(0x19f)]!==_0xd38cf3[_0x56f1ca(0x10d)][_0x56f1ca(0xcf)])return!0x1;let _0x126699=_0x57d96c({'blockId':_0x14ab54['blockId'],'documentData':_0x78994c[_0x56f1ca(0x13e)],'metadata':_0x589801});if(!_0x126699)return!0x1;let _0x9e6426=_0x2460c0(_0x78994c['commandService'],_0x78994c[_0x56f1ca(0x19a)],_0x78994c[_0x56f1ca(0x147)],_0x78994c[_0x56f1ca(0x13e)],_0x126699['nextDocumentData'],_0x1458f8['id'],_0x126699[_0x56f1ca(0x15a)]);return _0x9e6426&&_0x126699[_0x56f1ca(0xe7)]&&_0x78994c[_0x56f1ca(0x184)][_0x56f1ca(0x165)](_0x78994c[_0x56f1ca(0x147)],_0x126699[_0x56f1ca(0xe7)]),_0x9e6426;}let _0x3eeeef=(_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x106)])??(0x0,_0xd38cf3[_0x56f1ca(0xf6)])(0x6),_0x1ed53e;try{_0x1ed53e=_0x24f6fc({'blockId':_0x3eeeef,'config':_0x2e5a24==null?void 0x0:_0x2e5a24['config'],'documentData':_0x78994c[_0x56f1ca(0x13e)],'endOffset':_0x4ce023==null?void 0x0:_0x4ce023[_0x56f1ca(0xd2)],'insertionMode':_0x2e5a24==null?void 0x0:_0x2e5a24[_0x56f1ca(0x176)],'metadata':_0x589801,'startOffset':_0x4ce023==null?void 0x0:_0x4ce023[_0x56f1ca(0x144)]});}catch(_0x2df77d){if(_0x2df77d instanceof _0x5fa9e8)return!0x1;throw _0x2df77d;}let _0x5bf2cf=_0x2460c0(_0x78994c[_0x56f1ca(0x138)],_0x78994c[_0x56f1ca(0x19a)],_0x78994c[_0x56f1ca(0x147)],_0x78994c[_0x56f1ca(0x13e)],_0x1ed53e[_0x56f1ca(0x127)],_0x1458f8['id'],_0x1ed53e[_0x56f1ca(0x15a)]);return _0x5bf2cf&&_0x1ed53e['nextMetadata']&&_0x78994c['model'][_0x56f1ca(0x165)](_0x78994c[_0x56f1ca(0x147)],_0x1ed53e['nextMetadata']),_0x5bf2cf;}},_0x2976da={'id':'docs-code.command.update','type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0xfedff1,_0x383be8)=>{const _0x7c30d7=_0x2afdb6;if(!_0x383be8)return!0x1;let _0x36f17d=_0x2732d7(_0xfedff1,_0x383be8['unitId']);if(!_0x36f17d)return!0x1;let _0x351413=_0x150871({'blockId':_0x383be8['blockId'],'config':_0x383be8[_0x7c30d7(0x128)],'documentData':_0x36f17d[_0x7c30d7(0x13e)],'metadata':_0x36f17d[_0x7c30d7(0x184)]['serialize'](_0x36f17d[_0x7c30d7(0x147)])});return _0x351413['nextMetadata']&&_0x36f17d[_0x7c30d7(0x184)][_0x7c30d7(0x165)](_0x36f17d[_0x7c30d7(0x147)],_0x351413['nextMetadata']),!0x0;}},_0x50e788={'id':_0x2afdb6(0xd3),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x1e56ee,_0x3b4826)=>_0x50119f[_0x2afdb6(0x124)](_0x1e56ee,_0x3b4826)},_0x50119f={'id':_0x2afdb6(0x141),'type':_0xd38cf3['CommandType'][_0x2afdb6(0xdd)],'handler':(_0x123b84,_0x501747)=>{const _0xa43ee1=_0x2afdb6;if(!_0x501747)return!0x1;let _0x5a84f5=_0x2732d7(_0x123b84,_0x501747==null?void 0x0:_0x501747[_0xa43ee1(0x147)]);if(!_0x5a84f5)return!0x1;let _0x53652d=_0x57d96c({'blockId':_0x501747[_0xa43ee1(0x106)],'documentData':_0x5a84f5[_0xa43ee1(0x13e)],'metadata':_0x5a84f5['model'][_0xa43ee1(0x12c)](_0x5a84f5[_0xa43ee1(0x147)])});if(!_0x53652d)return!0x1;let _0x13a2db=_0x2460c0(_0x5a84f5[_0xa43ee1(0x138)],_0x5a84f5['selectionManager'],_0x5a84f5[_0xa43ee1(0x147)],_0x5a84f5[_0xa43ee1(0x13e)],_0x53652d[_0xa43ee1(0x127)],_0x50119f['id'],_0x53652d['cursorOffset']);return _0x13a2db&&_0x53652d[_0xa43ee1(0xe7)]&&_0x5a84f5[_0xa43ee1(0x184)][_0xa43ee1(0x165)](_0x5a84f5[_0xa43ee1(0x147)],_0x53652d[_0xa43ee1(0xe7)]),_0x13a2db;}},_0x21b222={'id':_0x2afdb6(0x104),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x5f327b,_0x592145)=>{const _0x1fe237=_0x2afdb6;if(!_0x592145)return!0x1;let _0x1272a3=_0x2732d7(_0x5f327b,_0x592145==null?void 0x0:_0x592145['unitId']);if(!_0x1272a3)return!0x1;let _0x19f4a1=_0x14fe73({'blockId':_0x592145[_0x1fe237(0x106)],'documentData':_0x1272a3[_0x1fe237(0x13e)],'metadata':_0x1272a3[_0x1fe237(0x184)]['serialize'](_0x1272a3['unitId'])});if(!_0x19f4a1)return!0x1;let _0x3c2940=_0x2460c0(_0x1272a3['commandService'],_0x1272a3['selectionManager'],_0x1272a3[_0x1fe237(0x147)],_0x1272a3[_0x1fe237(0x13e)],_0x19f4a1['nextDocumentData'],_0x21b222['id'],_0x19f4a1[_0x1fe237(0x15a)]);return _0x3c2940&&_0x19f4a1['nextMetadata']&&_0x1272a3[_0x1fe237(0x184)][_0x1fe237(0x165)](_0x1272a3[_0x1fe237(0x147)],_0x19f4a1[_0x1fe237(0xe7)]),_0x3c2940;}},_0x549e8c={'id':_0x2afdb6(0xce),'type':_0xd38cf3[_0x2afdb6(0x10c)][_0x2afdb6(0xdd)],'handler':(_0x161a74,_0x3216e3)=>{const _0x5c423f=_0x2afdb6;var _0x4f1559;let _0x3f2217=_0x2732d7(_0x161a74,_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x147)]);if(!_0x3f2217)return!0x1;let _0x121641=(_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x15a)])??((_0x4f1559=_0x176948(_0x161a74))==null?void 0x0:_0x4f1559[_0x5c423f(0x144)]);if(_0x121641==null)return!0x1;let _0x5b75a9=_0x3a3c9d({'cursorOffset':_0x121641,'documentData':_0x3f2217['previousDocumentData'],'paragraphStartIndex':_0x3216e3==null?void 0x0:_0x3216e3[_0x5c423f(0x111)]});return _0x5b75a9?_0x2460c0(_0x3f2217['commandService'],_0x3f2217[_0x5c423f(0x19a)],_0x3f2217[_0x5c423f(0x147)],_0x3f2217[_0x5c423f(0x13e)],_0x5b75a9[_0x5c423f(0x127)],_0x549e8c['id'],_0x5b75a9[_0x5c423f(0x15a)]):!0x1;}};function _0x2732d7(_0x4adddc,_0x240b2a){const _0x26d7d9=_0x2afdb6;let _0x4fb5ea=_0x4adddc[_0x26d7d9(0x175)](_0xd38cf3[_0x26d7d9(0x18c)]),_0x5509fb=_0x240b2a?_0x4fb5ea[_0x26d7d9(0x101)](_0x240b2a,_0xd38cf3[_0x26d7d9(0x10e)][_0x26d7d9(0x153)]):_0x4fb5ea[_0x26d7d9(0xe2)](_0xd38cf3[_0x26d7d9(0x10e)][_0x26d7d9(0x153)]);return _0x5509fb?{'commandService':_0x4adddc[_0x26d7d9(0x175)](_0xd38cf3['ICommandService']),'model':_0x4adddc[_0x26d7d9(0x175)](_0x3f2913),'previousDocumentData':_0x5509fb['getSnapshot'](),'selectionManager':_0x4adddc[_0x26d7d9(0x175)](_0x4f58d8[_0x26d7d9(0xff)]),'unitId':_0x5509fb['getUnitId']()}:null;}function _0x176948(_0x1647fb){const _0x5ead0c=_0x2afdb6;var _0x505e97;return(_0x505e97=_0x1647fb[_0x5ead0c(0x175)](_0x4f58d8[_0x5ead0c(0xff)])[_0x5ead0c(0x164)]())==null?void 0x0:_0x505e97[0x0];}function _0x5e4c6f(_0x1ea976,_0x505629){const _0x411725=_0x2afdb6;let _0x2fae55=(_0x1ea976==null?void 0x0:_0x1ea976[_0x411725(0x144)])??(_0x505629==null?void 0x0:_0x505629[_0x411725(0x144)]),_0x433e0b=(_0x1ea976==null?void 0x0:_0x1ea976[_0x411725(0xd2)])??(_0x505629==null?void 0x0:_0x505629[_0x411725(0xd2)]);if(_0x2fae55!=null&&_0x433e0b!=null)return{'endOffset':Math[_0x411725(0x149)](_0x2fae55,_0x433e0b),'startOffset':Math[_0x411725(0xe9)](_0x2fae55,_0x433e0b)};}function _0x544c6e(_0x249a5e,_0x1e913d){const _0x564f95=_0x2afdb6;var _0x4842fe;if(!_0x1e913d)return;let _0x38095c=_0x9aae81(_0x1e913d);return(_0x4842fe=_0x249a5e['body'])==null||(_0x4842fe=_0x4842fe[_0x564f95(0x14d)])==null?void 0x0:_0x4842fe[_0x564f95(0x156)](_0x4ffb05=>{const _0x20576a=_0x564f95;let _0x1c8022=(0x0,_0xd38cf3[_0x20576a(0x126)])(_0x4ffb05);return _0x1e913d[_0x20576a(0x144)]===_0x1e913d[_0x20576a(0xd2)]?(0x0,_0xd38cf3[_0x20576a(0x186)])(_0x1c8022,_0x38095c):(0x0,_0xd38cf3['containsStreamIndex'])(_0x1c8022,_0x38095c);});}function _0x9aae81(_0x357e61){const _0x54be05=_0x2afdb6;return _0x357e61[_0x54be05(0x144)]===_0x357e61['endOffset']?_0x357e61[_0x54be05(0x144)]:_0x357e61[_0x54be05(0x144)]+0x1;}function _0x4b13c2(_0x28930a){const _0x2b7a76=_0x2afdb6;let _0x1e9419=_0x176948(_0x28930a);if(!_0x1e9419)return null;let _0x362f6c=_0x28930a[_0x2b7a76(0x175)](_0xd38cf3[_0x2b7a76(0x18c)])['getCurrentUnitOfType'](_0xd38cf3[_0x2b7a76(0x10e)][_0x2b7a76(0x153)]),_0x2e5629=_0x362f6c==null?void 0x0:_0x362f6c[_0x2b7a76(0x199)]();return _0x2e5629?_0xd38cf3[_0x2b7a76(0x181)]['range'][_0x2b7a76(0xf9)](_0x1e9419,_0x2e5629['paragraphs']??[],_0x2e5629['dataStream']??'')[0x0]??null:null;}function _0x588906(_0x5ecdb2,_0x1e28cc){const _0x3cdf7c=_0x2afdb6;let _0x38da74=_0x5ecdb2[_0x3cdf7c(0x161)],_0x591c0d=_0x1e28cc[_0x3cdf7c(0x161)],_0x16c7d7=(0x0,_0xd38cf3['getSingleDataStreamChange'])(_0x38da74,_0x591c0d);return[_0x16c7d7&&_0x591c0d?_0x46eba4(_0x591c0d,_0x16c7d7):null,_0x16c7d7?null:_0x427683(_0x38da74,_0x591c0d)][_0x3cdf7c(0x13a)](Boolean)['reduce']((_0x1561dc,_0x547522)=>_0xd38cf3[_0x3cdf7c(0x197)][_0x3cdf7c(0x120)](_0x1561dc,_0x547522),null);}function _0x46eba4(_0x3e8747,_0x13719c){const _0x461430=_0x2afdb6;let _0x344cb0=new _0xd38cf3[(_0x461430(0x16f))]();return _0x344cb0['retain'](_0x13719c[_0x461430(0xf5)]),_0x13719c[_0x461430(0x13d)]>0x0&&_0x344cb0[_0x461430(0x143)](_0x13719c[_0x461430(0x13d)],(0x0,_0xd38cf3[_0x461430(0x102)])(_0x3e8747,_0x13719c[_0x461430(0xf5)],_0x13719c[_0x461430(0xf5)]+_0x13719c[_0x461430(0x13d)],!0x1)),_0x13719c[_0x461430(0x114)]>0x0&&_0x344cb0[_0x461430(0xeb)](_0x13719c['deleteLength']),_0xd38cf3[_0x461430(0x197)]['getInstance']()[_0x461430(0x19e)](_0x344cb0[_0x461430(0x12c)](),[_0x461430(0x161)]);}function _0x427683(_0x868e60,_0x1cc03a){const _0x1d605b=_0x2afdb6;let _0x245608=[],_0x19c745=_0x868e60?_0x74b26f(_0x868e60):void 0x0,_0x1ed9f2=_0x1cc03a?_0x74b26f(_0x1cc03a):void 0x0;for(let _0x41f83b of _0xeae027)_0x4be7cc(_0xd38cf3['JSONX'][_0x1d605b(0x19c)](),['body',_0x41f83b],_0x19c745==null?void 0x0:_0x19c745[_0x41f83b],_0x1ed9f2==null?void 0x0:_0x1ed9f2[_0x41f83b],_0x245608);return _0x245608[_0x1d605b(0x14a)]((_0x5d518b,_0x518e51)=>_0xd38cf3['JSONX'][_0x1d605b(0x120)](_0x5d518b,_0x518e51),null);}let _0xeae027=[_0x2afdb6(0x14c),'sectionBreaks','tables','columnGroups','blockRanges',_0x2afdb6(0x17d),_0x2afdb6(0x173),_0x2afdb6(0x193),_0x2afdb6(0x18f)];function _0x74b26f(_0x52f63d){return _0x52f63d;}function _0x4be7cc(_0x577752,_0x1287d6,_0xa20847,_0x218db7,_0xc00983){const _0x108fa5=_0x2afdb6;_0x320fe2(_0xa20847,_0x218db7)||(_0xa20847==null?_0xc00983[_0x108fa5(0x1a0)](_0x577752['insertOp'](_0x1287d6,_0x218db7)):_0x218db7==null?_0xc00983[_0x108fa5(0x1a0)](_0x577752['removeOp'](_0x1287d6,_0xa20847)):Array['isArray'](_0xa20847)&&Array[_0x108fa5(0x1a1)](_0x218db7)?_0x3674e8(_0x577752,_0x1287d6,_0xa20847,_0x218db7,_0xc00983):_0x527a6a(_0xa20847)&&_0x527a6a(_0x218db7)?new Set([...Object[_0x108fa5(0x157)](_0xa20847),...Object[_0x108fa5(0x157)](_0x218db7)])[_0x108fa5(0x133)](_0x48c810=>{_0x4be7cc(_0x577752,[..._0x1287d6,_0x48c810],_0xa20847[_0x48c810],_0x218db7[_0x48c810],_0xc00983);}):_0xc00983[_0x108fa5(0x1a0)](_0x577752[_0x108fa5(0x191)](_0x1287d6,_0xa20847,_0x218db7)));}function _0x3674e8(_0x2d87d0,_0x6796f,_0x1ef3c5,_0x4ffc1a,_0x281d7e){const _0x5bffe2=_0x2afdb6;if(_0x1ef3c5[_0x5bffe2(0x19d)]===_0x4ffc1a[_0x5bffe2(0x19d)]){_0x1ef3c5[_0x5bffe2(0x133)]((_0x2c18d7,_0x46594e)=>_0x4be7cc(_0x2d87d0,[..._0x6796f,_0x46594e],_0x2c18d7,_0x4ffc1a[_0x46594e],_0x281d7e));return;}let _0x2c2cfd=0x0;for(;_0x2c2cfd<_0x1ef3c5[_0x5bffe2(0x19d)]&&_0x2c2cfd<_0x4ffc1a[_0x5bffe2(0x19d)]&&_0x320fe2(_0x1ef3c5[_0x2c2cfd],_0x4ffc1a[_0x2c2cfd]);)_0x2c2cfd++;let _0x195410=_0x1ef3c5[_0x5bffe2(0x19d)]-0x1,_0x1565c0=_0x4ffc1a[_0x5bffe2(0x19d)]-0x1;for(;_0x195410>=_0x2c2cfd&&_0x1565c0>=_0x2c2cfd&&_0x320fe2(_0x1ef3c5[_0x195410],_0x4ffc1a[_0x1565c0]);)_0x195410--,_0x1565c0--;for(let _0x517972=_0x195410;_0x517972>=_0x2c2cfd;_0x517972--)_0x281d7e[_0x5bffe2(0x1a0)](_0x2d87d0['removeOp']([..._0x6796f,_0x517972],_0x1ef3c5[_0x517972]));for(let _0x5eecee=_0x2c2cfd;_0x5eecee<=_0x1565c0;_0x5eecee++)_0x281d7e[_0x5bffe2(0x1a0)](_0x2d87d0[_0x5bffe2(0xe0)]([..._0x6796f,_0x5eecee],_0x4ffc1a[_0x5eecee]));}function _0x527a6a(_0x5a9d5e){const _0x55f0f8=_0x2afdb6;return typeof _0x5a9d5e==_0x55f0f8(0x17f)&&!!_0x5a9d5e&&!Array[_0x55f0f8(0x1a1)](_0x5a9d5e);}function _0x320fe2(_0x81c120,_0x5e3919){const _0x11334e=_0x2afdb6;return JSON[_0x11334e(0xe3)](_0x81c120)===JSON[_0x11334e(0xe3)](_0x5e3919);}function _0x2460c0(_0x36d7fe,_0x273aa9,_0x25d47a,_0x3462eb,_0x4e26c3,_0x45653b,_0x37846d){const _0x5ae665=_0x2afdb6;let _0x280bd3=_0x588906(_0x3462eb,_0x4e26c3);return _0x280bd3?!!_0x36d7fe[_0x5ae665(0xfc)](_0x4f58d8['RichTextEditingMutation']['id'],{'unitId':_0x25d47a,'actions':_0x280bd3,'textRanges':[{'startOffset':_0x37846d,'endOffset':_0x37846d,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x45653b}):(_0x273aa9[_0x5ae665(0xee)]([{'startOffset':_0x37846d,'endOffset':_0x37846d}],{'unitId':_0x25d47a,'subUnitId':_0x25d47a},!0x1),!0x0);}let _0x2cb7a8='DOC_CODE_PLUGIN';var _0x37ac78='@univerjs-pro/docs-code',_0x5ccc86=_0x2afdb6(0x189);let _0x3fc187={};function _0x46dbd0(_0x2917d1,_0x5d1866){return function(_0x7c7241,_0x4694a1){_0x5d1866(_0x7c7241,_0x4694a1,_0x2917d1);};}function _0x1f11d0(_0x5e3ec8,_0x4ad607,_0x2c35f3,_0x113a20){const _0x24fb27=_0x2afdb6;var _0x1e23f8=arguments[_0x24fb27(0x19d)],_0x17c0ab=_0x1e23f8<0x3?_0x4ad607:_0x113a20===null?_0x113a20=Object[_0x24fb27(0x172)](_0x4ad607,_0x2c35f3):_0x113a20,_0x383cbb;if(typeof Reflect==_0x24fb27(0x17f)&&typeof Reflect[_0x24fb27(0x177)]==_0x24fb27(0x18d))_0x17c0ab=Reflect[_0x24fb27(0x177)](_0x5e3ec8,_0x4ad607,_0x2c35f3,_0x113a20);else{for(var _0x3b2532=_0x5e3ec8['length']-0x1;_0x3b2532>=0x0;_0x3b2532--)(_0x383cbb=_0x5e3ec8[_0x3b2532])&&(_0x17c0ab=(_0x1e23f8<0x3?_0x383cbb(_0x17c0ab):_0x1e23f8>0x3?_0x383cbb(_0x4ad607,_0x2c35f3,_0x17c0ab):_0x383cbb(_0x4ad607,_0x2c35f3))||_0x17c0ab);}return _0x1e23f8>0x3&&_0x17c0ab&&Object['defineProperty'](_0x4ad607,_0x2c35f3,_0x17c0ab),_0x17c0ab;}let _0x5211cd=class extends _0xd38cf3['Disposable']{constructor(_0x2cd5a5,_0x4da1c){const _0x26e1df=_0x2afdb6;super(),this[_0x26e1df(0xde)]=_0x2cd5a5,this[_0x26e1df(0x108)]=_0x4da1c,this[_0x26e1df(0x17b)]();}['_initResource'](){const _0x122377=_0x2afdb6;this[_0x122377(0xfe)](this[_0x122377(0xde)][_0x122377(0x109)]({'pluginName':_0x2cb7a8,'businesses':[_0xd38cf3[_0x122377(0x10e)][_0x122377(0x153)]],'toJson':_0x3bf952=>JSON[_0x122377(0xe3)](this[_0x122377(0x108)][_0x122377(0x12c)](_0x3bf952)),'parseJson':_0x1029e1=>_0x3133e5(JSON[_0x122377(0x15e)](_0x1029e1)),'onLoad':(_0x5bb0f1,_0x16b34a)=>this[_0x122377(0x108)][_0x122377(0x165)](_0x5bb0f1,_0x16b34a),'onUnLoad':_0x3b3d06=>this[_0x122377(0x108)][_0x122377(0x187)](_0x3b3d06)}));}};_0x5211cd=_0x1f11d0([_0x46dbd0(0x0,_0xd38cf3['IResourceManagerService']),_0x46dbd0(0x1,(0x0,_0xd38cf3[_0x2afdb6(0xd1)])(_0x3f2913))],_0x5211cd);let _0x32fe6b=class extends _0xd38cf3[_0x2afdb6(0xe1)]{constructor(_0x13fb0a=_0x3fc187,_0x49e317,_0x46e393,_0x41012b){const _0x1a697f=_0x2afdb6;super(),this['_config']=_0x13fb0a,this['_injector']=_0x49e317,this[_0x1a697f(0x18b)]=_0x46e393,this[_0x1a697f(0x11a)]=_0x41012b;let {..._0x498045}=(0x0,_0xd38cf3[_0x1a697f(0xf8)])({},_0x3fc187,this[_0x1a697f(0x116)]);this['_configService'][_0x1a697f(0x16e)](_0x1a697f(0xd5),_0x498045);}[_0x2afdb6(0x166)](){const _0x1fe97f=_0x2afdb6;this[_0x1fe97f(0x17a)][_0x1fe97f(0x194)]([_0x3f2913]),this[_0x1fe97f(0x17a)][_0x1fe97f(0x194)]([_0x5211cd]),this['_injector'][_0x1fe97f(0x175)](_0x3f2913),this[_0x1fe97f(0x17a)][_0x1fe97f(0x175)](_0x5211cd),[_0x1458f8,_0x2c620d,_0x2976da,_0x50119f,_0x21b222,_0x50e788,_0x549e8c,_0x2921ca,_0xce451a,_0x5c0f3a][_0x1fe97f(0x133)](_0x4603d7=>this[_0x1fe97f(0xfe)](this[_0x1fe97f(0x18b)][_0x1fe97f(0x11d)](_0x4603d7)));}};_0x5a41eb(_0x32fe6b,'pluginName',_0x2cb7a8),_0x5a41eb(_0x32fe6b,_0x2afdb6(0xea),_0x37ac78),_0x5a41eb(_0x32fe6b,_0x2afdb6(0x18a),_0x5ccc86),_0x5a41eb(_0x32fe6b,_0x2afdb6(0x12e),_0xd38cf3[_0x2afdb6(0x10e)][_0x2afdb6(0x153)]),_0x32fe6b=_0x1f11d0([(0x0,_0xd38cf3[_0x2afdb6(0xcd)])(_0x3332d7[_0x2afdb6(0x146)],_0x4f58d8[_0x2afdb6(0x100)]),_0x46dbd0(0x1,(0x0,_0xd38cf3[_0x2afdb6(0xd1)])(_0xd38cf3[_0x2afdb6(0x12a)])),_0x46dbd0(0x2,_0xd38cf3['ICommandService']),_0x46dbd0(0x3,_0xd38cf3[_0x2afdb6(0xed)])],_0x32fe6b),_0x3acef2['DOCS_CODE_PLUGIN']=_0x2cb7a8,_0x3acef2[_0x2afdb6(0x13c)]=_0x549e8c,_0x3acef2['DocsCodeConsumeBoundaryDeleteCommand']=_0x2921ca,_0x3acef2[_0x2afdb6(0x163)]=_0x2c620d,_0x3acef2[_0x2afdb6(0x1a2)]=_0x1458f8,_0x3acef2[_0x2afdb6(0xf0)]=_0x3f2913,_0x3acef2[_0x2afdb6(0x185)]=_0x21b222,_0x3acef2['DocsCodeUnwrapCommand']=_0x50119f,_0x3acef2[_0x2afdb6(0x139)]=_0x2976da,_0x3acef2['RemoveDocsCodeConfigMutation']=_0x5c0f3a,_0x3acef2[_0x2afdb6(0x11b)]=_0xce451a,Object['defineProperty'](_0x3acef2,_0x2afdb6(0x125),{'enumerable':!0x0,'get':function(){return _0x32fe6b;}}),_0x3acef2[_0x2afdb6(0x107)]=_0x3a3c9d,_0x3acef2[_0x2afdb6(0x160)]=_0x59b944,_0x3acef2['normalizeDocsCodeConfig']=_0x212ab5,_0x3acef2[_0x2afdb6(0xf4)]=_0x3133e5;}));function _0x580a(_0x13193b,_0x191c01){_0x13193b=_0x13193b-0xcb;const _0x8da3f5=_0x8da3();let _0x580a23=_0x8da3f5[_0x13193b];return _0x580a23;}function _0x8da3(){const _0x43e219=['25348EYiLyv','Injector','docs-code.mutation.remove-config','serialize','removeCode','type','some','paragraphStyle','Subject','Document\x20body\x20is\x20required','forEach','18WmAPuP','isHeaderFooterSelection','UniverProLicense','columnGroups','commandService','DocsCodeUpdateCommand','filter','direction','DocsCodeCancelEmptyParagraphCommand','insertLength','previousDocumentData','complete','widowControl','docs-code.command.unwrap','toStringTag','insert','startOffset','fromEntries','UniverLicensePlugin','unitId','DataStreamTreeTokenType','max','reduce','every','paragraphs','blockRanges','createParagraphId','SECTION_BREAK','toPrimitive','map','paragraph','UNIVER_DOC','change$','getParagraphFollowingBlockOffset','find','keys','ICommandService','slice','cursorOffset','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','textStyle','metadata','parse','set','isCodeBoundaryDelete','body','call','DocsCodeInsertBelowCommand','getTextRanges','deserialize','onStarting','insert-new','726749biKCgX','constructor','7266889XFqlEO','next','dataStream','PARAGRAPH','setConfig','TextX','UniverCore','keepLines','getOwnPropertyDescriptor','customRanges','_setResource','get','insertionMode','decorate','tables','docs-code.mutation.set-config','_injector','_initResource','endsWith','customBlocks','clear','object','_change$','BuildTextUtils','5127785VAatGI','endTokenOffset','model','DocsCodeRemoveCommand','containsInteriorInsertionOffset','removeUnit','rxjs','1.2.0','version','_commandService','IUniverInstanceService','function','docs-code.command.insert-below','textRuns','getCodeConfig','replaceOp','indentEnd','customDecorations','add','symbol','setCodeConfig','JSONX','endIndex','getBody','selectionManager','spaceAbove','getInstance','length','editOp','blockType','push','isArray','DocsCodeInsertCommand','shiftExclusiveRangeOnDelete','asObservable','DependentOn','docs-code.command.cancel-empty-paragraph','CODE','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','Inject','endOffset','docs-code.command.exit','iterator','docs-code.config','BLOCK_END','codes','documentData','startTokenOffset','sort','21398450HTqtvF','startIndex','COMMAND','_resourceManagerService','right','insertOp','Plugin','getCurrentUnitOfType','stringify','BLOCK_START','spaceBelow','Module','nextMetadata','shiftExclusiveRangeOnInsert','min','packageName','delete','monospace','IConfigService','replaceDocRanges','_resources','DocsCodeModel','Disposable','shiftInclusiveRangeOnInsert','exports','normalizeDocsCodeMetadataResource','start','generateRandomId','indexOf','merge','getParagraphsInRange','sectionBreaks','shiftInclusiveRangeOnDelete','syncExecuteCommand','amd','disposeWithMe','DocSelectionManagerService','UniverDocsPlugin','getUnit','getBodySliceForTextXAction','string','docs-code.command.remove','10426545tLoYrG','blockId','buildCancelEmptyCodeParagraphActions','_docsCodeModel','registerPluginResource','8cIvpCS','getContentInsertRange','CommandType','DocumentBlockRangeType','UniverInstanceType','getParagraphContentStartOffset','dispose','paragraphStartIndex','2QthSeP','indentStart','deleteLength','bullet','_config','docs-code.command.insert','7522596PauorT','TABLE_CELL_START','_configService','SetDocsCodeConfigMutation','paragraphId','registerCommand','TABLE_CELL_END','getParagraphContentStartOffsets','compose','defineProperty','entries','BooleanNumber','handler','UniverDocsCodePlugin','getBlockRangeInterval','nextDocumentData','config'];_0x8da3=function(){return _0x43e219;};return _0x8da3();}
|
|
1
|
+
function _0x29cf(_0x24da21,_0x516daa){_0x24da21=_0x24da21-0x112;const _0x27a744=_0x27a7();let _0x29cf71=_0x27a744[_0x24da21];return _0x29cf71;}function _0x27a7(){const _0x5d4b20=['default','docs-code.command.cancel-empty-paragraph','javascript','registerCommand','isCodeBoundaryDelete','keys','_injector','shiftInclusiveRangeOnDelete','741048KvwBeg','containsStreamIndex','type','keepNext','BLOCK_END','from','DataStreamTreeTokenType','getSnapshot','startTokenOffset','disposeWithMe','UniverProLicense','removeUnit','every','CommandType','DocumentBlockRangeType','471429sYSnNw','3677538askHPq','paragraph','getBlockRangeInterval','widowControl','max','customDecorations','CODE','_setResource','DocsCodeCancelEmptyParagraphCommand','dispose','paragraphId','UniverDocsPlugin','_initResource','parse','rxjs','isHeaderFooterSelection','1.3.1','3740044NxDWwS','UniverProDocsCode','textRuns','RichTextEditingMutation','filter','docs-code.command.consume-boundary-delete','spaceAbove','BuildTextUtils','entries','_resources','fromEntries','cursorOffset','DocSelectionManagerService','@univerjs/docs','PARAGRAPH','model','defineProperty','UniverDocsCodePlugin','_commandService','UniverLicensePlugin','DocsCodeConsumeBoundaryDeleteCommand','range','textStyle','insertionMode','push','customBlocks','insertOp','normalizeDocsCodeConfig','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','shiftExclusiveRangeOnDelete','codes','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','2712696JVDFyN','MUTATION','IConfigService','columns','deserialize','map','symbol','JSONX','decorate','UNIVER_DOC','DocsCodeUnwrapCommand','function','getInstance','toStringTag','onStarting','TRUE','find','paragraphs','blockType','DOCS_CODE_PLUGIN','object','paragraphStartIndex','retain','TABLE_CELL_START','merge','start','dataStream','1HXAjoF','_resourceManagerService','serialize','registerPluginResource','removeOp','startIndex','sectionBreaks','3180NgGTTs','@univerjs/core','Document\x20body\x20is\x20required','compose','getContentInsertRange','Subject','change$','syncExecuteCommand','next','_configService','removeCode','Disposable','documentData','getTextRanges','_config','customRanges','metadata','docs-code.command.update','SECTION_BREAK','direction','docs-code.mutation.remove-config','min','slice','unitId','1392nSlxAm','asObservable','insert-new','nextDocumentData','DocsCodeInsertCommand','Inject','indentStart','set','insertLength','getParagraphContentStartOffset','tables','blockId','TextX','endOffset','DOC_CODE_PLUGIN','complete','createParagraphId','IResourceManagerService','getCodeConfig','UniverCore','DependentOn','deleteLength','BLOCK_START','toPrimitive','IUniverInstanceService','constructor','docs-code.command.remove','getUnitId','buildCancelEmptyCodeParagraphActions','sort','version','left','exports','add','getBodySliceForTextXAction','pluginName','docs-code.config','config','prototype','Module','iterator','commandService','columnGroups','setCodeConfig','delete','intersectsOperationalIntervals','getBody','_docsCodeModel','endsWith','stringify','amd','nextMetadata','convert-paragraph','replaceOp','isArray','clear','@univerjs-pro/license','string','BooleanNumber','DocsCodeUpdateCommand','1396172sfIUVo','previousDocumentData','length','some','blockRanges','body','SetDocsCodeConfigMutation','indentEnd','Injector','_change$','getCurrentUnitOfType','startOffset','getParagraphContentStartOffsets','editOp','docs-code.command.unwrap','packageName','UniverInstanceType','endIndex','get','ICommandService','TABLE_CELL_END','spaceBelow','selectionManager','forEach','getOwnPropertyDescriptor','paragraphStyle','endTokenOffset','getParagraphFollowingBlockOffset','getSingleDataStreamChange','call','COMMAND'];_0x27a7=function(){return _0x5d4b20;};return _0x27a7();}(function(_0x4c804f,_0x4e0621){const _0x2e47a7=_0x29cf,_0x2b113a=_0x4c804f();while(!![]){try{const _0x44bd5c=-parseInt(_0x2e47a7(0x147))/0x1*(-parseInt(_0x2e47a7(0x1a2))/0x2)+parseInt(_0x2e47a7(0x12c))/0x3+parseInt(_0x2e47a7(0x166))/0x4*(parseInt(_0x2e47a7(0x14e))/0x5)+-parseInt(_0x2e47a7(0x1d9))/0x6+-parseInt(_0x2e47a7(0x1ea))/0x7+-parseInt(_0x2e47a7(0x1c9))/0x8+-parseInt(_0x2e47a7(0x1d8))/0x9;if(_0x44bd5c===_0x4e0621)break;else _0x2b113a['push'](_0x2b113a['shift']());}catch(_0x2f7fc3){_0x2b113a['push'](_0x2b113a['shift']());}}}(_0x27a7,0x81bdb),function(_0x523fde,_0x4ec50c){const _0x480262=_0x29cf;typeof exports==_0x480262(0x140)&&typeof module<'u'?_0x4ec50c(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x480262(0x137)&&define[_0x480262(0x198)]?define([_0x480262(0x186),_0x480262(0x14f),_0x480262(0x1e7),_0x480262(0x119),_0x480262(0x19e)],_0x4ec50c):(_0x523fde=typeof globalThis<'u'?globalThis:_0x523fde||self,_0x4ec50c(_0x523fde[_0x480262(0x1eb)]={},_0x523fde[_0x480262(0x179)],_0x523fde[_0x480262(0x1e7)],_0x523fde['UniverDocs'],_0x523fde[_0x480262(0x1d3)]));}(this,function(_0x31a785,_0x287336,_0x4929bf,_0x52e8eb,_0x1173f1){const _0x17f937=_0x29cf;Object[_0x17f937(0x11c)](_0x31a785,Symbol[_0x17f937(0x139)],{'value':_0x17f937(0x18d)});let _0x2e680b={'language':_0x17f937(0x1c3),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x360def(_0x2d5959){return{..._0x2e680b,..._0x2d5959};}function _0x1b5c5c(_0x3da96a){const _0x5bd585=_0x17f937;let _0x2c3437=(_0x3da96a==null?void 0x0:_0x3da96a[_0x5bd585(0x12a)])??{};return{'codes':Object[_0x5bd585(0x116)](Object['entries'](_0x2c3437)[_0x5bd585(0x131)](([_0x6a144d,_0x287483])=>[_0x6a144d,_0x360def(_0x287483)]))};}function _0x1672a6(_0x427065,_0x449140,_0x4d0107){const _0x49d340=_0x17f937;let _0x55531e=_0x1b5c5c(_0x427065);return _0x55531e[_0x49d340(0x12a)][_0x449140]=_0x360def({..._0x55531e[_0x49d340(0x12a)][_0x449140],..._0x4d0107}),_0x55531e;}function _0x1279fe(_0x423239,_0x2d0abe){const _0x13af30=_0x17f937;let _0x2f15d0=_0x1b5c5c(_0x423239);return delete _0x2f15d0[_0x13af30(0x12a)][_0x2d0abe],_0x2f15d0;}function _0x401e20(_0x3f4847){'@babel/helpers - typeof';const _0x2a0efe=_0x17f937;return _0x401e20=typeof Symbol=='function'&&typeof Symbol[_0x2a0efe(0x18e)]==_0x2a0efe(0x132)?function(_0x29c260){return typeof _0x29c260;}:function(_0x5522a8){const _0x1beac1=_0x2a0efe;return _0x5522a8&&typeof Symbol==_0x1beac1(0x137)&&_0x5522a8[_0x1beac1(0x17f)]===Symbol&&_0x5522a8!==Symbol[_0x1beac1(0x18c)]?'symbol':typeof _0x5522a8;},_0x401e20(_0x3f4847);}function _0x571280(_0x1110f2,_0x34c318){const _0x1f4e8f=_0x17f937;if(_0x401e20(_0x1110f2)!=_0x1f4e8f(0x140)||!_0x1110f2)return _0x1110f2;var _0x535365=_0x1110f2[Symbol[_0x1f4e8f(0x17d)]];if(_0x535365!==void 0x0){var _0x2ad749=_0x535365[_0x1f4e8f(0x1bf)](_0x1110f2,_0x34c318||_0x1f4e8f(0x1c1));if(_0x401e20(_0x2ad749)!=_0x1f4e8f(0x140))return _0x2ad749;throw TypeError(_0x1f4e8f(0x12b));}return(_0x34c318==='string'?String:Number)(_0x1110f2);}function _0x1bd08d(_0x26ec05){const _0x572626=_0x17f937;var _0x4ae667=_0x571280(_0x26ec05,_0x572626(0x19f));return _0x401e20(_0x4ae667)==_0x572626(0x132)?_0x4ae667:_0x4ae667+'';}function _0x500cb5(_0x257284,_0xc8ff40,_0x145e21){const _0x109388=_0x17f937;return(_0xc8ff40=_0x1bd08d(_0xc8ff40))in _0x257284?Object[_0x109388(0x11c)](_0x257284,_0xc8ff40,{'value':_0x145e21,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x257284[_0xc8ff40]=_0x145e21,_0x257284;}var _0x4bb020=class extends _0x287336[_0x17f937(0x159)]{constructor(..._0x401f1f){const _0x2c3ced=_0x17f937;super(..._0x401f1f),_0x500cb5(this,'_resources',new Map()),_0x500cb5(this,'_change$',new _0x4929bf[(_0x2c3ced(0x153))]()),_0x500cb5(this,_0x2c3ced(0x154),this['_change$'][_0x2c3ced(0x167)]());}[_0x17f937(0x178)](_0x39ac0f,_0x5a6938){const _0x45672e=_0x17f937;return _0x1b5c5c(this[_0x45672e(0x115)][_0x45672e(0x1b4)](_0x39ac0f))[_0x45672e(0x12a)][_0x5a6938];}['setCodeConfig'](_0x279654,_0x5ce8d4,_0x3ba976){const _0x4dae03=_0x17f937;this['_setResource'](_0x279654,_0x5ce8d4,_0x1672a6(this['_resources'][_0x4dae03(0x1b4)](_0x279654),_0x5ce8d4,_0x3ba976));}['removeCode'](_0x537feb,_0x5c4ce9){const _0x1e25b8=_0x17f937;this[_0x1e25b8(0x1e0)](_0x537feb,_0x5c4ce9,_0x1279fe(this[_0x1e25b8(0x115)][_0x1e25b8(0x1b4)](_0x537feb),_0x5c4ce9));}['serialize'](_0x259f4c){const _0x23dace=_0x17f937;return _0x1b5c5c(this[_0x23dace(0x115)][_0x23dace(0x1b4)](_0x259f4c));}[_0x17f937(0x130)](_0x1d67f9,_0x5793f7){const _0x3abbef=_0x17f937;this['_resources'][_0x3abbef(0x16d)](_0x1d67f9,_0x1b5c5c(_0x5793f7)),this['_change$'][_0x3abbef(0x156)]({'unitId':_0x1d67f9});}['removeUnit'](_0x467e88){const _0x2fee7f=_0x17f937;this[_0x2fee7f(0x115)]['delete'](_0x467e88),this[_0x2fee7f(0x1ab)][_0x2fee7f(0x156)]({'unitId':_0x467e88});}[_0x17f937(0x1e2)](){const _0x2426e8=_0x17f937;super[_0x2426e8(0x1e2)](),this[_0x2426e8(0x115)][_0x2426e8(0x19d)](),this[_0x2426e8(0x1ab)][_0x2426e8(0x175)]();}[_0x17f937(0x1e0)](_0x1d6f4a,_0x3c0a99,_0x4f507b){const _0x22bd0b=_0x17f937;this['_resources']['set'](_0x1d6f4a,_0x4f507b),this[_0x22bd0b(0x1ab)]['next']({'unitId':_0x1d6f4a,'blockId':_0x3c0a99});}};let _0x151779={'id':'docs-code.mutation.set-config','type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x12d)],'handler':(_0x12613a,_0x1b5e89)=>!(_0x1b5e89!=null&&_0x1b5e89[_0x17f937(0x165)])||!_0x1b5e89[_0x17f937(0x171)]?!0x1:(_0x12613a[_0x17f937(0x1b4)](_0x4bb020)[_0x17f937(0x191)](_0x1b5e89[_0x17f937(0x165)],_0x1b5e89[_0x17f937(0x171)],_0x1b5e89[_0x17f937(0x18b)]),!0x0)},_0x240cc5={'id':_0x17f937(0x162),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x12d)],'handler':(_0xa9c7f1,_0x443508)=>!(_0x443508!=null&&_0x443508['unitId'])||!_0x443508[_0x17f937(0x171)]?!0x1:(_0xa9c7f1[_0x17f937(0x1b4)](_0x4bb020)[_0x17f937(0x158)](_0x443508[_0x17f937(0x165)],_0x443508[_0x17f937(0x171)]),!0x0)},_0x5c810f='monospace';var _0x48250c=class extends Error{constructor(_0x273765='Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries'){super(_0x273765);}};function _0x5d96e1(_0x202818){const _0x226178=_0x17f937;var _0x480138;let _0x30cf30=_0x4b8b9e(_0x202818[_0x226178(0x15a)]),_0x131346=_0x3e05ea(_0x30cf30),_0x1048fb=_0xd27579(_0x202818[_0x226178(0x1ad)],_0x202818[_0x226178(0x173)]),_0x3a0c39=_0x1048fb?(_0x480138=_0x131346[_0x226178(0x1a6)])==null?void 0x0:_0x480138[_0x226178(0x13c)](_0x233a64=>{const _0x3e4431=_0x226178;let _0x358618=(0x0,_0x287336[_0x3e4431(0x1db)])(_0x233a64);return _0x358618[_0x3e4431(0x1ad)]===_0x1048fb['startOffset']&&_0x358618[_0x3e4431(0x173)]===_0x1048fb[_0x3e4431(0x173)];}):void 0x0,{startOffset:_0x7814eb,endOffset:_0x1e6cd8}=_0x3a0c39?_0x1048fb:_0x4df618(_0x131346,_0x202818[_0x226178(0x1ad)],_0x202818['endOffset'],_0x202818[_0x226178(0x123)]);if(!_0x3a0c39&&_0x26dcc2(_0x131346,_0x7814eb,_0x1e6cd8))throw new _0x48250c(_0x226178(0x128));let _0x5cc6dd=_0x1c6003(_0x131346,_0x7814eb,_0x1e6cd8),_0x3c4cd9=(_0x3a0c39==null?void 0x0:_0x3a0c39[_0x226178(0x171)])??_0x202818['blockId'],_0x22aef4=_0x1672a6(_0x202818[_0x226178(0x15e)],_0x3c4cd9,{..._0x2e680b,..._0x202818['config']});if(_0x3a0c39)return _0x3a0c39[_0x226178(0x13e)]=_0x287336[_0x226178(0x1d7)]['CODE'],_0x4e6139(_0x131346,_0x7814eb,_0x1e6cd8),_0x2a5397(_0x131346,_0x7814eb,_0x1e6cd8,_0x5cc6dd),_0x4d9347(_0x131346,_0x3a0c39),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};if(_0x7814eb===_0x1e6cd8){var _0x2a6294,_0x45c3c0;let _0x3cbd06=''+_0x287336['DataStreamTreeTokenType'][_0x226178(0x17c)]+_0x287336['DataStreamTreeTokenType'][_0x226178(0x11a)]+_0x287336[_0x226178(0x1cf)][_0x226178(0x1cd)];_0x26b162(_0x131346,_0x7814eb,_0x3cbd06,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x287336[_0x226178(0x176)])(new Set((_0x2a6294=_0x131346[_0x226178(0x13d)])==null?void 0x0:_0x2a6294[_0x226178(0x131)](_0x3c5284=>_0x3c5284[_0x226178(0x1e3)]))),'paragraphStyle':_0x357eb4(!0x0,!0x0,_0x5cc6dd)}],'blockRanges':[{'blockId':_0x3c4cd9,'blockType':_0x287336[_0x226178(0x1d7)][_0x226178(0x1df)],'startIndex':0x0,'endIndex':_0x3cbd06['length']-0x1}]});let _0x968dd2=(_0x45c3c0=_0x131346[_0x226178(0x1a6)])==null?void 0x0:_0x45c3c0[_0x226178(0x13c)](_0x3bce34=>_0x3bce34[_0x226178(0x171)]===_0x3c4cd9);return _0x968dd2&&_0x4d9347(_0x131346,_0x968dd2),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};}_0x26b162(_0x131346,_0x1e6cd8,_0x287336[_0x226178(0x1cf)][_0x226178(0x1cd)]),_0x26b162(_0x131346,_0x7814eb,_0x287336[_0x226178(0x1cf)][_0x226178(0x17c)]),_0x2a5397(_0x131346,_0x7814eb,_0x1e6cd8+0x1,_0x5cc6dd);let _0x557da0={'blockId':_0x3c4cd9,'blockType':_0x287336[_0x226178(0x1d7)][_0x226178(0x1df)],'startIndex':_0x7814eb,'endIndex':_0x1e6cd8+0x1};return _0x131346[_0x226178(0x1a6)]=[..._0x131346[_0x226178(0x1a6)]??[],_0x557da0][_0x226178(0x183)]((_0x353af0,_0x472996)=>_0x353af0['startIndex']-_0x472996[_0x226178(0x14c)]),_0x4d9347(_0x131346,_0x557da0),{'nextDocumentData':_0x30cf30,'nextMetadata':_0x22aef4,'cursorOffset':_0x7814eb+0x1};}function _0x4e6139(_0x56ad10,_0x42ad60,_0x3b0660){const _0x3325c4=_0x17f937;(_0x56ad10['paragraphs']??[])[_0x3325c4(0x1ee)](_0x460abb=>_0x460abb[_0x3325c4(0x14c)]>_0x42ad60&&_0x460abb[_0x3325c4(0x14c)]<_0x3b0660)[_0x3325c4(0x1b9)](_0xd0ba1f=>{const _0x3d9af2=_0x3325c4;let _0x377273={..._0xd0ba1f[_0x3d9af2(0x1bb)]??{}};delete _0x377273[_0x3d9af2(0x112)],delete _0x377273[_0x3d9af2(0x1b7)],_0xd0ba1f[_0x3d9af2(0x1bb)]=_0x377273;});}function _0xd27579(_0x2a60cd,_0x11e650){const _0x5457d3=_0x17f937;return _0x2a60cd==null||_0x11e650==null||_0x2a60cd===_0x11e650?null:{'startOffset':Math[_0x5457d3(0x163)](_0x2a60cd,_0x11e650),'endOffset':Math[_0x5457d3(0x1dd)](_0x2a60cd,_0x11e650)};}function _0x26dcc2(_0x533cb9,_0x3caada,_0x132624){const _0x4fd8a9=_0x17f937;return(_0x533cb9[_0x4fd8a9(0x1a6)]??[])[_0x4fd8a9(0x1a5)](_0x43da74=>{const _0x4ab25e=_0x4fd8a9;let _0x3965c0=(0x0,_0x287336['getBlockRangeInterval'])(_0x43da74);return _0x3caada===_0x132624?(0x0,_0x287336['containsInteriorInsertionOffset'])(_0x3965c0,_0x3caada):(0x0,_0x287336[_0x4ab25e(0x193)])(_0x3965c0,{'startOffset':_0x3caada,'endOffset':_0x132624});});}function _0x1d997a(_0x10ce0b){const _0x261914=_0x17f937;return{'nextDocumentData':_0x4b8b9e(_0x10ce0b[_0x261914(0x15a)]),'nextMetadata':_0x1672a6(_0x10ce0b['metadata'],_0x10ce0b[_0x261914(0x171)],_0x10ce0b['config']),'cursorOffset':0x0};}function _0x55f4d4(_0x35b1ff){const _0x293c04=_0x17f937;let _0xd40c71=_0x4b8b9e(_0x35b1ff[_0x293c04(0x15a)]),_0x4a01ff=_0x3e05ea(_0xd40c71),_0x15d207=_0x51f02e(_0x4a01ff,_0x35b1ff[_0x293c04(0x171)]);if(!_0x15d207)return null;let _0x3e3ab7=_0x1a222c(_0x4a01ff,_0x15d207);return{'nextDocumentData':_0xd40c71,'nextMetadata':_0x1279fe(_0x35b1ff[_0x293c04(0x15e)],_0x35b1ff[_0x293c04(0x171)]),'cursorOffset':_0x3e3ab7};}function _0x5ff1ac(_0x4917b2){const _0x35ac39=_0x17f937;var _0x329500;let _0x5e3034=_0x4b8b9e(_0x4917b2[_0x35ac39(0x15a)]),_0x15dbc9=_0x3e05ea(_0x5e3034),_0x2b52ae=_0x51f02e(_0x15dbc9,_0x4917b2['blockId']);if(!_0x2b52ae)return null;let _0x2f677d=(0x0,_0x287336[_0x35ac39(0x1db)])(_0x2b52ae);return _0x3662ab(_0x15dbc9,_0x2f677d[_0x35ac39(0x1ad)],_0x2f677d[_0x35ac39(0x173)]),_0x15dbc9[_0x35ac39(0x1a6)]=(_0x329500=_0x15dbc9[_0x35ac39(0x1a6)])==null?void 0x0:_0x329500[_0x35ac39(0x1ee)](_0x1ab134=>_0x1ab134[_0x35ac39(0x171)]!==_0x4917b2[_0x35ac39(0x171)]),{'nextDocumentData':_0x5e3034,'nextMetadata':_0x1279fe(_0x4917b2[_0x35ac39(0x15e)],_0x4917b2['blockId']),'cursorOffset':_0x2b52ae[_0x35ac39(0x14c)]};}function _0x505bd2(_0x55765a){const _0x5ee8d7=_0x17f937;let _0xfe9d3e=_0x4b8b9e(_0x55765a[_0x5ee8d7(0x15a)]),_0x23497a=_0x3e05ea(_0xfe9d3e),_0x2a91bb=_0x5ba286(_0x23497a,_0x55765a['cursorOffset']);return _0x2a91bb&&_0x2d739a(_0xfe9d3e,_0x23497a,_0x2a91bb,_0x55765a[_0x5ee8d7(0x117)],_0x55765a[_0x5ee8d7(0x141)])||null;}function _0x2d739a(_0x10cfc5,_0xd2cdb4,_0x4115d7,_0x2fe311,_0x463211){const _0x2aebc7=_0x17f937;let _0x5e8c60=_0x3d0ca4(_0xd2cdb4,_0x4115d7,_0x2fe311,_0x463211);if(!_0x5e8c60)return null;let _0x3bfb80=_0x5e8c60[_0x2aebc7(0x1bc)]-0x1;return _0x3662ab(_0xd2cdb4,_0x5e8c60[_0x2aebc7(0x1da)][_0x2aebc7(0x14c)],_0x5e8c60[_0x2aebc7(0x1da)][_0x2aebc7(0x14c)]+0x1),{'nextDocumentData':_0x10cfc5,'cursorOffset':_0x3bfb80};}function _0x51f02e(_0x245b58,_0x56f806){const _0x5b39ad=_0x17f937;var _0x208bd0;return _0x245b58==null||(_0x208bd0=_0x245b58[_0x5b39ad(0x1a6)])==null?void 0x0:_0x208bd0[_0x5b39ad(0x13c)](_0x181192=>_0x181192['blockType']===_0x287336[_0x5b39ad(0x1d7)][_0x5b39ad(0x1df)]&&_0x181192['blockId']===_0x56f806);}function _0x4c97b8(_0x46fd3c){const _0x5ece7c=_0x17f937;let _0x5c9cab=_0x46fd3c['documentData'][_0x5ece7c(0x1a7)];if(!_0x5c9cab)return!0x1;let _0x456048=_0x46fd3c[_0x5ece7c(0x161)]===_0x5ece7c(0x185)?_0x46fd3c['cursorOffset']-0x1:_0x46fd3c[_0x5ece7c(0x117)],_0x29f68d=_0x46fd3c[_0x5ece7c(0x161)]==='right'?_0x46fd3c[_0x5ece7c(0x117)]+0x1:_0x456048;return(_0x5c9cab[_0x5ece7c(0x1a6)]??[])[_0x5ece7c(0x1a5)](_0x2d23=>_0x2d23['blockType']===_0x287336['DocumentBlockRangeType'][_0x5ece7c(0x1df)]?_0x456048===_0x2d23[_0x5ece7c(0x14c)]||_0x456048===_0x2d23[_0x5ece7c(0x1b3)]||_0x29f68d===_0x2d23[_0x5ece7c(0x14c)]||_0x29f68d===_0x2d23[_0x5ece7c(0x1b3)]:!0x1);}function _0x5ba286(_0x14660e,_0x1ffe41){const _0x149625=_0x17f937;var _0x4af5da;return(_0x4af5da=_0x14660e[_0x149625(0x1a6)])==null?void 0x0:_0x4af5da[_0x149625(0x13c)](_0x56c274=>{const _0x4574df=_0x149625;let _0x181917=_0x234952(_0x56c274);return _0x56c274[_0x4574df(0x13e)]===_0x287336[_0x4574df(0x1d7)][_0x4574df(0x1df)]&&_0x56c274[_0x4574df(0x14c)]<=_0x1ffe41&&_0x1ffe41<=_0x181917+0x2;});}function _0x357eb4(_0x47cf8c,_0x5256d5,_0x527406=!0x1){const _0x5e1a64=_0x17f937;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x287336['BooleanNumber']['TRUE'],'keepNext':_0x5256d5?_0x287336[_0x5e1a64(0x1a0)]['FALSE']:_0x287336[_0x5e1a64(0x1a0)][_0x5e1a64(0x13b)],'widowControl':_0x287336[_0x5e1a64(0x1a0)][_0x5e1a64(0x13b)],..._0x47cf8c&&_0x527406?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x5c810f,'fs':0xc}};}function _0x2a5397(_0x1c623b,_0x4ff0ef,_0x2a25b8,_0xb4e2f0=!0x1){const _0x245537=_0x17f937;let _0x65d860=(_0x1c623b[_0x245537(0x13d)]??[])['filter'](_0xf40ff8=>_0xf40ff8[_0x245537(0x14c)]>_0x4ff0ef&&_0xf40ff8[_0x245537(0x14c)]<_0x2a25b8);_0x65d860['forEach']((_0xa17ab1,_0x5d1328)=>{const _0x36c64b=_0x245537;_0xa17ab1[_0x36c64b(0x1bb)]={..._0xa17ab1[_0x36c64b(0x1bb)]??{},..._0x357eb4(_0x5d1328===0x0,_0x5d1328===_0x65d860[_0x36c64b(0x1a4)]-0x1,_0xb4e2f0)};});}function _0x532090(_0x419194){const _0x351eb6=_0x17f937;var _0x24a13d,_0x74f3c0;let _0x1d3f34={..._0x419194??{}};return delete _0x1d3f34[_0x351eb6(0x1a9)],delete _0x1d3f34[_0x351eb6(0x16c)],delete _0x1d3f34[_0x351eb6(0x112)],delete _0x1d3f34['spaceBelow'],delete _0x1d3f34['keepLines'],delete _0x1d3f34[_0x351eb6(0x1cc)],delete _0x1d3f34[_0x351eb6(0x1dc)],((_0x24a13d=_0x1d3f34[_0x351eb6(0x122)])==null?void 0x0:_0x24a13d['ff'])===_0x5c810f&&((_0x74f3c0=_0x1d3f34[_0x351eb6(0x122)])==null?void 0x0:_0x74f3c0['fs'])===0xc&&delete _0x1d3f34[_0x351eb6(0x122)],_0x1d3f34;}function _0x2854ba(_0x3b9354,_0x2520e8){const _0x5c4a82=_0x17f937;let _0xcbfac4=_0x234952(_0x2520e8);return(_0x3b9354[_0x5c4a82(0x13d)]??[])[_0x5c4a82(0x1ee)](_0x1fa250=>_0x1fa250[_0x5c4a82(0x14c)]>_0x2520e8[_0x5c4a82(0x14c)]&&_0x1fa250[_0x5c4a82(0x14c)]<_0xcbfac4);}function _0x1a222c(_0x339c37,_0x302c72){const _0x5181d5=_0x17f937;var _0x544b2;let _0x1af290=_0x234952(_0x302c72);return _0x2854ba(_0x339c37,_0x302c72)[_0x5181d5(0x1b9)](_0x5abb07=>{const _0x3f5174=_0x5181d5;_0x5abb07[_0x3f5174(0x1bb)]=_0x532090(_0x5abb07[_0x3f5174(0x1bb)]);}),_0x3662ab(_0x339c37,_0x1af290,_0x1af290+0x1),_0x3662ab(_0x339c37,_0x302c72[_0x5181d5(0x14c)],_0x302c72['startIndex']+0x1),_0x339c37[_0x5181d5(0x1a6)]=(_0x544b2=_0x339c37[_0x5181d5(0x1a6)])==null?void 0x0:_0x544b2[_0x5181d5(0x1ee)](_0x4b5728=>_0x4b5728['blockId']!==_0x302c72['blockId']),_0x302c72[_0x5181d5(0x14c)];}function _0x4b8b9e(_0x70e458){const _0x592877=_0x17f937;return{..._0x70e458,'body':_0x70e458[_0x592877(0x1a7)]?_0x159ddc(_0x70e458['body']):_0x70e458[_0x592877(0x1a7)]};}function _0x159ddc(_0x2e342d){const _0x2ca7ac=_0x17f937;var _0x2485ea,_0x47d908,_0x302e2b,_0x1701ad,_0x52e967,_0x2dcb66,_0x49b792,_0x479087,_0x385984;return{..._0x2e342d,'paragraphs':(_0x2485ea=_0x2e342d[_0x2ca7ac(0x13d)])==null?void 0x0:_0x2485ea[_0x2ca7ac(0x131)](_0x35445d=>({..._0x35445d,'bullet':_0x2d486a(_0x35445d['bullet']),'paragraphStyle':_0x2d486a(_0x35445d[_0x2ca7ac(0x1bb)])})),'sectionBreaks':(_0x47d908=_0x2e342d['sectionBreaks'])==null?void 0x0:_0x47d908[_0x2ca7ac(0x131)](_0x1b4153=>({..._0x1b4153})),'textRuns':(_0x302e2b=_0x2e342d[_0x2ca7ac(0x1ec)])==null?void 0x0:_0x302e2b[_0x2ca7ac(0x131)](_0x127160=>({..._0x127160})),'tables':(_0x1701ad=_0x2e342d[_0x2ca7ac(0x170)])==null?void 0x0:_0x1701ad[_0x2ca7ac(0x131)](_0x1282f2=>({..._0x1282f2})),'columnGroups':(_0x52e967=_0x2e342d['columnGroups'])==null?void 0x0:_0x52e967[_0x2ca7ac(0x131)](_0x495a9b=>{const _0x3fd1fe=_0x2ca7ac;var _0x596fdb;return{..._0x495a9b,'columns':(_0x596fdb=_0x495a9b[_0x3fd1fe(0x12f)])==null?void 0x0:_0x596fdb[_0x3fd1fe(0x131)](_0x29fb47=>_0x2d486a(_0x29fb47))};}),'blockRanges':(_0x2dcb66=_0x2e342d[_0x2ca7ac(0x1a6)])==null?void 0x0:_0x2dcb66['map'](_0x2373cd=>({..._0x2373cd})),'customRanges':(_0x49b792=_0x2e342d[_0x2ca7ac(0x15d)])==null?void 0x0:_0x49b792[_0x2ca7ac(0x131)](_0xbf2d59=>({..._0xbf2d59})),'customDecorations':(_0x479087=_0x2e342d['customDecorations'])==null?void 0x0:_0x479087['map'](_0x9140ca=>({..._0x9140ca})),'customBlocks':(_0x385984=_0x2e342d[_0x2ca7ac(0x125)])==null?void 0x0:_0x385984[_0x2ca7ac(0x131)](_0x5881a0=>({..._0x5881a0}))};}function _0x2d486a(_0x11f5da){const _0x12aa48=_0x17f937;return Array['isArray'](_0x11f5da)?_0x11f5da['map'](_0x260a83=>_0x2d486a(_0x260a83)):!_0x11f5da||typeof _0x11f5da!=_0x12aa48(0x140)?_0x11f5da:Object['fromEntries'](Object[_0x12aa48(0x114)](_0x11f5da)[_0x12aa48(0x131)](([_0x439d86,_0x665cb8])=>[_0x439d86,_0x2d486a(_0x665cb8)]));}function _0x3e05ea(_0x2b48d7){const _0x1aeb4d=_0x17f937;if(!_0x2b48d7[_0x1aeb4d(0x1a7)])throw Error(_0x1aeb4d(0x150));return _0x2b48d7[_0x1aeb4d(0x1a7)];}function _0x4df618(_0x3ae950,_0x24feeb,_0x200ca9,_0x37e307=_0x17f937(0x19a)){const _0x4624a5=_0x17f937;if(_0x24feeb==null||_0x200ca9==null){let _0x18c5cb=_0x4c1dcf(_0x3ae950);return{'startOffset':_0x18c5cb,'endOffset':_0x18c5cb};}let _0x1a285b=Math[_0x4624a5(0x163)](_0x24feeb,_0x200ca9),_0x22f19e=Math[_0x4624a5(0x1dd)](_0x24feeb,_0x200ca9),_0x47dc4f=_0x412737(_0x3ae950,_0x1a285b,_0x22f19e);return _0x1a285b===_0x22f19e?_0x37e307===_0x4624a5(0x168)?{'startOffset':_0x1a285b,'endOffset':_0x22f19e}:_0x11fd79(_0x3ae950,_0x1a285b,_0x47dc4f):_0x3db29e(_0x3ae950,_0x1a285b,_0x22f19e,_0x47dc4f);}function _0x11fd79(_0x5f9f13,_0x352df0,_0x4d5c79){const _0x10eca2=_0x17f937;let _0x4d3954=_0x19efa8(_0x5f9f13,_0x352df0);if(_0x4d3954){let _0x1ed6a9=_0x2f559f(_0x5f9f13,_0x4d3954,_0x4d5c79);if(_0x1ed6a9<_0x4d3954[_0x10eca2(0x14c)])return{'startOffset':_0x1ed6a9,'endOffset':_0x4d5c79?Math[_0x10eca2(0x163)](_0x4d3954[_0x10eca2(0x14c)]+0x1,_0x4d5c79['endOffset']):_0x4d3954[_0x10eca2(0x14c)]+0x1};}let _0x692a91=_0x352df0===0x0&&_0x5f9f13[_0x10eca2(0x146)][0x0]===_0x287336[_0x10eca2(0x1cf)][_0x10eca2(0x11a)]?0x1:_0x352df0;return{'startOffset':_0x692a91,'endOffset':_0x692a91};}function _0x4c1dcf(_0x2ceafd){const _0x4166ae=_0x17f937;return _0x2ceafd[_0x4166ae(0x146)][_0x4166ae(0x196)](_0x287336[_0x4166ae(0x1cf)][_0x4166ae(0x160)])?Math[_0x4166ae(0x1dd)](0x0,_0x2ceafd[_0x4166ae(0x146)]['length']-0x1):_0x2ceafd[_0x4166ae(0x146)][_0x4166ae(0x1a4)];}function _0x1c6003(_0xfa84df,_0x5948a6,_0x533f6e){const _0x2b0500=_0x17f937;var _0x2f5d57;let _0x4964ba=Math[_0x2b0500(0x163)](_0x5948a6,_0x533f6e),_0x58c41d=Math[_0x2b0500(0x1dd)](_0x5948a6,_0x533f6e);return!!((_0x2f5d57=_0xfa84df[_0x2b0500(0x170)])!=null&&_0x2f5d57[_0x2b0500(0x1a5)](_0x426e53=>_0x4964ba>_0x426e53[_0x2b0500(0x14c)]&&_0x4964ba<_0x426e53[_0x2b0500(0x1b3)]||_0x58c41d>_0x426e53[_0x2b0500(0x14c)]&&_0x58c41d<_0x426e53[_0x2b0500(0x1b3)]||_0x4964ba<=_0x426e53[_0x2b0500(0x14c)]&&_0x58c41d>=_0x426e53[_0x2b0500(0x1b3)]));}function _0x3db29e(_0x28cce8,_0x43e298,_0x2ad99a,_0x4360c9){const _0x887415=_0x17f937;let _0x4a8c7e=[..._0x28cce8[_0x887415(0x13d)]??[]][_0x887415(0x183)]((_0x1da95d,_0x204bed)=>_0x1da95d[_0x887415(0x14c)]-_0x204bed[_0x887415(0x14c)]),_0x47a718=(0x0,_0x287336[_0x887415(0x1ae)])(_0x28cce8),_0x320085=_0x4a8c7e[_0x887415(0x13c)](_0x13594b=>_0x2f559f(_0x28cce8,_0x13594b,_0x4360c9,_0x47a718)<=_0x43e298&&_0x43e298<=_0x13594b[_0x887415(0x14c)]),_0x430f3d=_0x4a8c7e[_0x887415(0x13c)](_0xf67ace=>_0xf67ace[_0x887415(0x14c)]>=_0x2ad99a-0x1)??_0x4a8c7e[_0x4a8c7e[_0x887415(0x1a4)]-0x1];return{'startOffset':_0x320085?_0x2f559f(_0x28cce8,_0x320085,_0x4360c9,_0x47a718):_0x43e298,'endOffset':_0x430f3d?_0x4460e8(_0x430f3d,_0x4360c9):_0x2ad99a};}function _0x19efa8(_0x1aa8a7,_0x514d91){const _0x185c08=_0x17f937;let _0x514de9=[..._0x1aa8a7['paragraphs']??[]][_0x185c08(0x183)]((_0x1d3b26,_0x471940)=>_0x1d3b26[_0x185c08(0x14c)]-_0x471940[_0x185c08(0x14c)]),_0x3858aa=(0x0,_0x287336['getParagraphContentStartOffsets'])(_0x1aa8a7);return _0x514de9['find'](_0x457c72=>(_0x3858aa[_0x185c08(0x1b4)](_0x457c72[_0x185c08(0x14c)])??0x0)<=_0x514d91&&_0x514d91<=_0x457c72[_0x185c08(0x14c)]);}function _0x2f559f(_0x35131e,_0x2cbf45,_0x286a20,_0x18b39d){const _0x3df252=_0x17f937;let _0xe1ca13=(_0x18b39d==null?void 0x0:_0x18b39d['get'](_0x2cbf45[_0x3df252(0x14c)]))??(0x0,_0x287336[_0x3df252(0x16f)])(_0x35131e,_0x2cbf45);return _0x286a20?Math['max'](_0xe1ca13,_0x286a20[_0x3df252(0x1ad)]):_0xe1ca13;}function _0x4460e8(_0x32b6c5,_0x39e1c3){const _0x33ca4e=_0x17f937;let _0xa5e7a9=_0x32b6c5['startIndex']+0x1;return _0x39e1c3?Math['min'](_0xa5e7a9,_0x39e1c3[_0x33ca4e(0x173)]):_0xa5e7a9;}function _0x412737(_0x18b1fc,_0x1cd02a,_0x593472){const _0x2a3288=_0x17f937;let _0x869a09=_0x13c450(_0x18b1fc,_0x1cd02a),_0x15bfcb=_0x13c450(_0x18b1fc,_0x1cd02a===_0x593472?_0x593472:Math[_0x2a3288(0x1dd)](_0x1cd02a,_0x593472-0x1));if(_0x869a09||_0x15bfcb){if(!_0x869a09||!_0x15bfcb||_0x869a09['startTokenOffset']!==_0x15bfcb[_0x2a3288(0x1d1)]||_0x869a09[_0x2a3288(0x1bc)]!==_0x15bfcb[_0x2a3288(0x1bc)])throw new _0x48250c();return _0x869a09;}}function _0x13c450(_0x141df9,_0x16b373){const _0x33652c=_0x17f937;let _0x3f7c97=_0x141df9[_0x33652c(0x146)],_0x48e155=-0x1;for(let _0x283173=Math[_0x33652c(0x163)](_0x16b373,_0x3f7c97[_0x33652c(0x1a4)]-0x1);_0x283173>=0x0;_0x283173--){let _0x594011=_0x3f7c97[_0x283173];if(_0x594011===_0x287336[_0x33652c(0x1cf)]['TABLE_CELL_END'])return;if(_0x594011===_0x287336[_0x33652c(0x1cf)][_0x33652c(0x143)]){_0x48e155=_0x283173;break;}}if(_0x48e155<0x0)return;let _0x81caff=_0x3f7c97['indexOf'](_0x287336[_0x33652c(0x1cf)][_0x33652c(0x1b6)],_0x48e155+0x1);if(!(_0x81caff<0x0||_0x16b373<_0x48e155+0x1||_0x16b373>_0x81caff-0x1))return{'startOffset':_0x48e155+0x1,'endOffset':Math[_0x33652c(0x1dd)](_0x48e155+0x1,_0x81caff-0x1),'startTokenOffset':_0x48e155,'endTokenOffset':_0x81caff};}function _0x234952(_0x4ff01f){const _0x2a6001=_0x17f937;return(0x0,_0x287336[_0x2a6001(0x1db)])(_0x4ff01f)[_0x2a6001(0x173)]-0x1;}function _0x3d0ca4(_0x3afa11,_0x5ec8a0,_0x22660a,_0x12f80a){const _0x3cc182=_0x17f937;let _0x5c6be3=_0x234952(_0x5ec8a0),_0x468cb5=(_0x3afa11[_0x3cc182(0x13d)]??[])['find'](_0x27c51d=>_0x27c51d['startIndex']===_0x5c6be3+0x1);if(!_0x468cb5||_0x12f80a!=null&&_0x468cb5[_0x3cc182(0x14c)]!==_0x12f80a||_0x22660a!=null&&(_0x22660a<_0x5c6be3||_0x22660a>_0x468cb5['startIndex']+0x1)||_0x3afa11[_0x3cc182(0x146)][_0x468cb5[_0x3cc182(0x14c)]]!==_0x287336['DataStreamTreeTokenType'][_0x3cc182(0x11a)])return null;let _0x540657=(0x0,_0x287336[_0x3cc182(0x16f)])(_0x3afa11,_0x468cb5),_0x3cd10d=_0x3afa11['dataStream'][_0x3cc182(0x164)](_0x540657,_0x468cb5[_0x3cc182(0x14c)]);return Array[_0x3cc182(0x1ce)](_0x3cd10d)[_0x3cc182(0x1d5)](_0x5bad96=>_0x5bad96===_0x287336[_0x3cc182(0x1cf)][_0x3cc182(0x1cd)])?{'paragraph':_0x468cb5,'endTokenOffset':_0x5c6be3}:null;}function _0x4d9347(_0x2eaed3,_0x3c9299){const _0x4b7c0e=_0x17f937;var _0x474b1b;let _0x4c5ca5=_0x234952(_0x3c9299),_0x3028aa=_0x2eaed3['dataStream'][_0x4c5ca5+0x1];(_0x3028aa===_0x287336['DataStreamTreeTokenType'][_0x4b7c0e(0x160)]||_0x3028aa===void 0x0)&&_0x26b162(_0x2eaed3,_0x4c5ca5+0x1,_0x287336['DataStreamTreeTokenType'][_0x4b7c0e(0x11a)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x287336[_0x4b7c0e(0x176)])(new Set((_0x474b1b=_0x2eaed3[_0x4b7c0e(0x13d)])==null?void 0x0:_0x474b1b[_0x4b7c0e(0x131)](_0x48b9b8=>_0x48b9b8['paragraphId'])))}]});}function _0x26b162(_0x1bfddf,_0x4a7030,_0x4e6fd1,_0x27ee03={}){const _0x14976b=_0x17f937;var _0x4b8161,_0x3e37e8;_0x4e6fd1&&(_0x1bfddf[_0x14976b(0x146)]=''+_0x1bfddf[_0x14976b(0x146)][_0x14976b(0x164)](0x0,_0x4a7030)+_0x4e6fd1+_0x1bfddf[_0x14976b(0x146)]['slice'](_0x4a7030),_0x258180(_0x1bfddf,_0x4a7030,_0x4e6fd1[_0x14976b(0x1a4)]),(_0x4b8161=_0x27ee03[_0x14976b(0x13d)])!=null&&_0x4b8161['length']&&(_0x1bfddf[_0x14976b(0x13d)]=[..._0x1bfddf[_0x14976b(0x13d)]??[],..._0x27ee03[_0x14976b(0x13d)][_0x14976b(0x131)](_0x35ce58=>({..._0x35ce58,'startIndex':_0x35ce58[_0x14976b(0x14c)]+_0x4a7030}))]['sort']((_0x202625,_0x3cce79)=>_0x202625[_0x14976b(0x14c)]-_0x3cce79[_0x14976b(0x14c)])),(_0x3e37e8=_0x27ee03[_0x14976b(0x1a6)])!=null&&_0x3e37e8[_0x14976b(0x1a4)]&&(_0x1bfddf[_0x14976b(0x1a6)]=[..._0x1bfddf[_0x14976b(0x1a6)]??[],..._0x27ee03['blockRanges']['map'](_0x24d103=>({..._0x24d103,'startIndex':_0x24d103[_0x14976b(0x14c)]+_0x4a7030,'endIndex':_0x24d103['endIndex']+_0x4a7030}))]['sort']((_0x3da722,_0x152de2)=>_0x3da722['startIndex']-_0x152de2['startIndex'])));}function _0x3662ab(_0x567ae0,_0x5765b8,_0x24974e){const _0x350684=_0x17f937;let _0x5ed420=_0x24974e-_0x5765b8;_0x567ae0['dataStream']=''+_0x567ae0[_0x350684(0x146)][_0x350684(0x164)](0x0,_0x5765b8)+_0x567ae0[_0x350684(0x146)]['slice'](_0x24974e),_0x3c6be5(_0x567ae0,_0x5765b8,_0x5ed420);}function _0x258180(_0x5add6b,_0x2c9f09,_0x410cf9){const _0x31c0ba=_0x17f937;_0x5add6b[_0x31c0ba(0x13d)]=_0x18eac8(_0x5add6b[_0x31c0ba(0x13d)],_0x2c9f09,_0x410cf9),_0x5add6b['sectionBreaks']=_0x18eac8(_0x5add6b[_0x31c0ba(0x14d)],_0x2c9f09,_0x410cf9),_0x5add6b['customBlocks']=_0x18eac8(_0x5add6b['customBlocks'],_0x2c9f09,_0x410cf9),_0x5add6b['textRuns']=_0x3002c4(_0x5add6b[_0x31c0ba(0x1ec)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x170)]=_0x184e3e(_0x5add6b[_0x31c0ba(0x170)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x190)]=_0x32bc75(_0x5add6b[_0x31c0ba(0x190)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x15d)]=_0x32bc75(_0x5add6b['customRanges'],_0x2c9f09,_0x410cf9),_0x5add6b['customDecorations']=_0x32bc75(_0x5add6b[_0x31c0ba(0x1de)],_0x2c9f09,_0x410cf9),_0x5add6b[_0x31c0ba(0x1a6)]=_0x32bc75(_0x5add6b['blockRanges'],_0x2c9f09,_0x410cf9);}function _0x3c6be5(_0x33800f,_0x52abf4,_0x3e65dc){const _0x3f9ca4=_0x17f937;var _0x448d7a,_0x1dd5e5;_0x33800f[_0x3f9ca4(0x13d)]=_0x934631(_0x33800f[_0x3f9ca4(0x13d)],_0x52abf4,_0x3e65dc),_0x33800f['sectionBreaks']=_0x934631(_0x33800f[_0x3f9ca4(0x14d)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x125)]=_0x934631(_0x33800f['customBlocks'],_0x52abf4,_0x3e65dc),_0x33800f['textRuns']=(_0x448d7a=_0x536bce((_0x1dd5e5=_0x33800f[_0x3f9ca4(0x1ec)])==null?void 0x0:_0x1dd5e5['map'](_0x479b76=>({..._0x479b76,'startIndex':_0x479b76['st'],'endIndex':_0x479b76['ed']})),_0x52abf4,_0x3e65dc))==null?void 0x0:_0x448d7a[_0x3f9ca4(0x131)](_0x3f02c8=>{let {startIndex:_0x54e155,endIndex:_0x39667f,..._0x29556e}=_0x3f02c8;return{..._0x29556e,'st':_0x54e155,'ed':_0x39667f};}),_0x33800f[_0x3f9ca4(0x170)]=_0x536bce(_0x33800f[_0x3f9ca4(0x170)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x190)]=_0x26c7a1(_0x33800f[_0x3f9ca4(0x190)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x15d)]=_0x26c7a1(_0x33800f['customRanges'],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x1de)]=_0x26c7a1(_0x33800f[_0x3f9ca4(0x1de)],_0x52abf4,_0x3e65dc),_0x33800f[_0x3f9ca4(0x1a6)]=_0x26c7a1(_0x33800f['blockRanges'],_0x52abf4,_0x3e65dc);}function _0x18eac8(_0x366d90,_0x64cd4,_0x5ccec2){const _0x2e47af=_0x17f937;return _0x366d90==null?void 0x0:_0x366d90['map'](_0xb4b4e9=>_0xb4b4e9[_0x2e47af(0x14c)]>=_0x64cd4?{..._0xb4b4e9,'startIndex':_0xb4b4e9[_0x2e47af(0x14c)]+_0x5ccec2}:_0xb4b4e9);}function _0x934631(_0x3def47,_0x57f2ed,_0x893f8f){const _0x43cae3=_0x17f937;let _0x2cb3e2=_0x57f2ed+_0x893f8f;return _0x3def47==null?void 0x0:_0x3def47[_0x43cae3(0x131)](_0x2db5fa=>_0x2db5fa['startIndex']>=_0x57f2ed&&_0x2db5fa[_0x43cae3(0x14c)]<_0x2cb3e2?null:_0x2db5fa['startIndex']>=_0x2cb3e2?{..._0x2db5fa,'startIndex':_0x2db5fa['startIndex']-_0x893f8f}:_0x2db5fa)[_0x43cae3(0x1ee)](_0x2eb082=>_0x2eb082!=null);}function _0x3002c4(_0x4418e9,_0x4f88ee,_0x5a8372){const _0x1267a2=_0x17f937;return _0x4418e9==null?void 0x0:_0x4418e9[_0x1267a2(0x131)](_0x1dff4f=>_0x1dff4f['st']>=_0x4f88ee?{..._0x1dff4f,'st':_0x1dff4f['st']+_0x5a8372,'ed':_0x1dff4f['ed']+_0x5a8372}:_0x1dff4f['ed']>_0x4f88ee?{..._0x1dff4f,'ed':_0x1dff4f['ed']+_0x5a8372}:_0x1dff4f);}function _0x32bc75(_0x38c31c,_0x420a28,_0x1fe4ba){const _0x1bcd1f=_0x17f937;return _0x38c31c==null?void 0x0:_0x38c31c[_0x1bcd1f(0x131)](_0x18adca=>(0x0,_0x287336['shiftInclusiveRangeOnInsert'])(_0x18adca,_0x420a28,_0x1fe4ba));}function _0x184e3e(_0x32755b,_0x3df146,_0x10b933){const _0x5302f3=_0x17f937;return _0x32755b==null?void 0x0:_0x32755b[_0x5302f3(0x131)](_0x103585=>(0x0,_0x287336['shiftExclusiveRangeOnInsert'])(_0x103585,_0x3df146,_0x10b933));}function _0x26c7a1(_0x3ce583,_0x27ff4e,_0xe35e1c){const _0x3ae43d=_0x17f937;return _0x3ce583==null?void 0x0:_0x3ce583['map'](_0x4f85b2=>(0x0,_0x287336[_0x3ae43d(0x1c8)])(_0x4f85b2,_0x27ff4e,_0xe35e1c))[_0x3ae43d(0x1ee)](_0x49a646=>_0x49a646!=null);}function _0x536bce(_0x4ab9b8,_0x19de90,_0x3e79fe){const _0x357efa=_0x17f937;return _0x4ab9b8==null?void 0x0:_0x4ab9b8[_0x357efa(0x131)](_0x566278=>(0x0,_0x287336[_0x357efa(0x129)])(_0x566278,_0x19de90,_0x3e79fe))[_0x357efa(0x1ee)](_0xfc8079=>_0xfc8079!=null);}let _0x397e56={'id':'docs-code.command.insert-below','type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':_0x9b8e8d=>{const _0x303549=_0x17f937;var _0x4208ae;if((0x0,_0x52e8eb[_0x303549(0x1e8)])(_0xf0399b(_0x9b8e8d)))return!0x1;let _0x2d2c32=(0x0,_0x52e8eb[_0x303549(0x152)])(_0x9b8e8d);if(_0x2d2c32)return _0x9b8e8d[_0x303549(0x1b4)](_0x287336['ICommandService'])[_0x303549(0x155)](_0x4958fe['id'],{'startOffset':_0x2d2c32[_0x303549(0x1ad)],'endOffset':_0x2d2c32[_0x303549(0x173)],'insertionMode':_0x303549(0x168),'unitId':_0x2d2c32[_0x303549(0x165)]});let _0x13239c=_0x4d79cd(_0x9b8e8d);if(!_0x13239c)return!0x1;let _0x312dc9=(_0x4208ae=_0x9b8e8d[_0x303549(0x1b4)](_0x287336['IUniverInstanceService'])[_0x303549(0x1ac)](_0x287336[_0x303549(0x1b2)][_0x303549(0x135)]))==null?void 0x0:_0x4208ae[_0x303549(0x194)](),_0xd1e41f=_0x312dc9?(0x0,_0x287336[_0x303549(0x1bd)])(_0x312dc9,_0x13239c):_0x13239c[_0x303549(0x14c)]+0x1;return _0x9b8e8d[_0x303549(0x1b4)](_0x287336[_0x303549(0x1b5)])[_0x303549(0x155)](_0x4958fe['id'],{'startOffset':_0xd1e41f,'endOffset':_0xd1e41f});}},_0x30e243={'id':_0x17f937(0x1ef),'type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':()=>!0x0},_0x4958fe={'id':'docs-code.command.insert','type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x32fe54,_0x2da430)=>{const _0x27dad3=_0x17f937;let _0x3db17e=_0x29661d(_0x32fe54,_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x165)]);if(!_0x3db17e)return!0x1;let _0x20fc19=_0xf0399b(_0x32fe54);if((0x0,_0x52e8eb[_0x27dad3(0x1e8)])(_0x20fc19))return!0x1;let _0x1ac2c7=_0x3db17e[_0x27dad3(0x11b)][_0x27dad3(0x149)](_0x3db17e[_0x27dad3(0x165)]),_0xf965db=_0x5d2744(_0x2da430,_0x20fc19),_0x441ca1=_0x19e9a7(_0x3db17e[_0x27dad3(0x1a3)],_0xf965db);if(_0x441ca1){if(_0x441ca1[_0x27dad3(0x13e)]!==_0x287336[_0x27dad3(0x1d7)][_0x27dad3(0x1df)])return!0x1;let _0xd36399=_0x55f4d4({'blockId':_0x441ca1[_0x27dad3(0x171)],'documentData':_0x3db17e[_0x27dad3(0x1a3)],'metadata':_0x1ac2c7});if(!_0xd36399)return!0x1;let _0x506c1d=_0x44c178(_0x3db17e[_0x27dad3(0x18f)],_0x3db17e['selectionManager'],_0x3db17e[_0x27dad3(0x165)],_0x3db17e[_0x27dad3(0x1a3)],_0xd36399[_0x27dad3(0x169)],_0x4958fe['id'],_0xd36399[_0x27dad3(0x117)]);return _0x506c1d&&_0xd36399['nextMetadata']&&_0x3db17e[_0x27dad3(0x11b)]['deserialize'](_0x3db17e[_0x27dad3(0x165)],_0xd36399['nextMetadata']),_0x506c1d;}let _0x4002e5=(_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x171)])??(0x0,_0x287336['generateRandomId'])(0x6),_0x44b682;try{_0x44b682=_0x5d96e1({'blockId':_0x4002e5,'config':_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x18b)],'documentData':_0x3db17e[_0x27dad3(0x1a3)],'endOffset':_0xf965db==null?void 0x0:_0xf965db[_0x27dad3(0x173)],'insertionMode':_0x2da430==null?void 0x0:_0x2da430[_0x27dad3(0x123)],'metadata':_0x1ac2c7,'startOffset':_0xf965db==null?void 0x0:_0xf965db[_0x27dad3(0x1ad)]});}catch(_0x152c01){if(_0x152c01 instanceof _0x48250c)return!0x1;throw _0x152c01;}let _0x8e5fa=_0x44c178(_0x3db17e[_0x27dad3(0x18f)],_0x3db17e[_0x27dad3(0x1b8)],_0x3db17e[_0x27dad3(0x165)],_0x3db17e[_0x27dad3(0x1a3)],_0x44b682['nextDocumentData'],_0x4958fe['id'],_0x44b682[_0x27dad3(0x117)]);return _0x8e5fa&&_0x44b682[_0x27dad3(0x199)]&&_0x3db17e['model'][_0x27dad3(0x130)](_0x3db17e['unitId'],_0x44b682[_0x27dad3(0x199)]),_0x8e5fa;}},_0x1e59d6={'id':_0x17f937(0x15f),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x567cf8,_0x2d6356)=>{const _0x1fcc47=_0x17f937;if(!_0x2d6356)return!0x1;let _0x495a89=_0x29661d(_0x567cf8,_0x2d6356['unitId']);if(!_0x495a89)return!0x1;let _0x197dc7=_0x1d997a({'blockId':_0x2d6356[_0x1fcc47(0x171)],'config':_0x2d6356[_0x1fcc47(0x18b)],'documentData':_0x495a89[_0x1fcc47(0x1a3)],'metadata':_0x495a89[_0x1fcc47(0x11b)][_0x1fcc47(0x149)](_0x495a89['unitId'])});return _0x197dc7[_0x1fcc47(0x199)]&&_0x495a89[_0x1fcc47(0x11b)]['deserialize'](_0x495a89[_0x1fcc47(0x165)],_0x197dc7[_0x1fcc47(0x199)]),!0x0;}},_0x1d61ad={'id':'docs-code.command.exit','type':_0x287336['CommandType'][_0x17f937(0x1c0)],'handler':(_0x9953d8,_0x2be7ee)=>_0x571e54['handler'](_0x9953d8,_0x2be7ee)},_0x571e54={'id':_0x17f937(0x1b0),'type':_0x287336[_0x17f937(0x1d6)]['COMMAND'],'handler':(_0x1a9380,_0x1eadce)=>{const _0x5434bf=_0x17f937;if(!_0x1eadce)return!0x1;let _0x175bc5=_0x29661d(_0x1a9380,_0x1eadce==null?void 0x0:_0x1eadce['unitId']);if(!_0x175bc5)return!0x1;let _0x59f8aa=_0x55f4d4({'blockId':_0x1eadce[_0x5434bf(0x171)],'documentData':_0x175bc5[_0x5434bf(0x1a3)],'metadata':_0x175bc5[_0x5434bf(0x11b)][_0x5434bf(0x149)](_0x175bc5[_0x5434bf(0x165)])});if(!_0x59f8aa)return!0x1;let _0x52d1f3=_0x44c178(_0x175bc5[_0x5434bf(0x18f)],_0x175bc5[_0x5434bf(0x1b8)],_0x175bc5[_0x5434bf(0x165)],_0x175bc5[_0x5434bf(0x1a3)],_0x59f8aa['nextDocumentData'],_0x571e54['id'],_0x59f8aa['cursorOffset']);return _0x52d1f3&&_0x59f8aa['nextMetadata']&&_0x175bc5[_0x5434bf(0x11b)][_0x5434bf(0x130)](_0x175bc5[_0x5434bf(0x165)],_0x59f8aa[_0x5434bf(0x199)]),_0x52d1f3;}},_0x26e9e0={'id':_0x17f937(0x180),'type':_0x287336[_0x17f937(0x1d6)][_0x17f937(0x1c0)],'handler':(_0x2eb5d6,_0x311fe1)=>{const _0x281b91=_0x17f937;if(!_0x311fe1)return!0x1;let _0x5349d2=_0x29661d(_0x2eb5d6,_0x311fe1==null?void 0x0:_0x311fe1[_0x281b91(0x165)]);if(!_0x5349d2)return!0x1;let _0x3c834d=_0x5ff1ac({'blockId':_0x311fe1[_0x281b91(0x171)],'documentData':_0x5349d2[_0x281b91(0x1a3)],'metadata':_0x5349d2[_0x281b91(0x11b)][_0x281b91(0x149)](_0x5349d2[_0x281b91(0x165)])});if(!_0x3c834d)return!0x1;let _0x169f85=_0x44c178(_0x5349d2['commandService'],_0x5349d2['selectionManager'],_0x5349d2[_0x281b91(0x165)],_0x5349d2[_0x281b91(0x1a3)],_0x3c834d[_0x281b91(0x169)],_0x26e9e0['id'],_0x3c834d[_0x281b91(0x117)]);return _0x169f85&&_0x3c834d[_0x281b91(0x199)]&&_0x5349d2[_0x281b91(0x11b)][_0x281b91(0x130)](_0x5349d2[_0x281b91(0x165)],_0x3c834d[_0x281b91(0x199)]),_0x169f85;}},_0x5e814c={'id':_0x17f937(0x1c2),'type':_0x287336[_0x17f937(0x1d6)]['COMMAND'],'handler':(_0x2d5bb5,_0x7776d5)=>{const _0x3b81ce=_0x17f937;var _0x2f314a;let _0x591d11=_0x29661d(_0x2d5bb5,_0x7776d5==null?void 0x0:_0x7776d5['unitId']);if(!_0x591d11)return!0x1;let _0x1589e6=(_0x7776d5==null?void 0x0:_0x7776d5[_0x3b81ce(0x117)])??((_0x2f314a=_0xf0399b(_0x2d5bb5))==null?void 0x0:_0x2f314a[_0x3b81ce(0x1ad)]);if(_0x1589e6==null)return!0x1;let _0x427378=_0x505bd2({'cursorOffset':_0x1589e6,'documentData':_0x591d11[_0x3b81ce(0x1a3)],'paragraphStartIndex':_0x7776d5==null?void 0x0:_0x7776d5[_0x3b81ce(0x141)]});return _0x427378?_0x44c178(_0x591d11[_0x3b81ce(0x18f)],_0x591d11['selectionManager'],_0x591d11['unitId'],_0x591d11['previousDocumentData'],_0x427378[_0x3b81ce(0x169)],_0x5e814c['id'],_0x427378[_0x3b81ce(0x117)]):!0x1;}};function _0x29661d(_0x103ec2,_0x2715b8){const _0x15a5fa=_0x17f937;let _0x530d53=_0x103ec2[_0x15a5fa(0x1b4)](_0x287336[_0x15a5fa(0x17e)]),_0x233b47=_0x2715b8?_0x530d53['getUnit'](_0x2715b8,_0x287336[_0x15a5fa(0x1b2)]['UNIVER_DOC']):_0x530d53[_0x15a5fa(0x1ac)](_0x287336['UniverInstanceType'][_0x15a5fa(0x135)]);return _0x233b47?{'commandService':_0x103ec2[_0x15a5fa(0x1b4)](_0x287336[_0x15a5fa(0x1b5)]),'model':_0x103ec2['get'](_0x4bb020),'previousDocumentData':_0x233b47[_0x15a5fa(0x1d0)](),'selectionManager':_0x103ec2[_0x15a5fa(0x1b4)](_0x52e8eb[_0x15a5fa(0x118)]),'unitId':_0x233b47[_0x15a5fa(0x181)]()}:null;}function _0xf0399b(_0x5dbd18){const _0xdb29a1=_0x17f937;var _0x1993e2;return(_0x1993e2=_0x5dbd18['get'](_0x52e8eb[_0xdb29a1(0x118)])[_0xdb29a1(0x15b)]())==null?void 0x0:_0x1993e2[0x0];}function _0x5d2744(_0x47ffbe,_0x196909){const _0x1642ba=_0x17f937;let _0x584ae6=(_0x47ffbe==null?void 0x0:_0x47ffbe[_0x1642ba(0x1ad)])??(_0x196909==null?void 0x0:_0x196909[_0x1642ba(0x1ad)]),_0x1c8450=(_0x47ffbe==null?void 0x0:_0x47ffbe[_0x1642ba(0x173)])??(_0x196909==null?void 0x0:_0x196909['endOffset']);if(_0x584ae6!=null&&_0x1c8450!=null)return{'endOffset':Math['max'](_0x584ae6,_0x1c8450),'startOffset':Math[_0x1642ba(0x163)](_0x584ae6,_0x1c8450)};}function _0x19e9a7(_0x38dd07,_0x351f2b){const _0x3ae652=_0x17f937;var _0x547a4a;if(!_0x351f2b)return;let _0x204e2f=_0x35a18b(_0x351f2b);return(_0x547a4a=_0x38dd07[_0x3ae652(0x1a7)])==null||(_0x547a4a=_0x547a4a['blockRanges'])==null?void 0x0:_0x547a4a[_0x3ae652(0x13c)](_0x5a6c74=>{const _0x4e21f5=_0x3ae652;let _0x1d4f12=(0x0,_0x287336[_0x4e21f5(0x1db)])(_0x5a6c74);return _0x351f2b[_0x4e21f5(0x1ad)]===_0x351f2b[_0x4e21f5(0x173)]?(0x0,_0x287336['containsInteriorInsertionOffset'])(_0x1d4f12,_0x204e2f):(0x0,_0x287336[_0x4e21f5(0x1ca)])(_0x1d4f12,_0x204e2f);});}function _0x35a18b(_0x205130){const _0x252e33=_0x17f937;return _0x205130['startOffset']===_0x205130[_0x252e33(0x173)]?_0x205130['startOffset']:_0x205130[_0x252e33(0x1ad)]+0x1;}function _0x4d79cd(_0x33bd1d){const _0x450dea=_0x17f937;let _0x221b80=_0xf0399b(_0x33bd1d);if(!_0x221b80)return null;let _0x4d6a5d=_0x33bd1d['get'](_0x287336['IUniverInstanceService'])[_0x450dea(0x1ac)](_0x287336[_0x450dea(0x1b2)][_0x450dea(0x135)]),_0x32faff=_0x4d6a5d==null?void 0x0:_0x4d6a5d[_0x450dea(0x194)]();return _0x32faff?_0x287336[_0x450dea(0x113)][_0x450dea(0x121)]['getParagraphsInRange'](_0x221b80,_0x32faff[_0x450dea(0x13d)]??[],_0x32faff['dataStream']??'')[0x0]??null:null;}function _0x3b31b8(_0x64acab,_0x1a9600){const _0x11c9a9=_0x17f937;let _0x40a4d9=_0x64acab[_0x11c9a9(0x1a7)],_0x1a93e9=_0x1a9600['body'],_0x11793d=(0x0,_0x287336[_0x11c9a9(0x1be)])(_0x40a4d9,_0x1a93e9);return[_0x11793d&&_0x1a93e9?_0x5509d2(_0x1a93e9,_0x11793d):null,_0x11793d?null:_0x398a6c(_0x40a4d9,_0x1a93e9)][_0x11c9a9(0x1ee)](Boolean)['reduce']((_0x20b717,_0x2086c5)=>_0x287336['JSONX'][_0x11c9a9(0x151)](_0x20b717,_0x2086c5),null);}function _0x5509d2(_0x40659d,_0x72bfcb){const _0xeaf65=_0x17f937;let _0x4dad87=new _0x287336[(_0xeaf65(0x172))]();return _0x4dad87[_0xeaf65(0x142)](_0x72bfcb['start']),_0x72bfcb[_0xeaf65(0x16e)]>0x0&&_0x4dad87['insert'](_0x72bfcb['insertLength'],(0x0,_0x287336[_0xeaf65(0x188)])(_0x40659d,_0x72bfcb[_0xeaf65(0x145)],_0x72bfcb['start']+_0x72bfcb[_0xeaf65(0x16e)],!0x1)),_0x72bfcb[_0xeaf65(0x17b)]>0x0&&_0x4dad87[_0xeaf65(0x192)](_0x72bfcb[_0xeaf65(0x17b)]),_0x287336[_0xeaf65(0x133)][_0xeaf65(0x138)]()[_0xeaf65(0x1af)](_0x4dad87[_0xeaf65(0x149)](),['body']);}function _0x398a6c(_0x24316e,_0x4ecdad){const _0x1f5258=_0x17f937;let _0x1570d4=[],_0x27e8d4=_0x24316e?_0x169f18(_0x24316e):void 0x0,_0x29a383=_0x4ecdad?_0x169f18(_0x4ecdad):void 0x0;for(let _0x3bfd9a of _0x49f0bf)_0x376a28(_0x287336[_0x1f5258(0x133)][_0x1f5258(0x138)](),[_0x1f5258(0x1a7),_0x3bfd9a],_0x27e8d4==null?void 0x0:_0x27e8d4[_0x3bfd9a],_0x29a383==null?void 0x0:_0x29a383[_0x3bfd9a],_0x1570d4);return _0x1570d4['reduce']((_0x362c3b,_0x2cd4ba)=>_0x287336[_0x1f5258(0x133)][_0x1f5258(0x151)](_0x362c3b,_0x2cd4ba),null);}let _0x49f0bf=[_0x17f937(0x13d),_0x17f937(0x14d),_0x17f937(0x170),_0x17f937(0x190),_0x17f937(0x1a6),'customBlocks',_0x17f937(0x15d),'customDecorations',_0x17f937(0x1ec)];function _0x169f18(_0x30e04b){return _0x30e04b;}function _0x376a28(_0x213875,_0x56a882,_0x3713c6,_0x56b3d9,_0x3e9113){const _0x3abc19=_0x17f937;_0x3d9a3f(_0x3713c6,_0x56b3d9)||(_0x3713c6==null?_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x126)](_0x56a882,_0x56b3d9)):_0x56b3d9==null?_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x14b)](_0x56a882,_0x3713c6)):Array[_0x3abc19(0x19c)](_0x3713c6)&&Array[_0x3abc19(0x19c)](_0x56b3d9)?_0x2d1630(_0x213875,_0x56a882,_0x3713c6,_0x56b3d9,_0x3e9113):_0x1827b3(_0x3713c6)&&_0x1827b3(_0x56b3d9)?new Set([...Object[_0x3abc19(0x1c6)](_0x3713c6),...Object[_0x3abc19(0x1c6)](_0x56b3d9)])[_0x3abc19(0x1b9)](_0x3877db=>{_0x376a28(_0x213875,[..._0x56a882,_0x3877db],_0x3713c6[_0x3877db],_0x56b3d9[_0x3877db],_0x3e9113);}):_0x3e9113[_0x3abc19(0x124)](_0x213875[_0x3abc19(0x19b)](_0x56a882,_0x3713c6,_0x56b3d9)));}function _0x2d1630(_0x5307b2,_0x65bb6e,_0x30a06b,_0x2752e0,_0x2315e5){const _0x2703e3=_0x17f937;if(_0x30a06b[_0x2703e3(0x1a4)]===_0x2752e0[_0x2703e3(0x1a4)]){_0x30a06b['forEach']((_0x49f1b4,_0x565737)=>_0x376a28(_0x5307b2,[..._0x65bb6e,_0x565737],_0x49f1b4,_0x2752e0[_0x565737],_0x2315e5));return;}let _0x392932=0x0;for(;_0x392932<_0x30a06b['length']&&_0x392932<_0x2752e0[_0x2703e3(0x1a4)]&&_0x3d9a3f(_0x30a06b[_0x392932],_0x2752e0[_0x392932]);)_0x392932++;let _0x3044e2=_0x30a06b['length']-0x1,_0x2729a2=_0x2752e0[_0x2703e3(0x1a4)]-0x1;for(;_0x3044e2>=_0x392932&&_0x2729a2>=_0x392932&&_0x3d9a3f(_0x30a06b[_0x3044e2],_0x2752e0[_0x2729a2]);)_0x3044e2--,_0x2729a2--;for(let _0x2b0242=_0x3044e2;_0x2b0242>=_0x392932;_0x2b0242--)_0x2315e5[_0x2703e3(0x124)](_0x5307b2['removeOp']([..._0x65bb6e,_0x2b0242],_0x30a06b[_0x2b0242]));for(let _0x190f27=_0x392932;_0x190f27<=_0x2729a2;_0x190f27++)_0x2315e5[_0x2703e3(0x124)](_0x5307b2['insertOp']([..._0x65bb6e,_0x190f27],_0x2752e0[_0x190f27]));}function _0x1827b3(_0x415580){const _0x180d89=_0x17f937;return typeof _0x415580==_0x180d89(0x140)&&!!_0x415580&&!Array[_0x180d89(0x19c)](_0x415580);}function _0x3d9a3f(_0x3f4313,_0x3aa8cc){const _0x2474a4=_0x17f937;return JSON[_0x2474a4(0x197)](_0x3f4313)===JSON[_0x2474a4(0x197)](_0x3aa8cc);}function _0x44c178(_0x442543,_0x5abd61,_0x537c4b,_0x21c6db,_0x46c4d5,_0x462799,_0x565fe9){const _0x53f953=_0x17f937;let _0x1e4da9=_0x3b31b8(_0x21c6db,_0x46c4d5);return _0x1e4da9?!!_0x442543['syncExecuteCommand'](_0x52e8eb[_0x53f953(0x1ed)]['id'],{'unitId':_0x537c4b,'actions':_0x1e4da9,'textRanges':[{'startOffset':_0x565fe9,'endOffset':_0x565fe9,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x462799}):(_0x5abd61['replaceDocRanges']([{'startOffset':_0x565fe9,'endOffset':_0x565fe9}],{'unitId':_0x537c4b,'subUnitId':_0x537c4b},!0x1),!0x0);}let _0x3c0648=_0x17f937(0x174);var _0x380237='@univerjs-pro/docs-code',_0x139a81=_0x17f937(0x1e9);let _0x49615c={};function _0x36d1a3(_0x48fa1c,_0x4d7c7c){return function(_0x396c2d,_0xd84e4b){_0x4d7c7c(_0x396c2d,_0xd84e4b,_0x48fa1c);};}function _0x201c3a(_0x46effc,_0x39f477,_0x3d2bc8,_0x2fe2ee){const _0x1c5992=_0x17f937;var _0x4eeb5a=arguments[_0x1c5992(0x1a4)],_0x4015af=_0x4eeb5a<0x3?_0x39f477:_0x2fe2ee===null?_0x2fe2ee=Object[_0x1c5992(0x1ba)](_0x39f477,_0x3d2bc8):_0x2fe2ee,_0x4c5173;if(typeof Reflect==_0x1c5992(0x140)&&typeof Reflect[_0x1c5992(0x134)]==_0x1c5992(0x137))_0x4015af=Reflect[_0x1c5992(0x134)](_0x46effc,_0x39f477,_0x3d2bc8,_0x2fe2ee);else{for(var _0x231c34=_0x46effc[_0x1c5992(0x1a4)]-0x1;_0x231c34>=0x0;_0x231c34--)(_0x4c5173=_0x46effc[_0x231c34])&&(_0x4015af=(_0x4eeb5a<0x3?_0x4c5173(_0x4015af):_0x4eeb5a>0x3?_0x4c5173(_0x39f477,_0x3d2bc8,_0x4015af):_0x4c5173(_0x39f477,_0x3d2bc8))||_0x4015af);}return _0x4eeb5a>0x3&&_0x4015af&&Object['defineProperty'](_0x39f477,_0x3d2bc8,_0x4015af),_0x4015af;}let _0x336dc7=class extends _0x287336[_0x17f937(0x159)]{constructor(_0x470e2f,_0x444f7e){const _0x1c6c00=_0x17f937;super(),this[_0x1c6c00(0x148)]=_0x470e2f,this[_0x1c6c00(0x195)]=_0x444f7e,this[_0x1c6c00(0x1e5)]();}['_initResource'](){const _0x25edb5=_0x17f937;this['disposeWithMe'](this[_0x25edb5(0x148)][_0x25edb5(0x14a)]({'pluginName':_0x3c0648,'businesses':[_0x287336[_0x25edb5(0x1b2)][_0x25edb5(0x135)]],'toJson':_0x3dc8b7=>JSON['stringify'](this['_docsCodeModel'][_0x25edb5(0x149)](_0x3dc8b7)),'parseJson':_0x122c4e=>_0x1b5c5c(JSON[_0x25edb5(0x1e6)](_0x122c4e)),'onLoad':(_0x5f5adf,_0x1c5fd3)=>this['_docsCodeModel'][_0x25edb5(0x130)](_0x5f5adf,_0x1c5fd3),'onUnLoad':_0x216ba8=>this[_0x25edb5(0x195)][_0x25edb5(0x1d4)](_0x216ba8)}));}};_0x336dc7=_0x201c3a([_0x36d1a3(0x0,_0x287336[_0x17f937(0x177)]),_0x36d1a3(0x1,(0x0,_0x287336[_0x17f937(0x16b)])(_0x4bb020))],_0x336dc7);let _0x2dcbea=class extends _0x287336['Plugin']{constructor(_0x1070d6=_0x49615c,_0x5b3910,_0x5619b2,_0x3c6ccb){const _0x394ce1=_0x17f937;super(),this[_0x394ce1(0x15c)]=_0x1070d6,this[_0x394ce1(0x1c7)]=_0x5b3910,this['_commandService']=_0x5619b2,this[_0x394ce1(0x157)]=_0x3c6ccb;let {..._0x2844d5}=(0x0,_0x287336[_0x394ce1(0x144)])({},_0x49615c,this[_0x394ce1(0x15c)]);this[_0x394ce1(0x157)]['setConfig'](_0x394ce1(0x18a),_0x2844d5);}[_0x17f937(0x13a)](){const _0x564a89=_0x17f937;this[_0x564a89(0x1c7)][_0x564a89(0x187)]([_0x4bb020]),this['_injector'][_0x564a89(0x187)]([_0x336dc7]),this[_0x564a89(0x1c7)][_0x564a89(0x1b4)](_0x4bb020),this[_0x564a89(0x1c7)][_0x564a89(0x1b4)](_0x336dc7),[_0x4958fe,_0x397e56,_0x1e59d6,_0x571e54,_0x26e9e0,_0x1d61ad,_0x5e814c,_0x30e243,_0x151779,_0x240cc5][_0x564a89(0x1b9)](_0x18f014=>this[_0x564a89(0x1d2)](this[_0x564a89(0x11e)][_0x564a89(0x1c4)](_0x18f014)));}};_0x500cb5(_0x2dcbea,_0x17f937(0x189),_0x3c0648),_0x500cb5(_0x2dcbea,_0x17f937(0x1b1),_0x380237),_0x500cb5(_0x2dcbea,_0x17f937(0x184),_0x139a81),_0x500cb5(_0x2dcbea,_0x17f937(0x1cb),_0x287336[_0x17f937(0x1b2)]['UNIVER_DOC']),_0x2dcbea=_0x201c3a([(0x0,_0x287336[_0x17f937(0x17a)])(_0x1173f1[_0x17f937(0x11f)],_0x52e8eb[_0x17f937(0x1e4)]),_0x36d1a3(0x1,(0x0,_0x287336[_0x17f937(0x16b)])(_0x287336[_0x17f937(0x1aa)])),_0x36d1a3(0x2,_0x287336[_0x17f937(0x1b5)]),_0x36d1a3(0x3,_0x287336[_0x17f937(0x12e)])],_0x2dcbea),_0x31a785[_0x17f937(0x13f)]=_0x3c0648,_0x31a785[_0x17f937(0x1e1)]=_0x5e814c,_0x31a785[_0x17f937(0x120)]=_0x30e243,_0x31a785['DocsCodeInsertBelowCommand']=_0x397e56,_0x31a785[_0x17f937(0x16a)]=_0x4958fe,_0x31a785['DocsCodeModel']=_0x4bb020,_0x31a785['DocsCodeRemoveCommand']=_0x26e9e0,_0x31a785[_0x17f937(0x136)]=_0x571e54,_0x31a785[_0x17f937(0x1a1)]=_0x1e59d6,_0x31a785['RemoveDocsCodeConfigMutation']=_0x240cc5,_0x31a785[_0x17f937(0x1a8)]=_0x151779,Object[_0x17f937(0x11c)](_0x31a785,_0x17f937(0x11d),{'enumerable':!0x0,'get':function(){return _0x2dcbea;}}),_0x31a785[_0x17f937(0x182)]=_0x505bd2,_0x31a785[_0x17f937(0x1c5)]=_0x4c97b8,_0x31a785[_0x17f937(0x127)]=_0x360def,_0x31a785['normalizeDocsCodeMetadataResource']=_0x1b5c5c;}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-code",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Code block model integration for Univer Docs.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.
|
|
65
|
-
"@univerjs/core": "1.
|
|
66
|
-
"@univerjs/docs": "1.
|
|
64
|
+
"@univerjs-pro/license": "1.3.1",
|
|
65
|
+
"@univerjs/core": "1.3.1",
|
|
66
|
+
"@univerjs/docs": "1.3.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@univerjs-infra/shared": "1.
|
|
69
|
+
"@univerjs-infra/shared": "1.3.1",
|
|
70
70
|
"rxjs": "7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
72
|
"vitest": "^5.0.4"
|