@univerjs-pro/docs-code 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1a33(){var _0x15500b=['4374852yxfvjK','5851804JUpHba','findCodeByText','join','DocumentBlockRangeType','slice','some','@univerjs-pro/docs-code','constructor','find','dataStream','get','symbol','updateConfig','getId','string','_injector','toPrimitive','DataStreamTreeTokenType','PARAGRAPH','ICommandService','blockId','_getDocumentData','58722YVnbbh','_unitId','DocsCodeUpdateCommand','text','@univerjs/docs/facade','Inject','createInstance','config','getConfig','9vWrarN','length','171880SXQdMt','object','call','replace','blockRanges','25320vDArRD','defineProperty','from','UniverCore','2uQqwwH','describe','DocsCodeInsertCommand','syncExecuteCommand','_blockId','includes','remove','body','DocsCodeUnwrapCommand','filter','getOwnPropertyDescriptor','_createFDocumentCode','startIndex','getCodeAt','getRange','@univerjs/core','function','BLOCK_END','FDocument','findCodes','362680YQDQJa','56avUMrJ','338657aknedo','BLOCK_START','UniverProDocsCodeFacade','getCodes','blockType','3evPyzB','unwrap','_getBlockRange','getText','Module','decorate','_getBlockRanges','FDocumentCode','CODE','55AyoDIx','amd','normalizeDocsCodeConfig','SECTION_BREAK','endIndex','_document','getCodeConfig','toStringTag','UniverDocsFacade'];_0x1a33=function(){return _0x15500b;};return _0x1a33();}function _0x87e6(_0x4be169,_0x31838){_0x4be169=_0x4be169-0x18d;var _0x1a3315=_0x1a33();var _0x87e6a1=_0x1a3315[_0x4be169];return _0x87e6a1;}(function(_0x52964e,_0x1ae4fb){var _0x372b0c=_0x87e6,_0x5f030d=_0x52964e();while(!![]){try{var _0x565aca=parseInt(_0x372b0c(0x1da))/0x1*(parseInt(_0x372b0c(0x1c4))/0x2)+parseInt(_0x372b0c(0x1df))/0x3*(-parseInt(_0x372b0c(0x19a))/0x4)+parseInt(_0x372b0c(0x1c0))/0x5+parseInt(_0x372b0c(0x1b0))/0x6*(parseInt(_0x372b0c(0x1d9))/0x7)+parseInt(_0x372b0c(0x1d8))/0x8*(parseInt(_0x372b0c(0x1b9))/0x9)+-parseInt(_0x372b0c(0x1bb))/0xa+parseInt(_0x372b0c(0x190))/0xb*(parseInt(_0x372b0c(0x199))/0xc);if(_0x565aca===_0x1ae4fb)break;else _0x5f030d['push'](_0x5f030d['shift']());}catch(_0x13acbb){_0x5f030d['push'](_0x5f030d['shift']());}}}(_0x1a33,0xc5c54),function(_0x5d2ecb,_0x2f4271){var _0x98bb8d=_0x87e6;typeof exports==_0x98bb8d(0x1bc)&&typeof module<'u'?_0x2f4271(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x98bb8d(0x1d4)&&define[_0x98bb8d(0x191)]?define(['exports',_0x98bb8d(0x1a0),_0x98bb8d(0x1d3),_0x98bb8d(0x1b4)],_0x2f4271):(_0x5d2ecb=typeof globalThis<'u'?globalThis:_0x5d2ecb||self,_0x2f4271(_0x5d2ecb[_0x98bb8d(0x1dc)]={},_0x5d2ecb['UniverProDocsCode'],_0x5d2ecb[_0x98bb8d(0x1c3)],_0x5d2ecb[_0x98bb8d(0x198)]));}(this,function(_0x2e0af3,_0x3beb48,_0x589fcf,_0x383872){var _0x253da3=_0x87e6;Object[_0x253da3(0x1c1)](_0x2e0af3,Symbol[_0x253da3(0x197)],{'value':_0x253da3(0x1e3)});function _0x3e0915(_0x195590){'@babel/helpers - typeof';var _0x9ac91e=_0x253da3;return _0x3e0915=typeof Symbol==_0x9ac91e(0x1d4)&&typeof Symbol['iterator']==_0x9ac91e(0x1a5)?function(_0x335dc2){return typeof _0x335dc2;}:function(_0x54757d){var _0x2a3b5e=_0x9ac91e;return _0x54757d&&typeof Symbol==_0x2a3b5e(0x1d4)&&_0x54757d[_0x2a3b5e(0x1a1)]===Symbol&&_0x54757d!==Symbol['prototype']?_0x2a3b5e(0x1a5):typeof _0x54757d;},_0x3e0915(_0x195590);}function _0x48ff9b(_0x3869fd,_0x340256){var _0x1503ad=_0x253da3;if(_0x3e0915(_0x3869fd)!=_0x1503ad(0x1bc)||!_0x3869fd)return _0x3869fd;var _0x371228;if(typeof Symbol<'u'&&(_0x371228=_0x3869fd[Symbol[_0x1503ad(0x1aa)]])!==void 0x0){var _0x4d3f2b=_0x371228[_0x1503ad(0x1bd)](_0x3869fd,_0x340256||'default');if(_0x3e0915(_0x4d3f2b)!=_0x1503ad(0x1bc))return _0x4d3f2b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x340256===_0x1503ad(0x1a8)?String:Number)(_0x3869fd);}function _0x546e81(_0x284e47){var _0x10d710=_0x253da3,_0x1cfa86=_0x48ff9b(_0x284e47,_0x10d710(0x1a8));return _0x3e0915(_0x1cfa86)=='symbol'?_0x1cfa86:_0x1cfa86+'';}function _0x59fecc(_0x50717f,_0x3766b4,_0x120e0d){var _0x5c3cb6=_0x253da3;return(_0x3766b4=_0x546e81(_0x3766b4))in _0x50717f?Object[_0x5c3cb6(0x1c1)](_0x50717f,_0x3766b4,{'value':_0x120e0d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50717f[_0x3766b4]=_0x120e0d,_0x50717f;}function _0x555e6d(_0x772b4b,_0x4cd28a){return function(_0x3179cb,_0x4ec8a4){_0x4cd28a(_0x3179cb,_0x4ec8a4,_0x772b4b);};}function _0x378e43(_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4){var _0x2c8281=_0x253da3,_0x21857b=arguments[_0x2c8281(0x1ba)],_0x3d004=_0x21857b<0x3?_0x514ad0:_0x23dfa4===null?_0x23dfa4=Object[_0x2c8281(0x1ce)](_0x514ad0,_0x1fed3e):_0x23dfa4,_0x9d7b7e;if(typeof Reflect=='object'&&typeof Reflect[_0x2c8281(0x1e4)]=='function')_0x3d004=Reflect[_0x2c8281(0x1e4)](_0x572aab,_0x514ad0,_0x1fed3e,_0x23dfa4);else{for(var _0x71cca8=_0x572aab[_0x2c8281(0x1ba)]-0x1;_0x71cca8>=0x0;_0x71cca8--)(_0x9d7b7e=_0x572aab[_0x71cca8])&&(_0x3d004=(_0x21857b<0x3?_0x9d7b7e(_0x3d004):_0x21857b>0x3?_0x9d7b7e(_0x514ad0,_0x1fed3e,_0x3d004):_0x9d7b7e(_0x514ad0,_0x1fed3e))||_0x3d004);}return _0x21857b>0x3&&_0x3d004&&Object[_0x2c8281(0x1c1)](_0x514ad0,_0x1fed3e,_0x3d004),_0x3d004;}let _0x3ace71=class{constructor(_0x40c40b,_0x3e9922,_0x45232e){var _0x49fbdb=_0x253da3;this['_document']=_0x40c40b,this[_0x49fbdb(0x1c8)]=_0x3e9922,this[_0x49fbdb(0x1a9)]=_0x45232e,_0x59fecc(this,'_unitId',void 0x0),this[_0x49fbdb(0x1b1)]=this['_document'][_0x49fbdb(0x1a7)]();}[_0x253da3(0x1a7)](){var _0xf964bb=_0x253da3;return this[_0xf964bb(0x1c8)];}[_0x253da3(0x1d2)](){var _0x4ebee0=_0x253da3;let _0x1fe2da=this[_0x4ebee0(0x1e1)]();return _0x1fe2da?{'blockId':_0x1fe2da[_0x4ebee0(0x1ae)],'endIndex':_0x1fe2da[_0x4ebee0(0x194)],'startIndex':_0x1fe2da[_0x4ebee0(0x1d0)]}:null;}[_0x253da3(0x1e2)](){var _0x4a7324=_0x253da3,_0x181c74;let _0x32cdc3=this[_0x4a7324(0x1e1)](),_0x2a4feb=(_0x181c74=this['_getDocumentData']()[_0x4a7324(0x1cb)])==null?void 0x0:_0x181c74[_0x4a7324(0x1a3)];return!_0x32cdc3||!_0x2a4feb?'':_0x2986ff(_0x2a4feb[_0x4a7324(0x19e)](_0x32cdc3[_0x4a7324(0x1d0)]+0x1,_0x32cdc3[_0x4a7324(0x194)]));}[_0x253da3(0x1c5)](){var _0x325e81=_0x253da3;let _0x37a13e=this[_0x325e81(0x1d2)]();return _0x37a13e?{..._0x37a13e,'config':this[_0x325e81(0x1b8)](),'text':this[_0x325e81(0x1e2)](),'type':_0x589fcf[_0x325e81(0x19d)]['CODE']}:null;}[_0x253da3(0x1b8)](){var _0x4b308f=_0x253da3;let _0x37e1dc=this['_injector'][_0x4b308f(0x1a4)](_0x3beb48['DocsCodeModel']);return(0x0,_0x3beb48[_0x4b308f(0x192)])(_0x37e1dc[_0x4b308f(0x196)](this['_unitId'],this[_0x4b308f(0x1c8)]));}[_0x253da3(0x1a6)](_0x4d5fb5){var _0x117464=_0x253da3;return this[_0x117464(0x1a9)]['get'](_0x589fcf[_0x117464(0x1ad)])[_0x117464(0x1c7)](_0x3beb48[_0x117464(0x1b2)]['id'],{'blockId':this['_blockId'],'config':_0x4d5fb5[_0x117464(0x1b7)],'unitId':this[_0x117464(0x1b1)]});}[_0x253da3(0x1e0)](){var _0x1333f0=_0x253da3;return this[_0x1333f0(0x1a9)][_0x1333f0(0x1a4)](_0x589fcf[_0x1333f0(0x1ad)])[_0x1333f0(0x1c7)](_0x3beb48[_0x1333f0(0x1cc)]['id'],{'blockId':this[_0x1333f0(0x1c8)],'unitId':this[_0x1333f0(0x1b1)]});}[_0x253da3(0x1ca)](){var _0x2aa3c8=_0x253da3;return this[_0x2aa3c8(0x1a9)][_0x2aa3c8(0x1a4)](_0x589fcf[_0x2aa3c8(0x1ad)])[_0x2aa3c8(0x1c7)](_0x3beb48['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2aa3c8(0x1c8)],'unitId':this[_0x2aa3c8(0x1b1)]});}[_0x253da3(0x1e1)](){var _0xd2ce2d=_0x253da3,_0xda5b21;return((_0xda5b21=this[_0xd2ce2d(0x1af)]()[_0xd2ce2d(0x1cb)])==null||(_0xda5b21=_0xda5b21['blockRanges'])==null?void 0x0:_0xda5b21[_0xd2ce2d(0x1a2)](_0x3055c9=>_0x3055c9[_0xd2ce2d(0x1ae)]===this[_0xd2ce2d(0x1c8)]&&_0x3055c9[_0xd2ce2d(0x1de)]===_0x589fcf['DocumentBlockRangeType'][_0xd2ce2d(0x18f)]))??null;}[_0x253da3(0x1af)](){var _0x579266=_0x253da3;return this[_0x579266(0x195)]['save']();}};_0x3ace71=_0x378e43([_0x555e6d(0x2,(0x0,_0x589fcf[_0x253da3(0x1b5)])(_0x589fcf['Injector']))],_0x3ace71);function _0x2986ff(_0x2a4ade){var _0xbee129=_0x253da3;return Array[_0xbee129(0x1c2)](_0x2a4ade)['map'](_0x375ac0=>_0x375ac0===_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1ac)]?'\x0a':_0x375ac0)[_0xbee129(0x1cd)](_0x575179=>_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x1db)]&&_0x575179!==_0x589fcf['DataStreamTreeTokenType'][_0xbee129(0x1d5)]&&_0x575179!==_0x589fcf[_0xbee129(0x1ab)][_0xbee129(0x193)])[_0xbee129(0x19c)]('')[_0xbee129(0x1be)](/\n$/,'');}var _0x3c01f8=class extends _0x383872[_0x253da3(0x1d6)]{[_0x253da3(0x1dd)](){var _0x2d1fed=_0x253da3;return this['_getBlockRanges']()['filter'](_0x65d886=>_0x65d886['blockType']===_0x589fcf['DocumentBlockRangeType']['CODE'])['map'](_0x54ecdc=>this[_0x2d1fed(0x1cf)](_0x54ecdc[_0x2d1fed(0x1ae)]));}['getCode'](_0x4a7659){var _0x53b7dc=_0x253da3;return this[_0x53b7dc(0x18d)]()[_0x53b7dc(0x19f)](_0x5d762d=>_0x5d762d[_0x53b7dc(0x1ae)]===_0x4a7659&&_0x5d762d[_0x53b7dc(0x1de)]===_0x589fcf[_0x53b7dc(0x19d)][_0x53b7dc(0x18f)])?this['_createFDocumentCode'](_0x4a7659):null;}[_0x253da3(0x1d1)](_0x32c899){var _0x7cbf94=_0x253da3;let _0xc01caa=this[_0x7cbf94(0x18d)]()[_0x7cbf94(0x1a2)](_0x493422=>_0x493422[_0x7cbf94(0x1de)]===_0x589fcf[_0x7cbf94(0x19d)][_0x7cbf94(0x18f)]&&_0x493422['startIndex']<=_0x32c899&&_0x32c899<=_0x493422[_0x7cbf94(0x194)]);return _0xc01caa?this[_0x7cbf94(0x1cf)](_0xc01caa['blockId']):null;}[_0x253da3(0x19b)](_0x448ef0){var _0x2fa49b=_0x253da3;return this[_0x2fa49b(0x1d7)](_0x448ef0)[0x0]??null;}[_0x253da3(0x1d7)](_0x193d9f){var _0x492d06=_0x253da3;let _0xf738fd=typeof _0x193d9f==_0x492d06(0x1a8)?{'text':_0x193d9f}:_0x193d9f;return this[_0x492d06(0x1dd)]()['filter'](_0x484376=>!(_0xf738fd[_0x492d06(0x1ae)]&&_0x484376[_0x492d06(0x1a7)]()!==_0xf738fd[_0x492d06(0x1ae)]||_0xf738fd[_0x492d06(0x1b3)]&&!_0x484376['getText']()[_0x492d06(0x1c9)](_0xf738fd[_0x492d06(0x1b3)])));}['insertCode'](_0x58c066={},_0x238dfa={}){var _0xb17b8e=_0x253da3;let _0x3bb496=this[_0xb17b8e(0x1a9)][_0xb17b8e(0x1a4)](_0x589fcf[_0xb17b8e(0x1ad)]),_0x436936=(0x0,_0x383872['isParagraphFacade'])(_0x58c066)?{..._0x238dfa,..._0x58c066['getRange']()}:_0x58c066,_0x40c1dd=_0x436936['blockId']??(0x0,_0x589fcf['generateRandomId'])(0x6);return _0x3bb496['syncExecuteCommand'](_0x3beb48[_0xb17b8e(0x1c6)]['id'],{..._0x436936,'blockId':_0x40c1dd,'unitId':this[_0xb17b8e(0x1a7)]()})?this['getCode'](_0x40c1dd):null;}[_0x253da3(0x18d)](){var _0x1f61df=_0x253da3,_0x260f38;return((_0x260f38=this['save']()[_0x1f61df(0x1cb)])==null?void 0x0:_0x260f38[_0x1f61df(0x1bf)])??[];}['_createFDocumentCode'](_0x4613e3){var _0x3706cf=_0x253da3;return this[_0x3706cf(0x1a9)][_0x3706cf(0x1b6)](_0x3ace71,this,_0x4613e3);}};_0x383872[_0x253da3(0x1d6)]['extend'](_0x3c01f8),Object[_0x253da3(0x1c1)](_0x2e0af3,_0x253da3(0x18e),{'enumerable':!0x0,'get':function(){return _0x3ace71;}});}));
1
+ (function(_0x4df8e6,_0x2f2458){var _0x1493e4=_0x1090,_0x8f5817=_0x4df8e6();while(!![]){try{var _0x111055=-parseInt(_0x1493e4(0x1f4))/0x1*(-parseInt(_0x1493e4(0x1d4))/0x2)+parseInt(_0x1493e4(0x1be))/0x3*(-parseInt(_0x1493e4(0x1e3))/0x4)+-parseInt(_0x1493e4(0x1de))/0x5+parseInt(_0x1493e4(0x1b1))/0x6*(parseInt(_0x1493e4(0x1c5))/0x7)+parseInt(_0x1493e4(0x1d9))/0x8+-parseInt(_0x1493e4(0x1b4))/0x9*(-parseInt(_0x1493e4(0x1a6))/0xa)+-parseInt(_0x1493e4(0x1ee))/0xb;if(_0x111055===_0x2f2458)break;else _0x8f5817['push'](_0x8f5817['shift']());}catch(_0x245c67){_0x8f5817['push'](_0x8f5817['shift']());}}}(_0x25a3,0x3c3e3),function(_0x2cc037,_0x31b766){var _0x50c0f4=_0x1090;typeof exports==_0x50c0f4(0x1e5)&&typeof module<'u'?_0x31b766(exports,require('@univerjs-pro/docs-code'),require('@univerjs/core'),require('@univerjs/docs/facade')):typeof define==_0x50c0f4(0x19b)&&define['amd']?define([_0x50c0f4(0x1c2),_0x50c0f4(0x1ac),_0x50c0f4(0x1c9),'@univerjs/docs/facade'],_0x31b766):(_0x2cc037=typeof globalThis<'u'?globalThis:_0x2cc037||self,_0x31b766(_0x2cc037[_0x50c0f4(0x1f1)]={},_0x2cc037[_0x50c0f4(0x1ae)],_0x2cc037[_0x50c0f4(0x1bf)],_0x2cc037[_0x50c0f4(0x1a2)]));}(this,function(_0x13507d,_0xd7a9e5,_0x16dd20,_0x372c76){var _0x3631da=_0x1090;Object[_0x3631da(0x1ec)](_0x13507d,Symbol[_0x3631da(0x1ba)],{'value':_0x3631da(0x1da)});function _0x2cd9ad(_0x11bfcd){'@babel/helpers - typeof';var _0x4b8968=_0x3631da;return _0x2cd9ad=typeof Symbol==_0x4b8968(0x19b)&&typeof Symbol[_0x4b8968(0x1ed)]=='symbol'?function(_0x9d1704){return typeof _0x9d1704;}:function(_0x2b1bb1){var _0x29aa4d=_0x4b8968;return _0x2b1bb1&&typeof Symbol=='function'&&_0x2b1bb1[_0x29aa4d(0x1c0)]===Symbol&&_0x2b1bb1!==Symbol[_0x29aa4d(0x1cb)]?_0x29aa4d(0x1d2):typeof _0x2b1bb1;},_0x2cd9ad(_0x11bfcd);}function _0x23c893(_0x42dc88,_0x17c7dd){var _0x2374e1=_0x3631da;if(_0x2cd9ad(_0x42dc88)!=_0x2374e1(0x1e5)||!_0x42dc88)return _0x42dc88;var _0x635acb;if(typeof Symbol<'u'&&(_0x635acb=_0x42dc88[Symbol[_0x2374e1(0x1dc)]])!==void 0x0){var _0x33b99d=_0x635acb[_0x2374e1(0x1e1)](_0x42dc88,_0x17c7dd||_0x2374e1(0x1eb));if(_0x2cd9ad(_0x33b99d)!=_0x2374e1(0x1e5))return _0x33b99d;throw TypeError(_0x2374e1(0x1ef));}return(_0x17c7dd==='string'?String:Number)(_0x42dc88);}function _0x592a4c(_0x28b337){var _0x5bc260=_0x3631da,_0x3b8648=_0x23c893(_0x28b337,_0x5bc260(0x1c4));return _0x2cd9ad(_0x3b8648)==_0x5bc260(0x1d2)?_0x3b8648:_0x3b8648+'';}function _0x396bca(_0x3e3f9e,_0x11b6f0,_0x105f62){var _0x292c32=_0x3631da;return(_0x11b6f0=_0x592a4c(_0x11b6f0))in _0x3e3f9e?Object[_0x292c32(0x1ec)](_0x3e3f9e,_0x11b6f0,{'value':_0x105f62,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e3f9e[_0x11b6f0]=_0x105f62,_0x3e3f9e;}function _0x31e46a(_0x457bd5,_0x12ec1c){return function(_0x1d99f2,_0x5741b3){_0x12ec1c(_0x1d99f2,_0x5741b3,_0x457bd5);};}function _0x4fd462(_0xfcfc9b,_0x101424,_0x180516,_0x5f4d9d){var _0x1b7a60=_0x3631da,_0x165f64=arguments[_0x1b7a60(0x19f)],_0x5bda62=_0x165f64<0x3?_0x101424:_0x5f4d9d===null?_0x5f4d9d=Object[_0x1b7a60(0x1c6)](_0x101424,_0x180516):_0x5f4d9d,_0x1f2a7f;if(typeof Reflect=='object'&&typeof Reflect[_0x1b7a60(0x1ea)]=='function')_0x5bda62=Reflect['decorate'](_0xfcfc9b,_0x101424,_0x180516,_0x5f4d9d);else{for(var _0x4e8be5=_0xfcfc9b[_0x1b7a60(0x19f)]-0x1;_0x4e8be5>=0x0;_0x4e8be5--)(_0x1f2a7f=_0xfcfc9b[_0x4e8be5])&&(_0x5bda62=(_0x165f64<0x3?_0x1f2a7f(_0x5bda62):_0x165f64>0x3?_0x1f2a7f(_0x101424,_0x180516,_0x5bda62):_0x1f2a7f(_0x101424,_0x180516))||_0x5bda62);}return _0x165f64>0x3&&_0x5bda62&&Object[_0x1b7a60(0x1ec)](_0x101424,_0x180516,_0x5bda62),_0x5bda62;}let _0x269267=class{constructor(_0x377e63,_0x52ff8c,_0x3c90fc){var _0x8349a=_0x3631da;this['_document']=_0x377e63,this[_0x8349a(0x1a3)]=_0x52ff8c,this[_0x8349a(0x1d6)]=_0x3c90fc,_0x396bca(this,'_unitId',void 0x0),this[_0x8349a(0x1d3)]=this[_0x8349a(0x1ca)]['getId']();}[_0x3631da(0x1e4)](){return this['_blockId'];}['getRange'](){var _0x3f5ade=_0x3631da;let _0x295e4f=this[_0x3f5ade(0x1d7)]();return _0x295e4f?{'blockId':_0x295e4f[_0x3f5ade(0x1f3)],'endIndex':_0x295e4f[_0x3f5ade(0x1cf)],'startIndex':_0x295e4f['startIndex']}:null;}[_0x3631da(0x1e6)](){var _0x475c15=_0x3631da,_0x2fd173;let _0x12eb58=this[_0x475c15(0x1d7)](),_0x2b21ca=(_0x2fd173=this['_getDocumentData']()[_0x475c15(0x1cd)])==null?void 0x0:_0x2fd173[_0x475c15(0x1b5)];return!_0x12eb58||!_0x2b21ca?'':_0xbacb2a(_0x2b21ca[_0x475c15(0x1d5)](_0x12eb58['startIndex']+0x1,_0x12eb58[_0x475c15(0x1cf)]));}[_0x3631da(0x1e8)](){var _0x13323f=_0x3631da;let _0x3aed72=this['getRange']();return _0x3aed72?{..._0x3aed72,'config':this[_0x13323f(0x1e9)](),'text':this[_0x13323f(0x1e6)](),'type':_0x16dd20[_0x13323f(0x1a9)][_0x13323f(0x1dd)]}:null;}[_0x3631da(0x1e9)](){var _0xee6fad=_0x3631da;let _0x226f2e=this[_0xee6fad(0x1d6)][_0xee6fad(0x1a4)](_0xd7a9e5[_0xee6fad(0x1ce)]);return(0x0,_0xd7a9e5[_0xee6fad(0x1b0)])(_0x226f2e[_0xee6fad(0x19d)](this['_unitId'],this['_blockId']));}[_0x3631da(0x1f0)](_0x118c85){var _0x16e789=_0x3631da;return this[_0x16e789(0x1d6)][_0x16e789(0x1a4)](_0x16dd20['ICommandService'])['syncExecuteCommand'](_0xd7a9e5['DocsCodeUpdateCommand']['id'],{'blockId':this['_blockId'],'config':_0x118c85[_0x16e789(0x1d0)],'unitId':this[_0x16e789(0x1d3)]});}[_0x3631da(0x1b3)](){var _0x317a2c=_0x3631da;return this[_0x317a2c(0x1d6)][_0x317a2c(0x1a4)](_0x16dd20[_0x317a2c(0x1c7)])[_0x317a2c(0x1a8)](_0xd7a9e5[_0x317a2c(0x1db)]['id'],{'blockId':this[_0x317a2c(0x1a3)],'unitId':this['_unitId']});}[_0x3631da(0x1c3)](){var _0x2992ad=_0x3631da;return this['_injector']['get'](_0x16dd20[_0x2992ad(0x1c7)])[_0x2992ad(0x1a8)](_0xd7a9e5['DocsCodeRemoveCommand']['id'],{'blockId':this[_0x2992ad(0x1a3)],'unitId':this[_0x2992ad(0x1d3)]});}[_0x3631da(0x1d7)](){var _0x471bed=_0x3631da,_0x18091a;return((_0x18091a=this[_0x471bed(0x1af)]()[_0x471bed(0x1cd)])==null||(_0x18091a=_0x18091a[_0x471bed(0x1a7)])==null?void 0x0:_0x18091a[_0x471bed(0x1d1)](_0x55d833=>_0x55d833[_0x471bed(0x1f3)]===this[_0x471bed(0x1a3)]&&_0x55d833[_0x471bed(0x1c8)]===_0x16dd20[_0x471bed(0x1a9)][_0x471bed(0x1dd)]))??null;}['_getDocumentData'](){var _0x4cdae2=_0x3631da;return this[_0x4cdae2(0x1ca)][_0x4cdae2(0x1df)]();}};_0x269267=_0x4fd462([_0x31e46a(0x2,(0x0,_0x16dd20[_0x3631da(0x1e0)])(_0x16dd20[_0x3631da(0x1bd)]))],_0x269267);function _0xbacb2a(_0x3b7ec7){var _0x43d574=_0x3631da;return Array['from'](_0x3b7ec7)[_0x43d574(0x1aa)](_0x436874=>_0x436874===_0x16dd20[_0x43d574(0x1f2)][_0x43d574(0x1a1)]?'\x0a':_0x436874)['filter'](_0x543fc9=>_0x543fc9!==_0x16dd20[_0x43d574(0x1f2)]['BLOCK_START']&&_0x543fc9!==_0x16dd20['DataStreamTreeTokenType'][_0x43d574(0x1b2)]&&_0x543fc9!==_0x16dd20[_0x43d574(0x1f2)][_0x43d574(0x1a0)])[_0x43d574(0x19a)]('')['replace'](/\n$/,'');}var _0x33fba3=class extends _0x372c76[_0x3631da(0x1bc)]{[_0x3631da(0x1f5)](){var _0x31ec06=_0x3631da;return this[_0x31ec06(0x19e)]()[_0x31ec06(0x1b9)](_0x37d9f1=>_0x37d9f1[_0x31ec06(0x1c8)]===_0x16dd20[_0x31ec06(0x1a9)][_0x31ec06(0x1dd)])[_0x31ec06(0x1aa)](_0x21a28f=>this[_0x31ec06(0x1d8)](_0x21a28f[_0x31ec06(0x1f3)]));}[_0x3631da(0x1ad)](_0x2e0656){var _0x21f7c7=_0x3631da;return this[_0x21f7c7(0x19e)]()['some'](_0x56311b=>_0x56311b[_0x21f7c7(0x1f3)]===_0x2e0656&&_0x56311b[_0x21f7c7(0x1c8)]===_0x16dd20['DocumentBlockRangeType'][_0x21f7c7(0x1dd)])?this[_0x21f7c7(0x1d8)](_0x2e0656):null;}['getCodeAt'](_0x3998e9){var _0x12c32e=_0x3631da;let _0x404fce=this[_0x12c32e(0x19e)]()[_0x12c32e(0x1d1)](_0x3ec4a5=>_0x3ec4a5[_0x12c32e(0x1c8)]===_0x16dd20[_0x12c32e(0x1a9)][_0x12c32e(0x1dd)]&&_0x3ec4a5['startIndex']<=_0x3998e9&&_0x3998e9<=_0x3ec4a5['endIndex']);return _0x404fce?this['_createFDocumentCode'](_0x404fce[_0x12c32e(0x1f3)]):null;}[_0x3631da(0x1b7)](_0x93722c){var _0xc11ec7=_0x3631da;return this[_0xc11ec7(0x1cc)](_0x93722c)[0x0]??null;}[_0x3631da(0x1cc)](_0x4cba3e){var _0x3c7a05=_0x3631da;let _0x946308=typeof _0x4cba3e=='string'?{'text':_0x4cba3e}:_0x4cba3e;return this['getCodes']()[_0x3c7a05(0x1b9)](_0x4503ab=>!(_0x946308['blockId']&&_0x4503ab[_0x3c7a05(0x1e4)]()!==_0x946308['blockId']||_0x946308[_0x3c7a05(0x1e7)]&&!_0x4503ab['getText']()['includes'](_0x946308[_0x3c7a05(0x1e7)])));}[_0x3631da(0x1bb)](_0x111382={},_0x15b78c={}){var _0x2d1e2b=_0x3631da;let _0x5b608c=this[_0x2d1e2b(0x1d6)][_0x2d1e2b(0x1a4)](_0x16dd20['ICommandService']),_0x28b6e9=(0x0,_0x372c76[_0x2d1e2b(0x19c)])(_0x111382)?{..._0x15b78c,..._0x111382[_0x2d1e2b(0x1b8)]()}:_0x111382,_0x43d041=_0x28b6e9['blockId']??(0x0,_0x16dd20[_0x2d1e2b(0x1b6)])(0x6);return _0x5b608c['syncExecuteCommand'](_0xd7a9e5[_0x2d1e2b(0x1ab)]['id'],{..._0x28b6e9,'blockId':_0x43d041,'unitId':this['getId']()})?this[_0x2d1e2b(0x1ad)](_0x43d041):null;}[_0x3631da(0x19e)](){var _0x7ee581=_0x3631da,_0x7f817a;return((_0x7f817a=this[_0x7ee581(0x1df)]()['body'])==null?void 0x0:_0x7f817a[_0x7ee581(0x1a7)])??[];}[_0x3631da(0x1d8)](_0x493dde){var _0x397767=_0x3631da;return this[_0x397767(0x1d6)][_0x397767(0x1a5)](_0x269267,this,_0x493dde);}};_0x372c76[_0x3631da(0x1bc)][_0x3631da(0x1c1)](_0x33fba3),Object[_0x3631da(0x1ec)](_0x13507d,_0x3631da(0x1e2),{'enumerable':!0x0,'get':function(){return _0x269267;}});}));function _0x1090(_0x4174d5,_0x289a24){_0x4174d5=_0x4174d5-0x19a;var _0x25a346=_0x25a3();var _0x1090ad=_0x25a346[_0x4174d5];return _0x1090ad;}function _0x25a3(){var _0x98a5b4=['189538yhVftC','slice','_injector','_getBlockRange','_createFDocumentCode','1044544ZVMFUm','Module','DocsCodeUnwrapCommand','toPrimitive','CODE','2419060JBNpwY','save','Inject','call','FDocumentCode','12qAmTwJ','getId','object','getText','text','describe','getConfig','decorate','default','defineProperty','iterator','3760262NwdPNl','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','updateConfig','UniverProDocsCodeFacade','DataStreamTreeTokenType','blockId','5Xddxos','getCodes','join','function','isParagraphFacade','getCodeConfig','_getBlockRanges','length','SECTION_BREAK','PARAGRAPH','UniverDocsFacade','_blockId','get','createInstance','63810VcApcd','blockRanges','syncExecuteCommand','DocumentBlockRangeType','map','DocsCodeInsertCommand','@univerjs-pro/docs-code','getCode','UniverProDocsCode','_getDocumentData','normalizeDocsCodeConfig','1196040HmCntB','BLOCK_END','unwrap','693GXMHra','dataStream','generateRandomId','findCodeByText','getRange','filter','toStringTag','insertCode','FDocument','Injector','222681FrNNiQ','UniverCore','constructor','extend','exports','remove','string','7IBXztQ','getOwnPropertyDescriptor','ICommandService','blockType','@univerjs/core','_document','prototype','findCodes','body','DocsCodeModel','endIndex','config','find','symbol','_unitId'];_0x25a3=function(){return _0x98a5b4;};return _0x25a3();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1e29(_0x5aa66e,_0x3422d9){_0x5aa66e=_0x5aa66e-0x84;const _0xf6f76f=_0xf6f7();let _0x1e29bb=_0xf6f76f[_0x5aa66e];return _0x1e29bb;}(function(_0x235e2a,_0x1eaa45){const _0x32ac00=_0x1e29,_0x3c39a9=_0x235e2a();while(!![]){try{const _0x5c5e3f=parseInt(_0x32ac00(0xb2))/0x1*(-parseInt(_0x32ac00(0x153))/0x2)+parseInt(_0x32ac00(0x110))/0x3*(-parseInt(_0x32ac00(0xb4))/0x4)+parseInt(_0x32ac00(0xa5))/0x5+-parseInt(_0x32ac00(0x149))/0x6*(parseInt(_0x32ac00(0xd7))/0x7)+parseInt(_0x32ac00(0xe6))/0x8+-parseInt(_0x32ac00(0xd6))/0x9*(-parseInt(_0x32ac00(0xbc))/0xa)+parseInt(_0x32ac00(0x12a))/0xb;if(_0x5c5e3f===_0x1eaa45)break;else _0x3c39a9['push'](_0x3c39a9['shift']());}catch(_0x1e0181){_0x3c39a9['push'](_0x3c39a9['shift']());}}}(_0xf6f7,0x90560),function(_0x4a43f6,_0x3d1755){const _0x577aef=_0x1e29;typeof exports=='object'&&typeof module<'u'?_0x3d1755(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define==_0x577aef(0xdb)&&define[_0x577aef(0x12b)]?define([_0x577aef(0xf2),'@univerjs/core',_0x577aef(0x11e),_0x577aef(0x121),_0x577aef(0xe0)],_0x3d1755):(_0x4a43f6=typeof globalThis<'u'?globalThis:_0x4a43f6||self,_0x3d1755(_0x4a43f6[_0x577aef(0x14e)]={},_0x4a43f6[_0x577aef(0xb1)],_0x4a43f6['rxjs'],_0x4a43f6[_0x577aef(0x159)],_0x4a43f6[_0x577aef(0x145)]));}(this,function(_0x5e1d62,_0x577be9,_0x22f865,_0x31b33e,_0x352e5e){const _0x38b268=_0x1e29;Object[_0x38b268(0xec)](_0x5e1d62,Symbol[_0x38b268(0x11c)],{'value':'Module'});let _0xa220d9={'language':_0x38b268(0x15e),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x5da2fa(_0x228bbb){return{..._0xa220d9,..._0x228bbb};}function _0x590e98(_0x13fc82){const _0x4174d6=_0x38b268;let _0x375188=(_0x13fc82==null?void 0x0:_0x13fc82[_0x4174d6(0x88)])??{};return{'codes':Object[_0x4174d6(0x116)](Object['entries'](_0x375188)['map'](([_0xf20c4d,_0x3c535b])=>[_0xf20c4d,_0x5da2fa(_0x3c535b)]))};}function _0x22a6ea(_0x39eee6,_0x3e3b89,_0x2f42cc){const _0x1e423b=_0x38b268;let _0x53f7d7=_0x590e98(_0x39eee6);return _0x53f7d7[_0x1e423b(0x88)][_0x3e3b89]=_0x5da2fa({..._0x53f7d7[_0x1e423b(0x88)][_0x3e3b89],..._0x2f42cc}),_0x53f7d7;}function _0x3d2d8e(_0x4d907e,_0x4e6e0e){const _0x3dfeed=_0x38b268;let _0x35f694=_0x590e98(_0x4d907e);return delete _0x35f694[_0x3dfeed(0x88)][_0x4e6e0e],_0x35f694;}function _0x11a924(_0xdc5ff){'@babel/helpers - typeof';return _0x11a924=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x1027a1){return typeof _0x1027a1;}:function(_0x4d3cc5){const _0x4e9db6=_0x1e29;return _0x4d3cc5&&typeof Symbol==_0x4e9db6(0xdb)&&_0x4d3cc5[_0x4e9db6(0x147)]===Symbol&&_0x4d3cc5!==Symbol[_0x4e9db6(0xac)]?_0x4e9db6(0xb6):typeof _0x4d3cc5;},_0x11a924(_0xdc5ff);}function _0x567b57(_0x9c0772,_0x2a8927){const _0x438066=_0x38b268;if(_0x11a924(_0x9c0772)!='object'||!_0x9c0772)return _0x9c0772;var _0x4fb421;if(typeof Symbol<'u'&&(_0x4fb421=_0x9c0772[Symbol['toPrimitive']])!==void 0x0){var _0x42434e=_0x4fb421['call'](_0x9c0772,_0x2a8927||_0x438066(0x15f));if(_0x11a924(_0x42434e)!=_0x438066(0x117))return _0x42434e;throw TypeError(_0x438066(0x137));}return(_0x2a8927==='string'?String:Number)(_0x9c0772);}function _0x1a8a22(_0x4ef239){const _0x513222=_0x38b268;var _0x5720bd=_0x567b57(_0x4ef239,_0x513222(0x148));return _0x11a924(_0x5720bd)==_0x513222(0xb6)?_0x5720bd:_0x5720bd+'';}function _0x188821(_0x27fc05,_0x1d3a16,_0x2709e6){return(_0x1d3a16=_0x1a8a22(_0x1d3a16))in _0x27fc05?Object['defineProperty'](_0x27fc05,_0x1d3a16,{'value':_0x2709e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27fc05[_0x1d3a16]=_0x2709e6,_0x27fc05;}var _0x14cdd9=class extends _0x577be9[_0x38b268(0x10b)]{constructor(..._0xf6d847){const _0x130b98=_0x38b268;super(..._0xf6d847),_0x188821(this,'_resources',new Map()),_0x188821(this,_0x130b98(0xcf),new _0x22f865[(_0x130b98(0x8a))]()),_0x188821(this,_0x130b98(0xa4),this[_0x130b98(0xcf)][_0x130b98(0xc0)]());}[_0x38b268(0x143)](_0x1978a1,_0x11ed7a){const _0x11f0ff=_0x38b268;return _0x590e98(this[_0x11f0ff(0x144)][_0x11f0ff(0xd8)](_0x1978a1))[_0x11f0ff(0x88)][_0x11ed7a];}[_0x38b268(0xc5)](_0x3a5372,_0xaf9ff3,_0x3bd996){const _0x5a2c37=_0x38b268;this[_0x5a2c37(0xf3)](_0x3a5372,_0xaf9ff3,_0x22a6ea(this[_0x5a2c37(0x144)]['get'](_0x3a5372),_0xaf9ff3,_0x3bd996));}[_0x38b268(0x141)](_0x6208ee,_0x370ad7){const _0x1402f9=_0x38b268;this[_0x1402f9(0xf3)](_0x6208ee,_0x370ad7,_0x3d2d8e(this[_0x1402f9(0x144)]['get'](_0x6208ee),_0x370ad7));}[_0x38b268(0xc3)](_0x1eef8e){const _0x17680c=_0x38b268;return _0x590e98(this[_0x17680c(0x144)][_0x17680c(0xd8)](_0x1eef8e));}[_0x38b268(0xbb)](_0xd4bc7,_0x26f5d2){const _0x321d79=_0x38b268;this[_0x321d79(0x144)]['set'](_0xd4bc7,_0x590e98(_0x26f5d2)),this[_0x321d79(0xcf)][_0x321d79(0xad)]({'unitId':_0xd4bc7});}[_0x38b268(0xc4)](_0x46244c){const _0x262860=_0x38b268;this['_resources'][_0x262860(0x96)](_0x46244c),this['_change$'][_0x262860(0xad)]({'unitId':_0x46244c});}[_0x38b268(0x164)](){const _0x10c9c6=_0x38b268;super['dispose'](),this['_resources'][_0x10c9c6(0xe2)](),this[_0x10c9c6(0xcf)][_0x10c9c6(0xce)]();}[_0x38b268(0xf3)](_0x10c75a,_0x23a53c,_0x4326c6){const _0x4dcf69=_0x38b268;this[_0x4dcf69(0x144)][_0x4dcf69(0x154)](_0x10c75a,_0x4326c6),this[_0x4dcf69(0xcf)][_0x4dcf69(0xad)]({'unitId':_0x10c75a,'blockId':_0x23a53c});}};let _0x2063a6={'id':'docs-code.mutation.set-config','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x5b22fb,_0x200d8a)=>!(_0x200d8a!=null&&_0x200d8a['unitId'])||!_0x200d8a[_0x38b268(0xe3)]?!0x1:(_0x5b22fb['get'](_0x14cdd9)[_0x38b268(0xc5)](_0x200d8a[_0x38b268(0xfc)],_0x200d8a[_0x38b268(0xe3)],_0x200d8a[_0x38b268(0x140)]),!0x0)},_0x3df94c={'id':_0x38b268(0x126),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x128)],'handler':(_0x56e119,_0x4f85fb)=>!(_0x4f85fb!=null&&_0x4f85fb['unitId'])||!_0x4f85fb[_0x38b268(0xe3)]?!0x1:(_0x56e119[_0x38b268(0xd8)](_0x14cdd9)[_0x38b268(0x141)](_0x4f85fb[_0x38b268(0xfc)],_0x4f85fb[_0x38b268(0xe3)]),!0x0)},_0x4d2949=_0x38b268(0x151);var _0x1de79e=class extends Error{constructor(_0x30d326=_0x38b268(0x157)){super(_0x30d326);}};function _0x3ca3f5(_0x1e3d89){const _0x48c866=_0x38b268;var _0x3a1ce1;let _0x2434b2=_0x1a5cb3(_0x1e3d89[_0x48c866(0x9d)]),_0x268aa5=_0x45225e(_0x2434b2),_0x2f35f1=_0x3c366d(_0x1e3d89['startOffset'],_0x1e3d89[_0x48c866(0xf4)]),_0x48d955=_0x2f35f1?(_0x3a1ce1=_0x268aa5[_0x48c866(0xb9)])==null?void 0x0:_0x3a1ce1[_0x48c866(0xdc)](_0x4721bd=>{const _0xe385ef=_0x48c866;let _0x33b736=(0x0,_0x577be9[_0xe385ef(0xef)])(_0x4721bd);return _0x33b736[_0xe385ef(0x156)]===_0x2f35f1[_0xe385ef(0x156)]&&_0x33b736[_0xe385ef(0xf4)]===_0x2f35f1[_0xe385ef(0xf4)];}):void 0x0,{startOffset:_0x203d75,endOffset:_0x2279c7}=_0x48d955?_0x2f35f1:_0x21cb83(_0x268aa5,_0x1e3d89[_0x48c866(0x156)],_0x1e3d89['endOffset'],_0x1e3d89[_0x48c866(0x9f)]);if(!_0x48d955&&_0x1d9f05(_0x268aa5,_0x203d75,_0x2279c7))throw new _0x1de79e(_0x48c866(0xb3));let _0x38a2e8=_0x525f52(_0x268aa5,_0x203d75,_0x2279c7),_0x31dad2=(_0x48d955==null?void 0x0:_0x48d955[_0x48c866(0xe3)])??_0x1e3d89[_0x48c866(0xe3)],_0x50112a=_0x22a6ea(_0x1e3d89[_0x48c866(0x86)],_0x31dad2,{..._0xa220d9,..._0x1e3d89[_0x48c866(0x140)]});if(_0x48d955)return _0x48d955[_0x48c866(0xe4)]=_0x577be9[_0x48c866(0x130)][_0x48c866(0xf1)],_0x567a5f(_0x268aa5,_0x203d75,_0x2279c7),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7,_0x38a2e8),_0x32bb95(_0x268aa5,_0x48d955),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};if(_0x203d75===_0x2279c7){var _0x5984bc,_0x5843ec;let _0xa29535=''+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0x109)]+_0x577be9[_0x48c866(0xc2)]['PARAGRAPH']+_0x577be9['DataStreamTreeTokenType'][_0x48c866(0xed)];_0x226a1f(_0x268aa5,_0x203d75,_0xa29535,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x577be9['createParagraphId'])(new Set((_0x5984bc=_0x268aa5[_0x48c866(0xae)])==null?void 0x0:_0x5984bc[_0x48c866(0x14a)](_0x45bb92=>_0x45bb92[_0x48c866(0xbe)]))),'paragraphStyle':_0x5b7847(!0x0,!0x0,_0x38a2e8)}],'blockRanges':[{'blockId':_0x31dad2,'blockType':_0x577be9[_0x48c866(0x130)]['CODE'],'startIndex':0x0,'endIndex':_0xa29535[_0x48c866(0xc6)]-0x1}]});let _0x50c2fe=(_0x5843ec=_0x268aa5['blockRanges'])==null?void 0x0:_0x5843ec['find'](_0x4fac8a=>_0x4fac8a[_0x48c866(0xe3)]===_0x31dad2);return _0x50c2fe&&_0x32bb95(_0x268aa5,_0x50c2fe),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}_0x226a1f(_0x268aa5,_0x2279c7,_0x577be9[_0x48c866(0xc2)]['BLOCK_END']),_0x226a1f(_0x268aa5,_0x203d75,_0x577be9[_0x48c866(0xc2)]['BLOCK_START']),_0x14e67f(_0x268aa5,_0x203d75,_0x2279c7+0x1,_0x38a2e8);let _0x35eeb4={'blockId':_0x31dad2,'blockType':_0x577be9['DocumentBlockRangeType']['CODE'],'startIndex':_0x203d75,'endIndex':_0x2279c7+0x1};return _0x268aa5[_0x48c866(0xb9)]=[..._0x268aa5[_0x48c866(0xb9)]??[],_0x35eeb4][_0x48c866(0x14b)]((_0x24f9a8,_0x3cbfd1)=>_0x24f9a8[_0x48c866(0xd0)]-_0x3cbfd1[_0x48c866(0xd0)]),_0x32bb95(_0x268aa5,_0x35eeb4),{'nextDocumentData':_0x2434b2,'nextMetadata':_0x50112a,'cursorOffset':_0x203d75+0x1};}function _0x567a5f(_0x2e2587,_0x1028a2,_0x3239d1){const _0x3ca424=_0x38b268;(_0x2e2587[_0x3ca424(0xae)]??[])[_0x3ca424(0xff)](_0x321e34=>_0x321e34['startIndex']>_0x1028a2&&_0x321e34[_0x3ca424(0xd0)]<_0x3239d1)[_0x3ca424(0x160)](_0x3e6b27=>{const _0x24319f=_0x3ca424;let _0xbf4d9f={..._0x3e6b27[_0x24319f(0x13b)]??{}};delete _0xbf4d9f[_0x24319f(0x8e)],delete _0xbf4d9f[_0x24319f(0x115)],_0x3e6b27[_0x24319f(0x13b)]=_0xbf4d9f;});}function _0x3c366d(_0x35e7bb,_0x556d1e){const _0x364bb2=_0x38b268;return _0x35e7bb==null||_0x556d1e==null||_0x35e7bb===_0x556d1e?null:{'startOffset':Math[_0x364bb2(0xcd)](_0x35e7bb,_0x556d1e),'endOffset':Math[_0x364bb2(0x10f)](_0x35e7bb,_0x556d1e)};}function _0x1d9f05(_0x18af1e,_0x4b0731,_0xb3575){const _0x53afcd=_0x38b268;return(_0x18af1e[_0x53afcd(0xb9)]??[])[_0x53afcd(0x8f)](_0x2b98f2=>{const _0x31989b=_0x53afcd;let _0x5a1725=(0x0,_0x577be9['getBlockRangeInterval'])(_0x2b98f2);return _0x4b0731===_0xb3575?(0x0,_0x577be9[_0x31989b(0xfd)])(_0x5a1725,_0x4b0731):(0x0,_0x577be9[_0x31989b(0xa7)])(_0x5a1725,{'startOffset':_0x4b0731,'endOffset':_0xb3575});});}function _0x5b4eae(_0x2420d2){const _0x4ac1cb=_0x38b268;return{'nextDocumentData':_0x1a5cb3(_0x2420d2['documentData']),'nextMetadata':_0x22a6ea(_0x2420d2[_0x4ac1cb(0x86)],_0x2420d2['blockId'],_0x2420d2[_0x4ac1cb(0x140)]),'cursorOffset':0x0};}function _0x10f0e4(_0x298418){const _0x339231=_0x38b268;let _0x65263d=_0x1a5cb3(_0x298418[_0x339231(0x9d)]),_0x5edc25=_0x45225e(_0x65263d),_0x58ca18=_0x7eee8a(_0x5edc25,_0x298418[_0x339231(0xe3)]);if(!_0x58ca18)return null;let _0x5917bf=_0x547491(_0x5edc25,_0x58ca18);return{'nextDocumentData':_0x65263d,'nextMetadata':_0x3d2d8e(_0x298418[_0x339231(0x86)],_0x298418[_0x339231(0xe3)]),'cursorOffset':_0x5917bf};}function _0x1ef531(_0x34656e){const _0x551d50=_0x38b268;var _0x2efd9d;let _0x2968a0=_0x1a5cb3(_0x34656e[_0x551d50(0x9d)]),_0x31f695=_0x45225e(_0x2968a0),_0x4dee00=_0x7eee8a(_0x31f695,_0x34656e[_0x551d50(0xe3)]);if(!_0x4dee00)return null;let _0x23c2da=(0x0,_0x577be9[_0x551d50(0xef)])(_0x4dee00);return _0x23c4b9(_0x31f695,_0x23c2da[_0x551d50(0x156)],_0x23c2da[_0x551d50(0xf4)]),_0x31f695[_0x551d50(0xb9)]=(_0x2efd9d=_0x31f695['blockRanges'])==null?void 0x0:_0x2efd9d[_0x551d50(0xff)](_0x344c7b=>_0x344c7b[_0x551d50(0xe3)]!==_0x34656e[_0x551d50(0xe3)]),{'nextDocumentData':_0x2968a0,'nextMetadata':_0x3d2d8e(_0x34656e[_0x551d50(0x86)],_0x34656e[_0x551d50(0xe3)]),'cursorOffset':_0x4dee00[_0x551d50(0xd0)]};}function _0x27c5ff(_0x1804ca){const _0x181edd=_0x38b268;let _0x1c4704=_0x1a5cb3(_0x1804ca['documentData']),_0x2c690f=_0x45225e(_0x1c4704),_0x5ad804=_0x658b95(_0x2c690f,_0x1804ca[_0x181edd(0xaa)]);return _0x5ad804&&_0x53b158(_0x1c4704,_0x2c690f,_0x5ad804,_0x1804ca[_0x181edd(0xaa)],_0x1804ca[_0x181edd(0x104)])||null;}function _0x53b158(_0x21c03a,_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6){const _0x4a2616=_0x38b268;let _0x1aa3f2=_0x217a3f(_0x4e08b2,_0x515be7,_0x36e21a,_0x4ecfe6);if(!_0x1aa3f2)return null;let _0xeaea0a=_0x1aa3f2['endTokenOffset']-0x1;return _0x23c4b9(_0x4e08b2,_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)],_0x1aa3f2[_0x4a2616(0xa1)][_0x4a2616(0xd0)]+0x1),{'nextDocumentData':_0x21c03a,'cursorOffset':_0xeaea0a};}function _0x7eee8a(_0x43c26f,_0x83869f){const _0x31bba8=_0x38b268;var _0x2684ea;return _0x43c26f==null||(_0x2684ea=_0x43c26f[_0x31bba8(0xb9)])==null?void 0x0:_0x2684ea[_0x31bba8(0xdc)](_0x573b20=>_0x573b20[_0x31bba8(0xe4)]===_0x577be9[_0x31bba8(0x130)]['CODE']&&_0x573b20[_0x31bba8(0xe3)]===_0x83869f);}function _0x553e08(_0x113e63){const _0x372d04=_0x38b268;let _0x62eca5=_0x113e63[_0x372d04(0x9d)][_0x372d04(0xc8)];if(!_0x62eca5)return!0x1;let _0x4091d7=_0x113e63['direction']===_0x372d04(0xa3)?_0x113e63[_0x372d04(0xaa)]-0x1:_0x113e63[_0x372d04(0xaa)],_0x474e25=_0x113e63[_0x372d04(0xda)]===_0x372d04(0x84)?_0x113e63[_0x372d04(0xaa)]+0x1:_0x4091d7;return(_0x62eca5[_0x372d04(0xb9)]??[])[_0x372d04(0x8f)](_0x2b4921=>_0x2b4921['blockType']===_0x577be9[_0x372d04(0x130)][_0x372d04(0xf1)]?_0x4091d7===_0x2b4921['startIndex']||_0x4091d7===_0x2b4921[_0x372d04(0xf7)]||_0x474e25===_0x2b4921['startIndex']||_0x474e25===_0x2b4921['endIndex']:!0x1);}function _0x658b95(_0x118404,_0x3c1e43){const _0x4f0dfe=_0x38b268;var _0x50dd29;return(_0x50dd29=_0x118404[_0x4f0dfe(0xb9)])==null?void 0x0:_0x50dd29[_0x4f0dfe(0xdc)](_0x5899a9=>{const _0x3ac19d=_0x4f0dfe;let _0xb200e3=_0x140133(_0x5899a9);return _0x5899a9[_0x3ac19d(0xe4)]===_0x577be9[_0x3ac19d(0x130)]['CODE']&&_0x5899a9[_0x3ac19d(0xd0)]<=_0x3c1e43&&_0x3c1e43<=_0xb200e3+0x2;});}function _0x5b7847(_0x3015dd,_0x471528,_0x1da51b=!0x1){const _0x31752b=_0x38b268;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x577be9[_0x31752b(0x90)]['TRUE'],'keepNext':_0x471528?_0x577be9['BooleanNumber'][_0x31752b(0x129)]:_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],'widowControl':_0x577be9[_0x31752b(0x90)][_0x31752b(0xf8)],..._0x3015dd&&_0x1da51b?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x4d2949,'fs':0xc}};}function _0x14e67f(_0x127602,_0x44b468,_0x2ef5fc,_0x57427a=!0x1){const _0x32ff53=_0x38b268;let _0xb058ab=(_0x127602[_0x32ff53(0xae)]??[])['filter'](_0x45c55b=>_0x45c55b[_0x32ff53(0xd0)]>_0x44b468&&_0x45c55b[_0x32ff53(0xd0)]<_0x2ef5fc);_0xb058ab[_0x32ff53(0x160)]((_0x465c20,_0x11d2ce)=>{const _0x585909=_0x32ff53;_0x465c20['paragraphStyle']={..._0x465c20[_0x585909(0x13b)]??{},..._0x5b7847(_0x11d2ce===0x0,_0x11d2ce===_0xb058ab[_0x585909(0xc6)]-0x1,_0x57427a)};});}function _0x4a2e68(_0x23c5cd){const _0x33c8e1=_0x38b268;var _0x2620e2,_0xed9a91;let _0x321c9a={..._0x23c5cd??{}};return delete _0x321c9a[_0x33c8e1(0x15c)],delete _0x321c9a['indentStart'],delete _0x321c9a[_0x33c8e1(0x8e)],delete _0x321c9a['spaceBelow'],delete _0x321c9a[_0x33c8e1(0x15d)],delete _0x321c9a[_0x33c8e1(0x139)],delete _0x321c9a[_0x33c8e1(0x13e)],((_0x2620e2=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0x2620e2['ff'])===_0x4d2949&&((_0xed9a91=_0x321c9a[_0x33c8e1(0xf0)])==null?void 0x0:_0xed9a91['fs'])===0xc&&delete _0x321c9a[_0x33c8e1(0xf0)],_0x321c9a;}function _0x24a3fa(_0x2a4d8d,_0x308da7){const _0xfec9e8=_0x38b268;let _0x495ba8=_0x140133(_0x308da7);return(_0x2a4d8d['paragraphs']??[])[_0xfec9e8(0xff)](_0x36934e=>_0x36934e[_0xfec9e8(0xd0)]>_0x308da7['startIndex']&&_0x36934e[_0xfec9e8(0xd0)]<_0x495ba8);}function _0x547491(_0x2e10fc,_0x27cd53){const _0x4c3462=_0x38b268;var _0x3bfa61;let _0x4fa893=_0x140133(_0x27cd53);return _0x24a3fa(_0x2e10fc,_0x27cd53)[_0x4c3462(0x160)](_0x28272f=>{const _0x44a71a=_0x4c3462;_0x28272f[_0x44a71a(0x13b)]=_0x4a2e68(_0x28272f[_0x44a71a(0x13b)]);}),_0x23c4b9(_0x2e10fc,_0x4fa893,_0x4fa893+0x1),_0x23c4b9(_0x2e10fc,_0x27cd53[_0x4c3462(0xd0)],_0x27cd53[_0x4c3462(0xd0)]+0x1),_0x2e10fc[_0x4c3462(0xb9)]=(_0x3bfa61=_0x2e10fc[_0x4c3462(0xb9)])==null?void 0x0:_0x3bfa61[_0x4c3462(0xff)](_0x503247=>_0x503247[_0x4c3462(0xe3)]!==_0x27cd53[_0x4c3462(0xe3)]),_0x27cd53[_0x4c3462(0xd0)];}function _0x1a5cb3(_0x5d895f){const _0x4e9400=_0x38b268;return{..._0x5d895f,'body':_0x5d895f[_0x4e9400(0xc8)]?_0x165c59(_0x5d895f[_0x4e9400(0xc8)]):_0x5d895f['body']};}function _0x165c59(_0x52513f){const _0x518bc0=_0x38b268;var _0x293c25,_0x25fe85,_0x4bc6ed,_0xcc9292,_0x4d10d8,_0x1b8a8b,_0x256f2b,_0x516778,_0x29f49d;return{..._0x52513f,'paragraphs':(_0x293c25=_0x52513f['paragraphs'])==null?void 0x0:_0x293c25[_0x518bc0(0x14a)](_0x49bf52=>({..._0x49bf52,'bullet':_0x39be0a(_0x49bf52[_0x518bc0(0x13d)]),'paragraphStyle':_0x39be0a(_0x49bf52[_0x518bc0(0x13b)])})),'sectionBreaks':(_0x25fe85=_0x52513f[_0x518bc0(0xca)])==null?void 0x0:_0x25fe85[_0x518bc0(0x14a)](_0x5ac2e5=>({..._0x5ac2e5})),'textRuns':(_0x4bc6ed=_0x52513f[_0x518bc0(0x10e)])==null?void 0x0:_0x4bc6ed['map'](_0x562615=>({..._0x562615})),'tables':(_0xcc9292=_0x52513f[_0x518bc0(0x11d)])==null?void 0x0:_0xcc9292[_0x518bc0(0x14a)](_0x569d94=>({..._0x569d94})),'columnGroups':(_0x4d10d8=_0x52513f[_0x518bc0(0x102)])==null?void 0x0:_0x4d10d8[_0x518bc0(0x14a)](_0xc5fca5=>{const _0x39cc18=_0x518bc0;var _0x14a06b;return{..._0xc5fca5,'columns':(_0x14a06b=_0xc5fca5[_0x39cc18(0x10c)])==null?void 0x0:_0x14a06b[_0x39cc18(0x14a)](_0x545ce1=>_0x39be0a(_0x545ce1))};}),'blockRanges':(_0x1b8a8b=_0x52513f[_0x518bc0(0xb9)])==null?void 0x0:_0x1b8a8b[_0x518bc0(0x14a)](_0x2024ab=>({..._0x2024ab})),'customRanges':(_0x256f2b=_0x52513f[_0x518bc0(0xb0)])==null?void 0x0:_0x256f2b[_0x518bc0(0x14a)](_0x3cf363=>({..._0x3cf363})),'customDecorations':(_0x516778=_0x52513f['customDecorations'])==null?void 0x0:_0x516778[_0x518bc0(0x14a)](_0x2c6aca=>({..._0x2c6aca})),'customBlocks':(_0x29f49d=_0x52513f[_0x518bc0(0x120)])==null?void 0x0:_0x29f49d[_0x518bc0(0x14a)](_0x106160=>({..._0x106160}))};}function _0x39be0a(_0x4652bd){const _0x39fc7f=_0x38b268;return Array[_0x39fc7f(0x11b)](_0x4652bd)?_0x4652bd['map'](_0x18b797=>_0x39be0a(_0x18b797)):!_0x4652bd||typeof _0x4652bd!='object'?_0x4652bd:Object[_0x39fc7f(0x116)](Object[_0x39fc7f(0xc7)](_0x4652bd)[_0x39fc7f(0x14a)](([_0xf02c88,_0x302ded])=>[_0xf02c88,_0x39be0a(_0x302ded)]));}function _0x45225e(_0x9aa8ba){const _0x3e0c8b=_0x38b268;if(!_0x9aa8ba[_0x3e0c8b(0xc8)])throw Error(_0x3e0c8b(0xeb));return _0x9aa8ba[_0x3e0c8b(0xc8)];}function _0x21cb83(_0x492f37,_0x48a3b3,_0x267a48,_0x1b8126=_0x38b268(0x97)){const _0x190a6c=_0x38b268;if(_0x48a3b3==null||_0x267a48==null){let _0x224bb3=_0x40baba(_0x492f37);return{'startOffset':_0x224bb3,'endOffset':_0x224bb3};}let _0x384301=Math['min'](_0x48a3b3,_0x267a48),_0x2b2f05=Math[_0x190a6c(0x10f)](_0x48a3b3,_0x267a48),_0x9c6b9=_0x2bbc8e(_0x492f37,_0x384301,_0x2b2f05);return _0x384301===_0x2b2f05?_0x1b8126===_0x190a6c(0xd3)?{'startOffset':_0x384301,'endOffset':_0x2b2f05}:_0x4cc22c(_0x492f37,_0x384301,_0x9c6b9):_0xd9b062(_0x492f37,_0x384301,_0x2b2f05,_0x9c6b9);}function _0x4cc22c(_0x49a374,_0x41d2a6,_0x1b3719){const _0x4e2d68=_0x38b268;let _0x5dd3b8=_0x9763ba(_0x49a374,_0x41d2a6);if(_0x5dd3b8){let _0x41311f=_0x4fb809(_0x49a374,_0x5dd3b8,_0x1b3719);if(_0x41311f<_0x5dd3b8[_0x4e2d68(0xd0)])return{'startOffset':_0x41311f,'endOffset':_0x1b3719?Math[_0x4e2d68(0xcd)](_0x5dd3b8[_0x4e2d68(0xd0)]+0x1,_0x1b3719['endOffset']):_0x5dd3b8[_0x4e2d68(0xd0)]+0x1};}let _0x6b497c=_0x41d2a6===0x0&&_0x49a374[_0x4e2d68(0xd4)][0x0]===_0x577be9[_0x4e2d68(0xc2)][_0x4e2d68(0x118)]?0x1:_0x41d2a6;return{'startOffset':_0x6b497c,'endOffset':_0x6b497c};}function _0x40baba(_0x139b3e){const _0x30bcfd=_0x38b268;return _0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xdd)](_0x577be9[_0x30bcfd(0xc2)][_0x30bcfd(0x105)])?Math['max'](0x0,_0x139b3e[_0x30bcfd(0xd4)][_0x30bcfd(0xc6)]-0x1):_0x139b3e['dataStream'][_0x30bcfd(0xc6)];}function _0x525f52(_0x52bf9f,_0x23b41d,_0x15bbcc){const _0x329cae=_0x38b268;var _0x238cd0;let _0x50ed35=Math[_0x329cae(0xcd)](_0x23b41d,_0x15bbcc),_0x25192e=Math[_0x329cae(0x10f)](_0x23b41d,_0x15bbcc);return!!((_0x238cd0=_0x52bf9f[_0x329cae(0x11d)])!=null&&_0x238cd0[_0x329cae(0x8f)](_0x30b7fb=>_0x50ed35>_0x30b7fb['startIndex']&&_0x50ed35<_0x30b7fb[_0x329cae(0xf7)]||_0x25192e>_0x30b7fb[_0x329cae(0xd0)]&&_0x25192e<_0x30b7fb[_0x329cae(0xf7)]||_0x50ed35<=_0x30b7fb['startIndex']&&_0x25192e>=_0x30b7fb[_0x329cae(0xf7)]));}function _0xd9b062(_0x5c825d,_0x344d2c,_0x2f7df8,_0x47b673){const _0x4a51dd=_0x38b268;let _0x4afdab=[..._0x5c825d[_0x4a51dd(0xae)]??[]][_0x4a51dd(0x14b)]((_0x84135d,_0x1f128e)=>_0x84135d[_0x4a51dd(0xd0)]-_0x1f128e[_0x4a51dd(0xd0)]),_0x5107d8=(0x0,_0x577be9['getParagraphContentStartOffsets'])(_0x5c825d),_0x5cd363=_0x4afdab[_0x4a51dd(0xdc)](_0x15a0de=>_0x4fb809(_0x5c825d,_0x15a0de,_0x47b673,_0x5107d8)<=_0x344d2c&&_0x344d2c<=_0x15a0de[_0x4a51dd(0xd0)]),_0x3d07bc=_0x4afdab['find'](_0x4581da=>_0x4581da['startIndex']>=_0x2f7df8-0x1)??_0x4afdab[_0x4afdab[_0x4a51dd(0xc6)]-0x1];return{'startOffset':_0x5cd363?_0x4fb809(_0x5c825d,_0x5cd363,_0x47b673,_0x5107d8):_0x344d2c,'endOffset':_0x3d07bc?_0x589ee1(_0x3d07bc,_0x47b673):_0x2f7df8};}function _0x9763ba(_0xce8bce,_0x370a4f){const _0x757383=_0x38b268;let _0x2d2139=[..._0xce8bce[_0x757383(0xae)]??[]]['sort']((_0x5059b3,_0x2f43f7)=>_0x5059b3['startIndex']-_0x2f43f7[_0x757383(0xd0)]),_0x52178c=(0x0,_0x577be9[_0x757383(0x101)])(_0xce8bce);return _0x2d2139[_0x757383(0xdc)](_0x11e735=>(_0x52178c[_0x757383(0xd8)](_0x11e735[_0x757383(0xd0)])??0x0)<=_0x370a4f&&_0x370a4f<=_0x11e735[_0x757383(0xd0)]);}function _0x4fb809(_0x48dd4d,_0x1ac278,_0x226747,_0x11b138){const _0x520797=_0x38b268;let _0x377ea7=(_0x11b138==null?void 0x0:_0x11b138[_0x520797(0xd8)](_0x1ac278[_0x520797(0xd0)]))??(0x0,_0x577be9[_0x520797(0x14f)])(_0x48dd4d,_0x1ac278);return _0x226747?Math[_0x520797(0x10f)](_0x377ea7,_0x226747[_0x520797(0x156)]):_0x377ea7;}function _0x589ee1(_0x3df597,_0x31cc14){const _0x2561d6=_0x38b268;let _0x689ab0=_0x3df597[_0x2561d6(0xd0)]+0x1;return _0x31cc14?Math[_0x2561d6(0xcd)](_0x689ab0,_0x31cc14[_0x2561d6(0xf4)]):_0x689ab0;}function _0x2bbc8e(_0x77fb25,_0xd8f2b8,_0x2e28c6){const _0x382c47=_0x38b268;let _0x1ce3be=_0x1dfde2(_0x77fb25,_0xd8f2b8),_0x4f8449=_0x1dfde2(_0x77fb25,_0xd8f2b8===_0x2e28c6?_0x2e28c6:Math[_0x382c47(0x10f)](_0xd8f2b8,_0x2e28c6-0x1));if(_0x1ce3be||_0x4f8449){if(!_0x1ce3be||!_0x4f8449||_0x1ce3be['startTokenOffset']!==_0x4f8449[_0x382c47(0xc1)]||_0x1ce3be[_0x382c47(0xaf)]!==_0x4f8449['endTokenOffset'])throw new _0x1de79e();return _0x1ce3be;}}function _0x1dfde2(_0x5ad7f1,_0x3225d3){const _0x1916d7=_0x38b268;let _0x42fca3=_0x5ad7f1[_0x1916d7(0xd4)],_0x3ee4fc=-0x1;for(let _0x6fee78=Math[_0x1916d7(0xcd)](_0x3225d3,_0x42fca3[_0x1916d7(0xc6)]-0x1);_0x6fee78>=0x0;_0x6fee78--){let _0x2892cb=_0x42fca3[_0x6fee78];if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)])return;if(_0x2892cb===_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0xd2)]){_0x3ee4fc=_0x6fee78;break;}}if(_0x3ee4fc<0x0)return;let _0x24cf17=_0x42fca3[_0x1916d7(0x9e)](_0x577be9[_0x1916d7(0xc2)][_0x1916d7(0x89)],_0x3ee4fc+0x1);if(!(_0x24cf17<0x0||_0x3225d3<_0x3ee4fc+0x1||_0x3225d3>_0x24cf17-0x1))return{'startOffset':_0x3ee4fc+0x1,'endOffset':Math[_0x1916d7(0x10f)](_0x3ee4fc+0x1,_0x24cf17-0x1),'startTokenOffset':_0x3ee4fc,'endTokenOffset':_0x24cf17};}function _0x140133(_0xd98486){const _0x3f7f78=_0x38b268;return(0x0,_0x577be9[_0x3f7f78(0xef)])(_0xd98486)[_0x3f7f78(0xf4)]-0x1;}function _0x217a3f(_0x131030,_0xf5b5a9,_0x16aa9e,_0x1278ee){const _0x32f313=_0x38b268;let _0x5dd43d=_0x140133(_0xf5b5a9),_0x373cc7=(_0x131030[_0x32f313(0xae)]??[])['find'](_0x576cc7=>_0x576cc7['startIndex']===_0x5dd43d+0x1);if(!_0x373cc7||_0x1278ee!=null&&_0x373cc7[_0x32f313(0xd0)]!==_0x1278ee||_0x16aa9e!=null&&(_0x16aa9e<_0x5dd43d||_0x16aa9e>_0x373cc7[_0x32f313(0xd0)]+0x1)||_0x131030[_0x32f313(0xd4)][_0x373cc7[_0x32f313(0xd0)]]!==_0x577be9[_0x32f313(0xc2)][_0x32f313(0x118)])return null;let _0x211c3c=(0x0,_0x577be9['getParagraphContentStartOffset'])(_0x131030,_0x373cc7),_0x392b09=_0x131030[_0x32f313(0xd4)][_0x32f313(0x152)](_0x211c3c,_0x373cc7[_0x32f313(0xd0)]);return Array[_0x32f313(0xe5)](_0x392b09)[_0x32f313(0x114)](_0x460688=>_0x460688===_0x577be9[_0x32f313(0xc2)][_0x32f313(0xed)])?{'paragraph':_0x373cc7,'endTokenOffset':_0x5dd43d}:null;}function _0x32bb95(_0x47041f,_0x5dc682){const _0x451109=_0x38b268;var _0x1743ba;let _0x24013f=_0x140133(_0x5dc682),_0x511da8=_0x47041f[_0x451109(0xd4)][_0x24013f+0x1];(_0x511da8===_0x577be9[_0x451109(0xc2)][_0x451109(0x105)]||_0x511da8===void 0x0)&&_0x226a1f(_0x47041f,_0x24013f+0x1,_0x577be9[_0x451109(0xc2)][_0x451109(0x118)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x577be9[_0x451109(0x150)])(new Set((_0x1743ba=_0x47041f['paragraphs'])==null?void 0x0:_0x1743ba[_0x451109(0x14a)](_0x4eb86a=>_0x4eb86a[_0x451109(0xbe)])))}]});}function _0x226a1f(_0xf46a1f,_0x51520b,_0x190dbe,_0xf1a81e={}){const _0x3d48f7=_0x38b268;var _0x20a40b,_0x3ec59d;_0x190dbe&&(_0xf46a1f['dataStream']=''+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](0x0,_0x51520b)+_0x190dbe+_0xf46a1f[_0x3d48f7(0xd4)][_0x3d48f7(0x152)](_0x51520b),_0x2ec62a(_0xf46a1f,_0x51520b,_0x190dbe[_0x3d48f7(0xc6)]),(_0x20a40b=_0xf1a81e[_0x3d48f7(0xae)])!=null&&_0x20a40b['length']&&(_0xf46a1f[_0x3d48f7(0xae)]=[..._0xf46a1f['paragraphs']??[],..._0xf1a81e[_0x3d48f7(0xae)][_0x3d48f7(0x14a)](_0x68c50c=>({..._0x68c50c,'startIndex':_0x68c50c['startIndex']+_0x51520b}))][_0x3d48f7(0x14b)]((_0x4f6132,_0x371218)=>_0x4f6132[_0x3d48f7(0xd0)]-_0x371218[_0x3d48f7(0xd0)])),(_0x3ec59d=_0xf1a81e['blockRanges'])!=null&&_0x3ec59d[_0x3d48f7(0xc6)]&&(_0xf46a1f[_0x3d48f7(0xb9)]=[..._0xf46a1f['blockRanges']??[],..._0xf1a81e[_0x3d48f7(0xb9)][_0x3d48f7(0x14a)](_0x2d5249=>({..._0x2d5249,'startIndex':_0x2d5249[_0x3d48f7(0xd0)]+_0x51520b,'endIndex':_0x2d5249[_0x3d48f7(0xf7)]+_0x51520b}))][_0x3d48f7(0x14b)]((_0x2e079b,_0x710613)=>_0x2e079b[_0x3d48f7(0xd0)]-_0x710613[_0x3d48f7(0xd0)])));}function _0x23c4b9(_0x249ae2,_0x139e9f,_0x514b5f){const _0x37dce0=_0x38b268;let _0x2205a8=_0x514b5f-_0x139e9f;_0x249ae2[_0x37dce0(0xd4)]=''+_0x249ae2['dataStream'][_0x37dce0(0x152)](0x0,_0x139e9f)+_0x249ae2[_0x37dce0(0xd4)][_0x37dce0(0x152)](_0x514b5f),_0x161780(_0x249ae2,_0x139e9f,_0x2205a8);}function _0x2ec62a(_0x164ec8,_0x22b83b,_0x3a9020){const _0x4d392f=_0x38b268;_0x164ec8['paragraphs']=_0x4f588c(_0x164ec8[_0x4d392f(0xae)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xca)]=_0x4f588c(_0x164ec8[_0x4d392f(0xca)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x120)]=_0x4f588c(_0x164ec8[_0x4d392f(0x120)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x10e)]=_0x1002b6(_0x164ec8[_0x4d392f(0x10e)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x11d)]=_0x135ffd(_0x164ec8[_0x4d392f(0x11d)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0x102)]=_0x6990d8(_0x164ec8[_0x4d392f(0x102)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb0)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb0)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xe7)]=_0x6990d8(_0x164ec8[_0x4d392f(0xe7)],_0x22b83b,_0x3a9020),_0x164ec8[_0x4d392f(0xb9)]=_0x6990d8(_0x164ec8[_0x4d392f(0xb9)],_0x22b83b,_0x3a9020);}function _0x161780(_0x5de4a9,_0x563ef9,_0x361df1){const _0x48f40f=_0x38b268;var _0x29c42d,_0x360049;_0x5de4a9[_0x48f40f(0xae)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0xae)],_0x563ef9,_0x361df1),_0x5de4a9['sectionBreaks']=_0x26a7b4(_0x5de4a9[_0x48f40f(0xca)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x120)]=_0x26a7b4(_0x5de4a9[_0x48f40f(0x120)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x10e)]=(_0x29c42d=_0xfc3df1((_0x360049=_0x5de4a9['textRuns'])==null?void 0x0:_0x360049[_0x48f40f(0x14a)](_0x16d046=>({..._0x16d046,'startIndex':_0x16d046['st'],'endIndex':_0x16d046['ed']})),_0x563ef9,_0x361df1))==null?void 0x0:_0x29c42d[_0x48f40f(0x14a)](_0x2475b8=>{let {startIndex:_0x223f70,endIndex:_0x262e4f,..._0x12ed5f}=_0x2475b8;return{..._0x12ed5f,'st':_0x223f70,'ed':_0x262e4f};}),_0x5de4a9[_0x48f40f(0x11d)]=_0xfc3df1(_0x5de4a9[_0x48f40f(0x11d)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0x102)]=_0x389ed5(_0x5de4a9[_0x48f40f(0x102)],_0x563ef9,_0x361df1),_0x5de4a9['customRanges']=_0x389ed5(_0x5de4a9[_0x48f40f(0xb0)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xe7)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xe7)],_0x563ef9,_0x361df1),_0x5de4a9[_0x48f40f(0xb9)]=_0x389ed5(_0x5de4a9[_0x48f40f(0xb9)],_0x563ef9,_0x361df1);}function _0x4f588c(_0x440b15,_0x10e8d8,_0x3be03f){return _0x440b15==null?void 0x0:_0x440b15['map'](_0x1777ad=>_0x1777ad['startIndex']>=_0x10e8d8?{..._0x1777ad,'startIndex':_0x1777ad['startIndex']+_0x3be03f}:_0x1777ad);}function _0x26a7b4(_0x3b3823,_0x39de8b,_0x3024fd){const _0x589dbb=_0x38b268;let _0x97aebb=_0x39de8b+_0x3024fd;return _0x3b3823==null?void 0x0:_0x3b3823[_0x589dbb(0x14a)](_0x5caeba=>_0x5caeba[_0x589dbb(0xd0)]>=_0x39de8b&&_0x5caeba[_0x589dbb(0xd0)]<_0x97aebb?null:_0x5caeba[_0x589dbb(0xd0)]>=_0x97aebb?{..._0x5caeba,'startIndex':_0x5caeba[_0x589dbb(0xd0)]-_0x3024fd}:_0x5caeba)[_0x589dbb(0xff)](_0x47e6ac=>_0x47e6ac!=null);}function _0x1002b6(_0x57796c,_0x44fd54,_0xe7d1fb){const _0x4d7a14=_0x38b268;return _0x57796c==null?void 0x0:_0x57796c[_0x4d7a14(0x14a)](_0x1d465a=>_0x1d465a['st']>=_0x44fd54?{..._0x1d465a,'st':_0x1d465a['st']+_0xe7d1fb,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a['ed']>_0x44fd54?{..._0x1d465a,'ed':_0x1d465a['ed']+_0xe7d1fb}:_0x1d465a);}function _0x6990d8(_0x2adab9,_0x5f0ea7,_0x50f793){const _0x458c18=_0x38b268;return _0x2adab9==null?void 0x0:_0x2adab9[_0x458c18(0x14a)](_0x237d3f=>(0x0,_0x577be9[_0x458c18(0x142)])(_0x237d3f,_0x5f0ea7,_0x50f793));}function _0x135ffd(_0xf928b2,_0x34c2d1,_0x178197){const _0x264813=_0x38b268;return _0xf928b2==null?void 0x0:_0xf928b2[_0x264813(0x14a)](_0x2a45c0=>(0x0,_0x577be9['shiftExclusiveRangeOnInsert'])(_0x2a45c0,_0x34c2d1,_0x178197));}function _0x389ed5(_0x46187f,_0x5b9cf3,_0x1d9b89){const _0x252eb3=_0x38b268;return _0x46187f==null?void 0x0:_0x46187f[_0x252eb3(0x14a)](_0x39ff62=>(0x0,_0x577be9[_0x252eb3(0x119)])(_0x39ff62,_0x5b9cf3,_0x1d9b89))[_0x252eb3(0xff)](_0x471f88=>_0x471f88!=null);}function _0xfc3df1(_0x18f217,_0x4a0021,_0x5a677f){const _0x16cf58=_0x38b268;return _0x18f217==null?void 0x0:_0x18f217[_0x16cf58(0x14a)](_0x5138d3=>(0x0,_0x577be9[_0x16cf58(0x108)])(_0x5138d3,_0x4a0021,_0x5a677f))[_0x16cf58(0xff)](_0x1791bd=>_0x1791bd!=null);}let _0x461229={'id':'docs-code.command.insert-below','type':_0x577be9[_0x38b268(0xbf)]['COMMAND'],'handler':_0x5ea632=>{const _0x545f58=_0x38b268;var _0x2ac885;if((0x0,_0x31b33e[_0x545f58(0xe1)])(_0x313945(_0x5ea632)))return!0x1;let _0x6495e9=(0x0,_0x31b33e[_0x545f58(0x113)])(_0x5ea632);if(_0x6495e9)return _0x5ea632['get'](_0x577be9['ICommandService'])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x6495e9[_0x545f58(0x156)],'endOffset':_0x6495e9[_0x545f58(0xf4)],'insertionMode':_0x545f58(0xd3),'unitId':_0x6495e9['unitId']});let _0x2d4e25=_0x35ff7c(_0x5ea632);if(!_0x2d4e25)return!0x1;let _0x1f8533=(_0x2ac885=_0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0xea)])[_0x545f58(0xa9)](_0x577be9[_0x545f58(0xf9)]['UNIVER_DOC']))==null?void 0x0:_0x2ac885[_0x545f58(0x131)](),_0x359fa7=_0x1f8533?(0x0,_0x577be9['getParagraphFollowingBlockOffset'])(_0x1f8533,_0x2d4e25):_0x2d4e25['startIndex']+0x1;return _0x5ea632[_0x545f58(0xd8)](_0x577be9[_0x545f58(0x162)])[_0x545f58(0x100)](_0x29870c['id'],{'startOffset':_0x359fa7,'endOffset':_0x359fa7});}},_0x45e1b4={'id':_0x38b268(0x98),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':()=>!0x0},_0x29870c={'id':_0x38b268(0x8c),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x1e3a0c,_0x18c527)=>{const _0xd67290=_0x38b268;let _0xcccf5e=_0x5da2e0(_0x1e3a0c,_0x18c527==null?void 0x0:_0x18c527['unitId']);if(!_0xcccf5e)return!0x1;let _0x42a73c=_0x313945(_0x1e3a0c);if((0x0,_0x31b33e[_0xd67290(0xe1)])(_0x42a73c))return!0x1;let _0x2276ec=_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xc3)](_0xcccf5e[_0xd67290(0xfc)]),_0x2cac9f=_0x50167e(_0x18c527,_0x42a73c),_0x9485cc=_0x1904ca(_0xcccf5e[_0xd67290(0x11f)],_0x2cac9f);if(_0x9485cc){if(_0x9485cc[_0xd67290(0xe4)]!==_0x577be9[_0xd67290(0x130)][_0xd67290(0xf1)])return!0x1;let _0x5bee55=_0x10f0e4({'blockId':_0x9485cc[_0xd67290(0xe3)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'metadata':_0x2276ec});if(!_0x5bee55)return!0x1;let _0x5c6426=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e['selectionManager'],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x5bee55[_0xd67290(0x12d)],_0x29870c['id'],_0x5bee55[_0xd67290(0xaa)]);return _0x5c6426&&_0x5bee55['nextMetadata']&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e[_0xd67290(0xfc)],_0x5bee55['nextMetadata']),_0x5c6426;}let _0x29615f=(_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0xe3)])??(0x0,_0x577be9[_0xd67290(0xcc)])(0x6),_0x581c47;try{_0x581c47=_0x3ca3f5({'blockId':_0x29615f,'config':_0x18c527==null?void 0x0:_0x18c527[_0xd67290(0x140)],'documentData':_0xcccf5e[_0xd67290(0x11f)],'endOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0xf4)],'insertionMode':_0x18c527==null?void 0x0:_0x18c527['insertionMode'],'metadata':_0x2276ec,'startOffset':_0x2cac9f==null?void 0x0:_0x2cac9f[_0xd67290(0x156)]});}catch(_0x3d16cf){if(_0x3d16cf instanceof _0x1de79e)return!0x1;throw _0x3d16cf;}let _0x2f8a4e=_0x390b92(_0xcccf5e[_0xd67290(0x127)],_0xcccf5e[_0xd67290(0x112)],_0xcccf5e[_0xd67290(0xfc)],_0xcccf5e[_0xd67290(0x11f)],_0x581c47['nextDocumentData'],_0x29870c['id'],_0x581c47[_0xd67290(0xaa)]);return _0x2f8a4e&&_0x581c47[_0xd67290(0x15a)]&&_0xcccf5e[_0xd67290(0x10a)][_0xd67290(0xbb)](_0xcccf5e['unitId'],_0x581c47[_0xd67290(0x15a)]),_0x2f8a4e;}},_0x4a6a1b={'id':'docs-code.command.update','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xfe5757,_0x104846)=>{const _0x2121eb=_0x38b268;if(!_0x104846)return!0x1;let _0x3d339d=_0x5da2e0(_0xfe5757,_0x104846['unitId']);if(!_0x3d339d)return!0x1;let _0x529f6=_0x5b4eae({'blockId':_0x104846[_0x2121eb(0xe3)],'config':_0x104846[_0x2121eb(0x140)],'documentData':_0x3d339d[_0x2121eb(0x11f)],'metadata':_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xc3)](_0x3d339d[_0x2121eb(0xfc)])});return _0x529f6[_0x2121eb(0x15a)]&&_0x3d339d[_0x2121eb(0x10a)][_0x2121eb(0xbb)](_0x3d339d['unitId'],_0x529f6['nextMetadata']),!0x0;}},_0xdc1da0={'id':_0x38b268(0x122),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x182022,_0x5a961c)=>_0x1b8f0b[_0x38b268(0x146)](_0x182022,_0x5a961c)},_0x1b8f0b={'id':_0x38b268(0xfa),'type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0xedf610,_0x2f9d46)=>{const _0x5f2473=_0x38b268;if(!_0x2f9d46)return!0x1;let _0x44f031=_0x5da2e0(_0xedf610,_0x2f9d46==null?void 0x0:_0x2f9d46[_0x5f2473(0xfc)]);if(!_0x44f031)return!0x1;let _0x5633c4=_0x10f0e4({'blockId':_0x2f9d46[_0x5f2473(0xe3)],'documentData':_0x44f031['previousDocumentData'],'metadata':_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xc3)](_0x44f031[_0x5f2473(0xfc)])});if(!_0x5633c4)return!0x1;let _0x5a9bde=_0x390b92(_0x44f031[_0x5f2473(0x127)],_0x44f031[_0x5f2473(0x112)],_0x44f031[_0x5f2473(0xfc)],_0x44f031['previousDocumentData'],_0x5633c4['nextDocumentData'],_0x1b8f0b['id'],_0x5633c4[_0x5f2473(0xaa)]);return _0x5a9bde&&_0x5633c4[_0x5f2473(0x15a)]&&_0x44f031[_0x5f2473(0x10a)][_0x5f2473(0xbb)](_0x44f031[_0x5f2473(0xfc)],_0x5633c4[_0x5f2473(0x15a)]),_0x5a9bde;}},_0x145bc9={'id':'docs-code.command.remove','type':_0x577be9[_0x38b268(0xbf)][_0x38b268(0x95)],'handler':(_0x591780,_0x50b36b)=>{const _0x1d9c0d=_0x38b268;if(!_0x50b36b)return!0x1;let _0x4b1737=_0x5da2e0(_0x591780,_0x50b36b==null?void 0x0:_0x50b36b[_0x1d9c0d(0xfc)]);if(!_0x4b1737)return!0x1;let _0xde10dd=_0x1ef531({'blockId':_0x50b36b[_0x1d9c0d(0xe3)],'documentData':_0x4b1737[_0x1d9c0d(0x11f)],'metadata':_0x4b1737['model'][_0x1d9c0d(0xc3)](_0x4b1737[_0x1d9c0d(0xfc)])});if(!_0xde10dd)return!0x1;let _0x2cacf2=_0x390b92(_0x4b1737['commandService'],_0x4b1737['selectionManager'],_0x4b1737[_0x1d9c0d(0xfc)],_0x4b1737[_0x1d9c0d(0x11f)],_0xde10dd[_0x1d9c0d(0x12d)],_0x145bc9['id'],_0xde10dd['cursorOffset']);return _0x2cacf2&&_0xde10dd[_0x1d9c0d(0x15a)]&&_0x4b1737['model'][_0x1d9c0d(0xbb)](_0x4b1737['unitId'],_0xde10dd[_0x1d9c0d(0x15a)]),_0x2cacf2;}},_0x3f1126={'id':_0x38b268(0x92),'type':_0x577be9['CommandType']['COMMAND'],'handler':(_0xdd8151,_0x535df9)=>{const _0x217b03=_0x38b268;var _0x76cb30;let _0x1e5861=_0x5da2e0(_0xdd8151,_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0xfc)]);if(!_0x1e5861)return!0x1;let _0x19d87a=(_0x535df9==null?void 0x0:_0x535df9['cursorOffset'])??((_0x76cb30=_0x313945(_0xdd8151))==null?void 0x0:_0x76cb30[_0x217b03(0x156)]);if(_0x19d87a==null)return!0x1;let _0x489ae4=_0x27c5ff({'cursorOffset':_0x19d87a,'documentData':_0x1e5861['previousDocumentData'],'paragraphStartIndex':_0x535df9==null?void 0x0:_0x535df9[_0x217b03(0x104)]});return _0x489ae4?_0x390b92(_0x1e5861[_0x217b03(0x127)],_0x1e5861['selectionManager'],_0x1e5861[_0x217b03(0xfc)],_0x1e5861[_0x217b03(0x11f)],_0x489ae4[_0x217b03(0x12d)],_0x3f1126['id'],_0x489ae4[_0x217b03(0xaa)]):!0x1;}};function _0x5da2e0(_0x575519,_0x572a57){const _0x828a44=_0x38b268;let _0x3b07ef=_0x575519['get'](_0x577be9[_0x828a44(0xea)]),_0x162dd4=_0x572a57?_0x3b07ef[_0x828a44(0x91)](_0x572a57,_0x577be9[_0x828a44(0xf9)][_0x828a44(0xfb)]):_0x3b07ef[_0x828a44(0xa9)](_0x577be9[_0x828a44(0xf9)]['UNIVER_DOC']);return _0x162dd4?{'commandService':_0x575519[_0x828a44(0xd8)](_0x577be9[_0x828a44(0x162)]),'model':_0x575519[_0x828a44(0xd8)](_0x14cdd9),'previousDocumentData':_0x162dd4[_0x828a44(0xe9)](),'selectionManager':_0x575519[_0x828a44(0xd8)](_0x31b33e[_0x828a44(0x13a)]),'unitId':_0x162dd4['getUnitId']()}:null;}function _0x313945(_0x4c820d){const _0x2565f6=_0x38b268;var _0x5c7548;return(_0x5c7548=_0x4c820d[_0x2565f6(0xd8)](_0x31b33e[_0x2565f6(0x13a)])['getTextRanges']())==null?void 0x0:_0x5c7548[0x0];}function _0x50167e(_0x1caa38,_0xebd4fd){const _0x39616b=_0x38b268;let _0x3137ef=(_0x1caa38==null?void 0x0:_0x1caa38['startOffset'])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0x156)]),_0x38e6fb=(_0x1caa38==null?void 0x0:_0x1caa38[_0x39616b(0xf4)])??(_0xebd4fd==null?void 0x0:_0xebd4fd[_0x39616b(0xf4)]);if(_0x3137ef!=null&&_0x38e6fb!=null)return{'endOffset':Math[_0x39616b(0x10f)](_0x3137ef,_0x38e6fb),'startOffset':Math['min'](_0x3137ef,_0x38e6fb)};}function _0x1904ca(_0xb3bb7b,_0x38da29){const _0x244000=_0x38b268;var _0x2e1252;if(!_0x38da29)return;let _0x31f99a=_0x103048(_0x38da29);return(_0x2e1252=_0xb3bb7b[_0x244000(0xc8)])==null||(_0x2e1252=_0x2e1252[_0x244000(0xb9)])==null?void 0x0:_0x2e1252[_0x244000(0xdc)](_0x472c5d=>{const _0xb4fb1c=_0x244000;let _0x112268=(0x0,_0x577be9[_0xb4fb1c(0xef)])(_0x472c5d);return _0x38da29[_0xb4fb1c(0x156)]===_0x38da29[_0xb4fb1c(0xf4)]?(0x0,_0x577be9['containsInteriorInsertionOffset'])(_0x112268,_0x31f99a):(0x0,_0x577be9[_0xb4fb1c(0xb7)])(_0x112268,_0x31f99a);});}function _0x103048(_0x234c7d){const _0x1edaca=_0x38b268;return _0x234c7d[_0x1edaca(0x156)]===_0x234c7d[_0x1edaca(0xf4)]?_0x234c7d[_0x1edaca(0x156)]:_0x234c7d[_0x1edaca(0x156)]+0x1;}function _0x35ff7c(_0x1d6cde){const _0xbe0119=_0x38b268;let _0x37d546=_0x313945(_0x1d6cde);if(!_0x37d546)return null;let _0x413736=_0x1d6cde[_0xbe0119(0xd8)](_0x577be9[_0xbe0119(0xea)])['getCurrentUnitOfType'](_0x577be9[_0xbe0119(0xf9)][_0xbe0119(0xfb)]),_0xf26ca=_0x413736==null?void 0x0:_0x413736[_0xbe0119(0x131)]();return _0xf26ca?_0x577be9['BuildTextUtils']['range']['getParagraphsInRange'](_0x37d546,_0xf26ca[_0xbe0119(0xae)]??[],_0xf26ca[_0xbe0119(0xd4)]??'')[0x0]??null:null;}function _0x55c47b(_0x4b330f,_0x53dc85){const _0x143b97=_0x38b268;let _0x280d90=_0x4b330f[_0x143b97(0xc8)],_0x2ba396=_0x53dc85[_0x143b97(0xc8)],_0x2260ac=(0x0,_0x577be9[_0x143b97(0xd1)])(_0x280d90,_0x2ba396);return[_0x2260ac&&_0x2ba396?_0x274021(_0x2ba396,_0x2260ac):null,_0x2260ac?null:_0x247b83(_0x280d90,_0x2ba396)][_0x143b97(0xff)](Boolean)[_0x143b97(0x11a)]((_0x33efc3,_0x34f83d)=>_0x577be9['JSONX']['compose'](_0x33efc3,_0x34f83d),null);}function _0x274021(_0x57bab5,_0x1ded4f){const _0x270fb5=_0x38b268;let _0x66b628=new _0x577be9[(_0x270fb5(0x124))]();return _0x66b628[_0x270fb5(0x87)](_0x1ded4f[_0x270fb5(0xe8)]),_0x1ded4f[_0x270fb5(0x8b)]>0x0&&_0x66b628['insert'](_0x1ded4f['insertLength'],(0x0,_0x577be9[_0x270fb5(0xb8)])(_0x57bab5,_0x1ded4f[_0x270fb5(0xe8)],_0x1ded4f[_0x270fb5(0xe8)]+_0x1ded4f[_0x270fb5(0x8b)],!0x1)),_0x1ded4f[_0x270fb5(0xf5)]>0x0&&_0x66b628[_0x270fb5(0x96)](_0x1ded4f[_0x270fb5(0xf5)]),_0x577be9[_0x270fb5(0xa0)][_0x270fb5(0xb5)]()[_0x270fb5(0x158)](_0x66b628[_0x270fb5(0xc3)](),[_0x270fb5(0xc8)]);}function _0x247b83(_0x23898d,_0x189ee2){const _0x17f27a=_0x38b268;let _0x15680a=[],_0x58e43a=_0x23898d?_0x4ee96d(_0x23898d):void 0x0,_0x41cc34=_0x189ee2?_0x4ee96d(_0x189ee2):void 0x0;for(let _0x410639 of _0x2e1f7b)_0xcfcec4(_0x577be9[_0x17f27a(0xa0)][_0x17f27a(0xb5)](),[_0x17f27a(0xc8),_0x410639],_0x58e43a==null?void 0x0:_0x58e43a[_0x410639],_0x41cc34==null?void 0x0:_0x41cc34[_0x410639],_0x15680a);return _0x15680a[_0x17f27a(0x11a)]((_0x1e5439,_0x4fc6e6)=>_0x577be9['JSONX'][_0x17f27a(0x111)](_0x1e5439,_0x4fc6e6),null);}let _0x2e1f7b=['paragraphs',_0x38b268(0xca),'tables',_0x38b268(0x102),'blockRanges','customBlocks',_0x38b268(0xb0),_0x38b268(0xe7),_0x38b268(0x10e)];function _0x4ee96d(_0x2805c0){return _0x2805c0;}function _0xcfcec4(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589){const _0x39dd67=_0x38b268;_0xa30283(_0x10ac43,_0xf654a3)||(_0x10ac43==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x85)](_0x44abcd,_0xf654a3)):_0xf654a3==null?_0x5b2589[_0x39dd67(0xa6)](_0x19d09b[_0x39dd67(0x9a)](_0x44abcd,_0x10ac43)):Array['isArray'](_0x10ac43)&&Array[_0x39dd67(0x11b)](_0xf654a3)?_0x376d72(_0x19d09b,_0x44abcd,_0x10ac43,_0xf654a3,_0x5b2589):_0x564fda(_0x10ac43)&&_0x564fda(_0xf654a3)?new Set([...Object[_0x39dd67(0x10d)](_0x10ac43),...Object[_0x39dd67(0x10d)](_0xf654a3)])[_0x39dd67(0x160)](_0x19337e=>{_0xcfcec4(_0x19d09b,[..._0x44abcd,_0x19337e],_0x10ac43[_0x19337e],_0xf654a3[_0x19337e],_0x5b2589);}):_0x5b2589[_0x39dd67(0xa6)](_0x19d09b['replaceOp'](_0x44abcd,_0x10ac43,_0xf654a3)));}function _0x376d72(_0x238bf6,_0x1d7a49,_0x6323f6,_0x3edcc5,_0x5865c4){const _0xccd715=_0x38b268;if(_0x6323f6[_0xccd715(0xc6)]===_0x3edcc5[_0xccd715(0xc6)]){_0x6323f6['forEach']((_0x1d593a,_0x307054)=>_0xcfcec4(_0x238bf6,[..._0x1d7a49,_0x307054],_0x1d593a,_0x3edcc5[_0x307054],_0x5865c4));return;}let _0x342197=0x0;for(;_0x342197<_0x6323f6['length']&&_0x342197<_0x3edcc5[_0xccd715(0xc6)]&&_0xa30283(_0x6323f6[_0x342197],_0x3edcc5[_0x342197]);)_0x342197++;let _0x2bb692=_0x6323f6[_0xccd715(0xc6)]-0x1,_0x3987e6=_0x3edcc5['length']-0x1;for(;_0x2bb692>=_0x342197&&_0x3987e6>=_0x342197&&_0xa30283(_0x6323f6[_0x2bb692],_0x3edcc5[_0x3987e6]);)_0x2bb692--,_0x3987e6--;for(let _0x2ba02b=_0x2bb692;_0x2ba02b>=_0x342197;_0x2ba02b--)_0x5865c4['push'](_0x238bf6[_0xccd715(0x9a)]([..._0x1d7a49,_0x2ba02b],_0x6323f6[_0x2ba02b]));for(let _0x47b32e=_0x342197;_0x47b32e<=_0x3987e6;_0x47b32e++)_0x5865c4['push'](_0x238bf6[_0xccd715(0x85)]([..._0x1d7a49,_0x47b32e],_0x3edcc5[_0x47b32e]));}function _0x564fda(_0x551a60){const _0x39f53c=_0x38b268;return typeof _0x551a60==_0x39f53c(0x117)&&!!_0x551a60&&!Array[_0x39f53c(0x11b)](_0x551a60);}function _0xa30283(_0x19d5a9,_0x1c6a43){const _0x31990a=_0x38b268;return JSON[_0x31990a(0x12e)](_0x19d5a9)===JSON[_0x31990a(0x12e)](_0x1c6a43);}function _0x390b92(_0x31a356,_0x30936b,_0x41981d,_0x1b4d31,_0x2a7924,_0x27496a,_0x5f22b2){const _0x4ac4ea=_0x38b268;let _0x52d711=_0x55c47b(_0x1b4d31,_0x2a7924);return _0x52d711?!!_0x31a356[_0x4ac4ea(0x100)](_0x31b33e[_0x4ac4ea(0x123)]['id'],{'unitId':_0x41981d,'actions':_0x52d711,'textRanges':[{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x27496a}):(_0x30936b[_0x4ac4ea(0xf6)]([{'startOffset':_0x5f22b2,'endOffset':_0x5f22b2}],{'unitId':_0x41981d,'subUnitId':_0x41981d},!0x1),!0x0);}let _0x58e0f9='DOC_CODE_PLUGIN';var _0x500b69=_0x38b268(0x13c),_0x506558=_0x38b268(0x12c);let _0x2e0eff={};function _0x1d0d2c(_0x3dd1ff,_0x2924cc){return function(_0x45b5a3,_0x8cb2){_0x2924cc(_0x45b5a3,_0x8cb2,_0x3dd1ff);};}function _0x111972(_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc){const _0x5d6fa3=_0x38b268;var _0x34877d=arguments[_0x5d6fa3(0xc6)],_0x183257=_0x34877d<0x3?_0xdec483:_0x10a9fc===null?_0x10a9fc=Object['getOwnPropertyDescriptor'](_0xdec483,_0x1a6eec):_0x10a9fc,_0x5766e7;if(typeof Reflect==_0x5d6fa3(0x117)&&typeof Reflect[_0x5d6fa3(0xee)]==_0x5d6fa3(0xdb))_0x183257=Reflect[_0x5d6fa3(0xee)](_0x468068,_0xdec483,_0x1a6eec,_0x10a9fc);else{for(var _0x1ff2b9=_0x468068[_0x5d6fa3(0xc6)]-0x1;_0x1ff2b9>=0x0;_0x1ff2b9--)(_0x5766e7=_0x468068[_0x1ff2b9])&&(_0x183257=(_0x34877d<0x3?_0x5766e7(_0x183257):_0x34877d>0x3?_0x5766e7(_0xdec483,_0x1a6eec,_0x183257):_0x5766e7(_0xdec483,_0x1a6eec))||_0x183257);}return _0x34877d>0x3&&_0x183257&&Object[_0x5d6fa3(0xec)](_0xdec483,_0x1a6eec,_0x183257),_0x183257;}let _0x1e40af=class extends _0x577be9[_0x38b268(0x10b)]{constructor(_0x3dcd77,_0x6940f5){const _0x211679=_0x38b268;super(),this[_0x211679(0x12f)]=_0x3dcd77,this[_0x211679(0x125)]=_0x6940f5,this['_initResource']();}[_0x38b268(0x99)](){const _0x258e9f=_0x38b268;this[_0x258e9f(0x13f)](this[_0x258e9f(0x12f)][_0x258e9f(0x103)]({'pluginName':_0x58e0f9,'businesses':[_0x577be9['UniverInstanceType'][_0x258e9f(0xfb)]],'toJson':_0x4135c7=>JSON['stringify'](this[_0x258e9f(0x125)][_0x258e9f(0xc3)](_0x4135c7)),'parseJson':_0x4bcdf5=>_0x590e98(JSON[_0x258e9f(0x8d)](_0x4bcdf5)),'onLoad':(_0x1b4fe1,_0x2eea4c)=>this[_0x258e9f(0x125)]['deserialize'](_0x1b4fe1,_0x2eea4c),'onUnLoad':_0x22fa55=>this[_0x258e9f(0x125)][_0x258e9f(0xc4)](_0x22fa55)}));}};_0x1e40af=_0x111972([_0x1d0d2c(0x0,_0x577be9['IResourceManagerService']),_0x1d0d2c(0x1,(0x0,_0x577be9[_0x38b268(0xd9)])(_0x14cdd9))],_0x1e40af);let _0x5e5f1b=class extends _0x577be9[_0x38b268(0x138)]{constructor(_0x50a55b=_0x2e0eff,_0x1d85c6,_0x57de35,_0x3580d){const _0x405f96=_0x38b268;super(),this[_0x405f96(0xcb)]=_0x50a55b,this['_injector']=_0x1d85c6,this[_0x405f96(0x9c)]=_0x57de35,this[_0x405f96(0xd5)]=_0x3580d;let {..._0x27e37a}=(0x0,_0x577be9['merge'])({},_0x2e0eff,this[_0x405f96(0xcb)]);this[_0x405f96(0xd5)][_0x405f96(0x134)](_0x405f96(0xba),_0x27e37a);}[_0x38b268(0x163)](){const _0x2e47a6=_0x38b268;this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x14cdd9]),this[_0x2e47a6(0x161)][_0x2e47a6(0x93)]([_0x1e40af]),this['_injector'][_0x2e47a6(0xd8)](_0x14cdd9),this['_injector'][_0x2e47a6(0xd8)](_0x1e40af),[_0x29870c,_0x461229,_0x4a6a1b,_0x1b8f0b,_0x145bc9,_0xdc1da0,_0x3f1126,_0x45e1b4,_0x2063a6,_0x3df94c][_0x2e47a6(0x160)](_0x11e653=>this[_0x2e47a6(0x13f)](this[_0x2e47a6(0x9c)][_0x2e47a6(0xfe)](_0x11e653)));}};_0x188821(_0x5e5f1b,_0x38b268(0x135),_0x58e0f9),_0x188821(_0x5e5f1b,'packageName',_0x500b69),_0x188821(_0x5e5f1b,'version',_0x506558),_0x188821(_0x5e5f1b,'type',_0x577be9[_0x38b268(0xf9)][_0x38b268(0xfb)]),_0x5e5f1b=_0x111972([(0x0,_0x577be9[_0x38b268(0xdf)])(_0x352e5e[_0x38b268(0x133)],_0x31b33e[_0x38b268(0x107)]),_0x1d0d2c(0x1,(0x0,_0x577be9['Inject'])(_0x577be9[_0x38b268(0xab)])),_0x1d0d2c(0x2,_0x577be9[_0x38b268(0x162)]),_0x1d0d2c(0x3,_0x577be9['IConfigService'])],_0x5e5f1b),_0x5e1d62[_0x38b268(0x14d)]=_0x58e0f9,_0x5e1d62[_0x38b268(0xc9)]=_0x3f1126,_0x5e1d62[_0x38b268(0xa2)]=_0x45e1b4,_0x5e1d62[_0x38b268(0x136)]=_0x461229,_0x5e1d62[_0x38b268(0xa8)]=_0x29870c,_0x5e1d62[_0x38b268(0x15b)]=_0x14cdd9,_0x5e1d62[_0x38b268(0xde)]=_0x145bc9,_0x5e1d62[_0x38b268(0x94)]=_0x1b8f0b,_0x5e1d62[_0x38b268(0x14c)]=_0x4a6a1b,_0x5e1d62[_0x38b268(0x132)]=_0x3df94c,_0x5e1d62['SetDocsCodeConfigMutation']=_0x2063a6,Object[_0x38b268(0xec)](_0x5e1d62,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x5e5f1b;}}),_0x5e1d62[_0x38b268(0x106)]=_0x27c5ff,_0x5e1d62[_0x38b268(0x155)]=_0x553e08,_0x5e1d62[_0x38b268(0xbd)]=_0x5da2fa,_0x5e1d62[_0x38b268(0x9b)]=_0x590e98;}));function _0xf6f7(){const _0x15a5f5=['min','complete','_change$','startIndex','getSingleDataStreamChange','TABLE_CELL_START','insert-new','dataStream','_configService','135JKeult','7MxvBpL','get','Inject','direction','function','find','endsWith','DocsCodeRemoveCommand','DependentOn','@univerjs-pro/license','isHeaderFooterSelection','clear','blockId','blockType','from','2568352kqodaB','customDecorations','start','getSnapshot','IUniverInstanceService','Document\x20body\x20is\x20required','defineProperty','BLOCK_END','decorate','getBlockRangeInterval','textStyle','CODE','exports','_setResource','endOffset','deleteLength','replaceDocRanges','endIndex','TRUE','UniverInstanceType','docs-code.command.unwrap','UNIVER_DOC','unitId','containsInteriorInsertionOffset','registerCommand','filter','syncExecuteCommand','getParagraphContentStartOffsets','columnGroups','registerPluginResource','paragraphStartIndex','SECTION_BREAK','buildCancelEmptyCodeParagraphActions','UniverDocsPlugin','shiftExclusiveRangeOnDelete','BLOCK_START','model','Disposable','columns','keys','textRuns','max','95685YldOml','compose','selectionManager','getContentInsertRange','every','spaceBelow','fromEntries','object','PARAGRAPH','shiftInclusiveRangeOnDelete','reduce','isArray','toStringTag','tables','rxjs','previousDocumentData','customBlocks','@univerjs/docs','docs-code.command.exit','RichTextEditingMutation','TextX','_docsCodeModel','docs-code.mutation.remove-config','commandService','MUTATION','FALSE','6086377WJIFbv','amd','1.5.0','nextDocumentData','stringify','_resourceManagerService','DocumentBlockRangeType','getBody','RemoveDocsCodeConfigMutation','UniverLicensePlugin','setConfig','pluginName','DocsCodeInsertBelowCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Plugin','keepNext','DocSelectionManagerService','paragraphStyle','@univerjs-pro/docs-code','bullet','widowControl','disposeWithMe','config','removeCode','shiftInclusiveRangeOnInsert','getCodeConfig','_resources','UniverProLicense','handler','constructor','string','3067938ayYpkQ','map','sort','DocsCodeUpdateCommand','DOCS_CODE_PLUGIN','UniverProDocsCode','getParagraphContentStartOffset','createParagraphId','monospace','slice','2TwbDOH','set','isCodeBoundaryDelete','startOffset','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','editOp','UniverDocs','nextMetadata','DocsCodeModel','indentEnd','keepLines','javascript','default','forEach','_injector','ICommandService','onStarting','dispose','right','insertOp','metadata','retain','codes','TABLE_CELL_END','Subject','insertLength','docs-code.command.insert','parse','spaceAbove','some','BooleanNumber','getUnit','docs-code.command.cancel-empty-paragraph','add','DocsCodeUnwrapCommand','COMMAND','delete','convert-paragraph','docs-code.command.consume-boundary-delete','_initResource','removeOp','normalizeDocsCodeMetadataResource','_commandService','documentData','indexOf','insertionMode','JSONX','paragraph','DocsCodeConsumeBoundaryDeleteCommand','left','change$','4927520FTImtd','push','intersectsOperationalIntervals','DocsCodeInsertCommand','getCurrentUnitOfType','cursorOffset','Injector','prototype','next','paragraphs','endTokenOffset','customRanges','UniverCore','1031622kzXchk','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','36OEgTgb','getInstance','symbol','containsStreamIndex','getBodySliceForTextXAction','blockRanges','docs-code.config','deserialize','374230uFzmOA','normalizeDocsCodeConfig','paragraphId','CommandType','asObservable','startTokenOffset','DataStreamTreeTokenType','serialize','removeUnit','setCodeConfig','length','entries','body','DocsCodeCancelEmptyParagraphCommand','sectionBreaks','_config','generateRandomId'];_0xf6f7=function(){return _0x15a5f5;};return _0xf6f7();}
1
+ function _0x4572(_0x503a6a,_0x2d99ab){_0x503a6a=_0x503a6a-0x1eb;const _0x542fc9=_0x542f();let _0x45721c=_0x542fc9[_0x503a6a];return _0x45721c;}function _0x542f(){const _0x59ede9=['function','133136KffdQa','syncExecuteCommand','model','paragraphs','CommandType','_change$','getBlockRangeInterval','selectionManager','stringify','@univerjs/docs','Plugin','push','DataStreamTreeTokenType','docs-code.command.insert-below','COMMAND','insert-new','getUnit','shiftInclusiveRangeOnDelete','isArray','UniverCore','_injector','right','find','startIndex','clear','FALSE','RichTextEditingMutation','UNIVER_DOC','reduce','max','DocumentBlockRangeType','customBlocks','BLOCK_START','complete','3tcavuV','indentStart','replaceDocRanges','startOffset','BLOCK_END','compose','getUnitId','UniverDocsPlugin','registerPluginResource','normalizeDocsCodeConfig','decorate','_resources','forEach','sectionBreaks','min','shiftExclusiveRangeOnDelete','textStyle','_setResource','getCurrentUnitOfType','UniverLicensePlugin','handler','getParagraphsInRange','endIndex','constructor','range','1998395RiNrLd','IConfigService','entries','spaceBelow','delete','@univerjs/core','version','sort','UniverInstanceType','removeCode','map','_config','slice','setConfig','filter','normalizeDocsCodeMetadataResource','TABLE_CELL_END','Insert\x20range\x20cannot\x20cross\x20table\x20cell\x20boundaries','string','PARAGRAPH','generateRandomId','Disposable','change$','rxjs','nextDocumentData','_initResource','commandService','buildCancelEmptyCodeParagraphActions','DocsCodeInsertCommand','DocsCodeModel','insertionMode','parse','textRuns','blockType','8JNcdXY','getBody','paragraph','indentEnd','Injector','default','_commandService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','keepLines','getInstance','config','indexOf','blockId','toPrimitive','type','_resourceManagerService','paragraphStyle','dispose','tables','merge','Inject','fromEntries','symbol','containsInteriorInsertionOffset','amd','SECTION_BREAK','2593548hTZJNA','getBodySliceForTextXAction','DOC_CODE_PLUGIN','keepNext','removeUnit','852864qMKQju','isHeaderFooterSelection','createParagraphId','1730MHFgAi','insert','some','bullet','shiftInclusiveRangeOnInsert','replaceOp','body','paragraphId','shiftExclusiveRangeOnInsert','length','insertLength','cursorOffset','getParagraphContentStartOffsets','1085250bYsVem','Insert\x20range\x20cannot\x20overlap\x20an\x20existing\x20document\x20block','blockRanges','serialize','nextMetadata','CODE','get','next','_docsCodeModel','TRUE','columnGroups','DocsCodeConsumeBoundaryDeleteCommand','4119752qjBJRy','every','endTokenOffset','unitId','ICommandService','getParagraphFollowingBlockOffset','toStringTag','getOwnPropertyDescriptor','deleteLength','docs-code.config','iterator','registerCommand','getContentInsertRange','set','startTokenOffset','editOp','@univerjs-pro/docs-code','DocsCodeUnwrapCommand','customRanges','asObservable','documentData','docs-code.command.unwrap','Subject','metadata','docs-code.command.update','docs-code.mutation.set-config','DocsCodeInsertBelowCommand','BooleanNumber','dataStream','UniverProDocsCode','docs-code.command.insert','defineProperty','1.5.1','paragraphStartIndex','docs-code.mutation.remove-config','insertOp','_configService','containsStreamIndex','@univerjs-pro/license','getSnapshot','codes','start','previousDocumentData','customDecorations','MUTATION','object','pluginName','RemoveDocsCodeConfigMutation','setCodeConfig','keys','63387hOxpGe','disposeWithMe','prototype','isCodeBoundaryDelete','add','DocSelectionManagerService','getSingleDataStreamChange','docs-code.command.cancel-empty-paragraph','TABLE_CELL_START','packageName','JSONX','docs-code.command.remove','UniverDocs','deserialize','javascript','endsWith','columns','endOffset'];_0x542f=function(){return _0x59ede9;};return _0x542f();}(function(_0x8f869c,_0x373087){const _0x49e706=_0x4572,_0xeb0d06=_0x8f869c();while(!![]){try{const _0x3e1c7d=parseInt(_0x49e706(0x232))/0x1+parseInt(_0x49e706(0x2be))/0x2+parseInt(_0x49e706(0x254))/0x3*(-parseInt(_0x49e706(0x2a9))/0x4)+-parseInt(_0x49e706(0x26d))/0x5+parseInt(_0x49e706(0x2ae))/0x6+parseInt(_0x49e706(0x1ed))/0x7*(-parseInt(_0x49e706(0x28f))/0x8)+-parseInt(_0x49e706(0x21f))/0x9*(-parseInt(_0x49e706(0x2b1))/0xa);if(_0x3e1c7d===_0x373087)break;else _0xeb0d06['push'](_0xeb0d06['shift']());}catch(_0x59457b){_0xeb0d06['push'](_0xeb0d06['shift']());}}}(_0x542f,0x6197e),function(_0x1a4ab6,_0x33b4e4){const _0x90d1f3=_0x4572;typeof exports==_0x90d1f3(0x21a)&&typeof module<'u'?_0x33b4e4(exports,require('@univerjs/core'),require('rxjs'),require('@univerjs/docs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x90d1f3(0x2a7)]?define(['exports',_0x90d1f3(0x272),_0x90d1f3(0x284),_0x90d1f3(0x23b),_0x90d1f3(0x213)],_0x33b4e4):(_0x1a4ab6=typeof globalThis<'u'?globalThis:_0x1a4ab6||self,_0x33b4e4(_0x1a4ab6[_0x90d1f3(0x20a)]={},_0x1a4ab6[_0x90d1f3(0x245)],_0x1a4ab6['rxjs'],_0x1a4ab6[_0x90d1f3(0x22b)],_0x1a4ab6['UniverProLicense']));}(this,function(_0xaadb6e,_0x4e724a,_0x2df8a8,_0x5ade96,_0x44414a){const _0x433c15=_0x4572;Object[_0x433c15(0x20c)](_0xaadb6e,Symbol[_0x433c15(0x1f3)],{'value':'Module'});let _0xa52969={'language':_0x433c15(0x22d),'showLineNumbers':!0x1,'tabSize':0x4,'wrap':!0x0};function _0x478b6a(_0x32e90a){return{..._0xa52969,..._0x32e90a};}function _0x571654(_0x442a02){const _0x46e0ea=_0x433c15;let _0x50fc0f=(_0x442a02==null?void 0x0:_0x442a02[_0x46e0ea(0x215)])??{};return{'codes':Object[_0x46e0ea(0x2a4)](Object['entries'](_0x50fc0f)[_0x46e0ea(0x277)](([_0x18534c,_0x51fb77])=>[_0x18534c,_0x478b6a(_0x51fb77)]))};}function _0x22c0bc(_0x27759f,_0x3e94e7,_0x366ee2){const _0x2a2d7b=_0x433c15;let _0x28f912=_0x571654(_0x27759f);return _0x28f912[_0x2a2d7b(0x215)][_0x3e94e7]=_0x478b6a({..._0x28f912[_0x2a2d7b(0x215)][_0x3e94e7],..._0x366ee2}),_0x28f912;}function _0x48fe15(_0x1d3b27,_0x3103cf){const _0x4784b7=_0x433c15;let _0x3c89f6=_0x571654(_0x1d3b27);return delete _0x3c89f6[_0x4784b7(0x215)][_0x3103cf],_0x3c89f6;}function _0x3890c5(_0x57e4f8){'@babel/helpers - typeof';const _0x13a26d=_0x433c15;return _0x3890c5=typeof Symbol=='function'&&typeof Symbol[_0x13a26d(0x1f7)]=='symbol'?function(_0x28c42f){return typeof _0x28c42f;}:function(_0x5d3b9d){const _0x466296=_0x13a26d;return _0x5d3b9d&&typeof Symbol=='function'&&_0x5d3b9d[_0x466296(0x26b)]===Symbol&&_0x5d3b9d!==Symbol[_0x466296(0x221)]?'symbol':typeof _0x5d3b9d;},_0x3890c5(_0x57e4f8);}function _0x17d119(_0x3e0cf2,_0x12f9c6){const _0x5760e4=_0x433c15;if(_0x3890c5(_0x3e0cf2)!=_0x5760e4(0x21a)||!_0x3e0cf2)return _0x3e0cf2;var _0x1813f0;if(typeof Symbol<'u'&&(_0x1813f0=_0x3e0cf2[Symbol[_0x5760e4(0x29c)]])!==void 0x0){var _0x159ce4=_0x1813f0['call'](_0x3e0cf2,_0x12f9c6||_0x5760e4(0x294));if(_0x3890c5(_0x159ce4)!=_0x5760e4(0x21a))return _0x159ce4;throw TypeError(_0x5760e4(0x296));}return(_0x12f9c6===_0x5760e4(0x27f)?String:Number)(_0x3e0cf2);}function _0x3df546(_0x38682e){const _0x4e4caf=_0x433c15;var _0x19b9d7=_0x17d119(_0x38682e,_0x4e4caf(0x27f));return _0x3890c5(_0x19b9d7)==_0x4e4caf(0x2a5)?_0x19b9d7:_0x19b9d7+'';}function _0x20f41d(_0x4420b7,_0x37ba5c,_0x2d2a57){const _0x1fe552=_0x433c15;return(_0x37ba5c=_0x3df546(_0x37ba5c))in _0x4420b7?Object[_0x1fe552(0x20c)](_0x4420b7,_0x37ba5c,{'value':_0x2d2a57,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4420b7[_0x37ba5c]=_0x2d2a57,_0x4420b7;}var _0x1a24a9=class extends _0x4e724a['Disposable']{constructor(..._0x4b008c){const _0x2f119f=_0x433c15;super(..._0x4b008c),_0x20f41d(this,'_resources',new Map()),_0x20f41d(this,_0x2f119f(0x237),new _0x2df8a8[(_0x2f119f(0x203))]()),_0x20f41d(this,_0x2f119f(0x283),this[_0x2f119f(0x237)][_0x2f119f(0x200)]());}['getCodeConfig'](_0x3b03da,_0x4ce98a){const _0x18508d=_0x433c15;return _0x571654(this[_0x18508d(0x25f)][_0x18508d(0x2c4)](_0x3b03da))[_0x18508d(0x215)][_0x4ce98a];}['setCodeConfig'](_0x27ea52,_0x3855e5,_0x2d91a6){const _0x53ae54=_0x433c15;this[_0x53ae54(0x265)](_0x27ea52,_0x3855e5,_0x22c0bc(this[_0x53ae54(0x25f)][_0x53ae54(0x2c4)](_0x27ea52),_0x3855e5,_0x2d91a6));}[_0x433c15(0x276)](_0x4e798e,_0x4b7036){this['_setResource'](_0x4e798e,_0x4b7036,_0x48fe15(this['_resources']['get'](_0x4e798e),_0x4b7036));}[_0x433c15(0x2c1)](_0xf01383){const _0xc144c4=_0x433c15;return _0x571654(this[_0xc144c4(0x25f)][_0xc144c4(0x2c4)](_0xf01383));}[_0x433c15(0x22c)](_0x2351a7,_0x149191){const _0x393752=_0x433c15;this[_0x393752(0x25f)]['set'](_0x2351a7,_0x571654(_0x149191)),this[_0x393752(0x237)][_0x393752(0x2c5)]({'unitId':_0x2351a7});}[_0x433c15(0x2ad)](_0x3070e7){const _0x46efc9=_0x433c15;this['_resources'][_0x46efc9(0x271)](_0x3070e7),this[_0x46efc9(0x237)]['next']({'unitId':_0x3070e7});}[_0x433c15(0x2a0)](){const _0x2fd152=_0x433c15;super[_0x2fd152(0x2a0)](),this[_0x2fd152(0x25f)][_0x2fd152(0x24a)](),this[_0x2fd152(0x237)][_0x2fd152(0x253)]();}[_0x433c15(0x265)](_0x5ae9e1,_0x3b1d27,_0x52655b){const _0xff5d40=_0x433c15;this[_0xff5d40(0x25f)][_0xff5d40(0x1fa)](_0x5ae9e1,_0x52655b),this[_0xff5d40(0x237)][_0xff5d40(0x2c5)]({'unitId':_0x5ae9e1,'blockId':_0x3b1d27});}};let _0x1160da={'id':_0x433c15(0x206),'type':_0x4e724a['CommandType'][_0x433c15(0x219)],'handler':(_0x56b8ad,_0x3a8ec1)=>!(_0x3a8ec1!=null&&_0x3a8ec1[_0x433c15(0x1f0)])||!_0x3a8ec1[_0x433c15(0x29b)]?!0x1:(_0x56b8ad['get'](_0x1a24a9)[_0x433c15(0x21d)](_0x3a8ec1[_0x433c15(0x1f0)],_0x3a8ec1['blockId'],_0x3a8ec1[_0x433c15(0x299)]),!0x0)},_0x4a542f={'id':_0x433c15(0x20f),'type':_0x4e724a['CommandType'][_0x433c15(0x219)],'handler':(_0x1660de,_0x519133)=>!(_0x519133!=null&&_0x519133['unitId'])||!_0x519133[_0x433c15(0x29b)]?!0x1:(_0x1660de[_0x433c15(0x2c4)](_0x1a24a9)[_0x433c15(0x276)](_0x519133['unitId'],_0x519133[_0x433c15(0x29b)]),!0x0)},_0x3911e9='monospace';var _0x5cfa2c=class extends Error{constructor(_0x3c36ab=_0x433c15(0x27e)){super(_0x3c36ab);}};function _0x561cf1(_0x1c7f62){const _0x136dcf=_0x433c15;var _0x1b7d0e;let _0x4d9692=_0x3271b8(_0x1c7f62[_0x136dcf(0x201)]),_0x23858f=_0x4726a4(_0x4d9692),_0x4373d2=_0x5316d6(_0x1c7f62[_0x136dcf(0x257)],_0x1c7f62[_0x136dcf(0x230)]),_0x4af60d=_0x4373d2?(_0x1b7d0e=_0x23858f[_0x136dcf(0x2c0)])==null?void 0x0:_0x1b7d0e[_0x136dcf(0x248)](_0x5088f6=>{const _0x38061e=_0x136dcf;let _0x152ab2=(0x0,_0x4e724a['getBlockRangeInterval'])(_0x5088f6);return _0x152ab2['startOffset']===_0x4373d2[_0x38061e(0x257)]&&_0x152ab2[_0x38061e(0x230)]===_0x4373d2[_0x38061e(0x230)];}):void 0x0,{startOffset:_0x1c402e,endOffset:_0x4dd6ad}=_0x4af60d?_0x4373d2:_0x23f031(_0x23858f,_0x1c7f62[_0x136dcf(0x257)],_0x1c7f62[_0x136dcf(0x230)],_0x1c7f62[_0x136dcf(0x28b)]);if(!_0x4af60d&&_0x4886f3(_0x23858f,_0x1c402e,_0x4dd6ad))throw new _0x5cfa2c(_0x136dcf(0x2bf));let _0x3efb64=_0x421d5c(_0x23858f,_0x1c402e,_0x4dd6ad),_0x273ba7=(_0x4af60d==null?void 0x0:_0x4af60d['blockId'])??_0x1c7f62[_0x136dcf(0x29b)],_0x347994=_0x22c0bc(_0x1c7f62[_0x136dcf(0x204)],_0x273ba7,{..._0xa52969,..._0x1c7f62[_0x136dcf(0x299)]});if(_0x4af60d)return _0x4af60d[_0x136dcf(0x28e)]=_0x4e724a[_0x136dcf(0x250)][_0x136dcf(0x2c3)],_0x6d8d67(_0x23858f,_0x1c402e,_0x4dd6ad),_0x38580b(_0x23858f,_0x1c402e,_0x4dd6ad,_0x3efb64),_0x1b67e6(_0x23858f,_0x4af60d),{'nextDocumentData':_0x4d9692,'nextMetadata':_0x347994,'cursorOffset':_0x1c402e+0x1};if(_0x1c402e===_0x4dd6ad){var _0xe261e8,_0x2d9125;let _0x3e84e5=''+_0x4e724a[_0x136dcf(0x23e)][_0x136dcf(0x252)]+_0x4e724a[_0x136dcf(0x23e)][_0x136dcf(0x280)]+_0x4e724a['DataStreamTreeTokenType'][_0x136dcf(0x258)];_0xeb191c(_0x23858f,_0x1c402e,_0x3e84e5,{'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x4e724a[_0x136dcf(0x2b0)])(new Set((_0xe261e8=_0x23858f[_0x136dcf(0x235)])==null?void 0x0:_0xe261e8[_0x136dcf(0x277)](_0x41c44e=>_0x41c44e['paragraphId']))),'paragraphStyle':_0x482ac4(!0x0,!0x0,_0x3efb64)}],'blockRanges':[{'blockId':_0x273ba7,'blockType':_0x4e724a[_0x136dcf(0x250)][_0x136dcf(0x2c3)],'startIndex':0x0,'endIndex':_0x3e84e5[_0x136dcf(0x2ba)]-0x1}]});let _0x17e69a=(_0x2d9125=_0x23858f[_0x136dcf(0x2c0)])==null?void 0x0:_0x2d9125[_0x136dcf(0x248)](_0x39e7fa=>_0x39e7fa[_0x136dcf(0x29b)]===_0x273ba7);return _0x17e69a&&_0x1b67e6(_0x23858f,_0x17e69a),{'nextDocumentData':_0x4d9692,'nextMetadata':_0x347994,'cursorOffset':_0x1c402e+0x1};}_0xeb191c(_0x23858f,_0x4dd6ad,_0x4e724a[_0x136dcf(0x23e)][_0x136dcf(0x258)]),_0xeb191c(_0x23858f,_0x1c402e,_0x4e724a[_0x136dcf(0x23e)][_0x136dcf(0x252)]),_0x38580b(_0x23858f,_0x1c402e,_0x4dd6ad+0x1,_0x3efb64);let _0xb25aba={'blockId':_0x273ba7,'blockType':_0x4e724a[_0x136dcf(0x250)]['CODE'],'startIndex':_0x1c402e,'endIndex':_0x4dd6ad+0x1};return _0x23858f[_0x136dcf(0x2c0)]=[..._0x23858f[_0x136dcf(0x2c0)]??[],_0xb25aba][_0x136dcf(0x274)]((_0x1fe320,_0xadb64f)=>_0x1fe320[_0x136dcf(0x249)]-_0xadb64f['startIndex']),_0x1b67e6(_0x23858f,_0xb25aba),{'nextDocumentData':_0x4d9692,'nextMetadata':_0x347994,'cursorOffset':_0x1c402e+0x1};}function _0x6d8d67(_0xa1352a,_0x2aa15b,_0x5cfdbe){const _0x24eeef=_0x433c15;(_0xa1352a[_0x24eeef(0x235)]??[])[_0x24eeef(0x27b)](_0x39e166=>_0x39e166[_0x24eeef(0x249)]>_0x2aa15b&&_0x39e166[_0x24eeef(0x249)]<_0x5cfdbe)[_0x24eeef(0x260)](_0x31fb06=>{const _0x294cb6=_0x24eeef;let _0x16b623={..._0x31fb06[_0x294cb6(0x29f)]??{}};delete _0x16b623['spaceAbove'],delete _0x16b623[_0x294cb6(0x270)],_0x31fb06['paragraphStyle']=_0x16b623;});}function _0x5316d6(_0x20c0ea,_0x5a1d39){const _0x5c74bd=_0x433c15;return _0x20c0ea==null||_0x5a1d39==null||_0x20c0ea===_0x5a1d39?null:{'startOffset':Math[_0x5c74bd(0x262)](_0x20c0ea,_0x5a1d39),'endOffset':Math[_0x5c74bd(0x24f)](_0x20c0ea,_0x5a1d39)};}function _0x4886f3(_0x3f68b8,_0x3e4819,_0x3a02e2){const _0x529477=_0x433c15;return(_0x3f68b8[_0x529477(0x2c0)]??[])['some'](_0x37824c=>{const _0x337ac0=_0x529477;let _0x2ddcb3=(0x0,_0x4e724a[_0x337ac0(0x238)])(_0x37824c);return _0x3e4819===_0x3a02e2?(0x0,_0x4e724a[_0x337ac0(0x2a6)])(_0x2ddcb3,_0x3e4819):(0x0,_0x4e724a['intersectsOperationalIntervals'])(_0x2ddcb3,{'startOffset':_0x3e4819,'endOffset':_0x3a02e2});});}function _0x2a7bb3(_0x36dde2){const _0x5b1b7c=_0x433c15;return{'nextDocumentData':_0x3271b8(_0x36dde2[_0x5b1b7c(0x201)]),'nextMetadata':_0x22c0bc(_0x36dde2[_0x5b1b7c(0x204)],_0x36dde2[_0x5b1b7c(0x29b)],_0x36dde2['config']),'cursorOffset':0x0};}function _0x5ec0d0(_0x4b183c){const _0x110d58=_0x433c15;let _0x31dac4=_0x3271b8(_0x4b183c['documentData']),_0x100e05=_0x4726a4(_0x31dac4),_0x24dd41=_0x1cd171(_0x100e05,_0x4b183c[_0x110d58(0x29b)]);if(!_0x24dd41)return null;let _0x23d96e=_0x35ee65(_0x100e05,_0x24dd41);return{'nextDocumentData':_0x31dac4,'nextMetadata':_0x48fe15(_0x4b183c[_0x110d58(0x204)],_0x4b183c['blockId']),'cursorOffset':_0x23d96e};}function _0x14bb5b(_0x382295){const _0x52b74f=_0x433c15;var _0x197ca8;let _0x2673d4=_0x3271b8(_0x382295['documentData']),_0x3b8d3a=_0x4726a4(_0x2673d4),_0x2fd2c4=_0x1cd171(_0x3b8d3a,_0x382295[_0x52b74f(0x29b)]);if(!_0x2fd2c4)return null;let _0x4575f1=(0x0,_0x4e724a['getBlockRangeInterval'])(_0x2fd2c4);return _0x4338ec(_0x3b8d3a,_0x4575f1[_0x52b74f(0x257)],_0x4575f1['endOffset']),_0x3b8d3a[_0x52b74f(0x2c0)]=(_0x197ca8=_0x3b8d3a['blockRanges'])==null?void 0x0:_0x197ca8[_0x52b74f(0x27b)](_0x2917b3=>_0x2917b3[_0x52b74f(0x29b)]!==_0x382295[_0x52b74f(0x29b)]),{'nextDocumentData':_0x2673d4,'nextMetadata':_0x48fe15(_0x382295['metadata'],_0x382295[_0x52b74f(0x29b)]),'cursorOffset':_0x2fd2c4['startIndex']};}function _0x381628(_0x1ed9ff){const _0x2fb50c=_0x433c15;let _0x57c78f=_0x3271b8(_0x1ed9ff[_0x2fb50c(0x201)]),_0x303e29=_0x4726a4(_0x57c78f),_0x215d13=_0x44f2fd(_0x303e29,_0x1ed9ff[_0x2fb50c(0x2bc)]);return _0x215d13&&_0x4c62cd(_0x57c78f,_0x303e29,_0x215d13,_0x1ed9ff[_0x2fb50c(0x2bc)],_0x1ed9ff[_0x2fb50c(0x20e)])||null;}function _0x4c62cd(_0x364615,_0x25614d,_0x5ba045,_0x45b50d,_0x4ca70a){const _0x6d3b84=_0x433c15;let _0x426796=_0x41b034(_0x25614d,_0x5ba045,_0x45b50d,_0x4ca70a);if(!_0x426796)return null;let _0x403e8d=_0x426796[_0x6d3b84(0x1ef)]-0x1;return _0x4338ec(_0x25614d,_0x426796[_0x6d3b84(0x291)][_0x6d3b84(0x249)],_0x426796[_0x6d3b84(0x291)][_0x6d3b84(0x249)]+0x1),{'nextDocumentData':_0x364615,'cursorOffset':_0x403e8d};}function _0x1cd171(_0x247013,_0x2657a9){const _0x3ae58e=_0x433c15;var _0x16a3a1;return _0x247013==null||(_0x16a3a1=_0x247013['blockRanges'])==null?void 0x0:_0x16a3a1[_0x3ae58e(0x248)](_0x7620c1=>_0x7620c1[_0x3ae58e(0x28e)]===_0x4e724a['DocumentBlockRangeType'][_0x3ae58e(0x2c3)]&&_0x7620c1[_0x3ae58e(0x29b)]===_0x2657a9);}function _0x3428b5(_0x5890cd){const _0x41c433=_0x433c15;let _0x4ea5ea=_0x5890cd[_0x41c433(0x201)][_0x41c433(0x2b7)];if(!_0x4ea5ea)return!0x1;let _0x1aabb1=_0x5890cd['direction']==='left'?_0x5890cd[_0x41c433(0x2bc)]-0x1:_0x5890cd[_0x41c433(0x2bc)],_0x3fc4d7=_0x5890cd['direction']===_0x41c433(0x247)?_0x5890cd[_0x41c433(0x2bc)]+0x1:_0x1aabb1;return(_0x4ea5ea['blockRanges']??[])[_0x41c433(0x2b3)](_0x304a2b=>_0x304a2b[_0x41c433(0x28e)]===_0x4e724a[_0x41c433(0x250)][_0x41c433(0x2c3)]?_0x1aabb1===_0x304a2b['startIndex']||_0x1aabb1===_0x304a2b[_0x41c433(0x26a)]||_0x3fc4d7===_0x304a2b[_0x41c433(0x249)]||_0x3fc4d7===_0x304a2b['endIndex']:!0x1);}function _0x44f2fd(_0x41b115,_0x5ca7d5){const _0x1bb5e1=_0x433c15;var _0x3fb4fd;return(_0x3fb4fd=_0x41b115[_0x1bb5e1(0x2c0)])==null?void 0x0:_0x3fb4fd[_0x1bb5e1(0x248)](_0x21fafa=>{const _0x3f6077=_0x1bb5e1;let _0x238fba=_0x3be520(_0x21fafa);return _0x21fafa[_0x3f6077(0x28e)]===_0x4e724a[_0x3f6077(0x250)]['CODE']&&_0x21fafa[_0x3f6077(0x249)]<=_0x5ca7d5&&_0x5ca7d5<=_0x238fba+0x2;});}function _0x482ac4(_0x4b3d69,_0x3c4b2d,_0x2a41a6=!0x1){const _0x232370=_0x433c15;return{'indentEnd':{'v':0x14},'indentStart':{'v':0x14},'keepLines':_0x4e724a[_0x232370(0x208)][_0x232370(0x2c7)],'keepNext':_0x3c4b2d?_0x4e724a['BooleanNumber'][_0x232370(0x24b)]:_0x4e724a[_0x232370(0x208)][_0x232370(0x2c7)],'widowControl':_0x4e724a['BooleanNumber'][_0x232370(0x2c7)],..._0x4b3d69&&_0x2a41a6?{'spaceAbove':{'v':0x8}}:{},'textStyle':{'ff':_0x3911e9,'fs':0xc}};}function _0x38580b(_0x3e72b9,_0x599e0e,_0x372dbd,_0x56ee8f=!0x1){const _0x49d657=_0x433c15;let _0x5a0b54=(_0x3e72b9[_0x49d657(0x235)]??[])[_0x49d657(0x27b)](_0x22aa38=>_0x22aa38['startIndex']>_0x599e0e&&_0x22aa38[_0x49d657(0x249)]<_0x372dbd);_0x5a0b54[_0x49d657(0x260)]((_0x5c4ed3,_0x31f250)=>{const _0x6aa3c2=_0x49d657;_0x5c4ed3['paragraphStyle']={..._0x5c4ed3[_0x6aa3c2(0x29f)]??{},..._0x482ac4(_0x31f250===0x0,_0x31f250===_0x5a0b54[_0x6aa3c2(0x2ba)]-0x1,_0x56ee8f)};});}function _0x54c0cd(_0x4bfc8f){const _0x3ec78b=_0x433c15;var _0x66f299,_0x3696c5;let _0x404978={..._0x4bfc8f??{}};return delete _0x404978[_0x3ec78b(0x292)],delete _0x404978[_0x3ec78b(0x255)],delete _0x404978['spaceAbove'],delete _0x404978[_0x3ec78b(0x270)],delete _0x404978[_0x3ec78b(0x297)],delete _0x404978[_0x3ec78b(0x2ac)],delete _0x404978['widowControl'],((_0x66f299=_0x404978[_0x3ec78b(0x264)])==null?void 0x0:_0x66f299['ff'])===_0x3911e9&&((_0x3696c5=_0x404978[_0x3ec78b(0x264)])==null?void 0x0:_0x3696c5['fs'])===0xc&&delete _0x404978[_0x3ec78b(0x264)],_0x404978;}function _0x43efdb(_0x1a3282,_0x2a65cd){const _0x244830=_0x433c15;let _0x291c00=_0x3be520(_0x2a65cd);return(_0x1a3282[_0x244830(0x235)]??[])[_0x244830(0x27b)](_0x222982=>_0x222982[_0x244830(0x249)]>_0x2a65cd['startIndex']&&_0x222982[_0x244830(0x249)]<_0x291c00);}function _0x35ee65(_0x3edeb7,_0x2e9c92){const _0x5e1d9a=_0x433c15;var _0x1d50e1;let _0x2dfd54=_0x3be520(_0x2e9c92);return _0x43efdb(_0x3edeb7,_0x2e9c92)[_0x5e1d9a(0x260)](_0x1585c9=>{const _0x1e3288=_0x5e1d9a;_0x1585c9[_0x1e3288(0x29f)]=_0x54c0cd(_0x1585c9['paragraphStyle']);}),_0x4338ec(_0x3edeb7,_0x2dfd54,_0x2dfd54+0x1),_0x4338ec(_0x3edeb7,_0x2e9c92[_0x5e1d9a(0x249)],_0x2e9c92[_0x5e1d9a(0x249)]+0x1),_0x3edeb7['blockRanges']=(_0x1d50e1=_0x3edeb7['blockRanges'])==null?void 0x0:_0x1d50e1[_0x5e1d9a(0x27b)](_0x394227=>_0x394227[_0x5e1d9a(0x29b)]!==_0x2e9c92[_0x5e1d9a(0x29b)]),_0x2e9c92[_0x5e1d9a(0x249)];}function _0x3271b8(_0x2175c6){const _0x3a3535=_0x433c15;return{..._0x2175c6,'body':_0x2175c6['body']?_0x58932c(_0x2175c6[_0x3a3535(0x2b7)]):_0x2175c6['body']};}function _0x58932c(_0x5ee165){const _0xb8d3e=_0x433c15;var _0x3db783,_0x3b27cf,_0x233097,_0x118cdf,_0x3a6d2c,_0x3ec5a3,_0x40d51c,_0x568480,_0x3a7fab;return{..._0x5ee165,'paragraphs':(_0x3db783=_0x5ee165[_0xb8d3e(0x235)])==null?void 0x0:_0x3db783['map'](_0x231f02=>({..._0x231f02,'bullet':_0x249961(_0x231f02[_0xb8d3e(0x2b4)]),'paragraphStyle':_0x249961(_0x231f02['paragraphStyle'])})),'sectionBreaks':(_0x3b27cf=_0x5ee165[_0xb8d3e(0x261)])==null?void 0x0:_0x3b27cf[_0xb8d3e(0x277)](_0x3b7900=>({..._0x3b7900})),'textRuns':(_0x233097=_0x5ee165[_0xb8d3e(0x28d)])==null?void 0x0:_0x233097[_0xb8d3e(0x277)](_0x47e242=>({..._0x47e242})),'tables':(_0x118cdf=_0x5ee165[_0xb8d3e(0x2a1)])==null?void 0x0:_0x118cdf[_0xb8d3e(0x277)](_0x59acc3=>({..._0x59acc3})),'columnGroups':(_0x3a6d2c=_0x5ee165[_0xb8d3e(0x1eb)])==null?void 0x0:_0x3a6d2c[_0xb8d3e(0x277)](_0x15fae0=>{const _0x2bcda3=_0xb8d3e;var _0x4bd022;return{..._0x15fae0,'columns':(_0x4bd022=_0x15fae0[_0x2bcda3(0x22f)])==null?void 0x0:_0x4bd022['map'](_0x8d6113=>_0x249961(_0x8d6113))};}),'blockRanges':(_0x3ec5a3=_0x5ee165[_0xb8d3e(0x2c0)])==null?void 0x0:_0x3ec5a3[_0xb8d3e(0x277)](_0x2fb227=>({..._0x2fb227})),'customRanges':(_0x40d51c=_0x5ee165['customRanges'])==null?void 0x0:_0x40d51c['map'](_0x31cefc=>({..._0x31cefc})),'customDecorations':(_0x568480=_0x5ee165[_0xb8d3e(0x218)])==null?void 0x0:_0x568480[_0xb8d3e(0x277)](_0x5c8355=>({..._0x5c8355})),'customBlocks':(_0x3a7fab=_0x5ee165[_0xb8d3e(0x251)])==null?void 0x0:_0x3a7fab['map'](_0x1a075d=>({..._0x1a075d}))};}function _0x249961(_0x4a860e){const _0x34f8c4=_0x433c15;return Array[_0x34f8c4(0x244)](_0x4a860e)?_0x4a860e[_0x34f8c4(0x277)](_0x384d23=>_0x249961(_0x384d23)):!_0x4a860e||typeof _0x4a860e!=_0x34f8c4(0x21a)?_0x4a860e:Object[_0x34f8c4(0x2a4)](Object[_0x34f8c4(0x26f)](_0x4a860e)[_0x34f8c4(0x277)](([_0x1d3902,_0xcabcb])=>[_0x1d3902,_0x249961(_0xcabcb)]));}function _0x4726a4(_0x314487){const _0x4332cf=_0x433c15;if(!_0x314487[_0x4332cf(0x2b7)])throw Error('Document\x20body\x20is\x20required');return _0x314487[_0x4332cf(0x2b7)];}function _0x23f031(_0x3a7446,_0x4414eb,_0x458faa,_0x998f03='convert-paragraph'){const _0x558023=_0x433c15;if(_0x4414eb==null||_0x458faa==null){let _0x5d7d7e=_0x4e6474(_0x3a7446);return{'startOffset':_0x5d7d7e,'endOffset':_0x5d7d7e};}let _0x28a73a=Math[_0x558023(0x262)](_0x4414eb,_0x458faa),_0x4c79cb=Math[_0x558023(0x24f)](_0x4414eb,_0x458faa),_0x5da927=_0x35f502(_0x3a7446,_0x28a73a,_0x4c79cb);return _0x28a73a===_0x4c79cb?_0x998f03===_0x558023(0x241)?{'startOffset':_0x28a73a,'endOffset':_0x4c79cb}:_0x3cfe82(_0x3a7446,_0x28a73a,_0x5da927):_0x1723ab(_0x3a7446,_0x28a73a,_0x4c79cb,_0x5da927);}function _0x3cfe82(_0x524cdf,_0xd6b28b,_0x3a24d2){const _0x25ed86=_0x433c15;let _0x545727=_0x23778c(_0x524cdf,_0xd6b28b);if(_0x545727){let _0x20f718=_0x25af0b(_0x524cdf,_0x545727,_0x3a24d2);if(_0x20f718<_0x545727['startIndex'])return{'startOffset':_0x20f718,'endOffset':_0x3a24d2?Math['min'](_0x545727[_0x25ed86(0x249)]+0x1,_0x3a24d2['endOffset']):_0x545727[_0x25ed86(0x249)]+0x1};}let _0x42f306=_0xd6b28b===0x0&&_0x524cdf[_0x25ed86(0x209)][0x0]===_0x4e724a[_0x25ed86(0x23e)]['PARAGRAPH']?0x1:_0xd6b28b;return{'startOffset':_0x42f306,'endOffset':_0x42f306};}function _0x4e6474(_0x55571d){const _0x1cbfe5=_0x433c15;return _0x55571d[_0x1cbfe5(0x209)][_0x1cbfe5(0x22e)](_0x4e724a['DataStreamTreeTokenType'][_0x1cbfe5(0x2a8)])?Math[_0x1cbfe5(0x24f)](0x0,_0x55571d[_0x1cbfe5(0x209)][_0x1cbfe5(0x2ba)]-0x1):_0x55571d['dataStream'][_0x1cbfe5(0x2ba)];}function _0x421d5c(_0x392e0c,_0x350796,_0x58d33f){const _0x23b769=_0x433c15;var _0x58bf10;let _0x3998d7=Math[_0x23b769(0x262)](_0x350796,_0x58d33f),_0x33e9e4=Math[_0x23b769(0x24f)](_0x350796,_0x58d33f);return!!((_0x58bf10=_0x392e0c[_0x23b769(0x2a1)])!=null&&_0x58bf10[_0x23b769(0x2b3)](_0x1ecdb0=>_0x3998d7>_0x1ecdb0[_0x23b769(0x249)]&&_0x3998d7<_0x1ecdb0[_0x23b769(0x26a)]||_0x33e9e4>_0x1ecdb0[_0x23b769(0x249)]&&_0x33e9e4<_0x1ecdb0['endIndex']||_0x3998d7<=_0x1ecdb0['startIndex']&&_0x33e9e4>=_0x1ecdb0[_0x23b769(0x26a)]));}function _0x1723ab(_0xa1b40f,_0x835bce,_0xe8f0a7,_0x2a2f6c){const _0x20ade5=_0x433c15;let _0x19cc43=[..._0xa1b40f[_0x20ade5(0x235)]??[]][_0x20ade5(0x274)]((_0x468921,_0x297d22)=>_0x468921[_0x20ade5(0x249)]-_0x297d22[_0x20ade5(0x249)]),_0x1d7fbc=(0x0,_0x4e724a[_0x20ade5(0x2bd)])(_0xa1b40f),_0x14b826=_0x19cc43[_0x20ade5(0x248)](_0x3b4c62=>_0x25af0b(_0xa1b40f,_0x3b4c62,_0x2a2f6c,_0x1d7fbc)<=_0x835bce&&_0x835bce<=_0x3b4c62[_0x20ade5(0x249)]),_0x41ae17=_0x19cc43[_0x20ade5(0x248)](_0x573dba=>_0x573dba[_0x20ade5(0x249)]>=_0xe8f0a7-0x1)??_0x19cc43[_0x19cc43[_0x20ade5(0x2ba)]-0x1];return{'startOffset':_0x14b826?_0x25af0b(_0xa1b40f,_0x14b826,_0x2a2f6c,_0x1d7fbc):_0x835bce,'endOffset':_0x41ae17?_0x4d773c(_0x41ae17,_0x2a2f6c):_0xe8f0a7};}function _0x23778c(_0x4c6dff,_0xe06e48){const _0x453e14=_0x433c15;let _0x23f857=[..._0x4c6dff['paragraphs']??[]][_0x453e14(0x274)]((_0x97619c,_0x41e8b)=>_0x97619c['startIndex']-_0x41e8b[_0x453e14(0x249)]),_0x22a192=(0x0,_0x4e724a['getParagraphContentStartOffsets'])(_0x4c6dff);return _0x23f857[_0x453e14(0x248)](_0xa56152=>(_0x22a192['get'](_0xa56152[_0x453e14(0x249)])??0x0)<=_0xe06e48&&_0xe06e48<=_0xa56152[_0x453e14(0x249)]);}function _0x25af0b(_0x5a4581,_0x2af06b,_0x1f875f,_0x10d315){const _0x149589=_0x433c15;let _0x47d8ec=(_0x10d315==null?void 0x0:_0x10d315[_0x149589(0x2c4)](_0x2af06b[_0x149589(0x249)]))??(0x0,_0x4e724a['getParagraphContentStartOffset'])(_0x5a4581,_0x2af06b);return _0x1f875f?Math[_0x149589(0x24f)](_0x47d8ec,_0x1f875f['startOffset']):_0x47d8ec;}function _0x4d773c(_0x4b63a2,_0x7eb5e8){const _0x63a858=_0x433c15;let _0x185fba=_0x4b63a2[_0x63a858(0x249)]+0x1;return _0x7eb5e8?Math[_0x63a858(0x262)](_0x185fba,_0x7eb5e8[_0x63a858(0x230)]):_0x185fba;}function _0x35f502(_0x5982de,_0x4e149e,_0x3fe063){const _0x3d42d5=_0x433c15;let _0x25b3f0=_0x4c595d(_0x5982de,_0x4e149e),_0x2e2bee=_0x4c595d(_0x5982de,_0x4e149e===_0x3fe063?_0x3fe063:Math[_0x3d42d5(0x24f)](_0x4e149e,_0x3fe063-0x1));if(_0x25b3f0||_0x2e2bee){if(!_0x25b3f0||!_0x2e2bee||_0x25b3f0[_0x3d42d5(0x1fb)]!==_0x2e2bee[_0x3d42d5(0x1fb)]||_0x25b3f0[_0x3d42d5(0x1ef)]!==_0x2e2bee[_0x3d42d5(0x1ef)])throw new _0x5cfa2c();return _0x25b3f0;}}function _0x4c595d(_0x58b32d,_0x48b6ef){const _0x1efa76=_0x433c15;let _0x535dd7=_0x58b32d[_0x1efa76(0x209)],_0x33055a=-0x1;for(let _0x3d5760=Math[_0x1efa76(0x262)](_0x48b6ef,_0x535dd7[_0x1efa76(0x2ba)]-0x1);_0x3d5760>=0x0;_0x3d5760--){let _0x43d238=_0x535dd7[_0x3d5760];if(_0x43d238===_0x4e724a[_0x1efa76(0x23e)][_0x1efa76(0x27d)])return;if(_0x43d238===_0x4e724a[_0x1efa76(0x23e)][_0x1efa76(0x227)]){_0x33055a=_0x3d5760;break;}}if(_0x33055a<0x0)return;let _0x286a91=_0x535dd7[_0x1efa76(0x29a)](_0x4e724a[_0x1efa76(0x23e)][_0x1efa76(0x27d)],_0x33055a+0x1);if(!(_0x286a91<0x0||_0x48b6ef<_0x33055a+0x1||_0x48b6ef>_0x286a91-0x1))return{'startOffset':_0x33055a+0x1,'endOffset':Math['max'](_0x33055a+0x1,_0x286a91-0x1),'startTokenOffset':_0x33055a,'endTokenOffset':_0x286a91};}function _0x3be520(_0x14fa2c){const _0xa06dd7=_0x433c15;return(0x0,_0x4e724a[_0xa06dd7(0x238)])(_0x14fa2c)[_0xa06dd7(0x230)]-0x1;}function _0x41b034(_0x222bd8,_0x4d9eb4,_0x9af92e,_0x1ac949){const _0xa9e6f7=_0x433c15;let _0x411e77=_0x3be520(_0x4d9eb4),_0x8bbbb0=(_0x222bd8['paragraphs']??[])[_0xa9e6f7(0x248)](_0xa7f7a9=>_0xa7f7a9['startIndex']===_0x411e77+0x1);if(!_0x8bbbb0||_0x1ac949!=null&&_0x8bbbb0[_0xa9e6f7(0x249)]!==_0x1ac949||_0x9af92e!=null&&(_0x9af92e<_0x411e77||_0x9af92e>_0x8bbbb0[_0xa9e6f7(0x249)]+0x1)||_0x222bd8['dataStream'][_0x8bbbb0[_0xa9e6f7(0x249)]]!==_0x4e724a['DataStreamTreeTokenType'][_0xa9e6f7(0x280)])return null;let _0x59b1c9=(0x0,_0x4e724a['getParagraphContentStartOffset'])(_0x222bd8,_0x8bbbb0),_0x2341c2=_0x222bd8[_0xa9e6f7(0x209)][_0xa9e6f7(0x279)](_0x59b1c9,_0x8bbbb0[_0xa9e6f7(0x249)]);return Array['from'](_0x2341c2)[_0xa9e6f7(0x1ee)](_0x1aecf4=>_0x1aecf4===_0x4e724a[_0xa9e6f7(0x23e)][_0xa9e6f7(0x258)])?{'paragraph':_0x8bbbb0,'endTokenOffset':_0x411e77}:null;}function _0x1b67e6(_0x251975,_0x292bd9){const _0x486a86=_0x433c15;var _0x203df0;let _0x22f40e=_0x3be520(_0x292bd9),_0x387590=_0x251975[_0x486a86(0x209)][_0x22f40e+0x1];(_0x387590===_0x4e724a[_0x486a86(0x23e)][_0x486a86(0x2a8)]||_0x387590===void 0x0)&&_0xeb191c(_0x251975,_0x22f40e+0x1,_0x4e724a[_0x486a86(0x23e)][_0x486a86(0x280)],{'paragraphs':[{'startIndex':0x0,'paragraphId':(0x0,_0x4e724a['createParagraphId'])(new Set((_0x203df0=_0x251975[_0x486a86(0x235)])==null?void 0x0:_0x203df0[_0x486a86(0x277)](_0x356805=>_0x356805[_0x486a86(0x2b8)])))}]});}function _0xeb191c(_0x5813cb,_0x1f6d99,_0x26c67a,_0x300184={}){const _0xaae89=_0x433c15;var _0x1ce4bd,_0x3ba9ad;_0x26c67a&&(_0x5813cb[_0xaae89(0x209)]=''+_0x5813cb[_0xaae89(0x209)][_0xaae89(0x279)](0x0,_0x1f6d99)+_0x26c67a+_0x5813cb['dataStream']['slice'](_0x1f6d99),_0x1d07e0(_0x5813cb,_0x1f6d99,_0x26c67a['length']),(_0x1ce4bd=_0x300184[_0xaae89(0x235)])!=null&&_0x1ce4bd[_0xaae89(0x2ba)]&&(_0x5813cb[_0xaae89(0x235)]=[..._0x5813cb['paragraphs']??[],..._0x300184[_0xaae89(0x235)][_0xaae89(0x277)](_0x2cbf42=>({..._0x2cbf42,'startIndex':_0x2cbf42[_0xaae89(0x249)]+_0x1f6d99}))][_0xaae89(0x274)]((_0x8d6e15,_0x56e2cc)=>_0x8d6e15['startIndex']-_0x56e2cc[_0xaae89(0x249)])),(_0x3ba9ad=_0x300184['blockRanges'])!=null&&_0x3ba9ad['length']&&(_0x5813cb[_0xaae89(0x2c0)]=[..._0x5813cb['blockRanges']??[],..._0x300184[_0xaae89(0x2c0)][_0xaae89(0x277)](_0x5a4d3a=>({..._0x5a4d3a,'startIndex':_0x5a4d3a[_0xaae89(0x249)]+_0x1f6d99,'endIndex':_0x5a4d3a[_0xaae89(0x26a)]+_0x1f6d99}))]['sort']((_0x72b014,_0x4f5238)=>_0x72b014['startIndex']-_0x4f5238[_0xaae89(0x249)])));}function _0x4338ec(_0x38f0dc,_0x48e9a1,_0x421789){const _0x1e077f=_0x433c15;let _0x23b244=_0x421789-_0x48e9a1;_0x38f0dc[_0x1e077f(0x209)]=''+_0x38f0dc[_0x1e077f(0x209)][_0x1e077f(0x279)](0x0,_0x48e9a1)+_0x38f0dc[_0x1e077f(0x209)][_0x1e077f(0x279)](_0x421789),_0x52a426(_0x38f0dc,_0x48e9a1,_0x23b244);}function _0x1d07e0(_0x3378a4,_0x380a68,_0x43f1d7){const _0x4c1eaa=_0x433c15;_0x3378a4[_0x4c1eaa(0x235)]=_0x117086(_0x3378a4['paragraphs'],_0x380a68,_0x43f1d7),_0x3378a4[_0x4c1eaa(0x261)]=_0x117086(_0x3378a4[_0x4c1eaa(0x261)],_0x380a68,_0x43f1d7),_0x3378a4['customBlocks']=_0x117086(_0x3378a4['customBlocks'],_0x380a68,_0x43f1d7),_0x3378a4[_0x4c1eaa(0x28d)]=_0x4be7e1(_0x3378a4['textRuns'],_0x380a68,_0x43f1d7),_0x3378a4[_0x4c1eaa(0x2a1)]=_0x4d1440(_0x3378a4[_0x4c1eaa(0x2a1)],_0x380a68,_0x43f1d7),_0x3378a4['columnGroups']=_0x116447(_0x3378a4[_0x4c1eaa(0x1eb)],_0x380a68,_0x43f1d7),_0x3378a4['customRanges']=_0x116447(_0x3378a4[_0x4c1eaa(0x1ff)],_0x380a68,_0x43f1d7),_0x3378a4['customDecorations']=_0x116447(_0x3378a4[_0x4c1eaa(0x218)],_0x380a68,_0x43f1d7),_0x3378a4[_0x4c1eaa(0x2c0)]=_0x116447(_0x3378a4[_0x4c1eaa(0x2c0)],_0x380a68,_0x43f1d7);}function _0x52a426(_0x10538c,_0x1f966d,_0x387739){const _0x101400=_0x433c15;var _0x9abea2,_0x49eb7e;_0x10538c[_0x101400(0x235)]=_0xa936ec(_0x10538c['paragraphs'],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x261)]=_0xa936ec(_0x10538c[_0x101400(0x261)],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x251)]=_0xa936ec(_0x10538c[_0x101400(0x251)],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x28d)]=(_0x9abea2=_0x69c293((_0x49eb7e=_0x10538c['textRuns'])==null?void 0x0:_0x49eb7e[_0x101400(0x277)](_0x2b291c=>({..._0x2b291c,'startIndex':_0x2b291c['st'],'endIndex':_0x2b291c['ed']})),_0x1f966d,_0x387739))==null?void 0x0:_0x9abea2['map'](_0x3701d9=>{let {startIndex:_0x5db9e5,endIndex:_0x44a1e3,..._0x176d40}=_0x3701d9;return{..._0x176d40,'st':_0x5db9e5,'ed':_0x44a1e3};}),_0x10538c['tables']=_0x69c293(_0x10538c[_0x101400(0x2a1)],_0x1f966d,_0x387739),_0x10538c['columnGroups']=_0x184eb2(_0x10538c[_0x101400(0x1eb)],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x1ff)]=_0x184eb2(_0x10538c['customRanges'],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x218)]=_0x184eb2(_0x10538c[_0x101400(0x218)],_0x1f966d,_0x387739),_0x10538c[_0x101400(0x2c0)]=_0x184eb2(_0x10538c['blockRanges'],_0x1f966d,_0x387739);}function _0x117086(_0x1e6f65,_0x1cf6b6,_0xa39daf){const _0x42fafd=_0x433c15;return _0x1e6f65==null?void 0x0:_0x1e6f65[_0x42fafd(0x277)](_0x301cb7=>_0x301cb7[_0x42fafd(0x249)]>=_0x1cf6b6?{..._0x301cb7,'startIndex':_0x301cb7['startIndex']+_0xa39daf}:_0x301cb7);}function _0xa936ec(_0xd27074,_0x9e76a0,_0x1c97f8){const _0x427b62=_0x433c15;let _0x17382a=_0x9e76a0+_0x1c97f8;return _0xd27074==null?void 0x0:_0xd27074['map'](_0x230a6b=>_0x230a6b[_0x427b62(0x249)]>=_0x9e76a0&&_0x230a6b[_0x427b62(0x249)]<_0x17382a?null:_0x230a6b[_0x427b62(0x249)]>=_0x17382a?{..._0x230a6b,'startIndex':_0x230a6b[_0x427b62(0x249)]-_0x1c97f8}:_0x230a6b)[_0x427b62(0x27b)](_0x44938d=>_0x44938d!=null);}function _0x4be7e1(_0x567252,_0x2166f2,_0x3def31){const _0x2c871f=_0x433c15;return _0x567252==null?void 0x0:_0x567252[_0x2c871f(0x277)](_0x11a251=>_0x11a251['st']>=_0x2166f2?{..._0x11a251,'st':_0x11a251['st']+_0x3def31,'ed':_0x11a251['ed']+_0x3def31}:_0x11a251['ed']>_0x2166f2?{..._0x11a251,'ed':_0x11a251['ed']+_0x3def31}:_0x11a251);}function _0x116447(_0x1786b0,_0x25c5cb,_0x93e1f0){const _0x54c847=_0x433c15;return _0x1786b0==null?void 0x0:_0x1786b0[_0x54c847(0x277)](_0x3e522c=>(0x0,_0x4e724a[_0x54c847(0x2b5)])(_0x3e522c,_0x25c5cb,_0x93e1f0));}function _0x4d1440(_0x16adfc,_0x5bf59e,_0x3e206c){const _0x1bdce2=_0x433c15;return _0x16adfc==null?void 0x0:_0x16adfc[_0x1bdce2(0x277)](_0x307371=>(0x0,_0x4e724a[_0x1bdce2(0x2b9)])(_0x307371,_0x5bf59e,_0x3e206c));}function _0x184eb2(_0x3dfebc,_0x180c50,_0x58ac0d){const _0x39b69a=_0x433c15;return _0x3dfebc==null?void 0x0:_0x3dfebc[_0x39b69a(0x277)](_0x284ce0=>(0x0,_0x4e724a[_0x39b69a(0x243)])(_0x284ce0,_0x180c50,_0x58ac0d))[_0x39b69a(0x27b)](_0x509b15=>_0x509b15!=null);}function _0x69c293(_0xf72e86,_0x5a22c9,_0x6ad8a){const _0x17223c=_0x433c15;return _0xf72e86==null?void 0x0:_0xf72e86[_0x17223c(0x277)](_0xc6021d=>(0x0,_0x4e724a[_0x17223c(0x263)])(_0xc6021d,_0x5a22c9,_0x6ad8a))[_0x17223c(0x27b)](_0x421917=>_0x421917!=null);}let _0x1eb4d6={'id':_0x433c15(0x23f),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':_0x211475=>{const _0x4b5285=_0x433c15;var _0x1bc07f;if((0x0,_0x5ade96[_0x4b5285(0x2af)])(_0x4e0d91(_0x211475)))return!0x1;let _0x2d58e5=(0x0,_0x5ade96[_0x4b5285(0x1f9)])(_0x211475);if(_0x2d58e5)return _0x211475[_0x4b5285(0x2c4)](_0x4e724a[_0x4b5285(0x1f1)])['syncExecuteCommand'](_0x2c70d6['id'],{'startOffset':_0x2d58e5[_0x4b5285(0x257)],'endOffset':_0x2d58e5[_0x4b5285(0x230)],'insertionMode':_0x4b5285(0x241),'unitId':_0x2d58e5['unitId']});let _0x5d6604=_0x3fe14d(_0x211475);if(!_0x5d6604)return!0x1;let _0x114cc4=(_0x1bc07f=_0x211475[_0x4b5285(0x2c4)](_0x4e724a['IUniverInstanceService'])[_0x4b5285(0x266)](_0x4e724a[_0x4b5285(0x275)]['UNIVER_DOC']))==null?void 0x0:_0x1bc07f[_0x4b5285(0x290)](),_0x98af37=_0x114cc4?(0x0,_0x4e724a[_0x4b5285(0x1f2)])(_0x114cc4,_0x5d6604):_0x5d6604[_0x4b5285(0x249)]+0x1;return _0x211475[_0x4b5285(0x2c4)](_0x4e724a[_0x4b5285(0x1f1)])['syncExecuteCommand'](_0x2c70d6['id'],{'startOffset':_0x98af37,'endOffset':_0x98af37});}},_0x29342f={'id':'docs-code.command.consume-boundary-delete','type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':()=>!0x0},_0x2c70d6={'id':_0x433c15(0x20b),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x489cea,_0x3ff35f)=>{const _0x2f5f8d=_0x433c15;let _0x25c1b5=_0x57a5cf(_0x489cea,_0x3ff35f==null?void 0x0:_0x3ff35f[_0x2f5f8d(0x1f0)]);if(!_0x25c1b5)return!0x1;let _0x239d58=_0x4e0d91(_0x489cea);if((0x0,_0x5ade96[_0x2f5f8d(0x2af)])(_0x239d58))return!0x1;let _0xcee9d7=_0x25c1b5[_0x2f5f8d(0x234)][_0x2f5f8d(0x2c1)](_0x25c1b5[_0x2f5f8d(0x1f0)]),_0x2aacfb=_0x150dc3(_0x3ff35f,_0x239d58),_0x4ce0cb=_0x1754ac(_0x25c1b5['previousDocumentData'],_0x2aacfb);if(_0x4ce0cb){if(_0x4ce0cb[_0x2f5f8d(0x28e)]!==_0x4e724a[_0x2f5f8d(0x250)][_0x2f5f8d(0x2c3)])return!0x1;let _0x553b6e=_0x5ec0d0({'blockId':_0x4ce0cb['blockId'],'documentData':_0x25c1b5['previousDocumentData'],'metadata':_0xcee9d7});if(!_0x553b6e)return!0x1;let _0x51ffe3=_0x3fd007(_0x25c1b5['commandService'],_0x25c1b5['selectionManager'],_0x25c1b5[_0x2f5f8d(0x1f0)],_0x25c1b5[_0x2f5f8d(0x217)],_0x553b6e[_0x2f5f8d(0x285)],_0x2c70d6['id'],_0x553b6e[_0x2f5f8d(0x2bc)]);return _0x51ffe3&&_0x553b6e[_0x2f5f8d(0x2c2)]&&_0x25c1b5[_0x2f5f8d(0x234)][_0x2f5f8d(0x22c)](_0x25c1b5[_0x2f5f8d(0x1f0)],_0x553b6e[_0x2f5f8d(0x2c2)]),_0x51ffe3;}let _0x37d14e=(_0x3ff35f==null?void 0x0:_0x3ff35f[_0x2f5f8d(0x29b)])??(0x0,_0x4e724a[_0x2f5f8d(0x281)])(0x6),_0x2395d9;try{_0x2395d9=_0x561cf1({'blockId':_0x37d14e,'config':_0x3ff35f==null?void 0x0:_0x3ff35f['config'],'documentData':_0x25c1b5[_0x2f5f8d(0x217)],'endOffset':_0x2aacfb==null?void 0x0:_0x2aacfb[_0x2f5f8d(0x230)],'insertionMode':_0x3ff35f==null?void 0x0:_0x3ff35f[_0x2f5f8d(0x28b)],'metadata':_0xcee9d7,'startOffset':_0x2aacfb==null?void 0x0:_0x2aacfb[_0x2f5f8d(0x257)]});}catch(_0x112462){if(_0x112462 instanceof _0x5cfa2c)return!0x1;throw _0x112462;}let _0x2b871f=_0x3fd007(_0x25c1b5['commandService'],_0x25c1b5['selectionManager'],_0x25c1b5[_0x2f5f8d(0x1f0)],_0x25c1b5[_0x2f5f8d(0x217)],_0x2395d9[_0x2f5f8d(0x285)],_0x2c70d6['id'],_0x2395d9[_0x2f5f8d(0x2bc)]);return _0x2b871f&&_0x2395d9[_0x2f5f8d(0x2c2)]&&_0x25c1b5['model']['deserialize'](_0x25c1b5[_0x2f5f8d(0x1f0)],_0x2395d9[_0x2f5f8d(0x2c2)]),_0x2b871f;}},_0x1ba125={'id':_0x433c15(0x205),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x80fb8f,_0x4c20f2)=>{const _0x176776=_0x433c15;if(!_0x4c20f2)return!0x1;let _0x5563a0=_0x57a5cf(_0x80fb8f,_0x4c20f2[_0x176776(0x1f0)]);if(!_0x5563a0)return!0x1;let _0x1d4a8d=_0x2a7bb3({'blockId':_0x4c20f2['blockId'],'config':_0x4c20f2[_0x176776(0x299)],'documentData':_0x5563a0[_0x176776(0x217)],'metadata':_0x5563a0[_0x176776(0x234)][_0x176776(0x2c1)](_0x5563a0[_0x176776(0x1f0)])});return _0x1d4a8d[_0x176776(0x2c2)]&&_0x5563a0['model'][_0x176776(0x22c)](_0x5563a0[_0x176776(0x1f0)],_0x1d4a8d[_0x176776(0x2c2)]),!0x0;}},_0x1084dd={'id':'docs-code.command.exit','type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x3438ee,_0xcaa3a)=>_0x1f2f9b[_0x433c15(0x268)](_0x3438ee,_0xcaa3a)},_0x1f2f9b={'id':_0x433c15(0x202),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x3f4f70,_0xa8468d)=>{const _0x4ae592=_0x433c15;if(!_0xa8468d)return!0x1;let _0x1d6af5=_0x57a5cf(_0x3f4f70,_0xa8468d==null?void 0x0:_0xa8468d[_0x4ae592(0x1f0)]);if(!_0x1d6af5)return!0x1;let _0x528e5e=_0x5ec0d0({'blockId':_0xa8468d[_0x4ae592(0x29b)],'documentData':_0x1d6af5['previousDocumentData'],'metadata':_0x1d6af5[_0x4ae592(0x234)]['serialize'](_0x1d6af5['unitId'])});if(!_0x528e5e)return!0x1;let _0x1a13b1=_0x3fd007(_0x1d6af5[_0x4ae592(0x287)],_0x1d6af5[_0x4ae592(0x239)],_0x1d6af5[_0x4ae592(0x1f0)],_0x1d6af5[_0x4ae592(0x217)],_0x528e5e[_0x4ae592(0x285)],_0x1f2f9b['id'],_0x528e5e[_0x4ae592(0x2bc)]);return _0x1a13b1&&_0x528e5e[_0x4ae592(0x2c2)]&&_0x1d6af5['model'][_0x4ae592(0x22c)](_0x1d6af5['unitId'],_0x528e5e[_0x4ae592(0x2c2)]),_0x1a13b1;}},_0x467675={'id':_0x433c15(0x22a),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x2c8890,_0x8d0d1c)=>{const _0x3e4957=_0x433c15;if(!_0x8d0d1c)return!0x1;let _0x37d58a=_0x57a5cf(_0x2c8890,_0x8d0d1c==null?void 0x0:_0x8d0d1c[_0x3e4957(0x1f0)]);if(!_0x37d58a)return!0x1;let _0x435b34=_0x14bb5b({'blockId':_0x8d0d1c[_0x3e4957(0x29b)],'documentData':_0x37d58a[_0x3e4957(0x217)],'metadata':_0x37d58a['model'][_0x3e4957(0x2c1)](_0x37d58a['unitId'])});if(!_0x435b34)return!0x1;let _0xb41cee=_0x3fd007(_0x37d58a[_0x3e4957(0x287)],_0x37d58a['selectionManager'],_0x37d58a['unitId'],_0x37d58a[_0x3e4957(0x217)],_0x435b34['nextDocumentData'],_0x467675['id'],_0x435b34[_0x3e4957(0x2bc)]);return _0xb41cee&&_0x435b34[_0x3e4957(0x2c2)]&&_0x37d58a[_0x3e4957(0x234)]['deserialize'](_0x37d58a[_0x3e4957(0x1f0)],_0x435b34[_0x3e4957(0x2c2)]),_0xb41cee;}},_0x1c45d7={'id':_0x433c15(0x226),'type':_0x4e724a[_0x433c15(0x236)][_0x433c15(0x240)],'handler':(_0x536b3e,_0x1573fb)=>{const _0xae9ad9=_0x433c15;var _0x2f71e6;let _0x1d26ce=_0x57a5cf(_0x536b3e,_0x1573fb==null?void 0x0:_0x1573fb[_0xae9ad9(0x1f0)]);if(!_0x1d26ce)return!0x1;let _0x256d1b=(_0x1573fb==null?void 0x0:_0x1573fb[_0xae9ad9(0x2bc)])??((_0x2f71e6=_0x4e0d91(_0x536b3e))==null?void 0x0:_0x2f71e6['startOffset']);if(_0x256d1b==null)return!0x1;let _0x14b3b5=_0x381628({'cursorOffset':_0x256d1b,'documentData':_0x1d26ce[_0xae9ad9(0x217)],'paragraphStartIndex':_0x1573fb==null?void 0x0:_0x1573fb[_0xae9ad9(0x20e)]});return _0x14b3b5?_0x3fd007(_0x1d26ce[_0xae9ad9(0x287)],_0x1d26ce[_0xae9ad9(0x239)],_0x1d26ce['unitId'],_0x1d26ce['previousDocumentData'],_0x14b3b5['nextDocumentData'],_0x1c45d7['id'],_0x14b3b5['cursorOffset']):!0x1;}};function _0x57a5cf(_0x1b4607,_0x2c2e8a){const _0x2598a4=_0x433c15;let _0x5aafc0=_0x1b4607[_0x2598a4(0x2c4)](_0x4e724a['IUniverInstanceService']),_0x1dc082=_0x2c2e8a?_0x5aafc0[_0x2598a4(0x242)](_0x2c2e8a,_0x4e724a['UniverInstanceType']['UNIVER_DOC']):_0x5aafc0['getCurrentUnitOfType'](_0x4e724a[_0x2598a4(0x275)][_0x2598a4(0x24d)]);return _0x1dc082?{'commandService':_0x1b4607[_0x2598a4(0x2c4)](_0x4e724a[_0x2598a4(0x1f1)]),'model':_0x1b4607[_0x2598a4(0x2c4)](_0x1a24a9),'previousDocumentData':_0x1dc082[_0x2598a4(0x214)](),'selectionManager':_0x1b4607[_0x2598a4(0x2c4)](_0x5ade96[_0x2598a4(0x224)]),'unitId':_0x1dc082[_0x2598a4(0x25a)]()}:null;}function _0x4e0d91(_0x635859){const _0x4ccfc7=_0x433c15;var _0x207e38;return(_0x207e38=_0x635859[_0x4ccfc7(0x2c4)](_0x5ade96[_0x4ccfc7(0x224)])['getTextRanges']())==null?void 0x0:_0x207e38[0x0];}function _0x150dc3(_0x3da586,_0x5971dd){const _0x2de153=_0x433c15;let _0x53bb02=(_0x3da586==null?void 0x0:_0x3da586[_0x2de153(0x257)])??(_0x5971dd==null?void 0x0:_0x5971dd[_0x2de153(0x257)]),_0x5eb971=(_0x3da586==null?void 0x0:_0x3da586[_0x2de153(0x230)])??(_0x5971dd==null?void 0x0:_0x5971dd[_0x2de153(0x230)]);if(_0x53bb02!=null&&_0x5eb971!=null)return{'endOffset':Math[_0x2de153(0x24f)](_0x53bb02,_0x5eb971),'startOffset':Math[_0x2de153(0x262)](_0x53bb02,_0x5eb971)};}function _0x1754ac(_0x3d6a28,_0x469105){const _0x3c91bc=_0x433c15;var _0x108a6b;if(!_0x469105)return;let _0x411951=_0x14e8fa(_0x469105);return(_0x108a6b=_0x3d6a28[_0x3c91bc(0x2b7)])==null||(_0x108a6b=_0x108a6b['blockRanges'])==null?void 0x0:_0x108a6b[_0x3c91bc(0x248)](_0x26b2a2=>{const _0x23eb35=_0x3c91bc;let _0x2f5270=(0x0,_0x4e724a[_0x23eb35(0x238)])(_0x26b2a2);return _0x469105[_0x23eb35(0x257)]===_0x469105[_0x23eb35(0x230)]?(0x0,_0x4e724a['containsInteriorInsertionOffset'])(_0x2f5270,_0x411951):(0x0,_0x4e724a[_0x23eb35(0x212)])(_0x2f5270,_0x411951);});}function _0x14e8fa(_0x4e5ae4){const _0xdb42c8=_0x433c15;return _0x4e5ae4[_0xdb42c8(0x257)]===_0x4e5ae4[_0xdb42c8(0x230)]?_0x4e5ae4[_0xdb42c8(0x257)]:_0x4e5ae4[_0xdb42c8(0x257)]+0x1;}function _0x3fe14d(_0x349cb7){const _0x188726=_0x433c15;let _0x38fdf6=_0x4e0d91(_0x349cb7);if(!_0x38fdf6)return null;let _0x4593e0=_0x349cb7['get'](_0x4e724a['IUniverInstanceService'])[_0x188726(0x266)](_0x4e724a[_0x188726(0x275)][_0x188726(0x24d)]),_0x3a9dca=_0x4593e0==null?void 0x0:_0x4593e0[_0x188726(0x290)]();return _0x3a9dca?_0x4e724a['BuildTextUtils'][_0x188726(0x26c)][_0x188726(0x269)](_0x38fdf6,_0x3a9dca[_0x188726(0x235)]??[],_0x3a9dca[_0x188726(0x209)]??'')[0x0]??null:null;}function _0x1ce495(_0x5e6f4e,_0x10e72e){const _0x1cd4a6=_0x433c15;let _0x391567=_0x5e6f4e['body'],_0x3ce1f8=_0x10e72e[_0x1cd4a6(0x2b7)],_0x401992=(0x0,_0x4e724a[_0x1cd4a6(0x225)])(_0x391567,_0x3ce1f8);return[_0x401992&&_0x3ce1f8?_0xb95cde(_0x3ce1f8,_0x401992):null,_0x401992?null:_0x41ec85(_0x391567,_0x3ce1f8)]['filter'](Boolean)[_0x1cd4a6(0x24e)]((_0x53cf6f,_0x2b95f2)=>_0x4e724a[_0x1cd4a6(0x229)][_0x1cd4a6(0x259)](_0x53cf6f,_0x2b95f2),null);}function _0xb95cde(_0xc9f8f7,_0x583002){const _0x2df1a4=_0x433c15;let _0x1ecc77=new _0x4e724a['TextX']();return _0x1ecc77['retain'](_0x583002[_0x2df1a4(0x216)]),_0x583002[_0x2df1a4(0x2bb)]>0x0&&_0x1ecc77[_0x2df1a4(0x2b2)](_0x583002[_0x2df1a4(0x2bb)],(0x0,_0x4e724a[_0x2df1a4(0x2aa)])(_0xc9f8f7,_0x583002['start'],_0x583002[_0x2df1a4(0x216)]+_0x583002[_0x2df1a4(0x2bb)],!0x1)),_0x583002[_0x2df1a4(0x1f5)]>0x0&&_0x1ecc77['delete'](_0x583002[_0x2df1a4(0x1f5)]),_0x4e724a['JSONX'][_0x2df1a4(0x298)]()[_0x2df1a4(0x1fc)](_0x1ecc77[_0x2df1a4(0x2c1)](),['body']);}function _0x41ec85(_0x196ae5,_0x42c57e){const _0x162460=_0x433c15;let _0x1c055e=[],_0x3a1b04=_0x196ae5?_0x192849(_0x196ae5):void 0x0,_0x85ab81=_0x42c57e?_0x192849(_0x42c57e):void 0x0;for(let _0x221794 of _0x443f14)_0x353a8d(_0x4e724a[_0x162460(0x229)][_0x162460(0x298)](),[_0x162460(0x2b7),_0x221794],_0x3a1b04==null?void 0x0:_0x3a1b04[_0x221794],_0x85ab81==null?void 0x0:_0x85ab81[_0x221794],_0x1c055e);return _0x1c055e[_0x162460(0x24e)]((_0x147e95,_0x10d172)=>_0x4e724a[_0x162460(0x229)][_0x162460(0x259)](_0x147e95,_0x10d172),null);}let _0x443f14=[_0x433c15(0x235),_0x433c15(0x261),'tables',_0x433c15(0x1eb),_0x433c15(0x2c0),_0x433c15(0x251),_0x433c15(0x1ff),_0x433c15(0x218),_0x433c15(0x28d)];function _0x192849(_0x2baaf7){return _0x2baaf7;}function _0x353a8d(_0x4549ea,_0x5e6c1c,_0x4f7c95,_0x345c21,_0x229a5d){const _0x3a9335=_0x433c15;_0x53f87c(_0x4f7c95,_0x345c21)||(_0x4f7c95==null?_0x229a5d['push'](_0x4549ea[_0x3a9335(0x210)](_0x5e6c1c,_0x345c21)):_0x345c21==null?_0x229a5d['push'](_0x4549ea['removeOp'](_0x5e6c1c,_0x4f7c95)):Array[_0x3a9335(0x244)](_0x4f7c95)&&Array[_0x3a9335(0x244)](_0x345c21)?_0x4510e2(_0x4549ea,_0x5e6c1c,_0x4f7c95,_0x345c21,_0x229a5d):_0x1ffcb6(_0x4f7c95)&&_0x1ffcb6(_0x345c21)?new Set([...Object[_0x3a9335(0x21e)](_0x4f7c95),...Object['keys'](_0x345c21)])[_0x3a9335(0x260)](_0x3b944c=>{_0x353a8d(_0x4549ea,[..._0x5e6c1c,_0x3b944c],_0x4f7c95[_0x3b944c],_0x345c21[_0x3b944c],_0x229a5d);}):_0x229a5d['push'](_0x4549ea[_0x3a9335(0x2b6)](_0x5e6c1c,_0x4f7c95,_0x345c21)));}function _0x4510e2(_0x4c65bc,_0x37b8fc,_0x2a5d26,_0x4f78a1,_0x492e9c){const _0x2837e8=_0x433c15;if(_0x2a5d26[_0x2837e8(0x2ba)]===_0x4f78a1['length']){_0x2a5d26[_0x2837e8(0x260)]((_0x37711f,_0x3bf704)=>_0x353a8d(_0x4c65bc,[..._0x37b8fc,_0x3bf704],_0x37711f,_0x4f78a1[_0x3bf704],_0x492e9c));return;}let _0x5b0039=0x0;for(;_0x5b0039<_0x2a5d26[_0x2837e8(0x2ba)]&&_0x5b0039<_0x4f78a1[_0x2837e8(0x2ba)]&&_0x53f87c(_0x2a5d26[_0x5b0039],_0x4f78a1[_0x5b0039]);)_0x5b0039++;let _0x49781d=_0x2a5d26[_0x2837e8(0x2ba)]-0x1,_0x1ffb3a=_0x4f78a1[_0x2837e8(0x2ba)]-0x1;for(;_0x49781d>=_0x5b0039&&_0x1ffb3a>=_0x5b0039&&_0x53f87c(_0x2a5d26[_0x49781d],_0x4f78a1[_0x1ffb3a]);)_0x49781d--,_0x1ffb3a--;for(let _0x18c07b=_0x49781d;_0x18c07b>=_0x5b0039;_0x18c07b--)_0x492e9c[_0x2837e8(0x23d)](_0x4c65bc['removeOp']([..._0x37b8fc,_0x18c07b],_0x2a5d26[_0x18c07b]));for(let _0xd2522f=_0x5b0039;_0xd2522f<=_0x1ffb3a;_0xd2522f++)_0x492e9c['push'](_0x4c65bc[_0x2837e8(0x210)]([..._0x37b8fc,_0xd2522f],_0x4f78a1[_0xd2522f]));}function _0x1ffcb6(_0x368560){return typeof _0x368560=='object'&&!!_0x368560&&!Array['isArray'](_0x368560);}function _0x53f87c(_0x216ef6,_0x55a022){const _0x1f99b5=_0x433c15;return JSON[_0x1f99b5(0x23a)](_0x216ef6)===JSON[_0x1f99b5(0x23a)](_0x55a022);}function _0x3fd007(_0x3da7cd,_0x41d7a1,_0x539d21,_0x2790c8,_0x19be04,_0x52b269,_0x524047){const _0x4c1b77=_0x433c15;let _0x3c6420=_0x1ce495(_0x2790c8,_0x19be04);return _0x3c6420?!!_0x3da7cd[_0x4c1b77(0x233)](_0x5ade96[_0x4c1b77(0x24c)]['id'],{'unitId':_0x539d21,'actions':_0x3c6420,'textRanges':[{'startOffset':_0x524047,'endOffset':_0x524047,'collapsed':!0x0}],'isEditing':!0x1,'trigger':_0x52b269}):(_0x41d7a1[_0x4c1b77(0x256)]([{'startOffset':_0x524047,'endOffset':_0x524047}],{'unitId':_0x539d21,'subUnitId':_0x539d21},!0x1),!0x0);}let _0x3f9327=_0x433c15(0x2ab);var _0x4f5b4f=_0x433c15(0x1fd),_0x313ea5=_0x433c15(0x20d);let _0x32f20f={};function _0x2c5871(_0x32e31f,_0x4e45bc){return function(_0x3be448,_0x5a98c1){_0x4e45bc(_0x3be448,_0x5a98c1,_0x32e31f);};}function _0x5b324a(_0x2a5376,_0x22c2a2,_0x1a9fb0,_0x50b8fb){const _0x11b27f=_0x433c15;var _0x292cff=arguments[_0x11b27f(0x2ba)],_0x479d52=_0x292cff<0x3?_0x22c2a2:_0x50b8fb===null?_0x50b8fb=Object[_0x11b27f(0x1f4)](_0x22c2a2,_0x1a9fb0):_0x50b8fb,_0x2166f5;if(typeof Reflect=='object'&&typeof Reflect[_0x11b27f(0x25e)]==_0x11b27f(0x231))_0x479d52=Reflect[_0x11b27f(0x25e)](_0x2a5376,_0x22c2a2,_0x1a9fb0,_0x50b8fb);else{for(var _0x30d8cf=_0x2a5376[_0x11b27f(0x2ba)]-0x1;_0x30d8cf>=0x0;_0x30d8cf--)(_0x2166f5=_0x2a5376[_0x30d8cf])&&(_0x479d52=(_0x292cff<0x3?_0x2166f5(_0x479d52):_0x292cff>0x3?_0x2166f5(_0x22c2a2,_0x1a9fb0,_0x479d52):_0x2166f5(_0x22c2a2,_0x1a9fb0))||_0x479d52);}return _0x292cff>0x3&&_0x479d52&&Object[_0x11b27f(0x20c)](_0x22c2a2,_0x1a9fb0,_0x479d52),_0x479d52;}let _0x236c0b=class extends _0x4e724a[_0x433c15(0x282)]{constructor(_0x364618,_0x2c34b0){const _0x1e9522=_0x433c15;super(),this[_0x1e9522(0x29e)]=_0x364618,this[_0x1e9522(0x2c6)]=_0x2c34b0,this[_0x1e9522(0x286)]();}[_0x433c15(0x286)](){const _0x5de046=_0x433c15;this[_0x5de046(0x220)](this[_0x5de046(0x29e)][_0x5de046(0x25c)]({'pluginName':_0x3f9327,'businesses':[_0x4e724a[_0x5de046(0x275)][_0x5de046(0x24d)]],'toJson':_0xaf891d=>JSON[_0x5de046(0x23a)](this[_0x5de046(0x2c6)][_0x5de046(0x2c1)](_0xaf891d)),'parseJson':_0x252681=>_0x571654(JSON[_0x5de046(0x28c)](_0x252681)),'onLoad':(_0x2405e9,_0x3e28c8)=>this[_0x5de046(0x2c6)]['deserialize'](_0x2405e9,_0x3e28c8),'onUnLoad':_0x56a373=>this[_0x5de046(0x2c6)][_0x5de046(0x2ad)](_0x56a373)}));}};_0x236c0b=_0x5b324a([_0x2c5871(0x0,_0x4e724a['IResourceManagerService']),_0x2c5871(0x1,(0x0,_0x4e724a[_0x433c15(0x2a3)])(_0x1a24a9))],_0x236c0b);let _0x23f410=class extends _0x4e724a[_0x433c15(0x23c)]{constructor(_0x39954b=_0x32f20f,_0x18393d,_0x3ee035,_0x170388){const _0x4649fa=_0x433c15;super(),this['_config']=_0x39954b,this[_0x4649fa(0x246)]=_0x18393d,this[_0x4649fa(0x295)]=_0x3ee035,this['_configService']=_0x170388;let {..._0x343469}=(0x0,_0x4e724a[_0x4649fa(0x2a2)])({},_0x32f20f,this[_0x4649fa(0x278)]);this[_0x4649fa(0x211)][_0x4649fa(0x27a)](_0x4649fa(0x1f6),_0x343469);}['onStarting'](){const _0x46e7e1=_0x433c15;this[_0x46e7e1(0x246)]['add']([_0x1a24a9]),this[_0x46e7e1(0x246)][_0x46e7e1(0x223)]([_0x236c0b]),this[_0x46e7e1(0x246)][_0x46e7e1(0x2c4)](_0x1a24a9),this[_0x46e7e1(0x246)]['get'](_0x236c0b),[_0x2c70d6,_0x1eb4d6,_0x1ba125,_0x1f2f9b,_0x467675,_0x1084dd,_0x1c45d7,_0x29342f,_0x1160da,_0x4a542f][_0x46e7e1(0x260)](_0x41b7d5=>this['disposeWithMe'](this[_0x46e7e1(0x295)][_0x46e7e1(0x1f8)](_0x41b7d5)));}};_0x20f41d(_0x23f410,_0x433c15(0x21b),_0x3f9327),_0x20f41d(_0x23f410,_0x433c15(0x228),_0x4f5b4f),_0x20f41d(_0x23f410,_0x433c15(0x273),_0x313ea5),_0x20f41d(_0x23f410,_0x433c15(0x29d),_0x4e724a[_0x433c15(0x275)]['UNIVER_DOC']),_0x23f410=_0x5b324a([(0x0,_0x4e724a['DependentOn'])(_0x44414a[_0x433c15(0x267)],_0x5ade96[_0x433c15(0x25b)]),_0x2c5871(0x1,(0x0,_0x4e724a['Inject'])(_0x4e724a[_0x433c15(0x293)])),_0x2c5871(0x2,_0x4e724a['ICommandService']),_0x2c5871(0x3,_0x4e724a[_0x433c15(0x26e)])],_0x23f410),_0xaadb6e['DOCS_CODE_PLUGIN']=_0x3f9327,_0xaadb6e['DocsCodeCancelEmptyParagraphCommand']=_0x1c45d7,_0xaadb6e[_0x433c15(0x1ec)]=_0x29342f,_0xaadb6e[_0x433c15(0x207)]=_0x1eb4d6,_0xaadb6e[_0x433c15(0x289)]=_0x2c70d6,_0xaadb6e[_0x433c15(0x28a)]=_0x1a24a9,_0xaadb6e['DocsCodeRemoveCommand']=_0x467675,_0xaadb6e[_0x433c15(0x1fe)]=_0x1f2f9b,_0xaadb6e['DocsCodeUpdateCommand']=_0x1ba125,_0xaadb6e[_0x433c15(0x21c)]=_0x4a542f,_0xaadb6e['SetDocsCodeConfigMutation']=_0x1160da,Object['defineProperty'](_0xaadb6e,'UniverDocsCodePlugin',{'enumerable':!0x0,'get':function(){return _0x23f410;}}),_0xaadb6e[_0x433c15(0x288)]=_0x381628,_0xaadb6e[_0x433c15(0x222)]=_0x3428b5,_0xaadb6e[_0x433c15(0x25d)]=_0x478b6a,_0xaadb6e[_0x433c15(0x27c)]=_0x571654;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-code",
3
- "version": "1.5.0",
3
+ "version": "1.5.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.5.0",
65
- "@univerjs/core": "1.5.0",
66
- "@univerjs/docs": "1.5.0"
64
+ "@univerjs-pro/license": "1.5.1",
65
+ "@univerjs/core": "1.5.1",
66
+ "@univerjs/docs": "1.5.1"
67
67
  },
68
68
  "devDependencies": {
69
- "@univerjs-infra/shared": "1.5.0",
69
+ "@univerjs-infra/shared": "1.5.1",
70
70
  "rxjs": "7.8.2",
71
71
  "tsrs": "0.23.0-ts7.1.0-beta",
72
72
  "vitest": "^5.1.0"